From 93c25e155dc2f9557d6b8c32209f0098b73764a2 Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Tue, 6 Jan 2026 21:24:07 +0200 Subject: [PATCH 1/4] Switch to using Package URL formatted source comments --- .rubocop.yml | 1 + lib/tapioca/gem/listeners/source_location.rb | 11 +- lib/tapioca/helpers/package_url.rb | 416 +++++++++++++++++++ lib/tapioca/helpers/source_uri.rb | 80 ---- lib/tapioca/internal.rb | 2 +- spec/tapioca/gem/pipeline_spec.rb | 40 +- 6 files changed, 443 insertions(+), 107 deletions(-) create mode 100644 lib/tapioca/helpers/package_url.rb delete mode 100644 lib/tapioca/helpers/source_uri.rb diff --git a/.rubocop.yml b/.rubocop.yml index c214ea3b8..08708c564 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,6 +12,7 @@ AllCops: SuggestExtensions: false Exclude: - "vendor/**/*" + - "lib/tapioca/helpers/package_url.rb" Include: - "sorbet/rbi/shims/**/*.rbi" diff --git a/lib/tapioca/gem/listeners/source_location.rb b/lib/tapioca/gem/listeners/source_location.rb index 5654a7631..88f46ca50 100644 --- a/lib/tapioca/gem/listeners/source_location.rb +++ b/lib/tapioca/gem/listeners/source_location.rb @@ -62,12 +62,13 @@ def add_source_location_comment(node, file, line) # we can clear the gem version if the gem is the same one we are processing version = "" if gem == @pipeline.gem - uri = SourceURI.build( - gem_name: gem.name, - gem_version: version, - path: path.to_s, - line_number: line.to_s, + uri = Tapioca::Helpers::PackageURL.new( + type: "gem", + name: gem.name, + version: version, + subpath: "#{path}:#{line}", ) + node.comments << RBI::Comment.new("") if node.comments.any? node.comments << RBI::Comment.new(uri.to_s) rescue URI::InvalidComponentError, URI::InvalidURIError diff --git a/lib/tapioca/helpers/package_url.rb b/lib/tapioca/helpers/package_url.rb new file mode 100644 index 000000000..691755723 --- /dev/null +++ b/lib/tapioca/helpers/package_url.rb @@ -0,0 +1,416 @@ +# typed: false +# frozen_string_literal: true + +# This is a copy of the implementation from the `package_url` gem with the +# following license. Original source can be found at: +# https://github.com/package-url/packageurl-ruby/blob/main/lib/package_url.rb + +# MIT License +# +# Copyright (c) 2021 package-url +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +require "uri" + +# A package URL, or _purl_, is a URL string used to +# identify and locate a software package in a mostly universal and uniform way +# across programing languages, package managers, packaging conventions, tools, +# APIs and databases. +# +# A purl is a URL composed of seven components: +# +# ``` +# scheme:type/namespace/name@version?qualifiers#subpath +# ``` +# +# For example, +# the package URL for this Ruby package at version 0.1.0 is +# `pkg:ruby/mattt/packageurl-ruby@0.1.0`. +module Tapioca + module Helpers + class PackageURL + # Raised when attempting to parse an invalid package URL string. + # @see #parse + class InvalidPackageURL < ArgumentError; end + + # The URL scheme, which has a constant value of `"pkg"`. + def scheme + "pkg" + end + + # The package type or protocol, such as `"gem"`, `"npm"`, and `"github"`. + attr_reader :type + + # A name prefix, specific to the type of package. + # For example, an npm scope, a Docker image owner, or a GitHub user. + attr_reader :namespace + + # The name of the package. + attr_reader :name + + # The version of the package. + attr_reader :version + + # Extra qualifying data for a package, specific to the type of package. + # For example, the operating system or architecture. + attr_reader :qualifiers + + # An extra subpath within a package, relative to the package root. + attr_reader :subpath + + # Constructs a package URL from its components + # @param type [String] The package type or protocol. + # @param namespace [String] A name prefix, specific to the type of package. + # @param name [String] The name of the package. + # @param version [String] The version of the package. + # @param qualifiers [Hash] Extra qualifying data for a package, specific to the type of package. + # @param subpath [String] An extra subpath within a package, relative to the package root. + def initialize(type:, name:, namespace: nil, version: nil, qualifiers: nil, subpath: nil) + raise ArgumentError, "type is required" if type.nil? || type.empty? + raise ArgumentError, "name is required" if name.nil? || name.empty? + + @type = type.downcase + @namespace = namespace + @name = name + @version = version + @qualifiers = qualifiers + @subpath = subpath + end + + # Creates a new PackageURL from a string. + # @param [String] string The package URL string. + # @raise [InvalidPackageURL] If the string is not a valid package URL. + # @return [PackageURL] + def self.parse(string) + components = { + type: nil, + namespace: nil, + name: nil, + version: nil, + qualifiers: nil, + subpath: nil, + } + + # Split the purl string once from right on '#' + # - The left side is the remainder + # - Strip the right side from leading and trailing '/' + # - Split this on '/' + # - Discard any empty string segment from that split + # - Discard any '.' or '..' segment from that split + # - Percent-decode each segment + # - UTF-8-decode each segment if needed in your programming language + # - Join segments back with a '/' + # - This is the subpath + case string.rpartition("#") + in String => remainder, separator, String => subpath unless separator.empty? + subpath_components = [] + subpath.split("/").each do |segment| + next if segment.empty? || segment == "." || segment == ".." + + subpath_components << URI.decode_www_form_component(segment) + end + + components[:subpath] = subpath_components.compact.join("/") + + string = remainder + else + components[:subpath] = nil + end + + # Split the remainder once from right on '?' + # - The left side is the remainder + # - The right side is the qualifiers string + # - Split the qualifiers on '&'. Each part is a key=value pair + # - For each pair, split the key=value once from left on '=': + # - The key is the lowercase left side + # - The value is the percent-decoded right side + # - UTF-8-decode the value if needed in your programming language + # - Discard any key/value pairs where the value is empty + # - If the key is checksums, + # split the value on ',' to create a list of checksums + # - This list of key/value is the qualifiers object + case string.rpartition("?") + in String => remainder, separator, String => qualifiers unless separator.empty? + components[:qualifiers] = {} + + qualifiers.split("&").each do |pair| + case pair.partition("=") + in String => key, separator, String => value unless separator.empty? + key = key.downcase + value = URI.decode_www_form_component(value) + next if value.empty? + + components[:qualifiers][key] = case key + when "checksums" + value.split(",") + else + value + end + else + next + end + end + + string = remainder + else + components[:qualifiers] = nil + end + + # Split the remainder once from left on ':' + # - The left side lowercased is the scheme + # - The right side is the remainder + case string.partition(":") + in "pkg", separator, String => remainder unless separator.empty? + string = remainder + else + raise InvalidPackageURL, 'invalid or missing "pkg:" URL scheme' + end + + # Strip the remainder from leading and trailing '/' + # Use gsub to remove ALL leading slashes instead of just one + string = string.gsub(%r{^/+}, "").delete_suffix("/") + # - Split this once from left on '/' + # - The left side lowercased is the type + # - The right side is the remainder + case string.partition("/") + in String => type, separator, remainder unless separator.empty? + components[:type] = type + + string = remainder + else + raise InvalidPackageURL, "invalid or missing package type" + end + + # Split the remainder once from right on '@' + # - The left side is the remainder + # - Percent-decode the right side. This is the version. + # - UTF-8-decode the version if needed in your programming language + # - This is the version + case string.rpartition("@") + in String => remainder, separator, String => version unless separator.empty? + components[:version] = URI.decode_www_form_component(version) + + string = remainder + else + components[:version] = nil + end + + # Split the remainder once from right on '/' + # - The left side is the remainder + # - Percent-decode the right side. This is the name + # - UTF-8-decode this name if needed in your programming language + # - Apply type-specific normalization to the name if needed + # - This is the name + case string.rpartition("/") + in String => remainder, separator, String => name unless separator.empty? + components[:name] = URI.decode_www_form_component(name) + + # Split the remainder on '/' + # - Discard any empty segment from that split + # - Percent-decode each segment + # - UTF-8-decode the each segment if needed in your programming language + # - Apply type-specific normalization to each segment if needed + # - Join segments back with a '/' + # - This is the namespace + components[:namespace] = remainder.split("/").map { |s| URI.decode_www_form_component(s) }.compact.join("/") + in _, _, String => name + components[:name] = URI.decode_www_form_component(name) + components[:namespace] = nil + end + + # Ensure type and name are not nil before creating the PackageURL instance + raise InvalidPackageURL, "missing package type" if components[:type].nil? + raise InvalidPackageURL, "missing package name" if components[:name].nil? + + # Create a new PackageURL with validated components + type = components[:type] || "" # This ensures type is never nil + name = components[:name] || "" # This ensures name is never nil + + new( + type: type, + name: name, + namespace: components[:namespace], + version: components[:version], + qualifiers: components[:qualifiers], + subpath: components[:subpath], + ) + end + + # Returns a hash containing the + # scheme, type, namespace, name, version, qualifiers, and subpath components + # of the package URL. + def to_h + { + scheme: scheme, + type: @type, + namespace: @namespace, + name: @name, + version: @version, + qualifiers: @qualifiers, + subpath: @subpath, + } + end + + # Returns a string representation of the package URL. + # Package URL representations are created according to the instructions from + # https://github.com/package-url/purl-spec/blob/0b1559f76b79829e789c4f20e6d832c7314762c5/PURL-SPECIFICATION.rst#how-to-build-purl-string-from-its-components. + def to_s + # Start a purl string with the "pkg:" scheme as a lowercase ASCII string + purl = "pkg:" + + # Append the type string to the purl as a lowercase ASCII string + # Append '/' to the purl + + purl += @type + purl += "/" + + # If the namespace is not empty: + # - Strip the namespace from leading and trailing '/' + # - Split on '/' as segments + # - Apply type-specific normalization to each segment if needed + # - UTF-8-encode each segment if needed in your programming language + # - Percent-encode each segment + # - Join the segments with '/' + # - Append this to the purl + # - Append '/' to the purl + # - Strip the name from leading and trailing '/' + # - Apply type-specific normalization to the name if needed + # - UTF-8-encode the name if needed in your programming language + # - Append the percent-encoded name to the purl + # + # If the namespace is empty: + # - Apply type-specific normalization to the name if needed + # - UTF-8-encode the name if needed in your programming language + # - Append the percent-encoded name to the purl + case @namespace + in String => namespace unless namespace.empty? + segments = [] + @namespace.delete_prefix("/").delete_suffix("/").split("/").each do |segment| + next if segment.empty? + + segments << URI.encode_www_form_component(segment) + end + purl += segments.join("/") + + purl += "/" + purl += URI.encode_www_form_component(@name.delete_prefix("/").delete_suffix("/")) + else + purl += URI.encode_www_form_component(@name) + end + + # If the version is not empty: + # - Append '@' to the purl + # - UTF-8-encode the version if needed in your programming language + # - Append the percent-encoded version to the purl + case @version + in String => version unless version.empty? + purl += "@" + purl += URI.encode_www_form_component(@version) + else + nil + end + + # If the qualifiers are not empty and not composed only of key/value pairs + # where the value is empty: + # - Append '?' to the purl + # - Build a list from all key/value pair: + # - discard any pair where the value is empty. + # - UTF-8-encode each value if needed in your programming language + # - If the key is checksums and this is a list of checksums + # join this list with a ',' to create this qualifier value + # - create a string by joining the lowercased key, + # the equal '=' sign and the percent-encoded value to create a qualifier + # - sort this list of qualifier strings lexicographically + # - join this list of qualifier strings with a '&' ampersand + # - Append this string to the purl + case @qualifiers + in Hash => qualifiers unless qualifiers.empty? + list = [] + qualifiers.each do |key, value| + next if value.empty? + + list << case [key, value] + in "checksums", Array => checksums + "#{key.downcase}=#{checksums.join(",")}" + else + "#{key.downcase}=#{URI.encode_www_form_component(value)}" + end + end + + unless list.empty? + purl += "?" + purl += list.sort.join("&") + end + else + nil + end + + # If the subpath is not empty and not composed only of + # empty, '.' and '..' segments: + # - Append '#' to the purl + # - Strip the subpath from leading and trailing '/' + # - Split this on '/' as segments + # - Discard empty, '.' and '..' segments + # - Percent-encode each segment + # - UTF-8-encode each segment if needed in your programming language + # - Join the segments with '/' + # - Append this to the purl + case @subpath + in String => subpath unless subpath.empty? + segments = [] + subpath.delete_prefix("/").delete_suffix("/").split("/").each do |segment| + next if segment.empty? || segment == "." || segment == ".." + + # Custom encoding for URL fragment segments: + # 1. Explicitly encode % as %25 to prevent double-encoding issues + # 2. Percent-encode special characters according to URL fragment rules + # 3. This ensures proper round-trip encoding/decoding with the parse method + segments << segment.gsub(/%|[^A-Za-z0-9\-\._~:]/) do |m| + m == "%" ? "%25" : format("%%%02X", m.ord) + end + end + + unless segments.empty? + purl += "#" + purl += segments.join("/") + end + else + nil + end + + purl + end + + # Returns an array containing the + # scheme, type, namespace, name, version, qualifiers, and subpath components + # of the package URL. + def deconstruct + [scheme, @type, @namespace, @name, @version, @qualifiers, @subpath] + end + + # Returns a hash containing the + # scheme, type, namespace, name, version, qualifiers, and subpath components + # of the package URL. + def deconstruct_keys(_keys) + to_h + end + end + end +end diff --git a/lib/tapioca/helpers/source_uri.rb b/lib/tapioca/helpers/source_uri.rb deleted file mode 100644 index 5965ade30..000000000 --- a/lib/tapioca/helpers/source_uri.rb +++ /dev/null @@ -1,80 +0,0 @@ -# typed: true -# frozen_string_literal: true - -require "uri/file" - -module Tapioca - class SourceURI < URI::File - COMPONENT = [ - :scheme, - :gem_name, - :gem_version, - :path, - :line_number, - ].freeze #: Array[Symbol] - - # `uri` for Ruby 3.4 switched the default parser from RFC2396 to RFC3986. The new parser emits a deprecation - # warning on a few methods and delegates them to RFC2396, namely `extract`/`make_regexp`/`escape`/`unescape`. - # On earlier versions of the uri gem, the RFC2396_PARSER constant doesn't exist, so it needs some special - # handling to select a parser that doesn't emit deprecations. While it was backported to Ruby 3.1, users may - # have the uri gem in their own bundle and thus not use a compatible version. - PARSER = const_defined?(:RFC2396_PARSER) ? RFC2396_PARSER : DEFAULT_PARSER #: RFC2396_Parser - - #: String? - attr_reader :gem_version - - class << self - #: (gem_name: String, gem_version: String?, path: String, line_number: String?) -> instance - def build(gem_name:, gem_version:, path:, line_number:) - super( - { - scheme: "source", - host: gem_name, - path: PARSER.escape("/#{gem_version}/#{path}"), - fragment: line_number, - } - ) - end - end - - #: -> String? - def gem_name - host - end - - #: -> String? - def line_number - fragment - end - - #: (String? v) -> void - def set_path(v) # rubocop:disable Naming/AccessorMethodName - return if v.nil? - - @gem_version, @path = v.split("/", 2) - end - - #: (String? v) -> bool - def check_host(v) - return true unless v - - if /[A-Za-z][A-Za-z0-9\-_]*/ !~ v - raise InvalidComponentError, - "bad component(expected gem name): #{v}" - end - - true - end - - #: -> String - def to_s - "source://#{gem_name}/#{gem_version}#{path}##{line_number}" - end - - if URI.respond_to?(:register_scheme) - URI.register_scheme("SOURCE", self) - else - @@schemes["SOURCE"] = self - end - end -end diff --git a/lib/tapioca/internal.rb b/lib/tapioca/internal.rb index 15ff13438..ce6b4af1e 100644 --- a/lib/tapioca/internal.rb +++ b/lib/tapioca/internal.rb @@ -49,7 +49,7 @@ require "tapioca/helpers/sorbet_helper" require "tapioca/helpers/rbi_helper" -require "tapioca/helpers/source_uri" +require "tapioca/helpers/package_url" require "tapioca/helpers/cli_helper" require "tapioca/helpers/config_helper" require "tapioca/helpers/rbi_files_helper" diff --git a/spec/tapioca/gem/pipeline_spec.rb b/spec/tapioca/gem/pipeline_spec.rb index e112958c3..a55322e51 100644 --- a/spec/tapioca/gem/pipeline_spec.rb +++ b/spec/tapioca/gem/pipeline_spec.rb @@ -4546,81 +4546,79 @@ class MyModule < Module; end RB output = template(<<~RBI) - # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#1 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/bar.rb:1 module Bar # Some documentation # - # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#6 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/bar.rb:6 sig { void } def bar; end - # source://the-default-gem//lib/bar.rb#14 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/bar.rb:14 def foo1; end - # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#15 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/bar.rb:15 def foo2; end class << self # Some documentation # - # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#9 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/bar.rb:9 def bar; end end end - # source://#{DEFAULT_GEM_NAME}//lib/bar.rb#11 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/bar.rb:11 Bar::BAR = T.let(T.unsafe(nil), Integer) - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#23 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:23 class BasicFoo < ::BasicObject - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#27 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:27 sig { void } def foo; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#11 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:11 class Baz abstract! end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#1 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:1 class Foo; end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#6 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:6 module Foo::Helper - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#7 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:7 def helper_method; end end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#31 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:31 class MyModule < ::Module; end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#33 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:33 class NewClass; end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#35 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:35 module NewCustomModule; end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#34 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:34 module NewModule; end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#16 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:16 class Quux < ::T::Struct; end - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#19 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:19 class String include ::Comparable - # source://#{DEFAULT_GEM_NAME}//lib/foo.rb#20 + # pkg:gem/#{DEFAULT_GEM_NAME}#lib/foo.rb:20 def foo; end end RBI compiled = compile(include_doc: true, include_loc: true) - .gsub(%r{\s+# source://activesupport/.+?\nString::.+$}m, "") - .rstrip.concat("\n") assert_equal(output, compiled) end From aa7f0abb125bc647e82930636af4578482cf9cde Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Mon, 12 Jan 2026 20:12:04 +0200 Subject: [PATCH 2/4] Gemfile.lock changes for Ruby 4 --- Gemfile.lock | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9ace601a2..d3bc0e157 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -157,25 +157,7 @@ GEM activemodel globalid (1.2.1) activesupport (>= 6.1) - google-protobuf (4.33.2) - bigdecimal - rake (>= 13) - google-protobuf (4.33.2-aarch64-linux-gnu) - bigdecimal - rake (>= 13) - google-protobuf (4.33.2-aarch64-linux-musl) - bigdecimal - rake (>= 13) - google-protobuf (4.33.2-arm64-darwin) - bigdecimal - rake (>= 13) - google-protobuf (4.33.2-x86_64-darwin) - bigdecimal - rake (>= 13) - google-protobuf (4.33.2-x86_64-linux-gnu) - bigdecimal - rake (>= 13) - google-protobuf (4.33.2-x86_64-linux-musl) + google-protobuf (4.33.3) bigdecimal rake (>= 13) graphql (2.5.16) @@ -213,7 +195,6 @@ GEM net-smtp marcel (1.0.4) mini_mime (1.1.5) - mini_portile2 (2.8.9) minitest (5.27.0) minitest-hooks (1.5.3) minitest (> 5.3) @@ -381,14 +362,12 @@ GEM concurrent-ruby (~> 1.0) logger rack (>= 2.2.4, < 4) - sqlite3 (2.5.0) - mini_portile2 (~> 2.8.0) - sqlite3 (2.5.0-aarch64-linux-gnu) - sqlite3 (2.5.0-aarch64-linux-musl) - sqlite3 (2.5.0-arm64-darwin) - sqlite3 (2.5.0-x86_64-darwin) - sqlite3 (2.5.0-x86_64-linux-gnu) - sqlite3 (2.5.0-x86_64-linux-musl) + sqlite3 (2.9.0-aarch64-linux-gnu) + sqlite3 (2.9.0-aarch64-linux-musl) + sqlite3 (2.9.0-arm64-darwin) + sqlite3 (2.9.0-x86_64-darwin) + sqlite3 (2.9.0-x86_64-linux-gnu) + sqlite3 (2.9.0-x86_64-linux-musl) state_machines (0.100.4) stringio (3.2.0) thor (1.5.0) From 54e61ca5d78045d5861147ef49d1d55234154d4d Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Tue, 6 Jan 2026 22:02:26 +0200 Subject: [PATCH 3/4] Regenerate all gem RBI files --- sorbet/rbi/gems/aasm@5.5.2.rbi | 614 +- sorbet/rbi/gems/action_text-trix@2.1.16.rbi | 6 +- sorbet/rbi/gems/actioncable@8.1.1.rbi | 1166 +- sorbet/rbi/gems/actionmailbox@8.1.1.rbi | 254 +- sorbet/rbi/gems/actionmailer@8.1.1.rbi | 852 +- sorbet/rbi/gems/actionpack@8.1.1.rbi | 7235 +++--- sorbet/rbi/gems/actiontext@8.1.1.rbi | 588 +- sorbet/rbi/gems/actionview@8.1.1.rbi | 3610 ++- sorbet/rbi/gems/activejob@8.1.1.rbi | 1050 +- .../activemodel-serializers-xml@1.0.3.rbi | 48 +- sorbet/rbi/gems/activemodel@8.1.1.rbi | 1732 +- .../gems/activerecord-typedstore@1.6.0.rbi | 162 +- sorbet/rbi/gems/activerecord@8.1.1.rbi | 14437 +++++------ sorbet/rbi/gems/activeresource@6.2.0.rbi | 1491 +- sorbet/rbi/gems/activestorage@8.1.1.rbi | 870 +- sorbet/rbi/gems/activesupport@8.1.1.rbi | 6350 ++--- sorbet/rbi/gems/addressable@2.8.7.rbi | 507 +- sorbet/rbi/gems/ansi@1.5.0.rbi | 356 +- .../rbi/gems/ar_transaction_changes@1.1.9.rbi | 24 +- sorbet/rbi/gems/ast@2.4.3.rbi | 64 +- sorbet/rbi/gems/base64@0.3.0.rbi | 28 +- sorbet/rbi/gems/bcrypt@3.1.21.rbi | 70 +- sorbet/rbi/gems/benchmark@0.5.0.rbi | 94 +- sorbet/rbi/gems/bigdecimal@4.0.1.rbi | 168 +- sorbet/rbi/gems/builder@3.3.0.rbi | 104 +- sorbet/rbi/gems/cityhash@0.9.0.rbi | 31 +- sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi | 2969 +-- sorbet/rbi/gems/config@5.6.1.rbi | 174 +- sorbet/rbi/gems/connection_pool@3.0.2.rbi | 108 +- sorbet/rbi/gems/crack@1.0.1.rbi | 64 +- sorbet/rbi/gems/crass@1.0.6.rbi | 188 +- sorbet/rbi/gems/date@3.5.1.rbi | 248 +- sorbet/rbi/gems/deep_merge@1.2.2.rbi | 12 +- sorbet/rbi/gems/drb@2.2.3.rbi | 398 +- sorbet/rbi/gems/erb@6.0.1.rbi | 184 +- sorbet/rbi/gems/erubi@1.13.1.rbi | 50 +- sorbet/rbi/gems/faraday-gzip@3.1.0.rbi | 44 +- sorbet/rbi/gems/faraday-net_http@3.1.0.rbi | 40 +- sorbet/rbi/gems/faraday@2.9.0.rbi | 1290 +- sorbet/rbi/gems/frozen_record@0.27.4.rbi | 516 +- sorbet/rbi/gems/globalid@1.2.1.rbi | 222 +- ...@4.33.2.rbi => google-protobuf@4.33.3.rbi} | 477 +- sorbet/rbi/gems/graphql@2.5.16.rbi | 9133 +++---- sorbet/rbi/gems/hashdiff@1.2.1.rbi | 104 +- sorbet/rbi/gems/i18n@1.14.8.rbi | 826 +- sorbet/rbi/gems/identity_cache@1.6.3.rbi | 740 +- sorbet/rbi/gems/json@2.18.0.rbi | 338 +- ...64f34d250e852b90d24505ab6fe3214f936eef.rbi | 1336 +- sorbet/rbi/gems/kramdown@2.5.1.rbi | 1224 +- sorbet/rbi/gems/kredis@1.8.0.rbi | 766 +- .../language_server-protocol@3.17.0.5.rbi | 5370 ++--- sorbet/rbi/gems/lint_roller@1.1.0.rbi | 114 +- sorbet/rbi/gems/logger@1.7.0.rbi | 158 +- sorbet/rbi/gems/loofah@2.25.0.rbi | 348 +- sorbet/rbi/gems/mail@2.8.1.rbi | 3208 +-- sorbet/rbi/gems/marcel@1.0.4.rbi | 84 +- sorbet/rbi/gems/mini_mime@1.1.5.rbi | 78 +- sorbet/rbi/gems/mini_portile2@2.8.9.rbi | 9 - sorbet/rbi/gems/minitest-hooks@1.5.3.rbi | 32 +- sorbet/rbi/gems/minitest-reporters@1.7.1.rbi | 376 +- sorbet/rbi/gems/minitest@5.27.0.rbi | 758 +- sorbet/rbi/gems/mutex_m@0.3.0.rbi | 30 +- sorbet/rbi/gems/net-http@0.4.1.rbi | 664 +- sorbet/rbi/gems/net-imap@0.5.7.rbi | 10165 ++------ sorbet/rbi/gems/net-pop@0.1.2.rbi | 190 +- sorbet/rbi/gems/net-protocol@0.2.2.rbi | 140 +- sorbet/rbi/gems/net-smtp@0.5.0.rbi | 272 +- sorbet/rbi/gems/netrc@0.11.0.rbi | 80 +- sorbet/rbi/gems/nio4r@2.7.4.rbi | 118 +- sorbet/rbi/gems/nokogiri@1.19.0.rbi | 2382 +- sorbet/rbi/gems/ostruct@0.6.2.rbi | 169 +- sorbet/rbi/gems/parallel@1.27.0.rbi | 144 +- sorbet/rbi/gems/parser@3.3.10.0.rbi | 2138 +- sorbet/rbi/gems/pp@0.6.3.rbi | 96 +- sorbet/rbi/gems/prettyprint@0.2.0.rbi | 90 +- sorbet/rbi/gems/prism@1.7.0.rbi | 12232 +++++----- sorbet/rbi/gems/psych@5.3.1.rbi | 808 +- sorbet/rbi/gems/public_suffix@6.0.2.rbi | 174 +- sorbet/rbi/gems/racc@1.8.1.rbi | 81 +- sorbet/rbi/gems/rack-session@2.1.1.rbi | 286 +- sorbet/rbi/gems/rack-test@2.2.0.rbi | 280 +- sorbet/rbi/gems/rack@3.2.4.rbi | 1844 +- sorbet/rbi/gems/rackup@2.3.1.rbi | 80 +- sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi | 128 +- .../rbi/gems/rails-html-sanitizer@1.6.2.rbi | 222 +- sorbet/rbi/gems/railties@8.1.1.rbi | 2550 +- sorbet/rbi/gems/rainbow@3.1.1.rbi | 200 +- sorbet/rbi/gems/rake@13.3.1.rbi | 1291 +- sorbet/rbi/gems/rbi@0.3.9.rbi | 2044 +- sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi | 4070 ++-- sorbet/rbi/gems/rdoc@7.0.3.rbi | 4698 ++-- sorbet/rbi/gems/redis-client@0.26.2.rbi | 790 +- sorbet/rbi/gems/redis@5.4.0.rbi | 1156 +- sorbet/rbi/gems/regexp_parser@2.11.3.rbi | 1980 +- sorbet/rbi/gems/reline@0.6.3.rbi | 1652 +- sorbet/rbi/gems/require-hooks@0.2.2.rbi | 34 +- sorbet/rbi/gems/rexml@3.4.4.rbi | 1252 +- sorbet/rbi/gems/rubocop-ast@1.48.0.rbi | 3135 +-- sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi | 2362 +- sorbet/rbi/gems/rubocop-sorbet@0.11.0.rbi | 852 +- sorbet/rbi/gems/rubocop@1.81.7.rbi | 20087 ++++++++-------- sorbet/rbi/gems/ruby-lsp-rails@0.4.8.rbi | 394 +- sorbet/rbi/gems/ruby-lsp@0.26.4.rbi | 2786 ++- sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi | 634 +- sorbet/rbi/gems/securerandom@0.4.1.rbi | 12 +- sorbet/rbi/gems/shopify-money@3.2.5.rbi | 540 +- sorbet/rbi/gems/sidekiq@8.1.0.rbi | 752 +- sorbet/rbi/gems/smart_properties@1.17.0.rbi | 182 +- sorbet/rbi/gems/spoom@1.7.11.rbi | 2296 +- sorbet/rbi/gems/sprockets@4.2.2.rbi | 1332 +- .../{sqlite3@2.5.0.rbi => sqlite3@2.9.0.rbi} | 749 +- sorbet/rbi/gems/state_machines@0.100.4.rbi | 928 +- sorbet/rbi/gems/thor@1.5.0.rbi | 1268 +- sorbet/rbi/gems/timeout@0.4.3.rbi | 44 +- sorbet/rbi/gems/tsort@0.2.0.rbi | 28 +- sorbet/rbi/gems/tzinfo@2.0.6.rbi | 1022 +- .../rbi/gems/unicode-display_width@3.2.0.rbi | 66 +- sorbet/rbi/gems/unicode-emoji@4.2.0.rbi | 114 +- sorbet/rbi/gems/uri@1.1.1.rbi | 478 +- sorbet/rbi/gems/webmock@3.26.1.rbi | 852 +- sorbet/rbi/gems/websocket-driver@0.7.6.rbi | 533 +- .../rbi/gems/websocket-extensions@0.1.5.rbi | 68 +- sorbet/rbi/gems/xpath@3.2.0.rbi | 286 +- sorbet/rbi/gems/yard-sorbet@0.9.0.rbi | 144 +- sorbet/rbi/gems/yard@0.9.37.rbi | 5514 ++--- sorbet/rbi/gems/zeitwerk@2.7.4.rbi | 416 +- 126 files changed, 85029 insertions(+), 91272 deletions(-) rename sorbet/rbi/gems/{google-protobuf@4.33.2.rbi => google-protobuf@4.33.3.rbi} (51%) delete mode 100644 sorbet/rbi/gems/mini_portile2@2.8.9.rbi rename sorbet/rbi/gems/{sqlite3@2.5.0.rbi => sqlite3@2.9.0.rbi} (73%) diff --git a/sorbet/rbi/gems/aasm@5.5.2.rbi b/sorbet/rbi/gems/aasm@5.5.2.rbi index cc337152b..b5403914a 100644 --- a/sorbet/rbi/gems/aasm@5.5.2.rbi +++ b/sorbet/rbi/gems/aasm@5.5.2.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem aasm`. -# source://aasm//lib/aasm/version.rb#1 +# pkg:gem/aasm#lib/aasm/version.rb:1 module AASM include ::AASM::Persistence::PlainPersistence @@ -13,34 +13,34 @@ module AASM # this is the entry point for all instance-level access to AASM # - # source://aasm//lib/aasm/aasm.rb#68 + # pkg:gem/aasm#lib/aasm/aasm.rb:68 def aasm(name = T.unsafe(nil)); end private - # source://aasm//lib/aasm/aasm.rb#196 + # pkg:gem/aasm#lib/aasm/aasm.rb:196 def aasm_failed(state_machine_name, event_name, old_state, failures = T.unsafe(nil)); end - # source://aasm//lib/aasm/aasm.rb#97 + # pkg:gem/aasm#lib/aasm/aasm.rb:97 def aasm_fire_event(state_machine_name, event_name, options, *args, &block); end - # source://aasm//lib/aasm/aasm.rb#145 + # pkg:gem/aasm#lib/aasm/aasm.rb:145 def aasm_fired(state_machine_name, event, old_state, new_state_name, options, *args); end - # source://aasm//lib/aasm/aasm.rb#125 + # pkg:gem/aasm#lib/aasm/aasm.rb:125 def fire_default_callbacks(event, *processed_args); end - # source://aasm//lib/aasm/aasm.rb#140 + # pkg:gem/aasm#lib/aasm/aasm.rb:140 def fire_exit_callbacks(old_state, *processed_args); end - # source://aasm//lib/aasm/aasm.rb#76 + # pkg:gem/aasm#lib/aasm/aasm.rb:76 def initialize_dup(other); end # Takes args and a from state and removes the first # element from args if it is a valid to_state for # the event given the from_state # - # source://aasm//lib/aasm/aasm.rb#86 + # pkg:gem/aasm#lib/aasm/aasm.rb:86 def process_args(event, from_state, *args); end class << self @@ -48,83 +48,83 @@ module AASM # make sure to load class methods as well # initialize persistence for the state machine # - # source://aasm//lib/aasm/aasm.rb#8 + # pkg:gem/aasm#lib/aasm/aasm.rb:8 def included(base); end end end # Persistence # -# source://aasm//lib/aasm/base.rb#4 +# pkg:gem/aasm#lib/aasm/base.rb:4 class AASM::Base # @return [Base] a new instance of Base # - # source://aasm//lib/aasm/base.rb#8 + # pkg:gem/aasm#lib/aasm/base.rb:8 def initialize(klass, name, state_machine, options = T.unsafe(nil), &block); end - # source://aasm//lib/aasm/base.rb#161 + # pkg:gem/aasm#lib/aasm/base.rb:161 def after_all_events(*callbacks, &block); end - # source://aasm//lib/aasm/base.rb#149 + # pkg:gem/aasm#lib/aasm/base.rb:149 def after_all_transactions(*callbacks, &block); end - # source://aasm//lib/aasm/base.rb#145 + # pkg:gem/aasm#lib/aasm/base.rb:145 def after_all_transitions(*callbacks, &block); end # This method is both a getter and a setter # - # source://aasm//lib/aasm/base.rb#66 + # pkg:gem/aasm#lib/aasm/base.rb:66 def attribute_name(column_name = T.unsafe(nil)); end - # source://aasm//lib/aasm/base.rb#157 + # pkg:gem/aasm#lib/aasm/base.rb:157 def before_all_events(*callbacks, &block); end - # source://aasm//lib/aasm/base.rb#153 + # pkg:gem/aasm#lib/aasm/base.rb:153 def before_all_transactions(*callbacks, &block); end - # source://aasm//lib/aasm/base.rb#169 + # pkg:gem/aasm#lib/aasm/base.rb:169 def ensure_on_all_events(*callbacks, &block); end - # source://aasm//lib/aasm/base.rb#165 + # pkg:gem/aasm#lib/aasm/base.rb:165 def error_on_all_events(*callbacks, &block); end # define an event # - # source://aasm//lib/aasm/base.rb#111 + # pkg:gem/aasm#lib/aasm/base.rb:111 def event(name, options = T.unsafe(nil), &block); end - # source://aasm//lib/aasm/base.rb#177 + # pkg:gem/aasm#lib/aasm/base.rb:177 def events; end - # source://aasm//lib/aasm/base.rb#190 + # pkg:gem/aasm#lib/aasm/base.rb:190 def from_states_for_state(state, options = T.unsafe(nil)); end # aasm.event(:event_name).human? # - # source://aasm//lib/aasm/base.rb#182 + # pkg:gem/aasm#lib/aasm/base.rb:182 def human_event_name(event); end - # source://aasm//lib/aasm/base.rb#75 + # pkg:gem/aasm#lib/aasm/base.rb:75 def initial_state(new_initial_state = T.unsafe(nil)); end # Returns the value of attribute klass. # - # source://aasm//lib/aasm/base.rb#6 + # pkg:gem/aasm#lib/aasm/base.rb:6 def klass; end # make sure to create a (named) scope for each state # - # source://aasm//lib/aasm/base.rb#90 + # pkg:gem/aasm#lib/aasm/base.rb:90 def state(*args); end # Returns the value of attribute state_machine. # - # source://aasm//lib/aasm/base.rb#6 + # pkg:gem/aasm#lib/aasm/base.rb:6 def state_machine; end # make sure to create a (named) scope for each state # - # source://aasm//lib/aasm/persistence/base.rb#60 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:60 def state_with_scope(*args); end # define a state @@ -135,268 +135,268 @@ class AASM::Base # [0] state # [1..] state # - # source://aasm//lib/aasm/persistence/base.rb#66 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:66 def state_without_scope(*args); end - # source://aasm//lib/aasm/base.rb#173 + # pkg:gem/aasm#lib/aasm/base.rb:173 def states; end - # source://aasm//lib/aasm/base.rb#186 + # pkg:gem/aasm#lib/aasm/base.rb:186 def states_for_select; end private - # source://aasm//lib/aasm/base.rb#231 + # pkg:gem/aasm#lib/aasm/base.rb:231 def apply_ruby2_keyword(klass, sym); end - # source://aasm//lib/aasm/base.rb#205 + # pkg:gem/aasm#lib/aasm/base.rb:205 def configure(key, default_value); end - # source://aasm//lib/aasm/persistence/base.rb#75 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:75 def create_scope(name); end # @return [Boolean] # - # source://aasm//lib/aasm/persistence/base.rb#71 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:71 def create_scope?(name); end - # source://aasm//lib/aasm/persistence/base.rb#79 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:79 def create_scopes(name); end - # source://aasm//lib/aasm/base.rb#201 + # pkg:gem/aasm#lib/aasm/base.rb:201 def default_column; end - # source://aasm//lib/aasm/base.rb#254 + # pkg:gem/aasm#lib/aasm/base.rb:254 def interpret_state_args(args); end - # source://aasm//lib/aasm/base.rb#246 + # pkg:gem/aasm#lib/aasm/base.rb:246 def namespace; end # @return [Boolean] # - # source://aasm//lib/aasm/base.rb#242 + # pkg:gem/aasm#lib/aasm/base.rb:242 def namespace?; end - # source://aasm//lib/aasm/base.rb#213 + # pkg:gem/aasm#lib/aasm/base.rb:213 def safely_define_method(klass, method_name, method_definition); end - # source://aasm//lib/aasm/base.rb#290 + # pkg:gem/aasm#lib/aasm/base.rb:290 def setup_no_direct_assignment(aasm_name); end - # source://aasm//lib/aasm/base.rb#279 + # pkg:gem/aasm#lib/aasm/base.rb:279 def setup_timestamps(aasm_name); end - # source://aasm//lib/aasm/base.rb#264 + # pkg:gem/aasm#lib/aasm/base.rb:264 def skip_instance_level_validation(event, name, aasm_name, klass); end end -# source://aasm//lib/aasm/aasm.rb#19 +# pkg:gem/aasm#lib/aasm/aasm.rb:19 module AASM::ClassMethods # this is the entry point for all state and event definitions # # @raise [ArgumentError] # - # source://aasm//lib/aasm/aasm.rb#28 + # pkg:gem/aasm#lib/aasm/aasm.rb:28 def aasm(*args, &block); end # make sure inheritance (aka subclassing) works with AASM # - # source://aasm//lib/aasm/aasm.rb#21 + # pkg:gem/aasm#lib/aasm/aasm.rb:21 def inherited(base); end end -# source://aasm//lib/aasm/configuration.rb#2 +# pkg:gem/aasm#lib/aasm/configuration.rb:2 class AASM::Configuration # for all persistence layers: which database column to use? # - # source://aasm//lib/aasm/configuration.rb#4 + # pkg:gem/aasm#lib/aasm/configuration.rb:4 def column; end # for all persistence layers: which database column to use? # - # source://aasm//lib/aasm/configuration.rb#4 + # pkg:gem/aasm#lib/aasm/configuration.rb:4 def column=(_arg0); end # for all persistence layers: create named scopes for each state # - # source://aasm//lib/aasm/configuration.rb#10 + # pkg:gem/aasm#lib/aasm/configuration.rb:10 def create_scopes; end # for all persistence layers: create named scopes for each state # - # source://aasm//lib/aasm/configuration.rb#10 + # pkg:gem/aasm#lib/aasm/configuration.rb:10 def create_scopes=(_arg0); end # Returns the value of attribute enum. # - # source://aasm//lib/aasm/configuration.rb#36 + # pkg:gem/aasm#lib/aasm/configuration.rb:36 def enum; end # Sets the attribute enum # # @param value the value to set the attribute enum to. # - # source://aasm//lib/aasm/configuration.rb#36 + # pkg:gem/aasm#lib/aasm/configuration.rb:36 def enum=(_arg0); end # Configure a logger, with default being a Logger to STDERR # - # source://aasm//lib/aasm/configuration.rb#42 + # pkg:gem/aasm#lib/aasm/configuration.rb:42 def logger; end # Configure a logger, with default being a Logger to STDERR # - # source://aasm//lib/aasm/configuration.rb#42 + # pkg:gem/aasm#lib/aasm/configuration.rb:42 def logger=(_arg0); end # namespace reader methods and constants # - # source://aasm//lib/aasm/configuration.rb#39 + # pkg:gem/aasm#lib/aasm/configuration.rb:39 def namespace; end # namespace reader methods and constants # - # source://aasm//lib/aasm/configuration.rb#39 + # pkg:gem/aasm#lib/aasm/configuration.rb:39 def namespace=(_arg0); end # forbid direct assignment in aasm_state column (in ActiveRecord) # - # source://aasm//lib/aasm/configuration.rb#31 + # pkg:gem/aasm#lib/aasm/configuration.rb:31 def no_direct_assignment; end # forbid direct assignment in aasm_state column (in ActiveRecord) # - # source://aasm//lib/aasm/configuration.rb#31 + # pkg:gem/aasm#lib/aasm/configuration.rb:31 def no_direct_assignment=(_arg0); end # for ActiveRecord: use pessimistic locking # - # source://aasm//lib/aasm/configuration.rb#25 + # pkg:gem/aasm#lib/aasm/configuration.rb:25 def requires_lock; end # for ActiveRecord: use pessimistic locking # - # source://aasm//lib/aasm/configuration.rb#25 + # pkg:gem/aasm#lib/aasm/configuration.rb:25 def requires_lock=(_arg0); end # for ActiveRecord: use requires_new for nested transactions? # - # source://aasm//lib/aasm/configuration.rb#22 + # pkg:gem/aasm#lib/aasm/configuration.rb:22 def requires_new_transaction; end # for ActiveRecord: use requires_new for nested transactions? # - # source://aasm//lib/aasm/configuration.rb#22 + # pkg:gem/aasm#lib/aasm/configuration.rb:22 def requires_new_transaction=(_arg0); end # for ActiveRecord: store the new state even if the model is invalid and return true # - # source://aasm//lib/aasm/configuration.rb#16 + # pkg:gem/aasm#lib/aasm/configuration.rb:16 def skip_validation_on_save; end # for ActiveRecord: store the new state even if the model is invalid and return true # - # source://aasm//lib/aasm/configuration.rb#16 + # pkg:gem/aasm#lib/aasm/configuration.rb:16 def skip_validation_on_save=(_arg0); end # automatically set `"#{state_name}_at" = ::Time.now` on state changes # - # source://aasm//lib/aasm/configuration.rb#28 + # pkg:gem/aasm#lib/aasm/configuration.rb:28 def timestamps; end # automatically set `"#{state_name}_at" = ::Time.now` on state changes # - # source://aasm//lib/aasm/configuration.rb#28 + # pkg:gem/aasm#lib/aasm/configuration.rb:28 def timestamps=(_arg0); end # for ActiveRecord: use transactions # - # source://aasm//lib/aasm/configuration.rb#19 + # pkg:gem/aasm#lib/aasm/configuration.rb:19 def use_transactions; end # for ActiveRecord: use transactions # - # source://aasm//lib/aasm/configuration.rb#19 + # pkg:gem/aasm#lib/aasm/configuration.rb:19 def use_transactions=(_arg0); end # for ActiveRecord: when the model is invalid, true -> raise, false -> return false # - # source://aasm//lib/aasm/configuration.rb#13 + # pkg:gem/aasm#lib/aasm/configuration.rb:13 def whiny_persistence; end # for ActiveRecord: when the model is invalid, true -> raise, false -> return false # - # source://aasm//lib/aasm/configuration.rb#13 + # pkg:gem/aasm#lib/aasm/configuration.rb:13 def whiny_persistence=(_arg0); end # let's cry if the transition is invalid # - # source://aasm//lib/aasm/configuration.rb#7 + # pkg:gem/aasm#lib/aasm/configuration.rb:7 def whiny_transitions; end # let's cry if the transition is invalid # - # source://aasm//lib/aasm/configuration.rb#7 + # pkg:gem/aasm#lib/aasm/configuration.rb:7 def whiny_transitions=(_arg0); end # allow a AASM::Base sub-class to be used for state machine # - # source://aasm//lib/aasm/configuration.rb#34 + # pkg:gem/aasm#lib/aasm/configuration.rb:34 def with_klass; end # allow a AASM::Base sub-class to be used for state machine # - # source://aasm//lib/aasm/configuration.rb#34 + # pkg:gem/aasm#lib/aasm/configuration.rb:34 def with_klass=(_arg0); end class << self # Returns the value of attribute hide_warnings. # - # source://aasm//lib/aasm/configuration.rb#45 + # pkg:gem/aasm#lib/aasm/configuration.rb:45 def hide_warnings; end # Sets the attribute hide_warnings # # @param value the value to set the attribute hide_warnings to. # - # source://aasm//lib/aasm/configuration.rb#45 + # pkg:gem/aasm#lib/aasm/configuration.rb:45 def hide_warnings=(_arg0); end end end -# source://aasm//lib/aasm/core/transition.rb#3 +# pkg:gem/aasm#lib/aasm/core/transition.rb:3 module AASM::Core; end -# source://aasm//lib/aasm/core/event.rb#4 +# pkg:gem/aasm#lib/aasm/core/event.rb:4 class AASM::Core::Event include ::AASM::DslHelper # @return [Event] a new instance of Event # - # source://aasm//lib/aasm/core/event.rb#9 + # pkg:gem/aasm#lib/aasm/core/event.rb:9 def initialize(name, state_machine, options = T.unsafe(nil), &block); end - # source://aasm//lib/aasm/core/event.rb#87 + # pkg:gem/aasm#lib/aasm/core/event.rb:87 def ==(event); end # Returns the value of attribute default_display_name. # - # source://aasm//lib/aasm/core/event.rb#7 + # pkg:gem/aasm#lib/aasm/core/event.rb:7 def default_display_name; end - # source://aasm//lib/aasm/core/event.rb#110 + # pkg:gem/aasm#lib/aasm/core/event.rb:110 def failed_callbacks; end - # source://aasm//lib/aasm/core/event.rb#50 + # pkg:gem/aasm#lib/aasm/core/event.rb:50 def fire(obj, options = T.unsafe(nil), to_state = T.unsafe(nil), *args); end - # source://aasm//lib/aasm/core/event.rb#74 + # pkg:gem/aasm#lib/aasm/core/event.rb:74 def fire_callbacks(callback_name, record, *args); end - # source://aasm//lib/aasm/core/event.rb#70 + # pkg:gem/aasm#lib/aasm/core/event.rb:70 def fire_global_callbacks(callback_name, record, *args); end - # source://aasm//lib/aasm/core/event.rb#80 + # pkg:gem/aasm#lib/aasm/core/event.rb:80 def fire_transition_callbacks(obj, *args); end # a neutered version of fire - it doesn't actually fire the event, it just @@ -405,65 +405,65 @@ class AASM::Core::Event # # @return [Boolean] # - # source://aasm//lib/aasm/core/event.rb#46 + # pkg:gem/aasm#lib/aasm/core/event.rb:46 def may_fire?(obj, to_state = T.unsafe(nil), *args); end # Returns the value of attribute name. # - # source://aasm//lib/aasm/core/event.rb#7 + # pkg:gem/aasm#lib/aasm/core/event.rb:7 def name; end # Returns the value of attribute options. # - # source://aasm//lib/aasm/core/event.rb#7 + # pkg:gem/aasm#lib/aasm/core/event.rb:7 def options; end # Returns the value of attribute state_machine. # - # source://aasm//lib/aasm/core/event.rb#7 + # pkg:gem/aasm#lib/aasm/core/event.rb:7 def state_machine; end - # source://aasm//lib/aasm/core/event.rb#114 + # pkg:gem/aasm#lib/aasm/core/event.rb:114 def to_s; end # DSL interface # - # source://aasm//lib/aasm/core/event.rb#96 + # pkg:gem/aasm#lib/aasm/core/event.rb:96 def transitions(definitions = T.unsafe(nil), &block); end - # source://aasm//lib/aasm/core/event.rb#58 + # pkg:gem/aasm#lib/aasm/core/event.rb:58 def transitions_from_state(state); end # @return [Boolean] # - # source://aasm//lib/aasm/core/event.rb#54 + # pkg:gem/aasm#lib/aasm/core/event.rb:54 def transitions_from_state?(state); end - # source://aasm//lib/aasm/core/event.rb#66 + # pkg:gem/aasm#lib/aasm/core/event.rb:66 def transitions_to_state(state); end # @return [Boolean] # - # source://aasm//lib/aasm/core/event.rb#62 + # pkg:gem/aasm#lib/aasm/core/event.rb:62 def transitions_to_state?(state); end private - # source://aasm//lib/aasm/core/event.rb#132 + # pkg:gem/aasm#lib/aasm/core/event.rb:132 def _fire(obj, options = T.unsafe(nil), to_state = T.unsafe(nil), *args); end - # source://aasm//lib/aasm/core/event.rb#120 + # pkg:gem/aasm#lib/aasm/core/event.rb:120 def attach_event_guards(definitions); end - # source://aasm//lib/aasm/core/event.rb#167 + # pkg:gem/aasm#lib/aasm/core/event.rb:167 def clear_failed_callbacks; end # called internally by Ruby 1.9 after clone() # - # source://aasm//lib/aasm/core/event.rb#34 + # pkg:gem/aasm#lib/aasm/core/event.rb:34 def initialize_copy(orig); end - # source://aasm//lib/aasm/core/event.rb#172 + # pkg:gem/aasm#lib/aasm/core/event.rb:172 def invoke_callbacks(code, record, args); end end @@ -471,7 +471,7 @@ end # for invoking literal-based, proc-based, class-based # and array-based callbacks for different entities. # -# source://aasm//lib/aasm/core/invoker.rb#9 +# pkg:gem/aasm#lib/aasm/core/invoker.rb:9 class AASM::Core::Invoker # Initialize a new invoker instance. # NOTE that invoker must be used per-subject/record @@ -486,10 +486,10 @@ class AASM::Core::Invoker # # @return [Invoker] a new instance of Invoker # - # source://aasm//lib/aasm/core/invoker.rb#24 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:24 def initialize(subject, record, args); end - # source://aasm//lib/aasm/core/invoker.rb#83 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:83 def invoke; end # Change default return value of #invoke method @@ -501,7 +501,7 @@ class AASM::Core::Invoker # # +value+ - default return value for #invoke method # - # source://aasm//lib/aasm/core/invoker.rb#72 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:72 def with_default_return_value(value); end # Collect failures to a specified buffer @@ -510,7 +510,7 @@ class AASM::Core::Invoker # # +failures+ - failures buffer to collect failures # - # source://aasm//lib/aasm/core/invoker.rb#57 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:57 def with_failures(failures); end # Pass additional options to concrete invoker @@ -524,67 +524,67 @@ class AASM::Core::Invoker # # with_options(guard: proc {...}) # - # source://aasm//lib/aasm/core/invoker.rb#45 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:45 def with_options(options); end private # Returns the value of attribute args. # - # source://aasm//lib/aasm/core/invoker.rb#94 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:94 def args; end - # source://aasm//lib/aasm/core/invoker.rb#116 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:116 def class_invoker; end # Returns the value of attribute default_return_value. # - # source://aasm//lib/aasm/core/invoker.rb#94 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:94 def default_return_value; end # Returns the value of attribute failures. # - # source://aasm//lib/aasm/core/invoker.rb#94 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:94 def failures; end - # source://aasm//lib/aasm/core/invoker.rb#97 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:97 def invoke_array; end - # source://aasm//lib/aasm/core/invoker.rb#122 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:122 def literal_invoker; end # Returns the value of attribute options. # - # source://aasm//lib/aasm/core/invoker.rb#94 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:94 def options; end - # source://aasm//lib/aasm/core/invoker.rb#110 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:110 def proc_invoker; end # Returns the value of attribute record. # - # source://aasm//lib/aasm/core/invoker.rb#94 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:94 def record; end - # source://aasm//lib/aasm/core/invoker.rb#103 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:103 def sub_invoke(new_subject); end # Returns the value of attribute subject. # - # source://aasm//lib/aasm/core/invoker.rb#94 + # pkg:gem/aasm#lib/aasm/core/invoker.rb:94 def subject; end end -# source://aasm//lib/aasm/core/invoker.rb#10 +# pkg:gem/aasm#lib/aasm/core/invoker.rb:10 AASM::Core::Invoker::DEFAULT_RETURN_VALUE = T.let(T.unsafe(nil), TrueClass) -# source://aasm//lib/aasm/core/invokers/base_invoker.rb#5 +# pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:5 module AASM::Core::Invokers; end # Base concrete invoker class which contain basic # invoking and logging definitions # -# source://aasm//lib/aasm/core/invokers/base_invoker.rb#9 +# pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:9 class AASM::Core::Invokers::BaseInvoker # Initialize a new concrete invoker instance. # NOTE that concrete invoker must be used per-subject/record @@ -598,36 +598,36 @@ class AASM::Core::Invokers::BaseInvoker # # @return [BaseInvoker] a new instance of BaseInvoker # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#23 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:23 def initialize(subject, record, args); end # Returns the value of attribute args. # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:10 def args; end # Returns the value of attribute failures. # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:10 def failures; end # Execute concrete invoker, log the error and return result # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#46 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:46 def invoke; end # Execute concrete invoker # # @raise [NoMethodError] # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#69 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:69 def invoke_subject; end # Log failed invoking # # @raise [NoMethodError] # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#62 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:62 def log_failure; end # Check if concrete invoker may be invoked for a specified subject @@ -635,27 +635,27 @@ class AASM::Core::Invokers::BaseInvoker # @raise [NoMethodError] # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#55 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:55 def may_invoke?; end # Parse arguments to separate keyword arguments from positional arguments # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#75 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:75 def parse_arguments; end # Returns the value of attribute record. # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:10 def record; end # Returns the value of attribute result. # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:10 def result; end # Returns the value of attribute subject. # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:10 def subject; end # Collect failures to a specified buffer @@ -664,402 +664,402 @@ class AASM::Core::Invokers::BaseInvoker # # +failures+ - failures buffer to collect failures # - # source://aasm//lib/aasm/core/invokers/base_invoker.rb#38 + # pkg:gem/aasm#lib/aasm/core/invokers/base_invoker.rb:38 def with_failures(failures_buffer); end end # Class invoker which allows to use classes which respond to #call # to be used as state/event/transition callbacks. # -# source://aasm//lib/aasm/core/invokers/class_invoker.rb#9 +# pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:9 class AASM::Core::Invokers::ClassInvoker < ::AASM::Core::Invokers::BaseInvoker - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#19 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:19 def invoke_subject; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#14 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:14 def log_failure; end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:10 def may_invoke?; end private - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#33 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:33 def instance; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#65 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:65 def instance_with_fixed_arity; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#55 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:55 def instance_with_keyword_args; end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#50 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:50 def keyword_arguments?; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#29 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:29 def log_method_info; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#25 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:25 def log_source_location; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#37 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:37 def retrieve_instance; end - # source://aasm//lib/aasm/core/invokers/class_invoker.rb#69 + # pkg:gem/aasm#lib/aasm/core/invokers/class_invoker.rb:69 def subject_arity; end end # Literal invoker which allows to use strings or symbols to call # record methods as state/event/transition callbacks. # -# source://aasm//lib/aasm/core/invokers/literal_invoker.rb#9 +# pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:9 class AASM::Core::Invokers::LiteralInvoker < ::AASM::Core::Invokers::BaseInvoker - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#18 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:18 def invoke_subject; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#14 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:14 def log_failure; end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:10 def may_invoke?; end private - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#34 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:34 def ensure_method_exists; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#28 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:28 def exec_subject; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#57 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:57 def instance_with_keyword_args; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#42 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:42 def invoke_with_arguments; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#71 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:71 def invoke_with_fixed_arity; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#67 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:67 def invoke_with_variable_arity; end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#52 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:52 def keyword_arguments?; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#80 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:80 def record_error; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#38 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:38 def simple_invoke; end - # source://aasm//lib/aasm/core/invokers/literal_invoker.rb#24 + # pkg:gem/aasm#lib/aasm/core/invokers/literal_invoker.rb:24 def subject_arity; end end # Proc invoker which allows to use Procs as # state/event/transition callbacks. # -# source://aasm//lib/aasm/core/invokers/proc_invoker.rb#9 +# pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:9 class AASM::Core::Invokers::ProcInvoker < ::AASM::Core::Invokers::BaseInvoker - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#19 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:19 def invoke_subject; end - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#14 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:14 def log_failure; end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#10 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:10 def may_invoke?; end private - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#57 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:57 def exec_proc(parameters_size); end - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#38 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:38 def exec_proc_with_keyword_args(parameters_size); end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#33 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:33 def keyword_arguments?; end - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#74 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:74 def log_proc_info; end - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#70 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:70 def log_source_location; end - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#78 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:78 def parameters_to_arity; end # @return [Boolean] # - # source://aasm//lib/aasm/core/invokers/proc_invoker.rb#29 + # pkg:gem/aasm#lib/aasm/core/invokers/proc_invoker.rb:29 def support_parameters?; end end -# source://aasm//lib/aasm/core/state.rb#4 +# pkg:gem/aasm#lib/aasm/core/state.rb:4 class AASM::Core::State # @return [State] a new instance of State # - # source://aasm//lib/aasm/core/state.rb#7 + # pkg:gem/aasm#lib/aasm/core/state.rb:7 def initialize(name, klass, state_machine, options = T.unsafe(nil)); end - # source://aasm//lib/aasm/core/state.rb#36 + # pkg:gem/aasm#lib/aasm/core/state.rb:36 def <=>(state); end - # source://aasm//lib/aasm/core/state.rb#28 + # pkg:gem/aasm#lib/aasm/core/state.rb:28 def ==(state); end # Returns the value of attribute default_display_name. # - # source://aasm//lib/aasm/core/state.rb#5 + # pkg:gem/aasm#lib/aasm/core/state.rb:5 def default_display_name; end - # source://aasm//lib/aasm/core/state.rb#57 + # pkg:gem/aasm#lib/aasm/core/state.rb:57 def display_name; end - # source://aasm//lib/aasm/core/state.rb#48 + # pkg:gem/aasm#lib/aasm/core/state.rb:48 def fire_callbacks(action, record, *args); end - # source://aasm//lib/aasm/core/state.rb#72 + # pkg:gem/aasm#lib/aasm/core/state.rb:72 def for_select; end - # source://aasm//lib/aasm/core/state.rb#70 + # pkg:gem/aasm#lib/aasm/core/state.rb:70 def human_name; end - # source://aasm//lib/aasm/core/state.rb#67 + # pkg:gem/aasm#lib/aasm/core/state.rb:67 def localized_name; end # Returns the value of attribute name. # - # source://aasm//lib/aasm/core/state.rb#5 + # pkg:gem/aasm#lib/aasm/core/state.rb:5 def name; end # Returns the value of attribute options. # - # source://aasm//lib/aasm/core/state.rb#5 + # pkg:gem/aasm#lib/aasm/core/state.rb:5 def options; end # Returns the value of attribute state_machine. # - # source://aasm//lib/aasm/core/state.rb#5 + # pkg:gem/aasm#lib/aasm/core/state.rb:5 def state_machine; end - # source://aasm//lib/aasm/core/state.rb#44 + # pkg:gem/aasm#lib/aasm/core/state.rb:44 def to_s; end private - # source://aasm//lib/aasm/core/state.rb#86 + # pkg:gem/aasm#lib/aasm/core/state.rb:86 def _fire_callbacks(action, record, args); end # called internally by Ruby 1.9 after clone() # - # source://aasm//lib/aasm/core/state.rb#16 + # pkg:gem/aasm#lib/aasm/core/state.rb:16 def initialize_copy(orig); end - # source://aasm//lib/aasm/core/state.rb#78 + # pkg:gem/aasm#lib/aasm/core/state.rb:78 def update(options = T.unsafe(nil)); end end -# source://aasm//lib/aasm/core/transition.rb#4 +# pkg:gem/aasm#lib/aasm/core/transition.rb:4 class AASM::Core::Transition include ::AASM::DslHelper # @return [Transition] a new instance of Transition # - # source://aasm//lib/aasm/core/transition.rb#10 + # pkg:gem/aasm#lib/aasm/core/transition.rb:10 def initialize(event, opts, &block); end - # source://aasm//lib/aasm/core/transition.rb#52 + # pkg:gem/aasm#lib/aasm/core/transition.rb:52 def ==(obj); end # @return [Boolean] # - # source://aasm//lib/aasm/core/transition.rb#42 + # pkg:gem/aasm#lib/aasm/core/transition.rb:42 def allowed?(obj, *args); end # Returns the value of attribute event. # - # source://aasm//lib/aasm/core/transition.rb#7 + # pkg:gem/aasm#lib/aasm/core/transition.rb:7 def event; end - # source://aasm//lib/aasm/core/transition.rb#47 + # pkg:gem/aasm#lib/aasm/core/transition.rb:47 def execute(obj, *args); end # Returns the value of attribute failures. # - # source://aasm//lib/aasm/core/transition.rb#7 + # pkg:gem/aasm#lib/aasm/core/transition.rb:7 def failures; end # Returns the value of attribute from. # - # source://aasm//lib/aasm/core/transition.rb#7 + # pkg:gem/aasm#lib/aasm/core/transition.rb:7 def from; end # @return [Boolean] # - # source://aasm//lib/aasm/core/transition.rb#56 + # pkg:gem/aasm#lib/aasm/core/transition.rb:56 def from?(value); end - # source://aasm//lib/aasm/core/transition.rb#60 + # pkg:gem/aasm#lib/aasm/core/transition.rb:60 def invoke_success_callbacks(obj, *args); end # Returns the value of attribute opts. # - # source://aasm//lib/aasm/core/transition.rb#8 + # pkg:gem/aasm#lib/aasm/core/transition.rb:8 def options; end # Returns the value of attribute opts. # - # source://aasm//lib/aasm/core/transition.rb#7 + # pkg:gem/aasm#lib/aasm/core/transition.rb:7 def opts; end # Returns the value of attribute to. # - # source://aasm//lib/aasm/core/transition.rb#7 + # pkg:gem/aasm#lib/aasm/core/transition.rb:7 def to; end private - # source://aasm//lib/aasm/core/transition.rb#78 + # pkg:gem/aasm#lib/aasm/core/transition.rb:78 def _fire_callbacks(code, record, args); end # called internally by Ruby 1.9 after clone() # - # source://aasm//lib/aasm/core/transition.rb#34 + # pkg:gem/aasm#lib/aasm/core/transition.rb:34 def initialize_copy(orig); end - # source://aasm//lib/aasm/core/transition.rb#66 + # pkg:gem/aasm#lib/aasm/core/transition.rb:66 def invoke_callbacks_compatible_with_guard(code, record, args, options = T.unsafe(nil)); end end -# source://aasm//lib/aasm/dsl_helper.rb#2 +# pkg:gem/aasm#lib/aasm/dsl_helper.rb:2 module AASM::DslHelper - # source://aasm//lib/aasm/dsl_helper.rb#25 + # pkg:gem/aasm#lib/aasm/dsl_helper.rb:25 def add_options_from_dsl(options, valid_keys, &block); end end -# source://aasm//lib/aasm/dsl_helper.rb#4 +# pkg:gem/aasm#lib/aasm/dsl_helper.rb:4 class AASM::DslHelper::Proxy # @return [Proxy] a new instance of Proxy # - # source://aasm//lib/aasm/dsl_helper.rb#7 + # pkg:gem/aasm#lib/aasm/dsl_helper.rb:7 def initialize(options, valid_keys, source); end - # source://aasm//lib/aasm/dsl_helper.rb#14 + # pkg:gem/aasm#lib/aasm/dsl_helper.rb:14 def method_missing(name, *args, &block); end # Returns the value of attribute options. # - # source://aasm//lib/aasm/dsl_helper.rb#5 + # pkg:gem/aasm#lib/aasm/dsl_helper.rb:5 def options; end # Sets the attribute options # # @param value the value to set the attribute options to. # - # source://aasm//lib/aasm/dsl_helper.rb#5 + # pkg:gem/aasm#lib/aasm/dsl_helper.rb:5 def options=(_arg0); end end -# source://aasm//lib/aasm/instance_base.rb#2 +# pkg:gem/aasm#lib/aasm/instance_base.rb:2 class AASM::InstanceBase # instance of the class including AASM, name of the state machine # # @return [InstanceBase] a new instance of InstanceBase # - # source://aasm//lib/aasm/instance_base.rb#5 + # pkg:gem/aasm#lib/aasm/instance_base.rb:5 def initialize(instance, name = T.unsafe(nil)); end # Returns the value of attribute current_event. # - # source://aasm//lib/aasm/instance_base.rb#3 + # pkg:gem/aasm#lib/aasm/instance_base.rb:3 def current_event; end # Sets the attribute current_event # # @param value the value to set the attribute current_event to. # - # source://aasm//lib/aasm/instance_base.rb#3 + # pkg:gem/aasm#lib/aasm/instance_base.rb:3 def current_event=(_arg0); end - # source://aasm//lib/aasm/instance_base.rb#10 + # pkg:gem/aasm#lib/aasm/instance_base.rb:10 def current_state; end - # source://aasm//lib/aasm/instance_base.rb#14 + # pkg:gem/aasm#lib/aasm/instance_base.rb:14 def current_state=(state); end - # source://aasm//lib/aasm/instance_base.rb#97 + # pkg:gem/aasm#lib/aasm/instance_base.rb:97 def determine_state_name(state); end - # source://aasm//lib/aasm/instance_base.rb#18 + # pkg:gem/aasm#lib/aasm/instance_base.rb:18 def enter_initial_state; end - # source://aasm//lib/aasm/instance_base.rb#60 + # pkg:gem/aasm#lib/aasm/instance_base.rb:60 def events(options = T.unsafe(nil), *args); end - # source://aasm//lib/aasm/instance_base.rb#116 + # pkg:gem/aasm#lib/aasm/instance_base.rb:116 def fire(event_name, *args, &block); end - # source://aasm//lib/aasm/instance_base.rb#122 + # pkg:gem/aasm#lib/aasm/instance_base.rb:122 def fire!(event_name, *args, &block); end # Returns the value of attribute from_state. # - # source://aasm//lib/aasm/instance_base.rb#3 + # pkg:gem/aasm#lib/aasm/instance_base.rb:3 def from_state; end # Sets the attribute from_state # # @param value the value to set the attribute from_state to. # - # source://aasm//lib/aasm/instance_base.rb#3 + # pkg:gem/aasm#lib/aasm/instance_base.rb:3 def from_state=(_arg0); end - # source://aasm//lib/aasm/instance_base.rb#29 + # pkg:gem/aasm#lib/aasm/instance_base.rb:29 def human_state; end # @return [Boolean] # - # source://aasm//lib/aasm/instance_base.rb#108 + # pkg:gem/aasm#lib/aasm/instance_base.rb:108 def may_fire_event?(name, *args); end - # source://aasm//lib/aasm/instance_base.rb#80 + # pkg:gem/aasm#lib/aasm/instance_base.rb:80 def permitted_transitions; end - # source://aasm//lib/aasm/instance_base.rb#128 + # pkg:gem/aasm#lib/aasm/instance_base.rb:128 def set_current_state_with_persistence(state); end # @raise [AASM::UndefinedState] # - # source://aasm//lib/aasm/instance_base.rb#91 + # pkg:gem/aasm#lib/aasm/instance_base.rb:91 def state_object_for_name(name); end - # source://aasm//lib/aasm/instance_base.rb#33 + # pkg:gem/aasm#lib/aasm/instance_base.rb:33 def states(options = T.unsafe(nil), *args); end # Returns the value of attribute to_state. # - # source://aasm//lib/aasm/instance_base.rb#3 + # pkg:gem/aasm#lib/aasm/instance_base.rb:3 def to_state; end # Sets the attribute to_state # # @param value the value to set the attribute to_state to. # - # source://aasm//lib/aasm/instance_base.rb#3 + # pkg:gem/aasm#lib/aasm/instance_base.rb:3 def to_state=(_arg0); end private @@ -1067,118 +1067,118 @@ class AASM::InstanceBase # @raise [AASM::UndefinedEvent] # @return [Boolean] # - # source://aasm//lib/aasm/instance_base.rb#136 + # pkg:gem/aasm#lib/aasm/instance_base.rb:136 def event_exists?(event_name, bang = T.unsafe(nil)); end end -# source://aasm//lib/aasm/errors.rb#5 +# pkg:gem/aasm#lib/aasm/errors.rb:5 class AASM::InvalidTransition < ::RuntimeError # @return [InvalidTransition] a new instance of InvalidTransition # - # source://aasm//lib/aasm/errors.rb#8 + # pkg:gem/aasm#lib/aasm/errors.rb:8 def initialize(object, event_name, state_machine_name, failures = T.unsafe(nil)); end # Returns the value of attribute event_name. # - # source://aasm//lib/aasm/errors.rb#6 + # pkg:gem/aasm#lib/aasm/errors.rb:6 def event_name; end # Returns the value of attribute failures. # - # source://aasm//lib/aasm/errors.rb#6 + # pkg:gem/aasm#lib/aasm/errors.rb:6 def failures; end # Returns the value of attribute object. # - # source://aasm//lib/aasm/errors.rb#6 + # pkg:gem/aasm#lib/aasm/errors.rb:6 def object; end # Returns the value of attribute originating_state. # - # source://aasm//lib/aasm/errors.rb#6 + # pkg:gem/aasm#lib/aasm/errors.rb:6 def originating_state; end - # source://aasm//lib/aasm/errors.rb#14 + # pkg:gem/aasm#lib/aasm/errors.rb:14 def reasoning; end # Returns the value of attribute state_machine_name. # - # source://aasm//lib/aasm/errors.rb#6 + # pkg:gem/aasm#lib/aasm/errors.rb:6 def state_machine_name; end end -# source://aasm//lib/aasm/localizer.rb#2 +# pkg:gem/aasm#lib/aasm/localizer.rb:2 class AASM::Localizer - # source://aasm//lib/aasm/localizer.rb#3 + # pkg:gem/aasm#lib/aasm/localizer.rb:3 def human_event_name(klass, event); end - # source://aasm//lib/aasm/localizer.rb#11 + # pkg:gem/aasm#lib/aasm/localizer.rb:11 def human_state_name(klass, state); end private - # source://aasm//lib/aasm/localizer.rb#48 + # pkg:gem/aasm#lib/aasm/localizer.rb:48 def ancestors_list(klass); end # Can use better arguement name # - # source://aasm//lib/aasm/localizer.rb#56 + # pkg:gem/aasm#lib/aasm/localizer.rb:56 def default_display_name(object); end # added for rails < 3.0.3 compatibility # - # source://aasm//lib/aasm/localizer.rb#44 + # pkg:gem/aasm#lib/aasm/localizer.rb:44 def i18n_klass(klass); end # added for rails 2.x compatibility # - # source://aasm//lib/aasm/localizer.rb#39 + # pkg:gem/aasm#lib/aasm/localizer.rb:39 def i18n_scope(klass); end - # source://aasm//lib/aasm/localizer.rb#22 + # pkg:gem/aasm#lib/aasm/localizer.rb:22 def item_for(klass, state, ancestor, options = T.unsafe(nil)); end - # source://aasm//lib/aasm/localizer.rb#27 + # pkg:gem/aasm#lib/aasm/localizer.rb:27 def translate_queue(checklist); end end # this is used internally as an argument default value to represent no value # -# source://aasm//lib/aasm/aasm.rb#3 +# pkg:gem/aasm#lib/aasm/aasm.rb:3 AASM::NO_VALUE = T.let(T.unsafe(nil), Symbol) -# source://aasm//lib/aasm/errors.rb#21 +# pkg:gem/aasm#lib/aasm/errors.rb:21 class AASM::NoDirectAssignmentError < ::RuntimeError; end -# source://aasm//lib/aasm/persistence.rb#2 +# pkg:gem/aasm#lib/aasm/persistence.rb:2 module AASM::Persistence class << self - # source://aasm//lib/aasm/persistence.rb#5 + # pkg:gem/aasm#lib/aasm/persistence.rb:5 def load_persistence(base); end private - # source://aasm//lib/aasm/persistence.rb#44 + # pkg:gem/aasm#lib/aasm/persistence.rb:44 def capitalize(string_or_symbol); end - # source://aasm//lib/aasm/persistence.rb#48 + # pkg:gem/aasm#lib/aasm/persistence.rb:48 def constantize(string); end - # source://aasm//lib/aasm/persistence.rb#40 + # pkg:gem/aasm#lib/aasm/persistence.rb:40 def include_persistence(base, type); end - # source://aasm//lib/aasm/persistence.rb#36 + # pkg:gem/aasm#lib/aasm/persistence.rb:36 def require_persistence(type); end end end -# source://aasm//lib/aasm/persistence/base.rb#3 +# pkg:gem/aasm#lib/aasm/persistence/base.rb:3 module AASM::Persistence::Base mixes_in_class_methods ::AASM::Persistence::Base::ClassMethods # @return [Boolean] # - # source://aasm//lib/aasm/persistence/base.rb#44 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:44 def aasm_new_record?; end # Returns the value of the aasm.attribute_name - called from aasm.current_state @@ -1208,186 +1208,186 @@ module AASM::Persistence::Base # # This allows for nil aasm states - be sure to add validation to your model # - # source://aasm//lib/aasm/persistence/base.rb#35 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:35 def aasm_read_state(name = T.unsafe(nil)); end class << self - # source://aasm//lib/aasm/persistence/base.rb#5 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:5 def included(base); end end end -# source://aasm//lib/aasm/persistence/base.rb#48 +# pkg:gem/aasm#lib/aasm/persistence/base.rb:48 module AASM::Persistence::Base::ClassMethods - # source://aasm//lib/aasm/persistence/base.rb#49 + # pkg:gem/aasm#lib/aasm/persistence/base.rb:49 def aasm_column(attribute_name = T.unsafe(nil)); end end -# source://aasm//lib/aasm/persistence/plain_persistence.rb#3 +# pkg:gem/aasm#lib/aasm/persistence/plain_persistence.rb:3 module AASM::Persistence::PlainPersistence # may be overwritten by persistence mixins # - # source://aasm//lib/aasm/persistence/plain_persistence.rb#6 + # pkg:gem/aasm#lib/aasm/persistence/plain_persistence.rb:6 def aasm_read_state(name = T.unsafe(nil)); end # may be overwritten by persistence mixins # - # source://aasm//lib/aasm/persistence/plain_persistence.rb#15 + # pkg:gem/aasm#lib/aasm/persistence/plain_persistence.rb:15 def aasm_write_state(new_state, name = T.unsafe(nil)); end # may be overwritten by persistence mixins # - # source://aasm//lib/aasm/persistence/plain_persistence.rb#20 + # pkg:gem/aasm#lib/aasm/persistence/plain_persistence.rb:20 def aasm_write_state_without_persistence(new_state, name = T.unsafe(nil)); end end -# source://aasm//lib/aasm/state_machine.rb#2 +# pkg:gem/aasm#lib/aasm/state_machine.rb:2 class AASM::StateMachine # @return [StateMachine] a new instance of StateMachine # - # source://aasm//lib/aasm/state_machine.rb#7 + # pkg:gem/aasm#lib/aasm/state_machine.rb:7 def initialize(name); end - # source://aasm//lib/aasm/state_machine.rb#34 + # pkg:gem/aasm#lib/aasm/state_machine.rb:34 def add_event(name, options, &block); end - # source://aasm//lib/aasm/state_machine.rb#38 + # pkg:gem/aasm#lib/aasm/state_machine.rb:38 def add_global_callbacks(name, *callbacks, &block); end - # source://aasm//lib/aasm/state_machine.rb#25 + # pkg:gem/aasm#lib/aasm/state_machine.rb:25 def add_state(state_name, klass, options); end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def config; end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def config=(_arg0); end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def events; end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def events=(_arg0); end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def global_callbacks; end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def global_callbacks=(_arg0); end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def initial_state; end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def initial_state=(_arg0); end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def name; end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def name=(_arg0); end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def states; end # the following four methods provide the storage of all state machines # - # source://aasm//lib/aasm/state_machine.rb#5 + # pkg:gem/aasm#lib/aasm/state_machine.rb:5 def states=(_arg0); end private # called internally by Ruby 1.9 after clone() # - # source://aasm//lib/aasm/state_machine.rb#17 + # pkg:gem/aasm#lib/aasm/state_machine.rb:17 def initialize_copy(orig); end - # source://aasm//lib/aasm/state_machine.rb#48 + # pkg:gem/aasm#lib/aasm/state_machine.rb:48 def set_initial_state(name, options); end end -# source://aasm//lib/aasm/state_machine_store.rb#4 +# pkg:gem/aasm#lib/aasm/state_machine_store.rb:4 class AASM::StateMachineStore # @return [StateMachineStore] a new instance of StateMachineStore # - # source://aasm//lib/aasm/state_machine_store.rb#44 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:44 def initialize; end - # source://aasm//lib/aasm/state_machine_store.rb#59 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:59 def [](name); end - # source://aasm//lib/aasm/state_machine_store.rb#48 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:48 def clone; end - # source://aasm//lib/aasm/state_machine_store.rb#64 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:64 def keys; end - # source://aasm//lib/aasm/state_machine_store.rb#56 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:56 def machine(name); end - # source://aasm//lib/aasm/state_machine_store.rb#61 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:61 def machine_names; end - # source://aasm//lib/aasm/state_machine_store.rb#66 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:66 def register(name, machine, force = T.unsafe(nil)); end class << self - # source://aasm//lib/aasm/state_machine_store.rb#37 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:37 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#26 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:26 def []=(klass, overwrite = T.unsafe(nil), state_machine = T.unsafe(nil)); end - # source://aasm//lib/aasm/state_machine_store.rb#28 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:28 def fetch(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#14 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:14 def register(klass, overwrite = T.unsafe(nil), state_machine = T.unsafe(nil)); end - # source://aasm//lib/aasm/state_machine_store.rb#8 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:8 def stores; end - # source://aasm//lib/aasm/state_machine_store.rb#39 + # pkg:gem/aasm#lib/aasm/state_machine_store.rb:39 def unregister(klass); end end end -# source://aasm//lib/aasm/errors.rb#20 +# pkg:gem/aasm#lib/aasm/errors.rb:20 class AASM::UndefinedEvent < ::AASM::UndefinedState; end -# source://aasm//lib/aasm/errors.rb#19 +# pkg:gem/aasm#lib/aasm/errors.rb:19 class AASM::UndefinedState < ::RuntimeError; end -# source://aasm//lib/aasm/errors.rb#3 +# pkg:gem/aasm#lib/aasm/errors.rb:3 class AASM::UnknownStateMachineError < ::RuntimeError; end -# source://aasm//lib/aasm/version.rb#2 +# pkg:gem/aasm#lib/aasm/version.rb:2 AASM::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/action_text-trix@2.1.16.rbi b/sorbet/rbi/gems/action_text-trix@2.1.16.rbi index af0e70789..da7bff596 100644 --- a/sorbet/rbi/gems/action_text-trix@2.1.16.rbi +++ b/sorbet/rbi/gems/action_text-trix@2.1.16.rbi @@ -5,11 +5,11 @@ # Please instead update this file by running `bin/tapioca gem action_text-trix`. -# source://action_text-trix//lib/action_text/trix/version.rb#1 +# pkg:gem/action_text-trix#lib/action_text/trix/version.rb:1 module Trix; end -# source://action_text-trix//lib/action_text/trix/engine.rb#2 +# pkg:gem/action_text-trix#lib/action_text/trix/engine.rb:2 class Trix::Engine < ::Rails::Engine; end -# source://action_text-trix//lib/action_text/trix/version.rb#2 +# pkg:gem/action_text-trix#lib/action_text/trix/version.rb:2 Trix::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/actioncable@8.1.1.rbi b/sorbet/rbi/gems/actioncable@8.1.1.rbi index 8d9edcfa6..5dce8b8d9 100644 --- a/sorbet/rbi/gems/actioncable@8.1.1.rbi +++ b/sorbet/rbi/gems/actioncable@8.1.1.rbi @@ -8,37 +8,37 @@ # :markup: markdown # :include: ../README.md # -# source://actioncable//lib/action_cable.rb#54 +# pkg:gem/actioncable#lib/action_cable.rb:54 module ActionCable private # Singleton instance of the server # - # source://actioncable//lib/action_cable.rb#77 + # pkg:gem/actioncable#lib/action_cable.rb:77 def server; end class << self - # source://actioncable//lib/action_cable/deprecator.rb#6 + # pkg:gem/actioncable#lib/action_cable/deprecator.rb:6 def deprecator; end # Returns the currently loaded version of Action Cable as a `Gem::Version`. # - # source://actioncable//lib/action_cable/gem_version.rb#7 + # pkg:gem/actioncable#lib/action_cable/gem_version.rb:7 def gem_version; end # Singleton instance of the server # - # source://actioncable//lib/action_cable.rb#77 + # pkg:gem/actioncable#lib/action_cable.rb:77 def server; end # Returns the currently loaded version of Action Cable as a `Gem::Version`. # - # source://actioncable//lib/action_cable/version.rb#9 + # pkg:gem/actioncable#lib/action_cable/version.rb:9 def version; end end end -# source://actioncable//lib/action_cable/channel/base.rb#9 +# pkg:gem/actioncable#lib/action_cable/channel/base.rb:9 module ActionCable::Channel; end # # Action Cable Channel Base @@ -141,7 +141,7 @@ module ActionCable::Channel; end # not have access to the chat room. On the client-side, the `Channel#rejected` # callback will get invoked when the server rejects the subscription request. # -# source://actioncable//lib/action_cable/channel/base.rb#109 +# pkg:gem/actioncable#lib/action_cable/channel/base.rb:109 class ActionCable::Channel::Base include ::ActiveSupport::Callbacks include ::ActionCable::Channel::Callbacks @@ -160,177 +160,177 @@ class ActionCable::Channel::Base # @return [Base] a new instance of Base # - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def initialize(connection, identifier, params = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def __callbacks; end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _run_subscribe_callbacks(&block); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _run_subscribe_callbacks!(&block); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _run_unsubscribe_callbacks(&block); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _run_unsubscribe_callbacks!(&block); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _subscribe_callbacks; end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _unsubscribe_callbacks; end # Returns the value of attribute connection. # - # source://actioncable//lib/action_cable/channel/base.rb#117 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:117 def connection; end # Returns the value of attribute identifier. # - # source://actioncable//lib/action_cable/channel/base.rb#117 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:117 def identifier; end - # source://actioncable//lib/action_cable/channel/base.rb#118 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:118 def logger(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute params. # - # source://actioncable//lib/action_cable/channel/base.rb#117 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:117 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#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def perform_action(data); end - # source://actioncable//lib/action_cable/channel/base.rb#111 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111 def periodic_timers=(_arg0); end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def rescue_handlers; end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def rescue_handlers=(_arg0); end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 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#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 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#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def unsubscribe_from_channel; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def unsubscribed?; end private - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def action_signature(action, data); end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def defer_subscription_confirmation!; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def defer_subscription_confirmation?; end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def delegate_connection_identifiers; end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def dispatch_action(action, data); end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def ensure_confirmation_sent; end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def extract_action(data); end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def parameter_filter; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def processable_action?(action); end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def reject; end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 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#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def subscribed; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def subscription_confirmation_sent?; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 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#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def transmit(data, via: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def transmit_subscription_confirmation; end - # source://actioncable//lib/action_cable/channel/base.rb#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 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#154 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:154 def unsubscribed; end class << self - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def __callbacks; end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def __callbacks=(value); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _subscribe_callbacks; end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _subscribe_callbacks=(value); end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _unsubscribe_callbacks; end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def _unsubscribe_callbacks=(value); end # A list of method names that should be considered actions. This includes all @@ -341,82 +341,82 @@ class ActionCable::Channel::Base # #### Returns # * `Set` - A set of all methods that should be considered actions. # - # source://actioncable//lib/action_cable/channel/base.rb#128 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:128 def action_methods; end - # source://actioncable//lib/action_cable/channel/base.rb#111 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111 def periodic_timers; end - # source://actioncable//lib/action_cable/channel/base.rb#111 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111 def periodic_timers=(value); end - # source://actioncable//lib/action_cable/channel/base.rb#111 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111 def periodic_timers?; end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def rescue_handlers; end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def rescue_handlers=(value); end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def rescue_handlers?; end private - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def __class_attr___callbacks; end - # source://actioncable//lib/action_cable/channel/base.rb#110 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:110 def __class_attr___callbacks=(new_value); end - # source://actioncable//lib/action_cable/channel/base.rb#111 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111 def __class_attr_periodic_timers; end - # source://actioncable//lib/action_cable/channel/base.rb#111 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:111 def __class_attr_periodic_timers=(new_value); end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def __class_attr_rescue_handlers; end - # source://actioncable//lib/action_cable/channel/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:115 def __class_attr_rescue_handlers=(new_value); end # action_methods are cached and there is sometimes need to refresh 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#148 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:148 def clear_action_methods!; end - # source://actioncable//lib/action_cable/channel/base.rb#158 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:158 def internal_methods; end # Refresh the cached action_methods when a new action_method is added. # - # source://actioncable//lib/action_cable/channel/base.rb#153 + # pkg:gem/actioncable#lib/action_cable/channel/base.rb:153 def method_added(name); end end end -# source://actioncable//lib/action_cable/channel/broadcasting.rb#9 +# pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:9 module ActionCable::Channel::Broadcasting extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionCable::Channel::Broadcasting::ClassMethods - # source://actioncable//lib/action_cable/channel/broadcasting.rb#45 + # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:45 def broadcast_to(model, message); end - # source://actioncable//lib/action_cable/channel/broadcasting.rb#41 + # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:41 def broadcasting_for(model); end end -# source://actioncable//lib/action_cable/channel/broadcasting.rb#12 +# pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:12 module ActionCable::Channel::Broadcasting::ClassMethods # Broadcast a hash to a unique broadcasting for this array of `broadcastables` in this channel. # - # source://actioncable//lib/action_cable/channel/broadcasting.rb#14 + # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:14 def broadcast_to(broadcastables, message); end # Returns a unique broadcasting identifier for this `model` in this channel: @@ -426,12 +426,12 @@ module ActionCable::Channel::Broadcasting::ClassMethods # You can pass an array of objects 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#24 + # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:24 def broadcasting_for(broadcastables); end private - # source://actioncable//lib/action_cable/channel/broadcasting.rb#29 + # pkg:gem/actioncable#lib/action_cable/channel/broadcasting.rb:29 def serialize_broadcasting(object); end end @@ -464,7 +464,7 @@ end # end # end # -# source://actioncable//lib/action_cable/channel/callbacks.rb#38 +# pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:38 module ActionCable::Channel::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -485,7 +485,7 @@ module ActionCable::Channel::Callbacks end end -# source://actioncable//lib/action_cable/channel/callbacks.rb#49 +# pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:49 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 method. @@ -495,16 +495,16 @@ module ActionCable::Channel::Callbacks::ClassMethods # # after_subscribe :my_method, unless: :subscription_rejected? # - # source://actioncable//lib/action_cable/channel/callbacks.rb#62 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:62 def after_subscribe(*methods, &block); end - # source://actioncable//lib/action_cable/channel/callbacks.rb#71 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:71 def after_unsubscribe(*methods, &block); end - # source://actioncable//lib/action_cable/channel/callbacks.rb#50 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:50 def before_subscribe(*methods, &block); end - # source://actioncable//lib/action_cable/channel/callbacks.rb#67 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:67 def before_unsubscribe(*methods, &block); end # This callback will be triggered after the Base#subscribed method is called, @@ -515,19 +515,19 @@ module ActionCable::Channel::Callbacks::ClassMethods # # after_subscribe :my_method, unless: :subscription_rejected? # - # source://actioncable//lib/action_cable/channel/callbacks.rb#65 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:65 def on_subscribe(*methods, &block); end - # source://actioncable//lib/action_cable/channel/callbacks.rb#74 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:74 def on_unsubscribe(*methods, &block); end private - # source://actioncable//lib/action_cable/channel/callbacks.rb#77 + # pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:77 def internal_methods; end end -# source://actioncable//lib/action_cable/channel/callbacks.rb#42 +# pkg:gem/actioncable#lib/action_cable/channel/callbacks.rb:42 ActionCable::Channel::Callbacks::INTERNAL_METHODS = T.let(T.unsafe(nil), Array) # # Action Cable Channel Stub @@ -535,99 +535,99 @@ ActionCable::Channel::Callbacks::INTERNAL_METHODS = T.let(T.unsafe(nil), Array) # Stub `stream_from` to track streams for the channel. Add public aliases for # `subscription_confirmation_sent?` and `subscription_rejected?`. # -# source://actioncable//lib/action_cable/channel/test_case.rb#24 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:24 module ActionCable::Channel::ChannelStub # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/test_case.rb#25 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:25 def confirmed?; end # @return [Boolean] # - # source://actioncable//lib/action_cable/channel/test_case.rb#29 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:29 def rejected?; end # Make periodic timers no-op # - # source://actioncable//lib/action_cable/channel/test_case.rb#46 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:46 def start_periodic_timers; end - # source://actioncable//lib/action_cable/channel/test_case.rb#37 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:37 def stop_all_streams; end # Make periodic timers no-op # - # source://actioncable//lib/action_cable/channel/test_case.rb#47 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:47 def stop_periodic_timers; end - # source://actioncable//lib/action_cable/channel/test_case.rb#33 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:33 def stream_from(broadcasting, *_arg1); end - # source://actioncable//lib/action_cable/channel/test_case.rb#41 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:41 def streams; end end -# source://actioncable//lib/action_cable/channel/test_case.rb#50 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:50 class ActionCable::Channel::ConnectionStub # @return [ConnectionStub] a new instance of ConnectionStub # - # source://actioncable//lib/action_cable/channel/test_case.rb#55 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:55 def initialize(identifiers = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/channel/test_case.rb#53 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:53 def config(*_arg0, **_arg1, &_arg2); end - # source://actioncable//lib/action_cable/channel/test_case.rb#72 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:72 def connection_identifier; end # Returns the value of attribute identifiers. # - # source://actioncable//lib/action_cable/channel/test_case.rb#51 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51 def identifiers; end # Returns the value of attribute logger. # - # source://actioncable//lib/action_cable/channel/test_case.rb#51 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51 def logger; end - # source://actioncable//lib/action_cable/channel/test_case.rb#53 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:53 def pubsub(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute server. # - # source://actioncable//lib/action_cable/channel/test_case.rb#51 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51 def server; end # Returns the value of attribute subscriptions. # - # source://actioncable//lib/action_cable/channel/test_case.rb#51 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51 def subscriptions; end # Returns the value of attribute transmissions. # - # source://actioncable//lib/action_cable/channel/test_case.rb#51 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:51 def transmissions; end - # source://actioncable//lib/action_cable/channel/test_case.rb#68 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:68 def transmit(cable_message); end private - # source://actioncable//lib/action_cable/channel/test_case.rb#77 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:77 def connection_gid(ids); end end -# source://actioncable//lib/action_cable/channel/naming.rb#7 +# pkg:gem/actioncable#lib/action_cable/channel/naming.rb:7 module ActionCable::Channel::Naming extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionCable::Channel::Naming::ClassMethods - # source://actioncable//lib/action_cable/channel/naming.rb#23 + # pkg:gem/actioncable#lib/action_cable/channel/naming.rb:23 def channel_name; end end -# source://actioncable//lib/action_cable/channel/naming.rb#10 +# pkg:gem/actioncable#lib/action_cable/channel/naming.rb:10 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 @@ -637,19 +637,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#18 + # pkg:gem/actioncable#lib/action_cable/channel/naming.rb:18 def channel_name; end end -# source://actioncable//lib/action_cable/channel/test_case.rb#12 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:12 class ActionCable::Channel::NonInferrableChannelError < ::StandardError # @return [NonInferrableChannelError] a new instance of NonInferrableChannelError # - # source://actioncable//lib/action_cable/channel/test_case.rb#13 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:13 def initialize(name); end end -# source://actioncable//lib/action_cable/channel/periodic_timers.rb#7 +# pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:7 module ActionCable::Channel::PeriodicTimers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -659,16 +659,16 @@ module ActionCable::Channel::PeriodicTimers private - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#56 + # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:56 def active_periodic_timers; end - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#66 + # pkg:gem/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 + # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:60 def start_periodic_timers; end - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#72 + # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:72 def stop_periodic_timers; end module GeneratedClassMethods @@ -682,7 +682,7 @@ module ActionCable::Channel::PeriodicTimers end end -# source://actioncable//lib/action_cable/channel/periodic_timers.rb#17 +# pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:17 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 regular @@ -697,7 +697,7 @@ module ActionCable::Channel::PeriodicTimers::ClassMethods # transmit action: :update_count, count: current_count # end # - # source://actioncable//lib/action_cable/channel/periodic_timers.rb#31 + # pkg:gem/actioncable#lib/action_cable/channel/periodic_timers.rb:31 def periodically(callback_or_method_name = T.unsafe(nil), every:, &block); end end @@ -772,26 +772,26 @@ end # # You can stop streaming from all broadcasts by calling #stop_all_streams. # -# source://actioncable//lib/action_cable/channel/streams.rb#77 +# pkg:gem/actioncable#lib/action_cable/channel/streams.rb:77 module ActionCable::Channel::Streams extend ::ActiveSupport::Concern - # source://actioncable//lib/action_cable/channel/streams.rb#155 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:155 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#137 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:137 def stop_all_streams; end # Unsubscribes streams for the `model`. # - # source://actioncable//lib/action_cable/channel/streams.rb#132 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:132 def stop_stream_for(model); end # Unsubscribes streams from the named `broadcasting`. # - # source://actioncable//lib/action_cable/channel/streams.rb#123 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:123 def stop_stream_from(broadcasting); end # Start streaming the pubsub queue for the `broadcastables` in this channel. Optionally, @@ -802,7 +802,7 @@ module ActionCable::Channel::Streams # the callback. Defaults to `coder: nil` which does no decoding, passes raw # messages. # - # source://actioncable//lib/action_cable/channel/streams.rb#118 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:118 def stream_for(broadcastables, callback = T.unsafe(nil), coder: T.unsafe(nil), &block); end # Start streaming from the named `broadcasting` pubsub queue. Optionally, you @@ -812,13 +812,13 @@ module ActionCable::Channel::Streams # callback. Defaults to `coder: nil` which does no decoding, passes raw # messages. # - # source://actioncable//lib/action_cable/channel/streams.rb#90 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:90 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#146 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:146 def stream_or_reject_for(model); end private @@ -832,13 +832,13 @@ module ActionCable::Channel::Streams # 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#191 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:191 def default_stream_handler(broadcasting, coder:); end - # source://actioncable//lib/action_cable/channel/streams.rb#212 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:212 def identity_handler; end - # source://actioncable//lib/action_cable/channel/streams.rb#196 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:196 def stream_decoder(handler = T.unsafe(nil), coder:); end # May be overridden to add instrumentation, logging, specialized error handling, @@ -846,19 +846,19 @@ module ActionCable::Channel::Streams # # TODO: Tests demonstrating this. # - # source://actioncable//lib/action_cable/channel/streams.rb#175 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:175 def stream_handler(broadcasting, user_handler, coder: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/channel/streams.rb#204 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:204 def stream_transmitter(handler = T.unsafe(nil), broadcasting:); end - # source://actioncable//lib/action_cable/channel/streams.rb#157 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:157 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#163 + # pkg:gem/actioncable#lib/action_cable/channel/streams.rb:163 def worker_pool_stream_handler(broadcasting, user_handler, coder: T.unsafe(nil)); end end @@ -962,7 +962,7 @@ end # end # end # -# source://actioncable//lib/action_cable/channel/test_case.rb#190 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:190 class ActionCable::Channel::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActionCable::TestHelper @@ -970,42 +970,42 @@ 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#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def _channel_class; end - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def _channel_class=(_arg0); end - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def _channel_class?; end - # source://actioncable//lib/action_cable/channel/test_case.rb#202 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:202 def connection; end - # source://actioncable//lib/action_cable/channel/test_case.rb#202 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:202 def subscription; end class << self - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def _channel_class; end - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def _channel_class=(value); end - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def _channel_class?; end private - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def __class_attr__channel_class; end - # source://actioncable//lib/action_cable/channel/test_case.rb#200 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:200 def __class_attr__channel_class=(new_value); end end end -# source://actioncable//lib/action_cable/channel/test_case.rb#191 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:191 module ActionCable::Channel::TestCase::Behavior include ::ActionCable::TestHelper extend ::ActiveSupport::Concern @@ -1016,12 +1016,12 @@ 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#282 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:282 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#278 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:278 def assert_broadcasts(stream_or_object, *args); end # Asserts that the specified stream has not been started. @@ -1031,7 +1031,7 @@ module ActionCable::Channel::TestCase::Behavior # assert_has_no_stream 'messages' # end # - # source://actioncable//lib/action_cable/channel/test_case.rb#326 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:326 def assert_has_no_stream(stream); end # Asserts that the specified stream for a model has not started. @@ -1041,7 +1041,7 @@ module ActionCable::Channel::TestCase::Behavior # assert_has_no_stream_for User.find(42) # end # - # source://actioncable//lib/action_cable/channel/test_case.rb#337 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:337 def assert_has_no_stream_for(object); end # Asserts that the specified stream has been started. @@ -1051,7 +1051,7 @@ module ActionCable::Channel::TestCase::Behavior # assert_has_stream 'messages' # end # - # source://actioncable//lib/action_cable/channel/test_case.rb#304 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:304 def assert_has_stream(stream); end # Asserts that the specified stream for a model has started. @@ -1061,7 +1061,7 @@ module ActionCable::Channel::TestCase::Behavior # assert_has_stream_for User.find(42) # end # - # source://actioncable//lib/action_cable/channel/test_case.rb#315 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:315 def assert_has_stream_for(object); end # Asserts that no streams have been started. @@ -1071,14 +1071,14 @@ module ActionCable::Channel::TestCase::Behavior # assert_no_streams # end # - # source://actioncable//lib/action_cable/channel/test_case.rb#293 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:293 def assert_no_streams; end # Perform action on a channel. # # NOTE: Must be subscribed. # - # source://actioncable//lib/action_cable/channel/test_case.rb#266 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:266 def perform(action, data = T.unsafe(nil)); end # Set up test connection with the specified identifiers: @@ -1089,31 +1089,31 @@ module ActionCable::Channel::TestCase::Behavior # # stub_connection(user: users[:john], token: 'my-secret-token') # - # source://actioncable//lib/action_cable/channel/test_case.rb#243 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:243 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#249 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:249 def subscribe(params = T.unsafe(nil)); end # Returns messages transmitted into channel # - # source://actioncable//lib/action_cable/channel/test_case.rb#272 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:272 def transmissions; end # Unsubscribe the subscription under test. # - # source://actioncable//lib/action_cable/channel/test_case.rb#258 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:258 def unsubscribe; end private - # source://actioncable//lib/action_cable/channel/test_case.rb#346 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:346 def broadcasting_for(stream_or_object); end - # source://actioncable//lib/action_cable/channel/test_case.rb#342 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:342 def check_subscribed!; end module GeneratedClassMethods @@ -1129,27 +1129,27 @@ module ActionCable::Channel::TestCase::Behavior end end -# source://actioncable//lib/action_cable/channel/test_case.rb#197 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:197 ActionCable::Channel::TestCase::Behavior::CHANNEL_IDENTIFIER = T.let(T.unsafe(nil), String) -# source://actioncable//lib/action_cable/channel/test_case.rb#207 +# pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:207 module ActionCable::Channel::TestCase::Behavior::ClassMethods - # source://actioncable//lib/action_cable/channel/test_case.rb#219 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:219 def channel_class; end # @raise [NonInferrableChannelError] # - # source://actioncable//lib/action_cable/channel/test_case.rb#227 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:227 def determine_default_channel(name); end - # source://actioncable//lib/action_cable/channel/test_case.rb#208 + # pkg:gem/actioncable#lib/action_cable/channel/test_case.rb:208 def tests(channel); end end -# source://actioncable//lib/action_cable/connection/identification.rb#6 +# pkg:gem/actioncable#lib/action_cable/connection/identification.rb:6 module ActionCable::Connection; end -# source://actioncable//lib/action_cable/connection/test_case.rb#22 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:22 module ActionCable::Connection::Assertions # Asserts that the connection is rejected (via # `reject_unauthorized_connection`). @@ -1157,22 +1157,22 @@ module ActionCable::Connection::Assertions # # Asserts that connection without user_id fails # assert_reject_connection { connect params: { user_id: '' } } # - # source://actioncable//lib/action_cable/connection/test_case.rb#28 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:28 def assert_reject_connection(&block); end end -# source://actioncable//lib/action_cable/connection/authorization.rb#7 +# pkg:gem/actioncable#lib/action_cable/connection/authorization.rb:7 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#12 + # pkg:gem/actioncable#lib/action_cable/connection/authorization.rb:12 def reject_unauthorized_connection; end end -# source://actioncable//lib/action_cable/connection/authorization.rb#8 +# pkg:gem/actioncable#lib/action_cable/connection/authorization.rb:8 class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardError; end # # Action Cable Connection Base @@ -1223,7 +1223,7 @@ class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardErro # # Pretty simple, eh? # -# source://actioncable//lib/action_cable/connection/base.rb#57 +# pkg:gem/actioncable#lib/action_cable/connection/base.rb:57 class ActionCable::Connection::Base include ::ActionCable::Connection::Identification include ::ActionCable::Connection::InternalChannel @@ -1239,73 +1239,73 @@ class ActionCable::Connection::Base # @return [Base] a new instance of Base # - # source://actioncable//lib/action_cable/connection/base.rb#67 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:67 def initialize(server, env, coder: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def __callbacks; end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def _command_callbacks; end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def _run_command_callbacks; end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def _run_command_callbacks!(&block); end - # source://actioncable//lib/action_cable/connection/base.rb#147 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:147 def beat; end # Close the WebSocket connection. # - # source://actioncable//lib/action_cable/connection/base.rb#120 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:120 def close(reason: T.unsafe(nil), reconnect: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/connection/base.rb#65 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:65 def config(*_arg0, **_arg1, &_arg2); end - # source://actioncable//lib/action_cable/connection/base.rb#101 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:101 def dispatch_websocket_message(websocket_message); end # Returns the value of attribute env. # - # source://actioncable//lib/action_cable/connection/base.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64 def env; end - # source://actioncable//lib/action_cable/connection/base.rb#65 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:65 def event_loop(*_arg0, **_arg1, &_arg2); end - # source://actioncable//lib/action_cable/connection/base.rb#109 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:109 def handle_channel_command(payload); end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def identifiers; end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def identifiers=(_arg0); end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def identifiers?; end - # source://actioncable//lib/action_cable/connection/base.rb#168 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:168 def inspect; end # Returns the value of attribute logger. # - # source://actioncable//lib/action_cable/connection/base.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64 def logger; end - # source://actioncable//lib/action_cable/connection/base.rb#164 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:164 def on_close(reason, code); end - # source://actioncable//lib/action_cable/connection/base.rb#159 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:159 def on_error(message); end - # source://actioncable//lib/action_cable/connection/base.rb#155 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:155 def on_message(message); end - # source://actioncable//lib/action_cable/connection/base.rb#151 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:151 def on_open; end # Called by the server when a new WebSocket connection is established. This @@ -1313,180 +1313,180 @@ class ActionCable::Connection::Base # should not be called directly -- instead rely upon on the #connect (and # #disconnect) callbacks. # - # source://actioncable//lib/action_cable/connection/base.rb#85 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:85 def process; end # Returns the value of attribute protocol. # - # source://actioncable//lib/action_cable/connection/base.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64 def protocol; end - # source://actioncable//lib/action_cable/connection/base.rb#65 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:65 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#97 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:97 def receive(websocket_message); end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def rescue_handlers; end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def rescue_handlers=(_arg0); end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 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#131 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:131 def send_async(method, *arguments); end # Returns the value of attribute server. # - # source://actioncable//lib/action_cable/connection/base.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64 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#138 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:138 def statistics; end # Returns the value of attribute subscriptions. # - # source://actioncable//lib/action_cable/connection/base.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64 def subscriptions; end - # source://actioncable//lib/action_cable/connection/base.rb#115 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:115 def transmit(cable_message); end # Returns the value of attribute worker_pool. # - # source://actioncable//lib/action_cable/connection/base.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:64 def worker_pool; end private # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/base.rb#228 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:228 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#187 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:187 def cookies; end - # source://actioncable//lib/action_cable/connection/base.rb#195 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:195 def decode(websocket_message); end - # source://actioncable//lib/action_cable/connection/base.rb#191 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:191 def encode(cable_message); end - # source://actioncable//lib/action_cable/connection/base.rb#271 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:271 def finished_request_message; end - # source://actioncable//lib/action_cable/connection/base.rb#211 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:211 def handle_close; end - # source://actioncable//lib/action_cable/connection/base.rb#199 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:199 def handle_open; end - # source://actioncable//lib/action_cable/connection/base.rb#279 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:279 def invalid_request_message; end # Returns the value of attribute message_buffer. # - # source://actioncable//lib/action_cable/connection/base.rb#174 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:174 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#257 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:257 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#178 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:178 def request; end - # source://actioncable//lib/action_cable/connection/base.rb#247 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:247 def respond_to_invalid_request; end - # source://actioncable//lib/action_cable/connection/base.rb#242 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:242 def respond_to_successful_request; end - # source://actioncable//lib/action_cable/connection/base.rb#222 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:222 def send_welcome_message; end - # source://actioncable//lib/action_cable/connection/base.rb#262 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:262 def started_request_message; end - # source://actioncable//lib/action_cable/connection/base.rb#285 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:285 def successful_request_message; end # Returns the value of attribute websocket. # - # source://actioncable//lib/action_cable/connection/base.rb#173 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:173 def websocket; end class << self - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def __callbacks; end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def __callbacks=(value); end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def _command_callbacks; end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def _command_callbacks=(value); end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def identifiers; end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def identifiers=(value); end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def identifiers?; end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def rescue_handlers; end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def rescue_handlers=(value); end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def rescue_handlers?; end private - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def __class_attr___callbacks; end - # source://actioncable//lib/action_cable/connection/base.rb#61 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:61 def __class_attr___callbacks=(new_value); end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def __class_attr_identifiers; end - # source://actioncable//lib/action_cable/connection/base.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:58 def __class_attr_identifiers=(new_value); end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def __class_attr_rescue_handlers; end - # source://actioncable//lib/action_cable/connection/base.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/base.rb:62 def __class_attr_rescue_handlers=(new_value); end end end @@ -1516,7 +1516,7 @@ end # end # end # -# source://actioncable//lib/action_cable/connection/callbacks.rb#34 +# pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:34 module ActionCable::Connection::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1537,105 +1537,105 @@ module ActionCable::Connection::Callbacks end end -# source://actioncable//lib/action_cable/connection/callbacks.rb#42 +# pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:42 module ActionCable::Connection::Callbacks::ClassMethods - # source://actioncable//lib/action_cable/connection/callbacks.rb#47 + # pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:47 def after_command(*methods, &block); end - # source://actioncable//lib/action_cable/connection/callbacks.rb#51 + # pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:51 def around_command(*methods, &block); end - # source://actioncable//lib/action_cable/connection/callbacks.rb#43 + # pkg:gem/actioncable#lib/action_cable/connection/callbacks.rb:43 def before_command(*methods, &block); end end -# source://actioncable//lib/action_cable/connection/client_socket.rb#13 +# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:13 class ActionCable::Connection::ClientSocket # @return [ClientSocket] a new instance of ClientSocket # - # source://actioncable//lib/action_cable/connection/client_socket.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:36 def initialize(env, event_target, event_loop, protocols); end # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/client_socket.rb#114 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:114 def alive?; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#110 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:110 def client_gone; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#92 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:92 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#34 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:34 def env; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#106 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:106 def parse(data); end - # source://actioncable//lib/action_cable/connection/client_socket.rb#118 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:118 def protocol; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#71 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:71 def rack_response; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#59 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:59 def start_driver; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#82 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:82 def transmit(message); end # Returns the value of attribute url. # - # source://actioncable//lib/action_cable/connection/client_socket.rb#34 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:34 def url; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#76 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:76 def write(data); end private - # source://actioncable//lib/action_cable/connection/client_socket.rb#142 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:142 def begin_close(reason, code); end - # source://actioncable//lib/action_cable/connection/client_socket.rb#136 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:136 def emit_error(message); end - # source://actioncable//lib/action_cable/connection/client_socket.rb#151 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:151 def finalize_close; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#123 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:123 def open; end - # source://actioncable//lib/action_cable/connection/client_socket.rb#130 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:130 def receive_message(data); end class << self - # source://actioncable//lib/action_cable/connection/client_socket.rb#14 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:14 def determine_url(env); end # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/client_socket.rb#19 + # pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:19 def secure_request?(env); end end end -# source://actioncable//lib/action_cable/connection/client_socket.rb#32 +# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:32 ActionCable::Connection::ClientSocket::CLOSED = T.let(T.unsafe(nil), Integer) -# source://actioncable//lib/action_cable/connection/client_socket.rb#31 +# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:31 ActionCable::Connection::ClientSocket::CLOSING = T.let(T.unsafe(nil), Integer) -# source://actioncable//lib/action_cable/connection/client_socket.rb#29 +# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:29 ActionCable::Connection::ClientSocket::CONNECTING = T.let(T.unsafe(nil), Integer) -# source://actioncable//lib/action_cable/connection/client_socket.rb#30 +# pkg:gem/actioncable#lib/action_cable/connection/client_socket.rb:30 ActionCable::Connection::ClientSocket::OPEN = T.let(T.unsafe(nil), Integer) -# source://actioncable//lib/action_cable/connection/identification.rb#7 +# pkg:gem/actioncable#lib/action_cable/connection/identification.rb:7 module ActionCable::Connection::Identification extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1646,12 +1646,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#29 + # pkg:gem/actioncable#lib/action_cable/connection/identification.rb:29 def connection_identifier; end private - # source://actioncable//lib/action_cable/connection/identification.rb#38 + # pkg:gem/actioncable#lib/action_cable/connection/identification.rb:38 def connection_gid(ids); end module GeneratedClassMethods @@ -1667,7 +1667,7 @@ module ActionCable::Connection::Identification end end -# source://actioncable//lib/action_cable/connection/identification.rb#14 +# pkg:gem/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 @@ -1676,7 +1676,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#21 + # pkg:gem/actioncable#lib/action_cable/connection/identification.rb:21 def identified_by(*identifiers); end end @@ -1685,149 +1685,149 @@ end # Makes it possible for the RemoteConnection to disconnect a specific # connection. # -# source://actioncable//lib/action_cable/connection/internal_channel.rb#11 +# pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:11 module ActionCable::Connection::InternalChannel extend ::ActiveSupport::Concern private - # source://actioncable//lib/action_cable/connection/internal_channel.rb#15 + # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:15 def internal_channel; end - # source://actioncable//lib/action_cable/connection/internal_channel.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:36 def process_internal_message(message); end - # source://actioncable//lib/action_cable/connection/internal_channel.rb#19 + # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:19 def subscribe_to_internal_channel; end - # source://actioncable//lib/action_cable/connection/internal_channel.rb#30 + # pkg:gem/actioncable#lib/action_cable/connection/internal_channel.rb:30 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#9 +# pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:9 class ActionCable::Connection::MessageBuffer # @return [MessageBuffer] a new instance of MessageBuffer # - # source://actioncable//lib/action_cable/connection/message_buffer.rb#10 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:10 def initialize(connection); end - # source://actioncable//lib/action_cable/connection/message_buffer.rb#15 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:15 def append(message); end - # source://actioncable//lib/action_cable/connection/message_buffer.rb#31 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:31 def process!; end # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/message_buffer.rb#27 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:27 def processing?; end private - # source://actioncable//lib/action_cable/connection/message_buffer.rb#48 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:48 def buffer(message); end # Returns the value of attribute buffered_messages. # - # source://actioncable//lib/action_cable/connection/message_buffer.rb#38 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:38 def buffered_messages; end # Returns the value of attribute connection. # - # source://actioncable//lib/action_cable/connection/message_buffer.rb#37 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:37 def connection; end - # source://actioncable//lib/action_cable/connection/message_buffer.rb#44 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:44 def receive(message); end - # source://actioncable//lib/action_cable/connection/message_buffer.rb#52 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:52 def receive_buffered_messages; end # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/message_buffer.rb#40 + # pkg:gem/actioncable#lib/action_cable/connection/message_buffer.rb:40 def valid?(message); end end -# source://actioncable//lib/action_cable/connection/test_case.rb#14 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:14 class ActionCable::Connection::NonInferrableConnectionError < ::StandardError # @return [NonInferrableConnectionError] a new instance of NonInferrableConnectionError # - # source://actioncable//lib/action_cable/connection/test_case.rb#15 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:15 def initialize(name); end end -# source://actioncable//lib/action_cable/connection/stream.rb#11 +# pkg:gem/actioncable#lib/action_cable/connection/stream.rb:11 class ActionCable::Connection::Stream # @return [Stream] a new instance of Stream # - # source://actioncable//lib/action_cable/connection/stream.rb#12 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:12 def initialize(event_loop, socket); end - # source://actioncable//lib/action_cable/connection/stream.rb#28 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:28 def close; end - # source://actioncable//lib/action_cable/connection/stream.rb#24 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:24 def each(&callback); end - # source://actioncable//lib/action_cable/connection/stream.rb#72 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:72 def flush_write_buffer; end - # source://actioncable//lib/action_cable/connection/stream.rb#98 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:98 def hijack_rack_socket; end - # source://actioncable//lib/action_cable/connection/stream.rb#94 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:94 def receive(data); end - # source://actioncable//lib/action_cable/connection/stream.rb#33 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:33 def shutdown; end - # source://actioncable//lib/action_cable/connection/stream.rb#37 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:37 def write(data); end private - # source://actioncable//lib/action_cable/connection/stream.rb#110 + # pkg:gem/actioncable#lib/action_cable/connection/stream.rb:110 def clean_rack_hijack; end end -# source://actioncable//lib/action_cable/connection/stream_event_loop.rb#9 +# pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:9 class ActionCable::Connection::StreamEventLoop # @return [StreamEventLoop] a new instance of StreamEventLoop # - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#10 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:10 def initialize; end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#30 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:30 def attach(io, stream); end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#38 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:38 def detach(io, stream); end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#23 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:23 def post(task = T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#56 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:56 def stop; end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#19 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:19 def timer(interval, &block); end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#47 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:47 def writes_pending(io); end private - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#87 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:87 def run; end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#62 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:62 def spawn; end - # source://actioncable//lib/action_cable/connection/stream_event_loop.rb#83 + # pkg:gem/actioncable#lib/action_cable/connection/stream_event_loop.rb:83 def wakeup; end end @@ -1837,50 +1837,50 @@ end # connection. Responsible for routing incoming commands that arrive on the # connection to the proper channel. # -# source://actioncable//lib/action_cable/connection/subscriptions.rb#14 +# pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:14 class ActionCable::Connection::Subscriptions # @return [Subscriptions] a new instance of Subscriptions # - # source://actioncable//lib/action_cable/connection/subscriptions.rb#15 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:15 def initialize(connection); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#33 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:33 def add(data); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#20 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:20 def execute_command(data); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#64 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:64 def identifiers; end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#74 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:74 def logger(*_arg0, **_arg1, &_arg2); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#60 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:60 def perform_action(data); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#50 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:50 def remove(data); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#55 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:55 def remove_subscription(subscription); end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#68 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:68 def unsubscribe_from_all; end private # Returns the value of attribute connection. # - # source://actioncable//lib/action_cable/connection/subscriptions.rb#73 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:73 def connection; end - # source://actioncable//lib/action_cable/connection/subscriptions.rb#76 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:76 def find(data); end # Returns the value of attribute subscriptions. # - # source://actioncable//lib/action_cable/connection/subscriptions.rb#73 + # pkg:gem/actioncable#lib/action_cable/connection/subscriptions.rb:73 def subscriptions; end end @@ -1891,45 +1891,45 @@ end # 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#13 +# pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:13 class ActionCable::Connection::TaggedLoggerProxy # @return [TaggedLoggerProxy] a new instance of TaggedLoggerProxy # - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#16 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:16 def initialize(logger, tags:); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#21 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:21 def add_tags(*tags); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36 def debug(message = T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36 def error(message = T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36 def fatal(message = T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36 def info(message = T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#26 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:26 def tag(logger, &block); end # Returns the value of attribute tags. # - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#14 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:14 def tags; end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36 def unknown(message = T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#36 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:36 def warn(message = T.unsafe(nil), &block); end private - # source://actioncable//lib/action_cable/connection/tagged_logger_proxy.rb#42 + # pkg:gem/actioncable#lib/action_cable/connection/tagged_logger_proxy.rb:42 def log(type, message, &block); end end @@ -2002,7 +2002,7 @@ end # tests ApplicationCable::Connection # end # -# source://actioncable//lib/action_cable/connection/test_case.rb#138 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:138 class ActionCable::Connection::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActionCable::Connection::Assertions @@ -2010,39 +2010,39 @@ 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#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def _connection_class; end - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def _connection_class=(_arg0); end - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def _connection_class?; end - # source://actioncable//lib/action_cable/connection/test_case.rb#150 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:150 def connection; end class << self - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def _connection_class; end - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def _connection_class=(value); end - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def _connection_class?; end private - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def __class_attr__connection_class; end - # source://actioncable//lib/action_cable/connection/test_case.rb#148 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:148 def __class_attr__connection_class=(new_value); end end end -# source://actioncable//lib/action_cable/connection/test_case.rb#139 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:139 module ActionCable::Connection::TestCase::Behavior include ::ActionCable::Connection::Assertions extend ::ActiveSupport::Concern @@ -2062,20 +2062,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#192 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:192 def connect(path = T.unsafe(nil), **request_params); end - # source://actioncable//lib/action_cable/connection/test_case.rb#212 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:212 def cookies; end # Exert #disconnect on the connection under test. # - # source://actioncable//lib/action_cable/connection/test_case.rb#205 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:205 def disconnect; end private - # source://actioncable//lib/action_cable/connection/test_case.rb#217 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:217 def build_test_request(path, params: T.unsafe(nil), headers: T.unsafe(nil), session: T.unsafe(nil), env: T.unsafe(nil)); end module GeneratedClassMethods @@ -2091,36 +2091,36 @@ module ActionCable::Connection::TestCase::Behavior end end -# source://actioncable//lib/action_cable/connection/test_case.rb#155 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:155 module ActionCable::Connection::TestCase::Behavior::ClassMethods - # source://actioncable//lib/action_cable/connection/test_case.rb#167 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:167 def connection_class; end # @raise [NonInferrableConnectionError] # - # source://actioncable//lib/action_cable/connection/test_case.rb#175 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:175 def determine_default_connection(name); end - # source://actioncable//lib/action_cable/connection/test_case.rb#156 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:156 def tests(connection); end end -# source://actioncable//lib/action_cable/connection/test_case.rb#142 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:142 ActionCable::Connection::TestCase::Behavior::DEFAULT_PATH = T.let(T.unsafe(nil), String) -# source://actioncable//lib/action_cable/connection/test_case.rb#57 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:57 module ActionCable::Connection::TestConnection - # source://actioncable//lib/action_cable/connection/test_case.rb#60 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:60 def initialize(request); end # Returns the value of attribute logger. # - # source://actioncable//lib/action_cable/connection/test_case.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:58 def logger; end # Returns the value of attribute request. # - # source://actioncable//lib/action_cable/connection/test_case.rb#58 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:58 def request; end end @@ -2128,45 +2128,45 @@ end # 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#43 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:43 class ActionCable::Connection::TestCookieJar < ::ActionCable::Connection::TestCookies - # source://actioncable//lib/action_cable/connection/test_case.rb#48 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:48 def encrypted; end - # source://actioncable//lib/action_cable/connection/test_case.rb#44 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:44 def signed; end end -# source://actioncable//lib/action_cable/connection/test_case.rb#33 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:33 class ActionCable::Connection::TestCookies < ::ActiveSupport::HashWithIndifferentAccess - # source://actioncable//lib/action_cable/connection/test_case.rb#34 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:34 def []=(name, options); end end -# source://actioncable//lib/action_cable/connection/test_case.rb#53 +# pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:53 class ActionCable::Connection::TestRequest < ::ActionDispatch::TestRequest # Returns the value of attribute cookie_jar. # - # source://actioncable//lib/action_cable/connection/test_case.rb#54 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54 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#54 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54 def cookie_jar=(_arg0); end # Returns the value of attribute session. # - # source://actioncable//lib/action_cable/connection/test_case.rb#54 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54 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#54 + # pkg:gem/actioncable#lib/action_cable/connection/test_case.rb:54 def session=(_arg0); end end @@ -2174,50 +2174,50 @@ end # # Wrap the real socket to minimize the externally-presented API # -# source://actioncable//lib/action_cable/connection/web_socket.rb#12 +# pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:12 class ActionCable::Connection::WebSocket # @return [WebSocket] a new instance of WebSocket # - # source://actioncable//lib/action_cable/connection/web_socket.rb#13 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:13 def initialize(env, event_target, event_loop, protocols: T.unsafe(nil)); end # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/web_socket.rb#21 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:21 def alive?; end - # source://actioncable//lib/action_cable/connection/web_socket.rb#29 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:29 def close(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://actioncable//lib/action_cable/connection/web_socket.rb#17 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:17 def possible?; end - # source://actioncable//lib/action_cable/connection/web_socket.rb#33 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:33 def protocol; end - # source://actioncable//lib/action_cable/connection/web_socket.rb#37 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:37 def rack_response; end - # source://actioncable//lib/action_cable/connection/web_socket.rb#25 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:25 def transmit(*_arg0, **_arg1, &_arg2); end private # Returns the value of attribute websocket. # - # source://actioncable//lib/action_cable/connection/web_socket.rb#42 + # pkg:gem/actioncable#lib/action_cable/connection/web_socket.rb:42 def websocket; end end -# source://actioncable//lib/action_cable/engine.rb#10 +# pkg:gem/actioncable#lib/action_cable/engine.rb:10 class ActionCable::Engine < ::Rails::Engine; end -# source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#6 +# pkg:gem/actioncable#lib/action_cable/helpers/action_cable_helper.rb:6 module ActionCable::Helpers; end -# source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#7 +# pkg:gem/actioncable#lib/action_cable/helpers/action_cable_helper.rb:7 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: @@ -2247,11 +2247,11 @@ module ActionCable::Helpers::ActionCableHelper # <%= action_cable_meta_tag %> would render: # => # - # source://actioncable//lib/action_cable/helpers/action_cable_helper.rb#36 + # pkg:gem/actioncable#lib/action_cable/helpers/action_cable_helper.rb:36 def action_cable_meta_tag; end end -# source://actioncable//lib/action_cable.rb#58 +# pkg:gem/actioncable#lib/action_cable.rb:58 ActionCable::INTERNAL = T.let(T.unsafe(nil), Hash) # # Action Cable Remote Connections @@ -2278,19 +2278,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#31 +# pkg:gem/actioncable#lib/action_cable/remote_connections.rb:31 class ActionCable::RemoteConnections # @return [RemoteConnections] a new instance of RemoteConnections # - # source://actioncable//lib/action_cable/remote_connections.rb#34 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:34 def initialize(server); end # Returns the value of attribute server. # - # source://actioncable//lib/action_cable/remote_connections.rb#32 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:32 def server; end - # source://actioncable//lib/action_cable/remote_connections.rb#38 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:38 def where(identifier); end end @@ -2300,7 +2300,7 @@ end # `ActionCable.server.remote_connections.where(*)`. Exists solely for the # purpose of calling #disconnect on that connection. # -# source://actioncable//lib/action_cable/remote_connections.rb#47 +# pkg:gem/actioncable#lib/action_cable/remote_connections.rb:47 class ActionCable::RemoteConnections::RemoteConnection include ::ActionCable::Connection::InternalChannel include ::ActionCable::Connection::Identification @@ -2308,66 +2308,66 @@ class ActionCable::RemoteConnections::RemoteConnection # @return [RemoteConnection] a new instance of RemoteConnection # - # source://actioncable//lib/action_cable/remote_connections.rb#52 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:52 def initialize(server, ids); end # Uses the internal channel to disconnect the connection. # - # source://actioncable//lib/action_cable/remote_connections.rb#58 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:58 def disconnect(reconnect: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def identifiers; end - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def identifiers=(_arg0); end - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def identifiers?; end protected # Returns the value of attribute server. # - # source://actioncable//lib/action_cable/remote_connections.rb#68 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:68 def server; end private # @raise [InvalidIdentifiersError] # - # source://actioncable//lib/action_cable/remote_connections.rb#71 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:71 def set_identifier_instance_vars(ids); end # @return [Boolean] # - # source://actioncable//lib/action_cable/remote_connections.rb#76 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:76 def valid_identifiers?(ids); end class << self - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def identifiers; end - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def identifiers=(value); end - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def identifiers?; end private - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def __class_attr_identifiers; end - # source://actioncable//lib/action_cable/remote_connections.rb#50 + # pkg:gem/actioncable#lib/action_cable/remote_connections.rb:50 def __class_attr_identifiers=(new_value); end end end -# source://actioncable//lib/action_cable/remote_connections.rb#48 +# pkg:gem/actioncable#lib/action_cable/remote_connections.rb:48 class ActionCable::RemoteConnections::RemoteConnection::InvalidIdentifiersError < ::StandardError; end -# source://actioncable//lib/action_cable/server/base.rb#8 +# pkg:gem/actioncable#lib/action_cable/server/base.rb:8 module ActionCable::Server; end # # Action Cable Server Base @@ -2380,60 +2380,60 @@ 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#18 +# pkg:gem/actioncable#lib/action_cable/server/base.rb:18 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#31 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:31 def initialize(config: T.unsafe(nil)); end # Called by Rack to set up the server. # - # source://actioncable//lib/action_cable/server/base.rb#38 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:38 def call(env); end # Returns the value of attribute config. # - # source://actioncable//lib/action_cable/server/base.rb#24 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:24 def config; end # All of the identifiers applied to the connection class associated with this # server. # - # source://actioncable//lib/action_cable/server/base.rb#102 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:102 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#46 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:46 def disconnect(identifiers); end - # source://actioncable//lib/action_cable/server/base.rb#71 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:71 def event_loop; end - # source://actioncable//lib/action_cable/server/base.rb#27 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:27 def logger(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute mutex. # - # source://actioncable//lib/action_cable/server/base.rb#29 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:29 def mutex; end # Adapter used for all streams/broadcasting. # - # source://actioncable//lib/action_cable/server/base.rb#96 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:96 def pubsub; end # Gateway to RemoteConnections. See that class for details. # - # source://actioncable//lib/action_cable/server/base.rb#67 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:67 def remote_connections; end - # source://actioncable//lib/action_cable/server/base.rb#50 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:50 def restart; end # The worker pool is where we run connection callbacks and channel actions. We @@ -2453,17 +2453,17 @@ class ActionCable::Server::Base # connections. Use a smaller worker pool or a larger database connection pool # instead. # - # source://actioncable//lib/action_cable/server/base.rb#91 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:91 def worker_pool; end class << self - # source://actioncable//lib/action_cable/server/base.rb#22 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:22 def config; end - # source://actioncable//lib/action_cable/server/base.rb#22 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:22 def config=(val); end - # source://actioncable//lib/action_cable/server/base.rb#26 + # pkg:gem/actioncable#lib/action_cable/server/base.rb:26 def logger; end end end @@ -2492,45 +2492,45 @@ end # } # }) # -# source://actioncable//lib/action_cable/server/broadcasting.rb#30 +# pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:30 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#33 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:33 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#40 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:40 def broadcaster_for(broadcasting, coder: T.unsafe(nil)); end end -# source://actioncable//lib/action_cable/server/broadcasting.rb#45 +# pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:45 class ActionCable::Server::Broadcasting::Broadcaster # @return [Broadcaster] a new instance of Broadcaster # - # source://actioncable//lib/action_cable/server/broadcasting.rb#48 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:48 def initialize(server, broadcasting, coder:); end - # source://actioncable//lib/action_cable/server/broadcasting.rb#52 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:52 def broadcast(message); end # Returns the value of attribute broadcasting. # - # source://actioncable//lib/action_cable/server/broadcasting.rb#46 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:46 def broadcasting; end # Returns the value of attribute coder. # - # source://actioncable//lib/action_cable/server/broadcasting.rb#46 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:46 def coder; end # Returns the value of attribute server. # - # source://actioncable//lib/action_cable/server/broadcasting.rb#46 + # pkg:gem/actioncable#lib/action_cable/server/broadcasting.rb:46 def server; end end @@ -2540,186 +2540,186 @@ end # ActionCable.server.config, which allows you to tweak Action Cable # configuration in a Rails config initializer. # -# source://actioncable//lib/action_cable/server/configuration.rb#14 +# pkg:gem/actioncable#lib/action_cable/server/configuration.rb:14 class ActionCable::Server::Configuration # @return [Configuration] a new instance of Configuration # - # source://actioncable//lib/action_cable/server/configuration.rb#22 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:22 def initialize; end # Returns the value of attribute allow_same_origin_as_host. # - # source://actioncable//lib/action_cable/server/configuration.rb#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 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#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 def allow_same_origin_as_host=(_arg0); end # Returns the value of attribute allowed_request_origins. # - # source://actioncable//lib/action_cable/server/configuration.rb#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 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#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 def allowed_request_origins=(_arg0); end # Returns the value of attribute cable. # - # source://actioncable//lib/action_cable/server/configuration.rb#18 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18 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#18 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18 def cable=(_arg0); end # Returns the value of attribute connection_class. # - # source://actioncable//lib/action_cable/server/configuration.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16 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#16 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16 def connection_class=(_arg0); end # Returns the value of attribute disable_request_forgery_protection. # - # source://actioncable//lib/action_cable/server/configuration.rb#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 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#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 def disable_request_forgery_protection=(_arg0); end # Returns the value of attribute filter_parameters. # - # source://actioncable//lib/action_cable/server/configuration.rb#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 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#17 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:17 def filter_parameters=(_arg0); end # Returns the value of attribute health_check_application. # - # source://actioncable//lib/action_cable/server/configuration.rb#20 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20 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#20 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20 def health_check_application=(_arg0); end # Returns the value of attribute health_check_path. # - # source://actioncable//lib/action_cable/server/configuration.rb#20 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20 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#20 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:20 def health_check_path=(_arg0); end # Returns the value of attribute log_tags. # - # source://actioncable//lib/action_cable/server/configuration.rb#15 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15 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#15 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15 def log_tags=(_arg0); end # Returns the value of attribute logger. # - # source://actioncable//lib/action_cable/server/configuration.rb#15 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15 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#15 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:15 def logger=(_arg0); end # Returns the value of attribute mount_path. # - # source://actioncable//lib/action_cable/server/configuration.rb#18 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18 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#18 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18 def mount_path=(_arg0); end # Returns the value of attribute precompile_assets. # - # source://actioncable//lib/action_cable/server/configuration.rb#19 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:19 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#19 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:19 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#40 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:40 def pubsub_adapter; end # Returns the value of attribute url. # - # source://actioncable//lib/action_cable/server/configuration.rb#18 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18 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#18 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:18 def url=(_arg0); end # Returns the value of attribute worker_pool_size. # - # source://actioncable//lib/action_cable/server/configuration.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16 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#16 + # pkg:gem/actioncable#lib/action_cable/server/configuration.rb:16 def worker_pool_size=(_arg0); end end @@ -2730,18 +2730,18 @@ end # 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#13 +# pkg:gem/actioncable#lib/action_cable/server/connections.rb:13 module ActionCable::Server::Connections - # source://actioncable//lib/action_cable/server/connections.rb#20 + # pkg:gem/actioncable#lib/action_cable/server/connections.rb:20 def add_connection(connection); end - # source://actioncable//lib/action_cable/server/connections.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/connections.rb:16 def connections; end - # source://actioncable//lib/action_cable/server/connections.rb#39 + # pkg:gem/actioncable#lib/action_cable/server/connections.rb:39 def open_connections_statistics; end - # source://actioncable//lib/action_cable/server/connections.rb#24 + # pkg:gem/actioncable#lib/action_cable/server/connections.rb:24 def remove_connection(connection); end # WebSocket connection implementations differ on when they'll mark a connection @@ -2750,16 +2750,16 @@ module ActionCable::Server::Connections # second heartbeat runs on all connections. If the beat fails, we automatically # disconnect. # - # source://actioncable//lib/action_cable/server/connections.rb#33 + # pkg:gem/actioncable#lib/action_cable/server/connections.rb:33 def setup_heartbeat_timer; end end -# source://actioncable//lib/action_cable/server/connections.rb#14 +# pkg:gem/actioncable#lib/action_cable/server/connections.rb:14 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#12 +# pkg:gem/actioncable#lib/action_cable/server/worker.rb:12 class ActionCable::Server::Worker include ::ActiveSupport::Callbacks include ::ActionCable::Server::Worker::ActiveRecordConnectionManagement @@ -2768,334 +2768,334 @@ class ActionCable::Server::Worker # @return [Worker] a new instance of Worker # - # source://actioncable//lib/action_cable/server/worker.rb#21 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:21 def initialize(max_size: T.unsafe(nil)); end - # source://actioncable//lib/action_cable/server/worker.rb#13 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13 def __callbacks; end - # source://actioncable//lib/action_cable/server/worker.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16 def _run_work_callbacks(&block); end - # source://actioncable//lib/action_cable/server/worker.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16 def _run_work_callbacks!(&block); end - # source://actioncable//lib/action_cable/server/worker.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16 def _work_callbacks; end - # source://actioncable//lib/action_cable/server/worker.rb#48 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:48 def async_exec(receiver, *args, connection:, &block); end - # source://actioncable//lib/action_cable/server/worker.rb#52 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:52 def async_invoke(receiver, method, *args, connection: T.unsafe(nil), &block); end - # source://actioncable//lib/action_cable/server/worker.rb#15 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15 def connection; end - # source://actioncable//lib/action_cable/server/worker.rb#15 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15 def connection=(obj); end # Returns the value of attribute executor. # - # source://actioncable//lib/action_cable/server/worker.rb#19 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:19 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#32 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:32 def halt; end - # source://actioncable//lib/action_cable/server/worker.rb#58 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:58 def invoke(receiver, method, *args, connection:, &block); end # @return [Boolean] # - # source://actioncable//lib/action_cable/server/worker.rb#36 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:36 def stopping?; end - # source://actioncable//lib/action_cable/server/worker.rb#40 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:40 def work(connection, &block); end private - # source://actioncable//lib/action_cable/server/worker.rb#70 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:70 def logger; end class << self - # source://actioncable//lib/action_cable/server/worker.rb#13 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13 def __callbacks; end - # source://actioncable//lib/action_cable/server/worker.rb#13 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13 def __callbacks=(value); end - # source://actioncable//lib/action_cable/server/worker.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16 def _work_callbacks; end - # source://actioncable//lib/action_cable/server/worker.rb#16 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:16 def _work_callbacks=(value); end - # source://actioncable//lib/action_cable/server/worker.rb#15 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15 def connection; end - # source://actioncable//lib/action_cable/server/worker.rb#15 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:15 def connection=(obj); end private - # source://actioncable//lib/action_cable/server/worker.rb#13 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13 def __class_attr___callbacks; end - # source://actioncable//lib/action_cable/server/worker.rb#13 + # pkg:gem/actioncable#lib/action_cable/server/worker.rb:13 def __class_attr___callbacks=(new_value); end end end -# source://actioncable//lib/action_cable/server/worker/active_record_connection_management.rb#8 +# pkg:gem/actioncable#lib/action_cable/server/worker/active_record_connection_management.rb:8 module ActionCable::Server::Worker::ActiveRecordConnectionManagement extend ::ActiveSupport::Concern - # source://actioncable//lib/action_cable/server/worker/active_record_connection_management.rb#17 + # pkg:gem/actioncable#lib/action_cable/server/worker/active_record_connection_management.rb:17 def with_database_connections(&block); end end -# source://actioncable//lib/action_cable/subscription_adapter/async.rb#6 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:6 module ActionCable::SubscriptionAdapter; end -# source://actioncable//lib/action_cable/subscription_adapter/async.rb#7 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:7 class ActionCable::SubscriptionAdapter::Async < ::ActionCable::SubscriptionAdapter::Inline private - # source://actioncable//lib/action_cable/subscription_adapter/async.rb#9 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:9 def new_subscriber_map; end end -# source://actioncable//lib/action_cable/subscription_adapter/async.rb#13 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:13 class ActionCable::SubscriptionAdapter::Async::AsyncSubscriberMap < ::ActionCable::SubscriptionAdapter::SubscriberMap # @return [AsyncSubscriberMap] a new instance of AsyncSubscriberMap # - # source://actioncable//lib/action_cable/subscription_adapter/async.rb#14 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:14 def initialize(event_loop); end - # source://actioncable//lib/action_cable/subscription_adapter/async.rb#19 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:19 def add_subscriber(*_arg0); end - # source://actioncable//lib/action_cable/subscription_adapter/async.rb#23 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/async.rb:23 def invoke_callback(*_arg0); end end -# source://actioncable//lib/action_cable/subscription_adapter/base.rb#7 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:7 class ActionCable::SubscriptionAdapter::Base # @return [Base] a new instance of Base # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#10 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:10 def initialize(server); end # @raise [NotImplementedError] # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#15 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:15 def broadcast(channel, payload); end - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#31 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:31 def identifier; end # Returns the value of attribute logger. # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#8 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:8 def logger; end # Returns the value of attribute server. # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#8 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:8 def server; end # @raise [NotImplementedError] # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#27 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:27 def shutdown; end # @raise [NotImplementedError] # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#19 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:19 def subscribe(channel, message_callback, success_callback = T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://actioncable//lib/action_cable/subscription_adapter/base.rb#23 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/base.rb:23 def unsubscribe(channel, message_callback); end end -# source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#7 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:7 module ActionCable::SubscriptionAdapter::ChannelPrefix - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#8 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:8 def broadcast(channel, payload); end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#13 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:13 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/subscription_adapter/channel_prefix.rb#18 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:18 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#25 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/channel_prefix.rb:25 def channel_with_prefix(channel); end end -# source://actioncable//lib/action_cable/subscription_adapter/inline.rb#7 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:7 class ActionCable::SubscriptionAdapter::Inline < ::ActionCable::SubscriptionAdapter::Base # @return [Inline] a new instance of Inline # - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#8 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:8 def initialize(*_arg0); end - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#13 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:13 def broadcast(channel, payload); end - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#25 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:25 def shutdown; end - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#17 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:17 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#21 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:21 def unsubscribe(channel, callback); end private - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#34 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:34 def new_subscriber_map; end - # source://actioncable//lib/action_cable/subscription_adapter/inline.rb#30 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/inline.rb:30 def subscriber_map; end end -# source://actioncable//lib/action_cable/subscription_adapter/redis.rb#12 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:12 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#22 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:22 def initialize(*_arg0); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#28 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:28 def broadcast(channel, payload); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#44 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:44 def redis_connection_for_subscriptions; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#18 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:18 def redis_connector; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#18 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:18 def redis_connector=(val); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#40 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:40 def shutdown; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#32 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:32 def subscribe(channel, callback, success_callback = T.unsafe(nil)); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#36 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:36 def unsubscribe(channel, callback); end private - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#63 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:63 def config_options; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#49 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:49 def listener; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#59 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:59 def redis_connection; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#53 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:53 def redis_connection_for_broadcasts; end class << self - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#18 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:18 def redis_connector; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#18 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:18 def redis_connector=(val); end end end -# source://actioncable//lib/action_cable/subscription_adapter/redis.rb#67 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:67 class ActionCable::SubscriptionAdapter::Redis::Listener < ::ActionCable::SubscriptionAdapter::SubscriberMap # @return [Listener] a new instance of Listener # - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#68 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:68 def initialize(adapter, config_options, event_loop); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#141 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:141 def add_channel(channel, on_success); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#155 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:155 def invoke_callback(*_arg0); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#89 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:89 def listen(conn); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#149 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:149 def remove_channel(channel); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#128 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:128 def shutdown; end private - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#160 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:160 def ensure_listener_running; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#254 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:254 def extract_subscribed_client(conn); end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#204 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:204 def reset; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#197 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:197 def resubscribe; end # @return [Boolean] # - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#185 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:185 def retry_connecting?; end - # source://actioncable//lib/action_cable/subscription_adapter/redis.rb#177 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:177 def when_connected(&block); end end -# source://actioncable//lib/action_cable/subscription_adapter/redis.rb#247 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/redis.rb:247 ActionCable::SubscriptionAdapter::Redis::Listener::CONNECTION_ERRORS = T.let(T.unsafe(nil), Array) -# source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#7 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:7 class ActionCable::SubscriptionAdapter::SubscriberMap # @return [SubscriberMap] a new instance of SubscriberMap # - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#8 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:8 def initialize; end - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#49 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:49 def add_channel(channel, on_success); end - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#13 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:13 def add_subscriber(channel, subscriber, on_success); end - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#38 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:38 def broadcast(channel, message); end - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#56 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:56 def invoke_callback(callback, message); end - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#53 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:53 def remove_channel(channel); end - # source://actioncable//lib/action_cable/subscription_adapter/subscriber_map.rb#27 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/subscriber_map.rb:27 def remove_subscriber(channel, subscriber); end end @@ -3110,36 +3110,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#17 +# pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:17 class ActionCable::SubscriptionAdapter::Test < ::ActionCable::SubscriptionAdapter::Async - # source://actioncable//lib/action_cable/subscription_adapter/test.rb#18 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:18 def broadcast(channel, payload); end - # source://actioncable//lib/action_cable/subscription_adapter/test.rb#23 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:23 def broadcasts(channel); end - # source://actioncable//lib/action_cable/subscription_adapter/test.rb#31 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:31 def clear; end - # source://actioncable//lib/action_cable/subscription_adapter/test.rb#27 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:27 def clear_messages(channel); end private - # source://actioncable//lib/action_cable/subscription_adapter/test.rb#36 + # pkg:gem/actioncable#lib/action_cable/subscription_adapter/test.rb:36 def channels_data; end end -# source://actioncable//lib/action_cable/test_case.rb#8 +# pkg:gem/actioncable#lib/action_cable/test_case.rb:8 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#7 +# pkg:gem/actioncable#lib/action_cable/test_helper.rb:7 module ActionCable::TestHelper - # source://actioncable//lib/action_cable/test_helper.rb#18 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:18 def after_teardown; end # Asserts that the specified message has been sent to the stream. @@ -3158,7 +3158,7 @@ module ActionCable::TestHelper # end # end # - # source://actioncable//lib/action_cable/test_helper.rb#116 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:116 def assert_broadcast_on(stream, data, &block); end # Asserts that the number of broadcasted messages to the stream matches the @@ -3186,7 +3186,7 @@ module ActionCable::TestHelper # end # end # - # source://actioncable//lib/action_cable/test_helper.rb#48 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:48 def assert_broadcasts(stream, number, &block); end # Asserts that no messages have been sent to the stream. @@ -3209,13 +3209,13 @@ module ActionCable::TestHelper # # assert_broadcasts 'messages', 0, &block # - # source://actioncable//lib/action_cable/test_helper.rb#80 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:80 def assert_no_broadcasts(stream, &block); end - # source://actioncable//lib/action_cable/test_helper.rb#8 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:8 def before_setup; end - # source://actioncable//lib/action_cable/test_helper.rb#146 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:146 def broadcasts(*_arg0, **_arg1, &_arg2); end # Returns the messages that are broadcasted in the block. @@ -3230,35 +3230,35 @@ module ActionCable::TestHelper # assert_equal({ text: 'how are you?' }, messages.last) # end # - # source://actioncable//lib/action_cable/test_helper.rb#96 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:96 def capture_broadcasts(stream, &block); end - # source://actioncable//lib/action_cable/test_helper.rb#146 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:146 def clear_messages(*_arg0, **_arg1, &_arg2); end - # source://actioncable//lib/action_cable/test_helper.rb#142 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:142 def pubsub_adapter; end private - # source://actioncable//lib/action_cable/test_helper.rb#149 + # pkg:gem/actioncable#lib/action_cable/test_helper.rb:149 def new_broadcasts_from(current_messages, stream, assertion, &block); end end -# source://actioncable//lib/action_cable/gem_version.rb#11 +# pkg:gem/actioncable#lib/action_cable/gem_version.rb:11 module ActionCable::VERSION; end -# source://actioncable//lib/action_cable/gem_version.rb#12 +# pkg:gem/actioncable#lib/action_cable/gem_version.rb:12 ActionCable::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actioncable//lib/action_cable/gem_version.rb#13 +# pkg:gem/actioncable#lib/action_cable/gem_version.rb:13 ActionCable::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actioncable//lib/action_cable/gem_version.rb#15 +# pkg:gem/actioncable#lib/action_cable/gem_version.rb:15 ActionCable::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://actioncable//lib/action_cable/gem_version.rb#17 +# pkg:gem/actioncable#lib/action_cable/gem_version.rb:17 ActionCable::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actioncable//lib/action_cable/gem_version.rb#14 +# pkg:gem/actioncable#lib/action_cable/gem_version.rb:14 ActionCable::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/actionmailbox@8.1.1.rbi b/sorbet/rbi/gems/actionmailbox@8.1.1.rbi index 3dc39b482..faf26ba84 100644 --- a/sorbet/rbi/gems/actionmailbox@8.1.1.rbi +++ b/sorbet/rbi/gems/actionmailbox@8.1.1.rbi @@ -8,109 +8,109 @@ # :markup: markdown # :include: ../README.md # -# source://actionmailbox//lib/action_mailbox/gem_version.rb#3 +# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:3 module ActionMailbox extend ::ActiveSupport::Autoload - # source://actionmailbox//lib/action_mailbox.rb#22 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:22 def incinerate; end - # source://actionmailbox//lib/action_mailbox.rb#22 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:22 def incinerate=(val); end - # source://actionmailbox//lib/action_mailbox.rb#23 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:23 def incinerate_after; end - # source://actionmailbox//lib/action_mailbox.rb#23 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:23 def incinerate_after=(val); end - # source://actionmailbox//lib/action_mailbox.rb#20 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:20 def ingress; end - # source://actionmailbox//lib/action_mailbox.rb#20 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:20 def ingress=(val); end - # source://actionmailbox//lib/action_mailbox.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:21 def logger; end - # source://actionmailbox//lib/action_mailbox.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:21 def logger=(val); end - # source://actionmailbox//lib/action_mailbox.rb#24 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:24 def queues; end - # source://actionmailbox//lib/action_mailbox.rb#24 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:24 def queues=(val); end - # source://actionmailbox//lib/action_mailbox.rb#25 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:25 def storage_service; end - # source://actionmailbox//lib/action_mailbox.rb#25 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:25 def storage_service=(val); end class << self - # source://actionmailbox//lib/action_mailbox/deprecator.rb#4 + # pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:5 def gem_version; end - # source://actionmailbox//lib/action_mailbox.rb#22 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:22 def incinerate; end - # source://actionmailbox//lib/action_mailbox.rb#22 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:22 def incinerate=(val); end - # source://actionmailbox//lib/action_mailbox.rb#23 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:23 def incinerate_after; end - # source://actionmailbox//lib/action_mailbox.rb#23 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:23 def incinerate_after=(val); end - # source://actionmailbox//lib/action_mailbox.rb#20 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:20 def ingress; end - # source://actionmailbox//lib/action_mailbox.rb#20 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:20 def ingress=(val); end - # source://actionmailbox//lib/action_mailbox.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:21 def logger; end - # source://actionmailbox//lib/action_mailbox.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:21 def logger=(val); end - # source://actionmailbox//lib/action_mailbox.rb#24 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:24 def queues; end - # source://actionmailbox//lib/action_mailbox.rb#24 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:24 def queues=(val); end - # source://actionmailbox//lib/action_mailbox/engine.rb#13 + # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13 def railtie_helpers_paths; end - # source://actionmailbox//lib/action_mailbox/engine.rb#13 + # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13 def railtie_namespace; end - # source://actionmailbox//lib/action_mailbox/engine.rb#13 + # pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:25 def storage_service; end - # source://actionmailbox//lib/action_mailbox.rb#25 + # pkg:gem/actionmailbox#lib/action_mailbox.rb:25 def storage_service=(val); end - # source://actionmailbox//lib/action_mailbox/engine.rb#13 + # pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:13 def table_name_prefix; end - # source://actionmailbox//lib/action_mailbox/engine.rb#13 + # pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox/version.rb:7 def version; end end end @@ -173,7 +173,7 @@ end # rescue_from(ApplicationSpecificVerificationError) { bounced! } # end # -# source://actionmailbox//lib/action_mailbox/base.rb#66 +# pkg:gem/actionmailbox#lib/action_mailbox/base.rb:66 class ActionMailbox::Base include ::ActiveSupport::Rescuable include ::ActionMailbox::Routing @@ -187,125 +187,125 @@ class ActionMailbox::Base # @return [Base] a new instance of Base # - # source://actionmailbox//lib/action_mailbox/base.rb#79 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:79 def initialize(inbound_email); end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def __callbacks; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def _process_callbacks; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def _run_process_callbacks; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:105 def bounce_with(message); end - # source://actionmailbox//lib/action_mailbox/base.rb#71 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:71 def bounced!(*_arg0, **_arg1, &_arg2); end - # source://actionmailbox//lib/action_mailbox/base.rb#71 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:71 def delivered!(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://actionmailbox//lib/action_mailbox/base.rb#100 + # pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:70 def inbound_email; end - # source://actionmailbox//lib/action_mailbox/base.rb#73 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:73 def logger(&_arg0); end - # source://actionmailbox//lib/action_mailbox/base.rb#71 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:71 def mail(*_arg0, **_arg1, &_arg2); end - # source://actionmailbox//lib/action_mailbox/base.rb#83 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:83 def perform_processing; end - # source://actionmailbox//lib/action_mailbox/base.rb#96 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:96 def process; end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def rescue_handlers; end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def rescue_handlers=(_arg0); end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def rescue_handlers?; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def router; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def router=(val); end private - # source://actionmailbox//lib/action_mailbox/base.rb#117 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:117 def instrumentation_payload; end - # source://actionmailbox//lib/action_mailbox/base.rb#124 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:124 def track_status_of_inbound_email; end class << self - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def __callbacks; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def __callbacks=(value); end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def _process_callbacks; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def _process_callbacks=(value); end - # source://actionmailbox//lib/action_mailbox/base.rb#75 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:75 def receive(inbound_email); end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def rescue_handlers; end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def rescue_handlers=(value); end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def rescue_handlers?; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def router; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def router=(val); end private - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def __class_attr___callbacks; end - # source://actionmailbox//lib/action_mailbox/base.rb#68 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:68 def __class_attr___callbacks=(new_value); end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def __class_attr_rescue_handlers; end - # source://actionmailbox//lib/action_mailbox/base.rb#67 + # pkg:gem/actionmailbox#lib/action_mailbox/base.rb:67 def __class_attr_rescue_handlers=(new_value); end end end @@ -335,7 +335,7 @@ end # # Defines the callbacks related to processing. # -# source://actionmailbox//lib/action_mailbox/callbacks.rb#9 +# pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:9 module ActionMailbox::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -356,22 +356,22 @@ module ActionMailbox::Callbacks end end -# source://actionmailbox//lib/action_mailbox/callbacks.rb#22 +# pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:22 module ActionMailbox::Callbacks::ClassMethods - # source://actionmailbox//lib/action_mailbox/callbacks.rb#27 + # pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:27 def after_processing(*methods, &block); end - # source://actionmailbox//lib/action_mailbox/callbacks.rb#31 + # pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:31 def around_processing(*methods, &block); end - # source://actionmailbox//lib/action_mailbox/callbacks.rb#23 + # pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:23 def before_processing(*methods, &block); end end -# source://actionmailbox//lib/action_mailbox/callbacks.rb#13 +# pkg:gem/actionmailbox#lib/action_mailbox/callbacks.rb:13 ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc) -# source://actionmailbox//lib/action_mailbox/engine.rb#12 +# pkg:gem/actionmailbox#lib/action_mailbox/engine.rb:12 class ActionMailbox::Engine < ::Rails::Engine; end class ActionMailbox::InboundEmail < ::ActionMailbox::Record @@ -672,77 +672,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 +# pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:11 def initialize; end - # source://actionmailbox//lib/action_mailbox/router.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:21 def add_route(address, to:); end - # source://actionmailbox//lib/action_mailbox/router.rb#15 + # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:15 def add_routes(routes); end - # source://actionmailbox//lib/action_mailbox/router.rb#35 + # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:35 def mailbox_for(inbound_email); end - # source://actionmailbox//lib/action_mailbox/router.rb#25 + # pkg:gem/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 + # pkg:gem/actionmailbox#lib/action_mailbox/router.rb:40 def routes; end end -# source://actionmailbox//lib/action_mailbox/router/route.rb#7 +# pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:7 class ActionMailbox::Router::Route - # source://actionmailbox//lib/action_mailbox/router/route.rb#10 + # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:10 def initialize(address, to:); end - # source://actionmailbox//lib/action_mailbox/router/route.rb#8 + # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:8 def address; end - # source://actionmailbox//lib/action_mailbox/router/route.rb#31 + # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:31 def mailbox_class; end - # source://actionmailbox//lib/action_mailbox/router/route.rb#8 + # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:8 def mailbox_name; end - # source://actionmailbox//lib/action_mailbox/router/route.rb#16 + # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:16 def match?(inbound_email); end private - # source://actionmailbox//lib/action_mailbox/router/route.rb#36 + # pkg:gem/actionmailbox#lib/action_mailbox/router/route.rb:36 def ensure_valid_address; end end -# source://actionmailbox//lib/action_mailbox/router.rb#9 +# pkg:gem/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 +# pkg:gem/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#12 +# pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:12 module ActionMailbox::Routing::ClassMethods - # source://actionmailbox//lib/action_mailbox/routing.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:21 def mailbox_for(inbound_email); end - # source://actionmailbox//lib/action_mailbox/routing.rb#17 + # pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:17 def route(inbound_email); end - # source://actionmailbox//lib/action_mailbox/routing.rb#13 + # pkg:gem/actionmailbox#lib/action_mailbox/routing.rb:13 def routing(routes); end end @@ -757,17 +757,17 @@ class ActionMailbox::RoutingJob < ::ActiveJob::Base end end -# source://actionmailbox//lib/action_mailbox/test_case.rb#7 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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. @@ -821,102 +821,102 @@ module ActionMailbox::TestHelper # end # end # - # source://actionmailbox//lib/action_mailbox/test_helper.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:9 module ActionMailbox::VERSION; end -# source://actionmailbox//lib/action_mailbox/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionmailbox#lib/action_mailbox/gem_version.rb:13 ActionMailbox::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://actionmailbox//lib/action_mailbox/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_equality.rb:3 module Mail class << self - # source://actionmailbox//lib/action_mailbox/mail_ext/from_source.rb#4 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/from_source.rb:4 def from_source(source); end end end -# source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#4 +# pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_equality.rb:4 class Mail::Address - # source://actionmailbox//lib/action_mailbox/mail_ext/address_equality.rb#5 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/address_equality.rb:5 def ==(other_address); end class << self - # source://actionmailbox//lib/action_mailbox/mail_ext/address_wrapping.rb#5 + # pkg:gem/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 +# pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:4 class Mail::Message - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#25 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:25 def bcc_addresses; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#21 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:21 def cc_addresses; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#5 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:5 def from_address; end - # source://actionmailbox//lib/action_mailbox/mail_ext/recipients.rb#5 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/recipients.rb:5 def recipients; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#13 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:13 def recipients_addresses; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#9 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:9 def reply_to_address; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#17 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:17 def to_addresses; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#33 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:33 def x_forwarded_to_addresses; end - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#29 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:29 def x_original_to_addresses; end private - # source://actionmailbox//lib/action_mailbox/mail_ext/addresses.rb#38 + # pkg:gem/actionmailbox#lib/action_mailbox/mail_ext/addresses.rb:38 def address_list(obj); end end diff --git a/sorbet/rbi/gems/actionmailer@8.1.1.rbi b/sorbet/rbi/gems/actionmailer@8.1.1.rbi index 3e4497ed9..8cf6a92ab 100644 --- a/sorbet/rbi/gems/actionmailer@8.1.1.rbi +++ b/sorbet/rbi/gems/actionmailer@8.1.1.rbi @@ -7,7 +7,7 @@ # :include: ../README.rdoc # -# source://actionmailer//lib/action_mailer/gem_version.rb#3 +# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:3 module ActionMailer extend ::ActiveSupport::Autoload @@ -15,7 +15,7 @@ module ActionMailer # Enqueue many emails at once to be delivered through Active Job. # When the individual job runs, it will send the email using +deliver_now+. # - # source://actionmailer//lib/action_mailer/message_delivery.rb#9 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:9 def deliver_all_later(*deliveries, **options); end # Enqueue many emails at once to be delivered through Active Job. @@ -23,29 +23,29 @@ module ActionMailer # That means that the message will be sent bypassing checking +perform_deliveries+ # and +raise_delivery_errors+, so use with caution. # - # source://actionmailer//lib/action_mailer/message_delivery.rb#17 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:17 def deliver_all_later!(*deliveries, **options); end - # source://actionmailer//lib/action_mailer/deprecator.rb#4 + # pkg:gem/actionmailer#lib/action_mailer/deprecator.rb:4 def deprecator; end - # source://actionmailer//lib/action_mailer.rb#61 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/version.rb:8 def version; end private - # source://actionmailer//lib/action_mailer/message_delivery.rb#22 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:22 def _deliver_all_later(delivery_method, *deliveries, **options); end end end @@ -515,7 +515,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionmailer//lib/action_mailer/base.rb#477 +# pkg:gem/actionmailer#lib/action_mailer/base.rb:477 class ActionMailer::Base < ::AbstractController::Base include ::ActionMailer::Callbacks include ::ActiveSupport::Callbacks @@ -559,64 +559,64 @@ class ActionMailer::Base < ::AbstractController::Base # @return [Base] a new instance of Base # - # source://actionmailer//lib/action_mailer/base.rb#639 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:639 def initialize; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def __callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def _deliver_callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helper_methods; end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helper_methods=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helper_methods?; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout_conditions; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout_conditions?; end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def _process_action_callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def _run_deliver_callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def _run_deliver_callbacks!(&block); end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def _run_process_action_callbacks(&block); end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def _run_process_action_callbacks!(&block); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def _view_cache_dependencies; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def _view_cache_dependencies=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def _view_cache_dependencies?; end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def asset_host(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def asset_host=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def assets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def assets_dir=(arg); end # Allows you to add attachments to an email, like so: @@ -648,95 +648,95 @@ class ActionMailer::Base < ::AbstractController::Base # # or by index # mail.attachments[0] # => Mail::Part (first attachment) # - # source://actionmailer//lib/action_mailer/base.rb#756 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:756 def attachments; end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def default_asset_host_protocol(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def default_asset_host_protocol=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def default_params; end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def default_params=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def default_params?; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def default_static_extension(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def default_static_extension=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def deliver_later_queue_name; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def deliver_later_queue_name=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def deliver_later_queue_name?; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def delivery_job; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def delivery_job=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def delivery_job?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_method; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_method=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_method?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_methods; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_methods=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 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#680 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:680 def email_address_with_name(address, name); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def enable_fragment_cache_logging(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def enable_fragment_cache_logging=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def file_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def file_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def file_settings?; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def fragment_cache_keys; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def fragment_cache_keys=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def fragment_cache_keys?; end # Allows you to pass random and unusual headers to the new +Mail::Message+ @@ -774,19 +774,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#718 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:718 def headers(args = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def javascripts_dir(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def javascripts_dir=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#490 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:490 def logger(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#490 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:490 def logger=(arg); end # The main method that creates the message and renders the email templates. There are @@ -878,142 +878,142 @@ class ActionMailer::Base < ::AbstractController::Base # format.html # end # - # source://actionmailer//lib/action_mailer/base.rb#865 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:865 def mail(headers = T.unsafe(nil), &block); end # Returns the name of the mailer object. # - # source://actionmailer//lib/action_mailer/base.rb#673 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:673 def mailer_name; end - # source://actionmailer//lib/action_mailer/base.rb#637 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:637 def message; end - # source://actionmailer//lib/action_mailer/base.rb#637 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:637 def message=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#482 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:482 def params; end - # source://actionmailer//lib/action_mailer/base.rb#482 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:482 def params=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def perform_caching(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def perform_caching=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def perform_deliveries; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def perform_deliveries=(val); end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def preview_interceptors; end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def preview_paths; end - # source://actionmailer//lib/action_mailer/base.rb#645 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:645 def process(method_name, *args, **_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def raise_delivery_errors; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def raise_delivery_errors=(val); end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def raise_on_missing_callback_actions; end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def raise_on_missing_callback_actions=(val); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def relative_url_root(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def relative_url_root=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def rescue_handlers; end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def rescue_handlers=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def rescue_handlers?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def sendmail_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def sendmail_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def sendmail_settings?; end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def show_previews; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def smtp_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def smtp_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def smtp_settings?; end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def stylesheets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def stylesheets_dir=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def test_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def test_settings=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def test_settings?; end private - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout(lookup_context, formats, keys); end - # source://actionmailer//lib/action_mailer/base.rb#1066 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1066 def _protected_ivars; end - # source://actionmailer//lib/action_mailer/base.rb#942 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:942 def apply_defaults(headers); end - # source://actionmailer//lib/action_mailer/base.rb#962 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:962 def assign_headers_to_message(message, headers); end - # source://actionmailer//lib/action_mailer/base.rb#968 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:968 def collect_responses(headers, &block); end # @yield [collector] # - # source://actionmailer//lib/action_mailer/base.rb#978 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:978 def collect_responses_from_block(headers); end - # source://actionmailer//lib/action_mailer/base.rb#992 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:992 def collect_responses_from_templates(headers); end - # source://actionmailer//lib/action_mailer/base.rb#985 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:985 def collect_responses_from_text(headers); end - # source://actionmailer//lib/action_mailer/base.rb#952 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:952 def compute_default(value); end - # source://actionmailer//lib/action_mailer/base.rb#1035 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1035 def create_parts_from_responses(m, responses); end # Translates the +subject+ using \Rails I18n class under [mailer_scope, action_name] scope. @@ -1021,21 +1021,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#932 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:932 def default_i18n_subject(interpolations = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/base.rb#1005 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1005 def each_template(paths, name, &block); end - # source://actionmailer//lib/action_mailer/base.rb#1048 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1048 def insert_part(container, response, charset); end - # source://actionmailer//lib/action_mailer/base.rb#1062 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1062 def instrument_name; end # This and #instrument_name is for caching instrument # - # source://actionmailer//lib/action_mailer/base.rb#1055 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1055 def instrument_payload(key); end # Used by #mail to set the content type of the message. @@ -1048,139 +1048,139 @@ 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#910 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:910 def set_content_type(m, user_content_type, class_default); end - # source://actionmailer//lib/action_mailer/base.rb#1014 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:1014 def wrap_inline_attachments(message); end class << self - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def __callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def __callbacks=(value); end - # source://actionmailer//lib/action_mailer/base.rb#484 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:484 def _default_form_builder; end - # source://actionmailer//lib/action_mailer/base.rb#484 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:484 def _default_form_builder=(value); end - # source://actionmailer//lib/action_mailer/base.rb#484 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:484 def _default_form_builder?; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def _deliver_callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def _deliver_callbacks=(value); end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helper_methods; end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helper_methods=(value); end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helper_methods?; end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def _helpers; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout=(value); end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout?; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout_conditions; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout_conditions=(value); end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def _layout_conditions?; end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def _process_action_callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def _process_action_callbacks=(value); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def _view_cache_dependencies; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def _view_cache_dependencies=(value); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def _view_cache_dependencies?; end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def asset_host(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def asset_host=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def assets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def assets_dir=(arg); 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#576 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:576 def controller_path; end # Allows to set defaults through app configuration: # # config.action_mailer.default_options = { from: "no-reply@example.org" } # - # source://actionmailer//lib/action_mailer/base.rb#581 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:581 def default(value = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def default_asset_host_protocol(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def default_asset_host_protocol=(arg); end # Allows to set defaults through app configuration: # # config.action_mailer.default_options = { from: "no-reply@example.org" } # - # source://actionmailer//lib/action_mailer/base.rb#585 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:585 def default_options=(value = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def default_params; end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def default_params=(value); end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def default_params?; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def default_static_extension(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def default_static_extension=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def deliver_later_queue_name; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def deliver_later_queue_name=(value); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def deliver_later_queue_name?; end # Wraps an email delivery inside of ActiveSupport::Notifications instrumentation. @@ -1190,411 +1190,411 @@ 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#593 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:593 def deliver_mail(mail); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def delivery_job; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def delivery_job=(value); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def delivery_job?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_method; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_method=(value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_method?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_methods; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def delivery_methods=(value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 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#603 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:603 def email_address_with_name(address, name); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def enable_fragment_cache_logging(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def enable_fragment_cache_logging=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def file_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def file_settings=(value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def file_settings?; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def fragment_cache_keys; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def fragment_cache_keys=(value); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def fragment_cache_keys?; end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def javascripts_dir(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def javascripts_dir=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#490 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:490 def logger(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#490 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:490 def logger=(arg); 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#571 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:571 def mailer_name; end # Allows to set the name of current mailer. # - # source://actionmailer//lib/action_mailer/base.rb#575 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:575 def mailer_name=(_arg0); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def perform_caching(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def perform_caching=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def perform_deliveries; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def perform_deliveries=(val); end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def preview_interceptors; end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def preview_interceptors=(val); end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def preview_paths; end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def preview_paths=(val); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def raise_delivery_errors; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def raise_delivery_errors=(val); end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 def raise_on_missing_callback_actions; end - # source://actionmailer//lib/action_mailer/base.rb#494 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:494 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#548 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:548 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#522 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:522 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#534 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:534 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#512 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:512 def register_observers(*observers); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def relative_url_root(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def relative_url_root=(arg); end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def rescue_handlers; end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def rescue_handlers=(value); end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def rescue_handlers?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def sendmail_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def sendmail_settings=(value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def sendmail_settings?; end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def show_previews; end - # source://actionmailer//lib/action_mailer/base.rb#483 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:483 def show_previews=(val); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def smtp_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def smtp_settings=(value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def smtp_settings?; end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def stylesheets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#493 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:493 def stylesheets_dir=(arg); end # Emails do not support relative path links. # # @return [Boolean] # - # source://actionmailer//lib/action_mailer/base.rb#938 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:938 def supports_path?; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def test_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def test_settings=(value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 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#555 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:555 def unregister_interceptor(interceptor); end # Unregister one or more previously registered Interceptors. # - # source://actionmailer//lib/action_mailer/base.rb#527 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:527 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#541 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:541 def unregister_observer(observer); end # Unregister one or more previously registered Observers. # - # source://actionmailer//lib/action_mailer/base.rb#517 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:517 def unregister_observers(*observers); end private - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def __class_attr___callbacks; end - # source://actionmailer//lib/action_mailer/base.rb#478 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:478 def __class_attr___callbacks=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#484 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:484 def __class_attr__default_form_builder; end - # source://actionmailer//lib/action_mailer/base.rb#484 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:484 def __class_attr__default_form_builder=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def __class_attr__helper_methods; end - # source://actionmailer//lib/action_mailer/base.rb#491 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:491 def __class_attr__helper_methods=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def __class_attr__layout; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def __class_attr__layout=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def __class_attr__layout_conditions; end - # source://actionmailer//lib/action_mailer/base.rb#497 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:497 def __class_attr__layout_conditions=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def __class_attr__view_cache_dependencies; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def __class_attr__view_cache_dependencies=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#477 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:477 def __class_attr_config; end - # source://actionmailer//lib/action_mailer/base.rb#477 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:477 def __class_attr_config=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def __class_attr_default_params; end - # source://actionmailer//lib/action_mailer/base.rb#503 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:503 def __class_attr_default_params=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def __class_attr_deliver_later_queue_name; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def __class_attr_deliver_later_queue_name=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def __class_attr_delivery_job; end - # source://actionmailer//lib/action_mailer/base.rb#480 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:480 def __class_attr_delivery_job=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_delivery_method; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_delivery_method=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_delivery_methods; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_delivery_methods=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_file_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_file_settings=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def __class_attr_fragment_cache_keys; end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def __class_attr_fragment_cache_keys=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def __class_attr_rescue_handlers; end - # source://actionmailer//lib/action_mailer/base.rb#481 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:481 def __class_attr_rescue_handlers=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_sendmail_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_sendmail_settings=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_smtp_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_smtp_settings=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_test_settings; end - # source://actionmailer//lib/action_mailer/base.rb#479 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:479 def __class_attr_test_settings=(new_value); end - # source://actionmailer//lib/action_mailer/base.rb#624 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:624 def method_missing(method_name, *_arg1, **_arg2, &_arg3); end - # source://actionmailer//lib/action_mailer/base.rb#559 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:559 def observer_class_for(value); end # @return [Boolean] # - # source://actionmailer//lib/action_mailer/base.rb#632 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:632 def respond_to_missing?(method, include_all = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/base.rb#611 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:611 def set_payload_for_mail(payload, mail); end end end -# source://actionmailer//lib/action_mailer/base.rb#491 +# pkg:gem/actionmailer#lib/action_mailer/base.rb:491 module ActionMailer::Base::HelperMethods include ::ActionMailer::MailHelper include ::ActionText::ContentHelper include ::ActionText::TagHelper - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def combined_fragment_cache_key(*_arg0, **_arg1, &_arg2); end - # source://actionmailer//lib/action_mailer/base.rb#495 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:495 def view_cache_dependencies(*_arg0, **_arg1, &_arg2); end end -# source://actionmailer//lib/action_mailer/base.rb#764 +# pkg:gem/actionmailer#lib/action_mailer/base.rb:764 class ActionMailer::Base::LateAttachmentsProxy < ::SimpleDelegator - # source://actionmailer//lib/action_mailer/base.rb#766 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:766 def []=(_name, _content); end - # source://actionmailer//lib/action_mailer/base.rb#765 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:765 def inline; end private # @raise [RuntimeError] # - # source://actionmailer//lib/action_mailer/base.rb#769 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:769 def _raise_error; end end -# source://actionmailer//lib/action_mailer/base.rb#659 +# pkg:gem/actionmailer#lib/action_mailer/base.rb:659 class ActionMailer::Base::NullMail - # source://actionmailer//lib/action_mailer/base.rb#660 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:660 def body; end - # source://actionmailer//lib/action_mailer/base.rb#661 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:661 def header; end - # source://actionmailer//lib/action_mailer/base.rb#667 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:667 def method_missing(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://actionmailer//lib/action_mailer/base.rb#663 + # pkg:gem/actionmailer#lib/action_mailer/base.rb:663 def respond_to?(string, include_all = T.unsafe(nil)); end end -# source://actionmailer//lib/action_mailer/base.rb#499 +# pkg:gem/actionmailer#lib/action_mailer/base.rb:499 ActionMailer::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array) -# source://actionmailer//lib/action_mailer/callbacks.rb#4 +# pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:4 module ActionMailer::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1615,57 +1615,57 @@ module ActionMailer::Callbacks end end -# source://actionmailer//lib/action_mailer/callbacks.rb#14 +# pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:14 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#23 + # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:23 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#28 + # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:28 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#17 + # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:17 def before_deliver(*filters, &blk); end - # source://actionmailer//lib/action_mailer/callbacks.rb#32 + # pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:32 def internal_methods; end end -# source://actionmailer//lib/action_mailer/callbacks.rb#7 +# pkg:gem/actionmailer#lib/action_mailer/callbacks.rb:7 ActionMailer::Callbacks::DEFAULT_INTERNAL_METHODS = T.let(T.unsafe(nil), Array) -# source://actionmailer//lib/action_mailer/collector.rb#8 +# pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/collector.rb:12 def initialize(context, &block); end # @raise [ArgumentError] # - # source://actionmailer//lib/action_mailer/collector.rb#23 + # pkg:gem/actionmailer#lib/action_mailer/collector.rb:23 def all(*args, &block); end # @raise [ArgumentError] # - # source://actionmailer//lib/action_mailer/collector.rb#18 + # pkg:gem/actionmailer#lib/action_mailer/collector.rb:18 def any(*args, &block); end - # source://actionmailer//lib/action_mailer/collector.rb#25 + # pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/collector.rb:10 def responses; end end @@ -1674,7 +1674,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 +# pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:10 module ActionMailer::DeliveryMethods extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1682,7 +1682,7 @@ module ActionMailer::DeliveryMethods mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActionMailer::DeliveryMethods::ClassMethods - # source://actionmailer//lib/action_mailer/delivery_methods.rb#79 + # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:79 def wrap_delivery_behavior!(*args); end module GeneratedClassMethods @@ -1730,7 +1730,7 @@ end # Helpers for creating and wrapping delivery behavior, used by DeliveryMethods. # -# source://actionmailer//lib/action_mailer/delivery_methods.rb#41 +# pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:41 module ActionMailer::DeliveryMethods::ClassMethods # Adds a new delivery method through the given class using the given # symbol as alias and the default options supplied. @@ -1739,16 +1739,16 @@ module ActionMailer::DeliveryMethods::ClassMethods # location: '/usr/sbin/sendmail', # arguments: %w[ -i ] # - # source://actionmailer//lib/action_mailer/delivery_methods.rb#51 + # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:51 def add_delivery_method(symbol, klass, default_options = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#43 + # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:43 def deliveries(&_arg0); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#43 + # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:43 def deliveries=(arg); end - # source://actionmailer//lib/action_mailer/delivery_methods.rb#57 + # pkg:gem/actionmailer#lib/action_mailer/delivery_methods.rb:57 def wrap_delivery_behavior(mail, method = T.unsafe(nil), options = T.unsafe(nil)); end end @@ -1763,7 +1763,7 @@ end # # For more information, see +ActionController::FormBuilder+. # -# source://actionmailer//lib/action_mailer/form_builder.rb#14 +# pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:14 module ActionMailer::FormBuilder extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1773,7 +1773,7 @@ module ActionMailer::FormBuilder # Default form builder for the mailer # - # source://actionmailer//lib/action_mailer/form_builder.rb#33 + # pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:33 def default_form_builder; end module GeneratedClassMethods @@ -1785,7 +1785,7 @@ module ActionMailer::FormBuilder module GeneratedInstanceMethods; end end -# source://actionmailer//lib/action_mailer/form_builder.rb#21 +# pkg:gem/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. @@ -1793,7 +1793,7 @@ module ActionMailer::FormBuilder::ClassMethods # ==== Parameters # * builder - Default form builder. Accepts a subclass of ActionView::Helpers::FormBuilder # - # source://actionmailer//lib/action_mailer/form_builder.rb#27 + # pkg:gem/actionmailer#lib/action_mailer/form_builder.rb:27 def default_form_builder(builder); end end @@ -1808,67 +1808,67 @@ end # # ActionMailer::Base.preview_interceptors.delete(ActionMailer::InlinePreviewInterceptor) # -# source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#17 +# pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:26 def initialize(message); end - # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#30 + # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:30 def transform!; end private - # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#51 + # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:51 def data_url(part); end - # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#55 + # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:55 def find_part(cid); end - # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#47 + # pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:45 def message; end class << self - # source://actionmailer//lib/action_mailer/inline_preview_interceptor.rb#22 + # pkg:gem/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 +# pkg:gem/actionmailer#lib/action_mailer/inline_preview_interceptor.rb:18 ActionMailer::InlinePreviewInterceptor::PATTERN = T.let(T.unsafe(nil), Regexp) -# source://actionmailer//lib/action_mailer/log_subscriber.rb#7 +# pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:7 class ActionMailer::LogSubscriber < ::ActiveSupport::LogSubscriber # An email was delivered. # - # source://actionmailer//lib/action_mailer/log_subscriber.rb#8 + # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:8 def deliver(event); end # Use the logger configured for ActionMailer::Base. # - # source://actionmailer//lib/action_mailer/log_subscriber.rb#34 + # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:34 def logger; end # An email was generated. # - # source://actionmailer//lib/action_mailer/log_subscriber.rb#24 + # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:24 def process(event); end class << self private - # source://actionmailer//lib/action_mailer/log_subscriber.rb#21 + # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:21 def __class_attr_log_levels; end - # source://actionmailer//lib/action_mailer/log_subscriber.rb#21 + # pkg:gem/actionmailer#lib/action_mailer/log_subscriber.rb:21 def __class_attr_log_levels=(new_value); end end end @@ -1881,35 +1881,35 @@ end # # Exceptions are rescued and handled by the mailer class. # -# source://actionmailer//lib/action_mailer/mail_delivery_job.rb#13 +# pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:13 class ActionMailer::MailDeliveryJob < ::ActiveJob::Base - # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#21 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:34 def mailer_class; end class << self private - # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#14 + # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:14 def __class_attr_queue_name; end - # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#14 + # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:14 def __class_attr_queue_name=(new_value); end - # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#19 + # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:19 def __class_attr_rescue_handlers; end - # source://actionmailer//lib/action_mailer/mail_delivery_job.rb#19 + # pkg:gem/actionmailer#lib/action_mailer/mail_delivery_job.rb:19 def __class_attr_rescue_handlers=(new_value); end end end @@ -1920,11 +1920,11 @@ end # formatting messages, accessing mailer or message instances, and the # attachments list. # -# source://actionmailer//lib/action_mailer/mail_helper.rb#9 +# pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:53 def attachments; end # Take the text and format it, indented two spaces for each line, and @@ -1940,7 +1940,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 + # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:22 def block_format(text); end # Returns +text+ wrapped at +len+ columns and indented +indent+ spaces. @@ -1952,17 +1952,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 + # pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:43 def mailer; end # Access the message instance. # - # source://actionmailer//lib/action_mailer/mail_helper.rb#48 + # pkg:gem/actionmailer#lib/action_mailer/mail_helper.rb:48 def message; end end @@ -1980,27 +1980,27 @@ 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#51 +# pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:51 class ActionMailer::MessageDelivery # @return [MessageDelivery] a new instance of MessageDelivery # - # source://actionmailer//lib/action_mailer/message_delivery.rb#54 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:54 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#65 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:65 def __getobj__; end # Unused except for delegator internals (dup, marshalling). # - # source://actionmailer//lib/action_mailer/message_delivery.rb#70 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:70 def __setobj__(mail_message); end - # source://actionmailer//lib/action_mailer/message_delivery.rb#52 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:52 def action; end - # source://actionmailer//lib/action_mailer/message_delivery.rb#52 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:52 def args; end # Enqueues the email to be delivered through Active Job. When the @@ -2027,7 +2027,7 @@ class ActionMailer::MessageDelivery # self.delivery_job = RegistrationDeliveryJob # end # - # source://actionmailer//lib/action_mailer/message_delivery.rb#136 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:136 def deliver_later(options = T.unsafe(nil)); end # Enqueues the email to be delivered through Active Job. When the @@ -2056,14 +2056,14 @@ class ActionMailer::MessageDelivery # self.delivery_job = RegistrationDeliveryJob # end # - # source://actionmailer//lib/action_mailer/message_delivery.rb#109 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:109 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#157 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:157 def deliver_now; end # Delivers an email without checking +perform_deliveries+ and +raise_delivery_errors+, @@ -2071,44 +2071,44 @@ class ActionMailer::MessageDelivery # # Notifier.welcome(User.first).deliver_now! # - # source://actionmailer//lib/action_mailer/message_delivery.rb#145 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:145 def deliver_now!; end - # source://actionmailer//lib/action_mailer/message_delivery.rb#52 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:52 def mailer_class; end # Returns the resulting Mail::Message # - # source://actionmailer//lib/action_mailer/message_delivery.rb#75 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:75 def message; end - # source://actionmailer//lib/action_mailer/message_delivery.rb#52 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:52 def params; end # Was the delegate loaded, causing the mailer action to be processed? # # @return [Boolean] # - # source://actionmailer//lib/action_mailer/message_delivery.rb#80 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:80 def processed?; end private - # source://actionmailer//lib/action_mailer/message_delivery.rb#174 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:174 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#168 + # pkg:gem/actionmailer#lib/action_mailer/message_delivery.rb:168 def processed_mailer; end end -# source://actionmailer//lib/action_mailer/test_case.rb#7 +# pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:8 def initialize(name); end end @@ -2198,14 +2198,14 @@ end # # InvitationsMailer.with(inviter: person_a, invitee: person_b).account_invitation.deliver_later # -# source://actionmailer//lib/action_mailer/parameterized.rb#89 +# pkg:gem/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 +# pkg:gem/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. # @@ -2213,156 +2213,156 @@ module ActionMailer::Parameterized::ClassMethods # # See Parameterized documentation for full example. # - # source://actionmailer//lib/action_mailer/parameterized.rb#106 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:106 def with(params); end end -# source://actionmailer//lib/action_mailer/parameterized.rb#111 +# pkg:gem/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 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:112 def initialize(mailer, params); end private - # source://actionmailer//lib/action_mailer/parameterized.rb#117 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:117 def method_missing(method_name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://actionmailer//lib/action_mailer/parameterized.rb#125 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:125 def respond_to_missing?(method, include_all = T.unsafe(nil)); end end -# source://actionmailer//lib/action_mailer/parameterized.rb#130 +# pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:130 class ActionMailer::Parameterized::MessageDelivery < ::ActionMailer::MessageDelivery # @return [MessageDelivery] a new instance of MessageDelivery # - # source://actionmailer//lib/action_mailer/parameterized.rb#131 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:131 def initialize(mailer_class, action, params, *_arg3, **_arg4, &_arg5); end private - # source://actionmailer//lib/action_mailer/parameterized.rb#144 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:144 def enqueue_delivery(delivery_method, options = T.unsafe(nil)); end - # source://actionmailer//lib/action_mailer/parameterized.rb#137 + # pkg:gem/actionmailer#lib/action_mailer/parameterized.rb:137 def processed_mailer; end end -# source://actionmailer//lib/action_mailer/preview.rb#69 +# pkg:gem/actionmailer#lib/action_mailer/preview.rb:69 class ActionMailer::Preview extend ::ActiveSupport::DescendantsTracker # @return [Preview] a new instance of Preview # - # source://actionmailer//lib/action_mailer/preview.rb#74 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:74 def initialize(params = T.unsafe(nil)); end # Returns the value of attribute params. # - # source://actionmailer//lib/action_mailer/preview.rb#72 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:72 def params; end class << self # Returns all mailer preview classes. # - # source://actionmailer//lib/action_mailer/preview.rb#80 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:80 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#88 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:88 def call(email, params = T.unsafe(nil)); end # Returns +true+ if the email exists. # # @return [Boolean] # - # source://actionmailer//lib/action_mailer/preview.rb#101 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:101 def email_exists?(email); end # Returns all of the available email previews. # - # source://actionmailer//lib/action_mailer/preview.rb#96 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:96 def emails; end # Returns +true+ if the preview exists. # # @return [Boolean] # - # source://actionmailer//lib/action_mailer/preview.rb#106 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:106 def exists?(preview); end # Find a mailer preview by its underscored class name. # - # source://actionmailer//lib/action_mailer/preview.rb#111 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:111 def find(preview); end # Returns the underscored name of the mailer preview without the suffix. # - # source://actionmailer//lib/action_mailer/preview.rb#116 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:116 def preview_name; end private - # source://actionmailer//lib/action_mailer/preview.rb#135 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:135 def inform_preview_interceptors(message); end - # source://actionmailer//lib/action_mailer/preview.rb#121 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:121 def load_previews; end - # source://actionmailer//lib/action_mailer/preview.rb#127 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:127 def preview_paths; end - # source://actionmailer//lib/action_mailer/preview.rb#131 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:131 def show_previews; end end end -# source://actionmailer//lib/action_mailer/preview.rb#6 +# pkg:gem/actionmailer#lib/action_mailer/preview.rb:6 module ActionMailer::Previews extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionMailer::Previews::ClassMethods end -# source://actionmailer//lib/action_mailer/preview.rb#28 +# pkg:gem/actionmailer#lib/action_mailer/preview.rb:28 module ActionMailer::Previews::ClassMethods # 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#42 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:42 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#30 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:30 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#53 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:53 def unregister_preview_interceptor(interceptor); end # Unregister one or more previously registered Interceptors. # - # source://actionmailer//lib/action_mailer/preview.rb#35 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:35 def unregister_preview_interceptors(*interceptors); end private - # source://actionmailer//lib/action_mailer/preview.rb#58 + # pkg:gem/actionmailer#lib/action_mailer/preview.rb:58 def interceptor_class_for(interceptor); end end -# source://actionmailer//lib/action_mailer/queued_delivery.rb#4 +# pkg:gem/actionmailer#lib/action_mailer/queued_delivery.rb:4 module ActionMailer::QueuedDelivery extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2388,7 +2388,7 @@ module ActionMailer::QueuedDelivery end end -# source://actionmailer//lib/action_mailer/railtie.rb#9 +# pkg:gem/actionmailer#lib/action_mailer/railtie.rb:9 class ActionMailer::Railtie < ::Rails::Railtie; end # = Action Mailer \Rescuable @@ -2398,7 +2398,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 +# pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:10 module ActionMailer::Rescuable extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2408,12 +2408,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 + # pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:20 def handle_exceptions; end private - # source://actionmailer//lib/action_mailer/rescuable.rb#27 + # pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:27 def process(*_arg0, **_arg1, &_arg2); end module GeneratedClassMethods @@ -2429,26 +2429,26 @@ module ActionMailer::Rescuable end end -# source://actionmailer//lib/action_mailer/rescuable.rb#14 +# pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:14 module ActionMailer::Rescuable::ClassMethods - # source://actionmailer//lib/action_mailer/rescuable.rb#15 + # pkg:gem/actionmailer#lib/action_mailer/rescuable.rb:15 def handle_exception(exception); end end -# source://actionmailer//lib/action_mailer/structured_event_subscriber.rb#7 +# pkg:gem/actionmailer#lib/action_mailer/structured_event_subscriber.rb:7 class ActionMailer::StructuredEventSubscriber < ::ActiveSupport::StructuredEventSubscriber # An email was delivered. # - # source://actionmailer//lib/action_mailer/structured_event_subscriber.rb#8 + # pkg:gem/actionmailer#lib/action_mailer/structured_event_subscriber.rb:8 def deliver(event); end # An email was generated. # - # source://actionmailer//lib/action_mailer/structured_event_subscriber.rb#27 + # pkg:gem/actionmailer#lib/action_mailer/structured_event_subscriber.rb:27 def process(event); end end -# source://actionmailer//lib/action_mailer/test_case.rb#15 +# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:15 class ActionMailer::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActiveJob::TestHelper @@ -2459,48 +2459,48 @@ class ActionMailer::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionMailer::TestCase::Behavior::ClassMethods - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def _mailer_class; end - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def _mailer_class=(_arg0); end - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def _mailer_class?; end - # source://actionmailer//lib/action_mailer/test_case.rb#42 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:42 def _run_setup_callbacks(&block); end - # source://actionmailer//lib/action_mailer/test_case.rb#44 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:44 def _run_teardown_callbacks(&block); end class << self - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def _mailer_class; end - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def _mailer_class=(value); end - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def _mailer_class?; end private - # source://actionmailer//lib/action_mailer/test_case.rb#42 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:42 def __class_attr___callbacks; end - # source://actionmailer//lib/action_mailer/test_case.rb#42 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:42 def __class_attr___callbacks=(new_value); end - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def __class_attr__mailer_class; end - # source://actionmailer//lib/action_mailer/test_case.rb#41 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:41 def __class_attr__mailer_class=(new_value); end end end -# source://actionmailer//lib/action_mailer/test_case.rb#32 +# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:32 module ActionMailer::TestCase::Behavior include ::ActiveSupport::Testing::Assertions include ::ActiveJob::TestHelper @@ -2521,30 +2521,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 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:82 def read_fixture(action); end private - # source://actionmailer//lib/action_mailer/test_case.rb#115 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:115 def charset; end - # source://actionmailer//lib/action_mailer/test_case.rb#119 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:119 def encode(subject); end - # source://actionmailer//lib/action_mailer/test_case.rb#87 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:87 def initialize_test_deliveries; end - # source://actionmailer//lib/action_mailer/test_case.rb#104 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:104 def restore_delivery_method; end - # source://actionmailer//lib/action_mailer/test_case.rb#94 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:94 def restore_test_deliveries; end - # source://actionmailer//lib/action_mailer/test_case.rb#99 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:99 def set_delivery_method(method); end - # source://actionmailer//lib/action_mailer/test_case.rb#109 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:109 def set_expected_mail; end module GeneratedClassMethods @@ -2560,34 +2560,34 @@ module ActionMailer::TestCase::Behavior end end -# source://actionmailer//lib/action_mailer/test_case.rb#48 +# pkg:gem/actionmailer#lib/action_mailer/test_case.rb:48 module ActionMailer::TestCase::Behavior::ClassMethods # @raise [NonInferrableMailerError] # - # source://actionmailer//lib/action_mailer/test_case.rb#68 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:68 def determine_default_mailer(name); end - # source://actionmailer//lib/action_mailer/test_case.rb#60 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:60 def mailer_class; end - # source://actionmailer//lib/action_mailer/test_case.rb#49 + # pkg:gem/actionmailer#lib/action_mailer/test_case.rb:49 def tests(mailer); end end -# source://actionmailer//lib/action_mailer/test_case.rb#16 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:9 module ActionMailer::TestHelper include ::ActiveSupport::Testing::Assertions include ::ActiveJob::TestHelper @@ -2616,7 +2616,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer//lib/action_mailer/test_helper.rb#35 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:35 def assert_emails(number, &block); end # Asserts that a specific email has been enqueued, optionally @@ -2682,7 +2682,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer//lib/action_mailer/test_helper.rb#157 + # pkg:gem/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 @@ -2710,7 +2710,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer//lib/action_mailer/test_helper.rb#91 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:91 def assert_enqueued_emails(number, &block); end # Asserts that no emails have been sent. @@ -2733,7 +2733,7 @@ module ActionMailer::TestHelper # # assert_emails 0, &block # - # source://actionmailer//lib/action_mailer/test_helper.rb#63 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:63 def assert_no_emails(&block); end # Asserts that no emails are enqueued for later delivery. @@ -2752,7 +2752,7 @@ module ActionMailer::TestHelper # end # end # - # source://actionmailer//lib/action_mailer/test_helper.rb#191 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:191 def assert_no_enqueued_emails(&block); end # Returns any emails that are sent in the block. @@ -2770,7 +2770,7 @@ module ActionMailer::TestHelper # assert_equal "Hi there", emails.first.subject # end # - # source://actionmailer//lib/action_mailer/test_helper.rb#249 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:249 def capture_emails(&block); end # Delivers all enqueued emails. If a block is given, delivers all of the emails @@ -2810,29 +2810,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#231 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:231 def deliver_enqueued_emails(queue: T.unsafe(nil), at: T.unsafe(nil), &block); end private - # source://actionmailer//lib/action_mailer/test_helper.rb#258 + # pkg:gem/actionmailer#lib/action_mailer/test_helper.rb:258 def delivery_job_filter(job); end end -# source://actionmailer//lib/action_mailer/gem_version.rb#9 +# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:9 module ActionMailer::VERSION; end -# source://actionmailer//lib/action_mailer/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:13 ActionMailer::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://actionmailer//lib/action_mailer/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/actionmailer#lib/action_mailer/gem_version.rb:12 ActionMailer::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/actionpack@8.1.1.rbi b/sorbet/rbi/gems/actionpack@8.1.1.rbi index 04a544a18..ad19e5481 100644 --- a/sorbet/rbi/gems/actionpack@8.1.1.rbi +++ b/sorbet/rbi/gems/actionpack@8.1.1.rbi @@ -7,41 +7,41 @@ # :markup: markdown # -# source://actionpack//lib/abstract_controller/deprecator.rb#5 +# pkg:gem/actionpack#lib/abstract_controller/deprecator.rb:5 module AbstractController extend ::ActiveSupport::Autoload class << self - # source://actionpack//lib/abstract_controller/deprecator.rb#6 + # pkg:gem/actionpack#lib/abstract_controller/deprecator.rb:6 def deprecator; end - # source://actionpack//lib/abstract_controller.rb#27 + # pkg:gem/actionpack#lib/abstract_controller.rb:27 def eager_load!; end end end # Raised when a non-existing controller action is triggered. # -# source://actionpack//lib/abstract_controller/base.rb#12 +# pkg:gem/actionpack#lib/abstract_controller/base.rb:12 class AbstractController::ActionNotFound < ::StandardError include ::DidYouMean::Correctable # @return [ActionNotFound] a new instance of ActionNotFound # - # source://actionpack//lib/abstract_controller/base.rb#15 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:15 def initialize(message = T.unsafe(nil), controller = T.unsafe(nil), action = T.unsafe(nil)); end - # source://actionpack//lib/abstract_controller/base.rb#13 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:13 def action; end - # source://actionpack//lib/abstract_controller/base.rb#13 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:13 def controller; end - # source://actionpack//lib/abstract_controller/base.rb#24 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:24 def corrections; end end -# source://actionpack//lib/abstract_controller/asset_paths.rb#6 +# pkg:gem/actionpack#lib/abstract_controller/asset_paths.rb:6 module AbstractController::AssetPaths extend ::ActiveSupport::Concern end @@ -55,21 +55,21 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack//lib/abstract_controller/base.rb#36 +# pkg:gem/actionpack#lib/abstract_controller/base.rb:36 class AbstractController::Base extend ::ActiveSupport::DescendantsTracker # Delegates to the class's ::action_methods. # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def action_methods; end # Returns the name of the action this controller is processing. # - # source://actionpack//lib/abstract_controller/base.rb#43 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:43 def action_name; end - # source://actionpack//lib/abstract_controller/base.rb#43 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:43 def action_name=(_arg0); end # Returns true if a method for the action is available and can be dispatched, @@ -85,29 +85,29 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def available_action?(action_name); end - # source://actionpack//lib/abstract_controller/base.rb#49 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:49 def config; end - # source://actionpack//lib/abstract_controller/base.rb#49 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:49 def config=(_arg0); end # Delegates to the class's ::controller_path. # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def controller_path; end # Returns the formats that can be processed by the controller. # - # source://actionpack//lib/abstract_controller/base.rb#47 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:47 def formats; end - # source://actionpack//lib/abstract_controller/base.rb#47 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:47 def formats=(_arg0); end - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def inspect; end # Tests if a response body is set. Used to determine if the `process_action` @@ -115,7 +115,7 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def performed?; end # Calls the action going through the entire Action Dispatch stack. @@ -124,15 +124,15 @@ class AbstractController::Base # If no method can handle the action, then an AbstractController::ActionNotFound # error is raised. # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def process(action, *_arg1, **_arg2, &_arg3); end # Returns the body of the HTTP response sent by the controller. # - # source://actionpack//lib/abstract_controller/base.rb#39 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:39 def response_body; end - # source://actionpack//lib/abstract_controller/base.rb#39 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:39 def response_body=(_arg0); end # Actually call the method associated with the action. Override this method if @@ -140,7 +140,7 @@ class AbstractController::Base # 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#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def send_action(*_arg0); end private @@ -162,21 +162,21 @@ class AbstractController::Base # # Raise `AbstractController::ActionNotFound`. # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 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#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 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#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def _valid_action_name?(action_name); end # Returns true if the name can be considered an action because it has a method @@ -187,7 +187,7 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def action_method?(name); end # Takes an action name and returns the name of the method that will handle the @@ -214,7 +214,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#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def method_for_action(action_name); end # Call the action. Override this in a subclass to modify the behavior around @@ -224,23 +224,23 @@ 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#128 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:128 def process_action(*_arg0, **_arg1, &_arg2); end class << self # Returns the value of attribute abstract. # - # source://actionpack//lib/abstract_controller/base.rb#53 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:53 def abstract; end # Define a controller as abstract. See internal_methods for more details. # - # source://actionpack//lib/abstract_controller/base.rb#57 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:57 def abstract!; end # Returns the value of attribute abstract. # - # source://actionpack//lib/abstract_controller/base.rb#54 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:54 def abstract?; end # A `Set` of method names that should be considered actions. This includes all @@ -248,25 +248,25 @@ class AbstractController::Base # internal_methods), adding back in any methods that are internal, but still # exist on the class itself. # - # source://actionpack//lib/abstract_controller/base.rb#93 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:93 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#106 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:106 def clear_action_methods!; end - # source://actionpack//lib/abstract_controller/base.rb#49 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:49 def config; end - # source://actionpack//lib/abstract_controller/base.rb#49 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:49 def config=(value); end # @yield [config] # - # source://actionpack//lib/abstract_controller/base.rb#122 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:122 def configure; end # Returns the full controller name, underscored, without the ending Controller. @@ -277,13 +277,13 @@ class AbstractController::Base # # MyApp::MyPostsController.controller_path # => "my_app/my_posts" # - # source://actionpack//lib/abstract_controller/base.rb#118 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:118 def controller_path; end - # source://actionpack//lib/abstract_controller/base.rb#132 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:132 def eager_load!; end - # source://actionpack//lib/abstract_controller/base.rb#61 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:61 def inherited(klass); end # A list of all internal methods for a controller. This finds the first abstract @@ -293,12 +293,12 @@ class AbstractController::Base # removed. (ActionController::Metal and ActionController::Base are defined as # abstract) # - # source://actionpack//lib/abstract_controller/base.rb#77 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:77 def internal_methods; end # Refresh the cached action_methods when a new action_method is added. # - # source://actionpack//lib/abstract_controller/base.rb#127 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:127 def method_added(name); end # Returns true if the given controller is capable of rendering a path. A @@ -307,20 +307,20 @@ class AbstractController::Base # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/base.rb#191 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:191 def supports_path?; end private - # source://actionpack//lib/abstract_controller/base.rb#49 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:49 def __class_attr_config; end - # source://actionpack//lib/abstract_controller/base.rb#49 + # pkg:gem/actionpack#lib/abstract_controller/base.rb:49 def __class_attr_config=(new_value); end end end -# source://actionpack//lib/abstract_controller/caching.rb#6 +# pkg:gem/actionpack#lib/abstract_controller/caching.rb:6 module AbstractController::Caching include ::AbstractController::Caching::ConfigMethods extend ::ActiveSupport::Concern @@ -330,14 +330,14 @@ module AbstractController::Caching mixes_in_class_methods GeneratedClassMethods - # source://actionpack//lib/abstract_controller/caching.rb#57 + # pkg:gem/actionpack#lib/abstract_controller/caching.rb:57 def view_cache_dependencies; end private # Convenience accessor. # - # source://actionpack//lib/abstract_controller/caching.rb#63 + # pkg:gem/actionpack#lib/abstract_controller/caching.rb:63 def cache(key, options = T.unsafe(nil), &block); end module GeneratedClassMethods @@ -353,25 +353,25 @@ module AbstractController::Caching end end -# source://actionpack//lib/abstract_controller/caching.rb#51 +# pkg:gem/actionpack#lib/abstract_controller/caching.rb:51 module AbstractController::Caching::ClassMethods - # source://actionpack//lib/abstract_controller/caching.rb#52 + # pkg:gem/actionpack#lib/abstract_controller/caching.rb:52 def view_cache_dependency(&dependency); end end -# source://actionpack//lib/abstract_controller/caching.rb#14 +# pkg:gem/actionpack#lib/abstract_controller/caching.rb:14 module AbstractController::Caching::ConfigMethods - # source://actionpack//lib/abstract_controller/caching.rb#15 + # pkg:gem/actionpack#lib/abstract_controller/caching.rb:15 def cache_store; end - # source://actionpack//lib/abstract_controller/caching.rb#19 + # pkg:gem/actionpack#lib/abstract_controller/caching.rb:19 def cache_store=(store); end private # @return [Boolean] # - # source://actionpack//lib/abstract_controller/caching.rb#24 + # pkg:gem/actionpack#lib/abstract_controller/caching.rb:24 def cache_configured?; end end @@ -390,7 +390,7 @@ end # # expire_fragment('name_of_cache') # -# source://actionpack//lib/abstract_controller/caching/fragments.rb#21 +# pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:21 module AbstractController::Caching::Fragments extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -404,7 +404,7 @@ module AbstractController::Caching::Fragments # `ENV["RAILS_APP_VERSION"]` if set, followed by any controller-wide key prefix # values, ending with the specified `key` value. # - # source://actionpack//lib/abstract_controller/caching/fragments.rb#68 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:68 def combined_fragment_cache_key(key); end # Removes fragments from the cache. @@ -425,7 +425,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#131 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:131 def expire_fragment(key, options = T.unsafe(nil)); end # Check if a cached fragment from the location signified by `key` exists (see @@ -433,22 +433,22 @@ module AbstractController::Caching::Fragments # # @return [Boolean] # - # source://actionpack//lib/abstract_controller/caching/fragments.rb#105 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:105 def fragment_exist?(key, options = T.unsafe(nil)); end - # source://actionpack//lib/abstract_controller/caching/fragments.rb#144 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:144 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#93 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:93 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#80 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:80 def write_fragment(key, content, options = T.unsafe(nil)); end module GeneratedClassMethods @@ -464,7 +464,7 @@ module AbstractController::Caching::Fragments end end -# source://actionpack//lib/abstract_controller/caching/fragments.rb#38 +# pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:38 module AbstractController::Caching::Fragments::ClassMethods # Allows you to specify controller-wide key prefixes for cache fragments. Pass # either a constant `value`, or a block which computes a value each time a cache @@ -486,7 +486,7 @@ module AbstractController::Caching::Fragments::ClassMethods # end # end # - # source://actionpack//lib/abstract_controller/caching/fragments.rb#58 + # pkg:gem/actionpack#lib/abstract_controller/caching/fragments.rb:58 def fragment_cache_key(value = T.unsafe(nil), &key); end end @@ -509,7 +509,7 @@ end # * `skip_around_action` # * `skip_before_action` # -# source://actionpack//lib/abstract_controller/callbacks.rb#24 +# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:24 module AbstractController::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -525,7 +525,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#265 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:265 def process_action(*_arg0, **_arg1, &_arg2); end module GeneratedClassMethods @@ -538,35 +538,35 @@ module AbstractController::Callbacks end end -# source://actionpack//lib/abstract_controller/callbacks.rb#41 +# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:41 class AbstractController::Callbacks::ActionFilter # @return [ActionFilter] a new instance of ActionFilter # - # source://actionpack//lib/abstract_controller/callbacks.rb#42 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:42 def initialize(filters, conditional_key, actions); end # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#71 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:71 def after(controller); end # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#73 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:73 def around(controller); end # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#72 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:72 def before(controller); end # @return [Boolean] # - # source://actionpack//lib/abstract_controller/callbacks.rb#48 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:48 def match?(controller); end end -# source://actionpack//lib/abstract_controller/callbacks.rb#76 +# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:76 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 the normalization @@ -582,10 +582,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#122 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:122 def _insert_callbacks(callbacks, block = T.unsafe(nil)); end - # source://actionpack//lib/abstract_controller/callbacks.rb#100 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:100 def _normalize_callback_option(options, from, to); end # If `:only` or `:except` are used, convert the options into the `:if` and @@ -606,188 +606,188 @@ 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#95 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:95 def _normalize_callback_options(options); end - # source://actionpack//lib/abstract_controller/callbacks.rb#233 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:233 def after_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#254 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:254 def append_after_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#254 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:254 def append_around_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#254 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:254 def append_before_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#233 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:233 def around_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#233 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:233 def before_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#257 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:257 def internal_methods; end - # source://actionpack//lib/abstract_controller/callbacks.rb#239 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:239 def prepend_after_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#239 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:239 def prepend_around_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#239 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:239 def prepend_before_action(*names, &blk); end - # source://actionpack//lib/abstract_controller/callbacks.rb#247 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:247 def skip_after_action(*names); end - # source://actionpack//lib/abstract_controller/callbacks.rb#247 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:247 def skip_around_action(*names); end - # source://actionpack//lib/abstract_controller/callbacks.rb#247 + # pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:247 def skip_before_action(*names); end end -# source://actionpack//lib/abstract_controller/callbacks.rb#32 +# pkg:gem/actionpack#lib/abstract_controller/callbacks.rb:32 AbstractController::Callbacks::DEFAULT_INTERNAL_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/abstract_controller/collector.rb#8 +# pkg:gem/actionpack#lib/abstract_controller/collector.rb:8 module AbstractController::Collector - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def atom(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def bmp(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def css(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def csv(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def gif(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def gzip(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def html(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def ics(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def jpeg(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def js(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def json(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def m4a(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def md(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def mp3(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def mp4(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def mpeg(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def multipart_form(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def ogg(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def otf(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def pdf(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def png(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def rss(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def svg(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def text(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def tiff(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def ttf(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def url_encoded_form(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def vcf(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def vtt(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def webm(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def webp(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def woff(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def woff2(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def xml(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def yaml(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/abstract_controller/collector.rb#11 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:11 def zip(*_arg0, **_arg1, &_arg2); end private - # source://actionpack//lib/abstract_controller/collector.rb#27 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:27 def method_missing(symbol, *_arg1, **_arg2, &_arg3); end class << self - # source://actionpack//lib/abstract_controller/collector.rb#9 + # pkg:gem/actionpack#lib/abstract_controller/collector.rb:9 def generate_method_for_mime(mime); end end end -# source://actionpack//lib/abstract_controller/rendering.rb#10 +# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:10 class AbstractController::DoubleRenderError < ::AbstractController::Error # @return [DoubleRenderError] a new instance of DoubleRenderError # - # source://actionpack//lib/abstract_controller/rendering.rb#13 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:13 def initialize(message = T.unsafe(nil)); end end -# source://actionpack//lib/abstract_controller/rendering.rb#11 +# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:11 AbstractController::DoubleRenderError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/abstract_controller/error.rb#6 +# pkg:gem/actionpack#lib/abstract_controller/error.rb:6 class AbstractController::Error < ::StandardError; end -# source://actionpack//lib/abstract_controller/helpers.rb#9 +# pkg:gem/actionpack#lib/abstract_controller/helpers.rb:9 module AbstractController::Helpers extend ::ActiveSupport::Concern extend ::AbstractController::Helpers::Resolution @@ -796,7 +796,7 @@ module AbstractController::Helpers mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::AbstractController::Helpers::ClassMethods - # source://actionpack//lib/abstract_controller/helpers.rb#28 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:28 def _helpers; end module GeneratedClassMethods @@ -812,7 +812,7 @@ module AbstractController::Helpers end end -# source://actionpack//lib/abstract_controller/helpers.rb#64 +# pkg:gem/actionpack#lib/abstract_controller/helpers.rb:64 module AbstractController::Helpers::ClassMethods include ::AbstractController::Helpers::Resolution @@ -820,16 +820,16 @@ module AbstractController::Helpers::ClassMethods # # @param value the value to set the attribute _helpers to. # - # source://actionpack//lib/abstract_controller/helpers.rb#76 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:76 def _helpers=(_arg0); end - # source://actionpack//lib/abstract_controller/helpers.rb#218 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:218 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#209 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:209 def clear_helpers; end # Includes the given modules in the template class. @@ -883,7 +883,7 @@ module AbstractController::Helpers::ClassMethods # end # end # - # source://actionpack//lib/abstract_controller/helpers.rb#198 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:198 def helper(*args, &block); end # Declare a controller method as a helper. For example, the following @@ -911,55 +911,55 @@ 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#128 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:128 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#68 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:68 def inherited(klass); end private - # source://actionpack//lib/abstract_controller/helpers.rb#237 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:237 def default_helper_module!; end - # source://actionpack//lib/abstract_controller/helpers.rb#226 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:226 def define_helpers_module(klass, helpers = T.unsafe(nil)); end end -# source://actionpack//lib/abstract_controller/helpers.rb#32 +# pkg:gem/actionpack#lib/abstract_controller/helpers.rb:32 module AbstractController::Helpers::Resolution - # source://actionpack//lib/abstract_controller/helpers.rb#48 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:48 def all_helpers_from_path(path); end - # source://actionpack//lib/abstract_controller/helpers.rb#57 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:57 def helper_modules_from_paths(paths); end - # source://actionpack//lib/abstract_controller/helpers.rb#33 + # pkg:gem/actionpack#lib/abstract_controller/helpers.rb:33 def modules_for_helpers(modules_or_helper_prefixes); end end -# source://actionpack//lib/abstract_controller/logger.rb#8 +# pkg:gem/actionpack#lib/abstract_controller/logger.rb:8 module AbstractController::Logger extend ::ActiveSupport::Concern include ::ActiveSupport::Benchmarkable end -# source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#8 +# pkg:gem/actionpack#lib/abstract_controller/railties/routes_helpers.rb:8 module AbstractController::Railties; end -# source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#9 +# pkg:gem/actionpack#lib/abstract_controller/railties/routes_helpers.rb:9 module AbstractController::Railties::RoutesHelpers class << self - # source://actionpack//lib/abstract_controller/railties/routes_helpers.rb#10 + # pkg:gem/actionpack#lib/abstract_controller/railties/routes_helpers.rb:10 def with(routes, include_path_helpers = T.unsafe(nil)); end end end -# source://actionpack//lib/abstract_controller/rendering.rb#18 +# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:18 module AbstractController::Rendering extend ::ActiveSupport::Concern include ::ActionView::ViewPaths @@ -971,12 +971,12 @@ module AbstractController::Rendering # # Supported options depend on the underlying `render_to_body` implementation. # - # source://actionpack//lib/abstract_controller/rendering.rb#26 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:26 def render(*args, &block); end # Performs the actual template rendering. # - # source://actionpack//lib/abstract_controller/rendering.rb#50 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:50 def render_to_body(options = T.unsafe(nil)); end # Similar to #render, but only returns the rendered template as a string, @@ -986,18 +986,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#44 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:44 def render_to_string(*args, &block); end # Returns `Content-Type` of rendered content. # - # source://actionpack//lib/abstract_controller/rendering.rb#54 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:54 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#62 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:62 def view_assigns; end private @@ -1005,58 +1005,58 @@ module AbstractController::Rendering # Normalize args by converting `render "foo"` to `render action: "foo"` and # `render "foo/bar"` to `render file: "foo/bar"`. # - # source://actionpack//lib/abstract_controller/rendering.rb#73 + # pkg:gem/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 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:88 def _normalize_options(options); end # Normalize args and options. # - # source://actionpack//lib/abstract_controller/rendering.rb#114 + # pkg:gem/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 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:98 def _process_format(format); end # Process extra options. # - # source://actionpack//lib/abstract_controller/rendering.rb#93 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:93 def _process_options(options); end - # source://actionpack//lib/abstract_controller/rendering.rb#101 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:101 def _process_variant(options); end - # source://actionpack//lib/abstract_controller/rendering.rb#121 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:121 def _protected_ivars; end - # source://actionpack//lib/abstract_controller/rendering.rb#104 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:104 def _set_html_content_type; end - # source://actionpack//lib/abstract_controller/rendering.rb#110 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:110 def _set_rendered_content_type(format); end - # source://actionpack//lib/abstract_controller/rendering.rb#107 + # pkg:gem/actionpack#lib/abstract_controller/rendering.rb:107 def _set_vary_header; end end -# source://actionpack//lib/abstract_controller/rendering.rb#58 +# pkg:gem/actionpack#lib/abstract_controller/rendering.rb:58 AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/abstract_controller/translation.rb#8 +# pkg:gem/actionpack#lib/abstract_controller/translation.rb:8 module AbstractController::Translation # Delegates to `I18n.localize`. # - # source://actionpack//lib/abstract_controller/translation.rb#40 + # pkg:gem/actionpack#lib/abstract_controller/translation.rb:40 def l(object, **options); end # Delegates to `I18n.localize`. # - # source://actionpack//lib/abstract_controller/translation.rb#37 + # pkg:gem/actionpack#lib/abstract_controller/translation.rb:37 def localize(object, **options); end # Delegates to `I18n.translate`. @@ -1068,7 +1068,7 @@ module AbstractController::Translation # 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#34 + # pkg:gem/actionpack#lib/abstract_controller/translation.rb:34 def t(key, **options); end # Delegates to `I18n.translate`. @@ -1080,7 +1080,7 @@ module AbstractController::Translation # 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#17 + # pkg:gem/actionpack#lib/abstract_controller/translation.rb:17 def translate(key, **options); end end @@ -1093,7 +1093,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#14 +# pkg:gem/actionpack#lib/abstract_controller/url_for.rb:14 module AbstractController::UrlFor extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1102,7 +1102,7 @@ module AbstractController::UrlFor mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - # source://actionpack//lib/abstract_controller/url_for.rb#18 + # pkg:gem/actionpack#lib/abstract_controller/url_for.rb:18 def _routes; end module GeneratedClassMethods @@ -1118,12 +1118,12 @@ module AbstractController::UrlFor end end -# source://actionpack//lib/abstract_controller/url_for.rb#23 +# pkg:gem/actionpack#lib/abstract_controller/url_for.rb:23 module AbstractController::UrlFor::ClassMethods - # source://actionpack//lib/abstract_controller/url_for.rb#24 + # pkg:gem/actionpack#lib/abstract_controller/url_for.rb:24 def _routes; end - # source://actionpack//lib/abstract_controller/url_for.rb#28 + # pkg:gem/actionpack#lib/abstract_controller/url_for.rb:28 def action_methods; end end @@ -1135,22 +1135,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/metal/exceptions.rb#5 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:5 module ActionController extend ::ActiveSupport::Autoload class << self # See Renderers.add # - # source://actionpack//lib/action_controller/metal/renderers.rb#7 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:7 def add_renderer(key, &block); end - # source://actionpack//lib/action_controller/deprecator.rb#6 + # pkg:gem/actionpack#lib/action_controller/deprecator.rb:6 def deprecator; end # See Renderers.remove # - # source://actionpack//lib/action_controller/metal/renderers.rb#12 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:12 def remove_renderer(key); end end end @@ -1240,7 +1240,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack//lib/action_controller/api.rb#93 +# pkg:gem/actionpack#lib/action_controller/api.rb:93 class ActionController::API < ::ActionController::Metal include ::ActionView::ViewPaths include ::AbstractController::Rendering @@ -1293,275 +1293,275 @@ class ActionController::API < ::ActionController::Metal extend ::ActionController::ParamsWrapper::ClassMethods extend ::ActionController::Renderers::DeprecatedEscapeJsonResponses - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __callbacks; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _process_action_callbacks; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _renderers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _renderers=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _renderers?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _run_process_action_callbacks; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _run_process_action_callbacks!(&block); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _view_cache_dependencies; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _view_cache_dependencies=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _view_cache_dependencies?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _wrapper_options; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _wrapper_options=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _wrapper_options?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_open_redirect; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_open_redirect=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_path_relative_redirect; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_path_relative_redirect=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_static_extension(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_static_extension=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_url_options; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_url_options=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_url_options?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def enable_fragment_cache_logging(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def enable_fragment_cache_logging=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def etaggers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def etaggers=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def etaggers?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def fragment_cache_keys; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def fragment_cache_keys=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def fragment_cache_keys?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def logger(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def logger=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def perform_caching(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def perform_caching=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_missing_callback_actions; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_open_redirects=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def rescue_handlers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def rescue_handlers=(_arg0); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def rescue_handlers?; end class << self - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __callbacks; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __callbacks=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _allowed_redirect_hosts; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _allowed_redirect_hosts=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _process_action_callbacks; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _process_action_callbacks=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _renderers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _renderers=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _renderers?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _view_cache_dependencies; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _view_cache_dependencies=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _view_cache_dependencies?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _wrapper_options; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _wrapper_options=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def _wrapper_options?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_open_redirect; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_open_redirect=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_path_relative_redirect; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def action_on_path_relative_redirect=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def allowed_redirect_hosts; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def allowed_redirect_hosts_permissions; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def allowed_redirect_hosts_permissions=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_static_extension(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_static_extension=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_url_options; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_url_options=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def default_url_options?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def enable_fragment_cache_logging(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def enable_fragment_cache_logging=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def escape_json_responses; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def escape_json_responses=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def escape_json_responses?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def etaggers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def etaggers=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def etaggers?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def fragment_cache_keys; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def fragment_cache_keys=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def fragment_cache_keys?; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def logger(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def logger=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def perform_caching(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def perform_caching=(arg); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_missing_callback_actions; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def raise_on_open_redirects=(val); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def rescue_handlers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def rescue_handlers=(value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def rescue_handlers?; end # Shortcut helper that returns all the ActionController::API modules except the @@ -1577,98 +1577,98 @@ class ActionController::API < ::ActionController::Metal # create an API controller class, instead of listing the modules required # manually. # - # source://actionpack//lib/action_controller/api.rb#108 + # pkg:gem/actionpack#lib/action_controller/api.rb:108 def without_modules(*modules); end private - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr___callbacks; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr___callbacks=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__allowed_redirect_hosts; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__allowed_redirect_hosts=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__renderers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__renderers=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__view_cache_dependencies; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__view_cache_dependencies=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__wrapper_options; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr__wrapper_options=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_allowed_redirect_hosts_permissions; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_allowed_redirect_hosts_permissions=(new_value); end - # source://actionpack//lib/action_controller/api.rb#93 + # pkg:gem/actionpack#lib/action_controller/api.rb:93 def __class_attr_config; end - # source://actionpack//lib/action_controller/api.rb#93 + # pkg:gem/actionpack#lib/action_controller/api.rb:93 def __class_attr_config=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_default_url_options; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_default_url_options=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_escape_json_responses; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_escape_json_responses=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_etaggers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_etaggers=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_fragment_cache_keys; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_fragment_cache_keys=(new_value); end - # source://actionpack//lib/action_controller/api.rb#93 + # pkg:gem/actionpack#lib/action_controller/api.rb:93 def __class_attr_middleware_stack; end - # source://actionpack//lib/action_controller/api.rb#93 + # pkg:gem/actionpack#lib/action_controller/api.rb:93 def __class_attr_middleware_stack=(new_value); end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_rescue_handlers; end - # source://actionpack//lib/action_controller/api.rb#150 + # pkg:gem/actionpack#lib/action_controller/api.rb:150 def __class_attr_rescue_handlers=(new_value); end end end -# source://actionpack//lib/action_controller/api.rb#116 +# pkg:gem/actionpack#lib/action_controller/api.rb:116 ActionController::API::MODULES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_controller/metal/exceptions.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:6 class ActionController::ActionControllerError < ::StandardError; end -# source://actionpack//lib/action_controller/metal/allow_browser.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:6 module ActionController::AllowBrowser extend ::ActiveSupport::Concern @@ -1676,76 +1676,76 @@ module ActionController::AllowBrowser private - # source://actionpack//lib/action_controller/metal/allow_browser.rb#63 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:63 def allow_browser(versions:, block:); end end -# source://actionpack//lib/action_controller/metal/allow_browser.rb#73 +# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:73 class ActionController::AllowBrowser::BrowserBlocker # @return [BrowserBlocker] a new instance of BrowserBlocker # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#80 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:80 def initialize(request, versions:); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#84 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:84 def blocked?; end # Returns the value of attribute request. # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#78 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:78 def request; end # Returns the value of attribute versions. # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#78 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:78 def versions; end private # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#105 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:105 def bot?; end - # source://actionpack//lib/action_controller/metal/allow_browser.rb#121 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:121 def expanded_versions; end - # source://actionpack//lib/action_controller/metal/allow_browser.rb#117 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:117 def minimum_browser_version_for_browser; end - # source://actionpack//lib/action_controller/metal/allow_browser.rb#125 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:125 def normalized_browser_name; end - # source://actionpack//lib/action_controller/metal/allow_browser.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:89 def parsed_user_agent; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#97 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:97 def unsupported_browser?; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#93 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:93 def user_agent_version_reported?; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#109 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:109 def version_below_minimum_required?; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#101 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:101 def version_guarded_browser?; end end -# source://actionpack//lib/action_controller/metal/allow_browser.rb#74 +# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:74 ActionController::AllowBrowser::BrowserBlocker::SETS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_controller/metal/allow_browser.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:9 module ActionController::AllowBrowser::ClassMethods # Specify the browser versions that will be allowed to access all actions (or # some, as limited by `only:` or `except:`). Only browsers matched in the hash @@ -1795,26 +1795,26 @@ module ActionController::AllowBrowser::ClassMethods # allow_browser versions: { opera: 104, chrome: 119 }, only: :show # end # - # source://actionpack//lib/action_controller/metal/allow_browser.rb#57 + # pkg:gem/actionpack#lib/action_controller/metal/allow_browser.rb:57 def allow_browser(versions:, block: T.unsafe(nil), **options); end end -# source://actionpack//lib/action_controller/api/api_rendering.rb#6 +# pkg:gem/actionpack#lib/action_controller/api/api_rendering.rb:6 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#13 + # pkg:gem/actionpack#lib/action_controller/api/api_rendering.rb:13 def render_to_body(options = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:9 class ActionController::BadRequest < ::ActionController::ActionControllerError # @return [BadRequest] a new instance of BadRequest # - # source://actionpack//lib/action_controller/metal/exceptions.rb#10 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:10 def initialize(msg = T.unsafe(nil)); end end @@ -2017,7 +2017,7 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack//lib/action_controller/base.rb#208 +# pkg:gem/actionpack#lib/action_controller/base.rb:208 class ActionController::Base < ::ActionController::Metal include ::ActionView::ViewPaths include ::AbstractController::Rendering @@ -2104,565 +2104,565 @@ class ActionController::Base < ::ActionController::Metal extend ::ActionController::ParamsWrapper::ClassMethods extend ::ActionController::Renderers::DeprecatedEscapeJsonResponses - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def __callbacks; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helper_methods; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helper_methods=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helper_methods?; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout_conditions; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout_conditions?; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def _process_action_callbacks; end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def _renderers; end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def _renderers=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def _renderers?; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def _run_process_action_callbacks(&block); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def _run_process_action_callbacks!(&block); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def _view_cache_dependencies; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def _view_cache_dependencies=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def _view_cache_dependencies?; end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def _wrapper_options; end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def _wrapper_options=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def _wrapper_options?; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_open_redirect; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_open_redirect=(val); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_path_relative_redirect; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_path_relative_redirect=(val); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def allow_forgery_protection(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def allow_forgery_protection=(arg); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def asset_host(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def asset_host=(arg); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def assets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def assets_dir=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def csrf_token_storage_strategy(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def csrf_token_storage_strategy=(arg); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def default_asset_host_protocol(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def default_asset_host_protocol=(arg); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def default_static_extension(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def default_static_extension=(arg); end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def default_url_options; end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def default_url_options=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def default_url_options?; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def enable_fragment_cache_logging(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def enable_fragment_cache_logging=(arg); end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def etag_with_template_digest; end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def etag_with_template_digest=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def etag_with_template_digest?; end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def etaggers; end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def etaggers=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def etaggers?; end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def flash(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_origin_check(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_origin_check=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_strategy(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_strategy=(arg); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def fragment_cache_keys; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def fragment_cache_keys=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def fragment_cache_keys?; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def helpers_path; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def helpers_path=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def helpers_path?; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def include_all_helpers; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def include_all_helpers=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def include_all_helpers?; end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def javascripts_dir(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def javascripts_dir=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def log_warning_on_csrf_failure(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def log_warning_on_csrf_failure=(arg); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def logger(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def logger=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def per_form_csrf_tokens(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def per_form_csrf_tokens=(arg); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def perform_caching(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def perform_caching=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def raise_on_missing_callback_actions; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def raise_on_open_redirects=(val); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def relative_url_root(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def relative_url_root=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def request_forgery_protection_token(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def request_forgery_protection_token=(arg); end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def rescue_handlers; end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def rescue_handlers=(_arg0); end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def rescue_handlers?; end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def stylesheets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def stylesheets_dir=(arg); end private - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout(lookup_context, formats, keys); end - # source://actionpack//lib/action_controller/base.rb#325 + # pkg:gem/actionpack#lib/action_controller/base.rb:325 def _protected_ivars; end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def alert; end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def notice; end class << self - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def __callbacks; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def __callbacks=(value); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def _allowed_redirect_hosts; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def _allowed_redirect_hosts=(value); end - # source://actionpack//lib/action_controller/base.rb#291 + # pkg:gem/actionpack#lib/action_controller/base.rb:291 def _default_form_builder; end - # source://actionpack//lib/action_controller/base.rb#291 + # pkg:gem/actionpack#lib/action_controller/base.rb:291 def _default_form_builder=(value); end - # source://actionpack//lib/action_controller/base.rb#291 + # pkg:gem/actionpack#lib/action_controller/base.rb:291 def _default_form_builder?; end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def _flash_types; end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def _flash_types=(value); end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def _flash_types?; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helper_methods; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helper_methods=(value); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helper_methods?; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def _helpers; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout=(value); end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout?; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout_conditions; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout_conditions=(value); end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def _layout_conditions?; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def _process_action_callbacks; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def _process_action_callbacks=(value); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def _renderers; end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def _renderers=(value); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def _renderers?; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def _view_cache_dependencies; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def _view_cache_dependencies=(value); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def _view_cache_dependencies?; end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def _wrapper_options; end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def _wrapper_options=(value); end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def _wrapper_options?; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_open_redirect; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_open_redirect=(val); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_path_relative_redirect; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def action_on_path_relative_redirect=(val); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def allow_forgery_protection(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def allow_forgery_protection=(arg); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def allowed_redirect_hosts; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def allowed_redirect_hosts_permissions; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def allowed_redirect_hosts_permissions=(value); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def asset_host(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def asset_host=(arg); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def assets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def assets_dir=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def csrf_token_storage_strategy(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def csrf_token_storage_strategy=(arg); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def default_asset_host_protocol(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def default_asset_host_protocol=(arg); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def default_static_extension(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def default_static_extension=(arg); end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def default_url_options; end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def default_url_options=(value); end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def default_url_options?; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def enable_fragment_cache_logging(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def enable_fragment_cache_logging=(arg); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def escape_json_responses; end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def escape_json_responses=(value); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def escape_json_responses?; end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def etag_with_template_digest; end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def etag_with_template_digest=(value); end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def etag_with_template_digest?; end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def etaggers; end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def etaggers=(value); end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def etaggers?; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_origin_check(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_origin_check=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_strategy(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def forgery_protection_strategy=(arg); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def fragment_cache_keys; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def fragment_cache_keys=(value); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def fragment_cache_keys?; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def helpers_path; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def helpers_path=(value); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def helpers_path?; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def include_all_helpers; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def include_all_helpers=(value); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def include_all_helpers?; end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def javascripts_dir(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def javascripts_dir=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def log_warning_on_csrf_failure(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def log_warning_on_csrf_failure=(arg); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def logger(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def logger=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def per_form_csrf_tokens(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def per_form_csrf_tokens=(arg); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def perform_caching(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def perform_caching=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def raise_on_missing_callback_actions; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def raise_on_missing_callback_actions=(val); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def raise_on_open_redirects; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def raise_on_open_redirects=(val); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def relative_url_root(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def relative_url_root=(arg); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def request_forgery_protection_token(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def request_forgery_protection_token=(arg); end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def rescue_handlers; end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def rescue_handlers=(value); end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def rescue_handlers?; end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def stylesheets_dir(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#274 + # pkg:gem/actionpack#lib/action_controller/base.rb:274 def stylesheets_dir=(arg); end # Shortcut helper that returns all the modules included in @@ -2678,186 +2678,186 @@ class ActionController::Base < ::ActionController::Metal # create a bare controller class, instead of listing the modules required # manually. # - # source://actionpack//lib/action_controller/base.rb#223 + # pkg:gem/actionpack#lib/action_controller/base.rb:223 def without_modules(*modules); end private - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def __class_attr___callbacks; end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def __class_attr___callbacks=(new_value); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def __class_attr__allowed_redirect_hosts; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def __class_attr__allowed_redirect_hosts=(new_value); end - # source://actionpack//lib/action_controller/base.rb#291 + # pkg:gem/actionpack#lib/action_controller/base.rb:291 def __class_attr__default_form_builder; end - # source://actionpack//lib/action_controller/base.rb#291 + # pkg:gem/actionpack#lib/action_controller/base.rb:291 def __class_attr__default_form_builder=(new_value); end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def __class_attr__flash_types; end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def __class_attr__flash_types=(new_value); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def __class_attr__helper_methods; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def __class_attr__helper_methods=(new_value); end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def __class_attr__layout; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def __class_attr__layout=(new_value); end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def __class_attr__layout_conditions; end - # source://actionpack//lib/action_controller/base.rb#278 + # pkg:gem/actionpack#lib/action_controller/base.rb:278 def __class_attr__layout_conditions=(new_value); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def __class_attr__renderers; end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def __class_attr__renderers=(new_value); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def __class_attr__view_cache_dependencies; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def __class_attr__view_cache_dependencies=(new_value); end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def __class_attr__wrapper_options; end - # source://actionpack//lib/action_controller/base.rb#314 + # pkg:gem/actionpack#lib/action_controller/base.rb:314 def __class_attr__wrapper_options=(new_value); end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def __class_attr_allowed_redirect_hosts_permissions; end - # source://actionpack//lib/action_controller/base.rb#277 + # pkg:gem/actionpack#lib/action_controller/base.rb:277 def __class_attr_allowed_redirect_hosts_permissions=(new_value); end - # source://actionpack//lib/action_controller/base.rb#208 + # pkg:gem/actionpack#lib/action_controller/base.rb:208 def __class_attr_config; end - # source://actionpack//lib/action_controller/base.rb#208 + # pkg:gem/actionpack#lib/action_controller/base.rb:208 def __class_attr_config=(new_value); end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def __class_attr_default_url_options; end - # source://actionpack//lib/action_controller/base.rb#276 + # pkg:gem/actionpack#lib/action_controller/base.rb:276 def __class_attr_default_url_options=(new_value); end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def __class_attr_escape_json_responses; end - # source://actionpack//lib/action_controller/base.rb#280 + # pkg:gem/actionpack#lib/action_controller/base.rb:280 def __class_attr_escape_json_responses=(new_value); end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def __class_attr_etag_with_template_digest; end - # source://actionpack//lib/action_controller/base.rb#282 + # pkg:gem/actionpack#lib/action_controller/base.rb:282 def __class_attr_etag_with_template_digest=(new_value); end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def __class_attr_etaggers; end - # source://actionpack//lib/action_controller/base.rb#281 + # pkg:gem/actionpack#lib/action_controller/base.rb:281 def __class_attr_etaggers=(new_value); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def __class_attr_fragment_cache_keys; end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def __class_attr_fragment_cache_keys=(new_value); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def __class_attr_helpers_path; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def __class_attr_helpers_path=(new_value); end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def __class_attr_include_all_helpers; end - # source://actionpack//lib/action_controller/base.rb#275 + # pkg:gem/actionpack#lib/action_controller/base.rb:275 def __class_attr_include_all_helpers=(new_value); end - # source://actionpack//lib/action_controller/base.rb#208 + # pkg:gem/actionpack#lib/action_controller/base.rb:208 def __class_attr_middleware_stack; end - # source://actionpack//lib/action_controller/base.rb#208 + # pkg:gem/actionpack#lib/action_controller/base.rb:208 def __class_attr_middleware_stack=(new_value); end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def __class_attr_rescue_handlers; end - # source://actionpack//lib/action_controller/base.rb#308 + # pkg:gem/actionpack#lib/action_controller/base.rb:308 def __class_attr_rescue_handlers=(new_value); end end end -# source://actionpack//lib/action_controller/base.rb#275 +# pkg:gem/actionpack#lib/action_controller/base.rb:275 module ActionController::Base::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def alert(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def combined_fragment_cache_key(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#293 + # pkg:gem/actionpack#lib/action_controller/base.rb:293 def content_security_policy?(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#293 + # pkg:gem/actionpack#lib/action_controller/base.rb:293 def content_security_policy_nonce(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#289 + # pkg:gem/actionpack#lib/action_controller/base.rb:289 def cookies(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def form_authenticity_token(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#290 + # pkg:gem/actionpack#lib/action_controller/base.rb:290 def notice(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#292 + # pkg:gem/actionpack#lib/action_controller/base.rb:292 def protect_against_forgery?(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/base.rb#284 + # pkg:gem/actionpack#lib/action_controller/base.rb:284 def view_cache_dependencies(*_arg0, **_arg1, &_arg2); end end -# source://actionpack//lib/action_controller/base.rb#231 +# pkg:gem/actionpack#lib/action_controller/base.rb:231 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#319 +# pkg:gem/actionpack#lib/action_controller/base.rb:319 ActionController::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/basic_implicit_render.rb:6 module ActionController::BasicImplicitRender - # source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#13 + # pkg:gem/actionpack#lib/action_controller/metal/basic_implicit_render.rb:13 def default_render; end - # source://actionpack//lib/action_controller/metal/basic_implicit_render.rb#7 + # pkg:gem/actionpack#lib/action_controller/metal/basic_implicit_render.rb:7 def send_action(method, *args); end end @@ -2884,7 +2884,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#28 +# pkg:gem/actionpack#lib/action_controller/caching.rb:28 module ActionController::Caching extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2897,10 +2897,10 @@ module ActionController::Caching private - # source://actionpack//lib/action_controller/caching.rb#44 + # pkg:gem/actionpack#lib/action_controller/caching.rb:44 def instrument_name; end - # source://actionpack//lib/action_controller/caching.rb#36 + # pkg:gem/actionpack#lib/action_controller/caching.rb:36 def instrument_payload(key); end module GeneratedClassMethods @@ -2916,7 +2916,7 @@ module ActionController::Caching end end -# source://actionpack//lib/action_controller/metal/conditional_get.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:9 module ActionController::ConditionalGet include ::ActionController::Head extend ::ActiveSupport::Concern @@ -2969,14 +2969,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#290 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:290 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#309 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:309 def expires_now; end # Sets the `etag`, `last_modified`, or both on the response, and renders a `304 @@ -3069,7 +3069,7 @@ module ActionController::ConditionalGet # # before_action { fresh_when @article, template: "widgets/show" } # - # source://actionpack//lib/action_controller/metal/conditional_get.rb#137 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:137 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. @@ -3081,7 +3081,7 @@ 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#321 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:321 def http_cache_forever(public: T.unsafe(nil)); end # Adds the `must-understand` directive to the `Cache-Control` header, which indicates @@ -3104,13 +3104,13 @@ module ActionController::ConditionalGet # end # end # - # source://actionpack//lib/action_controller/metal/conditional_get.rb#355 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:355 def must_understand; 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#331 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:331 def no_store; end # Sets the `etag` and/or `last_modified` on the response and checks them against @@ -3194,12 +3194,12 @@ module ActionController::ConditionalGet # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/conditional_get.rb#236 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:236 def stale?(object = T.unsafe(nil), **freshness_kwargs); end private - # source://actionpack//lib/action_controller/metal/conditional_get.rb#361 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:361 def combine_etags(validator, options); end module GeneratedClassMethods @@ -3215,7 +3215,7 @@ module ActionController::ConditionalGet end end -# source://actionpack//lib/action_controller/metal/conditional_get.rb#18 +# pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:18 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 @@ -3232,11 +3232,11 @@ module ActionController::ConditionalGet::ClassMethods # end # end # - # source://actionpack//lib/action_controller/metal/conditional_get.rb#33 + # pkg:gem/actionpack#lib/action_controller/metal/conditional_get.rb:33 def etag(&etagger); end end -# source://actionpack//lib/action_controller/metal/content_security_policy.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:6 module ActionController::ContentSecurityPolicy extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3255,13 +3255,13 @@ module ActionController::ContentSecurityPolicy # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#74 + # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:74 def content_security_policy?; end - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#78 + # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:78 def content_security_policy_nonce; end - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#82 + # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:82 def current_content_security_policy; end module GeneratedClassMethods @@ -3280,7 +3280,7 @@ module ActionController::ContentSecurityPolicy end end -# source://actionpack//lib/action_controller/metal/content_security_policy.rb#17 +# pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:17 module ActionController::ContentSecurityPolicy::ClassMethods # Overrides parts of the globally configured `Content-Security-Policy` header: # @@ -3305,7 +3305,7 @@ module ActionController::ContentSecurityPolicy::ClassMethods # content_security_policy false, only: :index # end # - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#40 + # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:40 def content_security_policy(enabled = T.unsafe(nil), **options, &block); end # Overrides the globally configured `Content-Security-Policy-Report-Only` @@ -3321,11 +3321,11 @@ module ActionController::ContentSecurityPolicy::ClassMethods # content_security_policy_report_only false, only: :index # end # - # source://actionpack//lib/action_controller/metal/content_security_policy.rb#66 + # pkg:gem/actionpack#lib/action_controller/metal/content_security_policy.rb:66 def content_security_policy_report_only(report_only = T.unsafe(nil), **options); end end -# source://actionpack//lib/action_controller/metal/cookies.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/cookies.rb:6 module ActionController::Cookies extend ::ActiveSupport::Concern @@ -3334,7 +3334,7 @@ module ActionController::Cookies # The cookies for the current request. See ActionDispatch::Cookies for more # information. # - # source://actionpack//lib/action_controller/metal/cookies.rb#16 + # pkg:gem/actionpack#lib/action_controller/metal/cookies.rb:16 def cookies; end end @@ -3343,7 +3343,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#13 +# pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:13 module ActionController::DataStreaming extend ::ActiveSupport::Concern include ::ActionController::Rendering @@ -3387,7 +3387,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#122 + # pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:122 def send_data(data, options = T.unsafe(nil)); end # Sends the file. This uses a server-appropriate method (such as `X-Sendfile`) @@ -3448,19 +3448,19 @@ module ActionController::DataStreaming # # @raise [MissingFile] # - # source://actionpack//lib/action_controller/metal/data_streaming.rb#77 + # pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:77 def send_file(path, options = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://actionpack//lib/action_controller/metal/data_streaming.rb#127 + # pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:127 def send_file_headers!(options); end end -# source://actionpack//lib/action_controller/metal/data_streaming.rb#19 +# pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:19 ActionController::DataStreaming::DEFAULT_SEND_FILE_DISPOSITION = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/data_streaming.rb#18 +# pkg:gem/actionpack#lib/action_controller/metal/data_streaming.rb:18 ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), String) # # Action Controller Default Headers @@ -3468,16 +3468,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#10 +# pkg:gem/actionpack#lib/action_controller/metal/default_headers.rb:10 module ActionController::DefaultHeaders extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::DefaultHeaders::ClassMethods end -# source://actionpack//lib/action_controller/metal/default_headers.rb#13 +# pkg:gem/actionpack#lib/action_controller/metal/default_headers.rb:13 module ActionController::DefaultHeaders::ClassMethods - # source://actionpack//lib/action_controller/metal/default_headers.rb#14 + # pkg:gem/actionpack#lib/action_controller/metal/default_headers.rb:14 def make_response!(request); end end @@ -3489,7 +3489,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#13 +# pkg:gem/actionpack#lib/action_controller/metal/etag_with_flash.rb:13 module ActionController::EtagWithFlash extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3530,7 +3530,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#25 +# pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:25 module ActionController::EtagWithTemplateDigest extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3541,10 +3541,10 @@ module ActionController::EtagWithTemplateDigest private - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#39 + # pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:39 def determine_template_etag(options); end - # source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#55 + # pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:55 def lookup_and_digest_template(template); end # Pick the template digest to include in the ETag. If the `:template` option is @@ -3552,7 +3552,7 @@ module ActionController::EtagWithTemplateDigest # 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#49 + # pkg:gem/actionpack#lib/action_controller/metal/etag_with_template_digest.rb:49 def pick_template_for_etag(options); end module GeneratedClassMethods @@ -3581,10 +3581,10 @@ end # params.expect!(:a) # # => ActionController::ExpectedParameterMissing: param is missing or the value is empty or invalid: a # -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#49 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:49 class ActionController::ExpectedParameterMissing < ::ActionController::ParameterMissing; end -# source://actionpack//lib/action_controller/metal/flash.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/flash.rb:6 module ActionController::Flash extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3594,7 +3594,7 @@ module ActionController::Flash private - # source://actionpack//lib/action_controller/metal/flash.rb#50 + # pkg:gem/actionpack#lib/action_controller/metal/flash.rb:50 def redirect_to(options = T.unsafe(nil), response_options_and_flash = T.unsafe(nil)); end module GeneratedClassMethods @@ -3606,7 +3606,7 @@ module ActionController::Flash module GeneratedInstanceMethods; end end -# source://actionpack//lib/action_controller/metal/flash.rb#16 +# pkg:gem/actionpack#lib/action_controller/metal/flash.rb:16 module ActionController::Flash::ClassMethods # Creates new flash types. You can pass as many types as you want to create # flash types other than the default `alert` and `notice` in your controllers @@ -3626,7 +3626,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#34 + # pkg:gem/actionpack#lib/action_controller/metal/flash.rb:34 def add_flash_types(*types); end end @@ -3656,7 +3656,7 @@ end # <%= builder.special_field(:name) %> # <% end %> # -# source://actionpack//lib/action_controller/form_builder.rb#31 +# pkg:gem/actionpack#lib/action_controller/form_builder.rb:31 module ActionController::FormBuilder extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3666,7 +3666,7 @@ module ActionController::FormBuilder # Default form builder for the controller # - # source://actionpack//lib/action_controller/form_builder.rb#51 + # pkg:gem/actionpack#lib/action_controller/form_builder.rb:51 def default_form_builder; end module GeneratedClassMethods @@ -3678,7 +3678,7 @@ module ActionController::FormBuilder module GeneratedInstanceMethods; end end -# source://actionpack//lib/action_controller/form_builder.rb#38 +# pkg:gem/actionpack#lib/action_controller/form_builder.rb:38 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. @@ -3687,11 +3687,11 @@ module ActionController::FormBuilder::ClassMethods # * `builder` - Default form builder. Accepts a subclass of # ActionView::Helpers::FormBuilder # - # source://actionpack//lib/action_controller/form_builder.rb#45 + # pkg:gem/actionpack#lib/action_controller/form_builder.rb:45 def default_form_builder(builder); end end -# source://actionpack//lib/action_controller/metal/head.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/head.rb:6 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. This allows you to @@ -3712,14 +3712,14 @@ module ActionController::Head # # @raise [::AbstractController::DoubleRenderError] # - # source://actionpack//lib/action_controller/metal/head.rb#23 + # pkg:gem/actionpack#lib/action_controller/metal/head.rb:23 def head(status, options = T.unsafe(nil)); end private # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/head.rb#58 + # pkg:gem/actionpack#lib/action_controller/metal/head.rb:58 def include_content?(status); end end @@ -3780,7 +3780,7 @@ end # 23 Aug 11:30 | Carolina Railhawks Soccer Match # N/A | Carolina Railhawks Training Workshop # -# source://actionpack//lib/action_controller/metal/helpers.rb#63 +# pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:63 module ActionController::Helpers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3792,20 +3792,20 @@ module ActionController::Helpers # Provides a proxy to access helper methods from outside the view. # - # source://actionpack//lib/action_controller/metal/helpers.rb#125 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:125 def helpers; end class << self # Returns the value of attribute helpers_path. # - # source://actionpack//lib/action_controller/metal/helpers.rb#66 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:66 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#66 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:66 def helpers_path=(_arg0); end end @@ -3834,7 +3834,7 @@ module ActionController::Helpers end end -# source://actionpack//lib/action_controller/metal/helpers.rb#74 +# pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:74 module ActionController::Helpers::ClassMethods # Declares helper accessors for controller attributes. For example, the # following adds new `name` and `name=` instance methods to a controller and @@ -3845,7 +3845,7 @@ module ActionController::Helpers::ClassMethods # #### Parameters # * `attrs` - Names of attributes to be converted into helpers. # - # source://actionpack//lib/action_controller/metal/helpers.rb#84 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:84 def helper_attr(*attrs); end # Provides a proxy to access helper methods from outside the view. @@ -3855,7 +3855,7 @@ module ActionController::Helpers::ClassMethods # [helper](rdoc-ref:AbstractController::Helpers::ClassMethods#helper) instead # when using `capture`. # - # source://actionpack//lib/action_controller/metal/helpers.rb#94 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:94 def helpers; end # Override modules_for_helpers to accept `:all` as argument, which loads all @@ -3868,20 +3868,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#112 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:112 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#119 + # pkg:gem/actionpack#lib/action_controller/metal/helpers.rb:119 def all_application_helpers; end end # HTTP Basic, Digest, and Token authentication. # -# source://actionpack//lib/action_controller/metal/http_authentication.rb#11 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:11 module ActionController::HttpAuthentication; end # # HTTP Basic authentication @@ -3942,57 +3942,57 @@ module ActionController::HttpAuthentication; end # assert_equal 200, status # end # -# source://actionpack//lib/action_controller/metal/http_authentication.rb#69 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:69 module ActionController::HttpAuthentication::Basic extend ::ActionController::HttpAuthentication::Basic - # source://actionpack//lib/action_controller/metal/http_authentication.rb#130 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:130 def auth_param(request); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#126 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:126 def auth_scheme(request); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#108 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:108 def authenticate(request, &login_procedure); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#138 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:138 def authentication_request(controller, realm, message); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#122 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:122 def decode_credentials(request); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#134 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:134 def encode_credentials(user_name, password); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#114 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:114 def has_basic_credentials?(request); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#118 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:118 def user_name_and_password(request); end end -# source://actionpack//lib/action_controller/metal/http_authentication.rb#72 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:72 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#95 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:95 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#99 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:99 def authenticate_with_http_basic(&login_procedure); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#86 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:86 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#103 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:103 def request_http_basic_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/http_authentication.rb#75 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:75 module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods # Enables HTTP Basic authentication. # @@ -4000,7 +4000,7 @@ module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMeth # # @raise [ArgumentError] # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#79 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:79 def http_basic_authenticate_with(name:, password:, realm: T.unsafe(nil), **options); end end @@ -4048,28 +4048,28 @@ end # before 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#189 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:189 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#215 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:215 def authenticate(request, realm, &password_procedure); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#274 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:274 def authentication_header(controller, realm); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#281 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:281 def authentication_request(controller, realm, message = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#267 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:267 def decode_credentials(header); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#263 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:263 def decode_credentials_header(request); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#258 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:258 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 @@ -4077,10 +4077,10 @@ module ActionController::HttpAuthentication::Digest # `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#248 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:248 def expected_response(http_method, uri, credentials, password, password_is_ha1 = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#254 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:254 def ha1(credentials, password); end # Uses an MD5 digest based on time to generate a value to be used only once. @@ -4120,22 +4120,22 @@ module ActionController::HttpAuthentication::Digest # secret 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#330 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:330 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#348 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:348 def opaque(secret_key); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:288 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#222 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:222 def validate_digest_response(request, realm, &password_procedure); end # Might want a shorter timeout depending on whether the request is a PATCH, PUT, @@ -4143,30 +4143,30 @@ module ActionController::HttpAuthentication::Digest # the Stale directive is implemented. This would 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#341 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:341 def validate_nonce(secret_key, request, value, seconds_to_timeout = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/http_authentication.rb#192 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:192 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#197 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:197 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#203 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:203 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#209 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:209 def request_http_digest_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end end @@ -4243,7 +4243,7 @@ end # # RewriteRule ^(.*)$ dispatch.fcgi [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L] # -# source://actionpack//lib/action_controller/metal/http_authentication.rb#425 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:425 module ActionController::HttpAuthentication::Token extend ::ActionController::HttpAuthentication::Token @@ -4261,7 +4261,7 @@ module ActionController::HttpAuthentication::Token # # authenticate(controller) { |token, options| ... } # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#472 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:472 def authenticate(controller, &login_procedure); end # Sets a WWW-Authenticate header to let the client know a token is desired. @@ -4273,7 +4273,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#555 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:555 def authentication_request(controller, realm, message = T.unsafe(nil)); end # Encodes the given token and options into an Authorization header value. @@ -4285,24 +4285,24 @@ module ActionController::HttpAuthentication::Token # * `token` - String token. # * `options` - Optional Hash of the options. # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#539 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:539 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#507 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:507 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#519 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:519 def raw_params(auth); end # This removes the `"` characters wrapping the value. # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#512 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:512 def rewrite_param_values(array_params); end # Parses the token and options out of the token Authorization header. The value @@ -4320,17 +4320,17 @@ module ActionController::HttpAuthentication::Token # # * `request` - ActionDispatch::Request instance with the current headers. # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#494 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:494 def token_and_options(request); end - # source://actionpack//lib/action_controller/metal/http_authentication.rb#502 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:502 def token_params_from(auth); end end -# source://actionpack//lib/action_controller/metal/http_authentication.rb#428 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:428 ActionController::HttpAuthentication::Token::AUTHN_PAIR_DELIMITERS = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_controller/metal/http_authentication.rb#431 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:431 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 to be @@ -4339,7 +4339,7 @@ module ActionController::HttpAuthentication::Token::ControllerMethods # # See ActionController::HttpAuthentication::Token for example usage. # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#438 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:438 def authenticate_or_request_with_http_token(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end # Authenticate using an HTTP Bearer token. Returns the return value of @@ -4347,20 +4347,20 @@ module ActionController::HttpAuthentication::Token::ControllerMethods # # See ActionController::HttpAuthentication::Token for example usage. # - # source://actionpack//lib/action_controller/metal/http_authentication.rb#446 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:446 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#452 + # pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:452 def request_http_token_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/http_authentication.rb#426 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:426 ActionController::HttpAuthentication::Token::TOKEN_KEY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/http_authentication.rb#427 +# pkg:gem/actionpack#lib/action_controller/metal/http_authentication.rb:427 ActionController::HttpAuthentication::Token::TOKEN_REGEX = T.let(T.unsafe(nil), Regexp) # # Action Controller Implicit Render @@ -4391,21 +4391,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#33 +# pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:33 module ActionController::ImplicitRender include ::ActionController::BasicImplicitRender - # source://actionpack//lib/action_controller/metal/implicit_render.rb#37 + # pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:37 def default_render; end - # source://actionpack//lib/action_controller/metal/implicit_render.rb#56 + # pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:56 def method_for_action(action_name); end private # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/implicit_render.rb#63 + # pkg:gem/actionpack#lib/action_controller/metal/implicit_render.rb:63 def interactive_browser_request?; end end @@ -4418,7 +4418,7 @@ end # # Check ActiveRecord::Railties::ControllerRuntime for an example. # -# source://actionpack//lib/action_controller/metal/instrumentation.rb#16 +# pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:16 module ActionController::Instrumentation extend ::ActiveSupport::Concern include ::ActiveSupport::Benchmarkable @@ -4426,25 +4426,25 @@ module ActionController::Instrumentation mixes_in_class_methods ::ActionController::Instrumentation::ClassMethods - # source://actionpack//lib/action_controller/metal/instrumentation.rb#23 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:23 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#49 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:49 def redirect_to(*_arg0); end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#28 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:28 def render(*_arg0); end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#43 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:43 def send_data(data, options = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#36 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:36 def send_file(path, options = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#21 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:21 def view_runtime; end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#21 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:21 def view_runtime=(_arg0); end private @@ -4452,7 +4452,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#105 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:105 def append_info_to_payload(payload); end # A hook which allows you to clean up any time, wrongly taken into account in @@ -4462,32 +4462,32 @@ module ActionController::Instrumentation # super - time_taken_in_something_expensive # end # - # source://actionpack//lib/action_controller/metal/instrumentation.rb#99 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:99 def cleanup_view_runtime; end # A hook invoked every time a before callback is halted. # - # source://actionpack//lib/action_controller/metal/instrumentation.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:89 def halted_callback_hook(filter, _); end - # source://actionpack//lib/action_controller/metal/instrumentation.rb#59 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:59 def process_action(*_arg0); end end -# source://actionpack//lib/action_controller/metal/instrumentation.rb#109 +# pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:109 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#113 + # pkg:gem/actionpack#lib/action_controller/metal/instrumentation.rb:113 def log_process_action(payload); end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#10 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:10 class ActionController::InvalidAuthenticityToken < ::ActionController::ActionControllerError; end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#13 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:13 class ActionController::InvalidCrossOriginRequest < ::ActionController::ActionControllerError; end # Raised when initializing Parameters with keys that aren't strings or symbols. @@ -4495,7 +4495,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#84 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:84 class ActionController::InvalidParameterKey < ::ArgumentError; end # # Action Controller Live @@ -4545,22 +4545,22 @@ class ActionController::InvalidParameterKey < ::ArgumentError; end # ... # end # -# source://actionpack//lib/action_controller/metal/live.rb#56 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:56 module ActionController::Live extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::Live::ClassMethods - # source://actionpack//lib/action_controller/metal/live.rb#371 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:371 def clean_up_thread_locals(*args); end - # source://actionpack//lib/action_controller/metal/live.rb#362 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:362 def new_controller_thread; end - # source://actionpack//lib/action_controller/metal/live.rb#266 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:266 def process(name); end - # source://actionpack//lib/action_controller/metal/live.rb#310 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:310 def response_body=(body); end # Sends a stream to the browser, which is helpful when you're generating exports @@ -4589,19 +4589,19 @@ module ActionController::Live # end # end # - # source://actionpack//lib/action_controller/metal/live.rb#340 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:340 def send_stream(filename:, disposition: T.unsafe(nil), type: T.unsafe(nil)); end private - # source://actionpack//lib/action_controller/metal/live.rb#379 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:379 def log_error(exception); end # Ensure we clean up any thread locals we copied so that the thread can reused. # Because of the above, we need to prevent the clearing of thread locals, since # no new thread is actually spawned in the test environment. # - # source://actionpack//lib/action_controller/test_case.rb#34 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:34 def original_clean_up_thread_locals(locals, thread); end # Spawn a new thread to serve up the controller in. This is to get around the @@ -4613,22 +4613,22 @@ module ActionController::Live # thread will open a new connection and try to access data that's only visible # to the main thread's txn. This is the problem in #23483. # - # source://actionpack//lib/action_controller/test_case.rb#25 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:25 def original_new_controller_thread; end class << self - # source://actionpack//lib/action_controller/metal/live.rb#375 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:375 def live_thread_pool_executor; end end end -# source://actionpack//lib/action_controller/metal/live.rb#152 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:152 class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer include ::MonitorMixin # @return [Buffer] a new instance of Buffer # - # source://actionpack//lib/action_controller/metal/live.rb#167 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:167 def initialize(response); end # Inform the producer/writing thread that the client has disconnected; the @@ -4636,10 +4636,10 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # # See also #close. # - # source://actionpack//lib/action_controller/metal/live.rb#215 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:215 def abort; end - # source://actionpack//lib/action_controller/metal/live.rb#234 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:234 def call_on_error; end # Write a 'close' event to the buffer; the producer/writing thread uses this to @@ -4647,7 +4647,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # # See also #abort. # - # source://actionpack//lib/action_controller/metal/live.rb#203 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:203 def close; end # Is the client still connected and waiting for content? @@ -4657,7 +4657,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/live.rb#226 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:226 def connected?; end # Ignore that the client has disconnected. @@ -4666,7 +4666,7 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # result in the written content being silently discarded. If this value is # `false` (the default), a ClientDisconnected exception will be raised. # - # source://actionpack//lib/action_controller/metal/live.rb#165 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:165 def ignore_disconnect; end # Ignore that the client has disconnected. @@ -4675,60 +4675,60 @@ class ActionController::Live::Buffer < ::ActionDispatch::Response::Buffer # result in the written content being silently discarded. If this value is # `false` (the default), a ClientDisconnected exception will be raised. # - # source://actionpack//lib/action_controller/metal/live.rb#165 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:165 def ignore_disconnect=(_arg0); end - # source://actionpack//lib/action_controller/metal/live.rb#230 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:230 def on_error(&block); end - # source://actionpack//lib/action_controller/metal/live.rb#175 + # pkg:gem/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#195 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:195 def writeln(string); end private - # source://actionpack//lib/action_controller/metal/live.rb#245 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:245 def build_queue(queue_size); end - # source://actionpack//lib/action_controller/metal/live.rb#239 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:239 def each_chunk(&block); end class << self # Returns the value of attribute queue_size. # - # source://actionpack//lib/action_controller/metal/live.rb#156 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:156 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#156 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:156 def queue_size=(_arg0); end end end -# source://actionpack//lib/action_controller/metal/live.rb#59 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:59 module ActionController::Live::ClassMethods - # source://actionpack//lib/action_controller/metal/live.rb#60 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:60 def make_response!(request); end end -# source://actionpack//lib/action_controller/metal/live.rb#149 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:149 class ActionController::Live::ClientDisconnected < ::RuntimeError; end -# source://actionpack//lib/action_controller/metal/live.rb#250 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:250 class ActionController::Live::Response < ::ActionDispatch::Response private - # source://actionpack//lib/action_controller/metal/live.rb#252 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:252 def before_committed; end - # source://actionpack//lib/action_controller/metal/live.rb#259 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:259 def build_buffer(response, body); end end @@ -4771,138 +4771,138 @@ 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#112 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:112 class ActionController::Live::SSE # @return [SSE] a new instance of SSE # - # source://actionpack//lib/action_controller/metal/live.rb#115 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:115 def initialize(stream, options = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/live.rb#120 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:120 def close; end - # source://actionpack//lib/action_controller/metal/live.rb#124 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:124 def write(object, options = T.unsafe(nil)); end private - # source://actionpack//lib/action_controller/metal/live.rb#134 + # pkg:gem/actionpack#lib/action_controller/metal/live.rb:134 def perform_write(json, options); end end -# source://actionpack//lib/action_controller/metal/live.rb#113 +# pkg:gem/actionpack#lib/action_controller/metal/live.rb:113 ActionController::Live::SSE::PERMITTED_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_controller/test_case.rb#184 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:184 class ActionController::LiveTestResponse < ::ActionController::Live::Response # Was there a server-side error? # - # source://actionpack//lib/action_controller/test_case.rb#192 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:192 def error?; end # Was the URL not found? # - # source://actionpack//lib/action_controller/test_case.rb#189 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:189 def missing?; end # Was the response successful? # - # source://actionpack//lib/action_controller/test_case.rb#186 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:186 def success?; end end -# source://actionpack//lib/action_controller/log_subscriber.rb#4 +# pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:4 class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def backtrace_cleaner; end - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def backtrace_cleaner=(_arg0); end - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def backtrace_cleaner?; end - # source://actionpack//lib/action_controller/log_subscriber.rb#89 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:89 def exist_fragment?(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#89 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:89 def expire_fragment(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#47 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:47 def halted_callback(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#101 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:101 def logger; end - # source://actionpack//lib/action_controller/log_subscriber.rb#26 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:26 def process_action(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#89 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:89 def read_fragment(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#105 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:105 def redirect_source_location; end - # source://actionpack//lib/action_controller/log_subscriber.rb#64 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:64 def redirect_to(event); end # Manually subscribed below # - # source://actionpack//lib/action_controller/log_subscriber.rb#53 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:53 def rescue_from_callback(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#73 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:73 def send_data(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#59 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:59 def send_file(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#9 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:9 def start_processing(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#78 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:78 def unpermitted_parameters(event); end - # source://actionpack//lib/action_controller/log_subscriber.rb#89 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:89 def write_fragment(event); end class << self - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def backtrace_cleaner; end - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def backtrace_cleaner=(value); end - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def backtrace_cleaner?; end private - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def __class_attr_backtrace_cleaner; end - # source://actionpack//lib/action_controller/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:7 def __class_attr_backtrace_cleaner=(new_value); end - # source://actionpack//lib/action_controller/log_subscriber.rb#24 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:24 def __class_attr_log_levels; end - # source://actionpack//lib/action_controller/log_subscriber.rb#24 + # pkg:gem/actionpack#lib/action_controller/log_subscriber.rb:24 def __class_attr_log_levels=(new_value); end end end -# source://actionpack//lib/action_controller/log_subscriber.rb#5 +# pkg:gem/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#6 +# pkg:gem/actionpack#lib/action_controller/metal/logging.rb:6 module ActionController::Logging extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::Logging::ClassMethods end -# source://actionpack//lib/action_controller/metal/logging.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/logging.rb:9 module ActionController::Logging::ClassMethods # Set a different log level per request. # @@ -4911,7 +4911,7 @@ module ActionController::Logging::ClassMethods # log_at :debug, if: -> { cookies[:debug] } # end # - # source://actionpack//lib/action_controller/metal/logging.rb#17 + # pkg:gem/actionpack#lib/action_controller/metal/logging.rb:17 def log_at(level, **options); end end @@ -4974,147 +4974,147 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://actionpack//lib/action_controller/metal.rb#121 +# pkg:gem/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#210 + # pkg:gem/actionpack#lib/action_controller/metal.rb:210 def initialize; end # Delegates to ActionDispatch::Response#content_type # - # source://actionpack//lib/action_controller/metal.rb#204 + # pkg:gem/actionpack#lib/action_controller/metal.rb:204 def content_type(*_arg0, **_arg1, &_arg2); end # Delegates to ActionDispatch::Response#content_type= # - # source://actionpack//lib/action_controller/metal.rb#192 + # pkg:gem/actionpack#lib/action_controller/metal.rb:192 def content_type=(arg); end # Delegates to the class's ::controller_name. # - # source://actionpack//lib/action_controller/metal.rb#156 + # pkg:gem/actionpack#lib/action_controller/metal.rb:156 def controller_name; end - # source://actionpack//lib/action_controller/metal.rb#249 + # pkg:gem/actionpack#lib/action_controller/metal.rb:249 def dispatch(name, request, response); end # Delegates to ActionDispatch::Response#headers. # - # source://actionpack//lib/action_controller/metal.rb#180 + # pkg:gem/actionpack#lib/action_controller/metal.rb:180 def headers(*_arg0, **_arg1, &_arg2); end # Delegates to ActionDispatch::Response#location # - # source://actionpack//lib/action_controller/metal.rb#200 + # pkg:gem/actionpack#lib/action_controller/metal.rb:200 def location(*_arg0, **_arg1, &_arg2); end # Delegates to ActionDispatch::Response#location= # - # source://actionpack//lib/action_controller/metal.rb#188 + # pkg:gem/actionpack#lib/action_controller/metal.rb:188 def location=(arg); end # Delegates to ActionDispatch::Response#media_type # - # source://actionpack//lib/action_controller/metal.rb#208 + # pkg:gem/actionpack#lib/action_controller/metal.rb:208 def media_type(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def middleware_stack; end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def middleware_stack=(_arg0); end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def middleware_stack?; end - # source://actionpack//lib/action_controller/metal.rb#219 + # pkg:gem/actionpack#lib/action_controller/metal.rb:219 def params; end - # source://actionpack//lib/action_controller/metal.rb#223 + # pkg:gem/actionpack#lib/action_controller/metal.rb:223 def params=(val); end # Tests if render or redirect has already happened. # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal.rb#245 + # pkg:gem/actionpack#lib/action_controller/metal.rb:245 def performed?; end # :attr_reader: request # # The ActionDispatch::Request instance for the current request. # - # source://actionpack//lib/action_controller/metal.rb#164 + # pkg:gem/actionpack#lib/action_controller/metal.rb:164 def request; end - # source://actionpack//lib/action_controller/metal.rb#164 + # pkg:gem/actionpack#lib/action_controller/metal.rb:164 def request=(_arg0); end - # source://actionpack//lib/action_controller/metal.rb#284 + # pkg:gem/actionpack#lib/action_controller/metal.rb:284 def reset_session; end # :attr_reader: response # # The ActionDispatch::Response instance for the current response. # - # source://actionpack//lib/action_controller/metal.rb#170 + # pkg:gem/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#268 + # pkg:gem/actionpack#lib/action_controller/metal.rb:268 def response=(response); end - # source://actionpack//lib/action_controller/metal.rb#234 + # pkg:gem/actionpack#lib/action_controller/metal.rb:234 def response_body=(body); end # Delegates to ActionDispatch::Response#status # - # source://actionpack//lib/action_controller/metal.rb#227 + # pkg:gem/actionpack#lib/action_controller/metal.rb:227 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 + # pkg:gem/actionpack#lib/action_controller/metal.rb:176 def session(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal.rb#275 + # pkg:gem/actionpack#lib/action_controller/metal.rb:275 def set_request!(request); end - # source://actionpack//lib/action_controller/metal.rb#257 + # pkg:gem/actionpack#lib/action_controller/metal.rb:257 def set_response!(response); end # Delegates to ActionDispatch::Response#status # - # source://actionpack//lib/action_controller/metal.rb#196 + # pkg:gem/actionpack#lib/action_controller/metal.rb:196 def status(*_arg0, **_arg1, &_arg2); end # Delegates to ActionDispatch::Response#status= # - # source://actionpack//lib/action_controller/metal.rb#184 + # pkg:gem/actionpack#lib/action_controller/metal.rb:184 def status=(arg); end - # source://actionpack//lib/action_controller/metal.rb#280 + # pkg:gem/actionpack#lib/action_controller/metal.rb:280 def to_a; end # Basic `url_for` that can be overridden for more robust functionality. # - # source://actionpack//lib/action_controller/metal.rb#230 + # pkg:gem/actionpack#lib/action_controller/metal.rb:230 def url_for(string); end class << self # Returns a Rack endpoint for the given action name. # - # source://actionpack//lib/action_controller/metal.rb#315 + # pkg:gem/actionpack#lib/action_controller/metal.rb:315 def action(name); end - # source://actionpack//lib/action_controller/metal.rb#140 + # pkg:gem/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 @@ -5124,16 +5124,16 @@ class ActionController::Metal < ::AbstractController::Base # #### Returns # * `string` # - # source://actionpack//lib/action_controller/metal.rb#130 + # pkg:gem/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#331 + # pkg:gem/actionpack#lib/action_controller/metal.rb:331 def dispatch(name, req, res); end - # source://actionpack//lib/action_controller/metal.rb#134 + # pkg:gem/actionpack#lib/action_controller/metal.rb:134 def make_response!(request); end # The middleware stack used by this controller. @@ -5149,50 +5149,50 @@ class ActionController::Metal < ::AbstractController::Base # (https://guides.rubyonrails.org/rails_on_rack.html#action-dispatcher-middleware-stack) # in the guides. # - # source://actionpack//lib/action_controller/metal.rb#310 + # pkg:gem/actionpack#lib/action_controller/metal.rb:310 def middleware; end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def middleware_stack; end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def middleware_stack=(value); end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 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#293 + # pkg:gem/actionpack#lib/action_controller/metal.rb:293 def use(*_arg0, **_arg1, &_arg2); end private - # source://actionpack//lib/action_controller/metal.rb#121 + # pkg:gem/actionpack#lib/action_controller/metal.rb:121 def __class_attr_config; end - # source://actionpack//lib/action_controller/metal.rb#121 + # pkg:gem/actionpack#lib/action_controller/metal.rb:121 def __class_attr_config=(new_value); end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def __class_attr_middleware_stack; end - # source://actionpack//lib/action_controller/metal.rb#288 + # pkg:gem/actionpack#lib/action_controller/metal.rb:288 def __class_attr_middleware_stack=(new_value); end # @private # - # source://actionpack//lib/action_controller/metal.rb#146 + # pkg:gem/actionpack#lib/action_controller/metal.rb:146 def inherited(subclass); end end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#52 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:52 class ActionController::MethodNotAllowed < ::ActionController::ActionControllerError # @return [MethodNotAllowed] a new instance of MethodNotAllowed # - # source://actionpack//lib/action_controller/metal/exceptions.rb#53 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:53 def initialize(*allowed_methods); end end @@ -5205,40 +5205,40 @@ end # use AuthenticationMiddleware, except: [:index, :show] # end # -# source://actionpack//lib/action_controller/metal.rb#18 +# pkg:gem/actionpack#lib/action_controller/metal.rb:18 class ActionController::MiddlewareStack < ::ActionDispatch::MiddlewareStack - # source://actionpack//lib/action_controller/metal.rb#31 + # pkg:gem/actionpack#lib/action_controller/metal.rb:31 def build(action, app = T.unsafe(nil), &block); end private - # source://actionpack//lib/action_controller/metal.rb#44 + # pkg:gem/actionpack#lib/action_controller/metal.rb:44 def build_middleware(klass, args, block); end end -# source://actionpack//lib/action_controller/metal.rb#41 +# pkg:gem/actionpack#lib/action_controller/metal.rb:41 ActionController::MiddlewareStack::EXCLUDE = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_controller/metal.rb#40 +# pkg:gem/actionpack#lib/action_controller/metal.rb:40 ActionController::MiddlewareStack::INCLUDE = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_controller/metal.rb#19 +# pkg:gem/actionpack#lib/action_controller/metal.rb:19 class ActionController::MiddlewareStack::Middleware < ::ActionDispatch::MiddlewareStack::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack//lib/action_controller/metal.rb#20 + # pkg:gem/actionpack#lib/action_controller/metal.rb:20 def initialize(klass, args, actions, strategy, block); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal.rb#26 + # pkg:gem/actionpack#lib/action_controller/metal.rb:26 def valid?(action); end end -# source://actionpack//lib/action_controller/metal.rb#42 +# pkg:gem/actionpack#lib/action_controller/metal.rb:42 ActionController::MiddlewareStack::NULL = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_controller/metal/mime_responds.rb#8 +# pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:8 module ActionController::MimeResponds # Without web-service support, an action which collects the data for displaying # a list of people might look something like this: @@ -5446,7 +5446,7 @@ module ActionController::MimeResponds # @raise [ArgumentError] # @yield [collector] # - # source://actionpack//lib/action_controller/metal/mime_responds.rb#211 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:211 def respond_to(*mimes); end end @@ -5472,122 +5472,122 @@ end # 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#251 +# pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:251 class ActionController::MimeResponds::Collector include ::AbstractController::Collector # @return [Collector] a new instance of Collector # - # source://actionpack//lib/action_controller/metal/mime_responds.rb#255 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:255 def initialize(mimes, variant = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#269 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:269 def all(*args, &block); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#262 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:262 def any(*args, &block); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/mime_responds.rb#280 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:280 def any_response?; end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#271 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:271 def custom(mime_type, &block); end # Returns the value of attribute format. # - # source://actionpack//lib/action_controller/metal/mime_responds.rb#253 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:253 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#253 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:253 def format=(_arg0); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#297 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:297 def negotiate_format(request); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#284 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:284 def response; end end -# source://actionpack//lib/action_controller/metal/mime_responds.rb#301 +# pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:301 class ActionController::MimeResponds::Collector::VariantCollector # @return [VariantCollector] a new instance of VariantCollector # - # source://actionpack//lib/action_controller/metal/mime_responds.rb#302 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:302 def initialize(variant = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#316 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:316 def all(*args, &block); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#307 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:307 def any(*args, &block); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#318 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:318 def method_missing(name, *_arg1, &block); end - # source://actionpack//lib/action_controller/metal/mime_responds.rb#322 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:322 def variant; end private - # source://actionpack//lib/action_controller/metal/mime_responds.rb#331 + # pkg:gem/actionpack#lib/action_controller/metal/mime_responds.rb:331 def variant_key; end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#96 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:96 class ActionController::MissingExactTemplate < ::ActionController::UnknownFormat # @return [MissingExactTemplate] a new instance of MissingExactTemplate # - # source://actionpack//lib/action_controller/metal/exceptions.rb#99 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:99 def initialize(message, controller, action_name); end # Returns the value of attribute action_name. # - # source://actionpack//lib/action_controller/metal/exceptions.rb#97 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:97 def action_name; end # Returns the value of attribute controller. # - # source://actionpack//lib/action_controller/metal/exceptions.rb#97 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:97 def controller; end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#61 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:61 class ActionController::MissingFile < ::ActionController::ActionControllerError; end # See `Responder#api_behavior` # -# source://actionpack//lib/action_controller/metal/renderers.rb#17 +# pkg:gem/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 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:18 def initialize(format); end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#58 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:58 class ActionController::NotImplemented < ::ActionController::MethodNotAllowed; end # Specify binary encoding for parameters for a given action. # -# source://actionpack//lib/action_controller/metal/parameter_encoding.rb#7 +# pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:7 module ActionController::ParameterEncoding extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::ParameterEncoding::ClassMethods end -# source://actionpack//lib/action_controller/metal/parameter_encoding.rb#10 +# pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:10 module ActionController::ParameterEncoding::ClassMethods - # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#20 + # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:20 def action_encoding_template(action); end - # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#11 + # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:11 def inherited(klass); end # Specify the encoding for a parameter on an action. If not specified the @@ -5616,10 +5616,10 @@ module ActionController::ParameterEncoding::ClassMethods # 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#79 + # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:79 def param_encoding(action, param, encoding); end - # source://actionpack//lib/action_controller/metal/parameter_encoding.rb#16 + # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:16 def setup_param_encode; end # Specify that a given action's parameters should all be encoded as ASCII-8BIT @@ -5647,7 +5647,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#50 + # pkg:gem/actionpack#lib/action_controller/metal/parameter_encoding.rb:50 def skip_parameter_encoding(action); end end @@ -5661,20 +5661,20 @@ end # params.expect(a: []) # # => ActionController::ParameterMissing: param is missing or the value is empty or invalid: a # -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#25 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:25 class ActionController::ParameterMissing < ::KeyError # @return [ParameterMissing] a new instance of ParameterMissing # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#28 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:28 def initialize(param, keys = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#37 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:37 def corrections; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#26 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:26 def keys; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#26 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:26 def param; end end @@ -5752,7 +5752,7 @@ end # params[:key] # => "value" # params["key"] # => "value" # -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#160 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:160 class ActionController::Parameters include ::ActiveSupport::DeepMergeable @@ -5775,13 +5775,13 @@ class ActionController::Parameters # # @return [Parameters] a new instance of Parameters # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#287 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:287 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#301 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:301 def ==(other); end # Returns a parameter for the given `key`. If not found, returns `nil`. @@ -5790,46 +5790,46 @@ class ActionController::Parameters # params[:person] # => #"Francesco"} permitted: false> # params[:none] # => nil # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#797 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:797 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#803 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:803 def []=(key, value); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:263 def always_permitted_parameters; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:263 def always_permitted_parameters=(val); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 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#974 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:974 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#980 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:980 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#986 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:986 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#992 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:992 def compact_blank!; end # Attribute that keeps track of converted arrays, if any, to avoid double @@ -5840,32 +5840,32 @@ class ActionController::Parameters # 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#435 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:435 def converted_arrays; end # Returns a duplicate `ActionController::Parameters` instance with the same # permitted parameters. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1092 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1092 def deep_dup; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1027 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1027 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#924 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:924 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#933 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:933 def deep_transform_keys!(&block); end # Deletes a key-value pair from `Parameters` and returns the value. If `key` is @@ -5873,12 +5873,12 @@ class ActionController::Parameters # 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#942 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:942 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#970 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:970 def delete_if(&block); end # Extracts the nested parameter from the given `keys` by calling `dig` at each @@ -5891,39 +5891,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#841 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:841 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#410 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:410 def each(&block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 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#402 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:402 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#414 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:414 def each_value(&block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 def empty?(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1086 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1086 def encode_with(coder); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#309 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:309 def eql?(other); end # Returns a new `ActionController::Parameters` instance that filters out the @@ -5933,10 +5933,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#869 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:869 def except(*keys); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 def exclude?(*_arg0, **_arg1, &_arg2); end # `expect` is the preferred way to require and permit parameters. @@ -6039,7 +6039,7 @@ class ActionController::Parameters # permitted.is_a?(Array) # => true # permitted.size # => 2 # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#772 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:772 def expect(*filters); end # Same as `expect`, but raises an `ActionController::ExpectedParameterMissing` @@ -6049,7 +6049,7 @@ class ActionController::Parameters # internal API where incorrectly formatted params would indicate a bug # in a client library that should be fixed. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#786 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:786 def expect!(*filters); end # Removes and returns the key/value pairs matching the given keys. @@ -6058,7 +6058,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#879 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:879 def extract!(*keys); end # Returns parameter value for the given `key` separated by `delimiter`. @@ -6074,7 +6074,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#1110 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1110 def extract_value(key, delimiter: T.unsafe(nil)); end # Returns a parameter for the given `key`. If the `key` can't be found, there @@ -6091,37 +6091,37 @@ class ActionController::Parameters # params.fetch(:none, "Francesco") # => "Francesco" # params.fetch(:none) { "Francesco" } # => "Francesco" # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#820 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:820 def fetch(key, *args); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#253 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:253 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#997 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:997 def has_value?(value); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#315 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:315 def hash; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 def include?(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1068 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1068 def init_with(coder); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1055 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1055 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#957 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:957 def keep_if(&block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#254 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:254 def key?(*_arg0, **_arg1, &_arg2); end # :method: to_s @@ -6131,16 +6131,16 @@ class ActionController::Parameters # # Returns the content of the parameters as a string. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 def keys(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#255 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:255 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#1011 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1011 def merge(other_hash); end # :call-seq: merge!(other_hash) @@ -6148,7 +6148,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#1022 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1022 def merge!(other_hash, &block); end # Returns a new `ActionController::Parameters` instance that includes only the @@ -6289,7 +6289,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#668 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:668 def permit(*filters); end # Sets the `permitted` attribute to `true`. This can be used to pass mass @@ -6305,7 +6305,7 @@ class ActionController::Parameters # params.permitted? # => true # Person.new(params) # => # # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#461 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:461 def permit!; end # Returns `true` if the parameter is permitted, `false` otherwise. @@ -6317,18 +6317,18 @@ class ActionController::Parameters # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#445 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:445 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#961 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:961 def reject(&block); end # Removes items that the block evaluates to true and returns self. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#966 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:966 def reject!(&block); end # This method accepts both a single key and an array of keys. @@ -6378,7 +6378,7 @@ class ActionController::Parameters # params.expect(person: :name).require(:name) # end # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#519 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:519 def require(key); end # This method accepts both a single key and an array of keys. @@ -6428,30 +6428,30 @@ class ActionController::Parameters # params.expect(person: :name).require(:name) # end # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#529 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:529 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#1033 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1033 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#1042 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1042 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#948 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:948 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#953 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:953 def select!(&block); end # Returns a new `ActionController::Parameters` instance that includes only the @@ -6461,20 +6461,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#852 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:852 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#858 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:858 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#1051 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1051 def stringify_keys; end # Returns a safe ActiveSupport::HashWithIndifferentAccess representation of the @@ -6490,7 +6490,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#331 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:331 def to_h(&block); end # Returns a safe `Hash` representation of the parameters with all unpermitted @@ -6506,7 +6506,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#351 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:351 def to_hash; end # Returns a string representation of the receiver suitable for use as a URL @@ -6536,7 +6536,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#384 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:384 def to_param(*args); end # Returns a string representation of the receiver suitable for use as a URL @@ -6566,10 +6566,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#381 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:381 def to_query(*args); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#250 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:250 def to_s(*_arg0, **_arg1, &_arg2); end # Returns an unsafe, unfiltered ActiveSupport::HashWithIndifferentAccess @@ -6582,7 +6582,7 @@ class ActionController::Parameters # params.to_unsafe_h # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"} # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#395 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:395 def to_unsafe_h; end # Returns an unsafe, unfiltered ActiveSupport::HashWithIndifferentAccess @@ -6595,19 +6595,19 @@ class ActionController::Parameters # params.to_unsafe_h # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"} # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#398 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:398 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#906 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:906 def transform_keys(&block); end # Performs keys transformation and returns the altered # `ActionController::Parameters` instance. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#915 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:915 def transform_keys!(&block); end # Returns a new `ActionController::Parameters` instance with the results of @@ -6617,43 +6617,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#889 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:889 def transform_values; end # Performs values transformation and returns the altered # `ActionController::Parameters` instance. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#898 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:898 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#1001 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1001 def value?(value); end # Returns a new array of the values of the parameters. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#424 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:424 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#1005 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1005 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#1038 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1038 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#1046 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1046 def with_defaults!(other_hash); end # Returns a new `ActionController::Parameters` instance that filters out the @@ -6663,42 +6663,42 @@ 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#872 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:872 def without(*keys); end protected - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1123 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1123 def each_nested_attribute; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1119 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1119 def nested_attributes?; end # Returns the value of attribute parameters. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1115 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1115 def parameters; end # Filters self and optionally checks for unpermitted keys # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1130 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1130 def permit_filters(filters, on_unpermitted: T.unsafe(nil), explicit_arrays: T.unsafe(nil)); end # Sets the attribute permitted # # @param value the value to set the attribute permitted to. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1117 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1117 def permitted=(_arg0); end private - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1192 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1192 def _deep_transform_keys_in_object(object, &block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1211 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1211 def _deep_transform_keys_in_object!(object, &block); end # When an array is expected, you must specify an array explicitly @@ -6721,61 +6721,61 @@ class ActionController::Parameters # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1256 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1256 def array_filter?(filter); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1172 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1172 def convert_hashes_to_parameters(key, value); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1156 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1156 def convert_parameters_to_hashes(value, using, &block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1178 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1178 def convert_value_to_parameters(value); end # Called when an explicit array filter is encountered. # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1261 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1261 def each_array_element(object, filter, &block); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1349 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1349 def hash_filter(params, filter, on_unpermitted: T.unsafe(nil), explicit_arrays: T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1434 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1434 def initialize_copy(source); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1150 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1150 def new_instance_with_inherited_permitted_status(hash); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1343 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1343 def non_scalar?(value); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1417 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1417 def permit_any_in_array(array); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1400 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1400 def permit_any_in_parameters(params); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1379 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1379 def permit_array_of_hashes(value, filter, on_unpermitted:, explicit_arrays:); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1375 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1375 def permit_array_of_scalars(value); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1385 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1385 def permit_hash(value, filter, on_unpermitted:, explicit_arrays:); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1395 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1395 def permit_hash_or_array(value, filter, on_unpermitted:, explicit_arrays:); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1361 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1361 def permit_value(value, filter, on_unpermitted:, explicit_arrays:); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1314 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1314 def permitted_scalar?(value); end # Adds existing keys to the params if their values are scalar. @@ -6789,53 +6789,53 @@ class ActionController::Parameters # # puts params.keys # => ["zipcode"] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1328 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1328 def permitted_scalar_filter(params, permitted_key); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1232 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1232 def specify_numeric_keys?(filter); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1286 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1286 def unpermitted_keys(params); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1272 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1272 def unpermitted_parameters!(params, on_unpermitted: T.unsafe(nil)); end class << self - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#165 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:165 def action_on_unpermitted_parameters; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#165 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:165 def action_on_unpermitted_parameters=(val); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:263 def always_permitted_parameters; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#263 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:263 def always_permitted_parameters=(val); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#1059 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1059 def hook_into_yaml_loading; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#266 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:266 def nested_attribute?(key, value); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#163 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:163 def permit_all_parameters; end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#163 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:163 def permit_all_parameters=(val); end end end -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1347 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1347 ActionController::Parameters::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1348 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1348 ActionController::Parameters::EMPTY_HASH = T.let(T.unsafe(nil), Hash) # This is a list of permitted scalar types that includes the ones supported in @@ -6847,7 +6847,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#1298 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1298 ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Array) # # Action Controller Params Wrapper @@ -6923,7 +6923,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#83 +# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:83 module ActionController::ParamsWrapper extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -6933,38 +6933,38 @@ module ActionController::ParamsWrapper private - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#277 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:277 def _extract_parameters(parameters); end - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#299 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:299 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#273 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:273 def _wrap_parameters(parameters); end # Checks if we should perform parameters wrapping. # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#289 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:289 def _wrapper_enabled?; end # Returns the list of enabled formats. # - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#268 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:268 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#263 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:263 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#257 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:257 def process_action(*_arg0); end module GeneratedClassMethods @@ -6980,15 +6980,15 @@ module ActionController::ParamsWrapper end end -# source://actionpack//lib/action_controller/metal/params_wrapper.rb#188 +# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:188 module ActionController::ParamsWrapper::ClassMethods - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#189 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:189 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#244 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:244 def inherited(klass); end # Sets the name of the wrapper key, or the model which `ParamsWrapper` would use @@ -7019,39 +7019,39 @@ 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#221 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:221 def wrap_parameters(name_or_model_or_options, options = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/params_wrapper.rb#86 +# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:86 ActionController::ParamsWrapper::EXCLUDE_PARAMETERS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_controller/metal/params_wrapper.rb#88 +# pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:88 class ActionController::ParamsWrapper::Options < ::Struct # @return [Options] a new instance of Options # - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#97 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:97 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#108 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:108 def include; end # Returns the value of attribute model # # @return [Object] the current value of model # - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#104 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:104 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#141 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:141 def name; end private @@ -7064,23 +7064,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#165 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:165 def _default_wrap_model; end class << self - # source://actionpack//lib/action_controller/metal/params_wrapper.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/params_wrapper.rb:89 def from_hash(hash); end end end -# source://actionpack//lib/action_controller/metal/permissions_policy.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/permissions_policy.rb:6 module ActionController::PermissionsPolicy extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionController::PermissionsPolicy::ClassMethods end -# source://actionpack//lib/action_controller/metal/permissions_policy.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/permissions_policy.rb:9 module ActionController::PermissionsPolicy::ClassMethods # Overrides parts of the globally configured `Feature-Policy` header: # @@ -7106,23 +7106,23 @@ module ActionController::PermissionsPolicy::ClassMethods # # policy.gyroscope :none # end # - # source://actionpack//lib/action_controller/metal/permissions_policy.rb#33 + # pkg:gem/actionpack#lib/action_controller/metal/permissions_policy.rb:33 def permissions_policy(**options, &block); end end -# source://actionpack//lib/action_controller/railtie.rb#13 +# pkg:gem/actionpack#lib/action_controller/railtie.rb:13 class ActionController::Railtie < ::Rails::Railtie; end -# source://actionpack//lib/action_controller/railties/helpers.rb#6 +# pkg:gem/actionpack#lib/action_controller/railties/helpers.rb:6 module ActionController::Railties; end -# source://actionpack//lib/action_controller/railties/helpers.rb#7 +# pkg:gem/actionpack#lib/action_controller/railties/helpers.rb:7 module ActionController::Railties::Helpers - # source://actionpack//lib/action_controller/railties/helpers.rb#8 + # pkg:gem/actionpack#lib/action_controller/railties/helpers.rb:8 def inherited(klass); end end -# source://actionpack//lib/action_controller/metal/rate_limiting.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:6 module ActionController::RateLimiting extend ::ActiveSupport::Concern @@ -7130,11 +7130,11 @@ module ActionController::RateLimiting private - # source://actionpack//lib/action_controller/metal/rate_limiting.rb#72 + # pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:72 def rate_limiting(to:, within:, by:, with:, store:, name:, scope:); end end -# source://actionpack//lib/action_controller/metal/rate_limiting.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:9 module ActionController::RateLimiting::ClassMethods # Applies a rate limit to all actions or those specified by the normal # `before_action` filters with `only:` and `except:`. @@ -7193,11 +7193,11 @@ module ActionController::RateLimiting::ClassMethods # rate_limit to: 10, within: 5.minutes, name: "long-term" # end # - # source://actionpack//lib/action_controller/metal/rate_limiting.rb#66 + # pkg:gem/actionpack#lib/action_controller/metal/rate_limiting.rb:66 def rate_limit(to:, within:, by: T.unsafe(nil), with: T.unsafe(nil), store: T.unsafe(nil), name: T.unsafe(nil), scope: T.unsafe(nil), **options); end end -# source://actionpack//lib/action_controller/metal/redirecting.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:6 module ActionController::Redirecting extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7211,14 +7211,14 @@ module ActionController::Redirecting mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods mixes_in_class_methods ::ActionController::Redirecting::ClassMethods - # source://actionpack//lib/action_controller/metal/redirecting.rb#206 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:206 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#169 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:169 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) if @@ -7245,7 +7245,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#196 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:196 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 @@ -7355,7 +7355,7 @@ module ActionController::Redirecting # # @raise [ActionControllerError] # - # source://actionpack//lib/action_controller/metal/redirecting.rb#150 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:150 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 @@ -7383,33 +7383,33 @@ module ActionController::Redirecting # `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#254 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:254 def url_from(location); end private - # source://actionpack//lib/action_controller/metal/redirecting.rb#260 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:260 def _allow_other_host; end - # source://actionpack//lib/action_controller/metal/redirecting.rb#276 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:276 def _enforce_open_redirect_protection(location, allow_other_host:); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#317 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:317 def _ensure_url_is_http_header_safe(url); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#266 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:266 def _extract_redirect_to_status(options, response_options); end - # source://actionpack//lib/action_controller/metal/redirecting.rb#327 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:327 def _handle_path_relative_redirect(url); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/redirecting.rb#304 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:304 def _url_host_allowed?(url); end class << self - # source://actionpack//lib/action_controller/metal/redirecting.rb#227 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:227 def _compute_redirect_to_location(request, options); end end @@ -7430,35 +7430,35 @@ module ActionController::Redirecting end end -# source://actionpack//lib/action_controller/metal/redirecting.rb#36 +# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:36 module ActionController::Redirecting::ClassMethods - # source://actionpack//lib/action_controller/metal/redirecting.rb#37 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:37 def allowed_redirect_hosts=(hosts); end end -# source://actionpack//lib/action_controller/metal/redirecting.rb#26 +# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:26 ActionController::Redirecting::ILLEGAL_HEADER_VALUE_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_controller/metal/redirecting.rb#14 +# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:14 class ActionController::Redirecting::OpenRedirectError < ::ActionController::Redirecting::UnsafeRedirectError # @return [OpenRedirectError] a new instance of OpenRedirectError # - # source://actionpack//lib/action_controller/metal/redirecting.rb#15 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:15 def initialize(location); end end -# source://actionpack//lib/action_controller/metal/redirecting.rb#20 +# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:20 class ActionController::Redirecting::PathRelativeRedirectError < ::ActionController::Redirecting::UnsafeRedirectError # @return [PathRelativeRedirectError] a new instance of PathRelativeRedirectError # - # source://actionpack//lib/action_controller/metal/redirecting.rb#21 + # pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:21 def initialize(url); end end -# source://actionpack//lib/action_controller/metal/redirecting.rb#12 +# pkg:gem/actionpack#lib/action_controller/metal/redirecting.rb:12 class ActionController::Redirecting::UnsafeRedirectError < ::StandardError; end -# source://actionpack//lib/action_controller/metal/exceptions.rb#16 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:16 class ActionController::RenderError < ::ActionController::ActionControllerError; end # # Action Controller Renderer @@ -7482,7 +7482,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#27 +# pkg:gem/actionpack#lib/action_controller/renderer.rb:27 class ActionController::Renderer # Initializes a new Renderer. # @@ -7515,71 +7515,71 @@ class ActionController::Renderer # # @return [Renderer] a new instance of Renderer # - # source://actionpack//lib/action_controller/renderer.rb#110 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:110 def initialize(controller, env, defaults); end # Returns the value of attribute controller. # - # source://actionpack//lib/action_controller/renderer.rb#28 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:28 def controller; end - # source://actionpack//lib/action_controller/renderer.rb#121 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:121 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#72 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:72 def new(env = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/renderer.rb#150 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:150 def normalize_env(env, &_arg1); end # Renders a template to a string, just like # ActionController::Rendering#render_to_string. # - # source://actionpack//lib/action_controller/renderer.rb#128 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:128 def render(*args); end # Renders a template to a string, just like # ActionController::Rendering#render_to_string. # - # source://actionpack//lib/action_controller/renderer.rb#137 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:137 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#78 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:78 def with_defaults(defaults); end private - # source://actionpack//lib/action_controller/renderer.rb#152 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:152 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#64 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:64 def for(controller, env = T.unsafe(nil), defaults = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/renderer.rb#35 + # pkg:gem/actionpack#lib/action_controller/renderer.rb:35 def normalize_env(env); end end end -# source://actionpack//lib/action_controller/renderer.rb#30 +# pkg:gem/actionpack#lib/action_controller/renderer.rb:30 ActionController::Renderer::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_controller/renderer.rb#148 +# pkg:gem/actionpack#lib/action_controller/renderer.rb:148 ActionController::Renderer::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_controller/renderer.rb#140 +# pkg:gem/actionpack#lib/action_controller/renderer.rb:140 ActionController::Renderer::RACK_KEY_TRANSLATION = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_controller/metal/renderers.rb#23 +# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:23 module ActionController::Renderers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7588,19 +7588,19 @@ module ActionController::Renderers mixes_in_class_methods ::ActionController::Renderers::ClassMethods mixes_in_class_methods ::ActionController::Renderers::DeprecatedEscapeJsonResponses - # source://actionpack//lib/action_controller/metal/renderers.rb#158 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:158 def _render_to_body_with_renderer(options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:89 def _render_with_renderer_js(js, options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:89 def _render_with_renderer_json(json, options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:89 def _render_with_renderer_markdown(md, options); end - # source://actionpack//lib/action_controller/metal/renderers.rb#89 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:89 def _render_with_renderer_xml(xml, options); end # Called by `render` in AbstractController::Rendering which sets the return @@ -7609,11 +7609,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#154 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:154 def render_to_body(options); end class << self - # source://actionpack//lib/action_controller/metal/renderers.rb#104 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:104 def _render_with_renderer_method_name(key); end # Adds a new renderer to call within controller actions. A renderer is invoked @@ -7645,7 +7645,7 @@ module ActionController::Renderers # end # end # - # source://actionpack//lib/action_controller/metal/renderers.rb#88 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:88 def add(key, &block); end # This method is the opposite of add method. @@ -7654,7 +7654,7 @@ module ActionController::Renderers # # ActionController::Renderers.remove(:csv) # - # source://actionpack//lib/action_controller/metal/renderers.rb#98 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:98 def remove(key); end end @@ -7677,7 +7677,7 @@ end # Used in ActionController::Base and ActionController::API to include all # renderers by default. # -# source://actionpack//lib/action_controller/metal/renderers.rb#51 +# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:51 module ActionController::Renderers::All extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7703,7 +7703,7 @@ module ActionController::Renderers::All end end -# source://actionpack//lib/action_controller/metal/renderers.rb#108 +# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:108 module ActionController::Renderers::ClassMethods # Adds, by name, a renderer or renderers to the `_renderers` available to call # within controller actions. @@ -7739,7 +7739,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#146 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:146 def use_renderer(*args); end # Adds, by name, a renderer or renderers to the `_renderers` available to call @@ -7776,23 +7776,23 @@ 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#142 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:142 def use_renderers(*args); end end -# source://actionpack//lib/action_controller/metal/renderers.rb#30 +# pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:30 module ActionController::Renderers::DeprecatedEscapeJsonResponses - # source://actionpack//lib/action_controller/metal/renderers.rb#31 + # pkg:gem/actionpack#lib/action_controller/metal/renderers.rb:31 def escape_json_responses=(value); 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 +# pkg:gem/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#6 +# pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:6 module ActionController::Rendering extend ::ActiveSupport::Concern @@ -7930,10 +7930,10 @@ module ActionController::Rendering # # @raise [::AbstractController::DoubleRenderError] # - # source://actionpack//lib/action_controller/metal/rendering.rb#171 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:171 def render(*args); end - # source://actionpack//lib/action_controller/metal/rendering.rb#191 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:191 def render_to_body(options = T.unsafe(nil)); end # Similar to #render, but only returns the rendered template as a string, @@ -7941,64 +7941,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#180 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:180 def render_to_string(*_arg0); end private # Normalize both text and status options. # - # source://actionpack//lib/action_controller/metal/rendering.rb#233 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:233 def _normalize_options(options); end - # source://actionpack//lib/action_controller/metal/rendering.rb#247 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:247 def _normalize_text(options); end # Process controller specific options, as status, content-type and location. # - # source://actionpack//lib/action_controller/metal/rendering.rb#256 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:256 def _process_options(options); end - # source://actionpack//lib/action_controller/metal/rendering.rb#202 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:202 def _process_variant(options); end - # source://actionpack//lib/action_controller/metal/rendering.rb#208 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:208 def _render_in_priorities(options); end - # source://actionpack//lib/action_controller/metal/rendering.rb#216 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:216 def _set_html_content_type; end - # source://actionpack//lib/action_controller/metal/rendering.rb#220 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:220 def _set_rendered_content_type(format); end - # source://actionpack//lib/action_controller/metal/rendering.rb#226 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:226 def _set_vary_header; end # Before processing, set the request formats in current controller formats. # - # source://actionpack//lib/action_controller/metal/rendering.rb#197 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:197 def process_action(*_arg0); end end -# source://actionpack//lib/action_controller/metal/rendering.rb#11 +# pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:11 module ActionController::Rendering::ClassMethods - # source://actionpack//lib/action_controller/metal/rendering.rb#23 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:23 def inherited(klass); end - # source://actionpack//lib/action_controller/metal/rendering.rb#13 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:13 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#17 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:17 def renderer; end - # source://actionpack//lib/action_controller/metal/rendering.rb#19 + # pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:19 def setup_renderer!; end end -# source://actionpack//lib/action_controller/metal/rendering.rb#9 +# pkg:gem/actionpack#lib/action_controller/metal/rendering.rb:9 ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), Array) # # Action Controller Request Forgery Protection @@ -8049,7 +8049,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#63 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:63 module ActionController::RequestForgeryProtection extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -8059,13 +8059,13 @@ module ActionController::RequestForgeryProtection mixes_in_class_methods GeneratedClassMethods - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#373 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:373 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#383 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:383 def commit_csrf_token(request); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#378 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:378 def reset_csrf_token(request); end private @@ -8074,46 +8074,46 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#476 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:476 def any_authenticity_token_valid?; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#557 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:557 def compare_with_global_token(token, session = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#553 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:553 def compare_with_real_token(token, session = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#594 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:594 def csrf_token_hmac(session, identifier); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#673 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:673 def decode_csrf_token(encoded_csrf_token); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#669 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:669 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#614 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:614 def form_authenticity_param; end # Creates the authenticity token for the current request. # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#488 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:488 def form_authenticity_token(form_options: T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#665 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:665 def generate_csrf_token; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#590 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:590 def global_csrf_token(session = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#408 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:408 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#446 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:446 def mark_for_same_origin_verification!; end # If the `verify_authenticity_token` before_action ran, verify that JavaScript @@ -8121,53 +8121,53 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#452 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:452 def marked_for_same_origin_verification?; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#546 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:546 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#494 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:494 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#457 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:457 def non_xhr_javascript_response?; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#645 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:645 def normalize_action_path(action_path); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#655 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:655 def normalize_relative_action_path(rel_action_path); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#583 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:583 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#619 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:619 def protect_against_forgery?; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#575 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:575 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#483 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:483 def request_authenticity_tokens; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#539 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:539 def unmask_token(masked_token); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#418 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:418 def unverified_request_warning_message; end # Checks the client's masked token to see if it matches the session token. @@ -8175,12 +8175,12 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#509 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:509 def valid_authenticity_token?(session, encoded_masked_token); end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#561 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:561 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 Origin @@ -8188,7 +8188,7 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#635 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:635 def valid_request_origin?; end # Returns true or false if a request is verified. Checks: @@ -8200,7 +8200,7 @@ module ActionController::RequestForgeryProtection # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#470 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:470 def verified_request?; end # The actual before_action that is used to verify the CSRF token. Don't override @@ -8213,17 +8213,17 @@ module ActionController::RequestForgeryProtection # responses are for XHR requests, ensuring they follow the browser's same-origin # policy. # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#398 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:398 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#436 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:436 def verify_same_origin_request; end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#602 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:602 def xor_byte_strings(s1, s2); end module GeneratedClassMethods @@ -8242,16 +8242,16 @@ module ActionController::RequestForgeryProtection end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#461 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:461 ActionController::RequestForgeryProtection::AUTHENTICITY_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer) -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#426 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:426 ActionController::RequestForgeryProtection::CROSS_ORIGIN_JAVASCRIPT_WARNING = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#64 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:64 ActionController::RequestForgeryProtection::CSRF_TOKEN = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#113 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:113 module ActionController::RequestForgeryProtection::ClassMethods # Turn on request forgery protection. Bear in mind that GET and HEAD requests # are not checked. @@ -8346,7 +8346,7 @@ module ActionController::RequestForgeryProtection::ClassMethods # protect_from_forgery store: CustomStore.new # end # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#206 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:206 def protect_from_forgery(options = T.unsafe(nil)); end # Turn off request forgery protection. This is a wrapper for: @@ -8355,137 +8355,137 @@ module ActionController::RequestForgeryProtection::ClassMethods # # See `skip_before_action` for allowed options. # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#223 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:223 def skip_forgery_protection(options = T.unsafe(nil)); end private # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#255 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:255 def is_storage_strategy?(object); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#228 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:228 def protection_method_class(name); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#243 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:243 def storage_strategy(name); end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#340 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:340 class ActionController::RequestForgeryProtection::CookieStore # @return [CookieStore] a new instance of CookieStore # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#341 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:341 def initialize(cookie = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#345 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:345 def fetch(request); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#368 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:368 def reset(request); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#357 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:357 def store(request, csrf_token); end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#587 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:587 ActionController::RequestForgeryProtection::GLOBAL_CSRF_TOKEN_IDENTIFIER = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#623 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:623 ActionController::RequestForgeryProtection::NULL_ORIGIN_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#260 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:260 module ActionController::RequestForgeryProtection::ProtectionMethods; end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#313 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:313 class ActionController::RequestForgeryProtection::ProtectionMethods::Exception # @return [Exception] a new instance of Exception # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#316 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:316 def initialize(controller); end # @raise [ActionController::InvalidAuthenticityToken] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#320 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:320 def handle_unverified_request; end # Returns the value of attribute warning_message. # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#314 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:314 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#314 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:314 def warning_message=(_arg0); end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#261 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:261 class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession # @return [NullSession] a new instance of NullSession # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#262 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:262 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#268 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:268 def handle_unverified_request; end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#296 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:296 class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullCookieJar < ::ActionDispatch::Cookies::CookieJar - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#297 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:297 def write(*_arg0); end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#277 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:277 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#278 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:278 def initialize(req); end # no-op # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#285 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:285 def destroy; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#291 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:291 def enabled?; end # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#287 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:287 def exists?; end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#303 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:303 class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession # @return [ResetSession] a new instance of ResetSession # - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#304 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:304 def initialize(controller); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#308 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:308 def handle_unverified_request; end end -# source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#326 +# pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:326 class ActionController::RequestForgeryProtection::SessionStore - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#327 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:327 def fetch(request); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#335 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:335 def reset(request); end - # source://actionpack//lib/action_controller/metal/request_forgery_protection.rb#331 + # pkg:gem/actionpack#lib/action_controller/metal/request_forgery_protection.rb:331 def store(request, csrf_token); end end @@ -8496,7 +8496,7 @@ end # controllers, wrapping actions to handle configured errors, and configuring # when detailed exceptions must be shown. # -# source://actionpack//lib/action_controller/metal/rescue.rb#12 +# pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:12 module ActionController::Rescue extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -8514,12 +8514,12 @@ module ActionController::Rescue # # @return [Boolean] # - # source://actionpack//lib/action_controller/metal/rescue.rb#30 + # pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:30 def show_detailed_exceptions?; end private - # source://actionpack//lib/action_controller/metal/rescue.rb#35 + # pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:35 def process_action(*_arg0); end module GeneratedClassMethods @@ -8535,9 +8535,9 @@ module ActionController::Rescue end end -# source://actionpack//lib/action_controller/metal/rescue.rb#16 +# pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:16 module ActionController::Rescue::ClassMethods - # source://actionpack//lib/action_controller/metal/rescue.rb#17 + # pkg:gem/actionpack#lib/action_controller/metal/rescue.rb:17 def handler_for_rescue(exception, *_arg1, **_arg2, &_arg3); end end @@ -8552,39 +8552,39 @@ end # end # end # -# source://actionpack//lib/action_controller/metal/exceptions.rb#88 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:88 class ActionController::RespondToMismatchError < ::ActionController::ActionControllerError # @return [RespondToMismatchError] a new instance of RespondToMismatchError # - # source://actionpack//lib/action_controller/metal/exceptions.rb#91 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:91 def initialize(message = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#89 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:89 ActionController::RespondToMismatchError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_controller/metal/exceptions.rb#19 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:19 class ActionController::RoutingError < ::ActionController::ActionControllerError # @return [RoutingError] a new instance of RoutingError # - # source://actionpack//lib/action_controller/metal/exceptions.rb#21 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:21 def initialize(message, failures = T.unsafe(nil)); end # Returns the value of attribute failures. # - # source://actionpack//lib/action_controller/metal/exceptions.rb#20 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:20 def failures; end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#64 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:64 class ActionController::SessionOverflowError < ::ActionController::ActionControllerError # @return [SessionOverflowError] a new instance of SessionOverflowError # - # source://actionpack//lib/action_controller/metal/exceptions.rb#67 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:67 def initialize(message = T.unsafe(nil)); end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#65 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:65 ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) # # Action Controller Streaming @@ -8751,13 +8751,13 @@ ActionController::SessionOverflowError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), S # # Rack 3+ compatible servers all support streaming. # -# source://actionpack//lib/action_controller/metal/streaming.rb#169 +# pkg:gem/actionpack#lib/action_controller/metal/streaming.rb:169 module ActionController::Streaming private # Call render_body if we are streaming instead of usual `render`. # - # source://actionpack//lib/action_controller/metal/streaming.rb#172 + # pkg:gem/actionpack#lib/action_controller/metal/streaming.rb:172 def _render_template(options); end end @@ -8830,79 +8830,79 @@ end # See ActionController::Parameters.require, and # ActionController::Parameters.permit for more information. # -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#1508 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1508 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#1511 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1511 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#1526 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:1526 def params=(value); end end -# source://actionpack//lib/action_controller/structured_event_subscriber.rb#4 +# pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:4 class ActionController::StructuredEventSubscriber < ::ActiveSupport::StructuredEventSubscriber # @return [Boolean] # - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#87 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:87 def exist_fragment?(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#91 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:91 def expire_fragment(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#43 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:43 def halted_callback(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#25 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:25 def process_action(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#83 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:83 def read_fragment(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#60 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:60 def redirect_to(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#47 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:47 def rescue_from_callback(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#64 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:64 def send_data(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#56 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:56 def send_file(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:7 def start_processing(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#68 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:68 def unpermitted_parameters(event); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#79 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:79 def write_fragment(event); end private - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#106 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:106 def additions_for(payload); end - # source://actionpack//lib/action_controller/structured_event_subscriber.rb#96 + # pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:96 def fragment_cache(method_name, event); end end -# source://actionpack//lib/action_controller/structured_event_subscriber.rb#5 +# pkg:gem/actionpack#lib/action_controller/structured_event_subscriber.rb:5 ActionController::StructuredEventSubscriber::INTERNAL_PARAMS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_controller/template_assertions.rb#6 +# pkg:gem/actionpack#lib/action_controller/template_assertions.rb:6 module ActionController::TemplateAssertions # @raise [NoMethodError] # - # source://actionpack//lib/action_controller/template_assertions.rb#7 + # pkg:gem/actionpack#lib/action_controller/template_assertions.rb:7 def assert_template(options = T.unsafe(nil), message = T.unsafe(nil)); end end @@ -9022,7 +9022,7 @@ end # # assert_redirected_to page_url(title: 'foo') # -# source://actionpack//lib/action_controller/test_case.rb#368 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:368 class ActionController::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::ConstantLookup include ::ActionDispatch::TestProcess::FixtureFile @@ -9039,51 +9039,51 @@ class ActionController::TestCase < ::ActiveSupport::TestCase extend ::ActionController::TestCase::Behavior::ClassMethods extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def _controller_class; end - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def _controller_class=(_arg0); end - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def _controller_class?; end - # source://actionpack//lib/action_controller/test_case.rb#600 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:600 def _run_setup_callbacks(&block); end class << self - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def _controller_class; end - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def _controller_class=(value); end - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def _controller_class?; end - # source://actionpack//lib/action_controller/test_case.rb#369 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:369 def executor_around_each_request; end - # source://actionpack//lib/action_controller/test_case.rb#369 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:369 def executor_around_each_request=(_arg0); end private - # source://actionpack//lib/action_controller/test_case.rb#600 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:600 def __class_attr___callbacks; end - # source://actionpack//lib/action_controller/test_case.rb#600 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:600 def __class_attr___callbacks=(new_value); end - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def __class_attr__controller_class; end - # source://actionpack//lib/action_controller/test_case.rb#599 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:599 def __class_attr__controller_class=(new_value); end end end -# source://actionpack//lib/action_controller/test_case.rb#371 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:371 module ActionController::TestCase::Behavior include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::TestProcess @@ -9102,19 +9102,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#592 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:592 def build_response(klass); end - # source://actionpack//lib/action_controller/test_case.rb#552 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:552 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#463 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:463 def delete(action, **args); end - # source://actionpack//lib/action_controller/test_case.rb#556 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:556 def generated_path(generated_extras); end # Simulate a GET request with the given parameters. @@ -9141,25 +9141,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#439 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:439 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#469 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:469 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#451 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:451 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#445 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:445 def post(action, **args); end # Simulate an HTTP request to `action` by specifying request method, parameters @@ -9202,49 +9202,49 @@ module ActionController::TestCase::Behavior # # Note that the request method is not verified. # - # source://actionpack//lib/action_controller/test_case.rb#512 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:512 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#457 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:457 def put(action, **args); end - # source://actionpack//lib/action_controller/test_case.rb#560 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:560 def query_parameter_names(generated_extras); end # Returns the value of attribute request. # - # source://actionpack//lib/action_controller/test_case.rb#377 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:377 def request; end # Returns the value of attribute response. # - # source://actionpack//lib/action_controller/test_case.rb#377 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:377 def response; end - # source://actionpack//lib/action_controller/test_case.rb#564 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:564 def setup_controller_request_and_response; end private - # source://actionpack//lib/action_controller/test_case.rb#685 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:685 def check_required_ivars; end - # source://actionpack//lib/action_controller/test_case.rb#681 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:681 def document_root_element; end - # source://actionpack//lib/action_controller/test_case.rb#635 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:635 def process_controller_response(action, cookies, xhr); end - # source://actionpack//lib/action_controller/test_case.rb#671 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:671 def scrub_env!(env); end - # source://actionpack//lib/action_controller/test_case.rb#605 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:605 def setup_request(controller_class_name, action, parameters, session, flash, xhr); end - # source://actionpack//lib/action_controller/test_case.rb#627 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:627 def wrap_execution(&block); end module GeneratedClassMethods @@ -9260,15 +9260,15 @@ module ActionController::TestCase::Behavior end end -# source://actionpack//lib/action_controller/test_case.rb#379 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:379 module ActionController::TestCase::Behavior::ClassMethods - # source://actionpack//lib/action_controller/test_case.rb#401 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:401 def controller_class; end - # source://actionpack//lib/action_controller/test_case.rb#397 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:397 def controller_class=(new_class); end - # source://actionpack//lib/action_controller/test_case.rb#409 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:409 def determine_default_controller_class(name); end # Sets the controller class name. Useful if the name can't be inferred from test @@ -9278,125 +9278,125 @@ module ActionController::TestCase::Behavior::ClassMethods # tests :widget # tests 'widget' # - # source://actionpack//lib/action_controller/test_case.rb#386 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:386 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#46 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:46 class ActionController::TestRequest < ::ActionDispatch::TestRequest # @return [TestRequest] a new instance of TestRequest # - # source://actionpack//lib/action_controller/test_case.rb#69 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:69 def initialize(env, session, controller_class); end - # source://actionpack//lib/action_controller/test_case.rb#88 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:88 def assign_parameters(routes, controller_path, action, parameters, generated_path, query_string_keys); end - # source://actionpack//lib/action_controller/test_case.rb#84 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:84 def content_type=(type); end # Returns the value of attribute controller_class. # - # source://actionpack//lib/action_controller/test_case.rb#54 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:54 def controller_class; end - # source://actionpack//lib/action_controller/test_case.rb#80 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:80 def query_string=(string); end private - # source://actionpack//lib/action_controller/test_case.rb#179 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:179 def params_parsers; end class << self # Create a new test request with default `env` values. # - # source://actionpack//lib/action_controller/test_case.rb#57 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:57 def create(controller_class); end - # source://actionpack//lib/action_controller/test_case.rb#50 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:50 def new_session; end private - # source://actionpack//lib/action_controller/test_case.rb#64 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:64 def default_env; end end end -# source://actionpack//lib/action_controller/test_case.rb#47 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:47 ActionController::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_controller/test_case.rb#151 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:151 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#197 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:197 class ActionController::TestSession < ::Rack::Session::Abstract::PersistedSecure::SecureSessionHash # @return [TestSession] a new instance of TestSession # - # source://actionpack//lib/action_controller/test_case.rb#200 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:200 def initialize(session = T.unsafe(nil), id = T.unsafe(nil)); end - # source://actionpack//lib/action_controller/test_case.rb#220 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:220 def destroy; end - # source://actionpack//lib/action_controller/test_case.rb#224 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:224 def dig(*keys); end # @return [Boolean] # - # source://actionpack//lib/action_controller/test_case.rb#233 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:233 def enabled?; end # @return [Boolean] # - # source://actionpack//lib/action_controller/test_case.rb#208 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:208 def exists?; end - # source://actionpack//lib/action_controller/test_case.rb#229 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:229 def fetch(key, *args, &block); end - # source://actionpack//lib/action_controller/test_case.rb#237 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:237 def id_was; end - # source://actionpack//lib/action_controller/test_case.rb#212 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:212 def keys; end - # source://actionpack//lib/action_controller/test_case.rb#216 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:216 def values; end private - # source://actionpack//lib/action_controller/test_case.rb#242 + # pkg:gem/actionpack#lib/action_controller/test_case.rb:242 def load!; end end -# source://actionpack//lib/action_controller/test_case.rb#198 +# pkg:gem/actionpack#lib/action_controller/test_case.rb:198 ActionController::TestSession::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_controller/metal/testing.rb#6 +# pkg:gem/actionpack#lib/action_controller/metal/testing.rb:6 module ActionController::Testing; end # Behavior specific to functional tests # -# source://actionpack//lib/action_controller/metal/testing.rb#8 +# pkg:gem/actionpack#lib/action_controller/metal/testing.rb:8 module ActionController::Testing::Functional - # source://actionpack//lib/action_controller/metal/testing.rb#9 + # pkg:gem/actionpack#lib/action_controller/metal/testing.rb:9 def clear_instance_variables_between_requests; end - # source://actionpack//lib/action_controller/metal/testing.rb#18 + # pkg:gem/actionpack#lib/action_controller/metal/testing.rb:18 def recycle!; end end # Raised when a Rate Limit is exceeded by too many requests within a period of # time. # -# source://actionpack//lib/action_controller/metal/exceptions.rb#109 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:109 class ActionController::TooManyRequests < ::ActionController::ActionControllerError; end # Raised when a Parameters instance is not marked as permitted and an operation @@ -9406,18 +9406,18 @@ class ActionController::TooManyRequests < ::ActionController::ActionControllerEr # params.to_h # # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash # -# source://actionpack//lib/action_controller/metal/strong_parameters.rb#74 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:74 class ActionController::UnfilteredParameters < ::ArgumentError # @return [UnfilteredParameters] a new instance of UnfilteredParameters # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#75 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:75 def initialize; end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#75 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:75 class ActionController::UnknownFormat < ::ActionController::ActionControllerError; end -# source://actionpack//lib/action_controller/metal/exceptions.rb#72 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:72 class ActionController::UnknownHttpMethod < ::ActionController::ActionControllerError; end # Raised when a supplied parameter is not expected and @@ -9428,14 +9428,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#59 +# pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:59 class ActionController::UnpermittedParameters < ::IndexError # @return [UnpermittedParameters] a new instance of UnpermittedParameters # - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#62 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:62 def initialize(params); end - # source://actionpack//lib/action_controller/metal/strong_parameters.rb#60 + # pkg:gem/actionpack#lib/action_controller/metal/strong_parameters.rb:60 def params; end end @@ -9461,7 +9461,7 @@ end # end # end # -# source://actionpack//lib/action_controller/metal/url_for.rb#27 +# pkg:gem/actionpack#lib/action_controller/metal/url_for.rb:27 module ActionController::UrlFor extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -9471,10 +9471,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#32 + # pkg:gem/actionpack#lib/action_controller/metal/url_for.rb:32 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_controller/metal/url_for.rb#37 + # pkg:gem/actionpack#lib/action_controller/metal/url_for.rb:37 def url_options; end module GeneratedClassMethods @@ -9490,31 +9490,31 @@ module ActionController::UrlFor end end -# source://actionpack//lib/action_controller/metal/exceptions.rb#27 +# pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:27 class ActionController::UrlGenerationError < ::ActionController::ActionControllerError include ::DidYouMean::Correctable # @return [UrlGenerationError] a new instance of UrlGenerationError # - # source://actionpack//lib/action_controller/metal/exceptions.rb#30 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:30 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#41 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:41 def corrections; end # Returns the value of attribute method_name. # - # source://actionpack//lib/action_controller/metal/exceptions.rb#28 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:28 def method_name; end # Returns the value of attribute route_name. # - # source://actionpack//lib/action_controller/metal/exceptions.rb#28 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:28 def route_name; end # Returns the value of attribute routes. # - # source://actionpack//lib/action_controller/metal/exceptions.rb#28 + # pkg:gem/actionpack#lib/action_controller/metal/exceptions.rb:28 def routes; end end @@ -9527,68 +9527,68 @@ end # 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#5 +# pkg:gem/actionpack#lib/action_dispatch/deprecator.rb:5 module ActionDispatch extend ::ActiveSupport::Autoload - # source://actionpack//lib/action_dispatch.rb#149 + # pkg:gem/actionpack#lib/action_dispatch.rb:149 def eager_load!; end - # source://actionpack//lib/action_dispatch.rb#127 + # pkg:gem/actionpack#lib/action_dispatch.rb:127 def test_app; end - # source://actionpack//lib/action_dispatch.rb#127 + # pkg:gem/actionpack#lib/action_dispatch.rb:127 def test_app=(val); end class << self - # source://actionpack//lib/action_dispatch/deprecator.rb#6 + # pkg:gem/actionpack#lib/action_dispatch/deprecator.rb:6 def deprecator; end - # source://actionpack//lib/action_dispatch.rb#127 + # pkg:gem/actionpack#lib/action_dispatch.rb:127 def test_app; end - # source://actionpack//lib/action_dispatch.rb#127 + # pkg:gem/actionpack#lib/action_dispatch.rb:127 def test_app=(val); end - # source://actionpack//lib/action_dispatch.rb#146 + # pkg:gem/actionpack#lib/action_dispatch.rb:146 def verbose_redirect_logs; end - # source://actionpack//lib/action_dispatch.rb#146 + # pkg:gem/actionpack#lib/action_dispatch.rb:146 def verbose_redirect_logs=(_arg0); end end end -# source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:9 class ActionDispatch::ActionableExceptions # @return [ActionableExceptions] a new instance of ActionableExceptions # - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:12 def initialize(app); end - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:16 def call(env); end - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10 def endpoint; end - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10 def endpoint=(val); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:26 def actionable_request?(request); end - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:30 def redirect_to(location); end class << self - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10 def endpoint; end - # source://actionpack//lib/action_dispatch/middleware/actionable_exceptions.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/actionable_exceptions.rb:10 def endpoint=(val); end end end @@ -9597,7 +9597,7 @@ end # 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#9 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:9 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, indicating any @@ -9606,35 +9606,35 @@ class ActionDispatch::AssertionResponse # @raise [ArgumentError] # @return [AssertionResponse] a new instance of AssertionResponse # - # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#22 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:22 def initialize(code_or_name); end # Returns the value of attribute code. # - # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:10 def code; end - # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:35 def code_and_name; end # Returns the value of attribute name. # - # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:10 def name; end private - # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:40 def code_from_name(name); end - # source://actionpack//lib/action_dispatch/testing/assertion_response.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:44 def name_from_code(code); end end -# source://actionpack//lib/action_dispatch/testing/assertion_response.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertion_response.rb:12 ActionDispatch::AssertionResponse::GENERIC_RESPONSE_CODES = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#6 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:6 module ActionDispatch::Assertions include ::ActionDispatch::Assertions::ResponseAssertions include ::Rails::Dom::Testing::Assertions::DomAssertions @@ -9645,26 +9645,26 @@ module ActionDispatch::Assertions mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack//lib/action_dispatch/testing/assertions.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions.rb:17 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#8 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:8 module ActionDispatch::Assertions::ResponseAssertions # Asserts that the given +text+ is present somewhere in the response body. # # assert_in_body fixture(:name).description # - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#77 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:77 def assert_in_body(text); end # Asserts that the given +text+ is not present anywhere in the response body. # # assert_not_in_body fixture(:name).description # - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:84 def assert_not_in_body(text); end # Asserts that the response is a redirect to a URL matching the given options. @@ -9685,7 +9685,7 @@ module ActionDispatch::Assertions::ResponseAssertions # # Permanently). # assert_redirected_to "/some/path", status: :moved_permanently # - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:60 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: @@ -9706,42 +9706,42 @@ 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#33 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:33 def assert_response(type, message = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#129 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:129 def code_with_name(code_or_name); end - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:118 def exception_if_present; end - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:103 def generate_response_message(expected, actual = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:123 def location_if_redirected; end - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#94 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:94 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#90 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:90 def parameterize(value); end - # source://actionpack//lib/action_dispatch/testing/assertions/response.rb#113 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:113 def response_body_if_short; end end -# source://actionpack//lib/action_dispatch/testing/assertions/response.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/response.rb:9 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#15 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:15 module ActionDispatch::Assertions::RoutingAssertions extend ::ActiveSupport::Concern @@ -9767,7 +9767,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#216 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:216 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 @@ -9807,7 +9807,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#176 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:176 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 @@ -9833,15 +9833,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#260 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:260 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#273 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:273 def method_missing(selector, *_arg1, **_arg2, &_arg3); end - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#115 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:115 def setup; end # A helper to make it easier to test different route configurations. This method @@ -9857,29 +9857,29 @@ module ActionDispatch::Assertions::RoutingAssertions # assert_equal "/users", users_path # end # - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#133 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:133 def with_routing(config = T.unsafe(nil), &block); end private # @yield [@routes] # - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#282 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:282 def create_routes(config = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#348 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:348 def fail_on(exception_class, message); end # Recognizes the route for a given path. # - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#314 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:314 def recognized_request_for(path, extras = T.unsafe(nil), msg); end - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#306 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:306 def reset_routes(old_routes, old_controller); end end -# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#88 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:88 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 before each test. @@ -9893,36 +9893,36 @@ module ActionDispatch::Assertions::RoutingAssertions::ClassMethods # end # end # - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#101 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:101 def with_routing(&block); end end -# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#18 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:18 module ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:40 def with_routing(&block); end private # @yield [routes] # - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:58 def create_routes; end - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#50 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:50 def initialize_lazy_routes(routes); end - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:80 def reset_routes(old_routes, old_routes_call_method, old_integration_session); end end -# source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#21 +# pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:21 module ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods - # source://actionpack//lib/action_dispatch/testing/assertions/routing.rb#22 + # pkg:gem/actionpack#lib/action_dispatch/testing/assertions/routing.rb:22 def with_routing(&block); end end @@ -9934,14 +9934,14 @@ end # 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#13 +# pkg:gem/actionpack#lib/action_dispatch/middleware/assume_ssl.rb:13 class ActionDispatch::AssumeSSL # @return [AssumeSSL] a new instance of AssumeSSL # - # source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/middleware/assume_ssl.rb:14 def initialize(app); end - # source://actionpack//lib/action_dispatch/middleware/assume_ssl.rb#18 + # pkg:gem/actionpack#lib/action_dispatch/middleware/assume_ssl.rb:18 def call(env); end end @@ -9949,7 +9949,7 @@ end # # Provides callbacks to be executed before and after dispatching the request. # -# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:9 class ActionDispatch::Callbacks include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods @@ -9957,87 +9957,87 @@ class ActionDispatch::Callbacks # @return [Callbacks] a new instance of Callbacks # - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:24 def initialize(app); end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10 def __callbacks; end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12 def _call_callbacks; end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12 def _run_call_callbacks; end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12 def _run_call_callbacks!(&block); end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:28 def call(env); end class << self - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10 def __callbacks; end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10 def __callbacks=(value); end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12 def _call_callbacks; end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:12 def _call_callbacks=(value); end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:19 def after(*args, &block); end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:15 def before(*args, &block); end private - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10 def __class_attr___callbacks; end - # source://actionpack//lib/action_dispatch/middleware/callbacks.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/callbacks.rb:10 def __class_attr___callbacks=(new_value); end end end -# source://actionpack//lib/action_dispatch/constants.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:8 module ActionDispatch::Constants; end -# source://actionpack//lib/action_dispatch/constants.rb#23 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:23 ActionDispatch::Constants::CONTENT_ENCODING = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#24 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:24 ActionDispatch::Constants::CONTENT_SECURITY_POLICY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#25 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:25 ActionDispatch::Constants::CONTENT_SECURITY_POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#27 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:27 ActionDispatch::Constants::FEATURE_POLICY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#26 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:26 ActionDispatch::Constants::LOCATION = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#30 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:30 ActionDispatch::Constants::SERVER_TIMING = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#31 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:31 ActionDispatch::Constants::STRICT_TRANSPORT_SECURITY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#37 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:37 ActionDispatch::Constants::UNPROCESSABLE_CONTENT = T.let(T.unsafe(nil), Symbol) -# source://actionpack//lib/action_dispatch/constants.rb#22 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:22 ActionDispatch::Constants::VARY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#29 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:29 ActionDispatch::Constants::X_CASCADE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/constants.rb#28 +# pkg:gem/actionpack#lib/action_dispatch/constants.rb:28 ActionDispatch::Constants::X_REQUEST_ID = T.let(T.unsafe(nil), String) # # Action Dispatch Content Security Policy @@ -10060,16 +10060,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#28 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:28 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#182 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:182 def initialize; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def base_uri(*sources); end # Specify whether to prevent the user agent from loading any assets over HTTP @@ -10081,48 +10081,48 @@ class ActionDispatch::ContentSecurityPolicy # # policy.block_all_mixed_content false # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#210 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:210 def block_all_mixed_content(enabled = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#299 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:299 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#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def child_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def connect_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def default_src(*sources); end # Returns the value of attribute directives. # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#180 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:180 def directives; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def font_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def form_action(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def frame_ancestors(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def frame_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def img_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def manifest_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def media_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def object_src(*sources); end # Restricts the set of plugins that can be embedded: @@ -10133,10 +10133,10 @@ class ActionDispatch::ContentSecurityPolicy # # policy.plugin_types # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#226 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:226 def plugin_types(*types); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def prefetch_src(*sources); end # Enable the [report-uri](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-uri) @@ -10145,7 +10145,7 @@ class ActionDispatch::ContentSecurityPolicy # # policy.report_uri "/csp-violation-report-endpoint" # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#240 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:240 def report_uri(uri); end # Specify asset types for which [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) is required: @@ -10156,10 +10156,10 @@ class ActionDispatch::ContentSecurityPolicy # # policy.require_sri_for # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#252 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:252 def require_sri_for(*types); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 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) @@ -10175,28 +10175,28 @@ class ActionDispatch::ContentSecurityPolicy # # policy.sandbox false # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#273 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:273 def sandbox(*values); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def script_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def script_src_attr(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def script_src_elem(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def style_src(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def style_src_attr(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def style_src_elem(*sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def trusted_types(*sources); end # Specify whether user agents should treat any assets over HTTP as HTTPS: @@ -10207,130 +10207,130 @@ class ActionDispatch::ContentSecurityPolicy # # policy.upgrade_insecure_requests false # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#291 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:291 def upgrade_insecure_requests(enabled = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:192 def worker_src(*sources); end private - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#324 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:324 def apply_mapping(source); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#305 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:305 def apply_mappings(sources); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#358 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:358 def build_directive(directive, sources, context); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#330 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:330 def build_directives(context, nonce, nonce_directives); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#386 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:386 def hash_source?(source); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#187 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:187 def initialize_copy(other); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:382 def nonce_directive?(directive, nonce_directives); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#364 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:364 def resolve_source(source, context); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#346 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:346 def validate(directive, sources); end end -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#176 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:176 ActionDispatch::ContentSecurityPolicy::DEFAULT_NONCE_DIRECTIVES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#149 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:149 ActionDispatch::ContentSecurityPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#174 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:174 ActionDispatch::ContentSecurityPolicy::HASH_SOURCE_ALGORITHM_PREFIXES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#29 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:29 class ActionDispatch::ContentSecurityPolicy::InvalidDirectiveError < ::StandardError; end -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#128 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:128 ActionDispatch::ContentSecurityPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#32 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:32 class ActionDispatch::ContentSecurityPolicy::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#33 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:33 def initialize(app); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:37 def call(env); end private - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#59 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:59 def header_name(request); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:67 def policy_present?(headers); end end -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#73 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:73 module ActionDispatch::ContentSecurityPolicy::Request - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:80 def content_security_policy; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:84 def content_security_policy=(policy); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:112 def content_security_policy_nonce; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:104 def content_security_policy_nonce_directives; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#108 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:108 def content_security_policy_nonce_directives=(generator); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#96 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:96 def content_security_policy_nonce_generator; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#100 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:100 def content_security_policy_nonce_generator=(generator); end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#88 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:88 def content_security_policy_report_only; end - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#92 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:92 def content_security_policy_report_only=(value); end private - # source://actionpack//lib/action_dispatch/http/content_security_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:123 def generate_content_security_policy_nonce; end end -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#77 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:77 ActionDispatch::ContentSecurityPolicy::Request::NONCE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#78 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:78 ActionDispatch::ContentSecurityPolicy::Request::NONCE_DIRECTIVES = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#76 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:76 ActionDispatch::ContentSecurityPolicy::Request::NONCE_GENERATOR = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#74 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:74 ActionDispatch::ContentSecurityPolicy::Request::POLICY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/content_security_policy.rb#75 +# pkg:gem/actionpack#lib/action_dispatch/http/content_security_policy.rb:75 ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY = T.let(T.unsafe(nil), String) # Read and write data to cookies through ActionController::Cookies#cookies. @@ -10431,70 +10431,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#195 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:195 class ActionDispatch::Cookies # @return [Cookies] a new instance of Cookies # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#702 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:702 def initialize(app); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#706 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:706 def call(env); end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#201 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:201 ActionDispatch::Cookies::AUTHENTICATED_ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#506 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:506 class ActionDispatch::Cookies::AbstractCookieJar include ::ActionDispatch::Cookies::ChainedCookieJars # @return [AbstractCookieJar] a new instance of AbstractCookieJar # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#509 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:509 def initialize(parent_jar); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#513 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:513 def [](name); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#525 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:525 def []=(name, options); end protected - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#537 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:537 def request; end private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#555 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:555 def commit(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#548 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:548 def cookie_metadata(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#540 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:540 def expiry_options(options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#554 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:554 def parse(name, data, purpose: T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#207 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:207 ActionDispatch::Cookies::COOKIES_DIGEST = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#208 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:208 ActionDispatch::Cookies::COOKIES_ROTATIONS = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#209 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:209 ActionDispatch::Cookies::COOKIES_SAME_SITE_PROTECTION = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#206 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:206 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#219 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:219 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 @@ -10514,7 +10514,7 @@ module ActionDispatch::Cookies::ChainedCookieJars # # cookies.encrypted[:discount] # => 45 # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#274 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:274 def encrypted; end # Returns a jar that'll automatically set the assigned cookies to have an @@ -10532,7 +10532,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#234 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:234 def permanent; end # Returns a jar that'll automatically generate a signed representation of cookie @@ -10551,73 +10551,73 @@ module ActionDispatch::Cookies::ChainedCookieJars # # cookies.signed[:discount] # => 45 # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#253 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:253 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#281 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:281 def signed_or_encrypted; end private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#304 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:304 def encrypted_cookie_cipher; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#298 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:298 def prepare_upgrade_legacy_hmac_aes_cbc_cookies?; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#308 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:308 def signed_cookie_digest; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#291 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:291 def upgrade_legacy_hmac_aes_cbc_cookies?; end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#313 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:313 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#324 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:324 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#345 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:345 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#379 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:379 def []=(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:441 def always_write_cookie; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:441 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#425 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:425 def clear(options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#334 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:334 def commit!; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#332 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:332 def committed?; end # Removes the cookie on the client machine by setting the value to an empty @@ -10626,7 +10626,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#404 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:404 def delete(name, options = T.unsafe(nil)); end # Whether the given cookie is to be deleted by this CookieJar. Like `[]=`, you @@ -10635,184 +10635,184 @@ class ActionDispatch::Cookies::CookieJar # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#418 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:418 def deleted?(name, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#340 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:340 def each(&block); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#349 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:349 def fetch(name, *args, &block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#356 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:356 def has_key?(name); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#353 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:353 def key?(name); end # Returns the value of attribute request. # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#322 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:322 def request; end # Returns the cookies as Hash. # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#359 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:359 def to_hash(*_arg0); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#373 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:373 def to_header; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#361 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:361 def update(other_hash); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#366 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:366 def update_cookies_from_jar; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#429 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:429 def write(response); end private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#444 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:444 def escape(string); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#452 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:452 def handle_options(options); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#448 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:448 def write_cookie?(cookie); end class << self - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:441 def always_write_cookie; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#441 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:441 def always_write_cookie=(val); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#316 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:316 def build(req, cookies); end end end # Raised when storing more than 4K of session data. # -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#216 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:216 class ActionDispatch::Cookies::CookieOverflow < ::StandardError; end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#203 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:203 ActionDispatch::Cookies::ENCRYPTED_COOKIE_CIPHER = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#199 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:199 ActionDispatch::Cookies::ENCRYPTED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#200 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:200 ActionDispatch::Cookies::ENCRYPTED_SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#650 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:650 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#653 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:653 def initialize(parent_jar); end private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#695 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:695 def commit(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#687 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:687 def parse(name, encrypted_message, purpose: T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#197 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:197 ActionDispatch::Cookies::GENERATOR_KEY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#196 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:196 ActionDispatch::Cookies::HTTP_HEADER = T.let(T.unsafe(nil), String) # Cookies can typically store 4096 bytes. # -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#213 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:213 ActionDispatch::Cookies::MAX_COOKIE_SIZE = T.let(T.unsafe(nil), Integer) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#558 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:558 class ActionDispatch::Cookies::PermanentCookieJar < ::ActionDispatch::Cookies::AbstractCookieJar private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#560 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:560 def commit(name, options); end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#205 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:205 ActionDispatch::Cookies::SECRET_KEY_BASE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#204 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:204 ActionDispatch::Cookies::SIGNED_COOKIE_DIGEST = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#198 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:198 ActionDispatch::Cookies::SIGNED_COOKIE_SALT = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#565 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:565 module ActionDispatch::Cookies::SerializedCookieJars protected - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#569 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:569 def digest; end private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#612 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:612 def check_for_overflow!(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#608 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:608 def commit(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#594 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:594 def parse(name, dumped, force_reserialize: T.unsafe(nil), **_arg3); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#588 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:588 def reserialize?(dumped); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#574 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:574 def serializer; end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#566 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:566 ActionDispatch::Cookies::SerializedCookieJars::SERIALIZER = ActiveSupport::MessageEncryptor::NullSerializer -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#621 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:621 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#624 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:624 def initialize(parent_jar); end private - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#643 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:643 def commit(name, options); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#637 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:637 def parse(name, signed_message, purpose: T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#202 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:202 ActionDispatch::Cookies::USE_AUTHENTICATED_COOKIE_ENCRYPTION = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#210 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:210 ActionDispatch::Cookies::USE_COOKIES_WITH_METADATA = T.let(T.unsafe(nil), String) # # Action Dispatch DebugExceptions @@ -10820,69 +10820,69 @@ 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#15 +# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:15 class ActionDispatch::DebugExceptions # @return [DebugExceptions] a new instance of DebugExceptions # - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:23 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#30 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:30 def call(env); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#206 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:206 def api_request?(content_type); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#148 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:148 def compose_exception_message(wrapper); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:118 def create_template(request, wrapper); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#50 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:50 def invoke_interceptors(request, exception, wrapper); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#180 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:180 def log_array(logger, lines, request); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#138 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:138 def log_error(request, wrapper); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#210 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:210 def log_rescued_responses?(request); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#192 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:192 def logger(request); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#134 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:134 def render(status, body, format); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:58 def render_exception(request, exception, wrapper); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#94 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:94 def render_for_api_request(content_type, wrapper); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:80 def render_for_browser_request(request, wrapper); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#200 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:200 def routes_inspector(exception); end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#196 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:196 def stderr_logger; end class << self - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:16 def interceptors; end - # source://actionpack//lib/action_dispatch/middleware/debug_exceptions.rb#18 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_exceptions.rb:18 def register_interceptor(object = T.unsafe(nil), &block); end end end @@ -10911,296 +10911,296 @@ 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#29 +# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:29 class ActionDispatch::DebugLocks # @return [DebugLocks] a new instance of DebugLocks # - # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:30 def initialize(app, path = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:35 def call(env); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#108 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:108 def blocked_by?(victim, blocker, all_threads); end - # source://actionpack//lib/action_dispatch/middleware/debug_locks.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_locks.rb:49 def render_details(req); end end -# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#11 +# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:11 class ActionDispatch::DebugView < ::ActionView::Base # @return [DebugView] a new instance of DebugView # - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:14 def initialize(assigns); end - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#20 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:20 def compiled_method_container; end - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:44 def debug_hash(object); end - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#36 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:36 def debug_headers(headers); end - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:24 def debug_params(params); end - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:58 def editor_url(location, line: T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#73 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:73 def params_valid?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#69 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:69 def protect_against_forgery?; end - # source://actionpack//lib/action_dispatch/middleware/debug_view.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:48 def render(*_arg0); end end -# source://actionpack//lib/action_dispatch/middleware/debug_view.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/middleware/debug_view.rb:12 ActionDispatch::DebugView::RESCUES_TEMPLATE_PATHS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#11 +# pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:11 class ActionDispatch::ExceptionWrapper # @return [ExceptionWrapper] a new instance of ExceptionWrapper # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#51 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:51 def initialize(backtrace_cleaner, exception); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:102 def actions; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:114 def annotated_source_code; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#136 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:136 def application_trace; end # Returns the value of attribute backtrace_cleaner. # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:49 def backtrace_cleaner; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#90 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:90 def corrections; end # Returns the value of attribute exception. # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:49 def exception; end # Returns the value of attribute exception_class_name. # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:49 def exception_class_name; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#234 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:234 def exception_id; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#230 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:230 def exception_inspect; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#222 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:222 def exception_name; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:130 def exception_trace; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#78 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:78 def failures; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#94 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:94 def file_name; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#140 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:140 def framework_trace; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#144 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:144 def full_trace; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:74 def has_cause?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#82 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:82 def has_corrections?; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#98 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:98 def line_number; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#226 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:226 def message; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:86 def original_message; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#200 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:200 def rescue_response?; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12 def rescue_responses; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12 def rescue_responses=(val); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:122 def rescue_template; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:31 def rescue_templates; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:31 def rescue_templates=(val); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#62 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:62 def routing_error?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#185 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:185 def show?(request); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:44 def silent_exceptions; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:44 def silent_exceptions=(val); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#204 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:204 def source_extracts; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#218 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:218 def source_to_show_id; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#126 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:126 def status_code; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#70 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:70 def sub_template_message; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#66 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:66 def template_error?; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#210 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:210 def trace_to_show; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#148 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:148 def traces; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#106 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:106 def unwrapped_exception; end # Returns the value of attribute wrapped_causes. # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:49 def wrapped_causes; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:40 def wrapper_exceptions; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:40 def wrapper_exceptions=(val); end private # Returns the value of attribute backtrace. # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#258 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:258 def backtrace; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#260 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:260 def build_backtrace; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#283 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:283 def causes_for(exception); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#293 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:293 def clean_backtrace(*args); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#346 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:346 def extract_file_and_line_number(trace); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#301 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:301 def extract_source(trace); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#330 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:330 def extract_source_fragment_lines(source_lines, line); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#336 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:336 def source_fragment(path, line); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#289 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:289 def wrapped_causes_for(exception, backtrace_cleaner); end class << self - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12 def rescue_responses; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:12 def rescue_responses=(val); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:31 def rescue_templates; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:31 def rescue_templates=(val); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:44 def silent_exceptions; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:44 def silent_exceptions=(val); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#181 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:181 def status_code_for_exception(class_name); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:40 def wrapper_exceptions; end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:40 def wrapper_exceptions=(val); end end end -# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#239 +# pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:239 class ActionDispatch::ExceptionWrapper::SourceMapLocation # @return [SourceMapLocation] a new instance of SourceMapLocation # - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#240 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:240 def initialize(location, template); end - # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#245 + # pkg:gem/actionpack#lib/action_dispatch/middleware/exception_wrapper.rb:245 def spot(exc); end end -# source://actionpack//lib/action_dispatch/middleware/executor.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/middleware/executor.rb:8 class ActionDispatch::Executor # @return [Executor] a new instance of Executor # - # source://actionpack//lib/action_dispatch/middleware/executor.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/middleware/executor.rb:9 def initialize(app, executor); end - # source://actionpack//lib/action_dispatch/middleware/executor.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/middleware/executor.rb:13 def call(env); end end @@ -11220,40 +11220,40 @@ end # "index"` to change the default `path`/index.html, and optional additional # response headers. # -# source://actionpack//lib/action_dispatch/middleware/static.rb#47 +# pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:47 class ActionDispatch::FileHandler # @return [FileHandler] a new instance of FileHandler # - # source://actionpack//lib/action_dispatch/middleware/static.rb#55 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:55 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#69 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:69 def attempt(env); end - # source://actionpack//lib/action_dispatch/middleware/static.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:65 def call(env); end private - # source://actionpack//lib/action_dispatch/middleware/static.rb#185 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:185 def clean_path(path_info); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/static.rb#149 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:149 def compressible?(content_type); end # @yield [path, content_type || "text/plain"] # - # source://actionpack//lib/action_dispatch/middleware/static.rb#162 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:162 def each_candidate_filepath(path_info); end - # source://actionpack//lib/action_dispatch/middleware/static.rb#153 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:153 def each_precompressed_filepath(filepath); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/static.rb#144 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:144 def file_readable?(path); end # Match a URI path to a static file to be served. @@ -11267,22 +11267,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#104 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:104 def find_file(path_info, accept_encoding:); end - # source://actionpack//lib/action_dispatch/middleware/static.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:80 def serve(request, filepath, content_headers); end - # source://actionpack//lib/action_dispatch/middleware/static.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:112 def try_files(filepath, content_type, accept_encoding:); end - # source://actionpack//lib/action_dispatch/middleware/static.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:122 def try_precompressed_files(filepath, headers, accept_encoding:); end end # `Accept-Encoding` value -> file extension # -# source://actionpack//lib/action_dispatch/middleware/static.rb#49 +# pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:49 ActionDispatch::FileHandler::PRECOMPRESSED = T.let(T.unsafe(nil), Hash) # # Action Dispatch Flash @@ -11328,46 +11328,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#50 +# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:50 class ActionDispatch::Flash class << self - # source://actionpack//lib/action_dispatch/middleware/flash.rb#312 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:312 def new(app); end end end -# source://actionpack//lib/action_dispatch/middleware/flash.rb#119 +# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:119 class ActionDispatch::Flash::FlashHash include ::Enumerable # @return [FlashHash] a new instance of FlashHash # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#149 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:149 def initialize(flashes = T.unsafe(nil), discard = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:169 def [](k); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#163 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:163 def []=(k, v); end # Convenience accessor for `flash[:alert]`. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#280 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:280 def alert; end # Convenience accessor for `flash[:alert]=`. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#285 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:285 def alert=(message); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#204 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:204 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#189 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:189 def delete(key); end # Marks the entire flash or a single flash entry to be discarded by the end of @@ -11379,15 +11379,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#264 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:264 def discard(k = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#209 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:209 def each(&block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#200 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:200 def empty?; end # Keeps either the entire current flash or a specific flash entry available for @@ -11396,28 +11396,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#250 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:250 def keep(k = T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#183 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:183 def key?(name); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#179 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:179 def keys; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#213 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:213 def merge!(h); end # Convenience accessor for `flash[:notice]`. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#290 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:290 def notice; end # Convenience accessor for `flash[:notice]=`. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#295 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:295 def notice=(message); end # Sets a flash that will not be available to the next action, only to the @@ -11441,10 +11441,10 @@ 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#241 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:241 def now; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#215 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:215 def replace(h); end # Mark for removal entries that were kept, and delete unkept ones. @@ -11452,100 +11452,100 @@ class ActionDispatch::Flash::FlashHash # 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#274 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:274 def sweep; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#196 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:196 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#143 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:143 def to_session_value; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#173 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:173 def update(h); end protected # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#300 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:300 def now_is_loaded?; end private - # source://actionpack//lib/action_dispatch/middleware/flash.rb#155 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:155 def initialize_copy(other); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#305 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:305 def stringify_array(array); end class << self - # source://actionpack//lib/action_dispatch/middleware/flash.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:122 def from_session_value(value); end end end -# source://actionpack//lib/action_dispatch/middleware/flash.rb#90 +# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:90 class ActionDispatch::Flash::FlashNow # @return [FlashNow] a new instance of FlashNow # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:93 def initialize(flash); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:104 def [](k); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:97 def []=(k, v); end # Convenience accessor for `flash.now[:alert]=`. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#109 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:109 def alert=(message); end # Returns the value of attribute flash. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:91 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#91 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:91 def flash=(_arg0); end # Convenience accessor for `flash.now[:notice]=`. # - # source://actionpack//lib/action_dispatch/middleware/flash.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:114 def notice=(message); end end -# source://actionpack//lib/action_dispatch/middleware/flash.rb#51 +# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:51 ActionDispatch::Flash::KEY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/flash.rb#53 +# pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:53 module ActionDispatch::Flash::RequestMethods - # source://actionpack//lib/action_dispatch/middleware/flash.rb#71 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:71 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#57 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:57 def flash; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#63 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:63 def flash=(flash); end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:67 def flash_hash; end - # source://actionpack//lib/action_dispatch/middleware/flash.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/middleware/flash.rb:84 def reset_session; end end @@ -11566,122 +11566,122 @@ end # 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#22 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:22 class ActionDispatch::HostAuthorization # @return [HostAuthorization] a new instance of HostAuthorization # - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#127 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:127 def initialize(app, hosts, exclude: T.unsafe(nil), response_app: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#135 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:135 def call(env); end private - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#151 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:151 def blocked_hosts(request); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#163 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:163 def excluded?(request); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#167 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:167 def mark_as_authorized(request); end end -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#23 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:23 ActionDispatch::HostAuthorization::ALLOWED_HOSTS_IN_DEVELOPMENT = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#88 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:88 class ActionDispatch::HostAuthorization::DefaultResponseApp - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:91 def call(env); end private - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:122 def available_logger(request); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:114 def log_error(request); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:107 def response(format, body); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#100 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:100 def response_body(request); end end -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#89 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:89 ActionDispatch::HostAuthorization::DefaultResponseApp::RESPONSE_STATUS = T.let(T.unsafe(nil), Integer) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#26 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:26 ActionDispatch::HostAuthorization::IPV4_HOSTNAME = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#27 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:27 ActionDispatch::HostAuthorization::IPV6_HOSTNAME = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#28 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:28 ActionDispatch::HostAuthorization::IPV6_HOSTNAME_WITH_PORT = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#24 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:24 ActionDispatch::HostAuthorization::PORT_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#35 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:35 class ActionDispatch::HostAuthorization::Permissions # @return [Permissions] a new instance of Permissions # - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#36 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:36 def initialize(hosts); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:44 def allows?(host); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:40 def empty?; end private - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#83 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:83 def extract_hostname(host); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#61 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:61 def sanitize_hosts(hosts); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#71 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:71 def sanitize_regexp(host); end - # source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#75 + # pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:75 def sanitize_string(host); end end -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#25 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:25 ActionDispatch::HostAuthorization::SUBDOMAIN_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/middleware/host_authorization.rb#29 +# pkg:gem/actionpack#lib/action_dispatch/middleware/host_authorization.rb:29 ActionDispatch::HostAuthorization::VALID_IP_HOSTNAME = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch.rb#95 +# pkg:gem/actionpack#lib/action_dispatch.rb:95 module ActionDispatch::Http extend ::ActiveSupport::Autoload end -# source://actionpack//lib/action_dispatch/http/cache.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:7 module ActionDispatch::Http::Cache; end -# source://actionpack//lib/action_dispatch/http/cache.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:8 module ActionDispatch::Http::Cache::Request - # source://actionpack//lib/action_dispatch/http/cache.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:67 def cache_control_directives; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#32 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:32 def etag_matches?(etag); end # Check response freshness (`Last-Modified` and `ETag`) against request @@ -11693,34 +11693,34 @@ module ActionDispatch::Http::Cache::Request # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#45 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:45 def fresh?(response); end - # source://actionpack//lib/action_dispatch/http/cache.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:14 def if_modified_since; end - # source://actionpack//lib/action_dispatch/http/cache.rb#20 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:20 def if_none_match; end - # source://actionpack//lib/action_dispatch/http/cache.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:24 def if_none_match_etags; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:28 def not_modified?(modified_at); end - # source://actionpack//lib/action_dispatch/http/cache.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12 def strict_freshness; end - # source://actionpack//lib/action_dispatch/http/cache.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12 def strict_freshness=(val); end class << self - # source://actionpack//lib/action_dispatch/http/cache.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12 def strict_freshness; end - # source://actionpack//lib/action_dispatch/http/cache.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:12 def strict_freshness=(val); end end end @@ -11729,18 +11729,18 @@ end # providing methods to access various cache control directives # Reference: https://www.rfc-editor.org/rfc/rfc9111.html#name-request-directives # -# source://actionpack//lib/action_dispatch/http/cache.rb#74 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:74 class ActionDispatch::Http::Cache::Request::CacheControlDirectives # @return [CacheControlDirectives] a new instance of CacheControlDirectives # - # source://actionpack//lib/action_dispatch/http/cache.rb#75 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:75 def initialize(cache_control_header); end # Returns the value of the max-age directive. # This directive indicates that the client is willing to accept a response # whose age is no greater than the specified number of seconds. # - # source://actionpack//lib/action_dispatch/http/cache.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:118 def max_age; end # Returns the value of the max-stale directive. @@ -11748,28 +11748,28 @@ class ActionDispatch::Http::Cache::Request::CacheControlDirectives # When max-stale is present without a value, returns true (unlimited staleness). # When max-stale is not present, returns nil. # - # source://actionpack//lib/action_dispatch/http/cache.rb#124 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:124 def max_stale; end # Returns true if max-stale directive is present (with or without a value) # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#127 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:127 def max_stale?; end # Returns true if max-stale directive is present without a value (unlimited staleness) # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#132 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:132 def max_stale_unlimited?; end # Returns the value of the min-fresh directive. # This directive indicates that the client is willing to accept a response # whose freshness lifetime is no less than its current age plus the specified time in seconds. # - # source://actionpack//lib/action_dispatch/http/cache.rb#139 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:139 def min_fresh; end # Returns true if the no-cache directive is present. @@ -11778,7 +11778,7 @@ class ActionDispatch::Http::Cache::Request::CacheControlDirectives # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#98 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:98 def no_cache?; end # Returns true if the no-store directive is present. @@ -11787,7 +11787,7 @@ class ActionDispatch::Http::Cache::Request::CacheControlDirectives # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#105 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:105 def no_store?; end # Returns true if the no-transform directive is present. @@ -11795,7 +11795,7 @@ class ActionDispatch::Http::Cache::Request::CacheControlDirectives # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:111 def no_transform?; end # Returns true if the only-if-cached directive is present. @@ -11805,44 +11805,44 @@ class ActionDispatch::Http::Cache::Request::CacheControlDirectives # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:91 def only_if_cached?; end # Returns the value of the stale-if-error directive. # This directive indicates that the client is willing to accept a stale response # if the check for a fresh one fails with an error for the specified number of seconds. # - # source://actionpack//lib/action_dispatch/http/cache.rb#144 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:144 def stale_if_error; end private - # source://actionpack//lib/action_dispatch/http/cache.rb#147 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:147 def parse_directives(header_value); end end -# source://actionpack//lib/action_dispatch/http/cache.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:9 ActionDispatch::Http::Cache::Request::HTTP_IF_MODIFIED_SINCE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:10 ActionDispatch::Http::Cache::Request::HTTP_IF_NONE_MATCH = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#176 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:176 module ActionDispatch::Http::Cache::Response # Returns the value of attribute cache_control. # - # source://actionpack//lib/action_dispatch/http/cache.rb#177 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:177 def cache_control; end - # source://actionpack//lib/action_dispatch/http/cache.rb#193 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:193 def date; end - # source://actionpack//lib/action_dispatch/http/cache.rb#203 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:203 def date=(utc_time); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#199 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:199 def date?; end # This method sets a weak ETag validator on the response so browsers and proxies @@ -11864,26 +11864,26 @@ 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#225 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:225 def etag=(weak_validators); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#237 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:237 def etag?; end - # source://actionpack//lib/action_dispatch/http/cache.rb#179 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:179 def last_modified; end - # source://actionpack//lib/action_dispatch/http/cache.rb#189 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:189 def last_modified=(utc_time); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#185 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:185 def last_modified?; end - # source://actionpack//lib/action_dispatch/http/cache.rb#233 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:233 def strong_etag=(strong_validators); end # True if an ETag is set, and it isn't a weak validator (not preceded with @@ -11891,117 +11891,117 @@ module ActionDispatch::Http::Cache::Response # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/cache.rb#246 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:246 def strong_etag?; end - # source://actionpack//lib/action_dispatch/http/cache.rb#229 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:229 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#240 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:240 def weak_etag?; end private - # source://actionpack//lib/action_dispatch/http/cache.rb#269 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:269 def cache_control_headers; end - # source://actionpack//lib/action_dispatch/http/cache.rb#263 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:263 def cache_control_segments; end - # source://actionpack//lib/action_dispatch/http/cache.rb#259 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:259 def generate_strong_etag(validators); end - # source://actionpack//lib/action_dispatch/http/cache.rb#255 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:255 def generate_weak_etag(validators); end - # source://actionpack//lib/action_dispatch/http/cache.rb#300 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:300 def handle_conditional_get!; end - # source://actionpack//lib/action_dispatch/http/cache.rb#309 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:309 def merge_and_normalize_cache_control!(cache_control); end - # source://actionpack//lib/action_dispatch/http/cache.rb#287 + # pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:287 def prepare_cache_control!; end end -# source://actionpack//lib/action_dispatch/http/cache.rb#251 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:251 ActionDispatch::Http::Cache::Response::DATE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#291 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:291 ActionDispatch::Http::Cache::Response::DEFAULT_CACHE_CONTROL = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#297 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:297 ActionDispatch::Http::Cache::Response::IMMUTABLE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#252 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:252 ActionDispatch::Http::Cache::Response::LAST_MODIFIED = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#296 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:296 ActionDispatch::Http::Cache::Response::MUST_REVALIDATE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#298 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:298 ActionDispatch::Http::Cache::Response::MUST_UNDERSTAND = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#293 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:293 ActionDispatch::Http::Cache::Response::NO_CACHE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#292 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:292 ActionDispatch::Http::Cache::Response::NO_STORE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#295 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:295 ActionDispatch::Http::Cache::Response::PRIVATE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#294 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:294 ActionDispatch::Http::Cache::Response::PUBLIC = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/cache.rb#253 +# pkg:gem/actionpack#lib/action_dispatch/http/cache.rb:253 ActionDispatch::Http::Cache::Response::SPECIAL_KEYS = T.let(T.unsafe(nil), Set) -# source://actionpack//lib/action_dispatch/http/content_disposition.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:7 class ActionDispatch::Http::ContentDisposition # @return [ContentDisposition] a new instance of ContentDisposition # - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:14 def initialize(disposition:, filename:); end - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:21 def ascii_filename; end # Returns the value of attribute disposition. # - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:12 def disposition; end # Returns the value of attribute filename. # - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:12 def filename; end - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:31 def to_s; end - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:27 def utf8_filename; end private - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:40 def percent_escape(string, pattern); end class << self - # source://actionpack//lib/action_dispatch/http/content_disposition.rb#8 + # pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:8 def format(disposition:, filename:); end end end -# source://actionpack//lib/action_dispatch/http/content_disposition.rb#25 +# pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:25 ActionDispatch::Http::ContentDisposition::RFC_5987_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/content_disposition.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/http/content_disposition.rb:19 ActionDispatch::Http::ContentDisposition::TRADITIONAL_ESCAPED_CHAR = T.let(T.unsafe(nil), Regexp) # # Action Dispatch HTTP Filter Parameters @@ -12015,77 +12015,77 @@ 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#19 +# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:19 module ActionDispatch::Http::FilterParameters # :startdoc: # - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:26 def initialize; end # Returns a hash of request.env with all sensitive data replaced. # - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#42 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:42 def filtered_env; end # Returns a hash of parameters with all sensitive data replaced. # - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:35 def filtered_parameters; end # Reconstructs a path with all sensitive GET parameters replaced. # - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#47 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:47 def filtered_path; end # Returns the `ActiveSupport::ParameterFilter` object used to filter in this # request. # - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#53 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:53 def parameter_filter; end private - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#62 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:62 def env_filter; end - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#73 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:73 def filtered_query_string; end - # source://actionpack//lib/action_dispatch/http/filter_parameters.rb#69 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:69 def parameter_filter_for(filters); end end # :stopdoc: # -# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#21 +# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:21 ActionDispatch::Http::FilterParameters::ENV_MATCH = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#23 +# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:23 ActionDispatch::Http::FilterParameters::NULL_ENV_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter) -# source://actionpack//lib/action_dispatch/http/filter_parameters.rb#22 +# pkg:gem/actionpack#lib/action_dispatch/http/filter_parameters.rb:22 ActionDispatch::Http::FilterParameters::NULL_PARAM_FILTER = T.let(T.unsafe(nil), ActiveSupport::ParameterFilter) -# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:7 module ActionDispatch::Http::FilterRedirect - # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:10 def filtered_location; end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:27 def location_filter_match?; end - # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:19 def location_filters; end - # source://actionpack//lib/action_dispatch/http/filter_redirect.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:37 def parameter_filtered_location; end end -# source://actionpack//lib/action_dispatch/http/filter_redirect.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/http/filter_redirect.rb:8 ActionDispatch::Http::FilterRedirect::FILTERED = T.let(T.unsafe(nil), String) # # Action Dispatch HTTP Headers @@ -12110,34 +12110,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#28 +# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:28 class ActionDispatch::Http::Headers include ::Enumerable # @return [Headers] a new instance of Headers # - # source://actionpack//lib/action_dispatch/http/headers.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:58 def initialize(request); end # Returns the value for the given key mapped to @env. # - # source://actionpack//lib/action_dispatch/http/headers.rb#63 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:63 def [](key); end # Sets the given value for the key mapped to @env. # - # source://actionpack//lib/action_dispatch/http/headers.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:68 def []=(key, value); end # Add a value to a multivalued header like `Vary` or `Accept-Encoding`. # - # source://actionpack//lib/action_dispatch/http/headers.rb#73 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:73 def add(key, value); end - # source://actionpack//lib/action_dispatch/http/headers.rb#98 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:98 def each(&block); end - # source://actionpack//lib/action_dispatch/http/headers.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:118 def env; end # Returns the value for the given key mapped to @env. @@ -12147,29 +12147,29 @@ 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#90 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:90 def fetch(key, default = T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/headers.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:80 def include?(key); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/headers.rb#77 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:77 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#104 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:104 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 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:112 def merge!(headers_or_env); end private @@ -12177,36 +12177,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 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:123 def env_name(key); end class << self - # source://actionpack//lib/action_dispatch/http/headers.rb#54 + # pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:54 def from_hash(hash); end end end -# source://actionpack//lib/action_dispatch/http/headers.rb#29 +# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:29 ActionDispatch::Http::Headers::CGI_VARIABLES = T.let(T.unsafe(nil), Set) -# source://actionpack//lib/action_dispatch/http/headers.rb#82 +# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:82 ActionDispatch::Http::Headers::DEFAULT = T.let(T.unsafe(nil), Object) -# source://actionpack//lib/action_dispatch/http/headers.rb#50 +# pkg:gem/actionpack#lib/action_dispatch/http/headers.rb:50 ActionDispatch::Http::Headers::HTTP_HEADER = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:9 module ActionDispatch::Http::MimeNegotiation extend ::ActiveSupport::Concern # Returns the accepted MIME type for the request. # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#42 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:42 def accepts; end # The MIME type of the HTTP request, such as [Mime](:xml). # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:24 def content_mime_type; end # Returns the MIME type for the format used in the request. @@ -12220,7 +12220,7 @@ module ActionDispatch::Http::MimeNegotiation # # GET /posts/5 # request.format # => Mime[:html] or Mime[:js], or request.accepts.first # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:68 def format(_view_path = T.unsafe(nil)); end # Sets the format by string extension, which can be used to force custom formats @@ -12235,10 +12235,10 @@ module ActionDispatch::Http::MimeNegotiation # end # end # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#174 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:174 def format=(extension); end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:72 def formats; end # Sets the formats by string extensions. This differs from #format= by allowing @@ -12257,22 +12257,22 @@ module ActionDispatch::Http::MimeNegotiation # end # end # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#194 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:194 def formats=(extensions); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:37 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#202 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:202 def negotiate_mime(order); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#214 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:214 def should_apply_vary_header?; end # Returns the \variant for the response template as an instance of @@ -12288,7 +12288,7 @@ module ActionDispatch::Http::MimeNegotiation # request.variant.any?(:phone, :desktop) # => true # request.variant.any?(:desktop, :watch) # => false # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#159 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:159 def variant; end # Sets the \variant for the response template. @@ -12335,39 +12335,39 @@ module ActionDispatch::Http::MimeNegotiation # end # end # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#137 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:137 def variant=(variant); end private - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#238 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:238 def format_from_path_extension; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#223 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:223 def params_readable?; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#234 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:234 def use_accept_header; end - # source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#229 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:229 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#221 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:221 ActionDispatch::Http::MimeNegotiation::BROWSER_LIKE_ACCEPTS = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:12 class ActionDispatch::Http::MimeNegotiation::InvalidType < ::Mime::Type::InvalidMimeType; end -# source://actionpack//lib/action_dispatch/http/mime_negotiation.rb#14 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_negotiation.rb:14 ActionDispatch::Http::MimeNegotiation::RESCUABLE_MIME_FORMAT_ERRORS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/parameters.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:7 module ActionDispatch::Http::Parameters extend ::ActiveSupport::Concern @@ -12375,12 +12375,12 @@ module ActionDispatch::Http::Parameters # Returns both GET and POST parameters in a single hash. # - # source://actionpack//lib/action_dispatch/http/parameters.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:52 def parameters; end # Returns both GET and POST parameters in a single hash. # - # source://actionpack//lib/action_dispatch/http/parameters.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:65 def params; end # Returns a hash with the parameters used to form the path of the request. @@ -12388,25 +12388,25 @@ module ActionDispatch::Http::Parameters # # { action: "my_action", controller: "my_controller" } # - # source://actionpack//lib/action_dispatch/http/parameters.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:84 def path_parameters; end - # source://actionpack//lib/action_dispatch/http/parameters.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:67 def path_parameters=(parameters); end private - # source://actionpack//lib/action_dispatch/http/parameters.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:102 def log_parse_error_once; end - # source://actionpack//lib/action_dispatch/http/parameters.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:114 def params_parsers; end - # source://actionpack//lib/action_dispatch/http/parameters.rb#89 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:89 def parse_formatted_parameters(parsers); end end -# source://actionpack//lib/action_dispatch/http/parameters.rb#36 +# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:36 module ActionDispatch::Http::Parameters::ClassMethods # Configure the parameter parser for a given MIME type. # @@ -12418,43 +12418,43 @@ 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#46 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:46 def parameter_parsers=(parsers); end end -# source://actionpack//lib/action_dispatch/http/parameters.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:12 ActionDispatch::Http::Parameters::DEFAULT_PARSERS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/parameters.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:10 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#21 +# pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:21 class ActionDispatch::Http::Parameters::ParseError < ::StandardError # @return [ParseError] a new instance of ParseError # - # source://actionpack//lib/action_dispatch/http/parameters.rb#22 + # pkg:gem/actionpack#lib/action_dispatch/http/parameters.rb:22 def initialize(message = T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/http/url.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:9 module ActionDispatch::Http::URL - # source://actionpack//lib/action_dispatch/http/url.rb#277 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:277 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#420 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:420 def domain(tld_length = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/url.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:112 def domain_extractor; end - # source://actionpack//lib/action_dispatch/http/url.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:112 def domain_extractor=(val); end # Returns the host for this request, such as "example.com". @@ -12462,7 +12462,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#324 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:324 def host; end # Returns a host:port string for this request, such as "example.com" or @@ -12478,7 +12478,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#340 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:340 def host_with_port; end # Returns a number port suffix like 8080 if the port number of this request is @@ -12490,7 +12490,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#390 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:390 def optional_port; end # Returns the port number of this request as an integer. @@ -12501,7 +12501,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#351 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:351 def port; end # Returns a string port suffix, including colon, like ":8080" if the port number @@ -12513,7 +12513,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#402 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:402 def port_string; end # Returns 'https://' if this is an SSL request and 'http://' otherwise. @@ -12524,7 +12524,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#298 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:298 def protocol; end # Returns the host and port for this request, such as "example.com:8080". @@ -12538,13 +12538,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#312 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:312 def raw_host_with_port; end - # source://actionpack//lib/action_dispatch/http/url.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:110 def secure_protocol; end - # source://actionpack//lib/action_dispatch/http/url.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:110 def secure_protocol=(val); end # Returns the requested port, such as 8080, based on SERVER_PORT. @@ -12555,7 +12555,7 @@ module ActionDispatch::Http::URL # req = ActionDispatch::Request.new 'SERVER_PORT' => '8080' # req.server_port # => 8080 # - # source://actionpack//lib/action_dispatch/http/url.rb#413 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:413 def server_port; end # Returns the standard port number for this request's protocol. @@ -12563,7 +12563,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#363 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:363 def standard_port; end # Returns whether this request is using the standard port. @@ -12576,14 +12576,14 @@ module ActionDispatch::Http::URL # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/url.rb#378 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:378 def standard_port?; end # Returns all the subdomains as a string, so `"dev.www"` would be returned for # "dev.www.rubyonrails.org". You can specify a different `tld_length`, such as 2 # to catch `"www"` instead of `"www.rubyonrails"` in "www.rubyonrails.co.uk". # - # source://actionpack//lib/action_dispatch/http/url.rb#435 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:435 def subdomain(tld_length = T.unsafe(nil)); end # Returns all the subdomains as an array, so `["dev", "www"]` would be returned @@ -12591,13 +12591,13 @@ module ActionDispatch::Http::URL # as 2 to catch `["www"]` instead of `["www", "rubyonrails"]` in # "www.rubyonrails.co.uk". # - # source://actionpack//lib/action_dispatch/http/url.rb#428 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:428 def subdomains(tld_length = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/url.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:111 def tld_length; end - # source://actionpack//lib/action_dispatch/http/url.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:111 def tld_length=(val); end # Returns the complete URL used for this request. @@ -12605,14 +12605,14 @@ 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#287 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:287 def url; end class << self - # source://actionpack//lib/action_dispatch/http/url.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:112 def domain_extractor; end - # source://actionpack//lib/action_dispatch/http/url.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:112 def domain_extractor=(val); end # Returns the domain part of a host given the domain level. @@ -12622,7 +12622,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#121 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:121 def extract_domain(host, tld_length); end # Returns the subdomains of a host as a String given the domain level. @@ -12632,7 +12632,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#145 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:145 def extract_subdomain(host, tld_length); end # Returns the subdomains of a host as an Array given the domain level. @@ -12642,59 +12642,59 @@ 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#131 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:131 def extract_subdomains(host, tld_length); end - # source://actionpack//lib/action_dispatch/http/url.rb#157 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:157 def full_url_for(options); end - # source://actionpack//lib/action_dispatch/http/url.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:169 def path_for(options); end - # source://actionpack//lib/action_dispatch/http/url.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:110 def secure_protocol; end - # source://actionpack//lib/action_dispatch/http/url.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:110 def secure_protocol=(val); end - # source://actionpack//lib/action_dispatch/http/url.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:111 def tld_length; end - # source://actionpack//lib/action_dispatch/http/url.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:111 def tld_length=(val); end - # source://actionpack//lib/action_dispatch/http/url.rb#149 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:149 def url_for(options); end private - # source://actionpack//lib/action_dispatch/http/url.rb#189 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:189 def add_anchor(path, anchor); end - # source://actionpack//lib/action_dispatch/http/url.rb#182 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:182 def add_params(path, params); end - # source://actionpack//lib/action_dispatch/http/url.rb#203 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:203 def build_host_url(host, port, protocol, options, path); end - # source://actionpack//lib/action_dispatch/http/url.rb#195 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:195 def extract_domain_from(host, tld_length); end - # source://actionpack//lib/action_dispatch/http/url.rb#199 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:199 def extract_subdomains_from(host, tld_length); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/url.rb#227 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:227 def named_host?(host); end - # source://actionpack//lib/action_dispatch/http/url.rb#244 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:244 def normalize_host(_host, options); end - # source://actionpack//lib/action_dispatch/http/url.rb#264 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:264 def normalize_port(port, protocol); end - # source://actionpack//lib/action_dispatch/http/url.rb#231 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:231 def normalize_protocol(protocol); end end end @@ -12714,7 +12714,7 @@ end # - Domain: "example.co.uk" (with tld_length=2) # - TLD: "co.uk" # -# source://actionpack//lib/action_dispatch/http/url.rb#28 +# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:28 module ActionDispatch::Http::URL::DomainExtractor extend ::ActionDispatch::Http::URL::DomainExtractor @@ -12752,7 +12752,7 @@ module ActionDispatch::Http::URL::DomainExtractor # DomainExtractor.domain_from("localhost", 1) # # => "localhost" # - # source://actionpack//lib/action_dispatch/http/url.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:64 def domain_from(host, tld_length); end # Extracts the subdomain components from a host string as an Array. @@ -12792,17 +12792,17 @@ module ActionDispatch::Http::URL::DomainExtractor # DomainExtractor.subdomains_from("dev.api.staging.example.com", 1) # # => ["dev", "api", "staging"] # - # source://actionpack//lib/action_dispatch/http/url.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/http/url.rb:104 def subdomains_from(host, tld_length); end end -# source://actionpack//lib/action_dispatch/http/url.rb#11 +# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:11 ActionDispatch::Http::URL::HOST_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/url.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:10 ActionDispatch::Http::URL::IP_HOST_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/url.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/http/url.rb:12 ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp) # # Action Dispatch HTTP UploadedFile @@ -12816,111 +12816,111 @@ ActionDispatch::Http::URL::PROTOCOL_REGEXP = T.let(T.unsafe(nil), Regexp) # 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#17 +# pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:17 class ActionDispatch::Http::UploadedFile # @raise [ArgumentError] # @return [UploadedFile] a new instance of UploadedFile # - # source://actionpack//lib/action_dispatch/http/upload.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:31 def initialize(hash); end # Shortcut for `tempfile.close`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#73 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:73 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#22 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:22 def content_type; end # A string with the MIME type of the file. # - # source://actionpack//lib/action_dispatch/http/upload.rb#22 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:22 def content_type=(_arg0); end # Shortcut for `tempfile.eof?`. # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/upload.rb#98 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:98 def eof?; end # A string with the headers of the multipart request. # - # source://actionpack//lib/action_dispatch/http/upload.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:29 def headers; end # A string with the headers of the multipart request. # - # source://actionpack//lib/action_dispatch/http/upload.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:29 def headers=(_arg0); end # Shortcut for `tempfile.open`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:68 def open; end # The basename of the file in the client. # - # source://actionpack//lib/action_dispatch/http/upload.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:19 def original_filename; end # The basename of the file in the client. # - # source://actionpack//lib/action_dispatch/http/upload.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:19 def original_filename=(_arg0); end # Shortcut for `tempfile.path`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#78 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:78 def path; end # Shortcut for `tempfile.read`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#63 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:63 def read(length = T.unsafe(nil), buffer = T.unsafe(nil)); end # Shortcut for `tempfile.rewind`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#88 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:88 def rewind; end # Shortcut for `tempfile.size`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:93 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#26 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:26 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#26 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:26 def tempfile=(_arg0); end - # source://actionpack//lib/action_dispatch/http/upload.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:102 def to_io; end # Shortcut for `tempfile.to_path`. # - # source://actionpack//lib/action_dispatch/http/upload.rb#83 + # pkg:gem/actionpack#lib/action_dispatch/http/upload.rb:83 def to_path; end end -# source://actionpack//lib/action_dispatch/testing/integration.rb#14 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:14 module ActionDispatch::Integration; end -# source://actionpack//lib/action_dispatch/testing/integration.rb#15 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:15 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#42 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:42 def delete(path, **args); end # Follow a single redirect response. If the last response was not a redirect, an @@ -12931,47 +12931,47 @@ module ActionDispatch::Integration::RequestHelpers # # The HTTP_REFERER header will be set to the previous url. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:65 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#18 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:18 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#48 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:48 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#54 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:54 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#30 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:30 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#24 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:24 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#36 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:36 def put(path, **args); end end -# source://actionpack//lib/action_dispatch/testing/integration.rb#334 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:334 module ActionDispatch::Integration::Runner include ::ActionDispatch::Assertions::RoutingAssertions include ::ActionDispatch::Assertions::ResponseAssertions @@ -12981,57 +12981,57 @@ module ActionDispatch::Integration::Runner include ::ActionDispatch::Assertions extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack//lib/action_dispatch/testing/integration.rb#342 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:342 def initialize(*args, &blk); end # Returns the value of attribute app. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#339 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:339 def app; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#412 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:412 def assertions; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#416 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:416 def assertions=(assertions); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def assigns(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#347 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:347 def before_setup; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 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#422 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:422 def copy_session_variables!; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#362 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:362 def create_session(app); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#428 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:428 def default_url_options; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#432 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:432 def default_url_options=(options); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def delete(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def follow_redirect!(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def get(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def head(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:352 def integration_session; end # Open a new session instance. If a block is given, the new session is yielded @@ -13044,47 +13044,47 @@ module ActionDispatch::Integration::Runner # By default, a single session is automatically created for you, but you can use # this method to open multiple sessions that ought to be tested simultaneously. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#404 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:404 def open_session; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def patch(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def post(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:384 def put(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#374 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:374 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#358 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:358 def reset!; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#340 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:340 def root_session; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#340 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:340 def root_session=(_arg0); end private # Delegate unhandled messages to the current session instance. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#442 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:442 def method_missing(method, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/testing/integration.rb#437 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:437 def respond_to_missing?(method, _); end end -# source://actionpack//lib/action_dispatch/testing/integration.rb#337 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:337 ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash) # An instance of this class represents a set of requests and responses performed @@ -13095,7 +13095,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#91 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:91 class ActionDispatch::Integration::Session include ::Minitest::Assertions include ::ActionDispatch::Assertions::RoutingAssertions @@ -13115,48 +13115,48 @@ class ActionDispatch::Integration::Session # # @return [Session] a new instance of Session # - # source://actionpack//lib/action_dispatch/testing/integration.rb#133 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:133 def initialize(app); end # The Accept header to send. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:110 def accept; end # The Accept header to send. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:110 def accept=(_arg0); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97 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#119 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:119 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#114 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:114 def cookies; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def default_url_options; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def default_url_options?; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97 def headers(*_arg0, **_arg1, &_arg2); end # The hostname used in the last request. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#101 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:101 def host; end # Sets the attribute host @@ -13166,14 +13166,14 @@ class ActionDispatch::Integration::Session # # @param value the value to set the attribute host to. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#315 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:315 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#104 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:104 def host=(_arg0); end # Specify whether or not the session should mimic a secure HTTPS request. @@ -13181,7 +13181,7 @@ class ActionDispatch::Integration::Session # session.https! # session.https!(false) # - # source://actionpack//lib/action_dispatch/testing/integration.rb#180 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:180 def https!(flag = T.unsafe(nil)); end # Returns `true` if the session is mimicking a secure HTTPS request. @@ -13192,10 +13192,10 @@ class ActionDispatch::Integration::Session # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/testing/integration.rb#189 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:189 def https?; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#98 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:98 def path(*_arg0, **_arg1, &_arg2); end # Performs the actual request. @@ -13231,35 +13231,35 @@ class ActionDispatch::Integration::Session # Example: # process :get, '/author', params: { since: 201501011400 } # - # source://actionpack//lib/action_dispatch/testing/integration.rb#225 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:225 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#97 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97 def redirect?(*_arg0, **_arg1, &_arg2); end # The remote_addr used in the last request. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:107 def remote_addr; end # The remote_addr used in the last request. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:107 def remote_addr=(_arg0); end # A reference to the request instance used by the last request. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:122 def request; end # A running counter of the number of requests processed. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#128 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:128 def request_count; end # A running counter of the number of requests processed. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#128 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:128 def request_count=(_arg0); end # Resets the instance. This can be used to reset the state information in an @@ -13267,57 +13267,57 @@ class ActionDispatch::Integration::Session # # session.reset! # - # source://actionpack//lib/action_dispatch/testing/integration.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:156 def reset!; end # A reference to the response instance used by the last request. # - # source://actionpack//lib/action_dispatch/testing/integration.rb#125 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:125 def response; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97 def status(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:97 def status_message(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#140 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:140 def url_options; end private - # source://actionpack//lib/action_dispatch/testing/integration.rb#318 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:318 def _mock_session; end # @yield [location] # - # source://actionpack//lib/action_dispatch/testing/integration.rb#326 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:326 def build_expanded_path(path); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#322 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:322 def build_full_uri(path, env); end class << self - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def default_url_options; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def default_url_options=(value); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def default_url_options?; end private - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def __class_attr_default_url_options; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:130 def __class_attr_default_url_options=(new_value); end end end -# source://actionpack//lib/action_dispatch/testing/integration.rb#92 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:92 ActionDispatch::Integration::Session::DEFAULT_HOST = T.let(T.unsafe(nil), String) # An integration test spans multiple controllers and actions, tying them all @@ -13515,7 +13515,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#649 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:649 class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::Assertions::RoutingAssertions @@ -13536,7 +13536,7 @@ class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase extend ::ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods end -# source://actionpack//lib/action_dispatch/testing/integration.rb#659 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:659 module ActionDispatch::IntegrationTest::Behavior include ::ActionDispatch::Assertions::RoutingAssertions include ::ActionDispatch::Assertions::ResponseAssertions @@ -13555,140 +13555,140 @@ module ActionDispatch::IntegrationTest::Behavior mixes_in_class_methods ::ActionDispatch::IntegrationTest::Behavior::ClassMethods mixes_in_class_methods ::ActionDispatch::Assertions::RoutingAssertions::WithIntegrationRouting::ClassMethods - # source://actionpack//lib/action_dispatch/testing/integration.rb#692 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:692 def app; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#696 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:696 def document_root_element; end end -# source://actionpack//lib/action_dispatch/testing/integration.rb#674 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:674 module ActionDispatch::IntegrationTest::Behavior::ClassMethods - # source://actionpack//lib/action_dispatch/testing/integration.rb#675 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:675 def app; end - # source://actionpack//lib/action_dispatch/testing/integration.rb#683 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:683 def app=(app); end - # source://actionpack//lib/action_dispatch/testing/integration.rb#687 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:687 def register_encoder(*args, **options); end end -# source://actionpack//lib/action_dispatch/testing/integration.rb#652 +# pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:652 module ActionDispatch::IntegrationTest::UrlOptions extend ::ActiveSupport::Concern - # source://actionpack//lib/action_dispatch/testing/integration.rb#654 + # pkg:gem/actionpack#lib/action_dispatch/testing/integration.rb:654 def url_options; end end -# source://actionpack//lib/action_dispatch/http/param_error.rb#21 +# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:21 class ActionDispatch::InvalidParameterError < ::ActionDispatch::ParamError; end # :stopdoc: # -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#6 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:6 module ActionDispatch::Journey; end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:9 class ActionDispatch::Journey::Ast # @return [Ast] a new instance of Ast # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:13 def initialize(tree, formatted); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#38 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:38 def glob?; end # Returns the value of attribute names. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10 def names; end # Returns the value of attribute path_params. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10 def path_params; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:25 def requirements=(requirements); end # Returns the value of attribute tree. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:11 def root; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#34 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:34 def route=(route); end # Returns the value of attribute terminals. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10 def terminals; end # Returns the value of attribute tree. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10 def tree; end # Returns the value of attribute wildcard_options. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:10 def wildcard_options; end private # Returns the value of attribute stars. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#43 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:43 def stars; end # Returns the value of attribute symbols. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#43 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:43 def symbols; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#45 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:45 def visit_tree(formatted); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:8 class ActionDispatch::Journey::Format # @return [Format] a new instance of Format # - # source://actionpack//lib/action_dispatch/journey/visitors.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:24 def initialize(parts); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#39 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:39 def evaluate(hash); end class << self - # source://actionpack//lib/action_dispatch/journey/visitors.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:16 def required_path(symbol); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#20 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:20 def required_segment(symbol); end end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:9 ActionDispatch::Journey::Format::ESCAPE_PATH = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/journey/visitors.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:10 ActionDispatch::Journey::Format::ESCAPE_SEGMENT = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/journey/visitors.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 class ActionDispatch::Journey::Format::Parameter < ::Struct - # source://actionpack//lib/action_dispatch/journey/visitors.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:13 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#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def escaper; end # Sets the attribute escaper @@ -13696,14 +13696,14 @@ class ActionDispatch::Journey::Format::Parameter < ::Struct # @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#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def escaper=(_); end # Returns the value of attribute name # # @return [Object] the current value of name # - # source://actionpack//lib/action_dispatch/journey/visitors.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def name; end # Sets the attribute name @@ -13711,23 +13711,23 @@ class ActionDispatch::Journey::Format::Parameter < ::Struct # @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#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def name=(_); end class << self - # source://actionpack//lib/action_dispatch/journey/visitors.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def [](*_arg0); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def inspect; end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def keyword_init?; end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def members; end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:12 def new(*_arg0); end end end @@ -13735,837 +13735,837 @@ 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#12 +# pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:12 class ActionDispatch::Journey::Formatter # @return [Formatter] a new instance of Formatter # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:15 def initialize(routes); end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#110 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:110 def clear; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:114 def eager_load!; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#61 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:61 def generate(name, options, path_parameters); end # Returns the value of attribute routes. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:13 def routes; end private - # source://actionpack//lib/action_dispatch/journey/formatter.rb#214 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:214 def build_cache; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#225 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:225 def cache; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#120 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:120 def extract_parameterized_parts(route, options, recall); end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#147 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:147 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#186 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:186 def missing_keys(route, parts); end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#143 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:143 def named_routes; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:169 def non_recursive(cache, options); end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#206 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:206 def possibles(cache, options, depth = T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/journey/formatter.rb#34 +# pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:34 class ActionDispatch::Journey::Formatter::MissingRoute # @return [MissingRoute] a new instance of MissingRoute # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:37 def initialize(constraints, missing_keys, unmatched_keys, routes, name); end # Returns the value of attribute constraints. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35 def constraints; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#53 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:53 def message; end # Returns the value of attribute missing_keys. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35 def missing_keys; end # Returns the value of attribute name. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35 def name; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:49 def params; end # @raise [ActionController::UrlGenerationError] # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#45 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:45 def path(method_name); end # Returns the value of attribute routes. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35 def routes; end # Returns the value of attribute unmatched_keys. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:35 def unmatched_keys; end end -# source://actionpack//lib/action_dispatch/journey/formatter.rb#20 +# pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:20 class ActionDispatch::Journey::Formatter::RouteWithParams # @return [RouteWithParams] a new instance of RouteWithParams # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:23 def initialize(route, parameterized_parts, params); end # Returns the value of attribute params. # - # source://actionpack//lib/action_dispatch/journey/formatter.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:21 def params; end - # source://actionpack//lib/action_dispatch/journey/formatter.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/journey/formatter.rb:29 def path(_); end end -# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:9 module ActionDispatch::Journey::GTG; end -# source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:10 class ActionDispatch::Journey::GTG::Builder # @return [Builder] a new instance of Builder # - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:15 def initialize(root); end # Returns the value of attribute ast. # - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:13 def ast; end # Returns the value of attribute endpoints. # - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:13 def endpoints; end - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:87 def firstpos(node); end - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#108 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:108 def lastpos(node); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#66 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:66 def nullable?(node); end # Returns the value of attribute root. # - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:13 def root; end - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:21 def transition_table; end private - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:130 def build_followpos; end - # source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#143 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:143 def symbol(edge); end end -# source://actionpack//lib/action_dispatch/journey/gtg/builder.rb#11 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/builder.rb:11 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:9 def memos; end end -# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#16 +# pkg:gem/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#27 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:27 def initialize(transition_table); end - # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:31 def memos(string); end # Returns the value of attribute tt. # - # source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:25 def tt; end end -# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#23 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:23 ActionDispatch::Journey::GTG::Simulator::INITIAL_STATE = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/journey/gtg/simulator.rb#17 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/simulator.rb:17 ActionDispatch::Journey::GTG::Simulator::STATIC_TOKENS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:10 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#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:17 def initialize; end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#168 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:168 def []=(from, to, sym); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#33 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:33 def accepting?(state); end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:29 def accepting_states; end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:25 def add_accepting(state); end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:37 def add_memo(idx, memo); end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:103 def as_json(options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#45 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:45 def eclosure(t); end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#41 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:41 def memo(idx); end # Returns the value of attribute memos. # - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:13 def memos; end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:49 def move(t, full_string, token, start_index, token_matches_default); end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#187 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:187 def states; end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#120 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:120 def to_svg; end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#194 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:194 def transitions; end - # source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:130 def visualizer(paths, title = T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/journey/gtg/transition_table.rb#15 +# pkg:gem/actionpack#lib/action_dispatch/journey/gtg/transition_table.rb:15 ActionDispatch::Journey::GTG::TransitionTable::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/journey/nfa/dot.rb:7 module ActionDispatch::Journey::NFA; end -# source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/journey/nfa/dot.rb:8 module ActionDispatch::Journey::NFA::Dot - # source://actionpack//lib/action_dispatch/journey/nfa/dot.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/nfa/dot.rb:9 def to_dot; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#68 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:68 module ActionDispatch::Journey::Nodes; end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#182 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:182 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#185 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:185 def initialize(left, right); end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#190 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:190 def children; end # Returns the value of attribute right. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#183 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:183 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#183 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:183 def right=(_arg0); end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#193 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:193 class ActionDispatch::Journey::Nodes::Cat < ::ActionDispatch::Journey::Nodes::Binary # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#194 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:194 def cat?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#195 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:195 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#134 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:134 class ActionDispatch::Journey::Nodes::Dot < ::ActionDispatch::Journey::Nodes::Terminal - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#135 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:135 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#122 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:122 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#123 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:123 def initialize(x = T.unsafe(nil)); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#127 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:127 def literal?; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#159 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:159 class ActionDispatch::Journey::Nodes::Group < ::ActionDispatch::Journey::Nodes::Unary # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#161 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:161 def group?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#160 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:160 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#117 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:117 class ActionDispatch::Journey::Nodes::Literal < ::ActionDispatch::Journey::Nodes::Terminal # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:118 def literal?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#119 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:119 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#69 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:69 class ActionDispatch::Journey::Nodes::Node include ::Enumerable # @return [Node] a new instance of Node # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:74 def initialize(left); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#108 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:108 def cat?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:80 def each(&block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#109 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:109 def group?; end # Returns the value of attribute left. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72 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#72 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72 def left=(_arg0); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#105 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:105 def literal?; end # Returns the value of attribute memo. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72 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#72 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:72 def memo=(_arg0); end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#96 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:96 def name; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:107 def star?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:104 def symbol?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#106 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:106 def terminal?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#88 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:88 def to_dot; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:84 def to_s; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#92 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:92 def to_sym; end # @raise [NotImplementedError] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#100 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:100 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#198 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:198 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#201 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:201 def initialize(children); end # Returns the value of attribute children. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#199 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:199 def children; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#205 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:205 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#130 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:130 class ActionDispatch::Journey::Nodes::Slash < ::ActionDispatch::Journey::Nodes::Terminal - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#131 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:131 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#164 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:164 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#167 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:167 def initialize(left); end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#177 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:177 def name; end # Returns the value of attribute regexp. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#165 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:165 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#165 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:165 def regexp=(_arg0); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#174 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:174 def star?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#175 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:175 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#138 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:138 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#145 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:145 def initialize(left, regexp = T.unsafe(nil)); end # Returns the value of attribute name. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#141 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:141 def name; end # Returns the value of attribute regexp. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#139 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:139 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#139 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:139 def regexp=(_arg0); end # Returns the value of attribute regexp. # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#140 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:140 def symbol; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#152 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:152 def symbol?; end - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#151 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:151 def type; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#143 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:143 ActionDispatch::Journey::Nodes::Symbol::DEFAULT_EXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#144 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:144 ActionDispatch::Journey::Nodes::Symbol::GREEDY_EXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#112 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:112 class ActionDispatch::Journey::Nodes::Terminal < ::ActionDispatch::Journey::Nodes::Node - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#113 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:113 def symbol; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:114 def terminal?; end end -# source://actionpack//lib/action_dispatch/journey/nodes/node.rb#155 +# pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:155 class ActionDispatch::Journey::Nodes::Unary < ::ActionDispatch::Journey::Nodes::Node - # source://actionpack//lib/action_dispatch/journey/nodes/node.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/journey/nodes/node.rb:156 def children; end end -# source://actionpack//lib/action_dispatch/journey/parser.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:8 class ActionDispatch::Journey::Parser include ::ActionDispatch::Journey::Nodes # @return [Parser] a new instance of Parser # - # source://actionpack//lib/action_dispatch/journey/parser.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:15 def initialize; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#20 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:20 def parse(string); end private - # source://actionpack//lib/action_dispatch/journey/parser.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:27 def advance_token; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:31 def do_parse; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:58 def parse_expression; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:35 def parse_expressions; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:74 def parse_group; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:52 def parse_or(lhs); end - # source://actionpack//lib/action_dispatch/journey/parser.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:68 def parse_star; end - # source://actionpack//lib/action_dispatch/journey/parser.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:86 def parse_terminal; end class << self - # source://actionpack//lib/action_dispatch/journey/parser.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/journey/parser.rb:11 def parse(string); end end end -# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:7 module ActionDispatch::Journey::Path; end -# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:8 class ActionDispatch::Journey::Path::Pattern # @return [Pattern] a new instance of Pattern # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:11 def initialize(ast, requirements, separators, anchored); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#163 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:163 def =~(other); end # Returns the value of attribute anchored. # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9 def anchored; end # Returns the value of attribute ast. # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9 def ast; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:25 def build_formatter; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:29 def eager_load!; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#159 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:159 def match(other); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#165 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:165 def match?(other); end # Returns the value of attribute names. # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9 def names; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#62 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:62 def optional_names; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:58 def required_names; end # Returns the value of attribute requirements. # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9 def requirements; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#36 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:36 def requirements_anchored?; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#177 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:177 def requirements_for_missing_keys_check; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:169 def source; end # Returns the value of attribute spec. # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:9 def spec; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#173 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:173 def to_regexp; end private - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#188 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:188 def offsets; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#184 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:184 def regexp_visitor; end end -# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#68 +# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:68 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#69 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:69 def initialize(separator, matchers); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#76 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:76 def accept(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#80 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:80 def visit_CAT(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#100 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:100 def visit_DOT(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:93 def visit_GROUP(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:97 def visit_LITERAL(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:111 def visit_OR(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:102 def visit_SLASH(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#106 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:106 def visit_STAR(node); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:84 def visit_SYMBOL(node); end end -# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#124 +# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:124 class ActionDispatch::Journey::Path::Pattern::MatchData # @return [MatchData] a new instance of MatchData # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#127 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:127 def initialize(names, offsets, match); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#141 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:141 def [](x); end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#133 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:133 def captures; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#146 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:146 def length; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#137 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:137 def named_captures; end # Returns the value of attribute names. # - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#125 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:125 def names; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#150 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:150 def post_match; end - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#154 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:154 def to_s; end end -# source://actionpack//lib/action_dispatch/journey/path/pattern.rb#117 +# pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:117 class ActionDispatch::Journey::Path::Pattern::UnanchoredRegexp < ::ActionDispatch::Journey::Path::Pattern::AnchoredRegexp - # source://actionpack//lib/action_dispatch/journey/path/pattern.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/journey/path/pattern.rb:118 def accept(node); end end -# source://actionpack//lib/action_dispatch/journey/route.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:8 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#79 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:79 def initialize(name:, path:, app: T.unsafe(nil), constraints: T.unsafe(nil), required_defaults: T.unsafe(nil), defaults: T.unsafe(nil), via: 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#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def app; end # Returns the value of attribute ast. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def ast; end # Returns the value of attribute constraints. # - # source://actionpack//lib/action_dispatch/journey/route.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:12 def conditions; end # Returns the value of attribute constraints. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def constraints; end # Returns the value of attribute defaults. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def defaults; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/route.rb#165 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:165 def dispatcher?; end - # source://actionpack//lib/action_dispatch/journey/route.rb#101 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:101 def eager_load!; end - # source://actionpack//lib/action_dispatch/journey/route.rb#143 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:143 def format(path_options); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/route.rb#161 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:161 def glob?; end # Returns the value of attribute internal. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def internal; end - # source://actionpack//lib/action_dispatch/journey/route.rb#189 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:189 def ip; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/route.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:169 def matches?(request); end # Returns the value of attribute name. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def name; end - # source://actionpack//lib/action_dispatch/journey/route.rb#138 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:138 def parts; end # Returns the value of attribute path. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def path; end # Returns the value of attribute precedence. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def precedence; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/route.rb#151 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:151 def required_default?(key); end - # source://actionpack//lib/action_dispatch/journey/route.rb#155 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:155 def required_defaults; end - # source://actionpack//lib/action_dispatch/journey/route.rb#126 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:126 def required_keys; end - # source://actionpack//lib/action_dispatch/journey/route.rb#147 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:147 def required_parts; end # Needed for `bin/rails routes`. Picks up succinctly defined requirements for a @@ -14577,257 +14577,257 @@ class ActionDispatch::Journey::Route # will have {:controller=>"photos", :action=>"show", :[id=>/](A-Z){5}/} as # requirements. # - # source://actionpack//lib/action_dispatch/journey/route.rb#116 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:116 def requirements; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/route.rb#193 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:193 def requires_matching_verb?; end # Returns the value of attribute scope_options. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def scope_options; end - # source://actionpack//lib/action_dispatch/journey/route.rb#130 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:130 def score(supplied_keys); end - # source://actionpack//lib/action_dispatch/journey/route.rb#141 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:141 def segment_keys; end - # source://actionpack//lib/action_dispatch/journey/route.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:122 def segments; end # Returns the value of attribute source_location. # - # source://actionpack//lib/action_dispatch/journey/route.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:9 def source_location; end - # source://actionpack//lib/action_dispatch/journey/route.rb#197 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:197 def verb; end end -# source://actionpack//lib/action_dispatch/journey/route.rb#14 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:14 module ActionDispatch::Journey::Route::VerbMatchers class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:65 def for(verbs); end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#36 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:36 class ActionDispatch::Journey::Route::VerbMatchers::All class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:37 def call(_); end - # source://actionpack//lib/action_dispatch/journey/route.rb#38 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:38 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::DELETE class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::GET class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::HEAD class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::LINK class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::OPTIONS class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#41 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:41 class ActionDispatch::Journey::Route::VerbMatchers::Or # @return [Or] a new instance of Or # - # source://actionpack//lib/action_dispatch/journey/route.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:44 def initialize(verbs); end - # source://actionpack//lib/action_dispatch/journey/route.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:49 def call(req); end # Returns the value of attribute verb. # - # source://actionpack//lib/action_dispatch/journey/route.rb#42 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:42 def verb; end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::PATCH class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::POST class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::PUT class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::TRACE class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#19 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 class ActionDispatch::Journey::Route::VerbMatchers::UNLINK class << self - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def call(req); end - # source://actionpack//lib/action_dispatch/journey/route.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:17 def verb; end end end -# source://actionpack//lib/action_dispatch/journey/route.rb#26 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:26 class ActionDispatch::Journey::Route::VerbMatchers::Unknown # @return [Unknown] a new instance of Unknown # - # source://actionpack//lib/action_dispatch/journey/route.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:29 def initialize(verb); end - # source://actionpack//lib/action_dispatch/journey/route.rb#33 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:33 def call(request); end # Returns the value of attribute verb. # - # source://actionpack//lib/action_dispatch/journey/route.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:27 def verb; end end -# source://actionpack//lib/action_dispatch/journey/route.rb#15 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:15 ActionDispatch::Journey::Route::VerbMatchers::VERBS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/journey/route.rb#54 +# pkg:gem/actionpack#lib/action_dispatch/journey/route.rb:54 ActionDispatch::Journey::Route::VerbMatchers::VERB_TO_CLASS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:7 class ActionDispatch::Journey::Router # @return [Router] a new instance of Router # - # source://actionpack//lib/action_dispatch/journey/router.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:19 def initialize(routes); end - # source://actionpack//lib/action_dispatch/journey/router.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:23 def eager_load!; end - # source://actionpack//lib/action_dispatch/journey/router.rb#43 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:43 def recognize(req, &block); end # Returns the value of attribute routes. # - # source://actionpack//lib/action_dispatch/journey/router.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:17 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#17 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:17 def routes=(_arg0); end - # source://actionpack//lib/action_dispatch/journey/router.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:30 def serve(req); end private - # source://actionpack//lib/action_dispatch/journey/router.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:107 def custom_routes; end - # source://actionpack//lib/action_dispatch/journey/router.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:111 def filter_routes(path); end - # source://actionpack//lib/action_dispatch/journey/router.rb#115 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:115 def match_head_routes(routes, req); end - # source://actionpack//lib/action_dispatch/journey/router.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/journey/router.rb:103 def simulator; end end -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:8 class ActionDispatch::Journey::Router::Utils class << self - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:93 def escape_fragment(fragment); end - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#85 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:85 def escape_path(path); end - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#89 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:89 def escape_segment(segment); end # Normalizes URI path. @@ -14841,180 +14841,180 @@ class ActionDispatch::Journey::Router::Utils # normalize_path("") # => "/" # normalize_path("/%ab") # => "/%AB" # - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:19 def normalize_path(path); end end end -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#83 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:83 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#41 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:41 class ActionDispatch::Journey::Router::Utils::UriEncoder - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#59 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:59 def escape_fragment(fragment); end - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#63 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:63 def escape_path(path); end - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:67 def escape_segment(segment); end private - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:72 def escape(component, pattern); end - # source://actionpack//lib/action_dispatch/journey/router/utils.rb#76 + # pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:76 def percent_encode(unsafe); end end -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#48 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:48 ActionDispatch::Journey::Router::Utils::UriEncoder::ALPHA = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#46 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:46 ActionDispatch::Journey::Router::Utils::UriEncoder::DEC2HEX = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#49 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:49 ActionDispatch::Journey::Router::Utils::UriEncoder::DIGIT = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#45 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:45 ActionDispatch::Journey::Router::Utils::UriEncoder::EMPTY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#42 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:42 ActionDispatch::Journey::Router::Utils::UriEncoder::ENCODE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#53 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:53 ActionDispatch::Journey::Router::Utils::UriEncoder::ESCAPED = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#55 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:55 ActionDispatch::Journey::Router::Utils::UriEncoder::FRAGMENT = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#57 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:57 ActionDispatch::Journey::Router::Utils::UriEncoder::PATH = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#56 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:56 ActionDispatch::Journey::Router::Utils::UriEncoder::SEGMENT = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#51 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:51 ActionDispatch::Journey::Router::Utils::UriEncoder::SUB_DELIMS = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#50 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:50 ActionDispatch::Journey::Router::Utils::UriEncoder::UNRESERVED = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#43 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:43 ActionDispatch::Journey::Router::Utils::UriEncoder::US_ASCII = T.let(T.unsafe(nil), Encoding) -# source://actionpack//lib/action_dispatch/journey/router/utils.rb#44 +# pkg:gem/actionpack#lib/action_dispatch/journey/router/utils.rb:44 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#9 +# pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:9 class ActionDispatch::Journey::Routes include ::Enumerable # @return [Routes] a new instance of Routes # - # source://actionpack//lib/action_dispatch/journey/routes.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:14 def initialize(routes = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/journey/routes.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:67 def add_route(name, mapping); end # Returns the value of attribute anchored_routes. # - # source://actionpack//lib/action_dispatch/journey/routes.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:12 def anchored_routes; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#53 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:53 def ast; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#39 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:39 def clear; end # Returns the value of attribute custom_routes. # - # source://actionpack//lib/action_dispatch/journey/routes.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:12 def custom_routes; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:35 def each(&block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/routes.rb#22 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:22 def empty?; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:31 def last; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:26 def length; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#45 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:45 def partition_route(route); end # Returns the value of attribute routes. # - # source://actionpack//lib/action_dispatch/journey/routes.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:12 def routes; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:60 def simulator; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:29 def size; end - # source://actionpack//lib/action_dispatch/journey/routes.rb#75 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:75 def visualizer; end private - # source://actionpack//lib/action_dispatch/journey/routes.rb#83 + # pkg:gem/actionpack#lib/action_dispatch/journey/routes.rb:83 def clear_cache!; end end -# source://actionpack//lib/action_dispatch/journey/scanner.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:9 class ActionDispatch::Journey::Scanner # @return [Scanner] a new instance of Scanner # - # source://actionpack//lib/action_dispatch/journey/scanner.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:28 def initialize; end - # source://actionpack//lib/action_dispatch/journey/scanner.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:48 def last_literal; end - # source://actionpack//lib/action_dispatch/journey/scanner.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:44 def last_string; end - # source://actionpack//lib/action_dispatch/journey/scanner.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:37 def next_token; end - # source://actionpack//lib/action_dispatch/journey/scanner.rb#33 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:33 def scan_setup(str); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/journey/scanner.rb#69 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:69 def next_byte_is_not_a_token?; end - # source://actionpack//lib/action_dispatch/journey/scanner.rb#55 + # pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:55 def scan; end end -# source://actionpack//lib/action_dispatch/journey/scanner.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:10 ActionDispatch::Journey::Scanner::STATIC_TOKENS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/journey/scanner.rb#20 +# pkg:gem/actionpack#lib/action_dispatch/journey/scanner.rb:20 class ActionDispatch::Journey::Scanner::Scanner < ::StringScanner; end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#55 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:55 module ActionDispatch::Journey::Visitors; end # private @@ -15042,221 +15042,221 @@ module ActionDispatch::Journey::Visitors; end # INSTANCE = new # end # -# source://actionpack//lib/action_dispatch/journey/visitors.rb#228 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:228 class ActionDispatch::Journey::Visitors::Dot < ::ActionDispatch::Journey::Visitors::FunctionalVisitor # @return [Dot] a new instance of Dot # - # source://actionpack//lib/action_dispatch/journey/visitors.rb#229 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:229 def initialize; end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#234 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:234 def accept(node, seed = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/journey/visitors.rb#249 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:249 def binary(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#256 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:256 def nary(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#288 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:288 def terminal(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#263 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:263 def unary(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#273 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:273 def visit_CAT(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#268 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:268 def visit_GROUP(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#283 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:283 def visit_OR(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#278 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:278 def visit_STAR(node, seed); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#294 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:294 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#161 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:161 class ActionDispatch::Journey::Visitors::Each < ::ActionDispatch::Journey::Visitors::FunctionalVisitor - # source://actionpack//lib/action_dispatch/journey/visitors.rb#162 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:162 def visit(node, block); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#167 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:167 ActionDispatch::Journey::Visitors::Each::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::Each) -# source://actionpack//lib/action_dispatch/journey/visitors.rb#136 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:136 class ActionDispatch::Journey::Visitors::FormatBuilder < ::ActionDispatch::Journey::Visitors::Visitor - # source://actionpack//lib/action_dispatch/journey/visitors.rb#137 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:137 def accept(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#140 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:140 def binary(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#138 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:138 def terminal(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#144 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:144 def visit_GROUP(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#146 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:146 def visit_STAR(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#150 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:150 def visit_SYMBOL(n); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#97 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:97 class ActionDispatch::Journey::Visitors::FunctionalVisitor - # source://actionpack//lib/action_dispatch/journey/visitors.rb#100 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:100 def accept(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#108 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:108 def binary(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#113 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:113 def nary(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#124 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:124 def terminal(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:118 def unary(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:104 def visit(node, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:111 def visit_CAT(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#128 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:128 def visit_DOT(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#121 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:121 def visit_GROUP(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#125 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:125 def visit_LITERAL(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#116 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:116 def visit_OR(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#127 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:127 def visit_SLASH(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:122 def visit_STAR(n, seed); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#126 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:126 def visit_SYMBOL(n, seed); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#98 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:98 ActionDispatch::Journey::Visitors::FunctionalVisitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/journey/visitors.rb#170 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:170 class ActionDispatch::Journey::Visitors::String - # source://actionpack//lib/action_dispatch/journey/visitors.rb#171 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:171 def accept(node, seed); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#199 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:199 ActionDispatch::Journey::Visitors::String::INSTANCE = T.let(T.unsafe(nil), ActionDispatch::Journey::Visitors::String) -# source://actionpack//lib/action_dispatch/journey/visitors.rb#56 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:56 class ActionDispatch::Journey::Visitors::Visitor - # source://actionpack//lib/action_dispatch/journey/visitors.rb#59 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:59 def accept(node); end private - # source://actionpack//lib/action_dispatch/journey/visitors.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:68 def binary(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:74 def nary(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#85 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:85 def terminal(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#79 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:79 def unary(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:64 def visit(node); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:72 def visit_CAT(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#89 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:89 def visit_DOT(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#82 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:82 def visit_GROUP(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:86 def visit_LITERAL(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#77 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:77 def visit_OR(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#88 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:88 def visit_SLASH(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#83 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:83 def visit_STAR(n); end - # source://actionpack//lib/action_dispatch/journey/visitors.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:87 def visit_SYMBOL(n); end end -# source://actionpack//lib/action_dispatch/journey/visitors.rb#57 +# pkg:gem/actionpack#lib/action_dispatch/journey/visitors.rb:57 ActionDispatch::Journey::Visitors::Visitor::DISPATCH_CACHE = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/log_subscriber.rb#4 +# pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:4 class ActionDispatch::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def backtrace_cleaner; end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def backtrace_cleaner=(_arg0); end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def backtrace_cleaner?; end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#7 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:7 def redirect(event); end class << self - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def backtrace_cleaner; end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def backtrace_cleaner=(value); end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def backtrace_cleaner?; end private - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def __class_attr_backtrace_cleaner; end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:5 def __class_attr_backtrace_cleaner=(new_value); end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:25 def __class_attr_log_levels; end - # source://actionpack//lib/action_dispatch/log_subscriber.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/log_subscriber.rb:25 def __class_attr_log_levels=(new_value); end end end @@ -15267,7 +15267,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#14 +# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:14 class ActionDispatch::MiddlewareStack include ::Enumerable @@ -15275,13 +15275,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#76 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:76 def initialize(*args); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:93 def [](i); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#166 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:166 def build(app = T.unsafe(nil), &block); end # Deletes a middleware from the middleware stack. @@ -15289,7 +15289,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#131 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:131 def delete(target); end # Deletes a middleware from the middleware stack. @@ -15297,224 +15297,224 @@ 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#139 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:139 def delete!(target); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#81 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:81 def each(&block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#106 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:106 def insert(index, klass, *args, **_arg3, &block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:114 def insert_after(index, *args, **_arg2, &block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#112 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:112 def insert_before(index, klass, *args, **_arg3, &block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#89 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:89 def last; end # Returns the value of attribute middlewares. # - # source://actionpack//lib/action_dispatch/middleware/stack.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:74 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#74 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:74 def middlewares=(_arg0); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#143 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:143 def move(target, source); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#153 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:153 def move_after(target, source); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#151 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:151 def move_before(target, source); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#85 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:85 def size; end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#120 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:120 def swap(target, *args, **_arg2, &block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#97 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:97 def unshift(klass, *args, **_arg2, &block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#161 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:161 def use(klass, *args, **_arg2, &block); end private - # source://actionpack//lib/action_dispatch/middleware/stack.rb#178 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:178 def assert_index(index, where); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#184 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:184 def build_middleware(klass, args, block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#188 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:188 def index_of(klass); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:102 def initialize_copy(other); end end # This class is used to instrument the execution of a single middleware. It # proxies the `call` method transparently and instruments the method call. # -# source://actionpack//lib/action_dispatch/middleware/stack.rb#54 +# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:54 class ActionDispatch::MiddlewareStack::InstrumentationProxy # @return [InstrumentationProxy] a new instance of InstrumentationProxy # - # source://actionpack//lib/action_dispatch/middleware/stack.rb#57 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:57 def initialize(middleware, class_name); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:65 def call(env); end end -# source://actionpack//lib/action_dispatch/middleware/stack.rb#55 +# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:55 ActionDispatch::MiddlewareStack::InstrumentationProxy::EVENT_NAME = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/middleware/stack.rb#15 +# pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:15 class ActionDispatch::MiddlewareStack::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack//lib/action_dispatch/middleware/stack.rb#18 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:18 def initialize(klass, args, block); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:26 def ==(middleware); end # Returns the value of attribute args. # - # source://actionpack//lib/action_dispatch/middleware/stack.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:16 def args; end # Returns the value of attribute block. # - # source://actionpack//lib/action_dispatch/middleware/stack.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:16 def block; end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#43 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:43 def build(app); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#47 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:47 def build_instrumented(app); end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:35 def inspect; end # Returns the value of attribute klass. # - # source://actionpack//lib/action_dispatch/middleware/stack.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:16 def klass; end - # source://actionpack//lib/action_dispatch/middleware/stack.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/middleware/stack.rb:24 def name; end end -# source://actionpack//lib/action_dispatch.rb#50 +# pkg:gem/actionpack#lib/action_dispatch.rb:50 class ActionDispatch::MissingController < ::NameError; end -# source://actionpack//lib/action_dispatch/http/param_builder.rb#4 +# pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:4 class ActionDispatch::ParamBuilder # @return [ParamBuilder] a new instance of ParamBuilder # - # source://actionpack//lib/action_dispatch/http/param_builder.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:15 def initialize(param_depth_limit); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19 def default; end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19 def default=(val); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#62 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:62 def from_hash(hash, encoding_template: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#46 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:46 def from_pairs(pairs, encoding_template: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#42 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:42 def from_query_string(qs, separator: T.unsafe(nil), encoding_template: T.unsafe(nil)); end # Returns the value of attribute param_depth_limit. # - # source://actionpack//lib/action_dispatch/http/param_builder.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:13 def param_depth_limit; end private - # source://actionpack//lib/action_dispatch/http/param_builder.rb#163 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:163 def make_params; end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#167 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:167 def new_depth_limit(param_depth_limit); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/param_builder.rb#175 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:175 def params_hash_has_key?(hash, key); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/param_builder.rb#171 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:171 def params_hash_type?(obj); end # @raise [ParamsTooDeepError] # - # source://actionpack//lib/action_dispatch/http/param_builder.rb#77 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:77 def store_nested_param(params, name, v, depth, encoding_template = T.unsafe(nil)); end class << self - # source://actionpack//lib/action_dispatch/http/param_builder.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19 def default; end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:19 def default=(val); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23 def from_hash(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23 def from_pairs(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:23 def from_query_string(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:25 def ignore_leading_brackets; end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#33 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:33 def ignore_leading_brackets=(value); end - # source://actionpack//lib/action_dispatch/http/param_builder.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/http/param_builder.rb:9 def make_default(param_depth_limit); end end end -# source://actionpack//lib/action_dispatch/http/param_error.rb#4 +# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:4 class ActionDispatch::ParamError < ::ActionDispatch::Http::Parameters::ParseError # @return [ParamError] a new instance of ParamError # - # source://actionpack//lib/action_dispatch/http/param_error.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:5 def initialize(message = T.unsafe(nil)); end class << self - # source://actionpack//lib/action_dispatch/http/param_error.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:9 def ===(other); end end end -# source://actionpack//lib/action_dispatch/http/param_error.rb#18 +# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:18 class ActionDispatch::ParameterTypeError < ::ActionDispatch::ParamError; end -# source://actionpack//lib/action_dispatch/http/param_error.rb#24 +# pkg:gem/actionpack#lib/action_dispatch/http/param_error.rb:24 class ActionDispatch::ParamsTooDeepError < ::ActionDispatch::ParamError; end # # Action Dispatch PermissionsPolicy @@ -15541,152 +15541,152 @@ class ActionDispatch::ParamsTooDeepError < ::ActionDispatch::ParamError; end # 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#31 +# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:31 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#113 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:113 def initialize; end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def accelerometer(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def ambient_light_sensor(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def autoplay(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#132 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:132 def build(context = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def camera(*sources); end # Returns the value of attribute directives. # - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:111 def directives; end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def display_capture(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def encrypted_media(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def fullscreen(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def geolocation(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def gyroscope(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def hid(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def idle_detection(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def keyboard_map(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def magnetometer(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def microphone(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def midi(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def payment(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def picture_in_picture(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def screen_wake_lock(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def serial(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def sync_xhr(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def usb(*sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#123 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:123 def web_share(*sources); end private - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#150 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:150 def apply_mapping(source); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#137 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:137 def apply_mappings(sources); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#168 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:168 def build_directive(sources, context); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:156 def build_directives(context); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:118 def initialize_copy(other); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#172 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:172 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#84 +# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:84 ActionDispatch::PermissionsPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#77 +# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:77 ActionDispatch::PermissionsPolicy::MAPPINGS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#32 +# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:32 class ActionDispatch::PermissionsPolicy::Middleware # @return [Middleware] a new instance of Middleware # - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#33 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:33 def initialize(app); end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:37 def call(env); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:60 def policy_empty?(policy); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#56 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:56 def policy_present?(headers); end end -# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#65 +# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:65 module ActionDispatch::PermissionsPolicy::Request - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:68 def permissions_policy; end - # source://actionpack//lib/action_dispatch/http/permissions_policy.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:72 def permissions_policy=(policy); end end -# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#66 +# pkg:gem/actionpack#lib/action_dispatch/http/permissions_policy.rb:66 ActionDispatch::PermissionsPolicy::Request::POLICY = T.let(T.unsafe(nil), String) # # Action Dispatch PublicExceptions @@ -15702,41 +15702,41 @@ 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#18 +# pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:18 class ActionDispatch::PublicExceptions # @return [PublicExceptions] a new instance of PublicExceptions # - # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:21 def initialize(public_path); end - # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:25 def call(env); end # Returns the value of attribute public_path. # - # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:19 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#19 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:19 def public_path=(_arg0); end private - # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#39 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:39 def render(status, content_type, body); end - # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:48 def render_format(status, content_type, body); end - # source://actionpack//lib/action_dispatch/middleware/public_exceptions.rb#53 + # pkg:gem/actionpack#lib/action_dispatch/middleware/public_exceptions.rb:53 def render_html(status); end end -# source://actionpack//lib/action_dispatch/http/query_parser.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:7 class ActionDispatch::QueryParser class << self # -- @@ -15744,24 +15744,24 @@ class ActionDispatch::QueryParser # giving a nil value for keys that do not use '='. Callers that need # the standard's interpretation can use `v.to_s`. # - # source://actionpack//lib/action_dispatch/http/query_parser.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:29 def each_pair(s, separator = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/query_parser.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:11 def strict_query_string_separator; end - # source://actionpack//lib/action_dispatch/http/query_parser.rb#18 + # pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:18 def strict_query_string_separator=(value); end end end -# source://actionpack//lib/action_dispatch/http/query_parser.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:9 ActionDispatch::QueryParser::COMMON_SEP = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/query_parser.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/http/query_parser.rb:8 ActionDispatch::QueryParser::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/railtie.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/railtie.rb:12 class ActionDispatch::Railtie < ::Rails::Railtie; end # # Action Dispatch Reloader @@ -15773,7 +15773,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#14 +# pkg:gem/actionpack#lib/action_dispatch/middleware/reloader.rb:14 class ActionDispatch::Reloader < ::ActionDispatch::Executor; end # # Action Dispatch RemoteIp @@ -15802,7 +15802,7 @@ class ActionDispatch::Reloader < ::ActionDispatch::Executor; end # middleware runs. Alternatively, remove this middleware to avoid inadvertently # relying on it. # -# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#33 +# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:33 class ActionDispatch::RemoteIp # Create a new `RemoteIp` middleware instance. # @@ -15821,7 +15821,7 @@ class ActionDispatch::RemoteIp # # @return [RemoteIp] a new instance of RemoteIp # - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:67 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 without @@ -15829,17 +15829,17 @@ class ActionDispatch::RemoteIp # 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#95 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:95 def call(env); end # Returns the value of attribute check_ip. # - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#51 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:51 def check_ip; end # Returns the value of attribute proxies. # - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#51 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:51 def proxies; end end @@ -15847,11 +15847,11 @@ end # 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#104 +# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:104 class ActionDispatch::RemoteIp::GetIp # @return [GetIp] a new instance of GetIp # - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#105 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:105 def initialize(req, check_ip, proxies); end # Sort through the various IP address headers, looking for the IP most likely to @@ -15873,28 +15873,28 @@ class ActionDispatch::RemoteIp::GetIp # 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#129 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:129 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#173 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:173 def to_s; end private - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#196 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:196 def filter_proxies(ips); end - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#178 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:178 def ips_from(header); end - # source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#184 + # pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:184 def sanitize_ips(ips); end end -# source://actionpack//lib/action_dispatch/middleware/remote_ip.rb#34 +# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:34 class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end # The default trusted IPs list simply includes IP addresses that are guaranteed @@ -15902,10 +15902,10 @@ class ActionDispatch::RemoteIp::IpSpoofAttackError < ::StandardError; end # 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#40 +# pkg:gem/actionpack#lib/action_dispatch/middleware/remote_ip.rb:40 ActionDispatch::RemoteIp::TRUSTED_PROXIES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/request.rb#20 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:20 class ActionDispatch::Request include ::ActionDispatch::Flash::RequestMethods include ::Rack::Request::Helpers @@ -15922,85 +15922,85 @@ class ActionDispatch::Request # @return [Request] a new instance of Request # - # source://actionpack//lib/action_dispatch/http/request.rb#63 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:63 def initialize(env); end # Override Rack's GET method to support indifferent access. # - # source://actionpack//lib/action_dispatch/http/request.rb#400 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:400 def GET; end # Override Rack's POST method to support indifferent access. # - # source://actionpack//lib/action_dispatch/http/request.rb#413 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:413 def POST; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def accept; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def accept_charset; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def accept_encoding; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def accept_language; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 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#465 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:465 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#362 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:362 def body; end - # source://actionpack//lib/action_dispatch/http/request.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:382 def body_stream; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def cache_control; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def client_ip; end - # source://actionpack//lib/action_dispatch/http/request.rb#78 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:78 def commit_cookie_jar!; end - # source://actionpack//lib/action_dispatch/http/request.rb#497 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:497 def commit_csrf_token; end - # source://actionpack//lib/action_dispatch/http/request.rb#486 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:486 def commit_flash; end # Returns the content length of the request as an integer. # - # source://actionpack//lib/action_dispatch/http/request.rb#297 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:297 def content_length; end - # source://actionpack//lib/action_dispatch/http/request.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:87 def controller_class; end - # source://actionpack//lib/action_dispatch/http/request.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:93 def controller_class_for(name); end - # source://actionpack//lib/action_dispatch/http/request.rb#195 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:195 def controller_instance; end - # source://actionpack//lib/action_dispatch/http/request.rb#199 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:199 def controller_instance=(controller); end - # source://actionpack//lib/action_dispatch/http/request.rb#181 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:181 def engine_script_name(_routes); end - # source://actionpack//lib/action_dispatch/http/request.rb#185 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:185 def engine_script_name=(name); end # Determine whether the request body contains form-data by checking the request @@ -16013,10 +16013,10 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/request.rb#378 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:378 def form_data?; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def from; end # Returns the `String` full path including params of the last URL requested. @@ -16027,34 +16027,34 @@ class ActionDispatch::Request # # get "/articles?page=2" # request.fullpath # => "/articles?page=2" # - # source://actionpack//lib/action_dispatch/http/request.rb#276 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:276 def fullpath; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 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#237 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:237 def headers; end - # source://actionpack//lib/action_dispatch/http/request.rb#203 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:203 def http_auth_salt; end - # source://actionpack//lib/action_dispatch/http/request.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23 def ignore_accept_header; end - # source://actionpack//lib/action_dispatch/http/request.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23 def ignore_accept_header=(val); end - # source://actionpack//lib/action_dispatch/http/request.rb#489 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:489 def inspect; end # Returns the IP address of client as a `String`. # - # source://actionpack//lib/action_dispatch/http/request.rb#311 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:311 def ip; end # Returns true if the request has a header matching the given key parameter. @@ -16063,17 +16063,17 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/request.rb#114 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:114 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#473 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:473 def local?; end - # source://actionpack//lib/action_dispatch/http/request.rb#482 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:482 def logger; end # The `String` MIME type of the request. @@ -16081,7 +16081,7 @@ class ActionDispatch::Request # # get "/articles" # request.media_type # => "application/x-www-form-urlencoded" # - # source://actionpack//lib/action_dispatch/http/request.rb#292 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:292 def media_type; end # Returns the original value of the environment's REQUEST_METHOD, even if it was @@ -16090,18 +16090,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#217 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:217 def method(*args, **_arg1); end # Returns a symbol form of the #method. # - # source://actionpack//lib/action_dispatch/http/request.rb#230 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:230 def method_symbol; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def negotiate; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def origin; end # Returns a `String` with the last requested path including their params. @@ -16112,10 +16112,10 @@ class ActionDispatch::Request # # get '/foo?bar' # request.original_fullpath # => '/foo?bar' # - # source://actionpack//lib/action_dispatch/http/request.rb#265 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:265 def original_fullpath; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def original_script_name; end # Returns the original request URL as a `String`. @@ -16123,53 +16123,53 @@ 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#284 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:284 def original_url; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def path_translated; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def pragma; end # Override Rack's GET method to support indifferent access. # - # source://actionpack//lib/action_dispatch/http/request.rb#410 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:410 def query_parameters; end # Returns the value of attribute rack_request. # - # source://actionpack//lib/action_dispatch/http/request.rb#76 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:76 def rack_request; 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#353 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:353 def raw_post; end - # source://actionpack//lib/action_dispatch/http/request.rb#144 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:144 def raw_request_method; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def remote_addr; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def remote_host; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 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#317 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:317 def remote_ip; end - # source://actionpack//lib/action_dispatch/http/request.rb#321 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:321 def remote_ip=(remote_ip); end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def remote_user; end # Returns the unique request id, which is based on either the `X-Request-Id` @@ -16181,10 +16181,10 @@ class ActionDispatch::Request # logging or debugging. This relies on the Rack variable set by the # ActionDispatch::RequestId middleware. # - # source://actionpack//lib/action_dispatch/http/request.rb#336 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:336 def request_id; end - # source://actionpack//lib/action_dispatch/http/request.rb#340 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:340 def request_id=(id); end # Returns the HTTP method that the application should see. In the case where the @@ -16193,35 +16193,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#151 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:151 def request_method; end - # source://actionpack//lib/action_dispatch/http/request.rb#189 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:189 def request_method=(request_method); end # Returns a symbol form of the #request_method. # - # source://actionpack//lib/action_dispatch/http/request.rb#208 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:208 def request_method_symbol; end # Override Rack's POST method to support indifferent access. # - # source://actionpack//lib/action_dispatch/http/request.rb#440 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:440 def request_parameters; end - # source://actionpack//lib/action_dispatch/http/request.rb#477 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:477 def request_parameters=(params); end - # source://actionpack//lib/action_dispatch/http/request.rb#442 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:442 def request_parameters_list; end - # source://actionpack//lib/action_dispatch/http/request.rb#493 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:493 def reset_csrf_token; end - # source://actionpack//lib/action_dispatch/http/request.rb#386 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:386 def reset_session; end - # source://actionpack//lib/action_dispatch/http/request.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:169 def route=(route); end # Returns the URI pattern of the matched route for the request, using the same @@ -16229,13 +16229,13 @@ class ActionDispatch::Request # # request.route_uri_pattern # => "/:controller(/:action(/:id))(.:format)" # - # source://actionpack//lib/action_dispatch/http/request.rb#159 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:159 def route_uri_pattern; end - # source://actionpack//lib/action_dispatch/http/request.rb#173 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:173 def routes; end - # source://actionpack//lib/action_dispatch/http/request.rb#177 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:177 def routes=(routes); end # Early Hints is an HTTP/2 status code that indicates hints to help a client @@ -16252,24 +16252,24 @@ class ActionDispatch::Request # or {stylesheet_link_tag}[rdoc-ref:ActionView::Helpers::AssetTagHelper#stylesheet_link_tag] # the Early Hints headers are included by default if supported. # - # source://actionpack//lib/action_dispatch/http/request.rb#254 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:254 def send_early_hints(links); end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def server_name; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def server_protocol; end # Returns the lowercase name of the HTTP server software. # - # source://actionpack//lib/action_dispatch/http/request.rb#347 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:347 def server_software; end - # source://actionpack//lib/action_dispatch/http/request.rb#391 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:391 def session=(session); end - # source://actionpack//lib/action_dispatch/http/request.rb#395 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:395 def session_options=(options); end # Returns the unique request id, which is based on either the `X-Request-Id` @@ -16281,22 +16281,22 @@ class ActionDispatch::Request # logging or debugging. This relies on the Rack variable set by the # ActionDispatch::RequestId middleware. # - # source://actionpack//lib/action_dispatch/http/request.rb#344 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:344 def uuid; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def version; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def x_csrf_token; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def x_forwarded_for; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def x_forwarded_host; end - # source://actionpack//lib/action_dispatch/http/request.rb#49 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:49 def x_request_id; end # Returns true if the `X-Requested-With` header contains "XMLHttpRequest" @@ -16305,7 +16305,7 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/request.rb#308 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:308 def xhr?; end # Returns true if the `X-Requested-With` header contains "XMLHttpRequest" @@ -16314,165 +16314,165 @@ class ActionDispatch::Request # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/request.rb#305 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:305 def xml_http_request?; end private - # source://actionpack//lib/action_dispatch/http/request.rb#502 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:502 def check_method(name); end - # source://actionpack//lib/action_dispatch/http/request.rb#510 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:510 def default_session; end - # source://actionpack//lib/action_dispatch/http/request.rb#540 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:540 def fallback_request_parameters; end - # source://actionpack//lib/action_dispatch/http/request.rb#514 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:514 def read_body_stream; end - # source://actionpack//lib/action_dispatch/http/request.rb#526 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:526 def reset_stream(body_stream); end class << self - # source://actionpack//lib/action_dispatch/http/request.rb#59 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:59 def empty; end - # source://actionpack//lib/action_dispatch/http/request.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23 def ignore_accept_header; end - # source://actionpack//lib/action_dispatch/http/request.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:23 def ignore_accept_header=(val); end - # source://actionpack//lib/action_dispatch/http/request.rb#24 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:24 def parameter_parsers; end end end -# source://actionpack//lib/action_dispatch/http/request.rb#326 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:326 ActionDispatch::Request::ACTION_DISPATCH_REQUEST_ID = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/request.rb#35 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:35 ActionDispatch::Request::ENV_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/request.rb#135 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:135 ActionDispatch::Request::HTTP_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/request.rb#137 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:137 ActionDispatch::Request::HTTP_METHOD_LOOKUP = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/request.rb#33 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:33 ActionDispatch::Request::LOCALHOST = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/request.rb#81 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:81 class ActionDispatch::Request::PASS_NOT_FOUND class << self - # source://actionpack//lib/action_dispatch/http/request.rb#82 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:82 def action(_); end - # source://actionpack//lib/action_dispatch/http/request.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:84 def action_encoding_template(action); end - # source://actionpack//lib/action_dispatch/http/request.rb#83 + # pkg:gem/actionpack#lib/action_dispatch/http/request.rb:83 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#121 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:121 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#119 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:119 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#123 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:123 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#125 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:125 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#127 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:127 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#131 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:131 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#129 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:129 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#133 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:133 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#10 +# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:10 class ActionDispatch::Request::Session # @return [Session] a new instance of Session # - # source://actionpack//lib/action_dispatch/request/session.rb#76 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:76 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#114 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:114 def [](key); end # Writes given value to given key of the session. # - # source://actionpack//lib/action_dispatch/request/session.rb#154 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:154 def []=(key, value); end # Clears the session. # - # source://actionpack//lib/action_dispatch/request/session.rb#161 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:161 def clear; end # Deletes given key from the session. # - # source://actionpack//lib/action_dispatch/request/session.rb#194 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:194 def delete(key); end - # source://actionpack//lib/action_dispatch/request/session.rb#99 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:99 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#127 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:127 def dig(*keys); end - # source://actionpack//lib/action_dispatch/request/session.rb#245 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:245 def each(&block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#240 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:240 def empty?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:91 def enabled?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#230 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:230 def exists?; end # Returns value of the given key from the session, or raises `KeyError` if can't @@ -16490,47 +16490,47 @@ class ActionDispatch::Request::Session # end # # => :bar # - # source://actionpack//lib/action_dispatch/request/session.rb#213 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:213 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#134 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:134 def has_key?(key); end - # source://actionpack//lib/action_dispatch/request/session.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:87 def id; end - # source://actionpack//lib/action_dispatch/request/session.rb#249 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:249 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#139 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:139 def include?(key); end - # source://actionpack//lib/action_dispatch/request/session.rb#222 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:222 def inspect; end # Returns true if the session has the given key or false. # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#138 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:138 def key?(key); end # Returns keys of the session as Array. # - # source://actionpack//lib/action_dispatch/request/session.rb#142 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:142 def keys; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/request/session.rb#236 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:236 def loaded?; end # Updates the session with given Hash. @@ -16544,25 +16544,25 @@ class ActionDispatch::Request::Session # session.to_hash # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"} # - # source://actionpack//lib/action_dispatch/request/session.rb#191 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:191 def merge!(hash); end - # source://actionpack//lib/action_dispatch/request/session.rb#95 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:95 def options; end # Writes given value to given key of the session. # - # source://actionpack//lib/action_dispatch/request/session.rb#158 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:158 def store(key, value); end # Returns the session as Hash. # - # source://actionpack//lib/action_dispatch/request/session.rb#171 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:171 def to_h; end # Returns the session as Hash. # - # source://actionpack//lib/action_dispatch/request/session.rb#167 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:167 def to_hash; end # Updates the session with given Hash. @@ -16576,265 +16576,265 @@ class ActionDispatch::Request::Session # session.to_hash # # => {"session_id"=>"e29b9ea315edf98aad94cc78c34cc9b2", "foo" => "bar"} # - # source://actionpack//lib/action_dispatch/request/session.rb#183 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:183 def update(hash); end # Returns values of the session as Array. # - # source://actionpack//lib/action_dispatch/request/session.rb#148 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:148 def values; end private - # source://actionpack//lib/action_dispatch/request/session.rb#271 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:271 def load!; end - # source://actionpack//lib/action_dispatch/request/session.rb#267 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:267 def load_for_delete!; end - # source://actionpack//lib/action_dispatch/request/session.rb#255 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:255 def load_for_read!; end - # source://actionpack//lib/action_dispatch/request/session.rb#259 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:259 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#19 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:19 def create(store, req, default_options); end - # source://actionpack//lib/action_dispatch/request/session.rb#43 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:43 def delete(req); end - # source://actionpack//lib/action_dispatch/request/session.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:29 def disabled(req); end - # source://actionpack//lib/action_dispatch/request/session.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:35 def find(req); end - # source://actionpack//lib/action_dispatch/request/session.rb#39 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:39 def set(req, session); end end end -# source://actionpack//lib/action_dispatch/request/session.rb#11 +# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:11 class ActionDispatch::Request::Session::DisabledSessionError < ::StandardError; end -# source://actionpack//lib/action_dispatch/request/session.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:12 ActionDispatch::Request::Session::ENV_SESSION_KEY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/request/session.rb#13 +# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:13 ActionDispatch::Request::Session::ENV_SESSION_OPTIONS_KEY = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/request/session.rb#47 +# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:47 class ActionDispatch::Request::Session::Options # @return [Options] a new instance of Options # - # source://actionpack//lib/action_dispatch/request/session.rb#56 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:56 def initialize(by, default_options); end - # source://actionpack//lib/action_dispatch/request/session.rb#61 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:61 def [](key); end - # source://actionpack//lib/action_dispatch/request/session.rb#71 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:71 def []=(k, v); end - # source://actionpack//lib/action_dispatch/request/session.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:65 def id(req); end - # source://actionpack//lib/action_dispatch/request/session.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:72 def to_hash; end - # source://actionpack//lib/action_dispatch/request/session.rb#73 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:73 def values_at(*args); end class << self - # source://actionpack//lib/action_dispatch/request/session.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:52 def find(req); end - # source://actionpack//lib/action_dispatch/request/session.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/request/session.rb:48 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#16 +# pkg:gem/actionpack#lib/action_dispatch/request/session.rb:16 ActionDispatch::Request::Session::Unspecified = T.let(T.unsafe(nil), Object) -# source://actionpack//lib/action_dispatch/http/request.rb#57 +# pkg:gem/actionpack#lib/action_dispatch/http/request.rb:57 ActionDispatch::Request::TRANSFER_ENCODING = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/request/utils.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:9 class ActionDispatch::Request::Utils - # source://actionpack//lib/action_dispatch/request/utils.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10 def perform_deep_munge; end - # source://actionpack//lib/action_dispatch/request/utils.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10 def perform_deep_munge=(val); end class << self - # source://actionpack//lib/action_dispatch/request/utils.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:31 def check_param_encoding(params); end - # source://actionpack//lib/action_dispatch/request/utils.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:12 def each_param_value(params, &block); end - # source://actionpack//lib/action_dispatch/request/utils.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:23 def normalize_encode_params(params); end - # source://actionpack//lib/action_dispatch/request/utils.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10 def perform_deep_munge; end - # source://actionpack//lib/action_dispatch/request/utils.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:10 def perform_deep_munge=(val); end - # source://actionpack//lib/action_dispatch/request/utils.rb#46 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:46 def set_binary_encoding(request, params, controller, action); end end end -# source://actionpack//lib/action_dispatch/request/utils.rb#85 +# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:85 class ActionDispatch::Request::Utils::CustomParamEncoder class << self - # source://actionpack//lib/action_dispatch/request/utils.rb#106 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:106 def action_encoding_template(request, controller, action); end - # source://actionpack//lib/action_dispatch/request/utils.rb#101 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:101 def encode(request, params, controller, action); end - # source://actionpack//lib/action_dispatch/request/utils.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:86 def encode_for_template(params, encoding_template); end end end # Remove nils from the params hash. # -# source://actionpack//lib/action_dispatch/request/utils.rb#77 +# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:77 class ActionDispatch::Request::Utils::NoNilParamEncoder < ::ActionDispatch::Request::Utils::ParamEncoder class << self - # source://actionpack//lib/action_dispatch/request/utils.rb#78 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:78 def handle_array(params); end end end -# source://actionpack//lib/action_dispatch/request/utils.rb#50 +# pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:50 class ActionDispatch::Request::Utils::ParamEncoder class << self - # source://actionpack//lib/action_dispatch/request/utils.rb#71 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:71 def handle_array(params); end # Convert nested Hash to HashWithIndifferentAccess. # - # source://actionpack//lib/action_dispatch/request/utils.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/request/utils.rb:52 def normalize_encode_params(params); end end end -# source://actionpack//lib/action_dispatch/middleware/cookies.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:12 module ActionDispatch::RequestCookieMethods - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#50 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:50 def authenticated_encrypted_cookie_salt; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:13 def cookie_jar; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:30 def cookie_jar=(jar); end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#78 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:78 def cookies_digest; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#82 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:82 def cookies_rotations; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:74 def cookies_same_site_protection; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#70 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:70 def cookies_serializer; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:58 def encrypted_cookie_cipher; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#42 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:42 def encrypted_cookie_salt; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#46 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:46 def encrypted_signed_cookie_salt; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:26 def have_cookie_jar?; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#34 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:34 def key_generator; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#66 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:66 def secret_key_base; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#62 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:62 def signed_cookie_digest; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#38 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:38 def signed_cookie_salt; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#54 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:54 def use_authenticated_cookie_encryption; end - # source://actionpack//lib/action_dispatch/middleware/cookies.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/middleware/cookies.rb:86 def use_cookies_with_metadata; end end -# source://actionpack//lib/action_dispatch/testing/request_encoder.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:9 class ActionDispatch::RequestEncoder # @return [RequestEncoder] a new instance of RequestEncoder # - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:21 def initialize(mime_name, param_encoder, response_parser, content_type); end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#34 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:34 def accept_header; end # Returns the value of attribute content_type. # - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:19 def content_type; end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#38 + # pkg:gem/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#19 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:19 def response_parser; end class << self - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#47 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:47 def encoder(name); end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#42 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:42 def parser(content_type); end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#51 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:51 def register_encoder(mime_name, param_encoder: T.unsafe(nil), response_parser: T.unsafe(nil), content_type: T.unsafe(nil)); end end end -# source://actionpack//lib/action_dispatch/testing/request_encoder.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:10 class ActionDispatch::RequestEncoder::IdentityEncoder - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:12 def accept_header; end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:11 def content_type; end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:13 def encode_params(params); end - # source://actionpack//lib/action_dispatch/testing/request_encoder.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/testing/request_encoder.rb:14 def response_parser; end end @@ -16854,22 +16854,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#24 +# pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:24 class ActionDispatch::RequestId # @return [RequestId] a new instance of RequestId # - # source://actionpack//lib/action_dispatch/middleware/request_id.rb#25 + # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:25 def initialize(app, header:); end - # source://actionpack//lib/action_dispatch/middleware/request_id.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:31 def call(env); end private - # source://actionpack//lib/action_dispatch/middleware/request_id.rb#46 + # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:46 def internal_request_id; end - # source://actionpack//lib/action_dispatch/middleware/request_id.rb#38 + # pkg:gem/actionpack#lib/action_dispatch/middleware/request_id.rb:38 def make_request_id(request_id); end end @@ -16901,7 +16901,7 @@ end # end # end # -# source://actionpack//lib/action_dispatch/http/response.rb#38 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:38 class ActionDispatch::Response include ::Rack::Response::Helpers include ::ActionDispatch::Http::FilterRedirect @@ -16912,50 +16912,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#197 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:197 def initialize(status = T.unsafe(nil), headers = T.unsafe(nil), body = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/response.rb#89 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:89 def [](*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/http/response.rb#89 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:89 def []=(*_arg0, **_arg1, &_arg2); end # Aliasing these off because AD::Http::Cache::Response defines them. # - # source://actionpack//lib/action_dispatch/http/response.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:107 def _cache_control; end - # source://actionpack//lib/action_dispatch/http/response.rb#108 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:108 def _cache_control=(value); end - # source://actionpack//lib/action_dispatch/http/response.rb#446 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:446 def abort; end - # source://actionpack//lib/action_dispatch/http/response.rb#223 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:223 def await_commit; end - # source://actionpack//lib/action_dispatch/http/response.rb#229 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:229 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#369 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:369 def body; end # Allows you to manually set or override the response body. # - # source://actionpack//lib/action_dispatch/http/response.rb#384 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:384 def body=(body); end - # source://actionpack//lib/action_dispatch/http/response.rb#433 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:433 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#339 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:339 def charset; end # Sets the HTTP character set. In case of `nil` parameter it sets the charset to @@ -16964,28 +16964,28 @@ class ActionDispatch::Response # response.charset = 'utf-16' # => 'utf-16' # response.charset = nil # => 'utf-8' # - # source://actionpack//lib/action_dispatch/http/response.rb#328 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:328 def charset=(charset); end - # source://actionpack//lib/action_dispatch/http/response.rb#442 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:442 def close; end # Returns a string to ensure compatibility with `Net::HTTPResponse`. # - # source://actionpack//lib/action_dispatch/http/response.rb#350 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:350 def code; end - # source://actionpack//lib/action_dispatch/http/response.rb#233 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:233 def commit!; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#257 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:257 def committed?; end # Content type of response. # - # source://actionpack//lib/action_dispatch/http/response.rb#308 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:308 def content_type; end # Sets the HTTP response's content MIME type. For example, in the controller you @@ -17001,40 +17001,40 @@ class ActionDispatch::Response # character set information will also be included in the content type # information. # - # source://actionpack//lib/action_dispatch/http/response.rb#289 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:289 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#469 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:469 def cookies; end - # source://actionpack//lib/action_dispatch/http/response.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102 def default_charset; end - # source://actionpack//lib/action_dispatch/http/response.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102 def default_charset=(val); end - # source://actionpack//lib/action_dispatch/http/response.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103 def default_headers; end - # source://actionpack//lib/action_dispatch/http/response.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103 def default_headers=(val); end - # source://actionpack//lib/action_dispatch/http/response.rb#221 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:221 def delete_header(key); end - # source://actionpack//lib/action_dispatch/http/response.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:91 def each(&block); end - # source://actionpack//lib/action_dispatch/http/response.rb#219 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:219 def get_header(key); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#218 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:218 def has_header?(key); end # The headers for the response. @@ -17051,7 +17051,7 @@ class ActionDispatch::Response # # Also aliased as `header` for compatibility. # - # source://actionpack//lib/action_dispatch/http/response.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:87 def header; end # The headers for the response. @@ -17068,12 +17068,12 @@ class ActionDispatch::Response # # Also aliased as `header` for compatibility. # - # source://actionpack//lib/action_dispatch/http/response.rb#85 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:85 def headers; end # Media type of response. # - # source://actionpack//lib/action_dispatch/http/response.rb#313 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:313 def media_type; end # Returns the corresponding message for the current HTTP status code: @@ -17084,7 +17084,7 @@ class ActionDispatch::Response # response.status = 404 # response.message # => "Not Found" # - # source://actionpack//lib/action_dispatch/http/response.rb#362 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:362 def message; end # Turns the Response into a Rack-compatible array of the status, headers, and @@ -17092,67 +17092,67 @@ class ActionDispatch::Response # # status, headers, body = *response # - # source://actionpack//lib/action_dispatch/http/response.rb#464 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:464 def prepare!; end # The location header we'll be responding with. # - # source://actionpack//lib/action_dispatch/http/response.rb#440 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:440 def redirect_url; end # The request that the response is responding to. # - # source://actionpack//lib/action_dispatch/http/response.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:67 def request; end # The request that the response is responding to. # - # source://actionpack//lib/action_dispatch/http/response.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:67 def request=(_arg0); end - # source://actionpack//lib/action_dispatch/http/response.rb#429 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:429 def reset_body!; end # The response code of the request. # - # source://actionpack//lib/action_dispatch/http/response.rb#345 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:345 def response_code; end # Send the file stored at `path` as the response body. # - # source://actionpack//lib/action_dispatch/http/response.rb#424 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:424 def send_file(path); end - # source://actionpack//lib/action_dispatch/http/response.rb#241 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:241 def sending!; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#256 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:256 def sending?; end - # source://actionpack//lib/action_dispatch/http/response.rb#317 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:317 def sending_file=(v); end - # source://actionpack//lib/action_dispatch/http/response.rb#249 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:249 def sent!; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#258 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:258 def sent?; end - # source://actionpack//lib/action_dispatch/http/response.rb#220 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:220 def set_header(key, v); end # The HTTP status code. # - # source://actionpack//lib/action_dispatch/http/response.rb#70 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:70 def status; end # Sets the HTTP status code. # - # source://actionpack//lib/action_dispatch/http/response.rb#273 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:273 def status=(status); end # Returns the corresponding message for the current HTTP status code: @@ -17163,12 +17163,12 @@ class ActionDispatch::Response # response.status = 404 # response.message # => "Not Found" # - # source://actionpack//lib/action_dispatch/http/response.rb#365 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:365 def status_message; end # The underlying body, as a streamable object. # - # source://actionpack//lib/action_dispatch/http/response.rb#195 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:195 def stream; end # Turns the Response into a Rack-compatible array of the status, headers, and @@ -17176,132 +17176,132 @@ class ActionDispatch::Response # # status, headers, body = *response # - # source://actionpack//lib/action_dispatch/http/response.rb#460 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:460 def to_a; end - # source://actionpack//lib/action_dispatch/http/response.rb#379 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:379 def write(string); end private - # source://actionpack//lib/action_dispatch/http/response.rb#535 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:535 def assign_default_content_type_and_charset!; end - # source://actionpack//lib/action_dispatch/http/response.rb#513 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:513 def before_committed; end - # source://actionpack//lib/action_dispatch/http/response.rb#521 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:521 def before_sending; end - # source://actionpack//lib/action_dispatch/http/response.rb#531 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:531 def build_buffer(response, body); end - # source://actionpack//lib/action_dispatch/http/response.rb#587 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:587 def handle_no_content!; end - # source://actionpack//lib/action_dispatch/http/response.rb#493 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:493 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#503 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:503 def parsed_content_type_header; end - # source://actionpack//lib/action_dispatch/http/response.rb#594 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:594 def rack_response(status, headers); end - # source://actionpack//lib/action_dispatch/http/response.rb#507 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:507 def set_content_type(content_type, charset); end class << self - # source://actionpack//lib/action_dispatch/http/response.rb#185 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:185 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#102 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102 def default_charset; end - # source://actionpack//lib/action_dispatch/http/response.rb#102 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:102 def default_charset=(val); end - # source://actionpack//lib/action_dispatch/http/response.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103 def default_headers; end - # source://actionpack//lib/action_dispatch/http/response.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:103 def default_headers=(val); end - # source://actionpack//lib/action_dispatch/http/response.rb#190 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:190 def merge_default_headers(original, default); end - # source://actionpack//lib/action_dispatch/http/response.rb#51 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:51 def rack_status_code(status); end end end -# source://actionpack//lib/action_dispatch/http/response.rb#114 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:114 class ActionDispatch::Response::Buffer # @return [Buffer] a new instance of Buffer # - # source://actionpack//lib/action_dispatch/http/response.rb#115 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:115 def initialize(response, buf); end # @raise [IOError] # - # source://actionpack//lib/action_dispatch/http/response.rb#155 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:155 def <<(string); end - # source://actionpack//lib/action_dispatch/http/response.rb#167 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:167 def abort; end - # source://actionpack//lib/action_dispatch/http/response.rb#140 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:140 def body; end - # source://actionpack//lib/action_dispatch/http/response.rb#170 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:170 def close; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#175 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:175 def closed?; end - # source://actionpack//lib/action_dispatch/http/response.rb#157 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:157 def each(&block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#124 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:124 def respond_to?(method, include_private = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/response.rb#132 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:132 def to_ary; end # @raise [IOError] # - # source://actionpack//lib/action_dispatch/http/response.rb#148 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:148 def write(string); end private - # source://actionpack//lib/action_dispatch/http/response.rb#180 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:180 def each_chunk(&block); end end -# source://actionpack//lib/action_dispatch/http/response.rb#122 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:122 ActionDispatch::Response::Buffer::BODY_METHODS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/response.rb#98 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:98 ActionDispatch::Response::CONTENT_TYPE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/response.rb#487 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:487 ActionDispatch::Response::CONTENT_TYPE_PARSER = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/http/response.rb#484 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 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#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def charset; end # Sets the attribute charset @@ -17309,14 +17309,14 @@ class ActionDispatch::Response::ContentTypeHeader < ::Struct # @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#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 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#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def mime_type; end # Sets the attribute mime_type @@ -17324,23 +17324,23 @@ class ActionDispatch::Response::ContentTypeHeader < ::Struct # @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#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def mime_type=(_); end class << self - # source://actionpack//lib/action_dispatch/http/response.rb#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def [](*_arg0); end - # source://actionpack//lib/action_dispatch/http/response.rb#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def inspect; end - # source://actionpack//lib/action_dispatch/http/response.rb#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def keyword_init?; end - # source://actionpack//lib/action_dispatch/http/response.rb#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def members; end - # source://actionpack//lib/action_dispatch/http/response.rb#484 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:484 def new(*_arg0); end end end @@ -17349,79 +17349,79 @@ end # 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#402 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:402 class ActionDispatch::Response::FileBody # @return [FileBody] a new instance of FileBody # - # source://actionpack//lib/action_dispatch/http/response.rb#405 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:405 def initialize(path); end - # source://actionpack//lib/action_dispatch/http/response.rb#409 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:409 def body; end # Stream the file's contents if Rack::Sendfile isn't present. # - # source://actionpack//lib/action_dispatch/http/response.rb#414 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:414 def each; end - # source://actionpack//lib/action_dispatch/http/response.rb#403 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:403 def to_path; end end # To be deprecated: # -# source://actionpack//lib/action_dispatch/http/response.rb#64 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:64 ActionDispatch::Response::Header = Rack::Headers -# source://actionpack//lib/action_dispatch/http/response.rb#42 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:42 ActionDispatch::Response::Headers = Rack::Headers -# source://actionpack//lib/action_dispatch/http/response.rb#100 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:100 ActionDispatch::Response::NO_CONTENT_CODES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/http/response.rb#485 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:485 ActionDispatch::Response::NullContentTypeHeader = T.let(T.unsafe(nil), ActionDispatch::Response::ContentTypeHeader) -# source://actionpack//lib/action_dispatch/http/response.rb#543 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:543 class ActionDispatch::Response::RackBody # @return [RackBody] a new instance of RackBody # - # source://actionpack//lib/action_dispatch/http/response.rb#544 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:544 def initialize(response); end - # source://actionpack//lib/action_dispatch/http/response.rb#556 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:556 def body; end - # source://actionpack//lib/action_dispatch/http/response.rb#578 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:578 def call(*arguments, &block); end - # source://actionpack//lib/action_dispatch/http/response.rb#550 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:550 def close; end - # source://actionpack//lib/action_dispatch/http/response.rb#574 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:574 def each(*args, &block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/response.rb#562 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:562 def respond_to?(method, include_private = T.unsafe(nil)); end # Returns the value of attribute response. # - # source://actionpack//lib/action_dispatch/http/response.rb#548 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:548 def response; end - # source://actionpack//lib/action_dispatch/http/response.rb#570 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:570 def to_ary; end - # source://actionpack//lib/action_dispatch/http/response.rb#582 + # pkg:gem/actionpack#lib/action_dispatch/http/response.rb:582 def to_path; end end -# source://actionpack//lib/action_dispatch/http/response.rb#560 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:560 ActionDispatch::Response::RackBody::BODY_METHODS = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/response.rb#99 +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:99 ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String) # The routing module provides URL rewriting in native Ruby. It's a way to @@ -17667,161 +17667,161 @@ ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String) # Target a specific controller with `-c`, or grep routes using `-g`. Useful in # conjunction with `--expanded` which displays routes vertically. # -# source://actionpack//lib/action_dispatch/routing.rb#248 +# pkg:gem/actionpack#lib/action_dispatch/routing.rb:248 module ActionDispatch::Routing extend ::ActiveSupport::Autoload end -# source://actionpack//lib/action_dispatch/routing/inspector.rb#158 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:158 module ActionDispatch::Routing::ConsoleFormatter; end -# source://actionpack//lib/action_dispatch/routing/inspector.rb#159 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:159 class ActionDispatch::Routing::ConsoleFormatter::Base # @return [Base] a new instance of Base # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#160 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:160 def initialize; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#177 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:177 def footer(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#174 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:174 def header(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#180 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:180 def no_routes(engine, routes, filter); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#164 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:164 def result; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#171 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:171 def section(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#168 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:168 def section_title(title); end end -# source://actionpack//lib/action_dispatch/routing/inspector.rb#244 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:244 class ActionDispatch::Routing::ConsoleFormatter::Expanded < ::ActionDispatch::Routing::ConsoleFormatter::Base # @return [Expanded] a new instance of Expanded # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#245 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:245 def initialize(width: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#258 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:258 def footer(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#254 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:254 def section(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#250 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:250 def section_title(title); end private - # source://actionpack//lib/action_dispatch/routing/inspector.rb#263 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:263 def draw_expanded_section(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#278 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:278 def route_header(index:); end end -# source://actionpack//lib/action_dispatch/routing/inspector.rb#204 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:204 class ActionDispatch::Routing::ConsoleFormatter::Sheet < ::ActionDispatch::Routing::ConsoleFormatter::Base - # source://actionpack//lib/action_dispatch/routing/inspector.rb#217 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:217 def footer(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#213 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:213 def header(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#209 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:209 def section(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#205 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:205 def section_title(title); end private - # source://actionpack//lib/action_dispatch/routing/inspector.rb#231 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:231 def draw_header(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#222 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:222 def draw_section(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#237 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:237 def widths(routes); end end -# source://actionpack//lib/action_dispatch/routing/inspector.rb#283 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:283 class ActionDispatch::Routing::ConsoleFormatter::Unused < ::ActionDispatch::Routing::ConsoleFormatter::Sheet - # source://actionpack//lib/action_dispatch/routing/inspector.rb#284 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:284 def header(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#292 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:292 def no_routes(engine, routes, filter); end end -# source://actionpack//lib/action_dispatch/routing/endpoint.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:7 class ActionDispatch::Routing::Endpoint - # source://actionpack//lib/action_dispatch/routing/endpoint.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:11 def app; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/endpoint.rb#8 + # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:8 def dispatcher?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/endpoint.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:14 def engine?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/endpoint.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:10 def matches?(req); end - # source://actionpack//lib/action_dispatch/routing/endpoint.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:12 def rack_app; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/endpoint.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/routing/endpoint.rb:9 def redirect?; end end -# source://actionpack//lib/action_dispatch/routing.rb#260 +# pkg:gem/actionpack#lib/action_dispatch/routing.rb:260 ActionDispatch::Routing::HTTP_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/inspector.rb#305 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:305 class ActionDispatch::Routing::HtmlTableFormatter # @return [HtmlTableFormatter] a new instance of HtmlTableFormatter # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#306 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:306 def initialize(view); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#323 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:323 def footer(routes); end # The header is part of the HTML page, so we don't construct it here. # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#320 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:320 def header(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#326 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:326 def no_routes(*_arg0); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#339 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:339 def result; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#315 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:315 def section(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#311 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:311 def section_title(title); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#14 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:14 class ActionDispatch::Routing::Mapper include ::ActionDispatch::Routing::Mapper::Base include ::ActionDispatch::Routing::Mapper::HttpHelpers @@ -17833,55 +17833,55 @@ class ActionDispatch::Routing::Mapper # @return [Mapper] a new instance of Mapper # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2530 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2530 def initialize(set); end class << self - # source://actionpack//lib/action_dispatch/routing/mapper.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:27 def backtrace_cleaner; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:27 def backtrace_cleaner=(val); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#407 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:407 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#392 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:392 def normalize_path(path); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:26 def route_source_locations; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:26 def route_source_locations=(val); end end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#15 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:15 class ActionDispatch::Routing::Mapper::BacktraceCleaner < ::ActiveSupport::BacktraceCleaner # @return [BacktraceCleaner] a new instance of BacktraceCleaner # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#16 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:16 def initialize; end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#411 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:411 module ActionDispatch::Routing::Mapper::Base - # source://actionpack//lib/action_dispatch/routing/mapper.rb#653 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:653 def default_url_options(options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#650 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:650 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#662 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:662 def has_named_route?(name); end # Matches a URL pattern to one or more routes. @@ -18046,7 +18046,7 @@ module ActionDispatch::Routing::Mapper::Base # :format # disable it by supplying `false`. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#587 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:587 def match(path, options = T.unsafe(nil)); end # Mount a Rack-based application to be used within the application. @@ -18067,29 +18067,29 @@ module ActionDispatch::Routing::Mapper::Base # # @raise [ArgumentError] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#605 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:605 def mount(app = T.unsafe(nil), deprecated_options = T.unsafe(nil), as: T.unsafe(nil), via: T.unsafe(nil), at: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#655 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:655 def with_default_scope(scope, &block); end private - # source://actionpack//lib/action_dispatch/routing/mapper.rb#689 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:689 def app_name(app, rails_app); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#667 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:667 def assign_deprecated_option(deprecated_options, key, method_name); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#676 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:676 def assign_deprecated_options(deprecated_options, options, method_name); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#698 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:698 def define_generate_prefix(app, name); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#685 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:685 def rails_app?(app); end end @@ -18114,7 +18114,7 @@ end # concerns :commentable # end # -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2242 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2242 module ActionDispatch::Routing::Mapper::Concerns # Define a routing concern using a name. # @@ -18171,7 +18171,7 @@ module ActionDispatch::Routing::Mapper::Concerns # Any routing helpers can be used inside a concern. If using a callable, they're # accessible from the Mapper that's passed to `call`. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2297 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2297 def concern(name, callable = T.unsafe(nil), &block); end # Use the named concerns @@ -18186,53 +18186,53 @@ module ActionDispatch::Routing::Mapper::Concerns # concerns :commentable # end # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2313 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2313 def concerns(*args, **options); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#29 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:29 class ActionDispatch::Routing::Mapper::Constraints < ::ActionDispatch::Routing::Endpoint # @return [Constraints] a new instance of Constraints # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:35 def initialize(app, constraints, strategy); end # Returns the value of attribute app. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:30 def app; end # Returns the value of attribute constraints. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:30 def constraints; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#50 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:50 def dispatcher?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:52 def matches?(req); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#59 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:59 def serve(req); end private - # source://actionpack//lib/action_dispatch/routing/mapper.rb#66 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:66 def constraint_args(constraint, request); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#33 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:33 ActionDispatch::Routing::Mapper::Constraints::CALL = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#32 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:32 ActionDispatch::Routing::Mapper::Constraints::SERVE = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2324 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2324 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 of routing helpers, @@ -18284,7 +18284,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#2374 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2374 def direct(name, options = T.unsafe(nil), &block); end # Define custom polymorphic mappings of models to URLs. This alters the behavior @@ -18332,14 +18332,14 @@ 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#2426 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2426 def resolve(*args, &block); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2528 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2528 ActionDispatch::Routing::Mapper::DEFAULT = T.let(T.unsafe(nil), Object) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#733 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:733 module ActionDispatch::Routing::Mapper::HttpHelpers # Define a route that recognizes HTTP CONNECT (and GET) requests. More # specifically this recognizes HTTP/1 protocol upgrade requests and HTTP/2 @@ -18348,7 +18348,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # connect 'live', to: 'live#index' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#884 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:884 def connect(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # Define a route that only recognizes HTTP DELETE. For supported arguments, see @@ -18356,7 +18356,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # delete 'broccoli', to: 'food#broccoli' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#834 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:834 def delete(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # Define a route that only recognizes HTTP GET. For supported arguments, see @@ -18364,7 +18364,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # get 'bacon', to: 'food#bacon' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#738 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:738 def get(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # Define a route that only recognizes HTTP OPTIONS. For supported arguments, see @@ -18372,7 +18372,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # options 'carrots', to: 'food#carrots' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#858 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:858 def options(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # Define a route that only recognizes HTTP PATCH. For supported arguments, see @@ -18380,7 +18380,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # patch 'bacon', to: 'food#bacon' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#786 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:786 def patch(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # Define a route that only recognizes HTTP POST. For supported arguments, see @@ -18388,7 +18388,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # post 'bacon', to: 'food#bacon' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#762 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:762 def post(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # Define a route that only recognizes HTTP PUT. For supported arguments, see @@ -18396,145 +18396,145 @@ module ActionDispatch::Routing::Mapper::HttpHelpers # # put 'bacon', to: 'food#bacon' # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#810 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:810 def put(*path_or_actions, as: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#83 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:83 class ActionDispatch::Routing::Mapper::Mapping # @return [Mapping] a new instance of Mapping # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#132 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:132 def initialize(set:, ast:, controller:, default_action:, to:, formatted:, via:, options_constraints:, anchor:, scope_params:, internal:, options:); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#190 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:190 def application; end # Returns the value of attribute ast. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def ast; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#194 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:194 def conditions; end # Returns the value of attribute default_action. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def default_action; end # Returns the value of attribute default_controller. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def default_controller; end # Returns the value of attribute defaults. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def defaults; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#183 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:183 def make_route(name, precedence); end # Returns the value of attribute path. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def path; end # Returns the value of attribute required_defaults. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def required_defaults; end # Returns the value of attribute requirements. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def requirements; end # Returns the value of attribute scope_options. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def scope_options; end # Returns the value of attribute to. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:87 def to; end private - # source://actionpack//lib/action_dispatch/routing/mapper.rb#329 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:329 def add_controller_module(controller, modyoule); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#290 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:290 def app(blocks); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#348 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:348 def blocks(callable_constraint); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#198 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:198 def build_conditions(current_conditions, request_class); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#302 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:302 def check_controller_and_action(path_params, controller, action); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#317 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:317 def check_part(name, part, path_params, hash); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#355 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:355 def constraints(options, path_params); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#369 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:369 def dispatcher(raise_on_name_error); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#208 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:208 def intern(object); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#286 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:286 def normalize_defaults(options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#254 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:254 def normalize_format(formatted); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#212 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:212 def normalize_options!(options, path_params, modyoule); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#373 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:373 def route_source_location; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#248 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:248 def split_constraints(path_params, constraints); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#341 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:341 def translate_controller(controller); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#270 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:270 def verify_regexp_requirements(requirements, wildcard_options); end class << self - # source://actionpack//lib/action_dispatch/routing/mapper.rb#90 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:90 def build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, internal, options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:104 def check_via(via); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#116 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:116 def normalize_path(path, format); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#128 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:128 def optional_format?(path, format); end end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#84 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:84 ActionDispatch::Routing::Mapper::Mapping::ANCHOR_CHARACTERS_REGEX = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#181 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:181 ActionDispatch::Routing::Mapper::Mapping::JOINED_SEPARATORS = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#85 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:85 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 for a @@ -18575,7 +18575,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#1299 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1299 module ActionDispatch::Routing::Mapper::Resources # To add a route to the collection: # @@ -18589,7 +18589,7 @@ module ActionDispatch::Routing::Mapper::Resources # and route to the search action of `PhotosController`. It will also create the # `search_photos_url` and `search_photos_path` route helpers. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1707 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1707 def collection(&block); end # Loads another routes file with the given `name` located inside the @@ -18615,7 +18615,7 @@ module ActionDispatch::Routing::Mapper::Resources # 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#1816 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1816 def draw(name); end # Matches a URL pattern to one or more routes. For more information, see @@ -18626,7 +18626,7 @@ module ActionDispatch::Routing::Mapper::Resources # # @raise [ArgumentError] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1837 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1837 def match(*path_or_actions, as: T.unsafe(nil), via: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), defaults: T.unsafe(nil), constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), internal: T.unsafe(nil), **mapping, &block); end # To add a member route, add a member block into the resource block: @@ -18641,18 +18641,18 @@ module ActionDispatch::Routing::Mapper::Resources # action of `PhotosController`. It will also create the `preview_photo_url` and # `preview_photo_path` helpers. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1728 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1728 def member(&block); end # See ActionDispatch::Routing::Mapper::Scoping#namespace. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1775 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1775 def namespace(name, deprecated_options = T.unsafe(nil), as: T.unsafe(nil), path: T.unsafe(nil), shallow_path: T.unsafe(nil), shallow_prefix: T.unsafe(nil), **options, &block); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1754 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1754 def nested(&block); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1744 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1744 def new(&block); end # Sometimes, you have a resource that clients always look up without referencing @@ -18685,7 +18685,7 @@ module ActionDispatch::Routing::Mapper::Resources # ### Options # Takes same options as [resources](rdoc-ref:#resources) # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1490 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1490 def resource(*resources, concerns: T.unsafe(nil), **options, &block); end # In Rails, a resourceful route provides a mapping between HTTP verbs and URLs @@ -18821,10 +18821,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#1663 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1663 def resources(*resources, concerns: T.unsafe(nil), **options, &block); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1457 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1457 def resources_path_names(options); end # You can specify what Rails should route "/" to with the root method: @@ -18841,262 +18841,262 @@ module ActionDispatch::Routing::Mapper::Resources # 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#1903 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1903 def root(path, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1783 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1783 def shallow; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1790 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1790 def shallow?; end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1968 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1968 def action_options?(options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2066 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2066 def action_path(name); end # @raise [ArgumentError] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2195 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2195 def add_route(action, controller, as, options_action, _path, to, via, formatted, anchor, options_constraints, internal, options_mapping); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2120 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2120 def api_only?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1982 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1982 def applicable_actions_for(method); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1963 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1963 def apply_action_options(method, options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1928 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1928 def apply_common_behavior_for(method, resources, shallow: T.unsafe(nil), **options, &block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2041 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2041 def canonical_action?(action); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2180 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2180 def decomposed_match(path, controller, as, action, _path, to, via, formatted, anchor, options_constraints, internal, options_mapping, on = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2165 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2165 def get_to_from_path(path, to, action); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2131 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2131 def map_match(path_or_action, constraints: T.unsafe(nil), anchor: T.unsafe(nil), format: T.unsafe(nil), path: T.unsafe(nil), as: T.unsafe(nil), via: T.unsafe(nil), to: T.unsafe(nil), controller: T.unsafe(nil), action: T.unsafe(nil), on: T.unsafe(nil), internal: T.unsafe(nil), mapping: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2217 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2217 def match_root_route(options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2082 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2082 def name_for_action(as, action); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2018 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2018 def nested_options; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1999 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1999 def nested_scope?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2037 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2037 def param_constraint; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2033 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2033 def param_constraint?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1924 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1924 def parent_resource; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2056 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2056 def path_for_action(action, path); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2124 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2124 def path_scope(path); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2070 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2070 def prefix_name_for_action(as, action); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1995 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1995 def resource_method_scope?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2010 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2010 def resource_scope(resource, &block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1991 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1991 def resource_scope?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1972 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1972 def scope_action_options(method); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2108 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2108 def set_member_mappings_for_resource; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2027 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2027 def shallow_nesting_depth; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2045 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2045 def shallow_scope; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2176 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2176 def using_match_shorthand?(path); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2003 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2003 def with_scope_level(kind); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#1304 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1304 ActionDispatch::Routing::Mapper::Resources::CANONICAL_ACTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#1303 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1303 ActionDispatch::Routing::Mapper::Resources::RESOURCE_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#1306 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1306 class ActionDispatch::Routing::Mapper::Resources::Resource # @return [Resource] a new instance of Resource # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1319 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1319 def initialize(entities, api_only, shallow, only: T.unsafe(nil), except: T.unsafe(nil), **options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1346 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1346 def actions; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1354 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1354 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#1378 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1378 def collection_name; end # Returns the value of attribute path. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1386 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1386 def collection_scope; end # Returns the value of attribute controller. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1317 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1317 def controller; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1342 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1342 def default_actions; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1374 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1374 def member_name; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1388 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1388 def member_scope; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1362 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1362 def name; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1398 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1398 def nested_param; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1402 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1402 def nested_scope; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1394 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1394 def new_scope(new_path); end # Returns the value of attribute param. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1317 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1317 def param; end # Returns the value of attribute path. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1317 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1317 def path; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1366 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1366 def plural; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1382 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1382 def resource_scope; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1406 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1406 def shallow?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1392 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1392 def shallow_scope; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1410 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1410 def singleton?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1370 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1370 def singular; end private - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1413 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1413 def invalid_only_except_options(valid_actions, only:, except:); end class << self - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1308 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1308 def default_actions(api_only); end end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#1418 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1418 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#1429 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1429 def initialize(entities, api_only, shallow, **options); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1449 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1449 def collection_name; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1436 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1436 def default_actions; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1448 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1448 def member_name; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1451 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1451 def member_scope; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1452 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1452 def nested_scope; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1440 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1440 def plural; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1454 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1454 def singleton?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1444 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1444 def singular; end class << self - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1420 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1420 def default_actions(api_only); end end end @@ -19104,90 +19104,90 @@ 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#1302 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1302 ActionDispatch::Routing::Mapper::Resources::VALID_ON_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2440 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2440 class ActionDispatch::Routing::Mapper::Scope include ::Enumerable # @return [Scope] a new instance of Scope # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2450 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2450 def initialize(hash, parent = T.unsafe(nil), scope_level = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2509 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2509 def [](key); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2476 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2476 def action_name(name_prefix, prefix, collection_name, member_name); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2517 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2517 def each; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2513 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2513 def frame; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2456 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2456 def nested?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2501 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2501 def new(hash); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2505 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2505 def new_level(level); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2460 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2460 def null?; end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2497 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2497 def options; end # Returns the value of attribute parent. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2448 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2448 def parent; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2472 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2472 def resource_method_scope?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2493 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2493 def resource_scope?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2468 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2468 def resources?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2464 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2464 def root?; end # Returns the value of attribute scope_level. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#2448 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2448 def scope_level; end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2441 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2441 ActionDispatch::Routing::Mapper::Scope::OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2446 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2446 ActionDispatch::Routing::Mapper::Scope::RESOURCE_METHOD_SCOPES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2445 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2445 ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#2525 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:2525 ActionDispatch::Routing::Mapper::Scope::ROOT = T.let(T.unsafe(nil), ActionDispatch::Routing::Mapper::Scope) # You may wish to organize groups of controllers under a namespace. Most @@ -19244,7 +19244,7 @@ ActionDispatch::Routing::Mapper::Scope::ROOT = T.let(T.unsafe(nil), ActionDispat # PATCH/PUT /admin/posts/1 # DELETE /admin/posts/1 # -# source://actionpack//lib/action_dispatch/routing/mapper.rb#958 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:958 module ActionDispatch::Routing::Mapper::Scoping # ### Parameter Restriction # Allows you to constrain the nested routes based on a set of rules. For @@ -19305,7 +19305,7 @@ module ActionDispatch::Routing::Mapper::Scoping # resources :iphones # end # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1176 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1176 def constraints(constraints = T.unsafe(nil), &block); end # Scopes routes to a specific controller @@ -19314,7 +19314,7 @@ module ActionDispatch::Routing::Mapper::Scoping # match "bacon", action: :bacon, via: :get # end # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1052 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1052 def controller(controller); end # Allows you to set default parameters for a route, such as this: @@ -19325,7 +19325,7 @@ module ActionDispatch::Routing::Mapper::Scoping # # Using this, the `:id` parameter here will default to 'home'. # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1187 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1187 def defaults(defaults = T.unsafe(nil)); end # Scopes routes to a specific namespace. For example: @@ -19367,7 +19367,7 @@ module ActionDispatch::Routing::Mapper::Scoping # resources :posts # end # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1097 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1097 def namespace(name, deprecated_options = T.unsafe(nil), as: T.unsafe(nil), path: T.unsafe(nil), shallow_path: T.unsafe(nil), shallow_prefix: T.unsafe(nil), **options, &block); end # Scopes a set of routes to the given default options. @@ -19401,95 +19401,95 @@ module ActionDispatch::Routing::Mapper::Scoping # resources :posts # end # - # source://actionpack//lib/action_dispatch/routing/mapper.rb#989 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:989 def scope(*args, only: T.unsafe(nil), except: T.unsafe(nil), **options); end private - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1219 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1219 def merge_action_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1203 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1203 def merge_as_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1243 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1243 def merge_blocks_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1235 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1235 def merge_constraints_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1215 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1215 def merge_controller_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1239 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1239 def merge_defaults_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1227 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1227 def merge_format_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1211 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1211 def merge_module_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1249 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1249 def merge_options_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1231 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1231 def merge_path_names_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1195 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1195 def merge_path_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1199 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1199 def merge_shallow_path_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1207 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1207 def merge_shallow_prefix_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1253 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1253 def merge_shallow_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1257 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1257 def merge_to_scope(parent, child); end - # source://actionpack//lib/action_dispatch/routing/mapper.rb#1223 + # pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1223 def merge_via_scope(parent, child); end end -# source://actionpack//lib/action_dispatch/routing/mapper.rb#1045 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:1045 ActionDispatch::Routing::Mapper::Scoping::POISON = T.let(T.unsafe(nil), Object) -# source://actionpack//lib/action_dispatch/routing/mapper.rb#24 +# pkg:gem/actionpack#lib/action_dispatch/routing/mapper.rb:24 ActionDispatch::Routing::Mapper::URL_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/redirection.rb#116 +# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:116 class ActionDispatch::Routing::OptionRedirect < ::ActionDispatch::Routing::Redirect - # source://actionpack//lib/action_dispatch/routing/redirection.rb#145 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:145 def inspect; end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#117 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:117 def options; end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#119 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:119 def path(params, request); end end -# source://actionpack//lib/action_dispatch/routing/redirection.rb#91 +# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:91 class ActionDispatch::Routing::PathRedirect < ::ActionDispatch::Routing::Redirect - # source://actionpack//lib/action_dispatch/routing/redirection.rb#106 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:106 def inspect; end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#94 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:94 def path(params, request); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:111 def interpolation_required?(string, params); end end -# source://actionpack//lib/action_dispatch/routing/redirection.rb#92 +# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:92 ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp) # # Action Dispatch Routing PolymorphicRoutes @@ -19551,23 +19551,23 @@ ActionDispatch::Routing::PathRedirect::URL_PARTS = T.let(T.unsafe(nil), Regexp) # polymorphic_url([blog, @post]) # calls blog.post_path(@post) # form_with(model: [blog, @post]) # => "/blog/posts/1" # -# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#66 +# pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:66 module ActionDispatch::Routing::PolymorphicRoutes - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156 def edit_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156 def edit_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156 def new_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#156 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:156 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#133 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:133 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 @@ -19613,149 +19613,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#110 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:110 def polymorphic_url(record_or_hash_or_array, options = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#177 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:177 def polymorphic_mapping(record); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#173 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:173 def polymorphic_path_for_action(action, record_or_hash, options); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#169 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:169 def polymorphic_url_for_action(action, record_or_hash, options); end end -# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#185 +# pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:185 class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder # @return [HelperMethodBuilder] a new instance of HelperMethodBuilder # - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#248 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:248 def initialize(key_strategy, prefix, suffix); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#262 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:262 def handle_class(klass); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#266 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:266 def handle_class_call(target, klass); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#293 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:293 def handle_list(list); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#270 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:270 def handle_model(record); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#284 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:284 def handle_model_call(target, record); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#254 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:254 def handle_string(record); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#258 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:258 def handle_string_call(target, str); end # Returns the value of attribute prefix. # - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#246 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:246 def prefix; end # Returns the value of attribute suffix. # - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#246 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:246 def suffix; end private - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#347 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:347 def get_method_for_class(klass); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:352 def get_method_for_string(str); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#339 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:339 def polymorphic_mapping(target, record); end class << self - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#196 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:196 def build(action, type); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#188 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:188 def get(action, type); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#194 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:194 def path; end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#210 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:210 def plural(prefix, suffix); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#214 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:214 def polymorphic_method(recipient, record_or_hash_or_array, action, type, options); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#206 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:206 def singular(prefix, suffix); end - # source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#193 + # pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:193 def url; end end end -# source://actionpack//lib/action_dispatch/routing/polymorphic_routes.rb#186 +# pkg:gem/actionpack#lib/action_dispatch/routing/polymorphic_routes.rb:186 ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder::CACHE = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/routing/redirection.rb#12 +# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:12 class ActionDispatch::Routing::Redirect < ::ActionDispatch::Routing::Endpoint # @return [Redirect] a new instance of Redirect # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:15 def initialize(status, block, source_location); end # Returns the value of attribute block. # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:13 def block; end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#37 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:37 def build_response(req); end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:23 def call(env); end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#69 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:69 def inspect; end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#65 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:65 def path(params, request); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:21 def redirect?; end # Returns the value of attribute status. # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:13 def status; end private - # source://actionpack//lib/action_dispatch/routing/redirection.rb#78 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:78 def escape(params); end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#82 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:82 def escape_fragment(params); end - # source://actionpack//lib/action_dispatch/routing/redirection.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:86 def escape_path(params); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#74 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:74 def relative_path?(path); end end -# source://actionpack//lib/action_dispatch/routing/redirection.rb#150 +# pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:150 module ActionDispatch::Routing::Redirection # Redirect any path to another path: # @@ -19814,131 +19814,131 @@ module ActionDispatch::Routing::Redirection # # @raise [ArgumentError] # - # source://actionpack//lib/action_dispatch/routing/redirection.rb#206 + # pkg:gem/actionpack#lib/action_dispatch/routing/redirection.rb:206 def redirect(*args, &block); end end # The RouteSet contains a collection of Route instances, representing the routes # typically defined in `config/routes.rb`. # -# source://actionpack//lib/action_dispatch/routing/route_set.rb#17 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:17 class ActionDispatch::Routing::RouteSet # @return [RouteSet] a new instance of RouteSet # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#386 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:386 def initialize(config = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#674 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:674 def add_polymorphic_mapping(klass, options, &block); end # @raise [ArgumentError] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#643 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:643 def add_route(mapping, name); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#678 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:678 def add_url_helper(name, options, &block); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#417 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:417 def api_only?; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#464 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:464 def append(&block); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#903 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:903 def call(env); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#488 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:488 def clear!; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#438 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:438 def default_env; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#421 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:421 def default_scope; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#425 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:425 def default_scope=(new_default_scope); end # Returns the value of attribute default_url_options. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#354 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354 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#354 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#509 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:509 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#353 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:353 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#353 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:353 def disable_clear_and_finalize=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#457 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:457 def draw(&block); end # Returns the value of attribute draw_paths. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#354 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354 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#354 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:354 def draw_paths=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#406 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:406 def eager_load!; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#639 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:639 def empty?; end # Returns the value of attribute env_key. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#355 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:355 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#818 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:818 def extra_keys(options, recall = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#482 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:482 def finalize!; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#846 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:846 def find_script_name(options); end # Returns the value of attribute formatter. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 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#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 def formatter=(_arg0); end # Returns a Route matching the given requirements, or `nil` if none are found. @@ -19953,145 +19953,145 @@ class ActionDispatch::Routing::RouteSet # # Rails.application.routes.from_requirements(controller: "posts", action: "show") # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#29 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:29 def from_requirements(requirements); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#822 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:822 def generate_extras(options, recall = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#536 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:536 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#37 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:37 def inspect; end # Contains all the mounted helpers across different engines and the `main_app` # helper for the application. 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#505 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:505 def mounted_helpers; end # Returns the value of attribute named_routes. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 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#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 def named_routes=(_arg0); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#842 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:842 def optimize_routes_generation?; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#850 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:850 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#355 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:355 def polymorphic_mappings; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#468 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:468 def prepend(&block); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#909 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:909 def recognize_path(path, environment = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#924 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:924 def recognize_path_with_request(req, path, extras, raise_on_missing: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#413 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:413 def relative_url_root; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#429 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:429 def request_class; end # Returns the value of attribute resources_path_names. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#353 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:353 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#353 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:353 def resources_path_names=(_arg0); end # Returns the value of attribute router. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 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#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 def router=(_arg0); end # Returns the value of attribute set. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#357 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:357 def routes; end # Returns the value of attribute set. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 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#352 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:352 def set=(_arg0); end # The `options` argument must be a hash whose keys are **symbols**. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#855 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:855 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#528 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:528 def url_helpers(supports_path = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/routing/route_set.rb#472 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:472 def eval_block(block); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#833 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:833 def generate(route_name, options, recall = T.unsafe(nil), method_name = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#433 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:433 def make_request(env); end class << self - # source://actionpack//lib/action_dispatch/routing/route_set.rb#359 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:359 def default_resources_path_names; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#363 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:363 def new_with_config(config); end end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#382 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 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#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def api_only; end # Sets the attribute api_only @@ -20099,14 +20099,14 @@ class ActionDispatch::Routing::RouteSet::Config < ::Struct # @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#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def api_only=(_); end # Returns the value of attribute default_scope # # @return [Object] the current value of default_scope # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def default_scope; end # Sets the attribute default_scope @@ -20114,14 +20114,14 @@ class ActionDispatch::Routing::RouteSet::Config < ::Struct # @param value [Object] the value to set the attribute default_scope to. # @return [Object] the newly set value # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def default_scope=(_); 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#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def relative_url_root; end # Sets the attribute relative_url_root @@ -20129,120 +20129,120 @@ class ActionDispatch::Routing::RouteSet::Config < ::Struct # @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#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def relative_url_root=(_); end class << self - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def [](*_arg0); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def inspect; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def keyword_init?; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def members; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#382 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:382 def new(*_arg0); end end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#682 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:682 class ActionDispatch::Routing::RouteSet::CustomUrlHelper # @return [CustomUrlHelper] a new instance of CustomUrlHelper # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#685 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:685 def initialize(name, defaults, &block); end # Returns the value of attribute block. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#683 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:683 def block; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#691 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:691 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#683 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:683 def defaults; end # Returns the value of attribute name. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#683 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:683 def name; end private - # source://actionpack//lib/action_dispatch/routing/route_set.rb#703 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:703 def eval_block(t, args, options); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#707 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:707 def merge_defaults(options); end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#384 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:384 ActionDispatch::Routing::RouteSet::DEFAULT_CONFIG = T.let(T.unsafe(nil), ActionDispatch::Routing::RouteSet::Config) -# source://actionpack//lib/action_dispatch/routing/route_set.rb#39 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:39 class ActionDispatch::Routing::RouteSet::Dispatcher < ::ActionDispatch::Routing::Endpoint # @return [Dispatcher] a new instance of Dispatcher # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:40 def initialize(raise_on_name_error); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:44 def dispatcher?; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#46 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:46 def serve(req); end private - # source://actionpack//lib/action_dispatch/routing/route_set.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:60 def controller(req); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:64 def dispatch(controller, action, req, res); end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#712 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:712 class ActionDispatch::Routing::RouteSet::Generator # @return [Generator] a new instance of Generator # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#715 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:715 def initialize(named_route, options, recall, set); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#727 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:727 def controller; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#731 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:731 def current_controller; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#801 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:801 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#797 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:797 def generate; end # Returns the value of attribute named_route. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#713 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:713 def named_route; end # Remove leading slashes from controllers # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#785 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:785 def normalize_controller!; end # This pulls :controller, :action, and :id out of the recall. The recall key is @@ -20250,48 +20250,48 @@ class ActionDispatch::Routing::RouteSet::Generator # identical. If any of :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#767 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:767 def normalize_controller_action_id!; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#743 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:743 def normalize_options!; end # Returns the value of attribute options. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#713 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:713 def options; end # Returns the value of attribute recall. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#713 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:713 def recall; end # Returns the value of attribute set. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#713 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:713 def set; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#735 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:735 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#775 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:775 def use_relative_controller!; end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#807 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:807 def named_route_exists?; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#811 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:811 def segment_keys; end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#497 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:497 module ActionDispatch::Routing::RouteSet::MountedHelpers extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -20316,69 +20316,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#82 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:82 class ActionDispatch::Routing::RouteSet::NamedRouteCollection include ::Enumerable # @return [NamedRouteCollection] a new instance of NamedRouteCollection # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:87 def initialize; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#147 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:147 def [](name); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#146 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:146 def []=(name, route); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#118 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:118 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#165 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:165 def add_url_helper(name, defaults, &block); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#148 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:148 def clear; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#104 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:104 def clear!; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#150 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:150 def each(&block); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#137 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:137 def get(name); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#100 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:100 def helper_names; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#141 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:141 def key?(name); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#159 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:159 def length; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#155 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:155 def names; end # Returns the value of attribute path_helpers_module. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:84 def path_helpers_module; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#95 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:95 def route_defined?(name); end # Returns the value of attribute url_helpers_module. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#84 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:84 def url_helpers_module; end private @@ -20396,144 +20396,144 @@ class ActionDispatch::Routing::RouteSet::NamedRouteCollection # # foo_url(bar, baz, bang, sort_by: 'baz') # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#333 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:333 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#84 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:84 def routes; end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#188 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:188 class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper # @return [UrlHelper] a new instance of UrlHelper # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#271 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:271 def initialize(route, options, route_name); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#278 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:278 def call(t, method_name, args, inner_options, url_strategy); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#290 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:290 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#201 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:201 def route_name; end class << self - # source://actionpack//lib/action_dispatch/routing/route_set.rb#189 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:189 def create(route, options, route_name); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#197 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:197 def optimize_helper?(route); end end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#203 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:203 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#206 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:206 def initialize(route, options, route_name); end # Returns the value of attribute arg_size. # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#204 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:204 def arg_size; end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#212 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:212 def call(t, method_name, args, inner_options, url_strategy); end private # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#243 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:243 def optimize_routes_generation?(t); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#235 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:235 def optimized_helper(args); end - # source://actionpack//lib/action_dispatch/routing/route_set.rb#247 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:247 def parameterize_args(args); end # @raise [ActionController::UrlGenerationError] # - # source://actionpack//lib/action_dispatch/routing/route_set.rb#258 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:258 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#349 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:349 ActionDispatch::Routing::RouteSet::PATH = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/routing/route_set.rb#838 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:838 ActionDispatch::Routing::RouteSet::RESERVED_OPTIONS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/routing/route_set.rb#69 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:69 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#70 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:70 def initialize(controller_class); end private - # source://actionpack//lib/action_dispatch/routing/route_set.rb#76 + # pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:76 def controller(_); end end -# source://actionpack//lib/action_dispatch/routing/route_set.rb#350 +# pkg:gem/actionpack#lib/action_dispatch/routing/route_set.rb:350 ActionDispatch::Routing::RouteSet::UNKNOWN = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/routing/inspector.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:10 class ActionDispatch::Routing::RouteWrapper < ::SimpleDelegator - # source://actionpack//lib/action_dispatch/routing/inspector.rb#56 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:56 def action; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:28 def constraints; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:52 def controller; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:17 def endpoint; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:64 def engine?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:60 def internal?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#11 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:11 def matches_filter?(filter, value); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:40 def name; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#36 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:36 def path; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#32 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:32 def rack_app; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:44 def reqs; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:68 def to_h; end end @@ -20541,83 +20541,83 @@ 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#81 +# pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:81 class ActionDispatch::Routing::RoutesInspector # @return [RoutesInspector] a new instance of RoutesInspector # - # source://actionpack//lib/action_dispatch/routing/inspector.rb#82 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:82 def initialize(routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#87 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:87 def format(formatter, filter = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/routing/inspector.rb#147 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:147 def filter_routes(routes, filter); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#98 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:98 def format_routes(formatter, filter, engine_name, routes); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#115 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:115 def load_engines_routes; end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#128 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:128 def normalize_filter(filter); end - # source://actionpack//lib/action_dispatch/routing/inspector.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/routing/inspector.rb:111 def wrap_routes(routes); end end -# source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:9 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#15 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:15 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#13 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:13 def _routes; end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def default_url_options=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def default_url_options?; end # Returns the value of attribute routes. # - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12 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#12 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12 def routes=(_arg0); end # Returns the value of attribute scope. # - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#12 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12 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#12 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:12 def scope=(_arg0); end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:21 def url_options; end private @@ -20627,38 +20627,38 @@ class ActionDispatch::Routing::RoutesProxy # specific request, but use our script name resolver for the mount point # dependent part. # - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#55 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:55 def merge_script_names(previous_script_name, new_script_name); end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#32 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:32 def method_missing(method, *args); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:28 def respond_to_missing?(method, _); end class << self - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def default_url_options; end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def default_url_options=(value); end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def default_url_options?; end private - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def __class_attr_default_url_options; end - # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/routing/routes_proxy.rb:10 def __class_attr_default_url_options=(new_value); end end end -# source://actionpack//lib/action_dispatch/routing.rb#259 +# pkg:gem/actionpack#lib/action_dispatch/routing.rb:259 ActionDispatch::Routing::SEPARATORS = T.let(T.unsafe(nil), Array) # # Action Dispatch Routing UrlFor @@ -20746,7 +20746,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#92 +# pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:92 module ActionDispatch::Routing::UrlFor include ::ActionDispatch::Routing::PolymorphicRoutes extend ::ActiveSupport::Concern @@ -20754,10 +20754,10 @@ module ActionDispatch::Routing::UrlFor mixes_in_class_methods GeneratedClassMethods - # source://actionpack//lib/action_dispatch/routing/url_for.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:111 def initialize(*_arg0, **_arg1, &_arg2); end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#182 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:182 def full_url_for(options = T.unsafe(nil)); end # Allows calling direct or regular named route. @@ -20778,7 +20778,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#222 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:222 def route_for(name, *args); end # Generate a URL based on the options provided, `default_url_options`, and the @@ -20838,28 +20838,28 @@ module ActionDispatch::Routing::UrlFor # 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#178 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:178 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#118 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:118 def url_options; end protected # @return [Boolean] # - # source://actionpack//lib/action_dispatch/routing/url_for.rb#227 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:227 def optimize_routes_generation?; end private - # source://actionpack//lib/action_dispatch/routing/url_for.rb#239 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:239 def _routes_context; end - # source://actionpack//lib/action_dispatch/routing/url_for.rb#232 + # pkg:gem/actionpack#lib/action_dispatch/routing/url_for.rb:232 def _with_routes(routes); end module GeneratedClassMethods @@ -20935,72 +20935,72 @@ end # header to tell browsers to expire HSTS immediately. Setting `hsts: false` # is a shortcut for `hsts: { expires: 0 }`. # -# source://actionpack//lib/action_dispatch/middleware/ssl.rb#66 +# pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:66 class ActionDispatch::SSL # @return [SSL] a new instance of SSL # - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#76 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:76 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#88 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:88 def call(env); end private # https://tools.ietf.org/html/rfc6797#section-6.1 # - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#122 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:122 def build_hsts_header(hsts); end - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#129 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:129 def flag_cookies_as_secure!(headers); end - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#170 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:170 def https_location_for(request); end - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:107 def normalize_hsts_options(options); end - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#153 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:153 def redirect_to_https(request); end - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#160 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:160 def redirection_status(request); end - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#103 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:103 def set_hsts_header!(headers); end class << self - # source://actionpack//lib/action_dispatch/middleware/ssl.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:72 def default_hsts_options; end end end # :stopdoc: Default to 2 years as recommended on hstspreload.org. # -# source://actionpack//lib/action_dispatch/middleware/ssl.rb#68 +# pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:68 ActionDispatch::SSL::HSTS_EXPIRES_IN = T.let(T.unsafe(nil), Integer) -# source://actionpack//lib/action_dispatch/middleware/ssl.rb#70 +# pkg:gem/actionpack#lib/action_dispatch/middleware/ssl.rb:70 ActionDispatch::SSL::PERMANENT_REDIRECT_REQUEST_METHODS = T.let(T.unsafe(nil), Array) -# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:8 class ActionDispatch::ServerTiming # @return [ServerTiming] a new instance of ServerTiming # - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:52 def initialize(app); end - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#58 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:58 def call(env); end class << self - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:48 def unsubscribe; end end end -# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:9 class ActionDispatch::ServerTiming::Subscriber include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -21008,59 +21008,59 @@ class ActionDispatch::ServerTiming::Subscriber # @return [Subscriber] a new instance of Subscriber # - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:13 def initialize; end - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#17 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:17 def call(event); end - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:23 def collect_events; end - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#32 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:32 def ensure_subscribed; end - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:40 def unsubscribe; end class << self private - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:10 def allocate; end - # source://actionpack//lib/action_dispatch/middleware/server_timing.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:10 def new(*_arg0); end end end -# source://actionpack//lib/action_dispatch/middleware/server_timing.rb#11 +# pkg:gem/actionpack#lib/action_dispatch/middleware/server_timing.rb:11 ActionDispatch::ServerTiming::Subscriber::KEY = T.let(T.unsafe(nil), Symbol) -# source://actionpack//lib/action_dispatch.rb#106 +# pkg:gem/actionpack#lib/action_dispatch.rb:106 module ActionDispatch::Session class << self - # source://actionpack//lib/action_dispatch.rb#113 + # pkg:gem/actionpack#lib/action_dispatch.rb:113 def resolve_store(session_store); end end end -# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#97 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:97 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#102 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:102 def generate_sid; end private - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#107 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:107 def set_cookie(request, response, cookie); end end -# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#86 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:86 class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persisted include ::ActionDispatch::Session::Compatibility include ::ActionDispatch::Session::StaleSessionCheck @@ -21068,7 +21068,7 @@ class ActionDispatch::Session::AbstractStore < ::Rack::Session::Abstract::Persis private - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#92 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:92 def set_cookie(request, response, cookie); end end @@ -21089,56 +21089,56 @@ end # collisions, this option can be enabled to ensure newly generated ids aren't in use. # By default, it is set to `false` to avoid additional cache write operations. # -# source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#26 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:26 class ActionDispatch::Session::CacheStore < ::ActionDispatch::Session::AbstractSecureStore # @return [CacheStore] a new instance of CacheStore # - # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#27 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:27 def initialize(app, options = T.unsafe(nil)); end # Remove a session from the cache. # - # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#54 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:54 def delete_session(env, sid, options); end # Get a session from the cache. # - # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:35 def find_session(env, sid); end # Set a session in the cache. # - # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#43 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:43 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#62 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:62 def cache_key(id); end - # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#70 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:70 def generate_sid; end - # source://actionpack//lib/action_dispatch/middleware/session/cache_store.rb#66 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cache_store.rb:66 def get_session_with_fallback(sid); end end -# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#22 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:22 module ActionDispatch::Session::Compatibility - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:23 def initialize(app, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:28 def generate_sid; end private - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#35 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:35 def initialize_sid; end - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:40 def make_request(env); end end @@ -21184,90 +21184,90 @@ end # would set the session cookie to expire automatically 14 days after creation. # Other useful options include `:key`, `:secure`, `:httponly`, and `:same_site`. # -# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#52 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:52 class ActionDispatch::Session::CookieStore < ::ActionDispatch::Session::AbstractSecureStore # @return [CookieStore] a new instance of CookieStore # - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:64 def initialize(app, options = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#70 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:70 def delete_session(req, session_id, options); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#77 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:77 def load_session(req); end private - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#124 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:124 def cookie_jar(request); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#86 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:86 def extract_session_id(req); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#120 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:120 def get_cookie(req); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#105 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:105 def persistent_session_id!(data, sid = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#116 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:116 def set_cookie(request, session_id, cookie); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#93 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:93 def unpacked_cookie_data(req); end - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#111 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:111 def write_session(req, sid, session_data, options); end end -# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#62 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:62 ActionDispatch::Session::CookieStore::DEFAULT_SAME_SITE = T.let(T.unsafe(nil), Proc) -# source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#53 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:53 class ActionDispatch::Session::CookieStore::SessionId # @return [SessionId] a new instance of SessionId # - # source://actionpack//lib/action_dispatch/middleware/session/cookie_store.rb#56 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:56 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#54 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/cookie_store.rb:54 def cookie_value; end end -# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#71 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:71 module ActionDispatch::Session::SessionObject - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#72 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:72 def commit_session(req, res); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#81 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:81 def loaded_session?(session); end - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#77 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:77 def prepare_session(req); end end -# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#13 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:13 class ActionDispatch::Session::SessionRestoreError < ::StandardError # @return [SessionRestoreError] a new instance of SessionRestoreError # - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:14 def initialize; end end -# source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#45 +# pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:45 module ActionDispatch::Session::StaleSessionCheck - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#50 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:50 def extract_session_id(env); end - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#46 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:46 def load_session(env); end - # source://actionpack//lib/action_dispatch/middleware/session/abstract_store.rb#54 + # pkg:gem/actionpack#lib/action_dispatch/middleware/session/abstract_store.rb:54 def stale_session_check!; end end @@ -21289,25 +21289,25 @@ end # correct status code. If any exception happens inside the exceptions app, this # middleware catches the exceptions and returns a failsafe response. # -# source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#25 +# pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:25 class ActionDispatch::ShowExceptions # @return [ShowExceptions] a new instance of ShowExceptions # - # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:26 def initialize(app, exceptions_app); end - # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#31 + # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:31 def call(env); end private - # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#67 + # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:67 def fallback_to_html_format_if_invalid_mime_type(request); end - # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#83 + # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:83 def pass_response(status); end - # source://actionpack//lib/action_dispatch/middleware/show_exceptions.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/middleware/show_exceptions.rb:48 def render_exception(request, wrapper); end end @@ -21324,74 +21324,74 @@ end # # Only files in the root directory are served; path traversal is denied. # -# source://actionpack//lib/action_dispatch/middleware/static.rb#20 +# pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:20 class ActionDispatch::Static # @return [Static] a new instance of Static # - # source://actionpack//lib/action_dispatch/middleware/static.rb#21 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:21 def initialize(app, path, index: T.unsafe(nil), headers: T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/middleware/static.rb#26 + # pkg:gem/actionpack#lib/action_dispatch/middleware/static.rb:26 def call(env); end end -# source://actionpack//lib/action_dispatch/structured_event_subscriber.rb#4 +# pkg:gem/actionpack#lib/action_dispatch/structured_event_subscriber.rb:4 class ActionDispatch::StructuredEventSubscriber < ::ActiveSupport::StructuredEventSubscriber - # source://actionpack//lib/action_dispatch/structured_event_subscriber.rb#5 + # pkg:gem/actionpack#lib/action_dispatch/structured_event_subscriber.rb:5 def redirect(event); end end -# source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#4 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:4 module ActionDispatch::TestHelpers; end -# source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#5 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:5 module ActionDispatch::TestHelpers::PageDumpHelper # Saves the content of response body to a file and tries to open it in your browser. # Launchy must be present in your Gemfile for the page to open automatically. # - # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#10 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:10 def save_and_open_page(path = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:30 def html_dump_default_path; end - # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:23 def open_file(path); end # @raise [InvalidResponse] # - # source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#15 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:15 def save_page(path = T.unsafe(nil)); end end -# source://actionpack//lib/action_dispatch/testing/test_helpers/page_dump_helper.rb#6 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_helpers/page_dump_helper.rb:6 class ActionDispatch::TestHelpers::PageDumpHelper::InvalidResponse < ::StandardError; end -# source://actionpack//lib/action_dispatch/testing/test_process.rb#9 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:9 module ActionDispatch::TestProcess include ::ActionDispatch::TestProcess::FixtureFile # @raise [NoMethodError] # - # source://actionpack//lib/action_dispatch/testing/test_process.rb#34 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:34 def assigns(key = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/testing/test_process.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:48 def cookies; end - # source://actionpack//lib/action_dispatch/testing/test_process.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:44 def flash; end - # source://actionpack//lib/action_dispatch/testing/test_process.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:52 def redirect_to_url; end - # source://actionpack//lib/action_dispatch/testing/test_process.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:40 def session; end end -# source://actionpack//lib/action_dispatch/testing/test_process.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:10 module ActionDispatch::TestProcess::FixtureFile # Shortcut for # `Rack::Test::UploadedFile.new(File.join(ActionDispatch::IntegrationTest.file_fixture_path, path), type)`: @@ -21405,7 +21405,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#22 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:22 def file_fixture_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end # Shortcut for @@ -21420,59 +21420,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#29 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_process.rb:29 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#9 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:9 class ActionDispatch::TestRequest < ::ActionDispatch::Request - # source://actionpack//lib/action_dispatch/testing/test_request.rb#68 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:68 def accept=(mime_types); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#48 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:48 def action=(action_name); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#32 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:32 def host=(host); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#52 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:52 def if_modified_since=(last_modified); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#56 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:56 def if_none_match=(etag); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#44 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:44 def path=(path); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#36 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:36 def port=(number); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:60 def remote_addr=(addr); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#28 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:28 def request_method=(method); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#40 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:40 def request_uri=(uri); end - # source://actionpack//lib/action_dispatch/testing/test_request.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:64 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#17 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:17 def create(env = T.unsafe(nil)); end private - # source://actionpack//lib/action_dispatch/testing/test_request.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:23 def default_env; end end end -# source://actionpack//lib/action_dispatch/testing/test_request.rb#10 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_request.rb:10 ActionDispatch::TestRequest::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) # Integration test methods such as Integration::RequestHelpers#get and @@ -21481,7 +21481,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#13 +# pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:13 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. @@ -21516,51 +21516,51 @@ class ActionDispatch::TestResponse < ::ActionDispatch::Response # assert_equal 42, id # assert_equal "Title", title # - # source://actionpack//lib/action_dispatch/testing/test_response.rb#50 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:50 def parsed_body; end - # source://actionpack//lib/action_dispatch/testing/test_response.rb#54 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:54 def response_parser; end class << self - # source://actionpack//lib/action_dispatch/testing/test_response.rb#14 + # pkg:gem/actionpack#lib/action_dispatch/testing/test_response.rb:14 def from_response(response); end end end # :markup: markdown # -# source://actionpack//lib/action_pack/gem_version.rb#5 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:5 module ActionPack class << self # Returns the currently loaded version of Action Pack as a `Gem::Version`. # - # source://actionpack//lib/action_pack/gem_version.rb#7 + # pkg:gem/actionpack#lib/action_pack/gem_version.rb:7 def gem_version; end # Returns the currently loaded version of Action Pack as a `Gem::Version`. # - # source://actionpack//lib/action_pack/version.rb#9 + # pkg:gem/actionpack#lib/action_pack/version.rb:9 def version; end end end -# source://actionpack//lib/action_pack/gem_version.rb#11 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:11 module ActionPack::VERSION; end -# source://actionpack//lib/action_pack/gem_version.rb#12 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:12 ActionPack::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actionpack//lib/action_pack/gem_version.rb#13 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:13 ActionPack::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actionpack//lib/action_pack/gem_version.rb#15 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:15 ActionPack::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://actionpack//lib/action_pack/gem_version.rb#17 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:17 ActionPack::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_pack/gem_version.rb#14 +# pkg:gem/actionpack#lib/action_pack/gem_version.rb:14 ActionPack::VERSION::TINY = T.let(T.unsafe(nil), Integer) module ActionView::RoutingUrlFor @@ -21568,21 +21568,21 @@ module ActionView::RoutingUrlFor include ::ActionDispatch::Routing::UrlFor end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#7 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:7 module Mime class << self - # source://actionpack//lib/action_dispatch/http/mime_type.rb#51 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:51 def [](type); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#64 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:64 def fetch(type, &block); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#56 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:56 def symbols; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#60 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:60 def valid_symbols?(symbols); end end end @@ -21591,10 +21591,10 @@ end # concrete types. It's a wildcard match that we use for `respond_to` negotiation # internals. # -# source://actionpack//lib/action_dispatch/http/mime_type.rb#363 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:363 Mime::ALL = T.let(T.unsafe(nil), Mime::AllType) -# source://actionpack//lib/action_dispatch/http/mime_type.rb#349 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:349 class Mime::AllType < ::Mime::Type include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -21602,68 +21602,68 @@ class Mime::AllType < ::Mime::Type # @return [AllType] a new instance of AllType # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#352 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:352 def initialize; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#356 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:356 def all?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#357 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:357 def html?; end class << self private - # source://actionpack//lib/action_dispatch/http/mime_type.rb#350 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:350 def allocate; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#350 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:350 def new(*_arg0); end end end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#47 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:47 Mime::EXTENSION_LOOKUP = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/mime_type.rb#48 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:48 Mime::LOOKUP = T.let(T.unsafe(nil), Hash) -# source://actionpack//lib/action_dispatch/http/mime_type.rb#8 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:8 class Mime::Mimes include ::Enumerable # @return [Mimes] a new instance of Mimes # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#13 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:13 def initialize; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#23 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:23 def <<(type); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#30 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:30 def delete_if; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#19 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:19 def each(&block); end # Returns the value of attribute symbols. # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#9 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:9 def symbols; end # :nodoc # # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#41 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:41 def valid_symbols?(symbols); end end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#365 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:365 class Mime::NullType include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -21671,37 +21671,37 @@ class Mime::NullType # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#368 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:368 def nil?; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#376 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:376 def ref; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#372 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:372 def to_s; end private - # source://actionpack//lib/action_dispatch/http/mime_type.rb#383 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:383 def method_missing(method, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#379 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:379 def respond_to_missing?(method, _); end class << self private - # source://actionpack//lib/action_dispatch/http/mime_type.rb#366 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:366 def allocate; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#366 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:366 def new(*_arg0); end end end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#46 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:46 Mime::SET = T.let(T.unsafe(nil), Mime::Mimes) # Encapsulates the notion of a MIME type. Can be used at render time, for @@ -21719,100 +21719,100 @@ Mime::SET = T.let(T.unsafe(nil), Mime::Mimes) # end # end # -# source://actionpack//lib/action_dispatch/http/mime_type.rb#84 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:84 class Mime::Type # @return [Type] a new instance of Type # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#264 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:264 def initialize(string, symbol = T.unsafe(nil), synonyms = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#297 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:297 def ==(mime_type); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#289 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:289 def ===(list); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#311 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:311 def =~(mime_type); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#327 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:327 def all?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#304 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:304 def eql?(other); end # Returns the value of attribute hash. # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#255 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:255 def hash; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#323 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:323 def html?; end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#317 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:317 def match?(mime_type); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#285 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:285 def ref; end # Returns the value of attribute symbol. # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#85 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:85 def symbol; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#273 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:273 def to_s; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#277 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:277 def to_str; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#281 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:281 def to_sym; end protected # Returns the value of attribute string. # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#330 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:330 def string; end # Returns the value of attribute synonyms. # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#330 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:330 def synonyms; end private - # source://actionpack//lib/action_dispatch/http/mime_type.rb#336 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:336 def method_missing(method, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#344 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:344 def respond_to_missing?(method, include_private = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#334 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:334 def to_a; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#333 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:333 def to_ary; end class << self - # source://actionpack//lib/action_dispatch/http/mime_type.rb#167 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:167 def lookup(string); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#175 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:175 def lookup_by_extension(extension); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#200 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:200 def parse(accept_header); end # For an input of `'text'`, returns `[Mime[:json], Mime[:xml], Mime[:ics], @@ -21821,23 +21821,23 @@ 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#236 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:236 def parse_data_with_trailing_star(type); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#227 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:227 def parse_trailing_star(accept_header); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#186 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:186 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#182 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:182 def register_alias(string, symbol, extension_synonyms = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#163 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:163 def register_callback(&block); end # This method is opposite of register method. @@ -21846,70 +21846,73 @@ class Mime::Type # # Mime::Type.unregister(:mobile) # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#245 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:245 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#90 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:90 class Mime::Type::AcceptItem # @return [AcceptItem] a new instance of AcceptItem # - # source://actionpack//lib/action_dispatch/http/mime_type.rb#94 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:94 def initialize(index, name, q = T.unsafe(nil)); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#101 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:101 def <=>(item); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91 def index; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91 def index=(_arg0); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91 def name; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91 def name=(_arg0); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91 def q; end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#91 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:91 def q=(_arg0); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#92 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:92 def to_s; end end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#108 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:108 class Mime::Type::AcceptList class << self - # source://actionpack//lib/action_dispatch/http/mime_type.rb#151 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:151 def find_item_by_name(array, name); end - # source://actionpack//lib/action_dispatch/http/mime_type.rb#109 + # pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:109 def sort!(list); end end end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#262 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:262 class Mime::Type::InvalidMimeType < ::StandardError; end -# source://actionpack//lib/action_dispatch/http/mime_type.rb#257 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:257 Mime::Type::MIME_NAME = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/mime_type.rb#259 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:259 Mime::Type::MIME_PARAMETER = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/mime_type.rb#258 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:258 Mime::Type::MIME_PARAMETER_VALUE = T.let(T.unsafe(nil), String) -# source://actionpack//lib/action_dispatch/http/mime_type.rb#260 +# pkg:gem/actionpack#lib/action_dispatch/http/mime_type.rb:260 Mime::Type::MIME_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionpack//lib/action_dispatch.rb#35 +# pkg:gem/actionpack#lib/action_dispatch.rb:35 module Rack; end + +# pkg:gem/actionpack#lib/action_dispatch/http/response.rb:42 +class Rack::Headers < ::Hash; end diff --git a/sorbet/rbi/gems/actiontext@8.1.1.rbi b/sorbet/rbi/gems/actiontext@8.1.1.rbi index 2c1c4164b..51928b708 100644 --- a/sorbet/rbi/gems/actiontext@8.1.1.rbi +++ b/sorbet/rbi/gems/actiontext@8.1.1.rbi @@ -8,43 +8,43 @@ # :markup: markdown # :include: ../README.md # -# source://actiontext//lib/action_text/gem_version.rb#5 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:5 module ActionText extend ::ActiveSupport::Autoload class << self - # source://actiontext//lib/action_text/deprecator.rb#6 + # pkg:gem/actiontext#lib/action_text/deprecator.rb:6 def deprecator; end # Returns the currently loaded version of Action Text as a `Gem::Version`. # - # source://actiontext//lib/action_text/gem_version.rb#7 + # pkg:gem/actiontext#lib/action_text/gem_version.rb:7 def gem_version; end - # source://actiontext//lib/action_text.rb#47 + # pkg:gem/actiontext#lib/action_text.rb:47 def html_document_class; end - # source://actiontext//lib/action_text.rb#53 + # pkg:gem/actiontext#lib/action_text.rb:53 def html_document_fragment_class; end - # source://actiontext//lib/action_text/engine.rb#15 + # pkg:gem/actiontext#lib/action_text/engine.rb:15 def railtie_helpers_paths; end - # source://actiontext//lib/action_text/engine.rb#15 + # pkg:gem/actiontext#lib/action_text/engine.rb:15 def railtie_namespace; end - # source://actiontext//lib/action_text/engine.rb#15 + # pkg:gem/actiontext#lib/action_text/engine.rb:15 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - # source://actiontext//lib/action_text/engine.rb#15 + # pkg:gem/actiontext#lib/action_text/engine.rb:15 def table_name_prefix; end - # source://actiontext//lib/action_text/engine.rb#15 + # pkg:gem/actiontext#lib/action_text/engine.rb:15 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#9 + # pkg:gem/actiontext#lib/action_text/version.rb:9 def version; end end end @@ -62,33 +62,33 @@ end # content = ActionText::Content.new(html) # content.attachables # => [person] # -# source://actiontext//lib/action_text/attachable.rb#18 +# pkg:gem/actiontext#lib/action_text/attachable.rb:18 module ActionText::Attachable extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attachable::ClassMethods - # source://actiontext//lib/action_text/attachable.rb#83 + # pkg:gem/actiontext#lib/action_text/attachable.rb:83 def attachable_content_type; end - # source://actiontext//lib/action_text/attachable.rb#87 + # pkg:gem/actiontext#lib/action_text/attachable.rb:87 def attachable_filename; end - # source://actiontext//lib/action_text/attachable.rb#91 + # pkg:gem/actiontext#lib/action_text/attachable.rb:91 def attachable_filesize; end - # source://actiontext//lib/action_text/attachable.rb#95 + # pkg:gem/actiontext#lib/action_text/attachable.rb:95 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#79 + # pkg:gem/actiontext#lib/action_text/attachable.rb:79 def attachable_sgid; end # @return [Boolean] # - # source://actiontext//lib/action_text/attachable.rb#99 + # pkg:gem/actiontext#lib/action_text/attachable.rb:99 def previewable_attachable?; end # Returns the path to the partial that is used for rendering the attachable. @@ -102,10 +102,10 @@ module ActionText::Attachable # end # end # - # source://actiontext//lib/action_text/attachable.rb#127 + # pkg:gem/actiontext#lib/action_text/attachable.rb:127 def to_attachable_partial_path; end - # source://actiontext//lib/action_text/attachable.rb#131 + # pkg:gem/actiontext#lib/action_text/attachable.rb:131 def to_rich_text_attributes(attributes = T.unsafe(nil)); end # Returns the path to the partial that is used for rendering the attachable in @@ -119,19 +119,19 @@ module ActionText::Attachable # end # end # - # source://actiontext//lib/action_text/attachable.rb#113 + # pkg:gem/actiontext#lib/action_text/attachable.rb:113 def to_trix_content_attachment_partial_path; end private - # source://actiontext//lib/action_text/attachable.rb#144 + # pkg:gem/actiontext#lib/action_text/attachable.rb:144 def attribute_names_for_serialization; end - # source://actiontext//lib/action_text/attachable.rb#148 + # pkg:gem/actiontext#lib/action_text/attachable.rb:148 def read_attribute_for_serialization(key); end class << self - # source://actiontext//lib/action_text/attachable.rb#43 + # pkg:gem/actiontext#lib/action_text/attachable.rb:43 def from_attachable_sgid(sgid, options = T.unsafe(nil)); end # Extracts the `ActionText::Attachable` from the attachment HTML node: @@ -142,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#31 + # pkg:gem/actiontext#lib/action_text/attachable.rb:31 def from_node(node); end private - # source://actiontext//lib/action_text/attachable.rb#50 + # pkg:gem/actiontext#lib/action_text/attachable.rb:50 def attachable_from_sgid(sgid); end end end -# source://actiontext//lib/action_text/attachable.rb#57 +# pkg:gem/actiontext#lib/action_text/attachable.rb:57 module ActionText::Attachable::ClassMethods - # source://actiontext//lib/action_text/attachable.rb#58 + # pkg:gem/actiontext#lib/action_text/attachable.rb:58 def from_attachable_sgid(sgid); end - # source://actiontext//lib/action_text/attachable.rb#72 + # pkg:gem/actiontext#lib/action_text/attachable.rb:72 def to_missing_attachable_partial_path; end end -# source://actiontext//lib/action_text/attachable.rb#21 +# pkg:gem/actiontext#lib/action_text/attachable.rb:21 ActionText::Attachable::LOCATOR_NAME = T.let(T.unsafe(nil), String) -# source://actiontext//lib/action_text.rb#30 +# pkg:gem/actiontext#lib/action_text.rb:30 module ActionText::Attachables extend ::ActiveSupport::Autoload end -# source://actiontext//lib/action_text/attachables/content_attachment.rb#7 +# pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:7 class ActionText::Attachables::ContentAttachment include ::ActiveModel::Validations include ::ActiveSupport::Callbacks @@ -189,199 +189,199 @@ class ActionText::Attachables::ContentAttachment extend ::ActiveModel::Validations::HelperMethods extend ::ActiveModel::Conversion::ClassMethods - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __callbacks; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _run_validate_callbacks(&block); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _run_validate_callbacks!(&block); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validate_callbacks; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validators; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validators?; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#20 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:20 def attachable_plain_text_representation(caption); end # Returns the value of attribute content. # - # source://actiontext//lib/action_text/attachables/content_attachment.rb#15 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:15 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#15 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:15 def content=(_arg0); end # Returns the value of attribute content_type. # - # source://actiontext//lib/action_text/attachables/content_attachment.rb#15 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:15 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#15 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:15 def content_type=(_arg0); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def model_name(&_arg0); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def param_delimiter=(_arg0); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#24 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:24 def to_html; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#32 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:32 def to_partial_path; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#28 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:28 def to_s; end private - # source://actiontext//lib/action_text/attachables/content_attachment.rb#37 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:37 def content_instance; end class << self - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __callbacks; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __callbacks=(value); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validate_callbacks; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validate_callbacks=(value); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validators; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validators=(value); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def _validators?; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#10 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:10 def from_node(node); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def param_delimiter; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def param_delimiter=(value); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def param_delimiter?; end private - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __class_attr___callbacks; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __class_attr___callbacks=(new_value); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __class_attr__validators; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __class_attr__validators=(new_value); end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __class_attr_param_delimiter; end - # source://actiontext//lib/action_text/attachables/content_attachment.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/content_attachment.rb:8 def __class_attr_param_delimiter=(new_value); end end end -# source://actiontext//lib/action_text/attachables/missing_attachable.rb#7 +# pkg:gem/actiontext#lib/action_text/attachables/missing_attachable.rb:7 class ActionText::Attachables::MissingAttachable extend ::ActiveModel::Naming # @return [MissingAttachable] a new instance of MissingAttachable # - # source://actiontext//lib/action_text/attachables/missing_attachable.rb#12 + # pkg:gem/actiontext#lib/action_text/attachables/missing_attachable.rb:12 def initialize(sgid); end - # source://actiontext//lib/action_text/attachables/missing_attachable.rb#24 + # pkg:gem/actiontext#lib/action_text/attachables/missing_attachable.rb:24 def model; end - # source://actiontext//lib/action_text/attachables/missing_attachable.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/missing_attachable.rb:8 def model_name(&_arg0); end - # source://actiontext//lib/action_text/attachables/missing_attachable.rb#16 + # pkg:gem/actiontext#lib/action_text/attachables/missing_attachable.rb:16 def to_partial_path; end end -# source://actiontext//lib/action_text/attachables/missing_attachable.rb#10 +# pkg:gem/actiontext#lib/action_text/attachables/missing_attachable.rb:10 ActionText::Attachables::MissingAttachable::DEFAULT_PARTIAL_PATH = T.let(T.unsafe(nil), String) -# source://actiontext//lib/action_text/attachables/remote_image.rb#7 +# pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:7 class ActionText::Attachables::RemoteImage extend ::ActiveModel::Naming # @return [RemoteImage] a new instance of RemoteImage # - # source://actiontext//lib/action_text/attachables/remote_image.rb#32 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:32 def initialize(attributes = T.unsafe(nil)); end - # source://actiontext//lib/action_text/attachables/remote_image.rb#39 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:39 def attachable_plain_text_representation(caption); end # Returns the value of attribute content_type. # - # source://actiontext//lib/action_text/attachables/remote_image.rb#30 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:30 def content_type; end # Returns the value of attribute height. # - # source://actiontext//lib/action_text/attachables/remote_image.rb#30 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:30 def height; end - # source://actiontext//lib/action_text/attachables/remote_image.rb#8 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:8 def model_name(&_arg0); end - # source://actiontext//lib/action_text/attachables/remote_image.rb#43 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:43 def to_partial_path; end # Returns the value of attribute url. # - # source://actiontext//lib/action_text/attachables/remote_image.rb#30 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:30 def url; end # Returns the value of attribute width. # - # source://actiontext//lib/action_text/attachables/remote_image.rb#30 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:30 def width; end class << self - # source://actiontext//lib/action_text/attachables/remote_image.rb#11 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:11 def from_node(node); end private - # source://actiontext//lib/action_text/attachables/remote_image.rb#22 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:22 def attributes_from_node(node); end # @return [Boolean] # - # source://actiontext//lib/action_text/attachables/remote_image.rb#18 + # pkg:gem/actiontext#lib/action_text/attachables/remote_image.rb:18 def content_type_is_image?(content_type); end end end @@ -398,7 +398,7 @@ end # attachment = ActionText::Attachment.from_attachable(attachable) # attachment.to_html # => " " "[Javan]" # - # source://actiontext//lib/action_text/attachment.rb#110 + # pkg:gem/actiontext#lib/action_text/attachment.rb:110 def to_plain_text; end - # source://actiontext//lib/action_text/attachment.rb#127 + # pkg:gem/actiontext#lib/action_text/attachment.rb:127 def to_s; end - # source://actiontext//lib/action_text/attachment.rb#81 + # pkg:gem/actiontext#lib/action_text/attachment.rb:81 def with_full_attributes; end private - # source://actiontext//lib/action_text/attachment.rb#140 + # pkg:gem/actiontext#lib/action_text/attachment.rb:140 def attachable_attributes; end - # source://actiontext//lib/action_text/attachment.rb#136 + # pkg:gem/actiontext#lib/action_text/attachment.rb:136 def node_attributes; end - # source://actiontext//lib/action_text/attachment.rb#66 + # pkg:gem/actiontext#lib/action_text/attachment.rb:66 def respond_to_missing?(name, include_private = T.unsafe(nil)); end - # source://actiontext//lib/action_text/attachment.rb#144 + # pkg:gem/actiontext#lib/action_text/attachment.rb:144 def sgid_attributes; end class << self - # source://actiontext//lib/action_text/attachment.rb#27 + # pkg:gem/actiontext#lib/action_text/attachment.rb:27 def fragment_by_canonicalizing_attachments(content); end - # source://actiontext//lib/action_text/attachment.rb#39 + # pkg:gem/actiontext#lib/action_text/attachment.rb:39 def from_attachable(attachable, attributes = T.unsafe(nil)); end - # source://actiontext//lib/action_text/attachment.rb#35 + # pkg:gem/actiontext#lib/action_text/attachment.rb:35 def from_attachables(attachables); end - # source://actiontext//lib/action_text/attachment.rb#45 + # pkg:gem/actiontext#lib/action_text/attachment.rb:45 def from_attributes(attributes, attachable = T.unsafe(nil)); end - # source://actiontext//lib/action_text/attachment.rb#31 + # pkg:gem/actiontext#lib/action_text/attachment.rb:31 def from_node(node, attachable = T.unsafe(nil)); end - # source://actiontext//lib/action_text/attachment.rb#22 + # pkg:gem/actiontext#lib/action_text/attachment.rb:22 def tag_name; end - # source://actiontext//lib/action_text/attachment.rb#22 + # pkg:gem/actiontext#lib/action_text/attachment.rb:22 def tag_name=(val); end private - # source://actiontext//lib/action_text/attachment.rb#52 + # pkg:gem/actiontext#lib/action_text/attachment.rb:52 def node_from_attributes(attributes); end - # source://actiontext//lib/action_text/attachment.rb#58 + # pkg:gem/actiontext#lib/action_text/attachment.rb:58 def process_attributes(attributes); end end end -# source://actiontext//lib/action_text/attachment.rb#24 +# pkg:gem/actiontext#lib/action_text/attachment.rb:24 ActionText::Attachment::ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://actiontext//lib/action_text/attachment_gallery.rb#6 +# pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:6 class ActionText::AttachmentGallery include ::ActiveModel::Validations include ::ActiveSupport::Callbacks @@ -557,190 +557,190 @@ class ActionText::AttachmentGallery # @return [AttachmentGallery] a new instance of AttachmentGallery # - # source://actiontext//lib/action_text/attachment_gallery.rb#54 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:54 def initialize(node); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __callbacks; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _run_validate_callbacks; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _run_validate_callbacks!(&block); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validate_callbacks; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validators; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validators?; end - # source://actiontext//lib/action_text/attachment_gallery.rb#58 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:58 def attachments; end - # source://actiontext//lib/action_text/attachment_gallery.rb#68 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:68 def inspect; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def model_name(&_arg0); end # Returns the value of attribute node. # - # source://actiontext//lib/action_text/attachment_gallery.rb#52 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:52 def node; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def param_delimiter=(_arg0); end - # source://actiontext//lib/action_text/attachment_gallery.rb#64 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:64 def size; end class << self - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __callbacks; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __callbacks=(value); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validate_callbacks; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validate_callbacks=(value); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validators; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validators=(value); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def _validators?; end - # source://actiontext//lib/action_text/attachment_gallery.rb#43 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:43 def attachment_selector; end - # source://actiontext//lib/action_text/attachment_gallery.rb#27 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:27 def find_attachment_gallery_nodes(content); end - # source://actiontext//lib/action_text/attachment_gallery.rb#13 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:13 def fragment_by_canonicalizing_attachment_galleries(content); end - # source://actiontext//lib/action_text/attachment_gallery.rb#19 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:19 def fragment_by_replacing_attachment_gallery_nodes(content); end - # source://actiontext//lib/action_text/attachment_gallery.rb#39 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:39 def from_node(node); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def param_delimiter; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def param_delimiter=(value); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def param_delimiter?; end - # source://actiontext//lib/action_text/attachment_gallery.rb#47 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:47 def selector; end private - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __class_attr___callbacks; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __class_attr___callbacks=(new_value); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __class_attr__validators; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __class_attr__validators=(new_value); end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __class_attr_param_delimiter; end - # source://actiontext//lib/action_text/attachment_gallery.rb#7 + # pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:7 def __class_attr_param_delimiter=(new_value); end end end -# source://actiontext//lib/action_text/attachment_gallery.rb#9 +# pkg:gem/actiontext#lib/action_text/attachment_gallery.rb:9 ActionText::AttachmentGallery::TAG_NAME = T.let(T.unsafe(nil), String) -# source://actiontext//lib/action_text.rb#38 +# pkg:gem/actiontext#lib/action_text.rb:38 module ActionText::Attachments extend ::ActiveSupport::Autoload end -# source://actiontext//lib/action_text/attachments/caching.rb#7 +# pkg:gem/actiontext#lib/action_text/attachments/caching.rb:7 module ActionText::Attachments::Caching - # source://actiontext//lib/action_text/attachments/caching.rb#8 + # pkg:gem/actiontext#lib/action_text/attachments/caching.rb:8 def cache_key(*args); end private - # source://actiontext//lib/action_text/attachments/caching.rb#13 + # pkg:gem/actiontext#lib/action_text/attachments/caching.rb:13 def cache_digest; end end -# source://actiontext//lib/action_text/attachments/minification.rb#7 +# pkg:gem/actiontext#lib/action_text/attachments/minification.rb:7 module ActionText::Attachments::Minification extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attachments::Minification::ClassMethods end -# source://actiontext//lib/action_text/attachments/minification.rb#10 +# pkg:gem/actiontext#lib/action_text/attachments/minification.rb:10 module ActionText::Attachments::Minification::ClassMethods - # source://actiontext//lib/action_text/attachments/minification.rb#11 + # pkg:gem/actiontext#lib/action_text/attachments/minification.rb:11 def fragment_by_minifying_attachments(content); end end -# source://actiontext//lib/action_text/attachments/trix_conversion.rb#9 +# pkg:gem/actiontext#lib/action_text/attachments/trix_conversion.rb:9 module ActionText::Attachments::TrixConversion extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attachments::TrixConversion::ClassMethods - # source://actiontext//lib/action_text/attachments/trix_conversion.rb#24 + # pkg:gem/actiontext#lib/action_text/attachments/trix_conversion.rb:24 def to_trix_attachment(content = T.unsafe(nil)); end private - # source://actiontext//lib/action_text/attachments/trix_conversion.rb#31 + # pkg:gem/actiontext#lib/action_text/attachments/trix_conversion.rb:31 def trix_attachment_content; end end -# source://actiontext//lib/action_text/attachments/trix_conversion.rb#12 +# pkg:gem/actiontext#lib/action_text/attachments/trix_conversion.rb:12 module ActionText::Attachments::TrixConversion::ClassMethods - # source://actiontext//lib/action_text/attachments/trix_conversion.rb#13 + # pkg:gem/actiontext#lib/action_text/attachments/trix_conversion.rb:13 def fragment_by_converting_trix_attachments(content); end - # source://actiontext//lib/action_text/attachments/trix_conversion.rb#19 + # pkg:gem/actiontext#lib/action_text/attachments/trix_conversion.rb:19 def from_trix_attachment(trix_attachment); end end -# source://actiontext//lib/action_text/attribute.rb#6 +# pkg:gem/actiontext#lib/action_text/attribute.rb:6 module ActionText::Attribute extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Attribute::ClassMethods end -# source://actiontext//lib/action_text/attribute.rb#9 +# pkg:gem/actiontext#lib/action_text/attribute.rb:9 module ActionText::Attribute::ClassMethods - # source://actiontext//lib/action_text/attribute.rb#53 + # pkg:gem/actiontext#lib/action_text/attribute.rb:53 def has_rich_text(name, encrypted: T.unsafe(nil), strict_loading: T.unsafe(nil), store_if_blank: T.unsafe(nil)); end - # source://actiontext//lib/action_text/attribute.rb#100 + # pkg:gem/actiontext#lib/action_text/attribute.rb:100 def rich_text_association_names; end - # source://actiontext//lib/action_text/attribute.rb#95 + # pkg:gem/actiontext#lib/action_text/attribute.rb:95 def with_all_rich_text; end end @@ -763,7 +763,7 @@ end # body.to_s # => "

Funny times!

" # body.to_plain_text # => "Funny times!" # -# source://actiontext//lib/action_text/content.rb#24 +# pkg:gem/actiontext#lib/action_text/content.rb:24 class ActionText::Content include ::ActionText::ContentHelper include ::ActionText::Serialization @@ -773,16 +773,16 @@ class ActionText::Content # @return [Content] a new instance of Content # - # source://actiontext//lib/action_text/content.rb#40 + # pkg:gem/actiontext#lib/action_text/content.rb:40 def initialize(content = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actiontext//lib/action_text/content.rb#170 + # pkg:gem/actiontext#lib/action_text/content.rb:170 def ==(other); end - # source://actiontext//lib/action_text/content.rb#93 + # pkg:gem/actiontext#lib/action_text/content.rb:93 def append_attachables(attachables); end - # source://actiontext//lib/action_text/content.rb#162 + # pkg:gem/actiontext#lib/action_text/content.rb:162 def as_json(*_arg0); end # Extracts ActionText::Attachable objects from the HTML fragment: @@ -792,10 +792,10 @@ class ActionText::Content # content = ActionText::Content.new(html) # content.attachables # => [attachable] # - # source://actiontext//lib/action_text/content.rb#87 + # pkg:gem/actiontext#lib/action_text/content.rb:87 def attachables; end - # source://actiontext//lib/action_text/content.rb#71 + # pkg:gem/actiontext#lib/action_text/content.rb:71 def attachment_galleries; end # Extracts ActionText::Attachment objects from the HTML fragment: @@ -805,30 +805,30 @@ class ActionText::Content # content = ActionText::Content.new(html) # content.attachments # => [# ["http://example.com/"] # - # source://actiontext//lib/action_text/content.rb#55 + # pkg:gem/actiontext#lib/action_text/content.rb:55 def links; end - # source://actiontext//lib/action_text/content.rb#30 + # pkg:gem/actiontext#lib/action_text/content.rb:30 def present?(*_arg0, **_arg1, &_arg2); end - # source://actiontext//lib/action_text/content.rb#25 + # pkg:gem/actiontext#lib/action_text/content.rb:25 def render(*_arg0, **_arg1, &_arg2); end - # source://actiontext//lib/action_text/content.rb#109 + # pkg:gem/actiontext#lib/action_text/content.rb:109 def render_attachment_galleries(&block); end - # source://actiontext//lib/action_text/content.rb#98 + # pkg:gem/actiontext#lib/action_text/content.rb:98 def render_attachments(**options, &block); end - # source://actiontext//lib/action_text/content.rb#139 + # pkg:gem/actiontext#lib/action_text/content.rb:139 def to_html; end - # source://actiontext//lib/action_text/content.rb#147 + # pkg:gem/actiontext#lib/action_text/content.rb:147 def to_partial_path; end # Returns a plain-text version of the markup contained by the content, with tags @@ -874,10 +874,10 @@ class ActionText::Content # content.to_plain_text # => "" # ActionText::ContentHelper.sanitizer.sanitize(content.to_plain_text) # => "" # - # source://actiontext//lib/action_text/content.rb#131 + # pkg:gem/actiontext#lib/action_text/content.rb:131 def to_plain_text; end - # source://actiontext//lib/action_text/content.rb#143 + # pkg:gem/actiontext#lib/action_text/content.rb:143 def to_rendered_html_with_layout; end # Safely transforms Content into an HTML String. @@ -888,34 +888,34 @@ class ActionText::Content # content = ActionText::Content.new("
safe
") # content.to_s # => "
safeunsafe
" # - # source://actiontext//lib/action_text/content.rb#158 + # pkg:gem/actiontext#lib/action_text/content.rb:158 def to_s; end - # source://actiontext//lib/action_text/content.rb#135 + # pkg:gem/actiontext#lib/action_text/content.rb:135 def to_trix_html; end private - # source://actiontext//lib/action_text/content.rb#187 + # pkg:gem/actiontext#lib/action_text/content.rb:187 def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end - # source://actiontext//lib/action_text/content.rb#192 + # pkg:gem/actiontext#lib/action_text/content.rb:192 def attachment_gallery_for_node(node); end - # source://actiontext//lib/action_text/content.rb#183 + # pkg:gem/actiontext#lib/action_text/content.rb:183 def attachment_gallery_nodes; end - # source://actiontext//lib/action_text/content.rb#179 + # pkg:gem/actiontext#lib/action_text/content.rb:179 def attachment_nodes; end class << self - # source://actiontext//lib/action_text/content.rb#33 + # pkg:gem/actiontext#lib/action_text/content.rb:33 def fragment_by_canonicalizing_content(content); end - # source://actiontext//lib/action_text/content.rb#25 + # pkg:gem/actiontext#lib/action_text/content.rb:25 def renderer; end - # source://actiontext//lib/action_text/content.rb#25 + # pkg:gem/actiontext#lib/action_text/content.rb:25 def renderer=(obj); end end end @@ -968,32 +968,32 @@ end module ActionText::EncryptedRichText::GeneratedAssociationMethods; end module ActionText::EncryptedRichText::GeneratedAttributeMethods; end -# source://actiontext//lib/action_text/encryption.rb#6 +# pkg:gem/actiontext#lib/action_text/encryption.rb:6 module ActionText::Encryption - # source://actiontext//lib/action_text/encryption.rb#14 + # pkg:gem/actiontext#lib/action_text/encryption.rb:14 def decrypt; end - # source://actiontext//lib/action_text/encryption.rb#7 + # pkg:gem/actiontext#lib/action_text/encryption.rb:7 def encrypt; end private - # source://actiontext//lib/action_text/encryption.rb#26 + # pkg:gem/actiontext#lib/action_text/encryption.rb:26 def decrypt_rich_texts; end - # source://actiontext//lib/action_text/encryption.rb#22 + # pkg:gem/actiontext#lib/action_text/encryption.rb:22 def encrypt_rich_texts; end - # source://actiontext//lib/action_text/encryption.rb#34 + # pkg:gem/actiontext#lib/action_text/encryption.rb:34 def encryptable_rich_texts; end # @return [Boolean] # - # source://actiontext//lib/action_text/encryption.rb#30 + # pkg:gem/actiontext#lib/action_text/encryption.rb:30 def has_encrypted_rich_texts?; end end -# source://actiontext//lib/action_text/engine.rb#14 +# pkg:gem/actiontext#lib/action_text/engine.rb:14 class ActionText::Engine < ::Rails::Engine; end # # Action Text FixtureSet @@ -1032,7 +1032,7 @@ class ActionText::Engine < ::Rails::Engine; 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#41 +# pkg:gem/actiontext#lib/action_text/fixture_set.rb:41 class ActionText::FixtureSet class << self # Fixtures support Action Text attachments as part of their `body` HTML. @@ -1054,169 +1054,169 @@ class ActionText::FixtureSet # name: content # body:
Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %>
# - # source://actiontext//lib/action_text/fixture_set.rb#61 + # pkg:gem/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#6 +# pkg:gem/actiontext#lib/action_text/fragment.rb:6 class ActionText::Fragment # @return [Fragment] a new instance of Fragment # - # source://actiontext//lib/action_text/fragment.rb#28 + # pkg:gem/actiontext#lib/action_text/fragment.rb:28 def initialize(source); end - # source://actiontext//lib/action_text/fragment.rb#26 + # pkg:gem/actiontext#lib/action_text/fragment.rb:26 def deconstruct(*_arg0, **_arg1, &_arg2); end - # source://actiontext//lib/action_text/fragment.rb#32 + # pkg:gem/actiontext#lib/action_text/fragment.rb:32 def find_all(selector); end - # source://actiontext//lib/action_text/fragment.rb#41 + # pkg:gem/actiontext#lib/action_text/fragment.rb:41 def replace(selector); end # Returns the value of attribute source. # - # source://actiontext//lib/action_text/fragment.rb#24 + # pkg:gem/actiontext#lib/action_text/fragment.rb:24 def source; end - # source://actiontext//lib/action_text/fragment.rb#54 + # pkg:gem/actiontext#lib/action_text/fragment.rb:54 def to_html; end - # source://actiontext//lib/action_text/fragment.rb#50 + # pkg:gem/actiontext#lib/action_text/fragment.rb:50 def to_plain_text; end - # source://actiontext//lib/action_text/fragment.rb#58 + # pkg:gem/actiontext#lib/action_text/fragment.rb:58 def to_s; end # @yield [source = self.source.dup] # - # source://actiontext//lib/action_text/fragment.rb#36 + # pkg:gem/actiontext#lib/action_text/fragment.rb:36 def update; end class << self - # source://actiontext//lib/action_text/fragment.rb#19 + # pkg:gem/actiontext#lib/action_text/fragment.rb:19 def from_html(html); end - # source://actiontext//lib/action_text/fragment.rb#8 + # pkg:gem/actiontext#lib/action_text/fragment.rb:8 def wrap(fragment_or_html); end end end -# source://actiontext//lib/action_text/html_conversion.rb#6 +# pkg:gem/actiontext#lib/action_text/html_conversion.rb:6 module ActionText::HtmlConversion extend ::ActionText::HtmlConversion - # source://actiontext//lib/action_text/html_conversion.rb#17 + # pkg:gem/actiontext#lib/action_text/html_conversion.rb:17 def create_element(tag_name, attributes = T.unsafe(nil)); end - # source://actiontext//lib/action_text/html_conversion.rb#13 + # pkg:gem/actiontext#lib/action_text/html_conversion.rb:13 def fragment_for_html(html); end - # source://actiontext//lib/action_text/html_conversion.rb#9 + # pkg:gem/actiontext#lib/action_text/html_conversion.rb:9 def node_to_html(node); end private - # source://actiontext//lib/action_text/html_conversion.rb#22 + # pkg:gem/actiontext#lib/action_text/html_conversion.rb:22 def document; end end -# source://actiontext//lib/action_text/plain_text_conversion.rb#6 +# pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:6 module ActionText::PlainTextConversion extend ::ActionText::PlainTextConversion - # source://actiontext//lib/action_text/plain_text_conversion.rb#9 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:9 def node_to_plain_text(node); end private - # source://actiontext//lib/action_text/plain_text_conversion.rb#118 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:118 def break_if_nested_list(node, text); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#94 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:94 def bullet_for_li_node(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#107 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:107 def indentation_for_li_node(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#114 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:114 def list_node_depth_for_node(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#103 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:103 def list_node_name_for_li_node(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#40 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:40 def plain_text_for_block(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#72 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:72 def plain_text_for_blockquote_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#56 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:56 def plain_text_for_br_node(node, _child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#28 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:28 def plain_text_for_child_values(child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#64 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:64 def plain_text_for_div_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#68 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:68 def plain_text_for_figcaption_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#45 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:45 def plain_text_for_h1_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#82 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:82 def plain_text_for_li_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#48 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:48 def plain_text_for_list(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#16 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:16 def plain_text_for_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#53 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:53 def plain_text_for_ol_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#45 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:45 def plain_text_for_p_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#37 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:37 def plain_text_for_script_node(node, _child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#37 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:37 def plain_text_for_style_node(node, _child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#60 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:60 def plain_text_for_text_node(node, _child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#53 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:53 def plain_text_for_ul_node(node, child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#32 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:32 def plain_text_for_unsupported_node(node, _child_values); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#24 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:24 def plain_text_method_for_node(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#90 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:90 def remove_trailing_newlines(text); end end -# source://actiontext//lib/action_text/plain_text_conversion.rb#126 +# pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:126 class ActionText::PlainTextConversion::BottomUpReducer # @return [BottomUpReducer] a new instance of BottomUpReducer # - # source://actiontext//lib/action_text/plain_text_conversion.rb#127 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:127 def initialize(node); end - # source://actiontext//lib/action_text/plain_text_conversion.rb#132 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:132 def reduce(&block); end private - # source://actiontext//lib/action_text/plain_text_conversion.rb#141 + # pkg:gem/actiontext#lib/action_text/plain_text_conversion.rb:141 def traverse_bottom_up(node, &block); end end @@ -1237,22 +1237,22 @@ end module ActionText::Record::GeneratedAssociationMethods; end module ActionText::Record::GeneratedAttributeMethods; end -# source://actiontext//lib/action_text/rendering.rb#8 +# pkg:gem/actiontext#lib/action_text/rendering.rb:8 module ActionText::Rendering extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Rendering::ClassMethods end -# source://actiontext//lib/action_text/rendering.rb#16 +# pkg:gem/actiontext#lib/action_text/rendering.rb:16 module ActionText::Rendering::ClassMethods - # source://actiontext//lib/action_text/rendering.rb#17 + # pkg:gem/actiontext#lib/action_text/rendering.rb:17 def action_controller_renderer; end - # source://actiontext//lib/action_text/rendering.rb#29 + # pkg:gem/actiontext#lib/action_text/rendering.rb:29 def render(*args, &block); end - # source://actiontext//lib/action_text/rendering.rb#21 + # pkg:gem/actiontext#lib/action_text/rendering.rb:21 def with_renderer(renderer); end end @@ -1318,25 +1318,25 @@ end module ActionText::RichText::GeneratedAttributeMethods; end -# source://actiontext//lib/action_text/serialization.rb#6 +# pkg:gem/actiontext#lib/action_text/serialization.rb:6 module ActionText::Serialization extend ::ActiveSupport::Concern mixes_in_class_methods ::ActionText::Serialization::ClassMethods - # source://actiontext//lib/action_text/serialization.rb#34 + # pkg:gem/actiontext#lib/action_text/serialization.rb:34 def _dump(*_arg0); end end -# source://actiontext//lib/action_text/serialization.rb#9 +# pkg:gem/actiontext#lib/action_text/serialization.rb:9 module ActionText::Serialization::ClassMethods - # source://actiontext//lib/action_text/serialization.rb#31 + # pkg:gem/actiontext#lib/action_text/serialization.rb:31 def _load(content); end - # source://actiontext//lib/action_text/serialization.rb#14 + # pkg:gem/actiontext#lib/action_text/serialization.rb:14 def dump(content); end - # source://actiontext//lib/action_text/serialization.rb#10 + # pkg:gem/actiontext#lib/action_text/serialization.rb:10 def load(content); end end @@ -1350,89 +1350,89 @@ module ActionText::TagHelper end end -# source://actiontext//lib/action_text/trix_attachment.rb#6 +# pkg:gem/actiontext#lib/action_text/trix_attachment.rb:6 class ActionText::TrixAttachment # @return [TrixAttachment] a new instance of TrixAttachment # - # source://actiontext//lib/action_text/trix_attachment.rb#53 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:53 def initialize(node); end - # source://actiontext//lib/action_text/trix_attachment.rb#57 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:57 def attributes; end # Returns the value of attribute node. # - # source://actiontext//lib/action_text/trix_attachment.rb#51 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:51 def node; end - # source://actiontext//lib/action_text/trix_attachment.rb#61 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:61 def to_html; end - # source://actiontext//lib/action_text/trix_attachment.rb#65 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:65 def to_s; end private - # source://actiontext//lib/action_text/trix_attachment.rb#70 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:70 def attachment_attributes; end - # source://actiontext//lib/action_text/trix_attachment.rb#74 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:74 def composed_attributes; end - # source://actiontext//lib/action_text/trix_attachment.rb#82 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:82 def read_json_attribute(name); end - # source://actiontext//lib/action_text/trix_attachment.rb#78 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:78 def read_json_object_attribute(name); end class << self - # source://actiontext//lib/action_text/trix_attachment.rb#21 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:21 def from_attributes(attributes); end private - # source://actiontext//lib/action_text/trix_attachment.rb#35 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:35 def process_attributes(attributes); end - # source://actiontext//lib/action_text/trix_attachment.rb#39 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:39 def transform_attribute_keys(attributes); end - # source://actiontext//lib/action_text/trix_attachment.rb#43 + # pkg:gem/actiontext#lib/action_text/trix_attachment.rb:43 def typecast_attribute_values(attributes); end end end -# source://actiontext//lib/action_text/trix_attachment.rb#11 +# pkg:gem/actiontext#lib/action_text/trix_attachment.rb:11 ActionText::TrixAttachment::ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://actiontext//lib/action_text/trix_attachment.rb#12 +# pkg:gem/actiontext#lib/action_text/trix_attachment.rb:12 ActionText::TrixAttachment::ATTRIBUTE_TYPES = T.let(T.unsafe(nil), Hash) -# source://actiontext//lib/action_text/trix_attachment.rb#10 +# pkg:gem/actiontext#lib/action_text/trix_attachment.rb:10 ActionText::TrixAttachment::COMPOSED_ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://actiontext//lib/action_text/trix_attachment.rb#8 +# pkg:gem/actiontext#lib/action_text/trix_attachment.rb:8 ActionText::TrixAttachment::SELECTOR = T.let(T.unsafe(nil), String) -# source://actiontext//lib/action_text/trix_attachment.rb#7 +# pkg:gem/actiontext#lib/action_text/trix_attachment.rb:7 ActionText::TrixAttachment::TAG_NAME = T.let(T.unsafe(nil), String) -# source://actiontext//lib/action_text/gem_version.rb#11 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:11 module ActionText::VERSION; end -# source://actiontext//lib/action_text/gem_version.rb#12 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:12 ActionText::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://actiontext//lib/action_text/gem_version.rb#13 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:13 ActionText::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://actiontext//lib/action_text/gem_version.rb#15 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:15 ActionText::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://actiontext//lib/action_text/gem_version.rb#17 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:17 ActionText::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://actiontext//lib/action_text/gem_version.rb#14 +# pkg:gem/actiontext#lib/action_text/gem_version.rb:14 ActionText::VERSION::TINY = T.let(T.unsafe(nil), Integer) module ActionView::Helpers diff --git a/sorbet/rbi/gems/actionview@8.1.1.rbi b/sorbet/rbi/gems/actionview@8.1.1.rbi index d3047b4b2..45a62b908 100644 --- a/sorbet/rbi/gems/actionview@8.1.1.rbi +++ b/sorbet/rbi/gems/actionview@8.1.1.rbi @@ -16,31 +16,31 @@ end # :include: ../README.rdoc # -# source://actionview//lib/action_view/gem_version.rb#3 +# pkg:gem/actionview#lib/action_view/gem_version.rb:3 module ActionView extend ::ActiveSupport::Autoload class << self - # source://actionview//lib/action_view/deprecator.rb#4 + # pkg:gem/actionview#lib/action_view/deprecator.rb:4 def deprecator; end - # source://actionview//lib/action_view.rb#97 + # pkg:gem/actionview#lib/action_view.rb:97 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 + # pkg:gem/actionview#lib/action_view/gem_version.rb:5 def gem_version; end - # source://actionview//lib/action_view.rb#94 + # pkg:gem/actionview#lib/action_view.rb:94 def render_tracker; end - # source://actionview//lib/action_view.rb#94 + # pkg:gem/actionview#lib/action_view.rb:94 def render_tracker=(_arg0); end # Returns the currently loaded version of Action View as a +Gem::Version+. # - # source://actionview//lib/action_view/version.rb#7 + # pkg:gem/actionview#lib/action_view/version.rb:7 def version; end end end @@ -61,56 +61,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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:24 def initialize(lookup_context); end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:28 def render; end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:159 def extract_details(options); end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#171 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:32 module ActionView::AbstractRenderer::ObjectRendering - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#37 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:43 def local_variable(path); end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#92 + # pkg:gem/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 @@ -121,96 +121,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:122 def body; end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#126 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:133 def initialize(format); end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#137 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:131 def format; end end -# source://actionview//lib/action_view/renderer/abstract_renderer.rb#141 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:142 def body; end - # source://actionview//lib/action_view/renderer/abstract_renderer.rb#149 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/abstract_renderer.rb:142 def template; end end -# source://actionview//lib/action_view/renderer/abstract_renderer.rb#153 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/template/error.rb:8 class ActionView::ActionViewError < ::StandardError; end # = Action View \Base @@ -358,7 +358,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#158 +# pkg:gem/actionview#lib/action_view/base.rb:158 class ActionView::Base include ::ActionView::Context include ::ERB::Escape @@ -401,317 +401,317 @@ class ActionView::Base # # @return [Base] a new instance of Base # - # source://actionview//lib/action_view/base.rb#249 + # pkg:gem/actionview#lib/action_view/base.rb:249 def initialize(lookup_context, assigns, controller); end - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def _routes; end - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def _routes=(_arg0); end - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def _routes?; end - # source://actionview//lib/action_view/base.rb#264 + # pkg:gem/actionview#lib/action_view/base.rb:264 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#180 + # pkg:gem/actionview#lib/action_view/base.rb:180 def annotate_rendered_view_with_filenames; end - # source://actionview//lib/action_view/base.rb#180 + # pkg:gem/actionview#lib/action_view/base.rb:180 def annotate_rendered_view_with_filenames=(val); end - # source://actionview//lib/action_view/base.rb#228 + # pkg:gem/actionview#lib/action_view/base.rb:228 def assign(new_assigns); end - # source://actionview//lib/action_view/base.rb#224 + # pkg:gem/actionview#lib/action_view/base.rb:224 def assigns; end - # source://actionview//lib/action_view/base.rb#224 + # pkg:gem/actionview#lib/action_view/base.rb:224 def assigns=(_arg0); end - # source://actionview//lib/action_view/base.rb#177 + # pkg:gem/actionview#lib/action_view/base.rb:177 def automatically_disable_submit_tag; end - # source://actionview//lib/action_view/base.rb#177 + # pkg:gem/actionview#lib/action_view/base.rb:177 def automatically_disable_submit_tag=(val); end # @raise [NotImplementedError] # - # source://actionview//lib/action_view/base.rb#287 + # pkg:gem/actionview#lib/action_view/base.rb:287 def compiled_method_container; end - # source://actionview//lib/action_view/base.rb#224 + # pkg:gem/actionview#lib/action_view/base.rb:224 def config; end - # source://actionview//lib/action_view/base.rb#224 + # pkg:gem/actionview#lib/action_view/base.rb:224 def config=(_arg0); end - # source://actionview//lib/action_view/base.rb#159 + # pkg:gem/actionview#lib/action_view/base.rb:159 def debug_missing_translation; end - # source://actionview//lib/action_view/base.rb#159 + # pkg:gem/actionview#lib/action_view/base.rb:159 def debug_missing_translation=(val); end - # source://actionview//lib/action_view/base.rb#174 + # pkg:gem/actionview#lib/action_view/base.rb:174 def default_formats; end - # source://actionview//lib/action_view/base.rb#174 + # pkg:gem/actionview#lib/action_view/base.rb:174 def default_formats=(val); end - # source://actionview//lib/action_view/base.rb#162 + # pkg:gem/actionview#lib/action_view/base.rb:162 def field_error_proc; end - # source://actionview//lib/action_view/base.rb#162 + # pkg:gem/actionview#lib/action_view/base.rb:162 def field_error_proc=(val); end - # source://actionview//lib/action_view/base.rb#226 + # pkg:gem/actionview#lib/action_view/base.rb:226 def formats(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/base.rb#226 + # pkg:gem/actionview#lib/action_view/base.rb:226 def formats=(arg); end - # source://actionview//lib/action_view/base.rb#295 + # pkg:gem/actionview#lib/action_view/base.rb:295 def in_rendering_context(options); end - # source://actionview//lib/action_view/base.rb#226 + # pkg:gem/actionview#lib/action_view/base.rb:226 def locale(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/base.rb#226 + # pkg:gem/actionview#lib/action_view/base.rb:226 def locale=(arg); end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def logger; end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def logger=(_arg0); end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def logger?; end # Returns the value of attribute lookup_context. # - # source://actionview//lib/action_view/base.rb#223 + # pkg:gem/actionview#lib/action_view/base.rb:223 def lookup_context; end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def prefix_partial_path_with_controller_namespace; end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def prefix_partial_path_with_controller_namespace=(_arg0); end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def prefix_partial_path_with_controller_namespace?; end - # source://actionview//lib/action_view/base.rb#187 + # pkg:gem/actionview#lib/action_view/base.rb:187 def remove_hidden_field_autocomplete; end - # source://actionview//lib/action_view/base.rb#187 + # pkg:gem/actionview#lib/action_view/base.rb:187 def remove_hidden_field_autocomplete=(val); end - # source://actionview//lib/action_view/base.rb#166 + # pkg:gem/actionview#lib/action_view/base.rb:166 def streaming_completion_on_exception; end - # source://actionview//lib/action_view/base.rb#166 + # pkg:gem/actionview#lib/action_view/base.rb:166 def streaming_completion_on_exception=(val); end - # source://actionview//lib/action_view/base.rb#226 + # pkg:gem/actionview#lib/action_view/base.rb:226 def view_paths(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/base.rb#226 + # pkg:gem/actionview#lib/action_view/base.rb:226 def view_paths=(arg); end # Returns the value of attribute view_renderer. # - # source://actionview//lib/action_view/base.rb#223 + # pkg:gem/actionview#lib/action_view/base.rb:223 def view_renderer; end class << self - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def _routes; end - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def _routes=(value); end - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def _routes?; end - # source://actionview//lib/action_view/base.rb#180 + # pkg:gem/actionview#lib/action_view/base.rb:180 def annotate_rendered_view_with_filenames; end - # source://actionview//lib/action_view/base.rb#180 + # pkg:gem/actionview#lib/action_view/base.rb:180 def annotate_rendered_view_with_filenames=(val); end - # source://actionview//lib/action_view/base.rb#177 + # pkg:gem/actionview#lib/action_view/base.rb:177 def automatically_disable_submit_tag; end - # source://actionview//lib/action_view/base.rb#177 + # pkg:gem/actionview#lib/action_view/base.rb:177 def automatically_disable_submit_tag=(val); end - # source://actionview//lib/action_view/base.rb#192 + # pkg:gem/actionview#lib/action_view/base.rb:192 def cache_template_loading; end - # source://actionview//lib/action_view/base.rb#196 + # pkg:gem/actionview#lib/action_view/base.rb:196 def cache_template_loading=(value); end # @return [Boolean] # - # source://actionview//lib/action_view/base.rb#218 + # pkg:gem/actionview#lib/action_view/base.rb:218 def changed?(other); end - # source://actionview//lib/action_view/base.rb#159 + # pkg:gem/actionview#lib/action_view/base.rb:159 def debug_missing_translation; end - # source://actionview//lib/action_view/base.rb#159 + # pkg:gem/actionview#lib/action_view/base.rb:159 def debug_missing_translation=(val); end - # source://actionview//lib/action_view/base.rb#314 + # pkg:gem/actionview#lib/action_view/base.rb:314 def default_form_builder; end - # source://actionview//lib/action_view/base.rb#314 + # pkg:gem/actionview#lib/action_view/base.rb:314 def default_form_builder=(val); end - # source://actionview//lib/action_view/base.rb#174 + # pkg:gem/actionview#lib/action_view/base.rb:174 def default_formats; end - # source://actionview//lib/action_view/base.rb#174 + # pkg:gem/actionview#lib/action_view/base.rb:174 def default_formats=(val); end # :stopdoc: # - # source://actionview//lib/action_view/base.rb#235 + # pkg:gem/actionview#lib/action_view/base.rb:235 def empty; end - # source://actionview//lib/action_view/base.rb#190 + # pkg:gem/actionview#lib/action_view/base.rb:190 def erb_trim_mode=(arg); end - # source://actionview//lib/action_view/base.rb#162 + # pkg:gem/actionview#lib/action_view/base.rb:162 def field_error_proc; end - # source://actionview//lib/action_view/base.rb#162 + # pkg:gem/actionview#lib/action_view/base.rb:162 def field_error_proc=(val); end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def logger; end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def logger=(value); end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def logger?; end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def prefix_partial_path_with_controller_namespace; end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def prefix_partial_path_with_controller_namespace=(value); end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def prefix_partial_path_with_controller_namespace?; end - # source://actionview//lib/action_view/base.rb#187 + # pkg:gem/actionview#lib/action_view/base.rb:187 def remove_hidden_field_autocomplete; end - # source://actionview//lib/action_view/base.rb#187 + # pkg:gem/actionview#lib/action_view/base.rb:187 def remove_hidden_field_autocomplete=(val); end - # source://actionview//lib/action_view/base.rb#166 + # pkg:gem/actionview#lib/action_view/base.rb:166 def streaming_completion_on_exception; end - # source://actionview//lib/action_view/base.rb#166 + # pkg:gem/actionview#lib/action_view/base.rb:166 def streaming_completion_on_exception=(val); end - # source://actionview//lib/action_view/base.rb#243 + # pkg:gem/actionview#lib/action_view/base.rb:243 def with_context(context, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end - # source://actionview//lib/action_view/base.rb#204 + # pkg:gem/actionview#lib/action_view/base.rb:204 def with_empty_template_cache; end - # source://actionview//lib/action_view/base.rb#239 + # pkg:gem/actionview#lib/action_view/base.rb:239 def with_view_paths(view_paths, assigns = T.unsafe(nil), controller = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview//lib/action_view/base.rb#200 + # pkg:gem/actionview#lib/action_view/base.rb:200 def xss_safe?; end private - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def __class_attr__routes; end - # source://actionview//lib/action_view/base.rb#182 + # pkg:gem/actionview#lib/action_view/base.rb:182 def __class_attr__routes=(new_value); end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def __class_attr_logger; end - # source://actionview//lib/action_view/base.rb#183 + # pkg:gem/actionview#lib/action_view/base.rb:183 def __class_attr_logger=(new_value); end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def __class_attr_prefix_partial_path_with_controller_namespace; end - # source://actionview//lib/action_view/base.rb#171 + # pkg:gem/actionview#lib/action_view/base.rb:171 def __class_attr_prefix_partial_path_with_controller_namespace=(new_value); end end end -# source://actionview//lib/action_view/cache_expiry.rb#4 +# pkg:gem/actionview#lib/action_view/cache_expiry.rb:4 module ActionView::CacheExpiry; end -# source://actionview//lib/action_view/cache_expiry.rb#5 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:6 def initialize(watcher:, &block); end - # source://actionview//lib/action_view/cache_expiry.rb#21 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:21 def execute; end # @return [Boolean] # - # source://actionview//lib/action_view/cache_expiry.rb#16 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:16 def updated?; end private - # source://actionview//lib/action_view/cache_expiry.rb#64 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:64 def all_view_paths; end - # source://actionview//lib/action_view/cache_expiry.rb#37 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:37 def build_watcher; end - # source://actionview//lib/action_view/cache_expiry.rb#60 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:60 def dirs_to_watch; end - # source://actionview//lib/action_view/cache_expiry.rb#55 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:55 def rebuild_watcher; end - # source://actionview//lib/action_view/cache_expiry.rb#33 + # pkg:gem/actionview#lib/action_view/cache_expiry.rb:33 def reload!; end end -# source://actionview//lib/action_view/renderer/partial_renderer/collection_caching.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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, @@ -730,98 +730,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:39 def initialize(collection); end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#43 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:43 def each(&blk); end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#51 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:51 def length; end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#55 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:55 def preload!; end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#47 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:47 def size; end end -# source://actionview//lib/action_view/renderer/collection_renderer.rb#100 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:101 def initialize(collection, paths); end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#106 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:89 def each_with_info; end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#85 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:85 def from_collection(collection); end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#95 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:95 def preload!; end end -# source://actionview//lib/action_view/renderer/collection_renderer.rb#60 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:71 def each_with_info; end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#67 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:67 def from_collection(collection); end end @@ -836,134 +836,134 @@ end # object that includes this module (although you can call _prepare_context # defined below). # -# source://actionview//lib/action_view/context.rb#14 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/context.rb:15 def view_flow=(_arg0); end end -# source://actionview//lib/action_view/dependency_tracker.rb#8 +# pkg:gem/actionview#lib/action_view/dependency_tracker.rb:8 class ActionView::DependencyTracker extend ::ActiveSupport::Autoload class << self - # source://actionview//lib/action_view/dependency_tracker.rb#17 + # pkg:gem/actionview#lib/action_view/dependency_tracker.rb:17 def find_dependencies(name, template, view_paths = T.unsafe(nil)); end - # source://actionview//lib/action_view/dependency_tracker.rb#24 + # pkg:gem/actionview#lib/action_view/dependency_tracker.rb:24 def register_tracker(extension, tracker); end - # source://actionview//lib/action_view/dependency_tracker.rb#35 + # pkg:gem/actionview#lib/action_view/dependency_tracker.rb:35 def remove_tracker(handler); end end end -# source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/dependency_tracker/erb_tracker.rb:88 def directory; end - # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#158 + # pkg:gem/actionview#lib/action_view/dependency_tracker/erb_tracker.rb:158 def explicit_dependencies; end # Returns the value of attribute name. # - # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#80 + # pkg:gem/actionview#lib/action_view/dependency_tracker/erb_tracker.rb:80 def name; end - # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#92 + # pkg:gem/actionview#lib/action_view/dependency_tracker/erb_tracker.rb:92 def render_dependencies; end - # source://actionview//lib/action_view/dependency_tracker/erb_tracker.rb#84 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/dependency_tracker/erb_tracker.rb:30 ActionView::DependencyTracker::ERBTracker::PARTIAL_HASH_KEY = T.let(T.unsafe(nil), Regexp) # Matches: @@ -978,99 +978,99 @@ 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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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/ruby_tracker.rb#5 +# pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:5 class ActionView::DependencyTracker::RubyTracker # @return [RubyTracker] a new instance of RubyTracker # - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#20 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:20 def initialize(name, template, view_paths = T.unsafe(nil), parser_class: T.unsafe(nil)); end - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#12 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:12 def dependencies; end private - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#38 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:38 def explicit_dependencies; end # Returns the value of attribute name. # - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#26 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:26 def name; end - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#28 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:28 def render_dependencies; end # Returns the value of attribute template. # - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#26 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:26 def template; end # Returns the value of attribute view_paths. # - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#26 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:26 def view_paths; end class << self - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#8 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:8 def call(name, template, view_paths = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#16 + # pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:16 def supports_view_paths?; end end end -# source://actionview//lib/action_view/dependency_tracker/ruby_tracker.rb#6 +# pkg:gem/actionview#lib/action_view/dependency_tracker/ruby_tracker.rb:6 ActionView::DependencyTracker::RubyTracker::EXPLICIT_DEPENDENCY = T.let(T.unsafe(nil), Regexp) -# source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#5 +# pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:5 class ActionView::DependencyTracker::WildcardResolver # @return [WildcardResolver] a new instance of WildcardResolver # - # source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#6 + # pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:6 def initialize(view_paths, dependencies); end - # source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#13 + # pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:13 def resolve; end private # Returns the value of attribute explicit_dependencies. # - # source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#20 + # pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:20 def explicit_dependencies; end - # source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#22 + # pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:22 def resolved_wildcard_dependencies; end # Returns the value of attribute view_paths. # - # source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#20 + # pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:20 def view_paths; end # Returns the value of attribute wildcard_dependencies. # - # source://actionview//lib/action_view/dependency_tracker/wildcard_resolver.rb#20 + # pkg:gem/actionview#lib/action_view/dependency_tracker/wildcard_resolver.rb:20 def wildcard_dependencies; end end -# source://actionview//lib/action_view/digestor.rb#6 +# pkg:gem/actionview#lib/action_view/digestor.rb:6 class ActionView::Digestor class << self # Supported options: @@ -1080,165 +1080,165 @@ class ActionView::Digestor # * +finder+ - An instance of ActionView::LookupContext # * dependencies - An array of dependent views # - # source://actionview//lib/action_view/digestor.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#125 +# pkg:gem/actionview#lib/action_view/digestor.rb:125 class ActionView::Digestor::Injected < ::ActionView::Digestor::Node - # source://actionview//lib/action_view/digestor.rb#126 + # pkg:gem/actionview#lib/action_view/digestor.rb:126 def digest(finder, _ = T.unsafe(nil)); end end -# source://actionview//lib/action_view/digestor.rb#121 +# pkg:gem/actionview#lib/action_view/digestor.rb:121 class ActionView::Digestor::Missing < ::ActionView::Digestor::Node - # source://actionview//lib/action_view/digestor.rb#122 + # pkg:gem/actionview#lib/action_view/digestor.rb:122 def digest(finder, _ = T.unsafe(nil)); end end -# source://actionview//lib/action_view/digestor.rb#78 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/digestor.rb:79 def children; end - # source://actionview//lib/action_view/digestor.rb#97 + # pkg:gem/actionview#lib/action_view/digestor.rb:97 def dependency_digest(finder, stack); end - # source://actionview//lib/action_view/digestor.rb#93 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/digestor.rb:79 def name; end # Returns the value of attribute template. # - # source://actionview//lib/action_view/digestor.rb#79 + # pkg:gem/actionview#lib/action_view/digestor.rb:79 def template; end - # source://actionview//lib/action_view/digestor.rb#110 + # pkg:gem/actionview#lib/action_view/digestor.rb:110 def to_dep_map(seen = T.unsafe(nil)); end class << self - # source://actionview//lib/action_view/digestor.rb#81 + # pkg:gem/actionview#lib/action_view/digestor.rb:81 def create(name, logical_name, template, partial); end end end -# source://actionview//lib/action_view/digestor.rb#129 +# pkg:gem/actionview#lib/action_view/digestor.rb:129 class ActionView::Digestor::NullLogger class << self - # source://actionview//lib/action_view/digestor.rb#130 + # pkg:gem/actionview#lib/action_view/digestor.rb:130 def debug(_); end - # source://actionview//lib/action_view/digestor.rb#131 + # pkg:gem/actionview#lib/action_view/digestor.rb:131 def error(_); end end end -# source://actionview//lib/action_view/digestor.rb#119 +# pkg:gem/actionview#lib/action_view/digestor.rb:119 class ActionView::Digestor::Partial < ::ActionView::Digestor::Node; end -# source://actionview//lib/action_view.rb#35 +# pkg:gem/actionview#lib/action_view.rb:35 ActionView::ENCODING_FLAG = T.let(T.unsafe(nil), String) -# source://actionview//lib/action_view/template/error.rb#11 +# pkg:gem/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#90 +# pkg:gem/actionview#lib/action_view/template/resolver.rb:90 class ActionView::FileSystemResolver < ::ActionView::Resolver # @raise [ArgumentError] # @return [FileSystemResolver] a new instance of FileSystemResolver # - # source://actionview//lib/action_view/template/resolver.rb#93 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:93 def initialize(path); end # @return [Boolean] # - # source://actionview//lib/action_view/template/resolver.rb#115 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:115 def ==(resolver); end - # source://actionview//lib/action_view/template/resolver.rb#117 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:117 def all_template_paths; end - # source://actionview//lib/action_view/template/resolver.rb#126 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:126 def built_templates; end - # source://actionview//lib/action_view/template/resolver.rb#101 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:101 def clear_cache; end # @return [Boolean] # - # source://actionview//lib/action_view/template/resolver.rb#112 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:112 def eql?(resolver); end # Returns the value of attribute path. # - # source://actionview//lib/action_view/template/resolver.rb#91 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:91 def path; end - # source://actionview//lib/action_view/template/resolver.rb#110 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:110 def to_path; end - # source://actionview//lib/action_view/template/resolver.rb#107 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:107 def to_s; end private - # source://actionview//lib/action_view/template/resolver.rb#131 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:131 def _find_all(name, prefix, partial, details, key, locals); end - # source://actionview//lib/action_view/template/resolver.rb#150 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:150 def build_unbound_template(template); end - # source://actionview//lib/action_view/template/resolver.rb#208 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:208 def escape_entry(entry); end - # source://actionview//lib/action_view/template/resolver.rb#180 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:180 def filter_and_sort_by_details(templates, requested_details); end - # source://actionview//lib/action_view/template/resolver.rb#146 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:146 def source_for_template(template); end # Safe glob within @path # - # source://actionview//lib/action_view/template/resolver.rb#195 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:195 def template_glob(glob); end - # source://actionview//lib/action_view/template/resolver.rb#163 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:163 def unbound_templates_from_path(path); end end -# source://actionview//lib/action_view/helpers/capture_helper.rb#6 +# pkg:gem/actionview#lib/action_view/helpers/capture_helper.rb:6 module ActionView::Helpers include ::ActiveSupport::Benchmarkable include ::ActionView::Helpers::ActiveModelHelper @@ -1274,48 +1274,48 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods class << self - # source://actionview//lib/action_view/helpers.rb#35 + # pkg:gem/actionview#lib/action_view/helpers.rb:35 def eager_load!; end end end -# source://actionview//lib/action_view/helpers/active_model_helper.rb#8 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/active_model_helper.rb:13 def object; end - # source://actionview//lib/action_view/helpers/active_model_helper.rb#24 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/active_model_helper.rb:49 def tag_generate_errors?(options); end end @@ -1330,17 +1330,17 @@ end # stylesheet_link_tag("application") # # => # -# source://actionview//lib/action_view/helpers/asset_tag_helper.rb#21 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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, @@ -1366,7 +1366,7 @@ module ActionView::Helpers::AssetTagHelper # audio_tag(user.name_pronunciation_audio) # # => # - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#612 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:612 def audio_tag(*sources); end # Returns a link tag that browsers and feed readers can use to auto-detect @@ -1397,19 +1397,19 @@ 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#279 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:279 def auto_discovery_link_tag(type = T.unsafe(nil), url_options = T.unsafe(nil), tag_options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#29 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:29 def auto_include_nonce_for_scripts; end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#29 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:29 def auto_include_nonce_for_scripts=(val); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#30 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:30 def auto_include_nonce_for_styles; end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#30 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:30 def auto_include_nonce_for_styles=(val); end # Returns a link tag for a favicon managed by the asset pipeline. @@ -1440,19 +1440,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#320 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:320 def favicon_link_tag(source = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#26 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -1501,7 +1501,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#449 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:449 def image_tag(source, options = T.unsafe(nil)); end # Returns an HTML script tag for each of the +sources+ provided. @@ -1588,7 +1588,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#115 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:115 def javascript_include_tag(*sources); end # Returns an HTML picture tag for the +sources+. If +sources+ is a string, @@ -1631,7 +1631,7 @@ module ActionView::Helpers::AssetTagHelper # picture_tag(user.profile_picture) # # => # - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#510 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:510 def picture_tag(*sources, &block); end # Returns a link tag that browsers can use to preload the +source+. @@ -1669,13 +1669,13 @@ module ActionView::Helpers::AssetTagHelper # preload_link_tag("/media/audio.ogg", nopush: true) # # => # - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#363 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:363 def preload_link_tag(source, options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#27 + # pkg:gem/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 + # pkg:gem/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. @@ -1731,7 +1731,7 @@ module ActionView::Helpers::AssetTagHelper # stylesheet_link_tag "style", nonce: true # # => # - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#207 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:207 def stylesheet_link_tag(*sources); end # Returns an HTML video tag for the +sources+. If +sources+ is a string, @@ -1783,66 +1783,66 @@ module ActionView::Helpers::AssetTagHelper # video_tag(user.intro_video) # # => # - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#580 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:580 def video_tag(*sources); end private - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#653 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:653 def check_for_image_tag_errors(options); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#644 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:644 def extract_dimensions(size); end # @yield [options] # - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#617 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:617 def multiple_sources_tag_builder(type, sources); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#634 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:634 def resolve_asset_source(asset_type, source, skip_pipeline); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#659 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:659 def resolve_link_as(extname, mime_type); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#673 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:673 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 + # pkg:gem/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 + # pkg:gem/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#29 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:29 def auto_include_nonce_for_scripts; end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#29 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:29 def auto_include_nonce_for_scripts=(val); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#30 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:30 def auto_include_nonce_for_styles; end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#30 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:30 def auto_include_nonce_for_styles=(val); end - # source://actionview//lib/action_view/helpers/asset_tag_helper.rb#26 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:27 def preload_links_header=(val); end end end @@ -1850,7 +1850,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#671 +# pkg:gem/actionview#lib/action_view/helpers/asset_tag_helper.rb:671 ActionView::Helpers::AssetTagHelper::MAX_HEADER_SIZE = T.let(T.unsafe(nil), Integer) # = Action View Asset URL \Helpers @@ -1967,7 +1967,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 +# pkg:gem/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 @@ -2035,7 +2035,7 @@ module ActionView::Helpers::AssetUrlHelper # # @raise [ArgumentError] # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#187 + # pkg:gem/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 @@ -2048,7 +2048,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 + # pkg:gem/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. @@ -2061,7 +2061,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 + # pkg:gem/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. @@ -2071,13 +2071,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 + # pkg:gem/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 + # pkg:gem/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, @@ -2086,14 +2086,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 + # pkg:gem/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 + # pkg:gem/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. @@ -2105,7 +2105,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 + # pkg:gem/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. @@ -2115,7 +2115,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 + # pkg:gem/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. @@ -2132,7 +2132,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 + # pkg:gem/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. @@ -2142,7 +2142,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 + # pkg:gem/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. @@ -2156,7 +2156,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 + # pkg:gem/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. @@ -2166,7 +2166,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 + # pkg:gem/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. @@ -2236,7 +2236,7 @@ module ActionView::Helpers::AssetUrlHelper # # @raise [ArgumentError] # - # source://actionview//lib/action_view/helpers/asset_url_helper.rb#219 + # pkg:gem/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. @@ -2250,7 +2250,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#433 + # pkg:gem/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. @@ -2263,7 +2263,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#458 + # pkg:gem/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. @@ -2281,7 +2281,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#381 + # pkg:gem/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. @@ -2296,7 +2296,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#324 + # pkg:gem/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. @@ -2311,7 +2311,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#351 + # pkg:gem/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. @@ -2325,14 +2325,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#407 + # pkg:gem/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#270 + # pkg:gem/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. @@ -2346,7 +2346,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 + # pkg:gem/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. @@ -2356,7 +2356,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 + # pkg:gem/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 @@ -2370,7 +2370,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#234 + # pkg:gem/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. @@ -2381,7 +2381,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#445 + # pkg:gem/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. @@ -2392,7 +2392,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#470 + # pkg:gem/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. @@ -2403,7 +2403,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#393 + # pkg:gem/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. @@ -2414,7 +2414,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#336 + # pkg:gem/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. @@ -2425,7 +2425,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#363 + # pkg:gem/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. @@ -2436,7 +2436,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#419 + # pkg:gem/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. @@ -2449,7 +2449,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 + # pkg:gem/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. @@ -2459,24 +2459,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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#6 +# pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:6 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). @@ -2568,15 +2568,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#96 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:96 def atom_feed(options = T.unsafe(nil), &block); end end -# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#127 +# pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:127 class ActionView::Helpers::AtomFeedHelper::AtomBuilder # @return [AtomBuilder] a new instance of AtomBuilder # - # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#130 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:130 def initialize(xml); end private @@ -2585,7 +2585,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#138 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:138 def method_missing(method, *arguments, &block); end # True if the method name matches one of the five elements defined @@ -2594,18 +2594,18 @@ class ActionView::Helpers::AtomFeedHelper::AtomBuilder # # @return [Boolean] # - # source://actionview//lib/action_view/helpers/atom_feed_helper.rb#153 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:153 def xhtml_block?(method, arguments); end end -# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#128 +# pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:128 ActionView::Helpers::AtomFeedHelper::AtomBuilder::XHTML_TAG_NAMES = T.let(T.unsafe(nil), Set) -# source://actionview//lib/action_view/helpers/atom_feed_helper.rb#161 +# pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:161 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#162 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:162 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. @@ -2618,18 +2618,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#180 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:180 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#167 + # pkg:gem/actionview#lib/action_view/helpers/atom_feed_helper.rb:167 def updated(date_or_time = T.unsafe(nil)); end end # = Action View Cache \Helpers # -# source://actionview//lib/action_view/helpers/cache_helper.rb#6 +# pkg:gem/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 @@ -2799,7 +2799,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#176 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:176 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 @@ -2808,7 +2808,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#248 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:248 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 @@ -2818,7 +2818,7 @@ module ActionView::Helpers::CacheHelper # <%= render project.topics %> # <% end %> # - # source://actionview//lib/action_view/helpers/cache_helper.rb#223 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:223 def cache_if(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end # Cache fragments of a view unless +condition+ is true @@ -2828,7 +2828,7 @@ module ActionView::Helpers::CacheHelper # <%= render project.topics %> # <% end %> # - # source://actionview//lib/action_view/helpers/cache_helper.rb#239 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:239 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. @@ -2841,10 +2841,10 @@ module ActionView::Helpers::CacheHelper # # @return [Boolean] # - # source://actionview//lib/action_view/helpers/cache_helper.rb#196 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:196 def caching?; end - # source://actionview//lib/action_view/helpers/cache_helper.rb#256 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:256 def digest_path_from_template(template); end # Raises UncacheableFragmentError when called from within a +cache+ block. @@ -2863,38 +2863,38 @@ module ActionView::Helpers::CacheHelper # # @raise [UncacheableFragmentError] # - # source://actionview//lib/action_view/helpers/cache_helper.rb#213 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:213 def uncacheable!; end private - # source://actionview//lib/action_view/helpers/cache_helper.rb#278 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:278 def fragment_for(name = T.unsafe(nil), options = T.unsafe(nil), &block); end - # source://actionview//lib/action_view/helpers/cache_helper.rb#267 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:267 def fragment_name_with_digest(name, digest_path); end - # source://actionview//lib/action_view/helpers/cache_helper.rb#288 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:288 def read_fragment_for(name, options); end - # source://actionview//lib/action_view/helpers/cache_helper.rb#292 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:292 def write_fragment_for(name, options, &block); end end -# source://actionview//lib/action_view/helpers/cache_helper.rb#297 +# pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:297 module ActionView::Helpers::CacheHelper::CachingRegistry extend ::ActionView::Helpers::CacheHelper::CachingRegistry # @return [Boolean] # - # source://actionview//lib/action_view/helpers/cache_helper.rb#300 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:300 def caching?; end - # source://actionview//lib/action_view/helpers/cache_helper.rb#304 + # pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:304 def track_caching; end end -# source://actionview//lib/action_view/helpers/cache_helper.rb#7 +# pkg:gem/actionview#lib/action_view/helpers/cache_helper.rb:7 class ActionView::Helpers::CacheHelper::UncacheableFragmentError < ::StandardError; end # = Action View Capture \Helpers @@ -2908,7 +2908,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 +# pkg:gem/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. @@ -2939,7 +2939,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 + # pkg:gem/actionview#lib/action_view/helpers/capture_helper.rb:47 def capture(*_arg0, **_arg1, &block); end # Calling content_for stores a block of markup in an identifier for later use. @@ -3047,7 +3047,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 + # pkg:gem/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. @@ -3068,7 +3068,7 @@ module ActionView::Helpers::CaptureHelper # # @return [Boolean] # - # source://actionview//lib/action_view/helpers/capture_helper.rb#215 + # pkg:gem/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 @@ -3079,32 +3079,32 @@ module ActionView::Helpers::CaptureHelper # # See ActionController::Streaming for more information. # - # source://actionview//lib/action_view/helpers/capture_helper.rb#194 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/content_exfiltration_prevention_helper.rb:6 def prepend_content_exfiltration_prevention=(val); end end end @@ -3122,7 +3122,7 @@ end # # - # source://actionview//lib/action_view/helpers/form_helper.rb#1280 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1280 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 @@ -6887,7 +6887,7 @@ module ActionView::Helpers::FormHelper # text_field(:snippet, :code, size: 20, class: 'code_input') # # => # - # source://actionview//lib/action_view/helpers/form_helper.rb#1175 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1175 def text_field(object_name, method, options = T.unsafe(nil)); end # Returns a textarea opening and closing tag set tailored for accessing a specified attribute (identified by +method+) @@ -6915,7 +6915,7 @@ module ActionView::Helpers::FormHelper # # #{@entry.body} # # # - # source://actionview//lib/action_view/helpers/form_helper.rb#1277 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1277 def textarea(object_name, method, options = T.unsafe(nil)); end # Returns a text_field of type "time". @@ -6953,7 +6953,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#1479 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1479 def time_field(object_name, method, options = T.unsafe(nil)); end # Returns a text_field of type "url". @@ -6961,7 +6961,7 @@ module ActionView::Helpers::FormHelper # url_field("user", "homepage") # # => # - # source://actionview//lib/action_view/helpers/form_helper.rb#1559 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1559 def url_field(object_name, method, options = T.unsafe(nil)); end # Returns a text_field of type "week". @@ -6977,40 +6977,40 @@ module ActionView::Helpers::FormHelper # week_field("user", "born_on") # # => # - # source://actionview//lib/action_view/helpers/form_helper.rb#1550 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1550 def week_field(object_name, method, options = T.unsafe(nil)); end private - # source://actionview//lib/action_view/helpers/form_helper.rb#465 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:465 def apply_form_for_options!(object, options); end - # source://actionview//lib/action_view/helpers/form_helper.rb#1624 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1624 def default_form_builder_class; end - # source://actionview//lib/action_view/helpers/form_helper.rb#1595 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1595 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#1610 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:1610 def instantiate_builder(record_name, record_object, options); end class << self - # source://actionview//lib/action_view/helpers/form_helper.rb#481 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:481 def form_with_generates_ids; end - # source://actionview//lib/action_view/helpers/form_helper.rb#481 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:481 def form_with_generates_ids=(val); end - # source://actionview//lib/action_view/helpers/form_helper.rb#479 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:479 def form_with_generates_remote_forms; end - # source://actionview//lib/action_view/helpers/form_helper.rb#479 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:479 def form_with_generates_remote_forms=(val); end - # source://actionview//lib/action_view/helpers/form_helper.rb#483 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:483 def multiple_file_field_include_hidden; end - # source://actionview//lib/action_view/helpers/form_helper.rb#483 + # pkg:gem/actionview#lib/action_view/helpers/form_helper.rb:483 def multiple_file_field_include_hidden=(val); end end end @@ -7098,7 +7098,7 @@ end # # # -# source://actionview//lib/action_view/helpers/form_options_helper.rb#93 +# pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:93 module ActionView::Helpers::FormOptionsHelper include ::ActionView::Helpers::SanitizeHelper include ::ActionView::Helpers::CaptureHelper @@ -7188,7 +7188,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#787 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:787 def collection_check_boxes(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end # Returns check box tags for the collection of existing return values of @@ -7272,7 +7272,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#784 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:784 def collection_checkboxes(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 @@ -7355,7 +7355,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#700 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:700 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#198 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:198 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#257 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:257 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 @@ -7523,7 +7523,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#461 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:461 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 @@ -7635,7 +7635,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#357 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:357 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 @@ -7663,7 +7663,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#400 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:400 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. @@ -7728,7 +7728,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#158 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:158 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 @@ -7751,7 +7751,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#580 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:580 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 @@ -7785,7 +7785,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#291 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:291 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. @@ -7801,38 +7801,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#613 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:613 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#297 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:297 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#812 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:812 def extract_selected_and_disabled(selected); end - # source://actionview//lib/action_view/helpers/form_options_helper.rb#823 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:823 def extract_values_from_collection(collection, value_method, selected); end - # source://actionview//lib/action_view/helpers/form_options_helper.rb#790 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:790 def option_html_attributes(element); end - # source://actionview//lib/action_view/helpers/form_options_helper.rb#798 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:798 def option_text_and_value(option); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/form_options_helper.rb#808 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:808 def option_value_selected?(value, selected); end - # source://actionview//lib/action_view/helpers/form_options_helper.rb#837 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:837 def prompt_text(prompt); end - # source://actionview//lib/action_view/helpers/form_options_helper.rb#833 + # pkg:gem/actionview#lib/action_view/helpers/form_options_helper.rb:833 def value_for_collection(item, value); end end @@ -7844,7 +7844,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#18 +# pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:18 module ActionView::Helpers::FormTagHelper include ::ActionView::Helpers::ContentExfiltrationPreventionHelper extend ::ActiveSupport::Concern @@ -7889,7 +7889,7 @@ module ActionView::Helpers::FormTagHelper # # Ask me! # # # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#571 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:571 def button_tag(content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end # :call-seq: @@ -7921,7 +7921,7 @@ module ActionView::Helpers::FormTagHelper # checkbox_tag 'eula', 'accepted', false, disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#469 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:469 def check_box_tag(name, *args); end # :call-seq: @@ -7953,7 +7953,7 @@ module ActionView::Helpers::FormTagHelper # checkbox_tag 'eula', 'accepted', false, disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#459 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:459 def checkbox_tag(name, *args); end # Creates a text field of type "color". @@ -7976,7 +7976,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#671 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:671 def color_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "date". @@ -7999,7 +7999,7 @@ module ActionView::Helpers::FormTagHelper # date_field_tag 'date', '2014-12-31', class: 'special_input', disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#741 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:741 def date_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "datetime-local". @@ -8027,7 +8027,7 @@ module ActionView::Helpers::FormTagHelper # datetime_field_tag 'datetime', '2014-01-01T01:01', class: 'special_input', disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#800 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:800 def datetime_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "datetime-local". @@ -8055,13 +8055,13 @@ module ActionView::Helpers::FormTagHelper # datetime_field_tag 'datetime', '2014-01-01T01:01', class: 'special_input', disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#804 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:804 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#28 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:28 def default_enforce_utf8; end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#28 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:28 def default_enforce_utf8=(val); end # Creates a text field of type "email". @@ -8084,13 +8084,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#902 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:902 def email_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#25 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:25 def embed_authenticity_token_in_remote_forms; end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#25 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:25 def embed_authenticity_token_in_remote_forms=(val); end # Generate an HTML id attribute value for the given name and @@ -8109,7 +8109,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#101 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:101 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 @@ -8124,7 +8124,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#131 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:131 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. @@ -8148,7 +8148,7 @@ module ActionView::Helpers::FormTagHelper # <% end %> # # =>

# - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#643 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:643 def field_set_tag(legend = T.unsafe(nil), options = T.unsafe(nil), &block); end # Creates a field set for grouping HTML form elements. @@ -8172,7 +8172,7 @@ module ActionView::Helpers::FormTagHelper # <% end %> # # =>

# - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#650 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:650 def fieldset_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 @@ -8211,7 +8211,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#350 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:350 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 @@ -8261,7 +8261,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#77 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:77 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 @@ -8281,7 +8281,7 @@ module ActionView::Helpers::FormTagHelper # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#307 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:307 def hidden_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Displays an image which when clicked will submit the form. @@ -8315,7 +8315,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#617 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:617 def image_submit_tag(source, options = T.unsafe(nil)); end # Creates a label element. Accepts a block. @@ -8333,7 +8333,7 @@ module ActionView::Helpers::FormTagHelper # label_tag 'name', nil, class: 'small_label' # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#280 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:280 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". @@ -8360,7 +8360,7 @@ module ActionView::Helpers::FormTagHelper # month_field_tag 'month', '2014-01', class: 'special_input', disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#829 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:829 def month_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a number field. @@ -8408,7 +8408,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#950 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:950 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. @@ -8441,7 +8441,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#383 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:383 def password_field_tag(name = T.unsafe(nil), value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "tel". @@ -8464,7 +8464,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#720 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:720 def phone_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # :call-seq: @@ -8492,7 +8492,7 @@ module ActionView::Helpers::FormTagHelper # radio_button_tag 'color', "green", true, class: "color_input" # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#496 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:496 def radio_button_tag(name, value, *args); end # Creates a range form element. @@ -8512,7 +8512,7 @@ module ActionView::Helpers::FormTagHelper # range_field_tag 'quantity', min: 1, max: 10, step: 2 # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#694 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:694 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 @@ -8594,7 +8594,7 @@ module ActionView::Helpers::FormTagHelper # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#200 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:200 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. @@ -8620,7 +8620,7 @@ module ActionView::Helpers::FormTagHelper # submit_tag "Edit", class: "edit_button" # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#530 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:530 def submit_tag(value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "tel". @@ -8643,7 +8643,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#717 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:717 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. @@ -8676,7 +8676,7 @@ module ActionView::Helpers::FormTagHelper # textarea_tag 'comment', nil, class: 'comment_input' # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#428 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:428 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 @@ -8716,7 +8716,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#262 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:262 def text_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. @@ -8749,7 +8749,7 @@ module ActionView::Helpers::FormTagHelper # textarea_tag 'comment', nil, class: 'comment_input' # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#416 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:416 def textarea_tag(name, content = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "time". @@ -8780,7 +8780,7 @@ module ActionView::Helpers::FormTagHelper # time_field_tag 'time', '01:01', min: '00:00', max: '23:59', step: 1 # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#772 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:772 def time_field_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end # Creates a text field of type "url". @@ -8803,13 +8803,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#879 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:879 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#981 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:981 def utf8_enforcer_tag; end # Creates a text field of type "week". @@ -8836,57 +8836,57 @@ module ActionView::Helpers::FormTagHelper # week_field_tag 'week', '2014-W01', class: 'special_input', disabled: true # # => # - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#856 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:856 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#1083 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:1083 def convert_direct_upload_option_to_url(options); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1021 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:1021 def extra_tags_for_form(html_options); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1051 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:1051 def form_tag_html(html_options); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1057 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:1057 def form_tag_with_body(html_options, content); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#994 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:994 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#1064 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:1064 def sanitize_to_id(name); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#1068 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:1068 def set_default_disable_with(value, tag_options); end class << self - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#28 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:28 def default_enforce_utf8; end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#28 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:28 def default_enforce_utf8=(val); end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#25 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:25 def embed_authenticity_token_in_remote_forms; end - # source://actionview//lib/action_view/helpers/form_tag_helper.rb#25 + # pkg:gem/actionview#lib/action_view/helpers/form_tag_helper.rb:25 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 +# pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:6 module ActionView::Helpers::JavaScriptHelper - # source://actionview//lib/action_view/helpers/javascript_helper.rb#7 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:7 def auto_include_nonce; end - # source://actionview//lib/action_view/helpers/javascript_helper.rb#7 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:7 def auto_include_nonce=(val); end # Escapes carriage returns and single and double quotes for JavaScript segments. @@ -8896,7 +8896,7 @@ module ActionView::Helpers::JavaScriptHelper # # $('some_element').replaceWith('<%= j render 'some/element_template' %>'); # - # source://actionview//lib/action_view/helpers/javascript_helper.rb#30 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:30 def escape_javascript(javascript); end # Escapes carriage returns and single and double quotes for JavaScript segments. @@ -8906,10 +8906,10 @@ module ActionView::Helpers::JavaScriptHelper # # $('some_element').replaceWith('<%= j render 'some/element_template' %>'); # - # source://actionview//lib/action_view/helpers/javascript_helper.rb#40 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:40 def j(javascript); end - # source://actionview//lib/action_view/helpers/javascript_helper.rb#95 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:95 def javascript_cdata_section(content); end # Returns a JavaScript tag with the +content+ inside. Example: @@ -8948,19 +8948,19 @@ module ActionView::Helpers::JavaScriptHelper # alert('All is good') # <% end -%> # - # source://actionview//lib/action_view/helpers/javascript_helper.rb#77 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:77 def javascript_tag(content_or_options_with_block = T.unsafe(nil), html_options = T.unsafe(nil), &block); end class << self - # source://actionview//lib/action_view/helpers/javascript_helper.rb#7 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:7 def auto_include_nonce; end - # source://actionview//lib/action_view/helpers/javascript_helper.rb#7 + # pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:7 def auto_include_nonce=(val); end end end -# source://actionview//lib/action_view/helpers/javascript_helper.rb#9 +# pkg:gem/actionview#lib/action_view/helpers/javascript_helper.rb:9 ActionView::Helpers::JavaScriptHelper::JS_ESCAPE_MAP = T.let(T.unsafe(nil), Hash) # = Action View Number \Helpers @@ -8972,7 +8972,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 +# pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:17 module ActionView::Helpers::NumberHelper # Delegates to ActiveSupport::NumberHelper#number_to_currency. # @@ -8984,7 +8984,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#55 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:55 def number_to_currency(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_human. @@ -8997,7 +8997,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#125 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:125 def number_to_human(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_human_size. @@ -9010,7 +9010,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#111 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:111 def number_to_human_size(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_percentage. @@ -9023,7 +9023,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#69 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:69 def number_to_percentage(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_phone. @@ -9036,7 +9036,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#37 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:37 def number_to_phone(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_delimited. @@ -9049,7 +9049,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#83 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:83 def number_with_delimiter(number, options = T.unsafe(nil)); end # Delegates to ActiveSupport::NumberHelper#number_to_rounded. @@ -9062,62 +9062,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#97 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:97 def number_with_precision(number, options = T.unsafe(nil)); end private - # source://actionview//lib/action_view/helpers/number_helper.rb#130 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:130 def delegate_number_helper_method(method, number, options); end - # source://actionview//lib/action_view/helpers/number_helper.rb#149 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:149 def escape_units(units); end - # source://actionview//lib/action_view/helpers/number_helper.rb#139 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:139 def escape_unsafe_options(options); end # @raise [InvalidNumberError] # - # source://actionview//lib/action_view/helpers/number_helper.rb#172 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:172 def parse_float(number, raise_error); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/number_helper.rb#168 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:168 def valid_float?(number); end # @raise [InvalidNumberError] # - # source://actionview//lib/action_view/helpers/number_helper.rb#155 + # pkg:gem/actionview#lib/action_view/helpers/number_helper.rb:155 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -9129,7 +9129,7 @@ module ActionView::Helpers::OutputSafetyHelper # raw @user.name # # => 'Jimmy Tables' # - # source://actionview//lib/action_view/helpers/output_safety_helper.rb#18 + # pkg:gem/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 @@ -9143,14 +9143,14 @@ module ActionView::Helpers::OutputSafetyHelper # safe_join([tag.p("foo"), tag.p("bar")], tag.br) # # => "

foo


bar

" # - # source://actionview//lib/action_view/helpers/output_safety_helper.rb#33 + # pkg:gem/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. # - # source://actionview//lib/action_view/helpers/output_safety_helper.rb#42 + # pkg:gem/actionview#lib/action_view/helpers/output_safety_helper.rb:42 def to_sentence(array, options = T.unsafe(nil)); end end @@ -9160,7 +9160,7 @@ end # 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#12 +# pkg:gem/actionview#lib/action_view/helpers/rendering_helper.rb:12 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 @@ -9212,7 +9212,7 @@ module ActionView::Helpers::RenderingHelper # Hello David # # - # source://actionview//lib/action_view/helpers/rendering_helper.rb#207 + # pkg:gem/actionview#lib/action_view/helpers/rendering_helper.rb:207 def _layout_for(*args, &block); end # Renders a template and returns the result. @@ -9330,7 +9330,7 @@ module ActionView::Helpers::RenderingHelper # <%= render template: "posts/content", handlers: [:builder] %> # # => renders app/views/posts/content.html.builder # - # source://actionview//lib/action_view/helpers/rendering_helper.rb#138 + # pkg:gem/actionview#lib/action_view/helpers/rendering_helper.rb:138 def render(options = T.unsafe(nil), locals = T.unsafe(nil), &block); end end @@ -9339,7 +9339,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 +# pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:11 module ActionView::Helpers::SanitizeHelper extend ::ActiveSupport::Concern @@ -9447,18 +9447,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#117 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:117 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#122 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:122 def sanitize_css(style); end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:12 def sanitizer_vendor; end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 + # pkg:gem/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. @@ -9475,7 +9475,7 @@ module ActionView::Helpers::SanitizeHelper # strip_links('<malformed & link') # # => <malformed & link # - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#156 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:156 def strip_links(html); end # Strips all HTML tags from +html+, including comments and special characters. @@ -9492,19 +9492,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#139 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:139 def strip_tags(html); end class << self - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:12 def sanitizer_vendor; end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#12 + # pkg:gem/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#160 +# pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:160 module ActionView::Helpers::SanitizeHelper::ClassMethods # Gets the Rails::HTML::FullSanitizer instance used by +strip_tags+. Replace with # any object that responds to +sanitize+. @@ -9513,14 +9513,14 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.full_sanitizer = MySpecialSanitizer.new # end # - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#181 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:181 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#161 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:161 def full_sanitizer=(_arg0); end # Gets the Rails::HTML::LinkSanitizer instance used by +strip_links+. @@ -9530,14 +9530,14 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.link_sanitizer = MySpecialSanitizer.new # end # - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#191 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:191 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#161 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:161 def link_sanitizer=(_arg0); end # Gets the Rails::HTML::SafeListSanitizer instance used by sanitize and +sanitize_css+. @@ -9547,23 +9547,23 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.safe_list_sanitizer = MySpecialSanitizer.new # end # - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#201 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:201 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#161 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:161 def safe_list_sanitizer=(_arg0); end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#171 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:171 def sanitized_allowed_attributes; end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#167 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:167 def sanitized_allowed_tags; end - # source://actionview//lib/action_view/helpers/sanitize_helper.rb#163 + # pkg:gem/actionview#lib/action_view/helpers/sanitize_helper.rb:163 def sanitizer_vendor; end end @@ -9572,7 +9572,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#16 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:16 module ActionView::Helpers::TagHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -9591,7 +9591,7 @@ module ActionView::Helpers::TagHelper # cdata_section("hello]]>world") # # => world]]> # - # source://actionview//lib/action_view/helpers/tag_helper.rb#555 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:555 def cdata_section(content); end # Returns a string of tokens built from +args+. @@ -9606,7 +9606,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#540 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:540 def class_names(*args); end # Returns an HTML block tag of type +name+ surrounding the +content+. Add @@ -9638,7 +9638,7 @@ module ActionView::Helpers::TagHelper # <% end -%> # # =>
Hello world!
# - # source://actionview//lib/action_view/helpers/tag_helper.rb#513 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:513 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. @@ -9649,7 +9649,7 @@ module ActionView::Helpers::TagHelper # escape_once("<< Accept & Checkout") # # => "<< Accept & Checkout" # - # source://actionview//lib/action_view/helpers/tag_helper.rb#567 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:567 def escape_once(html); end # Returns an HTML tag. @@ -9799,7 +9799,7 @@ module ActionView::Helpers::TagHelper # tag("div", class: { highlight: current_user.admin? }) # # =>
# - # source://actionview//lib/action_view/helpers/tag_helper.rb#476 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:476 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+. @@ -9814,80 +9814,80 @@ module ActionView::Helpers::TagHelper # token_list(nil, false, 123, "", "foo", { bar: true }) # # => "123 foo bar" # - # source://actionview//lib/action_view/helpers/tag_helper.rb#535 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:535 def token_list(*args); end private - # source://actionview//lib/action_view/helpers/tag_helper.rb#577 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:577 def build_tag_values(*args); end # @raise [ArgumentError] # - # source://actionview//lib/action_view/helpers/tag_helper.rb#572 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:572 def ensure_valid_html5_tag_name(name); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#597 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:597 def tag_builder; end class << self - # source://actionview//lib/action_view/helpers/tag_helper.rb#595 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:595 def build_tag_values(*args); end # @raise [ArgumentError] # - # source://actionview//lib/action_view/helpers/tag_helper.rb#575 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:575 def ensure_valid_html5_tag_name(name); end end end -# source://actionview//lib/action_view/helpers/tag_helper.rb#33 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:33 ActionView::Helpers::TagHelper::ARIA_PREFIXES = T.let(T.unsafe(nil), Set) -# source://actionview//lib/action_view/helpers/tag_helper.rb#20 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:20 ActionView::Helpers::TagHelper::BOOLEAN_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://actionview//lib/action_view/helpers/tag_helper.rb#34 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:34 ActionView::Helpers::TagHelper::DATA_PREFIXES = T.let(T.unsafe(nil), Set) -# source://actionview//lib/action_view/helpers/tag_helper.rb#42 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:42 ActionView::Helpers::TagHelper::PRE_CONTENT_STRINGS = T.let(T.unsafe(nil), Hash) -# source://actionview//lib/action_view/helpers/tag_helper.rb#36 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:36 ActionView::Helpers::TagHelper::TAG_TYPES = T.let(T.unsafe(nil), Hash) -# source://actionview//lib/action_view/helpers/tag_helper.rb#46 +# pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:46 class ActionView::Helpers::TagHelper::TagBuilder # @return [TagBuilder] a new instance of TagBuilder # - # source://actionview//lib/action_view/helpers/tag_helper.rb#213 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:213 def initialize(view_context); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def a(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def abbr(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def address(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def animate(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def animate_motion(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def animate_transform(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def area(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def article(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def aside(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end # Transforms a Hash into HTML Attributes, ready to be interpolated into @@ -9896,415 +9896,415 @@ class ActionView::Helpers::TagHelper::TagBuilder # > # # => # - # source://actionview//lib/action_view/helpers/tag_helper.rb#222 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:222 def attributes(attributes); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def audio(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def b(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def base(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def bdi(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def bdo(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def blockquote(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def body(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def br(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def button(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def canvas(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def caption(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def circle(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def cite(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def code(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def col(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def colgroup(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#226 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:226 def content_tag_string(name, content, options, escape = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def data(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def datalist(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def dd(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def del(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def details(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def dfn(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def dialog(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def div(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def dl(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def dt(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def ellipse(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def em(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def embed(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def fieldset(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def figcaption(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def figure(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def footer(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def form(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def h1(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def h2(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def h3(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def h4(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def h5(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def h6(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def head(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def header(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def hgroup(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def hr(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def html(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def i(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def iframe(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def img(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def input(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def ins(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def kbd(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def keygen(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def label(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def legend(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def li(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def line(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def link(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def main(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def map(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def mark(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def menu(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def meta(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def meter(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def nav(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def noscript(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def object(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def ol(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def optgroup(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def option(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def output(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def p(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def path(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def picture(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def polygon(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def polyline(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def portal(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def pre(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def progress(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def q(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def rect(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def rp(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def rt(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def ruby(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def s(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def samp(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def script(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def search(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def section(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def select(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def set(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def slot(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def small(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def source(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def span(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def stop(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def strong(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def style(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def sub(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def summary(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def sup(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def table(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#235 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:235 def tag_options(options, escape = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def tbody(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def td(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def template(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def textarea(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def tfoot(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def th(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def thead(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def time(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def title(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def tr(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def track(escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def u(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def ul(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def use(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def var(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def video(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def view(content = T.unsafe(nil), escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#80 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:80 def wbr(escape: T.unsafe(nil), **options, &block); end private - # source://actionview//lib/action_view/helpers/tag_helper.rb#288 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:288 def boolean_tag_option(key); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#321 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:321 def method_missing(called, *args, escape: T.unsafe(nil), **options, &block); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#309 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:309 def prefix_tag_option(prefix, key, value, escape); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/tag_helper.rb#317 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:317 def respond_to_missing?(*args); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#284 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:284 def self_closing_tag_string(name, options, escape = T.unsafe(nil), tag_suffix = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#292 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:292 def tag_option(key, value, escape); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#278 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:278 def tag_string(name, content = T.unsafe(nil), options, escape: T.unsafe(nil), &block); end class << self - # source://actionview//lib/action_view/helpers/tag_helper.rb#47 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:47 def define_element(name, code_generator:, method_name: T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#67 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:67 def define_self_closing_element(name, code_generator:, method_name: T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tag_helper.rb#58 + # pkg:gem/actionview#lib/action_view/helpers/tag_helper.rb:58 def define_void_element(name, code_generator:, method_name: T.unsafe(nil)); end end end -# source://actionview//lib/action_view/helpers/tags.rb#5 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:6 class ActionView::Helpers::Tags::Base include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -10320,133 +10320,133 @@ class ActionView::Helpers::Tags::Base # @return [Base] a new instance of Base # - # source://actionview//lib/action_view/helpers/tags/base.rb#11 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:31 def render; end private - # source://actionview//lib/action_view/helpers/tags/base.rb#97 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:97 def add_default_name_and_field(options, field = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tags/base.rb#83 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:83 def add_default_name_and_field_for_value(tag_value, options, field = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tags/base.rb#108 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:108 def add_default_name_and_id(options, field = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tags/base.rb#95 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:95 def add_default_name_and_id_for_value(tag_value, options, field = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/tags/base.rb#134 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:134 def generate_ids?; end - # source://actionview//lib/action_view/helpers/tags/base.rb#126 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:126 def name_and_id_index(options); end - # source://actionview//lib/action_view/helpers/tags/base.rb#74 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:63 def retrieve_object(object); end - # source://actionview//lib/action_view/helpers/tags/base.rb#118 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:118 def sanitized_method_name; end - # source://actionview//lib/action_view/helpers/tags/base.rb#122 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:122 def sanitized_value(value); end - # source://actionview//lib/action_view/helpers/tags/base.rb#114 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:114 def tag_id(index = T.unsafe(nil), namespace = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tags/base.rb#110 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:110 def tag_name(multiple = T.unsafe(nil), index = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tags/base.rb#36 + # pkg:gem/actionview#lib/action_view/helpers/tags/base.rb:36 def value; end - # source://actionview//lib/action_view/helpers/tags/base.rb#46 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#22 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_check_boxes.rb:22 def render(&block); end private - # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#31 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_check_boxes.rb:31 def hidden_field_name; end - # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#27 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_check_boxes.rb:27 def render_component(builder); end end -# source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#12 +# pkg:gem/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#19 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_check_boxes.rb:19 def check_box(extra_html_options = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/tags/collection_check_boxes.rb#13 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_check_boxes.rb:13 def checkbox(extra_html_options = T.unsafe(nil)); end end -# source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#6 +# pkg:gem/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 + # pkg:gem/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 @@ -10454,311 +10454,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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_helpers.rb:107 def hidden_field; end - # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#113 + # pkg:gem/actionview#lib/action_view/helpers/tags/collection_helpers.rb:113 def hidden_field_name; end - # source://actionview//lib/action_view/helpers/tags/collection_helpers.rb#40 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/hidden_field.rb:7 def render; end end -# source://actionview//lib/action_view/helpers/tags/label.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/label.rb:48 def render(&block); end private - # source://actionview//lib/action_view/helpers/tags/label.rb#71 + # pkg:gem/actionview#lib/action_view/helpers/tags/label.rb:71 def render_component(builder); end end -# source://actionview//lib/action_view/helpers/tags/label.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/label.rb:8 def object; end - # source://actionview//lib/action_view/helpers/tags/label.rb#29 + # pkg:gem/actionview#lib/action_view/helpers/tags/label.rb:29 def to_s; end - # source://actionview//lib/action_view/helpers/tags/label.rb#18 + # pkg:gem/actionview#lib/action_view/helpers/tags/label.rb:18 def translation; end end -# source://actionview//lib/action_view/helpers/tags/month_field.rb#6 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/password_field.rb:7 def render; end end -# source://actionview//lib/action_view/helpers/tags/placeholderable.rb#6 +# pkg:gem/actionview#lib/action_view/helpers/tags/placeholderable.rb:6 module ActionView::Helpers::Tags::Placeholderable - # source://actionview//lib/action_view/helpers/tags/placeholderable.rb#7 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/search_field.rb:7 def render; end end -# source://actionview//lib/action_view/helpers/tags/select.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/select.rb:19 def render; end private @@ -10770,146 +10770,146 @@ class ActionView::Helpers::Tags::Select < ::ActionView::Helpers::Tags::Base # # @return [Boolean] # - # source://actionview//lib/action_view/helpers/tags/select.rb#39 + # pkg:gem/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 +# pkg:gem/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#38 + # pkg:gem/actionview#lib/action_view/helpers/tags/select_renderer.rb:38 def add_options(option_tags, options, value = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/tags/select_renderer.rb#33 + # pkg:gem/actionview#lib/action_view/helpers/tags/select_renderer.rb:33 def placeholder_required?(html_options); end - # source://actionview//lib/action_view/helpers/tags/select_renderer.rb#8 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/translator.rb:14 def translate; end private - # source://actionview//lib/action_view/helpers/tags/translator.rb#31 + # pkg:gem/actionview#lib/action_view/helpers/tags/translator.rb:31 def human_attribute_name; end - # source://actionview//lib/action_view/helpers/tags/translator.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/translator.rb:20 def scope; end end -# source://actionview//lib/action_view/helpers/tags/url_field.rb#6 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/tags/weekday_select.rb:16 def render; end end @@ -10938,7 +10938,7 @@ end # simple_format h('Example') # # => "

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

" # -# source://actionview//lib/action_view/helpers/text_helper.rb#36 +# pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:36 module ActionView::Helpers::TextHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -10968,7 +10968,7 @@ module ActionView::Helpers::TextHelper # <%= link_to "Sign In", action: :sign_in %> # <% end %> # - # source://actionview//lib/action_view/helpers/text_helper.rb#63 + # pkg:gem/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 @@ -10983,7 +10983,7 @@ module ActionView::Helpers::TextHelper #
# <% end %> # - # source://actionview//lib/action_view/helpers/text_helper.rb#461 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:461 def current_cycle(name = T.unsafe(nil)); end # Creates a Cycle object whose +to_s+ method cycles through elements of an @@ -11026,7 +11026,7 @@ module ActionView::Helpers::TextHelper # # <% end %> # - # source://actionview//lib/action_view/helpers/text_helper.rb#437 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:437 def cycle(first_value, *values); end # Extracts the first occurrence of +phrase+ plus surrounding text from @@ -11069,7 +11069,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 + # pkg:gem/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 @@ -11114,7 +11114,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 + # pkg:gem/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 @@ -11141,7 +11141,7 @@ module ActionView::Helpers::TextHelper # pluralize(2, 'Person', locale: :de) # # => "2 Personen" # - # source://actionview//lib/action_view/helpers/text_helper.rb#297 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:297 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 @@ -11163,10 +11163,10 @@ module ActionView::Helpers::TextHelper # <% end %> # # - # source://actionview//lib/action_view/helpers/text_helper.rb#484 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:484 def reset_cycle(name = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/text_helper.rb#67 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:67 def safe_concat(string); end # Returns +text+ transformed into HTML using simple formatting rules. @@ -11210,7 +11210,7 @@ module ActionView::Helpers::TextHelper # simple_format("Continue", {}, { sanitize_options: { attributes: %w[target href] } }) # # => "

Continue

" # - # source://actionview//lib/action_view/helpers/text_helper.rb#383 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:383 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+ @@ -11265,7 +11265,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 + # pkg:gem/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 @@ -11289,64 +11289,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#327 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:327 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#547 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:547 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#529 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:529 def get_cycle(name); end - # source://actionview//lib/action_view/helpers/text_helper.rb#534 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:534 def set_cycle(name, cycle_object); end - # source://actionview//lib/action_view/helpers/text_helper.rb#539 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:539 def split_paragraphs(text); end end -# source://actionview//lib/action_view/helpers/text_helper.rb#489 +# pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:489 class ActionView::Helpers::TextHelper::Cycle # @return [Cycle] a new instance of Cycle # - # source://actionview//lib/action_view/helpers/text_helper.rb#492 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:492 def initialize(first_value, *values); end - # source://actionview//lib/action_view/helpers/text_helper.rb#501 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:501 def current_value; end - # source://actionview//lib/action_view/helpers/text_helper.rb#497 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:497 def reset; end - # source://actionview//lib/action_view/helpers/text_helper.rb#505 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:505 def to_s; end # Returns the value of attribute values. # - # source://actionview//lib/action_view/helpers/text_helper.rb#490 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:490 def values; end private - # source://actionview//lib/action_view/helpers/text_helper.rb#512 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:512 def next_index; end - # source://actionview//lib/action_view/helpers/text_helper.rb#516 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:516 def previous_index; end - # source://actionview//lib/action_view/helpers/text_helper.rb#520 + # pkg:gem/actionview#lib/action_view/helpers/text_helper.rb:520 def step_index(n); end end # = Action View Translation \Helpers # -# source://actionview//lib/action_view/helpers/translation_helper.rb#9 +# pkg:gem/actionview#lib/action_view/helpers/translation_helper.rb:9 module ActionView::Helpers::TranslationHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -11358,7 +11358,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#119 + # pkg:gem/actionview#lib/action_view/helpers/translation_helper.rb:119 def l(object, **options); end # Delegates to I18n.localize with no additional functionality. @@ -11366,7 +11366,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 + # pkg:gem/actionview#lib/action_view/helpers/translation_helper.rb:116 def localize(object, **options); end # Delegates to I18n#translate but also performs three additional @@ -11421,7 +11421,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#110 + # pkg:gem/actionview#lib/action_view/helpers/translation_helper.rb:110 def t(key, **options); end # Delegates to I18n#translate but also performs three additional @@ -11476,30 +11476,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/helpers/translation_helper.rb:125 ActionView::Helpers::TranslationHelper::NO_DEFAULT = T.let(T.unsafe(nil), Array) # = Action View URL \Helpers @@ -11509,7 +11509,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 +# pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:17 module ActionView::Helpers::UrlHelper include ::ActionView::Helpers::CaptureHelper include ::ActionView::Helpers::OutputSafetyHelper @@ -11605,13 +11605,13 @@ module ActionView::Helpers::UrlHelper # # # # " # - # source://actionview//lib/action_view/helpers/url_helper.rb#296 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:296 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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:35 def button_to_generates_button_tag=(val); end # True if the current request URI was generated by the given +options+. @@ -11671,7 +11671,7 @@ module ActionView::Helpers::UrlHelper # # @return [Boolean] # - # source://actionview//lib/action_view/helpers/url_helper.rb#559 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:559 def current_page?(options = T.unsafe(nil), check_parameters: T.unsafe(nil), method: T.unsafe(nil), **options_as_kwargs); end # Creates an anchor element of the given +name+ using a URL created by the set of +options+. @@ -11806,7 +11806,7 @@ module ActionView::Helpers::UrlHelper # link_to "Visit Other Site", "https://rubyonrails.org/", data: { turbo_confirm: "Are you sure?" } # # => Visit Other Site # - # source://actionview//lib/action_view/helpers/url_helper.rb#198 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:198 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 @@ -11829,7 +11829,7 @@ module ActionView::Helpers::UrlHelper # # If they are logged in... # # => my_username # - # source://actionview//lib/action_view/helpers/url_helper.rb#438 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:438 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 @@ -11853,7 +11853,7 @@ module ActionView::Helpers::UrlHelper # # If not... # # => Reply # - # source://actionview//lib/action_view/helpers/url_helper.rb#415 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:415 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 @@ -11895,7 +11895,7 @@ module ActionView::Helpers::UrlHelper # end # %> # - # source://actionview//lib/action_view/helpers/url_helper.rb#391 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:391 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 @@ -11937,7 +11937,7 @@ module ActionView::Helpers::UrlHelper # Email me: me@domain.com # # - # source://actionview//lib/action_view/helpers/url_helper.rb#488 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:488 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 @@ -11976,7 +11976,7 @@ module ActionView::Helpers::UrlHelper # Phone me: # # - # source://actionview//lib/action_view/helpers/url_helper.rb#693 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:693 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 @@ -12020,45 +12020,45 @@ module ActionView::Helpers::UrlHelper # Text me: # # - # source://actionview//lib/action_view/helpers/url_helper.rb#642 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:642 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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:50 def _back_url; end - # source://actionview//lib/action_view/helpers/url_helper.rb#55 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:55 def _filtered_referrer; end - # source://actionview//lib/action_view/helpers/url_helper.rb#736 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:736 def add_method_to_attributes!(html_options, method); end - # source://actionview//lib/action_view/helpers/url_helper.rb#707 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:707 def convert_options_to_data_attributes(options, html_options); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/url_helper.rb#730 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:730 def link_to_remote_options?(options); end - # source://actionview//lib/action_view/helpers/url_helper.rb#747 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:747 def method_for_options(options); end # @return [Boolean] # - # source://actionview//lib/action_view/helpers/url_helper.rb#765 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:765 def method_not_get_method?(method); end - # source://actionview//lib/action_view/helpers/url_helper.rb#786 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:786 def method_tag(method); end - # source://actionview//lib/action_view/helpers/url_helper.rb#834 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:834 def remove_trailing_slash!(url_string); end # Returns an array of hashes each containing :name and :value keys @@ -12078,20 +12078,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#808 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:808 def to_form_params(attribute, namespace = T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/url_helper.rb#770 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:770 def token_tag(token = T.unsafe(nil), form_options: T.unsafe(nil)); end - # source://actionview//lib/action_view/helpers/url_helper.rb#722 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:722 def url_target(name, options); end class << self - # source://actionview//lib/action_view/helpers/url_helper.rb#35 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:35 def button_to_generates_button_tag=(val); end end end @@ -12102,38 +12102,38 @@ 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 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:29 module ActionView::Helpers::UrlHelper::ClassMethods - # source://actionview//lib/action_view/helpers/url_helper.rb#30 + # pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:30 def _url_for_modules; end end -# source://actionview//lib/action_view/helpers/url_helper.rb#757 +# pkg:gem/actionview#lib/action_view/helpers/url_helper.rb:757 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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/rendering.rb:11 def initialize(original_config, lookup_context); end - # source://actionview//lib/action_view/rendering.rb#17 + # pkg:gem/actionview#lib/action_view/rendering.rb:17 def locale; end - # source://actionview//lib/action_view/rendering.rb#21 + # pkg:gem/actionview#lib/action_view/rendering.rb:21 def locale=(value); end - # source://actionview//lib/action_view/rendering.rb#9 + # pkg:gem/actionview#lib/action_view/rendering.rb:9 def lookup_context; end - # source://actionview//lib/action_view/rendering.rb#9 + # pkg:gem/actionview#lib/action_view/rendering.rb:9 def original_config; end end @@ -12336,7 +12336,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 +# pkg:gem/actionview#lib/action_view/layouts.rb:205 module ActionView::Layouts extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -12348,13 +12348,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#361 + # pkg:gem/actionview#lib/action_view/layouts.rb:361 def initialize(*_arg0); end - # source://actionview//lib/action_view/layouts.rb#350 + # pkg:gem/actionview#lib/action_view/layouts.rb:350 def _process_render_template_options(options); end - # source://actionview//lib/action_view/layouts.rb#359 + # pkg:gem/actionview#lib/action_view/layouts.rb:359 def action_has_layout=(_arg0); end # Controls whether an action should be rendered using a layout. @@ -12366,14 +12366,14 @@ module ActionView::Layouts # # @return [Boolean] # - # source://actionview//lib/action_view/layouts.rb#372 + # pkg:gem/actionview#lib/action_view/layouts.rb:372 def action_has_layout?; end private # @return [Boolean] # - # source://actionview//lib/action_view/layouts.rb#377 + # pkg:gem/actionview#lib/action_view/layouts.rb:377 def _conditional_layout?; end # Returns the default layout for this controller. @@ -12387,17 +12387,17 @@ module ActionView::Layouts # ==== Returns # * template - The template object for the default layout (or +nil+) # - # source://actionview//lib/action_view/layouts.rb#415 + # pkg:gem/actionview#lib/action_view/layouts.rb:415 def _default_layout(lookup_context, formats, keys, require_layout = T.unsafe(nil)); end # @return [Boolean] # - # source://actionview//lib/action_view/layouts.rb#430 + # pkg:gem/actionview#lib/action_view/layouts.rb:430 def _include_layout?(options); end # This will be overwritten by _write_layout_method # - # source://actionview//lib/action_view/layouts.rb#382 + # pkg:gem/actionview#lib/action_view/layouts.rb:382 def _layout(*_arg0); end # Determine the layout for a given name, taking into account the name type. @@ -12405,10 +12405,10 @@ module ActionView::Layouts # ==== Parameters # * name - The name of the template # - # source://actionview//lib/action_view/layouts.rb#388 + # pkg:gem/actionview#lib/action_view/layouts.rb:388 def _layout_for_option(name); end - # source://actionview//lib/action_view/layouts.rb#401 + # pkg:gem/actionview#lib/action_view/layouts.rb:401 def _normalize_layout(value); end module GeneratedClassMethods @@ -12426,17 +12426,17 @@ module ActionView::Layouts end end -# source://actionview//lib/action_view/layouts.rb#217 +# pkg:gem/actionview#lib/action_view/layouts.rb:217 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#283 + # pkg:gem/actionview#lib/action_view/layouts.rb:283 def _write_layout_method; end - # source://actionview//lib/action_view/layouts.rb#218 + # pkg:gem/actionview#lib/action_view/layouts.rb:218 def inherited(klass); end # Specify the layout to use for this class. @@ -12461,7 +12461,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#269 + # pkg:gem/actionview#lib/action_view/layouts.rb:269 def layout(layout, conditions = T.unsafe(nil)); end private @@ -12472,14 +12472,14 @@ module ActionView::Layouts::ClassMethods # ==== Returns # * String - A template name # - # source://actionview//lib/action_view/layouts.rb#345 + # pkg:gem/actionview#lib/action_view/layouts.rb:345 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#225 +# pkg:gem/actionview#lib/action_view/layouts.rb:225 module ActionView::Layouts::ClassMethods::LayoutConditions private @@ -12492,84 +12492,84 @@ module ActionView::Layouts::ClassMethods::LayoutConditions # # @return [Boolean] # - # source://actionview//lib/action_view/layouts.rb#233 + # pkg:gem/actionview#lib/action_view/layouts.rb:233 def _conditional_layout?; end end -# source://actionview//lib/action_view/log_subscriber.rb#6 +# pkg:gem/actionview#lib/action_view/log_subscriber.rb:6 class ActionView::LogSubscriber < ::ActiveSupport::LogSubscriber include ::ActionView::LogSubscriber::Utils # @return [LogSubscriber] a new instance of LogSubscriber # - # source://actionview//lib/action_view/log_subscriber.rb#9 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:9 def initialize; end - # source://actionview//lib/action_view/log_subscriber.rb#42 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:42 def render_collection(event); end - # source://actionview//lib/action_view/log_subscriber.rb#34 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:34 def render_layout(event); end - # source://actionview//lib/action_view/log_subscriber.rb#23 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:23 def render_partial(event); end - # source://actionview//lib/action_view/log_subscriber.rb#14 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:14 def render_template(event); end private - # source://actionview//lib/action_view/log_subscriber.rb#118 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:118 def cache_message(payload); end - # source://actionview//lib/action_view/log_subscriber.rb#110 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:110 def render_count(payload); end class << self - # source://actionview//lib/action_view/log_subscriber.rb#102 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:102 def attach_to(*_arg0); end private - # source://actionview//lib/action_view/log_subscriber.rb#21 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:21 def __class_attr_log_levels; end - # source://actionview//lib/action_view/log_subscriber.rb#21 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:21 def __class_attr_log_levels=(new_value); end end end -# source://actionview//lib/action_view/log_subscriber.rb#73 +# pkg:gem/actionview#lib/action_view/log_subscriber.rb:73 class ActionView::LogSubscriber::Start include ::ActionView::LogSubscriber::Utils - # source://actionview//lib/action_view/log_subscriber.rb#94 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:94 def finish(name, id, payload); end # @return [Boolean] # - # source://actionview//lib/action_view/log_subscriber.rb#97 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:97 def silenced?(_); end - # source://actionview//lib/action_view/log_subscriber.rb#76 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:76 def start(name, id, payload); end end -# source://actionview//lib/action_view/log_subscriber.rb#54 +# pkg:gem/actionview#lib/action_view/log_subscriber.rb:54 module ActionView::LogSubscriber::Utils - # source://actionview//lib/action_view/log_subscriber.rb#55 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:55 def logger; end private - # source://actionview//lib/action_view/log_subscriber.rb#60 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:60 def from_rails_root(string); end - # source://actionview//lib/action_view/log_subscriber.rb#66 + # pkg:gem/actionview#lib/action_view/log_subscriber.rb:66 def rails_root; end end -# source://actionview//lib/action_view/log_subscriber.rb#7 +# pkg:gem/actionview#lib/action_view/log_subscriber.rb:7 ActionView::LogSubscriber::VIEWS_PATTERN = T.let(T.unsafe(nil), Regexp) # = Action View Lookup Context @@ -12580,7 +12580,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 +# pkg:gem/actionview#lib/action_view/lookup_context.rb:15 class ActionView::LookupContext include ::ActionView::LookupContext::Accessors include ::ActionView::LookupContext::DetailsCache @@ -12588,203 +12588,203 @@ class ActionView::LookupContext # @return [LookupContext] a new instance of LookupContext # - # source://actionview//lib/action_view/lookup_context.rb#232 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:290 def locale=(value); end - # source://actionview//lib/action_view/lookup_context.rb#16 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:16 def prefixes; end - # source://actionview//lib/action_view/lookup_context.rb#16 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:16 def prefixes=(_arg0); end - # source://actionview//lib/action_view/lookup_context.rb#246 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:246 def with_prepended_formats(formats); end private - # source://actionview//lib/action_view/lookup_context.rb#253 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:21 def register_detail(name, &block); end - # source://actionview//lib/action_view/lookup_context.rb#18 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:18 def registered_details; end - # source://actionview//lib/action_view/lookup_context.rb#18 + # pkg:gem/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 +# pkg:gem/actionview#lib/action_view/lookup_context.rb:39 module ActionView::LookupContext::Accessors - # source://actionview//lib/action_view/lookup_context.rb#25 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:25 def default_formats; end - # source://actionview//lib/action_view/lookup_context.rb#25 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:25 def default_handlers; end - # source://actionview//lib/action_view/lookup_context.rb#25 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:25 def default_locale; end - # source://actionview//lib/action_view/lookup_context.rb#25 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:25 def default_variants; end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def formats; end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def formats=(value); end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def handlers; end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def handlers=(value); end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def locale; end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def locale=(value); end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def variants; end - # source://actionview//lib/action_view/lookup_context.rb#26 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:26 def variants=(value); end end -# source://actionview//lib/action_view/lookup_context.rb#40 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:108 def disable_cache; end private - # source://actionview//lib/action_view/lookup_context.rb#116 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:116 def _set_detail(key, value); end end -# source://actionview//lib/action_view/lookup_context.rb#54 +# pkg:gem/actionview#lib/action_view/lookup_context.rb:54 class ActionView::LookupContext::DetailsKey - # source://actionview//lib/action_view/lookup_context.rb#55 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:55 def eql?(_arg0); end class << self - # source://actionview//lib/action_view/lookup_context.rb#77 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:77 def clear; end - # source://actionview//lib/action_view/lookup_context.rb#65 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:65 def details_cache_key(details); end - # source://actionview//lib/action_view/lookup_context.rb#61 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:61 def digest_cache(details); end - # source://actionview//lib/action_view/lookup_context.rb#86 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:86 def digest_caches; end - # source://actionview//lib/action_view/lookup_context.rb#90 + # pkg:gem/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 +# pkg:gem/actionview#lib/action_view/lookup_context.rb:125 module ActionView::LookupContext::ViewPaths # @return [Boolean] # - # source://actionview//lib/action_view/lookup_context.rb#148 + # pkg:gem/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#153 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#133 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:126 def html_fallback_for_js; end - # source://actionview//lib/action_view/lookup_context.rb#159 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:159 def prepend_view_paths(paths); end # @return [Boolean] # - # source://actionview//lib/action_view/lookup_context.rb#146 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:126 def view_paths; end private @@ -12792,30 +12792,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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:175 def detail_args_for(options); end - # source://actionview//lib/action_view/lookup_context.rb#188 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/lookup_context.rb:209 def normalize_name(name, prefixes); end end -# source://actionview//lib/action_view/template/error.rb#41 +# pkg:gem/actionview#lib/action_view/template/error.rb:41 class ActionView::MissingTemplate < ::ActionView::ActionViewError include ::DidYouMean::Correctable # @return [MissingTemplate] a new instance of MissingTemplate # - # source://actionview//lib/action_view/template/error.rb#44 + # pkg:gem/actionview#lib/action_view/template/error.rb:44 def initialize(paths, path, prefixes, partial, details, *_arg5); end # Apps may have thousands of candidate templates so we attempt to @@ -12823,56 +12823,56 @@ 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#104 + # pkg:gem/actionview#lib/action_view/template/error.rb:104 def corrections; end # Returns the value of attribute partial. # - # source://actionview//lib/action_view/template/error.rb#42 + # pkg:gem/actionview#lib/action_view/template/error.rb:42 def partial; end # Returns the value of attribute path. # - # source://actionview//lib/action_view/template/error.rb#42 + # pkg:gem/actionview#lib/action_view/template/error.rb:42 def path; end # Returns the value of attribute paths. # - # source://actionview//lib/action_view/template/error.rb#42 + # pkg:gem/actionview#lib/action_view/template/error.rb:42 def paths; end # Returns the value of attribute prefixes. # - # source://actionview//lib/action_view/template/error.rb#42 + # pkg:gem/actionview#lib/action_view/template/error.rb:42 def prefixes; end end -# source://actionview//lib/action_view/template/error.rb#71 +# pkg:gem/actionview#lib/action_view/template/error.rb:71 class ActionView::MissingTemplate::Results # @return [Results] a new instance of Results # - # source://actionview//lib/action_view/template/error.rb#74 + # pkg:gem/actionview#lib/action_view/template/error.rb:74 def initialize(size); end - # source://actionview//lib/action_view/template/error.rb#91 + # pkg:gem/actionview#lib/action_view/template/error.rb:91 def add(path, score); end # @return [Boolean] # - # source://actionview//lib/action_view/template/error.rb#83 + # pkg:gem/actionview#lib/action_view/template/error.rb:83 def should_record?(score); end - # source://actionview//lib/action_view/template/error.rb#79 + # pkg:gem/actionview#lib/action_view/template/error.rb:79 def to_a; end end -# source://actionview//lib/action_view/template/error.rb#72 +# pkg:gem/actionview#lib/action_view/template/error.rb:72 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#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def path; end # Sets the attribute path @@ -12880,14 +12880,14 @@ class ActionView::MissingTemplate::Results::Result < ::Struct # @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#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def path=(_); end # Returns the value of attribute score # # @return [Object] the current value of score # - # source://actionview//lib/action_view/template/error.rb#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def score; end # Sets the attribute score @@ -12895,59 +12895,59 @@ class ActionView::MissingTemplate::Results::Result < ::Struct # @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#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def score=(_); end class << self - # source://actionview//lib/action_view/template/error.rb#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def [](*_arg0); end - # source://actionview//lib/action_view/template/error.rb#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def inspect; end - # source://actionview//lib/action_view/template/error.rb#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def keyword_init?; end - # source://actionview//lib/action_view/template/error.rb#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def members; end - # source://actionview//lib/action_view/template/error.rb#72 + # pkg:gem/actionview#lib/action_view/template/error.rb:72 def new(*_arg0); end end end -# source://actionview//lib/action_view/model_naming.rb#4 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/model_naming.rb:6 def convert_to_model(object); end - # source://actionview//lib/action_view/model_naming.rb#10 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/object_renderer.rb:25 def template_keys(path); end end @@ -12966,148 +12966,148 @@ end # sbuf << 5 # puts sbuf # => "hello\u0005" # -# source://actionview//lib/action_view/buffers.rb#21 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/buffers.rb:22 def initialize(buffer = T.unsafe(nil)); end - # source://actionview//lib/action_view/buffers.rb#42 + # pkg:gem/actionview#lib/action_view/buffers.rb:42 def <<(value); end - # source://actionview//lib/action_view/buffers.rb#81 + # pkg:gem/actionview#lib/action_view/buffers.rb:81 def ==(other); end - # source://actionview//lib/action_view/buffers.rb#54 + # pkg:gem/actionview#lib/action_view/buffers.rb:54 def append=(value); end - # source://actionview//lib/action_view/buffers.rb#27 + # pkg:gem/actionview#lib/action_view/buffers.rb:27 def blank?(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#72 + # pkg:gem/actionview#lib/action_view/buffers.rb:72 def capture(*args); end - # source://actionview//lib/action_view/buffers.rb#53 + # pkg:gem/actionview#lib/action_view/buffers.rb:53 def concat(value); end - # source://actionview//lib/action_view/buffers.rb#27 + # pkg:gem/actionview#lib/action_view/buffers.rb:27 def empty?(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#27 + # pkg:gem/actionview#lib/action_view/buffers.rb:27 def encode!(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#27 + # pkg:gem/actionview#lib/action_view/buffers.rb:27 def encoding(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#27 + # pkg:gem/actionview#lib/action_view/buffers.rb:27 def force_encoding(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#32 + # pkg:gem/actionview#lib/action_view/buffers.rb:32 def html_safe; end # @return [Boolean] # - # source://actionview//lib/action_view/buffers.rb#38 + # pkg:gem/actionview#lib/action_view/buffers.rb:38 def html_safe?; end - # source://actionview//lib/action_view/buffers.rb#27 + # pkg:gem/actionview#lib/action_view/buffers.rb:27 def length(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/buffers.rb#85 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/buffers.rb:89 def raw_buffer; end - # source://actionview//lib/action_view/buffers.rb#60 + # pkg:gem/actionview#lib/action_view/buffers.rb:60 def safe_append=(value); end - # source://actionview//lib/action_view/buffers.rb#56 + # pkg:gem/actionview#lib/action_view/buffers.rb:56 def safe_concat(value); end - # source://actionview//lib/action_view/buffers.rb#62 + # pkg:gem/actionview#lib/action_view/buffers.rb:62 def safe_expr_append=(val); end - # source://actionview//lib/action_view/buffers.rb#29 + # pkg:gem/actionview#lib/action_view/buffers.rb:29 def to_s; end - # source://actionview//lib/action_view/buffers.rb#34 + # pkg:gem/actionview#lib/action_view/buffers.rb:34 def to_str; end private - # source://actionview//lib/action_view/buffers.rb#68 + # pkg:gem/actionview#lib/action_view/buffers.rb:68 def initialize_copy(other); end end -# source://actionview//lib/action_view/flows.rb#6 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/flows.rb:9 def initialize; end # Called by content_for # - # source://actionview//lib/action_view/flows.rb#24 + # pkg:gem/actionview#lib/action_view/flows.rb:24 def append(key, value); end # Called by content_for # - # source://actionview//lib/action_view/flows.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/flows.rb:19 def set(key, value); end end -# source://actionview//lib/action_view/renderer/collection_renderer.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:11 def index; end - # source://actionview//lib/action_view/renderer/collection_renderer.rb#28 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/collection_renderer.rb:8 def size; end end @@ -13342,65 +13342,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#236 +# pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:236 class ActionView::PartialRenderer < ::ActionView::AbstractRenderer include ::ActionView::CollectionCaching # @return [PartialRenderer] a new instance of PartialRenderer # - # source://actionview//lib/action_view/renderer/partial_renderer.rb#239 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:239 def initialize(lookup_context, options); end - # source://actionview//lib/action_view/renderer/partial_renderer.rb#237 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:237 def collection_cache; end - # source://actionview//lib/action_view/renderer/partial_renderer.rb#237 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:237 def collection_cache=(val); end - # source://actionview//lib/action_view/renderer/partial_renderer.rb#246 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:246 def render(partial, context, block); end private - # source://actionview//lib/action_view/renderer/partial_renderer.rb#278 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:278 def find_template(path, locals); end - # source://actionview//lib/action_view/renderer/partial_renderer.rb#261 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:261 def render_partial_template(view, locals, template, layout, block); end - # source://actionview//lib/action_view/renderer/partial_renderer.rb#257 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:257 def template_keys(_); end class << self - # source://actionview//lib/action_view/renderer/partial_renderer.rb#237 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:237 def collection_cache; end - # source://actionview//lib/action_view/renderer/partial_renderer.rb#237 + # pkg:gem/actionview#lib/action_view/renderer/partial_renderer.rb:237 def collection_cache=(val); end end end -# source://actionview//lib/action_view/path_registry.rb#4 +# pkg:gem/actionview#lib/action_view/path_registry.rb:4 module ActionView::PathRegistry class << self - # source://actionview//lib/action_view/path_registry.rb#53 + # pkg:gem/actionview#lib/action_view/path_registry.rb:53 def all_file_system_resolvers; end - # source://actionview//lib/action_view/path_registry.rb#47 + # pkg:gem/actionview#lib/action_view/path_registry.rb:47 def all_resolvers; end - # source://actionview//lib/action_view/path_registry.rb#22 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/path_registry.rb:11 def file_system_resolver_hooks; end - # source://actionview//lib/action_view/path_registry.rb#14 + # pkg:gem/actionview#lib/action_view/path_registry.rb:14 def get_view_paths(klass); end - # source://actionview//lib/action_view/path_registry.rb#18 + # pkg:gem/actionview#lib/action_view/path_registry.rb:18 def set_view_paths(klass, paths); end end end @@ -13413,94 +13413,94 @@ end # # A +LookupContext+ will use a +PathSet+ to store the paths in its context. # -# source://actionview//lib/action_view/path_set.rb#11 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/path_set.rb:18 def initialize(paths = T.unsafe(nil)); end - # source://actionview//lib/action_view/path_set.rb#35 + # pkg:gem/actionview#lib/action_view/path_set.rb:35 def +(other); end - # source://actionview//lib/action_view/path_set.rb#16 + # pkg:gem/actionview#lib/action_view/path_set.rb:16 def [](*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/path_set.rb#31 + # pkg:gem/actionview#lib/action_view/path_set.rb:31 def compact; end - # source://actionview//lib/action_view/path_set.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/path_set.rb:14 def paths; end - # source://actionview//lib/action_view/path_set.rb#16 + # pkg:gem/actionview#lib/action_view/path_set.rb:16 def size(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/path_set.rb#27 + # pkg:gem/actionview#lib/action_view/path_set.rb:27 def to_ary; end private - # source://actionview//lib/action_view/path_set.rb#22 + # pkg:gem/actionview#lib/action_view/path_set.rb:22 def initialize_copy(other); end - # source://actionview//lib/action_view/path_set.rb#58 + # pkg:gem/actionview#lib/action_view/path_set.rb:58 def search_combinations(prefixes); end - # source://actionview//lib/action_view/path_set.rb#67 + # pkg:gem/actionview#lib/action_view/path_set.rb:67 def typecast(paths); end end # = Action View Railtie # -# source://actionview//lib/action_view/railtie.rb#8 +# pkg:gem/actionview#lib/action_view/railtie.rb:8 class ActionView::Railtie < ::Rails::Engine; end -# source://actionview//lib/action_view/buffers.rb#92 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/buffers.rb:93 def initialize(buffer); end - # source://actionview//lib/action_view/buffers.rb#97 + # pkg:gem/actionview#lib/action_view/buffers.rb:97 def <<(value); end - # source://actionview//lib/action_view/buffers.rb#103 + # pkg:gem/actionview#lib/action_view/buffers.rb:103 def raw; end end -# source://actionview//lib/action_view/buffers.rb#150 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/buffers.rb:151 def initialize(buffer); end - # source://actionview//lib/action_view/buffers.rb#155 + # pkg:gem/actionview#lib/action_view/buffers.rb:155 def <<(value); end - # source://actionview//lib/action_view/buffers.rb#161 + # pkg:gem/actionview#lib/action_view/buffers.rb:161 def raw; end end @@ -13558,7 +13558,7 @@ end # end # end # -# source://actionview//lib/action_view/record_identifier.rb#60 +# pkg:gem/actionview#lib/action_view/record_identifier.rb:60 module ActionView::RecordIdentifier include ::ActionView::ModelNaming extend ::ActionView::RecordIdentifier @@ -13574,7 +13574,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 + # pkg:gem/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. @@ -13590,7 +13590,7 @@ module ActionView::RecordIdentifier # # @raise [ArgumentError] # - # source://actionview//lib/action_view/record_identifier.rb#93 + # pkg:gem/actionview#lib/action_view/record_identifier.rb:93 def dom_id(record_or_class, prefix = T.unsafe(nil)); end # The DOM target convention is to concatenate any number of parameters into a string. @@ -13601,7 +13601,7 @@ module ActionView::RecordIdentifier # dom_target(Post.find(45), :edit, :special) # => "post_45_edit_special" # dom_target(Post.find(45), Comment.find(1)) # => "post_45_comment_1" # - # source://actionview//lib/action_view/record_identifier.rb#111 + # pkg:gem/actionview#lib/action_view/record_identifier.rb:111 def dom_target(*objects); end private @@ -13615,44 +13615,44 @@ 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#134 + # pkg:gem/actionview#lib/action_view/record_identifier.rb:134 def record_key_for_dom_id(record); end end -# source://actionview//lib/action_view/record_identifier.rb#66 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/record_identifier.rb:67 ActionView::RecordIdentifier::NEW = T.let(T.unsafe(nil), String) -# source://actionview//lib/action_view/render_parser.rb#4 +# pkg:gem/actionview#lib/action_view/render_parser.rb:4 module ActionView::RenderParser; end -# source://actionview//lib/action_view/render_parser.rb#5 +# pkg:gem/actionview#lib/action_view/render_parser.rb:5 ActionView::RenderParser::ALL_KNOWN_KEYS = T.let(T.unsafe(nil), Array) -# source://actionview//lib/action_view/render_parser.rb#8 +# pkg:gem/actionview#lib/action_view/render_parser.rb:8 class ActionView::RenderParser::Base # @return [Base] a new instance of Base # - # source://actionview//lib/action_view/render_parser.rb#9 + # pkg:gem/actionview#lib/action_view/render_parser.rb:9 def initialize(name, code); end private - # source://actionview//lib/action_view/render_parser.rb#15 + # pkg:gem/actionview#lib/action_view/render_parser.rb:15 def directory; end - # source://actionview//lib/action_view/render_parser.rb#19 + # pkg:gem/actionview#lib/action_view/render_parser.rb:19 def partial_to_virtual_path(render_type, partial_path); end end -# source://actionview//lib/action_view/render_parser.rb#37 +# pkg:gem/actionview#lib/action_view/render_parser.rb:37 ActionView::RenderParser::Default = ActionView::RenderParser::PrismRenderParser -# source://actionview//lib/action_view/render_parser/prism_render_parser.rb#5 +# pkg:gem/actionview#lib/action_view/render_parser/prism_render_parser.rb:5 class ActionView::RenderParser::PrismRenderParser < ::ActionView::RenderParser::Base - # source://actionview//lib/action_view/render_parser/prism_render_parser.rb#6 + # pkg:gem/actionview#lib/action_view/render_parser/prism_render_parser.rb:6 def render_calls; end private @@ -13660,18 +13660,18 @@ class ActionView::RenderParser::PrismRenderParser < ::ActionView::RenderParser:: # Accept a call node and return a hash of options for the render call. # If it doesn't match the expected format, return nil. # - # source://actionview//lib/action_view/render_parser/prism_render_parser.rb#43 + # pkg:gem/actionview#lib/action_view/render_parser/prism_render_parser.rb:43 def render_call_options(node); end # Accept the node that is being passed in the position of the template # and return the template name and whether or not it is an object # template. # - # source://actionview//lib/action_view/render_parser/prism_render_parser.rb#97 + # pkg:gem/actionview#lib/action_view/render_parser/prism_render_parser.rb:97 def render_call_template(node); end end -# source://actionview//lib/action_view/render_parser.rb#6 +# pkg:gem/actionview#lib/action_view/render_parser.rb:6 ActionView::RenderParser::RENDER_TYPE_KEYS = T.let(T.unsafe(nil), Array) # = Action View \Renderer @@ -13686,31 +13686,31 @@ ActionView::RenderParser::RENDER_TYPE_KEYS = T.let(T.unsafe(nil), Array) # 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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:18 def initialize(lookup_context); end - # source://actionview//lib/action_view/renderer/renderer.rb#52 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:52 def cache_hits; end # Returns the value of attribute lookup_context. # - # source://actionview//lib/action_view/renderer/renderer.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -13719,31 +13719,31 @@ 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 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:40 def render_body(context, options); end - # source://actionview//lib/action_view/renderer/renderer.rb#48 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:48 def render_partial(context, options, &block); end - # source://actionview//lib/action_view/renderer/renderer.rb#27 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:27 def render_to_object(context, options); end private - # source://actionview//lib/action_view/renderer/renderer.rb#103 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:103 def collection_from_object(object); end - # source://actionview//lib/action_view/renderer/renderer.rb#96 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:96 def collection_from_options(options); end - # source://actionview//lib/action_view/renderer/renderer.rb#61 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:61 def render_partial_to_object(context, options, &block); end - # source://actionview//lib/action_view/renderer/renderer.rb#57 + # pkg:gem/actionview#lib/action_view/renderer/renderer.rb:57 def render_template_to_object(context, options); end end -# source://actionview//lib/action_view/rendering.rb#26 +# pkg:gem/actionview#lib/action_view/rendering.rb:26 module ActionView::Rendering extend ::ActiveSupport::Concern include ::ActionView::ViewPaths @@ -13751,18 +13751,18 @@ 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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/rendering.rb:38 def process(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/rendering.rb#119 + # pkg:gem/actionview#lib/action_view/rendering.rb:119 def render_to_body(options = T.unsafe(nil)); end - # source://actionview//lib/action_view/rendering.rb#30 + # pkg:gem/actionview#lib/action_view/rendering.rb:30 def rendered_format; end # An instance of a view class. The default view class is ActionView::Base. @@ -13776,15 +13776,15 @@ module ActionView::Rendering # # Override this method in a module to change the default behavior. # - # source://actionview//lib/action_view/rendering.rb#109 + # pkg:gem/actionview#lib/action_view/rendering.rb:109 def view_context; end - # source://actionview//lib/action_view/rendering.rb#95 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/rendering.rb:114 def view_renderer; end private @@ -13792,78 +13792,78 @@ 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#153 + # pkg:gem/actionview#lib/action_view/rendering.rb:153 def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end # Assign the rendered format to look up context. # - # source://actionview//lib/action_view/rendering.rb#146 + # pkg:gem/actionview#lib/action_view/rendering.rb:146 def _process_format(format); end # Normalize options. # - # source://actionview//lib/action_view/rendering.rb#177 + # pkg:gem/actionview#lib/action_view/rendering.rb:177 def _process_render_template_options(options); end # Find and render a template based on the options given. # - # source://actionview//lib/action_view/rendering.rb#127 + # pkg:gem/actionview#lib/action_view/rendering.rb:127 def _render_template(options); end end -# source://actionview//lib/action_view/rendering.rb#45 +# pkg:gem/actionview#lib/action_view/rendering.rb:45 module ActionView::Rendering::ClassMethods - # source://actionview//lib/action_view/rendering.rb#49 + # pkg:gem/actionview#lib/action_view/rendering.rb:49 def _helpers; end - # source://actionview//lib/action_view/rendering.rb#46 + # pkg:gem/actionview#lib/action_view/rendering.rb:46 def _routes; end - # source://actionview//lib/action_view/rendering.rb#59 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/rendering.rb:76 def eager_load!; end # @return [Boolean] # - # source://actionview//lib/action_view/rendering.rb#52 + # pkg:gem/actionview#lib/action_view/rendering.rb:52 def inherit_view_context_class?; end - # source://actionview//lib/action_view/rendering.rb#82 + # pkg:gem/actionview#lib/action_view/rendering.rb:82 def view_context_class; end end # = Action View Resolver # -# source://actionview//lib/action_view/template/resolver.rb#11 +# pkg:gem/actionview#lib/action_view/template/resolver.rb:11 class ActionView::Resolver - # source://actionview//lib/action_view/template/resolver.rb#69 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:69 def all_template_paths; end - # source://actionview//lib/action_view/template/resolver.rb#64 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:64 def built_templates; end - # source://actionview//lib/action_view/template/resolver.rb#50 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:50 def caching; end - # source://actionview//lib/action_view/template/resolver.rb#50 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:50 def caching=(val); end - # source://actionview//lib/action_view/template/resolver.rb#79 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:79 def caching?(&_arg0); end - # source://actionview//lib/action_view/template/resolver.rb#56 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:56 def clear_cache; end # Normalizes the arguments and passes it on to find_templates. # - # source://actionview//lib/action_view/template/resolver.rb#60 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:60 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#75 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:75 def _find_all(name, prefix, partial, details, key, locals); end # This is what child classes implement. No defaults are needed @@ -13872,37 +13872,37 @@ class ActionView::Resolver # # @raise [NotImplementedError] # - # source://actionview//lib/action_view/template/resolver.rb#84 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:84 def find_templates(name, prefix, partial, details, locals = T.unsafe(nil)); end class << self - # source://actionview//lib/action_view/template/resolver.rb#50 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:50 def caching; end - # source://actionview//lib/action_view/template/resolver.rb#50 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:50 def caching=(val); end - # source://actionview//lib/action_view/template/resolver.rb#53 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:53 def caching?; end end end -# source://actionview//lib/action_view/template/resolver.rb#12 +# pkg:gem/actionview#lib/action_view/template/resolver.rb:12 class ActionView::Resolver::PathParser - # source://actionview//lib/action_view/template/resolver.rb#15 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:15 def build_path_regex; end - # source://actionview//lib/action_view/template/resolver.rb#36 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:36 def parse(path); end end -# source://actionview//lib/action_view/template/resolver.rb#13 +# pkg:gem/actionview#lib/action_view/template/resolver.rb:13 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#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def details; end # Sets the attribute details @@ -13910,14 +13910,14 @@ class ActionView::Resolver::PathParser::ParsedPath < ::Struct # @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#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def details=(_); end # Returns the value of attribute path # # @return [Object] the current value of path # - # source://actionview//lib/action_view/template/resolver.rb#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def path; end # Sets the attribute path @@ -13925,28 +13925,28 @@ class ActionView::Resolver::PathParser::ParsedPath < ::Struct # @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#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def path=(_); end class << self - # source://actionview//lib/action_view/template/resolver.rb#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def [](*_arg0); end - # source://actionview//lib/action_view/template/resolver.rb#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def inspect; end - # source://actionview//lib/action_view/template/resolver.rb#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def keyword_init?; end - # source://actionview//lib/action_view/template/resolver.rb#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def members; end - # source://actionview//lib/action_view/template/resolver.rb#13 + # pkg:gem/actionview#lib/action_view/template/resolver.rb:13 def new(*_arg0); end end end -# source://actionview//lib/action_view/routing_url_for.rb#6 +# pkg:gem/actionview#lib/action_view/routing_url_for.rb:6 module ActionView::RoutingUrlFor include ::ActionDispatch::Routing::PolymorphicRoutes @@ -14026,97 +14026,97 @@ module ActionView::RoutingUrlFor # # Specify absolute path with beginning slash # # => /users # - # source://actionview//lib/action_view/routing_url_for.rb#82 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/routing_url_for.rb:124 def url_options; end private - # source://actionview//lib/action_view/routing_url_for.rb#139 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/routing_url_for.rb:130 def _routes_context; end - # source://actionview//lib/action_view/routing_url_for.rb#143 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/routing_url_for.rb:134 def optimize_routes_generation?; end end -# source://actionview//lib/action_view/buffers.rb#108 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/buffers.rb:109 def initialize(block); end - # source://actionview//lib/action_view/buffers.rb#113 + # pkg:gem/actionview#lib/action_view/buffers.rb:113 def <<(value); end - # source://actionview//lib/action_view/buffers.rb#119 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/buffers.rb:147 def block; end - # source://actionview//lib/action_view/buffers.rb#126 + # pkg:gem/actionview#lib/action_view/buffers.rb:126 def capture; end - # source://actionview//lib/action_view/buffers.rb#118 + # pkg:gem/actionview#lib/action_view/buffers.rb:118 def concat(value); end - # source://actionview//lib/action_view/buffers.rb#139 + # pkg:gem/actionview#lib/action_view/buffers.rb:139 def html_safe; end # @return [Boolean] # - # source://actionview//lib/action_view/buffers.rb#135 + # pkg:gem/actionview#lib/action_view/buffers.rb:135 def html_safe?; end - # source://actionview//lib/action_view/buffers.rb#143 + # pkg:gem/actionview#lib/action_view/buffers.rb:143 def raw; end - # source://actionview//lib/action_view/buffers.rb#124 + # pkg:gem/actionview#lib/action_view/buffers.rb:124 def safe_append=(value); end - # source://actionview//lib/action_view/buffers.rb#121 + # pkg:gem/actionview#lib/action_view/buffers.rb:121 def safe_concat(value); end end -# source://actionview//lib/action_view/flows.rb#30 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/flows.rb:43 def get(key); end private # @return [Boolean] # - # source://actionview//lib/action_view/flows.rb#71 + # pkg:gem/actionview#lib/action_view/flows.rb:71 def inside_fiber?; end end @@ -14125,18 +14125,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#12 +# pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:12 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#51 + # pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:51 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#63 + # pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:63 def delayed_render(buffer, template, layout, view, locals); end end @@ -14144,113 +14144,113 @@ end # It is initialized with a block that, when called, starts # rendering the template. # -# source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#13 +# pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:13 class ActionView::StreamingTemplateRenderer::Body # @return [Body] a new instance of Body # - # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#14 + # pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:14 def initialize(&start); end # Returns the complete body as a string. # - # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#29 + # pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:29 def body; end - # source://actionview//lib/action_view/renderer/streaming_template_renderer.rb#18 + # pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:18 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#37 + # pkg:gem/actionview#lib/action_view/renderer/streaming_template_renderer.rb:37 def log_error(exception); end end -# source://actionview//lib/action_view/template/error.rb#30 +# pkg:gem/actionview#lib/action_view/template/error.rb:30 class ActionView::StrictLocalsError < ::ArgumentError # @return [StrictLocalsError] a new instance of StrictLocalsError # - # source://actionview//lib/action_view/template/error.rb#31 + # pkg:gem/actionview#lib/action_view/template/error.rb:31 def initialize(argument_error, template); end end -# source://actionview//lib/action_view/structured_event_subscriber.rb#6 +# pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:6 class ActionView::StructuredEventSubscriber < ::ActiveSupport::StructuredEventSubscriber include ::ActionView::StructuredEventSubscriber::Utils # @return [StructuredEventSubscriber] a new instance of StructuredEventSubscriber # - # source://actionview//lib/action_view/structured_event_subscriber.rb#9 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:9 def initialize; end - # source://actionview//lib/action_view/structured_event_subscriber.rb#44 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:44 def render_collection(event); end - # source://actionview//lib/action_view/structured_event_subscriber.rb#35 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:35 def render_layout(event); end - # source://actionview//lib/action_view/structured_event_subscriber.rb#24 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:24 def render_partial(event); end - # source://actionview//lib/action_view/structured_event_subscriber.rb#14 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:14 def render_template(event); end class << self - # source://actionview//lib/action_view/structured_event_subscriber.rb#88 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:88 def attach_to(*_arg0); end end end -# source://actionview//lib/action_view/structured_event_subscriber.rb#73 +# pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:73 class ActionView::StructuredEventSubscriber::Start include ::ActionView::StructuredEventSubscriber::Utils - # source://actionview//lib/action_view/structured_event_subscriber.rb#84 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:84 def finish(name, id, payload); end - # source://actionview//lib/action_view/structured_event_subscriber.rb#76 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:76 def start(name, id, payload); end end -# source://actionview//lib/action_view/structured_event_subscriber.rb#56 +# pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:56 module ActionView::StructuredEventSubscriber::Utils private - # source://actionview//lib/action_view/structured_event_subscriber.rb#58 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:58 def from_rails_root(string); end - # source://actionview//lib/action_view/structured_event_subscriber.rb#66 + # pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:66 def rails_root; end end -# source://actionview//lib/action_view/structured_event_subscriber.rb#7 +# pkg:gem/actionview#lib/action_view/structured_event_subscriber.rb:7 ActionView::StructuredEventSubscriber::VIEWS_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://actionview//lib/action_view/template/error.rb#256 +# pkg:gem/actionview#lib/action_view/template/error.rb:256 class ActionView::SyntaxErrorInTemplate < ::ActionView::Template::Error # @return [SyntaxErrorInTemplate] a new instance of SyntaxErrorInTemplate # - # source://actionview//lib/action_view/template/error.rb#257 + # pkg:gem/actionview#lib/action_view/template/error.rb:257 def initialize(template, offending_code_string); end - # source://actionview//lib/action_view/template/error.rb#272 + # pkg:gem/actionview#lib/action_view/template/error.rb:272 def annotated_source_code; end - # source://actionview//lib/action_view/template/error.rb#262 + # pkg:gem/actionview#lib/action_view/template/error.rb:262 def message; end end # = Action View \Template # -# source://actionview//lib/action_view/template.rb#7 +# pkg:gem/actionview#lib/action_view/template.rb:7 class ActionView::Template extend ::ActiveSupport::Autoload extend ::ActionView::Template::Handlers # @return [Template] a new instance of Template # - # source://actionview//lib/action_view/template.rb#199 + # pkg:gem/actionview#lib/action_view/template.rb:199 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 @@ -14263,44 +14263,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#321 + # pkg:gem/actionview#lib/action_view/template.rb:321 def encode!; end # Returns the value of attribute format. # - # source://actionview//lib/action_view/template.rb#195 + # pkg:gem/actionview#lib/action_view/template.rb:195 def format; end # Returns the value of attribute handler. # - # source://actionview//lib/action_view/template.rb#194 + # pkg:gem/actionview#lib/action_view/template.rb:194 def handler; end # Returns the value of attribute identifier. # - # source://actionview//lib/action_view/template.rb#194 + # pkg:gem/actionview#lib/action_view/template.rb:194 def identifier; end - # source://actionview//lib/action_view/template.rb#300 + # pkg:gem/actionview#lib/action_view/template.rb:300 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#223 + # pkg:gem/actionview#lib/action_view/template.rb:223 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#387 + # pkg:gem/actionview#lib/action_view/template.rb:387 def marshal_dump; end - # source://actionview//lib/action_view/template.rb#391 + # pkg:gem/actionview#lib/action_view/template.rb:391 def marshal_load(array); end - # source://actionview//lib/action_view/template.rb#396 + # pkg:gem/actionview#lib/action_view/template.rb:396 def method_name; end # Render a template. If the template was not compiled yet, it is done @@ -14310,16 +14310,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#271 + # pkg:gem/actionview#lib/action_view/template.rb:271 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#296 + # pkg:gem/actionview#lib/action_view/template.rb:296 def short_identifier; end - # source://actionview//lib/action_view/template.rb#304 + # pkg:gem/actionview#lib/action_view/template.rb:304 def source; end - # source://actionview//lib/action_view/template.rb#231 + # pkg:gem/actionview#lib/action_view/template.rb:231 def spot(location); end # This method is responsible for marking a template as having strict locals @@ -14332,14 +14332,14 @@ class ActionView::Template # Strict locals are useful for validating template arguments and for # specifying defaults. # - # source://actionview//lib/action_view/template.rb#366 + # pkg:gem/actionview#lib/action_view/template.rb:366 def strict_locals!; end # Returns whether a template is using strict locals. # # @return [Boolean] # - # source://actionview//lib/action_view/template.rb#380 + # pkg:gem/actionview#lib/action_view/template.rb:380 def strict_locals?; end # Returns whether the underlying handler supports streaming. If so, @@ -14347,31 +14347,31 @@ class ActionView::Template # # @return [Boolean] # - # source://actionview//lib/action_view/template.rb#261 + # pkg:gem/actionview#lib/action_view/template.rb:261 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#251 + # pkg:gem/actionview#lib/action_view/template.rb:251 def translate_location(backtrace_location, spot); end - # source://actionview//lib/action_view/template.rb#292 + # pkg:gem/actionview#lib/action_view/template.rb:292 def type; end # Returns the value of attribute variable. # - # source://actionview//lib/action_view/template.rb#195 + # pkg:gem/actionview#lib/action_view/template.rb:195 def variable; end # Returns the value of attribute variant. # - # source://actionview//lib/action_view/template.rb#195 + # pkg:gem/actionview#lib/action_view/template.rb:195 def variant; end # Returns the value of attribute virtual_path. # - # source://actionview//lib/action_view/template.rb#195 + # pkg:gem/actionview#lib/action_view/template.rb:195 def virtual_path; end private @@ -14388,54 +14388,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#500 + # pkg:gem/actionview#lib/action_view/template.rb:500 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#418 + # pkg:gem/actionview#lib/action_view/template.rb:418 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#443 + # pkg:gem/actionview#lib/action_view/template.rb:443 def compiled_source; end - # source://actionview//lib/action_view/template.rb#405 + # pkg:gem/actionview#lib/action_view/template.rb:405 def find_node_by_id(node, node_id); end - # source://actionview//lib/action_view/template.rb#549 + # pkg:gem/actionview#lib/action_view/template.rb:549 def handle_render_error(view, e); end - # source://actionview//lib/action_view/template.rb#574 + # pkg:gem/actionview#lib/action_view/template.rb:574 def identifier_method_name; end - # source://actionview//lib/action_view/template.rb#578 + # pkg:gem/actionview#lib/action_view/template.rb:578 def instrument(action, &block); end - # source://actionview//lib/action_view/template.rb#586 + # pkg:gem/actionview#lib/action_view/template.rb:586 def instrument_payload; end - # source://actionview//lib/action_view/template.rb#582 + # pkg:gem/actionview#lib/action_view/template.rb:582 def instrument_render_template(&block); end - # source://actionview//lib/action_view/template.rb#561 + # pkg:gem/actionview#lib/action_view/template.rb:561 def locals_code; end - # source://actionview//lib/action_view/template.rb#541 + # pkg:gem/actionview#lib/action_view/template.rb:541 def offset; end class << self - # source://actionview//lib/action_view/template.rb#180 + # pkg:gem/actionview#lib/action_view/template.rb:180 def frozen_string_literal; end - # source://actionview//lib/action_view/template.rb#180 + # pkg:gem/actionview#lib/action_view/template.rb:180 def frozen_string_literal=(_arg0); end - # source://actionview//lib/action_view/template.rb#184 + # pkg:gem/actionview#lib/action_view/template.rb:184 def mime_types_implementation=(implementation); end end end @@ -14444,95 +14444,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#165 +# pkg:gem/actionview#lib/action_view/template/error.rb:165 class ActionView::Template::Error < ::ActionView::ActionViewError # @return [Error] a new instance of Error # - # source://actionview//lib/action_view/template/error.rb#173 + # pkg:gem/actionview#lib/action_view/template/error.rb:173 def initialize(template); end - # source://actionview//lib/action_view/template/error.rb#231 + # pkg:gem/actionview#lib/action_view/template/error.rb:231 def annotated_source_code; end - # source://actionview//lib/action_view/template/error.rb#182 + # pkg:gem/actionview#lib/action_view/template/error.rb:182 def backtrace; end - # source://actionview//lib/action_view/template/error.rb#186 + # pkg:gem/actionview#lib/action_view/template/error.rb:186 def backtrace_locations; end # Override to prevent #cause resetting during re-raise. # - # source://actionview//lib/action_view/template/error.rb#169 + # pkg:gem/actionview#lib/action_view/template/error.rb:169 def cause; end - # source://actionview//lib/action_view/template/error.rb#190 + # pkg:gem/actionview#lib/action_view/template/error.rb:190 def file_name; end - # source://actionview//lib/action_view/template/error.rb#223 + # pkg:gem/actionview#lib/action_view/template/error.rb:223 def line_number; end - # source://actionview//lib/action_view/template/error.rb#203 + # pkg:gem/actionview#lib/action_view/template/error.rb:203 def source_extract(indentation = T.unsafe(nil)); end - # source://actionview//lib/action_view/template/error.rb#194 + # pkg:gem/actionview#lib/action_view/template/error.rb:194 def sub_template_message; end - # source://actionview//lib/action_view/template/error.rb#218 + # pkg:gem/actionview#lib/action_view/template/error.rb:218 def sub_template_of(template_path); end # Returns the value of attribute template. # - # source://actionview//lib/action_view/template/error.rb#171 + # pkg:gem/actionview#lib/action_view/template/error.rb:171 def template; end private - # source://actionview//lib/action_view/template/error.rb#244 + # pkg:gem/actionview#lib/action_view/template/error.rb:244 def formatted_code_for(source_code, line_counter, indent); end - # source://actionview//lib/action_view/template/error.rb#236 + # pkg:gem/actionview#lib/action_view/template/error.rb:236 def source_location; end end -# source://actionview//lib/action_view/template/error.rb#166 +# pkg:gem/actionview#lib/action_view/template/error.rb:166 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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/html.rb:9 def initialize(string, type); end - # source://actionview//lib/action_view/template/html.rb#28 + # pkg:gem/actionview#lib/action_view/template/html.rb:28 def format; end - # source://actionview//lib/action_view/template/html.rb#14 + # pkg:gem/actionview#lib/action_view/template/html.rb:14 def identifier; end - # source://actionview//lib/action_view/template/html.rb#18 + # pkg:gem/actionview#lib/action_view/template/html.rb:18 def inspect; end - # source://actionview//lib/action_view/template/html.rb#24 + # pkg:gem/actionview#lib/action_view/template/html.rb:24 def render(*args); end - # source://actionview//lib/action_view/template/html.rb#20 + # pkg:gem/actionview#lib/action_view/template/html.rb:20 def to_str; end - # source://actionview//lib/action_view/template/html.rb#7 + # pkg:gem/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 +# pkg:gem/actionview#lib/action_view/template/handlers.rb:6 module ActionView::Template::Handlers - # source://actionview//lib/action_view/template/handlers.rb#61 + # pkg:gem/actionview#lib/action_view/template/handlers.rb:61 def handler_for_extension(extension); end - # source://actionview//lib/action_view/template/handlers.rb#56 + # pkg:gem/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 @@ -14542,125 +14542,125 @@ module ActionView::Template::Handlers # # @raise [ArgumentError] # - # source://actionview//lib/action_view/template/handlers.rb#31 + # pkg:gem/actionview#lib/action_view/template/handlers.rb:31 def register_template_handler(*extensions, handler); end - # source://actionview//lib/action_view/template/handlers.rb#52 + # pkg:gem/actionview#lib/action_view/template/handlers.rb:52 def registered_template_handler(extension); end - # source://actionview//lib/action_view/template/handlers.rb#48 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers.rb:12 def extended(base); end - # source://actionview//lib/action_view/template/handlers.rb#23 + # pkg:gem/actionview#lib/action_view/template/handlers.rb:23 def extensions; end end end -# source://actionview//lib/action_view/template/handlers/builder.rb#5 +# pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:5 class ActionView::Template::Handlers::Builder - # source://actionview//lib/action_view/template/handlers/builder.rb#8 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:8 def call(template, source); end - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def default_format; end - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def default_format=(_arg0); end - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def default_format?; end private - # source://actionview//lib/action_view/template/handlers/builder.rb#17 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def default_format; end - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def default_format=(value); end - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def default_format?; end private - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def __class_attr_default_format; end - # source://actionview//lib/action_view/template/handlers/builder.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/builder.rb:6 def __class_attr_default_format=(new_value); end end end -# source://actionview//lib/action_view/template/handlers/erb.rb#9 +# pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:9 class ActionView::Template::Handlers::ERB - # source://actionview//lib/action_view/template/handlers/erb.rb#65 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:65 def call(template, source); end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def erb_implementation; end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def erb_implementation=(_arg0); end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def erb_implementation?; end - # source://actionview//lib/action_view/template/handlers/erb.rb#14 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:14 def erb_trim_mode; end - # source://actionview//lib/action_view/template/handlers/erb.rb#14 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:14 def erb_trim_mode?; end - # source://actionview//lib/action_view/template/handlers/erb.rb#20 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:20 def escape_ignore_list; end - # source://actionview//lib/action_view/template/handlers/erb.rb#20 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:37 def handles_encoding?; end - # source://actionview//lib/action_view/template/handlers/erb.rb#23 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:23 def strip_trailing_newlines; end - # source://actionview//lib/action_view/template/handlers/erb.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:43 def translate_location(spot, _backtrace_location, source); end private @@ -14675,7 +14675,7 @@ class ActionView::Template::Handlers::ERB # # @raise [LocationParsingError] # - # source://actionview//lib/action_view/template/handlers/erb.rb#119 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:119 def find_lineno_offset(compiled, source_lines, highlight, error_lineno); end # Find which token in the source template spans the byte range that @@ -14699,404 +14699,404 @@ class ActionView::Template::Handlers::ERB # # @raise [LocationParsingError] # - # source://actionview//lib/action_view/template/handlers/erb.rb#152 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:152 def find_offset(compiled, source_tokens, error_column); end - # source://actionview//lib/action_view/template/handlers/erb.rb#177 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:177 def offset_source_tokens(source_tokens); end # @raise [WrongEncodingError] # - # source://actionview//lib/action_view/template/handlers/erb.rb#97 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:97 def valid_encoding(string, encoding); end class << self - # source://actionview//lib/action_view/template/handlers/erb.rb#29 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:29 def call(template, source); end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def erb_implementation; end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def erb_implementation=(value); end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def erb_implementation?; end - # source://actionview//lib/action_view/template/handlers/erb.rb#14 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:14 def erb_trim_mode; end - # source://actionview//lib/action_view/template/handlers/erb.rb#14 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:14 def erb_trim_mode?; end - # source://actionview//lib/action_view/template/handlers/erb.rb#20 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:20 def escape_ignore_list; end - # source://actionview//lib/action_view/template/handlers/erb.rb#20 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:20 def escape_ignore_list?; end - # source://actionview//lib/action_view/template/handlers/erb.rb#23 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:23 def strip_trailing_newlines; end - # source://actionview//lib/action_view/template/handlers/erb.rb#23 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:23 def strip_trailing_newlines?; end private - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def __class_attr_erb_implementation; end - # source://actionview//lib/action_view/template/handlers/erb.rb#17 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:17 def __class_attr_erb_implementation=(new_value); end - # source://actionview//lib/action_view/template/handlers/erb.rb#14 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:14 def __class_attr_erb_trim_mode; end - # source://actionview//lib/action_view/template/handlers/erb.rb#14 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:14 def __class_attr_erb_trim_mode=(new_value); end - # source://actionview//lib/action_view/template/handlers/erb.rb#20 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:20 def __class_attr_escape_ignore_list; end - # source://actionview//lib/action_view/template/handlers/erb.rb#20 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:20 def __class_attr_escape_ignore_list=(new_value); end - # source://actionview//lib/action_view/template/handlers/erb.rb#23 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:23 def __class_attr_strip_trailing_newlines; end - # source://actionview//lib/action_view/template/handlers/erb.rb#23 + # pkg:gem/actionview#lib/action_view/template/handlers/erb.rb:23 def __class_attr_strip_trailing_newlines=(new_value); end end end -# source://actionview//lib/action_view/template/handlers/erb.rb#25 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/actionview#lib/action_view/template/handlers/raw.rb:5 class ActionView::Template::Handlers::Raw - # source://actionview//lib/action_view/template/handlers/raw.rb#6 + # pkg:gem/actionview#lib/action_view/template/handlers/raw.rb:6 def call(template, source); end end -# source://actionview//lib/action_view/template/inline.rb#7 +# pkg:gem/actionview#lib/action_view/template/inline.rb:7 class ActionView::Template::Inline < ::ActionView::Template - # source://actionview//lib/action_view/template/inline.rb#16 + # pkg:gem/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 +# pkg:gem/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#308 +# pkg:gem/actionview#lib/action_view/template.rb:308 ActionView::Template::LEADING_ENCODING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://actionview//lib/action_view/template.rb#197 +# pkg:gem/actionview#lib/action_view/template.rb:197 ActionView::Template::NONE = T.let(T.unsafe(nil), Object) -# source://actionview//lib/action_view/template.rb#558 +# pkg:gem/actionview#lib/action_view/template.rb:558 ActionView::Template::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) # = Action View RawFile Template # -# source://actionview//lib/action_view/template/raw_file.rb#6 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:9 def initialize(filename); end - # source://actionview//lib/action_view/template/raw_file.rb#7 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:7 def format; end - # source://actionview//lib/action_view/template/raw_file.rb#7 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:7 def format=(_arg0); end - # source://actionview//lib/action_view/template/raw_file.rb#16 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:16 def identifier; end - # source://actionview//lib/action_view/template/raw_file.rb#20 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:20 def render(*args); end # @return [Boolean] # - # source://actionview//lib/action_view/template/raw_file.rb#24 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:24 def supports_streaming?; end - # source://actionview//lib/action_view/template/raw_file.rb#7 + # pkg:gem/actionview#lib/action_view/template/raw_file.rb:7 def type; end - # source://actionview//lib/action_view/template/raw_file.rb#7 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/renderable.rb:7 def initialize(renderable); end - # source://actionview//lib/action_view/template/renderable.rb#25 + # pkg:gem/actionview#lib/action_view/template/renderable.rb:25 def format; end - # source://actionview//lib/action_view/template/renderable.rb#11 + # pkg:gem/actionview#lib/action_view/template/renderable.rb:11 def identifier; end - # source://actionview//lib/action_view/template/renderable.rb#15 + # pkg:gem/actionview#lib/action_view/template/renderable.rb:15 def render(context, *args); end end -# source://actionview//lib/action_view/template.rb#10 +# pkg:gem/actionview#lib/action_view/template.rb:10 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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/types.rb:29 def initialize(symbol); end - # source://actionview//lib/action_view/template/types.rb#43 + # pkg:gem/actionview#lib/action_view/template/types.rb:43 def ==(type); end - # source://actionview//lib/action_view/template/types.rb#38 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/types.rb:27 def symbol; end - # source://actionview//lib/action_view/template/types.rb#33 + # pkg:gem/actionview#lib/action_view/template/types.rb:33 def to_s; end - # source://actionview//lib/action_view/template/types.rb#36 + # pkg:gem/actionview#lib/action_view/template/types.rb:36 def to_str; end - # source://actionview//lib/action_view/template/types.rb#41 + # pkg:gem/actionview#lib/action_view/template/types.rb:41 def to_sym; end class << self - # source://actionview//lib/action_view/template/types.rb#14 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/types.rb:12 def symbols; end # :nodoc # # @return [Boolean] # - # source://actionview//lib/action_view/template/types.rb#22 + # pkg:gem/actionview#lib/action_view/template/types.rb:22 def valid_symbols?(symbols); end end end -# source://actionview//lib/action_view/template/sources.rb#5 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/sources/file.rb:7 def initialize(filename); end - # source://actionview//lib/action_view/template/sources/file.rb#11 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/text.rb:9 def initialize(string); end - # source://actionview//lib/action_view/template/text.rb#27 + # pkg:gem/actionview#lib/action_view/template/text.rb:27 def format; end - # source://actionview//lib/action_view/template/text.rb#13 + # pkg:gem/actionview#lib/action_view/template/text.rb:13 def identifier; end - # source://actionview//lib/action_view/template/text.rb#17 + # pkg:gem/actionview#lib/action_view/template/text.rb:17 def inspect; end - # source://actionview//lib/action_view/template/text.rb#23 + # pkg:gem/actionview#lib/action_view/template/text.rb:23 def render(*args); end - # source://actionview//lib/action_view/template/text.rb#19 + # pkg:gem/actionview#lib/action_view/template/text.rb:19 def to_str; end - # source://actionview//lib/action_view/template/text.rb#7 + # pkg:gem/actionview#lib/action_view/template/text.rb:7 def type; end - # source://actionview//lib/action_view/template/text.rb#7 + # pkg:gem/actionview#lib/action_view/template/text.rb:7 def type=(_arg0); end end -# source://actionview//lib/action_view/template.rb#189 +# pkg:gem/actionview#lib/action_view/template.rb:189 ActionView::Template::Types = Mime -# source://actionview//lib/action_view/template_details.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template_details.rb:33 def format; end - # source://actionview//lib/action_view/template_details.rb#62 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template_details.rb:33 def handler; end - # source://actionview//lib/action_view/template_details.rb#58 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template_details.rb:33 def locale; end # @return [Boolean] # - # source://actionview//lib/action_view/template_details.rb#42 + # pkg:gem/actionview#lib/action_view/template_details.rb:42 def matches?(requested); end - # source://actionview//lib/action_view/template_details.rb#49 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template_details.rb:33 def variant; end end -# source://actionview//lib/action_view/template_details.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template_details.rb:7 def variants_idx; end private - # source://actionview//lib/action_view/template_details.rb#28 + # pkg:gem/actionview#lib/action_view/template_details.rb:28 def build_idx_hash(arr); end end -# source://actionview//lib/action_view/template_details.rb#9 +# pkg:gem/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#254 +# pkg:gem/actionview#lib/action_view/template/error.rb:254 ActionView::TemplateError = ActionView::Template::Error # = Action View \TemplatePath @@ -15107,113 +15107,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 +# pkg:gem/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 + # pkg:gem/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#64 + # pkg:gem/actionview#lib/action_view/template_path.rb:64 def ==(other); end # @return [Boolean] # - # source://actionview//lib/action_view/template_path.rb#61 + # pkg:gem/actionview#lib/action_view/template_path.rb:61 def eql?(other); end - # source://actionview//lib/action_view/template_path.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#13 + # pkg:gem/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 + # pkg:gem/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#55 + # pkg:gem/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#54 + # pkg:gem/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 + # pkg:gem/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#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/actionview#lib/action_view/renderer/template_renderer.rb:4 class ActionView::TemplateRenderer < ::ActionView::AbstractRenderer - # source://actionview//lib/action_view/renderer/template_renderer.rb#5 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/renderer/template_renderer.rb:92 def resolve_layout(layout, keys, formats); end end @@ -15222,7 +15222,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 +# pkg:gem/actionview#lib/action_view/test_case.rb:15 class ActionView::TestCase < ::ActiveSupport::TestCase include ::ActionDispatch::Assertions::RoutingAssertions include ::ActionDispatch::Assertions::ResponseAssertions @@ -15276,75 +15276,75 @@ class ActionView::TestCase < ::ActiveSupport::TestCase extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods extend ::ActionView::TestCase::Behavior::ClassMethods - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helper_methods; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helper_methods=(_arg0); end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helper_methods?; end - # source://actionview//lib/action_view/test_case.rb#251 + # pkg:gem/actionview#lib/action_view/test_case.rb:251 def _run_setup_callbacks(&block); end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def debug_missing_translation; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def debug_missing_translation=(val); end class << self - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helper_methods; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helper_methods=(value); end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helper_methods?; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def _helpers; end - # source://actionview//lib/action_view/test_case.rb#249 + # pkg:gem/actionview#lib/action_view/test_case.rb:249 def content_class; end - # source://actionview//lib/action_view/test_case.rb#249 + # pkg:gem/actionview#lib/action_view/test_case.rb:249 def content_class=(value); end - # source://actionview//lib/action_view/test_case.rb#249 + # pkg:gem/actionview#lib/action_view/test_case.rb:249 def content_class?; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def debug_missing_translation; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def debug_missing_translation=(val); end private - # source://actionview//lib/action_view/test_case.rb#251 + # pkg:gem/actionview#lib/action_view/test_case.rb:251 def __class_attr___callbacks; end - # source://actionview//lib/action_view/test_case.rb#251 + # pkg:gem/actionview#lib/action_view/test_case.rb:251 def __class_attr___callbacks=(new_value); end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def __class_attr__helper_methods; end - # source://actionview//lib/action_view/test_case.rb#444 + # pkg:gem/actionview#lib/action_view/test_case.rb:444 def __class_attr__helper_methods=(new_value); end - # source://actionview//lib/action_view/test_case.rb#249 + # pkg:gem/actionview#lib/action_view/test_case.rb:249 def __class_attr_content_class; end - # source://actionview//lib/action_view/test_case.rb#249 + # pkg:gem/actionview#lib/action_view/test_case.rb:249 def __class_attr_content_class=(new_value); end end end -# source://actionview//lib/action_view/test_case.rb#45 +# pkg:gem/actionview#lib/action_view/test_case.rb:45 module ActionView::TestCase::Behavior include ::ActionDispatch::TestProcess::FixtureFile include ::ActionDispatch::TestProcess @@ -15380,40 +15380,40 @@ module ActionView::TestCase::Behavior mixes_in_class_methods ::ActiveSupport::Testing::ConstantLookup::ClassMethods mixes_in_class_methods ::ActionView::TestCase::Behavior::ClassMethods - # source://actionview//lib/action_view/test_case.rb#295 + # pkg:gem/actionview#lib/action_view/test_case.rb:295 def _routes; end - # source://actionview//lib/action_view/test_case.rb#281 + # pkg:gem/actionview#lib/action_view/test_case.rb:281 def config; end # Returns the value of attribute controller. # - # source://actionview//lib/action_view/test_case.rb#63 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/test_case.rb:63 def controller=(_arg0); end - # source://actionview//lib/action_view/test_case.rb#62 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/test_case.rb:63 def output_buffer=(_arg0); end - # source://actionview//lib/action_view/test_case.rb#285 + # pkg:gem/actionview#lib/action_view/test_case.rb:285 def render(options = T.unsafe(nil), local_assigns = T.unsafe(nil), &block); end # Returns the content rendered by the last +render+ call. @@ -15464,7 +15464,7 @@ module ActionView::TestCase::Behavior # assert_pattern { rendered.json => { title: "Hello, world" } } # end # - # source://actionview//lib/action_view/test_case.rb#112 + # pkg:gem/actionview#lib/action_view/test_case.rb:112 def rendered; end # Returns the content rendered by the last +render+ call. @@ -15515,53 +15515,53 @@ module ActionView::TestCase::Behavior # assert_pattern { rendered.json => { title: "Hello, world" } } # end # - # source://actionview//lib/action_view/test_case.rb#112 + # pkg:gem/actionview#lib/action_view/test_case.rb:112 def rendered=(_arg0); end - # source://actionview//lib/action_view/test_case.rb#291 + # pkg:gem/actionview#lib/action_view/test_case.rb:291 def rendered_views; end # Returns the value of attribute request. # - # source://actionview//lib/action_view/test_case.rb#63 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/test_case.rb:63 def request=(_arg0); end - # source://actionview//lib/action_view/test_case.rb#269 + # pkg:gem/actionview#lib/action_view/test_case.rb:269 def setup_with_controller; end private - # source://actionview//lib/action_view/test_case.rb#401 + # pkg:gem/actionview#lib/action_view/test_case.rb:401 def _user_defined_ivars; end # The instance of ActionView::Base that is used by +render+. # - # source://actionview//lib/action_view/test_case.rb#364 + # pkg:gem/actionview#lib/action_view/test_case.rb:364 def _view; end # Need to experiment if this priority is the best one: rendered => output_buffer # - # source://actionview//lib/action_view/test_case.rb#329 + # pkg:gem/actionview#lib/action_view/test_case.rb:329 def document_root_element; end - # source://actionview//lib/action_view/test_case.rb#415 + # pkg:gem/actionview#lib/action_view/test_case.rb:415 def method_missing(selector, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://actionview//lib/action_view/test_case.rb#431 + # pkg:gem/actionview#lib/action_view/test_case.rb:431 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#353 + # pkg:gem/actionview#lib/action_view/test_case.rb:353 def view; end # Returns a Hash of instance variables and their values, as defined by @@ -15569,7 +15569,7 @@ module ActionView::TestCase::Behavior # rendered. This is generally intended for internal use and extension # frameworks. # - # source://actionview//lib/action_view/test_case.rb#409 + # pkg:gem/actionview#lib/action_view/test_case.rb:409 def view_assigns; end module GeneratedClassMethods @@ -15588,28 +15588,28 @@ module ActionView::TestCase::Behavior end end -# source://actionview//lib/action_view/test_case.rb#114 +# pkg:gem/actionview#lib/action_view/test_case.rb:114 module ActionView::TestCase::Behavior::ClassMethods - # source://actionview//lib/action_view/test_case.rb#213 + # pkg:gem/actionview#lib/action_view/test_case.rb:213 def determine_default_helper_class(name); end - # source://actionview//lib/action_view/test_case.rb#232 + # pkg:gem/actionview#lib/action_view/test_case.rb:232 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#230 + # pkg:gem/actionview#lib/action_view/test_case.rb:230 def helper_class=(_arg0); end - # source://actionview//lib/action_view/test_case.rb#219 + # pkg:gem/actionview#lib/action_view/test_case.rb:219 def helper_method(*methods); end - # source://actionview//lib/action_view/test_case.rb#115 + # pkg:gem/actionview#lib/action_view/test_case.rb:115 def inherited(descendant); end - # source://actionview//lib/action_view/test_case.rb#236 + # pkg:gem/actionview#lib/action_view/test_case.rb:236 def new(*_arg0); end # Register a callable to parse rendered content for a given template @@ -15682,226 +15682,226 @@ module ActionView::TestCase::Behavior::ClassMethods # rendered.html.assert_css "h1", text: "Hello, world" # end # - # source://actionview//lib/action_view/test_case.rb#197 + # pkg:gem/actionview#lib/action_view/test_case.rb:197 def register_parser(format, callable = T.unsafe(nil), &block); end - # source://actionview//lib/action_view/test_case.rb#204 + # pkg:gem/actionview#lib/action_view/test_case.rb:204 def tests(helper_class); end private - # source://actionview//lib/action_view/test_case.rb#242 + # pkg:gem/actionview#lib/action_view/test_case.rb:242 def include_helper_modules!; end end -# source://actionview//lib/action_view/test_case.rb#366 +# pkg:gem/actionview#lib/action_view/test_case.rb:366 ActionView::TestCase::Behavior::INTERNAL_IVARS = T.let(T.unsafe(nil), Array) -# source://actionview//lib/action_view/test_case.rb#333 +# pkg:gem/actionview#lib/action_view/test_case.rb:333 module ActionView::TestCase::Behavior::Locals - # source://actionview//lib/action_view/test_case.rb#336 + # pkg:gem/actionview#lib/action_view/test_case.rb:336 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#334 + # pkg:gem/actionview#lib/action_view/test_case.rb:334 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#334 + # pkg:gem/actionview#lib/action_view/test_case.rb:334 def rendered_views=(_arg0); end end -# source://actionview//lib/action_view/test_case.rb#299 +# pkg:gem/actionview#lib/action_view/test_case.rb:299 class ActionView::TestCase::Behavior::RenderedViewContent < ::String - # source://actionview//lib/action_view/test_case.rb#199 + # pkg:gem/actionview#lib/action_view/test_case.rb:199 def html; end - # source://actionview//lib/action_view/test_case.rb#199 + # pkg:gem/actionview#lib/action_view/test_case.rb:199 def json; end end -# source://actionview//lib/action_view/test_case.rb#302 +# pkg:gem/actionview#lib/action_view/test_case.rb:302 class ActionView::TestCase::Behavior::RenderedViewsCollection # @return [RenderedViewsCollection] a new instance of RenderedViewsCollection # - # source://actionview//lib/action_view/test_case.rb#303 + # pkg:gem/actionview#lib/action_view/test_case.rb:303 def initialize; end - # source://actionview//lib/action_view/test_case.rb#307 + # pkg:gem/actionview#lib/action_view/test_case.rb:307 def add(view, locals); end - # source://actionview//lib/action_view/test_case.rb#312 + # pkg:gem/actionview#lib/action_view/test_case.rb:312 def locals_for(view); end - # source://actionview//lib/action_view/test_case.rb#316 + # pkg:gem/actionview#lib/action_view/test_case.rb:316 def rendered_views; end # @return [Boolean] # - # source://actionview//lib/action_view/test_case.rb#320 + # pkg:gem/actionview#lib/action_view/test_case.rb:320 def view_rendered?(view, expected_locals); end end -# source://actionview//lib/action_view/test_case.rb#444 +# pkg:gem/actionview#lib/action_view/test_case.rb:444 module ActionView::TestCase::HelperMethods - # source://actionview//lib/action_view/test_case.rb#263 + # pkg:gem/actionview#lib/action_view/test_case.rb:263 def _test_case; end - # source://actionview//lib/action_view/test_case.rb#259 + # pkg:gem/actionview#lib/action_view/test_case.rb:259 def protect_against_forgery?; end end -# source://actionview//lib/action_view/test_case.rb#16 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/test_case.rb:34 def initialize; end - # source://actionview//lib/action_view/test_case.rb#26 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/test_case.rb:19 def response=(_arg0); end private - # source://actionview//lib/action_view/test_case.rb#16 + # pkg:gem/actionview#lib/action_view/test_case.rb:16 def _layout(lookup_context, formats, keys); end class << self - # source://actionview//lib/action_view/test_case.rb#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/test_case.rb:23 def controller_path=(_arg0); end private - # source://actionview//lib/action_view/test_case.rb#16 + # pkg:gem/actionview#lib/action_view/test_case.rb:16 def __class_attr_config; end - # source://actionview//lib/action_view/test_case.rb#16 + # pkg:gem/actionview#lib/action_view/test_case.rb:16 def __class_attr_config=(new_value); end - # source://actionview//lib/action_view/test_case.rb#16 + # pkg:gem/actionview#lib/action_view/test_case.rb:16 def __class_attr_middleware_stack; end - # source://actionview//lib/action_view/test_case.rb#16 + # pkg:gem/actionview#lib/action_view/test_case.rb:16 def __class_attr_middleware_stack=(new_value); end end end -# source://actionview//lib/action_view/unbound_template.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:20 def bind_locals(locals); end - # source://actionview//lib/action_view/unbound_template.rb#44 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:7 def details; end - # source://actionview//lib/action_view/unbound_template.rb#8 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:8 def format(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/unbound_template.rb#8 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:8 def handler(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/unbound_template.rb#8 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:8 def locale(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/unbound_template.rb#8 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:7 def virtual_path; end private - # source://actionview//lib/action_view/unbound_template.rb#49 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:49 def build_template(locals); end - # source://actionview//lib/action_view/unbound_template.rb#63 + # pkg:gem/actionview#lib/action_view/unbound_template.rb:63 def normalize_locals(locals); end end -# source://actionview//lib/action_view/gem_version.rb#9 +# pkg:gem/actionview#lib/action_view/gem_version.rb:9 module ActionView::VERSION; end -# source://actionview//lib/action_view/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/gem_version.rb:13 ActionView::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://actionview//lib/action_view/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/actionview#lib/action_view/view_paths.rb:4 module ActionView::ViewPaths extend ::ActiveSupport::Concern @@ -15909,10 +15909,10 @@ module ActionView::ViewPaths # The prefixes used in render "foo" shortcuts. # - # source://actionview//lib/action_view/view_paths.rb#81 + # pkg:gem/actionview#lib/action_view/view_paths.rb:81 def _prefixes; end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/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. @@ -15922,29 +15922,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 + # pkg:gem/actionview#lib/action_view/view_paths.rb:103 def append_view_path(path); end - # source://actionview//lib/action_view/view_paths.rb#93 + # pkg:gem/actionview#lib/action_view/view_paths.rb:93 def details_for_lookup; end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/actionview#lib/action_view/view_paths.rb:11 def formats(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/actionview#lib/action_view/view_paths.rb:11 def formats=(arg); end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/actionview#lib/action_view/view_paths.rb:11 def locale(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/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 + # pkg:gem/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. @@ -15954,28 +15954,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 + # pkg:gem/actionview#lib/action_view/view_paths.rb:113 def prepend_view_path(path); end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/actionview#lib/action_view/view_paths.rb:11 def template_exists?(*_arg0, **_arg1, &_arg2); end - # source://actionview//lib/action_view/view_paths.rb#11 + # pkg:gem/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 +# pkg:gem/actionview#lib/action_view/view_paths.rb:14 module ActionView::ViewPaths::ClassMethods - # source://actionview//lib/action_view/view_paths.rb#31 + # pkg:gem/actionview#lib/action_view/view_paths.rb:31 def _build_view_paths(paths); end - # source://actionview//lib/action_view/view_paths.rb#23 + # pkg:gem/actionview#lib/action_view/view_paths.rb:23 def _prefixes; end - # source://actionview//lib/action_view/view_paths.rb#15 + # pkg:gem/actionview#lib/action_view/view_paths.rb:15 def _view_paths; end - # source://actionview//lib/action_view/view_paths.rb#19 + # pkg:gem/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. @@ -15985,7 +15985,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 + # pkg:gem/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. @@ -15995,12 +15995,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 + # pkg:gem/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 + # pkg:gem/actionview#lib/action_view/view_paths.rb:59 def view_paths; end # Set the view paths. @@ -16009,7 +16009,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 + # pkg:gem/actionview#lib/action_view/view_paths.rb:68 def view_paths=(paths); end private @@ -16017,19 +16017,17 @@ 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 + # pkg:gem/actionview#lib/action_view/view_paths.rb:75 def local_prefixes; end end -# source://actionview//lib/action_view/template/error.rb#14 +# pkg:gem/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 + # pkg:gem/actionview#lib/action_view/template/error.rb:15 def initialize(string, encoding); end - # source://actionview//lib/action_view/template/error.rb#19 + # pkg:gem/actionview#lib/action_view/template/error.rb:19 def message; end end - -module ERB::Escape; end diff --git a/sorbet/rbi/gems/activejob@8.1.1.rbi b/sorbet/rbi/gems/activejob@8.1.1.rbi index 05c7992c1..af15e2d44 100644 --- a/sorbet/rbi/gems/activejob@8.1.1.rbi +++ b/sorbet/rbi/gems/activejob@8.1.1.rbi @@ -8,48 +8,48 @@ # :markup: markdown # :include: ../README.md # -# source://activejob//lib/active_job/gem_version.rb#3 +# pkg:gem/activejob#lib/active_job/gem_version.rb:3 module ActiveJob extend ::ActiveSupport::Autoload class << self - # source://activejob//lib/active_job/queue_adapter.rb#7 + # pkg:gem/activejob#lib/active_job/queue_adapter.rb:7 def adapter_name(adapter); end - # source://activejob//lib/active_job/deprecator.rb#4 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/enqueuing.rb:14 def perform_all_later(*jobs); end - # source://activejob//lib/active_job.rb#60 + # pkg:gem/activejob#lib/active_job.rb:60 def verbose_enqueue_logs; end - # source://activejob//lib/active_job.rb#60 + # pkg:gem/activejob#lib/active_job.rb:60 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 + # pkg:gem/activejob#lib/active_job/version.rb:7 def version; end private - # source://activejob//lib/active_job/instrumentation.rb#6 + # pkg:gem/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 +# pkg:gem/activejob#lib/active_job/arguments.rb:28 module ActiveJob::Arguments extend ::ActiveJob::Arguments @@ -58,7 +58,7 @@ module ActiveJob::Arguments # deserialized element by element. All other types are deserialized using # GlobalID. # - # source://activejob//lib/active_job/arguments.rb#82 + # pkg:gem/activejob#lib/active_job/arguments.rb:82 def deserialize(arguments); end # Serializes a set of arguments. Intrinsic types that can safely be @@ -66,65 +66,65 @@ module ActiveJob::Arguments # serialized element by element. All other types are serialized using # GlobalID. # - # source://activejob//lib/active_job/arguments.rb#34 + # pkg:gem/activejob#lib/active_job/arguments.rb:34 def serialize(arguments); end - # source://activejob//lib/active_job/arguments.rb#38 + # pkg:gem/activejob#lib/active_job/arguments.rb:38 def serialize_argument(argument); end private - # source://activejob//lib/active_job/arguments.rb#193 + # pkg:gem/activejob#lib/active_job/arguments.rb:193 def convert_to_global_id_hash(argument); end # @return [Boolean] # - # source://activejob//lib/active_job/arguments.rb#138 + # pkg:gem/activejob#lib/active_job/arguments.rb:138 def custom_serialized?(hash); end - # source://activejob//lib/active_job/arguments.rb#111 + # pkg:gem/activejob#lib/active_job/arguments.rb:111 def deserialize_argument(argument); end - # source://activejob//lib/active_job/arguments.rb#134 + # pkg:gem/activejob#lib/active_job/arguments.rb:134 def deserialize_global_id(hash); end - # source://activejob//lib/active_job/arguments.rb#148 + # pkg:gem/activejob#lib/active_job/arguments.rb:148 def deserialize_hash(serialized_hash); end - # source://activejob//lib/active_job/arguments.rb#142 + # pkg:gem/activejob#lib/active_job/arguments.rb:142 def serialize_hash(argument); end - # source://activejob//lib/active_job/arguments.rb#161 + # pkg:gem/activejob#lib/active_job/arguments.rb:161 def serialize_hash_key(key); end - # source://activejob//lib/active_job/arguments.rb#174 + # pkg:gem/activejob#lib/active_job/arguments.rb:174 def serialize_indifferent_hash(indifferent_hash); end # @return [Boolean] # - # source://activejob//lib/active_job/arguments.rb#130 + # pkg:gem/activejob#lib/active_job/arguments.rb:130 def serialized_global_id?(hash); end - # source://activejob//lib/active_job/arguments.rb#180 + # pkg:gem/activejob#lib/active_job/arguments.rb:180 def transform_symbol_keys(hash, symbol_keys); end end -# source://activejob//lib/active_job/arguments.rb#90 +# pkg:gem/activejob#lib/active_job/arguments.rb:90 ActiveJob::Arguments::GLOBALID_KEY = T.let(T.unsafe(nil), String) -# source://activejob//lib/active_job/arguments.rb#98 +# pkg:gem/activejob#lib/active_job/arguments.rb:98 ActiveJob::Arguments::OBJECT_SERIALIZER_KEY = T.let(T.unsafe(nil), String) -# source://activejob//lib/active_job/arguments.rb#101 +# pkg:gem/activejob#lib/active_job/arguments.rb:101 ActiveJob::Arguments::RESERVED_KEYS = T.let(T.unsafe(nil), Set) -# source://activejob//lib/active_job/arguments.rb#94 +# pkg:gem/activejob#lib/active_job/arguments.rb:94 ActiveJob::Arguments::RUBY2_KEYWORDS_KEY = T.let(T.unsafe(nil), String) -# source://activejob//lib/active_job/arguments.rb#92 +# pkg:gem/activejob#lib/active_job/arguments.rb:92 ActiveJob::Arguments::SYMBOL_KEYS_KEY = T.let(T.unsafe(nil), String) -# source://activejob//lib/active_job/arguments.rb#96 +# pkg:gem/activejob#lib/active_job/arguments.rb:96 ActiveJob::Arguments::WITH_INDIFFERENT_ACCESS_KEY = T.let(T.unsafe(nil), String) # = Active Job \Base @@ -173,7 +173,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 +# pkg:gem/activejob#lib/active_job/base.rb:63 class ActiveJob::Base include ::ActiveJob::Core include ::ActiveJob::QueueAdapter @@ -204,304 +204,304 @@ class ActiveJob::Base extend ::Sidekiq::Job::Options::ClassMethods extend ::ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def __callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _enqueue_callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _perform_callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _run_enqueue_callbacks(&block); end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _run_enqueue_callbacks!(&block); end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _run_perform_callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _run_perform_callbacks!(&block); end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def after_discard_procs; end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def after_discard_procs=(_arg0); end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def after_discard_procs?; end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def logger; end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def logger=(val); end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def queue_adapter(&_arg0); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_prefix; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_prefix=(_arg0); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_prefix?; end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def rescue_handlers; end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def rescue_handlers=(_arg0); end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def rescue_handlers?; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_options_hash; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_options_hash=(_arg0); end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retries_exhausted_block; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retries_exhausted_block=(_arg0); end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retry_in_block; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retry_in_block=(_arg0); end class << self - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def __callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def __callbacks=(value); end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _enqueue_callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _enqueue_callbacks=(value); end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _perform_callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def _perform_callbacks=(value); end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def _queue_adapter; end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def _queue_adapter=(value); end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def _queue_adapter_name; end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def _queue_adapter_name=(value); end - # source://activejob//lib/active_job/test_helper.rb#19 + # pkg:gem/activejob#lib/active_job/test_helper.rb:19 def _test_adapter; end - # source://activejob//lib/active_job/test_helper.rb#19 + # pkg:gem/activejob#lib/active_job/test_helper.rb:19 def _test_adapter=(value); end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def after_discard_procs; end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def after_discard_procs=(value); end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def after_discard_procs?; end - # source://activejob//lib/active_job/base.rb#68 + # pkg:gem/activejob#lib/active_job/base.rb:68 def enqueue_after_transaction_commit; end - # source://activejob//lib/active_job/base.rb#68 + # pkg:gem/activejob#lib/active_job/base.rb:68 def enqueue_after_transaction_commit=(value); end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def log_arguments; end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def log_arguments=(value); end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def log_arguments?; end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def logger; end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def logger=(val); end - # source://activejob//lib/active_job/base.rb#67 + # pkg:gem/activejob#lib/active_job/base.rb:67 def priority; end - # source://activejob//lib/active_job/base.rb#67 + # pkg:gem/activejob#lib/active_job/base.rb:67 def priority=(value); end - # source://activejob//lib/active_job/base.rb#67 + # pkg:gem/activejob#lib/active_job/base.rb:67 def priority?; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name=(value); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name?; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_delimiter; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_delimiter=(value); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_delimiter?; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_prefix; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_prefix=(value); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def queue_name_prefix?; end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def rescue_handlers; end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def rescue_handlers=(value); end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def rescue_handlers?; end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def retry_jitter; end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def retry_jitter=(value); end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_options_hash; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_options_hash=(val); end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retries_exhausted_block; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retries_exhausted_block=(val); end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retry_in_block; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def sidekiq_retry_in_block=(val); end private - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def __class_attr___callbacks; end - # source://activejob//lib/active_job/base.rb#70 + # pkg:gem/activejob#lib/active_job/base.rb:70 def __class_attr___callbacks=(new_value); end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def __class_attr__queue_adapter; end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def __class_attr__queue_adapter=(new_value); end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def __class_attr__queue_adapter_name; end - # source://activejob//lib/active_job/base.rb#65 + # pkg:gem/activejob#lib/active_job/base.rb:65 def __class_attr__queue_adapter_name=(new_value); end - # source://activejob//lib/active_job/test_helper.rb#19 + # pkg:gem/activejob#lib/active_job/test_helper.rb:19 def __class_attr__test_adapter; end - # source://activejob//lib/active_job/test_helper.rb#19 + # pkg:gem/activejob#lib/active_job/test_helper.rb:19 def __class_attr__test_adapter=(new_value); end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def __class_attr_after_discard_procs; end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def __class_attr_after_discard_procs=(new_value); end - # source://activejob//lib/active_job/base.rb#68 + # pkg:gem/activejob#lib/active_job/base.rb:68 def __class_attr_enqueue_after_transaction_commit; end - # source://activejob//lib/active_job/base.rb#68 + # pkg:gem/activejob#lib/active_job/base.rb:68 def __class_attr_enqueue_after_transaction_commit=(new_value); end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def __class_attr_log_arguments; end - # source://activejob//lib/active_job/base.rb#73 + # pkg:gem/activejob#lib/active_job/base.rb:73 def __class_attr_log_arguments=(new_value); end - # source://activejob//lib/active_job/base.rb#67 + # pkg:gem/activejob#lib/active_job/base.rb:67 def __class_attr_priority; end - # source://activejob//lib/active_job/base.rb#67 + # pkg:gem/activejob#lib/active_job/base.rb:67 def __class_attr_priority=(new_value); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def __class_attr_queue_name; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def __class_attr_queue_name=(new_value); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def __class_attr_queue_name_delimiter; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def __class_attr_queue_name_delimiter=(new_value); end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def __class_attr_queue_name_prefix; end - # source://activejob//lib/active_job/base.rb#66 + # pkg:gem/activejob#lib/active_job/base.rb:66 def __class_attr_queue_name_prefix=(new_value); end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def __class_attr_rescue_handlers; end - # source://activejob//lib/active_job/base.rb#69 + # pkg:gem/activejob#lib/active_job/base.rb:69 def __class_attr_rescue_handlers=(new_value); end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def __class_attr_retry_jitter; end - # source://activejob//lib/active_job/base.rb#71 + # pkg:gem/activejob#lib/active_job/base.rb:71 def __class_attr_retry_jitter=(new_value); end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def __synchronized_sidekiq_options_hash; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def __synchronized_sidekiq_retries_exhausted_block; end - # source://activejob//lib/active_job/base.rb#76 + # pkg:gem/activejob#lib/active_job/base.rb:76 def __synchronized_sidekiq_retry_in_block; end end end @@ -518,7 +518,7 @@ end # * around_perform # * after_perform # -# source://activejob//lib/active_job/callbacks.rb#18 +# pkg:gem/activejob#lib/active_job/callbacks.rb:18 module ActiveJob::Callbacks extend ::ActiveSupport::Concern extend ::ActiveSupport::Callbacks @@ -531,21 +531,21 @@ module ActiveJob::Callbacks mixes_in_class_methods ::ActiveJob::Callbacks::ClassMethods class << self - # source://activejob//lib/active_job/callbacks.rb#23 + # pkg:gem/activejob#lib/active_job/callbacks.rb:23 def __callbacks; end - # source://activejob//lib/active_job/callbacks.rb#24 + # pkg:gem/activejob#lib/active_job/callbacks.rb:24 def _execute_callbacks; end - # source://activejob//lib/active_job/callbacks.rb#24 + # pkg:gem/activejob#lib/active_job/callbacks.rb:24 def _run_execute_callbacks; end - # source://activejob//lib/active_job/callbacks.rb#24 + # pkg:gem/activejob#lib/active_job/callbacks.rb:24 def _run_execute_callbacks!(&block); end private - # source://activejob//lib/active_job/callbacks.rb#23 + # pkg:gem/activejob#lib/active_job/callbacks.rb:23 def __class_attr___callbacks; end end @@ -562,7 +562,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#34 +# pkg:gem/activejob#lib/active_job/callbacks.rb:34 module ActiveJob::Callbacks::ClassMethods # Defines a callback that will get called right after the # job is enqueued. @@ -580,7 +580,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob//lib/active_job/callbacks.rb#141 + # pkg:gem/activejob#lib/active_job/callbacks.rb:141 def after_enqueue(*filters, &blk); end # Defines a callback that will get called right after the @@ -598,7 +598,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob//lib/active_job/callbacks.rb#69 + # pkg:gem/activejob#lib/active_job/callbacks.rb:69 def after_perform(*filters, &blk); end # Defines a callback that will get called around the enqueuing @@ -618,7 +618,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob//lib/active_job/callbacks.rb#162 + # pkg:gem/activejob#lib/active_job/callbacks.rb:162 def around_enqueue(*filters, &blk); end # Defines a callback that will get called around the job's perform method. @@ -650,7 +650,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob//lib/active_job/callbacks.rb#102 + # pkg:gem/activejob#lib/active_job/callbacks.rb:102 def around_perform(*filters, &blk); end # Defines a callback that will get called right before the @@ -668,7 +668,7 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob//lib/active_job/callbacks.rb#121 + # pkg:gem/activejob#lib/active_job/callbacks.rb:121 def before_enqueue(*filters, &blk); end # Defines a callback that will get called right before the @@ -686,23 +686,23 @@ module ActiveJob::Callbacks::ClassMethods # end # end # - # source://activejob//lib/active_job/callbacks.rb#50 + # pkg:gem/activejob#lib/active_job/callbacks.rb:50 def before_perform(*filters, &blk); end end -# source://activejob//lib/active_job/configured_job.rb#4 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/configured_job.rb:5 def initialize(job_class, options = T.unsafe(nil)); end # @yield [job] # - # source://activejob//lib/active_job/configured_job.rb#14 + # pkg:gem/activejob#lib/active_job/configured_job.rb:14 def perform_later(*_arg0, **_arg1, &_arg2); end - # source://activejob//lib/active_job/configured_job.rb#10 + # pkg:gem/activejob#lib/active_job/configured_job.rb:10 def perform_now(*_arg0, **_arg1, &_arg2); end end @@ -715,54 +715,54 @@ end # # See {ActiveJob::Continuation}[rdoc-ref:ActiveJob::Continuation] for usage. # -# source://activejob//lib/active_job/continuable.rb#13 +# pkg:gem/activejob#lib/active_job/continuable.rb:13 module ActiveJob::Continuable extend ::ActiveSupport::Concern include GeneratedInstanceMethods mixes_in_class_methods GeneratedClassMethods - # source://activejob//lib/active_job/continuable.rb#62 + # pkg:gem/activejob#lib/active_job/continuable.rb:62 def checkpoint!; end - # source://activejob//lib/active_job/continuable.rb#33 + # pkg:gem/activejob#lib/active_job/continuable.rb:33 def continuation; end - # source://activejob//lib/active_job/continuable.rb#33 + # pkg:gem/activejob#lib/active_job/continuable.rb:33 def continuation=(_arg0); end - # source://activejob//lib/active_job/continuable.rb#56 + # pkg:gem/activejob#lib/active_job/continuable.rb:56 def deserialize(job_data); end # @raise [Continuation::Interrupt] # - # source://activejob//lib/active_job/continuable.rb#66 + # pkg:gem/activejob#lib/active_job/continuable.rb:66 def interrupt!(reason:); end # The number of times the job has been resumed. # - # source://activejob//lib/active_job/continuable.rb#31 + # pkg:gem/activejob#lib/active_job/continuable.rb:31 def resumptions; end # The number of times the job has been resumed. # - # source://activejob//lib/active_job/continuable.rb#31 + # pkg:gem/activejob#lib/active_job/continuable.rb:31 def resumptions=(_arg0); end - # source://activejob//lib/active_job/continuable.rb#52 + # pkg:gem/activejob#lib/active_job/continuable.rb:52 def serialize; end # Start a new continuation step # - # source://activejob//lib/active_job/continuable.rb#36 + # pkg:gem/activejob#lib/active_job/continuable.rb:36 def step(step_name, start: T.unsafe(nil), isolated: T.unsafe(nil), &block); end private - # source://activejob//lib/active_job/continuable.rb#72 + # pkg:gem/activejob#lib/active_job/continuable.rb:72 def continue(&block); end - # source://activejob//lib/active_job/continuable.rb#91 + # pkg:gem/activejob#lib/active_job/continuable.rb:91 def resume_job(exception); end module GeneratedClassMethods @@ -967,120 +967,120 @@ end # * :resume_errors_after_advancing - Whether to resume errors after advancing the continuation. # Defaults to +true+. # -# source://activejob//lib/active_job/continuation.rb#186 +# pkg:gem/activejob#lib/active_job/continuation.rb:186 class ActiveJob::Continuation include ::ActiveJob::Continuation::Validation extend ::ActiveSupport::Autoload # @return [Continuation] a new instance of Continuation # - # source://activejob//lib/active_job/continuation.rb#214 + # pkg:gem/activejob#lib/active_job/continuation.rb:214 def initialize(job, serialized_progress); end # @return [Boolean] # - # source://activejob//lib/active_job/continuation.rb#256 + # pkg:gem/activejob#lib/active_job/continuation.rb:256 def advanced?; end - # source://activejob//lib/active_job/continuation.rb#242 + # pkg:gem/activejob#lib/active_job/continuation.rb:242 def description; end - # source://activejob//lib/active_job/continuation.rb#260 + # pkg:gem/activejob#lib/active_job/continuation.rb:260 def instrumentation; end # @return [Boolean] # - # source://activejob//lib/active_job/continuation.rb#252 + # pkg:gem/activejob#lib/active_job/continuation.rb:252 def started?; end - # source://activejob//lib/active_job/continuation.rb#224 + # pkg:gem/activejob#lib/active_job/continuation.rb:224 def step(name, **options, &block); end - # source://activejob//lib/active_job/continuation.rb#235 + # pkg:gem/activejob#lib/active_job/continuation.rb:235 def to_h; end private # Returns the value of attribute completed. # - # source://activejob//lib/active_job/continuation.rb#267 + # pkg:gem/activejob#lib/active_job/continuation.rb:267 def completed; end # @return [Boolean] # - # source://activejob//lib/active_job/continuation.rb#277 + # pkg:gem/activejob#lib/active_job/continuation.rb:277 def completed?(name); end # Returns the value of attribute current. # - # source://activejob//lib/active_job/continuation.rb#267 + # pkg:gem/activejob#lib/active_job/continuation.rb:267 def current; end # Returns the value of attribute encountered. # - # source://activejob//lib/active_job/continuation.rb#267 + # pkg:gem/activejob#lib/active_job/continuation.rb:267 def encountered; end - # source://activejob//lib/active_job/continuation.rb#326 + # pkg:gem/activejob#lib/active_job/continuation.rb:326 def instrument(*_arg0, **_arg1, &_arg2); end - # source://activejob//lib/active_job/continuation.rb#315 + # pkg:gem/activejob#lib/active_job/continuation.rb:315 def instrumenting_step(step, &block); end # @return [Boolean] # - # source://activejob//lib/active_job/continuation.rb#273 + # pkg:gem/activejob#lib/active_job/continuation.rb:273 def isolating?; end # Returns the value of attribute job. # - # source://activejob//lib/active_job/continuation.rb#267 + # pkg:gem/activejob#lib/active_job/continuation.rb:267 def job; end - # source://activejob//lib/active_job/continuation.rb#281 + # pkg:gem/activejob#lib/active_job/continuation.rb:281 def new_step(*args, **options); end - # source://activejob//lib/active_job/continuation.rb#289 + # pkg:gem/activejob#lib/active_job/continuation.rb:289 def run_step(name, start:, isolated:, &block); end - # source://activejob//lib/active_job/continuation.rb#299 + # pkg:gem/activejob#lib/active_job/continuation.rb:299 def run_step_inline(name, start:, **options, &block); end # @return [Boolean] # - # source://activejob//lib/active_job/continuation.rb#269 + # pkg:gem/activejob#lib/active_job/continuation.rb:269 def running_step?; end - # source://activejob//lib/active_job/continuation.rb#285 + # pkg:gem/activejob#lib/active_job/continuation.rb:285 def skip_step(name); end end # Raised when there is an error with a checkpoint, such as open database transactions. # -# source://activejob//lib/active_job/continuation.rb#203 +# pkg:gem/activejob#lib/active_job/continuation.rb:203 class ActiveJob::Continuation::CheckpointError < ::ActiveJob::Continuation::Error; end # Base class for all Continuation errors. # -# source://activejob//lib/active_job/continuation.rb#197 +# pkg:gem/activejob#lib/active_job/continuation.rb:197 class ActiveJob::Continuation::Error < ::StandardError; end # Raised when a job is interrupted, allowing Active Job to requeue it. # This inherits from +Exception+ rather than +StandardError+, so it's not # caught by normal exception handling. # -# source://activejob//lib/active_job/continuation.rb#194 +# pkg:gem/activejob#lib/active_job/continuation.rb:194 class ActiveJob::Continuation::Interrupt < ::Exception; end # Raised when a step is invalid. # -# source://activejob//lib/active_job/continuation.rb#200 +# pkg:gem/activejob#lib/active_job/continuation.rb:200 class ActiveJob::Continuation::InvalidStepError < ::ActiveJob::Continuation::Error; end # Raised when a job has reached its limit of the number of resumes. # The limit is defined by the +max_resumes+ class attribute. # -# source://activejob//lib/active_job/continuation.rb#210 +# pkg:gem/activejob#lib/active_job/continuation.rb:210 class ActiveJob::Continuation::ResumeLimitError < ::ActiveJob::Continuation::Error; end # = Active Job Continuation Step @@ -1097,11 +1097,11 @@ class ActiveJob::Continuation::ResumeLimitError < ::ActiveJob::Continuation::Err # It is the responsibility of the code in the step to use the cursor correctly to resume # from where it left off. # -# source://activejob//lib/active_job/continuation/step.rb#18 +# pkg:gem/activejob#lib/active_job/continuation/step.rb:18 class ActiveJob::Continuation::Step # @return [Step] a new instance of Step # - # source://activejob//lib/active_job/continuation/step.rb#25 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:25 def initialize(name, cursor, job:, resumed:); end # Advance the cursor from the current or supplied value @@ -1109,93 +1109,93 @@ class ActiveJob::Continuation::Step # The cursor will be advanced by calling the +succ+ method on the cursor. # An UnadvanceableCursorError error will be raised if the cursor does not implement +succ+. # - # source://activejob//lib/active_job/continuation/step.rb#49 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:49 def advance!(from: T.unsafe(nil)); end # Has the cursor been advanced during this job execution? # # @return [Boolean] # - # source://activejob//lib/active_job/continuation/step.rb#67 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:67 def advanced?; end # Check if the job should be interrupted, and if so raise an Interrupt exception. # The job will be requeued for retry. # - # source://activejob//lib/active_job/continuation/step.rb#35 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:35 def checkpoint!; end # The cursor for the step. # - # source://activejob//lib/active_job/continuation/step.rb#23 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:23 def cursor; end - # source://activejob//lib/active_job/continuation/step.rb#75 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:75 def description; end # The name of the step. # - # source://activejob//lib/active_job/continuation/step.rb#20 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:20 def name; end # Has this step been resumed from a previous job execution? # # @return [Boolean] # - # source://activejob//lib/active_job/continuation/step.rb#62 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:62 def resumed?; end # Set the cursor and interrupt the job if necessary. # - # source://activejob//lib/active_job/continuation/step.rb#40 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:40 def set!(cursor); end - # source://activejob//lib/active_job/continuation/step.rb#71 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:71 def to_a; end private # Returns the value of attribute initial_cursor. # - # source://activejob//lib/active_job/continuation/step.rb#80 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:80 def initial_cursor; end # Returns the value of attribute job. # - # source://activejob//lib/active_job/continuation/step.rb#80 + # pkg:gem/activejob#lib/active_job/continuation/step.rb:80 def job; end end # Raised when attempting to advance a cursor that doesn't implement `succ`. # -# source://activejob//lib/active_job/continuation.rb#206 +# pkg:gem/activejob#lib/active_job/continuation.rb:206 class ActiveJob::Continuation::UnadvanceableCursorError < ::ActiveJob::Continuation::Error; end -# source://activejob//lib/active_job/continuation/validation.rb#5 +# pkg:gem/activejob#lib/active_job/continuation/validation.rb:5 module ActiveJob::Continuation::Validation private # @raise [InvalidStepError] # - # source://activejob//lib/active_job/continuation/validation.rb#45 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:45 def raise_step_error!(message); end - # source://activejob//lib/active_job/continuation/validation.rb#7 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:7 def validate_step!(name); end - # source://activejob//lib/active_job/continuation/validation.rb#39 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:39 def validate_step_expected_order!(name); end - # source://activejob//lib/active_job/continuation/validation.rb#21 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:21 def validate_step_not_encountered!(name); end - # source://activejob//lib/active_job/continuation/validation.rb#27 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:27 def validate_step_not_nested!(name); end - # source://activejob//lib/active_job/continuation/validation.rb#33 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:33 def validate_step_resume_expected!(name); end - # source://activejob//lib/active_job/continuation/validation.rb#15 + # pkg:gem/activejob#lib/active_job/continuation/validation.rb:15 def validate_step_symbol!(name); end end @@ -1204,7 +1204,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#15 +# pkg:gem/activejob#lib/active_job/core.rb:15 module ActiveJob::Core extend ::ActiveSupport::Concern @@ -1213,17 +1213,17 @@ 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#103 + # pkg:gem/activejob#lib/active_job/core.rb:103 def initialize(*arguments, **_arg1); end # Job arguments # - # source://activejob//lib/active_job/core.rb#19 + # pkg:gem/activejob#lib/active_job/core.rb:19 def arguments; end # Job arguments # - # source://activejob//lib/active_job/core.rb#19 + # pkg:gem/activejob#lib/active_job/core.rb:19 def arguments=(_arg0); end # Attaches the stored job data to the current instance. Receives a hash @@ -1253,27 +1253,27 @@ module ActiveJob::Core # end # end # - # source://activejob//lib/active_job/core.rb#160 + # pkg:gem/activejob#lib/active_job/core.rb:160 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#63 + # pkg:gem/activejob#lib/active_job/core.rb:63 def enqueue_error; end # Track any exceptions raised by the backend so callers can inspect the errors. # - # source://activejob//lib/active_job/core.rb#63 + # pkg:gem/activejob#lib/active_job/core.rb:63 def enqueue_error=(_arg0); end # Track when a job was enqueued # - # source://activejob//lib/active_job/core.rb#53 + # pkg:gem/activejob#lib/active_job/core.rb:53 def enqueued_at; end # Track when a job was enqueued # - # source://activejob//lib/active_job/core.rb#53 + # pkg:gem/activejob#lib/active_job/core.rb:53 def enqueued_at=(_arg0); end # Hash that contains the number of times this job handled errors for each specific retry_on declaration. @@ -1281,7 +1281,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#44 + # pkg:gem/activejob#lib/active_job/core.rb:44 def exception_executions; end # Hash that contains the number of times this job handled errors for each specific retry_on declaration. @@ -1289,140 +1289,140 @@ 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#44 + # pkg:gem/activejob#lib/active_job/core.rb:44 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#38 + # pkg:gem/activejob#lib/active_job/core.rb:38 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#38 + # pkg:gem/activejob#lib/active_job/core.rb:38 def executions=(_arg0); end # Job Identifier # - # source://activejob//lib/active_job/core.rb#26 + # pkg:gem/activejob#lib/active_job/core.rb:26 def job_id; end # Job Identifier # - # source://activejob//lib/active_job/core.rb#26 + # pkg:gem/activejob#lib/active_job/core.rb:26 def job_id=(_arg0); end # I18n.locale to be used during the job. # - # source://activejob//lib/active_job/core.rb#47 + # pkg:gem/activejob#lib/active_job/core.rb:47 def locale; end # I18n.locale to be used during the job. # - # source://activejob//lib/active_job/core.rb#47 + # pkg:gem/activejob#lib/active_job/core.rb:47 def locale=(_arg0); end # Priority that the job will have (lower is more priority). # - # source://activejob//lib/active_job/core.rb#32 + # pkg:gem/activejob#lib/active_job/core.rb:32 def priority=(_arg0); end # ID optionally provided by adapter # - # source://activejob//lib/active_job/core.rb#35 + # pkg:gem/activejob#lib/active_job/core.rb:35 def provider_job_id; end # ID optionally provided by adapter # - # source://activejob//lib/active_job/core.rb#35 + # pkg:gem/activejob#lib/active_job/core.rb:35 def provider_job_id=(_arg0); end # Queue in which the job will reside. # - # source://activejob//lib/active_job/core.rb#29 + # pkg:gem/activejob#lib/active_job/core.rb:29 def queue_name=(_arg0); end # Time when the job should be performed # - # source://activejob//lib/active_job/core.rb#23 + # pkg:gem/activejob#lib/active_job/core.rb:23 def scheduled_at; end # Time when the job should be performed # - # source://activejob//lib/active_job/core.rb#23 + # pkg:gem/activejob#lib/active_job/core.rb:23 def scheduled_at=(_arg0); end # Returns a hash with the job data that can safely be passed to the # queuing adapter. # - # source://activejob//lib/active_job/core.rb#117 + # pkg:gem/activejob#lib/active_job/core.rb:117 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#20 + # pkg:gem/activejob#lib/active_job/core.rb:20 def serialized_arguments=(_arg0); end # Configures the job with the given options. # - # source://activejob//lib/active_job/core.rb#175 + # pkg:gem/activejob#lib/active_job/core.rb:175 def set(options = T.unsafe(nil)); end # Track whether the adapter received the job successfully. # - # source://activejob//lib/active_job/core.rb#56 + # pkg:gem/activejob#lib/active_job/core.rb:56 def successfully_enqueued=(_arg0); end # @return [Boolean] # - # source://activejob//lib/active_job/core.rb#58 + # pkg:gem/activejob#lib/active_job/core.rb:58 def successfully_enqueued?; end # Timezone to be used during the job. # - # source://activejob//lib/active_job/core.rb#50 + # pkg:gem/activejob#lib/active_job/core.rb:50 def timezone; end # Timezone to be used during the job. # - # source://activejob//lib/active_job/core.rb#50 + # pkg:gem/activejob#lib/active_job/core.rb:50 def timezone=(_arg0); end private # @return [Boolean] # - # source://activejob//lib/active_job/core.rb#208 + # pkg:gem/activejob#lib/active_job/core.rb:208 def arguments_serialized?; end - # source://activejob//lib/active_job/core.rb#204 + # pkg:gem/activejob#lib/active_job/core.rb:204 def deserialize_arguments(serialized_args); end - # source://activejob//lib/active_job/core.rb#193 + # pkg:gem/activejob#lib/active_job/core.rb:193 def deserialize_arguments_if_needed; end - # source://activejob//lib/active_job/core.rb#212 + # pkg:gem/activejob#lib/active_job/core.rb:212 def deserialize_time(time); end - # source://activejob//lib/active_job/core.rb#200 + # pkg:gem/activejob#lib/active_job/core.rb:200 def serialize_arguments(arguments); end - # source://activejob//lib/active_job/core.rb#185 + # pkg:gem/activejob#lib/active_job/core.rb:185 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#67 +# pkg:gem/activejob#lib/active_job/core.rb:67 module ActiveJob::Core::ClassMethods # Creates a new job instance from a hash created with +serialize+ # # @raise [UnknownJobClassError] # - # source://activejob//lib/active_job/core.rb#69 + # pkg:gem/activejob#lib/active_job/core.rb:69 def deserialize(job_data); end # Creates a job preconfigured with the given options. You can call @@ -1444,7 +1444,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#96 + # pkg:gem/activejob#lib/active_job/core.rb:96 def set(options = T.unsafe(nil)); end end @@ -1452,29 +1452,29 @@ end # # Wraps the original exception raised as +cause+. # -# source://activejob//lib/active_job/arguments.rb#10 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/arguments.rb:11 def initialize; end end -# source://activejob//lib/active_job/enqueue_after_transaction_commit.rb#4 +# pkg:gem/activejob#lib/active_job/enqueue_after_transaction_commit.rb:4 module ActiveJob::EnqueueAfterTransactionCommit private - # source://activejob//lib/active_job/enqueue_after_transaction_commit.rb#6 + # pkg:gem/activejob#lib/active_job/enqueue_after_transaction_commit.rb:6 def raw_enqueue; 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 +# pkg:gem/activejob#lib/active_job/enqueuing.rb:8 class ActiveJob::EnqueueError < ::StandardError; end -# source://activejob//lib/active_job/enqueuing.rb#40 +# pkg:gem/activejob#lib/active_job/enqueuing.rb:40 module ActiveJob::Enqueuing extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1498,15 +1498,15 @@ 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#112 + # pkg:gem/activejob#lib/active_job/enqueuing.rb:112 def enqueue(options = T.unsafe(nil)); end private - # source://activejob//lib/active_job/enqueuing.rb#132 + # pkg:gem/activejob#lib/active_job/enqueuing.rb:132 def _raw_enqueue; end - # source://activejob//lib/active_job/enqueuing.rb#126 + # pkg:gem/activejob#lib/active_job/enqueuing.rb:126 def raw_enqueue; end module GeneratedClassMethods @@ -1519,7 +1519,7 @@ end # Includes the +perform_later+ method for job initialization. # -# source://activejob//lib/active_job/enqueuing.rb#57 +# pkg:gem/activejob#lib/active_job/enqueuing.rb:57 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, @@ -1547,18 +1547,18 @@ module ActiveJob::Enqueuing::ClassMethods # # @yield [job] # - # source://activejob//lib/active_job/enqueuing.rb#81 + # pkg:gem/activejob#lib/active_job/enqueuing.rb:81 def perform_later(*_arg0, **_arg1, &_arg2); end private - # source://activejob//lib/active_job/enqueuing.rb#91 + # pkg:gem/activejob#lib/active_job/enqueuing.rb:91 def job_or_instantiate(*args, **_arg1, &_arg2); end end # Provides behavior for retrying and discarding jobs on exceptions. # -# source://activejob//lib/active_job/exceptions.rb#7 +# pkg:gem/activejob#lib/active_job/exceptions.rb:7 module ActiveJob::Exceptions extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1589,21 +1589,21 @@ module ActiveJob::Exceptions # end # end # - # source://activejob//lib/active_job/exceptions.rb#158 + # pkg:gem/activejob#lib/active_job/exceptions.rb:158 def retry_job(options = T.unsafe(nil)); end private - # source://activejob//lib/active_job/exceptions.rb#171 + # pkg:gem/activejob#lib/active_job/exceptions.rb:171 def determine_delay(seconds_or_duration_or_algorithm:, executions:, jitter: T.unsafe(nil)); end - # source://activejob//lib/active_job/exceptions.rb#192 + # pkg:gem/activejob#lib/active_job/exceptions.rb:192 def determine_jitter_for_delay(delay, jitter); end - # source://activejob//lib/active_job/exceptions.rb#197 + # pkg:gem/activejob#lib/active_job/exceptions.rb:197 def executions_for(exceptions); end - # source://activejob//lib/active_job/exceptions.rb#206 + # pkg:gem/activejob#lib/active_job/exceptions.rb:206 def run_after_discard_procs(exception); end module GeneratedClassMethods @@ -1621,7 +1621,7 @@ module ActiveJob::Exceptions end end -# source://activejob//lib/active_job/exceptions.rb#15 +# pkg:gem/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. # @@ -1636,7 +1636,7 @@ module ActiveJob::Exceptions::ClassMethods # # end # - # source://activejob//lib/active_job/exceptions.rb#131 + # pkg:gem/activejob#lib/active_job/exceptions.rb:131 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, @@ -1664,7 +1664,7 @@ module ActiveJob::Exceptions::ClassMethods # end # end # - # source://activejob//lib/active_job/exceptions.rb#109 + # pkg:gem/activejob#lib/active_job/exceptions.rb:109 def discard_on(*exceptions, report: T.unsafe(nil)); end # Catch the exception and reschedule job for re-execution after so many seconds, for a specific number of attempts. @@ -1716,11 +1716,11 @@ module ActiveJob::Exceptions::ClassMethods # end # end # - # source://activejob//lib/active_job/exceptions.rb#64 + # pkg:gem/activejob#lib/active_job/exceptions.rb:64 def retry_on(*exceptions, wait: T.unsafe(nil), attempts: T.unsafe(nil), queue: T.unsafe(nil), priority: T.unsafe(nil), jitter: T.unsafe(nil), report: T.unsafe(nil)); end end -# source://activejob//lib/active_job/exceptions.rb#168 +# pkg:gem/activejob#lib/active_job/exceptions.rb:168 ActiveJob::Exceptions::JITTER_DEFAULT = T.let(T.unsafe(nil), Object) # = Active Job \Execution @@ -1730,7 +1730,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 +# pkg:gem/activejob#lib/active_job/execution.rb:12 module ActiveJob::Execution extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1740,7 +1740,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 + # pkg:gem/activejob#lib/active_job/execution.rb:60 def perform(*_arg0); end # Performs the job immediately. The job is not sent to the queuing adapter @@ -1755,12 +1755,12 @@ module ActiveJob::Execution # # puts MyJob.new(*args).perform_now # => "Hello World!" # - # source://activejob//lib/active_job/execution.rb#45 + # pkg:gem/activejob#lib/active_job/execution.rb:45 def perform_now; end private - # source://activejob//lib/active_job/execution.rb#65 + # pkg:gem/activejob#lib/active_job/execution.rb:65 def _perform_job; end module GeneratedClassMethods @@ -1778,170 +1778,170 @@ end # Includes methods for executing and performing jobs instantly. # -# source://activejob//lib/active_job/execution.rb#17 +# pkg:gem/activejob#lib/active_job/execution.rb:17 module ActiveJob::Execution::ClassMethods - # source://activejob//lib/active_job/execution.rb#26 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/execution.rb:22 def perform_now(*_arg0, **_arg1, &_arg2); end end -# source://activejob//lib/active_job/execution_state.rb#4 +# pkg:gem/activejob#lib/active_job/execution_state.rb:4 module ActiveJob::ExecutionState - # source://activejob//lib/active_job/execution_state.rb#5 + # pkg:gem/activejob#lib/active_job/execution_state.rb:5 def perform_now; end end -# source://activejob//lib/active_job/instrumentation.rb#16 +# pkg:gem/activejob#lib/active_job/instrumentation.rb:16 module ActiveJob::Instrumentation extend ::ActiveSupport::Concern - # source://activejob//lib/active_job/instrumentation.rb#29 + # pkg:gem/activejob#lib/active_job/instrumentation.rb:29 def instrument(operation, payload = T.unsafe(nil), &block); end - # source://activejob//lib/active_job/instrumentation.rb#25 + # pkg:gem/activejob#lib/active_job/instrumentation.rb:25 def perform_now; end private - # source://activejob//lib/active_job/instrumentation.rb#42 + # pkg:gem/activejob#lib/active_job/instrumentation.rb:42 def _perform_job; end - # source://activejob//lib/active_job/instrumentation.rb#47 + # pkg:gem/activejob#lib/active_job/instrumentation.rb:47 def halted_callback_hook(*_arg0); end end -# source://activejob//lib/active_job/log_subscriber.rb#6 +# pkg:gem/activejob#lib/active_job/log_subscriber.rb:6 class ActiveJob::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def backtrace_cleaner; end - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def backtrace_cleaner=(_arg0); end - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def backtrace_cleaner?; end - # source://activejob//lib/active_job/log_subscriber.rb#131 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:131 def discard(event); end - # source://activejob//lib/active_job/log_subscriber.rb#9 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:9 def enqueue(event); end - # source://activejob//lib/active_job/log_subscriber.rb#49 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:49 def enqueue_all(event); end - # source://activejob//lib/active_job/log_subscriber.rb#29 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:29 def enqueue_at(event); end - # source://activejob//lib/active_job/log_subscriber.rb#106 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:106 def enqueue_retry(event); end - # source://activejob//lib/active_job/log_subscriber.rb#141 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:141 def interrupt(event); end - # source://activejob//lib/active_job/log_subscriber.rb#86 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:86 def perform(event); end - # source://activejob//lib/active_job/log_subscriber.rb#76 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:76 def perform_start(event); end - # source://activejob//lib/active_job/log_subscriber.rb#149 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:149 def resume(event); end - # source://activejob//lib/active_job/log_subscriber.rb#121 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:121 def retry_stopped(event); end - # source://activejob//lib/active_job/log_subscriber.rb#178 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:178 def step(event); end - # source://activejob//lib/active_job/log_subscriber.rb#157 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:157 def step_skipped(event); end - # source://activejob//lib/active_job/log_subscriber.rb#165 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:165 def step_started(event); end private - # source://activejob//lib/active_job/log_subscriber.rb#204 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:204 def args_info(job); end - # source://activejob//lib/active_job/log_subscriber.rb#258 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:258 def enqueue_source_location; end - # source://activejob//lib/active_job/log_subscriber.rb#262 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:262 def enqueued_jobs_message(adapter, enqueued_jobs); end - # source://activejob//lib/active_job/log_subscriber.rb#242 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:242 def error(progname = T.unsafe(nil), &block); end - # source://activejob//lib/active_job/log_subscriber.rb#213 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:213 def format(arg); end - # source://activejob//lib/active_job/log_subscriber.rb#234 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:234 def info(progname = T.unsafe(nil), &block); end - # source://activejob//lib/active_job/log_subscriber.rb#250 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:250 def log_enqueue_source; end - # source://activejob//lib/active_job/log_subscriber.rb#230 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:230 def logger; end - # source://activejob//lib/active_job/log_subscriber.rb#200 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:200 def queue_name(event); end - # source://activejob//lib/active_job/log_subscriber.rb#226 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:226 def scheduled_at(event); end class << self - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def backtrace_cleaner; end - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def backtrace_cleaner=(value); end - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def backtrace_cleaner?; end private - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def __class_attr_backtrace_cleaner; end - # source://activejob//lib/active_job/log_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:7 def __class_attr_backtrace_cleaner=(new_value); end - # source://activejob//lib/active_job/log_subscriber.rb#27 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:27 def __class_attr_log_levels; end - # source://activejob//lib/active_job/log_subscriber.rb#27 + # pkg:gem/activejob#lib/active_job/log_subscriber.rb:27 def __class_attr_log_levels=(new_value); end end end -# source://activejob//lib/active_job/logging.rb#7 +# pkg:gem/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#31 + # pkg:gem/activejob#lib/active_job/logging.rb:31 def perform_now; end private # @return [Boolean] # - # source://activejob//lib/active_job/logging.rb#45 + # pkg:gem/activejob#lib/active_job/logging.rb:45 def logger_tagged_by_active_job?; end - # source://activejob//lib/active_job/logging.rb#36 + # pkg:gem/activejob#lib/active_job/logging.rb:36 def tag_logger(*tags, &block); end module GeneratedClassMethods @@ -1959,7 +1959,7 @@ end # correct adapter. The default queue adapter is +:async+, # which loads the ActiveJob::QueueAdapters::AsyncAdapter. # -# source://activejob//lib/active_job/queue_adapter.rb#20 +# pkg:gem/activejob#lib/active_job/queue_adapter.rb:20 module ActiveJob::QueueAdapter extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1979,39 +1979,39 @@ end # Includes the setter method for changing the active queue adapter. # -# source://activejob//lib/active_job/queue_adapter.rb#31 +# pkg:gem/activejob#lib/active_job/queue_adapter.rb:31 module ActiveJob::QueueAdapter::ClassMethods # Returns the backend queue provider. The default queue adapter # is +:async+. See QueueAdapters for more information. # - # source://activejob//lib/active_job/queue_adapter.rb#34 + # pkg:gem/activejob#lib/active_job/queue_adapter.rb:34 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#49 + # pkg:gem/activejob#lib/active_job/queue_adapter.rb:49 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 + # pkg:gem/activejob#lib/active_job/queue_adapter.rb:41 def queue_adapter_name; end private - # source://activejob//lib/active_job/queue_adapter.rb#66 + # pkg:gem/activejob#lib/active_job/queue_adapter.rb:66 def assign_adapter(adapter_name, queue_adapter); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapter.rb#73 + # pkg:gem/activejob#lib/active_job/queue_adapter.rb:73 def queue_adapter?(object); end end -# source://activejob//lib/active_job/queue_adapter.rb#71 +# pkg:gem/activejob#lib/active_job/queue_adapter.rb:71 ActiveJob::QueueAdapter::ClassMethods::QUEUE_ADAPTER_METHODS = T.let(T.unsafe(nil), Array) # = Active Job adapters @@ -2122,7 +2122,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#112 +# pkg:gem/activejob#lib/active_job/queue_adapters.rb:112 module ActiveJob::QueueAdapters extend ::ActiveSupport::Autoload @@ -2132,12 +2132,12 @@ module ActiveJob::QueueAdapters # ActiveJob::QueueAdapters.lookup(:sidekiq) # # => ActiveJob::QueueAdapters::SidekiqAdapter # - # source://activejob//lib/active_job/queue_adapters.rb#135 + # pkg:gem/activejob#lib/active_job/queue_adapters.rb:135 def lookup(name); end end end -# source://activejob//lib/active_job/queue_adapters.rb#127 +# pkg:gem/activejob#lib/active_job/queue_adapters.rb:127 ActiveJob::QueueAdapters::ADAPTER = T.let(T.unsafe(nil), String) # = Active Job Abstract Adapter @@ -2145,33 +2145,33 @@ ActiveJob::QueueAdapters::ADAPTER = T.let(T.unsafe(nil), String) # Active Job supports multiple job queue systems. ActiveJob::QueueAdapters::AbstractAdapter # forms the abstraction layer which makes this possible. # -# source://activejob//lib/active_job/queue_adapters/abstract_adapter.rb#9 +# pkg:gem/activejob#lib/active_job/queue_adapters/abstract_adapter.rb:9 class ActiveJob::QueueAdapters::AbstractAdapter # @raise [NotImplementedError] # - # source://activejob//lib/active_job/queue_adapters/abstract_adapter.rb#12 + # pkg:gem/activejob#lib/active_job/queue_adapters/abstract_adapter.rb:12 def enqueue(job); end # @raise [NotImplementedError] # - # source://activejob//lib/active_job/queue_adapters/abstract_adapter.rb#16 + # pkg:gem/activejob#lib/active_job/queue_adapters/abstract_adapter.rb:16 def enqueue_at(job, timestamp); end # Returns the value of attribute stopping. # - # source://activejob//lib/active_job/queue_adapters/abstract_adapter.rb#10 + # pkg:gem/activejob#lib/active_job/queue_adapters/abstract_adapter.rb:10 def stopping; end # Sets the attribute stopping # # @param value the value to set the attribute stopping to. # - # source://activejob//lib/active_job/queue_adapters/abstract_adapter.rb#10 + # pkg:gem/activejob#lib/active_job/queue_adapters/abstract_adapter.rb:10 def stopping=(_arg0); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapters/abstract_adapter.rb#20 + # pkg:gem/activejob#lib/active_job/queue_adapters/abstract_adapter.rb:20 def stopping?; end end @@ -2199,31 +2199,31 @@ end # 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 +# pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:33 class ActiveJob::QueueAdapters::AsyncAdapter < ::ActiveJob::QueueAdapters::AbstractAdapter # 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:50 def shutdown(wait: T.unsafe(nil)); end end @@ -2232,50 +2232,50 @@ end # adapters and deployment environments. Otherwise, serialization bugs # may creep in undetected. # -# source://activejob//lib/active_job/queue_adapters/async_adapter.rb#63 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:86 def initialize(**options); end - # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#96 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:96 def enqueue(job, queue_name:); end - # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#100 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:100 def enqueue_at(job, timestamp, queue_name:); end - # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#114 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:114 def executor; end # Returns the value of attribute immediate. # - # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#84 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:84 def immediate=(_arg0); end - # source://activejob//lib/active_job/queue_adapters/async_adapter.rb#109 + # pkg:gem/activejob#lib/active_job/queue_adapters/async_adapter.rb:109 def shutdown(wait: T.unsafe(nil)); end end -# source://activejob//lib/active_job/queue_adapters/async_adapter.rb#75 +# pkg:gem/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 @@ -2287,14 +2287,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 +# pkg:gem/activejob#lib/active_job/queue_adapters/inline_adapter.rb:13 class ActiveJob::QueueAdapters::InlineAdapter < ::ActiveJob::QueueAdapters::AbstractAdapter - # source://activejob//lib/active_job/queue_adapters/inline_adapter.rb#14 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_adapters/inline_adapter.rb:18 def enqueue_at(*_arg0); end end @@ -2308,160 +2308,160 @@ end # # Rails.application.config.active_job.queue_adapter = :test # -# source://activejob//lib/active_job/queue_adapters/test_adapter.rb#14 +# pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:14 class ActiveJob::QueueAdapters::TestAdapter < ::ActiveJob::QueueAdapters::AbstractAdapter # Returns the value of attribute at. # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:15 def reject=(_arg0); end # Returns the value of attribute stopping. # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:15 def stopping; end # Sets the attribute stopping # # @param value the value to set the attribute stopping to. # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#15 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:15 def stopping=(_arg0); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#38 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:38 def stopping?; end private - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#83 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:83 def filter_as_proc(filter); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#61 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:61 def filtered?(job); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#75 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:75 def filtered_job_class?(job); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#69 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:69 def filtered_queue?(job); end # @return [Boolean] # - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#65 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:65 def filtered_time?(job); end - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#43 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:43 def job_to_hash(job, extras = T.unsafe(nil)); end - # source://activejob//lib/active_job/queue_adapters/test_adapter.rb#52 + # pkg:gem/activejob#lib/active_job/queue_adapters/test_adapter.rb:52 def perform_or_enqueue(perform, job, job_data); end end -# source://activejob//lib/active_job/queue_name.rb#4 +# pkg:gem/activejob#lib/active_job/queue_name.rb:4 module ActiveJob::QueueName extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2471,7 +2471,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 + # pkg:gem/activejob#lib/active_job/queue_name.rb:61 def queue_name; end module GeneratedClassMethods @@ -2495,12 +2495,12 @@ end # Includes the ability to override the default queue name and prefix. # -# source://activejob//lib/active_job/queue_name.rb#8 +# pkg:gem/activejob#lib/active_job/queue_name.rb:8 module ActiveJob::QueueName::ClassMethods - # source://activejob//lib/active_job/queue_name.rb#9 + # pkg:gem/activejob#lib/active_job/queue_name.rb:9 def default_queue_name; end - # source://activejob//lib/active_job/queue_name.rb#9 + # pkg:gem/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. @@ -2532,22 +2532,22 @@ module ActiveJob::QueueName::ClassMethods # end # end # - # source://activejob//lib/active_job/queue_name.rb#39 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_name.rb:9 def default_queue_name; end - # source://activejob//lib/active_job/queue_name.rb#9 + # pkg:gem/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 +# pkg:gem/activejob#lib/active_job/queue_priority.rb:4 module ActiveJob::QueuePriority extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2557,7 +2557,7 @@ module ActiveJob::QueuePriority # Returns the priority that the job will be created with # - # source://activejob//lib/active_job/queue_priority.rb#53 + # pkg:gem/activejob#lib/active_job/queue_priority.rb:53 def priority; end module GeneratedClassMethods @@ -2571,12 +2571,12 @@ end # Includes the ability to override the default queue priority. # -# source://activejob//lib/active_job/queue_priority.rb#8 +# pkg:gem/activejob#lib/active_job/queue_priority.rb:8 module ActiveJob::QueuePriority::ClassMethods - # source://activejob//lib/active_job/queue_priority.rb#9 + # pkg:gem/activejob#lib/active_job/queue_priority.rb:9 def default_priority; end - # source://activejob//lib/active_job/queue_priority.rb#9 + # pkg:gem/activejob#lib/active_job/queue_priority.rb:9 def default_priority=(val); end # Specifies the priority of the queue to create the job with. @@ -2608,21 +2608,21 @@ module ActiveJob::QueuePriority::ClassMethods # end # end # - # source://activejob//lib/active_job/queue_priority.rb#39 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/queue_priority.rb:9 def default_priority; end - # source://activejob//lib/active_job/queue_priority.rb#9 + # pkg:gem/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#9 +# pkg:gem/activejob#lib/active_job/railtie.rb:9 class ActiveJob::Railtie < ::Rails::Railtie; end # Raised when an unsupported argument type is set as a job argument. We @@ -2635,7 +2635,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 +# pkg:gem/activejob#lib/active_job/arguments.rb:26 class ActiveJob::SerializationError < ::ArgumentError; end # = Active Job \Serializers @@ -2643,14 +2643,14 @@ 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#8 +# pkg:gem/activejob#lib/active_job/serializers.rb:8 module ActiveJob::Serializers extend ::ActiveSupport::Autoload class << self # Adds new serializers to a list of known serializers. # - # source://activejob//lib/active_job/serializers.rb#60 + # pkg:gem/activejob#lib/active_job/serializers.rb:60 def add_serializers(*new_serializers); end # Returns deserialized object. @@ -2659,7 +2659,7 @@ module ActiveJob::Serializers # # @raise [ArgumentError] # - # source://activejob//lib/active_job/serializers.rb#40 + # pkg:gem/activejob#lib/active_job/serializers.rb:40 def deserialize(argument); end # Returns serialized representative of the passed object. @@ -2668,102 +2668,102 @@ module ActiveJob::Serializers # # @raise [SerializationError] # - # source://activejob//lib/active_job/serializers.rb#31 + # pkg:gem/activejob#lib/active_job/serializers.rb:31 def serialize(argument); end # Returns list of known serializers. # - # source://activejob//lib/active_job/serializers.rb#51 + # pkg:gem/activejob#lib/active_job/serializers.rb:51 def serializers; end - # source://activejob//lib/active_job/serializers.rb#53 + # pkg:gem/activejob#lib/active_job/serializers.rb:53 def serializers=(serializers); end private - # source://activejob//lib/active_job/serializers.rb#66 + # pkg:gem/activejob#lib/active_job/serializers.rb:66 def add_new_serializers(new_serializers); end - # source://activejob//lib/active_job/serializers.rb#80 + # pkg:gem/activejob#lib/active_job/serializers.rb:80 def index_serializers(new_serializers); end end end -# source://activejob//lib/active_job/serializers/action_controller_parameters_serializer.rb#5 +# pkg:gem/activejob#lib/active_job/serializers/action_controller_parameters_serializer.rb:5 class ActiveJob::Serializers::ActionControllerParametersSerializer < ::ActiveJob::Serializers::ObjectSerializer # @raise [NotImplementedError] # - # source://activejob//lib/active_job/serializers/action_controller_parameters_serializer.rb#10 + # pkg:gem/activejob#lib/active_job/serializers/action_controller_parameters_serializer.rb:10 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/action_controller_parameters_serializer.rb#18 + # pkg:gem/activejob#lib/active_job/serializers/action_controller_parameters_serializer.rb:18 def klass; end - # source://activejob//lib/active_job/serializers/action_controller_parameters_serializer.rb#6 + # pkg:gem/activejob#lib/active_job/serializers/action_controller_parameters_serializer.rb:6 def serialize(argument); end # @return [Boolean] # - # source://activejob//lib/active_job/serializers/action_controller_parameters_serializer.rb#14 + # pkg:gem/activejob#lib/active_job/serializers/action_controller_parameters_serializer.rb:14 def serialize?(argument); end end -# source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#7 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/big_decimal_serializer.rb:12 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#16 + # pkg:gem/activejob#lib/active_job/serializers/big_decimal_serializer.rb:16 def klass; end - # source://activejob//lib/active_job/serializers/big_decimal_serializer.rb#8 + # pkg:gem/activejob#lib/active_job/serializers/big_decimal_serializer.rb:8 def serialize(big_decimal); end end -# source://activejob//lib/active_job/serializers/date_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/date_serializer.rb:10 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/date_serializer.rb#14 + # pkg:gem/activejob#lib/active_job/serializers/date_serializer.rb:14 def klass; end - # source://activejob//lib/active_job/serializers/date_serializer.rb#6 + # pkg:gem/activejob#lib/active_job/serializers/date_serializer.rb:6 def serialize(date); end end -# source://activejob//lib/active_job/serializers/date_time_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/date_time_serializer.rb:6 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/date_time_serializer.rb#10 + # pkg:gem/activejob#lib/active_job/serializers/date_time_serializer.rb:10 def klass; end end -# source://activejob//lib/active_job/serializers/duration_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/duration_serializer.rb:12 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/duration_serializer.rb#19 + # pkg:gem/activejob#lib/active_job/serializers/duration_serializer.rb:19 def klass; end - # source://activejob//lib/active_job/serializers/duration_serializer.rb#6 + # pkg:gem/activejob#lib/active_job/serializers/duration_serializer.rb:6 def serialize(duration); end end -# source://activejob//lib/active_job/serializers/module_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/module_serializer.rb:11 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/module_serializer.rb#15 + # pkg:gem/activejob#lib/active_job/serializers/module_serializer.rb:15 def klass; end # @raise [SerializationError] # - # source://activejob//lib/active_job/serializers/module_serializer.rb#6 + # pkg:gem/activejob#lib/active_job/serializers/module_serializer.rb:6 def serialize(constant); end end @@ -2785,7 +2785,7 @@ end # end # end # -# source://activejob//lib/active_job/serializers/object_serializer.rb#24 +# pkg:gem/activejob#lib/active_job/serializers/object_serializer.rb:24 class ActiveJob::Serializers::ObjectSerializer include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -2793,159 +2793,159 @@ class ActiveJob::Serializers::ObjectSerializer # @return [ObjectSerializer] a new instance of ObjectSerializer # - # source://activejob//lib/active_job/serializers/object_serializer.rb#31 + # pkg:gem/activejob#lib/active_job/serializers/object_serializer.rb:31 def initialize; end # Deserializes an argument from a JSON primitive type. # # @raise [NotImplementedError] # - # source://activejob//lib/active_job/serializers/object_serializer.rb#47 + # pkg:gem/activejob#lib/active_job/serializers/object_serializer.rb:47 def deserialize(hash); end # Serializes an argument to a JSON primitive type. # - # source://activejob//lib/active_job/serializers/object_serializer.rb#42 + # pkg:gem/activejob#lib/active_job/serializers/object_serializer.rb:42 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#37 + # pkg:gem/activejob#lib/active_job/serializers/object_serializer.rb:37 def serialize?(argument); end class << self - # source://activejob//lib/active_job/serializers/object_serializer.rb#28 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/object_serializer.rb:25 def allocate; end - # source://activejob//lib/active_job/serializers/object_serializer.rb#25 + # pkg:gem/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 +# pkg:gem/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#14 + # pkg:gem/activejob#lib/active_job/serializers/range_serializer.rb:14 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/range_serializer.rb#18 + # pkg:gem/activejob#lib/active_job/serializers/range_serializer.rb:18 def klass; end - # source://activejob//lib/active_job/serializers/range_serializer.rb#6 + # pkg:gem/activejob#lib/active_job/serializers/range_serializer.rb:6 def serialize(range); end end -# source://activejob//lib/active_job/serializers/symbol_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/symbol_serializer.rb:10 def deserialize(argument); end - # source://activejob//lib/active_job/serializers/symbol_serializer.rb#14 + # pkg:gem/activejob#lib/active_job/serializers/symbol_serializer.rb:14 def klass; end - # source://activejob//lib/active_job/serializers/symbol_serializer.rb#6 + # pkg:gem/activejob#lib/active_job/serializers/symbol_serializer.rb:6 def serialize(argument); end end -# source://activejob//lib/active_job/serializers/time_object_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activejob#lib/active_job/serializers/time_serializer.rb:6 def deserialize(hash); end - # source://activejob//lib/active_job/serializers/time_serializer.rb#10 + # pkg:gem/activejob#lib/active_job/serializers/time_serializer.rb:10 def klass; end end -# source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/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#19 + # pkg:gem/activejob#lib/active_job/serializers/time_with_zone_serializer.rb:19 def klass; end - # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#8 + # pkg:gem/activejob#lib/active_job/serializers/time_with_zone_serializer.rb:8 def serialize(time_with_zone); end end -# source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#6 +# pkg:gem/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/structured_event_subscriber.rb#6 +# pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:6 class ActiveJob::StructuredEventSubscriber < ::ActiveSupport::StructuredEventSubscriber - # source://activejob//lib/active_job/structured_event_subscriber.rb#137 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:137 def discard(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#7 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:7 def enqueue(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#56 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:56 def enqueue_all(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#31 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:31 def enqueue_at(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#109 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:109 def enqueue_retry(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#149 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:149 def interrupt(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#87 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:87 def perform(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#73 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:73 def perform_start(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#162 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:162 def resume(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#124 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:124 def retry_stopped(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#197 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:197 def step(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#173 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:173 def step_skipped(event); end - # source://activejob//lib/active_job/structured_event_subscriber.rb#184 + # pkg:gem/activejob#lib/active_job/structured_event_subscriber.rb:184 def step_started(event); end end -# source://activejob//lib/active_job/test_case.rb#6 +# pkg:gem/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 +# pkg:gem/activejob#lib/active_job/test_helper.rb:8 module ActiveJob::TestHelper include ::ActiveSupport::Testing::Assertions - # source://activejob//lib/active_job/test_helper.rb#56 + # pkg:gem/activejob#lib/active_job/test_helper.rb:56 def after_teardown; end # Asserts that the number of enqueued jobs matches the given number. @@ -3002,7 +3002,7 @@ module ActiveJob::TestHelper # end # end # - # source://activejob//lib/active_job/test_helper.rb#122 + # pkg:gem/activejob#lib/active_job/test_helper.rb:122 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. @@ -3058,7 +3058,7 @@ module ActiveJob::TestHelper # end # end # - # source://activejob//lib/active_job/test_helper.rb#406 + # pkg:gem/activejob#lib/active_job/test_helper.rb:406 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. @@ -3108,7 +3108,7 @@ module ActiveJob::TestHelper # # assert_enqueued_jobs 0, &block # - # source://activejob//lib/active_job/test_helper.rb#186 + # pkg:gem/activejob#lib/active_job/test_helper.rb:186 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. @@ -3164,7 +3164,7 @@ module ActiveJob::TestHelper # # assert_performed_jobs 0, &block # - # source://activejob//lib/active_job/test_helper.rb#348 + # pkg:gem/activejob#lib/active_job/test_helper.rb:348 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. @@ -3254,7 +3254,7 @@ module ActiveJob::TestHelper # end # end # - # source://activejob//lib/active_job/test_helper.rb#278 + # pkg:gem/activejob#lib/active_job/test_helper.rb:278 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. @@ -3314,16 +3314,16 @@ module ActiveJob::TestHelper # end # end # - # source://activejob//lib/active_job/test_helper.rb#510 + # pkg:gem/activejob#lib/active_job/test_helper.rb:510 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 + # pkg:gem/activejob#lib/active_job/test_helper.rb:41 def before_setup; end - # source://activejob//lib/active_job/test_helper.rb#9 + # pkg:gem/activejob#lib/active_job/test_helper.rb:9 def enqueued_jobs(*_arg0, **_arg1, &_arg2); end - # source://activejob//lib/active_job/test_helper.rb#9 + # pkg:gem/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 @@ -3388,13 +3388,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#620 + # pkg:gem/activejob#lib/active_job/test_helper.rb:620 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 + # pkg:gem/activejob#lib/active_job/test_helper.rb:9 def performed_jobs(*_arg0, **_arg1, &_arg2); end - # source://activejob//lib/active_job/test_helper.rb#9 + # pkg:gem/activejob#lib/active_job/test_helper.rb:9 def performed_jobs=(arg); end # Accesses the queue_adapter set by ActiveJob::Base. @@ -3403,7 +3403,7 @@ module ActiveJob::TestHelper # assert_instance_of CustomQueueAdapter, HelloJob.queue_adapter # end # - # source://activejob//lib/active_job/test_helper.rb#661 + # pkg:gem/activejob#lib/active_job/test_helper.rb:661 def queue_adapter; end # Returns a queue adapter instance to use with all Active Job test helpers. @@ -3411,59 +3411,59 @@ 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#66 + # pkg:gem/activejob#lib/active_job/test_helper.rb:66 def queue_adapter_for_test; end private - # source://activejob//lib/active_job/test_helper.rb#676 + # pkg:gem/activejob#lib/active_job/test_helper.rb:676 def clear_enqueued_jobs; end - # source://activejob//lib/active_job/test_helper.rb#680 + # pkg:gem/activejob#lib/active_job/test_helper.rb:680 def clear_performed_jobs; end - # source://activejob//lib/active_job/test_helper.rb#745 + # pkg:gem/activejob#lib/active_job/test_helper.rb:745 def deserialize_args_for_assertion(job); end - # source://activejob//lib/active_job/test_helper.rb#716 + # pkg:gem/activejob#lib/active_job/test_helper.rb:716 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#710 + # pkg:gem/activejob#lib/active_job/test_helper.rb:710 def filter_as_proc(filter); end - # source://activejob//lib/active_job/test_helper.rb#724 + # pkg:gem/activejob#lib/active_job/test_helper.rb:724 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#752 + # pkg:gem/activejob#lib/active_job/test_helper.rb:752 def instantiate_job(payload, skip_deserialize_arguments: T.unsafe(nil)); end - # source://activejob//lib/active_job/test_helper.rb#684 + # pkg:gem/activejob#lib/active_job/test_helper.rb:684 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#720 + # pkg:gem/activejob#lib/active_job/test_helper.rb:720 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#732 + # pkg:gem/activejob#lib/active_job/test_helper.rb:732 def prepare_args_for_assertion(args); end - # source://activejob//lib/active_job/test_helper.rb#759 + # pkg:gem/activejob#lib/active_job/test_helper.rb:759 def queue_adapter_changed_jobs; end - # source://activejob//lib/active_job/test_helper.rb#666 + # pkg:gem/activejob#lib/active_job/test_helper.rb:666 def require_active_job_test_adapter!(method); end # @return [Boolean] # - # source://activejob//lib/active_job/test_helper.rb#672 + # pkg:gem/activejob#lib/active_job/test_helper.rb:672 def using_test_adapter?; end # @raise [ArgumentError] # - # source://activejob//lib/active_job/test_helper.rb#766 + # pkg:gem/activejob#lib/active_job/test_helper.rb:766 def validate_option(only: T.unsafe(nil), except: T.unsafe(nil)); end end -# source://activejob//lib/active_job/test_helper.rb#15 +# pkg:gem/activejob#lib/active_job/test_helper.rb:15 module ActiveJob::TestHelper::TestQueueAdapter extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3479,42 +3479,42 @@ module ActiveJob::TestHelper::TestQueueAdapter module GeneratedInstanceMethods; end end -# source://activejob//lib/active_job/test_helper.rb#22 +# pkg:gem/activejob#lib/active_job/test_helper.rb:22 module ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - # source://activejob//lib/active_job/test_helper.rb#27 + # pkg:gem/activejob#lib/active_job/test_helper.rb:27 def disable_test_adapter; end - # source://activejob//lib/active_job/test_helper.rb#31 + # pkg:gem/activejob#lib/active_job/test_helper.rb:31 def enable_test_adapter(test_adapter); end - # source://activejob//lib/active_job/test_helper.rb#23 + # pkg:gem/activejob#lib/active_job/test_helper.rb:23 def queue_adapter; end end # Raised during job payload deserialization when it references an uninitialized job class. # -# source://activejob//lib/active_job/core.rb#5 +# pkg:gem/activejob#lib/active_job/core.rb:5 class ActiveJob::UnknownJobClassError < ::NameError # @return [UnknownJobClassError] a new instance of UnknownJobClassError # - # source://activejob//lib/active_job/core.rb#6 + # pkg:gem/activejob#lib/active_job/core.rb:6 def initialize(job_class_name); end end -# source://activejob//lib/active_job/gem_version.rb#9 +# pkg:gem/activejob#lib/active_job/gem_version.rb:9 module ActiveJob::VERSION; end -# source://activejob//lib/active_job/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activejob#lib/active_job/gem_version.rb:13 ActiveJob::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://activejob//lib/active_job/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/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 a2bb16ca1..819fcfe6e 100644 --- a/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +++ b/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi @@ -5,13 +5,13 @@ # Please instead update this file by running `bin/tapioca gem activemodel-serializers-xml`. -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#8 +# pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:8 module ActiveModel; end -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#9 +# pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:9 module ActiveModel::Serializers; end -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#10 +# pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:10 module ActiveModel::Serializers::Xml include ::ActiveModel::Serialization extend ::ActiveSupport::Concern @@ -43,7 +43,7 @@ module ActiveModel::Serializers::Xml # person.age # => 22 # person.awesome # => true # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#233 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:233 def from_xml(xml); end # Returns XML representing the model. Configuration can be @@ -72,81 +72,81 @@ module ActiveModel::Serializers::Xml # # For further documentation, see ActiveRecord::Serialization#to_xml # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#205 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:205 def to_xml(options = T.unsafe(nil), &block); end end -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#18 +# pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:18 class ActiveModel::Serializers::Xml::Serializer # @return [Serializer] a new instance of Serializer # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#57 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:57 def initialize(serializable, options = T.unsafe(nil)); end # Returns the value of attribute options. # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#55 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:55 def options; end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#66 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:66 def serializable_collection; end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#62 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:62 def serializable_hash; end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#78 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:78 def serialize; end private # TODO: This can likely be cleaned up to simple use ActiveSupport::XmlMini.to_tag as well. # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#124 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:124 def add_associations(association, records, opts); end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#108 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:108 def add_attributes_and_methods; end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#105 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:105 def add_extra_behavior; end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#117 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:117 def add_includes; end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#167 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:167 def add_procs; end end -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#19 +# pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:19 class ActiveModel::Serializers::Xml::Serializer::Attribute # @return [Attribute] a new instance of Attribute # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#22 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:22 def initialize(name, serializable, value); end - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#33 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:33 def decorations; end # Returns the value of attribute name. # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#20 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:20 def name; end # Returns the value of attribute type. # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#20 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:20 def type; end # Returns the value of attribute value. # - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#20 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:20 def value; end protected - # source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#43 + # pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:43 def compute_type; end end -# source://activemodel-serializers-xml//lib/active_model/serializers/xml.rb#52 +# pkg:gem/activemodel-serializers-xml#lib/active_model/serializers/xml.rb:52 class ActiveModel::Serializers::Xml::Serializer::MethodAttribute < ::ActiveModel::Serializers::Xml::Serializer::Attribute; end diff --git a/sorbet/rbi/gems/activemodel@8.1.1.rbi b/sorbet/rbi/gems/activemodel@8.1.1.rbi index 406c2021e..74bf957ab 100644 --- a/sorbet/rbi/gems/activemodel@8.1.1.rbi +++ b/sorbet/rbi/gems/activemodel@8.1.1.rbi @@ -7,25 +7,25 @@ # :include: ../README.rdoc # -# source://activemodel//lib/active_model/gem_version.rb#3 +# pkg:gem/activemodel#lib/active_model/gem_version.rb:3 module ActiveModel extend ::ActiveSupport::Autoload class << self - # source://activemodel//lib/active_model/deprecator.rb#4 + # pkg:gem/activemodel#lib/active_model/deprecator.rb:4 def deprecator; end - # source://activemodel//lib/active_model.rb#82 + # pkg:gem/activemodel#lib/active_model.rb:82 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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/version.rb:7 def version; end end end @@ -86,7 +86,7 @@ end # refer to the specific modules included in +ActiveModel::API+ # (see below). # -# source://activemodel//lib/active_model/api.rb#59 +# pkg:gem/activemodel#lib/active_model/api.rb:59 module ActiveModel::API include ::ActiveModel::ForbiddenAttributesProtection include ::ActiveModel::AttributeAssignment @@ -117,7 +117,7 @@ module ActiveModel::API # person.name # => "bob" # person.age # => "18" # - # source://activemodel//lib/active_model/api.rb#80 + # pkg:gem/activemodel#lib/active_model/api.rb:80 def initialize(attributes = T.unsafe(nil)); end # Indicates if the model is persisted. Default is +false+. @@ -132,7 +132,7 @@ module ActiveModel::API # # @return [Boolean] # - # source://activemodel//lib/active_model/api.rb#95 + # pkg:gem/activemodel#lib/active_model/api.rb:95 def persisted?; end module GeneratedClassMethods @@ -154,299 +154,299 @@ module ActiveModel::API end end -# source://activemodel//lib/active_model/access.rb#7 +# pkg:gem/activemodel#lib/active_model/access.rb:7 module ActiveModel::Access - # source://activemodel//lib/active_model/access.rb#8 + # pkg:gem/activemodel#lib/active_model/access.rb:8 def slice(*methods); end - # source://activemodel//lib/active_model/access.rb#12 + # pkg:gem/activemodel#lib/active_model/access.rb:12 def values_at(*methods); end end -# source://activemodel//lib/active_model/attribute.rb#6 +# pkg:gem/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 + # pkg:gem/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#123 + # pkg:gem/activemodel#lib/active_model/attribute.rb:123 def ==(other); end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#115 + # pkg:gem/activemodel#lib/active_model/attribute.rb:115 def came_from_user?; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#66 + # pkg:gem/activemodel#lib/active_model/attribute.rb:66 def changed?; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#70 + # pkg:gem/activemodel#lib/active_model/attribute.rb:70 def changed_in_place?; end - # source://activemodel//lib/active_model/attribute.rb#99 + # pkg:gem/activemodel#lib/active_model/attribute.rb:99 def dup_or_share; end - # source://activemodel//lib/active_model/attribute.rb#143 + # pkg:gem/activemodel#lib/active_model/attribute.rb:143 def encode_with(coder); end - # source://activemodel//lib/active_model/attribute.rb#129 + # pkg:gem/activemodel#lib/active_model/attribute.rb:129 def eql?(other); end - # source://activemodel//lib/active_model/attribute.rb#74 + # pkg:gem/activemodel#lib/active_model/attribute.rb:74 def forgetting_assignment; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#119 + # pkg:gem/activemodel#lib/active_model/attribute.rb:119 def has_been_read?; end - # source://activemodel//lib/active_model/attribute.rb#131 + # pkg:gem/activemodel#lib/active_model/attribute.rb:131 def hash; end - # source://activemodel//lib/active_model/attribute.rb#135 + # pkg:gem/activemodel#lib/active_model/attribute.rb:135 def init_with(coder); end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#111 + # pkg:gem/activemodel#lib/active_model/attribute.rb:111 def initialized?; end # Returns the value of attribute name. # - # source://activemodel//lib/active_model/attribute.rb#29 + # pkg:gem/activemodel#lib/active_model/attribute.rb:29 def name; end - # source://activemodel//lib/active_model/attribute.rb#47 + # pkg:gem/activemodel#lib/active_model/attribute.rb:47 def original_value; end - # source://activemodel//lib/active_model/attribute.rb#151 + # pkg:gem/activemodel#lib/active_model/attribute.rb:151 def original_value_for_database; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#62 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute.rb:29 def type; end # @raise [NotImplementedError] # - # source://activemodel//lib/active_model/attribute.rb#107 + # pkg:gem/activemodel#lib/active_model/attribute.rb:107 def type_cast(*_arg0); end - # source://activemodel//lib/active_model/attribute.rb#41 + # pkg:gem/activemodel#lib/active_model/attribute.rb:41 def value(&_arg0); end # Returns the value of attribute value_before_type_cast. # - # source://activemodel//lib/active_model/attribute.rb#29 + # pkg:gem/activemodel#lib/active_model/attribute.rb:29 def value_before_type_cast; end - # source://activemodel//lib/active_model/attribute.rb#55 + # pkg:gem/activemodel#lib/active_model/attribute.rb:55 def value_for_database; end - # source://activemodel//lib/active_model/attribute.rb#87 + # pkg:gem/activemodel#lib/active_model/attribute.rb:87 def with_cast_value(value); end - # source://activemodel//lib/active_model/attribute.rb#91 + # pkg:gem/activemodel#lib/active_model/attribute.rb:91 def with_type(type); end - # source://activemodel//lib/active_model/attribute/user_provided_default.rb#7 + # pkg:gem/activemodel#lib/active_model/attribute/user_provided_default.rb:7 def with_user_default(value); end - # source://activemodel//lib/active_model/attribute.rb#83 + # pkg:gem/activemodel#lib/active_model/attribute.rb:83 def with_value_from_database(value); end - # source://activemodel//lib/active_model/attribute.rb#78 + # pkg:gem/activemodel#lib/active_model/attribute.rb:78 def with_value_from_user(value); end private - # source://activemodel//lib/active_model/attribute.rb#177 + # pkg:gem/activemodel#lib/active_model/attribute.rb:177 def _original_value_for_database; end - # source://activemodel//lib/active_model/attribute.rb#173 + # pkg:gem/activemodel#lib/active_model/attribute.rb:173 def _value_for_database; end # Returns the value of attribute original_attribute. # - # source://activemodel//lib/active_model/attribute.rb#161 + # pkg:gem/activemodel#lib/active_model/attribute.rb:161 def assigned?; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#169 + # pkg:gem/activemodel#lib/active_model/attribute.rb:169 def changed_from_assignment?; end - # source://activemodel//lib/active_model/attribute.rb#163 + # pkg:gem/activemodel#lib/active_model/attribute.rb:163 def initialize_dup(other); end # Returns the value of attribute original_attribute. # - # source://activemodel//lib/active_model/attribute.rb#160 + # pkg:gem/activemodel#lib/active_model/attribute.rb:160 def original_attribute; end class << self - # source://activemodel//lib/active_model/attribute.rb#8 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute.rb:20 def null(name); end - # source://activemodel//lib/active_model/attribute.rb#24 + # pkg:gem/activemodel#lib/active_model/attribute.rb:24 def uninitialized(name, type); end - # source://activemodel//lib/active_model/attribute.rb#16 + # pkg:gem/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#181 +# pkg:gem/activemodel#lib/active_model/attribute.rb:181 class ActiveModel::Attribute::FromDatabase < ::ActiveModel::Attribute - # source://activemodel//lib/active_model/attribute.rb#186 + # pkg:gem/activemodel#lib/active_model/attribute.rb:186 def forgetting_assignment; end - # source://activemodel//lib/active_model/attribute.rb#182 + # pkg:gem/activemodel#lib/active_model/attribute.rb:182 def type_cast(value); end private - # source://activemodel//lib/active_model/attribute.rb#200 + # pkg:gem/activemodel#lib/active_model/attribute.rb:200 def _original_value_for_database; end end -# source://activemodel//lib/active_model/attribute.rb#205 +# pkg:gem/activemodel#lib/active_model/attribute.rb:205 class ActiveModel::Attribute::FromUser < ::ActiveModel::Attribute # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#210 + # pkg:gem/activemodel#lib/active_model/attribute.rb:210 def came_from_user?; end - # source://activemodel//lib/active_model/attribute.rb#206 + # pkg:gem/activemodel#lib/active_model/attribute.rb:206 def type_cast(value); end private - # source://activemodel//lib/active_model/attribute.rb#215 + # pkg:gem/activemodel#lib/active_model/attribute.rb:215 def _value_for_database; end end -# source://activemodel//lib/active_model/attribute.rb#230 +# pkg:gem/activemodel#lib/active_model/attribute.rb:230 class ActiveModel::Attribute::Null < ::ActiveModel::Attribute # @return [Null] a new instance of Null # - # source://activemodel//lib/active_model/attribute.rb#231 + # pkg:gem/activemodel#lib/active_model/attribute.rb:231 def initialize(name); end - # source://activemodel//lib/active_model/attribute.rb#235 + # pkg:gem/activemodel#lib/active_model/attribute.rb:235 def type_cast(*_arg0); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel//lib/active_model/attribute.rb#247 + # pkg:gem/activemodel#lib/active_model/attribute.rb:247 def with_cast_value(value); end - # source://activemodel//lib/active_model/attribute.rb#239 + # pkg:gem/activemodel#lib/active_model/attribute.rb:239 def with_type(type); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel//lib/active_model/attribute.rb#243 + # pkg:gem/activemodel#lib/active_model/attribute.rb:243 def with_value_from_database(value); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel//lib/active_model/attribute.rb#246 + # pkg:gem/activemodel#lib/active_model/attribute.rb:246 def with_value_from_user(value); end end -# source://activemodel//lib/active_model/attribute.rb#250 +# pkg:gem/activemodel#lib/active_model/attribute.rb:250 class ActiveModel::Attribute::Uninitialized < ::ActiveModel::Attribute # @return [Uninitialized] a new instance of Uninitialized # - # source://activemodel//lib/active_model/attribute.rb#253 + # pkg:gem/activemodel#lib/active_model/attribute.rb:253 def initialize(name, type); end - # source://activemodel//lib/active_model/attribute.rb#274 + # pkg:gem/activemodel#lib/active_model/attribute.rb:274 def forgetting_assignment; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#270 + # pkg:gem/activemodel#lib/active_model/attribute.rb:270 def initialized?; end - # source://activemodel//lib/active_model/attribute.rb#263 + # pkg:gem/activemodel#lib/active_model/attribute.rb:263 def original_value; end - # source://activemodel//lib/active_model/attribute.rb#257 + # pkg:gem/activemodel#lib/active_model/attribute.rb:257 def value; end - # source://activemodel//lib/active_model/attribute.rb#267 + # pkg:gem/activemodel#lib/active_model/attribute.rb:267 def value_for_database; end - # source://activemodel//lib/active_model/attribute.rb#278 + # pkg:gem/activemodel#lib/active_model/attribute.rb:278 def with_type(type); end end -# source://activemodel//lib/active_model/attribute.rb#251 +# pkg:gem/activemodel#lib/active_model/attribute.rb:251 ActiveModel::Attribute::Uninitialized::UNINITIALIZED_ORIGINAL_VALUE = T.let(T.unsafe(nil), Object) -# source://activemodel//lib/active_model/attribute/user_provided_default.rb#11 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute/user_provided_default.rb:29 def dup_or_share; end - # source://activemodel//lib/active_model/attribute/user_provided_default.rb#39 + # pkg:gem/activemodel#lib/active_model/attribute/user_provided_default.rb:39 def marshal_dump; end - # source://activemodel//lib/active_model/attribute/user_provided_default.rb#50 + # pkg:gem/activemodel#lib/active_model/attribute/user_provided_default.rb:50 def marshal_load(values); end - # source://activemodel//lib/active_model/attribute/user_provided_default.rb#17 + # pkg:gem/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 + # pkg:gem/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#62 + # pkg:gem/activemodel#lib/active_model/attribute/user_provided_default.rb:62 def user_provided_value; end end -# source://activemodel//lib/active_model/attribute.rb#220 +# pkg:gem/activemodel#lib/active_model/attribute.rb:220 class ActiveModel::Attribute::WithCastValue < ::ActiveModel::Attribute # @return [Boolean] # - # source://activemodel//lib/active_model/attribute.rb#225 + # pkg:gem/activemodel#lib/active_model/attribute.rb:225 def changed_in_place?; end - # source://activemodel//lib/active_model/attribute.rb#221 + # pkg:gem/activemodel#lib/active_model/attribute.rb:221 def type_cast(value); end end -# source://activemodel//lib/active_model/attribute_assignment.rb#6 +# pkg:gem/activemodel#lib/active_model/attribute_assignment.rb:6 module ActiveModel::AttributeAssignment include ::ActiveModel::ForbiddenAttributesProtection @@ -470,7 +470,7 @@ module ActiveModel::AttributeAssignment # cat.name # => 'Gorby' # cat.status # => 'sleeping' # - # source://activemodel//lib/active_model/attribute_assignment.rb#28 + # pkg:gem/activemodel#lib/active_model/attribute_assignment.rb:28 def assign_attributes(new_attributes); end # Like `BasicObject#method_missing`, `#attribute_writer_missing` is invoked @@ -493,7 +493,7 @@ module ActiveModel::AttributeAssignment # # @raise [UnknownAttributeError] # - # source://activemodel//lib/active_model/attribute_assignment.rb#56 + # pkg:gem/activemodel#lib/active_model/attribute_assignment.rb:56 def attribute_writer_missing(name, value); end # Allows you to set all the attributes by passing in a hash of attributes with @@ -516,15 +516,15 @@ module ActiveModel::AttributeAssignment # cat.name # => 'Gorby' # cat.status # => 'sleeping' # - # source://activemodel//lib/active_model/attribute_assignment.rb#37 + # pkg:gem/activemodel#lib/active_model/attribute_assignment.rb:37 def attributes=(new_attributes); end private - # source://activemodel//lib/active_model/attribute_assignment.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_assignment.rb:67 def _assign_attribute(k, v); end - # source://activemodel//lib/active_model/attribute_assignment.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_assignment.rb:61 def _assign_attributes(attributes); end end @@ -575,7 +575,7 @@ end # end # end # -# source://activemodel//lib/active_model/attribute_methods.rb#64 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:64 module ActiveModel::AttributeMethods extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -588,7 +588,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 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:520 def attribute_missing(match, *_arg1, **_arg2, &_arg3); end # Allows access to the object attributes, which are held in the hash @@ -602,40 +602,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#507 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:507 def method_missing(method, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_methods.rb#528 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:528 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#527 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:527 def respond_to_without_attributes?(*_arg0); end private - # source://activemodel//lib/active_model/attribute_methods.rb#556 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:556 def _read_attribute(attr); end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_methods.rb#541 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:541 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#547 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:547 def matched_attribute_method(method_name); end # @raise [ActiveModel::MissingAttributeError] # - # source://activemodel//lib/active_model/attribute_methods.rb#552 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:552 def missing_attribute(attr_name, stack); end module GeneratedClassMethods @@ -655,7 +655,7 @@ module ActiveModel::AttributeMethods end end -# source://activemodel//lib/active_model/attribute_methods.rb#560 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:560 module ActiveModel::AttributeMethods::AttrNames class << self # We want to generate the methods via module_eval rather than @@ -673,18 +673,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#577 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:577 def define_attribute_accessor_method(owner, attr_name, writer: T.unsafe(nil)); end end end -# source://activemodel//lib/active_model/attribute_methods.rb#561 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:561 ActiveModel::AttributeMethods::AttrNames::DEF_SAFE_NAME = T.let(T.unsafe(nil), Regexp) -# source://activemodel//lib/active_model/attribute_methods.rb#68 +# pkg:gem/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#75 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:75 module ActiveModel::AttributeMethods::ClassMethods # Allows you to make aliases for attributes. # @@ -710,25 +710,25 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name_short? # => true # person.nickname_short? # => true # - # source://activemodel//lib/active_model/attribute_methods.rb#203 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:203 def alias_attribute(new_name, old_name); end - # source://activemodel//lib/active_model/attribute_methods.rb#226 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:226 def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end - # source://activemodel//lib/active_model/attribute_methods.rb#382 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:382 def aliases_by_attribute_name; end # Returns the original name for the alias +name+ # - # source://activemodel//lib/active_model/attribute_methods.rb#245 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:245 def attribute_alias(name); end # Is +new_name+ an alias? # # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_methods.rb#240 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:240 def attribute_alias?(new_name); end # Declares a method available for all attributes with the given prefix @@ -762,7 +762,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.reset_name_to_default! # person.name # => 'Default Name' # - # source://activemodel//lib/active_model/attribute_methods.rb#175 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:175 def attribute_method_affix(*affixes); end # Declares a method available for all attributes with the given prefix. @@ -796,7 +796,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.clear_name # person.name # => nil # - # source://activemodel//lib/active_model/attribute_methods.rb#106 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:106 def attribute_method_prefix(*prefixes, parameters: T.unsafe(nil)); end # Declares a method available for all attributes with the given suffix. @@ -829,7 +829,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name # => "Bob" # person.name_short? # => true # - # source://activemodel//lib/active_model/attribute_methods.rb#140 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:140 def attribute_method_suffix(*suffixes, parameters: T.unsafe(nil)); end # Declares an attribute that should be prefixed and suffixed by @@ -861,10 +861,10 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name # => "Bob" # person.name_short? # => true # - # source://activemodel//lib/active_model/attribute_methods.rb#311 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:311 def define_attribute_method(attr_name, _owner: T.unsafe(nil), as: T.unsafe(nil)); end - # source://activemodel//lib/active_model/attribute_methods.rb#320 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:320 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 @@ -891,13 +891,13 @@ module ActiveModel::AttributeMethods::ClassMethods # end # end # - # source://activemodel//lib/active_model/attribute_methods.rb#272 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:272 def define_attribute_methods(*attr_names); end - # source://activemodel//lib/active_model/attribute_methods.rb#211 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:211 def eagerly_generate_alias_attribute_methods(new_name, old_name); end - # source://activemodel//lib/active_model/attribute_methods.rb#217 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:217 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. @@ -926,7 +926,7 @@ module ActiveModel::AttributeMethods::ClassMethods # person.name_short? # => NoMethodError # person.first_name # => NoMethodError # - # source://activemodel//lib/active_model/attribute_methods.rb#375 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:375 def undefine_attribute_methods; end private @@ -941,81 +941,81 @@ 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#417 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:417 def attribute_method_patterns_cache; end - # source://activemodel//lib/active_model/attribute_methods.rb#421 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:421 def attribute_method_patterns_matching(method_name); end - # source://activemodel//lib/active_model/attribute_methods.rb#445 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:445 def build_mangled_name(name); end - # source://activemodel//lib/active_model/attribute_methods.rb#455 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:455 def define_call(code_generator, name, target_name, mangled_name, parameters, call_args, namespace:, as:); 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#430 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:430 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#400 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:400 def generated_attribute_methods; end - # source://activemodel//lib/active_model/attribute_methods.rb#387 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:387 def inherited(base); end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_methods.rb#404 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:404 def instance_method_already_implemented?(method_name); end - # source://activemodel//lib/active_model/attribute_methods.rb#396 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:396 def resolve_attribute_name(name); end end -# source://activemodel//lib/active_model/attribute_methods.rb#471 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:471 class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern # @return [AttributeMethodPattern] a new instance of AttributeMethodPattern # - # source://activemodel//lib/active_model/attribute_methods.rb#476 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:476 def initialize(prefix: T.unsafe(nil), suffix: T.unsafe(nil), parameters: T.unsafe(nil)); end - # source://activemodel//lib/active_model/attribute_methods.rb#485 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:485 def match(method_name); end - # source://activemodel//lib/active_model/attribute_methods.rb#491 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:491 def method_name(attr_name); end # Returns the value of attribute parameters. # - # source://activemodel//lib/active_model/attribute_methods.rb#472 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:472 def parameters; end # Returns the value of attribute prefix. # - # source://activemodel//lib/active_model/attribute_methods.rb#472 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:472 def prefix; end # Returns the value of attribute proxy_target. # - # source://activemodel//lib/active_model/attribute_methods.rb#472 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:472 def proxy_target; end # Returns the value of attribute suffix. # - # source://activemodel//lib/active_model/attribute_methods.rb#472 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:472 def suffix; end end -# source://activemodel//lib/active_model/attribute_methods.rb#474 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 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#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def attr_name; end # Sets the attribute attr_name @@ -1023,14 +1023,14 @@ class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::Attri # @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#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 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#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def proxy_target; end # Sets the attribute proxy_target @@ -1038,163 +1038,163 @@ class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::Attri # @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#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def proxy_target=(_); end class << self - # source://activemodel//lib/active_model/attribute_methods.rb#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def [](*_arg0); end - # source://activemodel//lib/active_model/attribute_methods.rb#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def inspect; end - # source://activemodel//lib/active_model/attribute_methods.rb#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def keyword_init?; end - # source://activemodel//lib/active_model/attribute_methods.rb#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def members; end - # source://activemodel//lib/active_model/attribute_methods.rb#474 + # pkg:gem/activemodel#lib/active_model/attribute_methods.rb:474 def new(*_arg0); end end end -# source://activemodel//lib/active_model/attribute_methods.rb#67 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:40 def any_changes?; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:18 def changed_values; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#26 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:26 def changes; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:68 def attributes; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#82 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:70 def forced_changes; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#86 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/attribute_registration.rb:11 module ActiveModel::AttributeRegistration::ClassMethods - # source://activemodel//lib/active_model/attribute_registration.rb#31 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:31 def _default_attributes; end - # source://activemodel//lib/active_model/attribute_registration.rb#12 + # pkg:gem/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#37 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:37 def attribute_types; end - # source://activemodel//lib/active_model/attribute_registration.rb#23 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:23 def decorate_attributes(names = T.unsafe(nil), &decorator); end - # source://activemodel//lib/active_model/attribute_registration.rb#43 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:43 def type_for_attribute(attribute_name, &block); end private - # source://activemodel//lib/active_model/attribute_registration.rb#81 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:81 def apply_pending_attribute_modifications(attribute_set); end # Hook for other modules to override. The attribute type is passed # through this method immediately after it is resolved, before any type # decorations are applied. # - # source://activemodel//lib/active_model/attribute_registration.rb#112 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:112 def hook_attribute_type(attribute, type); end - # source://activemodel//lib/active_model/attribute_registration.rb#77 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:77 def pending_attribute_modifications; end - # source://activemodel//lib/active_model/attribute_registration.rb#91 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:91 def reset_default_attributes; end - # source://activemodel//lib/active_model/attribute_registration.rb#96 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:96 def reset_default_attributes!; end - # source://activemodel//lib/active_model/attribute_registration.rb#101 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:101 def resolve_attribute_name(name); end - # source://activemodel//lib/active_model/attribute_registration.rb#105 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:105 def resolve_type_name(name, **options); end end -# source://activemodel//lib/active_model/attribute_registration.rb#67 +# pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 class ActiveModel::AttributeRegistration::ClassMethods::PendingDecorator < ::Struct - # source://activemodel//lib/active_model/attribute_registration.rb#68 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:68 def apply_to(attribute_set); end # Returns the value of attribute decorator # # @return [Object] the current value of decorator # - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def decorator; end # Sets the attribute decorator @@ -1202,14 +1202,14 @@ class ActiveModel::AttributeRegistration::ClassMethods::PendingDecorator < ::Str # @param value [Object] the value to set the attribute decorator to. # @return [Object] the newly set value # - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def decorator=(_); end # Returns the value of attribute names # # @return [Object] the current value of names # - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def names; end # Sets the attribute names @@ -1217,37 +1217,37 @@ class ActiveModel::AttributeRegistration::ClassMethods::PendingDecorator < ::Str # @param value [Object] the value to set the attribute names to. # @return [Object] the newly set value # - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def names=(_); end class << self - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def [](*_arg0); end - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def inspect; end - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def keyword_init?; end - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def members; end - # source://activemodel//lib/active_model/attribute_registration.rb#67 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:67 def new(*_arg0); end end end -# source://activemodel//lib/active_model/attribute_registration.rb#61 +# pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 class ActiveModel::AttributeRegistration::ClassMethods::PendingDefault < ::Struct - # source://activemodel//lib/active_model/attribute_registration.rb#62 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:62 def apply_to(attribute_set); end # Returns the value of attribute default # # @return [Object] the current value of default # - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def default; end # Sets the attribute default @@ -1255,14 +1255,14 @@ class ActiveModel::AttributeRegistration::ClassMethods::PendingDefault < ::Struc # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value # - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def default=(_); end # Returns the value of attribute name # # @return [Object] the current value of name # - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def name; end # Sets the attribute name @@ -1270,37 +1270,37 @@ class ActiveModel::AttributeRegistration::ClassMethods::PendingDefault < ::Struc # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def name=(_); end class << self - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def [](*_arg0); end - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def inspect; end - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def keyword_init?; end - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def members; end - # source://activemodel//lib/active_model/attribute_registration.rb#61 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:61 def new(*_arg0); end end end -# source://activemodel//lib/active_model/attribute_registration.rb#54 +# pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 class ActiveModel::AttributeRegistration::ClassMethods::PendingType < ::Struct - # source://activemodel//lib/active_model/attribute_registration.rb#55 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:55 def apply_to(attribute_set); end # Returns the value of attribute name # # @return [Object] the current value of name # - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def name; end # Sets the attribute name @@ -1308,14 +1308,14 @@ class ActiveModel::AttributeRegistration::ClassMethods::PendingType < ::Struct # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def name=(_); end # Returns the value of attribute type # # @return [Object] the current value of type # - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def type; end # Sets the attribute type @@ -1323,173 +1323,173 @@ class ActiveModel::AttributeRegistration::ClassMethods::PendingType < ::Struct # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value # - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def type=(_); end class << self - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def [](*_arg0); end - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def inspect; end - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def keyword_init?; end - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def members; end - # source://activemodel//lib/active_model/attribute_registration.rb#54 + # pkg:gem/activemodel#lib/active_model/attribute_registration.rb:54 def new(*_arg0); end end end -# source://activemodel//lib/active_model/attribute_set/builder.rb#6 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:12 def initialize(attributes); end - # source://activemodel//lib/active_model/attribute_set.rb#106 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:106 def ==(other); end - # source://activemodel//lib/active_model/attribute_set.rb#16 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:16 def [](name); end - # source://activemodel//lib/active_model/attribute_set.rb#20 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:20 def []=(name, value); end - # source://activemodel//lib/active_model/attribute_set.rb#93 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:93 def accessed; end - # source://activemodel//lib/active_model/attribute_set.rb#24 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:24 def cast_types; end - # source://activemodel//lib/active_model/attribute_set.rb#73 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:73 def deep_dup; end - # source://activemodel//lib/active_model/attribute_set.rb#10 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:10 def each_value(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/attribute_set.rb#10 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:10 def except(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/attribute_set.rb#10 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:10 def fetch(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/attribute_set.rb#50 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:50 def fetch_value(name, &block); end - # source://activemodel//lib/active_model/attribute_set.rb#68 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:68 def freeze; end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_set.rb#44 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:44 def include?(name); end # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_set.rb#41 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:41 def key?(name); end - # source://activemodel//lib/active_model/attribute_set.rb#46 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:46 def keys; end - # source://activemodel//lib/active_model/attribute_set.rb#97 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:97 def map(&block); end - # source://activemodel//lib/active_model/attribute_set.rb#87 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:87 def reset(key); end - # source://activemodel//lib/active_model/attribute_set.rb#102 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:102 def reverse_merge!(target_attributes); end - # source://activemodel//lib/active_model/attribute_set.rb#39 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:39 def to_h; end - # source://activemodel//lib/active_model/attribute_set.rb#36 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:36 def to_hash; end - # source://activemodel//lib/active_model/attribute_set.rb#28 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:28 def values_before_type_cast; end - # source://activemodel//lib/active_model/attribute_set.rb#32 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:32 def values_for_database; end - # source://activemodel//lib/active_model/attribute_set.rb#64 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:64 def write_cast_value(name, value); end - # source://activemodel//lib/active_model/attribute_set.rb#54 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:111 def attributes; end private - # source://activemodel//lib/active_model/attribute_set.rb#114 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:114 def default_attribute(name); end - # source://activemodel//lib/active_model/attribute_set.rb#82 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:82 def initialize_clone(_); end - # source://activemodel//lib/active_model/attribute_set.rb#77 + # pkg:gem/activemodel#lib/active_model/attribute_set.rb:77 def initialize_dup(_); end end -# source://activemodel//lib/active_model/attribute_set/builder.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/yaml_encoder.rb:37 def default_types; end end @@ -1520,7 +1520,7 @@ end # person.name # => "Volmer" # person.active # => true # -# source://activemodel//lib/active_model/attributes.rb#30 +# pkg:gem/activemodel#lib/active_model/attributes.rb:30 module ActiveModel::Attributes extend ::ActiveSupport::Concern extend ::ActiveSupport::Autoload @@ -1533,7 +1533,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#106 + # pkg:gem/activemodel#lib/active_model/attributes.rb:106 def initialize(*_arg0); end # Returns an array of attribute names as strings. @@ -1548,7 +1548,7 @@ module ActiveModel::Attributes # person = Person.new # person.attribute_names # => ["name", "age"] # - # source://activemodel//lib/active_model/attributes.rb#146 + # pkg:gem/activemodel#lib/active_model/attributes.rb:146 def attribute_names; end # Returns a hash of all the attributes with their names as keys and the @@ -1567,24 +1567,24 @@ module ActiveModel::Attributes # # person.attributes # => { "name" => "Francesco", "age" => 22} # - # source://activemodel//lib/active_model/attributes.rb#131 + # pkg:gem/activemodel#lib/active_model/attributes.rb:131 def attributes; end - # source://activemodel//lib/active_model/attributes.rb#150 + # pkg:gem/activemodel#lib/active_model/attributes.rb:150 def freeze; end private - # source://activemodel//lib/active_model/attributes.rb#156 + # pkg:gem/activemodel#lib/active_model/attributes.rb:156 def _write_attribute(attr_name, value); end - # source://activemodel//lib/active_model/attributes.rb#161 + # pkg:gem/activemodel#lib/active_model/attributes.rb:161 def attribute(attr_name); end - # source://activemodel//lib/active_model/attributes.rb#159 + # pkg:gem/activemodel#lib/active_model/attributes.rb:159 def attribute=(attr_name, value); end - # source://activemodel//lib/active_model/attributes.rb#111 + # pkg:gem/activemodel#lib/active_model/attributes.rb:111 def initialize_dup(other); end module GeneratedClassMethods @@ -1604,7 +1604,7 @@ module ActiveModel::Attributes end end -# source://activemodel//lib/active_model/attributes.rb#39 +# pkg:gem/activemodel#lib/active_model/attributes.rb:39 module ActiveModel::Attributes::ClassMethods # :call-seq: attribute(name, cast_type = nil, default: nil, **options) # @@ -1625,7 +1625,7 @@ module ActiveModel::Attributes::ClassMethods # person.name # => "Volmer" # person.active # => true # - # source://activemodel//lib/active_model/attributes.rb#59 + # pkg:gem/activemodel#lib/active_model/attributes.rb:59 def attribute(name, *_arg1, **_arg2, &_arg3); end # Returns an array of attribute names as strings. @@ -1639,16 +1639,16 @@ module ActiveModel::Attributes::ClassMethods # # Person.attribute_names # => ["name", "age"] # - # source://activemodel//lib/active_model/attributes.rb#74 + # pkg:gem/activemodel#lib/active_model/attributes.rb:74 def attribute_names; end private - # source://activemodel//lib/active_model/attributes.rb#92 + # pkg:gem/activemodel#lib/active_model/attributes.rb:92 def define_method_attribute=(canonical_name, owner:, as: T.unsafe(nil)); end end -# source://activemodel//lib/active_model/attributes/normalization.rb#5 +# pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:5 module ActiveModel::Attributes::Normalization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1718,12 +1718,12 @@ module ActiveModel::Attributes::Normalization # # User.normalize_value_for(:phone, "+1 (555) 867-5309") # => "5558675309" # - # source://activemodel//lib/active_model/attributes/normalization.rb#70 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:70 def normalize_attribute(name); end private - # source://activemodel//lib/active_model/attributes/normalization.rb#140 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:140 def normalize_changed_in_place_attributes; end module GeneratedClassMethods @@ -1752,7 +1752,7 @@ module ActiveModel::Attributes::Normalization end end -# source://activemodel//lib/active_model/attributes/normalization.rb#75 +# pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:75 module ActiveModel::Attributes::Normalization::ClassMethods # Normalizes a given +value+ using normalizations declared for +name+. # @@ -1770,7 +1770,7 @@ module ActiveModel::Attributes::Normalization::ClassMethods # User.normalize_value_for(:email, " CRUISE-CONTROL@EXAMPLE.COM\n") # # => "cruise-control@example.com" # - # source://activemodel//lib/active_model/attributes/normalization.rb#134 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:134 def normalize_value_for(name, value); end # Declares a normalization for one or more attributes. The normalization @@ -1809,80 +1809,80 @@ module ActiveModel::Attributes::Normalization::ClassMethods # # User.normalize_value_for(:phone, "+1 (555) 867-5309") # => "5558675309" # - # source://activemodel//lib/active_model/attributes/normalization.rb#111 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:111 def normalizes(*names, with:, apply_to_nil: T.unsafe(nil)); end end -# source://activemodel//lib/active_model/attributes/normalization.rb#146 +# pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:146 class ActiveModel::Attributes::Normalization::NormalizedValueType include ::ActiveModel::Type::SerializeCastValue extend ::ActiveModel::Type::SerializeCastValue::ClassMethods # @return [NormalizedValueType] a new instance of NormalizedValueType # - # source://activemodel//lib/active_model/attributes/normalization.rb#152 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:152 def initialize(cast_type:, normalizer:, normalize_nil:); end - # source://activemodel//lib/active_model/attributes/normalization.rb#171 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:171 def ==(other); end - # source://activemodel//lib/active_model/attributes/normalization.rb#159 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:159 def cast(value); end # Returns the value of attribute cast_type. # - # source://activemodel//lib/active_model/attributes/normalization.rb#149 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:149 def cast_type; end - # source://activemodel//lib/active_model/attributes/normalization.rb#177 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:177 def eql?(other); end - # source://activemodel//lib/active_model/attributes/normalization.rb#179 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:179 def hash; end - # source://activemodel//lib/active_model/attributes/normalization.rb#183 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:183 def inspect; end # Returns the value of attribute normalize_nil. # - # source://activemodel//lib/active_model/attributes/normalization.rb#149 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:149 def normalize_nil; end # Returns the value of attribute normalize_nil. # - # source://activemodel//lib/active_model/attributes/normalization.rb#150 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:150 def normalize_nil?; end # Returns the value of attribute normalizer. # - # source://activemodel//lib/active_model/attributes/normalization.rb#149 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:149 def normalizer; end - # source://activemodel//lib/active_model/attributes/normalization.rb#163 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:163 def serialize(value); end - # source://activemodel//lib/active_model/attributes/normalization.rb#167 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:167 def serialize_cast_value(value); end private - # source://activemodel//lib/active_model/attributes/normalization.rb#186 + # pkg:gem/activemodel#lib/active_model/attributes/normalization.rb:186 def normalize(value); 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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validator.rb:180 def initialize(options, &block); end private - # source://activemodel//lib/active_model/validator.rb#186 + # pkg:gem/activemodel#lib/active_model/validator.rb:186 def validate_each(record, attribute, value); end end @@ -1944,7 +1944,7 @@ end # # NOTE: Defining the same callback multiple times will overwrite previous callback definitions. # -# source://activemodel//lib/active_model/callbacks.rb#65 +# pkg:gem/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 @@ -1984,22 +1984,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 + # pkg:gem/activemodel#lib/active_model/callbacks.rb:109 def define_model_callbacks(*callbacks); end private - # source://activemodel//lib/active_model/callbacks.rb#143 + # pkg:gem/activemodel#lib/active_model/callbacks.rb:143 def _define_after_model_callback(klass, callback); end - # source://activemodel//lib/active_model/callbacks.rb#136 + # pkg:gem/activemodel#lib/active_model/callbacks.rb:136 def _define_around_model_callback(klass, callback); end - # source://activemodel//lib/active_model/callbacks.rb#129 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/callbacks.rb:66 def extended(base); end end end @@ -2025,7 +2025,7 @@ end # cm.to_param # => nil # cm.to_partial_path # => "contact_messages/contact_message" # -# source://activemodel//lib/active_model/conversion.rb#24 +# pkg:gem/activemodel#lib/active_model/conversion.rb:24 module ActiveModel::Conversion extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2048,7 +2048,7 @@ module ActiveModel::Conversion # person = Person.new(1) # person.to_key # => [1] # - # source://activemodel//lib/active_model/conversion.rb#67 + # pkg:gem/activemodel#lib/active_model/conversion.rb:67 def to_key; end # If your object is already designed to implement all of the \Active \Model @@ -2066,7 +2066,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 + # pkg:gem/activemodel#lib/active_model/conversion.rb:49 def to_model; end # Returns a +string+ representing the object's key suitable for use in URLs, @@ -2088,7 +2088,7 @@ module ActiveModel::Conversion # person = Person.new(1) # person.to_param # => "1" # - # source://activemodel//lib/active_model/conversion.rb#90 + # pkg:gem/activemodel#lib/active_model/conversion.rb:90 def to_param; end # Returns a +string+ identifying the path associated with the object. @@ -2101,7 +2101,7 @@ module ActiveModel::Conversion # person = Person.new # person.to_partial_path # => "people/person" # - # source://activemodel//lib/active_model/conversion.rb#103 + # pkg:gem/activemodel#lib/active_model/conversion.rb:103 def to_partial_path; end module GeneratedClassMethods @@ -2115,12 +2115,12 @@ module ActiveModel::Conversion end end -# source://activemodel//lib/active_model/conversion.rb#107 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/conversion.rb:110 def _to_partial_path; end end @@ -2242,7 +2242,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 +# pkg:gem/activemodel#lib/active_model/dirty.rb:123 module ActiveModel::Dirty extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2251,36 +2251,36 @@ module ActiveModel::Dirty mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveModel::AttributeMethods::ClassMethods - # source://activemodel//lib/active_model/dirty.rb#264 + # pkg:gem/activemodel#lib/active_model/dirty.rb:264 def as_json(options = T.unsafe(nil)); end # Dispatch target for {*_changed?}[rdoc-ref:#*_changed?] attribute methods. # # @return [Boolean] # - # source://activemodel//lib/active_model/dirty.rb#300 + # pkg:gem/activemodel#lib/active_model/dirty.rb:300 def attribute_changed?(attr_name, **options); end # @return [Boolean] # - # source://activemodel//lib/active_model/dirty.rb#367 + # pkg:gem/activemodel#lib/active_model/dirty.rb:367 def attribute_changed_in_place?(attr_name); end # Dispatch target for {*_previously_changed?}[rdoc-ref:#*_previously_changed?] attribute methods. # # @return [Boolean] # - # source://activemodel//lib/active_model/dirty.rb#310 + # pkg:gem/activemodel#lib/active_model/dirty.rb:310 def attribute_previously_changed?(attr_name, **options); end # Dispatch target for {*_previously_was}[rdoc-ref:#*_previously_was] attribute methods. # - # source://activemodel//lib/active_model/dirty.rb#315 + # pkg:gem/activemodel#lib/active_model/dirty.rb:315 def attribute_previously_was(attr_name); end # Dispatch target for {*_was}[rdoc-ref:#*_was] attribute methods. # - # source://activemodel//lib/active_model/dirty.rb#305 + # pkg:gem/activemodel#lib/active_model/dirty.rb:305 def attribute_was(attr_name); end # Returns an array with the name of the attributes with unsaved changes. @@ -2289,7 +2289,7 @@ module ActiveModel::Dirty # person.name = 'bob' # person.changed # => ["name"] # - # source://activemodel//lib/active_model/dirty.rb#295 + # pkg:gem/activemodel#lib/active_model/dirty.rb:295 def changed; end # Returns +true+ if any of the attributes has unsaved changes, +false+ otherwise. @@ -2300,7 +2300,7 @@ module ActiveModel::Dirty # # @return [Boolean] # - # source://activemodel//lib/active_model/dirty.rb#286 + # pkg:gem/activemodel#lib/active_model/dirty.rb:286 def changed?; end # Returns a hash of the attributes with unsaved changes indicating their original @@ -2310,7 +2310,7 @@ module ActiveModel::Dirty # person.name = 'robert' # person.changed_attributes # => {"name" => "bob"} # - # source://activemodel//lib/active_model/dirty.rb#343 + # pkg:gem/activemodel#lib/active_model/dirty.rb:343 def changed_attributes; end # Returns a hash of changed attributes indicating their original @@ -2320,24 +2320,24 @@ module ActiveModel::Dirty # person.name = 'bob' # person.changes # => { "name" => ["bill", "bob"] } # - # source://activemodel//lib/active_model/dirty.rb#353 + # pkg:gem/activemodel#lib/active_model/dirty.rb:353 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#272 + # pkg:gem/activemodel#lib/active_model/dirty.rb:272 def changes_applied; end - # source://activemodel//lib/active_model/dirty.rb#331 + # pkg:gem/activemodel#lib/active_model/dirty.rb:331 def clear_attribute_changes(attr_names); end # Clears all dirty data: current changes and previous changes. # - # source://activemodel//lib/active_model/dirty.rb#325 + # pkg:gem/activemodel#lib/active_model/dirty.rb:325 def clear_changes_information; end - # source://activemodel//lib/active_model/dirty.rb#253 + # pkg:gem/activemodel#lib/active_model/dirty.rb:253 def init_attributes(other); end # Returns a hash of attributes that were changed before the model was saved. @@ -2347,52 +2347,52 @@ module ActiveModel::Dirty # person.save # person.previous_changes # => {"name" => ["bob", "robert"]} # - # source://activemodel//lib/active_model/dirty.rb#363 + # pkg:gem/activemodel#lib/active_model/dirty.rb:363 def previous_changes; end # Restore all previous data of the provided attributes. # - # source://activemodel//lib/active_model/dirty.rb#320 + # pkg:gem/activemodel#lib/active_model/dirty.rb:320 def restore_attributes(attr_names = T.unsafe(nil)); end private # Dispatch target for *_change attribute methods. # - # source://activemodel//lib/active_model/dirty.rb#399 + # pkg:gem/activemodel#lib/active_model/dirty.rb:399 def attribute_change(attr_name); end # Dispatch target for *_previous_change attribute methods. # - # source://activemodel//lib/active_model/dirty.rb#404 + # pkg:gem/activemodel#lib/active_model/dirty.rb:404 def attribute_previous_change(attr_name); end # Dispatch target for *_will_change! attribute methods. # - # source://activemodel//lib/active_model/dirty.rb#409 + # pkg:gem/activemodel#lib/active_model/dirty.rb:409 def attribute_will_change!(attr_name); end - # source://activemodel//lib/active_model/dirty.rb#378 + # pkg:gem/activemodel#lib/active_model/dirty.rb:378 def clear_attribute_change(attr_name); end - # source://activemodel//lib/active_model/dirty.rb#390 + # pkg:gem/activemodel#lib/active_model/dirty.rb:390 def forget_attribute_assignments; end - # source://activemodel//lib/active_model/dirty.rb#372 + # pkg:gem/activemodel#lib/active_model/dirty.rb:372 def init_internals; end - # source://activemodel//lib/active_model/dirty.rb#248 + # pkg:gem/activemodel#lib/active_model/dirty.rb:248 def initialize_dup(other); end - # source://activemodel//lib/active_model/dirty.rb#394 + # pkg:gem/activemodel#lib/active_model/dirty.rb:394 def mutations_before_last_save; end - # source://activemodel//lib/active_model/dirty.rb#382 + # pkg:gem/activemodel#lib/active_model/dirty.rb:382 def mutations_from_database; end # Dispatch target for restore_*! attribute methods. # - # source://activemodel//lib/active_model/dirty.rb#414 + # pkg:gem/activemodel#lib/active_model/dirty.rb:414 def restore_attribute!(attr_name); end module GeneratedClassMethods @@ -2420,7 +2420,7 @@ end # # All \Active \Model validations are built on top of this validator. # -# source://activemodel//lib/active_model/validator.rb#134 +# pkg:gem/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 @@ -2429,26 +2429,26 @@ class ActiveModel::EachValidator < ::ActiveModel::Validator # @raise [ArgumentError] # @return [EachValidator] a new instance of EachValidator # - # source://activemodel//lib/active_model/validator.rb#140 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validator.rb:150 def validate(record); end # Override this method in subclasses with the validation logic, adding @@ -2456,12 +2456,12 @@ class ActiveModel::EachValidator < ::ActiveModel::Validator # # @raise [NotImplementedError] # - # source://activemodel//lib/active_model/validator.rb#161 + # pkg:gem/activemodel#lib/active_model/validator.rb:161 def validate_each(record, attribute, value); end private - # source://activemodel//lib/active_model/validator.rb#172 + # pkg:gem/activemodel#lib/active_model/validator.rb:172 def prepare_value_for_validation(value, record, attr_name); end end @@ -2469,24 +2469,24 @@ end # # Represents one single error # -# source://activemodel//lib/active_model/error.rb#8 +# pkg:gem/activemodel#lib/active_model/error.rb:8 class ActiveModel::Error # @return [Error] a new instance of Error # - # source://activemodel//lib/active_model/error.rb#102 + # pkg:gem/activemodel#lib/active_model/error.rb:102 def initialize(base, attribute, type = T.unsafe(nil), **options); end - # source://activemodel//lib/active_model/error.rb#189 + # pkg:gem/activemodel#lib/active_model/error.rb:189 def ==(other); end # The attribute of +base+ which the error belongs to # - # source://activemodel//lib/active_model/error.rb#120 + # pkg:gem/activemodel#lib/active_model/error.rb:120 def attribute; end # The object which the error belongs to # - # source://activemodel//lib/active_model/error.rb#118 + # pkg:gem/activemodel#lib/active_model/error.rb:118 def base; end # Returns the error details. @@ -2495,7 +2495,7 @@ class ActiveModel::Error # error.details # # => { error: :too_short, count: 5 } # - # source://activemodel//lib/active_model/error.rb#151 + # pkg:gem/activemodel#lib/active_model/error.rb:151 def detail; end # Returns the error details. @@ -2504,10 +2504,10 @@ class ActiveModel::Error # error.details # # => { error: :too_short, count: 5 } # - # source://activemodel//lib/active_model/error.rb#148 + # pkg:gem/activemodel#lib/active_model/error.rb:148 def details; end - # source://activemodel//lib/active_model/error.rb#192 + # pkg:gem/activemodel#lib/active_model/error.rb:192 def eql?(other); end # Returns the full error message. @@ -2516,22 +2516,22 @@ class ActiveModel::Error # error.full_message # # => "Name is too short (minimum is 5 characters)" # - # source://activemodel//lib/active_model/error.rb#158 + # pkg:gem/activemodel#lib/active_model/error.rb:158 def full_message; end - # source://activemodel//lib/active_model/error.rb#194 + # pkg:gem/activemodel#lib/active_model/error.rb:194 def hash; end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def i18n_customize_full_message; end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def i18n_customize_full_message=(_arg0); end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def i18n_customize_full_message?; end - # source://activemodel//lib/active_model/error.rb#198 + # pkg:gem/activemodel#lib/active_model/error.rb:198 def inspect; end # See if error matches provided +attribute+, +type+, and +options+. @@ -2540,7 +2540,7 @@ class ActiveModel::Error # # @return [Boolean] # - # source://activemodel//lib/active_model/error.rb#165 + # pkg:gem/activemodel#lib/active_model/error.rb:165 def match?(attribute, type = T.unsafe(nil), **options); end # Returns the error message. @@ -2549,18 +2549,18 @@ class ActiveModel::Error # error.message # # => "is too short (minimum is 5 characters)" # - # source://activemodel//lib/active_model/error.rb#134 + # pkg:gem/activemodel#lib/active_model/error.rb:134 def message; end # The options provided when calling errors#add # - # source://activemodel//lib/active_model/error.rb#127 + # pkg:gem/activemodel#lib/active_model/error.rb:127 def options; end # The raw value provided as the second parameter when calling # errors#add # - # source://activemodel//lib/active_model/error.rb#125 + # pkg:gem/activemodel#lib/active_model/error.rb:125 def raw_type; end # See if error matches provided +attribute+, +type+, and +options+ exactly. @@ -2570,54 +2570,54 @@ class ActiveModel::Error # # @return [Boolean] # - # source://activemodel//lib/active_model/error.rb#183 + # pkg:gem/activemodel#lib/active_model/error.rb:183 def strict_match?(attribute, type, **options); end # The type of error, defaults to +:invalid+ unless specified # - # source://activemodel//lib/active_model/error.rb#122 + # pkg:gem/activemodel#lib/active_model/error.rb:122 def type; end protected - # source://activemodel//lib/active_model/error.rb#203 + # pkg:gem/activemodel#lib/active_model/error.rb:203 def attributes_for_hash; end private - # source://activemodel//lib/active_model/error.rb#110 + # pkg:gem/activemodel#lib/active_model/error.rb:110 def initialize_dup(other); end class << self - # source://activemodel//lib/active_model/error.rb#14 + # pkg:gem/activemodel#lib/active_model/error.rb:14 def full_message(attribute, message, base); end - # source://activemodel//lib/active_model/error.rb#63 + # pkg:gem/activemodel#lib/active_model/error.rb:63 def generate_message(attribute, type, base, options); end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def i18n_customize_full_message; end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def i18n_customize_full_message=(value); end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def i18n_customize_full_message?; end private - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def __class_attr_i18n_customize_full_message; end - # source://activemodel//lib/active_model/error.rb#12 + # pkg:gem/activemodel#lib/active_model/error.rb:12 def __class_attr_i18n_customize_full_message=(new_value); end end end -# source://activemodel//lib/active_model/error.rb#9 +# pkg:gem/activemodel#lib/active_model/error.rb:9 ActiveModel::Error::CALLBACKS_OPTIONS = T.let(T.unsafe(nil), Array) -# source://activemodel//lib/active_model/error.rb#10 +# pkg:gem/activemodel#lib/active_model/error.rb:10 ActiveModel::Error::MESSAGE_OPTIONS = T.let(T.unsafe(nil), Array) # = Active \Model \Errors @@ -2671,7 +2671,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#60 +# pkg:gem/activemodel#lib/active_model/errors.rb:60 class ActiveModel::Errors include ::Enumerable @@ -2685,7 +2685,7 @@ class ActiveModel::Errors # # @return [Errors] a new instance of Errors # - # source://activemodel//lib/active_model/errors.rb#114 + # pkg:gem/activemodel#lib/active_model/errors.rb:114 def initialize(base); end # When passed a symbol or a name of a method, returns an array of errors @@ -2694,7 +2694,7 @@ class ActiveModel::Errors # person.errors[:name] # => ["cannot be nil"] # person.errors['name'] # => ["cannot be nil"] # - # source://activemodel//lib/active_model/errors.rb#226 + # pkg:gem/activemodel#lib/active_model/errors.rb:226 def [](attribute); end # Adds a new error of +type+ on +attribute+. @@ -2747,7 +2747,7 @@ class ActiveModel::Errors # person.errors.details # # => {:base=>[{error: :name_or_email_blank}]} # - # source://activemodel//lib/active_model/errors.rb#339 + # pkg:gem/activemodel#lib/active_model/errors.rb:339 def add(attribute, type = T.unsafe(nil), **options); end # Returns +true+ if an error matches provided +attribute+ and +type+, @@ -2769,7 +2769,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#369 + # pkg:gem/activemodel#lib/active_model/errors.rb:369 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 @@ -2779,7 +2779,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#244 + # pkg:gem/activemodel#lib/active_model/errors.rb:244 def as_json(options = T.unsafe(nil)); end # Returns all error attribute names @@ -2787,10 +2787,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#234 + # pkg:gem/activemodel#lib/active_model/errors.rb:234 def attribute_names; end - # source://activemodel//lib/active_model/errors.rb#100 + # pkg:gem/activemodel#lib/active_model/errors.rb:100 def clear(*_arg0, **_arg1, &_arg2); end # Copies the errors from other. @@ -2804,7 +2804,7 @@ class ActiveModel::Errors # # person.errors.copy!(other) # - # source://activemodel//lib/active_model/errors.rb#135 + # pkg:gem/activemodel#lib/active_model/errors.rb:135 def copy!(other); end # Delete messages for +key+. Returns the deleted messages. @@ -2813,12 +2813,12 @@ class ActiveModel::Errors # person.errors.delete(:name) # => ["cannot be nil"] # person.errors[:name] # => [] # - # source://activemodel//lib/active_model/errors.rb#212 + # pkg:gem/activemodel#lib/active_model/errors.rb:212 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#273 + # pkg:gem/activemodel#lib/active_model/errors.rb:273 def details; end # :method: size @@ -2827,23 +2827,23 @@ class ActiveModel::Errors # # Returns number of errors. # - # source://activemodel//lib/active_model/errors.rb#100 + # pkg:gem/activemodel#lib/active_model/errors.rb:100 def each(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/errors.rb#100 + # pkg:gem/activemodel#lib/active_model/errors.rb:100 def empty?(*_arg0, **_arg1, &_arg2); end # The actual array of +Error+ objects # This method is aliased to objects. # - # source://activemodel//lib/active_model/errors.rb#104 + # pkg:gem/activemodel#lib/active_model/errors.rb:104 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#448 + # pkg:gem/activemodel#lib/active_model/errors.rb:448 def full_message(attribute, message); end # Returns all the full error messages in an array. @@ -2857,7 +2857,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#412 + # pkg:gem/activemodel#lib/active_model/errors.rb:412 def full_messages; end # Returns all the full error messages for a given attribute in an array. @@ -2871,7 +2871,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#427 + # pkg:gem/activemodel#lib/active_model/errors.rb:427 def full_messages_for(attribute); end # Translates an error message in its default scope @@ -2899,7 +2899,7 @@ class ActiveModel::Errors # * errors.attributes.title.blank # * errors.messages.blank # - # source://activemodel//lib/active_model/errors.rb#476 + # pkg:gem/activemodel#lib/active_model/errors.rb:476 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. @@ -2907,7 +2907,7 @@ class ActiveModel::Errors # person.errors.group_by_attribute # # => {:name=>[<#ActiveModel::Error>, <#ActiveModel::Error>]} # - # source://activemodel//lib/active_model/errors.rb#286 + # pkg:gem/activemodel#lib/active_model/errors.rb:286 def group_by_attribute; end # Returns +true+ if the error messages include an error for the given key @@ -2919,7 +2919,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#204 + # pkg:gem/activemodel#lib/active_model/errors.rb:204 def has_key?(attribute); end # Imports one error. @@ -2932,7 +2932,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#151 + # pkg:gem/activemodel#lib/active_model/errors.rb:151 def import(error, override_options = T.unsafe(nil)); end # Returns +true+ if the error messages include an error for the given key @@ -2944,10 +2944,10 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#199 + # pkg:gem/activemodel#lib/active_model/errors.rb:199 def include?(attribute); end - # source://activemodel//lib/active_model/errors.rb#480 + # pkg:gem/activemodel#lib/active_model/errors.rb:480 def inspect; end # Returns +true+ if the error messages include an error for the given key @@ -2959,7 +2959,7 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#205 + # pkg:gem/activemodel#lib/active_model/errors.rb:205 def key?(attribute); end # Merges the errors from other, @@ -2973,12 +2973,12 @@ class ActiveModel::Errors # # person.errors.merge!(other) # - # source://activemodel//lib/active_model/errors.rb#171 + # pkg:gem/activemodel#lib/active_model/errors.rb:171 def merge!(other); end # Returns a Hash of attributes with an array of their error messages. # - # source://activemodel//lib/active_model/errors.rb#265 + # pkg:gem/activemodel#lib/active_model/errors.rb:265 def messages; end # Returns all the error messages for a given attribute in an array. @@ -2992,13 +2992,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#441 + # pkg:gem/activemodel#lib/active_model/errors.rb:441 def messages_for(attribute); end # The actual array of +Error+ objects # This method is aliased to objects. # - # source://activemodel//lib/active_model/errors.rb#105 + # pkg:gem/activemodel#lib/active_model/errors.rb:105 def objects; end # Returns +true+ if an error on the attribute with the given type is @@ -3015,10 +3015,10 @@ class ActiveModel::Errors # # @return [Boolean] # - # source://activemodel//lib/active_model/errors.rb#392 + # pkg:gem/activemodel#lib/active_model/errors.rb:392 def of_kind?(attribute, type = T.unsafe(nil)); end - # source://activemodel//lib/active_model/errors.rb#100 + # pkg:gem/activemodel#lib/active_model/errors.rb:100 def size(*_arg0, **_arg1, &_arg2); end # Returns all the full error messages in an array. @@ -3032,7 +3032,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 + # pkg:gem/activemodel#lib/active_model/errors.rb:415 def to_a; end # Returns a Hash of attributes with their error messages. If +full_messages+ @@ -3041,10 +3041,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#253 + # pkg:gem/activemodel#lib/active_model/errors.rb:253 def to_hash(full_messages = T.unsafe(nil)); end - # source://activemodel//lib/active_model/errors.rb#100 + # pkg:gem/activemodel#lib/active_model/errors.rb:100 def uniq!(*_arg0, **_arg1, &_arg2); end # Search for errors matching +attribute+, +type+, or +options+. @@ -3055,19 +3055,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#186 + # pkg:gem/activemodel#lib/active_model/errors.rb:186 def where(attribute, type = T.unsafe(nil), **options); end private - # source://activemodel//lib/active_model/errors.rb#119 + # pkg:gem/activemodel#lib/active_model/errors.rb:119 def initialize_dup(other); end - # source://activemodel//lib/active_model/errors.rb#487 + # pkg:gem/activemodel#lib/active_model/errors.rb:487 def normalize_arguments(attribute, type, **options); end end -# source://activemodel//lib/active_model/errors.rb#262 +# pkg:gem/activemodel#lib/active_model/errors.rb:262 ActiveModel::Errors::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) # = Active \Model \ForbiddenAttributesError @@ -3085,206 +3085,206 @@ ActiveModel::Errors::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) # Person.new(params) # # => # # -# source://activemodel//lib/active_model/forbidden_attributes_protection.rb#18 +# pkg:gem/activemodel#lib/active_model/forbidden_attributes_protection.rb:18 class ActiveModel::ForbiddenAttributesError < ::StandardError; end -# source://activemodel//lib/active_model/forbidden_attributes_protection.rb#21 +# pkg:gem/activemodel#lib/active_model/forbidden_attributes_protection.rb:21 module ActiveModel::ForbiddenAttributesProtection private - # source://activemodel//lib/active_model/forbidden_attributes_protection.rb#23 + # pkg:gem/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#31 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:92 def initialize(attributes); end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#101 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:125 def finalize_changes; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#121 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:130 def finalized_changes; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#151 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:134 def ==(other); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#110 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:110 def [](key); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#114 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:114 def []=(key, value); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#118 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:118 def deep_dup; end - # source://activemodel//lib/active_model/attribute_set/builder.rb#129 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:129 def each_key(&block); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#95 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:106 def key?(key); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#142 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:142 def marshal_dump; end - # source://activemodel//lib/active_model/attribute_set/builder.rb#146 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:146 def marshal_load(values); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#95 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:163 def additional_types; end - # source://activemodel//lib/active_model/attribute_set/builder.rb#165 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:163 def delegate_hash; end - # source://activemodel//lib/active_model/attribute_set/builder.rb#124 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:163 def values; end end -# source://activemodel//lib/active_model/attribute_set/builder.rb#21 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:32 def key?(name); end - # source://activemodel//lib/active_model/attribute_set/builder.rb#36 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:36 def keys; end protected - # source://activemodel//lib/active_model/attribute_set/builder.rb#61 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:71 def additional_types; end - # source://activemodel//lib/active_model/attribute_set/builder.rb#73 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_set/builder.rb:71 def values; end end -# source://activemodel//lib/active_model/lint.rb#4 +# pkg:gem/activemodel#lib/active_model/lint.rb:4 module ActiveModel::Lint; end # == Active \Model \Lint \Tests @@ -3307,7 +3307,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 +# pkg:gem/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. @@ -3319,7 +3319,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 + # pkg:gem/activemodel#lib/active_model/lint.rb:102 def test_errors_aref; end # Passes if the object's model responds to model_name both as @@ -3329,7 +3329,7 @@ module ActiveModel::Lint::Tests # # Check ActiveModel::Naming for more information. # - # source://activemodel//lib/active_model/lint.rb#81 + # pkg:gem/activemodel#lib/active_model/lint.rb:81 def test_model_naming; end # Passes if the object's model responds to persisted? and if @@ -3342,7 +3342,7 @@ module ActiveModel::Lint::Tests # # @return [Boolean] # - # source://activemodel//lib/active_model/lint.rb#70 + # pkg:gem/activemodel#lib/active_model/lint.rb:70 def test_persisted?; end # Passes if the object's model responds to to_key and if calling @@ -3352,7 +3352,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 + # pkg:gem/activemodel#lib/active_model/lint.rb:31 def test_to_key; end # Passes if the object's model responds to to_param and if @@ -3365,7 +3365,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 + # pkg:gem/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 @@ -3374,18 +3374,18 @@ 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 + # pkg:gem/activemodel#lib/active_model/lint.rb:58 def test_to_partial_path; end private - # source://activemodel//lib/active_model/lint.rb#117 + # pkg:gem/activemodel#lib/active_model/lint.rb:117 def assert_boolean(result, name); end - # source://activemodel//lib/active_model/lint.rb#108 + # pkg:gem/activemodel#lib/active_model/lint.rb:108 def def_method(receiver, name, &block); end - # source://activemodel//lib/active_model/lint.rb#112 + # pkg:gem/activemodel#lib/active_model/lint.rb:112 def model; end end @@ -3399,7 +3399,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 +# pkg:gem/activemodel#lib/active_model/attribute_methods.rb:15 class ActiveModel::MissingAttributeError < ::NoMethodError; end # = Active \Model \Basic \Model @@ -3441,7 +3441,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 +# pkg:gem/activemodel#lib/active_model/model.rb:42 module ActiveModel::Model include ::ActiveModel::Access extend ::ActiveSupport::Concern @@ -3480,7 +3480,7 @@ module ActiveModel::Model end end -# source://activemodel//lib/active_model/naming.rb#8 +# pkg:gem/activemodel#lib/active_model/naming.rb:8 class ActiveModel::Name include ::Comparable @@ -3500,57 +3500,57 @@ class ActiveModel::Name # @raise [ArgumentError] # @return [Name] a new instance of Name # - # source://activemodel//lib/active_model/naming.rb#165 + # pkg:gem/activemodel#lib/active_model/naming.rb:165 def initialize(klass, namespace = T.unsafe(nil), name = T.unsafe(nil), locale = T.unsafe(nil)); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def !~(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def <=>(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def ==(arg); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def ===(arg); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def =~(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def as_json(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute collection. # - # source://activemodel//lib/active_model/naming.rb#15 + # pkg:gem/activemodel#lib/active_model/naming.rb:15 def cache_key; end # Returns the value of attribute collection. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def collection; end # Sets the attribute collection # # @param value the value to set the attribute collection to. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def collection=(_arg0); end # Returns the value of attribute element. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def element; end # Sets the attribute element # # @param value the value to set the attribute element to. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def element=(_arg0); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def eql?(*_arg0, **_arg1, &_arg2); end # Transform the model name into a more human format, using I18n. By default, @@ -3564,120 +3564,120 @@ class ActiveModel::Name # # Specify +options+ with additional translating options. # - # source://activemodel//lib/active_model/naming.rb#196 + # pkg:gem/activemodel#lib/active_model/naming.rb:196 def human(options = T.unsafe(nil)); end # Returns the value of attribute i18n_key. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 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#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def i18n_key=(_arg0); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def match?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute name. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def name=(_arg0); end # Returns the value of attribute param_key. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 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#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def param_key=(_arg0); end # Returns the value of attribute plural. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def plural; end # Sets the attribute plural # # @param value the value to set the attribute plural to. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def plural=(_arg0); end # Returns the value of attribute route_key. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 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#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def route_key=(_arg0); end # Returns the value of attribute singular. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def singular; end # Sets the attribute singular # # @param value the value to set the attribute singular to. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def singular=(_arg0); end # Returns the value of attribute singular_route_key. # - # source://activemodel//lib/active_model/naming.rb#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 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#11 + # pkg:gem/activemodel#lib/active_model/naming.rb:11 def singular_route_key=(_arg0); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def to_s(*_arg0, **_arg1, &_arg2); end - # source://activemodel//lib/active_model/naming.rb#150 + # pkg:gem/activemodel#lib/active_model/naming.rb:150 def to_str(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activemodel//lib/active_model/naming.rb#208 + # pkg:gem/activemodel#lib/active_model/naming.rb:208 def uncountable?; end private - # source://activemodel//lib/active_model/naming.rb#215 + # pkg:gem/activemodel#lib/active_model/naming.rb:215 def _singularize(string); end - # source://activemodel//lib/active_model/naming.rb#219 + # pkg:gem/activemodel#lib/active_model/naming.rb:219 def i18n_keys; end - # source://activemodel//lib/active_model/naming.rb#227 + # pkg:gem/activemodel#lib/active_model/naming.rb:227 def i18n_scope; end end -# source://activemodel//lib/active_model/naming.rb#213 +# pkg:gem/activemodel#lib/active_model/naming.rb:213 ActiveModel::Name::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) # = Active \Model \Naming @@ -3700,7 +3700,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#251 +# pkg:gem/activemodel#lib/active_model/naming.rb:251 module ActiveModel::Naming # Returns an ActiveModel::Name object for module. It can be # used to retrieve all kinds of naming-related information @@ -3715,16 +3715,16 @@ module ActiveModel::Naming # Person.model_name.singular # => "person" # Person.model_name.plural # => "people" # - # source://activemodel//lib/active_model/naming.rb#269 + # pkg:gem/activemodel#lib/active_model/naming.rb:269 def model_name; end private - # source://activemodel//lib/active_model/naming.rb#351 + # pkg:gem/activemodel#lib/active_model/naming.rb:351 def inherited(base); end class << self - # source://activemodel//lib/active_model/naming.rb#252 + # pkg:gem/activemodel#lib/active_model/naming.rb:252 def extended(base); end # Returns string to use for params names. It differs for @@ -3736,7 +3736,7 @@ module ActiveModel::Naming # # For shared engine: # ActiveModel::Naming.param_key(Blog::Post) # => "blog_post" # - # source://activemodel//lib/active_model/naming.rb#337 + # pkg:gem/activemodel#lib/active_model/naming.rb:337 def param_key(record_or_class); end # Returns the plural class name of a record or class. @@ -3744,7 +3744,7 @@ module ActiveModel::Naming # ActiveModel::Naming.plural(post) # => "posts" # ActiveModel::Naming.plural(Highrise::Person) # => "highrise_people" # - # source://activemodel//lib/active_model/naming.rb#282 + # pkg:gem/activemodel#lib/active_model/naming.rb:282 def plural(record_or_class); end # Returns string to use while generating route names. It differs for @@ -3759,7 +3759,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#325 + # pkg:gem/activemodel#lib/active_model/naming.rb:325 def route_key(record_or_class); end # Returns the singular class name of a record or class. @@ -3767,7 +3767,7 @@ module ActiveModel::Naming # ActiveModel::Naming.singular(post) # => "post" # ActiveModel::Naming.singular(Highrise::Person) # => "highrise_person" # - # source://activemodel//lib/active_model/naming.rb#290 + # pkg:gem/activemodel#lib/active_model/naming.rb:290 def singular(record_or_class); end # Returns string to use while generating route names. It differs for @@ -3779,7 +3779,7 @@ module ActiveModel::Naming # # For shared engine: # ActiveModel::Naming.singular_route_key(Blog::Post) # => "blog_post" # - # source://activemodel//lib/active_model/naming.rb#310 + # pkg:gem/activemodel#lib/active_model/naming.rb:310 def singular_route_key(record_or_class); end # Identifies whether the class name of a record or class is uncountable. @@ -3789,33 +3789,33 @@ module ActiveModel::Naming # # @return [Boolean] # - # source://activemodel//lib/active_model/naming.rb#298 + # pkg:gem/activemodel#lib/active_model/naming.rb:298 def uncountable?(record_or_class); end private - # source://activemodel//lib/active_model/naming.rb#341 + # pkg:gem/activemodel#lib/active_model/naming.rb:341 def model_name_from_record_or_class(record_or_class); end end end -# source://activemodel//lib/active_model/nested_error.rb#6 +# pkg:gem/activemodel#lib/active_model/nested_error.rb:6 class ActiveModel::NestedError < ::ActiveModel::Error # @return [NestedError] a new instance of NestedError # - # source://activemodel//lib/active_model/nested_error.rb#7 + # pkg:gem/activemodel#lib/active_model/nested_error.rb:7 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#16 + # pkg:gem/activemodel#lib/active_model/nested_error.rb:16 def inner_error; end - # source://activemodel//lib/active_model/nested_error.rb#18 + # pkg:gem/activemodel#lib/active_model/nested_error.rb:18 def message(*_arg0, **_arg1, &_arg2); end end -# source://activemodel//lib/active_model/attribute_mutation_tracker.rb#156 +# pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:156 class ActiveModel::NullMutationTracker include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -3823,71 +3823,71 @@ class ActiveModel::NullMutationTracker # @return [Boolean] # - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#174 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:174 def any_changes?; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#171 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:163 def changed_values; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#167 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:167 def changes; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#186 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:157 def allocate; end - # source://activemodel//lib/active_model/attribute_mutation_tracker.rb#157 + # pkg:gem/activemodel#lib/active_model/attribute_mutation_tracker.rb:157 def new(*_arg0); end end end -# source://activemodel//lib/active_model/railtie.rb#7 +# pkg:gem/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#520 +# pkg:gem/activemodel#lib/active_model/errors.rb:520 class ActiveModel::RangeError < ::RangeError; end -# source://activemodel//lib/active_model/secure_password.rb#4 +# pkg:gem/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#15 + # pkg:gem/activemodel#lib/active_model/secure_password.rb:15 def min_cost; end - # source://activemodel//lib/active_model/secure_password.rb#15 + # pkg:gem/activemodel#lib/active_model/secure_password.rb:15 def min_cost=(_arg0); end end end -# source://activemodel//lib/active_model/secure_password.rb#19 +# pkg:gem/activemodel#lib/active_model/secure_password.rb:19 module ActiveModel::SecurePassword::ClassMethods # Adds methods to set and authenticate against a BCrypt password. # This mechanism requires you to have a +XXX_digest+ attribute, @@ -3993,18 +3993,18 @@ module ActiveModel::SecurePassword::ClassMethods # # raises ActiveSupport::MessageVerifier::InvalidSignature since the token is expired # User.find_by_password_reset_token!(token) # - # source://activemodel//lib/active_model/secure_password.rb#123 + # pkg:gem/activemodel#lib/active_model/secure_password.rb:123 def has_secure_password(attribute = T.unsafe(nil), validations: T.unsafe(nil), reset_token: T.unsafe(nil)); end end -# source://activemodel//lib/active_model/secure_password.rb#12 +# pkg:gem/activemodel#lib/active_model/secure_password.rb:12 ActiveModel::SecurePassword::DEFAULT_RESET_TOKEN_EXPIRES_IN = T.let(T.unsafe(nil), ActiveSupport::Duration) -# source://activemodel//lib/active_model/secure_password.rb#194 +# pkg:gem/activemodel#lib/active_model/secure_password.rb:194 class ActiveModel::SecurePassword::InstanceMethodsOnActivation < ::Module # @return [InstanceMethodsOnActivation] a new instance of InstanceMethodsOnActivation # - # source://activemodel//lib/active_model/secure_password.rb#195 + # pkg:gem/activemodel#lib/active_model/secure_password.rb:195 def initialize(attribute, reset_token:); end end @@ -4012,7 +4012,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 +# pkg:gem/activemodel#lib/active_model/secure_password.rb:10 ActiveModel::SecurePassword::MAX_PASSWORD_LENGTH_ALLOWED = T.let(T.unsafe(nil), Integer) # = Active \Model \Serialization @@ -4079,7 +4079,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 +# pkg:gem/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 @@ -4098,7 +4098,7 @@ module ActiveModel::Serialization # end # end # - # source://activemodel//lib/active_model/serialization.rb#167 + # pkg:gem/activemodel#lib/active_model/serialization.rb:167 def read_attribute_for_serialization(*_arg0); end # Returns a serialized hash of your object. @@ -4157,12 +4157,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 + # pkg:gem/activemodel#lib/active_model/serialization.rb:125 def serializable_hash(options = T.unsafe(nil)); end private - # source://activemodel//lib/active_model/serialization.rb#170 + # pkg:gem/activemodel#lib/active_model/serialization.rb:170 def attribute_names_for_serialization; end # Add associations specified via the :include option. @@ -4172,21 +4172,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 + # pkg:gem/activemodel#lib/active_model/serialization.rb:184 def serializable_add_includes(options = T.unsafe(nil)); end - # source://activemodel//lib/active_model/serialization.rb#174 + # pkg:gem/activemodel#lib/active_model/serialization.rb:174 def serializable_attributes(attribute_names); end end -# source://activemodel//lib/active_model.rb#74 +# pkg:gem/activemodel#lib/active_model.rb:74 module ActiveModel::Serializers extend ::ActiveSupport::Autoload end # = Active \Model \JSON \Serializer # -# source://activemodel//lib/active_model/serializers/json.rb#8 +# pkg:gem/activemodel#lib/active_model/serializers/json.rb:8 module ActiveModel::Serializers::JSON include ::ActiveModel::Serialization extend ::ActiveSupport::Concern @@ -4274,7 +4274,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 + # pkg:gem/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+. @@ -4312,7 +4312,7 @@ module ActiveModel::Serializers::JSON # person.age # => 22 # person.awesome # => true # - # source://activemodel//lib/active_model/serializers/json.rb#146 + # pkg:gem/activemodel#lib/active_model/serializers/json.rb:146 def from_json(json, include_root = T.unsafe(nil)); end module GeneratedClassMethods @@ -4345,7 +4345,7 @@ end # person.valid? # # => ActiveModel::StrictValidationFailed: Name can't be blank # -# source://activemodel//lib/active_model/errors.rb#514 +# pkg:gem/activemodel#lib/active_model/errors.rb:514 class ActiveModel::StrictValidationFailed < ::StandardError; end # = Active \Model \Translation @@ -4367,7 +4367,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 +# pkg:gem/activemodel#lib/active_model/translation.rb:22 module ActiveModel::Translation include ::ActiveModel::Naming @@ -4378,12 +4378,12 @@ module ActiveModel::Translation # # Specify +options+ with additional translating options. # - # source://activemodel//lib/active_model/translation.rb#48 + # pkg:gem/activemodel#lib/active_model/translation.rb:48 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#28 + # pkg:gem/activemodel#lib/active_model/translation.rb:28 def i18n_scope; end # When localizing a string, it goes through the lookup returned by this @@ -4391,40 +4391,40 @@ module ActiveModel::Translation # ActiveModel::Errors#full_messages and # ActiveModel::Translation#human_attribute_name. # - # source://activemodel//lib/active_model/translation.rb#36 + # pkg:gem/activemodel#lib/active_model/translation.rb:36 def lookup_ancestors; end class << self - # source://activemodel//lib/active_model/translation.rb#25 + # pkg:gem/activemodel#lib/active_model/translation.rb:25 def raise_on_missing_translations; end - # source://activemodel//lib/active_model/translation.rb#25 + # pkg:gem/activemodel#lib/active_model/translation.rb:25 def raise_on_missing_translations=(_arg0); end end end -# source://activemodel//lib/active_model/translation.rb#40 +# pkg:gem/activemodel#lib/active_model/translation.rb:40 ActiveModel::Translation::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) -# source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#4 +# pkg:gem/activemodel#lib/active_model/type/helpers/accepts_multiparameter_time.rb:4 module ActiveModel::Type class << self - # source://activemodel//lib/active_model/type.rb#38 + # pkg:gem/activemodel#lib/active_model/type.rb:38 def default_value; end - # source://activemodel//lib/active_model/type.rb#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type.rb:26 def registry; end - # source://activemodel//lib/active_model/type.rb#26 + # pkg:gem/activemodel#lib/active_model/type.rb:26 def registry=(_arg0); end end end @@ -4448,22 +4448,22 @@ 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 +# pkg:gem/activemodel#lib/active_model/type/big_integer.rb:25 class ActiveModel::Type::BigInteger < ::ActiveModel::Type::Integer # @return [Boolean] # - # source://activemodel//lib/active_model/type/big_integer.rb#47 + # pkg:gem/activemodel#lib/active_model/type/big_integer.rb:47 def serializable?(value, &_arg1); end - # source://activemodel//lib/active_model/type/big_integer.rb#26 + # pkg:gem/activemodel#lib/active_model/type/big_integer.rb:26 def serialize(value); end - # source://activemodel//lib/active_model/type/big_integer.rb#43 + # pkg:gem/activemodel#lib/active_model/type/big_integer.rb:43 def serialize_cast_value(value); end private - # source://activemodel//lib/active_model/type/big_integer.rb#52 + # pkg:gem/activemodel#lib/active_model/type/big_integer.rb:52 def max_value; end end @@ -4474,45 +4474,45 @@ end # # Non-string values are coerced to strings using their +to_s+ method. # -# source://activemodel//lib/active_model/type/binary.rb#11 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:16 def binary?; end - # source://activemodel//lib/active_model/type/binary.rb#20 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:20 def cast(value); end # @return [Boolean] # - # source://activemodel//lib/active_model/type/binary.rb#35 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:30 def serialize(value); end - # source://activemodel//lib/active_model/type/binary.rb#12 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:12 def type; end end -# source://activemodel//lib/active_model/type/binary.rb#40 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:41 def initialize(value); end - # source://activemodel//lib/active_model/type/binary.rb#56 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:56 def ==(other); end - # source://activemodel//lib/active_model/type/binary.rb#52 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:52 def hex; end - # source://activemodel//lib/active_model/type/binary.rb#47 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:47 def to_s; end - # source://activemodel//lib/active_model/type/binary.rb#50 + # pkg:gem/activemodel#lib/active_model/type/binary.rb:50 def to_str; end end @@ -4526,26 +4526,26 @@ end # - Empty strings are coerced to +nil+. # - All other values will be coerced to +true+. # -# source://activemodel//lib/active_model/type/boolean.rb#14 +# pkg:gem/activemodel#lib/active_model/type/boolean.rb:14 class ActiveModel::Type::Boolean < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Immutable - # source://activemodel//lib/active_model/type/boolean.rb#31 + # pkg:gem/activemodel#lib/active_model/type/boolean.rb:31 def serialize(value); end - # source://activemodel//lib/active_model/type/boolean.rb#35 + # pkg:gem/activemodel#lib/active_model/type/boolean.rb:35 def serialize_cast_value(value); end - # source://activemodel//lib/active_model/type/boolean.rb#27 + # pkg:gem/activemodel#lib/active_model/type/boolean.rb:27 def type; end private - # source://activemodel//lib/active_model/type/boolean.rb#40 + # pkg:gem/activemodel#lib/active_model/type/boolean.rb:40 def cast_value(value); end end -# source://activemodel//lib/active_model/type/boolean.rb#16 +# pkg:gem/activemodel#lib/active_model/type/boolean.rb:16 ActiveModel::Type::Boolean::FALSE_VALUES = T.let(T.unsafe(nil), Set) # = Active Model \Date \Type @@ -4570,37 +4570,37 @@ 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 +# pkg:gem/activemodel#lib/active_model/type/date.rb:26 class ActiveModel::Type::Date < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Immutable include ::ActiveModel::Type::Helpers::Timezone include ::ActiveModel::Type::Helpers::AcceptsMultiparameterTime::InstanceMethods - # source://activemodel//lib/active_model/type/date.rb#31 + # pkg:gem/activemodel#lib/active_model/type/date.rb:31 def type; end - # source://activemodel//lib/active_model/type/date.rb#35 + # pkg:gem/activemodel#lib/active_model/type/date.rb:35 def type_cast_for_schema(value); end private - # source://activemodel//lib/active_model/type/date.rb#40 + # pkg:gem/activemodel#lib/active_model/type/date.rb:40 def cast_value(value); end - # source://activemodel//lib/active_model/type/date.rb#58 + # pkg:gem/activemodel#lib/active_model/type/date.rb:58 def fallback_string_to_date(string); end - # source://activemodel//lib/active_model/type/date.rb#52 + # pkg:gem/activemodel#lib/active_model/type/date.rb:52 def fast_string_to_date(string); end - # source://activemodel//lib/active_model/type/date.rb#67 + # pkg:gem/activemodel#lib/active_model/type/date.rb:67 def new_date(year, mon, mday); end - # source://activemodel//lib/active_model/type/date.rb#73 + # pkg:gem/activemodel#lib/active_model/type/date.rb:73 def value_from_multiparameter_assignment(*_arg0); end end -# source://activemodel//lib/active_model/type/date.rb#51 +# pkg:gem/activemodel#lib/active_model/type/date.rb:51 ActiveModel::Type::Date::ISO_DATE = T.let(T.unsafe(nil), Regexp) # = Active Model \DateTime \Type @@ -4641,7 +4641,7 @@ 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 +# pkg:gem/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 @@ -4649,27 +4649,27 @@ class ActiveModel::Type::DateTime < ::ActiveModel::Type::Value # @return [Boolean] # - # source://activemodel//lib/active_model/type/date_time.rb#53 + # pkg:gem/activemodel#lib/active_model/type/date_time.rb:53 def mutable?; end - # source://activemodel//lib/active_model/type/date_time.rb#49 + # pkg:gem/activemodel#lib/active_model/type/date_time.rb:49 def type; end private - # source://activemodel//lib/active_model/type/date_time.rb#62 + # pkg:gem/activemodel#lib/active_model/type/date_time.rb:62 def cast_value(value); end - # source://activemodel//lib/active_model/type/date_time.rb#75 + # pkg:gem/activemodel#lib/active_model/type/date_time.rb:75 def fallback_string_to_time(string); end # '0.123456' -> 123456 # '1.123456' -> 123456 # - # source://activemodel//lib/active_model/type/date_time.rb#71 + # pkg:gem/activemodel#lib/active_model/type/date_time.rb:71 def microseconds(time); end - # source://activemodel//lib/active_model/type/date_time.rb#87 + # pkg:gem/activemodel#lib/active_model/type/date_time.rb:87 def value_from_multiparameter_assignment(values_hash); end end @@ -4712,33 +4712,33 @@ end # attribute :weight, :decimal, precision: 24 # end # -# source://activemodel//lib/active_model/type/decimal.rb#45 +# pkg:gem/activemodel#lib/active_model/type/decimal.rb:45 class ActiveModel::Type::Decimal < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Immutable include ::ActiveModel::Type::Helpers::Numeric - # source://activemodel//lib/active_model/type/decimal.rb#50 + # pkg:gem/activemodel#lib/active_model/type/decimal.rb:50 def type; end - # source://activemodel//lib/active_model/type/decimal.rb#54 + # pkg:gem/activemodel#lib/active_model/type/decimal.rb:54 def type_cast_for_schema(value); end private - # source://activemodel//lib/active_model/type/decimal.rb#99 + # pkg:gem/activemodel#lib/active_model/type/decimal.rb:99 def apply_scale(value); end - # source://activemodel//lib/active_model/type/decimal.rb#59 + # pkg:gem/activemodel#lib/active_model/type/decimal.rb:59 def cast_value(value); end - # source://activemodel//lib/active_model/type/decimal.rb#83 + # pkg:gem/activemodel#lib/active_model/type/decimal.rb:83 def convert_float_to_big_decimal(value); end - # source://activemodel//lib/active_model/type/decimal.rb#91 + # pkg:gem/activemodel#lib/active_model/type/decimal.rb:91 def float_precision; end end -# source://activemodel//lib/active_model/type/decimal.rb#48 +# pkg:gem/activemodel#lib/active_model/type/decimal.rb:48 ActiveModel::Type::Decimal::BIGDECIMAL_PRECISION = T.let(T.unsafe(nil), Integer) # = Active Model \Float \Type @@ -4771,65 +4771,65 @@ ActiveModel::Type::Decimal::BIGDECIMAL_PRECISION = T.let(T.unsafe(nil), Integer) # - "-Infinity" is cast to -Float::INFINITY. # - "NaN" is cast to +Float::NAN+. # -# source://activemodel//lib/active_model/type/float.rb#36 +# pkg:gem/activemodel#lib/active_model/type/float.rb:36 class ActiveModel::Type::Float < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Immutable include ::ActiveModel::Type::Helpers::Numeric - # source://activemodel//lib/active_model/type/float.rb#40 + # pkg:gem/activemodel#lib/active_model/type/float.rb:40 def type; end - # source://activemodel//lib/active_model/type/float.rb#44 + # pkg:gem/activemodel#lib/active_model/type/float.rb:44 def type_cast_for_schema(value); end private - # source://activemodel//lib/active_model/type/float.rb#54 + # pkg:gem/activemodel#lib/active_model/type/float.rb:54 def cast_value(value); end end -# source://activemodel//lib/active_model/type/helpers/accepts_multiparameter_time.rb#5 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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/immutable.rb#6 +# pkg:gem/activemodel#lib/active_model/type/helpers/immutable.rb:6 module ActiveModel::Type::Helpers::Immutable # @return [Boolean] # - # source://activemodel//lib/active_model/type/helpers/immutable.rb#7 + # pkg:gem/activemodel#lib/active_model/type/helpers/immutable.rb:7 def mutable?; end end -# source://activemodel//lib/active_model/type/helpers/mutable.rb#6 +# pkg:gem/activemodel#lib/active_model/type/helpers/mutable.rb:6 module ActiveModel::Type::Helpers::Mutable - # source://activemodel//lib/active_model/type/helpers/mutable.rb#7 + # pkg:gem/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 @@ -4838,64 +4838,64 @@ module ActiveModel::Type::Helpers::Mutable # # @return [Boolean] # - # source://activemodel//lib/active_model/type/helpers/mutable.rb#14 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/helpers/mutable.rb:18 def mutable?; end end -# source://activemodel//lib/active_model/type/helpers/numeric.rb#6 +# pkg:gem/activemodel#lib/active_model/type/helpers/numeric.rb:6 module ActiveModel::Type::Helpers::Numeric - # source://activemodel//lib/active_model/type/helpers/numeric.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/helpers/numeric.rb:7 def serialize(value); end - # source://activemodel//lib/active_model/type/helpers/numeric.rb#11 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/helpers/time_value.rb:42 def user_input_in_time_zone(value); end private @@ -4904,24 +4904,24 @@ module ActiveModel::Type::Helpers::TimeValue # used to return an invalid Time object # see: https://bugs.ruby-lang.org/issues/19292 # - # source://activemodel//lib/active_model/type/helpers/time_value.rb#88 + # pkg:gem/activemodel#lib/active_model/type/helpers/time_value.rb:88 def fast_string_to_time(string); end - # source://activemodel//lib/active_model/type/helpers/time_value.rb#47 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/type/helpers/timezone.rb:8 module ActiveModel::Type::Helpers::Timezone - # source://activemodel//lib/active_model/type/helpers/timezone.rb#17 + # pkg:gem/activemodel#lib/active_model/type/helpers/timezone.rb:17 def default_timezone; end # @return [Boolean] # - # source://activemodel//lib/active_model/type/helpers/timezone.rb#9 + # pkg:gem/activemodel#lib/active_model/type/helpers/timezone.rb:9 def is_utc?; end end @@ -4958,27 +4958,27 @@ end # # person.active # => "aye" # -# source://activemodel//lib/active_model/type/immutable_string.rb#37 +# pkg:gem/activemodel#lib/active_model/type/immutable_string.rb:37 class ActiveModel::Type::ImmutableString < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Immutable # @return [ImmutableString] a new instance of ImmutableString # - # source://activemodel//lib/active_model/type/immutable_string.rb#40 + # pkg:gem/activemodel#lib/active_model/type/immutable_string.rb:40 def initialize(**args); end - # source://activemodel//lib/active_model/type/immutable_string.rb#50 + # pkg:gem/activemodel#lib/active_model/type/immutable_string.rb:50 def serialize(value); end - # source://activemodel//lib/active_model/type/immutable_string.rb#59 + # pkg:gem/activemodel#lib/active_model/type/immutable_string.rb:59 def serialize_cast_value(value); end - # source://activemodel//lib/active_model/type/immutable_string.rb#46 + # pkg:gem/activemodel#lib/active_model/type/immutable_string.rb:46 def type; end private - # source://activemodel//lib/active_model/type/immutable_string.rb#64 + # pkg:gem/activemodel#lib/active_model/type/immutable_string.rb:64 def cast_value(value); end end @@ -5022,119 +5022,119 @@ end # attribute :age, :integer, limit: 6 # end # -# source://activemodel//lib/active_model/type/integer.rb#44 +# pkg:gem/activemodel#lib/active_model/type/integer.rb:44 class ActiveModel::Type::Integer < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Immutable include ::ActiveModel::Type::Helpers::Numeric # @return [Integer] a new instance of Integer # - # source://activemodel//lib/active_model/type/integer.rb#52 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:52 def initialize(**_arg0); end - # source://activemodel//lib/active_model/type/integer.rb#62 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:62 def deserialize(value); end # @return [Boolean] # @yield [cast_value] # - # source://activemodel//lib/active_model/type/integer.rb#96 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:96 def serializable?(value); end - # source://activemodel//lib/active_model/type/integer.rb#67 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:67 def serialize(value); end - # source://activemodel//lib/active_model/type/integer.rb#88 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:88 def serialize_cast_value(value); end - # source://activemodel//lib/active_model/type/integer.rb#58 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:58 def type; end private - # source://activemodel//lib/active_model/type/integer.rb#120 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:120 def _limit; end - # source://activemodel//lib/active_model/type/integer.rb#108 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:108 def cast_value(value); end - # source://activemodel//lib/active_model/type/integer.rb#112 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:112 def max_value; end - # source://activemodel//lib/active_model/type/integer.rb#116 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:116 def min_value; end # @return [Boolean] # - # source://activemodel//lib/active_model/type/integer.rb#104 + # pkg:gem/activemodel#lib/active_model/type/integer.rb:104 def out_of_range?(value); 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#50 +# pkg:gem/activemodel#lib/active_model/type/integer.rb:50 ActiveModel::Type::Integer::DEFAULT_LIMIT = T.let(T.unsafe(nil), Integer) -# source://activemodel//lib/active_model/type/registry.rb#5 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/registry.rb:6 def initialize; end - # source://activemodel//lib/active_model/type/registry.rb#23 + # pkg:gem/activemodel#lib/active_model/type/registry.rb:23 def lookup(symbol, *_arg1, **_arg2, &_arg3); end - # source://activemodel//lib/active_model/type/registry.rb#15 + # pkg:gem/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 + # pkg:gem/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#34 + # pkg:gem/activemodel#lib/active_model/type/registry.rb:34 def registrations; end end -# source://activemodel//lib/active_model/type/serialize_cast_value.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/serialize_cast_value.rb:16 def serialize_cast_value(value); end end @@ -5147,24 +5147,24 @@ 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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/string.rb:16 def changed_in_place?(raw_old_value, new_value); end # @return [Boolean] # - # source://activemodel//lib/active_model/type/string.rb#22 + # pkg:gem/activemodel#lib/active_model/type/string.rb:22 def mutable?; end - # source://activemodel//lib/active_model/type/string.rb#26 + # pkg:gem/activemodel#lib/active_model/type/string.rb:26 def to_immutable_string; end private - # source://activemodel//lib/active_model/type/string.rb#37 + # pkg:gem/activemodel#lib/active_model/type/string.rb:37 def cast_value(value); end end @@ -5202,21 +5202,21 @@ end # attribute :start, :time, precision: 4 # end # -# source://activemodel//lib/active_model/type/time.rb#38 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/time.rb:45 def type; end - # source://activemodel//lib/active_model/type/time.rb#49 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/time.rb:69 def cast_value(value); end end @@ -5225,7 +5225,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 +# pkg:gem/activemodel#lib/active_model/type/value.rb:9 class ActiveModel::Type::Value include ::ActiveModel::Type::SerializeCastValue include ::ActiveModel::Type::SerializeCastValue::DefaultImplementation @@ -5238,18 +5238,18 @@ class ActiveModel::Type::Value # # @return [Value] a new instance of Value # - # source://activemodel//lib/active_model/type/value.rb#17 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/value.rb:121 def ==(other); end # @raise [NoMethodError] # - # source://activemodel//lib/active_model/type/value.rb#144 + # pkg:gem/activemodel#lib/active_model/type/value.rb:144 def as_json(*_arg0); end - # source://activemodel//lib/active_model/type/value.rb#133 + # pkg:gem/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 @@ -5257,7 +5257,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#77 + # pkg:gem/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 @@ -5271,7 +5271,7 @@ class ActiveModel::Type::Value # # +value+ The raw input, as provided to the attribute setter. # - # source://activemodel//lib/active_model/type/value.rb#57 + # pkg:gem/activemodel#lib/active_model/type/value.rb:57 def cast(value); end # Determines whether a value has changed for dirty checking. +old_value+ @@ -5280,7 +5280,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#84 + # pkg:gem/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 @@ -5303,7 +5303,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#105 + # pkg:gem/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 @@ -5313,41 +5313,41 @@ class ActiveModel::Type::Value # # +value+ The raw input, as provided from the database. # - # source://activemodel//lib/active_model/type/value.rb#43 + # pkg:gem/activemodel#lib/active_model/type/value.rb:43 def deserialize(value); end - # source://activemodel//lib/active_model/type/value.rb#127 + # pkg:gem/activemodel#lib/active_model/type/value.rb:127 def eql?(other); end # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#113 + # pkg:gem/activemodel#lib/active_model/type/value.rb:113 def force_equality?(_value); end - # source://activemodel//lib/active_model/type/value.rb#129 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/value.rb:11 def limit; end - # source://activemodel//lib/active_model/type/value.rb#117 + # pkg:gem/activemodel#lib/active_model/type/value.rb:117 def map(value, &_arg1); end # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#140 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -5357,7 +5357,7 @@ class ActiveModel::Type::Value # # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#28 + # pkg:gem/activemodel#lib/active_model/type/value.rb:28 def serializable?(value, &_arg1); end # Casts a value from the ruby type to a type that the database knows how @@ -5365,29 +5365,29 @@ class ActiveModel::Type::Value # +String+, +Numeric+, +Date+, +Time+, +Symbol+, +true+, +false+, or # +nil+. # - # source://activemodel//lib/active_model/type/value.rb#65 + # pkg:gem/activemodel#lib/active_model/type/value.rb:65 def serialize(value); end # @return [Boolean] # - # source://activemodel//lib/active_model/type/value.rb#136 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/type/value.rb:109 def value_constructed_by_mass_assignment?(_value); end private @@ -5396,7 +5396,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 + # pkg:gem/activemodel#lib/active_model/type/value.rb:152 def cast_value(value); end end @@ -5413,54 +5413,54 @@ end # person.assign_attributes(name: 'Gorby') # # => ActiveModel::UnknownAttributeError: unknown attribute 'name' for Person. # -# source://activemodel//lib/active_model/errors.rb#535 +# pkg:gem/activemodel#lib/active_model/errors.rb:535 class ActiveModel::UnknownAttributeError < ::NoMethodError # @return [UnknownAttributeError] a new instance of UnknownAttributeError # - # source://activemodel//lib/active_model/errors.rb#538 + # pkg:gem/activemodel#lib/active_model/errors.rb:538 def initialize(record, attribute); end # Returns the value of attribute attribute. # - # source://activemodel//lib/active_model/errors.rb#536 + # pkg:gem/activemodel#lib/active_model/errors.rb:536 def attribute; end # Returns the value of attribute record. # - # source://activemodel//lib/active_model/errors.rb#536 + # pkg:gem/activemodel#lib/active_model/errors.rb:536 def record; end end -# source://activemodel//lib/active_model/gem_version.rb#9 +# pkg:gem/activemodel#lib/active_model/gem_version.rb:9 module ActiveModel::VERSION; end -# source://activemodel//lib/active_model/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/gem_version.rb:13 ActiveModel::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://activemodel//lib/active_model/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/gem_version.rb:12 ActiveModel::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://activemodel//lib/active_model/validations.rb#491 +# pkg:gem/activemodel#lib/active_model/validations.rb:491 class ActiveModel::ValidationContext # Returns the value of attribute context. # - # source://activemodel//lib/active_model/validations.rb#492 + # pkg:gem/activemodel#lib/active_model/validations.rb:492 def context; end # Sets the attribute context # # @param value the value to set the attribute context to. # - # source://activemodel//lib/active_model/validations.rb#492 + # pkg:gem/activemodel#lib/active_model/validations.rb:492 def context=(_arg0); end end @@ -5475,16 +5475,16 @@ end # puts invalid.model.errors # end # -# source://activemodel//lib/active_model/validations.rb#481 +# pkg:gem/activemodel#lib/active_model/validations.rb:481 class ActiveModel::ValidationError < ::StandardError # @return [ValidationError] a new instance of ValidationError # - # source://activemodel//lib/active_model/validations.rb#484 + # pkg:gem/activemodel#lib/active_model/validations.rb:484 def initialize(model); end # Returns the value of attribute model. # - # source://activemodel//lib/active_model/validations.rb#482 + # pkg:gem/activemodel#lib/active_model/validations.rb:482 def model; end end @@ -5520,7 +5520,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 +# pkg:gem/activemodel#lib/active_model/validations.rb:37 module ActiveModel::Validations extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -5549,10 +5549,10 @@ module ActiveModel::Validations # person.valid? # => false # person.errors # => # # - # source://activemodel//lib/active_model/validations.rb#330 + # pkg:gem/activemodel#lib/active_model/validations.rb:330 def errors; end - # source://activemodel//lib/active_model/validations.rb#374 + # pkg:gem/activemodel#lib/active_model/validations.rb:374 def freeze; end # Performs the opposite of valid?. Returns +true+ if errors were @@ -5587,7 +5587,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel//lib/active_model/validations.rb#410 + # pkg:gem/activemodel#lib/active_model/validations.rb:410 def invalid?(context = T.unsafe(nil)); end # Hook method defining how an attribute value should be retrieved. By default @@ -5607,7 +5607,7 @@ module ActiveModel::Validations # end # end # - # source://activemodel//lib/active_model/validations.rb#439 + # pkg:gem/activemodel#lib/active_model/validations.rb:439 def read_attribute_for_validation(*_arg0); end # Runs all the specified validations and returns +true+ if no errors were @@ -5642,7 +5642,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel//lib/active_model/validations.rb#363 + # pkg:gem/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 @@ -5677,7 +5677,7 @@ module ActiveModel::Validations # # @return [Boolean] # - # source://activemodel//lib/active_model/validations.rb#372 + # pkg:gem/activemodel#lib/active_model/validations.rb:372 def validate(context = T.unsafe(nil)); end # Runs all the validations within the specified context. Returns +true+ if @@ -5686,7 +5686,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#419 + # pkg:gem/activemodel#lib/active_model/validations.rb:419 def validate!(context = T.unsafe(nil)); end # Passes the record off to the class or classes specified and allows them @@ -5726,36 +5726,36 @@ 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 + # pkg:gem/activemodel#lib/active_model/validations/with.rb:144 def validates_with(*args, &block); end # Returns the context when running validations. # - # source://activemodel//lib/active_model/validations.rb#442 + # pkg:gem/activemodel#lib/active_model/validations.rb:442 def validation_context; end private - # source://activemodel//lib/active_model/validations.rb#451 + # pkg:gem/activemodel#lib/active_model/validations.rb:451 def context_for_validation; end - # source://activemodel//lib/active_model/validations.rb#455 + # pkg:gem/activemodel#lib/active_model/validations.rb:455 def init_internals; end # Clean the +Errors+ object if instance is duped. # - # source://activemodel//lib/active_model/validations.rb#312 + # pkg:gem/activemodel#lib/active_model/validations.rb:312 def initialize_dup(other); end # @raise [ValidationError] # - # source://activemodel//lib/active_model/validations.rb#466 + # pkg:gem/activemodel#lib/active_model/validations.rb:466 def raise_validation_error; end - # source://activemodel//lib/active_model/validations.rb#461 + # pkg:gem/activemodel#lib/active_model/validations.rb:461 def run_validations!; end - # source://activemodel//lib/active_model/validations.rb#447 + # pkg:gem/activemodel#lib/active_model/validations.rb:447 def validation_context=(context); end module GeneratedClassMethods @@ -5775,59 +5775,59 @@ end # == \Active \Model Absence Validator # -# source://activemodel//lib/active_model/validations/absence.rb#6 +# pkg:gem/activemodel#lib/active_model/validations/absence.rb:6 class ActiveModel::Validations::AbsenceValidator < ::ActiveModel::EachValidator - # source://activemodel//lib/active_model/validations/absence.rb#7 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:6 def initialize(options); end - # source://activemodel//lib/active_model/validations/acceptance.rb#11 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:23 def acceptable_option?(value); end - # source://activemodel//lib/active_model/validations/acceptance.rb#18 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:18 def setup!(klass); end end -# source://activemodel//lib/active_model/validations/acceptance.rb#27 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:28 def initialize(attributes); end - # source://activemodel//lib/active_model/validations/acceptance.rb#73 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:73 def ==(other); end - # source://activemodel//lib/active_model/validations/acceptance.rb#56 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:56 def define_on(klass); end - # source://activemodel//lib/active_model/validations/acceptance.rb#32 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:32 def included(klass); end # @return [Boolean] # - # source://activemodel//lib/active_model/validations/acceptance.rb#51 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:78 def attributes; end end @@ -5849,7 +5849,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 +# pkg:gem/activemodel#lib/active_model/validations/callbacks.rb:22 module ActiveModel::Validations::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -5864,7 +5864,7 @@ module ActiveModel::Validations::Callbacks # Override run_validations! to include callbacks. # - # source://activemodel//lib/active_model/validations/callbacks.rb#124 + # pkg:gem/activemodel#lib/active_model/validations/callbacks.rb:124 def run_validations!; end module GeneratedClassMethods @@ -5877,7 +5877,7 @@ module ActiveModel::Validations::Callbacks end end -# source://activemodel//lib/active_model/validations/callbacks.rb#32 +# pkg:gem/activemodel#lib/active_model/validations/callbacks.rb:32 module ActiveModel::Validations::Callbacks::ClassMethods # Defines a callback that will get called right after validation. # @@ -5905,7 +5905,7 @@ module ActiveModel::Validations::Callbacks::ClassMethods # person.valid? # => true # person.status # => true # - # source://activemodel//lib/active_model/validations/callbacks.rb#88 + # pkg:gem/activemodel#lib/active_model/validations/callbacks.rb:88 def after_validation(*args, &block); end # Defines a callback that will get called right before validation. @@ -5931,16 +5931,16 @@ module ActiveModel::Validations::Callbacks::ClassMethods # person.valid? # => true # person.name # => "bob" # - # source://activemodel//lib/active_model/validations/callbacks.rb#55 + # pkg:gem/activemodel#lib/active_model/validations/callbacks.rb:55 def before_validation(*args, &block); end private - # source://activemodel//lib/active_model/validations/callbacks.rb#99 + # pkg:gem/activemodel#lib/active_model/validations/callbacks.rb:99 def set_options_for_callback(options); end end -# source://activemodel//lib/active_model/validations.rb#53 +# pkg:gem/activemodel#lib/active_model/validations.rb:53 module ActiveModel::Validations::ClassMethods # Returns +true+ if +attribute+ is an attribute method, +false+ otherwise. # @@ -5955,7 +5955,7 @@ module ActiveModel::Validations::ClassMethods # # @return [Boolean] # - # source://activemodel//lib/active_model/validations.rb#284 + # pkg:gem/activemodel#lib/active_model/validations.rb:284 def attribute_method?(attribute); end # Clears all of the validators and validations. @@ -5996,12 +5996,12 @@ module ActiveModel::Validations::ClassMethods # # Person._validate_callbacks.empty? # => true # - # source://activemodel//lib/active_model/validations.rb#248 + # pkg:gem/activemodel#lib/active_model/validations.rb:248 def clear_validators!; end # Copy validators on inheritance. # - # source://activemodel//lib/active_model/validations.rb#289 + # pkg:gem/activemodel#lib/active_model/validations.rb:289 def inherited(base); end # Adds a validation method or block to the class. This is useful when @@ -6071,7 +6071,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#162 + # pkg:gem/activemodel#lib/active_model/validations.rb:162 def validate(*args, &block); end # This method is a shortcut to all default validators and any custom @@ -6180,7 +6180,7 @@ module ActiveModel::Validations::ClassMethods # # @raise [ArgumentError] # - # source://activemodel//lib/active_model/validations/validates.rb#111 + # pkg:gem/activemodel#lib/active_model/validations/validates.rb:111 def validates(*attributes); end # This method is used to define validations that cannot be corrected by end @@ -6202,7 +6202,7 @@ module ActiveModel::Validations::ClassMethods # person.valid? # # => ActiveModel::StrictValidationFailed: Name can't be blank # - # source://activemodel//lib/active_model/validations/validates.rb#153 + # pkg:gem/activemodel#lib/active_model/validations/validates.rb:153 def validates!(*attributes); end # Validates each attribute against a block. @@ -6241,7 +6241,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#89 + # pkg:gem/activemodel#lib/active_model/validations.rb:89 def validates_each(*attr_names, &block); end # Passes the record off to the class or classes specified and allows them @@ -6313,7 +6313,7 @@ module ActiveModel::Validations::ClassMethods # end # end # - # source://activemodel//lib/active_model/validations/with.rb#88 + # pkg:gem/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 @@ -6334,7 +6334,7 @@ module ActiveModel::Validations::ClassMethods # # # # # ] # - # source://activemodel//lib/active_model/validations.rb#206 + # pkg:gem/activemodel#lib/active_model/validations.rb:206 def validators; end # List all validators that are being used to validate a specific attribute. @@ -6353,42 +6353,42 @@ module ActiveModel::Validations::ClassMethods # # #, # # ] # - # source://activemodel//lib/active_model/validations.rb#268 + # pkg:gem/activemodel#lib/active_model/validations.rb:268 def validators_on(*attributes); end private - # source://activemodel//lib/active_model/validations/validates.rb#166 + # pkg:gem/activemodel#lib/active_model/validations/validates.rb:166 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#162 + # pkg:gem/activemodel#lib/active_model/validations/validates.rb:162 def _validates_default_keys; end - # source://activemodel//lib/active_model/validations.rb#298 + # pkg:gem/activemodel#lib/active_model/validations.rb:298 def predicate_for_validation_context(context); end end -# source://activemodel//lib/active_model/validations.rb#93 +# pkg:gem/activemodel#lib/active_model/validations.rb:93 ActiveModel::Validations::ClassMethods::VALID_OPTIONS_FOR_VALIDATE = T.let(T.unsafe(nil), Array) -# source://activemodel//lib/active_model/validations/clusivity.rb#8 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/clusivity.rb:14 def check_validity!; end private - # source://activemodel//lib/active_model/validations/clusivity.rb#31 + # pkg:gem/activemodel#lib/active_model/validations/clusivity.rb:31 def delimiter; end # @return [Boolean] # - # source://activemodel//lib/active_model/validations/clusivity.rb#21 + # pkg:gem/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 @@ -6397,89 +6397,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 + # pkg:gem/activemodel#lib/active_model/validations/clusivity.rb:40 def inclusion_method(enumerable); end end -# source://activemodel//lib/active_model/validations/clusivity.rb#11 +# pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/validations/comparability.rb:5 module ActiveModel::Validations::Comparability - # source://activemodel//lib/active_model/validations/comparability.rb#10 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/comparison.rb:12 def check_validity!; end - # source://activemodel//lib/active_model/validations/comparison.rb#19 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/confirmation.rb:6 def initialize(options); end - # source://activemodel//lib/active_model/validations/confirmation.rb#11 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/confirmation.rb:21 def setup!(klass); end end -# source://activemodel//lib/active_model/validations/exclusion.rb#7 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/format.rb:20 def check_validity!; end - # source://activemodel//lib/active_model/validations/format.rb#10 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/format.rb:34 def check_options_validity(name); end - # source://activemodel//lib/active_model/validations/format.rb#30 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/validations/absence.rb:12 module ActiveModel::Validations::HelperMethods # Validates that the specified attributes are blank (as defined by # Object#present?). @@ -6497,7 +6497,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 + # pkg:gem/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 @@ -6526,7 +6526,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 + # pkg:gem/activemodel#lib/active_model/validations/acceptance.rb:108 def validates_acceptance_of(*attr_names); end # Validates the value of a specified attribute fulfills all @@ -6578,7 +6578,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 + # pkg:gem/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 @@ -6616,7 +6616,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 + # pkg:gem/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 @@ -6646,7 +6646,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 + # pkg:gem/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 @@ -6702,7 +6702,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 + # pkg:gem/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 @@ -6730,7 +6730,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 + # pkg:gem/activemodel#lib/active_model/validations/inclusion.rb:42 def validates_inclusion_of(*attr_names); end # Validates that the specified attributes match the length restrictions @@ -6782,7 +6782,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 + # pkg:gem/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 @@ -6853,7 +6853,7 @@ module ActiveModel::Validations::HelperMethods # validates_numericality_of :width, greater_than: :minimum_weight # end # - # source://activemodel//lib/active_model/validations/numericality.rb#217 + # pkg:gem/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 @@ -6879,7 +6879,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 + # pkg:gem/activemodel#lib/active_model/validations/presence.rb:34 def validates_presence_of(*attr_names); end # Validates that the specified attributes match the length restrictions @@ -6931,143 +6931,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#127 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/length.rb:15 def initialize(options); end - # source://activemodel//lib/active_model/validations/length.rb#29 + # pkg:gem/activemodel#lib/active_model/validations/length.rb:29 def check_validity!; end - # source://activemodel//lib/active_model/validations/length.rb#47 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/length.rb:69 def skip_nil_check?(key); end end -# source://activemodel//lib/active_model/validations/length.rb#11 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/numericality.rb:22 def check_validity!; end - # source://activemodel//lib/active_model/validations/numericality.rb#36 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/numericality.rb:118 def allow_only_integer?(record); end - # source://activemodel//lib/active_model/validations/numericality.rb#112 + # pkg:gem/activemodel#lib/active_model/validations/numericality.rb:112 def filtered_options(value); end # @return [Boolean] # - # source://activemodel//lib/active_model/validations/numericality.rb#108 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validations/numericality.rb:90 def round(raw_value, scale); end end -# source://activemodel//lib/active_model/validations/numericality.rb#20 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/validations/presence.rb:5 class ActiveModel::Validations::PresenceValidator < ::ActiveModel::EachValidator - # source://activemodel//lib/active_model/validations/presence.rb#6 + # pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/validations/resolve_value.rb:5 module ActiveModel::Validations::ResolveValue - # source://activemodel//lib/active_model/validations/resolve_value.rb#6 + # pkg:gem/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 +# pkg:gem/activemodel#lib/active_model/validations/with.rb:7 class ActiveModel::Validations::WithValidator < ::ActiveModel::EachValidator - # source://activemodel//lib/active_model/validations/with.rb#8 + # pkg:gem/activemodel#lib/active_model/validations/with.rb:8 def validate_each(record, attr, val); end end @@ -7162,13 +7162,13 @@ end # end # end # -# source://activemodel//lib/active_model/validator.rb#96 +# pkg:gem/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 + # pkg:gem/activemodel#lib/active_model/validator.rb:108 def initialize(options = T.unsafe(nil)); end # Returns the kind for this validator. @@ -7176,12 +7176,12 @@ class ActiveModel::Validator # PresenceValidator.new(attributes: [:username]).kind # => :presence # AcceptanceValidator.new(attributes: [:terms]).kind # => :acceptance # - # source://activemodel//lib/active_model/validator.rb#116 + # pkg:gem/activemodel#lib/active_model/validator.rb:116 def kind; end # Returns the value of attribute options. # - # source://activemodel//lib/active_model/validator.rb#97 + # pkg:gem/activemodel#lib/active_model/validator.rb:97 def options; end # Override this method in subclasses with validation logic, adding errors @@ -7189,7 +7189,7 @@ class ActiveModel::Validator # # @raise [NotImplementedError] # - # source://activemodel//lib/active_model/validator.rb#122 + # pkg:gem/activemodel#lib/active_model/validator.rb:122 def validate(record); end class << self @@ -7198,7 +7198,7 @@ class ActiveModel::Validator # PresenceValidator.kind # => :presence # AcceptanceValidator.kind # => :acceptance # - # source://activemodel//lib/active_model/validator.rb#103 + # pkg:gem/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 118b2e892..e45a2b5ca 100644 --- a/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi +++ b/sorbet/rbi/gems/activerecord-typedstore@1.6.0.rbi @@ -5,13 +5,13 @@ # Please instead update this file by running `bin/tapioca gem activerecord-typedstore`. -# source://activerecord-typedstore//lib/active_record/typed_store.rb#5 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store.rb:5 module ActiveRecord; end -# source://activerecord-typedstore//lib/active_record/typed_store.rb#6 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store.rb:6 module ActiveRecord::TypedStore; end -# source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#4 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:4 module ActiveRecord::TypedStore::Behavior extend ::ActiveSupport::Concern @@ -19,287 +19,287 @@ module ActiveRecord::TypedStore::Behavior # @return [Boolean] # - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#56 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:56 def attribute?(attr_name); end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#34 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:34 def changes; end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#44 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:44 def clear_attribute_change(attr_name); end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#49 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:49 def read_attribute(attr_name); end private - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#78 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:78 def attribute_names_for_partial_inserts; end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#85 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:85 def attribute_names_for_partial_updates; end end -# source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#7 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:7 module ActiveRecord::TypedStore::Behavior::ClassMethods - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#8 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:8 def define_attribute_methods; end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#18 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:18 def define_typed_store_attribute_methods; end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#13 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:13 def undefine_attribute_methods; end - # source://activerecord-typedstore//lib/active_record/typed_store/behavior.rb#27 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/behavior.rb:27 def undefine_before_type_cast_method(attribute); end end -# source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#6 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:6 class ActiveRecord::TypedStore::DSL # @return [DSL] a new instance of DSL # @yield [_self] # @yieldparam _self [ActiveRecord::TypedStore::DSL] the object that the method was called on # - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#9 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:9 def initialize(store_name, options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#55 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:55 def accessors; end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def any(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def boolean(name, **options); end # Returns the value of attribute coder. # - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#7 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:7 def coder; end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/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#69 + # pkg:gem/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 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def datetime(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def decimal(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#50 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:50 def default_coder(attribute_name); end # Returns the value of attribute fields. # - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#7 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:7 def fields; end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def float(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def integer(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#61 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:61 def keys(*_arg0, **_arg1, &_arg2); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def string(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def text(name, **options); end - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#65 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:65 def time(name, **options); end private - # source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#73 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:73 def accessor_key_for(name); end end -# source://activerecord-typedstore//lib/active_record/typed_store/dsl.rb#63 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/dsl.rb:63 ActiveRecord::TypedStore::DSL::NO_DEFAULT_GIVEN = T.let(T.unsafe(nil), Object) -# source://activerecord-typedstore//lib/active_record/typed_store/extension.rb#10 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/extension.rb:10 module ActiveRecord::TypedStore::Extension - # source://activerecord-typedstore//lib/active_record/typed_store/extension.rb#11 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/extension.rb:11 def typed_store(store_attribute, options = T.unsafe(nil), &block); end end -# source://activerecord-typedstore//lib/active_record/typed_store/field.rb#4 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:4 class ActiveRecord::TypedStore::Field # @return [Field] a new instance of Field # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#7 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:7 def initialize(name, type, options = T.unsafe(nil)); end # Returns the value of attribute accessor. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def accessor; end # Returns the value of attribute array. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def array; end # Returns the value of attribute blank. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def blank; end - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#26 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:26 def cast(value); end # Returns the value of attribute default. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def default; end # @return [Boolean] # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#22 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:22 def has_default?; end # Returns the value of attribute name. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def name; end # Returns the value of attribute null. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def null; end # Returns the value of attribute type. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def type; end # Returns the value of attribute type_sym. # - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:5 def type_sym; end private - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#56 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:56 def extract_default(value); end - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#52 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:52 def lookup_type(type, options); end - # source://activerecord-typedstore//lib/active_record/typed_store/field.rb#63 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:63 def type_cast(value, arrayize: T.unsafe(nil)); end end -# source://activerecord-typedstore//lib/active_record/typed_store/field.rb#40 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/field.rb:40 ActiveRecord::TypedStore::Field::TYPES = T.let(T.unsafe(nil), Hash) -# source://activerecord-typedstore//lib/active_record/typed_store/identity_coder.rb#4 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/identity_coder.rb:4 module ActiveRecord::TypedStore::IdentityCoder extend ::ActiveRecord::TypedStore::IdentityCoder - # source://activerecord-typedstore//lib/active_record/typed_store/identity_coder.rb#11 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/identity_coder.rb:11 def dump(data); end - # source://activerecord-typedstore//lib/active_record/typed_store/identity_coder.rb#7 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/identity_coder.rb:7 def load(data); end end -# source://activerecord-typedstore//lib/active_record/typed_store/type.rb#4 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:4 class ActiveRecord::TypedStore::Type < ::ActiveRecord::Type::Serialized # @return [Type] a new instance of Type # - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#5 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:5 def initialize(typed_hash_klass, coder, subtype); end # @return [Boolean] # - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#42 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:42 def changed_in_place?(raw_old_value, value); end # @return [Boolean] # - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#38 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:38 def default_value?(value); end - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#34 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:34 def defaults; end - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#11 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:11 def deserialize(value); end - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#23 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:23 def serialize(value); end - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#23 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:23 def type_cast_for_database(value); end - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#11 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:11 def type_cast_from_database(value); end - # source://activerecord-typedstore//lib/active_record/typed_store/type.rb#11 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/type.rb:11 def type_cast_from_user(value); end end -# source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#4 +# pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:4 class ActiveRecord::TypedStore::TypedHash < ::ActiveSupport::HashWithIndifferentAccess # @return [TypedHash] a new instance of TypedHash # - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#23 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:23 def initialize(constructor = T.unsafe(nil)); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#29 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:29 def []=(key, value); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#47 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:47 def defaults_hash(&_arg0); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#21 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:21 def except(*_arg0, **_arg1, &_arg2); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#47 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:47 def fields(&_arg0); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#34 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:34 def merge!(other_hash); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#21 + # pkg:gem/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#32 + # pkg:gem/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#43 + # pkg:gem/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 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:20 def with_indifferent_access(*_arg0, **_arg1, &_arg2); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#21 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:21 def without(*_arg0, **_arg1, &_arg2); end private - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#49 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:49 def cast_value(key, value); end class << self - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#9 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:9 def create(fields); end - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#15 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:15 def defaults_hash; end # Returns the value of attribute fields. # - # source://activerecord-typedstore//lib/active_record/typed_store/typed_hash.rb#7 + # pkg:gem/activerecord-typedstore#lib/active_record/typed_store/typed_hash.rb:7 def fields; end end end diff --git a/sorbet/rbi/gems/activerecord@8.1.1.rbi b/sorbet/rbi/gems/activerecord@8.1.1.rbi index 520ebbfe4..61f8492e8 100644 --- a/sorbet/rbi/gems/activerecord@8.1.1.rbi +++ b/sorbet/rbi/gems/activerecord@8.1.1.rbi @@ -5,18 +5,33 @@ # Please instead update this file by running `bin/tapioca gem activerecord`. +# pkg:gem/activerecord#lib/active_record/type.rb:59 +class ActiveModel::Type::BigInteger < ::ActiveModel::Type::Integer; end + +# pkg:gem/activerecord#lib/active_record/type.rb:65 +class ActiveModel::Type::ImmutableString < ::ActiveModel::Type::Value; end + +# pkg:gem/activerecord#lib/active_record/type.rb:64 +class ActiveModel::Type::Integer < ::ActiveModel::Type::Value; end + +# pkg:gem/activerecord#lib/active_record/type.rb:66 +class ActiveModel::Type::String < ::ActiveModel::Type::ImmutableString; end + +# pkg:gem/activerecord#lib/active_record/type.rb:67 +class ActiveModel::Type::Value; end + # :include: ../README.rdoc # -# source://activerecord//lib/active_record/gem_version.rb#3 +# pkg:gem/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#370 + # pkg:gem/activerecord#lib/active_record.rb:370 def action_on_strict_loading_violation; end - # source://activerecord//lib/active_record.rb#370 + # pkg:gem/activerecord#lib/active_record.rb:370 def action_on_strict_loading_violation=(_arg0); end # Registers a block to be called after all the current transactions have been @@ -33,225 +48,225 @@ module ActiveRecord # if and once all of them have been committed. But note that nesting transactions across # two distinct databases is a sharding anti-pattern that comes with a world of hurts. # - # source://activerecord//lib/active_record.rb#573 + # pkg:gem/activerecord#lib/active_record.rb:573 def after_all_transactions_commit(&block); end - # source://activerecord//lib/active_record.rb#593 + # pkg:gem/activerecord#lib/active_record.rb:593 def all_open_transactions; end - # source://activerecord//lib/active_record.rb#363 + # pkg:gem/activerecord#lib/active_record.rb:363 def application_record_class; end - # source://activerecord//lib/active_record.rb#363 + # pkg:gem/activerecord#lib/active_record.rb:363 def application_record_class=(_arg0); end - # source://activerecord//lib/active_record.rb#288 + # pkg:gem/activerecord#lib/active_record.rb:288 def async_query_executor; end - # source://activerecord//lib/active_record.rb#288 + # pkg:gem/activerecord#lib/active_record.rb:288 def async_query_executor=(_arg0); end - # source://activerecord//lib/active_record.rb#354 + # pkg:gem/activerecord#lib/active_record.rb:354 def before_committed_on_all_records; end - # source://activerecord//lib/active_record.rb#354 + # pkg:gem/activerecord#lib/active_record.rb:354 def before_committed_on_all_records=(_arg0); end - # source://activerecord//lib/active_record.rb#351 + # pkg:gem/activerecord#lib/active_record.rb:351 def belongs_to_required_validates_foreign_key; end - # source://activerecord//lib/active_record.rb#351 + # pkg:gem/activerecord#lib/active_record.rb:351 def belongs_to_required_validates_foreign_key=(_arg0); end - # source://activerecord//lib/active_record.rb#213 + # pkg:gem/activerecord#lib/active_record.rb:213 def database_cli; end - # source://activerecord//lib/active_record.rb#213 + # pkg:gem/activerecord#lib/active_record.rb:213 def database_cli=(_arg0); end - # source://activerecord//lib/active_record.rb#235 + # pkg:gem/activerecord#lib/active_record.rb:235 def db_warnings_action; end - # source://activerecord//lib/active_record.rb#237 + # pkg:gem/activerecord#lib/active_record.rb:237 def db_warnings_action=(action); end - # source://activerecord//lib/active_record.rb#267 + # pkg:gem/activerecord#lib/active_record.rb:267 def db_warnings_ignore; end - # source://activerecord//lib/active_record.rb#267 + # pkg:gem/activerecord#lib/active_record.rb:267 def db_warnings_ignore=(_arg0); end - # source://activerecord//lib/active_record.rb#216 + # pkg:gem/activerecord#lib/active_record.rb:216 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#220 + # pkg:gem/activerecord#lib/active_record.rb:220 def default_timezone=(default_timezone); end - # source://activerecord//lib/active_record.rb#611 + # pkg:gem/activerecord#lib/active_record.rb:611 def default_transaction_isolation_level; end - # source://activerecord//lib/active_record.rb#607 + # pkg:gem/activerecord#lib/active_record.rb:607 def default_transaction_isolation_level=(isolation_level); end - # source://activerecord//lib/active_record.rb#495 + # pkg:gem/activerecord#lib/active_record.rb:495 def deprecated_associations_options; end # @raise [ArgumentError] # - # source://activerecord//lib/active_record.rb#479 + # pkg:gem/activerecord#lib/active_record.rb:479 def deprecated_associations_options=(options); end - # source://activerecord//lib/active_record/deprecator.rb#4 + # pkg:gem/activerecord#lib/active_record/deprecator.rb:4 def deprecator; end - # source://activerecord//lib/active_record.rb#184 + # pkg:gem/activerecord#lib/active_record.rb:184 def disable_prepared_statements; end - # source://activerecord//lib/active_record.rb#184 + # pkg:gem/activerecord#lib/active_record.rb:184 def disable_prepared_statements=(_arg0); end # Explicitly closes all database connections in all pools. # - # source://activerecord//lib/active_record.rb#556 + # pkg:gem/activerecord#lib/active_record.rb:556 def disconnect_all!; end - # source://activerecord//lib/active_record.rb#425 + # pkg:gem/activerecord#lib/active_record.rb:425 def dump_schema_after_migration; end - # source://activerecord//lib/active_record.rb#425 + # pkg:gem/activerecord#lib/active_record.rb:425 def dump_schema_after_migration=(_arg0); end - # source://activerecord//lib/active_record.rb#435 + # pkg:gem/activerecord#lib/active_record.rb:435 def dump_schemas; end - # source://activerecord//lib/active_record.rb#435 + # pkg:gem/activerecord#lib/active_record.rb:435 def dump_schemas=(_arg0); end - # source://activerecord//lib/active_record.rb#545 + # pkg:gem/activerecord#lib/active_record.rb:545 def eager_load!; end - # source://activerecord//lib/active_record.rb#390 + # pkg:gem/activerecord#lib/active_record.rb:390 def error_on_ignored_order; end - # source://activerecord//lib/active_record.rb#390 + # pkg:gem/activerecord#lib/active_record.rb:390 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 + # pkg:gem/activerecord#lib/active_record/gem_version.rb:5 def gem_version; end - # source://activerecord//lib/active_record.rb#476 + # pkg:gem/activerecord#lib/active_record.rb:476 def generate_secure_token_on; end - # source://activerecord//lib/active_record.rb#476 + # pkg:gem/activerecord#lib/active_record.rb:476 def generate_secure_token_on=(_arg0); end - # source://activerecord//lib/active_record.rb#312 + # pkg:gem/activerecord#lib/active_record.rb:312 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#304 + # pkg:gem/activerecord#lib/active_record.rb:304 def global_executor_concurrency=(global_executor_concurrency); end - # source://activerecord//lib/active_record.rb#291 + # pkg:gem/activerecord#lib/active_record.rb:291 def global_thread_pool_async_query_executor; end - # source://activerecord//lib/active_record.rb#327 + # pkg:gem/activerecord#lib/active_record.rb:327 def index_nested_attribute_errors; end - # source://activerecord//lib/active_record.rb#327 + # pkg:gem/activerecord#lib/active_record.rb:327 def index_nested_attribute_errors=(_arg0); end - # source://activerecord//lib/active_record.rb#191 + # pkg:gem/activerecord#lib/active_record.rb:191 def lazily_load_schema_cache; end - # source://activerecord//lib/active_record.rb#191 + # pkg:gem/activerecord#lib/active_record.rb:191 def lazily_load_schema_cache=(_arg0); end - # source://activerecord//lib/active_record.rb#345 + # pkg:gem/activerecord#lib/active_record.rb:345 def maintain_test_schema; end - # source://activerecord//lib/active_record.rb#345 + # pkg:gem/activerecord#lib/active_record.rb:345 def maintain_test_schema=(_arg0); end - # source://activerecord//lib/active_record.rb#502 + # pkg:gem/activerecord#lib/active_record.rb:502 def marshalling_format_version; end - # source://activerecord//lib/active_record.rb#506 + # pkg:gem/activerecord#lib/active_record.rb:506 def marshalling_format_version=(value); end - # source://activerecord//lib/active_record.rb#543 + # pkg:gem/activerecord#lib/active_record.rb:543 def message_verifiers; end - # source://activerecord//lib/active_record.rb#543 + # pkg:gem/activerecord#lib/active_record.rb:543 def message_verifiers=(_arg0); end - # source://activerecord//lib/active_record.rb#410 + # pkg:gem/activerecord#lib/active_record.rb:410 def migration_strategy; end - # source://activerecord//lib/active_record.rb#410 + # pkg:gem/activerecord#lib/active_record.rb:410 def migration_strategy=(_arg0); end - # source://activerecord//lib/active_record.rb#317 + # pkg:gem/activerecord#lib/active_record.rb:317 def permanent_connection_checkout; end # Defines whether +ActiveRecord::Base.connection+ is allowed, deprecated, or entirely disallowed. # - # source://activerecord//lib/active_record.rb#320 + # pkg:gem/activerecord#lib/active_record.rb:320 def permanent_connection_checkout=(value); end - # source://activerecord//lib/active_record.rb#529 + # pkg:gem/activerecord#lib/active_record.rb:529 def protocol_adapters; end - # source://activerecord//lib/active_record.rb#529 + # pkg:gem/activerecord#lib/active_record.rb:529 def protocol_adapters=(_arg0); end - # source://activerecord//lib/active_record.rb#447 + # pkg:gem/activerecord#lib/active_record.rb:447 def query_transformers; end - # source://activerecord//lib/active_record.rb#447 + # pkg:gem/activerecord#lib/active_record.rb:447 def query_transformers=(_arg0); end - # source://activerecord//lib/active_record.rb#342 + # pkg:gem/activerecord#lib/active_record.rb:342 def queues; end - # source://activerecord//lib/active_record.rb#342 + # pkg:gem/activerecord#lib/active_record.rb:342 def queues=(_arg0); end - # source://activerecord//lib/active_record.rb#462 + # pkg:gem/activerecord#lib/active_record.rb:462 def raise_int_wider_than_64bit; end - # source://activerecord//lib/active_record.rb#462 + # pkg:gem/activerecord#lib/active_record.rb:462 def raise_int_wider_than_64bit=(_arg0); end - # source://activerecord//lib/active_record.rb#348 + # pkg:gem/activerecord#lib/active_record.rb:348 def raise_on_assign_to_attr_readonly; end - # source://activerecord//lib/active_record.rb#348 + # pkg:gem/activerecord#lib/active_record.rb:348 def raise_on_assign_to_attr_readonly=(_arg0); end - # source://activerecord//lib/active_record.rb#360 + # pkg:gem/activerecord#lib/active_record.rb:360 def raise_on_missing_required_finder_order_columns; end - # source://activerecord//lib/active_record.rb#360 + # pkg:gem/activerecord#lib/active_record.rb:360 def raise_on_missing_required_finder_order_columns=(_arg0); end - # source://activerecord//lib/active_record.rb#273 + # pkg:gem/activerecord#lib/active_record.rb:273 def reading_role; end - # source://activerecord//lib/active_record.rb#273 + # pkg:gem/activerecord#lib/active_record.rb:273 def reading_role=(_arg0); end - # source://activerecord//lib/active_record.rb#357 + # pkg:gem/activerecord#lib/active_record.rb:357 def run_after_transaction_callbacks_in_order_defined; end - # source://activerecord//lib/active_record.rb#357 + # pkg:gem/activerecord#lib/active_record.rb:357 def run_after_transaction_callbacks_in_order_defined=(_arg0); end # Checks to see if the +table_name+ is ignored by checking @@ -261,77 +276,77 @@ module ActiveRecord # # @return [Boolean] # - # source://activerecord//lib/active_record.rb#207 + # pkg:gem/activerecord#lib/active_record.rb:207 def schema_cache_ignored_table?(table_name); end - # source://activerecord//lib/active_record.rb#199 + # pkg:gem/activerecord#lib/active_record.rb:199 def schema_cache_ignored_tables; end - # source://activerecord//lib/active_record.rb#199 + # pkg:gem/activerecord#lib/active_record.rb:199 def schema_cache_ignored_tables=(_arg0); end - # source://activerecord//lib/active_record.rb#382 + # pkg:gem/activerecord#lib/active_record.rb:382 def schema_format; end - # source://activerecord//lib/active_record.rb#382 + # pkg:gem/activerecord#lib/active_record.rb:382 def schema_format=(_arg0); end - # source://activerecord//lib/active_record.rb#416 + # pkg:gem/activerecord#lib/active_record.rb:416 def schema_versions_formatter; end - # source://activerecord//lib/active_record.rb#416 + # pkg:gem/activerecord#lib/active_record.rb:416 def schema_versions_formatter=(_arg0); end - # source://activerecord//lib/active_record.rb#396 + # pkg:gem/activerecord#lib/active_record.rb:396 def timestamped_migrations; end - # source://activerecord//lib/active_record.rb#396 + # pkg:gem/activerecord#lib/active_record.rb:396 def timestamped_migrations=(_arg0); end - # source://activerecord//lib/active_record.rb#454 + # pkg:gem/activerecord#lib/active_record.rb:454 def use_yaml_unsafe_load; end - # source://activerecord//lib/active_record.rb#454 + # pkg:gem/activerecord#lib/active_record.rb:454 def use_yaml_unsafe_load=(_arg0); end - # source://activerecord//lib/active_record.rb#404 + # pkg:gem/activerecord#lib/active_record.rb:404 def validate_migration_timestamps; end - # source://activerecord//lib/active_record.rb#404 + # pkg:gem/activerecord#lib/active_record.rb:404 def validate_migration_timestamps=(_arg0); end - # source://activerecord//lib/active_record.rb#335 + # pkg:gem/activerecord#lib/active_record.rb:335 def verbose_query_logs; end - # source://activerecord//lib/active_record.rb#335 + # pkg:gem/activerecord#lib/active_record.rb:335 def verbose_query_logs=(_arg0); end - # source://activerecord//lib/active_record.rb#444 + # pkg:gem/activerecord#lib/active_record.rb:444 def verify_foreign_keys_for_fixtures; end - # source://activerecord//lib/active_record.rb#444 + # pkg:gem/activerecord#lib/active_record.rb:444 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 + # pkg:gem/activerecord#lib/active_record/version.rb:7 def version; end # Sets a transaction isolation level for all connection pools within the block. # - # source://activerecord//lib/active_record.rb#616 + # pkg:gem/activerecord#lib/active_record.rb:616 def with_transaction_isolation_level(isolation_level, &block); end - # source://activerecord//lib/active_record.rb#270 + # pkg:gem/activerecord#lib/active_record.rb:270 def writing_role; end - # source://activerecord//lib/active_record.rb#270 + # pkg:gem/activerecord#lib/active_record.rb:270 def writing_role=(_arg0); end - # source://activerecord//lib/active_record.rb#469 + # pkg:gem/activerecord#lib/active_record.rb:469 def yaml_column_permitted_classes; end - # source://activerecord//lib/active_record.rb#469 + # pkg:gem/activerecord#lib/active_record.rb:469 def yaml_column_permitted_classes=(_arg0); end end end @@ -340,57 +355,57 @@ end # # Generic Active Record exception class. # -# source://activerecord//lib/active_record/errors.rb#10 +# pkg:gem/activerecord#lib/active_record/errors.rb:10 class ActiveRecord::ActiveRecordError < ::StandardError; end # Superclass for all errors raised from an Active Record adapter. # -# source://activerecord//lib/active_record/errors.rb#54 +# pkg:gem/activerecord#lib/active_record/errors.rb:54 class ActiveRecord::AdapterError < ::ActiveRecord::ActiveRecordError # @return [AdapterError] a new instance of AdapterError # - # source://activerecord//lib/active_record/errors.rb#55 + # pkg:gem/activerecord#lib/active_record/errors.rb:55 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#60 + # pkg:gem/activerecord#lib/active_record/errors.rb:60 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#50 +# pkg:gem/activerecord#lib/active_record/errors.rb:50 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#41 +# pkg:gem/activerecord#lib/active_record/errors.rb:41 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#590 +# pkg:gem/activerecord#lib/active_record/errors.rb:590 class ActiveRecord::AdapterTimeout < ::ActiveRecord::QueryAborted; end # See ActiveRecord::Aggregations::ClassMethods for documentation # -# source://activerecord//lib/active_record/aggregations.rb#5 +# pkg:gem/activerecord#lib/active_record/aggregations.rb:5 module ActiveRecord::Aggregations - # source://activerecord//lib/active_record/aggregations.rb#11 + # pkg:gem/activerecord#lib/active_record/aggregations.rb:11 def reload(*_arg0); end private - # source://activerecord//lib/active_record/aggregations.rb#17 + # pkg:gem/activerecord#lib/active_record/aggregations.rb:17 def clear_aggregation_cache; end - # source://activerecord//lib/active_record/aggregations.rb#21 + # pkg:gem/activerecord#lib/active_record/aggregations.rb:21 def init_internals; end - # source://activerecord//lib/active_record/aggregations.rb#6 + # pkg:gem/activerecord#lib/active_record/aggregations.rb:6 def initialize_dup(*_arg0); end end @@ -551,7 +566,7 @@ end # # Customer.where(address: Address.new("May Street", "Chicago")) # -# source://activerecord//lib/active_record/aggregations.rb#183 +# pkg:gem/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. @@ -594,92 +609,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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/errors.rb#203 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:203 class ActiveRecord::AmbiguousSourceReflectionForThroughAssociation < ::ActiveRecord::ActiveRecordError # @return [AmbiguousSourceReflectionForThroughAssociation] a new instance of AmbiguousSourceReflectionForThroughAssociation # - # source://activerecord//lib/active_record/associations/errors.rb#204 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:204 def initialize(klass, macro, association_name, options, possible_sources); end end -# source://activerecord//lib/active_record/associations/errors.rb#4 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:4 class ActiveRecord::AssociationNotFoundError < ::ActiveRecord::ConfigurationError include ::DidYouMean::Correctable # @return [AssociationNotFoundError] a new instance of AssociationNotFoundError # - # source://activerecord//lib/active_record/associations/errors.rb#7 + # pkg:gem/activerecord#lib/active_record/associations/errors.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/errors.rb#5 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:5 def association_name; end - # source://activerecord//lib/active_record/associations/errors.rb#20 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:20 def corrections; end # Returns the value of attribute record. # - # source://activerecord//lib/active_record/associations/errors.rb#5 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:5 def record; end end -# source://activerecord//lib/active_record/association_relation.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:5 def initialize(klass, association, **_arg2); end - # source://activerecord//lib/active_record/association_relation.rb#14 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:14 def ==(other); end - # source://activerecord//lib/active_record/association_relation.rb#19 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:19 def insert(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/association_relation.rb#19 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:19 def insert!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/association_relation.rb#19 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:19 def insert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/association_relation.rb#19 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:19 def insert_all!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/association_relation.rb#10 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:10 def proxy_association; end - # source://activerecord//lib/active_record/association_relation.rb#19 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:19 def upsert(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/association_relation.rb#19 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:19 def upsert_all(*_arg0, **_arg1, &_arg2); end private - # source://activerecord//lib/active_record/association_relation.rb#35 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:35 def _create(attributes, &block); end - # source://activerecord//lib/active_record/association_relation.rb#39 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:39 def _create!(attributes, &block); end - # source://activerecord//lib/active_record/association_relation.rb#31 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:31 def _new(attributes, &block); end - # source://activerecord//lib/active_record/association_relation.rb#43 + # pkg:gem/activerecord#lib/active_record/association_relation.rb:43 def exec_queries; end end @@ -696,12 +711,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#32 +# pkg:gem/activerecord#lib/active_record/errors.rb:32 class ActiveRecord::AssociationTypeMismatch < ::ActiveRecord::ActiveRecordError; end # See ActiveRecord::Associations::ClassMethods for documentation. # -# source://activerecord//lib/active_record/associations.rb#5 +# pkg:gem/activerecord#lib/active_record/associations.rb:5 module ActiveRecord::Associations extend ::ActiveSupport::Autoload extend ::ActiveSupport::Concern @@ -710,76 +725,76 @@ 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#53 + # pkg:gem/activerecord#lib/active_record/associations.rb:53 def association(name); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations.rb#67 + # pkg:gem/activerecord#lib/active_record/associations.rb:67 def association_cached?(name); end private # Returns the specified association instance if it exists, +nil+ otherwise. # - # source://activerecord//lib/active_record/associations.rb#83 + # pkg:gem/activerecord#lib/active_record/associations.rb:83 def association_instance_get(name); end # Set the specified association instance. # - # source://activerecord//lib/active_record/associations.rb#88 + # pkg:gem/activerecord#lib/active_record/associations.rb:88 def association_instance_set(name, association); end - # source://activerecord//lib/active_record/associations.rb#92 + # pkg:gem/activerecord#lib/active_record/associations.rb:92 def deprecated_associations_api_guard(association, method_name); end - # source://activerecord//lib/active_record/associations.rb#77 + # pkg:gem/activerecord#lib/active_record/associations.rb:77 def init_internals; end - # source://activerecord//lib/active_record/associations.rb#71 + # pkg:gem/activerecord#lib/active_record/associations.rb:71 def initialize_dup(*_arg0); end - # source://activerecord//lib/active_record/associations.rb#96 + # pkg:gem/activerecord#lib/active_record/associations.rb:96 def report_deprecated_association(reflection, context:); end class << self - # source://activerecord//lib/active_record/associations.rb#46 + # pkg:gem/activerecord#lib/active_record/associations.rb:46 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 +# pkg:gem/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#53 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:53 def initialize(table_alias_length, aliases); end - # source://activerecord//lib/active_record/associations/alias_tracker.rb#58 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:58 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#80 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:80 def aliases; end private - # source://activerecord//lib/active_record/associations/alias_tracker.rb#83 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:83 def table_alias_for(table_name); end - # source://activerecord//lib/active_record/associations/alias_tracker.rb#87 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:87 def truncate(name); end class << self - # source://activerecord//lib/active_record/associations/alias_tracker.rb#9 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:9 def create(pool, initial_table, joins, aliases = T.unsafe(nil)); end - # source://activerecord//lib/active_record/associations/alias_tracker.rb#28 + # pkg:gem/activerecord#lib/active_record/associations/alias_tracker.rb:28 def initial_count_for(connection, name, table_joins); end end end @@ -815,14 +830,14 @@ 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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:41 def initialize(owner, reflection); end - # source://activerecord//lib/active_record/associations/association.rb#198 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:198 def async_load_target; end # Whether the association represents a single record @@ -830,36 +845,36 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#237 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:237 def collection?; end - # source://activerecord//lib/active_record/associations/association.rb#227 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:227 def create(attributes = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/associations/association.rb#231 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:231 def create!(attributes = T.unsafe(nil), &block); end # Returns the value of attribute disable_joins. # - # source://activerecord//lib/active_record/associations/association.rb#37 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:37 def disable_joins; end - # source://activerecord//lib/active_record/associations/association.rb#169 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:169 def extensions; end - # source://activerecord//lib/active_record/associations/association.rb#217 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:217 def initialize_attributes(record, except_from_scope_attributes = T.unsafe(nil)); end - # source://activerecord//lib/active_record/associations/association.rb#153 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:153 def inversed_from(record); end - # source://activerecord//lib/active_record/associations/association.rb#157 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:157 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#165 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:165 def klass; end # Loads the \target if needed and returns it. @@ -873,77 +888,77 @@ 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#189 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:189 def load_target; end # Asserts the \target has been loaded setting the \loaded flag to +true+. # - # source://activerecord//lib/active_record/associations/association.rb#86 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:86 def loaded!; end # Has the \target been already \loaded? # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#81 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:81 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#206 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:206 def marshal_dump; end - # source://activerecord//lib/active_record/associations/association.rb#211 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:211 def marshal_load(data); end - # source://activerecord//lib/active_record/associations/association.rb#39 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:39 def options(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/association.rb#36 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:36 def owner; end - # source://activerecord//lib/active_record/associations/association.rb#36 + # pkg:gem/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 + # pkg:gem/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#72 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:72 def reload(force = T.unsafe(nil)); end # Remove the inverse association, if possible # - # source://activerecord//lib/active_record/associations/association.rb#147 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:147 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#61 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:61 def reset; end - # source://activerecord//lib/active_record/associations/association.rb#66 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:66 def reset_negative_cache; end - # source://activerecord//lib/active_record/associations/association.rb#119 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:119 def reset_scope; end - # source://activerecord//lib/active_record/associations/association.rb#107 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:107 def scope; end # Set the inverse association, if possible # - # source://activerecord//lib/active_record/associations/association.rb#132 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:132 def set_inverse_instance(record); end - # source://activerecord//lib/active_record/associations/association.rb#139 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:139 def set_inverse_instance_from_queries(record); end - # source://activerecord//lib/active_record/associations/association.rb#123 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:123 def set_strict_loading(record); end # The target is stale if the target no longer points to the record(s) that the @@ -955,15 +970,15 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#97 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:97 def stale_target?; end - # source://activerecord//lib/active_record/associations/association.rb#53 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:53 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#102 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:102 def target=(target); end private @@ -975,34 +990,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#300 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:300 def association_scope; end - # source://activerecord//lib/active_record/associations/association.rb#383 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:383 def build_record(attributes); end - # source://activerecord//lib/active_record/associations/association.rb#398 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:398 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#244 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:244 def ensure_klass_exists!; end - # source://activerecord//lib/active_record/associations/association.rb#248 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:248 def find_target(async: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#320 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:320 def find_target?; end # Returns true if record contains the foreign_key # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#370 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:370 def foreign_key_for?(record); end # Returns true if there is a foreign key present on the owner which @@ -1016,22 +1031,22 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#332 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:332 def foreign_key_present?; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#406 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:406 def inversable?(record); end - # source://activerecord//lib/active_record/associations/association.rb#350 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:350 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#359 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:359 def inverse_reflection_for(record); end # Returns true if inverse association on the given record needs to be set. @@ -1039,32 +1054,32 @@ class ActiveRecord::Associations::Association # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#365 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:365 def invertible_for?(record); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#411 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:411 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#339 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:339 def raise_on_type_mismatch!(record); end - # source://activerecord//lib/active_record/associations/association.rb#316 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:316 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#391 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:391 def skip_statement_cache?(scope); end - # source://activerecord//lib/active_record/associations/association.rb#276 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:276 def skip_strict_loading(&block); end # This should be implemented to return the values of the relevant key(s) on the owner, @@ -1073,254 +1088,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#380 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:380 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#312 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:312 def target_scope; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/association.rb#284 + # pkg:gem/activerecord#lib/active_record/associations/association.rb:284 def violates_strict_loading?; end end -# source://activerecord//lib/active_record/associations/association_scope.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/association_scope.rb:15 def initialize(value_transformation); end - # source://activerecord//lib/active_record/associations/association_scope.rb#21 + # pkg:gem/activerecord#lib/active_record/associations/association_scope.rb:21 def scope(association); end private - # source://activerecord//lib/active_record/associations/association_scope.rb#124 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/association_scope.rb:54 def join(table, constraint); end - # source://activerecord//lib/active_record/associations/association_scope.rb#58 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/association_scope.rb:10 def create(&block); end - # source://activerecord//lib/active_record/associations/association_scope.rb#34 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/association_scope.rb:102 def aliased_table; end - # source://activerecord//lib/active_record/associations/association_scope.rb#109 + # pkg:gem/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 +# pkg:gem/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#59 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:59 def decrement_counters; end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#67 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:67 def decrement_counters_before_last_save; end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#46 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:46 def default(&block); end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#7 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:7 def handle_dependency; end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#63 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:63 def increment_counters; end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#41 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:41 def inversed_from(record); end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#50 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:50 def reset; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#90 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:90 def saved_change_to_target?; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#82 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:82 def target_changed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#86 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:86 def target_previously_changed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#55 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:55 def updated?; end private # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#124 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:124 def find_target?; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#157 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:157 def foreign_key_present?; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#161 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:161 def invertible_for?(record); end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#153 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:153 def primary_key(klass); end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#95 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:95 def replace(record); end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#132 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:132 def replace_keys(record, force: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#128 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:128 def require_counter_update?; end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#166 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:166 def stale_state; end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#109 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:109 def update_counters(by); end - # source://activerecord//lib/active_record/associations/belongs_to_association.rb#119 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_association.rb:119 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/belongs_to_polymorphic_association.rb:43 def stale_state; end end -# source://activerecord//lib/active_record/associations.rb#18 +# pkg:gem/activerecord#lib/active_record/associations.rb:18 module ActiveRecord::Associations::Builder; end -# source://activerecord//lib/active_record/associations/builder/association.rb#15 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:17 def extensions=(_arg0); end private - # source://activerecord//lib/active_record/associations/builder/association.rb#156 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:156 def add_after_commit_jobs_callback(model, dependent); end - # source://activerecord//lib/active_record/associations/builder/association.rb#144 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:144 def add_destroy_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/association.rb#53 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:53 def build_scope(scope); end - # source://activerecord//lib/active_record/associations/builder/association.rb#134 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:134 def check_dependent_options(dependent, model); end # Defines the setter and getter methods for the association @@ -1330,222 +1345,222 @@ 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#95 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:95 def define_accessors(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/association.rb#77 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:77 def define_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/association.rb#126 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:126 def define_change_tracking_methods(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/association.rb#73 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:73 def define_extensions(model, name); end - # source://activerecord//lib/active_record/associations/builder/association.rb#102 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:102 def define_readers(mixin, name); end - # source://activerecord//lib/active_record/associations/builder/association.rb#122 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:122 def define_validations(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/association.rb#112 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:112 def define_writers(mixin, name); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/associations/builder/association.rb#61 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:61 def macro; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/associations/builder/association.rb#130 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:130 def valid_dependent_options; end - # source://activerecord//lib/active_record/associations/builder/association.rb#65 + # pkg:gem/activerecord#lib/active_record/associations/builder/association.rb:65 def valid_options(options); end - # source://activerecord//lib/active_record/associations/builder/association.rb#69 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#45 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:45 def touch_record(o, changes, foreign_key, name, touch); end private - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#28 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:28 def add_counter_cache_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#104 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:104 def add_default_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#110 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:110 def add_destroy_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#80 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:80 def add_touch_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#21 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:21 def define_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#153 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:153 def define_change_tracking_methods(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#122 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:122 def define_validations(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#5 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:5 def macro; end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#17 + # pkg:gem/activerecord#lib/active_record/associations/builder/belongs_to.rb:17 def valid_dependent_options; end - # source://activerecord//lib/active_record/associations/builder/belongs_to.rb#9 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#70 + # pkg:gem/activerecord#lib/active_record/associations/builder/collection_association.rb:70 def define_writers(mixin, name); end - # source://activerecord//lib/active_record/associations/builder/collection_association.rb#9 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_many.rb:5 def macro; end - # source://activerecord//lib/active_record/associations/builder/has_many.rb#17 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_many.rb:17 def valid_dependent_options; end - # source://activerecord//lib/active_record/associations/builder/has_many.rb#9 + # pkg:gem/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 +# pkg:gem/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#37 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:37 def touch_record(record, name, touch); end private - # source://activerecord//lib/active_record/associations/builder/has_one.rb#26 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:26 def add_destroy_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/has_one.rb#46 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:46 def add_touch_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/has_one.rb#21 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:21 def define_callbacks(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/has_one.rb#30 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:30 def define_validations(model, reflection); end - # source://activerecord//lib/active_record/associations/builder/has_one.rb#5 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:5 def macro; end - # source://activerecord//lib/active_record/associations/builder/has_one.rb#17 + # pkg:gem/activerecord#lib/active_record/associations/builder/has_one.rb:17 def valid_dependent_options; end - # source://activerecord//lib/active_record/associations/builder/has_one.rb#9 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/associations/builder/singular_association.rb:6 class ActiveRecord::Associations::Builder::SingularAssociation < ::ActiveRecord::Associations::Builder::Association class << self - # source://activerecord//lib/active_record/associations/builder/singular_association.rb#56 + # pkg:gem/activerecord#lib/active_record/associations/builder/singular_association.rb:56 def define_callbacks(model, reflection); end private - # source://activerecord//lib/active_record/associations/builder/singular_association.rb#11 + # pkg:gem/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#34 + # pkg:gem/activerecord#lib/active_record/associations/builder/singular_association.rb:34 def define_constructors(mixin, name); end - # source://activerecord//lib/active_record/associations/builder/singular_association.rb#7 + # pkg:gem/activerecord#lib/active_record/associations/builder/singular_association.rb:7 def valid_options(options); end end end @@ -2603,7 +2618,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#1152 +# pkg:gem/activerecord#lib/active_record/associations.rb:1152 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 @@ -2797,7 +2812,7 @@ module ActiveRecord::Associations::ClassMethods # belongs_to :account, strict_loading: true # belongs_to :note, query_constraints: [:organization_id, :note_id] # - # source://activerecord//lib/active_record/associations.rb#1824 + # pkg:gem/activerecord#lib/active_record/associations.rb:1824 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 @@ -2980,7 +2995,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#2008 + # pkg:gem/activerecord#lib/active_record/associations.rb:2008 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 @@ -3258,7 +3273,7 @@ module ActiveRecord::Associations::ClassMethods # has_many :comments, query_constraints: [:blog_id, :post_id] # has_many :comments, index_errors: :nested_attributes_order # - # source://activerecord//lib/active_record/associations.rb#1427 + # pkg:gem/activerecord#lib/active_record/associations.rb:1427 def has_many(name, scope = T.unsafe(nil), **options, &extension); end # Specifies a one-to-one association with another class. This method @@ -3458,7 +3473,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#1628 + # pkg:gem/activerecord#lib/active_record/associations.rb:1628 def has_one(name, scope = T.unsafe(nil), **options); end end @@ -3486,23 +3501,23 @@ 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#30 +# pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:30 class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associations::Association - # source://activerecord//lib/active_record/associations/collection_association.rb#281 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:281 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#117 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:117 def build(attributes = T.unsafe(nil), &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_association.rb#316 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:316 def collection?; 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#127 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:127 def concat(*records); end # Removes +records+ from this association calling +before_remove+ and @@ -3513,7 +3528,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#186 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:186 def delete(*records); end # Removes all records from the association without calling callbacks @@ -3530,7 +3545,7 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # # See delete for more info. # - # source://activerecord//lib/active_record/associations/collection_association.rb#150 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:150 def delete_all(dependent = T.unsafe(nil)); end # Deletes the +records+ and removes them from this association calling @@ -3539,14 +3554,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#195 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:195 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#172 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:172 def destroy_all; end # Returns true if the collection is empty. @@ -3560,61 +3575,61 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_association.rb#232 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:232 def empty?; end - # source://activerecord//lib/active_record/associations/collection_association.rb#94 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:94 def find(*args); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_association.rb#308 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:308 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#51 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:51 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#62 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:62 def ids_writer(ids); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_association.rb#258 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:258 def include?(record); end - # source://activerecord//lib/active_record/associations/collection_association.rb#272 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:272 def load_target; end - # source://activerecord//lib/active_record/associations/collection_association.rb#31 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:31 def nested_attributes_target; end - # source://activerecord//lib/active_record/associations/collection_association.rb#31 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:31 def nested_attributes_target=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_association.rb#304 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:304 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#34 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:34 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#242 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:242 def replace(other_array); end - # source://activerecord//lib/active_record/associations/collection_association.rb#87 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:87 def reset; end - # source://activerecord//lib/active_record/associations/collection_association.rb#298 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:298 def scope; end # Returns the size of the collection by executing a SELECT COUNT(*) @@ -3628,34 +3643,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#209 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:209 def size; end - # source://activerecord//lib/active_record/associations/collection_association.rb#285 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:285 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#46 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:46 def writer(records); end private - # source://activerecord//lib/active_record/associations/collection_association.rb#354 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:354 def _create_record(attributes, raise = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/associations/collection_association.rb#492 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:492 def callback(method, record); end - # source://activerecord//lib/active_record/associations/collection_association.rb#498 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:498 def callbacks_for(callback_name); end # @raise [ActiveRecord::Rollback] # - # source://activerecord//lib/active_record/associations/collection_association.rb#438 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:438 def concat_records(records, raise = T.unsafe(nil)); end - # source://activerecord//lib/active_record/associations/collection_association.rb#385 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:385 def delete_or_destroy(records, method); end # Delete the given records from the association, @@ -3664,23 +3679,23 @@ class ActiveRecord::Associations::CollectionAssociation < ::ActiveRecord::Associ # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/associations/collection_association.rb#414 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:414 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#521 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:521 def find_by_scan(*args); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_association.rb#507 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:507 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#377 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:377 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 @@ -3694,22 +3709,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#335 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:335 def merge_target_lists(persisted, memory); end - # source://activerecord//lib/active_record/associations/collection_association.rb#399 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:399 def remove_records(existing_records, records, method); end - # source://activerecord//lib/active_record/associations/collection_association.rb#430 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:430 def replace_common_records_in_memory(new_target, original_target); end - # source://activerecord//lib/active_record/associations/collection_association.rb#457 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:457 def replace_on_target(record, skip_callbacks, replace:, inversing: T.unsafe(nil)); end - # source://activerecord//lib/active_record/associations/collection_association.rb#418 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:418 def replace_records(new_target, original_target); end - # source://activerecord//lib/active_record/associations/collection_association.rb#321 + # pkg:gem/activerecord#lib/active_record/associations/collection_association.rb:321 def transaction(&block); end end @@ -3740,11 +3755,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 +# pkg:gem/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 + # pkg:gem/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 @@ -3769,7 +3784,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1049 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1049 def <<(*records); end # Equivalent to Array#==. Returns +true+ if the two arrays @@ -3800,31 +3815,31 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets == other # # => true # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#980 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:980 def ==(other); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def _select!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def and(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def and!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def annotate(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def annotate!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def annotate_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def annotate_values=(arg); end # Adds one or more +records+ to the collection by setting their foreign keys @@ -3849,10 +3864,10 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1053 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1053 def append(*records); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def arel(*_arg0, **_arg1, &_arg2); end # Returns a new object of the collection type that has been instantiated @@ -3880,12 +3895,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 + # pkg:gem/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 + # pkg:gem/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 @@ -3895,7 +3910,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#1066 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1066 def clear; end # Adds one or more +records+ to the collection by setting their foreign keys @@ -3920,10 +3935,10 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1054 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1054 def concat(*records); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def construct_join_dependency(*_arg0, **_arg1, &_arg2); end # Returns a new object of the collection type that has been instantiated with @@ -3953,7 +3968,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#349 + # pkg:gem/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. @@ -3969,19 +3984,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 + # pkg:gem/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#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def create_with(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def create_with!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def create_with_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def create_with_value=(arg); end # Deletes the +records+ supplied from the collection according to the strategy @@ -4100,7 +4115,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#620 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:620 def delete(*records); end # Deletes all the records from the collection according to the strategy @@ -4183,7 +4198,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 + # pkg:gem/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. @@ -4255,7 +4270,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 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:692 def destroy(*records); end # Deletes the records of the collection directly from the database @@ -4282,31 +4297,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 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:501 def destroy_all; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def distinct(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def distinct!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def distinct_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def distinct_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def eager_load(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def eager_load!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def eager_load_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def eager_load_values=(arg); end # Returns +true+ if the collection is empty. If the collection has been @@ -4330,34 +4345,34 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#831 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:831 def empty?; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def except(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def excluding(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def excluding!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def extending(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def extending!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def extending_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def extending_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def extensions(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def extract_associated(*_arg0, **_arg1, &_arg2); end # Finds an object in the collection responding to the +id+. Uses the same @@ -4387,46 +4402,46 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#138 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:138 def find(*args); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def from(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def from!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def from_clause(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def from_clause=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def group(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def group!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def group_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def group_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def having(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def having!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def having_clause(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def having_clause=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def in_order_of(*_arg0, **_arg1, &_arg2); end # Returns +true+ if the given +record+ is present in the collection. @@ -4442,52 +4457,52 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#927 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:927 def include?(record); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def includes(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def includes!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def includes_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def includes_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1129 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1129 def insert(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1129 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1129 def insert!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1129 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1129 def insert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1129 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1129 def insert_all!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1118 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1118 def inspect; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def invert_where(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def invert_where!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def joins!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def joins_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def joins_values=(arg); end # Returns the last record, or the last +n+ records, from the collection. @@ -4517,40 +4532,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 + # pkg:gem/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#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def left_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def left_outer_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def left_outer_joins!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def left_outer_joins_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def left_outer_joins_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def limit(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def limit!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def limit_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def limit_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def load_async(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#44 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:44 def load_target; end # Returns +true+ if the association has been loaded, otherwise +false+. @@ -4561,7 +4576,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#56 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:56 def loaded; end # Returns +true+ if the association has been loaded, otherwise +false+. @@ -4572,25 +4587,25 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#53 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:53 def loaded?; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def lock(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def lock!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def lock_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def lock_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def merge(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def merge!(*_arg0, **_arg1, &_arg2); end # Returns a new object of the collection type that has been instantiated @@ -4618,84 +4633,84 @@ 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#321 + # pkg:gem/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#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def none(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def none!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def null_relation?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def offset(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def offset!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def offset_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def offset_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def only(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def optimizer_hints(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def optimizer_hints!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def optimizer_hints_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def optimizer_hints_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def or(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def or!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def order(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def order!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def order_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def order_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#728 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:728 def pluck(*column_names); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def preload(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def preload!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def preload_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def preload_values=(arg); end # @raise [NoMethodError] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1056 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1056 def prepend(*args); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1123 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1123 def pretty_print(pp); end # Returns the association object for the collection. @@ -4712,7 +4727,7 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # See Associations::ClassMethods@Association+extensions for more. # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#944 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:944 def proxy_association; end # Adds one or more +records+ to the collection by setting their foreign keys @@ -4737,19 +4752,19 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1052 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1052 def push(*records); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def readonly(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def readonly!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def readonly_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def readonly_value=(arg); end # :method: to_ary @@ -4791,25 +4806,25 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # # # # # ] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1024 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1024 def records; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def references(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def references!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def references_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def references_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def regroup(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def regroup!(*_arg0, **_arg1, &_arg2); end # Reloads the collection from the database. Returns +self+. @@ -4827,19 +4842,19 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets.reload # fetches pets from the database # # => [#] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1085 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1085 def reload; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reorder(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reorder!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reordering_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reordering_value=(arg); end # Replaces this collection with +other_array+. This will perform a diff @@ -4865,13 +4880,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 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:391 def replace(other_array); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reselect(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reselect!(*_arg0, **_arg1, &_arg2); end # Unloads the association. Returns +self+. @@ -4891,39 +4906,39 @@ class ActiveRecord::Associations::CollectionProxy < ::ActiveRecord::Relation # person.pets # fetches pets from the database # # => [#] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1106 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1106 def reset; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1112 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1112 def reset_scope; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reverse_order(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reverse_order!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reverse_order_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def reverse_order_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 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#949 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:949 def scope; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def scoping(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def select_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def select_values=(arg); end # Returns the size of the collection. If the collection hasn't been loaded, @@ -4951,37 +4966,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 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:782 def size; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def skip_preloading!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def skip_query_cache!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def skip_query_cache_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def skip_query_cache_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def spawn(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def strict_loading(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def strict_loading!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def strict_loading_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def strict_loading_value=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def structurally_compatible?(*_arg0, **_arg1, &_arg2); end # Gives a record (or N records if a parameter is supplied) from the collection @@ -5010,174 +5025,174 @@ 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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:40 def target; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def uniq!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def unscope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def unscope!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def unscope_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def unscope_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1129 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1129 def upsert(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1129 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1129 def upsert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def where(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def where!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def where_clause(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def where_clause=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def with(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def with!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def with_recursive(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def with_recursive!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def with_values(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def with_values=(arg); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1155 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1155 def without(*_arg0, **_arg1, &_arg2); end private - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1176 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1176 def exec_queries; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1172 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1172 def find_from_target?; end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1163 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1163 def find_nth_from_last(index); end - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1158 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1158 def find_nth_with_limit(index, limit); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/collection_proxy.rb#1168 + # pkg:gem/activerecord#lib/active_record/associations/collection_proxy.rb:1168 def null_scope?; end end -# source://activerecord//lib/active_record/associations/deprecation.rb#6 +# pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:6 module ActiveRecord::Associations::Deprecation class << self # Returns the value of attribute backtrace. # - # source://activerecord//lib/active_record/associations/deprecation.rb#14 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:14 def backtrace; end - # source://activerecord//lib/active_record/associations/deprecation.rb#24 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:24 def backtrace=(value); end - # source://activerecord//lib/active_record/associations/deprecation.rb#28 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:28 def guard(reflection); end # Returns the value of attribute mode. # - # source://activerecord//lib/active_record/associations/deprecation.rb#14 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:14 def mode; end # private setter # - # source://activerecord//lib/active_record/associations/deprecation.rb#16 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:16 def mode=(value); end - # source://activerecord//lib/active_record/associations/deprecation.rb#39 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:39 def report(reflection, context:); end private - # source://activerecord//lib/active_record/associations/deprecation.rb#65 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:65 def backtrace_cleaner; end - # source://activerecord//lib/active_record/associations/deprecation.rb#69 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:69 def clean_frames; end - # source://activerecord//lib/active_record/associations/deprecation.rb#73 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:73 def clean_locations; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/deprecation.rb#77 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:77 def set_backtrace_supports_array_of_locations?; end - # source://activerecord//lib/active_record/associations/deprecation.rb#81 + # pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:81 def user_facing_reflection(reflection); end end end -# source://activerecord//lib/active_record/associations/deprecation.rb#7 +# pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:7 ActiveRecord::Associations::Deprecation::EVENT = T.let(T.unsafe(nil), String) -# source://activerecord//lib/active_record/associations/deprecation.rb#10 +# pkg:gem/activerecord#lib/active_record/associations/deprecation.rb:10 ActiveRecord::Associations::Deprecation::MODES = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/associations/disable_joins_association_scope.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/foreign_association.rb:5 def foreign_key_present?; end - # source://activerecord//lib/active_record/associations/foreign_association.rb#13 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/foreign_association.rb:22 def set_owner_attributes(record); end end @@ -5188,22 +5203,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/has_many_association.rb:139 def concat_records(records, *_arg1); end # Returns the number of records in this collection. @@ -5220,56 +5235,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -5278,97 +5293,97 @@ 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 + # pkg:gem/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 + # pkg:gem/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#136 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:136 def delete_or_nullify_all_records(method); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#140 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:140 def delete_records(records, method); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#209 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:209 def delete_through_records(records); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#177 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:177 def difference(a, b); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#193 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:193 def distribution(array); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#225 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:225 def find_target(async: T.unsafe(nil)); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#183 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:183 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#233 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:233 def invertible_for?(record); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#189 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:189 def mark_occurrence(distribution, record); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#116 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:116 def remove_records(existing_records, records, method); end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#81 + # pkg:gem/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#121 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:121 def target_reflection_has_associated_record?; end - # source://activerecord//lib/active_record/associations/has_many_through_association.rb#199 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:199 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 + # pkg:gem/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 + # pkg:gem/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#125 + # pkg:gem/activerecord#lib/active_record/associations/has_many_through_association.rb:125 def update_through_counter?(method); end end # = Active Record Has One Association # -# source://activerecord//lib/active_record/associations/has_one_association.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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), @@ -5376,136 +5391,136 @@ 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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:77 def base_klass; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#158 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:158 def each(&block); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#105 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:166 def alias_tracker; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#168 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:168 def aliases; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#228 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:228 def build(associations, base_klass); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#244 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:244 def construct(ar_parent, parent, row, seen, model_cache, strict_loading_value); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#280 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:280 def construct_model(record, node, row, model_cache, id, strict_loading_value); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#223 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:166 def join_root_alias; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#190 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:47 def make_tree(associations); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#53 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:14 def initialize(tables); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#34 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:30 def column_aliases(node); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#26 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:26 def columns; end end -# source://activerecord//lib/active_record/associations/join_dependency.rb#44 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def alias; end # Sets the attribute alias @@ -5513,14 +5528,14 @@ class ActiveRecord::Associations::JoinDependency::Aliases::Column < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def name; end # Sets the attribute name @@ -5528,37 +5543,37 @@ class ActiveRecord::Associations::JoinDependency::Aliases::Column < ::Struct # @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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def name=(_); end class << self - # source://activerecord//lib/active_record/associations/join_dependency.rb#44 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def [](*_arg0); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#44 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def inspect; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#44 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def keyword_init?; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#44 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:44 def members; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#44 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def columns; end # Sets the attribute columns @@ -5566,14 +5581,14 @@ class ActiveRecord::Associations::JoinDependency::Aliases::Table < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def node; end # Sets the attribute node @@ -5581,95 +5596,95 @@ class ActiveRecord::Associations::JoinDependency::Aliases::Table < ::Struct # @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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def node=(_); end class << self - # source://activerecord//lib/active_record/associations/join_dependency.rb#38 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def [](*_arg0); end - # source://activerecord//lib/active_record/associations/join_dependency.rb#38 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def inspect; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#38 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def keyword_init?; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#38 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency.rb:38 def members; end - # source://activerecord//lib/active_record/associations/join_dependency.rb#38 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency/join_base.rb:9 def table; end end @@ -5680,93 +5695,93 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/join_dependency/join_part.rb:20 def table_name(*_arg0, **_arg1, &_arg2); end end -# source://activerecord//lib/active_record/associations/nested_error.rb#7 +# pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:7 class ActiveRecord::Associations::NestedError < ::ActiveModel::NestedError # @return [NestedError] a new instance of NestedError # - # source://activerecord//lib/active_record/associations/nested_error.rb#8 + # pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:8 def initialize(association, inner_error); end private # Returns the value of attribute association. # - # source://activerecord//lib/active_record/associations/nested_error.rb#16 + # pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:16 def association; end - # source://activerecord//lib/active_record/associations/nested_error.rb#18 + # pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:18 def compute_attribute(inner_error); end - # source://activerecord//lib/active_record/associations/nested_error.rb#33 + # pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:33 def index; end - # source://activerecord//lib/active_record/associations/nested_error.rb#28 + # pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:28 def index_errors_setting; end - # source://activerecord//lib/active_record/associations/nested_error.rb#37 + # pkg:gem/activerecord#lib/active_record/associations/nested_error.rb:37 def ordered_records; end end @@ -5810,7 +5825,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 +# pkg:gem/activerecord#lib/active_record/associations/preloader.rb:46 class ActiveRecord::Associations::Preloader extend ::ActiveSupport::Autoload @@ -5858,469 +5873,469 @@ class ActiveRecord::Associations::Preloader # # @return [Preloader] a new instance of Preloader # - # source://activerecord//lib/active_record/associations/preloader.rb#99 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader.rb:56 def associations; end - # source://activerecord//lib/active_record/associations/preloader.rb#126 + # pkg:gem/activerecord#lib/active_record/associations/preloader.rb:126 def branches; end - # source://activerecord//lib/active_record/associations/preloader.rb#120 + # pkg:gem/activerecord#lib/active_record/associations/preloader.rb:120 def call; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader.rb#116 + # pkg:gem/activerecord#lib/active_record/associations/preloader.rb:116 def empty?; end - # source://activerecord//lib/active_record/associations/preloader.rb#130 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader.rb:56 def scope; end end -# source://activerecord//lib/active_record/associations/preloader/association.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:161 def association_key_name; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#119 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:102 def klass; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#197 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:176 def loaded?(owner); end - # source://activerecord//lib/active_record/associations/preloader/association.rb#165 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:165 def loader_query; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#169 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:169 def owners_by_key; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#154 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:154 def preloaded_records; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#148 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:148 def records_by_owner; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#135 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:135 def run; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader/association.rb#131 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:131 def run?; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#127 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:127 def runnable_loaders; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#184 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:184 def scope; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#188 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:188 def set_inverse(record); end - # source://activerecord//lib/active_record/associations/preloader/association.rb#115 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:115 def table_name; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#180 + # pkg:gem/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 + # pkg:gem/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#282 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:282 def association_key_type; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#294 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:294 def build_scope; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#310 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:310 def cascade_strict_loading(scope); end - # source://activerecord//lib/active_record/associations/preloader/association.rb#274 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:274 def convert_key(key); end - # source://activerecord//lib/active_record/associations/preloader/association.rb#266 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:266 def derive_key(owner, key); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader/association.rb#258 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:258 def key_conversion_required?; end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/associations/preloader/association.rb#238 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:241 def owner_key_name; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#286 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:286 def owner_key_type; end # Returns the value of attribute owners. # - # source://activerecord//lib/active_record/associations/preloader/association.rb#238 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:238 def reflection; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#290 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:290 def reflection_scope; end end -# source://activerecord//lib/active_record/associations/preloader/association.rb#9 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:17 def eql?(other); end - # source://activerecord//lib/active_record/associations/preloader/association.rb#24 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:24 def hash; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:10 def scope; end end -# source://activerecord//lib/active_record/associations/preloader/association.rb#60 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:70 def records; end private - # source://activerecord//lib/active_record/associations/preloader/association.rb#97 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:75 def keys_to_load; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#91 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/association.rb:75 def loaders; end - # source://activerecord//lib/active_record/associations/preloader/association.rb#77 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/batch.rb:12 def call; end private - # source://activerecord//lib/active_record/associations/preloader/batch.rb#40 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/batch.rb:38 def loaders; end end -# source://activerecord//lib/active_record/associations/preloader/branch.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:7 def children; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader/branch.rb#72 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:72 def done?; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#27 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:27 def future_classes; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#80 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:80 def grouped_records; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#31 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:31 def immediate_future_classes; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#53 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:53 def likely_reflections; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#118 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:118 def loaders; end # Returns the value of attribute parent. # - # source://activerecord//lib/active_record/associations/preloader/branch.rb#7 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:7 def parent; end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader/branch.rb#108 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:108 def polymorphic?; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#68 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:68 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 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:9 def preloaded_records=(_arg0); end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#91 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:91 def preloaders_for_reflection(reflection, reflection_records); end # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader/branch.rb#60 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:60 def root?; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#76 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:76 def runnable_loaders; end # Returns the value of attribute scope. # - # source://activerecord//lib/active_record/associations/preloader/branch.rb#8 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:8 def scope; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#64 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:64 def source_records; end - # source://activerecord//lib/active_record/associations/preloader/branch.rb#43 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:43 def target_classes; end private - # source://activerecord//lib/active_record/associations/preloader/branch.rb#127 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:127 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#144 + # pkg:gem/activerecord#lib/active_record/associations/preloader/branch.rb:144 def preloader_for(reflection); end end -# source://activerecord//lib/active_record/associations/preloader/through_association.rb#6 +# pkg:gem/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#49 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:49 def future_classes; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#7 + # pkg:gem/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 + # pkg:gem/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#39 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:39 def runnable_loaders; end private # @return [Boolean] # - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#65 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:65 def data_available?; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#74 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:74 def middle_records; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#98 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:98 def preload_index; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#70 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:70 def source_preloaders; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#90 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:90 def source_records_by_owner; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#86 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:86 def source_reflection; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#78 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:78 def through_preloaders; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#94 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:94 def through_records_by_owner; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#82 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:82 def through_reflection; end - # source://activerecord//lib/active_record/associations/preloader/through_association.rb#104 + # pkg:gem/activerecord#lib/active_record/associations/preloader/through_association.rb:104 def through_scope; end end -# source://activerecord//lib/active_record/associations/singular_association.rb#6 +# pkg:gem/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#29 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:29 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#37 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:37 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 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:7 def reader; end # Resets the \loaded flag to +false+ and sets the \target to +nil+. # - # source://activerecord//lib/active_record/associations/singular_association.rb#18 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:18 def reset; end # Implements the writer method, e.g. foo.bar= for Foo.belongs_to :bar # - # source://activerecord//lib/active_record/associations/singular_association.rb#25 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:25 def writer(record); end private # @raise [RecordInvalid] # - # source://activerecord//lib/active_record/associations/singular_association.rb#67 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:67 def _create_record(attributes, raise_error = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/associations/singular_association.rb#47 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:47 def find_target(async: T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/associations/singular_association.rb#59 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:59 def replace(record); end - # source://activerecord//lib/active_record/associations/singular_association.rb#43 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:43 def scope_for_create; end - # source://activerecord//lib/active_record/associations/singular_association.rb#63 + # pkg:gem/activerecord#lib/active_record/associations/singular_association.rb:63 def set_new_record(record); end end # = Active Record Through Association # -# source://activerecord//lib/active_record/associations/through_association.rb#6 +# pkg:gem/activerecord#lib/active_record/associations/through_association.rb:6 module ActiveRecord::Associations::ThroughAssociation - # source://activerecord//lib/active_record/associations/through_association.rb#7 + # pkg:gem/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 + # pkg:gem/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 @@ -6336,24 +6351,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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/through_association.rb:96 def ensure_mutable; end - # source://activerecord//lib/active_record/associations/through_association.rb#106 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/associations/through_association.rb:82 def stale_state; end # We merge in these scopes for two reasons: @@ -6361,77 +6376,77 @@ 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 + # pkg:gem/activerecord#lib/active_record/associations/through_association.rb:34 def target_scope; end - # source://activerecord//lib/active_record/associations/through_association.rb#26 + # pkg:gem/activerecord#lib/active_record/associations/through_association.rb:26 def through_association; end - # source://activerecord//lib/active_record/associations/through_association.rb#14 + # pkg:gem/activerecord#lib/active_record/associations/through_association.rb:14 def through_reflection; end - # source://activerecord//lib/active_record/associations/through_association.rb#10 + # pkg:gem/activerecord#lib/active_record/associations/through_association.rb:10 def transaction(&block); end end -# source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#7 +# pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:7 class ActiveRecord::AsynchronousQueriesTracker # @return [AsynchronousQueriesTracker] a new instance of AsynchronousQueriesTracker # - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#45 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:45 def initialize; end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#49 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:49 def current_session; end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#58 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:58 def finalize_session(wait = T.unsafe(nil)); end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#53 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:53 def start_session; end class << self - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#40 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:40 def complete(asynchronous_queries_tracker); end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#32 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:32 def install_executor_hooks(executor = T.unsafe(nil)); end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#36 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:36 def run; end end end -# source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#8 +# pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:8 class ActiveRecord::AsynchronousQueriesTracker::Session # @return [Session] a new instance of Session # - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#9 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:9 def initialize; end # @return [Boolean] # - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#14 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:14 def active?; end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#22 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:22 def finalize(wait = T.unsafe(nil)); end - # source://activerecord//lib/active_record/asynchronous_queries_tracker.rb#18 + # pkg:gem/activerecord#lib/active_record/asynchronous_queries_tracker.rb:18 def synchronize(&block); end end # AsynchronousQueryInsideTransactionError will be raised when attempting # to perform an asynchronous query from inside a transaction # -# source://activerecord//lib/active_record/errors.rb#544 +# pkg:gem/activerecord#lib/active_record/errors.rb:544 class ActiveRecord::AsynchronousQueryInsideTransactionError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/attribute_assignment.rb#4 +# pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:4 module ActiveRecord::AttributeAssignment private - # source://activerecord//lib/active_record/attribute_assignment.rb#6 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:6 def _assign_attributes(attributes); end # Instantiates objects for all attribute classes that needs more than one constructor parameter. This is done @@ -6441,24 +6456,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#36 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:36 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#26 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:26 def assign_nested_parameter_attributes(pairs); end - # source://activerecord//lib/active_record/attribute_assignment.rb#42 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:42 def execute_callstack_for_multiparameter_attributes(callstack); end - # source://activerecord//lib/active_record/attribute_assignment.rb#60 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:60 def extract_callstack_for_multiparameter_attributes(pairs); end - # source://activerecord//lib/active_record/attribute_assignment.rb#78 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:78 def find_parameter_position(multiparameter_name); end - # source://activerecord//lib/active_record/attribute_assignment.rb#74 + # pkg:gem/activerecord#lib/active_record/attribute_assignment.rb:74 def type_cast_attribute_value(multiparameter_name, value); end end @@ -6466,27 +6481,27 @@ end # {ActiveRecord::Base#attributes=}[rdoc-ref:ActiveModel::AttributeAssignment#attributes=] method. # The exception has an +attribute+ property that is the name of the offending attribute. # -# source://activerecord//lib/active_record/errors.rb#456 +# pkg:gem/activerecord#lib/active_record/errors.rb:456 class ActiveRecord::AttributeAssignmentError < ::ActiveRecord::ActiveRecordError # @return [AttributeAssignmentError] a new instance of AttributeAssignmentError # - # source://activerecord//lib/active_record/errors.rb#459 + # pkg:gem/activerecord#lib/active_record/errors.rb:459 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#457 + # pkg:gem/activerecord#lib/active_record/errors.rb:457 def attribute; end # Returns the value of attribute exception. # - # source://activerecord//lib/active_record/errors.rb#457 + # pkg:gem/activerecord#lib/active_record/errors.rb:457 def exception; end end # = Active Record Attribute Methods # -# source://activerecord//lib/active_record/attribute_methods.rb#7 +# pkg:gem/activerecord#lib/active_record/attribute_methods.rb:7 module ActiveRecord::AttributeMethods extend ::ActiveSupport::Concern extend ::ActiveSupport::Autoload @@ -6533,7 +6548,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#415 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:415 def [](attr_name); end # Updates the attribute identified by +attr_name+ using the specified @@ -6546,12 +6561,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#428 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:428 def []=(attr_name, value); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#322 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:322 def _has_attribute?(attr_name); end # Returns the name of all database fields which have been read from this @@ -6583,7 +6598,7 @@ module ActiveRecord::AttributeMethods # end # end # - # source://activerecord//lib/active_record/attribute_methods.rb#460 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:460 def accessed_fields; end # Returns an #inspect-like string for the value of the @@ -6602,7 +6617,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#365 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:365 def attribute_for_inspect(attr_name); end # Returns an array of names for the attributes available on this object. @@ -6614,7 +6629,7 @@ module ActiveRecord::AttributeMethods # person.attribute_names # # => ["id", "created_at", "updated_at", "name", "age"] # - # source://activerecord//lib/active_record/attribute_methods.rb#334 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:334 def attribute_names; end # Returns +true+ if the specified +attribute+ has been set by the user or by a @@ -6635,7 +6650,7 @@ module ActiveRecord::AttributeMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#387 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:387 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. @@ -6647,7 +6662,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#346 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:346 def attributes; end # Returns +true+ if the given attribute is in the attributes hash, otherwise +false+. @@ -6664,7 +6679,7 @@ module ActiveRecord::AttributeMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#316 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:316 def has_attribute?(attr_name); end # A Person object with a name attribute can ask person.respond_to?(:name), @@ -6686,48 +6701,48 @@ module ActiveRecord::AttributeMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#291 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:291 def respond_to?(name, include_private = T.unsafe(nil)); end private # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#499 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:499 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#519 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:519 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#508 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:508 def attributes_for_update(attribute_names); end - # source://activerecord//lib/active_record/attribute_methods.rb#503 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:503 def attributes_with_values(attribute_names); end - # source://activerecord//lib/active_record/attribute_methods.rb#527 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:527 def format_for_inspect(name, value); end - # source://activerecord//lib/active_record/attribute_methods.rb#475 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:475 def method_missing(name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#543 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:543 def pk_attribute?(name); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#465 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:465 def respond_to_missing?(name, include_private = T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/attribute_methods.rb#30 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:30 def dangerous_attribute_methods; end end @@ -6800,7 +6815,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 +# pkg:gem/activerecord#lib/active_record/attribute_methods/before_type_cast.rb:28 module ActiveRecord::AttributeMethods::BeforeTypeCast extend ::ActiveSupport::Concern @@ -6815,12 +6830,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 + # pkg:gem/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 + # pkg:gem/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 @@ -6836,7 +6851,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 + # pkg:gem/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 @@ -6850,30 +6865,30 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#41 +# pkg:gem/activerecord#lib/active_record/attribute_methods.rb:41 module ActiveRecord::AttributeMethods::ClassMethods # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#260 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:260 def _has_attribute?(attr_name); end # Allows you to make aliases for attributes. @@ -6891,10 +6906,10 @@ module ActiveRecord::AttributeMethods::ClassMethods # Person.where(nickname: "Bob") # # SELECT "people".* FROM "people" WHERE "people"."name" = "Bob" # - # source://activerecord//lib/active_record/attribute_methods.rb#66 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:66 def alias_attribute(new_name, old_name); end - # source://activerecord//lib/active_record/attribute_methods.rb#87 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:87 def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end # Returns +true+ if +attribute+ is an attribute method and table exists, @@ -6909,12 +6924,12 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#224 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:224 def attribute_method?(attribute); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#98 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:98 def attribute_methods_generated?; end # Returns an array of column names as strings if it's not an abstract class and @@ -6926,7 +6941,7 @@ module ActiveRecord::AttributeMethods::ClassMethods # Person.attribute_names # # => ["id", "created_at", "updated_at", "name", "age"] # - # source://activerecord//lib/active_record/attribute_methods.rb#236 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:236 def attribute_names; end # A method name is 'dangerous' if it is already (re)defined by Active Record, but @@ -6934,7 +6949,7 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#183 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:183 def dangerous_attribute_method?(name); end # A class method is 'dangerous' if it is already (re)defined by Active Record, but @@ -6942,22 +6957,22 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#201 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:201 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#104 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:104 def define_attribute_methods; end - # source://activerecord//lib/active_record/attribute_methods.rb#76 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:76 def eagerly_generate_alias_attribute_methods(_new_name, _old_name); end - # source://activerecord//lib/active_record/attribute_methods.rb#80 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:80 def generate_alias_attribute_methods(code_generator, new_name, old_name); end - # source://activerecord//lib/active_record/attribute_methods.rb#127 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:127 def generate_alias_attributes; end # Returns true if the given attribute exists, otherwise false. @@ -6973,10 +6988,10 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#254 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:254 def has_attribute?(attr_name); end - # source://activerecord//lib/active_record/attribute_methods.rb#42 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:42 def initialize_generated_modules; end # Raises an ActiveRecord::DangerousAttributeError exception when an @@ -6996,35 +7011,35 @@ module ActiveRecord::AttributeMethods::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#165 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:165 def instance_method_already_implemented?(method_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods.rb#187 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:187 def method_defined_within?(name, klass, superklass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/attribute_methods.rb#143 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:143 def undefine_attribute_methods; end private - # source://activerecord//lib/active_record/attribute_methods.rb#265 + # pkg:gem/activerecord#lib/active_record/attribute_methods.rb:265 def inherited(child_class); end end -# source://activerecord//lib/active_record/attribute_methods/composite_primary_key.rb#5 +# pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:5 module ActiveRecord::AttributeMethods::CompositePrimaryKey # 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/composite_primary_key.rb#8 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:8 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/composite_primary_key.rb#26 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:26 def id=(value); end # Queries the primary key column's value. If the primary key is composite, @@ -7032,33 +7047,33 @@ module ActiveRecord::AttributeMethods::CompositePrimaryKey # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/composite_primary_key.rb#37 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:37 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/composite_primary_key.rb#47 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:47 def id_before_type_cast; end - # source://activerecord//lib/active_record/attribute_methods/composite_primary_key.rb#75 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:75 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/composite_primary_key.rb#67 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:67 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/composite_primary_key.rb#57 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:57 def id_was; end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/composite_primary_key.rb#16 + # pkg:gem/activerecord#lib/active_record/attribute_methods/composite_primary_key.rb:16 def primary_key_values_present?; end end @@ -7095,7 +7110,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 +# pkg:gem/activerecord#lib/active_record/attribute_methods/dirty.rb:39 module ActiveRecord::AttributeMethods::Dirty extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7112,7 +7127,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 + # pkg:gem/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 @@ -7126,7 +7141,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 + # pkg:gem/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 @@ -7138,7 +7153,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 + # pkg:gem/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 @@ -7148,31 +7163,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -7184,7 +7199,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 + # pkg:gem/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? @@ -7206,19 +7221,19 @@ module ActiveRecord::AttributeMethods::Dirty # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#86 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/attribute_methods/dirty.rb:113 def saved_changes?; end # Will this attribute change the next time we save? @@ -7240,27 +7255,27 @@ module ActiveRecord::AttributeMethods::Dirty # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/dirty.rb#138 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/attribute_methods/dirty.rb:196 def init_internals; end module GeneratedClassMethods @@ -7290,15 +7305,15 @@ module ActiveRecord::AttributeMethods::Dirty end end -# source://activerecord//lib/active_record/attribute_methods.rb#25 +# pkg:gem/activerecord#lib/active_record/attribute_methods.rb:25 class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < ::Module; end -# source://activerecord//lib/active_record/attribute_methods.rb#26 +# pkg:gem/activerecord#lib/active_record/attribute_methods.rb:26 ActiveRecord::AttributeMethods::GeneratedAttributeMethods::LOCK = T.let(T.unsafe(nil), Monitor) # = Active Record Attribute Methods Primary Key # -# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#6 +# pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:6 module ActiveRecord::AttributeMethods::PrimaryKey extend ::ActiveSupport::Concern @@ -7307,13 +7322,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#18 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:18 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#28 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:28 def id=(value); end # Queries the primary key column's value. If the primary key is composite, @@ -7321,74 +7336,74 @@ module ActiveRecord::AttributeMethods::PrimaryKey # # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#34 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:34 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#40 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:40 def id_before_type_cast; end - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#56 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:56 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#52 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:52 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#46 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:46 def id_was; end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#22 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:22 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#11 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:11 def to_key; end private # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#61 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:61 def attribute_method?(attr_name); end end -# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#65 +# pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:65 module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#85 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:85 def composite_primary_key?; end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#73 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:73 def dangerous_attribute_method?(method_name); end - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#103 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:103 def get_primary_key(base_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#69 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:69 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#80 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:80 def primary_key; end # Sets the name of the primary key column. @@ -7407,27 +7422,27 @@ module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods # # Project.primary_key # => "foo_id" # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#130 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:130 def primary_key=(value); end # Returns a quoted version of the primary key name. # - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#91 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:91 def quoted_primary_key; end - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#95 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:95 def reset_primary_key; end private - # source://activerecord//lib/active_record/attribute_methods/primary_key.rb#143 + # pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:143 def inherited(base); end end -# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#66 +# pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:66 ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::ID_ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Set) -# source://activerecord//lib/active_record/attribute_methods/primary_key.rb#67 +# pkg:gem/activerecord#lib/active_record/attribute_methods/primary_key.rb:67 ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::PRIMARY_KEY_NOT_SET = T.let(T.unsafe(nil), BasicObject) # = Active Record Attribute Methods \Query @@ -7464,17 +7479,17 @@ ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::PRIMARY_KEY_NOT_SET = # product.name = "Orange" # product.name? # => true # -# source://activerecord//lib/active_record/attribute_methods/query.rb#38 +# pkg:gem/activerecord#lib/active_record/attribute_methods/query.rb:38 module ActiveRecord::AttributeMethods::Query extend ::ActiveSupport::Concern - # source://activerecord//lib/active_record/attribute_methods/query.rb#53 + # pkg:gem/activerecord#lib/active_record/attribute_methods/query.rb:53 def _query_attribute(attr_name); end # Returns +true+ or +false+ for the attribute identified by +attr_name+, # depending on the attribute type and value. # - # source://activerecord//lib/active_record/attribute_methods/query.rb#47 + # pkg:gem/activerecord#lib/active_record/attribute_methods/query.rb:47 def query_attribute(attr_name); end private @@ -7482,19 +7497,19 @@ module ActiveRecord::AttributeMethods::Query # Returns +true+ or +false+ for the attribute identified by +attr_name+, # depending on the attribute type and value. # - # source://activerecord//lib/active_record/attribute_methods/query.rb#59 + # pkg:gem/activerecord#lib/active_record/attribute_methods/query.rb:59 def attribute?(attr_name); end - # source://activerecord//lib/active_record/attribute_methods/query.rb#63 + # pkg:gem/activerecord#lib/active_record/attribute_methods/query.rb:63 def query_cast_attribute(attr_name, value); end end -# source://activerecord//lib/active_record/attribute_methods.rb#23 +# pkg:gem/activerecord#lib/active_record/attribute_methods.rb:23 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 +# pkg:gem/activerecord#lib/active_record/attribute_methods/read.rb:6 module ActiveRecord::AttributeMethods::Read extend ::ActiveSupport::Concern @@ -7503,7 +7518,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#38 + # pkg:gem/activerecord#lib/active_record/attribute_methods/read.rb:38 def _read_attribute(attr_name, &block); end # Returns the value of the attribute identified by +attr_name+ after it @@ -7511,7 +7526,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 + # pkg:gem/activerecord#lib/active_record/attribute_methods/read.rb:29 def read_attribute(attr_name, &block); end private @@ -7519,21 +7534,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#42 + # pkg:gem/activerecord#lib/active_record/attribute_methods/read.rb:42 def attribute(attr_name, &block); end end -# source://activerecord//lib/active_record/attribute_methods/read.rb#9 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/attribute_methods/serialization.rb:6 module ActiveRecord::AttributeMethods::Serialization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7550,7 +7565,7 @@ module ActiveRecord::AttributeMethods::Serialization module GeneratedInstanceMethods; end end -# source://activerecord//lib/active_record/attribute_methods/serialization.rb#23 +# pkg:gem/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, @@ -7721,29 +7736,29 @@ module ActiveRecord::AttributeMethods::Serialization::ClassMethods # serialize :preferences, coder: Rot13JSON # end # - # source://activerecord//lib/active_record/attribute_methods/serialization.rb#193 + # pkg:gem/activerecord#lib/active_record/attribute_methods/serialization.rb:193 def serialize(attr_name, coder: T.unsafe(nil), type: T.unsafe(nil), comparable: T.unsafe(nil), yaml: T.unsafe(nil), **options); end private - # source://activerecord//lib/active_record/attribute_methods/serialization.rb#218 + # pkg:gem/activerecord#lib/active_record/attribute_methods/serialization.rb:218 def build_column_serializer(attr_name, coder, type, yaml = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/serialization.rb#238 + # pkg:gem/activerecord#lib/active_record/attribute_methods/serialization.rb:238 def type_incompatible_with_serialize?(cast_type, coder, type); end end -# source://activerecord//lib/active_record/attribute_methods/serialization.rb#9 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:7 module ActiveRecord::AttributeMethods::TimeZoneConversion extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7773,47 +7788,47 @@ module ActiveRecord::AttributeMethods::TimeZoneConversion end end -# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#73 +# pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:73 module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods private # @return [Boolean] # - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#83 + # pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:83 def create_time_zone_conversion_attribute?(name, cast_type); end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#75 + # pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:75 def hook_attribute_type(name, cast_type); end end -# source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#8 +# pkg:gem/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#39 + # pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:39 def ==(other); end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#17 + # pkg:gem/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 + # pkg:gem/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#44 + # pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:44 def convert_time_to_time_zone(value); end - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#60 + # pkg:gem/activerecord#lib/active_record/attribute_methods/time_zone_conversion.rb:60 def set_time_zone_without_conversion(value); end class << self - # source://activerecord//lib/active_record/attribute_methods/time_zone_conversion.rb#9 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/attribute_methods/write.rb:6 module ActiveRecord::AttributeMethods::Write extend ::ActiveSupport::Concern @@ -7822,13 +7837,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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/attribute_methods/write.rb:31 def write_attribute(attr_name, value); end private @@ -7836,21 +7851,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#45 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/attributes.rb:7 module ActiveRecord::Attributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -7898,9 +7913,9 @@ end # = Active Record \Attributes # -# source://activerecord//lib/active_record/attributes.rb#13 +# pkg:gem/activerecord#lib/active_record/attributes.rb:13 module ActiveRecord::Attributes::ClassMethods - # source://activerecord//lib/active_record/attributes.rb#253 + # pkg:gem/activerecord#lib/active_record/attributes.rb:253 def _default_attributes; end # This API only accepts type objects, and will do its work immediately instead of @@ -7925,30 +7940,30 @@ 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#243 + # pkg:gem/activerecord#lib/active_record/attributes.rb:243 def define_attribute(name, cast_type, default: T.unsafe(nil), user_provided_default: T.unsafe(nil)); end protected - # source://activerecord//lib/active_record/attributes.rb#281 + # pkg:gem/activerecord#lib/active_record/attributes.rb:281 def reload_schema_from_cache(*_arg0); end private - # source://activerecord//lib/active_record/attributes.rb#290 + # pkg:gem/activerecord#lib/active_record/attributes.rb:290 def define_default_attribute(name, value, type, from_user:); end - # source://activerecord//lib/active_record/attributes.rb#306 + # pkg:gem/activerecord#lib/active_record/attributes.rb:306 def reset_default_attributes; end - # source://activerecord//lib/active_record/attributes.rb#310 + # pkg:gem/activerecord#lib/active_record/attributes.rb:310 def resolve_type_name(name, **options); end - # source://activerecord//lib/active_record/attributes.rb#314 + # pkg:gem/activerecord#lib/active_record/attributes.rb:314 def type_for_column(connection, column); end end -# source://activerecord//lib/active_record/attributes.rb#287 +# pkg:gem/activerecord#lib/active_record/attributes.rb:287 ActiveRecord::Attributes::ClassMethods::NO_DEFAULT_PROVIDED = T.let(T.unsafe(nil), Object) # = Active Record Autosave Association @@ -8086,7 +8101,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#140 +# pkg:gem/activerecord#lib/active_record/autosave_association.rb:140 module ActiveRecord::AutosaveAssociation extend ::ActiveSupport::Concern @@ -8094,7 +8109,7 @@ module ActiveRecord::AutosaveAssociation # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#284 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:284 def autosaving_belongs_to_for?(association); end # Returns whether or not this record has been changed in any way (including whether @@ -8102,20 +8117,20 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#275 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:275 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#269 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:269 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#262 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:262 def destroyed_by_association=(reflection); end # Marks this record to be destroyed as part of the parent's save transaction. @@ -8124,7 +8139,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#249 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:249 def mark_for_destruction; end # Returns whether or not this record will be destroyed as part of the parent's save transaction. @@ -8133,47 +8148,47 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#256 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:256 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#238 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:238 def reload(options = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#279 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:279 def validating_belongs_to_for?(association); end private - # source://activerecord//lib/active_record/autosave_association.rb#592 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:592 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#510 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:510 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#402 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:402 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#298 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:298 def associated_records_to_validate_or_save(association, new_record, autosave); end # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#517 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:517 def association_foreign_key_changed?(reflection, record, key); end # Returns whether or not the association is valid and applies any errors to @@ -8182,18 +8197,18 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#371 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:371 def association_valid?(association, record); end - # source://activerecord//lib/active_record/autosave_association.rb#576 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:576 def compute_primary_key(reflection, record); end - # source://activerecord//lib/active_record/autosave_association.rb#290 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:290 def init_internals; end # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#526 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:526 def inverse_polymorphic_association_changed?(reflection, record); end # Go through nested autosave associations that are loaded in memory (without loading @@ -8202,14 +8217,14 @@ module ActiveRecord::AutosaveAssociation # # @return [Boolean] # - # source://activerecord//lib/active_record/autosave_association.rb#311 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:311 def nested_records_changed_for_autosave?; 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#536 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:536 def save_belongs_to_association(reflection); end # Saves any new associated records, or all loaded autosave associations if @@ -8221,7 +8236,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#419 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:419 def save_collection_association(reflection); end # Saves the associated record if it's new or :autosave is enabled @@ -8233,41 +8248,41 @@ 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#473 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:473 def save_has_one_association(reflection); end # Validate the association if :validate or :autosave is # turned on for the belongs_to association. # - # source://activerecord//lib/active_record/autosave_association.rb#343 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:343 def validate_belongs_to_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#360 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:360 def validate_collection_association(reflection); end # Validate the association if :validate or :autosave is # turned on for the has_one association. # - # source://activerecord//lib/active_record/autosave_association.rb#329 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:329 def validate_has_one_association(reflection); end end -# source://activerecord//lib/active_record/autosave_association.rb#143 +# pkg:gem/activerecord#lib/active_record/autosave_association.rb:143 module ActiveRecord::AutosaveAssociation::AssociationBuilderExtension class << self - # source://activerecord//lib/active_record/autosave_association.rb#144 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:144 def build(model, reflection); end - # source://activerecord//lib/active_record/autosave_association.rb#148 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:148 def valid_options; end end end -# source://activerecord//lib/active_record/autosave_association.rb#157 +# pkg:gem/activerecord#lib/active_record/autosave_association.rb:157 module ActiveRecord::AutosaveAssociation::ClassMethods private @@ -8283,13 +8298,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#189 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:189 def add_autosave_association_callbacks(reflection); end - # source://activerecord//lib/active_record/autosave_association.rb#219 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:219 def define_autosave_validation_callbacks(reflection); end - # source://activerecord//lib/active_record/autosave_association.rb#159 + # pkg:gem/activerecord#lib/active_record/autosave_association.rb:159 def define_non_cyclic_method(name, &block); end end @@ -8560,7 +8575,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#281 +# pkg:gem/activerecord#lib/active_record/base.rb:281 class ActiveRecord::Base include ::ActionText::Encryption include ::ActiveModel::Validations @@ -8692,1436 +8707,1436 @@ class ActiveRecord::Base extend ::ActionText::Attribute::ClassMethods extend ::ActiveRecord::SignedId::DeprecateSignedIdVerifierSecret - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _before_commit_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _commit_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _create_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _destroy_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _find_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _initialize_callbacks; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def _reflections; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def _reflections?; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _rollback_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _run_before_commit_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _run_before_commit_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _run_commit_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _run_commit_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_create_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_create_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_destroy_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_destroy_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_find_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_find_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_initialize_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_initialize_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _run_rollback_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _run_rollback_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_save_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_save_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_touch_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_touch_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_update_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _run_update_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _run_validate_callbacks(&block); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _run_validate_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def _run_validation_callbacks(&block); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def _run_validation_callbacks!(&block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _save_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _touch_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _update_callbacks; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validate_callbacks; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def _validation_callbacks; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validators; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validators?; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def aggregate_reflections; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def aggregate_reflections?; end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def attachment_reflections; end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def attachment_reflections?; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_aliases; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_aliases?; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_method_patterns; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_method_patterns?; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatic_scope_inversing; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatic_scope_inversing?; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatically_invert_plural_associations; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatically_invert_plural_associations?; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_timestamp_format; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_timestamp_format?; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_versioning; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_versioning?; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def collection_cache_versioning; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def collection_cache_versioning?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def column_for_attribute(name, &_arg1); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def counter_cached_association_names; end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def counter_cached_association_names?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_connection_handler; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_connection_handler?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_role; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_role?; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def default_scope_override; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def default_scopes; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_shard; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_shard?; end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def defined_enums; end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def defined_enums?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def destroy_association_async_batch_size; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def destroy_association_async_job(&_arg0); end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def encrypted_attributes; end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def encrypted_attributes=(_arg0); end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def encrypted_attributes?; end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def include_root_in_json; end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def include_root_in_json?; end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def lock_optimistically; end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def lock_optimistically?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def logger; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def logger?; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def model_name(&_arg0); end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def nested_attributes_options; end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def nested_attributes_options?; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def normalized_attributes; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def normalized_attributes=(_arg0); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def normalized_attributes?; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def param_delimiter=(_arg0); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_inserts; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_inserts?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_updates; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_updates?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def pluralize_table_names; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def pluralize_table_names?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def primary_key_prefix_type; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def primary_key_prefix_type?; end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def record_timestamps; end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def record_timestamps=(_arg0); end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def record_timestamps?; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def signed_id_verifier_secret; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def signed_id_verifier_secret?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def skip_time_zone_conversion_for_attributes; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def skip_time_zone_conversion_for_attributes?; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_class_name; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_class_name?; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_sti_class; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_sti_class?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_prefix; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_prefix?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_suffix; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_suffix?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_attributes; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_attributes?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_types; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_types?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def type_for_attribute(*_arg0, **_arg1, &_arg2); end class << self - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __callbacks; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#300 + # pkg:gem/activerecord#lib/active_record/base.rb:300 def _attr_readonly; end - # source://activerecord//lib/active_record/base.rb#300 + # pkg:gem/activerecord#lib/active_record/base.rb:300 def _attr_readonly=(value); end - # source://activerecord//lib/active_record/base.rb#300 + # pkg:gem/activerecord#lib/active_record/base.rb:300 def _attr_readonly?; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _before_commit_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _before_commit_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _commit_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _commit_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def _counter_cache_columns; end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def _counter_cache_columns=(value); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def _counter_cache_columns?; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _create_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _create_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def _destroy_association_async_job; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def _destroy_association_async_job=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def _destroy_association_async_job?; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _destroy_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _destroy_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _find_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _find_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _initialize_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _initialize_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def _reflections; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def _reflections=(value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def _reflections?; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _rollback_callbacks; end - # source://activerecord//lib/active_record/base.rb#320 + # pkg:gem/activerecord#lib/active_record/base.rb:320 def _rollback_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _save_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _save_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def _signed_id_verifier; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def _signed_id_verifier=(value); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _touch_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _touch_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _update_callbacks; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def _update_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validate_callbacks; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validate_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def _validation_callbacks; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def _validation_callbacks=(value); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validators; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validators=(value); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def _validators?; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_create(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_destroy(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_find(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_initialize(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_save(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_touch(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def after_update(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def aggregate_reflections; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def aggregate_reflections=(value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def aggregate_reflections?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def application_record_class?; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def around_create(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def around_destroy(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def around_save(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def around_update(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def asynchronous_queries_session; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def asynchronous_queries_tracker; end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def attachment_reflections; end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def attachment_reflections=(value); end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def attachment_reflections?; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_aliases; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_aliases=(value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_aliases?; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_method_patterns; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_method_patterns=(value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def attribute_method_patterns?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def attributes_for_inspect; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def attributes_for_inspect=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def attributes_for_inspect?; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatic_scope_inversing; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatic_scope_inversing=(value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatic_scope_inversing?; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatically_invert_plural_associations; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatically_invert_plural_associations=(value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def automatically_invert_plural_associations?; end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def before_create(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def before_destroy(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def before_save(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#314 + # pkg:gem/activerecord#lib/active_record/base.rb:314 def before_update(*args, **options, &block); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def belongs_to_required_by_default; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def belongs_to_required_by_default=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def belongs_to_required_by_default?; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_timestamp_format; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_timestamp_format=(value); end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_timestamp_format?; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_versioning; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_versioning=(value); end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def cache_versioning?; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def collection_cache_versioning; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def collection_cache_versioning=(value); end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def collection_cache_versioning?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def configurations; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def configurations=(config); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connected_to_stack; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connection_class; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connection_class=(b); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connection_class?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connection_class_for_self; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connection_handler; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def connection_handler=(handler); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def counter_cached_association_names; end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def counter_cached_association_names=(value); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def counter_cached_association_names?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def current_preventing_writes; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def current_role; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def current_shard; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def default_column_serializer; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def default_column_serializer=(value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def default_column_serializer?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_connection_handler; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_connection_handler=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_connection_handler?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_role; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_role=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_role?; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def default_scope_override; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def default_scope_override=(value); end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def default_scopes; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def default_scopes=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_shard; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_shard=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def default_shard?; end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def defined_enums; end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def defined_enums=(value); end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def defined_enums?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def destroy_association_async_batch_size; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def destroy_association_async_batch_size=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def destroy_association_async_job; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def destroy_association_async_job=(value); end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def encrypted_attributes; end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def encrypted_attributes=(value); end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def encrypted_attributes?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def enumerate_columns_in_select_statements; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def enumerate_columns_in_select_statements=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def enumerate_columns_in_select_statements?; end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def generated_token_verifier; end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def generated_token_verifier=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def has_many_inversing; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def has_many_inversing=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def has_many_inversing?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def immutable_strings_by_default; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def immutable_strings_by_default=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def immutable_strings_by_default?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def implicit_order_column; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def implicit_order_column=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def implicit_order_column?; end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def include_root_in_json; end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def include_root_in_json=(value); end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def include_root_in_json?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def inheritance_column; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def inheritance_column=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def inheritance_column?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def internal_metadata_table_name; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def internal_metadata_table_name=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def internal_metadata_table_name?; end - # source://activerecord//lib/active_record/base.rb#325 + # pkg:gem/activerecord#lib/active_record/base.rb:325 def local_stored_attributes; end - # source://activerecord//lib/active_record/base.rb#325 + # pkg:gem/activerecord#lib/active_record/base.rb:325 def local_stored_attributes=(_arg0); end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def lock_optimistically; end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def lock_optimistically=(value); end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def lock_optimistically?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def logger; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def logger=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def logger?; end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def nested_attributes_options; end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def nested_attributes_options=(value); end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def nested_attributes_options?; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def normalized_attributes; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def normalized_attributes=(value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def normalized_attributes?; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def param_delimiter; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def param_delimiter=(value); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def param_delimiter?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_inserts; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_inserts=(value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_inserts?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_updates; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_updates=(value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def partial_updates?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def pluralize_table_names; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def pluralize_table_names=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def pluralize_table_names?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def preventing_writes?(class_name); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def primary_key_prefix_type; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def primary_key_prefix_type=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def primary_key_prefix_type?; end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def record_timestamps; end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def record_timestamps=(value); end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def record_timestamps?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def run_commit_callbacks_on_first_saved_instances_in_transaction; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def run_commit_callbacks_on_first_saved_instances_in_transaction?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def schema_migrations_table_name; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def schema_migrations_table_name=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def schema_migrations_table_name?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def shard_selector; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def shard_selector=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def shard_selector?; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def signed_id_verifier_secret; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def signed_id_verifier_secret=(secret); end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def signed_id_verifier_secret?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def skip_time_zone_conversion_for_attributes; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def skip_time_zone_conversion_for_attributes=(value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def skip_time_zone_conversion_for_attributes?; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_class_name; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_class_name=(value); end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_class_name?; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_sti_class; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_sti_class=(value); end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def store_full_sti_class?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_by_default; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_by_default=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_by_default?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_mode; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_mode=(value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_mode?; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def strict_loading_violation!(owner:, reflection:); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_prefix; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_prefix=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_prefix?; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_suffix; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_suffix=(value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def table_name_suffix?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_attributes; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_attributes=(value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_attributes?; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_types; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_types=(value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def time_zone_aware_types?; end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def token_definitions; end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def token_definitions=(value); end private - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __class_attr___callbacks; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __class_attr___callbacks=(new_value); end - # source://activerecord//lib/active_record/base.rb#300 + # pkg:gem/activerecord#lib/active_record/base.rb:300 def __class_attr__attr_readonly; end - # source://activerecord//lib/active_record/base.rb#300 + # pkg:gem/activerecord#lib/active_record/base.rb:300 def __class_attr__attr_readonly=(new_value); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def __class_attr__counter_cache_columns; end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def __class_attr__counter_cache_columns=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr__destroy_association_async_job; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr__destroy_association_async_job=(new_value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr__reflections; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr__reflections=(new_value); end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def __class_attr__signed_id_verifier; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def __class_attr__signed_id_verifier=(new_value); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __class_attr__validators; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __class_attr__validators=(new_value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr_aggregate_reflections; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr_aggregate_reflections=(new_value); end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def __class_attr_attachment_reflections; end - # source://activerecord//lib/active_record/base.rb#335 + # pkg:gem/activerecord#lib/active_record/base.rb:335 def __class_attr_attachment_reflections=(new_value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def __class_attr_attribute_aliases; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def __class_attr_attribute_aliases=(new_value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def __class_attr_attribute_method_patterns; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def __class_attr_attribute_method_patterns=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_attributes_for_inspect; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_attributes_for_inspect=(new_value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr_automatic_scope_inversing; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr_automatic_scope_inversing=(new_value); end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr_automatically_invert_plural_associations; end - # source://activerecord//lib/active_record/base.rb#323 + # pkg:gem/activerecord#lib/active_record/base.rb:323 def __class_attr_automatically_invert_plural_associations=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_belongs_to_required_by_default; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_belongs_to_required_by_default=(new_value); end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def __class_attr_cache_timestamp_format; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def __class_attr_cache_timestamp_format=(new_value); end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def __class_attr_cache_versioning; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def __class_attr_cache_versioning=(new_value); end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def __class_attr_collection_cache_versioning; end - # source://activerecord//lib/active_record/base.rb#306 + # pkg:gem/activerecord#lib/active_record/base.rb:306 def __class_attr_collection_cache_versioning=(new_value); end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def __class_attr_counter_cached_association_names; end - # source://activerecord//lib/active_record/base.rb#308 + # pkg:gem/activerecord#lib/active_record/base.rb:308 def __class_attr_counter_cached_association_names=(new_value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_default_column_serializer; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_default_column_serializer=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_default_connection_handler; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_default_connection_handler=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_default_role; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_default_role=(new_value); end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def __class_attr_default_scope_override; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def __class_attr_default_scope_override=(new_value); end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def __class_attr_default_scopes; end - # source://activerecord//lib/active_record/base.rb#303 + # pkg:gem/activerecord#lib/active_record/base.rb:303 def __class_attr_default_scopes=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_default_shard; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_default_shard=(new_value); end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def __class_attr_defined_enums; end - # source://activerecord//lib/active_record/base.rb#294 + # pkg:gem/activerecord#lib/active_record/base.rb:294 def __class_attr_defined_enums=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_destroy_association_async_batch_size; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_destroy_association_async_batch_size=(new_value); end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def __class_attr_encrypted_attributes; end - # source://activerecord//lib/active_record/base.rb#312 + # pkg:gem/activerecord#lib/active_record/base.rb:312 def __class_attr_encrypted_attributes=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_enumerate_columns_in_select_statements; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_enumerate_columns_in_select_statements=(new_value); end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def __class_attr_generated_token_verifier; end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def __class_attr_generated_token_verifier=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_has_many_inversing; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_has_many_inversing=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_immutable_strings_by_default; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_immutable_strings_by_default=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_implicit_order_column; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_implicit_order_column=(new_value); end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def __class_attr_include_root_in_json; end - # source://activerecord//lib/active_record/base.rb#324 + # pkg:gem/activerecord#lib/active_record/base.rb:324 def __class_attr_include_root_in_json=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_inheritance_column; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_inheritance_column=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_internal_metadata_table_name; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_internal_metadata_table_name=(new_value); end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def __class_attr_lock_optimistically; end - # source://activerecord//lib/active_record/base.rb#310 + # pkg:gem/activerecord#lib/active_record/base.rb:310 def __class_attr_lock_optimistically=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_logger; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_logger=(new_value); end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def __class_attr_nested_attributes_options; end - # source://activerecord//lib/active_record/base.rb#319 + # pkg:gem/activerecord#lib/active_record/base.rb:319 def __class_attr_nested_attributes_options=(new_value); end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def __class_attr_normalized_attributes; end - # source://activerecord//lib/active_record/base.rb#309 + # pkg:gem/activerecord#lib/active_record/base.rb:309 def __class_attr_normalized_attributes=(new_value); end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __class_attr_param_delimiter; end - # source://activerecord//lib/active_record/base.rb#282 + # pkg:gem/activerecord#lib/active_record/base.rb:282 def __class_attr_param_delimiter=(new_value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_partial_inserts; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_partial_inserts=(new_value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_partial_updates; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_partial_updates=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_pluralize_table_names; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_pluralize_table_names=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_primary_key_prefix_type; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_primary_key_prefix_type=(new_value); end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def __class_attr_record_timestamps; end - # source://activerecord//lib/active_record/base.rb#315 + # pkg:gem/activerecord#lib/active_record/base.rb:315 def __class_attr_record_timestamps=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_run_commit_callbacks_on_first_saved_instances_in_transaction; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_run_commit_callbacks_on_first_saved_instances_in_transaction=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_schema_migrations_table_name; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_schema_migrations_table_name=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_shard_selector; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_shard_selector=(new_value); end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def __class_attr_signed_id_verifier_secret; end - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def __class_attr_signed_id_verifier_secret=(new_value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_skip_time_zone_conversion_for_attributes; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_skip_time_zone_conversion_for_attributes=(new_value); end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def __class_attr_store_full_class_name; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def __class_attr_store_full_class_name=(new_value); end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def __class_attr_store_full_sti_class; end - # source://activerecord//lib/active_record/base.rb#302 + # pkg:gem/activerecord#lib/active_record/base.rb:302 def __class_attr_store_full_sti_class=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_strict_loading_by_default; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_strict_loading_by_default=(new_value); end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_strict_loading_mode; end - # source://activerecord//lib/active_record/base.rb#298 + # pkg:gem/activerecord#lib/active_record/base.rb:298 def __class_attr_strict_loading_mode=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_table_name_prefix; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_table_name_prefix=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_table_name_suffix; end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def __class_attr_table_name_suffix=(new_value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_time_zone_aware_attributes; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_time_zone_aware_attributes=(new_value); end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_time_zone_aware_types; end - # source://activerecord//lib/active_record/base.rb#313 + # pkg:gem/activerecord#lib/active_record/base.rb:313 def __class_attr_time_zone_aware_types=(new_value); end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def __class_attr_token_definitions; end - # source://activerecord//lib/active_record/base.rb#327 + # pkg:gem/activerecord#lib/active_record/base.rb:327 def __class_attr_token_definitions=(new_value); end - # source://activerecord//lib/active_record/base.rb#301 + # pkg:gem/activerecord#lib/active_record/base.rb:301 def _inheritance_column=(value); end end end -# source://activerecord//lib/active_record/base.rb#313 +# pkg:gem/activerecord#lib/active_record/base.rb:313 module ActiveRecord::Base::GeneratedAssociationMethods; end -# source://activerecord//lib/active_record/base.rb#313 +# pkg:gem/activerecord#lib/active_record/base.rb:313 module ActiveRecord::Base::GeneratedAttributeMethods; end # = Active Record \Batches # -# source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#4 +# pkg:gem/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) @@ -10198,7 +10213,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#85 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:85 def find_each(start: T.unsafe(nil), finish: T.unsafe(nil), batch_size: T.unsafe(nil), error_on_ignore: T.unsafe(nil), cursor: T.unsafe(nil), order: T.unsafe(nil), &block); end # Yields each batch of records that was found by the find options as @@ -10264,7 +10279,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#161 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:161 def find_in_batches(start: T.unsafe(nil), finish: T.unsafe(nil), batch_size: T.unsafe(nil), error_on_ignore: T.unsafe(nil), cursor: T.unsafe(nil), order: T.unsafe(nil)); end # Yields ActiveRecord::Relation objects to work with a batch of records. @@ -10351,60 +10366,60 @@ 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#259 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:259 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), cursor: T.unsafe(nil), order: T.unsafe(nil), use_ranges: T.unsafe(nil), &block); end private - # source://activerecord//lib/active_record/relation/batches.rb#369 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:369 def act_on_ignored_order(error_on_ignore); end - # source://activerecord//lib/active_record/relation/batches.rb#341 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:341 def apply_finish_limit(relation, cursor, finish, batch_orders); end - # source://activerecord//lib/active_record/relation/batches.rb#328 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:328 def apply_limits(relation, cursor, start, finish, batch_orders); end - # source://activerecord//lib/active_record/relation/batches.rb#334 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:334 def apply_start_limit(relation, cursor, start, batch_orders); end - # source://activerecord//lib/active_record/relation/batches.rb#348 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:348 def batch_condition(relation, cursor, values, operators); end - # source://activerecord//lib/active_record/relation/batches.rb#379 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:379 def batch_on_loaded_relation(relation:, start:, finish:, cursor:, order:, batch_limit:); end - # source://activerecord//lib/active_record/relation/batches.rb#426 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:426 def batch_on_unloaded_relation(relation:, start:, finish:, load:, cursor:, order:, use_ranges:, remaining:, batch_limit:); end - # source://activerecord//lib/active_record/relation/batches.rb#363 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:363 def build_batch_orders(cursor, order); end # This is a custom implementation of `<=>` operator, # which also takes into account how the collection will be ordered. # - # source://activerecord//lib/active_record/relation/batches.rb#414 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:414 def compare_values_for_order(values1, values2, order); end - # source://activerecord//lib/active_record/relation/batches.rb#305 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:305 def ensure_valid_options_for_batching!(cursor, start, finish, order); end - # source://activerecord//lib/active_record/relation/batches.rb#408 + # pkg:gem/activerecord#lib/active_record/relation/batches.rb:408 def record_cursor_values(record, cursor); end end -# source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:8 def initialize(relation:, cursor:, 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#28 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:28 def batch_size; end # Deletes records in batches. Returns the total number of rows affected. @@ -10413,7 +10428,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#66 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:66 def delete_all; end # Destroys records in batches. Returns the total number of rows affected. @@ -10422,7 +10437,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#97 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:97 def destroy_all; end # Yields an ActiveRecord::Relation object for each batch of records. @@ -10431,7 +10446,7 @@ class ActiveRecord::Batches::BatchEnumerator # relation.update_all(awesome: true) # end # - # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#108 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:108 def each(&block); end # Looping through a collection of records from the database (using the @@ -10456,22 +10471,22 @@ class ActiveRecord::Batches::BatchEnumerator # person.award_trophy(index + 1) # end # - # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#53 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:53 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#22 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:22 def finish; end # The relation from which the BatchEnumerator yields batches. # - # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#25 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:25 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#19 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:19 def start; end # Touches records in batches. Returns the total number of rows affected. @@ -10480,7 +10495,7 @@ class ActiveRecord::Batches::BatchEnumerator # # See Relation#touch_all for details of how each batch is touched. # - # source://activerecord//lib/active_record/relation/batches/batch_enumerator.rb#86 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:86 def touch_all(*_arg0, **_arg1, &_arg2); end # Updates records in batches. Returns the total number of rows affected. @@ -10489,66 +10504,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#75 + # pkg:gem/activerecord#lib/active_record/relation/batches/batch_enumerator.rb:75 def update_all(updates); end end -# source://activerecord//lib/active_record/relation/batches.rb#9 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#413 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:413 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 + # pkg:gem/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 + # pkg:gem/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#367 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:367 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#338 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:338 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#181 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:181 def async_sum(identity_or_column = T.unsafe(nil)); end # Calculates the average value on a given column. Returns +nil+ if there's @@ -10556,7 +10571,7 @@ module ActiveRecord::Calculations # # Person.average(:age) # => 35.8 # - # source://activerecord//lib/active_record/relation/calculations.rb#116 + # pkg:gem/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, @@ -10591,7 +10606,7 @@ module ActiveRecord::Calculations # ... # end # - # source://activerecord//lib/active_record/relation/calculations.rb#216 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:216 def calculate(operation, column_name); end # Count the records. @@ -10640,7 +10655,7 @@ module ActiveRecord::Calculations # load all records in the relation. 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 + # pkg:gem/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 @@ -10648,7 +10663,7 @@ module ActiveRecord::Calculations # Person.ids # SELECT people.id FROM people # Person.joins(:company).ids # SELECT people.id FROM people INNER JOIN companies ON companies.id = people.company_id # - # source://activerecord//lib/active_record/relation/calculations.rb#375 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:375 def ids; end # Calculates the maximum value on a given column. The value is returned @@ -10657,7 +10672,7 @@ module ActiveRecord::Calculations # # Person.maximum(:age) # => 93 # - # source://activerecord//lib/active_record/relation/calculations.rb#146 + # pkg:gem/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 @@ -10666,7 +10681,7 @@ module ActiveRecord::Calculations # # Person.minimum(:age) # => 7 # - # source://activerecord//lib/active_record/relation/calculations.rb#131 + # pkg:gem/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. @@ -10684,7 +10699,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#356 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:356 def pick(*column_names); end # Use #pluck as a shortcut to select one or more attributes without @@ -10735,7 +10750,7 @@ module ActiveRecord::Calculations # # See also #ids. # - # source://activerecord//lib/active_record/relation/calculations.rb#295 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:295 def pluck(*column_names); end # Calculates the sum of values on a given column. The value is returned @@ -10754,80 +10769,80 @@ module ActiveRecord::Calculations # load all records in the relation. 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#171 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:171 def sum(initial_value_or_column = T.unsafe(nil), &block); end protected - # source://activerecord//lib/active_record/relation/calculations.rb#418 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:418 def aggregate_column(column_name); end private # @return [Boolean] # - # source://activerecord//lib/active_record/relation/calculations.rb#430 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:430 def all_attributes?(column_names); end - # source://activerecord//lib/active_record/relation/calculations.rb#675 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:675 def build_count_subquery(relation, column_name, distinct); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/calculations.rb#668 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:668 def build_count_subquery?(operation, column_name, distinct); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/calculations.rb#465 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:465 def distinct_select?(column_name); end - # source://activerecord//lib/active_record/relation/calculations.rb#528 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:528 def execute_grouped_calculation(operation, column_name, distinct); end - # source://activerecord//lib/active_record/relation/calculations.rb#483 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:483 def execute_simple_calculation(operation, column_name, distinct); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/calculations.rb#434 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:434 def has_include?(column_name); end - # source://activerecord//lib/active_record/relation/calculations.rb#615 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:615 def lookup_cast_type_from_join_dependencies(name, join_dependencies = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/calculations.rb#479 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:479 def operation_over_aggregate_column(column, operation, distinct); end - # source://activerecord//lib/active_record/relation/calculations.rb#438 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:438 def perform_calculation(operation, column_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/calculations.rb#469 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:469 def possible_aggregation?(column_names); end - # source://activerecord//lib/active_record/relation/calculations.rb#658 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:658 def select_for_count; end - # source://activerecord//lib/active_record/relation/calculations.rb#640 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:640 def type_cast_calculated_value(value, operation, type); end - # source://activerecord//lib/active_record/relation/calculations.rb#623 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:623 def type_cast_pluck_values(result, columns); end - # source://activerecord//lib/active_record/relation/calculations.rb#610 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:610 def type_for(field, &block); end end -# source://activerecord//lib/active_record/relation/calculations.rb#8 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:9 def initialize(connection); end - # source://activerecord//lib/active_record/relation/calculations.rb#14 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:14 def alias_for(field); end private @@ -10840,10 +10855,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 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:35 def column_alias_for(field); end - # source://activerecord//lib/active_record/relation/calculations.rb#44 + # pkg:gem/activerecord#lib/active_record/relation/calculations.rb:44 def truncate(name); end end @@ -11121,7 +11136,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 +# pkg:gem/activerecord#lib/active_record/callbacks.rb:278 module ActiveRecord::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -11134,24 +11149,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 + # pkg:gem/activerecord#lib/active_record/callbacks.rb:419 def destroy; end - # source://activerecord//lib/active_record/callbacks.rb#435 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/callbacks.rb:431 def touch(*_arg0, **_arg1); end private - # source://activerecord//lib/active_record/callbacks.rb#444 + # pkg:gem/activerecord#lib/active_record/callbacks.rb:444 def _create_record; end - # source://activerecord//lib/active_record/callbacks.rb#448 + # pkg:gem/activerecord#lib/active_record/callbacks.rb:448 def _update_record; end - # source://activerecord//lib/active_record/callbacks.rb#440 + # pkg:gem/activerecord#lib/active_record/callbacks.rb:440 def create_or_update(**_arg0); end module GeneratedClassMethods @@ -11164,134 +11179,134 @@ module ActiveRecord::Callbacks end end -# source://activerecord//lib/active_record/callbacks.rb#281 +# pkg:gem/activerecord#lib/active_record/callbacks.rb:281 ActiveRecord::Callbacks::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/callbacks.rb#288 +# pkg:gem/activerecord#lib/active_record/callbacks.rb:288 module ActiveRecord::Callbacks::ClassMethods include ::ActiveModel::Callbacks end # Raised when a record cannot be inserted or updated because it would violate a check constraint. # -# source://activerecord//lib/active_record/errors.rb#296 +# pkg:gem/activerecord#lib/active_record/errors.rb:296 class ActiveRecord::CheckViolation < ::ActiveRecord::StatementInvalid; end -# source://activerecord//lib/active_record.rb#126 +# pkg:gem/activerecord#lib/active_record.rb:126 module ActiveRecord::Coders; end -# source://activerecord//lib/active_record/coders/column_serializer.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/coders/column_serializer.rb:7 def coder; end - # source://activerecord//lib/active_record/coders/column_serializer.rb#22 + # pkg:gem/activerecord#lib/active_record/coders/column_serializer.rb:22 def dump(object); end - # source://activerecord//lib/active_record/coders/column_serializer.rb#16 + # pkg:gem/activerecord#lib/active_record/coders/column_serializer.rb:16 def init_with(coder); end - # source://activerecord//lib/active_record/coders/column_serializer.rb#29 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/coders/column_serializer.rb:6 def object_class; end private - # source://activerecord//lib/active_record/coders/column_serializer.rb#54 + # pkg:gem/activerecord#lib/active_record/coders/column_serializer.rb:54 def check_arity_of_constructor; end end -# source://activerecord//lib/active_record/coders/json.rb#7 +# pkg:gem/activerecord#lib/active_record/coders/json.rb:7 class ActiveRecord::Coders::JSON # @return [JSON] a new instance of JSON # - # source://activerecord//lib/active_record/coders/json.rb#10 + # pkg:gem/activerecord#lib/active_record/coders/json.rb:10 def initialize(options = T.unsafe(nil)); end - # source://activerecord//lib/active_record/coders/json.rb#15 + # pkg:gem/activerecord#lib/active_record/coders/json.rb:15 def dump(obj); end - # source://activerecord//lib/active_record/coders/json.rb#19 + # pkg:gem/activerecord#lib/active_record/coders/json.rb:19 def load(json); end end -# source://activerecord//lib/active_record/coders/json.rb#8 +# pkg:gem/activerecord#lib/active_record/coders/json.rb:8 ActiveRecord::Coders::JSON::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://activerecord//lib/active_record/coders/yaml_column.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/coders/yaml_column.rb:77 def coder; end - # source://activerecord//lib/active_record/coders/yaml_column.rb#68 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/coders/yaml_column.rb:15 def dump(object); end - # source://activerecord//lib/active_record/coders/yaml_column.rb#33 + # pkg:gem/activerecord#lib/active_record/coders/yaml_column.rb:33 def load(payload); end end -# source://activerecord//lib/active_record/associations/errors.rb#187 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:187 class ActiveRecord::CompositePrimaryKeyMismatchError < ::ActiveRecord::ActiveRecordError # @return [CompositePrimaryKeyMismatchError] a new instance of CompositePrimaryKeyMismatchError # - # source://activerecord//lib/active_record/associations/errors.rb#190 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:190 def initialize(reflection = T.unsafe(nil)); end # Returns the value of attribute reflection. # - # source://activerecord//lib/active_record/associations/errors.rb#188 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:188 def reflection; end end -# source://activerecord//lib/active_record/migration.rb#186 +# pkg:gem/activerecord#lib/active_record/migration.rb:186 class ActiveRecord::ConcurrentMigrationError < ::ActiveRecord::MigrationError # @return [ConcurrentMigrationError] a new instance of ConcurrentMigrationError # - # source://activerecord//lib/active_record/migration.rb#190 + # pkg:gem/activerecord#lib/active_record/migration.rb:190 def initialize(message = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/migration.rb#187 +# pkg:gem/activerecord#lib/active_record/migration.rb:187 ActiveRecord::ConcurrentMigrationError::DEFAULT_MESSAGE = T.let(T.unsafe(nil), String) -# source://activerecord//lib/active_record/migration.rb#188 +# pkg:gem/activerecord#lib/active_record/migration.rb:188 ActiveRecord::ConcurrentMigrationError::RELEASE_LOCK_FAILED_MESSAGE = T.let(T.unsafe(nil), String) # Raised when association is being configured improperly or user tries to use @@ -11300,10 +11315,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#397 +# pkg:gem/activerecord#lib/active_record/errors.rb:397 class ActiveRecord::ConfigurationError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/connection_adapters.rb#6 +# pkg:gem/activerecord#lib/active_record/connection_adapters.rb:6 module ActiveRecord::ConnectionAdapters extend ::ActiveSupport::Autoload @@ -11318,10 +11333,10 @@ module ActiveRecord::ConnectionAdapters # # ActiveRecord::ConnectionAdapters.register("mysql", "ActiveRecord::ConnectionAdapters::TrilogyAdapter", "active_record/connection_adapters/trilogy_adapter") # - # source://activerecord//lib/active_record/connection_adapters.rb#22 + # pkg:gem/activerecord#lib/active_record/connection_adapters.rb:22 def register(name, class_name, path = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters.rb#26 + # pkg:gem/activerecord#lib/active_record/connection_adapters.rb:26 def resolve(adapter_name); end end end @@ -11342,7 +11357,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 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:31 class ActiveRecord::ConnectionAdapters::AbstractAdapter include ::ActiveSupport::Callbacks include ::ActiveRecord::Migration::JoinTable @@ -11358,28 +11373,28 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # @return [AbstractAdapter] a new instance of AbstractAdapter # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#132 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:132 def initialize(config_or_deprecated_connection, deprecated_logger = T.unsafe(nil), deprecated_connection_options = T.unsafe(nil), deprecated_config = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:33 def __callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _checkin_callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _checkout_callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _run_checkin_callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _run_checkin_callbacks!(&block); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _run_checkout_callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/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 @@ -11388,34 +11403,34 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#705 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:705 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#398 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:398 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#637 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:637 def add_enum_value(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#652 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:652 def advisory_locks_enabled?; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#46 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:46 def allow_preconnect; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#56 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:56 def allow_preconnect=(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#611 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:611 def async_enabled?; end # Called by ActiveRecord::InsertAll, @@ -11424,39 +11439,39 @@ 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#905 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:905 def build_insert_sql(insert); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#876 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:876 def case_insensitive_comparison(attribute, value); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#872 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:872 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#690 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:690 def check_all_foreign_keys_valid!; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#920 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:920 def check_version; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#838 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:838 def clean!; end # Clear any caching the database adapter may be doing. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#792 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:792 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#892 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:892 def close; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#833 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:833 def connect!; end # Checks whether the connection to the database was established. This doesn't @@ -11465,65 +11480,65 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#698 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:698 def connected?; end # Seconds since this connection was established. nil if not # connected; infinity if the connection has been explicitly # retired. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#377 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:377 def connection_age; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#304 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:304 def connection_descriptor; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#221 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:221 def connection_retries; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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#625 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:625 def create_enum(*_arg0, **_arg1, &_arg2); end # This is meant to be implemented by the adapters that support virtual tables # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#645 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:645 def create_virtual_table(*_arg0); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#407 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:407 def database_exists?; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#916 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:916 def database_version; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#896 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:896 def default_index_type?(index); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#237 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:237 def default_timezone; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#868 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:868 def default_uniqueness_comparison(attribute, value); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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#617 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:617 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#683 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:683 def disable_referential_integrity; end # Immediately forget this connection ever existed. Unlike disconnect!, @@ -11533,56 +11548,56 @@ 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#767 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:767 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#752 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:752 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#629 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:629 def drop_enum(*_arg0, **_arg1, &_arg2); end # This is meant to be implemented by the adapters that support virtual tables # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#649 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:649 def drop_virtual_table(*_arg0); end # This is meant to be implemented by the adapters that support extensions # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#621 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:621 def enable_extension(name, **_arg1); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#206 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:206 def ensure_writes_are_allowed(sql); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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_adapter.rb#38 + # pkg:gem/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_adapter.rb#38 + # pkg:gem/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#329 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:329 def expire(update_idle = T.unsafe(nil)); end # A list of extensions, to be filled in by adapters that support them. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#671 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:671 def extensions; end # Mark the connection as needing to be retired, as if the age has # exceeded the maximum allowed. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#385 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:385 def force_retirement; end # This is meant to be implemented by the adapters that support advisory @@ -11590,72 +11605,72 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # Return true if we got the lock, otherwise false # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#660 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:660 def get_advisory_lock(lock_id); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#913 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:913 def get_database_version; end # Returns the value of attribute owner. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#48 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:48 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#676 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:676 def index_algorithms; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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#187 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:187 def inspect; end # this method must only be called while holding connection pool's mutex # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#289 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:289 def lease; end # Returns the value of attribute lock. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:45 def lock; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#194 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:194 def lock_thread=(lock_thread); end # Returns the value of attribute logger. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:45 def logger; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#213 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:213 def max_jitter; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#284 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:284 def native_database_types; end # Returns the value of attribute owner. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:45 def owner; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#47 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:47 def pinned; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#47 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:47 def pinned=(_arg0); end # Returns the value of attribute pool. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#44 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:44 def pool; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#50 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:50 def pool=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#324 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:324 def pool_jitter(duration); end # Should primary key values be selected from their corresponding @@ -11664,20 +11679,20 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#447 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:447 def prefetch_primary_key?(table_name = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#255 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:255 def prepared_statements; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:252 def prepared_statements?; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#257 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:257 def prepared_statements_disabled_cache; end # Determines whether writes are currently being prevented. @@ -11687,7 +11702,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#245 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:245 def preventing_writes?; end # Provides access to the underlying database driver for this adapter. For @@ -11701,14 +11716,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#860 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:860 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#711 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:711 def reconnect!(restore_transactions: T.unsafe(nil)); end # This is meant to be implemented by the adapters that support advisory @@ -11716,29 +11731,29 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # Return true if we released the lock, otherwise false # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#667 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:667 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#633 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:633 def rename_enum(*_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#641 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:641 def rename_enum_value(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#217 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:217 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#805 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:805 def requires_reloading?; end # Reset the state of this connection, directing the DBMS to clear @@ -11750,30 +11765,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#779 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:779 def reset!; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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#229 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:229 def retry_deadline; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#607 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:607 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#310 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:310 def role; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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_adapter.rb#38 + # pkg:gem/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 @@ -11781,10 +11796,10 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#431 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:431 def savepoint_errors_invalidate_transactions?; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#320 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:320 def schema_cache; end # Returns the version identifier of the schema currently available in @@ -11792,78 +11807,78 @@ 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#927 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:927 def schema_version; end # Seconds since this connection was returned to the pool # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#362 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:362 def seconds_idle; end # Seconds since this connection last communicated with the server # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#368 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:368 def seconds_since_last_activity; 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#316 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:316 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#349 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:349 def steal!; end # Does this adapter support application-enforced advisory locking? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#440 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:440 def supports_advisory_locks?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#420 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:420 def supports_bulk_alter?; end # Does this adapter support creating check constraints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#512 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:512 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#547 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:547 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#552 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:552 def supports_comments_in_create?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#571 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:571 def supports_common_table_expressions?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#595 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:595 def supports_concurrent_connections?; end # Does this adapter support datetime with precision? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#537 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:537 def supports_datetime_with_precision?; end # Does this adapter support DDL rollbacks in transactions? That is, would @@ -11871,75 +11886,75 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#416 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:416 def supports_ddl_transactions?; end # Does this adapter support creating deferrable constraints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#507 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:507 def supports_deferrable_constraints?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#603 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:603 def supports_disabling_indexes?; end # Does this adapter support creating exclusion constraints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#517 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:517 def supports_exclusion_constraints?; end # Does this adapter support explain? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#476 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:476 def supports_explain?; end # Does this adapter support expression indices? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#471 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:471 def supports_expression_index?; end # Does this adapter support database extensions? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#486 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:486 def supports_extensions?; end # Does this adapter support creating foreign key constraints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#497 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:497 def supports_foreign_keys?; end # Does this adapter support foreign/external tables? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#562 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:562 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#466 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:466 def supports_index_include?; end # Does this adapter support index sort order? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#456 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:456 def supports_index_sort_order?; end # Does this adapter support creating indexes in the same statement as @@ -11947,159 +11962,159 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#492 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:492 def supports_indexes_in_create?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#591 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:591 def supports_insert_conflict_target?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#583 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:583 def supports_insert_on_duplicate_skip?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#587 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:587 def supports_insert_on_duplicate_update?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#579 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:579 def supports_insert_returning?; end # Does this adapter support JSON data type? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#542 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:542 def supports_json?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#575 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:575 def supports_lazy_transactions?; end # Does this adapter support materialized views? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#532 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:532 def supports_materialized_views?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#599 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:599 def supports_nulls_not_distinct?; end # Does this adapter support optimizer hints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#567 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:567 def supports_optimizer_hints?; end # Does this adapter support partial indices? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#461 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:461 def supports_partial_index?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#451 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:451 def supports_partitioned_indexes?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#435 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:435 def supports_restart_db_transaction?; end # Does this adapter support savepoints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#425 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:425 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#481 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:481 def supports_transaction_isolation?; end # Does this adapter support creating unique constraints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#522 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:522 def supports_unique_constraints?; end # Does this adapter support creating invalid constraints? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#502 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:502 def supports_validate_constraints?; end # Does this adapter support views? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#527 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:527 def supports_views?; end # Does this adapter support virtual columns? # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#557 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:557 def supports_virtual_columns?; end # Removes the connection from the pool and disconnect it. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#786 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:786 def throw_away!; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:38 def truncate(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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#389 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:389 def unprepared_statement; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#38 + # pkg:gem/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#280 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:280 def valid_type?(type); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#846 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:846 def verified?; 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#812 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:812 def verify!; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#225 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:225 def verify_timeout; end # Returns the value of attribute visitor. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:45 def visitor; end private @@ -12108,16 +12123,16 @@ 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#1155 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1155 def any_raw_connection; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1258 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1258 def arel_visitor; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1284 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1284 def attempt_configure_connection; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1144 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1144 def backoff(counter); end # Builds the result object. @@ -12125,24 +12140,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#1269 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1269 def build_result(columns:, rows:, column_types: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1262 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1262 def build_statement_pool; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#886 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:886 def can_perform_case_insensitive_comparison_for?(column); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1244 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1244 def collector; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1233 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1233 def column_for(table_name, column_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1239 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1239 def column_for_attribute(attribute); end # Perform any necessary initialization upon the newly-established @@ -12152,51 +12167,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#1280 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1280 def configure_connection; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1291 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1291 def default_prepared_statements; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1172 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1172 def extended_type_map_key; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1219 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1219 def instrumenter; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1130 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1130 def invalidate_transaction(exception); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1200 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1200 def log(sql, name = T.unsafe(nil), binds = T.unsafe(nil), type_casted_binds = T.unsafe(nil), async: T.unsafe(nil), allow_retry: T.unsafe(nil), &block); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1148 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1148 def reconnect; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1012 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1012 def reconnect_can_restore_state?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1125 def retryable_connection_error?(exception); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1137 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1137 def retryable_query_error?(exception); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1223 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1223 def translate_exception(exception, message:, sql:, binds:); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1188 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1188 def translate_exception_class(native_error, sql, binds); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1178 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1178 def type_map; end # Similar to any_raw_connection, but ensures it is validated and @@ -12205,19 +12220,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#1164 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1164 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#1120 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1120 def verified!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1295 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1295 def warning_ignored?(warning); end # Lock the monitor, ensure we're properly connected and @@ -12253,142 +12268,142 @@ 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#1049 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1049 def with_raw_connection(allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:33 def __callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:33 def __callbacks=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _checkin_callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _checkin_callbacks=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:34 def _checkout_callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#34 + # pkg:gem/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#93 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:93 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#403 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:403 def database_exists?(config); end # Opens a database console session. # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#128 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:128 def dbconsole(config, options = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#939 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:939 def extended_type_map(default_timezone:); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#99 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:99 def find_cmd_and_exec(commands, *args); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#932 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:932 def register_class_with_precision(mapping, key, klass, **kwargs); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#72 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:72 def type_cast_config_to_boolean(config); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#62 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:62 def type_cast_config_to_integer(config); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#947 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:947 def valid_type?(type); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#80 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:80 def validate_default_timezone(config); end private - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:33 def __class_attr___callbacks; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:33 def __class_attr___callbacks=(new_value); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1003 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1003 def extract_limit(sql_type); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#999 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:999 def extract_precision(sql_type); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#992 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:992 def extract_scale(sql_type); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#952 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:952 def initialize_type_map(m); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#985 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:985 def register_class_with_limit(mapping, key, klass); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#32 +# pkg:gem/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 +# pkg:gem/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#90 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:90 ActiveRecord::ConnectionAdapters::AbstractAdapter::DEFAULT_READ_QUERY = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#1009 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1009 ActiveRecord::ConnectionAdapters::AbstractAdapter::EXTENDED_TYPE_MAPS = T.let(T.unsafe(nil), Concurrent::Map) -# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#212 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:212 ActiveRecord::ConnectionAdapters::AbstractAdapter::MAX_JITTER = T.let(T.unsafe(nil), Range) -# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#41 +# pkg:gem/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#1008 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:1008 ActiveRecord::ConnectionAdapters::AbstractAdapter::TYPE_MAP = T.let(T.unsafe(nil), ActiveRecord::Type::TypeMap) -# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#261 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:261 class ActiveRecord::ConnectionAdapters::AbstractAdapter::Version include ::Comparable # @return [Version] a new instance of Version # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#266 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:266 def initialize(version_string, full_version_string = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#271 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:271 def <=>(version_string); end # Returns the value of attribute full_version_string. # - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#264 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:264 def full_version_string; end - # source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#275 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract_adapter.rb:275 def to_s; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#117 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 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#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def column; end # Sets the attribute column @@ -12396,172 +12411,172 @@ class ActiveRecord::ConnectionAdapters::AddColumnDefinition < ::Struct # @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#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def column=(_); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:117 def new(*_arg0); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#616 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:616 class ActiveRecord::ConnectionAdapters::AlterTable # @return [AlterTable] a new instance of AlterTable # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#622 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:622 def initialize(td); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#642 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:642 def add_check_constraint(expression, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#654 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:654 def add_column(name, type, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#634 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:634 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#617 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:617 def adds; end # Returns the value of attribute check_constraint_adds. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#619 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:619 def check_constraint_adds; end # Returns the value of attribute check_constraint_drops. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#619 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:619 def check_constraint_drops; end # Returns the value of attribute constraint_drops. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#620 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:620 def constraint_drops; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#646 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:646 def drop_check_constraint(constraint_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#650 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:650 def drop_constraint(constraint_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#638 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:638 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#618 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:618 def foreign_key_adds; end # Returns the value of attribute foreign_key_drops. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#618 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:618 def foreign_key_drops; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#632 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:632 def name; end end -# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#143 +# pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:143 class ActiveRecord::ConnectionAdapters::BoundSchemaReflection # @return [BoundSchemaReflection] a new instance of BoundSchemaReflection # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#160 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:160 def initialize(abstract_schema_reflection, pool); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#185 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:185 def add(name); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#173 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:173 def cached?(table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#165 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:165 def clear!; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#217 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:217 def clear_data_source_cache!(name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#193 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:193 def columns(table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#197 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:197 def columns_hash(table_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#201 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:201 def columns_hash?(table_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#181 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:181 def data_source_exists?(name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#189 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:189 def data_sources(name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#221 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:221 def dump_to(filename); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#205 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:205 def indexes(table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#169 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:169 def load!; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#177 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:177 def primary_keys(table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#213 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:213 def size; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#209 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:209 def version; end class << self - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#155 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:155 def for_lone_connection(abstract_schema_reflection, connection); end end end # :nodoc # -# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#144 +# pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:144 class ActiveRecord::ConnectionAdapters::BoundSchemaReflection::FakePool # @return [FakePool] a new instance of FakePool # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#145 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:145 def initialize(connection); end # @yield [@connection] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#149 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:149 def with_connection; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#121 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 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#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def column; end # Sets the attribute column @@ -12569,14 +12584,14 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefaultDefinition < ::Struct # @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#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 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#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def default; end # Sets the attribute default @@ -12584,34 +12599,34 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefaultDefinition < ::Struct # @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#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def default=(_); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:121 def new(*_arg0); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#119 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 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#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def column; end # Sets the attribute column @@ -12619,14 +12634,14 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < ::Struct # @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#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 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#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def name; end # Sets the attribute name @@ -12634,44 +12649,44 @@ class ActiveRecord::ConnectionAdapters::ChangeColumnDefinition < ::Struct # @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#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def name=(_); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:119 def new(*_arg0); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#193 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:193 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#189 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:189 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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def expression; end # Sets the attribute expression @@ -12679,17 +12694,17 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # @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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def expression=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#180 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:180 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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def options; end # Sets the attribute options @@ -12697,14 +12712,14 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # @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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def table_name; end # Sets the attribute table_name @@ -12712,40 +12727,40 @@ class ActiveRecord::ConnectionAdapters::CheckConstraintDefinition < ::Struct # @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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def table_name=(_); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#184 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:184 def validate?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#187 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:187 def validated?; end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:179 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 +# pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:7 class ActiveRecord::ConnectionAdapters::Column include ::ActiveRecord::ConnectionAdapters::Deduplicable extend ::ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods @@ -12759,64 +12774,64 @@ class ActiveRecord::ConnectionAdapters::Column # # @return [Column] a new instance of Column # - # source://activerecord//lib/active_record/connection_adapters/column.rb#20 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:20 def initialize(name, cast_type, default, sql_type_metadata = T.unsafe(nil), null = T.unsafe(nil), default_function = T.unsafe(nil), collation: T.unsafe(nil), comment: T.unsafe(nil), **_arg8); end - # source://activerecord//lib/active_record/connection_adapters/column.rb#83 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:83 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#75 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:75 def auto_incremented_by_db?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/column.rb#79 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:79 def auto_populated?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/column.rb#40 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:40 def bigint?; end # Returns the value of attribute collation. # - # source://activerecord//lib/active_record/connection_adapters/column.rb#10 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:10 def default_function; end - # source://activerecord//lib/active_record/connection_adapters/column.rb#63 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:63 def encode_with(coder); end - # source://activerecord//lib/active_record/connection_adapters/column.rb#94 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:94 def eql?(other); end - # source://activerecord//lib/active_record/connection_adapters/column.rb#31 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:31 def fetch_cast_type(connection); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/column.rb#36 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:36 def has_default?; end - # source://activerecord//lib/active_record/connection_adapters/column.rb#96 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:96 def hash; end # Returns the human name of the column name. @@ -12824,57 +12839,57 @@ class ActiveRecord::ConnectionAdapters::Column # ===== Examples # Column.new('sales_stage', ...).human_name # => 'Sales stage' # - # source://activerecord//lib/active_record/connection_adapters/column.rb#48 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:48 def human_name; end - # source://activerecord//lib/active_record/connection_adapters/column.rb#52 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:52 def init_with(coder); end - # source://activerecord//lib/active_record/connection_adapters/column.rb#12 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:10 def null; end - # source://activerecord//lib/active_record/connection_adapters/column.rb#12 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:10 def sql_type_metadata; end - # source://activerecord//lib/active_record/connection_adapters/column.rb#12 + # pkg:gem/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#109 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:109 def virtual?; end protected # Returns the value of attribute cast_type. # - # source://activerecord//lib/active_record/connection_adapters/column.rb#114 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:114 def cast_type; end private - # source://activerecord//lib/active_record/connection_adapters/column.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:117 def deduplicated; end end @@ -12883,16 +12898,16 @@ 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#78 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#108 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:108 def aliased_types(name, fallback); end # Returns the value of attribute cast_type # # @return [Object] the current value of cast_type # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def cast_type; end # Sets the attribute cast_type @@ -12900,53 +12915,53 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # @param value [Object] the value to set the attribute cast_type to. # @return [Object] the newly set value # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def cast_type=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def collation; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def collation=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def comment; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def comment=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def default; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def default=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#112 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:112 def fetch_cast_type(connection); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def if_exists; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def if_exists=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def if_not_exists; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def if_not_exists=(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def limit; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def name; end # Sets the attribute name @@ -12954,20 +12969,20 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # @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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def name=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def null; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def options; end # Sets the attribute options @@ -12975,31 +12990,31 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # @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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def options=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def precision; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def precision=(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#92 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:92 def primary_key?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 def scale; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#97 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:97 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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def sql_type; end # Sets the attribute sql_type @@ -13007,14 +13022,14 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # @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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def type; end # Sets the attribute type @@ -13022,97 +13037,97 @@ class ActiveRecord::ConnectionAdapters::ColumnDefinition < ::Struct # @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#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def type=(_); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#78 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:78 def new(*_arg0); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#79 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:79 ActiveRecord::ConnectionAdapters::ColumnDefinition::OPTION_NAMES = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#307 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:307 module ActiveRecord::ConnectionAdapters::ColumnMethods extend ::ActiveSupport::Concern extend ::ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods mixes_in_class_methods ::ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def bigint(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def binary(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#334 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:334 def blob(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def boolean(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def date(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def datetime(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def decimal(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def float(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def integer(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def json(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#335 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:335 def numeric(*names, **options); end # 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#327 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:327 def primary_key(name, type = T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def string(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def text(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def time(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def timestamp(*names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#314 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:314 def virtual(*names, **options); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#310 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:310 module ActiveRecord::ConnectionAdapters::ColumnMethods::ClassMethods private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#312 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:312 def define_column_methods(*column_types); end end @@ -13166,11 +13181,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#56 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:56 class ActiveRecord::ConnectionAdapters::ConnectionHandler # @return [ConnectionHandler] a new instance of ConnectionHandler # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#76 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:76 def initialize; end # Returns true if there are any active connections among the connection @@ -13178,22 +13193,22 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#157 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:157 def active_connections?(role = T.unsafe(nil)); end # Returns any connections in use by the current thread back to the pool. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#162 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:162 def clear_active_connections!(role = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#176 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:176 def clear_all_connections!(role = T.unsafe(nil)); end # Clears reloadable connection caches in all connection pools. # # See ConnectionPool#clear_reloadable_connections! for details. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#172 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:172 def clear_reloadable_connections!(role = T.unsafe(nil)); end # Returns true if a connection that's accessible to this class has @@ -13201,44 +13216,44 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#198 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:198 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#95 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:95 def connection_pool_list(role = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#89 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:89 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#102 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:102 def connection_pools(role = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#104 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:104 def each_connection_pool(role = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#115 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:115 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#183 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:183 def flush_idle_connections!(role = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#81 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:81 def prevent_writes; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#85 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:85 def prevent_writes=(prevent_writes); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#203 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:203 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 @@ -13246,35 +13261,35 @@ 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#191 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:191 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#212 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:212 def retrieve_connection_pool(connection_name, role: T.unsafe(nil), shard: T.unsafe(nil), strict: 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#238 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:238 def connection_name_to_pool_manager; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#280 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:280 def determine_owner_name(owner_name, config); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#254 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:254 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#241 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:241 def get_pool_manager(connection_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#250 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:250 def pool_managers; end # Returns an instance of PoolConfig for a given adapter. @@ -13289,31 +13304,31 @@ class ActiveRecord::ConnectionAdapters::ConnectionHandler # # @raise [AdapterNotSpecified] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#273 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:273 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#246 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:246 def set_pool_manager(connection_descriptor); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#57 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:57 class ActiveRecord::ConnectionAdapters::ConnectionHandler::ConnectionDescriptor # @return [ConnectionDescriptor] a new instance of ConnectionDescriptor # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#58 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:58 def initialize(name, primary = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#71 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:71 def current_preventing_writes; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#63 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:63 def name; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_handler.rb#67 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_handler.rb:67 def primary_class?; end end @@ -13393,7 +13408,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#7 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:7 class ActiveRecord::ConnectionAdapters::ConnectionPool include ::ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration include ::MonitorMixin @@ -13407,15 +13422,15 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # @return [ConnectionPool] a new instance of ConnectionPool # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#251 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:251 def initialize(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#342 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:342 def activate; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#346 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:346 def activated?; end # Returns true if there is an open connection being used for the current thread. @@ -13426,7 +13441,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#422 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:422 def active_connection; end # Returns true if there is an open connection being used for the current thread. @@ -13437,24 +13452,24 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#419 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:419 def active_connection?; end # Returns the value of attribute async_executor. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def async_executor; end # Returns the value of attribute automatic_reconnect. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#239 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:239 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#239 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:239 def automatic_reconnect=(_arg0); end # Check-in a database connection back into the pool, indicating that you @@ -13463,7 +13478,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#658 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:658 def checkin(conn); end # Check-out a database connection from the pool, indicating that you want @@ -13481,22 +13496,22 @@ 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#630 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:630 def checkout(checkout_timeout = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1274 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1274 def checkout_and_verify(connection); end # Returns the value of attribute checkout_timeout. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#239 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:239 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#239 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:239 def checkout_timeout=(_arg0); end # Clears reloadable connections from the pool and re-connects connections that @@ -13507,7 +13522,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#588 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:588 def clear_reloadable_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end # Clears reloadable connections from the pool and re-connects connections that @@ -13519,17 +13534,17 @@ 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#612 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:612 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#490 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:490 def connected?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#410 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:410 def connection_descriptor; end # Returns an array containing the connections currently in the pool. @@ -13544,12 +13559,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#505 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:505 def connections; end # Returns the value of attribute db_config. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def db_config; end # Discards all connections in the pool (even if they're currently @@ -13558,12 +13573,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # # See AbstractAdapter#discard! # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#555 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:555 def discard!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#567 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:567 def discarded?; end # Disconnects all connections in the pool, and clears the pool. @@ -13573,7 +13588,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#515 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:515 def disconnect(raise_on_acquisition_timeout = T.unsafe(nil)); end # Disconnects all connections in the pool, and clears the pool. @@ -13583,27 +13598,27 @@ 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#546 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:546 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#727 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:727 def flush(minimum_idle = T.unsafe(nil)); end # Disconnect all currently idle connections. Connections currently checked # out are unaffected. The pool will stop maintaining its minimum size until # it is reactivated (such as by a subsequent checkout). # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#766 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:766 def flush!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#310 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:310 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#338 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:338 def internal_metadata; end # Prod any connections that have been idle for longer than the configured @@ -13611,12 +13626,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # alive, but the main purpose is to show the server (and any intermediate # network hops) that we're still here and using the connection. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#825 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:825 def keep_alive(threshold = T.unsafe(nil)); end # Returns the value of attribute keepalive. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def keepalive; end # Retrieve the connection associated with the current thread, or call @@ -13625,96 +13640,96 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # #lease_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#355 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:355 def lease_connection; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#571 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:571 def maintainable?; end # Returns the value of attribute max_age. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def max_age; end # Returns the value of attribute max_connections. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def max_connections; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#326 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:326 def migration_context; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#330 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:330 def migrations_paths; end # Returns the value of attribute min_connections. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def min_connections; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#883 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:883 def new_connection; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#857 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:857 def num_available_in_queue; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#853 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:853 def num_waiting_in_queue; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#362 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:362 def permanent_lease?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#366 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:366 def pin_connection!(lock_thread); end # Returns the value of attribute pool_config. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def pool_config; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#891 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:891 def pool_transaction_isolation_level; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#896 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:896 def pool_transaction_isolation_level=(isolation_level); end # Preconnect all connections in the pool. This saves pool users from # having to wait for a connection to be established when first using it # after checkout. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#810 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:810 def preconnect; end # Ensure that the pool contains at least the configured minimum number of # connections. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#776 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:776 def prepopulate; 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#704 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:704 def reap; end # Returns the value of attribute reaper. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def reaper; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#577 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:577 def reaper_lock(&block); end # Immediately mark all current connections as due for replacement, # equivalent to them having reached +max_age+ -- even if there is # no +max_age+ configured. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#841 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:841 def recycle!; end # Signal that the thread is finished with the current connection. @@ -13725,59 +13740,59 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # #lease_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#431 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:431 def release_connection(existing_lease = 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#672 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:672 def remove(conn); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#797 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:797 def retire_old_connections(max_age = T.unsafe(nil)); end # Returns the value of attribute role. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def role; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#878 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:878 def schedule_query(future_result); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#317 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:317 def schema_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#334 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:334 def schema_migration; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#243 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:243 def schema_reflection(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#321 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:321 def schema_reflection=(schema_reflection); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#243 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:243 def server_version(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute shard. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:240 def shard; end # Returns the value of attribute max_connections. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#241 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:241 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#864 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:864 def stat; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#382 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:382 def unpin_connection!; end # Yields a connection from the connection pool to the block. If no connection @@ -13790,10 +13805,10 @@ 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#450 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:450 def with_connection(prevent_permanent_checkout: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#471 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:471 def with_pool_transaction_isolation_level(isolation_level, transaction_open, &block); end private @@ -13810,28 +13825,28 @@ 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#1156 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1156 def acquire_connection(checkout_timeout); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1258 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1258 def adopt_connection(conn); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1047 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1047 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#906 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:906 def build_async_executor; end # -- # this is unfortunately not concurrent # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1024 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1024 def bulk_make_new_connections(num_new_conns_needed); end # -- # Must be called in a synchronize block. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1096 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1096 def checkout_for_exclusive_access(checkout_timeout); end # Directly check a specific connection out of the pool. Skips callbacks. @@ -13839,37 +13854,37 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # The connection must later either #return_from_maintenance or # #remove_from_maintenance, or the pool will hang. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#987 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:987 def checkout_for_maintenance(conn); end # @raise [ConnectionNotEstablished] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1269 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1269 def checkout_new_connection; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#902 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:902 def connection_lease; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1282 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1282 def name_inspect; 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#1211 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1211 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#1206 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1206 def remove_connection_from_thread_cache(conn, owner_thread = T.unsafe(nil)); end # Remove a connection from the pool after it has been checked out for # maintenance. It will be automatically replaced with a new connection if # necessary. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1015 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1015 def remove_from_maintenance(conn); end # Return a connection to the pool after it has been checked out for @@ -13881,7 +13896,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # created and hasn't been used yet). We'll put it at the back of the # queue. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1004 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1004 def return_from_maintenance(conn); end # Perform maintenance work on pool connections. This method will @@ -13901,10 +13916,10 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # will prevent two instances from working on the same specific # connection at the same time.) # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#940 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:940 def sequential_maintenance(candidate_selector, &maintenance_work); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1286 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1286 def shard_inspect; end # If the pool is not at a @max_connections limit, establish new connection. Connecting @@ -13916,7 +13931,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#1221 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1221 def try_to_checkout_new_connection; end # -- @@ -13932,7 +13947,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool # return a connection. If no background connections are available, it # will immediately return +nil+. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#1191 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1191 def try_to_queue_for_background_connection(checkout_timeout); end # Take control of all existing connections so a "group" action such as @@ -13940,14 +13955,14 @@ 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#1038 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1038 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#1116 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:1116 def with_new_connections_blocked; end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#231 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:231 def install_executor_hooks(executor = T.unsafe(nil)); end end end @@ -13955,32 +13970,32 @@ 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#150 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:150 module ActiveRecord::ConnectionAdapters::ConnectionPool::BiasableQueue - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#190 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:190 def with_a_bias_for(thread); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#151 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:151 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#154 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:154 def initialize(lock, other_cond, preferred_thread); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#161 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:161 def broadcast; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#166 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:166 def broadcast_on_biased; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#171 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:171 def signal; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#180 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:180 def wait(timeout); end end @@ -13990,68 +14005,68 @@ 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#211 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:211 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#215 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:215 def internal_poll(timeout); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#211 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:211 module ActiveRecord::ConnectionAdapters::ConnectionPool::ExecutorHooks class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#217 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:217 def complete(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#213 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:213 def run; end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#157 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:157 class ActiveRecord::ConnectionAdapters::ConnectionPool::Lease # @return [Lease] a new instance of Lease # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#160 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:160 def initialize; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#172 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:172 def clear(connection); end # Returns the value of attribute connection. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#158 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:158 def connection; end # Sets the attribute connection # # @param value the value to set the attribute connection to. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#158 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:158 def connection=(_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#165 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:165 def release; end # Returns the value of attribute sticky. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#158 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:158 def sticky; end # Sets the attribute sticky # # @param value the value to set the attribute sticky to. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#158 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:158 def sticky=(_arg0); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#185 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:185 class ActiveRecord::ConnectionAdapters::ConnectionPool::LeaseRegistry < ::ObjectSpace::WeakKeyMap - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#186 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:186 def [](context); end end @@ -14060,44 +14075,44 @@ 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#12 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:12 class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # @return [Queue] a new instance of Queue # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#13 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:13 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#36 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:36 def add(element); end # Add +element+ to the back of the queue. Never blocks. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#44 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:44 def add_back(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#21 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:21 def any_waiting?; end # Remove all elements from the queue. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#59 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:59 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#52 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:52 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#29 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:29 def num_waiting; end # Remove the head of the queue. @@ -14115,12 +14130,12 @@ 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#86 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:86 def poll(timeout = T.unsafe(nil)); end # Number of elements in the queue. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#66 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:66 def size; end private @@ -14129,7 +14144,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#100 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:100 def any?; end # A thread can remove an element from the queue without @@ -14139,31 +14154,31 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool::Queue # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#108 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:108 def can_remove_no_wait?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#91 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:91 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#120 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:120 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#113 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:113 def remove; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/queue.rb#95 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:95 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#126 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/queue.rb:126 def wait_poll(timeout); end end @@ -14193,50 +14208,50 @@ end # (`idle_timeout`); the latter is a risk that the server or a firewall may # drop a connection we still anticipate using (avoided by `keepalive`). # -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#33 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:33 class ActiveRecord::ConnectionAdapters::ConnectionPool::Reaper # @return [Reaper] a new instance of Reaper # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#36 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:36 def initialize(pool, frequency); end # Returns the value of attribute frequency. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:34 def frequency; end # Returns the value of attribute pool. # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:34 def pool; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#110 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:110 def run; end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#56 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:56 def pools(refs = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#46 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:46 def register_pool(pool, frequency); end private - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb#66 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb:66 def spawn_thread(frequency); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#133 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:133 ActiveRecord::ConnectionAdapters::ConnectionPool::WeakThreadKeyMap = ObjectSpace::WeakKeyMap -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#123 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 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#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def algorithm; end # Sets the attribute algorithm @@ -14244,14 +14259,14 @@ class ActiveRecord::ConnectionAdapters::CreateIndexDefinition < ::Struct # @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#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 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#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def if_not_exists; end # Sets the attribute if_not_exists @@ -14259,14 +14274,14 @@ class ActiveRecord::ConnectionAdapters::CreateIndexDefinition < ::Struct # @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#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 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#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def index; end # Sets the attribute index @@ -14274,70 +14289,70 @@ class ActiveRecord::ConnectionAdapters::CreateIndexDefinition < ::Struct # @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#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def index=(_); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:123 def new(*_arg0); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/database_limits.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#424 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:424 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#429 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:429 def begin_db_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#431 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:431 def begin_deferred_transaction(isolation_level = T.unsafe(nil)); end # Begins the transaction with the isolation level set. Raises an error by @@ -14346,24 +14361,24 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # # @raise [ActiveRecord::TransactionIsolationError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#454 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:454 def begin_isolated_db_transaction(isolation); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 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#56 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:56 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#468 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:468 def commit_db_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def commit_transaction(*_arg0, **_arg1, &_arg2); end # Executes an INSERT query and returns the new record's ID @@ -14378,40 +14393,40 @@ 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#206 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:206 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#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def current_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#558 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:558 def default_insert_value(column); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#490 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:490 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#215 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:215 def delete(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def dirty_current_transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def disable_lazy_transactions!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#520 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:520 def empty_insert_statement_value(primary_key = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 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#168 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:168 def exec_delete(sql, name = T.unsafe(nil), binds = T.unsafe(nil)); end # Executes insert +sql+ statement in the context of this connection using @@ -14421,10 +14436,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#160 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:160 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#179 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:179 def exec_insert_all(sql, name); end # Executes +sql+ statement in the context of this connection using @@ -14435,20 +14450,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#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:150 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#484 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:484 def exec_restart_db_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#478 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:478 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#175 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:175 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 @@ -14466,12 +14481,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#139 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:139 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#183 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:183 def explain(arel, binds = T.unsafe(nil), options = T.unsafe(nil)); end # Returns an Arel SQL literal for the CURRENT_TIMESTAMP for usage with @@ -14480,7 +14495,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#544 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:544 def high_precision_current_timestamp; end # Executes an INSERT query and returns the new record's ID @@ -14495,7 +14510,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#198 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:198 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 @@ -14504,38 +14519,38 @@ 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#504 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:504 def insert_fixture(fixture, table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#508 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:508 def insert_fixtures_set(fixture_set, tables_to_delete = T.unsafe(nil)); end # Execute a query and returns an ActiveRecord::Result # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#554 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:554 def internal_exec_query(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#391 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:391 def mark_transaction_written; end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def materialize_transactions(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def open_transactions(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#116 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:116 def query(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#108 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:108 def query_value(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#112 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:112 def query_values(*_arg0, **_arg1, &_arg2); end # Same as raw_execute but returns an ActiveRecord::Result object. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#549 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:549 def raw_exec_query(*_arg0, **_arg1, &_arg2); end # Hook point called after an isolated DB transaction is committed @@ -14545,63 +14560,63 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # But some databases like SQLite set it on a per connection level # and need to explicitly reset it after commit or rollback. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#464 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:464 def reset_isolation_level; end # Set the sequence to the max value of the table's column. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#495 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:495 def reset_sequence!(table, column, sequence = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#402 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:402 def reset_transaction(restore: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#480 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:480 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#472 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:472 def rollback_db_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#486 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:486 def rollback_to_savepoint(name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def rollback_transaction(*_arg0, **_arg1, &_arg2); end # Returns an ActiveRecord::Result instance. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#72 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:72 def select_all(arel, name = T.unsafe(nil), binds = T.unsafe(nil), preparable: T.unsafe(nil), async: T.unsafe(nil), allow_retry: 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#87 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:87 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#104 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:104 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#92 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:92 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#98 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:98 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 + # pkg:gem/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 @@ -14724,41 +14739,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#355 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:355 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#447 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:447 def transaction_isolation_levels; end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#384 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:384 def transaction_manager; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#398 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:398 def transaction_open?; end # Executes the truncate statement. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#221 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:221 def truncate(table_name, name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#225 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:225 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#209 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:209 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#527 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:527 def with_yaml_fallback(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#386 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:386 def within_new_transaction(*_arg0, **_arg1, &_arg2); end # Determines whether the SQL statement is a write query. @@ -14766,155 +14781,155 @@ module ActiveRecord::ConnectionAdapters::DatabaseStatements # @raise [NotImplementedError] # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:121 def write_query?(sql); end private # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#590 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:590 def affected_rows(raw_result); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#747 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:747 def arel_from_relation(relation); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#622 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:622 def build_fixture_sql(fixtures, table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#664 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:664 def build_fixture_statements(fixture_set); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#671 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:671 def build_truncate_statement(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#675 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:675 def build_truncate_statements(table_names); end # Receive a native adapter result object and returns an ActiveRecord::Result object. # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#586 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:586 def cast_result(raw_result); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#681 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:681 def combine_multi_statements(total_sql); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#616 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:616 def execute_batch(statements, name = T.unsafe(nil), **kwargs); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#755 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:755 def extract_table_ref_from_insert_sql(sql); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#582 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:582 def handle_warnings(raw_result, sql); end # Same as #internal_exec_query, but yields a native adapter result # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#611 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:611 def internal_execute(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil), allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#734 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:734 def last_inserted_id(result); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#578 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:578 def perform_query(raw_connection, sql, binds, type_casted_binds, prepare:, notification_payload:, batch:); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#594 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:594 def preprocess_query(sql); end # Lowest level way to execute a query. Doesn't check for illegal writes, doesn't annotate queries, yields a native result object. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#567 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:567 def raw_execute(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil), allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil), batch: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#738 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:738 def returning_column_values(result); end # Returns an ActiveRecord::Result instance. # - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#686 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:686 def select(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil), allow_retry: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#742 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:742 def single_value_from_rows(rows); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#717 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:717 def sql_for_insert(sql, pk, binds, returning); end - # source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#17 + # pkg:gem/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), allow_retry = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#563 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:563 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#536 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:536 ActiveRecord::ConnectionAdapters::DatabaseStatements::HIGH_PRECISION_CURRENT_TIMESTAMP = T.let(T.unsafe(nil), Arel::Nodes::SqlLiteral) -# source://activerecord//lib/active_record/connection_adapters/abstract/database_statements.rb#439 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/database_statements.rb:439 ActiveRecord::ConnectionAdapters::DatabaseStatements::TRANSACTION_ISOLATION_LEVELS = T.let(T.unsafe(nil), Hash) -# source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#5 +# pkg:gem/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#21 + # pkg:gem/activerecord#lib/active_record/connection_adapters/deduplicable.rb:21 def -@; end - # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#18 + # pkg:gem/activerecord#lib/active_record/connection_adapters/deduplicable.rb:18 def deduplicate; end private - # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#24 + # pkg:gem/activerecord#lib/active_record/connection_adapters/deduplicable.rb:24 def deduplicated; end end -# source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#8 +# pkg:gem/activerecord#lib/active_record/connection_adapters/deduplicable.rb:8 module ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods - # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#13 + # pkg:gem/activerecord#lib/active_record/connection_adapters/deduplicable.rb:13 def new(*_arg0, **_arg1); end - # source://activerecord//lib/active_record/connection_adapters/deduplicable.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/deduplicable.rb:9 def registry; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#127 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#132 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:132 def column; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#152 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:152 def custom_primary_key?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#148 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:148 def deferrable; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#165 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:165 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#161 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:161 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#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def from_table; end # Sets the attribute from_table @@ -14922,23 +14937,23 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # @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#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def from_table=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#128 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:128 def name; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#140 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:140 def on_delete; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#144 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:144 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#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def options; end # Sets the attribute options @@ -14946,17 +14961,17 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # @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#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def options=(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#136 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:136 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#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def to_table; end # Sets the attribute to_table @@ -14964,38 +14979,38 @@ class ActiveRecord::ConnectionAdapters::ForeignKeyDefinition < ::Struct # @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#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def to_table=(_); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#156 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:156 def validate?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#159 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:159 def validated?; end private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#174 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:174 def default_primary_key; end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:127 def new(*_arg0); end end end @@ -15004,317 +15019,317 @@ 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#8 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:8 class ActiveRecord::ConnectionAdapters::IndexDefinition # @return [IndexDefinition] a new instance of IndexDefinition # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#11 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:11 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#46 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:46 def column_options; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def columns; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def comment; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#54 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:54 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#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def include; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def lengths; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def name; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def nulls_not_distinct; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def opclasses; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def orders; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def table; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def type; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def unique; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def using; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def valid; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#42 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:42 def valid?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:9 def where; end private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#65 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:65 def concise_options(options); end end -# source://activerecord//lib/active_record/connection_adapters/column.rb#128 +# pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:128 class ActiveRecord::ConnectionAdapters::NullColumn < ::ActiveRecord::ConnectionAdapters::Column # @return [NullColumn] a new instance of NullColumn # - # source://activerecord//lib/active_record/connection_adapters/column.rb#129 + # pkg:gem/activerecord#lib/active_record/connection_adapters/column.rb:129 def initialize(name, **_arg1); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#11 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:11 class ActiveRecord::ConnectionAdapters::NullPool # @return [NullPool] a new instance of NullPool # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#19 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:19 def initialize; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#38 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:38 def async_executor; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#36 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:36 def checkin(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#35 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:35 def connection_descriptor; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#40 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:40 def db_config; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#44 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:44 def dirties_query_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#48 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:48 def pool_transaction_isolation_level; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#49 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:49 def pool_transaction_isolation_level=(isolation_level); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:34 def query_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#37 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:37 def remove(_); end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:33 def schema_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#29 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:29 def schema_reflection; end - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#25 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:25 def server_version(connection); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#17 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:17 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#12 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:12 class ActiveRecord::ConnectionAdapters::NullPool::NullConfig - # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#13 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/connection_pool.rb:13 def method_missing(*_arg0, **_arg1, &_arg2); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#110 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:110 class ActiveRecord::ConnectionAdapters::NullTransaction - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#116 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:116 def add_record(record, _ = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#124 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:124 def after_commit; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:125 def after_rollback; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#123 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:123 def before_commit; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#112 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:112 def closed?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:119 def dirty!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#118 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:118 def dirty?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#121 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:121 def invalidate!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#120 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:120 def invalidated?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#115 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:115 def isolation; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#127 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:127 def isolation=(_); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#114 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:114 def joinable?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#122 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:122 def materialized?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#113 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:113 def open?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#117 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:117 def restartable?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#111 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:111 def state; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#126 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:126 def user_transaction; end end -# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#5 +# pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:5 class ActiveRecord::ConnectionAdapters::PoolConfig include ::MonitorMixin # @return [PoolConfig] a new instance of PoolConfig # - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#28 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:28 def initialize(connection_class, db_config, role, shard); end # Returns the value of attribute connection_descriptor. # - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:8 def connection_descriptor; end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#43 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:43 def connection_descriptor=(connection_descriptor); end # Returns the value of attribute db_config. # - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:8 def db_config; end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#69 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:69 def discard_pool!; end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#52 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:52 def disconnect!(automatic_reconnect: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#65 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:65 def pool; end # Returns the value of attribute role. # - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:8 def role; end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#11 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:11 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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:9 def schema_reflection=(_arg0); end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#39 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:39 def server_version(connection); end # Sets the attribute server_version # # @param value the value to set the attribute server_version to. # - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:9 def server_version=(_arg0); end # Returns the value of attribute shard. # - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:8 def shard; end class << self - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#19 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:19 def discard_pools!; end - # source://activerecord//lib/active_record/connection_adapters/pool_config.rb#23 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:23 def disconnect_all!; end end end -# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#15 +# pkg:gem/activerecord#lib/active_record/connection_adapters/pool_config.rb:15 ActiveRecord::ConnectionAdapters::PoolConfig::INSTANCES = T.let(T.unsafe(nil), ObjectSpace::WeakMap) -# source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/pool_manager.rb:6 def initialize; end - # source://activerecord//lib/active_record/connection_adapters/pool_manager.rb#26 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#125 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 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#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def name; end # Sets the attribute name @@ -15322,35 +15337,35 @@ class ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition < ::Struct # @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#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def name=(_); end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def [](*_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def inspect; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def keyword_init?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def members; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:125 def new(*_arg0); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#8 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:8 module ActiveRecord::ConnectionAdapters::QueryCache - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#210 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:210 def initialize(*_arg0); end # Enable the query cache within the block. # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#233 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:233 def cache(&block); end # Clears the query cache. @@ -15360,29 +15375,29 @@ 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#259 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:259 def clear_query_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#249 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:249 def disable_query_cache!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#237 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:237 def enable_query_cache!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#217 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:217 def query_cache; end # Sets the attribute query_cache # # @param value the value to set the attribute query_cache to. # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#215 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:215 def query_cache=(_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#228 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:228 def query_cache_enabled; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#263 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:263 def select_all(arel, name = T.unsafe(nil), binds = T.unsafe(nil), preparable: T.unsafe(nil), async: T.unsafe(nil), allow_retry: T.unsafe(nil)); end # Disable the query cache within the block. @@ -15390,7 +15405,7 @@ module ActiveRecord::ConnectionAdapters::QueryCache # Set dirties: false to prevent query caches on all connections from being cleared by write operations. # (By default, write operations dirty all connections' query caches in case they are replicas whose cache would now be outdated.) # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#245 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:245 def uncached(dirties: T.unsafe(nil), &block); end private @@ -15398,66 +15413,66 @@ 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#335 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:335 def cache_notification_info(sql, name, binds); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#327 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:327 def cache_notification_info_result(sql, name, binds, result); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#305 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:305 def cache_sql(sql, name, binds); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#287 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:287 def lookup_sql_cache(sql, name, binds); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#283 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:283 def unset_query_cache!; end class << self - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#18 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:18 def dirties_query_cache(base, *method_names); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#12 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:12 def included(base); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#132 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:132 module ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#133 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:133 def initialize(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#148 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:148 def checkout_and_verify(connection); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#193 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:193 def clear_query_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#189 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:189 def dirties_query_cache; end # Disable the query cache within the block. # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#155 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:155 def disable_query_cache(dirties: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#180 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:180 def disable_query_cache!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#165 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:165 def enable_query_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#175 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:175 def enable_query_cache!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#203 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:203 def query_cache; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#185 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:185 def query_cache_enabled; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#9 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:9 ActiveRecord::ConnectionAdapters::QueryCache::DEFAULT_SIZE = T.let(T.unsafe(nil), Integer) # Each connection pool has one of these registries. They map execution @@ -15467,17 +15482,17 @@ ActiveRecord::ConnectionAdapters::QueryCache::DEFAULT_SIZE = T.let(T.unsafe(nil) # ActiveSupport::IsolatedExecutionState.context returns), and their # associated values are their respective query cache stores. # -# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#113 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:113 class ActiveRecord::ConnectionAdapters::QueryCache::QueryCacheRegistry # @return [QueryCacheRegistry] a new instance of QueryCacheRegistry # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#114 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:114 def initialize; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:125 def clear; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:119 def compute_if_absent(context); end end @@ -15494,57 +15509,57 @@ end # down below). The version value may be externally changed as a way to # signal cache invalidation, that is why all methods have a guard for it. # -# source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#44 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:44 class ActiveRecord::ConnectionAdapters::QueryCache::Store # @return [Store] a new instance of Store # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#49 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:49 def initialize(version, max_size); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#68 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:68 def [](key); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#93 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:93 def clear; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#77 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:77 def compute_if_absent(key); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:45 def dirties; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:45 def dirties=(_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#47 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:47 def dirties?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#63 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:63 def empty?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:45 def enabled; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:45 def enabled=(_arg0); end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#46 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:46 def enabled?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#58 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:58 def size; end private - # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#99 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/query_cache.rb:99 def check_version; end end # = Active Record Connection Adapters \Quoting # -# source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#8 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:8 module ActiveRecord::ConnectionAdapters::Quoting extend ::ActiveSupport::Concern @@ -15554,35 +15569,35 @@ module ActiveRecord::ConnectionAdapters::Quoting # 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#113 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:113 def cast_bound_value(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#213 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:213 def lookup_cast_type(sql_type); 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#72 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:72 def quote(value); end # Quotes the column name. # - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#124 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:124 def quote_column_name(column_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#145 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:145 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#119 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:119 def quote_string(s); end # Quotes the table name. # - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#129 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:129 def quote_table_name(table_name); end # Override to return the quoted table name for assignment. Defaults to @@ -15594,50 +15609,50 @@ 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#141 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:141 def quote_table_name_for_assignment(table, attr); end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#196 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:196 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#174 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:174 def quoted_date(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#164 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:164 def quoted_false; end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#191 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:191 def quoted_time(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#156 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:156 def quoted_true; end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#200 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:200 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#94 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:94 def type_cast(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#168 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:168 def unquoted_false; end - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#160 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:160 def unquoted_true; end private - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#219 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:219 def type_casted_binds(binds); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#11 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:11 module ActiveRecord::ConnectionAdapters::Quoting::ClassMethods # Regexp for column names (with or without a table name prefix). # Matches the following: @@ -15645,7 +15660,7 @@ module ActiveRecord::ConnectionAdapters::Quoting::ClassMethods # "#{table_name}.#{column_name}" # "#{column_name}" # - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#17 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:17 def column_name_matcher; end # Regexp for column names with order (with or without a table name prefix, @@ -15660,601 +15675,601 @@ module ActiveRecord::ConnectionAdapters::Quoting::ClassMethods # "#{column_name} #{direction} NULLS FIRST" # "#{column_name} NULLS LAST" # - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#43 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:43 def column_name_with_order_matcher; end # Quotes the column name. Must be implemented by subclasses # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#60 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:60 def quote_column_name(column_name); end # Quotes the table name. Defaults to column name quoting. # - # source://activerecord//lib/active_record/connection_adapters/abstract/quoting.rb#65 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/quoting.rb:65 def quote_table_name(table_name); end end # = Active Record Real \Transaction # -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#470 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:470 class ActiveRecord::ConnectionAdapters::RealTransaction < ::ActiveRecord::ConnectionAdapters::Transaction - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#508 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:508 def commit; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#471 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:471 def materialize!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#485 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:485 def restart; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#499 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:499 def rollback; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#202 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:202 class ActiveRecord::ConnectionAdapters::ReferenceDefinition # @return [ReferenceDefinition] a new instance of ReferenceDefinition # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#203 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:203 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#223 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:223 def add(table_name, connection); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#237 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:237 def add_to(table); end private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#254 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:254 def as_options(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#292 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:292 def column_name; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#296 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:296 def column_names; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#284 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:284 def columns; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#258 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:258 def conditional_options; end # Returns the value of attribute foreign_key. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:252 def foreign_key; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#280 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:280 def foreign_key_options; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#300 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:300 def foreign_table_name; end # Returns the value of attribute index. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:252 def index; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#270 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:270 def index_options(table_name); end # Returns the value of attribute name. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:252 def name; end # Returns the value of attribute options. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:252 def options; end # Returns the value of attribute polymorphic. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:252 def polymorphic; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#266 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:266 def polymorphic_index_name(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#262 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:262 def polymorphic_options; end # Returns the value of attribute type. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#252 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:252 def type; end end # = Active Record Restart Parent \Transaction # -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#387 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:387 class ActiveRecord::ConnectionAdapters::RestartParentTransaction < ::ActiveRecord::ConnectionAdapters::Transaction # @return [RestartParentTransaction] a new instance of RestartParentTransaction # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#388 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:388 def initialize(connection, parent_transaction, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#407 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:407 def commit; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#411 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:411 def full_rollback?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#400 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:400 def isolation(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#400 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:400 def materialize!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#400 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:400 def materialized?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#400 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:400 def restart(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#402 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:402 def rollback; end end # = Active Record Savepoint \Transaction # -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#415 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:415 class ActiveRecord::ConnectionAdapters::SavepointTransaction < ::ActiveRecord::ConnectionAdapters::Transaction # @return [SavepointTransaction] a new instance of SavepointTransaction # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#416 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:416 def initialize(connection, savepoint_name, parent_transaction, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#460 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:460 def commit; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#466 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:466 def full_rollback?; end # Delegates to parent transaction's isolation level # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#430 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:430 def isolation; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#434 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:434 def isolation=(isolation); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#438 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:438 def materialize!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#443 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:443 def restart; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#452 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:452 def rollback; end end # = Active Record Connection Adapters \Savepoints # -# source://activerecord//lib/active_record/connection_adapters/abstract/savepoints.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#227 +# pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:227 class ActiveRecord::ConnectionAdapters::SchemaCache # @return [SchemaCache] a new instance of SchemaCache # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#255 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:255 def initialize; end # Add internal cache for table with +table_name+. # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#326 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:326 def add(pool, table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#396 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:396 def add_all(pool); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#294 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:294 def cached?(table_name); end # Clear out internal caches for the data source +name+. # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#388 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:388 def clear_data_source_cache!(_connection, name); end # Get the columns for a table # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#338 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:338 def columns(pool, 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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:352 def columns_hash(pool, 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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:359 def columns_hash?(_pool, table_name); end # A cached lookup for table existence. # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#309 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:309 def data_source_exists?(pool, name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#406 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:406 def dump_to(filename); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#273 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:273 def encode_with(coder); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#363 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:363 def indexes(pool, table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#281 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:281 def init_with(coder); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#416 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:416 def marshal_dump; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#420 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:420 def marshal_load(array); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#298 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:298 def primary_keys(pool, table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#379 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:379 def schema_version; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#383 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:383 def size; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#375 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:375 def version(pool); end private - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#448 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:448 def deep_deduplicate(value); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#440 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:440 def derive_columns_hash_and_deduplicate_values; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#436 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:436 def ignored_table?(table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#264 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:264 def initialize_dup(other); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#461 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:461 def open(filename); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#428 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:428 def tables_to_cache(pool); end class << self - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#228 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:228 def _load_from(filename); end private - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#244 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:244 def read(filename, &block); end end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#180 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:180 def action_sql(action, dependency); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:150 def add_column_options!(sql, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#141 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:141 def add_table_options!(create_sql, o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#146 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:146 def column_options(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:16 def lookup_cast_type(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#165 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:165 def quote_default_expression_for_column_definition(default, column_definition); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # pkg:gem/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#133 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:133 def quoted_columns(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#137 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:137 def supports_index_using?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#176 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:176 def table_modifier_in_create(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#170 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:170 def to_sql(sql); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#16 + # pkg:gem/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 + # pkg:gem/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#129 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:129 def visit_AddCheckConstraint(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#41 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:41 def visit_AddColumnDefinition(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#96 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:96 def visit_AddForeignKey(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#24 + # pkg:gem/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#125 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:125 def visit_CheckConstraintDefinition(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#34 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:34 def visit_ColumnDefinition(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#106 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:106 def visit_CreateIndexDefinition(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#104 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:104 def visit_DropCheckConstraint(name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#100 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:100 def visit_DropConstraint(name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#103 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:103 def visit_DropForeignKey(name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#83 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:83 def visit_ForeignKeyDefinition(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#79 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:79 def visit_PrimaryKeyDefinition(o); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_creation.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_creation.rb:45 def visit_TableDefinition(o); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#102 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_dumper.rb:102 def schema_collation(column); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#86 + # pkg:gem/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#98 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_dumper.rb:98 def schema_expression(column); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_dumper.rb#62 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#41 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:41 def add(pool, name); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#79 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:79 def cached?(table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#21 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:21 def clear!; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#73 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:73 def clear_data_source_cache!(pool, name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#49 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:49 def columns(pool, table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#53 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:53 def columns_hash(pool, table_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#57 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:57 def columns_hash?(pool, table_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#37 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:37 def data_source_exists?(pool, name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:45 def data_sources(pool, name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#91 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:91 def dump_to(pool, filename); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#61 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:61 def indexes(pool, table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#27 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:27 def load!(pool); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#33 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:33 def primary_keys(pool, table_name); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#69 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:69 def size(pool); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#65 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:65 def version(pool); end private - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#106 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:106 def cache(pool); end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#100 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:100 def empty_cache; end - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#116 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:116 def load_cache(pool); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#110 + # pkg:gem/activerecord#lib/active_record/connection_adapters/schema_cache.rb:110 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#9 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:9 module ActiveRecord::ConnectionAdapters::SchemaStatements include ::ActiveRecord::Migration::JoinTable @@ -16305,7 +16320,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#1098 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1098 def add_belongs_to(table_name, ref_name, **options); end # Adds a new check constraint to the table. +expression+ is a String @@ -16325,7 +16340,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#1326 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1326 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+. @@ -16418,10 +16433,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#655 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:655 def add_column(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#662 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:662 def add_columns(table_name, *column_names, type:, **options); end # Adds a new foreign key. +from_table+ is the table with the key column, @@ -16491,7 +16506,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#1205 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1205 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 @@ -16652,10 +16667,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # Note: only supported by MySQL version 8.0.0 and greater, and MariaDB version 10.6.0 and greater. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#947 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:947 def add_index(table_name, column_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1509 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1509 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, @@ -16705,7 +16720,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#1095 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1095 def add_reference(table_name, ref_name, **options); end # Adds timestamps (+created_at+ and +updated_at+) columns to +table_name+. @@ -16713,10 +16728,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # add_timestamps(:suppliers, null: true) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1492 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1492 def add_timestamps(table_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1397 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1397 def assume_migrated_upto_version(version); end # Builds an AlterTable object for adding a column to a table. @@ -16725,7 +16740,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#673 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:673 def build_add_column_definition(table_name, column_name, type, **options); end # Builds a ChangeColumnDefaultDefinition object. @@ -16736,7 +16751,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#757 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:757 def build_change_column_default_definition(table_name, column_name, default_or_changes); end # Builds a CreateIndexDefinition object. @@ -16745,7 +16760,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#957 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:957 def build_create_index_definition(table_name, column_name, **options); end # Builds a TableDefinition object for a join table. @@ -16754,7 +16769,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#427 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:427 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 @@ -16763,10 +16778,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @yield [table_definition] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#337 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:337 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#1602 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1602 def bulk_change_table(table_name, operations); end # Changes the column's definition according to the new options. @@ -16777,7 +16792,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#730 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:730 def change_column(table_name, column_name, type, **options); end # Changes the comment for a column or removes it if +nil+. @@ -16789,7 +16804,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1570 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1570 def change_column_comment(table_name, column_name, comment_or_changes); end # Sets a new default value for a column: @@ -16808,7 +16823,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#748 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:748 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 @@ -16830,7 +16845,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#777 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:777 def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end # A block for changing columns in +table+. @@ -16912,7 +16927,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#529 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:529 def change_table(table_name, base = T.unsafe(nil), **options); end # Changes the comment for a table or removes it if +nil+. @@ -16924,7 +16939,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1560 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1560 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. @@ -16933,10 +16948,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1374 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1374 def check_constraint_exists?(table_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1338 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1338 def check_constraint_options(table_name, expression, options); end # Returns an array of check constraints for the given table. @@ -16944,7 +16959,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1306 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1306 def check_constraints(table_name); end # Checks to see if a column exists in a given table. @@ -16966,12 +16981,12 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#133 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:133 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#108 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:108 def columns(table_name); end # Given a set of columns and an ORDER BY clause, returns the columns for a SELECT DISTINCT. @@ -16980,7 +16995,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#1458 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1458 def columns_for_distinct(columns, orders); end # Creates a new join table with the name created using the lexical order of the first two @@ -17045,10 +17060,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#408 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:408 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#1588 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1588 def create_schema_dumper(options); end # Creates a new table with the name +table_name+. +table_name+ may either @@ -17197,7 +17212,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#297 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:297 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. @@ -17206,13 +17221,13 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#45 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:45 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#35 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:35 def data_sources; end # Prevents an index from being used by queries. @@ -17221,10 +17236,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1584 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1584 def disable_index(table_name, index_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1462 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1462 def distinct_relation_for_primary_key(relation); end # Drops the join table specified by the given arguments. @@ -17234,7 +17249,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#446 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:446 def drop_join_table(table_1, table_2, **options); end # Drops a table or tables from the database. @@ -17250,10 +17265,10 @@ 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 except if you provide more than one table which is not supported. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#559 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:559 def drop_table(*table_names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1388 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1388 def dump_schema_versions; end # Enables an index to be used by queries. @@ -17262,10 +17277,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1577 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1577 def enable_index(table_name, index_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1274 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1274 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. @@ -17281,10 +17296,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1270 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1270 def foreign_key_exists?(from_table, to_table = T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1279 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1279 def foreign_key_options(from_table, to_table, options); end # Returns an array of foreign keys for the given table. @@ -17292,10 +17307,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1135 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1135 def foreign_keys(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1537 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1537 def index_algorithm(algorithm); end # Checks to see if an index exists on a table for a given index definition. @@ -17317,52 +17332,52 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#103 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:103 def index_exists?(table_name, column_name = T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1024 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1024 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#1043 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1043 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#82 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:82 def indexes(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1393 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1393 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#1640 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1640 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#15 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:15 def native_database_types; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1550 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1550 def options_include_default?(options); end # Returns just a table's primary key # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#146 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:146 def primary_key(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1543 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1543 def quoted_columns_for_index(column_names, options); end # Removes the reference(s). Also removes a +type+ column if one exists. @@ -17379,7 +17394,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_reference(:products, :user, foreign_key: true) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1131 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1131 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 @@ -17396,7 +17411,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#1357 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1357 def remove_check_constraint(table_name, expression = T.unsafe(nil), if_exists: T.unsafe(nil), **options); end # Removes the column from the table definition. @@ -17415,7 +17430,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_column(:suppliers, :qualification, if_exists: true) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#718 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:718 def remove_column(table_name, column_name, type = T.unsafe(nil), **options); end # Removes the given columns from the table definition. @@ -17426,10 +17441,10 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_columns(:suppliers, :qualification, :experience, type: :string, null: false) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#694 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:694 def remove_columns(table_name, *column_names, type: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1381 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1381 def remove_constraint(table_name, constraint_name); end # Removes the given foreign key from the table. Any option parameters provided @@ -17463,7 +17478,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#1247 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1247 def remove_foreign_key(from_table, to_table = T.unsafe(nil), **options); end # Removes the given index from the table. @@ -17503,7 +17518,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#998 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:998 def remove_index(table_name, column_name = T.unsafe(nil), **options); end # Removes the reference(s). Also removes a +type+ column if one exists. @@ -17520,14 +17535,14 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # remove_reference(:products, :user, foreign_key: true) # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1114 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1114 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#1501 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1501 def remove_timestamps(table_name, **options); end # Renames a column. @@ -17536,7 +17551,7 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#785 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:785 def rename_column(table_name, column_name, new_column_name); end # Renames an index. @@ -17545,7 +17560,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#1012 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1012 def rename_index(table_name, old_name, new_name); end # Renames a table. @@ -17554,23 +17569,23 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#543 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:543 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#1598 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1598 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#29 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:29 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#24 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:24 def table_comment(table_name); end # Checks to see if the table +table_name+ exists on the database. @@ -17579,35 +17594,35 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#60 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:60 def table_exists?(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#19 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:19 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#52 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:52 def tables; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1418 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1418 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#1505 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1505 def update_table_definition(table_name, base); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1592 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1592 def use_foreign_keys?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1631 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1631 def valid_column_definition_options; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1635 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1635 def valid_primary_key_options; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1627 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1627 def valid_table_definition_options; end # Checks to see if the view +view_name+ exists on the database. @@ -17616,210 +17631,210 @@ module ActiveRecord::ConnectionAdapters::SchemaStatements # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#75 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:75 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#67 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:67 def views; end private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1911 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1911 def add_column_for_alter(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1669 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1669 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#1690 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1690 def add_options_for_index_columns(quoted_columns, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1934 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1934 def add_timestamps_for_alter(table_name, **options); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1903 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1903 def can_remove_index_by_name?(column_name, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1917 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1917 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#1865 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1865 def check_constraint_for(table_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1871 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1871 def check_constraint_for!(table_name, expression: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1855 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1855 def check_constraint_name(table_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1665 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1665 def column_options_keys; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1760 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1760 def create_alter_table(name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1756 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1756 def create_index_definition(table_name, name, unique, columns, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1752 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1752 def create_table_definition(name, **options); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1956 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1956 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#1800 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1800 def expression_column_name?(column_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1843 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1843 def extract_foreign_key_action(specifier); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1901 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1901 def extract_new_comment_value(default_or_changes); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1894 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1894 def extract_new_default_value(default_or_changes); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1772 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1772 def fetch_type_metadata(sql_type); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1820 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1820 def foreign_key_for(from_table, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1838 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1838 def foreign_key_for!(from_table, to_table: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1810 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1810 def foreign_key_name(table_name, options); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1851 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1851 def foreign_keys_enabled?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1645 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1645 def generate_index_name(table_name, column); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1783 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1783 def index_column_names(column_names); end # @raise [ArgumentError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1698 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1698 def index_name_for_remove(table_name, column_name, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1791 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1791 def index_name_options(column_names); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1951 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1951 def insert_versions_sql(versions); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1680 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1680 def options_for_index_columns(options); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1960 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1960 def quoted_scope(name = T.unsafe(nil), type: T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1907 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1907 def reference_name_for_table(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1926 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1926 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#1930 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1930 def remove_columns_for_alter(table_name, *column_names, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1947 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1947 def remove_timestamps_for_alter(table_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1739 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1739 def rename_column_indexes(table_name, column_name, new_column_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1922 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1922 def rename_column_sql(table_name, column_name, new_column_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1730 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1730 def rename_table_indexes(table_name, new_name, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1804 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1804 def strip_table_name_prefix_and_suffix(table_name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1676 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1676 def valid_index_options; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1659 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1659 def validate_change_column_null_argument!(value); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1764 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1764 def validate_create_table_options!(options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1876 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1876 def validate_index_length!(table_name, new_name, internal = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_statements.rb#1885 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_statements.rb:1885 def validate_table_length!(table_name); end end -# source://activerecord//lib/active_record/connection_adapters/sql_type_metadata.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/sql_type_metadata.rb:39 def deduplicated; end end @@ -17869,14 +17884,14 @@ end # t.remove_timestamps # end # -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#707 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:707 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#712 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:712 def initialize(table_name, base); end # Adds a reference. @@ -17886,7 +17901,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#869 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:869 def belongs_to(*args, **options); end # Changes the column's definition according to the new options. @@ -17896,7 +17911,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#789 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:789 def change(column_name, type, **options); end # Sets a new default value for a column. @@ -17907,7 +17922,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#801 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:801 def change_default(column_name, default_or_changes); end # Sets or removes a NOT NULL constraint on a column. @@ -17917,7 +17932,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#811 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:811 def change_null(column_name, null, default = T.unsafe(nil)); end # Adds a check constraint. @@ -17926,7 +17941,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#921 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:921 def check_constraint(*args, **options); end # Checks if a check_constraint exists on a table. @@ -17939,7 +17954,7 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#941 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:941 def check_constraint_exists?(*args, **options); end # Adds a new column to the named table. @@ -17948,7 +17963,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#722 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:722 def column(column_name, type, index: T.unsafe(nil), **options); end # Checks to see if a column exists. @@ -17959,7 +17974,7 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#736 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:736 def column_exists?(column_name, type = T.unsafe(nil), **options); end # Adds a foreign key to the table using a supplied table name. @@ -17969,7 +17984,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#891 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:891 def foreign_key(*args, **options); end # Checks to see if a foreign key exists. @@ -17980,7 +17995,7 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#912 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:912 def foreign_key_exists?(*args, **options); end # Adds a new index to the table. +column_name+ can be a single Symbol, or @@ -17992,7 +18007,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#748 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:748 def index(column_name, **options); end # Checks to see if an index exists. @@ -18005,12 +18020,12 @@ class ActiveRecord::ConnectionAdapters::Table # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#760 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:760 def index_exists?(column_name = T.unsafe(nil), **options); end # Returns the value of attribute name. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#710 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:710 def name; end # Adds a reference. @@ -18020,7 +18035,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#863 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:863 def references(*args, **options); end # Removes the column(s) from the table definition. @@ -18030,7 +18045,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#821 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:821 def remove(*column_names, **options); end # Removes a reference. Optionally removes a +type+ column. @@ -18040,7 +18055,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#883 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:883 def remove_belongs_to(*args, **options); end # Removes the given check constraint from the table. @@ -18049,7 +18064,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#930 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:930 def remove_check_constraint(*args, **options); end # Removes the given foreign key from the table. @@ -18059,7 +18074,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#902 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:902 def remove_foreign_key(*args, **options); end # Removes the given index from the table. @@ -18071,7 +18086,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#834 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:834 def remove_index(column_name = T.unsafe(nil), **options); end # Removes a reference. Optionally removes a +type+ column. @@ -18081,7 +18096,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#877 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:877 def remove_references(*args, **options); end # Removes the timestamp columns (+created_at+ and +updated_at+) from the table. @@ -18090,7 +18105,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#844 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:844 def remove_timestamps(**options); end # Renames a column. @@ -18099,7 +18114,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#853 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:853 def rename(column_name, new_column_name); end # Renames the given index on the table. @@ -18108,7 +18123,7 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.rename_index}[rdoc-ref:SchemaStatements#rename_index] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#769 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:769 def rename_index(index_name, new_index_name); end # Adds timestamps (+created_at+ and +updated_at+) columns to the table. @@ -18117,12 +18132,12 @@ class ActiveRecord::ConnectionAdapters::Table # # See {connection.add_timestamps}[rdoc-ref:SchemaStatements#add_timestamps] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#778 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:778 def timestamps(**options); end private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#946 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:946 def raise_on_if_exist_options(options); end end @@ -18146,24 +18161,24 @@ end # end # end # -# source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#358 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:358 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#363 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:363 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#413 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:413 def [](name); end # Returns the value of attribute as. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def as; end # Adds a reference. @@ -18174,15 +18189,15 @@ 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 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:548 def belongs_to(*args, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#517 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:517 def check_constraint(expression, **options); end # Returns the value of attribute check_constraints. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def check_constraints; end # Instantiates a new column for the table. @@ -18253,30 +18268,30 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # t.references :taggable, polymorphic: { default: 'Photo' }, index: false # end # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#484 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:484 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#410 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:410 def columns; end # Returns the value of attribute comment. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def comment; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#513 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:513 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#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def foreign_keys; end # Returns the value of attribute if_not_exists. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def if_not_exists; end # Adds index options to the indexes hash, keyed by column name @@ -18284,34 +18299,34 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # index(:account_id, name: 'index_projects_on_account_id') # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#509 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:509 def index(column_name, **options); end # Returns the value of attribute indexes. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def indexes; end # Returns the value of attribute name. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def name; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#575 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:575 def new_check_constraint_definition(expression, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#550 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:550 def new_column_definition(name, type, **options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#567 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:567 def new_foreign_key_definition(to_table, options); end # Returns the value of attribute options. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def options; end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#404 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:404 def primary_keys(name = T.unsafe(nil)); end # Adds a reference. @@ -18322,21 +18337,21 @@ 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#543 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:543 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#501 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:501 def remove_column(name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#387 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:387 def set_primary_key(table_name, id, primary_key, **options); end # Returns the value of attribute temporary. # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#361 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:361 def temporary; end # Appends :datetime columns :created_at and @@ -18344,121 +18359,121 @@ class ActiveRecord::ConnectionAdapters::TableDefinition # # t.timestamps null: false # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#525 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:525 def timestamps(**options); end private - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#593 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:593 def aliased_types(name, fallback); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#585 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:585 def create_column_definition(name, type, options); end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#597 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:597 def integer_like_primary_key?(type, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#601 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:601 def integer_like_primary_key_type(type, options); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#605 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:605 def raise_on_duplicate_column(name); end - # source://activerecord//lib/active_record/connection_adapters/abstract/schema_definitions.rb#581 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/schema_definitions.rb:581 def valid_column_definition_options; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#130 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:130 class ActiveRecord::ConnectionAdapters::Transaction # @return [Transaction] a new instance of Transaction # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#164 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:164 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#196 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:196 def add_record(record, ensure_finalize = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#214 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:214 def after_commit(&block); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#222 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:222 def after_rollback(&block); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#206 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:206 def before_commit(&block); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#285 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:285 def before_commit_records; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#192 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:192 def closed?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#309 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:309 def commit_records; end # Returns the value of attribute connection. # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:150 def connection; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#180 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:180 def dirty!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#184 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:184 def dirty?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#338 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:338 def full_rollback?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#244 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:244 def incomplete!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#153 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:153 def invalidate!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#153 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:153 def invalidated?(*_arg0, **_arg1, &_arg2); end # Returns the isolation level if it was explicitly set, nil otherwise # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#156 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:156 def isolation; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#160 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:160 def isolation=(isolation); end # Returns the value of attribute isolation_level. # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:150 def isolation_level; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#339 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:339 def joinable?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#248 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:248 def materialize!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#253 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:253 def materialized?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#188 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:188 def open?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#230 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:230 def records; end # Can this transaction's current state be recreated by @@ -18466,258 +18481,258 @@ class ActiveRecord::ConnectionAdapters::Transaction # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#240 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:240 def restartable?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#257 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:257 def restore!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#265 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:265 def rollback_records; end # Returns the value of attribute savepoint_name. # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:150 def savepoint_name; end # Returns the value of attribute state. # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:150 def state; end # Returns the value of attribute user_transaction. # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#150 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:150 def user_transaction; end # Returns the value of attribute written. # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#151 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:151 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#151 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:151 def written=(_arg0); end protected - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#342 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:342 def append_callbacks(callbacks); end private - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#359 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:359 def prepare_instances_to_run_callbacks_on(records); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#351 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:351 def run_action_on_records(records, instances_to_run_callbacks_on); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#347 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:347 def unique_records; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#131 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:131 class ActiveRecord::ConnectionAdapters::Transaction::Callback # @return [Callback] a new instance of Callback # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#132 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:132 def initialize(event, callback); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#141 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:141 def after_commit; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#145 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:145 def after_rollback; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#137 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:137 def before_commit; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#79 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:79 class ActiveRecord::ConnectionAdapters::TransactionInstrumenter # @return [TransactionInstrumenter] a new instance of TransactionInstrumenter # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#80 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:80 def initialize(payload = T.unsafe(nil)); end # @raise [InstrumentationNotStartedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#101 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:101 def finish(outcome); end # @raise [InstrumentationAlreadyStartedError] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#90 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:90 def start; end end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#88 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:88 class ActiveRecord::ConnectionAdapters::TransactionInstrumenter::InstrumentationAlreadyStartedError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#87 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:87 class ActiveRecord::ConnectionAdapters::TransactionInstrumenter::InstrumentationNotStartedError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#518 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:518 class ActiveRecord::ConnectionAdapters::TransactionManager # @return [TransactionManager] a new instance of TransactionManager # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#519 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:519 def initialize(connection); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#527 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:527 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#614 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:614 def commit_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#683 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:683 def current_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#582 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:582 def dirty_current_transaction; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#569 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:569 def disable_lazy_transactions!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#574 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:574 def enable_lazy_transactions!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#578 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:578 def lazy_transactions_enabled?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#598 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:598 def materialize_transactions; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#679 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:679 def open_transactions; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#594 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:594 def restorable?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#586 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:586 def restore_transactions; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#631 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:631 def rollback_transaction(transaction = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#643 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:643 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#691 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:691 def after_failure_actions(transaction, error); end end -# source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#688 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:688 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#8 +# pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:8 class ActiveRecord::ConnectionAdapters::TransactionState # @return [TransactionState] a new instance of TransactionState # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#9 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:9 def initialize(state = T.unsafe(nil)); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#14 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:14 def add_child(state); end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#66 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:66 def commit!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#23 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:23 def committed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#47 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:47 def completed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#19 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:19 def finalized?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#70 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:70 def full_commit!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#56 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:56 def full_rollback!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#27 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:27 def fully_committed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#43 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:43 def fully_completed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#35 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:35 def fully_rolledback?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#61 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:61 def invalidate!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#39 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:39 def invalidated?; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#74 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:74 def nullify!; end - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#51 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:51 def rollback!; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_adapters/abstract/transaction.rb#31 + # pkg:gem/activerecord#lib/active_record/connection_adapters/abstract/transaction.rb:31 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#595 +# pkg:gem/activerecord#lib/active_record/errors.rb:595 class ActiveRecord::ConnectionFailed < ::ActiveRecord::QueryAborted; end # = Active Record Connection Handling # -# source://activerecord//lib/active_record/connection_handling.rb#5 +# pkg:gem/activerecord#lib/active_record/connection_handling.rb:5 module ActiveRecord::ConnectionHandling - # source://activerecord//lib/active_record/connection_handling.rb#341 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:341 def adapter_class; end - # source://activerecord//lib/active_record/connection_handling.rb#375 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:375 def clear_cache!; end # Clears the query cache for all connections associated with the current thread. # - # source://activerecord//lib/active_record/connection_handling.rb#261 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:261 def clear_query_caches_for_current_thread; end # Returns +true+ if Active Record is connected. # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_handling.rb#354 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:354 def connected?; end # Connects to a role (e.g. writing, reading, or a custom role) and/or @@ -18747,7 +18762,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#137 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:137 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 @@ -18767,7 +18782,7 @@ module ActiveRecord::ConnectionHandling # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_handling.rb#256 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:256 def connected_to?(role:, shard: T.unsafe(nil)); end # Passes the block to +connected_to+ for every +shard+ the @@ -18777,7 +18792,7 @@ module ActiveRecord::ConnectionHandling # Optionally, +role+ and/or +prevent_writes+ can be passed which # will be forwarded to each +connected_to+ call. # - # source://activerecord//lib/active_record/connection_handling.rb#189 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:189 def connected_to_all_shards(role: T.unsafe(nil), prevent_writes: T.unsafe(nil), &blk); end # Connects a role and/or shard to the provided connection names. Optionally +prevent_writes+ @@ -18794,7 +18809,7 @@ module ActiveRecord::ConnectionHandling # Person.first # Read from primary writer # end # - # source://activerecord//lib/active_record/connection_handling.rb#166 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:166 def connected_to_many(*classes, role:, shard: T.unsafe(nil), prevent_writes: T.unsafe(nil)); end # Use a specified connection. @@ -18805,12 +18820,12 @@ 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#202 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:202 def connecting_to(role: T.unsafe(nil), shard: T.unsafe(nil), prevent_writes: T.unsafe(nil)); end # Soft deprecated. Use +#with_connection+ or +#lease_connection+ instead. # - # source://activerecord//lib/active_record/connection_handling.rb#277 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:277 def connection; end # Returns the db_config object from the associated connection: @@ -18821,22 +18836,22 @@ module ActiveRecord::ConnectionHandling # # Use only for reading. # - # source://activerecord//lib/active_record/connection_handling.rb#337 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:337 def connection_db_config; end - # source://activerecord//lib/active_record/connection_handling.rb#345 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:345 def connection_pool; end # Returns the connection specification name from the current class or its parent. # - # source://activerecord//lib/active_record/connection_handling.rb#319 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:319 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#316 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:316 def connection_specification_name=(_arg0); end # Connects a model to the databases specified. The +database+ keyword @@ -18867,7 +18882,7 @@ module ActiveRecord::ConnectionHandling # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/connection_handling.rb#81 + # pkg:gem/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 @@ -18912,7 +18927,7 @@ module ActiveRecord::ConnectionHandling # The exceptions AdapterNotSpecified, AdapterNotFound, and +ArgumentError+ # may be returned on an error. # - # source://activerecord//lib/active_record/connection_handling.rb#50 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:50 def establish_connection(config_or_env = T.unsafe(nil)); end # Returns the connection currently associated with the class. This can @@ -18921,12 +18936,12 @@ module ActiveRecord::ConnectionHandling # The connection will remain leased for the entire duration of the request # or job, or until +#release_connection+ is called. # - # source://activerecord//lib/active_record/connection_handling.rb#272 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:272 def lease_connection; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_handling.rb#326 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:326 def primary_class?; end # Prohibit swapping shards while inside of the passed block. @@ -18936,36 +18951,36 @@ 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#214 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:214 def prohibit_shard_swapping(enabled = T.unsafe(nil)); end # Return the currently leased connection into the pool # - # source://activerecord//lib/active_record/connection_handling.rb#301 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:301 def release_connection; end - # source://activerecord//lib/active_record/connection_handling.rb#358 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:358 def remove_connection; end - # source://activerecord//lib/active_record/connection_handling.rb#349 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:349 def retrieve_connection; end - # source://activerecord//lib/active_record/connection_handling.rb#371 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:371 def schema_cache; end - # source://activerecord//lib/active_record/connection_handling.rb#379 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:379 def shard_keys; end # Determine whether or not shard swapping is currently prohibited # # @return [Boolean] # - # source://activerecord//lib/active_record/connection_handling.rb#223 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:223 def shard_swapping_prohibited?; end # @return [Boolean] # - # source://activerecord//lib/active_record/connection_handling.rb#383 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:383 def sharded?; end # Prevent writing to the database regardless of role. @@ -18980,7 +18995,7 @@ module ActiveRecord::ConnectionHandling # See +READ_QUERY+ for the queries that are blocked by this # method. # - # source://activerecord//lib/active_record/connection_handling.rb#238 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:238 def while_preventing_writes(enabled = T.unsafe(nil), &block); end # Checkouts a connection from the pool, yield it and then check it back in. @@ -18991,50 +19006,50 @@ module ActiveRecord::ConnectionHandling # If #connection is called inside the block, the connection won't be checked back in # unless the +prevent_permanent_checkout+ argument is set to +true+. # - # source://activerecord//lib/active_record/connection_handling.rb#312 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:312 def with_connection(prevent_permanent_checkout: T.unsafe(nil), &block); end private - # source://activerecord//lib/active_record/connection_handling.rb#410 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:410 def append_to_connected_to_stack(entry); end - # source://activerecord//lib/active_record/connection_handling.rb#388 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:388 def resolve_config_for_connection(config_or_env); end - # source://activerecord//lib/active_record/connection_handling.rb#397 + # pkg:gem/activerecord#lib/active_record/connection_handling.rb:397 def with_role_and_shard(role, shard, prevent_writes); end end -# source://activerecord//lib/active_record/connection_handling.rb#7 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/connection_handling.rb:6 ActiveRecord::ConnectionHandling::RAILS_ENV = T.let(T.unsafe(nil), Proc) # Raised when a database connection pool is requested but # has not been defined. # -# source://activerecord//lib/active_record/errors.rb#88 +# pkg:gem/activerecord#lib/active_record/errors.rb:88 class ActiveRecord::ConnectionNotDefined < ::ActiveRecord::ConnectionNotEstablished # @return [ConnectionNotDefined] a new instance of ConnectionNotDefined # - # source://activerecord//lib/active_record/errors.rb#89 + # pkg:gem/activerecord#lib/active_record/errors.rb:89 def initialize(message = T.unsafe(nil), connection_name: T.unsafe(nil), role: T.unsafe(nil), shard: T.unsafe(nil)); end # Returns the value of attribute connection_name. # - # source://activerecord//lib/active_record/errors.rb#96 + # pkg:gem/activerecord#lib/active_record/errors.rb:96 def connection_name; end # Returns the value of attribute role. # - # source://activerecord//lib/active_record/errors.rb#96 + # pkg:gem/activerecord#lib/active_record/errors.rb:96 def role; end # Returns the value of attribute shard. # - # source://activerecord//lib/active_record/errors.rb#96 + # pkg:gem/activerecord#lib/active_record/errors.rb:96 def shard; end end @@ -19042,14 +19057,14 @@ end # {ActiveRecord::Base.lease_connection=}[rdoc-ref:ConnectionHandling#lease_connection] # is given a +nil+ object). # -# source://activerecord//lib/active_record/errors.rb#66 +# pkg:gem/activerecord#lib/active_record/errors.rb:66 class ActiveRecord::ConnectionNotEstablished < ::ActiveRecord::AdapterError # @return [ConnectionNotEstablished] a new instance of ConnectionNotEstablished # - # source://activerecord//lib/active_record/errors.rb#67 + # pkg:gem/activerecord#lib/active_record/errors.rb:67 def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end - # source://activerecord//lib/active_record/errors.rb#71 + # pkg:gem/activerecord#lib/active_record/errors.rb:71 def set_pool(connection_pool); end end @@ -19057,12 +19072,12 @@ end # acquisition timeout period: because max connections in pool # are in use. # -# source://activerecord//lib/active_record/errors.rb#83 +# pkg:gem/activerecord#lib/active_record/errors.rb:83 class ActiveRecord::ConnectionTimeoutError < ::ActiveRecord::ConnectionNotEstablished; end # = Active Record \Core # -# source://activerecord//lib/active_record/core.rb#9 +# pkg:gem/activerecord#lib/active_record/core.rb:9 module ActiveRecord::Core include ::ActiveModel::Access extend ::ActiveSupport::Concern @@ -19083,12 +19098,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#472 + # pkg:gem/activerecord#lib/active_record/core.rb:472 def initialize(attributes = T.unsafe(nil)); end # Allows sort on objects # - # source://activerecord//lib/active_record/core.rb#666 + # pkg:gem/activerecord#lib/active_record/core.rb:666 def <=>(other_object); end # Returns true if +comparison_object+ is the same exact object, or +comparison_object+ @@ -19101,15 +19116,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#632 + # pkg:gem/activerecord#lib/active_record/core.rb:632 def ==(comparison_object); end # @return [Boolean] # - # source://activerecord//lib/active_record/core.rb#678 + # pkg:gem/activerecord#lib/active_record/core.rb:678 def blank?; end - # source://activerecord//lib/active_record/core.rb#771 + # pkg:gem/activerecord#lib/active_record/core.rb:771 def connection_handler; end # Populate +coder+ with attributes about this record that should be @@ -19125,7 +19140,7 @@ module ActiveRecord::Core # Post.new.encode_with(coder) # coder # => {"attributes" => {"id" => nil, ... }} # - # source://activerecord//lib/active_record/core.rb#588 + # pkg:gem/activerecord#lib/active_record/core.rb:588 def encode_with(coder); end # Returns true if +comparison_object+ is the same exact object, or +comparison_object+ @@ -19138,21 +19153,21 @@ 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#638 + # pkg:gem/activerecord#lib/active_record/core.rb:638 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#655 + # pkg:gem/activerecord#lib/active_record/core.rb:655 def freeze; end # Returns +true+ if the attributes hash has been frozen. # # @return [Boolean] # - # source://activerecord//lib/active_record/core.rb#661 + # pkg:gem/activerecord#lib/active_record/core.rb:661 def frozen?; end # Returns all attributes of the record as a nicely formatted string, @@ -19161,16 +19176,16 @@ module ActiveRecord::Core # Post.first.full_inspect # #=> "#" # - # source://activerecord//lib/active_record/core.rb#795 + # pkg:gem/activerecord#lib/active_record/core.rb:795 def full_inspect; 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#642 + # pkg:gem/activerecord#lib/active_record/core.rb:642 def hash; end - # source://activerecord//lib/active_record/core.rb#564 + # pkg:gem/activerecord#lib/active_record/core.rb:564 def init_attributes(_); end # Initialize an empty model object from +coder+. +coder+ should be @@ -19188,7 +19203,7 @@ module ActiveRecord::Core # post.init_with(coder) # post.title # => 'hello world' # - # source://activerecord//lib/active_record/core.rb#499 + # pkg:gem/activerecord#lib/active_record/core.rb:499 def init_with(coder, &block); end # Initialize an empty model object from +attributes+. @@ -19198,7 +19213,7 @@ module ActiveRecord::Core # @yield [_self] # @yieldparam _self [ActiveRecord::Core] the object that the method was called on # - # source://activerecord//lib/active_record/core.rb#509 + # pkg:gem/activerecord#lib/active_record/core.rb:509 def init_with_attributes(attributes, new_record = T.unsafe(nil)); end # Returns the attributes of the record as a nicely formatted string. @@ -19212,18 +19227,18 @@ module ActiveRecord::Core # Post.first.inspect # #=> "#" # - # source://activerecord//lib/active_record/core.rb#785 + # pkg:gem/activerecord#lib/active_record/core.rb:785 def inspect; end # @return [Boolean] # - # source://activerecord//lib/active_record/core.rb#674 + # pkg:gem/activerecord#lib/active_record/core.rb:674 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#801 + # pkg:gem/activerecord#lib/active_record/core.rb:801 def pretty_print(pp); end # Prevents records from being written to the database: @@ -19250,14 +19265,14 @@ module ActiveRecord::Core # # but you won't be able to persist the changes. # - # source://activerecord//lib/active_record/core.rb#767 + # pkg:gem/activerecord#lib/active_record/core.rb:767 def readonly!; end # Returns +true+ if the record is read only. # # @return [Boolean] # - # source://activerecord//lib/active_record/core.rb#683 + # pkg:gem/activerecord#lib/active_record/core.rb:683 def readonly?; end # Sets the record to strict_loading mode. This will raise an error @@ -19292,61 +19307,61 @@ module ActiveRecord::Core # user.comments.first.ratings.to_a # # => ActiveRecord::StrictLoadingViolationError # - # source://activerecord//lib/active_record/core.rb#723 + # pkg:gem/activerecord#lib/active_record/core.rb:723 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#688 + # pkg:gem/activerecord#lib/active_record/core.rb:688 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#740 + # pkg:gem/activerecord#lib/active_record/core.rb:740 def strict_loading_all?; end # Returns the value of attribute strict_loading_mode. # - # source://activerecord//lib/active_record/core.rb#732 + # pkg:gem/activerecord#lib/active_record/core.rb:732 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#735 + # pkg:gem/activerecord#lib/active_record/core.rb:735 def strict_loading_n_plus_one_only?; end private - # source://activerecord//lib/active_record/core.rb#891 + # pkg:gem/activerecord#lib/active_record/core.rb:891 def all_attributes_for_inspect; end - # source://activerecord//lib/active_record/core.rb#887 + # pkg:gem/activerecord#lib/active_record/core.rb:887 def attributes_for_inspect; end # @return [Boolean] # - # source://activerecord//lib/active_record/core.rb#857 + # pkg:gem/activerecord#lib/active_record/core.rb:857 def custom_inspect_method_defined?; end - # source://activerecord//lib/active_record/core.rb#837 + # pkg:gem/activerecord#lib/active_record/core.rb:837 def init_internals; end - # source://activerecord//lib/active_record/core.rb#551 + # pkg:gem/activerecord#lib/active_record/core.rb:551 def initialize_dup(other); end - # source://activerecord//lib/active_record/core.rb#854 + # pkg:gem/activerecord#lib/active_record/core.rb:854 def initialize_internals_callback; end - # source://activerecord//lib/active_record/core.rb#872 + # pkg:gem/activerecord#lib/active_record/core.rb:872 def inspect_with_attributes(attributes_to_list); end - # source://activerecord//lib/active_record/core.rb#868 + # pkg:gem/activerecord#lib/active_record/core.rb:868 def inspection_filter; end # +Array#flatten+ will call +#to_ary+ (recursively) on each of the elements of @@ -19358,7 +19373,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#833 + # pkg:gem/activerecord#lib/active_record/core.rb:833 def to_ary; end module GeneratedClassMethods @@ -19418,79 +19433,79 @@ module ActiveRecord::Core end end -# source://activerecord//lib/active_record/core.rb#264 +# pkg:gem/activerecord#lib/active_record/core.rb:264 module ActiveRecord::Core::ClassMethods # Returns an instance of +Arel::Table+ loaded with the current table name. # - # source://activerecord//lib/active_record/core.rb#392 + # pkg:gem/activerecord#lib/active_record/core.rb:392 def arel_table; end - # source://activerecord//lib/active_record/core.rb#404 + # pkg:gem/activerecord#lib/active_record/core.rb:404 def cached_find_by_statement(connection, key, &block); end # Returns columns which shouldn't be exposed while calling +#inspect+. # - # source://activerecord//lib/active_record/core.rb#348 + # pkg:gem/activerecord#lib/active_record/core.rb:348 def filter_attributes; end # Specifies columns which shouldn't be exposed while calling +#inspect+. # - # source://activerecord//lib/active_record/core.rb#357 + # pkg:gem/activerecord#lib/active_record/core.rb:357 def filter_attributes=(filter_attributes); end - # source://activerecord//lib/active_record/core.rb#269 + # pkg:gem/activerecord#lib/active_record/core.rb:269 def find(*ids); end - # source://activerecord//lib/active_record/core.rb#282 + # pkg:gem/activerecord#lib/active_record/core.rb:282 def find_by(*args); end - # source://activerecord//lib/active_record/core.rb#329 + # pkg:gem/activerecord#lib/active_record/core.rb:329 def find_by!(*args); end - # source://activerecord//lib/active_record/core.rb#337 + # pkg:gem/activerecord#lib/active_record/core.rb:337 def generated_association_methods; end - # source://activerecord//lib/active_record/core.rb#265 + # pkg:gem/activerecord#lib/active_record/core.rb:265 def initialize_find_by_cache; end - # source://activerecord//lib/active_record/core.rb#333 + # pkg:gem/activerecord#lib/active_record/core.rb:333 def initialize_generated_modules; end # Returns a string like 'Post(id:integer, title:string, body:text)' # - # source://activerecord//lib/active_record/core.rb#376 + # pkg:gem/activerecord#lib/active_record/core.rb:376 def inspect; end - # source://activerecord//lib/active_record/core.rb#364 + # pkg:gem/activerecord#lib/active_record/core.rb:364 def inspection_filter; end - # source://activerecord//lib/active_record/core.rb#396 + # pkg:gem/activerecord#lib/active_record/core.rb:396 def predicate_builder; end - # source://activerecord//lib/active_record/core.rb#400 + # pkg:gem/activerecord#lib/active_record/core.rb:400 def type_caster; end private - # source://activerecord//lib/active_record/core.rb#442 + # pkg:gem/activerecord#lib/active_record/core.rb:442 def cached_find_by(keys, values); end - # source://activerecord//lib/active_record/core.rb#410 + # pkg:gem/activerecord#lib/active_record/core.rb:410 def inherited(subclass); end - # source://activerecord//lib/active_record/core.rb#432 + # pkg:gem/activerecord#lib/active_record/core.rb:432 def relation; end end -# source://activerecord//lib/active_record/core.rb#861 +# pkg:gem/activerecord#lib/active_record/core.rb:861 class ActiveRecord::Core::InspectionMask - # source://activerecord//lib/active_record/core.rb#862 + # pkg:gem/activerecord#lib/active_record/core.rb:862 def pretty_print(pp); end end # = Active Record Counter Cache # -# source://activerecord//lib/active_record/counter_cache.rb#5 +# pkg:gem/activerecord#lib/active_record/counter_cache.rb:5 module ActiveRecord::CounterCache extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -19500,15 +19515,15 @@ module ActiveRecord::CounterCache private - # source://activerecord//lib/active_record/counter_cache.rb#225 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:225 def _create_record(attribute_names = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/counter_cache.rb#251 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:251 def _foreign_keys_equal?(fkey1, fkey2); end - # source://activerecord//lib/active_record/counter_cache.rb#235 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:235 def destroy_row; end module GeneratedClassMethods @@ -19526,11 +19541,11 @@ module ActiveRecord::CounterCache end end -# source://activerecord//lib/active_record/counter_cache.rb#13 +# pkg:gem/activerecord#lib/active_record/counter_cache.rb:13 module ActiveRecord::CounterCache::ClassMethods # @return [Boolean] # - # source://activerecord//lib/active_record/counter_cache.rb#207 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:207 def counter_cache_column?(name); end # Decrement a numeric field by one, via a direct SQL update. @@ -19560,7 +19575,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#203 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:203 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. @@ -19592,10 +19607,10 @@ 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#173 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:173 def increment_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end - # source://activerecord//lib/active_record/counter_cache.rb#211 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:211 def load_schema!; end # Resets one or more counter caches to their correct value using an SQL @@ -19622,7 +19637,7 @@ module ActiveRecord::CounterCache::ClassMethods # # attributes. # Post.reset_counters(1, :comments, touch: true) # - # source://activerecord//lib/active_record/counter_cache.rb#37 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:37 def reset_counters(id, *counters, touch: T.unsafe(nil)); end # A generic "counter updater" implementation, intended primarily to be @@ -19667,19 +19682,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#140 + # pkg:gem/activerecord#lib/active_record/counter_cache.rb:140 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#447 +# pkg:gem/activerecord#lib/active_record/errors.rb:447 class ActiveRecord::DangerousAttributeError < ::ActiveRecord::ActiveRecordError; end # Raised when creating a database if it exists. # -# source://activerecord//lib/active_record/errors.rb#364 +# pkg:gem/activerecord#lib/active_record/errors.rb:364 class ActiveRecord::DatabaseAlreadyExists < ::ActiveRecord::StatementInvalid; end # = Active Record Database Configurations @@ -19696,21 +19711,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 +# pkg:gem/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#75 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:75 def initialize(configurations = T.unsafe(nil)); end - # source://activerecord//lib/active_record/database_configurations.rb#27 + # pkg:gem/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#155 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:155 def blank?; end # Collects the configs for the environment and optionally the specification @@ -19735,19 +19750,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#100 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:100 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 + # pkg:gem/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#152 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:152 def empty?; end # Returns a single +DatabaseConfig+ object based on the requested environment. @@ -19755,7 +19770,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#129 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:129 def find_db_config(env); end # A primary configuration is one that is named primary or if there is @@ -19767,7 +19782,7 @@ class ActiveRecord::DatabaseConfigurations # # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations.rb#144 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:144 def primary?(name); end # Returns fully resolved connection, accepts hash, string or symbol. @@ -19790,52 +19805,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#176 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:176 def resolve(config); end private - # source://activerecord//lib/active_record/database_configurations.rb#202 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:202 def build_configs(configs); end - # source://activerecord//lib/active_record/database_configurations.rb#241 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:241 def build_configuration_sentence; end - # source://activerecord//lib/active_record/database_configurations.rb#275 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:275 def build_db_config_from_hash(env_name, name, config); end - # source://activerecord//lib/active_record/database_configurations.rb#254 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:254 def build_db_config_from_raw_config(env_name, name, config); end - # source://activerecord//lib/active_record/database_configurations.rb#265 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:265 def build_db_config_from_string(env_name, name, config); end - # source://activerecord//lib/active_record/database_configurations.rb#190 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:190 def default_env; end - # source://activerecord//lib/active_record/database_configurations.rb#194 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:194 def env_with_configs(env = T.unsafe(nil)); end - # source://activerecord//lib/active_record/database_configurations.rb#297 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:297 def environment_url_config(env, name, config); end - # source://activerecord//lib/active_record/database_configurations.rb#304 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:304 def environment_value_for(name); end - # source://activerecord//lib/active_record/database_configurations.rb#288 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:288 def merge_db_environment_variables(current_env, configs); end - # source://activerecord//lib/active_record/database_configurations.rb#227 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:227 def resolve_symbol_connection(name); end - # source://activerecord//lib/active_record/database_configurations.rb#221 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:221 def walk_configs(env_name, config); end class << self - # source://activerecord//lib/active_record/database_configurations.rb#29 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:29 def db_config_handlers; end - # source://activerecord//lib/active_record/database_configurations.rb#29 + # pkg:gem/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 @@ -19870,14 +19885,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#63 + # pkg:gem/activerecord#lib/active_record/database_configurations.rb:63 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 +# pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:10 class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver # == Example # @@ -19896,19 +19911,19 @@ class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver # # @return [ConnectionUrlResolver] a new instance of ConnectionUrlResolver # - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#25 + # pkg:gem/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#38 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:38 def to_hash; end private # Returns name of the database. # - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#91 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:91 def database_from_path; end # Converts the query parameters of the URI into a hash. @@ -19921,21 +19936,21 @@ class ActiveRecord::DatabaseConfigurations::ConnectionUrlResolver # "localhost" # # => {} # - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#60 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:60 def query_hash; end - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#64 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:64 def raw_config; end - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#82 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:82 def resolved_adapter; end # Returns the value of attribute uri. # - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#45 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:45 def uri; end - # source://activerecord//lib/active_record/database_configurations/connection_url_resolver.rb#47 + # pkg:gem/activerecord#lib/active_record/database_configurations/connection_url_resolver.rb:47 def uri_parser; end end @@ -19943,127 +19958,127 @@ 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 +# pkg:gem/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 + # pkg:gem/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#43 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:43 def _database=(database); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#47 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:47 def adapter; end - # source://activerecord//lib/active_record/database_configurations/database_config.rb#17 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:17 def adapter_class; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#75 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:75 def checkout_timeout; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#39 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:39 def database; end - # source://activerecord//lib/active_record/database_configurations/database_config.rb#9 + # pkg:gem/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#95 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:95 def for_current_env?; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#35 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:35 def host; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#83 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:83 def idle_timeout; end - # source://activerecord//lib/active_record/database_configurations/database_config.rb#21 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:21 def inspect; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#55 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:55 def max_connections; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#67 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:67 def max_queue; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#63 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:63 def max_threads; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#91 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:91 def migrations_paths; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#51 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:51 def min_connections; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#59 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:59 def min_threads; end - # source://activerecord//lib/active_record/database_configurations/database_config.rb#9 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:9 def name; end - # source://activerecord//lib/active_record/database_configurations/database_config.rb#25 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:25 def new_connection; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#71 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:71 def query_cache; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#79 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:79 def reaping_frequency; end # @raise [NotImplementedError] # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#87 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:87 def replica?; end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#99 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:99 def schema_cache_path; end # @raise [NotImplementedError] # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#107 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:107 def seeds?; end # @raise [NotImplementedError] # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/database_config.rb#103 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:103 def use_metadata_table?; end - # source://activerecord//lib/active_record/database_configurations/database_config.rb#29 + # pkg:gem/activerecord#lib/active_record/database_configurations/database_config.rb:29 def validate!; end end @@ -20083,7 +20098,7 @@ end # # See ActiveRecord::DatabaseConfigurations for more info. # -# source://activerecord//lib/active_record/database_configurations/hash_config.rb#22 +# pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:22 class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::DatabaseConfigurations::DatabaseConfig # Initialize a new `HashConfig` object # @@ -20100,82 +20115,82 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas # # @return [HashConfig] a new instance of HashConfig # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#38 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:38 def initialize(env_name, name, configuration_hash); end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#69 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:69 def _database=(database); end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#130 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:130 def adapter; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#112 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:112 def checkout_timeout; end # Returns the value of attribute configuration_hash. # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#23 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:23 def configuration_hash; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#65 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:65 def database; end # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#190 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:190 def database_tasks?; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#140 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:140 def default_schema_cache_path(db_dir = T.unsafe(nil)); end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#57 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:57 def host; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#120 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:120 def idle_timeout; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#125 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:125 def keepalive; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#148 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:148 def lazy_schema_cache_path; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#95 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:95 def max_age; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#73 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:73 def max_connections; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#108 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:108 def max_queue; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#91 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:91 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#53 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:53 def migrations_paths; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#80 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:80 def min_connections; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#87 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:87 def min_threads; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#84 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:84 def pool(*args, **_arg1, &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#152 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:152 def primary?; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#104 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:104 def query_cache; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#116 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:116 def reaping_frequency; end # Determines whether a database configuration is for a replica / readonly @@ -20184,13 +20199,13 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas # # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#47 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:47 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#136 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:136 def schema_cache_path; end # Determines whether to dump the schema/structure files and the filename that @@ -20202,10 +20217,10 @@ 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#172 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:172 def schema_dump(format = T.unsafe(nil)); end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#184 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:184 def schema_format; end # Determines whether the db:prepare task should seed the database from db/seeds.rb. @@ -20215,30 +20230,30 @@ class ActiveRecord::DatabaseConfigurations::HashConfig < ::ActiveRecord::Databas # # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#160 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:160 def seeds?; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#61 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:61 def socket; end # @return [Boolean] # - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#194 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:194 def use_metadata_table?; end private - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#208 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:208 def default_reaping_frequency; end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#199 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:199 def schema_file_type(format); end - # source://activerecord//lib/active_record/database_configurations/hash_config.rb#214 + # pkg:gem/activerecord#lib/active_record/database_configurations/hash_config.rb:214 def validate_configuration!; end end -# source://activerecord//lib/active_record/database_configurations.rb#24 +# pkg:gem/activerecord#lib/active_record/database_configurations.rb:24 class ActiveRecord::DatabaseConfigurations::InvalidConfigurationError < ::StandardError; end # = Active Record Database Url Config @@ -20260,7 +20275,7 @@ class ActiveRecord::DatabaseConfigurations::InvalidConfigurationError < ::Standa # # See ActiveRecord::DatabaseConfigurations for more info. # -# source://activerecord//lib/active_record/database_configurations/url_config.rb#24 +# pkg:gem/activerecord#lib/active_record/database_configurations/url_config.rb:24 class ActiveRecord::DatabaseConfigurations::UrlConfig < ::ActiveRecord::DatabaseConfigurations::HashConfig # Initialize a new +UrlConfig+ object # @@ -20278,12 +20293,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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/database_configurations/url_config.rb:25 def url; end private @@ -20291,31 +20306,31 @@ 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#79 + # pkg:gem/activerecord#lib/active_record/database_configurations/url_config.rb:79 def build_url_hash; end - # source://activerecord//lib/active_record/database_configurations/url_config.rb#60 + # pkg:gem/activerecord#lib/active_record/database_configurations/url_config.rb:60 def parse_query_cache; end - # source://activerecord//lib/active_record/database_configurations/url_config.rb#71 + # pkg:gem/activerecord#lib/active_record/database_configurations/url_config.rb:71 def to_boolean!(configuration_hash, key); 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#101 +# pkg:gem/activerecord#lib/active_record/errors.rb:101 class ActiveRecord::DatabaseConnectionError < ::ActiveRecord::ConnectionNotEstablished # @return [DatabaseConnectionError] a new instance of DatabaseConnectionError # - # source://activerecord//lib/active_record/errors.rb#102 + # pkg:gem/activerecord#lib/active_record/errors.rb:102 def initialize(message = T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/errors.rb#107 + # pkg:gem/activerecord#lib/active_record/errors.rb:107 def hostname_error(hostname); end - # source://activerecord//lib/active_record/errors.rb#114 + # pkg:gem/activerecord#lib/active_record/errors.rb:114 def username_error(username); end end end @@ -20323,7 +20338,7 @@ end # DatabaseVersionError will be raised when the database version is not supported, or when # the database version cannot be determined. # -# source://activerecord//lib/active_record/errors.rb#623 +# pkg:gem/activerecord#lib/active_record/errors.rb:623 class ActiveRecord::DatabaseVersionError < ::ActiveRecord::ActiveRecordError; end # Deadlocked will be raised when a transaction is rolled @@ -20332,7 +20347,7 @@ class ActiveRecord::DatabaseVersionError < ::ActiveRecord::ActiveRecordError; en # 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#560 +# pkg:gem/activerecord#lib/active_record/errors.rb:560 class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end # = Delegated types @@ -20505,7 +20520,7 @@ class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end # entry.entryable.id # => 2 # entry.entryable.subject # => 'Smiling' # -# source://activerecord//lib/active_record/delegated_type.rb#175 +# pkg:gem/activerecord#lib/active_record/delegated_type.rb:175 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 @@ -20563,151 +20578,151 @@ 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#231 + # pkg:gem/activerecord#lib/active_record/delegated_type.rb:231 def delegated_type(role, types:, **options); end private - # source://activerecord//lib/active_record/delegated_type.rb#237 + # pkg:gem/activerecord#lib/active_record/delegated_type.rb:237 def define_delegated_type_methods(role, types:, options:); end end -# source://activerecord//lib/active_record/relation/delegation.rb#5 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:5 module ActiveRecord::Delegation extend ::ActiveSupport::Concern mixes_in_class_methods ::ActiveRecord::Delegation::ClassMethods - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def &(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def +(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def -(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def [](*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def as_json(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def compact(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def connection(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def each(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def encode_with(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def in_groups(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def index(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def intersect?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def join(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def length(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def name(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def reverse(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def rindex(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def rotate(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def sample(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def sanitize_sql_like(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def slice(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def split(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def table_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def to_fs(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def to_sentence(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def to_xml(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def transaction(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def unscoped(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#105 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:105 def with_connection(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/delegation.rb#100 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:100 def |(*_arg0, **_arg1, &_arg2); end private # @return [Boolean] # - # source://activerecord//lib/active_record/relation/delegation.rb#149 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:149 def respond_to_missing?(method, _); end class << self - # source://activerecord//lib/active_record/relation/delegation.rb#7 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:7 def delegated_classes; end - # source://activerecord//lib/active_record/relation/delegation.rb#16 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:16 def uncacheable_methods; end end end -# source://activerecord//lib/active_record/relation/delegation.rb#137 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:137 module ActiveRecord::Delegation::ClassMethods - # source://activerecord//lib/active_record/relation/delegation.rb#138 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:138 def create(model, *_arg1, **_arg2, &_arg3); end private - # source://activerecord//lib/active_record/relation/delegation.rb#143 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:143 def relation_class_for(model); end end -# source://activerecord//lib/active_record/relation/delegation.rb#107 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:107 module ActiveRecord::Delegation::ClassSpecificRelation extend ::ActiveSupport::Concern @@ -20715,236 +20730,236 @@ module ActiveRecord::Delegation::ClassSpecificRelation private - # source://activerecord//lib/active_record/relation/delegation.rb#117 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:117 def method_missing(method, *_arg1, **_arg2, &_arg3); end end -# source://activerecord//lib/active_record/relation/delegation.rb#110 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:110 module ActiveRecord::Delegation::ClassSpecificRelation::ClassMethods - # source://activerecord//lib/active_record/relation/delegation.rb#111 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:111 def name; end end -# source://activerecord//lib/active_record/relation/delegation.rb#23 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:23 module ActiveRecord::Delegation::DelegateCache - # source://activerecord//lib/active_record/relation/delegation.rb#51 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:51 def generate_relation_method(method); end - # source://activerecord//lib/active_record/relation/delegation.rb#46 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:46 def inherited(child_class); end - # source://activerecord//lib/active_record/relation/delegation.rb#31 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:31 def initialize_relation_delegate_cache; end - # source://activerecord//lib/active_record/relation/delegation.rb#27 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:27 def relation_delegate_class(klass); end protected - # source://activerecord//lib/active_record/relation/delegation.rb#56 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:56 def include_relation_methods(delegate); end private - # source://activerecord//lib/active_record/relation/delegation.rb#62 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:62 def generated_relation_methods; end class << self - # source://activerecord//lib/active_record/relation/delegation.rb#25 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:25 def delegate_base_methods; end - # source://activerecord//lib/active_record/relation/delegation.rb#25 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:25 def delegate_base_methods=(_arg0); end end end -# source://activerecord//lib/active_record/relation/delegation.rb#70 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:70 class ActiveRecord::Delegation::GeneratedRelationMethods < ::Module - # source://activerecord//lib/active_record/relation/delegation.rb#73 + # pkg:gem/activerecord#lib/active_record/relation/delegation.rb:73 def generate_method(method); end end -# source://activerecord//lib/active_record/relation/delegation.rb#71 +# pkg:gem/activerecord#lib/active_record/relation/delegation.rb:71 ActiveRecord::Delegation::GeneratedRelationMethods::MUTEX = T.let(T.unsafe(nil), Thread::Mutex) # This error is raised when trying to destroy a parent instance in N:1 or 1:1 associations # (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/errors.rb#256 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:256 class ActiveRecord::DeleteRestrictionError < ::ActiveRecord::ActiveRecordError # @return [DeleteRestrictionError] a new instance of DeleteRestrictionError # - # source://activerecord//lib/active_record/associations/errors.rb#257 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:257 def initialize(name = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/errors.rb#626 +# pkg:gem/activerecord#lib/active_record/errors.rb:626 class ActiveRecord::DeprecatedAssociationError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/destroy_association_async_job.rb#4 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/destroy_association_async_job.rb:34 def owner_destroyed?(owner, ensuring_owner_was_method); end class << self private - # source://activerecord//lib/active_record/destroy_association_async_job.rb#11 + # pkg:gem/activerecord#lib/active_record/destroy_association_async_job.rb:11 def __class_attr_queue_name; end - # source://activerecord//lib/active_record/destroy_association_async_job.rb#11 + # pkg:gem/activerecord#lib/active_record/destroy_association_async_job.rb:11 def __class_attr_queue_name=(new_value); end - # source://activerecord//lib/active_record/destroy_association_async_job.rb#13 + # pkg:gem/activerecord#lib/active_record/destroy_association_async_job.rb:13 def __class_attr_rescue_handlers; end - # source://activerecord//lib/active_record/destroy_association_async_job.rb#13 + # pkg:gem/activerecord#lib/active_record/destroy_association_async_job.rb:13 def __class_attr_rescue_handlers=(new_value); end end end -# source://activerecord//lib/active_record/disable_joins_association_relation.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/disable_joins_association_relation.rb:5 def key; end - # source://activerecord//lib/active_record/disable_joins_association_relation.rb#13 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/disable_joins_association_relation.rb:25 def load; end end -# source://activerecord//lib/active_record/migration.rb#101 +# pkg:gem/activerecord#lib/active_record/migration.rb:101 class ActiveRecord::DuplicateMigrationNameError < ::ActiveRecord::MigrationError # @return [DuplicateMigrationNameError] a new instance of DuplicateMigrationNameError # - # source://activerecord//lib/active_record/migration.rb#102 + # pkg:gem/activerecord#lib/active_record/migration.rb:102 def initialize(name = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/migration.rb#91 +# pkg:gem/activerecord#lib/active_record/migration.rb:91 class ActiveRecord::DuplicateMigrationVersionError < ::ActiveRecord::MigrationError # @return [DuplicateMigrationVersionError] a new instance of DuplicateMigrationVersionError # - # source://activerecord//lib/active_record/migration.rb#92 + # pkg:gem/activerecord#lib/active_record/migration.rb:92 def initialize(version = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/dynamic_matchers.rb#4 +# pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:4 module ActiveRecord::DynamicMatchers private - # source://activerecord//lib/active_record/dynamic_matchers.rb#17 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:17 def method_missing(name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activerecord//lib/active_record/dynamic_matchers.rb#6 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:6 def respond_to_missing?(name, _); end end -# source://activerecord//lib/active_record/dynamic_matchers.rb#74 +# pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:74 class ActiveRecord::DynamicMatchers::FindBy < ::ActiveRecord::DynamicMatchers::Method class << self - # source://activerecord//lib/active_record/dynamic_matchers.rb#84 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:84 def finder; end # @return [Boolean] # - # source://activerecord//lib/active_record/dynamic_matchers.rb#80 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:80 def match?(name); end # Returns the value of attribute pattern. # - # source://activerecord//lib/active_record/dynamic_matchers.rb#78 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:78 def pattern; end end end -# source://activerecord//lib/active_record/dynamic_matchers.rb#90 +# pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:90 class ActiveRecord::DynamicMatchers::FindByBang < ::ActiveRecord::DynamicMatchers::Method class << self - # source://activerecord//lib/active_record/dynamic_matchers.rb#100 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:100 def finder; end # @return [Boolean] # - # source://activerecord//lib/active_record/dynamic_matchers.rb#96 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:96 def match?(name); end # Returns the value of attribute pattern. # - # source://activerecord//lib/active_record/dynamic_matchers.rb#94 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:94 def pattern; end end end -# source://activerecord//lib/active_record/dynamic_matchers.rb#28 +# pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:28 class ActiveRecord::DynamicMatchers::Method class << self - # source://activerecord//lib/active_record/dynamic_matchers.rb#38 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:38 def define(model, name); end - # source://activerecord//lib/active_record/dynamic_matchers.rb#30 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:30 def match(name); end # @return [Boolean] # - # source://activerecord//lib/active_record/dynamic_matchers.rb#34 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:34 def valid?(model, name); end private - # source://activerecord//lib/active_record/dynamic_matchers.rb#51 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:51 def attribute_names(model, name); end # Given that the parameters starts with `_`, the finder needs to use the # same parameter name. # - # source://activerecord//lib/active_record/dynamic_matchers.rb#68 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:68 def attributes_hash(model, method_name); end - # source://activerecord//lib/active_record/dynamic_matchers.rb#56 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:56 def body(model, method_name); end - # source://activerecord//lib/active_record/dynamic_matchers.rb#47 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:47 def make_pattern(prefix, suffix); 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#62 + # pkg:gem/activerecord#lib/active_record/dynamic_matchers.rb:62 def signature(model, method_name); end end end @@ -20953,15 +20968,15 @@ end # Eager loading polymorphic associations is only possible with # {ActiveRecord::Relation#preload}[rdoc-ref:QueryMethods#preload]. # -# source://activerecord//lib/active_record/associations/errors.rb#243 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:243 class ActiveRecord::EagerLoadPolymorphicError < ::ActiveRecord::ActiveRecordError # @return [EagerLoadPolymorphicError] a new instance of EagerLoadPolymorphicError # - # source://activerecord//lib/active_record/associations/errors.rb#244 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:244 def initialize(reflection = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/encryption.rb#7 +# pkg:gem/activerecord#lib/active_record/encryption.rb:7 module ActiveRecord::Encryption include ::ActiveRecord::Encryption::Configurable include ::ActiveRecord::Encryption::Contexts @@ -20969,94 +20984,94 @@ module ActiveRecord::Encryption extend ::ActiveRecord::Encryption::Configurable::ClassMethods extend ::ActiveRecord::Encryption::Contexts::ClassMethods - # source://activerecord//lib/active_record/encryption.rb#47 + # pkg:gem/activerecord#lib/active_record/encryption.rb:47 def config; end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def custom_contexts; end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def custom_contexts=(obj); end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def default_context; end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def default_context=(val); end - # source://activerecord//lib/active_record/encryption.rb#47 + # pkg:gem/activerecord#lib/active_record/encryption.rb:47 def encrypted_attribute_declaration_listeners; end - # source://activerecord//lib/active_record/encryption.rb#47 + # pkg:gem/activerecord#lib/active_record/encryption.rb:47 def encrypted_attribute_declaration_listeners=(val); end class << self - # source://activerecord//lib/active_record/encryption.rb#47 + # pkg:gem/activerecord#lib/active_record/encryption.rb:47 def config; end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def custom_contexts; end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def custom_contexts=(obj); end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def default_context; end - # source://activerecord//lib/active_record/encryption.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption.rb:48 def default_context=(val); end - # source://activerecord//lib/active_record/encryption.rb#50 + # pkg:gem/activerecord#lib/active_record/encryption.rb:50 def eager_load!; end - # source://activerecord//lib/active_record/encryption.rb#47 + # pkg:gem/activerecord#lib/active_record/encryption.rb:47 def encrypted_attribute_declaration_listeners; end - # source://activerecord//lib/active_record/encryption.rb#47 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/auto_filtered_parameters.rb:20 def app; end - # source://activerecord//lib/active_record/encryption/auto_filtered_parameters.rb#36 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/auto_filtered_parameters.rb:22 def install_collecting_hook; end end @@ -21067,7 +21082,7 @@ end # # See +Cipher::Aes256Gcm+. # -# source://activerecord//lib/active_record/encryption/cipher.rb#11 +# pkg:gem/activerecord#lib/active_record/encryption/cipher.rb:11 class ActiveRecord::Encryption::Cipher extend ::ActiveSupport::Autoload @@ -21076,26 +21091,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/cipher.rb:35 def iv_length; end - # source://activerecord//lib/active_record/encryption/cipher.rb#31 + # pkg:gem/activerecord#lib/active_record/encryption/cipher.rb:31 def key_length; end private - # source://activerecord//lib/active_record/encryption/cipher.rb#48 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/cipher.rb:40 def try_to_decrypt_with_each(encrypted_text, keys:); end end @@ -21106,289 +21121,289 @@ end # # See +Encryptor+ # -# source://activerecord//lib/active_record/encryption/cipher/aes256_gcm.rb#14 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#14 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:14 def initialize; end # Returns the value of attribute add_to_filter_parameters. # - # source://activerecord//lib/active_record/encryption/config.rb#9 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:9 def add_to_filter_parameters=(_arg0); end # Returns the value of attribute compressor. # - # source://activerecord//lib/active_record/encryption/config.rb#9 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:9 def compressor; end # Sets the attribute compressor # # @param value the value to set the attribute compressor to. # - # source://activerecord//lib/active_record/encryption/config.rb#9 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:9 def compressor=(_arg0); end # Returns the value of attribute deterministic_key. # - # source://activerecord//lib/active_record/encryption/config.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:9 def forced_encoding_for_deterministic_encryption=(_arg0); end - # source://activerecord//lib/active_record/encryption/config.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:37 def has_deterministic_key?; end - # source://activerecord//lib/active_record/encryption/config.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:37 def has_key_derivation_salt?; end - # source://activerecord//lib/active_record/encryption/config.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:37 def has_primary_key?; end # Returns the value of attribute hash_digest_class. # - # source://activerecord//lib/active_record/encryption/config.rb#9 + # pkg:gem/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 + # pkg:gem/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#9 + # pkg:gem/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 + # pkg:gem/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#21 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:21 def previous=(previous_schemes_properties); end # Returns the value of attribute previous_schemes. # - # source://activerecord//lib/active_record/encryption/config.rb#9 + # pkg:gem/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 + # pkg:gem/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#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:9 def store_key_references=(_arg0); end - # source://activerecord//lib/active_record/encryption/config.rb#27 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:27 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:9 def validate_column_size=(_arg0); end private - # source://activerecord//lib/active_record/encryption/config.rb#65 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:65 def add_previous_scheme(**properties); end - # source://activerecord//lib/active_record/encryption/config.rb#49 + # pkg:gem/activerecord#lib/active_record/encryption/config.rb:49 def set_defaults; end end # Configuration API for ActiveRecord::Encryption # -# source://activerecord//lib/active_record/encryption/configurable.rb#6 +# pkg:gem/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#14 +# pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:14 module ActiveRecord::Encryption::Configurable::ClassMethods - # source://activerecord//lib/active_record/encryption/configurable.rb#17 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:17 def cipher(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/configurable.rb#20 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:17 def encryptor(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/configurable.rb#17 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:17 def frozen_encryption(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/configurable.rb#17 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:17 def key_generator(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/configurable.rb#17 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:17 def key_provider(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/configurable.rb#17 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:17 def message_serializer(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/configurable.rb#47 + # pkg:gem/activerecord#lib/active_record/encryption/configurable.rb:47 def on_encrypted_attribute_declared(&block); end end @@ -21400,62 +21415,62 @@ end # * A cipher, the encryption algorithm # * A message serializer # -# source://activerecord//lib/active_record/encryption/context.rb#12 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:17 def initialize; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def cipher; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def cipher=(_arg0); end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def encryptor; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def encryptor=(_arg0); end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def frozen_encryption; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def frozen_encryption=(_arg0); end - # source://activerecord//lib/active_record/encryption/context.rb#21 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:21 def frozen_encryption?; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def key_generator; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def key_generator=(_arg0); end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def key_provider; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def key_provider=(_arg0); end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def message_serializer; end - # source://activerecord//lib/active_record/encryption/context.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:15 def message_serializer=(_arg0); end private - # source://activerecord//lib/active_record/encryption/context.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:37 def build_default_key_provider; end - # source://activerecord//lib/active_record/encryption/context.rb#29 + # pkg:gem/activerecord#lib/active_record/encryption/context.rb:29 def set_defaults; end end -# source://activerecord//lib/active_record/encryption/context.rb#13 +# pkg:gem/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 @@ -21467,64 +21482,64 @@ ActiveRecord::Encryption::Context::PROPERTIES = T.let(T.unsafe(nil), Array) # # See Context. # -# source://activerecord//lib/active_record/encryption/contexts.rb#13 +# pkg:gem/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#21 +# pkg:gem/activerecord#lib/active_record/encryption/contexts.rb:21 module ActiveRecord::Encryption::Contexts::ClassMethods - # source://activerecord//lib/active_record/encryption/contexts.rb#62 + # pkg:gem/activerecord#lib/active_record/encryption/contexts.rb:62 def context; end - # source://activerecord//lib/active_record/encryption/contexts.rb#66 + # pkg:gem/activerecord#lib/active_record/encryption/contexts.rb:66 def current_custom_context; end - # source://activerecord//lib/active_record/encryption/contexts.rb#57 + # pkg:gem/activerecord#lib/active_record/encryption/contexts.rb:57 def protecting_encrypted_data(&block); end - # source://activerecord//lib/active_record/encryption/contexts.rb#70 + # pkg:gem/activerecord#lib/active_record/encryption/contexts.rb:70 def reset_default_context; end - # source://activerecord//lib/active_record/encryption/contexts.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/contexts.rb:33 def with_encryption_context(properties); end - # source://activerecord//lib/active_record/encryption/contexts.rb#49 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/encryption/encryptable_record.rb:7 module ActiveRecord::Encryption::EncryptableRecord extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -21534,54 +21549,54 @@ module ActiveRecord::Encryption::EncryptableRecord # Returns the ciphertext for +attribute_name+. # - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#157 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/encryptable_record.rb:193 def decrypt_attributes; end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#187 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/encryptable_record.rb:200 def validate_encryption_allowed; end module GeneratedClassMethods @@ -21597,45 +21612,45 @@ module ActiveRecord::Encryption::EncryptableRecord end end -# source://activerecord//lib/active_record/encryption/encryptable_record.rb#16 +# pkg:gem/activerecord#lib/active_record/encryption/encryptable_record.rb:16 module ActiveRecord::Encryption::EncryptableRecord::ClassMethods - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#58 + # pkg:gem/activerecord#lib/active_record/encryption/encryptable_record.rb:58 def deterministic_encrypted_attributes; end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#49 + # pkg:gem/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), compress: T.unsafe(nil), compressor: T.unsafe(nil), **context_properties); end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#65 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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), compress: T.unsafe(nil), compressor: T.unsafe(nil), **context_properties); end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#78 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/encryptable_record.rb:126 def load_schema!; end - # source://activerecord//lib/active_record/encryption/encryptable_record.rb#109 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -21644,7 +21659,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 +# pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:10 class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Mutable @@ -21656,153 +21671,153 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveModel::Type::Va # # @return [EncryptedAttributeType] a new instance of EncryptedAttributeType # - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:13 def scheme; end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#39 + # pkg:gem/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 + # pkg:gem/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#16 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:16 def type(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15 + # pkg:gem/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 + # pkg:gem/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#162 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:162 def clean_text_scheme; end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#174 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:174 def database_type_to_text(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#102 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:102 def decrypt(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#84 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:84 def decrypt_as_text(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#158 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:158 def decryption_options; end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#146 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:146 def encrypt(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#136 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:136 def encrypt_as_text(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#154 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:154 def encryption_options; end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#150 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:150 def encryptor; end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#114 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:114 def handle_deserialize_error(error, value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#130 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:130 def serialize_with_current(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#126 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:126 def serialize_with_oldest(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#122 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:122 def serialize_with_oldest?; end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#166 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:166 def text_to_database_type(value); end - # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#106 + # pkg:gem/activerecord#lib/active_record/encryption/encrypted_attribute_type.rb:106 def try_to_deserialize_with_previous_encrypted_types(value); end end -# source://activerecord//lib/active_record/encryption/encrypted_fixtures.rb#5 +# pkg:gem/activerecord#lib/active_record/encryption/encrypted_fixtures.rb:5 module ActiveRecord::Encryption::EncryptedFixtures - # source://activerecord//lib/active_record/encryption/encrypted_fixtures.rb#6 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 @@ -21812,7 +21827,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#13 +# pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:13 class ActiveRecord::Encryption::Encryptor # ==== Options # @@ -21827,22 +21842,22 @@ class ActiveRecord::Encryption::Encryptor # # @return [Encryptor] a new instance of Encryptor # - # source://activerecord//lib/active_record/encryption/encryptor.rb#27 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:27 def initialize(compress: T.unsafe(nil), compressor: T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/encryptor.rb#86 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:86 def binary?; end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/encryptor.rb#90 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:90 def compress?; end # The compressor to use for compressing the payload. # - # source://activerecord//lib/active_record/encryption/encryptor.rb#15 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:15 def compressor; end # Decrypts an +encrypted_text+ and returns the result as clean text. @@ -21857,7 +21872,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#69 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:69 def decrypt(encrypted_text, key_provider: T.unsafe(nil), cipher_options: T.unsafe(nil)); end # Encrypts +clean_text+ and returns the encrypted result. @@ -21880,64 +21895,64 @@ 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#51 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:51 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#79 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:79 def encrypted?(text); end private - # source://activerecord//lib/active_record/encryption/encryptor.rb#125 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:125 def build_encrypted_message(clear_text, key_provider:, cipher_options:); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#121 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:121 def cipher; end - # source://activerecord//lib/active_record/encryption/encryptor.rb#158 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:158 def compress(data); end # Under certain threshold, ZIP compression is actually worse that not compressing # - # source://activerecord//lib/active_record/encryption/encryptor.rb#150 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:150 def compress_if_worth_it(string); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#111 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:111 def default_key_provider; end - # source://activerecord//lib/active_record/encryption/encryptor.rb#139 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:139 def deserialize_message(message); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#178 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:178 def force_encoding_if_needed(value); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#186 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:186 def forced_encoding_for_deterministic_encryption; end - # source://activerecord//lib/active_record/encryption/encryptor.rb#135 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:135 def serialize_message(message); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#145 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:145 def serializer; end - # source://activerecord//lib/active_record/encryption/encryptor.rb#172 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:172 def uncompress(data); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#164 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:164 def uncompress_if_needed(data, compressed); end - # source://activerecord//lib/active_record/encryption/encryptor.rb#115 + # pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:115 def validate_payload_type(clear_text); end end -# source://activerecord//lib/active_record/encryption/encryptor.rb#95 +# pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:95 ActiveRecord::Encryption::Encryptor::DECRYPT_ERRORS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/encryption/encryptor.rb#96 +# pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:96 ActiveRecord::Encryption::Encryptor::ENCODING_ERRORS = T.let(T.unsafe(nil), Array) # This threshold cannot be changed. @@ -21952,7 +21967,7 @@ ActiveRecord::Encryption::Encryptor::ENCODING_ERRORS = T.let(T.unsafe(nil), Arra # threshold was modified, the message generated for lookup could vary # for the same clear text, and searches on exisiting data could fail. # -# source://activerecord//lib/active_record/encryption/encryptor.rb#109 +# pkg:gem/activerecord#lib/active_record/encryption/encryptor.rb:109 ActiveRecord::Encryption::Encryptor::THRESHOLD_TO_JUSTIFY_COMPRESSION = T.let(T.unsafe(nil), Integer) # Implements a simple envelope encryption approach where: @@ -21968,54 +21983,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/encryption/errors.rb:5 module ActiveRecord::Encryption::Errors; end -# source://activerecord//lib/active_record/encryption/errors.rb#6 +# pkg:gem/activerecord#lib/active_record/encryption/errors.rb:6 class ActiveRecord::Encryption::Errors::Base < ::StandardError; end -# source://activerecord//lib/active_record/encryption/errors.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -22037,47 +22052,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 +# pkg:gem/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 + # pkg:gem/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#134 +# pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:134 class ActiveRecord::Encryption::ExtendedDeterministicQueries::AdditionalValue # @return [AdditionalValue] a new instance of AdditionalValue # - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#137 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:137 def initialize(value, type); end # Returns the value of attribute type. # - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#135 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:135 def type; end # Returns the value of attribute value. # - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#135 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:135 def value; end private - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#143 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:143 def process(value); end end -# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#124 +# pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:124 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#127 +# pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:127 module ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries::ClassMethods - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#128 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:128 def find_by(*args); end end @@ -22085,53 +22100,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 +# pkg:gem/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 + # pkg:gem/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#89 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:89 def additional_values_for(value, type); end - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#71 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:71 def process_encrypted_query_argument(value, check_for_additional_values, type); end end end -# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#148 +# pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:148 module ActiveRecord::Encryption::ExtendedDeterministicQueries::ExtendedEncryptableType - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#149 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:149 def serialize(data); end end -# source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#97 +# pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:97 module ActiveRecord::Encryption::ExtendedDeterministicQueries::RelationQueries # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#102 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:102 def exists?(*args); end - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#106 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:106 def scope_for_create; end - # source://activerecord//lib/active_record/encryption/extended_deterministic_queries.rb#98 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_queries.rb:98 def where(*args); end end -# source://activerecord//lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb#5 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb:11 def validate_each(record, attribute, value); end end @@ -22141,39 +22156,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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/key.rb:13 def initialize(secret); end - # source://activerecord//lib/active_record/encryption/key.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/key.rb:11 def secret; end class << self - # source://activerecord//lib/active_record/encryption/key.rb#18 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 @@ -22181,7 +22196,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 + # pkg:gem/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 @@ -22195,25 +22210,25 @@ class ActiveRecord::Encryption::KeyGenerator # # [ value ].pack("H*") # - # source://activerecord//lib/active_record/encryption/key_generator.rb#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/key_generator.rb:44 def key_derivation_salt; end - # source://activerecord//lib/active_record/encryption/key_generator.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption/key_generator.rb:48 def key_length; end end @@ -22223,11 +22238,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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/key_provider.rb:11 def initialize(keys); end # Returns the list of decryption keys @@ -22235,7 +22250,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 + # pkg:gem/activerecord#lib/active_record/encryption/key_provider.rb:32 def decryption_keys(encrypted_message); end # Returns the last key in the list as the active key to perform encryptions @@ -22244,12 +22259,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 + # pkg:gem/activerecord#lib/active_record/encryption/key_provider.rb:20 def encryption_key; end private - # source://activerecord//lib/active_record/encryption/key_provider.rb#41 + # pkg:gem/activerecord#lib/active_record/encryption/key_provider.rb:41 def keys_grouped_by_id; end end @@ -22260,43 +22275,43 @@ end # # See Encryptor#encrypt # -# source://activerecord//lib/active_record/encryption/message.rb#11 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/message.rb:12 def payload=(_arg0); end private - # source://activerecord//lib/active_record/encryption/message.rb#26 + # pkg:gem/activerecord#lib/active_record/encryption/message.rb:26 def validate_payload_type(payload); end end @@ -22317,64 +22332,64 @@ 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 +# pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:23 class ActiveRecord::Encryption::MessageSerializer # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/message_serializer.rb#36 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:36 def binary?; end # @raise [ActiveRecord::Encryption::Errors::ForbiddenClass] # - # source://activerecord//lib/active_record/encryption/message_serializer.rb#31 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:31 def dump(message); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#24 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:24 def load(serialized_content); end private - # source://activerecord//lib/active_record/encryption/message_serializer.rb#85 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:85 def decode_if_needed(value); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#77 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:77 def encode_if_needed(value); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#71 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:71 def headers_to_json(headers); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#64 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:64 def message_to_json(message); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#41 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:41 def parse_message(data, level); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#56 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:56 def parse_properties(headers, level); end - # source://activerecord//lib/active_record/encryption/message_serializer.rb#46 + # pkg:gem/activerecord#lib/active_record/encryption/message_serializer.rb:46 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 +# pkg:gem/activerecord#lib/active_record/encryption/null_encryptor.rb:7 class ActiveRecord::Encryption::NullEncryptor # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/null_encryptor.rb#20 + # pkg:gem/activerecord#lib/active_record/encryption/null_encryptor.rb:20 def binary?; end - # source://activerecord//lib/active_record/encryption/null_encryptor.rb#12 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/null_encryptor.rb:16 def encrypted?(text); end end @@ -22390,17 +22405,17 @@ end # # See +Properties::DEFAULT_PROPERTIES+, Key, Message # -# source://activerecord//lib/active_record/encryption/properties.rb#16 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:20 def ==(arg); end - # source://activerecord//lib/active_record/encryption/properties.rb#20 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:20 def [](*_arg0, **_arg1, &_arg2); end # Set a value for a given key @@ -22409,80 +22424,80 @@ class ActiveRecord::Encryption::Properties # # @raise [Errors::EncryptedContentIntegrity] # - # source://activerecord//lib/active_record/encryption/properties.rb#50 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:50 def []=(key, value); end - # source://activerecord//lib/active_record/encryption/properties.rb#62 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:62 def add(other_properties); end - # source://activerecord//lib/active_record/encryption/properties.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:33 def auth_tag; end - # source://activerecord//lib/active_record/encryption/properties.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:37 def auth_tag=(value); end - # source://activerecord//lib/active_record/encryption/properties.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:33 def compressed; end - # source://activerecord//lib/active_record/encryption/properties.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:37 def compressed=(value); end - # source://activerecord//lib/active_record/encryption/properties.rb#20 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:20 def each(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/properties.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:33 def encoding; end - # source://activerecord//lib/active_record/encryption/properties.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:37 def encoding=(value); end - # source://activerecord//lib/active_record/encryption/properties.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:33 def encrypted_data_key; end - # source://activerecord//lib/active_record/encryption/properties.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:37 def encrypted_data_key=(value); end - # source://activerecord//lib/active_record/encryption/properties.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:33 def encrypted_data_key_id; end - # source://activerecord//lib/active_record/encryption/properties.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:37 def encrypted_data_key_id=(value); end - # source://activerecord//lib/active_record/encryption/properties.rb#33 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:33 def iv; end - # source://activerecord//lib/active_record/encryption/properties.rb#37 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:37 def iv=(value); end - # source://activerecord//lib/active_record/encryption/properties.rb#20 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:20 def key?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/encryption/properties.rb#19 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:19 def method_missing(method, *_arg1, **_arg2, &_arg3); end - # source://activerecord//lib/active_record/encryption/properties.rb#68 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:68 def to_h; end - # source://activerecord//lib/active_record/encryption/properties.rb#56 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/properties.rb:73 def data; end - # source://activerecord//lib/active_record/encryption/properties.rb#19 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -22491,24 +22506,24 @@ 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 +# pkg:gem/activerecord#lib/active_record/encryption/read_only_null_encryptor.rb:10 class ActiveRecord::Encryption::ReadOnlyNullEncryptor # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/read_only_null_encryptor.rb#23 + # pkg:gem/activerecord#lib/active_record/encryption/read_only_null_encryptor.rb:23 def binary?; end - # source://activerecord//lib/active_record/encryption/read_only_null_encryptor.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/read_only_null_encryptor.rb:19 def encrypted?(text); end end @@ -22518,81 +22533,81 @@ end # # See EncryptedAttributeType, Context # -# source://activerecord//lib/active_record/encryption/scheme.rb#10 +# pkg:gem/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 + # pkg:gem/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), compress: T.unsafe(nil), compressor: T.unsafe(nil), **context_properties); end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/scheme.rb#78 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:78 def compatible_with?(other_scheme); end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/scheme.rb#44 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:44 def deterministic?; end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/scheme.rb#40 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:40 def downcase?; end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/scheme.rb#52 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:52 def fixed?; end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/scheme.rb#36 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:36 def ignore_case?; end - # source://activerecord//lib/active_record/encryption/scheme.rb#57 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:57 def key_provider; end - # source://activerecord//lib/active_record/encryption/scheme.rb#61 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:61 def merge(other_scheme); end # Returns the value of attribute previous_schemes. # - # source://activerecord//lib/active_record/encryption/scheme.rb#11 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:11 def previous_schemes=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/active_record/encryption/scheme.rb#48 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:48 def support_unencrypted_data?; end - # source://activerecord//lib/active_record/encryption/scheme.rb#65 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:65 def to_h; end - # source://activerecord//lib/active_record/encryption/scheme.rb#70 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:70 def with_context(&block); end private - # source://activerecord//lib/active_record/encryption/scheme.rb#102 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:102 def default_key_provider; end - # source://activerecord//lib/active_record/encryption/scheme.rb#96 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:96 def deterministic_key_provider; end - # source://activerecord//lib/active_record/encryption/scheme.rb#90 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:90 def key_provider_from_key; end # @raise [Errors::Configuration] # - # source://activerecord//lib/active_record/encryption/scheme.rb#83 + # pkg:gem/activerecord#lib/active_record/encryption/scheme.rb:83 def validate_config!; end end @@ -22756,130 +22771,130 @@ end # conversation.status = :active # conversation.valid? # => true # -# source://activerecord//lib/active_record/enum.rb#166 +# pkg:gem/activerecord#lib/active_record/enum.rb:166 module ActiveRecord::Enum - # source://activerecord//lib/active_record/enum.rb#217 + # pkg:gem/activerecord#lib/active_record/enum.rb:217 def enum(name, values = T.unsafe(nil), **options); end private - # source://activerecord//lib/active_record/enum.rb#223 + # pkg:gem/activerecord#lib/active_record/enum.rb:223 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#327 + # pkg:gem/activerecord#lib/active_record/enum.rb:327 def _enum_methods_module; end - # source://activerecord//lib/active_record/enum.rb#335 + # pkg:gem/activerecord#lib/active_record/enum.rb:335 def assert_valid_enum_definition_values(values); end - # source://activerecord//lib/active_record/enum.rb#378 + # pkg:gem/activerecord#lib/active_record/enum.rb:378 def assert_valid_enum_options(options); end - # source://activerecord//lib/active_record/enum.rb#391 + # pkg:gem/activerecord#lib/active_record/enum.rb:391 def detect_enum_conflict!(enum_name, method_name, klass_method = T.unsafe(nil)); end - # source://activerecord//lib/active_record/enum.rb#415 + # pkg:gem/activerecord#lib/active_record/enum.rb:415 def detect_negative_enum_conditions!(method_names); end - # source://activerecord//lib/active_record/enum.rb#290 + # pkg:gem/activerecord#lib/active_record/enum.rb:290 def inherited(base); end # @raise [ArgumentError] # - # source://activerecord//lib/active_record/enum.rb#405 + # pkg:gem/activerecord#lib/active_record/enum.rb:405 def raise_conflict_error(enum_name, method_name, type, source: T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/enum.rb#167 + # pkg:gem/activerecord#lib/active_record/enum.rb:167 def extended(base); end end end -# source://activerecord//lib/active_record/enum.rb#385 +# pkg:gem/activerecord#lib/active_record/enum.rb:385 ActiveRecord::Enum::ENUM_CONFLICT_MESSAGE = T.let(T.unsafe(nil), String) -# source://activerecord//lib/active_record/enum.rb#295 +# pkg:gem/activerecord#lib/active_record/enum.rb:295 class ActiveRecord::Enum::EnumMethods < ::Module # @return [EnumMethods] a new instance of EnumMethods # - # source://activerecord//lib/active_record/enum.rb#296 + # pkg:gem/activerecord#lib/active_record/enum.rb:296 def initialize(klass); end private - # source://activerecord//lib/active_record/enum.rb#303 + # pkg:gem/activerecord#lib/active_record/enum.rb:303 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#301 + # pkg:gem/activerecord#lib/active_record/enum.rb:301 def klass; end end -# source://activerecord//lib/active_record/enum.rb#171 +# pkg:gem/activerecord#lib/active_record/enum.rb:171 class ActiveRecord::Enum::EnumType < ::ActiveModel::Type::Value # @return [EnumType] a new instance of EnumType # - # source://activerecord//lib/active_record/enum.rb#174 + # pkg:gem/activerecord#lib/active_record/enum.rb:174 def initialize(name, mapping, subtype, raise_on_invalid_values: T.unsafe(nil)); end - # source://activerecord//lib/active_record/enum.rb#203 + # pkg:gem/activerecord#lib/active_record/enum.rb:203 def assert_valid_value(value); end - # source://activerecord//lib/active_record/enum.rb#181 + # pkg:gem/activerecord#lib/active_record/enum.rb:181 def cast(value); end - # source://activerecord//lib/active_record/enum.rb#191 + # pkg:gem/activerecord#lib/active_record/enum.rb:191 def deserialize(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/enum.rb#199 + # pkg:gem/activerecord#lib/active_record/enum.rb:199 def serializable?(value, &block); end - # source://activerecord//lib/active_record/enum.rb#195 + # pkg:gem/activerecord#lib/active_record/enum.rb:195 def serialize(value); end # Returns the value of attribute subtype. # - # source://activerecord//lib/active_record/enum.rb#211 + # pkg:gem/activerecord#lib/active_record/enum.rb:211 def subtype; end - # source://activerecord//lib/active_record/enum.rb#172 + # pkg:gem/activerecord#lib/active_record/enum.rb:172 def type(*_arg0, **_arg1, &_arg2); end private # Returns the value of attribute mapping. # - # source://activerecord//lib/active_record/enum.rb#214 + # pkg:gem/activerecord#lib/active_record/enum.rb:214 def mapping; end # Returns the value of attribute name. # - # source://activerecord//lib/active_record/enum.rb#214 + # pkg:gem/activerecord#lib/active_record/enum.rb:214 def name; end end -# source://activerecord//lib/active_record/migration.rb#215 +# pkg:gem/activerecord#lib/active_record/migration.rb:215 class ActiveRecord::EnvironmentMismatchError < ::ActiveRecord::ActiveRecordError # @return [EnvironmentMismatchError] a new instance of EnvironmentMismatchError # - # source://activerecord//lib/active_record/migration.rb#216 + # pkg:gem/activerecord#lib/active_record/migration.rb:216 def initialize(current: T.unsafe(nil), stored: T.unsafe(nil)); end end -# source://activerecord//lib/active_record/migration.rb#229 +# pkg:gem/activerecord#lib/active_record/migration.rb:229 class ActiveRecord::EnvironmentStorageError < ::ActiveRecord::ActiveRecordError # @return [EnvironmentStorageError] a new instance of EnvironmentStorageError # - # source://activerecord//lib/active_record/migration.rb#230 + # pkg:gem/activerecord#lib/active_record/migration.rb:230 def initialize; end end # Raised when a record cannot be inserted or updated because it would violate an exclusion constraint. # -# source://activerecord//lib/active_record/errors.rb#300 +# pkg:gem/activerecord#lib/active_record/errors.rb:300 class ActiveRecord::ExclusionViolation < ::ActiveRecord::StatementInvalid; end # Raised when a pool was unable to get ahold of all its connections @@ -22887,29 +22902,29 @@ class ActiveRecord::ExclusionViolation < ::ActiveRecord::StatementInvalid; 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#127 +# pkg:gem/activerecord#lib/active_record/errors.rb:127 class ActiveRecord::ExclusiveConnectionTimeoutError < ::ActiveRecord::ConnectionTimeoutError; end -# source://activerecord//lib/active_record/explain.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/explain.rb:19 def exec_explain(queries, options = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/explain.rb#55 + # pkg:gem/activerecord#lib/active_record/explain.rb:55 def build_explain_clause(connection, options = T.unsafe(nil)); end - # source://activerecord//lib/active_record/explain.rb#40 + # pkg:gem/activerecord#lib/active_record/explain.rb:40 def render_bind(connection, attr); end end @@ -22919,92 +22934,92 @@ end # # returns the collected queries local to the current thread. # -# source://activerecord//lib/active_record/explain_registry.rb#10 +# pkg:gem/activerecord#lib/active_record/explain_registry.rb:10 class ActiveRecord::ExplainRegistry # @return [ExplainRegistry] a new instance of ExplainRegistry # - # source://activerecord//lib/active_record/explain_registry.rb#68 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:68 def initialize; end # Returns the value of attribute collect. # - # source://activerecord//lib/active_record/explain_registry.rb#65 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:65 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#65 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:65 def collect=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/active_record/explain_registry.rb#77 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:77 def collect?; end # Returns the value of attribute queries. # - # source://activerecord//lib/active_record/explain_registry.rb#66 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:66 def queries; end - # source://activerecord//lib/active_record/explain_registry.rb#81 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:81 def reset; end - # source://activerecord//lib/active_record/explain_registry.rb#72 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:72 def start; end class << self - # source://activerecord//lib/active_record/explain_registry.rb#57 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:57 def collect(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/explain_registry.rb#57 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:57 def collect=(arg); end - # source://activerecord//lib/active_record/explain_registry.rb#57 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:57 def collect?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/explain_registry.rb#57 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:57 def queries(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/explain_registry.rb#57 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:57 def reset(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/explain_registry.rb#57 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:57 def start(*_arg0, **_arg1, &_arg2); end private - # source://activerecord//lib/active_record/explain_registry.rb#60 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:60 def instance; end end end -# source://activerecord//lib/active_record/explain_registry.rb#11 +# pkg:gem/activerecord#lib/active_record/explain_registry.rb:11 class ActiveRecord::ExplainRegistry::Subscriber - # source://activerecord//lib/active_record/explain_registry.rb#31 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:31 def finish(name, id, payload); end # @return [Boolean] # - # source://activerecord//lib/active_record/explain_registry.rb#48 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:48 def ignore_payload?(payload); end # @return [Boolean] # - # source://activerecord//lib/active_record/explain_registry.rb#37 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:37 def silenced?(_name); end - # source://activerecord//lib/active_record/explain_registry.rb#27 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:27 def start(name, id, payload); end class << self - # source://activerecord//lib/active_record/explain_registry.rb#16 + # pkg:gem/activerecord#lib/active_record/explain_registry.rb:16 def ensure_subscribed; end end end -# source://activerecord//lib/active_record/explain_registry.rb#47 +# pkg:gem/activerecord#lib/active_record/explain_registry.rb:47 ActiveRecord::ExplainRegistry::Subscriber::EXPLAINED_SQLS = T.let(T.unsafe(nil), Regexp) # SCHEMA queries cannot be EXPLAINed, also we do not want to run EXPLAIN on @@ -23013,59 +23028,59 @@ ActiveRecord::ExplainRegistry::Subscriber::EXPLAINED_SQLS = T.let(T.unsafe(nil), # 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_registry.rb#46 +# pkg:gem/activerecord#lib/active_record/explain_registry.rb:46 ActiveRecord::ExplainRegistry::Subscriber::IGNORED_PAYLOADS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/explain_registry.rb#12 +# pkg:gem/activerecord#lib/active_record/explain_registry.rb:12 ActiveRecord::ExplainRegistry::Subscriber::MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://activerecord//lib/active_record/filter_attribute_handler.rb#4 +# pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:4 class ActiveRecord::FilterAttributeHandler # @return [FilterAttributeHandler] a new instance of FilterAttributeHandler # - # source://activerecord//lib/active_record/filter_attribute_handler.rb#18 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:18 def initialize(app); end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#24 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:24 def enable; end private # Returns the value of attribute app. # - # source://activerecord//lib/active_record/filter_attribute_handler.rb#32 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:32 def app; end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#48 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:48 def apply_collected_attributes; end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#63 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:63 def apply_filter(klass, list); end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#40 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:40 def attribute_was_declared(klass, list); end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#58 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:58 def collect_for_later(klass, list); end # @return [Boolean] # - # source://activerecord//lib/active_record/filter_attribute_handler.rb#54 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:54 def collecting?; end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#34 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:34 def install_collecting_hook; end class << self - # source://activerecord//lib/active_record/filter_attribute_handler.rb#6 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:6 def on_sensitive_attribute_declared(&block); end - # source://activerecord//lib/active_record/filter_attribute_handler.rb#11 + # pkg:gem/activerecord#lib/active_record/filter_attribute_handler.rb:11 def sensitive_attribute_was_declared(klass, list); end end end -# source://activerecord//lib/active_record/relation/finder_methods.rb#6 +# pkg:gem/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: @@ -23098,7 +23113,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#357 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:357 def exists?(conditions = T.unsafe(nil)); end # Find the fifth record. @@ -23108,13 +23123,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#271 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:271 def fifth; end # Same as #fifth but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord//lib/active_record/relation/finder_methods.rb#277 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:277 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]). @@ -23207,7 +23222,7 @@ module ActiveRecord::FinderMethods # Person.find([]) # returns an empty array if the argument is an empty array. # Person.find # raises ActiveRecord::RecordNotFound exception if the argument is not provided. # - # source://activerecord//lib/active_record/relation/finder_methods.rb#98 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:98 def find(*args); end # Finds the first record matching the specified conditions. There @@ -23219,13 +23234,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#111 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:111 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#117 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:117 def find_by!(arg, *args); end # Finds the sole matching record. Raises ActiveRecord::RecordNotFound if no @@ -23234,7 +23249,7 @@ module ActiveRecord::FinderMethods # # Product.find_sole_by(["price = %?", price]) # - # source://activerecord//lib/active_record/relation/finder_methods.rb#160 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:160 def find_sole_by(arg, *args); end # Find the first record (or first N records if a parameter is supplied). @@ -23246,13 +23261,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#173 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:173 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#183 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:183 def first!; end # Find the forty-second record. Also known as accessing "the reddit". @@ -23262,13 +23277,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#287 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:287 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#293 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:293 def forty_two!; end # Find the fourth record. @@ -23278,13 +23293,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#255 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:255 def fourth; end # Same as #fourth but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord//lib/active_record/relation/finder_methods.rb#261 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:261 def fourth!; end # Returns true if the relation contains the given record or false otherwise. @@ -23295,7 +23310,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#389 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:389 def include?(record); end # Find the last record (or last N records if a parameter is supplied). @@ -23314,13 +23329,13 @@ module ActiveRecord::FinderMethods # # [#, #, #] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#202 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:202 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#213 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:213 def last!; end # Returns true if the relation contains the given record or false otherwise. @@ -23331,7 +23346,7 @@ module ActiveRecord::FinderMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#407 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:407 def member?(record); end # This method is called whenever no records are found with either a single @@ -23343,7 +23358,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#417 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:417 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. @@ -23353,13 +23368,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#223 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:223 def second; end # Same as #second but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord//lib/active_record/relation/finder_methods.rb#229 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:229 def second!; end # Find the second-to-last record. @@ -23369,13 +23384,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#319 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:319 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#325 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:325 def second_to_last!; end # Finds the sole matching record. Raises ActiveRecord::RecordNotFound if no @@ -23384,7 +23399,7 @@ module ActiveRecord::FinderMethods # # Product.where(["price = %?", price]).sole # - # source://activerecord//lib/active_record/relation/finder_methods.rb#143 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:143 def sole; end # Gives a record (or N records if a parameter is supplied) without any implied @@ -23395,13 +23410,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#128 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:128 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#134 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:134 def take!; end # Find the third record. @@ -23411,13 +23426,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#239 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:239 def third; end # Same as #third but raises ActiveRecord::RecordNotFound if no record # is found. # - # source://activerecord//lib/active_record/relation/finder_methods.rb#245 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:245 def third!; end # Find the third-to-last record. @@ -23427,334 +23442,334 @@ 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#303 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:303 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#309 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:309 def third_to_last!; end private - # source://activerecord//lib/active_record/relation/finder_methods.rb#668 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:668 def _order_columns; end - # source://activerecord//lib/active_record/relation/finder_methods.rb#458 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:458 def apply_join_dependency(eager_loading: T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#439 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:439 def construct_relation_for_exists(conditions); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#637 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:637 def find_last(limit); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#599 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:599 def find_nth(index); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#623 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:623 def find_nth_from_last(index); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#604 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:604 def find_nth_with_limit(index, limit); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#521 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:521 def find_one(id); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#542 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:542 def find_some(ids); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#568 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:568 def find_some_ordered(ids); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#583 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:583 def find_take; end - # source://activerecord//lib/active_record/relation/finder_methods.rb#591 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:591 def find_take_with_limit(limit); end # @raise [UnknownPrimaryKey] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#492 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:492 def find_with_ids(*ids); end - # source://activerecord//lib/active_record/relation/finder_methods.rb#641 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:641 def ordered_relation; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/finder_methods.rb#488 + # pkg:gem/activerecord#lib/active_record/relation/finder_methods.rb:488 def using_limitable_reflections?(reflections); end end -# source://activerecord//lib/active_record/relation/finder_methods.rb#7 +# pkg:gem/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#806 +# pkg:gem/activerecord#lib/active_record/fixtures.rb:806 class ActiveRecord::Fixture include ::Enumerable # @return [Fixture] a new instance of Fixture # - # source://activerecord//lib/active_record/fixtures.rb#817 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:817 def initialize(fixture, model_class); end - # source://activerecord//lib/active_record/fixtures.rb#830 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:830 def [](key); end - # source://activerecord//lib/active_record/fixtures.rb#822 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:822 def class_name; end - # source://activerecord//lib/active_record/fixtures.rb#826 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:826 def each(&block); end # @raise [FixtureClassNotFound] # - # source://activerecord//lib/active_record/fixtures.rb#836 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:836 def find; end # Returns the value of attribute fixture. # - # source://activerecord//lib/active_record/fixtures.rb#815 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:815 def fixture; end # Returns the value of attribute model_class. # - # source://activerecord//lib/active_record/fixtures.rb#815 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:815 def model_class; end # Returns the value of attribute fixture. # - # source://activerecord//lib/active_record/fixtures.rb#834 + # pkg:gem/activerecord#lib/active_record/fixtures.rb:834 def to_hash; end end -# source://activerecord//lib/active_record/fixtures.rb#809 +# pkg:gem/activerecord#lib/active_record/fixtures.rb:809 class ActiveRecord::Fixture::FixtureError < ::StandardError; end -# source://activerecord//lib/active_record/fixtures.rb#812 +# pkg:gem/activerecord#lib/active_record/fixtures.rb:812 class ActiveRecord::Fixture::FormatError < ::ActiveRecord::Fixture::FixtureError; end -# source://activerecord//lib/active_record/fixtures.rb#10 +# pkg:gem/activerecord#lib/active_record/fixtures.rb:10 class ActiveRecord::FixtureClassNotFound < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/future_result.rb#4 +# pkg:gem/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#66 + # pkg:gem/activerecord#lib/active_record/future_result.rb:66 def initialize(pool, *args, **kwargs); end - # source://activerecord//lib/active_record/future_result.rb#94 + # pkg:gem/activerecord#lib/active_record/future_result.rb:94 def cancel; end # @return [Boolean] # - # source://activerecord//lib/active_record/future_result.rb#139 + # pkg:gem/activerecord#lib/active_record/future_result.rb:139 def canceled?; end - # source://activerecord//lib/active_record/future_result.rb#62 + # pkg:gem/activerecord#lib/active_record/future_result.rb:62 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/future_result.rb#90 + # pkg:gem/activerecord#lib/active_record/future_result.rb:90 def execute!(connection); end - # source://activerecord//lib/active_record/future_result.rb#100 + # pkg:gem/activerecord#lib/active_record/future_result.rb:100 def execute_or_skip; end # Returns the value of attribute lock_wait. # - # source://activerecord//lib/active_record/future_result.rb#64 + # pkg:gem/activerecord#lib/active_record/future_result.rb:64 def lock_wait; end # @return [Boolean] # - # source://activerecord//lib/active_record/future_result.rb#135 + # pkg:gem/activerecord#lib/active_record/future_result.rb:135 def pending?; end - # source://activerecord//lib/active_record/future_result.rb#122 + # pkg:gem/activerecord#lib/active_record/future_result.rb:122 def result; end - # source://activerecord//lib/active_record/future_result.rb#85 + # pkg:gem/activerecord#lib/active_record/future_result.rb:85 def schedule!(session); end - # source://activerecord//lib/active_record/future_result.rb#81 + # pkg:gem/activerecord#lib/active_record/future_result.rb:81 def then(&block); end - # source://activerecord//lib/active_record/future_result.rb#62 + # pkg:gem/activerecord#lib/active_record/future_result.rb:62 def to_a(*_arg0, **_arg1, &_arg2); end private - # source://activerecord//lib/active_record/future_result.rb#169 + # pkg:gem/activerecord#lib/active_record/future_result.rb:169 def exec_query(connection, *args, **kwargs); end - # source://activerecord//lib/active_record/future_result.rb#144 + # pkg:gem/activerecord#lib/active_record/future_result.rb:144 def execute_or_wait; end - # source://activerecord//lib/active_record/future_result.rb#161 + # pkg:gem/activerecord#lib/active_record/future_result.rb:161 def execute_query(connection, async: T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/future_result.rb#53 + # pkg:gem/activerecord#lib/active_record/future_result.rb:53 def wrap(result); end end end -# source://activerecord//lib/active_record/future_result.rb#51 +# pkg:gem/activerecord#lib/active_record/future_result.rb:51 class ActiveRecord::FutureResult::Canceled < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/future_result.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/future_result.rb:9 def initialize(result); end # @return [Boolean] # - # source://activerecord//lib/active_record/future_result.rb#17 + # pkg:gem/activerecord#lib/active_record/future_result.rb:17 def canceled?; end - # source://activerecord//lib/active_record/future_result.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/future_result.rb:6 def result; end - # source://activerecord//lib/active_record/future_result.rb#21 + # pkg:gem/activerecord#lib/active_record/future_result.rb:21 def then(&block); end - # source://activerecord//lib/active_record/future_result.rb#7 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/future_result.rb:27 def initialize(future_result, instrumenter); end - # source://activerecord//lib/active_record/future_result.rb#42 + # pkg:gem/activerecord#lib/active_record/future_result.rb:42 def flush; end - # source://activerecord//lib/active_record/future_result.rb#33 + # pkg:gem/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#173 +# pkg:gem/activerecord#lib/active_record/future_result.rb:173 class ActiveRecord::FutureResult::SelectAll < ::ActiveRecord::FutureResult private - # source://activerecord//lib/active_record/future_result.rb#175 + # pkg:gem/activerecord#lib/active_record/future_result.rb:175 def exec_query(*_arg0, **_arg1); end end -# source://activerecord//lib/active_record/associations/errors.rb#74 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:74 class ActiveRecord::HasManyThroughAssociationNotFoundError < ::ActiveRecord::ActiveRecordError include ::DidYouMean::Correctable # @return [HasManyThroughAssociationNotFoundError] a new instance of HasManyThroughAssociationNotFoundError # - # source://activerecord//lib/active_record/associations/errors.rb#77 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:77 def initialize(owner_class = T.unsafe(nil), reflection = T.unsafe(nil)); end - # source://activerecord//lib/active_record/associations/errors.rb#90 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:90 def corrections; end # Returns the value of attribute owner_class. # - # source://activerecord//lib/active_record/associations/errors.rb#75 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:75 def owner_class; end # Returns the value of attribute reflection. # - # source://activerecord//lib/active_record/associations/errors.rb#75 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:75 def reflection; end end -# source://activerecord//lib/active_record/associations/errors.rb#124 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:124 class ActiveRecord::HasManyThroughAssociationPointlessSourceTypeError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughAssociationPointlessSourceTypeError] a new instance of HasManyThroughAssociationPointlessSourceTypeError # - # source://activerecord//lib/active_record/associations/errors.rb#125 + # pkg:gem/activerecord#lib/active_record/associations/errors.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/errors.rb#104 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:104 class ActiveRecord::HasManyThroughAssociationPolymorphicSourceError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughAssociationPolymorphicSourceError] a new instance of HasManyThroughAssociationPolymorphicSourceError # - # source://activerecord//lib/active_record/associations/errors.rb#105 + # pkg:gem/activerecord#lib/active_record/associations/errors.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/errors.rb#114 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:114 class ActiveRecord::HasManyThroughAssociationPolymorphicThroughError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughAssociationPolymorphicThroughError] a new instance of HasManyThroughAssociationPolymorphicThroughError # - # source://activerecord//lib/active_record/associations/errors.rb#115 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:115 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/associations/errors.rb#218 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:218 class ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection < ::ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection; end -# source://activerecord//lib/active_record/associations/errors.rb#234 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:234 class ActiveRecord::HasManyThroughNestedAssociationsAreReadonly < ::ActiveRecord::ThroughNestedAssociationsAreReadonly; end -# source://activerecord//lib/active_record/associations/errors.rb#167 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:167 class ActiveRecord::HasManyThroughOrderError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughOrderError] a new instance of HasManyThroughOrderError # - # source://activerecord//lib/active_record/associations/errors.rb#168 + # pkg:gem/activerecord#lib/active_record/associations/errors.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/errors.rb#154 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:154 class ActiveRecord::HasManyThroughSourceAssociationNotFoundError < ::ActiveRecord::ActiveRecordError # @return [HasManyThroughSourceAssociationNotFoundError] a new instance of HasManyThroughSourceAssociationNotFoundError # - # source://activerecord//lib/active_record/associations/errors.rb#155 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:155 def initialize(reflection = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/associations/errors.rb#144 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:144 class ActiveRecord::HasOneAssociationPolymorphicThroughError < ::ActiveRecord::ActiveRecordError # @return [HasOneAssociationPolymorphicThroughError] a new instance of HasOneAssociationPolymorphicThroughError # - # source://activerecord//lib/active_record/associations/errors.rb#145 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:145 def initialize(owner_class_name = T.unsafe(nil), reflection = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/associations/errors.rb#134 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:134 class ActiveRecord::HasOneThroughCantAssociateThroughCollection < ::ActiveRecord::ActiveRecordError # @return [HasOneThroughCantAssociateThroughCollection] a new instance of HasOneThroughCantAssociateThroughCollection # - # source://activerecord//lib/active_record/associations/errors.rb#135 + # pkg:gem/activerecord#lib/active_record/associations/errors.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/errors.rb#221 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:221 class ActiveRecord::HasOneThroughCantAssociateThroughHasOneOrManyReflection < ::ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection; end -# source://activerecord//lib/active_record/associations/errors.rb#237 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:237 class ActiveRecord::HasOneThroughNestedAssociationsAreReadonly < ::ActiveRecord::ThroughNestedAssociationsAreReadonly; end -# source://activerecord//lib/active_record/migration.rb#121 +# pkg:gem/activerecord#lib/active_record/migration.rb:121 class ActiveRecord::IllegalMigrationNameError < ::ActiveRecord::MigrationError # @return [IllegalMigrationNameError] a new instance of IllegalMigrationNameError # - # source://activerecord//lib/active_record/migration.rb#122 + # pkg:gem/activerecord#lib/active_record/migration.rb:122 def initialize(name = T.unsafe(nil)); end end @@ -23790,7 +23805,7 @@ end # Read more: # * https://www.martinfowler.com/eaaCatalog/singleTableInheritance.html # -# source://activerecord//lib/active_record/inheritance.rb#39 +# pkg:gem/activerecord#lib/active_record/inheritance.rb:39 module ActiveRecord::Inheritance extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -23805,13 +23820,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#359 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:359 def ensure_proper_type; end - # source://activerecord//lib/active_record/inheritance.rb#343 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:343 def initialize_dup(other); end - # source://activerecord//lib/active_record/inheritance.rb#349 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:349 def initialize_internals_callback; end module GeneratedClassMethods @@ -23831,7 +23846,7 @@ module ActiveRecord::Inheritance end end -# source://activerecord//lib/active_record/inheritance.rb#52 +# pkg:gem/activerecord#lib/active_record/inheritance.rb:52 module ActiveRecord::Inheritance::ClassMethods # Set this to +true+ if this is an abstract class (see # abstract_class?). @@ -23875,7 +23890,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 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:164 def abstract_class; end # Set this to +true+ if this is an abstract class (see @@ -23920,14 +23935,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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:167 def abstract_class?; end # Returns the first class in the inheritance hierarchy that descends from either an @@ -23949,7 +23964,7 @@ module ActiveRecord::Inheritance::ClassMethods # Polygon.base_class # => Polygon # Square.base_class # => Polygon # - # source://activerecord//lib/active_record/inheritance.rb#115 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:115 def base_class; end # Returns whether the class is a base class. @@ -23957,7 +23972,7 @@ module ActiveRecord::Inheritance::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/inheritance.rb#119 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:119 def base_class?; end # Returns +true+ if this does not need STI type condition. Returns @@ -23965,34 +23980,34 @@ module ActiveRecord::Inheritance::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/inheritance.rb#82 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:82 def descends_from_active_record?; end - # source://activerecord//lib/active_record/inheritance.rb#226 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:226 def dup; end # @return [Boolean] # - # source://activerecord//lib/active_record/inheritance.rb#92 + # pkg:gem/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 + # pkg:gem/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#218 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:218 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#211 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:211 def polymorphic_name; end # Sets the application record class for Active Record @@ -24002,19 +24017,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:187 def sti_name; end protected @@ -24022,10 +24037,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#242 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:242 def compute_type(type_name); end - # source://activerecord//lib/active_record/inheritance.rb#270 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:270 def set_base_class; end private @@ -24034,266 +24049,266 @@ 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#299 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:299 def discriminate_class_for_record(record); end - # source://activerecord//lib/active_record/inheritance.rb#311 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:311 def find_sti_class(type_name); end - # source://activerecord//lib/active_record/inheritance.rb#287 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:287 def inherited(subclass); end - # source://activerecord//lib/active_record/inheritance.rb#234 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:234 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#331 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:331 def subclass_from_attributes(attrs); end - # source://activerecord//lib/active_record/inheritance.rb#322 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:322 def type_condition(table = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/inheritance.rb#307 + # pkg:gem/activerecord#lib/active_record/inheritance.rb:307 def using_single_table_inheritance?(record); end end -# source://activerecord//lib/active_record/insert_all.rb#6 +# pkg:gem/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#18 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:18 def initialize(relation, connection, 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 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:7 def connection; end - # source://activerecord//lib/active_record/insert_all.rb#48 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:48 def execute; end # Returns the value of attribute inserts. # - # source://activerecord//lib/active_record/insert_all.rb#7 + # pkg:gem/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 + # pkg:gem/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#92 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:92 def keys_including_timestamps; end - # source://activerecord//lib/active_record/insert_all.rb#73 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:73 def map_key_with_value; end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/insert_all.rb#7 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:8 def on_duplicate; end - # source://activerecord//lib/active_record/insert_all.rb#61 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:61 def primary_keys; end # @return [Boolean] # - # source://activerecord//lib/active_record/insert_all.rb#87 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:87 def record_timestamps?; end # Returns the value of attribute returning. # - # source://activerecord//lib/active_record/insert_all.rb#8 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:8 def returning; end # @return [Boolean] # - # source://activerecord//lib/active_record/insert_all.rb#65 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:65 def skip_duplicates?; end # Returns the value of attribute unique_by. # - # source://activerecord//lib/active_record/insert_all.rb#8 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:8 def unique_by; end - # source://activerecord//lib/active_record/insert_all.rb#57 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:57 def updatable_columns; end # @return [Boolean] # - # source://activerecord//lib/active_record/insert_all.rb#69 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:69 def update_duplicates?; end # Returns the value of attribute update_only. # - # source://activerecord//lib/active_record/insert_all.rb#8 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:8 def update_sql; end private - # source://activerecord//lib/active_record/insert_all.rb#129 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:129 def configure_on_duplicate_update_logic; end # @return [Boolean] # - # source://activerecord//lib/active_record/insert_all.rb#145 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:145 def custom_update_sql_provided?; end # @raise [ArgumentError] # - # source://activerecord//lib/active_record/insert_all.rb#212 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:212 def disallow_raw_sql!(value); end - # source://activerecord//lib/active_record/insert_all.rb#173 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:173 def ensure_valid_options_for_connection!; end - # source://activerecord//lib/active_record/insert_all.rb#149 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:149 def find_unique_index_for(unique_by); end # @return [Boolean] # - # source://activerecord//lib/active_record/insert_all.rb#101 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:101 def has_attribute_aliases?(attributes); end - # source://activerecord//lib/active_record/insert_all.rb#197 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:197 def readonly_columns; end - # source://activerecord//lib/active_record/insert_all.rb#125 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:125 def resolve_attribute_alias(attribute); end - # source://activerecord//lib/active_record/insert_all.rb#114 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:114 def resolve_attribute_aliases; end - # source://activerecord//lib/active_record/insert_all.rb#105 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:105 def resolve_sti; end - # source://activerecord//lib/active_record/insert_all.rb#221 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:221 def timestamps_for_create; end - # source://activerecord//lib/active_record/insert_all.rb#192 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:192 def to_sql; end - # source://activerecord//lib/active_record/insert_all.rb#201 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:201 def unique_by_columns; end - # source://activerecord//lib/active_record/insert_all.rb#169 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:169 def unique_indexes; end - # source://activerecord//lib/active_record/insert_all.rb#206 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:206 def verify_attributes(attributes); end class << self - # source://activerecord//lib/active_record/insert_all.rb#11 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:11 def execute(relation, *_arg1, **_arg2, &_arg3); end end end -# source://activerecord//lib/active_record/insert_all.rb#225 +# pkg:gem/activerecord#lib/active_record/insert_all.rb:225 class ActiveRecord::InsertAll::Builder # @return [Builder] a new instance of Builder # - # source://activerecord//lib/active_record/insert_all.rb#230 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:230 def initialize(insert_all); end - # source://activerecord//lib/active_record/insert_all.rb#270 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:270 def conflict_target; end - # source://activerecord//lib/active_record/insert_all.rb#234 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:234 def into; end - # source://activerecord//lib/active_record/insert_all.rb#228 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:228 def keys(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/insert_all.rb#228 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:228 def keys_including_timestamps(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/insert_all.rb#226 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:226 def model; end - # source://activerecord//lib/active_record/insert_all.rb#228 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:228 def primary_keys(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/insert_all.rb#294 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:294 def raw_update_sql; end - # source://activerecord//lib/active_record/insert_all.rb#298 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:298 def raw_update_sql?; end - # source://activerecord//lib/active_record/insert_all.rb#228 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:228 def record_timestamps?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/insert_all.rb#254 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:254 def returning; end - # source://activerecord//lib/active_record/insert_all.rb#228 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:228 def skip_duplicates?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/insert_all.rb#284 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:284 def touch_model_timestamps_unless(&block); end - # source://activerecord//lib/active_record/insert_all.rb#280 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:280 def updatable_columns; end - # source://activerecord//lib/active_record/insert_all.rb#228 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:228 def update_duplicates?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/insert_all.rb#238 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:238 def values_list; end private - # source://activerecord//lib/active_record/insert_all.rb#307 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:307 def columns_list; end # Returns the value of attribute connection. # - # source://activerecord//lib/active_record/insert_all.rb#301 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:301 def connection; end # @raise [UnknownAttributeError] # - # source://activerecord//lib/active_record/insert_all.rb#311 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:311 def extract_types_for(keys); end - # source://activerecord//lib/active_record/insert_all.rb#320 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:320 def format_columns(columns); end # Returns the value of attribute insert_all. # - # source://activerecord//lib/active_record/insert_all.rb#301 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:301 def insert_all; end - # source://activerecord//lib/active_record/insert_all.rb#328 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:328 def quote_column(column); end - # source://activerecord//lib/active_record/insert_all.rb#324 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:324 def quote_columns(columns); end # @return [Boolean] # - # source://activerecord//lib/active_record/insert_all.rb#303 + # pkg:gem/activerecord#lib/active_record/insert_all.rb:303 def touch_timestamp_attribute?(column_name); end end -# source://activerecord//lib/active_record/integration.rb#6 +# pkg:gem/activerecord#lib/active_record/integration.rb:6 module ActiveRecord::Integration extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -24312,12 +24327,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 + # pkg:gem/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 + # pkg:gem/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 @@ -24327,7 +24342,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 + # pkg:gem/activerecord#lib/active_record/integration.rb:97 def cache_version; end # Returns a +String+, which Action Pack uses for constructing a URL to this @@ -24353,7 +24368,7 @@ module ActiveRecord::Integration # user = User.find_by(name: 'Phusion') # user_path(user) # => "/users/Phusion" # - # source://activerecord//lib/active_record/integration.rb#57 + # pkg:gem/activerecord#lib/active_record/integration.rb:57 def to_param; end private @@ -24370,7 +24385,7 @@ module ActiveRecord::Integration # # @return [Boolean] # - # source://activerecord//lib/active_record/integration.rb#178 + # pkg:gem/activerecord#lib/active_record/integration.rb:178 def can_use_fast_cache_version?(timestamp); end # Converts a raw database string to `:usec` @@ -24386,7 +24401,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#200 + # pkg:gem/activerecord#lib/active_record/integration.rb:200 def raw_timestamp_to_cache_version(timestamp); end module GeneratedClassMethods @@ -24411,9 +24426,9 @@ module ActiveRecord::Integration end end -# source://activerecord//lib/active_record/integration.rb#122 +# pkg:gem/activerecord#lib/active_record/integration.rb:122 module ActiveRecord::Integration::ClassMethods - # source://activerecord//lib/active_record/integration.rb#163 + # pkg:gem/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 @@ -24441,7 +24456,7 @@ module ActiveRecord::Integration::ClassMethods # params[:id] # => "123-fancy-pants" # User.find(params[:id]).id # => 123 # - # source://activerecord//lib/active_record/integration.rb#147 + # pkg:gem/activerecord#lib/active_record/integration.rb:147 def to_param(method_name = T.unsafe(nil)); end end @@ -24451,128 +24466,128 @@ 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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:18 def initialize(pool); end - # source://activerecord//lib/active_record/internal_metadata.rb#47 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:47 def [](key); end - # source://activerecord//lib/active_record/internal_metadata.rb#39 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:16 def arel_table; end - # source://activerecord//lib/active_record/internal_metadata.rb#65 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:65 def count; end # Creates an internal metadata table with columns +key+ and +value+ # - # source://activerecord//lib/active_record/internal_metadata.rb#85 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:85 def create_table; end - # source://activerecord//lib/active_record/internal_metadata.rb#74 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:74 def create_table_and_set_flags(environment, schema_sha1 = T.unsafe(nil)); end - # source://activerecord//lib/active_record/internal_metadata.rb#57 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:57 def delete_all_entries; end - # source://activerecord//lib/active_record/internal_metadata.rb#99 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:99 def drop_table; end # @return [Boolean] # - # source://activerecord//lib/active_record/internal_metadata.rb#35 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:35 def enabled?; end - # source://activerecord//lib/active_record/internal_metadata.rb#23 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:23 def primary_key; end # @return [Boolean] # - # source://activerecord//lib/active_record/internal_metadata.rb#107 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:107 def table_exists?; end - # source://activerecord//lib/active_record/internal_metadata.rb#31 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:31 def table_name; end - # source://activerecord//lib/active_record/internal_metadata.rb#27 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:27 def value_key; end private - # source://activerecord//lib/active_record/internal_metadata.rb#130 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:130 def create_entry(connection, key, value); end - # source://activerecord//lib/active_record/internal_metadata.rb#126 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:126 def current_time(connection); end - # source://activerecord//lib/active_record/internal_metadata.rb#154 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:154 def select_entry(connection, key); end - # source://activerecord//lib/active_record/internal_metadata.rb#142 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:142 def update_entry(connection, key, new_value); end - # source://activerecord//lib/active_record/internal_metadata.rb#112 + # pkg:gem/activerecord#lib/active_record/internal_metadata.rb:112 def update_or_create_entry(connection, key, value); end end -# source://activerecord//lib/active_record/internal_metadata.rb#13 +# pkg:gem/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#233 +# pkg:gem/activerecord#lib/active_record/errors.rb:233 class ActiveRecord::InvalidForeignKey < ::ActiveRecord::WrappedDatabaseException; end -# source://activerecord//lib/active_record/migration.rb#131 +# pkg:gem/activerecord#lib/active_record/migration.rb:131 class ActiveRecord::InvalidMigrationTimestampError < ::ActiveRecord::MigrationError # @return [InvalidMigrationTimestampError] a new instance of InvalidMigrationTimestampError # - # source://activerecord//lib/active_record/migration.rb#132 + # pkg:gem/activerecord#lib/active_record/migration.rb:132 def initialize(version = T.unsafe(nil), name = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/associations/errors.rb#33 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:33 class ActiveRecord::InverseOfAssociationNotFoundError < ::ActiveRecord::ActiveRecordError include ::DidYouMean::Correctable # @return [InverseOfAssociationNotFoundError] a new instance of InverseOfAssociationNotFoundError # - # source://activerecord//lib/active_record/associations/errors.rb#36 + # pkg:gem/activerecord#lib/active_record/associations/errors.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/errors.rb#34 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:34 def associated_class; end - # source://activerecord//lib/active_record/associations/errors.rb#49 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:49 def corrections; end # Returns the value of attribute reflection. # - # source://activerecord//lib/active_record/associations/errors.rb#34 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:34 def reflection; end end -# source://activerecord//lib/active_record/associations/errors.rb#62 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:62 class ActiveRecord::InverseOfAssociationRecursiveError < ::ActiveRecord::ActiveRecordError # @return [InverseOfAssociationRecursiveError] a new instance of InverseOfAssociationRecursiveError # - # source://activerecord//lib/active_record/associations/errors.rb#64 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:64 def initialize(reflection = T.unsafe(nil)); end # Returns the value of attribute reflection. # - # source://activerecord//lib/active_record/associations/errors.rb#63 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:63 def reflection; end end @@ -24648,29 +24663,29 @@ end # end # end # -# source://activerecord//lib/active_record/migration.rb#88 +# pkg:gem/activerecord#lib/active_record/migration.rb:88 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#570 +# pkg:gem/activerecord#lib/active_record/errors.rb:570 class ActiveRecord::IrreversibleOrderError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/legacy_yaml_adapter.rb#4 +# pkg:gem/activerecord#lib/active_record/legacy_yaml_adapter.rb:4 module ActiveRecord::LegacyYamlAdapter class << self - # source://activerecord//lib/active_record/legacy_yaml_adapter.rb#5 + # pkg:gem/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#578 +# pkg:gem/activerecord#lib/active_record/errors.rb:578 class ActiveRecord::LockWaitTimeout < ::ActiveRecord::StatementInvalid; end -# source://activerecord//lib/active_record.rb#149 +# pkg:gem/activerecord#lib/active_record.rb:149 module ActiveRecord::Locking extend ::ActiveSupport::Autoload end @@ -24679,22 +24694,22 @@ end # `nil` values to `lock_version`, and not result in `ActiveRecord::StaleObjectError` # during update record. # -# source://activerecord//lib/active_record/locking/optimistic.rb#213 +# pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:213 class ActiveRecord::Locking::LockingType - # source://activerecord//lib/active_record/locking/optimistic.rb#218 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:218 def deserialize(value); end - # source://activerecord//lib/active_record/locking/optimistic.rb#230 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:230 def encode_with(coder); end - # source://activerecord//lib/active_record/locking/optimistic.rb#226 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:226 def init_with(coder); end - # source://activerecord//lib/active_record/locking/optimistic.rb#222 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:222 def serialize(value); end class << self - # source://activerecord//lib/active_record/locking/optimistic.rb#214 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:214 def new(subtype); end end end @@ -24746,7 +24761,7 @@ end # self.locking_column = :lock_person # end # -# source://activerecord//lib/active_record/locking/optimistic.rb#52 +# pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:52 module ActiveRecord::Locking::Optimistic extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -24754,38 +24769,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 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:63 def increment!(*_arg0, **_arg1); end # @return [Boolean] # - # source://activerecord//lib/active_record/locking/optimistic.rb#59 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:59 def locking_enabled?; end private - # source://activerecord//lib/active_record/locking/optimistic.rb#149 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:149 def _clear_locking_column; end - # source://activerecord//lib/active_record/locking/optimistic.rb#78 + # pkg:gem/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#141 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:141 def _lock_value_for_database(locking_column); end - # source://activerecord//lib/active_record/locking/optimistic.rb#154 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:154 def _query_constraints_hash; end - # source://activerecord//lib/active_record/locking/optimistic.rb#87 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:87 def _touch_row(attribute_names, time); end - # source://activerecord//lib/active_record/locking/optimistic.rb#92 + # pkg:gem/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#131 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:131 def destroy_row; end - # source://activerecord//lib/active_record/locking/optimistic.rb#72 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:72 def initialize_dup(other); end module GeneratedClassMethods @@ -24800,16 +24815,16 @@ module ActiveRecord::Locking::Optimistic end end -# source://activerecord//lib/active_record/locking/optimistic.rb#161 +# pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:161 module ActiveRecord::Locking::Optimistic::ClassMethods # The version column used for optimistic locking. Defaults to +lock_version+. # - # source://activerecord//lib/active_record/locking/optimistic.rb#178 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:178 def locking_column; end # Set the column to use for optimistic locking. Defaults to +lock_version+. # - # source://activerecord//lib/active_record/locking/optimistic.rb#172 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:172 def locking_column=(value); end # Returns true if the +lock_optimistically+ flag is set to true @@ -24818,30 +24833,30 @@ module ActiveRecord::Locking::Optimistic::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/locking/optimistic.rb#167 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:167 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#181 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:181 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#187 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:187 def update_counters(id, counters); end private - # source://activerecord//lib/active_record/locking/optimistic.rb#193 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:193 def hook_attribute_type(name, cast_type); end - # source://activerecord//lib/active_record/locking/optimistic.rb#201 + # pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:201 def inherited(base); end end -# source://activerecord//lib/active_record/locking/optimistic.rb#162 +# pkg:gem/activerecord#lib/active_record/locking/optimistic.rb:162 ActiveRecord::Locking::Optimistic::ClassMethods::DEFAULT_LOCKING_COLUMN = T.let(T.unsafe(nil), String) # = \Pessimistic \Locking @@ -24904,14 +24919,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 +# pkg:gem/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 + # pkg:gem/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 @@ -24922,108 +24937,108 @@ module ActiveRecord::Locking::Pessimistic # and joinable: to the wrapping transaction (see # ActiveRecord::ConnectionAdapters::DatabaseStatements#transaction). # - # source://activerecord//lib/active_record/locking/pessimistic.rb#97 + # pkg:gem/activerecord#lib/active_record/locking/pessimistic.rb:97 def with_lock(*args); end end -# source://activerecord//lib/active_record/log_subscriber.rb#4 +# pkg:gem/activerecord#lib/active_record/log_subscriber.rb:4 class ActiveRecord::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def backtrace_cleaner; end - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def backtrace_cleaner=(_arg0); end - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def backtrace_cleaner?; end - # source://activerecord//lib/active_record/log_subscriber.rb#18 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:18 def sql(event); end - # source://activerecord//lib/active_record/log_subscriber.rb#9 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:9 def strict_loading_violation(event); end private - # source://activerecord//lib/active_record/log_subscriber.rb#80 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:80 def colorize_payload_name(name, payload_name); end - # source://activerecord//lib/active_record/log_subscriber.rb#113 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:113 def debug(progname = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/log_subscriber.rb#133 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:133 def filter(name, value); end - # source://activerecord//lib/active_record/log_subscriber.rb#121 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:121 def log_query_source; end - # source://activerecord//lib/active_record/log_subscriber.rb#109 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:109 def logger; end - # source://activerecord//lib/active_record/log_subscriber.rb#129 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:129 def query_source_location; end - # source://activerecord//lib/active_record/log_subscriber.rb#65 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:65 def render_bind(attr, value); end - # source://activerecord//lib/active_record/log_subscriber.rb#88 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:88 def sql_color(sql); end - # source://activerecord//lib/active_record/log_subscriber.rb#61 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:61 def type_casted_binds(casted_binds); end class << self - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def backtrace_cleaner; end - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def backtrace_cleaner=(value); end - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def backtrace_cleaner?; end private - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def __class_attr_backtrace_cleaner; end - # source://activerecord//lib/active_record/log_subscriber.rb#7 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:7 def __class_attr_backtrace_cleaner=(new_value); end - # source://activerecord//lib/active_record/log_subscriber.rb#16 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:16 def __class_attr_log_levels; end - # source://activerecord//lib/active_record/log_subscriber.rb#16 + # pkg:gem/activerecord#lib/active_record/log_subscriber.rb:16 def __class_attr_log_levels=(new_value); end end end -# source://activerecord//lib/active_record/log_subscriber.rb#5 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/marshalling.rb:8 def format_version; end - # source://activerecord//lib/active_record/marshalling.rb#10 + # pkg:gem/activerecord#lib/active_record/marshalling.rb:10 def format_version=(version); end end end -# source://activerecord//lib/active_record/marshalling.rb#23 +# pkg:gem/activerecord#lib/active_record/marshalling.rb:23 module ActiveRecord::Marshalling::Methods - # source://activerecord//lib/active_record/marshalling.rb#24 + # pkg:gem/activerecord#lib/active_record/marshalling.rb:24 def _marshal_dump_7_1; end - # source://activerecord//lib/active_record/marshalling.rb#43 + # pkg:gem/activerecord#lib/active_record/marshalling.rb:43 def marshal_load(state); end end -# source://activerecord//lib/active_record.rb#167 +# pkg:gem/activerecord#lib/active_record.rb:167 module ActiveRecord::Middleware extend ::ActiveSupport::Autoload end @@ -25073,37 +25088,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/middleware/database_selector.rb:59 def resolver_klass; end private - # source://activerecord//lib/active_record/middleware/database_selector.rb#72 + # pkg:gem/activerecord#lib/active_record/middleware/database_selector.rb:72 def select_database(request, &blk); end end @@ -25118,73 +25133,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/middleware/database_selector/resolver.rb:33 def instrumenter; end - # source://activerecord//lib/active_record/middleware/database_selector/resolver.rb#35 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -25193,40 +25208,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/middleware/database_selector/resolver/session.rb:24 def convert_timestamp_to_time(timestamp); end end end @@ -25272,32 +25287,32 @@ end # application has multiple databases, then this option should be set to # the name of the sharded database's abstract connection class. # -# source://activerecord//lib/active_record/middleware/shard_selector.rb#46 +# pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:46 class ActiveRecord::Middleware::ShardSelector # @return [ShardSelector] a new instance of ShardSelector # - # source://activerecord//lib/active_record/middleware/shard_selector.rb#47 + # pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:47 def initialize(app, resolver, options = T.unsafe(nil)); end - # source://activerecord//lib/active_record/middleware/shard_selector.rb#55 + # pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:55 def call(env); end # Returns the value of attribute options. # - # source://activerecord//lib/active_record/middleware/shard_selector.rb#53 + # pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:53 def options; end # Returns the value of attribute resolver. # - # source://activerecord//lib/active_record/middleware/shard_selector.rb#53 + # pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:53 def resolver; end private - # source://activerecord//lib/active_record/middleware/shard_selector.rb#66 + # pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:66 def selected_shard(request); end - # source://activerecord//lib/active_record/middleware/shard_selector.rb#70 + # pkg:gem/activerecord#lib/active_record/middleware/shard_selector.rb:70 def set_shard(shard, &block); end end @@ -25635,67 +25650,67 @@ 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#570 +# pkg:gem/activerecord#lib/active_record/migration.rb:570 class ActiveRecord::Migration # @return [Migration] a new instance of Migration # - # source://activerecord//lib/active_record/migration.rb#805 + # pkg:gem/activerecord#lib/active_record/migration.rb:805 def initialize(name = T.unsafe(nil), version = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#1010 + # pkg:gem/activerecord#lib/active_record/migration.rb:1010 def announce(message); end - # source://activerecord//lib/active_record/migration.rb#1041 + # pkg:gem/activerecord#lib/active_record/migration.rb:1041 def connection; end - # source://activerecord//lib/active_record/migration.rb#1045 + # pkg:gem/activerecord#lib/active_record/migration.rb:1045 def connection_pool; end - # source://activerecord//lib/active_record/migration.rb#1066 + # pkg:gem/activerecord#lib/active_record/migration.rb:1066 def copy(destination, sources, options = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#792 + # pkg:gem/activerecord#lib/active_record/migration.rb:792 def disable_ddl_transaction; end - # source://activerecord//lib/active_record/migration.rb#962 + # pkg:gem/activerecord#lib/active_record/migration.rb:962 def down; end - # source://activerecord//lib/active_record/migration.rb#990 + # pkg:gem/activerecord#lib/active_record/migration.rb:990 def exec_migration(conn, direction); end - # source://activerecord//lib/active_record/migration.rb#812 + # pkg:gem/activerecord#lib/active_record/migration.rb:812 def execution_strategy; end - # source://activerecord//lib/active_record/migration.rb#1049 + # pkg:gem/activerecord#lib/active_record/migration.rb:1049 def method_missing(method, *arguments, **_arg2, &block); end # Execute this migration in the named direction # - # source://activerecord//lib/active_record/migration.rb#969 + # pkg:gem/activerecord#lib/active_record/migration.rb:969 def migrate(direction); end # Returns the value of attribute name. # - # source://activerecord//lib/active_record/migration.rb#803 + # pkg:gem/activerecord#lib/active_record/migration.rb:803 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activerecord//lib/active_record/migration.rb#803 + # pkg:gem/activerecord#lib/active_record/migration.rb:803 def name=(_arg0); end # Determines the version number of the next migration. # - # source://activerecord//lib/active_record/migration.rb#1133 + # pkg:gem/activerecord#lib/active_record/migration.rb:1133 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#1124 + # pkg:gem/activerecord#lib/active_record/migration.rb:1124 def proper_table_name(name, options = T.unsafe(nil)); end # Used to specify an operation that can be run in one direction or another. @@ -25725,7 +25740,7 @@ class ActiveRecord::Migration # end # end # - # source://activerecord//lib/active_record/migration.rb#914 + # pkg:gem/activerecord#lib/active_record/migration.rb:914 def reversible; end # Reverses the migration commands for the given block and @@ -25766,12 +25781,12 @@ class ActiveRecord::Migration # # This command can be nested. # - # source://activerecord//lib/active_record/migration.rb#857 + # pkg:gem/activerecord#lib/active_record/migration.rb:857 def revert(*migration_classes, &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#874 + # pkg:gem/activerecord#lib/active_record/migration.rb:874 def reverting?; end # Runs the given migration classes. @@ -25780,33 +25795,33 @@ class ActiveRecord::Migration # - +:direction+ - Default is +:up+. # - +:revert+ - Default is +false+. # - # source://activerecord//lib/active_record/migration.rb#942 + # pkg:gem/activerecord#lib/active_record/migration.rb:942 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#1018 + # pkg:gem/activerecord#lib/active_record/migration.rb:1018 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#1024 + # pkg:gem/activerecord#lib/active_record/migration.rb:1024 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#1034 + # pkg:gem/activerecord#lib/active_record/migration.rb:1034 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#1143 + # pkg:gem/activerecord#lib/active_record/migration.rb:1143 def table_name_options(config = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#956 + # pkg:gem/activerecord#lib/active_record/migration.rb:956 def up; end # Used to specify an operation that is only run when migrating up @@ -25824,7 +25839,7 @@ class ActiveRecord::Migration # end # end # - # source://activerecord//lib/active_record/migration.rb#933 + # pkg:gem/activerecord#lib/active_record/migration.rb:933 def up_only(&block); end # :singleton-method: verbose @@ -25833,71 +25848,71 @@ class ActiveRecord::Migration # happen, along with benchmarks describing how long each step took. Defaults to # true. # - # source://activerecord//lib/active_record/migration.rb#802 + # pkg:gem/activerecord#lib/active_record/migration.rb:802 def verbose; end - # source://activerecord//lib/active_record/migration.rb#802 + # pkg:gem/activerecord#lib/active_record/migration.rb:802 def verbose=(val); end # Returns the value of attribute version. # - # source://activerecord//lib/active_record/migration.rb#803 + # pkg:gem/activerecord#lib/active_record/migration.rb:803 def version; end # Sets the attribute version # # @param value the value to set the attribute version to. # - # source://activerecord//lib/active_record/migration.rb#803 + # pkg:gem/activerecord#lib/active_record/migration.rb:803 def version=(_arg0); end - # source://activerecord//lib/active_record/migration.rb#1006 + # pkg:gem/activerecord#lib/active_record/migration.rb:1006 def write(text = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/migration.rb#1175 + # pkg:gem/activerecord#lib/active_record/migration.rb:1175 def command_recorder; end - # source://activerecord//lib/active_record/migration.rb#1151 + # pkg:gem/activerecord#lib/active_record/migration.rb:1151 def execute_block; end - # source://activerecord//lib/active_record/migration.rb#1159 + # pkg:gem/activerecord#lib/active_record/migration.rb:1159 def format_arguments(arguments); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1171 + # pkg:gem/activerecord#lib/active_record/migration.rb:1171 def internal_option?(option_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1179 + # pkg:gem/activerecord#lib/active_record/migration.rb:1179 def respond_to_missing?(method, include_private = T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/migration.rb#629 + # pkg:gem/activerecord#lib/active_record/migration.rb:629 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#693 + # pkg:gem/activerecord#lib/active_record/migration.rb:693 def check_all_pending!; end - # source://activerecord//lib/active_record/migration.rb#739 + # pkg:gem/activerecord#lib/active_record/migration.rb:739 def check_pending_migrations; end - # source://activerecord//lib/active_record/migration.rb#633 + # pkg:gem/activerecord#lib/active_record/migration.rb:633 def current_version; end - # source://activerecord//lib/active_record/migration.rb#684 + # pkg:gem/activerecord#lib/active_record/migration.rb:684 def delegate; end - # source://activerecord//lib/active_record/migration.rb#684 + # pkg:gem/activerecord#lib/active_record/migration.rb:684 def delegate=(_arg0); end - # source://activerecord//lib/active_record/migration.rb#685 + # pkg:gem/activerecord#lib/active_record/migration.rb:685 def disable_ddl_transaction; end # Disable the transaction wrapping this migration. @@ -25905,63 +25920,63 @@ class ActiveRecord::Migration # # For more details read the {"Transactional Migrations" section above}[rdoc-ref:Migration]. # - # source://activerecord//lib/active_record/migration.rb#735 + # pkg:gem/activerecord#lib/active_record/migration.rb:735 def disable_ddl_transaction!; end - # source://activerecord//lib/active_record/migration.rb#685 + # pkg:gem/activerecord#lib/active_record/migration.rb:685 def disable_ddl_transaction=(_arg0); end - # source://activerecord//lib/active_record/migration.rb#617 + # pkg:gem/activerecord#lib/active_record/migration.rb:617 def inherited(subclass); end - # source://activerecord//lib/active_record/migration.rb#709 + # pkg:gem/activerecord#lib/active_record/migration.rb:709 def load_schema_if_pending!; end - # source://activerecord//lib/active_record/migration.rb#717 + # pkg:gem/activerecord#lib/active_record/migration.rb:717 def maintain_test_schema!; end - # source://activerecord//lib/active_record/migration.rb#723 + # pkg:gem/activerecord#lib/active_record/migration.rb:723 def method_missing(name, *_arg1, **_arg2, &_arg3); end - # source://activerecord//lib/active_record/migration.rb#727 + # pkg:gem/activerecord#lib/active_record/migration.rb:727 def migrate(direction); end - # source://activerecord//lib/active_record/migration.rb#687 + # pkg:gem/activerecord#lib/active_record/migration.rb:687 def nearest_delegate; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#639 + # pkg:gem/activerecord#lib/active_record/migration.rb:639 def valid_version_format?(version_string); end - # source://activerecord//lib/active_record/migration.rb#802 + # pkg:gem/activerecord#lib/active_record/migration.rb:802 def verbose; end - # source://activerecord//lib/active_record/migration.rb#802 + # pkg:gem/activerecord#lib/active_record/migration.rb:802 def verbose=(val); end private # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#748 + # pkg:gem/activerecord#lib/active_record/migration.rb:748 def any_schema_needs_update?; end - # source://activerecord//lib/active_record/migration.rb#754 + # pkg:gem/activerecord#lib/active_record/migration.rb:754 def db_configs_in_current_env; end - # source://activerecord//lib/active_record/migration.rb#772 + # pkg:gem/activerecord#lib/active_record/migration.rb:772 def env; end - # source://activerecord//lib/active_record/migration.rb#776 + # pkg:gem/activerecord#lib/active_record/migration.rb:776 def load_schema!; end - # source://activerecord//lib/active_record/migration.rb#758 + # pkg:gem/activerecord#lib/active_record/migration.rb:758 def pending_migrations; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#786 + # pkg:gem/activerecord#lib/active_record/migration.rb:786 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end end @@ -25969,19 +25984,19 @@ 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#648 +# pkg:gem/activerecord#lib/active_record/migration.rb:648 class ActiveRecord::Migration::CheckPending # @return [CheckPending] a new instance of CheckPending # - # source://activerecord//lib/active_record/migration.rb#649 + # pkg:gem/activerecord#lib/active_record/migration.rb:649 def initialize(app, file_watcher: T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#656 + # pkg:gem/activerecord#lib/active_record/migration.rb:656 def call(env); end private - # source://activerecord//lib/active_record/migration.rb#675 + # pkg:gem/activerecord#lib/active_record/migration.rb:675 def build_watcher(&block); end end @@ -26030,134 +26045,134 @@ end # * enable_index # * disable_index # -# source://activerecord//lib/active_record/migration/command_recorder.rb#49 +# pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:49 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#70 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:70 def initialize(delegate = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#136 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:136 def add_belongs_to(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_check_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_enum_value(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_exclusion_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_foreign_key(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_reference(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_timestamps(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def add_unique_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def change_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def change_column_comment(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def change_column_default(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def change_column_null(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#139 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:139 def change_table(table_name, **options); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def change_table_comment(*args, **_arg1, &block); end # Returns the value of attribute commands. # - # source://activerecord//lib/active_record/migration/command_recorder.rb#68 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:68 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#68 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:68 def commands=(_arg0); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def create_enum(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def create_join_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def create_schema(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def create_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def create_virtual_table(*args, **_arg1, &block); end # Returns the value of attribute delegate. # - # source://activerecord//lib/active_record/migration/command_recorder.rb#68 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:68 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#68 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:68 def delegate=(_arg0); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def disable_extension(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def disable_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def drop_enum(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def drop_join_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def drop_schema(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def drop_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def drop_virtual_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def enable_extension(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def enable_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def execute(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def execute_block(*args, **_arg1, &block); end # Returns the inverse of the given command. For example: @@ -26175,13 +26190,13 @@ class ActiveRecord::Migration::CommandRecorder # # @raise [IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#117 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:117 def inverse_of(command, args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#282 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:282 def invert_add_belongs_to(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#283 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:283 def invert_remove_belongs_to(args, &block); end # Record +command+. +command+ should be a method name and arguments. @@ -26189,55 +26204,55 @@ class ActiveRecord::Migration::CommandRecorder # # recorder.record(:method_name, [:arg1, :arg2]) # - # source://activerecord//lib/active_record/migration/command_recorder.rb#97 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:97 def record(*command, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#137 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:137 def remove_belongs_to(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_check_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_columns(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_exclusion_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_foreign_key(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_reference(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_timestamps(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def remove_unique_constraint(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def rename_column(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def rename_enum(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def rename_enum_value(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def rename_index(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def rename_table(*args, **_arg1, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#151 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:151 def replay(migration); end # While executing the given block, the recorded will be in reverting mode. @@ -26248,548 +26263,548 @@ 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#83 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:83 def revert; end # Returns the value of attribute reverting. # - # source://activerecord//lib/active_record/migration/command_recorder.rb#68 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:68 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#68 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:68 def reverting=(_arg0); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:129 def transaction(*args, **_arg1, &block); end private - # source://activerecord//lib/active_record/migration/command_recorder.rb#339 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:339 def invert_add_check_constraint(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#300 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:300 def invert_add_foreign_key(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#361 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:361 def invert_add_unique_constraint(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#319 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:319 def invert_change_column_comment(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#285 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:285 def invert_change_column_default(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#295 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:295 def invert_change_column_null(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#329 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:329 def invert_change_table_comment(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#210 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:210 def invert_create_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#194 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:194 def invert_disable_index(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#375 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:375 def invert_drop_enum(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#217 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:217 def invert_drop_table(args, &block); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#402 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:402 def invert_drop_virtual_table(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#189 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:189 def invert_enable_index(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#347 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:347 def invert_remove_check_constraint(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#241 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:241 def invert_remove_column(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#246 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:246 def invert_remove_columns(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#356 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:356 def invert_remove_exclusion_constraint(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#305 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:305 def invert_remove_foreign_key(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#264 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:264 def invert_remove_index(args); end # @raise [ActiveRecord::IrreversibleMigration] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#368 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:368 def invert_remove_unique_constraint(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#259 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:259 def invert_rename_column(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#381 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:381 def invert_rename_enum(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#391 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:391 def invert_rename_enum_value(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#254 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:254 def invert_rename_index(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#234 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:234 def invert_rename_table(args); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#199 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:199 def invert_transaction(args, &block); end # Forwards any missing method call to the \target. # - # source://activerecord//lib/active_record/migration/command_recorder.rb#413 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:413 def method_missing(method, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration/command_recorder.rb#408 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:408 def respond_to_missing?(method, _); end end -# source://activerecord//lib/active_record/migration/command_recorder.rb#50 +# pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:50 ActiveRecord::Migration::CommandRecorder::ReversibleAndIrreversibleMethods = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/migration/command_recorder.rb#158 +# pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:158 module ActiveRecord::Migration::CommandRecorder::StraightReversions - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_check_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_column(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_exclusion_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_foreign_key(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_index(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_reference(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_timestamps(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_add_unique_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_create_enum(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_create_join_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_create_schema(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_create_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_create_virtual_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_disable_extension(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_drop_enum(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_drop_join_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_drop_schema(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_drop_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_drop_virtual_table(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_enable_extension(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_execute_block(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_check_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_column(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_exclusion_constraint(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_foreign_key(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_index(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_reference(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_timestamps(args, &block); end - # source://activerecord//lib/active_record/migration/command_recorder.rb#178 + # pkg:gem/activerecord#lib/active_record/migration/command_recorder.rb:178 def invert_remove_unique_constraint(args, &block); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#5 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:5 module ActiveRecord::Migration::Compatibility class << self - # source://activerecord//lib/active_record/migration/compatibility.rb#6 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:6 def find(version); end end end -# source://activerecord//lib/active_record/migration/compatibility.rb#428 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:428 class ActiveRecord::Migration::Compatibility::V4_2 < ::ActiveRecord::Migration::Compatibility::V5_0 - # source://activerecord//lib/active_record/migration/compatibility.rb#450 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:450 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#446 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:446 def add_reference(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#452 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:452 def add_timestamps(table_name, **options); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration/compatibility.rb#457 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:457 def index_exists?(table_name, column_name = T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#468 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:468 def remove_index(table_name, column_name = T.unsafe(nil), **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#474 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:474 def compatible_table_definition(t); end - # source://activerecord//lib/active_record/migration/compatibility.rb#479 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:479 def index_name_for_remove(table_name, column_name, options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#429 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:429 module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#434 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:434 def belongs_to(*_arg0, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#430 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:430 def references(*_arg0, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#436 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:436 def timestamps(**options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#442 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:442 def raise_on_if_exist_options(options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#361 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:361 class ActiveRecord::Migration::Compatibility::V5_0 < ::ActiveRecord::Migration::Compatibility::V5_1 - # source://activerecord//lib/active_record/migration/compatibility.rb#419 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:419 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#406 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:406 def add_column(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#416 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:416 def add_reference(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#401 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:401 def create_join_table(table_1, table_2, column_options: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#378 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:378 def create_table(table_name, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#422 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:422 def compatible_table_definition(t); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#362 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:362 module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#371 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:371 def belongs_to(*args, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#363 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:363 def primary_key(name, type = T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#368 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:368 def references(*args, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#374 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:374 def raise_on_if_exist_options(options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#340 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:340 class ActiveRecord::Migration::Compatibility::V5_1 < ::ActiveRecord::Migration::Compatibility::V5_2 - # source://activerecord//lib/active_record/migration/compatibility.rb#341 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:341 def change_column(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#352 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:352 def create_table(table_name, **options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#288 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:288 class ActiveRecord::Migration::Compatibility::V5_2 < ::ActiveRecord::Migration::Compatibility::V6_0 - # source://activerecord//lib/active_record/migration/compatibility.rb#322 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:322 def add_timestamps(table_name, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#333 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:333 def command_recorder; end - # source://activerecord//lib/active_record/migration/compatibility.rb#328 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:328 def compatible_table_definition(t); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#308 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:308 module ActiveRecord::Migration::Compatibility::V5_2::CommandRecorder - # source://activerecord//lib/active_record/migration/compatibility.rb#313 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:313 def invert_change_column_comment(args); end - # source://activerecord//lib/active_record/migration/compatibility.rb#317 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:317 def invert_change_table_comment(args); end - # source://activerecord//lib/active_record/migration/compatibility.rb#309 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:309 def invert_transaction(args, &block); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#289 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:289 module ActiveRecord::Migration::Compatibility::V5_2::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#295 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:295 def column(name, type, index: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#290 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:290 def timestamps(**options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#304 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:304 def raise_on_duplicate_column(name); end - # source://activerecord//lib/active_record/migration/compatibility.rb#301 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:301 def raise_on_if_exist_options(options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#247 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:247 class ActiveRecord::Migration::Compatibility::V6_0 < ::ActiveRecord::Migration::Compatibility::V6_1 - # source://activerecord//lib/active_record/migration/compatibility.rb#279 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:279 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#271 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:271 def add_reference(table_name, ref_name, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#282 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:282 def compatible_table_definition(t); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#248 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:248 class ActiveRecord::Migration::Compatibility::V6_0::ReferenceDefinition < ::ActiveRecord::ConnectionAdapters::ReferenceDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#249 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:249 def index_options(table_name); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#254 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:254 module ActiveRecord::Migration::Compatibility::V6_0::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#259 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:259 def belongs_to(*args, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#261 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:261 def column(name, type, index: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#255 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:255 def references(*args, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#267 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:267 def raise_on_if_exist_options(options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#186 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:186 class ActiveRecord::Migration::Compatibility::V6_1 < ::ActiveRecord::Migration::Compatibility::V7_0 - # source://activerecord//lib/active_record/migration/compatibility.rb#201 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:201 def add_column(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#210 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:210 def change_column(table_name, column_name, type, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#241 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:241 def compatible_table_definition(t); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#187 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:187 class ActiveRecord::Migration::Compatibility::V6_1::PostgreSQLCompat class << self - # source://activerecord//lib/active_record/migration/compatibility.rb#188 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:188 def compatible_timestamp_type(type, connection); end end end -# source://activerecord//lib/active_record/migration/compatibility.rb#219 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:219 module ActiveRecord::Migration::Compatibility::V6_1::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#225 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:225 def change(name, type, index: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#230 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:230 def column(name, type, index: T.unsafe(nil), **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#220 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:220 def new_column_definition(name, type, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#236 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:236 def raise_on_if_exist_options(options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#64 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:64 class ActiveRecord::Migration::Compatibility::V7_0 < ::ActiveRecord::Migration::Compatibility::V7_1 include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName - # source://activerecord//lib/active_record/migration/compatibility.rb#138 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:138 def add_belongs_to(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#124 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:124 def add_column(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#172 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:172 def add_foreign_key(from_table, to_table, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#129 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:129 def add_index(table_name, column_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#134 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:134 def add_reference(table_name, ref_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#153 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:153 def change_column(table_name, column_name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#161 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:161 def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration/compatibility.rb#140 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:140 def create_table(table_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#165 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:165 def disable_extension(name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#147 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:147 def rename_table(table_name, new_name, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#180 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:180 def compatible_table_definition(t); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#65 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:65 module ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName private # @return [Boolean] # - # source://activerecord//lib/active_record/migration/compatibility.rb#89 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:89 def expression_column_name?(column_name); end - # source://activerecord//lib/active_record/migration/compatibility.rb#81 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:81 def index_name_options(column_names); end - # source://activerecord//lib/active_record/migration/compatibility.rb#67 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:67 def legacy_index_name(table_name, options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#94 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:94 module ActiveRecord::Migration::Compatibility::V7_0::TableDefinition include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName - # source://activerecord//lib/active_record/migration/compatibility.rb#102 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:102 def change(name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#97 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:97 def column(name, type, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#107 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:107 def index(column_name, **options); end - # source://activerecord//lib/active_record/migration/compatibility.rb#112 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:112 def references(*args, **options); end private - # source://activerecord//lib/active_record/migration/compatibility.rb#118 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:118 def raise_on_if_exist_options(options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#61 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:61 class ActiveRecord::Migration::Compatibility::V7_1 < ::ActiveRecord::Migration::Compatibility::V7_2; end -# source://activerecord//lib/active_record/migration/compatibility.rb#58 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:58 class ActiveRecord::Migration::Compatibility::V7_2 < ::ActiveRecord::Migration::Compatibility::V8_0; end -# source://activerecord//lib/active_record/migration/compatibility.rb#34 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:34 class ActiveRecord::Migration::Compatibility::V8_0 < ::ActiveRecord::Migration::Current include ::ActiveRecord::Migration::Compatibility::V8_0::RemoveForeignKeyColumnMatch private - # source://activerecord//lib/active_record/migration/compatibility.rb#52 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:52 def compatible_table_definition(t); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#35 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:35 module ActiveRecord::Migration::Compatibility::V8_0::RemoveForeignKeyColumnMatch - # source://activerecord//lib/active_record/migration/compatibility.rb#36 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:36 def remove_foreign_key(*args, **options); end end -# source://activerecord//lib/active_record/migration/compatibility.rb#42 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:42 module ActiveRecord::Migration::Compatibility::V8_0::TableDefinition - # source://activerecord//lib/active_record/migration/compatibility.rb#43 + # pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:43 def remove_foreign_key(to_table = T.unsafe(nil), **options); end end @@ -26810,26 +26825,26 @@ 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#32 +# pkg:gem/activerecord#lib/active_record/migration/compatibility.rb:32 ActiveRecord::Migration::Compatibility::V8_1 = ActiveRecord::Migration::Current # This must be defined before the inherited hook, below # -# source://activerecord//lib/active_record/migration.rb#579 +# pkg:gem/activerecord#lib/active_record/migration.rb:579 class ActiveRecord::Migration::Current < ::ActiveRecord::Migration - # source://activerecord//lib/active_record/migration.rb#588 + # pkg:gem/activerecord#lib/active_record/migration.rb:588 def change_table(table_name, **options); end - # source://activerecord//lib/active_record/migration.rb#612 + # pkg:gem/activerecord#lib/active_record/migration.rb:612 def compatible_table_definition(t); end - # source://activerecord//lib/active_record/migration.rb#596 + # pkg:gem/activerecord#lib/active_record/migration.rb:596 def create_join_table(table_1, table_2, **options); end - # source://activerecord//lib/active_record/migration.rb#580 + # pkg:gem/activerecord#lib/active_record/migration.rb:580 def create_table(table_name, **options); end - # source://activerecord//lib/active_record/migration.rb#604 + # pkg:gem/activerecord#lib/active_record/migration.rb:604 def drop_table(*table_names, **options); end end @@ -26837,40 +26852,40 @@ end # # The class receives the current +connection+ when initialized. # -# source://activerecord//lib/active_record/migration/default_schema_versions_formatter.rb#8 +# pkg:gem/activerecord#lib/active_record/migration/default_schema_versions_formatter.rb:8 class ActiveRecord::Migration::DefaultSchemaVersionsFormatter # @return [DefaultSchemaVersionsFormatter] a new instance of DefaultSchemaVersionsFormatter # - # source://activerecord//lib/active_record/migration/default_schema_versions_formatter.rb#9 + # pkg:gem/activerecord#lib/active_record/migration/default_schema_versions_formatter.rb:9 def initialize(connection); end - # source://activerecord//lib/active_record/migration/default_schema_versions_formatter.rb#13 + # pkg:gem/activerecord#lib/active_record/migration/default_schema_versions_formatter.rb:13 def format(versions); end private # Returns the value of attribute connection. # - # source://activerecord//lib/active_record/migration/default_schema_versions_formatter.rb#27 + # pkg:gem/activerecord#lib/active_record/migration/default_schema_versions_formatter.rb:27 def connection; 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 +# pkg:gem/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#17 + # pkg:gem/activerecord#lib/active_record/migration/default_strategy.rb:17 def connection; end - # source://activerecord//lib/active_record/migration/default_strategy.rb#9 + # pkg:gem/activerecord#lib/active_record/migration/default_strategy.rb:9 def method_missing(method, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration/default_strategy.rb#13 + # pkg:gem/activerecord#lib/active_record/migration/default_strategy.rb:13 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end @@ -26880,45 +26895,45 @@ end # # The ExecutionStrategy receives the current +migration+ when initialized. # -# source://activerecord//lib/active_record/migration/execution_strategy.rb#10 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/migration/execution_strategy.rb:16 def migration; end end -# source://activerecord//lib/active_record/migration/join_table.rb#5 +# pkg:gem/activerecord#lib/active_record/migration/join_table.rb:5 module ActiveRecord::Migration::JoinTable private - # source://activerecord//lib/active_record/migration/join_table.rb#7 + # pkg:gem/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 + # pkg:gem/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#637 +# pkg:gem/activerecord#lib/active_record/migration.rb:637 ActiveRecord::Migration::MigrationFilenameRegexp = T.let(T.unsafe(nil), Regexp) -# source://activerecord//lib/active_record/migration.rb#878 +# pkg:gem/activerecord#lib/active_record/migration.rb:878 class ActiveRecord::Migration::ReversibleBlockHelper < ::Struct - # source://activerecord//lib/active_record/migration.rb#883 + # pkg:gem/activerecord#lib/active_record/migration.rb:883 def down; end # Returns the value of attribute reverting # # @return [Object] the current value of reverting # - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def reverting; end # Sets the attribute reverting @@ -26926,26 +26941,26 @@ class ActiveRecord::Migration::ReversibleBlockHelper < ::Struct # @param value [Object] the value to set the attribute reverting to. # @return [Object] the newly set value # - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def reverting=(_); end - # source://activerecord//lib/active_record/migration.rb#879 + # pkg:gem/activerecord#lib/active_record/migration.rb:879 def up; end class << self - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def [](*_arg0); end - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def inspect; end - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def keyword_init?; end - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def members; end - # source://activerecord//lib/active_record/migration.rb#878 + # pkg:gem/activerecord#lib/active_record/migration.rb:878 def new(*_arg0); end end end @@ -26960,36 +26975,36 @@ end # a +SchemaMigration+ object per database. From the Rake tasks, \Rails will # handle this for you. # -# source://activerecord//lib/active_record/migration.rb#1220 +# pkg:gem/activerecord#lib/active_record/migration.rb:1220 class ActiveRecord::MigrationContext # @return [MigrationContext] a new instance of MigrationContext # - # source://activerecord//lib/active_record/migration.rb#1223 + # pkg:gem/activerecord#lib/active_record/migration.rb:1223 def initialize(migrations_paths, schema_migration = T.unsafe(nil), internal_metadata = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#1349 + # pkg:gem/activerecord#lib/active_record/migration.rb:1349 def current_environment; end - # source://activerecord//lib/active_record/migration.rb#1299 + # pkg:gem/activerecord#lib/active_record/migration.rb:1299 def current_version; end - # source://activerecord//lib/active_record/migration.rb#1273 + # pkg:gem/activerecord#lib/active_record/migration.rb:1273 def down(target_version = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/migration.rb#1259 + # pkg:gem/activerecord#lib/active_record/migration.rb:1259 def forward(steps = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#1291 + # pkg:gem/activerecord#lib/active_record/migration.rb:1291 def get_all_versions; end # Returns the value of attribute internal_metadata. # - # source://activerecord//lib/active_record/migration.rb#1221 + # pkg:gem/activerecord#lib/active_record/migration.rb:1221 def internal_metadata; end # @raise [NoEnvironmentInSchemaError] # - # source://activerecord//lib/active_record/migration.rb#1357 + # pkg:gem/activerecord#lib/active_record/migration.rb:1357 def last_stored_environment; end # Runs the migrations in the +migrations_path+. @@ -27006,110 +27021,110 @@ 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#1242 + # pkg:gem/activerecord#lib/active_record/migration.rb:1242 def migrate(target_version = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/migration.rb#1312 + # pkg:gem/activerecord#lib/active_record/migration.rb:1312 def migrations; end # Returns the value of attribute migrations_paths. # - # source://activerecord//lib/active_record/migration.rb#1221 + # pkg:gem/activerecord#lib/active_record/migration.rb:1221 def migrations_paths; end - # source://activerecord//lib/active_record/migration.rb#1328 + # pkg:gem/activerecord#lib/active_record/migration.rb:1328 def migrations_status; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1304 + # pkg:gem/activerecord#lib/active_record/migration.rb:1304 def needs_migration?; end - # source://activerecord//lib/active_record/migration.rb#1287 + # pkg:gem/activerecord#lib/active_record/migration.rb:1287 def open; end - # source://activerecord//lib/active_record/migration.rb#1308 + # pkg:gem/activerecord#lib/active_record/migration.rb:1308 def pending_migration_versions; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1353 + # pkg:gem/activerecord#lib/active_record/migration.rb:1353 def protected_environment?; end - # source://activerecord//lib/active_record/migration.rb#1255 + # pkg:gem/activerecord#lib/active_record/migration.rb:1255 def rollback(steps = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#1283 + # pkg:gem/activerecord#lib/active_record/migration.rb:1283 def run(direction, target_version); end # Returns the value of attribute schema_migration. # - # source://activerecord//lib/active_record/migration.rb#1221 + # pkg:gem/activerecord#lib/active_record/migration.rb:1221 def schema_migration; end - # source://activerecord//lib/active_record/migration.rb#1263 + # pkg:gem/activerecord#lib/active_record/migration.rb:1263 def up(target_version = T.unsafe(nil), &block); end private - # source://activerecord//lib/active_record/migration.rb#1369 + # pkg:gem/activerecord#lib/active_record/migration.rb:1369 def connection; end - # source://activerecord//lib/active_record/migration.rb#1373 + # pkg:gem/activerecord#lib/active_record/migration.rb:1373 def connection_pool; end - # source://activerecord//lib/active_record/migration.rb#1377 + # pkg:gem/activerecord#lib/active_record/migration.rb:1377 def migration_files; end - # source://activerecord//lib/active_record/migration.rb#1394 + # pkg:gem/activerecord#lib/active_record/migration.rb:1394 def move(direction, steps); end - # source://activerecord//lib/active_record/migration.rb#1382 + # pkg:gem/activerecord#lib/active_record/migration.rb:1382 def parse_migration_filename(filename); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1390 + # pkg:gem/activerecord#lib/active_record/migration.rb:1390 def valid_migration_timestamp?(version); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1386 + # pkg:gem/activerecord#lib/active_record/migration.rb:1386 def validate_timestamp?; end end -# source://activerecord//lib/active_record/migration.rb#10 +# pkg:gem/activerecord#lib/active_record/migration.rb:10 class ActiveRecord::MigrationError < ::ActiveRecord::ActiveRecordError # @return [MigrationError] a new instance of MigrationError # - # source://activerecord//lib/active_record/migration.rb#11 + # pkg:gem/activerecord#lib/active_record/migration.rb:11 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#1186 +# pkg:gem/activerecord#lib/active_record/migration.rb:1186 class ActiveRecord::MigrationProxy < ::Struct # @return [MigrationProxy] a new instance of MigrationProxy # - # source://activerecord//lib/active_record/migration.rb#1187 + # pkg:gem/activerecord#lib/active_record/migration.rb:1187 def initialize(name, version, filename, scope); end - # source://activerecord//lib/active_record/migration.rb#1196 + # pkg:gem/activerecord#lib/active_record/migration.rb:1196 def announce(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/migration.rb#1192 + # pkg:gem/activerecord#lib/active_record/migration.rb:1192 def basename; end - # source://activerecord//lib/active_record/migration.rb#1196 + # pkg:gem/activerecord#lib/active_record/migration.rb:1196 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#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def filename; end # Sets the attribute filename @@ -27117,17 +27132,17 @@ class ActiveRecord::MigrationProxy < ::Struct # @param value [Object] the value to set the attribute filename to. # @return [Object] the newly set value # - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def filename=(_); end - # source://activerecord//lib/active_record/migration.rb#1196 + # pkg:gem/activerecord#lib/active_record/migration.rb:1196 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#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def name; end # Sets the attribute name @@ -27135,14 +27150,14 @@ class ActiveRecord::MigrationProxy < ::Struct # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def name=(_); end # Returns the value of attribute scope # # @return [Object] the current value of scope # - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def scope; end # Sets the attribute scope @@ -27150,14 +27165,14 @@ class ActiveRecord::MigrationProxy < ::Struct # @param value [Object] the value to set the attribute scope to. # @return [Object] the newly set value # - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def scope=(_); end # Returns the value of attribute version # # @return [Object] the current value of version # - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def version; end # Sets the attribute version @@ -27165,203 +27180,203 @@ class ActiveRecord::MigrationProxy < ::Struct # @param value [Object] the value to set the attribute version to. # @return [Object] the newly set value # - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def version=(_); end - # source://activerecord//lib/active_record/migration.rb#1196 + # pkg:gem/activerecord#lib/active_record/migration.rb:1196 def write(*_arg0, **_arg1, &_arg2); end private - # source://activerecord//lib/active_record/migration.rb#1203 + # pkg:gem/activerecord#lib/active_record/migration.rb:1203 def load_migration; end - # source://activerecord//lib/active_record/migration.rb#1199 + # pkg:gem/activerecord#lib/active_record/migration.rb:1199 def migration; end class << self - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def [](*_arg0); end - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def inspect; end - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def keyword_init?; end - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def members; end - # source://activerecord//lib/active_record/migration.rb#1186 + # pkg:gem/activerecord#lib/active_record/migration.rb:1186 def new(*_arg0); end end end -# source://activerecord//lib/active_record/migration.rb#1414 +# pkg:gem/activerecord#lib/active_record/migration.rb:1414 class ActiveRecord::Migrator # @return [Migrator] a new instance of Migrator # - # source://activerecord//lib/active_record/migration.rb#1430 + # pkg:gem/activerecord#lib/active_record/migration.rb:1430 def initialize(direction, migrations, schema_migration, internal_metadata, target_version = T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#1451 + # pkg:gem/activerecord#lib/active_record/migration.rb:1451 def current; end - # source://activerecord//lib/active_record/migration.rb#1448 + # pkg:gem/activerecord#lib/active_record/migration.rb:1448 def current_migration; end - # source://activerecord//lib/active_record/migration.rb#1444 + # pkg:gem/activerecord#lib/active_record/migration.rb:1444 def current_version; end - # source://activerecord//lib/active_record/migration.rb#1493 + # pkg:gem/activerecord#lib/active_record/migration.rb:1493 def load_migrated; end - # source://activerecord//lib/active_record/migration.rb#1461 + # pkg:gem/activerecord#lib/active_record/migration.rb:1461 def migrate; end - # source://activerecord//lib/active_record/migration.rb#1489 + # pkg:gem/activerecord#lib/active_record/migration.rb:1489 def migrated; end - # source://activerecord//lib/active_record/migration.rb#1480 + # pkg:gem/activerecord#lib/active_record/migration.rb:1480 def migrations; end - # source://activerecord//lib/active_record/migration.rb#1484 + # pkg:gem/activerecord#lib/active_record/migration.rb:1484 def pending_migrations; end - # source://activerecord//lib/active_record/migration.rb#1453 + # pkg:gem/activerecord#lib/active_record/migration.rb:1453 def run; end - # source://activerecord//lib/active_record/migration.rb#1469 + # pkg:gem/activerecord#lib/active_record/migration.rb:1469 def runnable; end private - # source://activerecord//lib/active_record/migration.rb#1498 + # pkg:gem/activerecord#lib/active_record/migration.rb:1498 def connection; end # Wrap the migration in a transaction only if supported by the adapter. # - # source://activerecord//lib/active_record/migration.rb#1594 + # pkg:gem/activerecord#lib/active_record/migration.rb:1594 def ddl_transaction(migration, &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1589 + # pkg:gem/activerecord#lib/active_record/migration.rb:1589 def down?; end - # source://activerecord//lib/active_record/migration.rb#1537 + # pkg:gem/activerecord#lib/active_record/migration.rb:1537 def execute_migration_in_transaction(migration); end - # source://activerecord//lib/active_record/migration.rb#1559 + # pkg:gem/activerecord#lib/active_record/migration.rb:1559 def finish; end - # source://activerecord//lib/active_record/migration.rb#1626 + # pkg:gem/activerecord#lib/active_record/migration.rb:1626 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#1533 + # pkg:gem/activerecord#lib/active_record/migration.rb:1533 def invalid_target?; end # Used for running multiple migrations up to or down to a certain value. # - # source://activerecord//lib/active_record/migration.rb#1512 + # pkg:gem/activerecord#lib/active_record/migration.rb:1512 def migrate_without_lock; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1528 + # pkg:gem/activerecord#lib/active_record/migration.rb:1528 def ran?(migration); end # Stores the current environment in the database. # - # source://activerecord//lib/active_record/migration.rb#1522 + # pkg:gem/activerecord#lib/active_record/migration.rb:1522 def record_environment; end - # source://activerecord//lib/active_record/migration.rb#1575 + # pkg:gem/activerecord#lib/active_record/migration.rb:1575 def record_version_state_after_migrating(version); end # Used for running a specific migration. # # @raise [UnknownMigrationVersionError] # - # source://activerecord//lib/active_record/migration.rb#1503 + # pkg:gem/activerecord#lib/active_record/migration.rb:1503 def run_without_lock; end - # source://activerecord//lib/active_record/migration.rb#1563 + # pkg:gem/activerecord#lib/active_record/migration.rb:1563 def start; end - # source://activerecord//lib/active_record/migration.rb#1555 + # pkg:gem/activerecord#lib/active_record/migration.rb:1555 def target; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1585 + # pkg:gem/activerecord#lib/active_record/migration.rb:1585 def up?; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1606 + # pkg:gem/activerecord#lib/active_record/migration.rb:1606 def use_advisory_lock?; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration.rb#1602 + # pkg:gem/activerecord#lib/active_record/migration.rb:1602 def use_transaction?(migration); end # @raise [DuplicateMigrationNameError] # - # source://activerecord//lib/active_record/migration.rb#1567 + # pkg:gem/activerecord#lib/active_record/migration.rb:1567 def validate(migrations); end - # source://activerecord//lib/active_record/migration.rb#1610 + # pkg:gem/activerecord#lib/active_record/migration.rb:1610 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#1419 + # pkg:gem/activerecord#lib/active_record/migration.rb:1419 def current_version; end # Returns the value of attribute migrations_paths. # - # source://activerecord//lib/active_record/migration.rb#1416 + # pkg:gem/activerecord#lib/active_record/migration.rb:1416 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#1416 + # pkg:gem/activerecord#lib/active_record/migration.rb:1416 def migrations_paths=(_arg0); end end end -# source://activerecord//lib/active_record/migration.rb#1625 +# pkg:gem/activerecord#lib/active_record/migration.rb:1625 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#237 +# pkg:gem/activerecord#lib/active_record/errors.rb:237 class ActiveRecord::MismatchedForeignKey < ::ActiveRecord::StatementInvalid # @return [MismatchedForeignKey] a new instance of MismatchedForeignKey # - # source://activerecord//lib/active_record/errors.rb#238 + # pkg:gem/activerecord#lib/active_record/errors.rb:238 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#274 + # pkg:gem/activerecord#lib/active_record/errors.rb:274 def set_query(sql, binds); end end # MissingRequiredOrderError is raised when a relation requires ordering but # lacks any +order+ values in scope or any model order columns to use. # -# source://activerecord//lib/active_record/errors.rb#565 +# pkg:gem/activerecord#lib/active_record/errors.rb:565 class ActiveRecord::MissingRequiredOrderError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/model_schema.rb#6 +# pkg:gem/activerecord#lib/active_record/model_schema.rb:6 module ActiveRecord::ModelSchema extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -27379,7 +27394,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#199 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:199 def derive_join_table_name(first_table, second_table); end end @@ -27425,18 +27440,18 @@ module ActiveRecord::ModelSchema end end -# source://activerecord//lib/active_record/model_schema.rb#203 +# pkg:gem/activerecord#lib/active_record/model_schema.rb:203 module ActiveRecord::ModelSchema::ClassMethods - # source://activerecord//lib/active_record/model_schema.rb#452 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:452 def _returning_columns_for_insert(connection); end - # source://activerecord//lib/active_record/model_schema.rb#436 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:436 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#488 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:488 def column_defaults; end # Returns the column object for the named attribute. @@ -27453,36 +27468,36 @@ module ActiveRecord::ModelSchema::ClassMethods # person.column_for_attribute(:nothing) # # => #, ...> # - # source://activerecord//lib/active_record/model_schema.rb#479 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:479 def column_for_attribute(name); end # Returns an array of column names as strings. # - # source://activerecord//lib/active_record/model_schema.rb#494 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:494 def column_names; end - # source://activerecord//lib/active_record/model_schema.rb#448 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:448 def columns; end - # source://activerecord//lib/active_record/model_schema.rb#443 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:443 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#505 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:505 def content_columns; end - # source://activerecord//lib/active_record/model_schema.rb#305 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:305 def full_table_name_prefix; end - # source://activerecord//lib/active_record/model_schema.rb#309 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:309 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#334 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:334 def ignored_columns; end # Sets the columns names the model should ignore. Ignored columns won't have attribute @@ -27517,28 +27532,28 @@ module ActiveRecord::ModelSchema::ClassMethods # user = Project.create!(name: "First Project") # user.category # => raises NoMethodError # - # source://activerecord//lib/active_record/model_schema.rb#375 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:375 def ignored_columns=(columns); end # Load the model's schema information either from the schema cache # or directly from the database. # - # source://activerecord//lib/active_record/model_schema.rb#550 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:550 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#427 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:427 def next_sequence_value; end # The list of columns names the model should allow. Only columns are used to define # attribute accessors, and are referenced in SQL queries. # - # source://activerecord//lib/active_record/model_schema.rb#340 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:340 def only_columns; end - # source://activerecord//lib/active_record/model_schema.rb#381 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:381 def only_columns=(columns); end # Determines if the primary key values should be selected from their @@ -27546,26 +27561,26 @@ module ActiveRecord::ModelSchema::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/model_schema.rb#421 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:421 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#315 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:315 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#324 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:324 def protected_environments=(environments); end # Returns a quoted version of the table name. # - # source://activerecord//lib/active_record/model_schema.rb#288 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:288 def quoted_table_name; end - # source://activerecord//lib/active_record/model_schema.rb#328 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:328 def real_inheritance_column=(value); end # Resets all the cached information about columns, which will cause them @@ -27595,18 +27610,18 @@ module ActiveRecord::ModelSchema::ClassMethods # end # end # - # source://activerecord//lib/active_record/model_schema.rb#539 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:539 def reset_column_information; end - # source://activerecord//lib/active_record/model_schema.rb#395 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:395 def reset_sequence_name; end # Computes the table name, (re)sets it internally, and returns it. # - # source://activerecord//lib/active_record/model_schema.rb#293 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:293 def reset_table_name; end - # source://activerecord//lib/active_record/model_schema.rb#387 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:387 def sequence_name; end # Sets the name of the sequence to use when generating ids to the given @@ -27624,17 +27639,17 @@ module ActiveRecord::ModelSchema::ClassMethods # self.sequence_name = "projectseq" # default would have been "project_seq" # end # - # source://activerecord//lib/active_record/model_schema.rb#414 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:414 def sequence_name=(value); end - # source://activerecord//lib/active_record/model_schema.rb#498 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:498 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#432 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:432 def table_exists?; end # Guesses the table name (in forced lower-case) based on the name of the class in the @@ -27697,7 +27712,7 @@ module ActiveRecord::ModelSchema::ClassMethods # self.table_name = "mice" # end # - # source://activerecord//lib/active_record/model_schema.rb#263 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:263 def table_name; end # Sets the table name explicitly. Example: @@ -27706,49 +27721,49 @@ module ActiveRecord::ModelSchema::ClassMethods # self.table_name = "project" # end # - # source://activerecord//lib/active_record/model_schema.rb#273 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:273 def table_name=(value); end - # source://activerecord//lib/active_record/model_schema.rb#462 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:462 def yaml_encoder; end protected - # source://activerecord//lib/active_record/model_schema.rb#565 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:565 def initialize_load_schema_monitor; end - # source://activerecord//lib/active_record/model_schema.rb#569 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:569 def reload_schema_from_cache(recursive = T.unsafe(nil)); end private # @raise [ArgumentError] # - # source://activerecord//lib/active_record/model_schema.rb#654 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:654 def check_model_columns(columns_present); end # Computes and returns a table name according to default conventions. # - # source://activerecord//lib/active_record/model_schema.rb#627 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:627 def compute_table_name; end - # source://activerecord//lib/active_record/model_schema.rb#590 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:590 def inherited(child_class); end - # source://activerecord//lib/active_record/model_schema.rb#604 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:604 def load_schema!; end # @return [Boolean] # - # source://activerecord//lib/active_record/model_schema.rb#600 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:600 def schema_loaded?; end - # source://activerecord//lib/active_record/model_schema.rb#643 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:643 def type_for_column(connection, column); end # Guesses the table name, but does not decorate it with prefix and suffix information. # - # source://activerecord//lib/active_record/model_schema.rb#621 + # pkg:gem/activerecord#lib/active_record/model_schema.rb:621 def undecorated_table_name(model_name); end end @@ -27757,20 +27772,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#470 +# pkg:gem/activerecord#lib/active_record/errors.rb:470 class ActiveRecord::MultiparameterAssignmentErrors < ::ActiveRecord::ActiveRecordError # @return [MultiparameterAssignmentErrors] a new instance of MultiparameterAssignmentErrors # - # source://activerecord//lib/active_record/errors.rb#473 + # pkg:gem/activerecord#lib/active_record/errors.rb:473 def initialize(errors = T.unsafe(nil)); end # Returns the value of attribute errors. # - # source://activerecord//lib/active_record/errors.rb#471 + # pkg:gem/activerecord#lib/active_record/errors.rb:471 def errors; end end -# source://activerecord//lib/active_record/nested_attributes.rb#8 +# pkg:gem/activerecord#lib/active_record/nested_attributes.rb:8 module ActiveRecord::NestedAttributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -27784,14 +27799,14 @@ module ActiveRecord::NestedAttributes # # See ActionView::Helpers::FormHelper#fields_for for more info. # - # source://activerecord//lib/active_record/nested_attributes.rb#403 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:403 def _destroy; end private # @return [Boolean] # - # source://activerecord//lib/active_record/nested_attributes.rb#616 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:616 def allow_destroy?(association_name); end # Assigns the given attributes to the collection association. @@ -27822,7 +27837,7 @@ module ActiveRecord::NestedAttributes # { id: '2', _destroy: true } # ]) # - # source://activerecord//lib/active_record/nested_attributes.rb#489 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:489 def assign_nested_attributes_for_collection_association(association_name, attributes_collection); end # Assigns the given attributes to the association. @@ -27839,13 +27854,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#425 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:425 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#578 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:578 def assign_to_or_mark_for_destruction(record, attributes, allow_destroy); end # Determines if a record with the particular +attributes+ should be @@ -27854,7 +27869,7 @@ module ActiveRecord::NestedAttributes # # Returns false if there is a +destroy_flag+ on the attributes. # - # source://activerecord//lib/active_record/nested_attributes.rb#600 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:600 def call_reject_if(association_name, attributes); end # Takes in a limit and checks if the attributes_collection has too many @@ -27864,22 +27879,22 @@ module ActiveRecord::NestedAttributes # Raises TooManyRecords error if the attributes_collection is # larger than the limit. # - # source://activerecord//lib/active_record/nested_attributes.rb#558 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:558 def check_record_limit!(limit, attributes_collection); end - # source://activerecord//lib/active_record/nested_attributes.rb#626 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:626 def find_record_by_id(klass, records, id); end # Determines if a hash contains a truthy _destroy key. # # @return [Boolean] # - # source://activerecord//lib/active_record/nested_attributes.rb#584 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:584 def has_destroy_flag?(hash); end # @raise [RecordNotFound] # - # source://activerecord//lib/active_record/nested_attributes.rb#620 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:620 def raise_nested_attributes_record_not_found!(association_name, record_id); end # Determines if a new record should be rejected by checking @@ -27888,14 +27903,14 @@ module ActiveRecord::NestedAttributes # # @return [Boolean] # - # source://activerecord//lib/active_record/nested_attributes.rb#591 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:591 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#612 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:612 def will_be_destroyed?(association_name, attributes); end module GeneratedClassMethods @@ -28194,7 +28209,7 @@ end # } # } # -# source://activerecord//lib/active_record/nested_attributes.rb#301 +# pkg:gem/activerecord#lib/active_record/nested_attributes.rb:301 module ActiveRecord::NestedAttributes::ClassMethods # Defines an attributes writer for the specified association(s). # @@ -28244,7 +28259,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 + # pkg:gem/activerecord#lib/active_record/nested_attributes.rb:351 def accepts_nested_attributes_for(*attr_names); end private @@ -28261,77 +28276,77 @@ 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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#410 +# pkg:gem/activerecord#lib/active_record/nested_attributes.rb:410 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#335 +# pkg:gem/activerecord#lib/active_record/errors.rb:335 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#342 + # pkg:gem/activerecord#lib/active_record/errors.rb:342 def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def _actions; end - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def _actions=(_arg0); end - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def _actions?; end class << self - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def _actions; end - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def _actions=(value); end - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def _actions?; end - # source://activerecord//lib/active_record/errors.rb#347 + # pkg:gem/activerecord#lib/active_record/errors.rb:347 def db_error(db_name); end private - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def __class_attr__actions; end - # source://activerecord//lib/active_record/errors.rb#336 + # pkg:gem/activerecord#lib/active_record/errors.rb:336 def __class_attr__actions=(new_value); end end end -# source://activerecord//lib/active_record/migration.rb#195 +# pkg:gem/activerecord#lib/active_record/migration.rb:195 class ActiveRecord::NoEnvironmentInSchemaError < ::ActiveRecord::MigrationError # @return [NoEnvironmentInSchemaError] a new instance of NoEnvironmentInSchemaError # - # source://activerecord//lib/active_record/migration.rb#196 + # pkg:gem/activerecord#lib/active_record/migration.rb:196 def initialize; end end # = Active Record No Touching # -# source://activerecord//lib/active_record/no_touching.rb#5 +# pkg:gem/activerecord#lib/active_record/no_touching.rb:5 module ActiveRecord::NoTouching extend ::ActiveSupport::Concern @@ -28346,32 +28361,32 @@ module ActiveRecord::NoTouching # # @return [Boolean] # - # source://activerecord//lib/active_record/no_touching.rb#53 + # pkg:gem/activerecord#lib/active_record/no_touching.rb:53 def no_touching?; end - # source://activerecord//lib/active_record/no_touching.rb#61 + # pkg:gem/activerecord#lib/active_record/no_touching.rb:61 def touch(*_arg0, **_arg1); end - # source://activerecord//lib/active_record/no_touching.rb#57 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/no_touching.rb:36 def applied_to?(klass); end - # source://activerecord//lib/active_record/no_touching.rb#29 + # pkg:gem/activerecord#lib/active_record/no_touching.rb:29 def apply_to(klass); end private - # source://activerecord//lib/active_record/no_touching.rb#41 + # pkg:gem/activerecord#lib/active_record/no_touching.rb:41 def klasses; end end end -# source://activerecord//lib/active_record/no_touching.rb#8 +# pkg:gem/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. @@ -28387,81 +28402,81 @@ 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 + # pkg:gem/activerecord#lib/active_record/no_touching.rb:23 def no_touching(&block); 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#292 +# pkg:gem/activerecord#lib/active_record/errors.rb:292 class ActiveRecord::NotNullViolation < ::ActiveRecord::StatementInvalid; end -# source://activerecord//lib/active_record/migration/pending_migration_connection.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/migration/pending_migration_connection.rb:17 def current_preventing_writes; end # @return [Boolean] # - # source://activerecord//lib/active_record/migration/pending_migration_connection.rb#13 + # pkg:gem/activerecord#lib/active_record/migration/pending_migration_connection.rb:13 def primary_class?; end - # source://activerecord//lib/active_record/migration/pending_migration_connection.rb#5 + # pkg:gem/activerecord#lib/active_record/migration/pending_migration_connection.rb:5 def with_temporary_pool(db_config, &block); end end end -# source://activerecord//lib/active_record/migration.rb#147 +# pkg:gem/activerecord#lib/active_record/migration.rb:147 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#158 + # pkg:gem/activerecord#lib/active_record/migration.rb:158 def initialize(message = T.unsafe(nil), pending_migrations: T.unsafe(nil)); end - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def _actions; end - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def _actions=(_arg0); end - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def _actions?; end private - # source://activerecord//lib/active_record/migration.rb#181 + # pkg:gem/activerecord#lib/active_record/migration.rb:181 def connection_pool; end - # source://activerecord//lib/active_record/migration.rb#167 + # pkg:gem/activerecord#lib/active_record/migration.rb:167 def detailed_migration_message(pending_migrations); end class << self - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def _actions; end - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def _actions=(value); end - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def _actions?; end private - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def __class_attr__actions; end - # source://activerecord//lib/active_record/migration.rb#148 + # pkg:gem/activerecord#lib/active_record/migration.rb:148 def __class_attr__actions=(new_value); end end end # = Active Record \Persistence # -# source://activerecord//lib/active_record/persistence.rb#7 +# pkg:gem/activerecord#lib/active_record/persistence.rb:7 module ActiveRecord::Persistence extend ::ActiveSupport::Concern @@ -28482,7 +28497,7 @@ module ActiveRecord::Persistence # # If you want to change the STI column as well, use #becomes! instead. # - # source://activerecord//lib/active_record/persistence.rb#487 + # pkg:gem/activerecord#lib/active_record/persistence.rb:487 def becomes(klass); end # Wrapper around #becomes that also changes the instance's STI column value. @@ -28492,14 +28507,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#509 + # pkg:gem/activerecord#lib/active_record/persistence.rb:509 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#686 + # pkg:gem/activerecord#lib/active_record/persistence.rb:686 def decrement(attribute, by = T.unsafe(nil)); end # Wrapper around #decrement that writes the update to the database. @@ -28509,7 +28524,7 @@ module ActiveRecord::Persistence # +update_counters+, see that for more. # Returns +self+. # - # source://activerecord//lib/active_record/persistence.rb#696 + # pkg:gem/activerecord#lib/active_record/persistence.rb:696 def decrement!(attribute, by = T.unsafe(nil), touch: T.unsafe(nil)); end # Deletes the record in the database and freezes this instance to @@ -28525,7 +28540,7 @@ module ActiveRecord::Persistence # callbacks or any :dependent association # options, use #destroy. # - # source://activerecord//lib/active_record/persistence.rb#439 + # pkg:gem/activerecord#lib/active_record/persistence.rb:439 def delete; end # Deletes the record in the database and freezes this instance to reflect @@ -28536,7 +28551,7 @@ module ActiveRecord::Persistence # and #destroy returns +false+. # See ActiveRecord::Callbacks for further details. # - # source://activerecord//lib/active_record/persistence.rb#453 + # pkg:gem/activerecord#lib/active_record/persistence.rb:453 def destroy; end # Deletes the record in the database and freezes this instance to reflect @@ -28547,21 +28562,21 @@ module ActiveRecord::Persistence # and #destroy! raises ActiveRecord::RecordNotDestroyed. # See ActiveRecord::Callbacks for further details. # - # source://activerecord//lib/active_record/persistence.rb#469 + # pkg:gem/activerecord#lib/active_record/persistence.rb:469 def destroy!; end # Returns true if this object has been destroyed, otherwise returns false. # # @return [Boolean] # - # source://activerecord//lib/active_record/persistence.rb#355 + # pkg:gem/activerecord#lib/active_record/persistence.rb:355 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#656 + # pkg:gem/activerecord#lib/active_record/persistence.rb:656 def increment(attribute, by = T.unsafe(nil)); end # Wrapper around #increment that writes the update to the database. @@ -28577,7 +28592,7 @@ module ActiveRecord::Persistence # # @raise [ActiveRecordError] # - # source://activerecord//lib/active_record/persistence.rb#672 + # pkg:gem/activerecord#lib/active_record/persistence.rb:672 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 @@ -28585,7 +28600,7 @@ module ActiveRecord::Persistence # # @return [Boolean] # - # source://activerecord//lib/active_record/persistence.rb#338 + # pkg:gem/activerecord#lib/active_record/persistence.rb:338 def new_record?; end # Returns true if the record is persisted, i.e. it's not a new record and it was @@ -28593,7 +28608,7 @@ module ActiveRecord::Persistence # # @return [Boolean] # - # source://activerecord//lib/active_record/persistence.rb#361 + # pkg:gem/activerecord#lib/active_record/persistence.rb:361 def persisted?; end # Returns true if this object was just created -- that is, prior to the last @@ -28602,14 +28617,14 @@ module ActiveRecord::Persistence # # @return [Boolean] # - # source://activerecord//lib/active_record/persistence.rb#345 + # pkg:gem/activerecord#lib/active_record/persistence.rb:345 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#350 + # pkg:gem/activerecord#lib/active_record/persistence.rb:350 def previously_persisted?; end # Reloads the record from the database. @@ -28660,7 +28675,7 @@ module ActiveRecord::Persistence # end # end # - # source://activerecord//lib/active_record/persistence.rb#773 + # pkg:gem/activerecord#lib/active_record/persistence.rb:773 def reload(options = T.unsafe(nil)); end # :call-seq: @@ -28688,7 +28703,7 @@ module ActiveRecord::Persistence # Attributes marked as readonly are silently ignored if the record is # being updated. # - # source://activerecord//lib/active_record/persistence.rb#390 + # pkg:gem/activerecord#lib/active_record/persistence.rb:390 def save(**options, &block); end # :call-seq: @@ -28718,7 +28733,7 @@ module ActiveRecord::Persistence # # Unless an error is raised, returns true. # - # source://activerecord//lib/active_record/persistence.rb#423 + # pkg:gem/activerecord#lib/active_record/persistence.rb:423 def save!(**options, &block); end # Assigns to +attribute+ the boolean opposite of attribute?. So @@ -28733,7 +28748,7 @@ module ActiveRecord::Persistence # user.toggle(:banned) # user.banned? # => true # - # source://activerecord//lib/active_record/persistence.rb#712 + # pkg:gem/activerecord#lib/active_record/persistence.rb:712 def toggle(attribute); end # Wrapper around #toggle that saves the record. This method differs from @@ -28741,7 +28756,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#721 + # pkg:gem/activerecord#lib/active_record/persistence.rb:721 def toggle!(attribute); end # Saves the record with the updated_at/on attributes set to the current time @@ -28778,20 +28793,20 @@ module ActiveRecord::Persistence # ball = Ball.new # ball.touch(:updated_at) # => raises ActiveRecordError # - # source://activerecord//lib/active_record/persistence.rb#824 + # pkg:gem/activerecord#lib/active_record/persistence.rb:824 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#564 + # pkg:gem/activerecord#lib/active_record/persistence.rb:564 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#575 + # pkg:gem/activerecord#lib/active_record/persistence.rb:575 def update!(attributes); end # Updates a single attribute and saves the record. @@ -28807,7 +28822,7 @@ module ActiveRecord::Persistence # # Also see #update_column. # - # source://activerecord//lib/active_record/persistence.rb#531 + # pkg:gem/activerecord#lib/active_record/persistence.rb:531 def update_attribute(name, value); end # Updates a single attribute and saves the record. @@ -28825,12 +28840,12 @@ module ActiveRecord::Persistence # and #update_attribute! raises ActiveRecord::RecordNotSaved. See # ActiveRecord::Callbacks for further details. # - # source://activerecord//lib/active_record/persistence.rb#553 + # pkg:gem/activerecord#lib/active_record/persistence.rb:553 def update_attribute!(name, value); end # Equivalent to update_columns(name => value). # - # source://activerecord//lib/active_record/persistence.rb#585 + # pkg:gem/activerecord#lib/active_record/persistence.rb:585 def update_column(name, value, touch: T.unsafe(nil)); end # Updates the attributes directly in the database issuing an UPDATE SQL @@ -28865,7 +28880,7 @@ module ActiveRecord::Persistence # # @raise [ActiveRecordError] # - # source://activerecord//lib/active_record/persistence.rb#619 + # pkg:gem/activerecord#lib/active_record/persistence.rb:619 def update_columns(attributes); end private @@ -28876,35 +28891,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#951 + # pkg:gem/activerecord#lib/active_record/persistence.rb:951 def _create_record(attribute_names = T.unsafe(nil)); end - # source://activerecord//lib/active_record/persistence.rb#901 + # pkg:gem/activerecord#lib/active_record/persistence.rb:901 def _delete_row; end - # source://activerecord//lib/active_record/persistence.rb#857 + # pkg:gem/activerecord#lib/active_record/persistence.rb:857 def _find_record(options); end - # source://activerecord//lib/active_record/persistence.rb#868 + # pkg:gem/activerecord#lib/active_record/persistence.rb:868 def _in_memory_query_constraints_hash; end - # source://activerecord//lib/active_record/persistence.rb#883 + # pkg:gem/activerecord#lib/active_record/persistence.rb:883 def _query_constraints_hash; end # @raise [ReadOnlyRecord] # - # source://activerecord//lib/active_record/persistence.rb#988 + # pkg:gem/activerecord#lib/active_record/persistence.rb:988 def _raise_readonly_record_error; end - # source://activerecord//lib/active_record/persistence.rb#980 + # pkg:gem/activerecord#lib/active_record/persistence.rb:980 def _raise_record_not_destroyed; end # @raise [ActiveRecordError] # - # source://activerecord//lib/active_record/persistence.rb#992 + # pkg:gem/activerecord#lib/active_record/persistence.rb:992 def _raise_record_not_touched_error; end - # source://activerecord//lib/active_record/persistence.rb#905 + # pkg:gem/activerecord#lib/active_record/persistence.rb:905 def _touch_row(attribute_names, time); end # Updates the associated record with values matching those of the instance attributes. @@ -28913,49 +28928,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#931 + # pkg:gem/activerecord#lib/active_record/persistence.rb:931 def _update_record(attribute_names = T.unsafe(nil)); end - # source://activerecord//lib/active_record/persistence.rb#915 + # pkg:gem/activerecord#lib/active_record/persistence.rb:915 def _update_row(attribute_names, attempted_action = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/persistence.rb#878 + # pkg:gem/activerecord#lib/active_record/persistence.rb:878 def apply_scoping?(options); end - # source://activerecord//lib/active_record/persistence.rb#922 + # pkg:gem/activerecord#lib/active_record/persistence.rb:922 def create_or_update(**_arg0, &block); end # A hook to be overridden by association modules. # - # source://activerecord//lib/active_record/persistence.rb#894 + # pkg:gem/activerecord#lib/active_record/persistence.rb:894 def destroy_associations; end - # source://activerecord//lib/active_record/persistence.rb#897 + # pkg:gem/activerecord#lib/active_record/persistence.rb:897 def destroy_row; end - # source://activerecord//lib/active_record/persistence.rb#845 + # pkg:gem/activerecord#lib/active_record/persistence.rb:845 def init_internals; end - # source://activerecord//lib/active_record/persistence.rb#851 + # pkg:gem/activerecord#lib/active_record/persistence.rb:851 def strict_loaded_associations; end # @raise [ActiveRecordError] # - # source://activerecord//lib/active_record/persistence.rb#976 + # pkg:gem/activerecord#lib/active_record/persistence.rb:976 def verify_readonly_attribute(name); end end -# source://activerecord//lib/active_record/persistence.rb#10 +# pkg:gem/activerecord#lib/active_record/persistence.rb:10 module ActiveRecord::Persistence::ClassMethods - # source://activerecord//lib/active_record/persistence.rb#282 + # pkg:gem/activerecord#lib/active_record/persistence.rb:282 def _delete_record(constraints); end - # source://activerecord//lib/active_record/persistence.rb#238 + # pkg:gem/activerecord#lib/active_record/persistence.rb:238 def _insert_record(connection, values, returning); end - # source://activerecord//lib/active_record/persistence.rb#263 + # pkg:gem/activerecord#lib/active_record/persistence.rb:263 def _update_record(values, constraints); end # Builds an object (or multiple objects) and returns either the built object or a list of built @@ -28981,14 +28996,14 @@ module ActiveRecord::Persistence::ClassMethods # u.is_admin = false # end # - # source://activerecord//lib/active_record/persistence.rb#82 + # pkg:gem/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#234 + # pkg:gem/activerecord#lib/active_record/persistence.rb:234 def composite_query_constraints_list; end # Creates an object (or multiple objects) and saves it to the database, if validations pass. @@ -29014,7 +29029,7 @@ module ActiveRecord::Persistence::ClassMethods # u.is_admin = false # end # - # source://activerecord//lib/active_record/persistence.rb#33 + # pkg:gem/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, @@ -29025,12 +29040,12 @@ 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 + # pkg:gem/activerecord#lib/active_record/persistence.rb:50 def create!(attributes = T.unsafe(nil), &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/persistence.rb#219 + # pkg:gem/activerecord#lib/active_record/persistence.rb:219 def has_query_constraints?; end # Given an attributes hash, +instantiate+ returns a new instance of @@ -29044,7 +29059,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#100 + # pkg:gem/activerecord#lib/active_record/persistence.rb:100 def instantiate(attributes, column_types = T.unsafe(nil), &block); end # Accepts a list of attribute names to be used in the WHERE clause @@ -29080,10 +29095,10 @@ module ActiveRecord::Persistence::ClassMethods # # @raise [ArgumentError] # - # source://activerecord//lib/active_record/persistence.rb#212 + # pkg:gem/activerecord#lib/active_record/persistence.rb:212 def query_constraints(*columns_list); end - # source://activerecord//lib/active_record/persistence.rb#223 + # pkg:gem/activerecord#lib/active_record/persistence.rb:223 def query_constraints_list; end # Updates an object (or multiple objects) and saves it to the database, if validations pass. @@ -29114,13 +29129,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#132 + # pkg:gem/activerecord#lib/active_record/persistence.rb:132 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#158 + # pkg:gem/activerecord#lib/active_record/persistence.rb:158 def update!(id = T.unsafe(nil), attributes); end private @@ -29129,7 +29144,7 @@ module ActiveRecord::Persistence::ClassMethods # to build `where` clause from default scopes. # Skips empty scopes. # - # source://activerecord//lib/active_record/persistence.rb#328 + # pkg:gem/activerecord#lib/active_record/persistence.rb:328 def build_default_constraint; end # Called by +instantiate+ to decide which class to use for a new @@ -29138,36 +29153,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#321 + # pkg:gem/activerecord#lib/active_record/persistence.rb:321 def discriminate_class_for_record(record); end - # source://activerecord//lib/active_record/persistence.rb#301 + # pkg:gem/activerecord#lib/active_record/persistence.rb:301 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#311 + # pkg:gem/activerecord#lib/active_record/persistence.rb:311 def instantiate_instance_of(klass, attributes, column_types = T.unsafe(nil), &block); end end -# source://activerecord//lib/active_record/relation/predicate_builder.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:12 def initialize(table); end - # source://activerecord//lib/active_record/relation/predicate_builder.rb#53 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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+. @@ -29182,201 +29197,201 @@ class ActiveRecord::PredicateBuilder # end # ActiveRecord::PredicateBuilder.new("users").register_handler(MyCustomDateRange, handler) # - # source://activerecord//lib/active_record/relation/predicate_builder.rb#49 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:71 def resolve_arel_attribute(table_name, column_name, &block); end - # source://activerecord//lib/active_record/relation/predicate_builder.rb#75 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:75 def with(table); end protected - # source://activerecord//lib/active_record/relation/predicate_builder.rb#84 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:84 def expand_from_hash(attributes, &block); end # Sets the attribute table # # @param value the value to set the attribute table to. # - # source://activerecord//lib/active_record/relation/predicate_builder.rb#82 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:82 def table=(_arg0); end private - # source://activerecord//lib/active_record/relation/predicate_builder.rb#165 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:165 def convert_dot_notation_to_hash(attributes); end - # source://activerecord//lib/active_record/relation/predicate_builder.rb#155 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:155 def grouping_queries(queries); end - # source://activerecord//lib/active_record/relation/predicate_builder.rb#187 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:187 def handler_for(object); end # Returns the value of attribute table. # - # source://activerecord//lib/active_record/relation/predicate_builder.rb#153 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder.rb:153 def table; end class << self - # source://activerecord//lib/active_record/relation/predicate_builder.rb#28 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/association_query_value.rb:6 def initialize(reflection, value); end - # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#11 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/association_query_value.rb:11 def queries; end private - # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#59 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/association_query_value.rb:43 def primary_type; end # Returns the value of attribute reflection. # - # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#23 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/association_query_value.rb:23 def reflection; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/predicate_builder/association_query_value.rb#51 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/polymorphic_array_value.rb:6 def initialize(reflection, values); end - # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#11 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/polymorphic_array_value.rb:11 def queries; end private - # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#44 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/polymorphic_array_value.rb:32 def primary_key(value); end # Returns the value of attribute reflection. # - # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#23 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/polymorphic_array_value.rb:23 def reflection; end - # source://activerecord//lib/active_record/relation/predicate_builder/polymorphic_array_value.rb#25 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/range_handler.rb:6 def begin; end # Sets the attribute begin @@ -29384,14 +29399,14 @@ class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/predicate_builder/range_handler.rb:6 def end; end # Sets the attribute end @@ -29399,44 +29414,44 @@ class ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#369 +# pkg:gem/activerecord#lib/active_record/errors.rb:369 class ActiveRecord::PreparedStatementCacheExpired < ::ActiveRecord::StatementInvalid; end # Raised when the number of placeholders in an SQL fragment passed to @@ -29447,36 +29462,36 @@ class ActiveRecord::PreparedStatementCacheExpired < ::ActiveRecord::StatementInv # # Location.where("lat = ? AND lng = ?", 53.7362) # -# source://activerecord//lib/active_record/errors.rb#331 +# pkg:gem/activerecord#lib/active_record/errors.rb:331 class ActiveRecord::PreparedStatementInvalid < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/promise.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/promise.rb:7 def initialize(future_result, block); end - # source://activerecord//lib/active_record/promise.rb#41 + # pkg:gem/activerecord#lib/active_record/promise.rb:41 def class; end - # source://activerecord//lib/active_record/promise.rb#44 + # pkg:gem/activerecord#lib/active_record/promise.rb:44 def inspect; end - # source://activerecord//lib/active_record/promise.rb#41 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/promise.rb:13 def pending?; end - # source://activerecord//lib/active_record/promise.rb#48 + # pkg:gem/activerecord#lib/active_record/promise.rb:48 def pretty_print(q); end - # source://activerecord//lib/active_record/promise.rb#41 + # pkg:gem/activerecord#lib/active_record/promise.rb:41 def respond_to?(*_arg0); end # Returns a new +ActiveRecord::Promise+ that will apply the passed block @@ -29485,79 +29500,79 @@ class ActiveRecord::Promise < ::BasicObject # Post.async_pick(:title).then { |title| title.upcase }.value # # => "POST TITLE" # - # source://activerecord//lib/active_record/promise.rb#36 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/promise.rb:20 def value; end private - # source://activerecord//lib/active_record/promise.rb#53 + # pkg:gem/activerecord#lib/active_record/promise.rb:53 def status; end end -# source://activerecord//lib/active_record/promise.rb#63 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/promise.rb:66 def initialize(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/promise.rb#74 + # pkg:gem/activerecord#lib/active_record/promise.rb:74 def pending?; end - # source://activerecord//lib/active_record/promise.rb#70 + # pkg:gem/activerecord#lib/active_record/promise.rb:70 def then; end # Returns the value of attribute value. # - # source://activerecord//lib/active_record/promise.rb#64 + # pkg:gem/activerecord#lib/active_record/promise.rb:64 def value; end private - # source://activerecord//lib/active_record/promise.rb#79 + # pkg:gem/activerecord#lib/active_record/promise.rb:79 def status; end end -# source://activerecord//lib/active_record/migration.rb#206 +# pkg:gem/activerecord#lib/active_record/migration.rb:206 class ActiveRecord::ProtectedEnvironmentError < ::ActiveRecord::ActiveRecordError # @return [ProtectedEnvironmentError] a new instance of ProtectedEnvironmentError # - # source://activerecord//lib/active_record/migration.rb#207 + # pkg:gem/activerecord#lib/active_record/migration.rb:207 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#574 +# pkg:gem/activerecord#lib/active_record/errors.rb:574 class ActiveRecord::QueryAborted < ::ActiveRecord::StatementInvalid; end # = Active Record Query Cache # -# source://activerecord//lib/active_record/query_cache.rb#5 +# pkg:gem/activerecord#lib/active_record/query_cache.rb:5 class ActiveRecord::QueryCache class << self - # source://activerecord//lib/active_record/query_cache.rb#58 + # pkg:gem/activerecord#lib/active_record/query_cache.rb:58 def install_executor_hooks(executor = T.unsafe(nil)); end end end # ActiveRecord::Base extends this module, so these methods are available in models. # -# source://activerecord//lib/active_record/query_cache.rb#7 +# pkg:gem/activerecord#lib/active_record/query_cache.rb:7 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#10 + # pkg:gem/activerecord#lib/active_record/query_cache.rb:10 def cache(&block); end # Runs the block with the query cache disabled. @@ -29570,24 +29585,24 @@ module ActiveRecord::QueryCache::ClassMethods # dirty all connections' query caches in case they are replicas whose # cache would now be outdated.) # - # source://activerecord//lib/active_record/query_cache.rb#33 + # pkg:gem/activerecord#lib/active_record/query_cache.rb:33 def uncached(dirties: T.unsafe(nil), &block); end end -# source://activerecord//lib/active_record/query_cache.rb#42 +# pkg:gem/activerecord#lib/active_record/query_cache.rb:42 module ActiveRecord::QueryCache::ExecutorHooks class << self - # source://activerecord//lib/active_record/query_cache.rb#50 + # pkg:gem/activerecord#lib/active_record/query_cache.rb:50 def complete(pools); end - # source://activerecord//lib/active_record/query_cache.rb#43 + # pkg:gem/activerecord#lib/active_record/query_cache.rb:43 def run; end end end # QueryCanceled will be raised when canceling statement due to user request. # -# source://activerecord//lib/active_record/errors.rb#586 +# pkg:gem/activerecord#lib/active_record/errors.rb:586 class ActiveRecord::QueryCanceled < ::ActiveRecord::QueryAborted; end # = Active Record Query Logs @@ -29662,144 +29677,144 @@ class ActiveRecord::QueryCanceled < ::ActiveRecord::QueryAborted; end # # config.active_record.cache_query_log_tags = true # -# source://activerecord//lib/active_record/query_logs_formatter.rb#4 +# pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:4 module ActiveRecord::QueryLogs class << self - # source://activerecord//lib/active_record/query_logs.rb#119 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:119 def cache_query_log_tags; end - # source://activerecord//lib/active_record/query_logs.rb#119 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:119 def cache_query_log_tags=(_arg0); end - # source://activerecord//lib/active_record/query_logs.rb#115 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:115 def cached_comment; end - # source://activerecord//lib/active_record/query_logs.rb#115 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:115 def cached_comment=(obj); end - # source://activerecord//lib/active_record/query_logs.rb#143 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:143 def call(sql, connection); end - # source://activerecord//lib/active_record/query_logs.rb#155 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:155 def clear_cache; end - # source://activerecord//lib/active_record/query_logs.rb#119 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:119 def prepend_comment; end - # source://activerecord//lib/active_record/query_logs.rb#119 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:119 def prepend_comment=(_arg0); end - # source://activerecord//lib/active_record/query_logs.rb#159 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:159 def query_source_location; end - # source://activerecord//lib/active_record/query_logs.rb#118 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:118 def taggings; end - # source://activerecord//lib/active_record/query_logs.rb#121 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:121 def taggings=(taggings); end - # source://activerecord//lib/active_record/query_logs.rb#118 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:118 def tags; end - # source://activerecord//lib/active_record/query_logs.rb#126 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:126 def tags=(tags); end - # source://activerecord//lib/active_record/query_logs.rb#118 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:118 def tags_formatter; end - # source://activerecord//lib/active_record/query_logs.rb#131 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:131 def tags_formatter=(format); end private - # source://activerecord//lib/active_record/query_logs.rb#180 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:180 def build_handler(name, handler = T.unsafe(nil)); end # 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#197 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:197 def comment(connection); end - # source://activerecord//lib/active_record/query_logs.rb#213 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:213 def escape_sql_comment(content); end - # source://activerecord//lib/active_record/query_logs.rb#166 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:166 def rebuild_handlers; end - # source://activerecord//lib/active_record/query_logs.rb#226 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:226 def tag_content(connection); end - # source://activerecord//lib/active_record/query_logs.rb#205 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:205 def uncached_comment(connection); end end end -# source://activerecord//lib/active_record/query_logs.rb#79 +# pkg:gem/activerecord#lib/active_record/query_logs.rb:79 class ActiveRecord::QueryLogs::GetKeyHandler # @return [GetKeyHandler] a new instance of GetKeyHandler # - # source://activerecord//lib/active_record/query_logs.rb#80 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:80 def initialize(name); end - # source://activerecord//lib/active_record/query_logs.rb#84 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:84 def call(context); end end -# source://activerecord//lib/active_record/query_logs.rb#89 +# pkg:gem/activerecord#lib/active_record/query_logs.rb:89 class ActiveRecord::QueryLogs::IdentityHandler # @return [IdentityHandler] a new instance of IdentityHandler # - # source://activerecord//lib/active_record/query_logs.rb#90 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:90 def initialize(value); end - # source://activerecord//lib/active_record/query_logs.rb#94 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:94 def call(_context); end end -# source://activerecord//lib/active_record/query_logs_formatter.rb#5 +# pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:5 module ActiveRecord::QueryLogs::LegacyFormatter class << self # Formats the key value pairs into a string. # - # source://activerecord//lib/active_record/query_logs_formatter.rb#8 + # pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:8 def format(key, value); end - # source://activerecord//lib/active_record/query_logs_formatter.rb#12 + # pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:12 def join(pairs); end end end -# source://activerecord//lib/active_record/query_logs_formatter.rb#18 +# pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:18 class ActiveRecord::QueryLogs::SQLCommenter class << self - # source://activerecord//lib/active_record/query_logs_formatter.rb#20 + # pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:20 def format(key, value); end - # source://activerecord//lib/active_record/query_logs_formatter.rb#24 + # pkg:gem/activerecord#lib/active_record/query_logs_formatter.rb:24 def join(pairs); end end end -# source://activerecord//lib/active_record/query_logs.rb#99 +# pkg:gem/activerecord#lib/active_record/query_logs.rb:99 class ActiveRecord::QueryLogs::ZeroArityHandler # @return [ZeroArityHandler] a new instance of ZeroArityHandler # - # source://activerecord//lib/active_record/query_logs.rb#100 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:100 def initialize(proc); end - # source://activerecord//lib/active_record/query_logs.rb#104 + # pkg:gem/activerecord#lib/active_record/query_logs.rb:104 def call(_context); end end -# source://activerecord//lib/active_record/relation/query_methods.rb#9 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:9 module ActiveRecord::QueryMethods include ::ActiveModel::ForbiddenAttributesProtection - # source://activerecord//lib/active_record/relation/query_methods.rb#428 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:428 def _select!(*fields); end - # source://activerecord//lib/active_record/relation/query_methods.rb#260 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:260 def all; end # Returns a new relation, which is the logical intersection of this relation and the one passed @@ -29812,10 +29827,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#1135 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1135 def and(other); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1143 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1143 def and!(other); end # Adds an SQL comment to queries generated from this relation. For example: @@ -29830,26 +29845,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#1530 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1530 def annotate(*args); end # Like #annotate, but modifies relation in place. # - # source://activerecord//lib/active_record/relation/query_methods.rb#1536 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1536 def annotate!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def annotate_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def annotate_values=(value); end # Returns the Arel object associated with the relation. # - # source://activerecord//lib/active_record/relation/query_methods.rb#1595 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1595 def arel(aliases = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1599 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1599 def construct_join_dependency(associations, join_type); end # Sets attributes to be used when creating new records from a @@ -29866,16 +29881,16 @@ module ActiveRecord::QueryMethods # users = users.create_with(nil) # users.new.name # => 'Oscar' # - # source://activerecord//lib/active_record/relation/query_methods.rb#1347 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1347 def create_with(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1351 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1351 def create_with!(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def create_with_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def create_with_value=(value); end # Specifies whether the records should be unique or not. For example: @@ -29889,18 +29904,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#1411 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1411 def distinct(value = T.unsafe(nil)); end # Like #distinct, but modifies relation in place. # - # source://activerecord//lib/active_record/relation/query_methods.rb#1416 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1416 def distinct!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def distinct_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def distinct_value=(value); end # Specify associations +args+ to be eager loaded using a LEFT OUTER JOIN. @@ -29930,16 +29945,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#290 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:290 def eager_load(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#295 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:295 def eager_load!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def eager_load_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def eager_load_values=(value); end # Excludes the specified record (or collection of records) from the resulting @@ -29969,10 +29984,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#1575 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1575 def excluding(*records); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1588 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1588 def excluding!(records); end # Used to extend a scope with additional methods, either through @@ -30012,19 +30027,19 @@ module ActiveRecord::QueryMethods # end # end # - # source://activerecord//lib/active_record/relation/query_methods.rb#1457 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1457 def extending(*modules, &block); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1465 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1465 def extending!(*modules, &block); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def extending_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def extending_values=(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#185 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:185 def extensions; end # Extracts a named +association+ from the relation. The named association is first preloaded, @@ -30037,7 +30052,7 @@ module ActiveRecord::QueryMethods # # account.memberships.preload(:user).collect(&:user) # - # source://activerecord//lib/active_record/relation/query_methods.rb#341 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:341 def extract_associated(association); end # Specifies the table from which the records will be fetched. For example: @@ -30071,16 +30086,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#1392 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1392 def from(value, subquery_name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1396 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1396 def from!(value, subquery_name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def from_clause; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def from_clause=(value); end # Allows to specify a group attribute: @@ -30104,16 +30119,16 @@ module ActiveRecord::QueryMethods # User.select([:id, :first_name]).group(:id, :first_name).first(3) # # => [#, #, #] # - # source://activerecord//lib/active_record/relation/query_methods.rb#573 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:573 def group(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#578 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:578 def group!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def group_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def group_values=(value); end # Allows to specify a HAVING clause. Note that you can't use HAVING @@ -30121,16 +30136,16 @@ module ActiveRecord::QueryMethods # # Order.having('SUM(price) > 30').group('user_id') # - # source://activerecord//lib/active_record/relation/query_methods.rb#1197 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1197 def having(opts, *rest); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1201 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1201 def having!(opts, *rest); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def having_clause; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def having_clause=(value); end # Applies an ORDER BY clause based on a given +column+, @@ -30181,7 +30196,7 @@ module ActiveRecord::QueryMethods # # ELSE 3 # # END ASC # - # source://activerecord//lib/active_record/relation/query_methods.rb#717 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:717 def in_order_of(column, values, filter: T.unsafe(nil)); end # Specify associations +args+ to be eager loaded to prevent N + 1 queries. @@ -30248,16 +30263,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#250 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:250 def includes(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#255 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:255 def includes!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def includes_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def includes_values=(value); end # Allows you to invert an entire where clause instead of manually applying conditions. @@ -30289,10 +30304,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#1101 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1101 def invert_where; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1105 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1105 def invert_where!; end # Performs JOINs on +args+. The given symbol(s) should match the name of @@ -30324,16 +30339,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#868 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:868 def joins(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#873 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:873 def joins!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def joins_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def joins_values=(value); end # Performs LEFT OUTER JOINs on +args+: @@ -30341,7 +30356,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#887 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:887 def left_joins(*args); end # Performs LEFT OUTER JOINs on +args+: @@ -30349,16 +30364,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#883 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:883 def left_outer_joins(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#889 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:889 def left_outer_joins!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def left_outer_joins_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def left_outer_joins_values=(value); end # Specifies a limit for the number of records to retrieve. @@ -30367,31 +30382,31 @@ module ActiveRecord::QueryMethods # # User.limit(10).limit(20) # generated SQL has 'LIMIT 20' # - # source://activerecord//lib/active_record/relation/query_methods.rb#1211 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1211 def limit(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1215 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1215 def limit!(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def limit_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 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#1239 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1239 def lock(locks = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1243 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1243 def lock!(locks = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def lock_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def lock_value=(value); end # Returns a chainable relation with zero records. @@ -30422,15 +30437,15 @@ module ActiveRecord::QueryMethods # end # end # - # source://activerecord//lib/active_record/relation/query_methods.rb#1282 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1282 def none; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1286 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1286 def none!; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_methods.rb#1294 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1294 def null_relation?; end # Specifies the number of rows to skip before returning rows. @@ -30441,16 +30456,16 @@ module ActiveRecord::QueryMethods # # User.offset(10).order("name ASC") # - # source://activerecord//lib/active_record/relation/query_methods.rb#1228 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1228 def offset(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1232 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1232 def offset!(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def offset_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def offset_value=(value); end # Specify optimizer hints to be used in the SELECT statement. @@ -30465,16 +30480,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#1486 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1486 def optimizer_hints(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1491 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1491 def optimizer_hints!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def optimizer_hints_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def optimizer_hints_values=(value); end # Returns a new relation, which is the logical union of this relation and the one passed as an @@ -30487,10 +30502,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#1167 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1167 def or(other); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1179 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1179 def or!(other); end # Applies an ORDER BY clause to a query. @@ -30546,18 +30561,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#656 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:656 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#664 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:664 def order!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def order_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def order_values=(value); end # Specify associations +args+ to be eager loaded using separate queries. @@ -30583,16 +30598,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#322 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:322 def preload(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#327 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:327 def preload!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def preload_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def preload_values=(value); end # Mark a relation as readonly. Attempting to update a record will result in @@ -30608,16 +30623,16 @@ module ActiveRecord::QueryMethods # users.first.save # # => true # - # source://activerecord//lib/active_record/relation/query_methods.rb#1310 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1310 def readonly(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1314 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1314 def readonly!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def readonly_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def readonly_value=(value); end # Use to indicate that the given +table_names+ are referenced by an SQL string, @@ -30631,16 +30646,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#355 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:355 def references(*table_names); end - # source://activerecord//lib/active_record/relation/query_methods.rb#360 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:360 def references!(*table_names); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def references_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def references_values=(value); end # Allows you to change a previously set group statement. @@ -30654,12 +30669,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#593 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:593 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#599 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:599 def regroup!(*args); end # Replaces any existing order defined on the relation with the specified order. @@ -30672,18 +30687,18 @@ module ActiveRecord::QueryMethods # # generates a query with ORDER BY id ASC, name ASC. # - # source://activerecord//lib/active_record/relation/query_methods.rb#752 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:752 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#760 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:760 def reorder!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def reordering_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def reordering_value=(value); end # Allows you to change a previously set select statement. @@ -30697,28 +30712,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#541 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:541 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#548 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:548 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#1499 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1499 def reverse_order; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1503 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1503 def reverse_order!; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def reverse_order_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 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. @@ -30735,7 +30750,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#1061 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1061 def rewhere(conditions); end # Works in two unique ways. @@ -30787,25 +30802,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#413 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:413 def select(*fields); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def select_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def select_values=(value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1514 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1514 def skip_preloading!; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1509 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1509 def skip_query_cache!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def skip_query_cache_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def skip_query_cache_value=(value); end # Sets the returned relation to strict_loading mode. This will raise an error @@ -30815,16 +30830,16 @@ module ActiveRecord::QueryMethods # user.comments.to_a # # => ActiveRecord::StrictLoadingViolationError # - # source://activerecord//lib/active_record/relation/query_methods.rb#1325 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1325 def strict_loading(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1329 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1329 def strict_loading!(value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def strict_loading_value; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def strict_loading_value=(value); end # Checks whether the given relation is structurally compatible with this relation, to determine @@ -30840,12 +30855,12 @@ module ActiveRecord::QueryMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_methods.rb#1121 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1121 def structurally_compatible?(other); end # Deduplicate multiple values. # - # source://activerecord//lib/active_record/relation/query_methods.rb#1542 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1542 def uniq!(name); end # Removes an unwanted relation that is already defined on a chain of relations. @@ -30881,16 +30896,16 @@ module ActiveRecord::QueryMethods # # has_many :comments, -> { unscope(where: :trashed) } # - # source://activerecord//lib/active_record/relation/query_methods.rb#806 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:806 def unscope(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#811 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:811 def unscope!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def unscope_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def unscope_values=(value); end # Returns a new relation, which is the result of filtering the current relation @@ -31033,16 +31048,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#1033 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1033 def where(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1043 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1043 def where!(opts, *rest); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def where_clause; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def where_clause=(value); end # Add a Common Table Expression (CTE) that you can then reference within another SELECT statement. @@ -31108,12 +31123,12 @@ module ActiveRecord::QueryMethods # # @raise [ArgumentError] # - # source://activerecord//lib/active_record/relation/query_methods.rb#493 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:493 def with(*args); end # Like #with, but modifies relation in place. # - # source://activerecord//lib/active_record/relation/query_methods.rb#500 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:500 def with!(*args); end # Add a recursive Common Table Expression (CTE) that you can then reference within another SELECT statement. @@ -31129,18 +31144,18 @@ module ActiveRecord::QueryMethods # # See `#with` for more information. # - # source://activerecord//lib/active_record/relation/query_methods.rb#518 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:518 def with_recursive(*args); end # Like #with_recursive but modifies the relation in place. # - # source://activerecord//lib/active_record/relation/query_methods.rb#524 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:524 def with_recursive!(*args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def with_values; end - # source://activerecord//lib/active_record/relation/query_methods.rb#173 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:173 def with_values=(value); end # Excludes the specified record (or collection of records) from the resulting @@ -31170,94 +31185,94 @@ 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#1586 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1586 def without(*records); end protected - # source://activerecord//lib/active_record/relation/query_methods.rb#1662 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1662 def arel_columns(columns); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1657 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1657 def async!; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1655 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1655 def build_having_clause(opts, rest = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1606 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1606 def build_subquery(subquery_alias, select_value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1614 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1614 def build_where_clause(opts, rest = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/relation/query_methods.rb#2048 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2048 def _reverse_order_columns; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1986 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1986 def arel_column(field); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2245 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2245 def arel_column_aliases_from_hash(fields); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1974 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1974 def arel_column_with_table(table_name, column_name); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1958 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1958 def arel_columns_from_hash(fields); end # @raise [UnmodifiableRelation] # - # source://activerecord//lib/active_record/relation/query_methods.rb#1746 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1746 def assert_modifiable!; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1678 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1678 def async; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1750 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1750 def build_arel(aliases); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1702 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1702 def build_bound_sql_literal(statement, values); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2174 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2174 def build_case_for_value_position(column, values, filter: T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1774 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1774 def build_cast_value(name, value); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1778 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1778 def build_from; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1820 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1820 def build_join_buckets; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1735 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1735 def build_join_dependencies; end - # source://activerecord//lib/active_record/relation/query_methods.rb#1876 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1876 def build_joins(join_sources, aliases = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1682 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1682 def build_named_bound_sql_literal(statement, values); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2066 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2066 def build_order(arel); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1898 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1898 def build_select(arel); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1908 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1908 def build_with(arel); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1924 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1924 def build_with_expression_from_value(value, nested = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1950 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1950 def build_with_join_node(name, kind = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1918 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1918 def build_with_value_from_hash(hash); end # Checks to make sure that the arguments are not blank. Note that if some @@ -31277,104 +31292,104 @@ module ActiveRecord::QueryMethods # ... # end # - # source://activerecord//lib/active_record/relation/query_methods.rb#2224 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2224 def check_if_method_has_arguments!(method_name, args, message = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2135 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2135 def column_references(order_args); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_methods.rb#2055 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2055 def does_not_support_reverse?(order); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1729 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1729 def each_join_dependencies(join_dependencies = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2160 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2160 def extract_table_name_from(string); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2088 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2088 def flattened_args(args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1722 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1722 def lookup_table_klass_from_join_dependencies(table_name); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2164 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2164 def order_column(field); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2092 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2092 def preprocess_order_args(order_args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2235 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2235 def process_select_args(fields); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2265 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2265 def process_with_args(args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2184 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2184 def resolve_arel_attributes(attrs); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2013 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2013 def reverse_sql_order(order_query); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2129 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2129 def sanitize_order_arguments(order_args); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1805 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1805 def select_association_list(associations, stashed_joins = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation/query_methods.rb#1793 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:1793 def select_named_joins(join_names, stashed_joins = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2277 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2277 def structurally_incompatible_values_for(other); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_methods.rb#2007 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2007 def table_name_matches?(from); end - # source://activerecord//lib/active_record/relation/query_methods.rb#2074 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2074 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#151 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:151 class ActiveRecord::QueryMethods::CTEJoin # @return [CTEJoin] a new instance of CTEJoin # - # source://activerecord//lib/active_record/relation/query_methods.rb#154 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:154 def initialize(name); end - # source://activerecord//lib/active_record/relation/query_methods.rb#152 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:152 def name; end end -# source://activerecord//lib/active_record/relation/query_methods.rb#159 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:159 ActiveRecord::QueryMethods::FROZEN_EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation/query_methods.rb#160 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:160 ActiveRecord::QueryMethods::FROZEN_EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://activerecord//lib/active_record/relation/query_methods.rb#2272 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2272 ActiveRecord::QueryMethods::STRUCTURAL_VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation/query_methods.rb#2071 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:2071 ActiveRecord::QueryMethods::VALID_DIRECTIONS = T.let(T.unsafe(nil), Set) -# source://activerecord//lib/active_record/relation/query_methods.rb#768 +# pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:768 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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:15 def initialize(scope); end # Returns a new relation with joins and where clause to identify @@ -31409,7 +31424,7 @@ class ActiveRecord::QueryMethods::WhereChain # # LEFT OUTER JOIN "comments" ON "comments"."post_id" = "posts"."id" # # WHERE "author"."id" IS NOT NULL # - # source://activerecord//lib/active_record/relation/query_methods.rb#88 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:88 def associated(*associations); end # Returns a new relation with left outer joins and where clause to identify @@ -31431,7 +31446,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#124 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:124 def missing(*associations); end # Returns a new relation expressing WHERE + NOT condition according to @@ -31465,73 +31480,73 @@ class ActiveRecord::QueryMethods::WhereChain # # SELECT * FROM users WHERE NOT (nullable_country = 'UK') # # => [] # - # source://activerecord//lib/active_record/relation/query_methods.rb#49 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:49 def not(opts, *rest); end private - # source://activerecord//lib/active_record/relation/query_methods.rb#140 + # pkg:gem/activerecord#lib/active_record/relation/query_methods.rb:140 def scope_association_reflection(association); end end -# source://activerecord//lib/active_record/querying.rb#4 +# pkg:gem/activerecord#lib/active_record/querying.rb:4 module ActiveRecord::Querying - # source://activerecord//lib/active_record/querying.rb#71 + # pkg:gem/activerecord#lib/active_record/querying.rb:71 def _load_from_sql(result_set, &block); end - # source://activerecord//lib/active_record/querying.rb#67 + # pkg:gem/activerecord#lib/active_record/querying.rb:67 def _query_by_sql(connection, sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), async: T.unsafe(nil), allow_retry: T.unsafe(nil)); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def and(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def annotate(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def any?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_average(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 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#116 + # pkg:gem/activerecord#lib/active_record/querying.rb:116 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#59 + # pkg:gem/activerecord#lib/active_record/querying.rb:59 def async_find_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), allow_retry: T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_ids(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_maximum(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_minimum(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_pick(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_pluck(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def async_sum(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def average(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def calculate(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def count(*_arg0, **_arg1, &_arg2); end # Returns the result of an SQL statement that should only include a COUNT(*) in the SELECT part. @@ -31547,70 +31562,70 @@ 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#109 + # pkg:gem/activerecord#lib/active_record/querying.rb:109 def count_by_sql(sql); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def create_or_find_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def create_or_find_by!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def create_with(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def delete(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def delete_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def delete_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def destroy(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def destroy_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def destroy_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def distinct(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def eager_load(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def except(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def excluding(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def exists?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def extending(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def extract_associated(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def fifth(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def fifth!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_by!(*_arg0, **_arg1, &_arg2); end # Executes a custom SQL query against your database and returns all the results. The results will @@ -31639,271 +31654,271 @@ 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#51 + # pkg:gem/activerecord#lib/active_record/querying.rb:51 def find_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), allow_retry: T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_each(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_in_batches(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_or_create_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_or_create_by!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_or_initialize_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def find_sole_by(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def first(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def first!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def first_or_create(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def first_or_create!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def first_or_initialize(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def forty_two(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def forty_two!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def fourth(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def fourth!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def from(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def group(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def having(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def ids(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def in_batches(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def in_order_of(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def includes(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def insert(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def insert!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def insert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def insert_all!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def invert_where(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def last(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def last!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def left_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def left_outer_joins(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def limit(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def lock(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def many?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def maximum(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def merge(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def minimum(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def none(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def none?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def offset(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def one?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def only(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def optimizer_hints(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def or(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def order(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def pick(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def pluck(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def preload(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def readonly(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def references(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def regroup(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def reorder(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def reselect(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def rewhere(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def second(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def second!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def second_to_last(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def second_to_last!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def select(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def sole(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def strict_loading(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def sum(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def take(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def take!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def third(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def third!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def third_to_last(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def third_to_last!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def touch_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def unscope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def update_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def upsert(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def upsert_all(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def where(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def with(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def with_recursive(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/querying.rb#24 + # pkg:gem/activerecord#lib/active_record/querying.rb:24 def without(*_arg0, **_arg1, &_arg2); end end -# source://activerecord//lib/active_record/querying.rb#5 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/railtie.rb:16 class ActiveRecord::Railtie < ::Rails::Railtie; end # Raised when values that executed are out of range. # -# source://activerecord//lib/active_record/errors.rb#308 +# pkg:gem/activerecord#lib/active_record/errors.rb:308 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#131 +# pkg:gem/activerecord#lib/active_record/errors.rb:131 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#401 +# pkg:gem/activerecord#lib/active_record/errors.rb:401 class ActiveRecord::ReadOnlyRecord < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/readonly_attributes.rb#4 +# pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:4 class ActiveRecord::ReadonlyAttributeError < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/readonly_attributes.rb#7 +# pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:7 module ActiveRecord::ReadonlyAttributes extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -31920,7 +31935,7 @@ module ActiveRecord::ReadonlyAttributes module GeneratedInstanceMethods; end end -# source://activerecord//lib/active_record/readonly_attributes.rb#14 +# pkg:gem/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. @@ -31938,26 +31953,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 + # pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:30 def attr_readonly(*attributes); end # @return [Boolean] # - # source://activerecord//lib/active_record/readonly_attributes.rb#43 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:39 def readonly_attributes; end end -# source://activerecord//lib/active_record/readonly_attributes.rb#48 +# pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:48 module ActiveRecord::ReadonlyAttributes::HasReadonlyAttributes - # source://activerecord//lib/active_record/readonly_attributes.rb#57 + # pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:57 def _write_attribute(attr_name, value); end - # source://activerecord//lib/active_record/readonly_attributes.rb#49 + # pkg:gem/activerecord#lib/active_record/readonly_attributes.rb:49 def write_attribute(attr_name, value); end end @@ -31973,16 +31988,16 @@ end # puts invalid.record.errors # end # -# source://activerecord//lib/active_record/validations.rb#15 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/validations.rb:16 def record; end end @@ -31999,41 +32014,41 @@ end # # User.first.destroy! # => raises an ActiveRecord::RecordNotDestroyed # -# source://activerecord//lib/active_record/errors.rb#181 +# pkg:gem/activerecord#lib/active_record/errors.rb:181 class ActiveRecord::RecordNotDestroyed < ::ActiveRecord::ActiveRecordError # @return [RecordNotDestroyed] a new instance of RecordNotDestroyed # - # source://activerecord//lib/active_record/errors.rb#184 + # pkg:gem/activerecord#lib/active_record/errors.rb:184 def initialize(message = T.unsafe(nil), record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord//lib/active_record/errors.rb#182 + # pkg:gem/activerecord#lib/active_record/errors.rb:182 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#135 +# pkg:gem/activerecord#lib/active_record/errors.rb:135 class ActiveRecord::RecordNotFound < ::ActiveRecord::ActiveRecordError # @return [RecordNotFound] a new instance of RecordNotFound # - # source://activerecord//lib/active_record/errors.rb#138 + # pkg:gem/activerecord#lib/active_record/errors.rb:138 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#136 + # pkg:gem/activerecord#lib/active_record/errors.rb:136 def id; end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/errors.rb#136 + # pkg:gem/activerecord#lib/active_record/errors.rb:136 def model; end # Returns the value of attribute primary_key. # - # source://activerecord//lib/active_record/errors.rb#136 + # pkg:gem/activerecord#lib/active_record/errors.rb:136 def primary_key; end end @@ -32051,27 +32066,27 @@ end # # Product.create! # => raises an ActiveRecord::RecordNotSaved # -# source://activerecord//lib/active_record/errors.rb#160 +# pkg:gem/activerecord#lib/active_record/errors.rb:160 class ActiveRecord::RecordNotSaved < ::ActiveRecord::ActiveRecordError # @return [RecordNotSaved] a new instance of RecordNotSaved # - # source://activerecord//lib/active_record/errors.rb#163 + # pkg:gem/activerecord#lib/active_record/errors.rb:163 def initialize(message = T.unsafe(nil), record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord//lib/active_record/errors.rb#161 + # pkg:gem/activerecord#lib/active_record/errors.rb:161 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#228 +# pkg:gem/activerecord#lib/active_record/errors.rb:228 class ActiveRecord::RecordNotUnique < ::ActiveRecord::WrappedDatabaseException; end # = Active Record Reflection # -# source://activerecord//lib/active_record/reflection.rb#7 +# pkg:gem/activerecord#lib/active_record/reflection.rb:7 module ActiveRecord::Reflection extend ::ActiveSupport::Concern extend ::ActiveStorage::Reflection::ReflectionExtension @@ -32081,18 +32096,18 @@ module ActiveRecord::Reflection mixes_in_class_methods ::ActiveRecord::Reflection::ClassMethods class << self - # source://activerecord//lib/active_record/reflection.rb#29 + # pkg:gem/activerecord#lib/active_record/reflection.rb:29 def add_aggregate_reflection(ar, name, reflection); end - # source://activerecord//lib/active_record/reflection.rb#23 + # pkg:gem/activerecord#lib/active_record/reflection.rb:23 def add_reflection(ar, name, reflection); end - # source://activerecord//lib/active_record/reflection.rb#18 + # pkg:gem/activerecord#lib/active_record/reflection.rb:18 def create(macro, name, scope, options, ar); end private - # source://activerecord//lib/active_record/reflection.rb#34 + # pkg:gem/activerecord#lib/active_record/reflection.rb:34 def reflection_class_for(macro); end end @@ -32137,29 +32152,29 @@ end # PolymorphicReflection # RuntimeReflection # -# source://activerecord//lib/active_record/reflection.rb#163 +# pkg:gem/activerecord#lib/active_record/reflection.rb:163 class ActiveRecord::Reflection::AbstractReflection # @return [AbstractReflection] a new instance of AbstractReflection # - # source://activerecord//lib/active_record/reflection.rb#164 + # pkg:gem/activerecord#lib/active_record/reflection.rb:164 def initialize; end - # source://activerecord//lib/active_record/reflection.rb#328 + # pkg:gem/activerecord#lib/active_record/reflection.rb:328 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#182 + # pkg:gem/activerecord#lib/active_record/reflection.rb:182 def build_association(attributes, &block); end - # source://activerecord//lib/active_record/reflection.rb#336 + # pkg:gem/activerecord#lib/active_record/reflection.rb:336 def build_scope(table, predicate_builder = T.unsafe(nil), klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#332 + # pkg:gem/activerecord#lib/active_record/reflection.rb:332 def chain; end - # source://activerecord//lib/active_record/reflection.rb#264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:264 def check_validity_of_inverse!; end # Returns the class name for the macro. @@ -32167,18 +32182,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#190 + # pkg:gem/activerecord#lib/active_record/reflection.rb:190 def class_name; end - # source://activerecord//lib/active_record/reflection.rb#240 + # pkg:gem/activerecord#lib/active_record/reflection.rb:240 def constraints; end - # source://activerecord//lib/active_record/reflection.rb#244 + # pkg:gem/activerecord#lib/active_record/reflection.rb:244 def counter_cache_column; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#324 + # pkg:gem/activerecord#lib/active_record/reflection.rb:324 def counter_must_be_updated_by_has_many?; end # Returns whether this association has a counter cache and its column values were backfilled @@ -32186,7 +32201,7 @@ class ActiveRecord::Reflection::AbstractReflection # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#315 + # pkg:gem/activerecord#lib/active_record/reflection.rb:315 def has_active_cached_counter?; end # Returns whether this association has a counter cache. @@ -32196,10 +32211,10 @@ class ActiveRecord::Reflection::AbstractReflection # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#307 + # pkg:gem/activerecord#lib/active_record/reflection.rb:307 def has_cached_counter?; end - # source://activerecord//lib/active_record/reflection.rb#258 + # pkg:gem/activerecord#lib/active_record/reflection.rb:258 def inverse_of; end # We need to avoid the following situation: @@ -32213,12 +32228,12 @@ class ActiveRecord::Reflection::AbstractReflection # # Hence this method. # - # source://activerecord//lib/active_record/reflection.rb#297 + # pkg:gem/activerecord#lib/active_record/reflection.rb:297 def inverse_updates_counter_cache?; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#299 + # pkg:gem/activerecord#lib/active_record/reflection.rb:299 def inverse_updates_counter_in_memory?; end # We need to avoid the following situation: @@ -32232,124 +32247,124 @@ class ActiveRecord::Reflection::AbstractReflection # # Hence this method. # - # source://activerecord//lib/active_record/reflection.rb#285 + # pkg:gem/activerecord#lib/active_record/reflection.rb:285 def inverse_which_updates_counter_cache; end - # source://activerecord//lib/active_record/reflection.rb#200 + # pkg:gem/activerecord#lib/active_record/reflection.rb:200 def join_scope(table, foreign_table, foreign_klass); end - # source://activerecord//lib/active_record/reflection.rb#227 + # pkg:gem/activerecord#lib/active_record/reflection.rb:227 def join_scopes(table, predicate_builder = T.unsafe(nil), klass = T.unsafe(nil), record = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#235 + # pkg:gem/activerecord#lib/active_record/reflection.rb:235 def klass_join_scope(table, predicate_builder = T.unsafe(nil)); 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#196 + # pkg:gem/activerecord#lib/active_record/reflection.rb:196 def scopes; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#340 + # pkg:gem/activerecord#lib/active_record/reflection.rb:340 def strict_loading?; end - # source://activerecord//lib/active_record/reflection.rb#344 + # pkg:gem/activerecord#lib/active_record/reflection.rb:344 def strict_loading_violation_message(owner); end - # source://activerecord//lib/active_record/reflection.rb#176 + # pkg:gem/activerecord#lib/active_record/reflection.rb:176 def table_name; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#172 + # pkg:gem/activerecord#lib/active_record/reflection.rb:172 def through_reflection?; end protected # FIXME: this is a horrible name # - # source://activerecord//lib/active_record/reflection.rb#351 + # pkg:gem/activerecord#lib/active_record/reflection.rb:351 def actual_source_reflection; end private - # source://activerecord//lib/active_record/reflection.rb#360 + # pkg:gem/activerecord#lib/active_record/reflection.rb:360 def ensure_option_not_given_as_class!(option_name); end - # source://activerecord//lib/active_record/reflection.rb#356 + # pkg:gem/activerecord#lib/active_record/reflection.rb:356 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#480 +# pkg:gem/activerecord#lib/active_record/reflection.rb:480 class ActiveRecord::Reflection::AggregateReflection < ::ActiveRecord::Reflection::MacroReflection - # source://activerecord//lib/active_record/reflection.rb#481 + # pkg:gem/activerecord#lib/active_record/reflection.rb:481 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#489 +# pkg:gem/activerecord#lib/active_record/reflection.rb:489 class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflection::MacroReflection # @return [AssociationReflection] a new instance of AssociationReflection # - # source://activerecord//lib/active_record/reflection.rb#517 + # pkg:gem/activerecord#lib/active_record/reflection.rb:517 def initialize(name, scope, options, active_record); end - # source://activerecord//lib/active_record/reflection.rb#591 + # pkg:gem/activerecord#lib/active_record/reflection.rb:591 def active_record_primary_key; end - # source://activerecord//lib/active_record/reflection.rb#741 + # pkg:gem/activerecord#lib/active_record/reflection.rb:741 def add_as_polymorphic_through(reflection, seed); end - # source://activerecord//lib/active_record/reflection.rb#737 + # pkg:gem/activerecord#lib/active_record/reflection.rb:737 def add_as_source(seed); end - # source://activerecord//lib/active_record/reflection.rb#745 + # pkg:gem/activerecord#lib/active_record/reflection.rb:745 def add_as_through(seed); end # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/reflection.rb#727 + # pkg:gem/activerecord#lib/active_record/reflection.rb:727 def association_class; end - # source://activerecord//lib/active_record/reflection.rb#583 + # pkg:gem/activerecord#lib/active_record/reflection.rb:583 def association_foreign_key; end - # source://activerecord//lib/active_record/reflection.rb#587 + # pkg:gem/activerecord#lib/active_record/reflection.rb:587 def association_primary_key(klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#544 + # pkg:gem/activerecord#lib/active_record/reflection.rb:544 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#722 + # pkg:gem/activerecord#lib/active_record/reflection.rb:722 def belongs_to?; end - # source://activerecord//lib/active_record/reflection.rb#638 + # pkg:gem/activerecord#lib/active_record/reflection.rb:638 def check_eager_loadable!; end - # source://activerecord//lib/active_record/reflection.rb#622 + # pkg:gem/activerecord#lib/active_record/reflection.rb:622 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#670 + # pkg:gem/activerecord#lib/active_record/reflection.rb:670 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#664 + # pkg:gem/activerecord#lib/active_record/reflection.rb:664 def collect_join_chain; end # Returns whether or not this association reflection is for a collection @@ -32358,58 +32373,58 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#704 + # pkg:gem/activerecord#lib/active_record/reflection.rb:704 def collection?; end - # source://activerecord//lib/active_record/reflection.rb#490 + # pkg:gem/activerecord#lib/active_record/reflection.rb:490 def compute_class(name); end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#753 + # pkg:gem/activerecord#lib/active_record/reflection.rb:753 def deprecated?; end - # source://activerecord//lib/active_record/reflection.rb#749 + # pkg:gem/activerecord#lib/active_record/reflection.rb:749 def extensions; end - # source://activerecord//lib/active_record/reflection.rb#558 + # pkg:gem/activerecord#lib/active_record/reflection.rb:558 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#514 + # pkg:gem/activerecord#lib/active_record/reflection.rb:514 def foreign_type; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#682 + # pkg:gem/activerecord#lib/active_record/reflection.rb:682 def has_inverse?; end # Returns +true+ if +self+ is a +has_one+ reflection. # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#725 + # pkg:gem/activerecord#lib/active_record/reflection.rb:725 def has_one?; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#678 + # pkg:gem/activerecord#lib/active_record/reflection.rb:678 def has_scope?; end - # source://activerecord//lib/active_record/reflection.rb#618 + # pkg:gem/activerecord#lib/active_record/reflection.rb:618 def join_foreign_key; end - # source://activerecord//lib/active_record/reflection.rb#650 + # pkg:gem/activerecord#lib/active_record/reflection.rb:650 def join_id_for(owner); end - # source://activerecord//lib/active_record/reflection.rb#610 + # pkg:gem/activerecord#lib/active_record/reflection.rb:610 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#614 + # pkg:gem/activerecord#lib/active_record/reflection.rb:614 def join_primary_type; end - # source://activerecord//lib/active_record/reflection.rb#554 + # pkg:gem/activerecord#lib/active_record/reflection.rb:554 def join_table; end # Returns the macro type. @@ -32418,44 +32433,44 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @raise [NotImplementedError] # - # source://activerecord//lib/active_record/reflection.rb#699 + # pkg:gem/activerecord#lib/active_record/reflection.rb:699 def macro; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#674 + # pkg:gem/activerecord#lib/active_record/reflection.rb:674 def nested?; end # Reflection # - # source://activerecord//lib/active_record/reflection.rb#515 + # pkg:gem/activerecord#lib/active_record/reflection.rb:515 def parent_reflection; end # Reflection # - # source://activerecord//lib/active_record/reflection.rb#515 + # pkg:gem/activerecord#lib/active_record/reflection.rb:515 def parent_reflection=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#729 + # pkg:gem/activerecord#lib/active_record/reflection.rb:729 def polymorphic?; end - # source://activerecord//lib/active_record/reflection.rb#686 + # pkg:gem/activerecord#lib/active_record/reflection.rb:686 def polymorphic_inverse_of(associated_class); end - # source://activerecord//lib/active_record/reflection.rb#733 + # pkg:gem/activerecord#lib/active_record/reflection.rb:733 def polymorphic_name; end - # source://activerecord//lib/active_record/reflection.rb#658 + # pkg:gem/activerecord#lib/active_record/reflection.rb:658 def source_reflection; end - # source://activerecord//lib/active_record/reflection.rb#654 + # pkg:gem/activerecord#lib/active_record/reflection.rb:654 def through_reflection; end # Returns the value of attribute type. # - # source://activerecord//lib/active_record/reflection.rb#514 + # pkg:gem/activerecord#lib/active_record/reflection.rb:514 def type; end # Returns whether or not the association should be validated as part of @@ -32470,14 +32485,14 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#717 + # pkg:gem/activerecord#lib/active_record/reflection.rb:717 def validate?; end private # returns either +nil+ or the inverse association name that it finds. # - # source://activerecord//lib/active_record/reflection.rb#770 + # pkg:gem/activerecord#lib/active_record/reflection.rb:770 def automatic_inverse_of; end # Checks to see if the reflection doesn't have any options that prevent @@ -32489,26 +32504,26 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#812 + # pkg:gem/activerecord#lib/active_record/reflection.rb:812 def can_find_inverse_of_automatically?(reflection, inverse_reflection = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#833 + # pkg:gem/activerecord#lib/active_record/reflection.rb:833 def derive_class_name; end - # source://activerecord//lib/active_record/reflection.rb#851 + # pkg:gem/activerecord#lib/active_record/reflection.rb:851 def derive_fk_query_constraints(foreign_key); end - # source://activerecord//lib/active_record/reflection.rb#839 + # pkg:gem/activerecord#lib/active_record/reflection.rb:839 def derive_foreign_key(infer_from_inverse_of: T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#891 + # pkg:gem/activerecord#lib/active_record/reflection.rb:891 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#761 + # pkg:gem/activerecord#lib/active_record/reflection.rb:761 def inverse_name; end # Scopes on the potential inverse reflection prevent automatic @@ -32520,7 +32535,7 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#825 + # pkg:gem/activerecord#lib/active_record/reflection.rb:825 def scope_allows_automatic_inverse_of?(reflection, inverse_reflection); end # Checks if the inverse reflection that is returned from the @@ -32530,42 +32545,42 @@ class ActiveRecord::Reflection::AssociationReflection < ::ActiveRecord::Reflecti # # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#798 + # pkg:gem/activerecord#lib/active_record/reflection.rb:798 def valid_inverse_reflection?(reflection); end end -# source://activerecord//lib/active_record/reflection.rb#924 +# pkg:gem/activerecord#lib/active_record/reflection.rb:924 class ActiveRecord::Reflection::BelongsToReflection < ::ActiveRecord::Reflection::AssociationReflection - # source://activerecord//lib/active_record/reflection.rb#929 + # pkg:gem/activerecord#lib/active_record/reflection.rb:929 def association_class; end # klass option is necessary to support loading polymorphic associations # - # source://activerecord//lib/active_record/reflection.rb#938 + # pkg:gem/activerecord#lib/active_record/reflection.rb:938 def association_primary_key(klass = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#927 + # pkg:gem/activerecord#lib/active_record/reflection.rb:927 def belongs_to?; end - # source://activerecord//lib/active_record/reflection.rb#960 + # pkg:gem/activerecord#lib/active_record/reflection.rb:960 def join_foreign_key; end - # source://activerecord//lib/active_record/reflection.rb#964 + # pkg:gem/activerecord#lib/active_record/reflection.rb:964 def join_foreign_type; end - # source://activerecord//lib/active_record/reflection.rb#956 + # pkg:gem/activerecord#lib/active_record/reflection.rb:956 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#925 + # pkg:gem/activerecord#lib/active_record/reflection.rb:925 def macro; end private # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#969 + # pkg:gem/activerecord#lib/active_record/reflection.rb:969 def can_find_inverse_of_automatically?(*_arg0); end end @@ -32580,27 +32595,27 @@ end # MacroReflection class has info for AggregateReflection and AssociationReflection # classes. # -# source://activerecord//lib/active_record/reflection.rb#60 +# pkg:gem/activerecord#lib/active_record/reflection.rb:60 module ActiveRecord::Reflection::ClassMethods - # source://activerecord//lib/active_record/reflection.rb#126 + # pkg:gem/activerecord#lib/active_record/reflection.rb:126 def _reflect_on_association(association); end - # source://activerecord//lib/active_record/reflection.rb#137 + # pkg:gem/activerecord#lib/active_record/reflection.rb:137 def clear_reflections_cache; end - # source://activerecord//lib/active_record/reflection.rb#82 + # pkg:gem/activerecord#lib/active_record/reflection.rb:82 def normalized_reflections; 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#70 + # pkg:gem/activerecord#lib/active_record/reflection.rb:70 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#62 + # pkg:gem/activerecord#lib/active_record/reflection.rb:62 def reflect_on_all_aggregations; end # Returns an array of AssociationReflection objects for all the @@ -32613,12 +32628,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#111 + # pkg:gem/activerecord#lib/active_record/reflection.rb:111 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#131 + # pkg:gem/activerecord#lib/active_record/reflection.rb:131 def reflect_on_all_autosave_associations; end # Returns the AssociationReflection object for the +association+ (use the symbol). @@ -32626,89 +32641,89 @@ 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#122 + # pkg:gem/activerecord#lib/active_record/reflection.rb:122 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#78 + # pkg:gem/activerecord#lib/active_record/reflection.rb:78 def reflections; end private - # source://activerecord//lib/active_record/reflection.rb#142 + # pkg:gem/activerecord#lib/active_record/reflection.rb:142 def inherited(subclass); end end -# source://activerecord//lib/active_record/reflection.rb#974 +# pkg:gem/activerecord#lib/active_record/reflection.rb:974 class ActiveRecord::Reflection::HasAndBelongsToManyReflection < ::ActiveRecord::Reflection::AssociationReflection # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#977 + # pkg:gem/activerecord#lib/active_record/reflection.rb:977 def collection?; end - # source://activerecord//lib/active_record/reflection.rb#975 + # pkg:gem/activerecord#lib/active_record/reflection.rb:975 def macro; end end -# source://activerecord//lib/active_record/reflection.rb#896 +# pkg:gem/activerecord#lib/active_record/reflection.rb:896 class ActiveRecord::Reflection::HasManyReflection < ::ActiveRecord::Reflection::AssociationReflection - # source://activerecord//lib/active_record/reflection.rb#901 + # pkg:gem/activerecord#lib/active_record/reflection.rb:901 def association_class; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#899 + # pkg:gem/activerecord#lib/active_record/reflection.rb:899 def collection?; end - # source://activerecord//lib/active_record/reflection.rb#897 + # pkg:gem/activerecord#lib/active_record/reflection.rb:897 def macro; end end -# source://activerecord//lib/active_record/reflection.rb#910 +# pkg:gem/activerecord#lib/active_record/reflection.rb:910 class ActiveRecord::Reflection::HasOneReflection < ::ActiveRecord::Reflection::AssociationReflection - # source://activerecord//lib/active_record/reflection.rb#915 + # pkg:gem/activerecord#lib/active_record/reflection.rb:915 def association_class; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#913 + # pkg:gem/activerecord#lib/active_record/reflection.rb:913 def has_one?; end - # source://activerecord//lib/active_record/reflection.rb#911 + # pkg:gem/activerecord#lib/active_record/reflection.rb:911 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#369 +# pkg:gem/activerecord#lib/active_record/reflection.rb:369 class ActiveRecord::Reflection::MacroReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [MacroReflection] a new instance of MacroReflection # - # source://activerecord//lib/active_record/reflection.rb#388 + # pkg:gem/activerecord#lib/active_record/reflection.rb:388 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#440 + # pkg:gem/activerecord#lib/active_record/reflection.rb:440 def ==(other_aggregation); end - # source://activerecord//lib/active_record/reflection.rb#426 + # pkg:gem/activerecord#lib/active_record/reflection.rb:426 def _klass(class_name); end # Returns the value of attribute active_record. # - # source://activerecord//lib/active_record/reflection.rb#384 + # pkg:gem/activerecord#lib/active_record/reflection.rb:384 def active_record; end - # source://activerecord//lib/active_record/reflection.rb#399 + # pkg:gem/activerecord#lib/active_record/reflection.rb:399 def autosave=(autosave); end - # source://activerecord//lib/active_record/reflection.rb#434 + # pkg:gem/activerecord#lib/active_record/reflection.rb:434 def compute_class(name); end # Returns the class for the macro. @@ -32727,7 +32742,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#422 + # pkg:gem/activerecord#lib/active_record/reflection.rb:422 def klass; end # Returns the name of the macro. @@ -32735,7 +32750,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#374 + # pkg:gem/activerecord#lib/active_record/reflection.rb:374 def name; end # Returns the hash of options used for the macro. @@ -32743,164 +32758,164 @@ 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#382 + # pkg:gem/activerecord#lib/active_record/reflection.rb:382 def options; end - # source://activerecord//lib/active_record/reflection.rb#386 + # pkg:gem/activerecord#lib/active_record/reflection.rb:386 def plural_name; end # Returns the value of attribute scope. # - # source://activerecord//lib/active_record/reflection.rb#376 + # pkg:gem/activerecord#lib/active_record/reflection.rb:376 def scope; end - # source://activerecord//lib/active_record/reflection.rb#448 + # pkg:gem/activerecord#lib/active_record/reflection.rb:448 def scope_for(relation, owner = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/reflection.rb#453 + # pkg:gem/activerecord#lib/active_record/reflection.rb:453 def derive_class_name; end - # source://activerecord//lib/active_record/reflection.rb#457 + # pkg:gem/activerecord#lib/active_record/reflection.rb:457 def normalize_options(options); end end -# source://activerecord//lib/active_record/reflection.rb#1263 +# pkg:gem/activerecord#lib/active_record/reflection.rb:1263 class ActiveRecord::Reflection::PolymorphicReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [PolymorphicReflection] a new instance of PolymorphicReflection # - # source://activerecord//lib/active_record/reflection.rb#1267 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1267 def initialize(reflection, previous_reflection); end - # source://activerecord//lib/active_record/reflection.rb#1281 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1281 def constraints; end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def join_primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1273 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1273 def join_scopes(table, predicate_builder = T.unsafe(nil), klass = T.unsafe(nil), record = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def klass(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def name(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def plural_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def scope_for(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1264 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1264 def type(*_arg0, **_arg1, &_arg2); end private - # source://activerecord//lib/active_record/reflection.rb#1286 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1286 def source_type_scope; end end -# source://activerecord//lib/active_record/reflection.rb#1293 +# pkg:gem/activerecord#lib/active_record/reflection.rb:1293 class ActiveRecord::Reflection::RuntimeReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [RuntimeReflection] a new instance of RuntimeReflection # - # source://activerecord//lib/active_record/reflection.rb#1296 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1296 def initialize(reflection, association); end - # source://activerecord//lib/active_record/reflection.rb#1306 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1306 def aliased_table; end - # source://activerecord//lib/active_record/reflection.rb#1314 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1314 def all_includes; end - # source://activerecord//lib/active_record/reflection.rb#1294 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1294 def constraints(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1294 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1294 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1310 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1310 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#1302 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1302 def klass; end - # source://activerecord//lib/active_record/reflection.rb#1294 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1294 def scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1294 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1294 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#984 +# pkg:gem/activerecord#lib/active_record/reflection.rb:984 class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection::AbstractReflection # @return [ThroughReflection] a new instance of ThroughReflection # - # source://activerecord//lib/active_record/reflection.rb#988 + # pkg:gem/activerecord#lib/active_record/reflection.rb:988 def initialize(delegate_reflection); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def _klass(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def active_record(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 def active_record_primary_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1208 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1208 def add_as_polymorphic_through(reflection, seed); end - # source://activerecord//lib/active_record/reflection.rb#1204 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1204 def add_as_source(seed); end - # source://activerecord//lib/active_record/reflection.rb#1212 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1212 def add_as_through(seed); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def association_class(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 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#1097 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1097 def association_primary_key(klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def association_scope_cache(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def autosave=(arg); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def belongs_to?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def check_eager_loadable!(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1154 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1154 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#1069 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1069 def clear_association_scope_cache; end # Returns an array of reflections which are involved in this association. Each item in the @@ -32920,109 +32935,109 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # # => [, # ] # - # source://activerecord//lib/active_record/reflection.rb#1063 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1063 def collect_join_chain; end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def collection?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def compute_class(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1198 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1198 def constraints; end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def deprecated?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1216 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1216 def deprecated_nested_reflections; end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def extensions(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 def foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 def foreign_type(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def has_inverse?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def has_one?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#1083 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1083 def has_scope?; end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 def join_foreign_key(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 def join_id_for(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1107 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1107 def join_primary_key(klass = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def join_primary_type(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1079 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1079 def join_scopes(table, predicate_builder = T.unsafe(nil), klass = T.unsafe(nil), record = T.unsafe(nil)); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def join_table(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1003 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1003 def klass; end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def macro(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 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#1090 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1090 def nested?; end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def options(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def parent_reflection(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def parent_reflection=(arg); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def plural_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def polymorphic?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def polymorphic_inverse_of(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def polymorphic_name(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def scope_for(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1075 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1075 def scopes; end - # source://activerecord//lib/active_record/reflection.rb#1146 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1146 def source_options; end # Returns the source of the through reflection. It checks both a singularized @@ -33042,10 +33057,10 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # tags_reflection.source_reflection # # => # - # source://activerecord//lib/active_record/reflection.rb#1024 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1024 def source_reflection; end - # source://activerecord//lib/active_record/reflection.rb#1126 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1126 def source_reflection_name; end # Gets an array of possible :through source reflection names in both singular and plural form. @@ -33059,10 +33074,10 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # tags_reflection.source_reflection_names # # => [:tag, :tags] # - # source://activerecord//lib/active_record/reflection.rb#1122 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1122 def source_reflection_names; end - # source://activerecord//lib/active_record/reflection.rb#1150 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1150 def through_options; end # Returns the AssociationReflection object specified in the :through option @@ -33077,50 +33092,50 @@ class ActiveRecord::Reflection::ThroughReflection < ::ActiveRecord::Reflection:: # tags_reflection.through_reflection # # => # - # source://activerecord//lib/active_record/reflection.rb#1042 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1042 def through_reflection; end # @return [Boolean] # - # source://activerecord//lib/active_record/reflection.rb#999 + # pkg:gem/activerecord#lib/active_record/reflection.rb:999 def through_reflection?; end - # source://activerecord//lib/active_record/reflection.rb#985 + # pkg:gem/activerecord#lib/active_record/reflection.rb:985 def type(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/reflection.rb#1260 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1260 def validate?(*_arg0, **_arg1, &_arg2); end protected # FIXME: this is a horrible name # - # source://activerecord//lib/active_record/reflection.rb#1221 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1221 def actual_source_reflection; end private - # source://activerecord//lib/active_record/reflection.rb#1244 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1244 def collect_deprecated_nested_reflections; end - # source://activerecord//lib/active_record/reflection.rb#1228 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1228 def collect_join_reflections(seed); end # Returns the value of attribute delegate_reflection. # - # source://activerecord//lib/active_record/reflection.rb#1226 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1226 def delegate_reflection; end - # source://activerecord//lib/active_record/reflection.rb#1239 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1239 def derive_class_name; end - # source://activerecord//lib/active_record/reflection.rb#1237 + # pkg:gem/activerecord#lib/active_record/reflection.rb:1237 def inverse_name; end end # = Active Record \Relation # -# source://activerecord//lib/active_record/relation.rb#5 +# pkg:gem/activerecord#lib/active_record/relation.rb:5 class ActiveRecord::Relation include ::Enumerable include ::ActiveRecord::Delegation @@ -33137,18 +33152,18 @@ class ActiveRecord::Relation # @return [Relation] a new instance of Relation # - # source://activerecord//lib/active_record/relation.rb#77 + # pkg:gem/activerecord#lib/active_record/relation.rb:77 def initialize(model, 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#1273 + # pkg:gem/activerecord#lib/active_record/relation.rb:1273 def ==(other); end - # source://activerecord//lib/active_record/relation.rb#562 + # pkg:gem/activerecord#lib/active_record/relation.rb:562 def _exec_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation.rb#1327 + # pkg:gem/activerecord#lib/active_record/relation.rb:1327 def alias_tracker(joins = T.unsafe(nil), aliases = T.unsafe(nil)); end # Returns true if there are any records. @@ -33160,19 +33175,19 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#401 + # pkg:gem/activerecord#lib/active_record/relation.rb:401 def any?(*args); end # @yield [attr, bind] # - # source://activerecord//lib/active_record/relation.rb#102 + # pkg:gem/activerecord#lib/active_record/relation.rb:102 def bind_attribute(name, value); end # Returns true if relation is blank. # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1294 + # pkg:gem/activerecord#lib/active_record/relation.rb:1294 def blank?; end # Initializes new record from relation while maintaining the current @@ -33188,7 +33203,7 @@ class ActiveRecord::Relation # user = users.new { |user| user.name = 'Oscar' } # user.name # => Oscar # - # source://activerecord//lib/active_record/relation.rb#133 + # pkg:gem/activerecord#lib/active_record/relation.rb:133 def build(attributes = T.unsafe(nil), &block); end # Returns a stable cache key that can be used to identify this query. @@ -33209,12 +33224,12 @@ class ActiveRecord::Relation # # Product.where("name like ?", "%Game%").cache_key(:last_reviewed_at) # - # source://activerecord//lib/active_record/relation.rb#448 + # pkg:gem/activerecord#lib/active_record/relation.rb:448 def cache_key(timestamp_column = T.unsafe(nil)); end # Returns a cache key along with the version. # - # source://activerecord//lib/active_record/relation.rb#529 + # pkg:gem/activerecord#lib/active_record/relation.rb:529 def cache_key_with_version; end # Returns a cache version that can be used together with the cache key to form @@ -33228,7 +33243,7 @@ class ActiveRecord::Relation # # SELECT COUNT(*), MAX("products"."updated_at") FROM "products" WHERE (name like '%Cosmic Encounter%') # - # source://activerecord//lib/active_record/relation.rb#475 + # pkg:gem/activerecord#lib/active_record/relation.rb:475 def cache_version(timestamp_column = T.unsafe(nil)); end # Tries to create a new record with the same scoped attributes @@ -33251,7 +33266,7 @@ class ActiveRecord::Relation # users.create(name: nil) # validation on name # # => # # - # source://activerecord//lib/active_record/relation.rb#154 + # pkg:gem/activerecord#lib/active_record/relation.rb:154 def create(attributes = T.unsafe(nil), &block); end # Similar to #create, but calls @@ -33261,7 +33276,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#169 + # pkg:gem/activerecord#lib/active_record/relation.rb:169 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 @@ -33296,14 +33311,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#273 + # pkg:gem/activerecord#lib/active_record/relation.rb:273 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#293 + # pkg:gem/activerecord#lib/active_record/relation.rb:293 def create_or_find_by!(attributes, &block); end # Deletes the row with a primary key matching the +id+ argument, using an @@ -33325,7 +33340,7 @@ class ActiveRecord::Relation # # Delete multiple rows # Todo.delete([2,3,4]) # - # source://activerecord//lib/active_record/relation.rb#1077 + # pkg:gem/activerecord#lib/active_record/relation.rb:1077 def delete(id_or_array); end # Deletes the records without instantiating the records @@ -33347,7 +33362,7 @@ class ActiveRecord::Relation # Post.distinct.delete_all # # => ActiveRecord::ActiveRecordError: delete_all doesn't support distinct # - # source://activerecord//lib/active_record/relation.rb#1033 + # pkg:gem/activerecord#lib/active_record/relation.rb:1033 def delete_all; end # Finds and deletes all records matching the specified conditions. @@ -33360,7 +33375,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#1139 + # pkg:gem/activerecord#lib/active_record/relation.rb:1139 def delete_by(*args); end # Destroy an object (or multiple objects) that has the given id. The object is instantiated first, @@ -33383,7 +33398,7 @@ class ActiveRecord::Relation # todos = [1,2,3] # Todo.destroy(todos) # - # source://activerecord//lib/active_record/relation.rb#1103 + # pkg:gem/activerecord#lib/active_record/relation.rb:1103 def destroy(id); end # Destroys the records by instantiating each @@ -33403,7 +33418,7 @@ class ActiveRecord::Relation # # Person.where(age: 0..18).destroy_all # - # source://activerecord//lib/active_record/relation.rb#1011 + # pkg:gem/activerecord#lib/active_record/relation.rb:1011 def destroy_all; end # Finds and destroys all records matching the specified conditions. @@ -33416,31 +33431,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#1126 + # pkg:gem/activerecord#lib/active_record/relation.rb:1126 def destroy_by(*args); end # Returns true if relation needs eager loading. # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1258 + # pkg:gem/activerecord#lib/active_record/relation.rb:1258 def eager_loading?; end # Returns true if there are no records. # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#372 + # pkg:gem/activerecord#lib/active_record/relation.rb:372 def empty?; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1319 + # pkg:gem/activerecord#lib/active_record/relation.rb:1319 def empty_scope?; end # Serializes the relation objects Array. # - # source://activerecord//lib/active_record/relation.rb#358 + # pkg:gem/activerecord#lib/active_record/relation.rb:358 def encode_with(coder); end # Runs EXPLAIN on the query or queries triggered by this relation and @@ -33470,7 +33485,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#342 + # pkg:gem/activerecord#lib/active_record/relation.rb:342 def explain(*options); end # Finds the first record with the given attributes, or creates a record @@ -33515,34 +33530,34 @@ 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#231 + # pkg:gem/activerecord#lib/active_record/relation.rb:231 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#238 + # pkg:gem/activerecord#lib/active_record/relation.rb:238 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#312 + # pkg:gem/activerecord#lib/active_record/relation.rb:312 def find_or_initialize_by(attributes, &block); end - # source://activerecord//lib/active_record/relation.rb#178 + # pkg:gem/activerecord#lib/active_record/relation.rb:178 def first_or_create(attributes = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/relation.rb#182 + # pkg:gem/activerecord#lib/active_record/relation.rb:182 def first_or_create!(attributes = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/relation.rb#186 + # pkg:gem/activerecord#lib/active_record/relation.rb:186 def first_or_initialize(attributes = T.unsafe(nil), &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1323 + # pkg:gem/activerecord#lib/active_record/relation.rb:1323 def has_limit_or_offset?; end # Inserts a single record into the database in a single SQL INSERT @@ -33552,7 +33567,7 @@ class ActiveRecord::Relation # # See #insert_all for documentation. # - # source://activerecord//lib/active_record/relation.rb#664 + # pkg:gem/activerecord#lib/active_record/relation.rb:664 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 @@ -33562,7 +33577,7 @@ class ActiveRecord::Relation # # See #insert_all! for more. # - # source://activerecord//lib/active_record/relation.rb#753 + # pkg:gem/activerecord#lib/active_record/relation.rb:753 def insert!(attributes, returning: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end # Inserts multiple records into the database in a single SQL INSERT @@ -33641,7 +33656,7 @@ class ActiveRecord::Relation # { id: 2, title: "Eloquent Ruby" } # ]) # - # source://activerecord//lib/active_record/relation.rb#743 + # pkg:gem/activerecord#lib/active_record/relation.rb:743 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 @@ -33698,10 +33713,10 @@ class ActiveRecord::Relation # { id: 1, title: "Eloquent Ruby", author: "Russ" } # ]) # - # source://activerecord//lib/active_record/relation.rb#810 + # pkg:gem/activerecord#lib/active_record/relation.rb:810 def insert_all!(attributes, returning: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#1310 + # pkg:gem/activerecord#lib/active_record/relation.rb:1310 def inspect; end # Joins that are also marked for preloading. In which case we should just eager load them. @@ -33709,12 +33724,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#1268 + # pkg:gem/activerecord#lib/active_record/relation.rb:1268 def joined_includes_values; end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/relation.rb#73 + # pkg:gem/activerecord#lib/active_record/relation.rb:73 def klass; end # Causes the records to be loaded from the database if they have not @@ -33724,7 +33739,7 @@ class ActiveRecord::Relation # # Post.where(published: true).load # => # # - # source://activerecord//lib/active_record/relation.rb#1199 + # pkg:gem/activerecord#lib/active_record/relation.rb:1199 def load(&block); end # Schedule the query to be performed from a background thread pool. @@ -33743,32 +33758,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#1158 + # pkg:gem/activerecord#lib/active_record/relation.rb:1158 def load_async; end # Returns the value of attribute loaded. # - # source://activerecord//lib/active_record/relation.rb#71 + # pkg:gem/activerecord#lib/active_record/relation.rb:71 def loaded; end # Returns the value of attribute loaded. # - # source://activerecord//lib/active_record/relation.rb#74 + # pkg:gem/activerecord#lib/active_record/relation.rb:74 def loaded?; end - # source://activerecord//lib/active_record/relation.rb#75 + # pkg:gem/activerecord#lib/active_record/relation.rb:75 def locked?; end # Returns true if there is more than one record. # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#423 + # pkg:gem/activerecord#lib/active_record/relation.rb:423 def many?; end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/relation.rb#71 + # pkg:gem/activerecord#lib/active_record/relation.rb:71 def model; end # Initializes new record from relation while maintaining the current @@ -33784,7 +33799,7 @@ class ActiveRecord::Relation # user = users.new { |user| user.name = 'Oscar' } # user.name # => Oscar # - # source://activerecord//lib/active_record/relation.rb#125 + # pkg:gem/activerecord#lib/active_record/relation.rb:125 def new(attributes = T.unsafe(nil), &block); end # Returns true if there are no records. @@ -33796,7 +33811,7 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#388 + # pkg:gem/activerecord#lib/active_record/relation.rb:388 def none?(*args); end # Returns true if there is exactly one record. @@ -33808,34 +33823,34 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#414 + # pkg:gem/activerecord#lib/active_record/relation.rb:414 def one?(*args); end # Returns the value of attribute predicate_builder. # - # source://activerecord//lib/active_record/relation.rb#71 + # pkg:gem/activerecord#lib/active_record/relation.rb:71 def predicate_builder; end - # source://activerecord//lib/active_record/relation.rb#1341 + # pkg:gem/activerecord#lib/active_record/relation.rb:1341 def preload_associations(records); end - # source://activerecord//lib/active_record/relation.rb#1284 + # pkg:gem/activerecord#lib/active_record/relation.rb:1284 def pretty_print(pp); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1298 + # pkg:gem/activerecord#lib/active_record/relation.rb:1298 def readonly?; end - # source://activerecord//lib/active_record/relation.rb#352 + # pkg:gem/activerecord#lib/active_record/relation.rb:352 def records; end # Forces reloading of relation. # - # source://activerecord//lib/active_record/relation.rb#1209 + # pkg:gem/activerecord#lib/active_record/relation.rb:1209 def reload; end - # source://activerecord//lib/active_record/relation.rb#1214 + # pkg:gem/activerecord#lib/active_record/relation.rb:1214 def reset; end # Returns true if the relation was scheduled on the background @@ -33843,10 +33858,10 @@ class ActiveRecord::Relation # # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1189 + # pkg:gem/activerecord#lib/active_record/relation.rb:1189 def scheduled?; end - # source://activerecord//lib/active_record/relation.rb#1251 + # pkg:gem/activerecord#lib/active_record/relation.rb:1251 def scope_for_create; end # Scope all queries to the current scope. @@ -33864,42 +33879,42 @@ 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#551 + # pkg:gem/activerecord#lib/active_record/relation.rb:551 def scoping(all_queries: T.unsafe(nil), &block); end # Returns size of the records. # - # source://activerecord//lib/active_record/relation.rb#363 + # pkg:gem/activerecord#lib/active_record/relation.rb:363 def size; end # Returns the value of attribute skip_preloading_value. # - # source://activerecord//lib/active_record/relation.rb#72 + # pkg:gem/activerecord#lib/active_record/relation.rb:72 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#72 + # pkg:gem/activerecord#lib/active_record/relation.rb:72 def skip_preloading_value=(_arg0); end # Returns the value of attribute table. # - # source://activerecord//lib/active_record/relation.rb#71 + # pkg:gem/activerecord#lib/active_record/relation.rb:71 def table; end - # source://activerecord//lib/active_record/relation.rb#1177 + # pkg:gem/activerecord#lib/active_record/relation.rb:1177 def then(&block); end # Converts relation objects to Array. # - # source://activerecord//lib/active_record/relation.rb#350 + # pkg:gem/activerecord#lib/active_record/relation.rb:350 def to_a; end # Converts relation objects to Array. # - # source://activerecord//lib/active_record/relation.rb#347 + # pkg:gem/activerecord#lib/active_record/relation.rb:347 def to_ary; end # Returns sql statement for the relation. @@ -33907,7 +33922,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#1230 + # pkg:gem/activerecord#lib/active_record/relation.rb:1230 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. @@ -33934,13 +33949,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#991 + # pkg:gem/activerecord#lib/active_record/relation.rb:991 def touch_all(*names, time: T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#641 + # pkg:gem/activerecord#lib/active_record/relation.rb:641 def update(id = T.unsafe(nil), attributes); end - # source://activerecord//lib/active_record/relation.rb#649 + # pkg:gem/activerecord#lib/active_record/relation.rb:649 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 @@ -33974,7 +33989,7 @@ class ActiveRecord::Relation # # @raise [ArgumentError] # - # source://activerecord//lib/active_record/relation.rb#598 + # pkg:gem/activerecord#lib/active_record/relation.rb:598 def update_all(updates); end # Updates the counters of the records in the current relation. @@ -33990,7 +34005,7 @@ 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#948 + # pkg:gem/activerecord#lib/active_record/relation.rb:948 def update_counters(counters); end # Updates or inserts (upserts) a single record into the database in a @@ -34000,7 +34015,7 @@ class ActiveRecord::Relation # # See #upsert_all for documentation. # - # source://activerecord//lib/active_record/relation.rb#820 + # pkg:gem/activerecord#lib/active_record/relation.rb:820 def upsert(attributes, **kwargs); end # Updates or inserts (upserts) multiple records into the database in a @@ -34112,13 +34127,13 @@ class ActiveRecord::Relation # # Book.find_by(isbn: "1").title # => "Eloquent Ruby" # - # source://activerecord//lib/active_record/relation.rb#932 + # pkg:gem/activerecord#lib/active_record/relation.rb:932 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 - # source://activerecord//lib/active_record/relation.rb#1302 + # pkg:gem/activerecord#lib/active_record/relation.rb:1302 def values; end - # source://activerecord//lib/active_record/relation.rb#1306 + # pkg:gem/activerecord#lib/active_record/relation.rb:1306 def values_for_queries; end # Returns a hash of where conditions. @@ -34126,170 +34141,170 @@ class ActiveRecord::Relation # User.where(name: 'Oscar').where_values_hash # # => {name: "Oscar"} # - # source://activerecord//lib/active_record/relation.rb#1247 + # pkg:gem/activerecord#lib/active_record/relation.rb:1247 def where_values_hash(relation_table_name = T.unsafe(nil)); end protected - # source://activerecord//lib/active_record/relation.rb#1351 + # pkg:gem/activerecord#lib/active_record/relation.rb:1351 def load_records(records); end private - # source://activerecord//lib/active_record/relation.rb#1377 + # pkg:gem/activerecord#lib/active_record/relation.rb:1377 def _create(attributes, &block); end - # source://activerecord//lib/active_record/relation.rb#1381 + # pkg:gem/activerecord#lib/active_record/relation.rb:1381 def _create!(attributes, &block); end - # source://activerecord//lib/active_record/relation.rb#1416 + # pkg:gem/activerecord#lib/active_record/relation.rb:1416 def _increment_attribute(attribute, value = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#1373 + # pkg:gem/activerecord#lib/active_record/relation.rb:1373 def _new(attributes, &block); end - # source://activerecord//lib/active_record/relation.rb#1385 + # pkg:gem/activerecord#lib/active_record/relation.rb:1385 def _scoping(scope, registry, all_queries = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#1401 + # pkg:gem/activerecord#lib/active_record/relation.rb:1401 def _substitute_values(values); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1357 + # pkg:gem/activerecord#lib/active_record/relation.rb:1357 def already_in_scope?(registry); end - # source://activerecord//lib/active_record/relation.rb#453 + # pkg:gem/activerecord#lib/active_record/relation.rb:453 def compute_cache_key(timestamp_column = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#482 + # pkg:gem/activerecord#lib/active_record/relation.rb:482 def compute_cache_version(timestamp_column); end - # source://activerecord//lib/active_record/relation.rb#1365 + # pkg:gem/activerecord#lib/active_record/relation.rb:1365 def current_scope_restoring_block(&block); end - # source://activerecord//lib/active_record/relation.rb#1447 + # pkg:gem/activerecord#lib/active_record/relation.rb:1447 def exec_main_query(async: T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#1423 + # pkg:gem/activerecord#lib/active_record/relation.rb:1423 def exec_queries(&block); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1361 + # pkg:gem/activerecord#lib/active_record/relation.rb:1361 def global_scope?(registry); end - # source://activerecord//lib/active_record/relation.rb#97 + # pkg:gem/activerecord#lib/active_record/relation.rb:97 def initialize_copy(other); end - # source://activerecord//lib/active_record/relation.rb#1479 + # pkg:gem/activerecord#lib/active_record/relation.rb:1479 def instantiate_records(rows, &block); end - # source://activerecord//lib/active_record/relation.rb#1522 + # pkg:gem/activerecord#lib/active_record/relation.rb:1522 def limited_count; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1498 + # pkg:gem/activerecord#lib/active_record/relation.rb:1498 def references_eager_loaded_tables?; end - # source://activerecord//lib/active_record/relation.rb#1490 + # pkg:gem/activerecord#lib/active_record/relation.rb:1490 def skip_query_cache_if_necessary(&block); end - # source://activerecord//lib/active_record/relation.rb#1515 + # pkg:gem/activerecord#lib/active_record/relation.rb:1515 def tables_in_string(string); end end -# source://activerecord//lib/active_record/relation.rb#62 +# pkg:gem/activerecord#lib/active_record/relation.rb:62 ActiveRecord::Relation::CLAUSE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation.rb#6 +# pkg:gem/activerecord#lib/active_record/relation.rb:6 class ActiveRecord::Relation::ExplainProxy # @return [ExplainProxy] a new instance of ExplainProxy # - # source://activerecord//lib/active_record/relation.rb#7 + # pkg:gem/activerecord#lib/active_record/relation.rb:7 def initialize(relation, options); end - # source://activerecord//lib/active_record/relation.rb#16 + # pkg:gem/activerecord#lib/active_record/relation.rb:16 def average(column_name); end - # source://activerecord//lib/active_record/relation.rb#20 + # pkg:gem/activerecord#lib/active_record/relation.rb:20 def count(column_name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#24 + # pkg:gem/activerecord#lib/active_record/relation.rb:24 def first(limit = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#12 + # pkg:gem/activerecord#lib/active_record/relation.rb:12 def inspect; end - # source://activerecord//lib/active_record/relation.rb#28 + # pkg:gem/activerecord#lib/active_record/relation.rb:28 def last(limit = T.unsafe(nil)); end - # source://activerecord//lib/active_record/relation.rb#32 + # pkg:gem/activerecord#lib/active_record/relation.rb:32 def maximum(column_name); end - # source://activerecord//lib/active_record/relation.rb#36 + # pkg:gem/activerecord#lib/active_record/relation.rb:36 def minimum(column_name); end - # source://activerecord//lib/active_record/relation.rb#40 + # pkg:gem/activerecord#lib/active_record/relation.rb:40 def pluck(*column_names); end - # source://activerecord//lib/active_record/relation.rb#44 + # pkg:gem/activerecord#lib/active_record/relation.rb:44 def sum(identity_or_column = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/relation.rb#49 + # pkg:gem/activerecord#lib/active_record/relation.rb:49 def exec_explain(&block); end end -# source://activerecord//lib/active_record/relation/from_clause.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/from_clause.rb:8 def initialize(value, name); end - # source://activerecord//lib/active_record/relation/from_clause.rb#21 + # pkg:gem/activerecord#lib/active_record/relation/from_clause.rb:21 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/from_clause.rb#17 + # pkg:gem/activerecord#lib/active_record/relation/from_clause.rb:17 def empty?; end - # source://activerecord//lib/active_record/relation/from_clause.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/from_clause.rb:6 def value; end class << self - # source://activerecord//lib/active_record/relation/from_clause.rb#25 + # pkg:gem/activerecord#lib/active_record/relation/from_clause.rb:25 def empty; end end end -# source://activerecord//lib/active_record/relation/merger.rb#7 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:10 def initialize(relation, hash); end # Returns the value of attribute hash. # - # source://activerecord//lib/active_record/relation/merger.rb#8 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:8 def hash; end - # source://activerecord//lib/active_record/relation/merger.rb#17 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:17 def merge; end # Applying values to a relation has some side effects. E.g. @@ -34297,250 +34312,250 @@ class ActiveRecord::Relation::HashMerger # build a relation to merge in rather than directly merging # the values. # - # source://activerecord//lib/active_record/relation/merger.rb#25 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:25 def other; end # Returns the value of attribute relation. # - # source://activerecord//lib/active_record/relation/merger.rb#8 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:8 def relation; end end -# source://activerecord//lib/active_record/relation.rb#63 +# pkg:gem/activerecord#lib/active_record/relation.rb:63 ActiveRecord::Relation::INVALID_METHODS_FOR_UPDATE_AND_DELETE_ALL = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation.rb#54 +# pkg:gem/activerecord#lib/active_record/relation.rb:54 ActiveRecord::Relation::MULTI_VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation/merger.rb#43 +# pkg:gem/activerecord#lib/active_record/relation/merger.rb:43 class ActiveRecord::Relation::Merger # @return [Merger] a new instance of Merger # - # source://activerecord//lib/active_record/relation/merger.rb#46 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:46 def initialize(relation, other); end - # source://activerecord//lib/active_record/relation/merger.rb#58 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:58 def merge; end # Returns the value of attribute other. # - # source://activerecord//lib/active_record/relation/merger.rb#44 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:44 def other; end # Returns the value of attribute relation. # - # source://activerecord//lib/active_record/relation/merger.rb#44 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:44 def relation; end # Returns the value of attribute values. # - # source://activerecord//lib/active_record/relation/merger.rb#44 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:44 def values; end private - # source://activerecord//lib/active_record/relation/merger.rb#176 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:176 def merge_clauses; end - # source://activerecord//lib/active_record/relation/merger.rb#117 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:117 def merge_joins; end - # source://activerecord//lib/active_record/relation/merger.rb#155 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:155 def merge_multi_values; end - # source://activerecord//lib/active_record/relation/merger.rb#136 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:136 def merge_outer_joins; end - # source://activerecord//lib/active_record/relation/merger.rb#96 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:96 def merge_preloads; end - # source://activerecord//lib/active_record/relation/merger.rb#84 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:84 def merge_select_values; end - # source://activerecord//lib/active_record/relation/merger.rb#168 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:168 def merge_single_values; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/merger.rb#186 + # pkg:gem/activerecord#lib/active_record/relation/merger.rb:186 def replace_from_clause?; end end -# source://activerecord//lib/active_record/relation/merger.rb#52 +# pkg:gem/activerecord#lib/active_record/relation/merger.rb:52 ActiveRecord::Relation::Merger::NORMAL_VALUES = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation/query_attribute.rb#7 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:8 def initialize(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/query_attribute.rb#55 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:55 def ==(other); end - # source://activerecord//lib/active_record/relation/query_attribute.rb#58 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:58 def eql?(other); end - # source://activerecord//lib/active_record/relation/query_attribute.rb#60 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:60 def hash; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_attribute.rb#44 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:44 def infinite?; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_attribute.rb#37 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:37 def nil?; end - # source://activerecord//lib/active_record/relation/query_attribute.rb#24 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:24 def type_cast(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_attribute.rb#48 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:48 def unboundable?; end - # source://activerecord//lib/active_record/relation/query_attribute.rb#28 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:28 def value_for_database; end - # source://activerecord//lib/active_record/relation/query_attribute.rb#33 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:33 def with_cast_value(value); end private # @return [Boolean] # - # source://activerecord//lib/active_record/relation/query_attribute.rb#65 + # pkg:gem/activerecord#lib/active_record/relation/query_attribute.rb:65 def infinity?(value); end end -# source://activerecord//lib/active_record/relation.rb#59 +# pkg:gem/activerecord#lib/active_record/relation.rb:59 ActiveRecord::Relation::SINGLE_VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation.rb#1331 +# pkg:gem/activerecord#lib/active_record/relation.rb:1331 class ActiveRecord::Relation::StrictLoadingScope class << self # @return [Boolean] # - # source://activerecord//lib/active_record/relation.rb#1332 + # pkg:gem/activerecord#lib/active_record/relation.rb:1332 def empty_scope?; end - # source://activerecord//lib/active_record/relation.rb#1336 + # pkg:gem/activerecord#lib/active_record/relation.rb:1336 def strict_loading_value; end end end -# source://activerecord//lib/active_record/relation.rb#65 +# pkg:gem/activerecord#lib/active_record/relation.rb:65 ActiveRecord::Relation::VALUE_METHODS = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/relation/where_clause.rb#7 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:10 def initialize(predicates); end - # source://activerecord//lib/active_record/relation/where_clause.rb#14 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:14 def +(other); end - # source://activerecord//lib/active_record/relation/where_clause.rb#18 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:18 def -(other); end - # source://activerecord//lib/active_record/relation/where_clause.rb#75 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:75 def ==(other); end - # source://activerecord//lib/active_record/relation/where_clause.rb#8 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:70 def ast; end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/where_clause.rb#99 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:99 def contradiction?; end - # source://activerecord//lib/active_record/relation/where_clause.rb#8 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:8 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/relation/where_clause.rb#79 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:79 def eql?(other); end - # source://activerecord//lib/active_record/relation/where_clause.rb#32 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:32 def except(*columns); end - # source://activerecord//lib/active_record/relation/where_clause.rb#110 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:110 def extract_attributes; end - # source://activerecord//lib/active_record/relation/where_clause.rb#81 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:81 def hash; end - # source://activerecord//lib/active_record/relation/where_clause.rb#85 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:85 def invert; end - # source://activerecord//lib/active_record/relation/where_clause.rb#26 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:26 def merge(other); end - # source://activerecord//lib/active_record/relation/where_clause.rb#36 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:36 def or(other); end - # source://activerecord//lib/active_record/relation/where_clause.rb#61 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:117 def predicates; end - # source://activerecord//lib/active_record/relation/where_clause.rb#119 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:119 def referenced_columns; end private - # source://activerecord//lib/active_record/relation/where_clause.rb#126 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:126 def each_attributes; end - # source://activerecord//lib/active_record/relation/where_clause.rb#149 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:149 def equalities(predicates, equality_only); end # @return [Boolean] # - # source://activerecord//lib/active_record/relation/where_clause.rb#163 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:163 def equality_node?(node); end - # source://activerecord//lib/active_record/relation/where_clause.rb#178 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:178 def except_predicates(columns); end - # source://activerecord//lib/active_record/relation/where_clause.rb#136 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:136 def extract_attribute(node); end - # source://activerecord//lib/active_record/relation/where_clause.rb#208 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:208 def extract_node_value(node); end - # source://activerecord//lib/active_record/relation/where_clause.rb#167 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:167 def invert_predicate(node); end - # source://activerecord//lib/active_record/relation/where_clause.rb#204 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:204 def non_empty_predicates; end - # source://activerecord//lib/active_record/relation/where_clause.rb#193 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:193 def predicates_with_wrapped_sql_literals; end class << self - # source://activerecord//lib/active_record/relation/where_clause.rb#95 + # pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:95 def empty; end end end -# source://activerecord//lib/active_record/relation/where_clause.rb#203 +# pkg:gem/activerecord#lib/active_record/relation/where_clause.rb:203 ActiveRecord::Relation::WhereClause::ARRAY_WITH_EMPTY_STRING = T.let(T.unsafe(nil), Array) # = Active Record \Result @@ -34580,42 +34595,42 @@ 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#41 +# pkg:gem/activerecord#lib/active_record/result.rb:41 class ActiveRecord::Result include ::Enumerable # @return [Result] a new instance of Result # - # source://activerecord//lib/active_record/result.rb#107 + # pkg:gem/activerecord#lib/active_record/result.rb:107 def initialize(columns, rows, column_types = T.unsafe(nil), affected_rows: T.unsafe(nil)); end - # source://activerecord//lib/active_record/result.rb#155 + # pkg:gem/activerecord#lib/active_record/result.rb:155 def [](idx); end # Returns the value of attribute affected_rows. # - # source://activerecord//lib/active_record/result.rb#97 + # pkg:gem/activerecord#lib/active_record/result.rb:97 def affected_rows; end - # source://activerecord//lib/active_record/result.rb#186 + # pkg:gem/activerecord#lib/active_record/result.rb:186 def cancel; end - # source://activerecord//lib/active_record/result.rb#190 + # pkg:gem/activerecord#lib/active_record/result.rb:190 def cast_values(type_overrides = T.unsafe(nil)); end - # source://activerecord//lib/active_record/result.rb#228 + # pkg:gem/activerecord#lib/active_record/result.rb:228 def column_indexes; end # Returns the +ActiveRecord::Type+ type of all columns. # Note that not all database adapters return the result types, # so the hash may be empty. # - # source://activerecord//lib/active_record/result.rb#167 + # pkg:gem/activerecord#lib/active_record/result.rb:167 def column_types; end # Returns the value of attribute columns. # - # source://activerecord//lib/active_record/result.rb#97 + # pkg:gem/activerecord#lib/active_record/result.rb:97 def columns; end # Calls the given block once for each element in row collection, passing @@ -34625,117 +34640,117 @@ class ActiveRecord::Result # # Returns an +Enumerator+ if no block is given. # - # source://activerecord//lib/active_record/result.rb#135 + # pkg:gem/activerecord#lib/active_record/result.rb:135 def each(&block); end # Returns true if there are no records, otherwise false. # # @return [Boolean] # - # source://activerecord//lib/active_record/result.rb#144 + # pkg:gem/activerecord#lib/active_record/result.rb:144 def empty?; end - # source://activerecord//lib/active_record/result.rb#221 + # pkg:gem/activerecord#lib/active_record/result.rb:221 def freeze; end # Returns true if this result set includes the column named +name+ # # @return [Boolean] # - # source://activerecord//lib/active_record/result.rb#120 + # pkg:gem/activerecord#lib/active_record/result.rb:120 def includes_column?(name); end - # source://activerecord//lib/active_record/result.rb#241 + # pkg:gem/activerecord#lib/active_record/result.rb:241 def indexed_rows; end # Returns the last record from the rows collection. # - # source://activerecord//lib/active_record/result.rb#160 + # pkg:gem/activerecord#lib/active_record/result.rb:160 def last(n = T.unsafe(nil)); end # Returns the number of elements in the rows array. # - # source://activerecord//lib/active_record/result.rb#125 + # pkg:gem/activerecord#lib/active_record/result.rb:125 def length; end - # source://activerecord//lib/active_record/result.rb#182 + # pkg:gem/activerecord#lib/active_record/result.rb:182 def result; end # Returns the value of attribute rows. # - # source://activerecord//lib/active_record/result.rb#97 + # pkg:gem/activerecord#lib/active_record/result.rb:97 def rows; end # Returns an array of hashes representing each row record. # - # source://activerecord//lib/active_record/result.rb#153 + # pkg:gem/activerecord#lib/active_record/result.rb:153 def to_a; end # Returns an array of hashes representing each row record. # - # source://activerecord//lib/active_record/result.rb#149 + # pkg:gem/activerecord#lib/active_record/result.rb:149 def to_ary; end private - # source://activerecord//lib/active_record/result.rb#249 + # pkg:gem/activerecord#lib/active_record/result.rb:249 def column_type(name, index, type_overrides); end - # source://activerecord//lib/active_record/result.rb#261 + # pkg:gem/activerecord#lib/active_record/result.rb:261 def hash_rows; end - # source://activerecord//lib/active_record/result.rb#216 + # pkg:gem/activerecord#lib/active_record/result.rb:216 def initialize_copy(other); end class << self - # source://activerecord//lib/active_record/result.rb#99 + # pkg:gem/activerecord#lib/active_record/result.rb:99 def empty(async: T.unsafe(nil), affected_rows: T.unsafe(nil)); end end end -# source://activerecord//lib/active_record/result.rb#269 +# pkg:gem/activerecord#lib/active_record/result.rb:269 ActiveRecord::Result::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://activerecord//lib/active_record/result.rb#270 +# pkg:gem/activerecord#lib/active_record/result.rb:270 ActiveRecord::Result::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://activerecord//lib/active_record/result.rb#44 +# pkg:gem/activerecord#lib/active_record/result.rb:44 class ActiveRecord::Result::IndexedRow # @return [IndexedRow] a new instance of IndexedRow # - # source://activerecord//lib/active_record/result.rb#45 + # pkg:gem/activerecord#lib/active_record/result.rb:45 def initialize(column_indexes, row); end - # source://activerecord//lib/active_record/result.rb#63 + # pkg:gem/activerecord#lib/active_record/result.rb:63 def ==(other); end - # source://activerecord//lib/active_record/result.rb#85 + # pkg:gem/activerecord#lib/active_record/result.rb:85 def [](column); end - # source://activerecord//lib/active_record/result.rb#55 + # pkg:gem/activerecord#lib/active_record/result.rb:55 def each_key(&block); end - # source://activerecord//lib/active_record/result.rb#75 + # pkg:gem/activerecord#lib/active_record/result.rb:75 def fetch(column); end # @return [Boolean] # - # source://activerecord//lib/active_record/result.rb#71 + # pkg:gem/activerecord#lib/active_record/result.rb:71 def key?(column); end - # source://activerecord//lib/active_record/result.rb#59 + # pkg:gem/activerecord#lib/active_record/result.rb:59 def keys; end - # source://activerecord//lib/active_record/result.rb#53 + # pkg:gem/activerecord#lib/active_record/result.rb:53 def length; end - # source://activerecord//lib/active_record/result.rb#50 + # pkg:gem/activerecord#lib/active_record/result.rb:50 def size; end - # source://activerecord//lib/active_record/result.rb#91 + # pkg:gem/activerecord#lib/active_record/result.rb:91 def to_h; end - # source://activerecord//lib/active_record/result.rb#94 + # pkg:gem/activerecord#lib/active_record/result.rb:94 def to_hash; end end @@ -34768,7 +34783,7 @@ end # end # end # -# source://activerecord//lib/active_record/errors.rb#442 +# pkg:gem/activerecord#lib/active_record/errors.rb:442 class ActiveRecord::Rollback < ::ActiveRecord::ActiveRecordError; end # This is a thread locals registry for Active Record. For example: @@ -34777,129 +34792,129 @@ 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 +# pkg:gem/activerecord#lib/active_record/runtime_registry.rb:9 module ActiveRecord::RuntimeRegistry extend ::ActiveRecord::RuntimeRegistry - # source://activerecord//lib/active_record/runtime_registry.rb#32 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:32 def call(name, start, finish, id, payload); end - # source://activerecord//lib/active_record/runtime_registry.rb#41 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:41 def record(query_name, runtime, cached: T.unsafe(nil), async: T.unsafe(nil), lock_wait: T.unsafe(nil)); end - # source://activerecord//lib/active_record/runtime_registry.rb#59 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:59 def reset; end - # source://activerecord//lib/active_record/runtime_registry.rb#55 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:55 def stats; end end -# source://activerecord//lib/active_record/runtime_registry.rb#10 +# pkg:gem/activerecord#lib/active_record/runtime_registry.rb:10 class ActiveRecord::RuntimeRegistry::Stats # @return [Stats] a new instance of Stats # - # source://activerecord//lib/active_record/runtime_registry.rb#13 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:13 def initialize; end # Returns the value of attribute async_sql_runtime. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def async_sql_runtime; end # Sets the attribute async_sql_runtime # # @param value the value to set the attribute async_sql_runtime to. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def async_sql_runtime=(_arg0); end # Returns the value of attribute cached_queries_count. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def cached_queries_count; end # Sets the attribute cached_queries_count # # @param value the value to set the attribute cached_queries_count to. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def cached_queries_count=(_arg0); end # Returns the value of attribute queries_count. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def queries_count; end # Sets the attribute queries_count # # @param value the value to set the attribute queries_count to. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def queries_count=(_arg0); end # @return [Stats] a new instance of Stats # - # source://activerecord//lib/active_record/runtime_registry.rb#27 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:27 def reset; end - # source://activerecord//lib/active_record/runtime_registry.rb#20 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:20 def reset_runtimes; end # Returns the value of attribute sql_runtime. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def sql_runtime; end # Sets the attribute sql_runtime # # @param value the value to set the attribute sql_runtime to. # - # source://activerecord//lib/active_record/runtime_registry.rb#11 + # pkg:gem/activerecord#lib/active_record/runtime_registry.rb:11 def sql_runtime=(_arg0); end end # Raised when a statement produces an SQL warning. # -# source://activerecord//lib/active_record/errors.rb#312 +# pkg:gem/activerecord#lib/active_record/errors.rb:312 class ActiveRecord::SQLWarning < ::ActiveRecord::AdapterError # @return [SQLWarning] a new instance of SQLWarning # - # source://activerecord//lib/active_record/errors.rb#316 + # pkg:gem/activerecord#lib/active_record/errors.rb:316 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#313 + # pkg:gem/activerecord#lib/active_record/errors.rb:313 def code; end # Returns the value of attribute level. # - # source://activerecord//lib/active_record/errors.rb#313 + # pkg:gem/activerecord#lib/active_record/errors.rb:313 def level; end # Returns the value of attribute sql. # - # source://activerecord//lib/active_record/errors.rb#314 + # pkg:gem/activerecord#lib/active_record/errors.rb:314 def sql; end # Sets the attribute sql # # @param value the value to set the attribute sql to. # - # source://activerecord//lib/active_record/errors.rb#314 + # pkg:gem/activerecord#lib/active_record/errors.rb:314 def sql=(_arg0); end end -# source://activerecord//lib/active_record/sanitization.rb#4 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/sanitization.rb:7 module ActiveRecord::Sanitization::ClassMethods - # source://activerecord//lib/active_record/sanitization.rb#185 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:185 def disallow_raw_sql!(args, permit: T.unsafe(nil)); end # Accepts an array of SQL conditions and sanitizes them into a valid @@ -34928,7 +34943,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_conditions(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord//lib/active_record/sanitization.rb#41 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:41 def sanitize_sql(condition); end # Accepts an array of conditions. The array has each value @@ -34958,7 +34973,7 @@ module ActiveRecord::Sanitization::ClassMethods # # Before using this method, please consider if Arel.sql would be better for your use-case # - # source://activerecord//lib/active_record/sanitization.rb#166 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:166 def sanitize_sql_array(ary); end # Accepts an array or hash of SQL conditions and sanitizes them into @@ -34987,7 +35002,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_assignment(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord//lib/active_record/sanitization.rb#68 + # pkg:gem/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 @@ -35016,7 +35031,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_conditions(["role = ?", 0]) # # => "role = '0'" # - # source://activerecord//lib/active_record/sanitization.rb#33 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:33 def sanitize_sql_for_conditions(condition); end # Accepts an array, or string of SQL conditions and sanitizes @@ -35028,7 +35043,7 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_for_order("id ASC") # # => "id ASC" # - # source://activerecord//lib/active_record/sanitization.rb#84 + # pkg:gem/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. @@ -35036,7 +35051,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 + # pkg:gem/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 @@ -35055,24 +35070,24 @@ module ActiveRecord::Sanitization::ClassMethods # sanitize_sql_like("snake_cased_string", "!") # # => "snake!_cased!_string" # - # source://activerecord//lib/active_record/sanitization.rb#132 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:132 def sanitize_sql_like(string, escape_character = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/sanitization.rb#235 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:235 def quote_bound_value(connection, value); end - # source://activerecord//lib/active_record/sanitization.rb#249 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:249 def raise_if_bind_arity_mismatch(statement, expected, provided); end - # source://activerecord//lib/active_record/sanitization.rb#213 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:213 def replace_bind_variable(connection, value); end - # source://activerecord//lib/active_record/sanitization.rb#205 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:205 def replace_bind_variables(connection, statement, values); end - # source://activerecord//lib/active_record/sanitization.rb#221 + # pkg:gem/activerecord#lib/active_record/sanitization.rb:221 def replace_named_bind_variables(connection, statement, bind_vars); end end @@ -35105,28 +35120,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 +# pkg:gem/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#70 + # pkg:gem/activerecord#lib/active_record/schema.rb:70 def [](version); end end end -# source://activerecord//lib/active_record/schema.rb#33 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/schema.rb:54 def define(info, &block); end end -# source://activerecord//lib/active_record/schema.rb#36 +# pkg:gem/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 @@ -35141,7 +35156,7 @@ module ActiveRecord::Schema::Definition::ClassMethods # ... # end # - # source://activerecord//lib/active_record/schema.rb#49 + # pkg:gem/activerecord#lib/active_record/schema.rb:49 def define(info = T.unsafe(nil), &block); end end @@ -35150,200 +35165,200 @@ 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 +# pkg:gem/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#74 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:74 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 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:29 def chk_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#29 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:29 def chk_ignore_pattern=(val); end - # source://activerecord//lib/active_record/schema_dumper.rb#60 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:60 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 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:35 def excl_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#35 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:23 def fk_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#23 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:17 def ignore_tables; end - # source://activerecord//lib/active_record/schema_dumper.rb#17 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:41 def unique_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#41 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:41 def unique_ignore_pattern=(val); end private - # source://activerecord//lib/active_record/schema_dumper.rb#284 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:284 def check_constraints_in_create(table, stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#310 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:310 def check_parts(check); end - # source://activerecord//lib/active_record/schema_dumper.rb#92 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:92 def define_params; end # extensions are only supported by PostgreSQL # - # source://activerecord//lib/active_record/schema_dumper.rb#119 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:119 def extensions(stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#317 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:317 def foreign_keys(table, stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#346 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:346 def format_colspec(colspec); end - # source://activerecord//lib/active_record/schema_dumper.rb#356 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:356 def format_index_parts(options); end - # source://activerecord//lib/active_record/schema_dumper.rb#352 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:352 def format_options(options); end # turns 20170404131909 into "2017_04_04_131909" # - # source://activerecord//lib/active_record/schema_dumper.rb#86 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:86 def formatted_version; end - # source://activerecord//lib/active_record/schema_dumper.rb#96 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:96 def header(stream); end # @return [Boolean] # - # source://activerecord//lib/active_record/schema_dumper.rb#378 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:378 def ignored?(table_name); end - # source://activerecord//lib/active_record/schema_dumper.rb#265 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:265 def index_parts(index); end # Keep it for indexing materialized views # - # source://activerecord//lib/active_record/schema_dumper.rb#232 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:232 def indexes(table, stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#244 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:244 def indexes_in_create(table, stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#364 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:364 def relation_name(name); end - # source://activerecord//lib/active_record/schema_dumper.rb#368 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:368 def remove_prefix_and_suffix(table); end # schemas are only supported by PostgreSQL # - # source://activerecord//lib/active_record/schema_dumper.rb#127 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:127 def schemas(stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#158 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:158 def table(table, stream); end # Returns the value of attribute table_name. # - # source://activerecord//lib/active_record/schema_dumper.rb#72 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:72 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#72 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:72 def table_name=(_arg0); end - # source://activerecord//lib/active_record/schema_dumper.rb#134 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:134 def tables(stream); end - # source://activerecord//lib/active_record/schema_dumper.rb#114 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:114 def trailer(stream); end # (enum) types are only supported by PostgreSQL # - # source://activerecord//lib/active_record/schema_dumper.rb#123 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:123 def types(stream); end # virtual tables are only supported by SQLite # - # source://activerecord//lib/active_record/schema_dumper.rb#131 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:131 def virtual_tables(stream); end class << self - # source://activerecord//lib/active_record/schema_dumper.rb#29 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:29 def chk_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#29 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:29 def chk_ignore_pattern=(val); end - # source://activerecord//lib/active_record/schema_dumper.rb#44 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:44 def dump(pool = T.unsafe(nil), stream = T.unsafe(nil), config = T.unsafe(nil)); end - # source://activerecord//lib/active_record/schema_dumper.rb#35 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:35 def excl_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#35 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:35 def excl_ignore_pattern=(val); end - # source://activerecord//lib/active_record/schema_dumper.rb#23 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:23 def fk_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#23 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:23 def fk_ignore_pattern=(val); end - # source://activerecord//lib/active_record/schema_dumper.rb#17 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:17 def ignore_tables; end - # source://activerecord//lib/active_record/schema_dumper.rb#17 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:17 def ignore_tables=(val); end - # source://activerecord//lib/active_record/schema_dumper.rb#41 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:41 def unique_ignore_pattern; end - # source://activerecord//lib/active_record/schema_dumper.rb#41 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:41 def unique_ignore_pattern=(val); end private - # source://activerecord//lib/active_record/schema_dumper.rb#52 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:52 def generate_options(config); end - # source://activerecord//lib/active_record/schema_dumper.rb#11 + # pkg:gem/activerecord#lib/active_record/schema_dumper.rb:11 def new(*_arg0); end end end @@ -35353,66 +35368,66 @@ 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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:14 def initialize(pool); end # Returns the value of attribute arel_table. # - # source://activerecord//lib/active_record/schema_migration.rb#12 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:12 def arel_table; end - # source://activerecord//lib/active_record/schema_migration.rb#91 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:91 def count; end - # source://activerecord//lib/active_record/schema_migration.rb#53 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:53 def create_table; end - # source://activerecord//lib/active_record/schema_migration.rb#19 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:19 def create_version(version); end - # source://activerecord//lib/active_record/schema_migration.rb#36 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:36 def delete_all_versions; end - # source://activerecord//lib/active_record/schema_migration.rb#27 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:27 def delete_version(version); end - # source://activerecord//lib/active_record/schema_migration.rb#63 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:63 def drop_table; end - # source://activerecord//lib/active_record/schema_migration.rb#87 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:87 def integer_versions; end - # source://activerecord//lib/active_record/schema_migration.rb#69 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:69 def normalize_migration_number(number); end - # source://activerecord//lib/active_record/schema_migration.rb#73 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:73 def normalized_versions; end - # source://activerecord//lib/active_record/schema_migration.rb#45 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:45 def primary_key; end # @return [Boolean] # - # source://activerecord//lib/active_record/schema_migration.rb#100 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:100 def table_exists?; end - # source://activerecord//lib/active_record/schema_migration.rb#49 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:49 def table_name; end - # source://activerecord//lib/active_record/schema_migration.rb#77 + # pkg:gem/activerecord#lib/active_record/schema_migration.rb:77 def versions; end end -# source://activerecord//lib/active_record/schema_migration.rb#9 +# pkg:gem/activerecord#lib/active_record/schema_migration.rb:9 class ActiveRecord::SchemaMigration::NullSchemaMigration; end # = Active Record \Named \Scopes # -# source://activerecord//lib/active_record/scoping.rb#5 +# pkg:gem/activerecord#lib/active_record/scoping.rb:5 module ActiveRecord::Scoping extend ::ActiveSupport::Concern extend ::ActiveSupport::Autoload @@ -35425,10 +35440,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#53 + # pkg:gem/activerecord#lib/active_record/scoping.rb:53 def initialize_internals_callback; end - # source://activerecord//lib/active_record/scoping.rb#46 + # pkg:gem/activerecord#lib/active_record/scoping.rb:46 def populate_with_current_scope_attributes; end module GeneratedClassMethods @@ -35444,38 +35459,38 @@ module ActiveRecord::Scoping end end -# source://activerecord//lib/active_record/scoping.rb#13 +# pkg:gem/activerecord#lib/active_record/scoping.rb:13 module ActiveRecord::Scoping::ClassMethods - # source://activerecord//lib/active_record/scoping.rb#25 + # pkg:gem/activerecord#lib/active_record/scoping.rb:25 def current_scope(skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord//lib/active_record/scoping.rb#29 + # pkg:gem/activerecord#lib/active_record/scoping.rb:29 def current_scope=(scope); end - # source://activerecord//lib/active_record/scoping.rb#33 + # pkg:gem/activerecord#lib/active_record/scoping.rb:33 def global_current_scope(skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord//lib/active_record/scoping.rb#37 + # pkg:gem/activerecord#lib/active_record/scoping.rb:37 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#16 + # pkg:gem/activerecord#lib/active_record/scoping.rb:16 def scope_attributes; end # Are there attributes associated with this scope? # # @return [Boolean] # - # source://activerecord//lib/active_record/scoping.rb#21 + # pkg:gem/activerecord#lib/active_record/scoping.rb:21 def scope_attributes?; end - # source://activerecord//lib/active_record/scoping.rb#41 + # pkg:gem/activerecord#lib/active_record/scoping.rb:41 def scope_registry; end end -# source://activerecord//lib/active_record/scoping/default.rb#14 +# pkg:gem/activerecord#lib/active_record/scoping/default.rb:14 module ActiveRecord::Scoping::Default extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -35496,7 +35511,7 @@ module ActiveRecord::Scoping::Default end end -# source://activerecord//lib/active_record/scoping/default.rb#23 +# pkg:gem/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 @@ -35504,14 +35519,14 @@ module ActiveRecord::Scoping::Default::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/scoping/default.rb#62 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/scoping/default.rb:55 def scope_attributes?; end # Returns a scope for the model without the previously set scopes. @@ -35541,12 +35556,12 @@ module ActiveRecord::Scoping::Default::ClassMethods # Post.limit(10) # Fires "SELECT * FROM posts LIMIT 10" # } # - # source://activerecord//lib/active_record/scoping/default.rb#50 + # pkg:gem/activerecord#lib/active_record/scoping/default.rb:50 def unscoped(&block); end private - # source://activerecord//lib/active_record/scoping/default.rb#145 + # pkg:gem/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 @@ -35608,14 +35623,14 @@ module ActiveRecord::Scoping::Default::ClassMethods # end # end # - # source://activerecord//lib/active_record/scoping/default.rb#129 + # pkg:gem/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 + # pkg:gem/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. @@ -35626,44 +35641,44 @@ module ActiveRecord::Scoping::Default::ClassMethods # # @return [Boolean] # - # source://activerecord//lib/active_record/scoping/default.rb#177 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/scoping/default.rb:181 def ignore_default_scope?; end end -# source://activerecord//lib/active_record/scoping/default.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/scoping/default.rb:6 def scope; end end -# source://activerecord//lib/active_record/scoping/named.rb#6 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/scoping/named.rb:9 module ActiveRecord::Scoping::Named::ClassMethods # Returns an ActiveRecord::Relation scope object. # @@ -35678,15 +35693,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -35787,15 +35802,15 @@ module ActiveRecord::Scoping::Named::ClassMethods # Article.published.featured.latest_article # Article.featured.titles # - # source://activerecord//lib/active_record/scoping/named.rb#154 + # pkg:gem/activerecord#lib/active_record/scoping/named.rb:154 def scope(name, body, &block); end - # source://activerecord//lib/active_record/scoping/named.rb#36 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/scoping/named.rb:192 def singleton_method_added(name); end end @@ -35817,68 +35832,68 @@ end # # You will obtain whatever was defined in +some_new_scope+. # -# source://activerecord//lib/active_record/scoping.rb#75 +# pkg:gem/activerecord#lib/active_record/scoping.rb:75 class ActiveRecord::Scoping::ScopeRegistry # @return [ScopeRegistry] a new instance of ScopeRegistry # - # source://activerecord//lib/active_record/scoping.rb#85 + # pkg:gem/activerecord#lib/active_record/scoping.rb:85 def initialize; end - # source://activerecord//lib/active_record/scoping.rb#91 + # pkg:gem/activerecord#lib/active_record/scoping.rb:91 def current_scope(model, skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord//lib/active_record/scoping.rb#107 + # pkg:gem/activerecord#lib/active_record/scoping.rb:107 def global_current_scope(model, skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord//lib/active_record/scoping.rb#99 + # pkg:gem/activerecord#lib/active_record/scoping.rb:99 def ignore_default_scope(model, skip_inherited_scope = T.unsafe(nil)); end - # source://activerecord//lib/active_record/scoping.rb#95 + # pkg:gem/activerecord#lib/active_record/scoping.rb:95 def set_current_scope(model, value); end - # source://activerecord//lib/active_record/scoping.rb#111 + # pkg:gem/activerecord#lib/active_record/scoping.rb:111 def set_global_current_scope(model, value); end - # source://activerecord//lib/active_record/scoping.rb#103 + # pkg:gem/activerecord#lib/active_record/scoping.rb:103 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#130 + # pkg:gem/activerecord#lib/active_record/scoping.rb:130 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#117 + # pkg:gem/activerecord#lib/active_record/scoping.rb:117 def value_for(scope_type, model, skip_inherited_scope = T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/scoping.rb#77 + # pkg:gem/activerecord#lib/active_record/scoping.rb:77 def current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/scoping.rb#77 + # pkg:gem/activerecord#lib/active_record/scoping.rb:77 def global_current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/scoping.rb#77 + # pkg:gem/activerecord#lib/active_record/scoping.rb:77 def ignore_default_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/scoping.rb#80 + # pkg:gem/activerecord#lib/active_record/scoping.rb:80 def instance; end - # source://activerecord//lib/active_record/scoping.rb#77 + # pkg:gem/activerecord#lib/active_record/scoping.rb:77 def set_current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/scoping.rb#77 + # pkg:gem/activerecord#lib/active_record/scoping.rb:77 def set_global_current_scope(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/scoping.rb#77 + # pkg:gem/activerecord#lib/active_record/scoping.rb:77 def set_ignore_default_scope(*_arg0, **_arg1, &_arg2); end end end -# source://activerecord//lib/active_record/secure_password.rb#4 +# pkg:gem/activerecord#lib/active_record/secure_password.rb:4 module ActiveRecord::SecurePassword extend ::ActiveSupport::Concern include ::ActiveModel::SecurePassword @@ -35887,7 +35902,7 @@ module ActiveRecord::SecurePassword mixes_in_class_methods ::ActiveRecord::SecurePassword::ClassMethods end -# source://activerecord//lib/active_record/secure_password.rb#9 +# pkg:gem/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 @@ -35923,20 +35938,20 @@ module ActiveRecord::SecurePassword::ClassMethods # # @raise [ArgumentError] # - # source://activerecord//lib/active_record/secure_password.rb#41 + # pkg:gem/activerecord#lib/active_record/secure_password.rb:41 def authenticate_by(attributes); end end -# source://activerecord//lib/active_record/secure_token.rb#4 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/secure_token.rb:11 module ActiveRecord::SecureToken::ClassMethods - # source://activerecord//lib/active_record/secure_token.rb#61 + # pkg:gem/activerecord#lib/active_record/secure_token.rb:61 def generate_unique_secure_token(length: T.unsafe(nil)); end # Example using #has_secure_token @@ -35974,19 +35989,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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/serialization.rb:5 module ActiveRecord::Serialization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -35995,12 +36010,12 @@ module ActiveRecord::Serialization mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::ActiveModel::Naming - # source://activerecord//lib/active_record/serialization.rb#13 + # pkg:gem/activerecord#lib/active_record/serialization.rb:13 def serializable_hash(options = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/serialization.rb#25 + # pkg:gem/activerecord#lib/active_record/serialization.rb:25 def attribute_names_for_serialization; end module GeneratedClassMethods @@ -36021,17 +36036,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#552 +# pkg:gem/activerecord#lib/active_record/errors.rb:552 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#36 +# pkg:gem/activerecord#lib/active_record/errors.rb:36 class ActiveRecord::SerializationTypeMismatch < ::ActiveRecord::ActiveRecordError; end # = Active Record Signed Id # -# source://activerecord//lib/active_record/signed_id.rb#5 +# pkg:gem/activerecord#lib/active_record/signed_id.rb:5 module ActiveRecord::SignedId extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -36066,7 +36081,7 @@ module ActiveRecord::SignedId # # @raise [ArgumentError] # - # source://activerecord//lib/active_record/signed_id.rb#160 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:160 def signed_id(expires_in: T.unsafe(nil), expires_at: T.unsafe(nil), purpose: T.unsafe(nil)); end module GeneratedClassMethods @@ -36083,9 +36098,9 @@ module ActiveRecord::SignedId end end -# source://activerecord//lib/active_record/signed_id.rb#42 +# pkg:gem/activerecord#lib/active_record/signed_id.rb:42 module ActiveRecord::SignedId::ClassMethods - # source://activerecord//lib/active_record/signed_id.rb#131 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:131 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. @@ -36116,7 +36131,7 @@ module ActiveRecord::SignedId::ClassMethods # # @raise [UnknownPrimaryKey] # - # source://activerecord//lib/active_record/signed_id.rb#68 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:68 def find_signed(signed_id, purpose: T.unsafe(nil), on_rotation: T.unsafe(nil)); end # Works like find_signed, but will raise an ActiveSupport::MessageVerifier::InvalidSignature @@ -36132,58 +36147,58 @@ module ActiveRecord::SignedId::ClassMethods # User.first.destroy # User.find_signed! signed_id # => ActiveRecord::RecordNotFound # - # source://activerecord//lib/active_record/signed_id.rb#89 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:89 def find_signed!(signed_id, purpose: T.unsafe(nil), on_rotation: T.unsafe(nil)); end - # source://activerecord//lib/active_record/signed_id.rb#96 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:96 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#122 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:122 def signed_id_verifier=(verifier); end end -# source://activerecord//lib/active_record/base.rb#328 +# pkg:gem/activerecord#lib/active_record/base.rb:328 module ActiveRecord::SignedId::DeprecateSignedIdVerifierSecret - # source://activerecord//lib/active_record/base.rb#328 + # pkg:gem/activerecord#lib/active_record/base.rb:328 def signed_id_verifier_secret=(secret); end end -# source://activerecord//lib/active_record/signed_id.rb#32 +# pkg:gem/activerecord#lib/active_record/signed_id.rb:32 module ActiveRecord::SignedId::RelationMethods - # source://activerecord//lib/active_record/signed_id.rb#33 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:33 def find_signed(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/signed_id.rb#37 + # pkg:gem/activerecord#lib/active_record/signed_id.rb:37 def find_signed!(*_arg0, **_arg1, &_arg2); end end # Raised when Active Record finds multiple records but only expected one. # -# source://activerecord//lib/active_record/errors.rb#191 +# pkg:gem/activerecord#lib/active_record/errors.rb:191 class ActiveRecord::SoleRecordExceeded < ::ActiveRecord::ActiveRecordError # @return [SoleRecordExceeded] a new instance of SoleRecordExceeded # - # source://activerecord//lib/active_record/errors.rb#194 + # pkg:gem/activerecord#lib/active_record/errors.rb:194 def initialize(record = T.unsafe(nil)); end # Returns the value of attribute record. # - # source://activerecord//lib/active_record/errors.rb#192 + # pkg:gem/activerecord#lib/active_record/errors.rb:192 def record; end end -# source://activerecord//lib/active_record/relation/spawn_methods.rb#8 +# pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:8 module ActiveRecord::SpawnMethods # Removes the condition(s) specified in +skips+ from the query. # # Post.order('id asc').except(:order) # removes the order condition # Post.where('id > 10').order('id asc').except(:where) # removes the where condition but keeps the order # - # source://activerecord//lib/active_record/relation/spawn_methods.rb#59 + # pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:59 def except(*skips); end # Merges in the conditions from other, if other is an ActiveRecord::Relation. @@ -36207,10 +36222,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 + # pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:33 def merge(other, *rest); end - # source://activerecord//lib/active_record/relation/spawn_methods.rb#43 + # pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:43 def merge!(other, *rest); end # Keeps only the condition(s) specified in +onlies+ in the query, removing all others. @@ -36218,15 +36233,15 @@ module ActiveRecord::SpawnMethods # Post.order('id asc').only(:where) # keeps only the where condition, removes the order # Post.order('id asc').only(:where, :order) # keeps only the where and order conditions # - # source://activerecord//lib/active_record/relation/spawn_methods.rb#67 + # pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:67 def only(*onlies); end - # source://activerecord//lib/active_record/relation/spawn_methods.rb#9 + # pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:9 def spawn; end private - # source://activerecord//lib/active_record/relation/spawn_methods.rb#72 + # pkg:gem/activerecord#lib/active_record/relation/spawn_methods.rb:72 def relation_with(values); end end @@ -36237,21 +36252,21 @@ end # Read more about optimistic locking in ActiveRecord::Locking module # documentation. # -# source://activerecord//lib/active_record/errors.rb#378 +# pkg:gem/activerecord#lib/active_record/errors.rb:378 class ActiveRecord::StaleObjectError < ::ActiveRecord::ActiveRecordError # @return [StaleObjectError] a new instance of StaleObjectError # - # source://activerecord//lib/active_record/errors.rb#381 + # pkg:gem/activerecord#lib/active_record/errors.rb:381 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#379 + # pkg:gem/activerecord#lib/active_record/errors.rb:379 def attempted_action; end # Returns the value of attribute record. # - # source://activerecord//lib/active_record/errors.rb#379 + # pkg:gem/activerecord#lib/active_record/errors.rb:379 def record; end end @@ -36282,153 +36297,153 @@ end # # cache.execute(["my book"], ClothingItem.lease_connection) # -# source://activerecord//lib/active_record/statement_cache.rb#30 +# pkg:gem/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#143 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:143 def initialize(query_builder, bind_map, model); end - # source://activerecord//lib/active_record/statement_cache.rb#149 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:149 def execute(params, connection, async: T.unsafe(nil), &block); end class << self - # source://activerecord//lib/active_record/statement_cache.rb#136 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:136 def create(connection, callable = T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/statement_cache.rb#105 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:105 def partial_query(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/statement_cache.rb#109 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:109 def partial_query_collector; end - # source://activerecord//lib/active_record/statement_cache.rb#101 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:101 def query(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activerecord//lib/active_record/statement_cache.rb#162 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:162 def unsupported_value?(value); end end end -# source://activerecord//lib/active_record/statement_cache.rb#117 +# pkg:gem/activerecord#lib/active_record/statement_cache.rb:117 class ActiveRecord::StatementCache::BindMap # @return [BindMap] a new instance of BindMap # - # source://activerecord//lib/active_record/statement_cache.rb#118 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:118 def initialize(bound_attributes); end - # source://activerecord//lib/active_record/statement_cache.rb#129 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:129 def bind(values); end end -# source://activerecord//lib/active_record/statement_cache.rb#113 +# pkg:gem/activerecord#lib/active_record/statement_cache.rb:113 class ActiveRecord::StatementCache::Params - # source://activerecord//lib/active_record/statement_cache.rb#114 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:114 def bind; end end -# source://activerecord//lib/active_record/statement_cache.rb#46 +# pkg:gem/activerecord#lib/active_record/statement_cache.rb:46 class ActiveRecord::StatementCache::PartialQuery < ::ActiveRecord::StatementCache::Query # @return [PartialQuery] a new instance of PartialQuery # - # source://activerecord//lib/active_record/statement_cache.rb#47 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:47 def initialize(values, retryable:); end - # source://activerecord//lib/active_record/statement_cache.rb#55 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:55 def sql_for(binds, connection); end end -# source://activerecord//lib/active_record/statement_cache.rb#68 +# pkg:gem/activerecord#lib/active_record/statement_cache.rb:68 class ActiveRecord::StatementCache::PartialQueryCollector # @return [PartialQueryCollector] a new instance of PartialQueryCollector # - # source://activerecord//lib/active_record/statement_cache.rb#71 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:71 def initialize; end - # source://activerecord//lib/active_record/statement_cache.rb#76 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:76 def <<(str); end - # source://activerecord//lib/active_record/statement_cache.rb#81 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:81 def add_bind(obj, &_arg1); end - # source://activerecord//lib/active_record/statement_cache.rb#87 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:87 def add_binds(binds, proc_for_binds = T.unsafe(nil), &_arg2); end # Returns the value of attribute preparable. # - # source://activerecord//lib/active_record/statement_cache.rb#69 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:69 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#69 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:69 def preparable=(_arg0); end # Returns the value of attribute retryable. # - # source://activerecord//lib/active_record/statement_cache.rb#69 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:69 def retryable; end # Sets the attribute retryable # # @param value the value to set the attribute retryable to. # - # source://activerecord//lib/active_record/statement_cache.rb#69 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:69 def retryable=(_arg0); end - # source://activerecord//lib/active_record/statement_cache.rb#96 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:96 def value; end end -# source://activerecord//lib/active_record/statement_cache.rb#33 +# pkg:gem/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#36 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:36 def initialize(sql, retryable:); end - # source://activerecord//lib/active_record/statement_cache.rb#34 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:34 def retryable; end - # source://activerecord//lib/active_record/statement_cache.rb#41 + # pkg:gem/activerecord#lib/active_record/statement_cache.rb:41 def sql_for(binds, connection); end end -# source://activerecord//lib/active_record/statement_cache.rb#31 +# pkg:gem/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#203 +# pkg:gem/activerecord#lib/active_record/errors.rb:203 class ActiveRecord::StatementInvalid < ::ActiveRecord::AdapterError # @return [StatementInvalid] a new instance of StatementInvalid # - # source://activerecord//lib/active_record/errors.rb#204 + # pkg:gem/activerecord#lib/active_record/errors.rb:204 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#210 + # pkg:gem/activerecord#lib/active_record/errors.rb:210 def binds; end - # source://activerecord//lib/active_record/errors.rb#212 + # pkg:gem/activerecord#lib/active_record/errors.rb:212 def set_query(sql, binds); end # Returns the value of attribute sql. # - # source://activerecord//lib/active_record/errors.rb#210 + # pkg:gem/activerecord#lib/active_record/errors.rb:210 def sql; end end # StatementTimeout will be raised when statement timeout exceeded. # -# source://activerecord//lib/active_record/errors.rb#582 +# pkg:gem/activerecord#lib/active_record/errors.rb:582 class ActiveRecord::StatementTimeout < ::ActiveRecord::QueryAborted; end # = Active Record \Store @@ -36522,7 +36537,7 @@ class ActiveRecord::StatementTimeout < ::ActiveRecord::QueryAborted; end # end # end # -# source://activerecord//lib/active_record/store.rb#96 +# pkg:gem/activerecord#lib/active_record/store.rb:96 module ActiveRecord::Store extend ::ActiveSupport::Concern @@ -36530,90 +36545,90 @@ module ActiveRecord::Store private - # source://activerecord//lib/active_record/store.rb#215 + # pkg:gem/activerecord#lib/active_record/store.rb:215 def read_store_attribute(store_attribute, key); end - # source://activerecord//lib/active_record/store.rb#225 + # pkg:gem/activerecord#lib/active_record/store.rb:225 def store_accessor_for(store_attribute); end - # source://activerecord//lib/active_record/store.rb#220 + # pkg:gem/activerecord#lib/active_record/store.rb:220 def write_store_attribute(store_attribute, key, value); end end -# source://activerecord//lib/active_record/store.rb#105 +# pkg:gem/activerecord#lib/active_record/store.rb:105 module ActiveRecord::Store::ClassMethods - # source://activerecord//lib/active_record/store.rb#197 + # pkg:gem/activerecord#lib/active_record/store.rb:197 def _store_accessors_module; end - # source://activerecord//lib/active_record/store.rb#106 + # pkg:gem/activerecord#lib/active_record/store.rb:106 def store(store_attribute, options = T.unsafe(nil)); end - # source://activerecord//lib/active_record/store.rb#112 + # pkg:gem/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#205 + # pkg:gem/activerecord#lib/active_record/store.rb:205 def stored_attributes; end end -# source://activerecord//lib/active_record/store.rb#233 +# pkg:gem/activerecord#lib/active_record/store.rb:233 class ActiveRecord::Store::HashAccessor class << self - # source://activerecord//lib/active_record/store.rb#234 + # pkg:gem/activerecord#lib/active_record/store.rb:234 def get(store_object, key); end - # source://activerecord//lib/active_record/store.rb#250 + # pkg:gem/activerecord#lib/active_record/store.rb:250 def prepare(object, attribute); end - # source://activerecord//lib/active_record/store.rb#240 + # pkg:gem/activerecord#lib/active_record/store.rb:240 def read(object, attribute, key); end - # source://activerecord//lib/active_record/store.rb#245 + # pkg:gem/activerecord#lib/active_record/store.rb:245 def write(object, attribute, key, value); end end end -# source://activerecord//lib/active_record/store.rb#289 +# pkg:gem/activerecord#lib/active_record/store.rb:289 class ActiveRecord::Store::IndifferentCoder # @return [IndifferentCoder] a new instance of IndifferentCoder # - # source://activerecord//lib/active_record/store.rb#290 + # pkg:gem/activerecord#lib/active_record/store.rb:290 def initialize(attr_name, coder_or_class_name); end - # source://activerecord//lib/active_record/store.rb#299 + # pkg:gem/activerecord#lib/active_record/store.rb:299 def dump(obj); end - # source://activerecord//lib/active_record/store.rb#303 + # pkg:gem/activerecord#lib/active_record/store.rb:303 def load(yaml); end private - # source://activerecord//lib/active_record/store.rb#319 + # pkg:gem/activerecord#lib/active_record/store.rb:319 def as_regular_hash(obj); end class << self - # source://activerecord//lib/active_record/store.rb#307 + # pkg:gem/activerecord#lib/active_record/store.rb:307 def as_indifferent_hash(obj); end end end -# source://activerecord//lib/active_record/store.rb#276 +# pkg:gem/activerecord#lib/active_record/store.rb:276 class ActiveRecord::Store::IndifferentHashAccessor < ::ActiveRecord::Store::HashAccessor class << self - # source://activerecord//lib/active_record/store.rb#277 + # pkg:gem/activerecord#lib/active_record/store.rb:277 def prepare(object, attribute); end end end -# source://activerecord//lib/active_record/store.rb#262 +# pkg:gem/activerecord#lib/active_record/store.rb:262 class ActiveRecord::Store::StringKeyedHashAccessor < ::ActiveRecord::Store::HashAccessor class << self - # source://activerecord//lib/active_record/store.rb#263 + # pkg:gem/activerecord#lib/active_record/store.rb:263 def get(store_object, key); end - # source://activerecord//lib/active_record/store.rb#267 + # pkg:gem/activerecord#lib/active_record/store.rb:267 def read(object, attribute, key); end - # source://activerecord//lib/active_record/store.rb#271 + # pkg:gem/activerecord#lib/active_record/store.rb:271 def write(object, attribute, key, value); end end end @@ -36626,7 +36641,7 @@ end # guide covers solutions, such as using # {ActiveRecord::Base.includes}[rdoc-ref:QueryMethods#includes]. # -# source://activerecord//lib/active_record/errors.rb#411 +# pkg:gem/activerecord#lib/active_record/errors.rb:411 class ActiveRecord::StrictLoadingViolationError < ::ActiveRecord::ActiveRecordError; end # Raised when the single-table inheritance mechanism fails to locate the subclass @@ -36634,7 +36649,7 @@ class ActiveRecord::StrictLoadingViolationError < ::ActiveRecord::ActiveRecordEr # {ActiveRecord::Base.inheritance_column}[rdoc-ref:ModelSchema.inheritance_column] # points to). # -# source://activerecord//lib/active_record/errors.rb#17 +# pkg:gem/activerecord#lib/active_record/errors.rb:17 class ActiveRecord::SubclassNotFound < ::ActiveRecord::ActiveRecordError; end # = Active Record \Suppressor @@ -36666,141 +36681,141 @@ class ActiveRecord::SubclassNotFound < ::ActiveRecord::ActiveRecordError; end # end # end # -# source://activerecord//lib/active_record/suppressor.rb#32 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/suppressor.rb:51 def save(**_arg0); end - # source://activerecord//lib/active_record/suppressor.rb#55 + # pkg:gem/activerecord#lib/active_record/suppressor.rb:55 def save!(**_arg0); end class << self - # source://activerecord//lib/active_record/suppressor.rb#36 + # pkg:gem/activerecord#lib/active_record/suppressor.rb:36 def registry; end end end -# source://activerecord//lib/active_record/suppressor.rb#41 +# pkg:gem/activerecord#lib/active_record/suppressor.rb:41 module ActiveRecord::Suppressor::ClassMethods - # source://activerecord//lib/active_record/suppressor.rb#42 + # pkg:gem/activerecord#lib/active_record/suppressor.rb:42 def suppress(&block); end end -# source://activerecord//lib/active_record/table_metadata.rb#4 +# pkg:gem/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#5 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:5 def initialize(klass, arel_table); end - # source://activerecord//lib/active_record/table_metadata.rb#53 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:53 def aggregated_with?(aggregation_name); end # Returns the value of attribute arel_table. # - # source://activerecord//lib/active_record/table_metadata.rb#63 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:63 def arel_table; end - # source://activerecord//lib/active_record/table_metadata.rb#26 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:26 def associated_table(table_name); end - # source://activerecord//lib/active_record/table_metadata.rb#22 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:22 def associated_with(table_name); end # @return [Boolean] # - # source://activerecord//lib/active_record/table_metadata.rb#18 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:18 def has_column?(column_name); end - # source://activerecord//lib/active_record/table_metadata.rb#55 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:55 def predicate_builder; end - # source://activerecord//lib/active_record/table_metadata.rb#10 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:10 def primary_key; end - # source://activerecord//lib/active_record/table_metadata.rb#50 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:50 def reflect_on_aggregation(aggregation_name); end - # source://activerecord//lib/active_record/table_metadata.rb#14 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:14 def type(column_name); end private # Returns the value of attribute klass. # - # source://activerecord//lib/active_record/table_metadata.rb#66 + # pkg:gem/activerecord#lib/active_record/table_metadata.rb:66 def klass; end end # Raised when a model makes a query but it has not specified an associated table. # -# source://activerecord//lib/active_record/errors.rb#45 +# pkg:gem/activerecord#lib/active_record/errors.rb:45 class ActiveRecord::TableNotSpecified < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record.rb#174 +# pkg:gem/activerecord#lib/active_record.rb:174 module ActiveRecord::Tasks extend ::ActiveSupport::Autoload end -# source://activerecord//lib/active_record/tasks/abstract_tasks.rb#5 +# pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:5 class ActiveRecord::Tasks::AbstractTasks # @return [AbstractTasks] a new instance of AbstractTasks # - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#10 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:10 def initialize(db_config); end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#15 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:15 def charset; end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#23 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:23 def check_current_protected_environment!(db_config, migration_class); end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#19 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:19 def collation; end private # Returns the value of attribute configuration_hash. # - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#41 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:41 def configuration_hash; end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#51 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:51 def configuration_hash_without_database; end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#43 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:43 def connection; end # Returns the value of attribute db_config. # - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#41 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:41 def db_config; end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#47 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:47 def establish_connection(config = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#55 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:55 def run_cmd(cmd, *args, **opts); end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#59 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:59 def run_cmd_error(cmd, args); end - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#66 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:66 def with_temporary_pool(db_config, migration_class, clobber: T.unsafe(nil)); end class << self # @return [Boolean] # - # source://activerecord//lib/active_record/tasks/abstract_tasks.rb#6 + # pkg:gem/activerecord#lib/active_record/tasks/abstract_tasks.rb:6 def using_database_configurations?; end end end -# source://activerecord//lib/active_record/tasks/database_tasks.rb#7 +# pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:7 class ActiveRecord::Tasks::DatabaseNotSupported < ::StandardError; end # = Active Record \DatabaseTasks @@ -36835,84 +36850,84 @@ class ActiveRecord::Tasks::DatabaseNotSupported < ::StandardError; end # # DatabaseTasks.create_current('production') # -# source://activerecord//lib/active_record/tasks/database_tasks.rb#40 +# pkg:gem/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#484 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:484 def cache_dump_filename(db_config, schema_cache_path: T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#330 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:330 def charset(configuration, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#325 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:325 def charset_current(env_name = T.unsafe(nil), db_name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#65 + # pkg:gem/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#498 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:498 def check_schema_file(filename); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#315 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:315 def check_target_version; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#524 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:524 def clear_schema_cache(filename); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#340 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:340 def collation(configuration, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#335 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:335 def collation_current(env_name = T.unsafe(nil), db_name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#115 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:115 def create(configuration, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#127 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:127 def create_all; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#168 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:168 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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:61 def database_configuration=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#283 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:283 def db_configs_with_versions(environment = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#83 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:60 def db_dir=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#208 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:208 def drop(configuration, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#220 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:220 def drop_all; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#224 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:224 def drop_current(environment = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#430 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:430 def dump_all; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#443 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:443 def dump_schema(db_config, format = T.unsafe(nil)); end # Dumps the schema cache in YAML format for the connection into the file @@ -36920,347 +36935,347 @@ module ActiveRecord::Tasks::DatabaseTasks # ==== Examples # ActiveRecord::Tasks::DatabaseTasks.dump_schema_cache(ActiveRecord::Base.lease_connection, "tmp/schema_dump.yaml") # - # source://activerecord//lib/active_record/tasks/database_tasks.rb#520 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:520 def dump_schema_cache(conn_or_pool, filename); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#103 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:60 def env=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#91 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:60 def fixtures_path=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#141 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:141 def for_each(databases); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#374 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:374 def load_schema(db_config, format = T.unsafe(nil), file = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#490 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:490 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#506 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:506 def load_seed; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#260 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:260 def migrate(version = T.unsafe(nil), skip_initialize: T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#241 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:241 def migrate_all; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#300 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:300 def migrate_status; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#545 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:545 def migration_class; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#549 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:549 def migration_connection; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#553 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:553 def migration_connection_pool; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#87 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:60 def migrations_paths=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#107 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:107 def name; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#174 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:174 def prepare_all; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#345 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:345 def purge(configuration); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#350 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:350 def purge_all; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#354 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:354 def purge_current(environment = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#154 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:154 def raise_for_multi_db(environment = T.unsafe(nil), command:); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#412 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:412 def reconstruct_from_schema(db_config, file = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#73 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:60 def root=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#471 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:471 def schema_dump_path(db_config, format = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/active_record/tasks/database_tasks.rb#396 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:396 def schema_up_to_date?(configuration, _ = T.unsafe(nil), file = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#111 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:60 def seed_loader=(_arg0); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#135 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:135 def setup_initial_database_yaml; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#360 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:360 def structure_dump(configuration, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#367 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:367 def structure_load(configuration, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#321 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:321 def target_version; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#235 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:235 def truncate_all(environment = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#539 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:539 def with_temporary_connection(db_config, clobber: T.unsafe(nil), &block); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#528 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:528 def with_temporary_pool_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#590 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:590 def class_for_adapter(adapter); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#567 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:567 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#582 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:582 def database_adapter_for(db_config, *arguments); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#598 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:598 def each_current_configuration(environment, name = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#608 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:608 def each_current_environment(environment, &block); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#614 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:614 def each_local_configuration; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#651 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:651 def initialize_database(db_config); end # @return [Boolean] # - # source://activerecord//lib/active_record/tasks/database_tasks.rb#626 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:626 def local_database?(db_config); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#571 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:571 def resolve_configuration(configuration); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#631 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:631 def schema_sha1(file); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#635 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:635 def structure_dump_flags_for(adapter); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#643 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:643 def structure_load_flags_for(adapter); end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#228 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:228 def truncate_tables(db_config); end # @return [Boolean] # - # source://activerecord//lib/active_record/tasks/database_tasks.rb#575 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:575 def verbose?; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#558 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:558 def with_temporary_pool(db_config, clobber: T.unsafe(nil)); end class << self - # source://activerecord//lib/active_record/tasks/database_tasks.rb#50 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:50 def structure_dump_flags; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#50 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/tasks/database_tasks.rb:56 def structure_load_flags; end - # source://activerecord//lib/active_record/tasks/database_tasks.rb#56 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:5 class ActiveRecord::Tasks::MySQLDatabaseTasks < ::ActiveRecord::Tasks::AbstractTasks - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#23 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:23 def charset; end - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#6 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:6 def create; end - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#12 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:12 def drop; end - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#17 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:17 def purge; end - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#27 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:27 def structure_dump(filename, extra_flags); end - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#46 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:46 def structure_load(filename, extra_flags); end private - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#56 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:56 def creation_options; end - # source://activerecord//lib/active_record/tasks/mysql_database_tasks.rb#63 + # pkg:gem/activerecord#lib/active_record/tasks/mysql_database_tasks.rb:63 def prepare_command_options; end end -# source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#7 +# pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:7 class ActiveRecord::Tasks::PostgreSQLDatabaseTasks < ::ActiveRecord::Tasks::AbstractTasks - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#12 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:12 def create(connection_already_established = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#18 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:18 def drop; end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#23 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:23 def purge; end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#29 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:29 def structure_dump(filename, extra_flags); end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#63 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:63 def structure_load(filename, extra_flags); end private - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#72 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:72 def encoding; end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#80 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:80 def psql_env; end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#76 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:76 def public_schema_config; end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#97 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:97 def remove_sql_header_comments(filename); end - # source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#93 + # pkg:gem/activerecord#lib/active_record/tasks/postgresql_database_tasks.rb:93 def run_cmd(cmd, *args, **opts); end end -# source://activerecord//lib/active_record/tasks/postgresql_database_tasks.rb#8 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:5 class ActiveRecord::Tasks::SQLiteDatabaseTasks < ::ActiveRecord::Tasks::AbstractTasks # @return [SQLiteDatabaseTasks] a new instance of SQLiteDatabaseTasks # - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#6 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:6 def initialize(db_config, root = T.unsafe(nil)); end - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#58 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:58 def check_current_protected_environment!(db_config, migration_class); end # @raise [DatabaseAlreadyExists] # - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#11 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:11 def create; end - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#18 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:18 def drop; end - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#27 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:27 def purge; end - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#36 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:36 def structure_dump(filename, extra_flags); end - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#53 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:53 def structure_load(filename, extra_flags); end private - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#71 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:71 def establish_connection(config = T.unsafe(nil)); end # Returns the value of attribute root. # - # source://activerecord//lib/active_record/tasks/sqlite_database_tasks.rb#69 + # pkg:gem/activerecord#lib/active_record/tasks/sqlite_database_tasks.rb:69 def root; end end -# source://activerecord//lib/active_record/test_databases.rb#6 +# pkg:gem/activerecord#lib/active_record/test_databases.rb:6 module ActiveRecord::TestDatabases class << self - # source://activerecord//lib/active_record/test_databases.rb#19 + # pkg:gem/activerecord#lib/active_record/test_databases.rb:19 def create_and_load_schema(i, env_name:); end end end -# source://activerecord//lib/active_record/associations/errors.rb#177 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:177 class ActiveRecord::ThroughCantAssociateThroughHasOneOrManyReflection < ::ActiveRecord::ActiveRecordError # @return [ThroughCantAssociateThroughHasOneOrManyReflection] a new instance of ThroughCantAssociateThroughHasOneOrManyReflection # - # source://activerecord//lib/active_record/associations/errors.rb#178 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:178 def initialize(owner = T.unsafe(nil), reflection = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/associations/errors.rb#224 +# pkg:gem/activerecord#lib/active_record/associations/errors.rb:224 class ActiveRecord::ThroughNestedAssociationsAreReadonly < ::ActiveRecord::ActiveRecordError # @return [ThroughNestedAssociationsAreReadonly] a new instance of ThroughNestedAssociationsAreReadonly # - # source://activerecord//lib/active_record/associations/errors.rb#225 + # pkg:gem/activerecord#lib/active_record/associations/errors.rb:225 def initialize(owner = T.unsafe(nil), reflection = T.unsafe(nil)); end end @@ -37304,7 +37319,7 @@ end # self.skip_time_zone_conversion_for_attributes = [:written_on] # end # -# source://activerecord//lib/active_record/timestamp.rb#43 +# pkg:gem/activerecord#lib/active_record/timestamp.rb:43 module ActiveRecord::Timestamp extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -37314,47 +37329,47 @@ module ActiveRecord::Timestamp private - # source://activerecord//lib/active_record/timestamp.rb#107 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:107 def _create_record; end - # source://activerecord//lib/active_record/timestamp.rb#119 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:119 def _update_record; end - # source://activerecord//lib/active_record/timestamp.rb#155 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:170 def clear_timestamp_attributes; end - # source://activerecord//lib/active_record/timestamp.rb#125 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:159 def current_time_from_proper_timezone; end - # source://activerecord//lib/active_record/timestamp.rb#102 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:102 def init_internals; end - # source://activerecord//lib/active_record/timestamp.rb#50 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:50 def initialize_dup(other); end - # source://activerecord//lib/active_record/timestamp.rb#163 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:163 def max_updated_column_timestamp; end - # source://activerecord//lib/active_record/timestamp.rb#130 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:130 def record_update_timestamps; end # @return [Boolean] # - # source://activerecord//lib/active_record/timestamp.rb#143 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:143 def should_record_timestamps?; end - # source://activerecord//lib/active_record/timestamp.rb#147 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:147 def timestamp_attributes_for_create_in_model; end - # source://activerecord//lib/active_record/timestamp.rb#151 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:151 def timestamp_attributes_for_update_in_model; end module GeneratedClassMethods @@ -37370,38 +37385,38 @@ module ActiveRecord::Timestamp end end -# source://activerecord//lib/active_record/timestamp.rb#55 +# pkg:gem/activerecord#lib/active_record/timestamp.rb:55 module ActiveRecord::Timestamp::ClassMethods - # source://activerecord//lib/active_record/timestamp.rb#74 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:74 def all_timestamp_attributes_in_model; end - # source://activerecord//lib/active_record/timestamp.rb#79 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:79 def current_time_from_proper_timezone; end - # source://activerecord//lib/active_record/timestamp.rb#64 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:64 def timestamp_attributes_for_create_in_model; end - # source://activerecord//lib/active_record/timestamp.rb#69 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:69 def timestamp_attributes_for_update_in_model; end - # source://activerecord//lib/active_record/timestamp.rb#56 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:92 def timestamp_attributes_for_create; end - # source://activerecord//lib/active_record/timestamp.rb#96 + # pkg:gem/activerecord#lib/active_record/timestamp.rb:96 def timestamp_attributes_for_update; end end -# source://activerecord//lib/active_record/token_for.rb#6 +# pkg:gem/activerecord#lib/active_record/token_for.rb:6 module ActiveRecord::TokenFor extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -37414,7 +37429,7 @@ module ActiveRecord::TokenFor # Use ClassMethods#generates_token_for to define a token purpose and # behavior. # - # source://activerecord//lib/active_record/token_for.rb#119 + # pkg:gem/activerecord#lib/active_record/token_for.rb:119 def generate_token_for(purpose); end module GeneratedClassMethods @@ -37427,12 +37442,12 @@ module ActiveRecord::TokenFor module GeneratedInstanceMethods; end end -# source://activerecord//lib/active_record/token_for.rb#56 +# pkg:gem/activerecord#lib/active_record/token_for.rb:56 module ActiveRecord::TokenFor::ClassMethods - # source://activerecord//lib/active_record/token_for.rb#106 + # pkg:gem/activerecord#lib/active_record/token_for.rb:106 def find_by_token_for(purpose, token); end - # source://activerecord//lib/active_record/token_for.rb#110 + # pkg:gem/activerecord#lib/active_record/token_for.rb:110 def find_by_token_for!(purpose, token); end # Defines the behavior of tokens generated for a specific +purpose+. @@ -37481,18 +37496,18 @@ 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#102 + # pkg:gem/activerecord#lib/active_record/token_for.rb:102 def generates_token_for(purpose, expires_in: T.unsafe(nil), &block); end end -# source://activerecord//lib/active_record/token_for.rb#38 +# pkg:gem/activerecord#lib/active_record/token_for.rb:38 module ActiveRecord::TokenFor::RelationMethods # 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#41 + # pkg:gem/activerecord#lib/active_record/token_for.rb:41 def find_by_token_for(purpose, token); end # Finds a record using a given +token+ for a predefined +purpose+. Raises @@ -37500,17 +37515,17 @@ module ActiveRecord::TokenFor::RelationMethods # (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#50 + # pkg:gem/activerecord#lib/active_record/token_for.rb:50 def find_by_token_for!(purpose, token); end end -# source://activerecord//lib/active_record/token_for.rb#14 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def block; end # Sets the attribute block @@ -37518,14 +37533,14 @@ class ActiveRecord::TokenFor::TokenDefinition < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def defining_class; end # Sets the attribute defining_class @@ -37533,14 +37548,14 @@ class ActiveRecord::TokenFor::TokenDefinition < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def expires_in; end # Sets the attribute expires_in @@ -37548,26 +37563,26 @@ class ActiveRecord::TokenFor::TokenDefinition < ::Struct # @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 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def expires_in=(_); end - # source://activerecord//lib/active_record/token_for.rb#15 + # pkg:gem/activerecord#lib/active_record/token_for.rb:15 def full_purpose; end - # source://activerecord//lib/active_record/token_for.rb#27 + # pkg:gem/activerecord#lib/active_record/token_for.rb:27 def generate_token(model); end - # source://activerecord//lib/active_record/token_for.rb#19 + # pkg:gem/activerecord#lib/active_record/token_for.rb:19 def message_verifier; end - # source://activerecord//lib/active_record/token_for.rb#23 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def purpose; end # Sets the attribute purpose @@ -37575,57 +37590,57 @@ class ActiveRecord::TokenFor::TokenDefinition < ::Struct # @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 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def purpose=(_); end - # source://activerecord//lib/active_record/token_for.rb#31 + # pkg:gem/activerecord#lib/active_record/token_for.rb:31 def resolve_token(token); end class << self - # source://activerecord//lib/active_record/token_for.rb#14 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def [](*_arg0); end - # source://activerecord//lib/active_record/token_for.rb#14 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def inspect; end - # source://activerecord//lib/active_record/token_for.rb#14 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def keyword_init?; end - # source://activerecord//lib/active_record/token_for.rb#14 + # pkg:gem/activerecord#lib/active_record/token_for.rb:14 def members; end - # source://activerecord//lib/active_record/token_for.rb#14 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/touch_later.rb:5 module ActiveRecord::TouchLater - # source://activerecord//lib/active_record/touch_later.rb#6 + # pkg:gem/activerecord#lib/active_record/touch_later.rb:6 def before_committed!; end - # source://activerecord//lib/active_record/touch_later.rb#38 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/touch_later.rb:66 def has_defer_touch_attrs?; end - # source://activerecord//lib/active_record/touch_later.rb#49 + # pkg:gem/activerecord#lib/active_record/touch_later.rb:49 def init_internals; end - # source://activerecord//lib/active_record/touch_later.rb#54 + # pkg:gem/activerecord#lib/active_record/touch_later.rb:54 def surreptitiously_touch(attr_names); end - # source://activerecord//lib/active_record/touch_later.rb#61 + # pkg:gem/activerecord#lib/active_record/touch_later.rb:61 def touch_deferred_attributes; end end @@ -37692,11 +37707,11 @@ end # won't be rolled back as it was already committed. Relying solely on these to synchronize state between multiple # systems may lead to consistency issues. # -# source://activerecord//lib/active_record/transaction.rb#68 +# pkg:gem/activerecord#lib/active_record/transaction.rb:68 class ActiveRecord::Transaction # @return [Transaction] a new instance of Transaction # - # source://activerecord//lib/active_record/transaction.rb#69 + # pkg:gem/activerecord#lib/active_record/transaction.rb:69 def initialize(internal_transaction); end # Registers a block to be called after the transaction is fully committed. @@ -37711,7 +37726,7 @@ class ActiveRecord::Transaction # # If the callback raises an error, the transaction remains committed. # - # source://activerecord//lib/active_record/transaction.rb#85 + # pkg:gem/activerecord#lib/active_record/transaction.rb:85 def after_commit(&block); end # Registers a block to be called after the transaction is rolled back. @@ -37726,37 +37741,37 @@ class ActiveRecord::Transaction # If the entire chain of nested transactions are all successfully committed, # the block is never called. # - # source://activerecord//lib/active_record/transaction.rb#104 + # pkg:gem/activerecord#lib/active_record/transaction.rb:104 def after_rollback(&block); end # Returns true if the transaction doesn't exist or is finalized. # # @return [Boolean] # - # source://activerecord//lib/active_record/transaction.rb#118 + # pkg:gem/activerecord#lib/active_record/transaction.rb:118 def blank?; end # Returns true if the transaction doesn't exist or is finalized. # # @return [Boolean] # - # source://activerecord//lib/active_record/transaction.rb#114 + # pkg:gem/activerecord#lib/active_record/transaction.rb:114 def closed?; end # Returns true if the transaction exists and isn't finalized yet. # # @return [Boolean] # - # source://activerecord//lib/active_record/transaction.rb#109 + # pkg:gem/activerecord#lib/active_record/transaction.rb:109 def open?; end # Returns a UUID for this transaction or +nil+ if no transaction is open. # - # source://activerecord//lib/active_record/transaction.rb#121 + # pkg:gem/activerecord#lib/active_record/transaction.rb:121 def uuid; end end -# source://activerecord//lib/active_record/transaction.rb#127 +# pkg:gem/activerecord#lib/active_record/transaction.rb:127 ActiveRecord::Transaction::NULL_TRANSACTION = T.let(T.unsafe(nil), ActiveRecord::Transaction) # TransactionIsolationError will be raised under the following conditions: @@ -37767,7 +37782,7 @@ ActiveRecord::Transaction::NULL_TRANSACTION = T.let(T.unsafe(nil), ActiveRecord: # # The mysql2, trilogy, and postgresql adapters support setting the transaction isolation level. # -# source://activerecord//lib/active_record/errors.rb#516 +# pkg:gem/activerecord#lib/active_record/errors.rb:516 class ActiveRecord::TransactionIsolationError < ::ActiveRecord::ActiveRecordError; end # TransactionRollbackError will be raised when a transaction is rolled @@ -37791,30 +37806,30 @@ 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#539 +# pkg:gem/activerecord#lib/active_record/errors.rb:539 class ActiveRecord::TransactionRollbackError < ::ActiveRecord::StatementInvalid; end # See ActiveRecord::Transactions::ClassMethods for documentation. # -# source://activerecord//lib/active_record/transactions.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/transactions.rb:16 def _last_transaction_return_status; end - # source://activerecord//lib/active_record/transactions.rb#16 + # pkg:gem/activerecord#lib/active_record/transactions.rb:16 def _last_transaction_return_status=(_arg0); end - # source://activerecord//lib/active_record/transactions.rb#16 + # pkg:gem/activerecord#lib/active_record/transactions.rb:16 def _new_record_before_last_commit; end - # source://activerecord//lib/active_record/transactions.rb#16 + # pkg:gem/activerecord#lib/active_record/transactions.rb:16 def _new_record_before_last_commit=(_arg0); end - # source://activerecord//lib/active_record/transactions.rb#392 + # pkg:gem/activerecord#lib/active_record/transactions.rb:392 def before_committed!; end # Call the #after_commit callbacks. @@ -37822,35 +37837,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#400 + # pkg:gem/activerecord#lib/active_record/transactions.rb:400 def committed!(should_run_callbacks: T.unsafe(nil)); end - # source://activerecord//lib/active_record/transactions.rb#376 + # pkg:gem/activerecord#lib/active_record/transactions.rb:376 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#412 + # pkg:gem/activerecord#lib/active_record/transactions.rb:412 def rolledback!(force_restore_state: T.unsafe(nil), should_run_callbacks: T.unsafe(nil)); end - # source://activerecord//lib/active_record/transactions.rb#380 + # pkg:gem/activerecord#lib/active_record/transactions.rb:380 def save(**_arg0); end - # source://activerecord//lib/active_record/transactions.rb#384 + # pkg:gem/activerecord#lib/active_record/transactions.rb:384 def save!(**_arg0); end - # source://activerecord//lib/active_record/transactions.rb#388 + # pkg:gem/activerecord#lib/active_record/transactions.rb:388 def touch(*_arg0, **_arg1); end # See ActiveRecord::Transactions::ClassMethods for detailed documentation. # - # source://activerecord//lib/active_record/transactions.rb#372 + # pkg:gem/activerecord#lib/active_record/transactions.rb:372 def transaction(**options, &block); end # @return [Boolean] # - # source://activerecord//lib/active_record/transactions.rb#447 + # pkg:gem/activerecord#lib/active_record/transactions.rb:447 def trigger_transactional_callbacks?; end # Executes a block within a transaction and captures its return value as a @@ -37860,64 +37875,64 @@ module ActiveRecord::Transactions # This method is available within the context of an ActiveRecord::Base # instance. # - # source://activerecord//lib/active_record/transactions.rb#428 + # pkg:gem/activerecord#lib/active_record/transactions.rb:428 def with_transaction_returning_status; end private # Returns the value of attribute _committed_already_called. # - # source://activerecord//lib/active_record/transactions.rb#453 + # pkg:gem/activerecord#lib/active_record/transactions.rb:453 def _committed_already_called; end # Returns the value of attribute _trigger_destroy_callback. # - # source://activerecord//lib/active_record/transactions.rb#453 + # pkg:gem/activerecord#lib/active_record/transactions.rb:453 def _trigger_destroy_callback; end # Returns the value of attribute _trigger_update_callback. # - # source://activerecord//lib/active_record/transactions.rb#453 + # pkg:gem/activerecord#lib/active_record/transactions.rb:453 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#536 + # pkg:gem/activerecord#lib/active_record/transactions.rb:536 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#484 + # pkg:gem/activerecord#lib/active_record/transactions.rb:484 def clear_transaction_record_state; end # @return [Boolean] # - # source://activerecord//lib/active_record/transactions.rb#542 + # pkg:gem/activerecord#lib/active_record/transactions.rb:542 def has_transactional_callbacks?; end - # source://activerecord//lib/active_record/transactions.rb#455 + # pkg:gem/activerecord#lib/active_record/transactions.rb:455 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#464 + # pkg:gem/activerecord#lib/active_record/transactions.rb:464 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#491 + # pkg:gem/activerecord#lib/active_record/transactions.rb:491 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#521 + # pkg:gem/activerecord#lib/active_record/transactions.rb:521 def transaction_include_any_action?(actions); end end -# source://activerecord//lib/active_record/transactions.rb#8 +# pkg:gem/activerecord#lib/active_record/transactions.rb:8 ActiveRecord::Transactions::ACTIONS = T.let(T.unsafe(nil), Array) # = Active Record \Transactions @@ -38132,7 +38147,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#229 +# pkg:gem/activerecord#lib/active_record/transactions.rb:229 module ActiveRecord::Transactions::ClassMethods # This callback is called after a record has been created, updated, or destroyed. # @@ -38146,37 +38161,37 @@ 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#285 + # pkg:gem/activerecord#lib/active_record/transactions.rb:285 def after_commit(*args, &block); end # Shortcut for after_commit :hook, on: :create. # - # source://activerecord//lib/active_record/transactions.rb#297 + # pkg:gem/activerecord#lib/active_record/transactions.rb:297 def after_create_commit(*args, &block); end # Shortcut for after_commit :hook, on: :destroy. # - # source://activerecord//lib/active_record/transactions.rb#309 + # pkg:gem/activerecord#lib/active_record/transactions.rb:309 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#317 + # pkg:gem/activerecord#lib/active_record/transactions.rb:317 def after_rollback(*args, &block); end # Shortcut for after_commit :hook, on: [ :create, :update ]. # - # source://activerecord//lib/active_record/transactions.rb#291 + # pkg:gem/activerecord#lib/active_record/transactions.rb:291 def after_save_commit(*args, &block); end # Shortcut for after_commit :hook, on: :update. # - # source://activerecord//lib/active_record/transactions.rb#303 + # pkg:gem/activerecord#lib/active_record/transactions.rb:303 def after_update_commit(*args, &block); end - # source://activerecord//lib/active_record/transactions.rb#268 + # pkg:gem/activerecord#lib/active_record/transactions.rb:268 def before_commit(*args, &block); end # Returns a representation of the current transaction state, @@ -38187,70 +38202,70 @@ module ActiveRecord::Transactions::ClassMethods # # See the ActiveRecord::Transaction documentation for detailed behavior. # - # source://activerecord//lib/active_record/transactions.rb#264 + # pkg:gem/activerecord#lib/active_record/transactions.rb:264 def current_transaction; end # Returns the default isolation level for the connection pool, set earlier by #with_pool_transaction_isolation_level. # - # source://activerecord//lib/active_record/transactions.rb#253 + # pkg:gem/activerecord#lib/active_record/transactions.rb:253 def pool_transaction_isolation_level; end # Similar to ActiveSupport::Callbacks::ClassMethods#set_callback, but with # support for options available on #after_commit and #after_rollback callbacks. # - # source://activerecord//lib/active_record/transactions.rb#324 + # pkg:gem/activerecord#lib/active_record/transactions.rb:324 def set_callback(name, *filter_list, &block); end # See the ConnectionAdapters::DatabaseStatements#transaction API docs. # - # source://activerecord//lib/active_record/transactions.rb#231 + # pkg:gem/activerecord#lib/active_record/transactions.rb:231 def transaction(**options, &block); end # Makes all transactions the current pool use the isolation level initiated within the block. # - # source://activerecord//lib/active_record/transactions.rb#240 + # pkg:gem/activerecord#lib/active_record/transactions.rb:240 def with_pool_transaction_isolation_level(isolation_level, &block); end private - # source://activerecord//lib/active_record/transactions.rb#364 + # pkg:gem/activerecord#lib/active_record/transactions.rb:364 def assert_valid_transaction_action(actions); end - # source://activerecord//lib/active_record/transactions.rb#342 + # pkg:gem/activerecord#lib/active_record/transactions.rb:342 def prepend_option; end - # source://activerecord//lib/active_record/transactions.rb#350 + # pkg:gem/activerecord#lib/active_record/transactions.rb:350 def set_options_for_callbacks!(args, enforced_options = T.unsafe(nil)); end end -# source://activerecord//lib/active_record/translation.rb#4 +# pkg:gem/activerecord#lib/active_record/translation.rb:4 module ActiveRecord::Translation # Set the i18n scope to override ActiveModel. # - # source://activerecord//lib/active_record/translation.rb#18 + # pkg:gem/activerecord#lib/active_record/translation.rb:18 def i18n_scope; end # Set the lookup ancestors for ActiveModel. # - # source://activerecord//lib/active_record/translation.rb#6 + # pkg:gem/activerecord#lib/active_record/translation.rb:6 def lookup_ancestors; end end # :stopdoc: # -# source://activerecord//lib/active_record/type/internal/timezone.rb#4 +# pkg:gem/activerecord#lib/active_record/type/internal/timezone.rb:4 module ActiveRecord::Type class << self - # source://activerecord//lib/active_record/type.rb#49 + # pkg:gem/activerecord#lib/active_record/type.rb:49 def adapter_name_from(model); end - # source://activerecord//lib/active_record/type.rb#27 + # pkg:gem/activerecord#lib/active_record/type.rb:27 def add_modifier(*_arg0, **_arg1, &_arg2); end - # source://activerecord//lib/active_record/type.rb#45 + # pkg:gem/activerecord#lib/active_record/type.rb:45 def default_value; end - # source://activerecord//lib/active_record/type.rb#41 + # pkg:gem/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 @@ -38262,467 +38277,467 @@ 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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type.rb:26 def registry; end - # source://activerecord//lib/active_record/type.rb#26 + # pkg:gem/activerecord#lib/active_record/type.rb:26 def registry=(_arg0); end private - # source://activerecord//lib/active_record/type.rb#54 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/adapter_specific_registry.rb:7 def initialize; end - # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/adapter_specific_registry.rb:38 def registrations; end end -# source://activerecord//lib/active_record/type.rb#59 +# pkg:gem/activerecord#lib/active_record/type.rb:59 ActiveRecord::Type::BigInteger = ActiveModel::Type::BigInteger -# source://activerecord//lib/active_record/type.rb#60 +# pkg:gem/activerecord#lib/active_record/type.rb:60 ActiveRecord::Type::Binary = ActiveModel::Type::Binary -# source://activerecord//lib/active_record/type.rb#61 +# pkg:gem/activerecord#lib/active_record/type.rb:61 ActiveRecord::Type::Boolean = ActiveModel::Type::Boolean -# source://activerecord//lib/active_record/type/date.rb#5 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/type.rb:62 ActiveRecord::Type::Decimal = ActiveModel::Type::Decimal -# source://activerecord//lib/active_record/type/decimal_without_scale.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/decimal_without_scale.rb:6 def type; end - # source://activerecord//lib/active_record/type/decimal_without_scale.rb#10 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/adapter_specific_registry.rb:131 def options; end end -# source://activerecord//lib/active_record/type.rb#63 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#40 + # pkg:gem/activerecord#lib/active_record/type/hash_lookup_type_map.rb:40 def alias_type(type, alias_type); end - # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#35 + # pkg:gem/activerecord#lib/active_record/type/hash_lookup_type_map.rb:35 def clear; end - # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#17 + # pkg:gem/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#44 + # pkg:gem/activerecord#lib/active_record/type/hash_lookup_type_map.rb:44 def key?(key); end - # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#48 + # pkg:gem/activerecord#lib/active_record/type/hash_lookup_type_map.rb:48 def keys; end - # source://activerecord//lib/active_record/type/hash_lookup_type_map.rb#13 + # pkg:gem/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 + # pkg:gem/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#53 + # pkg:gem/activerecord#lib/active_record/type/hash_lookup_type_map.rb:53 def perform_fetch(type, *args, &block); end end -# source://activerecord//lib/active_record/type.rb#65 +# pkg:gem/activerecord#lib/active_record/type.rb:65 ActiveRecord::Type::ImmutableString = ActiveModel::Type::ImmutableString -# source://activerecord//lib/active_record/type.rb#64 +# pkg:gem/activerecord#lib/active_record/type.rb:64 ActiveRecord::Type::Integer = ActiveModel::Type::Integer -# source://activerecord//lib/active_record/type/internal/timezone.rb#5 +# pkg:gem/activerecord#lib/active_record/type/internal/timezone.rb:5 module ActiveRecord::Type::Internal; end -# source://activerecord//lib/active_record/type/internal/timezone.rb#6 +# pkg:gem/activerecord#lib/active_record/type/internal/timezone.rb:6 module ActiveRecord::Type::Internal::Timezone - # source://activerecord//lib/active_record/type/internal/timezone.rb#7 + # pkg:gem/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#20 + # pkg:gem/activerecord#lib/active_record/type/internal/timezone.rb:20 def ==(other); end - # source://activerecord//lib/active_record/type/internal/timezone.rb#16 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/internal/timezone.rb:12 def is_utc?; end protected # Returns the value of attribute timezone. # - # source://activerecord//lib/active_record/type/internal/timezone.rb#25 + # pkg:gem/activerecord#lib/active_record/type/internal/timezone.rb:25 def timezone; end end -# source://activerecord//lib/active_record/type/json.rb#7 +# pkg:gem/activerecord#lib/active_record/type/json.rb:7 class ActiveRecord::Type::Json < ::ActiveModel::Type::Value include ::ActiveModel::Type::Helpers::Mutable - # source://activerecord//lib/active_record/type/json.rb#38 + # pkg:gem/activerecord#lib/active_record/type/json.rb:38 def accessor; end # @return [Boolean] # - # source://activerecord//lib/active_record/type/json.rb#34 + # pkg:gem/activerecord#lib/active_record/type/json.rb:34 def changed_in_place?(raw_old_value, new_value); end - # source://activerecord//lib/active_record/type/json.rb#14 + # pkg:gem/activerecord#lib/active_record/type/json.rb:14 def deserialize(value); end - # source://activerecord//lib/active_record/type/json.rb#30 + # pkg:gem/activerecord#lib/active_record/type/json.rb:30 def serialize(value); end - # source://activerecord//lib/active_record/type/json.rb#10 + # pkg:gem/activerecord#lib/active_record/type/json.rb:10 def type; end end -# source://activerecord//lib/active_record/type/json.rb#28 +# pkg:gem/activerecord#lib/active_record/type/json.rb:28 ActiveRecord::Type::Json::JSON_ENCODER = T.let(T.unsafe(nil), ActiveSupport::JSON::Encoding::JSONGemCoderEncoder) -# source://activerecord//lib/active_record/type/adapter_specific_registry.rb#47 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/adapter_specific_registry.rb:63 def <=>(other); end - # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#55 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/adapter_specific_registry.rb:73 def override; end - # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#75 + # pkg:gem/activerecord#lib/active_record/type/adapter_specific_registry.rb:75 def priority; end - # source://activerecord//lib/active_record/type/adapter_specific_registry.rb#86 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:12 def initialize(subtype, coder, comparable: T.unsafe(nil)); end - # source://activerecord//lib/active_record/type/serialized.rb#49 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:49 def accessor; end - # source://activerecord//lib/active_record/type/serialized.rb#53 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:53 def assert_valid_value(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/type/serialized.rb#36 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:36 def changed_in_place?(raw_old_value, value); end # Returns the value of attribute coder. # - # source://activerecord//lib/active_record/type/serialized.rb#10 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:10 def coder; end - # source://activerecord//lib/active_record/type/serialized.rb#19 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:19 def deserialize(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/type/serialized.rb#59 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:59 def force_equality?(value); end - # source://activerecord//lib/active_record/type/serialized.rb#34 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:34 def inspect; end - # source://activerecord//lib/active_record/type/serialized.rb#27 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:27 def serialize(value); end # @return [Boolean] # - # source://activerecord//lib/active_record/type/serialized.rb#63 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:63 def serialized?; end # Returns the value of attribute subtype. # - # source://activerecord//lib/active_record/type/serialized.rb#10 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:10 def subtype; end private # @return [Boolean] # - # source://activerecord//lib/active_record/type/serialized.rb#68 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:68 def default_value?(value); end - # source://activerecord//lib/active_record/type/serialized.rb#72 + # pkg:gem/activerecord#lib/active_record/type/serialized.rb:72 def encoded(value); end end -# source://activerecord//lib/active_record/type.rb#66 +# pkg:gem/activerecord#lib/active_record/type.rb:66 ActiveRecord::Type::String = ActiveModel::Type::String -# source://activerecord//lib/active_record/type/text.rb#5 +# pkg:gem/activerecord#lib/active_record/type/text.rb:5 class ActiveRecord::Type::Text < ::ActiveModel::Type::String - # source://activerecord//lib/active_record/type/text.rb#6 + # pkg:gem/activerecord#lib/active_record/type/text.rb:6 def type; end end -# source://activerecord//lib/active_record/type/time.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/time.rb:11 def serialize(value); end - # source://activerecord//lib/active_record/type/time.rb#20 + # pkg:gem/activerecord#lib/active_record/type/time.rb:20 def serialize_cast_value(value); end private - # source://activerecord//lib/active_record/type/time.rb#25 + # pkg:gem/activerecord#lib/active_record/type/time.rb:25 def cast_value(value); end end -# source://activerecord//lib/active_record/type/time.rb#8 +# pkg:gem/activerecord#lib/active_record/type/time.rb:8 class ActiveRecord::Type::Time::Value; end -# source://activerecord//lib/active_record/type/type_map.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type/unsigned_integer.rb:7 def max_value; end - # source://activerecord//lib/active_record/type/unsigned_integer.rb#11 + # pkg:gem/activerecord#lib/active_record/type/unsigned_integer.rb:11 def min_value; end end -# source://activerecord//lib/active_record/type.rb#67 +# pkg:gem/activerecord#lib/active_record/type.rb:67 ActiveRecord::Type::Value = ActiveModel::Type::Value -# source://activerecord//lib/active_record/type_caster/map.rb#4 +# pkg:gem/activerecord#lib/active_record/type_caster/map.rb:4 module ActiveRecord::TypeCaster; end -# source://activerecord//lib/active_record/type_caster/connection.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type_caster/connection.rb:16 def type_for_attribute(attr_name); end private # Returns the value of attribute table_name. # - # source://activerecord//lib/active_record/type_caster/connection.rb#31 + # pkg:gem/activerecord#lib/active_record/type_caster/connection.rb:31 def table_name; end end -# source://activerecord//lib/active_record/type_caster/map.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type_caster/map.rb:6 def initialize(klass); end - # source://activerecord//lib/active_record/type_caster/map.rb#10 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/type_caster/map.rb:20 def klass; end end -# source://activerecord//lib/active_record/type/adapter_specific_registry.rb#141 +# pkg:gem/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#451 +# pkg:gem/activerecord#lib/active_record/errors.rb:451 ActiveRecord::UnknownAttributeError = ActiveModel::UnknownAttributeError # UnknownAttributeReference is raised when an unknown and potentially unsafe @@ -38746,29 +38761,29 @@ 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#618 +# pkg:gem/activerecord#lib/active_record/errors.rb:618 class ActiveRecord::UnknownAttributeReference < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/migration.rb#111 +# pkg:gem/activerecord#lib/active_record/migration.rb:111 class ActiveRecord::UnknownMigrationVersionError < ::ActiveRecord::MigrationError # @return [UnknownMigrationVersionError] a new instance of UnknownMigrationVersionError # - # source://activerecord//lib/active_record/migration.rb#112 + # pkg:gem/activerecord#lib/active_record/migration.rb:112 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#479 +# pkg:gem/activerecord#lib/active_record/errors.rb:479 class ActiveRecord::UnknownPrimaryKey < ::ActiveRecord::ActiveRecordError # @return [UnknownPrimaryKey] a new instance of UnknownPrimaryKey # - # source://activerecord//lib/active_record/errors.rb#482 + # pkg:gem/activerecord#lib/active_record/errors.rb:482 def initialize(model = T.unsafe(nil), description = T.unsafe(nil)); end # Returns the value of attribute model. # - # source://activerecord//lib/active_record/errors.rb#480 + # pkg:gem/activerecord#lib/active_record/errors.rb:480 def model; end end @@ -38785,25 +38800,25 @@ end # relation.where!(title: 'TODO') # => ActiveRecord::UnmodifiableRelation # relation.limit!(5) # => ActiveRecord::UnmodifiableRelation # -# source://activerecord//lib/active_record/errors.rb#506 +# pkg:gem/activerecord#lib/active_record/errors.rb:506 class ActiveRecord::UnmodifiableRelation < ::ActiveRecord::ActiveRecordError; end -# source://activerecord//lib/active_record/gem_version.rb#9 +# pkg:gem/activerecord#lib/active_record/gem_version.rb:9 module ActiveRecord::VERSION; end -# source://activerecord//lib/active_record/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/gem_version.rb:13 ActiveRecord::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://activerecord//lib/active_record/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/gem_version.rb:12 ActiveRecord::VERSION::TINY = T.let(T.unsafe(nil), Integer) # = Active Record \Validations @@ -38816,7 +38831,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 +# pkg:gem/activerecord#lib/active_record/validations.rb:40 module ActiveRecord::Validations extend ::ActiveSupport::Concern @@ -38824,7 +38839,7 @@ module ActiveRecord::Validations # @return [Boolean] # - # source://activerecord//lib/active_record/validations.rb#77 + # pkg:gem/activerecord#lib/active_record/validations.rb:77 def custom_validation_context?; end # The validation process on save can be skipped by passing validate: false. @@ -38832,13 +38847,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#47 + # pkg:gem/activerecord#lib/active_record/validations.rb:47 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#53 + # pkg:gem/activerecord#lib/active_record/validations.rb:53 def save!(**options); end # Runs all the validations within the specified context. Returns +true+ if @@ -38856,7 +38871,7 @@ module ActiveRecord::Validations # # @return [Boolean] # - # source://activerecord//lib/active_record/validations.rb#69 + # pkg:gem/activerecord#lib/active_record/validations.rb:69 def valid?(context = T.unsafe(nil)); end # Runs all the validations within the specified context. Returns +true+ if @@ -38874,46 +38889,46 @@ module ActiveRecord::Validations # # @return [Boolean] # - # source://activerecord//lib/active_record/validations.rb#75 + # pkg:gem/activerecord#lib/active_record/validations.rb:75 def validate(context = T.unsafe(nil)); end private - # source://activerecord//lib/active_record/validations.rb#82 + # pkg:gem/activerecord#lib/active_record/validations.rb:82 def default_validation_context; end - # source://activerecord//lib/active_record/validations.rb#90 + # pkg:gem/activerecord#lib/active_record/validations.rb:90 def perform_validations(options = T.unsafe(nil)); end # @raise [RecordInvalid] # - # source://activerecord//lib/active_record/validations.rb#86 + # pkg:gem/activerecord#lib/active_record/validations.rb:86 def raise_validation_error; end end -# source://activerecord//lib/active_record/validations/absence.rb#5 +# pkg:gem/activerecord#lib/active_record/validations/absence.rb:5 class ActiveRecord::Validations::AbsenceValidator < ::ActiveModel::Validations::AbsenceValidator - # source://activerecord//lib/active_record/validations/absence.rb#6 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/validations/associated.rb:5 class ActiveRecord::Validations::AssociatedValidator < ::ActiveModel::EachValidator - # source://activerecord//lib/active_record/validations/associated.rb#6 + # pkg:gem/activerecord#lib/active_record/validations/associated.rb:6 def validate_each(record, attribute, value); end private - # source://activerecord//lib/active_record/validations/associated.rb#19 + # pkg:gem/activerecord#lib/active_record/validations/associated.rb:19 def record_validation_context_for_association(record); end # @return [Boolean] # - # source://activerecord//lib/active_record/validations/associated.rb#15 + # pkg:gem/activerecord#lib/active_record/validations/associated.rb:15 def valid_object?(record, context); end end -# source://activerecord//lib/active_record/validations/associated.rb#24 +# pkg:gem/activerecord#lib/active_record/validations/associated.rb:24 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 @@ -38921,7 +38936,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_absence_of for more information. # - # source://activerecord//lib/active_record/validations/absence.rb#20 + # pkg:gem/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. @@ -38960,7 +38975,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#60 + # pkg:gem/activerecord#lib/active_record/validations/associated.rb:60 def validates_associated(*attr_names); end # Validates that the specified attributes match the length restrictions supplied. @@ -38968,7 +38983,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_length_of for more information. # - # source://activerecord//lib/active_record/validations/length.rb#19 + # pkg:gem/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 @@ -38980,7 +38995,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_numericality_of for more information. # - # source://activerecord//lib/active_record/validations/numericality.rb#31 + # pkg:gem/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 @@ -39009,7 +39024,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 + # pkg:gem/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. @@ -39017,7 +39032,7 @@ module ActiveRecord::Validations::ClassMethods # # See ActiveModel::Validations::HelperMethods.validates_length_of for more information. # - # source://activerecord//lib/active_record/validations/length.rb#23 + # pkg:gem/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 @@ -39157,98 +39172,98 @@ module ActiveRecord::Validations::ClassMethods # * ActiveRecord::ConnectionAdapters::SQLite3Adapter. # * ActiveRecord::ConnectionAdapters::PostgreSQLAdapter. # - # source://activerecord//lib/active_record/validations/uniqueness.rb#291 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:291 def validates_uniqueness_of(*attr_names); end end -# source://activerecord//lib/active_record/validations/length.rb#5 +# pkg:gem/activerecord#lib/active_record/validations/length.rb:5 class ActiveRecord::Validations::LengthValidator < ::ActiveModel::Validations::LengthValidator - # source://activerecord//lib/active_record/validations/length.rb#6 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/validations/numericality.rb:5 class ActiveRecord::Validations::NumericalityValidator < ::ActiveModel::Validations::NumericalityValidator - # source://activerecord//lib/active_record/validations/numericality.rb#6 + # pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/validations/numericality.rb:13 def column_precision_for(record, attribute); end - # source://activerecord//lib/active_record/validations/numericality.rb#17 + # pkg:gem/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 +# pkg:gem/activerecord#lib/active_record/validations/presence.rb:5 class ActiveRecord::Validations::PresenceValidator < ::ActiveModel::Validations::PresenceValidator - # source://activerecord//lib/active_record/validations/presence.rb#6 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:6 def initialize(options); end - # source://activerecord//lib/active_record/validations/uniqueness.rb#20 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:20 def validate_each(record, attribute, value); end private - # source://activerecord//lib/active_record/validations/uniqueness.rb#112 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:112 def build_relation(klass, attribute, value); end # @return [Boolean] # - # source://activerecord//lib/active_record/validations/uniqueness.rb#83 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:83 def covered_by_unique_index?(klass, record, attribute, scope); end # The check for an existing value should be run from a class that # isn't abstract. This means working down from the current class # (self), to the first non-abstract class. # - # source://activerecord//lib/active_record/validations/uniqueness.rb#58 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:58 def find_finder_class_for(record); end - # source://activerecord//lib/active_record/validations/uniqueness.rb#147 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:147 def map_enum_attribute(klass, attribute, value); end - # source://activerecord//lib/active_record/validations/uniqueness.rb#98 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:98 def resolve_attributes(record, attributes); end - # source://activerecord//lib/active_record/validations/uniqueness.rb#134 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:134 def scope_relation(record, relation); end # @return [Boolean] # - # source://activerecord//lib/active_record/validations/uniqueness.rb#70 + # pkg:gem/activerecord#lib/active_record/validations/uniqueness.rb:70 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#304 +# pkg:gem/activerecord#lib/active_record/errors.rb:304 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#224 +# pkg:gem/activerecord#lib/active_record/errors.rb:224 class ActiveRecord::WrappedDatabaseException < ::ActiveRecord::StatementInvalid; end -# source://activerecord//lib/arel/errors.rb#3 +# pkg:gem/activerecord#lib/arel/errors.rb:3 module Arel class << self # @return [Boolean] # - # source://activerecord//lib/arel.rb#66 + # pkg:gem/activerecord#lib/arel.rb:66 def arel_node?(value); end - # source://activerecord//lib/arel.rb#70 + # pkg:gem/activerecord#lib/arel.rb:70 def fetch_attribute(value, &block); end # Wrap a known-safe SQL string for passing to query methods, e.g. @@ -39273,30 +39288,30 @@ module Arel # Use this option only if the SQL is idempotent, as it could be executed # more than once. # - # source://activerecord//lib/arel.rb#52 + # pkg:gem/activerecord#lib/arel.rb:52 def sql(sql_string, *positional_binds, retryable: T.unsafe(nil), **named_binds); end - # source://activerecord//lib/arel.rb#62 + # pkg:gem/activerecord#lib/arel.rb:62 def star; end end end -# source://activerecord//lib/arel/alias_predication.rb#4 +# pkg:gem/activerecord#lib/arel/alias_predication.rb:4 module Arel::AliasPredication - # source://activerecord//lib/arel/alias_predication.rb#5 + # pkg:gem/activerecord#lib/arel/alias_predication.rb:5 def as(other); end end -# source://activerecord//lib/arel/errors.rb#4 +# pkg:gem/activerecord#lib/arel/errors.rb:4 class Arel::ArelError < ::StandardError; end -# source://activerecord//lib/arel/attributes/attribute.rb#32 +# pkg:gem/activerecord#lib/arel/attributes/attribute.rb:32 Arel::Attribute = Arel::Attributes::Attribute -# source://activerecord//lib/arel/attributes/attribute.rb#4 +# pkg:gem/activerecord#lib/arel/attributes/attribute.rb:4 module Arel::Attributes; end -# source://activerecord//lib/arel/attributes/attribute.rb#5 +# pkg:gem/activerecord#lib/arel/attributes/attribute.rb:5 class Arel::Attributes::Attribute < ::Struct include ::Arel::Expressions include ::Arel::Predications @@ -39306,1633 +39321,1633 @@ class Arel::Attributes::Attribute < ::Struct # @return [Boolean] # - # source://activerecord//lib/arel/attributes/attribute.rb#26 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/attributes/attribute.rb:18 def lower; end - # source://activerecord//lib/arel/attributes/attribute.rb#22 + # pkg:gem/activerecord#lib/arel/attributes/attribute.rb:22 def type_cast_for_database(value); end - # source://activerecord//lib/arel/attributes/attribute.rb#12 + # pkg:gem/activerecord#lib/arel/attributes/attribute.rb:12 def type_caster; end end -# source://activerecord//lib/arel/errors.rb#10 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/errors.rb:11 def initialize(message, sql = T.unsafe(nil)); end end -# source://activerecord//lib/arel/collectors/plain_string.rb#4 +# pkg:gem/activerecord#lib/arel/collectors/plain_string.rb:4 module Arel::Collectors; end -# source://activerecord//lib/arel/collectors/bind.rb#5 +# pkg:gem/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#8 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:8 def initialize; end - # source://activerecord//lib/arel/collectors/bind.rb#12 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:12 def <<(str); end - # source://activerecord//lib/arel/collectors/bind.rb#16 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:16 def add_bind(bind, &_arg1); end - # source://activerecord//lib/arel/collectors/bind.rb#21 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:21 def add_binds(binds, proc_for_binds = T.unsafe(nil), &_arg2); end # Returns the value of attribute retryable. # - # source://activerecord//lib/arel/collectors/bind.rb#6 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:6 def retryable; end # Sets the attribute retryable # # @param value the value to set the attribute retryable to. # - # source://activerecord//lib/arel/collectors/bind.rb#6 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:6 def retryable=(_arg0); end - # source://activerecord//lib/arel/collectors/bind.rb#26 + # pkg:gem/activerecord#lib/arel/collectors/bind.rb:26 def value; end end -# source://activerecord//lib/arel/collectors/composite.rb#5 +# pkg:gem/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#9 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:9 def initialize(left, right); end - # source://activerecord//lib/arel/collectors/composite.rb#20 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:20 def <<(str); end - # source://activerecord//lib/arel/collectors/composite.rb#26 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:26 def add_bind(bind, &block); end - # source://activerecord//lib/arel/collectors/composite.rb#32 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:32 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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:6 def preparable=(_arg0); end # Returns the value of attribute retryable. # - # source://activerecord//lib/arel/collectors/composite.rb#7 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:7 def retryable; end - # source://activerecord//lib/arel/collectors/composite.rb#14 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:14 def retryable=(retryable); end - # source://activerecord//lib/arel/collectors/composite.rb#38 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:38 def value; end private # Returns the value of attribute left. # - # source://activerecord//lib/arel/collectors/composite.rb#43 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:43 def left; end # Returns the value of attribute right. # - # source://activerecord//lib/arel/collectors/composite.rb#43 + # pkg:gem/activerecord#lib/arel/collectors/composite.rb:43 def right; end end -# source://activerecord//lib/arel/collectors/plain_string.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/collectors/plain_string.rb:6 def initialize; end - # source://activerecord//lib/arel/collectors/plain_string.rb#14 + # pkg:gem/activerecord#lib/arel/collectors/plain_string.rb:14 def <<(str); end - # source://activerecord//lib/arel/collectors/plain_string.rb#10 + # pkg:gem/activerecord#lib/arel/collectors/plain_string.rb:10 def value; end end -# source://activerecord//lib/arel/collectors/sql_string.rb#7 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/collectors/sql_string.rb:10 def initialize(*_arg0); end - # source://activerecord//lib/arel/collectors/sql_string.rb#15 + # pkg:gem/activerecord#lib/arel/collectors/sql_string.rb:15 def add_bind(bind, &_arg1); end - # source://activerecord//lib/arel/collectors/sql_string.rb#21 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/collectors/sql_string.rb:8 def preparable=(_arg0); end # Returns the value of attribute retryable. # - # source://activerecord//lib/arel/collectors/sql_string.rb#8 + # pkg:gem/activerecord#lib/arel/collectors/sql_string.rb:8 def retryable; end # Sets the attribute retryable # # @param value the value to set the attribute retryable to. # - # source://activerecord//lib/arel/collectors/sql_string.rb#8 + # pkg:gem/activerecord#lib/arel/collectors/sql_string.rb:8 def retryable=(_arg0); end end -# source://activerecord//lib/arel/collectors/substitute_binds.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:8 def initialize(quoter, delegate_collector); end - # source://activerecord//lib/arel/collectors/substitute_binds.rb#13 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:13 def <<(str); end - # source://activerecord//lib/arel/collectors/substitute_binds.rb#18 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:18 def add_bind(bind, &_arg1); end - # source://activerecord//lib/arel/collectors/substitute_binds.rb#23 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:23 def add_binds(binds, proc_for_binds = T.unsafe(nil), &_arg2); end # Returns the value of attribute preparable. # - # source://activerecord//lib/arel/collectors/substitute_binds.rb#6 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:6 def preparable=(_arg0); end # Returns the value of attribute retryable. # - # source://activerecord//lib/arel/collectors/substitute_binds.rb#6 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:6 def retryable; end # Sets the attribute retryable # # @param value the value to set the attribute retryable to. # - # source://activerecord//lib/arel/collectors/substitute_binds.rb#6 + # pkg:gem/activerecord#lib/arel/collectors/substitute_binds.rb:6 def retryable=(_arg0); end - # source://activerecord//lib/arel/collectors/substitute_binds.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activerecord#lib/arel/crud.rb:6 module Arel::Crud - # source://activerecord//lib/arel/crud.rb#32 + # pkg:gem/activerecord#lib/arel/crud.rb:32 def compile_delete(key = T.unsafe(nil)); end - # source://activerecord//lib/arel/crud.rb#7 + # pkg:gem/activerecord#lib/arel/crud.rb:7 def compile_insert(values); end - # source://activerecord//lib/arel/crud.rb#17 + # pkg:gem/activerecord#lib/arel/crud.rb:17 def compile_update(values, key = T.unsafe(nil)); end - # source://activerecord//lib/arel/crud.rb#13 + # pkg:gem/activerecord#lib/arel/crud.rb:13 def create_insert; end end -# source://activerecord//lib/arel/delete_manager.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/delete_manager.rb:7 def initialize(table = T.unsafe(nil)); end - # source://activerecord//lib/arel/delete_manager.rb#32 + # pkg:gem/activerecord#lib/arel/delete_manager.rb:32 def comment(value); end - # source://activerecord//lib/arel/delete_manager.rb#11 + # pkg:gem/activerecord#lib/arel/delete_manager.rb:11 def from(relation); end - # source://activerecord//lib/arel/delete_manager.rb#16 + # pkg:gem/activerecord#lib/arel/delete_manager.rb:16 def group(columns); end - # source://activerecord//lib/arel/delete_manager.rb#27 + # pkg:gem/activerecord#lib/arel/delete_manager.rb:27 def having(expr); end end -# source://activerecord//lib/arel/errors.rb#7 +# pkg:gem/activerecord#lib/arel/errors.rb:7 class Arel::EmptyJoinError < ::Arel::ArelError; end -# source://activerecord//lib/arel/expressions.rb#4 +# pkg:gem/activerecord#lib/arel/expressions.rb:4 module Arel::Expressions - # source://activerecord//lib/arel/expressions.rb#21 + # pkg:gem/activerecord#lib/arel/expressions.rb:21 def average; end - # source://activerecord//lib/arel/expressions.rb#5 + # pkg:gem/activerecord#lib/arel/expressions.rb:5 def count(distinct = T.unsafe(nil)); end - # source://activerecord//lib/arel/expressions.rb#25 + # pkg:gem/activerecord#lib/arel/expressions.rb:25 def extract(field); end - # source://activerecord//lib/arel/expressions.rb#13 + # pkg:gem/activerecord#lib/arel/expressions.rb:13 def maximum; end - # source://activerecord//lib/arel/expressions.rb#17 + # pkg:gem/activerecord#lib/arel/expressions.rb:17 def minimum; end - # source://activerecord//lib/arel/expressions.rb#9 + # pkg:gem/activerecord#lib/arel/expressions.rb:9 def sum; end end # Methods for creating various nodes # -# source://activerecord//lib/arel/factory_methods.rb#6 +# pkg:gem/activerecord#lib/arel/factory_methods.rb:6 module Arel::FactoryMethods - # source://activerecord//lib/arel/factory_methods.rb#49 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:49 def cast(name, type); end - # source://activerecord//lib/arel/factory_methods.rb#45 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:45 def coalesce(*exprs); end - # source://activerecord//lib/arel/factory_methods.rb#27 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:27 def create_and(clauses); end - # source://activerecord//lib/arel/factory_methods.rb#11 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:11 def create_false; end - # source://activerecord//lib/arel/factory_methods.rb#19 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:31 def create_on(expr); end - # source://activerecord//lib/arel/factory_methods.rb#23 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:23 def create_string_join(to); end - # source://activerecord//lib/arel/factory_methods.rb#15 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:15 def create_table_alias(relation, name); end - # source://activerecord//lib/arel/factory_methods.rb#7 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:7 def create_true; end - # source://activerecord//lib/arel/factory_methods.rb#35 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:35 def grouping(expr); end # Create a LOWER() function # - # source://activerecord//lib/arel/factory_methods.rb#41 + # pkg:gem/activerecord#lib/arel/factory_methods.rb:41 def lower(column); end end -# source://activerecord//lib/arel/filter_predications.rb#4 +# pkg:gem/activerecord#lib/arel/filter_predications.rb:4 module Arel::FilterPredications - # source://activerecord//lib/arel/filter_predications.rb#5 + # pkg:gem/activerecord#lib/arel/filter_predications.rb:5 def filter(expr); end end -# source://activerecord//lib/arel/insert_manager.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:5 def initialize(table = T.unsafe(nil)); end - # source://activerecord//lib/arel/insert_manager.rb#14 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:14 def columns; end - # source://activerecord//lib/arel/insert_manager.rb#40 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:40 def create_values(values); end - # source://activerecord//lib/arel/insert_manager.rb#44 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:44 def create_values_list(rows); end - # source://activerecord//lib/arel/insert_manager.rb#21 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:21 def insert(fields); end - # source://activerecord//lib/arel/insert_manager.rb#9 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:9 def into(table); end - # source://activerecord//lib/arel/insert_manager.rb#17 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:17 def select(select); end - # source://activerecord//lib/arel/insert_manager.rb#15 + # pkg:gem/activerecord#lib/arel/insert_manager.rb:15 def values=(val); end end -# source://activerecord//lib/arel/math.rb#4 +# pkg:gem/activerecord#lib/arel/math.rb:4 module Arel::Math - # source://activerecord//lib/arel/math.rb#21 + # pkg:gem/activerecord#lib/arel/math.rb:21 def &(other); end - # source://activerecord//lib/arel/math.rb#5 + # pkg:gem/activerecord#lib/arel/math.rb:5 def *(other); end - # source://activerecord//lib/arel/math.rb#9 + # pkg:gem/activerecord#lib/arel/math.rb:9 def +(other); end - # source://activerecord//lib/arel/math.rb#13 + # pkg:gem/activerecord#lib/arel/math.rb:13 def -(other); end - # source://activerecord//lib/arel/math.rb#17 + # pkg:gem/activerecord#lib/arel/math.rb:17 def /(other); end - # source://activerecord//lib/arel/math.rb#33 + # pkg:gem/activerecord#lib/arel/math.rb:33 def <<(other); end - # source://activerecord//lib/arel/math.rb#37 + # pkg:gem/activerecord#lib/arel/math.rb:37 def >>(other); end - # source://activerecord//lib/arel/math.rb#29 + # pkg:gem/activerecord#lib/arel/math.rb:29 def ^(other); end - # source://activerecord//lib/arel/math.rb#25 + # pkg:gem/activerecord#lib/arel/math.rb:25 def |(other); end - # source://activerecord//lib/arel/math.rb#41 + # pkg:gem/activerecord#lib/arel/math.rb:41 def ~; end end -# source://activerecord//lib/arel/nodes/node.rb#4 +# pkg:gem/activerecord#lib/arel/nodes/node.rb:4 module Arel::Nodes class << self - # source://activerecord//lib/arel/nodes/casted.rb#48 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:33 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/nary.rb#36 +# pkg:gem/activerecord#lib/arel/nodes/nary.rb:36 class Arel::Nodes::And < ::Arel::Nodes::Nary; end -# source://activerecord//lib/arel/nodes/binary.rb#42 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:42 class Arel::Nodes::As < ::Arel::Nodes::Binary - # source://activerecord//lib/arel/nodes/binary.rb#43 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:43 def to_cte; end end -# source://activerecord//lib/arel/nodes/ascending.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/ascending.rb:5 class Arel::Nodes::Ascending < ::Arel::Nodes::Ordering # @return [Boolean] # - # source://activerecord//lib/arel/nodes/ascending.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/ascending.rb:14 def ascending?; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/ascending.rb#18 + # pkg:gem/activerecord#lib/arel/nodes/ascending.rb:18 def descending?; end - # source://activerecord//lib/arel/nodes/ascending.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/ascending.rb:10 def direction; end - # source://activerecord//lib/arel/nodes/ascending.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/ascending.rb:6 def reverse; end end -# source://activerecord//lib/arel/nodes/binary.rb#122 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:122 class Arel::Nodes::Assignment < ::Arel::Nodes::Binary; end -# source://activerecord//lib/arel/nodes/function.rb#36 +# pkg:gem/activerecord#lib/arel/nodes/function.rb:36 class Arel::Nodes::Avg < ::Arel::Nodes::Function; end -# source://activerecord//lib/arel/nodes/binary.rb#48 +# pkg:gem/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 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Bin < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/binary.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:8 def initialize(left, right); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/binary.rb#29 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:29 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/binary.rb#24 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:24 def eql?(other); end - # source://activerecord//lib/arel/nodes/binary.rb#20 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:20 def hash; end # Returns the value of attribute left. # - # source://activerecord//lib/arel/nodes/binary.rb#6 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:6 def right=(_arg0); end private - # source://activerecord//lib/arel/nodes/binary.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:14 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/bind_param.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:8 def initialize(value); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bind_param.rb#21 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:21 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bind_param.rb#17 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:17 def eql?(other); end - # source://activerecord//lib/arel/nodes/bind_param.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:13 def hash; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bind_param.rb#35 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:35 def infinite?; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bind_param.rb#23 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:23 def nil?; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bind_param.rb#39 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:6 def value; end - # source://activerecord//lib/arel/nodes/bind_param.rb#27 + # pkg:gem/activerecord#lib/arel/nodes/bind_param.rb:27 def value_before_type_cast; end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#62 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:63 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/unary_operation.rb#14 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/unary_operation.rb:15 def initialize(operand); end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#68 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:69 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#80 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:81 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#86 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:87 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#74 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:75 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/bound_sql_literal.rb#5 +# pkg:gem/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 + # pkg:gem/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#54 + # pkg:gem/activerecord#lib/arel/nodes/bound_sql_literal.rb:54 def +(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#52 + # pkg:gem/activerecord#lib/arel/nodes/bound_sql_literal.rb:52 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#46 + # pkg:gem/activerecord#lib/arel/nodes/bound_sql_literal.rb:46 def eql?(other); end - # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#42 + # pkg:gem/activerecord#lib/arel/nodes/bound_sql_literal.rb:42 def hash; end - # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#60 + # pkg:gem/activerecord#lib/arel/nodes/bound_sql_literal.rb:60 def inspect; end # Returns the value of attribute named_binds. # - # source://activerecord//lib/arel/nodes/bound_sql_literal.rb#6 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/bound_sql_literal.rb:6 def sql_with_placeholders; end end -# source://activerecord//lib/arel/nodes/case.rb#5 +# pkg:gem/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 + # pkg:gem/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#46 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:46 def ==(other); end # Returns the value of attribute case. # - # source://activerecord//lib/arel/nodes/case.rb#6 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:6 def default=(_arg0); end - # source://activerecord//lib/arel/nodes/case.rb#24 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:24 def else(expression); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/case.rb#40 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:40 def eql?(other); end - # source://activerecord//lib/arel/nodes/case.rb#36 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:36 def hash; end - # source://activerecord//lib/arel/nodes/case.rb#19 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:19 def then(expression); end - # source://activerecord//lib/arel/nodes/case.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:14 def when(condition, expression = T.unsafe(nil)); end private - # source://activerecord//lib/arel/nodes/case.rb#29 + # pkg:gem/activerecord#lib/arel/nodes/case.rb:29 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/casted.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:9 def initialize(value, attribute); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/casted.rb#34 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:34 def ==(other); end # Returns the value of attribute attribute. # - # source://activerecord//lib/arel/nodes/casted.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:6 def attribute; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/casted.rb#29 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:29 def eql?(other); end - # source://activerecord//lib/arel/nodes/casted.rb#25 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:25 def hash; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/casted.rb#15 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:15 def nil?; end # Returns the value of attribute value. # - # source://activerecord//lib/arel/nodes/casted.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:6 def value; end # Returns the value of attribute value. # - # source://activerecord//lib/arel/nodes/casted.rb#7 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:7 def value_before_type_cast; end - # source://activerecord//lib/arel/nodes/casted.rb#17 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:17 def value_for_database; end end -# source://activerecord//lib/arel/nodes/comment.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/comment.rb:8 def initialize(values); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/comment.rb#26 + # pkg:gem/activerecord#lib/arel/nodes/comment.rb:26 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/comment.rb#22 + # pkg:gem/activerecord#lib/arel/nodes/comment.rb:22 def eql?(other); end - # source://activerecord//lib/arel/nodes/comment.rb#18 + # pkg:gem/activerecord#lib/arel/nodes/comment.rb:18 def hash; end # Returns the value of attribute values. # - # source://activerecord//lib/arel/nodes/comment.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/comment.rb:6 def values; end private - # source://activerecord//lib/arel/nodes/comment.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/comment.rb:13 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#44 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:45 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#50 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:51 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/count.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/count.rb:6 def initialize(expr, distinct = T.unsafe(nil)); end end -# source://activerecord//lib/arel/nodes/cte.rb#5 +# pkg:gem/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 + # pkg:gem/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#25 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:25 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/cte.rb#19 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:19 def eql?(other); end - # source://activerecord//lib/arel/nodes/cte.rb#15 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:15 def hash; end # Returns the value of attribute materialized. # - # source://activerecord//lib/arel/nodes/cte.rb#8 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:8 def materialized; end - # source://activerecord//lib/arel/nodes/cte.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:6 def name; end - # source://activerecord//lib/arel/nodes/cte.rb#7 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:7 def relation; end - # source://activerecord//lib/arel/nodes/cte.rb#27 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:27 def to_cte; end - # source://activerecord//lib/arel/nodes/cte.rb#31 + # pkg:gem/activerecord#lib/arel/nodes/cte.rb:31 def to_table; end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Cube < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/window.rb#103 +# pkg:gem/activerecord#lib/arel/nodes/window.rb:103 class Arel::Nodes::CurrentRow < ::Arel::Nodes::Node # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#111 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:111 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#108 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:108 def eql?(other); end - # source://activerecord//lib/arel/nodes/window.rb#104 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:104 def hash; end end -# source://activerecord//lib/arel/nodes/delete_statement.rb#5 +# pkg:gem/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 + # pkg:gem/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#43 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:43 def ==(other); end # Returns the value of attribute comment. # - # source://activerecord//lib/arel/nodes/delete_statement.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:6 def comment; end # Sets the attribute comment # # @param value the value to set the attribute comment to. # - # source://activerecord//lib/arel/nodes/delete_statement.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:6 def comment=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/delete_statement.rb#31 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:31 def eql?(other); end # Returns the value of attribute groups. # - # source://activerecord//lib/arel/nodes/delete_statement.rb#6 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:6 def groups=(_arg0); end - # source://activerecord//lib/arel/nodes/delete_statement.rb#27 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:27 def hash; end # Returns the value of attribute havings. # - # source://activerecord//lib/arel/nodes/delete_statement.rb#6 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:6 def wheres=(_arg0); end private - # source://activerecord//lib/arel/nodes/delete_statement.rb#21 + # pkg:gem/activerecord#lib/arel/nodes/delete_statement.rb:21 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/descending.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/descending.rb:5 class Arel::Nodes::Descending < ::Arel::Nodes::Ordering # @return [Boolean] # - # source://activerecord//lib/arel/nodes/descending.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/descending.rb:14 def ascending?; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/descending.rb#18 + # pkg:gem/activerecord#lib/arel/nodes/descending.rb:18 def descending?; end - # source://activerecord//lib/arel/nodes/descending.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/descending.rb:10 def direction; end - # source://activerecord//lib/arel/nodes/descending.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/descending.rb:6 def reverse; end end -# source://activerecord//lib/arel/nodes/terminal.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/terminal.rb:5 class Arel::Nodes::Distinct < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/terminal.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/terminal.rb:13 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/terminal.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/terminal.rb:10 def eql?(other); end - # source://activerecord//lib/arel/nodes/terminal.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/terminal.rb:6 def hash; end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::DistinctOn < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/infix_operation.rb#26 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:27 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/matches.rb#16 +# pkg:gem/activerecord#lib/arel/nodes/matches.rb:16 class Arel::Nodes::DoesNotMatch < ::Arel::Nodes::Matches; end -# source://activerecord//lib/arel/nodes/case.rb#52 +# pkg:gem/activerecord#lib/arel/nodes/case.rb:52 class Arel::Nodes::Else < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/equality.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/equality.rb:8 def equality?; end - # source://activerecord//lib/arel/nodes/equality.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/equality.rb:10 def invert; end end -# source://activerecord//lib/arel/nodes/binary.rb#122 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:122 class Arel::Nodes::Except < ::Arel::Nodes::Binary; end -# source://activerecord//lib/arel/nodes/function.rb#36 +# pkg:gem/activerecord#lib/arel/nodes/function.rb:36 class Arel::Nodes::Exists < ::Arel::Nodes::Function; end -# source://activerecord//lib/arel/nodes/extract.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/extract.rb:8 def initialize(expr, field); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/extract.rb#21 + # pkg:gem/activerecord#lib/arel/nodes/extract.rb:21 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/extract.rb#17 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/extract.rb:6 def field=(_arg0); end - # source://activerecord//lib/arel/nodes/extract.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/extract.rb:13 def hash; end end -# source://activerecord//lib/arel/nodes/false.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/false.rb:5 class Arel::Nodes::False < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/false.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/false.rb:13 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/false.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/false.rb:10 def eql?(other); end - # source://activerecord//lib/arel/nodes/false.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/false.rb:6 def hash; end end -# source://activerecord//lib/arel/nodes/binary.rb#32 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:32 module Arel::Nodes::FetchAttribute - # source://activerecord//lib/arel/nodes/binary.rb#33 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:33 def fetch_attribute(&_arg0); end end -# source://activerecord//lib/arel/nodes/filter.rb#5 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:121 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord//lib/arel/nodes/fragments.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:8 def initialize(values = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://activerecord//lib/arel/nodes/fragments.rb#22 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:22 def +(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/fragments.rb#32 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:32 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/fragments.rb#28 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:28 def eql?(other); end - # source://activerecord//lib/arel/nodes/fragments.rb#18 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:18 def hash; end # Returns the value of attribute values. # - # source://activerecord//lib/arel/nodes/fragments.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:6 def values; end private - # source://activerecord//lib/arel/nodes/fragments.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/fragments.rb:13 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/full_outer_join.rb#5 +# pkg:gem/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 +# pkg:gem/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#11 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:11 def initialize(expr); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/function.rb#26 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:26 def ==(other); end # Returns the value of attribute distinct. # - # source://activerecord//lib/arel/nodes/function.rb#9 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:9 def distinct; end # Sets the attribute distinct # # @param value the value to set the attribute distinct to. # - # source://activerecord//lib/arel/nodes/function.rb#9 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:9 def distinct=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/function.rb#21 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:21 def eql?(other); end # Returns the value of attribute expressions. # - # source://activerecord//lib/arel/nodes/function.rb#9 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:9 def expressions; end # Sets the attribute expressions # # @param value the value to set the attribute expressions to. # - # source://activerecord//lib/arel/nodes/function.rb#9 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:9 def expressions=(_arg0); end - # source://activerecord//lib/arel/nodes/function.rb#17 + # pkg:gem/activerecord#lib/arel/nodes/function.rb:17 def hash; end end -# source://activerecord//lib/arel/nodes/binary.rb#50 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:53 def invert; end end -# source://activerecord//lib/arel/nodes/binary.rb#58 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:61 def invert; end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Group < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/grouping.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/grouping.rb:5 class Arel::Nodes::Grouping < ::Arel::Nodes::Unary - # source://activerecord//lib/arel/nodes/grouping.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/grouping.rb:6 def fetch_attribute(&block); end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::GroupingElement < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::GroupingSet < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/homogeneous_in.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:8 def initialize(values, attribute, type); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#21 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:6 def attribute; end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#39 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:39 def casted_values; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#18 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:18 def eql?(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#23 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:23 def equality?; end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#54 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:54 def fetch_attribute(&block); end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:14 def hash; end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#27 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:27 def invert; end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#31 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:31 def left; end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#50 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:50 def proc_for_binds; end - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#35 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:6 def values; end protected - # source://activerecord//lib/arel/nodes/homogeneous_in.rb#63 + # pkg:gem/activerecord#lib/arel/nodes/homogeneous_in.rb:63 def ivars; end end -# source://activerecord//lib/arel/nodes/in.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/in.rb:8 def equality?; end - # source://activerecord//lib/arel/nodes/in.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/in.rb:10 def invert; end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:12 def operator; end end -# source://activerecord//lib/arel/nodes/inner_join.rb#5 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/insert_statement.rb:6 def columns=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/insert_statement.rb#27 + # pkg:gem/activerecord#lib/arel/nodes/insert_statement.rb:27 def eql?(other); end - # source://activerecord//lib/arel/nodes/insert_statement.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/insert_statement.rb:6 def values=(_arg0); end private - # source://activerecord//lib/arel/nodes/insert_statement.rb#16 + # pkg:gem/activerecord#lib/arel/nodes/insert_statement.rb:16 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/binary.rb#122 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:122 class Arel::Nodes::Intersect < ::Arel::Nodes::Binary; end -# source://activerecord//lib/arel/nodes/binary.rb#82 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:85 def invert; end end -# source://activerecord//lib/arel/nodes/binary.rb#90 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:93 def invert; end end -# source://activerecord//lib/arel/nodes/binary.rb#122 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:122 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/join_source.rb:15 def empty?; end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Lateral < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/leading_join.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/leading_join.rb:5 class Arel::Nodes::LeadingJoin < ::Arel::Nodes::InnerJoin; end -# source://activerecord//lib/arel/nodes/binary.rb#66 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:69 def invert; end end -# source://activerecord//lib/arel/nodes/binary.rb#74 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:77 def invert; end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Limit < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Lock < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/matches.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/matches.rb:6 def escape; end end -# source://activerecord//lib/arel/nodes/function.rb#36 +# pkg:gem/activerecord#lib/arel/nodes/function.rb:36 class Arel::Nodes::Max < ::Arel::Nodes::Function; end -# source://activerecord//lib/arel/nodes/function.rb#36 +# pkg:gem/activerecord#lib/arel/nodes/function.rb:36 class Arel::Nodes::Min < ::Arel::Nodes::Function; end -# source://activerecord//lib/arel/nodes/infix_operation.rb#20 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:21 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/named_function.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/named_function.rb:8 def initialize(name, expr); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/named_function.rb#20 + # pkg:gem/activerecord#lib/arel/nodes/named_function.rb:20 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/named_function.rb#17 + # pkg:gem/activerecord#lib/arel/nodes/named_function.rb:17 def eql?(other); end - # source://activerecord//lib/arel/nodes/named_function.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/named_function.rb:6 def name=(_arg0); end end -# source://activerecord//lib/arel/nodes/window.rb#68 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:71 def initialize(name); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#88 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:88 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#85 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:85 def eql?(other); end - # source://activerecord//lib/arel/nodes/window.rb#81 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:81 def hash; end # Returns the value of attribute name. # - # source://activerecord//lib/arel/nodes/window.rb#69 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:69 def name=(_arg0); end private - # source://activerecord//lib/arel/nodes/window.rb#76 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:76 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/nary.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/nary.rb:5 class Arel::Nodes::Nary < ::Arel::Nodes::NodeExpression # @return [Nary] a new instance of Nary # - # source://activerecord//lib/arel/nodes/nary.rb#8 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:8 def initialize(children); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/nary.rb#33 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:33 def ==(other); end # Returns the value of attribute children. # - # source://activerecord//lib/arel/nodes/nary.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:6 def children; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/nary.rb#29 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:29 def eql?(other); end - # source://activerecord//lib/arel/nodes/nary.rb#21 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:21 def fetch_attribute(&block); end - # source://activerecord//lib/arel/nodes/nary.rb#25 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:25 def hash; end - # source://activerecord//lib/arel/nodes/nary.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:13 def left; end - # source://activerecord//lib/arel/nodes/nary.rb#17 + # pkg:gem/activerecord#lib/arel/nodes/nary.rb:17 def right; end end @@ -41048,36 +41063,36 @@ end # # # SELECT * FROM "users" WHERE LOWER("users"."name") = 'dhh' AND "users"."age" > '35' # -# source://activerecord//lib/arel/nodes/node.rb#116 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/node.rb:135 def and(right); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/node.rb#158 + # pkg:gem/activerecord#lib/arel/nodes/node.rb:158 def equality?; end - # source://activerecord//lib/arel/nodes/node.rb#155 + # pkg:gem/activerecord#lib/arel/nodes/node.rb:155 def fetch_attribute(&_arg0); end - # source://activerecord//lib/arel/nodes/node.rb#139 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/node.rb:129 def or(right); end # FIXME: this method should go away. I don't like people calling @@ -41086,11 +41101,11 @@ class Arel::Nodes::Node # # Maybe we should just use `Table.engine`? :'( # - # source://activerecord//lib/arel/nodes/node.rb#148 + # pkg:gem/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 +# pkg:gem/activerecord#lib/arel/nodes/node_expression.rb:5 class Arel::Nodes::NodeExpression < ::Arel::Nodes::Node include ::Arel::Expressions include ::Arel::Predications @@ -41099,390 +41114,390 @@ class Arel::Nodes::NodeExpression < ::Arel::Nodes::Node include ::Arel::Math end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Not < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/binary.rb#98 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:101 def invert; end end -# source://activerecord//lib/arel/nodes/binary.rb#106 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/binary.rb:109 def invert; end end -# source://activerecord//lib/arel/nodes/regexp.rb#14 +# pkg:gem/activerecord#lib/arel/nodes/regexp.rb:14 class Arel::Nodes::NotRegexp < ::Arel::Nodes::Regexp; end -# source://activerecord//lib/arel/nodes/ordering.rb#15 +# pkg:gem/activerecord#lib/arel/nodes/ordering.rb:15 class Arel::Nodes::NullsFirst < ::Arel::Nodes::Ordering - # source://activerecord//lib/arel/nodes/ordering.rb#16 + # pkg:gem/activerecord#lib/arel/nodes/ordering.rb:16 def reverse; end end -# source://activerecord//lib/arel/nodes/ordering.rb#21 +# pkg:gem/activerecord#lib/arel/nodes/ordering.rb:21 class Arel::Nodes::NullsLast < ::Arel::Nodes::Ordering - # source://activerecord//lib/arel/nodes/ordering.rb#22 + # pkg:gem/activerecord#lib/arel/nodes/ordering.rb:22 def reverse; end end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::Offset < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::On < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/unary.rb#41 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::OptimizerHints < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/nary.rb#37 +# pkg:gem/activerecord#lib/arel/nodes/nary.rb:37 class Arel::Nodes::Or < ::Arel::Nodes::Nary; end -# source://activerecord//lib/arel/nodes/ordering.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/ordering.rb:5 class Arel::Nodes::Ordering < ::Arel::Nodes::Unary - # source://activerecord//lib/arel/nodes/ordering.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/ordering.rb:6 def nulls_first; end - # source://activerecord//lib/arel/nodes/ordering.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/ordering.rb:10 def nulls_last; end end -# source://activerecord//lib/arel/nodes/outer_join.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/outer_join.rb:5 class Arel::Nodes::OuterJoin < ::Arel::Nodes::Join; end -# source://activerecord//lib/arel/nodes/over.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/over.rb:8 def initialize(left, right = T.unsafe(nil)); end - # source://activerecord//lib/arel/nodes/over.rb#12 + # pkg:gem/activerecord#lib/arel/nodes/over.rb:12 def operator; end end -# source://activerecord//lib/arel/nodes/infix_operation.rb#56 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:57 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/window.rb#114 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:115 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord//lib/arel/nodes/casted.rb#37 +# pkg:gem/activerecord#lib/arel/nodes/casted.rb:37 class Arel::Nodes::Quoted < ::Arel::Nodes::Unary # @return [Boolean] # - # source://activerecord//lib/arel/nodes/casted.rb#43 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:43 def infinite?; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/casted.rb#41 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:41 def nil?; end - # source://activerecord//lib/arel/nodes/casted.rb#39 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:39 def value_before_type_cast; end - # source://activerecord//lib/arel/nodes/casted.rb#38 + # pkg:gem/activerecord#lib/arel/nodes/casted.rb:38 def value_for_database; end end -# source://activerecord//lib/arel/nodes/window.rb#97 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:98 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord//lib/arel/nodes/regexp.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/regexp.rb:6 def case_sensitive=(_arg0); end end -# source://activerecord//lib/arel/nodes/right_outer_join.rb#5 +# pkg:gem/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 +# pkg:gem/activerecord#lib/arel/nodes/unary.rb:41 class Arel::Nodes::RollUp < ::Arel::Nodes::Unary; end -# source://activerecord//lib/arel/nodes/window.rb#91 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:92 def initialize(expr = T.unsafe(nil)); end end -# source://activerecord//lib/arel/nodes/select_core.rb#5 +# pkg:gem/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 + # pkg:gem/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#64 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:6 def comment=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/select_core.rb#52 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:52 def eql?(other); end - # source://activerecord//lib/arel/nodes/select_core.rb#24 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:24 def from; end - # source://activerecord//lib/arel/nodes/select_core.rb#28 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:28 def from=(value); end - # source://activerecord//lib/arel/nodes/select_core.rb#33 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:33 def froms; end - # source://activerecord//lib/arel/nodes/select_core.rb#32 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:6 def groups=(_arg0); end - # source://activerecord//lib/arel/nodes/select_core.rb#45 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:6 def windows=(_arg0); end private - # source://activerecord//lib/arel/nodes/select_core.rb#35 + # pkg:gem/activerecord#lib/arel/nodes/select_core.rb:35 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/select_statement.rb#5 +# pkg:gem/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 + # pkg:gem/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#38 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/select_statement.rb:6 def cores; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/select_statement.rb#29 + # pkg:gem/activerecord#lib/arel/nodes/select_statement.rb:29 def eql?(other); end - # source://activerecord//lib/arel/nodes/select_statement.rb#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/select_statement.rb:7 def with=(_arg0); end private - # source://activerecord//lib/arel/nodes/select_statement.rb#19 + # pkg:gem/activerecord#lib/arel/nodes/select_statement.rb:19 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/sql_literal.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/sql_literal.rb:5 class Arel::Nodes::SqlLiteral < ::String include ::Arel::Expressions include ::Arel::Predications @@ -41491,1185 +41506,1185 @@ class Arel::Nodes::SqlLiteral < ::String # @return [SqlLiteral] a new instance of SqlLiteral # - # source://activerecord//lib/arel/nodes/sql_literal.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/sql_literal.rb:13 def initialize(string, retryable: T.unsafe(nil)); end # @raise [ArgumentError] # - # source://activerecord//lib/arel/nodes/sql_literal.rb#25 + # pkg:gem/activerecord#lib/arel/nodes/sql_literal.rb:25 def +(other); end - # source://activerecord//lib/arel/nodes/sql_literal.rb#18 + # pkg:gem/activerecord#lib/arel/nodes/sql_literal.rb:18 def encode_with(coder); end - # source://activerecord//lib/arel/nodes/sql_literal.rb#22 + # pkg:gem/activerecord#lib/arel/nodes/sql_literal.rb:22 def fetch_attribute(&_arg0); end # Returns the value of attribute retryable. # - # source://activerecord//lib/arel/nodes/sql_literal.rb#11 + # pkg:gem/activerecord#lib/arel/nodes/sql_literal.rb:11 def retryable; end end -# source://activerecord//lib/arel/nodes/string_join.rb#5 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/infix_operation.rb:39 def initialize(left, right); end end -# source://activerecord//lib/arel/nodes/function.rb#36 +# pkg:gem/activerecord#lib/arel/nodes/function.rb:36 class Arel::Nodes::Sum < ::Arel::Nodes::Function; end -# source://activerecord//lib/arel/nodes/table_alias.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:5 class Arel::Nodes::TableAlias < ::Arel::Nodes::Binary - # source://activerecord//lib/arel/nodes/table_alias.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:10 def [](name); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/table_alias.rb#26 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:26 def able_to_type_cast?; end - # source://activerecord//lib/arel/nodes/table_alias.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:6 def name; end - # source://activerecord//lib/arel/nodes/table_alias.rb#7 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:7 def relation; end - # source://activerecord//lib/arel/nodes/table_alias.rb#8 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:8 def table_alias; end - # source://activerecord//lib/arel/nodes/table_alias.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:14 def table_name; end - # source://activerecord//lib/arel/nodes/table_alias.rb#30 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:30 def to_cte; end - # source://activerecord//lib/arel/nodes/table_alias.rb#18 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/table_alias.rb:22 def type_for_attribute(name); end end -# source://activerecord//lib/arel/nodes/true.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/true.rb:5 class Arel::Nodes::True < ::Arel::Nodes::NodeExpression # @return [Boolean] # - # source://activerecord//lib/arel/nodes/true.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/true.rb:13 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/true.rb#10 + # pkg:gem/activerecord#lib/arel/nodes/true.rb:10 def eql?(other); end - # source://activerecord//lib/arel/nodes/true.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/true.rb:6 def hash; end end -# source://activerecord//lib/arel/nodes/unary.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/unary.rb:9 def initialize(expr); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/unary.rb#22 + # pkg:gem/activerecord#lib/arel/nodes/unary.rb:22 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/unary.rb#18 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/unary.rb:6 def expr=(_arg0); end - # source://activerecord//lib/arel/nodes/unary.rb#14 + # pkg:gem/activerecord#lib/arel/nodes/unary.rb:14 def hash; end # Returns the value of attribute expr. # - # source://activerecord//lib/arel/nodes/unary.rb#7 + # pkg:gem/activerecord#lib/arel/nodes/unary.rb:7 def value; end end -# source://activerecord//lib/arel/nodes/unary_operation.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/unary_operation.rb:6 def operator; end end -# source://activerecord//lib/arel/nodes/binary.rb#122 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:122 class Arel::Nodes::Union < ::Arel::Nodes::Binary; end -# source://activerecord//lib/arel/nodes/binary.rb#122 +# pkg:gem/activerecord#lib/arel/nodes/binary.rb:122 class Arel::Nodes::UnionAll < ::Arel::Nodes::Binary; end -# source://activerecord//lib/arel/nodes/unqualified_column.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/unqualified_column.rb:5 class Arel::Nodes::UnqualifiedColumn < ::Arel::Nodes::Unary - # source://activerecord//lib/arel/nodes/unqualified_column.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/unqualified_column.rb:6 def attribute; end - # source://activerecord//lib/arel/nodes/unqualified_column.rb#7 + # pkg:gem/activerecord#lib/arel/nodes/unqualified_column.rb:7 def attribute=(_arg0); end - # source://activerecord//lib/arel/nodes/unqualified_column.rb#13 + # pkg:gem/activerecord#lib/arel/nodes/unqualified_column.rb:13 def column; end - # source://activerecord//lib/arel/nodes/unqualified_column.rb#17 + # pkg:gem/activerecord#lib/arel/nodes/unqualified_column.rb:17 def name; end - # source://activerecord//lib/arel/nodes/unqualified_column.rb#9 + # pkg:gem/activerecord#lib/arel/nodes/unqualified_column.rb:9 def relation; end end -# source://activerecord//lib/arel/nodes/update_statement.rb#5 +# pkg:gem/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 + # pkg:gem/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#45 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:45 def ==(other); end # Returns the value of attribute comment. # - # source://activerecord//lib/arel/nodes/update_statement.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:6 def comment; end # Sets the attribute comment # # @param value the value to set the attribute comment to. # - # source://activerecord//lib/arel/nodes/update_statement.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:6 def comment=(_arg0); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/update_statement.rb#32 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:32 def eql?(other); end # Returns the value of attribute groups. # - # source://activerecord//lib/arel/nodes/update_statement.rb#6 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:6 def groups=(_arg0); end - # source://activerecord//lib/arel/nodes/update_statement.rb#28 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:28 def hash; end # Returns the value of attribute havings. # - # source://activerecord//lib/arel/nodes/update_statement.rb#6 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:6 def wheres=(_arg0); end private - # source://activerecord//lib/arel/nodes/update_statement.rb#22 + # pkg:gem/activerecord#lib/arel/nodes/update_statement.rb:22 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/values_list.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/values_list.rb:5 class Arel::Nodes::ValuesList < ::Arel::Nodes::Unary - # source://activerecord//lib/arel/nodes/values_list.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/values_list.rb:6 def rows; end end -# source://activerecord//lib/arel/nodes/case.rb#49 +# pkg:gem/activerecord#lib/arel/nodes/case.rb:49 class Arel::Nodes::When < ::Arel::Nodes::Binary; end -# source://activerecord//lib/arel/nodes/window.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:8 def initialize; end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#65 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:65 def ==(other); end # @return [Boolean] # - # source://activerecord//lib/arel/nodes/window.rb#59 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:59 def eql?(other); end - # source://activerecord//lib/arel/nodes/window.rb#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:6 def framing=(_arg0); end - # source://activerecord//lib/arel/nodes/window.rb#55 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:55 def hash; end - # source://activerecord//lib/arel/nodes/window.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:6 def orders=(_arg0); end - # source://activerecord//lib/arel/nodes/window.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:6 def partitions=(_arg0); end - # source://activerecord//lib/arel/nodes/window.rb#42 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:42 def range(expr = T.unsafe(nil)); end - # source://activerecord//lib/arel/nodes/window.rb#34 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:34 def rows(expr = T.unsafe(nil)); end private - # source://activerecord//lib/arel/nodes/window.rb#50 + # pkg:gem/activerecord#lib/arel/nodes/window.rb:50 def initialize_copy(other); end end -# source://activerecord//lib/arel/nodes/with.rb#5 +# pkg:gem/activerecord#lib/arel/nodes/with.rb:5 class Arel::Nodes::With < ::Arel::Nodes::Unary - # source://activerecord//lib/arel/nodes/with.rb#6 + # pkg:gem/activerecord#lib/arel/nodes/with.rb:6 def children; end end -# source://activerecord//lib/arel/nodes/with.rb#9 +# pkg:gem/activerecord#lib/arel/nodes/with.rb:9 class Arel::Nodes::WithRecursive < ::Arel::Nodes::With; end -# source://activerecord//lib/arel/order_predications.rb#4 +# pkg:gem/activerecord#lib/arel/order_predications.rb:4 module Arel::OrderPredications - # source://activerecord//lib/arel/order_predications.rb#5 + # pkg:gem/activerecord#lib/arel/order_predications.rb:5 def asc; end - # source://activerecord//lib/arel/order_predications.rb#9 + # pkg:gem/activerecord#lib/arel/order_predications.rb:9 def desc; end end -# source://activerecord//lib/arel/predications.rb#4 +# pkg:gem/activerecord#lib/arel/predications.rb:4 module Arel::Predications - # source://activerecord//lib/arel/predications.rb#37 + # pkg:gem/activerecord#lib/arel/predications.rb:37 def between(other); end - # source://activerecord//lib/arel/predications.rb#215 + # pkg:gem/activerecord#lib/arel/predications.rb:215 def concat(other); end - # source://activerecord//lib/arel/predications.rb#219 + # pkg:gem/activerecord#lib/arel/predications.rb:219 def contains(other); end - # source://activerecord//lib/arel/predications.rb#147 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/predications.rb:159 def does_not_match_all(others, escape = T.unsafe(nil)); end - # source://activerecord//lib/arel/predications.rb#155 + # pkg:gem/activerecord#lib/arel/predications.rb:155 def does_not_match_any(others, escape = T.unsafe(nil)); end - # source://activerecord//lib/arel/predications.rb#151 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/predications.rb:17 def eq(other); end - # source://activerecord//lib/arel/predications.rb#33 + # pkg:gem/activerecord#lib/arel/predications.rb:33 def eq_all(others); end - # source://activerecord//lib/arel/predications.rb#29 + # pkg:gem/activerecord#lib/arel/predications.rb:29 def eq_any(others); end - # source://activerecord//lib/arel/predications.rb#175 + # pkg:gem/activerecord#lib/arel/predications.rb:175 def gt(right); end - # source://activerecord//lib/arel/predications.rb#183 + # pkg:gem/activerecord#lib/arel/predications.rb:183 def gt_all(others); end - # source://activerecord//lib/arel/predications.rb#179 + # pkg:gem/activerecord#lib/arel/predications.rb:179 def gt_any(others); end - # source://activerecord//lib/arel/predications.rb#163 + # pkg:gem/activerecord#lib/arel/predications.rb:163 def gteq(right); end - # source://activerecord//lib/arel/predications.rb#171 + # pkg:gem/activerecord#lib/arel/predications.rb:171 def gteq_all(others); end - # source://activerecord//lib/arel/predications.rb#167 + # pkg:gem/activerecord#lib/arel/predications.rb:167 def gteq_any(others); end - # source://activerecord//lib/arel/predications.rb#65 + # pkg:gem/activerecord#lib/arel/predications.rb:65 def in(other); end - # source://activerecord//lib/arel/predications.rb#80 + # pkg:gem/activerecord#lib/arel/predications.rb:80 def in_all(others); end - # source://activerecord//lib/arel/predications.rb#76 + # pkg:gem/activerecord#lib/arel/predications.rb:76 def in_any(others); end - # source://activerecord//lib/arel/predications.rb#25 + # pkg:gem/activerecord#lib/arel/predications.rb:25 def is_distinct_from(other); end - # source://activerecord//lib/arel/predications.rb#21 + # pkg:gem/activerecord#lib/arel/predications.rb:21 def is_not_distinct_from(other); end - # source://activerecord//lib/arel/predications.rb#187 + # pkg:gem/activerecord#lib/arel/predications.rb:187 def lt(right); end - # source://activerecord//lib/arel/predications.rb#195 + # pkg:gem/activerecord#lib/arel/predications.rb:195 def lt_all(others); end - # source://activerecord//lib/arel/predications.rb#191 + # pkg:gem/activerecord#lib/arel/predications.rb:191 def lt_any(others); end - # source://activerecord//lib/arel/predications.rb#199 + # pkg:gem/activerecord#lib/arel/predications.rb:199 def lteq(right); end - # source://activerecord//lib/arel/predications.rb#207 + # pkg:gem/activerecord#lib/arel/predications.rb:207 def lteq_all(others); end - # source://activerecord//lib/arel/predications.rb#203 + # pkg:gem/activerecord#lib/arel/predications.rb:203 def lteq_any(others); end - # source://activerecord//lib/arel/predications.rb#131 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/predications.rb:135 def matches_regexp(other, case_sensitive = T.unsafe(nil)); end - # source://activerecord//lib/arel/predications.rb#84 + # pkg:gem/activerecord#lib/arel/predications.rb:84 def not_between(other); end - # source://activerecord//lib/arel/predications.rb#5 + # pkg:gem/activerecord#lib/arel/predications.rb:5 def not_eq(other); end - # source://activerecord//lib/arel/predications.rb#13 + # pkg:gem/activerecord#lib/arel/predications.rb:13 def not_eq_all(others); end - # source://activerecord//lib/arel/predications.rb#9 + # pkg:gem/activerecord#lib/arel/predications.rb:9 def not_eq_any(others); end - # source://activerecord//lib/arel/predications.rb#112 + # pkg:gem/activerecord#lib/arel/predications.rb:112 def not_in(other); end - # source://activerecord//lib/arel/predications.rb#127 + # pkg:gem/activerecord#lib/arel/predications.rb:127 def not_in_all(others); end - # source://activerecord//lib/arel/predications.rb#123 + # pkg:gem/activerecord#lib/arel/predications.rb:123 def not_in_any(others); end - # source://activerecord//lib/arel/predications.rb#223 + # pkg:gem/activerecord#lib/arel/predications.rb:223 def overlaps(other); end - # source://activerecord//lib/arel/predications.rb#227 + # pkg:gem/activerecord#lib/arel/predications.rb:227 def quoted_array(others); end - # source://activerecord//lib/arel/predications.rb#211 + # pkg:gem/activerecord#lib/arel/predications.rb:211 def when(right); end private - # source://activerecord//lib/arel/predications.rb#239 + # pkg:gem/activerecord#lib/arel/predications.rb:239 def grouping_all(method_id, others, *extras); end - # source://activerecord//lib/arel/predications.rb#232 + # pkg:gem/activerecord#lib/arel/predications.rb:232 def grouping_any(method_id, others, *extras); end # @return [Boolean] # - # source://activerecord//lib/arel/predications.rb#248 + # pkg:gem/activerecord#lib/arel/predications.rb:248 def infinity?(value); end # @return [Boolean] # - # source://activerecord//lib/arel/predications.rb#256 + # pkg:gem/activerecord#lib/arel/predications.rb:256 def open_ended?(value); end - # source://activerecord//lib/arel/predications.rb#244 + # pkg:gem/activerecord#lib/arel/predications.rb:244 def quoted_node(other); end # @return [Boolean] # - # source://activerecord//lib/arel/predications.rb#252 + # pkg:gem/activerecord#lib/arel/predications.rb:252 def unboundable?(value); end end -# source://activerecord//lib/arel/select_manager.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/select_manager.rb:9 def initialize(table = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#48 + # pkg:gem/activerecord#lib/arel/select_manager.rb:48 def as(other); end - # source://activerecord//lib/arel/select_manager.rb#257 + # pkg:gem/activerecord#lib/arel/select_manager.rb:257 def comment(*values); end - # source://activerecord//lib/arel/select_manager.rb#24 + # pkg:gem/activerecord#lib/arel/select_manager.rb:24 def constraints; end - # source://activerecord//lib/arel/select_manager.rb#159 + # pkg:gem/activerecord#lib/arel/select_manager.rb:159 def distinct(value = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#168 + # pkg:gem/activerecord#lib/arel/select_manager.rb:168 def distinct_on(value); end - # source://activerecord//lib/arel/select_manager.rb#218 + # pkg:gem/activerecord#lib/arel/select_manager.rb:218 def except(other); end # Produces an Arel::Nodes::Exists node # - # source://activerecord//lib/arel/select_manager.rb#44 + # pkg:gem/activerecord#lib/arel/select_manager.rb:44 def exists; end - # source://activerecord//lib/arel/select_manager.rb#90 + # pkg:gem/activerecord#lib/arel/select_manager.rb:90 def from(table); end - # source://activerecord//lib/arel/select_manager.rb#103 + # pkg:gem/activerecord#lib/arel/select_manager.rb:103 def froms; end - # source://activerecord//lib/arel/select_manager.rb#74 + # pkg:gem/activerecord#lib/arel/select_manager.rb:74 def group(*columns); end - # source://activerecord//lib/arel/select_manager.rb#124 + # pkg:gem/activerecord#lib/arel/select_manager.rb:124 def having(expr); end - # source://activerecord//lib/arel/select_manager.rb#214 + # pkg:gem/activerecord#lib/arel/select_manager.rb:214 def intersect(other); end - # source://activerecord//lib/arel/select_manager.rb#107 + # pkg:gem/activerecord#lib/arel/select_manager.rb:107 def join(relation, klass = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#249 + # pkg:gem/activerecord#lib/arel/select_manager.rb:249 def join_sources; end - # source://activerecord//lib/arel/select_manager.rb#223 + # pkg:gem/activerecord#lib/arel/select_manager.rb:223 def lateral(table_name = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#19 + # pkg:gem/activerecord#lib/arel/select_manager.rb:19 def limit; end - # source://activerecord//lib/arel/select_manager.rb#247 + # pkg:gem/activerecord#lib/arel/select_manager.rb:247 def limit=(limit); end - # source://activerecord//lib/arel/select_manager.rb#52 + # pkg:gem/activerecord#lib/arel/select_manager.rb:52 def lock(locking = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#65 + # pkg:gem/activerecord#lib/arel/select_manager.rb:65 def locked; end - # source://activerecord//lib/arel/select_manager.rb#221 + # pkg:gem/activerecord#lib/arel/select_manager.rb:221 def minus(other); end - # source://activerecord//lib/arel/select_manager.rb#28 + # pkg:gem/activerecord#lib/arel/select_manager.rb:28 def offset; end - # source://activerecord//lib/arel/select_manager.rb#40 + # pkg:gem/activerecord#lib/arel/select_manager.rb:40 def offset=(amount); end - # source://activerecord//lib/arel/select_manager.rb#69 + # pkg:gem/activerecord#lib/arel/select_manager.rb:69 def on(*exprs); end - # source://activerecord//lib/arel/select_manager.rb#152 + # pkg:gem/activerecord#lib/arel/select_manager.rb:152 def optimizer_hints(*hints); end - # source://activerecord//lib/arel/select_manager.rb#177 + # pkg:gem/activerecord#lib/arel/select_manager.rb:177 def order(*expr); end - # source://activerecord//lib/arel/select_manager.rb#185 + # pkg:gem/activerecord#lib/arel/select_manager.rb:185 def orders; end - # source://activerecord//lib/arel/select_manager.rb#120 + # pkg:gem/activerecord#lib/arel/select_manager.rb:120 def outer_join(relation); end - # source://activerecord//lib/arel/select_manager.rb#135 + # pkg:gem/activerecord#lib/arel/select_manager.rb:135 def project(*projections); end - # source://activerecord//lib/arel/select_manager.rb#144 + # pkg:gem/activerecord#lib/arel/select_manager.rb:144 def projections; end - # source://activerecord//lib/arel/select_manager.rb#148 + # pkg:gem/activerecord#lib/arel/select_manager.rb:148 def projections=(projections); end - # source://activerecord//lib/arel/select_manager.rb#32 + # pkg:gem/activerecord#lib/arel/select_manager.rb:32 def skip(amount); end - # source://activerecord//lib/arel/select_manager.rb#253 + # pkg:gem/activerecord#lib/arel/select_manager.rb:253 def source; end - # source://activerecord//lib/arel/select_manager.rb#239 + # pkg:gem/activerecord#lib/arel/select_manager.rb:239 def take(limit); end - # source://activerecord//lib/arel/select_manager.rb#22 + # pkg:gem/activerecord#lib/arel/select_manager.rb:22 def taken; end - # source://activerecord//lib/arel/select_manager.rb#203 + # pkg:gem/activerecord#lib/arel/select_manager.rb:203 def union(operation, other = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#189 + # pkg:gem/activerecord#lib/arel/select_manager.rb:189 def where(expr); end - # source://activerecord//lib/arel/select_manager.rb#197 + # pkg:gem/activerecord#lib/arel/select_manager.rb:197 def where_sql(engine = T.unsafe(nil)); end - # source://activerecord//lib/arel/select_manager.rb#129 + # pkg:gem/activerecord#lib/arel/select_manager.rb:129 def window(name); end - # source://activerecord//lib/arel/select_manager.rb#228 + # pkg:gem/activerecord#lib/arel/select_manager.rb:228 def with(*subqueries); end private - # source://activerecord//lib/arel/select_manager.rb#267 + # pkg:gem/activerecord#lib/arel/select_manager.rb:267 def collapse(exprs); end - # source://activerecord//lib/arel/select_manager.rb#14 + # pkg:gem/activerecord#lib/arel/select_manager.rb:14 def initialize_copy(other); end end -# source://activerecord//lib/arel/select_manager.rb#7 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#100 + # pkg:gem/activerecord#lib/arel/table.rb:100 def ==(other); end - # source://activerecord//lib/arel/table.rb#82 + # pkg:gem/activerecord#lib/arel/table.rb:82 def [](name, table = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/arel/table.rb#110 + # pkg:gem/activerecord#lib/arel/table.rb:110 def able_to_type_cast?; end - # source://activerecord//lib/arel/table.rb#30 + # pkg:gem/activerecord#lib/arel/table.rb:30 def alias(name = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/arel/table.rb#95 + # pkg:gem/activerecord#lib/arel/table.rb:95 def eql?(other); end - # source://activerecord//lib/arel/table.rb#34 + # pkg:gem/activerecord#lib/arel/table.rb:34 def from; end - # source://activerecord//lib/arel/table.rb#54 + # pkg:gem/activerecord#lib/arel/table.rb:54 def group(*columns); end - # source://activerecord//lib/arel/table.rb#88 + # pkg:gem/activerecord#lib/arel/table.rb:88 def hash; end - # source://activerecord//lib/arel/table.rb#78 + # pkg:gem/activerecord#lib/arel/table.rb:78 def having(expr); end - # source://activerecord//lib/arel/table.rb#38 + # pkg:gem/activerecord#lib/arel/table.rb:38 def join(relation, klass = T.unsafe(nil)); end # Returns the value of attribute name. # - # source://activerecord//lib/arel/table.rb#11 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/table.rb:11 def name=(_arg0); end - # source://activerecord//lib/arel/table.rb#58 + # pkg:gem/activerecord#lib/arel/table.rb:58 def order(*expr); end - # source://activerecord//lib/arel/table.rb#50 + # pkg:gem/activerecord#lib/arel/table.rb:50 def outer_join(relation); end - # source://activerecord//lib/arel/table.rb#66 + # pkg:gem/activerecord#lib/arel/table.rb:66 def project(*things); end - # source://activerecord//lib/arel/table.rb#74 + # pkg:gem/activerecord#lib/arel/table.rb:74 def skip(amount); end # Returns the value of attribute table_alias. # - # source://activerecord//lib/arel/table.rb#12 + # pkg:gem/activerecord#lib/arel/table.rb:12 def table_alias; end - # source://activerecord//lib/arel/table.rb#70 + # pkg:gem/activerecord#lib/arel/table.rb:70 def take(amount); end - # source://activerecord//lib/arel/table.rb#102 + # pkg:gem/activerecord#lib/arel/table.rb:102 def type_cast_for_database(attr_name, value); end - # source://activerecord//lib/arel/table.rb#106 + # pkg:gem/activerecord#lib/arel/table.rb:106 def type_for_attribute(name); end - # source://activerecord//lib/arel/table.rb#62 + # pkg:gem/activerecord#lib/arel/table.rb:62 def where(condition); end private # Returns the value of attribute type_caster. # - # source://activerecord//lib/arel/table.rb#115 + # pkg:gem/activerecord#lib/arel/table.rb:115 def type_caster; end class << self # Returns the value of attribute engine. # - # source://activerecord//lib/arel/table.rb#9 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/table.rb:9 def engine=(_arg0); end end end -# source://activerecord//lib/arel/tree_manager.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:45 def ast; end - # source://activerecord//lib/arel/tree_manager.rb#47 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:47 def to_dot; end - # source://activerecord//lib/arel/tree_manager.rb#53 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:53 def to_sql(engine = T.unsafe(nil)); end private - # source://activerecord//lib/arel/tree_manager.rb#60 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:60 def initialize_copy(other); end end -# source://activerecord//lib/arel/tree_manager.rb#7 +# pkg:gem/activerecord#lib/arel/tree_manager.rb:7 module Arel::TreeManager::StatementMethods - # source://activerecord//lib/arel/tree_manager.rb#31 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:31 def key; end - # source://activerecord//lib/arel/tree_manager.rb#23 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:23 def key=(key); end - # source://activerecord//lib/arel/tree_manager.rb#13 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:13 def offset(offset); end - # source://activerecord//lib/arel/tree_manager.rb#18 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:18 def order(*expr); end - # source://activerecord//lib/arel/tree_manager.rb#8 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:8 def take(limit); end - # source://activerecord//lib/arel/tree_manager.rb#39 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:39 def where(expr); end - # source://activerecord//lib/arel/tree_manager.rb#35 + # pkg:gem/activerecord#lib/arel/tree_manager.rb:35 def wheres=(exprs); end end -# source://activerecord//lib/arel/update_manager.rb#4 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/update_manager.rb:7 def initialize(table = T.unsafe(nil)); end - # source://activerecord//lib/arel/update_manager.rb#49 + # pkg:gem/activerecord#lib/arel/update_manager.rb:49 def comment(value); end - # source://activerecord//lib/arel/update_manager.rb#33 + # pkg:gem/activerecord#lib/arel/update_manager.rb:33 def group(columns); end - # source://activerecord//lib/arel/update_manager.rb#44 + # pkg:gem/activerecord#lib/arel/update_manager.rb:44 def having(expr); end - # source://activerecord//lib/arel/update_manager.rb#18 + # pkg:gem/activerecord#lib/arel/update_manager.rb:18 def set(values); end # UPDATE +table+ # - # source://activerecord//lib/arel/update_manager.rb#13 + # pkg:gem/activerecord#lib/arel/update_manager.rb:13 def table(table); end end -# source://activerecord//lib/arel.rb#29 +# pkg:gem/activerecord#lib/arel.rb:29 Arel::VERSION = T.let(T.unsafe(nil), String) -# source://activerecord//lib/arel/visitors/visitor.rb#4 +# pkg:gem/activerecord#lib/arel/visitors/visitor.rb:4 module Arel::Visitors; end -# source://activerecord//lib/arel/visitors/dot.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:19 def initialize; end - # source://activerecord//lib/arel/visitors/dot.rb#28 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:28 def accept(object, collector); end private - # source://activerecord//lib/arel/visitors/dot.rb#260 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:260 def edge(name); end - # source://activerecord//lib/arel/visitors/dot.rb#278 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:278 def quote(string); end - # source://activerecord//lib/arel/visitors/dot.rb#282 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:282 def to_dot; end - # source://activerecord//lib/arel/visitors/dot.rb#246 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:246 def visit(o); end - # source://activerecord//lib/arel/visitors/dot.rb#215 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:215 def visit_ActiveModel_Attribute(o); end - # source://activerecord//lib/arel/visitors/dot.rb#182 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:182 def visit_Arel_Attributes_Attribute(o); end - # source://activerecord//lib/arel/visitors/dot.rb#192 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:192 def visit_Arel_Nodes_And(o); end - # source://activerecord//lib/arel/visitors/dot.rb#43 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:43 def visit_Arel_Nodes_Binary(o); end - # source://activerecord//lib/arel/visitors/dot.rb#211 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:211 def visit_Arel_Nodes_BindParam(o); end - # source://activerecord//lib/arel/visitors/dot.rb#236 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:236 def visit_Arel_Nodes_Case(o); end - # source://activerecord//lib/arel/visitors/dot.rb#171 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:171 def visit_Arel_Nodes_Casted(o); end - # source://activerecord//lib/arel/visitors/dot.rb#232 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:232 def visit_Arel_Nodes_Comment(o); end - # source://activerecord//lib/arel/visitors/dot.rb#76 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:76 def visit_Arel_Nodes_Count(o); end # intentionally left blank # - # source://activerecord//lib/arel/visitors/dot.rb#105 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:105 def visit_Arel_Nodes_CurrentRow(o); end - # source://activerecord//lib/arel/visitors/dot.rb#157 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:157 def visit_Arel_Nodes_DeleteStatement(o); end - # source://activerecord//lib/arel/visitors/dot.rb#106 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:106 def visit_Arel_Nodes_Distinct(o); end - # source://activerecord//lib/arel/visitors/dot.rb#108 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:108 def visit_Arel_Nodes_Extract(o); end - # source://activerecord//lib/arel/visitors/dot.rb#34 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:34 def visit_Arel_Nodes_Function(o); end - # source://activerecord//lib/arel/visitors/dot.rb#176 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:176 def visit_Arel_Nodes_HomogeneousIn(o); end - # source://activerecord//lib/arel/visitors/dot.rb#53 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:53 def visit_Arel_Nodes_InfixOperation(o); end - # source://activerecord//lib/arel/visitors/dot.rb#118 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:118 def visit_Arel_Nodes_InsertStatement(o); end - # source://activerecord//lib/arel/visitors/dot.rb#112 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:112 def visit_Arel_Nodes_NamedFunction(o); end - # source://activerecord//lib/arel/visitors/dot.rb#95 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:95 def visit_Arel_Nodes_NamedWindow(o); end - # source://activerecord//lib/arel/visitors/dot.rb#65 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:65 def visit_Arel_Nodes_NotRegexp(o); end - # source://activerecord//lib/arel/visitors/dot.rb#193 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:193 def visit_Arel_Nodes_Or(o); end - # source://activerecord//lib/arel/visitors/dot.rb#67 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:67 def visit_Arel_Nodes_Ordering(o); end - # source://activerecord//lib/arel/visitors/dot.rb#64 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:64 def visit_Arel_Nodes_Regexp(o); end - # source://activerecord//lib/arel/visitors/dot.rb#125 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:125 def visit_Arel_Nodes_SelectCore(o); end - # source://activerecord//lib/arel/visitors/dot.rb#137 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:137 def visit_Arel_Nodes_SelectStatement(o); end - # source://activerecord//lib/arel/visitors/dot.rb#209 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:209 def visit_Arel_Nodes_SqlLiteral(o); end - # source://activerecord//lib/arel/visitors/dot.rb#85 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:85 def visit_Arel_Nodes_StringJoin(o); end - # source://activerecord//lib/arel/visitors/dot.rb#71 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:71 def visit_Arel_Nodes_TableAlias(o); end - # source://activerecord//lib/arel/visitors/dot.rb#39 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:39 def visit_Arel_Nodes_Unary(o); end - # source://activerecord//lib/arel/visitors/dot.rb#48 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:48 def visit_Arel_Nodes_UnaryOperation(o); end - # source://activerecord//lib/arel/visitors/dot.rb#146 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:146 def visit_Arel_Nodes_UpdateStatement(o); end - # source://activerecord//lib/arel/visitors/dot.rb#81 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:81 def visit_Arel_Nodes_ValuesList(o); end - # source://activerecord//lib/arel/visitors/dot.rb#89 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:89 def visit_Arel_Nodes_Window(o); end - # source://activerecord//lib/arel/visitors/dot.rb#194 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:194 def visit_Arel_Nodes_With(o); end - # source://activerecord//lib/arel/visitors/dot.rb#167 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:167 def visit_Arel_Table(o); end - # source://activerecord//lib/arel/visitors/dot.rb#225 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:225 def visit_Array(o); end - # source://activerecord//lib/arel/visitors/dot.rb#206 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:206 def visit_BigDecimal(o); end - # source://activerecord//lib/arel/visitors/dot.rb#200 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:200 def visit_Date(o); end - # source://activerecord//lib/arel/visitors/dot.rb#201 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:201 def visit_DateTime(o); end - # source://activerecord//lib/arel/visitors/dot.rb#204 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:204 def visit_FalseClass(o); end - # source://activerecord//lib/arel/visitors/dot.rb#207 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:207 def visit_Float(o); end - # source://activerecord//lib/arel/visitors/dot.rb#219 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:219 def visit_Hash(o); end - # source://activerecord//lib/arel/visitors/dot.rb#205 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:205 def visit_Integer(o); end - # source://activerecord//lib/arel/visitors/dot.rb#202 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:202 def visit_NilClass(o); end - # source://activerecord//lib/arel/visitors/dot.rb#230 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:230 def visit_Set(o); end - # source://activerecord//lib/arel/visitors/dot.rb#196 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:196 def visit_String(o); end - # source://activerecord//lib/arel/visitors/dot.rb#208 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:208 def visit_Symbol(o); end - # source://activerecord//lib/arel/visitors/dot.rb#199 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:199 def visit_Time(o); end - # source://activerecord//lib/arel/visitors/dot.rb#203 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:203 def visit_TrueClass(o); end - # source://activerecord//lib/arel/visitors/dot.rb#187 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:187 def visit__children(o); end - # source://activerecord//lib/arel/visitors/dot.rb#102 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:102 def visit__no_edges(o); end - # source://activerecord//lib/arel/visitors/dot.rb#59 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:59 def visit__regexp(o); end - # source://activerecord//lib/arel/visitors/dot.rb#242 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:242 def visit_edge(o, method); end - # source://activerecord//lib/arel/visitors/dot.rb#268 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:268 def with_node(node); end end -# source://activerecord//lib/arel/visitors/dot.rb#16 +# pkg:gem/activerecord#lib/arel/visitors/dot.rb:16 class Arel::Visitors::Dot::Edge < ::Struct; end -# source://activerecord//lib/arel/visitors/dot.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/dot.rb:7 def name=(_arg0); end end -# source://activerecord//lib/arel/visitors/mysql.rb#5 +# pkg:gem/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#93 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:93 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#89 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:89 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#81 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:81 def prepare_update_statement(o); end - # source://activerecord//lib/arel/visitors/mysql.rb#7 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:7 def visit_Arel_Nodes_Bin(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#34 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:34 def visit_Arel_Nodes_Concat(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#72 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:72 def visit_Arel_Nodes_Cte(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#49 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:49 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#43 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:43 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#58 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:58 def visit_Arel_Nodes_NotRegexp(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#62 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:62 def visit_Arel_Nodes_NullsFirst(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#67 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:67 def visit_Arel_Nodes_NullsLast(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#54 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:54 def visit_Arel_Nodes_Regexp(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#29 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:29 def visit_Arel_Nodes_SelectCore(o, collector); end # :'( @@ -42677,630 +42692,630 @@ 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 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:22 def visit_Arel_Nodes_SelectStatement(o, collector); end - # source://activerecord//lib/arel/visitors/mysql.rb#13 + # pkg:gem/activerecord#lib/arel/visitors/mysql.rb:13 def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end end -# source://activerecord//lib/arel/visitors/postgresql.rb#5 +# pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:5 class Arel::Visitors::PostgreSQL < ::Arel::Visitors::ToSql private - # source://activerecord//lib/arel/visitors/postgresql.rb#139 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:139 def bind_block; end # Utilized by GroupingSet, Cube & RollUp visitors to # handle grouping aggregation semantics # - # source://activerecord//lib/arel/visitors/postgresql.rb#143 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:143 def grouping_array_or_grouping_element(o, collector); end # In the simple case, PostgreSQL allows us to place FROM or 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/postgresql.rb#38 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:38 def prepare_update_statement(o); end - # source://activerecord//lib/arel/visitors/postgresql.rb#98 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:98 def visit_Arel_Nodes_Cube(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#88 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:88 def visit_Arel_Nodes_DistinctOn(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#67 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:67 def visit_Arel_Nodes_DoesNotMatch(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#93 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:93 def visit_Arel_Nodes_GroupingElement(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#108 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:108 def visit_Arel_Nodes_GroupingSet(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#118 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:118 def visit_Arel_Nodes_InnerJoin(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#130 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:130 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#124 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:124 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#113 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:113 def visit_Arel_Nodes_Lateral(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#56 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:56 def visit_Arel_Nodes_Matches(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#83 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:83 def visit_Arel_Nodes_NotRegexp(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#78 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:78 def visit_Arel_Nodes_Regexp(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#103 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:103 def visit_Arel_Nodes_RollUp(o, collector); end - # source://activerecord//lib/arel/visitors/postgresql.rb#7 + # pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:7 def visit_Arel_Nodes_UpdateStatement(o, collector); end end -# source://activerecord//lib/arel/visitors/postgresql.rb#136 +# pkg:gem/activerecord#lib/arel/visitors/postgresql.rb:136 Arel::Visitors::PostgreSQL::BIND_BLOCK = T.let(T.unsafe(nil), Proc) -# source://activerecord//lib/arel/visitors/sqlite.rb#5 +# pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:5 class Arel::Visitors::SQLite < ::Arel::Visitors::ToSql private # Queries used in UNION should not be wrapped by parentheses, # because it is an invalid syntax in SQLite. # - # source://activerecord//lib/arel/visitors/sqlite.rb#86 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:86 def infix_value_with_paren(o, collector, value, suppress_parens = T.unsafe(nil)); end - # source://activerecord//lib/arel/visitors/sqlite.rb#35 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:35 def prepare_update_statement(o); end - # source://activerecord//lib/arel/visitors/sqlite.rb#78 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:78 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/sqlite.rb#72 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:72 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end # Locks are not supported in SQLite # - # source://activerecord//lib/arel/visitors/sqlite.rb#63 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:63 def visit_Arel_Nodes_Lock(o, collector); end - # source://activerecord//lib/arel/visitors/sqlite.rb#67 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:67 def visit_Arel_Nodes_SelectStatement(o, collector); end - # source://activerecord//lib/arel/visitors/sqlite.rb#55 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:55 def visit_Arel_Nodes_TableAlias(o, collector); end - # source://activerecord//lib/arel/visitors/sqlite.rb#7 + # pkg:gem/activerecord#lib/arel/visitors/sqlite.rb:7 def visit_Arel_Nodes_UpdateStatement(o, collector); end end -# source://activerecord//lib/arel/visitors/to_sql.rb#11 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:12 def initialize(connection); end - # source://activerecord//lib/arel/visitors/to_sql.rb#17 + # pkg:gem/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#986 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:986 def aggregate(name, o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#744 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:744 def bind_block; end # FIXME: we should probably have a 2-pass visitor for this # - # source://activerecord//lib/arel/visitors/to_sql.rb#933 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:933 def build_subselect(key, o); end - # source://activerecord//lib/arel/visitors/to_sql.rb#1007 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:1007 def collect_ctes(children, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#175 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:175 def collect_nodes_for(nodes, collector, spacer, connector = T.unsafe(nil)); end - # source://activerecord//lib/arel/visitors/to_sql.rb#877 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:877 def collect_optimizer_hints(o, collector); end # Used by some visitors to enclose select queries in parentheses # - # source://activerecord//lib/arel/visitors/to_sql.rb#971 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:971 def grouping_parentheses(o, collector, always_wrap_selects = T.unsafe(nil)); end # @return [Boolean] # - # source://activerecord//lib/arel/visitors/to_sql.rb#907 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:907 def has_group_by_and_having?(o); end # @return [Boolean] # - # source://activerecord//lib/arel/visitors/to_sql.rb#899 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:899 def has_join_sources?(o); end # @return [Boolean] # - # source://activerecord//lib/arel/visitors/to_sql.rb#903 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:903 def has_limit_or_offset_or_orders?(o); end - # source://activerecord//lib/arel/visitors/to_sql.rb#947 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:947 def infix_value(o, collector, value); end - # source://activerecord//lib/arel/visitors/to_sql.rb#953 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:953 def infix_value_with_paren(o, collector, value, suppress_parens = T.unsafe(nil)); end - # source://activerecord//lib/arel/visitors/to_sql.rb#887 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:887 def inject_join(list, collector, join_str); end - # source://activerecord//lib/arel/visitors/to_sql.rb#994 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:994 def is_distinct_from(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#881 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:881 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#930 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:930 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#914 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:914 def prepare_update_statement(o); end - # source://activerecord//lib/arel/visitors/to_sql.rb#857 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:857 def quote(value); end - # source://activerecord//lib/arel/visitors/to_sql.rb#867 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:867 def quote_column_name(name); end - # source://activerecord//lib/arel/visitors/to_sql.rb#862 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:862 def quote_table_name(name); end # @return [Boolean] # - # source://activerecord//lib/arel/visitors/to_sql.rb#982 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:982 def require_parentheses?(o); end - # source://activerecord//lib/arel/visitors/to_sql.rb#872 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:872 def sanitize_as_sql_comment(value); end # @return [Boolean] # - # source://activerecord//lib/arel/visitors/to_sql.rb#895 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:895 def unboundable?(value); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#818 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:818 def unsupported(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#746 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:746 def visit_ActiveModel_Attribute(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#822 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:822 def visit_ActiveSupport_Multibyte_Chars(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#823 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:823 def visit_ActiveSupport_StringInquirer(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#736 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:736 def visit_Arel_Attributes_Attribute(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#612 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:612 def visit_Arel_Nodes_And(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#683 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:683 def visit_Arel_Nodes_As(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#359 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:359 def visit_Arel_Nodes_Ascending(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#620 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:620 def visit_Arel_Nodes_Assignment(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#411 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:411 def visit_Arel_Nodes_Avg(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#421 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:421 def visit_Arel_Nodes_Between(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#182 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:182 def visit_Arel_Nodes_Bin(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#750 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:750 def visit_Arel_Nodes_BindParam(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#760 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:760 def visit_Arel_Nodes_BoundSqlLiteral(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#689 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:689 def visit_Arel_Nodes_Case(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#83 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:83 def visit_Arel_Nodes_Casted(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#171 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:171 def visit_Arel_Nodes_Comment(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#395 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:395 def visit_Arel_Nodes_Count(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#722 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:722 def visit_Arel_Nodes_Cte(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#292 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:292 def visit_Arel_Nodes_CurrentRow(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#22 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:22 def visit_Arel_Nodes_DeleteStatement(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#363 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:363 def visit_Arel_Nodes_Descending(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#186 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:186 def visit_Arel_Nodes_Distinct(o, collector); end # @raise [NotImplementedError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#190 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:190 def visit_Arel_Nodes_DistinctOn(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#487 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:487 def visit_Arel_Nodes_DoesNotMatch(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#713 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:713 def visit_Arel_Nodes_Else(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#633 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:633 def visit_Arel_Nodes_Equality(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#217 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:217 def visit_Arel_Nodes_Except(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#78 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:78 def visit_Arel_Nodes_Exists(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#390 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:390 def visit_Arel_Nodes_Extract(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#92 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:92 def visit_Arel_Nodes_False(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#247 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:247 def visit_Arel_Nodes_Filter(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#282 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:282 def visit_Arel_Nodes_Following(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#853 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:853 def visit_Arel_Nodes_Fragments(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#522 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:522 def visit_Arel_Nodes_FullOuterJoin(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#439 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:439 def visit_Arel_Nodes_GreaterThan(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#427 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:427 def visit_Arel_Nodes_GreaterThanOrEqual(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#378 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:378 def visit_Arel_Nodes_Group(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#323 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:323 def visit_Arel_Nodes_Grouping(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#332 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:332 def visit_Arel_Nodes_HomogeneousIn(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#578 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:578 def visit_Arel_Nodes_In(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#837 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:837 def visit_Arel_Nodes_InfixOperation(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#543 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:543 def visit_Arel_Nodes_InnerJoin(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#55 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:55 def visit_Arel_Nodes_InsertStatement(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#212 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:212 def visit_Arel_Nodes_Intersect(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#658 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:658 def visit_Arel_Nodes_IsDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#648 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:648 def visit_Arel_Nodes_IsNotDistinctFrom(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#499 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:499 def visit_Arel_Nodes_JoinSource(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#463 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:463 def visit_Arel_Nodes_LessThan(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#451 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:451 def visit_Arel_Nodes_LessThanOrEqual(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#314 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:314 def visit_Arel_Nodes_Limit(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#319 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:319 def visit_Arel_Nodes_Lock(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#475 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:475 def visit_Arel_Nodes_Matches(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#403 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:403 def visit_Arel_Nodes_Max(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#407 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:407 def visit_Arel_Nodes_Min(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#382 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:382 def visit_Arel_Nodes_NamedFunction(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#222 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:222 def visit_Arel_Nodes_NamedWindow(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#559 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:559 def visit_Arel_Nodes_Not(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#668 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:668 def visit_Arel_Nodes_NotEqual(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#595 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:595 def visit_Arel_Nodes_NotIn(o, collector); end # @raise [NotImplementedError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#514 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:514 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#368 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:368 def visit_Arel_Nodes_NullsFirst(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#373 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:373 def visit_Arel_Nodes_NullsLast(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#309 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:309 def visit_Arel_Nodes_Offset(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#554 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:554 def visit_Arel_Nodes_On(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#166 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:166 def visit_Arel_Nodes_OptimizerHints(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#616 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:616 def visit_Arel_Nodes_Or(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#529 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:529 def visit_Arel_Nodes_OuterJoin(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#296 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:296 def visit_Arel_Nodes_Over(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#272 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:272 def visit_Arel_Nodes_Preceding(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#86 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:86 def visit_Arel_Nodes_Quoted(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#263 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:263 def visit_Arel_Nodes_Range(o, collector); end # @raise [NotImplementedError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#510 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:510 def visit_Arel_Nodes_Regexp(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#536 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:536 def visit_Arel_Nodes_RightOuterJoin(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#254 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:254 def visit_Arel_Nodes_Rows(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#145 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:145 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#139 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:139 def visit_Arel_Nodes_SelectOptions(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#116 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:116 def visit_Arel_Nodes_SelectStatement(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#754 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:754 def visit_Arel_Nodes_SqlLiteral(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#518 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:518 def visit_Arel_Nodes_StringJoin(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#399 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:399 def visit_Arel_Nodes_Sum(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#415 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:415 def visit_Arel_Nodes_TableAlias(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#88 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:88 def visit_Arel_Nodes_True(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#843 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:843 def visit_Arel_Nodes_UnaryOperation(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#204 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:204 def visit_Arel_Nodes_Union(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#208 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:208 def visit_Arel_Nodes_UnionAll(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#718 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:718 def visit_Arel_Nodes_UnqualifiedColumn(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#41 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:41 def visit_Arel_Nodes_UpdateStatement(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#96 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:96 def visit_Arel_Nodes_ValuesList(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#706 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:706 def visit_Arel_Nodes_When(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#228 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:228 def visit_Arel_Nodes_Window(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#194 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:194 def visit_Arel_Nodes_With(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#199 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:199 def visit_Arel_Nodes_WithRecursive(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#354 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:354 def visit_Arel_SelectManager(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#564 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:564 def visit_Arel_Table(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#848 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:848 def visit_Array(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#824 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:824 def visit_BigDecimal(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#825 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:825 def visit_Class(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#826 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:826 def visit_Date(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#827 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:827 def visit_DateTime(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#828 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:828 def visit_FalseClass(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#829 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:829 def visit_Float(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#830 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:830 def visit_Hash(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#814 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:814 def visit_Integer(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#831 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:831 def visit_NilClass(o, collector); end - # source://activerecord//lib/arel/visitors/to_sql.rb#851 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:851 def visit_Set(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#832 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:832 def visit_String(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#833 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:833 def visit_Symbol(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#834 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:834 def visit_Time(o, collector); end # @raise [UnsupportedVisitError] # - # source://activerecord//lib/arel/visitors/to_sql.rb#835 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:835 def visit_TrueClass(o, collector); end end -# source://activerecord//lib/arel/visitors/to_sql.rb#741 +# pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:741 Arel::Visitors::ToSql::BIND_BLOCK = T.let(T.unsafe(nil), Proc) -# source://activerecord//lib/arel/visitors/to_sql.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/to_sql.rb:6 def initialize(object); end end -# source://activerecord//lib/arel/visitors/visitor.rb#5 +# pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/visitor.rb:6 def initialize; end - # source://activerecord//lib/arel/visitors/visitor.rb#10 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/visitor.rb:15 def dispatch; end - # source://activerecord//lib/arel/visitors/visitor.rb#23 + # pkg:gem/activerecord#lib/arel/visitors/visitor.rb:23 def get_dispatch_cache; end - # source://activerecord//lib/arel/visitors/visitor.rb#27 + # pkg:gem/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 + # pkg:gem/activerecord#lib/arel/visitors/visitor.rb:17 def dispatch_cache; end end end -# source://activerecord//lib/arel/window_predications.rb#4 +# pkg:gem/activerecord#lib/arel/window_predications.rb:4 module Arel::WindowPredications - # source://activerecord//lib/arel/window_predications.rb#5 + # pkg:gem/activerecord#lib/arel/window_predications.rb:5 def over(expr = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/activeresource@6.2.0.rbi b/sorbet/rbi/gems/activeresource@6.2.0.rbi index 300de38e3..8907be054 100644 --- a/sorbet/rbi/gems/activeresource@6.2.0.rbi +++ b/sorbet/rbi/gems/activeresource@6.2.0.rbi @@ -5,17 +5,17 @@ # Please instead update this file by running `bin/tapioca gem activeresource`. -# source://activeresource//lib/active_resource/exceptions.rb#3 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:3 module ActiveResource extend ::ActiveSupport::Autoload class << self - # source://activeresource//lib/active_resource.rb#57 + # pkg:gem/activeresource#lib/active_resource.rb:57 def deprecator; end end end -# source://activeresource//lib/active_resource/associations.rb#3 +# pkg:gem/activeresource#lib/active_resource/associations.rb:3 module ActiveResource::Associations # Specifies a one-to-one association with another class. This class should only be used # if this class contains the foreign key. @@ -56,20 +56,20 @@ module ActiveResource::Associations # belongs_to :customer, :foreign_key => 'user_id' # Creates a belongs_to association called customer which would be resolved by the foreign_key user_id instead of customer_id # - # source://activeresource//lib/active_resource/associations.rb#116 + # pkg:gem/activeresource#lib/active_resource/associations.rb:116 def belongs_to(name, options = T.unsafe(nil)); end # Defines the belongs_to association finder method # - # source://activeresource//lib/active_resource/associations.rb#121 + # pkg:gem/activeresource#lib/active_resource/associations.rb:121 def defines_belongs_to_finder_method(reflection); end - # source://activeresource//lib/active_resource/associations.rb#141 + # pkg:gem/activeresource#lib/active_resource/associations.rb:141 def defines_has_many_finder_method(reflection); end # Defines the has_one association # - # source://activeresource//lib/active_resource/associations.rb#159 + # pkg:gem/activeresource#lib/active_resource/associations.rb:159 def defines_has_one_finder_method(reflection); end # Specifies a one-to-many association. @@ -103,7 +103,7 @@ module ActiveResource::Associations # For the example above, if the comments are not present the requested path would be: # GET /posts/123/comments.xml # - # source://activeresource//lib/active_resource/associations.rb#43 + # pkg:gem/activeresource#lib/active_resource/associations.rb:43 def has_many(name, options = T.unsafe(nil)); end # Specifies a one-to-one association. @@ -132,161 +132,161 @@ module ActiveResource::Associations # For example, if a Product class has_one :inventory calling Product#inventory # will generate a request on /products/:product_id/inventory.json. # - # source://activeresource//lib/active_resource/associations.rb#73 + # pkg:gem/activeresource#lib/active_resource/associations.rb:73 def has_one(name, options = T.unsafe(nil)); end end -# source://activeresource//lib/active_resource/associations.rb#4 +# pkg:gem/activeresource#lib/active_resource/associations.rb:4 module ActiveResource::Associations::Builder; end -# source://activeresource//lib/active_resource/associations/builder/association.rb#4 +# pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:4 class ActiveResource::Associations::Builder::Association # @return [Association] a new instance of Association # - # source://activeresource//lib/active_resource/associations/builder/association.rb#18 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:18 def initialize(model, name, options); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#22 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:22 def build; end # Returns the value of attribute klass. # - # source://activeresource//lib/active_resource/associations/builder/association.rb#12 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:12 def klass; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def macro; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def macro=(_arg0); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def macro?; end # Returns the value of attribute model. # - # source://activeresource//lib/active_resource/associations/builder/association.rb#12 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:12 def model; end # Returns the value of attribute name. # - # source://activeresource//lib/active_resource/associations/builder/association.rb#12 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:12 def name; end # Returns the value of attribute options. # - # source://activeresource//lib/active_resource/associations/builder/association.rb#12 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:12 def options; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def valid_options; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def valid_options=(_arg0); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def valid_options?; end private - # source://activeresource//lib/active_resource/associations/builder/association.rb#28 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:28 def validate_options; end class << self - # source://activeresource//lib/active_resource/associations/builder/association.rb#14 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:14 def build(model, name, options); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def macro; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def macro=(value); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def macro?; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def valid_options; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def valid_options=(value); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def valid_options?; end private - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def __class_attr_macro; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#10 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:10 def __class_attr_macro=(new_value); end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def __class_attr_valid_options; end - # source://activeresource//lib/active_resource/associations/builder/association.rb#6 + # pkg:gem/activeresource#lib/active_resource/associations/builder/association.rb:6 def __class_attr_valid_options=(new_value); end end end -# source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#4 +# pkg:gem/activeresource#lib/active_resource/associations/builder/belongs_to.rb:4 class ActiveResource::Associations::Builder::BelongsTo < ::ActiveResource::Associations::Builder::Association - # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#9 + # pkg:gem/activeresource#lib/active_resource/associations/builder/belongs_to.rb:9 def build; end class << self private - # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#7 + # pkg:gem/activeresource#lib/active_resource/associations/builder/belongs_to.rb:7 def __class_attr_macro; end - # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#7 + # pkg:gem/activeresource#lib/active_resource/associations/builder/belongs_to.rb:7 def __class_attr_macro=(new_value); end - # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#5 + # pkg:gem/activeresource#lib/active_resource/associations/builder/belongs_to.rb:5 def __class_attr_valid_options; end - # source://activeresource//lib/active_resource/associations/builder/belongs_to.rb#5 + # pkg:gem/activeresource#lib/active_resource/associations/builder/belongs_to.rb:5 def __class_attr_valid_options=(new_value); end end end -# source://activeresource//lib/active_resource/associations/builder/has_many.rb#4 +# pkg:gem/activeresource#lib/active_resource/associations/builder/has_many.rb:4 class ActiveResource::Associations::Builder::HasMany < ::ActiveResource::Associations::Builder::Association - # source://activeresource//lib/active_resource/associations/builder/has_many.rb#7 + # pkg:gem/activeresource#lib/active_resource/associations/builder/has_many.rb:7 def build; end class << self private - # source://activeresource//lib/active_resource/associations/builder/has_many.rb#5 + # pkg:gem/activeresource#lib/active_resource/associations/builder/has_many.rb:5 def __class_attr_macro; end - # source://activeresource//lib/active_resource/associations/builder/has_many.rb#5 + # pkg:gem/activeresource#lib/active_resource/associations/builder/has_many.rb:5 def __class_attr_macro=(new_value); end end end -# source://activeresource//lib/active_resource/associations/builder/has_one.rb#4 +# pkg:gem/activeresource#lib/active_resource/associations/builder/has_one.rb:4 class ActiveResource::Associations::Builder::HasOne < ::ActiveResource::Associations::Builder::Association - # source://activeresource//lib/active_resource/associations/builder/has_one.rb#7 + # pkg:gem/activeresource#lib/active_resource/associations/builder/has_one.rb:7 def build; end class << self private - # source://activeresource//lib/active_resource/associations/builder/has_one.rb#5 + # pkg:gem/activeresource#lib/active_resource/associations/builder/has_one.rb:5 def __class_attr_macro; end - # source://activeresource//lib/active_resource/associations/builder/has_one.rb#5 + # pkg:gem/activeresource#lib/active_resource/associations/builder/has_one.rb:5 def __class_attr_macro=(new_value); end end end # 400 Bad Request # -# source://activeresource//lib/active_resource/exceptions.rb#56 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:56 class ActiveResource::BadRequest < ::ActiveResource::ClientError; end # ActiveResource::Base is the main class for mapping RESTful resources as models in a Rails application. @@ -583,7 +583,7 @@ class ActiveResource::BadRequest < ::ActiveResource::ClientError; end # self.read_timeout = 10 # end # -# source://activeresource//lib/active_resource/base.rb#319 +# pkg:gem/activeresource#lib/active_resource/base.rb:319 class ActiveResource::Base include ::ActiveResource::Serialization include ::ActiveModel::Validations @@ -632,7 +632,7 @@ class ActiveResource::Base # # @return [Base] a new instance of Base # - # source://activeresource//lib/active_resource/base.rb#1239 + # pkg:gem/activeresource#lib/active_resource/base.rb:1239 def initialize(attributes = T.unsafe(nil), persisted = T.unsafe(nil)); end # Test for equality. Resource are equal if and only if +other+ is the same object or @@ -657,94 +657,94 @@ class ActiveResource::Base # ryan == ryans_twin # # => true # - # source://activeresource//lib/active_resource/base.rb#1344 + # pkg:gem/activeresource#lib/active_resource/base.rb:1344 def ==(other); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __callbacks; end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def _collection_parser; end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def _collection_parser=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def _collection_parser?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _create_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _destroy_callbacks; end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def _format; end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def _format=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def _format?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_create_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_create_callbacks!(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_destroy_callbacks(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_destroy_callbacks!(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_save_callbacks(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_save_callbacks!(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_update_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_update_callbacks!(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_validate_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_validate_callbacks!(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_validation_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _run_validation_callbacks!(&block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _save_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _update_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validate_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validation_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validators; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validators?; end - # source://activeresource//lib/active_resource/base.rb#1210 + # pkg:gem/activeresource#lib/active_resource/base.rb:1210 def attributes; end - # source://activeresource//lib/active_resource/base.rb#1210 + # pkg:gem/activeresource#lib/active_resource/base.rb:1210 def attributes=(_arg0); end # Returns a \clone of the resource that hasn't been assigned an +id+ yet and @@ -768,16 +768,16 @@ class ActiveResource::Base # not_ryan.address # => NoMethodError # not_ryan.hash # => {:not => "an ARes instance"} # - # source://activeresource//lib/active_resource/base.rb#1266 + # pkg:gem/activeresource#lib/active_resource/base.rb:1266 def clone; end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def connection_class; end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def connection_class=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def connection_class?; end # Deletes the resource from the remote service. @@ -793,7 +793,7 @@ class ActiveResource::Base # new_person.destroy # Person.find(new_id) # 404 (Resource Not Found) # - # source://activeresource//lib/active_resource/base.rb#1426 + # pkg:gem/activeresource#lib/active_resource/base.rb:1426 def destroy; end # Duplicates the current resource without saving it. @@ -809,21 +809,21 @@ class ActiveResource::Base # my_invoice.customer # => That Company # next_invoice.customer # => That Company # - # source://activeresource//lib/active_resource/base.rb#1371 + # pkg:gem/activeresource#lib/active_resource/base.rb:1371 def dup; end # Returns the serialized string representation of the resource in the configured # serialization format specified in ActiveResource::Base.format. The options # applicable depend on the configured encoding format. # - # source://activeresource//lib/active_resource/base.rb#1455 + # pkg:gem/activeresource#lib/active_resource/base.rb:1455 def encode(options = T.unsafe(nil)); end # Tests for equality (delegates to ==). # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1349 + # pkg:gem/activeresource#lib/active_resource/base.rb:1349 def eql?(other); end # Evaluates to true if this resource is not new? and is @@ -845,45 +845,45 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1448 + # pkg:gem/activeresource#lib/active_resource/base.rb:1448 def exists?; end # Delegates to id in order to allow two resources of the same type and \id to work with something like: # [(a = Person.find 1), (b = Person.find 2)] & [(c = Person.find 1), (d = Person.find 4)] # => [a] # - # source://activeresource//lib/active_resource/base.rb#1355 + # pkg:gem/activeresource#lib/active_resource/base.rb:1355 def hash; end # Gets the \id attribute of the resource. # - # source://activeresource//lib/active_resource/base.rb#1313 + # pkg:gem/activeresource#lib/active_resource/base.rb:1313 def id; end # Sets the \id attribute of the resource. # - # source://activeresource//lib/active_resource/base.rb#1318 + # pkg:gem/activeresource#lib/active_resource/base.rb:1318 def id=(id); end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def include_format_in_path; end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def include_format_in_path=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def include_format_in_path?; end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def include_root_in_json; end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def include_root_in_json?; end # This is a list of known attributes for this resource. Either # gathered from the provided schema, or from the attributes # set on this instance after it has been fetched from the remote system. # - # source://activeresource//lib/active_resource/base.rb#1223 + # pkg:gem/activeresource#lib/active_resource/base.rb:1223 def known_attributes; end # A method to manually load attributes from a \hash. Recursively loads collections of @@ -908,16 +908,16 @@ class ActiveResource::Base # your_supplier.load(my_attrs) # your_supplier.save # - # source://activeresource//lib/active_resource/base.rb#1497 + # pkg:gem/activeresource#lib/active_resource/base.rb:1497 def load(attributes, remove_root = T.unsafe(nil), persisted = T.unsafe(nil)); end # :singleton-method: # The logger for diagnosing and tracing Active Resource calls. # - # source://activeresource//lib/active_resource/base.rb#323 + # pkg:gem/activeresource#lib/active_resource/base.rb:323 def logger; end - # source://activeresource//lib/active_resource/base.rb#1751 + # pkg:gem/activeresource#lib/active_resource/base.rb:1751 def model_name(&_arg0); end # Returns +true+ if this object hasn't yet been saved, otherwise, returns +false+. @@ -934,7 +934,7 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1291 + # pkg:gem/activeresource#lib/active_resource/base.rb:1291 def new?; end # Returns +true+ if this object hasn't yet been saved, otherwise, returns +false+. @@ -951,10 +951,10 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1294 + # pkg:gem/activeresource#lib/active_resource/base.rb:1294 def new_record?; end - # source://activeresource//lib/active_resource/base.rb#1755 + # pkg:gem/activeresource#lib/active_resource/base.rb:1755 def param_delimiter=(_arg0); end # Returns +true+ if this object has been saved, otherwise returns +false+. @@ -971,25 +971,25 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1308 + # pkg:gem/activeresource#lib/active_resource/base.rb:1308 def persisted?; end - # source://activeresource//lib/active_resource/base.rb#1211 + # pkg:gem/activeresource#lib/active_resource/base.rb:1211 def prefix_options; end - # source://activeresource//lib/active_resource/base.rb#1211 + # pkg:gem/activeresource#lib/active_resource/base.rb:1211 def prefix_options=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#1594 + # pkg:gem/activeresource#lib/active_resource/base.rb:1594 def read_attribute_for_serialization(n); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def reflections; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def reflections=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def reflections?; end # A method to \reload the attributes of this object from the remote web service. @@ -1004,21 +1004,21 @@ class ActiveResource::Base # my_branch.reload # my_branch.name # => "Wilson Road" # - # source://activeresource//lib/active_resource/base.rb#1470 + # pkg:gem/activeresource#lib/active_resource/base.rb:1470 def reload; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def rescue_handlers; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def rescue_handlers=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def rescue_handlers?; end # For checking respond_to? without searching the attributes (which is faster). # - # source://activeresource//lib/active_resource/base.rb#1566 + # pkg:gem/activeresource#lib/active_resource/base.rb:1566 def respond_to_without_attributes?(*_arg0); end # Saves (+POST+) or \updates (+PUT+) a resource. Delegates to +create+ if the object is \new, @@ -1035,7 +1035,7 @@ class ActiveResource::Base # my_company.size = 10 # my_company.save # sends PUT /companies/1 (update) # - # source://activeresource//lib/active_resource/base.rb#1391 + # pkg:gem/activeresource#lib/active_resource/base.rb:1391 def save(options = T.unsafe(nil)); end # Saves the resource. @@ -1052,23 +1052,23 @@ class ActiveResource::Base # of the before_* callbacks return +false+ the action is # cancelled and save! raises ActiveResource::ResourceInvalid. # - # source://activeresource//lib/active_resource/base.rb#1410 + # pkg:gem/activeresource#lib/active_resource/base.rb:1410 def save!; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def save_without_validation; end # If no schema has been defined for the class (see # ActiveResource::schema=), the default automatic schema is # generated from the current instance's attributes # - # source://activeresource//lib/active_resource/base.rb#1216 + # pkg:gem/activeresource#lib/active_resource/base.rb:1216 def schema; end - # source://activeresource//lib/active_resource/base.rb#1586 + # pkg:gem/activeresource#lib/active_resource/base.rb:1586 def to_json(options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1590 + # pkg:gem/activeresource#lib/active_resource/base.rb:1590 def to_xml(options = T.unsafe(nil)); end # Updates a single attribute and then saves the object. @@ -1083,7 +1083,7 @@ class ActiveResource::Base # exception will be raised. If saving fails because the resource is # invalid then false will be returned. # - # source://activeresource//lib/active_resource/base.rb#1546 + # pkg:gem/activeresource#lib/active_resource/base.rb:1546 def update_attribute(name, value); end # Updates this resource with all the attributes from the passed-in Hash @@ -1097,73 +1097,73 @@ class ActiveResource::Base # resource's attributes, the full body of the request will still be sent # in the save request to the remote service. # - # source://activeresource//lib/active_resource/base.rb#1561 + # pkg:gem/activeresource#lib/active_resource/base.rb:1561 def update_attributes(attributes); end protected - # source://activeresource//lib/active_resource/base.rb#1652 + # pkg:gem/activeresource#lib/active_resource/base.rb:1652 def collection_path(options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1603 + # pkg:gem/activeresource#lib/active_resource/base.rb:1603 def connection(refresh = T.unsafe(nil)); end # Create (i.e., \save to the remote service) the \new resource. # - # source://activeresource//lib/active_resource/base.rb#1617 + # pkg:gem/activeresource#lib/active_resource/base.rb:1617 def create; end - # source://activeresource//lib/active_resource/base.rb#1640 + # pkg:gem/activeresource#lib/active_resource/base.rb:1640 def element_path(options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1644 + # pkg:gem/activeresource#lib/active_resource/base.rb:1644 def element_url(options = T.unsafe(nil)); end # Takes a response from a typical create post and pulls the ID out # - # source://activeresource//lib/active_resource/base.rb#1636 + # pkg:gem/activeresource#lib/active_resource/base.rb:1636 def id_from_response(response); end - # source://activeresource//lib/active_resource/base.rb#1626 + # pkg:gem/activeresource#lib/active_resource/base.rb:1626 def load_attributes_from_response(response); end - # source://activeresource//lib/active_resource/base.rb#1648 + # pkg:gem/activeresource#lib/active_resource/base.rb:1648 def new_element_path; end # Update the resource on the remote service. # - # source://activeresource//lib/active_resource/base.rb#1608 + # pkg:gem/activeresource#lib/active_resource/base.rb:1608 def update; end private # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1709 + # pkg:gem/activeresource#lib/active_resource/base.rb:1709 def const_valid?(*const_args); end # Create and return a class definition for a resource inside the current resource # - # source://activeresource//lib/active_resource/base.rb#1717 + # pkg:gem/activeresource#lib/active_resource/base.rb:1717 def create_resource_for(resource_name); end # Tries to find a resource for a given name; if it fails, then the resource is created # - # source://activeresource//lib/active_resource/base.rb#1684 + # pkg:gem/activeresource#lib/active_resource/base.rb:1684 def find_or_create_resource_for(name); end # Tries to find a resource for a given collection name; if it fails, then the resource is created # - # source://activeresource//lib/active_resource/base.rb#1663 + # pkg:gem/activeresource#lib/active_resource/base.rb:1663 def find_or_create_resource_for_collection(name); end # Tries to find a resource in a non empty list of nested modules # if it fails, then the resource is created # - # source://activeresource//lib/active_resource/base.rb#1670 + # pkg:gem/activeresource#lib/active_resource/base.rb:1670 def find_or_create_resource_in_modules(resource_name, module_names); end - # source://activeresource//lib/active_resource/base.rb#1730 + # pkg:gem/activeresource#lib/active_resource/base.rb:1730 def method_missing(method_symbol, *arguments); end # A method to determine if an object responds to a message (e.g., a method call). In Active Resource, a Person object with a @@ -1172,208 +1172,208 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1571 + # pkg:gem/activeresource#lib/active_resource/base.rb:1571 def respond_to_missing?(method, include_priv = T.unsafe(nil)); end # Determine whether the response is allowed to have a body per HTTP 1.1 spec section 4.4.1 # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1658 + # pkg:gem/activeresource#lib/active_resource/base.rb:1658 def response_code_allows_body?(c); end - # source://activeresource//lib/active_resource/base.rb#1726 + # pkg:gem/activeresource#lib/active_resource/base.rb:1726 def split_options(options = T.unsafe(nil)); end class << self - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _bearer_token; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _bearer_token=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _bearer_token_defined?; end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def _collection_parser; end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def _collection_parser=(value); end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def _collection_parser?; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _connection; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _connection=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _connection_defined?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _create_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _create_callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _destroy_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _destroy_callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def _format; end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def _format=(value); end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def _format?; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _headers; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _headers=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _headers_defined?; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _password; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _password=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _password_defined?; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _proxy; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _proxy=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _proxy_defined?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _save_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _save_callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _site; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _site=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _site_defined?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _update_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _update_callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _user; end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _user=(value); end - # source://activeresource//lib/active_resource/base.rb#340 + # pkg:gem/activeresource#lib/active_resource/base.rb:340 def _user_defined?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validate_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validate_callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validation_callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validation_callbacks=(value); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validators; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validators=(value); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def _validators?; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def after_create(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def after_destroy(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def after_save(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def after_update(*args, **options, &block); end # This is an alias for find(:all). You can pass in all the same # arguments to this method as you can to find(:all) # - # source://activeresource//lib/active_resource/base.rb#1064 + # pkg:gem/activeresource#lib/active_resource/base.rb:1064 def all(*args); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def around_create(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def around_destroy(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def around_save(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def around_update(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#562 + # pkg:gem/activeresource#lib/active_resource/base.rb:562 def auth_type; end - # source://activeresource//lib/active_resource/base.rb#568 + # pkg:gem/activeresource#lib/active_resource/base.rb:568 def auth_type=(auth_type); end # Gets the \bearer_token for REST HTTP authentication. # - # source://activeresource//lib/active_resource/base.rb#547 + # pkg:gem/activeresource#lib/active_resource/base.rb:547 def bearer_token; end # Sets the \bearer_token for REST HTTP authentication. # - # source://activeresource//lib/active_resource/base.rb#557 + # pkg:gem/activeresource#lib/active_resource/base.rb:557 def bearer_token=(bearer_token); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def before_create(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def before_destroy(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def before_save(*args, **options, &block); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def before_update(*args, **options, &block); end # Builds a new, unsaved record using the default values from the remote server so @@ -1384,31 +1384,31 @@ class ActiveResource::Base # # Returns the new resource instance. # - # source://activeresource//lib/active_resource/base.rb#924 + # pkg:gem/activeresource#lib/active_resource/base.rb:924 def build(attributes = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def coder; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def coder=(value); end - # source://activeresource//lib/active_resource/base.rb#714 + # pkg:gem/activeresource#lib/active_resource/base.rb:714 def collection_name; end # Sets the attribute collection_name # # @param value the value to set the attribute collection_name to. # - # source://activeresource//lib/active_resource/base.rb#712 + # pkg:gem/activeresource#lib/active_resource/base.rb:712 def collection_name=(_arg0); end - # source://activeresource//lib/active_resource/base.rb#601 + # pkg:gem/activeresource#lib/active_resource/base.rb:601 def collection_parser; end # Sets the parser to use when a collection is returned. The parser must be Enumerable. # - # source://activeresource//lib/active_resource/base.rb#596 + # pkg:gem/activeresource#lib/active_resource/base.rb:596 def collection_parser=(parser_instance); end # Gets the collection path for the REST resources. If the +query_options+ parameter is omitted, Rails @@ -1432,7 +1432,7 @@ class ActiveResource::Base # Comment.collection_path({:post_id => 5}, {:active => 1}) # # => /posts/5/comments.json?active=1 # - # source://activeresource//lib/active_resource/base.rb#883 + # pkg:gem/activeresource#lib/active_resource/base.rb:883 def collection_path(prefix_options = T.unsafe(nil), query_options = T.unsafe(nil)); end # Gets the collection URL for the REST resources. If the +query_options+ parameter is omitted, Rails @@ -1456,23 +1456,23 @@ class ActiveResource::Base # Comment.collection_url({:post_id => 5}, {:active => 1}) # # => https://example.com/posts/5/comments.json?active=1 # - # source://activeresource//lib/active_resource/base.rb#910 + # pkg:gem/activeresource#lib/active_resource/base.rb:910 def collection_url(prefix_options = T.unsafe(nil), query_options = T.unsafe(nil)); end # An instance of ActiveResource::Connection that is the base \connection to the remote service. # The +refresh+ parameter toggles whether or not the \connection is refreshed at every request # or not (defaults to false). # - # source://activeresource//lib/active_resource/base.rb#678 + # pkg:gem/activeresource#lib/active_resource/base.rb:678 def connection(refresh = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def connection_class; end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def connection_class=(value); end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def connection_class?; end # Creates a new resource instance and makes a request to the remote service @@ -1500,7 +1500,7 @@ class ActiveResource::Base # that_guy.valid? # => false # that_guy.new? # => true # - # source://activeresource//lib/active_resource/base.rb#953 + # pkg:gem/activeresource#lib/active_resource/base.rb:953 def create(attributes = T.unsafe(nil)); end # Creates a new resource (just like create) and makes a request to the @@ -1511,7 +1511,7 @@ class ActiveResource::Base # ryan = Person.new(:first => 'ryan') # ryan.save! # - # source://activeresource//lib/active_resource/base.rb#964 + # pkg:gem/activeresource#lib/active_resource/base.rb:964 def create!(attributes = T.unsafe(nil)); end # Deletes the resources with the ID in the +id+ parameter. @@ -1529,17 +1529,17 @@ 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/base.rb#1089 + # pkg:gem/activeresource#lib/active_resource/base.rb:1089 def delete(custom_method_name, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#708 + # pkg:gem/activeresource#lib/active_resource/base.rb:708 def element_name; 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 + # pkg:gem/activeresource#lib/active_resource/base.rb:706 def element_name=(_arg0); end # Gets the element path for the given ID in +id+. If the +query_options+ parameter is omitted, Rails @@ -1568,7 +1568,7 @@ class ActiveResource::Base # Comment.element_path(1, {:post_id => 5}, {:active => 1}) # # => /posts/5/comments/1.json?active=1 # - # source://activeresource//lib/active_resource/base.rb#805 + # pkg:gem/activeresource#lib/active_resource/base.rb:805 def element_path(id, prefix_options = T.unsafe(nil), query_options = T.unsafe(nil)); end # Gets the element url for the given ID in +id+. If the +query_options+ parameter is omitted, Rails @@ -1597,7 +1597,7 @@ class ActiveResource::Base # Comment.element_url(1, {:post_id => 5}, {:active => 1}) # # => https://37s.sunrise.com/posts/5/comments/1.json?active=1 # - # source://activeresource//lib/active_resource/base.rb#838 + # pkg:gem/activeresource#lib/active_resource/base.rb:838 def element_url(id, prefix_options = T.unsafe(nil), query_options = T.unsafe(nil)); end # Asserts the existence of a resource, returning true if the resource is found. @@ -1610,7 +1610,7 @@ class ActiveResource::Base # # @return [Boolean] # - # source://activeresource//lib/active_resource/base.rb#1100 + # pkg:gem/activeresource#lib/active_resource/base.rb:1100 def exists?(id, options = T.unsafe(nil)); end # Core method for finding resources. Used similarly to Active Record's +find+ method. @@ -1673,19 +1673,19 @@ class ActiveResource::Base # Person.find(:last) # # => nil # - # source://activeresource//lib/active_resource/base.rb#1027 + # pkg:gem/activeresource#lib/active_resource/base.rb:1027 def find(*arguments); end # A convenience wrapper for find(:first, *args). You can pass # in all the same arguments to this method as you can to # find(:first). # - # source://activeresource//lib/active_resource/base.rb#1051 + # pkg:gem/activeresource#lib/active_resource/base.rb:1051 def first(*args); end # Returns the current format, default is ActiveResource::Formats::JsonFormat. # - # source://activeresource//lib/active_resource/base.rb#591 + # pkg:gem/activeresource#lib/active_resource/base.rb:591 def format; end # Sets the format that attributes are sent and received in from a mime type reference: @@ -1698,34 +1698,34 @@ class ActiveResource::Base # # Default format is :json. # - # source://activeresource//lib/active_resource/base.rb#582 + # pkg:gem/activeresource#lib/active_resource/base.rb:582 def format=(mime_type_reference_or_format); end - # source://activeresource//lib/active_resource/base.rb#775 + # pkg:gem/activeresource#lib/active_resource/base.rb:775 def format_extension; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def get(custom_method_name, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#698 + # pkg:gem/activeresource#lib/active_resource/base.rb:698 def headers; end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def include_format_in_path; end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def include_format_in_path=(value); end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def include_format_in_path?; end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def include_root_in_json; end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def include_root_in_json=(value); end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def include_root_in_json?; end # Returns the list of known attributes for this resource, gathered @@ -1736,20 +1736,20 @@ class ActiveResource::Base # known attributes can be used with validates_presence_of # without a getter-method. # - # source://activeresource//lib/active_resource/base.rb#456 + # pkg:gem/activeresource#lib/active_resource/base.rb:456 def known_attributes; end # A convenience wrapper for find(:last, *args). You can pass # in all the same arguments to this method as you can to # find(:last). # - # source://activeresource//lib/active_resource/base.rb#1058 + # pkg:gem/activeresource#lib/active_resource/base.rb:1058 def last(*args); end - # source://activeresource//lib/active_resource/base.rb#323 + # pkg:gem/activeresource#lib/active_resource/base.rb:323 def logger; end - # source://activeresource//lib/active_resource/base.rb#325 + # pkg:gem/activeresource#lib/active_resource/base.rb:325 def logger=(logger); end # Gets the new element path for REST resources. @@ -1769,114 +1769,114 @@ class ActiveResource::Base # Comment.collection_path(:post_id => 5) # # => /posts/5/comments/new.json # - # source://activeresource//lib/active_resource/base.rb#858 + # pkg:gem/activeresource#lib/active_resource/base.rb:858 def new_element_path(prefix_options = T.unsafe(nil)); end # Gets the number of seconds after which connection attempts to the REST API should time out. # - # source://activeresource//lib/active_resource/base.rb#633 + # pkg:gem/activeresource#lib/active_resource/base.rb:633 def open_timeout; end # Sets the number of seconds after which connection attempts to the REST API should time out. # - # source://activeresource//lib/active_resource/base.rb#612 + # pkg:gem/activeresource#lib/active_resource/base.rb:612 def open_timeout=(timeout); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def orig_delete(id, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1755 + # pkg:gem/activeresource#lib/active_resource/base.rb:1755 def param_delimiter; end - # source://activeresource//lib/active_resource/base.rb#1755 + # pkg:gem/activeresource#lib/active_resource/base.rb:1755 def param_delimiter=(value); end - # source://activeresource//lib/active_resource/base.rb#1755 + # pkg:gem/activeresource#lib/active_resource/base.rb:1755 def param_delimiter?; end # Gets the \password for REST HTTP authentication. # - # source://activeresource//lib/active_resource/base.rb#531 + # pkg:gem/activeresource#lib/active_resource/base.rb:531 def password; end # Sets the \password for REST HTTP authentication. # - # source://activeresource//lib/active_resource/base.rb#541 + # pkg:gem/activeresource#lib/active_resource/base.rb:541 def password=(password); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def patch(custom_method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 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) # This method is regenerated at runtime based on what the \prefix is set to. # - # source://activeresource//lib/active_resource/base.rb#734 + # pkg:gem/activeresource#lib/active_resource/base.rb:734 def prefix(options = T.unsafe(nil)); 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 + # pkg:gem/activeresource#lib/active_resource/base.rb:751 def prefix=(value = T.unsafe(nil)); end # An attribute reader for the source string for the resource path \prefix. This # method is regenerated at runtime based on what the \prefix is set to. # - # source://activeresource//lib/active_resource/base.rb#744 + # pkg:gem/activeresource#lib/active_resource/base.rb:744 def prefix_source; end - # source://activeresource//lib/active_resource/base.rb#720 + # pkg:gem/activeresource#lib/active_resource/base.rb:720 def primary_key; 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 + # pkg:gem/activeresource#lib/active_resource/base.rb:718 def primary_key=(_arg0); end # Gets the \proxy variable if a proxy is required # - # source://activeresource//lib/active_resource/base.rb#499 + # pkg:gem/activeresource#lib/active_resource/base.rb:499 def proxy; end # Sets the URI of the http proxy to the value in the +proxy+ argument. # - # source://activeresource//lib/active_resource/base.rb#509 + # pkg:gem/activeresource#lib/active_resource/base.rb:509 def proxy=(proxy); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 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. # - # source://activeresource//lib/active_resource/base.rb#642 + # pkg:gem/activeresource#lib/active_resource/base.rb:642 def read_timeout; end # Sets the number of seconds after which reads to the REST API should time out. # - # source://activeresource//lib/active_resource/base.rb#618 + # pkg:gem/activeresource#lib/active_resource/base.rb:618 def read_timeout=(timeout); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def reflections; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def reflections=(value); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def reflections?; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def rescue_handlers; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def rescue_handlers=(value); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def rescue_handlers?; end # Creates a schema for this resource - setting the attributes that are @@ -1932,7 +1932,7 @@ class ActiveResource::Base # j.age # => 34 # cast to an integer # j.weight # => '65' # still a string! # - # source://activeresource//lib/active_resource/base.rb#395 + # pkg:gem/activeresource#lib/active_resource/base.rb:395 def schema(&block); end # Alternative, direct way to specify a schema for this @@ -1954,51 +1954,51 @@ class ActiveResource::Base # # @raise [ArgumentError] # - # source://activeresource//lib/active_resource/base.rb#434 + # pkg:gem/activeresource#lib/active_resource/base.rb:434 def schema=(the_schema); end # Sets the attribute collection_name # # @param value the value to set the attribute collection_name to. # - # source://activeresource//lib/active_resource/base.rb#773 + # pkg:gem/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#772 + # pkg:gem/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#770 + # pkg:gem/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#914 + # pkg:gem/activeresource#lib/active_resource/base.rb:914 def set_primary_key(_arg0); end # Gets the URI of the REST resources to map for this class. The site variable is required for # Active Resource's mapping to work. # - # source://activeresource//lib/active_resource/base.rb#462 + # pkg:gem/activeresource#lib/active_resource/base.rb:462 def site; end # Sets the URI of the REST resources to map for this class to the value in the +site+ argument. # The site variable is required for Active Resource's mapping to work. # - # source://activeresource//lib/active_resource/base.rb#487 + # pkg:gem/activeresource#lib/active_resource/base.rb:487 def site=(site); end # Returns the SSL options hash. # - # source://activeresource//lib/active_resource/base.rb#667 + # pkg:gem/activeresource#lib/active_resource/base.rb:667 def ssl_options; end # Options that will get applied to an SSL connection. @@ -2013,155 +2013,155 @@ class ActiveResource::Base # * :cert_store - OpenSSL::X509::Store to verify peer certificate. # * :ssl_timeout -The SSL timeout in seconds. # - # source://activeresource//lib/active_resource/base.rb#661 + # pkg:gem/activeresource#lib/active_resource/base.rb:661 def ssl_options=(options); end # Gets the number of seconds after which requests to the REST API should time out. # - # source://activeresource//lib/active_resource/base.rb#624 + # pkg:gem/activeresource#lib/active_resource/base.rb:624 def timeout; end # Sets the number of seconds after which requests to the REST API should time out. # - # source://activeresource//lib/active_resource/base.rb#606 + # pkg:gem/activeresource#lib/active_resource/base.rb:606 def timeout=(timeout); end # Gets the \user for REST HTTP authentication. # - # source://activeresource//lib/active_resource/base.rb#515 + # pkg:gem/activeresource#lib/active_resource/base.rb:515 def user; end # Sets the \user for REST HTTP authentication. # - # source://activeresource//lib/active_resource/base.rb#525 + # pkg:gem/activeresource#lib/active_resource/base.rb:525 def user=(user); end # @raise [ArgumentError] # - # source://activeresource//lib/active_resource/base.rb#1068 + # pkg:gem/activeresource#lib/active_resource/base.rb:1068 def where(clauses = T.unsafe(nil)); end private - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __class_attr___callbacks; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __class_attr___callbacks=(new_value); end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def __class_attr__collection_parser; end - # source://activeresource//lib/active_resource/base.rb#331 + # pkg:gem/activeresource#lib/active_resource/base.rb:331 def __class_attr__collection_parser=(new_value); end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def __class_attr__format; end - # source://activeresource//lib/active_resource/base.rb#330 + # pkg:gem/activeresource#lib/active_resource/base.rb:330 def __class_attr__format=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __class_attr__validators; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __class_attr__validators=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __class_attr_coder; end - # source://activeresource//lib/active_resource/base.rb#1754 + # pkg:gem/activeresource#lib/active_resource/base.rb:1754 def __class_attr_coder=(new_value); end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def __class_attr_connection_class; end - # source://activeresource//lib/active_resource/base.rb#335 + # pkg:gem/activeresource#lib/active_resource/base.rb:335 def __class_attr_connection_class=(new_value); end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def __class_attr_include_format_in_path; end - # source://activeresource//lib/active_resource/base.rb#332 + # pkg:gem/activeresource#lib/active_resource/base.rb:332 def __class_attr_include_format_in_path=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def __class_attr_include_root_in_json; end - # source://activeresource//lib/active_resource/base.rb#1757 + # pkg:gem/activeresource#lib/active_resource/base.rb:1757 def __class_attr_include_root_in_json=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1755 + # pkg:gem/activeresource#lib/active_resource/base.rb:1755 def __class_attr_param_delimiter; end - # source://activeresource//lib/active_resource/base.rb#1755 + # pkg:gem/activeresource#lib/active_resource/base.rb:1755 def __class_attr_param_delimiter=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def __class_attr_reflections; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def __class_attr_reflections=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def __class_attr_rescue_handlers; end - # source://activeresource//lib/active_resource/base.rb#1759 + # pkg:gem/activeresource#lib/active_resource/base.rb:1759 def __class_attr_rescue_handlers=(new_value); end - # source://activeresource//lib/active_resource/base.rb#1113 + # pkg:gem/activeresource#lib/active_resource/base.rb:1113 def check_prefix_options(prefix_options); end # Accepts a URI and creates the proxy URI from that. # - # source://activeresource//lib/active_resource/base.rb#1182 + # pkg:gem/activeresource#lib/active_resource/base.rb:1182 def create_proxy_uri_from(proxy); end # Accepts a URI and creates the site URI from that. # - # source://activeresource//lib/active_resource/base.rb#1177 + # pkg:gem/activeresource#lib/active_resource/base.rb:1177 def create_site_uri_from(site); end # Find every resource # - # source://activeresource//lib/active_resource/base.rb#1121 + # pkg:gem/activeresource#lib/active_resource/base.rb:1121 def find_every(options); end # Find a single resource from a one-off URL # - # source://activeresource//lib/active_resource/base.rb#1145 + # pkg:gem/activeresource#lib/active_resource/base.rb:1145 def find_one(options); end # Find a single resource from the default URL # - # source://activeresource//lib/active_resource/base.rb#1156 + # pkg:gem/activeresource#lib/active_resource/base.rb:1156 def find_single(scope, options); end - # source://activeresource//lib/active_resource/base.rb#1162 + # pkg:gem/activeresource#lib/active_resource/base.rb:1162 def instantiate_collection(collection, original_params = T.unsafe(nil), prefix_options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/base.rb#1169 + # pkg:gem/activeresource#lib/active_resource/base.rb:1169 def instantiate_record(record, prefix_options = T.unsafe(nil)); end # contains a set of the current prefix parameters. # - # source://activeresource//lib/active_resource/base.rb#1187 + # pkg:gem/activeresource#lib/active_resource/base.rb:1187 def prefix_parameters; end # Builds the query string for the request. # - # source://activeresource//lib/active_resource/base.rb#1192 + # pkg:gem/activeresource#lib/active_resource/base.rb:1192 def query_string(options); end # split an option hash into two hashes, one containing the prefix options, # and the other containing the leftovers. # - # source://activeresource//lib/active_resource/base.rb#1198 + # pkg:gem/activeresource#lib/active_resource/base.rb:1198 def split_options(options = T.unsafe(nil)); end end end -# source://activeresource//lib/active_resource/callbacks.rb#6 +# pkg:gem/activeresource#lib/active_resource/callbacks.rb:6 module ActiveResource::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2184,12 +2184,12 @@ module ActiveResource::Callbacks end end -# source://activeresource//lib/active_resource/callbacks.rb#9 +# pkg:gem/activeresource#lib/active_resource/callbacks.rb:9 ActiveResource::Callbacks::CALLBACKS = T.let(T.unsafe(nil), Array) # 4xx Client Error # -# source://activeresource//lib/active_resource/exceptions.rb#52 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:52 class ActiveResource::ClientError < ::ActiveResource::ConnectionError; end # Integrates with Active Record's @@ -2239,11 +2239,11 @@ class ActiveResource::ClientError < ::ActiveResource::ConnectionError; end # coder = ActiveResource::Coder.new(Person) { |person| person.serializable_hash } # coder.dump(person) # => { "name" => "Matz" } # -# source://activeresource//lib/active_resource/coder.rb#50 +# pkg:gem/activeresource#lib/active_resource/coder.rb:50 class ActiveResource::Coder # @return [Coder] a new instance of Coder # - # source://activeresource//lib/active_resource/coder.rb#53 + # pkg:gem/activeresource#lib/active_resource/coder.rb:53 def initialize(resource_class, encoder_method = T.unsafe(nil), &block); end # Serializes a resource value to a value that will be stored in the database. @@ -2251,19 +2251,19 @@ class ActiveResource::Coder # # @raise [ArgumentError] # - # source://activeresource//lib/active_resource/coder.rb#60 + # pkg:gem/activeresource#lib/active_resource/coder.rb:60 def dump(value); end # Returns the value of attribute encoder. # - # source://activeresource//lib/active_resource/coder.rb#51 + # pkg:gem/activeresource#lib/active_resource/coder.rb:51 def encoder; end # Sets the attribute encoder # # @param value the value to set the attribute encoder to. # - # source://activeresource//lib/active_resource/coder.rb#51 + # pkg:gem/activeresource#lib/active_resource/coder.rb:51 def encoder=(_arg0); end # Deserializes a value from the database to a resource instance. @@ -2271,23 +2271,23 @@ class ActiveResource::Coder # # @raise [ArgumentError] # - # source://activeresource//lib/active_resource/coder.rb#69 + # pkg:gem/activeresource#lib/active_resource/coder.rb:69 def load(value); end # Returns the value of attribute resource_class. # - # source://activeresource//lib/active_resource/coder.rb#51 + # pkg:gem/activeresource#lib/active_resource/coder.rb:51 def resource_class; end # Sets the attribute resource_class # # @param value the value to set the attribute resource_class to. # - # source://activeresource//lib/active_resource/coder.rb#51 + # pkg:gem/activeresource#lib/active_resource/coder.rb:51 def resource_class=(_arg0); end end -# source://activeresource//lib/active_resource/collection.rb#7 +# pkg:gem/activeresource#lib/active_resource/collection.rb:7 class ActiveResource::Collection include ::Enumerable @@ -2338,491 +2338,500 @@ class ActiveResource::Collection # # @return [Collection] a new instance of Collection # - # source://activeresource//lib/active_resource/collection.rb#59 + # pkg:gem/activeresource#lib/active_resource/collection.rb:59 def initialize(elements = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def &(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def *(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def +(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def -(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def <<(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def <=>(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def ==(arg); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def [](*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def []=(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def all?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def any?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def append(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def as_json(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def assoc(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def at(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def blank?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def bsearch(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def bsearch_index(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def clear(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def collect(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#67 + # pkg:gem/activeresource#lib/active_resource/collection.rb:67 def collect!; end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def combination(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def compact(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def compact!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def compact_blank!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def concat(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def count(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def cycle(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def deconstruct(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def deep_dup(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def delete(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def delete_at(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def delete_if(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 + def detect(*_arg0, **_arg1, &_arg2); end + + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def difference(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def dig(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def drop(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def drop_while(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def each(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def each_index(*_arg0, **_arg1, &_arg2); end # The array of actual elements returned by index actions # - # source://activeresource//lib/active_resource/collection.rb#13 + # pkg:gem/activeresource#lib/active_resource/collection.rb:13 def elements; end # The array of actual elements returned by index actions # - # source://activeresource//lib/active_resource/collection.rb#13 + # pkg:gem/activeresource#lib/active_resource/collection.rb:13 def elements=(_arg0); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def eql?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def excluding(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def extract!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def extract_options!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def fetch(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def fetch_values(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def fifth(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def fill(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def filter(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def filter!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 + def find(*_arg0, **_arg1, &_arg2); end + + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def find_index(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def first(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#76 + # pkg:gem/activeresource#lib/active_resource/collection.rb:76 def first_or_create(attributes = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/collection.rb#82 + # pkg:gem/activeresource#lib/active_resource/collection.rb:82 def first_or_initialize(attributes = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def flatten(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def flatten!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def forty_two(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def fourth(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def freeze(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def from(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def hash(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def in_groups(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def in_groups_of(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def include?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def including(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def index(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def inquiry(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def insert(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def inspect(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def intersect?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def intersection(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def join(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def keep_if(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def last(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def length(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def map(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#74 + # pkg:gem/activeresource#lib/active_resource/collection.rb:74 def map!; end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def max(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def min(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def minmax(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def none?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def one?(*_arg0, **_arg1, &_arg2); end # The array of actual elements returned by index actions # - # source://activeresource//lib/active_resource/collection.rb#13 + # pkg:gem/activeresource#lib/active_resource/collection.rb:13 def original_params; end # The array of actual elements returned by index actions # - # source://activeresource//lib/active_resource/collection.rb#13 + # pkg:gem/activeresource#lib/active_resource/collection.rb:13 def original_params=(_arg0); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def pack(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def permutation(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def place(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def pop(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def prepend(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def present?(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def pretty_print(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def pretty_print_cycle(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def product(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def push(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def rassoc(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def reject(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def reject!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def repeated_combination(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def repeated_permutation(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def replace(*_arg0, **_arg1, &_arg2); end # The array of actual elements returned by index actions # - # source://activeresource//lib/active_resource/collection.rb#13 + # pkg:gem/activeresource#lib/active_resource/collection.rb:13 def resource_class; end # The array of actual elements returned by index actions # - # source://activeresource//lib/active_resource/collection.rb#13 + # pkg:gem/activeresource#lib/active_resource/collection.rb:13 def resource_class=(_arg0); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def reverse(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def reverse!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def reverse_each(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 + def rfind(*_arg0, **_arg1, &_arg2); end + + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def rindex(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def rotate(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def rotate!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def sample(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def second(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def second_to_last(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def select(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def select!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def shelljoin(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def shift(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def shuffle!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def size(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def slice(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def slice!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def sort(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def sort!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def sort_by!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def split(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def sum(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def take(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def take_while(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def third(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def third_to_last(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#63 + # pkg:gem/activeresource#lib/active_resource/collection.rb:63 def to_a; end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_ary(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_formatted_s(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_fs(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_h(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_param(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_query(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_s(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_sentence(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_xml(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def to_yaml(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def transpose(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def union(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def uniq(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def uniq!(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def unshift(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def values_at(*_arg0, **_arg1, &_arg2); end # @raise [ArgumentError] # - # source://activeresource//lib/active_resource/collection.rb#88 + # pkg:gem/activeresource#lib/active_resource/collection.rb:88 def where(clauses = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def without(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def zip(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/collection.rb#10 + # pkg:gem/activeresource#lib/active_resource/collection.rb:10 def |(*_arg0, **_arg1, &_arg2); end end -# source://activeresource//lib/active_resource/collection.rb#8 +# pkg:gem/activeresource#lib/active_resource/collection.rb:8 ActiveResource::Collection::SELF_DEFINE_METHODS = T.let(T.unsafe(nil), Array) # Class to handle connections to remote web services. # This class is used by ActiveResource::Base to interface with REST # services. # -# source://activeresource//lib/active_resource/connection.rb#13 +# pkg:gem/activeresource#lib/active_resource/connection.rb:13 class ActiveResource::Connection # The +site+ parameter is required and will set the +site+ # attribute to the URI for the remote resource service. @@ -2830,268 +2839,268 @@ class ActiveResource::Connection # @raise [ArgumentError] # @return [Connection] a new instance of Connection # - # source://activeresource//lib/active_resource/connection.rb#33 + # pkg:gem/activeresource#lib/active_resource/connection.rb:33 def initialize(site, format = T.unsafe(nil), logger: T.unsafe(nil)); end # Returns the value of attribute auth_type. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def auth_type; end # Sets the auth type for remote service. # - # source://activeresource//lib/active_resource/connection.rb#64 + # pkg:gem/activeresource#lib/active_resource/connection.rb:64 def auth_type=(auth_type); end # Returns the value of attribute bearer_token. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def bearer_token; end # Sets the bearer token for remote service. # - # source://activeresource//lib/active_resource/connection.rb#61 + # pkg:gem/activeresource#lib/active_resource/connection.rb:61 def bearer_token=(_arg0); end # Executes a DELETE request (see HTTP protocol documentation if unfamiliar). # Used to delete resources. # - # source://activeresource//lib/active_resource/connection.rb#88 + # pkg:gem/activeresource#lib/active_resource/connection.rb:88 def delete(path, headers = T.unsafe(nil)); end # Returns the value of attribute format. # - # source://activeresource//lib/active_resource/connection.rb#23 + # pkg:gem/activeresource#lib/active_resource/connection.rb:23 def format; end # Sets the attribute format # # @param value the value to set the attribute format to. # - # source://activeresource//lib/active_resource/connection.rb#23 + # pkg:gem/activeresource#lib/active_resource/connection.rb:23 def format=(_arg0); end # Executes a GET request. # Used to get (find) resources. # - # source://activeresource//lib/active_resource/connection.rb#82 + # pkg:gem/activeresource#lib/active_resource/connection.rb:82 def get(path, headers = T.unsafe(nil)); end # Executes a HEAD request. # Used to obtain meta-information about resources, such as whether they exist and their size (via response headers). # - # source://activeresource//lib/active_resource/connection.rb#112 + # pkg:gem/activeresource#lib/active_resource/connection.rb:112 def head(path, headers = T.unsafe(nil)); end # Returns the value of attribute logger. # - # source://activeresource//lib/active_resource/connection.rb#23 + # pkg:gem/activeresource#lib/active_resource/connection.rb:23 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://activeresource//lib/active_resource/connection.rb#23 + # pkg:gem/activeresource#lib/active_resource/connection.rb:23 def logger=(_arg0); end # Returns the value of attribute open_timeout. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def open_timeout; end # Sets the number of seconds after which HTTP connects to the remote service should time out. # - # source://activeresource//lib/active_resource/connection.rb#72 + # pkg:gem/activeresource#lib/active_resource/connection.rb:72 def open_timeout=(_arg0); end # Returns the value of attribute password. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def password; end # Sets the password for remote service. # - # source://activeresource//lib/active_resource/connection.rb#58 + # pkg:gem/activeresource#lib/active_resource/connection.rb:58 def password=(_arg0); end # Executes a PATCH request (see HTTP protocol documentation if unfamiliar). # Used to update resources. # - # source://activeresource//lib/active_resource/connection.rb#94 + # pkg:gem/activeresource#lib/active_resource/connection.rb:94 def patch(path, body = T.unsafe(nil), headers = T.unsafe(nil)); end # Executes a POST request. # Used to create new resources. # - # source://activeresource//lib/active_resource/connection.rb#106 + # pkg:gem/activeresource#lib/active_resource/connection.rb:106 def post(path, body = T.unsafe(nil), headers = T.unsafe(nil)); end # Returns the value of attribute proxy. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def proxy; end # Set the proxy for remote service. # - # source://activeresource//lib/active_resource/connection.rb#50 + # pkg:gem/activeresource#lib/active_resource/connection.rb:50 def proxy=(proxy); end # Executes a PUT request (see HTTP protocol documentation if unfamiliar). # Used to update resources. # - # source://activeresource//lib/active_resource/connection.rb#100 + # pkg:gem/activeresource#lib/active_resource/connection.rb:100 def put(path, body = T.unsafe(nil), headers = T.unsafe(nil)); end # Returns the value of attribute read_timeout. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def read_timeout; end # Sets the number of seconds after which HTTP read requests to the remote service should time out. # - # source://activeresource//lib/active_resource/connection.rb#75 + # pkg:gem/activeresource#lib/active_resource/connection.rb:75 def read_timeout=(_arg0); end # Returns the value of attribute site. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def site; end # Set URI for remote service. # - # source://activeresource//lib/active_resource/connection.rb#42 + # pkg:gem/activeresource#lib/active_resource/connection.rb:42 def site=(site); end # Returns the value of attribute ssl_options. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def ssl_options; end # Hash of options applied to Net::HTTP instance when +site+ protocol is 'https'. # - # source://activeresource//lib/active_resource/connection.rb#78 + # pkg:gem/activeresource#lib/active_resource/connection.rb:78 def ssl_options=(_arg0); end # Returns the value of attribute timeout. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def timeout; end # Sets the number of seconds after which HTTP requests to the remote service should time out. # - # source://activeresource//lib/active_resource/connection.rb#69 + # pkg:gem/activeresource#lib/active_resource/connection.rb:69 def timeout=(_arg0); end # Returns the value of attribute user. # - # source://activeresource//lib/active_resource/connection.rb#22 + # pkg:gem/activeresource#lib/active_resource/connection.rb:22 def user; end # Sets the user for remote service. # - # source://activeresource//lib/active_resource/connection.rb#55 + # pkg:gem/activeresource#lib/active_resource/connection.rb:55 def user=(_arg0); end private - # source://activeresource//lib/active_resource/connection.rb#203 + # pkg:gem/activeresource#lib/active_resource/connection.rb:203 def apply_ssl_options(http); end - # source://activeresource//lib/active_resource/connection.rb#278 + # pkg:gem/activeresource#lib/active_resource/connection.rb:278 def auth_attributes_for(uri, request_digest, params); end - # source://activeresource//lib/active_resource/connection.rb#238 + # pkg:gem/activeresource#lib/active_resource/connection.rb:238 def authorization_header(http_method, uri); end # Builds headers for request to remote service. # - # source://activeresource//lib/active_resource/connection.rb#220 + # pkg:gem/activeresource#lib/active_resource/connection.rb:220 def build_request_headers(headers, http_method, uri); end - # source://activeresource//lib/active_resource/connection.rb#266 + # pkg:gem/activeresource#lib/active_resource/connection.rb:266 def client_nonce; end - # source://activeresource//lib/active_resource/connection.rb#191 + # pkg:gem/activeresource#lib/active_resource/connection.rb:191 def configure_http(http); end - # source://activeresource//lib/active_resource/connection.rb#215 + # pkg:gem/activeresource#lib/active_resource/connection.rb:215 def default_header; end - # source://activeresource//lib/active_resource/connection.rb#252 + # pkg:gem/activeresource#lib/active_resource/connection.rb:252 def digest_auth_header(http_method, uri); end - # source://activeresource//lib/active_resource/connection.rb#270 + # pkg:gem/activeresource#lib/active_resource/connection.rb:270 def extract_params_from_response; end # Handles response and error codes from the remote service. # - # source://activeresource//lib/active_resource/connection.rb#138 + # pkg:gem/activeresource#lib/active_resource/connection.rb:138 def handle_response(response); end # Creates new Net::HTTP instance for communication with the # remote service and resources. # - # source://activeresource//lib/active_resource/connection.rb#177 + # pkg:gem/activeresource#lib/active_resource/connection.rb:177 def http; end - # source://activeresource//lib/active_resource/connection.rb#294 + # pkg:gem/activeresource#lib/active_resource/connection.rb:294 def http_format_header(http_method); end - # source://activeresource//lib/active_resource/http_mock.rb#373 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:373 def http_stub; end - # source://activeresource//lib/active_resource/connection.rb#298 + # pkg:gem/activeresource#lib/active_resource/connection.rb:298 def legitimize_auth_type(auth_type); end - # source://activeresource//lib/active_resource/connection.rb#181 + # pkg:gem/activeresource#lib/active_resource/connection.rb:181 def new_http; end # Makes a request to the remote service. # - # source://activeresource//lib/active_resource/connection.rb#118 + # pkg:gem/activeresource#lib/active_resource/connection.rb:118 def request(method, path, *arguments); end - # source://activeresource//lib/active_resource/connection.rb#224 + # pkg:gem/activeresource#lib/active_resource/connection.rb:224 def response_auth_header; end - # source://activeresource//lib/active_resource/http_mock.rb#381 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:381 def stub_http?; end - # source://activeresource//lib/active_resource/http_mock.rb#377 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:377 def unstub_http?; end - # source://activeresource//lib/active_resource/connection.rb#228 + # pkg:gem/activeresource#lib/active_resource/connection.rb:228 def with_auth; end class << self - # source://activeresource//lib/active_resource/connection.rb#26 + # pkg:gem/activeresource#lib/active_resource/connection.rb:26 def requests; end end end -# source://activeresource//lib/active_resource/connection.rb#14 +# pkg:gem/activeresource#lib/active_resource/connection.rb:14 ActiveResource::Connection::HTTP_FORMAT_HEADER_NAMES = T.let(T.unsafe(nil), Hash) -# source://activeresource//lib/active_resource/exceptions.rb#4 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:4 class ActiveResource::ConnectionError < ::StandardError # @return [ConnectionError] a new instance of ConnectionError # - # source://activeresource//lib/active_resource/exceptions.rb#7 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:7 def initialize(response, message = T.unsafe(nil)); end # Returns the value of attribute response. # - # source://activeresource//lib/active_resource/exceptions.rb#5 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:5 def response; end - # source://activeresource//lib/active_resource/exceptions.rb#12 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:12 def to_s; end end # Raised when a Errno::ECONNREFUSED occurs. # -# source://activeresource//lib/active_resource/exceptions.rb#39 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:39 class ActiveResource::ConnectionRefusedError < ::Errno::ECONNREFUSED; end # A module to support custom REST methods and sub-resources, allowing you to break out @@ -3125,50 +3134,50 @@ class ActiveResource::ConnectionRefusedError < ::Errno::ECONNREFUSED; end # Person.get(:active) # GET /people/active.json # # => [{:id => 1, :name => 'Ryan'}, {:id => 2, :name => 'Joe'}] # -# source://activeresource//lib/active_resource/custom_methods.rb#37 +# pkg:gem/activeresource#lib/active_resource/custom_methods.rb:37 module ActiveResource::CustomMethods extend ::ActiveSupport::Concern - # source://activeresource//lib/active_resource/custom_methods.rb#115 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:115 def delete(method_name, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#94 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:94 def get(method_name, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#107 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:107 def patch(method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#98 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:98 def post(method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#111 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:111 def put(method_name, options = T.unsafe(nil), body = T.unsafe(nil)); end private - # source://activeresource//lib/active_resource/custom_methods.rb#121 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:121 def custom_method_element_url(method_name, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/custom_methods.rb#125 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:125 def custom_method_new_element_url(method_name, options = T.unsafe(nil)); end end -# source://activeresource//lib/active_resource/custom_methods.rb#87 +# pkg:gem/activeresource#lib/active_resource/custom_methods.rb:87 module ActiveResource::CustomMethods::ClassMethods - # source://activeresource//lib/active_resource/custom_methods.rb#88 + # pkg:gem/activeresource#lib/active_resource/custom_methods.rb:88 def custom_method_collection_url(method_name, options = T.unsafe(nil)); end end # Active Resource validation is reported to and from this object, which is used by Base#save # to determine whether the object in a valid state to be saved. See usage example in Validations. # -# source://activeresource//lib/active_resource/validations.rb#12 +# pkg:gem/activeresource#lib/active_resource/validations.rb:12 class ActiveResource::Errors < ::ActiveModel::Errors # Grabs errors from an array of messages (like ActiveRecord::Validations). # The second parameter directs the errors cache to be cleared (default) # or not (by passing true). # - # source://activeresource//lib/active_resource/validations.rb#16 + # pkg:gem/activeresource#lib/active_resource/validations.rb:16 def from_array(messages, save_cache = T.unsafe(nil)); end # Grabs errors from a hash of attribute => array of errors elements @@ -3178,26 +3187,26 @@ class ActiveResource::Errors < ::ActiveModel::Errors # Unrecognized attribute names will be humanized and added to the record's # base errors. # - # source://activeresource//lib/active_resource/validations.rb#35 + # pkg:gem/activeresource#lib/active_resource/validations.rb:35 def from_hash(messages, save_cache = T.unsafe(nil)); end # Grabs errors from a json response. # - # source://activeresource//lib/active_resource/validations.rb#54 + # pkg:gem/activeresource#lib/active_resource/validations.rb:54 def from_json(json, save_cache = T.unsafe(nil)); end # Grabs errors from an XML response. # - # source://activeresource//lib/active_resource/validations.rb#74 + # pkg:gem/activeresource#lib/active_resource/validations.rb:74 def from_xml(xml, save_cache = T.unsafe(nil)); end end # 403 Forbidden # -# source://activeresource//lib/active_resource/exceptions.rb#68 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:68 class ActiveResource::ForbiddenAccess < ::ActiveResource::ClientError; end -# source://activeresource//lib/active_resource/formats.rb#4 +# pkg:gem/activeresource#lib/active_resource/formats.rb:4 module ActiveResource::Formats class << self # Lookup the format class from a mime type reference symbol. Example: @@ -3205,45 +3214,45 @@ module ActiveResource::Formats # ActiveResource::Formats[:xml] # => ActiveResource::Formats::XmlFormat # ActiveResource::Formats[:json] # => ActiveResource::Formats::JsonFormat # - # source://activeresource//lib/active_resource/formats.rb#12 + # pkg:gem/activeresource#lib/active_resource/formats.rb:12 def [](mime_type_reference); end - # source://activeresource//lib/active_resource/formats.rb#20 + # pkg:gem/activeresource#lib/active_resource/formats.rb:20 def remove_root(data); end end end -# source://activeresource//lib/active_resource/formats/json_format.rb#7 +# pkg:gem/activeresource#lib/active_resource/formats/json_format.rb:7 module ActiveResource::Formats::JsonFormat extend ::ActiveResource::Formats::JsonFormat - # source://activeresource//lib/active_resource/formats/json_format.rb#22 + # pkg:gem/activeresource#lib/active_resource/formats/json_format.rb:22 def decode(json); end - # source://activeresource//lib/active_resource/formats/json_format.rb#18 + # pkg:gem/activeresource#lib/active_resource/formats/json_format.rb:18 def encode(hash, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/formats/json_format.rb#10 + # pkg:gem/activeresource#lib/active_resource/formats/json_format.rb:10 def extension; end - # source://activeresource//lib/active_resource/formats/json_format.rb#14 + # pkg:gem/activeresource#lib/active_resource/formats/json_format.rb:14 def mime_type; end end -# source://activeresource//lib/active_resource/formats/xml_format.rb#7 +# pkg:gem/activeresource#lib/active_resource/formats/xml_format.rb:7 module ActiveResource::Formats::XmlFormat extend ::ActiveResource::Formats::XmlFormat - # source://activeresource//lib/active_resource/formats/xml_format.rb#22 + # pkg:gem/activeresource#lib/active_resource/formats/xml_format.rb:22 def decode(xml); end - # source://activeresource//lib/active_resource/formats/xml_format.rb#18 + # pkg:gem/activeresource#lib/active_resource/formats/xml_format.rb:18 def encode(hash, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/formats/xml_format.rb#10 + # pkg:gem/activeresource#lib/active_resource/formats/xml_format.rb:10 def extension; end - # source://activeresource//lib/active_resource/formats/xml_format.rb#14 + # pkg:gem/activeresource#lib/active_resource/formats/xml_format.rb:14 def mime_type; end end @@ -3292,59 +3301,59 @@ end # assert_equal "Matz", person.name # end # -# source://activeresource//lib/active_resource/http_mock.rb#54 +# pkg:gem/activeresource#lib/active_resource/http_mock.rb:54 class ActiveResource::HttpMock # @return [HttpMock] a new instance of HttpMock # - # source://activeresource//lib/active_resource/http_mock.rb#270 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:270 def initialize(site); end - # source://activeresource//lib/active_resource/http_mock.rb#256 + # pkg:gem/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#256 + # pkg:gem/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#256 + # pkg:gem/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 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:274 def inspect_responses; end - # source://activeresource//lib/active_resource/http_mock.rb#256 + # pkg:gem/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#256 + # pkg:gem/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#256 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:256 def put(path, body, headers, options = T.unsafe(nil)); end class << self - # source://activeresource//lib/active_resource/http_mock.rb#205 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:205 def delete_responses_to_replace(new_responses); end # Sets all ActiveResource::Connection to use HttpMock instances. # - # source://activeresource//lib/active_resource/http_mock.rb#225 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:225 def disable_net_connection!; end # Enables all ActiveResource::Connection instances to use real # Net::HTTP instance instead of a mock. # - # source://activeresource//lib/active_resource/http_mock.rb#220 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:220 def enable_net_connection!; end # @return [Boolean] # - # source://activeresource//lib/active_resource/http_mock.rb#238 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:238 def net_connection_disabled?; end # Checks if real requests can be used instead of the default mock used in tests. # # @return [Boolean] # - # source://activeresource//lib/active_resource/http_mock.rb#230 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:230 def net_connection_enabled?; end # Returns an array of all request objects that have been sent to the mock. You can use this to check @@ -3368,12 +3377,12 @@ class ActiveResource::HttpMock # assert ActiveResource::HttpMock.requests.include?(expected_request) # end # - # source://activeresource//lib/active_resource/http_mock.rb#103 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:103 def requests; end # Deletes all logged requests and responses. # - # source://activeresource//lib/active_resource/http_mock.rb#213 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:213 def reset!; end # Accepts a block which declares a set of requests and responses for the HttpMock to respond to in @@ -3455,117 +3464,117 @@ class ActiveResource::HttpMock # ActiveResource::HttpMock.respond_to(pairs, false) # ActiveResource::HttpMock.responses.length #=> 2 # - # source://activeresource//lib/active_resource/http_mock.rb#192 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:192 def respond_to(*args); end # Returns the list of requests and their mocked responses. Look up a # response for a request using responses.assoc(request). # - # source://activeresource//lib/active_resource/http_mock.rb#109 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:109 def responses; end end end -# source://activeresource//lib/active_resource/http_mock.rb#55 +# pkg:gem/activeresource#lib/active_resource/http_mock.rb:55 class ActiveResource::HttpMock::Responder # @return [Responder] a new instance of Responder # - # source://activeresource//lib/active_resource/http_mock.rb#56 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:56 def initialize(responses); end - # source://activeresource//lib/active_resource/http_mock.rb#64 + # pkg:gem/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#64 + # pkg:gem/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#64 + # pkg:gem/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#64 + # pkg:gem/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#64 + # pkg:gem/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#64 + # pkg:gem/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 - # source://activeresource//lib/active_resource/http_mock.rb#77 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:77 def delete_duplicate_responses(request); end end -# source://activeresource//lib/active_resource/inheriting_hash.rb#4 +# pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:4 class ActiveResource::InheritingHash < ::Hash # @return [InheritingHash] a new instance of InheritingHash # - # source://activeresource//lib/active_resource/inheriting_hash.rb#5 + # pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:5 def initialize(parent_hash = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/inheriting_hash.rb#11 + # pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:11 def [](key); end - # source://activeresource//lib/active_resource/inheriting_hash.rb#26 + # pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:26 def inspect; end # So we can see the merged object in IRB or the Rails console # - # source://activeresource//lib/active_resource/inheriting_hash.rb#22 + # pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:22 def pretty_print(pp); end # Merges the flattened parent hash (if it's an InheritingHash) # with ourself # - # source://activeresource//lib/active_resource/inheriting_hash.rb#17 + # pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:17 def to_hash; end - # source://activeresource//lib/active_resource/inheriting_hash.rb#30 + # pkg:gem/activeresource#lib/active_resource/inheriting_hash.rb:30 def to_s; end end -# source://activeresource//lib/active_resource/http_mock.rb#7 +# pkg:gem/activeresource#lib/active_resource/http_mock.rb:7 class ActiveResource::InvalidRequestError < ::StandardError; end -# source://activeresource//lib/active_resource/log_subscriber.rb#4 +# pkg:gem/activeresource#lib/active_resource/log_subscriber.rb:4 class ActiveResource::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activeresource//lib/active_resource/log_subscriber.rb#20 + # pkg:gem/activeresource#lib/active_resource/log_subscriber.rb:20 def logger; end - # source://activeresource//lib/active_resource/log_subscriber.rb#5 + # pkg:gem/activeresource#lib/active_resource/log_subscriber.rb:5 def request(event); end end # 405 Method Not Allowed # -# source://activeresource//lib/active_resource/exceptions.rb#96 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:96 class ActiveResource::MethodNotAllowed < ::ActiveResource::ClientError - # source://activeresource//lib/active_resource/exceptions.rb#97 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:97 def allowed_methods; end end -# source://activeresource//lib/active_resource/exceptions.rb#48 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:48 class ActiveResource::MissingPrefixParam < ::ArgumentError; end # 402 Payment Required # -# source://activeresource//lib/active_resource/exceptions.rb#64 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:64 class ActiveResource::PaymentRequired < ::ActiveResource::ClientError; end # 412 Precondition Failed # -# source://activeresource//lib/active_resource/exceptions.rb#84 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:84 class ActiveResource::PreconditionFailed < ::ActiveResource::ClientError; end -# source://activeresource//lib/active_resource/railtie.rb#7 +# pkg:gem/activeresource#lib/active_resource/railtie.rb:7 class ActiveResource::Railtie < ::Rails::Railtie; end # 3xx Redirection # -# source://activeresource//lib/active_resource/exceptions.rb#42 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:42 class ActiveResource::Redirection < ::ActiveResource::ConnectionError - # source://activeresource//lib/active_resource/exceptions.rb#43 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:43 def to_s; end end @@ -3575,7 +3584,7 @@ end # in a response with correct classes. # Now they could be specified over Associations with the options :class_name # -# source://activeresource//lib/active_resource/reflection.rb#12 +# pkg:gem/activeresource#lib/active_resource/reflection.rb:12 module ActiveResource::Reflection extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3596,146 +3605,146 @@ module ActiveResource::Reflection end end -# source://activeresource//lib/active_resource/reflection.rb#29 +# pkg:gem/activeresource#lib/active_resource/reflection.rb:29 class ActiveResource::Reflection::AssociationReflection # @return [AssociationReflection] a new instance of AssociationReflection # - # source://activeresource//lib/active_resource/reflection.rb#30 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:30 def initialize(macro, name, options); end # Returns the class name for the macro. # # has_many :clients returns 'Client' # - # source://activeresource//lib/active_resource/reflection.rb#59 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:59 def class_name; end # Returns the foreign_key for the macro. # - # source://activeresource//lib/active_resource/reflection.rb#64 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:64 def foreign_key; end # Returns the class for the macro. # # has_many :clients returns the Client class # - # source://activeresource//lib/active_resource/reflection.rb#52 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:52 def klass; end # Returns the macro type. # # has_many :clients returns :has_many # - # source://activeresource//lib/active_resource/reflection.rb#42 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:42 def macro; end # Returns the name of the macro. # # has_many :clients returns :clients # - # source://activeresource//lib/active_resource/reflection.rb#37 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:37 def name; end # Returns the hash of options used for the macro. # # has_many :clients returns +{}+ # - # source://activeresource//lib/active_resource/reflection.rb#47 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:47 def options; end private - # source://activeresource//lib/active_resource/reflection.rb#69 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:69 def derive_class_name; end - # source://activeresource//lib/active_resource/reflection.rb#73 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:73 def derive_foreign_key; end end -# source://activeresource//lib/active_resource/reflection.rb#20 +# pkg:gem/activeresource#lib/active_resource/reflection.rb:20 module ActiveResource::Reflection::ClassMethods - # source://activeresource//lib/active_resource/reflection.rb#21 + # pkg:gem/activeresource#lib/active_resource/reflection.rb:21 def create_reflection(macro, name, options); end end -# source://activeresource//lib/active_resource/http_mock.rb#279 +# pkg:gem/activeresource#lib/active_resource/http_mock.rb:279 class ActiveResource::Request # @return [Request] a new instance of Request # - # source://activeresource//lib/active_resource/http_mock.rb#282 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:282 def initialize(method, path, body = T.unsafe(nil), headers = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/http_mock.rb#286 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:286 def ==(req); end # Returns the value of attribute body. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def body; end # Sets the attribute body # # @param value the value to set the attribute body to. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def body=(_arg0); end # Returns the value of attribute headers. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def headers; end # Sets the attribute headers # # @param value the value to set the attribute headers to. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def headers=(_arg0); end # Returns the value of attribute method. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def method; end # Sets the attribute method # # @param value the value to set the attribute method to. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def method=(_arg0); end # Returns the value of attribute path. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def path; end # Sets the attribute path # # @param value the value to set the attribute path to. # - # source://activeresource//lib/active_resource/http_mock.rb#280 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:280 def path=(_arg0); end # Removes query parameters from the path. # # @return [String] the path without query parameters # - # source://activeresource//lib/active_resource/http_mock.rb#297 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:297 def remove_query_params_from_path; end - # source://activeresource//lib/active_resource/http_mock.rb#290 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:290 def to_s; end private # @return [Boolean] # - # source://activeresource//lib/active_resource/http_mock.rb#310 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:310 def headers_match?(req); end # @return [Boolean] # - # source://activeresource//lib/active_resource/http_mock.rb#302 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:302 def same_path?(req); end end @@ -3745,7 +3754,7 @@ end # {rescue_from}[rdoc-ref:ActiveSupport::Rescuable::ClassMethods#rescue_from] # for resources. Wraps calls over the network to handle configured errors. # -# source://activeresource//lib/active_resource/rescuable.rb#9 +# pkg:gem/activeresource#lib/active_resource/rescuable.rb:9 module ActiveResource::Rescuable extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -3756,7 +3765,7 @@ module ActiveResource::Rescuable private - # source://activeresource//lib/active_resource/rescuable.rb#20 + # pkg:gem/activeresource#lib/active_resource/rescuable.rb:20 def handle_exceptions; end module GeneratedClassMethods @@ -3774,87 +3783,87 @@ end # 409 Conflict # -# source://activeresource//lib/active_resource/exceptions.rb#76 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:76 class ActiveResource::ResourceConflict < ::ActiveResource::ClientError; end # 410 Gone # -# source://activeresource//lib/active_resource/exceptions.rb#80 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:80 class ActiveResource::ResourceGone < ::ActiveResource::ClientError; end -# source://activeresource//lib/active_resource/validations.rb#7 +# pkg:gem/activeresource#lib/active_resource/validations.rb:7 class ActiveResource::ResourceInvalid < ::ActiveResource::ClientError; end # 404 Not Found # -# source://activeresource//lib/active_resource/exceptions.rb#72 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:72 class ActiveResource::ResourceNotFound < ::ActiveResource::ClientError; end -# source://activeresource//lib/active_resource/http_mock.rb#321 +# pkg:gem/activeresource#lib/active_resource/http_mock.rb:321 class ActiveResource::Response # @return [Response] a new instance of Response # - # source://activeresource//lib/active_resource/http_mock.rb#324 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:324 def initialize(body, message = T.unsafe(nil), headers = T.unsafe(nil)); end # Returns true if the other is a Response with an equal body, equal message # and equal headers. Otherwise it returns false. # - # source://activeresource//lib/active_resource/http_mock.rb#352 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:352 def ==(other); end - # source://activeresource//lib/active_resource/http_mock.rb#342 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:342 def [](key); end - # source://activeresource//lib/active_resource/http_mock.rb#346 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:346 def []=(key, value); end # Returns the value of attribute body. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def body; end # Sets the attribute body # # @param value the value to set the attribute body to. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def body=(_arg0); end # Returns the value of attribute code. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def code; end # Sets the attribute code # # @param value the value to set the attribute code to. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def code=(_arg0); end # Returns the value of attribute headers. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def headers; end # Sets the attribute headers # # @param value the value to set the attribute headers to. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def headers=(_arg0); end # Returns the value of attribute message. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def message; end # Sets the attribute message # # @param value the value to set the attribute message to. # - # source://activeresource//lib/active_resource/http_mock.rb#322 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:322 def message=(_arg0); end # Returns true if code is 2xx, @@ -3862,24 +3871,24 @@ class ActiveResource::Response # # @return [Boolean] # - # source://activeresource//lib/active_resource/http_mock.rb#338 + # pkg:gem/activeresource#lib/active_resource/http_mock.rb:338 def success?; end end # Raised when a OpenSSL::SSL::SSLError occurs. # -# source://activeresource//lib/active_resource/exceptions.rb#31 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:31 class ActiveResource::SSLError < ::ActiveResource::ConnectionError # @return [SSLError] a new instance of SSLError # - # source://activeresource//lib/active_resource/exceptions.rb#32 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:32 def initialize(message); end - # source://activeresource//lib/active_resource/exceptions.rb#35 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:35 def to_s; end end -# source://activeresource//lib/active_resource/schema.rb#4 +# pkg:gem/activeresource#lib/active_resource/schema.rb:4 class ActiveResource::Schema # The internals of an Active Resource Schema are very simple - # unlike an Active Record TableDefinition (on which it is based). @@ -3896,64 +3905,64 @@ class ActiveResource::Schema # # @return [Schema] a new instance of Schema # - # source://activeresource//lib/active_resource/schema.rb#25 + # pkg:gem/activeresource#lib/active_resource/schema.rb:25 def initialize; end # @raise [ArgumentError] # - # source://activeresource//lib/active_resource/schema.rb#29 + # pkg:gem/activeresource#lib/active_resource/schema.rb:29 def attribute(name, type, options = T.unsafe(nil)); end # An array of attribute definitions, representing the attributes that # have been defined. # - # source://activeresource//lib/active_resource/schema.rb#11 + # pkg:gem/activeresource#lib/active_resource/schema.rb:11 def attrs; end # An array of attribute definitions, representing the attributes that # have been defined. # - # source://activeresource//lib/active_resource/schema.rb#11 + # pkg:gem/activeresource#lib/active_resource/schema.rb:11 def attrs=(_arg0); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def binary(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def boolean(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def date(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def datetime(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def decimal(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def float(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def integer(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def string(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def text(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def time(*args); end - # source://activeresource//lib/active_resource/schema.rb#49 + # pkg:gem/activeresource#lib/active_resource/schema.rb:49 def timestamp(*args); end end # attributes can be known to be one of these types. They are easy to # cast to/from. # -# source://activeresource//lib/active_resource/schema.rb#7 +# pkg:gem/activeresource#lib/active_resource/schema.rb:7 ActiveResource::Schema::KNOWN_ATTRIBUTE_TYPES = T.let(T.unsafe(nil), Array) # Compatibilitiy with Active Record's @@ -4018,7 +4027,7 @@ ActiveResource::Schema::KNOWN_ATTRIBUTE_TYPES = T.let(T.unsafe(nil), Array) # # user.person_before_type_cast # => {"name"=>"Matz"} # -# source://activeresource//lib/active_resource/serialization.rb#65 +# pkg:gem/activeresource#lib/active_resource/serialization.rb:65 module ActiveResource::Serialization extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -4034,24 +4043,24 @@ module ActiveResource::Serialization module GeneratedInstanceMethods; end end -# source://activeresource//lib/active_resource/serialization.rb#72 +# pkg:gem/activeresource#lib/active_resource/serialization.rb:72 module ActiveResource::Serialization::ClassMethods - # source://activeresource//lib/active_resource/serialization.rb#73 + # pkg:gem/activeresource#lib/active_resource/serialization.rb:73 def dump(*_arg0, **_arg1, &_arg2); end - # source://activeresource//lib/active_resource/serialization.rb#75 + # pkg:gem/activeresource#lib/active_resource/serialization.rb:75 def inherited(subclass); end - # source://activeresource//lib/active_resource/serialization.rb#73 + # pkg:gem/activeresource#lib/active_resource/serialization.rb:73 def load(*_arg0, **_arg1, &_arg2); end end # 5xx Server Error # -# source://activeresource//lib/active_resource/exceptions.rb#92 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:92 class ActiveResource::ServerError < ::ActiveResource::ConnectionError; end -# source://activeresource//lib/active_resource/singleton.rb#4 +# pkg:gem/activeresource#lib/active_resource/singleton.rb:4 module ActiveResource::Singleton extend ::ActiveSupport::Concern @@ -4064,28 +4073,28 @@ module ActiveResource::Singleton # weather.destroy # Weather.find # 404 (Resource Not Found) # - # source://activeresource//lib/active_resource/singleton.rb#85 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:85 def destroy; end protected # Create (i.e. \save to the remote service) the \new resource. # - # source://activeresource//lib/active_resource/singleton.rb#99 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:99 def create; end # Update the resource on the remote service # - # source://activeresource//lib/active_resource/singleton.rb#92 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:92 def update; end private - # source://activeresource//lib/active_resource/singleton.rb#107 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:107 def singleton_path(options = T.unsafe(nil)); end end -# source://activeresource//lib/active_resource/singleton.rb#7 +# pkg:gem/activeresource#lib/active_resource/singleton.rb:7 module ActiveResource::Singleton::ClassMethods # Core method for finding singleton resources. # @@ -4108,17 +4117,17 @@ module ActiveResource::Singleton::ClassMethods # Inventory.find # # => raises ResourceNotFound # - # source://activeresource//lib/active_resource/singleton.rb#65 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:65 def find(options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/singleton.rb#10 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:10 def singleton_name; end # Sets the attribute singleton_name # # @param value the value to set the attribute singleton_name to. # - # source://activeresource//lib/active_resource/singleton.rb#8 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:8 def singleton_name=(_arg0); end # Gets the singleton path for the object. If the +query_options+ parameter is omitted, Rails @@ -4145,59 +4154,59 @@ module ActiveResource::Singleton::ClassMethods # Inventory.singleton_path({:product_id => 5}, {:sold => true}) # # => /products/5/inventory.json?sold=true # - # source://activeresource//lib/active_resource/singleton.rb#38 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:38 def singleton_path(prefix_options = T.unsafe(nil), query_options = T.unsafe(nil)); end private # Find singleton resource # - # source://activeresource//lib/active_resource/singleton.rb#71 + # pkg:gem/activeresource#lib/active_resource/singleton.rb:71 def find_singleton(options); end end # Raised when a Timeout::Error occurs. # -# source://activeresource//lib/active_resource/exceptions.rb#23 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:23 class ActiveResource::TimeoutError < ::ActiveResource::ConnectionError # @return [TimeoutError] a new instance of TimeoutError # - # source://activeresource//lib/active_resource/exceptions.rb#24 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:24 def initialize(message); end - # source://activeresource//lib/active_resource/exceptions.rb#27 + # pkg:gem/activeresource#lib/active_resource/exceptions.rb:27 def to_s; end end # 429 Too Many Requests # -# source://activeresource//lib/active_resource/exceptions.rb#88 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:88 class ActiveResource::TooManyRequests < ::ActiveResource::ClientError; end -# source://activeresource//lib/active_resource.rb#36 +# pkg:gem/activeresource#lib/active_resource.rb:36 ActiveResource::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) # 401 Unauthorized # -# source://activeresource//lib/active_resource/exceptions.rb#60 +# pkg:gem/activeresource#lib/active_resource/exceptions.rb:60 class ActiveResource::UnauthorizedAccess < ::ActiveResource::ClientError; end -# source://activeresource//lib/active_resource/version.rb#4 +# pkg:gem/activeresource#lib/active_resource/version.rb:4 module ActiveResource::VERSION; end -# source://activeresource//lib/active_resource/version.rb#5 +# pkg:gem/activeresource#lib/active_resource/version.rb:5 ActiveResource::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://activeresource//lib/active_resource/version.rb#6 +# pkg:gem/activeresource#lib/active_resource/version.rb:6 ActiveResource::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://activeresource//lib/active_resource/version.rb#8 +# pkg:gem/activeresource#lib/active_resource/version.rb:8 ActiveResource::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://activeresource//lib/active_resource/version.rb#10 +# pkg:gem/activeresource#lib/active_resource/version.rb:10 ActiveResource::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://activeresource//lib/active_resource/version.rb#7 +# pkg:gem/activeresource#lib/active_resource/version.rb:7 ActiveResource::VERSION::TINY = T.let(T.unsafe(nil), Integer) # Module to support validation and errors with Active Resource objects. The module overrides @@ -4220,7 +4229,7 @@ ActiveResource::VERSION::TINY = T.let(T.unsafe(nil), Integer) # person.last_name = "Halpert" # person.save # => true (and person is now saved to the remote service) # -# source://activeresource//lib/active_resource/validations.rb#100 +# pkg:gem/activeresource#lib/active_resource/validations.rb:100 module ActiveResource::Validations extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -4232,19 +4241,19 @@ module ActiveResource::Validations # Returns the Errors object that holds all information about attribute error messages. # - # source://activeresource//lib/active_resource/validations.rb#172 + # pkg:gem/activeresource#lib/active_resource/validations.rb:172 def errors; end # Loads the set of remote errors into the object's Errors based on the # content-type of the error-block received. # - # source://activeresource//lib/active_resource/validations.rb#136 + # pkg:gem/activeresource#lib/active_resource/validations.rb:136 def load_remote_errors(remote_errors, save_cache = T.unsafe(nil)); end # Validate a resource and save (POST) it to the remote web service. # If any local validations fail - the save (POST) will not be attempted. # - # source://activeresource//lib/active_resource/validations.rb#111 + # pkg:gem/activeresource#lib/active_resource/validations.rb:111 def save_with_validation(options = T.unsafe(nil)); end # Checks for errors on an object (i.e., is resource.errors empty?). @@ -4267,7 +4276,7 @@ module ActiveResource::Validations # # @return [Boolean] # - # source://activeresource//lib/active_resource/validations.rb#163 + # pkg:gem/activeresource#lib/active_resource/validations.rb:163 def valid?(context = T.unsafe(nil)); end module GeneratedClassMethods @@ -4285,78 +4294,78 @@ module ActiveResource::Validations end end -# source://activeresource//lib/active_resource/where_clause.rb#4 +# pkg:gem/activeresource#lib/active_resource/where_clause.rb:4 class ActiveResource::WhereClause < ::BasicObject # @return [WhereClause] a new instance of WhereClause # - # source://activeresource//lib/active_resource/where_clause.rb#7 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:7 def initialize(resource_class, options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/where_clause.rb#18 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:18 def all(options = T.unsafe(nil)); end - # source://activeresource//lib/active_resource/where_clause.rb#22 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:22 def load; end - # source://activeresource//lib/active_resource/where_clause.rb#5 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:5 def method_missing(method, *_arg1, **_arg2, &_arg3); end - # source://activeresource//lib/active_resource/where_clause.rb#31 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:31 def reload; end - # source://activeresource//lib/active_resource/where_clause.rb#14 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:14 def where(clauses = T.unsafe(nil)); end private - # source://activeresource//lib/active_resource/where_clause.rb#42 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:42 def reset; end - # source://activeresource//lib/active_resource/where_clause.rb#37 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:37 def resources; end - # source://activeresource//lib/active_resource/where_clause.rb#5 + # pkg:gem/activeresource#lib/active_resource/where_clause.rb:5 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end -# source://activeresource//lib/active_resource/threadsafe_attributes.rb#5 +# pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:5 module ThreadsafeAttributes mixes_in_class_methods ::ThreadsafeAttributes::ClassMethods private - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#31 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:31 def get_threadsafe_attribute(name, main_thread); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#53 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:53 def get_threadsafe_attribute_by_thread(name, thread); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#42 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:42 def set_threadsafe_attribute(name, value, main_thread); end - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#57 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:57 def set_threadsafe_attribute_by_thread(name, value, thread); end # @return [Boolean] # - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#49 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:49 def threadsafe_attribute_defined?(name, main_thread); end # @return [Boolean] # - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#62 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:62 def threadsafe_attribute_defined_by_thread?(name, thread); end class << self # @private # - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#6 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:6 def included(klass); end end end -# source://activeresource//lib/active_resource/threadsafe_attributes.rb#10 +# pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:10 module ThreadsafeAttributes::ClassMethods - # source://activeresource//lib/active_resource/threadsafe_attributes.rb#11 + # pkg:gem/activeresource#lib/active_resource/threadsafe_attributes.rb:11 def threadsafe_attribute(*attrs); end end diff --git a/sorbet/rbi/gems/activestorage@8.1.1.rbi b/sorbet/rbi/gems/activestorage@8.1.1.rbi index b0fcf4c5e..615a29be5 100644 --- a/sorbet/rbi/gems/activestorage@8.1.1.rbi +++ b/sorbet/rbi/gems/activestorage@8.1.1.rbi @@ -16,313 +16,313 @@ end # :markup: markdown # :include: ../README.md # -# source://activestorage//lib/active_storage/gem_version.rb#3 +# pkg:gem/activestorage#lib/active_storage/gem_version.rb:3 module ActiveStorage extend ::ActiveSupport::Autoload - # source://activestorage//lib/active_storage.rb#57 + # pkg:gem/activestorage#lib/active_storage.rb:57 def analyzers; end - # source://activestorage//lib/active_storage.rb#57 + # pkg:gem/activestorage#lib/active_storage.rb:57 def analyzers=(val); end - # source://activestorage//lib/active_storage.rb#63 + # pkg:gem/activestorage#lib/active_storage.rb:63 def binary_content_type; end - # source://activestorage//lib/active_storage.rb#63 + # pkg:gem/activestorage#lib/active_storage.rb:63 def binary_content_type=(val); end - # source://activestorage//lib/active_storage.rb#65 + # pkg:gem/activestorage#lib/active_storage.rb:65 def content_types_allowed_inline; end - # source://activestorage//lib/active_storage.rb#65 + # pkg:gem/activestorage#lib/active_storage.rb:65 def content_types_allowed_inline=(val); end - # source://activestorage//lib/active_storage.rb#64 + # pkg:gem/activestorage#lib/active_storage.rb:64 def content_types_to_serve_as_binary; end - # source://activestorage//lib/active_storage.rb#64 + # pkg:gem/activestorage#lib/active_storage.rb:64 def content_types_to_serve_as_binary=(val); end - # source://activestorage//lib/active_storage.rb#360 + # pkg:gem/activestorage#lib/active_storage.rb:360 def draw_routes; end - # source://activestorage//lib/active_storage.rb#360 + # pkg:gem/activestorage#lib/active_storage.rb:360 def draw_routes=(val); end - # source://activestorage//lib/active_storage.rb#48 + # pkg:gem/activestorage#lib/active_storage.rb:48 def logger; end - # source://activestorage//lib/active_storage.rb#48 + # pkg:gem/activestorage#lib/active_storage.rb:48 def logger=(val); end - # source://activestorage//lib/active_storage.rb#59 + # pkg:gem/activestorage#lib/active_storage.rb:59 def paths; end - # source://activestorage//lib/active_storage.rb#59 + # pkg:gem/activestorage#lib/active_storage.rb:59 def paths=(val); end - # source://activestorage//lib/active_storage.rb#56 + # pkg:gem/activestorage#lib/active_storage.rb:56 def previewers; end - # source://activestorage//lib/active_storage.rb#56 + # pkg:gem/activestorage#lib/active_storage.rb:56 def previewers=(val); end - # source://activestorage//lib/active_storage.rb#54 + # pkg:gem/activestorage#lib/active_storage.rb:54 def queues; end - # source://activestorage//lib/active_storage.rb#54 + # pkg:gem/activestorage#lib/active_storage.rb:54 def queues=(val); end - # source://activestorage//lib/active_storage.rb#361 + # pkg:gem/activestorage#lib/active_storage.rb:361 def resolve_model_to_route; end - # source://activestorage//lib/active_storage.rb#361 + # pkg:gem/activestorage#lib/active_storage.rb:361 def resolve_model_to_route=(val); end - # source://activestorage//lib/active_storage.rb#359 + # pkg:gem/activestorage#lib/active_storage.rb:359 def routes_prefix; end - # source://activestorage//lib/active_storage.rb#359 + # pkg:gem/activestorage#lib/active_storage.rb:359 def routes_prefix=(val); end - # source://activestorage//lib/active_storage.rb#355 + # pkg:gem/activestorage#lib/active_storage.rb:355 def service_urls_expire_in; end - # source://activestorage//lib/active_storage.rb#355 + # pkg:gem/activestorage#lib/active_storage.rb:355 def service_urls_expire_in=(val); end - # source://activestorage//lib/active_storage.rb#67 + # pkg:gem/activestorage#lib/active_storage.rb:67 def supported_image_processing_methods; end - # source://activestorage//lib/active_storage.rb#67 + # pkg:gem/activestorage#lib/active_storage.rb:67 def supported_image_processing_methods=(val); end - # source://activestorage//lib/active_storage.rb#356 + # pkg:gem/activestorage#lib/active_storage.rb:356 def touch_attachment_records; end - # source://activestorage//lib/active_storage.rb#356 + # pkg:gem/activestorage#lib/active_storage.rb:356 def touch_attachment_records=(val); end - # source://activestorage//lib/active_storage.rb#363 + # pkg:gem/activestorage#lib/active_storage.rb:363 def track_variants; end - # source://activestorage//lib/active_storage.rb#363 + # pkg:gem/activestorage#lib/active_storage.rb:363 def track_variants=(val); end - # source://activestorage//lib/active_storage.rb#353 + # pkg:gem/activestorage#lib/active_storage.rb:353 def unsupported_image_processing_arguments; end - # source://activestorage//lib/active_storage.rb#353 + # pkg:gem/activestorage#lib/active_storage.rb:353 def unsupported_image_processing_arguments=(val); end - # source://activestorage//lib/active_storage.rb#357 + # pkg:gem/activestorage#lib/active_storage.rb:357 def urls_expire_in; end - # source://activestorage//lib/active_storage.rb#357 + # pkg:gem/activestorage#lib/active_storage.rb:357 def urls_expire_in=(val); end - # source://activestorage//lib/active_storage.rb#61 + # pkg:gem/activestorage#lib/active_storage.rb:61 def variable_content_types; end - # source://activestorage//lib/active_storage.rb#61 + # pkg:gem/activestorage#lib/active_storage.rb:61 def variable_content_types=(val); end - # source://activestorage//lib/active_storage.rb#50 + # pkg:gem/activestorage#lib/active_storage.rb:50 def variant_processor; end - # source://activestorage//lib/active_storage.rb#50 + # pkg:gem/activestorage#lib/active_storage.rb:50 def variant_processor=(val); end - # source://activestorage//lib/active_storage.rb#52 + # pkg:gem/activestorage#lib/active_storage.rb:52 def variant_transformer; end - # source://activestorage//lib/active_storage.rb#52 + # pkg:gem/activestorage#lib/active_storage.rb:52 def variant_transformer=(val); end - # source://activestorage//lib/active_storage.rb#49 + # pkg:gem/activestorage#lib/active_storage.rb:49 def verifier; end - # source://activestorage//lib/active_storage.rb#49 + # pkg:gem/activestorage#lib/active_storage.rb:49 def verifier=(val); end - # source://activestorage//lib/active_storage.rb#365 + # pkg:gem/activestorage#lib/active_storage.rb:365 def video_preview_arguments; end - # source://activestorage//lib/active_storage.rb#365 + # pkg:gem/activestorage#lib/active_storage.rb:365 def video_preview_arguments=(val); end - # source://activestorage//lib/active_storage.rb#62 + # pkg:gem/activestorage#lib/active_storage.rb:62 def web_image_content_types; end - # source://activestorage//lib/active_storage.rb#62 + # pkg:gem/activestorage#lib/active_storage.rb:62 def web_image_content_types=(val); end class << self - # source://activestorage//lib/active_storage.rb#57 + # pkg:gem/activestorage#lib/active_storage.rb:57 def analyzers; end - # source://activestorage//lib/active_storage.rb#57 + # pkg:gem/activestorage#lib/active_storage.rb:57 def analyzers=(val); end - # source://activestorage//lib/active_storage.rb#63 + # pkg:gem/activestorage#lib/active_storage.rb:63 def binary_content_type; end - # source://activestorage//lib/active_storage.rb#63 + # pkg:gem/activestorage#lib/active_storage.rb:63 def binary_content_type=(val); end - # source://activestorage//lib/active_storage.rb#65 + # pkg:gem/activestorage#lib/active_storage.rb:65 def content_types_allowed_inline; end - # source://activestorage//lib/active_storage.rb#65 + # pkg:gem/activestorage#lib/active_storage.rb:65 def content_types_allowed_inline=(val); end - # source://activestorage//lib/active_storage.rb#64 + # pkg:gem/activestorage#lib/active_storage.rb:64 def content_types_to_serve_as_binary; end - # source://activestorage//lib/active_storage.rb#64 + # pkg:gem/activestorage#lib/active_storage.rb:64 def content_types_to_serve_as_binary=(val); end - # source://activestorage//lib/active_storage/deprecator.rb#4 + # pkg:gem/activestorage#lib/active_storage/deprecator.rb:4 def deprecator; end - # source://activestorage//lib/active_storage.rb#360 + # pkg:gem/activestorage#lib/active_storage.rb:360 def draw_routes; end - # source://activestorage//lib/active_storage.rb#360 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/gem_version.rb:5 def gem_version; end - # source://activestorage//lib/active_storage.rb#48 + # pkg:gem/activestorage#lib/active_storage.rb:48 def logger; end - # source://activestorage//lib/active_storage.rb#48 + # pkg:gem/activestorage#lib/active_storage.rb:48 def logger=(val); end - # source://activestorage//lib/active_storage.rb#59 + # pkg:gem/activestorage#lib/active_storage.rb:59 def paths; end - # source://activestorage//lib/active_storage.rb#59 + # pkg:gem/activestorage#lib/active_storage.rb:59 def paths=(val); end - # source://activestorage//lib/active_storage.rb#56 + # pkg:gem/activestorage#lib/active_storage.rb:56 def previewers; end - # source://activestorage//lib/active_storage.rb#56 + # pkg:gem/activestorage#lib/active_storage.rb:56 def previewers=(val); end - # source://activestorage//lib/active_storage.rb#54 + # pkg:gem/activestorage#lib/active_storage.rb:54 def queues; end - # source://activestorage//lib/active_storage.rb#54 + # pkg:gem/activestorage#lib/active_storage.rb:54 def queues=(val); end - # source://activestorage//lib/active_storage/engine.rb#24 + # pkg:gem/activestorage#lib/active_storage/engine.rb:24 def railtie_helpers_paths; end - # source://activestorage//lib/active_storage/engine.rb#24 + # pkg:gem/activestorage#lib/active_storage/engine.rb:24 def railtie_namespace; end - # source://activestorage//lib/active_storage/engine.rb#24 + # pkg:gem/activestorage#lib/active_storage/engine.rb:24 def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - # source://activestorage//lib/active_storage.rb#361 + # pkg:gem/activestorage#lib/active_storage.rb:361 def resolve_model_to_route; end - # source://activestorage//lib/active_storage.rb#361 + # pkg:gem/activestorage#lib/active_storage.rb:361 def resolve_model_to_route=(val); end - # source://activestorage//lib/active_storage.rb#359 + # pkg:gem/activestorage#lib/active_storage.rb:359 def routes_prefix; end - # source://activestorage//lib/active_storage.rb#359 + # pkg:gem/activestorage#lib/active_storage.rb:359 def routes_prefix=(val); end - # source://activestorage//lib/active_storage.rb#355 + # pkg:gem/activestorage#lib/active_storage.rb:355 def service_urls_expire_in; end - # source://activestorage//lib/active_storage.rb#355 + # pkg:gem/activestorage#lib/active_storage.rb:355 def service_urls_expire_in=(val); end - # source://activestorage//lib/active_storage.rb#67 + # pkg:gem/activestorage#lib/active_storage.rb:67 def supported_image_processing_methods; end - # source://activestorage//lib/active_storage.rb#67 + # pkg:gem/activestorage#lib/active_storage.rb:67 def supported_image_processing_methods=(val); end - # source://activestorage//lib/active_storage/engine.rb#24 + # pkg:gem/activestorage#lib/active_storage/engine.rb:24 def table_name_prefix; end - # source://activestorage//lib/active_storage.rb#356 + # pkg:gem/activestorage#lib/active_storage.rb:356 def touch_attachment_records; end - # source://activestorage//lib/active_storage.rb#356 + # pkg:gem/activestorage#lib/active_storage.rb:356 def touch_attachment_records=(val); end - # source://activestorage//lib/active_storage.rb#363 + # pkg:gem/activestorage#lib/active_storage.rb:363 def track_variants; end - # source://activestorage//lib/active_storage.rb#363 + # pkg:gem/activestorage#lib/active_storage.rb:363 def track_variants=(val); end - # source://activestorage//lib/active_storage.rb#353 + # pkg:gem/activestorage#lib/active_storage.rb:353 def unsupported_image_processing_arguments; end - # source://activestorage//lib/active_storage.rb#353 + # pkg:gem/activestorage#lib/active_storage.rb:353 def unsupported_image_processing_arguments=(val); end - # source://activestorage//lib/active_storage.rb#357 + # pkg:gem/activestorage#lib/active_storage.rb:357 def urls_expire_in; end - # source://activestorage//lib/active_storage.rb#357 + # pkg:gem/activestorage#lib/active_storage.rb:357 def urls_expire_in=(val); end - # source://activestorage//lib/active_storage/engine.rb#24 + # pkg:gem/activestorage#lib/active_storage/engine.rb:24 def use_relative_model_naming?; end - # source://activestorage//lib/active_storage.rb#61 + # pkg:gem/activestorage#lib/active_storage.rb:61 def variable_content_types; end - # source://activestorage//lib/active_storage.rb#61 + # pkg:gem/activestorage#lib/active_storage.rb:61 def variable_content_types=(val); end - # source://activestorage//lib/active_storage.rb#50 + # pkg:gem/activestorage#lib/active_storage.rb:50 def variant_processor; end - # source://activestorage//lib/active_storage.rb#50 + # pkg:gem/activestorage#lib/active_storage.rb:50 def variant_processor=(val); end - # source://activestorage//lib/active_storage.rb#52 + # pkg:gem/activestorage#lib/active_storage.rb:52 def variant_transformer; end - # source://activestorage//lib/active_storage.rb#52 + # pkg:gem/activestorage#lib/active_storage.rb:52 def variant_transformer=(val); end - # source://activestorage//lib/active_storage.rb#49 + # pkg:gem/activestorage#lib/active_storage.rb:49 def verifier; end - # source://activestorage//lib/active_storage.rb#49 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/version.rb:7 def version; end - # source://activestorage//lib/active_storage.rb#365 + # pkg:gem/activestorage#lib/active_storage.rb:365 def video_preview_arguments; end - # source://activestorage//lib/active_storage.rb#365 + # pkg:gem/activestorage#lib/active_storage.rb:365 def video_preview_arguments=(val); end - # source://activestorage//lib/active_storage.rb#62 + # pkg:gem/activestorage#lib/active_storage.rb:62 def web_image_content_types; end - # source://activestorage//lib/active_storage.rb#62 + # pkg:gem/activestorage#lib/active_storage.rb:62 def web_image_content_types=(val); end end end @@ -345,39 +345,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/analyzer.rb:34 def download_blob_to_tempfile(&block); end - # source://activestorage//lib/active_storage/analyzer.rb#46 + # pkg:gem/activestorage#lib/active_storage/analyzer.rb:46 def instrument(analyzer, &block); end - # source://activestorage//lib/active_storage/analyzer.rb#38 + # pkg:gem/activestorage#lib/active_storage/analyzer.rb:38 def logger; end - # source://activestorage//lib/active_storage/analyzer.rb#42 + # pkg:gem/activestorage#lib/active_storage/analyzer.rb:42 def tmpdir; end class << self @@ -386,7 +386,7 @@ class ActiveStorage::Analyzer # # @return [Boolean] # - # source://activestorage//lib/active_storage/analyzer.rb#13 + # pkg:gem/activestorage#lib/active_storage/analyzer.rb:13 def accept?(blob); end # Implement this method in concrete subclasses. It will determine if blob analysis @@ -394,188 +394,188 @@ class ActiveStorage::Analyzer # # @return [Boolean] # - # source://activestorage//lib/active_storage/analyzer.rb#19 + # pkg:gem/activestorage#lib/active_storage/analyzer.rb:19 def analyze_later?; end end end -# source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#14 +# pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:19 def metadata; end private - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#44 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:44 def audio_stream; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#29 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:29 def bit_rate; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#24 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:24 def duration; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#73 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:73 def ffprobe_path; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#52 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:52 def probe; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#56 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:56 def probe_from(file); end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#34 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:34 def sample_rate; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#48 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:48 def streams; end - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#39 + # pkg:gem/activestorage#lib/active_storage/analyzer/audio_analyzer.rb:39 def tags; end class << self - # source://activestorage//lib/active_storage/analyzer/audio_analyzer.rb#15 + # pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer.rb:14 class ActiveStorage::Analyzer::ImageAnalyzer < ::ActiveStorage::Analyzer extend ::ActiveSupport::Autoload - # source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#24 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer.rb:24 def metadata; end class << self - # source://activestorage//lib/active_storage/analyzer/image_analyzer.rb#20 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer.rb:20 def accept?(blob); end end end -# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#15 +# pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/image_magick.rb:15 class ActiveStorage::Analyzer::ImageAnalyzer::ImageMagick < ::ActiveStorage::Analyzer::ImageAnalyzer private - # source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#21 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/image_magick.rb:21 def read_image; end - # source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#44 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/image_magick.rb:44 def rotated_image?(image); end class << self - # source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#16 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/image_magick.rb:16 def accept?(blob); end end end -# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#23 +# pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/vips.rb:23 class ActiveStorage::Analyzer::ImageAnalyzer::Vips < ::ActiveStorage::Analyzer::ImageAnalyzer private - # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#29 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/vips.rb:29 def read_image; end - # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#59 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/vips.rb:59 def rotated_image?(image); end class << self - # source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#24 + # pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/vips.rb:24 def accept?(blob); end end end -# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#58 +# pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/vips.rb:58 ActiveStorage::Analyzer::ImageAnalyzer::Vips::ROTATIONS = T.let(T.unsafe(nil), Regexp) -# source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#4 +# pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/analyzer/null_analyzer.rb:13 def metadata; end class << self - # source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#5 + # pkg:gem/activestorage#lib/active_storage/analyzer/null_analyzer.rb:5 def accept?(blob); end - # source://activestorage//lib/active_storage/analyzer/null_analyzer.rb#9 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:29 def metadata; end private - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#55 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:55 def angle; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#82 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:82 def audio?; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#120 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:120 def audio_stream; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#90 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:90 def computed_height; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#128 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:128 def container; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#67 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:67 def display_aspect_ratio; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#104 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:104 def display_height_scale; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#63 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:63 def display_matrix; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#50 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:50 def duration; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#100 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:100 def encoded_height; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#96 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:96 def encoded_width; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#153 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:153 def ffprobe_path; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#42 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:42 def height; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#132 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:132 def probe; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#136 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:136 def probe_from(file); end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#78 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:78 def rotated?; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#112 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:112 def side_data; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#124 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:124 def streams; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#108 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:108 def tags; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#86 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:86 def video?; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#116 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:116 def video_stream; end - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#34 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:34 def width; end class << self - # source://activestorage//lib/active_storage/analyzer/video_analyzer.rb#25 + # pkg:gem/activestorage#lib/active_storage/analyzer/video_analyzer.rb:25 def accept?(blob); end end end @@ -585,384 +585,384 @@ 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#9 +# pkg:gem/activestorage#lib/active_storage/attached.rb:9 class ActiveStorage::Attached # @return [Attached] a new instance of Attached # - # source://activestorage//lib/active_storage/attached.rb#12 + # pkg:gem/activestorage#lib/active_storage/attached.rb:12 def initialize(name, record); end # Returns the value of attribute name. # - # source://activestorage//lib/active_storage/attached.rb#10 + # pkg:gem/activestorage#lib/active_storage/attached.rb:10 def name; end # Returns the value of attribute record. # - # source://activestorage//lib/active_storage/attached.rb#10 + # pkg:gem/activestorage#lib/active_storage/attached.rb:10 def record; end private - # source://activestorage//lib/active_storage/attached.rb#17 + # pkg:gem/activestorage#lib/active_storage/attached.rb:17 def change; end end -# source://activestorage//lib/active_storage/attached/changes.rb#4 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:5 def attachables; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#14 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:14 def attachments; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#18 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:18 def blobs; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#5 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:5 def record; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#26 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:26 def save; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_many.rb:32 def subchanges; end - # source://activestorage//lib/active_storage/attached/changes/create_many.rb#40 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_one.rb:8 def attachable; end - # source://activestorage//lib/active_storage/attached/changes/create_one.rb#15 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_one.rb:15 def attachment; end - # source://activestorage//lib/active_storage/attached/changes/create_one.rb#19 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_one.rb:19 def blob; end - # source://activestorage//lib/active_storage/attached/changes/create_one.rb#8 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_one.rb:8 def name; end - # source://activestorage//lib/active_storage/attached/changes/create_one.rb#8 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_one.rb:8 def record; end - # source://activestorage//lib/active_storage/attached/changes/create_one.rb#48 + # pkg:gem/activestorage#lib/active_storage/attached/changes/create_one.rb:48 def save; end - # source://activestorage//lib/active_storage/attached/changes/create_one.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_many.rb:11 def attachables; end - # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#15 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_many.rb:15 def attachments; end - # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#19 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_many.rb:19 def blobs; end - # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_many.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_many.rb:5 def record; end - # source://activestorage//lib/active_storage/attached/changes/delete_many.rb#23 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_one.rb:11 def attachment; end - # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_one.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/delete_one.rb:5 def record; end - # source://activestorage//lib/active_storage/attached/changes/delete_one.rb#15 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/detach_many.rb:5 def attachments; end - # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#11 + # pkg:gem/activestorage#lib/active_storage/attached/changes/detach_many.rb:11 def detach; end - # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/detach_many.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/detach_many.rb#5 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/detach_one.rb:5 def attachment; end - # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#11 + # pkg:gem/activestorage#lib/active_storage/attached/changes/detach_one.rb:11 def detach; end - # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/detach_one.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/detach_one.rb#5 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_many.rb:5 def attachments; end - # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_many.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#11 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_many.rb:11 def purge; end - # source://activestorage//lib/active_storage/attached/changes/purge_many.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_one.rb:5 def attachment; end - # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#5 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_one.rb:5 def name; end - # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#11 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_one.rb:11 def purge; end - # source://activestorage//lib/active_storage/attached/changes/purge_one.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/changes/purge_one.rb:22 def reset; end end -# source://activestorage//lib/active_storage/attached/many.rb#7 +# pkg:gem/activestorage#lib/active_storage/attached/many.rb:7 class ActiveStorage::Attached::Many < ::ActiveStorage::Attached - # source://activestorage//lib/active_storage/attached/many.rb#51 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:51 def attach(*attachables); end - # source://activestorage//lib/active_storage/attached/many.rb#66 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:66 def attached?; end - # source://activestorage//lib/active_storage/attached/many.rb#32 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:32 def attachments; end - # source://activestorage//lib/active_storage/attached/many.rb#37 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:37 def blobs; end - # source://activestorage//lib/active_storage/attached/many.rb#25 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:25 def detach(*_arg0, **_arg1, &_arg2); end - # source://activestorage//lib/active_storage/attached/many.rb#27 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:27 def method_missing(method, *_arg1, **_arg2, &_arg3); end - # source://activestorage//lib/active_storage/attached/many.rb#13 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:13 def purge(*_arg0, **_arg1, &_arg2); end - # source://activestorage//lib/active_storage/attached/many.rb#19 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:75 def detach_many; end - # source://activestorage//lib/active_storage/attached/many.rb#71 + # pkg:gem/activestorage#lib/active_storage/attached/many.rb:71 def purge_many; end - # source://activestorage//lib/active_storage/attached/many.rb#27 + # pkg:gem/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 +# pkg:gem/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#281 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:281 def attachment_changes; end - # source://activestorage//lib/active_storage/attached/model.rb#285 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:285 def changed_for_autosave?; end - # source://activestorage//lib/active_storage/attached/model.rb#295 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:295 def reload(*_arg0); end private - # source://activestorage//lib/active_storage/attached/model.rb#289 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:289 def initialize_dup(*_arg0); end class << self - # source://activestorage//lib/active_storage/attached/model.rb#263 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:263 def validate_service_configuration(service_name, model_class, association_name); end private - # source://activestorage//lib/active_storage/attached/model.rb#274 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:274 def validate_global_service_configuration(model_class); end end end -# source://activestorage//lib/active_storage/attached/model.rb#54 +# pkg:gem/activestorage#lib/active_storage/attached/model.rb:54 module ActiveStorage::Attached::Model::ClassMethods - # source://activestorage//lib/active_storage/attached/model.rb#210 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:210 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#108 + # pkg:gem/activestorage#lib/active_storage/attached/model.rb:108 def has_one_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end end -# source://activestorage//lib/active_storage/attached/one.rb#7 +# pkg:gem/activestorage#lib/active_storage/attached/one.rb:7 class ActiveStorage::Attached::One < ::ActiveStorage::Attached - # source://activestorage//lib/active_storage/attached/one.rb#58 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:58 def attach(attachable); end - # source://activestorage//lib/active_storage/attached/one.rb#73 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:73 def attached?; end - # source://activestorage//lib/active_storage/attached/one.rb#33 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:33 def attachment; end - # source://activestorage//lib/active_storage/attached/one.rb#44 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:44 def blank?; end - # source://activestorage//lib/active_storage/attached/one.rb#25 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:25 def detach(*_arg0, **_arg1, &_arg2); end - # source://activestorage//lib/active_storage/attached/one.rb#27 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:27 def method_missing(method, *_arg1, **_arg2, &_arg3); end - # source://activestorage//lib/active_storage/attached/one.rb#13 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:13 def purge(*_arg0, **_arg1, &_arg2); end - # source://activestorage//lib/active_storage/attached/one.rb#19 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:82 def detach_one; end - # source://activestorage//lib/active_storage/attached/one.rb#78 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:78 def purge_one; end - # source://activestorage//lib/active_storage/attached/one.rb#27 + # pkg:gem/activestorage#lib/active_storage/attached/one.rb:27 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -1165,45 +1165,45 @@ class ActiveStorage::DiskController < ::ActiveStorage::BaseController end end -# source://activestorage//lib/active_storage/downloader.rb#4 +# pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/downloader.rb:7 def initialize(service); end - # source://activestorage//lib/active_storage/downloader.rb#11 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/downloader.rb:5 def service; end private - # source://activestorage//lib/active_storage/downloader.rb#30 + # pkg:gem/activestorage#lib/active_storage/downloader.rb:30 def download(key, file); end - # source://activestorage//lib/active_storage/downloader.rb#20 + # pkg:gem/activestorage#lib/active_storage/downloader.rb:20 def open_tempfile(name, tmpdir = T.unsafe(nil)); end - # source://activestorage//lib/active_storage/downloader.rb#37 + # pkg:gem/activestorage#lib/active_storage/downloader.rb:37 def verify_integrity_of(file, checksum:); end end -# source://activestorage//lib/active_storage/engine.rb#23 +# pkg:gem/activestorage#lib/active_storage/engine.rb:23 class ActiveStorage::Engine < ::Rails::Engine; end # Generic base class for all Active Storage exceptions. # -# source://activestorage//lib/active_storage/errors.rb#5 +# pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/errors.rb:25 class ActiveStorage::FileNotFoundError < ::ActiveStorage::Error; end module ActiveStorage::FileServer @@ -1270,19 +1270,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 +# pkg:gem/activestorage#lib/active_storage/fixture_set.rb:44 class ActiveStorage::FixtureSet include ::ActiveSupport::Testing::FileFixtures include ::ActiveRecord::SecureToken extend ::ActiveRecord::SecureToken::ClassMethods - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def file_fixture_path; end - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def file_fixture_path?; end - # source://activestorage//lib/active_storage/fixture_set.rb#70 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:70 def prepare(instance, **attributes); end class << self @@ -1304,24 +1304,24 @@ class ActiveStorage::FixtureSet # service_name: "public" # ) %> # - # source://activestorage//lib/active_storage/fixture_set.rb#66 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:66 def blob(filename:, **attributes); end - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def file_fixture_path; end - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def file_fixture_path=(value); end - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def file_fixture_path?; end private - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def __class_attr_file_fixture_path; end - # source://activestorage//lib/active_storage/fixture_set.rb#45 + # pkg:gem/activestorage#lib/active_storage/fixture_set.rb:45 def __class_attr_file_fixture_path=(new_value); end end end @@ -1329,73 +1329,73 @@ 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 +# pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/errors.rb:9 class ActiveStorage::InvariableError < ::ActiveStorage::Error; end -# source://activestorage//lib/active_storage/log_subscriber.rb#6 +# pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:6 class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://activestorage//lib/active_storage/log_subscriber.rb#53 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:53 def logger; end - # source://activestorage//lib/active_storage/log_subscriber.rb#21 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:21 def preview(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#26 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:26 def service_delete(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#31 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:31 def service_delete_prefixed(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#14 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:14 def service_download(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#36 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:36 def service_exist(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#46 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:46 def service_mirror(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#19 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:19 def service_streaming_download(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#7 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:7 def service_upload(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#41 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:41 def service_url(event); end private - # source://activestorage//lib/active_storage/log_subscriber.rb#62 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:62 def debug(event, colored_message); end - # source://activestorage//lib/active_storage/log_subscriber.rb#58 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:58 def info(event, colored_message); end - # source://activestorage//lib/active_storage/log_subscriber.rb#70 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:70 def key_in(event); end - # source://activestorage//lib/active_storage/log_subscriber.rb#66 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:66 def log_prefix_for_service(event); end class << self private - # source://activestorage//lib/active_storage/log_subscriber.rb#12 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:12 def __class_attr_log_levels; end - # source://activestorage//lib/active_storage/log_subscriber.rb#12 + # pkg:gem/activestorage#lib/active_storage/log_subscriber.rb:12 def __class_attr_log_levels=(new_value); end end end -# source://activestorage//lib/active_storage/analyzer/image_analyzer/image_magick.rb#8 +# pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/image_magick.rb:8 ActiveStorage::MINIMAGICK_AVAILABLE = T.let(T.unsafe(nil), FalseClass) class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob @@ -1421,7 +1421,7 @@ end # Raised when a Previewer is unable to generate a preview image. # -# source://activestorage//lib/active_storage/errors.rb#28 +# pkg:gem/activestorage#lib/active_storage/errors.rb:28 class ActiveStorage::PreviewError < ::ActiveStorage::Error; end class ActiveStorage::PreviewImageJob < ::ActiveStorage::BaseJob @@ -1443,16 +1443,16 @@ end # ActiveStorage::Previewer::MuPDFPreviewer and ActiveStorage::Previewer::VideoPreviewer for # examples of concrete subclasses. # -# source://activestorage//lib/active_storage/previewer.rb#9 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -1461,17 +1461,17 @@ class ActiveStorage::Previewer # # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/previewer.rb#25 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:25 def preview(**options); end private - # source://activestorage//lib/active_storage/previewer.rb#78 + # pkg:gem/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 + # pkg:gem/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. @@ -1489,22 +1489,22 @@ class ActiveStorage::Previewer # # The output tempfile is opened in the directory returned by #tmpdir. # - # source://activestorage//lib/active_storage/previewer.rb#49 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:49 def draw(*argv); end - # source://activestorage//lib/active_storage/previewer.rb#69 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:69 def instrument(operation, payload = T.unsafe(nil), &block); end - # source://activestorage//lib/active_storage/previewer.rb#93 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:93 def logger; end - # source://activestorage//lib/active_storage/previewer.rb#59 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:59 def open_tempfile; end - # source://activestorage//lib/active_storage/previewer.rb#73 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:73 def service_name; end - # source://activestorage//lib/active_storage/previewer.rb#97 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:97 def tmpdir; end class << self @@ -1513,79 +1513,79 @@ class ActiveStorage::Previewer # # @return [Boolean] # - # source://activestorage//lib/active_storage/previewer.rb#14 + # pkg:gem/activestorage#lib/active_storage/previewer.rb:14 def accept?(blob); end end end -# source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#4 +# pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:4 class ActiveStorage::Previewer::MuPDFPreviewer < ::ActiveStorage::Previewer - # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#27 + # pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:27 def preview(**options); end private - # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#36 + # pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:36 def draw_first_page_from(file, &block); end class << self - # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#6 + # pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:6 def accept?(blob); end - # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#18 + # pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:18 def mutool_exists?; end - # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#14 + # pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:14 def mutool_path; end - # source://activestorage//lib/active_storage/previewer/mupdf_previewer.rb#10 + # pkg:gem/activestorage#lib/active_storage/previewer/mupdf_previewer.rb:10 def pdf?(content_type); end end end -# source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#4 +# pkg:gem/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#25 + # pkg:gem/activestorage#lib/active_storage/previewer/poppler_pdf_previewer.rb:25 def preview(**options); end private - # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#34 + # pkg:gem/activestorage#lib/active_storage/previewer/poppler_pdf_previewer.rb:34 def draw_first_page_from(file, &block); end class << self - # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#6 + # pkg:gem/activestorage#lib/active_storage/previewer/poppler_pdf_previewer.rb:6 def accept?(blob); end - # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#10 + # pkg:gem/activestorage#lib/active_storage/previewer/poppler_pdf_previewer.rb:10 def pdf?(content_type); end - # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#18 + # pkg:gem/activestorage#lib/active_storage/previewer/poppler_pdf_previewer.rb:18 def pdftoppm_exists?; end - # source://activestorage//lib/active_storage/previewer/poppler_pdf_previewer.rb#14 + # pkg:gem/activestorage#lib/active_storage/previewer/poppler_pdf_previewer.rb:14 def pdftoppm_path; end end end -# source://activestorage//lib/active_storage/previewer/video_previewer.rb#6 +# pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/previewer/video_previewer.rb:23 def preview(**options); end private - # source://activestorage//lib/active_storage/previewer/video_previewer.rb#32 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/previewer/video_previewer.rb:8 def accept?(blob); end - # source://activestorage//lib/active_storage/previewer/video_previewer.rb#12 + # pkg:gem/activestorage#lib/active_storage/previewer/video_previewer.rb:12 def ffmpeg_exists?; end - # source://activestorage//lib/active_storage/previewer/video_previewer.rb#18 + # pkg:gem/activestorage#lib/active_storage/previewer/video_previewer.rb:18 def ffmpeg_path; end end end @@ -1620,10 +1620,10 @@ end module ActiveStorage::Record::GeneratedAssociationMethods; end module ActiveStorage::Record::GeneratedAttributeMethods; end -# source://activestorage//lib/active_storage/reflection.rb#4 +# pkg:gem/activestorage#lib/active_storage/reflection.rb:4 module ActiveStorage::Reflection; end -# source://activestorage//lib/active_storage/reflection.rb#49 +# pkg:gem/activestorage#lib/active_storage/reflection.rb:49 module ActiveStorage::Reflection::ActiveRecordExtensions extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1643,12 +1643,12 @@ module ActiveStorage::Reflection::ActiveRecordExtensions end end -# source://activestorage//lib/active_storage/reflection.rb#56 +# pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/reflection.rb:59 def reflect_on_all_attachments; end # Returns the reflection object for the named +attachment+. @@ -1656,45 +1656,45 @@ module ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods # User.reflect_on_attachment(:avatar) # # => the avatar reflection # - # source://activestorage//lib/active_storage/reflection.rb#68 + # pkg:gem/activestorage#lib/active_storage/reflection.rb:68 def reflect_on_attachment(attachment); end end -# source://activestorage//lib/active_storage/reflection.rb#5 +# pkg:gem/activestorage#lib/active_storage/reflection.rb:5 class ActiveStorage::Reflection::HasAttachedReflection < ::ActiveRecord::Reflection::MacroReflection - # source://activestorage//lib/active_storage/reflection.rb#10 + # pkg:gem/activestorage#lib/active_storage/reflection.rb:10 def named_variants; end - # source://activestorage//lib/active_storage/reflection.rb#6 + # pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/reflection.rb:25 class ActiveStorage::Reflection::HasManyAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection - # source://activestorage//lib/active_storage/reflection.rb#26 + # pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/reflection.rb:17 class ActiveStorage::Reflection::HasOneAttachedReflection < ::ActiveStorage::Reflection::HasAttachedReflection - # source://activestorage//lib/active_storage/reflection.rb#18 + # pkg:gem/activestorage#lib/active_storage/reflection.rb:18 def macro; end end -# source://activestorage//lib/active_storage/reflection.rb#31 +# pkg:gem/activestorage#lib/active_storage/reflection.rb:31 module ActiveStorage::Reflection::ReflectionExtension - # source://activestorage//lib/active_storage/reflection.rb#32 + # pkg:gem/activestorage#lib/active_storage/reflection.rb:32 def add_attachment_reflection(model, name, reflection); end private - # source://activestorage//lib/active_storage/reflection.rb#37 + # pkg:gem/activestorage#lib/active_storage/reflection.rb:37 def reflection_class_for(macro); end end @@ -1796,7 +1796,7 @@ end # { local: {service: "Disk", root: Pathname("/tmp/foo/storage") } } # ) # -# source://activestorage//lib/active_storage/service.rb#43 +# pkg:gem/activestorage#lib/active_storage/service.rb:43 class ActiveStorage::Service extend ::ActiveSupport::Autoload @@ -1804,35 +1804,35 @@ class ActiveStorage::Service # # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/service.rb#96 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/service.rb:87 def download_chunk(key, range); end # Return +true+ if a file exists at the +key+. @@ -1840,42 +1840,42 @@ class ActiveStorage::Service # @raise [NotImplementedError] # @return [Boolean] # - # source://activestorage//lib/active_storage/service.rb#111 + # pkg:gem/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 + # pkg:gem/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 - # source://activestorage//lib/active_storage/service.rb#151 + # pkg:gem/activestorage#lib/active_storage/service.rb:151 def inspect; end # Returns the value of attribute name. # - # source://activestorage//lib/active_storage/service.rb#46 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/service.rb:46 def name=(_arg0); end - # source://activestorage//lib/active_storage/service.rb#91 + # pkg:gem/activestorage#lib/active_storage/service.rb:91 def open(*args, **options, &block); end # @return [Boolean] # - # source://activestorage//lib/active_storage/service.rb#147 + # pkg:gem/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 + # pkg:gem/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 @@ -1883,7 +1883,7 @@ class ActiveStorage::Service # # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/service.rb#71 + # pkg:gem/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 @@ -1891,7 +1891,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 + # pkg:gem/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+. @@ -1901,33 +1901,33 @@ class ActiveStorage::Service # # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/service.rb#138 + # pkg:gem/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#179 + # pkg:gem/activestorage#lib/active_storage/service.rb:179 def content_disposition_with(filename:, type: T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/service.rb#164 + # pkg:gem/activestorage#lib/active_storage/service.rb:164 def custom_metadata_headers(metadata); end - # source://activestorage//lib/active_storage/service.rb#168 + # pkg:gem/activestorage#lib/active_storage/service.rb:168 def instrument(operation, payload = T.unsafe(nil), &block); end # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/service.rb#156 + # pkg:gem/activestorage#lib/active_storage/service.rb:156 def private_url(key, expires_in:, filename:, disposition:, content_type:, **_arg5); end # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/service.rb#160 + # pkg:gem/activestorage#lib/active_storage/service.rb:160 def public_url(key, **_arg1); end - # source://activestorage//lib/active_storage/service.rb#174 + # pkg:gem/activestorage#lib/active_storage/service.rb:174 def service_name; end class << self @@ -1938,66 +1938,66 @@ class ActiveStorage::Service # # See MirrorService for an example. # - # source://activestorage//lib/active_storage/service.rb#62 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/service.rb:52 def configure(service_name, configurations); end end end -# source://activestorage//lib/active_storage/service/configurator.rb#4 +# pkg:gem/activestorage#lib/active_storage/service/configurator.rb:4 class ActiveStorage::Service::Configurator - # source://activestorage//lib/active_storage/service/configurator.rb#11 + # pkg:gem/activestorage#lib/active_storage/service/configurator.rb:11 def initialize(configurations); end - # source://activestorage//lib/active_storage/service/configurator.rb#15 + # pkg:gem/activestorage#lib/active_storage/service/configurator.rb:15 def build(service_name); end - # source://activestorage//lib/active_storage/service/configurator.rb#5 + # pkg:gem/activestorage#lib/active_storage/service/configurator.rb:5 def configurations; end - # source://activestorage//lib/active_storage/service/configurator.rb#22 + # pkg:gem/activestorage#lib/active_storage/service/configurator.rb:22 def inspect; end private - # source://activestorage//lib/active_storage/service/configurator.rb#29 + # pkg:gem/activestorage#lib/active_storage/service/configurator.rb:29 def config_for(name); end - # source://activestorage//lib/active_storage/service/configurator.rb#35 + # pkg:gem/activestorage#lib/active_storage/service/configurator.rb:35 def resolve(class_name); end class << self - # source://activestorage//lib/active_storage/service/configurator.rb#7 + # pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/service/registry.rb:4 class ActiveStorage::Service::Registry - # source://activestorage//lib/active_storage/service/registry.rb#5 + # pkg:gem/activestorage#lib/active_storage/service/registry.rb:5 def initialize(configurations); end - # source://activestorage//lib/active_storage/service/registry.rb#10 + # pkg:gem/activestorage#lib/active_storage/service/registry.rb:10 def fetch(name); end - # source://activestorage//lib/active_storage/service/registry.rb#25 + # pkg:gem/activestorage#lib/active_storage/service/registry.rb:25 def inspect; end private - # source://activestorage//lib/active_storage/service/registry.rb#32 + # pkg:gem/activestorage#lib/active_storage/service/registry.rb:32 def configurations; end - # source://activestorage//lib/active_storage/service/registry.rb#34 + # pkg:gem/activestorage#lib/active_storage/service/registry.rb:34 def configurator; end - # source://activestorage//lib/active_storage/service/registry.rb#32 + # pkg:gem/activestorage#lib/active_storage/service/registry.rb:32 def services; end end @@ -2031,33 +2031,33 @@ end ActiveStorage::Streaming::DEFAULT_BLOB_STREAMING_DISPOSITION = T.let(T.unsafe(nil), String) -# source://activestorage//lib/active_storage/structured_event_subscriber.rb#6 +# pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:6 class ActiveStorage::StructuredEventSubscriber < ::ActiveSupport::StructuredEventSubscriber - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#29 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:29 def preview(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#36 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:36 def service_delete(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#43 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:43 def service_delete_prefixed(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#15 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:15 def service_download(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#50 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:50 def service_exist(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#68 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:68 def service_mirror(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#22 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:22 def service_streaming_download(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#7 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:7 def service_upload(event); end - # source://activestorage//lib/active_storage/structured_event_subscriber.rb#59 + # pkg:gem/activestorage#lib/active_storage/structured_event_subscriber.rb:59 def service_url(event); end end @@ -2074,16 +2074,16 @@ class ActiveStorage::TransformJob < ::ActiveStorage::BaseJob end end -# source://activestorage//lib/active_storage.rb#367 +# pkg:gem/activestorage#lib/active_storage.rb:367 module ActiveStorage::Transformers extend ::ActiveSupport::Autoload end -# source://activestorage//lib/active_storage/transformers/null_transformer.rb#5 +# pkg:gem/activestorage#lib/active_storage/transformers/null_transformer.rb:5 class ActiveStorage::Transformers::NullTransformer < ::ActiveStorage::Transformers::Transformer private - # source://activestorage//lib/active_storage/transformers/null_transformer.rb#7 + # pkg:gem/activestorage#lib/active_storage/transformers/null_transformer.rb:7 def process(file, format:); end end @@ -2096,23 +2096,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activestorage#lib/active_storage/transformers/transformer.rb:14 def transformations; end private @@ -2122,41 +2122,41 @@ class ActiveStorage::Transformers::Transformer # # @raise [NotImplementedError] # - # source://activestorage//lib/active_storage/transformers/transformer.rb#36 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/errors.rb:17 class ActiveStorage::UnrepresentableError < ::ActiveStorage::Error; end -# source://activestorage//lib/active_storage/gem_version.rb#9 +# pkg:gem/activestorage#lib/active_storage/gem_version.rb:9 module ActiveStorage::VERSION; end -# source://activestorage//lib/active_storage/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/gem_version.rb:13 ActiveStorage::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://activestorage//lib/active_storage/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/activestorage#lib/active_storage/gem_version.rb:12 ActiveStorage::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://activestorage//lib/active_storage/analyzer/image_analyzer/vips.rb#16 +# pkg:gem/activestorage#lib/active_storage/analyzer/image_analyzer/vips.rb:16 ActiveStorage::VIPS_AVAILABLE = T.let(T.unsafe(nil), FalseClass) class ActiveStorage::VariantRecord < ::ActiveStorage::Record diff --git a/sorbet/rbi/gems/activesupport@8.1.1.rbi b/sorbet/rbi/gems/activesupport@8.1.1.rbi index dbe88efc5..708e4fd69 100644 --- a/sorbet/rbi/gems/activesupport@8.1.1.rbi +++ b/sorbet/rbi/gems/activesupport@8.1.1.rbi @@ -7,146 +7,146 @@ # :include: ../README.rdoc # -# source://activesupport//lib/active_support/delegation.rb#3 +# pkg:gem/activesupport#lib/active_support/delegation.rb:3 module ActiveSupport extend ::ActiveSupport::LazyLoadHooks extend ::ActiveSupport::Autoload - # source://activesupport//lib/active_support.rb#114 + # pkg:gem/activesupport#lib/active_support.rb:114 def filter_parameters; end - # source://activesupport//lib/active_support.rb#114 + # pkg:gem/activesupport#lib/active_support.rb:114 def filter_parameters=(val); end - # source://activesupport//lib/active_support.rb#106 + # pkg:gem/activesupport#lib/active_support.rb:106 def parallelize_test_databases; end - # source://activesupport//lib/active_support.rb#106 + # pkg:gem/activesupport#lib/active_support.rb:106 def parallelize_test_databases=(val); end - # source://activesupport//lib/active_support/json/decoding.rb#9 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:9 def parse_json_times; end - # source://activesupport//lib/active_support/json/decoding.rb#9 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:9 def parse_json_times=(val); end - # source://activesupport//lib/active_support.rb#104 + # pkg:gem/activesupport#lib/active_support.rb:104 def test_order; end - # source://activesupport//lib/active_support.rb#104 + # pkg:gem/activesupport#lib/active_support.rb:104 def test_order=(val); end - # source://activesupport//lib/active_support.rb#105 + # pkg:gem/activesupport#lib/active_support.rb:105 def test_parallelization_threshold; end - # source://activesupport//lib/active_support.rb#105 + # pkg:gem/activesupport#lib/active_support.rb:105 def test_parallelization_threshold=(val); end class << self - # source://activesupport//lib/active_support.rb#116 + # pkg:gem/activesupport#lib/active_support.rb:116 def cache_format_version; end - # source://activesupport//lib/active_support.rb#120 + # pkg:gem/activesupport#lib/active_support.rb:120 def cache_format_version=(value); end - # source://activesupport//lib/active_support/deprecator.rb#4 + # pkg:gem/activesupport#lib/active_support/deprecator.rb:4 def deprecator; end - # source://activesupport//lib/active_support.rb#98 + # pkg:gem/activesupport#lib/active_support.rb:98 def eager_load!; end - # source://activesupport//lib/active_support.rb#109 + # pkg:gem/activesupport#lib/active_support.rb:109 def error_reporter; end - # source://activesupport//lib/active_support.rb#109 + # pkg:gem/activesupport#lib/active_support.rb:109 def error_reporter=(_arg0); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def escape_html_entities_in_json=(arg); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def escape_js_separators_in_json(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def escape_js_separators_in_json=(arg); end - # source://activesupport//lib/active_support.rb#112 + # pkg:gem/activesupport#lib/active_support.rb:112 def event_reporter; end - # source://activesupport//lib/active_support.rb#112 + # pkg:gem/activesupport#lib/active_support.rb:112 def event_reporter=(_arg0); end - # source://activesupport//lib/active_support.rb#114 + # pkg:gem/activesupport#lib/active_support.rb:114 def filter_parameters; end - # source://activesupport//lib/active_support.rb#114 + # pkg:gem/activesupport#lib/active_support.rb:114 def filter_parameters=(val); end # Returns the currently loaded version of Active Support as a +Gem::Version+. # - # source://activesupport//lib/active_support/gem_version.rb#5 + # pkg:gem/activesupport#lib/active_support/gem_version.rb:5 def gem_version; end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def json_encoder(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def json_encoder=(arg); end - # source://activesupport//lib/active_support.rb#106 + # pkg:gem/activesupport#lib/active_support.rb:106 def parallelize_test_databases; end - # source://activesupport//lib/active_support.rb#106 + # pkg:gem/activesupport#lib/active_support.rb:106 def parallelize_test_databases=(val); end - # source://activesupport//lib/active_support/json/decoding.rb#9 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:9 def parse_json_times; end - # source://activesupport//lib/active_support/json/decoding.rb#9 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:9 def parse_json_times=(val); end - # source://activesupport//lib/active_support.rb#104 + # pkg:gem/activesupport#lib/active_support.rb:104 def test_order; end - # source://activesupport//lib/active_support.rb#104 + # pkg:gem/activesupport#lib/active_support.rb:104 def test_order=(val); end - # source://activesupport//lib/active_support.rb#105 + # pkg:gem/activesupport#lib/active_support.rb:105 def test_parallelization_threshold; end - # source://activesupport//lib/active_support.rb#105 + # pkg:gem/activesupport#lib/active_support.rb:105 def test_parallelization_threshold=(val); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def time_precision(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def time_precision=(arg); end - # source://activesupport//lib/active_support.rb#124 + # pkg:gem/activesupport#lib/active_support.rb:124 def to_time_preserves_timezone; end - # source://activesupport//lib/active_support.rb#131 + # pkg:gem/activesupport#lib/active_support.rb:131 def to_time_preserves_timezone=(value); end - # source://activesupport//lib/active_support/json/encoding.rb#8 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:8 def use_standard_json_time_format=(arg); end - # source://activesupport//lib/active_support.rb#139 + # pkg:gem/activesupport#lib/active_support.rb:139 def utc_to_local_returns_utc_offset_times; end - # source://activesupport//lib/active_support.rb#143 + # pkg:gem/activesupport#lib/active_support.rb:143 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 + # pkg:gem/activesupport#lib/active_support/version.rb:7 def version; end end end @@ -159,7 +159,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 +# pkg:gem/activesupport#lib/active_support/actionable_error.rb:11 module ActiveSupport::ActionableError extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -168,10 +168,10 @@ module ActiveSupport::ActionableError mixes_in_class_methods ::ActiveSupport::ActionableError::ClassMethods class << self - # source://activesupport//lib/active_support/actionable_error.rb#20 + # pkg:gem/activesupport#lib/active_support/actionable_error.rb:20 def actions(error); end - # source://activesupport//lib/active_support/actionable_error.rb#29 + # pkg:gem/activesupport#lib/active_support/actionable_error.rb:29 def dispatch(error, name); end end @@ -188,7 +188,7 @@ module ActiveSupport::ActionableError end end -# source://activesupport//lib/active_support/actionable_error.rb#35 +# pkg:gem/activesupport#lib/active_support/actionable_error.rb:35 module ActiveSupport::ActionableError::ClassMethods # Defines an action that can resolve the error. # @@ -200,11 +200,11 @@ module ActiveSupport::ActionableError::ClassMethods # end # end # - # source://activesupport//lib/active_support/actionable_error.rb#45 + # pkg:gem/activesupport#lib/active_support/actionable_error.rb:45 def action(name, &block); end end -# source://activesupport//lib/active_support/actionable_error.rb#14 +# pkg:gem/activesupport#lib/active_support/actionable_error.rb:14 class ActiveSupport::ActionableError::NonActionable < ::StandardError; end # = \Array Inquirer @@ -218,7 +218,7 @@ class ActiveSupport::ActionableError::NonActionable < ::StandardError; end # variants.tablet? # => true # variants.desktop? # => false # -# source://activesupport//lib/active_support/array_inquirer.rb#14 +# pkg:gem/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 @@ -235,17 +235,17 @@ class ActiveSupport::ArrayInquirer < ::Array # # @return [Boolean] # - # source://activesupport//lib/active_support/array_inquirer.rb#27 + # pkg:gem/activesupport#lib/active_support/array_inquirer.rb:27 def any?(*candidates); end private - # source://activesupport//lib/active_support/array_inquirer.rb#42 + # pkg:gem/activesupport#lib/active_support/array_inquirer.rb:42 def method_missing(name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activesupport//lib/active_support/array_inquirer.rb#38 + # pkg:gem/activesupport#lib/active_support/array_inquirer.rb:38 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -273,21 +273,21 @@ end # # MyLib.eager_load! # -# source://activesupport//lib/active_support/dependencies/autoload.rb#29 +# pkg:gem/activesupport#lib/active_support/dependencies/autoload.rb:29 module ActiveSupport::Autoload - # source://activesupport//lib/active_support/dependencies/autoload.rb#30 + # pkg:gem/activesupport#lib/active_support/dependencies/autoload.rb:30 def autoload(const_name, path = T.unsafe(nil)); end - # source://activesupport//lib/active_support/dependencies/autoload.rb#51 + # pkg:gem/activesupport#lib/active_support/dependencies/autoload.rb:51 def autoload_at(path); end - # source://activesupport//lib/active_support/dependencies/autoload.rb#44 + # pkg:gem/activesupport#lib/active_support/dependencies/autoload.rb:44 def autoload_under(path); end - # source://activesupport//lib/active_support/dependencies/autoload.rb#58 + # pkg:gem/activesupport#lib/active_support/dependencies/autoload.rb:58 def eager_autoload; end - # source://activesupport//lib/active_support/dependencies/autoload.rb#65 + # pkg:gem/activesupport#lib/active_support/dependencies/autoload.rb:65 def eager_load!; end end @@ -322,11 +322,11 @@ end # # Inspired by the Quiet Backtrace gem by thoughtbot. # -# source://activesupport//lib/active_support/backtrace_cleaner.rb#34 +# pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:34 class ActiveSupport::BacktraceCleaner # @return [BacktraceCleaner] a new instance of BacktraceCleaner # - # source://activesupport//lib/active_support/backtrace_cleaner.rb#35 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:35 def initialize; end # Adds a filter from the block provided. Each line in the backtrace will be @@ -336,7 +336,7 @@ class ActiveSupport::BacktraceCleaner # root = "#{Rails.root}/" # backtrace_cleaner.add_filter { |line| line.delete_prefix(root) } # - # source://activesupport//lib/active_support/backtrace_cleaner.rb#154 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:154 def add_filter(&block); end # Adds a silencer from the block provided. If the silencer returns +true+ @@ -345,19 +345,19 @@ 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#163 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:163 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#45 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:45 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#73 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:73 def clean_frame(frame, kind = T.unsafe(nil)); end # Given an array of Thread::Backtrace::Location objects, returns an array @@ -369,20 +369,20 @@ class ActiveSupport::BacktraceCleaner # attributes of the locations in the returned array are the original, # unfiltered ones, since locations are immutable. # - # source://activesupport//lib/active_support/backtrace_cleaner.rb#67 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:67 def clean_locations(locations, 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#57 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:57 def filter(backtrace, kind = T.unsafe(nil)); end # Returns the first clean frame of the caller's backtrace, or +nil+. # # Frames are strings. # - # source://activesupport//lib/active_support/backtrace_cleaner.rb#129 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:129 def first_clean_frame(kind = T.unsafe(nil)); end # Returns the first clean location of the caller's call stack, or +nil+. @@ -391,54 +391,54 @@ class ActiveSupport::BacktraceCleaner # immutable, their +path+ attributes are the original ones, but filters # are applied internally so silencers can still rely on them. # - # source://activesupport//lib/active_support/backtrace_cleaner.rb#141 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:141 def first_clean_location(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#177 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:177 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#170 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:170 def remove_silencers!; end private - # source://activesupport//lib/active_support/backtrace_cleaner.rb#198 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:198 def add_core_silencer; end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#189 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:189 def add_gem_filter; end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#202 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:202 def add_gem_silencer; end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#206 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:206 def add_stdlib_silencer; end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#210 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:210 def filter_backtrace(backtrace); end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#184 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:184 def initialize_copy(_other); end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#226 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:226 def noise(backtrace); end - # source://activesupport//lib/active_support/backtrace_cleaner.rb#218 + # pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:218 def silence(backtrace); end end -# source://activesupport//lib/active_support/backtrace_cleaner.rb#182 +# pkg:gem/activesupport#lib/active_support/backtrace_cleaner.rb:182 ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://activesupport//lib/active_support/benchmark.rb#4 +# pkg:gem/activesupport#lib/active_support/benchmark.rb:4 module ActiveSupport::Benchmark class << self # Benchmark realtime in the specified time unit. By default, @@ -452,14 +452,14 @@ module ActiveSupport::Benchmark # # `unit` can be any of the values accepted by Ruby's `Process.clock_gettime`. # - # source://activesupport//lib/active_support/benchmark.rb#15 + # pkg:gem/activesupport#lib/active_support/benchmark.rb:15 def realtime(unit = T.unsafe(nil), &block); end end end # = \Benchmarkable # -# source://activesupport//lib/active_support/benchmarkable.rb#7 +# pkg:gem/activesupport#lib/active_support/benchmarkable.rb:7 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 @@ -491,13 +491,13 @@ module ActiveSupport::Benchmarkable # <%= expensive_and_chatty_files_operation %> # <% end %> # - # source://activesupport//lib/active_support/benchmarkable.rb#37 + # pkg:gem/activesupport#lib/active_support/benchmarkable.rb:37 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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/big_decimal/conversions.rb:8 def to_s(format = T.unsafe(nil)); end end @@ -572,20 +572,20 @@ end # puts logger.broadcasts # => [MyLogger, MyLogger] # logger.loggable? # [true, true] # -# source://activesupport//lib/active_support/broadcast_logger.rb#74 +# pkg:gem/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#81 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:81 def initialize(*loggers); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def <<(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def add(*_arg0, **_arg1, &_arg2); end # Add logger(s) to the broadcast. @@ -593,23 +593,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#92 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:92 def broadcast_to(*loggers); end # Returns all the logger that are part of this broadcast. # - # source://activesupport//lib/active_support/broadcast_logger.rb#78 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:78 def broadcasts; end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def close(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 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#146 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:146 def debug!; end # True if the log level allows entries with severity +Logger::DEBUG+ to be written @@ -617,15 +617,15 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport//lib/active_support/broadcast_logger.rb#141 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:141 def debug?; end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 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#179 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:179 def error!; end # True if the log level allows entries with severity +Logger::ERROR+ to be written @@ -633,15 +633,15 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport//lib/active_support/broadcast_logger.rb#174 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:174 def error?; end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 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#190 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:190 def fatal!; end # True if the log level allows entries with severity +Logger::FATAL+ to be written @@ -649,21 +649,21 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport//lib/active_support/broadcast_logger.rb#185 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:185 def fatal?; end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def formatter(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def formatter=(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 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#157 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:157 def info!; end # True if the log level allows entries with severity +Logger::INFO+ to be written @@ -671,45 +671,45 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport//lib/active_support/broadcast_logger.rb#152 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:152 def info?; end # Returns the lowest level of all the loggers in the broadcast. # - # source://activesupport//lib/active_support/broadcast_logger.rb#135 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:135 def level; end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def level=(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#113 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:113 def local_level; end - # source://activesupport//lib/active_support/broadcast_logger.rb#107 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:107 def local_level=(level); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def log(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute progname. # - # source://activesupport//lib/active_support/broadcast_logger.rb#79 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:79 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#79 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:79 def progname=(_arg0); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def sev_threshold=(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#75 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:75 def silencer; end - # source://activesupport//lib/active_support/broadcast_logger.rb#75 + # pkg:gem/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 @@ -720,18 +720,18 @@ class ActiveSupport::BroadcastLogger # # broadcast_logger.stop_broadcasting_to(sink) # - # source://activesupport//lib/active_support/broadcast_logger.rb#103 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:103 def stop_broadcasting_to(logger); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 def unknown(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/broadcast_logger.rb#127 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:127 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#168 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:168 def warn!; end # True if the log level allows entries with severity +Logger::WARN+ to be written @@ -739,40 +739,40 @@ class ActiveSupport::BroadcastLogger # # @return [Boolean] # - # source://activesupport//lib/active_support/broadcast_logger.rb#163 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:163 def warn?; end private - # source://activesupport//lib/active_support/broadcast_logger.rb#202 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:202 def dispatch(method, *args, **kwargs, &block); end - # source://activesupport//lib/active_support/broadcast_logger.rb#194 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:194 def initialize_copy(other); end - # source://activesupport//lib/active_support/broadcast_logger.rb#222 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:222 def method_missing(name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activesupport//lib/active_support/broadcast_logger.rb#234 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:234 def respond_to_missing?(method, include_all); end class << self - # source://activesupport//lib/active_support/broadcast_logger.rb#75 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:75 def silencer; end - # source://activesupport//lib/active_support/broadcast_logger.rb#75 + # pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:75 def silencer=(val); end end end -# source://activesupport//lib/active_support/broadcast_logger.rb#121 +# pkg:gem/activesupport#lib/active_support/broadcast_logger.rb:121 ActiveSupport::BroadcastLogger::LOGGER_METHODS = T.let(T.unsafe(nil), Array) # See ActiveSupport::Cache::Store for documentation. # -# source://activesupport//lib/active_support/cache/entry.rb#6 +# pkg:gem/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 @@ -788,19 +788,19 @@ module ActiveSupport::Cache # # The +key+ argument can also respond to +cache_key+ or +to_param+. # - # source://activesupport//lib/active_support/cache.rb#113 + # pkg:gem/activesupport#lib/active_support/cache.rb:113 def expand_cache_key(key, namespace = T.unsafe(nil)); end # Returns the value of attribute format_version. # - # source://activesupport//lib/active_support/cache.rb#60 + # pkg:gem/activesupport#lib/active_support/cache.rb:60 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#60 + # pkg:gem/activesupport#lib/active_support/cache.rb:60 def format_version=(_arg0); end # Creates a new Store object according to the given options. @@ -829,123 +829,125 @@ module ActiveSupport::Cache # ActiveSupport::Cache.lookup_store(MyOwnCacheStore.new) # # => returns MyOwnCacheStore.new # - # source://activesupport//lib/active_support/cache.rb#87 + # pkg:gem/activesupport#lib/active_support/cache.rb:87 def lookup_store(store = T.unsafe(nil), *parameters); end private - # source://activesupport//lib/active_support/cache.rb#125 + # pkg:gem/activesupport#lib/active_support/cache.rb:125 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#137 + # pkg:gem/activesupport#lib/active_support/cache.rb:137 def retrieve_store_class(store); end end end -# source://activesupport//lib/active_support/cache/coder.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:14 def dump(entry); end - # source://activesupport//lib/active_support/cache/coder.rb#20 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:20 def dump_compressed(entry, threshold); end - # source://activesupport//lib/active_support/cache/coder.rb#48 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:48 def load(dumped); end private - # source://activesupport//lib/active_support/cache/coder.rb#136 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:136 def dump_version(version); end - # source://activesupport//lib/active_support/cache/coder.rb#144 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:121 def signature?(dumped); end - # source://activesupport//lib/active_support/cache/coder.rb#129 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:129 def try_compress(string, threshold); end - # source://activesupport//lib/active_support/cache/coder.rb#125 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:125 def type_for_string(value); end end -# source://activesupport//lib/active_support/cache/coder.rb#76 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:114 def mismatched?(version); end - # source://activesupport//lib/active_support/cache/coder.rb#106 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:106 def value; end end -# source://activesupport//lib/active_support/cache/coder.rb#84 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:87 def initialize(encoding); end - # source://activesupport//lib/active_support/cache/coder.rb#91 + # pkg:gem/activesupport#lib/active_support/cache/coder.rb:91 def load(payload); end end -# source://activesupport//lib/active_support/cache.rb#47 +# pkg:gem/activesupport#lib/active_support/cache.rb:47 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. +# +# pkg:gem/activesupport#lib/active_support/cache.rb:51 class ActiveSupport::Cache::DeserializationError < ::StandardError; end # This class is used to represent cache entries. Cache entries have a value, an optional @@ -956,34 +958,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:61 def bytesize; end - # source://activesupport//lib/active_support/cache/entry.rb#76 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:76 def compressed(compress_threshold); end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/entry.rb#72 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:106 def dup_value!; end # Checks if the entry is expired. The +expires_in+ parameter can override @@ -991,46 +993,46 @@ class ActiveSupport::Cache::Entry # # @return [Boolean] # - # source://activesupport//lib/active_support/cache/entry.rb#43 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:43 def expired?; end - # source://activesupport//lib/active_support/cache/entry.rb#47 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:47 def expires_at; end - # source://activesupport//lib/active_support/cache/entry.rb#51 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:51 def expires_at=(value); end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/entry.rb#100 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:100 def local?; end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/entry.rb#37 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:37 def mismatched?(version); end - # source://activesupport//lib/active_support/cache/entry.rb#116 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:116 def pack; end - # source://activesupport//lib/active_support/cache/entry.rb#33 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:21 def version; end private - # source://activesupport//lib/active_support/cache/entry.rb#127 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:127 def marshal_load(payload); end - # source://activesupport//lib/active_support/cache/entry.rb#123 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:123 def uncompress(value); end class << self - # source://activesupport//lib/active_support/cache/entry.rb#16 + # pkg:gem/activesupport#lib/active_support/cache/entry.rb:16 def unpack(members); end end end @@ -1039,28 +1041,28 @@ end # # A cache store implementation which stores everything on the filesystem. # -# source://activesupport//lib/active_support/cache/file_store.rb#12 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -1074,10 +1076,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#80 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:80 def decrement(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/file_store.rb#89 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:89 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value. Returns the updated value. @@ -1092,61 +1094,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 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:60 def increment(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/file_store.rb#101 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:101 def inspect; end private # Delete empty directories in the cache. # - # source://activesupport//lib/active_support/cache/file_store.rb#195 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:195 def delete_empty_directories(dir); end - # source://activesupport//lib/active_support/cache/file_store.rb#131 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:131 def delete_entry(key, **options); end # Make sure a file path's directories exist. # - # source://activesupport//lib/active_support/cache/file_store.rb#204 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:204 def ensure_cache_path(path); end # Translate a file path into a key. # - # source://activesupport//lib/active_support/cache/file_store.rb#189 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:189 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#148 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:148 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#222 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:222 def modify_value(name, amount, options); end # Translate a key into a file path. # - # source://activesupport//lib/active_support/cache/file_store.rb#162 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:162 def normalize_key(key, options); end - # source://activesupport//lib/active_support/cache/file_store.rb#106 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:106 def read_entry(key, **options); end - # source://activesupport//lib/active_support/cache/file_store.rb#113 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:113 def read_serialized_entry(key, **_arg1); end - # source://activesupport//lib/active_support/cache/file_store.rb#208 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:208 def search_dir(dir, &callback); end - # source://activesupport//lib/active_support/cache/file_store.rb#120 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:120 def write_entry(key, entry, **options); end - # source://activesupport//lib/active_support/cache/file_store.rb#124 + # pkg:gem/activesupport#lib/active_support/cache/file_store.rb:124 def write_serialized_entry(key, payload, **options); end class << self @@ -1154,25 +1156,25 @@ class ActiveSupport::Cache::FileStore < ::ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport//lib/active_support/cache/file_store.rb#26 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/cache/file_store.rb:18 ActiveSupport::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array) # = Memory \Cache \Store @@ -1197,21 +1199,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -1225,12 +1227,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#166 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:166 def decrement(name, amount = T.unsafe(nil), **options); end # Deletes cache entries if the cache key matches a given pattern. # - # source://activesupport//lib/active_support/cache/memory_store.rb#173 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:173 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value. Returns the updated value. @@ -1245,49 +1247,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 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:149 def increment(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/memory_store.rb#185 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:185 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 + # pkg:gem/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 + # pkg:gem/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#191 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:191 def synchronize(&block); end private - # source://activesupport//lib/active_support/cache/memory_store.rb#198 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:198 def cached_size(key, payload); end - # source://activesupport//lib/active_support/cache/memory_store.rb#231 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:231 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#241 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:241 def modify_value(name, amount, **options); end - # source://activesupport//lib/active_support/cache/memory_store.rb#202 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:202 def read_entry(key, **options); end - # source://activesupport//lib/active_support/cache/memory_store.rb#214 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:214 def write_entry(key, entry, **options); end class << self @@ -1295,37 +1297,37 @@ class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport//lib/active_support/cache/memory_store.rb#88 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:32 def dump(entry); end - # source://activesupport//lib/active_support/cache/memory_store.rb#40 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:45 def load(entry); end private - # source://activesupport//lib/active_support/cache/memory_store.rb#56 + # pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:56 def dump_value(value); end - # source://activesupport//lib/active_support/cache/memory_store.rb#64 + # pkg:gem/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 +# pkg:gem/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#196 +# pkg:gem/activesupport#lib/active_support/cache/memory_store.rb:196 ActiveSupport::Cache::MemoryStore::PER_ENTRY_OVERHEAD = T.let(T.unsafe(nil), Integer) # = Null \Cache \Store @@ -1338,43 +1340,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 +# pkg:gem/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/null_store.rb#25 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:25 def cleanup(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/null_store.rb#22 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:22 def clear(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/null_store.rb#31 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:31 def decrement(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/null_store.rb#34 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:34 def delete_matched(matcher, options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/null_store.rb#28 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:28 def increment(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/null_store.rb#37 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:37 def inspect; end private - # source://activesupport//lib/active_support/cache/null_store.rb#57 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:42 def read_entry(key, **s); end - # source://activesupport//lib/active_support/cache/null_store.rb#46 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:49 def write_entry(key, entry, **_arg2); end - # source://activesupport//lib/active_support/cache/null_store.rb#53 + # pkg:gem/activesupport#lib/active_support/cache/null_store.rb:53 def write_serialized_entry(key, payload, **_arg2); end class << self @@ -1382,14 +1384,14 @@ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport//lib/active_support/cache/null_store.rb#18 + # pkg:gem/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#43 +# pkg:gem/activesupport#lib/active_support/cache.rb:43 ActiveSupport::Cache::OPTION_ALIASES = T.let(T.unsafe(nil), Hash) # = Redis \Cache \Store @@ -1410,7 +1412,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 +# pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:37 class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store include ::ActiveSupport::Cache::Strategy::LocalCache @@ -1464,7 +1466,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#155 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:155 def initialize(error_handler: T.unsafe(nil), **redis_options); end # Cache Store API implementation. @@ -1472,7 +1474,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/redis_cache_store.rb#301 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:301 def cleanup(options = T.unsafe(nil)); end # Clear the entire cache on all Redis servers. Safe to use on @@ -1480,7 +1482,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#309 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:309 def clear(options = T.unsafe(nil)); end # Decrement a cached integer value using the Redis decrby atomic operator. @@ -1505,7 +1507,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#286 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:286 def decrement(name, amount = T.unsafe(nil), **options); end # Cache Store API implementation. @@ -1524,7 +1526,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#210 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:210 def delete_matched(matcher, options = T.unsafe(nil)); end # Increment a cached integer value using the Redis incrby atomic operator. @@ -1550,10 +1552,10 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store # # Failsafe: Raises errors. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#254 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:254 def increment(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#173 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:173 def inspect; end # Cache Store API implementation. @@ -1561,79 +1563,79 @@ 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#181 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:181 def read_multi(*names); end # Returns the value of attribute redis. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#106 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:106 def redis; end # Get info from redis servers. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#320 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:320 def stats; end private - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#456 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:456 def change_counter(key, amount, options); end # Delete an entry from the cache. # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#404 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:404 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#411 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:411 def delete_multi_entries(entries, **_options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#434 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:434 def deserialize_entry(payload, raw: T.unsafe(nil), **_arg2); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#490 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:490 def failsafe(method, returning: T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#325 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:325 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#339 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:339 def read_entry(key, **options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#349 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:349 def read_multi_entries(names, **options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#343 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:343 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#450 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:450 def serialize_entries(entries, **options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#442 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:442 def serialize_entry(entry, raw: T.unsafe(nil), **options); end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#483 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:483 def supports_expire_nx?; 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#376 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:376 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#420 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:420 def write_multi_entries(entries, **options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#380 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:380 def write_serialized_entry(key, payload, **_arg2); end class << self @@ -1648,148 +1650,148 @@ 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#78 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:78 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#60 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:60 def supports_cache_versioning?; end private - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#101 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:101 def build_redis_client(**redis_options); end - # source://activesupport//lib/active_support/cache/redis_cache_store.rb#95 + # pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:95 def build_redis_distributed_client(urls:, **redis_options); end end end -# source://activesupport//lib/active_support/cache/redis_cache_store.rb#44 +# pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:44 ActiveSupport::Cache::RedisCacheStore::DEFAULT_ERROR_HANDLER = T.let(T.unsafe(nil), Proc) -# source://activesupport//lib/active_support/cache/redis_cache_store.rb#38 +# pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:38 ActiveSupport::Cache::RedisCacheStore::DEFAULT_REDIS_OPTIONS = T.let(T.unsafe(nil), Hash) # The maximum number of entries to receive per SCAN call. # -# source://activesupport//lib/active_support/cache/redis_cache_store.rb#56 +# pkg:gem/activesupport#lib/active_support/cache/redis_cache_store.rb:56 ActiveSupport::Cache::RedisCacheStore::SCAN_BATCH_SIZE = T.let(T.unsafe(nil), Integer) -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:66 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#88 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:88 def _load(marked); end - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#73 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:73 def dump(entry); end - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#77 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:77 def dump_compressed(entry, threshold); end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#94 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:94 def dumped?(dumped); end end -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#71 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:71 ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback::MARK_COMPRESSED = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#70 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:70 ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback::MARK_UNCOMPRESSED = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#99 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:99 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#109 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:109 def _load(dumped); end - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#105 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:105 def dump(value); end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#113 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:113 def dumped?(dumped); end end -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#103 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:103 ActiveSupport::Cache::SerializerWithFallback::Marshal71WithFallback::MARSHAL_SIGNATURE = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#118 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:118 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#126 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:126 def _load(dumped); end - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#122 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:122 def dump(value); end # @return [Boolean] # - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#130 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:130 def dumped?(dumped); end private # @return [Boolean] # - # source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#135 + # pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:135 def available?; end end -# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#45 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#144 +# pkg:gem/activesupport#lib/active_support/cache/serializer_with_fallback.rb:144 ActiveSupport::Cache::SerializerWithFallback::SERIALIZERS = T.let(T.unsafe(nil), Hash) # = Active Support \Cache \Store @@ -1834,7 +1836,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#190 +# pkg:gem/activesupport#lib/active_support/cache.rb:190 class ActiveSupport::Cache::Store # Creates a new cache. # @@ -1910,7 +1912,7 @@ class ActiveSupport::Cache::Store # # @return [Store] a new instance of Store # - # source://activesupport//lib/active_support/cache.rb#300 + # pkg:gem/activesupport#lib/active_support/cache.rb:300 def initialize(options = T.unsafe(nil)); end # Cleans up the cache by removing expired entries. @@ -1921,7 +1923,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#785 + # pkg:gem/activesupport#lib/active_support/cache.rb:785 def cleanup(options = T.unsafe(nil)); end # Clears the entire cache. Be careful with this method since it could @@ -1933,7 +1935,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#795 + # pkg:gem/activesupport#lib/active_support/cache.rb:795 def clear(options = T.unsafe(nil)); end # Decrements an integer value in the cache. @@ -1944,7 +1946,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#750 + # pkg:gem/activesupport#lib/active_support/cache.rb:750 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 @@ -1952,7 +1954,7 @@ class ActiveSupport::Cache::Store # # Options are passed to the underlying cache implementation. # - # source://activesupport//lib/active_support/cache.rb#686 + # pkg:gem/activesupport#lib/active_support/cache.rb:686 def delete(name, options = T.unsafe(nil)); end # Deletes all entries with keys matching the pattern. @@ -1963,7 +1965,7 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#732 + # pkg:gem/activesupport#lib/active_support/cache.rb:732 def delete_matched(matcher, options = T.unsafe(nil)); end # Deletes multiple entries in the cache. Returns the number of deleted @@ -1971,7 +1973,7 @@ class ActiveSupport::Cache::Store # # Options are passed to the underlying cache implementation. # - # source://activesupport//lib/active_support/cache.rb#699 + # pkg:gem/activesupport#lib/active_support/cache.rb:699 def delete_multi(names, options = T.unsafe(nil)); end # Returns +true+ if the cache contains an entry for the given key. @@ -1980,7 +1982,7 @@ class ActiveSupport::Cache::Store # # @return [Boolean] # - # source://activesupport//lib/active_support/cache.rb#713 + # pkg:gem/activesupport#lib/active_support/cache.rb:713 def exist?(name, options = T.unsafe(nil)); end # Fetches data from the cache, using the given key. If there is data in @@ -2098,7 +2100,7 @@ class ActiveSupport::Cache::Store # token # end # - # source://activesupport//lib/active_support/cache.rb#452 + # pkg:gem/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 @@ -2133,7 +2135,7 @@ class ActiveSupport::Cache::Store # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/cache.rb#603 + # pkg:gem/activesupport#lib/active_support/cache.rb:603 def fetch_multi(*names); end # Increments an integer value in the cache. @@ -2144,43 +2146,43 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#741 + # pkg:gem/activesupport#lib/active_support/cache.rb:741 def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache.rb#197 + # pkg:gem/activesupport#lib/active_support/cache.rb:197 def logger; end - # source://activesupport//lib/active_support/cache.rb#197 + # pkg:gem/activesupport#lib/active_support/cache.rb:197 def logger=(val); end # Silences the logger within a block. # - # source://activesupport//lib/active_support/cache.rb#330 + # pkg:gem/activesupport#lib/active_support/cache.rb:330 def mute; end # Get the current namespace # - # source://activesupport//lib/active_support/cache.rb#800 + # pkg:gem/activesupport#lib/active_support/cache.rb:800 def namespace; end # Set the current namespace. Note, this will be ignored if custom # options are passed to cache wills with a namespace key. # - # source://activesupport//lib/active_support/cache.rb#806 + # pkg:gem/activesupport#lib/active_support/cache.rb:806 def namespace=(namespace); end - # source://activesupport//lib/active_support/cache.rb#723 + # pkg:gem/activesupport#lib/active_support/cache.rb:723 def new_entry(value, options = T.unsafe(nil)); end # Returns the value of attribute options. # - # source://activesupport//lib/active_support/cache.rb#200 + # pkg:gem/activesupport#lib/active_support/cache.rb:200 def options; end - # source://activesupport//lib/active_support/cache.rb#198 + # pkg:gem/activesupport#lib/active_support/cache.rb:198 def raise_on_invalid_cache_expiration_time; end - # source://activesupport//lib/active_support/cache.rb#198 + # pkg:gem/activesupport#lib/active_support/cache.rb:198 def raise_on_invalid_cache_expiration_time=(val); end # Reads data from the cache, using the given key. If there is data in @@ -2200,7 +2202,7 @@ class ActiveSupport::Cache::Store # # Other options will be handled by the specific cache store implementation. # - # source://activesupport//lib/active_support/cache.rb#506 + # pkg:gem/activesupport#lib/active_support/cache.rb:506 def read(name, options = T.unsafe(nil)); end # Reads a counter that was set by #increment / #decrement. @@ -2212,7 +2214,7 @@ class ActiveSupport::Cache::Store # # Options are passed to the underlying cache implementation. # - # source://activesupport//lib/active_support/cache.rb#762 + # pkg:gem/activesupport#lib/active_support/cache.rb:762 def read_counter(name, **options); end # Reads multiple values at once from the cache. Options can be passed @@ -2222,22 +2224,22 @@ class ActiveSupport::Cache::Store # # Returns a hash mapping the names provided to the values found. # - # source://activesupport//lib/active_support/cache.rb#544 + # pkg:gem/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#200 + # pkg:gem/activesupport#lib/active_support/cache.rb:200 def silence; end # Silences the logger. # - # source://activesupport//lib/active_support/cache.rb#324 + # pkg:gem/activesupport#lib/active_support/cache.rb:324 def silence!; end # Returns the value of attribute silence. # - # source://activesupport//lib/active_support/cache.rb#201 + # pkg:gem/activesupport#lib/active_support/cache.rb:201 def silence?; end # Writes the value to the cache with the key. The value must be supported @@ -2279,7 +2281,7 @@ class ActiveSupport::Cache::Store # # Other options will be handled by the specific cache store implementation. # - # source://activesupport//lib/active_support/cache.rb#672 + # pkg:gem/activesupport#lib/active_support/cache.rb:672 def write(name, value, options = T.unsafe(nil)); end # Writes a counter that can then be modified by #increment / #decrement. @@ -2291,20 +2293,20 @@ class ActiveSupport::Cache::Store # # Options are passed to the underlying cache implementation. # - # source://activesupport//lib/active_support/cache.rb#775 + # pkg:gem/activesupport#lib/active_support/cache.rb:775 def write_counter(name, value, **options); end # Cache Storage API to write multiple values at once. # - # source://activesupport//lib/active_support/cache.rb#559 + # pkg:gem/activesupport#lib/active_support/cache.rb:559 def write_multi(hash, options = T.unsafe(nil)); end private - # source://activesupport//lib/active_support/cache.rb#1074 + # pkg:gem/activesupport#lib/active_support/cache.rb:1074 def _instrument(operation, multi: T.unsafe(nil), options: T.unsafe(nil), **payload, &block); end - # source://activesupport//lib/active_support/cache.rb#811 + # pkg:gem/activesupport#lib/active_support/cache.rb:811 def default_serializer; end # Deletes an entry from the cache implementation. Subclasses must @@ -2312,46 +2314,46 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#897 + # pkg:gem/activesupport#lib/active_support/cache.rb:897 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#903 + # pkg:gem/activesupport#lib/active_support/cache.rb:903 def delete_multi_entries(entries, **options); end - # source://activesupport//lib/active_support/cache.rb#862 + # pkg:gem/activesupport#lib/active_support/cache.rb:862 def deserialize_entry(payload, **_arg1); end # @raise [ArgumentError] # - # source://activesupport//lib/active_support/cache.rb#984 + # pkg:gem/activesupport#lib/active_support/cache.rb:984 def expand_and_namespace_key(key, options = T.unsafe(nil)); 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#1037 + # pkg:gem/activesupport#lib/active_support/cache.rb:1037 def expanded_key(key); end - # source://activesupport//lib/active_support/cache.rb#1058 + # pkg:gem/activesupport#lib/active_support/cache.rb:1058 def expanded_version(key); end - # source://activesupport//lib/active_support/cache.rb#1111 + # pkg:gem/activesupport#lib/active_support/cache.rb:1111 def get_entry_value(entry, name, options); end - # source://activesupport//lib/active_support/cache.rb#1095 + # pkg:gem/activesupport#lib/active_support/cache.rb:1095 def handle_expired_entry(entry, key, options); end - # source://activesupport//lib/active_support/cache.rb#937 + # pkg:gem/activesupport#lib/active_support/cache.rb:937 def handle_invalid_expires_in(message); end - # source://activesupport//lib/active_support/cache.rb#1066 + # pkg:gem/activesupport#lib/active_support/cache.rb:1066 def instrument(operation, key, options = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/cache.rb#1070 + # pkg:gem/activesupport#lib/active_support/cache.rb:1070 def instrument_multi(operation, keys, options = T.unsafe(nil), &block); end # Adds the namespace defined in the options to a pattern designed to @@ -2359,12 +2361,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#826 + # pkg:gem/activesupport#lib/active_support/cache.rb:826 def key_matcher(pattern, options); end # Merges the default options with ones specific to a method call. # - # source://activesupport//lib/active_support/cache.rb#908 + # pkg:gem/activesupport#lib/active_support/cache.rb:908 def merged_options(call_options); end # Prefix the key with a namespace string: @@ -2377,22 +2379,22 @@ class ActiveSupport::Cache::Store # namespace_key 'foo', namespace: -> { 'cache' } # # => 'cache:foo' # - # source://activesupport//lib/active_support/cache.rb#1012 + # pkg:gem/activesupport#lib/active_support/cache.rb:1012 def namespace_key(key, call_options = T.unsafe(nil)); end # Expands, namespaces and truncates the cache key. # Raises an exception when the key is +nil+ or an empty string. # May be overridden by cache stores to do additional normalization. # - # source://activesupport//lib/active_support/cache.rb#979 + # pkg:gem/activesupport#lib/active_support/cache.rb:979 def normalize_key(key, options = T.unsafe(nil)); end # Normalize aliased options to their canonical form # - # source://activesupport//lib/active_support/cache.rb#948 + # pkg:gem/activesupport#lib/active_support/cache.rb:948 def normalize_options(options); end - # source://activesupport//lib/active_support/cache.rb#1054 + # pkg:gem/activesupport#lib/active_support/cache.rb:1054 def normalize_version(key, options = T.unsafe(nil)); end # Reads an entry from the cache implementation. Subclasses must implement @@ -2400,25 +2402,25 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#843 + # pkg:gem/activesupport#lib/active_support/cache.rb:843 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#870 + # pkg:gem/activesupport#lib/active_support/cache.rb:870 def read_multi_entries(names, **options); end - # source://activesupport//lib/active_support/cache.rb#1116 + # pkg:gem/activesupport#lib/active_support/cache.rb:1116 def save_block_result_to_cache(name, key, options); end - # source://activesupport//lib/active_support/cache.rb#853 + # pkg:gem/activesupport#lib/active_support/cache.rb:853 def serialize_entry(entry, **options); end - # source://activesupport//lib/active_support/cache.rb#991 + # pkg:gem/activesupport#lib/active_support/cache.rb:991 def truncate_key(key); end - # source://activesupport//lib/active_support/cache.rb#959 + # pkg:gem/activesupport#lib/active_support/cache.rb:959 def validate_options(options); end # Writes an entry to the cache implementation. Subclasses must implement @@ -2426,46 +2428,46 @@ class ActiveSupport::Cache::Store # # @raise [NotImplementedError] # - # source://activesupport//lib/active_support/cache.rb#849 + # pkg:gem/activesupport#lib/active_support/cache.rb:849 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#889 + # pkg:gem/activesupport#lib/active_support/cache.rb:889 def write_multi_entries(hash, **options); end class << self - # source://activesupport//lib/active_support/cache.rb#197 + # pkg:gem/activesupport#lib/active_support/cache.rb:197 def logger; end - # source://activesupport//lib/active_support/cache.rb#197 + # pkg:gem/activesupport#lib/active_support/cache.rb:197 def logger=(val); end - # source://activesupport//lib/active_support/cache.rb#198 + # pkg:gem/activesupport#lib/active_support/cache.rb:198 def raise_on_invalid_cache_expiration_time; end - # source://activesupport//lib/active_support/cache.rb#198 + # pkg:gem/activesupport#lib/active_support/cache.rb:198 def raise_on_invalid_cache_expiration_time=(val); end private - # source://activesupport//lib/active_support/cache.rb#205 + # pkg:gem/activesupport#lib/active_support/cache.rb:205 def retrieve_pool_options(options); end end end # Default +ConnectionPool+ options # -# source://activesupport//lib/active_support/cache.rb#192 +# pkg:gem/activesupport#lib/active_support/cache.rb:192 ActiveSupport::Cache::Store::DEFAULT_POOL_OPTIONS = T.let(T.unsafe(nil), Hash) # Keys are truncated with the Active Support digest if they exceed the limit. # -# source://activesupport//lib/active_support/cache.rb#195 +# pkg:gem/activesupport#lib/active_support/cache.rb:195 ActiveSupport::Cache::Store::MAX_KEY_SIZE = T.let(T.unsafe(nil), Integer) -# source://activesupport//lib/active_support/cache.rb#53 +# pkg:gem/activesupport#lib/active_support/cache.rb:53 module ActiveSupport::Cache::Strategy; end # = Local \Cache \Strategy @@ -2474,89 +2476,89 @@ 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 +# pkg:gem/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#98 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:98 def cleanup(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#92 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:92 def clear(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#117 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:117 def decrement(name, amount = T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#104 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:104 def delete_matched(matcher, options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#124 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:124 def fetch_multi(*names, &block); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#110 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:110 def increment(name, amount = T.unsafe(nil), **options); end # The current local cache. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#82 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:82 def local_cache; 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#88 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:88 def middleware; end # Set a new local cache. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#72 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:72 def new_local_cache; end # Unset the current local cache. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#77 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:77 def unset_local_cache; end # Use a local cache for the duration of block. # - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#67 + # pkg:gem/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#230 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:230 def bypass_local_cache(&block); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#211 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:211 def delete_entry(key, **_arg1); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#226 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:226 def local_cache_key; end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#173 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:173 def read_multi_entries(names, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#159 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:159 def read_serialized_entry(key, raw: T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#234 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:234 def use_temporary_local_cache(temporary_cache); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#216 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:216 def write_cache_value(name, value, **options); end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#202 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:202 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:25 def set_cache_for(local_cache_key, value); end end @@ -2565,29 +2567,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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:36 def initialize; end - # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#40 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache.rb:52 def write_entry(key, entry); end end @@ -2595,39 +2597,39 @@ 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 +# pkg:gem/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#17 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache_middleware.rb:17 def initialize(name, cache); end # Returns the value of attribute cache. # - # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#15 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache_middleware.rb:15 def cache; end # Sets the attribute cache # # @param value the value to set the attribute cache to. # - # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#15 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache_middleware.rb:15 def cache=(_arg0); end - # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#28 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache_middleware.rb:28 def call(env); end - # source://activesupport//lib/active_support/cache/strategy/local_cache_middleware.rb#14 + # pkg:gem/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#23 + # pkg:gem/activesupport#lib/active_support/cache/strategy/local_cache_middleware.rb:23 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 +# pkg:gem/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 @@ -2635,37 +2637,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#1132 +# pkg:gem/activesupport#lib/active_support/cache.rb:1132 class ActiveSupport::Cache::WriteOptions # @return [WriteOptions] a new instance of WriteOptions # - # source://activesupport//lib/active_support/cache.rb#1133 + # pkg:gem/activesupport#lib/active_support/cache.rb:1133 def initialize(options); end - # source://activesupport//lib/active_support/cache.rb#1157 + # pkg:gem/activesupport#lib/active_support/cache.rb:1157 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#1164 + # pkg:gem/activesupport#lib/active_support/cache.rb:1164 def expires_at=(expires_at); end - # source://activesupport//lib/active_support/cache.rb#1145 + # pkg:gem/activesupport#lib/active_support/cache.rb:1145 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#1152 + # pkg:gem/activesupport#lib/active_support/cache.rb:1152 def expires_in=(expires_in); end - # source://activesupport//lib/active_support/cache.rb#1137 + # pkg:gem/activesupport#lib/active_support/cache.rb:1137 def version; end - # source://activesupport//lib/active_support/cache.rb#1141 + # pkg:gem/activesupport#lib/active_support/cache.rb:1141 def version=(version); end end @@ -2675,16 +2677,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/key_generator.rb:62 def generate_key(*args); end end @@ -2742,7 +2744,7 @@ end # - save # saved # -# source://activesupport//lib/active_support/callbacks.rb#65 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:65 module ActiveSupport::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -2774,7 +2776,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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:97 def run_callbacks(kind, type = T.unsafe(nil)); end private @@ -2783,7 +2785,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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:150 def halted_callback_hook(filter, name); end module GeneratedClassMethods @@ -2796,13 +2798,13 @@ module ActiveSupport::Callbacks end end -# source://activesupport//lib/active_support/callbacks.rb#73 +# pkg:gem/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#337 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:337 module ActiveSupport::Callbacks::CallTemplate class << self # Filters support: @@ -2814,69 +2816,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#495 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:495 def build(filter, callback); end end end -# source://activesupport//lib/active_support/callbacks.rb#396 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:396 class ActiveSupport::Callbacks::CallTemplate::InstanceExec0 # @return [InstanceExec0] a new instance of InstanceExec0 # - # source://activesupport//lib/active_support/callbacks.rb#397 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:397 def initialize(block); end - # source://activesupport//lib/active_support/callbacks.rb#401 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:401 def expand(target, value, block); end - # source://activesupport//lib/active_support/callbacks.rb#411 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:411 def inverted_lambda; end - # source://activesupport//lib/active_support/callbacks.rb#405 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:405 def make_lambda; end end -# source://activesupport//lib/active_support/callbacks.rb#418 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:418 class ActiveSupport::Callbacks::CallTemplate::InstanceExec1 # @return [InstanceExec1] a new instance of InstanceExec1 # - # source://activesupport//lib/active_support/callbacks.rb#419 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:419 def initialize(block); end - # source://activesupport//lib/active_support/callbacks.rb#423 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:423 def expand(target, value, block); end - # source://activesupport//lib/active_support/callbacks.rb#433 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:433 def inverted_lambda; end - # source://activesupport//lib/active_support/callbacks.rb#427 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:427 def make_lambda; end end -# source://activesupport//lib/active_support/callbacks.rb#440 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:440 class ActiveSupport::Callbacks::CallTemplate::InstanceExec2 # @return [InstanceExec2] a new instance of InstanceExec2 # - # source://activesupport//lib/active_support/callbacks.rb#441 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:441 def initialize(block); end # @raise [ArgumentError] # - # source://activesupport//lib/active_support/callbacks.rb#445 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:445 def expand(target, value, block); end - # source://activesupport//lib/active_support/callbacks.rb#457 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:457 def inverted_lambda; end - # source://activesupport//lib/active_support/callbacks.rb#450 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:450 def make_lambda; end end -# source://activesupport//lib/active_support/callbacks.rb#338 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:338 class ActiveSupport::Callbacks::CallTemplate::MethodCall # @return [MethodCall] a new instance of MethodCall # - # source://activesupport//lib/active_support/callbacks.rb#339 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:339 def initialize(method); end # Return the parts needed to make this call, with the given @@ -2893,208 +2895,208 @@ 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#356 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:356 def expand(target, value, block); end - # source://activesupport//lib/active_support/callbacks.rb#366 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:366 def inverted_lambda; end - # source://activesupport//lib/active_support/callbacks.rb#360 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:360 def make_lambda; end end -# source://activesupport//lib/active_support/callbacks.rb#373 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:373 class ActiveSupport::Callbacks::CallTemplate::ObjectCall # @return [ObjectCall] a new instance of ObjectCall # - # source://activesupport//lib/active_support/callbacks.rb#374 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:374 def initialize(target, method); end - # source://activesupport//lib/active_support/callbacks.rb#379 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:379 def expand(target, value, block); end - # source://activesupport//lib/active_support/callbacks.rb#389 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:389 def inverted_lambda; end - # source://activesupport//lib/active_support/callbacks.rb#383 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:383 def make_lambda; end end -# source://activesupport//lib/active_support/callbacks.rb#465 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:465 class ActiveSupport::Callbacks::CallTemplate::ProcCall # @return [ProcCall] a new instance of ProcCall # - # source://activesupport//lib/active_support/callbacks.rb#466 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:466 def initialize(target); end - # source://activesupport//lib/active_support/callbacks.rb#470 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:470 def expand(target, value, block); end - # source://activesupport//lib/active_support/callbacks.rb#480 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:480 def inverted_lambda; end - # source://activesupport//lib/active_support/callbacks.rb#474 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:474 def make_lambda; end end -# source://activesupport//lib/active_support/callbacks.rb#231 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:231 class ActiveSupport::Callbacks::Callback # @return [Callback] a new instance of Callback # - # source://activesupport//lib/active_support/callbacks.rb#246 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:246 def initialize(name, filter, kind, options, chain_config); end # Wraps code with filter # - # source://activesupport//lib/active_support/callbacks.rb#300 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:300 def apply(callback_sequence); end # Returns the value of attribute chain_config. # - # source://activesupport//lib/active_support/callbacks.rb#244 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:244 def chain_config; end - # source://activesupport//lib/active_support/callbacks.rb#282 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:282 def compiled; end - # source://activesupport//lib/active_support/callbacks.rb#304 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:304 def current_scopes; end # @return [Boolean] # - # source://activesupport//lib/active_support/callbacks.rb#273 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:273 def duplicates?(other); end # Returns the value of attribute filter. # - # source://activesupport//lib/active_support/callbacks.rb#244 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:244 def filter; end # Returns the value of attribute kind. # - # source://activesupport//lib/active_support/callbacks.rb#243 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:243 def kind; end # Sets the attribute kind # # @param value the value to set the attribute kind to. # - # source://activesupport//lib/active_support/callbacks.rb#243 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:243 def kind=(_arg0); end # @return [Boolean] # - # source://activesupport//lib/active_support/callbacks.rb#269 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:269 def matches?(_kind, _filter); end - # source://activesupport//lib/active_support/callbacks.rb#257 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:257 def merge_conditional_options(chain, if_option:, unless_option:); end # Returns the value of attribute name. # - # source://activesupport//lib/active_support/callbacks.rb#243 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:243 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://activesupport//lib/active_support/callbacks.rb#243 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:243 def name=(_arg0); end private - # source://activesupport//lib/active_support/callbacks.rb#312 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:312 def check_conditionals(conditionals); end - # source://activesupport//lib/active_support/callbacks.rb#327 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:327 def conditions_lambdas; end class << self - # source://activesupport//lib/active_support/callbacks.rb#232 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:232 def build(chain, filter, kind, options); end end end -# source://activesupport//lib/active_support/callbacks.rb#309 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:309 ActiveSupport::Callbacks::Callback::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://activesupport//lib/active_support/callbacks.rb#568 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:568 class ActiveSupport::Callbacks::CallbackChain include ::Enumerable # @return [CallbackChain] a new instance of CallbackChain # - # source://activesupport//lib/active_support/callbacks.rb#573 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:573 def initialize(name, config); end - # source://activesupport//lib/active_support/callbacks.rb#633 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:633 def append(*callbacks); end - # source://activesupport//lib/active_support/callbacks.rb#601 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:601 def clear; end - # source://activesupport//lib/active_support/callbacks.rb#615 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:615 def compile(type); end # Returns the value of attribute config. # - # source://activesupport//lib/active_support/callbacks.rb#571 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:571 def config; end - # source://activesupport//lib/active_support/callbacks.rb#595 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:595 def delete(o); end - # source://activesupport//lib/active_support/callbacks.rb#585 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:585 def each(&block); end # @return [Boolean] # - # source://activesupport//lib/active_support/callbacks.rb#587 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:587 def empty?; end - # source://activesupport//lib/active_support/callbacks.rb#586 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:586 def index(o); end - # source://activesupport//lib/active_support/callbacks.rb#589 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:589 def insert(index, o); end # Returns the value of attribute name. # - # source://activesupport//lib/active_support/callbacks.rb#571 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:571 def name; end - # source://activesupport//lib/active_support/callbacks.rb#637 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:637 def prepend(*callbacks); end protected # Returns the value of attribute chain. # - # source://activesupport//lib/active_support/callbacks.rb#642 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:642 def chain; end private - # source://activesupport//lib/active_support/callbacks.rb#645 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:645 def append_one(callback); end - # source://activesupport//lib/active_support/callbacks.rb#608 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:608 def initialize_copy(other); end - # source://activesupport//lib/active_support/callbacks.rb#652 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:652 def prepend_one(callback); end - # source://activesupport//lib/active_support/callbacks.rb#659 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:659 def remove_duplicates(callback); end end -# source://activesupport//lib/active_support/callbacks.rb#675 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:675 ActiveSupport::Callbacks::CallbackChain::DEFAULT_TERMINATOR = T.let(T.unsafe(nil), ActiveSupport::Callbacks::CallbackChain::DefaultTerminator) -# source://activesupport//lib/active_support/callbacks.rb#665 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:665 class ActiveSupport::Callbacks::CallbackChain::DefaultTerminator - # source://activesupport//lib/active_support/callbacks.rb#666 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:666 def call(target, result_lambda); end end @@ -3102,53 +3104,53 @@ end # chaining them with nested lambda calls, see: # https://github.com/rails/rails/issues/18011 # -# source://activesupport//lib/active_support/callbacks.rb#519 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:519 class ActiveSupport::Callbacks::CallbackSequence # @return [CallbackSequence] a new instance of CallbackSequence # - # source://activesupport//lib/active_support/callbacks.rb#520 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:520 def initialize(nested = T.unsafe(nil), call_template = T.unsafe(nil), user_conditions = T.unsafe(nil)); end - # source://activesupport//lib/active_support/callbacks.rb#535 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:535 def after(after); end - # source://activesupport//lib/active_support/callbacks.rb#541 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:541 def around(call_template, user_conditions); end - # source://activesupport//lib/active_support/callbacks.rb#529 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:529 def before(before); end - # source://activesupport//lib/active_support/callbacks.rb#555 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:555 def expand_call_template(arg, block); end # @return [Boolean] # - # source://activesupport//lib/active_support/callbacks.rb#551 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:551 def final?; end - # source://activesupport//lib/active_support/callbacks.rb#563 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:563 def invoke_after(arg); end - # source://activesupport//lib/active_support/callbacks.rb#559 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:559 def invoke_before(arg); end # Returns the value of attribute nested. # - # source://activesupport//lib/active_support/callbacks.rb#549 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:549 def nested; end # @return [Boolean] # - # source://activesupport//lib/active_support/callbacks.rb#545 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:545 def skip?(arg); end end -# source://activesupport//lib/active_support/callbacks.rb#678 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:678 module ActiveSupport::Callbacks::ClassMethods # This is used internally to append, prepend and skip callbacks to the # CallbackChain. # - # source://activesupport//lib/active_support/callbacks.rb#688 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:688 def __update_callbacks(name); end # Define sets of events in the object life cycle that support callbacks. @@ -3230,15 +3232,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#903 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:903 def define_callbacks(*names); end - # source://activesupport//lib/active_support/callbacks.rb#679 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:679 def normalize_callback_params(filters, block); end # Remove all set callbacks for the given event. # - # source://activesupport//lib/active_support/callbacks.rb#813 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:813 def reset_callbacks(name); end # Install a callback for the given event. @@ -3286,7 +3288,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#739 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:739 def set_callback(name, *filter_list, &block); end # Skip a previously set callback. Like #set_callback, :if or @@ -3325,121 +3327,121 @@ 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#788 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:788 def skip_callback(name, *filter_list, &block); end protected - # source://activesupport//lib/active_support/callbacks.rb#939 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:939 def get_callbacks(name); end - # source://activesupport//lib/active_support/callbacks.rb#943 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:943 def set_callbacks(name, callbacks); end end -# source://activesupport//lib/active_support/callbacks.rb#153 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:153 module ActiveSupport::Callbacks::Conditionals; end -# source://activesupport//lib/active_support/callbacks.rb#154 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:155 def initialize(&block); end - # source://activesupport//lib/active_support/callbacks.rb#158 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:158 def call(target, value); end end -# source://activesupport//lib/active_support/callbacks.rb#162 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:162 module ActiveSupport::Callbacks::Filters; end -# source://activesupport//lib/active_support/callbacks.rb#194 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:194 class ActiveSupport::Callbacks::Filters::After # @return [After] a new instance of After # - # source://activesupport//lib/active_support/callbacks.rb#196 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:196 def initialize(user_callback, user_conditions, chain_config); end - # source://activesupport//lib/active_support/callbacks.rb#214 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:214 def apply(callback_sequence); end - # source://activesupport//lib/active_support/callbacks.rb#202 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:202 def call(env); end # Returns the value of attribute halting. # - # source://activesupport//lib/active_support/callbacks.rb#195 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:195 def halting; end # Returns the value of attribute user_callback. # - # source://activesupport//lib/active_support/callbacks.rb#195 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:195 def user_callback; end # Returns the value of attribute user_conditions. # - # source://activesupport//lib/active_support/callbacks.rb#195 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:195 def user_conditions; end end -# source://activesupport//lib/active_support/callbacks.rb#219 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:219 class ActiveSupport::Callbacks::Filters::Around # @return [Around] a new instance of Around # - # source://activesupport//lib/active_support/callbacks.rb#220 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:220 def initialize(user_callback, user_conditions); end - # source://activesupport//lib/active_support/callbacks.rb#225 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:225 def apply(callback_sequence); end end -# source://activesupport//lib/active_support/callbacks.rb#165 +# pkg:gem/activesupport#lib/active_support/callbacks.rb:165 class ActiveSupport::Callbacks::Filters::Before # @return [Before] a new instance of Before # - # source://activesupport//lib/active_support/callbacks.rb#166 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:166 def initialize(user_callback, user_conditions, chain_config, filter, name); end - # source://activesupport//lib/active_support/callbacks.rb#189 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:189 def apply(callback_sequence); end - # source://activesupport//lib/active_support/callbacks.rb#173 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:173 def call(env); end # Returns the value of attribute filter. # - # source://activesupport//lib/active_support/callbacks.rb#171 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:171 def filter; end # Returns the value of attribute halted_lambda. # - # source://activesupport//lib/active_support/callbacks.rb#171 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:171 def halted_lambda; end # Returns the value of attribute name. # - # source://activesupport//lib/active_support/callbacks.rb#171 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:171 def name; end # Returns the value of attribute user_callback. # - # source://activesupport//lib/active_support/callbacks.rb#171 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:171 def user_callback; end # Returns the value of attribute user_conditions. # - # source://activesupport//lib/active_support/callbacks.rb#171 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:171 def user_conditions; end end -# source://activesupport//lib/active_support/callbacks.rb#163 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def halted; end # Sets the attribute halted @@ -3447,14 +3449,14 @@ class ActiveSupport::Callbacks::Filters::Environment < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def target; end # Sets the attribute target @@ -3462,14 +3464,14 @@ class ActiveSupport::Callbacks::Filters::Environment < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def value; end # Sets the attribute value @@ -3477,80 +3479,80 @@ class ActiveSupport::Callbacks::Filters::Environment < ::Struct # @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 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def value=(_); end class << self - # source://activesupport//lib/active_support/callbacks.rb#163 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def [](*_arg0); end - # source://activesupport//lib/active_support/callbacks.rb#163 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def inspect; end - # source://activesupport//lib/active_support/callbacks.rb#163 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def keyword_init?; end - # source://activesupport//lib/active_support/callbacks.rb#163 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def members; end - # source://activesupport//lib/active_support/callbacks.rb#163 + # pkg:gem/activesupport#lib/active_support/callbacks.rb:163 def new(*_arg0); end end end -# source://activesupport//lib/active_support/class_attribute.rb#4 +# pkg:gem/activesupport#lib/active_support/class_attribute.rb:4 module ActiveSupport::ClassAttribute class << self - # source://activesupport//lib/active_support/class_attribute.rb#6 + # pkg:gem/activesupport#lib/active_support/class_attribute.rb:6 def redefine(owner, name, namespaced_name, value); end - # source://activesupport//lib/active_support/class_attribute.rb#26 + # pkg:gem/activesupport#lib/active_support/class_attribute.rb:26 def redefine_method(owner, name, private: T.unsafe(nil), &block); end end end -# source://activesupport//lib/active_support/code_generator.rb#4 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/code_generator.rb:53 def initialize(owner, path, line); end # @yield [@sources] # - # source://activesupport//lib/active_support/code_generator.rb#61 + # pkg:gem/activesupport#lib/active_support/code_generator.rb:61 def class_eval; end - # source://activesupport//lib/active_support/code_generator.rb#65 + # pkg:gem/activesupport#lib/active_support/code_generator.rb:65 def define_cached_method(canonical_name, namespace:, as: T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/code_generator.rb#69 + # pkg:gem/activesupport#lib/active_support/code_generator.rb:69 def execute; end class << self - # source://activesupport//lib/active_support/code_generator.rb#41 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/code_generator.rb:8 def initialize(namespace); end - # source://activesupport//lib/active_support/code_generator.rb#28 + # pkg:gem/activesupport#lib/active_support/code_generator.rb:28 def apply(owner, path, line); end - # source://activesupport//lib/active_support/code_generator.rb#15 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -3564,7 +3566,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 + # pkg:gem/activesupport#lib/active_support/core_ext/range/compare_range.rb:16 def ===(value); end # Extends the default Range#include? to support range comparisons. @@ -3581,7 +3583,7 @@ module ActiveSupport::CompareWithRange # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#41 + # pkg:gem/activesupport#lib/active_support/core_ext/range/compare_range.rb:41 def include?(value); end end @@ -3694,9 +3696,9 @@ end # # prepend is also used for any dependencies. # -# source://activesupport//lib/active_support/concern.rb#112 +# pkg:gem/activesupport#lib/active_support/concern.rb:112 module ActiveSupport::Concern - # source://activesupport//lib/active_support/concern.rb#129 + # pkg:gem/activesupport#lib/active_support/concern.rb:129 def append_features(base); end # Define class methods from given block. @@ -3720,62 +3722,62 @@ module ActiveSupport::Concern # Buzz.foo # => "foo" # Buzz.bar # => private method 'bar' called for Buzz:Class(NoMethodError) # - # source://activesupport//lib/active_support/concern.rb#209 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/concern.rb:158 def included(base = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/concern.rb#142 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/concern.rb:125 def extended(base); end end end -# source://activesupport//lib/active_support/concern.rb#113 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/concern.rb:114 def initialize; end end -# source://activesupport//lib/active_support/concern.rb#119 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/concern.rb:120 def initialize; end end -# source://activesupport//lib/active_support/concurrency/share_lock.rb#6 +# pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:6 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#9 +# pkg:gem/activesupport#lib/active_support/concurrency/load_interlock_aware_monitor.rb:9 ActiveSupport::Concurrency::LoadInterlockAwareMonitor = Monitor -# source://activesupport//lib/active_support/concurrency/null_lock.rb#5 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/concurrency/null_lock.rb:8 def synchronize; end end @@ -3783,13 +3785,13 @@ end # # https://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock # -# source://activesupport//lib/active_support/concurrency/share_lock.rb#10 +# pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:10 class ActiveSupport::Concurrency::ShareLock include ::MonitorMixin # @return [ShareLock] a new instance of ShareLock # - # source://activesupport//lib/active_support/concurrency/share_lock.rb#49 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:49 def initialize; end # Execute the supplied block while holding the Exclusive lock. If @@ -3799,19 +3801,19 @@ class ActiveSupport::Concurrency::ShareLock # # See +start_exclusive+ for other options. # - # source://activesupport//lib/active_support/concurrency/share_lock.rb#147 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:147 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#17 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:17 def raw_state; end # Execute the supplied block while holding the Share lock. # - # source://activesupport//lib/active_support/concurrency/share_lock.rb#158 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:158 def sharing; end # Returns false if +no_wait+ is set and the lock is not @@ -3829,26 +3831,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#75 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:75 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#113 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:113 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#95 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:95 def stop_exclusive(compatible: T.unsafe(nil)); end - # source://activesupport//lib/active_support/concurrency/share_lock.rb#130 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:130 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#170 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:170 def yield_shares(purpose: T.unsafe(nil), compatible: T.unsafe(nil), block_share: T.unsafe(nil)); end private @@ -3857,49 +3859,49 @@ class ActiveSupport::Concurrency::ShareLock # # @return [Boolean] # - # source://activesupport//lib/active_support/concurrency/share_lock.rb#203 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:203 def busy_for_exclusive?(purpose); end # @return [Boolean] # - # source://activesupport//lib/active_support/concurrency/share_lock.rb#208 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:208 def busy_for_sharing?(purpose); end # @return [Boolean] # - # source://activesupport//lib/active_support/concurrency/share_lock.rb#213 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:213 def eligible_waiters?(compatible); end - # source://activesupport//lib/active_support/concurrency/share_lock.rb#217 + # pkg:gem/activesupport#lib/active_support/concurrency/share_lock.rb:217 def wait_for(method, &block); end end -# source://activesupport//lib/active_support/concurrency/thread_monitor.rb#5 +# pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:5 class ActiveSupport::Concurrency::ThreadMonitor # @return [ThreadMonitor] a new instance of ThreadMonitor # - # source://activesupport//lib/active_support/concurrency/thread_monitor.rb#10 + # pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:10 def initialize; end - # source://activesupport//lib/active_support/concurrency/thread_monitor.rb#16 + # pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:16 def synchronize(&block); end private - # source://activesupport//lib/active_support/concurrency/thread_monitor.rb#37 + # pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:37 def mon_enter; end - # source://activesupport//lib/active_support/concurrency/thread_monitor.rb#43 + # pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:43 def mon_exit; end - # source://activesupport//lib/active_support/concurrency/thread_monitor.rb#29 + # pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:29 def mon_try_enter; end end -# source://activesupport//lib/active_support/concurrency/thread_monitor.rb#7 +# pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:7 ActiveSupport::Concurrency::ThreadMonitor::EXCEPTION_IMMEDIATE = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/concurrency/thread_monitor.rb#6 +# pkg:gem/activesupport#lib/active_support/concurrency/thread_monitor.rb:6 ActiveSupport::Concurrency::ThreadMonitor::EXCEPTION_NEVER = T.let(T.unsafe(nil), Hash) # = Active Support \Configurable @@ -3907,7 +3909,7 @@ ActiveSupport::Concurrency::ThreadMonitor::EXCEPTION_NEVER = T.let(T.unsafe(nil) # Configurable provides a config method to store and retrieve # configuration options as an OrderedOptions. # -# source://activesupport//lib/active_support/configurable.rb#17 +# pkg:gem/activesupport#lib/active_support/configurable.rb:17 module ActiveSupport::Configurable extend ::ActiveSupport::Concern @@ -3929,11 +3931,11 @@ module ActiveSupport::Configurable # user.config.allowed_access # => true # user.config.level # => 1 # - # source://activesupport//lib/active_support/configurable.rb#189 + # pkg:gem/activesupport#lib/active_support/configurable.rb:189 def config; end end -# source://activesupport//lib/active_support/configurable.rb#35 +# pkg:gem/activesupport#lib/active_support/configurable.rb:35 module ActiveSupport::Configurable::ClassMethods # Reads and writes attributes from a configuration OrderedOptions. # @@ -3949,7 +3951,7 @@ module ActiveSupport::Configurable::ClassMethods # User.config.allowed_access # => true # User.config.level # => 1 # - # source://activesupport//lib/active_support/configurable.rb#49 + # pkg:gem/activesupport#lib/active_support/configurable.rb:49 def config; end # Configure values from within the passed block. @@ -3970,7 +3972,7 @@ module ActiveSupport::Configurable::ClassMethods # # @yield [config] # - # source://activesupport//lib/active_support/configurable.rb#73 + # pkg:gem/activesupport#lib/active_support/configurable.rb:73 def configure; end private @@ -4044,22 +4046,22 @@ module ActiveSupport::Configurable::ClassMethods # User.allowed_access # => false # User.hair_colors # => [:brown, :black, :blonde, :red] # - # source://activesupport//lib/active_support/configurable.rb#145 + # pkg:gem/activesupport#lib/active_support/configurable.rb:145 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#166 + # pkg:gem/activesupport#lib/active_support/configurable.rb:166 def inherited(subclass); end end -# source://activesupport//lib/active_support/configurable.rb#20 +# pkg:gem/activesupport#lib/active_support/configurable.rb:20 class ActiveSupport::Configurable::Configuration < ::ActiveSupport::InheritableOptions - # source://activesupport//lib/active_support/configurable.rb#21 + # pkg:gem/activesupport#lib/active_support/configurable.rb:21 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#26 + # pkg:gem/activesupport#lib/active_support/configurable.rb:26 def compile_methods!(keys); end end end @@ -4070,31 +4072,31 @@ end # Warns in case of YAML confusing characters, like invisible # non-breaking spaces. # -# source://activesupport//lib/active_support/configuration_file.rb#9 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/configuration_file.rb:12 def initialize(content_path); end - # source://activesupport//lib/active_support/configuration_file.rb#21 + # pkg:gem/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#44 + # pkg:gem/activesupport#lib/active_support/configuration_file.rb:44 def read(content_path); end - # source://activesupport//lib/active_support/configuration_file.rb#54 + # pkg:gem/activesupport#lib/active_support/configuration_file.rb:54 def render(context); end class << self - # source://activesupport//lib/active_support/configuration_file.rb#17 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/configuration_file.rb:10 class ActiveSupport::ConfigurationFile::FormatError < ::StandardError; end # Provides a DSL for declaring a continuous integration workflow that can be run either locally or in the cloud. @@ -4118,11 +4120,11 @@ class ActiveSupport::ConfigurationFile::FormatError < ::StandardError; end # # Starting with Rails 8.1, a default `bin/ci` and `config/ci.rb` file are created to provide out-of-the-box CI. # -# source://activesupport//lib/active_support/continuous_integration.rb#24 +# pkg:gem/activesupport#lib/active_support/continuous_integration.rb:24 class ActiveSupport::ContinuousIntegration # @return [ContinuousIntegration] a new instance of ContinuousIntegration # - # source://activesupport//lib/active_support/continuous_integration.rb#64 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:64 def initialize; end # Echo text to the terminal in the color corresponding to the type of the text. @@ -4134,12 +4136,12 @@ class ActiveSupport::ContinuousIntegration # # See ActiveSupport::ContinuousIntegration::COLORS for a complete list of options. # - # source://activesupport//lib/active_support/continuous_integration.rb#111 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:111 def echo(text, type:); end # Display an error heading with the title and optional subtitle to reflect that the run failed. # - # source://activesupport//lib/active_support/continuous_integration.rb#86 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:86 def failure(title, subtitle = T.unsafe(nil)); end # Display a colorized heading followed by an optional subtitle. @@ -4151,15 +4153,15 @@ class ActiveSupport::ContinuousIntegration # # See ActiveSupport::ContinuousIntegration::COLORS for a complete list of options. # - # source://activesupport//lib/active_support/continuous_integration.rb#98 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:98 def heading(heading, subtitle = T.unsafe(nil), type: T.unsafe(nil), padding: T.unsafe(nil)); end - # source://activesupport//lib/active_support/continuous_integration.rb#116 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:116 def report(title, &block); end # Returns the value of attribute results. # - # source://activesupport//lib/active_support/continuous_integration.rb#33 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:33 def results; end # Declare a step with a title and a command. The command can either be given as a single string or as multiple @@ -4170,22 +4172,22 @@ class ActiveSupport::ContinuousIntegration # step "Setup", "bin/setup" # step "Single test", "bin/rails", "test", "--name", "test_that_is_one" # - # source://activesupport//lib/active_support/continuous_integration.rb#75 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:75 def step(title, *command); end # Returns true if all steps were successful. # # @return [Boolean] # - # source://activesupport//lib/active_support/continuous_integration.rb#81 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:81 def success?; end private - # source://activesupport//lib/active_support/continuous_integration.rb#141 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:141 def colorize(text, type); end - # source://activesupport//lib/active_support/continuous_integration.rb#134 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:134 def timing; end class << self @@ -4210,18 +4212,18 @@ class ActiveSupport::ContinuousIntegration # end # end # - # source://activesupport//lib/active_support/continuous_integration.rb#55 + # pkg:gem/activesupport#lib/active_support/continuous_integration.rb:55 def run(title = T.unsafe(nil), subtitle = T.unsafe(nil), &block); end end end -# source://activesupport//lib/active_support/continuous_integration.rb#25 +# pkg:gem/activesupport#lib/active_support/continuous_integration.rb:25 ActiveSupport::ContinuousIntegration::COLORS = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/core_ext/erb/util.rb#6 +# pkg:gem/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 +# pkg:gem/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. @@ -4229,7 +4231,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#28 + # pkg:gem/activesupport#lib/active_support/core_ext/erb/util.rb:28 def h(s); end # A utility method for escaping HTML tag characters. @@ -4238,29 +4240,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#10 + # pkg:gem/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#18 + # pkg:gem/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 +# pkg:gem/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#33 + # pkg:gem/activesupport#lib/active_support/core_ext/erb/util.rb:33 def h(s); end - # source://activesupport//lib/active_support/core_ext/erb/util.rb#33 + # pkg:gem/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#33 + # pkg:gem/activesupport#lib/active_support/core_ext/erb/util.rb:33 def unwrapped_html_escape(s); end end @@ -4348,7 +4350,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#93 +# pkg:gem/activesupport#lib/active_support/current_attributes.rb:93 class ActiveSupport::CurrentAttributes include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods @@ -4356,40 +4358,40 @@ class ActiveSupport::CurrentAttributes # @return [CurrentAttributes] a new instance of CurrentAttributes # - # source://activesupport//lib/active_support/current_attributes.rb#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def initialize; end - # source://activesupport//lib/active_support/current_attributes.rb#94 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:94 def __callbacks; end - # source://activesupport//lib/active_support/current_attributes.rb#95 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:95 def _reset_callbacks; end - # source://activesupport//lib/active_support/current_attributes.rb#95 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:95 def _run_reset_callbacks; end - # source://activesupport//lib/active_support/current_attributes.rb#95 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:95 def _run_reset_callbacks!(&block); end - # source://activesupport//lib/active_support/current_attributes.rb#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 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#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def attributes=(_arg0); end - # source://activesupport//lib/active_support/current_attributes.rb#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def defaults; end - # source://activesupport//lib/active_support/current_attributes.rb#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def defaults?; 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#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def reset; end # Expose one or more attributes within a block. Old values are returned after the block concludes. @@ -4403,30 +4405,30 @@ class ActiveSupport::CurrentAttributes # end # end # - # source://activesupport//lib/active_support/current_attributes.rb#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def set(attributes, &block); end private - # source://activesupport//lib/active_support/current_attributes.rb#186 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:186 def resolve_defaults; end class << self - # source://activesupport//lib/active_support/current_attributes.rb#94 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:94 def __callbacks; end - # source://activesupport//lib/active_support/current_attributes.rb#94 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:94 def __callbacks=(value); end - # source://activesupport//lib/active_support/current_attributes.rb#95 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:95 def _reset_callbacks; end - # source://activesupport//lib/active_support/current_attributes.rb#95 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:95 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#153 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:153 def after_reset(*methods, &block); end # Declares one or more attributes that will be given both class and instance accessor methods. @@ -4438,96 +4440,96 @@ class ActiveSupport::CurrentAttributes # constructed. Otherwise, the value will be duplicated with +#dup+. # Default values are re-assigned when the attributes are reset. # - # source://activesupport//lib/active_support/current_attributes.rb#115 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:115 def attribute(*names, default: T.unsafe(nil)); end - # source://activesupport//lib/active_support/current_attributes.rb#197 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:197 def attributes(&_arg0); end - # source://activesupport//lib/active_support/current_attributes.rb#197 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:197 def attributes=(arg); 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#145 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:145 def before_reset(*methods, &block); end - # source://activesupport//lib/active_support/current_attributes.rb#157 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:157 def clear_all; end - # source://activesupport//lib/active_support/current_attributes.rb#201 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:201 def defaults; end - # source://activesupport//lib/active_support/current_attributes.rb#201 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:201 def defaults=(value); end - # source://activesupport//lib/active_support/current_attributes.rb#201 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:201 def defaults?; end # Returns singleton instance for this class in this thread. If none exists, one is created. # - # source://activesupport//lib/active_support/current_attributes.rb#103 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:103 def instance; end - # source://activesupport//lib/active_support/current_attributes.rb#155 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:155 def reset(*_arg0, **_arg1, &_arg2); 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#150 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:150 def resets(*methods, &block); end - # source://activesupport//lib/active_support/current_attributes.rb#155 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:155 def set(*_arg0, **_arg1, &_arg2); end private - # source://activesupport//lib/active_support/current_attributes.rb#94 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:94 def __class_attr___callbacks; end - # source://activesupport//lib/active_support/current_attributes.rb#94 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:94 def __class_attr___callbacks=(new_value); end - # source://activesupport//lib/active_support/current_attributes.rb#201 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:201 def __class_attr_defaults; end - # source://activesupport//lib/active_support/current_attributes.rb#201 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:201 def __class_attr_defaults=(new_value); end - # source://activesupport//lib/active_support/current_attributes.rb#169 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:169 def current_instances; end - # source://activesupport//lib/active_support/current_attributes.rb#173 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:173 def current_instances_key; end - # source://activesupport//lib/active_support/current_attributes.rb#165 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:165 def generated_attribute_methods; end # @private # - # source://activesupport//lib/active_support/current_attributes.rb#185 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:185 def method_added(name); end - # source://activesupport//lib/active_support/current_attributes.rb#177 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:177 def method_missing(name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activesupport//lib/active_support/current_attributes.rb#181 + # pkg:gem/activesupport#lib/active_support/current_attributes.rb:181 def respond_to_missing?(name, _); end end end -# source://activesupport//lib/active_support/current_attributes.rb#97 +# pkg:gem/activesupport#lib/active_support/current_attributes.rb:97 ActiveSupport::CurrentAttributes::INVALID_ATTRIBUTE_NAMES = T.let(T.unsafe(nil), Array) -# source://activesupport//lib/active_support/current_attributes.rb#99 +# pkg:gem/activesupport#lib/active_support/current_attributes.rb:99 ActiveSupport::CurrentAttributes::NOT_SET = T.let(T.unsafe(nil), Object) # 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 +# pkg:gem/activesupport#lib/active_support/deep_mergeable.rb:6 module ActiveSupport::DeepMergeable # Returns a new instance with the values from +other+ merged recursively. # @@ -4551,12 +4553,12 @@ module ActiveSupport::DeepMergeable # end # # => { a: 100, b: 450, c: { c1: 300 } } # - # source://activesupport//lib/active_support/deep_mergeable.rb#29 + # pkg:gem/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 + # pkg:gem/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 @@ -4565,69 +4567,69 @@ module ActiveSupport::DeepMergeable # # @return [Boolean] # - # source://activesupport//lib/active_support/deep_mergeable.rb#49 + # pkg:gem/activesupport#lib/active_support/deep_mergeable.rb:49 def deep_merge?(other); end end -# source://activesupport//lib/active_support/delegation.rb#14 +# pkg:gem/activesupport#lib/active_support/delegation.rb:14 module ActiveSupport::Delegation class << self - # source://activesupport//lib/active_support/delegation.rb#21 + # pkg:gem/activesupport#lib/active_support/delegation.rb:21 def generate(owner, methods, location: T.unsafe(nil), to: T.unsafe(nil), prefix: T.unsafe(nil), allow_nil: T.unsafe(nil), nilable: T.unsafe(nil), private: T.unsafe(nil), as: T.unsafe(nil), signature: T.unsafe(nil)); end - # source://activesupport//lib/active_support/delegation.rb#150 + # pkg:gem/activesupport#lib/active_support/delegation.rb:150 def generate_method_missing(owner, target, allow_nil: T.unsafe(nil)); end end end -# source://activesupport//lib/active_support/delegation.rb#18 +# pkg:gem/activesupport#lib/active_support/delegation.rb:18 ActiveSupport::Delegation::RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set) -# source://activesupport//lib/active_support/delegation.rb#15 +# pkg:gem/activesupport#lib/active_support/delegation.rb:15 ActiveSupport::Delegation::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array) # Error generated by +delegate+ when a method is called on +nil+ and +allow_nil+ # option is not used. # -# source://activesupport//lib/active_support/delegation.rb#6 +# pkg:gem/activesupport#lib/active_support/delegation.rb:6 class ActiveSupport::DelegationError < ::NoMethodError class << self - # source://activesupport//lib/active_support/delegation.rb#8 + # pkg:gem/activesupport#lib/active_support/delegation.rb:8 def nil_target(method_name, target); end end end -# source://activesupport//lib/active_support/dependencies/interlock.rb#6 +# pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:6 module ActiveSupport::Dependencies class << self - # source://activesupport//lib/active_support/dependencies.rb#66 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:66 def _autoloaded_tracked_classes; end - # source://activesupport//lib/active_support/dependencies.rb#66 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:66 def _autoloaded_tracked_classes=(_arg0); end - # source://activesupport//lib/active_support/dependencies.rb#60 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:60 def _eager_load_paths; end - # source://activesupport//lib/active_support/dependencies.rb#60 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:60 def _eager_load_paths=(_arg0); end - # source://activesupport//lib/active_support/dependencies.rb#53 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:53 def autoload_once_paths; end - # source://activesupport//lib/active_support/dependencies.rb#53 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:53 def autoload_once_paths=(_arg0); end - # source://activesupport//lib/active_support/dependencies.rb#47 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:47 def autoload_paths; end - # source://activesupport//lib/active_support/dependencies.rb#47 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:47 def autoload_paths=(_arg0); end - # source://activesupport//lib/active_support/dependencies.rb#73 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:73 def autoloader; end - # source://activesupport//lib/active_support/dependencies.rb#73 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:73 def autoloader=(_arg0); end # Private method that reloads constants autoloaded by the main autoloader. @@ -4636,85 +4638,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#80 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:80 def clear; end # Private method that helps configuring the autoloaders. # # @return [Boolean] # - # source://activesupport//lib/active_support/dependencies.rb#98 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:98 def eager_load?(path); end - # source://activesupport//lib/active_support/dependencies.rb#9 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:9 def interlock; end - # source://activesupport//lib/active_support/dependencies.rb#9 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:9 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#23 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:23 def load_interlock(&block); end # Execute the supplied block without interference from any # concurrent loads. # - # source://activesupport//lib/active_support/dependencies.rb#16 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:16 def run_interlock(&block); end # Private method used by require_dependency. # - # source://activesupport//lib/active_support/dependencies.rb#88 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:88 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#35 + # pkg:gem/activesupport#lib/active_support/dependencies.rb:35 def unload_interlock(&block); end end end -# source://activesupport//lib/active_support/dependencies/interlock.rb#7 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:8 def initialize; end - # source://activesupport//lib/active_support/dependencies/interlock.rb#37 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:37 def done_running; end - # source://activesupport//lib/active_support/dependencies/interlock.rb#29 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:29 def done_unloading; end - # source://activesupport//lib/active_support/dependencies/interlock.rb#12 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:12 def loading(&block); end - # source://activesupport//lib/active_support/dependencies/interlock.rb#45 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:45 def permit_concurrent_loads(&block); end - # source://activesupport//lib/active_support/dependencies/interlock.rb#50 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:50 def raw_state(&block); end - # source://activesupport//lib/active_support/dependencies/interlock.rb#41 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:41 def running(&block); end - # source://activesupport//lib/active_support/dependencies/interlock.rb#33 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:33 def start_running; end - # source://activesupport//lib/active_support/dependencies/interlock.rb#25 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:25 def start_unloading; end - # source://activesupport//lib/active_support/dependencies/interlock.rb#21 + # pkg:gem/activesupport#lib/active_support/dependencies/interlock.rb:21 def unloading(&block); end end -# source://activesupport//lib/active_support/dependencies/require_dependency.rb#3 +# pkg:gem/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. @@ -4724,7 +4726,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 + # pkg:gem/activesupport#lib/active_support/dependencies/require_dependency.rb:11 def require_dependency(filename); end end @@ -4758,7 +4760,7 @@ end # # in config/environments/test.rb # config.active_support.deprecation = :raise # -# source://activesupport//lib/active_support/deprecation.rb#33 +# pkg:gem/activesupport#lib/active_support/deprecation.rb:33 class ActiveSupport::Deprecation include ::ActiveSupport::Deprecation::Behavior include ::ActiveSupport::Deprecation::Reporting @@ -4772,21 +4774,21 @@ class ActiveSupport::Deprecation # # @return [Deprecation] a new instance of Deprecation # - # source://activesupport//lib/active_support/deprecation.rb#71 + # pkg:gem/activesupport#lib/active_support/deprecation.rb:71 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#65 + # pkg:gem/activesupport#lib/active_support/deprecation.rb:65 def deprecation_horizon; end # The version number in which the deprecated behavior will be removed, by default. # - # source://activesupport//lib/active_support/deprecation.rb#65 + # pkg:gem/activesupport#lib/active_support/deprecation.rb:65 def deprecation_horizon=(_arg0); end class << self - # source://activesupport//lib/active_support/deprecation.rb#60 + # pkg:gem/activesupport#lib/active_support/deprecation.rb:60 def _instance; end end end @@ -4805,11 +4807,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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/behaviors.rb:74 def behavior; end # Sets the behavior to the specified value. Can be a single value, array, @@ -4841,22 +4843,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/behaviors.rb:79 def disallowed_behavior; end # Sets the behavior for disallowed deprecations (those configured by @@ -4864,29 +4866,29 @@ 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 + # pkg:gem/activesupport#lib/active_support/deprecation/behaviors.rb:119 def disallowed_behavior=(behavior); end private - # source://activesupport//lib/active_support/deprecation/behaviors.rb#124 + # pkg:gem/activesupport#lib/active_support/deprecation/behaviors.rb:124 def arity_coerce(behavior); end - # source://activesupport//lib/active_support/deprecation/behaviors.rb#143 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/deprecation/behaviors.rb:13 ActiveSupport::Deprecation::DEFAULT_BEHAVIORS = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/deprecation/constant_accessor.rb#5 +# pkg:gem/activesupport#lib/active_support/deprecation/constant_accessor.rb:5 module ActiveSupport::Deprecation::DeprecatedConstantAccessor class << self # @private # - # source://activesupport//lib/active_support/deprecation/constant_accessor.rb#6 + # pkg:gem/activesupport#lib/active_support/deprecation/constant_accessor.rb:6 def included(base); end end end @@ -4907,14 +4909,14 @@ end # (Backtrace information…) # ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"] # -# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#120 +# pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:120 class ActiveSupport::Deprecation::DeprecatedConstantProxy < ::Module # @return [DeprecatedConstantProxy] a new instance of DeprecatedConstantProxy # - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#128 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:128 def initialize(old_const, new_const, deprecator, message: T.unsafe(nil)); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#158 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:158 def append_features(base); end # Returns the class of the new constant. @@ -4923,46 +4925,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#154 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:154 def class; end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#168 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:168 def extended(base); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#147 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:147 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#141 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:141 def inspect; end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#147 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:147 def instance_methods(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#147 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:147 def name(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#163 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:163 def prepend_features(base); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#147 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:147 def respond_to?(*_arg0, **_arg1, &_arg2); end private - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#178 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:178 def const_missing(name); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#183 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:183 def method_missing(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#174 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:174 def target; end class << self - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#121 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:121 def new(*args, **options, &block); end end end @@ -5000,19 +5002,19 @@ end # example.request.to_s # # => "special_request" # -# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#87 +# pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:87 class ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy < ::ActiveSupport::Deprecation::DeprecationProxy # @return [DeprecatedInstanceVariableProxy] a new instance of DeprecatedInstanceVariableProxy # - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#88 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:88 def initialize(instance, method, var = T.unsafe(nil), deprecator:); end private - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#96 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:96 def target; end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#100 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:100 def warn(callstack, called, args); end end @@ -5027,37 +5029,37 @@ end # (Backtrace) # # => "#" # -# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#38 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:39 def initialize(object, message, deprecator); end private - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#46 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:46 def target; end - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#50 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:50 def warn(callstack, called, args); end end -# source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#5 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:17 def inspect; end private - # source://activesupport//lib/active_support/deprecation/proxy_wrappers.rb#22 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/proxy_wrappers.rb:6 def new(*args, **kwargs, &block); end end end @@ -5067,16 +5069,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:16 def [](name); end # Adds a given +deprecator+ to this collection. The deprecator will be @@ -5093,7 +5095,7 @@ class ActiveSupport::Deprecation::Deprecators # deprecators[:foo].debug # => true # foo_deprecator.debug # => true # - # source://activesupport//lib/active_support/deprecation/deprecators.rb#34 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:34 def []=(name, deprecator); end # Sets the deprecation warning behavior for all deprecators in this @@ -5101,12 +5103,12 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#behavior=. # - # source://activesupport//lib/active_support/deprecation/deprecators.rb#60 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:52 def debug=(debug); end # Sets the disallowed deprecation warning behavior for all deprecators in @@ -5114,7 +5116,7 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#disallowed_behavior=. # - # source://activesupport//lib/active_support/deprecation/deprecators.rb#68 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:68 def disallowed_behavior=(disallowed_behavior); end # Sets the disallowed deprecation warnings for all deprecators in this @@ -5122,13 +5124,13 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#disallowed_warnings=. # - # source://activesupport//lib/active_support/deprecation/deprecators.rb#76 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:41 def each(&block); end # Silences all deprecators in this collection for the duration of the @@ -5136,29 +5138,29 @@ class ActiveSupport::Deprecation::Deprecators # # See ActiveSupport::Deprecation#silence. # - # source://activesupport//lib/active_support/deprecation/deprecators.rb#84 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:47 def silenced=(silenced); end private - # source://activesupport//lib/active_support/deprecation/deprecators.rb#97 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:97 def apply_options(deprecator); end - # source://activesupport//lib/active_support/deprecation/deprecators.rb#92 + # pkg:gem/activesupport#lib/active_support/deprecation/deprecators.rb:92 def set_option(name, value); end end -# source://activesupport//lib/active_support/deprecation/disallowed.rb#5 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/disallowed.rb:21 def disallowed_warnings; end # Sets the criteria used to identify deprecation messages which should be @@ -5173,26 +5175,26 @@ module ActiveSupport::Deprecation::Disallowed # using the configured Behavior#disallowed_behavior rather than # Behavior#behavior. # - # source://activesupport//lib/active_support/deprecation/disallowed.rb#17 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/disallowed.rb:26 def deprecation_disallowed?(message); end # @return [Boolean] # - # source://activesupport//lib/active_support/deprecation/disallowed.rb#39 + # pkg:gem/activesupport#lib/active_support/deprecation/disallowed.rb:39 def explicitly_allowed?(message); end end -# source://activesupport//lib/active_support/deprecation.rb#57 +# pkg:gem/activesupport#lib/active_support/deprecation.rb:57 ActiveSupport::Deprecation::MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://activesupport//lib/active_support/deprecation/method_wrappers.rb#8 +# pkg:gem/activesupport#lib/active_support/deprecation/method_wrappers.rb:8 module ActiveSupport::Deprecation::MethodWrapper # Declare that a method has been deprecated. # @@ -5221,11 +5223,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 + # pkg:gem/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 +# pkg:gem/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 @@ -5257,26 +5259,26 @@ module ActiveSupport::Deprecation::Reporting # end # # => ActiveSupport::DeprecationException for dev/test, nil for production # - # source://activesupport//lib/active_support/deprecation/reporting.rb#89 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:48 def begin_silence; end - # source://activesupport//lib/active_support/deprecation/reporting.rb#99 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:11 def gem_name=(_arg0); end # Silence deprecation warnings within the block. @@ -5290,15 +5292,15 @@ module ActiveSupport::Deprecation::Reporting # end # # => nil # - # source://activesupport//lib/active_support/deprecation/reporting.rb#41 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:41 def silence(&block); end - # source://activesupport//lib/active_support/deprecation/reporting.rb#56 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:9 def silenced=(_arg0); end # Outputs a deprecation warning to the output configured by @@ -5307,7 +5309,7 @@ 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 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:18 def warn(message = T.unsafe(nil), callstack = T.unsafe(nil)); end private @@ -5321,34 +5323,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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:129 def deprecation_caller_message(callstack); end - # source://activesupport//lib/active_support/deprecation/reporting.rb#124 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:140 def extract_callstack(callstack); end # @return [Boolean] # - # source://activesupport//lib/active_support/deprecation/reporting.rb#157 + # pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:157 def ignored_callstack?(path); end end -# source://activesupport//lib/active_support/deprecation/reporting.rb#154 +# pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:154 ActiveSupport::Deprecation::Reporting::LIB_DIR = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/deprecation/reporting.rb#152 +# pkg:gem/activesupport#lib/active_support/deprecation/reporting.rb:152 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 +# pkg:gem/activesupport#lib/active_support/deprecation/behaviors.rb:8 class ActiveSupport::DeprecationException < ::StandardError; end # = Active Support Descendants Tracker @@ -5360,35 +5362,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#14 +# pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:14 module ActiveSupport::DescendantsTracker - # source://activesupport//lib/active_support/descendants_tracker.rb#107 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:107 def descendants; end class << self - # source://activesupport//lib/active_support/descendants_tracker.rb#78 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:78 def clear(classes); end - # source://activesupport//lib/active_support/descendants_tracker.rb#102 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:102 def descendants(klass); end - # source://activesupport//lib/active_support/descendants_tracker.rb#69 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:69 def disable_clear!; end - # source://activesupport//lib/active_support/descendants_tracker.rb#89 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:89 def reject!(classes); end - # source://activesupport//lib/active_support/descendants_tracker.rb#98 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:98 def subclasses(klass); end end end -# source://activesupport//lib/active_support/descendants_tracker.rb#58 +# pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:58 module ActiveSupport::DescendantsTracker::ReloadedClassesFiltering - # source://activesupport//lib/active_support/descendants_tracker.rb#63 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:63 def descendants; end - # source://activesupport//lib/active_support/descendants_tracker.rb#59 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:59 def subclasses; end end @@ -5398,27 +5400,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#20 +# pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:20 class ActiveSupport::DescendantsTracker::WeakSet < ::ObjectSpace::WeakMap - # source://activesupport//lib/active_support/descendants_tracker.rb#23 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:23 def <<(object); end - # source://activesupport//lib/active_support/descendants_tracker.rb#21 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:21 def to_a; end end -# source://activesupport//lib/active_support/digest.rb#6 +# pkg:gem/activesupport#lib/active_support/digest.rb:6 class ActiveSupport::Digest class << self - # source://activesupport//lib/active_support/digest.rb#8 + # pkg:gem/activesupport#lib/active_support/digest.rb:8 def hash_digest_class; end # @raise [ArgumentError] # - # source://activesupport//lib/active_support/digest.rb#12 + # pkg:gem/activesupport#lib/active_support/digest.rb:12 def hash_digest_class=(klass); end - # source://activesupport//lib/active_support/digest.rb#17 + # pkg:gem/activesupport#lib/active_support/digest.rb:17 def hexdigest(arg); end end end @@ -5430,90 +5432,90 @@ end # # 1.month.ago # equivalent to Time.now.advance(months: -1) # -# source://activesupport//lib/active_support/duration.rb#14 +# pkg:gem/activesupport#lib/active_support/duration.rb:14 class ActiveSupport::Duration # @return [Duration] a new instance of Duration # - # source://activesupport//lib/active_support/duration.rb#226 + # pkg:gem/activesupport#lib/active_support/duration.rb:226 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#312 + # pkg:gem/activesupport#lib/active_support/duration.rb:312 def %(other); end # Multiplies this Duration by a Numeric and returns a new Duration. # - # source://activesupport//lib/active_support/duration.rb#287 + # pkg:gem/activesupport#lib/active_support/duration.rb:287 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#268 + # pkg:gem/activesupport#lib/active_support/duration.rb:268 def +(other); end - # source://activesupport//lib/active_support/duration.rb#326 + # pkg:gem/activesupport#lib/active_support/duration.rb:326 def +@; end # Subtracts another Duration or a Numeric from this Duration. Numeric # values are treated as seconds. # - # source://activesupport//lib/active_support/duration.rb#282 + # pkg:gem/activesupport#lib/active_support/duration.rb:282 def -(other); end - # source://activesupport//lib/active_support/duration.rb#322 + # pkg:gem/activesupport#lib/active_support/duration.rb:322 def -@; end # Divides this Duration by a Numeric and returns a new Duration. # - # source://activesupport//lib/active_support/duration.rb#298 + # pkg:gem/activesupport#lib/active_support/duration.rb:298 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#258 + # pkg:gem/activesupport#lib/active_support/duration.rb:258 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#341 + # pkg:gem/activesupport#lib/active_support/duration.rb:341 def ==(other); end - # source://activesupport//lib/active_support/duration.rb#481 + # pkg:gem/activesupport#lib/active_support/duration.rb:481 def _parts; end - # source://activesupport//lib/active_support/duration.rb#224 + # pkg:gem/activesupport#lib/active_support/duration.rb:224 def abs(&_arg0); 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#440 + # pkg:gem/activesupport#lib/active_support/duration.rb:440 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#444 + # pkg:gem/activesupport#lib/active_support/duration.rb:444 def ago(time = T.unsafe(nil)); end - # source://activesupport//lib/active_support/duration.rb#459 + # pkg:gem/activesupport#lib/active_support/duration.rb:459 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#448 + # pkg:gem/activesupport#lib/active_support/duration.rb:448 def before(time = T.unsafe(nil)); end - # source://activesupport//lib/active_support/duration.rb#245 + # pkg:gem/activesupport#lib/active_support/duration.rb:245 def coerce(other); end - # source://activesupport//lib/active_support/duration.rb#467 + # pkg:gem/activesupport#lib/active_support/duration.rb:467 def encode_with(coder); end # Returns +true+ if +other+ is also a Duration instance, which has the @@ -5521,44 +5523,44 @@ class ActiveSupport::Duration # # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#426 + # pkg:gem/activesupport#lib/active_support/duration.rb:426 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#439 + # pkg:gem/activesupport#lib/active_support/duration.rb:439 def from_now(time = T.unsafe(nil)); end - # source://activesupport//lib/active_support/duration.rb#430 + # pkg:gem/activesupport#lib/active_support/duration.rb:430 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#399 + # pkg:gem/activesupport#lib/active_support/duration.rb:399 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#392 + # pkg:gem/activesupport#lib/active_support/duration.rb:392 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#385 + # pkg:gem/activesupport#lib/active_support/duration.rb:385 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#413 + # pkg:gem/activesupport#lib/active_support/duration.rb:413 def in_months; end # Returns the number of seconds that this Duration represents. @@ -5582,51 +5584,51 @@ class ActiveSupport::Duration # Time[https://docs.ruby-lang.org/en/master/Time.html] should be used for precision # date and time arithmetic. # - # source://activesupport//lib/active_support/duration.rb#380 + # pkg:gem/activesupport#lib/active_support/duration.rb:380 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#406 + # pkg:gem/activesupport#lib/active_support/duration.rb:406 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#420 + # pkg:gem/activesupport#lib/active_support/duration.rb:420 def in_years; end - # source://activesupport//lib/active_support/duration.rb#463 + # pkg:gem/activesupport#lib/active_support/duration.rb:463 def init_with(coder); end - # source://activesupport//lib/active_support/duration.rb#450 + # pkg:gem/activesupport#lib/active_support/duration.rb:450 def inspect; end # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#335 + # pkg:gem/activesupport#lib/active_support/duration.rb:335 def instance_of?(klass); end # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#330 + # pkg:gem/activesupport#lib/active_support/duration.rb:330 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#473 + # pkg:gem/activesupport#lib/active_support/duration.rb:473 def iso8601(precision: T.unsafe(nil)); end # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#333 + # pkg:gem/activesupport#lib/active_support/duration.rb:333 def kind_of?(klass); end - # source://activesupport//lib/active_support/duration.rb#224 + # pkg:gem/activesupport#lib/active_support/duration.rb:224 def negative?(&_arg0); end # Returns a copy of the parts hash that defines the duration. @@ -5634,19 +5636,19 @@ class ActiveSupport::Duration # 5.minutes.parts # => {:minutes=>5} # 3.years.parts # => {:years=>3} # - # source://activesupport//lib/active_support/duration.rb#241 + # pkg:gem/activesupport#lib/active_support/duration.rb:241 def parts; end - # source://activesupport//lib/active_support/duration.rb#224 + # pkg:gem/activesupport#lib/active_support/duration.rb:224 def positive?(&_arg0); 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#436 + # pkg:gem/activesupport#lib/active_support/duration.rb:436 def since(time = T.unsafe(nil)); end - # source://activesupport//lib/active_support/duration.rb#224 + # pkg:gem/activesupport#lib/active_support/duration.rb:224 def to_f(&_arg0); end # Returns the number of seconds that this Duration represents. @@ -5670,7 +5672,7 @@ class ActiveSupport::Duration # Time[https://docs.ruby-lang.org/en/master/Time.html] should be used for precision # date and time arithmetic. # - # source://activesupport//lib/active_support/duration.rb#377 + # pkg:gem/activesupport#lib/active_support/duration.rb:377 def to_i; end # Returns the amount of seconds a duration covers as a string. @@ -5678,48 +5680,48 @@ class ActiveSupport::Duration # # 1.day.to_s # => "86400" # - # source://activesupport//lib/active_support/duration.rb#353 + # pkg:gem/activesupport#lib/active_support/duration.rb:353 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#447 + # pkg:gem/activesupport#lib/active_support/duration.rb:447 def until(time = T.unsafe(nil)); end # Returns the value of attribute value. # - # source://activesupport//lib/active_support/duration.rb#133 + # pkg:gem/activesupport#lib/active_support/duration.rb:133 def value; end # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#477 + # pkg:gem/activesupport#lib/active_support/duration.rb:477 def variable?; end - # source://activesupport//lib/active_support/duration.rb#224 + # pkg:gem/activesupport#lib/active_support/duration.rb:224 def zero?(&_arg0); end private - # source://activesupport//lib/active_support/duration.rb#516 + # pkg:gem/activesupport#lib/active_support/duration.rb:516 def method_missing(*_arg0, **_arg1, &_arg2); end # @raise [TypeError] # - # source://activesupport//lib/active_support/duration.rb#520 + # pkg:gem/activesupport#lib/active_support/duration.rb:520 def raise_type_error(other); end # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#512 + # pkg:gem/activesupport#lib/active_support/duration.rb:512 def respond_to_missing?(method, _); end - # source://activesupport//lib/active_support/duration.rb#486 + # pkg:gem/activesupport#lib/active_support/duration.rb:486 def sum(sign, time = T.unsafe(nil)); end class << self - # source://activesupport//lib/active_support/duration.rb#149 + # pkg:gem/activesupport#lib/active_support/duration.rb:149 def ===(other); end # Creates a new Duration from a seconds value that is converted @@ -5728,19 +5730,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 + # pkg:gem/activesupport#lib/active_support/duration.rb:189 def build(value); end - # source://activesupport//lib/active_support/duration.rb#167 + # pkg:gem/activesupport#lib/active_support/duration.rb:167 def days(value); end - # source://activesupport//lib/active_support/duration.rb#163 + # pkg:gem/activesupport#lib/active_support/duration.rb:163 def hours(value); end - # source://activesupport//lib/active_support/duration.rb#159 + # pkg:gem/activesupport#lib/active_support/duration.rb:159 def minutes(value); end - # source://activesupport//lib/active_support/duration.rb#175 + # pkg:gem/activesupport#lib/active_support/duration.rb:175 def months(value); end # Creates a new Duration from string formatted according to ISO 8601 Duration. @@ -5749,21 +5751,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 + # pkg:gem/activesupport#lib/active_support/duration.rb:144 def parse(iso8601duration); end - # source://activesupport//lib/active_support/duration.rb#155 + # pkg:gem/activesupport#lib/active_support/duration.rb:155 def seconds(value); end - # source://activesupport//lib/active_support/duration.rb#171 + # pkg:gem/activesupport#lib/active_support/duration.rb:171 def weeks(value); end - # source://activesupport//lib/active_support/duration.rb#179 + # pkg:gem/activesupport#lib/active_support/duration.rb:179 def years(value); end private - # source://activesupport//lib/active_support/duration.rb#217 + # pkg:gem/activesupport#lib/active_support/duration.rb:217 def calculate_total_seconds(parts); end end end @@ -5774,250 +5776,250 @@ end # # This parser allows negative parts to be present in pattern. # -# source://activesupport//lib/active_support/duration/iso8601_parser.rb#12 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_parser.rb:32 def mode=(_arg0); end - # source://activesupport//lib/active_support/duration/iso8601_parser.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_parser.rb:88 def number; end # @raise [ParsingError] # - # source://activesupport//lib/active_support/duration/iso8601_parser.rb#96 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_parser.rb:101 def validate!; end end -# source://activesupport//lib/active_support/duration/iso8601_parser.rb#17 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_serializer.rb:15 def serialize; end private - # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#55 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_serializer.rb:55 def format_seconds(seconds); end # Return pair of duration's parts and whole duration sign. # Parts are summarized (as they can become repetitive due to addition, etc). # Zero parts are removed as not significant. # - # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#38 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_serializer.rb:38 def normalize; end # @return [Boolean] # - # source://activesupport//lib/active_support/duration/iso8601_serializer.rb#51 + # pkg:gem/activesupport#lib/active_support/duration/iso8601_serializer.rb:51 def week_mixed_with_date?(parts); end end -# source://activesupport//lib/active_support/duration/iso8601_serializer.rb#7 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/duration.rb:130 ActiveSupport::Duration::PARTS = T.let(T.unsafe(nil), Array) -# source://activesupport//lib/active_support/duration.rb#120 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/duration.rb:19 def initialize(value); end - # source://activesupport//lib/active_support/duration.rb#85 + # pkg:gem/activesupport#lib/active_support/duration.rb:85 def %(other); end - # source://activesupport//lib/active_support/duration.rb#66 + # pkg:gem/activesupport#lib/active_support/duration.rb:66 def *(other); end - # source://activesupport//lib/active_support/duration.rb#41 + # pkg:gem/activesupport#lib/active_support/duration.rb:41 def +(other); end - # source://activesupport//lib/active_support/duration.rb#53 + # pkg:gem/activesupport#lib/active_support/duration.rb:53 def -(other); end - # source://activesupport//lib/active_support/duration.rb#27 + # pkg:gem/activesupport#lib/active_support/duration.rb:27 def -@; end - # source://activesupport//lib/active_support/duration.rb#77 + # pkg:gem/activesupport#lib/active_support/duration.rb:77 def /(other); end - # source://activesupport//lib/active_support/duration.rb#31 + # pkg:gem/activesupport#lib/active_support/duration.rb:31 def <=>(other); end - # source://activesupport//lib/active_support/duration.rb#23 + # pkg:gem/activesupport#lib/active_support/duration.rb:23 def coerce(other); end - # source://activesupport//lib/active_support/duration.rb#17 + # pkg:gem/activesupport#lib/active_support/duration.rb:17 def to_f(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/duration.rb#17 + # pkg:gem/activesupport#lib/active_support/duration.rb:17 def to_i(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/duration.rb#17 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/duration.rb:16 def value; end # @return [Boolean] # - # source://activesupport//lib/active_support/duration.rb#93 + # pkg:gem/activesupport#lib/active_support/duration.rb:93 def variable?; end private - # source://activesupport//lib/active_support/duration.rb#98 + # pkg:gem/activesupport#lib/active_support/duration.rb:98 def calculate(op, other); end # @raise [TypeError] # - # source://activesupport//lib/active_support/duration.rb#108 + # pkg:gem/activesupport#lib/active_support/duration.rb:108 def raise_type_error(other); end end -# source://activesupport//lib/active_support/duration.rb#131 +# pkg:gem/activesupport#lib/active_support/duration.rb:131 ActiveSupport::Duration::VARIABLE_PARTS = T.let(T.unsafe(nil), Array) -# source://activesupport//lib/active_support/editor.rb#6 +# pkg:gem/activesupport#lib/active_support/editor.rb:6 class ActiveSupport::Editor # @return [Editor] a new instance of Editor # - # source://activesupport//lib/active_support/editor.rb#48 + # pkg:gem/activesupport#lib/active_support/editor.rb:48 def initialize(url_pattern); end - # source://activesupport//lib/active_support/editor.rb#52 + # pkg:gem/activesupport#lib/active_support/editor.rb:52 def url_for(path, line); end class << self @@ -6025,10 +6027,10 @@ class ActiveSupport::Editor # First check for the `RAILS_EDITOR` environment variable, and if it's # missing, check for the `EDITOR` environment variable. # - # source://activesupport//lib/active_support/editor.rb#28 + # pkg:gem/activesupport#lib/active_support/editor.rb:28 def current; end - # source://activesupport//lib/active_support/editor.rb#39 + # pkg:gem/activesupport#lib/active_support/editor.rb:39 def find(name); end # Registers a URL pattern for opening file in a given editor. @@ -6038,10 +6040,10 @@ class ActiveSupport::Editor # # ActiveSupport::Editor.register("myeditor", "myeditor://%s:%d") # - # source://activesupport//lib/active_support/editor.rb#17 + # pkg:gem/activesupport#lib/active_support/editor.rb:17 def register(name, url_pattern, aliases: T.unsafe(nil)); end - # source://activesupport//lib/active_support/editor.rb#43 + # pkg:gem/activesupport#lib/active_support/editor.rb:43 def reset; end end end @@ -6070,11 +6072,11 @@ end # my_config.foo! # # => KeyError # -# source://activesupport//lib/active_support/encrypted_configuration.rb#35 +# pkg:gem/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#54 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:54 def initialize(config_path:, key_path:, env_key:, raise_if_missing_key:); end # Returns the decrypted content as a Hash with symbolized keys. @@ -6085,78 +6087,78 @@ class ActiveSupport::EncryptedConfiguration < ::ActiveSupport::EncryptedFile # my_config.config # # => { some_secret: 123, some_namespace: { another_secret: 789 } } # - # source://activesupport//lib/active_support/encrypted_configuration.rb#85 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:85 def config; end - # source://activesupport//lib/active_support/encrypted_configuration.rb#89 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:89 def inspect; end - # source://activesupport//lib/active_support/encrypted_configuration.rb#52 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:52 def method_missing(method, *_arg1, **_arg2, &_arg3); end # Reads the file and returns the decrypted content. See EncryptedFile#read. # - # source://activesupport//lib/active_support/encrypted_configuration.rb#62 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:62 def read; end - # source://activesupport//lib/active_support/encrypted_configuration.rb#69 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:69 def validate!; end private - # source://activesupport//lib/active_support/encrypted_configuration.rb#94 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:94 def deep_symbolize_keys(hash); end - # source://activesupport//lib/active_support/encrypted_configuration.rb#102 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:102 def deep_transform(hash); end - # source://activesupport//lib/active_support/encrypted_configuration.rb#116 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:116 def deserialize(content); end - # source://activesupport//lib/active_support/encrypted_configuration.rb#112 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:112 def options; end - # source://activesupport//lib/active_support/encrypted_configuration.rb#52 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:52 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/encrypted_configuration.rb#36 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:37 def initialize(content_path); end - # source://activesupport//lib/active_support/encrypted_configuration.rb#41 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:41 def message; end end -# source://activesupport//lib/active_support/encrypted_configuration.rb#46 +# pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:46 class ActiveSupport::EncryptedConfiguration::InvalidKeyError < ::RuntimeError # @return [InvalidKeyError] a new instance of InvalidKeyError # - # source://activesupport//lib/active_support/encrypted_configuration.rb#47 + # pkg:gem/activesupport#lib/active_support/encrypted_configuration.rb:47 def initialize(content_path, key); end end -# source://activesupport//lib/active_support/encrypted_file.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:40 def env_key; end # Returns the encryption key, first trying the environment variable @@ -6164,7 +6166,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 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:52 def key; end # Returns truthy if #key is truthy. Returns falsy otherwise. Unlike #key, @@ -6172,17 +6174,17 @@ class ActiveSupport::EncryptedFile # # @return [Boolean] # - # source://activesupport//lib/active_support/encrypted_file.rb#58 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:40 def raise_if_missing_key; end # Reads the file and returns the decrypted content. @@ -6194,129 +6196,129 @@ class ActiveSupport::EncryptedFile # - ActiveSupport::MessageEncryptor::InvalidMessage if the content cannot be # decrypted or verified. # - # source://activesupport//lib/active_support/encrypted_file.rb#70 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:70 def read; end - # source://activesupport//lib/active_support/encrypted_file.rb#78 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:78 def write(contents); end private # @raise [InvalidKeyLengthError] # - # source://activesupport//lib/active_support/encrypted_file.rb#129 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:129 def check_key_length; end - # source://activesupport//lib/active_support/encrypted_file.rb#108 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:108 def decrypt(contents); end - # source://activesupport//lib/active_support/encrypted_file.rb#103 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:103 def encrypt(contents); end - # source://activesupport//lib/active_support/encrypted_file.rb#112 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:112 def encryptor; end # @raise [MissingKeyError] # - # source://activesupport//lib/active_support/encrypted_file.rb#125 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:125 def handle_missing_key; end - # source://activesupport//lib/active_support/encrypted_file.rb#117 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:117 def read_env_key; end - # source://activesupport//lib/active_support/encrypted_file.rb#121 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:121 def read_key_file; end - # source://activesupport//lib/active_support/encrypted_file.rb#89 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:89 def writing(contents); end class << self - # source://activesupport//lib/active_support/encrypted_file.rb#35 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:35 def expected_key_length; end - # source://activesupport//lib/active_support/encrypted_file.rb#31 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:31 def generate_key; end end end -# source://activesupport//lib/active_support/encrypted_file.rb#29 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:24 def initialize; end end -# source://activesupport//lib/active_support/encrypted_file.rb#9 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/encrypted_file.rb:10 def initialize(content_path); end end -# source://activesupport//lib/active_support/encrypted_file.rb#15 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:4 module ActiveSupport::EnumerableCoreExt; end -# source://activesupport//lib/active_support/core_ext/enumerable.rb#5 +# pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:5 module ActiveSupport::EnumerableCoreExt::Constants private - # source://activesupport//lib/active_support/core_ext/enumerable.rb#7 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:25 ActiveSupport::EnumerableCoreExt::SoleItemExpectedError = Enumerable::SoleItemExpectedError -# source://activesupport//lib/active_support/environment_inquirer.rb#9 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/environment_inquirer.rb:15 def initialize(env); end - # source://activesupport//lib/active_support/environment_inquirer.rb#28 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/environment_inquirer.rb:36 def local?; end - # source://activesupport//lib/active_support/environment_inquirer.rb#28 + # pkg:gem/activesupport#lib/active_support/environment_inquirer.rb:28 def production?; end - # source://activesupport//lib/active_support/environment_inquirer.rb#28 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/environment_inquirer.rb:13 ActiveSupport::EnvironmentInquirer::LOCAL_ENVIRONMENTS = T.let(T.unsafe(nil), Array) # = Active Support \Error Reporter @@ -6341,11 +6343,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 +# pkg:gem/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#35 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:35 def initialize(*subscribers, logger: T.unsafe(nil)); end # Add a middleware to modify the error context before it is sent to subscribers. @@ -6360,19 +6362,19 @@ class ActiveSupport::ErrorReporter # # Rails.error.add_middleware(-> (error, context) { context.merge({ foo: :bar }) }) # - # source://activesupport//lib/active_support/error_reporter.rb#218 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:218 def add_middleware(middleware); end # Returns the value of attribute debug_mode. # - # source://activesupport//lib/active_support/error_reporter.rb#31 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:31 def debug_mode; end # Sets the attribute debug_mode # # @param value the value to set the attribute debug_mode to. # - # source://activesupport//lib/active_support/error_reporter.rb#31 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:31 def debug_mode=(_arg0); end # Prevent a subscriber from being notified of errors for the @@ -6381,7 +6383,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#186 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:186 def disable(subscriber); end # Evaluates the given block, reporting and swallowing any unhandled error. @@ -6422,19 +6424,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#79 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:79 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#31 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:31 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#31 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:31 def logger=(_arg0); end # Evaluates the given block, reporting and re-raising any unhandled error. @@ -6466,7 +6468,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#115 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:115 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 @@ -6483,7 +6485,7 @@ class ActiveSupport::ErrorReporter # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/error_reporter.rb#233 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:233 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 @@ -6492,7 +6494,7 @@ class ActiveSupport::ErrorReporter # # Rails.error.set_context(section: "checkout", user_id: @user.id) # - # source://activesupport//lib/active_support/error_reporter.rb#202 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:202 def set_context(*_arg0, **_arg1, &_arg2); end # Register a new error subscriber. The subscriber must respond to @@ -6501,7 +6503,7 @@ class ActiveSupport::ErrorReporter # # The +report+ method should never raise an error. # - # source://activesupport//lib/active_support/error_reporter.rb#162 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:162 def subscribe(subscriber); end # Either report the given error when in production, or raise it when in development or test. @@ -6527,7 +6529,7 @@ class ActiveSupport::ErrorReporter # # ... # end # - # source://activesupport//lib/active_support/error_reporter.rb#146 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:146 def unexpected(error, severity: T.unsafe(nil), context: T.unsafe(nil), source: T.unsafe(nil)); end # Unregister an error subscriber. Accepts either a subscriber or a class. @@ -6539,62 +6541,63 @@ class ActiveSupport::ErrorReporter # # or # Rails.error.unsubscribe(MyErrorSubscriber) # - # source://activesupport//lib/active_support/error_reporter.rb#177 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:177 def unsubscribe(subscriber); end private - # source://activesupport//lib/active_support/error_reporter.rb#278 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:278 def ensure_backtrace(error); end end -# source://activesupport//lib/active_support/error_reporter.rb#29 +# pkg:gem/activesupport#lib/active_support/error_reporter.rb:29 ActiveSupport::ErrorReporter::DEFAULT_RESCUE = T.let(T.unsafe(nil), Array) -# source://activesupport//lib/active_support/error_reporter.rb#28 +# pkg:gem/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#298 +# pkg:gem/activesupport#lib/active_support/error_reporter.rb:298 class ActiveSupport::ErrorReporter::ErrorContextMiddlewareStack # @return [ErrorContextMiddlewareStack] a new instance of ErrorContextMiddlewareStack # - # source://activesupport//lib/active_support/error_reporter.rb#299 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:299 def initialize; end # Run all middlewares in the stack # - # source://activesupport//lib/active_support/error_reporter.rb#313 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:313 def execute(error, handled:, severity:, context:, source:); end # Add a middleware to the error context stack. # - # source://activesupport//lib/active_support/error_reporter.rb#304 + # pkg:gem/activesupport#lib/active_support/error_reporter.rb:304 def use(middleware); end end -# source://activesupport//lib/active_support/error_reporter.rb#27 +# pkg:gem/activesupport#lib/active_support/error_reporter.rb:27 ActiveSupport::ErrorReporter::SEVERITIES = T.let(T.unsafe(nil), Array) +# pkg:gem/activesupport#lib/active_support/error_reporter.rb:33 class ActiveSupport::ErrorReporter::UnexpectedError < ::Exception; end -# source://activesupport//lib/active_support/event_reporter.rb#49 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:49 class ActiveSupport::EventContext class << self - # source://activesupport//lib/active_support/event_reporter.rb#65 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:65 def clear; end - # source://activesupport//lib/active_support/event_reporter.rb#54 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:54 def context; end - # source://activesupport//lib/active_support/event_reporter.rb#58 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:58 def set_context(context_hash); end end end -# source://activesupport//lib/active_support/event_reporter.rb#50 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:50 ActiveSupport::EventContext::EMPTY_CONTEXT = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/event_reporter.rb#51 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:51 ActiveSupport::EventContext::FIBER_KEY = T.let(T.unsafe(nil), Symbol) # = Active Support \Event Reporter @@ -6798,21 +6801,21 @@ ActiveSupport::EventContext::FIBER_KEY = T.let(T.unsafe(nil), Symbol) # # If an {event object}[rdoc-ref:EventReporter@Event+Objects] is given instead, subscribers will need to filter sensitive data themselves, e.g. with ActiveSupport::ParameterFilter. # -# source://activesupport//lib/active_support/event_reporter.rb#271 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:271 class ActiveSupport::EventReporter # @return [EventReporter] a new instance of EventReporter # - # source://activesupport//lib/active_support/event_reporter.rb#286 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:286 def initialize(*subscribers, raise_on_error: T.unsafe(nil)); end # Clears all context data. # - # source://activesupport//lib/active_support/event_reporter.rb#525 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:525 def clear_context; end # Returns the current context data. # - # source://activesupport//lib/active_support/event_reporter.rb#530 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:530 def context; end # Report an event only when in debug mode. For example: @@ -6827,10 +6830,10 @@ class ActiveSupport::EventReporter # # * +:kwargs+ - Additional payload data when using string/symbol event names. # - # source://activesupport//lib/active_support/event_reporter.rb#435 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:435 def debug(name_or_object, payload = T.unsafe(nil), caller_depth: T.unsafe(nil), **kwargs); end - # source://activesupport//lib/active_support/event_reporter.rb#276 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:276 def debug_mode=(_arg0); end # Check if debug mode is currently enabled. Debug mode is enabled on the reporter @@ -6838,7 +6841,7 @@ class ActiveSupport::EventReporter # # @return [Boolean] # - # source://activesupport//lib/active_support/event_reporter.rb#420 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:420 def debug_mode?; end # Reports an event to all registered subscribers. An event name and payload can be provided: @@ -6875,16 +6878,16 @@ class ActiveSupport::EventReporter # # * +:kwargs+ - Additional payload data when using string/symbol event names. # - # source://activesupport//lib/active_support/event_reporter.rb#363 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:363 def notify(name_or_object, payload = T.unsafe(nil), caller_depth: T.unsafe(nil), **kwargs); end # Sets whether to raise an error if a subscriber raises an error during # event emission, or when unexpected arguments are passed to +notify+. # - # source://activesupport//lib/active_support/event_reporter.rb#274 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:274 def raise_on_error=(_arg0); end - # source://activesupport//lib/active_support/event_reporter.rb#534 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:534 def reload_payload_filter; end # Sets context data that will be included with all events emitted by the reporter. @@ -6907,7 +6910,7 @@ class ActiveSupport::EventReporter # # source_location: { filepath: "path/to/file.rb", lineno: 123, label: "UserService#create" } # # } # - # source://activesupport//lib/active_support/event_reporter.rb#520 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:520 def set_context(context); end # Registers a new event subscriber. The subscriber must respond to @@ -6928,12 +6931,12 @@ class ActiveSupport::EventReporter # Rails.event.subscribe(subscriber) { |event| event[:name].start_with?("user.") } # Rails.event.subscribe(subscriber) { |event| event[:payload].is_a?(UserEvent) } # - # source://activesupport//lib/active_support/event_reporter.rb#311 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:311 def subscribe(subscriber, &filter); end # :nodoc # - # source://activesupport//lib/active_support/event_reporter.rb#278 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:278 def subscribers; end # Add tags to events to supply additional context. Tags operate in a stack-oriented manner, @@ -6989,7 +6992,7 @@ class ActiveSupport::EventReporter # # source_location: { filepath: "path/to/file.rb", lineno: 123, label: "UserService#create" } # # } # - # source://activesupport//lib/active_support/event_reporter.rb#497 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:497 def tagged(*args, **kwargs, &block); end # Unregister an event subscriber. Accepts either a subscriber or a class. @@ -7001,7 +7004,7 @@ class ActiveSupport::EventReporter # # or # Rails.event.unsubscribe(MyEventSubscriber) # - # source://activesupport//lib/active_support/event_reporter.rb#326 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:326 def unsubscribe(subscriber); end # Temporarily enables debug mode for the duration of the block. @@ -7011,141 +7014,141 @@ class ActiveSupport::EventReporter # Rails.event.debug("sql.query", { sql: "SELECT * FROM users" }) # end # - # source://activesupport//lib/active_support/event_reporter.rb#410 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:410 def with_debug; end private - # source://activesupport//lib/active_support/event_reporter.rb#544 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:544 def context_store; end - # source://activesupport//lib/active_support/event_reporter.rb#579 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:579 def handle_unexpected_args(name_or_object, payload, kwargs); end - # source://activesupport//lib/active_support/event_reporter.rb#548 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:548 def payload_filter; end # @return [Boolean] # - # source://activesupport//lib/active_support/event_reporter.rb#540 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:540 def raise_on_error?; end - # source://activesupport//lib/active_support/event_reporter.rb#555 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:555 def resolve_name(name_or_object); end - # source://activesupport//lib/active_support/event_reporter.rb#564 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:564 def resolve_payload(name_or_object, payload, **kwargs); end class << self - # source://activesupport//lib/active_support/event_reporter.rb#281 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:281 def context_store; end - # source://activesupport//lib/active_support/event_reporter.rb#281 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:281 def context_store=(_arg0); end end end -# source://activesupport//lib/active_support/execution_context.rb#4 +# pkg:gem/activesupport#lib/active_support/execution_context.rb:4 module ActiveSupport::ExecutionContext class << self - # source://activesupport//lib/active_support/execution_context.rb#69 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:69 def []=(key, value); end - # source://activesupport//lib/active_support/execution_context.rb#40 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:40 def after_change(&block); end - # source://activesupport//lib/active_support/execution_context.rb#96 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:96 def clear; end - # source://activesupport//lib/active_support/execution_context.rb#100 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:100 def current_attributes_instances; end # Returns the value of attribute nestable. # - # source://activesupport//lib/active_support/execution_context.rb#38 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:38 def nestable; end # Sets the attribute nestable # # @param value the value to set the attribute nestable to. # - # source://activesupport//lib/active_support/execution_context.rb#38 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:38 def nestable=(_arg0); end - # source://activesupport//lib/active_support/execution_context.rb#87 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:87 def pop; end - # source://activesupport//lib/active_support/execution_context.rb#78 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:78 def push; 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#46 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:46 def set(**options); end - # source://activesupport//lib/active_support/execution_context.rb#74 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:74 def to_h; end private - # source://activesupport//lib/active_support/execution_context.rb#105 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:105 def record; end end end -# source://activesupport//lib/active_support/execution_context.rb#5 +# pkg:gem/activesupport#lib/active_support/execution_context.rb:5 class ActiveSupport::ExecutionContext::Record # @return [Record] a new instance of Record # - # source://activesupport//lib/active_support/execution_context.rb#8 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:8 def initialize; end # Returns the value of attribute current_attributes_instances. # - # source://activesupport//lib/active_support/execution_context.rb#6 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:6 def current_attributes_instances; end - # source://activesupport//lib/active_support/execution_context.rb#21 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:21 def pop; end - # source://activesupport//lib/active_support/execution_context.rb#14 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:14 def push; end # Returns the value of attribute store. # - # source://activesupport//lib/active_support/execution_context.rb#6 + # pkg:gem/activesupport#lib/active_support/execution_context.rb:6 def store; end end -# source://activesupport//lib/active_support/execution_wrapper.rb#7 +# pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:7 class ActiveSupport::ExecutionWrapper include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods extend ::ActiveSupport::DescendantsTracker - # source://activesupport//lib/active_support/execution_wrapper.rb#8 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:8 def __callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#15 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:15 def _complete_callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#14 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:14 def _run_callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#15 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:15 def _run_complete_callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#15 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:15 def _run_complete_callbacks!(&block); end - # source://activesupport//lib/active_support/execution_wrapper.rb#14 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:14 def _run_run_callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#14 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:14 def _run_run_callbacks!(&block); end - # source://activesupport//lib/active_support/execution_wrapper.rb#141 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:141 def complete; end # Complete this in-flight execution. This method *must* be called @@ -7153,51 +7156,51 @@ class ActiveSupport::ExecutionWrapper # # Where possible, prefer +wrap+. # - # source://activesupport//lib/active_support/execution_wrapper.rb#135 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:135 def complete!; end - # source://activesupport//lib/active_support/execution_wrapper.rb#127 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:127 def run; end - # source://activesupport//lib/active_support/execution_wrapper.rb#122 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:122 def run!; end private - # source://activesupport//lib/active_support/execution_wrapper.rb#146 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:146 def hook_state; end class << self - # source://activesupport//lib/active_support/execution_wrapper.rb#8 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:8 def __callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#8 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:8 def __callbacks=(value); end - # source://activesupport//lib/active_support/execution_wrapper.rb#15 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:15 def _complete_callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#15 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:15 def _complete_callbacks=(value); end - # source://activesupport//lib/active_support/execution_wrapper.rb#14 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:14 def _run_callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#14 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:14 def _run_callbacks=(value); end # @return [Boolean] # - # source://activesupport//lib/active_support/execution_wrapper.rb#118 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:118 def active?; end - # source://activesupport//lib/active_support/execution_wrapper.rb#114 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:114 def active_key; end - # source://activesupport//lib/active_support/execution_wrapper.rb#110 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:110 def error_reporter; end - # source://activesupport//lib/active_support/execution_wrapper.rb#100 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:100 def perform; end # Register an object to be invoked during both the +run+ and @@ -7209,7 +7212,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#50 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:50 def register_hook(hook, outer: T.unsafe(nil)); end # Run this execution. @@ -7219,43 +7222,43 @@ class ActiveSupport::ExecutionWrapper # # Where possible, prefer +wrap+. # - # source://activesupport//lib/active_support/execution_wrapper.rb#66 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:66 def run!(reset: T.unsafe(nil)); end - # source://activesupport//lib/active_support/execution_wrapper.rb#21 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:21 def to_complete(*args, &block); end - # source://activesupport//lib/active_support/execution_wrapper.rb#17 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:17 def to_run(*args, &block); end # Perform the work in the supplied block as an execution. # - # source://activesupport//lib/active_support/execution_wrapper.rb#86 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:86 def wrap(source: T.unsafe(nil)); end private - # source://activesupport//lib/active_support/execution_wrapper.rb#8 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:8 def __class_attr___callbacks; end - # source://activesupport//lib/active_support/execution_wrapper.rb#8 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:8 def __class_attr___callbacks=(new_value); end end end -# source://activesupport//lib/active_support/execution_wrapper.rb#32 +# pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct - # source://activesupport//lib/active_support/execution_wrapper.rb#39 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:39 def after(target); end - # source://activesupport//lib/active_support/execution_wrapper.rb#33 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:33 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#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def hook; end # Sets the attribute hook @@ -7263,40 +7266,40 @@ class ActiveSupport::ExecutionWrapper::CompleteHook < ::Struct # @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#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def hook=(_); end class << self - # source://activesupport//lib/active_support/execution_wrapper.rb#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def [](*_arg0); end - # source://activesupport//lib/active_support/execution_wrapper.rb#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def inspect; end - # source://activesupport//lib/active_support/execution_wrapper.rb#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def keyword_init?; end - # source://activesupport//lib/active_support/execution_wrapper.rb#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def members; end - # source://activesupport//lib/active_support/execution_wrapper.rb#32 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:32 def new(*_arg0); end end end -# source://activesupport//lib/active_support/execution_wrapper.rb#10 +# pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:10 ActiveSupport::ExecutionWrapper::Null = T.let(T.unsafe(nil), Object) -# source://activesupport//lib/active_support/execution_wrapper.rb#25 +# pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 class ActiveSupport::ExecutionWrapper::RunHook < ::Struct - # source://activesupport//lib/active_support/execution_wrapper.rb#26 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:26 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#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def hook; end # Sets the attribute hook @@ -7304,28 +7307,28 @@ class ActiveSupport::ExecutionWrapper::RunHook < ::Struct # @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#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def hook=(_); end class << self - # source://activesupport//lib/active_support/execution_wrapper.rb#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def [](*_arg0); end - # source://activesupport//lib/active_support/execution_wrapper.rb#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def inspect; end - # source://activesupport//lib/active_support/execution_wrapper.rb#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def keyword_init?; end - # source://activesupport//lib/active_support/execution_wrapper.rb#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def members; end - # source://activesupport//lib/active_support/execution_wrapper.rb#25 + # pkg:gem/activesupport#lib/active_support/execution_wrapper.rb:25 def new(*_arg0); end end end -# source://activesupport//lib/active_support/executor.rb#6 +# pkg:gem/activesupport#lib/active_support/executor.rb:6 class ActiveSupport::Executor < ::ActiveSupport::ExecutionWrapper; end # = \File Update Checker @@ -7358,7 +7361,7 @@ class ActiveSupport::Executor < ::ActiveSupport::ExecutionWrapper; end # i18n_reloader.execute_if_updated # end # -# source://activesupport//lib/active_support/file_update_checker.rb#35 +# pkg:gem/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 @@ -7371,18 +7374,18 @@ class ActiveSupport::FileUpdateChecker # # @return [FileUpdateChecker] a new instance of FileUpdateChecker # - # source://activesupport//lib/active_support/file_update_checker.rb#44 + # pkg:gem/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#85 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:85 def execute; end # Execute the block given if updated. # - # source://activesupport//lib/active_support/file_update_checker.rb#95 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:95 def execute_if_updated; end # Check if any of the entries were updated. If so, the watched and/or @@ -7391,18 +7394,18 @@ class ActiveSupport::FileUpdateChecker # # @return [Boolean] # - # source://activesupport//lib/active_support/file_update_checker.rb#66 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:66 def updated?; end private - # source://activesupport//lib/active_support/file_update_checker.rb#160 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:160 def compile_ext(array); end - # source://activesupport//lib/active_support/file_update_checker.rb#147 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:147 def compile_glob(hash); end - # source://activesupport//lib/active_support/file_update_checker.rb#156 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:156 def escape(key); end # This method returns the maximum mtime of the files in +paths+, or +nil+ @@ -7413,36 +7416,36 @@ 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#125 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:125 def max_mtime(paths); end - # source://activesupport//lib/active_support/file_update_checker.rb#114 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:114 def updated_at(paths); end - # source://activesupport//lib/active_support/file_update_checker.rb#106 + # pkg:gem/activesupport#lib/active_support/file_update_checker.rb:106 def watched; end end -# source://activesupport//lib/active_support/fork_tracker.rb#4 +# pkg:gem/activesupport#lib/active_support/fork_tracker.rb:4 module ActiveSupport::ForkTracker class << self - # source://activesupport//lib/active_support/fork_tracker.rb#31 + # pkg:gem/activesupport#lib/active_support/fork_tracker.rb:31 def after_fork(&block); end - # source://activesupport//lib/active_support/fork_tracker.rb#19 + # pkg:gem/activesupport#lib/active_support/fork_tracker.rb:19 def after_fork_callback; end - # source://activesupport//lib/active_support/fork_tracker.rb#27 + # pkg:gem/activesupport#lib/active_support/fork_tracker.rb:27 def hook!; end - # source://activesupport//lib/active_support/fork_tracker.rb#36 + # pkg:gem/activesupport#lib/active_support/fork_tracker.rb:36 def unregister(callback); end end end -# source://activesupport//lib/active_support/fork_tracker.rb#5 +# pkg:gem/activesupport#lib/active_support/fork_tracker.rb:5 module ActiveSupport::ForkTracker::CoreExt - # source://activesupport//lib/active_support/fork_tracker.rb#6 + # pkg:gem/activesupport#lib/active_support/fork_tracker.rb:6 def _fork; end end @@ -7457,29 +7460,29 @@ end # ActiveSupport::Gzip.decompress(gzip) # # => "compress me!" # -# source://activesupport//lib/active_support/gzip.rb#17 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/gzip.rb:27 def decompress(source); end end end -# source://activesupport//lib/active_support/gzip.rb#18 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/gzip.rb:19 def initialize(*_arg0); end - # source://activesupport//lib/active_support/gzip.rb#23 + # pkg:gem/activesupport#lib/active_support/gzip.rb:23 def close; end end @@ -7530,11 +7533,11 @@ end # # which will, in turn, require this file. # -# source://activesupport//lib/active_support/hash_with_indifferent_access.rb#55 +# pkg:gem/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 + # pkg:gem/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 @@ -7547,7 +7550,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters[:foo] # => 1 # counters[:zoo] # => nil # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#184 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:184 def [](key); end # Assigns a new value to the hash: @@ -7560,7 +7563,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # If the value is a Hash or contains one or multiple Hashes, they will be # converted to +HashWithIndifferentAccess+. # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#101 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:101 def []=(key, value); end # Same as Hash#assoc where the key passed as argument can be @@ -7573,13 +7576,13 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters.assoc(:foo) # => ["foo", 1] # counters.assoc(:zoo) # => nil # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#197 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:197 def assoc(key); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#390 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:390 def compact; end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#334 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:334 def deep_symbolize_keys; end # Same as Hash#default where the key passed as argument can be @@ -7593,12 +7596,12 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash.default('foo') # => 'foo' # hash.default(:foo) # => 'foo' # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#239 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:239 def default(key = T.unsafe(nil)); end # Removes the specified key from the hash. # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#317 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:317 def delete(key); end # Same as Hash#dig where the key passed as argument can be @@ -7611,7 +7614,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # counters.dig(:foo, :bar) # => 1 # counters.dig(:zoo) # => nil # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#224 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:224 def dig(*args); end # Returns a shallow copy of the hash. @@ -7623,7 +7626,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # hash[:a][:c] # => "c" # dup[:a][:c] # => "c" # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#280 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:280 def dup; end # Returns a hash with indifferent access that includes everything except given keys. @@ -7631,7 +7634,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#325 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:325 def except(*keys); end # Returns +true+ so that Array#extract_options! finds members of @@ -7639,7 +7642,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#58 + # pkg:gem/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 @@ -7653,7 +7656,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#211 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:211 def fetch(key, *extras); end # Returns an array of the values at the specified indices, but also @@ -7666,7 +7669,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#267 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:267 def fetch_values(*indices, &block); end # Checks the hash for a key matching the argument passed in: @@ -7678,7 +7681,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#172 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:172 def has_key?(key); end # Checks the hash for a key matching the argument passed in: @@ -7690,7 +7693,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#171 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:171 def include?(key); end # Checks the hash for a key matching the argument passed in: @@ -7702,7 +7705,7 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#167 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:167 def key?(key); end # Checks the hash for a key matching the argument passed in: @@ -7714,14 +7717,14 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#173 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:173 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#287 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:287 def merge(*hashes, &block); end # Updates the receiver in-place, merging in the hashes passed as arguments: @@ -7753,19 +7756,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#159 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:159 def merge!(*other_hashes, &block); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#342 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:342 def reject(*args, &block); end # Replaces the contents of this hash with other_hash. @@ -7773,7 +7776,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#312 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:312 def replace(other_hash); end # Like +merge+ but the other way around: Merges the receiver into the @@ -7783,21 +7786,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#297 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:297 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#303 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:303 def reverse_merge!(other_hash); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#337 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:337 def select(*args, &block); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#380 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:380 def slice(*keys); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#385 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:385 def slice!(*keys); end # Assigns a new value to the hash: @@ -7811,33 +7814,33 @@ class ActiveSupport::HashWithIndifferentAccess < ::Hash # converted to +HashWithIndifferentAccess+. unless `convert_value: false` # is set. # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#115 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:115 def store(key, value, convert_value: T.unsafe(nil)); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#332 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:332 def symbolize_keys; end # Convert to a regular hash with string keys. # - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#395 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:395 def to_hash; end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#333 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:333 def to_options; end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#335 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:335 def to_options!; end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#401 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:401 def to_proc; end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#354 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:354 def transform_keys(hash = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#366 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:366 def transform_keys!(hash = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#347 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:347 def transform_values(&block); end # Updates the receiver in-place, merging in the hashes passed as arguments: @@ -7869,7 +7872,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#148 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:148 def update(*other_hashes, &block); end # Returns an array of the values at the specified indices: @@ -7879,7 +7882,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#253 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:253 def values_at(*keys); end # Like +merge+ but the other way around: Merges the receiver into the @@ -7889,15 +7892,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#300 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:300 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#306 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:306 def with_defaults!(other_hash); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#62 + # pkg:gem/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. @@ -7905,61 +7908,61 @@ 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#328 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:328 def without(*keys); end private - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#406 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:406 def cast(other); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#410 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:410 def convert_key(key); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#414 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:414 def convert_value(value, conversion: T.unsafe(nil)); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#427 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:427 def convert_value_to_hash(value); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#438 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:438 def copy_defaults(target); end - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#447 + # pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:447 def update_with_single_argument(other_hash, block); end class << self - # source://activesupport//lib/active_support/hash_with_indifferent_access.rb#85 + # pkg:gem/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#352 +# pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:352 ActiveSupport::HashWithIndifferentAccess::NOT_GIVEN = T.let(T.unsafe(nil), Object) -# source://activesupport//lib/active_support/html_safe_translation.rb#4 +# pkg:gem/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#30 + # pkg:gem/activesupport#lib/active_support/html_safe_translation.rb:30 def html_safe_translation_key?(key); end - # source://activesupport//lib/active_support/html_safe_translation.rb#7 + # pkg:gem/activesupport#lib/active_support/html_safe_translation.rb:7 def translate(key, **options); end private - # source://activesupport//lib/active_support/html_safe_translation.rb#35 + # pkg:gem/activesupport#lib/active_support/html_safe_translation.rb:35 def html_escape_translation_options(options); end - # source://activesupport//lib/active_support/html_safe_translation.rb#48 + # pkg:gem/activesupport#lib/active_support/html_safe_translation.rb:48 def html_safe_translation(translation); end # @return [Boolean] # - # source://activesupport//lib/active_support/html_safe_translation.rb#43 + # pkg:gem/activesupport#lib/active_support/html_safe_translation.rb:43 def i18n_option?(name); end end @@ -7976,7 +7979,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#8 +# pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:8 module ActiveSupport::Inflector extend ::ActiveSupport::Inflector @@ -7997,7 +8000,7 @@ module ActiveSupport::Inflector # # camelize(underscore('SSLError')) # => "SslError" # - # source://activesupport//lib/active_support/inflector/methods.rb#70 + # pkg:gem/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 @@ -8011,7 +8014,7 @@ module ActiveSupport::Inflector # # classify('calculus') # => "Calculu" # - # source://activesupport//lib/active_support/inflector/methods.rb#218 + # pkg:gem/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. @@ -8033,14 +8036,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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/inflector/methods.rb:226 def dasherize(underscored_word); end # Removes the rightmost segment from the constant expression in the string. @@ -8053,7 +8056,7 @@ module ActiveSupport::Inflector # # See also #demodulize. # - # source://activesupport//lib/active_support/inflector/methods.rb#256 + # pkg:gem/activesupport#lib/active_support/inflector/methods.rb:256 def deconstantize(path); end # Removes the module part from the expression in the string. @@ -8065,7 +8068,7 @@ module ActiveSupport::Inflector # # See also #deconstantize. # - # source://activesupport//lib/active_support/inflector/methods.rb#238 + # pkg:gem/activesupport#lib/active_support/inflector/methods.rb:238 def demodulize(path); end # Converts the first character in the string to lowercase. @@ -8074,7 +8077,7 @@ module ActiveSupport::Inflector # downcase_first('I') # => "i" # downcase_first('') # => "" # - # source://activesupport//lib/active_support/inflector/methods.rb#175 + # pkg:gem/activesupport#lib/active_support/inflector/methods.rb:175 def downcase_first(string); end # Creates a foreign key name from a class name. @@ -8085,7 +8088,7 @@ module ActiveSupport::Inflector # foreign_key('Message', false) # => "messageid" # foreign_key('Admin::Post') # => "post_id" # - # source://activesupport//lib/active_support/inflector/methods.rb#267 + # pkg:gem/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. @@ -8114,7 +8117,7 @@ module ActiveSupport::Inflector # # humanize('ssl_error') # => "SSL error" # - # source://activesupport//lib/active_support/inflector/methods.rb#135 + # pkg:gem/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 @@ -8126,7 +8129,7 @@ module ActiveSupport::Inflector # inflect.uncountable 'rails' # end # - # source://activesupport//lib/active_support/inflector/inflections.rb#281 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:281 def inflections(locale = T.unsafe(nil)); end # Returns the suffix that should be added to a number to denote the position @@ -8139,7 +8142,7 @@ module ActiveSupport::Inflector # ordinal(-11) # => "th" # ordinal(-1021) # => "st" # - # source://activesupport//lib/active_support/inflector/methods.rb#334 + # pkg:gem/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 @@ -8152,7 +8155,7 @@ module ActiveSupport::Inflector # ordinalize(-11) # => "-11th" # ordinalize(-1021) # => "-1021st" # - # source://activesupport//lib/active_support/inflector/methods.rb#347 + # pkg:gem/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 @@ -8182,7 +8185,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 + # pkg:gem/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. @@ -8198,7 +8201,7 @@ module ActiveSupport::Inflector # pluralize('CamelOctopus') # => "CamelOctopi" # pluralize('ley', :es) # => "leyes" # - # source://activesupport//lib/active_support/inflector/methods.rb#33 + # pkg:gem/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. @@ -8224,7 +8227,7 @@ module ActiveSupport::Inflector # safe_constantize('UnknownModule') # => nil # safe_constantize('UnknownModule::Foo::Bar') # => nil # - # source://activesupport//lib/active_support/inflector/methods.rb#315 + # pkg:gem/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 @@ -8241,7 +8244,7 @@ module ActiveSupport::Inflector # singularize('CamelOctopi') # => "CamelOctopus" # singularize('leyes', :es) # => "ley" # - # source://activesupport//lib/active_support/inflector/methods.rb#50 + # pkg:gem/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. @@ -8251,7 +8254,7 @@ module ActiveSupport::Inflector # tableize('ham_and_egg') # => "ham_and_eggs" # tableize('fancyCategory') # => "fancy_categories" # - # source://activesupport//lib/active_support/inflector/methods.rb#204 + # pkg:gem/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 @@ -8268,7 +8271,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 + # pkg:gem/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 @@ -8328,7 +8331,7 @@ module ActiveSupport::Inflector # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/inflector/transliterate.rb#64 + # pkg:gem/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. @@ -8343,7 +8346,7 @@ module ActiveSupport::Inflector # # camelize(underscore('SSLError')) # => "SslError" # - # source://activesupport//lib/active_support/inflector/methods.rb#99 + # pkg:gem/activesupport#lib/active_support/inflector/methods.rb:99 def underscore(camel_cased_word); end # Converts the first character in the string to uppercase. @@ -8352,7 +8355,7 @@ module ActiveSupport::Inflector # upcase_first('w') # => "W" # upcase_first('') # => "" # - # source://activesupport//lib/active_support/inflector/methods.rb#166 + # pkg:gem/activesupport#lib/active_support/inflector/methods.rb:166 def upcase_first(string); end private @@ -8365,7 +8368,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 + # pkg:gem/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, @@ -8374,11 +8377,11 @@ module ActiveSupport::Inflector # const_regexp("Foo::Bar::Baz") # => "Foo(::Bar(::Baz)?)?" # const_regexp("::") # => "::" # - # source://activesupport//lib/active_support/inflector/methods.rb#357 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/inflector/transliterate.rb:8 ActiveSupport::Inflector::ALLOWED_ENCODINGS_FOR_TRANSLITERATE = T.let(T.unsafe(nil), Array) # = Active Support \Inflections @@ -8402,11 +8405,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#31 +# pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:31 class ActiveSupport::Inflector::Inflections # @return [Inflections] a new instance of Inflections # - # source://activesupport//lib/active_support/inflector/inflections.rb#96 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:96 def initialize; end # Specifies a new acronym. An acronym must be specified as it will appear @@ -8459,18 +8462,18 @@ class ActiveSupport::Inflector::Inflections # underscore 'McDonald' # => 'mcdonald' # camelize 'mcdonald' # => 'McDonald' # - # source://activesupport//lib/active_support/inflector/inflections.rb#158 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:158 def acronym(word); end # Returns the value of attribute acronyms. # - # source://activesupport//lib/active_support/inflector/inflections.rb#92 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:92 def acronyms; end - # source://activesupport//lib/active_support/inflector/inflections.rb#94 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:94 def acronyms_camelize_regex; end - # source://activesupport//lib/active_support/inflector/inflections.rb#94 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:94 def acronyms_underscore_regex; end # Clears the loaded inflections within a given scope (default is @@ -8481,7 +8484,7 @@ class ActiveSupport::Inflector::Inflections # clear :all # clear :plurals # - # source://activesupport//lib/active_support/inflector/inflections.rb#247 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:247 def clear(scope = T.unsafe(nil)); end # Specifies a humanized form of a string by a regular expression rule or @@ -8493,12 +8496,12 @@ class ActiveSupport::Inflector::Inflections # human /_cnt$/i, '\1_count' # human 'legacy_col_person_name', 'Name' # - # source://activesupport//lib/active_support/inflector/inflections.rb#236 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:236 def human(rule, replacement); end # Returns the value of attribute humans. # - # source://activesupport//lib/active_support/inflector/inflections.rb#92 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:92 def humans; end # Specifies a new irregular that applies to both pluralization and @@ -8509,7 +8512,7 @@ class ActiveSupport::Inflector::Inflections # irregular 'cactus', 'cacti' # irregular 'person', 'people' # - # source://activesupport//lib/active_support/inflector/inflections.rb#190 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:190 def irregular(singular, plural); end # Specifies a new pluralization rule and its replacement. The rule can @@ -8517,12 +8520,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#167 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:167 def plural(rule, replacement); end # Returns the value of attribute plurals. # - # source://activesupport//lib/active_support/inflector/inflections.rb#92 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:92 def plurals; end # Specifies a new singularization rule and its replacement. The rule can @@ -8530,12 +8533,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#177 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:177 def singular(rule, replacement); end # Returns the value of attribute singulars. # - # source://activesupport//lib/active_support/inflector/inflections.rb#92 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:92 def singulars; end # Specifies words that are uncountable and should not be inflected. @@ -8544,78 +8547,78 @@ class ActiveSupport::Inflector::Inflections # uncountable 'money', 'information' # uncountable %w( money information rice ) # - # source://activesupport//lib/active_support/inflector/inflections.rb#224 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:224 def uncountable(*words); end # Returns the value of attribute uncountables. # - # source://activesupport//lib/active_support/inflector/inflections.rb#92 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:92 def uncountables; end private - # source://activesupport//lib/active_support/inflector/inflections.rb#266 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:266 def define_acronym_regex_patterns; end # Private, for the test suite. # - # source://activesupport//lib/active_support/inflector/inflections.rb#102 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:102 def initialize_dup(orig); end class << self - # source://activesupport//lib/active_support/inflector/inflections.rb#77 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:77 def instance(locale = T.unsafe(nil)); end - # source://activesupport//lib/active_support/inflector/inflections.rb#83 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:83 def instance_or_fallback(locale); end end end -# source://activesupport//lib/active_support/inflector/inflections.rb#35 +# pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:35 class ActiveSupport::Inflector::Inflections::Uncountables include ::Enumerable # @return [Uncountables] a new instance of Uncountables # - # source://activesupport//lib/active_support/inflector/inflections.rb#40 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:40 def initialize; end - # source://activesupport//lib/active_support/inflector/inflections.rb#50 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:50 def <<(word); end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def ==(arg); end - # source://activesupport//lib/active_support/inflector/inflections.rb#61 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:61 def add(words); end - # source://activesupport//lib/active_support/inflector/inflections.rb#45 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:45 def delete(entry); end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def each(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def empty?(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/inflector/inflections.rb#57 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:57 def flatten; end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def pop(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def to_a(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def to_ary(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/inflector/inflections.rb#38 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:38 def to_s(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://activesupport//lib/active_support/inflector/inflections.rb#68 + # pkg:gem/activesupport#lib/active_support/inflector/inflections.rb:68 def uncountable?(str); end end @@ -8636,95 +8639,95 @@ end # h.girl # => 'Mary' # h.boy # => 'John' # -# source://activesupport//lib/active_support/ordered_options.rb#89 +# pkg:gem/activesupport#lib/active_support/ordered_options.rb:89 class ActiveSupport::InheritableOptions < ::ActiveSupport::OrderedOptions # @return [InheritableOptions] a new instance of InheritableOptions # - # source://activesupport//lib/active_support/ordered_options.rb#90 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:90 def initialize(parent = T.unsafe(nil)); end - # source://activesupport//lib/active_support/ordered_options.rb#107 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:107 def ==(other); end - # source://activesupport//lib/active_support/ordered_options.rb#142 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:142 def each(&block); end - # source://activesupport//lib/active_support/ordered_options.rb#134 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:134 def inheritable_copy; end - # source://activesupport//lib/active_support/ordered_options.rb#111 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:111 def inspect; end # @return [Boolean] # - # source://activesupport//lib/active_support/ordered_options.rb#126 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:126 def key?(key); end # @return [Boolean] # - # source://activesupport//lib/active_support/ordered_options.rb#130 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:130 def overridden?(key); end - # source://activesupport//lib/active_support/ordered_options.rb#119 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:119 def pretty_print(pp); end - # source://activesupport//lib/active_support/ordered_options.rb#138 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:138 def to_a; end - # source://activesupport//lib/active_support/ordered_options.rb#103 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:103 def to_h; end - # source://activesupport//lib/active_support/ordered_options.rb#115 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:115 def to_s; end private - # source://activesupport//lib/active_support/ordered_options.rb#123 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:123 def own_key?(_arg0); end end -# source://activesupport//lib/active_support/isolated_execution_state.rb#4 +# pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:4 module ActiveSupport::IsolatedExecutionState class << self - # source://activesupport//lib/active_support/isolated_execution_state.rb#31 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:31 def [](key); end - # source://activesupport//lib/active_support/isolated_execution_state.rb#37 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:37 def []=(key, value); end - # source://activesupport//lib/active_support/isolated_execution_state.rb#50 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:50 def clear; end - # source://activesupport//lib/active_support/isolated_execution_state.rb#54 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:54 def context; end - # source://activesupport//lib/active_support/isolated_execution_state.rb#46 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:46 def delete(key); end # Returns the value of attribute isolation_level. # - # source://activesupport//lib/active_support/isolated_execution_state.rb#11 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:11 def isolation_level; end - # source://activesupport//lib/active_support/isolated_execution_state.rb#13 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:13 def isolation_level=(level); end # @return [Boolean] # - # source://activesupport//lib/active_support/isolated_execution_state.rb#42 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:42 def key?(key); end # Returns the value of attribute scope. # - # source://activesupport//lib/active_support/isolated_execution_state.rb#11 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:11 def scope; end - # source://activesupport//lib/active_support/isolated_execution_state.rb#58 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:58 def share_with(other, &block); end end end -# source://activesupport//lib/active_support/json/decoding.rb#11 +# pkg:gem/activesupport#lib/active_support/json/decoding.rb:11 module ActiveSupport::JSON class << self # Parses a JSON string (JavaScript Object Notation) into a Ruby object. @@ -8735,7 +8738,7 @@ module ActiveSupport::JSON # ActiveSupport::JSON.decode("2.39") # # => 2.39 # - # source://activesupport//lib/active_support/json/decoding.rb#24 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:24 def decode(json, options = T.unsafe(nil)); end # Dumps objects in JSON (JavaScript Object Notation). @@ -8768,7 +8771,7 @@ module ActiveSupport::JSON # ActiveSupport::JSON.encode({ key: "\u2028<>&" }, escape: false) # # => "{\"key\":\"\u2028<>&\"}" # - # source://activesupport//lib/active_support/json/encoding.rb#56 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:56 def dump(value, options = T.unsafe(nil)); end # Dumps objects in JSON (JavaScript Object Notation). @@ -8801,7 +8804,7 @@ module ActiveSupport::JSON # ActiveSupport::JSON.encode({ key: "\u2028<>&" }, escape: false) # # => "{\"key\":\"\u2028<>&\"}" # - # source://activesupport//lib/active_support/json/encoding.rb#47 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:47 def encode(value, options = T.unsafe(nil)); end # Parses a JSON string (JavaScript Object Notation) into a Ruby object. @@ -8812,7 +8815,7 @@ module ActiveSupport::JSON # ActiveSupport::JSON.decode("2.39") # # => 2.39 # - # source://activesupport//lib/active_support/json/decoding.rb#33 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:33 def load(json, options = T.unsafe(nil)); end # Returns the class of the error that will be raised when there is an @@ -8826,43 +8829,43 @@ module ActiveSupport::JSON # Rails.logger.warn("Attempted to decode invalid JSON: #{some_string}") # end # - # source://activesupport//lib/active_support/json/decoding.rb#45 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:45 def parse_error; end private - # source://activesupport//lib/active_support/json/decoding.rb#50 + # pkg:gem/activesupport#lib/active_support/json/decoding.rb:50 def convert_dates_from(data); end end end -# source://activesupport//lib/active_support/json/decoding.rb#14 +# pkg:gem/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 +# pkg:gem/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#59 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:59 module ActiveSupport::JSON::Encoding class << self - # source://activesupport//lib/active_support/json/encoding.rb#239 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:239 def encode_without_escape(value); end - # source://activesupport//lib/active_support/json/encoding.rb#235 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:235 def encode_without_options(value); end # If true, encode >, <, & as escaped unicode sequences (e.g. > as \u003e) # as a safety measure. # - # source://activesupport//lib/active_support/json/encoding.rb#212 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:212 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#212 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:212 def escape_html_entities_in_json=(_arg0); end # If true, encode LINE SEPARATOR (U+2028) and PARAGRAPH SEPARATOR (U+2029) @@ -8871,7 +8874,7 @@ module ActiveSupport::JSON::Encoding # but that changed in ECMAScript 2019. As such it's no longer a concern in # modern browsers: https://caniuse.com/mdn-javascript_builtins_json_json_superset. # - # source://activesupport//lib/active_support/json/encoding.rb#219 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:219 def escape_js_separators_in_json; end # If true, encode LINE SEPARATOR (U+2028) and PARAGRAPH SEPARATOR (U+2029) @@ -8880,87 +8883,87 @@ module ActiveSupport::JSON::Encoding # but that changed in ECMAScript 2019. As such it's no longer a concern in # modern browsers: https://caniuse.com/mdn-javascript_builtins_json_json_superset. # - # source://activesupport//lib/active_support/json/encoding.rb#219 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:219 def escape_js_separators_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#227 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:227 def json_encoder; end - # source://activesupport//lib/active_support/json/encoding.rb#229 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:229 def json_encoder=(encoder); end # Sets the precision of encoded time values. # Defaults to 3 (equivalent to millisecond precision) # - # source://activesupport//lib/active_support/json/encoding.rb#223 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:223 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#223 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:223 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#208 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:208 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#208 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:208 def use_standard_json_time_format=(_arg0); end end end -# source://activesupport//lib/active_support/json/encoding.rb#63 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:63 ActiveSupport::JSON::Encoding::ESCAPED_CHARS = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/json/encoding.rb#72 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:72 ActiveSupport::JSON::Encoding::FULL_ESCAPE_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activesupport//lib/active_support/json/encoding.rb#71 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:71 ActiveSupport::JSON::Encoding::HTML_ENTITIES_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activesupport//lib/active_support/json/encoding.rb#150 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:150 class ActiveSupport::JSON::Encoding::JSONGemCoderEncoder # @return [JSONGemCoderEncoder] a new instance of JSONGemCoderEncoder # - # source://activesupport//lib/active_support/json/encoding.rb#171 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:171 def initialize(options = T.unsafe(nil)); end # Encode the given object into a JSON string # - # source://activesupport//lib/active_support/json/encoding.rb#183 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:183 def encode(value); end end -# source://activesupport//lib/active_support/json/encoding.rb#152 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:152 ActiveSupport::JSON::Encoding::JSONGemCoderEncoder::CODER = T.let(T.unsafe(nil), JSON::Coder) -# source://activesupport//lib/active_support/json/encoding.rb#151 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:151 ActiveSupport::JSON::Encoding::JSONGemCoderEncoder::JSON_NATIVE_TYPES = T.let(T.unsafe(nil), Array) -# source://activesupport//lib/active_support/json/encoding.rb#75 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:75 class ActiveSupport::JSON::Encoding::JSONGemEncoder # @return [JSONGemEncoder] a new instance of JSONGemEncoder # - # source://activesupport//lib/active_support/json/encoding.rb#78 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:78 def initialize(options = T.unsafe(nil)); end # Encode the given object into a JSON string # - # source://activesupport//lib/active_support/json/encoding.rb#83 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:83 def encode(value); end # Returns the value of attribute options. # - # source://activesupport//lib/active_support/json/encoding.rb#76 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:76 def options; end private @@ -8979,22 +8982,22 @@ 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#118 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:118 def jsonify(value); end # Encode a "jsonified" Ruby data structure using the JSON gem # - # source://activesupport//lib/active_support/json/encoding.rb#143 + # pkg:gem/activesupport#lib/active_support/json/encoding.rb:143 def stringify(jsonified); end end -# source://activesupport//lib/active_support/json/encoding.rb#73 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:73 ActiveSupport::JSON::Encoding::JS_SEPARATORS_REGEX = T.let(T.unsafe(nil), Regexp) -# source://activesupport//lib/active_support/json/encoding.rb#60 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:60 ActiveSupport::JSON::Encoding::U2028 = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/json/encoding.rb#61 +# pkg:gem/activesupport#lib/active_support/json/encoding.rb:61 ActiveSupport::JSON::Encoding::U2029 = T.let(T.unsafe(nil), String) # = Key Generator @@ -9004,28 +9007,28 @@ ActiveSupport::JSON::Encoding::U2029 = T.let(T.unsafe(nil), String) # 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/key_generator.rb:45 def inspect; end class << self - # source://activesupport//lib/active_support/key_generator.rb#23 + # pkg:gem/activesupport#lib/active_support/key_generator.rb:23 def hash_digest_class; end - # source://activesupport//lib/active_support/key_generator.rb#15 + # pkg:gem/activesupport#lib/active_support/key_generator.rb:15 def hash_digest_class=(klass); end end end @@ -9070,7 +9073,7 @@ end # end # end # -# source://activesupport//lib/active_support/lazy_load_hooks.rb#43 +# pkg:gem/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 @@ -9081,7 +9084,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 + # pkg:gem/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 @@ -9092,19 +9095,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/lazy_load_hooks.rb:44 def extended(base); end end end @@ -9164,49 +9167,49 @@ 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 +# pkg:gem/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#133 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:133 def initialize; end - # source://activesupport//lib/active_support/log_subscriber.rb#146 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:146 def call(event); end - # source://activesupport//lib/active_support/log_subscriber.rb#83 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:83 def colorize_logging; end - # source://activesupport//lib/active_support/log_subscriber.rb#83 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:83 def colorize_logging=(val); end - # source://activesupport//lib/active_support/log_subscriber.rb#156 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:156 def debug(progname = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/log_subscriber.rb#156 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:156 def error(progname = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/log_subscriber.rb#152 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:152 def event_levels=(_arg0); end - # source://activesupport//lib/active_support/log_subscriber.rb#156 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:156 def fatal(progname = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/log_subscriber.rb#156 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:156 def info(progname = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/log_subscriber.rb#138 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:138 def logger; end # @return [Boolean] # - # source://activesupport//lib/active_support/log_subscriber.rb#142 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:142 def silenced?(event); end - # source://activesupport//lib/active_support/log_subscriber.rb#156 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:156 def unknown(progname = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/log_subscriber.rb#156 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:156 def warn(progname = T.unsafe(nil), &block); end private @@ -9215,119 +9218,119 @@ 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#166 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:166 def color(text, color, mode_options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/log_subscriber.rb#180 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:180 def log_exception(name, e); end - # source://activesupport//lib/active_support/log_subscriber.rb#174 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:174 def mode_from(options); end class << self - # source://activesupport//lib/active_support/log_subscriber.rb#99 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:99 def attach_to(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/log_subscriber.rb#83 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:83 def colorize_logging; end - # source://activesupport//lib/active_support/log_subscriber.rb#83 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:83 def colorize_logging=(val); end # Flush all log_subscribers' logger. # - # source://activesupport//lib/active_support/log_subscriber.rb#112 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:112 def flush_all!; end - # source://activesupport//lib/active_support/log_subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:84 def log_levels; end - # source://activesupport//lib/active_support/log_subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:84 def log_levels=(value); end - # source://activesupport//lib/active_support/log_subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:84 def log_levels?; end - # source://activesupport//lib/active_support/log_subscriber.rb#107 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:107 def log_subscribers; end - # source://activesupport//lib/active_support/log_subscriber.rb#93 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:93 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#105 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:105 def logger=(_arg0); end private - # source://activesupport//lib/active_support/log_subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:84 def __class_attr_log_levels; end - # source://activesupport//lib/active_support/log_subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:84 def __class_attr_log_levels=(new_value); end - # source://activesupport//lib/active_support/log_subscriber.rb#117 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:117 def fetch_public_methods(subscriber, inherit_all); end - # source://activesupport//lib/active_support/log_subscriber.rb#121 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:121 def set_event_levels; end - # source://activesupport//lib/active_support/log_subscriber.rb#127 + # pkg:gem/activesupport#lib/active_support/log_subscriber.rb:127 def subscribe_log_level(method, level); end end end # ANSI sequence colors # -# source://activesupport//lib/active_support/log_subscriber.rb#74 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:74 ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/log_subscriber.rb#78 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:78 ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/log_subscriber.rb#80 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:80 ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/log_subscriber.rb#76 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:76 ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/log_subscriber.rb#86 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:86 ActiveSupport::LogSubscriber::LEVEL_CHECKS = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/log_subscriber.rb#79 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:79 ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String) # ANSI sequence modes # -# source://activesupport//lib/active_support/log_subscriber.rb#66 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:66 ActiveSupport::LogSubscriber::MODES = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/log_subscriber.rb#75 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:75 ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/log_subscriber.rb#81 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:81 ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/log_subscriber.rb#77 +# pkg:gem/activesupport#lib/active_support/log_subscriber.rb:77 ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/logger.rb#8 +# pkg:gem/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#33 + # pkg:gem/activesupport#lib/active_support/logger.rb:33 def initialize(*args, **kwargs); end - # source://activesupport//lib/active_support/logger.rb#9 + # pkg:gem/activesupport#lib/active_support/logger.rb:9 def silencer; end - # source://activesupport//lib/active_support/logger.rb#9 + # pkg:gem/activesupport#lib/active_support/logger.rb:9 def silencer=(val); end class << self @@ -9343,67 +9346,67 @@ class ActiveSupport::Logger < ::Logger # # @return [Boolean] # - # source://activesupport//lib/active_support/logger.rb#20 + # pkg:gem/activesupport#lib/active_support/logger.rb:20 def logger_outputs_to?(logger, *sources); end - # source://activesupport//lib/active_support/logger.rb#47 + # pkg:gem/activesupport#lib/active_support/logger.rb:47 def normalize_sources(sources); end - # source://activesupport//lib/active_support/logger.rb#9 + # pkg:gem/activesupport#lib/active_support/logger.rb:9 def silencer; end - # source://activesupport//lib/active_support/logger.rb#9 + # pkg:gem/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#39 +# pkg:gem/activesupport#lib/active_support/logger.rb:39 class ActiveSupport::Logger::SimpleFormatter < ::Logger::Formatter # This method is invoked when a log event occurs # - # source://activesupport//lib/active_support/logger.rb#41 + # pkg:gem/activesupport#lib/active_support/logger.rb:41 def call(severity, timestamp, progname, msg); end end -# source://activesupport//lib/active_support/logger_silence.rb#8 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#10 + # pkg:gem/activesupport#lib/active_support/logger_thread_safe_level.rb:10 def initialize(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#35 + # pkg:gem/activesupport#lib/active_support/logger_thread_safe_level.rb:35 def level; end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#15 + # pkg:gem/activesupport#lib/active_support/logger_thread_safe_level.rb:15 def local_level; end - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#19 + # pkg:gem/activesupport#lib/active_support/logger_thread_safe_level.rb:19 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#40 + # pkg:gem/activesupport#lib/active_support/logger_thread_safe_level.rb:40 def log_at(level); end private # Returns the value of attribute local_level_key. # - # source://activesupport//lib/active_support/logger_thread_safe_level.rb#48 + # pkg:gem/activesupport#lib/active_support/logger_thread_safe_level.rb:48 def local_level_key; end end @@ -9487,7 +9490,7 @@ end # # crypt.rotate old_secret, cipher: "aes-256-cbc" # -# source://activesupport//lib/active_support/message_encryptor.rb#90 +# pkg:gem/activesupport#lib/active_support/message_encryptor.rb:90 class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec include ::ActiveSupport::Messages::Rotator @@ -9556,10 +9559,10 @@ class ActiveSupport::MessageEncryptor < ::ActiveSupport::Messages::Codec # # @return [MessageEncryptor] a new instance of MessageEncryptor # - # source://activesupport//lib/active_support/message_encryptor.rb#183 + # pkg:gem/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 + # pkg:gem/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 @@ -9579,7 +9582,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 + # pkg:gem/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 @@ -9610,105 +9613,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 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:220 def encrypt_and_sign(value, **options); end - # source://activesupport//lib/active_support/message_encryptor.rb#264 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:264 def inspect; end - # source://activesupport//lib/active_support/message_encryptor.rb#260 + # pkg:gem/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 + # pkg:gem/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#372 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:372 def aead_mode?; end - # source://activesupport//lib/active_support/message_encryptor.rb#295 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:295 def decrypt(encrypted_message); end - # source://activesupport//lib/active_support/message_encryptor.rb#277 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:277 def encrypt(data); end - # source://activesupport//lib/active_support/message_encryptor.rb#340 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:350 def extract_parts(encrypted_message); end - # source://activesupport//lib/active_support/message_encryptor.rb#336 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:336 def join_parts(parts); end - # source://activesupport//lib/active_support/message_encryptor.rb#320 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:332 def length_of_encoded_auth_tag; end - # source://activesupport//lib/active_support/message_encryptor.rb#328 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:328 def length_of_encoded_iv; end - # source://activesupport//lib/active_support/message_encryptor.rb#367 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:367 def new_cipher; end - # source://activesupport//lib/active_support/message_encryptor.rb#269 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:269 def sign(data); end - # source://activesupport//lib/active_support/message_encryptor.rb#273 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:273 def verify(data); end class << self - # source://activesupport//lib/active_support/message_encryptor.rb#96 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:93 def use_authenticated_message_encryption; end - # source://activesupport//lib/active_support/message_encryptor.rb#93 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/message_encryptor.rb:115 class ActiveSupport::MessageEncryptor::InvalidMessage < ::StandardError; end -# source://activesupport//lib/active_support/message_encryptor.rb#105 +# pkg:gem/activesupport#lib/active_support/message_encryptor.rb:105 module ActiveSupport::MessageEncryptor::NullSerializer class << self - # source://activesupport//lib/active_support/message_encryptor.rb#110 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:110 def dump(value); end - # source://activesupport//lib/active_support/message_encryptor.rb#106 + # pkg:gem/activesupport#lib/active_support/message_encryptor.rb:106 def load(value); end end end -# source://activesupport//lib/active_support/message_encryptor.rb#116 +# pkg:gem/activesupport#lib/active_support/message_encryptor.rb:116 ActiveSupport::MessageEncryptor::OpenSSLCipherError = OpenSSL::Cipher::CipherError -# source://activesupport//lib/active_support/message_encryptor.rb#119 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/message_encryptors.rb:6 class ActiveSupport::MessageEncryptors < ::ActiveSupport::Messages::RotationCoordinator private - # source://activesupport//lib/active_support/message_encryptors.rb#187 + # pkg:gem/activesupport#lib/active_support/message_encryptors.rb:187 def build(salt, secret_generator:, secret_generator_options:, **options); end end @@ -9812,7 +9815,7 @@ end # # verifier.rotate(old_secret, digest: "SHA256", serializer: Marshal) # -# source://activesupport//lib/active_support/message_verifier.rb#110 +# pkg:gem/activesupport#lib/active_support/message_verifier.rb:110 class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec include ::ActiveSupport::Messages::Rotator @@ -9869,10 +9872,10 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # @raise [ArgumentError] # @return [MessageVerifier] a new instance of MessageVerifier # - # source://activesupport//lib/active_support/message_verifier.rb#167 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:167 def initialize(*args, on_rotation: T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/message_verifier.rb#310 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:310 def create_message(value, **options); end # Generates a signed message for the provided value. @@ -9910,13 +9913,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#306 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:306 def generate(value, **options); end - # source://activesupport//lib/active_support/message_verifier.rb#318 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:318 def inspect; end - # source://activesupport//lib/active_support/message_verifier.rb#314 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:314 def read_message(message, on_rotation: T.unsafe(nil), **options); end # Checks if a signed message could have been generated by signing an object @@ -9931,7 +9934,7 @@ class ActiveSupport::MessageVerifier < ::ActiveSupport::Messages::Codec # # @return [Boolean] # - # source://activesupport//lib/active_support/message_verifier.rb#183 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:183 def valid_message?(message); end # Decodes the signed message using the +MessageVerifier+'s secret. @@ -9971,7 +9974,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#224 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:224 def verified(message, **options); end # Decodes the signed message using the +MessageVerifier+'s secret. @@ -10002,356 +10005,356 @@ 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#262 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:262 def verify(message, **options); end private - # source://activesupport//lib/active_support/message_verifier.rb#323 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:323 def decode(encoded, url_safe: T.unsafe(nil)); end - # source://activesupport//lib/active_support/message_verifier.rb#356 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:356 def digest_length_in_hex; end # @return [Boolean] # - # source://activesupport//lib/active_support/message_verifier.rb#373 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:373 def digest_matches_data?(digest, data); end - # source://activesupport//lib/active_support/message_verifier.rb#335 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:335 def extract_encoded(signed); end - # source://activesupport//lib/active_support/message_verifier.rb#352 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:352 def generate_digest(data); end # @return [Boolean] # - # source://activesupport//lib/active_support/message_verifier.rb#364 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:364 def separator_at?(signed_message, index); end - # source://activesupport//lib/active_support/message_verifier.rb#368 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:368 def separator_index_for(signed_message); end - # source://activesupport//lib/active_support/message_verifier.rb#330 + # pkg:gem/activesupport#lib/active_support/message_verifier.rb:330 def sign_encoded(encoded); end end -# source://activesupport//lib/active_support/message_verifier.rb#113 +# pkg:gem/activesupport#lib/active_support/message_verifier.rb:113 class ActiveSupport::MessageVerifier::InvalidSignature < ::StandardError; end -# source://activesupport//lib/active_support/message_verifier.rb#115 +# pkg:gem/activesupport#lib/active_support/message_verifier.rb:115 ActiveSupport::MessageVerifier::SEPARATOR = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/message_verifier.rb#116 +# pkg:gem/activesupport#lib/active_support/message_verifier.rb:116 ActiveSupport::MessageVerifier::SEPARATOR_LENGTH = T.let(T.unsafe(nil), Integer) -# source://activesupport//lib/active_support/message_verifiers.rb#6 +# pkg:gem/activesupport#lib/active_support/message_verifiers.rb:6 class ActiveSupport::MessageVerifiers < ::ActiveSupport::Messages::RotationCoordinator private - # source://activesupport//lib/active_support/message_verifiers.rb#185 + # pkg:gem/activesupport#lib/active_support/message_verifiers.rb:185 def build(salt, secret_generator:, secret_generator_options:, **options); end end -# source://activesupport//lib/active_support/messages/rotation_coordinator.rb#6 +# pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:6 module ActiveSupport::Messages; end -# source://activesupport//lib/active_support/messages/codec.rb#9 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:15 def initialize(**options); end private - # source://activesupport//lib/active_support/messages/codec.rb#45 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:45 def catch_and_ignore(throwable, &block); end - # source://activesupport//lib/active_support/messages/codec.rb#52 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:39 def deserialize(serialized); end - # source://activesupport//lib/active_support/messages/codec.rb#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:23 def serializer; end # @return [Boolean] # - # source://activesupport//lib/active_support/messages/codec.rb#60 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:12 def default_serializer; end - # source://activesupport//lib/active_support/messages/codec.rb#12 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:12 def default_serializer=(value); end private - # source://activesupport//lib/active_support/messages/codec.rb#12 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:12 def __class_attr_default_serializer; end - # source://activesupport//lib/active_support/messages/codec.rb#12 + # pkg:gem/activesupport#lib/active_support/messages/codec.rb:12 def __class_attr_default_serializer=(new_value); end end end -# source://activesupport//lib/active_support/messages/metadata.rb#9 +# pkg:gem/activesupport#lib/active_support/messages/metadata.rb:9 module ActiveSupport::Messages::Metadata private - # source://activesupport//lib/active_support/messages/metadata.rb#128 + # pkg:gem/activesupport#lib/active_support/messages/metadata.rb:128 def deserialize_from_json(serialized); end - # source://activesupport//lib/active_support/messages/metadata.rb#141 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/metadata.rb:92 def metadata_envelope?(object); end - # source://activesupport//lib/active_support/messages/metadata.rb#114 + # pkg:gem/activesupport#lib/active_support/messages/metadata.rb:114 def parse_expiry(expires_at); end - # source://activesupport//lib/active_support/messages/metadata.rb#100 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/metadata.rb:124 def serialize_to_json(data); end - # source://activesupport//lib/active_support/messages/metadata.rb#137 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/metadata.rb:60 def use_message_serializer_for_metadata?; end - # source://activesupport//lib/active_support/messages/metadata.rb#64 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/metadata.rb:10 def use_message_serializer_for_metadata; end - # source://activesupport//lib/active_support/messages/metadata.rb#10 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/rotation_configuration.rb:6 def encrypted; end - # source://activesupport//lib/active_support/messages/rotation_configuration.rb#12 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/rotation_configuration.rb:6 def signed; end end -# source://activesupport//lib/active_support/messages/rotation_coordinator.rb#7 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:10 def initialize(&secret_generator); end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#18 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:18 def [](salt); end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#22 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:22 def []=(salt, codec); end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#48 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:48 def clear_rotations; end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#54 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:54 def on_rotation(&callback); end # @raise [ArgumentError] # - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#35 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:35 def prepend(**options, &block); end # @raise [ArgumentError] # - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#26 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:26 def rotate(**options, &block); end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#44 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:44 def rotate_defaults; end # Returns the value of attribute transitional. # - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#8 + # pkg:gem/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 + # pkg:gem/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#97 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:97 def build(salt, secret_generator:, secret_generator_options:, **options); end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#85 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:85 def build_with_rotations(salt); end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#60 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:60 def changing_configuration!; end - # source://activesupport//lib/active_support/messages/rotation_coordinator.rb#71 + # pkg:gem/activesupport#lib/active_support/messages/rotation_coordinator.rb:71 def normalize_options(options); end end -# source://activesupport//lib/active_support/messages/rotator.rb#5 +# pkg:gem/activesupport#lib/active_support/messages/rotator.rb:5 module ActiveSupport::Messages::Rotator - # source://activesupport//lib/active_support/messages/rotator.rb#6 + # pkg:gem/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#23 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:23 def fall_back_to(fallback); end - # source://activesupport//lib/active_support/messages/rotator.rb#18 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:18 def on_rotation(&on_rotation); end - # source://activesupport//lib/active_support/messages/rotator.rb#28 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:28 def read_message(message, on_rotation: T.unsafe(nil), **options); end - # source://activesupport//lib/active_support/messages/rotator.rb#14 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:14 def rotate(*args, **options); end private - # source://activesupport//lib/active_support/messages/rotator.rb#54 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:54 def build_rotation(*args, **options); end - # source://activesupport//lib/active_support/messages/rotator.rb#58 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:58 def catch_rotation_error(&block); end - # source://activesupport//lib/active_support/messages/rotator.rb#48 + # pkg:gem/activesupport#lib/active_support/messages/rotator.rb:48 def initialize_dup(*_arg0); end end -# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/messages/serializer_with_fallback.rb:107 module ActiveSupport::Messages::SerializerWithFallback::JsonWithFallbackAllowMarshal include ::ActiveSupport::Messages::SerializerWithFallback include ::ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback @@ -10362,59 +10365,59 @@ module ActiveSupport::Messages::SerializerWithFallback::JsonWithFallbackAllowMar extend ::ActiveSupport::Messages::SerializerWithFallback::JsonWithFallbackAllowMarshal end -# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#55 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/messages/serializer_with_fallback.rb:143 module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallbackAllowMarshal include ::ActiveSupport::Messages::SerializerWithFallback include ::ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallback @@ -10425,15 +10428,15 @@ module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallbackA extend ::ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallbackAllowMarshal end -# source://activesupport//lib/active_support/messages/serializer_with_fallback.rb#149 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/multibyte.rb:4 module ActiveSupport::Multibyte class << self # Returns the current proxy class. # - # source://activesupport//lib/active_support/multibyte.rb#23 + # pkg:gem/activesupport#lib/active_support/multibyte.rb:23 def proxy_class; end # The proxy class returned when calling mb_chars. You can use this accessor @@ -10443,7 +10446,7 @@ module ActiveSupport::Multibyte # # ActiveSupport::Multibyte.proxy_class = CharsForUTF32 # - # source://activesupport//lib/active_support/multibyte.rb#14 + # pkg:gem/activesupport#lib/active_support/multibyte.rb:14 def proxy_class=(klass); end end end @@ -10486,7 +10489,7 @@ end # # ActiveSupport::Multibyte.proxy_class = CharsForUTF32 # -# source://activesupport//lib/active_support/multibyte/chars.rb#47 +# pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:47 class ActiveSupport::Multibyte::Chars include ::Comparable @@ -10494,19 +10497,19 @@ class ActiveSupport::Multibyte::Chars # # @return [Chars] a new instance of Chars # - # source://activesupport//lib/active_support/multibyte/chars.rb#56 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:56 def initialize(string, deprecation: T.unsafe(nil)); end - # source://activesupport//lib/active_support/multibyte/chars.rb#53 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:53 def <=>(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/multibyte/chars.rb#53 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:53 def =~(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/multibyte/chars.rb#53 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:53 def acts_like_string?(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/multibyte/chars.rb#171 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:171 def as_json(options = T.unsafe(nil)); end # Performs composition on all the characters. @@ -10514,7 +10517,7 @@ class ActiveSupport::Multibyte::Chars # 'é'.length # => 1 # 'é'.mb_chars.compose.to_s.length # => 1 # - # source://activesupport//lib/active_support/multibyte/chars.rb#150 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:150 def compose; end # Performs canonical decomposition on all the characters. @@ -10522,7 +10525,7 @@ class ActiveSupport::Multibyte::Chars # 'é'.length # => 1 # 'é'.mb_chars.decompose.to_s.length # => 2 # - # source://activesupport//lib/active_support/multibyte/chars.rb#142 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:142 def decompose; end # Returns the number of grapheme clusters in the string. @@ -10530,7 +10533,7 @@ class ActiveSupport::Multibyte::Chars # 'क्षि'.mb_chars.length # => 4 # 'क्षि'.mb_chars.grapheme_length # => 2 # - # source://activesupport//lib/active_support/multibyte/chars.rb#158 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:158 def grapheme_length; end # Limits the byte size of the string to a number of bytes without breaking @@ -10539,25 +10542,25 @@ class ActiveSupport::Multibyte::Chars # # 'こんにちは'.mb_chars.limit(7).to_s # => "こん" # - # source://activesupport//lib/active_support/multibyte/chars.rb#125 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:125 def limit(limit); end - # source://activesupport//lib/active_support/multibyte/chars.rb#53 + # pkg:gem/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#72 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:72 def method_missing(method, *_arg1, **_arg2, &_arg3); end # Reverses all characters in the string. # # 'Café'.mb_chars.reverse.to_s # => 'éfaC' # - # source://activesupport//lib/active_support/multibyte/chars.rb#116 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:116 def reverse; end - # source://activesupport//lib/active_support/multibyte/chars.rb#176 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:176 def reverse!(*args); end # Works like String#slice!, but returns an instance of @@ -10570,7 +10573,7 @@ class ActiveSupport::Multibyte::Chars # string.mb_chars.slice!(0..3) # => # # string # => 'me' # - # source://activesupport//lib/active_support/multibyte/chars.rb#106 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:106 def slice!(*args); end # Works just like String#split, with the exception that the items @@ -10579,7 +10582,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#93 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:93 def split(*args); end # Replaces all ISO-8859-1 or CP1252 characters by their UTF-8 equivalent @@ -10588,10 +10591,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#167 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:167 def tidy_bytes(force = T.unsafe(nil)); end - # source://activesupport//lib/active_support/multibyte/chars.rb#176 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:176 def tidy_bytes!(*args); end # Capitalizes the first letter of every word, when possible. @@ -10599,7 +10602,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#136 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:136 def titlecase; end # Capitalizes the first letter of every word, when possible. @@ -10607,27 +10610,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#133 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:133 def titleize; end # Returns the value of attribute wrapped_string. # - # source://activesupport//lib/active_support/multibyte/chars.rb#50 + # pkg:gem/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#51 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:49 def wrapped_string; end private - # source://activesupport//lib/active_support/multibyte/chars.rb#183 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:183 def chars(string); end # Returns +true+ if _obj_ responds to the given method. Private methods @@ -10636,22 +10639,22 @@ class ActiveSupport::Multibyte::Chars # # @return [Boolean] # - # source://activesupport//lib/active_support/multibyte/chars.rb#84 + # pkg:gem/activesupport#lib/active_support/multibyte/chars.rb:84 def respond_to_missing?(method, include_private); end end -# source://activesupport//lib/active_support/multibyte/unicode.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -10660,18 +10663,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/multibyte/unicode.rb:9 ActiveSupport::Multibyte::Unicode::UNICODE_VERSION = T.let(T.unsafe(nil), String) # = \Notifications @@ -10863,13 +10866,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 +# pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:7 module ActiveSupport::Notifications class << self - # source://activesupport//lib/active_support/notifications.rb#208 + # pkg:gem/activesupport#lib/active_support/notifications.rb:208 def instrument(name, payload = T.unsafe(nil)); end - # source://activesupport//lib/active_support/notifications.rb#269 + # pkg:gem/activesupport#lib/active_support/notifications.rb:269 def instrumenter; end # Performs the same functionality as #subscribe, but the +start+ and @@ -10879,25 +10882,25 @@ module ActiveSupport::Notifications # duration is important. For example, computing elapsed time between # two events. # - # source://activesupport//lib/active_support/notifications.rb#254 + # pkg:gem/activesupport#lib/active_support/notifications.rb:254 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#198 + # pkg:gem/activesupport#lib/active_support/notifications.rb:198 def notifier; end # Sets the attribute notifier # # @param value the value to set the attribute notifier to. # - # source://activesupport//lib/active_support/notifications.rb#198 + # pkg:gem/activesupport#lib/active_support/notifications.rb:198 def notifier=(_arg0); end - # source://activesupport//lib/active_support/notifications.rb#200 + # pkg:gem/activesupport#lib/active_support/notifications.rb:200 def publish(name, *args); end - # source://activesupport//lib/active_support/notifications.rb#204 + # pkg:gem/activesupport#lib/active_support/notifications.rb:204 def publish_event(event); end # Subscribe to a given event name with the passed +block+. @@ -10928,39 +10931,39 @@ module ActiveSupport::Notifications # ActiveSupport::Notifications.subscribe(:render) {|event| ...} # #=> ArgumentError (pattern must be specified as a String, Regexp or empty) # - # source://activesupport//lib/active_support/notifications.rb#244 + # pkg:gem/activesupport#lib/active_support/notifications.rb:244 def subscribe(pattern = T.unsafe(nil), callback = T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/notifications.rb#258 + # pkg:gem/activesupport#lib/active_support/notifications.rb:258 def subscribed(callback, pattern = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/notifications.rb#265 + # pkg:gem/activesupport#lib/active_support/notifications.rb:265 def unsubscribe(subscriber_or_name); end private - # source://activesupport//lib/active_support/notifications.rb#274 + # pkg:gem/activesupport#lib/active_support/notifications.rb:274 def registry; end end end -# source://activesupport//lib/active_support/notifications/instrumenter.rb#106 +# pkg:gem/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 + # pkg:gem/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#176 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:176 def allocations; 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#163 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:163 def cpu_time; end # Returns the difference in milliseconds between when the execution of the @@ -10976,76 +10979,76 @@ class ActiveSupport::Notifications::Event # # @event.duration # => 1000.138 # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#198 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:198 def duration; end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#128 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:128 def end; end # Record information at the time this event finishes # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#154 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:154 def finish!; end # Returns the time spent in GC (in milliseconds) between the call to #start! # and the call to #finish! # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#182 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:182 def gc_time; end # Returns the idle time (in milliseconds) passed between the call to # #start! and the call to #finish!. # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#169 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:169 def idle_time; end # Returns the value of attribute name. # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#107 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:107 def name; end # Returns the value of attribute payload. # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#108 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:108 def payload=(_arg0); end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#132 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:132 def record; end # Record information at the time this event starts # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#146 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:146 def start!; end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#124 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:124 def time; end # Returns the value of attribute transaction_id. # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#107 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:107 def transaction_id; end private - # source://activesupport//lib/active_support/notifications/instrumenter.rb#203 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:203 def now; end # Likely on JRuby, TruffleRuby # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#230 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:230 def now_allocations; end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#210 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:210 def now_cpu; end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#220 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:220 def now_gc; end end @@ -11054,107 +11057,107 @@ end # # This class is thread safe. All methods are reentrant. # -# source://activesupport//lib/active_support/notifications/fanout.rb#55 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:55 class ActiveSupport::Notifications::Fanout include ::ActiveSupport::Notifications::FanoutIteration # @return [Fanout] a new instance of Fanout # - # source://activesupport//lib/active_support/notifications/fanout.rb#56 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:56 def initialize; end - # source://activesupport//lib/active_support/notifications/fanout.rb#319 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:319 def all_listeners_for(name); end - # source://activesupport//lib/active_support/notifications/fanout.rb#286 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:286 def build_handle(name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#106 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:106 def clear_cache(key = T.unsafe(nil)); end - # source://activesupport//lib/active_support/notifications/fanout.rb#305 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:305 def finish(name, id, payload, listeners = T.unsafe(nil)); end - # source://activesupport//lib/active_support/notifications/fanout.rb#190 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:190 def group_listeners(listeners); end - # source://activesupport//lib/active_support/notifications/fanout.rb#196 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:196 def groups_for(name); end - # source://activesupport//lib/active_support/notifications/fanout.rb#64 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:64 def inspect; end - # source://activesupport//lib/active_support/notifications/fanout.rb#328 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:328 def listeners_for(name); end # @return [Boolean] # - # source://activesupport//lib/active_support/notifications/fanout.rb#332 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:332 def listening?(name); end - # source://activesupport//lib/active_support/notifications/fanout.rb#311 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:311 def publish(name, *_arg1, **_arg2, &_arg3); end - # source://activesupport//lib/active_support/notifications/fanout.rb#315 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:315 def publish_event(event); end - # source://activesupport//lib/active_support/notifications/fanout.rb#298 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:298 def start(name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#69 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:69 def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end - # source://activesupport//lib/active_support/notifications/fanout.rb#86 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:86 def unsubscribe(subscriber_or_name); end # This is a sync queue, so there is no waiting. # - # source://activesupport//lib/active_support/notifications/fanout.rb#337 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:337 def wait; end end -# source://activesupport//lib/active_support/notifications/fanout.rb#116 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:116 class ActiveSupport::Notifications::Fanout::BaseGroup include ::ActiveSupport::Notifications::FanoutIteration # @return [BaseGroup] a new instance of BaseGroup # - # source://activesupport//lib/active_support/notifications/fanout.rb#119 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:119 def initialize(listeners, name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#123 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:123 def each(&block); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#128 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:128 class ActiveSupport::Notifications::Fanout::BaseTimeGroup < ::ActiveSupport::Notifications::Fanout::BaseGroup - # source://activesupport//lib/active_support/notifications/fanout.rb#133 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:133 def finish(name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#129 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:129 def start(name, id, payload); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#169 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:169 class ActiveSupport::Notifications::Fanout::EventObjectGroup < ::ActiveSupport::Notifications::Fanout::BaseGroup - # source://activesupport//lib/active_support/notifications/fanout.rb#175 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:175 def finish(name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#170 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:170 def start(name, id, payload); end private - # source://activesupport//lib/active_support/notifications/fanout.rb#185 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:185 def build_event(name, id, payload); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#155 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:155 class ActiveSupport::Notifications::Fanout::EventedGroup < ::ActiveSupport::Notifications::Fanout::BaseGroup - # source://activesupport//lib/active_support/notifications/fanout.rb#162 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:162 def finish(name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#156 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:156 def start(name, id, payload); end end @@ -11173,203 +11176,203 @@ end # handle.finish # end # -# source://activesupport//lib/active_support/notifications/fanout.rb#230 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:230 class ActiveSupport::Notifications::Fanout::Handle include ::ActiveSupport::Notifications::FanoutIteration # @return [Handle] a new instance of Handle # - # source://activesupport//lib/active_support/notifications/fanout.rb#233 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:233 def initialize(notifier, name, id, groups, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#250 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:250 def finish; end - # source://activesupport//lib/active_support/notifications/fanout.rb#254 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:254 def finish_with_values(name, id, payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#241 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:241 def start; end private - # source://activesupport//lib/active_support/notifications/fanout.rb#264 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:264 def ensure_state!(expected); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#141 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:141 class ActiveSupport::Notifications::Fanout::MonotonicTimedGroup < ::ActiveSupport::Notifications::Fanout::BaseTimeGroup private - # source://activesupport//lib/active_support/notifications/fanout.rb#143 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:143 def now; end end -# source://activesupport//lib/active_support/notifications/fanout.rb#271 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:271 module ActiveSupport::Notifications::Fanout::NullHandle extend ::ActiveSupport::Notifications::Fanout::NullHandle - # source://activesupport//lib/active_support/notifications/fanout.rb#277 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:277 def finish; end - # source://activesupport//lib/active_support/notifications/fanout.rb#280 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:280 def finish_with_values(_name, _id, _payload); end - # source://activesupport//lib/active_support/notifications/fanout.rb#274 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:274 def start; end end -# source://activesupport//lib/active_support/notifications/fanout.rb#340 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:340 module ActiveSupport::Notifications::Fanout::Subscribers class << self - # source://activesupport//lib/active_support/notifications/fanout.rb#341 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:341 def new(pattern, listener, monotonic); end end end -# source://activesupport//lib/active_support/notifications/fanout.rb#455 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:455 class ActiveSupport::Notifications::Fanout::Subscribers::EventObject < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented - # source://activesupport//lib/active_support/notifications/fanout.rb#456 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:456 def group_class; end - # source://activesupport//lib/active_support/notifications/fanout.rb#460 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:460 def publish_event(event); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#397 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:397 class ActiveSupport::Notifications::Fanout::Subscribers::Evented # @return [Evented] a new instance of Evented # - # source://activesupport//lib/active_support/notifications/fanout.rb#400 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:400 def initialize(pattern, delegate); end # Returns the value of attribute delegate. # - # source://activesupport//lib/active_support/notifications/fanout.rb#398 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:398 def delegate; end - # source://activesupport//lib/active_support/notifications/fanout.rb#408 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:408 def group_class; end # Returns the value of attribute pattern. # - # source://activesupport//lib/active_support/notifications/fanout.rb#398 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:398 def pattern; end - # source://activesupport//lib/active_support/notifications/fanout.rb#412 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:412 def publish(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/notifications/fanout.rb#418 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:418 def publish_event(event); end # Returns the value of attribute silenceable. # - # source://activesupport//lib/active_support/notifications/fanout.rb#398 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:398 def silenceable; end # @return [Boolean] # - # source://activesupport//lib/active_support/notifications/fanout.rb#426 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:426 def silenced?(name); end # @return [Boolean] # - # source://activesupport//lib/active_support/notifications/fanout.rb#430 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:430 def subscribed_to?(name); end - # source://activesupport//lib/active_support/notifications/fanout.rb#434 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:434 def unsubscribe!(name); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#360 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:360 class ActiveSupport::Notifications::Fanout::Subscribers::Matcher # @return [Matcher] a new instance of Matcher # - # source://activesupport//lib/active_support/notifications/fanout.rb#373 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:373 def initialize(pattern); end - # source://activesupport//lib/active_support/notifications/fanout.rb#382 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:382 def ===(name); end # Returns the value of attribute exclusions. # - # source://activesupport//lib/active_support/notifications/fanout.rb#361 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:361 def exclusions; end # Returns the value of attribute pattern. # - # source://activesupport//lib/active_support/notifications/fanout.rb#361 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:361 def pattern; end - # source://activesupport//lib/active_support/notifications/fanout.rb#378 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:378 def unsubscribe!(name); end class << self - # source://activesupport//lib/active_support/notifications/fanout.rb#363 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:363 def wrap(pattern); end end end -# source://activesupport//lib/active_support/notifications/fanout.rb#386 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:386 class ActiveSupport::Notifications::Fanout::Subscribers::Matcher::AllMessages - # source://activesupport//lib/active_support/notifications/fanout.rb#387 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:387 def ===(name); end - # source://activesupport//lib/active_support/notifications/fanout.rb#391 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:391 def unsubscribe!(*_arg0); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#449 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:449 class ActiveSupport::Notifications::Fanout::Subscribers::MonotonicTimed < ::ActiveSupport::Notifications::Fanout::Subscribers::Timed - # source://activesupport//lib/active_support/notifications/fanout.rb#450 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:450 def group_class; end end -# source://activesupport//lib/active_support/notifications/fanout.rb#439 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:439 class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ::ActiveSupport::Notifications::Fanout::Subscribers::Evented - # source://activesupport//lib/active_support/notifications/fanout.rb#440 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:440 def group_class; end - # source://activesupport//lib/active_support/notifications/fanout.rb#444 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:444 def publish(*_arg0, **_arg1, &_arg2); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#148 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:148 class ActiveSupport::Notifications::Fanout::TimedGroup < ::ActiveSupport::Notifications::Fanout::BaseTimeGroup private - # source://activesupport//lib/active_support/notifications/fanout.rb#150 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:150 def now; end end -# source://activesupport//lib/active_support/notifications/fanout.rb#18 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:18 module ActiveSupport::Notifications::FanoutIteration private - # source://activesupport//lib/active_support/notifications/fanout.rb#20 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:20 def iterate_guarding_exceptions(collection, &block); end end -# source://activesupport//lib/active_support/notifications/fanout.rb#8 +# pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:8 class ActiveSupport::Notifications::InstrumentationSubscriberError < ::RuntimeError # @return [InstrumentationSubscriberError] a new instance of InstrumentationSubscriberError # - # source://activesupport//lib/active_support/notifications/fanout.rb#11 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:11 def initialize(exceptions); end # Returns the value of attribute exceptions. # - # source://activesupport//lib/active_support/notifications/fanout.rb#9 + # pkg:gem/activesupport#lib/active_support/notifications/fanout.rb:9 def exceptions; end end # Instrumenters are stored in a thread local. # -# source://activesupport//lib/active_support/notifications/instrumenter.rb#9 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:12 def initialize(notifier); end # Returns a "handle" for an event with the given +name+ and +payload+. @@ -11383,20 +11386,20 @@ class ActiveSupport::Notifications::Instrumenter # # See ActiveSupport::Notifications::Fanout::Handle. # - # source://activesupport//lib/active_support/notifications/instrumenter.rb#78 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:92 def finish(name, payload); end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#96 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:10 def id; end # Given a block, instrument it by measuring the time taken to execute @@ -11404,51 +11407,51 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:87 def start(name, payload); end private - # source://activesupport//lib/active_support/notifications/instrumenter.rb#101 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:101 def unique_id; end end -# source://activesupport//lib/active_support/notifications/instrumenter.rb#21 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:34 def initialize(notifier, name, id, payload); end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#45 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:45 def finish; end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#41 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:41 def start; end end -# source://activesupport//lib/active_support/notifications/instrumenter.rb#22 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:23 def initialize(notifier); end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#27 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:27 def build_handle(name, id, payload); end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#31 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:31 def finish(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/notifications/instrumenter.rb#31 + # pkg:gem/activesupport#lib/active_support/notifications/instrumenter.rb:31 def start(*_arg0, **_arg1, &_arg2); end end @@ -11475,7 +11478,7 @@ end # end # end # -# source://activesupport//lib/active_support/number_helper.rb#26 +# pkg:gem/activesupport#lib/active_support/number_helper.rb:26 module ActiveSupport::NumberHelper extend ::ActiveSupport::Autoload extend ::ActiveSupport::NumberHelper @@ -11549,7 +11552,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#161 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:161 def number_to_currency(number, options = T.unsafe(nil)); end # Formats +number+ by grouping thousands with a delimiter. @@ -11589,7 +11592,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#264 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:264 def number_to_delimited(number, options = T.unsafe(nil)); end # Formats +number+ into a more human-friendly representation. Useful for @@ -11690,7 +11693,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#475 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:475 def number_to_human(number, options = T.unsafe(nil)); end # Formats +number+ as bytes into a more human-friendly representation. @@ -11742,7 +11745,7 @@ module ActiveSupport::NumberHelper # Whether to remove insignificant zeros after the decimal separator. # Defaults to true. # - # source://activesupport//lib/active_support/number_helper.rb#373 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:373 def number_to_human_size(number, options = T.unsafe(nil)); end # Formats +number+ as a percentage string. @@ -11803,7 +11806,7 @@ module ActiveSupport::NumberHelper # number_to_percentage(100, format: "%n %") # # => "100.000 %" # - # source://activesupport//lib/active_support/number_helper.rb#223 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:223 def number_to_percentage(number, options = T.unsafe(nil)); end # Formats +number+ into a phone number. @@ -11851,7 +11854,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#88 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:88 def number_to_phone(number, options = T.unsafe(nil)); end # Formats +number+ to a specific level of precision. @@ -11906,363 +11909,363 @@ 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#320 + # pkg:gem/activesupport#lib/active_support/number_helper.rb:320 def number_to_rounded(number, options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/number_helper/number_converter.rb#12 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:130 def execute; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:14 def namespace; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:19 def opts; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:141 def options; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#170 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:14 def namespace; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:14 def namespace?; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#14 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:14 def __class_attr_namespace; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#14 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:14 def __class_attr_namespace=(new_value); end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:17 def __class_attr_validate_float; end - # source://activesupport//lib/active_support/number_helper/number_converter.rb#17 + # pkg:gem/activesupport#lib/active_support/number_helper/number_converter.rb:17 def __class_attr_validate_float=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/number_converter.rb#21 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_currency_converter.rb:29 def options; end class << self private - # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_currency_converter.rb:8 def __class_attr_namespace; end - # source://activesupport//lib/active_support/number_helper/number_to_currency_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_currency_converter.rb:8 def __class_attr_namespace=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_delimited_converter.rb:17 def parts; end class << self private - # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_delimited_converter.rb:8 def __class_attr_validate_float; end - # source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_delimited_converter.rb:8 def __class_attr_validate_float=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/number_to_delimited_converter.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_converter.rb:55 def unit_exponents(units); end class << self private - # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#12 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_converter.rb:12 def __class_attr_namespace; end - # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#12 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_converter.rb:12 def __class_attr_namespace=(new_value); end - # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#13 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_converter.rb:13 def __class_attr_validate_float; end - # source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#13 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_converter.rb:13 def __class_attr_validate_float=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/number_to_human_converter.rb#8 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_size_converter.rb:35 def unit; end class << self private - # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#10 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_size_converter.rb:10 def __class_attr_namespace; end - # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#10 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_size_converter.rb:10 def __class_attr_namespace=(new_value); end - # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_size_converter.rb:11 def __class_attr_validate_float; end - # source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#11 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_human_size_converter.rb:11 def __class_attr_validate_float=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/number_to_human_size_converter.rb#8 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_percentage_converter.rb:10 def convert; end class << self private - # source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_percentage_converter.rb:8 def __class_attr_namespace; end - # source://activesupport//lib/active_support/number_helper/number_to_percentage_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_percentage_converter.rb:8 def __class_attr_namespace=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/number_to_phone_converter.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_rounded_converter.rb:45 def strip_insignificant_zeros; end class << self private - # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_rounded_converter.rb:8 def __class_attr_namespace; end - # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#8 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_rounded_converter.rb:8 def __class_attr_namespace=(new_value); end - # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#9 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_rounded_converter.rb:9 def __class_attr_validate_float; end - # source://activesupport//lib/active_support/number_helper/number_to_rounded_converter.rb#9 + # pkg:gem/activesupport#lib/active_support/number_helper/number_to_rounded_converter.rb:9 def __class_attr_validate_float=(new_value); end end end -# source://activesupport//lib/active_support/number_helper/rounding_helper.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/number_helper/rounding_helper.rb:6 def options; end - # source://activesupport//lib/active_support/number_helper/rounding_helper.rb#12 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/numeric/conversions.rb:7 module ActiveSupport::NumericWithFormat # \Numeric With Format # @@ -12370,7 +12373,7 @@ module ActiveSupport::NumericWithFormat # separator: ',', # significant: false) # => "1,2 Million" # - # source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#139 + # pkg:gem/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 @@ -12479,25 +12482,25 @@ module ActiveSupport::NumericWithFormat # separator: ',', # significant: false) # => "1,2 Million" # - # source://activesupport//lib/active_support/core_ext/numeric/conversions.rb#113 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/option_merger.rb:11 def initialize(context, options); end private - # source://activesupport//lib/active_support/option_merger.rb#16 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/option_merger.rb:34 def respond_to_missing?(*_arg0, **_arg1, &_arg2); end end @@ -12516,28 +12519,28 @@ end # +ActiveSupport::OrderedHash+ is namespaced to prevent conflicts # with other implementations. # -# source://activesupport//lib/active_support/ordered_hash.rb#24 +# pkg:gem/activesupport#lib/active_support/ordered_hash.rb:24 class ActiveSupport::OrderedHash < ::Hash - # source://activesupport//lib/active_support/ordered_hash.rb#29 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/ordered_hash.rb:46 def extractable_options?; end - # source://activesupport//lib/active_support/ordered_hash.rb#41 + # pkg:gem/activesupport#lib/active_support/ordered_hash.rb:41 def nested_under_indifferent_access; end - # source://activesupport//lib/active_support/ordered_hash.rb#37 + # pkg:gem/activesupport#lib/active_support/ordered_hash.rb:37 def reject(*args, &block); end - # source://activesupport//lib/active_support/ordered_hash.rb#33 + # pkg:gem/activesupport#lib/active_support/ordered_hash.rb:33 def select(*args, &block); end - # source://activesupport//lib/active_support/ordered_hash.rb#25 + # pkg:gem/activesupport#lib/active_support/ordered_hash.rb:25 def to_yaml_type; end end @@ -12568,40 +12571,40 @@ end # # h.dog! # => raises KeyError: :dog is blank # -# source://activesupport//lib/active_support/ordered_options.rb#33 +# pkg:gem/activesupport#lib/active_support/ordered_options.rb:33 class ActiveSupport::OrderedOptions < ::Hash - # source://activesupport//lib/active_support/ordered_options.rb#41 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:41 def [](key); end - # source://activesupport//lib/active_support/ordered_options.rb#37 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:37 def []=(key, value); end - # source://activesupport//lib/active_support/ordered_options.rb#45 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:45 def dig(key, *identifiers); end # @return [Boolean] # - # source://activesupport//lib/active_support/ordered_options.rb#64 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:64 def extractable_options?; end - # source://activesupport//lib/active_support/ordered_options.rb#68 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:68 def inspect; end - # source://activesupport//lib/active_support/ordered_options.rb#49 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:49 def method_missing(method, *args); end protected # preserve the original #[] method # - # source://activesupport//lib/active_support/ordered_options.rb#34 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:34 def _get(_arg0); end private # @return [Boolean] # - # source://activesupport//lib/active_support/ordered_options.rb#60 + # pkg:gem/activesupport#lib/active_support/ordered_options.rb:60 def respond_to_missing?(name, include_private); end end @@ -12637,7 +12640,7 @@ end # v.reverse! if /secret/i.match?(k) # end]) # -# source://activesupport//lib/active_support/parameter_filter.rb#39 +# pkg:gem/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+. @@ -12649,28 +12652,28 @@ class ActiveSupport::ParameterFilter # # @return [ParameterFilter] a new instance of ParameterFilter # - # source://activesupport//lib/active_support/parameter_filter.rb#77 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/parameter_filter.rb:88 def filter_param(key, value); end private - # source://activesupport//lib/active_support/parameter_filter.rb#125 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/parameter_filter.rb:93 def compile_filters!(filters); end - # source://activesupport//lib/active_support/parameter_filter.rb#135 + # pkg:gem/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 @@ -12687,20 +12690,20 @@ class ActiveSupport::ParameterFilter # # ActiveSupport::ParameterFilter.new(precompiled) # - # source://activesupport//lib/active_support/parameter_filter.rb#55 + # pkg:gem/activesupport#lib/active_support/parameter_filter.rb:55 def precompile_filters(filters); end end end -# source://activesupport//lib/active_support/parameter_filter.rb#40 +# pkg:gem/activesupport#lib/active_support/parameter_filter.rb:40 ActiveSupport::ParameterFilter::FILTERED = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/railtie.rb#7 +# pkg:gem/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 +# pkg:gem/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. # @@ -12724,7 +12727,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#58 + # pkg:gem/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. @@ -12749,11 +12752,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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/range/conversions.rb:6 ActiveSupport::RangeWithFormat::RANGE_FORMATS = T.let(T.unsafe(nil), Hash) # = Active Support \Reloader @@ -12777,158 +12780,158 @@ 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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/reloader.rb:99 def initialize; end - # source://activesupport//lib/active_support/reloader.rb#31 + # pkg:gem/activesupport#lib/active_support/reloader.rb:31 def _class_unload_callbacks; end - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/activesupport#lib/active_support/reloader.rb:29 def _prepare_callbacks; end - # source://activesupport//lib/active_support/reloader.rb#31 + # pkg:gem/activesupport#lib/active_support/reloader.rb:31 def _run_class_unload_callbacks; end - # source://activesupport//lib/active_support/reloader.rb#31 + # pkg:gem/activesupport#lib/active_support/reloader.rb:31 def _run_class_unload_callbacks!(&block); end - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/activesupport#lib/active_support/reloader.rb:29 def _run_prepare_callbacks; end - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/activesupport#lib/active_support/reloader.rb:29 def _run_prepare_callbacks!(&block); end - # source://activesupport//lib/active_support/reloader.rb#48 + # pkg:gem/activesupport#lib/active_support/reloader.rb:48 def _run_run_callbacks(&block); end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def check; end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def check=(_arg0); end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def check?; end - # source://activesupport//lib/active_support/reloader.rb#126 + # pkg:gem/activesupport#lib/active_support/reloader.rb:126 def class_unload!(&block); end - # source://activesupport//lib/active_support/reloader.rb#131 + # pkg:gem/activesupport#lib/active_support/reloader.rb:131 def complete!; end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def executor; end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def executor=(_arg0); end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/reloader.rb:106 def require_unload_lock!; end - # source://activesupport//lib/active_support/reloader.rb#121 + # pkg:gem/activesupport#lib/active_support/reloader.rb:121 def run!; end class << self - # source://activesupport//lib/active_support/reloader.rb#31 + # pkg:gem/activesupport#lib/active_support/reloader.rb:31 def _class_unload_callbacks; end - # source://activesupport//lib/active_support/reloader.rb#31 + # pkg:gem/activesupport#lib/active_support/reloader.rb:31 def _class_unload_callbacks=(value); end - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/activesupport#lib/active_support/reloader.rb:29 def _prepare_callbacks; end - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/reloader.rb:39 def before_class_unload(*args, &block); end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def check; end - # source://activesupport//lib/active_support/reloader.rb#87 + # pkg:gem/activesupport#lib/active_support/reloader.rb:87 def check!; end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def check=(value); end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def check?; end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def executor; end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def executor=(value); end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def executor?; end - # source://activesupport//lib/active_support/reloader.rb#95 + # pkg:gem/activesupport#lib/active_support/reloader.rb:95 def prepare!; end # Initiate a manual reload # - # source://activesupport//lib/active_support/reloader.rb#51 + # pkg:gem/activesupport#lib/active_support/reloader.rb:51 def reload!; end - # source://activesupport//lib/active_support/reloader.rb#91 + # pkg:gem/activesupport#lib/active_support/reloader.rb:91 def reloaded!; end - # source://activesupport//lib/active_support/reloader.rb#62 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/reloader.rb:71 def wrap(**kwargs); end private - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/activesupport#lib/active_support/reloader.rb:29 def __class_attr___callbacks; end - # source://activesupport//lib/active_support/reloader.rb#29 + # pkg:gem/activesupport#lib/active_support/reloader.rb:29 def __class_attr___callbacks=(new_value); end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def __class_attr_check; end - # source://activesupport//lib/active_support/reloader.rb#85 + # pkg:gem/activesupport#lib/active_support/reloader.rb:85 def __class_attr_check=(new_value); end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def __class_attr_executor; end - # source://activesupport//lib/active_support/reloader.rb#84 + # pkg:gem/activesupport#lib/active_support/reloader.rb:84 def __class_attr_executor=(new_value); end end end @@ -12937,7 +12940,7 @@ end # # Rescuable module adds support for easier exception handling. # -# source://activesupport//lib/active_support/rescuable.rb#11 +# pkg:gem/activesupport#lib/active_support/rescuable.rb:11 module ActiveSupport::Rescuable extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -12948,13 +12951,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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/rescuable.rb:166 def rescue_with_handler(exception); end module GeneratedClassMethods @@ -12970,9 +12973,9 @@ module ActiveSupport::Rescuable end end -# source://activesupport//lib/active_support/rescuable.rb#18 +# pkg:gem/activesupport#lib/active_support/rescuable.rb:18 module ActiveSupport::Rescuable::ClassMethods - # source://activesupport//lib/active_support/rescuable.rb#105 + # pkg:gem/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. @@ -13010,7 +13013,7 @@ module ActiveSupport::Rescuable::ClassMethods # # Exceptions raised inside exception handlers are not propagated up. # - # source://activesupport//lib/active_support/rescuable.rb#53 + # pkg:gem/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. @@ -13028,256 +13031,256 @@ 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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/rescuable.rb:139 def constantize_rescue_handler_class(class_or_name); end - # source://activesupport//lib/active_support/rescuable.rb#124 + # pkg:gem/activesupport#lib/active_support/rescuable.rb:124 def find_rescue_handler(exception); end end -# source://activesupport//lib/active_support/core_ext/string/output_safety.rb#19 +# pkg:gem/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 + # pkg:gem/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#124 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:124 def %(args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#115 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:115 def *(_); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#111 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:111 def +(other); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#85 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:85 def <<(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#38 + # pkg:gem/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#103 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:103 def []=(arg1, arg2, arg3 = T.unsafe(nil)); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#143 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:143 def as_json(*_arg0); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#87 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:87 def bytesplice(*args, value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def capitalize(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def capitalize!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def chomp(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def chomp!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def chop(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def chop!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#59 + # pkg:gem/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#79 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:79 def concat(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def delete(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def delete!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def delete_prefix(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def delete_prefix!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def delete_suffix(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def delete_suffix!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def downcase(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def downcase!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#151 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:151 def encode_with(coder); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#171 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:171 def gsub(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#171 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:171 def gsub!(*args, &block); end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#135 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:135 def html_safe?; end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#91 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:91 def insert(index, value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def lstrip(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def lstrip!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def next(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def next!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#95 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:95 def prepend(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#99 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:99 def replace(value); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def reverse(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def reverse!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def rstrip(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def rstrip!(*args); end # @raise [SafeConcatError] # - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#65 + # pkg:gem/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#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def scrub(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def scrub!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#49 + # pkg:gem/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 + # pkg:gem/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#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def squeeze(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def squeeze!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def strip(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def strip!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#171 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:171 def sub(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#171 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:171 def sub!(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def succ(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def succ!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def swapcase(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def swapcase!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#147 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:147 def to_param; end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#139 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:139 def to_s; end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def tr(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def tr!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def tr_s(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def tr_s!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def unicode_normalize(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def unicode_normalize!(*args); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def upcase(*args, &block); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#157 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:157 def upcase!(*args); end private - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#198 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:198 def explicit_html_escape_interpolated_argument(arg); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#202 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:202 def implicit_html_escape_interpolated_argument(arg); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#74 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:74 def initialize_copy(other); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#28 + # pkg:gem/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#210 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:210 def set_block_back_references(block, match_data); end - # source://activesupport//lib/active_support/core_ext/string/output_safety.rb#216 + # pkg:gem/activesupport#lib/active_support/core_ext/string/output_safety.rb:216 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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -13306,31 +13309,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/secure_compare_rotator.rb:43 def rotate(previous_value); end - # source://activesupport//lib/active_support/secure_compare_rotator.rb#47 + # pkg:gem/activesupport#lib/active_support/secure_compare_rotator.rb:47 def secure_compare!(other_value, on_rotation: T.unsafe(nil)); end end +# pkg:gem/activesupport#lib/active_support/secure_compare_rotator.rb:35 class ActiveSupport::SecureCompareRotator::InvalidMatch < ::StandardError; end -# source://activesupport//lib/active_support/security_utils.rb#4 +# pkg:gem/activesupport#lib/active_support/security_utils.rb:4 module ActiveSupport::SecurityUtils private # @raise [ArgumentError] # - # source://activesupport//lib/active_support/security_utils.rb#11 + # pkg:gem/activesupport#lib/active_support/security_utils.rb:11 def fixed_length_secure_compare(a, b); end # Secure string comparison for strings of variable length. @@ -13340,13 +13344,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 + # pkg:gem/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#25 + # pkg:gem/activesupport#lib/active_support/security_utils.rb:25 def fixed_length_secure_compare(a, b); end # Secure string comparison for strings of variable length. @@ -13356,7 +13360,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#36 + # pkg:gem/activesupport#lib/active_support/security_utils.rb:36 def secure_compare(a, b); end end end @@ -13379,16 +13383,16 @@ end # vehicle.car? # => true # vehicle.bike? # => false # -# source://activesupport//lib/active_support/string_inquirer.rb#21 +# pkg:gem/activesupport#lib/active_support/string_inquirer.rb:21 class ActiveSupport::StringInquirer < ::String private - # source://activesupport//lib/active_support/string_inquirer.rb#27 + # pkg:gem/activesupport#lib/active_support/string_inquirer.rb:27 def method_missing(method_name, *_arg1, **_arg2, &_arg3); end # @return [Boolean] # - # source://activesupport//lib/active_support/string_inquirer.rb#23 + # pkg:gem/activesupport#lib/active_support/string_inquirer.rb:23 def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end end @@ -13418,19 +13422,19 @@ end # it will properly dispatch the event (+ActiveSupport::Notifications::Event+) to the +start_processing+ method. # The subscriber can then emit a structured event via the +emit_event+ method. # -# source://activesupport//lib/active_support/structured_event_subscriber.rb#31 +# pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:31 class ActiveSupport::StructuredEventSubscriber < ::ActiveSupport::Subscriber # @return [StructuredEventSubscriber] a new instance of StructuredEventSubscriber # - # source://activesupport//lib/active_support/structured_event_subscriber.rb#56 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:56 def initialize; end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#88 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:88 def call(event); end # Like +emit_event+, but only emits when the event reporter is in debug mode # - # source://activesupport//lib/active_support/structured_event_subscriber.rb#82 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:82 def emit_debug_event(name, payload = T.unsafe(nil), caller_depth: T.unsafe(nil), **kwargs); end # Emit a structured event via Rails.event.notify. @@ -13442,52 +13446,52 @@ class ActiveSupport::StructuredEventSubscriber < ::ActiveSupport::Subscriber # * +caller_depth+ - Stack depth for source location (default: 1) # * +kwargs+ - Additional payload data merged with the payload hash # - # source://activesupport//lib/active_support/structured_event_subscriber.rb#75 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:75 def emit_event(name, payload = T.unsafe(nil), caller_depth: T.unsafe(nil), **kwargs); end # @return [Boolean] # - # source://activesupport//lib/active_support/structured_event_subscriber.rb#61 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:61 def silenced?(event); end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#65 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:65 def silenced_events=(_arg0); end private - # source://activesupport//lib/active_support/structured_event_subscriber.rb#95 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:95 def handle_event_error(name, error); end class << self - # source://activesupport//lib/active_support/structured_event_subscriber.rb#37 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:37 def attach_to(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#32 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:32 def debug_methods; end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#32 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:32 def debug_methods=(value); end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#32 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:32 def debug_methods?; end private - # source://activesupport//lib/active_support/structured_event_subscriber.rb#32 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:32 def __class_attr_debug_methods; end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#32 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:32 def __class_attr_debug_methods=(new_value); end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#50 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:50 def debug_only(method); end - # source://activesupport//lib/active_support/structured_event_subscriber.rb#44 + # pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:44 def set_silenced_events; end end end -# source://activesupport//lib/active_support/structured_event_subscriber.rb#34 +# pkg:gem/activesupport#lib/active_support/structured_event_subscriber.rb:34 ActiveSupport::StructuredEventSubscriber::DEBUG_CHECK = T.let(T.unsafe(nil), Proc) # = Active Support \Subscriber @@ -13517,78 +13521,78 @@ ActiveSupport::StructuredEventSubscriber::DEBUG_CHECK = T.let(T.unsafe(nil), Pro # # ActiveRecord::StatsSubscriber.detach_from(:active_record) # -# source://activesupport//lib/active_support/subscriber.rb#32 +# pkg:gem/activesupport#lib/active_support/subscriber.rb:32 class ActiveSupport::Subscriber # @return [Subscriber] a new instance of Subscriber # - # source://activesupport//lib/active_support/subscriber.rb#70 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:70 def initialize; end - # source://activesupport//lib/active_support/subscriber.rb#70 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:70 def call(event); end - # source://activesupport//lib/active_support/subscriber.rb#70 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:70 def patterns; end class << self # Attach the subscriber to a namespace. # - # source://activesupport//lib/active_support/subscriber.rb#35 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:69 def method_added(event); end - # source://activesupport//lib/active_support/subscriber.rb#79 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:79 def subscribers; end private - # source://activesupport//lib/active_support/subscriber.rb#86 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:86 def add_event_subscriber(event); end - # source://activesupport//lib/active_support/subscriber.rb#124 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:124 def fetch_public_methods(subscriber, inherit_all); end - # source://activesupport//lib/active_support/subscriber.rb#108 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:108 def find_attached_subscriber; end # @return [Boolean] # - # source://activesupport//lib/active_support/subscriber.rb#112 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:112 def invalid_event?(event); end # Returns the value of attribute namespace. # - # source://activesupport//lib/active_support/subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:84 def namespace; end # Returns the value of attribute notifier. # - # source://activesupport//lib/active_support/subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:84 def notifier; end # @return [Boolean] # - # source://activesupport//lib/active_support/subscriber.rb#120 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:120 def pattern_subscribed?(pattern); end - # source://activesupport//lib/active_support/subscriber.rb#116 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:116 def prepare_pattern(event); end - # source://activesupport//lib/active_support/subscriber.rb#97 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:97 def remove_event_subscriber(event); end # Returns the value of attribute subscriber. # - # source://activesupport//lib/active_support/subscriber.rb#84 + # pkg:gem/activesupport#lib/active_support/subscriber.rb:84 def subscriber; end end end @@ -13598,63 +13602,63 @@ 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 +# pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:10 class ActiveSupport::SyntaxErrorProxy - # source://activesupport//lib/active_support/syntax_error_proxy.rb#11 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:11 def backtrace; end - # source://activesupport//lib/active_support/syntax_error_proxy.rb#37 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:37 def backtrace_locations; end private - # source://activesupport//lib/active_support/syntax_error_proxy.rb#50 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:50 def parse_message_for_trace; end end -# source://activesupport//lib/active_support/syntax_error_proxy.rb#15 +# pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:15 class ActiveSupport::SyntaxErrorProxy::BacktraceLocation < ::Struct - # source://activesupport//lib/active_support/syntax_error_proxy.rb#22 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:22 def base_label; end - # source://activesupport//lib/active_support/syntax_error_proxy.rb#19 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:19 def label; end - # source://activesupport//lib/active_support/syntax_error_proxy.rb#16 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:16 def spot(_); end end -# source://activesupport//lib/active_support/syntax_error_proxy.rb#26 +# pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:26 class ActiveSupport::SyntaxErrorProxy::BacktraceLocationProxy # @return [BacktraceLocationProxy] a new instance of BacktraceLocationProxy # - # source://activesupport//lib/active_support/syntax_error_proxy.rb#27 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:27 def initialize(loc, ex); end - # source://activesupport//lib/active_support/syntax_error_proxy.rb#32 + # pkg:gem/activesupport#lib/active_support/syntax_error_proxy.rb:32 def spot(_); end end -# source://activesupport//lib/active_support/event_reporter.rb#6 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:6 class ActiveSupport::TagStack class << self - # source://activesupport//lib/active_support/event_reporter.rb#11 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:11 def tags; end - # source://activesupport//lib/active_support/event_reporter.rb#15 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:15 def with_tags(*args, **kwargs); end private - # source://activesupport//lib/active_support/event_reporter.rb#30 + # pkg:gem/activesupport#lib/active_support/event_reporter.rb:30 def resolve_tags(args, kwargs); end end end -# source://activesupport//lib/active_support/event_reporter.rb#7 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:7 ActiveSupport::TagStack::EMPTY_TAGS = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/event_reporter.rb#8 +# pkg:gem/activesupport#lib/active_support/event_reporter.rb:8 ActiveSupport::TagStack::FIBER_KEY = T.let(T.unsafe(nil), Symbol) # = Active Support Tagged Logging @@ -13679,111 +13683,111 @@ ActiveSupport::TagStack::FIBER_KEY = T.let(T.unsafe(nil), Symbol) # 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#29 +# pkg:gem/activesupport#lib/active_support/tagged_logging.rb:29 module ActiveSupport::TaggedLogging - # source://activesupport//lib/active_support/tagged_logging.rb#139 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:139 def clear_tags!(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/tagged_logging.rb#152 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:152 def flush; end - # source://activesupport//lib/active_support/tagged_logging.rb#139 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:139 def pop_tags(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/tagged_logging.rb#139 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:139 def push_tags(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/tagged_logging.rb#141 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:141 def tagged(*tags); end class << self # Returns an `ActiveSupport::Logger` that has already been wrapped with tagged logging concern. # - # source://activesupport//lib/active_support/tagged_logging.rb#117 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:117 def logger(*args, **kwargs); end - # source://activesupport//lib/active_support/tagged_logging.rb#121 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:121 def new(logger); end end end -# source://activesupport//lib/active_support/tagged_logging.rb#30 +# pkg:gem/activesupport#lib/active_support/tagged_logging.rb:30 module ActiveSupport::TaggedLogging::Formatter # This method is invoked when a log event occurs. # - # source://activesupport//lib/active_support/tagged_logging.rb#32 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:32 def call(severity, timestamp, progname, msg); end - # source://activesupport//lib/active_support/tagged_logging.rb#51 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:51 def clear_tags!; end - # source://activesupport//lib/active_support/tagged_logging.rb#61 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:61 def current_tags; end - # source://activesupport//lib/active_support/tagged_logging.rb#47 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:47 def pop_tags(count = T.unsafe(nil)); end - # source://activesupport//lib/active_support/tagged_logging.rb#43 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:43 def push_tags(*tags); end - # source://activesupport//lib/active_support/tagged_logging.rb#55 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:55 def tag_stack; end - # source://activesupport//lib/active_support/tagged_logging.rb#36 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:36 def tagged(*tags); end - # source://activesupport//lib/active_support/tagged_logging.rb#65 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:65 def tags_text; end end -# source://activesupport//lib/active_support/tagged_logging.rb#108 +# pkg:gem/activesupport#lib/active_support/tagged_logging.rb:108 module ActiveSupport::TaggedLogging::LocalTagStorage # Returns the value of attribute tag_stack. # - # source://activesupport//lib/active_support/tagged_logging.rb#109 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:109 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#109 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:109 def tag_stack=(_arg0); end class << self # @private # - # source://activesupport//lib/active_support/tagged_logging.rb#111 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:111 def extended(base); end end end -# source://activesupport//lib/active_support/tagged_logging.rb#70 +# pkg:gem/activesupport#lib/active_support/tagged_logging.rb:70 class ActiveSupport::TaggedLogging::TagStack # @return [TagStack] a new instance of TagStack # - # source://activesupport//lib/active_support/tagged_logging.rb#73 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:73 def initialize; end - # source://activesupport//lib/active_support/tagged_logging.rb#91 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:91 def clear; end - # source://activesupport//lib/active_support/tagged_logging.rb#96 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:96 def format_message(message); end - # source://activesupport//lib/active_support/tagged_logging.rb#86 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:86 def pop_tags(count); end - # source://activesupport//lib/active_support/tagged_logging.rb#78 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:78 def push_tags(tags); end # Returns the value of attribute tags. # - # source://activesupport//lib/active_support/tagged_logging.rb#71 + # pkg:gem/activesupport#lib/active_support/tagged_logging.rb:71 def tags; end end -# source://activesupport//lib/active_support/test_case.rb#23 +# pkg:gem/activesupport#lib/active_support/test_case.rb:23 class ActiveSupport::TestCase < ::Minitest::Test include ::ActiveSupport::Testing::SetupAndTeardown include ::ActiveSupport::Testing::TestsWithoutAssertions @@ -13802,109 +13806,109 @@ class ActiveSupport::TestCase < ::Minitest::Test extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods extend ::ActiveSupport::Testing::Declarative - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def __callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _run_setup_callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _run_setup_callbacks!(&block); end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _run_teardown_callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _run_teardown_callbacks!(&block); end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _setup_callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _teardown_callbacks; end - # source://activesupport//lib/active_support/test_case.rb#296 + # pkg:gem/activesupport#lib/active_support/test_case.rb:296 def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#219 + # pkg:gem/activesupport#lib/active_support/test_case.rb:219 def assert_not_empty(obj, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#230 + # pkg:gem/activesupport#lib/active_support/test_case.rb:230 def assert_not_equal(exp, act, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#241 + # pkg:gem/activesupport#lib/active_support/test_case.rb:241 def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#252 + # pkg:gem/activesupport#lib/active_support/test_case.rb:252 def assert_not_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#263 + # pkg:gem/activesupport#lib/active_support/test_case.rb:263 def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#274 + # pkg:gem/activesupport#lib/active_support/test_case.rb:274 def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#285 + # pkg:gem/activesupport#lib/active_support/test_case.rb:285 def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#307 + # pkg:gem/activesupport#lib/active_support/test_case.rb:307 def assert_not_nil(obj, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#318 + # pkg:gem/activesupport#lib/active_support/test_case.rb:318 def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#329 + # pkg:gem/activesupport#lib/active_support/test_case.rb:329 def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#340 + # pkg:gem/activesupport#lib/active_support/test_case.rb:340 def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#351 + # pkg:gem/activesupport#lib/active_support/test_case.rb:351 def assert_not_same(exp, act, msg = T.unsafe(nil)); end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def file_fixture_path; end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def file_fixture_path?; end - # source://activesupport//lib/active_support/test_case.rb#355 + # pkg:gem/activesupport#lib/active_support/test_case.rb:355 def inspect; end - # source://activesupport//lib/active_support/test_case.rb#190 + # pkg:gem/activesupport#lib/active_support/test_case.rb:190 def method_name; end # Returns the current parallel worker ID if tests are running in parallel # - # source://activesupport//lib/active_support/test_case.rb#193 + # pkg:gem/activesupport#lib/active_support/test_case.rb:193 def parallel_worker_id; end class << self - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def __callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def __callbacks=(value); end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _setup_callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _setup_callbacks=(value); end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _teardown_callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def _teardown_callbacks=(value); end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def file_fixture_path; end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def file_fixture_path=(value); end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def file_fixture_path?; end # Returns the current parallel worker ID if tests are running in parallel, @@ -13912,10 +13916,10 @@ class ActiveSupport::TestCase < ::Minitest::Test # # ActiveSupport::TestCase.parallel_worker_id # => 2 # - # source://activesupport//lib/active_support/test_case.rb#34 + # pkg:gem/activesupport#lib/active_support/test_case.rb:34 def parallel_worker_id; end - # source://activesupport//lib/active_support/test_case.rb#38 + # pkg:gem/activesupport#lib/active_support/test_case.rb:38 def parallel_worker_id=(value); end # Parallelizes the test suite. @@ -13961,7 +13965,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # Note that your test suite may deadlock if you attempt to use only one database # with multiple processes. # - # source://activesupport//lib/active_support/test_case.rb#107 + # pkg:gem/activesupport#lib/active_support/test_case.rb:107 def parallelize(workers: T.unsafe(nil), with: T.unsafe(nil), threshold: T.unsafe(nil), parallelize_databases: T.unsafe(nil)); end # Before fork hook for parallel testing. This can be used to run anything @@ -13975,7 +13979,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # end # end # - # source://activesupport//lib/active_support/test_case.rb#132 + # pkg:gem/activesupport#lib/active_support/test_case.rb:132 def parallelize_before_fork(&block); end # Setup hook for parallel testing. This can be used if you have multiple @@ -13992,7 +13996,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # end # end # - # source://activesupport//lib/active_support/test_case.rb#149 + # pkg:gem/activesupport#lib/active_support/test_case.rb:149 def parallelize_setup(&block); end # Clean up hook for parallel testing. This can be used to drop databases @@ -14009,7 +14013,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # end # end # - # source://activesupport//lib/active_support/test_case.rb#166 + # pkg:gem/activesupport#lib/active_support/test_case.rb:166 def parallelize_teardown(&block); end # Returns the order in which test cases are run. @@ -14019,7 +14023,7 @@ class ActiveSupport::TestCase < ::Minitest::Test # Possible values are +:random+, +:parallel+, +:alpha+, +:sorted+. # Defaults to +:random+. # - # source://activesupport//lib/active_support/test_case.rb#61 + # pkg:gem/activesupport#lib/active_support/test_case.rb:61 def test_order; end # Sets the order in which test cases are run. @@ -14032,32 +14036,32 @@ 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#51 + # pkg:gem/activesupport#lib/active_support/test_case.rb:51 def test_order=(new_order); end private - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def __class_attr___callbacks; end - # source://activesupport//lib/active_support/test_case.rb#198 + # pkg:gem/activesupport#lib/active_support/test_case.rb:198 def __class_attr___callbacks=(new_value); end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def __class_attr_file_fixture_path; end - # source://activesupport//lib/active_support/test_case.rb#207 + # pkg:gem/activesupport#lib/active_support/test_case.rb:207 def __class_attr_file_fixture_path=(new_value); end end end -# source://activesupport//lib/active_support/test_case.rb#24 +# pkg:gem/activesupport#lib/active_support/test_case.rb:24 ActiveSupport::TestCase::Assertion = Minitest::Assertion -# source://activesupport//lib/active_support/testing/tagged_logging.rb#4 +# pkg:gem/activesupport#lib/active_support/testing/tagged_logging.rb:4 module ActiveSupport::Testing; end -# source://activesupport//lib/active_support/testing/assertions.rb#7 +# pkg:gem/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. @@ -14106,7 +14110,7 @@ module ActiveSupport::Testing::Assertions # post :create, params: { status: { incident: true } } # end # - # source://activesupport//lib/active_support/testing/assertions.rb#211 + # pkg:gem/activesupport#lib/active_support/testing/assertions.rb:211 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 @@ -14161,7 +14165,7 @@ module ActiveSupport::Testing::Assertions # post :delete, params: { id: ... } # end # - # source://activesupport//lib/active_support/testing/assertions.rb#105 + # pkg:gem/activesupport#lib/active_support/testing/assertions.rb:105 def assert_difference(expression, *args, &block); end # Assertion that the result of evaluating an expression is not changed before @@ -14196,7 +14200,7 @@ module ActiveSupport::Testing::Assertions # post :create, params: { status: { ok: false } } # end # - # source://activesupport//lib/active_support/testing/assertions.rb#280 + # pkg:gem/activesupport#lib/active_support/testing/assertions.rb:280 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 @@ -14224,7 +14228,7 @@ module ActiveSupport::Testing::Assertions # post :create, params: { article: invalid_attributes } # end # - # source://activesupport//lib/active_support/testing/assertions.rb#161 + # pkg:gem/activesupport#lib/active_support/testing/assertions.rb:161 def assert_no_difference(expression, message = T.unsafe(nil), &block); end # Asserts that an expression is not truthy. Passes if +object+ is +nil+ or @@ -14239,7 +14243,7 @@ module ActiveSupport::Testing::Assertions # # assert_not foo, 'foo should be false' # - # source://activesupport//lib/active_support/testing/assertions.rb#21 + # pkg:gem/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. @@ -14250,7 +14254,7 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'no_exception') # end # - # source://activesupport//lib/active_support/testing/assertions.rb#48 + # pkg:gem/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 @@ -14261,7 +14265,7 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'exception') # end # - # source://activesupport//lib/active_support/testing/assertions.rb#39 + # pkg:gem/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 @@ -14272,19 +14276,19 @@ module ActiveSupport::Testing::Assertions # perform_service(param: 'exception') # end # - # source://activesupport//lib/active_support/testing/assertions.rb#34 + # pkg:gem/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#314 + # pkg:gem/activesupport#lib/active_support/testing/assertions.rb:314 def _assert_nothing_raised_or_warn(assertion, &block); end - # source://activesupport//lib/active_support/testing/assertions.rb#329 + # pkg:gem/activesupport#lib/active_support/testing/assertions.rb:329 def _callable_to_source_string(callable); end end -# source://activesupport//lib/active_support/testing/assertions.rb#8 +# pkg:gem/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. @@ -14312,20 +14316,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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/testing/constant_lookup.rb:35 module ActiveSupport::Testing::ConstantLookup::ClassMethods - # source://activesupport//lib/active_support/testing/constant_lookup.rb#36 + # pkg:gem/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 +# pkg:gem/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: # @@ -14350,11 +14354,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#28 + # pkg:gem/activesupport#lib/active_support/testing/constant_stubbing.rb:28 def stub_const(mod, constant, new_value, exists: T.unsafe(nil)); end end -# source://activesupport//lib/active_support/testing/declarative.rb#5 +# pkg:gem/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. @@ -14363,11 +14367,11 @@ module ActiveSupport::Testing::Declarative # ... # end # - # source://activesupport//lib/active_support/testing/declarative.rb#13 + # pkg:gem/activesupport#lib/active_support/testing/declarative.rb:13 def test(name, &block); end end -# source://activesupport//lib/active_support/testing/deprecation.rb#7 +# pkg:gem/activesupport#lib/active_support/testing/deprecation.rb:7 module ActiveSupport::Testing::Deprecation # :call-seq: # assert_deprecated(deprecator, &block) @@ -14391,7 +14395,7 @@ module ActiveSupport::Testing::Deprecation # CustomDeprecator.warn "foo should no longer be used" # end # - # source://activesupport//lib/active_support/testing/deprecation.rb#30 + # pkg:gem/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. @@ -14404,7 +14408,7 @@ module ActiveSupport::Testing::Deprecation # CustomDeprecator.warn "message" # passes assertion, different deprecator # end # - # source://activesupport//lib/active_support/testing/deprecation.rb#55 + # pkg:gem/activesupport#lib/active_support/testing/deprecation.rb:55 def assert_not_deprecated(deprecator, &block); end # Returns the return value of the block and an array of all the deprecation warnings emitted by the given @@ -14416,11 +14420,11 @@ module ActiveSupport::Testing::Deprecation # :result # end # => [:result, ["message"]] # - # source://activesupport//lib/active_support/testing/deprecation.rb#69 + # pkg:gem/activesupport#lib/active_support/testing/deprecation.rb:69 def collect_deprecations(deprecator); end end -# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#5 +# pkg:gem/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+. @@ -14442,7 +14446,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 + # pkg:gem/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 @@ -14454,7 +14458,7 @@ module ActiveSupport::Testing::ErrorReporterAssertions # perform_service(param: 'no_exception') # end # - # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#62 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:62 def assert_no_error_reported(&block); end # Captures reported errors from within the block that match the given @@ -14470,33 +14474,33 @@ module ActiveSupport::Testing::ErrorReporterAssertions # assert_equal "Oops", reports.first.error.message # assert_equal "Oh no", reports.last.error.message # - # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#118 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:118 def capture_error_reports(error_class = T.unsafe(nil), &block); end end -# source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#6 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:16 def record; end - # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#29 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def context; end # Sets the attribute context @@ -14504,14 +14508,14 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def error; end # Sets the attribute error @@ -14519,14 +14523,14 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def handled; end # Sets the attribute handled @@ -14534,21 +14538,21 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def severity; end # Sets the attribute severity @@ -14556,14 +14560,14 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def source; end # Sets the attribute source @@ -14571,30 +14575,30 @@ class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def [](*_arg0); end - # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def inspect; end - # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def members; end - # source://activesupport//lib/active_support/testing/error_reporter_assertions.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/error_reporter_assertions.rb:10 def new(*_arg0); end end end # Provides test helpers for asserting on ActiveSupport::EventReporter events. # -# source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#6 +# pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:6 module ActiveSupport::Testing::EventReporterAssertions # Asserts that the block causes an event with the given name to be reported # to +Rails.event+. @@ -14622,7 +14626,7 @@ module ActiveSupport::Testing::EventReporterAssertions # Rails.event.notify("user.created", { id: 123, name: "John Doe" }) # end # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#142 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:142 def assert_event_reported(name, payload: T.unsafe(nil), tags: T.unsafe(nil), &block); end # Asserts that the provided events were reported, regardless of order. @@ -14649,7 +14653,7 @@ module ActiveSupport::Testing::EventReporterAssertions # end # end # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#184 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:184 def assert_events_reported(expected_events, &block); end # Asserts that the block does not cause an event to be reported to +Rails.event+. @@ -14667,7 +14671,7 @@ module ActiveSupport::Testing::EventReporterAssertions # service_that_does_not_report_events.perform # end # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#101 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:101 def assert_no_event_reported(name = T.unsafe(nil), payload: T.unsafe(nil), tags: T.unsafe(nil), &block); end # Allows debug events to be reported to +Rails.event+ for the duration of a given block. @@ -14676,54 +14680,54 @@ module ActiveSupport::Testing::EventReporterAssertions # service_that_reports_debug_events.perform # end # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#222 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:222 def with_debug_event_reporting(&block); end end -# source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#7 +# pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:7 module ActiveSupport::Testing::EventReporterAssertions::EventCollector class << self - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#46 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:46 def emit(event); end - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#53 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:53 def record; end private - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#81 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:81 def event_recorders; end - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#66 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:66 def subscribe; end end end -# source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#11 +# pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:11 class ActiveSupport::Testing::EventReporterAssertions::EventCollector::Event # @return [Event] a new instance of Event # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#14 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:14 def initialize(event_data); end # Returns the value of attribute event_data. # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#12 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:12 def event_data; end - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#18 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:18 def inspect; end # @return [Boolean] # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#22 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:22 def matches?(name, payload, tags); end private # @return [Boolean] # - # source://activesupport//lib/active_support/testing/event_reporter_assertions.rb#34 + # pkg:gem/activesupport#lib/active_support/testing/event_reporter_assertions.rb:34 def matches_hash?(expected_hash, event_key); end end @@ -14737,7 +14741,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 +# pkg:gem/activesupport#lib/active_support/testing/file_fixtures.rb:16 module ActiveSupport::Testing::FileFixtures extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -14748,7 +14752,7 @@ module ActiveSupport::Testing::FileFixtures # # Raises +ArgumentError+ if +fixture_name+ can't be found. # - # source://activesupport//lib/active_support/testing/file_fixtures.rb#26 + # pkg:gem/activesupport#lib/active_support/testing/file_fixtures.rb:26 def file_fixture(fixture_name); end module GeneratedClassMethods @@ -14763,45 +14767,46 @@ module ActiveSupport::Testing::FileFixtures end end -# source://activesupport//lib/active_support/testing/isolation.rb#7 +# pkg:gem/activesupport#lib/active_support/testing/isolation.rb:7 module ActiveSupport::Testing::Isolation include ::ActiveSupport::Testing::Isolation::Forking - # source://activesupport//lib/active_support/testing/isolation.rb#20 + # pkg:gem/activesupport#lib/active_support/testing/isolation.rb:20 def run; end class << self # @return [Boolean] # - # source://activesupport//lib/active_support/testing/isolation.rb#16 + # pkg:gem/activesupport#lib/active_support/testing/isolation.rb:16 def forking_env?; end - # source://activesupport//lib/active_support/testing/isolation.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/isolation.rb:10 def included(klass); end end end -# source://activesupport//lib/active_support/testing/isolation.rb#35 +# pkg:gem/activesupport#lib/active_support/testing/isolation.rb:35 module ActiveSupport::Testing::Isolation::Forking - # source://activesupport//lib/active_support/testing/isolation.rb#36 + # pkg:gem/activesupport#lib/active_support/testing/isolation.rb:36 def run_in_isolation(&blk); end end -# source://activesupport//lib/active_support/testing/isolation.rb#73 +# pkg:gem/activesupport#lib/active_support/testing/isolation.rb:73 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#78 + # pkg:gem/activesupport#lib/active_support/testing/isolation.rb:78 def run_in_isolation(&blk); end end -# source://activesupport//lib/active_support/testing/isolation.rb#74 +# pkg:gem/activesupport#lib/active_support/testing/isolation.rb:74 ActiveSupport::Testing::Isolation::Subprocess::ORIG_ARGV = T.let(T.unsafe(nil), Array) +# pkg:gem/activesupport#lib/active_support/testing/isolation.rb:8 class ActiveSupport::Testing::Isolation::SubprocessCrashed < ::StandardError; end -# source://activesupport//lib/active_support/testing/notification_assertions.rb#5 +# pkg:gem/activesupport#lib/active_support/testing/notification_assertions.rb:5 module ActiveSupport::Testing::NotificationAssertions # Assert no notifications were emitted for a given +pattern+. # @@ -14813,7 +14818,7 @@ module ActiveSupport::Testing::NotificationAssertions # post.destroy # => emits non-matching notification # end # - # source://activesupport//lib/active_support/testing/notification_assertions.rb#66 + # pkg:gem/activesupport#lib/active_support/testing/notification_assertions.rb:66 def assert_no_notifications(pattern = T.unsafe(nil), &block); end # Assert a notification was emitted with a given +pattern+ and optional +payload+. @@ -14838,7 +14843,7 @@ module ActiveSupport::Testing::NotificationAssertions # # assert_instance_of(Body, notification.payload[:body]) # - # source://activesupport//lib/active_support/testing/notification_assertions.rb#28 + # pkg:gem/activesupport#lib/active_support/testing/notification_assertions.rb:28 def assert_notification(pattern, payload = T.unsafe(nil), &block); end # Assert the number of notifications emitted with a given +pattern+. @@ -14852,7 +14857,7 @@ module ActiveSupport::Testing::NotificationAssertions # post.submit(title: "Cool Post") # => emits matching notification # end # - # source://activesupport//lib/active_support/testing/notification_assertions.rb#51 + # pkg:gem/activesupport#lib/active_support/testing/notification_assertions.rb:51 def assert_notifications_count(pattern, count, &block); end # Capture emitted notifications, optionally filtered by a +pattern+. @@ -14864,69 +14869,69 @@ module ActiveSupport::Testing::NotificationAssertions # post.submit(title: "Cool Post") # => emits matching notification # end # - # source://activesupport//lib/active_support/testing/notification_assertions.rb#85 + # pkg:gem/activesupport#lib/active_support/testing/notification_assertions.rb:85 def capture_notifications(pattern = T.unsafe(nil), &block); end end -# source://activesupport//lib/active_support/testing/parallelization/server.rb#8 +# pkg:gem/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#36 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:36 def initialize(worker_count); end - # source://activesupport//lib/active_support/testing/parallelization.rb#54 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:54 def <<(work); end - # source://activesupport//lib/active_support/testing/parallelization.rb#26 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:26 def after_fork_hooks; end - # source://activesupport//lib/active_support/testing/parallelization.rb#43 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:43 def before_fork; end - # source://activesupport//lib/active_support/testing/parallelization.rb#18 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:18 def before_fork_hooks; end - # source://activesupport//lib/active_support/testing/parallelization.rb#34 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:34 def run_cleanup_hooks; end - # source://activesupport//lib/active_support/testing/parallelization.rb#62 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:62 def shutdown; end - # source://activesupport//lib/active_support/testing/parallelization.rb#58 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:58 def size; end - # source://activesupport//lib/active_support/testing/parallelization.rb#47 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:47 def start; end class << self - # source://activesupport//lib/active_support/testing/parallelization.rb#22 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:22 def after_fork_hook(&blk); end - # source://activesupport//lib/active_support/testing/parallelization.rb#26 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:26 def after_fork_hooks; end - # source://activesupport//lib/active_support/testing/parallelization.rb#14 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:14 def before_fork_hook(&blk); end - # source://activesupport//lib/active_support/testing/parallelization.rb#18 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:18 def before_fork_hooks; end - # source://activesupport//lib/active_support/testing/parallelization.rb#30 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:30 def run_cleanup_hook(&blk); end - # source://activesupport//lib/active_support/testing/parallelization.rb#34 + # pkg:gem/activesupport#lib/active_support/testing/parallelization.rb:34 def run_cleanup_hooks; end end end -# source://activesupport//lib/active_support/testing/parallelization/server.rb#9 +# pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 class ActiveSupport::Testing::Parallelization::PrerecordResultClass < ::Struct # Returns the value of attribute name # # @return [Object] the current value of name # - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def name; end # Sets the attribute name @@ -14934,166 +14939,166 @@ class ActiveSupport::Testing::Parallelization::PrerecordResultClass < ::Struct # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def name=(_); end class << self - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def [](*_arg0); end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def inspect; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def keyword_init?; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def members; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:9 def new(*_arg0); end end end -# source://activesupport//lib/active_support/testing/parallelization/server.rb#11 +# pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:11 class ActiveSupport::Testing::Parallelization::Server include ::DRb::DRbUndumped # @return [Server] a new instance of Server # - # source://activesupport//lib/active_support/testing/parallelization/server.rb#14 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:14 def initialize; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#32 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:32 def <<(o); end # @return [Boolean] # - # source://activesupport//lib/active_support/testing/parallelization/server.rb#64 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:64 def active_workers?; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#68 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:68 def interrupt; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#37 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:37 def pop; end # @raise [DRb::DRbConnError] # - # source://activesupport//lib/active_support/testing/parallelization/server.rb#21 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:21 def record(reporter, result); end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#54 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:54 def remove_dead_workers(dead_pids); end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#72 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:72 def shutdown; end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#44 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:44 def start_worker(worker_id, worker_pid); end - # source://activesupport//lib/active_support/testing/parallelization/server.rb#49 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/server.rb:49 def stop_worker(worker_id, worker_pid); end end -# source://activesupport//lib/active_support/testing/parallelization/worker.rb#6 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:7 def initialize(number, url); end - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#80 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:80 def after_fork; end - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#42 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:42 def perform_job(job); end - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#88 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:88 def run_cleanup; end - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#56 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:14 def start; end - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#36 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:36 def work_from_queue; end private - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#95 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:95 def add_setup_exception(result); end - # source://activesupport//lib/active_support/testing/parallelization/worker.rb#99 + # pkg:gem/activesupport#lib/active_support/testing/parallelization/worker.rb:99 def set_process_title(status); end end -# source://activesupport//lib/active_support/testing/parallelize_executor.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:6 def parallelize_with; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#26 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:6 def size; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#15 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:6 def threshold; end private - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#35 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:35 def build_parallel_executor; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#72 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:60 def many_workers?; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#31 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:31 def parallel_executor; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#47 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:47 def parallelize; end # @return [Boolean] # - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#52 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:52 def parallelized?; end # @return [Boolean] # - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#56 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:56 def should_parallelize?; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#68 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:68 def show_execution_info; end - # source://activesupport//lib/active_support/testing/parallelize_executor.rb#64 + # pkg:gem/activesupport#lib/active_support/testing/parallelize_executor.rb:64 def tests_count; end end @@ -15111,40 +15116,40 @@ end # end # end # -# source://activesupport//lib/active_support/testing/setup_and_teardown.rb#20 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:12 def initialize; end # Stubs object.method_name with the given block @@ -15155,42 +15160,42 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def method_name; end # Sets the attribute method_name @@ -15198,14 +15203,14 @@ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def object; end # Sets the attribute object @@ -15213,14 +15218,14 @@ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def original_method; end # Sets the attribute original_method @@ -15228,55 +15233,55 @@ class ActiveSupport::Testing::SimpleStubs::Stub < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def [](*_arg0); end - # source://activesupport//lib/active_support/testing/time_helpers.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def inspect; end - # source://activesupport//lib/active_support/testing/time_helpers.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def keyword_init?; end - # source://activesupport//lib/active_support/testing/time_helpers.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def members; end - # source://activesupport//lib/active_support/testing/time_helpers.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:10 def new(*_arg0); end end end -# source://activesupport//lib/active_support/testing/stream.rb#5 +# pkg:gem/activesupport#lib/active_support/testing/stream.rb:5 module ActiveSupport::Testing::Stream private - # source://activesupport//lib/active_support/testing/stream.rb#23 + # pkg:gem/activesupport#lib/active_support/testing/stream.rb:23 def capture(stream); end - # source://activesupport//lib/active_support/testing/stream.rb#17 + # pkg:gem/activesupport#lib/active_support/testing/stream.rb:17 def quietly(&block); end - # source://activesupport//lib/active_support/testing/stream.rb#7 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/testing/tagged_logging.rb:7 module ActiveSupport::Testing::TaggedLogging - # source://activesupport//lib/active_support/testing/tagged_logging.rb#10 + # pkg:gem/activesupport#lib/active_support/testing/tagged_logging.rb:10 def before_setup; end - # source://activesupport//lib/active_support/testing/tagged_logging.rb#8 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/testing/tagged_logging.rb:22 def tagged_logger; end end @@ -15284,17 +15289,17 @@ end # # This is helpful in detecting broken tests that do not perform intended assertions. # -# source://activesupport//lib/active_support/testing/tests_without_assertions.rb#8 +# pkg:gem/activesupport#lib/active_support/testing/tests_without_assertions.rb:8 module ActiveSupport::Testing::TestsWithoutAssertions - # source://activesupport//lib/active_support/testing/tests_without_assertions.rb#9 + # pkg:gem/activesupport#lib/active_support/testing/tests_without_assertions.rb:9 def after_teardown; end end # Contains helpers that help you test passage of time. # -# source://activesupport//lib/active_support/testing/time_helpers.rb#68 +# pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:68 module ActiveSupport::Testing::TimeHelpers - # source://activesupport//lib/active_support/testing/time_helpers.rb#69 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:69 def after_teardown; end # Calls +travel_to+ with +date_or_time+, which defaults to +Time.now+. @@ -15318,7 +15323,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#261 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:261 def freeze_time(date_or_time = T.unsafe(nil), 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 @@ -15345,7 +15350,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 + # pkg:gem/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 @@ -15372,7 +15377,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#231 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:231 def travel_back; end # Changes current time to the given time by stubbing +Time.now+, +Time.new+, @@ -15408,7 +15413,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 + # pkg:gem/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 @@ -15435,24 +15440,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#239 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:239 def unfreeze_time; end private # Returns the value of attribute in_block. # - # source://activesupport//lib/active_support/testing/time_helpers.rb#270 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:270 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#270 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:270 def in_block=(_arg0); end - # source://activesupport//lib/active_support/testing/time_helpers.rb#266 + # pkg:gem/activesupport#lib/active_support/testing/time_helpers.rb:266 def simple_stubs; end end @@ -15490,14 +15495,14 @@ end # t.is_a?(Time) # => true # t.is_a?(ActiveSupport::TimeWithZone) # => true # -# source://activesupport//lib/active_support/time_with_zone.rb#44 +# pkg:gem/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 + # pkg:gem/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 @@ -15517,7 +15522,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#310 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:310 def +(other); end # Subtracts an interval of time and returns a new TimeWithZone object unless @@ -15543,19 +15548,19 @@ class ActiveSupport::TimeWithZone # # Time.zone.now - 1.day.ago # => 86399.999967 # - # source://activesupport//lib/active_support/time_with_zone.rb#345 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:345 def -(other); end # Use the time in UTC for comparisons. # - # source://activesupport//lib/active_support/time_with_zone.rb#243 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:243 def <=>(other); end # So that +self+ acts_like?(:time). # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#502 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:502 def acts_like_time?; end # Uses Date to provide precise Time calculations for years, months, and days @@ -15580,10 +15585,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#434 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:434 def advance(options); end - # source://activesupport//lib/active_support/time_with_zone.rb#247 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:247 def after?(_arg0); end # Subtracts an interval of time from the current object's time and returns @@ -15604,7 +15609,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#373 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:373 def ago(other); end # Coerces time to a string for JSON encoding. The default format is ISO 8601. @@ -15620,10 +15625,10 @@ class ActiveSupport::TimeWithZone # Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").as_json # # => "2005/02/01 05:15:10 -1000" # - # source://activesupport//lib/active_support/time_with_zone.rb#178 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:178 def as_json(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/time_with_zone.rb#246 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:246 def before?(_arg0); end # Returns true if the current object's time is within the specified @@ -15631,14 +15636,14 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#251 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:251 def between?(min, max); end # An instance of ActiveSupport::TimeWithZone is never blank # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#513 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:513 def blank?; end # Returns a new +ActiveSupport::TimeWithZone+ where one or more of the elements have @@ -15659,15 +15664,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#394 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:394 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#72 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:72 def comparable_time; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def day; end # Returns true if the current time is within Daylight Savings \Time for the @@ -15679,17 +15684,17 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#100 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:100 def dst?; end - # source://activesupport//lib/active_support/time_with_zone.rb#190 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:190 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#286 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:286 def eql?(other); end # Returns a formatted string of the offset from UTC, or an alternative @@ -15701,32 +15706,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#131 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:131 def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end - # source://activesupport//lib/active_support/time_with_zone.rb#521 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:521 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#281 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:281 def future?; end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#73 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:73 def getgm; end # Returns a Time instance of the simultaneous time in the system timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#92 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:92 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#74 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:74 def getutc; end # Returns true if the current time zone is set to UTC. @@ -15738,28 +15743,28 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#114 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:114 def gmt?; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport//lib/active_support/time_with_zone.rb#120 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:120 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#75 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:75 def gmtime; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport//lib/active_support/time_with_zone.rb#121 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:121 def gmtoff; end - # source://activesupport//lib/active_support/time_with_zone.rb#290 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:290 def hash; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def hour; end # Returns a string of the object's date and time in the format used by @@ -15767,7 +15772,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#198 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:198 def httpdate; end # Adds an interval of time to the current object's time and returns that @@ -15787,29 +15792,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#320 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:320 def in(other); end # Returns the simultaneous time in Time.zone, or the specified zone. # - # source://activesupport//lib/active_support/time_with_zone.rb#83 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:83 def in_time_zone(new_zone = T.unsafe(nil)); end - # source://activesupport//lib/active_support/time_with_zone.rb#186 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:186 def init_with(coder); end # Returns a string of the object's date, time, zone, and offset from UTC. # # Time.zone.now.inspect # => "2024-11-13 07:00:10.528054960 UTC +00:00" # - # source://activesupport//lib/active_support/time_with_zone.rb#146 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:146 def inspect; end # Say we're a Time to thwart type checking. # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#507 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:507 def is_a?(klass); end # Returns true if the current time is within Daylight Savings \Time for the @@ -15821,7 +15826,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#103 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:103 def isdst; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -15829,43 +15834,43 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport//lib/active_support/time_with_zone.rb#163 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:163 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#510 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:510 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#89 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:89 def localtime(utc_offset = T.unsafe(nil)); end - # source://activesupport//lib/active_support/time_with_zone.rb#527 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:527 def marshal_dump; end - # source://activesupport//lib/active_support/time_with_zone.rb#531 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:531 def marshal_load(variables); end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 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#551 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:551 def method_missing(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def min; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def mon; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def month; end # Returns true if the current object's time falls within @@ -15873,27 +15878,27 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#271 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:271 def next_day?; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 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#256 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:256 def past?; end # Returns the underlying +TZInfo::TimezonePeriod+. # - # source://activesupport//lib/active_support/time_with_zone.rb#78 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:78 def period; end # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#517 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:517 def present?; end # Returns true if the current object's time falls within @@ -15901,7 +15906,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#278 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:278 def prev_day?; end # respond_to_missing? is not called in some cases, such as when type conversion is @@ -15909,7 +15914,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#537 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:537 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 @@ -15917,7 +15922,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#206 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:206 def rfc2822; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -15925,7 +15930,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport//lib/active_support/time_with_zone.rb#164 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:164 def rfc3339(fraction_digits = T.unsafe(nil)); end # Returns a string of the object's date and time in the RFC 2822 standard @@ -15933,10 +15938,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#209 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:209 def rfc822; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def sec; end # Adds an interval of time to the current object's time and returns that @@ -15956,23 +15961,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#319 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:319 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#237 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:237 def strftime(format); end # Returns a Time instance that represents the time in +time_zone+. # - # source://activesupport//lib/active_support/time_with_zone.rb#64 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:64 def time; end # Returns the value of attribute time_zone. # - # source://activesupport//lib/active_support/time_with_zone.rb#49 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:49 def time_zone; end # Returns Array of parts of Time in sequence of @@ -15981,10 +15986,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#457 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:457 def to_a; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def to_date; end # Returns an instance of DateTime with the timezone's UTC offset @@ -15992,7 +15997,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#490 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:490 def to_datetime; end # Returns the object's date and time as a floating-point number of seconds @@ -16000,7 +16005,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_f # => 1417709320.285418 # - # source://activesupport//lib/active_support/time_with_zone.rb#465 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:465 def to_f; end # Returns a string of the object's date and time. @@ -16012,7 +16017,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#233 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:233 def to_formatted_s(format = T.unsafe(nil)); end # Returns a string of the object's date and time. @@ -16024,7 +16029,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#224 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:224 def to_fs(format = T.unsafe(nil)); end # Returns the object's date and time as an integer number of seconds @@ -16032,7 +16037,7 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_i # => 1417709320 # - # source://activesupport//lib/active_support/time_with_zone.rb#473 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:473 def to_i; end # Returns the object's date and time as a rational number of seconds @@ -16040,19 +16045,19 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_r # => (708854548642709/500000) # - # source://activesupport//lib/active_support/time_with_zone.rb#482 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:482 def to_r; end # Returns a string of the object's date and time. # - # source://activesupport//lib/active_support/time_with_zone.rb#212 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:212 def to_s; end # Returns an instance of +Time+, either with the same timezone as +self+, # 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#497 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:497 def to_time; end # Returns true if the current object's time falls within @@ -16060,7 +16065,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#262 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:262 def today?; end # Returns true if the current object's time falls within @@ -16068,7 +16073,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#268 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:268 def tomorrow?; end # Returns the object's date and time as an integer number of seconds @@ -16076,15 +16081,15 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.to_i # => 1417709320 # - # source://activesupport//lib/active_support/time_with_zone.rb#476 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:476 def tv_sec; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def usec; end # Returns a Time instance of the simultaneous time in the UTC timezone. # - # source://activesupport//lib/active_support/time_with_zone.rb#69 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:69 def utc; end # Returns true if the current time zone is set to UTC. @@ -16096,15 +16101,15 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#111 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:111 def utc?; end # Returns the offset from current time to UTC time in seconds. # - # source://activesupport//lib/active_support/time_with_zone.rb#117 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:117 def utc_offset; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def wday; end # Returns a string of the object's date and time in the ISO 8601 standard @@ -16112,13 +16117,13 @@ class ActiveSupport::TimeWithZone # # Time.zone.now.xmlschema # => "2014-12-04T11:02:37-05:00" # - # source://activesupport//lib/active_support/time_with_zone.rb#154 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:154 def xmlschema(fraction_digits = T.unsafe(nil)); end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def yday; end - # source://activesupport//lib/active_support/time_with_zone.rb#445 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:445 def year; end # Returns true if the current object's time falls within @@ -16126,7 +16131,7 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#275 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:275 def yesterday?; end # Returns the time zone abbreviation. @@ -16134,20 +16139,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#139 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:139 def zone; end private # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#589 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:589 def duration_of_variable_length?(obj); end - # source://activesupport//lib/active_support/time_with_zone.rb#570 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:570 def get_period_and_ensure_valid_local_time(period); end - # source://activesupport//lib/active_support/time_with_zone.rb#560 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:560 def incorporate_utc_offset(time, offset); end # Ensure proxy class responds to all methods that underlying time instance @@ -16155,20 +16160,20 @@ class ActiveSupport::TimeWithZone # # @return [Boolean] # - # source://activesupport//lib/active_support/time_with_zone.rb#545 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:545 def respond_to_missing?(sym, include_priv); end - # source://activesupport//lib/active_support/time_with_zone.rb#583 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:583 def transfer_time_values_to_utc_constructor(time); end - # source://activesupport//lib/active_support/time_with_zone.rb#593 + # pkg:gem/activesupport#lib/active_support/time_with_zone.rb:593 def wrap_with_time_zone(time); end end -# source://activesupport//lib/active_support/time_with_zone.rb#45 +# pkg:gem/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#558 +# pkg:gem/activesupport#lib/active_support/time_with_zone.rb:558 ActiveSupport::TimeWithZone::SECONDS_PER_DAY = T.let(T.unsafe(nil), Integer) # = Active Support \Time Zone @@ -16196,7 +16201,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 +# pkg:gem/activesupport#lib/active_support/values/time_zone.rb:31 class ActiveSupport::TimeZone include ::Comparable @@ -16204,22 +16209,22 @@ class ActiveSupport::TimeZone # # @return [TimeZone] a new instance of TimeZone # - # source://activesupport//lib/active_support/values/time_zone.rb#310 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:310 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#340 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:340 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#349 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:349 def =~(re); end - # source://activesupport//lib/active_support/values/time_zone.rb#574 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:574 def abbr(time); end # \Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -16234,15 +16239,15 @@ class ActiveSupport::TimeZone # Time.zone = 'Hawaii' # => "Hawaii" # Time.at(946684800, 123456.789).nsec # => 123456789 # - # source://activesupport//lib/active_support/values/time_zone.rb#386 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:386 def at(*args); end # @return [Boolean] # - # source://activesupport//lib/active_support/values/time_zone.rb#578 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:578 def dst?(time); end - # source://activesupport//lib/active_support/values/time_zone.rb#586 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:586 def encode_with(coder); end # Returns a formatted string of the offset from UTC, or an alternative @@ -16252,10 +16257,10 @@ class ActiveSupport::TimeZone # zone.formatted_offset # => "-06:00" # zone.formatted_offset(false) # => "-0600" # - # source://activesupport//lib/active_support/values/time_zone.rb#334 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:334 def formatted_offset(colon = T.unsafe(nil), alternate_utc_string = T.unsafe(nil)); end - # source://activesupport//lib/active_support/values/time_zone.rb#582 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:582 def init_with(coder); end # \Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -16272,7 +16277,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#403 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:403 def iso8601(str); end # \Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -16281,13 +16286,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#370 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:370 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#558 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:558 def local_to_utc(time, dst = T.unsafe(nil)); end # Compare #name and TZInfo identifier to a supplied regexp, returning +true+ @@ -16295,12 +16300,12 @@ class ActiveSupport::TimeZone # # @return [Boolean] # - # source://activesupport//lib/active_support/values/time_zone.rb#355 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:355 def match?(re); end # Returns the value of attribute name. # - # source://activesupport//lib/active_support/values/time_zone.rb#297 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:297 def name; end # Returns an ActiveSupport::TimeWithZone instance representing the current @@ -16309,7 +16314,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#523 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:523 def now; end # \Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -16331,16 +16336,16 @@ class ActiveSupport::TimeZone # # If the string is invalid then an +ArgumentError+ could be raised. # - # source://activesupport//lib/active_support/values/time_zone.rb#460 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:460 def parse(str, now = T.unsafe(nil)); end - # source://activesupport//lib/active_support/values/time_zone.rb#566 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:566 def period_for_local(time, dst = T.unsafe(nil)); end - # source://activesupport//lib/active_support/values/time_zone.rb#562 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:562 def period_for_utc(time); end - # source://activesupport//lib/active_support/values/time_zone.rb#570 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:570 def periods_for_local(time); end # \Method for creating new ActiveSupport::TimeWithZone instance in time zone @@ -16358,13 +16363,13 @@ class ActiveSupport::TimeZone # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/values/time_zone.rb#476 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:476 def rfc3339(str); end # Returns a standard time zone name defined by IANA # https://www.iana.org/time-zones # - # source://activesupport//lib/active_support/values/time_zone.rb#319 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:319 def standard_name; end # Parses +str+ according to +format+ and returns an ActiveSupport::TimeWithZone. @@ -16388,32 +16393,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#514 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:514 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#361 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:361 def to_s; end # Returns the current date in this time zone. # - # source://activesupport//lib/active_support/values/time_zone.rb#528 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:528 def today; end # Returns the next date in this time zone. # - # source://activesupport//lib/active_support/values/time_zone.rb#533 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:533 def tomorrow; end # Returns the value of attribute tzinfo. # - # source://activesupport//lib/active_support/values/time_zone.rb#298 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:298 def tzinfo; end # Returns the offset of this time zone from UTC in seconds. # - # source://activesupport//lib/active_support/values/time_zone.rb#324 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:324 def utc_offset; end # Adjust the given time to the simultaneous time in the time zone @@ -16424,22 +16429,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#549 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:549 def utc_to_local(time); end # Returns the previous date in this time zone. # - # source://activesupport//lib/active_support/values/time_zone.rb#538 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:538 def yesterday; end private # @raise [ArgumentError] # - # source://activesupport//lib/active_support/values/time_zone.rb#592 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:592 def parts_to_time(parts, now); end - # source://activesupport//lib/active_support/values/time_zone.rb#617 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:617 def time_now; end class << self @@ -16449,36 +16454,36 @@ 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#233 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:233 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#224 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:224 def all; end - # source://activesupport//lib/active_support/values/time_zone.rb#266 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:266 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#261 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:261 def country_zones(country_code); end - # source://activesupport//lib/active_support/values/time_zone.rb#212 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:212 def create(*_arg0); end - # source://activesupport//lib/active_support/values/time_zone.rb#208 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:208 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#217 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:217 def new(name); end # Assumes self represents an offset from UTC in seconds (as returned from @@ -16486,138 +16491,138 @@ class ActiveSupport::TimeZone # # ActiveSupport::TimeZone.seconds_to_utc_offset(-21_600) # => "-06:00" # - # source://activesupport//lib/active_support/values/time_zone.rb#200 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:200 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#255 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:255 def us_zones; end private - # source://activesupport//lib/active_support/values/time_zone.rb#274 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:274 def load_country_zones(code); end - # source://activesupport//lib/active_support/values/time_zone.rb#288 + # pkg:gem/activesupport#lib/active_support/values/time_zone.rb:288 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 +# pkg:gem/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#189 +# pkg:gem/activesupport#lib/active_support/values/time_zone.rb:189 ActiveSupport::TimeZone::UTC_OFFSET_WITHOUT_COLON = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/values/time_zone.rb#188 +# pkg:gem/activesupport#lib/active_support/values/time_zone.rb:188 ActiveSupport::TimeZone::UTC_OFFSET_WITH_COLON = T.let(T.unsafe(nil), String) -# source://activesupport//lib/active_support/core_ext/object/json.rb#35 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:35 module ActiveSupport::ToJsonWithActiveSupportEncoder - # source://activesupport//lib/active_support/core_ext/object/json.rb#36 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/object/try.rb:6 module ActiveSupport::Tryable - # source://activesupport//lib/active_support/core_ext/object/try.rb#7 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/gem_version.rb:9 module ActiveSupport::VERSION; end -# source://activesupport//lib/active_support/gem_version.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/gem_version.rb:13 ActiveSupport::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://activesupport//lib/active_support/gem_version.rb#15 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/hash/conversions.rb:144 def initialize(type); end end @@ -16627,95 +16632,95 @@ end # gem "libxml-ruby" # XmlMini.backend = 'LibXML' # -# source://activesupport//lib/active_support/xml_mini.rb#17 +# pkg:gem/activesupport#lib/active_support/xml_mini.rb:17 module ActiveSupport::XmlMini extend ::ActiveSupport::XmlMini - # source://activesupport//lib/active_support/xml_mini.rb#102 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:102 def backend; end - # source://activesupport//lib/active_support/xml_mini.rb#106 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:106 def backend=(name); end # Returns the value of attribute depth. # - # source://activesupport//lib/active_support/xml_mini.rb#97 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:97 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#97 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:97 def depth=(_arg0); end - # source://activesupport//lib/active_support/xml_mini.rb#100 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:100 def parse(*_arg0, **_arg1, &_arg2); end - # source://activesupport//lib/active_support/xml_mini.rb#153 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:153 def rename_key(key, options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/xml_mini.rb#120 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:120 def to_tag(key, value, options); end - # source://activesupport//lib/active_support/xml_mini.rb#112 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:112 def with_backend(name); end private - # source://activesupport//lib/active_support/xml_mini.rb#164 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:164 def _dasherize(key); end - # source://activesupport//lib/active_support/xml_mini.rb#170 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:170 def _parse_binary(bin, entity); end - # source://activesupport//lib/active_support/xml_mini.rb#181 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:181 def _parse_file(file, entity); end - # source://activesupport//lib/active_support/xml_mini.rb#189 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:189 def _parse_hex_binary(bin); end - # source://activesupport//lib/active_support/xml_mini.rb#201 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:201 def cast_backend_name_to_module(name); end - # source://activesupport//lib/active_support/xml_mini.rb#193 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:193 def current_thread_backend; end - # source://activesupport//lib/active_support/xml_mini.rb#197 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:197 def current_thread_backend=(name); end end -# source://activesupport//lib/active_support/xml_mini.rb#34 +# pkg:gem/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#56 +# pkg:gem/activesupport#lib/active_support/xml_mini.rb:56 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 +# pkg:gem/activesupport#lib/active_support/xml_mini.rb:22 module ActiveSupport::XmlMini::FileLike - # source://activesupport//lib/active_support/xml_mini.rb#29 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:29 def content_type; end - # source://activesupport//lib/active_support/xml_mini.rb#23 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:23 def content_type=(_arg0); end - # source://activesupport//lib/active_support/xml_mini.rb#25 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:25 def original_filename; end - # source://activesupport//lib/active_support/xml_mini.rb#23 + # pkg:gem/activesupport#lib/active_support/xml_mini.rb:23 def original_filename=(_arg0); end end -# source://activesupport//lib/active_support/xml_mini.rb#66 +# pkg:gem/activesupport#lib/active_support/xml_mini.rb:66 ActiveSupport::XmlMini::PARSING = T.let(T.unsafe(nil), Hash) -# source://activesupport//lib/active_support/xml_mini.rb#39 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/xml_mini/rexml.rb:8 module ActiveSupport::XmlMini_REXML extend ::ActiveSupport::XmlMini_REXML @@ -16727,7 +16732,7 @@ module ActiveSupport::XmlMini_REXML # data:: # XML Document string or IO to parse # - # source://activesupport//lib/active_support/xml_mini/rexml.rb#20 + # pkg:gem/activesupport#lib/active_support/xml_mini/rexml.rb:20 def parse(data); end private @@ -16737,7 +16742,7 @@ module ActiveSupport::XmlMini_REXML # element:: # The document element to be collapsed. # - # source://activesupport//lib/active_support/xml_mini/rexml.rb#63 + # pkg:gem/activesupport#lib/active_support/xml_mini/rexml.rb:63 def collapse(element, depth); end # Determines if a document element has text content @@ -16747,7 +16752,7 @@ module ActiveSupport::XmlMini_REXML # # @return [Boolean] # - # source://activesupport//lib/active_support/xml_mini/rexml.rb#133 + # pkg:gem/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. @@ -16756,7 +16761,7 @@ module ActiveSupport::XmlMini_REXML # element:: # XML element to extract attributes from. # - # source://activesupport//lib/active_support/xml_mini/rexml.rb#123 + # pkg:gem/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 @@ -16771,7 +16776,7 @@ module ActiveSupport::XmlMini_REXML # value:: # Value to be associated with key. # - # source://activesupport//lib/active_support/xml_mini/rexml.rb#103 + # pkg:gem/activesupport#lib/active_support/xml_mini/rexml.rb:103 def merge!(hash, key, value); end # Convert an XML element and merge into the hash @@ -16783,7 +16788,7 @@ module ActiveSupport::XmlMini_REXML # # @raise [REXML::ParseException] # - # source://activesupport//lib/active_support/xml_mini/rexml.rb#54 + # pkg:gem/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 @@ -16793,21 +16798,21 @@ 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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/xml_mini/rexml.rb:41 def require_rexml; end end -# source://activesupport//lib/active_support/xml_mini/rexml.rb#11 +# pkg:gem/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.rb#3 +# pkg:gem/activesupport#lib/active_support/core_ext/array/extract.rb:3 class Array include ::Enumerable - # source://activesupport//lib/active_support/core_ext/object/json.rb#164 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:164 def as_json(options = T.unsafe(nil)); end # An array is blank if it's empty: @@ -16817,7 +16822,7 @@ class Array # # @return [true, false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#102 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:102 def blank?; end # Removes all blank elements from the +Array+ in place and returns self. @@ -16827,7 +16832,7 @@ class Array # a.compact_blank! # # => [1, 2, true] # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#275 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:275 def compact_blank!; end # Returns a deep copy of array. @@ -16839,7 +16844,7 @@ class Array # array[1][2] # => nil # dup[1][2] # => 4 # - # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#29 + # pkg:gem/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. @@ -16850,7 +16855,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 + # pkg:gem/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. @@ -16860,7 +16865,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 + # pkg:gem/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 @@ -16873,28 +16878,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/array/access.rb:69 def fourth; end # Returns the tail of the array from +position+. @@ -16906,7 +16911,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 + # pkg:gem/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 @@ -16927,7 +16932,7 @@ class Array # ["4", "5"] # ["6", "7"] # - # source://activesupport//lib/active_support/core_ext/array/grouping.rb#62 + # pkg:gem/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+, @@ -16949,7 +16954,7 @@ class Array # ["3", "4"] # ["5"] # - # source://activesupport//lib/active_support/core_ext/array/grouping.rb#22 + # pkg:gem/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. @@ -16957,7 +16962,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 + # pkg:gem/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 @@ -16971,26 +16976,26 @@ class Array # pets.any?(:cat, :ferret) # => true # pets.any?(:ferret, :alligator) # => false # - # source://activesupport//lib/active_support/core_ext/array/inquiry.rb#16 + # pkg:gem/activesupport#lib/active_support/core_ext/array/inquiry.rb:16 def inquiry; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#104 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:104 def present?; end # Equal to self[1]. # # %w( a b c d e ).second # => "b" # - # source://activesupport//lib/active_support/core_ext/array/access.rb#55 + # pkg:gem/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 + # pkg:gem/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+ @@ -16999,21 +17004,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/array/access.rb:90 def third_to_last; end # Returns the beginning of the array up to +position+. @@ -17025,7 +17030,7 @@ 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 + # pkg:gem/activesupport#lib/active_support/core_ext/array/access.rb:24 def to(position); end # Extends Array#to_s to convert a collection of elements into a @@ -17037,7 +17042,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#106 + # pkg:gem/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 @@ -17049,13 +17054,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 + # pkg:gem/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#48 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:48 def to_param; end # Converts an array into a string suitable for use as a URL query string, @@ -17063,7 +17068,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#56 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:56 def to_query(key); end # Converts the array to a comma-separated sentence where the last element is @@ -17118,7 +17123,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 + # pkg:gem/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+ @@ -17196,7 +17201,7 @@ class Array # # # - # source://activesupport//lib/active_support/core_ext/array/conversions.rb#183 + # pkg:gem/activesupport#lib/active_support/core_ext/array/conversions.rb:183 def to_xml(options = T.unsafe(nil)); end # Returns a copy of the Array excluding the specified elements. @@ -17207,7 +17212,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#50 + # pkg:gem/activesupport#lib/active_support/core_ext/array/access.rb:50 def without(*elements); end class << self @@ -17247,12 +17252,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 + # pkg:gem/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#124 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:124 class BigDecimal < ::Numeric include ::ActiveSupport::BigDecimalWithDefaultFormat include ::ActiveSupport::NumericWithFormat @@ -17267,11 +17272,11 @@ 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#134 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:134 def as_json(options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/class/attribute.rb#6 +# pkg:gem/activesupport#lib/active_support/core_ext/class/attribute.rb:6 class Class < ::Module include ::ActiveSupport::DescendantsTracker::ReloadedClassesFiltering @@ -17355,7 +17360,7 @@ class Class < ::Module # # class_attribute :settings, default: {} # - # source://activesupport//lib/active_support/core_ext/class/attribute.rb#86 + # pkg:gem/activesupport#lib/active_support/core_ext/class/attribute.rb:86 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. @@ -17372,41 +17377,41 @@ class Class < ::Module # class D < C; end # C.descendants # => [B, A, D] # - # source://activesupport//lib/active_support/core_ext/class/subclasses.rb#19 + # pkg:gem/activesupport#lib/active_support/core_ext/class/subclasses.rb:19 def descendants; end - # source://activesupport//lib/active_support/descendants_tracker.rb#59 + # pkg:gem/activesupport#lib/active_support/descendants_tracker.rb:59 def subclasses; end end -# source://activesupport//lib/active_support/core_ext/object/json.rb#68 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:68 class Data - # source://activesupport//lib/active_support/core_ext/object/json.rb#69 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:69 def as_json(options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/date/zones.rb#6 +# pkg:gem/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#98 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:98 def +(other); end - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#108 + # pkg:gem/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#160 + # pkg:gem/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 + # pkg:gem/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 @@ -17426,51 +17431,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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:55 def ago(seconds); end - # source://activesupport//lib/active_support/core_ext/object/json.rb#211 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:211 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#72 + # pkg:gem/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#88 + # pkg:gem/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#80 + # pkg:gem/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#82 + # pkg:gem/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#71 + # pkg:gem/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#81 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:67 def beginning_of_day; end # No Date is blank: @@ -17479,7 +17484,7 @@ class Date # # @return [false] # - # source://activesupport//lib/active_support/core_ext/date/blank.rb#11 + # pkg:gem/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. @@ -17488,82 +17493,82 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#64 + # pkg:gem/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#67 + # pkg:gem/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#78 + # pkg:gem/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 + # pkg:gem/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#70 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:70 def midnight; end - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#100 + # pkg:gem/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 + # pkg:gem/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#79 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:79 def noon; end - # source://activesupport//lib/active_support/core_ext/date/calculations.rb#90 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:97 def plus_without_duration(_arg0); end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/date/blank.rb#15 + # pkg:gem/activesupport#lib/active_support/core_ext/date/blank.rb:15 def present?; 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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date/calculations.rb:61 def since(seconds); end # Convert to a formatted string. See DATE_FORMATS for predefined formats. @@ -17592,7 +17597,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#60 + # pkg:gem/activesupport#lib/active_support/core_ext/date/conversions.rb:60 def to_formatted_s(format = T.unsafe(nil)); end # Convert to a formatted string. See DATE_FORMATS for predefined formats. @@ -17621,7 +17626,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#49 + # pkg:gem/activesupport#lib/active_support/core_ext/date/conversions.rb:49 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. @@ -17639,7 +17644,7 @@ class Date # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/core_ext/date/conversions.rb#69 + # pkg:gem/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 @@ -17648,7 +17653,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#88 + # pkg:gem/activesupport#lib/active_support/core_ext/date/conversions.rb:88 def xmlschema; end class << self @@ -17656,7 +17661,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 + # pkg:gem/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. @@ -17664,84 +17669,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#6 +# pkg:gem/activesupport#lib/active_support/core_ext/date_and_time/compatibility.rb:6 module DateAndTime; end -# source://activesupport//lib/active_support/core_ext/date_and_time/calculations.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -17754,7 +17759,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#128 + # pkg:gem/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. @@ -17767,7 +17772,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#143 + # pkg:gem/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. @@ -17775,7 +17780,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#271 + # pkg:gem/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. @@ -17788,13 +17793,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#182 + # pkg:gem/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#300 + # pkg:gem/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. @@ -17807,7 +17812,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#158 + # pkg:gem/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. @@ -17815,20 +17820,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#286 + # pkg:gem/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#307 + # pkg:gem/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 + # pkg:gem/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. @@ -17841,7 +17846,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 + # pkg:gem/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. @@ -17854,7 +17859,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 + # pkg:gem/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. @@ -17862,7 +17867,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 + # pkg:gem/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. @@ -17875,30 +17880,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -17911,7 +17916,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 + # pkg:gem/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. @@ -17919,30 +17924,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#248 + # pkg:gem/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. @@ -17950,40 +17955,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#227 + # pkg:gem/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#237 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#38 + # pkg:gem/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. @@ -17992,12 +17997,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 + # pkg:gem/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 + # pkg:gem/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. @@ -18017,40 +18022,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#44 + # pkg:gem/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. @@ -18059,12 +18064,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 + # pkg:gem/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 + # pkg:gem/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. @@ -18072,12 +18077,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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date_and_time/calculations.rb:230 def prev_weekday; end # Returns the quarter for a date/time. @@ -18087,102 +18092,102 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#7 +# pkg:gem/activesupport#lib/active_support/core_ext/date_and_time/compatibility.rb:7 module DateAndTime::Compatibility - # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#21 + # pkg:gem/activesupport#lib/active_support/core_ext/date_and_time/compatibility.rb:21 def utc_to_local_returns_utc_offset_times; end class << self - # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#21 + # pkg:gem/activesupport#lib/active_support/core_ext/date_and_time/compatibility.rb:21 def utc_to_local_returns_utc_offset_times; end - # source://activesupport//lib/active_support/core_ext/date_and_time/compatibility.rb#21 + # pkg:gem/activesupport#lib/active_support/core_ext/date_and_time/compatibility.rb:21 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 +# pkg:gem/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. @@ -18200,37 +18205,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -18242,81 +18247,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 + # pkg:gem/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 + # pkg:gem/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#221 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:221 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#127 + # pkg:gem/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#149 + # pkg:gem/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#161 + # pkg:gem/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#143 + # pkg:gem/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#155 + # pkg:gem/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#167 + # pkg:gem/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#135 + # pkg:gem/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#137 + # pkg:gem/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#126 + # pkg:gem/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#136 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/calculations.rb:158 def beginning_of_minute; end # No DateTime is ever blank: @@ -18325,7 +18330,7 @@ class DateTime < ::Date # # @return [false] # - # source://activesupport//lib/active_support/core_ext/date_time/blank.rb#11 + # pkg:gem/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 @@ -18342,25 +18347,25 @@ class DateTime < ::Date # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/core_ext/date_time/calculations.rb#51 + # pkg:gem/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#61 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:61 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -18370,7 +18375,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#53 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:53 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. @@ -18378,12 +18383,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#192 + # pkg:gem/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#178 + # pkg:gem/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. @@ -18391,7 +18396,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#193 + # pkg:gem/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. @@ -18399,59 +18404,59 @@ 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#194 + # pkg:gem/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#119 + # pkg:gem/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#62 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:62 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 + # pkg:gem/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#133 + # pkg:gem/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 + # pkg:gem/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#125 + # pkg:gem/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#134 + # pkg:gem/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#96 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:96 def nsec; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/date_time/blank.rb#15 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/blank.rb:15 def present?; 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#58 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:58 def readable_inspect; end # Returns the number of seconds since 00:00:00. @@ -18460,7 +18465,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 + # pkg:gem/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. @@ -18469,26 +18474,26 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/calculations.rb:36 def subsec; 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#81 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:81 def to_f; end # Convert to a formatted string. See Time::DATE_FORMATS for predefined formats. @@ -18519,7 +18524,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#44 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:44 def to_formatted_s(format = T.unsafe(nil)); end # Convert to a formatted string. See Time::DATE_FORMATS for predefined formats. @@ -18550,23 +18555,23 @@ 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#37 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:37 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#86 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:86 def to_i; end # Return an instance of +Time+ with the same UTC offset # as +self+. # - # source://activesupport//lib/active_support/core_ext/date_time/compatibility.rb#9 + # pkg:gem/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#91 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:91 def usec; end # Returns a Time instance of the simultaneous time in the UTC timezone. @@ -18574,27 +18579,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#101 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:101 def offset_in_seconds; end - # source://activesupport//lib/active_support/core_ext/date_time/conversions.rb#105 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:105 def seconds_since_unix_epoch; end class << self @@ -18606,30 +18611,30 @@ 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#71 + # pkg:gem/activesupport#lib/active_support/core_ext/date_time/conversions.rb:71 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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/digest/uuid.rb:7 module Digest::UUID class << self # Returns the nil UUID. This is a special form of UUID that is specified to # have all 128 bits set to zero. # - # source://activesupport//lib/active_support/core_ext/digest/uuid.rb#58 + # pkg:gem/activesupport#lib/active_support/core_ext/digest/uuid.rb:58 def nil_uuid; end # Generates a v5 non-random UUID (Universally Unique IDentifier). @@ -18639,46 +18644,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#62 + # pkg:gem/activesupport#lib/active_support/core_ext/digest/uuid.rb:62 def pack_uuid_namespace(namespace); end end end -# source://activesupport//lib/active_support/core_ext/digest/uuid.rb#8 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/digest/uuid.rb:11 Digest::UUID::X500_NAMESPACE = T.let(T.unsafe(nil), String) -module ERB::Escape; end - -# source://activesupport//lib/active_support/core_ext/erb/util.rb#39 +# pkg:gem/activesupport#lib/active_support/core_ext/erb/util.rb:39 module ERB::Util include ::ActiveSupport::CoreExt::ERBUtil include ::ActiveSupport::CoreExt::ERBUtilPrivate @@ -18694,7 +18697,7 @@ module ERB::Util # html_escape_once('<< Accept & Checkout') # # => "<< Accept & Checkout" # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#63 + # pkg:gem/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 @@ -18753,7 +18756,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 + # pkg:gem/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. @@ -18763,7 +18766,7 @@ 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 + # pkg:gem/activesupport#lib/active_support/core_ext/erb/util.rb:142 def xml_name_escape(name); end class << self @@ -18775,7 +18778,7 @@ module ERB::Util # html_escape_once('<< Accept & Checkout') # # => "<< Accept & Checkout" # - # source://activesupport//lib/active_support/core_ext/erb/util.rb#67 + # pkg:gem/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 @@ -18834,16 +18837,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#134 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -18853,43 +18856,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#157 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#145 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:145 module Enumerable include ::ActiveSupport::ToJsonWithActiveSupportEncoder extend ::ActiveSupport::EnumerableCoreExt::Constants - # source://activesupport//lib/active_support/core_ext/object/json.rb#146 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:146 def as_json(options = T.unsafe(nil)); end # Returns a new +Array+ without the blank items. @@ -18906,7 +18909,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 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:184 def compact_blank; end # The negative of the Enumerable#include?. Returns +true+ if the @@ -18914,7 +18917,7 @@ module Enumerable # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#118 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:118 def exclude?(object); end # Returns a copy of the enumerable excluding the specified elements. @@ -18928,7 +18931,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 + # pkg:gem/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 @@ -18941,7 +18944,7 @@ module Enumerable # If the Enumerable has additional elements that aren't named in the +series+, these are not included in the result, unless # the +filter+ option is set to +false+. # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#197 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:197 def in_order_of(key, series, filter: T.unsafe(nil)); end # Returns a new array that includes the passed elements. @@ -18952,7 +18955,7 @@ module Enumerable # ["David", "Rafael"].including %w[ Aaron Todd ] # # => ["David", "Rafael", "Aaron", "Todd"] # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#112 + # pkg:gem/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 @@ -18964,7 +18967,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 + # pkg:gem/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 @@ -18981,7 +18984,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 + # pkg:gem/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 @@ -18991,7 +18994,7 @@ module Enumerable # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#93 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:93 def many?; end # Calculates the maximum from the extracted elements. @@ -18999,7 +19002,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 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:40 def maximum(key); end # Calculates the minimum from the extracted elements. @@ -19007,7 +19010,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 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:32 def minimum(key); end # Extract the given key from the first element in the enumerable. @@ -19018,7 +19021,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 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:161 def pick(*keys); end # Extract the given key from each element in the enumerable. @@ -19029,7 +19032,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 + # pkg:gem/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 @@ -19039,7 +19042,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#211 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:211 def sole; end # Returns a copy of the enumerable excluding the specified elements. @@ -19053,25 +19056,25 @@ module Enumerable # {foo: 1, bar: 2, baz: 3}.excluding :bar # # => {foo: 1, baz: 3} # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#136 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:21 class Enumerable::SoleItemExpectedError < ::StandardError; end -# source://activesupport//lib/active_support/core_ext/object/json.rb#263 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:263 class Exception - # source://activesupport//lib/active_support/core_ext/object/json.rb#264 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:264 def as_json(options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/object/blank.rb#65 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:65 class FalseClass - # source://activesupport//lib/active_support/core_ext/object/json.rb#87 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:87 def as_json(options = T.unsafe(nil)); end # +false+ is blank: @@ -19080,21 +19083,21 @@ class FalseClass # # @return [true] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#71 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:71 def blank?; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#75 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:75 def present?; end # Returns +self+. # - # source://activesupport//lib/active_support/core_ext/object/to_query.rb#40 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:40 def to_param; end end -# source://activesupport//lib/active_support/core_ext/file/atomic.rb#5 +# pkg:gem/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 @@ -19113,33 +19116,33 @@ class File < ::IO # file.write('hello') # end # - # source://activesupport//lib/active_support/core_ext/file/atomic.rb#21 + # pkg:gem/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 + # pkg:gem/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#116 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:116 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#119 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:119 def as_json(options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/hash/deep_merge.rb#5 +# pkg:gem/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#175 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:175 def as_json(options = T.unsafe(nil)); end # Validates all keys in a hash match *valid_keys, raising @@ -19152,7 +19155,7 @@ class Hash # { 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 + # pkg:gem/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: @@ -19162,12 +19165,12 @@ class Hash # # @return [true, false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#116 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:116 def blank?; end # Hash#reject has its own definition, so this needs one too. # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#234 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:234 def compact_blank; end # Removes all blank values from the +Hash+ in place and returns self. @@ -19177,7 +19180,7 @@ class Hash # h.compact_blank! # # => { b: 1, f: true } # - # source://activesupport//lib/active_support/core_ext/enumerable.rb#244 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:244 def compact_blank!; end # Returns a deep copy of hash. @@ -19189,12 +19192,12 @@ class Hash # hash[:a][:c] # => nil # dup[:a][:c] # => "c" # - # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#43 + # pkg:gem/activesupport#lib/active_support/core_ext/object/deep_dup.rb:43 def deep_dup; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/hash/deep_merge.rb#40 + # pkg:gem/activesupport#lib/active_support/core_ext/hash/deep_merge.rb:40 def deep_merge?(other); end # Returns a new hash with all keys converted to strings. @@ -19206,14 +19209,14 @@ class Hash # hash.deep_stringify_keys # # => {"person"=>{"name"=>"Rob", "age"=>"28"}} # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#84 + # pkg:gem/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 + # pkg:gem/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 @@ -19225,14 +19228,14 @@ class Hash # hash.deep_symbolize_keys # # => {:person=>{:name=>"Rob", :age=>"28"}} # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#103 + # pkg:gem/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 + # pkg:gem/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. @@ -19244,14 +19247,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 + # pkg:gem/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 + # pkg:gem/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. @@ -19263,14 +19266,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 + # pkg:gem/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 + # pkg:gem/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. @@ -19278,7 +19281,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#8 + # pkg:gem/activesupport#lib/active_support/core_ext/hash/except.rb:8 def except!(*keys); end # Removes and returns the key/value pairs matching the given keys. @@ -19287,7 +19290,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 + # pkg:gem/activesupport#lib/active_support/core_ext/hash/slice.rb:24 def extract!(*keys); end # By default, only instances of Hash itself are extractable. @@ -19298,7 +19301,7 @@ class Hash # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/array/extract_options.rb#9 + # pkg:gem/activesupport#lib/active_support/core_ext/array/extract_options.rb:9 def extractable_options?; end # Returns an ActiveSupport::HashWithIndifferentAccess out of its receiver: @@ -19315,12 +19318,12 @@ 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#23 + # pkg:gem/activesupport#lib/active_support/core_ext/hash/indifferent_access.rb:23 def nested_under_indifferent_access; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#118 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:118 def present?; end # Merges the caller into +other_hash+. For example, @@ -19334,17 +19337,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 + # pkg:gem/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 + # pkg:gem/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#23 + # pkg:gem/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. @@ -19354,7 +19357,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 + # pkg:gem/activesupport#lib/active_support/core_ext/hash/slice.rb:10 def slice!(*keys); end # Returns a new hash with all keys converted to strings. @@ -19364,13 +19367,13 @@ class Hash # hash.stringify_keys # # => {"name"=>"Rob", "age"=>"28"} # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#10 + # pkg:gem/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 + # pkg:gem/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 @@ -19381,13 +19384,13 @@ class Hash # hash.symbolize_keys # # => {:name=>"Rob", :age=>"28"} # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#27 + # pkg:gem/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 + # pkg:gem/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 @@ -19398,13 +19401,13 @@ class Hash # hash.symbolize_keys # # => {:name=>"Rob", :age=>"28"} # - # source://activesupport//lib/active_support/core_ext/hash/keys.rb#30 + # pkg:gem/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#37 + # pkg:gem/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 @@ -19421,7 +19424,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#92 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:92 def to_param(namespace = T.unsafe(nil)); end # Returns a string representation of the receiver suitable for use as a URL @@ -19438,7 +19441,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#81 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:81 def to_query(namespace = T.unsafe(nil)); end # Returns a string containing an XML representation of its receiver: @@ -19504,7 +19507,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 + # pkg:gem/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, @@ -19518,43 +19521,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#17 + # pkg:gem/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#24 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -19592,52 +19595,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 + # pkg:gem/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#464 +# pkg:gem/activesupport#lib/active_support/hash_with_indifferent_access.rb:464 HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess # :enddoc: # -# source://activesupport//lib/active_support/i18n_railtie.rb#9 +# pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:9 module I18n; end -# source://activesupport//lib/active_support/i18n_railtie.rb#10 +# pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:10 class I18n::Railtie < ::Rails::Railtie class << self - # source://activesupport//lib/active_support/i18n_railtie.rb#103 + # pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:103 def include_fallbacks_module; end - # source://activesupport//lib/active_support/i18n_railtie.rb#107 + # pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:107 def init_fallbacks(fallbacks); end # Setup i18n configuration. # - # source://activesupport//lib/active_support/i18n_railtie.rb#36 + # pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:36 def initialize_i18n(app); end - # source://activesupport//lib/active_support/i18n_railtie.rb#84 + # pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:84 def setup_raise_on_missing_translations_config(app, strict); end - # source://activesupport//lib/active_support/i18n_railtie.rb#123 + # pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:123 def validate_fallbacks(fallbacks); end - # source://activesupport//lib/active_support/i18n_railtie.rb#134 + # pkg:gem/activesupport#lib/active_support/i18n_railtie.rb:134 def watched_dirs_with_extensions(paths); end end end -# source://activesupport//lib/active_support/core_ext/object/json.rb#151 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:151 class IO include ::Enumerable include ::File::Constants - # source://activesupport//lib/active_support/core_ext/object/json.rb#152 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:152 def as_json(options = T.unsafe(nil)); end end @@ -19720,7 +19723,6 @@ IO::Buffer::PAGE_SIZE = T.let(T.unsafe(nil), Integer) IO::Buffer::PRIVATE = T.let(T.unsafe(nil), Integer) IO::Buffer::READONLY = T.let(T.unsafe(nil), Integer) IO::Buffer::SHARED = T.let(T.unsafe(nil), Integer) -class IO::ConsoleMode; end class IO::EAGAINWaitReadable < ::Errno::EAGAIN include ::IO::WaitReadable @@ -19744,7 +19746,7 @@ IO::PRIORITY = T.let(T.unsafe(nil), Integer) IO::READABLE = T.let(T.unsafe(nil), Integer) IO::WRITABLE = T.let(T.unsafe(nil), Integer) -# source://activesupport//lib/active_support/core_ext/integer/time.rb#6 +# pkg:gem/activesupport#lib/active_support/core_ext/integer/time.rb:6 class Integer < ::Numeric include ::ActiveSupport::NumericWithFormat @@ -19752,14 +19754,14 @@ class Integer < ::Numeric # # 2.months # => 2 months # - # source://activesupport//lib/active_support/core_ext/integer/time.rb#13 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/integer/time.rb:10 def months; end # Check whether the integer is evenly divisible by the argument. @@ -19770,7 +19772,7 @@ class Integer < ::Numeric # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/integer/multiple.rb#9 + # pkg:gem/activesupport#lib/active_support/core_ext/integer/multiple.rb:9 def multiple_of?(number); end # Ordinal returns the suffix used to denote the position @@ -19783,7 +19785,7 @@ class Integer < ::Numeric # -11.ordinal # => "th" # -1001.ordinal # => "st" # - # source://activesupport//lib/active_support/core_ext/integer/inflections.rb#28 + # pkg:gem/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 @@ -19796,31 +19798,31 @@ class Integer < ::Numeric # -11.ordinalize # => "-11th" # -1001.ordinalize # => "-1001st" # - # source://activesupport//lib/active_support/core_ext/integer/inflections.rb#15 + # pkg:gem/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#21 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/kernel/singleton_class.rb:5 def class_eval(*args, &block); end private @@ -19829,13 +19831,13 @@ module Kernel # # See Module::Concerning for more. # - # source://activesupport//lib/active_support/core_ext/kernel/concern.rb#11 + # pkg:gem/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 + # pkg:gem/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 @@ -19847,7 +19849,7 @@ module Kernel # # noisy_call # warning voiced # - # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#14 + # pkg:gem/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. @@ -19859,13 +19861,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 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/kernel/reporting.rb:26 def with_warnings(flag); end class << self @@ -19873,13 +19875,13 @@ module Kernel # # See Module::Concerning for more. # - # source://activesupport//lib/active_support/core_ext/kernel/concern.rb#11 + # pkg:gem/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 + # pkg:gem/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 @@ -19891,7 +19893,7 @@ module Kernel # # noisy_call # warning voiced # - # source://activesupport//lib/active_support/core_ext/kernel/reporting.rb#14 + # pkg:gem/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. @@ -19903,18 +19905,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/load_error.rb:3 class LoadError < ::ScriptError include ::DidYouMean::Correctable @@ -19923,7 +19925,7 @@ class LoadError < ::ScriptError # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/load_error.rb#6 + # pkg:gem/activesupport#lib/active_support/core_ext/load_error.rb:6 def is_missing?(location); end end @@ -19939,7 +19941,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/delegation.rb#3 +# pkg:gem/activesupport#lib/active_support/core_ext/module/delegation.rb:3 class Module include ::Module::Concerning @@ -19961,7 +19963,7 @@ class Module # e.subject = "Megastars" # e.title # => "Megastars" # - # source://activesupport//lib/active_support/core_ext/module/aliasing.rb#21 + # pkg:gem/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. @@ -19990,32 +19992,32 @@ class Module # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/module/anonymous.rb#27 + # pkg:gem/activesupport#lib/active_support/core_ext/module/anonymous.rb:27 def anonymous?; end - # source://activesupport//lib/active_support/core_ext/object/json.rb#53 + # pkg:gem/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#20 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -20085,7 +20087,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#213 + # pkg:gem/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. @@ -20137,7 +20139,7 @@ class Module # # @raise [TypeError] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#75 + # pkg:gem/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 @@ -20187,7 +20189,7 @@ class Module # # @raise [TypeError] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#140 + # pkg:gem/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 @@ -20197,7 +20199,7 @@ class Module # klass = Class.new # klass.deep_dup == klass # => false # - # source://activesupport//lib/active_support/core_ext/object/deep_dup.rb#64 + # pkg:gem/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' @@ -20354,7 +20356,7 @@ class Module # # The target method must be public, otherwise it will raise +NoMethodError+. # - # source://activesupport//lib/active_support/core_ext/module/delegation.rb#160 + # pkg:gem/activesupport#lib/active_support/core_ext/module/delegation.rb:160 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: @@ -20404,7 +20406,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#218 + # pkg:gem/activesupport#lib/active_support/core_ext/module/delegation.rb:218 def delegate_missing_to(target, allow_nil: T.unsafe(nil)); end # deprecate :foo, deprecator: MyLib.deprecator @@ -20421,7 +20423,7 @@ class Module # end # end # - # source://activesupport//lib/active_support/core_ext/module/deprecation.rb#17 + # pkg:gem/activesupport#lib/active_support/core_ext/module/deprecation.rb:17 def deprecate(*method_names, deprecator:, **options); end # Defines both class and instance accessors for class attributes. @@ -20491,7 +20493,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 + # pkg:gem/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. @@ -20543,7 +20545,7 @@ class Module # # @raise [TypeError] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#55 + # pkg:gem/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 @@ -20593,10 +20595,10 @@ class Module # # @raise [TypeError] # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors.rb#121 + # pkg:gem/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 + # pkg:gem/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. @@ -20615,14 +20617,14 @@ class Module # M.module_parent # => Object # Module.new.module_parent # => Object # - # source://activesupport//lib/active_support/core_ext/module/introspection.rb#37 + # pkg:gem/activesupport#lib/active_support/core_ext/module/introspection.rb:37 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 + # pkg:gem/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 @@ -20638,36 +20640,36 @@ class Module # M::N.module_parents # => [M, Object] # X.module_parents # => [M, Object] # - # source://activesupport//lib/active_support/core_ext/module/introspection.rb#53 + # pkg:gem/activesupport#lib/active_support/core_ext/module/introspection.rb:53 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -20716,7 +20718,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#174 + # pkg:gem/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. @@ -20746,7 +20748,7 @@ class Module # # Current.new.user # => NoMethodError # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#81 + # pkg:gem/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 @@ -20768,7 +20770,7 @@ class Module # # Current.new.user = "DHH" # => NoMethodError # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#123 + # pkg:gem/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. @@ -20817,7 +20819,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 + # pkg:gem/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. @@ -20847,7 +20849,7 @@ class Module # # Current.new.user # => NoMethodError # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#41 + # pkg:gem/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 @@ -20869,21 +20871,21 @@ class Module # # Current.new.user = "DHH" # => NoMethodError # - # source://activesupport//lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#101 + # pkg:gem/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#40 + # pkg:gem/activesupport#lib/active_support/core_ext/module/attr_internal.rb:40 def attr_internal_define(attr_name, type); end class << self # Returns the value of attribute attr_internal_naming_format. # - # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#23 + # pkg:gem/activesupport#lib/active_support/core_ext/module/attr_internal.rb:23 def attr_internal_naming_format; end - # source://activesupport//lib/active_support/core_ext/module/attr_internal.rb#25 + # pkg:gem/activesupport#lib/active_support/core_ext/module/attr_internal.rb:25 def attr_internal_naming_format=(format); end end end @@ -20995,7 +20997,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 +# pkg:gem/activesupport#lib/active_support/core_ext/module/concerning.rb:112 module Module::Concerning # A low-cruft shortcut to define a concern. # @@ -21011,19 +21013,19 @@ module Module::Concerning # ... # end # - # source://activesupport//lib/active_support/core_ext/module/concerning.rb#132 + # pkg:gem/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 + # pkg:gem/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#5 +# pkg:gem/activesupport#lib/active_support/core_ext/module/delegation.rb:5 Module::DelegationError = ActiveSupport::DelegationError -# source://activesupport//lib/active_support/core_ext/name_error.rb#3 +# pkg:gem/activesupport#lib/active_support/core_ext/name_error.rb:3 class NameError < ::StandardError include ::ErrorHighlight::CoreExt include ::DidYouMean::Correctable @@ -21037,7 +21039,7 @@ class NameError < ::StandardError # end # # => "HelloWorld" # - # source://activesupport//lib/active_support/core_ext/name_error.rb#12 + # pkg:gem/activesupport#lib/active_support/core_ext/name_error.rb:12 def missing_name; end # Was this exception raised because the given name was missing? @@ -21051,21 +21053,21 @@ class NameError < ::StandardError # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/name_error.rb#44 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:50 class NilClass - # source://activesupport//lib/active_support/core_ext/object/json.rb#93 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:93 def as_json(options = T.unsafe(nil)); end # +nil+ is blank: @@ -21074,22 +21076,22 @@ class NilClass # # @return [true] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#56 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:56 def blank?; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#60 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:60 def present?; end # Returns +self+. # - # source://activesupport//lib/active_support/core_ext/object/to_query.rb#26 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:26 def to_param; end # Returns a CGI-escaped +key+. # - # source://activesupport//lib/active_support/core_ext/object/to_query.rb#21 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:21 def to_query(key); end # Calling +try+ on +nil+ always returns +nil+. @@ -21103,22 +21105,22 @@ class NilClass # With +try+ # @person.try(:children).try(:first).try(:name) # - # source://activesupport//lib/active_support/core_ext/object/try.rb#148 + # pkg:gem/activesupport#lib/active_support/core_ext/object/try.rb:148 def try(*_arg0, &_arg1); end # Calling +try!+ on +nil+ always returns +nil+. # # nil.try!(:name) # => nil # - # source://activesupport//lib/active_support/core_ext/object/try.rb#155 + # pkg:gem/activesupport#lib/active_support/core_ext/object/try.rb:155 def try!(*_arg0, &_arg1); end end -# source://activesupport//lib/active_support/core_ext/object/blank.rb#170 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:170 class Numeric include ::Comparable - # source://activesupport//lib/active_support/core_ext/object/json.rb#111 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:111 def as_json(options = T.unsafe(nil)); end # No number is blank: @@ -21128,96 +21130,96 @@ class Numeric # # @return [false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#177 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:177 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#18 + # pkg:gem/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 + # pkg:gem/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#40 + # pkg:gem/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 + # pkg:gem/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#66 + # pkg:gem/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 + # pkg:gem/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#56 + # pkg:gem/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 + # pkg:gem/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#42 + # pkg:gem/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 + # pkg:gem/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#32 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -21226,146 +21228,146 @@ class Numeric # 2.in_milliseconds # => 2000 # 1.hour.in_milliseconds # => 3600000 # - # source://activesupport//lib/active_support/core_ext/numeric/time.rb#63 + # pkg:gem/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#26 + # pkg:gem/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 + # pkg:gem/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#34 + # pkg:gem/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 + # pkg:gem/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#24 + # pkg:gem/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 + # pkg:gem/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#58 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/numeric/bytes.rb:55 def petabytes; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#181 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:181 def present?; 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#16 + # pkg:gem/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 + # pkg:gem/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#50 + # pkg:gem/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 + # pkg:gem/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#48 + # pkg:gem/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 + # pkg:gem/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#74 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/numeric/bytes.rb:10 Numeric::ZETTABYTE = T.let(T.unsafe(nil), Integer) # -- @@ -21387,7 +21389,7 @@ Numeric::ZETTABYTE = T.let(T.unsafe(nil), Integer) # using that rescue idiom. # ++ # -# source://activesupport//lib/active_support/core_ext/object/duplicable.rb#21 +# pkg:gem/activesupport#lib/active_support/core_ext/object/duplicable.rb:21 class Object < ::BasicObject include ::ActiveSupport::Dependencies::RequireDependency include ::Kernel @@ -21426,10 +21428,10 @@ class Object < ::BasicObject # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/acts_like.rb#33 + # pkg:gem/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 + # pkg:gem/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. @@ -21445,7 +21447,7 @@ class Object < ::BasicObject # # @return [true, false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#18 + # pkg:gem/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 @@ -21458,7 +21460,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 + # pkg:gem/activesupport#lib/active_support/core_ext/object/deep_dup.rb:15 def deep_dup; end # Can you safely dup this object? @@ -21468,12 +21470,12 @@ class Object < ::BasicObject # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#26 + # pkg:gem/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 + # pkg:gem/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. @@ -21490,7 +21492,7 @@ class Object < ::BasicObject # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/inclusion.rb#15 + # pkg:gem/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 @@ -21504,7 +21506,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 + # pkg:gem/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 "@". @@ -21517,7 +21519,7 @@ class Object < ::BasicObject # # C.new(0, 1).instance_variable_names # => ["@y", "@x"] # - # source://activesupport//lib/active_support/core_ext/object/instance_variables.rb#29 + # pkg:gem/activesupport#lib/active_support/core_ext/object/instance_variables.rb:29 def instance_variable_names; end # Returns the receiver if it's present otherwise returns +nil+. @@ -21537,7 +21539,7 @@ class Object < ::BasicObject # # @return [Object] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#45 + # pkg:gem/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+. @@ -21549,25 +21551,25 @@ class Object < ::BasicObject # # @return [Object] # - # source://activesupport//lib/active_support/core_ext/object/inclusion.rb#34 + # pkg:gem/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 + # pkg:gem/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#8 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:8 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#14 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:14 def to_query(key); end # Set and restore public attributes around a block. @@ -21593,7 +21595,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#26 + # pkg:gem/activesupport#lib/active_support/core_ext/object/with.rb:26 def with(**attributes); end # An elegant way to factor duplication out of options passed to a series of @@ -21682,13 +21684,13 @@ class Object < ::BasicObject # styled.button_tag "I'm red too!" # # => # - # source://activesupport//lib/active_support/core_ext/object/with_options.rb#92 + # pkg:gem/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#236 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:236 class Pathname - # source://activesupport//lib/active_support/core_ext/object/json.rb#237 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:237 def as_json(options = T.unsafe(nil)); end # An Pathname is blank if it's empty: @@ -21699,7 +21701,7 @@ class Pathname # # @return [true, false] # - # source://activesupport//lib/active_support/core_ext/pathname/blank.rb#13 + # pkg:gem/activesupport#lib/active_support/core_ext/pathname/blank.rb:13 def blank?; end # Returns the receiver if the named file exists otherwise returns +nil+. @@ -21717,12 +21719,12 @@ class Pathname # # @return [Pathname] # - # source://activesupport//lib/active_support/core_ext/pathname/existence.rb#20 + # pkg:gem/activesupport#lib/active_support/core_ext/pathname/existence.rb:20 def existence; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/pathname/blank.rb#17 + # pkg:gem/activesupport#lib/active_support/core_ext/pathname/blank.rb:17 def present?; end end @@ -21733,30 +21735,30 @@ module Process extend ::ActiveSupport::ForkTracker::CoreExt class << self - # source://activesupport//lib/active_support/fork_tracker.rb#6 + # pkg:gem/activesupport#lib/active_support/fork_tracker.rb:6 def _fork; end end end -# source://activesupport//lib/active_support/core_ext/object/json.rb#257 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:257 class Process::Status - # source://activesupport//lib/active_support/core_ext/object/json.rb#258 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:258 def as_json(options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/object/json.rb#157 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:157 class Range include ::ActiveSupport::RangeWithFormat include ::ActiveSupport::CompareWithRange include ::Enumerable - # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#16 + # pkg:gem/activesupport#lib/active_support/core_ext/range/compare_range.rb:16 def ===(value); end - # source://activesupport//lib/active_support/core_ext/object/json.rb#158 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:158 def as_json(options = T.unsafe(nil)); end - # source://activesupport//lib/active_support/core_ext/range/compare_range.rb#41 + # pkg:gem/activesupport#lib/active_support/core_ext/range/compare_range.rb:41 def include?(value); end # Compare two ranges and see if they overlap each other @@ -21766,7 +21768,7 @@ class Range # @raise [TypeError] # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/range/overlap.rb#39 + # pkg:gem/activesupport#lib/active_support/core_ext/range/overlap.rb:39 def overlaps?(_arg0); end # Returns the sole item in the range. If there are no items, or more @@ -21776,19 +21778,19 @@ class Range # (2..1).sole # => Enumerable::SoleItemExpectedError: no item found # (..1).sole # => Enumerable::SoleItemExpectedError: infinite range cannot represent a sole item # - # source://activesupport//lib/active_support/core_ext/range/sole.rb#10 + # pkg:gem/activesupport#lib/active_support/core_ext/range/sole.rb:10 def sole; 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#253 + # pkg:gem/activesupport#lib/active_support/core_ext/enumerable.rb:253 def sum(initial_value = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/object/json.rb#139 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:139 class Regexp - # source://activesupport//lib/active_support/core_ext/object/json.rb#140 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:140 def as_json(options = T.unsafe(nil)); end # Returns +true+ if the regexp has the multiline flag set. @@ -21801,28 +21803,28 @@ class Regexp # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/regexp.rb#11 + # pkg:gem/activesupport#lib/active_support/core_ext/regexp.rb:11 def multiline?; end end -# source://activesupport//lib/active_support/core_ext/securerandom.rb#5 +# pkg:gem/activesupport#lib/active_support/core_ext/securerandom.rb:5 module SecureRandom class << self - # source://activesupport//lib/active_support/core_ext/securerandom.rb#45 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/activesupport#lib/active_support/core_ext/object/duplicable.rb:62 module Singleton mixes_in_class_methods ::Singleton::SingletonClassMethods @@ -21832,7 +21834,7 @@ module Singleton # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/duplicable.rb#66 + # pkg:gem/activesupport#lib/active_support/core_ext/object/duplicable.rb:66 def duplicable?; end end @@ -21841,7 +21843,7 @@ end # # 'ScaleScore'.tableize # => "scale_scores" # -# source://activesupport//lib/active_support/core_ext/object/blank.rb#135 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:135 class String include ::Comparable @@ -21849,10 +21851,10 @@ class String # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/string/behavior.rb#5 + # pkg:gem/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#99 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:99 def as_json(options = T.unsafe(nil)); end # If you pass a single integer, returns a substring of one character at that @@ -21881,7 +21883,7 @@ class String # str.at("lo") # => "lo" # str.at("ol") # => nil # - # source://activesupport//lib/active_support/core_ext/string/access.rb#29 + # pkg:gem/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: @@ -21897,7 +21899,7 @@ class String # # @return [true, false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#153 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:153 def blank?; end # By default, +camelize+ converts strings to UpperCamelCase. If the argument to camelize @@ -21912,7 +21914,7 @@ class String # # See ActiveSupport::Inflector.camelize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#111 + # pkg:gem/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 @@ -21927,7 +21929,7 @@ class String # # See ActiveSupport::Inflector.camelize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#101 + # pkg:gem/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. @@ -21939,7 +21941,7 @@ class String # # See ActiveSupport::Inflector.classify. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#239 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:239 def classify; end # +constantize+ tries to find a declared constant with the name specified @@ -21952,7 +21954,7 @@ class String # # See ActiveSupport::Inflector.constantize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#73 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:73 def constantize; end # Replaces underscores with dashes in the string. @@ -21961,7 +21963,7 @@ class String # # See ActiveSupport::Inflector.dasherize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#148 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:148 def dasherize; end # Removes the rightmost segment from the constant expression in the string. @@ -21976,7 +21978,7 @@ class String # # See also +demodulize+. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#177 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:177 def deconstantize; end # Removes the module part from the constant expression in the string. @@ -21990,7 +21992,7 @@ class String # # See also +deconstantize+. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#162 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:162 def demodulize; end # Converts the first character to lowercase. @@ -22001,10 +22003,10 @@ class String # # See ActiveSupport::Inflector.downcase_first. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#284 + # pkg:gem/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 + # pkg:gem/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 @@ -22016,7 +22018,7 @@ class String # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/string/exclude.rb#10 + # pkg:gem/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 @@ -22030,7 +22032,7 @@ class String # str.first(0) # => "" # str.first(6) # => "hello" # - # source://activesupport//lib/active_support/core_ext/string/access.rb#78 + # pkg:gem/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. @@ -22043,7 +22045,7 @@ class String # # See ActiveSupport::Inflector.foreign_key. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#297 + # pkg:gem/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. @@ -22060,7 +22062,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 + # pkg:gem/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 @@ -22069,7 +22071,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 + # pkg:gem/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 @@ -22092,13 +22094,13 @@ class String # # See ActiveSupport::Inflector.humanize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#262 + # pkg:gem/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 + # pkg:gem/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: @@ -22130,14 +22132,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 + # pkg:gem/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 + # pkg:gem/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, @@ -22147,7 +22149,7 @@ class String # env.production? # => true # env.development? # => false # - # source://activesupport//lib/active_support/core_ext/string/inquiry.rb#13 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inquiry.rb:13 def inquiry; end # Returns +true+ if string has utf_8 encoding. @@ -22160,7 +22162,7 @@ class String # # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/string/multibyte.rb#57 + # pkg:gem/activesupport#lib/active_support/core_ext/string/multibyte.rb:57 def is_utf8?; end # Returns the last character of the string. If a limit is supplied, returns a substring @@ -22174,7 +22176,7 @@ class String # str.last(0) # => "" # str.last(6) # => "hello" # - # source://activesupport//lib/active_support/core_ext/string/access.rb#92 + # pkg:gem/activesupport#lib/active_support/core_ext/string/access.rb:92 def last(limit = T.unsafe(nil)); end # == Multibyte proxy @@ -22209,7 +22211,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 + # pkg:gem/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. @@ -22247,7 +22249,7 @@ class String # # See ActiveSupport::Inflector.parameterize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#215 + # pkg:gem/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. @@ -22274,12 +22276,12 @@ class String # # See ActiveSupport::Inflector.pluralize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#35 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:35 def pluralize(count = T.unsafe(nil), locale = T.unsafe(nil)); end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#165 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:165 def present?; end # Returns a new string with all occurrences of the patterns removed. @@ -22288,7 +22290,7 @@ class String # str.remove(" test", /bar/) # => "foo " # str # => "foo bar test" # - # source://activesupport//lib/active_support/core_ext/string/filters.rb#32 + # pkg:gem/activesupport#lib/active_support/core_ext/string/filters.rb:32 def remove(*patterns); end # Alters the string by removing all occurrences of the patterns. @@ -22296,7 +22298,7 @@ class String # str.remove!(" test", /bar/) # => "foo " # str # => "foo " # - # source://activesupport//lib/active_support/core_ext/string/filters.rb#40 + # pkg:gem/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 @@ -22309,7 +22311,7 @@ class String # # See ActiveSupport::Inflector.safe_constantize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#86 + # pkg:gem/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. @@ -22329,7 +22331,7 @@ class String # # See ActiveSupport::Inflector.singularize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#60 + # pkg:gem/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 @@ -22342,7 +22344,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 + # pkg:gem/activesupport#lib/active_support/core_ext/string/filters.rb:13 def squish; end # Performs a destructive squish. See String#squish. @@ -22350,10 +22352,10 @@ class String # str.squish! # => "foo bar boo" # str # => "foo bar boo" # - # source://activesupport//lib/active_support/core_ext/string/filters.rb#21 + # pkg:gem/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 + # pkg:gem/activesupport#lib/active_support/core_ext/string/starts_ends_with.rb:4 def starts_with?(*_arg0); end # Strips indentation in heredocs. @@ -22375,7 +22377,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 + # pkg:gem/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 @@ -22387,7 +22389,7 @@ class String # # See ActiveSupport::Inflector.tableize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#227 + # pkg:gem/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 @@ -22404,7 +22406,7 @@ class String # # See ActiveSupport::Inflector.titleize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#129 + # pkg:gem/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 @@ -22421,7 +22423,7 @@ class String # # See ActiveSupport::Inflector.titleize. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#126 + # pkg:gem/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. @@ -22438,7 +22440,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 + # pkg:gem/activesupport#lib/active_support/core_ext/string/access.rb:63 def to(position); end # Converts a string to a Date value. @@ -22448,7 +22450,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 + # pkg:gem/activesupport#lib/active_support/core_ext/string/conversions.rb:47 def to_date; end # Converts a string to a DateTime value. @@ -22458,7 +22460,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 + # pkg:gem/activesupport#lib/active_support/core_ext/string/conversions.rb:57 def to_datetime; end # Converts a string to a Time value. @@ -22477,7 +22479,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 + # pkg:gem/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: @@ -22503,7 +22505,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 + # pkg:gem/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 @@ -22523,7 +22525,7 @@ class String # # Raises +ArgumentError+ when the bytesize of :omission exceeds truncate_to. # - # source://activesupport//lib/active_support/core_ext/string/filters.rb#101 + # pkg:gem/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): @@ -22541,7 +22543,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 + # pkg:gem/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. @@ -22553,7 +22555,7 @@ class String # # See ActiveSupport::Inflector.underscore. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#139 + # pkg:gem/activesupport#lib/active_support/core_ext/string/inflections.rb:139 def underscore; end # Converts the first character to uppercase. @@ -22564,29 +22566,29 @@ class String # # See ActiveSupport::Inflector.upcase_first. # - # source://activesupport//lib/active_support/core_ext/string/inflections.rb#273 + # pkg:gem/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#136 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:136 String::BLANK_RE = T.let(T.unsafe(nil), Regexp) -# source://activesupport//lib/active_support/core_ext/object/blank.rb#137 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:137 String::ENCODED_BLANKS = T.let(T.unsafe(nil), Concurrent::Map) -# source://activesupport//lib/active_support/core_ext/object/json.rb#74 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:74 class Struct include ::Enumerable - # source://activesupport//lib/active_support/core_ext/object/json.rb#75 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:75 def as_json(options = T.unsafe(nil)); end end -# source://activesupport//lib/active_support/core_ext/object/blank.rb#123 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:123 class Symbol include ::Comparable - # source://activesupport//lib/active_support/core_ext/object/json.rb#105 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:105 def as_json(options = T.unsafe(nil)); end # A Symbol is blank if it's empty: @@ -22594,63 +22596,63 @@ class Symbol # :''.blank? # => true # :symbol.blank? # => false # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#128 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:128 def blank?; end - # source://activesupport//lib/active_support/core_ext/symbol/starts_ends_with.rb#5 + # pkg:gem/activesupport#lib/active_support/core_ext/symbol/starts_ends_with.rb:5 def ends_with?(*_arg0); end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#130 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:130 def present?; end - # source://activesupport//lib/active_support/core_ext/symbol/starts_ends_with.rb#4 + # pkg:gem/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#7 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:7 def active_support_execution_state; end - # source://activesupport//lib/active_support/isolated_execution_state.rb#7 + # pkg:gem/activesupport#lib/active_support/isolated_execution_state.rb:7 def active_support_execution_state=(_arg0); end end -# source://activesupport//lib/active_support/core_ext/thread/backtrace/location.rb#3 +# pkg:gem/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#4 + # pkg:gem/activesupport#lib/active_support/core_ext/thread/backtrace/location.rb:4 def spot(ex); end end -# source://activesupport//lib/active_support/core_ext/object/blank.rb#186 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:186 class Time include ::Comparable include ::DateAndTime::Zones include ::DateAndTime::Calculations include ::DateAndTime::Compatibility - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#298 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:298 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#308 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:308 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#338 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:338 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 + # pkg:gem/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 @@ -22669,80 +22671,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#194 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:194 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#220 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:220 def ago(seconds); end - # source://activesupport//lib/active_support/core_ext/object/json.rb#201 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:201 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#236 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:236 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#263 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:263 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#279 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:279 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#257 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:257 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#273 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:273 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#288 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:288 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#244 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:244 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#246 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:246 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#235 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:235 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#245 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:245 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#231 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:231 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#260 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:260 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#276 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:276 def beginning_of_minute; end # No Time is blank: @@ -22751,7 +22753,7 @@ class Time # # @return [false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#192 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:192 def blank?; end # Returns a new Time where one or more of the elements have been changed according @@ -22769,46 +22771,46 @@ class Time # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#123 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:123 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#322 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:322 def compare_with_coercion(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#337 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:337 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#249 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:249 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#266 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:266 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#282 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:282 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#348 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:348 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#342 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:342 def eql_with_coercion(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#347 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:347 def eql_without_coercion(_arg0); end # Returns a formatted string of the offset from UTC, or an alternative @@ -22817,101 +22819,101 @@ class Time # 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 + # pkg:gem/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#228 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:228 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#242 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:242 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#239 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:239 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#234 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:234 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#313 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:313 def minus_with_coercion(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#300 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:300 def minus_with_duration(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#317 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:317 def minus_without_coercion(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#307 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:307 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#356 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:356 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#366 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:366 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#376 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:376 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#243 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:243 def noon; end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#290 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:290 def plus_with_duration(other); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#297 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:297 def plus_without_duration(_arg0); end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#196 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:196 def present?; end # Returns a new time the specified number of days ago. # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#351 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:351 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#361 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:361 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#371 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:371 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 + # pkg:gem/activesupport#lib/active_support/core_ext/time/conversions.rb:74 def rfc3339(*_arg0); 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 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:107 def sec_fraction; end # Returns the number of seconds since 00:00:00. @@ -22920,7 +22922,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 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:91 def seconds_since_midnight; end # Returns the number of seconds until 23:59:59. @@ -22929,12 +22931,12 @@ 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 + # pkg:gem/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#225 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:225 def since(seconds); end # Converts to a formatted string. See DATE_FORMATS for built-in formats. @@ -22964,7 +22966,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#62 + # pkg:gem/activesupport#lib/active_support/core_ext/time/conversions.rb:62 def to_formatted_s(format = T.unsafe(nil)); end # Converts to a formatted string. See DATE_FORMATS for built-in formats. @@ -22994,50 +22996,50 @@ 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#55 + # pkg:gem/activesupport#lib/active_support/core_ext/time/conversions.rb:55 def to_fs(format = T.unsafe(nil)); end # Return +self+. # - # source://activesupport//lib/active_support/core_ext/time/compatibility.rb#9 + # pkg:gem/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 + # pkg:gem/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#60 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:60 def at(time_or_number, *args, **_arg2); 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 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:45 def at_with_coercion(time_or_number, *args, **_arg2); end - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#59 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -23047,7 +23049,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 + # pkg:gem/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. @@ -23061,7 +23063,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 + # pkg:gem/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. @@ -23074,7 +23076,7 @@ class Time # # @raise [ArgumentError] # - # source://activesupport//lib/active_support/core_ext/time/calculations.rb#69 + # pkg:gem/activesupport#lib/active_support/core_ext/time/calculations.rb:69 def rfc3339(str); end # Allows override of Time.zone locally inside supplied block; @@ -23094,13 +23096,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 + # pkg:gem/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 + # pkg:gem/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. @@ -23127,32 +23129,32 @@ class Time # end # end # - # source://activesupport//lib/active_support/core_ext/time/zones.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#80 +# pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:80 class TrueClass - # source://activesupport//lib/active_support/core_ext/object/json.rb#81 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:81 def as_json(options = T.unsafe(nil)); end # +true+ is not blank: @@ -23161,22 +23163,22 @@ class TrueClass # # @return [false] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#86 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:86 def blank?; end # @return [Boolean] # - # source://activesupport//lib/active_support/core_ext/object/blank.rb#90 + # pkg:gem/activesupport#lib/active_support/core_ext/object/blank.rb:90 def present?; end # Returns +self+. # - # source://activesupport//lib/active_support/core_ext/object/to_query.rb#33 + # pkg:gem/activesupport#lib/active_support/core_ext/object/to_query.rb:33 def to_param; end end -# source://activesupport//lib/active_support/core_ext/object/json.rb#230 +# pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:230 class URI::Generic - # source://activesupport//lib/active_support/core_ext/object/json.rb#231 + # pkg:gem/activesupport#lib/active_support/core_ext/object/json.rb:231 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 834945cda..652f89ac1 100644 --- a/sorbet/rbi/gems/addressable@2.8.7.rbi +++ b/sorbet/rbi/gems/addressable@2.8.7.rbi @@ -7,66 +7,66 @@ # Addressable is a library for processing links and URIs. # -# source://addressable//lib/addressable/version.rb#22 +# pkg:gem/addressable#lib/addressable/version.rb:22 module Addressable; end -# source://addressable//lib/addressable/idna/pure.rb#21 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:21 module Addressable::IDNA class << self - # source://addressable//lib/addressable/idna/pure.rb#122 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:122 def _deprecated_unicode_normalize_kc(value); end # Converts from a Unicode internationalized domain name to an ASCII # domain name as described in RFC 3490. # - # source://addressable//lib/addressable/idna/pure.rb#67 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:67 def to_ascii(input); end # Converts from an ASCII domain name to a Unicode internationalized # domain name as described in RFC 3490. # - # source://addressable//lib/addressable/idna/pure.rb#93 + # pkg:gem/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 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:117 def unicode_normalize_kc(*args, **_arg1, &block); end private - # source://addressable//lib/addressable/idna/pure.rb#140 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:140 def lookup_unicode_lowercase(codepoint); end # Bias adaptation method # - # source://addressable//lib/addressable/idna/pure.rb#488 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:488 def punycode_adapt(delta, numpoints, firsttime); end # @return [Boolean] # - # source://addressable//lib/addressable/idna/pure.rb#456 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:456 def punycode_basic?(codepoint); end - # source://addressable//lib/addressable/idna/pure.rb#334 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:334 def punycode_decode(punycode); end # Returns the numeric value of a basic codepoint # (for use in representing integers) in the range 0 to # base - 1, or PUNYCODE_BASE if codepoint does not represent a value. # - # source://addressable//lib/addressable/idna/pure.rb#474 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:474 def punycode_decode_digit(codepoint); end # @return [Boolean] # - # source://addressable//lib/addressable/idna/pure.rb#461 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:461 def punycode_delimiter?(codepoint); end - # source://addressable//lib/addressable/idna/pure.rb#213 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:213 def punycode_encode(unicode); end - # source://addressable//lib/addressable/idna/pure.rb#466 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:466 def punycode_encode_digit(d); end # Unicode aware downcase method. @@ -75,112 +75,112 @@ module Addressable::IDNA # @param input [String] The input string. # @return [String] The downcased result. # - # source://addressable//lib/addressable/idna/pure.rb#132 + # pkg:gem/addressable#lib/addressable/idna/pure.rb:132 def unicode_downcase(input); end end end -# source://addressable//lib/addressable/idna/pure.rb#183 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:183 Addressable::IDNA::ACE_MAX_LENGTH = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#40 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:40 Addressable::IDNA::ACE_PREFIX = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/idna/pure.rb#172 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:172 Addressable::IDNA::COMPOSITION_TABLE = T.let(T.unsafe(nil), Hash) -# source://addressable//lib/addressable/idna/pure.rb#185 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:185 Addressable::IDNA::PUNYCODE_BASE = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#189 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:189 Addressable::IDNA::PUNYCODE_DAMP = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#192 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:192 Addressable::IDNA::PUNYCODE_DELIMITER = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#190 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:190 Addressable::IDNA::PUNYCODE_INITIAL_BIAS = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#191 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:191 Addressable::IDNA::PUNYCODE_INITIAL_N = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#194 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:194 Addressable::IDNA::PUNYCODE_MAXINT = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#196 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:196 Addressable::IDNA::PUNYCODE_PRINT_ASCII = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/idna/pure.rb#188 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:188 Addressable::IDNA::PUNYCODE_SKEW = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#187 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:187 Addressable::IDNA::PUNYCODE_TMAX = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#186 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:186 Addressable::IDNA::PUNYCODE_TMIN = T.let(T.unsafe(nil), Integer) # Input is invalid. # -# source://addressable//lib/addressable/idna/pure.rb#207 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:207 class Addressable::IDNA::PunycodeBadInput < ::StandardError; end # Output would exceed the space provided. # -# source://addressable//lib/addressable/idna/pure.rb#209 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:209 class Addressable::IDNA::PunycodeBigOutput < ::StandardError; end # Input needs wider integers to process. # -# source://addressable//lib/addressable/idna/pure.rb#211 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:211 class Addressable::IDNA::PunycodeOverflow < ::StandardError; end -# source://addressable//lib/addressable/idna/pure.rb#163 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:163 Addressable::IDNA::UNICODE_DATA = T.let(T.unsafe(nil), Hash) -# source://addressable//lib/addressable/idna/pure.rb#150 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:150 Addressable::IDNA::UNICODE_DATA_CANONICAL = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#148 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:148 Addressable::IDNA::UNICODE_DATA_COMBINING_CLASS = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#151 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:151 Addressable::IDNA::UNICODE_DATA_COMPATIBILITY = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#149 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:149 Addressable::IDNA::UNICODE_DATA_EXCLUSION = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#153 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:153 Addressable::IDNA::UNICODE_DATA_LOWERCASE = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#154 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:154 Addressable::IDNA::UNICODE_DATA_TITLECASE = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#152 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:152 Addressable::IDNA::UNICODE_DATA_UPPERCASE = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#182 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:182 Addressable::IDNA::UNICODE_MAX_LENGTH = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/idna/pure.rb#36 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:36 Addressable::IDNA::UNICODE_TABLE = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/idna/pure.rb#42 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:42 Addressable::IDNA::UTF8_REGEX = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/idna/pure.rb#53 +# pkg:gem/addressable#lib/addressable/idna/pure.rb:53 Addressable::IDNA::UTF8_REGEX_MULTIBYTE = T.let(T.unsafe(nil), Regexp) # This is an implementation of a URI template based on # RFC 6570 (http://tools.ietf.org/html/rfc6570). # -# source://addressable//lib/addressable/template.rb#27 +# pkg:gem/addressable#lib/addressable/template.rb:27 class Addressable::Template # Creates a new Addressable::Template object. # # @param pattern [#to_str] The URI Template pattern. # @return [Addressable::Template] The initialized Template object. # - # source://addressable//lib/addressable/template.rb#234 + # pkg:gem/addressable#lib/addressable/template.rb:234 def initialize(pattern); end # Returns true if the Template objects are equal. This method @@ -190,7 +190,7 @@ class Addressable::Template # @return [TrueClass, FalseClass] true if the Templates are equivalent, false # otherwise. # - # source://addressable//lib/addressable/template.rb#274 + # pkg:gem/addressable#lib/addressable/template.rb:274 def ==(template); end # Returns true if the Template objects are equal. This method @@ -202,7 +202,7 @@ class Addressable::Template # otherwise. # @see #== # - # source://addressable//lib/addressable/template.rb#283 + # pkg:gem/addressable#lib/addressable/template.rb:283 def eql?(template); end # Expands a URI template into a full URI. @@ -259,7 +259,7 @@ class Addressable::Template # @param processor [#validate, #transform] An optional processor object may be supplied. # @return [Addressable::URI] The expanded URI template. # - # source://addressable//lib/addressable/template.rb#591 + # pkg:gem/addressable#lib/addressable/template.rb:591 def expand(mapping, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end # Extracts a mapping from the URI using a URI Template pattern. @@ -313,21 +313,21 @@ class Addressable::Template # @return [Hash, NilClass] The Hash mapping that was extracted from the URI, or # nil if the URI didn't match the template. # - # source://addressable//lib/addressable/template.rb#342 + # pkg:gem/addressable#lib/addressable/template.rb:342 def extract(uri, processor = T.unsafe(nil)); end # Freeze URI, initializing instance variables. # # @return [Addressable::URI] The frozen URI object. # - # source://addressable//lib/addressable/template.rb#245 + # pkg:gem/addressable#lib/addressable/template.rb:245 def freeze; end # Returns a String representation of the Template object's state. # # @return [String] The Template object's state, as a String. # - # source://addressable//lib/addressable/template.rb#260 + # pkg:gem/addressable#lib/addressable/template.rb:260 def inspect; end # Returns an Array of variables used within the template pattern. @@ -337,7 +337,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#610 + # pkg:gem/addressable#lib/addressable/template.rb:610 def keys; end # Extracts match data from the URI using a URI Template pattern. @@ -400,7 +400,7 @@ class Addressable::Template # @return [Hash, NilClass] The Hash mapping that was extracted from the URI, or # nil if the URI didn't match the template. # - # source://addressable//lib/addressable/template.rb#413 + # pkg:gem/addressable#lib/addressable/template.rb:413 def match(uri, processor = T.unsafe(nil)); end # Returns the named captures of the coerced `Regexp`. @@ -408,7 +408,7 @@ class Addressable::Template # @api private # @return [Hash] The named captures of the `Regexp` given by {#to_regexp}. # - # source://addressable//lib/addressable/template.rb#651 + # pkg:gem/addressable#lib/addressable/template.rb:651 def named_captures; end # Returns an Array of variables used within the template pattern. @@ -418,7 +418,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#611 + # pkg:gem/addressable#lib/addressable/template.rb:611 def names; end # Expands a URI template into another URI template. @@ -455,12 +455,12 @@ class Addressable::Template # @param processor [#validate, #transform] An optional processor object may be supplied. # @return [Addressable::Template] The partially expanded URI template. # - # source://addressable//lib/addressable/template.rb#524 + # pkg:gem/addressable#lib/addressable/template.rb:524 def partial_expand(mapping, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end # @return [String] The Template object's pattern. # - # source://addressable//lib/addressable/template.rb#254 + # pkg:gem/addressable#lib/addressable/template.rb:254 def pattern; end # Returns the source of the coerced `Regexp`. @@ -468,7 +468,7 @@ class Addressable::Template # @api private # @return [String] The source of the `Regexp` given by {#to_regexp}. # - # source://addressable//lib/addressable/template.rb#641 + # pkg:gem/addressable#lib/addressable/template.rb:641 def source; end # Coerces a template into a `Regexp` object. This regular expression will @@ -478,7 +478,7 @@ class Addressable::Template # # @return [Regexp] A regular expression which should match the template. # - # source://addressable//lib/addressable/template.rb#630 + # pkg:gem/addressable#lib/addressable/template.rb:630 def to_regexp; end # Returns a mapping of variables to their default values specified @@ -486,7 +486,7 @@ class Addressable::Template # # @return [Hash] Mapping of template variables to their defaults # - # source://addressable//lib/addressable/template.rb#618 + # pkg:gem/addressable#lib/addressable/template.rb:618 def variable_defaults; end # Returns an Array of variables used within the template pattern. @@ -496,7 +496,7 @@ class Addressable::Template # # @return [Array] The variables present in the template's pattern. # - # source://addressable//lib/addressable/template.rb#607 + # pkg:gem/addressable#lib/addressable/template.rb:607 def variables; end private @@ -510,7 +510,7 @@ class Addressable::Template # be joined together. # @return [String] The transformed mapped value # - # source://addressable//lib/addressable/template.rb#861 + # pkg:gem/addressable#lib/addressable/template.rb:861 def join_values(operator, return_value); end # Generates a hash with string keys @@ -518,7 +518,7 @@ class Addressable::Template # @param mapping [Hash] A mapping hash to normalize # @return [Hash] A hash with stringified keys # - # source://addressable//lib/addressable/template.rb#924 + # pkg:gem/addressable#lib/addressable/template.rb:924 def normalize_keys(mapping); end # Takes a set of values, and joins them together based on the @@ -527,10 +527,10 @@ class Addressable::Template # @param value [Hash, Array, String] Normalizes unicode keys and values with String#unicode_normalize (NFC) # @return [Hash, Array, String] The normalized values # - # source://addressable//lib/addressable/template.rb#898 + # pkg:gem/addressable#lib/addressable/template.rb:898 def normalize_value(value); end - # source://addressable//lib/addressable/template.rb#656 + # pkg:gem/addressable#lib/addressable/template.rb:656 def ordered_variable_defaults; end # Generates the Regexp that parses a template pattern. @@ -540,7 +540,7 @@ class Addressable::Template # @return [Array, Regexp] An array of expansion variables nad a regular expression which may be # used to parse a template pattern # - # source://addressable//lib/addressable/template.rb#968 + # pkg:gem/addressable#lib/addressable/template.rb:968 def parse_new_template_pattern(pattern, processor = T.unsafe(nil)); end # Generates the Regexp that parses a template pattern. Memoizes the @@ -551,7 +551,7 @@ class Addressable::Template # @return [Array, Regexp] An array of expansion variables nad a regular expression which may be # used to parse a template pattern # - # source://addressable//lib/addressable/template.rb#950 + # pkg:gem/addressable#lib/addressable/template.rb:950 def parse_template_pattern(pattern, processor = T.unsafe(nil)); end # Transforms a mapped value so that values can be substituted into the @@ -575,7 +575,7 @@ class Addressable::Template # @param processor [#validate, #transform] An optional processor object may be supplied. # @return [String] The expanded expression # - # source://addressable//lib/addressable/template.rb#753 + # pkg:gem/addressable#lib/addressable/template.rb:753 def transform_capture(mapping, capture, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end # Loops through each capture and expands any values available in mapping @@ -598,33 +598,33 @@ class Addressable::Template # @param processor [#validate, #transform] An optional processor object may be supplied. # @return [String] The expanded expression # - # source://addressable//lib/addressable/template.rb#694 + # pkg:gem/addressable#lib/addressable/template.rb:694 def transform_partial_capture(mapping, capture, processor = T.unsafe(nil), normalize_values = T.unsafe(nil)); end end -# source://addressable//lib/addressable/template.rb#58 +# pkg:gem/addressable#lib/addressable/template.rb:58 Addressable::Template::EXPRESSION = T.let(T.unsafe(nil), Regexp) # Raised if an invalid template operator is used in a pattern. # -# source://addressable//lib/addressable/template.rb#85 +# pkg:gem/addressable#lib/addressable/template.rb:85 class Addressable::Template::InvalidTemplateOperatorError < ::StandardError; end # Raised if an invalid template value is supplied. # -# source://addressable//lib/addressable/template.rb#80 +# pkg:gem/addressable#lib/addressable/template.rb:80 class Addressable::Template::InvalidTemplateValueError < ::StandardError; end -# source://addressable//lib/addressable/template.rb#70 +# pkg:gem/addressable#lib/addressable/template.rb:70 Addressable::Template::JOINERS = T.let(T.unsafe(nil), Hash) -# source://addressable//lib/addressable/template.rb#62 +# pkg:gem/addressable#lib/addressable/template.rb:62 Addressable::Template::LEADERS = T.let(T.unsafe(nil), Hash) # This class represents the data that is extracted when a Template # is matched against a URI. # -# source://addressable//lib/addressable/template.rb#96 +# pkg:gem/addressable#lib/addressable/template.rb:96 class Addressable::Template::MatchData # Creates a new MatchData object. # MatchData objects should never be instantiated directly. @@ -632,7 +632,7 @@ class Addressable::Template::MatchData # @param uri [Addressable::URI] The URI that the template was matched against. # @return [MatchData] a new instance of MatchData # - # source://addressable//lib/addressable/template.rb#103 + # pkg:gem/addressable#lib/addressable/template.rb:103 def initialize(uri, template, mapping); end # Accesses captured values by name or by index. @@ -649,28 +649,28 @@ class Addressable::Template::MatchData # If the second parameter is provided, an array of that length will # be returned instead. # - # source://addressable//lib/addressable/template.rb#170 + # pkg:gem/addressable#lib/addressable/template.rb:170 def [](key, len = T.unsafe(nil)); end # @return [Array] The list of values that were captured by the Template. # 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#149 + # pkg:gem/addressable#lib/addressable/template.rb:149 def captures; end # Returns a String representation of the MatchData's state. # # @return [String] The MatchData's state, as a String. # - # source://addressable//lib/addressable/template.rb#213 + # pkg:gem/addressable#lib/addressable/template.rb:213 def inspect; end # @return [Array] The list of variables that were present in the Template. # 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#135 + # pkg:gem/addressable#lib/addressable/template.rb:135 def keys; end # @return [Hash] The mapping that resulted from the match. @@ -678,61 +678,61 @@ class Addressable::Template::MatchData # variables that appear in the Template, but are not present # in the URI. # - # source://addressable//lib/addressable/template.rb#125 + # pkg:gem/addressable#lib/addressable/template.rb:125 def mapping; end # @return [Array] The list of variables that were present in the Template. # 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#136 + # pkg:gem/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#225 + # pkg:gem/addressable#lib/addressable/template.rb:225 def post_match; end # Dummy method for code expecting a ::MatchData instance # # @return [String] An empty string. # - # source://addressable//lib/addressable/template.rb#222 + # pkg:gem/addressable#lib/addressable/template.rb:222 def pre_match; end # @return [String] The matched URI as String. # - # source://addressable//lib/addressable/template.rb#194 + # pkg:gem/addressable#lib/addressable/template.rb:194 def string; end # @return [Addressable::Template] The Template used for the match. # - # source://addressable//lib/addressable/template.rb#117 + # pkg:gem/addressable#lib/addressable/template.rb:117 def template; end # @return [Array] Array with the matched URI as first element followed by the captured # values. # - # source://addressable//lib/addressable/template.rb#184 + # pkg:gem/addressable#lib/addressable/template.rb:184 def to_a; end # @return [String] The matched URI as String. # - # source://addressable//lib/addressable/template.rb#191 + # pkg:gem/addressable#lib/addressable/template.rb:191 def to_s; end # @return [Addressable::URI] The URI that the Template was matched against. # - # source://addressable//lib/addressable/template.rb#112 + # pkg:gem/addressable#lib/addressable/template.rb:112 def uri; end # @return [Array] The list of values that were captured by the Template. # 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 + # pkg:gem/addressable#lib/addressable/template.rb:143 def values; end # Returns multiple captured values at once. @@ -741,42 +741,42 @@ class Addressable::Template::MatchData # @return [Array] Values corresponding to given indices. # @see Addressable::Template::MatchData#[] # - # source://addressable//lib/addressable/template.rb#205 + # pkg:gem/addressable#lib/addressable/template.rb:205 def values_at(*indexes); end # @return [Array] The list of variables that were present in the Template. # 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 + # pkg:gem/addressable#lib/addressable/template.rb:132 def variables; end end -# source://addressable//lib/addressable/template.rb#40 +# pkg:gem/addressable#lib/addressable/template.rb:40 Addressable::Template::RESERVED = T.let(T.unsafe(nil), String) # Raised if an invalid template operator is used in a pattern. # -# source://addressable//lib/addressable/template.rb#90 +# pkg:gem/addressable#lib/addressable/template.rb:90 class Addressable::Template::TemplateOperatorAbortedError < ::StandardError; end -# source://addressable//lib/addressable/template.rb#42 +# pkg:gem/addressable#lib/addressable/template.rb:42 Addressable::Template::UNRESERVED = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/template.rb#54 +# pkg:gem/addressable#lib/addressable/template.rb:54 Addressable::Template::VARIABLE_LIST = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/template.rb#50 +# pkg:gem/addressable#lib/addressable/template.rb:50 Addressable::Template::VARNAME = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/template.rb#52 +# pkg:gem/addressable#lib/addressable/template.rb:52 Addressable::Template::VARSPEC = T.let(T.unsafe(nil), Regexp) # This is an implementation of a URI parser based on # RFC 3986, # RFC 3987. # -# source://addressable//lib/addressable/uri.rb#31 +# pkg:gem/addressable#lib/addressable/uri.rb:31 class Addressable::URI # Creates a new uri object from component parts. # @@ -793,7 +793,7 @@ class Addressable::URI # @param [String, [Hash] a customizable set of options # @return [Addressable::URI] The constructed URI object. # - # source://addressable//lib/addressable/uri.rb#830 + # pkg:gem/addressable#lib/addressable/uri.rb:830 def initialize(options = T.unsafe(nil)); end # Joins two URIs together. @@ -801,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#1982 + # pkg:gem/addressable#lib/addressable/uri.rb:1982 def +(uri); end # Returns true if the URI objects are equal. This method @@ -811,7 +811,7 @@ class Addressable::URI # @return [TrueClass, FalseClass] true if the URIs are equivalent, false # otherwise. # - # source://addressable//lib/addressable/uri.rb#2239 + # pkg:gem/addressable#lib/addressable/uri.rb:2239 def ==(uri); end # Returns true if the URI objects are equal. This method @@ -822,7 +822,7 @@ class Addressable::URI # @return [TrueClass, FalseClass] true if the URIs are equivalent, false # otherwise. # - # source://addressable//lib/addressable/uri.rb#2217 + # pkg:gem/addressable#lib/addressable/uri.rb:2217 def ===(uri); end # Determines if the URI is absolute. @@ -830,7 +830,7 @@ class Addressable::URI # @return [TrueClass, FalseClass] true if the URI is absolute. false # otherwise. # - # source://addressable//lib/addressable/uri.rb#1879 + # pkg:gem/addressable#lib/addressable/uri.rb:1879 def absolute?; end # The authority component for this URI. @@ -838,21 +838,21 @@ class Addressable::URI # # @return [String] The authority component. # - # source://addressable//lib/addressable/uri.rb#1234 + # pkg:gem/addressable#lib/addressable/uri.rb:1234 def authority; end # Sets the authority component for this URI. # # @param new_authority [String, #to_str] The new authority component. # - # source://addressable//lib/addressable/uri.rb#1274 + # pkg:gem/addressable#lib/addressable/uri.rb:1274 def authority=(new_authority); end # The basename, if any, of the file in the path component. # # @return [String] The path's basename. # - # source://addressable//lib/addressable/uri.rb#1588 + # pkg:gem/addressable#lib/addressable/uri.rb:1588 def basename; end # The default port for this URI's scheme. @@ -861,7 +861,7 @@ class Addressable::URI # # @return [Integer] The default port. # - # source://addressable//lib/addressable/uri.rb#1454 + # pkg:gem/addressable#lib/addressable/uri.rb:1454 def default_port; end # This method allows you to make several changes to a URI simultaneously, @@ -871,7 +871,7 @@ class Addressable::URI # # @param block [Proc] A set of operations to perform on a given URI. # - # source://addressable//lib/addressable/uri.rb#2396 + # pkg:gem/addressable#lib/addressable/uri.rb:2396 def defer_validation; end # Creates a URI suitable for display to users. If semantic attacks are @@ -881,7 +881,7 @@ class Addressable::URI # # @return [Addressable::URI] A URI suitable for display purposes. # - # source://addressable//lib/addressable/uri.rb#2201 + # pkg:gem/addressable#lib/addressable/uri.rb:2201 def display_uri; end # Returns the public suffix domain for this host. @@ -889,24 +889,24 @@ class Addressable::URI # @example # Addressable::URI.parse("http://www.example.co.uk").domain # => "example.co.uk" # - # source://addressable//lib/addressable/uri.rb#1225 + # pkg:gem/addressable#lib/addressable/uri.rb:1225 def domain; end # Clones the URI object. # # @return [Addressable::URI] The cloned URI. # - # source://addressable//lib/addressable/uri.rb#2271 + # pkg:gem/addressable#lib/addressable/uri.rb:2271 def dup; end # Determines if the URI is an empty string. # # @return [TrueClass, FalseClass] Returns true if empty, false otherwise. # - # source://addressable//lib/addressable/uri.rb#2333 + # pkg:gem/addressable#lib/addressable/uri.rb:2333 def empty?; end - # source://addressable//lib/addressable/uri.rb#2406 + # pkg:gem/addressable#lib/addressable/uri.rb:2406 def encode_with(coder); end # Returns true if the URI objects are equal. This method @@ -916,7 +916,7 @@ class Addressable::URI # @return [TrueClass, FalseClass] true if the URIs are equivalent, false # otherwise. # - # source://addressable//lib/addressable/uri.rb#2253 + # pkg:gem/addressable#lib/addressable/uri.rb:2253 def eql?(uri); end # The extname, if any, of the file in the path component. @@ -924,28 +924,28 @@ class Addressable::URI # # @return [String] The path's extname. # - # source://addressable//lib/addressable/uri.rb#1598 + # pkg:gem/addressable#lib/addressable/uri.rb:1598 def extname; end # The fragment component for this URI. # # @return [String] The fragment component. # - # source://addressable//lib/addressable/uri.rb#1810 + # pkg:gem/addressable#lib/addressable/uri.rb:1810 def fragment; end # Sets the fragment component for this URI. # # @param new_fragment [String, #to_str] The new fragment component. # - # source://addressable//lib/addressable/uri.rb#1835 + # pkg:gem/addressable#lib/addressable/uri.rb:1835 def fragment=(new_fragment); end # Freeze URI, initializing instance variables. # # @return [Addressable::URI] The frozen URI object. # - # source://addressable//lib/addressable/uri.rb#870 + # pkg:gem/addressable#lib/addressable/uri.rb:870 def freeze; end # A hash value that will make a URI equivalent to its normalized @@ -953,21 +953,21 @@ class Addressable::URI # # @return [Integer] A hash of the URI. # - # source://addressable//lib/addressable/uri.rb#2263 + # pkg:gem/addressable#lib/addressable/uri.rb:2263 def hash; end # The host component for this URI. # # @return [String] The host component. # - # source://addressable//lib/addressable/uri.rb#1120 + # pkg:gem/addressable#lib/addressable/uri.rb:1120 def host; end # Sets the host component for this URI. # # @param new_host [String, #to_str] The new host component. # - # source://addressable//lib/addressable/uri.rb#1156 + # pkg:gem/addressable#lib/addressable/uri.rb:1156 def host=(new_host); end # This method is same as URI::Generic#host except @@ -976,7 +976,7 @@ class Addressable::URI # @return [String] The hostname for this URI. # @see Addressable::URI#host # - # source://addressable//lib/addressable/uri.rb#1178 + # pkg:gem/addressable#lib/addressable/uri.rb:1178 def hostname; end # This method is same as URI::Generic#host= except @@ -985,7 +985,7 @@ class Addressable::URI # @param new_hostname [String, #to_str] The new hostname for this URI. # @see Addressable::URI#host= # - # source://addressable//lib/addressable/uri.rb#1190 + # pkg:gem/addressable#lib/addressable/uri.rb:1190 def hostname=(new_hostname); end # The inferred port component for this URI. @@ -994,17 +994,17 @@ class Addressable::URI # # @return [Integer] The inferred port component. # - # source://addressable//lib/addressable/uri.rb#1440 + # pkg:gem/addressable#lib/addressable/uri.rb:1440 def inferred_port; end - # source://addressable//lib/addressable/uri.rb#2417 + # pkg:gem/addressable#lib/addressable/uri.rb:2417 def init_with(coder); end # Returns a String representation of the URI object's state. # # @return [String] The URI object's state, as a String. # - # source://addressable//lib/addressable/uri.rb#2384 + # pkg:gem/addressable#lib/addressable/uri.rb:2384 def inspect; end # Determines if the scheme indicates an IP-based protocol. @@ -1012,7 +1012,7 @@ class Addressable::URI # @return [TrueClass, FalseClass] true if the scheme indicates an IP-based protocol. # false otherwise. # - # source://addressable//lib/addressable/uri.rb#1855 + # pkg:gem/addressable#lib/addressable/uri.rb:1855 def ip_based?; end # Joins two URIs together. @@ -1020,7 +1020,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 + # pkg:gem/addressable#lib/addressable/uri.rb:1889 def join(uri); end # Destructive form of join. @@ -1029,7 +1029,7 @@ class Addressable::URI # @return [Addressable::URI] The joined URI. # @see Addressable::URI#join # - # source://addressable//lib/addressable/uri.rb#1992 + # pkg:gem/addressable#lib/addressable/uri.rb:1992 def join!(uri); end # Merges a URI with a Hash of components. @@ -1041,7 +1041,7 @@ class Addressable::URI # @return [Addressable::URI] The merged URI. # @see Hash#merge # - # source://addressable//lib/addressable/uri.rb#2007 + # pkg:gem/addressable#lib/addressable/uri.rb:2007 def merge(hash); end # Destructive form of merge. @@ -1050,7 +1050,7 @@ class Addressable::URI # @return [Addressable::URI] The merged URI. # @see Addressable::URI#merge # - # source://addressable//lib/addressable/uri.rb#2072 + # pkg:gem/addressable#lib/addressable/uri.rb:2072 def merge!(uri); end # Returns a normalized URI object. @@ -1063,7 +1063,7 @@ class Addressable::URI # # @return [Addressable::URI] The normalized URI. # - # source://addressable//lib/addressable/uri.rb#2164 + # pkg:gem/addressable#lib/addressable/uri.rb:2164 def normalize; end # Destructively normalizes this URI object. @@ -1071,63 +1071,63 @@ class Addressable::URI # @return [Addressable::URI] The normalized URI. # @see Addressable::URI#normalize # - # source://addressable//lib/addressable/uri.rb#2190 + # pkg:gem/addressable#lib/addressable/uri.rb:2190 def normalize!; end # The authority component for this URI, normalized. # # @return [String] The authority component, normalized. # - # source://addressable//lib/addressable/uri.rb#1252 + # pkg:gem/addressable#lib/addressable/uri.rb:1252 def normalized_authority; end # The fragment component for this URI, normalized. # # @return [String] The fragment component, normalized. # - # source://addressable//lib/addressable/uri.rb#1816 + # pkg:gem/addressable#lib/addressable/uri.rb:1816 def normalized_fragment; end # The host component for this URI, normalized. # # @return [String] The host component, normalized. # - # source://addressable//lib/addressable/uri.rb#1126 + # pkg:gem/addressable#lib/addressable/uri.rb:1126 def normalized_host; end # The password component for this URI, normalized. # # @return [String] The password component, normalized. # - # source://addressable//lib/addressable/uri.rb#1002 + # pkg:gem/addressable#lib/addressable/uri.rb:1002 def normalized_password; end # The path component for this URI, normalized. # # @return [String] The path component, normalized. # - # source://addressable//lib/addressable/uri.rb#1535 + # pkg:gem/addressable#lib/addressable/uri.rb:1535 def normalized_path; end # The port component for this URI, normalized. # # @return [Integer] The port component, normalized. # - # source://addressable//lib/addressable/uri.rb#1392 + # pkg:gem/addressable#lib/addressable/uri.rb:1392 def normalized_port; end # The query component for this URI, normalized. # # @return [String] The query component, normalized. # - # source://addressable//lib/addressable/uri.rb#1613 + # pkg:gem/addressable#lib/addressable/uri.rb:1613 def normalized_query(*flags); end # The scheme component for this URI, normalized. # # @return [String] The scheme component, normalized. # - # source://addressable//lib/addressable/uri.rb#896 + # pkg:gem/addressable#lib/addressable/uri.rb:896 def normalized_scheme; end # The normalized combination of components that represent a site. @@ -1139,21 +1139,21 @@ class Addressable::URI # # @return [String] The normalized components that identify a site. # - # source://addressable//lib/addressable/uri.rb#1485 + # pkg:gem/addressable#lib/addressable/uri.rb:1485 def normalized_site; end # The user component for this URI, normalized. # # @return [String] The user component, normalized. # - # source://addressable//lib/addressable/uri.rb#947 + # pkg:gem/addressable#lib/addressable/uri.rb:947 def normalized_user; end # The userinfo component for this URI, normalized. # # @return [String] The userinfo component, normalized. # - # source://addressable//lib/addressable/uri.rb#1068 + # pkg:gem/addressable#lib/addressable/uri.rb:1068 def normalized_userinfo; end # Omits components from a URI. @@ -1166,7 +1166,7 @@ class Addressable::URI # @param *components [Symbol] The components to be omitted. # @return [Addressable::URI] The URI with components omitted. # - # source://addressable//lib/addressable/uri.rb#2297 + # pkg:gem/addressable#lib/addressable/uri.rb:2297 def omit(*components); end # Destructive form of omit. @@ -1175,7 +1175,7 @@ class Addressable::URI # @return [Addressable::URI] The URI with components omitted. # @see Addressable::URI#omit # - # source://addressable//lib/addressable/uri.rb#2324 + # pkg:gem/addressable#lib/addressable/uri.rb:2324 def omit!(*components); end # The origin for this URI, serialized to ASCII, as per @@ -1183,7 +1183,7 @@ class Addressable::URI # # @return [String] The serialized origin. # - # source://addressable//lib/addressable/uri.rb#1314 + # pkg:gem/addressable#lib/addressable/uri.rb:1314 def origin; end # Sets the origin for this URI, serialized to ASCII, as per @@ -1192,35 +1192,35 @@ class Addressable::URI # # @param new_origin [String, #to_str] The new origin component. # - # source://addressable//lib/addressable/uri.rb#1333 + # pkg:gem/addressable#lib/addressable/uri.rb:1333 def origin=(new_origin); end # The password component for this URI. # # @return [String] The password component. # - # source://addressable//lib/addressable/uri.rb#996 + # pkg:gem/addressable#lib/addressable/uri.rb:996 def password; end # Sets the password component for this URI. # # @param new_password [String, #to_str] The new password component. # - # source://addressable//lib/addressable/uri.rb#1025 + # pkg:gem/addressable#lib/addressable/uri.rb:1025 def password=(new_password); end # The path component for this URI. # # @return [String] The path component. # - # source://addressable//lib/addressable/uri.rb#1528 + # pkg:gem/addressable#lib/addressable/uri.rb:1528 def path; end # Sets the path component for this URI. # # @param new_path [String, #to_str] The new path component. # - # source://addressable//lib/addressable/uri.rb#1567 + # pkg:gem/addressable#lib/addressable/uri.rb:1567 def path=(new_path); end # The port component for this URI. @@ -1229,28 +1229,28 @@ class Addressable::URI # # @return [Integer] The port component. # - # source://addressable//lib/addressable/uri.rb#1386 + # pkg:gem/addressable#lib/addressable/uri.rb:1386 def port; end # Sets the port component for this URI. # # @param new_port [String, Integer, #to_s] The new port component. # - # source://addressable//lib/addressable/uri.rb#1408 + # pkg:gem/addressable#lib/addressable/uri.rb:1408 def port=(new_port); end # The query component for this URI. # # @return [String] The query component. # - # source://addressable//lib/addressable/uri.rb#1607 + # pkg:gem/addressable#lib/addressable/uri.rb:1607 def query; end # Sets the query component for this URI. # # @param new_query [String, #to_str] The new query component. # - # source://addressable//lib/addressable/uri.rb#1641 + # pkg:gem/addressable#lib/addressable/uri.rb:1641 def query=(new_query); end # Converts the query component to a Hash value. @@ -1271,7 +1271,7 @@ class Addressable::URI # @return [Hash, Array, nil] The query string parsed as a Hash or Array # or nil if the query string is blank. # - # source://addressable//lib/addressable/uri.rb#1672 + # pkg:gem/addressable#lib/addressable/uri.rb:1672 def query_values(return_type = T.unsafe(nil)); end # Sets the query component for this URI from a Hash object. @@ -1292,7 +1292,7 @@ class Addressable::URI # # => "flag&key=value" # @param new_query_values [Hash, #to_hash, Array] The new query values. # - # source://addressable//lib/addressable/uri.rb#1723 + # pkg:gem/addressable#lib/addressable/uri.rb:1723 def query_values=(new_query_values); end # Determines if the URI is relative. @@ -1300,7 +1300,7 @@ class Addressable::URI # @return [TrueClass, FalseClass] true if the URI is relative. false # otherwise. # - # source://addressable//lib/addressable/uri.rb#1869 + # pkg:gem/addressable#lib/addressable/uri.rb:1869 def relative?; end # The HTTP request URI for this URI. This is the path and the @@ -1308,14 +1308,14 @@ class Addressable::URI # # @return [String] The request URI required for an HTTP request. # - # source://addressable//lib/addressable/uri.rb#1774 + # pkg:gem/addressable#lib/addressable/uri.rb:1774 def request_uri; end # Sets the HTTP request URI for this URI. # # @param new_request_uri [String, #to_str] The new HTTP request URI. # - # source://addressable//lib/addressable/uri.rb#1786 + # pkg:gem/addressable#lib/addressable/uri.rb:1786 def request_uri=(new_request_uri); end # Returns the shortest normalized relative form of this URI that uses the @@ -1325,7 +1325,7 @@ class Addressable::URI # @param uri [String, Addressable::URI, #to_str] The URI to route from. # @return [Addressable::URI] The normalized relative URI that is equivalent to the original URI. # - # source://addressable//lib/addressable/uri.rb#2085 + # pkg:gem/addressable#lib/addressable/uri.rb:2085 def route_from(uri); end # Returns the shortest normalized relative form of the supplied URI that @@ -1335,21 +1335,21 @@ class Addressable::URI # @param uri [String, Addressable::URI, #to_str] The URI to route to. # @return [Addressable::URI] The normalized relative URI that is equivalent to the supplied URI. # - # source://addressable//lib/addressable/uri.rb#2150 + # pkg:gem/addressable#lib/addressable/uri.rb:2150 def route_to(uri); end # The scheme component for this URI. # # @return [String] The scheme component. # - # source://addressable//lib/addressable/uri.rb#890 + # pkg:gem/addressable#lib/addressable/uri.rb:890 def scheme; end # Sets the scheme component for this URI. # # @param new_scheme [String, #to_str] The new scheme component. # - # source://addressable//lib/addressable/uri.rb#917 + # pkg:gem/addressable#lib/addressable/uri.rb:917 def scheme=(new_scheme); end # The combination of components that represent a site. @@ -1361,14 +1361,14 @@ class Addressable::URI # # @return [String] The components that identify a site. # - # source://addressable//lib/addressable/uri.rb#1467 + # pkg:gem/addressable#lib/addressable/uri.rb:1467 def site; end # Sets the site value for this URI. # # @param new_site [String, #to_str] The new site value. # - # source://addressable//lib/addressable/uri.rb#1506 + # pkg:gem/addressable#lib/addressable/uri.rb:1506 def site=(new_site); end # Returns the top-level domain for this host. @@ -1376,28 +1376,28 @@ class Addressable::URI # @example # Addressable::URI.parse("http://www.example.co.uk").tld # => "co.uk" # - # source://addressable//lib/addressable/uri.rb#1207 + # pkg:gem/addressable#lib/addressable/uri.rb:1207 def tld; end # Sets the top-level domain for this URI. # # @param new_tld [String, #to_str] The new top-level domain. # - # source://addressable//lib/addressable/uri.rb#1215 + # pkg:gem/addressable#lib/addressable/uri.rb:1215 def tld=(new_tld); end # Returns a Hash of the URI components. # # @return [Hash] The URI as a Hash of components. # - # source://addressable//lib/addressable/uri.rb#2367 + # pkg:gem/addressable#lib/addressable/uri.rb:2367 def to_hash; end # Converts the URI to a String. # # @return [String] The URI's String representation. # - # source://addressable//lib/addressable/uri.rb#2341 + # pkg:gem/addressable#lib/addressable/uri.rb:2341 def to_s; end # Converts the URI to a String. @@ -1405,21 +1405,21 @@ class Addressable::URI # # @return [String] The URI's String representation. # - # source://addressable//lib/addressable/uri.rb#2361 + # pkg:gem/addressable#lib/addressable/uri.rb:2361 def to_str; end # The user component for this URI. # # @return [String] The user component. # - # source://addressable//lib/addressable/uri.rb#941 + # pkg:gem/addressable#lib/addressable/uri.rb:941 def user; end # Sets the user component for this URI. # # @param new_user [String, #to_str] The new user component. # - # source://addressable//lib/addressable/uri.rb#970 + # pkg:gem/addressable#lib/addressable/uri.rb:970 def user=(new_user); end # The userinfo component for this URI. @@ -1427,14 +1427,14 @@ class Addressable::URI # # @return [String] The userinfo component. # - # source://addressable//lib/addressable/uri.rb#1052 + # pkg:gem/addressable#lib/addressable/uri.rb:1052 def userinfo; end # Sets the userinfo component for this URI. # # @param new_userinfo [String, #to_str] The new userinfo component. # - # source://addressable//lib/addressable/uri.rb#1091 + # pkg:gem/addressable#lib/addressable/uri.rb:1091 def userinfo=(new_userinfo); end protected @@ -1443,14 +1443,14 @@ class Addressable::URI # # @api private # - # source://addressable//lib/addressable/uri.rb#2561 + # pkg:gem/addressable#lib/addressable/uri.rb:2561 def force_utf8_encoding_if_needed(str); end # Resets composite values for the entire URI # # @api private # - # source://addressable//lib/addressable/uri.rb#2552 + # pkg:gem/addressable#lib/addressable/uri.rb:2552 def remove_composite_values; end # Replaces the internal state of self with the specified URI's state. @@ -1459,7 +1459,7 @@ class Addressable::URI # @param uri [Addressable::URI] The URI to replace self with. # @return [Addressable::URI] self. # - # source://addressable//lib/addressable/uri.rb#2519 + # pkg:gem/addressable#lib/addressable/uri.rb:2519 def replace_self(uri); end # Splits path string with "/" (slash). @@ -1469,12 +1469,12 @@ class Addressable::URI # @param path [String] The path to split. # @return [Array] An array of parts of path. # - # source://addressable//lib/addressable/uri.rb#2542 + # pkg:gem/addressable#lib/addressable/uri.rb:2542 def split_path(path); end # Ensures that the URI is valid. # - # source://addressable//lib/addressable/uri.rb#2476 + # pkg:gem/addressable#lib/addressable/uri.rb:2476 def validate; end private @@ -1483,7 +1483,7 @@ class Addressable::URI # # @api private # - # source://addressable//lib/addressable/uri.rb#2573 + # pkg:gem/addressable#lib/addressable/uri.rb:2573 def reset_ivs; end class << self @@ -1512,7 +1512,7 @@ class Addressable::URI # @return [Addressable::URI] The parsed file scheme URI or the original URI if some other URI # scheme was provided. # - # source://addressable//lib/addressable/uri.rb#292 + # pkg:gem/addressable#lib/addressable/uri.rb:292 def convert_path(path); end # Percent encodes any special characters in the URI. @@ -1526,7 +1526,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#616 + # pkg:gem/addressable#lib/addressable/uri.rb:616 def encode(uri, return_type = T.unsafe(nil)); end # Percent encodes a URI component. @@ -1559,7 +1559,7 @@ class Addressable::URI # character_class. # @return [String] The encoded component. # - # source://addressable//lib/addressable/uri.rb#403 + # pkg:gem/addressable#lib/addressable/uri.rb:403 def encode_component(component, character_class = T.unsafe(nil), upcase_encoded = T.unsafe(nil)); end # Percent encodes any special characters in the URI. @@ -1573,7 +1573,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#651 + # pkg:gem/addressable#lib/addressable/uri.rb:651 def escape(uri, return_type = T.unsafe(nil)); end # Percent encodes a URI component. @@ -1606,7 +1606,7 @@ class Addressable::URI # character_class. # @return [String] The encoded component. # - # source://addressable//lib/addressable/uri.rb#446 + # pkg:gem/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 @@ -1617,7 +1617,7 @@ class Addressable::URI # Defaults to false. # @return [String] The encoded value. # - # source://addressable//lib/addressable/uri.rb#740 + # pkg:gem/addressable#lib/addressable/uri.rb:740 def form_encode(form_values, sort = T.unsafe(nil)); end # Decodes a String according to the rules for the @@ -1628,7 +1628,7 @@ class Addressable::URI # This is not a Hash because of the possibility for # duplicate keys. # - # source://addressable//lib/addressable/uri.rb#793 + # pkg:gem/addressable#lib/addressable/uri.rb:793 def form_unencode(encoded_value); end # Converts an input to a URI. The input does not have to be a valid @@ -1642,14 +1642,14 @@ class Addressable::URI # Addressable::URI. # @return [Addressable::URI] The parsed URI. # - # source://addressable//lib/addressable/uri.rb#191 + # pkg:gem/addressable#lib/addressable/uri.rb:191 def heuristic_parse(uri, hints = T.unsafe(nil)); end # Returns an array of known ip-based schemes. These schemes typically # use a similar URI form: # //:@:/ # - # source://addressable//lib/addressable/uri.rb#1369 + # pkg:gem/addressable#lib/addressable/uri.rb:1369 def ip_based_schemes; end # Joins several URIs together. @@ -1662,7 +1662,7 @@ class Addressable::URI # @param *uris [String, Addressable::URI, #to_str] The URIs to join. # @return [Addressable::URI] The joined URI. # - # source://addressable//lib/addressable/uri.rb#343 + # pkg:gem/addressable#lib/addressable/uri.rb:343 def join(*uris); end # Normalizes the encoding of a URI component. @@ -1704,7 +1704,7 @@ class Addressable::URI # normalized to "%2F") but otherwise left alone. # @return [String] The normalized component. # - # source://addressable//lib/addressable/uri.rb#552 + # pkg:gem/addressable#lib/addressable/uri.rb:552 def normalize_component(component, character_class = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end # Resolves paths to their simplest form. @@ -1712,7 +1712,7 @@ class Addressable::URI # @param path [String] The path to normalize. # @return [String] The normalized path. # - # source://addressable//lib/addressable/uri.rb#2440 + # pkg:gem/addressable#lib/addressable/uri.rb:2440 def normalize_path(path); end # Normalizes the encoding of a URI. Characters within a hostname are @@ -1727,7 +1727,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#671 + # pkg:gem/addressable#lib/addressable/uri.rb:671 def normalized_encode(uri, return_type = T.unsafe(nil)); end # Returns a URI object based on the parsed string. @@ -1737,14 +1737,14 @@ class Addressable::URI # Addressable::URI. # @return [Addressable::URI] The parsed URI. # - # source://addressable//lib/addressable/uri.rb#114 + # pkg:gem/addressable#lib/addressable/uri.rb:114 def parse(uri); end # Returns a hash of common IP-based schemes and their default port # numbers. Adding new schemes to this hash, as necessary, will allow # for better URI normalization. # - # source://addressable//lib/addressable/uri.rb#1376 + # pkg:gem/addressable#lib/addressable/uri.rb:1376 def port_mapping; end # Unencodes any percent encoded characters within a URI component. @@ -1763,7 +1763,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#472 + # pkg:gem/addressable#lib/addressable/uri.rb:472 def unencode(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end # Unencodes any percent encoded characters within a URI component. @@ -1782,7 +1782,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#502 + # pkg:gem/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. @@ -1801,7 +1801,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#501 + # pkg:gem/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. @@ -1820,7 +1820,7 @@ class Addressable::URI # The return type is determined by the return_type # parameter. # - # source://addressable//lib/addressable/uri.rb#503 + # pkg:gem/addressable#lib/addressable/uri.rb:503 def unescape_component(uri, return_type = T.unsafe(nil), leave_encoded = T.unsafe(nil)); end end end @@ -1834,162 +1834,163 @@ end # Interpolated `String`s *were* frozen this way before Ruby 3.0: # https://bugs.ruby-lang.org/issues/17104 # -# source://addressable//lib/addressable/uri.rb#46 +# pkg:gem/addressable#lib/addressable/uri.rb:46 module Addressable::URI::CharacterClasses; end -# source://addressable//lib/addressable/uri.rb#47 +# pkg:gem/addressable#lib/addressable/uri.rb:47 Addressable::URI::CharacterClasses::ALPHA = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#57 +# pkg:gem/addressable#lib/addressable/uri.rb:57 Addressable::URI::CharacterClasses::AUTHORITY = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#48 +# pkg:gem/addressable#lib/addressable/uri.rb:48 Addressable::URI::CharacterClasses::DIGIT = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#60 +# pkg:gem/addressable#lib/addressable/uri.rb:60 Addressable::URI::CharacterClasses::FRAGMENT = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#49 +# pkg:gem/addressable#lib/addressable/uri.rb:49 Addressable::URI::CharacterClasses::GEN_DELIMS = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#56 +# pkg:gem/addressable#lib/addressable/uri.rb:56 Addressable::URI::CharacterClasses::HOST = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#58 +# pkg:gem/addressable#lib/addressable/uri.rb:58 Addressable::URI::CharacterClasses::PATH = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#54 +# pkg:gem/addressable#lib/addressable/uri.rb:54 Addressable::URI::CharacterClasses::PCHAR = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#59 +# pkg:gem/addressable#lib/addressable/uri.rb:59 Addressable::URI::CharacterClasses::QUERY = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#51 +# pkg:gem/addressable#lib/addressable/uri.rb:51 Addressable::URI::CharacterClasses::RESERVED = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#53 +# pkg:gem/addressable#lib/addressable/uri.rb:53 Addressable::URI::CharacterClasses::RESERVED_AND_UNRESERVED = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#55 +# pkg:gem/addressable#lib/addressable/uri.rb:55 Addressable::URI::CharacterClasses::SCHEME = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#50 +# pkg:gem/addressable#lib/addressable/uri.rb:50 Addressable::URI::CharacterClasses::SUB_DELIMS = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#52 +# pkg:gem/addressable#lib/addressable/uri.rb:52 Addressable::URI::CharacterClasses::UNRESERVED = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#72 +# pkg:gem/addressable#lib/addressable/uri.rb:72 module Addressable::URI::CharacterClassesRegexps; end -# source://addressable//lib/addressable/uri.rb#73 +# pkg:gem/addressable#lib/addressable/uri.rb:73 Addressable::URI::CharacterClassesRegexps::AUTHORITY = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#74 +# pkg:gem/addressable#lib/addressable/uri.rb:74 Addressable::URI::CharacterClassesRegexps::FRAGMENT = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#75 +# pkg:gem/addressable#lib/addressable/uri.rb:75 Addressable::URI::CharacterClassesRegexps::HOST = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#76 +# pkg:gem/addressable#lib/addressable/uri.rb:76 Addressable::URI::CharacterClassesRegexps::PATH = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#77 +# pkg:gem/addressable#lib/addressable/uri.rb:77 Addressable::URI::CharacterClassesRegexps::QUERY = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#78 +# pkg:gem/addressable#lib/addressable/uri.rb:78 Addressable::URI::CharacterClassesRegexps::RESERVED = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#79 +# pkg:gem/addressable#lib/addressable/uri.rb:79 Addressable::URI::CharacterClassesRegexps::RESERVED_AND_UNRESERVED = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#80 +# pkg:gem/addressable#lib/addressable/uri.rb:80 Addressable::URI::CharacterClassesRegexps::SCHEME = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#81 +# pkg:gem/addressable#lib/addressable/uri.rb:81 Addressable::URI::CharacterClassesRegexps::UNRESERVED = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#85 +# pkg:gem/addressable#lib/addressable/uri.rb:85 Addressable::URI::EMPTY_STR = T.let(T.unsafe(nil), String) # Raised if something other than a uri is supplied. # -# source://addressable//lib/addressable/uri.rb#34 +# pkg:gem/addressable#lib/addressable/uri.rb:34 class Addressable::URI::InvalidURIError < ::StandardError; end +# pkg:gem/addressable#lib/addressable/uri.rb:2598 module Addressable::URI::NONE; end -# source://addressable//lib/addressable/uri.rb#1530 +# pkg:gem/addressable#lib/addressable/uri.rb:1530 Addressable::URI::NORMPATH = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#63 +# pkg:gem/addressable#lib/addressable/uri.rb:63 module Addressable::URI::NormalizeCharacterClasses; end -# source://addressable//lib/addressable/uri.rb#68 +# pkg:gem/addressable#lib/addressable/uri.rb:68 Addressable::URI::NormalizeCharacterClasses::FRAGMENT = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#64 +# pkg:gem/addressable#lib/addressable/uri.rb:64 Addressable::URI::NormalizeCharacterClasses::HOST = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#66 +# pkg:gem/addressable#lib/addressable/uri.rb:66 Addressable::URI::NormalizeCharacterClasses::PCHAR = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#69 +# pkg:gem/addressable#lib/addressable/uri.rb:69 Addressable::URI::NormalizeCharacterClasses::QUERY = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#67 +# pkg:gem/addressable#lib/addressable/uri.rb:67 Addressable::URI::NormalizeCharacterClasses::SCHEME = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#65 +# pkg:gem/addressable#lib/addressable/uri.rb:65 Addressable::URI::NormalizeCharacterClasses::UNRESERVED = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#2427 +# pkg:gem/addressable#lib/addressable/uri.rb:2427 Addressable::URI::PARENT = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#89 +# pkg:gem/addressable#lib/addressable/uri.rb:89 Addressable::URI::PORT_MAPPING = T.let(T.unsafe(nil), Hash) -# source://addressable//lib/addressable/uri.rb#2429 +# pkg:gem/addressable#lib/addressable/uri.rb:2429 Addressable::URI::RULE_2A = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#2430 +# pkg:gem/addressable#lib/addressable/uri.rb:2430 Addressable::URI::RULE_2B_2C = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#2431 +# pkg:gem/addressable#lib/addressable/uri.rb:2431 Addressable::URI::RULE_2D = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#2432 +# pkg:gem/addressable#lib/addressable/uri.rb:2432 Addressable::URI::RULE_PREFIXED_PARENT = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/uri.rb#2426 +# pkg:gem/addressable#lib/addressable/uri.rb:2426 Addressable::URI::SELF_REF = T.let(T.unsafe(nil), String) # Tables used to optimize encoding operations in `self.encode_component` # and `self.normalize_component` # -# source://addressable//lib/addressable/uri.rb#360 +# pkg:gem/addressable#lib/addressable/uri.rb:360 Addressable::URI::SEQUENCE_ENCODING_TABLE = T.let(T.unsafe(nil), Array) -# source://addressable//lib/addressable/uri.rb#364 +# pkg:gem/addressable#lib/addressable/uri.rb:364 Addressable::URI::SEQUENCE_UPCASED_PERCENT_ENCODING_TABLE = T.let(T.unsafe(nil), Array) -# source://addressable//lib/addressable/uri.rb#84 +# pkg:gem/addressable#lib/addressable/uri.rb:84 Addressable::URI::SLASH = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/uri.rb#87 +# pkg:gem/addressable#lib/addressable/uri.rb:87 Addressable::URI::URIREGEX = T.let(T.unsafe(nil), Regexp) -# source://addressable//lib/addressable/version.rb#23 +# pkg:gem/addressable#lib/addressable/version.rb:23 module Addressable::VERSION; end -# source://addressable//lib/addressable/version.rb#24 +# pkg:gem/addressable#lib/addressable/version.rb:24 Addressable::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/version.rb#25 +# pkg:gem/addressable#lib/addressable/version.rb:25 Addressable::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://addressable//lib/addressable/version.rb#28 +# pkg:gem/addressable#lib/addressable/version.rb:28 Addressable::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://addressable//lib/addressable/version.rb#26 +# pkg:gem/addressable#lib/addressable/version.rb:26 Addressable::VERSION::TINY = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/ansi@1.5.0.rbi b/sorbet/rbi/gems/ansi@1.5.0.rbi index 65366f4af..77c17582a 100644 --- a/sorbet/rbi/gems/ansi@1.5.0.rbi +++ b/sorbet/rbi/gems/ansi@1.5.0.rbi @@ -7,7 +7,7 @@ # ANSI namespace module contains all the ANSI related classes. # -# source://ansi//lib/ansi/code.rb#1 +# pkg:gem/ansi#lib/ansi/code.rb:1 module ANSI extend ::ANSI::Constants extend ::ANSI::Code @@ -17,7 +17,7 @@ end # # @see http://en.wikipedia.org/wiki/ANSI_escape_code # -# source://ansi//lib/ansi/chart.rb#6 +# pkg:gem/ansi#lib/ansi/chart.rb:6 ANSI::CHART = T.let(T.unsafe(nil), Hash) # ANSI Codes @@ -35,7 +35,7 @@ ANSI::CHART = T.let(T.unsafe(nil), Hash) # # See {ANSI::CHART} for list of all supported codes. # -# source://ansi//lib/ansi/code.rb#37 +# pkg:gem/ansi#lib/ansi/code.rb:37 module ANSI::Code include ::ANSI::Constants extend ::ANSI::Constants @@ -43,7 +43,7 @@ module ANSI::Code # Return ANSI code given a list of symbolic names. # - # source://ansi//lib/ansi/code.rb#60 + # pkg:gem/ansi#lib/ansi/code.rb:60 def [](*codes); end # Apply ANSI codes to a first argument or block value. @@ -54,60 +54,60 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#176 + # pkg:gem/ansi#lib/ansi/code.rb:176 def ansi(*codes); end # Move cursor left a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#152 + # pkg:gem/ansi#lib/ansi/code.rb:152 def back(spaces = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def black_on_yellow(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def blue_on_yellow(string = T.unsafe(nil)); end # Look-up code from chart, or if Integer simply pass through. @@ -118,7 +118,7 @@ module ANSI::Code # Symbols or integers to convert to ANSI code. # @return [String] ANSI code # - # source://ansi//lib/ansi/code.rb#241 + # pkg:gem/ansi#lib/ansi/code.rb:241 def code(*codes); end # Apply ANSI codes to a first argument or block value. @@ -131,71 +131,71 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#226 + # pkg:gem/ansi#lib/ansi/code.rb:226 def color(*codes); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def cyan_on_yellow(string = T.unsafe(nil)); end # Like +move+ but returns to original position after # yielding the block. # - # source://ansi//lib/ansi/code.rb#120 + # pkg:gem/ansi#lib/ansi/code.rb:120 def display(line, column = T.unsafe(nil)); end # Move cursor down a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#144 + # pkg:gem/ansi#lib/ansi/code.rb:144 def down(spaces = T.unsafe(nil)); end # Move cursor right a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#158 + # pkg:gem/ansi#lib/ansi/code.rb:158 def forward(spaces = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def green_on_yellow(string = T.unsafe(nil)); end # Creates an xterm-256 color code from a CSS-style color string. @@ -203,46 +203,46 @@ module ANSI::Code # @param background [Boolean] Use `true` for background color, otherwise foreground color. # @param string [String] Hex string in CSS style, .e.g. `#5FA0C2`. # - # source://ansi//lib/ansi/code.rb#325 + # pkg:gem/ansi#lib/ansi/code.rb:325 def hex_code(string, background = T.unsafe(nil)); end # Move cursor left a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#149 + # pkg:gem/ansi#lib/ansi/code.rb:149 def left(spaces = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def magenta_on_yellow(string = T.unsafe(nil)); end # Use method missing to dispatch ANSI code methods. # - # source://ansi//lib/ansi/code.rb#89 + # pkg:gem/ansi#lib/ansi/code.rb:89 def method_missing(code, *args, &blk); end # Move cursor to line and column. # - # source://ansi//lib/ansi/code.rb#134 + # pkg:gem/ansi#lib/ansi/code.rb:134 def move(line, column = T.unsafe(nil)); end # Provides a random primary ANSI color. @@ -250,31 +250,31 @@ module ANSI::Code # @param background [Boolean] Use `true` for background color, otherwise foreground color. # @return [Integer] ANSI color number # - # source://ansi//lib/ansi/code.rb#274 + # pkg:gem/ansi#lib/ansi/code.rb:274 def random(background = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def red_on_yellow(string = T.unsafe(nil)); end # Creates an XTerm 256 color escape code from RGB value(s). The @@ -284,7 +284,7 @@ module ANSI::Code # # @param background [Boolean] Use `true` for background color, otherwise foreground color. # - # source://ansi//lib/ansi/code.rb#286 + # pkg:gem/ansi#lib/ansi/code.rb:286 def rgb(*args); end # Given red, green and blue values between 0 and 255, this method @@ -292,19 +292,19 @@ module ANSI::Code # # @raise [ArgumentError] # - # source://ansi//lib/ansi/code.rb#335 + # pkg:gem/ansi#lib/ansi/code.rb:335 def rgb_256(r, g, b); end # Creates an xterm-256 color from rgb value. # # @param background [Boolean] Use `true` for background color, otherwise foreground color. # - # source://ansi//lib/ansi/code.rb#313 + # pkg:gem/ansi#lib/ansi/code.rb:313 def rgb_code(red, green, blue, background = T.unsafe(nil)); end # Move cursor right a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#155 + # pkg:gem/ansi#lib/ansi/code.rb:155 def right(spaces = T.unsafe(nil)); end # Apply ANSI codes to a first argument or block value. @@ -317,7 +317,7 @@ module ANSI::Code # ansi(:red, :on_white){ "Valentine" } # @return [String] String wrapped ANSI code. # - # source://ansi//lib/ansi/code.rb#214 + # pkg:gem/ansi#lib/ansi/code.rb:214 def style(*codes); end # Remove ANSI codes from string or block value. @@ -325,7 +325,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 + # pkg:gem/ansi#lib/ansi/code.rb:201 def unansi(string = T.unsafe(nil)); 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#232 + # pkg:gem/ansi#lib/ansi/code.rb:232 def uncolor(string = T.unsafe(nil)); end # Remove ANSI codes from string or block value. @@ -345,83 +345,83 @@ 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#220 + # pkg:gem/ansi#lib/ansi/code.rb:220 def unstyle(string = T.unsafe(nil)); end # Move cursor up a specified number of spaces. # - # source://ansi//lib/ansi/code.rb#139 + # pkg:gem/ansi#lib/ansi/code.rb:139 def up(spaces = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def white_on_yellow(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_black(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_blue(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_cyan(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_green(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_magenta(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_red(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_white(string = T.unsafe(nil)); end - # source://ansi//lib/ansi/code.rb#70 + # pkg:gem/ansi#lib/ansi/code.rb:70 def yellow_on_yellow(string = T.unsafe(nil)); end class << self # List of primary colors. # - # source://ansi//lib/ansi/code.rb#55 + # pkg:gem/ansi#lib/ansi/code.rb:55 def colors; end # List of primary styles. # - # source://ansi//lib/ansi/code.rb#50 + # pkg:gem/ansi#lib/ansi/code.rb:50 def styles; end end end # ANSI clear code. # -# source://ansi//lib/ansi/code.rb#47 +# pkg:gem/ansi#lib/ansi/code.rb:47 ANSI::Code::ENDCODE = T.let(T.unsafe(nil), String) # Regexp for matching most ANSI codes. # -# source://ansi//lib/ansi/code.rb#44 +# pkg:gem/ansi#lib/ansi/code.rb:44 ANSI::Code::PATTERN = T.let(T.unsafe(nil), Regexp) # Converts {CHART} and {SPECIAL_CHART} entries into constants. @@ -432,257 +432,257 @@ ANSI::Code::PATTERN = T.let(T.unsafe(nil), Regexp) # The ANSI Constants are include into ANSI::Code and can be included # any where will they would be of use. # -# source://ansi//lib/ansi/constants.rb#13 +# pkg:gem/ansi#lib/ansi/constants.rb:13 module ANSI::Constants; end -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BLACK = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BLINK = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BLINK_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BLUE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BOLD = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BOLD_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BRIGHT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::BRIGHT_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CLEAN = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CLEAR = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLEAR_EOL = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLEAR_LEFT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLEAR_LINE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLEAR_RIGHT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLEAR_SCREEN = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLR = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CLS = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CONCEAL = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CONCEALED = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CONCEAL_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CROSSED_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CROSSED_OUT_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CURSOR_HIDE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::CURSOR_SHOW = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::CYAN = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::DARK = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::DEFAULT_FONT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::DOUBLE_UNDERLINE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ENCIRCLE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ENCIRCLE_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FAINT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT0 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT1 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT2 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT3 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT4 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT5 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT6 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT7 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT8 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT9 = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FONT_DEFAULT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FRAKTUR = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FRAKTUR_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FRAME = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::FRAME_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::GREEN = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::HIDE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::INVERSE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::INVERSE_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::INVERT = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ITALIC = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ITALIC_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::MAGENTA = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::NEGATIVE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_BLACK = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_BLUE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_CYAN = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_GREEN = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_MAGENTA = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_RED = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_WHITE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::ON_YELLOW = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::OVERLINE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::OVERLINE_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::POSITIVE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::RAPID = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::RAPID_BLINK = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::RED = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::RESET = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::RESTORE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::REVEAL = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::REVERSE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#20 +# pkg:gem/ansi#lib/ansi/constants.rb:20 ANSI::Constants::SAVE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::SHOW = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::SLOW_BLINK = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::STRIKE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::SWAP = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::UNDERLINE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::UNDERLINE_OFF = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::UNDERSCORE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::WHITE = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/constants.rb#16 +# pkg:gem/ansi#lib/ansi/constants.rb:16 ANSI::Constants::YELLOW = T.let(T.unsafe(nil), String) -# source://ansi//lib/ansi/chart.rb#86 +# pkg:gem/ansi#lib/ansi/chart.rb:86 ANSI::SPECIAL_CHART = T.let(T.unsafe(nil), Hash) diff --git a/sorbet/rbi/gems/ar_transaction_changes@1.1.9.rbi b/sorbet/rbi/gems/ar_transaction_changes@1.1.9.rbi index 4977fff90..e120c8983 100644 --- a/sorbet/rbi/gems/ar_transaction_changes@1.1.9.rbi +++ b/sorbet/rbi/gems/ar_transaction_changes@1.1.9.rbi @@ -5,40 +5,40 @@ # Please instead update this file by running `bin/tapioca gem ar_transaction_changes`. -# source://ar_transaction_changes//lib/ar_transaction_changes/version.rb#3 +# pkg:gem/ar_transaction_changes#lib/ar_transaction_changes/version.rb:3 module ArTransactionChanges - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#7 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:7 def _run_commit_callbacks; end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#13 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:13 def _run_rollback_callbacks; end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#23 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:23 def _write_attribute(attr_name, value); end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#37 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:37 def attribute_will_change!(attr_name); end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#19 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:19 def transaction_changed_attributes; end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#30 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:30 def write_attribute(attr_name, value); end private - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#53 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:53 def _deserialize_transaction_change_value(attr_name, value); end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#78 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:78 def _read_attribute_for_transaction(attr_name); end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#59 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:59 def _store_transaction_changed_attributes(attr_name); end - # source://ar_transaction_changes//lib/ar_transaction_changes.rb#48 + # pkg:gem/ar_transaction_changes#lib/ar_transaction_changes.rb:48 def init_internals; end end -# source://ar_transaction_changes//lib/ar_transaction_changes/version.rb#4 +# pkg:gem/ar_transaction_changes#lib/ar_transaction_changes/version.rb:4 ArTransactionChanges::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/ast@2.4.3.rbi b/sorbet/rbi/gems/ast@2.4.3.rbi index c05e587e4..bfe3321e8 100644 --- a/sorbet/rbi/gems/ast@2.4.3.rbi +++ b/sorbet/rbi/gems/ast@2.4.3.rbi @@ -17,7 +17,7 @@ # See also {AST::Node}, {AST::Processor::Mixin} and {AST::Sexp} for # additional recommendations and design patterns. # -# source://ast//lib/ast.rb#13 +# pkg:gem/ast#lib/ast.rb:13 module AST; end # Node is an immutable class, instances of which represent abstract @@ -56,7 +56,7 @@ module AST; end # temporary node type requires making globally visible changes to # the codebase. # -# source://ast//lib/ast/node.rb#40 +# pkg:gem/ast#lib/ast/node.rb:40 class AST::Node # Constructs a new instance of Node. # @@ -70,21 +70,21 @@ class AST::Node # # @return [Node] a new instance of Node # - # source://ast//lib/ast/node.rb#72 + # pkg:gem/ast#lib/ast/node.rb:72 def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end # Concatenates `array` with `children` and returns the resulting node. # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#172 + # pkg:gem/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#181 + # pkg:gem/ast#lib/ast/node.rb:181 def <<(element); end # Compares `self` to `other`, possibly converting with `to_ast`. Only @@ -92,14 +92,14 @@ class AST::Node # # @return [Boolean] # - # source://ast//lib/ast/node.rb#153 + # pkg:gem/ast#lib/ast/node.rb:153 def ==(other); end # Appends `element` to `children` and returns the resulting node. # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#177 + # pkg:gem/ast#lib/ast/node.rb:177 def append(element); end # Returns the children of this node. @@ -114,7 +114,7 @@ class AST::Node # # @return [Array] # - # source://ast//lib/ast/node.rb#56 + # pkg:gem/ast#lib/ast/node.rb:56 def children; end # Nodes are already frozen, so there is no harm in returning the @@ -123,14 +123,14 @@ class AST::Node # # @return self # - # source://ast//lib/ast/node.rb#118 + # pkg:gem/ast#lib/ast/node.rb:118 def clone; end # Concatenates `array` with `children` and returns the resulting node. # # @return [AST::Node] # - # source://ast//lib/ast/node.rb#168 + # pkg:gem/ast#lib/ast/node.rb:168 def concat(array); end # Enables matching for Node, where type is the first element @@ -138,7 +138,7 @@ class AST::Node # # @return [Array] # - # source://ast//lib/ast/node.rb#253 + # pkg:gem/ast#lib/ast/node.rb:253 def deconstruct; end # Nodes are already frozen, so there is no harm in returning the @@ -147,7 +147,7 @@ class AST::Node # # @return self # - # source://ast//lib/ast/node.rb#115 + # pkg:gem/ast#lib/ast/node.rb:115 def dup; end # Test if other object is equal to @@ -155,14 +155,14 @@ class AST::Node # @param other [Object] # @return [Boolean] # - # source://ast//lib/ast/node.rb#85 + # pkg:gem/ast#lib/ast/node.rb:85 def eql?(other); end # Returns the precomputed hash value for this node # # @return [Integer] # - # source://ast//lib/ast/node.rb#61 + # pkg:gem/ast#lib/ast/node.rb:61 def hash; end # Converts `self` to a s-expression ruby string. @@ -171,7 +171,7 @@ class AST::Node # @param indent [Integer] Base indentation level. # @return [String] # - # source://ast//lib/ast/node.rb#211 + # pkg:gem/ast#lib/ast/node.rb:211 def inspect(indent = T.unsafe(nil)); end # Returns the children of this node. @@ -186,12 +186,12 @@ class AST::Node # # @return [Array] # - # source://ast//lib/ast/node.rb#57 + # pkg:gem/ast#lib/ast/node.rb:57 def to_a; end # @return [AST::Node] self # - # source://ast//lib/ast/node.rb#229 + # pkg:gem/ast#lib/ast/node.rb:229 def to_ast; end # Converts `self` to a pretty-printed s-expression. @@ -199,7 +199,7 @@ class AST::Node # @param indent [Integer] Base indentation level. # @return [String] # - # source://ast//lib/ast/node.rb#204 + # pkg:gem/ast#lib/ast/node.rb:204 def to_s(indent = T.unsafe(nil)); end # Converts `self` to a pretty-printed s-expression. @@ -207,7 +207,7 @@ class AST::Node # @param indent [Integer] Base indentation level. # @return [String] # - # source://ast//lib/ast/node.rb#187 + # pkg:gem/ast#lib/ast/node.rb:187 def to_sexp(indent = T.unsafe(nil)); end # Converts `self` to an Array where the first element is the type as a Symbol, @@ -215,14 +215,14 @@ class AST::Node # # @return [Array] # - # source://ast//lib/ast/node.rb#237 + # pkg:gem/ast#lib/ast/node.rb:237 def to_sexp_array; end # Returns the type of this node. # # @return [Symbol] # - # source://ast//lib/ast/node.rb#43 + # pkg:gem/ast#lib/ast/node.rb:43 def type; end # Returns a new instance of Node where non-nil arguments replace the @@ -239,7 +239,7 @@ class AST::Node # @param type [Symbol, nil] # @return [AST::Node] # - # source://ast//lib/ast/node.rb#133 + # pkg:gem/ast#lib/ast/node.rb:133 def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end protected @@ -252,7 +252,7 @@ class AST::Node # # @return [nil] # - # source://ast//lib/ast/node.rb#98 + # pkg:gem/ast#lib/ast/node.rb:98 def assign_properties(properties); end # Returns `@type` with all underscores replaced by dashes. This allows @@ -261,12 +261,12 @@ class AST::Node # # @return [String] # - # source://ast//lib/ast/node.rb#264 + # pkg:gem/ast#lib/ast/node.rb:264 def fancy_type; end private - # source://ast//lib/ast/node.rb#107 + # pkg:gem/ast#lib/ast/node.rb:107 def original_dup; end end @@ -277,7 +277,7 @@ end # # @deprecated Use {AST::Processor::Mixin} instead. # -# source://ast//lib/ast/processor.rb#8 +# pkg:gem/ast#lib/ast/processor.rb:8 class AST::Processor include ::AST::Processor::Mixin end @@ -520,14 +520,14 @@ end # use some partial evaluation before! The possibilites are # endless. Have fun. # -# source://ast//lib/ast/processor/mixin.rb#240 +# pkg:gem/ast#lib/ast/processor/mixin.rb:240 module AST::Processor::Mixin # Default handler. Does nothing. # # @param node [AST::Node] # @return [AST::Node, nil] # - # source://ast//lib/ast/processor/mixin.rb#284 + # pkg:gem/ast#lib/ast/processor/mixin.rb:284 def handler_missing(node); end # Dispatches `node`. If a node has type `:foo`, then a handler @@ -541,7 +541,7 @@ module AST::Processor::Mixin # @param node [AST::Node, nil] # @return [AST::Node, nil] # - # source://ast//lib/ast/processor/mixin.rb#251 + # pkg:gem/ast#lib/ast/processor/mixin.rb:251 def process(node); end # {#process}es each node from `nodes` and returns an array of @@ -550,7 +550,7 @@ module AST::Processor::Mixin # @param nodes [Array] # @return [Array] # - # source://ast//lib/ast/processor/mixin.rb#274 + # pkg:gem/ast#lib/ast/processor/mixin.rb:274 def process_all(nodes); end end @@ -573,7 +573,7 @@ end # # This way the amount of boilerplate code is greatly reduced. # -# source://ast//lib/ast/sexp.rb#20 +# pkg:gem/ast#lib/ast/sexp.rb:20 module AST::Sexp # Creates a {Node} with type `type` and children `children`. # Note that the resulting node is of the type AST::Node and not a @@ -581,6 +581,6 @@ module AST::Sexp # This would not pose a problem with comparisons, as {Node#==} # ignores metadata. # - # source://ast//lib/ast/sexp.rb#26 + # pkg:gem/ast#lib/ast/sexp.rb:26 def s(type, *children); end end diff --git a/sorbet/rbi/gems/base64@0.3.0.rbi b/sorbet/rbi/gems/base64@0.3.0.rbi index e8543fc58..9995f72b3 100644 --- a/sorbet/rbi/gems/base64@0.3.0.rbi +++ b/sorbet/rbi/gems/base64@0.3.0.rbi @@ -186,7 +186,7 @@ # s = "This is line 1\nThis is line 2\n" # Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n" # -# source://base64//lib/base64.rb#184 +# pkg:gem/base64#lib/base64.rb:184 module Base64 private @@ -211,7 +211,7 @@ module Base64 # Base64.decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.decode64("MDEyMzQ1Njc==") # => "01234567" # - # source://base64//lib/base64.rb#247 + # pkg:gem/base64#lib/base64.rb:247 def decode64(str); end # :call-seq: @@ -246,7 +246,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n" # - # source://base64//lib/base64.rb#222 + # pkg:gem/base64#lib/base64.rb:222 def encode64(bin); end # :call-seq: @@ -272,7 +272,7 @@ module Base64 # Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError # - # source://base64//lib/base64.rb#309 + # pkg:gem/base64#lib/base64.rb:309 def strict_decode64(str); end # :call-seq: @@ -306,7 +306,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.strict_encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK" # - # source://base64//lib/base64.rb#282 + # pkg:gem/base64#lib/base64.rb:282 def strict_encode64(bin); end # :call-seq: @@ -328,7 +328,7 @@ module Base64 # Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError. # - # source://base64//lib/base64.rb#369 + # pkg:gem/base64#lib/base64.rb:369 def urlsafe_decode64(str); end # :call-seq: @@ -361,7 +361,7 @@ module Base64 # Base64.urlsafe_encode64('*' * 46) # # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg==" # - # source://base64//lib/base64.rb#343 + # pkg:gem/base64#lib/base64.rb:343 def urlsafe_encode64(bin, padding: T.unsafe(nil)); end class << self @@ -386,7 +386,7 @@ module Base64 # Base64.decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.decode64("MDEyMzQ1Njc==") # => "01234567" # - # source://base64//lib/base64.rb#247 + # pkg:gem/base64#lib/base64.rb:247 def decode64(str); end # :call-seq: @@ -421,7 +421,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n" # - # source://base64//lib/base64.rb#222 + # pkg:gem/base64#lib/base64.rb:222 def encode64(bin); end # :call-seq: @@ -447,7 +447,7 @@ module Base64 # Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError # - # source://base64//lib/base64.rb#309 + # pkg:gem/base64#lib/base64.rb:309 def strict_decode64(str); end # :call-seq: @@ -481,7 +481,7 @@ module Base64 # s = "This is line 1\nThis is line 2\n" # Base64.strict_encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK" # - # source://base64//lib/base64.rb#282 + # pkg:gem/base64#lib/base64.rb:282 def strict_encode64(bin); end # :call-seq: @@ -503,7 +503,7 @@ module Base64 # Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567" # Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError. # - # source://base64//lib/base64.rb#369 + # pkg:gem/base64#lib/base64.rb:369 def urlsafe_decode64(str); end # :call-seq: @@ -536,10 +536,10 @@ module Base64 # Base64.urlsafe_encode64('*' * 46) # # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg==" # - # source://base64//lib/base64.rb#343 + # pkg:gem/base64#lib/base64.rb:343 def urlsafe_encode64(bin, padding: T.unsafe(nil)); end end end -# source://base64//lib/base64.rb#186 +# pkg:gem/base64#lib/base64.rb:186 Base64::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/bcrypt@3.1.21.rbi b/sorbet/rbi/gems/bcrypt@3.1.21.rbi index 5a1f16ce9..31fb648c2 100644 --- a/sorbet/rbi/gems/bcrypt@3.1.21.rbi +++ b/sorbet/rbi/gems/bcrypt@3.1.21.rbi @@ -8,17 +8,17 @@ # A Ruby library implementing OpenBSD's bcrypt()/crypt_blowfish algorithm for # hashing passwords. # -# source://bcrypt//lib/bcrypt.rb#3 +# pkg:gem/bcrypt#lib/bcrypt.rb:3 module BCrypt; end # A Ruby wrapper for the bcrypt() C extension calls and the Java calls. # -# source://bcrypt//lib/bcrypt.rb#12 +# pkg:gem/bcrypt#lib/bcrypt.rb:12 class BCrypt::Engine class << self # Autodetects the cost from the salt string. # - # source://bcrypt//lib/bcrypt/engine.rb#129 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:129 def autodetect_cost(salt); end # Returns the cost factor which will result in computation times less than +upper_time_limit_in_ms+. @@ -34,13 +34,13 @@ class BCrypt::Engine # # should take less than 1000ms # BCrypt::Password.create("woo", :cost => 12) # - # source://bcrypt//lib/bcrypt/engine.rb#119 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:119 def calibrate(upper_time_limit_in_ms); end # Returns the cost factor that will be used if one is not specified when # creating a password hash. Defaults to DEFAULT_COST if not set. # - # source://bcrypt//lib/bcrypt/engine.rb#32 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:32 def cost; end # Set a default cost factor that will be used if one is not specified when @@ -57,57 +57,57 @@ class BCrypt::Engine # # cost can still be overridden as needed # BCrypt::Password.create('secret', :cost => 6).cost #=> 6 # - # source://bcrypt//lib/bcrypt/engine.rb#49 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:49 def cost=(cost); end # Generates a random salt with a given computational cost. # - # source://bcrypt//lib/bcrypt/engine.rb#81 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:81 def generate_salt(cost = T.unsafe(nil)); end # Given a secret and a valid salt (see BCrypt::Engine.generate_salt) calculates # a bcrypt() password hash. Secrets longer than 72 bytes are truncated. # - # source://bcrypt//lib/bcrypt/engine.rb#55 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:55 def hash_secret(secret, salt, _ = T.unsafe(nil)); end # Returns true if +salt+ is a valid bcrypt() salt, false if not. # # @return [Boolean] # - # source://bcrypt//lib/bcrypt/engine.rb#98 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:98 def valid_salt?(salt); end # Returns true if +secret+ is a valid bcrypt() secret, false if not. # # @return [Boolean] # - # source://bcrypt//lib/bcrypt/engine.rb#103 + # pkg:gem/bcrypt#lib/bcrypt/engine.rb:103 def valid_secret?(secret); end private - # source://bcrypt//lib/bcrypt.rb#12 + # pkg:gem/bcrypt#lib/bcrypt.rb:12 def __bc_crypt(_arg0, _arg1); end - # source://bcrypt//lib/bcrypt.rb#12 + # pkg:gem/bcrypt#lib/bcrypt.rb:12 def __bc_salt(_arg0, _arg1, _arg2); end end end # The default computational expense parameter. # -# source://bcrypt//lib/bcrypt/engine.rb#5 +# pkg:gem/bcrypt#lib/bcrypt/engine.rb:5 BCrypt::Engine::DEFAULT_COST = T.let(T.unsafe(nil), Integer) # The maximum cost supported by the algorithm. # -# source://bcrypt//lib/bcrypt/engine.rb#9 +# pkg:gem/bcrypt#lib/bcrypt/engine.rb:9 BCrypt::Engine::MAX_COST = T.let(T.unsafe(nil), Integer) # Maximum possible size of bcrypt() salts. # -# source://bcrypt//lib/bcrypt/engine.rb#19 +# pkg:gem/bcrypt#lib/bcrypt/engine.rb:19 BCrypt::Engine::MAX_SALT_LENGTH = T.let(T.unsafe(nil), Integer) # Maximum possible size of bcrypt() secrets. @@ -118,38 +118,38 @@ BCrypt::Engine::MAX_SALT_LENGTH = T.let(T.unsafe(nil), Integer) # A max secret length greater than 255 leads to bcrypt returning nil. # https://github.com/bcrypt-ruby/bcrypt-ruby/issues/225#issuecomment-875908425 # -# source://bcrypt//lib/bcrypt/engine.rb#17 +# pkg:gem/bcrypt#lib/bcrypt/engine.rb:17 BCrypt::Engine::MAX_SECRET_BYTESIZE = T.let(T.unsafe(nil), Integer) # The minimum cost supported by the algorithm. # -# source://bcrypt//lib/bcrypt/engine.rb#7 +# pkg:gem/bcrypt#lib/bcrypt/engine.rb:7 BCrypt::Engine::MIN_COST = T.let(T.unsafe(nil), Integer) -# source://bcrypt//lib/bcrypt/error.rb#3 +# pkg:gem/bcrypt#lib/bcrypt/error.rb:3 class BCrypt::Error < ::StandardError; end -# source://bcrypt//lib/bcrypt/error.rb#6 +# pkg:gem/bcrypt#lib/bcrypt/error.rb:6 module BCrypt::Errors; end # The cost parameter provided to bcrypt() is invalid. # -# source://bcrypt//lib/bcrypt/error.rb#15 +# pkg:gem/bcrypt#lib/bcrypt/error.rb:15 class BCrypt::Errors::InvalidCost < ::BCrypt::Error; end # The hash parameter provided to bcrypt() is invalid. # -# source://bcrypt//lib/bcrypt/error.rb#12 +# pkg:gem/bcrypt#lib/bcrypt/error.rb:12 class BCrypt::Errors::InvalidHash < ::BCrypt::Error; end # The salt parameter provided to bcrypt() is invalid. # -# source://bcrypt//lib/bcrypt/error.rb#9 +# pkg:gem/bcrypt#lib/bcrypt/error.rb:9 class BCrypt::Errors::InvalidSalt < ::BCrypt::Error; end # The secret parameter provided to bcrypt() is invalid. # -# source://bcrypt//lib/bcrypt/error.rb#18 +# pkg:gem/bcrypt#lib/bcrypt/error.rb:18 class BCrypt::Errors::InvalidSecret < ::BCrypt::Error; end # A password management class which allows you to safely store users' passwords and compare them. @@ -173,13 +173,13 @@ class BCrypt::Errors::InvalidSecret < ::BCrypt::Error; end # @db_password == "my grand secret" #=> true # @db_password == "a paltry guess" #=> false # -# source://bcrypt//lib/bcrypt/password.rb#23 +# pkg:gem/bcrypt#lib/bcrypt/password.rb:23 class BCrypt::Password < ::String # Initializes a BCrypt::Password instance with the data from a stored hash. # # @return [Password] a new instance of Password # - # source://bcrypt//lib/bcrypt/password.rb#55 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:55 def initialize(raw_hash); end # Compares a potential secret against the hash. Returns true if the secret is the original secret, false otherwise. @@ -197,17 +197,17 @@ class BCrypt::Password < ::String # # secret == @password # => probably False, because the secret is not a BCrypt::Password instance. # - # source://bcrypt//lib/bcrypt/password.rb#78 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:78 def ==(secret); end # The hash portion of the stored password hash. # - # source://bcrypt//lib/bcrypt/password.rb#25 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:25 def checksum; end # The cost factor used to create the hash. # - # source://bcrypt//lib/bcrypt/password.rb#31 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:31 def cost; end # Compares a potential secret against the hash. Returns true if the secret is the original secret, false otherwise. @@ -225,17 +225,17 @@ class BCrypt::Password < ::String # # secret == @password # => probably False, because the secret is not a BCrypt::Password instance. # - # source://bcrypt//lib/bcrypt/password.rb#88 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:88 def is_password?(secret); end # The salt of the store password hash (including version and cost). # - # source://bcrypt//lib/bcrypt/password.rb#27 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:27 def salt; end # The version of the bcrypt() algorithm used to create the hash. # - # source://bcrypt//lib/bcrypt/password.rb#29 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:29 def version; end private @@ -245,14 +245,14 @@ class BCrypt::Password < ::String # # Splits +h+ into version, cost, salt, and hash and returns them in that order. # - # source://bcrypt//lib/bcrypt/password.rb#101 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:101 def split_hash(h); end # Returns true if +h+ is a valid hash. # # @return [Boolean] # - # source://bcrypt//lib/bcrypt/password.rb#93 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:93 def valid_hash?(h); end class << self @@ -268,12 +268,12 @@ class BCrypt::Password < ::String # # @raise [ArgumentError] # - # source://bcrypt//lib/bcrypt/password.rb#43 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:43 def create(secret, options = T.unsafe(nil)); end # @return [Boolean] # - # source://bcrypt//lib/bcrypt/password.rb#49 + # pkg:gem/bcrypt#lib/bcrypt/password.rb:49 def valid_hash?(h); end end end diff --git a/sorbet/rbi/gems/benchmark@0.5.0.rbi b/sorbet/rbi/gems/benchmark@0.5.0.rbi index 8531eefe0..ade93cc83 100644 --- a/sorbet/rbi/gems/benchmark@0.5.0.rbi +++ b/sorbet/rbi/gems/benchmark@0.5.0.rbi @@ -109,7 +109,7 @@ # >total: 2.880000 0.000000 2.880000 ( 2.883764) # >avg: 0.960000 0.000000 0.960000 ( 0.961255) # -# source://benchmark//lib/benchmark.rb#123 +# pkg:gem/benchmark#lib/benchmark.rb:123 module Benchmark private @@ -154,7 +154,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#171 + # pkg:gem/benchmark#lib/benchmark.rb:171 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 @@ -177,7 +177,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#216 + # pkg:gem/benchmark#lib/benchmark.rb:216 def bm(label_width = T.unsafe(nil), *labels, &blk); end # Sometimes benchmark results are skewed because code executed @@ -217,7 +217,7 @@ module Benchmark # #bmbm yields a Benchmark::Job object and returns an array of # Benchmark::Tms objects. # - # source://benchmark//lib/benchmark.rb#258 + # pkg:gem/benchmark#lib/benchmark.rb:258 def bmbm(width = T.unsafe(nil)); end # Returns the time used to execute the given block as a @@ -236,7 +236,7 @@ module Benchmark # # 0.220000 0.000000 0.220000 ( 0.227313) # - # source://benchmark//lib/benchmark.rb#303 + # pkg:gem/benchmark#lib/benchmark.rb:303 def measure(label = T.unsafe(nil)); end # Returns the elapsed real time used to execute the given block. @@ -245,7 +245,7 @@ module Benchmark # Benchmark.ms { "a" * 1_000_000_000 } # #=> 509.8029999935534 # - # source://benchmark//lib/benchmark.rb#335 + # pkg:gem/benchmark#lib/benchmark.rb:335 def ms; end # Returns the elapsed real time used to execute the given block. @@ -254,7 +254,7 @@ module Benchmark # Benchmark.realtime { "a" * 1_000_000_000 } # #=> 0.5098029999935534 # - # source://benchmark//lib/benchmark.rb#322 + # pkg:gem/benchmark#lib/benchmark.rb:322 def realtime; end class << self @@ -299,7 +299,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#341 + # pkg:gem/benchmark#lib/benchmark.rb:341 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 @@ -322,7 +322,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#341 + # pkg:gem/benchmark#lib/benchmark.rb:341 def bm(label_width = T.unsafe(nil), *labels, &blk); end # Sometimes benchmark results are skewed because code executed @@ -362,7 +362,7 @@ module Benchmark # #bmbm yields a Benchmark::Job object and returns an array of # Benchmark::Tms objects. # - # source://benchmark//lib/benchmark.rb#341 + # pkg:gem/benchmark#lib/benchmark.rb:341 def bmbm(width = T.unsafe(nil)); end # Returns the time used to execute the given block as a @@ -381,7 +381,7 @@ module Benchmark # # 0.220000 0.000000 0.220000 ( 0.227313) # - # source://benchmark//lib/benchmark.rb#341 + # pkg:gem/benchmark#lib/benchmark.rb:341 def measure(label = T.unsafe(nil)); end # Returns the elapsed real time used to execute the given block. @@ -390,7 +390,7 @@ module Benchmark # Benchmark.ms { "a" * 1_000_000_000 } # #=> 509.8029999935534 # - # source://benchmark//lib/benchmark.rb#341 + # pkg:gem/benchmark#lib/benchmark.rb:341 def ms; end # Returns the elapsed real time used to execute the given block. @@ -399,7 +399,7 @@ module Benchmark # Benchmark.realtime { "a" * 1_000_000_000 } # #=> 0.5098029999935534 # - # source://benchmark//lib/benchmark.rb#341 + # pkg:gem/benchmark#lib/benchmark.rb:341 def realtime; end end end @@ -407,7 +407,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#347 +# pkg:gem/benchmark#lib/benchmark.rb:347 class Benchmark::Job # Returns an initialized Job instance. # Usually, one doesn't call this method directly, as new @@ -417,38 +417,38 @@ class Benchmark::Job # # @return [Job] a new instance of Job # - # source://benchmark//lib/benchmark.rb#355 + # pkg:gem/benchmark#lib/benchmark.rb:355 def initialize(width); end # Registers the given label and block pair in the job list. # # @raise [ArgumentError] # - # source://benchmark//lib/benchmark.rb#363 + # pkg:gem/benchmark#lib/benchmark.rb:363 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#375 + # pkg:gem/benchmark#lib/benchmark.rb:375 def list; end # Registers the given label and block pair in the job list. # # @raise [ArgumentError] # - # source://benchmark//lib/benchmark.rb#372 + # pkg:gem/benchmark#lib/benchmark.rb:372 def report(label = T.unsafe(nil), &blk); end # Length of the widest label in the #list. # - # source://benchmark//lib/benchmark.rb#378 + # pkg:gem/benchmark#lib/benchmark.rb:378 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#385 +# pkg:gem/benchmark#lib/benchmark.rb:385 class Benchmark::Report # Returns an initialized Report instance. # Usually, one doesn't call this method directly, as new @@ -458,43 +458,43 @@ class Benchmark::Report # # @return [Report] a new instance of Report # - # source://benchmark//lib/benchmark.rb#393 + # pkg:gem/benchmark#lib/benchmark.rb:393 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#412 + # pkg:gem/benchmark#lib/benchmark.rb:412 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#402 + # pkg:gem/benchmark#lib/benchmark.rb:402 def item(label = T.unsafe(nil), *format, &blk); end # An array of Benchmark::Tms objects representing each item. # - # source://benchmark//lib/benchmark.rb#412 + # pkg:gem/benchmark#lib/benchmark.rb:412 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#409 + # pkg:gem/benchmark#lib/benchmark.rb:409 def report(label = T.unsafe(nil), *format, &blk); end # An array of Benchmark::Tms objects representing each item. # - # source://benchmark//lib/benchmark.rb#412 + # pkg:gem/benchmark#lib/benchmark.rb:412 def width; end end # A data object, representing the times associated with a benchmark # measurement. # -# source://benchmark//lib/benchmark.rb#421 +# pkg:gem/benchmark#lib/benchmark.rb:421 class Benchmark::Tms # Returns an initialized Tms object which has # +utime+ as the user CPU time, +stime+ as the system CPU time, @@ -503,13 +503,13 @@ class Benchmark::Tms # # @return [Tms] a new instance of Tms # - # source://benchmark//lib/benchmark.rb#456 + # pkg:gem/benchmark#lib/benchmark.rb:456 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#504 + # pkg:gem/benchmark#lib/benchmark.rb:504 def *(x); end # Returns a new Tms object obtained by memberwise summation @@ -517,27 +517,27 @@ class Benchmark::Tms # Tms object. # This method and #/() are useful for taking statistics. # - # source://benchmark//lib/benchmark.rb#491 + # pkg:gem/benchmark#lib/benchmark.rb:491 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#498 + # pkg:gem/benchmark#lib/benchmark.rb:498 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#511 + # pkg:gem/benchmark#lib/benchmark.rb:511 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#465 + # pkg:gem/benchmark#lib/benchmark.rb:465 def add(&blk); end # An in-place version of #add. @@ -545,17 +545,17 @@ class Benchmark::Tms # for this Tms object, plus the time required to execute # the code block (+blk+). # - # source://benchmark//lib/benchmark.rb#475 + # pkg:gem/benchmark#lib/benchmark.rb:475 def add!(&blk); end # System CPU time of children # - # source://benchmark//lib/benchmark.rb#439 + # pkg:gem/benchmark#lib/benchmark.rb:439 def cstime; end # User CPU time of children # - # source://benchmark//lib/benchmark.rb#436 + # pkg:gem/benchmark#lib/benchmark.rb:436 def cutime; end # Returns the contents of this Tms object as @@ -574,22 +574,22 @@ class Benchmark::Tms # If +format+ is not given, FORMAT is used as default value, detailing the # user, system, total and real elapsed time. # - # source://benchmark//lib/benchmark.rb#530 + # pkg:gem/benchmark#lib/benchmark.rb:530 def format(format = T.unsafe(nil), *args); end # Label # - # source://benchmark//lib/benchmark.rb#448 + # pkg:gem/benchmark#lib/benchmark.rb:448 def label; end # Elapsed real time # - # source://benchmark//lib/benchmark.rb#442 + # pkg:gem/benchmark#lib/benchmark.rb:442 def real; end # System CPU time # - # source://benchmark//lib/benchmark.rb#433 + # pkg:gem/benchmark#lib/benchmark.rb:433 def stime; end # Returns a new 6-element array, consisting of the @@ -597,27 +597,27 @@ class Benchmark::Tms # user CPU time, children's system CPU time and elapsed # real time. # - # source://benchmark//lib/benchmark.rb#555 + # pkg:gem/benchmark#lib/benchmark.rb:555 def to_a; end # Returns a hash containing the same data as `to_a`. # - # source://benchmark//lib/benchmark.rb#562 + # pkg:gem/benchmark#lib/benchmark.rb:562 def to_h; end # Same as #format. # - # source://benchmark//lib/benchmark.rb#545 + # pkg:gem/benchmark#lib/benchmark.rb:545 def to_s; end # Total time, that is +utime+ + +stime+ + +cutime+ + +cstime+ # - # source://benchmark//lib/benchmark.rb#445 + # pkg:gem/benchmark#lib/benchmark.rb:445 def total; end # User CPU time # - # source://benchmark//lib/benchmark.rb#430 + # pkg:gem/benchmark#lib/benchmark.rb:430 def utime; end protected @@ -629,9 +629,9 @@ class Benchmark::Tms # +op+ can be a mathematical operation such as +, -, # *, / # - # source://benchmark//lib/benchmark.rb#583 + # pkg:gem/benchmark#lib/benchmark.rb:583 def memberwise(op, x); end end -# source://benchmark//lib/benchmark.rb#125 +# pkg:gem/benchmark#lib/benchmark.rb:125 Benchmark::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/bigdecimal@4.0.1.rbi b/sorbet/rbi/gems/bigdecimal@4.0.1.rbi index 448697474..f329cce16 100644 --- a/sorbet/rbi/gems/bigdecimal@4.0.1.rbi +++ b/sorbet/rbi/gems/bigdecimal@4.0.1.rbi @@ -5,12 +5,12 @@ # Please instead update this file by running `bin/tapioca gem bigdecimal`. -# source://bigdecimal//lib/bigdecimal.rb#13 +# pkg:gem/bigdecimal#lib/bigdecimal.rb:10 class BigDecimal < ::Numeric - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def %(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def *(_arg0); end # call-seq: @@ -25,115 +25,115 @@ class BigDecimal < ::Numeric # # Related: BigDecimal#power. # - # source://bigdecimal//lib/bigdecimal.rb#77 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:77 def **(y); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def +(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def +@; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def -(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def -@; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def /(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def <(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def <=(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def <=>(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def ==(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def ===(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def >(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def >=(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def _decimal_shift(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def _dump(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def abs; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def add(_arg0, _arg1); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def ceil(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def clone; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def coerce(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def div(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def divmod(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def dup; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def eql?(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def exponent; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def finite?; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def fix; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def floor(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def frac; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def hash; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def infinite?; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def inspect; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def modulo(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def mult(_arg0, _arg1); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def n_significant_digits; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def nan?; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def nonzero?; end # call-seq: @@ -144,31 +144,31 @@ class BigDecimal < ::Numeric # # Also available as the operator **. # - # source://bigdecimal//lib/bigdecimal.rb#97 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:97 def power(y, prec = T.unsafe(nil)); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def precision; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def precision_scale; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def quo(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def remainder(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def round(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def scale; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def sign; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def split; end # Returns the square root of the value. @@ -177,10 +177,10 @@ class BigDecimal < ::Numeric # # @raise [FloatDomainError] # - # source://bigdecimal//lib/bigdecimal.rb#212 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:212 def sqrt(prec); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def sub(_arg0, _arg1); end # call-seq: @@ -193,7 +193,7 @@ class BigDecimal < ::Numeric # d = BigDecimal("3.14") # d.to_d # => 0.314e1 # - # source://bigdecimal//lib/bigdecimal/util.rb#110 + # pkg:gem/bigdecimal#lib/bigdecimal/util.rb:110 def to_d; end # call-seq: @@ -207,58 +207,58 @@ class BigDecimal < ::Numeric # d = BigDecimal("3.14") # d.to_digits # => "3.14" # - # source://bigdecimal//lib/bigdecimal/util.rb#90 + # pkg:gem/bigdecimal#lib/bigdecimal/util.rb:90 def to_digits; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def to_f; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def to_i; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def to_int; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def to_r; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def to_s(format = T.unsafe(nil)); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def truncate(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def zero?; end class << self - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def _load(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def double_fig; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def interpret_loosely(_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def limit(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def mode(*_arg0); end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def save_exception_mode; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def save_limit; end - # source://bigdecimal//lib/bigdecimal.rb#10 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:10 def save_rounding_mode; end end end -# source://bigdecimal//lib/bigdecimal.rb#14 +# pkg:gem/bigdecimal#lib/bigdecimal.rb:14 module BigDecimal::Internal class << self # Coerce x to BigDecimal with the specified precision. @@ -266,16 +266,16 @@ module BigDecimal::Internal # # @raise [ArgumentError] # - # source://bigdecimal//lib/bigdecimal.rb#18 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:18 def coerce_to_bigdecimal(x, prec, method_name); end - # source://bigdecimal//lib/bigdecimal.rb#30 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:30 def coerce_validate_prec(prec, method_name, accept_zero: T.unsafe(nil)); end - # source://bigdecimal//lib/bigdecimal.rb#50 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:50 def infinity_computation_result; end - # source://bigdecimal//lib/bigdecimal.rb#57 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:57 def nan_computation_result; end end end @@ -285,11 +285,11 @@ BigDecimal::VERSION = T.let(T.unsafe(nil), String) # Core BigMath methods for BigDecimal (log, exp) are defined here. # Other methods (sin, cos, atan) are defined in 'bigdecimal/math.rb'. # -# source://bigdecimal//lib/bigdecimal.rb#240 +# pkg:gem/bigdecimal#lib/bigdecimal.rb:240 module BigMath private - # source://bigdecimal//lib/bigdecimal.rb#310 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:310 def _exp_taylor(x, prec); end # call-seq: @@ -302,7 +302,7 @@ module BigMath # # If +decimal+ is NaN, returns NaN. # - # source://bigdecimal//lib/bigdecimal.rb#332 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:332 def exp(x, prec); end # call-seq: @@ -317,7 +317,7 @@ module BigMath # # If +decimal+ is NaN, returns NaN. # - # source://bigdecimal//lib/bigdecimal.rb#255 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:255 def log(x, prec); end class << self @@ -331,7 +331,7 @@ module BigMath # # If +decimal+ is NaN, returns NaN. # - # source://bigdecimal//lib/bigdecimal.rb#332 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:332 def exp(x, prec); end # call-seq: @@ -348,17 +348,17 @@ module BigMath # # @raise [Math::DomainError] # - # source://bigdecimal//lib/bigdecimal.rb#255 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:255 def log(x, prec); end private - # source://bigdecimal//lib/bigdecimal.rb#310 + # pkg:gem/bigdecimal#lib/bigdecimal.rb:310 def _exp_taylor(x, prec); end end end -# source://bigdecimal//lib/bigdecimal/util.rb#141 +# pkg:gem/bigdecimal#lib/bigdecimal/util.rb:141 class Complex < ::Numeric # call-seq: # cmp.to_d -> bigdecimal @@ -382,11 +382,11 @@ class Complex < ::Numeric # # See also Kernel.BigDecimal. # - # source://bigdecimal//lib/bigdecimal/util.rb#164 + # pkg:gem/bigdecimal#lib/bigdecimal/util.rb:164 def to_d(precision = T.unsafe(nil)); end end -# source://bigdecimal//lib/bigdecimal/util.rb#116 +# pkg:gem/bigdecimal#lib/bigdecimal/util.rb:116 class Rational < ::Numeric # call-seq: # rat.to_d(precision) -> bigdecimal @@ -406,6 +406,6 @@ class Rational < ::Numeric # # See also Kernel.BigDecimal. # - # source://bigdecimal//lib/bigdecimal/util.rb#135 + # pkg:gem/bigdecimal#lib/bigdecimal/util.rb:135 def to_d(precision = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/builder@3.3.0.rbi b/sorbet/rbi/gems/builder@3.3.0.rbi index 6b1256f0c..d9650201b 100644 --- a/sorbet/rbi/gems/builder@3.3.0.rbi +++ b/sorbet/rbi/gems/builder@3.3.0.rbi @@ -8,31 +8,31 @@ # If the Builder::XChar module is not currently defined, fail on any # name clashes in standard library classes. # -# source://builder//lib/builder/xmlbase.rb#4 +# pkg:gem/builder#lib/builder/xmlbase.rb:4 module Builder class << self - # source://builder//lib/builder/xchar.rb#13 + # pkg:gem/builder#lib/builder/xchar.rb:13 def check_for_name_collision(klass, method_name, defined_constant = T.unsafe(nil)); end end end # Generic error for builder # -# source://builder//lib/builder/xmlbase.rb#7 +# pkg:gem/builder#lib/builder/xmlbase.rb:7 class Builder::IllegalBlockError < ::RuntimeError; end -# source://builder//lib/builder/xchar.rb#33 +# pkg:gem/builder#lib/builder/xchar.rb:33 module Builder::XChar class << self # encode a string per XML rules # - # source://builder//lib/builder/xchar.rb#152 + # pkg:gem/builder#lib/builder/xchar.rb:152 def encode(string); end # convert a string to valid UTF-8, compensating for a number of # common errors. # - # source://builder//lib/builder/xchar.rb#126 + # pkg:gem/builder#lib/builder/xchar.rb:126 def unicode(string); end end end @@ -41,49 +41,49 @@ end # http://intertwingly.net/stories/2004/04/14/i18n.html#CleaningWindows # for details. # -# source://builder//lib/builder/xchar.rb#38 +# pkg:gem/builder#lib/builder/xchar.rb:38 Builder::XChar::CP1252 = T.let(T.unsafe(nil), Hash) -# source://builder//lib/builder/xchar.rb#100 +# pkg:gem/builder#lib/builder/xchar.rb:100 Builder::XChar::CP1252_DIFFERENCES = T.let(T.unsafe(nil), String) -# source://builder//lib/builder/xchar.rb#120 +# pkg:gem/builder#lib/builder/xchar.rb:120 Builder::XChar::ENCODING_BINARY = T.let(T.unsafe(nil), Encoding) -# source://builder//lib/builder/xchar.rb#122 +# pkg:gem/builder#lib/builder/xchar.rb:122 Builder::XChar::ENCODING_ISO1 = T.let(T.unsafe(nil), Encoding) -# source://builder//lib/builder/xchar.rb#121 +# pkg:gem/builder#lib/builder/xchar.rb:121 Builder::XChar::ENCODING_UTF8 = T.let(T.unsafe(nil), Encoding) -# source://builder//lib/builder/xchar.rb#109 +# pkg:gem/builder#lib/builder/xchar.rb:109 Builder::XChar::INVALID_XML_CHAR = T.let(T.unsafe(nil), Regexp) # See http://www.w3.org/TR/REC-xml/#dt-chardata for details. # -# source://builder//lib/builder/xchar.rb#69 +# pkg:gem/builder#lib/builder/xchar.rb:69 Builder::XChar::PREDEFINED = T.let(T.unsafe(nil), Hash) # http://www.fileformat.info/info/unicode/char/fffd/index.htm # -# source://builder//lib/builder/xchar.rb#84 +# pkg:gem/builder#lib/builder/xchar.rb:84 Builder::XChar::REPLACEMENT_CHAR = T.let(T.unsafe(nil), String) -# source://builder//lib/builder/xchar.rb#100 +# pkg:gem/builder#lib/builder/xchar.rb:100 Builder::XChar::UNICODE_EQUIVALENT = T.let(T.unsafe(nil), String) # See http://www.w3.org/TR/REC-xml/#charsets for details. # -# source://builder//lib/builder/xchar.rb#76 +# pkg:gem/builder#lib/builder/xchar.rb:76 Builder::XChar::VALID = T.let(T.unsafe(nil), Array) -# source://builder//lib/builder/xchar.rb#105 +# pkg:gem/builder#lib/builder/xchar.rb:105 Builder::XChar::XML_PREDEFINED = T.let(T.unsafe(nil), Regexp) # XmlBase is a base class for building XML builders. See # Builder::XmlMarkup and Builder::XmlEvents for examples. # -# source://builder//lib/builder/xmlbase.rb#11 +# pkg:gem/builder#lib/builder/xmlbase.rb:11 class Builder::XmlBase < ::BasicObject # Create an XML markup builder. # @@ -98,7 +98,7 @@ class Builder::XmlBase < ::BasicObject # # @return [XmlBase] a new instance of XmlBase # - # source://builder//lib/builder/xmlbase.rb#27 + # pkg:gem/builder#lib/builder/xmlbase.rb:27 def initialize(indent = T.unsafe(nil), initial = T.unsafe(nil), encoding = T.unsafe(nil)); end # Append text to the output target without escaping any markup. @@ -115,19 +115,19 @@ class Builder::XmlBase < ::BasicObject # method/operation builders can use other builders as their # targets. # - # source://builder//lib/builder/xmlbase.rb#116 + # pkg:gem/builder#lib/builder/xmlbase.rb:116 def <<(text); end # @return [Boolean] # - # source://builder//lib/builder/xmlbase.rb#33 + # pkg:gem/builder#lib/builder/xmlbase.rb:33 def explicit_nil_handling?; end # Create XML markup based on the name of the method. This method # is never invoked directly, but is called for each markup method # in the markup block that isn't cached. # - # source://builder//lib/builder/xmlbase.rb#90 + # pkg:gem/builder#lib/builder/xmlbase.rb:90 def method_missing(sym, *args, &block); end # For some reason, nil? is sent to the XmlMarkup object. If nil? @@ -139,14 +139,14 @@ class Builder::XmlBase < ::BasicObject # # @return [Boolean] # - # source://builder//lib/builder/xmlbase.rb#126 + # pkg:gem/builder#lib/builder/xmlbase.rb:126 def nil?; end # Create a tag named +sym+. Other than the first argument which # is the tag name, the arguments are the same as the tags # implemented via method_missing. # - # source://builder//lib/builder/xmlbase.rb#40 + # pkg:gem/builder#lib/builder/xmlbase.rb:40 def tag!(sym, *args, &block); end # Append text to the output target. Escape any markup. May be @@ -154,24 +154,24 @@ class Builder::XmlBase < ::BasicObject # # builder.p { |b| b.br; b.text! "HI" } #=>


HI

# - # source://builder//lib/builder/xmlbase.rb#99 + # pkg:gem/builder#lib/builder/xmlbase.rb:99 def text!(text); end private - # source://builder//lib/builder/xmlbase.rb#134 + # pkg:gem/builder#lib/builder/xmlbase.rb:134 def _escape(text); end - # source://builder//lib/builder/xmlbase.rb#157 + # pkg:gem/builder#lib/builder/xmlbase.rb:157 def _escape_attribute(text); end - # source://builder//lib/builder/xmlbase.rb#167 + # pkg:gem/builder#lib/builder/xmlbase.rb:167 def _indent; end - # source://builder//lib/builder/xmlbase.rb#172 + # pkg:gem/builder#lib/builder/xmlbase.rb:172 def _nested_structures(block); end - # source://builder//lib/builder/xmlbase.rb#162 + # pkg:gem/builder#lib/builder/xmlbase.rb:162 def _newline; end # If XmlBase.cache_method_calls = true, we dynamicly create the method @@ -181,20 +181,20 @@ class Builder::XmlBase < ::BasicObject # method_missing is very slow, this speeds up document generation # significantly. # - # source://builder//lib/builder/xmlbase.rb#185 + # pkg:gem/builder#lib/builder/xmlbase.rb:185 def cache_method_call(sym); end class << self # Returns the value of attribute cache_method_calls. # - # source://builder//lib/builder/xmlbase.rb#14 + # pkg:gem/builder#lib/builder/xmlbase.rb:14 def cache_method_calls; end # Sets the attribute cache_method_calls # # @param value the value to set the attribute cache_method_calls to. # - # source://builder//lib/builder/xmlbase.rb#14 + # pkg:gem/builder#lib/builder/xmlbase.rb:14 def cache_method_calls=(_arg0); end end end @@ -231,15 +231,15 @@ end # +text+ call, so the client cannot assume that a single # callback contains all the text data. # -# source://builder//lib/builder/xmlevents.rb#49 +# pkg:gem/builder#lib/builder/xmlevents.rb:49 class Builder::XmlEvents < ::Builder::XmlMarkup - # source://builder//lib/builder/xmlevents.rb#59 + # pkg:gem/builder#lib/builder/xmlevents.rb:59 def _end_tag(sym); end - # source://builder//lib/builder/xmlevents.rb#54 + # pkg:gem/builder#lib/builder/xmlevents.rb:54 def _start_tag(sym, attrs, end_too = T.unsafe(nil)); end - # source://builder//lib/builder/xmlevents.rb#50 + # pkg:gem/builder#lib/builder/xmlevents.rb:50 def text!(text); end end @@ -385,7 +385,7 @@ end # xml.strong("text") # } # -# source://builder//lib/builder/xmlmarkup.rb#161 +# pkg:gem/builder#lib/builder/xmlmarkup.rb:161 class Builder::XmlMarkup < ::Builder::XmlBase # Create an XML markup builder. Parameters are specified by an # option hash. @@ -416,7 +416,7 @@ class Builder::XmlMarkup < ::Builder::XmlBase # # @return [XmlMarkup] a new instance of XmlMarkup # - # source://builder//lib/builder/xmlmarkup.rb#190 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:190 def initialize(options = T.unsafe(nil)); end # Insert a CDATA section into the XML markup. @@ -426,13 +426,13 @@ class Builder::XmlMarkup < ::Builder::XmlBase # xml.cdata!("text to be included in cdata") # #=> # - # source://builder//lib/builder/xmlmarkup.rb#270 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:270 def cdata!(text); end - # source://builder//lib/builder/xmlmarkup.rb#275 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:275 def cdata_value!(open, text); end - # source://builder//lib/builder/xmlmarkup.rb#204 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:204 def comment!(comment_text); end # Insert an XML declaration into the XML markup. @@ -442,7 +442,7 @@ class Builder::XmlMarkup < ::Builder::XmlBase # xml.declare! :ELEMENT, :blah, "yada" # # => # - # source://builder//lib/builder/xmlmarkup.rb#215 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:215 def declare!(inst, *args, &block); end # Insert a processing instruction into the XML markup. E.g. @@ -458,45 +458,45 @@ class Builder::XmlMarkup < ::Builder::XmlBase # $KCODE is "UTF8", then builder will emit UTF-8 encoded strings # rather than the entity encoding normally used. # - # source://builder//lib/builder/xmlmarkup.rb#248 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:248 def instruct!(directive_tag = T.unsafe(nil), attrs = T.unsafe(nil)); end # Return the target of the builder. # - # source://builder//lib/builder/xmlmarkup.rb#200 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:200 def target!; end private - # source://builder//lib/builder/xmlmarkup.rb#326 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:326 def _attr_value(value); end # Insert an ending tag. # - # source://builder//lib/builder/xmlmarkup.rb#310 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:310 def _end_tag(sym); end - # source://builder//lib/builder/xmlmarkup.rb#335 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:335 def _ensure_no_block(got_block); end # Insert the attributes (given in the hash). # - # source://builder//lib/builder/xmlmarkup.rb#315 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:315 def _insert_attributes(attrs, order = T.unsafe(nil)); end # Insert special instruction. # - # source://builder//lib/builder/xmlmarkup.rb#291 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:291 def _special(open, close, data = T.unsafe(nil), attrs = T.unsafe(nil), order = T.unsafe(nil)); end # Start an XML tag. If end_too is true, then the start # tag is also the end tag (e.g.
# - # source://builder//lib/builder/xmlmarkup.rb#302 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:302 def _start_tag(sym, attrs, end_too = T.unsafe(nil)); end # Insert text directly in to the builder's target. # - # source://builder//lib/builder/xmlmarkup.rb#286 + # pkg:gem/builder#lib/builder/xmlmarkup.rb:286 def _text(text); end end diff --git a/sorbet/rbi/gems/cityhash@0.9.0.rbi b/sorbet/rbi/gems/cityhash@0.9.0.rbi index 36d8c9a5e..609c95276 100644 --- a/sorbet/rbi/gems/cityhash@0.9.0.rbi +++ b/sorbet/rbi/gems/cityhash@0.9.0.rbi @@ -5,53 +5,54 @@ # Please instead update this file by running `bin/tapioca gem cityhash`. -# source://cityhash//lib/cityhash/version.rb#1 +# pkg:gem/cityhash#lib/cityhash/version.rb:1 module CityHash class << self - # source://cityhash//lib/cityhash.rb#22 + # pkg:gem/cityhash#lib/cityhash.rb:22 def hash128(input, seed = T.unsafe(nil)); end - # source://cityhash//lib/cityhash.rb#8 + # pkg:gem/cityhash#lib/cityhash.rb:8 def hash32(input); end - # source://cityhash//lib/cityhash.rb#14 + # pkg:gem/cityhash#lib/cityhash.rb:14 def hash64(input, seed1 = T.unsafe(nil), seed2 = T.unsafe(nil)); end - # source://cityhash//lib/cityhash.rb#59 + # pkg:gem/cityhash#lib/cityhash.rb:59 def packed_seed(seed); end - # source://cityhash//lib/cityhash.rb#63 + # pkg:gem/cityhash#lib/cityhash.rb:63 def unpacked_digest(digest); end end end -# source://cityhash//lib/cityhash.rb#6 +# pkg:gem/cityhash#lib/cityhash.rb:6 CityHash::HIGH64_MASK = T.let(T.unsafe(nil), Integer) +# pkg:gem/cityhash#lib/cityhash.rb:2 module CityHash::Internal class << self - # source://cityhash//lib/cityhash.rb#2 + # pkg:gem/cityhash#lib/cityhash.rb:2 def hash128(_arg0); end - # source://cityhash//lib/cityhash.rb#2 + # pkg:gem/cityhash#lib/cityhash.rb:2 def hash128_with_seed(_arg0, _arg1); end - # source://cityhash//lib/cityhash.rb#2 + # pkg:gem/cityhash#lib/cityhash.rb:2 def hash32(_arg0); end - # source://cityhash//lib/cityhash.rb#2 + # pkg:gem/cityhash#lib/cityhash.rb:2 def hash64(_arg0); end - # source://cityhash//lib/cityhash.rb#2 + # pkg:gem/cityhash#lib/cityhash.rb:2 def hash64_with_seed(_arg0, _arg1); end - # source://cityhash//lib/cityhash.rb#2 + # pkg:gem/cityhash#lib/cityhash.rb:2 def hash64_with_seeds(_arg0, _arg1, _arg2); end end end -# source://cityhash//lib/cityhash.rb#5 +# pkg:gem/cityhash#lib/cityhash.rb:5 CityHash::LOW64_MASK = T.let(T.unsafe(nil), Integer) -# source://cityhash//lib/cityhash/version.rb#2 +# pkg:gem/cityhash#lib/cityhash/version.rb:2 CityHash::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi b/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi index 98fdf892f..f78c31683 100644 --- a/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi +++ b/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi @@ -7,7 +7,7 @@ # {include:file:README.md} # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/constants.rb#1 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/constants.rb:1 module Concurrent extend ::Concurrent::Utility::EngineDetector extend ::Concurrent::Utility::NativeExtensionLoader @@ -20,7 +20,7 @@ module Concurrent # # @raise [Transaction::AbortError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:139 def abort_transaction; end # Run a block that reads and writes `TVar`s as a single atomic transaction. @@ -55,12 +55,12 @@ module Concurrent # end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#82 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:82 def atomically; end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:56 def call_dataflow(method, executor, *inputs, &block); end # Dataflow allows you to create a task that will be scheduled when all of its data dependencies are available. @@ -74,23 +74,23 @@ 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:34 def dataflow(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:44 def dataflow!(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#39 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:39 def dataflow_with(executor, *inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#49 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:49 def dataflow_with!(executor, *inputs, &block); end # Leave a transaction without committing or aborting - see `Concurrent::atomically`. # # @raise [Transaction::LeaveError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#144 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:144 def leave_transaction; end # Returns the current time as tracked by the application monotonic clock. @@ -101,7 +101,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/monotonic_time.rb:15 def monotonic_time(unit = T.unsafe(nil)); end class << self @@ -109,7 +109,7 @@ module Concurrent # # @raise [Transaction::AbortError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 + # pkg:gem/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. @@ -144,7 +144,7 @@ module Concurrent # end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:148 def atomically; end # Number of processors cores available for process scheduling. @@ -157,12 +157,12 @@ module Concurrent # # @return [Float] number of available processors # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#194 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:194 def available_processor_count; end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#80 + # pkg:gem/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. @@ -177,7 +177,7 @@ module Concurrent # # @return [nil, Float] Maximum number of available processors as set by a cgroup CPU quota, or nil if none set # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#209 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:209 def cpu_quota; end # The CPU shares requested by the process. For performance reasons the calculated @@ -185,12 +185,12 @@ module Concurrent # # @return [Float, nil] CPU shares requested by the process, or nil if not set # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#217 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:217 def cpu_shares; end # Create a simple logger with provided level and output. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#38 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:38 def create_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end # Create a stdlib logger with provided level and output. @@ -198,7 +198,7 @@ module Concurrent # # @deprecated # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#73 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:73 def create_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end # Dataflow allows you to create a task that will be scheduled when all of its data dependencies are available. @@ -212,16 +212,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#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:37 def dataflow(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#47 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:47 def dataflow!(*inputs, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#42 + # pkg:gem/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#52 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:52 def dataflow_with!(executor, *inputs, &block); end # Disables AtExit handlers including pool auto-termination handlers. @@ -239,7 +239,7 @@ module Concurrent # from within a gem. It should *only* be used from within the main # application and even then it should be used only when necessary. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#48 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:48 def disable_at_exit_handlers!; end # General access point to global executors. @@ -250,44 +250,44 @@ module Concurrent # - :immediate - {Concurrent.global_immediate_executor} # @return [Executor] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#83 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:83 def executor(executor_identifier); end # Global thread pool optimized for short, fast *operations*. # # @return [ThreadPoolExecutor] the thread pool # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#55 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:55 def global_fast_executor; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#66 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:66 def global_immediate_executor; end # Global thread pool optimized for long, blocking (IO) *tasks*. # # @return [ThreadPoolExecutor] the thread pool # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:62 def global_io_executor; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#114 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:114 def global_logger; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#118 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:118 def global_logger=(value); end # Global thread pool user for global *timers*. # # @return [Concurrent::TimerSet] the thread pool # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#73 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:73 def global_timer_set; end # Leave a transaction without committing or aborting - see `Concurrent::atomically`. # # @raise [Transaction::LeaveError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#148 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:148 def leave_transaction; end # Returns the current time as tracked by the application monotonic clock. @@ -298,18 +298,18 @@ module Concurrent # @return [Float] The current monotonic time since some unspecified # starting point # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/monotonic_time.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/monotonic_time.rb:18 def monotonic_time(unit = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb#7 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb:7 def mutex_owned_per_thread?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#87 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:87 def new_fast_executor(opts = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#98 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:98 def new_io_executor(opts = T.unsafe(nil)); end # Number of physical processor cores on the current system. For performance @@ -328,7 +328,7 @@ module Concurrent # @see http://www.unix.com/man-page/osx/1/HWPREFS/ # @see https://github.com/grosser/parallel/blob/4fc8b89d08c7091fe0419ca8fba1ec3ce5a8d185/lib/parallel.rb # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#181 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:181 def physical_processor_count; end # Number of processors seen by the OS and used for process scheduling. For @@ -347,31 +347,31 @@ module Concurrent # @return [Integer] number of processors seen by the OS or Java runtime # @see http://docs.oracle.com/javase/6/docs/api/java/lang/Runtime.html#availableProcessors() # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#160 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:160 def processor_count; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#142 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:142 def processor_counter; end # Use logger created by #create_simple_logger to log concurrent-ruby messages. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#66 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:66 def use_simple_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end # Use logger created by #create_stdlib_logger to log concurrent-ruby messages. # # @deprecated # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#101 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:101 def use_stdlib_logger(level = T.unsafe(nil), output = T.unsafe(nil)); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#38 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:38 class Concurrent::AbstractExchanger < ::Concurrent::Synchronization::Object # @return [AbstractExchanger] a new instance of AbstractExchanger # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:44 def initialize; end # Waits for another thread to arrive at this exchange point (unless the @@ -392,7 +392,7 @@ class Concurrent::AbstractExchanger < ::Concurrent::Synchronization::Object # @param value [Object] the value to exchange with another thread # @return [Object] the value exchanged by the other thread or `nil` on timeout # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#69 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:69 def exchange(value, timeout = T.unsafe(nil)); end # Waits for another thread to arrive at this exchange point (unless the @@ -410,7 +410,7 @@ class Concurrent::AbstractExchanger < ::Concurrent::Synchronization::Object # @raise [Concurrent::TimeoutError] on timeout # @return [Object] the value exchanged by the other thread # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#80 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:80 def exchange!(value, timeout = T.unsafe(nil)); end # Waits for another thread to arrive at this exchange point (unless the @@ -441,7 +441,7 @@ class Concurrent::AbstractExchanger < ::Concurrent::Synchronization::Object # the item exchanged by the other thread as `#value`; on timeout a # `Nothing` maybe will be returned with {Concurrent::TimeoutError} as `#reason` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#109 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:109 def try_exchange(value, timeout = T.unsafe(nil)); end private @@ -458,14 +458,14 @@ class Concurrent::AbstractExchanger < ::Concurrent::Synchronization::Object # @raise [NotImplementedError] # @return [Object, CANCEL] the value exchanged by the other thread; {CANCEL} on timeout # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#122 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:122 def do_exchange(value, timeout); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#41 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:41 Concurrent::AbstractExchanger::CANCEL = T.let(T.unsafe(nil), Object) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:10 class Concurrent::AbstractExecutorService < ::Concurrent::Synchronization::LockableObject include ::Concurrent::Concern::Logging include ::Concurrent::ExecutorService @@ -475,58 +475,58 @@ class Concurrent::AbstractExecutorService < ::Concurrent::Synchronization::Locka # # @return [AbstractExecutorService] a new instance of AbstractExecutorService # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:23 def initialize(opts = T.unsafe(nil), &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#72 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:72 def auto_terminate=(value); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#67 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:67 def auto_terminate?; end # Returns the value of attribute fallback_policy. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:18 def fallback_policy; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#42 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:42 def kill; end # Returns the value of attribute name. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#20 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:20 def name; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#52 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:52 def running?; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:37 def shutdown; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:62 def shutdown?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#57 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:57 def shuttingdown?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#32 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:32 def to_s; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#47 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:47 def wait_for_termination(timeout = T.unsafe(nil)); end private @@ -537,35 +537,35 @@ class Concurrent::AbstractExecutorService < ::Concurrent::Synchronization::Locka # # @param args [Array] the arguments to the task which is being handled. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#85 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:85 def fallback_action(*args); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#126 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:126 def ns_auto_terminate?; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#106 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:106 def ns_execute(*args, &task); end # Callback method called when the executor has been killed. # The default behavior is to do nothing. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#122 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:122 def ns_kill_execution; end # Callback method called when an orderly shutdown has completed. # The default behavior is to signal all waiting threads. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#114 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:114 def ns_shutdown_execution; end end # The set of possible fallback policies that may be set at thread pool creation. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb#15 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb:15 Concurrent::AbstractExecutorService::FALLBACK_POLICIES = T.let(T.unsafe(nil), Array) # An abstract implementation of local storage, with sub-classes for @@ -595,55 +595,55 @@ Concurrent::AbstractExecutorService::FALLBACK_POLICIES = T.let(T.unsafe(nil), Ar # them. This is why we need to use a finalizer to clean up the locals array # when the EC goes out of scope. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#35 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:35 class Concurrent::AbstractLocals # @return [AbstractLocals] a new instance of AbstractLocals # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#36 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:36 def initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#89 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:89 def fetch(index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#71 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:71 def free_index(index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#55 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:55 def next_index(local); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#102 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:102 def set(index, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#43 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:43 def synchronize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#48 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:48 def weak_synchronize; end private # When the local goes out of scope, clean up that slot across all locals currently assigned. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#112 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:112 def local_finalizer(index); end # Returns the locals for the current scope, or nil if none exist. # # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#128 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:128 def locals; end # Returns the locals for the current scope, creating them if necessary. # # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#133 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:133 def locals!; end # When a thread/fiber goes out of scope, remove the array from @all_arrays. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:119 def thread_fiber_finalizer(array_object_id); end end @@ -779,7 +779,7 @@ end # @see http://clojure.org/Agents Clojure Agents # @see http://clojure.org/state Values and Change - Clojure's approach to Identity and State # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#145 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:145 class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject include ::Concurrent::Concern::Observable @@ -818,7 +818,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @param opts [Hash] the configuration options # @return [Agent] a new instance of Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#220 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:220 def initialize(initial, opts = T.unsafe(nil)); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -829,7 +829,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @return [Concurrent::Agent] self # @see #send_off # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#331 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:331 def <<(action); end # Blocks the current thread (indefinitely!) until all actions dispatched @@ -852,7 +852,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [Boolean] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#350 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:350 def await; end # Blocks the current thread until all actions dispatched thus far, from this @@ -869,7 +869,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @param timeout [Float] the maximum number of seconds to wait # @return [Boolean] true if all actions complete before timeout else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#363 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:363 def await_for(timeout); end # Blocks the current thread until all actions dispatched thus far, from this @@ -887,7 +887,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @raise [Concurrent::TimeoutError] when timeout is reached # @return [Boolean] true if all actions complete before timeout # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#377 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:377 def await_for!(timeout); end # The current value (state) of the Agent, irrespective of any pending or @@ -895,7 +895,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#233 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:233 def deref; end # When {#failed?} and {#error_mode} is `:fail`, returns the error object @@ -904,12 +904,12 @@ 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:240 def error; end # The error mode this Agent is operating in. See {#initialize} for details. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#184 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:184 def error_mode; end # Is the Agent in a failed state? @@ -917,7 +917,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @return [Boolean] # @see #restart # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#402 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:402 def failed?; end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -948,7 +948,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#298 + # pkg:gem/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#244 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:244 def reason; end # When an Agent is {#failed?}, changes the Agent {#value} to `new_value` @@ -975,7 +975,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @raise [Concurrent:AgentError] when not failed # @return [Boolean] true # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#424 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:424 def restart(new_value, opts = T.unsafe(nil)); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -1006,7 +1006,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#278 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:278 def send(*args, &action); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -1037,7 +1037,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#287 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:287 def send!(*args, &action); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -1068,7 +1068,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#294 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:294 def send_off(*args, &action); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -1099,7 +1099,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#302 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:302 def send_off!(*args, &action); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -1132,7 +1132,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#311 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:311 def send_via(executor, *args, &action); end # Dispatches an action to the Agent and returns immediately. Subsequently, @@ -1165,7 +1165,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @yieldparam value [Object] the current {#value} of the Agent # @yieldreturn [Object] the new value of the Agent # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#319 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:319 def send_via!(executor, *args, &action); end # Is the Agent in a failed state? @@ -1173,7 +1173,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @return [Boolean] # @see #restart # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#406 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:406 def stopped?; end # The current value (state) of the Agent, irrespective of any pending or @@ -1181,7 +1181,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#229 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:229 def value; end # Blocks the current thread until all actions dispatched thus far, from this @@ -1201,38 +1201,38 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @param timeout [Float] the maximum number of seconds to wait # @return [Boolean] true if all actions complete before timeout else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#393 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:393 def wait(timeout = T.unsafe(nil)); end private # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#510 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:510 def enqueue_action_job(action, args, executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#516 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:516 def enqueue_await_job(latch); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#543 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:543 def execute_next_job; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#576 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:576 def handle_error(error); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#529 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:529 def ns_enqueue_job(job, index = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#584 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:584 def ns_find_last_job_for_thread; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#490 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:490 def ns_initialize(initial, opts); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#539 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:539 def ns_post_next_job; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#570 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:570 def ns_validate(value); end class << self @@ -1252,7 +1252,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @param agents [Array] the Agents on which to wait # @return [Boolean] true # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#449 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:449 def await(*agents); end # Blocks the current thread until all actions dispatched thus far to all @@ -1270,7 +1270,7 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @param timeout [Float] the maximum number of seconds to wait # @return [Boolean] true if all actions complete before timeout else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#463 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:463 def await_for(timeout, *agents); end # Blocks the current thread until all actions dispatched thus far to all @@ -1289,43 +1289,43 @@ class Concurrent::Agent < ::Concurrent::Synchronization::LockableObject # @raise [Concurrent::TimeoutError] when timeout is reached # @return [Boolean] true if all actions complete before timeout # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#482 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:482 def await_for!(timeout, *agents); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#154 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:154 Concurrent::Agent::AWAIT_ACTION = T.let(T.unsafe(nil), Proc) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#151 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:151 Concurrent::Agent::AWAIT_FLAG = T.let(T.unsafe(nil), Object) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#157 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:157 Concurrent::Agent::DEFAULT_ERROR_HANDLER = T.let(T.unsafe(nil), Proc) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#160 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:160 Concurrent::Agent::DEFAULT_VALIDATOR = T.let(T.unsafe(nil), Proc) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#148 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:148 Concurrent::Agent::ERROR_MODES = T.let(T.unsafe(nil), Array) # Raised during action processing or any other time in an Agent's lifecycle. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#167 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:167 class Concurrent::Agent::Error < ::StandardError # @return [Error] a new instance of Error # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#168 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:168 def initialize(message = T.unsafe(nil)); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def action; end # Sets the attribute action @@ -1333,14 +1333,14 @@ class Concurrent::Agent::Job < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def args; end # Sets the attribute args @@ -1348,14 +1348,14 @@ class Concurrent::Agent::Job < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def caller; end # Sets the attribute caller @@ -1363,14 +1363,14 @@ class Concurrent::Agent::Job < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def executor; end # Sets the attribute executor @@ -1378,23 +1378,23 @@ class Concurrent::Agent::Job < ::Struct # @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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def executor=(_); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def [](*_arg0); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def keyword_init?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def members; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#163 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:163 def new(*_arg0); end end end @@ -1402,11 +1402,11 @@ end # Raised when a new value obtained during action processing or at `#restart` # fails validation. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#176 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:176 class Concurrent::Agent::ValidationError < ::Concurrent::Agent::Error # @return [ValidationError] a new instance of ValidationError # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/agent.rb#177 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/agent.rb:177 def initialize(message = T.unsafe(nil)); end end @@ -1422,10 +1422,10 @@ end # may be lost. Use `#concat` instead. # @see http://ruby-doc.org/core/Array.html Ruby standard library `Array` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/array.rb#53 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/array.rb:53 class Concurrent::Array < ::Array; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/array.rb#22 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/array.rb:22 Concurrent::ArrayImplementation = Array # A mixin module that provides simple asynchronous behavior to a class, @@ -1638,7 +1638,7 @@ Concurrent::ArrayImplementation = Array # @see http://www.erlang.org/doc/man/gen_server.html Erlang gen_server # @see https://en.wikipedia.org/wiki/Actor_model "Actor Model" at Wikipedia # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#217 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:217 module Concurrent::Async mixes_in_class_methods ::Concurrent::Async::ClassMethods @@ -1659,7 +1659,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:412 def async; end # Causes the chained method call to be performed synchronously on the @@ -1679,7 +1679,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:430 def await; end # Causes the chained method call to be performed synchronously on the @@ -1699,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#433 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:433 def call; end # Causes the chained method call to be performed asynchronously on the @@ -1719,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#415 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:415 def cast; end # Initialize the internal serializer and other stnchronization mechanisms. @@ -1727,13 +1727,13 @@ module Concurrent::Async # @note This method *must* be called immediately upon object construction. # This is the only way thread-safe initialization can be guaranteed. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#441 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:441 def init_synchronization; end class << self # @private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#262 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:262 def included(base); end # Check for the presence of a method on an object and determine if a given @@ -1753,21 +1753,21 @@ module Concurrent::Async # @see http://www.ruby-doc.org/core-2.1.0/BasicObject.html#method-i-method_missing BasicObject#method_missing # @see http://www.ruby-doc.org/core-2.1.1/Method.html#method-i-arity Method#arity # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#250 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:250 def validate_argc(obj, method, *args); end end end # Delegates asynchronous, thread-safe method calls to the wrapped object. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#282 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:282 class Concurrent::Async::AsyncDelegator < ::Concurrent::Synchronization::LockableObject # Create a new delegator object wrapping the given delegate. # # @param delegate [Object] the object to wrap and delegate method calls to # @return [AsyncDelegator] a new instance of AsyncDelegator # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#288 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:288 def initialize(delegate); end # Delegates method calls to the wrapped object. @@ -1778,7 +1778,7 @@ class Concurrent::Async::AsyncDelegator < ::Concurrent::Synchronization::Lockabl # @raise [ArgumentError] the given `args` do not match the arity of `method` # @return [IVar] the result of the method call # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#305 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:305 def method_missing(method, *args, &block); end # Perform all enqueued tasks. @@ -1786,10 +1786,10 @@ class Concurrent::Async::AsyncDelegator < ::Concurrent::Synchronization::Lockabl # This method must be called from within the executor. It must not be # called while already running. It will loop until the queue is empty. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#330 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:330 def perform; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#348 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:348 def reset_if_forked; end private @@ -1799,20 +1799,20 @@ class Concurrent::Async::AsyncDelegator < ::Concurrent::Synchronization::Lockabl # @param method [Symbol] the method being called # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#322 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:322 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end # Delegates synchronous, thread-safe method calls to the wrapped object. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#360 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:360 class Concurrent::Async::AwaitDelegator # Create a new delegator object wrapping the given delegate. # # @param delegate [AsyncDelegator] the object to wrap and delegate method calls to # @return [AwaitDelegator] a new instance of AwaitDelegator # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#365 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:365 def initialize(delegate); end # Delegates method calls to the wrapped object. @@ -1823,7 +1823,7 @@ class Concurrent::Async::AwaitDelegator # @raise [ArgumentError] the given `args` do not match the arity of `method` # @return [IVar] the result of the method call # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#378 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:378 def method_missing(method, *args, &block); end private @@ -1833,13 +1833,13 @@ class Concurrent::Async::AwaitDelegator # @param method [Symbol] the method being called # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#387 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:387 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#269 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:269 module Concurrent::Async::ClassMethods - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/async.rb#270 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/async.rb:270 def new(*args, **_arg1, &block); end end @@ -1927,7 +1927,7 @@ end # @see http://clojure.org/atoms Clojure Atoms # @see http://clojure.org/state Values and Change - Clojure's approach to Identity and State # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#95 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:95 class Concurrent::Atom < ::Concurrent::Synchronization::Object include ::Concurrent::Concern::Observable extend ::Concurrent::Synchronization::SafeInitialization @@ -1940,10 +1940,10 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # @raise [ArgumentError] if the validator is not a `Proc` (when given) # @return [Atom] a new instance of Atom # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#121 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:121 def initialize(value, opts = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 + # pkg:gem/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 @@ -1955,10 +1955,10 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # @param old_value [Object] The expected current value. # @return [Boolean] True if the value is changed else false. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#181 + # pkg:gem/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/atom.rb#102 + # pkg:gem/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 @@ -1969,7 +1969,7 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # @return [Object] The final value of the atom after all operations and # validations are complete. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#198 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:198 def reset(new_value); end # Atomically swaps the value of atom using the given block. The current @@ -1998,25 +1998,25 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # @yieldparam value [Object] The current value of the atom. # @yieldreturn [Object] The intended new value of the atom. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#157 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:157 def swap(*args); end # The current value of the atom. # # @return [Object] The current value. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:99 def value; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:99 def compare_and_set_value(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:99 def swap_value(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:99 def update_value(&block); end # Is the new value valid? @@ -2025,10 +2025,10 @@ class Concurrent::Atom < ::Concurrent::Synchronization::Object # @return [Boolean] false if the validator function returns false or raises # an exception else true # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#216 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:216 def valid?(new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atom.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atom.rb:99 def value=(value); end end @@ -2086,33 +2086,33 @@ end # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicBoolean.html java.util.concurrent.atomic.AtomicBoolean # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#119 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb:119 class Concurrent::AtomicBoolean < ::Concurrent::MutexAtomicBoolean # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#125 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb:125 def inspect; end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#121 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb:121 def to_s; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb#82 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb:82 Concurrent::AtomicBooleanImplementation = Concurrent::MutexAtomicBoolean # Define update methods that use direct paths # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb:9 module Concurrent::AtomicDirectUpdate - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb#15 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb:15 def try_update; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb:24 def try_update!; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb#10 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb:10 def update; end end @@ -2170,20 +2170,20 @@ end # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html java.util.concurrent.atomic.AtomicLong # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#136 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb:136 class Concurrent::AtomicFixnum < ::Concurrent::MutexAtomicFixnum # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#142 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb:142 def inspect; end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#138 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb:138 def to_s; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb#99 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb:99 Concurrent::AtomicFixnumImplementation = Concurrent::MutexAtomicFixnum # An atomic reference which maintains an object reference along with a mark bit @@ -2191,16 +2191,16 @@ Concurrent::AtomicFixnumImplementation = Concurrent::MutexAtomicFixnum # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicMarkableReference.html java.util.concurrent.atomic.AtomicMarkableReference # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:10 class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Object extend ::Concurrent::Synchronization::SafeInitialization # @return [AtomicMarkableReference] a new instance of AtomicMarkableReference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#15 + # pkg:gem/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/atomic/atomic_markable_reference.rb#12 + # pkg:gem/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 @@ -2217,7 +2217,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @param new_val [Object] the new value # @return [Boolean] `true` if successful. A `false` return indicates # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:33 def compare_and_set(expected_val, new_val, expected_mark, new_mark); end # Atomically sets the value and mark to the given updated value and @@ -2234,28 +2234,28 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @param new_val [Object] the new value # @return [Boolean] `true` if successful. A `false` return indicates # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#59 + # pkg:gem/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. # # @return [Array] the current reference and marked values # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#64 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:64 def get; end # Gets the current marked value # # @return [Boolean] the current marked value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#78 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:78 def mark; end # Gets the current marked value # # @return [Boolean] the current marked value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#82 + # pkg:gem/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 @@ -2265,7 +2265,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @param new_val [Object] the new value # @return [Array] both the new value and the new mark # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#91 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:91 def set(new_val, new_mark); end # Pass the current value to the given block, replacing it with the @@ -2279,7 +2279,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @yieldparam old_mark [Boolean] the starting state of marked # @yieldparam old_val [Object] the starting value of the atomic reference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#152 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:152 def try_update; end # Pass the current value to the given block, replacing it @@ -2293,7 +2293,7 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @yieldparam old_mark [Boolean] the starting state of marked # @yieldparam old_val [Object] the starting value of the atomic reference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#128 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:128 def try_update!; end # Pass the current value and marked state to the given block, replacing it @@ -2306,40 +2306,40 @@ class Concurrent::AtomicMarkableReference < ::Concurrent::Synchronization::Objec # @yieldparam old_mark [Boolean] the starting state of marked # @yieldparam old_val [Object] the starting value of the atomic reference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#105 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:105 def update; end # Gets the current value of the reference # # @return [Object] the current value of the reference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#71 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:71 def value; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:163 def immutable_array(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:12 def reference; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:12 def reference=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:12 def swap_reference(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb:12 def update_reference(&block); end end # Special "compare and set" handling of numeric values. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb#7 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb:7 module Concurrent::AtomicNumericCompareAndSetWrapper # Atomically sets the value to the given updated value if # the current value == the expected value. @@ -2350,7 +2350,7 @@ module Concurrent::AtomicNumericCompareAndSetWrapper # @param old_value [Object] the expected value # @return [Boolean] `true` if successful. A `false` return indicates # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb#10 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb:10 def compare_and_set(old_value, new_value); end end @@ -2393,213 +2393,216 @@ end # @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html # @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#126 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:126 class Concurrent::AtomicReference < ::Concurrent::MutexAtomicReference # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#133 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:133 def inspect; end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#129 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:129 def to_s; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb#18 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb:18 Concurrent::AtomicReferenceImplementation = Concurrent::MutexAtomicReference -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#30 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:30 class Concurrent::CRubySet < ::Set - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + include ::Set::SubclassCompatible + extend ::Set::SubclassCompatible::ClassMethods + + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def initialize(*args, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def &(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def +(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def -(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def <(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def <<(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def <=(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def <=>(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def ==(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def ===(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def >(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def >=(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def ^(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def add(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def add?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def classify(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def clear(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def collect!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def compare_by_identity(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def compare_by_identity?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def delete(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def delete?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def delete_if(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def difference(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def disjoint?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def divide(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def each(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def empty?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 + def encode_with(*args); end + + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def eql?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def filter!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def flatten(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def flatten!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 - def flatten_merge(*args); end - - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 - def freeze(*args); end - - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def hash(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def include?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 + def init_with(*args); end + + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def inspect(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def intersect?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def intersection(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def join(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def keep_if(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def length(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def map!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def member?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def merge(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def pretty_print(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def pretty_print_cycle(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def proper_subset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def proper_superset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def reject!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def replace(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def reset(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def select!(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def size(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def subset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def subtract(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def superset?(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def to_a(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def to_s(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def to_set(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def union(*args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def |(*args); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:33 def initialize_copy(other); end end @@ -2623,7 +2626,7 @@ end # # The API and behavior of this class are based on Java's `CachedThreadPool` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb#27 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb:27 class Concurrent::CachedThreadPool < ::Concurrent::ThreadPoolExecutor # Create a new thread pool. # @@ -2633,7 +2636,7 @@ class Concurrent::CachedThreadPool < ::Concurrent::ThreadPoolExecutor # @return [CachedThreadPool] a new instance of CachedThreadPool # @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html#newCachedThreadPool-- # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb#39 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb:39 def initialize(opts = T.unsafe(nil)); end private @@ -2645,16 +2648,16 @@ class Concurrent::CachedThreadPool < ::Concurrent::ThreadPoolExecutor # @raise [ArgumentError] if `fallback_policy` is not a known policy # @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html#newCachedThreadPool-- # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb:51 def ns_initialize(opts); end end # Raised when an asynchronous operation is cancelled before execution. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:9 class Concurrent::CancelledOperationError < ::Concurrent::Error; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#7 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:7 module Concurrent::Collection; end # A thread safe observer set implemented using copy-on-read approach: @@ -2664,32 +2667,32 @@ module Concurrent::Collection; end # # @api private # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#12 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:12 class Concurrent::Collection::CopyOnNotifyObserverSet < ::Concurrent::Synchronization::LockableObject # @api private # @return [CopyOnNotifyObserverSet] a new instance of CopyOnNotifyObserverSet # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#14 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:14 def initialize; end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#20 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:20 def add_observer(observer = T.unsafe(nil), func = T.unsafe(nil), &block); end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#55 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:55 def count_observers; end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#39 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:39 def delete_observer(observer); end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#47 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:47 def delete_observers; end # Notifies all registered observers with optional args and deletes them. @@ -2698,7 +2701,7 @@ class Concurrent::Collection::CopyOnNotifyObserverSet < ::Concurrent::Synchroniz # @param args [Object] arguments to be passed to each observer # @return [CopyOnWriteObserverSet] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#72 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:72 def notify_and_delete_observers(*args, &block); end # Notifies all registered observers with optional args @@ -2707,32 +2710,32 @@ class Concurrent::Collection::CopyOnNotifyObserverSet < ::Concurrent::Synchroniz # @param args [Object] arguments to be passed to each observer # @return [CopyOnWriteObserverSet] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:62 def notify_observers(*args, &block); end protected # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#80 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:80 def ns_initialize; end private # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#86 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:86 def duplicate_and_clear_observers; end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:94 def duplicate_observers; end # @api private # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb#98 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb:98 def notify_to(observers, *args); end end @@ -2742,32 +2745,32 @@ end # # @api private # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:11 class Concurrent::Collection::CopyOnWriteObserverSet < ::Concurrent::Synchronization::LockableObject # @api private # @return [CopyOnWriteObserverSet] a new instance of CopyOnWriteObserverSet # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#13 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:13 def initialize; end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:19 def add_observer(observer = T.unsafe(nil), func = T.unsafe(nil), &block); end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:56 def count_observers; end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:40 def delete_observer(observer); end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#50 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:50 def delete_observers; end # Notifies all registered observers with optional args and deletes them. @@ -2776,7 +2779,7 @@ class Concurrent::Collection::CopyOnWriteObserverSet < ::Concurrent::Synchroniza # @param args [Object] arguments to be passed to each observer # @return [CopyOnWriteObserverSet] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#72 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:72 def notify_and_delete_observers(*args, &block); end # Notifies all registered observers with optional args @@ -2785,85 +2788,85 @@ class Concurrent::Collection::CopyOnWriteObserverSet < ::Concurrent::Synchroniza # @param args [Object] arguments to be passed to each observer # @return [CopyOnWriteObserverSet] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#63 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:63 def notify_observers(*args, &block); end protected # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#80 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:80 def ns_initialize; end private # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#102 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:102 def clear_observers_and_return_old; end # @api private # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#86 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:86 def notify_to(observers, *args); end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:94 def observers; end # @api private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb#98 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb:98 def observers=(new_set); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:10 Concurrent::Collection::MapImplementation = Concurrent::Collection::MriMapBackend -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:10 class Concurrent::Collection::MriMapBackend < ::Concurrent::Collection::NonConcurrentMapBackend # @return [MriMapBackend] a new instance of MriMapBackend # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:12 def initialize(options = T.unsafe(nil), &default_proc); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#17 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:17 def []=(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#61 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:61 def clear; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:33 def compute(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:21 def compute_if_absent(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:29 def compute_if_present(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#53 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:53 def delete(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#57 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:57 def delete_pair(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#49 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:49 def get_and_set(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:37 def merge_pair(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#45 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:45 def replace_if_exists(key, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb:41 def replace_pair(key, old_value, new_value); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:9 class Concurrent::Collection::NonConcurrentMapBackend # WARNING: all public methods of the class must operate on the @backend # directly without calling each other. This is important because of the @@ -2872,76 +2875,76 @@ class Concurrent::Collection::NonConcurrentMapBackend # # @return [NonConcurrentMapBackend] a new instance of NonConcurrentMapBackend # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#15 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:15 def initialize(options = T.unsafe(nil), &default_proc); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:21 def [](key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#25 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:25 def []=(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:94 def clear; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:59 def compute(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:29 def compute_if_absent(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#53 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:53 def compute_if_present(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#81 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:81 def delete(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#85 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:85 def delete_pair(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:99 def each_pair; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#71 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:71 def get_and_set(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#110 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:110 def get_or_default(key, default_value); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#77 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:77 def key?(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#63 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:63 def merge_pair(key, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#46 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:46 def replace_if_exists(key, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:37 def replace_pair(key, old_value, new_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#106 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:106 def size; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#130 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:130 def dupped_backend; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#124 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:124 def initialize_copy(other); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#134 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:134 def pair?(key, expected_value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#116 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:116 def set_backend(default_proc); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb#138 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb:138 def store_computed_value(key, new_value); end end @@ -2971,28 +2974,28 @@ end # @see http://en.wikipedia.org/wiki/Priority_queue # @see http://ruby-doc.org/stdlib-2.0.0/libdoc/thread/rdoc/Queue.html # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#50 +# pkg:gem/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/non_concurrent_priority_queue.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb:59 def <<(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb:56 def deq; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#60 + # pkg:gem/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/non_concurrent_priority_queue.rb#52 + # pkg:gem/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/non_concurrent_priority_queue.rb#57 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb:57 def shift; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb:54 def size; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb:10 Concurrent::Collection::NonConcurrentPriorityQueueImplementation = Concurrent::Collection::RubyNonConcurrentPriorityQueue # A queue collection in which the elements are sorted based on their @@ -3021,7 +3024,7 @@ Concurrent::Collection::NonConcurrentPriorityQueueImplementation = Concurrent::C # @see http://en.wikipedia.org/wiki/Priority_queue # @see http://ruby-doc.org/stdlib-2.0.0/libdoc/thread/rdoc/Queue.html # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:8 class Concurrent::Collection::RubyNonConcurrentPriorityQueue # Create a new priority queue with no items. # @@ -3029,7 +3032,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param opts [Hash] the options for creating the queue # @return [RubyNonConcurrentPriorityQueue] a new instance of RubyNonConcurrentPriorityQueue # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:11 def initialize(opts = T.unsafe(nil)); end # Inserts the specified element into this priority queue. @@ -3037,12 +3040,12 @@ 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#85 + # pkg:gem/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. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:18 def clear; end # Deletes all items from `self` that are equal to `item`. @@ -3050,7 +3053,7 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param item [Object] the item to be removed from the queue # @return [Object] true if the item is found else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#25 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:25 def delete(item); end # Retrieves and removes the head of this queue, or returns `nil` if this @@ -3058,14 +3061,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#74 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:74 def deq; end # Returns `true` if `self` contains no elements. # # @return [Boolean] true if there are no items in the queue else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#43 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:43 def empty?; end # Inserts the specified element into this priority queue. @@ -3073,7 +3076,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#86 + # pkg:gem/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 @@ -3082,7 +3085,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#51 + # pkg:gem/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 @@ -3091,14 +3094,14 @@ 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:48 def include?(item); 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:54 def length; end # Retrieves, but does not remove, the head of this queue, or returns `nil` @@ -3106,7 +3109,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#60 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:60 def peek; end # Retrieves and removes the head of this queue, or returns `nil` if this @@ -3114,7 +3117,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:65 def pop; end # Inserts the specified element into this priority queue. @@ -3122,7 +3125,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:78 def push(item); end # Retrieves and removes the head of this queue, or returns `nil` if this @@ -3130,14 +3133,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#75 + # pkg:gem/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#57 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:57 def size; end private @@ -3150,14 +3153,14 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @return [Boolean] true if the two elements are in the correct priority order # else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:119 def ordered?(x, y); end # Percolate down to maintain heap invariant. # # @param k [Integer] the index at which to start the percolation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#128 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:128 def sink(k); end # Exchange the values at the given indexes within the internal array. @@ -3165,43 +3168,43 @@ class Concurrent::Collection::RubyNonConcurrentPriorityQueue # @param x [Integer] the first index to swap # @param y [Integer] the second index to swap # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#103 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:103 def swap(x, y); end # Percolate up to maintain heap invariant. # # @param k [Integer] the index at which to start the percolation # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#147 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:147 def swim(k); end class << self # @!macro priority_queue_method_from_list # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb#89 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb:89 def from_list(list, opts = T.unsafe(nil)); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/timeout_queue.rb#15 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/timeout_queue.rb:15 class Concurrent::Collection::TimeoutQueue < ::Thread::Queue; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/timeout_queue.rb#5 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/timeout_queue.rb:5 Concurrent::Collection::TimeoutQueueImplementation = Thread::Queue -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#2 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:2 module Concurrent::Concern; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/deprecation.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/deprecation.rb:8 module Concurrent::Concern::Deprecation include ::Concurrent::Concern::Logging extend ::Concurrent::Concern::Logging extend ::Concurrent::Concern::Deprecation - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/deprecation.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/deprecation.rb:12 def deprecated(message, strip = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/deprecation.rb#27 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/deprecation.rb:27 def deprecated_method(old_name, new_name); end end @@ -3211,14 +3214,14 @@ end # Most classes in this library that expose a `#value` getter method do so using the # `Dereferenceable` mixin module. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:11 module Concurrent::Concern::Dereferenceable # Return the value this object represents after applying the options specified # by the `#set_deref_options` method. # # @return [Object] the current value of the object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:24 def deref; end # Return the value this object represents after applying the options specified @@ -3226,12 +3229,12 @@ module Concurrent::Concern::Dereferenceable # # @return [Object] the current value of the object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:21 def value; end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#63 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:63 def apply_deref_options(value); end # Set the options which define the operations #value performs before @@ -3245,7 +3248,7 @@ module Concurrent::Concern::Dereferenceable # @option opts # @param opts [Hash] the options defining dereference behavior. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:54 def ns_set_deref_options(opts); end # Set the options which define the operations #value performs before @@ -3259,20 +3262,20 @@ module Concurrent::Concern::Dereferenceable # @option opts # @param opts [Hash] the options defining dereference behavior. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#48 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:48 def set_deref_options(opts = T.unsafe(nil)); end # Set the internal value of this object # # @param value [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/dereferenceable.rb#31 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/dereferenceable.rb:31 def value=(value); end end # Include where logging is needed # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:9 module Concurrent::Concern::Logging # Logs through {Concurrent.global_logger}, it can be overridden by setting @logger # @@ -3281,32 +3284,32 @@ module Concurrent::Concern::Logging # @param progname [String] e.g. a path of an Actor # @yieldreturn [String] a message # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:19 def log(level, progname, message = T.unsafe(nil), &block); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:11 Concurrent::Concern::Logging::DEBUG = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:11 Concurrent::Concern::Logging::ERROR = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:11 Concurrent::Concern::Logging::FATAL = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:11 Concurrent::Concern::Logging::INFO = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#12 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:12 Concurrent::Concern::Logging::SEV_LABEL = T.let(T.unsafe(nil), Array) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:11 Concurrent::Concern::Logging::UNKNOWN = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:11 Concurrent::Concern::Logging::WARN = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:10 module Concurrent::Concern::Obligation include ::Concurrent::Concern::Dereferenceable @@ -3314,28 +3317,28 @@ module Concurrent::Concern::Obligation # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#49 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:49 def complete?; end # @example allows Obligation to be risen # rejected_ivar = Ivar.new.fail # raise rejected_ivar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#126 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:126 def exception(*args); end # Has the obligation been fulfilled? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#20 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:20 def fulfilled?; end # Is the obligation still awaiting completion of processing? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:56 def incomplete?; end # Wait until obligation is complete or the timeout is reached. Will re-raise @@ -3346,21 +3349,21 @@ module Concurrent::Concern::Obligation # @raise [Exception] raises the reason when rejected # @return [Obligation] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#89 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:89 def no_error!(timeout = T.unsafe(nil)); end # Is obligation completion still pending? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#35 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:35 def pending?; end # Has the obligation been fulfilled? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:23 def realized?; end # If an exception was raised during processing this will return the @@ -3369,28 +3372,28 @@ module Concurrent::Concern::Obligation # # @return [Exception] the exception raised during processing or `nil` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:119 def reason; end # Has the obligation been rejected? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#28 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:28 def rejected?; end # The current state of the obligation. # # @return [Symbol] the current state # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#110 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:110 def state; end # Is the obligation still unscheduled? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#42 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:42 def unscheduled?; end # The current value of the obligation. Will be `nil` while the state is @@ -3399,7 +3402,7 @@ module Concurrent::Concern::Obligation # @param timeout [Numeric] the maximum time in seconds to wait. # @return [Object] see Dereferenceable#deref # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#65 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:65 def value(timeout = T.unsafe(nil)); end # The current value of the obligation. Will be `nil` while the state is @@ -3410,7 +3413,7 @@ module Concurrent::Concern::Obligation # @raise [Exception] raises the reason when rejected # @return [Object] see Dereferenceable#deref # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#98 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:98 def value!(timeout = T.unsafe(nil)); end # Wait until obligation is complete or the timeout has been reached. @@ -3418,7 +3421,7 @@ module Concurrent::Concern::Obligation # @param timeout [Numeric] the maximum time in seconds to wait. # @return [Obligation] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#74 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:74 def wait(timeout = T.unsafe(nil)); end # Wait until obligation is complete or the timeout is reached. Will re-raise @@ -3429,7 +3432,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:86 def wait!(timeout = T.unsafe(nil)); end protected @@ -3441,23 +3444,23 @@ module Concurrent::Concern::Obligation # @param next_state [Symbol] # @return [Boolean] true is state is changed, false otherwise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#174 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:174 def compare_and_set_state(next_state, *expected_current); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#145 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:145 def event; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#134 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:134 def get_arguments_from(opts = T.unsafe(nil)); end # Executes the block within mutex if current state is included in expected_states # # @return block value if executed, false otherwise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#190 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:190 def if_state(*expected_states); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:139 def init_obligation; end # Am I in the current state? @@ -3465,16 +3468,16 @@ module Concurrent::Concern::Obligation # @param expected [Symbol] The state to check against # @return [Boolean] true if in the expected state else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#210 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:210 def ns_check_state?(expected); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#215 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:215 def ns_set_state(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#150 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:150 def set_state(success, value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/obligation.rb#161 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/obligation.rb:161 def state=(value); end end @@ -3522,7 +3525,7 @@ end # threads at the same time, so it should be synchronized (using either a Mutex # or an AtomicFixum) # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#50 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:50 module Concurrent::Concern::Observable # Adds an observer to this set. If a block is passed, the observer will be # created by this method and no other params should be passed. @@ -3532,14 +3535,14 @@ module Concurrent::Concern::Observable # @param observer [Object] the observer to add # @return [Object] the added observer # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#61 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:61 def add_observer(observer = T.unsafe(nil), func = T.unsafe(nil), &block); end # Return the number of observers associated with this object. # # @return [Integer] the observers count # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#101 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:101 def count_observers; end # Remove `observer` as an observer on this object so that it will no @@ -3548,14 +3551,14 @@ module Concurrent::Concern::Observable # @param observer [Object] the observer to remove # @return [Object] the deleted observer # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#82 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:82 def delete_observer(observer); end # Remove all observers associated with this object. # # @return [Observable] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#91 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:91 def delete_observers; end # As `#add_observer` but can be used for chaining. @@ -3564,35 +3567,35 @@ module Concurrent::Concern::Observable # @param observer [Object] the observer to add # @return [Observable] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#70 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:70 def with_observer(observer = T.unsafe(nil), func = T.unsafe(nil), &block); end protected # Returns the value of attribute observers. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#107 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:107 def observers; end # Sets the attribute observers # # @param value the value to set the attribute observers to. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/observable.rb#107 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/observable.rb:107 def observers=(_arg0); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#70 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:70 class Concurrent::ConcurrentUpdateError < ::ThreadError; end # frozen pre-allocated backtrace to speed ConcurrentUpdateError # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#72 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:72 Concurrent::ConcurrentUpdateError::CONC_UP_ERR_BACKTRACE = T.let(T.unsafe(nil), Array) # Raised when errors occur during configuration. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:6 class Concurrent::ConfigurationError < ::Concurrent::Error; end # A synchronization object that allows one thread to wait on multiple other threads. @@ -3627,10 +3630,10 @@ class Concurrent::ConfigurationError < ::Concurrent::Error; end # # [waiter, decrementer].each(&:join) # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb#98 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb:98 class Concurrent::CountDownLatch < ::Concurrent::MutexCountDownLatch; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb#56 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb:56 Concurrent::CountDownLatchImplementation = Concurrent::MutexCountDownLatch # A synchronization aid that allows a set of threads to all wait for each @@ -3656,7 +3659,7 @@ Concurrent::CountDownLatchImplementation = Concurrent::MutexCountDownLatch # # # here we can be sure that all jobs are processed # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#27 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:27 class Concurrent::CyclicBarrier < ::Concurrent::Synchronization::LockableObject # Create a new `CyclicBarrier` that waits for `parties` threads # @@ -3666,7 +3669,7 @@ class Concurrent::CyclicBarrier < ::Concurrent::Synchronization::LockableObject # @yield an optional block that will be executed that will be executed after # the last thread arrives and before the others are released # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:40 def initialize(parties, &block); end # A barrier can be broken when: @@ -3677,17 +3680,17 @@ class Concurrent::CyclicBarrier < ::Concurrent::Synchronization::LockableObject # # @return [Boolean] true if the barrier is broken otherwise false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#105 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:105 def broken?; end # @return [Fixnum] the number of threads currently waiting on the barrier # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:54 def number_waiting; end # @return [Fixnum] the number of threads needed to pass the barrier # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#49 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:49 def parties; end # resets the barrier to its initial state @@ -3697,7 +3700,7 @@ class Concurrent::CyclicBarrier < ::Concurrent::Synchronization::LockableObject # # @return [nil] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#95 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:95 def reset; end # Blocks on the barrier until the number of waiting threads is equal to @@ -3710,28 +3713,28 @@ class Concurrent::CyclicBarrier < ::Concurrent::Synchronization::LockableObject # @return [Boolean] `true` if the `count` reaches zero else false on # `timeout` or on `reset` or if the barrier is broken # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#66 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:66 def wait(timeout = T.unsafe(nil)); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#111 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:111 def ns_generation_done(generation, status, continue = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#122 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:122 def ns_initialize(parties, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#117 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:117 def ns_next_generation; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb#30 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:30 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:30 def status; end # Sets the attribute status @@ -3739,23 +3742,23 @@ class Concurrent::CyclicBarrier::Generation < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb:30 def new(*_arg0); end end end @@ -3790,7 +3793,7 @@ end # execute on the given executor, allowing the call to timeout. # @see Concurrent::Concern::Dereferenceable # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#44 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:44 class Concurrent::Delay < ::Concurrent::Synchronization::LockableObject include ::Concurrent::Concern::Dereferenceable include ::Concurrent::Concern::Obligation @@ -3801,7 +3804,7 @@ class Concurrent::Delay < ::Concurrent::Synchronization::LockableObject # @return [Delay] a new instance of Delay # @yield the delayed operation to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:62 def initialize(opts = T.unsafe(nil), &block); end # Reconfigures the block returning the value if still `#incomplete?` @@ -3809,7 +3812,7 @@ class Concurrent::Delay < ::Concurrent::Synchronization::LockableObject # @return [true, false] if success # @yield the delayed operation to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#146 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:146 def reconfigure(&block); end # Return the value this object represents after applying the options @@ -3826,7 +3829,7 @@ class Concurrent::Delay < ::Concurrent::Synchronization::LockableObject # @param timeout [Numeric] the maximum number of seconds to wait # @return [Object] the current value of the object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#77 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:77 def value(timeout = T.unsafe(nil)); end # Return the value this object represents after applying the options @@ -3844,7 +3847,7 @@ class Concurrent::Delay < ::Concurrent::Synchronization::LockableObject # @raise [Exception] when `#rejected?` raises `#reason` # @return [Object] the current value of the object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#113 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:113 def value!(timeout = T.unsafe(nil)); end # Return the value this object represents after applying the options @@ -3860,32 +3863,32 @@ class Concurrent::Delay < ::Concurrent::Synchronization::LockableObject # the value to be computed. When `nil` the caller will block indefinitely. # @return [Object] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#132 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:132 def wait(timeout = T.unsafe(nil)); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#160 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:160 def ns_initialize(opts, &block); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/delay.rb#173 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/delay.rb:173 def execute_task_once; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#7 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:7 class Concurrent::DependencyCounter # @return [DependencyCounter] a new instance of DependencyCounter # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#9 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:9 def initialize(count, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#14 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/dataflow.rb:14 def update(time, value, reason); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#3 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:3 class Concurrent::Error < ::StandardError; end # Old school kernel-style event reminiscent of Win32 programming in C++. @@ -3919,14 +3922,14 @@ class Concurrent::Error < ::StandardError; end # # event occurred # @see http://msdn.microsoft.com/en-us/library/windows/desktop/ms682655.aspx # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#36 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:36 class Concurrent::Event < ::Concurrent::Synchronization::LockableObject # Creates a new `Event` in the unset state. Threads calling `#wait` on the # `Event` will block. # # @return [Event] a new instance of Event # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:40 def initialize; end # Reset a previously set event back to the `unset` state. @@ -3934,7 +3937,7 @@ class Concurrent::Event < ::Concurrent::Synchronization::LockableObject # # @return [Boolean] should always return `true` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#68 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:68 def reset; end # Trigger the event, setting the state to `set` and releasing all threads @@ -3942,19 +3945,19 @@ class Concurrent::Event < ::Concurrent::Synchronization::LockableObject # # @return [Boolean] should always return `true` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:56 def set; end # Is the object in the set state? # # @return [Boolean] indicating whether or not the `Event` has been set # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#48 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:48 def set?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#60 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:60 def try?; end # Wait a given number of seconds for the `Event` to be set by another @@ -3963,15 +3966,15 @@ class Concurrent::Event < ::Concurrent::Synchronization::LockableObject # # @return [Boolean] true if the `Event` was set before timeout else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#83 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:83 def wait(timeout = T.unsafe(nil)); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#104 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:104 def ns_initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/event.rb#96 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/event.rb:96 def ns_set; end end @@ -4029,13 +4032,13 @@ end # threads.each {|t| t.join(2) } # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Exchanger.html java.util.concurrent.Exchanger # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#336 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:336 class Concurrent::Exchanger < ::Concurrent::RubyExchanger; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#327 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:327 Concurrent::ExchangerImplementation = Concurrent::RubyExchanger -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#157 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/executor_service.rb:157 module Concurrent::ExecutorService include ::Concurrent::Concern::Logging @@ -4044,7 +4047,7 @@ module Concurrent::ExecutorService # @param task [Proc] the asynchronous task to perform # @return [self] returns itself # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#166 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/executor_service.rb:166 def <<(task); end # Does the task queue have a maximum size? @@ -4052,7 +4055,7 @@ module Concurrent::ExecutorService # @note Always returns `false` # @return [Boolean] True if the task queue has a maximum size else false. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#174 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/executor_service.rb:174 def can_overflow?; end # Submit a task to the executor for asynchronous processing. @@ -4063,7 +4066,7 @@ module Concurrent::ExecutorService # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#161 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/executor_service.rb:161 def post(*args, &task); end # Does this executor guarantee serialization of its operations? @@ -4073,7 +4076,7 @@ module Concurrent::ExecutorService # will be post in the order they are received and no two operations may # occur simultaneously. Else false. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/executor_service.rb#181 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/executor_service.rb:181 def serialized?; end end @@ -4112,7 +4115,7 @@ end # # v.value #=> 14 # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#41 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:41 class Concurrent::FiberLocalVar # Creates a fiber local variable. # @@ -4121,7 +4124,7 @@ class Concurrent::FiberLocalVar # default value for each fiber # @return [FiberLocalVar] a new instance of FiberLocalVar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#49 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:49 def initialize(default = T.unsafe(nil), &default_block); end # Bind the given value to fiber local storage during @@ -4131,14 +4134,14 @@ class Concurrent::FiberLocalVar # @return [Object] the value # @yield the operation to be performed with the bound variable # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#86 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:86 def bind(value); end # Returns the value in the current fiber's copy of this fiber-local variable. # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#68 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:68 def value; end # Sets the current fiber's copy of this fiber-local variable to the specified value. @@ -4146,26 +4149,26 @@ class Concurrent::FiberLocalVar # @param value [Object] the value to set # @return [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#76 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:76 def value=(value); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#101 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:101 def default; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb#42 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb:42 Concurrent::FiberLocalVar::LOCALS = T.let(T.unsafe(nil), Concurrent::FiberLocals) # An array-backed storage of indexed variables per fiber. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#166 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:166 class Concurrent::FiberLocals < ::Concurrent::AbstractLocals - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#167 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:167 def locals; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#171 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:171 def locals!; end end @@ -4228,7 +4231,7 @@ end # @see http://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html Java Tutorials: Thread Pools # @see https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html#setDaemon-boolean- # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb#199 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb:199 class Concurrent::FixedThreadPool < ::Concurrent::ThreadPoolExecutor # Create a new thread pool. # @@ -4240,7 +4243,7 @@ class Concurrent::FixedThreadPool < ::Concurrent::ThreadPoolExecutor # @return [FixedThreadPool] a new instance of FixedThreadPool # @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html#newFixedThreadPool-int- # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb#213 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb:213 def initialize(num_threads, opts = T.unsafe(nil)); end end @@ -4250,7 +4253,7 @@ end # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html java.util.concurrent.Future # @see http://ruby-doc.org/stdlib-2.1.1/libdoc/observer/rdoc/Observable.html Ruby Observable module # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#21 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:21 class Concurrent::Future < ::Concurrent::IVar # Create a new `Future` in the `:unscheduled` state. # @@ -4260,7 +4263,7 @@ class Concurrent::Future < ::Concurrent::IVar # @return [Future] a new instance of Future # @yield the asynchronous operation to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:33 def initialize(opts = T.unsafe(nil), &block); end # Attempt to cancel the operation if it has not already processed. @@ -4269,14 +4272,14 @@ class Concurrent::Future < ::Concurrent::IVar # # @return [Boolean] was the operation successfully cancelled. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:99 def cancel; end # Has the operation been successfully cancelled? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#111 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:111 def cancelled?; end # Execute an `:unscheduled` `Future`. Immediately sets the state to `:pending` and @@ -4293,10 +4296,10 @@ class Concurrent::Future < ::Concurrent::IVar # future.state #=> :pending # @return [Future] a reference to `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#53 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:53 def execute; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#82 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:82 def set(value = T.unsafe(nil), &block); end # Wait the given number of seconds for the operation to complete. @@ -4306,12 +4309,12 @@ class Concurrent::Future < ::Concurrent::IVar # @return [Boolean] true if the operation completed before the timeout # else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#121 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:121 def wait_or_cancel(timeout); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#133 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:133 def ns_initialize(value, opts); end class << self @@ -4327,24 +4330,24 @@ class Concurrent::Future < ::Concurrent::IVar # @return [Future] the newly created `Future` in the `:pending` state # @yield the asynchronous operation to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/future.rb#77 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/future.rb:77 def execute(opts = T.unsafe(nil), &block); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#18 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:18 Concurrent::GLOBAL_FAST_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Delay) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#30 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:30 Concurrent::GLOBAL_IMMEDIATE_EXECUTOR = T.let(T.unsafe(nil), Concurrent::ImmediateExecutor) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#22 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:22 Concurrent::GLOBAL_IO_EXECUTOR = T.let(T.unsafe(nil), Concurrent::Delay) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#111 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:111 Concurrent::GLOBAL_LOGGER = T.let(T.unsafe(nil), Concurrent::AtomicReference) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/configuration.rb#26 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/configuration.rb:26 Concurrent::GLOBAL_TIMER_SET = T.let(T.unsafe(nil), Concurrent::Delay) # A thread-safe subclass of Hash. This version locks against the object @@ -4354,10 +4357,10 @@ Concurrent::GLOBAL_TIMER_SET = T.let(T.unsafe(nil), Concurrent::Delay) # # @see http://ruby-doc.org/core/Hash.html Ruby standard library `Hash` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/hash.rb#49 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/hash.rb:49 class Concurrent::Hash < ::Hash; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/hash.rb#16 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/hash.rb:16 Concurrent::HashImplementation = Hash # An `IVar` is like a future that you can assign. As a future is a value that @@ -4398,7 +4401,7 @@ Concurrent::HashImplementation = Hash # 2. For recent application: # [DataDrivenFuture in Habanero Java from Rice](http://www.cs.rice.edu/~vs3/hjlib/doc/edu/rice/hj/api/HjDataDrivenFuture.html). # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#48 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:48 class Concurrent::IVar < ::Concurrent::Synchronization::LockableObject include ::Concurrent::Concern::Dereferenceable include ::Concurrent::Concern::Obligation @@ -4413,7 +4416,7 @@ class Concurrent::IVar < ::Concurrent::Synchronization::LockableObject # @param value [Object] the initial value # @return [IVar] a new instance of IVar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:62 def initialize(value = T.unsafe(nil), opts = T.unsafe(nil), &block); end # Add an observer on this object that will receive notification on update. @@ -4429,7 +4432,7 @@ class Concurrent::IVar < ::Concurrent::Synchronization::LockableObject # @param observer [Object] the object that will be notified of changes # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#81 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:81 def add_observer(observer = T.unsafe(nil), func = T.unsafe(nil), &block); end # Set the `IVar` to failed due to some error and wake or notify all threads waiting on it. @@ -4439,7 +4442,7 @@ class Concurrent::IVar < ::Concurrent::Synchronization::LockableObject # been set or otherwise completed # @return [IVar] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#135 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:135 def fail(reason = T.unsafe(nil)); end # Set the `IVar` to a value and wake or notify all threads waiting on it. @@ -4451,7 +4454,7 @@ class Concurrent::IVar < ::Concurrent::Synchronization::LockableObject # @return [IVar] self # @yield A block operation to use for setting the value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#113 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:113 def set(value = T.unsafe(nil)); end # Attempt to set the `IVar` with the given value or block. Return a @@ -4464,39 +4467,39 @@ class Concurrent::IVar < ::Concurrent::Synchronization::LockableObject # @return [Boolean] true if the value was set else false # @yield A block operation to use for setting the value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#145 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:145 def try_set(value = T.unsafe(nil), &block); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#202 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:202 def check_for_block_or_value!(block_given, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#177 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:177 def complete(success, value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#184 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:184 def complete_without_notification(success, value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#190 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:190 def notify_observers(value, reason); end # @raise [MultipleAssignmentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#195 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:195 def ns_complete_without_notification(success, value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#155 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:155 def ns_initialize(value, opts); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/ivar.rb#168 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/ivar.rb:168 def safe_execute(task, args = T.unsafe(nil)); end end # Raised when an operation is attempted which is not legal given the # receiver's current state # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#20 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:20 class Concurrent::IllegalOperationError < ::Concurrent::Error; end # An executor service which runs all operations on the current thread, @@ -4510,7 +4513,7 @@ class Concurrent::IllegalOperationError < ::Concurrent::Error; end # # @note Intended for use primarily in testing and debugging. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#17 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:17 class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService include ::Concurrent::SerialExecutorService @@ -4518,7 +4521,7 @@ class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService # # @return [ImmediateExecutor] a new instance of ImmediateExecutor # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:21 def initialize; end # Submit a task to the executor for asynchronous processing. @@ -4526,14 +4529,14 @@ class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService # @param task [Proc] the asynchronous task to perform # @return [self] returns itself # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#34 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:34 def <<(task); end # Begin an orderly shutdown. Tasks already in the queue will be executed, # 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#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:59 def kill; end # Submit a task to the executor for asynchronous processing. @@ -4544,35 +4547,35 @@ class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#26 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:26 def post(*args, &task); end # Is the executor running? # # @return [Boolean] `true` when running, `false` when shutting down or shutdown # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:40 def running?; end # Begin an orderly shutdown. Tasks already in the queue will be executed, # 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:55 def shutdown; end # Is the executor shutdown? # # @return [Boolean] `true` when shutdown, `false` when shutting down or running # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#50 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:50 def shutdown?; end # Is the executor shuttingdown? # # @return [Boolean] `true` when not running and not shutdown, else `false` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#45 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:45 def shuttingdown?; end # Block until executor shutdown is complete or until `timeout` seconds have @@ -4583,76 +4586,76 @@ class Concurrent::ImmediateExecutor < ::Concurrent::AbstractExecutorService # @param timeout [Integer] the maximum number of seconds to wait for shutdown to complete # @return [Boolean] `true` if shutdown complete or false on `timeout` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/immediate_executor.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/immediate_executor.rb:62 def wait_for_termination(timeout = T.unsafe(nil)); end end # Raised when an attempt is made to violate an immutability guarantee. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#16 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:16 class Concurrent::ImmutabilityError < ::Concurrent::Error; end # A thread-safe, immutable variation of Ruby's standard `Struct`. # # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:9 module Concurrent::ImmutableStruct include ::Concurrent::Synchronization::AbstractStruct - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:51 def ==(other); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#46 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:46 def [](member); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:56 def each(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:62 def each_pair(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:29 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#36 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:36 def merge(other, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#68 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:68 def select(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#21 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:41 def to_h; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#33 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:17 def values; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:24 def values_at(*indexes); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#76 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:76 def initialize_copy(original); end class << self # @private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:12 def included(base); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#82 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:82 def new(*args, &block); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/immutable_struct.rb#92 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/immutable_struct.rb:92 Concurrent::ImmutableStruct::FACTORY = T.let(T.unsafe(nil), T.untyped) # An executor service which runs all operations on a new thread, blocking @@ -4670,13 +4673,13 @@ Concurrent::ImmutableStruct::FACTORY = T.let(T.unsafe(nil), T.untyped) # # @note Intended for use primarily in testing and debugging. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb#19 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb:19 class Concurrent::IndirectImmediateExecutor < ::Concurrent::ImmediateExecutor # Creates a new executor # # @return [IndirectImmediateExecutor] a new instance of IndirectImmediateExecutor # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb:21 def initialize; end # Submit a task to the executor for asynchronous processing. @@ -4687,23 +4690,23 @@ class Concurrent::IndirectImmediateExecutor < ::Concurrent::ImmediateExecutor # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb#27 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb:27 def post(*args, &task); end end # Raised when an object's methods are called when it has not been # properly initialized. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#24 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:24 class Concurrent::InitializationError < ::Concurrent::Error; end # Raised when a lifecycle method (such as `stop`) is called in an improper # sequence or when the object is in an inappropriate state. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#13 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:13 class Concurrent::LifecycleError < ::Concurrent::Error; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:6 class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object include ::Enumerable extend ::Concurrent::Synchronization::SafeInitialization @@ -4711,149 +4714,149 @@ class Concurrent::LockFreeStack < ::Concurrent::Synchronization::Object # @param head [Node] # @return [LockFreeStack] a new instance of LockFreeStack # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#51 + # pkg:gem/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/collection/lock_free_stack.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:37 def __initialize_atomic_fields__; end # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#118 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:118 def clear; end # @return [self] # @yield over the cleared stack # @yieldparam value [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#142 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:142 def clear_each(&block); end # @param head [Node] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#128 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:128 def clear_if(head); end # @param head [Node] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:99 def compare_and_clear(head); end # @param head [Node] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#85 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:85 def compare_and_pop(head); end # @param head [Node] # @param value [Object] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#65 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:65 def compare_and_push(head, value); end # @param head [Node] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#107 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:107 def each(head = T.unsafe(nil)); end # @param head [Node] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#58 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:58 def empty?(head = T.unsafe(nil)); end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#158 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:158 def inspect; end # @return [Node] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#79 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:79 def peek; end # @return [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#90 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:90 def pop; end # @param value [Object] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#71 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:71 def push(value); end # @param head [Node] # @param new_head [Node] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#135 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:135 def replace_if(head, new_head); end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#154 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:154 def to_s; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 + # pkg:gem/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/collection/lock_free_stack.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:37 def head; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:37 def head=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:37 def swap_head(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:37 def update_head(&block); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:41 def of1(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#46 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:46 def of2(value1, value2); end end end # The singleton for empty node # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#32 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:32 Concurrent::LockFreeStack::EMPTY = T.let(T.unsafe(nil), Concurrent::LockFreeStack::Node) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:10 class Concurrent::LockFreeStack::Node # @return [Node] a new instance of Node # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:23 def initialize(value, next_node); end # @return [Node] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#14 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:14 def next_node; end # @return [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#17 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:17 def value; end # allow to nil-ify to free GC when the entry is no longer relevant, not synchronised # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:21 def value=(_arg0); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb#28 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb:28 def [](*_arg0); end end end @@ -4861,7 +4864,7 @@ end # Either {FiberLocalVar} or {ThreadLocalVar} depending on whether Mutex (and Monitor) # are held, respectively, per Fiber or per Thread. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb#22 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb:22 Concurrent::LockLocalVar = Concurrent::FiberLocalVar # An `MVar` is a synchronized single element container. They are empty or @@ -4895,7 +4898,7 @@ Concurrent::LockLocalVar = Concurrent::FiberLocalVar # In Proceedings of the 23rd Symposium on Principles of Programming Languages # (PoPL), 1996. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#38 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:38 class Concurrent::MVar < ::Concurrent::Synchronization::Object include ::Concurrent::Concern::Dereferenceable extend ::Concurrent::Synchronization::SafeInitialization @@ -4905,7 +4908,7 @@ class Concurrent::MVar < ::Concurrent::Synchronization::Object # @param opts [Hash] the options controlling how the future will be processed # @return [MVar] a new instance of MVar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:54 def initialize(value = T.unsafe(nil), opts = T.unsafe(nil)); end # acquires lock on the from an `MVAR`, yields the value to provided block, @@ -4914,21 +4917,21 @@ class Concurrent::MVar < ::Concurrent::Synchronization::Object # # @return [Object] the value returned by the block, or `TIMEOUT` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#86 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:86 def borrow(timeout = T.unsafe(nil)); end # Returns if the `MVar` is currently empty. # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#195 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:195 def empty?; end # Returns if the `MVar` currently contains a value. # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#200 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:200 def full?; end # Atomically `take`, yield the value to a block for transformation, and then @@ -4939,14 +4942,14 @@ class Concurrent::MVar < ::Concurrent::Synchronization::Object # @raise [ArgumentError] # @return [Object] the pre-transform value, or `TIMEOUT` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#123 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:123 def modify(timeout = T.unsafe(nil)); end # Non-blocking version of `modify` that will yield with `EMPTY` if there is no value yet. # # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#179 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:179 def modify!; end # Put a value into an `MVar`, blocking if there is already a value until @@ -4955,12 +4958,12 @@ class Concurrent::MVar < ::Concurrent::Synchronization::Object # # @return [Object] the value that was put, or `TIMEOUT` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#103 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:103 def put(value, timeout = T.unsafe(nil)); end # Non-blocking version of `put` that will overwrite an existing value. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#169 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:169 def set!(value); end # Remove the value from an `MVar`, leaving it empty, and blocking if there @@ -4969,55 +4972,55 @@ class Concurrent::MVar < ::Concurrent::Synchronization::Object # # @return [Object] the value that was taken, or `TIMEOUT` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#66 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:66 def take(timeout = T.unsafe(nil)); end # Non-blocking version of `put`, that returns whether or not it was successful. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#156 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:156 def try_put!(value); end # Non-blocking version of `take`, that returns `EMPTY` instead of blocking. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#142 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:142 def try_take!; end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#206 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:206 def synchronize(&block); end private # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#212 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:212 def unlocked_empty?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#216 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:216 def unlocked_full?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#224 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:224 def wait_for_empty(timeout); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#220 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:220 def wait_for_full(timeout); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#228 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:228 def wait_while(condition, timeout); end end # Unique value that represents that an `MVar` was empty # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#43 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:43 Concurrent::MVar::EMPTY = T.let(T.unsafe(nil), Object) # Unique value that represents that an `MVar` timed out before it was able # to produce a value. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/mvar.rb#47 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mvar.rb:47 Concurrent::MVar::TIMEOUT = T.let(T.unsafe(nil), Object) # `Concurrent::Map` is a hash-like object and should have much better performance @@ -5027,7 +5030,7 @@ Concurrent::MVar::TIMEOUT = T.let(T.unsafe(nil), Object) # does. For most uses it should do fine though, and we recommend you consider # `Concurrent::Map` instead of `Concurrent::Hash` for your concurrency-safe hash needs. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#39 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:39 class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # Iterates over each key value pair. # This method is atomic. @@ -5039,7 +5042,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yieldparam key [Object] # @yieldparam value [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#279 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:279 def each; end # Iterates over each key. @@ -5051,7 +5054,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yield for each key in the map # @yieldparam key [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#255 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:255 def each_key; end # Iterates over each key value pair. @@ -5064,7 +5067,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yieldparam key [Object] # @yieldparam value [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#274 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:274 def each_pair; end # Iterates over each value. @@ -5076,14 +5079,14 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yield for each value in the map # @yieldparam value [Object] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#264 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:264 def each_value; end # Is map empty? # # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#291 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:291 def empty?; end # Get a value with key, or default_value when key is absent, @@ -5105,7 +5108,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yieldparam key [Object] # @yieldreturn [Object] default value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#183 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:183 def fetch(key, default_value = T.unsafe(nil)); end # Fetch value with key, or store default value when key is absent, @@ -5120,7 +5123,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @yieldparam key [Object] # @yieldreturn [Object] default value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#205 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:205 def fetch_or_store(key, default_value = T.unsafe(nil)); end # Get a value with key @@ -5128,10 +5131,10 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param key [Object] # @return [Object] the value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#162 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:162 def get(key); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#321 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:321 def inspect; end # Find key of a value. @@ -5139,22 +5142,22 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param value [Object] # @return [Object, nil] key or nil when not found # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#284 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:284 def key(value); end # All keys # # @return [::Array] keys # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#236 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:236 def keys; end # @raise [TypeError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#305 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:305 def marshal_dump; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#313 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:313 def marshal_load(hash); end # Set a value with key @@ -5163,7 +5166,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param value [Object] # @return [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#163 + # pkg:gem/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. @@ -5172,7 +5175,7 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param value [Object] # @return [Object, nil] the previous value when key was present or nil when there was no key # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#215 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:215 def put_if_absent(key, value); end # Is the value stored in the map. Iterates over all values. @@ -5180,30 +5183,30 @@ class Concurrent::Map < ::Concurrent::Collection::MriMapBackend # @param value [Object] # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#227 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:227 def value?(value); end # All values # # @return [::Array] values # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#244 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:244 def values; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#331 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:331 def initialize_copy(other); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#336 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:336 def populate_from(hash); end # @raise [KeyError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#327 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:327 def raise_fetch_no_key; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/map.rb#341 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/map.rb:341 def validate_options_hash!(options); end end @@ -5211,7 +5214,7 @@ end # excessive number of times. Often used in conjunction with a restart # policy or strategy. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#29 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:29 class Concurrent::MaxRestartFrequencyError < ::Concurrent::Error; end # A `Maybe` encapsulates an optional value. A `Maybe` either contains a value @@ -5311,7 +5314,7 @@ class Concurrent::MaxRestartFrequencyError < ::Concurrent::Error; end # @see https://github.com/purescript/purescript-maybe/blob/master/docs/Data.Maybe.md PureScript Data.Maybe # @see https://hackage.haskell.org/package/base-4.2.0.1/docs/Data-Maybe.html Haskell Data.Maybe # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#104 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:104 class Concurrent::Maybe < ::Concurrent::Synchronization::Object include ::Comparable extend ::Concurrent::Synchronization::SafeInitialization @@ -5322,7 +5325,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # @param nothing [Exception, Object] The exception when `Nothing` else `NONE`. # @return [Maybe] The new `Maybe`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#224 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:224 def initialize(just, nothing); end # Comparison operator. @@ -5332,62 +5335,62 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # 1 if self is `Just` and other is nothing; # `self.just <=> other.just` if both self and other are `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#199 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:199 def <=>(other); end # Is this `Maybe` a `Just` (successfully fulfilled with a value)? # # @return [Boolean] True if `Just` or false if `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#179 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:179 def fulfilled?; end # The value of a `Maybe` when `Just`. Will be `NONE` when `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#114 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:114 def just; end # Is this `Maybe` a `Just` (successfully fulfilled with a value)? # # @return [Boolean] True if `Just` or false if `Nothing`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#176 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:176 def just?; end # The reason for the `Maybe` when `Nothing`. Will be `NONE` when `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#117 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:117 def nothing; 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:184 def nothing?; end # Return either the value of self or the given default value. # # @return [Object] The value of self when `Just`; else the given default. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#210 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:210 def or(other); end # The reason for the `Maybe` when `Nothing`. Will be `NONE` when `Just`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#191 + # pkg:gem/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#187 + # pkg:gem/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#189 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:189 def value; end class << self @@ -5406,7 +5409,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # @yieldparam args [Array] Zero or more block arguments passed as # arguments to the function. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#137 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:137 def from(*args); end # Create a new `Just` with the given value. @@ -5414,7 +5417,7 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # @param value [Object] The value to set for the new `Maybe` object. # @return [Maybe] The newly created object. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#152 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:152 def just(value); end # Create a new `Nothing` with the given (optional) reason. @@ -5425,12 +5428,12 @@ class Concurrent::Maybe < ::Concurrent::Synchronization::Object # `StandardError` with an empty message will be created. # @return [Maybe] The newly created object. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#164 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:164 def nothing(error = T.unsafe(nil)); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:119 def new(*args, &block); end end end @@ -5439,40 +5442,40 @@ end # When `Just` the {#nothing} getter will return `NONE`. # When `Nothing` the {#just} getter will return `NONE`. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/maybe.rb#111 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/maybe.rb:111 Concurrent::Maybe::NONE = T.let(T.unsafe(nil), Object) # Raised when an attempt is made to modify an immutable object # (such as an `IVar`) after its final state has been set. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#33 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:33 class Concurrent::MultipleAssignmentError < ::Concurrent::Error # @return [MultipleAssignmentError] a new instance of MultipleAssignmentError # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#36 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:36 def initialize(message = T.unsafe(nil), inspection_data = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:41 def inspect; end # Returns the value of attribute inspection_data. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#34 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:34 def inspection_data; end end # Aggregates multiple exceptions. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#58 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:58 class Concurrent::MultipleErrors < ::Concurrent::Error # @return [MultipleErrors] a new instance of MultipleErrors # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#61 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:61 def initialize(errors, message = T.unsafe(nil)); end # Returns the value of attribute errors. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:59 def errors; end end @@ -5481,7 +5484,7 @@ end # # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:10 module Concurrent::MutableStruct include ::Concurrent::Synchronization::AbstractStruct @@ -5490,7 +5493,7 @@ module Concurrent::MutableStruct # @return [Boolean] true if other has the same struct subclass and has # equal member values (according to `Object#==`) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#128 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:128 def ==(other); end # Attribute Reference @@ -5501,7 +5504,7 @@ module Concurrent::MutableStruct # @raise [IndexError] if the index is out of range. # @return [Object] the value of the given struct member or the member at the given index. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#118 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:118 def [](member); end # Attribute Assignment @@ -5514,7 +5517,7 @@ module Concurrent::MutableStruct # @raise [IndexError] if the index is out of range. # @return [Object] the value of the given struct member or the member at the given index. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#185 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:185 def []=(member, value); end # Yields the value of each struct member in order. If no block is given @@ -5523,7 +5526,7 @@ module Concurrent::MutableStruct # @yield the operation to be performed on each struct member # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:139 def each(&block); end # Yields the name and value of each struct member in order. If no block is @@ -5533,14 +5536,14 @@ module Concurrent::MutableStruct # @yieldparam member [Object] each struct member (in order) # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#152 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:152 def each_pair(&block); end # Describe the contents of this struct in a string. # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#72 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:72 def inspect; end # Returns a new struct containing the contents of `other` and the contents @@ -5557,7 +5560,7 @@ module Concurrent::MutableStruct # @yieldparam othervalue [Object] the value of the member in `other` # @yieldparam selfvalue [Object] the value of the member in `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:94 def merge(other, &block); end # Yields each member value from the struct to the block and returns an Array @@ -5568,35 +5571,35 @@ module Concurrent::MutableStruct # @yield the operation to be performed on each struct member # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#167 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:167 def select(&block); end # Returns the values for this struct as an Array. # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#54 + # pkg:gem/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. # # @return [Hash] the names and values for the struct’s members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#103 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:103 def to_h; end # Describe the contents of this struct in a string. # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:75 def to_s; end # Returns the values for this struct as an Array. # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:51 def values; end # Returns the struct member values for each selector as an Array. @@ -5605,12 +5608,12 @@ module Concurrent::MutableStruct # # @param indexes [Fixnum, Range] the index(es) from which to obatin the values (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#63 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:63 def values_at(*indexes); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#202 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:202 def initialize_copy(original); end class << self @@ -5644,12 +5647,12 @@ module Concurrent::MutableStruct # # @see http://ruby-doc.org/core/Struct.html#method-c-new Ruby standard library `Struct#new` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#210 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:210 def new(*args, &block); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/mutable_struct.rb#220 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/mutable_struct.rb:220 Concurrent::MutableStruct::FACTORY = T.let(T.unsafe(nil), T.untyped) # A boolean value that can be updated atomically. Reads and writes to an atomic @@ -5706,7 +5709,7 @@ Concurrent::MutableStruct::FACTORY = T.let(T.unsafe(nil), T.untyped) # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicBoolean.html java.util.concurrent.atomic.AtomicBoolean # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:8 class Concurrent::MutexAtomicBoolean extend ::Concurrent::Synchronization::SafeInitialization @@ -5715,42 +5718,42 @@ class Concurrent::MutexAtomicBoolean # @param initial [Boolean] the initial value # @return [MutexAtomicBoolean] a new instance of MutexAtomicBoolean # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:12 def initialize(initial = T.unsafe(nil)); end # Is the current value `false` # # @return [Boolean] true if the current value is `false`, else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#34 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:34 def false?; end # Explicitly sets the value to false. # # @return [Boolean] true if value has changed, otherwise false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:44 def make_false; end # Explicitly sets the value to true. # # @return [Boolean] true if value has changed, otherwise false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#39 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:39 def make_true; end # Is the current value `true` # # @return [Boolean] true if the current value is `true`, else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:29 def true?; end # Retrieves the current `Boolean` value. # # @return [Boolean] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:19 def value; end # Explicitly sets the value. @@ -5758,17 +5761,17 @@ class Concurrent::MutexAtomicBoolean # @param value [Boolean] the new value to be set # @return [Boolean] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:24 def value=(value); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:51 def synchronize; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb:62 def ns_make_value(value); end end @@ -5826,7 +5829,7 @@ end # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html java.util.concurrent.atomic.AtomicLong # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:9 class Concurrent::MutexAtomicFixnum extend ::Concurrent::Synchronization::SafeInitialization @@ -5836,7 +5839,7 @@ class Concurrent::MutexAtomicFixnum # @raise [ArgumentError] if the initial value is not a `Fixnum` # @return [MutexAtomicFixnum] a new instance of MutexAtomicFixnum # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#13 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:13 def initialize(initial = T.unsafe(nil)); end # Atomically sets the value to the given updated value if the current @@ -5846,7 +5849,7 @@ class Concurrent::MutexAtomicFixnum # @param update [Fixnum] the new value # @return [Boolean] true if the value was updated else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:44 def compare_and_set(expect, update); end # Decreases the current value by the given amount (defaults to 1). @@ -5854,7 +5857,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:37 def decrement(delta = T.unsafe(nil)); end # Decreases the current value by the given amount (defaults to 1). @@ -5862,7 +5865,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#41 + # pkg:gem/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). @@ -5870,7 +5873,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:30 def increment(delta = T.unsafe(nil)); end # Increases the current value by the given amount (defaults to 1). @@ -5878,7 +5881,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#34 + # pkg:gem/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 @@ -5890,14 +5893,14 @@ class Concurrent::MutexAtomicFixnum # given (old) value # @yieldparam old_value [Object] the starting value of the atomic reference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:56 def update; end # Retrieves the current `Fixnum` value. # # @return [Fixnum] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#20 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:20 def value; end # Explicitly sets the value. @@ -5906,21 +5909,21 @@ class Concurrent::MutexAtomicFixnum # @raise [ArgumentError] if the new value is not a `Fixnum` # @return [Fixnum] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#25 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:25 def value=(value); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#65 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:65 def synchronize; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb#76 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb:76 def ns_set(value); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:9 class Concurrent::MutexAtomicReference include ::Concurrent::AtomicDirectUpdate include ::Concurrent::AtomicNumericCompareAndSetWrapper @@ -5929,7 +5932,7 @@ class Concurrent::MutexAtomicReference # @param value [Object] The initial value. # @return [MutexAtomicReference] a new instance of MutexAtomicReference # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#16 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:16 def initialize(value = T.unsafe(nil)); end # Atomically sets the value to the given updated value if @@ -5941,17 +5944,17 @@ class Concurrent::MutexAtomicReference # @param old_value [Object] the expected value # @return [Boolean] `true` if successful. A `false` return indicates # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#45 + # pkg:gem/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/mutex_atomic.rb#13 + # pkg:gem/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. # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:23 def get; end # Atomically sets to the given value and returns the old value. @@ -5959,7 +5962,7 @@ 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:35 def get_and_set(new_value); end # Sets to the given value. @@ -5967,7 +5970,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:29 def set(new_value); end # Atomically sets to the given value and returns the old value. @@ -5975,14 +5978,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#42 + # pkg:gem/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#26 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:26 def value; end # Sets to the given value. @@ -5990,12 +5993,12 @@ 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#32 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:32 def value=(new_value); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb:59 def synchronize; end end @@ -6007,7 +6010,7 @@ end # When the latch counter reaches zero the waiting thread is unblocked and continues # with its work. A `CountDownLatch` can be used only once. Its value cannot be reset. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb:9 class Concurrent::MutexCountDownLatch < ::Concurrent::Synchronization::LockableObject # Create a new `CountDownLatch` with the initial `count`. # @@ -6015,20 +6018,20 @@ class Concurrent::MutexCountDownLatch < ::Concurrent::Synchronization::LockableO # @raise [ArgumentError] if `count` is not an integer or is less than zero # @return [MutexCountDownLatch] a new instance of MutexCountDownLatch # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb:12 def initialize(count = T.unsafe(nil)); end # The current value of the counter. # # @return [Fixnum] the current value of the counter # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb#34 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb:34 def count; end # Signal the latch to decrement the counter. Will signal all blocked threads when # the `count` reaches zero. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb#26 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb:26 def count_down; end # Block on the latch until the counter reaches zero or until `timeout` is reached. @@ -6037,33 +6040,33 @@ class Concurrent::MutexCountDownLatch < ::Concurrent::Synchronization::LockableO # to block indefinitely # @return [Boolean] `true` if the `count` reaches zero else false on `timeout` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb#21 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb:21 def wait(timeout = T.unsafe(nil)); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb:40 def ns_initialize(count); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:9 class Concurrent::MutexSemaphore < ::Concurrent::Synchronization::LockableObject # @return [MutexSemaphore] a new instance of MutexSemaphore # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#12 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:12 def initialize(count); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#20 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:20 def acquire(permits = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#38 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:38 def available_permits; end # Acquires and returns all permits that are immediately available. # # @return [Integer] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#47 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:47 def drain_permits; end # Shrinks the number of available permits by the indicated reduction. @@ -6073,44 +6076,44 @@ class Concurrent::MutexSemaphore < ::Concurrent::Synchronization::LockableObject # @raise [ArgumentError] if `@free` - `@reduction` is less than zero # @return [nil] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:99 def reduce_permits(reduction); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#77 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:77 def release(permits = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:54 def try_acquire(permits = T.unsafe(nil), timeout = T.unsafe(nil)); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#110 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:110 def ns_initialize(count); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#117 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:117 def try_acquire_now(permits); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb#127 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb:127 def try_acquire_timed(permits, timeout); end end # Various classes within allows for +nil+ values to be stored, # so a special +NULL+ token is required to indicate the "nil-ness". # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/constants.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/constants.rb:6 Concurrent::NULL = T.let(T.unsafe(nil), Object) # Suppresses all output when used for logging. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#108 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/concern/logging.rb:108 Concurrent::NULL_LOGGER = T.let(T.unsafe(nil), Proc) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/options.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/options.rb:6 module Concurrent::Options class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/options.rb#27 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/options.rb:27 def executor(executor_identifier); end # Get the requested `Executor` based on the values set in the options hash. @@ -6119,7 +6122,7 @@ module Concurrent::Options # @param opts [Hash] the options defining the requested executor # @return [Executor, nil] the requested thread pool, or nil when no option specified # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/options.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/options.rb:19 def executor_from_options(opts = T.unsafe(nil)); end end end @@ -6300,7 +6303,7 @@ end # - `rescue { |reason| ... }` is the same as `then(Proc.new { |reason| ... } )` # - `rescue` is aliased by `catch` and `on_error` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#190 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:190 class Concurrent::Promise < ::Concurrent::IVar # Initialize a new Promise with the provided options. # @@ -6315,7 +6318,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @see http://wiki.commonjs.org/wiki/Promises/A # @yield The block operation to be performed asynchronously. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#210 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:210 def initialize(opts = T.unsafe(nil), &block); end # Chain onto this promise an action to be undertaken on failure @@ -6324,7 +6327,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#364 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:364 def catch(&block); end # Execute an `:unscheduled` `Promise`. Immediately sets the state to `:pending` and @@ -6333,7 +6336,7 @@ class Concurrent::Promise < ::Concurrent::IVar # # @return [Promise] a reference to `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#246 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:246 def execute; end # Set the `IVar` to failed due to some error and wake or notify all threads waiting on it. @@ -6344,7 +6347,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @raise [Concurrent::PromiseExecutionError] if not the root promise # @return [IVar] self # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#278 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:278 def fail(reason = T.unsafe(nil)); end # Yield the successful result to the block that returns a promise. If that @@ -6355,7 +6358,7 @@ class Concurrent::Promise < ::Concurrent::IVar # Promise.execute { 1 }.flat_map { |v| Promise.execute { v + 2 } }.value! #=> 3 # @return [Promise] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#375 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:375 def flat_map(&block); end # Chain onto this promise an action to be undertaken on failure @@ -6364,7 +6367,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#365 + # pkg:gem/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 @@ -6374,7 +6377,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#349 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:349 def on_success(&block); end # Chain onto this promise an action to be undertaken on failure @@ -6383,7 +6386,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] self # @yield The block to execute # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#360 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:360 def rescue(&block); end # Set the `IVar` to a value and wake or notify all threads waiting on it. @@ -6396,7 +6399,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [IVar] self # @yield A block operation to use for setting the value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#262 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:262 def set(value = T.unsafe(nil), &block); end # Chain a new promise off the current promise. @@ -6407,7 +6410,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] the new promise # @yield The block operation to be performed asynchronously. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#314 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:314 def then(*args, &block); end # Builds a promise that produces the result of self and others in an Array @@ -6417,41 +6420,41 @@ class Concurrent::Promise < ::Concurrent::IVar # @overload zip # @return [Promise] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#440 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:440 def zip(*others); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#551 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:551 def complete(success, value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#545 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:545 def notify_child(child); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#481 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:481 def ns_initialize(value, opts); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#533 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:533 def on_fulfill(result); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#539 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:539 def on_reject(reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#562 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:562 def realize(task); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#528 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:528 def root?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#520 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:520 def set_pending; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#570 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:570 def set_state!(success, value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#576 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:576 def synchronized_set_state!(success, value, reason); end class << self @@ -6477,7 +6480,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] an unscheduled (not executed) promise that aggregates # the promises given as arguments # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#505 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:505 def aggregate(method, *promises); end # Aggregates a collection of promises and executes the `then` condition @@ -6488,7 +6491,7 @@ class Concurrent::Promise < ::Concurrent::IVar # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#464 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:464 def all?(*promises); end # Aggregates a collection of promises and executes the `then` condition @@ -6511,7 +6514,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @return [Promise] an unscheduled (not executed) promise that aggregates # the promises given as arguments # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#475 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:475 def any?(*promises); end # Create a new `Promise` object with the given block, execute it, and return the @@ -6528,7 +6531,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @raise [ArgumentError] if no block is given # @return [Promise] the newly created `Promise` in the `:pending` state # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#296 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:296 def execute(opts = T.unsafe(nil), &block); end # Create a new `Promise` and fulfill it immediately. @@ -6541,7 +6544,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @raise [ArgumentError] if no block is given # @return [Promise] the newly created `Promise` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#224 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:224 def fulfill(value, opts = T.unsafe(nil)); end # Create a new `Promise` and reject it immediately. @@ -6554,7 +6557,7 @@ class Concurrent::Promise < ::Concurrent::IVar # @raise [ArgumentError] if no block is given # @return [Promise] the newly created `Promise` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#237 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:237 def reject(reason, opts = T.unsafe(nil)); end # Builds a promise that produces the result of promises in an Array @@ -6564,17 +6567,17 @@ class Concurrent::Promise < ::Concurrent::IVar # @overload zip # @return [Promise] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#409 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:409 def zip(*promises); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promise.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promise.rb:11 class Concurrent::PromiseExecutionError < ::StandardError; end # {include:file:docs-source/promises-main.md} # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#13 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:13 module Concurrent::Promises extend ::Concurrent::Promises::FactoryMethods::Configuration extend ::Concurrent::Promises::FactoryMethods @@ -6582,40 +6585,40 @@ end # @abstract # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2047 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2047 class Concurrent::Promises::AbstractAnyPromise < ::Concurrent::Promises::BlockedPromise; end # Common ancestor of {Event} and {Future} classes, many shared methods are defined here. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#513 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:513 class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization::Object include ::Concurrent::Promises::InternalStates extend ::Concurrent::Synchronization::SafeInitialization # @return [AbstractEventFuture] a new instance of AbstractEventFuture # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#522 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:522 def initialize(promise, default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:515 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#738 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:738 def add_callback_clear_delayed_node(node); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#733 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:733 def add_callback_notify_blocked(promise, index); end # For inspection. # # @return [Array] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#702 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:702 def blocks; end # For inspection. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#710 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:710 def callbacks; end # Shortcut of {#chain_on} with default `:io` executor supplied. @@ -6623,7 +6626,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [Future] # @see #chain_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#596 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:596 def chain(*args, &task); end # Chains the task to be executed asynchronously on executor after it is resolved. @@ -6639,7 +6642,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # Its returned value becomes {Future#value} fulfilling it, # raised exception becomes {Future#reason} rejecting it. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#614 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:614 def chain_on(executor, *args, &task); end # Resolves the resolvable when receiver is resolved. @@ -6647,7 +6650,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @param resolvable [Resolvable] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#629 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:629 def chain_resolvable(resolvable); end # Returns default executor. @@ -6659,15 +6662,15 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @see FactoryMethods#resolvable_future # @see similar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#590 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:590 def default_executor; end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#623 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:623 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:515 def internal_state; end # Shortcut of {#on_resolution_using} with default `:io` executor supplied. @@ -6675,7 +6678,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [self] # @see #on_resolution_using # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#637 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:637 def on_resolution(*args, &callback); end # Stores the callback to be executed synchronously on resolving thread after it is @@ -6688,7 +6691,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [self] # @yieldreturn is forgotten. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#655 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:655 def on_resolution!(*args, &callback); end # Stores the callback to be executed asynchronously on executor after it is resolved. @@ -6702,29 +6705,29 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [self] # @yieldreturn is forgotten. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#673 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:673 def on_resolution_using(executor, *args, &callback); end # Is it in pending state? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#549 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:549 def pending?; end # For inspection. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#716 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:716 def promise; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#688 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:688 def resolve_with(state, raise_on_reassign = T.unsafe(nil), reserved = T.unsafe(nil)); end # Is it in resolved state? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#555 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:555 def resolved?; end # Returns its state. @@ -6733,7 +6736,7 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @overload an_event.state # @return [Symbol] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#543 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:543 def state; end # Resolves the resolvable when receiver is resolved. @@ -6741,12 +6744,12 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @param resolvable [Resolvable] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#633 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:633 def tangle(resolvable); end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#619 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:619 def to_s; end # Propagates touch. Requests all the delayed futures, which it depends on, to be @@ -6754,14 +6757,14 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#562 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:562 def touch; end # For inspection. # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#722 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:722 def touched?; end # Wait (block the Thread) until receiver is {#resolved?}. @@ -6773,12 +6776,12 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @return [self, true, false] self implies timeout was not used, true implies timeout was used # and it was resolved, false implies it was not resolved within timeout. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#578 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:578 def wait(timeout = T.unsafe(nil)); end # For inspection. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#728 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:728 def waiting_threads; end # Crates new object with same class with the executor set as its new default executor. @@ -6790,270 +6793,270 @@ class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization: # @see Event#with_default_executor # @see Future#with_default_executor # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#683 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:683 def with_default_executor(executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#743 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:743 def with_hidden_resolvable; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#750 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:750 def add_callback(method, *args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#812 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:812 def async_callback_on_resolution(state, executor, args, callback); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#796 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:796 def call_callback(method, state, args); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#800 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:800 def call_callbacks(state); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#763 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:763 def callback_clear_delayed_node(state, node); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#818 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:818 def callback_notify_blocked(state, promise, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 + # pkg:gem/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/promises.rb#515 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:515 def internal_state=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:515 def swap_internal_state(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#515 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:515 def update_internal_state(&block); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#768 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:768 def wait_until_resolved(timeout); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#808 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:808 def with_async(executor, *args, &block); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1796 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1796 class Concurrent::Promises::AbstractFlatPromise < ::Concurrent::Promises::BlockedPromise # @return [AbstractFlatPromise] a new instance of AbstractFlatPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1798 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1798 def initialize(delayed_because, blockers_count, event_or_future); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1808 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1808 def touch; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1828 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1828 def add_delayed_of(future); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1820 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1820 def on_resolvable(resolved_future, index); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1824 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1824 def resolvable?(countdown, future, index); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1816 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1816 def touched?; end end # @abstract # @private # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1549 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1549 class Concurrent::Promises::AbstractPromise < ::Concurrent::Synchronization::Object include ::Concurrent::Promises::InternalStates extend ::Concurrent::Synchronization::SafeInitialization # @return [AbstractPromise] a new instance of AbstractPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1553 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1553 def initialize(future); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1564 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1564 def default_executor; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1581 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1581 def delayed_because; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1562 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1562 def event; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1558 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1558 def future; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1579 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1579 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1568 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1568 def state; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1575 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1575 def to_s; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1572 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1572 def touch; end private # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1592 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1592 def evaluate_to(*args, block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1587 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1587 def resolve_with(new_state, raise_on_reassign = T.unsafe(nil)); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2084 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2084 class Concurrent::Promises::AnyFulfilledFuturePromise < ::Concurrent::Promises::AnyResolvedFuturePromise private # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2088 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2088 def resolvable?(countdown, event_or_future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2050 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2050 class Concurrent::Promises::AnyResolvedEventPromise < ::Concurrent::Promises::AbstractAnyPromise # @return [AnyResolvedEventPromise] a new instance of AnyResolvedEventPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2054 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2054 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2062 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2062 def on_resolvable(resolved_future, index); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2058 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2058 def resolvable?(countdown, future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2067 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2067 class Concurrent::Promises::AnyResolvedFuturePromise < ::Concurrent::Promises::AbstractAnyPromise # @return [AnyResolvedFuturePromise] a new instance of AnyResolvedFuturePromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2071 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2071 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2079 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2079 def on_resolvable(resolved_future, index); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2075 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2075 def resolvable?(countdown, future, index); end end # @abstract # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1619 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1619 class Concurrent::Promises::BlockedPromise < ::Concurrent::Promises::InnerPromise # @return [BlockedPromise] a new instance of BlockedPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1661 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1661 def initialize(delayed, blockers_count, future); end # for inspection only # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1683 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1683 def blocked_by; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1674 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1674 def delayed_because; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1667 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1667 def on_blocker_resolution(future, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1678 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1678 def touch; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1691 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1691 def clear_and_propagate_touch(stack_or_element = T.unsafe(nil)); end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1710 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1710 def on_resolvable(resolved_future, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1706 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1706 def process_on_blocker_resolution(future, index); end # @return [true, false] if resolvable # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1702 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1702 def resolvable?(countdown, future, index); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1652 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1652 def add_delayed(delayed1, delayed2); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1645 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1645 def new_blocked_by(blockers, *args, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1623 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1623 def new_blocked_by1(blocker, *args, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1630 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1630 def new_blocked_by2(blocker1, blocker2, *args, &block); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1621 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1621 def new(*args, &block); end end end # @abstract # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1716 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1716 class Concurrent::Promises::BlockedTaskPromise < ::Concurrent::Promises::BlockedPromise # @raise [ArgumentError] # @return [BlockedTaskPromise] a new instance of BlockedTaskPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1717 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1717 def initialize(delayed, blockers_count, default_executor, executor, args, &task); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1725 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1725 def executor; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1766 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1766 class Concurrent::Promises::ChainPromise < ::Concurrent::Promises::BlockedTaskPromise private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1769 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1769 def on_resolvable(resolved_future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2095 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2095 class Concurrent::Promises::DelayPromise < ::Concurrent::Promises::InnerPromise # @return [DelayPromise] a new instance of DelayPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2097 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2097 def initialize(default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2108 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2108 def delayed_because; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2104 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2104 def touch; end end @@ -7061,7 +7064,7 @@ end # pending or resolved. It should be always resolved. Use {Future} to communicate rejections and # cancellation. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#826 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:826 class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # Creates a new event or a future which will be resolved when receiver and other are. # Returns an event if receiver and other are events, otherwise returns a future. @@ -7071,7 +7074,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Future, Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#847 + # pkg:gem/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` @@ -7079,7 +7082,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#853 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:853 def any(event_or_future); end # Creates new event dependent on receiver which will not evaluate until touched, see {#touch}. @@ -7087,7 +7090,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#863 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:863 def delay; end # Creates new event dependent on receiver scheduled to execute on/in intended_time. @@ -7098,24 +7101,24 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # `Time` means to run on `intended_time`. # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#875 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:875 def schedule(intended_time); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#828 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:828 def then(*args, &task); end # Returns self, since this is event # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#893 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:893 def to_event; end # Converts event to a future. The future is fulfilled when the event is resolved, the future may never fail. # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#885 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:885 def to_future; end # Crates new object with same class with the executor set as its new default executor. @@ -7123,7 +7126,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#899 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:899 def with_default_executor(executor); end # Creates a new event or a future which will be resolved when receiver and other are. @@ -7134,7 +7137,7 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Future, Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#839 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:839 def zip(other); end # Creates a new event which will be resolved when the first of receiver, `event_or_future` @@ -7142,37 +7145,37 @@ class Concurrent::Promises::Event < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#857 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:857 def |(event_or_future); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#910 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:910 def callback_on_resolution(state, args, callback); end # @raise [Concurrent::MultipleAssignmentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#905 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:905 def rejected_resolution(raise_on_reassign, state); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1972 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1972 class Concurrent::Promises::EventWrapperPromise < ::Concurrent::Promises::BlockedPromise # @return [EventWrapperPromise] a new instance of EventWrapperPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1973 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1973 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1979 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1979 def on_resolvable(resolved_future, index); end end # Container of all {Future}, {Event} factory methods. They are never constructed directly with # new. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#46 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:46 module Concurrent::Promises::FactoryMethods include ::Concurrent::Promises::FactoryMethods::Configuration extend ::Concurrent::ReInclude @@ -7184,7 +7187,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #any_resolved_future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#282 + # pkg:gem/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. @@ -7192,7 +7195,7 @@ module Concurrent::Promises::FactoryMethods # @return [Event] # @see #any_event_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#319 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:319 def any_event(*futures_and_or_events); end # Creates a new event which becomes resolved after the first futures_and_or_events resolves. @@ -7205,7 +7208,7 @@ module Concurrent::Promises::FactoryMethods # @param futures_and_or_events [AbstractEventFuture] # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#329 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:329 def any_event_on(default_executor, *futures_and_or_events); end # Shortcut of {#any_fulfilled_future_on} with default `:io` executor supplied. @@ -7213,7 +7216,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #any_fulfilled_future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#300 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:300 def any_fulfilled_future(*futures_and_or_events); end # Creates a new future which is resolved after the first futures_and_or_events is fulfilled. @@ -7230,7 +7233,7 @@ module Concurrent::Promises::FactoryMethods # @param futures_and_or_events [AbstractEventFuture] # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#313 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:313 def any_fulfilled_future_on(default_executor, *futures_and_or_events); end # Shortcut of {#any_resolved_future_on} with default `:io` executor supplied. @@ -7238,7 +7241,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #any_resolved_future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#278 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:278 def any_resolved_future(*futures_and_or_events); end # Creates a new future which is resolved after the first futures_and_or_events is resolved. @@ -7254,7 +7257,7 @@ module Concurrent::Promises::FactoryMethods # @param futures_and_or_events [AbstractEventFuture] # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#294 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:294 def any_resolved_future_on(default_executor, *futures_and_or_events); end # Shortcut of {#delay_on} with default `:io` executor supplied. @@ -7262,7 +7265,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future, Event] # @see #delay_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#190 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:190 def delay(*args, &task); end # Creates a new event or future which is resolved only after it is touched, @@ -7274,7 +7277,7 @@ module Concurrent::Promises::FactoryMethods # global executor. Default executor propagates to chained futures unless overridden with # executor parameter or changed with {AbstractEventFuture#with_default_executor}. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#207 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:207 def delay_on(default_executor, *args, &task); end # Creates a resolved future which will be fulfilled with the given value. @@ -7285,7 +7288,7 @@ module Concurrent::Promises::FactoryMethods # @param value [Object] # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#127 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:127 def fulfilled_future(value, default_executor = T.unsafe(nil)); end # Shortcut of {#future_on} with default `:io` executor supplied. @@ -7293,7 +7296,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:94 def future(*args, &task); end # Constructs a new Future which will be resolved after block is evaluated on default executor. @@ -7310,7 +7313,7 @@ module Concurrent::Promises::FactoryMethods # Its returned value becomes {Future#value} fulfilling it, # raised exception becomes {Future#reason} rejecting it. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#106 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:106 def future_on(default_executor, *args, &task); end # General constructor. Behaves differently based on the argument's type. It's provided for convenience @@ -7327,7 +7330,7 @@ module Concurrent::Promises::FactoryMethods # @return [Event, Future] # @see rejected_future, resolved_event, fulfilled_future # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#174 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:174 def make_future(argument = T.unsafe(nil), default_executor = T.unsafe(nil)); end # Creates a resolved future which will be rejected with the given reason. @@ -7338,7 +7341,7 @@ module Concurrent::Promises::FactoryMethods # @param reason [Object] # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#136 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:136 def rejected_future(reason, default_executor = T.unsafe(nil)); end # Shortcut of {#resolvable_event_on} with default `:io` executor supplied. @@ -7346,7 +7349,7 @@ module Concurrent::Promises::FactoryMethods # @return [ResolvableEvent] # @see #resolvable_event_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#63 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:63 def resolvable_event; end # Creates a resolvable event, user is responsible for resolving the event once @@ -7357,7 +7360,7 @@ module Concurrent::Promises::FactoryMethods # executor parameter or changed with {AbstractEventFuture#with_default_executor}. # @return [ResolvableEvent] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#72 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:72 def resolvable_event_on(default_executor = T.unsafe(nil)); end # Shortcut of {#resolvable_future_on} with default `:io` executor supplied. @@ -7365,7 +7368,7 @@ module Concurrent::Promises::FactoryMethods # @return [ResolvableFuture] # @see #resolvable_future_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#78 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:78 def resolvable_future; end # Creates resolvable future, user is responsible for resolving the future once by @@ -7377,7 +7380,7 @@ module Concurrent::Promises::FactoryMethods # executor parameter or changed with {AbstractEventFuture#with_default_executor}. # @return [ResolvableFuture] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#88 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:88 def resolvable_future_on(default_executor = T.unsafe(nil)); end # Creates resolved event. @@ -7387,7 +7390,7 @@ module Concurrent::Promises::FactoryMethods # executor parameter or changed with {AbstractEventFuture#with_default_executor}. # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#144 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:144 def resolved_event(default_executor = T.unsafe(nil)); end # Creates a resolved future with will be either fulfilled with the given value or rejected with @@ -7401,7 +7404,7 @@ module Concurrent::Promises::FactoryMethods # @param value [Object] # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#118 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:118 def resolved_future(fulfilled, value, reason, default_executor = T.unsafe(nil)); end # Shortcut of {#schedule_on} with default `:io` executor supplied. @@ -7409,7 +7412,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future, Event] # @see #schedule_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#214 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:214 def schedule(intended_time, *args, &task); end # Creates a new event or future which is resolved in intended_time. @@ -7422,7 +7425,7 @@ module Concurrent::Promises::FactoryMethods # @param intended_time [Numeric, Time] `Numeric` means to run in `intended_time` seconds. # `Time` means to run on `intended_time`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#233 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:233 def schedule_on(default_executor, intended_time, *args, &task); end # Shortcut of {#zip_futures_on} with default `:io` executor supplied. @@ -7430,7 +7433,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #zip_futures_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#258 + # pkg:gem/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. @@ -7438,7 +7441,7 @@ module Concurrent::Promises::FactoryMethods # @return [Event] # @see #zip_events_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#262 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:262 def zip_events(*futures_and_or_events); end # Creates a new event which is resolved after all futures_and_or_events are resolved. @@ -7450,7 +7453,7 @@ module Concurrent::Promises::FactoryMethods # @param futures_and_or_events [AbstractEventFuture] # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#272 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:272 def zip_events_on(default_executor, *futures_and_or_events); end # Shortcut of {#zip_futures_on} with default `:io` executor supplied. @@ -7458,7 +7461,7 @@ module Concurrent::Promises::FactoryMethods # @return [Future] # @see #zip_futures_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#240 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:240 def zip_futures(*futures_and_or_events); end # Creates a new future which is resolved after all futures_and_or_events are resolved. @@ -7473,51 +7476,51 @@ module Concurrent::Promises::FactoryMethods # @param futures_and_or_events [AbstractEventFuture] # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#254 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:254 def zip_futures_on(default_executor, *futures_and_or_events); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#50 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:50 module Concurrent::Promises::FactoryMethods::Configuration # @return [Executor, :io, :fast] the executor which is used when none is supplied # to a factory method. The method can be overridden in the receivers of # `include FactoryMethod` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:54 def default_executor; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1840 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1840 class Concurrent::Promises::FlatEventPromise < ::Concurrent::Promises::AbstractFlatPromise # @return [FlatEventPromise] a new instance of FlatEventPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1844 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1844 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1848 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1848 def process_on_blocker_resolution(future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1873 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1873 class Concurrent::Promises::FlatFuturePromise < ::Concurrent::Promises::AbstractFlatPromise # @raise [ArgumentError] # @return [FlatFuturePromise] a new instance of FlatFuturePromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1877 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1877 def initialize(delayed, blockers_count, levels, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1884 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1884 def process_on_blocker_resolution(future, index); end end # Represents a value which will become available in future. May reject with a reason instead, # e.g. when the tasks raises an exception. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#917 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:917 class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # Creates a new event or a future which will be resolved when receiver and other are. # Returns an event if receiver and other are events, otherwise returns a future. @@ -7527,7 +7530,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1078 + # pkg:gem/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` @@ -7536,10 +7539,10 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1085 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1085 def any(event_or_future); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1215 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1215 def apply(args, block); end # Creates new future dependent on receiver which will not evaluate until touched, see {#touch}. @@ -7547,7 +7550,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1095 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1095 def delay; end # Allows rejected Future to be risen with `raise` method. @@ -7559,7 +7562,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @raise [Concurrent::Error] when raising not rejected future # @return [Exception] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1013 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1013 def exception(*args); end # Creates new future which will have result of the future returned by receiver. If receiver @@ -7568,7 +7571,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#1124 + # pkg:gem/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. @@ -7576,7 +7579,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1130 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1130 def flat_event; end # Creates new future which will have result of the future returned by receiver. If receiver @@ -7585,19 +7588,19 @@ 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1120 def flat_future(level = T.unsafe(nil)); end # Is it in fulfilled state? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#921 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:921 def fulfilled?; end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1243 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1243 def inspect; end # Shortcut of {#on_fulfillment_using} with default `:io` executor supplied. @@ -7605,7 +7608,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [self] # @see #on_fulfillment_using # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1136 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1136 def on_fulfillment(*args, &callback); end # Stores the callback to be executed synchronously on resolving thread after it is @@ -7617,7 +7620,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @yield [value, *args] to the callback. # @yieldreturn is forgotten. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1147 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1147 def on_fulfillment!(*args, &callback); end # Stores the callback to be executed asynchronously on executor after it is @@ -7631,7 +7634,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @yield [value, *args] to the callback. # @yieldreturn is forgotten. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1159 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1159 def on_fulfillment_using(executor, *args, &callback); end # Shortcut of {#on_rejection_using} with default `:io` executor supplied. @@ -7639,7 +7642,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [self] # @see #on_rejection_using # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1165 def on_rejection(*args, &callback); end # Stores the callback to be executed synchronously on resolving thread after it is @@ -7651,7 +7654,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @yield [reason, *args] to the callback. # @yieldreturn is forgotten. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1176 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1176 def on_rejection!(*args, &callback); end # Stores the callback to be executed asynchronously on executor after it is @@ -7665,7 +7668,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @yield [reason, *args] to the callback. # @yieldreturn is forgotten. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1188 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1188 def on_rejection_using(executor, *args, &callback); end # Returns reason of future's rejection. @@ -7680,14 +7683,14 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @param timeout_value [Object] a value returned by the method when it times out # @return [Object, timeout_value] the reason, or timeout_value on timeout, or nil on fulfillment. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#966 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:966 def reason(timeout = T.unsafe(nil), timeout_value = T.unsafe(nil)); end # Is it in rejected state? # # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#928 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:928 def rejected?; end # Shortcut of {#rescue_on} with default `:io` executor supplied. @@ -7695,7 +7698,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [Future] # @see #rescue_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1052 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1052 def rescue(*args, &task); end # Chains the task to be executed asynchronously on executor after it rejects. Does not run @@ -7711,7 +7714,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # Its returned value becomes {Future#value} fulfilling it, # raised exception becomes {Future#reason} rejecting it. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1064 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1064 def rescue_on(executor, *args, &task); end # Returns triplet fulfilled?, value, reason. @@ -7723,7 +7726,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [Array(Boolean, Object, Object), nil] triplet of fulfilled?, value, reason, or nil # on timeout. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#981 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:981 def result(timeout = T.unsafe(nil)); end # Allows to use futures as green threads. The receiver has to evaluate to a future which @@ -7744,7 +7747,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # which is suppose to continue running. # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1210 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1210 def run(run_test = T.unsafe(nil)); end # Creates new event dependent on receiver scheduled to execute on/in intended_time. @@ -7755,7 +7758,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # `Time` means to run on `intended_time`. # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1102 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1102 def schedule(intended_time); end # Shortcut of {#then_on} with default `:io` executor supplied. @@ -7763,7 +7766,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [Future] # @see #then_on # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1034 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1034 def then(*args, &task); end # Chains the task to be executed asynchronously on executor after it fulfills. Does not run @@ -7779,26 +7782,26 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # Its returned value becomes {Future#value} fulfilling it, # raised exception becomes {Future#reason} rejecting it. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1046 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1046 def then_on(executor, *args, &task); end # Converts future to event which is resolved when future is resolved by fulfillment or rejection. # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1222 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1222 def to_event; end # Returns self, since this is a future # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1230 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1230 def to_future; end # @return [String] Short string representation. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1235 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1235 def to_s; end # Return value of the future. @@ -7815,7 +7818,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # timeout_value on timeout, # nil on rejection. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#950 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:950 def value(timeout = T.unsafe(nil), timeout_value = T.unsafe(nil)); end # Return value of the future. @@ -7833,7 +7836,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # or nil on rejection, # or timeout_value on timeout. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#997 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:997 def value!(timeout = T.unsafe(nil), timeout_value = T.unsafe(nil)); end # Wait (block the Thread) until receiver is {#resolved?}. @@ -7846,7 +7849,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # @return [self, true, false] self implies timeout was not used, true implies timeout was used # and it was resolved, false implies it was not resolved within timeout. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#987 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:987 def wait!(timeout = T.unsafe(nil)); end # Crates new object with same class with the executor set as its new default executor. @@ -7854,7 +7857,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1111 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1111 def with_default_executor(executor); end # Creates a new event or a future which will be resolved when receiver and other are. @@ -7865,7 +7868,7 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1070 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1070 def zip(other); end # Creates a new event which will be resolved when the first of receiver, `event_or_future` @@ -7874,253 +7877,253 @@ class Concurrent::Promises::Future < ::Concurrent::Promises::AbstractEventFuture # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1089 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1089 def |(event_or_future); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1272 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1272 def async_callback_on_fulfillment(state, executor, args, callback); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1278 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1278 def async_callback_on_rejection(state, executor, args, callback); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1284 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1284 def callback_on_fulfillment(state, args, callback); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1288 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1288 def callback_on_rejection(state, args, callback); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1292 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1292 def callback_on_resolution(state, args, callback); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1251 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1251 def rejected_resolution(raise_on_reassign, state); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1247 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1247 def run_test(v); end # @raise [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1266 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1266 def wait_until_resolved!(timeout = T.unsafe(nil)); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1984 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1984 class Concurrent::Promises::FutureWrapperPromise < ::Concurrent::Promises::BlockedPromise # @return [FutureWrapperPromise] a new instance of FutureWrapperPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1985 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1985 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1991 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1991 def on_resolvable(resolved_future, index); end end # will be immediately resolved # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1783 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1783 class Concurrent::Promises::ImmediateEventPromise < ::Concurrent::Promises::InnerPromise # @return [ImmediateEventPromise] a new instance of ImmediateEventPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1784 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1784 def initialize(default_executor); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1789 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1789 class Concurrent::Promises::ImmediateFuturePromise < ::Concurrent::Promises::InnerPromise # @return [ImmediateFuturePromise] a new instance of ImmediateFuturePromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1790 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1790 def initialize(default_executor, fulfilled, value, reason); end end # @abstract # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1615 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1615 class Concurrent::Promises::InnerPromise < ::Concurrent::Promises::AbstractPromise; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#338 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:338 module Concurrent::Promises::InternalStates; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#397 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:397 class Concurrent::Promises::InternalStates::Fulfilled < ::Concurrent::Promises::InternalStates::ResolvedWithResult # @return [Fulfilled] a new instance of Fulfilled # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#399 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:399 def initialize(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#407 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:407 def apply(args, block); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#403 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:403 def fulfilled?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#415 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:415 def reason; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#419 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:419 def to_sym; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#411 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:411 def value; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#425 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:425 class Concurrent::Promises::InternalStates::FulfilledArray < ::Concurrent::Promises::InternalStates::Fulfilled - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#426 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:426 def apply(args, block); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#488 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:488 Concurrent::Promises::InternalStates::PENDING = T.let(T.unsafe(nil), Concurrent::Promises::InternalStates::Pending) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#459 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:459 class Concurrent::Promises::InternalStates::PartiallyRejected < ::Concurrent::Promises::InternalStates::ResolvedWithResult # @return [PartiallyRejected] a new instance of PartiallyRejected # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#460 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:460 def initialize(value, reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#482 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:482 def apply(args, block); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#466 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:466 def fulfilled?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#478 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:478 def reason; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#470 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:470 def to_sym; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#474 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:474 def value; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#351 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:351 class Concurrent::Promises::InternalStates::Pending < ::Concurrent::Promises::InternalStates::State # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#352 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:352 def resolved?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#356 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:356 def to_sym; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#490 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:490 Concurrent::Promises::InternalStates::RESERVED = T.let(T.unsafe(nil), Concurrent::Promises::InternalStates::Reserved) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#492 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:492 Concurrent::Promises::InternalStates::RESOLVED = T.let(T.unsafe(nil), Concurrent::Promises::InternalStates::Fulfilled) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#432 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:432 class Concurrent::Promises::InternalStates::Rejected < ::Concurrent::Promises::InternalStates::ResolvedWithResult # @return [Rejected] a new instance of Rejected # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#433 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:433 def initialize(reason); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#453 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:453 def apply(args, block); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#437 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:437 def fulfilled?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#445 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:445 def reason; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#449 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:449 def to_sym; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#441 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:441 def value; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#362 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:362 class Concurrent::Promises::InternalStates::Reserved < ::Concurrent::Promises::InternalStates::Pending; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#366 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:366 class Concurrent::Promises::InternalStates::ResolvedWithResult < ::Concurrent::Promises::InternalStates::State # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#391 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:391 def apply; end # @raise [NotImplementedError] # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#379 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:379 def fulfilled?; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#387 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:387 def reason; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#367 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:367 def resolved?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#375 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:375 def result; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#371 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:371 def to_sym; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#383 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:383 def value; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#340 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:340 class Concurrent::Promises::InternalStates::State # @raise [NotImplementedError] # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#341 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:341 def resolved?; end # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#345 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:345 def to_sym; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1748 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1748 class Concurrent::Promises::RescuePromise < ::Concurrent::Promises::BlockedTaskPromise # @return [RescuePromise] a new instance of RescuePromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1751 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1751 def initialize(delayed, blockers_count, default_executor, executor, args, &task); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1755 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1755 def on_resolvable(resolved_future, index); end end # Marker module of Future, Event resolved manually. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1299 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1299 module Concurrent::Promises::Resolvable include ::Concurrent::Promises::InternalStates end # A Event which can be resolved by user. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1304 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1304 class Concurrent::Promises::ResolvableEvent < ::Concurrent::Promises::Event include ::Concurrent::Promises::Resolvable @@ -8133,7 +8136,7 @@ class Concurrent::Promises::ResolvableEvent < ::Concurrent::Promises::Event # @return [self, false] false is returned when raise_on_reassign is false and the receiver # is already resolved. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1324 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1324 def resolve(raise_on_reassign = T.unsafe(nil), reserved = T.unsafe(nil)); end # Behaves as {AbstractEventFuture#wait} but has one additional optional argument @@ -8143,28 +8146,28 @@ class Concurrent::Promises::ResolvableEvent < ::Concurrent::Promises::Event # @return [self, true, false] # @see AbstractEventFuture#wait # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1342 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1342 def wait(timeout = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Creates new event wrapping receiver, effectively hiding the resolve method. # # @return [Event] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1331 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1331 def with_hidden_resolvable; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1600 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1600 class Concurrent::Promises::ResolvableEventPromise < ::Concurrent::Promises::AbstractPromise # @return [ResolvableEventPromise] a new instance of ResolvableEventPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1601 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1601 def initialize(default_executor); end end # A Future which can be resolved by user. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1354 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1354 class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future include ::Concurrent::Promises::Resolvable @@ -8175,7 +8178,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @yield [*args] to the block. # @yieldreturn [Object] value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1395 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1395 def evaluate_to(*args, &block); end # Evaluates the block and sets its result as future's value fulfilling, if the block raises @@ -8186,7 +8189,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @yield [*args] to the block. # @yieldreturn [Object] value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1406 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1406 def evaluate_to!(*args, &block); end # Makes the future fulfilled with `value`, @@ -8200,7 +8203,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [self, false] false is returned when raise_on_reassign is false and the receiver # is already resolved. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1375 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1375 def fulfill(value, raise_on_reassign = T.unsafe(nil), reserved = T.unsafe(nil)); end # Behaves as {Future#reason} but has one additional optional argument @@ -8211,7 +8214,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [Exception, timeout_value, nil] # @see Future#reason # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1503 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1503 def reason(timeout = T.unsafe(nil), timeout_value = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Makes the future rejected with `reason`, @@ -8225,7 +8228,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [self, false] false is returned when raise_on_reassign is false and the receiver # is already resolved. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1385 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1385 def reject(reason, raise_on_reassign = T.unsafe(nil), reserved = T.unsafe(nil)); end # Makes the future resolved with result of triplet `fulfilled?`, `value`, `reason`, @@ -8241,7 +8244,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [self, false] false is returned when raise_on_reassign is false and the receiver # is already resolved. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1365 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1365 def resolve(fulfilled = T.unsafe(nil), value = T.unsafe(nil), reason = T.unsafe(nil), raise_on_reassign = T.unsafe(nil), reserved = T.unsafe(nil)); end # Behaves as {Future#result} but has one additional optional argument @@ -8252,7 +8255,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [::Array(Boolean, Object, Exception), nil] # @see Future#result # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1524 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1524 def result(timeout = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Behaves as {Future#value} but has one additional optional argument @@ -8263,7 +8266,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [Object, timeout_value, nil] # @see Future#value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1459 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1459 def value(timeout = T.unsafe(nil), timeout_value = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Behaves as {Future#value!} but has one additional optional argument @@ -8275,7 +8278,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [Object, timeout_value, nil] # @see Future#value! # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1481 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1481 def value!(timeout = T.unsafe(nil), timeout_value = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Behaves as {AbstractEventFuture#wait} but has one additional optional argument @@ -8286,7 +8289,7 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [self, true, false] # @see AbstractEventFuture#wait # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1421 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1421 def wait(timeout = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Behaves as {Future#wait!} but has one additional optional argument @@ -8298,123 +8301,123 @@ class Concurrent::Promises::ResolvableFuture < ::Concurrent::Promises::Future # @return [self, true, false] # @see Future#wait! # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1438 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1438 def wait!(timeout = T.unsafe(nil), resolve_on_timeout = T.unsafe(nil)); end # Creates new future wrapping receiver, effectively hiding the resolve method and similar. # # @return [Future] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1542 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1542 def with_hidden_resolvable; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1606 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1606 class Concurrent::Promises::ResolvableFuturePromise < ::Concurrent::Promises::AbstractPromise # @return [ResolvableFuturePromise] a new instance of ResolvableFuturePromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1607 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1607 def initialize(default_executor); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1611 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1611 def evaluate_to(*args, block); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1909 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1909 class Concurrent::Promises::RunFuturePromise < ::Concurrent::Promises::AbstractFlatPromise # @return [RunFuturePromise] a new instance of RunFuturePromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1913 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1913 def initialize(delayed, blockers_count, default_executor, run_test); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1918 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1918 def process_on_blocker_resolution(future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2114 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2114 class Concurrent::Promises::ScheduledPromise < ::Concurrent::Promises::InnerPromise # @return [ScheduledPromise] a new instance of ScheduledPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2125 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2125 def initialize(default_executor, intended_time); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2119 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2115 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2115 def intended_time; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1730 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1730 class Concurrent::Promises::ThenPromise < ::Concurrent::Promises::BlockedTaskPromise # @return [ThenPromise] a new instance of ThenPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1733 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1733 def initialize(delayed, blockers_count, default_executor, executor, args, &task); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1737 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1737 def on_resolvable(resolved_future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1940 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1940 class Concurrent::Promises::ZipEventEventPromise < ::Concurrent::Promises::BlockedPromise # @return [ZipEventEventPromise] a new instance of ZipEventEventPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1941 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1941 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1947 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1947 def on_resolvable(resolved_future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2031 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2031 class Concurrent::Promises::ZipEventsPromise < ::Concurrent::Promises::BlockedPromise # @return [ZipEventsPromise] a new instance of ZipEventsPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2035 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2035 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2041 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2041 def on_resolvable(resolved_future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1952 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1952 class Concurrent::Promises::ZipFutureEventPromise < ::Concurrent::Promises::BlockedPromise # @return [ZipFutureEventPromise] a new instance of ZipFutureEventPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1953 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1953 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1967 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1967 def on_resolvable(resolved_future, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1960 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1960 def process_on_blocker_resolution(future, index); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#1996 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:1996 class Concurrent::Promises::ZipFuturesPromise < ::Concurrent::Promises::BlockedPromise # @return [ZipFuturesPromise] a new instance of ZipFuturesPromise # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2000 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2000 def initialize(delayed, blockers_count, default_executor); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2013 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2013 def on_resolvable(resolved_future, index); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2007 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/promises.rb:2007 def process_on_blocker_resolution(future, index); end end @@ -8450,15 +8453,15 @@ end # C1.new.respond_to? :a # => false # C2.new.respond_to? :a # => true # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/re_include.rb#36 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/re_include.rb:36 module Concurrent::ReInclude - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/re_include.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/re_include.rb:44 def extended(base); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/re_include.rb#50 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/re_include.rb:50 def include(*modules); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/re_include.rb#38 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/re_include.rb:38 def included(base); end end @@ -8483,7 +8486,7 @@ end # This will lead to deadlock # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html java.util.concurrent.ReentrantReadWriteLock # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#31 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:31 class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object extend ::Concurrent::Synchronization::SafeInitialization @@ -8491,7 +8494,7 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # # @return [ReadWriteLock] a new instance of ReadWriteLock # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:59 def initialize; end # Acquire a read lock. If a write lock has been acquired will block until @@ -8501,7 +8504,7 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # is exceeded. # @return [Boolean] true if the lock is successfully acquired # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#111 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:111 def acquire_read_lock; end # Acquire a write lock. Will block and wait for all active readers and writers. @@ -8510,28 +8513,28 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # is exceeded. # @return [Boolean] true if the lock is successfully acquired # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#160 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:160 def acquire_write_lock; end # Queries whether any threads are waiting to acquire the read or write lock. # # @return [Boolean] true if any threads are waiting for a lock else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#214 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:214 def has_waiters?; end # Release a previously acquired read lock. # # @return [Boolean] true if the lock is successfully released # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#140 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:140 def release_read_lock; end # Release a previously acquired write lock. # # @return [Boolean] true if the lock is successfully released # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#196 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:196 def release_write_lock; end # Execute a block operation within a read lock. @@ -8542,7 +8545,7 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # @return [Object] the result of the block operation. # @yield the task to be performed within the lock. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:75 def with_read_lock; end # Execute a block operation within a write lock. @@ -8553,60 +8556,60 @@ class Concurrent::ReadWriteLock < ::Concurrent::Synchronization::Object # @return [Object] the result of the block operation. # @yield the task to be performed within the lock. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#94 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:94 def with_write_lock; end # Queries if the write lock is held by any thread. # # @return [Boolean] true if the write lock is held else false` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#207 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:207 def write_locked?; end private # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#246 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:246 def max_readers?(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#251 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:251 def max_writers?(c = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#221 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:221 def running_readers(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#226 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:226 def running_readers?(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#231 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:231 def running_writer?(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#241 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:241 def waiting_writer?(c = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#236 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:236 def waiting_writers(c = T.unsafe(nil)); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#40 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:40 Concurrent::ReadWriteLock::MAX_READERS = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#43 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:43 Concurrent::ReadWriteLock::MAX_WRITERS = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#37 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:37 Concurrent::ReadWriteLock::RUNNING_WRITER = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb#34 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb:34 Concurrent::ReadWriteLock::WAITING_WRITER = T.let(T.unsafe(nil), Integer) # Re-entrant read-write lock implementation @@ -8650,7 +8653,7 @@ Concurrent::ReadWriteLock::WAITING_WRITER = T.let(T.unsafe(nil), Integer) # lock.with_write_lock { data.modify! } # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html java.util.concurrent.ReentrantReadWriteLock # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#53 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:53 class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object extend ::Concurrent::Synchronization::SafeInitialization @@ -8658,7 +8661,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # # @return [ReentrantReadWriteLock] a new instance of ReentrantReadWriteLock # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#109 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:109 def initialize; end # Acquire a read lock. If a write lock is held by another thread, will block @@ -8668,7 +8671,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # is exceeded. # @return [Boolean] true if the lock is successfully acquired # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#162 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:162 def acquire_read_lock; end # Acquire a write lock. Will block and wait for all active readers and writers. @@ -8677,21 +8680,21 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # is exceeded. # @return [Boolean] true if the lock is successfully acquired # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#257 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:257 def acquire_write_lock; end # Release a previously acquired read lock. # # @return [Boolean] true if the lock is successfully released # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#236 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:236 def release_read_lock; end # Release a previously acquired write lock. # # @return [Boolean] true if the lock is successfully released # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#329 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:329 def release_write_lock; end # Try to acquire a read lock and return true if we succeed. If it cannot be @@ -8699,7 +8702,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # # @return [Boolean] true if the lock is successfully acquired # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#215 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:215 def try_read_lock; end # Try to acquire a write lock and return true if we succeed. If it cannot be @@ -8707,7 +8710,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # # @return [Boolean] true if the lock is successfully acquired # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#310 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:310 def try_write_lock; end # Execute a block operation within a read lock. @@ -8718,7 +8721,7 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # @return [Object] the result of the block operation. # @yield the task to be performed within the lock. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#126 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:126 def with_read_lock; end # Execute a block operation within a write lock. @@ -8729,111 +8732,111 @@ class Concurrent::ReentrantReadWriteLock < ::Concurrent::Synchronization::Object # @return [Object] the result of the block operation. # @yield the task to be performed within the lock. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#145 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:145 def with_write_lock; end private # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#370 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:370 def max_readers?(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#375 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:375 def max_writers?(c = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#345 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:345 def running_readers(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#350 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:350 def running_readers?(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#355 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:355 def running_writer?(c = T.unsafe(nil)); end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#365 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:365 def waiting_or_running_writer?(c = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#360 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:360 def waiting_writers(c = T.unsafe(nil)); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#94 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:94 Concurrent::ReentrantReadWriteLock::MAX_READERS = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#96 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:96 Concurrent::ReentrantReadWriteLock::MAX_WRITERS = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#84 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:84 Concurrent::ReentrantReadWriteLock::READER_BITS = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#102 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:102 Concurrent::ReentrantReadWriteLock::READ_LOCK_MASK = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#92 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:92 Concurrent::ReentrantReadWriteLock::RUNNING_WRITER = T.let(T.unsafe(nil), Integer) # Used with @Counter: # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#90 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:90 Concurrent::ReentrantReadWriteLock::WAITING_WRITER = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#86 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:86 Concurrent::ReentrantReadWriteLock::WRITER_BITS = T.let(T.unsafe(nil), Integer) # Used with @HeldCount: # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#100 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:100 Concurrent::ReentrantReadWriteLock::WRITE_LOCK_HELD = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb#104 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:104 Concurrent::ReentrantReadWriteLock::WRITE_LOCK_MASK = T.let(T.unsafe(nil), Integer) # Raised by an `Executor` when it is unable to process a given task, # possibly because of a reject policy or other internal error. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#48 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:48 class Concurrent::RejectedExecutionError < ::Concurrent::Error; end # Raised when any finite resource, such as a lock counter, exceeds its # maximum limit/threshold. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#52 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:52 class Concurrent::ResourceLimitError < ::Concurrent::Error; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#129 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:129 class Concurrent::RubyExchanger < ::Concurrent::AbstractExchanger extend ::Concurrent::Synchronization::SafeInitialization # @return [RubyExchanger] a new instance of RubyExchanger # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#159 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:159 def initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:165 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:165 def compare_and_set_slot(expected, value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:165 def slot; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:165 def slot=(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:165 def swap_slot(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#165 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:165 def update_slot(&block); end private @@ -8849,49 +8852,49 @@ class Concurrent::RubyExchanger < ::Concurrent::AbstractExchanger # @param value [Object] the value to exchange with another thread # @return [Object, CANCEL] the value exchanged by the other thread; {CANCEL} on timeout # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#170 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:170 def do_exchange(value, timeout); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#138 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:138 class Concurrent::RubyExchanger::Node < ::Concurrent::Synchronization::Object extend ::Concurrent::Synchronization::SafeInitialization # @return [Node] a new instance of Node # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#142 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:142 def initialize(item); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:139 def __initialize_atomic_fields__; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:153 def item; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#149 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:149 def latch; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:139 def swap_value(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:139 def update_value(&block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:139 def value; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/exchanger.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/exchanger.rb:139 def value=(value); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:8 class Concurrent::RubyExecutorService < ::Concurrent::AbstractExecutorService # @return [RubyExecutorService] a new instance of RubyExecutorService # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:11 def initialize(*args, &block); end # Begin an immediate shutdown. In-progress tasks will be allowed to @@ -8899,7 +8902,7 @@ class Concurrent::RubyExecutorService < ::Concurrent::AbstractExecutorService # will be accepted. Has no additional effect if the thread pool is # not running. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#42 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:42 def kill; end # Submit a task to the executor for asynchronous processing. @@ -8910,14 +8913,14 @@ class Concurrent::RubyExecutorService < ::Concurrent::AbstractExecutorService # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#17 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:17 def post(*args, &task); end # Begin an orderly shutdown. Tasks already in the queue will be executed, # 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/ruby_executor_service.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:33 def shutdown; end # Block until executor shutdown is complete or until `timeout` seconds have @@ -8928,43 +8931,43 @@ class Concurrent::RubyExecutorService < ::Concurrent::AbstractExecutorService # @param timeout [Integer] the maximum number of seconds to wait for shutdown to complete # @return [Boolean] `true` if shutdown complete or false on `timeout` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#52 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:52 def wait_for_termination(timeout = T.unsafe(nil)); end private # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#70 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:70 def ns_running?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#78 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:78 def ns_shutdown?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#66 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:66 def ns_shutdown_execution; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#74 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:74 def ns_shuttingdown?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#58 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:58 def stop_event; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb:62 def stopped_event; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb:9 class Concurrent::RubySingleThreadExecutor < ::Concurrent::RubyThreadPoolExecutor include ::Concurrent::SerialExecutorService # @return [RubySingleThreadExecutor] a new instance of RubySingleThreadExecutor # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb#13 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb:13 def initialize(opts = T.unsafe(nil)); end end @@ -9019,60 +9022,60 @@ end # @see http://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html Java Tutorials: Thread Pools # @see https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html#setDaemon-boolean- # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#13 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:13 class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService # @return [RubyThreadPoolExecutor] a new instance of RubyThreadPoolExecutor # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#47 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:47 def initialize(opts = T.unsafe(nil)); end # The number of threads that are actively executing tasks. # # @return [Integer] The number of threads that are actively executing tasks. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#67 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:67 def active_count; end # Does the task queue have a maximum size? # # @return [Boolean] True if the task queue has a maximum size else false. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#74 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:74 def can_overflow?; end # The number of tasks that have been completed by the pool since construction. # # @return [Integer] The number of tasks that have been completed by the pool since construction. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:62 def completed_task_count; end # The number of seconds that a thread may be idle before being reclaimed. # # @return [Integer] The number of seconds that a thread may be idle before being reclaimed. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#38 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:38 def idletime; end # The largest number of threads that have been created in the pool since construction. # # @return [Integer] The largest number of threads that have been created in the pool since construction. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#52 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:52 def largest_length; end # The number of threads currently in the pool. # # @return [Integer] The number of threads currently in the pool. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#79 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:79 def length; end # The maximum number of threads that may be created in the pool. # # @return [Integer] The maximum number of threads that may be created in the pool. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#32 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:32 def max_length; end # The maximum number of tasks that may be waiting in the work queue at any one time. @@ -9083,14 +9086,14 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService # When the queue size reaches `max_queue` subsequent tasks will be rejected in # accordance with the configured `fallback_policy`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:41 def max_queue; end # The minimum number of threads that may be retained in the pool. # # @return [Integer] The minimum number of threads that may be retained in the pool. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#35 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:35 def min_length; end # Prune the thread pool of unneeded threads @@ -9101,24 +9104,24 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService # This is a no-op on all pool implementations as they prune themselves # automatically, and has been deprecated. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#139 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:139 def prune_pool; end # removes the worker if it can be pruned # # @return [true, false] if the worker was pruned # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#104 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:104 def prune_worker(worker); end # The number of tasks in the queue awaiting execution. # # @return [Integer] The number of tasks in the queue awaiting execution. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#84 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:84 def queue_length; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#124 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:124 def ready_worker(worker, last_message); end # Number of tasks that may be enqueued before reaching `max_queue` and rejecting @@ -9127,30 +9130,30 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService # @return [Integer] Number of tasks that may be enqueued before reaching `max_queue` and rejecting # new tasks. A value of -1 indicates that the queue may grow without bound. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#89 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:89 def remaining_capacity; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#116 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:116 def remove_worker(worker); end # The number of tasks that have been scheduled for execution on the pool since construction. # # @return [Integer] The number of tasks that have been scheduled for execution on the pool since construction. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#57 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:57 def scheduled_task_count; end # Whether or not a value of 0 for :max_queue option means the queue must perform direct hand-off or rather unbounded queue. # # @return [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:44 def synchronous; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#129 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:129 def worker_died(worker); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#134 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:134 def worker_task_completed; end private @@ -9159,118 +9162,118 @@ class Concurrent::RubyThreadPoolExecutor < ::Concurrent::RubyExecutorService # # @return [nil, Worker] nil of max capacity is reached # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#257 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:257 def ns_add_busy_worker; end # tries to assign task to a worker, tries to get one from @ready or to create new one # # @return [true, false] if task is assigned to a worker # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#217 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:217 def ns_assign_worker(*args, &task); end # tries to enqueue task # # @return [true, false] if enqueued # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#235 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:235 def ns_enqueue(*args, &task); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#178 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:178 def ns_execute(*args, &task); end # @raise [ArgumentError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#146 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:146 def ns_initialize(opts); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#205 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:205 def ns_kill_execution; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#173 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:173 def ns_limited_queue?; end # @return [Integer] number of excess idle workers which can be removed without # going below min_length, or all workers if not running # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#305 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:305 def ns_prunable_capacity; end # handle ready worker, giving it new job or assigning back to @ready # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#269 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:269 def ns_ready_worker(worker, last_message, success = T.unsafe(nil)); end # removes a worker which is not tracked in @ready # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#287 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:287 def ns_remove_busy_worker(worker); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#294 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:294 def ns_remove_ready_worker(worker); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#314 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:314 def ns_reset_if_forked; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#190 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:190 def ns_shutdown_execution; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#247 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:247 def ns_worker_died(worker); end end # Default maximum number of threads that will be created in the pool. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#17 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:17 Concurrent::RubyThreadPoolExecutor::DEFAULT_MAX_POOL_SIZE = T.let(T.unsafe(nil), Integer) # Default maximum number of tasks that may be added to the task queue. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#23 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:23 Concurrent::RubyThreadPoolExecutor::DEFAULT_MAX_QUEUE_SIZE = T.let(T.unsafe(nil), Integer) # Default minimum number of threads that will be retained in the pool. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#20 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:20 Concurrent::RubyThreadPoolExecutor::DEFAULT_MIN_POOL_SIZE = T.let(T.unsafe(nil), Integer) # Default value of the :synchronous option. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#29 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:29 Concurrent::RubyThreadPoolExecutor::DEFAULT_SYNCHRONOUS = T.let(T.unsafe(nil), FalseClass) # Default maximum number of seconds a thread in the pool may remain idle # before being reclaimed. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#26 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:26 Concurrent::RubyThreadPoolExecutor::DEFAULT_THREAD_IDLETIMEOUT = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#328 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:328 class Concurrent::RubyThreadPoolExecutor::Worker include ::Concurrent::Concern::Logging # @return [Worker] a new instance of Worker # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#331 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:331 def initialize(pool, id); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#342 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:342 def <<(message); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#350 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350 def kill; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#346 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:346 def stop; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#356 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:356 def create_worker(queue, pool, idletime); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb#381 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:381 def run_task(pool, task, args); end end @@ -9279,16 +9282,16 @@ end # value - filled by the callable result if it has been executed without errors, nil otherwise # reason - the error risen by the callable if it has been executed with errors, nil otherwise # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:9 class Concurrent::SafeTaskExecutor < ::Concurrent::Synchronization::LockableObject # @return [SafeTaskExecutor] a new instance of SafeTaskExecutor # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:11 def initialize(task, opts = T.unsafe(nil)); end # @return [Array] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:18 def execute(*args); end end @@ -9430,7 +9433,7 @@ end # #>> The task completed at 2013-11-07 12:26:09 -0500 with value 'What does the fox say?' # @see Concurrent.timer # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#158 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:158 class Concurrent::ScheduledTask < ::Concurrent::IVar include ::Comparable @@ -9444,12 +9447,12 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # @return [ScheduledTask] a new instance of ScheduledTask # @yield the task to be performed # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#178 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:178 def initialize(delay, opts = T.unsafe(nil), &task); end # Comparator which orders by schedule time. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#213 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:213 def <=>(other); end # Cancel this task and prevent it from executing. A task can only be @@ -9457,14 +9460,14 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # # @return [Boolean] true if successfully cancelled else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#235 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:235 def cancel; end # Has the task been cancelled? # # @return [Boolean] true if the task is in the given state else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#220 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:220 def cancelled?; end # Execute an `:unscheduled` `ScheduledTask`. Immediately sets the state to `:pending` @@ -9473,31 +9476,31 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # # @return [ScheduledTask] a reference to `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#273 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:273 def execute; end # The executor on which to execute the task. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#163 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:163 def executor; end # The `delay` value given at instantiation. # # @return [Float] the initial delay. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#199 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:199 def initial_delay; end # Execute the task. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#297 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:297 def process_task; end # In the task execution in progress? # # @return [Boolean] true if the task is in the given state else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#227 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:227 def processing?; end # Reschedule the task using the given delay and the current time. @@ -9507,7 +9510,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # @raise [ArgumentError] When given a time that is in the past # @return [Boolean] true if successfully rescheduled else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#262 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:262 def reschedule(delay); end # Reschedule the task using the original delay and the current time. @@ -9515,19 +9518,19 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # # @return [Boolean] true if successfully rescheduled else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#250 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:250 def reset; end # The monotonic time at which the the task is scheduled to be executed. # # @return [Float] the schedule time or nil if `unscheduled` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#206 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:206 def schedule_time; end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 + # pkg:gem/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. @@ -9536,7 +9539,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # @param delay [Float] the number of seconds to wait for before executing the task # @return [Boolean] true if successfully rescheduled else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#326 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:326 def ns_reschedule(delay); end # Schedule the task using the given delay and the current time. @@ -9544,13 +9547,13 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # @param delay [Float] the number of seconds to wait for before executing the task # @return [Boolean] true if successfully rescheduled else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#312 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:312 def ns_schedule(delay); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:301 def set(value = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#301 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:301 def try_set(value = T.unsafe(nil), &block); end class << self @@ -9561,7 +9564,7 @@ class Concurrent::ScheduledTask < ::Concurrent::IVar # @raise [ArgumentError] if no block is given # @return [ScheduledTask] the newly created `ScheduledTask` in the `:pending` state # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/scheduled_task.rb#290 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/scheduled_task.rb:290 def execute(delay, opts = T.unsafe(nil), &task); end end end @@ -9620,10 +9623,10 @@ end # # 0 # # 1 # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/semaphore.rb#161 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/semaphore.rb:161 class Concurrent::Semaphore < ::Concurrent::MutexSemaphore; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/semaphore.rb#96 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/semaphore.rb:96 Concurrent::SemaphoreImplementation = Concurrent::MutexSemaphore # Indicates that the including `ExecutorService` guarantees @@ -9644,7 +9647,7 @@ Concurrent::SemaphoreImplementation = Concurrent::MutexSemaphore # foo.is_a? Concurrent::SerialExecutor #=> true # foo.serialized? #=> true # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb#24 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb:24 module Concurrent::SerialExecutorService include ::Concurrent::Concern::Logging include ::Concurrent::ExecutorService @@ -9656,19 +9659,19 @@ module Concurrent::SerialExecutorService # will be post in the order they are received and no two operations may # occur simultaneously. Else false. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb#30 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb:30 def serialized?; end end # Ensures passed jobs in a serialized order never running at the same time. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:8 class Concurrent::SerializedExecution < ::Concurrent::Synchronization::LockableObject include ::Concurrent::Concern::Logging # @return [SerializedExecution] a new instance of SerializedExecution # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:11 def initialize; end # Submit a task to the executor for asynchronous processing. @@ -9680,7 +9683,7 @@ class Concurrent::SerializedExecution < ::Concurrent::Synchronization::LockableO # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#34 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:34 def post(executor, *args, &task); end # As {#post} but allows to submit multiple tasks at once, it's guaranteed that they will not @@ -9689,30 +9692,30 @@ class Concurrent::SerializedExecution < ::Concurrent::Synchronization::LockableO # @param posts [Array, Proc)>] array of triplets where # first is a {ExecutorService}, second is array of args for task, third is a task (Proc) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:44 def posts(posts); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:75 def call_job(job); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#70 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:70 def ns_initialize; end # ensures next job is executed if any is stashed # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#95 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:95 def work(job); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution.rb#16 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:16 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:16 def args; end # Sets the attribute args @@ -9720,14 +9723,14 @@ class Concurrent::SerializedExecution::Job < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:16 def block; end # Sets the attribute block @@ -9735,17 +9738,17 @@ class Concurrent::SerializedExecution::Job < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:17 def call; end # 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:16 def executor; end # Sets the attribute executor @@ -9753,23 +9756,23 @@ class Concurrent::SerializedExecution::Job < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution.rb:16 def new(*_arg0); end end end @@ -9780,7 +9783,7 @@ end # @see Concurrent::SerializedExecution # @see [SimpleDelegator](http://www.ruby-doc.org/stdlib-2.1.2/libdoc/delegate/rdoc/SimpleDelegator.html) # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb#12 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb:12 class Concurrent::SerializedExecutionDelegator < ::SimpleDelegator include ::Concurrent::Concern::Logging include ::Concurrent::ExecutorService @@ -9788,7 +9791,7 @@ class Concurrent::SerializedExecutionDelegator < ::SimpleDelegator # @return [SerializedExecutionDelegator] a new instance of SerializedExecutionDelegator # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb#15 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb:15 def initialize(executor); end # Submit a task to the executor for asynchronous processing. @@ -9799,7 +9802,7 @@ class Concurrent::SerializedExecutionDelegator < ::SimpleDelegator # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb#22 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb:22 def post(*args, &task); end end @@ -9815,10 +9818,10 @@ end # may be lost. Use `#merge` instead. # @see http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html Ruby standard library `Set` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#61 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:61 class Concurrent::Set < ::Concurrent::CRubySet; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/set.rb#23 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/set.rb:23 Concurrent::SetImplementation = Concurrent::CRubySet # An thread-safe, write-once variation of Ruby's standard `Struct`. @@ -9829,7 +9832,7 @@ Concurrent::SetImplementation = Concurrent::CRubySet # @see http://en.wikipedia.org/wiki/Final_(Java) Java `final` keyword # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#14 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:14 module Concurrent::SettableStruct include ::Concurrent::Synchronization::AbstractStruct @@ -9838,7 +9841,7 @@ module Concurrent::SettableStruct # @return [Boolean] true if other has the same struct subclass and has # equal member values (according to `Object#==`) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#50 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:50 def ==(other); end # Attribute Reference @@ -9849,7 +9852,7 @@ module Concurrent::SettableStruct # @raise [IndexError] if the index is out of range. # @return [Object] the value of the given struct member or the member at the given index. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#45 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:45 def [](member); end # Attribute Assignment @@ -9863,7 +9866,7 @@ module Concurrent::SettableStruct # @raise [Concurrent::ImmutabilityError] if the given member has already been set # @return [Object] the value of the given struct member or the member at the given index. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:75 def []=(member, value); end # Yields the value of each struct member in order. If no block is given @@ -9872,7 +9875,7 @@ module Concurrent::SettableStruct # @yield the operation to be performed on each struct member # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#55 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:55 def each(&block); end # Yields the name and value of each struct member in order. If no block is @@ -9882,14 +9885,14 @@ module Concurrent::SettableStruct # @yieldparam member [Object] each struct member (in order) # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#61 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:61 def each_pair(&block); end # Describe the contents of this struct in a string. # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:29 def inspect; end # Returns a new struct containing the contents of `other` and the contents @@ -9906,7 +9909,7 @@ module Concurrent::SettableStruct # @yieldparam othervalue [Object] the value of the member in `other` # @yieldparam selfvalue [Object] the value of the member in `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#35 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:35 def merge(other, &block); end # Yields each member value from the struct to the block and returns an Array @@ -9917,35 +9920,35 @@ module Concurrent::SettableStruct # @yield the operation to be performed on each struct member # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#67 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:67 def select(&block); end # Returns the values for this struct as an Array. # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#21 + # pkg:gem/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. # # @return [Hash] the names and values for the struct’s members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:40 def to_h; end # Describe the contents of this struct in a string. # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#32 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:32 def to_s; end # Returns the values for this struct as an Array. # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:18 def values; end # Returns the struct member values for each selector as an Array. @@ -9954,12 +9957,12 @@ module Concurrent::SettableStruct # # @param indexes [Fixnum, Range] the index(es) from which to obatin the values (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:24 def values_at(*indexes); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#97 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:97 def initialize_copy(original); end class << self @@ -9993,12 +9996,12 @@ module Concurrent::SettableStruct # # @see http://ruby-doc.org/core/Struct.html#method-c-new Ruby standard library `Struct#new` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#105 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:105 def new(*args, &block); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/settable_struct.rb#115 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/settable_struct.rb:115 Concurrent::SettableStruct::FACTORY = T.let(T.unsafe(nil), T.untyped) # An executor service in which every operation spawns a new, @@ -10014,14 +10017,14 @@ Concurrent::SettableStruct::FACTORY = T.let(T.unsafe(nil), T.untyped) # # @note Intended for use primarily in testing and debugging. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#21 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:21 class Concurrent::SimpleExecutorService < ::Concurrent::RubyExecutorService # Submit a task to the executor for asynchronous processing. # # @param task [Proc] the asynchronous task to perform # @return [self] returns itself # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#56 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:56 def <<(task); end # Begin an immediate shutdown. In-progress tasks will be allowed to @@ -10029,7 +10032,7 @@ class Concurrent::SimpleExecutorService < ::Concurrent::RubyExecutorService # will be accepted. Has no additional effect if the thread pool is # not running. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#84 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:84 def kill; end # Submit a task to the executor for asynchronous processing. @@ -10040,35 +10043,35 @@ class Concurrent::SimpleExecutorService < ::Concurrent::RubyExecutorService # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#40 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:40 def post(*args, &task); end # Is the executor running? # # @return [Boolean] `true` when running, `false` when shutting down or shutdown # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:62 def running?; end # Begin an orderly shutdown. Tasks already in the queue will be executed, # 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/simple_executor_service.rb#77 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:77 def shutdown; end # Is the executor shutdown? # # @return [Boolean] `true` when shutdown, `false` when shutting down or running # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#72 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:72 def shutdown?; end # Is the executor shuttingdown? # # @return [Boolean] `true` when not running and not shutdown, else `false` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#67 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:67 def shuttingdown?; end # Block until executor shutdown is complete or until `timeout` seconds have @@ -10079,12 +10082,12 @@ class Concurrent::SimpleExecutorService < ::Concurrent::RubyExecutorService # @param timeout [Integer] the maximum number of seconds to wait for shutdown to complete # @return [Boolean] `true` if shutdown complete or false on `timeout` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#91 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:91 def wait_for_termination(timeout = T.unsafe(nil)); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#97 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:97 def ns_initialize(*args); end class << self @@ -10093,7 +10096,7 @@ class Concurrent::SimpleExecutorService < ::Concurrent::RubyExecutorService # @param task [Proc] the asynchronous task to perform # @return [self] returns itself # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#34 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:34 def <<(task); end # Submit a task to the executor for asynchronous processing. @@ -10104,7 +10107,7 @@ class Concurrent::SimpleExecutorService < ::Concurrent::RubyExecutorService # is not running # @yield the asynchronous task to perform # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb:24 def post(*args); end end end @@ -10125,21 +10128,21 @@ end # # The API and behavior of this class are based on Java's `SingleThreadExecutor`. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb#37 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb:37 class Concurrent::SingleThreadExecutor < ::Concurrent::RubySingleThreadExecutor; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb:10 Concurrent::SingleThreadExecutorImplementation = Concurrent::RubySingleThreadExecutor -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb#2 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb:2 module Concurrent::Synchronization class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/full_memory_barrier.rb#7 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/full_memory_barrier.rb:7 def full_memory_barrier; end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb:9 class Concurrent::Synchronization::AbstractLockableObject < ::Concurrent::Synchronization::Object protected @@ -10155,7 +10158,7 @@ class Concurrent::Synchronization::AbstractLockableObject < ::Concurrent::Synchr # @raise [NotImplementedError] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#96 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb:96 def ns_broadcast; end # Signal one waiting thread. @@ -10170,7 +10173,7 @@ class Concurrent::Synchronization::AbstractLockableObject < ::Concurrent::Synchr # @raise [NotImplementedError] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#81 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb:81 def ns_signal; end # Wait until another thread calls #signal or #broadcast, @@ -10187,7 +10190,7 @@ class Concurrent::Synchronization::AbstractLockableObject < ::Concurrent::Synchr # @raise [NotImplementedError] # @return [self] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#66 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb:66 def ns_wait(timeout = T.unsafe(nil)); end # Wait until condition is met or timeout passes, @@ -10205,7 +10208,7 @@ class Concurrent::Synchronization::AbstractLockableObject < ::Concurrent::Synchr # @yield condition to be met # @yieldreturn [true, false] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb:37 def ns_wait_until(timeout = T.unsafe(nil), &condition); end # @note can by made public in descendants if required by `public :synchronize` @@ -10213,55 +10216,55 @@ class Concurrent::Synchronization::AbstractLockableObject < ::Concurrent::Synchr # @yield runs the block synchronized against this object, # equivalent of java's `synchronize(this) {}` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb:18 def synchronize; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb:6 class Concurrent::Synchronization::AbstractObject # @return [AbstractObject] a new instance of AbstractObject # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb#7 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb:7 def initialize; end # @abstract # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb#13 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb:13 def full_memory_barrier; end class << self # @raise [NotImplementedError] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb#17 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb:17 def attr_volatile(*names); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:6 module Concurrent::Synchronization::AbstractStruct - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#9 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:9 def initialize(*values); end # Returns the number of struct members. # # @return [Fixnum] the number of struct members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:19 def length; end # Returns the struct members as an array of symbols. # # @return [Array] the struct members as an array of symbols # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:29 def members; end # Returns the number of struct members. # # @return [Fixnum] the number of struct members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#22 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:22 def size; end protected @@ -10272,7 +10275,7 @@ module Concurrent::Synchronization::AbstractStruct # @yield the operation to be performed on each struct member # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#82 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:82 def ns_each; end # Yields the name and value of each struct member in order. If no block is @@ -10282,7 +10285,7 @@ module Concurrent::Synchronization::AbstractStruct # @yieldparam member [Object] each struct member (in order) # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#89 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:89 def ns_each_pair; end # Equality @@ -10290,7 +10293,7 @@ module Concurrent::Synchronization::AbstractStruct # @return [Boolean] true if other has the same struct subclass and has # equal member values (according to `Object#==`) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:75 def ns_equality(other); end # Attribute Reference @@ -10301,17 +10304,17 @@ module Concurrent::Synchronization::AbstractStruct # @raise [IndexError] if the index is out of range. # @return [Object] the value of the given struct member or the member at the given index. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:59 def ns_get(member); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:119 def ns_initialize_copy; end # Describe the contents of this struct in a string. # # @return [String] the contents of this struct in a string # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#105 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:105 def ns_inspect; end # Returns a new struct containing the contents of `other` and the contents @@ -10328,7 +10331,7 @@ module Concurrent::Synchronization::AbstractStruct # @yieldparam othervalue [Object] the value of the member in `other` # @yieldparam selfvalue [Object] the value of the member in `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#114 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:114 def ns_merge(other, &block); end # Yields each member value from the struct to the block and returns an Array @@ -10339,21 +10342,21 @@ module Concurrent::Synchronization::AbstractStruct # @yield the operation to be performed on each struct member # @yieldparam value [Object] each struct value (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#98 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:98 def ns_select; end # Returns a hash containing the names and values for the struct’s members. # # @return [Hash] the names and values for the struct’s members # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#52 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:52 def ns_to_h; end # Returns the values for this struct as an Array. # # @return [Array] the values for this struct # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#38 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:38 def ns_values; end # Returns the struct member values for each selector as an Array. @@ -10362,102 +10365,102 @@ module Concurrent::Synchronization::AbstractStruct # # @param indexes [Fixnum, Range] the index(es) from which to obatin the values (in order) # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#45 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:45 def ns_values_at(indexes); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#130 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:130 def pr_underscore(clazz); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb#141 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb:141 def define_struct_class(parent, base, name, members, &block); end end end # TODO (pitr-ch 04-Dec-2016): should be in edge # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:8 class Concurrent::Synchronization::Condition < ::Concurrent::Synchronization::LockableObject # @return [Condition] a new instance of Condition # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:18 def initialize(lock); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#47 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:47 def broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:51 def ns_broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#43 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:43 def ns_signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#27 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:27 def ns_wait(timeout = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#35 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:35 def ns_wait_until(timeout = T.unsafe(nil), &condition); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#39 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:39 def signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:23 def wait(timeout = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#31 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:31 def wait_until(timeout = T.unsafe(nil), &condition); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#15 + # pkg:gem/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/condition.rb#16 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:16 def new(*args, &block); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:8 module Concurrent::Synchronization::ConditionSignalling protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#16 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:16 def ns_broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:11 def ns_signal; end end # TODO (pitr-ch 04-Dec-2016): should be in edge # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:8 class Concurrent::Synchronization::Lock < ::Concurrent::Synchronization::LockableObject - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#31 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:31 def broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#35 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:35 def ns_broadcast; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:29 def ns_signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#17 + # pkg:gem/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/lock.rb#23 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:25 def signal; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:11 def synchronize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#13 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:13 def wait(timeout = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lock.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lock.rb:19 def wait_until(timeout = T.unsafe(nil), &condition); end end @@ -10486,62 +10489,62 @@ end # end # end # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb#50 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb:50 class Concurrent::Synchronization::LockableObject < ::Concurrent::Synchronization::MutexLockableObject - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/condition.rb#57 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/condition.rb:57 def new_condition; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb:11 Concurrent::Synchronization::LockableObjectImplementation = Concurrent::Synchronization::MutexLockableObject -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#60 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:60 class Concurrent::Synchronization::MonitorLockableObject < ::Concurrent::Synchronization::AbstractLockableObject include ::Concurrent::Synchronization::ConditionSignalling extend ::Concurrent::Synchronization::SafeInitialization # @return [MonitorLockableObject] a new instance of MonitorLockableObject # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#65 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:65 def initialize; end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#83 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:83 def ns_wait(timeout = T.unsafe(nil)); end # TODO may be a problem with lock.synchronize { lock.wait } # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#79 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:79 def synchronize; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#71 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:71 def initialize_copy(other); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#25 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:25 class Concurrent::Synchronization::MutexLockableObject < ::Concurrent::Synchronization::AbstractLockableObject include ::Concurrent::Synchronization::ConditionSignalling extend ::Concurrent::Synchronization::SafeInitialization # @return [MutexLockableObject] a new instance of MutexLockableObject # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#30 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:30 def initialize; end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#52 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:52 def ns_wait(timeout = T.unsafe(nil)); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:44 def synchronize; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb#36 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:36 def initialize_copy(other); end end @@ -10550,7 +10553,7 @@ end # - volatile instance variables see {Object.attr_volatile} # - volatile instance variables see {Object.attr_atomic} # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#15 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:15 class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::AbstractObject include ::Concurrent::Synchronization::Volatile extend ::Concurrent::Synchronization::Volatile::ClassMethods @@ -10559,24 +10562,24 @@ class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::Abstr # # @return [Object] a new instance of Object # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#28 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:28 def initialize; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#146 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:146 def __initialize_atomic_fields__; end class << self # @return [true, false] is the attribute with name atomic? # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#125 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:125 def atomic_attribute?(name); end # @param inherited [true, false] should inherited volatile with CAS fields be returned? # @return [::Array] Returns defined volatile with CAS fields on this class. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#119 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:119 def atomic_attributes(inherited = T.unsafe(nil)); end # Creates methods for reading and writing to a instance variable with @@ -10589,7 +10592,7 @@ class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::Abstr # @param names [::Array] of the instance variables to be volatile with CAS. # @return [::Array] names of defined method names. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#84 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:84 def attr_atomic(*names); end # For testing purposes, quite slow. Injects assert code to new method which will raise if class instance contains @@ -10598,20 +10601,20 @@ class Concurrent::Synchronization::Object < ::Concurrent::Synchronization::Abstr # @raise when offend found # @return [true] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#45 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:45 def ensure_safe_initialization_when_final_fields_are_present; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:33 def safe_initialization!; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:37 def safe_initialization?; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#131 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/object.rb:131 def define_initialize_atomic_fields; end end end @@ -10636,9 +10639,9 @@ end # end # end # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#28 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb:28 module Concurrent::Synchronization::SafeInitialization - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb:29 def new(*args, &block); end end @@ -10661,24 +10664,24 @@ end # end # end # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/volatile.rb#28 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/volatile.rb:28 module Concurrent::Synchronization::Volatile mixes_in_class_methods ::Concurrent::Synchronization::Volatile::ClassMethods - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/volatile.rb#33 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/volatile.rb:33 def full_memory_barrier; end class << self # @private # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/volatile.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/volatile.rb:29 def included(base); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/volatile.rb#37 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/volatile.rb:37 module Concurrent::Synchronization::Volatile::ClassMethods - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/volatile.rb#39 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/synchronization/volatile.rb:39 def attr_volatile(*names); end end @@ -10697,20 +10700,20 @@ end # This class is currently being considered for inclusion into stdlib, via # https://bugs.ruby-lang.org/issues/8556 # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb#21 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb:21 class Concurrent::SynchronizedDelegator < ::SimpleDelegator # @return [SynchronizedDelegator] a new instance of SynchronizedDelegator # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb#31 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb:31 def initialize(obj); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb#36 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb:36 def method_missing(method, *args, &block); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb#22 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb:22 def setup; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb#27 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb:27 def teardown; end end @@ -10751,7 +10754,7 @@ end # value must change together, in an all-or-nothing transaction. # {include:file:docs-source/tvar.md} # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#12 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:12 class Concurrent::TVar < ::Concurrent::Synchronization::Object extend ::Concurrent::Synchronization::SafeInitialization @@ -10759,26 +10762,26 @@ class Concurrent::TVar < ::Concurrent::Synchronization::Object # # @return [TVar] a new instance of TVar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#16 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:16 def initialize(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#46 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:46 def unsafe_lock; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#36 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:36 def unsafe_value; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:41 def unsafe_value=(value); end # Get the value of a `TVar`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#22 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:22 def value; end # Set the value of a `TVar`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:29 def value=(value); end end @@ -10850,7 +10853,7 @@ end # # v.value #=> 14 # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#43 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:43 class Concurrent::ThreadLocalVar # Creates a thread local variable. # @@ -10859,7 +10862,7 @@ class Concurrent::ThreadLocalVar # default value for each thread # @return [ThreadLocalVar] a new instance of ThreadLocalVar # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:51 def initialize(default = T.unsafe(nil), &default_block); end # Bind the given value to thread local storage during @@ -10869,14 +10872,14 @@ class Concurrent::ThreadLocalVar # @return [Object] the value # @yield the operation to be performed with the bound variable # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#88 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:88 def bind(value); end # Returns the value in the current thread's copy of this thread-local variable. # # @return [Object] the current value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#70 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:70 def value; end # Sets the current thread's copy of this thread-local variable to the specified value. @@ -10884,26 +10887,26 @@ class Concurrent::ThreadLocalVar # @param value [Object] the value to set # @return [Object] the new value # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#78 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:78 def value=(value); end protected - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#103 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:103 def default; end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb#44 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb:44 Concurrent::ThreadLocalVar::LOCALS = T.let(T.unsafe(nil), Concurrent::ThreadLocals) # An array-backed storage of indexed variables per thread. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#141 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:141 class Concurrent::ThreadLocals < ::Concurrent::AbstractLocals - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#142 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:142 def locals; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/atomic/locals.rb#146 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/atomic/locals.rb:146 def locals!; end end @@ -10991,42 +10994,42 @@ end # @see http://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html Java Tutorials: Thread Pools # @see https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html#setDaemon-boolean- # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb#56 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb:56 class Concurrent::ThreadPoolExecutor < ::Concurrent::RubyThreadPoolExecutor; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb:10 Concurrent::ThreadPoolExecutorImplementation = Concurrent::RubyThreadPoolExecutor -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util.rb#4 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util.rb:4 module Concurrent::ThreadSafe; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util.rb#7 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util.rb:7 module Concurrent::ThreadSafe::Util class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#16 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb:16 def make_synchronized_on_cruby(klass); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb:41 def make_synchronized_on_truffleruby(klass); end end end # TODO (pitr-ch 15-Oct-2016): migrate to Utility::ProcessorCounter # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util.rb#13 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util.rb:13 Concurrent::ThreadSafe::Util::CPU_COUNT = T.let(T.unsafe(nil), Integer) # TODO (pitr-ch 15-Oct-2016): migrate to Utility::NativeInteger # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util.rb:10 Concurrent::ThreadSafe::Util::FIXNUM_BIT_SIZE = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/thread_safe/util.rb#11 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/thread_safe/util.rb:11 Concurrent::ThreadSafe::Util::MAX_INT = T.let(T.unsafe(nil), Integer) # Raised when an operation times out. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/errors.rb#55 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/errors.rb:55 class Concurrent::TimeoutError < ::Concurrent::Error; end # Executes a collection of tasks, each after a given delay. A master task @@ -11036,7 +11039,7 @@ class Concurrent::TimeoutError < ::Concurrent::Error; end # # @see Concurrent::ScheduledTask # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#19 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:19 class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # Create a new set of timed tasks. # @@ -11044,7 +11047,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # @param opts [Hash] the options used to specify the executor on which to perform actions # @return [TimerSet] a new instance of TimerSet # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#30 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:30 def initialize(opts = T.unsafe(nil)); end # Begin an immediate shutdown. In-progress tasks will be allowed to @@ -11052,7 +11055,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # will be accepted. Has no additional effect if the thread pool is # not running. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#62 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:62 def kill; end # Post a task to be execute run after a given delay (in seconds). If the @@ -11067,30 +11070,30 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # is successful; false after shutdown. # @yield the task to be performed. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#48 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:48 def post(delay, *args, &task); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#67 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:67 def <<(task); end # Initialize the object. # # @param opts [Hash] the options to create the object with. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#75 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:75 def ns_initialize(opts); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#95 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:95 def ns_post_task(task); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#132 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:132 def ns_reset_if_forked; end # `ExecutorService` callback called during shutdown. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#123 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:123 def ns_shutdown_execution; end # Post the task to the internal queue. @@ -11099,7 +11102,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # only. It is not intended to be used directly. Post a task # by using the `SchedulesTask#execute` method. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#90 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:90 def post_task(task); end # Run a loop and execute tasks in the scheduled order and at the approximate @@ -11107,7 +11110,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # garbage collection can occur. If there are no ready tasks it will sleep # for up to 60 seconds waiting for the next scheduled task. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#146 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:146 def process_tasks; end # Remove the given task from the queue. @@ -11116,7 +11119,7 @@ class Concurrent::TimerSet < ::Concurrent::RubyExecutorService # only. It is not intended to be used directly. Cancel a task # by using the `ScheduledTask#cancel` method. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/timer_set.rb#116 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/executor/timer_set.rb:116 def remove_task(task); end end @@ -11265,7 +11268,7 @@ end # @see http://docs.oracle.com/javase/7/docs/api/java/util/TimerTask.html # @see http://ruby-doc.org/stdlib-2.0/libdoc/observer/rdoc/Observable.html # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#166 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:166 class Concurrent::TimerTask < ::Concurrent::RubyExecutorService include ::Concurrent::Concern::Dereferenceable include ::Concurrent::Concern::Observable @@ -11285,7 +11288,7 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService # refer to the execution context of the block rather than the running # `TimerTask`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#210 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:210 def initialize(opts = T.unsafe(nil), &task); end # Execute a previously created `TimerTask`. @@ -11300,69 +11303,69 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService # task.running? #=> true # @return [TimerTask] a reference to `self` # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#236 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:236 def execute; end # @return [Fixnum] Number of seconds after the task completes before the # task is performed again. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#261 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:261 def execution_interval; end # @return [Fixnum] Number of seconds after the task completes before the # task is performed again. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#268 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:268 def execution_interval=(value); end # @return [Symbol] method to calculate the interval between executions # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#278 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:278 def interval_type; end # Is the executor running? # # @return [Boolean] `true` when running, `false` when shutting down or shutdown # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#219 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:219 def running?; end # @return [Fixnum] Number of seconds the task can run before it is # considered to have failed. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#283 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:283 def timeout_interval; end # @return [Fixnum] Number of seconds the task can run before it is # considered to have failed. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#290 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:290 def timeout_interval=(value); end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#294 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:294 def <<(task); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#357 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:357 def calculate_next_interval(start_time); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#339 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:339 def execute_task(completion, age_when_scheduled); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#298 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:298 def ns_initialize(opts, &task); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#327 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:327 def ns_kill_execution; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#321 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:321 def ns_shutdown_execution; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#294 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:294 def post(*args, &task); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#333 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:333 def schedule_next_task(interval = T.unsafe(nil)); end class << self @@ -11384,83 +11387,83 @@ class Concurrent::TimerTask < ::Concurrent::RubyExecutorService # refer to the execution context of the block rather than the running # `TimerTask`. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#254 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:254 def execute(opts = T.unsafe(nil), &task); end end end # Default `:interval_type` # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#182 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:182 Concurrent::TimerTask::DEFAULT_INTERVAL_TYPE = T.let(T.unsafe(nil), Symbol) # Default `:execution_interval` in seconds. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#171 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:171 Concurrent::TimerTask::EXECUTION_INTERVAL = T.let(T.unsafe(nil), Integer) # Maintain the interval between the end of one execution and the start of the next execution. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#174 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:174 Concurrent::TimerTask::FIXED_DELAY = T.let(T.unsafe(nil), Symbol) # Maintain the interval between the start of one execution and the start of the next. # If execution time exceeds the interval, the next execution will start immediately # after the previous execution finishes. Executions will not run concurrently. # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/timer_task.rb#179 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/timer_task.rb:179 Concurrent::TimerTask::FIXED_RATE = T.let(T.unsafe(nil), Symbol) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#153 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:153 class Concurrent::Transaction # @return [Transaction] a new instance of Transaction # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#162 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:162 def initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#192 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:192 def abort; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#196 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:196 def commit; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#177 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:177 def open(tvar); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#166 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:166 def read(tvar); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#206 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:206 def unlock; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#171 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:171 def write(tvar, value); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#212 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:212 def current; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#216 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:216 def current=(transaction); end end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#155 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:155 Concurrent::Transaction::ABORTED = T.let(T.unsafe(nil), Object) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#159 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:159 class Concurrent::Transaction::AbortError < ::StandardError; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#160 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:160 class Concurrent::Transaction::LeaveError < ::StandardError; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def modified; end # Sets the attribute modified @@ -11468,14 +11471,14 @@ class Concurrent::Transaction::OpenEntry < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def value; end # Sets the attribute value @@ -11483,23 +11486,23 @@ class Concurrent::Transaction::OpenEntry < ::Struct # @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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def value=(_); end class << self - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def [](*_arg0); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def inspect; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def keyword_init?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def members; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#157 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tvar.rb:157 def new(*_arg0); end end end @@ -11519,7 +11522,7 @@ end # @see http://www.erlang.org/doc/reference_manual/data_types.html#id70396 Erlang Tuple # @see https://en.wikipedia.org/wiki/Tuple Tuple entry at Wikipedia # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#20 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:20 class Concurrent::Tuple include ::Enumerable @@ -11528,7 +11531,7 @@ class Concurrent::Tuple # @param size [Integer] the number of elements in the tuple # @return [Tuple] a new instance of Tuple # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#29 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:29 def initialize(size); end # Set the value at the given index to the new value if and only if the current @@ -11539,7 +11542,7 @@ class Concurrent::Tuple # @param old_value [Object] the value to compare against the current value # @return [Boolean] true if the value at the given element was set else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#73 + # pkg:gem/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 @@ -11550,14 +11553,14 @@ class Concurrent::Tuple # @param old_value [Object] the value to compare against the current value # @return [Boolean] true if the value at the given element was set else false # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#69 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:69 def compare_and_set(i, old_value, new_value); end # Calls the given block once for each element in self, passing that element as a parameter. # # @yieldparam ref [Object] the `Concurrent::AtomicReference` object at the current index # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#78 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:78 def each; end # Get the value of the element at the given index. @@ -11565,7 +11568,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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:43 def get(i); end # Set the element at the given index to the given value @@ -11574,12 +11577,12 @@ 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 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:55 def set(i, value); end # The (fixed) size of the tuple. # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/tuple.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:24 def size; end # Get the value of the element at the given index. @@ -11587,7 +11590,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#47 + # pkg:gem/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 @@ -11596,156 +11599,156 @@ 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#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/tuple.rb:59 def volatile_set(i, value); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#3 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:3 module Concurrent::Utility; end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#6 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:6 module Concurrent::Utility::EngineDetector # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#7 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:7 def on_cruby?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:11 def on_jruby?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#27 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:27 def on_linux?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#23 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:23 def on_osx?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#15 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:15 def on_truffleruby?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:19 def on_windows?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/engine.rb#31 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/engine.rb:31 def ruby_version(version = T.unsafe(nil), comparison, major, minor, patch); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#9 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:9 module Concurrent::Utility::NativeExtensionLoader # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:11 def allow_c_extensions?; end # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#15 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:15 def c_extensions_loaded?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#19 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:19 def load_native_extensions; end private # @return [Boolean] # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#50 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:50 def java_extensions_loaded?; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#38 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:38 def load_error_path(error); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#46 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:46 def set_c_extensions_loaded; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#54 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:54 def set_java_extensions_loaded; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb#58 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb:58 def try_load_c_extension(path); end end # @private # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#5 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:5 module Concurrent::Utility::NativeInteger extend ::Concurrent::Utility::NativeInteger - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#24 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:24 def ensure_integer(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#31 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:31 def ensure_integer_and_bounds(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#17 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:17 def ensure_lower_bound(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#37 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:37 def ensure_positive(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#44 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:44 def ensure_positive_and_no_zero(value); end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#10 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:10 def ensure_upper_bound(value); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#8 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:8 Concurrent::Utility::NativeInteger::MAX_VALUE = T.let(T.unsafe(nil), Integer) # http://stackoverflow.com/questions/535721/ruby-max-integer # -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/native_integer.rb#7 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/native_integer.rb:7 Concurrent::Utility::NativeInteger::MIN_VALUE = T.let(T.unsafe(nil), Integer) -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#10 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:10 class Concurrent::Utility::ProcessorCounter # @return [ProcessorCounter] a new instance of ProcessorCounter # - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#11 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:11 def initialize; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#26 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:26 def available_processor_count; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#41 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:41 def cpu_quota; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#45 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:45 def cpu_shares; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#22 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:22 def physical_processor_count; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#18 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:18 def processor_count; end private - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#104 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:104 def compute_cpu_quota; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#124 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:124 def compute_cpu_shares; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#59 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:59 def compute_physical_processor_count; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#51 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:51 def compute_processor_count; end - # source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#99 + # pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/utility/processor_counter.rb:99 def run(command); end end -# source://concurrent-ruby//lib/concurrent-ruby/concurrent/version.rb#2 +# pkg:gem/concurrent-ruby#lib/concurrent-ruby/concurrent/version.rb:2 Concurrent::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/config@5.6.1.rbi b/sorbet/rbi/gems/config@5.6.1.rbi index 156f9e236..277b7fa4c 100644 --- a/sorbet/rbi/gems/config@5.6.1.rbi +++ b/sorbet/rbi/gems/config@5.6.1.rbi @@ -5,42 +5,42 @@ # Please instead update this file by running `bin/tapioca gem config`. -# source://config//lib/config/error.rb#1 +# pkg:gem/config#lib/config/error.rb:1 module Config extend ::Config::Validation::Schema class << self # Loads and sets the settings constant! # - # source://config//lib/config.rb#58 + # pkg:gem/config#lib/config.rb:58 def load_and_set_settings(*sources); end # Create a populated Options instance from a settings file. If a second file is given, then the sections of that # file will overwrite existing sections of the first file. # - # source://config//lib/config.rb#43 + # pkg:gem/config#lib/config.rb:43 def load_files(*sources); end - # source://config//lib/config.rb#76 + # pkg:gem/config#lib/config.rb:76 def local_setting_files(config_root, env); end - # source://config//lib/config.rb#84 + # pkg:gem/config#lib/config.rb:84 def reload!; end - # source://config//lib/config.rb#67 + # pkg:gem/config#lib/config.rb:67 def setting_files(config_root, env); end # @yield [_self] # @yieldparam _self [Config] the object that the method was called on # - # source://config//lib/config.rb#36 + # pkg:gem/config#lib/config.rb:36 def setup; end end end # The main configuration backbone # -# source://config//lib/config/configuration.rb#3 +# pkg:gem/config#lib/config/configuration.rb:3 class Config::Configuration < ::Module # Accepts configuration options, # initializing a module that can be used to extend @@ -48,45 +48,45 @@ class Config::Configuration < ::Module # # @return [Configuration] a new instance of Configuration # - # source://config//lib/config/configuration.rb#7 + # pkg:gem/config#lib/config/configuration.rb:7 def initialize(**attributes); end private - # source://config//lib/config/configuration.rb#16 + # pkg:gem/config#lib/config/configuration.rb:16 def define_reader(name, default); end - # source://config//lib/config/configuration.rb#28 + # pkg:gem/config#lib/config/configuration.rb:28 def define_writer(name); end end -# source://config//lib/config/dry_validation_requirements.rb#4 +# pkg:gem/config#lib/config/dry_validation_requirements.rb:4 module Config::DryValidationRequirements class << self - # source://config//lib/config/dry_validation_requirements.rb#7 + # pkg:gem/config#lib/config/dry_validation_requirements.rb:7 def load_dry_validation!; end end end -# source://config//lib/config/dry_validation_requirements.rb#5 +# pkg:gem/config#lib/config/dry_validation_requirements.rb:5 Config::DryValidationRequirements::VERSIONS = T.let(T.unsafe(nil), Array) -# source://config//lib/config/error.rb#2 +# pkg:gem/config#lib/config/error.rb:2 class Config::Error < ::StandardError; end -# source://config//lib/config/integrations/rails/railtie.rb#2 +# pkg:gem/config#lib/config/integrations/rails/railtie.rb:2 module Config::Integrations; end -# source://config//lib/config/integrations/rails/railtie.rb#3 +# pkg:gem/config#lib/config/integrations/rails/railtie.rb:3 module Config::Integrations::Rails; end -# source://config//lib/config/integrations/rails/railtie.rb#4 +# pkg:gem/config#lib/config/integrations/rails/railtie.rb:4 class Config::Integrations::Rails::Railtie < ::Rails::Railtie - # source://config//lib/config/integrations/rails/railtie.rb#5 + # pkg:gem/config#lib/config/integrations/rails/railtie.rb:5 def preload; end end -# source://config//lib/config/options.rb#5 +# pkg:gem/config#lib/config/options.rb:5 class Config::Options < ::OpenStruct include ::Enumerable include ::Config::Validation::Validate @@ -94,274 +94,274 @@ class Config::Options < ::OpenStruct # An alternative mechanism for property access. # This let's you do foo['bar'] along with foo.bar. # - # source://config//lib/config/options.rb#122 + # pkg:gem/config#lib/config/options.rb:122 def [](param); end - # source://config//lib/config/options.rb#128 + # pkg:gem/config#lib/config/options.rb:128 def []=(param, value); end - # source://config//lib/config/options.rb#17 + # pkg:gem/config#lib/config/options.rb:17 def add_source!(source); end - # source://config//lib/config/options.rb#95 + # pkg:gem/config#lib/config/options.rb:95 def as_json(options = T.unsafe(nil)); end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def collect; end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def count; end - # source://config//lib/config/options.rb#86 + # pkg:gem/config#lib/config/options.rb:86 def each(*args, &block); end # @return [Boolean] # - # source://config//lib/config/options.rb#13 + # pkg:gem/config#lib/config/options.rb:13 def empty?; end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def exit!; end # @return [Boolean] # - # source://config//lib/config/options.rb#148 + # pkg:gem/config#lib/config/options.rb:148 def has_key?(key); end # @return [Boolean] # - # source://config//lib/config/options.rb#144 + # pkg:gem/config#lib/config/options.rb:144 def key?(key); end - # source://config//lib/config/options.rb#9 + # pkg:gem/config#lib/config/options.rb:9 def keys; end # look through all our sources and rebuild the configuration # - # source://config//lib/config/options.rb#63 + # pkg:gem/config#lib/config/options.rb:63 def load!; end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def max; end - # source://config//lib/config/options.rb#139 + # pkg:gem/config#lib/config/options.rb:139 def maximum; end - # source://config//lib/config/options.rb#99 + # pkg:gem/config#lib/config/options.rb:99 def merge!(hash); end - # source://config//lib/config/options.rb#152 + # pkg:gem/config#lib/config/options.rb:152 def method_missing(method_name, *args); end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def min; end - # source://config//lib/config/options.rb#139 + # pkg:gem/config#lib/config/options.rb:139 def minimum; end - # source://config//lib/config/options.rb#26 + # pkg:gem/config#lib/config/options.rb:26 def prepend_source!(source); end # look through all our sources and rebuild the configuration # - # source://config//lib/config/options.rb#35 + # pkg:gem/config#lib/config/options.rb:35 def reload!; end - # source://config//lib/config/options.rb#65 + # pkg:gem/config#lib/config/options.rb:65 def reload_from_files(*files); end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def select; end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def table; end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def test; end - # source://config//lib/config/options.rb#84 + # pkg:gem/config#lib/config/options.rb:84 def to_h; end - # source://config//lib/config/options.rb#70 + # pkg:gem/config#lib/config/options.rb:70 def to_hash; end - # source://config//lib/config/options.rb#90 + # pkg:gem/config#lib/config/options.rb:90 def to_json(*args); end - # source://config//lib/config/options.rb#133 + # pkg:gem/config#lib/config/options.rb:133 def zip; end protected # Recursively converts Hashes to Options (including Hashes inside Arrays) # - # source://config//lib/config/options.rb#178 + # pkg:gem/config#lib/config/options.rb:178 def __convert(h); end - # source://config//lib/config/options.rb#165 + # pkg:gem/config#lib/config/options.rb:165 def descend_array(array); end private # @return [Boolean] # - # source://config//lib/config/options.rb#159 + # pkg:gem/config#lib/config/options.rb:159 def respond_to_missing?(*args); end end # Some keywords that don't play nicely with Rails 7.* # -# source://config//lib/config/options.rb#118 +# pkg:gem/config#lib/config/options.rb:118 Config::Options::RAILS_RESERVED_NAMES = T.let(T.unsafe(nil), Array) # Some keywords that don't play nicely with OpenStruct # -# source://config//lib/config/options.rb#115 +# pkg:gem/config#lib/config/options.rb:115 Config::Options::SETTINGS_RESERVED_NAMES = T.let(T.unsafe(nil), Array) -# source://config//lib/config/sources/yaml_source.rb#5 +# pkg:gem/config#lib/config/sources/yaml_source.rb:5 module Config::Sources; end # Allows settings to be loaded from a "flat" hash with string keys, like ENV. # -# source://config//lib/config/sources/env_source.rb#4 +# pkg:gem/config#lib/config/sources/env_source.rb:4 class Config::Sources::EnvSource # @return [EnvSource] a new instance of EnvSource # - # source://config//lib/config/sources/env_source.rb#11 + # pkg:gem/config#lib/config/sources/env_source.rb:11 def initialize(env, prefix: T.unsafe(nil), separator: T.unsafe(nil), converter: T.unsafe(nil), parse_values: T.unsafe(nil), parse_arrays: T.unsafe(nil)); end # Returns the value of attribute converter. # - # source://config//lib/config/sources/env_source.rb#7 + # pkg:gem/config#lib/config/sources/env_source.rb:7 def converter; end - # source://config//lib/config/sources/env_source.rb#25 + # pkg:gem/config#lib/config/sources/env_source.rb:25 def load; end # Returns the value of attribute parse_arrays. # - # source://config//lib/config/sources/env_source.rb#9 + # pkg:gem/config#lib/config/sources/env_source.rb:9 def parse_arrays; end # Returns the value of attribute parse_values. # - # source://config//lib/config/sources/env_source.rb#8 + # pkg:gem/config#lib/config/sources/env_source.rb:8 def parse_values; end # Returns the value of attribute prefix. # - # source://config//lib/config/sources/env_source.rb#5 + # pkg:gem/config#lib/config/sources/env_source.rb:5 def prefix; end # Returns the value of attribute separator. # - # source://config//lib/config/sources/env_source.rb#6 + # pkg:gem/config#lib/config/sources/env_source.rb:6 def separator; end private # Try to convert string to a correct type # - # source://config//lib/config/sources/env_source.rb#82 + # pkg:gem/config#lib/config/sources/env_source.rb:82 def __value(v); end # @return [Boolean] # - # source://config//lib/config/sources/env_source.rb#77 + # pkg:gem/config#lib/config/sources/env_source.rb:77 def consecutive_numeric_keys?(keys); end - # source://config//lib/config/sources/env_source.rb#62 + # pkg:gem/config#lib/config/sources/env_source.rb:62 def convert_hashes_to_arrays(hash); end end -# source://config//lib/config/sources/hash_source.rb#3 +# pkg:gem/config#lib/config/sources/hash_source.rb:3 class Config::Sources::HashSource # @return [HashSource] a new instance of HashSource # - # source://config//lib/config/sources/hash_source.rb#6 + # pkg:gem/config#lib/config/sources/hash_source.rb:6 def initialize(hash); end # Returns the value of attribute hash. # - # source://config//lib/config/sources/hash_source.rb#4 + # pkg:gem/config#lib/config/sources/hash_source.rb:4 def hash; end # Sets the attribute hash # # @param value the value to set the attribute hash to. # - # source://config//lib/config/sources/hash_source.rb#4 + # pkg:gem/config#lib/config/sources/hash_source.rb:4 def hash=(_arg0); end # returns hash that was passed in to initialize # - # source://config//lib/config/sources/hash_source.rb#11 + # pkg:gem/config#lib/config/sources/hash_source.rb:11 def load; end end -# source://config//lib/config/sources/yaml_source.rb#6 +# pkg:gem/config#lib/config/sources/yaml_source.rb:6 class Config::Sources::YAMLSource # @return [YAMLSource] a new instance of YAMLSource # - # source://config//lib/config/sources/yaml_source.rb#10 + # pkg:gem/config#lib/config/sources/yaml_source.rb:10 def initialize(path, evaluate_erb: T.unsafe(nil)); end # Returns the value of attribute evaluate_erb. # - # source://config//lib/config/sources/yaml_source.rb#8 + # pkg:gem/config#lib/config/sources/yaml_source.rb:8 def evaluate_erb; end # returns a config hash from the YML file # - # source://config//lib/config/sources/yaml_source.rb#16 + # pkg:gem/config#lib/config/sources/yaml_source.rb:16 def load; end # Returns the value of attribute path. # - # source://config//lib/config/sources/yaml_source.rb#7 + # pkg:gem/config#lib/config/sources/yaml_source.rb:7 def path; end # Sets the attribute path # # @param value the value to set the attribute path to. # - # source://config//lib/config/sources/yaml_source.rb#7 + # pkg:gem/config#lib/config/sources/yaml_source.rb:7 def path=(_arg0); end end -# source://config//lib/config/version.rb#2 +# pkg:gem/config#lib/config/version.rb:2 Config::VERSION = T.let(T.unsafe(nil), String) -# source://config//lib/config/validation/error.rb#4 +# pkg:gem/config#lib/config/validation/error.rb:4 module Config::Validation; end -# source://config//lib/config/validation/error.rb#5 +# pkg:gem/config#lib/config/validation/error.rb:5 class Config::Validation::Error < ::Config::Error class << self - # source://config//lib/config/validation/error.rb#7 + # pkg:gem/config#lib/config/validation/error.rb:7 def format(v_res); end end end -# source://config//lib/config/validation/schema.rb#6 +# pkg:gem/config#lib/config/validation/schema.rb:6 module Config::Validation::Schema - # source://config//lib/config/validation/schema.rb#12 + # pkg:gem/config#lib/config/validation/schema.rb:12 def schema(&block); end # Assigns schema configuration option # - # source://config//lib/config/validation/schema.rb#8 + # pkg:gem/config#lib/config/validation/schema.rb:8 def schema=(value); end end -# source://config//lib/config/validation/validate.rb#5 +# pkg:gem/config#lib/config/validation/validate.rb:5 module Config::Validation::Validate - # source://config//lib/config/validation/validate.rb#6 + # pkg:gem/config#lib/config/validation/validate.rb:6 def validate!; end private - # source://config//lib/config/validation/validate.rb#17 + # pkg:gem/config#lib/config/validation/validate.rb:17 def validate_using!(validator); end end diff --git a/sorbet/rbi/gems/connection_pool@3.0.2.rbi b/sorbet/rbi/gems/connection_pool@3.0.2.rbi index b351311e8..23db61062 100644 --- a/sorbet/rbi/gems/connection_pool@3.0.2.rbi +++ b/sorbet/rbi/gems/connection_pool@3.0.2.rbi @@ -34,23 +34,23 @@ # - :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 +# pkg:gem/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#48 + # pkg:gem/connection_pool#lib/connection_pool.rb:48 def initialize(timeout: T.unsafe(nil), size: T.unsafe(nil), auto_reload_after_fork: T.unsafe(nil), name: T.unsafe(nil), &_arg4); end # Number of pool entries available for checkout at this instant. # - # source://connection_pool//lib/connection_pool.rb#173 + # pkg:gem/connection_pool#lib/connection_pool.rb:173 def available; end - # source://connection_pool//lib/connection_pool.rb#123 + # pkg:gem/connection_pool#lib/connection_pool.rb:123 def checkin(force: T.unsafe(nil)); end - # source://connection_pool//lib/connection_pool.rb#111 + # pkg:gem/connection_pool#lib/connection_pool.rb:111 def checkout(timeout: T.unsafe(nil), **_arg1); end # Marks the current thread's checked-out connection for discard. @@ -80,69 +80,69 @@ class ConnectionPool # @yieldparam conn [Object] The connection to be discarded. # @yieldreturn [void] # - # source://connection_pool//lib/connection_pool.rb#107 + # pkg:gem/connection_pool#lib/connection_pool.rb:107 def discard_current_connection(&block); end # Number of pool entries created and idle in the pool. # - # source://connection_pool//lib/connection_pool.rb#178 + # pkg:gem/connection_pool#lib/connection_pool.rb:178 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#168 + # pkg:gem/connection_pool#lib/connection_pool.rb:168 def reap(idle_seconds: T.unsafe(nil), &_arg1); 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#162 + # pkg:gem/connection_pool#lib/connection_pool.rb:162 def reload(&_arg0); 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#154 + # pkg:gem/connection_pool#lib/connection_pool.rb:154 def shutdown(&_arg0); end # Returns the value of attribute size. # - # source://connection_pool//lib/connection_pool.rb#46 + # pkg:gem/connection_pool#lib/connection_pool.rb:46 def size; end - # source://connection_pool//lib/connection_pool.rb#75 + # pkg:gem/connection_pool#lib/connection_pool.rb:75 def then(**_arg0); end - # source://connection_pool//lib/connection_pool.rb#60 + # pkg:gem/connection_pool#lib/connection_pool.rb:60 def with(**_arg0); end class << self - # source://connection_pool//lib/connection_pool/fork.rb#6 + # pkg:gem/connection_pool#lib/connection_pool/fork.rb:6 def after_fork; end - # source://connection_pool//lib/connection_pool.rb#42 + # pkg:gem/connection_pool#lib/connection_pool.rb:42 def wrap(**_arg0, &_arg1); end end end -# source://connection_pool//lib/connection_pool.rb#5 +# pkg:gem/connection_pool#lib/connection_pool.rb:5 class ConnectionPool::Error < ::RuntimeError; end -# source://connection_pool//lib/connection_pool/fork.rb#21 +# pkg:gem/connection_pool#lib/connection_pool/fork.rb:21 module ConnectionPool::ForkTracker - # source://connection_pool//lib/connection_pool/fork.rb#22 + # pkg:gem/connection_pool#lib/connection_pool/fork.rb:22 def _fork; end end # JRuby, et al # -# source://connection_pool//lib/connection_pool/fork.rb#3 +# pkg:gem/connection_pool#lib/connection_pool/fork.rb:3 ConnectionPool::INSTANCES = T.let(T.unsafe(nil), ObjectSpace::WeakMap) -# source://connection_pool//lib/connection_pool.rb#7 +# pkg:gem/connection_pool#lib/connection_pool.rb:7 class ConnectionPool::PoolShuttingDownError < ::ConnectionPool::Error; end # The TimedStack manages a pool of homogeneous connections (or any resource @@ -163,47 +163,47 @@ 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#19 +# pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:19 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#25 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:25 def initialize(size: T.unsafe(nil), &block); end # Returns +obj+ to the stack. Additional kwargs are ignored in TimedStack but may be # used by subclasses that extend TimedStack. # - # source://connection_pool//lib/connection_pool/timed_stack.rb#50 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:50 def <<(obj, **_arg1); end # Reduce the created count # - # source://connection_pool//lib/connection_pool/timed_stack.rb#143 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:143 def decrement_created; end # Returns +true+ if there are no available connections. # # @return [Boolean] # - # source://connection_pool//lib/connection_pool/timed_stack.rb#125 + # pkg:gem/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#137 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:137 def idle; end # The number of connections available on the stack. # - # source://connection_pool//lib/connection_pool/timed_stack.rb#131 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:131 def length; end # Returns the value of attribute max. # - # source://connection_pool//lib/connection_pool/timed_stack.rb#20 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:20 def max; end # Retrieves a connection from the stack. If a connection is available it is @@ -216,20 +216,20 @@ class ConnectionPool::TimedStack # @option options # @param options [Hash] a customizable set of options # - # source://connection_pool//lib/connection_pool/timed_stack.rb#62 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:62 def pop(timeout: T.unsafe(nil), exception: T.unsafe(nil), **_arg2); end # Returns +obj+ to the stack. Additional kwargs are ignored in TimedStack but may be # used by subclasses that extend TimedStack. # - # source://connection_pool//lib/connection_pool/timed_stack.rb#38 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:38 def push(obj, **_arg1); end # Reaps connections that were checked in more than +idle_seconds+ ago. # # @raise [ArgumentError] # - # source://connection_pool//lib/connection_pool/timed_stack.rb#106 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:106 def reap(idle_seconds:); end # Shuts down the TimedStack by passing each connection to +block+ and then @@ -239,7 +239,7 @@ class ConnectionPool::TimedStack # # @raise [ArgumentError] # - # source://connection_pool//lib/connection_pool/timed_stack.rb#92 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:92 def shutdown(reload: T.unsafe(nil), &block); end private @@ -250,17 +250,17 @@ class ConnectionPool::TimedStack # # @return [Boolean] # - # source://connection_pool//lib/connection_pool/timed_stack.rb#167 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:167 def connection_stored?(**_arg0); end - # source://connection_pool//lib/connection_pool/timed_stack.rb#149 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:149 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#175 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:175 def fetch_connection(**_arg0); end # This is an extension point for TimedStack and is called with a mutex. @@ -269,7 +269,7 @@ class ConnectionPool::TimedStack # # @return [Boolean] # - # source://connection_pool//lib/connection_pool/timed_stack.rb#209 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:209 def idle_connections?(idle_seconds); end # This is an extension point for TimedStack and is called with a mutex. @@ -277,21 +277,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#195 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:195 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#183 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:183 def shutdown_connections(**_arg0); 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#220 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:220 def store_connection(obj, **_arg1); end # This is an extension point for TimedStack and is called with a mutex. @@ -299,7 +299,7 @@ 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#229 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:229 def try_create(**_arg0); end # This is an extension point for TimedStack and is called with a mutex. @@ -308,55 +308,55 @@ class ConnectionPool::TimedStack # subclasses with expensive match/search algorithms to avoid double-handling # their stack. # - # source://connection_pool//lib/connection_pool/timed_stack.rb#159 + # pkg:gem/connection_pool#lib/connection_pool/timed_stack.rb:159 def try_fetch_connection(**_arg0); end end -# source://connection_pool//lib/connection_pool.rb#9 +# pkg:gem/connection_pool#lib/connection_pool.rb:9 class ConnectionPool::TimeoutError < ::Timeout::Error; end -# source://connection_pool//lib/connection_pool/version.rb#2 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:5 def initialize(**options, &_arg1); end - # source://connection_pool//lib/connection_pool/wrapper.rb#37 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:37 def method_missing(name, *_arg1, **_arg2, &_arg3); end - # source://connection_pool//lib/connection_pool/wrapper.rb#25 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:25 def pool_available; end - # source://connection_pool//lib/connection_pool/wrapper.rb#17 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:17 def pool_shutdown(&_arg0); end - # source://connection_pool//lib/connection_pool/wrapper.rb#21 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:21 def pool_size; end # @return [Boolean] # - # source://connection_pool//lib/connection_pool/wrapper.rb#29 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:29 def respond_to?(id, *_arg1, **_arg2); end - # source://connection_pool//lib/connection_pool/wrapper.rb#13 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:13 def with(**_arg0, &_arg1); end - # source://connection_pool//lib/connection_pool/wrapper.rb#9 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:9 def wrapped_pool; end private # @return [Boolean] # - # source://connection_pool//lib/connection_pool/wrapper.rb#33 + # pkg:gem/connection_pool#lib/connection_pool/wrapper.rb:33 def respond_to_missing?(id, *_arg1, **_arg2); end end -# source://connection_pool//lib/connection_pool/wrapper.rb#3 +# pkg:gem/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/crack@1.0.1.rbi b/sorbet/rbi/gems/crack@1.0.1.rbi index 9e1f7b094..36980479d 100644 --- a/sorbet/rbi/gems/crack@1.0.1.rbi +++ b/sorbet/rbi/gems/crack@1.0.1.rbi @@ -5,27 +5,27 @@ # Please instead update this file by running `bin/tapioca gem crack`. -# source://crack//lib/crack/xml.rb#196 +# pkg:gem/crack#lib/crack/xml.rb:196 module Crack; end -# source://crack//lib/crack/xml.rb#197 +# pkg:gem/crack#lib/crack/xml.rb:197 class Crack::REXMLParser class << self - # source://crack//lib/crack/xml.rb#198 + # pkg:gem/crack#lib/crack/xml.rb:198 def parse(xml); end end end -# source://crack//lib/crack/xml.rb#225 +# pkg:gem/crack#lib/crack/xml.rb:225 class Crack::XML class << self - # source://crack//lib/crack/xml.rb#234 + # pkg:gem/crack#lib/crack/xml.rb:234 def parse(xml); end - # source://crack//lib/crack/xml.rb#226 + # pkg:gem/crack#lib/crack/xml.rb:226 def parser; end - # source://crack//lib/crack/xml.rb#230 + # pkg:gem/crack#lib/crack/xml.rb:230 def parser=(parser); end end end @@ -36,56 +36,56 @@ end # This represents the hard part of the work, all I did was change the # underlying parser. # -# source://crack//lib/crack/xml.rb#23 +# pkg:gem/crack#lib/crack/xml.rb:23 class REXMLUtilityNode # @return [REXMLUtilityNode] a new instance of REXMLUtilityNode # - # source://crack//lib/crack/xml.rb#56 + # pkg:gem/crack#lib/crack/xml.rb:56 def initialize(name, normalized_attributes = T.unsafe(nil)); end - # source://crack//lib/crack/xml.rb#73 + # pkg:gem/crack#lib/crack/xml.rb:73 def add_node(node); end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def attributes; end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def attributes=(_arg0); end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def children; end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def children=(_arg0); end # Get the inner_html of the REXML node. # - # source://crack//lib/crack/xml.rb#172 + # pkg:gem/crack#lib/crack/xml.rb:172 def inner_html; end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def name; end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def name=(_arg0); end - # source://crack//lib/crack/xml.rb#78 + # pkg:gem/crack#lib/crack/xml.rb:78 def to_hash; end # Converts the node into a readable HTML node. # # @return [String] The HTML node in text form. # - # source://crack//lib/crack/xml.rb#179 + # pkg:gem/crack#lib/crack/xml.rb:179 def to_html; end - # source://crack//lib/crack/xml.rb#185 + # pkg:gem/crack#lib/crack/xml.rb:185 def to_s; end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def type; end - # source://crack//lib/crack/xml.rb#24 + # pkg:gem/crack#lib/crack/xml.rb:24 def type=(_arg0); end # Typecasts a value based upon its type. For instance, if @@ -97,30 +97,30 @@ class REXMLUtilityNode # @param value [String] The value that is being typecast. # @return [Integer, TrueClass, FalseClass, Time, Date, Object] The result of typecasting +value+. # - # source://crack//lib/crack/xml.rb#157 + # pkg:gem/crack#lib/crack/xml.rb:157 def typecast_value(value); end # Take keys of the form foo-bar and convert them to foo_bar # - # source://crack//lib/crack/xml.rb#164 + # pkg:gem/crack#lib/crack/xml.rb:164 def undasherize_keys(params); end private - # source://crack//lib/crack/xml.rb#191 + # pkg:gem/crack#lib/crack/xml.rb:191 def unnormalize_xml_entities(value); end class << self - # source://crack//lib/crack/xml.rb#34 + # pkg:gem/crack#lib/crack/xml.rb:34 def available_typecasts; end - # source://crack//lib/crack/xml.rb#38 + # pkg:gem/crack#lib/crack/xml.rb:38 def available_typecasts=(obj); end - # source://crack//lib/crack/xml.rb#26 + # pkg:gem/crack#lib/crack/xml.rb:26 def typecasts; end - # source://crack//lib/crack/xml.rb#30 + # pkg:gem/crack#lib/crack/xml.rb:30 def typecasts=(obj); end end end @@ -129,17 +129,17 @@ end # avoid the dynamic insertion of stuff on it (see version previous to this commit). # Doing that disables the possibility of efectuating a dump on the structure. This way it goes. # -# source://crack//lib/crack/xml.rb#14 +# pkg:gem/crack#lib/crack/xml.rb:14 class REXMLUtiliyNodeString < ::String # Returns the value of attribute attributes. # - # source://crack//lib/crack/xml.rb#15 + # pkg:gem/crack#lib/crack/xml.rb:15 def attributes; end # Sets the attribute attributes # # @param value the value to set the attribute attributes to. # - # source://crack//lib/crack/xml.rb#15 + # pkg:gem/crack#lib/crack/xml.rb:15 def attributes=(_arg0); end end diff --git a/sorbet/rbi/gems/crass@1.0.6.rbi b/sorbet/rbi/gems/crass@1.0.6.rbi index 0979e2f46..2a4db6dc2 100644 --- a/sorbet/rbi/gems/crass@1.0.6.rbi +++ b/sorbet/rbi/gems/crass@1.0.6.rbi @@ -7,14 +7,14 @@ # A CSS parser based on the CSS Syntax Module Level 3 spec. # -# source://crass//lib/crass/token-scanner.rb#3 +# pkg:gem/crass#lib/crass/token-scanner.rb:3 module Crass class << self # Parses _input_ as a CSS stylesheet and returns a parse tree. # # See {Tokenizer#initialize} for _options_. # - # source://crass//lib/crass.rb#10 + # pkg:gem/crass#lib/crass.rb:10 def parse(input, options = T.unsafe(nil)); end # Parses _input_ as a string of CSS properties (such as the contents of an @@ -22,7 +22,7 @@ module Crass # # See {Tokenizer#initialize} for _options_. # - # source://crass//lib/crass.rb#18 + # pkg:gem/crass#lib/crass.rb:18 def parse_properties(input, options = T.unsafe(nil)); end end end @@ -31,7 +31,7 @@ end # # 5. http://dev.w3.org/csswg/css-syntax/#parsing # -# source://crass//lib/crass/parser.rb#10 +# pkg:gem/crass#lib/crass/parser.rb:10 class Crass::Parser # Initializes a parser based on the given _input_, which may be a CSS string # or an array of tokens. @@ -40,14 +40,14 @@ class Crass::Parser # # @return [Parser] a new instance of Parser # - # source://crass//lib/crass/parser.rb#126 + # pkg:gem/crass#lib/crass/parser.rb:126 def initialize(input, options = T.unsafe(nil)); end # Consumes an at-rule and returns it. # # 5.4.2. http://dev.w3.org/csswg/css-syntax-3/#consume-at-rule # - # source://crass//lib/crass/parser.rb#137 + # pkg:gem/crass#lib/crass/parser.rb:137 def consume_at_rule(input = T.unsafe(nil)); end # Consumes a component value and returns it, or `nil` if there are no more @@ -55,14 +55,14 @@ class Crass::Parser # # 5.4.6. http://dev.w3.org/csswg/css-syntax-3/#consume-a-component-value # - # source://crass//lib/crass/parser.rb#184 + # pkg:gem/crass#lib/crass/parser.rb:184 def consume_component_value(input = T.unsafe(nil)); end # Consumes a declaration and returns it, or `nil` on parse error. # # 5.4.5. http://dev.w3.org/csswg/css-syntax-3/#consume-a-declaration # - # source://crass//lib/crass/parser.rb#209 + # pkg:gem/crass#lib/crass/parser.rb:209 def consume_declaration(input = T.unsafe(nil)); end # Consumes a list of declarations and returns them. @@ -77,14 +77,14 @@ class Crass::Parser # # 5.4.4. http://dev.w3.org/csswg/css-syntax/#consume-a-list-of-declarations # - # source://crass//lib/crass/parser.rb#276 + # pkg:gem/crass#lib/crass/parser.rb:276 def consume_declarations(input = T.unsafe(nil), options = T.unsafe(nil)); end # Consumes a function and returns it. # # 5.4.8. http://dev.w3.org/csswg/css-syntax-3/#consume-a-function # - # source://crass//lib/crass/parser.rb#326 + # pkg:gem/crass#lib/crass/parser.rb:326 def consume_function(input = T.unsafe(nil)); end # Consumes a qualified rule and returns it, or `nil` if a parse error @@ -92,14 +92,14 @@ class Crass::Parser # # 5.4.3. http://dev.w3.org/csswg/css-syntax-3/#consume-a-qualified-rule # - # source://crass//lib/crass/parser.rb#357 + # pkg:gem/crass#lib/crass/parser.rb:357 def consume_qualified_rule(input = T.unsafe(nil)); end # Consumes a list of rules and returns them. # # 5.4.1. http://dev.w3.org/csswg/css-syntax/#consume-a-list-of-rules # - # source://crass//lib/crass/parser.rb#398 + # pkg:gem/crass#lib/crass/parser.rb:398 def consume_rules(flags = T.unsafe(nil)); end # Consumes and returns a simple block associated with the current input @@ -107,12 +107,12 @@ class Crass::Parser # # 5.4.7. http://dev.w3.org/csswg/css-syntax/#consume-a-simple-block # - # source://crass//lib/crass/parser.rb#434 + # pkg:gem/crass#lib/crass/parser.rb:434 def consume_simple_block(input = T.unsafe(nil)); end # Creates and returns a new parse node with the given _properties_. # - # source://crass//lib/crass/parser.rb#458 + # pkg:gem/crass#lib/crass/parser.rb:458 def create_node(type, properties = T.unsafe(nil)); end # Parses the given _input_ tokens into a selector node and returns it. @@ -120,34 +120,34 @@ class Crass::Parser # Doesn't bother splitting the selector list into individual selectors or # validating them. Feel free to do that yourself! It'll be fun! # - # source://crass//lib/crass/parser.rb#466 + # pkg:gem/crass#lib/crass/parser.rb:466 def create_selector(input); end # Creates a `:style_rule` node from the given qualified _rule_, and returns # it. # - # source://crass//lib/crass/parser.rb#474 + # pkg:gem/crass#lib/crass/parser.rb:474 def create_style_rule(rule); end # Parses a single component value and returns it. # # 5.3.7. http://dev.w3.org/csswg/css-syntax-3/#parse-a-component-value # - # source://crass//lib/crass/parser.rb#483 + # pkg:gem/crass#lib/crass/parser.rb:483 def parse_component_value(input = T.unsafe(nil)); end # Parses a list of component values and returns an array of parsed tokens. # # 5.3.8. http://dev.w3.org/csswg/css-syntax/#parse-a-list-of-component-values # - # source://crass//lib/crass/parser.rb#510 + # pkg:gem/crass#lib/crass/parser.rb:510 def parse_component_values(input = T.unsafe(nil)); end # Parses a single declaration and returns it. # # 5.3.5. http://dev.w3.org/csswg/css-syntax/#parse-a-declaration # - # source://crass//lib/crass/parser.rb#524 + # pkg:gem/crass#lib/crass/parser.rb:524 def parse_declaration(input = T.unsafe(nil)); end # Parses a list of declarations and returns them. @@ -156,31 +156,31 @@ class Crass::Parser # # 5.3.6. http://dev.w3.org/csswg/css-syntax/#parse-a-list-of-declarations # - # source://crass//lib/crass/parser.rb#552 + # pkg:gem/crass#lib/crass/parser.rb:552 def parse_declarations(input = T.unsafe(nil), options = T.unsafe(nil)); end # Parses a list of declarations and returns an array of `:property` nodes # (and any non-declaration nodes that were in the input). This is useful for # parsing the contents of an HTML element's `style` attribute. # - # source://crass//lib/crass/parser.rb#560 + # pkg:gem/crass#lib/crass/parser.rb:560 def parse_properties(input = T.unsafe(nil)); end # Parses a single rule and returns it. # # 5.3.4. http://dev.w3.org/csswg/css-syntax-3/#parse-a-rule # - # source://crass//lib/crass/parser.rb#586 + # pkg:gem/crass#lib/crass/parser.rb:586 def parse_rule(input = T.unsafe(nil)); end # Returns the unescaped value of a selector name or property declaration. # - # source://crass//lib/crass/parser.rb#615 + # pkg:gem/crass#lib/crass/parser.rb:615 def parse_value(nodes); end # {TokenScanner} wrapping the tokens generated from this parser's input. # - # source://crass//lib/crass/parser.rb#120 + # pkg:gem/crass#lib/crass/parser.rb:120 def tokens; end class << self @@ -191,7 +191,7 @@ class Crass::Parser # # 5.3.6. http://dev.w3.org/csswg/css-syntax/#parse-a-list-of-declarations # - # source://crass//lib/crass/parser.rb#25 + # pkg:gem/crass#lib/crass/parser.rb:25 def parse_properties(input, options = T.unsafe(nil)); end # Parses CSS rules (such as the content of a `@media` block) and returns a @@ -202,7 +202,7 @@ class Crass::Parser # # 5.3.3. http://dev.w3.org/csswg/css-syntax/#parse-a-list-of-rules # - # source://crass//lib/crass/parser.rb#36 + # pkg:gem/crass#lib/crass/parser.rb:36 def parse_rules(input, options = T.unsafe(nil)); end # Parses a CSS stylesheet and returns a parse tree. @@ -211,7 +211,7 @@ class Crass::Parser # # 5.3.2. http://dev.w3.org/csswg/css-syntax/#parse-a-stylesheet # - # source://crass//lib/crass/parser.rb#54 + # pkg:gem/crass#lib/crass/parser.rb:54 def parse_stylesheet(input, options = T.unsafe(nil)); end # Converts a node or array of nodes into a CSS string based on their @@ -221,43 +221,43 @@ class Crass::Parser # # * **:exclude_comments** - When `true`, comments will be excluded. # - # source://crass//lib/crass/parser.rb#74 + # pkg:gem/crass#lib/crass/parser.rb:74 def stringify(nodes, options = T.unsafe(nil)); end end end -# source://crass//lib/crass/parser.rb#11 +# pkg:gem/crass#lib/crass/parser.rb:11 Crass::Parser::BLOCK_END_TOKENS = T.let(T.unsafe(nil), Hash) # Similar to a StringScanner, but with extra functionality needed to tokenize # CSS while preserving the original text. # -# source://crass//lib/crass/scanner.rb#8 +# pkg:gem/crass#lib/crass/scanner.rb:8 class Crass::Scanner # Creates a Scanner instance for the given _input_ string or IO instance. # # @return [Scanner] a new instance of Scanner # - # source://crass//lib/crass/scanner.rb#25 + # pkg:gem/crass#lib/crass/scanner.rb:25 def initialize(input); end # Consumes the next character and returns it, advancing the pointer, or # an empty string if the end of the string has been reached. # - # source://crass//lib/crass/scanner.rb#34 + # pkg:gem/crass#lib/crass/scanner.rb:34 def consume; end # Consumes the rest of the string and returns it, advancing the pointer to # the end of the string. Returns an empty string is the end of the string # has already been reached. # - # source://crass//lib/crass/scanner.rb#46 + # pkg:gem/crass#lib/crass/scanner.rb:46 def consume_rest; end # Current character, or `nil` if the scanner hasn't yet consumed a # character, or is at the end of the string. # - # source://crass//lib/crass/scanner.rb#11 + # pkg:gem/crass#lib/crass/scanner.rb:11 def current; end # Returns `true` if the end of the string has been reached, `false` @@ -265,136 +265,136 @@ class Crass::Scanner # # @return [Boolean] # - # source://crass//lib/crass/scanner.rb#57 + # pkg:gem/crass#lib/crass/scanner.rb:57 def eos?; end # Sets the marker to the position of the next character that will be # consumed. # - # source://crass//lib/crass/scanner.rb#63 + # pkg:gem/crass#lib/crass/scanner.rb:63 def mark; end # Returns the substring between {#marker} and {#pos}, without altering the # pointer. # - # source://crass//lib/crass/scanner.rb#69 + # pkg:gem/crass#lib/crass/scanner.rb:69 def marked; end # Current marker position. Use {#marked} to get the substring between # {#marker} and {#pos}. # - # source://crass//lib/crass/scanner.rb#15 + # pkg:gem/crass#lib/crass/scanner.rb:15 def marker; end # Current marker position. Use {#marked} to get the substring between # {#marker} and {#pos}. # - # source://crass//lib/crass/scanner.rb#15 + # pkg:gem/crass#lib/crass/scanner.rb:15 def marker=(_arg0); end # Returns up to _length_ characters starting at the current position, but # doesn't consume them. The number of characters returned may be less than # _length_ if the end of the string is reached. # - # source://crass//lib/crass/scanner.rb#80 + # pkg:gem/crass#lib/crass/scanner.rb:80 def peek(length = T.unsafe(nil)); end # Position of the next character that will be consumed. This is a character # position, not a byte position, so it accounts for multi-byte characters. # - # source://crass//lib/crass/scanner.rb#19 + # pkg:gem/crass#lib/crass/scanner.rb:19 def pos; end # Position of the next character that will be consumed. This is a character # position, not a byte position, so it accounts for multi-byte characters. # - # source://crass//lib/crass/scanner.rb#19 + # pkg:gem/crass#lib/crass/scanner.rb:19 def pos=(_arg0); end # Moves the pointer back one character without changing the value of # {#current}. The next call to {#consume} will re-consume the current # character. # - # source://crass//lib/crass/scanner.rb#87 + # pkg:gem/crass#lib/crass/scanner.rb:87 def reconsume; end # Resets the pointer to the beginning of the string. # - # source://crass//lib/crass/scanner.rb#93 + # pkg:gem/crass#lib/crass/scanner.rb:93 def reset; end # Tries to match _pattern_ at the current position. If it matches, the # matched substring will be returned and the pointer will be advanced. # Otherwise, `nil` will be returned. # - # source://crass//lib/crass/scanner.rb#103 + # pkg:gem/crass#lib/crass/scanner.rb:103 def scan(pattern); end # Scans the string until the _pattern_ is matched. Returns the substring up # to and including the end of the match, and advances the pointer. If there # is no match, `nil` is returned and the pointer is not advanced. # - # source://crass//lib/crass/scanner.rb#115 + # pkg:gem/crass#lib/crass/scanner.rb:115 def scan_until(pattern); end # String being scanned. # - # source://crass//lib/crass/scanner.rb#22 + # pkg:gem/crass#lib/crass/scanner.rb:22 def string; end end # Like {Scanner}, but for tokens! # -# source://crass//lib/crass/token-scanner.rb#6 +# pkg:gem/crass#lib/crass/token-scanner.rb:6 class Crass::TokenScanner # @return [TokenScanner] a new instance of TokenScanner # - # source://crass//lib/crass/token-scanner.rb#9 + # pkg:gem/crass#lib/crass/token-scanner.rb:9 def initialize(tokens); end # Executes the given block, collects all tokens that are consumed during its # execution, and returns them. # - # source://crass//lib/crass/token-scanner.rb#16 + # pkg:gem/crass#lib/crass/token-scanner.rb:16 def collect; end # Consumes the next token and returns it, advancing the pointer. Returns # `nil` if there is no next token. # - # source://crass//lib/crass/token-scanner.rb#24 + # pkg:gem/crass#lib/crass/token-scanner.rb:24 def consume; end # Returns the value of attribute current. # - # source://crass//lib/crass/token-scanner.rb#7 + # pkg:gem/crass#lib/crass/token-scanner.rb:7 def current; end # Returns the next token without consuming it, or `nil` if there is no next # token. # - # source://crass//lib/crass/token-scanner.rb#32 + # pkg:gem/crass#lib/crass/token-scanner.rb:32 def peek; end # Returns the value of attribute pos. # - # source://crass//lib/crass/token-scanner.rb#7 + # pkg:gem/crass#lib/crass/token-scanner.rb:7 def pos; end # Reconsumes the current token, moving the pointer back one position. # # http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/#reconsume-the-current-input-token # - # source://crass//lib/crass/token-scanner.rb#39 + # pkg:gem/crass#lib/crass/token-scanner.rb:39 def reconsume; end # Resets the pointer to the first token in the list. # - # source://crass//lib/crass/token-scanner.rb#44 + # pkg:gem/crass#lib/crass/token-scanner.rb:44 def reset; end # Returns the value of attribute tokens. # - # source://crass//lib/crass/token-scanner.rb#7 + # pkg:gem/crass#lib/crass/token-scanner.rb:7 def tokens; end end @@ -402,7 +402,7 @@ end # # 4. http://dev.w3.org/csswg/css-syntax/#tokenization # -# source://crass//lib/crass/tokenizer.rb#9 +# pkg:gem/crass#lib/crass/tokenizer.rb:9 class Crass::Tokenizer # Initializes a new Tokenizer. # @@ -417,28 +417,28 @@ class Crass::Tokenizer # # @return [Tokenizer] a new instance of Tokenizer # - # source://crass//lib/crass/tokenizer.rb#62 + # pkg:gem/crass#lib/crass/tokenizer.rb:62 def initialize(input, options = T.unsafe(nil)); end # Consumes a token and returns the token that was consumed. # # 4.3.1. http://dev.w3.org/csswg/css-syntax/#consume-a-token # - # source://crass//lib/crass/tokenizer.rb#70 + # pkg:gem/crass#lib/crass/tokenizer.rb:70 def consume; end # Consumes the remnants of a bad URL and returns the consumed text. # # 4.3.15. http://dev.w3.org/csswg/css-syntax/#consume-the-remnants-of-a-bad-url # - # source://crass//lib/crass/tokenizer.rb#275 + # pkg:gem/crass#lib/crass/tokenizer.rb:275 def consume_bad_url; end # Consumes comments and returns them, or `nil` if no comments were consumed. # # 4.3.2. http://dev.w3.org/csswg/css-syntax/#consume-comments # - # source://crass//lib/crass/tokenizer.rb#301 + # pkg:gem/crass#lib/crass/tokenizer.rb:301 def consume_comments; end # Consumes an escaped code point and returns its unescaped value. @@ -449,21 +449,21 @@ class Crass::Tokenizer # # 4.3.8. http://dev.w3.org/csswg/css-syntax/#consume-an-escaped-code-point # - # source://crass//lib/crass/tokenizer.rb#326 + # pkg:gem/crass#lib/crass/tokenizer.rb:326 def consume_escaped; end # Consumes an ident-like token and returns it. # # 4.3.4. http://dev.w3.org/csswg/css-syntax/#consume-an-ident-like-token # - # source://crass//lib/crass/tokenizer.rb#350 + # pkg:gem/crass#lib/crass/tokenizer.rb:350 def consume_ident; end # Consumes a name and returns it. # # 4.3.12. http://dev.w3.org/csswg/css-syntax/#consume-a-name # - # source://crass//lib/crass/tokenizer.rb#375 + # pkg:gem/crass#lib/crass/tokenizer.rb:375 def consume_name; end # Consumes a number and returns a 3-element array containing the number's @@ -472,14 +472,14 @@ class Crass::Tokenizer # # 4.3.13. http://dev.w3.org/csswg/css-syntax/#consume-a-number # - # source://crass//lib/crass/tokenizer.rb#407 + # pkg:gem/crass#lib/crass/tokenizer.rb:407 def consume_number; end # Consumes a numeric token and returns it. # # 4.3.3. http://dev.w3.org/csswg/css-syntax/#consume-a-numeric-token # - # source://crass//lib/crass/tokenizer.rb#430 + # pkg:gem/crass#lib/crass/tokenizer.rb:430 def consume_numeric; end # Consumes a string token that ends at the given character, and returns the @@ -487,7 +487,7 @@ class Crass::Tokenizer # # 4.3.5. http://dev.w3.org/csswg/css-syntax/#consume-a-string-token # - # source://crass//lib/crass/tokenizer.rb#469 + # pkg:gem/crass#lib/crass/tokenizer.rb:469 def consume_string(ending = T.unsafe(nil)); end # Consumes a Unicode range token and returns it. Assumes the initial "u+" or @@ -495,7 +495,7 @@ class Crass::Tokenizer # # 4.3.7. http://dev.w3.org/csswg/css-syntax/#consume-a-unicode-range-token # - # source://crass//lib/crass/tokenizer.rb#510 + # pkg:gem/crass#lib/crass/tokenizer.rb:510 def consume_unicode_range; end # Consumes a URL token and returns it. Assumes the original "url(" has @@ -503,26 +503,26 @@ class Crass::Tokenizer # # 4.3.6. http://dev.w3.org/csswg/css-syntax/#consume-a-url-token # - # source://crass//lib/crass/tokenizer.rb#542 + # pkg:gem/crass#lib/crass/tokenizer.rb:542 def consume_url; end # Converts a valid CSS number string into a number and returns the number. # # 4.3.14. http://dev.w3.org/csswg/css-syntax/#convert-a-string-to-a-number # - # source://crass//lib/crass/tokenizer.rb#590 + # pkg:gem/crass#lib/crass/tokenizer.rb:590 def convert_string_to_number(str); end # Creates and returns a new token with the given _properties_. # - # source://crass//lib/crass/tokenizer.rb#616 + # pkg:gem/crass#lib/crass/tokenizer.rb:616 def create_token(type, properties = T.unsafe(nil)); end # Preprocesses _input_ to prepare it for the tokenizer. # # 3.3. http://dev.w3.org/csswg/css-syntax/#input-preprocessing # - # source://crass//lib/crass/tokenizer.rb#627 + # pkg:gem/crass#lib/crass/tokenizer.rb:627 def preprocess(input); end # Returns `true` if the given three-character _text_ would start an @@ -533,7 +533,7 @@ class Crass::Tokenizer # # @return [Boolean] # - # source://crass//lib/crass/tokenizer.rb#642 + # pkg:gem/crass#lib/crass/tokenizer.rb:642 def start_identifier?(text = T.unsafe(nil)); end # Returns `true` if the given three-character _text_ would start a number. @@ -544,12 +544,12 @@ class Crass::Tokenizer # # @return [Boolean] # - # source://crass//lib/crass/tokenizer.rb#666 + # pkg:gem/crass#lib/crass/tokenizer.rb:666 def start_number?(text = T.unsafe(nil)); end # Tokenizes the input stream and returns an array of tokens. # - # source://crass//lib/crass/tokenizer.rb#685 + # pkg:gem/crass#lib/crass/tokenizer.rb:685 def tokenize; end # Returns `true` if the given two-character _text_ is the beginning of a @@ -560,7 +560,7 @@ class Crass::Tokenizer # # @return [Boolean] # - # source://crass//lib/crass/tokenizer.rb#702 + # pkg:gem/crass#lib/crass/tokenizer.rb:702 def valid_escape?(text = T.unsafe(nil)); end class << self @@ -569,55 +569,55 @@ class Crass::Tokenizer # # See {#initialize} for _options_. # - # source://crass//lib/crass/tokenizer.rb#45 + # pkg:gem/crass#lib/crass/tokenizer.rb:45 def tokenize(input, options = T.unsafe(nil)); end end end -# source://crass//lib/crass/tokenizer.rb#10 +# pkg:gem/crass#lib/crass/tokenizer.rb:10 Crass::Tokenizer::RE_COMMENT_CLOSE = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#11 +# pkg:gem/crass#lib/crass/tokenizer.rb:11 Crass::Tokenizer::RE_DIGIT = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#12 +# pkg:gem/crass#lib/crass/tokenizer.rb:12 Crass::Tokenizer::RE_ESCAPE = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#13 +# pkg:gem/crass#lib/crass/tokenizer.rb:13 Crass::Tokenizer::RE_HEX = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#14 +# pkg:gem/crass#lib/crass/tokenizer.rb:14 Crass::Tokenizer::RE_NAME = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#15 +# pkg:gem/crass#lib/crass/tokenizer.rb:15 Crass::Tokenizer::RE_NAME_START = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#16 +# pkg:gem/crass#lib/crass/tokenizer.rb:16 Crass::Tokenizer::RE_NON_PRINTABLE = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#17 +# pkg:gem/crass#lib/crass/tokenizer.rb:17 Crass::Tokenizer::RE_NUMBER_DECIMAL = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#18 +# pkg:gem/crass#lib/crass/tokenizer.rb:18 Crass::Tokenizer::RE_NUMBER_EXPONENT = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#19 +# pkg:gem/crass#lib/crass/tokenizer.rb:19 Crass::Tokenizer::RE_NUMBER_SIGN = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#21 +# pkg:gem/crass#lib/crass/tokenizer.rb:21 Crass::Tokenizer::RE_NUMBER_STR = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#33 +# pkg:gem/crass#lib/crass/tokenizer.rb:33 Crass::Tokenizer::RE_QUOTED_URL_START = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#35 +# pkg:gem/crass#lib/crass/tokenizer.rb:35 Crass::Tokenizer::RE_UNICODE_RANGE_END = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#34 +# pkg:gem/crass#lib/crass/tokenizer.rb:34 Crass::Tokenizer::RE_UNICODE_RANGE_START = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#36 +# pkg:gem/crass#lib/crass/tokenizer.rb:36 Crass::Tokenizer::RE_WHITESPACE = T.let(T.unsafe(nil), Regexp) -# source://crass//lib/crass/tokenizer.rb#37 +# pkg:gem/crass#lib/crass/tokenizer.rb:37 Crass::Tokenizer::RE_WHITESPACE_ANCHORED = T.let(T.unsafe(nil), Regexp) diff --git a/sorbet/rbi/gems/date@3.5.1.rbi b/sorbet/rbi/gems/date@3.5.1.rbi index 794e8467d..6c82a439a 100644 --- a/sorbet/rbi/gems/date@3.5.1.rbi +++ b/sorbet/rbi/gems/date@3.5.1.rbi @@ -5,83 +5,83 @@ # Please instead update this file by running `bin/tapioca gem date`. -# source://date//lib/date.rb#6 +# pkg:gem/date#lib/date.rb:4 class Date include ::Comparable - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def initialize(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def +(other); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def -(other); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def <<(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def <=>(other); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def ===(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def >>(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def ajd; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def amjd; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def asctime; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def ctime; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def cwday; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def cweek; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def cwyear; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def day; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def day_fraction; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def deconstruct_keys(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def downto(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def england; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def eql?(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def friday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def gregorian; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def gregorian?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def hash; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def httpdate; end # call-seq: @@ -91,313 +91,313 @@ class Date # # @return [Boolean] # - # source://date//lib/date.rb#13 + # pkg:gem/date#lib/date.rb:13 def infinite?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def inspect; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def iso8601; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def italy; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def jd; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def jisx0301; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def julian; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def julian?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def ld; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def leap?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def marshal_dump; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def marshal_load(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def mday; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def mjd; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def mon; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def monday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def month; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def new_start(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def next; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def next_day(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def next_month(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def next_year(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def prev_day(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def prev_month(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def prev_year(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def rfc2822; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def rfc3339; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def rfc822; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def saturday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def start; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def step(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def strftime(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def succ; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def sunday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def thursday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def to_date; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def to_datetime; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def to_s; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def to_time(form = T.unsafe(nil)); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def tuesday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def upto(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def wday; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def wednesday?; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def xmlschema; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def yday; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def year; end private - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def hour; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def initialize_copy(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def min; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def minute; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def sec; end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def second; end class << self - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _httpdate(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _iso8601(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _jisx0301(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _load(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _parse(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _rfc2822(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _rfc3339(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _rfc822(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _strptime(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def _xmlschema(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def civil(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def commercial(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def gregorian_leap?(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def httpdate(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def iso8601(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def jd(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def jisx0301(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def julian_leap?(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def leap?(_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def ordinal(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def parse(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def rfc2822(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def rfc3339(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def rfc822(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def strptime(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def today(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def valid_civil?(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def valid_commercial?(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def valid_date?(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def valid_jd?(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def valid_ordinal?(*_arg0); end - # source://date//lib/date.rb#4 + # pkg:gem/date#lib/date.rb:4 def xmlschema(*_arg0); end end end -# source://date//lib/date.rb#17 +# pkg:gem/date#lib/date.rb:17 class Date::Infinity < ::Numeric # @return [Infinity] a new instance of Infinity # - # source://date//lib/date.rb#19 + # pkg:gem/date#lib/date.rb:19 def initialize(d = T.unsafe(nil)); end - # source://date//lib/date.rb#33 + # pkg:gem/date#lib/date.rb:33 def +@; end - # source://date//lib/date.rb#32 + # pkg:gem/date#lib/date.rb:32 def -@; end - # source://date//lib/date.rb#35 + # pkg:gem/date#lib/date.rb:35 def <=>(other); end - # source://date//lib/date.rb#30 + # pkg:gem/date#lib/date.rb:30 def abs; end - # source://date//lib/date.rb#51 + # pkg:gem/date#lib/date.rb:51 def coerce(other); end # @return [Boolean] # - # source://date//lib/date.rb#26 + # pkg:gem/date#lib/date.rb:26 def finite?; end # @return [Boolean] # - # source://date//lib/date.rb#27 + # pkg:gem/date#lib/date.rb:27 def infinite?; end # @return [Boolean] # - # source://date//lib/date.rb#28 + # pkg:gem/date#lib/date.rb:28 def nan?; end - # source://date//lib/date.rb#59 + # pkg:gem/date#lib/date.rb:59 def to_f; end # @return [Boolean] # - # source://date//lib/date.rb#25 + # pkg:gem/date#lib/date.rb:25 def zero?; end protected - # source://date//lib/date.rb#21 + # pkg:gem/date#lib/date.rb:21 def d; end end -# source://date//lib/date.rb#7 +# pkg:gem/date#lib/date.rb:7 Date::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/deep_merge@1.2.2.rbi b/sorbet/rbi/gems/deep_merge@1.2.2.rbi index d87863897..c0fa8a310 100644 --- a/sorbet/rbi/gems/deep_merge@1.2.2.rbi +++ b/sorbet/rbi/gems/deep_merge@1.2.2.rbi @@ -5,10 +5,10 @@ # Please instead update this file by running `bin/tapioca gem deep_merge`. -# source://deep_merge//lib/deep_merge/core.rb#1 +# pkg:gem/deep_merge#lib/deep_merge/core.rb:1 module DeepMerge class << self - # source://deep_merge//lib/deep_merge/core.rb#238 + # pkg:gem/deep_merge#lib/deep_merge/core.rb:238 def clear_or_nil(obj); end # Deep Merge core documentation. @@ -85,18 +85,18 @@ module DeepMerge # # @raise [InvalidParameter] # - # source://deep_merge//lib/deep_merge/core.rb#78 + # pkg:gem/deep_merge#lib/deep_merge/core.rb:78 def deep_merge!(source, dest, options = T.unsafe(nil)); end # allows deep_merge! to uniformly handle overwriting of unmergeable entities # - # source://deep_merge//lib/deep_merge/core.rb#212 + # pkg:gem/deep_merge#lib/deep_merge/core.rb:212 def overwrite_unmergeables(source, dest, options); end end end -# source://deep_merge//lib/deep_merge/core.rb#5 +# pkg:gem/deep_merge#lib/deep_merge/core.rb:5 DeepMerge::DEFAULT_FIELD_KNOCKOUT_PREFIX = T.let(T.unsafe(nil), String) -# source://deep_merge//lib/deep_merge/core.rb#3 +# pkg:gem/deep_merge#lib/deep_merge/core.rb:3 class DeepMerge::InvalidParameter < ::StandardError; end diff --git a/sorbet/rbi/gems/drb@2.2.3.rbi b/sorbet/rbi/gems/drb@2.2.3.rbi index 7bd8c9880..7f2a1c7be 100644 --- a/sorbet/rbi/gems/drb@2.2.3.rbi +++ b/sorbet/rbi/gems/drb@2.2.3.rbi @@ -291,7 +291,7 @@ # can be made persistent across processes by having each process # register an object using the same dRuby name. # -# source://drb//lib/drb/eq.rb#2 +# pkg:gem/drb#lib/drb/eq.rb:2 module DRb private @@ -300,7 +300,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#1882 + # pkg:gem/drb#lib/drb/drb.rb:1882 def config; end # Get the 'current' server. @@ -316,14 +316,14 @@ module DRb # # @raise [DRbServerNotFound] # - # source://drb//lib/drb/drb.rb#1839 + # pkg:gem/drb#lib/drb/drb.rb:1839 def current_server; end # Retrieves the server with the given +uri+. # # See also regist_server and remove_server. # - # source://drb//lib/drb/drb.rb#1984 + # pkg:gem/drb#lib/drb/drb.rb:1984 def fetch_server(uri); end # Get the front object of the current server. @@ -331,21 +331,21 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1893 + # pkg:gem/drb#lib/drb/drb.rb:1893 def front; end # Is +uri+ the URI for the current local server? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1872 + # pkg:gem/drb#lib/drb/drb.rb:1872 def here?(uri); end # Set the default ACL to +acl+. # # See DRb::DRbServer.default_acl. # - # source://drb//lib/drb/drb.rb#1938 + # pkg:gem/drb#lib/drb/drb.rb:1938 def install_acl(acl); end # Set the default id conversion object. @@ -355,24 +355,24 @@ module DRb # # See DRbServer#default_id_conv. # - # source://drb//lib/drb/drb.rb#1930 + # pkg:gem/drb#lib/drb/drb.rb:1930 def install_id_conv(idconv); end - # source://drb//lib/drb/drb.rb#1944 + # pkg:gem/drb#lib/drb/drb.rb:1944 def mutex; end # The primary local dRuby server. # # This is the server created by the #start_service call. # - # source://drb//lib/drb/drb.rb#1826 + # pkg:gem/drb#lib/drb/drb.rb:1826 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#1826 + # pkg:gem/drb#lib/drb/drb.rb:1826 def primary_server=(_arg0); end # Registers +server+ with DRb. @@ -388,12 +388,12 @@ module DRb # s = DRb::DRbServer.new # automatically calls regist_server # DRb.fetch_server s.uri #=> # # - # source://drb//lib/drb/drb.rb#1962 + # pkg:gem/drb#lib/drb/drb.rb:1962 def regist_server(server); end # Removes +server+ from the list of registered servers. # - # source://drb//lib/drb/drb.rb#1971 + # pkg:gem/drb#lib/drb/drb.rb:1971 def remove_server(server); end # Start a dRuby server locally. @@ -412,7 +412,7 @@ module DRb # # See DRbServer::new. # - # source://drb//lib/drb/drb.rb#1818 + # pkg:gem/drb#lib/drb/drb.rb:1818 def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end # Stop the local dRuby server. @@ -420,14 +420,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#1851 + # pkg:gem/drb#lib/drb/drb.rb:1851 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#1919 + # pkg:gem/drb#lib/drb/drb.rb:1919 def thread; end # Get a reference id for an object using the current server. @@ -435,7 +435,7 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1910 + # pkg:gem/drb#lib/drb/drb.rb:1910 def to_id(obj); end # Convert a reference into an object using the current server. @@ -443,14 +443,14 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1902 + # pkg:gem/drb#lib/drb/drb.rb:1902 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#1860 + # pkg:gem/drb#lib/drb/drb.rb:1860 def uri; end class << self @@ -459,7 +459,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#1887 + # pkg:gem/drb#lib/drb/drb.rb:1887 def config; end # Get the 'current' server. @@ -475,14 +475,14 @@ module DRb # # @raise [DRbServerNotFound] # - # source://drb//lib/drb/drb.rb#1845 + # pkg:gem/drb#lib/drb/drb.rb:1845 def current_server; end # Retrieves the server with the given +uri+. # # See also regist_server and remove_server. # - # source://drb//lib/drb/drb.rb#1987 + # pkg:gem/drb#lib/drb/drb.rb:1987 def fetch_server(uri); end # Get the front object of the current server. @@ -490,21 +490,21 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1896 + # pkg:gem/drb#lib/drb/drb.rb:1896 def front; end # Is +uri+ the URI for the current local server? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1876 + # pkg:gem/drb#lib/drb/drb.rb:1876 def here?(uri); end # Set the default ACL to +acl+. # # See DRb::DRbServer.default_acl. # - # source://drb//lib/drb/drb.rb#1941 + # pkg:gem/drb#lib/drb/drb.rb:1941 def install_acl(acl); end # Set the default id conversion object. @@ -514,24 +514,24 @@ module DRb # # See DRbServer#default_id_conv. # - # source://drb//lib/drb/drb.rb#1933 + # pkg:gem/drb#lib/drb/drb.rb:1933 def install_id_conv(idconv); end - # source://drb//lib/drb/drb.rb#1947 + # pkg:gem/drb#lib/drb/drb.rb:1947 def mutex; end # The primary local dRuby server. # # This is the server created by the #start_service call. # - # source://drb//lib/drb/drb.rb#1827 + # pkg:gem/drb#lib/drb/drb.rb:1827 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#1827 + # pkg:gem/drb#lib/drb/drb.rb:1827 def primary_server=(_arg0); end # Registers +server+ with DRb. @@ -547,12 +547,12 @@ module DRb # s = DRb::DRbServer.new # automatically calls regist_server # DRb.fetch_server s.uri #=> # # - # source://drb//lib/drb/drb.rb#1968 + # pkg:gem/drb#lib/drb/drb.rb:1968 def regist_server(server); end # Removes +server+ from the list of registered servers. # - # source://drb//lib/drb/drb.rb#1979 + # pkg:gem/drb#lib/drb/drb.rb:1979 def remove_server(server); end # Start a dRuby server locally. @@ -571,7 +571,7 @@ module DRb # # See DRbServer::new. # - # source://drb//lib/drb/drb.rb#1821 + # pkg:gem/drb#lib/drb/drb.rb:1821 def start_service(uri = T.unsafe(nil), front = T.unsafe(nil), config = T.unsafe(nil)); end # Stop the local dRuby server. @@ -579,14 +579,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#1855 + # pkg:gem/drb#lib/drb/drb.rb:1855 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#1922 + # pkg:gem/drb#lib/drb/drb.rb:1922 def thread; end # Get a reference id for an object using the current server. @@ -594,7 +594,7 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1913 + # pkg:gem/drb#lib/drb/drb.rb:1913 def to_id(obj); end # Convert a reference into an object using the current server. @@ -602,14 +602,14 @@ module DRb # This raises a DRbServerNotFound error if there is no current server. # See #current_server. # - # source://drb//lib/drb/drb.rb#1914 + # pkg:gem/drb#lib/drb/drb.rb:1914 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#1869 + # pkg:gem/drb#lib/drb/drb.rb:1869 def uri; end end end @@ -618,7 +618,7 @@ end # This is an internal singleton instance. This must not be used # by users. # -# source://drb//lib/drb/drb.rb#382 +# pkg:gem/drb#lib/drb/drb.rb:382 DRb::DRB_OBJECT_SPACE = T.let(T.unsafe(nil), DRb::DRbObjectSpace) # An Array wrapper that can be sent to another server via DRb. @@ -626,21 +626,21 @@ DRb::DRB_OBJECT_SPACE = T.let(T.unsafe(nil), DRb::DRbObjectSpace) # All entries in the array will be dumped or be references that point to # the local server. # -# source://drb//lib/drb/drb.rb#546 +# pkg:gem/drb#lib/drb/drb.rb:546 class DRb::DRbArray # Creates a new DRbArray that either dumps or wraps all the items in the # Array +ary+ so they can be loaded by a remote DRb server. # # @return [DRbArray] a new instance of DRbArray # - # source://drb//lib/drb/drb.rb#551 + # pkg:gem/drb#lib/drb/drb.rb:551 def initialize(ary); end - # source://drb//lib/drb/drb.rb#570 + # pkg:gem/drb#lib/drb/drb.rb:570 def _dump(lv); end class << self - # source://drb//lib/drb/drb.rb#566 + # pkg:gem/drb#lib/drb/drb.rb:566 def _load(s); end end end @@ -655,35 +655,35 @@ end # This class is used internally by DRbObject. The user does # not normally need to deal with it directly. # -# source://drb//lib/drb/drb.rb#1284 +# pkg:gem/drb#lib/drb/drb.rb:1284 class DRb::DRbConn # @return [DRbConn] a new instance of DRbConn # - # source://drb//lib/drb/drb.rb#1345 + # pkg:gem/drb#lib/drb/drb.rb:1345 def initialize(remote_uri); end # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1361 + # pkg:gem/drb#lib/drb/drb.rb:1361 def alive?; end - # source://drb//lib/drb/drb.rb#1356 + # pkg:gem/drb#lib/drb/drb.rb:1356 def close; end - # source://drb//lib/drb/drb.rb#1351 + # pkg:gem/drb#lib/drb/drb.rb:1351 def send_message(ref, msg_id, arg, block); end - # source://drb//lib/drb/drb.rb#1349 + # pkg:gem/drb#lib/drb/drb.rb:1349 def uri; end class << self - # source://drb//lib/drb/drb.rb#1287 + # pkg:gem/drb#lib/drb/drb.rb:1287 def make_pool; end - # source://drb//lib/drb/drb.rb#1325 + # pkg:gem/drb#lib/drb/drb.rb:1325 def open(remote_uri); end - # source://drb//lib/drb/drb.rb#1320 + # pkg:gem/drb#lib/drb/drb.rb:1320 def stop_pool; end end end @@ -698,14 +698,14 @@ end # For alternative mechanisms, see DRb::TimerIdConv in drb/timeridconv.rb # and DRbNameIdConv in sample/name.rb in the full drb distribution. # -# source://drb//lib/drb/drb.rb#393 +# pkg:gem/drb#lib/drb/drb.rb:393 class DRb::DRbIdConv # Convert an object into a reference id. # # This implementation returns the object's __id__ in the local # object space. # - # source://drb//lib/drb/drb.rb#407 + # pkg:gem/drb#lib/drb/drb.rb:407 def to_id(obj); end # Convert an object reference id to an object. @@ -713,7 +713,7 @@ class DRb::DRbIdConv # This implementation looks up the reference id in the local object # space and returns the object it refers to. # - # source://drb//lib/drb/drb.rb#399 + # pkg:gem/drb#lib/drb/drb.rb:399 def to_obj(ref); end end @@ -727,42 +727,42 @@ end # The user does not have to directly deal with this object in # normal use. # -# source://drb//lib/drb/drb.rb#584 +# pkg:gem/drb#lib/drb/drb.rb:584 class DRb::DRbMessage # @return [DRbMessage] a new instance of DRbMessage # - # source://drb//lib/drb/drb.rb#585 + # pkg:gem/drb#lib/drb/drb.rb:585 def initialize(config); end - # source://drb//lib/drb/drb.rb#590 + # pkg:gem/drb#lib/drb/drb.rb:590 def dump(obj, error = T.unsafe(nil)); end # @raise [DRbConnError] # - # source://drb//lib/drb/drb.rb#607 + # pkg:gem/drb#lib/drb/drb.rb:607 def load(soc); end - # source://drb//lib/drb/drb.rb#667 + # pkg:gem/drb#lib/drb/drb.rb:667 def recv_reply(stream); end # @raise [DRbConnError] # - # source://drb//lib/drb/drb.rb#647 + # pkg:gem/drb#lib/drb/drb.rb:647 def recv_request(stream); end - # source://drb//lib/drb/drb.rb#661 + # pkg:gem/drb#lib/drb/drb.rb:661 def send_reply(stream, succ, result); end - # source://drb//lib/drb/drb.rb#633 + # pkg:gem/drb#lib/drb/drb.rb:633 def send_request(stream, ref, msg_id, arg, b); end private - # source://drb//lib/drb/drb.rb#674 + # pkg:gem/drb#lib/drb/drb.rb:674 def make_proxy(obj, error = T.unsafe(nil)); end end -# source://drb//lib/drb/eq.rb#3 +# pkg:gem/drb#lib/drb/eq.rb:3 class DRb::DRbObject # Create a new remote object stub. # @@ -772,49 +772,49 @@ class DRb::DRbObject # # @return [DRbObject] a new instance of DRbObject # - # source://drb//lib/drb/drb.rb#1117 + # pkg:gem/drb#lib/drb/drb.rb:1117 def initialize(obj, uri = T.unsafe(nil)); end - # source://drb//lib/drb/eq.rb#4 + # pkg:gem/drb#lib/drb/eq.rb:4 def ==(other); end # Get the reference of the object, if local. # - # source://drb//lib/drb/drb.rb#1143 + # pkg:gem/drb#lib/drb/drb.rb:1143 def __drbref; end # Get the URI of the remote object. # - # source://drb//lib/drb/drb.rb#1138 + # pkg:gem/drb#lib/drb/drb.rb:1138 def __drburi; end # Marshall this object. # # The URI and ref of the object are marshalled. # - # source://drb//lib/drb/drb.rb#1108 + # pkg:gem/drb#lib/drb/drb.rb:1108 def _dump(lv); end - # source://drb//lib/drb/eq.rb#13 + # pkg:gem/drb#lib/drb/eq.rb:13 def eql?(other); end - # source://drb//lib/drb/eq.rb#9 + # pkg:gem/drb#lib/drb/eq.rb:9 def hash; end - # source://drb//lib/drb/drb.rb#1163 + # pkg:gem/drb#lib/drb/drb.rb:1163 def method_missing(msg_id, *a, **_arg2, &b); end - # source://drb//lib/drb/drb.rb#1215 + # pkg:gem/drb#lib/drb/drb.rb:1215 def pretty_print(q); end - # source://drb//lib/drb/drb.rb#1219 + # pkg:gem/drb#lib/drb/drb.rb:1219 def pretty_print_cycle(q); end # Routes respond_to? to the referenced remote object. # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1151 + # pkg:gem/drb#lib/drb/drb.rb:1151 def respond_to?(msg_id, priv = T.unsafe(nil)); end class << self @@ -824,46 +824,46 @@ class DRb::DRbObject # the object itself is returned. Otherwise, a new DRbObject is # created to act as a stub for the remote referenced object. # - # source://drb//lib/drb/drb.rb#1079 + # pkg:gem/drb#lib/drb/drb.rb:1079 def _load(s); end # Creates a DRb::DRbObject given the reference information to the remote # host +uri+ and object +ref+. # - # source://drb//lib/drb/drb.rb#1093 + # pkg:gem/drb#lib/drb/drb.rb:1093 def new_with(uri, ref); end # Create a new DRbObject from a URI alone. # - # source://drb//lib/drb/drb.rb#1101 + # pkg:gem/drb#lib/drb/drb.rb:1101 def new_with_uri(uri); end # Returns a modified backtrace from +result+ with the +uri+ where each call # in the backtrace came from. # - # source://drb//lib/drb/drb.rb#1201 + # pkg:gem/drb#lib/drb/drb.rb:1201 def prepare_backtrace(uri, result); end # Given the +uri+ of another host executes the block provided. # - # source://drb//lib/drb/drb.rb#1188 + # pkg:gem/drb#lib/drb/drb.rb:1188 def with_friend(uri); end end end -# source://drb//lib/drb/drb.rb#351 +# pkg:gem/drb#lib/drb/drb.rb:351 class DRb::DRbObjectSpace include ::MonitorMixin # @return [DRbObjectSpace] a new instance of DRbObjectSpace # - # source://drb//lib/drb/drb.rb#357 + # pkg:gem/drb#lib/drb/drb.rb:357 def initialize; end - # source://drb//lib/drb/drb.rb#362 + # pkg:gem/drb#lib/drb/drb.rb:362 def to_id(obj); end - # source://drb//lib/drb/drb.rb#369 + # pkg:gem/drb#lib/drb/drb.rb:369 def to_obj(ref); end end @@ -934,16 +934,16 @@ end # and HTTP0 in sample/http0.rb and sample/http0serv.rb in the full # drb distribution. # -# source://drb//lib/drb/drb.rb#749 +# pkg:gem/drb#lib/drb/drb.rb:749 module DRb::DRbProtocol private # Add a new protocol to the DRbProtocol module. # - # source://drb//lib/drb/drb.rb#752 + # pkg:gem/drb#lib/drb/drb.rb:752 def add_protocol(prot); end - # source://drb//lib/drb/drb.rb#830 + # pkg:gem/drb#lib/drb/drb.rb:830 def auto_load(uri); end # Open a client connection to +uri+ with the configuration +config+. @@ -956,7 +956,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#764 + # pkg:gem/drb#lib/drb/drb.rb:764 def open(uri, config, first = T.unsafe(nil)); end # Open a server listening for connections at +uri+ with @@ -971,7 +971,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#792 + # pkg:gem/drb#lib/drb/drb.rb:792 def open_server(uri, config, first = T.unsafe(nil)); end # Parse +uri+ into a [uri, option] pair. @@ -983,16 +983,16 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#813 + # pkg:gem/drb#lib/drb/drb.rb:813 def uri_option(uri, config, first = T.unsafe(nil)); end class << self # Add a new protocol to the DRbProtocol module. # - # source://drb//lib/drb/drb.rb#755 + # pkg:gem/drb#lib/drb/drb.rb:755 def add_protocol(prot); end - # source://drb//lib/drb/drb.rb#835 + # pkg:gem/drb#lib/drb/drb.rb:835 def auto_load(uri); end # Open a client connection to +uri+ with the configuration +config+. @@ -1005,7 +1005,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#781 + # pkg:gem/drb#lib/drb/drb.rb:781 def open(uri, config, first = T.unsafe(nil)); end # Open a server listening for connections at +uri+ with @@ -1020,7 +1020,7 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#805 + # pkg:gem/drb#lib/drb/drb.rb:805 def open_server(uri, config, first = T.unsafe(nil)); end # Parse +uri+ into a [uri, option] pair. @@ -1032,25 +1032,25 @@ module DRb::DRbProtocol # # @raise [DRbBadURI] # - # source://drb//lib/drb/drb.rb#828 + # pkg:gem/drb#lib/drb/drb.rb:828 def uri_option(uri, config, first = T.unsafe(nil)); end end end # An exception wrapping an error object # -# source://drb//lib/drb/drb.rb#459 +# pkg:gem/drb#lib/drb/drb.rb:459 class DRb::DRbRemoteError < ::DRb::DRbError # Creates a new remote error that wraps the Exception +error+ # # @return [DRbRemoteError] a new instance of DRbRemoteError # - # source://drb//lib/drb/drb.rb#462 + # pkg:gem/drb#lib/drb/drb.rb:462 def initialize(error); end # the class of the error, as a string. # - # source://drb//lib/drb/drb.rb#469 + # pkg:gem/drb#lib/drb/drb.rb:469 def reason; end end @@ -1066,7 +1066,7 @@ end # Unless multiple servers are being used, the local DRbServer is normally # started by calling DRb.start_service. # -# source://drb//lib/drb/drb.rb#1378 +# pkg:gem/drb#lib/drb/drb.rb:1378 class DRb::DRbServer # Create a new DRbServer instance. # @@ -1113,14 +1113,14 @@ class DRb::DRbServer # # @return [DRbServer] a new instance of DRbServer # - # source://drb//lib/drb/drb.rb#1479 + # pkg:gem/drb#lib/drb/drb.rb:1479 def initialize(uri = T.unsafe(nil), front = T.unsafe(nil), config_or_acl = T.unsafe(nil)); end # Is this server alive? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1534 + # pkg:gem/drb#lib/drb/drb.rb:1534 def alive?; end # Check that a method is callable via dRuby. @@ -1134,12 +1134,12 @@ class DRb::DRbServer # # @raise [ArgumentError] # - # source://drb//lib/drb/drb.rb#1622 + # pkg:gem/drb#lib/drb/drb.rb:1622 def check_insecure_method(obj, msg_id); end # The configuration of this DRbServer # - # source://drb//lib/drb/drb.rb#1521 + # pkg:gem/drb#lib/drb/drb.rb:1521 def config; end # The front object of the DRbServer. @@ -1147,19 +1147,19 @@ class DRb::DRbServer # This object receives remote method calls made on the server's # URI alone, with an object id. # - # source://drb//lib/drb/drb.rb#1518 + # pkg:gem/drb#lib/drb/drb.rb:1518 def front; end # Is +uri+ the URI for this server? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1539 + # pkg:gem/drb#lib/drb/drb.rb:1539 def here?(uri); end # Stop this server. # - # source://drb//lib/drb/drb.rb#1544 + # pkg:gem/drb#lib/drb/drb.rb:1544 def stop_service; end # The main thread of this DRbServer. @@ -1168,36 +1168,36 @@ class DRb::DRbServer # from clients, not that handles each client's request-response # session. # - # source://drb//lib/drb/drb.rb#1512 + # pkg:gem/drb#lib/drb/drb.rb:1512 def thread; end # Convert a local object to a dRuby reference. # - # source://drb//lib/drb/drb.rb#1561 + # pkg:gem/drb#lib/drb/drb.rb:1561 def to_id(obj); end # Convert a dRuby reference to the local object it refers to. # - # source://drb//lib/drb/drb.rb#1554 + # pkg:gem/drb#lib/drb/drb.rb:1554 def to_obj(ref); end # The URI of this DRbServer. # - # source://drb//lib/drb/drb.rb#1505 + # pkg:gem/drb#lib/drb/drb.rb:1505 def uri; end # Get whether the server is in verbose mode. # # In verbose mode, failed calls are logged to stdout. # - # source://drb//lib/drb/drb.rb#1531 + # pkg:gem/drb#lib/drb/drb.rb:1531 def verbose; end # Set whether to operate in verbose mode. # # In verbose mode, failed calls are logged to stdout. # - # source://drb//lib/drb/drb.rb#1526 + # pkg:gem/drb#lib/drb/drb.rb:1526 def verbose=(v); end private @@ -1205,17 +1205,17 @@ class DRb::DRbServer # Coerce an object to a string, providing our own representation if # to_s is not defined for the object. # - # source://drb//lib/drb/drb.rb#1608 + # pkg:gem/drb#lib/drb/drb.rb:1608 def any_to_s(obj); end - # source://drb//lib/drb/drb.rb#1746 + # pkg:gem/drb#lib/drb/drb.rb:1746 def error_print(exception); end # Has a method been included in the list of insecure methods? # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1602 + # pkg:gem/drb#lib/drb/drb.rb:1602 def insecure_method?(msg_id); end # The main loop performed by a DRbServer's internal thread. @@ -1226,15 +1226,15 @@ class DRb::DRbServer # returning responses, until the client closes the connection # or a local method call fails. # - # source://drb//lib/drb/drb.rb#1764 + # pkg:gem/drb#lib/drb/drb.rb:1764 def main_loop; end # Starts the DRb main loop in a new thread. # - # source://drb//lib/drb/drb.rb#1583 + # pkg:gem/drb#lib/drb/drb.rb:1583 def run; end - # source://drb//lib/drb/drb.rb#1568 + # pkg:gem/drb#lib/drb/drb.rb:1568 def shutdown; end class << self @@ -1242,75 +1242,75 @@ class DRb::DRbServer # # See also DRb::ACL and #new() # - # source://drb//lib/drb/drb.rb#1403 + # pkg:gem/drb#lib/drb/drb.rb:1403 def default_acl(acl); end # Set the default value for the :argc_limit option. # # See #new(). The initial default value is 256. # - # source://drb//lib/drb/drb.rb#1389 + # pkg:gem/drb#lib/drb/drb.rb:1389 def default_argc_limit(argc); end # Set the default value for the :id_conv option. # # See #new(). The initial default value is a DRbIdConv instance. # - # source://drb//lib/drb/drb.rb#1410 + # pkg:gem/drb#lib/drb/drb.rb:1410 def default_id_conv(idconv); end # Set the default value for the :load_limit option. # # See #new(). The initial default value is 25 MB. # - # source://drb//lib/drb/drb.rb#1396 + # pkg:gem/drb#lib/drb/drb.rb:1396 def default_load_limit(sz); end - # source://drb//lib/drb/drb.rb#1426 + # pkg:gem/drb#lib/drb/drb.rb:1426 def make_config(hash = T.unsafe(nil)); end # Get the default value of the :verbose option. # - # source://drb//lib/drb/drb.rb#1422 + # pkg:gem/drb#lib/drb/drb.rb:1422 def verbose; end # Set the default value of the :verbose option. # # See #new(). The initial default value is false. # - # source://drb//lib/drb/drb.rb#1417 + # pkg:gem/drb#lib/drb/drb.rb:1417 def verbose=(on); end end end -# source://drb//lib/drb/drb.rb#1652 +# pkg:gem/drb#lib/drb/drb.rb:1652 class DRb::DRbServer::InvokeMethod # @return [InvokeMethod] a new instance of InvokeMethod # - # source://drb//lib/drb/drb.rb#1653 + # pkg:gem/drb#lib/drb/drb.rb:1653 def initialize(drb_server, client); end - # source://drb//lib/drb/drb.rb#1658 + # pkg:gem/drb#lib/drb/drb.rb:1658 def perform; end private - # source://drb//lib/drb/drb.rb#1704 + # pkg:gem/drb#lib/drb/drb.rb:1704 def block_yield(x); end - # source://drb//lib/drb/drb.rb#1695 + # pkg:gem/drb#lib/drb/drb.rb:1695 def check_insecure_method; end - # source://drb//lib/drb/drb.rb#1687 + # pkg:gem/drb#lib/drb/drb.rb:1687 def init_with_client; end - # source://drb//lib/drb/drb.rb#1711 + # pkg:gem/drb#lib/drb/drb.rb:1711 def perform_with_block; end - # source://drb//lib/drb/drb.rb#1731 + # pkg:gem/drb#lib/drb/drb.rb:1731 def perform_without_block; end - # source://drb//lib/drb/drb.rb#1699 + # pkg:gem/drb#lib/drb/drb.rb:1699 def setup_message; end end @@ -1319,7 +1319,7 @@ end # The DRb TCP protocol URI looks like: # druby://:?. The option is optional. # -# source://drb//lib/drb/drb.rb#843 +# pkg:gem/drb#lib/drb/drb.rb:843 class DRb::DRbTCPSocket # Create a new DRbTCPSocket instance. # @@ -1329,21 +1329,21 @@ class DRb::DRbTCPSocket # # @return [DRbTCPSocket] a new instance of DRbTCPSocket # - # source://drb//lib/drb/drb.rb#931 + # pkg:gem/drb#lib/drb/drb.rb:931 def initialize(uri, soc, config = T.unsafe(nil)); end # On the server side, for an instance returned by #open_server, # accept a client connection and return a new instance to handle # the server's side of this client-server session. # - # source://drb//lib/drb/drb.rb#999 + # pkg:gem/drb#lib/drb/drb.rb:999 def accept; end # Check to see if this connection is alive. # # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1029 + # pkg:gem/drb#lib/drb/drb.rb:1029 def alive?; end # Close the connection. @@ -1353,65 +1353,65 @@ class DRb::DRbTCPSocket # returned by #open or by #accept, then it closes this particular # client-server session. # - # source://drb//lib/drb/drb.rb#981 + # pkg:gem/drb#lib/drb/drb.rb:981 def close; end # Get the address of our TCP peer (the other end of the socket # we are bound to. # - # source://drb//lib/drb/drb.rb#946 + # pkg:gem/drb#lib/drb/drb.rb:946 def peeraddr; end # On the client side, receive a reply from the server. # - # source://drb//lib/drb/drb.rb#969 + # pkg:gem/drb#lib/drb/drb.rb:969 def recv_reply; end # On the server side, receive a request from the client. # - # source://drb//lib/drb/drb.rb#959 + # pkg:gem/drb#lib/drb/drb.rb:959 def recv_request; end # On the server side, send a reply to the client. # - # source://drb//lib/drb/drb.rb#964 + # pkg:gem/drb#lib/drb/drb.rb:964 def send_reply(succ, result); end # On the client side, send a request to the server. # - # source://drb//lib/drb/drb.rb#954 + # pkg:gem/drb#lib/drb/drb.rb:954 def send_request(ref, msg_id, arg, b); end - # source://drb//lib/drb/drb.rb#1038 + # pkg:gem/drb#lib/drb/drb.rb:1038 def set_sockopt(soc); end # Graceful shutdown # - # source://drb//lib/drb/drb.rb#1024 + # pkg:gem/drb#lib/drb/drb.rb:1024 def shutdown; end # Get the socket. # - # source://drb//lib/drb/drb.rb#951 + # pkg:gem/drb#lib/drb/drb.rb:951 def stream; end # Get the URI that we are connected to. # - # source://drb//lib/drb/drb.rb#942 + # pkg:gem/drb#lib/drb/drb.rb:942 def uri; end private - # source://drb//lib/drb/drb.rb#1014 + # pkg:gem/drb#lib/drb/drb.rb:1014 def accept_or_shutdown; end - # source://drb//lib/drb/drb.rb#990 + # pkg:gem/drb#lib/drb/drb.rb:990 def close_shutdown_pipe; end class << self # Returns the hostname of this server # - # source://drb//lib/drb/drb.rb#873 + # pkg:gem/drb#lib/drb/drb.rb:873 def getservername; end # Open a client connection to +uri+ (DRb URI string) using configuration @@ -1421,28 +1421,28 @@ class DRb::DRbTCPSocket # recognized protocol. See DRb::DRbServer.new for information on built-in # URI protocols. # - # source://drb//lib/drb/drb.rb#866 + # pkg:gem/drb#lib/drb/drb.rb:866 def open(uri, config); end # Open a server listening for connections at +uri+ using # configuration +config+. # - # source://drb//lib/drb/drb.rb#904 + # pkg:gem/drb#lib/drb/drb.rb:904 def open_server(uri, config); end # For the families available for +host+, returns a TCPServer on +port+. # If +port+ is 0 the first available port is used. IPv4 servers are # preferred over IPv6 servers. # - # source://drb//lib/drb/drb.rb#889 + # pkg:gem/drb#lib/drb/drb.rb:889 def open_server_inaddr_any(host, port); end - # source://drb//lib/drb/drb.rb#846 + # pkg:gem/drb#lib/drb/drb.rb:846 def parse_uri(uri); end # Parse +uri+ into a [uri, option] pair. # - # source://drb//lib/drb/drb.rb#921 + # pkg:gem/drb#lib/drb/drb.rb:921 def uri_option(uri, config); end end end @@ -1452,69 +1452,69 @@ end # DRb UNIX socket URIs look like drbunix:?. The # option is optional. # -# source://drb//lib/drb/unix.rb#15 +# pkg:gem/drb#lib/drb/unix.rb:15 class DRb::DRbUNIXSocket < ::DRb::DRbTCPSocket # @return [DRbUNIXSocket] a new instance of DRbUNIXSocket # - # source://drb//lib/drb/unix.rb#62 + # pkg:gem/drb#lib/drb/unix.rb:62 def initialize(uri, soc, config = T.unsafe(nil), server_mode = T.unsafe(nil)); end - # source://drb//lib/drb/unix.rb#105 + # pkg:gem/drb#lib/drb/unix.rb:105 def accept; end - # source://drb//lib/drb/unix.rb#95 + # pkg:gem/drb#lib/drb/unix.rb:95 def close; end - # source://drb//lib/drb/unix.rb#111 + # pkg:gem/drb#lib/drb/unix.rb:111 def set_sockopt(soc); end class << self - # source://drb//lib/drb/unix.rb#28 + # pkg:gem/drb#lib/drb/unix.rb:28 def open(uri, config); end - # source://drb//lib/drb/unix.rb#34 + # pkg:gem/drb#lib/drb/unix.rb:34 def open_server(uri, config); end # :stopdoc: # - # source://drb//lib/drb/unix.rb#17 + # pkg:gem/drb#lib/drb/unix.rb:17 def parse_uri(uri); end - # source://drb//lib/drb/unix.rb#72 + # pkg:gem/drb#lib/drb/unix.rb:72 def temp_server; end - # source://drb//lib/drb/unix.rb#57 + # pkg:gem/drb#lib/drb/unix.rb:57 def uri_option(uri, config); end end end # import from tempfile.rb # -# source://drb//lib/drb/unix.rb#70 +# pkg:gem/drb#lib/drb/unix.rb:70 DRb::DRbUNIXSocket::Max_try = T.let(T.unsafe(nil), Integer) -# source://drb//lib/drb/drb.rb#1049 +# pkg:gem/drb#lib/drb/drb.rb:1049 class DRb::DRbURIOption # @return [DRbURIOption] a new instance of DRbURIOption # - # source://drb//lib/drb/drb.rb#1050 + # pkg:gem/drb#lib/drb/drb.rb:1050 def initialize(option); end - # source://drb//lib/drb/drb.rb#1056 + # pkg:gem/drb#lib/drb/drb.rb:1056 def ==(other); end - # source://drb//lib/drb/drb.rb#1065 + # pkg:gem/drb#lib/drb/drb.rb:1065 def eql?(other); end - # source://drb//lib/drb/drb.rb#1061 + # pkg:gem/drb#lib/drb/drb.rb:1061 def hash; end # Returns the value of attribute option. # - # source://drb//lib/drb/drb.rb#1053 + # pkg:gem/drb#lib/drb/drb.rb:1053 def option; end - # source://drb//lib/drb/drb.rb#1054 + # pkg:gem/drb#lib/drb/drb.rb:1054 def to_s; end end @@ -1525,11 +1525,11 @@ end # and a reference to the object is returned, rather than the # object being marshalled and moved into the client space. # -# source://drb//lib/drb/drb.rb#418 +# pkg:gem/drb#lib/drb/drb.rb:418 module DRb::DRbUndumped # @raise [TypeError] # - # source://drb//lib/drb/drb.rb#419 + # pkg:gem/drb#lib/drb/drb.rb:419 def _dump(dummy); end end @@ -1547,7 +1547,7 @@ end # +name+ attribute. The marshalled object is held in the +buf+ # attribute. # -# source://drb//lib/drb/drb.rb#485 +# pkg:gem/drb#lib/drb/drb.rb:485 class DRb::DRbUnknown # Create a new DRbUnknown object. # @@ -1558,20 +1558,20 @@ class DRb::DRbUnknown # # @return [DRbUnknown] a new instance of DRbUnknown # - # source://drb//lib/drb/drb.rb#493 + # pkg:gem/drb#lib/drb/drb.rb:493 def initialize(err, buf); end - # source://drb//lib/drb/drb.rb#522 + # pkg:gem/drb#lib/drb/drb.rb:522 def _dump(lv); end # Buffer contained the marshalled, unknown object. # - # source://drb//lib/drb/drb.rb#512 + # pkg:gem/drb#lib/drb/drb.rb:512 def buf; end # Create a DRbUnknownError exception containing this object. # - # source://drb//lib/drb/drb.rb#536 + # pkg:gem/drb#lib/drb/drb.rb:536 def exception; end # The name of the unknown thing. @@ -1579,7 +1579,7 @@ class DRb::DRbUnknown # Class name for unknown objects; variable name for unknown # constants. # - # source://drb//lib/drb/drb.rb#509 + # pkg:gem/drb#lib/drb/drb.rb:509 def name; end # Attempt to load the wrapped marshalled object again. @@ -1588,74 +1588,74 @@ class DRb::DRbUnknown # will be unmarshalled and returned. Otherwise, a new # but identical DRbUnknown object will be returned. # - # source://drb//lib/drb/drb.rb#531 + # pkg:gem/drb#lib/drb/drb.rb:531 def reload; end class << self - # source://drb//lib/drb/drb.rb#514 + # pkg:gem/drb#lib/drb/drb.rb:514 def _load(s); end end end # An exception wrapping a DRb::DRbUnknown object # -# source://drb//lib/drb/drb.rb#438 +# pkg:gem/drb#lib/drb/drb.rb:438 class DRb::DRbUnknownError < ::DRb::DRbError # Create a new DRbUnknownError for the DRb::DRbUnknown object +unknown+ # # @return [DRbUnknownError] a new instance of DRbUnknownError # - # source://drb//lib/drb/drb.rb#441 + # pkg:gem/drb#lib/drb/drb.rb:441 def initialize(unknown); end - # source://drb//lib/drb/drb.rb#453 + # pkg:gem/drb#lib/drb/drb.rb:453 def _dump(lv); end # Get the wrapped DRb::DRbUnknown object. # - # source://drb//lib/drb/drb.rb#447 + # pkg:gem/drb#lib/drb/drb.rb:447 def unknown; end class << self - # source://drb//lib/drb/drb.rb#449 + # pkg:gem/drb#lib/drb/drb.rb:449 def _load(s); end end end -# source://drb//lib/drb/drb.rb#1227 +# pkg:gem/drb#lib/drb/drb.rb:1227 class DRb::ThreadObject include ::MonitorMixin # @return [ThreadObject] a new instance of ThreadObject # - # source://drb//lib/drb/drb.rb#1230 + # pkg:gem/drb#lib/drb/drb.rb:1230 def initialize(&blk); end - # source://drb//lib/drb/drb.rb#1265 + # pkg:gem/drb#lib/drb/drb.rb:1265 def _execute; end # @return [Boolean] # - # source://drb//lib/drb/drb.rb#1241 + # pkg:gem/drb#lib/drb/drb.rb:1241 def alive?; end - # source://drb//lib/drb/drb.rb#1245 + # pkg:gem/drb#lib/drb/drb.rb:1245 def kill; end - # source://drb//lib/drb/drb.rb#1250 + # pkg:gem/drb#lib/drb/drb.rb:1250 def method_missing(msg, *arg, &blk); end end -# source://drb//lib/drb/version.rb#2 +# pkg:gem/drb#lib/drb/version.rb:2 DRb::VERSION = T.let(T.unsafe(nil), String) -# source://drb//lib/drb/drb.rb#1993 +# pkg:gem/drb#lib/drb/drb.rb:1993 DRbIdConv = DRb::DRbIdConv # :stopdoc: # -# source://drb//lib/drb/drb.rb#1991 +# pkg:gem/drb#lib/drb/drb.rb:1991 DRbObject = DRb::DRbObject -# source://drb//lib/drb/drb.rb#1992 +# pkg:gem/drb#lib/drb/drb.rb:1992 DRbUndumped = DRb::DRbUndumped diff --git a/sorbet/rbi/gems/erb@6.0.1.rbi b/sorbet/rbi/gems/erb@6.0.1.rbi index 9901d1e3d..791375fae 100644 --- a/sorbet/rbi/gems/erb@6.0.1.rbi +++ b/sorbet/rbi/gems/erb@6.0.1.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem erb`. -# source://erb//lib/erb/version.rb#2 +# pkg:gem/erb#lib/erb/version.rb:2 class ERB # :markup: markdown # @@ -50,7 +50,7 @@ class ERB # # @return [ERB] a new instance of ERB # - # source://erb//lib/erb.rb#832 + # pkg:gem/erb#lib/erb.rb:832 def initialize(str, trim_mode: T.unsafe(nil), eoutvar: T.unsafe(nil)); end # :markup: markdown @@ -104,7 +104,7 @@ class ERB # # ``` # - # source://erb//lib/erb.rb#1170 + # pkg:gem/erb#lib/erb.rb:1170 def def_class(superklass = T.unsafe(nil), methodname = T.unsafe(nil)); end # :markup: markdown @@ -132,7 +132,7 @@ class ERB # MyClass.new.render('foo', 123) # => "foo 123" # ``` # - # source://erb//lib/erb.rb#1088 + # pkg:gem/erb#lib/erb.rb:1088 def def_method(mod, methodname, fname = T.unsafe(nil)); end # :markup: markdown @@ -153,7 +153,7 @@ class ERB # # => "foo 123" # ``` # - # source://erb//lib/erb.rb#1113 + # pkg:gem/erb#lib/erb.rb:1113 def def_module(methodname = T.unsafe(nil)); end # :markup: markdown @@ -163,7 +163,7 @@ class ERB # # [encodings]: rdoc-ref:ERB@Encodings # - # source://erb//lib/erb.rb#909 + # pkg:gem/erb#lib/erb.rb:909 def encoding; end # :markup: markdown @@ -173,7 +173,7 @@ class ERB # # [error reporting]: rdoc-ref:ERB@Error+Reporting # - # source://erb//lib/erb.rb#917 + # pkg:gem/erb#lib/erb.rb:917 def filename; end # :markup: markdown @@ -183,7 +183,7 @@ class ERB # # [error reporting]: rdoc-ref:ERB@Error+Reporting # - # source://erb//lib/erb.rb#917 + # pkg:gem/erb#lib/erb.rb:917 def filename=(_arg0); end # :markup: markdown @@ -193,7 +193,7 @@ class ERB # # [error reporting]: rdoc-ref:ERB@Error+Reporting # - # source://erb//lib/erb.rb#925 + # pkg:gem/erb#lib/erb.rb:925 def lineno; end # :markup: markdown @@ -203,7 +203,7 @@ class ERB # # [error reporting]: rdoc-ref:ERB@Error+Reporting # - # source://erb//lib/erb.rb#925 + # pkg:gem/erb#lib/erb.rb:925 def lineno=(_arg0); end # :markup: markdown @@ -217,7 +217,7 @@ class ERB # # [error reporting]: rdoc-ref:ERB@Error+Reporting # - # source://erb//lib/erb.rb#937 + # pkg:gem/erb#lib/erb.rb:937 def location=(_arg0); end # :markup: markdown @@ -233,7 +233,7 @@ class ERB # # => # # ``` # - # source://erb//lib/erb.rb#854 + # pkg:gem/erb#lib/erb.rb:854 def make_compiler(trim_mode); end # :markup: markdown @@ -254,7 +254,7 @@ class ERB # [default binding]: rdoc-ref:ERB@Default+Binding # [local binding]: rdoc-ref:ERB@Local+Binding # - # source://erb//lib/erb.rb#1008 + # pkg:gem/erb#lib/erb.rb:1008 def result(b = T.unsafe(nil)); end # :markup: markdown @@ -269,7 +269,7 @@ class ERB # # [augmented binding]: rdoc-ref:ERB@Augmented+Binding # - # source://erb//lib/erb.rb#1027 + # pkg:gem/erb#lib/erb.rb:1027 def result_with_hash(hash); end # :markup: markdown @@ -280,7 +280,7 @@ class ERB # Like #result, but prints the result string (instead of returning it); # returns `nil`. # - # source://erb//lib/erb.rb#986 + # pkg:gem/erb#lib/erb.rb:986 def run(b = T.unsafe(nil)); end # :markup: markdown @@ -313,7 +313,7 @@ class ERB # @trim_mode=nil> # ``` # - # source://erb//lib/erb.rb#972 + # pkg:gem/erb#lib/erb.rb:972 def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end # :markup: markdown @@ -358,7 +358,7 @@ class ERB # _foo # ``` # - # source://erb//lib/erb.rb#900 + # pkg:gem/erb#lib/erb.rb:900 def src; end private @@ -380,7 +380,7 @@ class ERB # # [default binding]: rdoc-ref:ERB@Default+Binding # - # source://erb//lib/erb.rb#1051 + # pkg:gem/erb#lib/erb.rb:1051 def new_toplevel(vars = T.unsafe(nil)); end class << self @@ -391,7 +391,7 @@ class ERB # # Returns the string \ERB version. # - # source://erb//lib/erb.rb#787 + # pkg:gem/erb#lib/erb.rb:787 def version; end end end @@ -468,20 +468,20 @@ end # # Good! See also ERB#def_method, ERB#def_module, and ERB#def_class. # -# source://erb//lib/erb/compiler.rb#73 +# pkg:gem/erb#lib/erb/compiler.rb:73 class ERB::Compiler # Construct a new compiler using the trim_mode. See ERB::new for available # trim modes. # # @return [Compiler] a new instance of Compiler # - # source://erb//lib/erb/compiler.rb#433 + # pkg:gem/erb#lib/erb/compiler.rb:433 def initialize(trim_mode); end - # source://erb//lib/erb/compiler.rb#315 + # pkg:gem/erb#lib/erb/compiler.rb:315 def add_insert_cmd(out, content); end - # source://erb//lib/erb/compiler.rb#311 + # pkg:gem/erb#lib/erb/compiler.rb:311 def add_put_cmd(out, content); end # Compiles an ERB template into Ruby code. Returns an array of the code @@ -489,232 +489,232 @@ class ERB::Compiler # # @raise [ArgumentError] # - # source://erb//lib/erb/compiler.rb#321 + # pkg:gem/erb#lib/erb/compiler.rb:321 def compile(s); end - # source://erb//lib/erb/compiler.rb#381 + # pkg:gem/erb#lib/erb/compiler.rb:381 def compile_content(stag, out); end - # source://erb//lib/erb/compiler.rb#368 + # pkg:gem/erb#lib/erb/compiler.rb:368 def compile_etag(etag, out, scanner); end - # source://erb//lib/erb/compiler.rb#344 + # pkg:gem/erb#lib/erb/compiler.rb:344 def compile_stag(stag, out, scanner); end # The command to handle text that is inserted prior to a newline # - # source://erb//lib/erb/compiler.rb#446 + # pkg:gem/erb#lib/erb/compiler.rb:446 def insert_cmd; end # The command to handle text that is inserted prior to a newline # - # source://erb//lib/erb/compiler.rb#446 + # pkg:gem/erb#lib/erb/compiler.rb:446 def insert_cmd=(_arg0); end - # source://erb//lib/erb/compiler.rb#427 + # pkg:gem/erb#lib/erb/compiler.rb:427 def make_scanner(src); end # Returns the value of attribute percent. # - # source://erb//lib/erb/compiler.rb#440 + # pkg:gem/erb#lib/erb/compiler.rb:440 def percent; end # An array of commands appended to compiled code # - # source://erb//lib/erb/compiler.rb#452 + # pkg:gem/erb#lib/erb/compiler.rb:452 def post_cmd; end # An array of commands appended to compiled code # - # source://erb//lib/erb/compiler.rb#452 + # pkg:gem/erb#lib/erb/compiler.rb:452 def post_cmd=(_arg0); end # An array of commands prepended to compiled code # - # source://erb//lib/erb/compiler.rb#449 + # pkg:gem/erb#lib/erb/compiler.rb:449 def pre_cmd; end # An array of commands prepended to compiled code # - # source://erb//lib/erb/compiler.rb#449 + # pkg:gem/erb#lib/erb/compiler.rb:449 def pre_cmd=(_arg0); end - # source://erb//lib/erb/compiler.rb#398 + # pkg:gem/erb#lib/erb/compiler.rb:398 def prepare_trim_mode(mode); end # The command to handle text that ends with a newline # - # source://erb//lib/erb/compiler.rb#443 + # pkg:gem/erb#lib/erb/compiler.rb:443 def put_cmd; end # The command to handle text that ends with a newline # - # source://erb//lib/erb/compiler.rb#443 + # pkg:gem/erb#lib/erb/compiler.rb:443 def put_cmd=(_arg0); end # Returns the value of attribute trim_mode. # - # source://erb//lib/erb/compiler.rb#440 + # pkg:gem/erb#lib/erb/compiler.rb:440 def trim_mode; end private # A buffered text in #compile # - # source://erb//lib/erb/compiler.rb#457 + # pkg:gem/erb#lib/erb/compiler.rb:457 def content; end # A buffered text in #compile # - # source://erb//lib/erb/compiler.rb#457 + # pkg:gem/erb#lib/erb/compiler.rb:457 def content=(_arg0); end - # source://erb//lib/erb/compiler.rb#459 + # pkg:gem/erb#lib/erb/compiler.rb:459 def detect_magic_comment(s, enc = T.unsafe(nil)); end - # source://erb//lib/erb/compiler.rb#484 + # pkg:gem/erb#lib/erb/compiler.rb:484 def warn_invalid_trim_mode(mode, uplevel:); end end -# source://erb//lib/erb/compiler.rb#278 +# pkg:gem/erb#lib/erb/compiler.rb:278 class ERB::Compiler::Buffer # @return [Buffer] a new instance of Buffer # - # source://erb//lib/erb/compiler.rb#279 + # pkg:gem/erb#lib/erb/compiler.rb:279 def initialize(compiler, enc = T.unsafe(nil), frozen = T.unsafe(nil)); end - # source://erb//lib/erb/compiler.rb#301 + # pkg:gem/erb#lib/erb/compiler.rb:301 def close; end - # source://erb//lib/erb/compiler.rb#295 + # pkg:gem/erb#lib/erb/compiler.rb:295 def cr; end - # source://erb//lib/erb/compiler.rb#291 + # pkg:gem/erb#lib/erb/compiler.rb:291 def push(cmd); end # Returns the value of attribute script. # - # source://erb//lib/erb/compiler.rb#289 + # pkg:gem/erb#lib/erb/compiler.rb:289 def script; end end -# source://erb//lib/erb/compiler.rb#254 +# pkg:gem/erb#lib/erb/compiler.rb:254 class ERB::Compiler::ExplicitScanner < ::ERB::Compiler::Scanner - # source://erb//lib/erb/compiler.rb#255 + # pkg:gem/erb#lib/erb/compiler.rb:255 def scan; end end -# source://erb//lib/erb/compiler.rb#74 +# pkg:gem/erb#lib/erb/compiler.rb:74 class ERB::Compiler::PercentLine # @return [PercentLine] a new instance of PercentLine # - # source://erb//lib/erb/compiler.rb#75 + # pkg:gem/erb#lib/erb/compiler.rb:75 def initialize(str); end # Returns the value of attribute value. # - # source://erb//lib/erb/compiler.rb#79 + # pkg:gem/erb#lib/erb/compiler.rb:79 def to_s; end # Returns the value of attribute value. # - # source://erb//lib/erb/compiler.rb#78 + # pkg:gem/erb#lib/erb/compiler.rb:78 def value; end end -# source://erb//lib/erb/compiler.rb#82 +# pkg:gem/erb#lib/erb/compiler.rb:82 class ERB::Compiler::Scanner # @return [Scanner] a new instance of Scanner # - # source://erb//lib/erb/compiler.rb#108 + # pkg:gem/erb#lib/erb/compiler.rb:108 def initialize(src, trim_mode, percent); end # Returns the value of attribute etags. # - # source://erb//lib/erb/compiler.rb#115 + # pkg:gem/erb#lib/erb/compiler.rb:115 def etags; end - # source://erb//lib/erb/compiler.rb#117 + # pkg:gem/erb#lib/erb/compiler.rb:117 def scan; end # Returns the value of attribute stag. # - # source://erb//lib/erb/compiler.rb#114 + # pkg:gem/erb#lib/erb/compiler.rb:114 def stag; end # Sets the attribute stag # # @param value the value to set the attribute stag to. # - # source://erb//lib/erb/compiler.rb#114 + # pkg:gem/erb#lib/erb/compiler.rb:114 def stag=(_arg0); end # Returns the value of attribute stags. # - # source://erb//lib/erb/compiler.rb#115 + # pkg:gem/erb#lib/erb/compiler.rb:115 def stags; end class << self - # source://erb//lib/erb/compiler.rb#97 + # pkg:gem/erb#lib/erb/compiler.rb:97 def default_scanner=(klass); end - # source://erb//lib/erb/compiler.rb#101 + # pkg:gem/erb#lib/erb/compiler.rb:101 def make_scanner(src, trim_mode, percent); end - # source://erb//lib/erb/compiler.rb#94 + # pkg:gem/erb#lib/erb/compiler.rb:94 def regist_scanner(klass, trim_mode, percent); end - # source://erb//lib/erb/compiler.rb#86 + # pkg:gem/erb#lib/erb/compiler.rb:86 def register_scanner(klass, trim_mode, percent); end end end -# source://erb//lib/erb/compiler.rb#107 +# pkg:gem/erb#lib/erb/compiler.rb:107 ERB::Compiler::Scanner::DEFAULT_ETAGS = T.let(T.unsafe(nil), Array) -# source://erb//lib/erb/compiler.rb#106 +# pkg:gem/erb#lib/erb/compiler.rb:106 ERB::Compiler::Scanner::DEFAULT_STAGS = T.let(T.unsafe(nil), Array) -# source://erb//lib/erb/compiler.rb#240 +# pkg:gem/erb#lib/erb/compiler.rb:240 class ERB::Compiler::SimpleScanner < ::ERB::Compiler::Scanner - # source://erb//lib/erb/compiler.rb#241 + # pkg:gem/erb#lib/erb/compiler.rb:241 def scan; end end -# source://erb//lib/erb/compiler.rb#120 +# pkg:gem/erb#lib/erb/compiler.rb:120 class ERB::Compiler::TrimScanner < ::ERB::Compiler::Scanner # @return [TrimScanner] a new instance of TrimScanner # - # source://erb//lib/erb/compiler.rb#121 + # pkg:gem/erb#lib/erb/compiler.rb:121 def initialize(src, trim_mode, percent); end - # source://erb//lib/erb/compiler.rb#210 + # pkg:gem/erb#lib/erb/compiler.rb:210 def explicit_trim_line(line); end # @return [Boolean] # - # source://erb//lib/erb/compiler.rb#229 + # pkg:gem/erb#lib/erb/compiler.rb:229 def is_erb_stag?(s); end - # source://erb//lib/erb/compiler.rb#152 + # pkg:gem/erb#lib/erb/compiler.rb:152 def percent_line(line, &block); end - # source://erb//lib/erb/compiler.rb#140 + # pkg:gem/erb#lib/erb/compiler.rb:140 def scan(&block); end - # source://erb//lib/erb/compiler.rb#165 + # pkg:gem/erb#lib/erb/compiler.rb:165 def scan_line(line); end - # source://erb//lib/erb/compiler.rb#174 + # pkg:gem/erb#lib/erb/compiler.rb:174 def trim_line1(line); end - # source://erb//lib/erb/compiler.rb#188 + # pkg:gem/erb#lib/erb/compiler.rb:188 def trim_line2(line); end end # :stopdoc: # -# source://erb//lib/erb/compiler.rb#476 +# pkg:gem/erb#lib/erb/compiler.rb:476 ERB::Compiler::WARNING_UPLEVEL = T.let(T.unsafe(nil), Integer) # ERB::DefMethod @@ -747,32 +747,30 @@ ERB::Compiler::WARNING_UPLEVEL = T.let(T.unsafe(nil), Integer) # # 30 # -# source://erb//lib/erb/def_method.rb#33 +# pkg:gem/erb#lib/erb/def_method.rb:33 module ERB::DefMethod private # define _methodname_ as instance method of current module, using ERB # object or eRuby file # - # source://erb//lib/erb/def_method.rb#36 + # pkg:gem/erb#lib/erb/def_method.rb:36 def def_erb_method(methodname, erb_or_fname); end class << self # define _methodname_ as instance method of current module, using ERB # object or eRuby file # - # source://erb//lib/erb/def_method.rb#46 + # pkg:gem/erb#lib/erb/def_method.rb:46 def def_erb_method(methodname, erb_or_fname); end end end -module ERB::Escape; end - # ERB::Util # # A utility module for conversion routines, often handy in HTML generation. # -# source://erb//lib/erb/util.rb#33 +# pkg:gem/erb#lib/erb/util.rb:33 module ERB::Util include ::ActiveSupport::CoreExt::ERBUtil include ::ERB::Escape @@ -782,34 +780,34 @@ module ERB::Util # cgi.gem <= v0.3.2 # - # source://erb//lib/erb/util.rb#74 + # pkg:gem/erb#lib/erb/util.rb:74 def u(s); end # cgi.gem <= v0.3.2 # - # source://erb//lib/erb/util.rb#64 + # pkg:gem/erb#lib/erb/util.rb:64 def url_encode(s); end class << self - # source://erb//lib/erb/util.rb#49 + # pkg:gem/erb#lib/erb/util.rb:49 def h(s); end - # source://erb//lib/erb/util.rb#47 + # pkg:gem/erb#lib/erb/util.rb:47 def html_escape(s); end # cgi.gem <= v0.3.2 # - # source://erb//lib/erb/util.rb#75 + # pkg:gem/erb#lib/erb/util.rb:75 def u(s); end # cgi.gem <= v0.3.2 # - # source://erb//lib/erb/util.rb#76 + # pkg:gem/erb#lib/erb/util.rb:76 def url_encode(s); end end end # The string \ERB version. # -# source://erb//lib/erb/version.rb#4 +# pkg:gem/erb#lib/erb/version.rb:4 ERB::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/erubi@1.13.1.rbi b/sorbet/rbi/gems/erubi@1.13.1.rbi index 3a6982f1a..03a2765ad 100644 --- a/sorbet/rbi/gems/erubi@1.13.1.rbi +++ b/sorbet/rbi/gems/erubi@1.13.1.rbi @@ -5,20 +5,20 @@ # Please instead update this file by running `bin/tapioca gem erubi`. -# source://erubi//lib/erubi.rb#3 +# pkg:gem/erubi#lib/erubi.rb:3 module Erubi private - # source://erubi//lib/erubi.rb#22 + # pkg:gem/erubi#lib/erubi.rb:22 def h(_arg0); end class << self - # source://erubi//lib/erubi.rb#49 + # pkg:gem/erubi#lib/erubi.rb:49 def h(_arg0); end end end -# source://erubi//lib/erubi.rb#51 +# pkg:gem/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'). @@ -49,69 +49,69 @@ class Erubi::Engine # # @return [Engine] a new instance of Engine # - # source://erubi//lib/erubi.rb#91 + # pkg:gem/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 + # pkg:gem/erubi#lib/erubi.rb:62 def bufvar; end # The filename of the template, if one was given. # - # source://erubi//lib/erubi.rb#59 + # pkg:gem/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 + # pkg:gem/erubi#lib/erubi.rb:56 def src; end private # :nocov: # - # source://erubi//lib/erubi.rb#209 + # pkg:gem/erubi#lib/erubi.rb:209 def _dup_string_if_frozen(string); end # Add ruby code to the template # - # source://erubi//lib/erubi.rb#232 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/erubi#lib/erubi.rb:267 def handle(indicator, code, tailch, rspace, lspace); end # Make sure that any current expression has been terminated. @@ -119,7 +119,7 @@ class Erubi::Engine # the chain_appends option is used, expressions may not be # terminated. # - # source://erubi//lib/erubi.rb#295 + # pkg:gem/erubi#lib/erubi.rb:295 def terminate_expression; end # Make sure the buffer variable is the target of the next append @@ -129,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 + # pkg:gem/erubi#lib/erubi.rb:277 def with_buffer; end end # The default regular expression used for scanning. # -# source://erubi//lib/erubi.rb#53 +# pkg:gem/erubi#lib/erubi.rb:53 Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://erubi//lib/erubi.rb#17 +# pkg:gem/erubi#lib/erubi.rb:17 Erubi::FREEZE_TEMPLATE_LITERALS = T.let(T.unsafe(nil), TrueClass) -# source://erubi//lib/erubi.rb#15 +# pkg:gem/erubi#lib/erubi.rb:15 Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol) -# source://erubi//lib/erubi.rb#8 +# pkg:gem/erubi#lib/erubi.rb:8 Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer) -# source://erubi//lib/erubi.rb#9 +# pkg:gem/erubi#lib/erubi.rb:9 Erubi::RANGE_LAST = T.let(T.unsafe(nil), Integer) -# source://erubi//lib/erubi.rb#16 +# pkg:gem/erubi#lib/erubi.rb:16 Erubi::SKIP_DEFINED_FOR_INSTANCE_VARIABLE = T.let(T.unsafe(nil), TrueClass) -# source://erubi//lib/erubi.rb#4 +# pkg:gem/erubi#lib/erubi.rb:4 Erubi::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/faraday-gzip@3.1.0.rbi b/sorbet/rbi/gems/faraday-gzip@3.1.0.rbi index 94187fc1a..4da903c09 100644 --- a/sorbet/rbi/gems/faraday-gzip@3.1.0.rbi +++ b/sorbet/rbi/gems/faraday-gzip@3.1.0.rbi @@ -11,98 +11,98 @@ # server. This resembles what Ruby 1.9+ does internally in Net::HTTP#get. # Based on https://github.com/lostisland/faraday_middleware/blob/main/lib/faraday_middleware/gzip.rb # -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#11 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:11 module Faraday; end # Middleware main module. # -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#13 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:13 module Faraday::Gzip; end # Faraday middleware for decompression # -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#15 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:15 class Faraday::Gzip::Middleware < ::Faraday::Middleware # Process brotli # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#115 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:115 def brotli_inflate(body); end # Main method to process the response # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#42 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:42 def call(env); end # Finds a proper processor # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#51 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:51 def find_processor(response_env); end # Process deflate # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#100 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:100 def inflate(body); end # Calls the proper processor to decompress body # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#70 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:70 def reset_body(env, processor); end # Process gzip # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#89 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:89 def uncompress_gzip(body); end private # @return [Boolean] # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#121 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:121 def body_nil_or_empty?(body); end - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#131 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:131 def parse_content_encoding(value); end # Decode in reverse order of application: # "gzip, br" => br -> gzip # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#142 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:142 def processor_chain(encodings); end - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#146 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:146 def processors; end class << self # System method required by Faraday # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#22 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:22 def optional_dependency(lib = T.unsafe(nil)); end # Returns supported encodings, adds brotli if the corresponding # dependency is present # - # source://faraday-gzip//lib/faraday/gzip/middleware.rb#33 + # pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:33 def supported_encodings; end end end -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#16 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:16 Faraday::Gzip::Middleware::ACCEPT_ENCODING = T.let(T.unsafe(nil), String) -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#29 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:29 Faraday::Gzip::Middleware::BROTLI_SUPPORTED = T.let(T.unsafe(nil), FalseClass) -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#17 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:17 Faraday::Gzip::Middleware::CONTENT_ENCODING = T.let(T.unsafe(nil), String) -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#18 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:18 Faraday::Gzip::Middleware::CONTENT_LENGTH = T.let(T.unsafe(nil), String) -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#19 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:19 Faraday::Gzip::Middleware::IDENTITY = T.let(T.unsafe(nil), String) -# source://faraday-gzip//lib/faraday/gzip/middleware.rb#39 +# pkg:gem/faraday-gzip#lib/faraday/gzip/middleware.rb:39 Faraday::Gzip::Middleware::SUPPORTED_ENCODINGS = T.let(T.unsafe(nil), String) -# source://faraday-gzip//lib/faraday/gzip/version.rb#5 +# pkg:gem/faraday-gzip#lib/faraday/gzip/version.rb:5 Faraday::Gzip::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi b/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi index 7676ff405..e7fcf041f 100644 --- a/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi +++ b/sorbet/rbi/gems/faraday-net_http@3.1.0.rbi @@ -5,68 +5,68 @@ # Please instead update this file by running `bin/tapioca gem faraday-net_http`. -# source://faraday-net_http//lib/faraday/adapter/net_http.rb#12 +# pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:12 module Faraday; end -# source://faraday-net_http//lib/faraday/adapter/net_http.rb#13 +# pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:13 class Faraday::Adapter; end -# source://faraday-net_http//lib/faraday/adapter/net_http.rb#14 +# pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:14 class Faraday::Adapter::NetHttp < ::Faraday::Adapter # @return [NetHttp] a new instance of NetHttp # - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#38 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:38 def initialize(app = T.unsafe(nil), opts = T.unsafe(nil), &block); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#43 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:43 def build_connection(env); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#63 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:63 def call(env); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#51 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:51 def net_http_connection(env); end private - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#148 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:148 def configure_request(http, req); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#131 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:131 def configure_ssl(http, ssl); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#79 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:79 def create_request(env); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#185 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:185 def encoded_body(http_response); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#95 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:95 def perform_request(http, env); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#109 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:109 def request_with_wrapped_block(http, env, &block); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#121 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:121 def save_http_response(env, http_response); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#168 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:168 def ssl_cert_store(ssl); end - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#175 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:175 def ssl_verify_mode(ssl); end # @return [Boolean] # - # source://faraday-net_http//lib/faraday/adapter/net_http.rb#197 + # pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:197 def verify_hostname_enabled?(http, ssl); end end -# source://faraday-net_http//lib/faraday/adapter/net_http.rb#36 +# pkg:gem/faraday-net_http#lib/faraday/adapter/net_http.rb:36 Faraday::Adapter::NetHttp::NET_HTTP_EXCEPTIONS = T.let(T.unsafe(nil), Array) -# source://faraday-net_http//lib/faraday/net_http/version.rb#4 +# pkg:gem/faraday-net_http#lib/faraday/net_http/version.rb:4 module Faraday::NetHttp; end -# source://faraday-net_http//lib/faraday/net_http/version.rb#5 +# pkg:gem/faraday-net_http#lib/faraday/net_http/version.rb:5 Faraday::NetHttp::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 670f77286..b65d10334 100644 --- a/sorbet/rbi/gems/faraday@2.9.0.rbi +++ b/sorbet/rbi/gems/faraday@2.9.0.rbi @@ -7,55 +7,55 @@ # conn.get '/' # -# source://faraday//lib/faraday/version.rb#3 +# pkg:gem/faraday#lib/faraday/version.rb:3 module Faraday class << self # @overload default_adapter # @overload default_adapter= # - # source://faraday//lib/faraday.rb#55 + # pkg:gem/faraday#lib/faraday.rb:55 def default_adapter; end # Documented elsewhere, see default_adapter reader # - # source://faraday//lib/faraday.rb#102 + # pkg:gem/faraday#lib/faraday.rb:102 def default_adapter=(adapter); end # Option for the default_adapter # @return [Hash] default_adapter options # - # source://faraday//lib/faraday.rb#59 + # pkg:gem/faraday#lib/faraday.rb:59 def default_adapter_options; end # Option for the default_adapter # @return [Hash] default_adapter options # - # source://faraday//lib/faraday.rb#59 + # pkg:gem/faraday#lib/faraday.rb:59 def default_adapter_options=(_arg0); end # @overload default_connection # @overload default_connection= # - # source://faraday//lib/faraday.rb#120 + # pkg:gem/faraday#lib/faraday.rb:120 def default_connection; end # Documented below, see default_connection # - # source://faraday//lib/faraday.rb#62 + # pkg:gem/faraday#lib/faraday.rb:62 def default_connection=(_arg0); end # Gets the default connection options used when calling {Faraday#new}. # # @return [Faraday::ConnectionOptions] # - # source://faraday//lib/faraday.rb#127 + # pkg:gem/faraday#lib/faraday.rb:127 def default_connection_options; end # Sets the default options used when calling {Faraday#new}. # # @param options [Hash, Faraday::ConnectionOptions] # - # source://faraday//lib/faraday.rb#134 + # pkg:gem/faraday#lib/faraday.rb:134 def default_connection_options=(options); end # Tells Faraday to ignore the environment proxy (http_proxy). @@ -63,7 +63,7 @@ module Faraday # # @return [Boolean] # - # source://faraday//lib/faraday.rb#67 + # pkg:gem/faraday#lib/faraday.rb:67 def ignore_env_proxy; end # Tells Faraday to ignore the environment proxy (http_proxy). @@ -71,21 +71,21 @@ module Faraday # # @return [Boolean] # - # source://faraday//lib/faraday.rb#67 + # pkg:gem/faraday#lib/faraday.rb:67 def ignore_env_proxy=(_arg0); end # Gets or sets the path that the Faraday libs are loaded from. # # @return [String] # - # source://faraday//lib/faraday.rb#46 + # pkg:gem/faraday#lib/faraday.rb:46 def lib_path; end # Gets or sets the path that the Faraday libs are loaded from. # # @return [String] # - # source://faraday//lib/faraday.rb#46 + # pkg:gem/faraday#lib/faraday.rb:46 def lib_path=(_arg0); end # Initializes a new {Connection}. @@ -113,12 +113,12 @@ module Faraday # for a specific request. # @return [Faraday::Connection] # - # source://faraday//lib/faraday.rb#96 + # pkg:gem/faraday#lib/faraday.rb:96 def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end # @return [Boolean] # - # source://faraday//lib/faraday.rb#107 + # pkg:gem/faraday#lib/faraday.rb:107 def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end # The root path that Faraday is being loaded from. @@ -127,7 +127,7 @@ module Faraday # # @return [String] # - # source://faraday//lib/faraday.rb#42 + # pkg:gem/faraday#lib/faraday.rb:42 def root_path; end # The root path that Faraday is being loaded from. @@ -136,7 +136,7 @@ module Faraday # # @return [String] # - # source://faraday//lib/faraday.rb#42 + # pkg:gem/faraday#lib/faraday.rb:42 def root_path=(_arg0); end private @@ -144,7 +144,7 @@ module Faraday # Internal: Proxies method calls on the Faraday constant to # .default_connection. # - # source://faraday//lib/faraday.rb#143 + # pkg:gem/faraday#lib/faraday.rb:143 def method_missing(name, *args, &block); end end end @@ -152,23 +152,23 @@ end # Base class for all Faraday adapters. Adapters are # responsible for fulfilling a Faraday request. # -# source://faraday//lib/faraday/adapter.rb#6 +# pkg:gem/faraday#lib/faraday/adapter.rb:6 class Faraday::Adapter extend ::Faraday::MiddlewareRegistry extend ::Faraday::Adapter::Parallelism # @return [Adapter] a new instance of Adapter # - # source://faraday//lib/faraday/adapter.rb#28 + # pkg:gem/faraday#lib/faraday/adapter.rb:28 def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end - # source://faraday//lib/faraday/adapter.rb#55 + # pkg:gem/faraday#lib/faraday/adapter.rb:55 def call(env); end # Close any persistent connections. The adapter should still be usable # after calling close. # - # source://faraday//lib/faraday/adapter.rb#50 + # pkg:gem/faraday#lib/faraday/adapter.rb:50 def close; end # Yields or returns an adapter's configured connection. Depends on @@ -179,7 +179,7 @@ class Faraday::Adapter # if no block is given. # @yield [conn] # - # source://faraday//lib/faraday/adapter.rb#41 + # pkg:gem/faraday#lib/faraday/adapter.rb:41 def connection(env); end private @@ -194,37 +194,37 @@ class Faraday::Adapter # @return [Integer, nil] Timeout duration in seconds, or nil if no timeout # has been set. # - # source://faraday//lib/faraday/adapter.rb#85 + # pkg:gem/faraday#lib/faraday/adapter.rb:85 def request_timeout(type, options); end - # source://faraday//lib/faraday/adapter.rb#62 + # pkg:gem/faraday#lib/faraday/adapter.rb:62 def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end end -# source://faraday//lib/faraday/adapter.rb#9 +# pkg:gem/faraday#lib/faraday/adapter.rb:9 Faraday::Adapter::CONTENT_LENGTH = T.let(T.unsafe(nil), String) # This module marks an Adapter as supporting parallel requests. # -# source://faraday//lib/faraday/adapter.rb#12 +# pkg:gem/faraday#lib/faraday/adapter.rb:12 module Faraday::Adapter::Parallelism - # source://faraday//lib/faraday/adapter.rb#19 + # pkg:gem/faraday#lib/faraday/adapter.rb:19 def inherited(subclass); end # Sets the attribute supports_parallel # # @param value the value to set the attribute supports_parallel to. # - # source://faraday//lib/faraday/adapter.rb#13 + # pkg:gem/faraday#lib/faraday/adapter.rb:13 def supports_parallel=(_arg0); end # @return [Boolean] # - # source://faraday//lib/faraday/adapter.rb#15 + # pkg:gem/faraday#lib/faraday/adapter.rb:15 def supports_parallel?; end end -# source://faraday//lib/faraday/adapter.rb#93 +# pkg:gem/faraday#lib/faraday/adapter.rb:93 Faraday::Adapter::TIMEOUT_KEYS = T.let(T.unsafe(nil), Hash) # @example @@ -283,45 +283,45 @@ Faraday::Adapter::TIMEOUT_KEYS = T.let(T.unsafe(nil), Hash) # resp = test.post '/foo', JSON.dump(name: 'YK', created_at: Time.now) # resp.status # => 200 # -# source://faraday//lib/faraday/adapter/test.rb#62 +# pkg:gem/faraday#lib/faraday/adapter/test.rb:62 class Faraday::Adapter::Test < ::Faraday::Adapter # @return [Test] a new instance of Test # - # source://faraday//lib/faraday/adapter/test.rb#258 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:258 def initialize(app, stubs = T.unsafe(nil), &block); end # @param env [Faraday::Env] # - # source://faraday//lib/faraday/adapter/test.rb#269 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:269 def call(env); end # @yield [stubs] # - # source://faraday//lib/faraday/adapter/test.rb#264 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:264 def configure; end # Returns the value of attribute stubs. # - # source://faraday//lib/faraday/adapter/test.rb#63 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:63 def stubs; end # Sets the attribute stubs # # @param value the value to set the attribute stubs to. # - # source://faraday//lib/faraday/adapter/test.rb#63 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:63 def stubs=(_arg0); end end # Stub request # -# source://faraday//lib/faraday/adapter/test.rb#187 +# pkg:gem/faraday#lib/faraday/adapter/test.rb:187 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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def block; end # Sets the attribute block @@ -329,14 +329,14 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def body; end # Sets the attribute body @@ -344,19 +344,19 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def body=(_); end # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#242 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:242 def body_match?(request_body); end # Returns the value of attribute headers # # @return [Object] the current value of headers # - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def headers; end # Sets the attribute headers @@ -364,19 +364,19 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def headers=(_); end # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#227 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:227 def headers_match?(request_headers); end # Returns the value of attribute host # # @return [Object] the current value of host # - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def host; end # Sets the attribute host @@ -384,26 +384,26 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def host=(_); end # @param env [Faraday::Env] # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#189 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:189 def matches?(env); end # @param env [Faraday::Env] # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#214 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:214 def params_match?(env); end # Returns the value of attribute path # # @return [Object] the current value of path # - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def path; end # Sets the attribute path @@ -411,19 +411,19 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def path=(_); end # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#205 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:205 def path_match?(request_path, meta); end # Returns the value of attribute query # # @return [Object] the current value of query # - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def query; end # Sets the attribute query @@ -431,14 +431,14 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def strict_mode; end # Sets the attribute strict_mode @@ -446,81 +446,81 @@ class Faraday::Adapter::Test::Stub < ::Struct # @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 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def strict_mode=(_); end - # source://faraday//lib/faraday/adapter/test.rb#253 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:253 def to_s; end class << self - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def [](*_arg0); end - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def inspect; end - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def keyword_init?; end - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def members; end - # source://faraday//lib/faraday/adapter/test.rb#187 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:187 def new(*_arg0); end end end # A stack of Stubs # -# source://faraday//lib/faraday/adapter/test.rb#66 +# pkg:gem/faraday#lib/faraday/adapter/test.rb:66 class Faraday::Adapter::Test::Stubs # @return [Stubs] a new instance of Stubs # @yield [_self] # @yieldparam _self [Faraday::Adapter::Test::Stubs] the object that the method was called on # - # source://faraday//lib/faraday/adapter/test.rb#70 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:70 def initialize(strict_mode: T.unsafe(nil)); end - # source://faraday//lib/faraday/adapter/test.rb#122 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:122 def delete(path, headers = T.unsafe(nil), &block); end # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#79 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:79 def empty?; end - # source://faraday//lib/faraday/adapter/test.rb#102 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:102 def get(path, headers = T.unsafe(nil), &block); end - # source://faraday//lib/faraday/adapter/test.rb#106 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:106 def head(path, headers = T.unsafe(nil), &block); end # @param env [Faraday::Env] # - # source://faraday//lib/faraday/adapter/test.rb#84 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:84 def match(env); end - # source://faraday//lib/faraday/adapter/test.rb#126 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:126 def options(path, headers = T.unsafe(nil), &block); end - # source://faraday//lib/faraday/adapter/test.rb#118 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:118 def patch(path, body = T.unsafe(nil), headers = T.unsafe(nil), &block); end - # source://faraday//lib/faraday/adapter/test.rb#110 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:110 def post(path, body = T.unsafe(nil), headers = T.unsafe(nil), &block); end - # source://faraday//lib/faraday/adapter/test.rb#114 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:114 def put(path, body = T.unsafe(nil), headers = T.unsafe(nil), &block); end # Set strict_mode. If the value is true, this adapter tries to find matched requests strictly, # which means that all of a path, parameters, and headers must be the same as an actual request. # - # source://faraday//lib/faraday/adapter/test.rb#147 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:147 def strict_mode=(value); end # Raises an error if any of the stubbed calls have not been made. # - # source://faraday//lib/faraday/adapter/test.rb#131 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:131 def verify_stubbed_calls; end protected @@ -529,49 +529,49 @@ class Faraday::Adapter::Test::Stubs # @param stack [Hash] # @return [Boolean] # - # source://faraday//lib/faraday/adapter/test.rb#177 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:177 def matches?(stack, env); end - # source://faraday//lib/faraday/adapter/test.rb#158 + # pkg:gem/faraday#lib/faraday/adapter/test.rb:158 def new_stub(request_method, path, headers = T.unsafe(nil), body = T.unsafe(nil), &block); end end -# source://faraday//lib/faraday/adapter/test.rb#67 +# pkg:gem/faraday#lib/faraday/adapter/test.rb:67 class Faraday::Adapter::Test::Stubs::NotFound < ::StandardError; end # AdapterRegistry registers adapter class names so they can be looked up by a # String or Symbol name. # -# source://faraday//lib/faraday/adapter_registry.rb#8 +# pkg:gem/faraday#lib/faraday/adapter_registry.rb:8 class Faraday::AdapterRegistry # @return [AdapterRegistry] a new instance of AdapterRegistry # - # source://faraday//lib/faraday/adapter_registry.rb#9 + # pkg:gem/faraday#lib/faraday/adapter_registry.rb:9 def initialize; end - # source://faraday//lib/faraday/adapter_registry.rb#14 + # pkg:gem/faraday#lib/faraday/adapter_registry.rb:14 def get(name); end - # source://faraday//lib/faraday/adapter_registry.rb#23 + # pkg:gem/faraday#lib/faraday/adapter_registry.rb:23 def set(klass, name = T.unsafe(nil)); end end # Raised by Faraday::Response::RaiseError in case of a 400 response. # -# source://faraday//lib/faraday/error.rb#96 +# pkg:gem/faraday#lib/faraday/error.rb:96 class Faraday::BadRequestError < ::Faraday::ClientError; end -# source://faraday//lib/faraday.rb#34 +# pkg:gem/faraday#lib/faraday.rb:34 Faraday::CONTENT_TYPE = T.let(T.unsafe(nil), String) # Faraday client error class. Represents 4xx status responses. # -# source://faraday//lib/faraday/error.rb#92 +# pkg:gem/faraday#lib/faraday/error.rb:92 class Faraday::ClientError < ::Faraday::Error; end # Raised by Faraday::Response::RaiseError in case of a 409 response. # -# source://faraday//lib/faraday/error.rb#120 +# pkg:gem/faraday#lib/faraday/error.rb:120 class Faraday::ConflictError < ::Faraday::ClientError; end # Connection objects manage the default properties and the middleware @@ -585,7 +585,7 @@ class Faraday::ConflictError < ::Faraday::ClientError; end # conn.get 'nigiri' # # => # # -# source://faraday//lib/faraday/connection.rb#15 +# pkg:gem/faraday#lib/faraday/connection.rb:15 class Faraday::Connection extend ::Forwardable @@ -606,13 +606,13 @@ class Faraday::Connection # @return [Connection] a new instance of Connection # @yield [self] after all setup has been done # - # source://faraday//lib/faraday/connection.rb#63 + # pkg:gem/faraday#lib/faraday/connection.rb:63 def initialize(url = T.unsafe(nil), options = T.unsafe(nil)); end - # source://faraday//lib/faraday/connection.rb#120 + # pkg:gem/faraday#lib/faraday/connection.rb:120 def adapter(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#120 + # pkg:gem/faraday#lib/faraday/connection.rb:120 def app(*_arg0, **_arg1, &_arg2); end # Build an absolute URL based on url_prefix. @@ -624,7 +624,7 @@ class Faraday::Connection # @param url [String, URI, nil] # @return [URI] # - # source://faraday//lib/faraday/connection.rb#470 + # pkg:gem/faraday#lib/faraday/connection.rb:470 def build_exclusive_url(url = T.unsafe(nil), params = T.unsafe(nil), params_encoder = T.unsafe(nil)); end # Creates and configures the request object. @@ -633,7 +633,7 @@ class Faraday::Connection # @return [Faraday::Request] # @yield [Faraday::Request] if block given # - # source://faraday//lib/faraday/connection.rb#453 + # pkg:gem/faraday#lib/faraday/connection.rb:453 def build_request(method); end # Takes a relative url for a request and combines it with the defaults @@ -653,19 +653,19 @@ class Faraday::Connection # @param extra_params [Hash] # @param url [String, URI, nil] # - # source://faraday//lib/faraday/connection.rb#407 + # pkg:gem/faraday#lib/faraday/connection.rb:407 def build_url(url = T.unsafe(nil), extra_params = T.unsafe(nil)); end # @return [Faraday::RackBuilder] Builder for this Connection. # - # source://faraday//lib/faraday/connection.rb#31 + # pkg:gem/faraday#lib/faraday/connection.rb:31 def builder; end # Closes the underlying resources and/or connections. In the case of # persistent connections, this closes all currently open connections # but does not prevent new connections from being made. # - # source://faraday//lib/faraday/connection.rb#125 + # pkg:gem/faraday#lib/faraday/connection.rb:125 def close; end # Check if the adapter is parallel-capable. @@ -674,15 +674,15 @@ class Faraday::Connection # @return [Object, nil] a parallel manager or nil if yielded # @yield if the adapter isn't parallel-capable, or if no adapter is set yet. # - # source://faraday//lib/faraday/connection.rb#291 + # pkg:gem/faraday#lib/faraday/connection.rb:291 def default_parallel_manager; end # Sets the default parallel manager for this connection. # - # source://faraday//lib/faraday/connection.rb#40 + # pkg:gem/faraday#lib/faraday/connection.rb:40 def default_parallel_manager=(_arg0); end - # source://faraday//lib/faraday/connection.rb#198 + # pkg:gem/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. @@ -690,34 +690,34 @@ class Faraday::Connection # @api private # @return [Faraday::Connection] # - # source://faraday//lib/faraday/connection.rb#490 + # pkg:gem/faraday#lib/faraday/connection.rb:490 def dup; end - # source://faraday//lib/faraday/connection.rb#533 + # pkg:gem/faraday#lib/faraday/connection.rb:533 def find_default_proxy; end - # source://faraday//lib/faraday/connection.rb#198 + # pkg:gem/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#198 + # pkg:gem/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. # - # source://faraday//lib/faraday/connection.rb#24 + # pkg:gem/faraday#lib/faraday/connection.rb:24 def headers; end # Sets the Hash of unencoded HTTP header key/value pairs. # # @param hash [Hash] # - # source://faraday//lib/faraday/connection.rb#114 + # pkg:gem/faraday#lib/faraday/connection.rb:114 def headers=(hash); end - # source://faraday//lib/faraday/connection.rb#338 + # pkg:gem/faraday#lib/faraday/connection.rb:338 def host(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#338 + # pkg:gem/faraday#lib/faraday/connection.rb:338 def host=(*_arg0, **_arg1, &_arg2); end # Sets up the parallel manager to make a set of requests. @@ -727,17 +727,17 @@ class Faraday::Connection # @return [void] # @yield a block to execute multiple requests. # - # source://faraday//lib/faraday/connection.rb#317 + # pkg:gem/faraday#lib/faraday/connection.rb:317 def in_parallel(manager = T.unsafe(nil)); end # Determine if this Faraday::Connection can make parallel requests. # # @return [Boolean] # - # source://faraday//lib/faraday/connection.rb#306 + # pkg:gem/faraday#lib/faraday/connection.rb:306 def in_parallel?; end - # source://faraday//lib/faraday/connection.rb#96 + # pkg:gem/faraday#lib/faraday/connection.rb:96 def initialize_proxy(url, options); end # @example @@ -747,30 +747,30 @@ class Faraday::Connection # @return [Faraday::Response] # @yield [Faraday::Request] for further request customizations # - # source://faraday//lib/faraday/connection.rb#222 + # pkg:gem/faraday#lib/faraday/connection.rb:222 def options(*args); end # @return [Object] the parallel manager for this Connection. # - # source://faraday//lib/faraday/connection.rb#37 + # pkg:gem/faraday#lib/faraday/connection.rb:37 def parallel_manager; end # @return [Hash] URI query unencoded key/value pairs. # - # source://faraday//lib/faraday/connection.rb#21 + # pkg:gem/faraday#lib/faraday/connection.rb:21 def params; end # Sets the Hash of URI query unencoded key/value pairs. # # @param hash [Hash] # - # source://faraday//lib/faraday/connection.rb#108 + # pkg:gem/faraday#lib/faraday/connection.rb:108 def params=(hash); end - # source://faraday//lib/faraday/connection.rb#278 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/connection.rb:339 def path_prefix(*_arg0, **_arg1, &_arg2); end # Sets the path prefix and ensures that it always has a leading @@ -779,43 +779,43 @@ class Faraday::Connection # @param value [String] # @return [String] the new path prefix # - # source://faraday//lib/faraday/connection.rb#382 + # pkg:gem/faraday#lib/faraday/connection.rb:382 def path_prefix=(value); end - # source://faraday//lib/faraday/connection.rb#338 + # pkg:gem/faraday#lib/faraday/connection.rb:338 def port(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#338 + # pkg:gem/faraday#lib/faraday/connection.rb:338 def port=(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#278 + # pkg:gem/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. # - # source://faraday//lib/faraday/connection.rb#43 + # pkg:gem/faraday#lib/faraday/connection.rb:43 def proxy; end # Sets the Hash proxy options. # # @param new_value [Object] # - # source://faraday//lib/faraday/connection.rb#333 + # pkg:gem/faraday#lib/faraday/connection.rb:333 def proxy=(new_value); end - # source://faraday//lib/faraday/connection.rb#541 + # pkg:gem/faraday#lib/faraday/connection.rb:541 def proxy_for_request(url); end - # source://faraday//lib/faraday/connection.rb#513 + # pkg:gem/faraday#lib/faraday/connection.rb:513 def proxy_from_env(url); end - # source://faraday//lib/faraday/connection.rb#278 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/connection.rb:120 def request(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#120 + # pkg:gem/faraday#lib/faraday/connection.rb:120 def response(*_arg0, **_arg1, &_arg2); end # Builds and runs the Faraday::Request. @@ -827,35 +827,35 @@ class Faraday::Connection # @param url [String, URI, nil] String or URI to access. # @return [Faraday::Response] # - # source://faraday//lib/faraday/connection.rb#431 + # pkg:gem/faraday#lib/faraday/connection.rb:431 def run_request(method, url, body, headers); end - # source://faraday//lib/faraday/connection.rb#338 + # pkg:gem/faraday#lib/faraday/connection.rb:338 def scheme(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#338 + # pkg:gem/faraday#lib/faraday/connection.rb:338 def scheme=(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/connection.rb#371 + # pkg:gem/faraday#lib/faraday/connection.rb:371 def set_basic_auth(user, password); end # @return [Hash] SSL options. # - # source://faraday//lib/faraday/connection.rb#34 + # pkg:gem/faraday#lib/faraday/connection.rb:34 def ssl; end # @return [Boolean] # - # source://faraday//lib/faraday/connection.rb#551 + # pkg:gem/faraday#lib/faraday/connection.rb:551 def support_parallel?(adapter); end - # source://faraday//lib/faraday/connection.rb#198 + # pkg:gem/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 # Connection. This includes a default host name, scheme, port, and path. # - # source://faraday//lib/faraday/connection.rb#28 + # pkg:gem/faraday#lib/faraday/connection.rb:28 def url_prefix; end # Parses the given URL with URI and stores the individual @@ -873,10 +873,10 @@ class Faraday::Connection # @param encoder [Object] # @param url [String, URI] # - # source://faraday//lib/faraday/connection.rb#356 + # pkg:gem/faraday#lib/faraday/connection.rb:356 def url_prefix=(url, encoder = T.unsafe(nil)); end - # source://faraday//lib/faraday/connection.rb#120 + # pkg:gem/faraday#lib/faraday/connection.rb:120 def use(*_arg0, **_arg1, &_arg2); end # Yields username and password extracted from a URI if they both exist. @@ -888,253 +888,253 @@ class Faraday::Connection # @yieldparam password [String] any password from URI # @yieldparam username [String] any username from URI # - # source://faraday//lib/faraday/connection.rb#507 + # pkg:gem/faraday#lib/faraday/connection.rb:507 def with_uri_credentials(uri); end end # A Set of allowed HTTP verbs. # -# source://faraday//lib/faraday/connection.rb#17 +# pkg:gem/faraday#lib/faraday/connection.rb:17 Faraday::Connection::METHODS = T.let(T.unsafe(nil), Set) -# source://faraday//lib/faraday/connection.rb#18 +# pkg:gem/faraday#lib/faraday/connection.rb:18 Faraday::Connection::USER_AGENT = T.let(T.unsafe(nil), String) # A unified error for failed connections. # -# source://faraday//lib/faraday/error.rb#151 +# pkg:gem/faraday#lib/faraday/error.rb:151 class Faraday::ConnectionFailed < ::Faraday::Error; end # ConnectionOptions contains the configurable properties for a Faraday # connection object. # -# source://faraday//lib/faraday/options/connection_options.rb#8 +# pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 class Faraday::ConnectionOptions < ::Faraday::Options - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def builder; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def builder=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def builder_class; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def builder_class=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def headers; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def headers=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#19 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:19 def new_builder(block); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def parallel_manager; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def parallel_manager=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def params; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def params=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def proxy; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def proxy=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def request; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def request=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def ssl; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def ssl=(_); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def url; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def url=(_); end class << self - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def [](*_arg0); end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def inspect; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def keyword_init?; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def members; end - # source://faraday//lib/faraday/options/connection_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/connection_options.rb:8 def new(*_arg0); end end end # Sub-module for decoding query-string into parameters. # -# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#81 +# pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:81 module Faraday::DecodeMethods # @param query [nil, String] # @raise [TypeError] if the nesting is incorrect # @return [Array] the decoded params # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#87 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:87 def decode(query); end protected - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#144 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:144 def add_to_context(is_array, context, value, subkey); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#107 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:107 def decode_pair(key, value, context); end # Internal: convert a nested hash with purely numeric keys into an array. # FIXME: this is not compatible with Rack::Utils.parse_nested_query # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#151 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:151 def dehash(hash, depth); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#139 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:139 def match_context(context, subkey); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#129 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:129 def new_context(subkey, is_array, context); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#119 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:119 def prepare_context(context, subkey, is_array, last_subkey); end end -# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#105 +# pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:105 Faraday::DecodeMethods::SUBKEYS_REGEX = T.let(T.unsafe(nil), Regexp) # Sub-module for encoding parameters into query-string. # -# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#5 +# pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:5 module Faraday::EncodeMethods # @param params [nil, Array, #to_hash] parameters to be encoded # @raise [TypeError] if params can not be converted to a Hash # @return [String] the encoded params # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#11 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:11 def encode(params); end protected - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#64 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:64 def encode_array(parent, value); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#53 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:53 def encode_hash(parent, value); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#40 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:40 def encode_pair(parent, value); end end -# source://faraday//lib/faraday/options/env.rb#57 +# pkg:gem/faraday#lib/faraday/options/env.rb:57 class Faraday::Env < ::Faraday::Options extend ::Forwardable - # source://faraday//lib/faraday/options/env.rb#89 + # pkg:gem/faraday#lib/faraday/options/env.rb:89 def [](key); end - # source://faraday//lib/faraday/options/env.rb#101 + # pkg:gem/faraday#lib/faraday/options/env.rb:101 def []=(key, value); end # string. # # @return [String] The request body that will eventually be converted to a # - # source://faraday//lib/faraday/options/env.rb#118 + # pkg:gem/faraday#lib/faraday/options/env.rb:118 def body; end # string. # # @return [String] The request body that will eventually be converted to a # - # source://faraday//lib/faraday/options/env.rb#122 + # pkg:gem/faraday#lib/faraday/options/env.rb:122 def body=(value); end - # source://faraday//lib/faraday/options/env.rb#138 + # pkg:gem/faraday#lib/faraday/options/env.rb:138 def clear_body; end - # source://faraday//lib/faraday/options/env.rb#114 + # pkg:gem/faraday#lib/faraday/options/env.rb:114 def current_body; end - # source://faraday//lib/faraday/options/env.rb#184 + # pkg:gem/faraday#lib/faraday/options/env.rb:184 def custom_members; end - # source://faraday//lib/faraday/options/env.rb#190 + # pkg:gem/faraday#lib/faraday/options/env.rb:190 def in_member_set?(key); end - # source://faraday//lib/faraday/options/env.rb#154 + # pkg:gem/faraday#lib/faraday/options/env.rb:154 def inspect; end # @return [Symbol] HTTP method (`:get`, `:post`) # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def method; end # @return [Symbol] HTTP method (`:get`, `:post`) # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def method=(_); end - # source://faraday//lib/faraday/options/env.rb#133 + # pkg:gem/faraday#lib/faraday/options/env.rb:133 def needs_body?; end - # source://faraday//lib/faraday/options/env.rb#150 + # pkg:gem/faraday#lib/faraday/options/env.rb:150 def parallel?; end # @return [Object] sent if the connection is in parallel mode # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def parallel_manager=(_); end # @return [Hash] # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def params; end # @return [Hash] # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def params=(_); end - # source://faraday//lib/faraday/options/env.rb#74 + # pkg:gem/faraday#lib/faraday/options/env.rb:74 def params_encoder(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/env.rb#145 + # pkg:gem/faraday#lib/faraday/options/env.rb:145 def parse_body?; end # @return [String] # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def reason_phrase; end # @return [String] # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def reason_phrase=(_); end # Options for configuring the request. @@ -1155,7 +1155,7 @@ class Faraday::Env < ::Faraday::Options # # @return [Hash] options for configuring the request. # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def request; end # Options for configuring the request. @@ -1176,165 +1176,165 @@ class Faraday::Env < ::Faraday::Options # # @return [Hash] options for configuring the request. # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def request=(_); end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def request_body; end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def request_headers=(_); end # @return [Response] # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def response; end # @return [Response] # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def response=(_); end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def response_body; end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def ssl=(_); end # @return [Integer] HTTP response status code # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def status; end # @return [Integer] HTTP response status code # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def status=(_); end - # source://faraday//lib/faraday/options/env.rb#169 + # pkg:gem/faraday#lib/faraday/options/env.rb:169 def stream_response(&block); end - # source://faraday//lib/faraday/options/env.rb#165 + # pkg:gem/faraday#lib/faraday/options/env.rb:165 def stream_response?; end - # source://faraday//lib/faraday/options/env.rb#127 + # pkg:gem/faraday#lib/faraday/options/env.rb:127 def success?; end # @return [URI] URI instance for the current request. # - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def url=(_); end class << self - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def [](*_arg0); end - # source://faraday//lib/faraday/options/env.rb#80 + # pkg:gem/faraday#lib/faraday/options/env.rb:80 def from(value); end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def inspect; end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def keyword_init?; end - # source://faraday//lib/faraday/options/env.rb#200 + # pkg:gem/faraday#lib/faraday/options/env.rb:200 def member_set; end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def members; end - # source://faraday//lib/faraday/options/env.rb#57 + # pkg:gem/faraday#lib/faraday/options/env.rb:57 def new(*_arg0); end end end -# source://faraday//lib/faraday/options/env.rb#61 +# pkg:gem/faraday#lib/faraday/options/env.rb:61 Faraday::Env::ContentLength = T.let(T.unsafe(nil), String) -# source://faraday//lib/faraday/options/env.rb#67 +# pkg:gem/faraday#lib/faraday/options/env.rb:67 Faraday::Env::MethodsWithBodies = T.let(T.unsafe(nil), Set) -# source://faraday//lib/faraday/options/env.rb#62 +# pkg:gem/faraday#lib/faraday/options/env.rb:62 Faraday::Env::StatusesWithoutBody = T.let(T.unsafe(nil), Set) -# source://faraday//lib/faraday/options/env.rb#63 +# pkg:gem/faraday#lib/faraday/options/env.rb:63 Faraday::Env::SuccessfulStatuses = T.let(T.unsafe(nil), Range) # Faraday error base class. # -# source://faraday//lib/faraday/error.rb#6 +# pkg:gem/faraday#lib/faraday/error.rb:6 class Faraday::Error < ::StandardError # @return [Error] a new instance of Error # - # source://faraday//lib/faraday/error.rb#9 + # pkg:gem/faraday#lib/faraday/error.rb:9 def initialize(exc = T.unsafe(nil), response = T.unsafe(nil)); end - # source://faraday//lib/faraday/error.rb#15 + # pkg:gem/faraday#lib/faraday/error.rb:15 def backtrace; end - # source://faraday//lib/faraday/error.rb#23 + # pkg:gem/faraday#lib/faraday/error.rb:23 def inspect; end # Returns the value of attribute response. # - # source://faraday//lib/faraday/error.rb#7 + # pkg:gem/faraday#lib/faraday/error.rb:7 def response; end - # source://faraday//lib/faraday/error.rb#43 + # pkg:gem/faraday#lib/faraday/error.rb:43 def response_body; end - # source://faraday//lib/faraday/error.rb#37 + # pkg:gem/faraday#lib/faraday/error.rb:37 def response_headers; end - # source://faraday//lib/faraday/error.rb#31 + # pkg:gem/faraday#lib/faraday/error.rb:31 def response_status; end # Returns the value of attribute wrapped_exception. # - # source://faraday//lib/faraday/error.rb#7 + # pkg:gem/faraday#lib/faraday/error.rb:7 def wrapped_exception; end protected # Pulls out potential parent exception and response hash. # - # source://faraday//lib/faraday/error.rb#81 + # pkg:gem/faraday#lib/faraday/error.rb:81 def exc_msg_and_response(exc, response = T.unsafe(nil)); end # Pulls out potential parent exception and response hash, storing them in @@ -1358,14 +1358,14 @@ class Faraday::Error < ::StandardError # If a subclass has to call this, then it should pass a string message # to `super`. See NilStatusError. # - # source://faraday//lib/faraday/error.rb#71 + # pkg:gem/faraday#lib/faraday/error.rb:71 def exc_msg_and_response!(exc, response = T.unsafe(nil)); end end # FlatParamsEncoder manages URI params as a flat hash. Any Array values repeat # the parameter multiple times. # -# source://faraday//lib/faraday/encoders/flat_params_encoder.rb#6 +# pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:6 module Faraday::FlatParamsEncoder class << self # Decode converts the given URI querystring into a hash. @@ -1377,7 +1377,7 @@ module Faraday::FlatParamsEncoder # @param query [String] query arguments to parse. # @return [Hash] parsed keys and value strings from the querystring. # - # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#74 + # pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:74 def decode(query); end # Encode converts the given param into a URI querystring. Keys and values @@ -1390,155 +1390,155 @@ module Faraday::FlatParamsEncoder # @param params [Hash] query arguments to convert. # @return [String] the URI querystring (without the leading '?') # - # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#23 + # pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:23 def encode(params); end - # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9 + # pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:9 def escape(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute sort_params. # - # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#99 + # pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:99 def sort_params; end # Sets the attribute sort_params # # @param value the value to set the attribute sort_params to. # - # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#99 + # pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:99 def sort_params=(_arg0); end - # source://faraday//lib/faraday/encoders/flat_params_encoder.rb#9 + # pkg:gem/faraday#lib/faraday/encoders/flat_params_encoder.rb:9 def unescape(*_arg0, **_arg1, &_arg2); end end end # Raised by Faraday::Response::RaiseError in case of a 403 response. # -# source://faraday//lib/faraday/error.rb#104 +# pkg:gem/faraday#lib/faraday/error.rb:104 class Faraday::ForbiddenError < ::Faraday::ClientError; end -# source://faraday//lib/faraday/logging/formatter.rb#6 +# pkg:gem/faraday#lib/faraday/logging/formatter.rb:6 module Faraday::Logging; end # Serves as an integration point to customize logging # -# source://faraday//lib/faraday/logging/formatter.rb#8 +# pkg:gem/faraday#lib/faraday/logging/formatter.rb:8 class Faraday::Logging::Formatter extend ::Forwardable # @return [Formatter] a new instance of Formatter # - # source://faraday//lib/faraday/logging/formatter.rb#14 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:14 def initialize(logger:, options:); end - # source://faraday//lib/faraday/logging/formatter.rb#23 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:23 def debug(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/logging/formatter.rb#23 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:23 def error(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/logging/formatter.rb#41 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:41 def exception(exc); end - # source://faraday//lib/faraday/logging/formatter.rb#23 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:23 def fatal(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/logging/formatter.rb#52 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:52 def filter(filter_word, filter_replacement); end - # source://faraday//lib/faraday/logging/formatter.rb#23 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:23 def info(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/logging/formatter.rb#25 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:25 def request(env); end - # source://faraday//lib/faraday/logging/formatter.rb#34 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:34 def response(env); end - # source://faraday//lib/faraday/logging/formatter.rb#23 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:23 def warn(*_arg0, **_arg1, &_arg2); end private - # source://faraday//lib/faraday/logging/formatter.rb#98 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:98 def apply_filters(output); end - # source://faraday//lib/faraday/logging/formatter.rb#64 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:64 def dump_body(body); end - # source://faraday//lib/faraday/logging/formatter.rb#58 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:58 def dump_headers(headers); end - # source://faraday//lib/faraday/logging/formatter.rb#113 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:113 def log_body(type, body); end # @return [Boolean] # - # source://faraday//lib/faraday/logging/formatter.rb#85 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:85 def log_body?(type); end # @return [Boolean] # - # source://faraday//lib/faraday/logging/formatter.rb#94 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:94 def log_errors?; end - # source://faraday//lib/faraday/logging/formatter.rb#109 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:109 def log_headers(type, headers); end # @return [Boolean] # - # source://faraday//lib/faraday/logging/formatter.rb#76 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:76 def log_headers?(type); end - # source://faraday//lib/faraday/logging/formatter.rb#105 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:105 def log_level; end - # source://faraday//lib/faraday/logging/formatter.rb#72 + # pkg:gem/faraday#lib/faraday/logging/formatter.rb:72 def pretty_inspect(body); end end -# source://faraday//lib/faraday/logging/formatter.rb#11 +# pkg:gem/faraday#lib/faraday/logging/formatter.rb:11 Faraday::Logging::Formatter::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://faraday//lib/faraday/methods.rb#5 +# pkg:gem/faraday#lib/faraday/methods.rb:5 Faraday::METHODS_WITH_BODY = T.let(T.unsafe(nil), Array) -# source://faraday//lib/faraday/methods.rb#4 +# pkg:gem/faraday#lib/faraday/methods.rb:4 Faraday::METHODS_WITH_QUERY = T.let(T.unsafe(nil), Array) # Middleware is the basic base class of any Faraday middleware. # -# source://faraday//lib/faraday/middleware.rb#5 +# pkg:gem/faraday#lib/faraday/middleware.rb:5 class Faraday::Middleware extend ::Faraday::MiddlewareRegistry # @return [Middleware] a new instance of Middleware # - # source://faraday//lib/faraday/middleware.rb#10 + # pkg:gem/faraday#lib/faraday/middleware.rb:10 def initialize(app = T.unsafe(nil), options = T.unsafe(nil)); end # Returns the value of attribute app. # - # source://faraday//lib/faraday/middleware.rb#8 + # pkg:gem/faraday#lib/faraday/middleware.rb:8 def app; end - # source://faraday//lib/faraday/middleware.rb#15 + # pkg:gem/faraday#lib/faraday/middleware.rb:15 def call(env); end - # source://faraday//lib/faraday/middleware.rb#25 + # pkg:gem/faraday#lib/faraday/middleware.rb:25 def close; end # Returns the value of attribute options. # - # source://faraday//lib/faraday/middleware.rb#8 + # pkg:gem/faraday#lib/faraday/middleware.rb:8 def options; end end # Adds the ability for other modules to register and lookup # middleware classes. # -# source://faraday//lib/faraday/middleware_registry.rb#8 +# pkg:gem/faraday#lib/faraday/middleware_registry.rb:8 module Faraday::MiddlewareRegistry # Lookup middleware class with a registered Symbol shortcut. # @@ -1556,7 +1556,7 @@ module Faraday::MiddlewareRegistry # @raise [Faraday::Error] if given key is not registered # @return [Class] a middleware Class. # - # source://faraday//lib/faraday/middleware_registry.rb#55 + # pkg:gem/faraday#lib/faraday/middleware_registry.rb:55 def lookup_middleware(key); end # Register middleware class(es) on the current module. @@ -1572,25 +1572,25 @@ module Faraday::MiddlewareRegistry # @param mappings [Hash] Middleware mappings from a lookup symbol to a middleware class. # @return [void] # - # source://faraday//lib/faraday/middleware_registry.rb#26 + # pkg:gem/faraday#lib/faraday/middleware_registry.rb:26 def register_middleware(**mappings); end - # source://faraday//lib/faraday/middleware_registry.rb#9 + # pkg:gem/faraday#lib/faraday/middleware_registry.rb:9 def registered_middleware; end # Unregister a previously registered middleware class. # # @param key [Symbol] key for the registered middleware. # - # source://faraday//lib/faraday/middleware_registry.rb#35 + # pkg:gem/faraday#lib/faraday/middleware_registry.rb:35 def unregister_middleware(key); end private - # source://faraday//lib/faraday/middleware_registry.rb#67 + # pkg:gem/faraday#lib/faraday/middleware_registry.rb:67 def load_middleware(key); end - # source://faraday//lib/faraday/middleware_registry.rb#62 + # pkg:gem/faraday#lib/faraday/middleware_registry.rb:62 def middleware_mutex(&block); end end @@ -1599,7 +1599,7 @@ end # so you can send objects such as Arrays or Hashes as parameters # for your requests. # -# source://faraday//lib/faraday/encoders/nested_params_encoder.rb#168 +# pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:168 module Faraday::NestedParamsEncoder extend ::Faraday::EncodeMethods extend ::Faraday::DecodeMethods @@ -1607,275 +1607,275 @@ module Faraday::NestedParamsEncoder class << self # Returns the value of attribute array_indices. # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:170 def array_indices; end # Sets the attribute array_indices # # @param value the value to set the attribute array_indices to. # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:170 def array_indices=(_arg0); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:173 def escape(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute sort_params. # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:170 def sort_params; end # Sets the attribute sort_params # # @param value the value to set the attribute sort_params to. # - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#170 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:170 def sort_params=(_arg0); end - # source://faraday//lib/faraday/encoders/nested_params_encoder.rb#173 + # pkg:gem/faraday#lib/faraday/encoders/nested_params_encoder.rb:173 def unescape(*_arg0, **_arg1, &_arg2); end end end # Raised by Faraday::Response::RaiseError in case of a nil status in response. # -# source://faraday//lib/faraday/error.rb#143 +# pkg:gem/faraday#lib/faraday/error.rb:143 class Faraday::NilStatusError < ::Faraday::ServerError # @return [NilStatusError] a new instance of NilStatusError # - # source://faraday//lib/faraday/error.rb#144 + # pkg:gem/faraday#lib/faraday/error.rb:144 def initialize(exc, response = T.unsafe(nil)); end end # Subclasses Struct with some special helpers for converting from a Hash to # a Struct. # -# source://faraday//lib/faraday/options.rb#6 +# pkg:gem/faraday#lib/faraday/options.rb:6 class Faraday::Options < ::Struct - # source://faraday//lib/faraday/options.rb#186 + # pkg:gem/faraday#lib/faraday/options.rb:186 def [](key); end # Public # - # source://faraday//lib/faraday/options.rb#46 + # pkg:gem/faraday#lib/faraday/options.rb:46 def clear; end # Public # - # source://faraday//lib/faraday/options.rb#71 + # pkg:gem/faraday#lib/faraday/options.rb:71 def deep_dup; end # Public # - # source://faraday//lib/faraday/options.rb#39 + # pkg:gem/faraday#lib/faraday/options.rb:39 def delete(key); end # Public # - # source://faraday//lib/faraday/options.rb#13 + # pkg:gem/faraday#lib/faraday/options.rb:13 def each; end # Public # - # source://faraday//lib/faraday/options.rb#106 + # pkg:gem/faraday#lib/faraday/options.rb:106 def each_key(&block); end # Public # - # source://faraday//lib/faraday/options.rb#120 + # pkg:gem/faraday#lib/faraday/options.rb:120 def each_value(&block); end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#101 + # pkg:gem/faraday#lib/faraday/options.rb:101 def empty?; end # Public # - # source://faraday//lib/faraday/options.rb#76 + # pkg:gem/faraday#lib/faraday/options.rb:76 def fetch(key, *args); end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#117 + # pkg:gem/faraday#lib/faraday/options.rb:117 def has_key?(key); end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#131 + # pkg:gem/faraday#lib/faraday/options.rb:131 def has_value?(value); end # Internal # - # source://faraday//lib/faraday/options.rb#144 + # pkg:gem/faraday#lib/faraday/options.rb:144 def inspect; end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#113 + # pkg:gem/faraday#lib/faraday/options.rb:113 def key?(key); end # Public # - # source://faraday//lib/faraday/options.rb#96 + # pkg:gem/faraday#lib/faraday/options.rb:96 def keys; end # Public # - # source://faraday//lib/faraday/options.rb#66 + # pkg:gem/faraday#lib/faraday/options.rb:66 def merge(other); end # Public # - # source://faraday//lib/faraday/options.rb#51 + # pkg:gem/faraday#lib/faraday/options.rb:51 def merge!(other); end - # source://faraday//lib/faraday/options.rb#195 + # pkg:gem/faraday#lib/faraday/options.rb:195 def symbolized_key_set; end # Public # - # source://faraday//lib/faraday/options.rb#134 + # pkg:gem/faraday#lib/faraday/options.rb:134 def to_hash; end # Public # - # source://faraday//lib/faraday/options.rb#22 + # pkg:gem/faraday#lib/faraday/options.rb:22 def update(obj); end # Public # # @return [Boolean] # - # source://faraday//lib/faraday/options.rb#127 + # pkg:gem/faraday#lib/faraday/options.rb:127 def value?(value); end # Public # - # source://faraday//lib/faraday/options.rb#91 + # pkg:gem/faraday#lib/faraday/options.rb:91 def values_at(*keys); end class << self # Internal # - # source://faraday//lib/faraday/options.rb#166 + # pkg:gem/faraday#lib/faraday/options.rb:166 def attribute_options; end - # source://faraday//lib/faraday/options.rb#205 + # pkg:gem/faraday#lib/faraday/options.rb:205 def fetch_error_class; end # Public # - # source://faraday//lib/faraday/options.rb#8 + # pkg:gem/faraday#lib/faraday/options.rb:8 def from(value); end # @private # - # source://faraday//lib/faraday/options.rb#199 + # pkg:gem/faraday#lib/faraday/options.rb:199 def inherited(subclass); end - # source://faraday//lib/faraday/options.rb#170 + # pkg:gem/faraday#lib/faraday/options.rb:170 def memoized(key, &block); end - # source://faraday//lib/faraday/options.rb#182 + # pkg:gem/faraday#lib/faraday/options.rb:182 def memoized_attributes; end # Internal # - # source://faraday//lib/faraday/options.rb#156 + # pkg:gem/faraday#lib/faraday/options.rb:156 def options(mapping); end # Internal # - # source://faraday//lib/faraday/options.rb#161 + # pkg:gem/faraday#lib/faraday/options.rb:161 def options_for(key); end end end # Raised by middlewares that parse the response, like the JSON response middleware. # -# source://faraday//lib/faraday/error.rb#159 +# pkg:gem/faraday#lib/faraday/error.rb:159 class Faraday::ParsingError < ::Faraday::Error; end # Raised by Faraday::Response::RaiseError in case of a 407 response. # -# source://faraday//lib/faraday/error.rb#112 +# pkg:gem/faraday#lib/faraday/error.rb:112 class Faraday::ProxyAuthError < ::Faraday::ClientError; end # ProxyOptions contains the configurable properties for the proxy # configuration used when making an HTTP request. # -# source://faraday//lib/faraday/options/proxy_options.rb#8 +# pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 class Faraday::ProxyOptions < ::Faraday::Options extend ::Forwardable - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def host(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def host=(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def password; end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def password=(_); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def path(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def path=(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def port(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def port=(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def scheme(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#10 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:10 def scheme=(*_arg0, **_arg1, &_arg2); end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def uri; end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def uri=(_); end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def user; end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def user=(_); end class << self - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def [](*_arg0); end - # source://faraday//lib/faraday/options/proxy_options.rb#13 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:13 def from(value); end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def inspect; end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def keyword_init?; end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def members; end - # source://faraday//lib/faraday/options/proxy_options.rb#8 + # pkg:gem/faraday#lib/faraday/options/proxy_options.rb:8 def new(*_arg0); end end end @@ -1889,20 +1889,20 @@ end # builder.adapter :net_http # Faraday::Adapter::NetHttp # end # -# source://faraday//lib/faraday/rack_builder.rb#14 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:14 class Faraday::RackBuilder # @return [RackBuilder] a new instance of RackBuilder # - # source://faraday//lib/faraday/rack_builder.rb#60 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:60 def initialize(&block); end - # source://faraday//lib/faraday/rack_builder.rb#178 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:178 def ==(other); end - # source://faraday//lib/faraday/rack_builder.rb#78 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:78 def [](idx); end - # source://faraday//lib/faraday/rack_builder.rb#109 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:109 def adapter(klass = T.unsafe(nil), *args, **_arg2, &block); end # The "rack app" wrapped in middleware. All requests are sent here. @@ -1913,10 +1913,10 @@ class Faraday::RackBuilder # # Returns an object that responds to `call` and returns a Response. # - # source://faraday//lib/faraday/rack_builder.rb#162 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:162 def app; end - # source://faraday//lib/faraday/rack_builder.rb#72 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:72 def build; end # ENV Keys @@ -1936,7 +1936,7 @@ class Faraday::RackBuilder # :password - Proxy server password # :ssl - Hash of options for configuring SSL requests. # - # source://faraday//lib/faraday/rack_builder.rb#200 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:200 def build_env(connection, request); end # Processes a Request into a Response by passing it through this Builder's @@ -1946,140 +1946,140 @@ class Faraday::RackBuilder # @param request [Faraday::Request] # @return [Faraday::Response] # - # source://faraday//lib/faraday/rack_builder.rb#151 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:151 def build_response(connection, request); end - # source://faraday//lib/faraday/rack_builder.rb#139 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:139 def delete(handler); end # Returns the value of attribute handlers. # - # source://faraday//lib/faraday/rack_builder.rb#18 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:18 def handlers; end # Sets the attribute handlers # # @param value the value to set the attribute handlers to. # - # source://faraday//lib/faraday/rack_builder.rb#18 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:18 def handlers=(_arg0); end # methods to push onto the various positions in the stack: # - # source://faraday//lib/faraday/rack_builder.rb#118 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:118 def insert(index, *args, **_arg2, &block); end - # source://faraday//lib/faraday/rack_builder.rb#127 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:127 def insert_after(index, *args, **_arg2, &block); end # methods to push onto the various positions in the stack: # - # source://faraday//lib/faraday/rack_builder.rb#125 + # pkg:gem/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. # - # source://faraday//lib/faraday/rack_builder.rb#83 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:83 def lock!; end # @return [Boolean] # - # source://faraday//lib/faraday/rack_builder.rb#87 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:87 def locked?; end - # source://faraday//lib/faraday/rack_builder.rb#101 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:101 def request(key, *args, **_arg2, &block); end - # source://faraday//lib/faraday/rack_builder.rb#105 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:105 def response(key, *args, **_arg2, &block); end - # source://faraday//lib/faraday/rack_builder.rb#132 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:132 def swap(index, *args, **_arg2, &block); end - # source://faraday//lib/faraday/rack_builder.rb#170 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:170 def to_app; end - # source://faraday//lib/faraday/rack_builder.rb#91 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:91 def use(klass, *args, **_arg2, &block); end private # @return [Boolean] # - # source://faraday//lib/faraday/rack_builder.rb#232 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:232 def adapter_set?; end - # source://faraday//lib/faraday/rack_builder.rb#244 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:244 def assert_index(index); end # @raise [MISSING_ADAPTER_ERROR] # - # source://faraday//lib/faraday/rack_builder.rb#228 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:228 def ensure_adapter!; end - # source://faraday//lib/faraday/rack_builder.rb#66 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:66 def initialize_dup(original); end # @return [Boolean] # - # source://faraday//lib/faraday/rack_builder.rb#236 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:236 def is_adapter?(klass); end - # source://faraday//lib/faraday/rack_builder.rb#222 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:222 def raise_if_adapter(klass); end # @raise [StackLocked] # - # source://faraday//lib/faraday/rack_builder.rb#218 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:218 def raise_if_locked; end - # source://faraday//lib/faraday/rack_builder.rb#240 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:240 def use_symbol(mod, key, *args, **_arg3, &block); end end # borrowed from ActiveSupport::Dependencies::Reference & # ActionDispatch::MiddlewareStack::Middleware # -# source://faraday//lib/faraday/rack_builder.rb#25 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:25 class Faraday::RackBuilder::Handler - # source://faraday//lib/faraday/rack_builder.rb#30 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:30 def initialize(klass, *args, **_arg2, &block); end - # source://faraday//lib/faraday/rack_builder.rb#45 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:45 def ==(other); end - # source://faraday//lib/faraday/rack_builder.rb#55 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:55 def build(app = T.unsafe(nil)); end - # source://faraday//lib/faraday/rack_builder.rb#41 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:41 def inspect; end - # source://faraday//lib/faraday/rack_builder.rb#37 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:37 def klass; end # Returns the value of attribute name. # - # source://faraday//lib/faraday/rack_builder.rb#28 + # pkg:gem/faraday#lib/faraday/rack_builder.rb:28 def name; end end -# source://faraday//lib/faraday/rack_builder.rb#26 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:26 Faraday::RackBuilder::Handler::REGISTRY = T.let(T.unsafe(nil), Faraday::AdapterRegistry) -# source://faraday//lib/faraday/rack_builder.rb#213 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:213 Faraday::RackBuilder::LOCK_ERR = T.let(T.unsafe(nil), String) -# source://faraday//lib/faraday/rack_builder.rb#214 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:214 Faraday::RackBuilder::MISSING_ADAPTER_ERROR = T.let(T.unsafe(nil), String) # Used to detect missing arguments # -# source://faraday//lib/faraday/rack_builder.rb#16 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:16 Faraday::RackBuilder::NO_ARGUMENT = T.let(T.unsafe(nil), Object) # Error raised when trying to modify the stack after calling `lock!` # -# source://faraday//lib/faraday/rack_builder.rb#21 +# pkg:gem/faraday#lib/faraday/rack_builder.rb:21 class Faraday::RackBuilder::StackLocked < ::RuntimeError; end # Used to setup URLs, params, headers, and the request body in a sane manner. @@ -2093,59 +2093,59 @@ class Faraday::RackBuilder::StackLocked < ::RuntimeError; end # req.body = 'abc' # end # -# source://faraday//lib/faraday/request.rb#27 +# pkg:gem/faraday#lib/faraday/request.rb:27 class Faraday::Request < ::Struct extend ::Faraday::MiddlewareRegistry # @param key [Object] key to look up in headers # @return [Object] value of the given header name # - # source://faraday//lib/faraday/request.rb#92 + # pkg:gem/faraday#lib/faraday/request.rb:92 def [](key); end # @param key [Object] key of header to write # @param value [Object] value of header # - # source://faraday//lib/faraday/request.rb#98 + # pkg:gem/faraday#lib/faraday/request.rb:98 def []=(key, value); end # @return [String] body # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def body; end # @return [String] body # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def body=(_); end # @return [Faraday::Utils::Headers] headers # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/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#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/request.rb:27 def http_method=(_); end # Marshal serialization support. # # @return [Hash] the hash ready to be serialized in Marshal. # - # source://faraday//lib/faraday/request.rb#105 + # pkg:gem/faraday#lib/faraday/request.rb:105 def marshal_dump; end # Marshal serialization support. @@ -2153,44 +2153,44 @@ class Faraday::Request < ::Struct # # @param serialised [Hash] the serialised object. # - # source://faraday//lib/faraday/request.rb#119 + # pkg:gem/faraday#lib/faraday/request.rb:119 def marshal_load(serialised); end # @return [RequestOptions] options # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def options; end # @return [RequestOptions] options # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def options=(_); end # @return [Hash] query parameters # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/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#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def params=(hash); end # @return [URI, String] the path # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def path; end # @return [URI, String] the path # - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def path=(_); end # @return [Env] the Env for this Request # - # source://faraday//lib/faraday/request.rb#129 + # pkg:gem/faraday#lib/faraday/request.rb:129 def to_env(connection); end # Update path and params. @@ -2199,19 +2199,19 @@ class Faraday::Request < ::Struct # @param path [URI, String] # @return [void] # - # source://faraday//lib/faraday/request.rb#74 + # pkg:gem/faraday#lib/faraday/request.rb:74 def url(path, params = T.unsafe(nil)); end private - # source://faraday//lib/faraday/request.rb#30 + # pkg:gem/faraday#lib/faraday/request.rb:30 def member_get(_arg0); end - # source://faraday//lib/faraday/request.rb#32 + # pkg:gem/faraday#lib/faraday/request.rb:32 def member_set(_arg0, _arg1); end class << self - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def [](*_arg0); end # @param request_method [String] @@ -2219,26 +2219,26 @@ class Faraday::Request < ::Struct # @yield [request] for block customization, if block given # @yieldparam request [Request] # - # source://faraday//lib/faraday/request.rb#39 + # pkg:gem/faraday#lib/faraday/request.rb:39 def create(request_method); end - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def inspect; end - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def keyword_init?; end - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def members; end - # source://faraday//lib/faraday/request.rb#27 + # pkg:gem/faraday#lib/faraday/request.rb:27 def new(*_arg0); end end end # Request middleware for the Authorization HTTP header # -# source://faraday//lib/faraday/request/authorization.rb#6 +# pkg:gem/faraday#lib/faraday/request/authorization.rb:6 class Faraday::Request::Authorization < ::Faraday::Middleware # @param app [#call] # @param params [Array] parameters to build the Authorization header. @@ -2249,12 +2249,12 @@ class Faraday::Request::Authorization < ::Faraday::Middleware # @param type [String, Symbol] Type of Authorization # @return [Authorization] a new instance of Authorization # - # source://faraday//lib/faraday/request/authorization.rb#16 + # pkg:gem/faraday#lib/faraday/request/authorization.rb:16 def initialize(app, type, *params); end # @param env [Faraday::Env] # - # source://faraday//lib/faraday/request/authorization.rb#23 + # pkg:gem/faraday#lib/faraday/request/authorization.rb:23 def on_request(env); end private @@ -2264,16 +2264,16 @@ class Faraday::Request::Authorization < ::Faraday::Middleware # @param type [String, Symbol] # @return [String] a header value # - # source://faraday//lib/faraday/request/authorization.rb#35 + # pkg:gem/faraday#lib/faraday/request/authorization.rb:35 def header_from(type, env, *params); end end -# source://faraday//lib/faraday/request/authorization.rb#7 +# pkg:gem/faraday#lib/faraday/request/authorization.rb:7 Faraday::Request::Authorization::KEY = T.let(T.unsafe(nil), String) # Middleware for instrumenting Requests. # -# source://faraday//lib/faraday/request/instrumentation.rb#6 +# pkg:gem/faraday#lib/faraday/request/instrumentation.rb:6 class Faraday::Request::Instrumentation < ::Faraday::Middleware # Instruments requests using Active Support. # @@ -2295,45 +2295,45 @@ class Faraday::Request::Instrumentation < ::Faraday::Middleware # @param options [nil, Hash] Options hash # @return [Instrumentation] a new instance of Instrumentation # - # source://faraday//lib/faraday/request/instrumentation.rb#42 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:42 def initialize(app, options = T.unsafe(nil)); end # @param env [Faraday::Env] # - # source://faraday//lib/faraday/request/instrumentation.rb#49 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:49 def call(env); end end # Options class used in Request::Instrumentation class. # -# source://faraday//lib/faraday/request/instrumentation.rb#8 +# pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 class Faraday::Request::Instrumentation::Options < ::Faraday::Options - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def instrumenter; end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def instrumenter=(_); end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def name; end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def name=(_); end class << self - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def [](*_arg0); end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def inspect; end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def keyword_init?; end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def members; end - # source://faraday//lib/faraday/request/instrumentation.rb#8 + # pkg:gem/faraday#lib/faraday/request/instrumentation.rb:8 def new(*_arg0); end end end @@ -2346,294 +2346,294 @@ end # # Doesn't try to encode bodies that already are in string form. # -# source://faraday//lib/faraday/request/json.rb#14 +# pkg:gem/faraday#lib/faraday/request/json.rb:14 class Faraday::Request::Json < ::Faraday::Middleware - # source://faraday//lib/faraday/request/json.rb#18 + # pkg:gem/faraday#lib/faraday/request/json.rb:18 def on_request(env); end private # @return [Boolean] # - # source://faraday//lib/faraday/request/json.rb#48 + # pkg:gem/faraday#lib/faraday/request/json.rb:48 def body?(env); end - # source://faraday//lib/faraday/request/json.rb#26 + # pkg:gem/faraday#lib/faraday/request/json.rb:26 def encode(data); end # @yield [] # - # source://faraday//lib/faraday/request/json.rb#36 + # pkg:gem/faraday#lib/faraday/request/json.rb:36 def match_content_type(env); end # @return [Boolean] # - # source://faraday//lib/faraday/request/json.rb#43 + # pkg:gem/faraday#lib/faraday/request/json.rb:43 def process_request?(env); end - # source://faraday//lib/faraday/request/json.rb#61 + # pkg:gem/faraday#lib/faraday/request/json.rb:61 def request_type(env); end end -# source://faraday//lib/faraday/request/json.rb#15 +# pkg:gem/faraday#lib/faraday/request/json.rb:15 Faraday::Request::Json::MIME_TYPE = T.let(T.unsafe(nil), String) -# source://faraday//lib/faraday/request/json.rb#16 +# pkg:gem/faraday#lib/faraday/request/json.rb:16 Faraday::Request::Json::MIME_TYPE_REGEX = T.let(T.unsafe(nil), Regexp) # Middleware for supporting urlencoded requests. # -# source://faraday//lib/faraday/request/url_encoded.rb#6 +# pkg:gem/faraday#lib/faraday/request/url_encoded.rb:6 class Faraday::Request::UrlEncoded < ::Faraday::Middleware # Encodes as "application/x-www-form-urlencoded" if not already encoded or # of another type. # # @param env [Faraday::Env] # - # source://faraday//lib/faraday/request/url_encoded.rb#20 + # pkg:gem/faraday#lib/faraday/request/url_encoded.rb:20 def call(env); end # @param env [Faraday::Env] # @yield [request_body] Body of the request # - # source://faraday//lib/faraday/request/url_encoded.rb#30 + # pkg:gem/faraday#lib/faraday/request/url_encoded.rb:30 def match_content_type(env); end # @param env [Faraday::Env] # @return [Boolean] True if the request has a body and its Content-Type is # urlencoded. # - # source://faraday//lib/faraday/request/url_encoded.rb#43 + # pkg:gem/faraday#lib/faraday/request/url_encoded.rb:43 def process_request?(env); end # @param env [Faraday::Env] # @return [String] # - # source://faraday//lib/faraday/request/url_encoded.rb#51 + # pkg:gem/faraday#lib/faraday/request/url_encoded.rb:51 def request_type(env); end class << self # Returns the value of attribute mime_type. # - # source://faraday//lib/faraday/request/url_encoded.rb#12 + # pkg:gem/faraday#lib/faraday/request/url_encoded.rb:12 def mime_type; end # Sets the attribute mime_type # # @param value the value to set the attribute mime_type to. # - # source://faraday//lib/faraday/request/url_encoded.rb#12 + # pkg:gem/faraday#lib/faraday/request/url_encoded.rb:12 def mime_type=(_arg0); end end end -# source://faraday//lib/faraday/request/url_encoded.rb#8 +# pkg:gem/faraday#lib/faraday/request/url_encoded.rb:8 Faraday::Request::UrlEncoded::CONTENT_TYPE = T.let(T.unsafe(nil), String) # RequestOptions contains the configurable properties for a Faraday request. # -# source://faraday//lib/faraday/options/request_options.rb#7 +# pkg:gem/faraday#lib/faraday/options/request_options.rb:7 class Faraday::RequestOptions < ::Faraday::Options - # source://faraday//lib/faraday/options/request_options.rb#11 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:11 def []=(key, value); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def bind; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def bind=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def boundary; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def boundary=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def context; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def context=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def oauth; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def oauth=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def on_data; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def on_data=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def open_timeout; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def open_timeout=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def params_encoder; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def params_encoder=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def proxy; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def proxy=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def read_timeout; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def read_timeout=(_); end - # source://faraday//lib/faraday/options/request_options.rb#19 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:19 def stream_response?; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def timeout; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def timeout=(_); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def write_timeout; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def write_timeout=(_); end class << self - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def [](*_arg0); end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def inspect; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def keyword_init?; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def members; end - # source://faraday//lib/faraday/options/request_options.rb#7 + # pkg:gem/faraday#lib/faraday/options/request_options.rb:7 def new(*_arg0); end end end # Raised by Faraday::Response::RaiseError in case of a 408 response. # -# source://faraday//lib/faraday/error.rb#116 +# pkg:gem/faraday#lib/faraday/error.rb:116 class Faraday::RequestTimeoutError < ::Faraday::ClientError; end # Raised by Faraday::Response::RaiseError in case of a 404 response. # -# source://faraday//lib/faraday/error.rb#108 +# pkg:gem/faraday#lib/faraday/error.rb:108 class Faraday::ResourceNotFound < ::Faraday::ClientError; end # Response represents an HTTP response from making an HTTP request. # -# source://faraday//lib/faraday/response.rb#7 +# pkg:gem/faraday#lib/faraday/response.rb:7 class Faraday::Response extend ::Forwardable extend ::Faraday::MiddlewareRegistry # @return [Response] a new instance of Response # - # source://faraday//lib/faraday/response.rb#11 + # pkg:gem/faraday#lib/faraday/response.rb:11 def initialize(env = T.unsafe(nil)); end - # source://faraday//lib/faraday/response.rb#30 + # pkg:gem/faraday#lib/faraday/response.rb:30 def [](*_arg0, **_arg1, &_arg2); end # Expand the env with more properties, without overriding existing ones. # Useful for applying request params after restoring a marshalled Response. # - # source://faraday//lib/faraday/response.rb#80 + # pkg:gem/faraday#lib/faraday/response.rb:80 def apply_request(request_env); end - # source://faraday//lib/faraday/response.rb#32 + # pkg:gem/faraday#lib/faraday/response.rb:32 def body; end # Returns the value of attribute env. # - # source://faraday//lib/faraday/response.rb#16 + # pkg:gem/faraday#lib/faraday/response.rb:16 def env; end - # source://faraday//lib/faraday/response.rb#49 + # pkg:gem/faraday#lib/faraday/response.rb:49 def finish(env); end # @return [Boolean] # - # source://faraday//lib/faraday/response.rb#36 + # pkg:gem/faraday#lib/faraday/response.rb:36 def finished?; end - # source://faraday//lib/faraday/response.rb#26 + # pkg:gem/faraday#lib/faraday/response.rb:26 def headers; end # because @on_complete_callbacks cannot be marshalled # - # source://faraday//lib/faraday/response.rb#70 + # pkg:gem/faraday#lib/faraday/response.rb:70 def marshal_dump; end - # source://faraday//lib/faraday/response.rb#74 + # pkg:gem/faraday#lib/faraday/response.rb:74 def marshal_load(env); end - # source://faraday//lib/faraday/response.rb#40 + # pkg:gem/faraday#lib/faraday/response.rb:40 def on_complete(&block); end - # source://faraday//lib/faraday/response.rb#22 + # pkg:gem/faraday#lib/faraday/response.rb:22 def reason_phrase; end - # source://faraday//lib/faraday/response.rb#18 + # pkg:gem/faraday#lib/faraday/response.rb:18 def status; end # @return [Boolean] # - # source://faraday//lib/faraday/response.rb#57 + # pkg:gem/faraday#lib/faraday/response.rb:57 def success?; end - # source://faraday//lib/faraday/response.rb#61 + # pkg:gem/faraday#lib/faraday/response.rb:61 def to_hash; end end # Parse response bodies as JSON. # -# source://faraday//lib/faraday/response/json.rb#8 +# pkg:gem/faraday#lib/faraday/response/json.rb:8 class Faraday::Response::Json < ::Faraday::Middleware # @return [Json] a new instance of Json # - # source://faraday//lib/faraday/response/json.rb#9 + # pkg:gem/faraday#lib/faraday/response/json.rb:9 def initialize(app = T.unsafe(nil), parser_options: T.unsafe(nil), content_type: T.unsafe(nil), preserve_raw: T.unsafe(nil)); end - # source://faraday//lib/faraday/response/json.rb#18 + # pkg:gem/faraday#lib/faraday/response/json.rb:18 def on_complete(env); end private - # source://faraday//lib/faraday/response/json.rb#31 + # pkg:gem/faraday#lib/faraday/response/json.rb:31 def parse(body); end # @return [Boolean] # - # source://faraday//lib/faraday/response/json.rb#39 + # pkg:gem/faraday#lib/faraday/response/json.rb:39 def parse_response?(env); end - # source://faraday//lib/faraday/response/json.rb#57 + # pkg:gem/faraday#lib/faraday/response/json.rb:57 def process_parser_options; end - # source://faraday//lib/faraday/response/json.rb#24 + # pkg:gem/faraday#lib/faraday/response/json.rb:24 def process_response(env); end # @return [Boolean] # - # source://faraday//lib/faraday/response/json.rb#44 + # pkg:gem/faraday#lib/faraday/response/json.rb:44 def process_response_type?(env); end - # source://faraday//lib/faraday/response/json.rb#51 + # pkg:gem/faraday#lib/faraday/response/json.rb:51 def response_type(env); end end @@ -2641,33 +2641,33 @@ end # lifecycle to a given Logger object. By default, this logs to STDOUT. See # Faraday::Logging::Formatter to see specifically what is logged. # -# source://faraday//lib/faraday/response/logger.rb#12 +# pkg:gem/faraday#lib/faraday/response/logger.rb:12 class Faraday::Response::Logger < ::Faraday::Middleware # @return [Logger] a new instance of Logger # @yield [@formatter] # - # source://faraday//lib/faraday/response/logger.rb#13 + # pkg:gem/faraday#lib/faraday/response/logger.rb:13 def initialize(app, logger = T.unsafe(nil), options = T.unsafe(nil)); end - # source://faraday//lib/faraday/response/logger.rb#21 + # pkg:gem/faraday#lib/faraday/response/logger.rb:21 def call(env); end - # source://faraday//lib/faraday/response/logger.rb#26 + # pkg:gem/faraday#lib/faraday/response/logger.rb:26 def on_complete(env); end - # source://faraday//lib/faraday/response/logger.rb#30 + # pkg:gem/faraday#lib/faraday/response/logger.rb:30 def on_error(exc); end end # RaiseError is a Faraday middleware that raises exceptions on common HTTP # client or server error responses. # -# source://faraday//lib/faraday/response/raise_error.rb#7 +# pkg:gem/faraday#lib/faraday/response/raise_error.rb:7 class Faraday::Response::RaiseError < ::Faraday::Middleware - # source://faraday//lib/faraday/response/raise_error.rb#13 + # pkg:gem/faraday#lib/faraday/response/raise_error.rb:13 def on_complete(env); end - # source://faraday//lib/faraday/response/raise_error.rb#75 + # pkg:gem/faraday#lib/faraday/response/raise_error.rb:75 def query_params(env); end # Returns a hash of response data with the following keys: @@ -2679,227 +2679,227 @@ class Faraday::Response::RaiseError < ::Faraday::Middleware # The `request` key is omitted when the middleware is explicitly # configured with the option `include_request: false`. # - # source://faraday//lib/faraday/response/raise_error.rb#52 + # pkg:gem/faraday#lib/faraday/response/raise_error.rb:52 def response_values(env); end end -# source://faraday//lib/faraday/response/raise_error.rb#9 +# pkg:gem/faraday#lib/faraday/response/raise_error.rb:9 Faraday::Response::RaiseError::ClientErrorStatuses = T.let(T.unsafe(nil), Range) -# source://faraday//lib/faraday/response/raise_error.rb#10 +# pkg:gem/faraday#lib/faraday/response/raise_error.rb:10 Faraday::Response::RaiseError::ServerErrorStatuses = T.let(T.unsafe(nil), Range) # A unified client error for SSL errors. # -# source://faraday//lib/faraday/error.rb#155 +# pkg:gem/faraday#lib/faraday/error.rb:155 class Faraday::SSLError < ::Faraday::Error; end # SSL-related options. # -# source://faraday//lib/faraday/options/ssl_options.rb#50 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def client_key=(_); end - # source://faraday//lib/faraday/options/ssl_options.rb#61 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def verify=(_); end - # source://faraday//lib/faraday/options/ssl_options.rb#56 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def verify_hostname=(_); end - # source://faraday//lib/faraday/options/ssl_options.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def version=(_); end class << self - # source://faraday//lib/faraday/options/ssl_options.rb#50 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def [](*_arg0); end - # source://faraday//lib/faraday/options/ssl_options.rb#50 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def inspect; end - # source://faraday//lib/faraday/options/ssl_options.rb#50 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def keyword_init?; end - # source://faraday//lib/faraday/options/ssl_options.rb#50 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def members; end - # source://faraday//lib/faraday/options/ssl_options.rb#50 + # pkg:gem/faraday#lib/faraday/options/ssl_options.rb:50 def new(*_arg0); end end end # Faraday server error class. Represents 5xx status responses. # -# source://faraday//lib/faraday/error.rb#132 +# pkg:gem/faraday#lib/faraday/error.rb:132 class Faraday::ServerError < ::Faraday::Error; end # A unified client error for timeouts. # -# source://faraday//lib/faraday/error.rb#136 +# pkg:gem/faraday#lib/faraday/error.rb:136 class Faraday::TimeoutError < ::Faraday::ServerError # @return [TimeoutError] a new instance of TimeoutError # - # source://faraday//lib/faraday/error.rb#137 + # pkg:gem/faraday#lib/faraday/error.rb:137 def initialize(exc = T.unsafe(nil), response = T.unsafe(nil)); end end # Raised by Faraday::Response::RaiseError in case of a 429 response. # -# source://faraday//lib/faraday/error.rb#128 +# pkg:gem/faraday#lib/faraday/error.rb:128 class Faraday::TooManyRequestsError < ::Faraday::ClientError; end # Raised by Faraday::Response::RaiseError in case of a 401 response. # -# source://faraday//lib/faraday/error.rb#100 +# pkg:gem/faraday#lib/faraday/error.rb:100 class Faraday::UnauthorizedError < ::Faraday::ClientError; end # Raised by Faraday::Response::RaiseError in case of a 422 response. # -# source://faraday//lib/faraday/error.rb#124 +# pkg:gem/faraday#lib/faraday/error.rb:124 class Faraday::UnprocessableEntityError < ::Faraday::ClientError; end # Utils contains various static helper methods. # -# source://faraday//lib/faraday/utils/headers.rb#4 +# pkg:gem/faraday#lib/faraday/utils/headers.rb:4 module Faraday::Utils private @@ -2909,61 +2909,61 @@ module Faraday::Utils # # Returns a parsed URI. # - # source://faraday//lib/faraday/utils.rb#70 + # pkg:gem/faraday#lib/faraday/utils.rb:70 def URI(url); end - # source://faraday//lib/faraday/utils.rb#55 + # pkg:gem/faraday#lib/faraday/utils.rb:55 def basic_header_from(login, pass); end - # source://faraday//lib/faraday/utils.rb#16 + # pkg:gem/faraday#lib/faraday/utils.rb:16 def build_nested_query(params); end - # source://faraday//lib/faraday/utils.rb#12 + # pkg:gem/faraday#lib/faraday/utils.rb:12 def build_query(params); end # Recursive hash merge # - # source://faraday//lib/faraday/utils.rb#113 + # pkg:gem/faraday#lib/faraday/utils.rb:113 def deep_merge(source, hash); end # Recursive hash update # - # source://faraday//lib/faraday/utils.rb#101 + # pkg:gem/faraday#lib/faraday/utils.rb:101 def deep_merge!(target, hash); end - # source://faraday//lib/faraday/utils.rb#51 + # pkg:gem/faraday#lib/faraday/utils.rb:51 def default_params_encoder; end - # source://faraday//lib/faraday/utils.rb#20 + # pkg:gem/faraday#lib/faraday/utils.rb:20 def default_space_encoding; end - # source://faraday//lib/faraday/utils.rb#80 + # pkg:gem/faraday#lib/faraday/utils.rb:80 def default_uri_parser; end - # source://faraday//lib/faraday/utils.rb#84 + # pkg:gem/faraday#lib/faraday/utils.rb:84 def default_uri_parser=(parser); end - # source://faraday//lib/faraday/utils.rb#30 + # pkg:gem/faraday#lib/faraday/utils.rb:30 def escape(str); end # Receives a String or URI and returns just # the path with the query string sorted. # - # source://faraday//lib/faraday/utils.rb#94 + # pkg:gem/faraday#lib/faraday/utils.rb:94 def normalize_path(url); end - # source://faraday//lib/faraday/utils.rb#47 + # pkg:gem/faraday#lib/faraday/utils.rb:47 def parse_nested_query(query); end # Adapted from Rack # - # source://faraday//lib/faraday/utils.rb#43 + # pkg:gem/faraday#lib/faraday/utils.rb:43 def parse_query(query); end - # source://faraday//lib/faraday/utils.rb#117 + # pkg:gem/faraday#lib/faraday/utils.rb:117 def sort_query_params(query); end - # source://faraday//lib/faraday/utils.rb#36 + # pkg:gem/faraday#lib/faraday/utils.rb:36 def unescape(str); end class << self @@ -2973,83 +2973,83 @@ module Faraday::Utils # # Returns a parsed URI. # - # source://faraday//lib/faraday/utils.rb#70 + # pkg:gem/faraday#lib/faraday/utils.rb:70 def URI(url); end - # source://faraday//lib/faraday/utils.rb#55 + # pkg:gem/faraday#lib/faraday/utils.rb:55 def basic_header_from(login, pass); end - # source://faraday//lib/faraday/utils.rb#16 + # pkg:gem/faraday#lib/faraday/utils.rb:16 def build_nested_query(params); end - # source://faraday//lib/faraday/utils.rb#12 + # pkg:gem/faraday#lib/faraday/utils.rb:12 def build_query(params); end # Recursive hash merge # - # source://faraday//lib/faraday/utils.rb#113 + # pkg:gem/faraday#lib/faraday/utils.rb:113 def deep_merge(source, hash); end # Recursive hash update # - # source://faraday//lib/faraday/utils.rb#101 + # pkg:gem/faraday#lib/faraday/utils.rb:101 def deep_merge!(target, hash); end - # source://faraday//lib/faraday/utils.rb#51 + # pkg:gem/faraday#lib/faraday/utils.rb:51 def default_params_encoder; end # Sets the attribute default_params_encoder # # @param value the value to set the attribute default_params_encoder to. # - # source://faraday//lib/faraday/utils.rb#62 + # pkg:gem/faraday#lib/faraday/utils.rb:62 def default_params_encoder=(_arg0); end - # source://faraday//lib/faraday/utils.rb#20 + # pkg:gem/faraday#lib/faraday/utils.rb:20 def default_space_encoding; end # Sets the attribute default_space_encoding # # @param value the value to set the attribute default_space_encoding to. # - # source://faraday//lib/faraday/utils.rb#25 + # pkg:gem/faraday#lib/faraday/utils.rb:25 def default_space_encoding=(_arg0); end - # source://faraday//lib/faraday/utils.rb#80 + # pkg:gem/faraday#lib/faraday/utils.rb:80 def default_uri_parser; end - # source://faraday//lib/faraday/utils.rb#84 + # pkg:gem/faraday#lib/faraday/utils.rb:84 def default_uri_parser=(parser); end - # source://faraday//lib/faraday/utils.rb#30 + # pkg:gem/faraday#lib/faraday/utils.rb:30 def escape(str); end # Receives a String or URI and returns just # the path with the query string sorted. # - # source://faraday//lib/faraday/utils.rb#94 + # pkg:gem/faraday#lib/faraday/utils.rb:94 def normalize_path(url); end - # source://faraday//lib/faraday/utils.rb#47 + # pkg:gem/faraday#lib/faraday/utils.rb:47 def parse_nested_query(query); end # Adapted from Rack # - # source://faraday//lib/faraday/utils.rb#43 + # pkg:gem/faraday#lib/faraday/utils.rb:43 def parse_query(query); end - # source://faraday//lib/faraday/utils.rb#117 + # pkg:gem/faraday#lib/faraday/utils.rb:117 def sort_query_params(query); end - # source://faraday//lib/faraday/utils.rb#36 + # pkg:gem/faraday#lib/faraday/utils.rb:36 def unescape(str); end end end -# source://faraday//lib/faraday/utils.rb#40 +# pkg:gem/faraday#lib/faraday/utils.rb:40 Faraday::Utils::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp) -# source://faraday//lib/faraday/utils.rb#28 +# pkg:gem/faraday#lib/faraday/utils.rb:28 Faraday::Utils::ESCAPE_RE = T.let(T.unsafe(nil), Regexp) # A case-insensitive Hash that preserves the original case of a header @@ -3057,155 +3057,155 @@ Faraday::Utils::ESCAPE_RE = T.let(T.unsafe(nil), Regexp) # # Adapted from Rack::Utils::HeaderHash # -# source://faraday//lib/faraday/utils/headers.rb#9 +# pkg:gem/faraday#lib/faraday/utils/headers.rb:9 class Faraday::Utils::Headers < ::Hash # @return [Headers] a new instance of Headers # - # source://faraday//lib/faraday/utils/headers.rb#20 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:20 def initialize(hash = T.unsafe(nil)); end - # source://faraday//lib/faraday/utils/headers.rb#52 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:52 def [](key); end - # source://faraday//lib/faraday/utils/headers.rb#57 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:57 def []=(key, val); end - # source://faraday//lib/faraday/utils/headers.rb#71 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:71 def delete(key); end - # source://faraday//lib/faraday/utils/headers.rb#65 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:65 def fetch(key, *args, &block); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#84 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:84 def has_key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#80 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:80 def include?(key); end - # source://faraday//lib/faraday/utils/headers.rb#26 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:26 def initialize_names; end # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#86 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:86 def key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/headers.rb#85 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:85 def member?(key); end - # source://faraday//lib/faraday/utils/headers.rb#95 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:95 def merge(other); end - # source://faraday//lib/faraday/utils/headers.rb#88 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:88 def merge!(other); end - # source://faraday//lib/faraday/utils/headers.rb#111 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:111 def parse(header_string); end - # source://faraday//lib/faraday/utils/headers.rb#100 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:100 def replace(other); end - # source://faraday//lib/faraday/utils/headers.rb#107 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:107 def to_hash; end - # source://faraday//lib/faraday/utils/headers.rb#93 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:93 def update(other); end protected # Returns the value of attribute names. # - # source://faraday//lib/faraday/utils/headers.rb#129 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:129 def names; end private # Join multiple values with a comma. # - # source://faraday//lib/faraday/utils/headers.rb#134 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:134 def add_parsed(key, value); end # on dup/clone, we need to duplicate @names hash # - # source://faraday//lib/faraday/utils/headers.rb#31 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:31 def initialize_copy(other); end class << self - # source://faraday//lib/faraday/utils/headers.rb#14 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:14 def allocate; end - # source://faraday//lib/faraday/utils/headers.rb#10 + # pkg:gem/faraday#lib/faraday/utils/headers.rb:10 def from(value); end end end # symbol -> string mapper + cache # -# source://faraday//lib/faraday/utils/headers.rb#40 +# pkg:gem/faraday#lib/faraday/utils/headers.rb:40 Faraday::Utils::Headers::KeyMap = T.let(T.unsafe(nil), Hash) # A hash with stringified keys. # -# source://faraday//lib/faraday/utils/params_hash.rb#6 +# pkg:gem/faraday#lib/faraday/utils/params_hash.rb:6 class Faraday::Utils::ParamsHash < ::Hash - # source://faraday//lib/faraday/utils/params_hash.rb#7 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:7 def [](key); end - # source://faraday//lib/faraday/utils/params_hash.rb#11 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:11 def []=(key, value); end - # source://faraday//lib/faraday/utils/params_hash.rb#15 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:15 def delete(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#23 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:23 def has_key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#19 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:19 def include?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#25 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:25 def key?(key); end # @return [Boolean] # - # source://faraday//lib/faraday/utils/params_hash.rb#24 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:24 def member?(key); end - # source://faraday//lib/faraday/utils/params_hash.rb#35 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:35 def merge(params); end - # source://faraday//lib/faraday/utils/params_hash.rb#33 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:33 def merge!(params); end - # source://faraday//lib/faraday/utils/params_hash.rb#44 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:44 def merge_query(query, encoder = T.unsafe(nil)); end - # source://faraday//lib/faraday/utils/params_hash.rb#39 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:39 def replace(other); end - # source://faraday//lib/faraday/utils/params_hash.rb#50 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:50 def to_query(encoder = T.unsafe(nil)); end - # source://faraday//lib/faraday/utils/params_hash.rb#27 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:27 def update(params); end private - # source://faraday//lib/faraday/utils/params_hash.rb#56 + # pkg:gem/faraday#lib/faraday/utils/params_hash.rb:56 def convert_key(key); end end -# source://faraday//lib/faraday/version.rb#4 +# pkg:gem/faraday#lib/faraday/version.rb:4 Faraday::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/frozen_record@0.27.4.rbi b/sorbet/rbi/gems/frozen_record@0.27.4.rbi index 339970fb3..1ffe76a88 100644 --- a/sorbet/rbi/gems/frozen_record@0.27.4.rbi +++ b/sorbet/rbi/gems/frozen_record@0.27.4.rbi @@ -5,56 +5,56 @@ # Please instead update this file by running `bin/tapioca gem frozen_record`. -# source://frozen_record//lib/frozen_record/version.rb#3 +# pkg:gem/frozen_record#lib/frozen_record/version.rb:3 module FrozenRecord class << self # Returns the value of attribute deprecated_yaml_erb_backend. # - # source://frozen_record//lib/frozen_record/minimal.rb#17 + # pkg:gem/frozen_record#lib/frozen_record/minimal.rb:17 def deprecated_yaml_erb_backend; end # Sets the attribute deprecated_yaml_erb_backend # # @param value the value to set the attribute deprecated_yaml_erb_backend to. # - # source://frozen_record//lib/frozen_record/minimal.rb#17 + # pkg:gem/frozen_record#lib/frozen_record/minimal.rb:17 def deprecated_yaml_erb_backend=(_arg0); end - # source://frozen_record//lib/frozen_record/minimal.rb#19 + # pkg:gem/frozen_record#lib/frozen_record/minimal.rb:19 def eager_load!; end # Returns the value of attribute enforce_max_records_scan. # - # source://frozen_record//lib/frozen_record/base.rb#10 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:10 def enforce_max_records_scan; end # Sets the attribute enforce_max_records_scan # # @param value the value to set the attribute enforce_max_records_scan to. # - # source://frozen_record//lib/frozen_record/base.rb#10 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:10 def enforce_max_records_scan=(_arg0); end - # source://frozen_record//lib/frozen_record/base.rb#12 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:12 def ignore_max_records_scan; end end end -# source://frozen_record//lib/frozen_record/backends.rb#4 +# pkg:gem/frozen_record#lib/frozen_record/backends.rb:4 module FrozenRecord::Backends; end -# source://frozen_record//lib/frozen_record/backends/json.rb#6 +# pkg:gem/frozen_record#lib/frozen_record/backends/json.rb:6 module FrozenRecord::Backends::Json extend ::FrozenRecord::Backends::Json - # source://frozen_record//lib/frozen_record/backends/json.rb#9 + # pkg:gem/frozen_record#lib/frozen_record/backends/json.rb:9 def filename(model_name); end - # source://frozen_record//lib/frozen_record/backends/json.rb#21 + # pkg:gem/frozen_record#lib/frozen_record/backends/json.rb:21 def load(file_path); end end -# source://frozen_record//lib/frozen_record/backends/yaml.rb#5 +# pkg:gem/frozen_record#lib/frozen_record/backends/yaml.rb:5 module FrozenRecord::Backends::Yaml extend ::FrozenRecord::Backends::Yaml @@ -64,7 +64,7 @@ module FrozenRecord::Backends::Yaml # from FrozenRecord::Base # @return [String] the file name. # - # source://frozen_record//lib/frozen_record/backends/yaml.rb#15 + # pkg:gem/frozen_record#lib/frozen_record/backends/yaml.rb:15 def filename(model_name); end # Reads file in `file_path` and return records. @@ -72,19 +72,19 @@ module FrozenRecord::Backends::Yaml # @param format [String] the file path # @return [Array] an Array of Hash objects with keys being attributes. # - # source://frozen_record//lib/frozen_record/backends/yaml.rb#23 + # pkg:gem/frozen_record#lib/frozen_record/backends/yaml.rb:23 def load(file_path); end private - # source://frozen_record//lib/frozen_record/backends/yaml.rb#58 + # pkg:gem/frozen_record#lib/frozen_record/backends/yaml.rb:58 def load_file(path); end - # source://frozen_record//lib/frozen_record/backends/yaml.rb#62 + # pkg:gem/frozen_record#lib/frozen_record/backends/yaml.rb:62 def load_string(yaml); end end -# source://frozen_record//lib/frozen_record/base.rb#22 +# pkg:gem/frozen_record#lib/frozen_record/base.rb:22 class FrozenRecord::Base include ::ActiveModel::Conversion include ::ActiveModel::AttributeMethods @@ -97,812 +97,812 @@ class FrozenRecord::Base # @return [Base] a new instance of Base # - # source://frozen_record//lib/frozen_record/base.rb#281 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:281 def initialize(attrs = T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/base.rb#298 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:298 def ==(other); end - # source://frozen_record//lib/frozen_record/base.rb#293 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:293 def [](attr); end - # source://frozen_record//lib/frozen_record/base.rb#296 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:296 def attribute(attr); end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_aliases; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_aliases?; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_method_patterns; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_method_patterns?; end - # source://frozen_record//lib/frozen_record/base.rb#285 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:285 def attributes; end - # source://frozen_record//lib/frozen_record/base.rb#289 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:289 def id; end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def include_root_in_json; end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def include_root_in_json?; end - # source://frozen_record//lib/frozen_record/base.rb#24 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:24 def model_name(&_arg0); end - # source://frozen_record//lib/frozen_record/base.rb#25 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:25 def param_delimiter=(_arg0); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/base.rb#302 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:302 def persisted?; end - # source://frozen_record//lib/frozen_record/base.rb#306 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:306 def to_key; end private # @return [Boolean] # - # source://frozen_record//lib/frozen_record/base.rb#312 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:312 def attribute?(attribute_name); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/base.rb#316 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:316 def attribute_method?(attribute_name); end class << self - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def _default_attributes; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def _default_attributes=(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def _default_attributes?; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def _primary_key; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def _primary_key=(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def _primary_key?; end # Returns the value of attribute abstract_class. # - # source://frozen_record//lib/frozen_record/base.rb#83 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:83 def abstract_class; end # Sets the attribute abstract_class # # @param value the value to set the attribute abstract_class to. # - # source://frozen_record//lib/frozen_record/base.rb#83 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:83 def abstract_class=(_arg0); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/base.rb#92 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:92 def abstract_class?; end - # source://frozen_record//lib/frozen_record/base.rb#145 + # pkg:gem/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#99 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:99 def all; end - # source://frozen_record//lib/frozen_record/base.rb#150 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:150 def attribute(attribute, klass); end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_aliases; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_aliases=(value); end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_aliases?; end - # source://frozen_record//lib/frozen_record/base.rb#33 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:33 def attribute_deserializers; end - # source://frozen_record//lib/frozen_record/base.rb#33 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:33 def attribute_deserializers=(value); end - # source://frozen_record//lib/frozen_record/base.rb#33 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:33 def attribute_deserializers?; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_method_patterns; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_method_patterns=(value); end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def attribute_method_patterns?; end - # source://frozen_record//lib/frozen_record/base.rb#85 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:85 def attributes; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def auto_reloading; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def auto_reloading=(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def auto_reloading?; end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def average(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def backend; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def backend=(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def backend?; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def base_path; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def base_path=(value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def base_path?; end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def count(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#96 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:96 def current_scope; end - # source://frozen_record//lib/frozen_record/base.rb#101 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:101 def current_scope=(scope); end - # source://frozen_record//lib/frozen_record/base.rb#67 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:67 def default_attributes; end - # source://frozen_record//lib/frozen_record/base.rb#71 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:71 def default_attributes=(default_attributes); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def each(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#176 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:176 def eager_load!; end # @raise [ArgumentError] # - # source://frozen_record//lib/frozen_record/base.rb#109 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:109 def file_path; end # @raise [RecordNotFound] # - # source://frozen_record//lib/frozen_record/base.rb#123 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:123 def find(id); end - # source://frozen_record//lib/frozen_record/base.rb#128 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:128 def find_by(criterias); end - # source://frozen_record//lib/frozen_record/base.rb#141 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:141 def find_by!(criterias); end - # source://frozen_record//lib/frozen_record/base.rb#119 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:119 def find_by_id(id); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def find_each(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def first(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def first!(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def ids(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def include_root_in_json; end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def include_root_in_json=(value); end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def include_root_in_json?; end - # source://frozen_record//lib/frozen_record/base.rb#32 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:32 def index_definitions; end - # source://frozen_record//lib/frozen_record/base.rb#32 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:32 def index_definitions=(value); end - # source://frozen_record//lib/frozen_record/base.rb#32 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:32 def index_definitions?; end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def last(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def last!(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def limit(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#188 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:188 def load_records(force: T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/base.rb#34 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:34 def max_records_scan; end - # source://frozen_record//lib/frozen_record/base.rb#34 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:34 def max_records_scan=(value); end - # source://frozen_record//lib/frozen_record/base.rb#34 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:34 def max_records_scan?; end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def maximum(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#154 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:154 def memsize(object = T.unsafe(nil), seen = T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def minimum(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#213 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:213 def new(attrs = T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def offset(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def order(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#25 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:25 def param_delimiter; end - # source://frozen_record//lib/frozen_record/base.rb#25 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:25 def param_delimiter=(value); end - # source://frozen_record//lib/frozen_record/base.rb#25 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:25 def param_delimiter?; end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def pluck(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#75 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:75 def primary_key; end - # source://frozen_record//lib/frozen_record/base.rb#79 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:79 def primary_key=(primary_key); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/base.rb#169 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:169 def respond_to_missing?(name, *_arg1); end - # source://frozen_record//lib/frozen_record/base.rb#206 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:206 def scope(name, body); end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def sum(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#182 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:182 def unload!; end - # source://frozen_record//lib/frozen_record/base.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:105 def where(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/base.rb#59 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:59 def with_max_records_scan(value); end private - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr__default_attributes; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr__default_attributes=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr__primary_key; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr__primary_key=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def __class_attr_attribute_aliases; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def __class_attr_attribute_aliases=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#33 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:33 def __class_attr_attribute_deserializers; end - # source://frozen_record//lib/frozen_record/base.rb#33 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:33 def __class_attr_attribute_deserializers=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def __class_attr_attribute_method_patterns; end - # source://frozen_record//lib/frozen_record/base.rb#26 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:26 def __class_attr_attribute_method_patterns=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr_auto_reloading; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr_auto_reloading=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr_backend; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr_backend=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr_base_path; end - # source://frozen_record//lib/frozen_record/base.rb#31 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:31 def __class_attr_base_path=(new_value); end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def __class_attr_include_root_in_json; end - # source://frozen_record//lib/frozen_record/serialization.rb#7 + # pkg:gem/frozen_record#lib/frozen_record/serialization.rb:7 def __class_attr_include_root_in_json=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#32 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:32 def __class_attr_index_definitions; end - # source://frozen_record//lib/frozen_record/base.rb#32 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:32 def __class_attr_index_definitions=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#34 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:34 def __class_attr_max_records_scan; end - # source://frozen_record//lib/frozen_record/base.rb#34 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:34 def __class_attr_max_records_scan=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#25 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:25 def __class_attr_param_delimiter; end - # source://frozen_record//lib/frozen_record/base.rb#25 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:25 def __class_attr_param_delimiter=(new_value); end - # source://frozen_record//lib/frozen_record/base.rb#229 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:229 def assign_defaults!(record); end - # source://frozen_record//lib/frozen_record/base.rb#241 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:241 def deserialize_attributes!(record); end - # source://frozen_record//lib/frozen_record/base.rb#260 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:260 def dynamic_match(expression, values, bang); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/base.rb#219 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:219 def file_changed?; end - # source://frozen_record//lib/frozen_record/base.rb#265 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:265 def list_attributes(records); end - # source://frozen_record//lib/frozen_record/base.rb#210 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:210 def load(*_arg0); end - # source://frozen_record//lib/frozen_record/base.rb#253 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:253 def method_missing(name, *args); end - # source://frozen_record//lib/frozen_record/base.rb#225 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:225 def store; end end end -# source://frozen_record//lib/frozen_record/base.rb#29 +# pkg:gem/frozen_record#lib/frozen_record/base.rb:29 FrozenRecord::Base::FALSY_VALUES = T.let(T.unsafe(nil), Set) -# source://frozen_record//lib/frozen_record/base.rb#28 +# pkg:gem/frozen_record#lib/frozen_record/base.rb:28 FrozenRecord::Base::FIND_BY_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://frozen_record//lib/frozen_record/base.rb#40 +# pkg:gem/frozen_record#lib/frozen_record/base.rb:40 class FrozenRecord::Base::ThreadSafeStorage # @return [ThreadSafeStorage] a new instance of ThreadSafeStorage # - # source://frozen_record//lib/frozen_record/base.rb#42 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:42 def initialize(key); end - # source://frozen_record//lib/frozen_record/base.rb#46 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:46 def [](key); end - # source://frozen_record//lib/frozen_record/base.rb#51 + # pkg:gem/frozen_record#lib/frozen_record/base.rb:51 def []=(key, value); end end -# source://frozen_record//lib/frozen_record/compact.rb#4 +# pkg:gem/frozen_record#lib/frozen_record/compact.rb:4 module FrozenRecord::Compact extend ::ActiveSupport::Concern mixes_in_class_methods ::FrozenRecord::Compact::ClassMethods - # source://frozen_record//lib/frozen_record/compact.rb#45 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:45 def initialize(attrs = T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/compact.rb#55 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:55 def [](attr); end - # source://frozen_record//lib/frozen_record/compact.rb#49 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:49 def attributes; end private # @return [Boolean] # - # source://frozen_record//lib/frozen_record/compact.rb#69 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:69 def attribute?(attribute_name); end - # source://frozen_record//lib/frozen_record/compact.rb#63 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:63 def attributes=(attributes); end end -# source://frozen_record//lib/frozen_record/compact.rb#7 +# pkg:gem/frozen_record#lib/frozen_record/compact.rb:7 module FrozenRecord::Compact::ClassMethods # Returns the value of attribute _attributes_cache. # - # source://frozen_record//lib/frozen_record/compact.rb#32 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:32 def _attributes_cache; end - # source://frozen_record//lib/frozen_record/compact.rb#28 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:28 def define_method_attribute(attr, **_arg1); end - # source://frozen_record//lib/frozen_record/compact.rb#8 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:8 def load_records(force: T.unsafe(nil)); end private - # source://frozen_record//lib/frozen_record/compact.rb#36 + # pkg:gem/frozen_record#lib/frozen_record/compact.rb:36 def build_attributes_cache; end end -# source://frozen_record//lib/frozen_record/index.rb#4 +# pkg:gem/frozen_record#lib/frozen_record/index.rb:4 class FrozenRecord::Index # @return [Index] a new instance of Index # - # source://frozen_record//lib/frozen_record/index.rb#12 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:12 def initialize(model, attribute, unique: T.unsafe(nil)); end # Returns the value of attribute attribute. # - # source://frozen_record//lib/frozen_record/index.rb#10 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:10 def attribute; end - # source://frozen_record//lib/frozen_record/index.rb#42 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:42 def build(records); end - # source://frozen_record//lib/frozen_record/index.rb#34 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:34 def lookup(value); end - # source://frozen_record//lib/frozen_record/index.rb#30 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:30 def lookup_multi(values); end # Returns the value of attribute model. # - # source://frozen_record//lib/frozen_record/index.rb#10 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:10 def model; end - # source://frozen_record//lib/frozen_record/index.rb#22 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:22 def query(matcher); end - # source://frozen_record//lib/frozen_record/index.rb#38 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:38 def reset; end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/index.rb#18 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:18 def unique?; end end -# source://frozen_record//lib/frozen_record/index.rb#8 +# pkg:gem/frozen_record#lib/frozen_record/index.rb:8 class FrozenRecord::Index::AttributeNonUnique < ::StandardError; end -# source://frozen_record//lib/frozen_record/index.rb#5 +# pkg:gem/frozen_record#lib/frozen_record/index.rb:5 FrozenRecord::Index::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://frozen_record//lib/frozen_record/railtie.rb#4 +# pkg:gem/frozen_record#lib/frozen_record/railtie.rb:4 class FrozenRecord::Railtie < ::Rails::Railtie; end -# source://frozen_record//lib/frozen_record/minimal.rb#14 +# pkg:gem/frozen_record#lib/frozen_record/minimal.rb:14 class FrozenRecord::RecordNotFound < ::StandardError; end -# source://frozen_record//lib/frozen_record/scope.rb#4 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:4 class FrozenRecord::Scope # @return [Scope] a new instance of Scope # - # source://frozen_record//lib/frozen_record/scope.rb#27 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:27 def initialize(klass); end - # source://frozen_record//lib/frozen_record/scope.rb#137 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:137 def ==(other); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def all?(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def as_json(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#89 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:89 def average(attribute); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def collect(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def count(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def each(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#101 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:101 def exists?; end # @raise [RecordNotFound] # - # source://frozen_record//lib/frozen_record/scope.rb#40 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:40 def find(id); end - # source://frozen_record//lib/frozen_record/scope.rb#50 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:50 def find_by(criterias); end - # source://frozen_record//lib/frozen_record/scope.rb#54 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:54 def find_by!(criterias); end - # source://frozen_record//lib/frozen_record/scope.rb#36 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:36 def find_by_id(id); end - # source://frozen_record//lib/frozen_record/scope.rb#12 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:12 def find_each(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def first(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#58 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:58 def first!; end - # source://frozen_record//lib/frozen_record/scope.rb#133 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:133 def hash; end - # source://frozen_record//lib/frozen_record/scope.rb#81 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:81 def ids; end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def include?(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def last(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#62 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:62 def last!; end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def length(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#121 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:121 def limit(amount); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def map(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#97 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:97 def maximum(attribute); end - # source://frozen_record//lib/frozen_record/scope.rb#93 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:93 def minimum(attribute); end - # source://frozen_record//lib/frozen_record/scope.rb#125 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:125 def offset(amount); end - # source://frozen_record//lib/frozen_record/scope.rb#117 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:117 def order(*ordering); end - # source://frozen_record//lib/frozen_record/scope.rb#70 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:70 def pluck(*attributes); end - # source://frozen_record//lib/frozen_record/scope.rb#85 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:85 def sum(attribute); end - # source://frozen_record//lib/frozen_record/scope.rb#66 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:66 def to_a; end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def to_ary(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#11 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:11 def to_json(*_arg0, **_arg1, &_arg2); end - # source://frozen_record//lib/frozen_record/scope.rb#105 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:105 def where(criterias = T.unsafe(nil)); end - # source://frozen_record//lib/frozen_record/scope.rb#113 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:113 def where_not(criterias); end protected # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#257 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:257 def array_delegable?(method); end - # source://frozen_record//lib/frozen_record/scope.rb#166 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:166 def clear_cache!; end - # source://frozen_record//lib/frozen_record/scope.rb#144 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:144 def comparable_attributes; end - # source://frozen_record//lib/frozen_record/scope.rb#236 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:236 def compare(record_a, record_b); end - # source://frozen_record//lib/frozen_record/scope.rb#278 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:278 def limit!(amount); end - # source://frozen_record//lib/frozen_record/scope.rb#177 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:177 def matching_records; end - # source://frozen_record//lib/frozen_record/scope.rb#246 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:246 def method_missing(method_name, *args, **_arg2, &block); end - # source://frozen_record//lib/frozen_record/scope.rb#283 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:283 def offset!(amount); end - # source://frozen_record//lib/frozen_record/scope.rb#271 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:271 def order!(*ordering); end - # source://frozen_record//lib/frozen_record/scope.rb#173 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:173 def query_results; end - # source://frozen_record//lib/frozen_record/scope.rb#155 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:155 def scoping; end - # source://frozen_record//lib/frozen_record/scope.rb#183 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:183 def select_records(records); end - # source://frozen_record//lib/frozen_record/scope.rb#228 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:228 def slice_records(records); end - # source://frozen_record//lib/frozen_record/scope.rb#220 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:220 def sort_records(records); end - # source://frozen_record//lib/frozen_record/scope.rb#162 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:162 def spawn; end - # source://frozen_record//lib/frozen_record/scope.rb#261 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:261 def where!(criterias); end - # source://frozen_record//lib/frozen_record/scope.rb#266 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:266 def where_not!(criterias); end private # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#129 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:129 def respond_to_missing?(method_name, *_arg1); end end -# source://frozen_record//lib/frozen_record/scope.rb#181 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:181 FrozenRecord::Scope::ARRAY_INTERSECTION = T.let(T.unsafe(nil), TrueClass) -# source://frozen_record//lib/frozen_record/scope.rb#338 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:338 class FrozenRecord::Scope::CoverMatcher < ::FrozenRecord::Scope::Matcher # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#343 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:343 def match?(other); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#339 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:339 def ranged?; end end -# source://frozen_record//lib/frozen_record/scope.rb#5 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:5 FrozenRecord::Scope::DISALLOWED_ARRAY_METHODS = T.let(T.unsafe(nil), Set) -# source://frozen_record//lib/frozen_record/scope.rb#328 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:328 class FrozenRecord::Scope::IncludeMatcher < ::FrozenRecord::Scope::Matcher # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#333 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:333 def match?(other); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#329 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:329 def ranged?; end end -# source://frozen_record//lib/frozen_record/scope.rb#290 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:290 class FrozenRecord::Scope::Matcher # @return [Matcher] a new instance of Matcher # - # source://frozen_record//lib/frozen_record/scope.rb#310 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:310 def initialize(value); end - # source://frozen_record//lib/frozen_record/scope.rb#322 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:322 def ==(other); end - # source://frozen_record//lib/frozen_record/scope.rb#325 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:325 def eql?(other); end - # source://frozen_record//lib/frozen_record/scope.rb#306 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:306 def hash; end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#318 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:318 def match?(other); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/scope.rb#314 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:314 def ranged?; end # Returns the value of attribute value. # - # source://frozen_record//lib/frozen_record/scope.rb#304 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:304 def value; end class << self - # source://frozen_record//lib/frozen_record/scope.rb#292 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:292 def for(value); end end end -# source://frozen_record//lib/frozen_record/scope.rb#17 +# pkg:gem/frozen_record#lib/frozen_record/scope.rb:17 class FrozenRecord::Scope::WhereChain # @return [WhereChain] a new instance of WhereChain # - # source://frozen_record//lib/frozen_record/scope.rb#18 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:18 def initialize(scope); end - # source://frozen_record//lib/frozen_record/scope.rb#22 + # pkg:gem/frozen_record#lib/frozen_record/scope.rb:22 def not(criterias); end end -# source://frozen_record//lib/frozen_record/base.rb#7 +# pkg:gem/frozen_record#lib/frozen_record/base.rb:7 class FrozenRecord::SlowQuery < ::StandardError; end -# source://frozen_record//lib/frozen_record/index.rb#52 +# pkg:gem/frozen_record#lib/frozen_record/index.rb:52 class FrozenRecord::UniqueIndex < ::FrozenRecord::Index - # source://frozen_record//lib/frozen_record/index.rb#68 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:68 def build(records); end - # source://frozen_record//lib/frozen_record/index.rb#63 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:63 def lookup(value); end - # source://frozen_record//lib/frozen_record/index.rb#57 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:57 def lookup_multi(values); end # @return [Boolean] # - # source://frozen_record//lib/frozen_record/index.rb#53 + # pkg:gem/frozen_record#lib/frozen_record/index.rb:53 def unique?; end end -# source://frozen_record//lib/frozen_record/version.rb#4 +# pkg:gem/frozen_record#lib/frozen_record/version.rb:4 FrozenRecord::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/globalid@1.2.1.rbi b/sorbet/rbi/gems/globalid@1.2.1.rbi index 46bbb1225..b4d3a7981 100644 --- a/sorbet/rbi/gems/globalid@1.2.1.rbi +++ b/sorbet/rbi/gems/globalid@1.2.1.rbi @@ -5,86 +5,86 @@ # Please instead update this file by running `bin/tapioca gem globalid`. -# source://globalid//lib/global_id/global_id.rb#7 +# pkg:gem/globalid#lib/global_id/global_id.rb:7 class GlobalID extend ::ActiveSupport::Autoload # @return [GlobalID] a new instance of GlobalID # - # source://globalid//lib/global_id/global_id.rb#44 + # pkg:gem/globalid#lib/global_id/global_id.rb:44 def initialize(gid, options = T.unsafe(nil)); end - # source://globalid//lib/global_id/global_id.rb#63 + # pkg:gem/globalid#lib/global_id/global_id.rb:63 def ==(other); end - # source://globalid//lib/global_id/global_id.rb#42 + # pkg:gem/globalid#lib/global_id/global_id.rb:42 def app(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#76 + # pkg:gem/globalid#lib/global_id/global_id.rb:76 def as_json(*_arg0); end - # source://globalid//lib/global_id/global_id.rb#42 + # pkg:gem/globalid#lib/global_id/global_id.rb:42 def deconstruct_keys(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#66 + # pkg:gem/globalid#lib/global_id/global_id.rb:66 def eql?(other); end - # source://globalid//lib/global_id/global_id.rb#48 + # pkg:gem/globalid#lib/global_id/global_id.rb:48 def find(options = T.unsafe(nil)); end - # source://globalid//lib/global_id/global_id.rb#68 + # pkg:gem/globalid#lib/global_id/global_id.rb:68 def hash; end - # source://globalid//lib/global_id/global_id.rb#52 + # pkg:gem/globalid#lib/global_id/global_id.rb:52 def model_class; end - # source://globalid//lib/global_id/global_id.rb#42 + # pkg:gem/globalid#lib/global_id/global_id.rb:42 def model_id(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#42 + # pkg:gem/globalid#lib/global_id/global_id.rb:42 def model_name(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#42 + # pkg:gem/globalid#lib/global_id/global_id.rb:42 def params(*_arg0, **_arg1, &_arg2); end - # source://globalid//lib/global_id/global_id.rb#72 + # pkg:gem/globalid#lib/global_id/global_id.rb:72 def to_param; end - # source://globalid//lib/global_id/global_id.rb#42 + # pkg:gem/globalid#lib/global_id/global_id.rb:42 def to_s(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute uri. # - # source://globalid//lib/global_id/global_id.rb#41 + # pkg:gem/globalid#lib/global_id/global_id.rb:41 def uri; end class << self # Returns the value of attribute app. # - # source://globalid//lib/global_id/global_id.rb#9 + # pkg:gem/globalid#lib/global_id/global_id.rb:9 def app; end - # source://globalid//lib/global_id/global_id.rb#31 + # pkg:gem/globalid#lib/global_id/global_id.rb:31 def app=(app); end - # source://globalid//lib/global_id/global_id.rb#11 + # pkg:gem/globalid#lib/global_id/global_id.rb:11 def create(model, options = T.unsafe(nil)); end - # source://globalid//lib/global_id.rb#20 + # pkg:gem/globalid#lib/global_id.rb:20 def deprecator; end - # source://globalid//lib/global_id.rb#15 + # pkg:gem/globalid#lib/global_id.rb:15 def eager_load!; end - # source://globalid//lib/global_id/global_id.rb#21 + # pkg:gem/globalid#lib/global_id/global_id.rb:21 def find(gid, options = T.unsafe(nil)); end - # source://globalid//lib/global_id/global_id.rb#25 + # pkg:gem/globalid#lib/global_id/global_id.rb:25 def parse(gid, options = T.unsafe(nil)); end private - # source://globalid//lib/global_id/global_id.rb#36 + # pkg:gem/globalid#lib/global_id/global_id.rb:36 def parse_encoded_gid(gid, options); end end end @@ -116,7 +116,7 @@ end # GlobalID::Locator.locate person_gid # # => # # -# source://globalid//lib/global_id/identification.rb#28 +# pkg:gem/globalid#lib/global_id/identification.rb:28 module GlobalID::Identification # Returns the Global ID of the model. # @@ -126,7 +126,7 @@ module GlobalID::Identification # global_id.modal_id # => "1" # global_id.to_param # => "Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x" # - # source://globalid//lib/global_id/identification.rb#40 + # pkg:gem/globalid#lib/global_id/identification.rb:40 def to_gid(options = T.unsafe(nil)); end # Returns the Global ID parameter of the model. @@ -134,7 +134,7 @@ module GlobalID::Identification # model = Person.new id: 1 # model.to_gid_param # => ""Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x" # - # source://globalid//lib/global_id/identification.rb#46 + # pkg:gem/globalid#lib/global_id/identification.rb:46 def to_gid_param(options = T.unsafe(nil)); end # Returns the Global ID of the model. @@ -145,7 +145,7 @@ module GlobalID::Identification # global_id.modal_id # => "1" # global_id.to_param # => "Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x" # - # source://globalid//lib/global_id/identification.rb#37 + # pkg:gem/globalid#lib/global_id/identification.rb:37 def to_global_id(options = T.unsafe(nil)); end # Returns the Signed Global ID 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#110 + # pkg:gem/globalid#lib/global_id/identification.rb:110 def to_sgid(options = T.unsafe(nil)); end # Returns the Signed Global ID parameter. @@ -214,7 +214,7 @@ module GlobalID::Identification # model = Person.new id: 1 # model.to_sgid_param # => "BAh7CEkiCGdpZAY6BkVUSSIiZ2..." # - # source://globalid//lib/global_id/identification.rb#116 + # pkg:gem/globalid#lib/global_id/identification.rb:116 def to_sgid_param(options = T.unsafe(nil)); end # Returns the Signed Global ID of the model. @@ -275,11 +275,11 @@ module GlobalID::Identification # GlobalID::Locator.locate_signed(signup_person_sgid.to_s, for: 'signup_form') # => # # - # source://globalid//lib/global_id/identification.rb#107 + # pkg:gem/globalid#lib/global_id/identification.rb:107 def to_signed_global_id(options = T.unsafe(nil)); end end -# source://globalid//lib/global_id/locator.rb#4 +# pkg:gem/globalid#lib/global_id/locator.rb:4 module GlobalID::Locator class << self # Takes either a GlobalID or a string that can be turned into a GlobalID @@ -295,7 +295,7 @@ module GlobalID::Locator # instances of returned classes to those including that module. If no classes or # modules match, +nil+ is returned. # - # source://globalid//lib/global_id/locator.rb#20 + # pkg:gem/globalid#lib/global_id/locator.rb:20 def locate(gid, options = T.unsafe(nil)); end # Takes an array of GlobalIDs or strings that can be turned into a GlobalIDs. @@ -324,7 +324,7 @@ module GlobalID::Locator # #find will raise an exception if a named ID can't be found. When you set this option to true, # we will use #where(id: ids) instead, which does not raise on missing records. # - # source://globalid//lib/global_id/locator.rb#60 + # pkg:gem/globalid#lib/global_id/locator.rb:60 def locate_many(gids, options = T.unsafe(nil)); end # Takes an array of SignedGlobalIDs or strings that can be turned into a SignedGlobalIDs. @@ -346,7 +346,7 @@ module GlobalID::Locator # instances of returned classes to those including that module. If no classes or # modules match, +nil+ is returned. # - # source://globalid//lib/global_id/locator.rb#103 + # pkg:gem/globalid#lib/global_id/locator.rb:103 def locate_many_signed(sgids, options = T.unsafe(nil)); end # Takes either a SignedGlobalID or a string that can be turned into a SignedGlobalID @@ -362,7 +362,7 @@ module GlobalID::Locator # instances of returned classes to those including that module. If no classes or # modules match, +nil+ is returned. # - # source://globalid//lib/global_id/locator.rb#81 + # pkg:gem/globalid#lib/global_id/locator.rb:81 def locate_signed(sgid, options = T.unsafe(nil)); end # Tie a locator to an app. @@ -388,193 +388,193 @@ module GlobalID::Locator # # @raise [ArgumentError] # - # source://globalid//lib/global_id/locator.rb#127 + # pkg:gem/globalid#lib/global_id/locator.rb:127 def use(app, locator = T.unsafe(nil), &locator_block); end private # @return [Boolean] # - # source://globalid//lib/global_id/locator.rb#140 + # pkg:gem/globalid#lib/global_id/locator.rb:140 def find_allowed?(model_class, only = T.unsafe(nil)); end - # source://globalid//lib/global_id/locator.rb#136 + # pkg:gem/globalid#lib/global_id/locator.rb:136 def locator_for(gid); end - # source://globalid//lib/global_id/locator.rb#148 + # pkg:gem/globalid#lib/global_id/locator.rb:148 def normalize_app(app); end - # source://globalid//lib/global_id/locator.rb#144 + # pkg:gem/globalid#lib/global_id/locator.rb:144 def parse_allowed(gids, only = T.unsafe(nil)); end end end -# source://globalid//lib/global_id/locator.rb#156 +# pkg:gem/globalid#lib/global_id/locator.rb:156 class GlobalID::Locator::BaseLocator - # source://globalid//lib/global_id/locator.rb#157 + # pkg:gem/globalid#lib/global_id/locator.rb:157 def locate(gid, options = T.unsafe(nil)); end - # source://globalid//lib/global_id/locator.rb#165 + # pkg:gem/globalid#lib/global_id/locator.rb:165 def locate_many(gids, options = T.unsafe(nil)); end private - # source://globalid//lib/global_id/locator.rb#189 + # pkg:gem/globalid#lib/global_id/locator.rb:189 def find_records(model_class, ids, options); end # @return [Boolean] # - # source://globalid//lib/global_id/locator.rb#199 + # pkg:gem/globalid#lib/global_id/locator.rb:199 def model_id_is_valid?(gid); end - # source://globalid//lib/global_id/locator.rb#203 + # pkg:gem/globalid#lib/global_id/locator.rb:203 def primary_key(model_class); end end -# source://globalid//lib/global_id/locator.rb#228 +# pkg:gem/globalid#lib/global_id/locator.rb:228 class GlobalID::Locator::BlockLocator # @return [BlockLocator] a new instance of BlockLocator # - # source://globalid//lib/global_id/locator.rb#229 + # pkg:gem/globalid#lib/global_id/locator.rb:229 def initialize(block); end - # source://globalid//lib/global_id/locator.rb#233 + # pkg:gem/globalid#lib/global_id/locator.rb:233 def locate(gid, options = T.unsafe(nil)); end - # source://globalid//lib/global_id/locator.rb#237 + # pkg:gem/globalid#lib/global_id/locator.rb:237 def locate_many(gids, options = T.unsafe(nil)); end end -# source://globalid//lib/global_id/locator.rb#226 +# pkg:gem/globalid#lib/global_id/locator.rb:226 GlobalID::Locator::DEFAULT_LOCATOR = T.let(T.unsafe(nil), GlobalID::Locator::UnscopedLocator) -# source://globalid//lib/global_id/locator.rb#5 +# pkg:gem/globalid#lib/global_id/locator.rb:5 class GlobalID::Locator::InvalidModelIdError < ::StandardError; end -# source://globalid//lib/global_id/locator.rb#208 +# pkg:gem/globalid#lib/global_id/locator.rb:208 class GlobalID::Locator::UnscopedLocator < ::GlobalID::Locator::BaseLocator - # source://globalid//lib/global_id/locator.rb#209 + # pkg:gem/globalid#lib/global_id/locator.rb:209 def locate(gid, options = T.unsafe(nil)); end private - # source://globalid//lib/global_id/locator.rb#214 + # pkg:gem/globalid#lib/global_id/locator.rb:214 def find_records(model_class, ids, options); end - # source://globalid//lib/global_id/locator.rb#218 + # pkg:gem/globalid#lib/global_id/locator.rb:218 def unscoped(model_class); end end -# source://globalid//lib/global_id/railtie.rb#12 +# pkg:gem/globalid#lib/global_id/railtie.rb:12 class GlobalID::Railtie < ::Rails::Railtie; end -# source://globalid//lib/global_id/verifier.rb#4 +# pkg:gem/globalid#lib/global_id/verifier.rb:4 class GlobalID::Verifier < ::ActiveSupport::MessageVerifier private - # source://globalid//lib/global_id/verifier.rb#10 + # pkg:gem/globalid#lib/global_id/verifier.rb:10 def decode(data, **_arg1); end - # source://globalid//lib/global_id/verifier.rb#6 + # pkg:gem/globalid#lib/global_id/verifier.rb:6 def encode(data, **_arg1); end end -# source://globalid//lib/global_id/signed_global_id.rb#4 +# pkg:gem/globalid#lib/global_id/signed_global_id.rb:4 class SignedGlobalID < ::GlobalID # @return [SignedGlobalID] a new instance of SignedGlobalID # - # source://globalid//lib/global_id/signed_global_id.rb#59 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:59 def initialize(gid, options = T.unsafe(nil)); end - # source://globalid//lib/global_id/signed_global_id.rb#71 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:71 def ==(other); end # Returns the value of attribute expires_at. # - # source://globalid//lib/global_id/signed_global_id.rb#57 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:57 def expires_at; end - # source://globalid//lib/global_id/signed_global_id.rb#75 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:75 def inspect; end # Returns the value of attribute purpose. # - # source://globalid//lib/global_id/signed_global_id.rb#57 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:57 def purpose; end - # source://globalid//lib/global_id/signed_global_id.rb#69 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:69 def to_param; end - # source://globalid//lib/global_id/signed_global_id.rb#66 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:66 def to_s; end # Returns the value of attribute verifier. # - # source://globalid//lib/global_id/signed_global_id.rb#57 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:57 def verifier; end private - # source://globalid//lib/global_id/signed_global_id.rb#80 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:80 def pick_expiration(options); end class << self # Returns the value of attribute expires_in. # - # source://globalid//lib/global_id/signed_global_id.rb#8 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:8 def expires_in; end # Sets the attribute expires_in # # @param value the value to set the attribute expires_in to. # - # source://globalid//lib/global_id/signed_global_id.rb#8 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:8 def expires_in=(_arg0); end - # source://globalid//lib/global_id/signed_global_id.rb#10 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:10 def parse(sgid, options = T.unsafe(nil)); end - # source://globalid//lib/global_id/signed_global_id.rb#24 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:24 def pick_purpose(options); end # Grab the verifier from options and fall back to SignedGlobalID.verifier. # Raise ArgumentError if neither is available. # - # source://globalid//lib/global_id/signed_global_id.rb#16 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:16 def pick_verifier(options); end # Returns the value of attribute verifier. # - # source://globalid//lib/global_id/signed_global_id.rb#8 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:8 def verifier; end # Sets the attribute verifier # # @param value the value to set the attribute verifier to. # - # source://globalid//lib/global_id/signed_global_id.rb#8 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:8 def verifier=(_arg0); end private - # source://globalid//lib/global_id/signed_global_id.rb#50 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:50 def raise_if_expired(expires_at); end - # source://globalid//lib/global_id/signed_global_id.rb#29 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:29 def verify(sgid, options); end - # source://globalid//lib/global_id/signed_global_id.rb#40 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:40 def verify_with_legacy_self_validated_metadata(sgid, options); end - # source://globalid//lib/global_id/signed_global_id.rb#34 + # pkg:gem/globalid#lib/global_id/signed_global_id.rb:34 def verify_with_verifier_validated_metadata(sgid, options); end end end -# source://globalid//lib/global_id/signed_global_id.rb#5 +# pkg:gem/globalid#lib/global_id/signed_global_id.rb:5 class SignedGlobalID::ExpiredMessage < ::StandardError; end -# source://globalid//lib/global_id/uri/gid.rb#7 +# pkg:gem/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. @@ -597,78 +597,78 @@ class URI::GID < ::URI::Generic # # Read the documentation for +parse+, +create+ and +build+ for more. # - # source://globalid//lib/global_id/uri/gid.rb#28 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:28 def app; end - # source://globalid//lib/global_id/uri/gid.rb#107 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:107 def deconstruct_keys(_keys); end # Returns the value of attribute model_id. # - # source://globalid//lib/global_id/uri/gid.rb#29 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:29 def model_id; end # Returns the value of attribute model_name. # - # source://globalid//lib/global_id/uri/gid.rb#29 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:29 def model_name; end # Returns the value of attribute params. # - # source://globalid//lib/global_id/uri/gid.rb#29 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:29 def params; end - # source://globalid//lib/global_id/uri/gid.rb#102 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:102 def to_s; end protected # Ruby 2.2 uses #query= instead of #set_query # - # source://globalid//lib/global_id/uri/gid.rb#118 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:118 def query=(query); end - # source://globalid//lib/global_id/uri/gid.rb#129 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:129 def set_params(params); end - # source://globalid//lib/global_id/uri/gid.rb#112 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:112 def set_path(path); end # Ruby 2.1 or less uses #set_query to assign the query # - # source://globalid//lib/global_id/uri/gid.rb#124 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:124 def set_query(query); end private - # source://globalid//lib/global_id/uri/gid.rb#136 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:136 def check_host(host); end - # source://globalid//lib/global_id/uri/gid.rb#141 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:141 def check_path(path); end - # source://globalid//lib/global_id/uri/gid.rb#146 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:146 def check_scheme(scheme); end - # source://globalid//lib/global_id/uri/gid.rb#195 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:195 def parse_query_params(query); end - # source://globalid//lib/global_id/uri/gid.rb#154 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:154 def set_model_components(path, validate = T.unsafe(nil)); end # @raise [URI::InvalidComponentError] # - # source://globalid//lib/global_id/uri/gid.rb#174 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:174 def validate_component(component); end # @raise [InvalidModelIdError] # - # source://globalid//lib/global_id/uri/gid.rb#188 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:188 def validate_model_id(model_id_part); end # @raise [MissingModelIdError] # - # source://globalid//lib/global_id/uri/gid.rb#181 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:181 def validate_model_id_section(model_id, model_name); end class << self @@ -685,14 +685,14 @@ class URI::GID < ::URI::Generic # # URI::GID.build(['bcx', 'Person', '1', key: 'value']) # - # source://globalid//lib/global_id/uri/gid.rb#88 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:88 def build(args); end # Shorthand to build a URI::GID from an app, a model and optional params. # # URI::GID.create('bcx', Person.find(5), database: 'superhumans') # - # source://globalid//lib/global_id/uri/gid.rb#72 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:72 def create(app, model, params = T.unsafe(nil)); end # Create a new URI::GID by parsing a gid string with argument check. @@ -705,7 +705,7 @@ class URI::GID < ::URI::Generic # URI.parse('gid://bcx') # => URI::GID instance # URI::GID.parse('gid://bcx/') # => raises URI::InvalidComponentError # - # source://globalid//lib/global_id/uri/gid.rb#64 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:64 def parse(uri); end # Validates +app+'s as URI hostnames containing only alphanumeric characters @@ -717,26 +717,26 @@ class URI::GID < ::URI::Generic # URI::GID.validate_app(nil) # => ArgumentError # URI::GID.validate_app('foo/bar') # => ArgumentError # - # source://globalid//lib/global_id/uri/gid.rb#48 + # pkg:gem/globalid#lib/global_id/uri/gid.rb:48 def validate_app(app); end end end -# source://globalid//lib/global_id/uri/gid.rb#134 +# pkg:gem/globalid#lib/global_id/uri/gid.rb:134 URI::GID::COMPONENT = T.let(T.unsafe(nil), Array) -# source://globalid//lib/global_id/uri/gid.rb#37 +# pkg:gem/globalid#lib/global_id/uri/gid.rb:37 URI::GID::COMPOSITE_MODEL_ID_DELIMITER = T.let(T.unsafe(nil), String) # Maximum size of a model id segment # -# source://globalid//lib/global_id/uri/gid.rb#36 +# pkg:gem/globalid#lib/global_id/uri/gid.rb:36 URI::GID::COMPOSITE_MODEL_ID_MAX_SIZE = T.let(T.unsafe(nil), Integer) -# source://globalid//lib/global_id/uri/gid.rb#33 +# pkg:gem/globalid#lib/global_id/uri/gid.rb:33 class URI::GID::InvalidModelIdError < ::URI::InvalidComponentError; end # Raised when creating a Global ID for a model without an id # -# source://globalid//lib/global_id/uri/gid.rb#32 +# pkg:gem/globalid#lib/global_id/uri/gid.rb:32 class URI::GID::MissingModelIdError < ::URI::InvalidComponentError; end diff --git a/sorbet/rbi/gems/google-protobuf@4.33.2.rbi b/sorbet/rbi/gems/google-protobuf@4.33.3.rbi similarity index 51% rename from sorbet/rbi/gems/google-protobuf@4.33.2.rbi rename to sorbet/rbi/gems/google-protobuf@4.33.3.rbi index 1b14c5dc9..6f3c2055a 100644 --- a/sorbet/rbi/gems/google-protobuf@4.33.2.rbi +++ b/sorbet/rbi/gems/google-protobuf@4.33.3.rbi @@ -8,207 +8,212 @@ # 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 +# pkg:gem/google-protobuf#lib/google/protobuf/message_exts.rb:8 module Google; end -# source://google-protobuf//lib/google/protobuf/message_exts.rb#9 +# pkg:gem/google-protobuf#lib/google/protobuf/message_exts.rb:9 module Google::Protobuf class << self - # source://google-protobuf//lib/google/protobuf.rb#38 + # pkg:gem/google-protobuf#lib/google/protobuf.rb:38 def decode(klass, proto, options = T.unsafe(nil)); end - # source://google-protobuf//lib/google/protobuf.rb#42 + # pkg:gem/google-protobuf#lib/google/protobuf.rb:42 def decode_json(klass, json, options = T.unsafe(nil)); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def deep_copy(_arg0); end # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def discard_unknown(_arg0); end - # source://google-protobuf//lib/google/protobuf.rb#30 + # pkg:gem/google-protobuf#lib/google/protobuf.rb:30 def encode(msg, options = T.unsafe(nil)); end - # source://google-protobuf//lib/google/protobuf.rb#34 + # pkg:gem/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#33 +# pkg:gem/google-protobuf#lib/google/protobuf/message_exts.rb:33 class Google::Protobuf::AbstractMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(*_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def ==(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def [](_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def []=(_arg0, _arg1); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def clone; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def dup; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def eql?(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def freeze; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def frozen?; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def hash; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def inspect; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def method_missing(*_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_h; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_s; end private - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def respond_to_missing?(*_arg0); end class << self - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def decode(*_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def decode_json(*_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def descriptor; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def encode(*_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def encode_json(*_arg0); end end end # Message Descriptor - Descriptor for short. +# +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::Descriptor include ::Enumerable # @return [Descriptor] a new instance of Descriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each_oneof; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def file_descriptor; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def lookup(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def lookup_oneof(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def msgclass; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::DescriptorPool # @raise [ArgumentError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def add_serialized_file(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def lookup(_arg0); end class << self - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def generated_pool; end end end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::EnumDescriptor include ::Enumerable # @return [EnumDescriptor] a new instance of EnumDescriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def enummodule; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def file_descriptor; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def is_closed?; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def lookup_name(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def lookup_value(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end end -# source://google-protobuf//lib/google/protobuf.rb#16 +# pkg:gem/google-protobuf#lib/google/protobuf.rb:16 class Google::Protobuf::Error < ::StandardError; end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::FieldDescriptor # @return [FieldDescriptor] a new instance of FieldDescriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end # @param msg [Google::Protobuf::Message] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def clear(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def default; end # Tests if this field has been set on the argument message. @@ -217,7 +222,7 @@ class Google::Protobuf::FieldDescriptor # @raise [TypeError] If the field is not defined on this message. # @return [Object] Value of the field on this message. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def get(_arg0); end # Tests if this field has been set on the argument message. @@ -227,48 +232,48 @@ class Google::Protobuf::FieldDescriptor # @raise [ArgumentError] If this field does not track presence # @return [Boolean] True iff message has this field set # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def has?(_arg0); end # Tests if this field tracks presence. # # @return [Boolean] True iff this field tracks presence # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def has_presence?; end # Tests if this is a repeated field that uses packed encoding. # # @return [Boolean] True iff this field is packed # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def is_packed?; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def json_name; end # DEPRECATED: Use required? or repeated? instead. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def label; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def number; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end # @return [Boolean] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def repeated?; end # @return [Boolean] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def required?; end # call-seq: @@ -281,62 +286,64 @@ class Google::Protobuf::FieldDescriptor # @param msg [Google::Protobuf::Message] # @param value [Object] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def set(_arg0, _arg1); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def submsg_name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def subtype; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def type; end end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::FileDescriptor # @return [FileDescriptor] a new instance of FileDescriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end end -# source://google-protobuf//lib/google/protobuf.rb#46 +# pkg:gem/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 +# pkg:gem/google-protobuf#lib/google/protobuf/internal/object_cache.rb:10 module Google::Protobuf::Internal; end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::Internal::Arena; end -# source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#42 +# pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/internal/object_cache.rb:43 def initialize; end - # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/internal/object_cache.rb:86 def purge; end end @@ -357,29 +364,30 @@ 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 +# pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/internal/object_cache.rb:26 def initialize; end - # source://google-protobuf//lib/google/protobuf/internal/object_cache.rb#31 + # pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/internal/object_cache.rb:35 def try_add(key, value); end end Google::Protobuf::Internal::SIZEOF_LONG = T.let(T.unsafe(nil), Integer) Google::Protobuf::Internal::SIZEOF_VALUE = T.let(T.unsafe(nil), Integer) +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::Map include ::Enumerable # @return [Map] a new instance of Map # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(*_arg0); end # call-seq: @@ -394,7 +402,7 @@ class Google::Protobuf::Map # even if value comparison (for example, between integers and floats) would # have otherwise indicated that every element has equal value. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def ==(_arg0); end # call-seq: @@ -403,7 +411,7 @@ class Google::Protobuf::Map # Accesses the element at the given key. Throws an exception if the key type is # incorrect. Returns nil when the key is not present in the map. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def [](_arg0); end # call-seq: @@ -413,10 +421,10 @@ class Google::Protobuf::Map # Throws an exception if the key type is incorrect. Returns the new value that # was just inserted. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def []=(_arg0, _arg1); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def clear; end # call-seq: @@ -425,7 +433,7 @@ class Google::Protobuf::Map # Duplicates this map with a shallow copy. References to all non-primitive # element objects (e.g., submessages) are shared. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def clone; end # call-seq: @@ -434,7 +442,7 @@ class Google::Protobuf::Map # Deletes the value at the given key, if any, returning either the old value or # nil if none was present. Throws an exception if the key is of the wrong type. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def delete(_arg0); end # call-seq: @@ -443,7 +451,7 @@ class Google::Protobuf::Map # Duplicates this map with a shallow copy. References to all non-primitive # element objects (e.g., submessages) are shared. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def dup; end # call-seq: @@ -453,13 +461,13 @@ class Google::Protobuf::Map # Note that Map also includes Enumerable; map thus acts like a normal Ruby # sequence. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each; end # Freezes the map object. We have to intercept this so we can freeze the # underlying representation, not just the Ruby wrapper. Returns self. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def freeze; end # Is this object frozen? @@ -469,18 +477,18 @@ class Google::Protobuf::Map # # @return [Boolean] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def frozen?; end # @return [Boolean] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def has_key?(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def hash; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def inspect; end # call-seq: @@ -488,10 +496,10 @@ class Google::Protobuf::Map # # Returns the list of keys contained in the map, in unspecified order. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def keys; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def length; end # call-seq: @@ -502,10 +510,10 @@ class Google::Protobuf::Map # in the new copy of this map. Returns the new copy of this map with merged # contents. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def merge(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def size; end # call-seq: @@ -513,7 +521,7 @@ class Google::Protobuf::Map # # Returns a Ruby Hash object containing all the values within the map # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_h; end # call-seq: @@ -521,193 +529,195 @@ class Google::Protobuf::Map # # Returns the list of values contained in the map, in unspecified order. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def values; end end -# source://google-protobuf//lib/google/protobuf/message_exts.rb#10 +# pkg:gem/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#28 + # pkg:gem/google-protobuf#lib/google/protobuf/message_exts.rb:28 def to_hash; end - # source://google-protobuf//lib/google/protobuf/message_exts.rb#20 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/google-protobuf#lib/google/protobuf/message_exts.rb:17 module Google::Protobuf::MessageExts::ClassMethods; end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::MethodDescriptor # @return [MethodDescriptor] a new instance of MethodDescriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def client_streaming; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def input_type; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def output_type; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def server_streaming; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::OneofDescriptor include ::Enumerable # @return [OneofDescriptor] a new instance of OneofDescriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end end -# source://google-protobuf//lib/google/protobuf.rb#20 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::RepeatedField include ::Enumerable extend ::Forwardable # @return [RepeatedField] a new instance of RepeatedField # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(*_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def &(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def *(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def +(_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def -(*_arg0, **_arg1, &_arg2); end # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def <<(_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def <=>(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def ==(_arg0); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def [](*_arg0); end # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def []=(_arg0, _arg1); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def assoc(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def at(*_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def bsearch(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def bsearch_index(*_arg0, **_arg1, &_arg2); end # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def clear; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def clone; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def collect!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def combination(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def compact(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def compact!(*args, &block); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def concat(_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def count(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def cycle(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:104 def delete(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 + # pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def delete_if(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def difference(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def dig(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def drop(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def drop_while(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def dup; end # call-seq: @@ -717,43 +727,43 @@ class Google::Protobuf::RepeatedField # also includes Enumerable; combined with this method, the repeated field thus # acts like an ordinary Ruby sequence. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:92 def empty?; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def eql?(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def fetch(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def fill(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def find_index(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#58 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:58 def first(n = T.unsafe(nil)); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def flatten(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/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 # freeze the underlying representation, not just the Ruby wrapper. Returns # self. # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def freeze; end # Is this object frozen? @@ -763,133 +773,133 @@ class Google::Protobuf::RepeatedField # # @return [Boolean] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def frozen?; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def hash; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def include?(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def index(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def insert(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def inspect(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def intersection(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def join(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#151 + # pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:69 def last(n = T.unsafe(nil)); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def length; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#99 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:99 def map; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#152 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:152 def map!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def pack(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def permutation(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#81 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:81 def pop(n = T.unsafe(nil)); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def pretty_print(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def pretty_print_cycle(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def product(*_arg0, **_arg1, &_arg2); end # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def push(*_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def rassoc(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#153 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:153 def reject!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def repeated_combination(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def repeated_permutation(*_arg0, **_arg1, &_arg2); end # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def replace(_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def reverse(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def reverse!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def rindex(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def rotate(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def rotate!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def sample(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def select!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def shelljoin(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:104 def shift(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def shuffle!(*args, &block); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def size; end # array aliases into enumerable # - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#97 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:97 def slice(*_arg0); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:104 def slice!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def sort!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def sort_by!(*args, &block); end # call-seq: @@ -898,47 +908,47 @@ class Google::Protobuf::RepeatedField # Used when converted implicitly into array, e.g. compared to an Array. # Also called as a fallback of Object#to_a # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_ary; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def to_s(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def transpose(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def union(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def uniq(*_arg0, **_arg1, &_arg2); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#116 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:116 def uniq!(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:104 def unshift(*args, &block); end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#98 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:98 def values_at; end - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#47 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:47 def |(*_arg0, **_arg1, &_arg2); end private # @raise [FrozenError] # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def pop_one; end class << self private - # source://google-protobuf//lib/google/protobuf/repeated_field.rb#103 + # pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:115 def define_array_wrapper_with_result_method(method_name); end end end @@ -947,35 +957,36 @@ 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 +# pkg:gem/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 + # pkg:gem/google-protobuf#lib/google/protobuf/repeated_field.rb:160 def each(*args, &block); end end +# pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 class Google::Protobuf::ServiceDescriptor include ::Enumerable # @return [ServiceDescriptor] a new instance of ServiceDescriptor # - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def initialize(_arg0, _arg1, _arg2); end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def each; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def file_descriptor; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def name; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def options; end - # source://google-protobuf//lib/google/protobuf_native.rb#15 + # pkg:gem/google-protobuf#lib/google/protobuf_native.rb:15 def to_proto; end end -# source://google-protobuf//lib/google/protobuf.rb#18 +# pkg:gem/google-protobuf#lib/google/protobuf.rb:18 class Google::Protobuf::TypeError < ::TypeError; end diff --git a/sorbet/rbi/gems/graphql@2.5.16.rbi b/sorbet/rbi/gems/graphql@2.5.16.rbi index 4c2815be1..b6c239fc9 100644 --- a/sorbet/rbi/gems/graphql@2.5.16.rbi +++ b/sorbet/rbi/gems/graphql@2.5.16.rbi @@ -5,24 +5,24 @@ # Please instead update this file by running `bin/tapioca gem graphql`. -# source://graphql//lib/graphql/autoload.rb#3 +# pkg:gem/graphql#lib/graphql/autoload.rb:3 module GraphQL extend ::GraphQL::Autoload class << self - # source://graphql//lib/graphql.rb#39 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql.rb:14 def eager_load!; end # Turn a query string or schema definition into an AST @@ -30,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 + # pkg:gem/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 @@ -38,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 + # pkg:gem/graphql#lib/graphql.rb:56 def parse_file(filename); end - # source://graphql//lib/graphql.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql.rb:84 def reject_numbers_followed_by_names=(_arg0); end # @return [Array] # - # source://graphql//lib/graphql.rb#62 + # pkg:gem/graphql#lib/graphql.rb:62 def scan(graphql_string); end - # source://graphql//lib/graphql.rb#71 + # pkg:gem/graphql#lib/graphql.rb:71 def scan_with_ruby(graphql_string); end end end -# source://graphql//lib/graphql/analysis/visitor.rb#3 +# pkg:gem/graphql#lib/graphql/analysis/visitor.rb:3 module GraphQL::Analysis private - # source://graphql//lib/graphql/analysis.rb#92 + # pkg:gem/graphql#lib/graphql/analysis.rb:92 def analysis_errors(results); end # Analyze a multiplex, and all queries within. @@ -79,18 +79,18 @@ module GraphQL::Analysis # @param multiplex [GraphQL::Execution::Multiplex] # @return [Array] Results from multiplex analyzers # - # source://graphql//lib/graphql/analysis.rb#27 + # pkg:gem/graphql#lib/graphql/analysis.rb:27 def analyze_multiplex(multiplex, analyzers); end # @param analyzers [Array] # @param query [GraphQL::Query] # @return [Array] Results from those analyzers # - # source://graphql//lib/graphql/analysis.rb#56 + # pkg:gem/graphql#lib/graphql/analysis.rb:56 def analyze_query(query, analyzers, multiplex_analyzers: T.unsafe(nil)); end class << self - # source://graphql//lib/graphql/analysis.rb#92 + # pkg:gem/graphql#lib/graphql/analysis.rb:92 def analysis_errors(results); end # Analyze a multiplex, and all queries within. @@ -101,19 +101,19 @@ module GraphQL::Analysis # @param multiplex [GraphQL::Execution::Multiplex] # @return [Array] Results from multiplex analyzers # - # source://graphql//lib/graphql/analysis.rb#27 + # pkg:gem/graphql#lib/graphql/analysis.rb:27 def analyze_multiplex(multiplex, analyzers); end # @param analyzers [Array] # @param query [GraphQL::Query] # @return [Array] Results from those analyzers # - # source://graphql//lib/graphql/analysis.rb#56 + # pkg:gem/graphql#lib/graphql/analysis.rb:56 def analyze_query(query, analyzers, multiplex_analyzers: T.unsafe(nil)); end end end -# source://graphql//lib/graphql/analysis.rb#11 +# pkg:gem/graphql#lib/graphql/analysis.rb:11 GraphQL::Analysis::AST = GraphQL::Analysis # Query analyzer for query ASTs. Query analyzers respond to visitor style methods @@ -124,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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:12 def initialize(subject); end # Analyzer hook to decide at analysis time whether a query should @@ -136,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 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:27 def analyze?; end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_abstract_node(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_argument(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_directive(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_document(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_enum(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_field(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_fragment_spread(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_inline_fragment(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_input_object(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_list_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_non_null_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_null_value(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_operation_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_type_name(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_variable_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_enter_variable_identifier(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_abstract_node(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_argument(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_directive(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_document(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_enum(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_field(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_fragment_spread(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_inline_fragment(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_input_object(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_list_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_non_null_type(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_null_value(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_operation_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_type_name(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_variable_definition(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/analyzer.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:50 def on_leave_variable_identifier(node, parent, visitor); end # The result for this analyzer. Returning {GraphQL::AnalysisError} results @@ -241,7 +241,7 @@ class GraphQL::Analysis::Analyzer # @raise [GraphQL::RequiredImplementationMissingError] # @return [Any] The analyzer result # - # source://graphql//lib/graphql/analysis/analyzer.rb#41 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:41 def result; end # Analyzer hook to decide at analysis time whether analysis @@ -249,93 +249,93 @@ class GraphQL::Analysis::Analyzer # # @return [Boolean] If analysis requires visitation or not # - # source://graphql//lib/graphql/analysis/analyzer.rb#34 + # pkg:gem/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#87 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:87 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#84 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:84 def query; end # @return [GraphQL::Query, GraphQL::Execution::Multiplex] Whatever this analyzer is analyzing # - # source://graphql//lib/graphql/analysis/analyzer.rb#80 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:80 def subject; end class << self private - # source://graphql//lib/graphql/analysis/analyzer.rb#49 + # pkg:gem/graphql#lib/graphql/analysis/analyzer.rb:49 def build_visitor_hooks(member_name); end end end -# source://graphql//lib/graphql/analysis/field_usage.rb#4 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/field_usage.rb:5 def initialize(query); end - # source://graphql//lib/graphql/analysis/field_usage.rb#13 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/field_usage.rb:26 def result; end private - # source://graphql//lib/graphql/analysis/field_usage.rb#37 + # pkg:gem/graphql#lib/graphql/analysis/field_usage.rb:37 def extract_deprecated_arguments(argument_values); end - # source://graphql//lib/graphql/analysis/field_usage.rb#74 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/max_query_complexity.rb:7 def result; end end -# source://graphql//lib/graphql/analysis/max_query_depth.rb#4 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:8 def initialize(query); end - # source://graphql//lib/graphql/analysis/query_complexity.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:78 def on_enter_field(node, parent, visitor); end - # source://graphql//lib/graphql/analysis/query_complexity.rb#96 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:96 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 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:15 def result; end private @@ -347,21 +347,21 @@ class GraphQL::Analysis::QueryComplexity < ::GraphQL::Analysis::Analyzer # @param max_complexity [Numeric] Field's maximum complexity including child complexity # @param scoped_type_complexity [ScopedTypeComplexity] # - # source://graphql//lib/graphql/analysis/query_complexity.rb#172 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:172 def field_complexity(scoped_type_complexity, max_complexity:, child_complexity: T.unsafe(nil)); end - # source://graphql//lib/graphql/analysis/query_complexity.rb#221 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:221 def legacy_merged_max_complexity(query, inner_selections); end # @return [Integer] # - # source://graphql//lib/graphql/analysis/query_complexity.rb#109 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:109 def max_possible_complexity(mode: T.unsafe(nil)); 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#177 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:177 def merged_max_complexity(query, inner_selections); end # @param mode [:future, :legacy] @@ -369,19 +369,19 @@ class GraphQL::Analysis::QueryComplexity < ::GraphQL::Analysis::Analyzer # @param scopes [Array] Array of scoped type complexities # @return [Integer] # - # source://graphql//lib/graphql/analysis/query_complexity.rb#119 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:119 def merged_max_complexity_for_scopes(query, scopes, mode); end # @return [Boolean] # - # source://graphql//lib/graphql/analysis/query_complexity.rb#160 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:160 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#46 +# pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:46 class GraphQL::Analysis::QueryComplexity::ScopedTypeComplexity < ::Hash # @param field_definition [GraphQL::Field, GraphQL::Schema::Field] Used for getting the `.complexity` configuration # @param parent_type [Class] The owner of `field_definition` @@ -389,41 +389,41 @@ 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#57 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:57 def initialize(parent_type, field_definition, query, response_path); end # @return [Boolean] # - # source://graphql//lib/graphql/analysis/query_complexity.rb#73 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:73 def composite?; end # Returns the value of attribute field_definition. # - # source://graphql//lib/graphql/analysis/query_complexity.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:50 def field_definition; end # @return [Array] # - # source://graphql//lib/graphql/analysis/query_complexity.rb#67 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:67 def nodes; end - # source://graphql//lib/graphql/analysis/query_complexity.rb#69 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:69 def own_complexity(child_complexity); end # Returns the value of attribute query. # - # source://graphql//lib/graphql/analysis/query_complexity.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:50 def query; end # Returns the value of attribute response_path. # - # source://graphql//lib/graphql/analysis/query_complexity.rb#50 + # pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:50 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#48 +# pkg:gem/graphql#lib/graphql/analysis/query_complexity.rb:48 GraphQL::Analysis::QueryComplexity::ScopedTypeComplexity::DEFAULT_PROC = T.let(T.unsafe(nil), Proc) # A query reducer for measuring the depth of a given query. @@ -448,28 +448,28 @@ 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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/query_depth.rb:27 def initialize(query); end - # source://graphql//lib/graphql/analysis/query_depth.rb#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/query_depth.rb:53 def result; end end -# source://graphql//lib/graphql/analysis.rb#13 +# pkg:gem/graphql#lib/graphql/analysis.rb:13 class GraphQL::Analysis::TimeoutError < ::GraphQL::AnalysisError # @return [TimeoutError] a new instance of TimeoutError # - # source://graphql//lib/graphql/analysis.rb#14 + # pkg:gem/graphql#lib/graphql/analysis.rb:14 def initialize(*_arg0, **_arg1, &_arg2); end end @@ -482,176 +482,176 @@ end # # @see {GraphQL::Analysis::Analyzer} AST Analyzers for queries # -# source://graphql//lib/graphql/analysis/visitor.rb#12 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:13 def initialize(query:, analyzers:, timeout:); end # @return [GraphQL::Argument, nil] The most-recently-entered GraphQL::Argument, if currently inside one # - # source://graphql//lib/graphql/analysis/visitor.rb#235 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:235 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#53 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:53 def arguments_for(ast_node, field_definition); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_argument(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_directive(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_field(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_fragment_definition(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_fragment_spread(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_inline_fragment(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_enter_operation_definition(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_leave_argument(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_leave_directive(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_leave_field(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_leave_fragment_definition(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_leave_fragment_spread(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 def call_on_leave_inline_fragment(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#78 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:78 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#230 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:230 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#220 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:220 def field_definition; end # @return [Array] Types whose scope we've entered # - # source://graphql//lib/graphql/analysis/visitor.rb#39 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:39 def object_types; end - # source://graphql//lib/graphql/analysis/visitor.rb#168 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:168 def on_argument(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#158 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:158 def on_directive(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#130 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:130 def on_field(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#194 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:194 def on_fragment_spread(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#111 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:111 def on_inline_fragment(node, parent); end - # source://graphql//lib/graphql/analysis/visitor.rb#99 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:99 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#215 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:215 def parent_type_definition; end # @return [GraphQL::Argument, nil] The previous GraphQL argument # - # source://graphql//lib/graphql/analysis/visitor.rb#240 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:240 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#225 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:225 def previous_field_definition; end # @return [GraphQL::Query] the query being visited # - # source://graphql//lib/graphql/analysis/visitor.rb#36 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:36 def query; end # @return [Array] The path to the response key for the current field # - # source://graphql//lib/graphql/analysis/visitor.rb#68 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:68 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#63 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:63 def skipping?; end # @return [GraphQL::BaseType] The current object type # - # source://graphql//lib/graphql/analysis/visitor.rb#210 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:210 def type_definition; end - # source://graphql//lib/graphql/analysis/visitor.rb#44 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:44 def visit; end # @return [Boolean] If the visitor is currently inside a fragment definition # - # source://graphql//lib/graphql/analysis/visitor.rb#58 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:58 def visiting_fragment_definition?; end private - # source://graphql//lib/graphql/analysis/visitor.rb#273 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:273 def check_timeout; end # Visit a fragment spread inline instead of visiting the definition # by itself. # - # source://graphql//lib/graphql/analysis/visitor.rb#248 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:248 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#264 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:264 def leave_fragment_spread_inline(_fragment_spread); end # @return [Boolean] # - # source://graphql//lib/graphql/analysis/visitor.rb#268 + # pkg:gem/graphql#lib/graphql/analysis/visitor.rb:268 def skip?(ast_node); end end -# source://graphql//lib/graphql/analysis_error.rb#3 +# pkg:gem/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 +# pkg:gem/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!} @@ -660,21 +660,21 @@ module GraphQL::Autoload # @param path [String] # @return [void] # - # source://graphql//lib/graphql/autoload.rb#11 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/autoload.rb:34 def eager_loading?; end end @@ -690,118 +690,118 @@ end # end # end # -# source://graphql//lib/graphql/backtrace/table.rb#3 +# pkg:gem/graphql#lib/graphql/backtrace/table.rb:3 class GraphQL::Backtrace include ::Enumerable extend ::Forwardable # @return [Backtrace] a new instance of Backtrace # - # source://graphql//lib/graphql/backtrace.rb#27 + # pkg:gem/graphql#lib/graphql/backtrace.rb:27 def initialize(context, value: T.unsafe(nil)); end - # source://graphql//lib/graphql/backtrace.rb#21 - def [](*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/backtrace.rb:21 + def [](*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/backtrace.rb#21 - def each(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/backtrace.rb:21 + def each(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/backtrace.rb#31 + # pkg:gem/graphql#lib/graphql/backtrace.rb:31 def inspect; end - # source://graphql//lib/graphql/backtrace.rb#37 + # pkg:gem/graphql#lib/graphql/backtrace.rb:37 def to_a; end - # source://graphql//lib/graphql/backtrace.rb#35 + # pkg:gem/graphql#lib/graphql/backtrace.rb:35 def to_s; end class << self - # source://graphql//lib/graphql/backtrace.rb#23 + # pkg:gem/graphql#lib/graphql/backtrace.rb:23 def use(schema_defn); end end end # A class for turning a context into a human-readable table or array # -# source://graphql//lib/graphql/backtrace/table.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:22 def to_table; end private - # source://graphql//lib/graphql/backtrace/table.rb#114 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:114 def find_ast_node(node, last_part); end - # source://graphql//lib/graphql/backtrace/table.rb#173 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:173 def inspect_result(obj); end - # source://graphql//lib/graphql/backtrace/table.rb#190 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:190 def inspect_truncated(obj); end # @return [String] # - # source://graphql//lib/graphql/backtrace/table.rb#129 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:129 def render_table(rows); end - # source://graphql//lib/graphql/backtrace/table.rb#38 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:38 def rows; end - # source://graphql//lib/graphql/backtrace/table.rb#165 + # pkg:gem/graphql#lib/graphql/backtrace/table.rb:165 def value_at(runtime, path); end end -# source://graphql//lib/graphql/backtrace/table.rb#8 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/backtrace/table.rb:6 GraphQL::Backtrace::Table::MIN_COL_WIDTH = T.let(T.unsafe(nil), Integer) # When {Backtrace} is enabled, raised errors are wrapped with {TracedError}. # -# source://graphql//lib/graphql/backtrace/traced_error.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/backtrace/traced_error.rb:12 GraphQL::Backtrace::TracedError::MESSAGE_TEMPLATE = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/coercion_error.rb#3 +# pkg:gem/graphql#lib/graphql/coercion_error.rb:3 class GraphQL::CoercionError < ::GraphQL::ExecutionError; end # This module exposes Fiber-level runtime information. @@ -824,28 +824,28 @@ class GraphQL::CoercionError < ::GraphQL::ExecutionError; end # }, # ] # -# source://graphql//lib/graphql/current.rb#24 +# pkg:gem/graphql#lib/graphql/current.rb:24 module GraphQL::Current class << self # @return [GraphQL::Dataloader::Source, nil] The currently-running source, if there is one # - # source://graphql//lib/graphql/current.rb#53 + # pkg:gem/graphql#lib/graphql/current.rb:53 def dataloader_source; end # @return [Class, nil] The currently-running {Dataloader::Source} class, if there is one. # - # source://graphql//lib/graphql/current.rb#48 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/current.rb:43 def field; end # @return [String, nil] Comma-joined operation names for the currently-running {Execution::Multiplex}. `nil` if all operations are anonymous. # - # source://graphql//lib/graphql/current.rb#26 + # pkg:gem/graphql#lib/graphql/current.rb:26 def operation_name; end end end @@ -854,7 +854,7 @@ end # but `GraphQL::Dashboard` is consistent with this gem's naming. # So define both constants to refer to the same class. # -# source://graphql//lib/graphql/dashboard.rb#156 +# pkg:gem/graphql#lib/graphql/dashboard.rb:156 GraphQL::Dashboard = Graphql::Dashboard # This plugin supports Fiber-based concurrency, along with {GraphQL::Dataloader::Source}. @@ -872,34 +872,34 @@ GraphQL::Dashboard = Graphql::Dashboard # dataloader.with(Sources::Record, Team).load(object.team_id) # end # -# source://graphql//lib/graphql/dataloader/null_dataloader.rb#4 +# pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:4 class GraphQL::Dataloader # @return [Dataloader] a new instance of Dataloader # - # source://graphql//lib/graphql/dataloader.rb#60 + # pkg:gem/graphql#lib/graphql/dataloader.rb:60 def initialize(nonblocking: T.unsafe(nil), fiber_limit: T.unsafe(nil)); end # @api private Nothing to see here # - # source://graphql//lib/graphql/dataloader.rb#144 + # pkg:gem/graphql#lib/graphql/dataloader.rb:144 def append_job(callable = T.unsafe(nil), &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#102 + # pkg:gem/graphql#lib/graphql/dataloader.rb:102 def cleanup_fiber; end # Clear any already-loaded objects from {Source} caches # # @return [void] # - # source://graphql//lib/graphql/dataloader.rb#153 + # pkg:gem/graphql#lib/graphql/dataloader.rb:153 def clear_cache; end # @return [Integer, nil] # - # source://graphql//lib/graphql/dataloader.rb#71 + # pkg:gem/graphql#lib/graphql/dataloader.rb:71 def fiber_limit; end # This is called before the fiber is spawned, from the parent context (i.e. from @@ -907,12 +907,12 @@ class GraphQL::Dataloader # # @return [Hash] Current fiber-local variables # - # source://graphql//lib/graphql/dataloader.rb#81 + # pkg:gem/graphql#lib/graphql/dataloader.rb:81 def get_fiber_variables; end # @api private # - # source://graphql//lib/graphql/dataloader.rb#246 + # pkg:gem/graphql#lib/graphql/dataloader.rb:246 def lazy_at_depth(depth, lazy); end # Pre-warm the Dataloader cache with ActiveRecord objects which were loaded elsewhere. @@ -923,25 +923,25 @@ class GraphQL::Dataloader # @param records [Array] Already-loaded records to warm the cache with # @return [void] # - # source://graphql//lib/graphql/dataloader.rb#265 + # pkg:gem/graphql#lib/graphql/dataloader.rb:265 def merge_records(records, index_by: T.unsafe(nil)); end # @return [Boolean] # - # source://graphql//lib/graphql/dataloader.rb#73 + # pkg:gem/graphql#lib/graphql/dataloader.rb:73 def nonblocking?; end # @param trace_query_lazy [nil, Execution::Multiplex] # - # source://graphql//lib/graphql/dataloader.rb#198 + # pkg:gem/graphql#lib/graphql/dataloader.rb:198 def run(trace_query_lazy: T.unsafe(nil)); end - # source://graphql//lib/graphql/dataloader.rb#241 + # pkg:gem/graphql#lib/graphql/dataloader.rb:241 def run_fiber(f); end # Use a self-contained queue for the work in the block. # - # source://graphql//lib/graphql/dataloader.rb#161 + # pkg:gem/graphql#lib/graphql/dataloader.rb:161 def run_isolated; end # Set up the fiber variables in a new fiber. @@ -951,15 +951,15 @@ class GraphQL::Dataloader # @param vars [Hash] Fiber-local variables from {get_fiber_variables} # @return [void] # - # source://graphql//lib/graphql/dataloader.rb#95 + # pkg:gem/graphql#lib/graphql/dataloader.rb:95 def set_fiber_variables(vars); end - # source://graphql//lib/graphql/dataloader.rb#250 + # pkg:gem/graphql#lib/graphql/dataloader.rb:250 def spawn_fiber; end # truffle-ruby wasn't doing well with the implementation below # - # source://graphql//lib/graphql/dataloader.rb#121 + # pkg:gem/graphql#lib/graphql/dataloader.rb:121 def with(source_class, *batch_args, **batch_kwargs); end # Tell the dataloader that this fiber is waiting for data. @@ -968,121 +968,121 @@ class GraphQL::Dataloader # # @return [void] # - # source://graphql//lib/graphql/dataloader.rb#135 + # pkg:gem/graphql#lib/graphql/dataloader.rb:135 def yield(source = T.unsafe(nil)); end private - # source://graphql//lib/graphql/dataloader.rb#330 + # pkg:gem/graphql#lib/graphql/dataloader.rb:330 def calculate_fiber_limit; end - # source://graphql//lib/graphql/dataloader.rb#341 + # pkg:gem/graphql#lib/graphql/dataloader.rb:341 def join_queues(prev_queue, new_queue); end - # source://graphql//lib/graphql/dataloader.rb#277 + # pkg:gem/graphql#lib/graphql/dataloader.rb:277 def run_next_pending_lazies(job_fibers, trace); end - # source://graphql//lib/graphql/dataloader.rb#297 + # pkg:gem/graphql#lib/graphql/dataloader.rb:297 def run_pending_steps(trace, job_fibers, next_job_fibers, jobs_fiber_limit, source_fibers, next_source_fibers, total_fiber_limit); end - # source://graphql//lib/graphql/dataloader.rb#347 + # pkg:gem/graphql#lib/graphql/dataloader.rb:347 def spawn_job_fiber(trace); end - # source://graphql//lib/graphql/dataloader.rb#359 + # pkg:gem/graphql#lib/graphql/dataloader.rb:359 def spawn_source_fiber(trace); end - # source://graphql//lib/graphql/dataloader.rb#321 + # pkg:gem/graphql#lib/graphql/dataloader.rb:321 def with_trace_query_lazy(multiplex_or_nil, &block); end class << self # Returns the value of attribute default_fiber_limit. # - # source://graphql//lib/graphql/dataloader.rb#29 + # pkg:gem/graphql#lib/graphql/dataloader.rb:29 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#29 + # pkg:gem/graphql#lib/graphql/dataloader.rb:29 def default_fiber_limit=(_arg0); end # Returns the value of attribute default_nonblocking. # - # source://graphql//lib/graphql/dataloader.rb#29 + # pkg:gem/graphql#lib/graphql/dataloader.rb:29 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#29 + # pkg:gem/graphql#lib/graphql/dataloader.rb:29 def default_nonblocking=(_arg0); end - # source://graphql//lib/graphql/dataloader.rb#32 + # pkg:gem/graphql#lib/graphql/dataloader.rb:32 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#50 + # pkg:gem/graphql#lib/graphql/dataloader.rb:50 def with_dataloading(&block); end end end -# source://graphql//lib/graphql/dataloader/active_record_association_source.rb#7 +# pkg:gem/graphql#lib/graphql/dataloader/active_record_association_source.rb:7 class GraphQL::Dataloader::ActiveRecordAssociationSource < ::GraphQL::Dataloader::Source # @return [ActiveRecordAssociationSource] a new instance of ActiveRecordAssociationSource # - # source://graphql//lib/graphql/dataloader/active_record_association_source.rb#10 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_association_source.rb:10 def initialize(association, scope = T.unsafe(nil)); end - # source://graphql//lib/graphql/dataloader/active_record_association_source.rb#31 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_association_source.rb:31 def fetch(records); end - # source://graphql//lib/graphql/dataloader/active_record_association_source.rb#23 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_association_source.rb:23 def load(record); end class << self - # source://graphql//lib/graphql/dataloader/active_record_association_source.rb#15 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_association_source.rb:15 def batch_key_for(association, scope = T.unsafe(nil)); end end end -# source://graphql//lib/graphql/dataloader/active_record_association_source.rb#8 +# pkg:gem/graphql#lib/graphql/dataloader/active_record_association_source.rb:8 GraphQL::Dataloader::ActiveRecordAssociationSource::RECORD_SOURCE_CLASS = GraphQL::Dataloader::ActiveRecordSource -# source://graphql//lib/graphql/dataloader/active_record_source.rb#6 +# pkg:gem/graphql#lib/graphql/dataloader/active_record_source.rb:6 class GraphQL::Dataloader::ActiveRecordSource < ::GraphQL::Dataloader::Source # @return [ActiveRecordSource] a new instance of ActiveRecordSource # - # source://graphql//lib/graphql/dataloader/active_record_source.rb#7 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_source.rb:7 def initialize(model_class, find_by: T.unsafe(nil)); end - # source://graphql//lib/graphql/dataloader/active_record_source.rb#32 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_source.rb:32 def fetch(record_ids); end - # source://graphql//lib/graphql/dataloader/active_record_source.rb#22 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_source.rb:22 def normalize_fetch_key(requested_key); end - # source://graphql//lib/graphql/dataloader/active_record_source.rb#18 + # pkg:gem/graphql#lib/graphql/dataloader/active_record_source.rb:18 def result_key_for(requested_key); end end -# source://graphql//lib/graphql/dataloader/async_dataloader.rb#4 +# pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:4 class GraphQL::Dataloader::AsyncDataloader < ::GraphQL::Dataloader - # source://graphql//lib/graphql/dataloader/async_dataloader.rb#17 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:17 def run(trace_query_lazy: T.unsafe(nil)); end - # source://graphql//lib/graphql/dataloader/async_dataloader.rb#5 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:5 def yield(source = T.unsafe(nil)); end private - # source://graphql//lib/graphql/dataloader/async_dataloader.rb#70 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:70 def run_pending_steps(job_fibers, next_job_fibers, source_tasks, jobs_fiber_limit, trace); end - # source://graphql//lib/graphql/dataloader/async_dataloader.rb#83 + # pkg:gem/graphql#lib/graphql/dataloader/async_dataloader.rb:83 def spawn_source_task(parent_task, condition, trace); end end @@ -1091,88 +1091,88 @@ end # It runs execution code inline and gathers lazy objects (eg. Promises) # and resolves them during {#run}. # -# source://graphql//lib/graphql/dataloader/null_dataloader.rb#9 +# pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:9 class GraphQL::Dataloader::NullDataloader < ::GraphQL::Dataloader # @return [NullDataloader] a new instance of NullDataloader # - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#10 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:10 def initialize(*_arg0); end - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#55 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:55 def append_job(callable = T.unsafe(nil)); end - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#49 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:49 def clear_cache; end - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#14 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:14 def freeze; end - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#20 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:20 def run(trace_query_lazy: T.unsafe(nil)); end - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#39 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:39 def run_isolated; end # @raise [GraphQL::Error] # - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#60 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:60 def with(*_arg0); end # @raise [GraphQL::Error] # - # source://graphql//lib/graphql/dataloader/null_dataloader.rb#51 + # pkg:gem/graphql#lib/graphql/dataloader/null_dataloader.rb:51 def yield(_source); end end # @see Source#request which returns an instance of this # -# source://graphql//lib/graphql/dataloader/request.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/dataloader/request.rb:14 def load; end - # source://graphql//lib/graphql/dataloader/request.rb#18 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/dataloader/request_all.rb:14 def load; end end -# source://graphql//lib/graphql/dataloader/source.rb#5 +# pkg:gem/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#179 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:179 def clear_cache; end # Returns the value of attribute dataloader. # - # source://graphql//lib/graphql/dataloader/source.rb#18 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:18 def dataloader; end # Subclasses must implement this method to return a value for each of `keys` @@ -1180,19 +1180,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#98 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:98 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#63 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:63 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#76 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:76 def load_all(values); end # Add these key-value pairs to this source's cache @@ -1201,7 +1201,7 @@ 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#129 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:129 def merge(new_results); end # Implement this method if varying values given to {load} (etc) should be consolidated @@ -1213,27 +1213,27 @@ class GraphQL::Dataloader::Source # @param value [Object] The value passed to {load}, {load_all}, {request}, or {request_all} # @return [Object] The value given to {fetch} # - # source://graphql//lib/graphql/dataloader/source.rb#46 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:46 def normalize_fetch_key(value); end # Returns the value of attribute pending. # - # source://graphql//lib/graphql/dataloader/source.rb#184 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:184 def pending; end # @return [Boolean] True if this source has any pending requests for data. # - # source://graphql//lib/graphql/dataloader/source.rb#121 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:121 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 + # pkg:gem/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#51 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:51 def request_all(values); end # Implement this method to return a stable identifier if different @@ -1242,12 +1242,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 + # pkg:gem/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#184 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:184 def results; end # Called by {GraphQL::Dataloader} to resolve and pending requests to this source. @@ -1255,14 +1255,14 @@ class GraphQL::Dataloader::Source # @api private # @return [void] # - # source://graphql//lib/graphql/dataloader/source.rb#140 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:140 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 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:8 def setup(dataloader); end # Wait for a batch, if there's anything to batch. @@ -1270,7 +1270,7 @@ class GraphQL::Dataloader::Source # # @return [void] # - # source://graphql//lib/graphql/dataloader/source.rb#107 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:107 def sync(pending_result_keys); end private @@ -1281,7 +1281,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#192 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:192 def result_for(key); end class << self @@ -1300,12 +1300,12 @@ class GraphQL::Dataloader::Source # @param batch_kwargs [Hash] # @return [Object] # - # source://graphql//lib/graphql/dataloader/source.rb#173 + # pkg:gem/graphql#lib/graphql/dataloader/source.rb:173 def batch_key_for(*batch_args, **batch_kwargs); end end end -# source://graphql//lib/graphql/dataloader/source.rb#103 +# pkg:gem/graphql#lib/graphql/dataloader/source.rb:103 GraphQL::Dataloader::Source::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer) # This error is raised when `Types::ISO8601Date` is asked to return a value @@ -1313,20 +1313,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/date_encoding_error.rb:9 def date_value; end end -# source://graphql//lib/graphql/dig.rb#3 +# pkg:gem/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 @@ -1336,7 +1336,7 @@ module GraphQL::Dig # @param rest_keys [Array<[String, Symbol>] Retrieves the value object corresponding to the each key objects repeatedly] est_keys [Array<[String, Symbol>] Retrieves the value object corresponding to the each key objects repeatedly # @return [Object] # - # source://graphql//lib/graphql/dig.rb#11 + # pkg:gem/graphql#lib/graphql/dig.rb:11 def dig(own_key, *rest_keys); end end @@ -1345,32 +1345,32 @@ end # # @see GraphQL::Types::ISO8601Duration which raises this error # -# source://graphql//lib/graphql/duration_encoding_error.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/duration_encoding_error.rb:9 def duration_value; end end -# source://graphql//lib/graphql.rb#77 +# pkg:gem/graphql#lib/graphql.rb:77 module GraphQL::EmptyObjects; end -# source://graphql//lib/graphql.rb#79 +# pkg:gem/graphql#lib/graphql.rb:79 GraphQL::EmptyObjects::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql.rb#78 +# pkg:gem/graphql#lib/graphql.rb:78 GraphQL::EmptyObjects::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql.rb#21 +# pkg:gem/graphql#lib/graphql.rb:21 class GraphQL::Error < ::StandardError; end -# source://graphql//lib/graphql/execution/directive_checks.rb#3 +# pkg:gem/graphql#lib/graphql/execution/directive_checks.rb:3 module GraphQL::Execution; end # Boolean checks for how an AST node's directives should @@ -1378,41 +1378,41 @@ module GraphQL::Execution; end # # @api private # -# source://graphql//lib/graphql/execution/directive_checks.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/errors.rb:56 def find_handler_for(schema, error_class); end # Register this handler, updating the @@ -1423,12 +1423,12 @@ class GraphQL::Execution::Errors # @param error_handlers [Hash] # @return [void] # - # source://graphql//lib/graphql/execution/errors.rb#13 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/execution/interpreter/argument_value.rb:5 class GraphQL::Execution::Interpreter class << self # @param context [Hash] @@ -1437,7 +1437,7 @@ class GraphQL::Execution::Interpreter # @param schema [GraphQL::Schema] # @return [Array] One result per query # - # source://graphql//lib/graphql/execution/interpreter.rb#24 + # pkg:gem/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 @@ -1446,31 +1446,31 @@ end # # @see Interpreter::Arguments#argument_values for a hash of these objects. # -# source://graphql//lib/graphql/execution/interpreter/argument_value.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/argument_value.rb:17 def value; end end @@ -1481,7 +1481,7 @@ end # # @see GraphQL::Query#arguments_for to get access to these objects. # -# source://graphql//lib/graphql/execution/interpreter/arguments.rb#12 +# pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:12 class GraphQL::Execution::Interpreter::Arguments include ::GraphQL::Dig extend ::Forwardable @@ -1490,46 +1490,46 @@ 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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:24 def initialize(argument_values:, keyword_arguments: T.unsafe(nil)); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def [](*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def [](*_arg0, **_arg1, &_arg2); end # @return [Hash{Symbol => ArgumentValue}] # - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#56 + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:56 def argument_values; end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def each(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def each(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#63 - def each_value(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:63 + def each_value(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#58 + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:58 def empty?; end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def fetch(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def fetch(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#65 + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:65 def inspect; end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def key?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def key?(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def keys(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def keys(*_arg0, **_arg1, &_arg2); end # The Ruby-style arguments hash, ready for a resolver. # This hash is the one used at runtime. # # @return [Hash] # - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#20 + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:20 def keyword_arguments; end # Create a new arguments instance which includes these extras. @@ -1540,90 +1540,90 @@ class GraphQL::Execution::Interpreter::Arguments # @param extra_args [Hash Object>] # @return [Interpreter::Arguments] # - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#76 + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:76 def merge_extras(extra_args); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def size(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def size(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def to_h(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def to_h(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/execution/interpreter/arguments.rb#62 - def values(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/interpreter/arguments.rb:62 + def values(*_arg0, **_arg1, &_arg2); end end -# source://graphql//lib/graphql/execution/interpreter/arguments.rb#84 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/execution_errors.rb:13 def add(err_or_msg); end end -# source://graphql//lib/graphql/execution/interpreter.rb#143 +# pkg:gem/graphql#lib/graphql/execution/interpreter.rb:143 class GraphQL::Execution::Interpreter::ListResultFailedError < ::GraphQL::Error # @return [ListResultFailedError] a new instance of ListResultFailedError # - # source://graphql//lib/graphql/execution/interpreter.rb#144 + # pkg:gem/graphql#lib/graphql/execution/interpreter.rb:144 def initialize(value:, path:, field:); end end # Wrapper for raw values # -# source://graphql//lib/graphql/execution/interpreter/handles_raw_value.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/handles_raw_value.rb:12 def resolve; end end -# source://graphql//lib/graphql/execution/interpreter/resolve.rb#6 +# pkg:gem/graphql#lib/graphql/execution/interpreter/resolve.rb:6 module GraphQL::Execution::Interpreter::Resolve class << self # @deprecated Call `dataloader.run` instead # - # source://graphql//lib/graphql/execution/interpreter/resolve.rb#43 + # pkg:gem/graphql#lib/graphql/execution/interpreter/resolve.rb:43 def resolve(results, dataloader); end # Continue field results in `results` until there's nothing else to continue. @@ -1631,12 +1631,12 @@ module GraphQL::Execution::Interpreter::Resolve # @deprecated Call `dataloader.run` instead # @return [void] # - # source://graphql//lib/graphql/execution/interpreter/resolve.rb#10 + # pkg:gem/graphql#lib/graphql/execution/interpreter/resolve.rb:10 def resolve_all(results, dataloader); end # @deprecated Call `dataloader.run` instead # - # source://graphql//lib/graphql/execution/interpreter/resolve.rb#17 + # pkg:gem/graphql#lib/graphql/execution/interpreter/resolve.rb:17 def resolve_each_depth(lazies_at_depth, dataloader); end end end @@ -1646,12 +1646,12 @@ end # # @api private # -# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#6 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:38 def initialize(query:); end # @api private @@ -1661,23 +1661,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#891 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:891 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#945 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:945 def arguments(graphql_object, arg_owner, ast_node); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#819 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:819 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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:36 def context; end # The resolver for `field` returned `value`. Continue to execute the query, @@ -1690,22 +1690,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#664 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:664 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#557 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:557 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#545 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:545 def current_path; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#954 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:954 def delete_all_interpreter_context; end # Check {Schema::Directive.include?} for each directive that's present @@ -1713,98 +1713,98 @@ class GraphQL::Execution::Interpreter::Runtime # @api private # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#858 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:858 def directives_include?(node, graphql_object, parent_type); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#199 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:199 def each_gathered_selections(response_hash); end # @api private # @return [void] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#328 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:328 def evaluate_selection(result_name, field_ast_nodes_or_ast_node, selections_result); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#376 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:376 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#436 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:436 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#290 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:290 def evaluate_selections(gathered_selections, selections_result, target_result, runtime_state); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#58 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:58 def final_result; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#212 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:212 def gather_selections(owner_object, owner_type, selections, selections_to_run, selections_by_name, ordered_result_keys); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#869 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:869 def get_current_runtime_state; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#62 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:62 def inspect; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#986 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:986 def lazy?(object); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#874 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:874 def minimal_after_lazy(value, &block); end # @api private # @return [GraphQL::Query] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#30 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:30 def query; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#805 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:805 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#965 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:965 def resolve_type(type, value); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#824 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:824 def run_directive(method_name, object, directives, idx, &block); end # @api private # @return [void] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#67 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:67 def run_eager; end # @api private # @return [Class] # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#33 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:33 def schema; end # Mark this node and any already-registered children as dead, @@ -1812,274 +1812,274 @@ class GraphQL::Execution::Interpreter::Runtime # # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#532 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:532 def set_graphql_dead(selection_result); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#502 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:502 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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:13 def initialize; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_arguments; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_arguments=(_arg0); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_field; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_field=(_arg0); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#21 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:21 def current_object; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_result; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_result=(_arg0); end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:25 def current_result_name; end # @api private # - # source://graphql//lib/graphql/execution/interpreter/runtime.rb#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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, ast_node, graphql_arguments, graphql_field); end # Returns the value of attribute ast_node. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def ast_node; end # TODO test full path in Partial # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#28 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:28 def base_path=(_arg0); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#34 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:34 def build_path(path_array); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#45 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:45 def depth; end # Returns the value of attribute graphql_application_value. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def graphql_application_value; end # Returns the value of attribute graphql_arguments. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def graphql_arguments; end # Returns the value of attribute graphql_dead. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#53 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:53 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#53 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:53 def graphql_dead=(_arg0); end # Returns the value of attribute graphql_field. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def graphql_field; end # Returns the value of attribute graphql_is_eager. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 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#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 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#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 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#58 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:58 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#58 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:58 def graphql_result_data=(_arg0); end # Returns the value of attribute graphql_result_name. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def graphql_result_name; end # Returns the value of attribute graphql_result_type. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def graphql_result_type; end # Returns the value of attribute graphql_selections. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#54 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:54 def graphql_selections; end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#30 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:30 def path; end end -# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#175 +# pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:175 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#178 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:178 def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent, _selections, _is_eager, _ast_node, _graphql_arguments, graphql_field); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#221 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:221 def [](idx); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#183 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:183 def graphql_skip_at(index); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#205 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:205 def set_child_result(idx, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#195 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:195 def set_leaf(idx, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#217 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:217 def values; end end -# source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#61 +# pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:61 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#62 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:62 def initialize(_result_name, _result_type, _application_value, _parent_result, _is_non_null_in_parent, _selections, _is_eager, _ast_node, _graphql_arguments, graphql_field); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#134 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:134 def [](k); end # hook for breadth-first implementations to signal when collecting results. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#170 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:170 def collect_result(result_name, result_value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#117 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:117 def delete(key); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#122 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:122 def each; end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#161 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:161 def fix_result_order; end # Returns the value of attribute graphql_merged_into. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#72 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:72 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#72 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:72 def graphql_merged_into=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#130 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:130 def key?(k); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#138 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:138 def merge_into(into_result); end # Returns the value of attribute ordered_result_keys. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#68 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:68 def ordered_result_keys; end # Sets the attribute ordered_result_keys # # @param value the value to set the attribute ordered_result_keys to. # - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#68 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:68 def ordered_result_keys=(_arg0); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#100 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:100 def set_child_result(key, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#74 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:74 def set_leaf(key, value); end - # source://graphql//lib/graphql/execution/interpreter/runtime/graphql_result.rb#126 + # pkg:gem/graphql#lib/graphql/execution/interpreter/runtime/graphql_result.rb:126 def values; end end # @api private # -# source://graphql//lib/graphql/execution/interpreter/runtime.rb#556 +# pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:556 GraphQL::Execution::Interpreter::Runtime::HALT = T.let(T.unsafe(nil), Object) # @api private # -# source://graphql//lib/graphql/execution/interpreter/runtime.rb#287 +# pkg:gem/graphql#lib/graphql/execution/interpreter/runtime.rb:287 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. @@ -2092,7 +2092,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 +# pkg:gem/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 # @@ -2101,24 +2101,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lazy.rb:27 def value; end class << self @@ -2126,7 +2126,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 + # pkg:gem/graphql#lib/graphql/execution/lazy.rb:57 def all(lazies); end end end @@ -2139,50 +2139,50 @@ end # @api private # @see {Schema#lazy?} looks up values from this map # -# source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#18 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lazy/lazy_method_map.rb:23 def initialize_copy(other); end end @@ -2190,44 +2190,44 @@ end # # @api private # -# source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#57 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lazy/lazy_method_map.rb:76 def compute_if_absent(key); end - # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#61 - def each_pair(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/lazy/lazy_method_map.rb:61 + def each_pair(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#61 - def size(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/execution/lazy/lazy_method_map.rb:61 + def size(*_arg0, **_arg1, &_arg2); end protected # @api private # - # source://graphql//lib/graphql/execution/lazy/lazy_method_map.rb#89 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lazy/lazy_method_map.rb:82 def initialize_copy(other); end end @@ -2235,7 +2235,7 @@ end # # @api private # -# source://graphql//lib/graphql/execution/lazy.rb#65 +# pkg:gem/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. @@ -2264,7 +2264,7 @@ GraphQL::Execution::Lazy::NullResult = T.let(T.unsafe(nil), GraphQL::Execution:: # end # end # -# source://graphql//lib/graphql/execution/lookahead.rb#29 +# pkg:gem/graphql#lib/graphql/execution/lookahead.rb:29 class GraphQL::Execution::Lookahead # @param ast_nodes [Array, Array] # @param field [GraphQL::Schema::Field] if `ast_nodes` are fields, this is the field definition matching those nodes @@ -2272,7 +2272,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 + # pkg:gem/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. @@ -2280,25 +2280,25 @@ class GraphQL::Execution::Lookahead # # @return [GraphQL::Execution::Lookahead] # - # source://graphql//lib/graphql/execution/lookahead.rb#147 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:53 def arguments; end # @return [Array] # - # source://graphql//lib/graphql/execution/lookahead.rb#44 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:44 def ast_nodes; end # @return [GraphQL::Schema::Field] # - # source://graphql//lib/graphql/execution/lookahead.rb#47 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:47 def field; end - # source://graphql//lib/graphql/execution/lookahead.rb#216 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:216 def inspect; end # The method name of the field. @@ -2311,17 +2311,17 @@ class GraphQL::Execution::Lookahead # end # @return [Symbol] # - # source://graphql//lib/graphql/execution/lookahead.rb#212 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:107 def selected?; end # Like {#selects?}, but can be used for chaining. @@ -2330,7 +2330,7 @@ class GraphQL::Execution::Lookahead # @param field_name [String, Symbol] # @return [GraphQL::Execution::Lookahead] # - # source://graphql//lib/graphql/execution/lookahead.rb#115 + # pkg:gem/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. @@ -2348,7 +2348,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 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:181 def selections(arguments: T.unsafe(nil)); end # True if this node has a selection on `field_name`. @@ -2365,7 +2365,7 @@ class GraphQL::Execution::Lookahead # @param field_name [String, Symbol] # @return [Boolean] # - # source://graphql//lib/graphql/execution/lookahead.rb#86 + # pkg:gem/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`. @@ -2382,79 +2382,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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:356 def alias_selections; end # @return [Boolean] # - # source://graphql//lib/graphql/execution/lookahead.rb#326 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:361 def lookup_alias_node(nodes, name); end - # source://graphql//lib/graphql/execution/lookahead.rb#380 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:380 def lookup_fragment(ast_selection); end # @return [Boolean] # - # source://graphql//lib/graphql/execution/lookahead.rb#252 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:252 def skipped_by_directive?(ast_selection); end - # source://graphql//lib/graphql/execution/lookahead.rb#369 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:223 def initialize; end - # source://graphql//lib/graphql/execution/lookahead.rb#242 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:242 def inspect; end # @return [Boolean] # - # source://graphql//lib/graphql/execution/lookahead.rb#226 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:226 def selected?; end - # source://graphql//lib/graphql/execution/lookahead.rb#234 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:234 def selection(*_arg0); end - # source://graphql//lib/graphql/execution/lookahead.rb#238 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:238 def selections(*_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/execution/lookahead.rb#230 + # pkg:gem/graphql#lib/graphql/execution/lookahead.rb:230 def selects?(*_arg0); end end @@ -2480,49 +2480,49 @@ end # @api private # @see {Schema#multiplex} for public API # -# source://graphql//lib/graphql/execution/multiplex.rb#25 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:28 def context; end # @api private # - # source://graphql//lib/graphql/execution/multiplex.rb#28 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:28 def current_trace; end # @api private # - # source://graphql//lib/graphql/execution/multiplex.rb#28 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:28 def dataloader; end # @api private # - # source://graphql//lib/graphql/execution/multiplex.rb#42 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:42 def logger; end # @api private # - # source://graphql//lib/graphql/execution/multiplex.rb#28 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:28 def max_complexity; end # @api private # - # source://graphql//lib/graphql/execution/multiplex.rb#28 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:28 def queries; end # @api private # - # source://graphql//lib/graphql/execution/multiplex.rb#28 + # pkg:gem/graphql#lib/graphql/execution/multiplex.rb:28 def schema; end end @@ -2530,47 +2530,47 @@ end # # @api private # -# source://graphql//lib/graphql/execution.rb#16 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution_error.rb:22 def extensions=(_arg0); end # recommends that any custom entries in an error be under the @@ -2579,7 +2579,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 + # pkg:gem/graphql#lib/graphql/execution_error.rb:18 def options; end # recommends that any custom entries in an error be under the @@ -2588,26 +2588,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/execution_error.rb:32 def to_h; end end @@ -2617,16 +2617,16 @@ end # # @see GraphQL::Types::Int which raises this error # -# source://graphql//lib/graphql/integer_decoding_error.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/integer_decoding_error.rb:10 def integer_value; end end @@ -2639,89 +2639,89 @@ end # # @see GraphQL::Types::Int which raises this error # -# source://graphql//lib/graphql/integer_encoding_error.rb#11 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/integer_encoding_error.rb:19 def path; end end -# source://graphql//lib/graphql/introspection.rb#3 +# pkg:gem/graphql#lib/graphql/introspection.rb:3 module GraphQL::Introspection class << self - # source://graphql//lib/graphql/introspection.rb#4 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#4 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/introspection/directive_type.rb:4 class GraphQL::Introspection::DirectiveType < ::GraphQL::Introspection::BaseObject - # source://graphql//lib/graphql/introspection/directive_type.rb#24 + # pkg:gem/graphql#lib/graphql/introspection/directive_type.rb:24 def args(include_deprecated:); end end -# source://graphql//lib/graphql/introspection/dynamic_fields.rb#4 +# pkg:gem/graphql#lib/graphql/introspection/dynamic_fields.rb:4 class GraphQL::Introspection::DynamicFields < ::GraphQL::Introspection::BaseObject - # source://graphql//lib/graphql/introspection/dynamic_fields.rb#7 + # pkg:gem/graphql#lib/graphql/introspection/dynamic_fields.rb:7 def __typename; end end -# source://graphql//lib/graphql/introspection/entry_points.rb#4 +# pkg:gem/graphql#lib/graphql/introspection/entry_points.rb:4 class GraphQL::Introspection::EntryPoints < ::GraphQL::Introspection::BaseObject - # source://graphql//lib/graphql/introspection/entry_points.rb#10 + # pkg:gem/graphql#lib/graphql/introspection/entry_points.rb:10 def __schema; end - # source://graphql//lib/graphql/introspection/entry_points.rb#17 + # pkg:gem/graphql#lib/graphql/introspection/entry_points.rb:17 def __type(name:); end end -# source://graphql//lib/graphql/introspection/enum_value_type.rb#4 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/introspection/enum_value_type.rb:18 def is_deprecated; end - # source://graphql//lib/graphql/introspection/enum_value_type.rb#14 + # pkg:gem/graphql#lib/graphql/introspection/enum_value_type.rb:14 def name; end end -# source://graphql//lib/graphql/introspection/field_type.rb#4 +# pkg:gem/graphql#lib/graphql/introspection/field_type.rb:4 class GraphQL::Introspection::FieldType < ::GraphQL::Introspection::BaseObject - # source://graphql//lib/graphql/introspection/field_type.rb#21 + # pkg:gem/graphql#lib/graphql/introspection/field_type.rb:21 def args(include_deprecated:); end - # source://graphql//lib/graphql/introspection/field_type.rb#17 + # pkg:gem/graphql#lib/graphql/introspection/field_type.rb:17 def is_deprecated; end end @@ -2729,147 +2729,147 @@ 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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/introspection/input_value_type.rb:20 def default_value; end - # source://graphql//lib/graphql/introspection/input_value_type.rb#16 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:5 class GraphQL::Introspection::SchemaType < ::GraphQL::Introspection::BaseObject - # source://graphql//lib/graphql/introspection/schema_type.rb#41 + # pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:41 def directives; end - # source://graphql//lib/graphql/introspection/schema_type.rb#33 + # pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:33 def mutation_type; end - # source://graphql//lib/graphql/introspection/schema_type.rb#29 + # pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:29 def query_type; end - # source://graphql//lib/graphql/introspection/schema_type.rb#18 + # pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:18 def schema_description; end - # source://graphql//lib/graphql/introspection/schema_type.rb#37 + # pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:37 def subscription_type; end - # source://graphql//lib/graphql/introspection/schema_type.rb#22 + # pkg:gem/graphql#lib/graphql/introspection/schema_type.rb:22 def types; end end -# source://graphql//lib/graphql/introspection/type_kind_enum.rb#4 +# pkg:gem/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#4 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/introspection/type_type.rb:4 class GraphQL::Introspection::TypeType < ::GraphQL::Introspection::BaseObject - # source://graphql//lib/graphql/introspection/type_type.rb#51 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:51 def enum_values(include_deprecated:); end - # source://graphql//lib/graphql/introspection/type_type.rb#91 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:91 def fields(include_deprecated:); end - # source://graphql//lib/graphql/introspection/type_type.rb#73 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:73 def input_fields(include_deprecated:); end - # source://graphql//lib/graphql/introspection/type_type.rb#65 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:65 def interfaces; end - # source://graphql//lib/graphql/introspection/type_type.rb#34 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:34 def is_one_of; end - # source://graphql//lib/graphql/introspection/type_type.rb#47 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:47 def kind; end - # source://graphql//lib/graphql/introspection/type_type.rb#103 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:103 def of_type; end - # source://graphql//lib/graphql/introspection/type_type.rb#83 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:83 def possible_types; end - # source://graphql//lib/graphql/introspection/type_type.rb#39 + # pkg:gem/graphql#lib/graphql/introspection/type_type.rb:39 def specified_by_url; end end -# source://graphql//lib/graphql/invalid_name_error.rb#3 +# pkg:gem/graphql#lib/graphql/invalid_name_error.rb:3 class GraphQL::InvalidNameError < ::GraphQL::Error # @return [InvalidNameError] a new instance of InvalidNameError # - # source://graphql//lib/graphql/invalid_name_error.rb#5 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/invalid_null_error.rb:5 class GraphQL::InvalidNullError < ::GraphQL::Error # @return [InvalidNullError] a new instance of InvalidNullError # - # source://graphql//lib/graphql/invalid_null_error.rb#18 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:18 def initialize(parent_type, field, ast_node, is_from_array: T.unsafe(nil)); end # @return [GraphQL::Language::Nodes::Field] the field where the error occurred # - # source://graphql//lib/graphql/invalid_null_error.rb#13 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:13 def ast_node; end # @return [GraphQL::Field] The field which failed to return a value # - # source://graphql//lib/graphql/invalid_null_error.rb#10 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:10 def field; end # @return [Boolean] indicates an array result caused the error # - # source://graphql//lib/graphql/invalid_null_error.rb#16 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:16 def is_from_array; end # @return [GraphQL::BaseType] The owner of {#field} # - # source://graphql//lib/graphql/invalid_null_error.rb#7 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:7 def parent_type; end class << self - # source://graphql//lib/graphql/invalid_null_error.rb#44 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:44 def inspect; end # Returns the value of attribute parent_class. # - # source://graphql//lib/graphql/invalid_null_error.rb#36 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:36 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#36 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:36 def parent_class=(_arg0); end - # source://graphql//lib/graphql/invalid_null_error.rb#38 + # pkg:gem/graphql#lib/graphql/invalid_null_error.rb:38 def subclass_for(parent_class); end end end @@ -2877,18 +2877,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 +# pkg:gem/graphql#lib/graphql.rb:26 class GraphQL::InvariantError < ::GraphQL::Error # @return [InvariantError] a new instance of InvariantError # - # source://graphql//lib/graphql.rb#27 + # pkg:gem/graphql#lib/graphql.rb:27 def initialize(message); end end -# source://graphql//lib/graphql/language/block_string.rb#3 +# pkg:gem/graphql#lib/graphql/language/block_string.rb:3 module GraphQL::Language class << self - # source://graphql//lib/graphql/language.rb#89 + # pkg:gem/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. @@ -2896,36 +2896,36 @@ module GraphQL::Language # # @return [String] # - # source://graphql//lib/graphql/language.rb#47 + # pkg:gem/graphql#lib/graphql/language.rb:47 def escape_single_quoted_newlines(query_str); end # @api private # - # source://graphql//lib/graphql/language.rb#20 + # pkg:gem/graphql#lib/graphql/language.rb:20 def serialize(value); end end end -# source://graphql//lib/graphql/language/block_string.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/block_string.rb:110 def contains_only_whitespace?(line); end - # source://graphql//lib/graphql/language/block_string.rb#61 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/block_string.rb:7 def trim_whitespace(str); end end end @@ -2943,48 +2943,48 @@ end # # @see GraphQL::Railtie for simple Rails integration # -# source://graphql//lib/graphql/language/cache.rb#20 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/cache.rb:21 def initialize(path); end - # source://graphql//lib/graphql/language/cache.rb#27 + # pkg:gem/graphql#lib/graphql/language/cache.rb:27 def fetch(filename); end end -# source://graphql//lib/graphql/language/cache.rb#25 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/language/comment.rb:4 module GraphQL::Language::Comment class << self - # source://graphql//lib/graphql/language/comment.rb#5 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/definition_slice.rb:7 def slice(document, name); end end -# source://graphql//lib/graphql/language/definition_slice.rb#18 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/definition_slice.rb:19 def initialize(doc, definitions, names); end - # source://graphql//lib/graphql/language/definition_slice.rb#25 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/definition_slice.rb:32 def find_definition_dependencies(definitions, name, names); end end end @@ -3000,177 +3000,177 @@ end # @param include_introspection_types [Boolean] Whether or not to include introspection types in the AST # @param only [<#call(member, ctx)>] # -# source://graphql//lib/graphql/language/document_from_schema_definition.rb#15 +# pkg:gem/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 + # pkg:gem/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#133 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:133 def build_argument_node(argument); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#250 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:250 def build_argument_nodes(arguments); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#198 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:198 def build_default_value(default_value, type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#266 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:266 def build_definition_nodes; end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#176 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:176 def build_directive_location_node(location); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#172 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:172 def build_directive_location_nodes(locations); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#162 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:162 def build_directive_node(directive); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#260 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:260 def build_directive_nodes(directives); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#103 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:103 def build_enum_type_node(enum_type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#115 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:115 def build_enum_value_node(enum_value); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#71 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:71 def build_field_node(field); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#325 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:325 def build_field_nodes(fields); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#152 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:152 def build_input_object_node(input_object); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#92 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:92 def build_interface_type_node(interface_type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#53 + # pkg:gem/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#124 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:124 def build_scalar_type_node(scalar_type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#38 + # pkg:gem/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#231 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:231 def build_type_definition_node(type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#313 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:313 def build_type_definition_nodes(types); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#182 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:182 def build_type_name_node(type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#82 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:82 def build_union_type_node(union_type); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#32 + # pkg:gem/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#383 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:383 def always_include_schema; end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#349 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:349 def definition_directives(member, directives_method); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#345 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:345 def directives(member); end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#383 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:383 def include_built_in_directives; end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#383 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:383 def include_built_in_scalars; end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#383 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:383 def include_introspection_types; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#333 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:333 def include_schema_node?; end # @api private # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#383 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:383 def schema; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/language/document_from_schema_definition.rb#339 + # pkg:gem/graphql#lib/graphql/language/document_from_schema_definition.rb:339 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 +# pkg:gem/graphql#lib/graphql/language/generation.rb:5 module GraphQL::Language::Generation extend ::GraphQL::Language::Generation @@ -3185,241 +3185,241 @@ 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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#254 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:254 def _hash(key); end - # source://graphql//lib/graphql/language/lexer.rb#30 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:30 def advance; end - # source://graphql//lib/graphql/language/lexer.rb#173 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:173 def column_number; end - # source://graphql//lib/graphql/language/lexer.rb#117 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:117 def debug_token_value(token_name); end # @return [Boolean] # - # source://graphql//lib/graphql/language/lexer.rb#19 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:19 def finished?; end - # source://graphql//lib/graphql/language/lexer.rb#23 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:23 def freeze; end - # source://graphql//lib/graphql/language/lexer.rb#169 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:169 def line_number; end # Returns the value of attribute pos. # - # source://graphql//lib/graphql/language/lexer.rb#28 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:28 def pos; end # @raise [GraphQL::ParseError] # - # source://graphql//lib/graphql/language/lexer.rb#177 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:177 def raise_parse_error(message, line = T.unsafe(nil), col = T.unsafe(nil)); end - # source://graphql//lib/graphql/language/lexer.rb#146 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:146 def string_value; end - # source://graphql//lib/graphql/language/lexer.rb#111 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:111 def token_value; end # Returns the value of attribute tokens_count. # - # source://graphql//lib/graphql/language/lexer.rb#28 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:28 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#335 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:335 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#362 + # pkg:gem/graphql#lib/graphql/language/lexer.rb:362 def tokenize(string); end end end -# source://graphql//lib/graphql/language/lexer.rb#288 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:288 GraphQL::Language::Lexer::BLOCK_QUOTE = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#292 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:292 GraphQL::Language::Lexer::BLOCK_STRING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#308 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:308 module GraphQL::Language::Lexer::ByteFor; end -# source://graphql//lib/graphql/language/lexer.rb#312 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:312 GraphQL::Language::Lexer::ByteFor::ELLIPSIS = T.let(T.unsafe(nil), Integer) # identifier, *not* a keyword # -# source://graphql//lib/graphql/language/lexer.rb#313 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:313 GraphQL::Language::Lexer::ByteFor::IDENTIFIER = T.let(T.unsafe(nil), Integer) # identifier or keyword # -# source://graphql//lib/graphql/language/lexer.rb#310 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:310 GraphQL::Language::Lexer::ByteFor::NAME = T.let(T.unsafe(nil), Integer) # int or float # -# source://graphql//lib/graphql/language/lexer.rb#309 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:309 GraphQL::Language::Lexer::ByteFor::NUMBER = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/language/lexer.rb#314 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:314 GraphQL::Language::Lexer::ByteFor::PUNCTUATION = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/language/lexer.rb#311 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:311 GraphQL::Language::Lexer::ByteFor::STRING = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/language/lexer.rb#144 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:144 GraphQL::Language::Lexer::ESCAPED = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#289 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:289 GraphQL::Language::Lexer::ESCAPED_QUOTE = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#131 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:131 GraphQL::Language::Lexer::ESCAPES = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#132 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:132 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#306 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:306 GraphQL::Language::Lexer::FIRST_BYTES = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/language/lexer.rb#189 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:189 GraphQL::Language::Lexer::FLOAT_DECIMAL_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#190 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:190 GraphQL::Language::Lexer::FLOAT_EXP_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#284 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:284 GraphQL::Language::Lexer::FOUR_DIGIT_UNICODE = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#187 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:187 GraphQL::Language::Lexer::IDENTIFIER_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#181 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:181 GraphQL::Language::Lexer::IGNORE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#188 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:188 GraphQL::Language::Lexer::INT_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#194 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:194 GraphQL::Language::Lexer::KEYWORDS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/language/lexer.rb#217 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:217 GraphQL::Language::Lexer::KEYWORD_BY_TWO_BYTES = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/language/lexer.rb#216 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:216 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#192 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:192 GraphQL::Language::Lexer::NUMERIC_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#285 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:285 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#276 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:276 GraphQL::Language::Lexer::PUNCTUATION_NAME_FOR_BYTE = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/language/lexer.rb#258 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:258 module GraphQL::Language::Lexer::Punctuation; end -# source://graphql//lib/graphql/language/lexer.rb#271 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:271 GraphQL::Language::Lexer::Punctuation::AMP = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#269 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:269 GraphQL::Language::Lexer::Punctuation::BANG = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#265 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:265 GraphQL::Language::Lexer::Punctuation::COLON = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#267 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:267 GraphQL::Language::Lexer::Punctuation::DIR_SIGN = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#268 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:268 GraphQL::Language::Lexer::Punctuation::EQUALS = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#263 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:263 GraphQL::Language::Lexer::Punctuation::LBRACKET = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#259 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:259 GraphQL::Language::Lexer::Punctuation::LCURLY = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#261 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:261 GraphQL::Language::Lexer::Punctuation::LPAREN = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#270 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:270 GraphQL::Language::Lexer::Punctuation::PIPE = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#264 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:264 GraphQL::Language::Lexer::Punctuation::RBRACKET = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#260 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:260 GraphQL::Language::Lexer::Punctuation::RCURLY = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#262 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:262 GraphQL::Language::Lexer::Punctuation::RPAREN = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#266 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:266 GraphQL::Language::Lexer::Punctuation::VAR_SIGN = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#282 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:282 GraphQL::Language::Lexer::QUOTE = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/language/lexer.rb#291 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:291 GraphQL::Language::Lexer::QUOTED_STRING_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#290 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:290 GraphQL::Language::Lexer::STRING_CHAR = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#287 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:287 GraphQL::Language::Lexer::STRING_ESCAPE = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#283 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:283 GraphQL::Language::Lexer::UNICODE_DIGIT = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#286 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:286 GraphQL::Language::Lexer::UNICODE_ESCAPE = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#142 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:142 GraphQL::Language::Lexer::UTF_8 = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/lexer.rb#143 +# pkg:gem/graphql#lib/graphql/language/lexer.rb:143 GraphQL::Language::Lexer::VALID_STRING = T.let(T.unsafe(nil), Regexp) -# source://graphql//lib/graphql/language/nodes.rb#4 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:4 module GraphQL::Language::Nodes; end # {AbstractNode} is the base class for all nodes in a GraphQL AST. @@ -3429,40 +3429,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:60 def children; end - # source://graphql//lib/graphql/language/nodes.rb#76 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:76 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#40 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:40 def col; end - # source://graphql//lib/graphql/language/nodes.rb#44 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:44 def definition_line; end # TODO DRY with `replace_child` # - # source://graphql//lib/graphql/language/nodes.rb#126 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:126 def delete_child(previous_child); end # Returns the value of attribute filename. # - # source://graphql//lib/graphql/language/nodes.rb#34 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:34 def filename; end - # source://graphql//lib/graphql/language/nodes.rb#36 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:36 def line; end # This creates a copy of `self`, with `new_options` applied. @@ -3470,44 +3470,44 @@ class GraphQL::Language::Nodes::AbstractNode # @param new_options [Hash] # @return [AbstractNode] a shallow copy of `self` # - # source://graphql//lib/graphql/language/nodes.rb#99 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:99 def merge(new_options); end - # source://graphql//lib/graphql/language/nodes.rb#80 + # pkg:gem/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#104 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:104 def replace_child(previous_child, new_child); end # @return [Array] Scalar values attached to this node # - # source://graphql//lib/graphql/language/nodes.rb#65 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:65 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#84 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:84 def to_query_string(printer: T.unsafe(nil)); end protected - # source://graphql//lib/graphql/language/nodes.rb#140 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:140 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 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:70 def initialize_copy(other); end class << self - # source://graphql//lib/graphql/language/nodes.rb#174 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:174 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#151 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:151 def inherited(child_class); end private @@ -3518,205 +3518,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#185 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:185 def children_methods(children_of_type); end - # source://graphql//lib/graphql/language/nodes.rb#284 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:284 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#252 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:252 def scalar_methods(*method_names); end end end -# source://graphql//lib/graphql/language/nodes.rb#14 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:14 module GraphQL::Language::Nodes::AbstractNode::DefinitionNode - # source://graphql//lib/graphql/language/nodes.rb#19 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:17 def definition_line; end - # source://graphql//lib/graphql/language/nodes.rb#24 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:24 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#28 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:28 def marshal_load(values); end end -# source://graphql//lib/graphql/language/nodes.rb#57 +# pkg:gem/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#369 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:369 class GraphQL::Language::Nodes::Argument < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#379 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:379 def children; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end # @return [String] the key for this argument # - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end # @return [String, Float, Integer, Boolean, Array, InputObject, VariableIdentifier] The value passed for this key # - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def value; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, value, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#384 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:384 class GraphQL::Language::Nodes::Directive < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, arguments, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#392 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:392 class GraphQL::Language::Nodes::DirectiveDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#393 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:393 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def locations; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_location(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def repeatable; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, repeatable, description, arguments, locations, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#389 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:389 class GraphQL::Language::Nodes::DirectiveLocation < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end @@ -3737,1072 +3737,1072 @@ end # @example Deriving a document by parsing a string # document = GraphQL.parse(query_string) # -# source://graphql//lib/graphql/language/nodes.rb#616 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:616 class GraphQL::Language::Nodes::Document < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end # @return [Array] top-level GraphQL units: operations or fragments # - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def definitions; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#622 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:622 def slice_definition(name); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, definitions, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # An enum value. The string is available as {#name}. # -# source://graphql//lib/graphql/language/nodes.rb#403 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:403 class GraphQL::Language::Nodes::Enum < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#765 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:765 class GraphQL::Language::Nodes::EnumTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#766 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:766 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#766 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:766 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_value(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def values; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, description, directives, values, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#775 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:775 class GraphQL::Language::Nodes::EnumTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_value(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def values; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, directives, values, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#756 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:756 class GraphQL::Language::Nodes::EnumValueDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#757 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:757 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#757 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:757 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, description, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # A single selection in a GraphQL query. # -# source://graphql//lib/graphql/language/nodes.rb#411 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:411 class GraphQL::Language::Nodes::Field < ::GraphQL::Language::Nodes::AbstractNode # @return [Field] a new instance of Field # - # source://graphql//lib/graphql/language/nodes.rb#412 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:412 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#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def alias; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#430 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:430 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#434 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:434 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def selections; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#426 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:426 def from_a(filename, line, col, field_alias, name, arguments, directives, selections); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#678 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:678 class GraphQL::Language::Nodes::FieldDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#679 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:679 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#679 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:679 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end # this is so that `children_method_name` of `InputValueDefinition` works properly # with `#replace_child` # - # source://graphql//lib/graphql/language/nodes.rb#689 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:689 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#690 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:690 def merge(new_options); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_argument(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def type; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, type, description, arguments, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # A reusable fragment, defined at document-level. # -# source://graphql//lib/graphql/language/nodes.rb#450 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:450 class GraphQL::Language::Nodes::FragmentDefinition < ::GraphQL::Language::Nodes::AbstractNode # @return [FragmentDefinition] a new instance of FragmentDefinition # - # source://graphql//lib/graphql/language/nodes.rb#451 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:451 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#467 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:467 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#471 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:471 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def selections; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def type; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#463 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:463 def from_a(filename, line, col, name, type, directives, selections); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # Application of a named fragment in a selection # -# source://graphql//lib/graphql/language/nodes.rb#485 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:485 class GraphQL::Language::Nodes::FragmentSpread < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # An unnamed fragment, defined directly in the query with `... { }` # -# source://graphql//lib/graphql/language/nodes.rb#496 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:496 class GraphQL::Language::Nodes::InlineFragment < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def selections; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def type; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, type, directives, selections, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 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#510 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:510 class GraphQL::Language::Nodes::InputObject < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def arguments; end - # source://graphql//lib/graphql/language/nodes.rb#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_argument(**node_opts); end # @return [Hash] Recursively turn this input object into a Ruby Hash # - # source://graphql//lib/graphql/language/nodes.rb#518 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:518 def to_h(options = T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end private - # source://graphql//lib/graphql/language/nodes.rb#530 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:530 def serialize_value_for_hash(value); end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, arguments, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#784 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:784 class GraphQL::Language::Nodes::InputObjectTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#785 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:785 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#785 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:785 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, description, directives, fields, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#794 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:794 class GraphQL::Language::Nodes::InputObjectTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, directives, fields, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#669 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:669 class GraphQL::Language::Nodes::InputValueDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#670 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:670 def comment; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def default_value; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#670 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:670 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def type; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, type, default_value, description, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#717 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:717 class GraphQL::Language::Nodes::InterfaceTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#718 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:718 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#718 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:718 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_interface(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, description, interfaces, directives, fields, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#728 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:728 class GraphQL::Language::Nodes::InterfaceTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_interface(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, interfaces, directives, fields, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # A list type definition, denoted with `[...]` (used for variable type definitions) # -# source://graphql//lib/graphql/language/nodes.rb#549 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:549 class GraphQL::Language::Nodes::ListType < ::GraphQL::Language::Nodes::WrapperType - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#5 +# pkg:gem/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#363 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:363 class GraphQL::Language::Nodes::NameOnlyNode < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 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#553 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:553 class GraphQL::Language::Nodes::NonNullType < ::GraphQL::Language::Nodes::WrapperType - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # A null value literal. # -# source://graphql//lib/graphql/language/nodes.rb#407 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:407 class GraphQL::Language::Nodes::NullValue < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#698 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:698 class GraphQL::Language::Nodes::ObjectTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#699 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:699 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#699 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:699 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, interfaces, description, directives, fields, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#708 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:708 class GraphQL::Language::Nodes::ObjectTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def fields; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def interfaces; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_field(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, interfaces, directives, fields, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end @@ -4811,665 +4811,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#575 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:575 class GraphQL::Language::Nodes::OperationDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#220 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:220 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_selection(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_variable(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end # @return [String, nil] The root type for this operation, or `nil` for implicit `"query"` # - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def operation_type; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end # @return [Array] Root-level fields on this operation # - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def selections; end # @return [Array] Variable $definitions for this operation # - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def variables; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, operation_type, name, variables, directives, selections, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#652 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:652 class GraphQL::Language::Nodes::ScalarTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#653 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:653 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#653 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:653 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, description, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#661 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:661 class GraphQL::Language::Nodes::ScalarTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#636 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:636 class GraphQL::Language::Nodes::SchemaDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def mutation; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def query; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def subscription; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, query, mutation, subscription, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#644 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:644 class GraphQL::Language::Nodes::SchemaExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def mutation; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def query; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def subscription; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, query, mutation, subscription, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # A type name, used for variable definitions # -# source://graphql//lib/graphql/language/nodes.rb#628 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:628 class GraphQL::Language::Nodes::TypeName < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#738 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:738 class GraphQL::Language::Nodes::UnionTypeDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end # Returns the value of attribute comment. # - # source://graphql//lib/graphql/language/nodes.rb#739 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:739 def comment; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/language/nodes.rb#739 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:739 def description; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end # Returns the value of attribute types. # - # source://graphql//lib/graphql/language/nodes.rb#739 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:739 def types; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, types, description, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/nodes.rb#747 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:747 class GraphQL::Language::Nodes::UnionTypeExtension < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 def children; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end # Returns the value of attribute types. # - # source://graphql//lib/graphql/language/nodes.rb#748 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:748 def types; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, types, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # An operation-level query variable # -# source://graphql//lib/graphql/language/nodes.rb#557 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:557 class GraphQL::Language::Nodes::VariableDefinition < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#216 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:216 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#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def default_value; end - # source://graphql//lib/graphql/language/nodes.rb#198 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:198 def directives; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#205 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:205 def merge_directive(**node_opts); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def name; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end # @return [TypeName, NonNullType, ListType] The expected type of this value # - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def type; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, name, type, default_value, directives, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # Usage of a variable in a query. Name does _not_ include `$`. # -# source://graphql//lib/graphql/language/nodes.rb#632 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:632 class GraphQL::Language::Nodes::VariableIdentifier < ::GraphQL::Language::Nodes::NameOnlyNode - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end # Base class for non-null type names and list type names # -# source://graphql//lib/graphql/language/nodes.rb#357 +# pkg:gem/graphql#lib/graphql/language/nodes.rb:357 class GraphQL::Language::Nodes::WrapperType < ::GraphQL::Language::Nodes::AbstractNode - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 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#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_dump; end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def marshal_load(values); end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def of_type; end - # source://graphql//lib/graphql/language/nodes.rb#263 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:263 def scalars; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end class << self - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name; end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def children_method_name=(_arg0); end - # source://graphql//lib/graphql/language/nodes.rb#324 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:324 def from_a(filename, line, col, of_type, comment: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/nodes.rb#158 + # pkg:gem/graphql#lib/graphql/language/nodes.rb:158 def visit_method; end end end -# source://graphql//lib/graphql/language/parser.rb#9 +# pkg:gem/graphql#lib/graphql/language/parser.rb:9 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#31 + # pkg:gem/graphql#lib/graphql/language/parser.rb:31 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#67 + # pkg:gem/graphql#lib/graphql/language/parser.rb:67 def column_at(pos); end - # source://graphql//lib/graphql/language/parser.rb#58 + # pkg:gem/graphql#lib/graphql/language/parser.rb:58 def line_at(pos); end - # source://graphql//lib/graphql/language/parser.rb#43 + # pkg:gem/graphql#lib/graphql/language/parser.rb:43 def parse; end - # source://graphql//lib/graphql/language/parser.rb#53 + # pkg:gem/graphql#lib/graphql/language/parser.rb:53 def tokens_count; end private - # source://graphql//lib/graphql/language/parser.rb#97 + # pkg:gem/graphql#lib/graphql/language/parser.rb:97 def advance_token; end # @return [Boolean] # - # source://graphql//lib/graphql/language/parser.rb#803 + # pkg:gem/graphql#lib/graphql/language/parser.rb:803 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#842 + # pkg:gem/graphql#lib/graphql/language/parser.rb:842 def debug_token_value; end - # source://graphql//lib/graphql/language/parser.rb#120 + # pkg:gem/graphql#lib/graphql/language/parser.rb:120 def definition; end - # source://graphql//lib/graphql/language/parser.rb#105 + # pkg:gem/graphql#lib/graphql/language/parser.rb:105 def document; end - # source://graphql//lib/graphql/language/parser.rb#814 + # pkg:gem/graphql#lib/graphql/language/parser.rb:814 def expect_one_of(token_names); end - # source://graphql//lib/graphql/language/parser.rb#807 + # pkg:gem/graphql#lib/graphql/language/parser.rb:807 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#831 + # pkg:gem/graphql#lib/graphql/language/parser.rb:831 def expect_token_value(tok); end # @return [Array] Positions of each line break in the original string # - # source://graphql//lib/graphql/language/parser.rb#80 + # pkg:gem/graphql#lib/graphql/language/parser.rb:80 def lines_at; end - # source://graphql//lib/graphql/language/parser.rb#508 + # pkg:gem/graphql#lib/graphql/language/parser.rb:508 def list_type; end - # source://graphql//lib/graphql/language/parser.rb#460 + # pkg:gem/graphql#lib/graphql/language/parser.rb:460 def parse_argument_definitions; end - # source://graphql//lib/graphql/language/parser.rb#681 + # pkg:gem/graphql#lib/graphql/language/parser.rb:681 def parse_arguments; end - # source://graphql//lib/graphql/language/parser.rb#664 + # pkg:gem/graphql#lib/graphql/language/parser.rb:664 def parse_directives; end - # source://graphql//lib/graphql/language/parser.rb#385 + # pkg:gem/graphql#lib/graphql/language/parser.rb:385 def parse_enum_value_definitions; end - # source://graphql//lib/graphql/language/parser.rb#441 + # pkg:gem/graphql#lib/graphql/language/parser.rb:441 def parse_field_definitions; end - # source://graphql//lib/graphql/language/parser.rb#426 + # pkg:gem/graphql#lib/graphql/language/parser.rb:426 def parse_implements; end - # source://graphql//lib/graphql/language/parser.rb#371 + # pkg:gem/graphql#lib/graphql/language/parser.rb:371 def parse_input_object_field_definitions; end - # source://graphql//lib/graphql/language/parser.rb#474 + # pkg:gem/graphql#lib/graphql/language/parser.rb:474 def parse_input_value_definition; end - # source://graphql//lib/graphql/language/parser.rb#586 + # pkg:gem/graphql#lib/graphql/language/parser.rb:586 def parse_name; end - # source://graphql//lib/graphql/language/parser.rb#652 + # pkg:gem/graphql#lib/graphql/language/parser.rb:652 def parse_name_without_on; end - # source://graphql//lib/graphql/language/parser.rb#521 + # pkg:gem/graphql#lib/graphql/language/parser.rb:521 def parse_operation_type; end - # source://graphql//lib/graphql/language/parser.rb#660 + # pkg:gem/graphql#lib/graphql/language/parser.rb:660 def parse_type_name; end - # source://graphql//lib/graphql/language/parser.rb#409 + # pkg:gem/graphql#lib/graphql/language/parser.rb:409 def parse_union_members; end - # source://graphql//lib/graphql/language/parser.rb#101 + # pkg:gem/graphql#lib/graphql/language/parser.rb:101 def pos; end # @raise [GraphQL::ParseError] # - # source://graphql//lib/graphql/language/parser.rb#818 + # pkg:gem/graphql#lib/graphql/language/parser.rb:818 def raise_parse_error(message); end - # source://graphql//lib/graphql/language/parser.rb#535 + # pkg:gem/graphql#lib/graphql/language/parser.rb:535 def selection_set; end - # source://graphql//lib/graphql/language/parser.rb#701 + # pkg:gem/graphql#lib/graphql/language/parser.rb:701 def string_value; end # Returns the value of attribute token_name. # - # source://graphql//lib/graphql/language/parser.rb#95 + # pkg:gem/graphql#lib/graphql/language/parser.rb:95 def token_name; end - # source://graphql//lib/graphql/language/parser.rb#491 + # pkg:gem/graphql#lib/graphql/language/parser.rb:491 def type; end - # source://graphql//lib/graphql/language/parser.rb#707 + # pkg:gem/graphql#lib/graphql/language/parser.rb:707 def value; end class << self # Returns the value of attribute cache. # - # source://graphql//lib/graphql/language/parser.rb#14 + # pkg:gem/graphql#lib/graphql/language/parser.rb:14 def cache; end # Sets the attribute cache # # @param value the value to set the attribute cache to. # - # source://graphql//lib/graphql/language/parser.rb#14 + # pkg:gem/graphql#lib/graphql/language/parser.rb:14 def cache=(_arg0); end - # source://graphql//lib/graphql/language/parser.rb#16 + # pkg:gem/graphql#lib/graphql/language/parser.rb:16 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#20 + # pkg:gem/graphql#lib/graphql/language/parser.rb:20 def parse_file(filename, trace: T.unsafe(nil)); end end end -# source://graphql//lib/graphql/language/parser.rb#845 +# pkg:gem/graphql#lib/graphql/language/parser.rb:845 class GraphQL::Language::Parser::SchemaParser < ::GraphQL::Language::Parser # @return [SchemaParser] a new instance of SchemaParser # - # source://graphql//lib/graphql/language/parser.rb#846 + # pkg:gem/graphql#lib/graphql/language/parser.rb:846 def initialize(*args, **kwargs); end end -# source://graphql//lib/graphql/language/printer.rb#4 +# pkg:gem/graphql#lib/graphql/language/printer.rb:4 class GraphQL::Language::Printer # Turn an arbitrary AST node back into a string. # @@ -5492,144 +5492,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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:76 def print_argument(argument); end - # source://graphql//lib/graphql/language/printer.rb#296 + # pkg:gem/graphql#lib/graphql/language/printer.rb:296 def print_arguments(arguments, indent: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/printer.rb#430 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:437 def print_description_and_comment(node); end - # source://graphql//lib/graphql/language/printer.rb#91 + # pkg:gem/graphql#lib/graphql/language/printer.rb:91 def print_directive(directive); end - # source://graphql//lib/graphql/language/printer.rb#399 + # pkg:gem/graphql#lib/graphql/language/printer.rb:399 def print_directive_definition(directive); end - # source://graphql//lib/graphql/language/printer.rb#458 + # pkg:gem/graphql#lib/graphql/language/printer.rb:458 def print_directives(directives); end - # source://graphql//lib/graphql/language/printer.rb#69 + # pkg:gem/graphql#lib/graphql/language/printer.rb:69 def print_document(document); end - # source://graphql//lib/graphql/language/printer.rb#105 + # pkg:gem/graphql#lib/graphql/language/printer.rb:105 def print_enum(enum); end - # source://graphql//lib/graphql/language/printer.rb#358 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:374 def print_enum_value_definition(enum_value); end - # source://graphql//lib/graphql/language/printer.rb#113 + # pkg:gem/graphql#lib/graphql/language/printer.rb:113 def print_field(field, indent: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/printer.rb#321 + # pkg:gem/graphql#lib/graphql/language/printer.rb:321 def print_field_definition(field); end - # source://graphql//lib/graphql/language/printer.rb#442 + # pkg:gem/graphql#lib/graphql/language/printer.rb:442 def print_field_definitions(fields); end - # source://graphql//lib/graphql/language/printer.rb#132 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:273 def print_implements(type); end - # source://graphql//lib/graphql/language/printer.rb#155 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:82 def print_input_object(input_object); end - # source://graphql//lib/graphql/language/printer.rb#381 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:285 def print_input_value_definition(input_value); end - # source://graphql//lib/graphql/language/printer.rb#331 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:166 def print_list_type(list_type); end - # source://graphql//lib/graphql/language/printer.rb#479 + # pkg:gem/graphql#lib/graphql/language/printer.rb:479 def print_node(node, indent: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/printer.rb#172 + # pkg:gem/graphql#lib/graphql/language/printer.rb:172 def print_non_null_type(non_null_type); end - # source://graphql//lib/graphql/language/printer.rb#109 + # pkg:gem/graphql#lib/graphql/language/printer.rb:109 def print_null_value; end - # source://graphql//lib/graphql/language/printer.rb#264 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:467 def print_selections(selections, indent: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/printer.rb#65 + # pkg:gem/graphql#lib/graphql/language/printer.rb:65 def print_string(str); end - # source://graphql//lib/graphql/language/printer.rb#198 + # pkg:gem/graphql#lib/graphql/language/printer.rb:198 def print_type_name(type_name); end - # source://graphql//lib/graphql/language/printer.rb#340 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:202 def print_variable_definition(variable_definition); end - # source://graphql//lib/graphql/language/printer.rb#217 + # pkg:gem/graphql#lib/graphql/language/printer.rb:217 def print_variable_identifier(variable_identifier); end end -# source://graphql//lib/graphql/language/printer.rb#5 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/printer.rb:12 def initialize(truncate_size: T.unsafe(nil)); end - # source://graphql//lib/graphql/language/printer.rb#17 + # pkg:gem/graphql#lib/graphql/language/printer.rb:17 def append(other); end - # source://graphql//lib/graphql/language/printer.rb#26 + # pkg:gem/graphql#lib/graphql/language/printer.rb:26 def to_string; end end -# source://graphql//lib/graphql/language/printer.rb#10 +# pkg:gem/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 +# pkg:gem/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 @@ -5646,43 +5646,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/sanitized_printer.rb:75 def print_argument(argument); end - # source://graphql//lib/graphql/language/sanitized_printer.rb#144 + # pkg:gem/graphql#lib/graphql/language/sanitized_printer.rb:144 def print_directive(directive); end - # source://graphql//lib/graphql/language/sanitized_printer.rb#115 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -5690,184 +5690,184 @@ class GraphQL::Language::SanitizedPrinter < ::GraphQL::Language::Printer # # @return [Boolean] # - # source://graphql//lib/graphql/language/sanitized_printer.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/sanitized_printer.rb:217 def query; end - # source://graphql//lib/graphql/language/sanitized_printer.rb#172 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:7 def initialize(document); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_argument(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#76 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:76 def on_argument_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_directive(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_directive_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_directive_location(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_document(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#25 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:25 def on_document_children(document_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_enum(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_enum_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_enum_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_enum_value_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_field(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#32 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:32 def on_field_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_field_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_fragment_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#61 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:61 def on_fragment_definition_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_fragment_spread(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_inline_fragment(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#66 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:66 def on_inline_fragment_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_input_object(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_input_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_input_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_input_value_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_interface_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_interface_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_list_type(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_non_null_type(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_null_value(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_operation_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#68 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:68 def on_operation_definition_children(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_scalar_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_scalar_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_schema_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_schema_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_type_name(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_union_type_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_union_type_extension(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_variable_definition(node, parent); end - # source://graphql//lib/graphql/language/static_visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:101 def on_variable_identifier(node, parent); end # Visit `document` and all children # # @return [void] # - # source://graphql//lib/graphql/language/static_visitor.rb#13 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:13 def visit; end - # source://graphql//lib/graphql/language/static_visitor.rb#40 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:40 def visit_directives(new_node); end - # source://graphql//lib/graphql/language/static_visitor.rb#46 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:46 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#96 + # pkg:gem/graphql#lib/graphql/language/static_visitor.rb:96 def make_visit_methods(ast_node_class); end end end @@ -5903,268 +5903,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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:42 def initialize(document); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_argument(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#142 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:142 def on_argument_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_argument_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_directive(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_directive_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_directive_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_directive_location(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_directive_location_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_directive_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_document(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#64 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:64 def on_document_children(document_node); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_document_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_value_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_value_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_enum_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_field(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#77 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:77 def on_field_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_field_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_field_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_field_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_fragment_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#121 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:121 def on_fragment_definition_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_fragment_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_fragment_spread(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_fragment_spread_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_inline_fragment(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#127 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:127 def on_inline_fragment_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_inline_fragment_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_object(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_object_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_object_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_object_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_value_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_input_value_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_interface_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_interface_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_interface_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_interface_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_list_type(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_list_type_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_non_null_type(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_non_null_type_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_null_value(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_null_value_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_object_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_object_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_object_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_object_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_operation_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#129 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:129 def on_operation_definition_children(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_operation_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_scalar_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_scalar_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_scalar_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_scalar_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_schema_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_schema_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_schema_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_schema_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_type_name(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_type_name_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_union_type_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_union_type_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_union_type_extension(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_union_type_extension_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_variable_definition(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_variable_definition_with_modifications(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 def on_variable_identifier(node, parent); end - # source://graphql//lib/graphql/language/visitor.rb#172 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:172 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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:52 def visit; end - # source://graphql//lib/graphql/language/visitor.rb#90 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:90 def visit_directives(new_node); end - # source://graphql//lib/graphql/language/visitor.rb#101 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:101 def visit_selections(new_node); end private - # source://graphql//lib/graphql/language/visitor.rb#265 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:265 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#167 + # pkg:gem/graphql#lib/graphql/language/visitor.rb:167 def make_visit_methods(ast_node_class); end end end @@ -6172,10 +6172,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 +# pkg:gem/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 +# pkg:gem/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`, @@ -6183,106 +6183,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/load_application_object_failed_error.rb:14 def object; end end -# source://graphql//lib/graphql.rb#75 +# pkg:gem/graphql#lib/graphql.rb:75 GraphQL::NOT_CONFIGURED = T.let(T.unsafe(nil), Object) -# source://graphql//lib/graphql/name_validator.rb#3 +# pkg:gem/graphql#lib/graphql/name_validator.rb:3 class GraphQL::NameValidator class << self # @raise [GraphQL::InvalidNameError] # - # source://graphql//lib/graphql/name_validator.rb#6 + # pkg:gem/graphql#lib/graphql/name_validator.rb:6 def validate!(name); end end end -# source://graphql//lib/graphql/name_validator.rb#4 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/pagination/array_connection.rb:6 class GraphQL::Pagination::ArrayConnection < ::GraphQL::Pagination::Connection - # source://graphql//lib/graphql/pagination/array_connection.rb#22 + # pkg:gem/graphql#lib/graphql/pagination/array_connection.rb:22 def cursor_for(item); end - # source://graphql//lib/graphql/pagination/array_connection.rb#17 + # pkg:gem/graphql#lib/graphql/pagination/array_connection.rb:17 def has_next_page; end - # source://graphql//lib/graphql/pagination/array_connection.rb#12 + # pkg:gem/graphql#lib/graphql/pagination/array_connection.rb:12 def has_previous_page; end - # source://graphql//lib/graphql/pagination/array_connection.rb#7 + # pkg:gem/graphql#lib/graphql/pagination/array_connection.rb:7 def nodes; end private - # source://graphql//lib/graphql/pagination/array_connection.rb#29 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/array_connection.rb:35 def load_nodes; end end @@ -6296,7 +6296,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 +# pkg:gem/graphql#lib/graphql/pagination/connection.rb:14 class GraphQL::Pagination::Connection # @param after [String, nil] A cursor for pagination, if the client provided one # @param arguments [Hash] The arguments to the field that returned the collection wrapped by this connection @@ -6310,55 +6310,55 @@ class GraphQL::Pagination::Connection # @param parent [Object] The object this collection belongs to # @return [Connection] a new instance of Connection # - # source://graphql//lib/graphql/pagination/connection.rb#69 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:36 def before_value=(_arg0); end # @return [GraphQL::Query::Context] # - # source://graphql//lib/graphql/pagination/connection.rb#22 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:22 def context; end - # source://graphql//lib/graphql/pagination/connection.rb#24 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:24 def context=(new_ctx); end # Return a cursor for this item. @@ -6367,50 +6367,50 @@ class GraphQL::Pagination::Connection # @raise [PaginationImplementationMissingError] # @return [String] # - # source://graphql//lib/graphql/pagination/connection.rb#218 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:218 def cursor_for(item); end - # source://graphql//lib/graphql/pagination/connection.rb#123 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:123 def default_page_size; end - # source://graphql//lib/graphql/pagination/connection.rb#118 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:177 def field=(_arg0); end # @return [Integer, nil] A clamped `first` value. @@ -6420,100 +6420,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:36 def first_value=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/pagination/connection.rb#131 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:131 def has_default_page_size_override?; end # @return [Boolean] # - # source://graphql//lib/graphql/pagination/connection.rb#114 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:36 def last_value=(_arg0); end - # source://graphql//lib/graphql/pagination/connection.rb#106 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:106 def max_page_size; end - # source://graphql//lib/graphql/pagination/connection.rb#101 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:33 def parent=(_arg0); end # This is called by `Relay::RangeAdd` -- it can be overridden @@ -6522,66 +6522,66 @@ class GraphQL::Pagination::Connection # @param item [Object] An item newly added to `items` # @return [Edge] # - # source://graphql//lib/graphql/pagination/connection.rb#158 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:206 def start_cursor; end # @return [Boolean] # - # source://graphql//lib/graphql/pagination/connection.rb#97 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:97 def was_authorized_by_scope_items?; end private - # source://graphql//lib/graphql/pagination/connection.rb#248 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:248 def decode(cursor); end - # source://graphql//lib/graphql/pagination/connection.rb#224 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:224 def detect_was_authorized_by_scope_items; end - # source://graphql//lib/graphql/pagination/connection.rb#252 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:261 def initialize(node, connection); end - # source://graphql//lib/graphql/pagination/connection.rb#270 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:270 def cursor; end # Returns the value of attribute node. # - # source://graphql//lib/graphql/pagination/connection.rb#259 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:259 def node; end - # source://graphql//lib/graphql/pagination/connection.rb#266 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:266 def parent; end # @return [Boolean] # - # source://graphql//lib/graphql/pagination/connection.rb#274 + # pkg:gem/graphql#lib/graphql/pagination/connection.rb:274 def was_authorized_by_scope_items?; end end -# source://graphql//lib/graphql/pagination/connection.rb#15 +# pkg:gem/graphql#lib/graphql/pagination/connection.rb:15 class GraphQL::Pagination::Connection::PaginationImplementationMissingError < ::GraphQL::Error; end # A schema-level connection wrapper manager. @@ -6598,128 +6598,128 @@ class GraphQL::Pagination::Connection::PaginationImplementationMissingError < :: # end # @see {Schema.connections} # -# source://graphql//lib/graphql/pagination/connections.rb#20 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connections.rb:24 def initialize(schema:); end - # source://graphql//lib/graphql/pagination/connections.rb#30 + # pkg:gem/graphql#lib/graphql/pagination/connections.rb:30 def add(nodes_class, implementation); end - # source://graphql//lib/graphql/pagination/connections.rb#38 + # pkg:gem/graphql#lib/graphql/pagination/connections.rb:38 def all_wrappers; end - # source://graphql//lib/graphql/pagination/connections.rb#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connections.rb:61 def wrap(field, parent, items, arguments, context); end - # source://graphql//lib/graphql/pagination/connections.rb#48 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/connections.rb:99 def wrappers; end private - # source://graphql//lib/graphql/pagination/connections.rb#103 + # pkg:gem/graphql#lib/graphql/pagination/connections.rb:103 def add_default; end end -# source://graphql//lib/graphql/pagination/connections.rb#21 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/mongoid_relation_connection.rb:19 def null_relation(relation); end - # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#15 + # pkg:gem/graphql#lib/graphql/pagination/mongoid_relation_connection.rb:15 def relation_count(relation); end - # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#11 + # pkg:gem/graphql#lib/graphql/pagination/mongoid_relation_connection.rb:11 def relation_limit(relation); end - # source://graphql//lib/graphql/pagination/mongoid_relation_connection.rb#7 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:7 class GraphQL::Pagination::RelationConnection < ::GraphQL::Pagination::Connection - # source://graphql//lib/graphql/pagination/relation_connection.rb#47 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:47 def cursor_for(item); end - # source://graphql//lib/graphql/pagination/relation_connection.rb#30 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:30 def has_next_page; end - # source://graphql//lib/graphql/pagination/relation_connection.rb#13 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:13 def has_previous_page; end - # source://graphql//lib/graphql/pagination/relation_connection.rb#8 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:8 def nodes; end private # @return [Integer, nil] # - # source://graphql//lib/graphql/pagination/relation_connection.rb#174 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:174 def after_offset; end # @return [Integer, nil] # - # source://graphql//lib/graphql/pagination/relation_connection.rb#169 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:169 def before_offset; end - # source://graphql//lib/graphql/pagination/relation_connection.rb#115 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:84 def null_relation(relation); end # @return [Integer] # - # source://graphql//lib/graphql/pagination/relation_connection.rb#89 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/relation_connection.rb:78 def relation_count(relation); end # @param _initial_offset [Integer] The number of items already excluded from the relation @@ -6727,88 +6727,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/pagination/sequel_dataset_connection.rb:23 def null_relation(relation); end - # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#18 + # pkg:gem/graphql#lib/graphql/pagination/sequel_dataset_connection.rb:18 def relation_count(relation); end - # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#14 + # pkg:gem/graphql#lib/graphql/pagination/sequel_dataset_connection.rb:14 def relation_limit(relation); end - # source://graphql//lib/graphql/pagination/sequel_dataset_connection.rb#10 + # pkg:gem/graphql#lib/graphql/pagination/sequel_dataset_connection.rb:10 def relation_offset(relation); end end -# source://graphql//lib/graphql/parse_error.rb#3 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/parse_error.rb:4 def col; end # Returns the value of attribute line. # - # source://graphql//lib/graphql/parse_error.rb#4 + # pkg:gem/graphql#lib/graphql/parse_error.rb:4 def line; end # Returns the value of attribute query. # - # source://graphql//lib/graphql/parse_error.rb#4 + # pkg:gem/graphql#lib/graphql/parse_error.rb:4 def query; end - # source://graphql//lib/graphql/parse_error.rb#16 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/query.rb:5 class GraphQL::Query include ::GraphQL::Tracing::Traceable include ::GraphQL::Query::Runnable @@ -6828,45 +6828,45 @@ class GraphQL::Query # @param visibility_profile [Symbol] Another way to assign `context[:visibility_profile]` # @return [Query] a new instance of Query # - # source://graphql//lib/graphql/query.rb#136 + # pkg:gem/graphql#lib/graphql/query.rb:136 def initialize(schema, query_string = T.unsafe(nil), query: T.unsafe(nil), document: T.unsafe(nil), context: T.unsafe(nil), variables: T.unsafe(nil), multiplex: 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 # Returns the value of attribute analysis_errors. # - # source://graphql//lib/graphql/query.rb#362 + # pkg:gem/graphql#lib/graphql/query.rb:362 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#362 + # pkg:gem/graphql#lib/graphql/query.rb:362 def analysis_errors=(_arg0); end - # source://graphql//lib/graphql/query.rb#359 - def analyzers(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query.rb:359 + def analyzers(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query.rb#359 - def ast_analyzers(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query.rb:359 + def ast_analyzers(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute context. # - # source://graphql//lib/graphql/query.rb#65 + # pkg:gem/graphql#lib/graphql/query.rb:65 def context; end # @return [GraphQL::Tracing::Trace] # - # source://graphql//lib/graphql/query.rb#224 + # pkg:gem/graphql#lib/graphql/query.rb:224 def current_trace; end # @return [GraphQL::Language::Nodes::Document] # - # source://graphql//lib/graphql/query.rb#102 + # pkg:gem/graphql#lib/graphql/query.rb:102 def document; end # @return [Boolean] # - # source://graphql//lib/graphql/query.rb#286 + # pkg:gem/graphql#lib/graphql/query.rb:286 def executed?; end # This contains a few components: @@ -6882,97 +6882,97 @@ class GraphQL::Query # @see operation_fingerprint # @see variables_fingerprint # - # source://graphql//lib/graphql/query.rb#341 + # pkg:gem/graphql#lib/graphql/query.rb:341 def fingerprint; end - # source://graphql//lib/graphql/query.rb#257 + # pkg:gem/graphql#lib/graphql/query.rb:257 def fragments; end - # source://graphql//lib/graphql/query.rb#375 + # pkg:gem/graphql#lib/graphql/query.rb:375 def get_field(owner, field_name); end - # source://graphql//lib/graphql/query.rb#371 + # pkg:gem/graphql#lib/graphql/query.rb:371 def get_type(type_name); end - # source://graphql//lib/graphql/query.rb#111 + # pkg:gem/graphql#lib/graphql/query.rb:111 def inspect; end # Returns the value of attribute logger. # - # source://graphql//lib/graphql/query.rb#432 + # pkg:gem/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#234 + # pkg:gem/graphql#lib/graphql/query.rb:234 def lookahead; end - # source://graphql//lib/graphql/query.rb#359 - def max_complexity(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query.rb:359 + def max_complexity(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query.rb#359 - def max_depth(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query.rb:359 + def max_depth(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute multiplex. # - # source://graphql//lib/graphql/query.rb#221 + # pkg:gem/graphql#lib/graphql/query.rb:221 def multiplex; end # Sets the attribute multiplex # # @param value the value to set the attribute multiplex to. # - # source://graphql//lib/graphql/query.rb#221 + # pkg:gem/graphql#lib/graphql/query.rb:221 def multiplex=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/query.rb#420 + # pkg:gem/graphql#lib/graphql/query.rb:420 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#346 + # pkg:gem/graphql#lib/graphql/query.rb:346 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#71 + # pkg:gem/graphql#lib/graphql/query.rb:71 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#71 + # pkg:gem/graphql#lib/graphql/query.rb:71 def operation_name=(_arg0); end - # source://graphql//lib/graphql/query.rb#261 + # pkg:gem/graphql#lib/graphql/query.rb:261 def operations; end - # source://graphql//lib/graphql/query.rb#379 + # pkg:gem/graphql#lib/graphql/query.rb:379 def possible_types(type); end # Returns the value of attribute provided_variables. # - # source://graphql//lib/graphql/query.rb#65 + # pkg:gem/graphql#lib/graphql/query.rb:65 def provided_variables; end # @return [Boolean] # - # source://graphql//lib/graphql/query.rb#424 + # pkg:gem/graphql#lib/graphql/query.rb:424 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#214 + # pkg:gem/graphql#lib/graphql/query.rb:214 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#99 + # pkg:gem/graphql#lib/graphql/query.rb:99 def query_string=(_arg0); end # @param abstract_type [GraphQL::UnionType, GraphQL::InterfaceType] @@ -6980,40 +6980,40 @@ 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#408 + # pkg:gem/graphql#lib/graphql/query.rb:408 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#279 + # pkg:gem/graphql#lib/graphql/query.rb:279 def result; end # @api private # - # source://graphql//lib/graphql/query.rb#255 + # pkg:gem/graphql#lib/graphql/query.rb:255 def result_values; end # @api private # - # source://graphql//lib/graphql/query.rb#245 + # pkg:gem/graphql#lib/graphql/query.rb:245 def result_values=(result_hash); end - # source://graphql//lib/graphql/query.rb#396 + # pkg:gem/graphql#lib/graphql/query.rb:396 def root_type; end - # source://graphql//lib/graphql/query.rb#383 + # pkg:gem/graphql#lib/graphql/query.rb:383 def root_type_for_operation(op_type); end # The value for root types # - # source://graphql//lib/graphql/query.rb#68 + # pkg:gem/graphql#lib/graphql/query.rb:68 def root_value; end # The value for root types # - # source://graphql//lib/graphql/query.rb#68 + # pkg:gem/graphql#lib/graphql/query.rb:68 def root_value=(_arg0); end # Run subtree partials of this query and return their results. @@ -7025,7 +7025,7 @@ class GraphQL::Query # @param partials_hashes [Array Object}>] Hashes with `path:` and `object:` keys # @return [Array] # - # source://graphql//lib/graphql/query.rb#272 + # pkg:gem/graphql#lib/graphql/query.rb:272 def run_partials(partials_hashes); end # A version of the given query string, with: @@ -7034,12 +7034,12 @@ class GraphQL::Query # # @return [String, nil] Returns nil if the query is invalid. # - # source://graphql//lib/graphql/query.rb#323 + # pkg:gem/graphql#lib/graphql/query.rb:323 def sanitized_query_string(inline_variables: T.unsafe(nil)); end # Returns the value of attribute schema. # - # source://graphql//lib/graphql/query.rb#65 + # pkg:gem/graphql#lib/graphql/query.rb:65 def schema; end # This is the operation to run for this query. @@ -7047,72 +7047,72 @@ class GraphQL::Query # # @return [GraphQL::Language::Nodes::OperationDefinition, nil] # - # source://graphql//lib/graphql/query.rb#297 + # pkg:gem/graphql#lib/graphql/query.rb:297 def selected_operation; end # @return [String, nil] The name of the operation to run (may be inferred) # - # source://graphql//lib/graphql/query.rb#116 + # pkg:gem/graphql#lib/graphql/query.rb:116 def selected_operation_name; end - # source://graphql//lib/graphql/query.rb#290 + # pkg:gem/graphql#lib/graphql/query.rb:290 def static_errors; end # @return [GraphQL::StaticValidation::Validator] if present, the query will validate with these rules. # - # source://graphql//lib/graphql/query.rb#86 + # pkg:gem/graphql#lib/graphql/query.rb:86 def static_validator; end # @param new_validator [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#89 + # pkg:gem/graphql#lib/graphql/query.rb:89 def static_validator=(new_validator); end # @return [Boolean] # - # source://graphql//lib/graphql/query.rb#428 + # pkg:gem/graphql#lib/graphql/query.rb:428 def subscription?; end # @return [String, nil] the triggered event, if this query is a subscription update # - # source://graphql//lib/graphql/query.rb#122 + # pkg:gem/graphql#lib/graphql/query.rb:122 def subscription_topic; end # @return [Boolean] # - # source://graphql//lib/graphql/query.rb#228 + # pkg:gem/graphql#lib/graphql/query.rb:228 def subscription_update?; end # Returns the value of attribute tracers. # - # source://graphql//lib/graphql/query.rb#124 + # pkg:gem/graphql#lib/graphql/query.rb:124 def tracers; end - # source://graphql//lib/graphql/query.rb#400 + # pkg:gem/graphql#lib/graphql/query.rb:400 def types; end # @return [Boolean] # - # source://graphql//lib/graphql/query.rb#363 + # pkg:gem/graphql#lib/graphql/query.rb:363 def valid?; end # @return [Boolean] if false, static validation is skipped (execution behavior for invalid queries is undefined) # - # source://graphql//lib/graphql/query.rb#74 + # pkg:gem/graphql#lib/graphql/query.rb:74 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#77 + # pkg:gem/graphql#lib/graphql/query.rb:77 def validate=(new_validate); end - # source://graphql//lib/graphql/query.rb#359 - def validate_timeout_remaining(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query.rb:359 + def validate_timeout_remaining(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query.rb#359 - def validation_errors(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query.rb:359 + def validation_errors(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query.rb#355 + # pkg:gem/graphql#lib/graphql/query.rb:355 def validation_pipeline; end # Determine the values for variables of this query, using default values @@ -7122,41 +7122,41 @@ class GraphQL::Query # # @return [GraphQL::Query::Variables] Variables to apply to this query # - # source://graphql//lib/graphql/query.rb#307 + # pkg:gem/graphql#lib/graphql/query.rb:307 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#351 + # pkg:gem/graphql#lib/graphql/query.rb:351 def variables_fingerprint; end # @return [Symbol, nil] # - # source://graphql//lib/graphql/query.rb#219 + # pkg:gem/graphql#lib/graphql/query.rb:219 def visibility_profile; end - # source://graphql//lib/graphql/query.rb#367 + # pkg:gem/graphql#lib/graphql/query.rb:367 def warden; end private - # source://graphql//lib/graphql/query.rb#436 + # pkg:gem/graphql#lib/graphql/query.rb:436 def find_operation(operations, operation_name); end - # source://graphql//lib/graphql/query.rb#446 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/query/context.rb:7 class GraphQL::Query::Context extend ::Forwardable @@ -7166,17 +7166,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#45 + # pkg:gem/graphql#lib/graphql/query/context.rb:45 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#92 + # pkg:gem/graphql#lib/graphql/query/context.rb:92 def [](key); end # Reassign `key` to the hash passed to {Schema#execute} as `context:` # - # source://graphql//lib/graphql/query/context.rb#75 + # pkg:gem/graphql#lib/graphql/query/context.rb:75 def []=(key, value); end # Add error at query-level. @@ -7184,53 +7184,53 @@ class GraphQL::Query::Context # @param error [GraphQL::ExecutionError] an execution error # @return [void] # - # source://graphql//lib/graphql/query/context.rb#120 + # pkg:gem/graphql#lib/graphql/query/context.rb:120 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#132 + # pkg:gem/graphql#lib/graphql/query/context.rb:132 def backtrace; end - # source://graphql//lib/graphql/query/context.rb#140 + # pkg:gem/graphql#lib/graphql/query/context.rb:140 def current_path; end - # source://graphql//lib/graphql/query/context.rb#62 + # pkg:gem/graphql#lib/graphql/query/context.rb:62 def dataloader; end - # source://graphql//lib/graphql/query/context.rb#154 + # pkg:gem/graphql#lib/graphql/query/context.rb:154 def delete(key); end - # source://graphql//lib/graphql/query/context.rb#182 + # pkg:gem/graphql#lib/graphql/query/context.rb:182 def dig(key, *other_keys); end # @return [Array] errors returned during execution # - # source://graphql//lib/graphql/query/context.rb#34 + # pkg:gem/graphql#lib/graphql/query/context.rb:34 def errors; end - # source://graphql//lib/graphql/query/context.rb#136 + # pkg:gem/graphql#lib/graphql/query/context.rb:136 def execution_errors; end - # source://graphql//lib/graphql/query/context.rb#164 + # pkg:gem/graphql#lib/graphql/query/context.rb:164 def fetch(key, default = T.unsafe(nil)); end - # source://graphql//lib/graphql/query/context.rb#241 + # pkg:gem/graphql#lib/graphql/query/context.rb:241 def inspect; end # @api private # - # source://graphql//lib/graphql/query/context.rb#67 + # pkg:gem/graphql#lib/graphql/query/context.rb:67 def interpreter=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/query/context.rb#209 + # pkg:gem/graphql#lib/graphql/query/context.rb:209 def key?(key); end - # source://graphql//lib/graphql/query/context.rb#237 + # pkg:gem/graphql#lib/graphql/query/context.rb:237 def logger; end # Get an isolated hash for `ns`. Doesn't affect user-provided storage. @@ -7238,29 +7238,29 @@ class GraphQL::Query::Context # @param ns [Object] a usage-specific namespace identifier # @return [Hash] namespaced storage # - # source://graphql//lib/graphql/query/context.rb#224 + # pkg:gem/graphql#lib/graphql/query/context.rb:224 def namespace(ns); end # @return [Boolean] true if this namespace was accessed before # - # source://graphql//lib/graphql/query/context.rb#233 + # pkg:gem/graphql#lib/graphql/query/context.rb:233 def namespace?(ns); end # @return [GraphQL::Query] The query whose context this is # - # source://graphql//lib/graphql/query/context.rb#37 + # pkg:gem/graphql#lib/graphql/query/context.rb:37 def query; end # Modify this hash to return extensions to client. # # @return [Hash] A hash that will be added verbatim to the result hash, as `"extensions" => { ... }` # - # source://graphql//lib/graphql/query/context.rb#58 + # pkg:gem/graphql#lib/graphql/query/context.rb:58 def response_extensions; end # @return [GraphQL::Schema] # - # source://graphql//lib/graphql/query/context.rb#40 + # pkg:gem/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) @@ -7274,120 +7274,120 @@ class GraphQL::Query::Context # end # @return [Context::Scoped] # - # source://graphql//lib/graphql/query/context.rb#264 + # pkg:gem/graphql#lib/graphql/query/context.rb:264 def scoped; end # @api private # - # source://graphql//lib/graphql/query/context.rb#73 + # pkg:gem/graphql#lib/graphql/query/context.rb:73 def scoped_context; end - # source://graphql//lib/graphql/query/context.rb#245 + # pkg:gem/graphql#lib/graphql/query/context.rb:245 def scoped_merge!(hash); end - # source://graphql//lib/graphql/query/context.rb#249 + # pkg:gem/graphql#lib/graphql/query/context.rb:249 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#113 + # pkg:gem/graphql#lib/graphql/query/context.rb:113 def skip; end - # source://graphql//lib/graphql/query/context.rb#199 + # pkg:gem/graphql#lib/graphql/query/context.rb:199 def to_h; end - # source://graphql//lib/graphql/query/context.rb#207 + # pkg:gem/graphql#lib/graphql/query/context.rb:207 def to_hash; end - # source://graphql//lib/graphql/query/context.rb#79 - def trace(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/context.rb:79 + def trace(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/context.rb#81 + # pkg:gem/graphql#lib/graphql/query/context.rb:81 def types; end # Sets the attribute types # # @param value the value to set the attribute types to. # - # source://graphql//lib/graphql/query/context.rb#85 + # pkg:gem/graphql#lib/graphql/query/context.rb:85 def types=(_arg0); end # @api private # - # source://graphql//lib/graphql/query/context.rb#70 + # pkg:gem/graphql#lib/graphql/query/context.rb:70 def value=(_arg0); end # @return [GraphQL::Schema::Warden] # - # source://graphql//lib/graphql/query/context.rb#214 + # pkg:gem/graphql#lib/graphql/query/context.rb:214 def warden; end # @api private # - # source://graphql//lib/graphql/query/context.rb#219 + # pkg:gem/graphql#lib/graphql/query/context.rb:219 def warden=(_arg0); end end -# source://graphql//lib/graphql/query/context.rb#9 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/context.rb:10 def initialize(ctx); end - # source://graphql//lib/graphql/query/context.rb#27 + # pkg:gem/graphql#lib/graphql/query/context.rb:27 def >>(err_or_msg); end - # source://graphql//lib/graphql/query/context.rb#14 + # pkg:gem/graphql#lib/graphql/query/context.rb:14 def add(err_or_msg); end - # source://graphql//lib/graphql/query/context.rb#28 + # pkg:gem/graphql#lib/graphql/query/context.rb:28 def push(err_or_msg); end end -# source://graphql//lib/graphql/query/context.rb#87 +# pkg:gem/graphql#lib/graphql/query/context.rb:87 GraphQL::Query::Context::RUNTIME_METADATA_KEYS = T.let(T.unsafe(nil), Set) -# source://graphql//lib/graphql/query/context.rb#268 +# pkg:gem/graphql#lib/graphql/query/context.rb:268 class GraphQL::Query::Context::Scoped # @return [Scoped] a new instance of Scoped # - # source://graphql//lib/graphql/query/context.rb#269 + # pkg:gem/graphql#lib/graphql/query/context.rb:269 def initialize(scoped_context, path); end - # source://graphql//lib/graphql/query/context.rb#274 + # pkg:gem/graphql#lib/graphql/query/context.rb:274 def merge!(hash); end - # source://graphql//lib/graphql/query/context.rb#278 + # pkg:gem/graphql#lib/graphql/query/context.rb:278 def set!(key, value); end end -# source://graphql//lib/graphql/query/context/scoped_context.rb#5 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/context/scoped_context.rb:6 def initialize(query_context); end - # source://graphql//lib/graphql/query/context/scoped_context.rb#46 + # pkg:gem/graphql#lib/graphql/query/context/scoped_context.rb:46 def [](key); end - # source://graphql//lib/graphql/query/context/scoped_context.rb#55 + # pkg:gem/graphql#lib/graphql/query/context/scoped_context.rb:55 def current_path; end - # source://graphql//lib/graphql/query/context/scoped_context.rb#59 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/context/scoped_context.rb:35 def key?(key); end - # source://graphql//lib/graphql/query/context/scoped_context.rb#24 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/context/scoped_context.rb:12 def merged_context; end private @@ -7395,11 +7395,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 + # pkg:gem/graphql#lib/graphql/query/context/scoped_context.rb:77 def each_present_path_ctx; end end -# source://graphql//lib/graphql/query/context.rb#162 +# pkg:gem/graphql#lib/graphql/query/context.rb:162 GraphQL::Query::Context::UNSPECIFIED_FETCH_DEFAULT = T.let(T.unsafe(nil), Object) # @api private @@ -7407,7 +7407,7 @@ GraphQL::Query::Context::UNSPECIFIED_FETCH_DEFAULT = T.let(T.unsafe(nil), Object # @see Query#query_fingerprint # @see Query#variables_fingerprint # -# source://graphql//lib/graphql/query/fingerprint.rb#11 +# pkg:gem/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) @@ -7416,53 +7416,53 @@ module GraphQL::Query::Fingerprint # @param string [String] # @return [String] A normalized, opaque hash # - # source://graphql//lib/graphql/query/fingerprint.rb#15 + # pkg:gem/graphql#lib/graphql/query/fingerprint.rb:15 def generate(input_str); end end end -# source://graphql//lib/graphql/query/input_validation_result.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/input_validation_result.rb:18 def valid?; end class << self - # source://graphql//lib/graphql/query/input_validation_result.rb#7 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/query/null_context.rb:6 class GraphQL::Query::NullContext < ::GraphQL::Query::Context include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -7470,71 +7470,71 @@ class GraphQL::Query::NullContext < ::GraphQL::Query::Context # @return [NullContext] a new instance of NullContext # - # source://graphql//lib/graphql/query/null_context.rb#23 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:23 def initialize; end - # source://graphql//lib/graphql/query/null_context.rb#21 - def [](*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/null_context.rb:21 + def [](*_arg0, **_arg1, &_arg2); end # Returns the value of attribute dataloader. # - # source://graphql//lib/graphql/query/null_context.rb#20 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:20 def dataloader; end - # source://graphql//lib/graphql/query/null_context.rb#21 - def dig(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/null_context.rb:21 + def dig(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/null_context.rb#21 - def fetch(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/null_context.rb:21 + def fetch(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/null_context.rb#21 - def key?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/null_context.rb:21 + def key?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute query. # - # source://graphql//lib/graphql/query/null_context.rb#20 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:20 def schema; end - # source://graphql//lib/graphql/query/null_context.rb#21 - def to_h(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/null_context.rb:21 + def to_h(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute warden. # - # source://graphql//lib/graphql/query/null_context.rb#20 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:20 def warden; end class << self private - # source://graphql//lib/graphql/query/null_context.rb#7 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:7 def allocate; end - # source://graphql//lib/graphql/query/null_context.rb#7 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:7 def new(*_arg0); end end end -# source://graphql//lib/graphql/query/null_context.rb#9 +# pkg:gem/graphql#lib/graphql/query/null_context.rb:9 class GraphQL::Query::NullContext::NullQuery # @yield [value] # - # source://graphql//lib/graphql/query/null_context.rb#10 + # pkg:gem/graphql#lib/graphql/query/null_context.rb:10 def after_lazy(value); end end -# source://graphql//lib/graphql/query/null_context.rb#15 +# pkg:gem/graphql#lib/graphql/query/null_context.rb:15 class GraphQL::Query::NullContext::NullSchema < ::GraphQL::Schema; end -# source://graphql//lib/graphql/query.rb#54 +# pkg:gem/graphql#lib/graphql/query.rb:54 class GraphQL::Query::OperationNameMissingError < ::GraphQL::ExecutionError # @return [OperationNameMissingError] a new instance of OperationNameMissingError # - # source://graphql//lib/graphql/query.rb#55 + # pkg:gem/graphql#lib/graphql/query.rb:55 def initialize(name); end end @@ -7549,7 +7549,7 @@ end # # @see Query#run_partials Run via {Query#run_partials} # -# source://graphql//lib/graphql/query/partial.rb#14 +# pkg:gem/graphql#lib/graphql/query/partial.rb:14 class GraphQL::Query::Partial include ::GraphQL::Query::Runnable @@ -7560,135 +7560,135 @@ class GraphQL::Query::Partial # @param query [GraphQL::Query] A full query instance that this partial is based on. Caches are shared. # @return [Partial] a new instance of Partial # - # source://graphql//lib/graphql/query/partial.rb#22 + # pkg:gem/graphql#lib/graphql/query/partial.rb:22 def initialize(object:, query:, path: T.unsafe(nil), context: T.unsafe(nil), fragment_node: T.unsafe(nil), type: T.unsafe(nil)); end - # source://graphql//lib/graphql/query/partial.rb#101 + # pkg:gem/graphql#lib/graphql/query/partial.rb:101 def analysis_errors=(_ignored); end - # source://graphql//lib/graphql/query/partial.rb#97 + # pkg:gem/graphql#lib/graphql/query/partial.rb:97 def analyzers; end # Returns the value of attribute ast_nodes. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def ast_nodes; end # Returns the value of attribute context. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def context; end - # source://graphql//lib/graphql/query/partial.rb#73 + # pkg:gem/graphql#lib/graphql/query/partial.rb:73 def current_trace; end # Returns the value of attribute field_definition. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def field_definition; end - # source://graphql//lib/graphql/query/partial.rb#89 + # pkg:gem/graphql#lib/graphql/query/partial.rb:89 def fragments; end # @return [Boolean] # - # source://graphql//lib/graphql/query/partial.rb#50 + # pkg:gem/graphql#lib/graphql/query/partial.rb:50 def leaf?; end # Returns the value of attribute multiplex. # - # source://graphql//lib/graphql/query/partial.rb#56 + # pkg:gem/graphql#lib/graphql/query/partial.rb:56 def multiplex; end # Sets the attribute multiplex # # @param value the value to set the attribute multiplex to. # - # source://graphql//lib/graphql/query/partial.rb#56 + # pkg:gem/graphql#lib/graphql/query/partial.rb:56 def multiplex=(_arg0); end # Returns the value of attribute object. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def object; end # Returns the value of attribute path. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def path; end # Returns the value of attribute query. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def query; end - # source://graphql//lib/graphql/query/partial.rb#81 + # pkg:gem/graphql#lib/graphql/query/partial.rb:81 def resolve_type(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/partial.rb#69 + # pkg:gem/graphql#lib/graphql/query/partial.rb:69 def result; end # Returns the value of attribute result_values. # - # source://graphql//lib/graphql/query/partial.rb#56 + # pkg:gem/graphql#lib/graphql/query/partial.rb:56 def result_values; end # Sets the attribute result_values # # @param value the value to set the attribute result_values to. # - # source://graphql//lib/graphql/query/partial.rb#56 + # pkg:gem/graphql#lib/graphql/query/partial.rb:56 def result_values=(_arg0); end # Returns the value of attribute root_type. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def root_type; end # Returns the value of attribute schema. # - # source://graphql//lib/graphql/query/partial.rb#54 + # pkg:gem/graphql#lib/graphql/query/partial.rb:54 def schema; end - # source://graphql//lib/graphql/query/partial.rb#109 + # pkg:gem/graphql#lib/graphql/query/partial.rb:109 def selected_operation; end - # source://graphql//lib/graphql/query/partial.rb#117 + # pkg:gem/graphql#lib/graphql/query/partial.rb:117 def selected_operation_name; end - # source://graphql//lib/graphql/query/partial.rb#113 + # pkg:gem/graphql#lib/graphql/query/partial.rb:113 def static_errors; end # @return [Boolean] # - # source://graphql//lib/graphql/query/partial.rb#105 + # pkg:gem/graphql#lib/graphql/query/partial.rb:105 def subscription?; end - # source://graphql//lib/graphql/query/partial.rb#77 + # pkg:gem/graphql#lib/graphql/query/partial.rb:77 def types; end # @return [Boolean] # - # source://graphql//lib/graphql/query/partial.rb#93 + # pkg:gem/graphql#lib/graphql/query/partial.rb:93 def valid?; end - # source://graphql//lib/graphql/query/partial.rb#85 + # pkg:gem/graphql#lib/graphql/query/partial.rb:85 def variables; end private - # source://graphql//lib/graphql/query/partial.rb#123 + # pkg:gem/graphql#lib/graphql/query/partial.rb:123 def set_type_info_from_path; end end -# source://graphql//lib/graphql/query/partial.rb#58 +# pkg:gem/graphql#lib/graphql/query/partial.rb:58 class GraphQL::Query::Partial::Result < ::GraphQL::Query::Result # @return [GraphQL::Query::Partial] # - # source://graphql//lib/graphql/query/partial.rb#64 + # pkg:gem/graphql#lib/graphql/query/partial.rb:64 def partial; end - # source://graphql//lib/graphql/query/partial.rb#59 + # pkg:gem/graphql#lib/graphql/query/partial.rb:59 def path; end end @@ -7696,13 +7696,13 @@ end # It provides the requested data and # access to the {Query} and {Query::Context}. # -# source://graphql//lib/graphql/query/result.rb#8 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/result.rb:11 def initialize(query:, values:); end # A result is equal to another object when: @@ -7714,70 +7714,70 @@ class GraphQL::Query::Result # # @return [Boolean] # - # source://graphql//lib/graphql/query/result.rb#51 + # pkg:gem/graphql#lib/graphql/query/result.rb:51 def ==(other); end - # source://graphql//lib/graphql/query/result.rb#24 - def [](*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:24 + def [](*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/result.rb#24 - def as_json(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:24 + def as_json(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/result.rb#22 - def context(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:22 + def context(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/result.rb#39 + # pkg:gem/graphql#lib/graphql/query/result.rb:39 def inspect; end - # source://graphql//lib/graphql/query/result.rb#24 - def keys(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:24 + def keys(*_arg0, **_arg1, &_arg2); end # Delegate any hash-like method to the underlying hash. # - # source://graphql//lib/graphql/query/result.rb#27 + # pkg:gem/graphql#lib/graphql/query/result.rb:27 def method_missing(method_name, *args, &block); end - # source://graphql//lib/graphql/query/result.rb#22 - def mutation?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:22 + def mutation?(*_arg0, **_arg1, &_arg2); end # @return [GraphQL::Query] The query that was executed # - # source://graphql//lib/graphql/query/result.rb#17 + # pkg:gem/graphql#lib/graphql/query/result.rb:17 def query; end - # source://graphql//lib/graphql/query/result.rb#22 - def query?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:22 + def query?(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/result.rb#22 - def subscription?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:22 + def subscription?(*_arg0, **_arg1, &_arg2); end # @return [Hash] The resulting hash of "data" and/or "errors" # - # source://graphql//lib/graphql/query/result.rb#20 + # pkg:gem/graphql#lib/graphql/query/result.rb:20 def to_h; end - # source://graphql//lib/graphql/query/result.rb#24 - def to_json(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:24 + def to_json(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/result.rb#24 - def values(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/result.rb:24 + def values(*_arg0, **_arg1, &_arg2); end private # @return [Boolean] # - # source://graphql//lib/graphql/query/result.rb#35 + # pkg:gem/graphql#lib/graphql/query/result.rb:35 def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end end # Code shared with {Partial} # -# source://graphql//lib/graphql/query.rb#21 +# pkg:gem/graphql#lib/graphql/query.rb:21 module GraphQL::Query::Runnable - # source://graphql//lib/graphql/query.rb#22 + # pkg:gem/graphql#lib/graphql/query.rb:22 def after_lazy(value, &block); end - # source://graphql//lib/graphql/query.rb#43 + # pkg:gem/graphql#lib/graphql/query.rb:43 def arguments_cache; end # Node-level cache for calculating arguments. Used during execution and query analysis. @@ -7787,12 +7787,12 @@ module GraphQL::Query::Runnable # @param parent_object [GraphQL::Schema::Object] # @return [Hash{Symbol => Object}] # - # source://graphql//lib/graphql/query.rb#39 + # pkg:gem/graphql#lib/graphql/query.rb:39 def arguments_for(ast_node, definition, parent_object: T.unsafe(nil)); end # @api private # - # source://graphql//lib/graphql/query.rb#48 + # pkg:gem/graphql#lib/graphql/query.rb:48 def handle_or_reraise(err); end end @@ -7809,50 +7809,50 @@ end # # @api private # -# source://graphql//lib/graphql/query/validation_pipeline.rb#16 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/validation_pipeline.rb:43 def analyzers; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/query/validation_pipeline.rb#48 + # pkg:gem/graphql#lib/graphql/query/validation_pipeline.rb:48 def has_validated?; end # @api private # - # source://graphql//lib/graphql/query/validation_pipeline.rb#17 + # pkg:gem/graphql#lib/graphql/query/validation_pipeline.rb:17 def max_complexity; end # @api private # - # source://graphql//lib/graphql/query/validation_pipeline.rb#17 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/validation_pipeline.rb:32 def valid?; end # @api private # - # source://graphql//lib/graphql/query/validation_pipeline.rb#17 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/validation_pipeline.rb:38 def validation_errors; end private @@ -7862,7 +7862,7 @@ class GraphQL::Query::ValidationPipeline # # @api private # - # source://graphql//lib/graphql/query/validation_pipeline.rb#96 + # pkg:gem/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. @@ -7870,92 +7870,92 @@ class GraphQL::Query::ValidationPipeline # # @api private # - # source://graphql//lib/graphql/query/validation_pipeline.rb#56 + # pkg:gem/graphql#lib/graphql/query/validation_pipeline.rb:56 def ensure_has_validated; end end -# source://graphql//lib/graphql/query/variable_validation_error.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/variable_validation_error.rb:5 def value=(_arg0); end private - # source://graphql//lib/graphql/query/variable_validation_error.rb#36 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/variables.rb:13 def initialize(ctx, ast_variables, provided_variables); end - # source://graphql//lib/graphql/query/variables.rb#66 - def [](*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/variables.rb:66 + def [](*_arg0, **_arg1, &_arg2); end # Returns the value of attribute context. # - # source://graphql//lib/graphql/query/variables.rb#11 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/query/variables.rb:9 def errors; end - # source://graphql//lib/graphql/query/variables.rb#66 - def fetch(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/variables.rb:66 + def fetch(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/variables.rb#66 - def key?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/variables.rb:66 + def key?(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/variables.rb#66 - def length(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/variables.rb:66 + def length(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/query/variables.rb#66 - def to_h(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/query/variables.rb:66 + def to_h(*_arg0, **_arg1, &_arg2); end private - # source://graphql//lib/graphql/query/variables.rb#85 + # pkg:gem/graphql#lib/graphql/query/variables.rb:85 def add_max_errors_reached_message; end - # source://graphql//lib/graphql/query/variables.rb#70 + # pkg:gem/graphql#lib/graphql/query/variables.rb:70 def deep_stringify(val); end end @@ -7965,10 +7965,10 @@ end # # config.graphql.parser_cache = true # -# source://graphql//lib/graphql/railtie.rb#10 +# pkg:gem/graphql#lib/graphql/railtie.rb:10 class GraphQL::Railtie < ::Rails::Railtie; end -# source://graphql//lib/graphql/relay/range_add.rb#3 +# pkg:gem/graphql#lib/graphql/relay/range_add.rb:3 module GraphQL::Relay; end # This provides some isolation from `GraphQL::Relay` internals. @@ -7997,7 +7997,7 @@ module GraphQL::Relay; end # new_comment_edge: range_add.edge, # } # -# source://graphql//lib/graphql/relay/range_add.rb#29 +# pkg:gem/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 context [GraphQL::Query::Context] The surrounding `ctx`, will be passed to the connection @@ -8006,29 +8006,29 @@ class GraphQL::Relay::RangeAdd # @param parent [Object] The owner of `collection`, will be passed to the connection if provided # @return [RangeAdd] a new instance of RangeAdd # - # source://graphql//lib/graphql/relay/range_add.rb#37 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/relay/range_add.rb:30 def parent; end end -# source://graphql//lib/graphql.rb#35 +# pkg:gem/graphql#lib/graphql.rb:35 class GraphQL::RequiredImplementationMissingError < ::GraphQL::Error; end -# source://graphql//lib/graphql/runtime_type_error.rb#3 +# pkg:gem/graphql#lib/graphql/runtime_type_error.rb:3 class GraphQL::RuntimeTypeError < ::GraphQL::Error; end # A GraphQL schema which may be queried with {GraphQL::Query}. @@ -8053,7 +8053,7 @@ class GraphQL::RuntimeTypeError < ::GraphQL::Error; end # orphan_types ImageType, AudioType # end # -# source://graphql//lib/graphql/schema/addition.rb#4 +# pkg:gem/graphql#lib/graphql/schema/addition.rb:4 class GraphQL::Schema extend ::GraphQL::Schema::Member::HasAstNode extend ::GraphQL::Schema::FindInheritedValue @@ -8063,7 +8063,7 @@ class GraphQL::Schema class << self # @api private # - # source://graphql//lib/graphql/schema.rb#1614 + # pkg:gem/graphql#lib/graphql/schema.rb:1614 def add_subscription_extension_if_necessary; end # Return a lazy if any of `maybe_lazies` are lazy, @@ -8072,7 +8072,7 @@ class GraphQL::Schema # @api private # @param maybe_lazies [Array] # - # source://graphql//lib/graphql/schema.rb#1679 + # pkg:gem/graphql#lib/graphql/schema.rb:1679 def after_any_lazies(maybe_lazies); end # Call the given block at the right time, either: @@ -8081,7 +8081,7 @@ class GraphQL::Schema # # @api private # - # source://graphql//lib/graphql/schema.rb#1639 + # pkg:gem/graphql#lib/graphql/schema.rb:1639 def after_lazy(value, &block); end # This setting controls how GraphQL-Ruby handles empty selections on Union types. @@ -8097,7 +8097,7 @@ class GraphQL::Schema # @param new_value [Boolean] # @return [true, false, nil] # - # source://graphql//lib/graphql/schema.rb#1715 + # pkg:gem/graphql#lib/graphql/schema.rb:1715 def allow_legacy_invalid_empty_selections_on_union(new_value = T.unsafe(nil)); end # This setting controls how GraphQL-Ruby handles overlapping selections on scalar types when the types @@ -8110,17 +8110,17 @@ class GraphQL::Schema # @param new_value [Boolean] `true` permits the legacy behavior, `false` rejects it. # @return [true, false, nil] # - # source://graphql//lib/graphql/schema.rb#1767 + # pkg:gem/graphql#lib/graphql/schema.rb:1767 def allow_legacy_invalid_return_type_conflicts(new_value = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#911 + # pkg:gem/graphql#lib/graphql/schema.rb:911 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#909 + # pkg:gem/graphql#lib/graphql/schema.rb:909 def analysis_engine=(_arg0); end # Return the Hash response of {Introspection::INTROSPECTION_QUERY}. @@ -8133,10 +8133,10 @@ class GraphQL::Schema # @param include_specified_by_url [Boolean] If true, scalar types' `specifiedByUrl:` will be included in the response # @return [Hash] GraphQL result # - # source://graphql//lib/graphql/schema.rb#269 + # pkg:gem/graphql#lib/graphql/schema.rb:269 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#212 + # pkg:gem/graphql#lib/graphql/schema.rb:212 def build_trace_mode(mode); end # The legacy complexity implementation included several bugs: @@ -8158,7 +8158,7 @@ class GraphQL::Schema # @example Run both modes for every query, call {.legacy_complexity_cost_calculation_mismatch} when they don't match: # complexity_cost_calculation_mode(:compare) # - # source://graphql//lib/graphql/schema.rb#1819 + # pkg:gem/graphql#lib/graphql/schema.rb:1819 def complexity_cost_calculation_mode(new_mode = T.unsafe(nil)); end # Implement this method to produce a per-query complexity cost calculation mode. (Technically, it's per-multiplex.) @@ -8190,97 +8190,97 @@ class GraphQL::Schema # @return [:legacy] Use the legacy calculation algorithm, warts and all # @return [:compare] Run both algorithms and call {.legacy_complexity_cost_calculation_mismatch} if they don't match # - # source://graphql//lib/graphql/schema.rb#1861 + # pkg:gem/graphql#lib/graphql/schema.rb:1861 def complexity_cost_calculation_mode_for(multiplex_context); end # @return [GraphQL::Pagination::Connections] if installed # - # source://graphql//lib/graphql/schema.rb#417 + # pkg:gem/graphql#lib/graphql/schema.rb:417 def connections; end # @api private # - # source://graphql//lib/graphql/schema.rb#414 + # pkg:gem/graphql#lib/graphql/schema.rb:414 def connections=(_arg0); end # @param new_context_class [Class] A subclass to use when executing queries # - # source://graphql//lib/graphql/schema.rb#1098 + # pkg:gem/graphql#lib/graphql/schema.rb:1098 def context_class(new_context_class = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#939 + # pkg:gem/graphql#lib/graphql/schema.rb:939 def count_introspection_fields; end - # source://graphql//lib/graphql/schema.rb#770 + # pkg:gem/graphql#lib/graphql/schema.rb:770 def cursor_encoder(new_encoder = T.unsafe(nil)); end # @api private # @see GraphQL::Dataloader # - # source://graphql//lib/graphql/schema.rb#673 + # pkg:gem/graphql#lib/graphql/schema.rb:673 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#677 + # pkg:gem/graphql#lib/graphql/schema.rb:677 def dataloader_class=(_arg0); end - # source://graphql//lib/graphql/schema.rb#1055 + # pkg:gem/graphql#lib/graphql/schema.rb:1055 def default_analysis_engine; end - # source://graphql//lib/graphql/schema.rb#1393 + # pkg:gem/graphql#lib/graphql/schema.rb:1393 def default_directives; end - # source://graphql//lib/graphql/schema.rb#1047 + # pkg:gem/graphql#lib/graphql/schema.rb:1047 def default_execution_strategy; end # @param new_default_logger [#log] Something to use for logging messages # - # source://graphql//lib/graphql/schema.rb#1065 + # pkg:gem/graphql#lib/graphql/schema.rb:1065 def default_logger(new_default_logger = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#777 + # pkg:gem/graphql#lib/graphql/schema.rb:777 def default_max_page_size(new_default_max_page_size = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#796 + # pkg:gem/graphql#lib/graphql/schema.rb:796 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#152 + # pkg:gem/graphql#lib/graphql/schema.rb:152 def default_trace_mode(new_mode = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#138 + # pkg:gem/graphql#lib/graphql/schema.rb:138 def deprecated_graphql_definition; end # @return [String, nil] # - # source://graphql//lib/graphql/schema.rb#295 + # pkg:gem/graphql#lib/graphql/schema.rb:295 def description(new_description = T.unsafe(nil)); end # @return [GraphQL::Tracing::DetailedTrace] if it has been configured for this schema # - # source://graphql//lib/graphql/schema.rb#1404 + # pkg:gem/graphql#lib/graphql/schema.rb:1404 def detailed_trace; end # @return [GraphQL::Tracing::DetailedTrace] if it has been configured for this schema # - # source://graphql//lib/graphql/schema.rb#1404 + # pkg:gem/graphql#lib/graphql/schema.rb:1404 def detailed_trace=(_arg0); end # @param query [GraphQL::Query, GraphQL::Execution::Multiplex] Called with a multiplex when multiple queries are executed at once (with {.multiplex}) # @return [Boolean] When `true`, save a detailed trace for this query. # @see Tracing::DetailedTrace DetailedTrace saves traces when this method returns true # - # source://graphql//lib/graphql/schema.rb#1409 + # pkg:gem/graphql#lib/graphql/schema.rb:1409 def detailed_trace?(query); 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#1691 + # pkg:gem/graphql#lib/graphql/schema.rb:1691 def did_you_mean(new_dym = T.unsafe(nil)); end # Attach a single directive to this schema @@ -8288,51 +8288,51 @@ class GraphQL::Schema # @param new_directive [Class] # @return void # - # source://graphql//lib/graphql/schema.rb#1385 + # pkg:gem/graphql#lib/graphql/schema.rb:1385 def directive(new_directive); end # Add several directives at once # # @param new_directives [Class] # - # source://graphql//lib/graphql/schema.rb#1369 + # pkg:gem/graphql#lib/graphql/schema.rb:1369 def directives(*new_directives); end - # source://graphql//lib/graphql/schema.rb#947 + # pkg:gem/graphql#lib/graphql/schema.rb:947 def disable_introspection_entry_points; end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#965 + # pkg:gem/graphql#lib/graphql/schema.rb:965 def disable_introspection_entry_points?; end - # source://graphql//lib/graphql/schema.rb#953 + # pkg:gem/graphql#lib/graphql/schema.rb:953 def disable_schema_introspection_entry_point; end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#973 + # pkg:gem/graphql#lib/graphql/schema.rb:973 def disable_schema_introspection_entry_point?; end - # source://graphql//lib/graphql/schema.rb#959 + # pkg:gem/graphql#lib/graphql/schema.rb:959 def disable_type_introspection_entry_point; end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#981 + # pkg:gem/graphql#lib/graphql/schema.rb:981 def disable_type_introspection_entry_point?; end - # source://graphql//lib/graphql/schema.rb#915 + # pkg:gem/graphql#lib/graphql/schema.rb:915 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#924 + # pkg:gem/graphql#lib/graphql/schema.rb:924 def error_bubbling=(_arg0); end - # source://graphql//lib/graphql/schema.rb#1126 + # pkg:gem/graphql#lib/graphql/schema.rb:1126 def error_handlers; end # Execute a query on itself. @@ -8340,16 +8340,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#1561 + # pkg:gem/graphql#lib/graphql/schema.rb:1561 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#991 + # pkg:gem/graphql#lib/graphql/schema.rb:991 def extra_types(*new_extra_types); end - # source://graphql//lib/graphql/schema.rb#305 + # pkg:gem/graphql#lib/graphql/schema.rb:305 def find(path); end # Create schema from an IDL schema or file containing an IDL definition. @@ -8360,7 +8360,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 + # pkg:gem/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), base_types: T.unsafe(nil)); end # Create schema with the result of an introspection query. @@ -8368,13 +8368,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 + # pkg:gem/graphql#lib/graphql/schema.rb:105 def from_introspection(introspection_result); end - # source://graphql//lib/graphql/schema.rb#704 + # pkg:gem/graphql#lib/graphql/schema.rb:704 def get_field(type_or_name, field_name, context = T.unsafe(nil), use_visibility_profile = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#741 + # pkg:gem/graphql#lib/graphql/schema.rb:741 def get_fields(type, context = T.unsafe(nil)); end # @param context [GraphQL::Query::Context] Used for filtering definitions at query-time @@ -8382,17 +8382,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#369 + # pkg:gem/graphql#lib/graphql/schema.rb:369 def get_type(type_name, context = T.unsafe(nil), use_visibility_profile = T.unsafe(nil)); end # @api private # - # source://graphql//lib/graphql/schema.rb#1147 + # pkg:gem/graphql#lib/graphql/schema.rb:1147 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#409 + # pkg:gem/graphql#lib/graphql/schema.rb:409 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}. @@ -8409,16 +8409,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#1263 + # pkg:gem/graphql#lib/graphql/schema.rb:1263 def id_from_object(application_object, graphql_type, context); end - # source://graphql//lib/graphql/schema.rb#1215 + # pkg:gem/graphql#lib/graphql/schema.rb:1215 def inherited(child_class); end - # source://graphql//lib/graphql/schema.rb#1357 + # pkg:gem/graphql#lib/graphql/schema.rb:1357 def instrument(instrument_step, instrumenter, options = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1606 + # pkg:gem/graphql#lib/graphql/schema.rb:1606 def instrumenters; end # Pass a custom introspection module here to use it for this schema. @@ -8426,25 +8426,25 @@ 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#748 + # pkg:gem/graphql#lib/graphql/schema.rb:748 def introspection(new_introspection_namespace = T.unsafe(nil)); end # @return [Schema::IntrospectionSystem] Based on {introspection} # - # source://graphql//lib/graphql/schema.rb#761 + # pkg:gem/graphql#lib/graphql/schema.rb:761 def introspection_system; end # @return [Boolean] True if this object should be lazily resolved # - # source://graphql//lib/graphql/schema.rb#1671 + # pkg:gem/graphql#lib/graphql/schema.rb:1671 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#1666 + # pkg:gem/graphql#lib/graphql/schema.rb:1666 def lazy_method_name(obj); end - # source://graphql//lib/graphql/schema.rb#1353 + # pkg:gem/graphql#lib/graphql/schema.rb:1353 def lazy_resolve(lazy_class, value_method); end # Implement this method in your schema to handle mismatches when `:compare` is used. @@ -8463,7 +8463,7 @@ class GraphQL::Schema # @see Query::Context#add_error Adding an error to the response to notify the client # @see Query::Context#response_extensions Adding key-value pairs to the response `"extensions" => { ... }` # - # source://graphql//lib/graphql/schema.rb#1880 + # pkg:gem/graphql#lib/graphql/schema.rb:1880 def legacy_complexity_cost_calculation_mismatch(multiplex, future_complexity_cost, legacy_complexity_cost); end # This method is called during validation when a previously-allowed, but non-spec @@ -8480,7 +8480,7 @@ class GraphQL::Schema # @return [String] A validation error to return for this query # @return [nil] Don't send the client an error, continue the legacy behavior (allow this query to execute) # - # source://graphql//lib/graphql/schema.rb#1739 + # pkg:gem/graphql#lib/graphql/schema.rb:1739 def legacy_invalid_empty_selections_on_union(query); end # This method is called during validation when a previously-allowed, but non-spec @@ -8496,7 +8496,7 @@ class GraphQL::Schema # @return [String] A validation error to return for this query # @return [nil] Don't send the client an error, continue the legacy behavior (allow this query to execute) # - # source://graphql//lib/graphql/schema.rb#1754 + # pkg:gem/graphql#lib/graphql/schema.rb:1754 def legacy_invalid_empty_selections_on_union_with_type(query, type); end # This method is called when the query contains fields which don't contain matching scalar types. @@ -8516,41 +8516,41 @@ class GraphQL::Schema # @return [String] A validation error to return for this query # @return [nil] Don't send the client an error, continue the legacy behavior (allow this query to execute) # - # source://graphql//lib/graphql/schema.rb#1795 + # pkg:gem/graphql#lib/graphql/schema.rb:1795 def legacy_invalid_return_type_conflicts(query, type1, type2, node1, node2); end # Called when a type is needed by name at runtime # - # source://graphql//lib/graphql/schema.rb#1281 + # pkg:gem/graphql#lib/graphql/schema.rb:1281 def load_type(type_name, ctx); end # @param context [GraphQL::Query::Context, nil] # @return [Logger] A logger to use for this context configuration, falling back to {.default_logger} # - # source://graphql//lib/graphql/schema.rb#1087 + # pkg:gem/graphql#lib/graphql/schema.rb:1087 def logger_for(context); end - # source://graphql//lib/graphql/schema.rb#890 + # pkg:gem/graphql#lib/graphql/schema.rb:890 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#888 + # pkg:gem/graphql#lib/graphql/schema.rb:888 def max_complexity=(_arg0); end - # source://graphql//lib/graphql/schema.rb#901 + # pkg:gem/graphql#lib/graphql/schema.rb:901 def max_complexity_count_introspection_fields; end - # source://graphql//lib/graphql/schema.rb#928 + # pkg:gem/graphql#lib/graphql/schema.rb:928 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#926 + # pkg:gem/graphql#lib/graphql/schema.rb:926 def max_depth=(_arg0); end # A limit on the number of tokens to accept on incoming query strings. @@ -8558,7 +8558,7 @@ class GraphQL::Schema # # @return [nil, Integer] # - # source://graphql//lib/graphql/schema.rb#788 + # pkg:gem/graphql#lib/graphql/schema.rb:788 def max_query_string_tokens(new_max_tokens = T.unsafe(nil)); end # Execute several queries on itself, concurrently. @@ -8582,16 +8582,16 @@ class GraphQL::Schema # @see {Execution::Multiplex#run_all} for multiplex keyword arguments # @see {Query#initialize} for query keyword arguments # - # source://graphql//lib/graphql/schema.rb#1602 + # pkg:gem/graphql#lib/graphql/schema.rb:1602 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#1542 + # pkg:gem/graphql#lib/graphql/schema.rb:1542 def multiplex_analyzer(new_analyzer); end - # source://graphql//lib/graphql/schema.rb#1546 + # pkg:gem/graphql#lib/graphql/schema.rb:1546 def multiplex_analyzers; end # Get or set the root `mutation { ... }` object for this schema. @@ -8602,10 +8602,10 @@ class GraphQL::Schema # @param new_mutation_object [Class] The root type to use for mutations # @return [Class, nil] The configured mutation root type, if there is one. # - # source://graphql//lib/graphql/schema.rb#479 + # pkg:gem/graphql#lib/graphql/schema.rb:479 def mutation(new_mutation_object = T.unsafe(nil), &lazy_load_block); end - # source://graphql//lib/graphql/schema.rb#816 + # pkg:gem/graphql#lib/graphql/schema.rb:816 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. @@ -8619,7 +8619,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#1501 + # pkg:gem/graphql#lib/graphql/schema.rb:1501 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 @@ -8636,7 +8636,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#1246 + # pkg:gem/graphql#lib/graphql/schema.rb:1246 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. @@ -8647,13 +8647,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#1016 + # pkg:gem/graphql#lib/graphql/schema.rb:1016 def orphan_types(*new_orphan_types); end - # source://graphql//lib/graphql/schema.rb#208 + # pkg:gem/graphql#lib/graphql/schema.rb:208 def own_trace_modes; end - # source://graphql//lib/graphql/schema.rb#240 + # pkg:gem/graphql#lib/graphql/schema.rb:240 def own_trace_modules; end # A function to call when {.execute} receives an invalid query string @@ -8664,10 +8664,10 @@ class GraphQL::Schema # @param parse_err [GraphQL::ParseError] The error encountered during parsing # @return void # - # source://graphql//lib/graphql/schema.rb#1349 + # pkg:gem/graphql#lib/graphql/schema.rb:1349 def parse_error(parse_err, ctx); end - # source://graphql//lib/graphql/schema.rb#329 + # pkg:gem/graphql#lib/graphql/schema.rb:329 def plugins; end # @param context [GraphQL::Query::Context] used for filtering visible possible types at runtime @@ -8676,7 +8676,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#620 + # pkg:gem/graphql#lib/graphql/schema.rb:620 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. @@ -8687,24 +8687,24 @@ class GraphQL::Schema # @param new_query_object [Class] The root type to use for queries # @return [Class, nil] The configured query root type, if there is one. # - # source://graphql//lib/graphql/schema.rb#440 + # pkg:gem/graphql#lib/graphql/schema.rb:440 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#1532 + # pkg:gem/graphql#lib/graphql/schema.rb:1532 def query_analyzer(new_analyzer); end - # source://graphql//lib/graphql/schema.rb#1536 + # pkg:gem/graphql#lib/graphql/schema.rb:1536 def query_analyzers; end # @param new_query_class [Class] A subclass to use when executing queries # - # source://graphql//lib/graphql/schema.rb#870 + # pkg:gem/graphql#lib/graphql/schema.rb:870 def query_class(new_query_class = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#804 + # pkg:gem/graphql#lib/graphql/schema.rb:804 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. @@ -8714,10 +8714,10 @@ class GraphQL::Schema # @param query [GraphQL::Query] # @return [void] # - # source://graphql//lib/graphql/schema.rb#1631 + # pkg:gem/graphql#lib/graphql/schema.rb:1631 def query_stack_error(query, err); end - # source://graphql//lib/graphql/schema.rb#679 + # pkg:gem/graphql#lib/graphql/schema.rb:679 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. @@ -8734,7 +8734,7 @@ class GraphQL::Schema # @yieldparam object [Object] The current application object in the query when the error was raised # @yieldreturn [Object] Some object to use in the place where this error was raised # - # source://graphql//lib/graphql/schema.rb#1120 + # pkg:gem/graphql#lib/graphql/schema.rb:1120 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. @@ -8755,29 +8755,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#567 + # pkg:gem/graphql#lib/graphql/schema.rb:567 def root_types; end - # source://graphql//lib/graphql/schema.rb#1550 + # pkg:gem/graphql#lib/graphql/schema.rb:1550 def sanitized_printer(new_sanitized_printer = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1271 + # pkg:gem/graphql#lib/graphql/schema.rb:1271 def schema_directive(dir_class, **options); end - # source://graphql//lib/graphql/schema.rb#1276 + # pkg:gem/graphql#lib/graphql/schema.rb:1276 def schema_directives; end - # source://graphql//lib/graphql/schema.rb#313 + # pkg:gem/graphql#lib/graphql/schema.rb:313 def static_validator; end # Get or set the root `subscription { ... }` object for this schema. @@ -8788,18 +8788,18 @@ class GraphQL::Schema # @param new_subscription_object [Class] The root type to use for subscriptions # @return [Class, nil] The configured subscription root type, if there is one. # - # source://graphql//lib/graphql/schema.rb#518 + # pkg:gem/graphql#lib/graphql/schema.rb:518 def subscription(new_subscription_object = T.unsafe(nil), &lazy_load_block); end - # source://graphql//lib/graphql/schema.rb#828 + # pkg:gem/graphql#lib/graphql/schema.rb:828 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#143 + # pkg:gem/graphql#lib/graphql/schema.rb:143 def subscriptions(inherited: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#147 + # pkg:gem/graphql#lib/graphql/schema.rb:147 def subscriptions=(new_implementation); end # Override this method to handle lazy objects in a custom way. @@ -8808,7 +8808,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#1655 + # pkg:gem/graphql#lib/graphql/schema.rb:1655 def sync_lazy(value); end # Return the GraphQL IDL for the schema @@ -8816,14 +8816,14 @@ class GraphQL::Schema # @param context [Hash] # @return [String] # - # source://graphql//lib/graphql/schema.rb#284 + # pkg:gem/graphql#lib/graphql/schema.rb:284 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#290 + # pkg:gem/graphql#lib/graphql/schema.rb:290 def to_document; end # Returns the JSON response of {Introspection::INTROSPECTION_QUERY}. @@ -8831,15 +8831,15 @@ class GraphQL::Schema # @return [String] # @see #as_json Return a Hash representation of the schema # - # source://graphql//lib/graphql/schema.rb#257 + # pkg:gem/graphql#lib/graphql/schema.rb:257 def to_json(**args); end - # source://graphql//lib/graphql/schema.rb#166 + # pkg:gem/graphql#lib/graphql/schema.rb:166 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#179 + # pkg:gem/graphql#lib/graphql/schema.rb:179 def trace_class_for(mode, build: T.unsafe(nil)); end # Configure `trace_class` to be used whenever `context: { trace_mode: mode_name }` is requested. @@ -8855,19 +8855,19 @@ class GraphQL::Schema # @param trace_class [Class] subclass of GraphQL::Tracing::Trace # @return void # - # source://graphql//lib/graphql/schema.rb#203 + # pkg:gem/graphql#lib/graphql/schema.rb:203 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#245 + # pkg:gem/graphql#lib/graphql/schema.rb:245 def trace_modules_for(trace_mode); end # The options hash for this trace mode # # @return [Hash] # - # source://graphql//lib/graphql/schema.rb#1476 + # pkg:gem/graphql#lib/graphql/schema.rb:1476 def trace_options_for(mode); end # Mix `trace_mod` into this schema's `Trace` class so that its methods will be called at runtime. @@ -8886,13 +8886,13 @@ class GraphQL::Schema # @return [void] # @see GraphQL::Tracing::Trace Tracing::Trace for available tracing methods # - # source://graphql//lib/graphql/schema.rb#1446 + # pkg:gem/graphql#lib/graphql/schema.rb:1446 def trace_with(trace_mod, mode: T.unsafe(nil), **options); end - # source://graphql//lib/graphql/schema.rb#1413 + # pkg:gem/graphql#lib/graphql/schema.rb:1413 def tracer(new_tracer, silence_deprecation_warning: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#1426 + # pkg:gem/graphql#lib/graphql/schema.rb:1426 def tracers; end # Called at runtime when GraphQL-Ruby encounters a mismatch between the application behavior @@ -8907,10 +8907,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#1329 + # pkg:gem/graphql#lib/graphql/schema.rb:1329 def type_error(type_error, context); end - # source://graphql//lib/graphql/schema.rb#700 + # pkg:gem/graphql#lib/graphql/schema.rb:700 def type_from_ast(ast_node, context: T.unsafe(nil)); end # Build a map of `{ name => type }` and return it @@ -8918,7 +8918,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#336 + # pkg:gem/graphql#lib/graphql/schema.rb:336 def types(context = T.unsafe(nil)); end # This hook is called when a field fails an `authorized?` check. @@ -8934,7 +8934,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#1315 + # pkg:gem/graphql#lib/graphql/schema.rb:1315 def unauthorized_field(unauthorized_error); end # This hook is called when an object fails an `authorized?` check. @@ -8953,10 +8953,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#1299 + # pkg:gem/graphql#lib/graphql/schema.rb:1299 def unauthorized_object(unauthorized_error); end - # source://graphql//lib/graphql/schema.rb#656 + # pkg:gem/graphql#lib/graphql/schema.rb:656 def union_memberships(type = T.unsafe(nil)); end # Add `plugin` to this schema @@ -8964,28 +8964,28 @@ class GraphQL::Schema # @param plugin [#use] A Schema plugin # @return void # - # source://graphql//lib/graphql/schema.rb#320 + # pkg:gem/graphql#lib/graphql/schema.rb:320 def use(plugin, **kwargs); end # @api private # - # source://graphql//lib/graphql/schema.rb#601 + # pkg:gem/graphql#lib/graphql/schema.rb:601 def use_visibility_profile=(_arg0); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#605 + # pkg:gem/graphql#lib/graphql/schema.rb:605 def use_visibility_profile?; end # @api private # - # source://graphql//lib/graphql/schema.rb#1144 + # pkg:gem/graphql#lib/graphql/schema.rb:1144 def using_backtrace; end # @api private # - # source://graphql//lib/graphql/schema.rb#1144 + # pkg:gem/graphql#lib/graphql/schema.rb:1144 def using_backtrace=(_arg0); end # Validate a query string according to this schema. @@ -8993,199 +8993,199 @@ class GraphQL::Schema # @param string_or_document [String, GraphQL::Language::Nodes::Document] # @return [Array] # - # source://graphql//lib/graphql/schema.rb#855 + # pkg:gem/graphql#lib/graphql/schema.rb:855 def validate(string_or_document, rules: T.unsafe(nil), context: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema.rb#880 + # pkg:gem/graphql#lib/graphql/schema.rb:880 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#878 + # pkg:gem/graphql#lib/graphql/schema.rb:878 def validate_max_errors=(_arg0); end - # source://graphql//lib/graphql/schema.rb#842 + # pkg:gem/graphql#lib/graphql/schema.rb:842 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#840 + # pkg:gem/graphql#lib/graphql/schema.rb:840 def validate_timeout=(_arg0); end # @api private # - # source://graphql//lib/graphql/schema.rb#603 + # pkg:gem/graphql#lib/graphql/schema.rb:603 def visibility; end # @api private # - # source://graphql//lib/graphql/schema.rb#603 + # pkg:gem/graphql#lib/graphql/schema.rb:603 def visibility=(_arg0); end # @api private # - # source://graphql//lib/graphql/schema.rb#590 + # pkg:gem/graphql#lib/graphql/schema.rb:590 def visibility_profile_class; end # @api private # - # source://graphql//lib/graphql/schema.rb#601 + # pkg:gem/graphql#lib/graphql/schema.rb:601 def visibility_profile_class=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/schema.rb#1267 + # pkg:gem/graphql#lib/graphql/schema.rb:1267 def visible?(member, ctx); end # @api private # - # source://graphql//lib/graphql/schema.rb#576 + # pkg:gem/graphql#lib/graphql/schema.rb:576 def warden_class; end # @api private # - # source://graphql//lib/graphql/schema.rb#587 + # pkg:gem/graphql#lib/graphql/schema.rb:587 def warden_class=(_arg0); end private - # source://graphql//lib/graphql/schema.rb#1886 + # pkg:gem/graphql#lib/graphql/schema.rb:1886 def add_trace_options_for(mode, new_options); end # @param t [Module, Array] # @return [void] # - # source://graphql//lib/graphql/schema.rb#1903 + # pkg:gem/graphql#lib/graphql/schema.rb:1903 def add_type_and_traverse(t, root:); end # This is overridden in subclasses to check the inheritance chain # - # source://graphql//lib/graphql/schema.rb#2018 + # pkg:gem/graphql#lib/graphql/schema.rb:2018 def get_references_to(type_defn); end - # source://graphql//lib/graphql/schema.rb#1955 + # pkg:gem/graphql#lib/graphql/schema.rb:1955 def lazy_methods; end - # source://graphql//lib/graphql/schema.rb#1977 + # pkg:gem/graphql#lib/graphql/schema.rb:1977 def non_introspection_types; end - # source://graphql//lib/graphql/schema.rb#1997 + # pkg:gem/graphql#lib/graphql/schema.rb:1997 def own_directives; end - # source://graphql//lib/graphql/schema.rb#2001 + # pkg:gem/graphql#lib/graphql/schema.rb:2001 def own_instrumenters; end - # source://graphql//lib/graphql/schema.rb#2013 + # pkg:gem/graphql#lib/graphql/schema.rb:2013 def own_multiplex_analyzers; end - # source://graphql//lib/graphql/schema.rb#1985 + # pkg:gem/graphql#lib/graphql/schema.rb:1985 def own_orphan_types; end - # source://graphql//lib/graphql/schema.rb#1981 + # pkg:gem/graphql#lib/graphql/schema.rb:1981 def own_plugins; end - # source://graphql//lib/graphql/schema.rb#1989 + # pkg:gem/graphql#lib/graphql/schema.rb:1989 def own_possible_types; end - # source://graphql//lib/graphql/schema.rb#2009 + # pkg:gem/graphql#lib/graphql/schema.rb:2009 def own_query_analyzers; end - # source://graphql//lib/graphql/schema.rb#1973 + # pkg:gem/graphql#lib/graphql/schema.rb:1973 def own_references_to; end - # source://graphql//lib/graphql/schema.rb#2005 + # pkg:gem/graphql#lib/graphql/schema.rb:2005 def own_tracers; end - # source://graphql//lib/graphql/schema.rb#1969 + # pkg:gem/graphql#lib/graphql/schema.rb:1969 def own_types; end - # source://graphql//lib/graphql/schema.rb#1993 + # pkg:gem/graphql#lib/graphql/schema.rb:1993 def own_union_memberships; end end end -# source://graphql//lib/graphql/schema/addition.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:6 def references; end # Returns the value of attribute types. # - # source://graphql//lib/graphql/schema/addition.rb#6 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:6 def union_memberships; end private - # source://graphql//lib/graphql/schema/addition.rb#42 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:42 def add_directives_from(owner); end - # source://graphql//lib/graphql/schema/addition.rb#152 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:152 def add_type(type, owner:, late_types:, path:); end - # source://graphql//lib/graphql/schema/addition.rb#50 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:38 def get_local_type(name); end - # source://graphql//lib/graphql/schema/addition.rb#26 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:26 def get_type(name); end - # source://graphql//lib/graphql/schema/addition.rb#22 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:22 def references_to(thing, from:); end - # source://graphql//lib/graphql/schema/addition.rb#91 + # pkg:gem/graphql#lib/graphql/schema/addition.rb:91 def update_type_owner(owner, type); end end -# source://graphql//lib/graphql/schema/always_visible.rb#4 +# pkg:gem/graphql#lib/graphql/schema/always_visible.rb:4 module GraphQL::Schema::AlwaysVisible # @return [Boolean] # - # source://graphql//lib/graphql/schema/always_visible.rb#10 + # pkg:gem/graphql#lib/graphql/schema/always_visible.rb:10 def visible?(_member, _context); end class << self - # source://graphql//lib/graphql/schema/always_visible.rb#5 + # pkg:gem/graphql#lib/graphql/schema/always_visible.rb:5 def use(schema, **opts); end end end -# source://graphql//lib/graphql/schema/argument.rb#4 +# pkg:gem/graphql#lib/graphql/schema/argument.rb:4 class GraphQL::Schema::Argument include ::GraphQL::Schema::Member::HasPath include ::GraphQL::Schema::Member::HasAstNode @@ -9210,110 +9210,110 @@ class GraphQL::Schema::Argument # @param validates [Hash, nil] Options for building validators, if any should be applied # @return [Argument] a new instance of Argument # - # source://graphql//lib/graphql/schema/argument.rb#53 + # pkg:gem/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#160 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:160 def authorized?(obj, value, ctx); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/argument.rb#164 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:164 def authorized_as_type?(obj, value, ctx, as_type:); end # @api private # - # source://graphql//lib/graphql/schema/argument.rb#255 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:255 def coerce_into_values(parent_object, values, context, argument_values); end # @return [String] Comment for this argument # - # source://graphql//lib/graphql/schema/argument.rb#134 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:134 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#131 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:131 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#104 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:104 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#112 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:112 def default_value?; end # @return [String] Deprecation reason for this argument # - # source://graphql//lib/graphql/schema/argument.rb#143 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:143 def deprecation_reason(text = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/argument.rb#151 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:151 def deprecation_reason=(new_reason); end # @return [String] Documentation for this argument # - # source://graphql//lib/graphql/schema/argument.rb#123 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:123 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#120 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:120 def description=(_arg0); end - # source://graphql//lib/graphql/schema/argument.rb#215 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:215 def freeze; end # @return [Boolean] true if a resolver defined this argument # - # source://graphql//lib/graphql/schema/argument.rb#35 + # pkg:gem/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#14 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:14 def graphql_name; end - # source://graphql//lib/graphql/schema/argument.rb#98 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:98 def inspect; end # @return [Symbol] This argument's name in Ruby keyword arguments # - # source://graphql//lib/graphql/schema/argument.rb#29 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:29 def keyword; end - # source://graphql//lib/graphql/schema/argument.rb#316 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:316 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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`. @@ -9321,94 +9321,94 @@ class GraphQL::Schema::Argument # # @api private # - # source://graphql//lib/graphql/schema/argument.rb#223 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:223 def prepare_value(obj, value, context: T.unsafe(nil)); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/argument.rb#116 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:116 def replace_null_with_default?; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/argument.rb#209 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:209 def statically_coercible?; end - # source://graphql//lib/graphql/schema/argument.rb#197 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:197 def type; end - # source://graphql//lib/graphql/schema/argument.rb#187 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:187 def type=(new_type); end # @api private # - # source://graphql//lib/graphql/schema/argument.rb#369 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:369 def validate_default_value; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/argument.rb#156 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:156 def visible?(context); end private - # source://graphql//lib/graphql/schema/argument.rb#406 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:406 def recursively_prepare_input_object(value, type, context); end - # source://graphql//lib/graphql/schema/argument.rb#434 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:434 def validate_deprecated_or_optional(null:, deprecation_reason:); end - # source://graphql//lib/graphql/schema/argument.rb#422 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:422 def validate_input_type(input_type); end end -# source://graphql//lib/graphql/schema/argument.rb#397 +# pkg:gem/graphql#lib/graphql/schema/argument.rb:397 class GraphQL::Schema::Argument::InvalidDefaultValueError < ::GraphQL::Error # @return [InvalidDefaultValueError] a new instance of InvalidDefaultValueError # - # source://graphql//lib/graphql/schema/argument.rb#398 + # pkg:gem/graphql#lib/graphql/schema/argument.rb:398 def initialize(argument); end end -# source://graphql//lib/graphql/schema/built_in_types.rb#4 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:23 def from_document(schema_superclass, document, default_resolve:, using: T.unsafe(nil), base_types: T.unsafe(nil), relay: T.unsafe(nil)); end end end # @api private # -# source://graphql//lib/graphql/schema/build_from_definition.rb#29 +# pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:29 module GraphQL::Schema::BuildFromDefinition::Builder include ::GraphQL::EmptyObjects extend ::GraphQL::EmptyObjects @@ -9416,108 +9416,108 @@ module GraphQL::Schema::BuildFromDefinition::Builder # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#318 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:318 def args_to_kwargs(arg_owner, node); end # @api private # @raise [InvalidDocumentError] # - # source://graphql//lib/graphql/schema/build_from_definition.rb#33 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:33 def build(schema_superclass, document, default_resolve:, relay:, using: T.unsafe(nil), base_types: T.unsafe(nil)); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#448 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:448 def build_arguments(type_class, arguments, type_resolver); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#433 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:433 def build_default_value(default_value); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#255 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:255 def build_definition_from_node(definition, type_resolver, default_resolve, base_types); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#359 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:359 def build_deprecation_reason(directives); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#472 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:472 def build_directive(directive_definition, type_resolver); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#288 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:288 def build_directives(definition, ast_node, type_resolver); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#336 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:336 def build_enum_type(enum_type_definition, type_resolver, base_type); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#498 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:498 def build_fields(owner, field_definitions, type_resolver, default_resolve:); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#422 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:422 def build_input_object_type(input_object_type_definition, type_resolver, base_type); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#484 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:484 def build_interface_type(interface_type_definition, type_resolver, base_type); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#416 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:416 def build_interfaces(type_class, interface_names, type_resolver); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#403 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:403 def build_object_type(object_type_definition, type_resolver, base_type); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#533 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:533 def build_resolve_type(lookup_hash, directives, missing_type_handler); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#369 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:369 def build_scalar_type(scalar_type_definition, type_resolver, base_type, default_resolve:); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#386 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:386 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#392 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:392 def build_union_type(union_type_definition, type_resolver, base_type); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#347 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:347 def build_values(type_class, enum_value_definitions, type_resolver); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#526 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:526 def define_field_resolve_method(owner, method_name, field_name); end # @api private # - # source://graphql//lib/graphql/schema/build_from_definition.rb#300 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:300 def prepare_directives(ast_node, type_resolver); end # Modify `types`, replacing any late-bound references to built-in types @@ -9528,13 +9528,13 @@ module GraphQL::Schema::BuildFromDefinition::Builder # @api private # @return void # - # source://graphql//lib/graphql/schema/build_from_definition.rb#279 + # pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:279 def replace_late_bound_types_with_built_in(types); end end # @api private # -# source://graphql//lib/graphql/schema/build_from_definition.rb#251 +# pkg:gem/graphql#lib/graphql/schema/build_from_definition.rb:251 GraphQL::Schema::BuildFromDefinition::Builder::NullResolveType = T.let(T.unsafe(nil), Proc) # Wrap a user-provided hash of resolution behavior for easy access at runtime. @@ -9547,35 +9547,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 @@ -9587,25 +9587,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#2043 +# pkg:gem/graphql#lib/graphql/schema.rb:2043 module GraphQL::Schema::DefaultTraceClass; end # Subclasses of this can influence how {GraphQL::Execution::Interpreter} runs queries. @@ -9613,7 +9613,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 +# pkg:gem/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 @@ -9625,138 +9625,138 @@ class GraphQL::Schema::Directive < ::GraphQL::Schema::Member # @return [Directive] a new instance of Directive # - # source://graphql//lib/graphql/schema/directive.rb#122 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:122 def initialize(owner, **arguments); end # @return [GraphQL::Interpreter::Arguments] # - # source://graphql//lib/graphql/schema/directive.rb#117 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:117 def arguments; end - # source://graphql//lib/graphql/schema/directive.rb#175 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:175 def graphql_name; end # @return [GraphQL::Schema::Field, GraphQL::Schema::Argument, Class, Module] # - # source://graphql//lib/graphql/schema/directive.rb#114 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:114 def owner; end private - # source://graphql//lib/graphql/schema/directive.rb#263 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:263 def assert_has_location(location); end - # source://graphql//lib/graphql/schema/directive.rb#226 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:226 def assert_valid_owner; end class << self - # source://graphql//lib/graphql/schema/directive.rb#45 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:45 def default_directive(new_default_directive = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive.rb#55 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:55 def default_directive?; end # Return a name based on the class name, # but downcase the first letter. # - # source://graphql//lib/graphql/schema/directive.rb#24 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:24 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#60 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:60 def include?(_object, arguments, context); end - # source://graphql//lib/graphql/schema/directive.rb#32 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:32 def locations(*new_locations); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive.rb#83 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:83 def on_field?; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive.rb#87 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:87 def on_fragment?; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive.rb#91 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:91 def on_operation?; end - # source://graphql//lib/graphql/schema/directive.rb#18 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:18 def path; end - # source://graphql//lib/graphql/schema/directive.rb#99 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:99 def repeatable(new_value); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive.rb#95 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:95 def repeatable?; end # Continuing is passed as a block; `yield` to continue # - # source://graphql//lib/graphql/schema/directive.rb#70 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:70 def resolve(object, arguments, context); end # Continuing is passed as a block, yield to continue. # - # source://graphql//lib/graphql/schema/directive.rb#75 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:75 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#65 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:65 def static_include?(_arguments, _context); end - # source://graphql//lib/graphql/schema/directive.rb#79 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:79 def validate!(arguments, context); end private # @private # - # source://graphql//lib/graphql/schema/directive.rb#105 + # pkg:gem/graphql#lib/graphql/schema/directive.rb:105 def inherited(subclass); end end end -# source://graphql//lib/graphql/schema/directive.rb#191 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:191 GraphQL::Schema::Directive::ARGUMENT_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#201 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:201 GraphQL::Schema::Directive::DEFAULT_DEPRECATION_REASON = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/schema/directive/deprecated.rb#5 +# pkg:gem/graphql#lib/graphql/schema/directive/deprecated.rb:5 class GraphQL::Schema::Directive::Deprecated < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators end -# source://graphql//lib/graphql/schema/directive.rb#194 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:194 GraphQL::Schema::Directive::ENUM = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#195 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:195 GraphQL::Schema::Directive::ENUM_VALUE = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#183 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:183 GraphQL::Schema::Directive::FIELD = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#190 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:190 GraphQL::Schema::Directive::FIELD_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#184 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:184 GraphQL::Schema::Directive::FRAGMENT_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#185 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:185 GraphQL::Schema::Directive::FRAGMENT_SPREAD = T.let(T.unsafe(nil), Symbol) # An example directive to show how you might interact with the runtime. @@ -9790,7 +9790,7 @@ GraphQL::Schema::Directive::FRAGMENT_SPREAD = T.let(T.unsafe(nil), Symbol) # end # end # -# source://graphql//lib/graphql/schema/directive/feature.rb#36 +# pkg:gem/graphql#lib/graphql/schema/directive/feature.rb:36 class GraphQL::Schema::Directive::Feature < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -9804,14 +9804,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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/directive/feature.rb:49 def include?(object, arguments, context); end end end @@ -9820,45 +9820,45 @@ 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 +# pkg:gem/graphql#lib/graphql/schema/directive/flagged.rb:8 class GraphQL::Schema::Directive::Flagged < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators # @return [Flagged] a new instance of Flagged # - # source://graphql//lib/graphql/schema/directive/flagged.rb#9 + # pkg:gem/graphql#lib/graphql/schema/directive/flagged.rb:9 def initialize(target, **options); end end -# source://graphql//lib/graphql/schema/directive/flagged.rb#42 +# pkg:gem/graphql#lib/graphql/schema/directive/flagged.rb:42 module GraphQL::Schema::Directive::Flagged::VisibleByFlag # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive/flagged.rb#47 + # pkg:gem/graphql#lib/graphql/schema/directive/flagged.rb:47 def visible?(context); end class << self # @private # - # source://graphql//lib/graphql/schema/directive/flagged.rb#43 + # pkg:gem/graphql#lib/graphql/schema/directive/flagged.rb:43 def included(schema_class); end end end -# source://graphql//lib/graphql/schema/directive.rb#186 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:186 GraphQL::Schema::Directive::INLINE_FRAGMENT = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#197 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:197 GraphQL::Schema::Directive::INPUT_FIELD_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#196 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:196 GraphQL::Schema::Directive::INPUT_OBJECT = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#192 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:192 GraphQL::Schema::Directive::INTERFACE = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive/include.rb#5 +# pkg:gem/graphql#lib/graphql/schema/directive/include.rb:5 class GraphQL::Schema::Directive::Include < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -9866,58 +9866,58 @@ class GraphQL::Schema::Directive::Include < ::GraphQL::Schema::Directive class << self # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive/include.rb#19 + # pkg:gem/graphql#lib/graphql/schema/directive/include.rb:19 def static_include?(args, ctx); end end end -# source://graphql//lib/graphql/schema/directive.rb#119 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:119 class GraphQL::Schema::Directive::InvalidArgumentError < ::GraphQL::Error; end -# source://graphql//lib/graphql/schema/directive.rb#179 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:179 GraphQL::Schema::Directive::LOCATIONS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/schema/directive.rb#202 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:202 GraphQL::Schema::Directive::LOCATION_DESCRIPTIONS = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql/schema/directive.rb#181 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:181 GraphQL::Schema::Directive::MUTATION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#189 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:189 GraphQL::Schema::Directive::OBJECT = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive/one_of.rb#5 +# pkg:gem/graphql#lib/graphql/schema/directive/one_of.rb:5 class GraphQL::Schema::Directive::OneOf < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators # @return [OneOf] a new instance of OneOf # - # source://graphql//lib/graphql/schema/directive/one_of.rb#10 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/directive/one_of.rb:17 def one_of?; end end -# source://graphql//lib/graphql/schema/directive.rb#180 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:180 GraphQL::Schema::Directive::QUERY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#188 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:188 GraphQL::Schema::Directive::SCALAR = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#187 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:187 GraphQL::Schema::Directive::SCHEMA = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#182 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:182 GraphQL::Schema::Directive::SUBSCRIPTION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive/skip.rb#5 +# pkg:gem/graphql#lib/graphql/schema/directive/skip.rb:5 class GraphQL::Schema::Directive::Skip < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -9925,12 +9925,12 @@ class GraphQL::Schema::Directive::Skip < ::GraphQL::Schema::Directive class << self # @return [Boolean] # - # source://graphql//lib/graphql/schema/directive/skip.rb#19 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/schema/directive/specified_by.rb:5 class GraphQL::Schema::Directive::SpecifiedBy < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -9951,7 +9951,7 @@ end # username @transform(by: "upcase") # } # -# source://graphql//lib/graphql/schema/directive/transform.rb#20 +# pkg:gem/graphql#lib/graphql/schema/directive/transform.rb:20 class GraphQL::Schema::Directive::Transform < ::GraphQL::Schema::Directive extend ::GraphQL::Schema::Member::HasArguments::ClassConfigured::InheritedArguments extend ::GraphQL::Schema::Member::HasValidators::ClassConfigured::ClassValidators @@ -9959,30 +9959,30 @@ class GraphQL::Schema::Directive::Transform < ::GraphQL::Schema::Directive class << self # Implement the Directive API # - # source://graphql//lib/graphql/schema/directive/transform.rb#36 + # pkg:gem/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 +# pkg:gem/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#193 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:193 GraphQL::Schema::Directive::UNION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema/directive.rb#198 +# pkg:gem/graphql#lib/graphql/schema/directive.rb:198 GraphQL::Schema::Directive::VARIABLE_DEFINITION = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/schema.rb#80 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema.rb:81 def duplicated_name; end end @@ -10004,14 +10004,14 @@ end # value :PEPPERS # end # -# source://graphql//lib/graphql/schema/enum.rb#22 +# pkg:gem/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#130 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:130 def all_enum_value_definitions; end # Called by the runtime with incoming string representations from a query. @@ -10022,7 +10022,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#216 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:216 def coerce_input(value_name, ctx); end # Called by the runtime when a field returns a value to give back to the client. @@ -10033,28 +10033,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#199 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:199 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#154 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:154 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#93 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:93 def enum_values(context = T.unsafe(nil)); end # @private # - # source://graphql//lib/graphql/schema/enum.rb#231 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:231 def inherited(child_class); end - # source://graphql//lib/graphql/schema/enum.rb#176 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:176 def kind; end - # source://graphql//lib/graphql/schema/enum.rb#180 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:180 def validate_non_null_input(value_name, ctx, max_errors: T.unsafe(nil)); end # Define a value for this enum @@ -10070,23 +10070,23 @@ 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#69 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:69 def value(*args, value_method: T.unsafe(nil), **kwargs, &block); end - # source://graphql//lib/graphql/schema/enum.rb#164 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:164 def value_methods(new_value = T.unsafe(nil)); end # @return [Hash GraphQL::Schema::EnumValue>] Possible values of this enum, keyed by name. # - # source://graphql//lib/graphql/schema/enum.rb#149 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:149 def values(context = T.unsafe(nil)); end private - # source://graphql//lib/graphql/schema/enum.rb#247 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:247 def generate_value_method(value, configured_value_method); end - # source://graphql//lib/graphql/schema/enum.rb#243 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:243 def own_values; end end end @@ -10094,11 +10094,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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:52 def initialize(enum_type); end end @@ -10111,11 +10111,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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/enum.rb:34 def initialize(value:, enum:, context:, authorized:); end end @@ -10137,7 +10137,7 @@ end # enum_value_class CustomEnumValue # end # -# source://graphql//lib/graphql/schema/enum_value.rb#22 +# pkg:gem/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 @@ -10146,43 +10146,43 @@ class GraphQL::Schema::EnumValue < ::GraphQL::Schema::Member # @return [EnumValue] a new instance of EnumValue # - # source://graphql//lib/graphql/schema/enum_value.rb#33 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/enum_value.rb:81 def authorized?(_ctx); end - # source://graphql//lib/graphql/schema/enum_value.rb#62 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/enum_value.rb:28 def graphql_name; end - # source://graphql//lib/graphql/schema/enum_value.rb#76 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/enum_value.rb:31 def owner; end - # source://graphql//lib/graphql/schema/enum_value.rb#69 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/enum_value.rb:80 def visible?(_ctx); end end -# source://graphql//lib/graphql/schema/field/connection_extension.rb#5 +# pkg:gem/graphql#lib/graphql/schema/field/connection_extension.rb:5 class GraphQL::Schema::Field include ::GraphQL::Schema::Member::HasArguments include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader @@ -10229,12 +10229,12 @@ class GraphQL::Schema::Field # @param validates [Array] Configurations for validating this field # @return [Field] a new instance of Field # - # source://graphql//lib/graphql/schema/field.rb#258 + # pkg:gem/graphql#lib/graphql/schema/field.rb:258 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#669 + # pkg:gem/graphql#lib/graphql/schema/field.rb:669 def authorized?(object, args, context); end # If true, subscription updates with this field can be shared between viewers @@ -10242,69 +10242,69 @@ class GraphQL::Schema::Field # @return [Boolean, nil] # @see GraphQL::Subscriptions::BroadcastAnalyzer # - # source://graphql//lib/graphql/schema/field.rb#400 + # pkg:gem/graphql#lib/graphql/schema/field.rb:400 def broadcastable?; end - # source://graphql//lib/graphql/schema/field.rb#513 + # pkg:gem/graphql#lib/graphql/schema/field.rb:513 def calculate_complexity(query:, nodes:, child_complexity:); end # @param text [String] # @return [String, nil] # - # source://graphql//lib/graphql/schema/field.rb#426 + # pkg:gem/graphql#lib/graphql/schema/field.rb:426 def comment(text = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/field.rb#563 + # pkg:gem/graphql#lib/graphql/schema/field.rb:563 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#160 + # pkg:gem/graphql#lib/graphql/schema/field.rb:160 def connection?; end # @return [Integer, nil] Applied to connections if {#has_default_page_size?} # - # source://graphql//lib/graphql/schema/field.rb#609 + # pkg:gem/graphql#lib/graphql/schema/field.rb:609 def default_page_size; end # @return [String, nil] # - # source://graphql//lib/graphql/schema/field.rb#45 + # pkg:gem/graphql#lib/graphql/schema/field.rb:45 def deprecation_reason; end # @param text [String] # @return [String] # - # source://graphql//lib/graphql/schema/field.rb#412 + # pkg:gem/graphql#lib/graphql/schema/field.rb:412 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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/field.rb:33 def dig_keys; end - # source://graphql//lib/graphql/schema/field.rb#49 + # pkg:gem/graphql#lib/graphql/schema/field.rb:49 def directives; end # Returns the value of attribute dynamic_introspection. # - # source://graphql//lib/graphql/schema/field.rb#395 + # pkg:gem/graphql#lib/graphql/schema/field.rb:395 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#395 + # pkg:gem/graphql#lib/graphql/schema/field.rb:395 def dynamic_introspection=(_arg0); end # Calls the definition block, if one was given. @@ -10314,7 +10314,7 @@ class GraphQL::Schema::Field # @api private # @return [self] # - # source://graphql//lib/graphql/schema/field.rb#381 + # pkg:gem/graphql#lib/graphql/schema/field.rb:381 def ensure_loaded; end # Add `extension` to this field, initialized with `options` if provided. @@ -10327,7 +10327,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#478 + # pkg:gem/graphql#lib/graphql/schema/field.rb:478 def extension(extension_class, **options); end # Read extension instances from this field, @@ -10343,7 +10343,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#453 + # pkg:gem/graphql#lib/graphql/schema/field.rb:453 def extensions(new_extensions = T.unsafe(nil)); end # Read extras (as symbols) from this field, @@ -10352,103 +10352,103 @@ class GraphQL::Schema::Field # @param new_extras [Array] Add extras to this field # @return [Array] # - # source://graphql//lib/graphql/schema/field.rb#495 + # pkg:gem/graphql#lib/graphql/schema/field.rb:495 def extras(new_extras = T.unsafe(nil)); end # @param ctx [GraphQL::Query::Context] # - # source://graphql//lib/graphql/schema/field.rb#824 + # pkg:gem/graphql#lib/graphql/schema/field.rb:824 def fetch_extra(extra_name, ctx); end - # source://graphql//lib/graphql/schema/field.rb#619 + # pkg:gem/graphql#lib/graphql/schema/field.rb:619 def freeze; end # @return [String] the GraphQL name for this field, camelized unless `camelize: false` is provided # - # source://graphql//lib/graphql/schema/field.rb#22 + # pkg:gem/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#604 + # pkg:gem/graphql#lib/graphql/schema/field.rb:604 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#588 + # pkg:gem/graphql#lib/graphql/schema/field.rb:588 def has_max_page_size?; end # Returns the value of attribute hash_key. # - # source://graphql//lib/graphql/schema/field.rb#32 + # pkg:gem/graphql#lib/graphql/schema/field.rb:32 def hash_key; end - # source://graphql//lib/graphql/schema/field.rb#97 + # pkg:gem/graphql#lib/graphql/schema/field.rb:97 def inspect; end # @return [Boolean] Is this field a predefined introspection field? # - # source://graphql//lib/graphql/schema/field.rb#93 + # pkg:gem/graphql#lib/graphql/schema/field.rb:93 def introspection?; end # @return [Integer, nil] Applied to connections if {#has_max_page_size?} # - # source://graphql//lib/graphql/schema/field.rb#593 + # pkg:gem/graphql#lib/graphql/schema/field.rb:593 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#224 + # pkg:gem/graphql#lib/graphql/schema/field.rb:224 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 + # pkg:gem/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 + # pkg:gem/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#101 + # pkg:gem/graphql#lib/graphql/schema/field.rb:101 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 + # pkg:gem/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#85 + # pkg:gem/graphql#lib/graphql/schema/field.rb:85 def original_name; end # @return [Class] The thing this field was defined on (type, mutation, resolver) # - # source://graphql//lib/graphql/schema/field.rb#71 + # pkg:gem/graphql#lib/graphql/schema/field.rb:71 def owner; end # @return [Class] The thing this field was defined on (type, mutation, resolver) # - # source://graphql//lib/graphql/schema/field.rb#71 + # pkg:gem/graphql#lib/graphql/schema/field.rb:71 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#74 + # pkg:gem/graphql#lib/graphql/schema/field.rb:74 def owner_type; end # @return Boolean # - # source://graphql//lib/graphql/schema/field.rb#219 + # pkg:gem/graphql#lib/graphql/schema/field.rb:219 def relay_node_field; end # @return Boolean # - # source://graphql//lib/graphql/schema/field.rb#221 + # pkg:gem/graphql#lib/graphql/schema/field.rb:221 def relay_nodes_field; end # This method is called by the interpreter for each field. @@ -10458,39 +10458,39 @@ class GraphQL::Schema::Field # @param ctx [GraphQL::Query::Context] # @param object [GraphQL::Schema::Object] An instance of some type class, wrapping an application object # - # source://graphql//lib/graphql/schema/field.rb#718 + # pkg:gem/graphql#lib/graphql/schema/field.rb:718 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#88 + # pkg:gem/graphql#lib/graphql/schema/field.rb:88 def resolver; end # @return [Symbol] The method on the type to look up # - # source://graphql//lib/graphql/schema/field.rb#36 + # pkg:gem/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#183 + # pkg:gem/graphql#lib/graphql/schema/field.rb:183 def scoped?; end # @return [String, nil] # - # source://graphql//lib/graphql/schema/field.rb#107 + # pkg:gem/graphql#lib/graphql/schema/field.rb:107 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#110 + # pkg:gem/graphql#lib/graphql/schema/field.rb:110 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#104 + # pkg:gem/graphql#lib/graphql/schema/field.rb:104 def trace; end # Get or set the return type of this field. @@ -10500,33 +10500,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#635 + # pkg:gem/graphql#lib/graphql/schema/field.rb:635 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#628 + # pkg:gem/graphql#lib/graphql/schema/field.rb:628 def type=(_arg0); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/field.rb#661 + # pkg:gem/graphql#lib/graphql/schema/field.rb:661 def visible?(context); end private - # source://graphql//lib/graphql/schema/field.rb#946 + # pkg:gem/graphql#lib/graphql/schema/field.rb:946 def apply_own_complexity_to(child_complexity, query, nodes); end - # source://graphql//lib/graphql/schema/field.rb#836 + # pkg:gem/graphql#lib/graphql/schema/field.rb:836 def assert_satisfactory_implementation(receiver, method_name, ruby_kwargs); end - # source://graphql//lib/graphql/schema/field.rb#923 + # pkg:gem/graphql#lib/graphql/schema/field.rb:923 def run_extensions_before_resolve(obj, args, ctx, extended, idx: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/field.rb#964 + # pkg:gem/graphql#lib/graphql/schema/field.rb:964 def set_pagination_extensions(connection_extension:); end # Wrap execution with hooks. @@ -10534,7 +10534,7 @@ class GraphQL::Schema::Field # # @return [Object] Whatever the # - # source://graphql//lib/graphql/schema/field.rb#890 + # pkg:gem/graphql#lib/graphql/schema/field.rb:890 def with_extensions(obj, args, ctx); end class << self @@ -10548,7 +10548,7 @@ class GraphQL::Schema::Field # end # @return [Class] A {FieldExtension} subclass for implementing pagination behavior. # - # source://graphql//lib/graphql/schema/field.rb#210 + # pkg:gem/graphql#lib/graphql/schema/field.rb:210 def connection_extension(new_extension_class = T.unsafe(nil)); end # Create a field instance from a list of arguments, keyword arguments, and a block. @@ -10564,92 +10564,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#123 + # pkg:gem/graphql#lib/graphql/schema/field.rb:123 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/field/connection_extension.rb:15 def resolve(object:, arguments:, context:); end end -# source://graphql//lib/graphql/schema/field.rb#876 +# pkg:gem/graphql#lib/graphql/schema/field.rb:876 class GraphQL::Schema::Field::ExtendedState # @return [ExtendedState] a new instance of ExtendedState # - # source://graphql//lib/graphql/schema/field.rb#877 + # pkg:gem/graphql#lib/graphql/schema/field.rb:877 def initialize(args, object); end # Returns the value of attribute added_extras. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 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#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def added_extras=(_arg0); end # Returns the value of attribute arguments. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def arguments; end # Sets the attribute arguments # # @param value the value to set the attribute arguments to. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def arguments=(_arg0); end # Returns the value of attribute memos. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def memos; end # Sets the attribute memos # # @param value the value to set the attribute memos to. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def memos=(_arg0); end # Returns the value of attribute object. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def object; end # Sets the attribute object # # @param value the value to set the attribute object to. # - # source://graphql//lib/graphql/schema/field.rb#884 + # pkg:gem/graphql#lib/graphql/schema/field.rb:884 def object=(_arg0); end end -# source://graphql//lib/graphql/schema/field.rb#18 +# pkg:gem/graphql#lib/graphql/schema/field.rb:18 class GraphQL::Schema::Field::FieldImplementationFailed < ::GraphQL::Error; end -# source://graphql//lib/graphql/schema/field.rb#627 +# pkg:gem/graphql#lib/graphql/schema/field.rb:627 class GraphQL::Schema::Field::MissingReturnTypeError < ::GraphQL::Error; end -# source://graphql//lib/graphql/schema/field/scope_extension.rb#6 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/field/scope_extension.rb:7 def after_resolve(object:, arguments:, context:, value:, memo:); end end @@ -10661,7 +10661,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 +# pkg:gem/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. @@ -10670,17 +10670,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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/field_extension.rb:19 def added_default_arguments; end # @api private # - # source://graphql//lib/graphql/schema/field_extension.rb#117 + # pkg:gem/graphql#lib/graphql/schema/field_extension.rb:117 def added_extras; end # Called after the field's definition block has been executed. @@ -10688,12 +10688,12 @@ class GraphQL::Schema::FieldExtension # # @return [void] # - # source://graphql//lib/graphql/schema/field_extension.rb#88 + # pkg:gem/graphql#lib/graphql/schema/field_extension.rb:88 def after_define; end # @api private # - # source://graphql//lib/graphql/schema/field_extension.rb#92 + # pkg:gem/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, @@ -10708,7 +10708,7 @@ class GraphQL::Schema::FieldExtension # @param value [Object] Whatever the field previously returned # @return [Object] The return value for this field. # - # source://graphql//lib/graphql/schema/field_extension.rb#148 + # pkg:gem/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. @@ -10716,17 +10716,17 @@ class GraphQL::Schema::FieldExtension # # @return [void] # - # source://graphql//lib/graphql/schema/field_extension.rb#82 + # pkg:gem/graphql#lib/graphql/schema/field_extension.rb:82 def apply; end # @return [GraphQL::Schema::Field] # - # source://graphql//lib/graphql/schema/field_extension.rb#13 + # pkg:gem/graphql#lib/graphql/schema/field_extension.rb:13 def field; end # @return [Object] # - # source://graphql//lib/graphql/schema/field_extension.rb#16 + # pkg:gem/graphql#lib/graphql/schema/field_extension.rb:16 def options; end # Called before resolving {#field}. It should either: @@ -10744,19 +10744,19 @@ class GraphQL::Schema::FieldExtension # @yieldparam memo [Object] Any extension-specific value which will be passed to {#after_resolve} later # @yieldparam object [Object] The object to continue resolving the field on # - # source://graphql//lib/graphql/schema/field_extension.rb#133 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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, @@ -10766,29 +10766,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/find_inherited_value.rb:9 def included(child_cls); end end end @@ -10804,87 +10804,87 @@ end # @example Finding object types # MySchema.find("SomeObjectType") # -# source://graphql//lib/graphql/schema/finder.rb#19 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:22 def initialize(schema); end - # source://graphql//lib/graphql/schema/finder.rb#26 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:26 def find(path); end private - # source://graphql//lib/graphql/schema/finder.rb#57 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:57 def find_in_directive(directive, path:); end - # source://graphql//lib/graphql/schema/finder.rb#137 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:137 def find_in_enum_type(enum_type, path:); end - # source://graphql//lib/graphql/schema/finder.rb#103 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:103 def find_in_field(field, path:); end - # source://graphql//lib/graphql/schema/finder.rb#90 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:90 def find_in_fields_type(type, kind:, path:); end - # source://graphql//lib/graphql/schema/finder.rb#120 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:120 def find_in_input_object(input_object, path:); end - # source://graphql//lib/graphql/schema/finder.rb#68 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/finder.rb:55 def schema; end end -# source://graphql//lib/graphql/schema/finder.rb#20 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/has_single_input_argument.rb:47 def dummy; end - # source://graphql//lib/graphql/schema/has_single_input_argument.rb#58 + # pkg:gem/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 + # pkg:gem/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 @@ -10892,16 +10892,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/has_single_input_argument.rb:66 def own_field_arguments; end private @@ -10911,11 +10911,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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/schema/input_object.rb:4 class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader include ::GraphQL::Dig @@ -10930,7 +10930,7 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # @return [InputObject] a new instance of InputObject # - # source://graphql//lib/graphql/schema/input_object.rb#29 + # pkg:gem/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 @@ -10938,141 +10938,141 @@ class GraphQL::Schema::InputObject < ::GraphQL::Schema::Member # # @param key [Symbol, String] # - # source://graphql//lib/graphql/schema/input_object.rb#88 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:88 def [](key); end - # source://graphql//lib/graphql/schema/input_object.rb#27 - def any?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:27 + def any?(*_arg0, **_arg1, &_arg2); end # @return [GraphQL::Execution::Interpereter::Arguments] The underlying arguments instance # - # source://graphql//lib/graphql/schema/input_object.rb#24 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:22 def context; end - # source://graphql//lib/graphql/schema/input_object.rb#56 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:56 def deconstruct_keys(keys = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/input_object.rb#27 - def each(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:27 + def each(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/schema/input_object.rb#27 - def empty?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:27 + def empty?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/input_object.rb#98 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:98 def key?(key); end - # source://graphql//lib/graphql/schema/input_object.rb#27 - def keys(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:27 + def keys(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/schema/input_object.rb#27 - def map(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:27 + def map(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/schema/input_object.rb#66 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:66 def prepare; end - # source://graphql//lib/graphql/schema/input_object.rb#48 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:48 def to_h; end - # source://graphql//lib/graphql/schema/input_object.rb#52 + # pkg:gem/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#103 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:103 def to_kwargs; end - # source://graphql//lib/graphql/schema/input_object.rb#70 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:70 def unwrap_value(value); end # @api private # - # source://graphql//lib/graphql/schema/input_object.rb#108 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:108 def validate_for(context); end - # source://graphql//lib/graphql/schema/input_object.rb#27 - def values(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:27 + def values(*_arg0, **_arg1, &_arg2); end private - # source://graphql//lib/graphql/schema/input_object.rb#307 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:307 def overwrite_argument(key, value); end class << self - # source://graphql//lib/graphql/schema/input_object.rb#143 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:143 def argument(*args, **kwargs, &block); end - # source://graphql//lib/graphql/schema/input_object.rb#281 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:281 def arguments(context = T.unsafe(nil), require_defined_arguments = T.unsafe(nil)); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/input_object.rb#116 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:116 def authorized?(obj, value, ctx); end - # source://graphql//lib/graphql/schema/input_object.rb#231 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:231 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#249 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:249 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#271 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:271 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#277 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:277 def has_no_arguments?; end - # source://graphql//lib/graphql/schema/input_object.rb#160 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:160 def kind; end - # source://graphql//lib/graphql/schema/input_object.rb#130 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:130 def one_of; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/input_object.rb#139 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:139 def one_of?; end - # source://graphql//lib/graphql/schema/input_object.rb#167 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:167 def validate_non_null_input(input, ctx, max_errors: T.unsafe(nil)); end private - # source://graphql//lib/graphql/schema/input_object.rb#299 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:299 def define_accessor_method(method_name); end # Suppress redefinition warning for objectId arguments # - # source://graphql//lib/graphql/schema/input_object.rb#291 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:291 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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/input_object.rb:15 def initialize(input_object_type); end end -# source://graphql//lib/graphql/schema/interface.rb#4 +# pkg:gem/graphql#lib/graphql/schema/interface.rb:4 module GraphQL::Schema::Interface include ::GraphQL::Schema::Member::GraphQLTypeNames extend ::GraphQL::Schema::FindInheritedValue @@ -11091,11 +11091,11 @@ module GraphQL::Schema::Interface extend ::GraphQL::Schema::Member::HasInterfaces extend ::GraphQL::Schema::Interface::DefinitionMethods - # source://graphql//lib/graphql/schema/interface.rb#120 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:120 def unwrap; end end -# source://graphql//lib/graphql/schema/interface.rb#6 +# pkg:gem/graphql#lib/graphql/schema/interface.rb:6 module GraphQL::Schema::Interface::DefinitionMethods include ::GraphQL::Schema::FindInheritedValue include ::GraphQL::EmptyObjects @@ -11116,15 +11116,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#23 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:23 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#50 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:50 def included(child_class); end - # source://graphql//lib/graphql/schema/interface.rb#113 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:113 def kind; end # Register other Interface or Object types as implementers of this Interface. @@ -11135,41 +11135,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#93 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:93 def orphan_types(*types); end - # source://graphql//lib/graphql/schema/interface.rb#41 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:41 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#37 + # pkg:gem/graphql#lib/graphql/schema/interface.rb:37 def visible?(context); end end -# source://graphql//lib/graphql/schema/introspection_system.rb#4 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:7 def initialize(schema); end - # source://graphql//lib/graphql/schema/introspection_system.rb#59 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:59 def dynamic_field(name:); end - # source://graphql//lib/graphql/schema/introspection_system.rb#55 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:55 def dynamic_fields; end - # source://graphql//lib/graphql/schema/introspection_system.rb#51 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:51 def entry_point(name:); end - # source://graphql//lib/graphql/schema/introspection_system.rb#47 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:5 def possible_types; end # The introspection system is prepared with a bunch of LateBoundTypes. @@ -11179,45 +11179,45 @@ class GraphQL::Schema::IntrospectionSystem # @api private # @return void # - # source://graphql//lib/graphql/schema/introspection_system.rb#69 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:121 def dup_type_class(type_class); end - # source://graphql//lib/graphql/schema/introspection_system.rb#115 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:107 def load_constant(class_name); end - # source://graphql//lib/graphql/schema/introspection_system.rb#90 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/introspection_system.rb:138 def initialize(object_class:, inner_resolve:); end - # source://graphql//lib/graphql/schema/introspection_system.rb#143 + # pkg:gem/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 +# pkg:gem/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. @@ -11225,58 +11225,58 @@ class GraphQL::Schema::InvalidDocumentError < ::GraphQL::Error; end # # @api Private # -# source://graphql//lib/graphql/schema/late_bound_type.rb#7 +# pkg:gem/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 + # pkg:gem/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#9 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/late_bound_type.rb:32 def inspect; end # @api Private # - # source://graphql//lib/graphql/schema/late_bound_type.rb#8 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#40 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/late_bound_type.rb:16 def unwrap; end end @@ -11285,48 +11285,48 @@ end # # @see Schema::Member::TypeSystemHelpers#to_list_type Create a list type from another GraphQL type # -# source://graphql//lib/graphql/schema/list.rb#8 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/list.rb:39 def coerce_input(value, ctx); end - # source://graphql//lib/graphql/schema/list.rb#35 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/list.rb:26 def graphql_name; end # @return [GraphQL::TypeKinds::LIST] # - # source://graphql//lib/graphql/schema/list.rb#12 + # pkg:gem/graphql#lib/graphql/schema/list.rb:12 def kind; end # @return [true] # - # source://graphql//lib/graphql/schema/list.rb#17 + # pkg:gem/graphql#lib/graphql/schema/list.rb:17 def list?; end - # source://graphql//lib/graphql/schema/list.rb#21 + # pkg:gem/graphql#lib/graphql/schema/list.rb:21 def to_type_signature; end - # source://graphql//lib/graphql/schema/list.rb#48 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/list.rb:79 def add_max_errors_reached_message(result); end - # source://graphql//lib/graphql/schema/list.rb#70 + # pkg:gem/graphql#lib/graphql/schema/list.rb:70 def ensure_array(value); end end @@ -11337,7 +11337,7 @@ end # # @see GraphQL::Schema.from_introspection for a public API # -# source://graphql//lib/graphql/schema/loader.rb#10 +# pkg:gem/graphql#lib/graphql/schema/loader.rb:10 module GraphQL::Schema::Loader extend ::GraphQL::Schema::Loader @@ -11346,33 +11346,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 + # pkg:gem/graphql#lib/graphql/schema/loader.rb:16 def load(introspection_result); end class << self - # source://graphql//lib/graphql/schema/loader.rb#197 + # pkg:gem/graphql#lib/graphql/schema/loader.rb:197 def build_arguments(arg_owner, args, type_resolver); end - # source://graphql//lib/graphql/schema/loader.rb#173 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/loader.rb:160 def define_directive(directive, type_resolver); end - # source://graphql//lib/graphql/schema/loader.rb#99 + # pkg:gem/graphql#lib/graphql/schema/loader.rb:99 def define_type(type, type_resolver); end - # source://graphql//lib/graphql/schema/loader.rb#78 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/loader.rb:59 def resolve_type(types, type); end end end -# source://graphql//lib/graphql/schema/loader.rb#54 +# pkg:gem/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, @@ -11380,7 +11380,7 @@ GraphQL::Schema::Loader::NullScalarCoerce = T.let(T.unsafe(nil), Proc) # # @api private # -# source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#7 +# pkg:gem/graphql#lib/graphql/schema/member/base_dsl_methods.rb:7 class GraphQL::Schema::Member include ::GraphQL::Schema::Member::GraphQLTypeNames extend ::GraphQL::Schema::FindInheritedValue @@ -11400,7 +11400,7 @@ end # @api private # @see Classes that extend this, eg {GraphQL::Schema::Object} # -# source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#11 +# pkg:gem/graphql#lib/graphql/schema/member/base_dsl_methods.rb:11 module GraphQL::Schema::Member::BaseDSLMethods include ::GraphQL::Schema::FindInheritedValue include ::GraphQL::EmptyObjects @@ -11408,7 +11408,7 @@ module GraphQL::Schema::Member::BaseDSLMethods # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#129 + # pkg:gem/graphql#lib/graphql/schema/member/base_dsl_methods.rb:129 def authorized?(object, context); end # Call this method to provide a new comment; OR @@ -11418,7 +11418,7 @@ module GraphQL::Schema::Member::BaseDSLMethods # @param new_comment [String] # @return [String, nil] # - # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#57 + # pkg:gem/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. @@ -11427,12 +11427,12 @@ module GraphQL::Schema::Member::BaseDSLMethods # # @api private # - # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#117 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/base_dsl_methods.rb:133 def default_relay; end # Call this method to provide a new description; OR @@ -11442,7 +11442,7 @@ module GraphQL::Schema::Member::BaseDSLMethods # @param new_description [String] # @return [String] # - # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#43 + # pkg:gem/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 @@ -11454,19 +11454,19 @@ module GraphQL::Schema::Member::BaseDSLMethods # @param new_name [String] # @return [String] # - # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#20 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -11474,37 +11474,37 @@ module GraphQL::Schema::Member::BaseDSLMethods # @api private # @return [Class] # - # source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#102 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/base_dsl_methods.rb:139 def graphql_name=(_arg0); end end @@ -11513,84 +11513,84 @@ end # # @api private # -# source://graphql//lib/graphql/schema/member/base_dsl_methods.rb#69 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -11601,25 +11601,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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:5 module GraphQL::Schema::Member::HasArguments include ::GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader @@ -11630,36 +11630,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -11672,55 +11672,55 @@ 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 + # pkg:gem/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 + # pkg:gem/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#428 + # pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:428 def own_arguments; end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:11 def extended(cls); end # @private # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#6 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:338 def load_application_object(argument, id, context); end # Called when an argument's `loads:` configuration fails to fetch an application object. @@ -11730,7 +11730,7 @@ module GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader # @param err [GraphQL::LoadApplicationObjectFailedError] The error that occurred # @return [Object, nil] If a value is returned, it will be used instead of the failed load # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#422 + # pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:422 def load_application_object_failed(err); end # Look up the corresponding object for a provided ID. @@ -11741,78 +11741,78 @@ module GraphQL::Schema::Member::HasArguments::ArgumentObjectLoader # @param id [String] A client-provided to look up # @param type [Class, Module] A GraphQL type definition # - # source://graphql//lib/graphql/schema/member/has_arguments.rb#334 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:119 def any_arguments?; end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#103 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:170 def any_arguments?; end - # source://graphql//lib/graphql/schema/member/has_arguments.rb#152 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#427 +# pkg:gem/graphql#lib/graphql/schema/member/has_arguments.rb:427 GraphQL::Schema::Member::HasArguments::NO_ARGUMENTS = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql/schema/member/has_ast_node.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_ast_node.rb:6 def extended(child_cls); end end end @@ -11821,7 +11821,7 @@ end # # @api public # -# source://graphql//lib/graphql/schema/member/has_dataloader.rb#8 +# pkg:gem/graphql#lib/graphql/schema/member/has_dataloader.rb:8 module GraphQL::Schema::Member::HasDataloader # A shortcut method for loading a key from a source. # Identical to `dataloader.with(source_class, *source_args).load(load_key)` @@ -11831,7 +11831,7 @@ module GraphQL::Schema::Member::HasDataloader # @param source_args [Array] Any extra parameters defined in `source_class`'s `initialize` method # @param source_class [Class] # - # source://graphql//lib/graphql/schema/member/has_dataloader.rb#19 + # pkg:gem/graphql#lib/graphql/schema/member/has_dataloader.rb:19 def dataload(source_class, *source_args, load_key); end # Look up an associated record using a Rails association (via {Dataloader::ActiveRecordAssociationSource}) @@ -11846,7 +11846,7 @@ module GraphQL::Schema::Member::HasDataloader # @param scope [ActiveRecord::Relation] A scope to look up the associated record in # @return [ActiveRecord::Base, nil] The associated record, if there is one # - # source://graphql//lib/graphql/schema/member/has_dataloader.rb#51 + # pkg:gem/graphql#lib/graphql/schema/member/has_dataloader.rb:51 def dataload_association(record = T.unsafe(nil), association_name, scope: T.unsafe(nil)); end # Find an object with ActiveRecord via {Dataloader::ActiveRecordSource}. @@ -11861,45 +11861,45 @@ module GraphQL::Schema::Member::HasDataloader # @param model [Class] # @return [ActiveRecord::Base, nil] # - # source://graphql//lib/graphql/schema/member/has_dataloader.rb#32 + # pkg:gem/graphql#lib/graphql/schema/member/has_dataloader.rb:32 def dataload_record(model, find_by_value, find_by: T.unsafe(nil)); end # @api public # @return [GraphQL::Dataloader] The dataloader for the currently-running query # - # source://graphql//lib/graphql/schema/member/has_dataloader.rb#10 + # pkg:gem/graphql#lib/graphql/schema/member/has_dataloader.rb:10 def dataloader; end end -# source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_deprecation_reason.rb:12 def deprecation_reason=(text); end class << self # @private # - # source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#22 + # pkg:gem/graphql#lib/graphql/schema/member/has_deprecation_reason.rb:22 def extended(child_class); end end end -# source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#27 +# pkg:gem/graphql#lib/graphql/schema/member/has_deprecation_reason.rb:27 module GraphQL::Schema::Member::HasDeprecationReason::ClassMethods - # source://graphql//lib/graphql/schema/member/has_deprecation_reason.rb#28 + # pkg:gem/graphql#lib/graphql/schema/member/has_deprecation_reason.rb:28 def deprecation_reason(new_reason = T.unsafe(nil)); end end -# source://graphql//lib/graphql/schema/member/has_directives.rb#6 +# pkg:gem/graphql#lib/graphql/schema/member/has_directives.rb:6 module GraphQL::Schema::Member::HasDirectives # Create an instance of `dir_class` for `self`, using `options`. # @@ -11907,13 +11907,13 @@ module GraphQL::Schema::Member::HasDirectives # # @return [void] # - # source://graphql//lib/graphql/schema/member/has_directives.rb#22 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_directives.rb:36 def directives; end - # source://graphql//lib/graphql/schema/member/has_directives.rb#12 + # pkg:gem/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 @@ -11921,36 +11921,36 @@ module GraphQL::Schema::Member::HasDirectives # @param dir_class [Class] # @return [viod] # - # source://graphql//lib/graphql/schema/member/has_directives.rb#31 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_directives.rb:7 def extended(child_cls); end - # source://graphql//lib/graphql/schema/member/has_directives.rb#50 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_directives.rb:46 def remove_directive(directives, directive_class); end private @@ -11963,14 +11963,14 @@ module GraphQL::Schema::Member::HasDirectives # @param target [Array] # @return [void] # - # source://graphql//lib/graphql/schema/member/has_directives.rb#99 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/schema/member/has_fields.rb:7 module GraphQL::Schema::Member::HasFields include ::GraphQL::Schema::Member::HasFields::InterfaceMethods @@ -11979,10 +11979,10 @@ module GraphQL::Schema::Member::HasFields # @param field_defn [GraphQL::Schema::Field] # @return [void] # - # source://graphql//lib/graphql/schema/member/has_fields.rb#36 + # pkg:gem/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 + # pkg:gem/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 @@ -11990,31 +11990,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_fields.rb:95 def own_fields; end private @@ -12022,28 +12022,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_fields.rb:190 def included(child_class); end end end @@ -12053,35 +12053,35 @@ end # # @api private # -# source://graphql//lib/graphql/schema/member/has_fields.rb#31 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_fields.rb:146 def get_field(field_name, context = T.unsafe(nil)); end end @@ -12089,39 +12089,39 @@ end # # @api private # -# source://graphql//lib/graphql/schema/member/has_fields.rb#20 +# pkg:gem/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 +# pkg:gem/graphql#lib/graphql/schema/member/has_interfaces.rb:6 module GraphQL::Schema::Member::HasInterfaces - # source://graphql//lib/graphql/schema/member/has_interfaces.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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* @@ -12129,38 +12129,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_interfaces.rb:89 def interface_type_memberships; end - # source://graphql//lib/graphql/schema/member/has_interfaces.rb#73 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/schema/member/has_validators.rb:5 module GraphQL::Schema::Member::HasValidators include ::GraphQL::EmptyObjects @@ -12170,84 +12170,84 @@ module GraphQL::Schema::Member::HasValidators # @param validation_config [Hash{Symbol => Hash}] # @return [void] # - # source://graphql//lib/graphql/schema/member/has_validators.rb#12 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/has_validators.rb:33 def validators; end end -# source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#6 +# pkg:gem/graphql#lib/graphql/schema/member/relay_shortcuts.rb:6 module GraphQL::Schema::Member::RelayShortcuts - # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#53 + # pkg:gem/graphql#lib/graphql/schema/member/relay_shortcuts.rb:53 def connection_type; end - # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#24 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/relay_shortcuts.rb:41 def edge_type; end - # source://graphql//lib/graphql/schema/member/relay_shortcuts.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/relay_shortcuts.rb:75 def edge_type_class=(_arg0); end private @@ -12255,16 +12255,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 + # pkg:gem/graphql#lib/graphql/schema/member/relay_shortcuts.rb:81 def initialize_relay_metadata; end end -# source://graphql//lib/graphql/schema/member/scoped.rb#6 +# pkg:gem/graphql#lib/graphql/schema/member/scoped.rb:6 module GraphQL::Schema::Member::Scoped - # source://graphql//lib/graphql/schema/member/scoped.rb#31 + # pkg:gem/graphql#lib/graphql/schema/member/scoped.rb:31 def inherited(subclass); end - # source://graphql//lib/graphql/schema/member/scoped.rb#19 + # pkg:gem/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`. @@ -12276,69 +12276,69 @@ module GraphQL::Schema::Member::Scoped # @param items [Object] Some list-like object (eg, Array, ActiveRecord::Relation) # @return [Object] Another list-like object, scoped to the current context # - # source://graphql//lib/graphql/schema/member/scoped.rb#15 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#52 + # pkg:gem/graphql#lib/graphql/schema/member/type_system_helpers.rb:52 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#43 + # pkg:gem/graphql#lib/graphql/schema/member/type_system_helpers.rb:43 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#38 + # pkg:gem/graphql#lib/graphql/schema/member/type_system_helpers.rb:38 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#26 + # pkg:gem/graphql#lib/graphql/schema/member/type_system_helpers.rb:26 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 + # pkg:gem/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#47 + # pkg:gem/graphql#lib/graphql/schema/member/type_system_helpers.rb:47 def to_type_signature; end private - # source://graphql//lib/graphql/schema/member/type_system_helpers.rb#58 + # pkg:gem/graphql#lib/graphql/schema/member/type_system_helpers.rb:58 def inherited(subclass); end end -# source://graphql//lib/graphql/schema/member/validates_input.rb#6 +# pkg:gem/graphql#lib/graphql/schema/member/validates_input.rb:6 module GraphQL::Schema::Member::ValidatesInput - # source://graphql//lib/graphql/schema/member/validates_input.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/member/validates_input.rb:11 def validate_input(val, ctx, max_errors: T.unsafe(nil)); end end @@ -12397,7 +12397,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 +# pkg:gem/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 @@ -12407,23 +12407,23 @@ class GraphQL::Schema::Mutation < ::GraphQL::Schema::Resolver # @api private # - # source://graphql//lib/graphql/schema/mutation.rb#66 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/mutation.rb:73 def visible?(context); end private - # source://graphql//lib/graphql/schema/mutation.rb#79 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/mutation.rb:84 def generate_payload_type; end end end @@ -12433,52 +12433,52 @@ end # # @see {Schema::Member::TypeSystemHelpers#to_non_null_type} # -# source://graphql//lib/graphql/schema/non_null.rb#8 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/non_null.rb:49 def coerce_input(value, ctx); end - # source://graphql//lib/graphql/schema/non_null.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/non_null.rb:45 def graphql_name; end - # source://graphql//lib/graphql/schema/non_null.rb#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/non_null.rb:22 def list?; end # @return [true] # - # source://graphql//lib/graphql/schema/non_null.rb#17 + # pkg:gem/graphql#lib/graphql/schema/non_null.rb:17 def non_null?; end - # source://graphql//lib/graphql/schema/non_null.rb#26 + # pkg:gem/graphql#lib/graphql/schema/non_null.rb:26 def to_type_signature; end - # source://graphql//lib/graphql/schema/non_null.rb#34 + # pkg:gem/graphql#lib/graphql/schema/non_null.rb:34 def validate_input(value, ctx, max_errors: T.unsafe(nil)); end end -# source://graphql//lib/graphql/schema/object.rb#7 +# pkg:gem/graphql#lib/graphql/schema/object.rb:7 class GraphQL::Schema::Object < ::GraphQL::Schema::Member include ::GraphQL::Schema::Member::HasDataloader extend ::GraphQL::Schema::Member::HasFields @@ -12488,28 +12488,28 @@ class GraphQL::Schema::Object < ::GraphQL::Schema::Member # @return [Object] a new instance of Object # - # source://graphql//lib/graphql/schema/object.rb#121 + # pkg:gem/graphql#lib/graphql/schema/object.rb:121 def initialize(object, context); end # @return [GraphQL::Query::Context] the context instance for this query # - # source://graphql//lib/graphql/schema/object.rb#24 + # pkg:gem/graphql#lib/graphql/schema/object.rb:24 def context; end # @return [GraphQL::Dataloader] # - # source://graphql//lib/graphql/schema/object.rb#27 + # pkg:gem/graphql#lib/graphql/schema/object.rb:27 def dataloader; end # @return [Object] the application object this type is wrapping # - # source://graphql//lib/graphql/schema/object.rb#21 + # pkg:gem/graphql#lib/graphql/schema/object.rb:21 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#33 + # pkg:gem/graphql#lib/graphql/schema/object.rb:33 def raw_value(obj); end class << self @@ -12531,43 +12531,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#68 + # pkg:gem/graphql#lib/graphql/schema/object.rb:68 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#129 + # pkg:gem/graphql#lib/graphql/schema/object.rb:129 def const_missing(name); end - # source://graphql//lib/graphql/schema/object.rb#139 + # pkg:gem/graphql#lib/graphql/schema/object.rb:139 def kind; end - # source://graphql//lib/graphql/schema/object.rb#116 + # pkg:gem/graphql#lib/graphql/schema/object.rb:116 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#47 + # pkg:gem/graphql#lib/graphql/schema/object.rb:47 def wrap(object, context); end - # source://graphql//lib/graphql/schema/object.rb#42 + # pkg:gem/graphql#lib/graphql/schema/object.rb:42 def wrap_scoped(object, context); end protected - # source://graphql//lib/graphql/schema/object.rb#40 + # pkg:gem/graphql#lib/graphql/schema/object.rb:40 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#13 +# pkg:gem/graphql#lib/graphql/schema/object.rb:13 class GraphQL::Schema::Object::FieldsAreRequiredError < ::GraphQL::Error # @return [FieldsAreRequiredError] a new instance of FieldsAreRequiredError # - # source://graphql//lib/graphql/schema/object.rb#14 + # pkg:gem/graphql#lib/graphql/schema/object.rb:14 def initialize(object_type); end end @@ -12599,38 +12599,38 @@ end # @example print your schema to standard output (via helper) # puts GraphQL::Schema::Printer.print_schema(MySchema) # -# source://graphql//lib/graphql/schema/printer.rb#34 +# pkg:gem/graphql#lib/graphql/schema/printer.rb:34 class GraphQL::Schema::Printer < ::GraphQL::Language::Printer # @param context [Hash] # @param introspection [Boolean] Should include the introspection types in the string? # @param schema [GraphQL::Schema] # @return [Printer] a new instance of Printer # - # source://graphql//lib/graphql/schema/printer.rb#40 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/printer.rb:88 def print_schema; end - # source://graphql//lib/graphql/schema/printer.rb#92 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/printer.rb:35 def schema; end # Returns the value of attribute warden. # - # source://graphql//lib/graphql/schema/printer.rb#35 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/printer.rb:52 def print_introspection_schema; end # Return a GraphQL schema string for the defined types in the schema @@ -12640,39 +12640,39 @@ class GraphQL::Schema::Printer < ::GraphQL::Language::Printer # @param only [<#call(member, ctx)>] # @param schema [GraphQL::Schema] # - # source://graphql//lib/graphql/schema/printer.rb#82 + # pkg:gem/graphql#lib/graphql/schema/printer.rb:82 def print_schema(schema, **args); end end end -# source://graphql//lib/graphql/schema/printer.rb#97 +# pkg:gem/graphql#lib/graphql/schema/printer.rb:97 class GraphQL::Schema::Printer::IntrospectionPrinter < ::GraphQL::Language::Printer - # source://graphql//lib/graphql/schema/printer.rb#98 + # pkg:gem/graphql#lib/graphql/schema/printer.rb:98 def print_schema_definition(schema); end end -# source://graphql//lib/graphql/schema/ractor_shareable.rb#4 +# pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:4 module GraphQL::Schema::RactorShareable class << self # @private # - # source://graphql//lib/graphql/schema/ractor_shareable.rb#5 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:5 def extended(schema_class); end end end -# source://graphql//lib/graphql/schema/ractor_shareable.rb#10 +# pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:10 module GraphQL::Schema::RactorShareable::SchemaExtension - # source://graphql//lib/graphql/schema/ractor_shareable.rb#12 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:12 def freeze_error_handlers(handlers); end - # source://graphql//lib/graphql/schema/ractor_shareable.rb#20 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:20 def freeze_schema; end end -# source://graphql//lib/graphql/schema/ractor_shareable.rb#64 +# pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:64 module GraphQL::Schema::RactorShareable::SchemaExtension::FrozenMethods - # source://graphql//lib/graphql/schema/ractor_shareable.rb#69 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:69 def directives; end # This actually accumulates info during execution... @@ -12680,22 +12680,22 @@ module GraphQL::Schema::RactorShareable::SchemaExtension::FrozenMethods # # @return [Boolean] # - # source://graphql//lib/graphql/schema/ractor_shareable.rb#73 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:73 def lazy?(_obj); end - # source://graphql//lib/graphql/schema/ractor_shareable.rb#66 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:66 def multiplex_analyzers; end - # source://graphql//lib/graphql/schema/ractor_shareable.rb#68 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:68 def plugins; end - # source://graphql//lib/graphql/schema/ractor_shareable.rb#67 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:67 def query_analyzers; end - # source://graphql//lib/graphql/schema/ractor_shareable.rb#74 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:74 def sync_lazy(obj); end - # source://graphql//lib/graphql/schema/ractor_shareable.rb#65 + # pkg:gem/graphql#lib/graphql/schema/ractor_shareable.rb:65 def tracers; end end @@ -12716,7 +12716,7 @@ end # # @see {GraphQL::Schema::Mutation} for an example, it's basically the same. # -# source://graphql//lib/graphql/schema/relay_classic_mutation.rb#22 +# pkg:gem/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 @@ -12724,7 +12724,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 + # pkg:gem/graphql#lib/graphql/schema/relay_classic_mutation.rb:34 def resolve_with_support(**inputs); end end @@ -12744,7 +12744,7 @@ end # @see {GraphQL::Function} `Resolver` is a replacement for `GraphQL::Function` # @see {GraphQL::Schema::Mutation} for a concrete subclass of `Resolver`. # -# source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#5 +# pkg:gem/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 @@ -12768,10 +12768,10 @@ class GraphQL::Schema::Resolver # @param object [Object] The application object that this field is being resolved on # @return [Resolver] a new instance of Resolver # - # source://graphql//lib/graphql/schema/resolver.rb#36 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:36 def initialize(object:, context:, field:); end - # source://graphql//lib/graphql/schema/resolver.rb#57 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:57 def arguments; end # Called after arguments are loaded, but before resolving. @@ -12783,27 +12783,27 @@ 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#151 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:151 def authorized?(**inputs); end # @api private {GraphQL::Schema::Mutation} uses this to clear the dataloader cache # - # source://graphql//lib/graphql/schema/resolver.rb#116 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:116 def call_resolve(args_hash); end # @return [GraphQL::Query::Context] # - # source://graphql//lib/graphql/schema/resolver.rb#52 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:52 def context; end # @return [GraphQL::Schema::Field] # - # source://graphql//lib/graphql/schema/resolver.rb#55 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:55 def field; end # @return [Object] The application object this field is being resolved on # - # source://graphql//lib/graphql/schema/resolver.rb#49 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:49 def object; end # Called before arguments are prepared. @@ -12817,7 +12817,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#140 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:140 def ready?(**args); end # Do the work. Everything happens here. @@ -12825,7 +12825,7 @@ class GraphQL::Schema::Resolver # @raise [GraphQL::RequiredImplementationMissingError] # @return [Object] An object corresponding to the return type # - # source://graphql//lib/graphql/schema/resolver.rb#126 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:126 def resolve(**args); end # This method is _actually_ called by the runtime, @@ -12834,7 +12834,7 @@ class GraphQL::Schema::Resolver # # @api private # - # source://graphql//lib/graphql/schema/resolver.rb#65 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:65 def resolve_with_support(**args); end # Called when an object loaded by `loads:` fails the `.authorized?` check for its resolved GraphQL object type. @@ -12845,27 +12845,27 @@ class GraphQL::Schema::Resolver # # @param err [GraphQL::UnauthorizedError] # - # source://graphql//lib/graphql/schema/resolver.rb#163 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:163 def unauthorized_object(err); end private - # source://graphql//lib/graphql/schema/resolver.rb#169 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:169 def authorize_arguments(args, inputs); end - # source://graphql//lib/graphql/schema/resolver.rb#215 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:215 def get_argument(name, context = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/resolver.rb#188 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:188 def load_arguments(args); end class << self - # source://graphql//lib/graphql/schema/resolver.rb#232 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:232 def all_field_argument_definitions; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/resolver.rb#224 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:224 def any_field_arguments?; end # Add an argument to this field's signature, but @@ -12873,22 +12873,22 @@ class GraphQL::Schema::Resolver # # @see {GraphQL::Schema::Argument#initialize} for the signature # - # source://graphql//lib/graphql/schema/resolver.rb#373 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:373 def argument(*args, **kwargs, &block); end - # source://graphql//lib/graphql/schema/resolver.rb#310 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:310 def broadcastable(new_broadcastable); end # @return [Boolean, nil] # - # source://graphql//lib/graphql/schema/resolver.rb#315 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:315 def broadcastable?; end # Specifies the complexity of the field. Defaults to `1` # # @return [Integer, Proc] # - # source://graphql//lib/graphql/schema/resolver.rb#303 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:303 def complexity(new_complexity = T.unsafe(nil)); end # Get or set the `default_page_size:` which will be configured for fields using this resolver @@ -12897,7 +12897,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#348 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:348 def default_page_size(new_default_page_size = T.unsafe(nil)); end # Registers new extension @@ -12905,40 +12905,40 @@ class GraphQL::Schema::Resolver # @param extension [Class] Extension class # @param options [Hash] Optional extension options # - # source://graphql//lib/graphql/schema/resolver.rb#382 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:382 def extension(extension, **options); end # @api private # - # source://graphql//lib/graphql/schema/resolver.rb#388 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:388 def extensions; end # Additional info injected into {#resolve} # # @see {GraphQL::Schema::Field#extras} # - # source://graphql//lib/graphql/schema/resolver.rb#247 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:247 def extras(new_extras = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/resolver.rb#220 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:220 def field_arguments(context = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/resolver.rb#228 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:228 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#361 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:361 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#340 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:340 def has_max_page_size?; end # @private # - # source://graphql//lib/graphql/schema/resolver.rb#407 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:407 def inherited(child_class); end # Get or set the `max_page_size:` which will be configured for fields using this resolver @@ -12947,7 +12947,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#327 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:327 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. @@ -12956,17 +12956,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#260 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:260 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#238 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:238 def resolve_method(new_method = T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/resolver.rb#268 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:268 def resolver_method(new_method_name = T.unsafe(nil)); end # Call this method to get the return type of the field, @@ -12978,19 +12978,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#283 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:283 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#366 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:366 def type_expr; end private # Returns the value of attribute own_extensions. # - # source://graphql//lib/graphql/schema/resolver.rb#414 + # pkg:gem/graphql#lib/graphql/schema/resolver.rb:414 def own_extensions; end end end @@ -13000,12 +13000,12 @@ end # # Or, an already-defined one can be attached with `payload_type(...)`. # -# source://graphql//lib/graphql/schema/resolver/has_payload_type.rb#10 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -13013,7 +13013,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 + # pkg:gem/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, @@ -13023,10 +13023,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 + # pkg:gem/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 + # pkg:gem/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, @@ -13036,7 +13036,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#34 + # pkg:gem/graphql#lib/graphql/schema/resolver/has_payload_type.rb:34 def type_expr(new_payload_type = T.unsafe(nil)); end private @@ -13045,46 +13045,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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/scalar.rb:8 def coerce_input(val, ctx); end - # source://graphql//lib/graphql/schema/scalar.rb#12 + # pkg:gem/graphql#lib/graphql/schema/scalar.rb:12 def coerce_result(val, ctx); end - # source://graphql//lib/graphql/schema/scalar.rb#32 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/scalar.rb:39 def default_scalar?; end - # source://graphql//lib/graphql/schema/scalar.rb#16 + # pkg:gem/graphql#lib/graphql/schema/scalar.rb:16 def kind; end - # source://graphql//lib/graphql/schema/scalar.rb#20 + # pkg:gem/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 + # pkg:gem/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#2023 +# pkg:gem/graphql#lib/graphql/schema.rb:2023 module GraphQL::Schema::SubclassGetReferencesTo - # source://graphql//lib/graphql/schema.rb#2024 + # pkg:gem/graphql#lib/graphql/schema.rb:2024 def get_references_to(type_defn); end end @@ -13098,7 +13098,7 @@ end # # Also, `#unsubscribe` terminates the subscription. # -# source://graphql//lib/graphql/schema/subscription.rb#14 +# pkg:gem/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 @@ -13109,57 +13109,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/subscription.rb:87 def resolve_update(**args); end # @api private # - # source://graphql//lib/graphql/schema/subscription.rb#36 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/subscription.rb:186 def subscription_written?; end # Call this to halt execution and remove this subscription from the system @@ -13167,14 +13167,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 + # pkg:gem/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 + # pkg:gem/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. @@ -13188,7 +13188,7 @@ class GraphQL::Schema::Subscription < ::GraphQL::Schema::Resolver # # @return [void] # - # source://graphql//lib/graphql/schema/subscription.rb#175 + # pkg:gem/graphql#lib/graphql/schema/subscription.rb:175 def write_subscription; end class << self @@ -13199,12 +13199,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 + # pkg:gem/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 + # pkg:gem/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. @@ -13224,12 +13224,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 + # pkg:gem/graphql#lib/graphql/schema/subscription.rb:162 def topic_for(arguments:, field:, scope:); end end end -# source://graphql//lib/graphql/schema/subscription.rb#17 +# pkg:gem/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. @@ -13261,11 +13261,11 @@ GraphQL::Schema::Subscription::NO_UPDATE = T.let(T.unsafe(nil), Symbol) # use GraphQL::Schema::Timeout, max_seconds: 2 # end # -# source://graphql//lib/graphql/schema/timeout.rb#35 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:41 def initialize(max_seconds:); end # Call this method (eg, from {#handle_timeout}) to disable timeout tracking @@ -13274,7 +13274,7 @@ class GraphQL::Schema::Timeout # @param query [GraphQL::Query] # @return [void] # - # source://graphql//lib/graphql/schema/timeout.rb#117 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:117 def disable_timeout(query); end # Invoked when a query times out. @@ -13282,7 +13282,7 @@ class GraphQL::Schema::Timeout # @param error [GraphQL::Schema::Timeout::TimeoutError] # @param query [GraphQL::Error] # - # source://graphql//lib/graphql/schema/timeout.rb#109 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:109 def handle_timeout(error, query); end # Called at the start of each query. @@ -13291,11 +13291,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#102 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:102 def max_seconds(query); end class << self - # source://graphql//lib/graphql/schema/timeout.rb#36 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:36 def use(schema, max_seconds: T.unsafe(nil)); end end end @@ -13308,31 +13308,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#129 +# pkg:gem/graphql#lib/graphql/schema/timeout.rb:129 class GraphQL::Schema::Timeout::TimeoutError < ::GraphQL::ExecutionError # @return [TimeoutError] a new instance of TimeoutError # - # source://graphql//lib/graphql/schema/timeout.rb#130 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:130 def initialize(field); end end -# source://graphql//lib/graphql/schema/timeout.rb#45 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:47 def initialize(timeout:, **rest); end - # source://graphql//lib/graphql/schema/timeout.rb#71 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:71 def execute_field(query:, field:, **_rest); end - # source://graphql//lib/graphql/schema/timeout.rb#52 + # pkg:gem/graphql#lib/graphql/schema/timeout.rb:52 def execute_multiplex(multiplex:); end end # @api private # -# source://graphql//lib/graphql/schema/type_expression.rb#5 +# pkg:gem/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. @@ -13343,14 +13343,14 @@ module GraphQL::Schema::TypeExpression # @param type_owner [#type] A thing for looking up types by name # @return [Class, GraphQL::Schema::NonNull, GraphQL::Schema:List] # - # source://graphql//lib/graphql/schema/type_expression.rb#11 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/type_expression.rb:31 def wrap_type(type, wrapper_method); end end end @@ -13358,7 +13358,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 +# pkg:gem/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). @@ -13368,53 +13368,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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:12 def abstract_type; end - # source://graphql//lib/graphql/schema/type_membership.rb#36 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:36 def graphql_name; end - # source://graphql//lib/graphql/schema/type_membership.rb#44 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:44 def inspect; end # @return [Class] # - # source://graphql//lib/graphql/schema/type_membership.rb#9 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:9 def object_type; end # @return [Class] # - # source://graphql//lib/graphql/schema/type_membership.rb#9 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:9 def object_type=(_arg0); end # @return [Hash] # - # source://graphql//lib/graphql/schema/type_membership.rb#15 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:15 def options; end - # source://graphql//lib/graphql/schema/type_membership.rb#40 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:40 def path; end - # source://graphql//lib/graphql/schema/type_membership.rb#48 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/type_membership.rb:30 def visible?(ctx); end end -# source://graphql//lib/graphql/schema/union.rb#4 +# pkg:gem/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 + # pkg:gem/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 @@ -13423,92 +13423,92 @@ class GraphQL::Schema::Union < ::GraphQL::Schema::Member # # @api private # - # source://graphql//lib/graphql/schema/union.rb#55 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/union.rb:8 def inherited(child_class); end - # source://graphql//lib/graphql/schema/union.rb#43 + # pkg:gem/graphql#lib/graphql/schema/union.rb:43 def kind; end - # source://graphql//lib/graphql/schema/union.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/union.rb:47 def type_memberships; end private - # source://graphql//lib/graphql/schema/union.rb#72 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/unique_within_type.rb:29 def decode(node_id, separator: T.unsafe(nil)); end # @param object_value [Any] # @param type_name [String] # @return [String] a unique, opaque ID generated as a function of the two inputs # - # source://graphql//lib/graphql/schema/unique_within_type.rb#17 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/unique_within_type.rb:8 def default_id_separator=(_arg0); end # @param object_value [Any] # @param type_name [String] # @return [String] a unique, opaque ID generated as a function of the two inputs # - # source://graphql//lib/graphql/schema/unique_within_type.rb#17 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema.rb:92 def initialize(type:); end # Returns the value of attribute type. # - # source://graphql//lib/graphql/schema.rb#91 + # pkg:gem/graphql#lib/graphql/schema.rb:91 def type; end end -# source://graphql//lib/graphql/schema/validator.rb#5 +# pkg:gem/graphql#lib/graphql/schema/validator.rb:5 class GraphQL::Schema::Validator include ::GraphQL::EmptyObjects @@ -13517,18 +13517,18 @@ class GraphQL::Schema::Validator # @param validated [GraphQL::Schema::Argument, GraphQL::Schema::Field, GraphQL::Schema::Resolver, Class] The argument or argument owner this validator is attached to # @return [Validator] a new instance of Validator # - # source://graphql//lib/graphql/schema/validator.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator.rb:38 def permitted_empty_value?(value); end # @param context [GraphQL::Query::Context] @@ -13537,34 +13537,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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`. @@ -13574,7 +13574,7 @@ class GraphQL::Schema::Validator # @param validator_class [Class] # @return [void] # - # source://graphql//lib/graphql/schema/validator.rb#86 + # pkg:gem/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 @@ -13582,7 +13582,7 @@ class GraphQL::Schema::Validator # @param name [Symbol] # @return [void] # - # source://graphql//lib/graphql/schema/validator.rb#94 + # pkg:gem/graphql#lib/graphql/schema/validator.rb:94 def uninstall(name); end # @param context [Query::Context] @@ -13591,7 +13591,7 @@ class GraphQL::Schema::Validator # @param value [Object] # @return [void] # - # source://graphql//lib/graphql/schema/validator.rb#122 + # pkg:gem/graphql#lib/graphql/schema/validator.rb:122 def validate!(validators, object, context, value, as: T.unsafe(nil)); end end end @@ -13611,14 +13611,14 @@ end # argument :handles, [String], # validates: { all: { format: { with: /\A[a-z0-9_]+\Z/ } } } # -# source://graphql//lib/graphql/schema/validator/all_validator.rb#23 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/all_validator.rb:30 def validate(object, context, value); end end @@ -13627,14 +13627,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/allow_blank_validator.rb:17 def validate(_object, _context, value); end end @@ -13643,18 +13643,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -13664,16 +13664,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 +# pkg:gem/graphql#lib/graphql/schema/validator/exclusion_validator.rb:13 class GraphQL::Schema::Validator::ExclusionValidator < ::GraphQL::Schema::Validator # @param in [Array] The values to reject # @param message [String] # @return [ExclusionValidator] a new instance of ExclusionValidator # - # source://graphql//lib/graphql/schema/validator/exclusion_validator.rb#16 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/exclusion_validator.rb:23 def validate(_object, _context, value); end end @@ -13690,17 +13690,17 @@ end # argument :handle, String, required: true, # validates: { format: { with: /\A[a-z0-9_]+\Z/ } } # -# source://graphql//lib/graphql/schema/validator/format_validator.rb#20 +# pkg:gem/graphql#lib/graphql/schema/validator/format_validator.rb:20 class GraphQL::Schema::Validator::FormatValidator < ::GraphQL::Schema::Validator # @param message [String] # @param with [RegExp, nil] # @param without [Regexp, nil] # @return [FormatValidator] a new instance of FormatValidator # - # source://graphql//lib/graphql/schema/validator/format_validator.rb#24 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/format_validator.rb:36 def validate(_object, _context, value); end end @@ -13713,16 +13713,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 +# pkg:gem/graphql#lib/graphql/schema/validator/inclusion_validator.rb:15 class GraphQL::Schema::Validator::InclusionValidator < ::GraphQL::Schema::Validator # @param in [Array] The values to allow # @param message [String] # @return [InclusionValidator] a new instance of InclusionValidator # - # source://graphql//lib/graphql/schema/validator/inclusion_validator.rb#18 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/inclusion_validator.rb:25 def validate(_object, _context, value); end end @@ -13735,7 +13735,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 +# pkg:gem/graphql#lib/graphql/schema/validator/length_validator.rb:16 class GraphQL::Schema::Validator::LengthValidator < ::GraphQL::Schema::Validator # @param is [Integer] Exact length requirement # @param maximum [Integer] @@ -13747,10 +13747,10 @@ class GraphQL::Schema::Validator::LengthValidator < ::GraphQL::Schema::Validator # @param wrong_length [String] Used when value doesn't match `is` # @return [LengthValidator] a new instance of LengthValidator # - # source://graphql//lib/graphql/schema/validator/length_validator.rb#25 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/length_validator.rb:45 def validate(_object, _context, value); end end @@ -13766,7 +13766,7 @@ end # # argument :the_answer, Integer, required: true, validates: { numericality: { equal_to: 42 } } # -# source://graphql//lib/graphql/schema/validator/numericality_validator.rb#19 +# pkg:gem/graphql#lib/graphql/schema/validator/numericality_validator.rb:19 class GraphQL::Schema::Validator::NumericalityValidator < ::GraphQL::Schema::Validator # @param equal_to [Integer] # @param even [Boolean] @@ -13780,10 +13780,10 @@ class GraphQL::Schema::Validator::NumericalityValidator < ::GraphQL::Schema::Val # @param within [Range] # @return [NumericalityValidator] a new instance of NumericalityValidator # - # source://graphql//lib/graphql/schema/validator/numericality_validator.rb#30 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/validator/numericality_validator.rb:54 def validate(object, context, value); end end @@ -13823,7 +13823,7 @@ end # argument :age, Integer, required: :nullable # end # -# source://graphql//lib/graphql/schema/validator/required_validator.rb#44 +# pkg:gem/graphql#lib/graphql/schema/validator/required_validator.rb:44 class GraphQL::Schema::Validator::RequiredValidator < ::GraphQL::Schema::Validator # @param allow_all_hidden [Boolean] If `true`, then this validator won't run if all the `one_of: ...` arguments have been hidden # @param argument [Symbol] An argument that is required for this field @@ -13831,53 +13831,53 @@ class GraphQL::Schema::Validator::RequiredValidator < ::GraphQL::Schema::Validat # @param one_of [Array] A list of arguments, exactly one of which is required for this field # @return [RequiredValidator] a new instance of RequiredValidator # - # source://graphql//lib/graphql/schema/validator/required_validator.rb#49 + # pkg:gem/graphql#lib/graphql/schema/validator/required_validator.rb:49 def initialize(one_of: T.unsafe(nil), argument: T.unsafe(nil), allow_all_hidden: T.unsafe(nil), message: T.unsafe(nil), **default_options); end - # source://graphql//lib/graphql/schema/validator/required_validator.rb#156 + # pkg:gem/graphql#lib/graphql/schema/validator/required_validator.rb:156 def arg_keyword_to_graphql_name(argument_definitions, arg_keyword); end - # source://graphql//lib/graphql/schema/validator/required_validator.rb#129 + # pkg:gem/graphql#lib/graphql/schema/validator/required_validator.rb:129 def build_message(context); end - # source://graphql//lib/graphql/schema/validator/required_validator.rb#62 + # pkg:gem/graphql#lib/graphql/schema/validator/required_validator.rb:62 def validate(_object, context, value); end end -# source://graphql//lib/graphql/schema/validator.rb#107 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#23 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:23 def initialize(schema, dynamic:, preload:, profiles:, migration_errors:); end - # source://graphql//lib/graphql/schema/visibility.rb#56 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:56 def all_directives; end - # source://graphql//lib/graphql/schema/visibility.rb#61 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:61 def all_interface_type_memberships; end - # source://graphql//lib/graphql/schema/visibility.rb#66 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:66 def all_references; end # Returns the value of attribute cached_profiles. # - # source://graphql//lib/graphql/schema/visibility.rb#159 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:159 def cached_profiles; end # Make another Visibility for `schema` based on this one @@ -13885,87 +13885,87 @@ class GraphQL::Schema::Visibility # @api private # @return [Visibility] # - # source://graphql//lib/graphql/schema/visibility.rb#145 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:145 def dup_for(other_schema); end - # source://graphql//lib/graphql/schema/visibility.rb#48 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:48 def freeze; end - # source://graphql//lib/graphql/schema/visibility.rb#71 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:71 def get_type(type_name); end # @api private # - # source://graphql//lib/graphql/schema/visibility.rb#132 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:132 def introspection_system_configured(introspection_system); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility.rb#155 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:155 def migration_errors?; end # @api private # - # source://graphql//lib/graphql/schema/visibility.rb#111 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:111 def mutation_configured(mutation_type); end # @api private # - # source://graphql//lib/graphql/schema/visibility.rb#125 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:125 def orphan_types_configured(orphan_types); end - # source://graphql//lib/graphql/schema/visibility.rb#82 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:82 def preload; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility.rb#78 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:78 def preload?; end - # source://graphql//lib/graphql/schema/visibility.rb#161 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:161 def profile_for(context); end # @api private # - # source://graphql//lib/graphql/schema/visibility.rb#104 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:104 def query_configured(query_type); end # @api private # - # source://graphql//lib/graphql/schema/visibility.rb#118 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:118 def subscription_configured(subscription_type); end # Returns the value of attribute top_level. # - # source://graphql//lib/graphql/schema/visibility.rb#185 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:185 def top_level; end - # source://graphql//lib/graphql/schema/visibility.rb#190 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:190 def top_level_profile(refresh: T.unsafe(nil)); end # Returns the value of attribute types. # - # source://graphql//lib/graphql/schema/visibility.rb#76 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:76 def types; end # Sets the attribute types # # @param value the value to set the attribute types to. # - # source://graphql//lib/graphql/schema/visibility.rb#76 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:76 def types=(_arg0); end # @api private # - # source://graphql//lib/graphql/schema/visibility.rb#188 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:188 def unfiltered_interface_type_memberships; end private - # source://graphql//lib/graphql/schema/visibility.rb#199 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:199 def ensure_all_loaded(types_to_visit); end - # source://graphql//lib/graphql/schema/visibility.rb#212 + # pkg:gem/graphql#lib/graphql/schema/visibility.rb:212 def load_all(types: T.unsafe(nil)); end class << self @@ -13974,7 +13974,7 @@ class GraphQL::Schema::Visibility # @param profiles [Hash Hash>] A hash of `name => context` pairs for preloading visibility profiles # @param schema [Class] # - # source://graphql//lib/graphql/schema/visibility.rb#15 + # pkg:gem/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 @@ -14003,98 +14003,98 @@ end # # use GraphQL::Schema::Visibility, migration_errors: true # -# source://graphql//lib/graphql/schema/visibility/migration.rb#29 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:79 def initialize(context:, schema:, visibility:, name: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def all_types(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def all_types_h(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def argument(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def arguments(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#136 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def directive_exists?(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def directives(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def enum_values(*args); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/migration.rb#154 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:154 def equivalent_schema_members?(member1, member2); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def field(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def fields(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def interfaces(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def loadable?(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def loadable_possible_types(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#104 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:104 def loaded_types; end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def mutation_root(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def possible_types(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def query_root(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def reachable_type?(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def subscription_root(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def type(*args); end - # source://graphql//lib/graphql/schema/visibility/migration.rb#131 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:131 def visible_enum_value?(*args); end end -# source://graphql//lib/graphql/schema/visibility/migration.rb#108 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/visibility/migration.rb:63 def humanize(val); end end @@ -14108,154 +14108,154 @@ 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 +# pkg:gem/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#60 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:60 def initialize(context:, schema:, visibility:, name: T.unsafe(nil)); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#261 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:261 def all_types; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#266 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:266 def all_types_h; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#214 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:214 def argument(owner, arg_name); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#210 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:210 def arguments(owner); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#275 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:275 def directive_exists?(dir_name); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#279 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:279 def directives; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#271 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:271 def enum_values(owner); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#176 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:176 def field(owner, field_name); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#127 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:127 def field_on_visible_interface?(field, owner); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#206 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:206 def fields(owner); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#34 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:34 def freeze; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#241 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:241 def interfaces(obj_or_int_type); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#285 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:285 def loadable?(t, _ctx); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#289 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:289 def loadable_possible_types(t, _ctx); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#293 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:293 def loaded_types; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#253 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:253 def mutation_root; end # @return [Symbol, nil] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#32 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:32 def name; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#237 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:237 def possible_types(type); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#306 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:306 def preload; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#249 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:249 def query_root; end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#297 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:297 def reachable_type?(type_name); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#257 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:257 def subscription_root; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#151 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:151 def type(type_name); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#302 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:302 def visible_enum_value?(enum_value, _ctx = T.unsafe(nil)); end private - # source://graphql//lib/graphql/schema/visibility/profile.rb#363 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:363 def load_all_types; end - # source://graphql//lib/graphql/schema/visibility/profile.rb#344 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:344 def non_duplicate_items(definitions, visibility_cache); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#402 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:402 def possible_types_for(type); end # @raise [DuplicateNamesError] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#359 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:359 def raise_duplicate_definition(first_defn, second_defn); end # @return [Boolean] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#387 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:387 def referenced?(type_defn); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#436 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:436 def visible_field_for(owner, field); end class << self # @return [Schema::Visibility::Profile] # - # source://graphql//lib/graphql/schema/visibility/profile.rb#17 + # pkg:gem/graphql#lib/graphql/schema/visibility/profile.rb:17 def from_context(ctx, schema); end - # source://graphql//lib/graphql/schema/visibility/profile.rb#25 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/visibility/visit.rb:6 def initialize(schema, &visit_block); end - # source://graphql//lib/graphql/schema/visibility/visit.rb#28 + # pkg:gem/graphql#lib/graphql/schema/visibility/visit.rb:28 def entry_point_directives; end - # source://graphql//lib/graphql/schema/visibility/visit.rb#16 + # pkg:gem/graphql#lib/graphql/schema/visibility/visit.rb:16 def entry_point_types; end - # source://graphql//lib/graphql/schema/visibility/visit.rb#32 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/visibility/visit.rb:127 def append_unvisited_type(owner, type); end - # source://graphql//lib/graphql/schema/visibility/visit.rb#135 + # pkg:gem/graphql#lib/graphql/schema/visibility/visit.rb:135 def update_type_owner(owner, type); end end @@ -14267,74 +14267,74 @@ end # # @api private # -# source://graphql//lib/graphql/schema/warden.rb#14 +# pkg:gem/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 + # pkg:gem/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#318 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:318 def arguments(argument_owner, ctx = T.unsafe(nil)); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#361 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:361 def directives; end # @api private # @return [Array] Visible members of `enum_defn` # - # source://graphql//lib/graphql/schema/warden.rb#333 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:333 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#311 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:311 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#295 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:295 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#279 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:279 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#254 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:254 def get_type(type_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#398 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:398 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#350 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:350 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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:234 def loadable?(type, _ctx); end # This abstract type was determined to be used for `loads` only. @@ -14342,84 +14342,84 @@ class GraphQL::Schema::Warden # # @api private # - # source://graphql//lib/graphql/schema/warden.rb#242 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:242 def loadable_possible_types(abstract_type, _ctx); end # @api private # @return [Array] The types which may be member of `type_defn` # - # source://graphql//lib/graphql/schema/warden.rb#301 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:301 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#273 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:273 def reachable_type?(type_name); end # @api private # @return [Array] Visible and reachable types in the schema # - # source://graphql//lib/graphql/schema/warden.rb#268 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:268 def reachable_types; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#365 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:365 def root_type_for_operation(op_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#218 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:221 def types; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#116 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:116 def visibility_profile; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#385 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:385 def visible_argument?(arg_defn, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#344 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:344 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#375 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:375 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#389 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:389 def visible_type?(type_defn, _ctx = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#394 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:394 def visible_type_membership?(type_membership, _ctx = T.unsafe(nil)); end private # @api private # - # source://graphql//lib/graphql/schema/warden.rb#503 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:503 def check_visible(schema, member); end # If this field was inherited from an interface, and the field on that interface is _hidden_, @@ -14429,35 +14429,35 @@ class GraphQL::Schema::Warden # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#454 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:454 def field_on_visible_interface?(field_defn, type_defn); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#491 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:491 def orphan_type?(type_defn); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#555 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:555 def reachable_type_set; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#499 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:499 def read_through; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#486 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:486 def referenced?(type_defn); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#480 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:480 def root_type?(type_defn); end # We need this to tell whether a field was inherited by an interface @@ -14465,45 +14465,45 @@ class GraphQL::Schema::Warden # # @api private # - # source://graphql//lib/graphql/schema/warden.rb#446 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:446 def unfiltered_interfaces(type_defn); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#439 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:439 def union_memberships(obj_type); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#495 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:495 def visible?(member); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#407 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:407 def visible_and_reachable_type?(type_defn); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#593 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:593 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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:15 def from_context(context); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#22 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:22 def types_from_context(context); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#29 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:29 def use(schema); end # @api private @@ -14514,148 +14514,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 + # pkg:gem/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#539 +# pkg:gem/graphql#lib/graphql/schema/warden.rb:539 GraphQL::Schema::Warden::ADD_WARDEN_WARNING = T.let(T.unsafe(nil), String) # @api private # -# source://graphql//lib/graphql/schema/warden.rb#82 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:105 def directives; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#101 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:101 def enum_values(enum_defn); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#106 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:106 def fields(type_defn); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#102 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:99 def get_type(type_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#98 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:113 def interfaces(obj_type); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#109 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:109 def loadable?(type, _ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#110 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:110 def loadable_possible_types(abstract_type, _ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#112 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:108 def reachable_type?(type_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#111 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:111 def reachable_types; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#104 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:89 def skip_warning=(_arg0); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#103 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:103 def types; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#91 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:91 def visibility_profile; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#94 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:97 def visible_type_membership?(type_membership, _ctx = T.unsafe(nil)); end end @@ -14666,121 +14666,121 @@ end # # @api private # -# source://graphql//lib/graphql/schema/warden.rb#65 +# pkg:gem/graphql#lib/graphql/schema/warden.rb:65 class GraphQL::Schema::Warden::PassThruWarden class << self # @api private # - # source://graphql//lib/graphql/schema/warden.rb#73 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:73 def arguments(owner, ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#72 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:74 def loadable?(type, ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#75 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:75 def loadable_possible_types(type, ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#76 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:76 def visibility_profile; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#68 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:121 def initialize(warden); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#173 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:173 def all_types; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#141 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:141 def argument(owner, arg_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#157 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:157 def arguments(owner); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#129 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:129 def directive_exists?(dir_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#125 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:125 def directives; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#169 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:169 def enum_values(enum_type); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#137 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:137 def field(owner, field_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#161 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:161 def fields(owner); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#177 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:177 def interfaces(obj_type); end # TODO remove ctx here? @@ -14788,74 +14788,74 @@ class GraphQL::Schema::Warden::VisibilityProfile # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#181 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:181 def loadable?(t, ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#185 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:185 def loadable_possible_types(t, ctx); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#149 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:149 def mutation_root; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#165 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:165 def possible_types(type); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#145 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:145 def query_root; end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#189 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:189 def reachable_type?(type_name); end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#153 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:153 def subscription_root; end # @api private # - # source://graphql//lib/graphql/schema/warden.rb#133 + # pkg:gem/graphql#lib/graphql/schema/warden.rb:133 def type(name); end # @api private # @return [Boolean] # - # source://graphql//lib/graphql/schema/warden.rb#193 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/wrapper.rb:11 def initialize(of_type); end - # source://graphql//lib/graphql/schema/wrapper.rb#19 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/schema/wrapper.rb:9 def of_type; end - # source://graphql//lib/graphql/schema/wrapper.rb#15 + # pkg:gem/graphql#lib/graphql/schema/wrapper.rb:15 def unwrap; end end -# source://graphql//lib/graphql/static_validation/error.rb#3 +# pkg:gem/graphql#lib/graphql/static_validation/error.rb:3 module GraphQL::StaticValidation; end # Default rules for {GraphQL::StaticValidation::Validator} @@ -14864,166 +14864,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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/base_visitor.rb:24 def path; end private - # source://graphql//lib/graphql/static_validation/base_visitor.rb#191 + # pkg:gem/graphql#lib/graphql/static_validation/base_visitor.rb:191 def add_error(error, path: T.unsafe(nil)); end class << self @@ -15033,70 +15033,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/base_visitor.rb:154 def field_definition; end - # source://graphql//lib/graphql/static_validation/base_visitor.rb#103 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/base_visitor.rb:184 def push_type(t); end end @@ -15104,33 +15104,33 @@ end # and expose the fragment definitions which # are used by a given operation # -# source://graphql//lib/graphql/static_validation/definition_dependencies.rb#7 +# pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:7 module GraphQL::StaticValidation::DefinitionDependencies - # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#10 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:69 def dependency_map(&block); end - # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#32 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:44 def on_operation_definition(node, prev_node); end private @@ -15139,329 +15139,329 @@ 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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:83 def unused_dependencies; end end -# source://graphql//lib/graphql/static_validation/definition_dependencies.rb#98 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:101 def initialize(node, path); end - # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 - def eql?(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:106 + def eql?(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 - def hash(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:106 + def hash(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#106 - def name(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/definition_dependencies.rb:106 + def name(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute node. # - # source://graphql//lib/graphql/static_validation/definition_dependencies.rb#100 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/error.rb:26 def to_h; end private - # source://graphql//lib/graphql/static_validation/error.rb#37 + # pkg:gem/graphql#lib/graphql/static_validation/error.rb:37 def locations; end end # Convenience for validators # -# source://graphql//lib/graphql/static_validation/error.rb#7 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#453 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:453 def compared_fragments_key(frag1, frag2, exclusive); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#36 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:36 def conflicts; end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#51 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:51 def conflicts_within_selection_set(node, parent_type); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#391 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:391 def fields_and_fragments_from_selection(node, owner_type:, parents:); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#206 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:206 def find_conflict(response_key, field1, field2, mutually_exclusive: T.unsafe(nil)); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#371 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:371 def find_conflicts_between(response_keys, response_keys2, mutually_exclusive:); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#158 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:158 def find_conflicts_between_fields_and_fragment(fragment_spread, fields, mutually_exclusive:); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#92 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:92 def find_conflicts_between_fragments(fragment_spread1, fragment_spread2, mutually_exclusive:); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#312 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:312 def find_conflicts_between_sub_selection_sets(field1, field2, mutually_exclusive:); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#190 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:190 def find_conflicts_within(response_keys); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#402 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:402 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 @@ -15470,36 +15470,36 @@ module GraphQL::StaticValidation::FieldsWillMerge # # @return [Boolean] # - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#464 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:464 def mutually_exclusive?(parents1, parents2); end # @return [Boolean] # - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#286 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:286 def return_types_conflict?(type1, type2); end # @return [Boolean] # - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#419 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:419 def same_arguments?(field1, field2); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#434 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:434 def serialize_arg(arg_value); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#445 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:445 def serialize_field_args(field); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#44 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:44 def setting_errors; end end -# source://graphql//lib/graphql/static_validation/rules/fields_will_merge.rb#14 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:14 def definition; end # Sets the attribute definition @@ -15507,14 +15507,14 @@ class GraphQL::StaticValidation::FieldsWillMerge::Field < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:14 def node; end # Sets the attribute node @@ -15522,14 +15522,14 @@ class GraphQL::StaticValidation::FieldsWillMerge::Field < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:14 def owner_type; end # Sets the attribute owner_type @@ -15537,14 +15537,14 @@ class GraphQL::StaticValidation::FieldsWillMerge::Field < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:14 def parents; end # Sets the attribute parents @@ -15552,34 +15552,34 @@ class GraphQL::StaticValidation::FieldsWillMerge::Field < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:15 def name; end # Sets the attribute name @@ -15587,14 +15587,14 @@ class GraphQL::StaticValidation::FieldsWillMerge::FragmentSpread < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:15 def parents; end # Sets the attribute parents @@ -15602,23 +15602,23 @@ class GraphQL::StaticValidation::FieldsWillMerge::FragmentSpread < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:15 def new(*_arg0); end end end @@ -15629,348 +15629,348 @@ 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 +# pkg:gem/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#389 +# pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge.rb:389 GraphQL::StaticValidation::FieldsWillMerge::NO_SELECTIONS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#4 +# pkg:gem/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 + # pkg:gem/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#30 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:30 def add_conflict(node, conflict_str); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#56 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:56 def code; end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#26 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:26 def conflicts; end # Returns the value of attribute field_name. # - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#5 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:16 def message; end # Sets the attribute message # # @param value the value to set the attribute message to. # - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#20 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:20 def message=(_arg0); end - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#22 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:22 def path; end # A hash representation of this Message # - # source://graphql//lib/graphql/static_validation/rules/fields_will_merge_error.rb#44 + # pkg:gem/graphql#lib/graphql/static_validation/rules/fields_will_merge_error.rb:44 def to_h; end end -# source://graphql//lib/graphql/static_validation/rules/fragment_names_are_unique.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/static_validation/interpreter_visitor.rb:4 class GraphQL::StaticValidation::InterpreterVisitor < ::GraphQL::StaticValidation::BaseVisitor include ::GraphQL::StaticValidation::DefinitionDependencies include ::GraphQL::StaticValidation::OneOfInputObjectsAreValid @@ -16010,14 +16010,14 @@ end # Test whether `ast_value` is a valid input for `type` # -# source://graphql//lib/graphql/static_validation/literal_validator.rb#5 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/literal_validator.rb:6 def initialize(context:); end - # source://graphql//lib/graphql/static_validation/literal_validator.rb#13 + # pkg:gem/graphql#lib/graphql/static_validation/literal_validator.rb:13 def validate(ast_value, type); end private @@ -16027,420 +16027,420 @@ class GraphQL::StaticValidation::LiteralValidator # # @return [Boolean] # - # source://graphql//lib/graphql/static_validation/literal_validator.rb#97 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#17 + # pkg:gem/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 + # pkg:gem/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#24 + # pkg:gem/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#31 + # pkg:gem/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#21 + # pkg:gem/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#28 + # pkg:gem/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#22 + # pkg:gem/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#29 + # pkg:gem/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 + # pkg:gem/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#20 + # pkg:gem/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#27 + # pkg:gem/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#19 + # pkg:gem/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#26 + # pkg:gem/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#18 + # pkg:gem/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#25 + # pkg:gem/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#23 + # pkg:gem/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#30 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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/not_single_subscription_error.rb#4 +# pkg:gem/graphql#lib/graphql/static_validation/rules/not_single_subscription_error.rb:4 class GraphQL::StaticValidation::NotSingleSubscriptionError < ::GraphQL::StaticValidation::Error # @return [NotSingleSubscriptionError] a new instance of NotSingleSubscriptionError # - # source://graphql//lib/graphql/static_validation/rules/not_single_subscription_error.rb#5 + # pkg:gem/graphql#lib/graphql/static_validation/rules/not_single_subscription_error.rb:5 def initialize(message, path: T.unsafe(nil), nodes: T.unsafe(nil)); end - # source://graphql//lib/graphql/static_validation/rules/not_single_subscription_error.rb#20 + # pkg:gem/graphql#lib/graphql/static_validation/rules/not_single_subscription_error.rb:20 def code; end # A hash representation of this Message # - # source://graphql//lib/graphql/static_validation/rules/not_single_subscription_error.rb#10 + # pkg:gem/graphql#lib/graphql/static_validation/rules/not_single_subscription_error.rb:10 def to_h; end end -# source://graphql//lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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_and_single_subscription_selection.rb#4 +# pkg:gem/graphql#lib/graphql/static_validation/rules/subscription_root_exists_and_single_subscription_selection.rb:4 module GraphQL::StaticValidation::SubscriptionRootExistsAndSingleSubscriptionSelection - # source://graphql//lib/graphql/static_validation/rules/subscription_root_exists_and_single_subscription_selection.rb#5 + # pkg:gem/graphql#lib/graphql/static_validation/rules/subscription_root_exists_and_single_subscription_selection.rb:5 def on_operation_definition(node, parent); end end -# source://graphql//lib/graphql/static_validation/rules/subscription_root_exists_error.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_enum_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_enum_value_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_field(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_field_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_fragment_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_fragment_spread(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_inline_fragment(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_input_object_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_input_value_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_interface_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_object_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_operation_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_scalar_type_definition(node, parent); end - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#32 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:32 def on_union_type_definition(node, parent); end private - # source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#37 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:37 def validate_directive_location(node); end end -# source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location.rb#5 +# pkg:gem/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.rb#22 +# pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location.rb:22 GraphQL::StaticValidation::UniqueDirectivesPerLocation::VALIDATE_DIRECTIVE_LOCATION_ON_NODE = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/static_validation/rules/unique_directives_per_location_error.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/unique_directives_per_location_error.rb:13 def to_h; end end @@ -16452,114 +16452,114 @@ end # # It holds a list of errors which each validator may add to. # -# source://graphql//lib/graphql/static_validation/validation_context.rb#11 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:21 def initialize(query, visitor_class, max_errors); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def argument_definition(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def argument_definition(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def dependencies(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def dependencies(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#53 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:53 def did_you_mean_suggestion(name, options); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def directive_definition(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def directive_definition(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#19 - def document(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:19 + def document(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute errors. # - # source://graphql//lib/graphql/static_validation/validation_context.rb#14 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:14 def errors; end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def field_definition(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def field_definition(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#19 - def fragments(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:19 + def fragments(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute max_errors. # - # source://graphql//lib/graphql/static_validation/validation_context.rb#14 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:14 def max_errors; end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def object_types(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def object_types(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#37 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:14 def on_dependency_resolve_handlers; end - # source://graphql//lib/graphql/static_validation/validation_context.rb#19 - def operations(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:19 + def operations(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def parent_type_definition(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def parent_type_definition(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def path(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def path(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute query. # - # source://graphql//lib/graphql/static_validation/validation_context.rb#14 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:14 def schema; end - # source://graphql//lib/graphql/static_validation/validation_context.rb#49 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:45 def too_many_errors?; end - # source://graphql//lib/graphql/static_validation/validation_context.rb#33 - def type_definition(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:33 + def type_definition(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute types. # - # source://graphql//lib/graphql/static_validation/validation_context.rb#14 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:14 def types; end - # source://graphql//lib/graphql/static_validation/validation_context.rb#41 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/validation_context.rb:14 def visitor; end end -# source://graphql//lib/graphql/static_validation/validation_timeout_error.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/validation_timeout_error.rb:10 def to_h; end end @@ -16572,13 +16572,13 @@ end # query = GraphQL::Query.new(MySchema, query_string) # errors = validator.validate(query)[:errors] # -# source://graphql//lib/graphql/static_validation/validator.rb#15 +# pkg:gem/graphql#lib/graphql/static_validation/validator.rb:15 class GraphQL::StaticValidation::Validator # @param rules [Array<#validate(context)>] a list of rules to use when validating # @param schema [GraphQL::Schema] # @return [Validator] a new instance of Validator # - # source://graphql//lib/graphql/static_validation/validator.rb#18 + # pkg:gem/graphql#lib/graphql/static_validation/validator.rb:18 def initialize(schema:, rules: T.unsafe(nil)); end # Invoked when static validation times out. @@ -16586,7 +16586,7 @@ class GraphQL::StaticValidation::Validator # @param context [GraphQL::StaticValidation::ValidationContext] # @param query [GraphQL::Query] # - # source://graphql//lib/graphql/static_validation/validator.rb#75 + # pkg:gem/graphql#lib/graphql/static_validation/validator.rb:75 def handle_timeout(query, context); end # Validate `query` against the schema. Returns an array of message hashes. @@ -16597,181 +16597,181 @@ class GraphQL::StaticValidation::Validator # @param validate [Boolean] # @return [Array] # - # source://graphql//lib/graphql/static_validation/validator.rb#29 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/variables_are_input_types_error.rb:6 def variable_name; end end @@ -16785,32 +16785,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/static_validation/rules/variables_are_used_and_defined.rb:68 def on_variable_identifier(node, parent); end private @@ -16818,152 +16818,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/string_encoding_error.rb:4 def string; end end -# source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:50 def default_broadcastable; end # A subscription was terminated server-side. @@ -16973,7 +16973,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return void. # - # source://graphql//lib/graphql/subscriptions.rb#211 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:211 def delete_subscription(subscription_id); end # A subscription query was re-evaluated, returning `result`. @@ -16984,7 +16984,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [void] # - # source://graphql//lib/graphql/subscriptions.rb#194 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:194 def deliver(subscription_id, result); end # Run the update query for this subscription and deliver it @@ -16993,7 +16993,7 @@ class GraphQL::Subscriptions # @see {#deliver} # @see {#execute_update} # - # source://graphql//lib/graphql/subscriptions.rb#158 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:158 def execute(subscription_id, event, object); end # Event `event` occurred on `object`, @@ -17004,7 +17004,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [void] # - # source://graphql//lib/graphql/subscriptions.rb#177 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:177 def execute_all(event, object); end # `event` was triggered on `object`, and `subscription_id` was subscribed, @@ -17017,7 +17017,7 @@ class GraphQL::Subscriptions # @param subscription_id [String] # @return [GraphQL::Query::Result] # - # source://graphql//lib/graphql/subscriptions.rb#104 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:104 def execute_update(subscription_id, event, object); end # Convert a user-provided event name or argument @@ -17029,7 +17029,7 @@ class GraphQL::Subscriptions # @param event_or_arg_name [String, Symbol] # @return [String] # - # source://graphql//lib/graphql/subscriptions.rb#228 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:228 def normalize_name(event_or_arg_name); end # The system wants to send an update to this subscription. @@ -17039,7 +17039,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [Hash] Containing required keys # - # source://graphql//lib/graphql/subscriptions.rb#185 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:185 def read_subscription(subscription_id); end # Fetch subscriptions matching this field + arguments pair @@ -17052,7 +17052,7 @@ class GraphQL::Subscriptions # @param scope [Symbol, String] # @return [void] # - # source://graphql//lib/graphql/subscriptions.rb#60 + # pkg:gem/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 @@ -17060,7 +17060,7 @@ class GraphQL::Subscriptions # # @return [Boolean] defaults to `true`, or false if `validate: false` is provided. # - # source://graphql//lib/graphql/subscriptions.rb#150 + # pkg:gem/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`. @@ -17071,7 +17071,7 @@ class GraphQL::Subscriptions # @raise [GraphQL::RequiredImplementationMissingError] # @return [void] # - # source://graphql//lib/graphql/subscriptions.rb#203 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:203 def write_subscription(query, events); end private @@ -17084,13 +17084,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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions.rb:25 def use(defn, options = T.unsafe(nil)); end end end @@ -17175,30 +17175,30 @@ end # end # @see GraphQL::Testing::MockActionCable for test helpers # -# source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#85 +# pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:85 class GraphQL::Subscriptions::ActionCableSubscriptions < ::GraphQL::Subscriptions # @param namespace [string] Used to namespace events and subscriptions (default: '') # @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)` # @return [ActionCableSubscriptions] a new instance of ActionCableSubscriptions # - # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#91 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:91 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#226 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:226 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#127 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:127 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#119 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:119 def execute_all(event, object); end # This is called to turn an ActionCable-broadcasted string (JSON) @@ -17207,12 +17207,12 @@ class GraphQL::Subscriptions::ActionCableSubscriptions < ::GraphQL::Subscription # @param context [GraphQL::Query::Context] the context of the first event for a given subscription fingerprint # @param message [String] n ActionCable-broadcasted string (JSON) # - # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#199 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:199 def load_action_cable_message(message, context); end # Return the query from "storage" (in memory) # - # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#208 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:208 def read_subscription(subscription_id); end # Every subscribing channel is listening here, but only one of them takes any action. @@ -17226,7 +17226,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#168 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:168 def setup_stream(channel, initial_event); end # A query was run where these events were subscribed to. @@ -17234,22 +17234,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#137 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:137 def write_subscription(query, events); end private - # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#251 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:251 def stream_event_name(event); end - # source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#247 + # pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:247 def stream_subscription_name(subscription_id); end end -# source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#87 +# pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:87 GraphQL::Subscriptions::ActionCableSubscriptions::EVENT_PREFIX = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/subscriptions/action_cable_subscriptions.rb#86 +# pkg:gem/graphql#lib/graphql/subscriptions/action_cable_subscriptions.rb:86 GraphQL::Subscriptions::ActionCableSubscriptions::SUBSCRIPTION_PREFIX = T.let(T.unsafe(nil), String) # Detect whether the current operation: @@ -17261,12 +17261,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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions/broadcast_analyzer.rb:13 def initialize(subject); end # Only analyze subscription operations @@ -17274,12 +17274,12 @@ class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # @api private # @return [Boolean] # - # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#21 + # pkg:gem/graphql#lib/graphql/subscriptions/broadcast_analyzer.rb:21 def analyze?; end # @api private # - # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#25 + # pkg:gem/graphql#lib/graphql/subscriptions/broadcast_analyzer.rb:25 def on_enter_field(node, parent, visitor); end # Assign the result to context. @@ -17288,7 +17288,7 @@ class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # @api private # @return [void] # - # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#49 + # pkg:gem/graphql#lib/graphql/subscriptions/broadcast_analyzer.rb:49 def result; end private @@ -17297,16 +17297,16 @@ class GraphQL::Subscriptions::BroadcastAnalyzer < ::GraphQL::Analysis::Analyzer # # @api private # - # source://graphql//lib/graphql/subscriptions/broadcast_analyzer.rb#57 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions/default_subscription_resolve_extension.rb:5 def resolve(context:, object:, arguments:); end end @@ -17314,52 +17314,52 @@ end # - Subscribed to by `subscription { ... }` # - Triggered by `MySchema.subscriber.trigger(name, arguments, obj)` # -# source://graphql//lib/graphql/subscriptions/event.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions/event.rb:13 def arguments; end # @return [GraphQL::Query::Context] # - # source://graphql//lib/graphql/subscriptions/event.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions/event.rb:19 def topic; end class << self - # source://graphql//lib/graphql/subscriptions/event.rb#64 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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, @@ -17368,13 +17368,13 @@ class GraphQL::Subscriptions::Event # # @raise [ArgumentError] # - # source://graphql//lib/graphql/subscriptions/event.rb#79 + # pkg:gem/graphql#lib/graphql/subscriptions/event.rb:79 def deep_sort_hash_keys(hash_to_sort); end - # source://graphql//lib/graphql/subscriptions/event.rb#150 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/subscriptions/event.rb:105 def stringify_args(arg_owner, args, context); end end end @@ -17383,14 +17383,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 +# pkg:gem/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#7 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:7 module GraphQL::Subscriptions::Serialize private @@ -17398,7 +17398,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#26 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:26 def dump(obj); end # This is for turning objects into subscription scopes. @@ -17408,14 +17408,14 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] # @return [String] # - # source://graphql//lib/graphql/subscriptions/serialize.rb#34 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:34 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#19 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:19 def load(str); end class << self @@ -17423,7 +17423,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#26 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:26 def dump(obj); end # This is for turning objects into subscription scopes. @@ -17433,14 +17433,14 @@ module GraphQL::Subscriptions::Serialize # @param obj [Object] # @return [String] # - # source://graphql//lib/graphql/subscriptions/serialize.rb#34 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:34 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#19 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:19 def load(str); end private @@ -17449,48 +17449,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#113 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:113 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#56 + # pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:56 def load_value(value); end end end # @api private # -# source://graphql//lib/graphql/subscriptions/serialize.rb#8 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:8 GraphQL::Subscriptions::Serialize::GLOBALID_KEY = T.let(T.unsafe(nil), String) # @api private # -# source://graphql//lib/graphql/subscriptions/serialize.rb#13 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:13 GraphQL::Subscriptions::Serialize::OPEN_STRUCT_KEY = T.let(T.unsafe(nil), String) # @api private # -# source://graphql//lib/graphql/subscriptions/serialize.rb#9 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:9 GraphQL::Subscriptions::Serialize::SYMBOL_KEY = T.let(T.unsafe(nil), String) # @api private # -# source://graphql//lib/graphql/subscriptions/serialize.rb#10 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:10 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#12 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:12 GraphQL::Subscriptions::Serialize::TIMESTAMP_FORMAT = T.let(T.unsafe(nil), String) # @api private # -# source://graphql//lib/graphql/subscriptions/serialize.rb#11 +# pkg:gem/graphql#lib/graphql/subscriptions/serialize.rb:11 GraphQL::Subscriptions::Serialize::TIMESTAMP_KEY = T.let(T.unsafe(nil), String) # Raised when either: @@ -17498,95 +17498,95 @@ 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 +# pkg:gem/graphql#lib/graphql/subscriptions.rb:21 class GraphQL::Subscriptions::SubscriptionScopeMissingError < ::GraphQL::Error; end -# source://graphql//lib/graphql/testing/helpers.rb#3 +# pkg:gem/graphql#lib/graphql/testing/helpers.rb:3 module GraphQL::Testing; end -# source://graphql//lib/graphql/testing/helpers.rb#4 +# pkg:gem/graphql#lib/graphql/testing/helpers.rb:4 module GraphQL::Testing::Helpers - # source://graphql//lib/graphql/testing/helpers.rb#42 + # pkg:gem/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), visibility_profile: T.unsafe(nil)); end # @yield [resolution_context] # - # source://graphql//lib/graphql/testing/helpers.rb#107 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:107 def with_resolution_context(schema, type:, object:, context: T.unsafe(nil), visibility_profile: 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 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:7 def for(schema_class); end end end -# source://graphql//lib/graphql/testing/helpers.rb#11 +# pkg:gem/graphql#lib/graphql/testing/helpers.rb:11 class GraphQL::Testing::Helpers::Error < ::GraphQL::Error; end -# source://graphql//lib/graphql/testing/helpers.rb#35 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:36 def initialize(type_name:, field_name:); end end -# source://graphql//lib/graphql/testing/helpers.rb#21 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:22 def initialize(type_name:, field_name:); end end -# source://graphql//lib/graphql/testing/helpers.rb#119 +# pkg:gem/graphql#lib/graphql/testing/helpers.rb:119 class GraphQL::Testing::Helpers::ResolutionAssertionContext # @return [ResolutionAssertionContext] a new instance of ResolutionAssertionContext # - # source://graphql//lib/graphql/testing/helpers.rb#120 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:120 def initialize(test, type_name:, object:, schema:, context:, visibility_profile:); end - # source://graphql//lib/graphql/testing/helpers.rb#131 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:131 def run_graphql_field(field_name, arguments: T.unsafe(nil)); end # Returns the value of attribute visibility_profile. # - # source://graphql//lib/graphql/testing/helpers.rb#129 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:129 def visibility_profile; end end -# source://graphql//lib/graphql/testing/helpers.rb#140 +# pkg:gem/graphql#lib/graphql/testing/helpers.rb:140 module GraphQL::Testing::Helpers::SchemaHelpers include ::GraphQL::Testing::Helpers - # source://graphql//lib/graphql/testing/helpers.rb#143 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:143 def run_graphql_field(field_path, object, arguments: T.unsafe(nil), context: T.unsafe(nil), visibility_profile: T.unsafe(nil)); end - # source://graphql//lib/graphql/testing/helpers.rb#147 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:147 def with_resolution_context(*args, **kwargs, &block); end class << self - # source://graphql//lib/graphql/testing/helpers.rb#152 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:152 def for(schema_class); end end end -# source://graphql//lib/graphql/testing/helpers.rb#28 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:29 def initialize(type_name:); end end -# source://graphql//lib/graphql/testing/helpers.rb#14 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/testing/helpers.rb:15 def initialize(type_name:); end end @@ -17624,58 +17624,58 @@ end # } # assert_equal [expected_msg], mock_channel.mock_broadcasted_messages # -# source://graphql//lib/graphql/testing/mock_action_cable.rb#40 +# pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:40 class GraphQL::Testing::MockActionCable class << self # Implements Rails API # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#87 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:87 def broadcast(stream_name, message); end # Call this before each test run to make sure that MockActionCable's data is empty # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#77 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:77 def clear_mocks; end # Use this as `context[:channel]` to simulate an ActionCable channel # # @return [GraphQL::Testing::MockActionCable::MockChannel] # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#100 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:100 def get_mock_channel; end # Used by mock code # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#93 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:93 def mock_stream_for(stream_name); end # @return [Array] Streams that currently have subscribers # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#105 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:105 def mock_stream_names; end # Implements Rails API # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#82 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:82 def server; end end end -# source://graphql//lib/graphql/testing/mock_action_cable.rb#41 +# pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:41 class GraphQL::Testing::MockActionCable::MockChannel # @return [MockChannel] a new instance of MockChannel # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#42 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:42 def initialize; end # @return [Array] Payloads "sent" to this channel by GraphQL-Ruby # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#47 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:47 def mock_broadcasted_messages; end # Called by ActionCableSubscriptions. Implements a Rails API. # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#50 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:50 def stream_from(stream_name, coder: T.unsafe(nil), &block); end end @@ -17683,26 +17683,26 @@ end # # @api private # -# source://graphql//lib/graphql/testing/mock_action_cable.rb#59 +# pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:59 class GraphQL::Testing::MockActionCable::MockStream # @api private # @return [MockStream] a new instance of MockStream # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#60 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:60 def initialize; end # @api private # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#64 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:64 def add_mock_channel(channel, handler); end # @api private # - # source://graphql//lib/graphql/testing/mock_action_cable.rb#68 + # pkg:gem/graphql#lib/graphql/testing/mock_action_cable.rb:68 def mock_broadcast(message); end end -# source://graphql//lib/graphql/tracing.rb#5 +# pkg:gem/graphql#lib/graphql/tracing.rb:5 module GraphQL::Tracing; end # This implementation forwards events to ActiveSupport::Notifications with a `graphql` suffix. @@ -17717,11 +17717,11 @@ module GraphQL::Tracing; end # pp event.payload # end # -# source://graphql//lib/graphql/tracing/active_support_notifications_trace.rb#20 +# pkg:gem/graphql#lib/graphql/tracing/active_support_notifications_trace.rb:20 module GraphQL::Tracing::ActiveSupportNotificationsTrace include ::GraphQL::Tracing::NotificationsTrace - # source://graphql//lib/graphql/tracing/active_support_notifications_trace.rb#22 + # pkg:gem/graphql#lib/graphql/tracing/active_support_notifications_trace.rb:22 def initialize(engine: T.unsafe(nil), **rest); end end @@ -17730,20 +17730,20 @@ end # # @see KEYS for event names # -# source://graphql//lib/graphql/tracing/active_support_notifications_tracing.rb#11 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -17758,108 +17758,108 @@ 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 +# pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:19 module GraphQL::Tracing::AppOpticsTrace include ::GraphQL::Tracing::PlatformTrace - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def analyze_multiplex(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def analyze_query(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#96 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:96 def authorized(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#107 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:107 def authorized_lazy(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#66 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:66 def execute_field(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#92 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:92 def execute_field_lazy(query:, field:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def execute_multiplex(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def execute_query(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def execute_query_lazy(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def lex(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def parse(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#147 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:147 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#143 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:143 def platform_field_key(field); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#151 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:151 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#118 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:118 def resolve_type(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#130 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:130 def resolve_type_lazy(**data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:47 def validate(**data); end private - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#157 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:157 def gql_config; end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#210 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:210 def graphql_context(context, layer); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#236 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:236 def graphql_multiplex(data); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#218 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:218 def graphql_query(query); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#229 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:229 def graphql_query_string(query_string); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#190 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:190 def metadata(data, layer); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#172 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:172 def multiplex_transaction_name(names); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#252 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:252 def remove_comments(query); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#243 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:243 def sanitize(query); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#182 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:182 def span_name(key); end - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#161 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:161 def transaction_name(query); end class << self - # source://graphql//lib/graphql/tracing/appoptics_trace.rb#31 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:31 def version; end end end # These GraphQL events will show up as 'graphql.execute' spans # -# source://graphql//lib/graphql/tracing/appoptics_trace.rb#23 +# pkg:gem/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#141 +# pkg:gem/graphql#lib/graphql/tracing/appoptics_trace.rb:141 class GraphQL::Tracing::AppOpticsTrace::KeyCache include ::GraphQL::Tracing::PlatformTrace include ::GraphQL::Tracing::AppOpticsTrace @@ -17868,7 +17868,7 @@ end # These GraphQL events will show up as 'graphql.prep' spans # -# source://graphql//lib/graphql/tracing/appoptics_trace.rb#21 +# pkg:gem/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 @@ -17883,58 +17883,58 @@ 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 +# pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:19 class GraphQL::Tracing::AppOpticsTracing < ::GraphQL::Tracing::PlatformTracing # @return [AppOpticsTracing] a new instance of AppOpticsTracing # - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:25 def initialize(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#68 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:68 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#64 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:64 def platform_field_key(type, field); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#72 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:72 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#49 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:49 def platform_trace(platform_key, _key, data); end private - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#78 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:78 def gql_config; end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#131 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:131 def graphql_context(context, layer); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#157 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:157 def graphql_multiplex(data); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#139 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:139 def graphql_query(query); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#150 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:150 def graphql_query_string(query_string); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#111 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:111 def metadata(data, layer); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#93 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:93 def multiplex_transaction_name(names); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#173 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:173 def remove_comments(query); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#164 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:164 def sanitize(query); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#103 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:103 def span_name(key); end - # source://graphql//lib/graphql/tracing/appoptics_tracing.rb#82 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:82 def transaction_name(query); end class << self @@ -17942,133 +17942,133 @@ 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#34 + # pkg:gem/graphql#lib/graphql/tracing/appoptics_tracing.rb:34 def version; end end end # These GraphQL events will show up as 'graphql.execute' spans # -# source://graphql//lib/graphql/tracing/appoptics_tracing.rb#23 +# pkg:gem/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 +# pkg:gem/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#12 +# pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 module GraphQL::Tracing::AppsignalTrace # @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]`. # - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def initialize(set_action_name: T.unsafe(nil), **rest); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def setup_appsignal_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def begin_appsignal_event(keyword, object); end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:12 def finish_appsignal_event; end end -# source://graphql//lib/graphql/tracing/appsignal_trace.rb#23 +# pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:23 class GraphQL::Tracing::AppsignalTrace::AppsignalMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor include ::GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#24 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:24 def instrument(keyword, object); end end -# source://graphql//lib/graphql/tracing/appsignal_trace.rb#38 +# pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:38 class GraphQL::Tracing::AppsignalTrace::AppsignalMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#43 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:43 def finish; end - # source://graphql//lib/graphql/tracing/appsignal_trace.rb#39 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_trace.rb:39 def start; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::AppsignalTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::AppsignalTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/appsignal_tracing.rb#7 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_tracing.rb:22 def initialize(options = T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#44 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_tracing.rb:44 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#40 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_tracing.rb:40 def platform_field_key(type, field); end - # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#48 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_tracing.rb:48 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/appsignal_tracing.rb#27 + # pkg:gem/graphql#lib/graphql/tracing/appsignal_tracing.rb:27 def platform_trace(platform_key, key, data); end end @@ -18076,174 +18076,174 @@ 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 +# pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:8 module GraphQL::Tracing::CallLegacyTracers - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#21 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:21 def analyze_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:25 def analyze_query(query:); end - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:29 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#33 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:33 def execute_query(query:); end - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#37 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:9 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:13 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/call_legacy_tracers.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/call_legacy_tracers.rb:17 def validate(query:, validate:); end end -# source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 +# pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 module GraphQL::Tracing::DataDogTrace - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def initialize(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def setup_datadog_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def begin_datadog_event(keyword, object); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:13 def finish_datadog_event; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::DataDogTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/data_dog_trace.rb#15 +# pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:15 class GraphQL::Tracing::DataDogTrace::DatadogMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor include ::GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames # @return [DatadogMonitor] a new instance of DatadogMonitor # - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#16 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:16 def initialize(set_transaction_name:, service: T.unsafe(nil), tracer: T.unsafe(nil), **_rest); end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#28 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:28 def instrument(keyword, object); end # Returns the value of attribute service_name. # - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#26 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:26 def service_name; end # Returns the value of attribute tracer. # - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#26 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:26 def tracer; end end -# source://graphql//lib/graphql/tracing/data_dog_trace.rb#58 +# pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:58 class GraphQL::Tracing::DataDogTrace::DatadogMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#64 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:64 def finish; end - # source://graphql//lib/graphql/tracing/data_dog_trace.rb#59 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_trace.rb:59 def start; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::DataDogTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/data_dog_tracing.rb#7 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_tracing.rb:65 def analytics_enabled?; end - # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#70 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_tracing.rb:70 def analytics_sample_rate; end - # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#79 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -18252,10 +18252,10 @@ class GraphQL::Tracing::DataDogTracing < ::GraphQL::Tracing::PlatformTracing # @param key [String] The event being traced # @param span [Datadog::Tracing::SpanOperation] The datadog span for this event # - # source://graphql//lib/graphql/tracing/data_dog_tracing.rb#55 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/data_dog_tracing.rb:58 def tracer; end end @@ -18300,51 +18300,51 @@ end # MySchema.execute(query_str, context: { detailed_trace_debug: false }) # @see Graphql::Dashboard GraphQL::Dashboard for viewing stored results # -# source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#5 +# pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:5 class GraphQL::Tracing::DetailedTrace # @return [DetailedTrace] a new instance of DetailedTrace # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#69 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:69 def initialize(storage:, trace_mode:, debug:); end # @return [Boolean] # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#84 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:84 def debug?; end # @return [void] # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#106 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:106 def delete_all_traces; end # @return [void] # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#101 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:101 def delete_trace(id); end # @return [StoredTrace, nil] # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#96 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:96 def find_trace(id); end - # source://graphql//lib/graphql/tracing/detailed_trace.rb#110 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:110 def inspect_object(object); end # @return [String] ID of saved trace # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#79 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:79 def save_trace(operation_name, duration_ms, begin_ms, trace_data); end # @return [Symbol] The trace mode to use when {Schema.detailed_trace?} returns `true` # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#76 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:76 def trace_mode; end # @param before [Integer] Timestamp in milliseconds since epoch # @param last [Integer] # @return [Enumerable] # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#91 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:91 def traces(last: T.unsafe(nil), before: T.unsafe(nil)); end class << self @@ -18352,17 +18352,17 @@ class GraphQL::Tracing::DetailedTrace # # @return [true] # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#124 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:124 def debug?; end - # source://graphql//lib/graphql/tracing/detailed_trace.rb#114 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:114 def inspect_object(object); end # @param debug [Boolean] if `false`, it won't create `debug` annotations in Perfetto traces (reduces overhead) # @param limit [Integer] A maximum number of profiles to store # @param redis [Redis] If provided, profiles will be stored in Redis for later review # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#56 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:56 def use(schema, trace_mode: T.unsafe(nil), memory: T.unsafe(nil), debug: T.unsafe(nil), redis: T.unsafe(nil), limit: T.unsafe(nil)); end end end @@ -18370,139 +18370,139 @@ end # An in-memory trace storage backend. Suitable for testing and development only. # It won't work for multi-process deployments and everything is erased when the app is restarted. # -# source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#8 +# pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:8 class GraphQL::Tracing::DetailedTrace::MemoryBackend # @return [MemoryBackend] a new instance of MemoryBackend # - # source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#9 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:9 def initialize(limit: T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#36 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:36 def delete_all_traces; end - # source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#31 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:31 def delete_trace(id); end - # source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#27 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:27 def find_trace(id); end - # source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#41 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:41 def save_trace(operation_name, duration, begin_ms, trace_data); end - # source://graphql//lib/graphql/tracing/detailed_trace/memory_backend.rb#15 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/memory_backend.rb:15 def traces(last:, before:); end end -# source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#6 +# pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:6 class GraphQL::Tracing::DetailedTrace::RedisBackend # @return [RedisBackend] a new instance of RedisBackend # - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#8 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:8 def initialize(redis:, limit: T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#32 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:32 def delete_all_traces; end - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#27 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:27 def delete_trace(id); end - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#36 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:36 def find_trace(id); end - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#45 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:45 def save_trace(operation_name, duration_ms, begin_ms, trace_data); end - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:14 def traces(last:, before:); end private - # source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#59 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:59 def entry_to_trace(id, json_str); end end -# source://graphql//lib/graphql/tracing/detailed_trace/redis_backend.rb#7 +# pkg:gem/graphql#lib/graphql/tracing/detailed_trace/redis_backend.rb:7 GraphQL::Tracing::DetailedTrace::RedisBackend::KEY_PREFIX = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/detailed_trace.rb#128 +# pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:128 class GraphQL::Tracing::DetailedTrace::StoredTrace # @return [StoredTrace] a new instance of StoredTrace # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#129 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:129 def initialize(id:, operation_name:, duration_ms:, begin_ms:, trace_data:); end # Returns the value of attribute begin_ms. # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#137 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:137 def begin_ms; end # Returns the value of attribute duration_ms. # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#137 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:137 def duration_ms; end # Returns the value of attribute id. # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#137 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:137 def id; end # Returns the value of attribute operation_name. # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#137 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:137 def operation_name; end # Returns the value of attribute trace_data. # - # source://graphql//lib/graphql/tracing/detailed_trace.rb#137 + # pkg:gem/graphql#lib/graphql/tracing/detailed_trace.rb:137 def trace_data; end end -# source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#5 +# pkg:gem/graphql#lib/graphql/tracing/legacy_hooks_trace.rb:5 module GraphQL::Tracing::LegacyHooksTrace - # source://graphql//lib/graphql/tracing/legacy_hooks_trace.rb#6 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/tracing/legacy_trace.rb:8 class GraphQL::Tracing::LegacyTrace < ::GraphQL::Tracing::Trace include ::GraphQL::Tracing::CallLegacyTracers end @@ -18512,260 +18512,260 @@ end # # @see ActiveSupportNotificationsTrace Integration via ActiveSupport::Notifications, an alternative approach. # -# source://graphql//lib/graphql/tracing/monitor_trace.rb#9 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:9 module GraphQL::Tracing::MonitorTrace class << self - # source://graphql//lib/graphql/tracing/monitor_trace.rb#135 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:135 def create_module(monitor_name); end end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#149 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:149 GraphQL::Tracing::MonitorTrace::MODULE_TEMPLATE = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#10 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:10 class GraphQL::Tracing::MonitorTrace::Monitor # @return [Monitor] a new instance of Monitor # - # source://graphql//lib/graphql/tracing/monitor_trace.rb#11 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:11 def initialize(trace:, set_transaction_name:, **_rest); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#44 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:44 def fallback_transaction_name(context); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#20 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:20 def instrument(keyword, object, &block); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#48 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:48 def name_for(keyword, object); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#24 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:24 def start_event(keyword, object); 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/monitor_trace.rb#32 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:32 def transaction_name(query); end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#68 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:68 class GraphQL::Tracing::MonitorTrace::Monitor::Event # @return [Event] a new instance of Event # - # source://graphql//lib/graphql/tracing/monitor_trace.rb#69 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:69 def initialize(monitor, keyword, object); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#81 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:81 def finish; end # Returns the value of attribute keyword. # - # source://graphql//lib/graphql/tracing/monitor_trace.rb#75 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:75 def keyword; end # Returns the value of attribute object. # - # source://graphql//lib/graphql/tracing/monitor_trace.rb#75 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:75 def object; end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#77 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:77 def start; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#110 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:110 module GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames - # source://graphql//lib/graphql/tracing/monitor_trace.rb#121 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:121 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#117 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:117 def platform_field_key(field); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#125 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:125 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#129 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:129 def platform_source_class_key(source_class); end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#115 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:115 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames::ANALYZE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#114 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:114 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames::EXECUTE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#112 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:112 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames::LEX_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#111 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:111 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames::PARSE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#113 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:113 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames::VALIDATE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#86 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:86 module GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames - # source://graphql//lib/graphql/tracing/monitor_trace.rb#97 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:97 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#93 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:93 def platform_field_key(field); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#101 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:101 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/monitor_trace.rb#105 + # pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:105 def platform_source_class_key(source_class); end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#91 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:91 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames::ANALYZE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#90 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:90 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames::EXECUTE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#88 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:88 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames::LEX_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#87 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:87 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames::PARSE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#89 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:89 GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames::VALIDATE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 module GraphQL::Tracing::NewRelicTrace - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def initialize(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def setup_newrelic_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def begin_newrelic_event(keyword, object); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:19 def finish_newrelic_event; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::NewRelicTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#21 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:21 class GraphQL::Tracing::NewRelicTrace::NewrelicMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#28 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:28 def instrument(keyword, payload, &block); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:47 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#43 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:43 def platform_field_key(field); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#51 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:51 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#39 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:39 def platform_source_class_key(source_class); end end -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#26 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:26 GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::ANALYZE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#25 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:25 GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::EXECUTE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#55 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:55 class GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#61 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:61 def finish; end - # source://graphql//lib/graphql/tracing/new_relic_trace.rb#56 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:56 def start; end end -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#23 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:23 GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::LEX_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#22 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:22 GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::PARSE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/new_relic_trace.rb#24 +# pkg:gem/graphql#lib/graphql/tracing/new_relic_trace.rb:24 GraphQL::Tracing::NewRelicTrace::NewrelicMonitor::VALIDATE_NAME = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::NewRelicTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/new_relic_tracing.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/new_relic_tracing.rb:27 def platform_trace(platform_key, key, data); end end @@ -18774,170 +18774,170 @@ end # # @see ActiveSupportNotificationsTrace ActiveSupport::Notifications integration # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#9 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:9 module GraphQL::Tracing::NotificationsTrace # @param engine [Class] The notifications engine to use, eg `Dry::Monitor` or `ActiveSupport::Notifications` # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#77 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:77 def initialize(engine:, **rest); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#107 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:107 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#146 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:146 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#166 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:166 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#123 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:123 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#156 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:156 def begin_resolve_type(type, object, context); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#138 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:138 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#133 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:133 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#112 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:112 def end_analyze_multiplex(_multiplex, _analyzers); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#151 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:151 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#171 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:171 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#128 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:128 def end_execute_field(_field, _object, _arguments, _query, _result); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#161 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:161 def end_resolve_type(type, object, context, resolved_type); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#117 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:117 def execute_multiplex(**payload); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#95 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:95 def lex(**payload); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#89 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:89 def parse(**payload); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#101 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:101 def validate(**payload); end private - # source://graphql//lib/graphql/tracing/notifications_trace.rb#181 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:181 def begin_notifications_event(name, payload); end - # source://graphql//lib/graphql/tracing/notifications_trace.rb#185 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:185 def finish_notifications_event; end end # @api private # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#58 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:58 class GraphQL::Tracing::NotificationsTrace::ActiveSupportNotificationsAdapter < ::GraphQL::Tracing::NotificationsTrace::Adapter # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#59 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:59 def instrument(*_arg0, **_arg1, &_arg2); end end # @api private # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#63 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:63 class GraphQL::Tracing::NotificationsTrace::ActiveSupportNotificationsAdapter::Event < ::GraphQL::Tracing::NotificationsTrace::Adapter::Event # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#69 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:69 def finish; end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#64 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:64 def start; end end # @api private # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#11 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:11 class GraphQL::Tracing::NotificationsTrace::Adapter # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:12 def instrument(keyword, payload, &block); end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#16 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:16 def start_event(keyword, payload); end end # @api private # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#22 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:22 class GraphQL::Tracing::NotificationsTrace::Adapter::Event # @api private # @return [Event] a new instance of Event # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#23 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:23 def initialize(name, payload); end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#34 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:34 def finish; end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#28 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:28 def name; end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#28 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:28 def payload; end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#30 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:30 def start; end end -# source://graphql//lib/graphql/tracing/notifications_trace.rb#176 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:176 GraphQL::Tracing::NotificationsTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) # @api private # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#41 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:41 class GraphQL::Tracing::NotificationsTrace::DryMonitorAdapter < ::GraphQL::Tracing::NotificationsTrace::Adapter # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#42 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:42 def instrument(*_arg0, **_arg1, &_arg2); end end # @api private # -# source://graphql//lib/graphql/tracing/notifications_trace.rb#46 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:46 class GraphQL::Tracing::NotificationsTrace::DryMonitorAdapter::Event < ::GraphQL::Tracing::NotificationsTrace::Adapter::Event # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#51 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:51 def finish; end # @api private # - # source://graphql//lib/graphql/tracing/notifications_trace.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:47 def start; end end -# source://graphql//lib/graphql/tracing/notifications_trace.rb#177 +# pkg:gem/graphql#lib/graphql/tracing/notifications_trace.rb:177 GraphQL::Tracing::NotificationsTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) # This implementation forwards events to a notification handler (i.e. @@ -18946,14 +18946,14 @@ GraphQL::Tracing::NotificationsTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Sym # # @see KEYS for event names # -# source://graphql//lib/graphql/tracing/notifications_tracing.rb#12 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/notifications_tracing.rb:35 def initialize(notifications_engine); end # Sends a GraphQL tracing event to the notification handler @@ -18966,30 +18966,30 @@ 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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#68 +# pkg:gem/graphql#lib/graphql/tracing.rb:68 module GraphQL::Tracing::NullTracer private - # source://graphql//lib/graphql/tracing.rb#70 + # pkg:gem/graphql#lib/graphql/tracing.rb:70 def trace(k, v); end class << self - # source://graphql//lib/graphql/tracing.rb#70 + # pkg:gem/graphql#lib/graphql/tracing.rb:70 def trace(k, v); end end end @@ -19019,74 +19019,74 @@ end # result = MySchema.execute(...) # result.query.trace.write(file: "tmp/trace.dump") # -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#30 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:30 module GraphQL::Tracing::PerfettoTrace # @param active_support_notifications_pattern [String, RegExp, false] A filter for `ActiveSupport::Notifications`, if it's present. Or `false` to skip subscribing. # - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#76 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:76 def initialize(active_support_notifications_pattern: T.unsafe(nil), save_profile: T.unsafe(nil), **_rest); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#274 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:274 def begin_analyze_multiplex(m, analyzers); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#496 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:496 def begin_authorized(type, obj, ctx); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#438 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:438 def begin_dataloader(dl); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#458 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:458 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#237 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:237 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#526 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:526 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#321 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:321 def begin_validate(query, validate); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#426 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:426 def dataloader_fiber_exit; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#407 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:407 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#385 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:385 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#359 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:359 def dataloader_spawn_execution_fiber(jobs); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#372 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:372 def dataloader_spawn_source_fiber(pending_sources); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#289 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:289 def end_analyze_multiplex(m, analyzers); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#510 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:510 def end_authorized(type, obj, ctx, is_authorized); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#449 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:449 def end_dataloader(dl); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#483 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:483 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#251 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:251 def end_execute_field(field, object, arguments, query, app_result); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#540 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:540 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#335 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:335 def end_validate(query, validate, validation_errors); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#207 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:207 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#301 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:301 def parse(query_string:); end # Dump protobuf output in the specified file. @@ -19095,282 +19095,303 @@ module GraphQL::Tracing::PerfettoTrace # @param file [String] path to a file in a directory that already exists # @return [nil, String, Hash] If `file` was given, `nil`. If `file` was `nil`, a Hash if `debug_json: true`, else binary data. # - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#560 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:560 def write(file:, debug_json: T.unsafe(nil)); end private - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#679 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:679 def count_allocations; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#683 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:683 def count_fibers(diff); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#687 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:687 def count_fields; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#593 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:593 def debug_annotation(iid, value_key, value); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#691 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:691 def dup_with(message, attrs, delete_counters: T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#701 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:701 def fiber_flow_stack; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#589 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:589 def fid; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#719 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:719 def new_interned_data; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#601 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:601 def payload_to_debug(k, v, iid: T.unsafe(nil), intern_value: T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#775 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:775 def subscribe_to_active_support_notifications(pattern); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#585 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:585 def tid; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#705 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:705 def trace_packet(timestamp: T.unsafe(nil), **event_attrs); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#746 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:746 def track_descriptor_packet(parent_uuid, uuid, name, counter: T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#581 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:581 def ts; end - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#769 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:769 def unsubscribe_from_active_support_notifications; end class << self # @private # - # source://graphql//lib/graphql/tracing/perfetto_trace.rb#45 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:45 def included(_trace_class); end end end -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#53 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:53 GraphQL::Tracing::PerfettoTrace::ACTIVE_SUPPORT_NOTIFICATIONS_CATEGORY_IIDS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#54 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:54 GraphQL::Tracing::PerfettoTrace::AUTHORIZED_CATEGORY_IIDS = T.let(T.unsafe(nil), Array) +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:23 class GraphQL::Tracing::PerfettoTrace::CounterDescriptor < ::Google::Protobuf::AbstractMessage; end +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 module GraphQL::Tracing::PerfettoTrace::CounterDescriptor::BuiltinCounterType class << self - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#24 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 def descriptor; end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#24 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 def lookup(_arg0); end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#24 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 def resolve(_arg0); end end end -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#24 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::BuiltinCounterType::COUNTER_THREAD_INSTRUCTION_COUNT = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#24 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::BuiltinCounterType::COUNTER_THREAD_TIME_NS = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#24 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:24 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::BuiltinCounterType::COUNTER_UNSPECIFIED = T.let(T.unsafe(nil), Integer) +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 module GraphQL::Tracing::PerfettoTrace::CounterDescriptor::Unit class << self - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 def descriptor; end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 def lookup(_arg0); end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 def resolve(_arg0); end end end -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::Unit::UNIT_COUNT = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::Unit::UNIT_SIZE_BYTES = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::Unit::UNIT_TIME_NS = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#25 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:25 GraphQL::Tracing::PerfettoTrace::CounterDescriptor::Unit::UNIT_UNSPECIFIED = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#51 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:51 GraphQL::Tracing::PerfettoTrace::DATALOADER_CATEGORY_IIDS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#59 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:59 GraphQL::Tracing::PerfettoTrace::DA_ARGUMENTS_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#71 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:71 GraphQL::Tracing::PerfettoTrace::DA_DEBUG_INSPECT_CLASS_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#73 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:73 GraphQL::Tracing::PerfettoTrace::DA_DEBUG_INSPECT_FOR_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#60 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:60 GraphQL::Tracing::PerfettoTrace::DA_FETCH_KEYS_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#57 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:57 GraphQL::Tracing::PerfettoTrace::DA_OBJECT_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#58 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:58 GraphQL::Tracing::PerfettoTrace::DA_RESULT_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#61 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:61 GraphQL::Tracing::PerfettoTrace::DA_STR_VAL_NIL_IID = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#70 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:70 GraphQL::Tracing::PerfettoTrace::DEBUG_INSPECT_CATEGORY_IIDS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#72 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:72 GraphQL::Tracing::PerfettoTrace::DEBUG_INSPECT_EVENT_NAME_IID = T.let(T.unsafe(nil), Integer) +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:20 class GraphQL::Tracing::PerfettoTrace::DebugAnnotation < ::Google::Protobuf::AbstractMessage; end + +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:30 class GraphQL::Tracing::PerfettoTrace::DebugAnnotationName < ::Google::Protobuf::AbstractMessage; end + +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:28 class GraphQL::Tracing::PerfettoTrace::EventCategory < ::Google::Protobuf::AbstractMessage; end + +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:29 class GraphQL::Tracing::PerfettoTrace::EventName < ::Google::Protobuf::AbstractMessage; end -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#52 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:52 GraphQL::Tracing::PerfettoTrace::FIELD_EXECUTE_CATEGORY_IIDS = T.let(T.unsafe(nil), Array) +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:26 class GraphQL::Tracing::PerfettoTrace::InternedData < ::Google::Protobuf::AbstractMessage; end + +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:27 class GraphQL::Tracing::PerfettoTrace::InternedString < ::Google::Protobuf::AbstractMessage; end # TODOs: # - Make debug annotations visible on both parts when dataloader is involved # -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#34 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:34 GraphQL::Tracing::PerfettoTrace::PROTOBUF_AVAILABLE = T.let(T.unsafe(nil), TrueClass) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#55 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:55 GraphQL::Tracing::PerfettoTrace::RESOLVE_TYPE_CATEGORY_IIDS = T.let(T.unsafe(nil), Array) -# source://graphql//lib/graphql/tracing/perfetto_trace.rb#63 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace.rb:63 GraphQL::Tracing::PerfettoTrace::REVERSE_DEBUG_NAME_LOOKUP = T.let(T.unsafe(nil), Hash) +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:16 class GraphQL::Tracing::PerfettoTrace::Trace < ::Google::Protobuf::AbstractMessage; end + +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:17 class GraphQL::Tracing::PerfettoTrace::TracePacket < ::Google::Protobuf::AbstractMessage; end + +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:21 class GraphQL::Tracing::PerfettoTrace::TrackDescriptor < ::Google::Protobuf::AbstractMessage; end +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 module GraphQL::Tracing::PerfettoTrace::TrackDescriptor::ChildTracksOrdering class << self - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 def descriptor; end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 def lookup(_arg0); end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 def resolve(_arg0); end end end -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 GraphQL::Tracing::PerfettoTrace::TrackDescriptor::ChildTracksOrdering::CHRONOLOGICAL = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 GraphQL::Tracing::PerfettoTrace::TrackDescriptor::ChildTracksOrdering::EXPLICIT = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 GraphQL::Tracing::PerfettoTrace::TrackDescriptor::ChildTracksOrdering::LEXICOGRAPHIC = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#22 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:22 GraphQL::Tracing::PerfettoTrace::TrackDescriptor::ChildTracksOrdering::UNKNOWN = T.let(T.unsafe(nil), Integer) +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:18 class GraphQL::Tracing::PerfettoTrace::TrackEvent < ::Google::Protobuf::AbstractMessage; end +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 module GraphQL::Tracing::PerfettoTrace::TrackEvent::Type class << self - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 def descriptor; end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 def lookup(_arg0); end - # source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 + # pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 def resolve(_arg0); end end end -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 GraphQL::Tracing::PerfettoTrace::TrackEvent::Type::TYPE_COUNTER = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 GraphQL::Tracing::PerfettoTrace::TrackEvent::Type::TYPE_INSTANT = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 GraphQL::Tracing::PerfettoTrace::TrackEvent::Type::TYPE_SLICE_BEGIN = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 GraphQL::Tracing::PerfettoTrace::TrackEvent::Type::TYPE_SLICE_END = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/perfetto_trace/trace_pb.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/perfetto_trace/trace_pb.rb:19 GraphQL::Tracing::PerfettoTrace::TrackEvent::Type::TYPE_UNSPECIFIED = T.let(T.unsafe(nil), Integer) -# source://graphql//lib/graphql/tracing/platform_trace.rb#5 +# pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:5 module GraphQL::Tracing::PlatformTrace - # source://graphql//lib/graphql/tracing/platform_trace.rb#6 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:28 def platform_authorized_lazy(key, &block); end - # source://graphql//lib/graphql/tracing/platform_trace.rb#24 + # pkg:gem/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 + # pkg:gem/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#118 + # pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:118 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#106 + # pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:106 def transaction_name(query); end class << self # @private # - # source://graphql//lib/graphql/tracing/platform_trace.rb#36 + # pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:36 def included(child_class); end end end -# source://graphql//lib/graphql/tracing/platform_trace.rb#13 +# pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:13 module GraphQL::Tracing::PlatformTrace::BaseKeyCache - # source://graphql//lib/graphql/tracing/platform_trace.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/platform_trace.rb:20 def platform_resolve_type_key_cache; end end @@ -19381,17 +19402,17 @@ end # # @api private # -# source://graphql//lib/graphql/tracing/platform_tracing.rb#10 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/platform_tracing.rb:25 def trace(key, data); end private @@ -19412,17 +19433,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -19430,507 +19451,507 @@ class GraphQL::Tracing::PlatformTracing # # @api private # - # source://graphql//lib/graphql/tracing/platform_tracing.rb#98 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/platform_tracing.rb:14 def inherited(child_class); end # @api private # - # source://graphql//lib/graphql/tracing/platform_tracing.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/platform_tracing.rb:12 def platform_keys; end # @api private # - # source://graphql//lib/graphql/tracing/platform_tracing.rb#12 + # pkg:gem/graphql#lib/graphql/tracing/platform_tracing.rb:12 def platform_keys=(_arg0); end # @api private # - # source://graphql//lib/graphql/tracing/platform_tracing.rb#75 + # pkg:gem/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#29 +# pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 module GraphQL::Tracing::PrometheusTrace - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 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#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def parse(query_string:); end # Returns the value of attribute prometheus_client. # - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#43 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:43 def prometheus_client; end # Returns the value of attribute prometheus_collector_type. # - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#43 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:43 def prometheus_collector_type; end # Returns the value of attribute prometheus_keys_whitelist. # - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#43 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:43 def prometheus_keys_whitelist; end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def setup_prometheus_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def begin_prometheus_event(keyword, object); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#29 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:29 def finish_prometheus_event; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::PrometheusTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::PrometheusTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/prometheus_trace.rb#45 +# pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:45 class GraphQL::Tracing::PrometheusTrace::PrometheusMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor include ::GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames # @return [Boolean] # - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#58 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:58 def active?(keyword); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#62 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:62 def gettime; end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#46 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:46 def instrument(keyword, object); end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#66 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:66 def send_json(duration, keyword, object); end end -# source://graphql//lib/graphql/tracing/prometheus_trace.rb#78 +# pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:78 class GraphQL::Tracing::PrometheusTrace::PrometheusMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#83 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:83 def finish; end - # source://graphql//lib/graphql/tracing/prometheus_trace.rb#79 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_trace.rb:79 def start; end end -# source://graphql//lib/graphql/tracing/prometheus_tracing.rb#7 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_tracing.rb:24 def initialize(opts = T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#41 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_tracing.rb:41 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#37 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_tracing.rb:37 def platform_field_key(type, field); end - # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#45 + # pkg:gem/graphql#lib/graphql/tracing/prometheus_tracing.rb:45 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/prometheus_tracing.rb#32 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#13 +# pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 module GraphQL::Tracing::ScoutTrace - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def initialize(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def setup_scout_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def begin_scout_event(keyword, object); end - # source://graphql//lib/graphql/tracing/scout_trace.rb#13 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:13 def finish_scout_event; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::ScoutTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::ScoutTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/scout_trace.rb#15 +# pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:15 class GraphQL::Tracing::ScoutTrace::ScoutMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor include ::GraphQL::Tracing::MonitorTrace::Monitor::GraphQLSuffixNames - # source://graphql//lib/graphql/tracing/scout_trace.rb#16 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:16 def instrument(keyword, object); end end -# source://graphql//lib/graphql/tracing/scout_trace.rb#34 +# pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:34 class GraphQL::Tracing::ScoutTrace::ScoutMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/scout_trace.rb#42 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:42 def finish; end - # source://graphql//lib/graphql/tracing/scout_trace.rb#35 + # pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:35 def start; end end -# source://graphql//lib/graphql/tracing/scout_trace.rb#30 +# pkg:gem/graphql#lib/graphql/tracing/scout_trace.rb:30 GraphQL::Tracing::ScoutTrace::ScoutMonitor::INSTRUMENT_OPTS = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql/tracing/scout_tracing.rb#7 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/scout_tracing.rb:24 def initialize(options = T.unsafe(nil)); end - # source://graphql//lib/graphql/tracing/scout_tracing.rb#47 + # pkg:gem/graphql#lib/graphql/tracing/scout_tracing.rb:47 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/scout_tracing.rb#43 + # pkg:gem/graphql#lib/graphql/tracing/scout_tracing.rb:43 def platform_field_key(type, field); end - # source://graphql//lib/graphql/tracing/scout_tracing.rb#51 + # pkg:gem/graphql#lib/graphql/tracing/scout_tracing.rb:51 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/scout_tracing.rb#30 + # pkg:gem/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 +# pkg:gem/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#14 +# pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 module GraphQL::Tracing::SentryTrace - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def initialize(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def setup_sentry_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def begin_sentry_event(keyword, object); end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#14 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:14 def finish_sentry_event; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::SentryTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::SentryTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/sentry_trace.rb#16 +# pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:16 class GraphQL::Tracing::SentryTrace::SentryMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor include ::GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames - # source://graphql//lib/graphql/tracing/sentry_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:17 def instrument(keyword, object); end private - # source://graphql//lib/graphql/tracing/sentry_trace.rb#58 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:58 def operation_name(query); end end -# source://graphql//lib/graphql/tracing/sentry_trace.rb#67 +# pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:67 class GraphQL::Tracing::SentryTrace::SentryMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/sentry_trace.rb#75 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:75 def finish; end - # source://graphql//lib/graphql/tracing/sentry_trace.rb#68 + # pkg:gem/graphql#lib/graphql/tracing/sentry_trace.rb:68 def start; end end -# source://graphql//lib/graphql/tracing/statsd_trace.rb#17 +# pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 module GraphQL::Tracing::StatsdTrace - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def initialize(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def begin_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def begin_authorized(type, object, context); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def begin_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def begin_execute_field(field, object, arguments, query); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def dataloader_fiber_resume(source); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def dataloader_fiber_yield(source); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def end_analyze_multiplex(multiplex, analyzers); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def end_authorized(type, object, context, result); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def end_dataloader_source(source); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def end_execute_field(field, object, arguments, query, result); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def lex(query_string:); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def setup_statsd_monitor(trace_scalars: T.unsafe(nil), trace_authorized: T.unsafe(nil), trace_resolve_type: T.unsafe(nil), set_transaction_name: T.unsafe(nil), **kwargs); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def validate(query:, validate:); end private - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def begin_statsd_event(keyword, object); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#17 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:17 def finish_statsd_event; end end -# source://graphql//lib/graphql/tracing/monitor_trace.rb#263 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:263 GraphQL::Tracing::StatsdTrace::CURRENT_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/monitor_trace.rb#264 +# pkg:gem/graphql#lib/graphql/tracing/monitor_trace.rb:264 GraphQL::Tracing::StatsdTrace::PREVIOUS_EV_KEY = T.let(T.unsafe(nil), Symbol) -# source://graphql//lib/graphql/tracing/statsd_trace.rb#19 +# pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:19 class GraphQL::Tracing::StatsdTrace::StatsdMonitor < ::GraphQL::Tracing::MonitorTrace::Monitor include ::GraphQL::Tracing::MonitorTrace::Monitor::GraphQLPrefixNames # @return [StatsdMonitor] a new instance of StatsdMonitor # - # source://graphql//lib/graphql/tracing/statsd_trace.rb#20 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:20 def initialize(statsd:, **_rest); end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#27 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:27 def instrument(keyword, object); end # Returns the value of attribute statsd. # - # source://graphql//lib/graphql/tracing/statsd_trace.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:25 def statsd; end end -# source://graphql//lib/graphql/tracing/statsd_trace.rb#35 +# pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:35 class GraphQL::Tracing::StatsdTrace::StatsdMonitor::Event < ::GraphQL::Tracing::MonitorTrace::Monitor::Event - # source://graphql//lib/graphql/tracing/statsd_trace.rb#40 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:40 def finish; end - # source://graphql//lib/graphql/tracing/statsd_trace.rb#36 + # pkg:gem/graphql#lib/graphql/tracing/statsd_trace.rb:36 def start; end end -# source://graphql//lib/graphql/tracing/statsd_tracing.rb#7 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/statsd_tracing.rb:20 def initialize(statsd:, **rest); end - # source://graphql//lib/graphql/tracing/statsd_tracing.rb#35 + # pkg:gem/graphql#lib/graphql/tracing/statsd_tracing.rb:35 def platform_authorized_key(type); end - # source://graphql//lib/graphql/tracing/statsd_tracing.rb#31 + # pkg:gem/graphql#lib/graphql/tracing/statsd_tracing.rb:31 def platform_field_key(type, field); end - # source://graphql//lib/graphql/tracing/statsd_tracing.rb#39 + # pkg:gem/graphql#lib/graphql/tracing/statsd_tracing.rb:39 def platform_resolve_type_key(type); end - # source://graphql//lib/graphql/tracing/statsd_tracing.rb#25 + # pkg:gem/graphql#lib/graphql/tracing/statsd_tracing.rb:25 def platform_trace(platform_key, key, data); end end @@ -19940,35 +19961,35 @@ 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. # -# source://graphql//lib/graphql/tracing/trace.rb#13 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:16 def initialize(multiplex: T.unsafe(nil), query: T.unsafe(nil), **_options); end # @param multiplex [GraphQL::Execution::Multiplex] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#52 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:52 def analyze_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/trace.rb#56 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:56 def analyze_query(query:); end - # source://graphql//lib/graphql/tracing/trace.rb#97 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:97 def authorized(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/trace.rb#117 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:117 def authorized_lazy(query:, type:, object:); end # @param analyzers [Array] # @param multiplex [GraphQL::Execution::Multiplex] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#45 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:45 def begin_analyze_multiplex(multiplex, analyzers); end # A call to `.authorized?` is starting @@ -19978,7 +19999,7 @@ class GraphQL::Tracing::Trace # @param type [Class] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#106 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:106 def begin_authorized(type, object, context); end # A dataloader run is starting @@ -19986,7 +20007,7 @@ class GraphQL::Tracing::Trace # @param dataloader [GraphQL::Dataloader] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#149 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:149 def begin_dataloader(dataloader); end # A source with pending keys is about to fetch @@ -19994,7 +20015,7 @@ class GraphQL::Tracing::Trace # @param source [GraphQL::Dataloader::Source] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#158 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:158 def begin_dataloader_source(source); end # GraphQL is about to resolve this field @@ -20004,7 +20025,7 @@ class GraphQL::Tracing::Trace # @param object [GraphQL::Schema::Object] # @param query [GraphQL::Query] # - # source://graphql//lib/graphql/tracing/trace.rb#80 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:80 def begin_execute_field(field, object, arguments, query); end # A call to `.resolve_type` is starting @@ -20014,17 +20035,17 @@ class GraphQL::Tracing::Trace # @param value [Object] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#134 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:134 def begin_resolve_type(type, value, context); end - # source://graphql//lib/graphql/tracing/trace.rb#36 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:36 def begin_validate(query, validate); end # Called when an execution or source fiber terminates # # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#174 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:174 def dataloader_fiber_exit; end # Called when a Dataloader fiber is resumed because data has been loaded @@ -20032,7 +20053,7 @@ class GraphQL::Tracing::Trace # @param source [GraphQL::Dataloader::Source] The Source whose `load` call previously caused this Fiber to wait # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#183 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:183 def dataloader_fiber_resume(source); end # Called when a Dataloader fiber is paused to wait for data @@ -20040,7 +20061,7 @@ class GraphQL::Tracing::Trace # @param source [GraphQL::Dataloader::Source] The Source whose `load` call initiated this `yield` # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#179 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:179 def dataloader_fiber_yield(source); end # Called when Dataloader spins up a new fiber for GraphQL execution @@ -20048,7 +20069,7 @@ class GraphQL::Tracing::Trace # @param jobs [Array<#call>] Execution steps to run # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#167 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:167 def dataloader_spawn_execution_fiber(jobs); end # Called when Dataloader spins up a new fiber for fetching data @@ -20056,14 +20077,14 @@ class GraphQL::Tracing::Trace # @param pending_sources [GraphQL::Dataloader::Source] Instances with pending keys # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#171 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:171 def dataloader_spawn_source_fiber(pending_sources); end # @param analyzers [Array] # @param multiplex [GraphQL::Execution::Multiplex] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#49 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:49 def end_analyze_multiplex(multiplex, analyzers); end # A call to `.authorized?` just finished @@ -20074,7 +20095,7 @@ class GraphQL::Tracing::Trace # @param type [Class] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#114 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:114 def end_authorized(type, object, context, authorized_result); end # A dataloader run has ended @@ -20082,7 +20103,7 @@ class GraphQL::Tracing::Trace # @param dataloder [GraphQL::Dataloader] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#153 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:153 def end_dataloader(dataloader); end # A fetch call has just ended @@ -20090,7 +20111,7 @@ class GraphQL::Tracing::Trace # @param source [GraphQL::Dataloader::Source] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#162 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:162 def end_dataloader_source(source); end # GraphQL just finished resolving this field @@ -20101,7 +20122,7 @@ class GraphQL::Tracing::Trace # @param query [GraphQL::Query] # @param result [Object] # - # source://graphql//lib/graphql/tracing/trace.rb#87 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:87 def end_execute_field(field, object, arguments, query, result); end # A call to `.resolve_type` just ended @@ -20112,16 +20133,16 @@ class GraphQL::Tracing::Trace # @param value [Object] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#143 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:143 def end_resolve_type(type, value, context, resolved_type); end - # source://graphql//lib/graphql/tracing/trace.rb#39 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:39 def end_validate(query, validate, errors); end - # source://graphql//lib/graphql/tracing/trace.rb#89 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:89 def execute_field(field:, query:, ast_node:, arguments:, object:); end - # source://graphql//lib/graphql/tracing/trace.rb#93 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:93 def execute_field_lazy(field:, query:, ast_node:, arguments:, object:); end # This wraps an entire `.execute` call. @@ -20129,33 +20150,33 @@ class GraphQL::Tracing::Trace # @param multiplex [GraphQL::Execution::Multiplex] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#63 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:63 def execute_multiplex(multiplex:); end - # source://graphql//lib/graphql/tracing/trace.rb#67 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:67 def execute_query(query:); end - # source://graphql//lib/graphql/tracing/trace.rb#71 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:71 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 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:22 def lex(query_string:); end # @param query_string [String] # @return [void] # - # source://graphql//lib/graphql/tracing/trace.rb#28 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:28 def parse(query_string:); end - # source://graphql//lib/graphql/tracing/trace.rb#121 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:121 def resolve_type(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/trace.rb#125 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:125 def resolve_type_lazy(query:, type:, object:); end - # source://graphql//lib/graphql/tracing/trace.rb#32 + # pkg:gem/graphql#lib/graphql/tracing/trace.rb:32 def validate(query:, validate:); end end @@ -20164,14 +20185,14 @@ end # # @api private # -# source://graphql//lib/graphql/tracing.rb#41 +# pkg:gem/graphql#lib/graphql/tracing.rb:41 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#45 + # pkg:gem/graphql#lib/graphql/tracing.rb:45 def trace(key, metadata, &block); end private @@ -20185,121 +20206,121 @@ module GraphQL::Tracing::Traceable # @param metadata [Object] The current event object # @return Whatever the block returns # - # source://graphql//lib/graphql/tracing.rb#59 + # pkg:gem/graphql#lib/graphql/tracing.rb:59 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 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:4 module GraphQL::TypeKinds; end -# source://graphql//lib/graphql/type_kinds.rb#75 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:75 GraphQL::TypeKinds::ENUM = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#76 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:76 GraphQL::TypeKinds::INPUT_OBJECT = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#73 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:73 GraphQL::TypeKinds::INTERFACE = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#77 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:77 GraphQL::TypeKinds::LIST = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#78 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:78 GraphQL::TypeKinds::NON_NULL = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#72 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:72 GraphQL::TypeKinds::OBJECT = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#71 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:71 GraphQL::TypeKinds::SCALAR = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/type_kinds.rb#70 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:70 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 +# pkg:gem/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 + # pkg:gem/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#24 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:24 def abstract?; end # Is this TypeKind composed of many values? # # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#35 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:35 def composite?; end # Returns the value of attribute description. # - # source://graphql//lib/graphql/type_kinds.rb#7 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:7 def description; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#53 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:53 def enum?; end # Does this TypeKind have queryable fields? # # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#26 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:26 def fields?; end # Is this TypeKind a valid query input? # # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#30 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:30 def input?; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#57 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:57 def input_object?; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#45 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:45 def interface?; end # Is this TypeKind a primitive value? # # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#33 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:33 def leaf?; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#61 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:61 def list?; end # Returns the value of attribute name. # - # source://graphql//lib/graphql/type_kinds.rb#7 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:7 def name; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#65 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:65 def non_null?; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#41 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:41 def object?; end # Does this TypeKind have multiple possible implementers? @@ -20307,81 +20328,81 @@ class GraphQL::TypeKinds::TypeKind # @deprecated Use `abstract?` instead of `resolves?`. # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#22 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:22 def resolves?; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#37 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:37 def scalar?; end - # source://graphql//lib/graphql/type_kinds.rb#31 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:31 def to_s; end # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#49 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:49 def union?; end # Does this TypeKind modify another type? # # @return [Boolean] # - # source://graphql//lib/graphql/type_kinds.rb#28 + # pkg:gem/graphql#lib/graphql/type_kinds.rb:28 def wraps?; end end -# source://graphql//lib/graphql/type_kinds.rb#74 +# pkg:gem/graphql#lib/graphql/type_kinds.rb:74 GraphQL::TypeKinds::UNION = T.let(T.unsafe(nil), GraphQL::TypeKinds::TypeKind) -# source://graphql//lib/graphql/types.rb#4 +# pkg:gem/graphql#lib/graphql/types.rb:4 module GraphQL::Types extend ::GraphQL::Autoload end -# source://graphql//lib/graphql/types/big_int.rb#5 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/big_int.rb:8 def coerce_input(value, _ctx); end - # source://graphql//lib/graphql/types/big_int.rb#14 + # pkg:gem/graphql#lib/graphql/types/big_int.rb:14 def coerce_result(value, _ctx); end - # source://graphql//lib/graphql/types/big_int.rb#18 + # pkg:gem/graphql#lib/graphql/types/big_int.rb:18 def parse_int(value); end end end -# source://graphql//lib/graphql/types/boolean.rb#4 +# pkg:gem/graphql#lib/graphql/types/boolean.rb:4 class GraphQL::Types::Boolean < ::GraphQL::Schema::Scalar class << self - # source://graphql//lib/graphql/types/boolean.rb#7 + # pkg:gem/graphql#lib/graphql/types/boolean.rb:7 def coerce_input(value, _ctx); end - # source://graphql//lib/graphql/types/boolean.rb#11 + # pkg:gem/graphql#lib/graphql/types/boolean.rb:11 def coerce_result(value, _ctx); end end end -# source://graphql//lib/graphql/types/float.rb#5 +# pkg:gem/graphql#lib/graphql/types/float.rb:5 class GraphQL::Types::Float < ::GraphQL::Schema::Scalar class << self - # source://graphql//lib/graphql/types/float.rb#8 + # pkg:gem/graphql#lib/graphql/types/float.rb:8 def coerce_input(value, _ctx); end - # source://graphql//lib/graphql/types/float.rb#12 + # pkg:gem/graphql#lib/graphql/types/float.rb:12 def coerce_result(value, _ctx); end end end -# source://graphql//lib/graphql/types/id.rb#4 +# pkg:gem/graphql#lib/graphql/types/id.rb:4 class GraphQL::Types::ID < ::GraphQL::Schema::Scalar class << self - # source://graphql//lib/graphql/types/id.rb#12 + # pkg:gem/graphql#lib/graphql/types/id.rb:12 def coerce_input(value, _ctx); end - # source://graphql//lib/graphql/types/id.rb#8 + # pkg:gem/graphql#lib/graphql/types/id.rb:8 def coerce_result(value, _ctx); end end end @@ -20398,19 +20419,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/iso_8601_date.rb:21 def coerce_result(value, _ctx); end end end @@ -20427,29 +20448,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/iso_8601_date_time.rb:32 def time_precision=(value); end end end @@ -20457,7 +20478,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 +# pkg:gem/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, @@ -20473,7 +20494,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 +# pkg:gem/graphql#lib/graphql/types/iso_8601_duration.rb:16 class GraphQL::Types::ISO8601Duration < ::GraphQL::Schema::Scalar class << self # @param value [String, ActiveSupport::Duration] @@ -20481,45 +20502,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/types/int.rb:6 class GraphQL::Types::Int < ::GraphQL::Schema::Scalar class << self - # source://graphql//lib/graphql/types/int.rb#12 + # pkg:gem/graphql#lib/graphql/types/int.rb:12 def coerce_input(value, ctx); end - # source://graphql//lib/graphql/types/int.rb#23 + # pkg:gem/graphql#lib/graphql/types/int.rb:23 def coerce_result(value, ctx); end end end -# source://graphql//lib/graphql/types/int.rb#10 +# pkg:gem/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 +# pkg:gem/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. @@ -20531,13 +20552,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 +# pkg:gem/graphql#lib/graphql/types/json.rb:13 class GraphQL::Types::JSON < ::GraphQL::Schema::Scalar class << self - # source://graphql//lib/graphql/types/json.rb#16 + # pkg:gem/graphql#lib/graphql/types/json.rb:16 def coerce_input(value, _context); end - # source://graphql//lib/graphql/types/json.rb#20 + # pkg:gem/graphql#lib/graphql/types/json.rb:20 def coerce_result(value, _context); end end end @@ -20559,7 +20580,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 +# pkg:gem/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 @@ -20600,7 +20621,7 @@ module GraphQL::Types::Relay; end # end # @see Relay::BaseEdge for edge types # -# source://graphql//lib/graphql/types/relay/base_connection.rb#44 +# pkg:gem/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 @@ -20626,84 +20647,84 @@ end # end # @see {Relay::BaseConnection} for connection types # -# source://graphql//lib/graphql/types/relay/base_edge.rb#24 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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://graphql//lib/graphql/types/relay/connection_behaviors.rb#8 - def cursor_from_node(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/types/relay/connection_behaviors.rb:8 + def cursor_from_node(*_arg0, **_arg1, &_arg2); end - # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#196 + # pkg:gem/graphql#lib/graphql/types/relay/connection_behaviors.rb:196 def edges; end - # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#205 + # pkg:gem/graphql#lib/graphql/types/relay/connection_behaviors.rb:205 def nodes; end - # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#8 - def parent(*args, **_arg1, &block); end + # pkg:gem/graphql#lib/graphql/types/relay/connection_behaviors.rb:8 + def parent(*_arg0, **_arg1, &_arg2); end class << self - # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#191 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/relay/connection_behaviors.rb:118 def authorized?(obj, ctx); end - # source://graphql//lib/graphql/types/relay/connection_behaviors.rb#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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`. @@ -20719,53 +20740,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/relay/connection_behaviors.rb:122 def visible?(ctx); end protected @@ -20774,71 +20795,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/relay/edge_behaviors.rb:67 def authorized?(obj, ctx); end - # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#39 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/relay/edge_behaviors.rb:31 def default_relay?; end - # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#24 + # pkg:gem/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 + # pkg:gem/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. @@ -20847,12 +20868,12 @@ module GraphQL::Types::Relay::EdgeBehaviors::ClassMethods # @param node_type [Class] A `Schema::Object` subclass # @param null [Boolean] # - # source://graphql//lib/graphql/types/relay/edge_behaviors.rb#48 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/relay/edge_behaviors.rb:71 def visible?(ctx); end protected @@ -20861,49 +20882,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/types/relay/has_nodes_field.rb:8 def included(child_class); end end end @@ -20912,7 +20933,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 +# pkg:gem/graphql#lib/graphql/types/relay/node.rb:9 module GraphQL::Types::Relay::Node include ::GraphQL::Schema::Member::GraphQLTypeNames include ::GraphQL::Schema::Interface @@ -20935,79 +20956,79 @@ module GraphQL::Types::Relay::Node extend ::GraphQL::Types::Relay::NodeBehaviors::ClassMethods end -# source://graphql//lib/graphql/types/relay/node.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/graphql#lib/graphql/types/string.rb:5 class GraphQL::Types::String < ::GraphQL::Schema::Scalar class << self - # source://graphql//lib/graphql/types/string.rb#22 + # pkg:gem/graphql#lib/graphql/types/string.rb:22 def coerce_input(value, _ctx); end - # source://graphql//lib/graphql/types/string.rb#8 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/unauthorized_enum_value_error.rb:5 def enum_value=(_arg0); end end @@ -21016,92 +21037,92 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/unauthorized_error.rb:12 def type; end end -# source://graphql//lib/graphql/unauthorized_field_error.rb#3 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/graphql#lib/graphql/unresolved_type_error.rb:7 def value; end end -# source://graphql//lib/graphql/version.rb#3 +# pkg:gem/graphql#lib/graphql/version.rb:3 GraphQL::VERSION = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/dashboard.rb#3 +# pkg:gem/graphql#lib/graphql/dashboard.rb:3 module Graphql; end # `GraphQL::Dashboard` is a `Rails::Engine`-based dashboard for viewing metadata about your GraphQL schema. @@ -21132,513 +21153,513 @@ module Graphql; end # mount GraphQL::Dashboard, at: "graphql_dashboard", schema: "MySchema" # @see GraphQL::Tracing::DetailedTrace DetailedTrace for viewing production traces in the Dashboard # -# source://graphql//lib/graphql/dashboard.rb#34 +# pkg:gem/graphql#lib/graphql/dashboard.rb:34 class Graphql::Dashboard < ::Rails::Engine; end -# source://graphql//lib/graphql/dashboard.rb#81 +# pkg:gem/graphql#lib/graphql/dashboard.rb:81 class Graphql::Dashboard::ApplicationController < ::ActionController::Base - # source://graphql//lib/graphql/dashboard.rb#98 + # pkg:gem/graphql#lib/graphql/dashboard.rb:98 def schema_class; end private - # source://graphql//lib/graphql/dashboard.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard.rb:81 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard.rb#82 + # pkg:gem/graphql#lib/graphql/dashboard.rb:82 def __class_attr___callbacks; end - # source://graphql//lib/graphql/dashboard.rb#82 + # pkg:gem/graphql#lib/graphql/dashboard.rb:82 def __class_attr___callbacks=(new_value); end - # source://graphql//lib/graphql/dashboard.rb#111 + # pkg:gem/graphql#lib/graphql/dashboard.rb:111 def __class_attr__helper_methods; end - # source://graphql//lib/graphql/dashboard.rb#111 + # pkg:gem/graphql#lib/graphql/dashboard.rb:111 def __class_attr__helper_methods=(new_value); end - # source://graphql//lib/graphql/dashboard.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard.rb:81 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard.rb:81 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard.rb:81 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard.rb:81 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard.rb#111 +# pkg:gem/graphql#lib/graphql/dashboard.rb:111 module Graphql::Dashboard::ApplicationController::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper include ::ActionController::Base::HelperMethods - # source://graphql//lib/graphql/dashboard.rb#111 + # pkg:gem/graphql#lib/graphql/dashboard.rb:111 def schema_class(*_arg0, **_arg1, &_arg2); end end -# source://graphql//lib/graphql/dashboard/detailed_traces.rb#5 +# pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:5 module Graphql::Dashboard::DetailedTraces; end -# source://graphql//lib/graphql/dashboard/detailed_traces.rb#6 +# pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:6 class Graphql::Dashboard::DetailedTraces::TracesController < ::Graphql::Dashboard::ApplicationController include ::Graphql::Dashboard::Installable - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#26 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:26 def delete_all; end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#20 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:20 def destroy; end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#9 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:9 def index; end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#15 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:15 def show; end private - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:6 def _layout(lookup_context, formats, keys); end # @return [Boolean] # - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#34 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:34 def feature_installed?; end class << self private - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#7 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:7 def __class_attr___callbacks; end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#7 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:7 def __class_attr___callbacks=(new_value); end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:6 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:6 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:6 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/detailed_traces.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:6 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/detailed_traces.rb#38 +# pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:38 Graphql::Dashboard::DetailedTraces::TracesController::INSTALLABLE_COMPONENT_HEADER_HTML = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/dashboard/detailed_traces.rb#39 +# pkg:gem/graphql#lib/graphql/dashboard/detailed_traces.rb:39 Graphql::Dashboard::DetailedTraces::TracesController::INSTALLABLE_COMPONENT_MESSAGE_HTML = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) -# source://graphql//lib/graphql/dashboard/installable.rb#4 +# pkg:gem/graphql#lib/graphql/dashboard/installable.rb:4 module Graphql::Dashboard::Installable - # source://graphql//lib/graphql/dashboard/installable.rb#13 + # pkg:gem/graphql#lib/graphql/dashboard/installable.rb:13 def check_installed; end # @return [Boolean] # - # source://graphql//lib/graphql/dashboard/installable.rb#9 + # pkg:gem/graphql#lib/graphql/dashboard/installable.rb:9 def feature_installed?; end class << self # @private # - # source://graphql//lib/graphql/dashboard/installable.rb#5 + # pkg:gem/graphql#lib/graphql/dashboard/installable.rb:5 def included(child_module); end end end -# source://graphql//lib/graphql/dashboard.rb#114 +# pkg:gem/graphql#lib/graphql/dashboard.rb:114 class Graphql::Dashboard::LandingsController < ::Graphql::Dashboard::ApplicationController - # source://graphql//lib/graphql/dashboard.rb#115 + # pkg:gem/graphql#lib/graphql/dashboard.rb:115 def show; end private - # source://graphql//lib/graphql/dashboard.rb#114 + # pkg:gem/graphql#lib/graphql/dashboard.rb:114 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard.rb#114 + # pkg:gem/graphql#lib/graphql/dashboard.rb:114 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard.rb#114 + # pkg:gem/graphql#lib/graphql/dashboard.rb:114 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard.rb#114 + # pkg:gem/graphql#lib/graphql/dashboard.rb:114 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard.rb#114 + # pkg:gem/graphql#lib/graphql/dashboard.rb:114 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/limiters.rb#5 +# pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:5 module Graphql::Dashboard::Limiters; end -# source://graphql//lib/graphql/dashboard/limiters.rb#6 +# pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:6 class Graphql::Dashboard::Limiters::LimitersController < ::Graphql::Dashboard::ApplicationController include ::Graphql::Dashboard::Installable - # source://graphql//lib/graphql/dashboard/limiters.rb#10 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:10 def show; end - # source://graphql//lib/graphql/dashboard/limiters.rb#42 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:42 def update; end private - # source://graphql//lib/graphql/dashboard/limiters.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:6 def _layout(lookup_context, formats, keys); end # @return [Boolean] # - # source://graphql//lib/graphql/dashboard/limiters.rb#74 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:74 def feature_installed?; end - # source://graphql//lib/graphql/dashboard/limiters.rb#61 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:61 def limiter_for(name); end class << self private - # source://graphql//lib/graphql/dashboard/limiters.rb#7 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:7 def __class_attr___callbacks; end - # source://graphql//lib/graphql/dashboard/limiters.rb#7 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:7 def __class_attr___callbacks=(new_value); end - # source://graphql//lib/graphql/dashboard/limiters.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:6 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/limiters.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:6 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/limiters.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:6 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/limiters.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:6 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/limiters.rb#8 +# pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:8 Graphql::Dashboard::Limiters::LimitersController::FALLBACK_CSP_NONCE_GENERATOR = T.let(T.unsafe(nil), Proc) -# source://graphql//lib/graphql/dashboard/limiters.rb#84 +# pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:84 Graphql::Dashboard::Limiters::LimitersController::INSTALLABLE_COMPONENT_HEADER_HTML = T.let(T.unsafe(nil), String) -# source://graphql//lib/graphql/dashboard/limiters.rb#85 +# pkg:gem/graphql#lib/graphql/dashboard/limiters.rb:85 Graphql::Dashboard::Limiters::LimitersController::INSTALLABLE_COMPONENT_MESSAGE_HTML = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) -# source://graphql//lib/graphql/dashboard/operation_store.rb#5 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:5 module Graphql::Dashboard::OperationStore; end -# source://graphql//lib/graphql/dashboard/operation_store.rb#6 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:6 class Graphql::Dashboard::OperationStore::BaseController < ::Graphql::Dashboard::ApplicationController include ::Graphql::Dashboard::Installable private - # source://graphql//lib/graphql/dashboard/operation_store.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:6 def _layout(lookup_context, formats, keys); end # @return [Boolean] # - # source://graphql//lib/graphql/dashboard/operation_store.rb#11 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:11 def feature_installed?; end class << self private - # source://graphql//lib/graphql/dashboard/operation_store.rb#7 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:7 def __class_attr___callbacks; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#7 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:7 def __class_attr___callbacks=(new_value); end - # source://graphql//lib/graphql/dashboard/operation_store.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:6 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:6 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/operation_store.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:6 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:6 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/operation_store.rb#15 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:15 Graphql::Dashboard::OperationStore::BaseController::INSTALLABLE_COMPONENT_HEADER_HTML = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) -# source://graphql//lib/graphql/dashboard/operation_store.rb#16 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:16 Graphql::Dashboard::OperationStore::BaseController::INSTALLABLE_COMPONENT_MESSAGE_HTML = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) -# source://graphql//lib/graphql/dashboard/operation_store.rb#22 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:22 class Graphql::Dashboard::OperationStore::ClientsController < ::Graphql::Dashboard::OperationStore::BaseController - # source://graphql//lib/graphql/dashboard/operation_store.rb#40 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:40 def create; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#59 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:59 def destroy; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#47 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:47 def edit; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#23 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:23 def index; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#36 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:36 def new; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#51 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:51 def update; end private - # source://graphql//lib/graphql/dashboard/operation_store.rb#22 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:22 def _layout(lookup_context, formats, keys); end - # source://graphql//lib/graphql/dashboard/operation_store.rb#68 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:68 def init_client(name: T.unsafe(nil), secret: T.unsafe(nil)); end class << self private - # source://graphql//lib/graphql/dashboard/operation_store.rb#22 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:22 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#22 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:22 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/operation_store.rb#22 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:22 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#22 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:22 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/operation_store.rb#175 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:175 class Graphql::Dashboard::OperationStore::IndexEntriesController < ::Graphql::Dashboard::OperationStore::BaseController - # source://graphql//lib/graphql/dashboard/operation_store.rb#176 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:176 def index; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#190 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:190 def show; end private - # source://graphql//lib/graphql/dashboard/operation_store.rb#175 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:175 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard/operation_store.rb#175 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:175 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#175 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:175 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/operation_store.rb#175 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:175 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#175 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:175 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/operation_store.rb#81 +# pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:81 class Graphql::Dashboard::OperationStore::OperationsController < ::Graphql::Dashboard::OperationStore::BaseController - # source://graphql//lib/graphql/dashboard/operation_store.rb#82 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:82 def index; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#132 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:132 def show; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#145 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:145 def update; end private - # source://graphql//lib/graphql/dashboard/operation_store.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:81 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard/operation_store.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:81 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:81 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/operation_store.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:81 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/operation_store.rb#81 + # pkg:gem/graphql#lib/graphql/dashboard/operation_store.rb:81 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard.rb#119 +# pkg:gem/graphql#lib/graphql/dashboard.rb:119 class Graphql::Dashboard::StaticsController < ::Graphql::Dashboard::ApplicationController - # source://graphql//lib/graphql/dashboard.rb#136 + # pkg:gem/graphql#lib/graphql/dashboard.rb:136 def show; end private - # source://graphql//lib/graphql/dashboard.rb#119 + # pkg:gem/graphql#lib/graphql/dashboard.rb:119 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard.rb#120 + # pkg:gem/graphql#lib/graphql/dashboard.rb:120 def __class_attr___callbacks; end - # source://graphql//lib/graphql/dashboard.rb#120 + # pkg:gem/graphql#lib/graphql/dashboard.rb:120 def __class_attr___callbacks=(new_value); end - # source://graphql//lib/graphql/dashboard.rb#119 + # pkg:gem/graphql#lib/graphql/dashboard.rb:119 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard.rb#119 + # pkg:gem/graphql#lib/graphql/dashboard.rb:119 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard.rb#119 + # pkg:gem/graphql#lib/graphql/dashboard.rb:119 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard.rb#119 + # pkg:gem/graphql#lib/graphql/dashboard.rb:119 def __class_attr_middleware_stack=(new_value); end end end # Use an explicit list of files to avoid any chance of reading other files from disk # -# source://graphql//lib/graphql/dashboard.rb#122 +# pkg:gem/graphql#lib/graphql/dashboard.rb:122 Graphql::Dashboard::StaticsController::STATICS = T.let(T.unsafe(nil), Hash) -# source://graphql//lib/graphql/dashboard/subscriptions.rb#4 +# pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:4 module Graphql::Dashboard::Subscriptions; end -# source://graphql//lib/graphql/dashboard/subscriptions.rb#5 +# pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:5 class Graphql::Dashboard::Subscriptions::BaseController < ::Graphql::Dashboard::ApplicationController include ::Graphql::Dashboard::Installable # @return [Boolean] # - # source://graphql//lib/graphql/dashboard/subscriptions.rb#8 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:8 def feature_installed?; end private - # source://graphql//lib/graphql/dashboard/subscriptions.rb#5 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:5 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard/subscriptions.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:6 def __class_attr___callbacks; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#6 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:6 def __class_attr___callbacks=(new_value); end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#5 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:5 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#5 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:5 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#5 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:5 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#5 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:5 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/subscriptions.rb#12 +# pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:12 Graphql::Dashboard::Subscriptions::BaseController::INSTALLABLE_COMPONENT_HEADER_HTML = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) -# source://graphql//lib/graphql/dashboard/subscriptions.rb#13 +# pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:13 Graphql::Dashboard::Subscriptions::BaseController::INSTALLABLE_COMPONENT_MESSAGE_HTML = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) -# source://graphql//lib/graphql/dashboard/subscriptions.rb#67 +# pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:67 class Graphql::Dashboard::Subscriptions::SubscriptionsController < ::Graphql::Dashboard::Subscriptions::BaseController - # source://graphql//lib/graphql/dashboard/subscriptions.rb#88 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:88 def clear_all; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#68 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:68 def show; end private - # source://graphql//lib/graphql/dashboard/subscriptions.rb#67 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:67 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard/subscriptions.rb#67 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:67 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#67 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:67 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#67 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:67 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#67 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:67 def __class_attr_middleware_stack=(new_value); end end end -# source://graphql//lib/graphql/dashboard/subscriptions.rb#21 +# pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:21 class Graphql::Dashboard::Subscriptions::TopicsController < ::Graphql::Dashboard::Subscriptions::BaseController - # source://graphql//lib/graphql/dashboard/subscriptions.rb#53 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:53 def index; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#22 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:22 def show; end private - # source://graphql//lib/graphql/dashboard/subscriptions.rb#21 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:21 def _layout(lookup_context, formats, keys); end class << self private - # source://graphql//lib/graphql/dashboard/subscriptions.rb#21 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:21 def __class_attr_config; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#21 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:21 def __class_attr_config=(new_value); end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#21 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:21 def __class_attr_middleware_stack; end - # source://graphql//lib/graphql/dashboard/subscriptions.rb#21 + # pkg:gem/graphql#lib/graphql/dashboard/subscriptions.rb:21 def __class_attr_middleware_stack=(new_value); end end end diff --git a/sorbet/rbi/gems/hashdiff@1.2.1.rbi b/sorbet/rbi/gems/hashdiff@1.2.1.rbi index b146dcc0f..17bd4fd75 100644 --- a/sorbet/rbi/gems/hashdiff@1.2.1.rbi +++ b/sorbet/rbi/gems/hashdiff@1.2.1.rbi @@ -7,7 +7,7 @@ # This module provides methods to diff two hash, patch and unpatch hash # -# source://hashdiff//lib/hashdiff/util.rb#3 +# pkg:gem/hashdiff#lib/hashdiff/util.rb:3 module Hashdiff class << self # Best diff two objects, which tries to generate the smallest change set using different similarity values. @@ -36,7 +36,7 @@ module Hashdiff # @since 0.0.1 # @yield [path, value1, value2] Optional block is used to compare each value, instead of default #==. If the block returns value other than true of false, then other specified comparison options will be used to do the comparison. # - # source://hashdiff//lib/hashdiff/diff.rb#33 + # pkg:gem/hashdiff#lib/hashdiff/diff.rb:33 def best_diff(obj1, obj2, options = T.unsafe(nil), &block); end # check if objects are comparable @@ -44,35 +44,35 @@ module Hashdiff # @private # @return [Boolean] # - # source://hashdiff//lib/hashdiff/util.rb#108 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:108 def comparable?(obj1, obj2, strict = T.unsafe(nil)); end # check for equality or "closeness" within given tolerance # # @private # - # source://hashdiff//lib/hashdiff/util.rb#86 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:86 def compare_values(obj1, obj2, options = T.unsafe(nil)); end # count node differences # # @private # - # source://hashdiff//lib/hashdiff/util.rb#25 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:25 def count_diff(diffs); end # count total nodes for an object # # @private # - # source://hashdiff//lib/hashdiff/util.rb#36 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:36 def count_nodes(obj); end # try custom comparison # # @private # - # source://hashdiff//lib/hashdiff/util.rb#119 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:119 def custom_compare(method, key, obj1, obj2); end # decode property path into an array @@ -82,7 +82,7 @@ module Hashdiff # @param path [String] Property-string # @private # - # source://hashdiff//lib/hashdiff/util.rb#58 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:58 def decode_property_path(path, delimiter = T.unsafe(nil)); end # Compute the diff of two hashes or arrays @@ -111,7 +111,7 @@ module Hashdiff # @since 0.0.1 # @yield [path, value1, value2] Optional block is used to compare each value, instead of default #==. If the block returns value other than true of false, then other specified comparison options will be used to do the comparison. # - # source://hashdiff//lib/hashdiff/diff.rb#82 + # pkg:gem/hashdiff#lib/hashdiff/diff.rb:82 def diff(obj1, obj2, options = T.unsafe(nil), &block); end # diff array using LCS algorithm @@ -119,7 +119,7 @@ module Hashdiff # @private # @yield [links] # - # source://hashdiff//lib/hashdiff/diff.rb#127 + # pkg:gem/hashdiff#lib/hashdiff/diff.rb:127 def diff_array_lcs(arraya, arrayb, options = T.unsafe(nil)); end # caculate array difference using LCS algorithm @@ -127,14 +127,14 @@ module Hashdiff # # @private # - # source://hashdiff//lib/hashdiff/lcs.rb#8 + # pkg:gem/hashdiff#lib/hashdiff/lcs.rb:8 def lcs(arraya, arrayb, options = T.unsafe(nil)); end # get the node of hash by given path parts # # @private # - # source://hashdiff//lib/hashdiff/util.rb#75 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:75 def node(hash, parts); end # Apply patch to object @@ -146,13 +146,13 @@ module Hashdiff # @return the object after patch # @since 0.0.1 # - # source://hashdiff//lib/hashdiff/patch.rb#17 + # pkg:gem/hashdiff#lib/hashdiff/patch.rb:17 def patch!(obj, changes, options = T.unsafe(nil)); end - # source://hashdiff//lib/hashdiff/util.rb#137 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:137 def prefix_append_array_index(prefix, array_index, opts); end - # source://hashdiff//lib/hashdiff/util.rb#129 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:129 def prefix_append_key(prefix, key, opts); end # judge whether two objects are similar @@ -160,7 +160,7 @@ module Hashdiff # @private # @return [Boolean] # - # source://hashdiff//lib/hashdiff/util.rb#7 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:7 def similar?(obja, objb, options = T.unsafe(nil)); end # Unpatch an object @@ -172,7 +172,7 @@ module Hashdiff # @return the object after unpatch # @since 0.0.1 # - # source://hashdiff//lib/hashdiff/patch.rb#58 + # pkg:gem/hashdiff#lib/hashdiff/patch.rb:58 def unpatch!(obj, changes, options = T.unsafe(nil)); end private @@ -182,7 +182,7 @@ module Hashdiff # @private # @return [Boolean] # - # source://hashdiff//lib/hashdiff/util.rb#151 + # pkg:gem/hashdiff#lib/hashdiff/util.rb:151 def any_hash_or_array?(obja, objb); end end end @@ -191,10 +191,10 @@ end # # @private # -# source://hashdiff//lib/hashdiff/compare_hashes.rb#6 +# pkg:gem/hashdiff#lib/hashdiff/compare_hashes.rb:6 class Hashdiff::CompareHashes class << self - # source://hashdiff//lib/hashdiff/compare_hashes.rb#8 + # pkg:gem/hashdiff#lib/hashdiff/compare_hashes.rb:8 def call(obj1, obj2, opts = T.unsafe(nil)); end end end @@ -203,10 +203,10 @@ end # # @private # -# source://hashdiff//lib/hashdiff/lcs_compare_arrays.rb#6 +# pkg:gem/hashdiff#lib/hashdiff/lcs_compare_arrays.rb:6 class Hashdiff::LcsCompareArrays class << self - # source://hashdiff//lib/hashdiff/lcs_compare_arrays.rb#8 + # pkg:gem/hashdiff#lib/hashdiff/lcs_compare_arrays.rb:8 def call(obj1, obj2, opts = T.unsafe(nil)); end end end @@ -216,140 +216,140 @@ end # # @private # -# source://hashdiff//lib/hashdiff/linear_compare_array.rb#8 +# pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:8 class Hashdiff::LinearCompareArray # @return [LinearCompareArray] a new instance of LinearCompareArray # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#45 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:45 def initialize(old_array, new_array, options); end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#14 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:14 def call; end private # Returns the value of attribute additions. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#42 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:42 def additions; end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#139 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:139 def append_addition(item, index); end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#123 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:123 def append_addititions_before_match(match_index); end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#144 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:144 def append_deletion(item, index); end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#131 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:131 def append_deletions_before_match(match_index); end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#149 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:149 def append_differences(difference); end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#153 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:153 def changes; end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#67 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:67 def compare_at_index; end # Returns the value of attribute deletions. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#42 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:42 def deletions; end # Returns the value of attribute differences. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#42 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:42 def differences; end # Returns the value of attribute expected_additions. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#43 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:43 def expected_additions; end # Sets the attribute expected_additions # # @param value the value to set the attribute expected_additions to. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#43 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:43 def expected_additions=(_arg0); end # @return [Boolean] # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#59 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:59 def extra_items_in_new_array?; end # @return [Boolean] # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#55 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:55 def extra_items_in_old_array?; end # look ahead in the new array to see if the current item appears later # thereby having new items added # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#89 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:89 def index_of_match_after_additions; end # look ahead in the old array to see if the current item appears later # thereby having items removed # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#107 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:107 def index_of_match_after_deletions; end - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#82 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:82 def item_difference(old_item, new_item, item_index); end # @return [Boolean] # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#63 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:63 def iterated_through_both_arrays?; end # Returns the value of attribute new_array. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#42 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:42 def new_array; end # Returns the value of attribute new_index. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#43 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:43 def new_index; end # Sets the attribute new_index # # @param value the value to set the attribute new_index to. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#43 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:43 def new_index=(_arg0); end # Returns the value of attribute old_array. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#42 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:42 def old_array; end # Returns the value of attribute old_index. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#43 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:43 def old_index; end # Sets the attribute old_index # # @param value the value to set the attribute old_index to. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#43 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:43 def old_index=(_arg0); end # Returns the value of attribute options. # - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#42 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:42 def options; end class << self - # source://hashdiff//lib/hashdiff/linear_compare_array.rb#9 + # pkg:gem/hashdiff#lib/hashdiff/linear_compare_array.rb:9 def call(old_array, new_array, options = T.unsafe(nil)); end end end -# source://hashdiff//lib/hashdiff/version.rb#4 +# pkg:gem/hashdiff#lib/hashdiff/version.rb:4 Hashdiff::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/i18n@1.14.8.rbi b/sorbet/rbi/gems/i18n@1.14.8.rbi index 0dea2a96b..25e967d84 100644 --- a/sorbet/rbi/gems/i18n@1.14.8.rbi +++ b/sorbet/rbi/gems/i18n@1.14.8.rbi @@ -5,100 +5,100 @@ # Please instead update this file by running `bin/tapioca gem i18n`. -# source://i18n//lib/i18n/gettext/po_parser.rb#15 +# pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:15 module GetText; end -# source://i18n//lib/i18n/gettext/po_parser.rb#17 +# pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:17 class GetText::PoParser < ::Racc::Parser - # source://i18n//lib/i18n/gettext/po_parser.rb#19 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:19 def _(x); end - # source://i18n//lib/i18n/gettext/po_parser.rb#282 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:282 def _reduce_10(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#295 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:295 def _reduce_12(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#302 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:302 def _reduce_13(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#309 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:309 def _reduce_14(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#316 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:316 def _reduce_15(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#235 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:235 def _reduce_5(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#246 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:246 def _reduce_8(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#264 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:264 def _reduce_9(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#323 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:323 def _reduce_none(val, _values, result); end - # source://i18n//lib/i18n/gettext/po_parser.rb#23 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:23 def next_token; end - # source://i18n//lib/i18n/gettext/po_parser.rb#23 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:23 def on_comment(comment); end - # source://i18n//lib/i18n/gettext/po_parser.rb#23 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:23 def on_message(msgid, msgstr); end - # source://i18n//lib/i18n/gettext/po_parser.rb#23 + # pkg:gem/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 + # pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:23 def unescape(orig); end end -# source://i18n//lib/i18n/gettext/po_parser.rb#184 +# pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:184 GetText::PoParser::Racc_arg = T.let(T.unsafe(nil), Array) -# source://i18n//lib/i18n/gettext/po_parser.rb#221 +# pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:221 GetText::PoParser::Racc_debug_parser = T.let(T.unsafe(nil), TrueClass) -# source://i18n//lib/i18n/gettext/po_parser.rb#200 +# pkg:gem/i18n#lib/i18n/gettext/po_parser.rb:200 GetText::PoParser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array) # Simple Locale tag implementation that computes subtags by simply splitting # the locale tag at '-' occurrences. # -# source://i18n//lib/i18n/version.rb#3 +# pkg:gem/i18n#lib/i18n/version.rb:3 module I18n extend ::I18n::Base class << self - # source://i18n//lib/i18n/backend/cache.rb#64 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:64 def cache_key_digest; end - # source://i18n//lib/i18n/backend/cache.rb#68 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:68 def cache_key_digest=(key_digest); end - # source://i18n//lib/i18n/backend/cache.rb#56 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:56 def cache_namespace; end - # source://i18n//lib/i18n/backend/cache.rb#60 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:60 def cache_namespace=(namespace); end - # source://i18n//lib/i18n/backend/cache.rb#48 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:48 def cache_store; end - # source://i18n//lib/i18n/backend/cache.rb#52 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:52 def cache_store=(store); end # Returns the current fallbacks implementation. Defaults to +I18n::Locale::Fallbacks+. # - # source://i18n//lib/i18n/backend/fallbacks.rb#17 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:17 def fallbacks; end # Sets the current fallbacks implementation. Use this to set a different fallbacks implementation. # - # source://i18n//lib/i18n/backend/fallbacks.rb#23 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:23 def fallbacks=(fallbacks); end # Return String or raises MissingInterpolationArgument exception. @@ -106,18 +106,18 @@ module I18n # # @raise [ReservedInterpolationKey] # - # source://i18n//lib/i18n/interpolate/ruby.rb#23 + # pkg:gem/i18n#lib/i18n/interpolate/ruby.rb:23 def interpolate(string, values); end - # source://i18n//lib/i18n/interpolate/ruby.rb#29 + # pkg:gem/i18n#lib/i18n/interpolate/ruby.rb:29 def interpolate_hash(string, values); end - # source://i18n//lib/i18n.rb#38 + # pkg:gem/i18n#lib/i18n.rb:38 def new_double_nested_cache; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/cache.rb#72 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:72 def perform_caching?; end # Marks a key as reserved. Reserved keys are used internally, @@ -125,21 +125,21 @@ module I18n # extra keys as I18n options, you should call I18n.reserve_key # before any I18n.translate (etc) calls are made. # - # source://i18n//lib/i18n.rb#46 + # pkg:gem/i18n#lib/i18n.rb:46 def reserve_key(key); end - # source://i18n//lib/i18n.rb#51 + # pkg:gem/i18n#lib/i18n.rb:51 def reserved_keys_pattern; end end end -# source://i18n//lib/i18n/exceptions.rb#14 +# pkg:gem/i18n#lib/i18n/exceptions.rb:14 class I18n::ArgumentError < ::ArgumentError; end -# source://i18n//lib/i18n/backend.rb#4 +# pkg:gem/i18n#lib/i18n/backend.rb:4 module I18n::Backend; end -# source://i18n//lib/i18n/backend/base.rb#8 +# pkg:gem/i18n#lib/i18n/backend/base.rb:8 module I18n::Backend::Base include ::I18n::Backend::Transliterator @@ -148,22 +148,22 @@ module I18n::Backend::Base # # @raise [NotImplementedError] # - # source://i18n//lib/i18n/backend/base.rb#97 + # pkg:gem/i18n#lib/i18n/backend/base.rb:97 def available_locales; end - # source://i18n//lib/i18n/backend/base.rb#105 + # pkg:gem/i18n#lib/i18n/backend/base.rb:105 def eager_load!; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/base.rb#71 + # pkg:gem/i18n#lib/i18n/backend/base.rb:71 def exists?(locale, key, options = T.unsafe(nil)); end # Accepts a list of paths to translation files. Loads translations from # plain Ruby (*.rb), YAML files (*.yml), or JSON files (*.json). See #load_rb, #load_yml, and #load_json # for details. # - # source://i18n//lib/i18n/backend/base.rb#14 + # pkg:gem/i18n#lib/i18n/backend/base.rb:14 def load_translations(*filenames); end # Acts the same as +strftime+, but uses a localized version of the @@ -172,10 +172,10 @@ module I18n::Backend::Base # # @raise [ArgumentError] # - # source://i18n//lib/i18n/backend/base.rb#78 + # pkg:gem/i18n#lib/i18n/backend/base.rb:78 def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/base.rb#101 + # pkg:gem/i18n#lib/i18n/backend/base.rb:101 def reload!; end # This method receives a locale, a data hash and options for storing translations. @@ -183,12 +183,12 @@ module I18n::Backend::Base # # @raise [NotImplementedError] # - # source://i18n//lib/i18n/backend/base.rb#24 + # pkg:gem/i18n#lib/i18n/backend/base.rb:24 def store_translations(locale, data, options = T.unsafe(nil)); end # @raise [I18n::ArgumentError] # - # source://i18n//lib/i18n/backend/base.rb#28 + # pkg:gem/i18n#lib/i18n/backend/base.rb:28 def translate(locale, key, options = T.unsafe(nil)); end protected @@ -199,7 +199,7 @@ module I18n::Backend::Base # ann: 'good', john: 'big' # #=> { people: { ann: "Ann is good", john: "John is big" } } # - # source://i18n//lib/i18n/backend/base.rb#217 + # pkg:gem/i18n#lib/i18n/backend/base.rb:217 def deep_interpolate(locale, data, values = T.unsafe(nil)); end # Evaluates defaults. @@ -207,12 +207,12 @@ module I18n::Backend::Base # first translation that can be resolved. Otherwise it tries to resolve # the translation directly. # - # source://i18n//lib/i18n/backend/base.rb#128 + # pkg:gem/i18n#lib/i18n/backend/base.rb:128 def default(locale, object, subject, options = T.unsafe(nil)); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/base.rb#111 + # pkg:gem/i18n#lib/i18n/backend/base.rb:111 def eager_loaded?; end # Interpolates values into a given subject. @@ -226,7 +226,7 @@ module I18n::Backend::Base # method interpolates ["yes, %{user}", ["maybe no, %{user}", "no, %{user}"]], :user => "bartuz" # # => ["yes, bartuz", ["maybe no, bartuz", "no, bartuz"]] # - # source://i18n//lib/i18n/backend/base.rb#201 + # pkg:gem/i18n#lib/i18n/backend/base.rb:201 def interpolate(locale, subject, values = T.unsafe(nil)); end # Loads a single translations file by delegating to #load_rb or @@ -236,41 +236,41 @@ module I18n::Backend::Base # # @raise [UnknownFileType] # - # source://i18n//lib/i18n/backend/base.rb#240 + # pkg:gem/i18n#lib/i18n/backend/base.rb:240 def load_file(filename); end # Loads a JSON translations file. The data must have locales as # toplevel keys. # - # source://i18n//lib/i18n/backend/base.rb#276 + # pkg:gem/i18n#lib/i18n/backend/base.rb:276 def load_json(filename); end # Loads a plain Ruby translations file. eval'ing the file must yield # a Hash containing translation data with locales as toplevel keys. # - # source://i18n//lib/i18n/backend/base.rb#254 + # pkg:gem/i18n#lib/i18n/backend/base.rb:254 def load_rb(filename); end # Loads a YAML translations file. The data must have locales as # toplevel keys. # - # source://i18n//lib/i18n/backend/base.rb#272 + # pkg:gem/i18n#lib/i18n/backend/base.rb:272 def load_yaml(filename); end # Loads a YAML translations file. The data must have locales as # toplevel keys. # - # source://i18n//lib/i18n/backend/base.rb#261 + # pkg:gem/i18n#lib/i18n/backend/base.rb:261 def load_yml(filename); end # The method which actually looks up for the translation in the store. # # @raise [NotImplementedError] # - # source://i18n//lib/i18n/backend/base.rb#116 + # pkg:gem/i18n#lib/i18n/backend/base.rb:116 def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/base.rb#308 + # pkg:gem/i18n#lib/i18n/backend/base.rb:308 def pluralization_key(entry, count); end # Picks a translation from a pluralized mnemonic subkey according to English @@ -284,7 +284,7 @@ module I18n::Backend::Base # # @raise [InvalidPluralizationData] # - # source://i18n//lib/i18n/backend/base.rb#182 + # pkg:gem/i18n#lib/i18n/backend/base.rb:182 def pluralize(locale, entry, count); end # Resolves a translation. @@ -292,7 +292,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 + # pkg:gem/i18n#lib/i18n/backend/base.rb:150 def resolve(locale, object, subject, options = T.unsafe(nil)); end # Resolves a translation. @@ -300,56 +300,56 @@ 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#172 + # pkg:gem/i18n#lib/i18n/backend/base.rb:172 def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/base.rb#120 + # pkg:gem/i18n#lib/i18n/backend/base.rb:120 def subtrees?; end - # source://i18n//lib/i18n/backend/base.rb#289 + # pkg:gem/i18n#lib/i18n/backend/base.rb:289 def translate_localization_format(locale, object, format, options); end end # TODO Should the cache be cleared if new translations are stored? # -# source://i18n//lib/i18n/backend/cache.rb#79 +# pkg:gem/i18n#lib/i18n/backend/cache.rb:79 module I18n::Backend::Cache - # source://i18n//lib/i18n/backend/cache.rb#80 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:80 def translate(locale, key, options = T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/cache.rb#93 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:93 def _fetch(cache_key, &block); end - # source://i18n//lib/i18n/backend/cache.rb#101 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:101 def cache_key(locale, key, options); end - # source://i18n//lib/i18n/backend/cache.rb#86 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:86 def fetch(cache_key, &block); end private - # source://i18n//lib/i18n/backend/cache.rb#108 + # pkg:gem/i18n#lib/i18n/backend/cache.rb:108 def digest_item(key); end end # Overwrites the Base load_file method to cache loaded file contents. # -# source://i18n//lib/i18n/backend/cache_file.rb#8 +# pkg:gem/i18n#lib/i18n/backend/cache_file.rb:8 module I18n::Backend::CacheFile # Optionally provide path_roots array to normalize filename paths, # to make the cached i18n data portable across environments. # - # source://i18n//lib/i18n/backend/cache_file.rb#11 + # pkg:gem/i18n#lib/i18n/backend/cache_file.rb:11 def path_roots; end # Optionally provide path_roots array to normalize filename paths, # to make the cached i18n data portable across environments. # - # source://i18n//lib/i18n/backend/cache_file.rb#11 + # pkg:gem/i18n#lib/i18n/backend/cache_file.rb:11 def path_roots=(_arg0); end protected @@ -357,18 +357,18 @@ module I18n::Backend::CacheFile # Track loaded translation files in the `i18n.load_file` scope, # and skip loading the file if its contents are still up-to-date. # - # source://i18n//lib/i18n/backend/cache_file.rb#17 + # pkg:gem/i18n#lib/i18n/backend/cache_file.rb:17 def load_file(filename); end # Translate absolute filename to relative path for i18n key. # - # source://i18n//lib/i18n/backend/cache_file.rb#28 + # pkg:gem/i18n#lib/i18n/backend/cache_file.rb:28 def normalized_path(file); end end -# source://i18n//lib/i18n/backend/cascade.rb#35 +# pkg:gem/i18n#lib/i18n/backend/cascade.rb:35 module I18n::Backend::Cascade - # source://i18n//lib/i18n/backend/cascade.rb#36 + # pkg:gem/i18n#lib/i18n/backend/cascade.rb:36 def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end end @@ -389,72 +389,72 @@ end # # Fallback translations using the :default option are only used by the last backend of a chain. # -# source://i18n//lib/i18n/backend/chain.rb#21 +# pkg:gem/i18n#lib/i18n/backend/chain.rb:21 class I18n::Backend::Chain include ::I18n::Backend::Transliterator include ::I18n::Backend::Base include ::I18n::Backend::Chain::Implementation end -# source://i18n//lib/i18n/backend/chain.rb#22 +# pkg:gem/i18n#lib/i18n/backend/chain.rb:22 module I18n::Backend::Chain::Implementation include ::I18n::Backend::Transliterator include ::I18n::Backend::Base - # source://i18n//lib/i18n/backend/chain.rb#27 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:27 def initialize(*backends); end - # source://i18n//lib/i18n/backend/chain.rb#52 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:52 def available_locales; end # Returns the value of attribute backends. # - # source://i18n//lib/i18n/backend/chain.rb#25 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:25 def backends; end # Sets the attribute backends # # @param value the value to set the attribute backends to. # - # source://i18n//lib/i18n/backend/chain.rb#25 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:25 def backends=(_arg0); end - # source://i18n//lib/i18n/backend/chain.rb#44 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:44 def eager_load!; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/chain.rb#76 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:76 def exists?(locale, key, options = T.unsafe(nil)); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/chain.rb#31 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:31 def initialized?; end - # source://i18n//lib/i18n/backend/chain.rb#82 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:82 def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/chain.rb#40 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:40 def reload!; end - # source://i18n//lib/i18n/backend/chain.rb#48 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:48 def store_translations(locale, data, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/chain.rb#56 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:56 def translate(locale, key, default_options = T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/chain.rb#92 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:92 def init_translations; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/chain.rb#108 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:108 def namespace_lookup?(result, options); end - # source://i18n//lib/i18n/backend/chain.rb#98 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:98 def translations; end private @@ -464,21 +464,21 @@ module I18n::Backend::Chain::Implementation # it is wise to have our own copy. We underscore it # to not pollute the namespace of the including class. # - # source://i18n//lib/i18n/backend/chain.rb#117 + # pkg:gem/i18n#lib/i18n/backend/chain.rb:117 def _deep_merge(hash, other_hash); end end -# source://i18n//lib/i18n/backend/fallbacks.rb#30 +# pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:30 module I18n::Backend::Fallbacks # @return [Boolean] # - # source://i18n//lib/i18n/backend/fallbacks.rb#98 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:98 def exists?(locale, key, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/fallbacks.rb#89 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:89 def extract_non_symbol_default!(options); end - # source://i18n//lib/i18n/backend/fallbacks.rb#67 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:67 def resolve_entry(locale, object, subject, options = T.unsafe(nil)); end # Overwrites the Base backend translate method so that it will try each @@ -492,14 +492,14 @@ module I18n::Backend::Fallbacks # it's a Symbol. When the default contains a String, Proc or Hash # it is evaluated last after all the fallback locales have been tried. # - # source://i18n//lib/i18n/backend/fallbacks.rb#41 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:41 def translate(locale, key, options = T.unsafe(nil)); end private # Overwrite on_fallback to add specified logic when the fallback succeeds. # - # source://i18n//lib/i18n/backend/fallbacks.rb#114 + # pkg:gem/i18n#lib/i18n/backend/fallbacks.rb:114 def on_fallback(_original_locale, _fallback_locale, _key, _options); end end @@ -512,14 +512,14 @@ end # You can check both backends above for some examples. # This module also keeps all links in a hash so they can be properly resolved when flattened. # -# source://i18n//lib/i18n/backend/flatten.rb#13 +# pkg:gem/i18n#lib/i18n/backend/flatten.rb:13 module I18n::Backend::Flatten # Flatten keys for nested Hashes by chaining up keys: # # >> { "a" => { "b" => { "c" => "d", "e" => "f" }, "g" => "h" }, "i" => "j"}.wind # => { "a.b.c" => "d", "a.b.e" => "f", "a.g" => "h", "i" => "j" } # - # source://i18n//lib/i18n/backend/flatten.rb#59 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:59 def flatten_keys(hash, escape, prev_key = T.unsafe(nil), &block); end # Receives a hash of translations (where the key is a locale and @@ -529,53 +529,53 @@ module I18n::Backend::Flatten # Nested hashes are included in the flattened hash just if subtree # is true and Symbols are automatically stored as links. # - # source://i18n//lib/i18n/backend/flatten.rb#74 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:74 def flatten_translations(locale, data, escape, subtree); end # Store flattened links. # - # source://i18n//lib/i18n/backend/flatten.rb#50 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:50 def links; end # Shortcut to I18n::Backend::Flatten.normalize_flat_keys # and then resolve_links. # - # source://i18n//lib/i18n/backend/flatten.rb#44 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:44 def normalize_flat_keys(locale, key, scope, separator); end protected - # source://i18n//lib/i18n/backend/flatten.rb#112 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:112 def escape_default_separator(key); end - # source://i18n//lib/i18n/backend/flatten.rb#106 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:106 def find_link(locale, key); end - # source://i18n//lib/i18n/backend/flatten.rb#93 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:93 def resolve_link(locale, key); end - # source://i18n//lib/i18n/backend/flatten.rb#89 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:89 def store_link(locale, key, link); end class << self # Receives a string and escape the default separator. # - # source://i18n//lib/i18n/backend/flatten.rb#38 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:38 def escape_default_separator(key); end # normalize_keys the flatten way. This method is significantly faster # and creates way less objects than the one at I18n.normalize_keys. # It also handles escaping the translation keys. # - # source://i18n//lib/i18n/backend/flatten.rb#20 + # pkg:gem/i18n#lib/i18n/backend/flatten.rb:20 def normalize_flat_keys(locale, key, scope, separator); end end end -# source://i18n//lib/i18n/backend/flatten.rb#15 +# pkg:gem/i18n#lib/i18n/backend/flatten.rb:15 I18n::Backend::Flatten::FLATTEN_SEPARATOR = T.let(T.unsafe(nil), String) -# source://i18n//lib/i18n/backend/flatten.rb#14 +# pkg:gem/i18n#lib/i18n/backend/flatten.rb:14 I18n::Backend::Flatten::SEPARATOR_ESCAPE_CHAR = T.let(T.unsafe(nil), String) # Experimental support for using Gettext po files to store translations. @@ -603,97 +603,97 @@ I18n::Backend::Flatten::SEPARATOR_ESCAPE_CHAR = T.let(T.unsafe(nil), String) # # Without it strings containing periods (".") will not be translated. # -# source://i18n//lib/i18n/backend/gettext.rb#33 +# pkg:gem/i18n#lib/i18n/backend/gettext.rb:33 module I18n::Backend::Gettext protected - # source://i18n//lib/i18n/backend/gettext.rb#41 + # pkg:gem/i18n#lib/i18n/backend/gettext.rb:41 def load_po(filename); end - # source://i18n//lib/i18n/backend/gettext.rb#51 + # pkg:gem/i18n#lib/i18n/backend/gettext.rb:51 def normalize(locale, data); end - # source://i18n//lib/i18n/backend/gettext.rb#68 + # pkg:gem/i18n#lib/i18n/backend/gettext.rb:68 def normalize_pluralization(locale, key, value); end - # source://i18n//lib/i18n/backend/gettext.rb#47 + # pkg:gem/i18n#lib/i18n/backend/gettext.rb:47 def parse(filename); end end -# source://i18n//lib/i18n/backend/gettext.rb#34 +# pkg:gem/i18n#lib/i18n/backend/gettext.rb:34 class I18n::Backend::Gettext::PoData < ::Hash - # source://i18n//lib/i18n/backend/gettext.rb#35 + # pkg:gem/i18n#lib/i18n/backend/gettext.rb:35 def set_comment(msgid_or_sym, comment); end end -# source://i18n//lib/i18n/backend/interpolation_compiler.rb#20 +# pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:20 module I18n::Backend::InterpolationCompiler - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#98 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:98 def interpolate(locale, string, values); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#108 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:108 def store_translations(locale, data, options = T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#114 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:114 def compile_all_strings_in(data); end end -# source://i18n//lib/i18n/backend/interpolation_compiler.rb#21 +# pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:21 module I18n::Backend::InterpolationCompiler::Compiler extend ::I18n::Backend::InterpolationCompiler::Compiler - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#26 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:26 def compile_if_an_interpolation(string); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#39 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:39 def interpolated_str?(str); end protected - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#59 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:59 def compile_interpolation_token(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#49 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:49 def compiled_interpolation_body(str); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#72 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:72 def direct_key(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#92 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:92 def escape_key_sym(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#88 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:88 def escape_plain_str(str); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#55 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:55 def handle_interpolation_token(token); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#68 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:68 def interpolate_key(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#63 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:63 def interpolate_or_raise_missing(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#80 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:80 def missing_key(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#76 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:76 def nil_key(key); end - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#84 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:84 def reserved_key(key); end # tokenize("foo %{bar} baz %%{buz}") # => ["foo ", "%{bar}", " baz ", "%%{buz}"] # - # source://i18n//lib/i18n/backend/interpolation_compiler.rb#45 + # pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:45 def tokenize(str); end end -# source://i18n//lib/i18n/backend/interpolation_compiler.rb#24 +# pkg:gem/i18n#lib/i18n/backend/interpolation_compiler.rb:24 I18n::Backend::InterpolationCompiler::Compiler::TOKENIZER = T.let(T.unsafe(nil), Regexp) # This is a basic backend for key value stores. It receives on @@ -741,7 +741,7 @@ I18n::Backend::InterpolationCompiler::Compiler::TOKENIZER = T.let(T.unsafe(nil), # # This is useful if you are using a KeyValue backend chained to a Simple backend. # -# source://i18n//lib/i18n/backend/key_value.rb#69 +# pkg:gem/i18n#lib/i18n/backend/key_value.rb:69 class I18n::Backend::KeyValue include ::I18n::Backend::Flatten include ::I18n::Backend::Transliterator @@ -749,131 +749,131 @@ class I18n::Backend::KeyValue include ::I18n::Backend::KeyValue::Implementation end -# source://i18n//lib/i18n/backend/key_value.rb#70 +# pkg:gem/i18n#lib/i18n/backend/key_value.rb:70 module I18n::Backend::KeyValue::Implementation include ::I18n::Backend::Flatten include ::I18n::Backend::Transliterator include ::I18n::Backend::Base - # source://i18n//lib/i18n/backend/key_value.rb#75 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:75 def initialize(store, subtrees = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/key_value.rb#102 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:102 def available_locales; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#79 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:79 def initialized?; end # Returns the value of attribute store. # - # source://i18n//lib/i18n/backend/key_value.rb#71 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:71 def store; end # Sets the attribute store # # @param value the value to set the attribute store to. # - # source://i18n//lib/i18n/backend/key_value.rb#71 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:71 def store=(_arg0); end - # source://i18n//lib/i18n/backend/key_value.rb#83 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:83 def store_translations(locale, data, options = T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/key_value.rb#124 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:124 def init_translations; end - # source://i18n//lib/i18n/backend/key_value.rb#136 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:136 def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/key_value.rb#150 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:150 def pluralize(locale, entry, count); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#132 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:132 def subtrees?; end # Queries the translations from the key-value store and converts # them into a hash such as the one returned from loading the # haml files # - # source://i18n//lib/i18n/backend/key_value.rb#115 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:115 def translations; end end -# source://i18n//lib/i18n/backend/key_value.rb#161 +# pkg:gem/i18n#lib/i18n/backend/key_value.rb:161 class I18n::Backend::KeyValue::SubtreeProxy # @return [SubtreeProxy] a new instance of SubtreeProxy # - # source://i18n//lib/i18n/backend/key_value.rb#162 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:162 def initialize(master_key, store); end - # source://i18n//lib/i18n/backend/key_value.rb#172 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:172 def [](key); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#168 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:168 def has_key?(key); end - # source://i18n//lib/i18n/backend/key_value.rb#196 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:196 def inspect; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#188 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:188 def instance_of?(klass); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#183 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:183 def is_a?(klass); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#186 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:186 def kind_of?(klass); end # @return [Boolean] # - # source://i18n//lib/i18n/backend/key_value.rb#192 + # pkg:gem/i18n#lib/i18n/backend/key_value.rb:192 def nil?; end end -# source://i18n//lib/i18n/backend/lazy_loadable.rb#65 +# pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:65 class I18n::Backend::LazyLoadable < ::I18n::Backend::Simple # @return [LazyLoadable] a new instance of LazyLoadable # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#66 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:66 def initialize(lazy_load: T.unsafe(nil)); end # Parse the load path and extract all locales. # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#99 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:99 def available_locales; end # Eager loading is not supported in the lazy context. # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#90 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:90 def eager_load!; end # Returns whether the current locale is initialized. # # @return [Boolean] # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#71 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:71 def initialized?; end - # source://i18n//lib/i18n/backend/lazy_loadable.rb#107 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:107 def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end # Clean up translations and uninitialize all locales. # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#80 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:80 def reload!; end protected @@ -882,10 +882,10 @@ class I18n::Backend::LazyLoadable < ::I18n::Backend::Simple # # @raise [InvalidFilenames] # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#121 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:121 def init_translations; end - # source://i18n//lib/i18n/backend/lazy_loadable.rb#133 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:133 def initialized_locales; end private @@ -895,34 +895,34 @@ class I18n::Backend::LazyLoadable < ::I18n::Backend::Simple # # @raise [FilenameIncorrect] # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#175 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:175 def assert_file_named_correctly!(file, translations); end # Select all files from I18n load path that belong to current locale. # These files must start with the locale identifier (ie. "en", "pt-BR"), # followed by an "_" demarcation to separate proceeding text. # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#167 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:167 def filenames_for_current_locale; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#139 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:139 def lazy_load?; end # Loads each file supplied and asserts that the file only loads # translations as expected by the name. The method returns a list of # errors corresponding to offending files. # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#152 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:152 def load_translations_and_collect_file_errors(files); end end -# source://i18n//lib/i18n/backend/lazy_loadable.rb#143 +# pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:143 class I18n::Backend::LazyLoadable::FilenameIncorrect < ::StandardError # @return [FilenameIncorrect] a new instance of FilenameIncorrect # - # source://i18n//lib/i18n/backend/lazy_loadable.rb#144 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:144 def initialize(file, expected_locale, unexpected_locales); end end @@ -976,65 +976,65 @@ end # # I18n.backend = I18n::Backend::LazyLoadable.new(lazy_load: false) # default # -# source://i18n//lib/i18n/backend/lazy_loadable.rb#55 +# pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:55 class I18n::Backend::LocaleExtractor class << self - # source://i18n//lib/i18n/backend/lazy_loadable.rb#57 + # pkg:gem/i18n#lib/i18n/backend/lazy_loadable.rb:57 def locale_from_path(path); end end end -# source://i18n//lib/i18n/backend/memoize.rb#14 +# pkg:gem/i18n#lib/i18n/backend/memoize.rb:14 module I18n::Backend::Memoize - # source://i18n//lib/i18n/backend/memoize.rb#15 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:15 def available_locales; end - # source://i18n//lib/i18n/backend/memoize.rb#29 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:29 def eager_load!; end - # source://i18n//lib/i18n/backend/memoize.rb#24 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:24 def reload!; end - # source://i18n//lib/i18n/backend/memoize.rb#19 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:19 def store_translations(locale, data, options = T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/memoize.rb#37 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:37 def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/memoize.rb#44 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:44 def memoized_lookup; end - # source://i18n//lib/i18n/backend/memoize.rb#48 + # pkg:gem/i18n#lib/i18n/backend/memoize.rb:48 def reset_memoizations!(locale = T.unsafe(nil)); end end -# source://i18n//lib/i18n/backend/metadata.rb#21 +# pkg:gem/i18n#lib/i18n/backend/metadata.rb:21 module I18n::Backend::Metadata - # source://i18n//lib/i18n/backend/metadata.rb#52 + # pkg:gem/i18n#lib/i18n/backend/metadata.rb:52 def interpolate(locale, entry, values = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/metadata.rb#57 + # pkg:gem/i18n#lib/i18n/backend/metadata.rb:57 def pluralize(locale, entry, count); end - # source://i18n//lib/i18n/backend/metadata.rb#40 + # pkg:gem/i18n#lib/i18n/backend/metadata.rb:40 def translate(locale, key, options = T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/metadata.rb#63 + # pkg:gem/i18n#lib/i18n/backend/metadata.rb:63 def with_metadata(metadata, &block); end class << self # @private # - # source://i18n//lib/i18n/backend/metadata.rb#23 + # pkg:gem/i18n#lib/i18n/backend/metadata.rb:23 def included(base); end end end -# source://i18n//lib/i18n/backend/pluralization.rb#16 +# pkg:gem/i18n#lib/i18n/backend/pluralization.rb:16 module I18n::Backend::Pluralization # Overwrites the Base backend translate method so that it will check the # translation meta data space (:i18n) for a locale specific pluralization @@ -1059,15 +1059,15 @@ module I18n::Backend::Pluralization # use the explicit `"0"` and `"1"` keys. # https://unicode-org.github.io/cldr/ldml/tr35-numbers.html#Explicit_0_1_rules # - # source://i18n//lib/i18n/backend/pluralization.rb#39 + # pkg:gem/i18n#lib/i18n/backend/pluralization.rb:39 def pluralize(locale, entry, count); end protected - # source://i18n//lib/i18n/backend/pluralization.rb#81 + # pkg:gem/i18n#lib/i18n/backend/pluralization.rb:81 def pluralizer(locale); end - # source://i18n//lib/i18n/backend/pluralization.rb#77 + # pkg:gem/i18n#lib/i18n/backend/pluralization.rb:77 def pluralizers; end private @@ -1075,7 +1075,7 @@ module I18n::Backend::Pluralization # Normalizes categories of 0.0 and 1.0 # and returns the symbolic version # - # source://i18n//lib/i18n/backend/pluralization.rb#89 + # pkg:gem/i18n#lib/i18n/backend/pluralization.rb:89 def symbolic_count(count); end end @@ -1094,34 +1094,34 @@ end # # I18n::Backend::Simple.include(I18n::Backend::Pluralization) # -# source://i18n//lib/i18n/backend/simple.rb#21 +# pkg:gem/i18n#lib/i18n/backend/simple.rb:21 class I18n::Backend::Simple include ::I18n::Backend::Transliterator include ::I18n::Backend::Base include ::I18n::Backend::Simple::Implementation end -# source://i18n//lib/i18n/backend/simple.rb#22 +# pkg:gem/i18n#lib/i18n/backend/simple.rb:22 module I18n::Backend::Simple::Implementation include ::I18n::Backend::Transliterator include ::I18n::Backend::Base # Get available locales from the translations hash # - # source://i18n//lib/i18n/backend/simple.rb#49 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:49 def available_locales; end - # source://i18n//lib/i18n/backend/simple.rb#64 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:64 def eager_load!; end # @return [Boolean] # - # source://i18n//lib/i18n/backend/simple.rb#28 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:28 def initialized?; end # Clean up translations hash and set initialized to false on reload! # - # source://i18n//lib/i18n/backend/simple.rb#58 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:58 def reload!; end # Stores translations for the given locale in memory. @@ -1129,15 +1129,15 @@ module I18n::Backend::Simple::Implementation # translations will be overwritten by new ones only at the deepest # level of the hash. # - # source://i18n//lib/i18n/backend/simple.rb#36 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:36 def store_translations(locale, data, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/simple.rb#69 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:69 def translations(do_init: T.unsafe(nil)); end protected - # source://i18n//lib/i18n/backend/simple.rb#83 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:83 def init_translations; end # Looks up a translation from the translations hash. Returns nil if @@ -1146,140 +1146,140 @@ module I18n::Backend::Simple::Implementation # into multiple keys, i.e. currency.format is regarded the same as # %w(currency format). # - # source://i18n//lib/i18n/backend/simple.rb#93 + # pkg:gem/i18n#lib/i18n/backend/simple.rb:93 def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end end # Mutex to ensure that concurrent translations loading will be thread-safe # -# source://i18n//lib/i18n/backend/simple.rb#26 +# pkg:gem/i18n#lib/i18n/backend/simple.rb:26 I18n::Backend::Simple::Implementation::MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://i18n//lib/i18n/backend/transliterator.rb#6 +# pkg:gem/i18n#lib/i18n/backend/transliterator.rb:6 module I18n::Backend::Transliterator # Given a locale and a UTF-8 string, return the locale's ASCII # approximation for the string. # - # source://i18n//lib/i18n/backend/transliterator.rb#11 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:11 def transliterate(locale, string, replacement = T.unsafe(nil)); end class << self # Get a transliterator instance. # - # source://i18n//lib/i18n/backend/transliterator.rb#19 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:19 def get(rule = T.unsafe(nil)); end end end -# source://i18n//lib/i18n/backend/transliterator.rb#7 +# pkg:gem/i18n#lib/i18n/backend/transliterator.rb:7 I18n::Backend::Transliterator::DEFAULT_REPLACEMENT_CHAR = T.let(T.unsafe(nil), String) # A transliterator which accepts a Hash of characters as its translation # rule. # -# source://i18n//lib/i18n/backend/transliterator.rb#42 +# pkg:gem/i18n#lib/i18n/backend/transliterator.rb:42 class I18n::Backend::Transliterator::HashTransliterator # @return [HashTransliterator] a new instance of HashTransliterator # - # source://i18n//lib/i18n/backend/transliterator.rb#74 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:74 def initialize(rule = T.unsafe(nil)); end - # source://i18n//lib/i18n/backend/transliterator.rb#80 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:80 def transliterate(string, replacement = T.unsafe(nil)); end private # Add transliteration rules to the approximations hash. # - # source://i18n//lib/i18n/backend/transliterator.rb#100 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:100 def add(hash); end - # source://i18n//lib/i18n/backend/transliterator.rb#93 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:93 def add_default_approximations; end - # source://i18n//lib/i18n/backend/transliterator.rb#89 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:89 def approximations; end end -# source://i18n//lib/i18n/backend/transliterator.rb#43 +# pkg:gem/i18n#lib/i18n/backend/transliterator.rb:43 I18n::Backend::Transliterator::HashTransliterator::DEFAULT_APPROXIMATIONS = T.let(T.unsafe(nil), Hash) # A transliterator which accepts a Proc as its transliteration rule. # -# source://i18n//lib/i18n/backend/transliterator.rb#30 +# pkg:gem/i18n#lib/i18n/backend/transliterator.rb:30 class I18n::Backend::Transliterator::ProcTransliterator # @return [ProcTransliterator] a new instance of ProcTransliterator # - # source://i18n//lib/i18n/backend/transliterator.rb#31 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:31 def initialize(rule); end - # source://i18n//lib/i18n/backend/transliterator.rb#35 + # pkg:gem/i18n#lib/i18n/backend/transliterator.rb:35 def transliterate(string, replacement = T.unsafe(nil)); end end -# source://i18n//lib/i18n.rb#55 +# pkg:gem/i18n#lib/i18n.rb:55 module I18n::Base - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def available_locales; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def available_locales=(value); end # @return [Boolean] # - # source://i18n//lib/i18n.rb#387 + # pkg:gem/i18n#lib/i18n.rb:387 def available_locales_initialized?; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def backend; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def backend=(value); end # Gets I18n configuration object. # - # source://i18n//lib/i18n.rb#57 + # pkg:gem/i18n#lib/i18n.rb:57 def config; end # Sets I18n configuration object. # - # source://i18n//lib/i18n.rb#63 + # pkg:gem/i18n#lib/i18n.rb:63 def config=(value); end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def default_locale; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def default_locale=(value); end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def default_separator; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def default_separator=(value); end # Tells the backend to load translations now. Used in situations like the # Rails production environment. Backends can implement whatever strategy # is useful. # - # source://i18n//lib/i18n.rb#92 + # pkg:gem/i18n#lib/i18n.rb:92 def eager_load!; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def enforce_available_locales; end # Raises an InvalidLocale exception when the passed locale is not available. # - # source://i18n//lib/i18n.rb#381 + # pkg:gem/i18n#lib/i18n.rb:381 def enforce_available_locales!(locale); end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def enforce_available_locales=(value); end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def exception_handler; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def exception_handler=(value); end # Returns true if a translation exists for a given key, otherwise returns false. @@ -1287,7 +1287,7 @@ module I18n::Base # @raise [Disabled] # @return [Boolean] # - # source://i18n//lib/i18n.rb#266 + # pkg:gem/i18n#lib/i18n.rb:266 def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil), **options); end # Returns an array of interpolation keys for the given translation key @@ -1312,26 +1312,26 @@ module I18n::Base # # @raise [I18n::ArgumentError] # - # source://i18n//lib/i18n.rb#255 + # pkg:gem/i18n#lib/i18n.rb:255 def interpolation_keys(key, **options); end # Localizes certain objects, such as dates and numbers to local formatting. # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#344 + # pkg:gem/i18n#lib/i18n.rb:344 def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def load_path; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def load_path=(value); end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def locale; end - # source://i18n//lib/i18n.rb#70 + # pkg:gem/i18n#lib/i18n.rb:70 def locale=(value); end # Returns true when the passed locale, which can be either a String or a @@ -1339,28 +1339,28 @@ module I18n::Base # # @return [Boolean] # - # source://i18n//lib/i18n.rb#376 + # pkg:gem/i18n#lib/i18n.rb:376 def locale_available?(locale); end # Localizes certain objects, such as dates and numbers to local formatting. # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#336 + # pkg:gem/i18n#lib/i18n.rb:336 def localize(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end # Merges the given locale, key and scope into a single array of keys. # Splits keys that contain dots into multiple keys. Makes sure all # keys are Symbols. # - # source://i18n//lib/i18n.rb#364 + # pkg:gem/i18n#lib/i18n.rb:364 def normalize_keys(locale, key, scope, separator = T.unsafe(nil)); end # Tells the backend to reload translations. Used in situations like the # Rails development environment. Backends can implement whatever strategy # is useful. # - # source://i18n//lib/i18n.rb#84 + # pkg:gem/i18n#lib/i18n.rb:84 def reload!; end # Translates, pluralizes and interpolates a given key using a given locale, @@ -1481,13 +1481,13 @@ module I18n::Base # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#227 + # pkg:gem/i18n#lib/i18n.rb:227 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#234 + # pkg:gem/i18n#lib/i18n.rb:234 def t!(key, **options); end # Translates, pluralizes and interpolates a given key using a given locale, @@ -1608,13 +1608,13 @@ module I18n::Base # # @raise [Disabled] # - # source://i18n//lib/i18n.rb#212 + # pkg:gem/i18n#lib/i18n.rb:212 def translate(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#231 + # pkg:gem/i18n#lib/i18n.rb:231 def translate!(key, **options); end # Transliterates UTF-8 characters to ASCII. By default this method will @@ -1669,12 +1669,12 @@ module I18n::Base # I18n.transliterate("Jürgen", :locale => :en) # => "Jurgen" # I18n.transliterate("Jürgen", :locale => :de) # => "Juergen" # - # source://i18n//lib/i18n.rb#325 + # pkg:gem/i18n#lib/i18n.rb:325 def transliterate(key, throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), replacement: T.unsafe(nil), **options); end # Executes block with given I18n.locale set. # - # source://i18n//lib/i18n.rb#347 + # pkg:gem/i18n#lib/i18n.rb:347 def with_locale(tmp_locale = T.unsafe(nil)); end private @@ -1698,103 +1698,103 @@ module I18n::Base # I18n.exception_handler = I18nExceptionHandler.new # an object # I18n.exception_handler.call(exception, locale, key, options) # will be called like this # - # source://i18n//lib/i18n.rb#423 + # pkg:gem/i18n#lib/i18n.rb:423 def handle_exception(handling, exception, locale, key, options); end - # source://i18n//lib/i18n.rb#465 + # pkg:gem/i18n#lib/i18n.rb:465 def interpolation_keys_from_translation(translation); end - # source://i18n//lib/i18n.rb#441 + # pkg:gem/i18n#lib/i18n.rb:441 def normalize_key(key, separator); end - # source://i18n//lib/i18n.rb#393 + # pkg:gem/i18n#lib/i18n.rb:393 def translate_key(key, throw, raise, locale, backend, options); end end -# source://i18n//lib/i18n/config.rb#6 +# pkg:gem/i18n#lib/i18n/config.rb:6 class I18n::Config # Returns an array of locales for which translations are available. # Unless you explicitly set these through I18n.available_locales= # the call will be delegated to the backend. # - # source://i18n//lib/i18n/config.rb#43 + # pkg:gem/i18n#lib/i18n/config.rb:43 def available_locales; end # Sets the available locales. # - # source://i18n//lib/i18n/config.rb#57 + # pkg:gem/i18n#lib/i18n/config.rb:57 def available_locales=(locales); end # Returns true if the available_locales have been initialized # # @return [Boolean] # - # source://i18n//lib/i18n/config.rb#64 + # pkg:gem/i18n#lib/i18n/config.rb:64 def available_locales_initialized?; end # Caches the available locales list as both strings and symbols in a Set, so # that we can have faster lookups to do the available locales enforce check. # - # source://i18n//lib/i18n/config.rb#50 + # pkg:gem/i18n#lib/i18n/config.rb:50 def available_locales_set; end # Returns the current backend. Defaults to +Backend::Simple+. # - # source://i18n//lib/i18n/config.rb#20 + # pkg:gem/i18n#lib/i18n/config.rb:20 def backend; end # Sets the current backend. Used to set a custom backend. # - # source://i18n//lib/i18n/config.rb#25 + # pkg:gem/i18n#lib/i18n/config.rb:25 def backend=(backend); end # Clears the available locales set so it can be recomputed again after I18n # gets reloaded. # - # source://i18n//lib/i18n/config.rb#70 + # pkg:gem/i18n#lib/i18n/config.rb:70 def clear_available_locales_set; end # Returns the current default locale. Defaults to :'en' # - # source://i18n//lib/i18n/config.rb#30 + # pkg:gem/i18n#lib/i18n/config.rb:30 def default_locale; end # Sets the current default locale. Used to set a custom default locale. # - # source://i18n//lib/i18n/config.rb#35 + # pkg:gem/i18n#lib/i18n/config.rb:35 def default_locale=(locale); end # Returns the current default scope separator. Defaults to '.' # - # source://i18n//lib/i18n/config.rb#75 + # pkg:gem/i18n#lib/i18n/config.rb:75 def default_separator; end # Sets the current default scope separator. # - # source://i18n//lib/i18n/config.rb#80 + # pkg:gem/i18n#lib/i18n/config.rb:80 def default_separator=(separator); end - # source://i18n//lib/i18n/config.rb#141 + # pkg:gem/i18n#lib/i18n/config.rb:141 def enforce_available_locales; end - # source://i18n//lib/i18n/config.rb#145 + # pkg:gem/i18n#lib/i18n/config.rb:145 def enforce_available_locales=(enforce_available_locales); end # Returns the current exception handler. Defaults to an instance of # I18n::ExceptionHandler. # - # source://i18n//lib/i18n/config.rb#86 + # pkg:gem/i18n#lib/i18n/config.rb:86 def exception_handler; end # Sets the exception handler. # - # source://i18n//lib/i18n/config.rb#91 + # pkg:gem/i18n#lib/i18n/config.rb:91 def exception_handler=(exception_handler); end # Returns the current interpolation patterns. Defaults to # I18n::DEFAULT_INTERPOLATION_PATTERNS. # - # source://i18n//lib/i18n/config.rb#151 + # pkg:gem/i18n#lib/i18n/config.rb:151 def interpolation_patterns; end # Sets the current interpolation patterns. Used to set a interpolation @@ -1804,7 +1804,7 @@ class I18n::Config # # I18n.config.interpolation_patterns << /\{\{(\w+)\}\}/ # - # source://i18n//lib/i18n/config.rb#161 + # pkg:gem/i18n#lib/i18n/config.rb:161 def interpolation_patterns=(interpolation_patterns); end # Allow clients to register paths providing translation data sources. The @@ -1816,30 +1816,30 @@ class I18n::Config # register translation files like this: # I18n.load_path << 'path/to/locale/en.yml' # - # source://i18n//lib/i18n/config.rb#126 + # pkg:gem/i18n#lib/i18n/config.rb:126 def load_path; end # Sets the load path instance. Custom implementations are expected to # behave like a Ruby Array. # - # source://i18n//lib/i18n/config.rb#132 + # pkg:gem/i18n#lib/i18n/config.rb:132 def load_path=(load_path); end # The only configuration value that is not global and scoped to thread is :locale. # It defaults to the default_locale. # - # source://i18n//lib/i18n/config.rb#9 + # pkg:gem/i18n#lib/i18n/config.rb:9 def locale; end # Sets the current locale pseudo-globally, i.e. in the Thread.current hash. # - # source://i18n//lib/i18n/config.rb#14 + # pkg:gem/i18n#lib/i18n/config.rb:14 def locale=(locale); end # Returns the current handler for situations when interpolation argument # is missing. MissingInterpolationArgument will be raised by default. # - # source://i18n//lib/i18n/config.rb#97 + # pkg:gem/i18n#lib/i18n/config.rb:97 def missing_interpolation_argument_handler; end # Sets the missing interpolation argument handler. It can be any @@ -1854,34 +1854,34 @@ class I18n::Config # "#{key} is missing" # end # - # source://i18n//lib/i18n/config.rb#114 + # pkg:gem/i18n#lib/i18n/config.rb:114 def missing_interpolation_argument_handler=(exception_handler); end end -# source://i18n//lib/i18n/interpolate/ruby.rb#7 +# pkg:gem/i18n#lib/i18n/interpolate/ruby.rb:7 I18n::DEFAULT_INTERPOLATION_PATTERNS = T.let(T.unsafe(nil), Array) -# source://i18n//lib/i18n/exceptions.rb#16 +# pkg:gem/i18n#lib/i18n/exceptions.rb:16 class I18n::Disabled < ::I18n::ArgumentError # @return [Disabled] a new instance of Disabled # - # source://i18n//lib/i18n/exceptions.rb#17 + # pkg:gem/i18n#lib/i18n/exceptions.rb:17 def initialize(method); end end -# source://i18n//lib/i18n.rb#36 +# pkg:gem/i18n#lib/i18n.rb:36 I18n::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://i18n//lib/i18n/exceptions.rb#4 +# pkg:gem/i18n#lib/i18n/exceptions.rb:4 class I18n::ExceptionHandler - # source://i18n//lib/i18n/exceptions.rb#5 + # pkg:gem/i18n#lib/i18n/exceptions.rb:5 def call(exception, _locale, _key, _options); end end -# source://i18n//lib/i18n/gettext.rb#4 +# pkg:gem/i18n#lib/i18n/gettext.rb:4 module I18n::Gettext class << self - # source://i18n//lib/i18n/gettext.rb#21 + # pkg:gem/i18n#lib/i18n/gettext.rb:21 def extract_scope(msgid, separator); end # returns an array of plural keys for the given locale or the whole hash @@ -1889,12 +1889,12 @@ module I18n::Gettext # integer-index based style # TODO move this information to the pluralization module # - # source://i18n//lib/i18n/gettext.rb#17 + # pkg:gem/i18n#lib/i18n/gettext.rb:17 def plural_keys(*args); end end end -# source://i18n//lib/i18n/gettext.rb#6 +# pkg:gem/i18n#lib/i18n/gettext.rb:6 I18n::Gettext::CONTEXT_SEPARATOR = T.let(T.unsafe(nil), String) # Implements classical Gettext style accessors. To use this include the @@ -1902,7 +1902,7 @@ I18n::Gettext::CONTEXT_SEPARATOR = T.let(T.unsafe(nil), String) # # include I18n::Gettext::Helpers # -# source://i18n//lib/i18n/gettext/helpers.rb#11 +# pkg:gem/i18n#lib/i18n/gettext/helpers.rb:11 module I18n::Gettext::Helpers # Makes dynamic translation messages readable for the gettext parser. # _(fruit) cannot be understood by the gettext parser. To help the parser find all your translations, @@ -1910,474 +1910,474 @@ module I18n::Gettext::Helpers # * msgid: the message id. # * Returns: msgid. # - # source://i18n//lib/i18n/gettext/helpers.rb#17 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:17 def N_(msgsid); end - # source://i18n//lib/i18n/gettext/helpers.rb#24 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:24 def _(msgid, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#21 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:21 def gettext(msgid, options = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#41 + # pkg:gem/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 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:38 def ngettext(msgid, msgid_plural, n = T.unsafe(nil)); end # Method signatures: # npgettext('Fruits', 'apple', 'apples', 2) # npgettext('Fruits', ['apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#72 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:72 def np_(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end # Method signatures: # npgettext('Fruits', 'apple', 'apples', 2) # npgettext('Fruits', ['apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#61 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:61 def npgettext(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end # Method signatures: # nsgettext('Fruits|apple', 'apples', 2) # nsgettext(['Fruits|apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#56 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:56 def ns_(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end # Method signatures: # nsgettext('Fruits|apple', 'apples', 2) # nsgettext(['Fruits|apple', 'apples'], 2) # - # source://i18n//lib/i18n/gettext/helpers.rb#46 + # pkg:gem/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#36 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:36 def p_(msgctxt, msgid); end - # source://i18n//lib/i18n/gettext/helpers.rb#32 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:32 def pgettext(msgctxt, msgid); end - # source://i18n//lib/i18n/gettext/helpers.rb#30 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:30 def s_(msgid, separator = T.unsafe(nil)); end - # source://i18n//lib/i18n/gettext/helpers.rb#26 + # pkg:gem/i18n#lib/i18n/gettext/helpers.rb:26 def sgettext(msgid, separator = T.unsafe(nil)); end end -# source://i18n//lib/i18n/gettext.rb#5 +# pkg:gem/i18n#lib/i18n/gettext.rb:5 I18n::Gettext::PLURAL_SEPARATOR = T.let(T.unsafe(nil), String) -# source://i18n//lib/i18n/interpolate/ruby.rb#12 +# pkg:gem/i18n#lib/i18n/interpolate/ruby.rb:12 I18n::INTERPOLATION_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://i18n//lib/i18n/interpolate/ruby.rb#15 +# pkg:gem/i18n#lib/i18n/interpolate/ruby.rb:15 I18n::INTERPOLATION_PATTERNS_CACHE = T.let(T.unsafe(nil), Hash) -# source://i18n//lib/i18n/exceptions.rb#132 +# pkg:gem/i18n#lib/i18n/exceptions.rb:132 class I18n::InvalidFilenames < ::I18n::ArgumentError # @return [InvalidFilenames] a new instance of InvalidFilenames # - # source://i18n//lib/i18n/exceptions.rb#134 + # pkg:gem/i18n#lib/i18n/exceptions.rb:134 def initialize(file_errors); end end -# source://i18n//lib/i18n/exceptions.rb#133 +# pkg:gem/i18n#lib/i18n/exceptions.rb:133 I18n::InvalidFilenames::NUMBER_OF_ERRORS_SHOWN = T.let(T.unsafe(nil), Integer) -# source://i18n//lib/i18n/exceptions.rb#30 +# pkg:gem/i18n#lib/i18n/exceptions.rb:30 class I18n::InvalidLocale < ::I18n::ArgumentError # @return [InvalidLocale] a new instance of InvalidLocale # - # source://i18n//lib/i18n/exceptions.rb#32 + # pkg:gem/i18n#lib/i18n/exceptions.rb:32 def initialize(locale); end # Returns the value of attribute locale. # - # source://i18n//lib/i18n/exceptions.rb#31 + # pkg:gem/i18n#lib/i18n/exceptions.rb:31 def locale; end end -# source://i18n//lib/i18n/exceptions.rb#38 +# pkg:gem/i18n#lib/i18n/exceptions.rb:38 class I18n::InvalidLocaleData < ::I18n::ArgumentError # @return [InvalidLocaleData] a new instance of InvalidLocaleData # - # source://i18n//lib/i18n/exceptions.rb#40 + # pkg:gem/i18n#lib/i18n/exceptions.rb:40 def initialize(filename, exception_message); end # Returns the value of attribute filename. # - # source://i18n//lib/i18n/exceptions.rb#39 + # pkg:gem/i18n#lib/i18n/exceptions.rb:39 def filename; end end -# source://i18n//lib/i18n/exceptions.rb#90 +# pkg:gem/i18n#lib/i18n/exceptions.rb:90 class I18n::InvalidPluralizationData < ::I18n::ArgumentError # @return [InvalidPluralizationData] a new instance of InvalidPluralizationData # - # source://i18n//lib/i18n/exceptions.rb#92 + # pkg:gem/i18n#lib/i18n/exceptions.rb:92 def initialize(entry, count, key); end # Returns the value of attribute count. # - # source://i18n//lib/i18n/exceptions.rb#91 + # pkg:gem/i18n#lib/i18n/exceptions.rb:91 def count; end # Returns the value of attribute entry. # - # source://i18n//lib/i18n/exceptions.rb#91 + # pkg:gem/i18n#lib/i18n/exceptions.rb:91 def entry; end # Returns the value of attribute key. # - # source://i18n//lib/i18n/exceptions.rb#91 + # pkg:gem/i18n#lib/i18n/exceptions.rb:91 def key; end end -# source://i18n//lib/i18n/backend/key_value.rb#21 +# pkg:gem/i18n#lib/i18n/backend/key_value.rb:21 I18n::JSON = ActiveSupport::JSON -# source://i18n//lib/i18n/locale.rb#4 +# pkg:gem/i18n#lib/i18n/locale.rb:4 module I18n::Locale; end -# source://i18n//lib/i18n/locale/fallbacks.rb#48 +# pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:48 class I18n::Locale::Fallbacks < ::Hash # @return [Fallbacks] a new instance of Fallbacks # - # source://i18n//lib/i18n/locale/fallbacks.rb#49 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:49 def initialize(*mappings); end # @raise [InvalidLocale] # - # source://i18n//lib/i18n/locale/fallbacks.rb#60 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:60 def [](locale); end # Returns the value of attribute defaults. # - # source://i18n//lib/i18n/locale/fallbacks.rb#58 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:58 def defaults; end - # source://i18n//lib/i18n/locale/fallbacks.rb#55 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:55 def defaults=(defaults); end # @return [Boolean] # - # source://i18n//lib/i18n/locale/fallbacks.rb#82 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:82 def empty?; end - # source://i18n//lib/i18n/locale/fallbacks.rb#86 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:86 def inspect; end - # source://i18n//lib/i18n/locale/fallbacks.rb#67 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:67 def map(*args, &block); end protected - # source://i18n//lib/i18n/locale/fallbacks.rb#92 + # pkg:gem/i18n#lib/i18n/locale/fallbacks.rb:92 def compute(tags, include_defaults = T.unsafe(nil), exclude = T.unsafe(nil)); end end -# source://i18n//lib/i18n/locale/tag.rb#5 +# pkg:gem/i18n#lib/i18n/locale/tag.rb:5 module I18n::Locale::Tag class << self # Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+. # - # source://i18n//lib/i18n/locale/tag.rb#12 + # pkg:gem/i18n#lib/i18n/locale/tag.rb:12 def implementation; end # Sets the current locale tag implementation. Use this to set a different locale tag implementation. # - # source://i18n//lib/i18n/locale/tag.rb#17 + # pkg:gem/i18n#lib/i18n/locale/tag.rb:17 def implementation=(implementation); end # Factory method for locale tags. Delegates to the current locale tag implementation. # - # source://i18n//lib/i18n/locale/tag.rb#22 + # pkg:gem/i18n#lib/i18n/locale/tag.rb:22 def tag(tag); end end end -# source://i18n//lib/i18n/locale/tag/parents.rb#4 +# pkg:gem/i18n#lib/i18n/locale/tag/parents.rb:4 module I18n::Locale::Tag::Parents - # source://i18n//lib/i18n/locale/tag/parents.rb#5 + # pkg:gem/i18n#lib/i18n/locale/tag/parents.rb:5 def parent; end - # source://i18n//lib/i18n/locale/tag/parents.rb#18 + # pkg:gem/i18n#lib/i18n/locale/tag/parents.rb:18 def parents; end - # source://i18n//lib/i18n/locale/tag/parents.rb#14 + # pkg:gem/i18n#lib/i18n/locale/tag/parents.rb:14 def self_and_parents; end end -# source://i18n//lib/i18n/locale/tag/rfc4646.rb#12 +# pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:12 I18n::Locale::Tag::RFC4646_FORMATS = T.let(T.unsafe(nil), Hash) -# source://i18n//lib/i18n/locale/tag/rfc4646.rb#11 +# pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:11 I18n::Locale::Tag::RFC4646_SUBTAGS = T.let(T.unsafe(nil), Array) -# source://i18n//lib/i18n/locale/tag/rfc4646.rb#14 +# pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:14 class I18n::Locale::Tag::Rfc4646 < ::Struct include ::I18n::Locale::Tag::Parents - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:35 def language; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:35 def region; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:35 def script; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#46 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:46 def to_a; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#42 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:42 def to_s; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#38 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:38 def to_sym; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#35 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:35 def variant; end class << self - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#23 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:23 def parser; end - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#27 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:27 def parser=(parser); end # Parses the given tag and returns a Tag instance if it is valid. # Returns false if the given tag is not valid according to RFC 4646. # - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#18 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:18 def tag(tag); end end end -# source://i18n//lib/i18n/locale/tag/rfc4646.rb#50 +# pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:50 module I18n::Locale::Tag::Rfc4646::Parser class << self - # source://i18n//lib/i18n/locale/tag/rfc4646.rb#63 + # pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:63 def match(tag); end end end -# source://i18n//lib/i18n/locale/tag/rfc4646.rb#51 +# pkg:gem/i18n#lib/i18n/locale/tag/rfc4646.rb:51 I18n::Locale::Tag::Rfc4646::Parser::PATTERN = T.let(T.unsafe(nil), Regexp) -# source://i18n//lib/i18n/locale/tag/simple.rb#6 +# pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:6 class I18n::Locale::Tag::Simple include ::I18n::Locale::Tag::Parents # @return [Simple] a new instance of Simple # - # source://i18n//lib/i18n/locale/tag/simple.rb#17 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:17 def initialize(*tag); end - # source://i18n//lib/i18n/locale/tag/simple.rb#21 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:21 def subtags; end # Returns the value of attribute tag. # - # source://i18n//lib/i18n/locale/tag/simple.rb#15 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:15 def tag; end - # source://i18n//lib/i18n/locale/tag/simple.rb#33 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:33 def to_a; end - # source://i18n//lib/i18n/locale/tag/simple.rb#29 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:29 def to_s; end - # source://i18n//lib/i18n/locale/tag/simple.rb#25 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:25 def to_sym; end class << self - # source://i18n//lib/i18n/locale/tag/simple.rb#8 + # pkg:gem/i18n#lib/i18n/locale/tag/simple.rb:8 def tag(tag); end end end -# source://i18n//lib/i18n/middleware.rb#4 +# pkg:gem/i18n#lib/i18n/middleware.rb:4 class I18n::Middleware # @return [Middleware] a new instance of Middleware # - # source://i18n//lib/i18n/middleware.rb#6 + # pkg:gem/i18n#lib/i18n/middleware.rb:6 def initialize(app); end - # source://i18n//lib/i18n/middleware.rb#10 + # pkg:gem/i18n#lib/i18n/middleware.rb:10 def call(env); end end -# source://i18n//lib/i18n/exceptions.rb#98 +# pkg:gem/i18n#lib/i18n/exceptions.rb:98 class I18n::MissingInterpolationArgument < ::I18n::ArgumentError # @return [MissingInterpolationArgument] a new instance of MissingInterpolationArgument # - # source://i18n//lib/i18n/exceptions.rb#100 + # pkg:gem/i18n#lib/i18n/exceptions.rb:100 def initialize(key, values, string); end # Returns the value of attribute key. # - # source://i18n//lib/i18n/exceptions.rb#99 + # pkg:gem/i18n#lib/i18n/exceptions.rb:99 def key; end # Returns the value of attribute string. # - # source://i18n//lib/i18n/exceptions.rb#99 + # pkg:gem/i18n#lib/i18n/exceptions.rb:99 def string; end # Returns the value of attribute values. # - # source://i18n//lib/i18n/exceptions.rb#99 + # pkg:gem/i18n#lib/i18n/exceptions.rb:99 def values; end end -# source://i18n//lib/i18n/exceptions.rb#46 +# pkg:gem/i18n#lib/i18n/exceptions.rb:46 class I18n::MissingTranslation < ::I18n::ArgumentError include ::I18n::MissingTranslation::Base end -# source://i18n//lib/i18n/exceptions.rb#47 +# pkg:gem/i18n#lib/i18n/exceptions.rb:47 module I18n::MissingTranslation::Base - # source://i18n//lib/i18n/exceptions.rb#52 + # pkg:gem/i18n#lib/i18n/exceptions.rb:52 def initialize(locale, key, options = T.unsafe(nil)); end # Returns the value of attribute key. # - # source://i18n//lib/i18n/exceptions.rb#50 + # pkg:gem/i18n#lib/i18n/exceptions.rb:50 def key; end - # source://i18n//lib/i18n/exceptions.rb#57 + # pkg:gem/i18n#lib/i18n/exceptions.rb:57 def keys; end # Returns the value of attribute locale. # - # source://i18n//lib/i18n/exceptions.rb#50 + # pkg:gem/i18n#lib/i18n/exceptions.rb:50 def locale; end - # source://i18n//lib/i18n/exceptions.rb#63 + # pkg:gem/i18n#lib/i18n/exceptions.rb:63 def message; end - # source://i18n//lib/i18n/exceptions.rb#72 + # pkg:gem/i18n#lib/i18n/exceptions.rb:72 def normalized_option(key); end # Returns the value of attribute options. # - # source://i18n//lib/i18n/exceptions.rb#50 + # pkg:gem/i18n#lib/i18n/exceptions.rb:50 def options; end - # source://i18n//lib/i18n/exceptions.rb#78 + # pkg:gem/i18n#lib/i18n/exceptions.rb:78 def to_exception; end - # source://i18n//lib/i18n/exceptions.rb#76 + # pkg:gem/i18n#lib/i18n/exceptions.rb:76 def to_s; end end -# source://i18n//lib/i18n/exceptions.rb#48 +# pkg:gem/i18n#lib/i18n/exceptions.rb:48 I18n::MissingTranslation::Base::PERMITTED_KEYS = T.let(T.unsafe(nil), Array) -# source://i18n//lib/i18n/exceptions.rb#86 +# pkg:gem/i18n#lib/i18n/exceptions.rb:86 class I18n::MissingTranslationData < ::I18n::ArgumentError include ::I18n::MissingTranslation::Base end -# source://i18n//lib/i18n.rb#19 +# pkg:gem/i18n#lib/i18n.rb:19 I18n::RESERVED_KEYS = T.let(T.unsafe(nil), Array) -# source://i18n//lib/i18n/exceptions.rb#106 +# pkg:gem/i18n#lib/i18n/exceptions.rb:106 class I18n::ReservedInterpolationKey < ::I18n::ArgumentError # @return [ReservedInterpolationKey] a new instance of ReservedInterpolationKey # - # source://i18n//lib/i18n/exceptions.rb#108 + # pkg:gem/i18n#lib/i18n/exceptions.rb:108 def initialize(key, string); end # Returns the value of attribute key. # - # source://i18n//lib/i18n/exceptions.rb#107 + # pkg:gem/i18n#lib/i18n/exceptions.rb:107 def key; end # Returns the value of attribute string. # - # source://i18n//lib/i18n/exceptions.rb#107 + # pkg:gem/i18n#lib/i18n/exceptions.rb:107 def string; end end -# source://i18n//lib/i18n/tests.rb#4 +# pkg:gem/i18n#lib/i18n/tests.rb:4 module I18n::Tests; end -# source://i18n//lib/i18n/tests/localization.rb#3 +# pkg:gem/i18n#lib/i18n/tests/localization.rb:3 module I18n::Tests::Localization class << self # @private # - # source://i18n//lib/i18n/tests/localization.rb#9 + # pkg:gem/i18n#lib/i18n/tests/localization.rb:9 def included(base); end end end -# source://i18n//lib/i18n/exceptions.rb#114 +# pkg:gem/i18n#lib/i18n/exceptions.rb:114 class I18n::UnknownFileType < ::I18n::ArgumentError # @return [UnknownFileType] a new instance of UnknownFileType # - # source://i18n//lib/i18n/exceptions.rb#116 + # pkg:gem/i18n#lib/i18n/exceptions.rb:116 def initialize(type, filename); end # Returns the value of attribute filename. # - # source://i18n//lib/i18n/exceptions.rb#115 + # pkg:gem/i18n#lib/i18n/exceptions.rb:115 def filename; end # Returns the value of attribute type. # - # source://i18n//lib/i18n/exceptions.rb#115 + # pkg:gem/i18n#lib/i18n/exceptions.rb:115 def type; end end -# source://i18n//lib/i18n/exceptions.rb#122 +# pkg:gem/i18n#lib/i18n/exceptions.rb:122 class I18n::UnsupportedMethod < ::I18n::ArgumentError # @return [UnsupportedMethod] a new instance of UnsupportedMethod # - # source://i18n//lib/i18n/exceptions.rb#124 + # pkg:gem/i18n#lib/i18n/exceptions.rb:124 def initialize(method, backend_klass, msg); end # Returns the value of attribute backend_klass. # - # source://i18n//lib/i18n/exceptions.rb#123 + # pkg:gem/i18n#lib/i18n/exceptions.rb:123 def backend_klass; end # Returns the value of attribute method. # - # source://i18n//lib/i18n/exceptions.rb#123 + # pkg:gem/i18n#lib/i18n/exceptions.rb:123 def method; end # Returns the value of attribute msg. # - # source://i18n//lib/i18n/exceptions.rb#123 + # pkg:gem/i18n#lib/i18n/exceptions.rb:123 def msg; end end -# source://i18n//lib/i18n/utils.rb#4 +# pkg:gem/i18n#lib/i18n/utils.rb:4 module I18n::Utils class << self - # source://i18n//lib/i18n/utils.rb#18 + # pkg:gem/i18n#lib/i18n/utils.rb:18 def deep_merge(hash, other_hash, &block); end - # source://i18n//lib/i18n/utils.rb#22 + # pkg:gem/i18n#lib/i18n/utils.rb:22 def deep_merge!(hash, other_hash, &block); end - # source://i18n//lib/i18n/utils.rb#34 + # pkg:gem/i18n#lib/i18n/utils.rb:34 def deep_symbolize_keys(hash); end - # source://i18n//lib/i18n/utils.rb#7 + # pkg:gem/i18n#lib/i18n/utils.rb:7 def except(hash, *keys); end private - # source://i18n//lib/i18n/utils.rb#43 + # pkg:gem/i18n#lib/i18n/utils.rb:43 def deep_symbolize_keys_in_object(value); end end end -# source://i18n//lib/i18n/version.rb#4 +# pkg:gem/i18n#lib/i18n/version.rb:4 I18n::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/identity_cache@1.6.3.rbi b/sorbet/rbi/gems/identity_cache@1.6.3.rbi index 235987acd..5ca238165 100644 --- a/sorbet/rbi/gems/identity_cache@1.6.3.rbi +++ b/sorbet/rbi/gems/identity_cache@1.6.3.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem identity_cache`. -# source://identity_cache//lib/identity_cache/version.rb#3 +# pkg:gem/identity_cache#lib/identity_cache/version.rb:3 module IdentityCache extend ::ActiveSupport::Concern extend ::IdentityCache::CacheHash @@ -28,19 +28,19 @@ module IdentityCache mixes_in_class_methods ::IdentityCache::WithoutPrimaryIndex::ClassMethods mixes_in_class_methods ::IdentityCache::WithPrimaryIndex::ClassMethods - # source://identity_cache//lib/identity_cache.rb#75 + # pkg:gem/identity_cache#lib/identity_cache.rb:75 def cache_namespace; end - # source://identity_cache//lib/identity_cache.rb#75 + # pkg:gem/identity_cache#lib/identity_cache.rb:75 def cache_namespace=(val); end class << self # @raise [AlreadyIncludedError] # - # source://identity_cache//lib/identity_cache.rb#90 + # pkg:gem/identity_cache#lib/identity_cache.rb:90 def append_features(base); end - # source://identity_cache//lib/identity_cache.rb#110 + # pkg:gem/identity_cache#lib/identity_cache.rb:110 def cache; end # Sets the cache adaptor IdentityCache will be using @@ -49,19 +49,19 @@ module IdentityCache # # +cache_adaptor+ - A ActiveSupport::Cache::Store # - # source://identity_cache//lib/identity_cache.rb#102 + # pkg:gem/identity_cache#lib/identity_cache.rb:102 def cache_backend=(cache_adaptor); end - # source://identity_cache//lib/identity_cache.rb#75 + # pkg:gem/identity_cache#lib/identity_cache.rb:75 def cache_namespace; end - # source://identity_cache//lib/identity_cache.rb#75 + # pkg:gem/identity_cache#lib/identity_cache.rb:75 def cache_namespace=(val); end - # source://identity_cache//lib/identity_cache.rb#319 + # pkg:gem/identity_cache#lib/identity_cache.rb:319 def deprecator; end - # source://identity_cache//lib/identity_cache.rb#315 + # pkg:gem/identity_cache#lib/identity_cache.rb:315 def eager_load!; end # Cache retrieval and miss resolver primitive; given a key it will try to @@ -72,7 +72,7 @@ module IdentityCache # +key+ A cache key string # +cache_fetcher_options+ A hash of options to pass to the cache backend # - # source://identity_cache//lib/identity_cache.rb#163 + # pkg:gem/identity_cache#lib/identity_cache.rb:163 def fetch(key, cache_fetcher_options = T.unsafe(nil)); end # Same as +fetch+, except that it will try a collection of keys, using the @@ -81,53 +81,53 @@ module IdentityCache # == Parameters # +keys+ A collection or array of key strings # - # source://identity_cache//lib/identity_cache.rb#186 + # pkg:gem/identity_cache#lib/identity_cache.rb:186 def fetch_multi(*keys); end - # source://identity_cache//lib/identity_cache.rb#308 + # pkg:gem/identity_cache#lib/identity_cache.rb:308 def fetch_read_only_records; end # Sets the attribute fetch_read_only_records # # @param value the value to set the attribute fetch_read_only_records to. # - # source://identity_cache//lib/identity_cache.rb#86 + # pkg:gem/identity_cache#lib/identity_cache.rb:86 def fetch_read_only_records=(_arg0); end - # source://identity_cache//lib/identity_cache.rb#114 + # pkg:gem/identity_cache#lib/identity_cache.rb:114 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://identity_cache//lib/identity_cache.rb#88 + # pkg:gem/identity_cache#lib/identity_cache.rb:88 def logger=(_arg0); end - # source://identity_cache//lib/identity_cache.rb#173 + # pkg:gem/identity_cache#lib/identity_cache.rb:173 def map_cached_nil_for(value); end # Returns the value of attribute readonly. # - # source://identity_cache//lib/identity_cache.rb#87 + # pkg:gem/identity_cache#lib/identity_cache.rb:87 def readonly; end # Sets the attribute readonly # # @param value the value to set the attribute readonly to. # - # source://identity_cache//lib/identity_cache.rb#87 + # pkg:gem/identity_cache#lib/identity_cache.rb:87 def readonly=(_arg0); end # @return [Boolean] # - # source://identity_cache//lib/identity_cache.rb#118 + # pkg:gem/identity_cache#lib/identity_cache.rb:118 def should_fill_cache?; end - # source://identity_cache//lib/identity_cache.rb#140 + # pkg:gem/identity_cache#lib/identity_cache.rb:140 def should_use_cache?; end - # source://identity_cache//lib/identity_cache.rb#177 + # pkg:gem/identity_cache#lib/identity_cache.rb:177 def unmap_cached_nil_for(value); end # Executes a block with deferred cache expiration, ensuring that the records' (parent, @@ -151,7 +151,7 @@ module IdentityCache # Cleans up thread-local variables related to deferred cache expiration regardless # of whether the block raises an exception. # - # source://identity_cache//lib/identity_cache.rb#269 + # pkg:gem/identity_cache#lib/identity_cache.rb:269 def with_deferred_expiration; end # Executes a block with deferred parent expiration, ensuring that the parent @@ -176,15 +176,15 @@ module IdentityCache # Cleans up thread-local variables related to deferred parent expiration regardless # of whether the block raises an exception. # - # source://identity_cache//lib/identity_cache.rb#228 + # pkg:gem/identity_cache#lib/identity_cache.rb:228 def with_deferred_parent_expiration; end - # source://identity_cache//lib/identity_cache.rb#300 + # pkg:gem/identity_cache#lib/identity_cache.rb:300 def with_fetch_read_only_records(value = T.unsafe(nil)); end private - # source://identity_cache//lib/identity_cache.rb#325 + # pkg:gem/identity_cache#lib/identity_cache.rb:325 def fetch_in_batches(keys, &block); end end @@ -231,16 +231,16 @@ module IdentityCache end end -# source://identity_cache//lib/identity_cache.rb#57 +# pkg:gem/identity_cache#lib/identity_cache.rb:57 class IdentityCache::AlreadyIncludedError < ::StandardError; end -# source://identity_cache//lib/identity_cache.rb#59 +# pkg:gem/identity_cache#lib/identity_cache.rb:59 class IdentityCache::AssociationError < ::StandardError; end -# source://identity_cache//lib/identity_cache.rb#53 +# pkg:gem/identity_cache#lib/identity_cache.rb:53 IdentityCache::BATCH_SIZE = T.let(T.unsafe(nil), Integer) -# source://identity_cache//lib/identity_cache/belongs_to_caching.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/belongs_to_caching.rb:4 module IdentityCache::BelongsToCaching extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -261,194 +261,194 @@ module IdentityCache::BelongsToCaching end end -# source://identity_cache//lib/identity_cache/belongs_to_caching.rb#12 +# pkg:gem/identity_cache#lib/identity_cache/belongs_to_caching.rb:12 module IdentityCache::BelongsToCaching::ClassMethods - # source://identity_cache//lib/identity_cache/belongs_to_caching.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/belongs_to_caching.rb:13 def cache_belongs_to(association); end end -# source://identity_cache//lib/identity_cache.rb#52 +# pkg:gem/identity_cache#lib/identity_cache.rb:52 IdentityCache::CACHED_NIL = T.let(T.unsafe(nil), Symbol) -# source://identity_cache//lib/identity_cache/version.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/version.rb:5 IdentityCache::CACHE_VERSION = T.let(T.unsafe(nil), Integer) -# source://identity_cache//lib/identity_cache/cache_fetcher.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:6 class IdentityCache::CacheFetcher # @return [CacheFetcher] a new instance of CacheFetcher # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#51 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:51 def initialize(cache_backend); end # Returns the value of attribute cache_backend. # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:7 def cache_backend; end # Sets the attribute cache_backend # # @param value the value to set the attribute cache_backend to. # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:7 def cache_backend=(_arg0); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#68 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:68 def clear; end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#59 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:59 def delete(key); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#63 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:63 def delete_multi(keys); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#82 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:82 def fetch(key, fill_lock_duration: T.unsafe(nil), lock_wait_tries: T.unsafe(nil), &block); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#72 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:72 def fetch_multi(keys, &block); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#55 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:55 def write(key, value); end private - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#316 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:316 def add(key, value, expiration_options = T.unsafe(nil)); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#310 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:310 def add_multi(keys); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#281 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:281 def cas_multi(keys); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#277 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:277 def client_id; end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#262 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:262 def fallback_key_expiration_options(fill_lock_duration); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#204 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:204 def fetch_or_take_lock(key, old_lock:, **expiration_options); end # @raise [ArgumentError] # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#108 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:108 def fetch_with_fill_lock(key, fill_lock_duration, lock_wait_tries, &block); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#92 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:92 def fetch_without_fill_lock(key); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#242 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:242 def fill_with_lock(key, data, my_lock, expiration_options); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#258 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:258 def lock_fill_fallback_key(key, lock); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#179 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:179 def mark_fill_failure_on_lock(key, expiration_options); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#191 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:191 def upsert(key, expiration_options = T.unsafe(nil)); end end -# source://identity_cache//lib/identity_cache/cache_fetcher.rb#9 +# pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:9 IdentityCache::CacheFetcher::EMPTY_HASH = T.let(T.unsafe(nil), Hash) -# source://identity_cache//lib/identity_cache/cache_fetcher.rb#11 +# pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:11 class IdentityCache::CacheFetcher::FillLock # @return [FillLock] a new instance of FillLock # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#29 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:29 def initialize(client_id:, data_version:); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#46 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:46 def ==(other); end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#34 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:34 def cache_value; end # Returns the value of attribute client_id. # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#27 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:27 def client_id; end # Returns the value of attribute data_version. # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#27 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:27 def data_version; end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#42 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:42 def fill_failed?; end - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#38 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:38 def mark_failed; end class << self # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#22 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:22 def cache_value?(cache_value); end # @raise [ArgumentError] # - # source://identity_cache//lib/identity_cache/cache_fetcher.rb#16 + # pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:16 def from_cache(marker, client_id, data_version); end end end -# source://identity_cache//lib/identity_cache/cache_fetcher.rb#13 +# pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:13 IdentityCache::CacheFetcher::FillLock::FAILED_CLIENT_ID = T.let(T.unsafe(nil), String) -# source://identity_cache//lib/identity_cache/cache_fetcher.rb#12 +# pkg:gem/identity_cache#lib/identity_cache/cache_fetcher.rb:12 IdentityCache::CacheFetcher::FillLock::FILL_LOCKED = T.let(T.unsafe(nil), Symbol) -# source://identity_cache//lib/identity_cache/cache_hash.rb#23 +# pkg:gem/identity_cache#lib/identity_cache/cache_hash.rb:23 module IdentityCache::CacheHash - # source://identity_cache//lib/identity_cache/cache_hash.rb#26 + # pkg:gem/identity_cache#lib/identity_cache/cache_hash.rb:26 def memcache_hash(key); end end -# source://identity_cache//lib/identity_cache/cache_invalidation.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/cache_invalidation.rb:4 module IdentityCache::CacheInvalidation - # source://identity_cache//lib/identity_cache/cache_invalidation.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cache_invalidation.rb:7 def reload(*_arg0); end private - # source://identity_cache//lib/identity_cache/cache_invalidation.rb#14 + # pkg:gem/identity_cache#lib/identity_cache/cache_invalidation.rb:14 def clear_cached_associations; end end -# source://identity_cache//lib/identity_cache/cache_invalidation.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cache_invalidation.rb:5 IdentityCache::CacheInvalidation::CACHE_KEY_NAMES = T.let(T.unsafe(nil), Array) -# source://identity_cache//lib/identity_cache/cache_key_generation.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:4 module IdentityCache::CacheKeyGeneration extend ::ActiveSupport::Concern mixes_in_class_methods ::IdentityCache::CacheKeyGeneration::ClassMethods class << self - # source://identity_cache//lib/identity_cache/cache_key_generation.rb#30 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:30 def denormalized_schema_hash(klass); end - # source://identity_cache//lib/identity_cache/cache_key_generation.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:13 def denormalized_schema_string(klass); end - # source://identity_cache//lib/identity_cache/cache_key_generation.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:9 def schema_to_string(columns); end end end -# source://identity_cache//lib/identity_cache/cache_key_generation.rb#36 +# pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:36 module IdentityCache::CacheKeyGeneration::ClassMethods - # source://identity_cache//lib/identity_cache/cache_key_generation.rb#37 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:37 def rails_cache_key_namespace; end end -# source://identity_cache//lib/identity_cache/cache_key_generation.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cache_key_generation.rb:6 IdentityCache::CacheKeyGeneration::DEFAULT_NAMESPACE = T.let(T.unsafe(nil), String) # A generic cache key loader that supports different types of @@ -469,7 +469,7 @@ IdentityCache::CacheKeyGeneration::DEFAULT_NAMESPACE = T.let(T.unsafe(nil), Stri # end # ``` # -# source://identity_cache//lib/identity_cache/cache_key_loader.rb#21 +# pkg:gem/identity_cache#lib/identity_cache/cache_key_loader.rb:21 module IdentityCache::CacheKeyLoader class << self # Load a single key for a cache fetcher. @@ -478,12 +478,12 @@ module IdentityCache::CacheKeyLoader # @param db_key Reference to what to load from the database. # @return The database value corresponding to the database key. # - # source://identity_cache//lib/identity_cache/cache_key_loader.rb#28 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_loader.rb:28 def load(cache_fetcher, db_key, cache_fetcher_options = T.unsafe(nil)); end # Load multiple keys for multiple cache fetchers # - # source://identity_cache//lib/identity_cache/cache_key_loader.rb#51 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_loader.rb:51 def load_batch(cache_fetcher_to_db_keys_hash); end # Load multiple keys for a cache fetcher. @@ -492,159 +492,159 @@ module IdentityCache::CacheKeyLoader # @param db_key [Array] Reference to what to load from the database. # @return [Hash] A hash mapping each database key to its corresponding value # - # source://identity_cache//lib/identity_cache/cache_key_loader.rb#46 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_loader.rb:46 def load_multi(cache_fetcher, db_keys); end private - # source://identity_cache//lib/identity_cache/cache_key_loader.rb#99 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_loader.rb:99 def cache_fetch_multi(cache_keys); end - # source://identity_cache//lib/identity_cache/cache_key_loader.rb#106 + # pkg:gem/identity_cache#lib/identity_cache/cache_key_loader.rb:106 def resolve_multi_on_miss(cache_fetcher, unresolved_cache_keys, cache_key_to_db_key_hash, resolve_miss_result, db_keys_buffer: T.unsafe(nil)); end end end -# source://identity_cache//lib/identity_cache/cached.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/cached.rb:4 module IdentityCache::Cached; end -# source://identity_cache//lib/identity_cache/cached/association.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:5 class IdentityCache::Cached::Association include ::IdentityCache::Cached::EmbeddedFetching # @return [Association] a new instance of Association # - # source://identity_cache//lib/identity_cache/cached/association.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:8 def initialize(name, reflection:); end # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/association.rb#17 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:17 def build; end # Returns the value of attribute cached_accessor_name. # - # source://identity_cache//lib/identity_cache/cached/association.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:15 def cached_accessor_name; end # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/association.rb#29 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:29 def clear(_record); end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/association.rb#41 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:41 def embedded?; end # @raise [NotImplementedError] # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/association.rb#45 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:45 def embedded_by_reference?; end # @raise [NotImplementedError] # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/association.rb#49 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:49 def embedded_recursively?; end # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/association.rb#33 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:33 def fetch(_records); end # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/association.rb#37 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:37 def fetch_async(_load_strategy, _records); end - # source://identity_cache//lib/identity_cache/cached/association.rb#53 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:53 def inverse_name; end # Returns the value of attribute name. # - # source://identity_cache//lib/identity_cache/cached/association.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:15 def name; end # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/association.rb#21 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:21 def read(_record); end # Returns the value of attribute records_variable_name. # - # source://identity_cache//lib/identity_cache/cached/association.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:15 def records_variable_name; end # Returns the value of attribute reflection. # - # source://identity_cache//lib/identity_cache/cached/association.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:15 def reflection; end - # source://identity_cache//lib/identity_cache/cached/association.rb#57 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:57 def validate; end # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/association.rb#25 + # pkg:gem/identity_cache#lib/identity_cache/cached/association.rb:25 def write(_record, _value); end end # @abstract # -# source://identity_cache//lib/identity_cache/cached/attribute.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:6 class IdentityCache::Cached::Attribute # @return [Attribute] a new instance of Attribute # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:9 def initialize(model, attribute_or_proc, alias_name, key_fields, unique); end # Returns the value of attribute alias_name. # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:7 def alias_name; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#21 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:21 def attribute; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#118 + # pkg:gem/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 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:115 def cache_encode(db_value); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#66 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:66 def cache_key(index_key); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#37 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:37 def expire(record); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#25 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:25 def fetch(db_key); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#78 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:78 def fetch_multi(keys); end # Returns the value of attribute key_fields. # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:7 def key_fields; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#94 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:94 def load_multi_from_db(keys); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#71 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:71 def load_one_from_db(key); end # Returns the value of attribute model. # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:7 def model; end # Returns the value of attribute unique. # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:7 def unique; end private @@ -652,420 +652,420 @@ class IdentityCache::Cached::Attribute # @abstract # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#143 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:143 def cache_key_from_key_values(_key_values); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#151 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:151 def cache_key_prefix; end # @abstract # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#123 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:123 def cast_db_key(_index_key); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#181 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:181 def fetch_method_suffix; end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#147 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:147 def field_types; end # @abstract # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#133 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:133 def load_from_db_where_conditions(_index_key_or_keys); end # @abstract # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#138 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:138 def load_multi_rows(_index_keys); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#161 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:161 def new_cache_key(record); end - # source://identity_cache//lib/identity_cache/cached/attribute.rb#166 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:166 def old_cache_key(record); end # @abstract # @raise [NotImplementedError] # - # source://identity_cache//lib/identity_cache/cached/attribute.rb#128 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute.rb:128 def unhashed_values_cache_key_string(_index_key); end end -# source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:5 class IdentityCache::Cached::AttributeByMulti < ::IdentityCache::Cached::Attribute - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:6 def build; end - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#53 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:53 def cache_key_from_key_values(index_key); end private # Attribute method overrides # - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#24 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:24 def cast_db_key(keys); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#35 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:35 def load_from_db_where_conditions(keys); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#39 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:39 def load_multi_rows(keys); end # Helper methods # - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#57 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:57 def load_multi_rows_query(keys); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#31 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:31 def unhashed_values_cache_key_string(keys); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_multi.rb#117 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_multi.rb:117 def unsorted_model; end end -# source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:5 class IdentityCache::Cached::AttributeByOne < ::IdentityCache::Cached::Attribute # @return [AttributeByOne] a new instance of AttributeByOne # - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:8 def initialize(*_arg0); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:13 def build; end # Returns the value of attribute key_field. # - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:6 def key_field; end private - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#47 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:47 def cache_key_from_key_values(key_values); end # Attribute method overrides # - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#31 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:31 def cast_db_key(key); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#39 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:39 def load_from_db_where_conditions(key_values); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#43 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:43 def load_multi_rows(keys); end - # source://identity_cache//lib/identity_cache/cached/attribute_by_one.rb#35 + # pkg:gem/identity_cache#lib/identity_cache/cached/attribute_by_one.rb:35 def unhashed_values_cache_key_string(key); end end -# source://identity_cache//lib/identity_cache/cached/belongs_to.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:5 class IdentityCache::Cached::BelongsTo < ::IdentityCache::Cached::Association - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:8 def build; end - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#25 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:25 def clear(record); end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#102 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:102 def embedded_by_reference?; end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#98 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:98 def embedded_recursively?; end - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#35 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:35 def fetch(records); end - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#39 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:39 def fetch_async(load_strategy, records); end # Returns the value of attribute records_variable_name. # - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:6 def records_variable_name; end - # source://identity_cache//lib/identity_cache/cached/belongs_to.rb#31 + # pkg:gem/identity_cache#lib/identity_cache/cached/belongs_to.rb:31 def write(owner_record, associated_record); end end -# source://identity_cache//lib/identity_cache/cached/embedded_fetching.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/embedded_fetching.rb:5 module IdentityCache::Cached::EmbeddedFetching private # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/embedded_fetching.rb#36 + # pkg:gem/identity_cache#lib/identity_cache/cached/embedded_fetching.rb:36 def embedded_fetched?(records); end - # source://identity_cache//lib/identity_cache/cached/embedded_fetching.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/cached/embedded_fetching.rb:8 def fetch_embedded(records); end - # source://identity_cache//lib/identity_cache/cached/embedded_fetching.rb#12 + # pkg:gem/identity_cache#lib/identity_cache/cached/embedded_fetching.rb:12 def fetch_embedded_async(load_strategy, records); end end -# source://identity_cache//lib/identity_cache/cached/prefetcher.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/prefetcher.rb:5 module IdentityCache::Cached::Prefetcher class << self - # source://identity_cache//lib/identity_cache/cached/prefetcher.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/cached/prefetcher.rb:9 def prefetch(klass, associations, records, load_strategy: T.unsafe(nil)); end private - # source://identity_cache//lib/identity_cache/cached/prefetcher.rb#39 + # pkg:gem/identity_cache#lib/identity_cache/cached/prefetcher.rb:39 def fetch_association(load_strategy, klass, association, records, &block); end - # source://identity_cache//lib/identity_cache/cached/prefetcher.rb#54 + # pkg:gem/identity_cache#lib/identity_cache/cached/prefetcher.rb:54 def preload_records(records, association); end end end -# source://identity_cache//lib/identity_cache/cached/prefetcher.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/prefetcher.rb:6 IdentityCache::Cached::Prefetcher::ASSOCIATION_FETCH_EVENT = T.let(T.unsafe(nil), String) -# source://identity_cache//lib/identity_cache/cached/primary_index.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:5 class IdentityCache::Cached::PrimaryIndex # @return [PrimaryIndex] a new instance of PrimaryIndex # - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:8 def initialize(model); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#81 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:81 def cache_decode(cache_value); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#77 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:77 def cache_encode(record); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#55 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:55 def cache_key(id); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#46 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:46 def expire(id); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#12 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:12 def fetch(id, cache_fetcher_options); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#34 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:34 def fetch_multi(ids); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#68 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:68 def load_multi_from_db(ids); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#59 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:59 def load_one_from_db(id); end # Returns the value of attribute model. # - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:6 def model; end private - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#95 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:95 def build_query(id_or_ids); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#99 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:99 def cache_key_prefix; end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#87 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:87 def cast_id(id); end - # source://identity_cache//lib/identity_cache/cached/primary_index.rb#91 + # pkg:gem/identity_cache#lib/identity_cache/cached/primary_index.rb:91 def id_column; end end -# source://identity_cache//lib/identity_cache/cached/recursive/association.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:5 module IdentityCache::Cached::Recursive; end -# source://identity_cache//lib/identity_cache/cached/recursive/association.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:6 class IdentityCache::Cached::Recursive::Association < ::IdentityCache::Cached::Association # @return [Association] a new instance of Association # - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:7 def initialize(name, reflection:); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#14 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:14 def build; end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#53 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:53 def clear(record); end # Returns the value of attribute dehydrated_variable_name. # - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#12 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:12 def dehydrated_variable_name; end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#69 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:69 def embedded_by_reference?; end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#73 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:73 def embedded_recursively?; end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#59 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:59 def fetch(records); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#63 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:63 def fetch_async(load_strategy, records); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#25 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:25 def read(record); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#48 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:48 def set_with_inverse(record, association_target); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#44 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:44 def write(record, association_target); end private # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#104 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:104 def embedded_fetched?(records); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#95 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:95 def hydrate_association_target(associated_class, dehydrated_value); end - # source://identity_cache//lib/identity_cache/cached/recursive/association.rb#79 + # pkg:gem/identity_cache#lib/identity_cache/cached/recursive/association.rb:79 def set_inverse(record, association_target); end end -# source://identity_cache//lib/identity_cache/cached/recursive/has_many.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/recursive/has_many.rb:6 class IdentityCache::Cached::Recursive::HasMany < ::IdentityCache::Cached::Recursive::Association; end -# source://identity_cache//lib/identity_cache/cached/recursive/has_one.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/recursive/has_one.rb:6 class IdentityCache::Cached::Recursive::HasOne < ::IdentityCache::Cached::Recursive::Association; end -# source://identity_cache//lib/identity_cache/cached/reference/association.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/cached/reference/association.rb:5 module IdentityCache::Cached::Reference; end -# source://identity_cache//lib/identity_cache/cached/reference/association.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/reference/association.rb:6 class IdentityCache::Cached::Reference::Association < ::IdentityCache::Cached::Association # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/reference/association.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/association.rb:7 def embedded_by_reference?; end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/reference/association.rb#11 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/association.rb:11 def embedded_recursively?; end end -# source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:6 class IdentityCache::Cached::Reference::HasMany < ::IdentityCache::Cached::Reference::Association # @return [HasMany] a new instance of HasMany # - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:7 def initialize(name, reflection:); end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:15 def build; end # Returns the value of attribute cached_ids_name. # - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:13 def cached_ids_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#44 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:44 def clear(record); end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#52 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:52 def fetch(records); end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#56 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:56 def fetch_async(load_strategy, records); end # Returns the value of attribute ids_variable_name. # - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:13 def ids_variable_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#36 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:36 def read(record); end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#40 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:40 def write(record, ids); end private # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#87 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:87 def embedded_fetched?(records); end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#100 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:100 def ids_cached_reader_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#96 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:96 def ids_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_many.rb#92 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_many.rb:92 def singular_name; end end -# source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:6 class IdentityCache::Cached::Reference::HasOne < ::IdentityCache::Cached::Reference::Association # @return [HasOne] a new instance of HasOne # - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:7 def initialize(name, reflection:); end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:15 def build; end # Returns the value of attribute cached_id_name. # - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:13 def cached_id_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#45 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:45 def clear(record); end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#53 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:53 def fetch(records); end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#57 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:57 def fetch_async(load_strategy, records); end # Returns the value of attribute id_variable_name. # - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:13 def id_variable_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#37 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:37 def read(record); end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#41 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:41 def write(record, id); end private # @return [Boolean] # - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#86 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:86 def embedded_fetched?(records); end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#95 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:95 def id_cached_reader_name; end - # source://identity_cache//lib/identity_cache/cached/reference/has_one.rb#91 + # pkg:gem/identity_cache#lib/identity_cache/cached/reference/has_one.rb:91 def id_name; end end -# source://identity_cache//lib/identity_cache/configuration_dsl.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:4 module IdentityCache::ConfigurationDSL extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1098,7 +1098,7 @@ module IdentityCache::ConfigurationDSL end end -# source://identity_cache//lib/identity_cache/configuration_dsl.rb#17 +# pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:17 module IdentityCache::ConfigurationDSL::ClassMethods # Will cache a single attribute on its own blob, it will add a # fetch_attribute_by_id (or the value of the by option). @@ -1118,7 +1118,7 @@ module IdentityCache::ConfigurationDSL::ClassMethods # * by: Other attribute or attributes in the model to keep values indexed. Default is :id # * unique: if the index would only have unique values. Default is true # - # source://identity_cache//lib/identity_cache/configuration_dsl.rb#119 + # pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:119 def cache_attribute(attribute, by: T.unsafe(nil), unique: T.unsafe(nil)); end # Will cache an association to the class including IdentityCache. @@ -1149,7 +1149,7 @@ module IdentityCache::ConfigurationDSL::ClassMethods # If `:ids` (the default), it will only embed the ids for the associated # records. # - # source://identity_cache//lib/identity_cache/configuration_dsl.rb#45 + # pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:45 def cache_has_many(association, embed: T.unsafe(nil)); end # Will cache an association to the class including IdentityCache. @@ -1172,295 +1172,295 @@ module IdentityCache::ConfigurationDSL::ClassMethods # associations for the associated record recursively. # If `:id`, it will only embed the id for the associated record. # - # source://identity_cache//lib/identity_cache/configuration_dsl.rb#83 + # pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:83 def cache_has_one(association, embed:); end private - # source://identity_cache//lib/identity_cache/configuration_dsl.rb#125 + # pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:125 def cache_attribute_by_alias(attribute_or_proc, alias_name:, by:, unique:); end - # source://identity_cache//lib/identity_cache/configuration_dsl.rb#144 + # pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:144 def check_association_for_caching(association); end - # source://identity_cache//lib/identity_cache/configuration_dsl.rb#135 + # pkg:gem/identity_cache#lib/identity_cache/configuration_dsl.rb:135 def ensure_base_model; end end -# source://identity_cache//lib/identity_cache.rb#54 +# pkg:gem/identity_cache#lib/identity_cache.rb:54 IdentityCache::DELETED = T.let(T.unsafe(nil), Symbol) -# source://identity_cache//lib/identity_cache.rb#55 +# pkg:gem/identity_cache#lib/identity_cache.rb:55 IdentityCache::DELETED_TTL = T.let(T.unsafe(nil), Integer) -# source://identity_cache//lib/identity_cache.rb#71 +# pkg:gem/identity_cache#lib/identity_cache.rb:71 class IdentityCache::DerivedModelError < ::StandardError; end -# source://identity_cache//lib/identity_cache/encoder.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/encoder.rb:4 module IdentityCache::Encoder class << self - # source://identity_cache//lib/identity_cache/encoder.rb#17 + # pkg:gem/identity_cache#lib/identity_cache/encoder.rb:17 def decode(coder, klass); end - # source://identity_cache//lib/identity_cache/encoder.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/encoder.rb:9 def encode(record); end private - # source://identity_cache//lib/identity_cache/encoder.rb#27 + # pkg:gem/identity_cache#lib/identity_cache/encoder.rb:27 def coder_from_record(record, klass); end - # source://identity_cache//lib/identity_cache/encoder.rb#58 + # pkg:gem/identity_cache#lib/identity_cache/encoder.rb:58 def embedded_coder(record, _association, cached_association); end - # source://identity_cache//lib/identity_cache/encoder.rb#70 + # pkg:gem/identity_cache#lib/identity_cache/encoder.rb:70 def record_from_coder(coder, klass); end end end -# source://identity_cache//lib/identity_cache/encoder.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/encoder.rb:5 IdentityCache::Encoder::DEHYDRATE_EVENT = T.let(T.unsafe(nil), String) -# source://identity_cache//lib/identity_cache/encoder.rb#6 +# pkg:gem/identity_cache#lib/identity_cache/encoder.rb:6 IdentityCache::Encoder::HYDRATE_EVENT = T.let(T.unsafe(nil), String) -# source://identity_cache//lib/identity_cache/expiry_hook.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:4 class IdentityCache::ExpiryHook # @return [ExpiryHook] a new instance of ExpiryHook # - # source://identity_cache//lib/identity_cache/expiry_hook.rb#5 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:5 def initialize(cached_association); end - # source://identity_cache//lib/identity_cache/expiry_hook.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:9 def install; end private # Returns the value of attribute cached_association. # - # source://identity_cache//lib/identity_cache/expiry_hook.rb#17 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:17 def cached_association; end - # source://identity_cache//lib/identity_cache/expiry_hook.rb#31 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:31 def child_class; end - # source://identity_cache//lib/identity_cache/expiry_hook.rb#23 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:23 def inverse_name; end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/expiry_hook.rb#19 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:19 def only_on_foreign_key_change?; end - # source://identity_cache//lib/identity_cache/expiry_hook.rb#27 + # pkg:gem/identity_cache#lib/identity_cache/expiry_hook.rb:27 def parent_class; end end -# source://identity_cache//lib/identity_cache/fallback_fetcher.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:4 class IdentityCache::FallbackFetcher # @return [FallbackFetcher] a new instance of FallbackFetcher # - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#7 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:7 def initialize(cache_backend); end # Returns the value of attribute cache_backend. # - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#5 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:5 def cache_backend; end # Sets the attribute cache_backend # # @param value the value to set the attribute cache_backend to. # - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#5 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:5 def cache_backend=(_arg0); end - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#19 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:19 def clear; end - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:15 def delete(key); end - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#40 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:40 def fetch(key, **cache_fetcher_options); end - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#23 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:23 def fetch_multi(keys); end - # source://identity_cache//lib/identity_cache/fallback_fetcher.rb#11 + # pkg:gem/identity_cache#lib/identity_cache/fallback_fetcher.rb:11 def write(key, value); end end -# source://identity_cache//lib/identity_cache.rb#61 +# pkg:gem/identity_cache#lib/identity_cache.rb:61 class IdentityCache::InverseAssociationError < ::StandardError; end -# source://identity_cache//lib/identity_cache/load_strategy/load_request.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/load_strategy/load_request.rb:4 module IdentityCache::LoadStrategy; end -# source://identity_cache//lib/identity_cache/load_strategy/eager.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/load_strategy/eager.rb:5 module IdentityCache::LoadStrategy::Eager extend ::IdentityCache::LoadStrategy::Eager # @yield [lazy_loader] # - # source://identity_cache//lib/identity_cache/load_strategy/eager.rb#20 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/eager.rb:20 def lazy_load; end # @yield [CacheKeyLoader.load(cache_fetcher, db_key)] # - # source://identity_cache//lib/identity_cache/load_strategy/eager.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/eager.rb:8 def load(cache_fetcher, db_key); end # @yield [CacheKeyLoader.load_batch(db_keys_by_cache_fetcher)] # - # source://identity_cache//lib/identity_cache/load_strategy/eager.rb#16 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/eager.rb:16 def load_batch(db_keys_by_cache_fetcher); end # @yield [CacheKeyLoader.load_multi(cache_fetcher, db_keys)] # - # source://identity_cache//lib/identity_cache/load_strategy/eager.rb#12 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/eager.rb:12 def load_multi(cache_fetcher, db_keys); end end -# source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:5 class IdentityCache::LoadStrategy::Lazy # @return [Lazy] a new instance of Lazy # - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:6 def initialize; end # @yield [_self] # @yieldparam _self [IdentityCache::LoadStrategy::Lazy] the object that the method was called on # - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#45 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:45 def lazy_load; end - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#10 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:10 def load(cache_fetcher, db_key); end - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#32 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:32 def load_batch(db_keys_by_cache_fetcher); end - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#17 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:17 def load_multi(cache_fetcher, db_keys, &callback); end - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#50 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:50 def load_now; end private - # source://identity_cache//lib/identity_cache/load_strategy/lazy.rb#60 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/lazy.rb:60 def load_pending(pending_loads); end end -# source://identity_cache//lib/identity_cache/load_strategy/load_request.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/load_strategy/load_request.rb:5 class IdentityCache::LoadStrategy::LoadRequest # @return [LoadRequest] a new instance of LoadRequest # - # source://identity_cache//lib/identity_cache/load_strategy/load_request.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/load_request.rb:8 def initialize(db_keys, callback); end - # source://identity_cache//lib/identity_cache/load_strategy/load_request.rb#13 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/load_request.rb:13 def after_load(results); end # Returns the value of attribute db_keys. # - # source://identity_cache//lib/identity_cache/load_strategy/load_request.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/load_request.rb:6 def db_keys; end end -# source://identity_cache//lib/identity_cache/load_strategy/multi_load_request.rb#5 +# pkg:gem/identity_cache#lib/identity_cache/load_strategy/multi_load_request.rb:5 class IdentityCache::LoadStrategy::MultiLoadRequest # @return [MultiLoadRequest] a new instance of MultiLoadRequest # - # source://identity_cache//lib/identity_cache/load_strategy/multi_load_request.rb#6 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/multi_load_request.rb:6 def initialize(load_requests); end - # source://identity_cache//lib/identity_cache/load_strategy/multi_load_request.rb#14 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/multi_load_request.rb:14 def after_load(all_results); end - # source://identity_cache//lib/identity_cache/load_strategy/multi_load_request.rb#10 + # pkg:gem/identity_cache#lib/identity_cache/load_strategy/multi_load_request.rb:10 def db_keys; end end -# source://identity_cache//lib/identity_cache.rb#73 +# pkg:gem/identity_cache#lib/identity_cache.rb:73 class IdentityCache::LockWaitTimeout < ::StandardError; end -# source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#7 +# pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:7 class IdentityCache::MemoizedCacheProxy # @return [MemoizedCacheProxy] a new instance of MemoizedCacheProxy # - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#10 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:10 def initialize(cache_adaptor = T.unsafe(nil)); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:15 def cache_backend=(cache_adaptor); end # Returns the value of attribute cache_fetcher. # - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:8 def cache_fetcher; end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#143 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:143 def clear; end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#60 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:60 def delete(key); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#73 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:73 def delete_multi(keys); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#83 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:83 def fetch(key, cache_fetcher_options = T.unsafe(nil), &block); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#112 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:112 def fetch_multi(*keys); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#40 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:40 def memoized_key_values; end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#44 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:44 def with_memoization; end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#52 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:52 def write(key, value); end private - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#199 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:199 def clear_memoization; end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#162 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:162 def fetch_memoized(key); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#171 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:171 def fetch_multi_memoized(keys); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#191 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:191 def instrument_duration(payload, key); end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#207 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:207 def log_multi_result(keys, memo_miss_keys, cache_miss_keys); end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#203 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:203 def memoizing?; end - # source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#155 + # pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:155 def set_instrumentation_payload(payload, num_keys:, memo_misses:, cache_misses:); end end -# source://identity_cache//lib/identity_cache/memoized_cache_proxy.rb#152 +# pkg:gem/identity_cache#lib/identity_cache/memoized_cache_proxy.rb:152 IdentityCache::MemoizedCacheProxy::EMPTY_ARRAY = T.let(T.unsafe(nil), Array) -# source://identity_cache//lib/identity_cache.rb#65 +# pkg:gem/identity_cache#lib/identity_cache.rb:65 class IdentityCache::NestedDeferredCacheExpirationBlockError < ::StandardError; end -# source://identity_cache//lib/identity_cache.rb#63 +# pkg:gem/identity_cache#lib/identity_cache.rb:63 class IdentityCache::NestedDeferredParentBlockError < ::StandardError; end -# source://identity_cache//lib/identity_cache/parent_model_expiration.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:4 module IdentityCache::ParentModelExpiration include ::ArTransactionChanges extend ::ActiveSupport::Concern @@ -1468,36 +1468,36 @@ module IdentityCache::ParentModelExpiration mixes_in_class_methods GeneratedClassMethods - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#58 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:58 def add_parents_to_cache_expiry_set(parents_to_expire); end - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#65 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:65 def add_record_to_cache_expiry_set(parents_to_expire, record); end - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#45 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:45 def expire_parent_caches; end - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#71 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:71 def parents_to_expire_on_changes(parents_to_expire, association_name, cached_associations); end # @return [Boolean] # - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#105 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:105 def should_expire_identity_cache_parent?(foreign_key, only_on_foreign_key_change); end class << self - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:9 def add_parent_expiry_hook(cached_association); end - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#14 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:14 def install_all_pending_parent_expiry_hooks; end - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#24 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:24 def install_pending_parent_expiry_hooks(model); end private - # source://identity_cache//lib/identity_cache/parent_model_expiration.rb#35 + # pkg:gem/identity_cache#lib/identity_cache/parent_model_expiration.rb:35 def lazy_hooks; end end @@ -1514,7 +1514,7 @@ module IdentityCache::ParentModelExpiration end end -# source://identity_cache//lib/identity_cache/query_api.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/query_api.rb:4 module IdentityCache::QueryAPI extend ::ActiveSupport::Concern @@ -1526,19 +1526,19 @@ module IdentityCache::QueryAPI # callback enqueues a background job, then we don't want it to be possible for the # background job to run and load data from the cache before it is invalidated. # - # source://identity_cache//lib/identity_cache/query_api.rb#168 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:168 def _run_commit_callbacks; end # Invalidate the cache data associated with the record. Returns `true` on success, # `false` otherwise. # - # source://identity_cache//lib/identity_cache/query_api.rb#177 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:177 def expire_cache; end # @api private # @return [Boolean] # - # source://identity_cache//lib/identity_cache/query_api.rb#185 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:185 def was_new_record?; end private @@ -1546,67 +1546,67 @@ module IdentityCache::QueryAPI # Even if we have problems with some attributes, carry over the results and expire # all possible attributes without array allocation. # - # source://identity_cache//lib/identity_cache/query_api.rb#194 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:194 def expire_attribute_indexes; end end -# source://identity_cache//lib/identity_cache/query_api.rb#7 +# pkg:gem/identity_cache#lib/identity_cache/query_api.rb:7 module IdentityCache::QueryAPI::ClassMethods # @api private # - # source://identity_cache//lib/identity_cache/query_api.rb#19 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:19 def all_cached_associations; end # @api private # - # source://identity_cache//lib/identity_cache/query_api.rb#14 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:14 def cached_association(name); end # Prefetches cached associations on a collection of records # - # source://identity_cache//lib/identity_cache/query_api.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:9 def prefetch_associations(includes, records); end private - # source://identity_cache//lib/identity_cache/query_api.rb#139 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:139 def cache_fetch_includes; end - # source://identity_cache//lib/identity_cache/query_api.rb#32 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:32 def check_association_scope(association_name); end - # source://identity_cache//lib/identity_cache/query_api.rb#122 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:122 def each_id_embedded_association; end - # source://identity_cache//lib/identity_cache/query_api.rb#135 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:135 def embedded_associations; end - # source://identity_cache//lib/identity_cache/query_api.rb#43 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:43 def preload_id_embedded_association(records, cached_association); end - # source://identity_cache//lib/identity_cache/query_api.rb#25 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:25 def raise_if_scoped; end - # source://identity_cache//lib/identity_cache/query_api.rb#114 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:114 def readonly_copy(record_or_records); end - # source://identity_cache//lib/identity_cache/query_api.rb#108 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:108 def readonly_record_copy(record); end - # source://identity_cache//lib/identity_cache/query_api.rb#131 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:131 def recursively_embedded_associations; end - # source://identity_cache//lib/identity_cache/query_api.rb#69 + # pkg:gem/identity_cache#lib/identity_cache/query_api.rb:69 def setup_embedded_associations_on_miss(records, readonly: T.unsafe(nil)); end end -# source://identity_cache//lib/identity_cache/railtie.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/railtie.rb:4 class IdentityCache::Railtie < ::Rails::Railtie; end -# source://identity_cache//lib/identity_cache/record_not_found.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/record_not_found.rb:4 class IdentityCache::RecordNotFound < ::ActiveRecord::RecordNotFound; end -# source://identity_cache//lib/identity_cache/should_use_cache.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/should_use_cache.rb:4 module IdentityCache::ShouldUseCache extend ::ActiveSupport::Concern @@ -1616,31 +1616,31 @@ module IdentityCache::ShouldUseCache # @return [Boolean] # - # source://identity_cache//lib/identity_cache/should_use_cache.rb#19 + # pkg:gem/identity_cache#lib/identity_cache/should_use_cache.rb:19 def loaded_by_idc?; end - # source://identity_cache//lib/identity_cache/should_use_cache.rb#15 + # pkg:gem/identity_cache#lib/identity_cache/should_use_cache.rb:15 def mark_as_loaded_by_idc; end end -# source://identity_cache//lib/identity_cache/should_use_cache.rb#7 +# pkg:gem/identity_cache#lib/identity_cache/should_use_cache.rb:7 module IdentityCache::ShouldUseCache::ClassMethods # @return [Boolean] # - # source://identity_cache//lib/identity_cache/should_use_cache.rb#8 + # pkg:gem/identity_cache#lib/identity_cache/should_use_cache.rb:8 def should_use_cache?; end end -# source://identity_cache//lib/identity_cache.rb#69 +# pkg:gem/identity_cache#lib/identity_cache.rb:69 class IdentityCache::UnsupportedAssociationError < ::StandardError; end -# source://identity_cache//lib/identity_cache.rb#67 +# pkg:gem/identity_cache#lib/identity_cache.rb:67 class IdentityCache::UnsupportedScopeError < ::StandardError; end -# source://identity_cache//lib/identity_cache/version.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/version.rb:4 IdentityCache::VERSION = T.let(T.unsafe(nil), String) -# source://identity_cache//lib/identity_cache/with_primary_index.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:4 module IdentityCache::WithPrimaryIndex extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -1661,17 +1661,17 @@ module IdentityCache::WithPrimaryIndex mixes_in_class_methods ::IdentityCache::WithoutPrimaryIndex::ClassMethods mixes_in_class_methods ::IdentityCache::WithPrimaryIndex::ClassMethods - # source://identity_cache//lib/identity_cache/with_primary_index.rb#9 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:9 def expire_cache; end # @api private # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#16 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:16 def expire_primary_index; end # @api private # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#21 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:21 def primary_cache_index_key; end module GeneratedClassMethods @@ -1717,7 +1717,7 @@ module IdentityCache::WithPrimaryIndex end end -# source://identity_cache//lib/identity_cache/with_primary_index.rb#25 +# pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:25 module IdentityCache::WithPrimaryIndex::ClassMethods # Declares a new index in the cache for the class where IdentityCache was # included. @@ -1744,12 +1744,12 @@ module IdentityCache::WithPrimaryIndex::ClassMethods # == Options # * unique: if the index would only have unique values. Default is false # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#60 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:60 def cache_index(*fields, unique: T.unsafe(nil)); end # @api private # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#27 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:27 def cached_primary_index; end # Similar to ActiveRecord::Base#exists? will return true if the id can be @@ -1757,12 +1757,12 @@ module IdentityCache::WithPrimaryIndex::ClassMethods # # @return [Boolean] # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#99 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:99 def exists_with_identity_cache?(id); end # Invalidates the primary cache index for the associated record. Will not invalidate cached attributes. # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#162 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:162 def expire_primary_key_cache_index(id); end # Fetch the record by its primary key from the cache or read from @@ -1789,7 +1789,7 @@ module IdentityCache::WithPrimaryIndex::ClassMethods # seconds for `lock_wait_tries` other clients to fill the cache. # @return [self] An instance of this model for the record with the specified id # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#142 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:142 def fetch(id, **options); end # Fetch the record by its primary key from the cache or read from @@ -1816,25 +1816,25 @@ module IdentityCache::WithPrimaryIndex::ClassMethods # @return [self|nil] An instance of this model for the record with the specified id or # `nil` if no record with this `id` exists in the database # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#126 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:126 def fetch_by_id(id, includes: T.unsafe(nil), **cache_fetcher_options); end # Default fetcher added to the model on inclusion, if behaves like # ActiveRecord::Base.find_all_by_id # - # source://identity_cache//lib/identity_cache/with_primary_index.rb#150 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:150 def fetch_multi(*ids, includes: T.unsafe(nil)); end - # source://identity_cache//lib/identity_cache/with_primary_index.rb#31 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:31 def primary_cache_index_enabled; end private - # source://identity_cache//lib/identity_cache/with_primary_index.rb#168 + # pkg:gem/identity_cache#lib/identity_cache/with_primary_index.rb:168 def inherited(subclass); end end -# source://identity_cache//lib/identity_cache/without_primary_index.rb#4 +# pkg:gem/identity_cache#lib/identity_cache/without_primary_index.rb:4 module IdentityCache::WithoutPrimaryIndex include ::ArTransactionChanges include ::IdentityCache::CacheInvalidation @@ -1858,7 +1858,7 @@ module IdentityCache::WithoutPrimaryIndex class << self # @raise [AlreadyIncludedError] # - # source://identity_cache//lib/identity_cache/without_primary_index.rb#17 + # pkg:gem/identity_cache#lib/identity_cache/without_primary_index.rb:17 def append_features(base); end end @@ -1905,8 +1905,8 @@ module IdentityCache::WithoutPrimaryIndex end end -# source://identity_cache//lib/identity_cache/without_primary_index.rb#29 +# pkg:gem/identity_cache#lib/identity_cache/without_primary_index.rb:29 module IdentityCache::WithoutPrimaryIndex::ClassMethods - # source://identity_cache//lib/identity_cache/without_primary_index.rb#30 + # pkg:gem/identity_cache#lib/identity_cache/without_primary_index.rb:30 def primary_cache_index_enabled; end end diff --git a/sorbet/rbi/gems/json@2.18.0.rbi b/sorbet/rbi/gems/json@2.18.0.rbi index 4e4426f07..13b3a52ec 100644 --- a/sorbet/rbi/gems/json@2.18.0.rbi +++ b/sorbet/rbi/gems/json@2.18.0.rbi @@ -661,7 +661,7 @@ end # Without custom addition: "#" (String) # With custom addition: # (Foo) # -# source://json//lib/json/version.rb#3 +# pkg:gem/json#lib/json/version.rb:3 module JSON private @@ -693,7 +693,7 @@ module JSON # Output: # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"} # - # source://json//lib/json/common.rb#930 + # pkg:gem/json#lib/json/common.rb:930 def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end # :call-seq: @@ -710,10 +710,10 @@ module JSON # # Raises SystemStackError (stack level too deep): # JSON.fast_generate(a) # - # source://json//lib/json/common.rb#460 + # pkg:gem/json#lib/json/common.rb:460 def fast_generate(obj, opts = T.unsafe(nil)); end - # source://json//lib/json/common.rb#975 + # pkg:gem/json#lib/json/common.rb:975 def fast_unparse(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -752,7 +752,7 @@ module JSON # # Raises JSON::NestingError (nesting of 100 is too deep): # JSON.generate(a) # - # source://json//lib/json/common.rb#439 + # pkg:gem/json#lib/json/common.rb:439 def generate(obj, opts = T.unsafe(nil)); end # :call-seq: @@ -892,7 +892,7 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json//lib/json/common.rb#854 + # pkg:gem/json#lib/json/common.rb:854 def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end # :call-seq: @@ -903,7 +903,7 @@ module JSON # # See method #parse. # - # source://json//lib/json/common.rb#388 + # pkg:gem/json#lib/json/common.rb:388 def load_file(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -914,7 +914,7 @@ module JSON # # See method #parse! # - # source://json//lib/json/common.rb#399 + # pkg:gem/json#lib/json/common.rb:399 def load_file!(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -965,7 +965,7 @@ module JSON # # Raises JSON::ParserError (783: unexpected token at ''): # JSON.parse('') # - # source://json//lib/json/common.rb#351 + # pkg:gem/json#lib/json/common.rb:351 def parse(source, opts = T.unsafe(nil)); end # :call-seq: @@ -980,7 +980,7 @@ module JSON # which disables checking for nesting depth. # - Option +allow_nan+, if not provided, defaults to +true+. # - # source://json//lib/json/common.rb#373 + # pkg:gem/json#lib/json/common.rb:373 def parse!(source, opts = T.unsafe(nil)); end # :call-seq: @@ -1013,20 +1013,20 @@ module JSON # } # } # - # source://json//lib/json/common.rb#507 + # pkg:gem/json#lib/json/common.rb:507 def pretty_generate(obj, opts = T.unsafe(nil)); end - # source://json//lib/json/common.rb#985 + # pkg:gem/json#lib/json/common.rb:985 def pretty_unparse(*_arg0, **_arg1, &_arg2); end - # source://json//lib/json/common.rb#995 + # pkg:gem/json#lib/json/common.rb:995 def restore(*_arg0, **_arg1, &_arg2); end # :stopdoc: # All these were meant to be deprecated circa 2009, but were just set as undocumented # so usage still exist in the wild. # - # source://json//lib/json/common.rb#965 + # pkg:gem/json#lib/json/common.rb:965 def unparse(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -1160,7 +1160,7 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json//lib/json/common.rb#683 + # pkg:gem/json#lib/json/common.rb:683 def unsafe_load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end class << self @@ -1176,32 +1176,32 @@ module JSON # ruby = [0, 1, nil] # JSON[ruby] # => '[0,1,null]' # - # source://json//lib/json/common.rb#132 + # pkg:gem/json#lib/json/common.rb:132 def [](object, opts = T.unsafe(nil)); end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def _dump_default_options; end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def _load_default_options; end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def _unsafe_load_default_options; end # Returns the current create identifier. # See also JSON.create_id=. # - # source://json//lib/json/common.rb#234 + # pkg:gem/json#lib/json/common.rb:234 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#228 + # pkg:gem/json#lib/json/common.rb:228 def create_id=(new_value); end - # source://json//lib/json/common.rb#104 + # pkg:gem/json#lib/json/common.rb:104 def deprecation_warning(message, uplevel = T.unsafe(nil)); end # :call-seq: @@ -1232,13 +1232,13 @@ module JSON # Output: # {"foo":[0,1],"bar":{"baz":2,"bat":3},"bam":"bad"} # - # source://json//lib/json/common.rb#930 + # pkg:gem/json#lib/json/common.rb:930 def dump(obj, anIO = T.unsafe(nil), limit = T.unsafe(nil), kwargs = T.unsafe(nil)); end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def dump_default_options; end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def dump_default_options=(val); end # :call-seq: @@ -1255,10 +1255,10 @@ module JSON # # Raises SystemStackError (stack level too deep): # JSON.fast_generate(a) # - # source://json//lib/json/common.rb#460 + # pkg:gem/json#lib/json/common.rb:460 def fast_generate(obj, opts = T.unsafe(nil)); end - # source://json//lib/json/common.rb#975 + # pkg:gem/json#lib/json/common.rb:975 def fast_unparse(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -1297,17 +1297,17 @@ module JSON # # Raises JSON::NestingError (nesting of 100 is too deep): # JSON.generate(a) # - # source://json//lib/json/common.rb#439 + # pkg:gem/json#lib/json/common.rb:439 def generate(obj, opts = T.unsafe(nil)); end # Returns the JSON generator module that is used by JSON. # - # source://json//lib/json/common.rb#177 + # pkg:gem/json#lib/json/common.rb:177 def generator; end # Set the module _generator_ to be used by JSON. # - # source://json//lib/json/common.rb#156 + # pkg:gem/json#lib/json/common.rb:156 def generator=(generator); end # :call-seq: @@ -1447,13 +1447,13 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json//lib/json/common.rb#854 + # pkg:gem/json#lib/json/common.rb:854 def load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def load_default_options; end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def load_default_options=(val); end # :call-seq: @@ -1464,7 +1464,7 @@ module JSON # # See method #parse. # - # source://json//lib/json/common.rb#388 + # pkg:gem/json#lib/json/common.rb:388 def load_file(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -1475,7 +1475,7 @@ module JSON # # See method #parse! # - # source://json//lib/json/common.rb#399 + # pkg:gem/json#lib/json/common.rb:399 def load_file!(filespec, opts = T.unsafe(nil)); end # :call-seq: @@ -1526,7 +1526,7 @@ module JSON # # Raises JSON::ParserError (783: unexpected token at ''): # JSON.parse('') # - # source://json//lib/json/common.rb#351 + # pkg:gem/json#lib/json/common.rb:351 def parse(source, opts = T.unsafe(nil)); end # :call-seq: @@ -1541,17 +1541,17 @@ module JSON # which disables checking for nesting depth. # - Option +allow_nan+, if not provided, defaults to +true+. # - # source://json//lib/json/common.rb#373 + # pkg:gem/json#lib/json/common.rb:373 def parse!(source, opts = T.unsafe(nil)); end # Returns the JSON parser class that is used by JSON. # - # source://json//lib/json/common.rb#146 + # pkg:gem/json#lib/json/common.rb:146 def parser; end # Set the JSON parser class _parser_ to be used by JSON. # - # source://json//lib/json/common.rb#149 + # pkg:gem/json#lib/json/common.rb:149 def parser=(parser); end # :call-seq: @@ -1584,30 +1584,30 @@ module JSON # } # } # - # source://json//lib/json/common.rb#507 + # pkg:gem/json#lib/json/common.rb:507 def pretty_generate(obj, opts = T.unsafe(nil)); end - # source://json//lib/json/common.rb#985 + # pkg:gem/json#lib/json/common.rb:985 def pretty_unparse(*_arg0, **_arg1, &_arg2); end - # source://json//lib/json/common.rb#995 + # pkg:gem/json#lib/json/common.rb:995 def restore(*_arg0, **_arg1, &_arg2); end # Sets or Returns the JSON generator state class that is used by JSON. # - # source://json//lib/json/common.rb#180 + # pkg:gem/json#lib/json/common.rb:180 def state; end # Sets or Returns the JSON generator state class that is used by JSON. # - # source://json//lib/json/common.rb#180 + # pkg:gem/json#lib/json/common.rb:180 def state=(_arg0); end # :stopdoc: # All these were meant to be deprecated circa 2009, but were just set as undocumented # so usage still exist in the wild. # - # source://json//lib/json/common.rb#965 + # pkg:gem/json#lib/json/common.rb:965 def unparse(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -1741,26 +1741,26 @@ module JSON # #"Admin", "password"=>"0wn3d"}>} # - # source://json//lib/json/common.rb#683 + # pkg:gem/json#lib/json/common.rb:683 def unsafe_load(source, proc = T.unsafe(nil), options = T.unsafe(nil)); end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def unsafe_load_default_options; end - # source://json//lib/json/common.rb#206 + # pkg:gem/json#lib/json/common.rb:206 def unsafe_load_default_options=(val); end private - # source://json//lib/json/common.rb#1008 + # pkg:gem/json#lib/json/common.rb:1008 def const_missing(const_name); end - # source://json//lib/json/common.rb#203 + # pkg:gem/json#lib/json/common.rb:203 def deprecated_singleton_attr_accessor(*attrs); end # Called from the extension when a hash has both string and symbol keys # - # source://json//lib/json/common.rb#185 + # pkg:gem/json#lib/json/common.rb:185 def on_mixed_keys_hash(hash, do_raise); end end end @@ -1775,7 +1775,7 @@ end # # MyApp::JSONC_CODER.load(document) # -# source://json//lib/json/common.rb#1034 +# pkg:gem/json#lib/json/common.rb:1034 class JSON::Coder # :call-seq: # JSON.new(options = nil, &block) @@ -1802,7 +1802,7 @@ class JSON::Coder # # @return [Coder] a new instance of Coder # - # source://json//lib/json/common.rb#1058 + # pkg:gem/json#lib/json/common.rb:1058 def initialize(options = T.unsafe(nil), &as_json); end # call-seq: @@ -1811,7 +1811,7 @@ class JSON::Coder # # Serialize the given object into a \JSON document. # - # source://json//lib/json/common.rb#1076 + # pkg:gem/json#lib/json/common.rb:1076 def dump(object, io = T.unsafe(nil)); end # call-seq: @@ -1820,7 +1820,7 @@ class JSON::Coder # # Serialize the given object into a \JSON document. # - # source://json//lib/json/common.rb#1079 + # pkg:gem/json#lib/json/common.rb:1079 def generate(object, io = T.unsafe(nil)); end # call-seq: @@ -1828,7 +1828,7 @@ class JSON::Coder # # Parse the given \JSON document and return an equivalent Ruby object. # - # source://json//lib/json/common.rb#1085 + # pkg:gem/json#lib/json/common.rb:1085 def load(source); end # call-seq: @@ -1836,7 +1836,7 @@ class JSON::Coder # # Parse the given \JSON document and return an equivalent Ruby object. # - # source://json//lib/json/common.rb#1094 + # pkg:gem/json#lib/json/common.rb:1094 def load_file(path); end # call-seq: @@ -1844,56 +1844,65 @@ class JSON::Coder # # Parse the given \JSON document and return an equivalent Ruby object. # - # source://json//lib/json/common.rb#1088 + # pkg:gem/json#lib/json/common.rb:1088 def parse(source); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::Array - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::FalseClass - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::Float - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::Hash - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::Integer - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::NilClass - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::Object - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::String - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end +# pkg:gem/json#lib/json/ext.rb:39 module JSON::Ext::Generator::GeneratorMethods::TrueClass - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def to_json(*_arg0); end end -# source://json//lib/json/ext/generator/state.rb#6 +# pkg:gem/json#lib/json/ext.rb:39 class JSON::Ext::Generator::State # call-seq: new(opts = {}) # @@ -1904,54 +1913,54 @@ class JSON::Ext::Generator::State # # @return [State] a new instance of State # - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 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#77 + # pkg:gem/json#lib/json/ext/generator/state.rb:77 def [](name); end # call-seq: []=(name, value) # # Sets the attribute name to value. # - # source://json//lib/json/ext/generator/state.rb#91 + # pkg:gem/json#lib/json/ext/generator/state.rb:91 def []=(name, value); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def allow_nan=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def allow_nan?; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def array_nl; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def array_nl=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def as_json; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def as_json=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def ascii_only=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def ascii_only?; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def buffer_initial_length; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def buffer_initial_length=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def check_circular?; end # call-seq: configure(opts) @@ -1959,37 +1968,37 @@ class JSON::Ext::Generator::State # Configure this State instance with the Hash _opts_, and return # itself. # - # source://json//lib/json/ext/generator/state.rb#23 + # pkg:gem/json#lib/json/ext/generator/state.rb:23 def configure(opts); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def depth; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def depth=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def escape_slash; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def escape_slash=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def escape_slash?; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def generate(*_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def indent; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def indent=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def max_nesting; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def max_nesting=(_arg0); end # call-seq: configure(opts) @@ -1997,43 +2006,43 @@ class JSON::Ext::Generator::State # Configure this State instance with the Hash _opts_, and return # itself. # - # source://json//lib/json/ext/generator/state.rb#36 + # pkg:gem/json#lib/json/ext/generator/state.rb:36 def merge(opts); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def object_nl; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def object_nl=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def script_safe; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def script_safe=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def script_safe?; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def space; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def space=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def space_before; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def space_before=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def strict; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def strict=(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def strict?; end # call-seq: to_h @@ -2041,7 +2050,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#42 + # pkg:gem/json#lib/json/ext/generator/state.rb:42 def to_h; end # call-seq: to_h @@ -2049,59 +2058,60 @@ 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#72 + # pkg:gem/json#lib/json/ext/generator/state.rb:72 def to_hash; end private - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def _configure(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def allow_duplicate_key?; end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def initialize_copy(_arg0); end class << self - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def from_state(_arg0); end - # source://json//lib/json/ext.rb#39 + # pkg:gem/json#lib/json/ext.rb:39 def generate(_arg0, _arg1, _arg2); end end end -# source://json//lib/json/ext.rb#9 +# pkg:gem/json#lib/json/ext.rb:9 class JSON::Ext::Parser # @return [Parser] a new instance of Parser # - # source://json//lib/json/ext.rb#17 + # pkg:gem/json#lib/json/ext.rb:17 def initialize(source, opts = T.unsafe(nil)); end - # source://json//lib/json/ext.rb#26 + # pkg:gem/json#lib/json/ext.rb:26 def parse; end - # source://json//lib/json/ext.rb#22 + # pkg:gem/json#lib/json/ext.rb:22 def source; end class << self # Allow redefinition by extensions # Allow redefinition by extensions # - # source://json//lib/json/ext.rb#11 + # pkg:gem/json#lib/json/ext.rb:11 def parse(_arg0, _arg1); end end end -# source://json//lib/json/ext.rb#32 +# pkg:gem/json#lib/json/ext.rb:32 JSON::Ext::Parser::Config = JSON::Ext::ParserConfig +# pkg:gem/json#lib/json/ext.rb:31 class JSON::Ext::ParserConfig - # source://json//lib/json/ext.rb#31 + # pkg:gem/json#lib/json/ext.rb:31 def initialize(_arg0); end - # source://json//lib/json/ext.rb#31 + # pkg:gem/json#lib/json/ext.rb:31 def parse(_arg0); end end @@ -2116,18 +2126,18 @@ end # Note: no validation is performed on the provided string. It is the # responsibility of the caller to ensure the string contains valid JSON. # -# source://json//lib/json/common.rb#287 +# pkg:gem/json#lib/json/common.rb:287 class JSON::Fragment < ::Struct # @return [Fragment] a new instance of Fragment # - # source://json//lib/json/common.rb#288 + # pkg:gem/json#lib/json/common.rb:288 def initialize(json); end # Returns the value of attribute json # # @return [Object] the current value of json # - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def json; end # Sets the attribute json @@ -2135,144 +2145,144 @@ class JSON::Fragment < ::Struct # @param value [Object] the value to set the attribute json to. # @return [Object] the newly set value # - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def json=(_); end - # source://json//lib/json/common.rb#296 + # pkg:gem/json#lib/json/common.rb:296 def to_json(state = T.unsafe(nil), *_arg1); end class << self - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def [](*_arg0); end - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def inspect; end - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def keyword_init?; end - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def members; end - # source://json//lib/json/common.rb#287 + # pkg:gem/json#lib/json/common.rb:287 def new(*_arg0); end end end # This exception is raised if a generator or unparser error occurs. # -# source://json//lib/json/common.rb#257 +# pkg:gem/json#lib/json/common.rb:257 class JSON::GeneratorError < ::JSON::JSONError # @return [GeneratorError] a new instance of GeneratorError # - # source://json//lib/json/common.rb#260 + # pkg:gem/json#lib/json/common.rb:260 def initialize(message, invalid_object = T.unsafe(nil)); end - # source://json//lib/json/common.rb#265 + # pkg:gem/json#lib/json/common.rb:265 def detailed_message(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute invalid_object. # - # source://json//lib/json/common.rb#258 + # pkg:gem/json#lib/json/common.rb:258 def invalid_object; end end -# source://json//lib/json/generic_object.rb#9 +# pkg:gem/json#lib/json/generic_object.rb:9 class JSON::GenericObject < ::OpenStruct - # source://json//lib/json/generic_object.rb#59 + # pkg:gem/json#lib/json/generic_object.rb:59 def as_json(*_arg0); end - # source://json//lib/json/generic_object.rb#51 + # pkg:gem/json#lib/json/generic_object.rb:51 def to_hash; end - # source://json//lib/json/generic_object.rb#63 + # pkg:gem/json#lib/json/generic_object.rb:63 def to_json(*a); end - # source://json//lib/json/generic_object.rb#55 + # pkg:gem/json#lib/json/generic_object.rb:55 def |(other); end class << self - # source://json//lib/json/generic_object.rb#11 + # pkg:gem/json#lib/json/generic_object.rb:11 def [](*_arg0); end - # source://json//lib/json/generic_object.rb#45 + # pkg:gem/json#lib/json/generic_object.rb:45 def dump(obj, *args); end - # source://json//lib/json/generic_object.rb#25 + # pkg:gem/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 + # pkg:gem/json#lib/json/generic_object.rb:17 def json_creatable=(_arg0); end # @return [Boolean] # - # source://json//lib/json/generic_object.rb#13 + # pkg:gem/json#lib/json/generic_object.rb:13 def json_creatable?; end - # source://json//lib/json/generic_object.rb#19 + # pkg:gem/json#lib/json/generic_object.rb:19 def json_create(data); end - # source://json//lib/json/generic_object.rb#40 + # pkg:gem/json#lib/json/generic_object.rb:40 def load(source, proc = T.unsafe(nil), opts = T.unsafe(nil)); end end end -# source://json//lib/json/common.rb#356 +# pkg:gem/json#lib/json/common.rb:356 JSON::PARSE_L_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://json//lib/json/common.rb#469 +# pkg:gem/json#lib/json/common.rb:469 JSON::PRETTY_GENERATE_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://json//lib/json/common.rb#152 +# pkg:gem/json#lib/json/common.rb:152 JSON::Parser = JSON::Ext::Parser # This exception is raised if a parser error occurs. # -# source://json//lib/json/common.rb#248 +# pkg:gem/json#lib/json/common.rb:248 class JSON::ParserError < ::JSON::JSONError # Returns the value of attribute column. # - # source://json//lib/json/common.rb#249 + # pkg:gem/json#lib/json/common.rb:249 def column; end # Returns the value of attribute line. # - # source://json//lib/json/common.rb#249 + # pkg:gem/json#lib/json/common.rb:249 def line; end end -# source://json//lib/json/common.rb#8 +# pkg:gem/json#lib/json/common.rb:8 module JSON::ParserOptions class << self - # source://json//lib/json/common.rb#10 + # pkg:gem/json#lib/json/common.rb:10 def prepare(opts); end private - # source://json//lib/json/common.rb#40 + # pkg:gem/json#lib/json/common.rb:40 def array_class_proc(array_class, on_load); end # TODO: extract :create_additions support to another gem for version 3.0 # - # source://json//lib/json/common.rb#52 + # pkg:gem/json#lib/json/common.rb:52 def create_additions_proc(opts); end - # source://json//lib/json/common.rb#95 + # pkg:gem/json#lib/json/common.rb:95 def create_additions_warning; end - # source://json//lib/json/common.rb#29 + # pkg:gem/json#lib/json/common.rb:29 def object_class_proc(object_class, on_load); end end end -# source://json//lib/json/common.rb#171 +# pkg:gem/json#lib/json/common.rb:171 JSON::State = JSON::Ext::Generator::State -# source://json//lib/json/common.rb#1100 +# pkg:gem/json#lib/json/common.rb:1100 module Kernel private @@ -2283,19 +2293,19 @@ 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#1139 + # pkg:gem/json#lib/json/common.rb:1139 def JSON(object, opts = T.unsafe(nil)); end # Outputs _objs_ to STDOUT as JSON strings in the shortest form, that is in # one line. # - # source://json//lib/json/common.rb#1105 + # pkg:gem/json#lib/json/common.rb:1105 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#1120 + # pkg:gem/json#lib/json/common.rb:1120 def jj(*objs); end end diff --git a/sorbet/rbi/gems/json_api_client@1.23.0-9564f34d250e852b90d24505ab6fe3214f936eef.rbi b/sorbet/rbi/gems/json_api_client@1.23.0-9564f34d250e852b90d24505ab6fe3214f936eef.rbi index 0192c9829..894583567 100644 --- a/sorbet/rbi/gems/json_api_client@1.23.0-9564f34d250e852b90d24505ab6fe3214f936eef.rbi +++ b/sorbet/rbi/gems/json_api_client@1.23.0-9564f34d250e852b90d24505ab6fe3214f936eef.rbi @@ -5,383 +5,383 @@ # Please instead update this file by running `bin/tapioca gem json_api_client`. -# source://json_api_client//lib/json_api_client/formatter.rb#5 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:5 module JsonApiClient; end -# source://json_api_client//lib/json_api_client/associations.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/associations.rb:2 module JsonApiClient::Associations; end -# source://json_api_client//lib/json_api_client/associations/base_association.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:3 class JsonApiClient::Associations::BaseAssociation # @return [BaseAssociation] a new instance of BaseAssociation # - # source://json_api_client//lib/json_api_client/associations/base_association.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:5 def initialize(attr_name, klass, options = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/associations/base_association.rb#11 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:11 def association_class; end # Returns the value of attribute attr_name. # - # source://json_api_client//lib/json_api_client/associations/base_association.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:4 def attr_name; end - # source://json_api_client//lib/json_api_client/associations/base_association.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:17 def data(url); end - # source://json_api_client//lib/json_api_client/associations/base_association.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:21 def from_result_set(result_set); end # Returns the value of attribute klass. # - # source://json_api_client//lib/json_api_client/associations/base_association.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:4 def klass; end - # source://json_api_client//lib/json_api_client/associations/base_association.rb#25 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:25 def load_records(data); end # Returns the value of attribute options. # - # source://json_api_client//lib/json_api_client/associations/base_association.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/associations/base_association.rb:4 def options; end end -# source://json_api_client//lib/json_api_client/associations/belongs_to.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:3 module JsonApiClient::Associations::BelongsTo; end -# source://json_api_client//lib/json_api_client/associations/belongs_to.rb#4 +# pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:4 class JsonApiClient::Associations::BelongsTo::Association < ::JsonApiClient::Associations::BaseAssociation include ::JsonApiClient::Helpers::URI # @return [Association] a new instance of Association # - # source://json_api_client//lib/json_api_client/associations/belongs_to.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:9 def initialize(attr_name, klass, options = T.unsafe(nil)); end # Returns the value of attribute param. # - # source://json_api_client//lib/json_api_client/associations/belongs_to.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:7 def param; end - # source://json_api_client//lib/json_api_client/associations/belongs_to.rb#23 + # pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:23 def set_prefix_path(attrs, formatter); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/associations/belongs_to.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:15 def shallow_path?; end - # source://json_api_client//lib/json_api_client/associations/belongs_to.rb#19 + # pkg:gem/json_api_client#lib/json_api_client/associations/belongs_to.rb:19 def to_prefix_path(formatter); end end -# source://json_api_client//lib/json_api_client/associations/has_many.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/associations/has_many.rb:3 module JsonApiClient::Associations::HasMany; end -# source://json_api_client//lib/json_api_client/associations/has_many.rb#4 +# pkg:gem/json_api_client#lib/json_api_client/associations/has_many.rb:4 class JsonApiClient::Associations::HasMany::Association < ::JsonApiClient::Associations::BaseAssociation; end -# source://json_api_client//lib/json_api_client/associations/has_one.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/associations/has_one.rb:3 module JsonApiClient::Associations::HasOne; end -# source://json_api_client//lib/json_api_client/associations/has_one.rb#4 +# pkg:gem/json_api_client#lib/json_api_client/associations/has_one.rb:4 class JsonApiClient::Associations::HasOne::Association < ::JsonApiClient::Associations::BaseAssociation - # source://json_api_client//lib/json_api_client/associations/has_one.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/associations/has_one.rb:5 def from_result_set(result_set); end - # source://json_api_client//lib/json_api_client/associations/has_one.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/associations/has_one.rb:9 def load_records(data); end end -# source://json_api_client//lib/json_api_client/formatter.rb#77 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:77 class JsonApiClient::CamelizedKeyFormatter < ::JsonApiClient::KeyFormatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#79 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:79 def format(key); end - # source://json_api_client//lib/json_api_client/formatter.rb#83 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:83 def unformat(formatted_key); end end end -# source://json_api_client//lib/json_api_client/formatter.rb#121 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:121 class JsonApiClient::CamelizedRouteFormatter < ::JsonApiClient::RouteFormatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#123 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:123 def format(route); end - # source://json_api_client//lib/json_api_client/formatter.rb#127 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:127 def unformat(formatted_route); end end end -# source://json_api_client//lib/json_api_client/connection.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/connection.rb:2 class JsonApiClient::Connection # @return [Connection] a new instance of Connection # @yield [_self] # @yieldparam _self [JsonApiClient::Connection] the object that the method was called on # - # source://json_api_client//lib/json_api_client/connection.rb#6 + # pkg:gem/json_api_client#lib/json_api_client/connection.rb:6 def initialize(options = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/connection.rb#30 + # pkg:gem/json_api_client#lib/json_api_client/connection.rb:30 def delete(middleware); end # Returns the value of attribute faraday. # - # source://json_api_client//lib/json_api_client/connection.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/connection.rb:4 def faraday; end - # source://json_api_client//lib/json_api_client/connection.rb#34 + # pkg:gem/json_api_client#lib/json_api_client/connection.rb:34 def run(request_method, path, params: T.unsafe(nil), headers: T.unsafe(nil), body: T.unsafe(nil)); end # insert middleware before ParseJson - middleware executed in reverse order - # inserted middleware will run after json parsed # - # source://json_api_client//lib/json_api_client/connection.rb#25 + # pkg:gem/json_api_client#lib/json_api_client/connection.rb:25 def use(middleware, *args, &block); end end -# source://json_api_client//lib/json_api_client/formatter.rb#89 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:89 class JsonApiClient::DasherizedKeyFormatter < ::JsonApiClient::KeyFormatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#91 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:91 def format(key); end - # source://json_api_client//lib/json_api_client/formatter.rb#95 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:95 def unformat(formatted_key); end end end -# source://json_api_client//lib/json_api_client/formatter.rb#133 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:133 class JsonApiClient::DasherizedRouteFormatter < ::JsonApiClient::RouteFormatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#135 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:135 def format(route); end - # source://json_api_client//lib/json_api_client/formatter.rb#139 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:139 def unformat(formatted_route); end end end -# source://json_api_client//lib/json_api_client/formatter.rb#101 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:101 class JsonApiClient::DefaultValueFormatter < ::JsonApiClient::ValueFormatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#103 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:103 def format(raw_value); end end end -# source://json_api_client//lib/json_api_client/error_collector.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:2 class JsonApiClient::ErrorCollector < ::Array # @return [ErrorCollector] a new instance of ErrorCollector # - # source://json_api_client//lib/json_api_client/error_collector.rb#74 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:74 def initialize(error_data); end - # source://json_api_client//lib/json_api_client/error_collector.rb#84 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:84 def [](source); end - # source://json_api_client//lib/json_api_client/error_collector.rb#80 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:80 def full_messages; end end -# source://json_api_client//lib/json_api_client/error_collector.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:3 class JsonApiClient::ErrorCollector::Error # @return [Error] a new instance of Error # - # source://json_api_client//lib/json_api_client/error_collector.rb#6 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:6 def initialize(attrs = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/error_collector.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:4 def [](*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/error_collector.rb#14 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:14 def about; end - # source://json_api_client//lib/json_api_client/error_collector.rb#23 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:23 def code; end - # source://json_api_client//lib/json_api_client/error_collector.rb#31 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:31 def detail; end - # source://json_api_client//lib/json_api_client/error_collector.rb#43 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:43 def error_key; end - # source://json_api_client//lib/json_api_client/error_collector.rb#51 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:51 def error_msg; end - # source://json_api_client//lib/json_api_client/error_collector.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:10 def id; end - # source://json_api_client//lib/json_api_client/error_collector.rb#65 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:65 def meta; end - # source://json_api_client//lib/json_api_client/error_collector.rb#60 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:60 def source; end - # source://json_api_client//lib/json_api_client/error_collector.rb#35 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:35 def source_parameter; end - # source://json_api_client//lib/json_api_client/error_collector.rb#39 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:39 def source_pointer; end - # source://json_api_client//lib/json_api_client/error_collector.rb#19 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:19 def status; end - # source://json_api_client//lib/json_api_client/error_collector.rb#27 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:27 def title; end protected # Returns the value of attribute attrs. # - # source://json_api_client//lib/json_api_client/error_collector.rb#71 + # pkg:gem/json_api_client#lib/json_api_client/error_collector.rb:71 def attrs; end end -# source://json_api_client//lib/json_api_client/errors.rb#4 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:4 module JsonApiClient::Errors; end -# source://json_api_client//lib/json_api_client/errors.rb#41 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:41 class JsonApiClient::Errors::AccessDenied < ::JsonApiClient::Errors::ClientError; end -# source://json_api_client//lib/json_api_client/errors.rb#5 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:5 class JsonApiClient::Errors::ApiError < ::StandardError # @return [ApiError] a new instance of ApiError # - # source://json_api_client//lib/json_api_client/errors.rb#8 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:8 def initialize(env, msg = T.unsafe(nil)); end # Returns the value of attribute env. # - # source://json_api_client//lib/json_api_client/errors.rb#6 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:6 def env; end private # Try to fetch json_api errors from response # - # source://json_api_client//lib/json_api_client/errors.rb#19 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:19 def track_json_api_errors(msg); end end -# source://json_api_client//lib/json_api_client/errors.rb#94 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:94 class JsonApiClient::Errors::BadGateway < ::JsonApiClient::Errors::ServerError; end -# source://json_api_client//lib/json_api_client/errors.rb#32 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:32 class JsonApiClient::Errors::ClientError < ::JsonApiClient::Errors::ApiError; end -# source://json_api_client//lib/json_api_client/errors.rb#67 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:67 class JsonApiClient::Errors::Conflict < ::JsonApiClient::Errors::ClientError # @return [Conflict] a new instance of Conflict # - # source://json_api_client//lib/json_api_client/errors.rb#68 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:68 def initialize(env, msg = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/errors.rb#76 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:76 class JsonApiClient::Errors::ConnectionError < ::JsonApiClient::Errors::ApiError; end -# source://json_api_client//lib/json_api_client/errors.rb#100 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:100 class JsonApiClient::Errors::GatewayTimeout < ::JsonApiClient::Errors::ServerError; end -# source://json_api_client//lib/json_api_client/errors.rb#91 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:91 class JsonApiClient::Errors::InternalServerError < ::JsonApiClient::Errors::ServerError; end -# source://json_api_client//lib/json_api_client/errors.rb#44 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:44 class JsonApiClient::Errors::NotAuthorized < ::JsonApiClient::Errors::ClientError; end -# source://json_api_client//lib/json_api_client/errors.rb#47 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:47 class JsonApiClient::Errors::NotFound < ::JsonApiClient::Errors::ClientError # @return [NotFound] a new instance of NotFound # - # source://json_api_client//lib/json_api_client/errors.rb#49 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:49 def initialize(env_or_uri, msg = T.unsafe(nil)); end # Returns the value of attribute uri. # - # source://json_api_client//lib/json_api_client/errors.rb#48 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:48 def uri; end end -# source://json_api_client//lib/json_api_client/errors.rb#114 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:114 class JsonApiClient::Errors::RecordNotSaved < ::JsonApiClient::Errors::ServerError # @return [RecordNotSaved] a new instance of RecordNotSaved # - # source://json_api_client//lib/json_api_client/errors.rb#117 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:117 def initialize(message = T.unsafe(nil), record = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/errors.rb#120 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:120 def message; end # Returns the value of attribute record. # - # source://json_api_client//lib/json_api_client/errors.rb#115 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:115 def record; end end -# source://json_api_client//lib/json_api_client/errors.rb#64 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:64 class JsonApiClient::Errors::RequestTimeout < ::JsonApiClient::Errors::ClientError; end -# source://json_api_client//lib/json_api_client/errors.rb#35 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:35 class JsonApiClient::Errors::ResourceImmutableError < ::StandardError # @return [ResourceImmutableError] a new instance of ResourceImmutableError # - # source://json_api_client//lib/json_api_client/errors.rb#36 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:36 def initialize(msg = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/errors.rb#79 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:79 class JsonApiClient::Errors::ServerError < ::JsonApiClient::Errors::ApiError # @return [ServerError] a new instance of ServerError # - # source://json_api_client//lib/json_api_client/errors.rb#80 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:80 def initialize(env, msg = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/errors.rb#97 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:97 class JsonApiClient::Errors::ServiceUnavailable < ::JsonApiClient::Errors::ServerError; end -# source://json_api_client//lib/json_api_client/errors.rb#73 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:73 class JsonApiClient::Errors::TooManyRequests < ::JsonApiClient::Errors::ClientError; end -# source://json_api_client//lib/json_api_client/errors.rb#103 +# pkg:gem/json_api_client#lib/json_api_client/errors.rb:103 class JsonApiClient::Errors::UnexpectedStatus < ::JsonApiClient::Errors::ServerError # @return [UnexpectedStatus] a new instance of UnexpectedStatus # - # source://json_api_client//lib/json_api_client/errors.rb#105 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:105 def initialize(code, uri); end # Returns the value of attribute code. # - # source://json_api_client//lib/json_api_client/errors.rb#104 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:104 def code; end # Returns the value of attribute uri. # - # source://json_api_client//lib/json_api_client/errors.rb#104 + # pkg:gem/json_api_client#lib/json_api_client/errors.rb:104 def uri; end end -# source://json_api_client//lib/json_api_client/formatter.rb#6 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:6 class JsonApiClient::Formatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#8 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:8 def format(arg); end - # source://json_api_client//lib/json_api_client/formatter.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:18 def formatter_for(format); end - # source://json_api_client//lib/json_api_client/formatter.rb#12 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:12 def unformat(arg); end end end -# source://json_api_client//lib/json_api_client/helpers.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/helpers.rb:2 module JsonApiClient::Helpers; end -# source://json_api_client//lib/json_api_client/helpers/associatable.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:3 module JsonApiClient::Helpers::Associatable extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -389,22 +389,22 @@ module JsonApiClient::Helpers::Associatable mixes_in_class_methods GeneratedClassMethods mixes_in_class_methods ::JsonApiClient::Helpers::Associatable::ClassMethods - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#61 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:61 def _belongs_to_params; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#69 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:69 def _cached_associations; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#81 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:81 def _cached_relationship(attr_name); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#65 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:65 def _clear_belongs_to_params; end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#77 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:77 def _clear_cached_relationship(attr_name); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#73 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:73 def _clear_cached_relationships; end module GeneratedClassMethods @@ -416,25 +416,25 @@ module JsonApiClient::Helpers::Associatable module GeneratedInstanceMethods; end end -# source://json_api_client//lib/json_api_client/helpers/associatable.rb#13 +# pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:13 module JsonApiClient::Helpers::Associatable::ClassMethods - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#14 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:14 def _define_association(attr_name, association_klass, options = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#20 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:20 def _define_relationship_methods(attr_name); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#37 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:37 def belongs_to(attr_name, options = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#50 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:50 def has_many(attr_name, options = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/helpers/associatable.rb#55 + # pkg:gem/json_api_client#lib/json_api_client/helpers/associatable.rb:55 def has_one(attr_name, options = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/helpers/callbacks.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/helpers/callbacks.rb:3 module JsonApiClient::Helpers::Callbacks extend ::ActiveSupport::Concern include GeneratedInstanceMethods @@ -445,10 +445,10 @@ module JsonApiClient::Helpers::Callbacks mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods mixes_in_class_methods ::ActiveSupport::DescendantsTracker - # source://json_api_client//lib/json_api_client/helpers/callbacks.rb#19 + # pkg:gem/json_api_client#lib/json_api_client/helpers/callbacks.rb:19 def destroy; end - # source://json_api_client//lib/json_api_client/helpers/callbacks.rb#11 + # pkg:gem/json_api_client#lib/json_api_client/helpers/callbacks.rb:11 def save; end module GeneratedClassMethods @@ -461,554 +461,554 @@ module JsonApiClient::Helpers::Callbacks end end -# source://json_api_client//lib/json_api_client/helpers/dirty.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:3 module JsonApiClient::Helpers::Dirty - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#52 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:52 def attribute_change(attr); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#48 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:48 def attribute_changed?(attr); end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:44 def attribute_was(attr); end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#31 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:31 def attribute_will_change!(attr); end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:9 def changed; end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:5 def changed?; end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#13 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:13 def changed_attributes; end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:17 def clear_changes_information; end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:21 def forget_change!(attr); end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#25 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:25 def set_all_attributes_dirty; end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#36 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:36 def set_attribute_was(attr, value); end protected - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#58 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:58 def method_missing(method, *args, &block); end - # source://json_api_client//lib/json_api_client/helpers/dirty.rb#68 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dirty.rb:68 def set_attribute(name, value); end end -# source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:3 module JsonApiClient::Helpers::DynamicAttributes - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:18 def [](key); end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#22 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:22 def []=(key, value); end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:5 def attributes; end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:9 def attributes=(attrs = T.unsafe(nil)); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#34 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:34 def has_attribute?(attr_name); end protected - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#66 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:66 def key_formatter; end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#40 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:40 def method_missing(method, *args, &block); end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#54 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:54 def read_attribute(name); end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#62 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:62 def safe_key_formatter; end - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#58 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:58 def set_attribute(name, value); end private # @return [Boolean] # - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#26 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:26 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#70 +# pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:70 class JsonApiClient::Helpers::DynamicAttributes::DefaultKeyFormatter - # source://json_api_client//lib/json_api_client/helpers/dynamic_attributes.rb#71 + # pkg:gem/json_api_client#lib/json_api_client/helpers/dynamic_attributes.rb:71 def unformat(method); end end -# source://json_api_client//lib/json_api_client/helpers/uri.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/helpers/uri.rb:3 module JsonApiClient::Helpers::URI - # source://json_api_client//lib/json_api_client/helpers/uri.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/helpers/uri.rb:4 def encode_part(part); end end -# source://json_api_client//lib/json_api_client/formatter.rb#109 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:109 class JsonApiClient::IdValueFormatter < ::JsonApiClient::ValueFormatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#111 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:111 def format(raw_value); end end end -# source://json_api_client//lib/json_api_client/implementation.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/implementation.rb:2 class JsonApiClient::Implementation # @return [Implementation] a new instance of Implementation # - # source://json_api_client//lib/json_api_client/implementation.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/implementation.rb:5 def initialize(data); end # Returns the value of attribute meta. # - # source://json_api_client//lib/json_api_client/implementation.rb#3 + # pkg:gem/json_api_client#lib/json_api_client/implementation.rb:3 def meta; end # Returns the value of attribute version. # - # source://json_api_client//lib/json_api_client/implementation.rb#3 + # pkg:gem/json_api_client#lib/json_api_client/implementation.rb:3 def version; end end -# source://json_api_client//lib/json_api_client/included_data.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/included_data.rb:2 class JsonApiClient::IncludedData # @return [IncludedData] a new instance of IncludedData # - # source://json_api_client//lib/json_api_client/included_data.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/included_data.rb:5 def initialize(result_set, data); end # Returns the value of attribute data. # - # source://json_api_client//lib/json_api_client/included_data.rb#3 + # pkg:gem/json_api_client#lib/json_api_client/included_data.rb:3 def data; end - # source://json_api_client//lib/json_api_client/included_data.rb#33 + # pkg:gem/json_api_client#lib/json_api_client/included_data.rb:33 def data_for(method_name, definition); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/included_data.rb#46 + # pkg:gem/json_api_client#lib/json_api_client/included_data.rb:46 def has_link?(name); end private # should return a resource record of some type for this linked document # - # source://json_api_client//lib/json_api_client/included_data.rb#53 + # pkg:gem/json_api_client#lib/json_api_client/included_data.rb:53 def record_for(link_def); end end -# source://json_api_client//lib/json_api_client/formatter.rb#25 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:25 class JsonApiClient::KeyFormatter < ::JsonApiClient::Formatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#27 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:27 def format(key); end - # source://json_api_client//lib/json_api_client/formatter.rb#31 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:31 def format_keys(hash); end - # source://json_api_client//lib/json_api_client/formatter.rb#39 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:39 def unformat(formatted_key); end end end -# source://json_api_client//lib/json_api_client/linking.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/linking.rb:2 module JsonApiClient::Linking; end -# source://json_api_client//lib/json_api_client/linking/links.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/linking/links.rb:3 class JsonApiClient::Linking::Links include ::JsonApiClient::Helpers::DynamicAttributes # @return [Links] a new instance of Links # - # source://json_api_client//lib/json_api_client/linking/links.rb#6 + # pkg:gem/json_api_client#lib/json_api_client/linking/links.rb:6 def initialize(links); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/linking/links.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/linking/links.rb:10 def present?; end protected - # source://json_api_client//lib/json_api_client/linking/links.rb#16 + # pkg:gem/json_api_client#lib/json_api_client/linking/links.rb:16 def set_attribute(name, value); end end -# source://json_api_client//lib/json_api_client/linking/top_level_links.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:3 class JsonApiClient::Linking::TopLevelLinks # @return [TopLevelLinks] a new instance of TopLevelLinks # - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:7 def initialize(record_class, links); end - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#33 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:33 def fetch_link(link_name); end - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#24 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:24 def link_url_for(link_name); end # Returns the value of attribute links. # - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:5 def links; end - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#16 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:16 def method_missing(method, *args); end # Returns the value of attribute record_class. # - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:5 def record_class; end private # @return [Boolean] # - # source://json_api_client//lib/json_api_client/linking/top_level_links.rb#12 + # pkg:gem/json_api_client#lib/json_api_client/linking/top_level_links.rb:12 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/meta_data.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/meta_data.rb:2 class JsonApiClient::MetaData include ::JsonApiClient::Helpers::DynamicAttributes # @return [MetaData] a new instance of MetaData # - # source://json_api_client//lib/json_api_client/meta_data.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/meta_data.rb:7 def initialize(data, record_class = T.unsafe(nil)); end # Returns the value of attribute record_class. # - # source://json_api_client//lib/json_api_client/meta_data.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/meta_data.rb:5 def record_class; end # Sets the attribute record_class # # @param value the value to set the attribute record_class to. # - # source://json_api_client//lib/json_api_client/meta_data.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/meta_data.rb:5 def record_class=(_arg0); end protected - # source://json_api_client//lib/json_api_client/meta_data.rb#14 + # pkg:gem/json_api_client#lib/json_api_client/meta_data.rb:14 def key_formatter; end end -# source://json_api_client//lib/json_api_client/middleware.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/middleware.rb:2 module JsonApiClient::Middleware; end -# source://json_api_client//lib/json_api_client/middleware/json_request.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/middleware/json_request.rb:3 class JsonApiClient::Middleware::JsonRequest < ::Faraday::Middleware - # source://json_api_client//lib/json_api_client/middleware/json_request.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/middleware/json_request.rb:4 def call(environment); end private - # source://json_api_client//lib/json_api_client/middleware/json_request.rb#14 + # pkg:gem/json_api_client#lib/json_api_client/middleware/json_request.rb:14 def update_accept_header(headers); end end -# source://json_api_client//lib/json_api_client/middleware/status.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/middleware/status.rb:3 class JsonApiClient::Middleware::Status < ::Faraday::Middleware # @return [Status] a new instance of Status # - # source://json_api_client//lib/json_api_client/middleware/status.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/middleware/status.rb:4 def initialize(app, options); end - # source://json_api_client//lib/json_api_client/middleware/status.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/middleware/status.rb:9 def call(environment); end private - # source://json_api_client//lib/json_api_client/middleware/status.rb#25 + # pkg:gem/json_api_client#lib/json_api_client/middleware/status.rb:25 def custom_handler_for(code); end - # source://json_api_client//lib/json_api_client/middleware/status.rb#29 + # pkg:gem/json_api_client#lib/json_api_client/middleware/status.rb:29 def handle_status(code, env); end end -# source://json_api_client//lib/json_api_client/paginating.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/paginating.rb:2 module JsonApiClient::Paginating; end # An alternate, more consistent Paginator that always wraps # pagination query string params in a top-level wrapper_name, # e.g. page[offset]=2, page[limit]=10. # -# source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#6 +# pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:6 class JsonApiClient::Paginating::NestedParamPaginator # @return [NestedParamPaginator] a new instance of NestedParamPaginator # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#57 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:57 def initialize(result_set, data); end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#105 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:105 def current_page; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#71 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:71 def first; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#75 + # pkg:gem/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#129 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:129 def limit_value; end # Returns the value of attribute links. # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#55 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:55 def links; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#63 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:63 def next; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#117 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:117 def next_page; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#95 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:95 def offset; end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#109 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:109 def out_of_bounds?; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#121 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:121 def page_param; end # Returns the value of attribute params. # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#55 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:55 def params; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#99 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:99 def per_page; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#125 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:125 def per_page_param; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#67 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:67 def prev; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#113 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:113 def previous_page; end # Returns the value of attribute result_set. # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#55 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:55 def result_set; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#93 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:93 def total_count; end # this is an estimate, not necessarily an exact count # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#90 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:90 def total_entries; end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#79 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:79 def total_pages; end protected - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#133 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:133 def params_for_uri(uri); end class << self - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#25 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:25 def page_param; end # @raise [ArgumentError] # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#30 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:30 def page_param=(param = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#36 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:36 def per_page_param; end # @raise [ArgumentError] # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:41 def per_page_param=(param = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:15 def wrapper_name; end # @raise [ArgumentError] # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#19 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:19 def wrapper_name=(param = T.unsafe(nil)); end private # @return [Boolean] # - # source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#49 + # pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:49 def valid_param?(param); end end end -# source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#8 +# pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:8 JsonApiClient::Paginating::NestedParamPaginator::DEFAULT_PAGE_PARAM = T.let(T.unsafe(nil), String) -# source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#9 +# pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:9 JsonApiClient::Paginating::NestedParamPaginator::DEFAULT_PER_PAGE_PARAM = T.let(T.unsafe(nil), String) -# source://json_api_client//lib/json_api_client/paginating/nested_param_paginator.rb#7 +# pkg:gem/json_api_client#lib/json_api_client/paginating/nested_param_paginator.rb:7 JsonApiClient::Paginating::NestedParamPaginator::DEFAULT_WRAPPER_NAME = T.let(T.unsafe(nil), String) -# source://json_api_client//lib/json_api_client/paginating/paginator.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:3 class JsonApiClient::Paginating::Paginator # @return [Paginator] a new instance of Paginator # - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#12 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:12 def initialize(result_set, data); end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#62 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:62 def current_page; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#26 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:26 def first; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#30 + # pkg:gem/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#78 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:78 def limit_value; end # Returns the value of attribute links. # - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:10 def links; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:18 def next; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#74 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:74 def next_page; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#52 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:52 def offset; end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#66 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:66 def out_of_bounds?; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def page_param; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def page_param=(_arg0); end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def page_param?; end # Returns the value of attribute params. # - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:10 def params; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#56 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:56 def per_page; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def per_page_param; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def per_page_param=(_arg0); end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def per_page_param?; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#22 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:22 def prev; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#70 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:70 def previous_page; end # Returns the value of attribute result_set. # - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:10 def result_set; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#50 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:50 def total_count; end # this number may be off # - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#47 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:47 def total_entries; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#34 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:34 def total_pages; end protected - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#82 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:82 def params_for_uri(uri); end class << self - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def page_param; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def page_param=(value); end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def page_param?; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def per_page_param; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def per_page_param=(value); end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def per_page_param?; end private - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def __class_attr_page_param; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def __class_attr_page_param=(new_value); end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def __class_attr_per_page_param; end - # source://json_api_client//lib/json_api_client/paginating/paginator.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/paginating/paginator.rb:4 def __class_attr_per_page_param=(new_value); end end end -# source://json_api_client//lib/json_api_client/parsers.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/parsers.rb:2 module JsonApiClient::Parsers; end -# source://json_api_client//lib/json_api_client/parsers/parser.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:3 class JsonApiClient::Parsers::Parser class << self # Given a resource hash, returns a Resource.new friendly hash @@ -1038,213 +1038,213 @@ class JsonApiClient::Parsers::Parser # relationships: {...} # } # - # source://json_api_client//lib/json_api_client/parsers/parser.rb#51 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:51 def parameters_from_resource(params); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:5 def parse(klass, response); end private - # source://json_api_client//lib/json_api_client/parsers/parser.rb#62 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:62 def handle_data(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#76 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:76 def handle_errors(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#96 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:96 def handle_included(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#58 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:58 def handle_json_api(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#84 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:84 def handle_links(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#80 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:80 def handle_meta(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#92 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:92 def handle_pagination(result_set, data); end - # source://json_api_client//lib/json_api_client/parsers/parser.rb#88 + # pkg:gem/json_api_client#lib/json_api_client/parsers/parser.rb:88 def handle_relationships(result_set, data); end end end -# source://json_api_client//lib/json_api_client/query.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/query.rb:2 module JsonApiClient::Query; end -# source://json_api_client//lib/json_api_client/query/builder.rb#5 +# pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:5 class JsonApiClient::Query::Builder # @return [Builder] a new instance of Builder # - # source://json_api_client//lib/json_api_client/query/builder.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:10 def initialize(klass, opts = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#119 + # pkg:gem/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#91 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:69 def build(attrs = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#73 + # pkg:gem/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#124 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:93 def find(args = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#61 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:61 def first; end - # source://json_api_client//lib/json_api_client/query/builder.rb#112 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:112 def hash; end - # source://json_api_client//lib/json_api_client/query/builder.rb#34 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:34 def includes(*tables); end - # source://json_api_client//lib/json_api_client/query/builder.rb#8 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:8 def key_formatter(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute klass. # - # source://json_api_client//lib/json_api_client/query/builder.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:7 def klass; end - # source://json_api_client//lib/json_api_client/query/builder.rb#65 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:65 def last; end - # source://json_api_client//lib/json_api_client/query/builder.rb#108 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:108 def method_missing(method_name, *args, &block); end - # source://json_api_client//lib/json_api_client/query/builder.rb#30 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:30 def order(*args); end - # source://json_api_client//lib/json_api_client/query/builder.rb#49 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:49 def page(number); end - # source://json_api_client//lib/json_api_client/query/builder.rb#42 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:42 def paginate(conditions = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#77 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:77 def params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#53 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:53 def per(size); end - # source://json_api_client//lib/json_api_client/query/builder.rb#38 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:38 def select(*fields); end - # source://json_api_client//lib/json_api_client/query/builder.rb#88 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:88 def to_a; end - # source://json_api_client//lib/json_api_client/query/builder.rb#22 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:22 def where(conditions = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#57 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:57 def with_params(more_params); end protected - # source://json_api_client//lib/json_api_client/query/builder.rb#128 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:128 def _fetch; end private - # source://json_api_client//lib/json_api_client/query/builder.rb#134 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:134 def _new_scope(opts = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/builder.rb#150 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:150 def additional_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#176 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:176 def filter_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#172 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:172 def includes_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#180 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:180 def order_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#162 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:162 def pagination_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#222 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:222 def parse_fields(*fields); end - # source://json_api_client//lib/json_api_client/query/builder.rb#208 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:208 def parse_orders(*args); end - # source://json_api_client//lib/json_api_client/query/builder.rb#204 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:204 def parse_related_links(*tables); end - # source://json_api_client//lib/json_api_client/query/builder.rb#146 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:146 def path_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#154 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:154 def primary_key_params; end - # source://json_api_client//lib/json_api_client/query/builder.rb#184 + # pkg:gem/json_api_client#lib/json_api_client/query/builder.rb:184 def select_params; end end -# source://json_api_client//lib/json_api_client/query/requestor.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:3 class JsonApiClient::Query::Requestor include ::JsonApiClient::Helpers::URI extend ::Forwardable # @return [Requestor] a new instance of Requestor # - # source://json_api_client//lib/json_api_client/query/requestor.rb#7 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:56 def connection(*_arg0, **_arg1, &_arg2); end # expects a record # - # source://json_api_client//lib/json_api_client/query/requestor.rb#12 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:12 def create(record); end - # source://json_api_client//lib/json_api_client/query/requestor.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:44 def custom(method_name, options, params); end - # source://json_api_client//lib/json_api_client/query/requestor.rb#36 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:36 def destroy(record); end - # source://json_api_client//lib/json_api_client/query/requestor.rb#30 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:30 def get(params = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/requestor.rb#40 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:40 def linked(path); end - # source://json_api_client//lib/json_api_client/query/requestor.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:21 def update(record); end protected # Returns the value of attribute klass. # - # source://json_api_client//lib/json_api_client/query/requestor.rb#55 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:55 def klass; end - # source://json_api_client//lib/json_api_client/query/requestor.rb#66 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:66 def request(type, path, params: T.unsafe(nil), body: T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/query/requestor.rb#58 + # pkg:gem/json_api_client#lib/json_api_client/query/requestor.rb:58 def resource_path(parameters); end end -# source://json_api_client//lib/json_api_client/relationships.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/relationships.rb:2 module JsonApiClient::Relationships; end -# source://json_api_client//lib/json_api_client/relationships/relations.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:3 class JsonApiClient::Relationships::Relations include ::JsonApiClient::Helpers::DynamicAttributes include ::JsonApiClient::Helpers::Dirty @@ -1252,121 +1252,121 @@ class JsonApiClient::Relationships::Relations # @return [Relations] a new instance of Relations # - # source://json_api_client//lib/json_api_client/relationships/relations.rb#11 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:11 def initialize(record_class, relations); end - # source://json_api_client//lib/json_api_client/relationships/relations.rb#26 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:26 def as_json; end - # source://json_api_client//lib/json_api_client/relationships/relations.rb#20 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:20 def as_json_api; end - # source://json_api_client//lib/json_api_client/relationships/relations.rb#32 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:32 def attributes_for_serialization; end - # source://json_api_client//lib/json_api_client/relationships/relations.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:9 def key_formatter(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/relationships/relations.rb#16 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:16 def present?; end # Returns the value of attribute record_class. # - # source://json_api_client//lib/json_api_client/relationships/relations.rb#8 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:8 def record_class; end protected - # source://json_api_client//lib/json_api_client/relationships/relations.rb#38 + # pkg:gem/json_api_client#lib/json_api_client/relationships/relations.rb:38 def set_attribute(name, value); end end -# source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:3 class JsonApiClient::Relationships::TopLevelRelations # @return [TopLevelRelations] a new instance of TopLevelRelations # - # source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:7 def initialize(record_class, relations); end - # source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#24 + # pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:24 def fetch_relation(relation_name); end - # source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#16 + # pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:16 def method_missing(method, *args); end # Returns the value of attribute record_class. # - # source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:5 def record_class; end # Returns the value of attribute relations. # - # source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:5 def relations; end private # @return [Boolean] # - # source://json_api_client//lib/json_api_client/relationships/top_level_relations.rb#12 + # pkg:gem/json_api_client#lib/json_api_client/relationships/top_level_relations.rb:12 def respond_to_missing?(method, include_private = T.unsafe(nil)); end end -# source://json_api_client//lib/json_api_client/request_params.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/request_params.rb:2 class JsonApiClient::RequestParams # @return [RequestParams] a new instance of RequestParams # - # source://json_api_client//lib/json_api_client/request_params.rb#5 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:5 def initialize(klass, includes: T.unsafe(nil), fields: T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/request_params.rb#11 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:11 def add_includes(includes); end - # source://json_api_client//lib/json_api_client/request_params.rb#34 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:34 def clear; end - # source://json_api_client//lib/json_api_client/request_params.rb#30 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:30 def field_types; end # Returns the value of attribute fields. # - # source://json_api_client//lib/json_api_client/request_params.rb#3 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:3 def fields; end # Returns the value of attribute includes. # - # source://json_api_client//lib/json_api_client/request_params.rb#3 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:3 def includes; end # Returns the value of attribute klass. # - # source://json_api_client//lib/json_api_client/request_params.rb#3 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:3 def klass; end - # source://json_api_client//lib/json_api_client/request_params.rb#26 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:26 def remove_fields(type); end - # source://json_api_client//lib/json_api_client/request_params.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:18 def reset_includes!; end - # source://json_api_client//lib/json_api_client/request_params.rb#22 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:22 def set_fields(type, field_names); end - # source://json_api_client//lib/json_api_client/request_params.rb#39 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:39 def to_params; end private - # source://json_api_client//lib/json_api_client/request_params.rb#51 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:51 def parsed_fields; end - # source://json_api_client//lib/json_api_client/request_params.rb#46 + # pkg:gem/json_api_client#lib/json_api_client/request_params.rb:46 def parsed_includes; end end -# source://json_api_client//lib/json_api_client/resource.rb#6 +# pkg:gem/json_api_client#lib/json_api_client/resource.rb:6 class JsonApiClient::Resource include ::ActiveModel::Validations include ::ActiveSupport::Callbacks @@ -1391,52 +1391,52 @@ class JsonApiClient::Resource # @param params [Hash] Attributes, links, and relationships # @return [Resource] a new instance of Resource # - # source://json_api_client//lib/json_api_client/resource.rb#369 + # pkg:gem/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/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def __belongs_to_params; end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def __belongs_to_params=(_arg0); end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def __cached_associations; end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __callbacks; end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def _immutable; end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def _immutable?; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def _run_validate_callbacks; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def _validators; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def _validators?; end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def add_defaults_to_changes; end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def add_defaults_to_changes?; end - # source://json_api_client//lib/json_api_client/resource.rb#466 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:466 def as_json(*_arg0); end # When we represent this resource for serialization (create/update), we do so @@ -1444,14 +1444,14 @@ class JsonApiClient::Resource # # @return [Hash] Representation of this object as JSONAPI object # - # source://json_api_client//lib/json_api_client/resource.rb#457 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:457 def as_json_api(*_arg0); end # When we represent this resource as a relationship, we do so with id & type # # @return [Hash] Representation of this object as a relation # - # source://json_api_client//lib/json_api_client/resource.rb#449 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:449 def as_relation; end # Try to destroy this resource @@ -1459,110 +1459,110 @@ class JsonApiClient::Resource # @raise [JsonApiClient::Errors::ResourceImmutableError] # @return [Boolean] Whether or not the destroy succeeded # - # source://json_api_client//lib/json_api_client/resource.rb#524 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:524 def destroy; end # Whether or not this record has been destroyed to the database previously # # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#435 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:435 def destroyed?; end - # source://json_api_client//lib/json_api_client/resource.rb#539 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:539 def inspect; end # Returns the value of attribute last_result_set. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def last_result_set; end # Sets the attribute last_result_set # # @param value the value to set the attribute last_result_set to. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def last_result_set=(_arg0); end # Returns the value of attribute links. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def links; end # Sets the attribute links # # @param value the value to set the attribute links to. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def links=(_arg0); end # Mark the record as destroyed # - # source://json_api_client//lib/json_api_client/resource.rb#428 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:428 def mark_as_destroyed!; end # Mark the record as persisted # - # source://json_api_client//lib/json_api_client/resource.rb#416 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:7 def model_name(&_arg0); end # Returns true if this is a new record (never persisted to the database) # # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#442 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:568 def path_attributes; end # Whether or not this record has been persisted to the database previously # # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#423 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:423 def persisted?; end # Returns the value of attribute relationships. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def relationships; end # Sets the attribute relationships # # @param value the value to set the attribute relationships to. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def relationships=(_arg0); end - # source://json_api_client//lib/json_api_client/resource.rb#543 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:543 def request_includes(*includes); end # Returns the value of attribute request_params. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def request_params; end # Sets the attribute request_params # # @param value the value to set the attribute request_params to. # - # source://json_api_client//lib/json_api_client/resource.rb#17 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:17 def request_params=(_arg0); end - # source://json_api_client//lib/json_api_client/resource.rb#553 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:553 def request_select(*fields); end - # source://json_api_client//lib/json_api_client/resource.rb#548 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:548 def reset_request_includes!; end - # source://json_api_client//lib/json_api_client/resource.rb#562 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:562 def reset_request_select!(*resource_types); end # Commit the current changes to the resource to the remote server. @@ -1573,12 +1573,12 @@ class JsonApiClient::Resource # @raise [JsonApiClient::Errors::ResourceImmutableError] # @return [Boolean] Whether or not the save succeeded # - # source://json_api_client//lib/json_api_client/resource.rb#492 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:492 def save; end # Mark all attributes for this record as dirty # - # source://json_api_client//lib/json_api_client/resource.rb#476 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:476 def set_all_dirty!; end # Alias to update_attributes @@ -1586,10 +1586,10 @@ class JsonApiClient::Resource # @param attrs [Hash] Attributes to update # @return [Boolean] Whether the update succeeded or not # - # source://json_api_client//lib/json_api_client/resource.rb#407 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:407 def update(attrs = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/resource.rb#411 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:411 def update!(attrs = T.unsafe(nil)); end # Set the current attributes and try to save them @@ -1597,157 +1597,157 @@ class JsonApiClient::Resource # @param attrs [Hash] Attributes to update # @return [Boolean] Whether the update succeeded or not # - # source://json_api_client//lib/json_api_client/resource.rb#393 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:393 def update_attributes(attrs = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/resource.rb#398 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:398 def update_attributes!(attrs = T.unsafe(nil)); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#481 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:481 def valid?(context = T.unsafe(nil)); end protected - # source://json_api_client//lib/json_api_client/resource.rb#642 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:642 def association_for(name); end - # source://json_api_client//lib/json_api_client/resource.rb#652 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:652 def attributes_for_serialization; end - # source://json_api_client//lib/json_api_client/resource.rb#660 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:660 def error_message_for(error); end - # source://json_api_client//lib/json_api_client/resource.rb#664 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:664 def fill_errors; end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#634 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:634 def has_attribute?(attr_name); end - # source://json_api_client//lib/json_api_client/resource.rb#587 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:587 def included_data_for(name, relationship_definition); end - # source://json_api_client//lib/json_api_client/resource.rb#614 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:614 def method_missing(method, *args); end - # source://json_api_client//lib/json_api_client/resource.rb#648 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:648 def non_serializing_attributes; end - # source://json_api_client//lib/json_api_client/resource.rb#638 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:638 def property_for(name); end - # source://json_api_client//lib/json_api_client/resource.rb#607 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:607 def relation_objects_for(name, relationship_definition); end - # source://json_api_client//lib/json_api_client/resource.rb#591 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:591 def relationship_data_for(name, relationship_definition); end - # source://json_api_client//lib/json_api_client/resource.rb#583 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:583 def relationship_definition_for(name); end - # source://json_api_client//lib/json_api_client/resource.rb#656 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:656 def relationships_for_serialization; end - # source://json_api_client//lib/json_api_client/resource.rb#628 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:628 def set_attribute(name, value); end - # source://json_api_client//lib/json_api_client/resource.rb#574 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:574 def setup_default_properties; end private # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#622 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:622 def respond_to_missing?(symbol, include_all = T.unsafe(nil)); end class << self - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __callbacks; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __callbacks=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def _immutable; end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def _immutable=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def _immutable?; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def _validators; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def _validators?; end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def add_defaults_to_changes; end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def add_defaults_to_changes=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def add_defaults_to_changes?; end - # source://json_api_client//lib/json_api_client/resource.rb#73 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def all(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def associations; end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def associations=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def associations?; end # Return/build a connection object # # @return [Connection] The connection to the json api server # - # source://json_api_client//lib/json_api_client/resource.rb#137 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:137 def connection(rebuild = T.unsafe(nil), &block); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_class=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_class?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_object; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_object=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_object?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_options; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_options=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def connection_options?; end # Create a new instance of this resource class @@ -1755,10 +1755,10 @@ class JsonApiClient::Resource # @param attributes [Hash] The attributes to create this resource with # @return [Resource] The instance you tried to create. You will have to check the persisted state or errors on this object to see success/failure. # - # source://json_api_client//lib/json_api_client/resource.rb#169 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:169 def create(attributes = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/resource.rb#175 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:175 def create!(attributes = T.unsafe(nil)); end # The current custom headers to send with any request made by this @@ -1766,16 +1766,16 @@ class JsonApiClient::Resource # # @return [Hash] Headers # - # source://json_api_client//lib/json_api_client/resource.rb#197 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:197 def custom_headers; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def custom_type_to_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def custom_type_to_class=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def custom_type_to_class?; end # Default attributes that every instance of this resource should be @@ -1783,13 +1783,13 @@ class JsonApiClient::Resource # # @return [Hash] Default attributes # - # source://json_api_client//lib/json_api_client/resource.rb#214 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def find(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#73 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def first(*_arg0, **_arg1, &_arg2); end # Indicates whether this resource is mutable or immutable; @@ -1797,96 +1797,96 @@ class JsonApiClient::Resource # # @return [Boolean] # - # source://json_api_client//lib/json_api_client/resource.rb#106 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def includes(*_arg0, **_arg1, &_arg2); end # @private # - # source://json_api_client//lib/json_api_client/resource.rb#110 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:110 def inherited(subclass); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def json_key_format; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def json_key_format=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def json_key_format?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def keep_request_params; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def keep_request_params=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def keep_request_params?; end - # source://json_api_client//lib/json_api_client/resource.rb#225 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def last(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def linker; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def linker=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def linker?; end # Load a resource object from attributes and consider it persisted # # @return [Resource] Persisted resource object # - # source://json_api_client//lib/json_api_client/resource.rb#126 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def order(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#73 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def page(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#73 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def paginate(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def paginator; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def paginator=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def paginator?; end - # source://json_api_client//lib/json_api_client/resource.rb#10 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def parser; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def parser=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def parser?; end # Return the path or path pattern for this resource # - # source://json_api_client//lib/json_api_client/resource.rb#151 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:151 def path(params = T.unsafe(nil)); end # Param names that will be considered path params. They will be used @@ -1894,87 +1894,87 @@ class JsonApiClient::Resource # # @return [Array] Param name symbols of parameters that will be treated as path parameters # - # source://json_api_client//lib/json_api_client/resource.rb#146 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:146 def prefix_params; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def primary_key; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def primary_key=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def primary_key?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def query_builder; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def query_builder=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def query_builder?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def raise_on_blank_find_param; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def raise_on_blank_find_param=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def raise_on_blank_find_param?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def read_only_attributes; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def read_only_attributes=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def read_only_attributes?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def relationship_linker; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def relationship_linker=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def relationship_linker?; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def request_params_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def request_params_class=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def request_params_class?; end # Returns the requestor for this resource class # # @return [Requestor] The requestor for this resource class # - # source://json_api_client//lib/json_api_client/resource.rb#206 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:206 def requestor; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def requestor_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def requestor_class=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def requestor_class?; end - # source://json_api_client//lib/json_api_client/resource.rb#75 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:75 def resolve_custom_type(type_name, class_name); end # The name of a single resource. i.e. Article -> article, Person -> person # # @return [String] # - # source://json_api_client//lib/json_api_client/resource.rb#90 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:90 def resource_name; end # Specifies the relative path that should be used for this resource; @@ -1982,54 +1982,54 @@ class JsonApiClient::Resource # # @return [String] Resource path # - # source://json_api_client//lib/json_api_client/resource.rb#119 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:119 def resource_path; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def route_format; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def route_format=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def route_format?; end - # source://json_api_client//lib/json_api_client/resource.rb#229 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:229 def route_formatter; end # Returns the schema for this resource class # # @return [Schema] The schema for this resource class # - # source://json_api_client//lib/json_api_client/resource.rb#221 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:221 def schema; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/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#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def search_included_in_result_set=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def select(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def site; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def site=(value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def site?; end # The table name for this resource. i.e. Article -> articles, Person -> people # # @return [String] The table name for this resource # - # source://json_api_client//lib/json_api_client/resource.rb#83 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:83 def table_name; end # Specifies the JSON API resource type. By default this is inferred @@ -2037,10 +2037,10 @@ class JsonApiClient::Resource # # @return [String] Resource path # - # source://json_api_client//lib/json_api_client/resource.rb#98 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:98 def type; end - # source://json_api_client//lib/json_api_client/resource.rb#73 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def where(*_arg0, **_arg1, &_arg2); end # Within the given block, add these headers to all requests made by @@ -2049,36 +2049,36 @@ class JsonApiClient::Resource # @param block [Block] The block where headers will be set for # @param headers [Hash] The headers to send along # - # source://json_api_client//lib/json_api_client/resource.rb#186 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:73 def with_params(*_arg0, **_arg1, &_arg2); end protected - # source://json_api_client//lib/json_api_client/resource.rb#315 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:315 def _belongs_to_associations; end - # source://json_api_client//lib/json_api_client/resource.rb#347 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:347 def _build_connection(rebuild = T.unsafe(nil)); end - # source://json_api_client//lib/json_api_client/resource.rb#339 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:339 def _custom_headers=(headers); end - # source://json_api_client//lib/json_api_client/resource.rb#343 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:343 def _header_store; end - # source://json_api_client//lib/json_api_client/resource.rb#354 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:354 def _name_for_route_format(name); end - # source://json_api_client//lib/json_api_client/resource.rb#335 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:335 def _new_scope; end - # source://json_api_client//lib/json_api_client/resource.rb#319 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:319 def _prefix_path; end - # source://json_api_client//lib/json_api_client/resource.rb#327 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:327 def _set_prefix_path(attrs); end # Declares a new class method that acts on the collection @@ -2087,7 +2087,7 @@ class JsonApiClient::Resource # @param name [Symbol] the name of the endpoint and the method name # @param options [Hash] endpoint options # - # source://json_api_client//lib/json_api_client/resource.rb#259 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:259 def collection_endpoint(name, options = T.unsafe(nil)); end # Declares a new class/instance method that acts on the collection/member @@ -2098,7 +2098,7 @@ class JsonApiClient::Resource # @param name [Symbol] the name of the endpoint # @param options [Hash] endpoint options # - # source://json_api_client//lib/json_api_client/resource.rb#241 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:241 def custom_endpoint(name, options = T.unsafe(nil)); end # Declares a new instance method that acts on the member object @@ -2107,7 +2107,7 @@ class JsonApiClient::Resource # @param name [Symbol] the name of the endpoint and the method name # @param options [Hash] endpoint options # - # source://json_api_client//lib/json_api_client/resource.rb#277 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:277 def member_endpoint(name, options = T.unsafe(nil)); end # Declare multiple properties with the same optional options @@ -2117,7 +2117,7 @@ class JsonApiClient::Resource # @param names [Array] # @param options [Hash] property options # - # source://json_api_client//lib/json_api_client/resource.rb#308 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:308 def properties(*names); end # Declares a new property by name @@ -2127,327 +2127,327 @@ class JsonApiClient::Resource # @param name [Symbol] the name of the property # @param options [Hash] property options # - # source://json_api_client//lib/json_api_client/resource.rb#292 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:292 def property(name, options = T.unsafe(nil)); end private - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __class_attr___callbacks; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __class_attr___callbacks=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def __class_attr__immutable; end - # source://json_api_client//lib/json_api_client/resource.rb#44 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:44 def __class_attr__immutable=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __class_attr__validators; end - # source://json_api_client//lib/json_api_client/resource.rb#9 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:9 def __class_attr__validators=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def __class_attr_add_defaults_to_changes; end - # source://json_api_client//lib/json_api_client/resource.rb#41 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:41 def __class_attr_add_defaults_to_changes=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def __class_attr_associations; end - # source://json_api_client//lib/json_api_client/resource.rb#15 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:15 def __class_attr_associations=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_connection_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_connection_class=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_connection_object; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_connection_object=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_connection_options; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_connection_options=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_custom_type_to_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_custom_type_to_class=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_json_key_format; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_json_key_format=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_keep_request_params; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_keep_request_params=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_linker; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_linker=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_paginator; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_paginator=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:10 def __class_attr_param_delimiter; end - # source://json_api_client//lib/json_api_client/resource.rb#10 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:10 def __class_attr_param_delimiter=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_parser; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_parser=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_primary_key; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_primary_key=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_query_builder; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_query_builder=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_raise_on_blank_find_param; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_raise_on_blank_find_param=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_read_only_attributes; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_read_only_attributes=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_relationship_linker; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_relationship_linker=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_request_params_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_request_params_class=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_requestor_class; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_requestor_class=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_route_format; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_route_format=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_search_included_in_result_set; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_search_included_in_result_set=(new_value); end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_site; end - # source://json_api_client//lib/json_api_client/resource.rb#21 + # pkg:gem/json_api_client#lib/json_api_client/resource.rb:21 def __class_attr_site=(new_value); end end end -# source://json_api_client//lib/json_api_client/result_set.rb#4 +# pkg:gem/json_api_client#lib/json_api_client/result_set.rb:4 class JsonApiClient::ResultSet < ::Array extend ::Forwardable - # source://json_api_client//lib/json_api_client/result_set.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def current_page(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute errors. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def errors; end # Sets the attribute errors # # @param value the value to set the attribute errors to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def errors=(_arg0); end # @return [Boolean] # - # source://json_api_client//lib/json_api_client/result_set.rb#20 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:20 def has_errors?; end # Returns the value of attribute implementation. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def implementation; end # Sets the attribute implementation # # @param value the value to set the attribute implementation to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def implementation=(_arg0); end # Returns the value of attribute included. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def included; end # Sets the attribute included # # @param value the value to set the attribute included to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def limit_value(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute links. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def links; end # Sets the attribute links # # @param value the value to set the attribute links to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def links=(_arg0); end # Returns the value of attribute meta. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def meta; end # Sets the attribute meta # # @param value the value to set the attribute meta to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def next_page(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/result_set.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def offset(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/result_set.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def out_of_bounds?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute pages. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def pages; end # Sets the attribute pages # # @param value the value to set the attribute pages to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def per_page(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/result_set.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def previous_page(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute record_class. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def record_class; end # Sets the attribute record_class # # @param value the value to set the attribute record_class to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def record_class=(_arg0); end # Returns the value of attribute relationships. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def relationships; end # Sets the attribute relationships # # @param value the value to set the attribute relationships to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def total_count(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/result_set.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def total_entries(*_arg0, **_arg1, &_arg2); end - # source://json_api_client//lib/json_api_client/result_set.rb#18 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:18 def total_pages(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute uri. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def uri; end # Sets the attribute uri # # @param value the value to set the attribute uri to. # - # source://json_api_client//lib/json_api_client/result_set.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/result_set.rb:7 def uri=(_arg0); end end -# source://json_api_client//lib/json_api_client/formatter.rb#45 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:45 class JsonApiClient::RouteFormatter < ::JsonApiClient::Formatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#47 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:47 def format(route); end - # source://json_api_client//lib/json_api_client/formatter.rb#51 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:51 def unformat(formatted_route); end end end -# source://json_api_client//lib/json_api_client/schema.rb#3 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:3 class JsonApiClient::Schema # @return [Schema] a new instance of Schema # - # source://json_api_client//lib/json_api_client/schema.rb#108 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:108 def initialize; end # Look up a property by name @@ -2455,7 +2455,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#146 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:146 def [](property_name); end # Add a property to the schema @@ -2466,13 +2466,13 @@ class JsonApiClient::Schema # @param options [Hash] property options # @return [void] # - # source://json_api_client//lib/json_api_client/schema.rb#119 + # pkg:gem/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#136 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:132 def each_property(&block); end # Look up a property by name @@ -2480,39 +2480,39 @@ 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 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:142 def find(property_name); end # How many properties are defined # # @return [Fixnum] the number of defined properties # - # source://json_api_client//lib/json_api_client/schema.rb#130 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:130 def length; end # How many properties are defined # # @return [Fixnum] the number of defined properties # - # source://json_api_client//lib/json_api_client/schema.rb#126 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:126 def size; end class << self - # source://json_api_client//lib/json_api_client/schema.rb#149 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:149 def register(type_hash); end end end -# source://json_api_client//lib/json_api_client/schema.rb#98 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 class JsonApiClient::Schema::Property < ::Struct - # source://json_api_client//lib/json_api_client/schema.rb#99 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:99 def cast(value); end # Returns the value of attribute default # # @return [Object] the current value of default # - # source://json_api_client//lib/json_api_client/schema.rb#98 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def default; end # Sets the attribute default @@ -2520,14 +2520,14 @@ class JsonApiClient::Schema::Property < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def name; end # Sets the attribute name @@ -2535,14 +2535,14 @@ class JsonApiClient::Schema::Property < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def type; end # Sets the attribute type @@ -2550,28 +2550,28 @@ class JsonApiClient::Schema::Property < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def [](*_arg0); end - # source://json_api_client//lib/json_api_client/schema.rb#98 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def inspect; end - # source://json_api_client//lib/json_api_client/schema.rb#98 + # pkg:gem/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 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def members; end - # source://json_api_client//lib/json_api_client/schema.rb#98 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:98 def new(*_arg0); end end end -# source://json_api_client//lib/json_api_client/schema.rb#52 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:52 class JsonApiClient::Schema::TypeFactory class << self # Register a new type key or keys with appropriate classes @@ -2597,97 +2597,97 @@ class JsonApiClient::Schema::TypeFactory # JsonApiClient::Schema::TypeFactory.register money: MyMoneyCaster, # date: MyJsonDateTypeCaster # - # source://json_api_client//lib/json_api_client/schema.rb#80 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:80 def register(type_hash); end - # source://json_api_client//lib/json_api_client/schema.rb#84 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:84 def type_for(type); end end end -# source://json_api_client//lib/json_api_client/schema.rb#4 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:4 module JsonApiClient::Schema::Types; end -# source://json_api_client//lib/json_api_client/schema.rb#36 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:36 class JsonApiClient::Schema::Types::Boolean class << self - # source://json_api_client//lib/json_api_client/schema.rb#37 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:37 def cast(value, default); end end end -# source://json_api_client//lib/json_api_client/schema.rb#30 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:30 class JsonApiClient::Schema::Types::Decimal class << self - # source://json_api_client//lib/json_api_client/schema.rb#31 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:31 def cast(value, _); end end end -# source://json_api_client//lib/json_api_client/schema.rb#18 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:18 class JsonApiClient::Schema::Types::Float class << self - # source://json_api_client//lib/json_api_client/schema.rb#19 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:19 def cast(value, _); end end end -# source://json_api_client//lib/json_api_client/schema.rb#6 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:6 class JsonApiClient::Schema::Types::Integer class << self - # source://json_api_client//lib/json_api_client/schema.rb#7 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:7 def cast(value, _); end end end -# source://json_api_client//lib/json_api_client/schema.rb#12 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:12 class JsonApiClient::Schema::Types::String class << self - # source://json_api_client//lib/json_api_client/schema.rb#13 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:13 def cast(value, _); end end end -# source://json_api_client//lib/json_api_client/schema.rb#24 +# pkg:gem/json_api_client#lib/json_api_client/schema.rb:24 class JsonApiClient::Schema::Types::Time class << self - # source://json_api_client//lib/json_api_client/schema.rb#25 + # pkg:gem/json_api_client#lib/json_api_client/schema.rb:25 def cast(value, _); end end end -# source://json_api_client//lib/json_api_client/formatter.rb#74 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:74 class JsonApiClient::UnderscoredKeyFormatter < ::JsonApiClient::KeyFormatter; end -# source://json_api_client//lib/json_api_client/formatter.rb#118 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:118 class JsonApiClient::UnderscoredRouteFormatter < ::JsonApiClient::RouteFormatter; end -# source://json_api_client//lib/json_api_client/utils.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/utils.rb:2 module JsonApiClient::Utils class << self # @raise [NameError] # - # source://json_api_client//lib/json_api_client/utils.rb#4 + # pkg:gem/json_api_client#lib/json_api_client/utils.rb:4 def compute_type(klass, type_name); end - # source://json_api_client//lib/json_api_client/utils.rb#33 + # pkg:gem/json_api_client#lib/json_api_client/utils.rb:33 def parse_includes(klass, *tables); end end end -# source://json_api_client//lib/json_api_client/version.rb#2 +# pkg:gem/json_api_client#lib/json_api_client/version.rb:2 JsonApiClient::VERSION = T.let(T.unsafe(nil), String) -# source://json_api_client//lib/json_api_client/formatter.rb#57 +# pkg:gem/json_api_client#lib/json_api_client/formatter.rb:57 class JsonApiClient::ValueFormatter < ::JsonApiClient::Formatter class << self - # source://json_api_client//lib/json_api_client/formatter.rb#59 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:59 def format(raw_value); end - # source://json_api_client//lib/json_api_client/formatter.rb#63 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:63 def unformat(value); end - # source://json_api_client//lib/json_api_client/formatter.rb#67 + # pkg:gem/json_api_client#lib/json_api_client/formatter.rb:67 def value_formatter_for(type); end end end diff --git a/sorbet/rbi/gems/kramdown@2.5.1.rbi b/sorbet/rbi/gems/kramdown@2.5.1.rbi index 7fb5ae5b0..86624ed07 100644 --- a/sorbet/rbi/gems/kramdown@2.5.1.rbi +++ b/sorbet/rbi/gems/kramdown@2.5.1.rbi @@ -5,12 +5,12 @@ # Please instead update this file by running `bin/tapioca gem kramdown`. -# source://kramdown//lib/kramdown/version.rb#10 +# pkg:gem/kramdown#lib/kramdown/version.rb:10 module Kramdown class << self # Return the data directory for kramdown. # - # source://kramdown//lib/kramdown/document.rb#49 + # pkg:gem/kramdown#lib/kramdown/document.rb:49 def data_dir; end end end @@ -22,24 +22,24 @@ end # Converters use the Base class for common functionality (like applying a template to the output) # \- see its API documentation for how to create a custom converter class. # -# source://kramdown//lib/kramdown/converter.rb#20 +# pkg:gem/kramdown#lib/kramdown/converter.rb:20 module Kramdown::Converter extend ::Kramdown::Utils::Configurable class << self - # source://kramdown//lib/kramdown/converter.rb#50 + # pkg:gem/kramdown#lib/kramdown/converter.rb:50 def add_math_engine(data, *args, &block); end - # source://kramdown//lib/kramdown/converter.rb#34 + # pkg:gem/kramdown#lib/kramdown/converter.rb:34 def add_syntax_highlighter(data, *args, &block); end - # source://kramdown//lib/kramdown/converter.rb#34 + # pkg:gem/kramdown#lib/kramdown/converter.rb:34 def configurables; end - # source://kramdown//lib/kramdown/converter.rb#50 + # pkg:gem/kramdown#lib/kramdown/converter.rb:50 def math_engine(data); end - # source://kramdown//lib/kramdown/converter.rb#34 + # pkg:gem/kramdown#lib/kramdown/converter.rb:34 def syntax_highlighter(data); end end end @@ -67,13 +67,13 @@ end # # Have a look at the Base::convert method for additional information! # -# source://kramdown//lib/kramdown/converter/base.rb#40 +# pkg:gem/kramdown#lib/kramdown/converter/base.rb:40 class Kramdown::Converter::Base # Initialize the converter with the given +root+ element and +options+ hash. # # @return [Base] a new instance of Base # - # source://kramdown//lib/kramdown/converter/base.rb#55 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:55 def initialize(root, options); end # Returns whether the template should be applied after the conversion of the tree. @@ -82,7 +82,7 @@ class Kramdown::Converter::Base # # @return [Boolean] # - # source://kramdown//lib/kramdown/converter/base.rb#73 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:73 def apply_template_after?; end # Returns whether the template should be applied before the conversion of the tree. @@ -91,13 +91,13 @@ class Kramdown::Converter::Base # # @return [Boolean] # - # source://kramdown//lib/kramdown/converter/base.rb#66 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:66 def apply_template_before?; end # The basic version of the ID generator, without any special provisions for empty or unique # IDs. # - # source://kramdown//lib/kramdown/converter/base.rb#237 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:237 def basic_generate_id(str); end # Convert the element +el+ and return the resulting object. @@ -106,30 +106,30 @@ class Kramdown::Converter::Base # # @raise [NotImplementedError] # - # source://kramdown//lib/kramdown/converter/base.rb#122 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:122 def convert(_el); end # Can be used by a converter for storing arbitrary information during the conversion process. # - # source://kramdown//lib/kramdown/converter/base.rb#43 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:43 def data; end # Extract the code block/span language from the attributes. # - # source://kramdown//lib/kramdown/converter/base.rb#174 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:174 def extract_code_language(attr); end # See #extract_code_language # # *Warning*: This version will modify the given attributes if a language is present. # - # source://kramdown//lib/kramdown/converter/base.rb#183 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:183 def extract_code_language!(attr); end # Format the given math element with the math engine configured through the option # 'math_engine'. # - # source://kramdown//lib/kramdown/converter/base.rb#206 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:206 def format_math(el, opts = T.unsafe(nil)); end # Generate an unique alpha-numeric ID from the the string +str+ for use as a header ID. @@ -137,13 +137,13 @@ class Kramdown::Converter::Base # Uses the option +auto_id_prefix+: the value of this option is prepended to every generated # ID. # - # source://kramdown//lib/kramdown/converter/base.rb#222 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:222 def generate_id(str); end # Highlight the given +text+ in the language +lang+ with the syntax highlighter configured # through the option 'syntax_highlighter'. # - # source://kramdown//lib/kramdown/converter/base.rb#192 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:192 def highlight_code(text, lang, type, opts = T.unsafe(nil)); end # Return +true+ if the header element +el+ should be used for the table of contents (as @@ -151,39 +151,39 @@ class Kramdown::Converter::Base # # @return [Boolean] # - # source://kramdown//lib/kramdown/converter/base.rb#162 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:162 def in_toc?(el); end # The hash with the conversion options. # - # source://kramdown//lib/kramdown/converter/base.rb#46 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:46 def options; end # Return the output header level given a level. # # Uses the +header_offset+ option for adjusting the header level. # - # source://kramdown//lib/kramdown/converter/base.rb#169 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:169 def output_header_level(level); end # The root element that is converted. # - # source://kramdown//lib/kramdown/converter/base.rb#49 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:49 def root; end # Return the entity that represents the given smart_quote element. # - # source://kramdown//lib/kramdown/converter/base.rb#248 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:248 def smart_quote_entity(el); end # Add the given warning +text+ to the warning array. # - # source://kramdown//lib/kramdown/converter/base.rb#156 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:156 def warning(text); end # The warnings array. # - # source://kramdown//lib/kramdown/converter/base.rb#52 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:52 def warnings; end class << self @@ -192,7 +192,7 @@ class Kramdown::Converter::Base # The template is evaluated using ERB and the body is available in the @body instance variable # and the converter object in the @converter instance variable. # - # source://kramdown//lib/kramdown/converter/base.rb#130 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:130 def apply_template(converter, body); end # Convert the element tree +tree+ and return the resulting conversion object (normally a @@ -220,36 +220,36 @@ class Kramdown::Converter::Base # 4. Check if the template name starts with 'string://' and if so, strip this prefix away and # use the rest as template. # - # source://kramdown//lib/kramdown/converter/base.rb#101 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:101 def convert(tree, options = T.unsafe(nil)); end # Return the template specified by +template+. # - # source://kramdown//lib/kramdown/converter/base.rb#139 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:139 def get_template(template); end private - # source://kramdown//lib/kramdown/converter/base.rb#61 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:61 def allocate; end - # source://kramdown//lib/kramdown/converter/base.rb#61 + # pkg:gem/kramdown#lib/kramdown/converter/base.rb:61 def new(*_arg0); end end end -# source://kramdown//lib/kramdown/converter/base.rb#245 +# pkg:gem/kramdown#lib/kramdown/converter/base.rb:245 Kramdown::Converter::Base::SMART_QUOTE_INDICES = T.let(T.unsafe(nil), Hash) # Converts a Kramdown::Document to a nested hash for further processing or debug output. # -# source://kramdown//lib/kramdown/converter/hash_ast.rb#19 +# pkg:gem/kramdown#lib/kramdown/converter/hash_ast.rb:19 class Kramdown::Converter::HashAST < ::Kramdown::Converter::Base - # source://kramdown//lib/kramdown/converter/hash_ast.rb#21 + # pkg:gem/kramdown#lib/kramdown/converter/hash_ast.rb:21 def convert(el); end end -# source://kramdown//lib/kramdown/converter/hash_ast.rb#35 +# pkg:gem/kramdown#lib/kramdown/converter/hash_ast.rb:35 Kramdown::Converter::HashAst = Kramdown::Converter::HashAST # Converts a Kramdown::Document to HTML. @@ -265,7 +265,7 @@ Kramdown::Converter::HashAst = Kramdown::Converter::HashAST # The return value of such a method has to be a string containing the element +el+ formatted as # HTML element. # -# source://kramdown//lib/kramdown/converter/html.rb#30 +# pkg:gem/kramdown#lib/kramdown/converter/html.rb:30 class Kramdown::Converter::Html < ::Kramdown::Converter::Base include ::Kramdown::Utils::Html include ::Kramdown::Parser::Html::Constants @@ -274,177 +274,177 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # # @return [Html] a new instance of Html # - # source://kramdown//lib/kramdown/converter/html.rb#39 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:39 def initialize(root, options); end # Add the syntax highlighter name to the 'class' attribute of the given attribute hash. And # overwrites or add a "language-LANG" part using the +lang+ parameter if +lang+ is not nil. # - # source://kramdown//lib/kramdown/converter/html.rb#417 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:417 def add_syntax_highlighter_to_class_attr(attr, lang = T.unsafe(nil)); end # Dispatch the conversion of the element +el+ to a +convert_TYPE+ method using the +type+ of # the element. # - # source://kramdown//lib/kramdown/converter/html.rb#57 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:57 def convert(el, indent = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/converter/html.rb#283 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:283 def convert_a(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#377 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:377 def convert_abbreviation(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#77 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:77 def convert_blank(_el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#145 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:145 def convert_blockquote(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#279 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:279 def convert_br(_el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#115 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:115 def convert_codeblock(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#291 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:291 def convert_codespan(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#271 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:271 def convert_comment(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#199 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:199 def convert_dd(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#185 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:185 def convert_dl(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#201 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:201 def convert_dt(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#331 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:331 def convert_em(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#336 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:336 def convert_entity(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#305 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:305 def convert_footnote(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#149 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:149 def convert_header(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#166 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:166 def convert_hr(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#212 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:212 def convert_html_element(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#287 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:287 def convert_img(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#189 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:189 def convert_li(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#363 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:363 def convert_math(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#183 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:183 def convert_ol(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#86 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:86 def convert_p(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#323 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:323 def convert_raw(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#384 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:384 def convert_root(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#359 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:359 def convert_smart_quote(el, _indent); end # Helper method used by +convert_p+ to convert a paragraph that only contains a single :img # element. # - # source://kramdown//lib/kramdown/converter/html.rb#99 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:99 def convert_standalone_image(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#334 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:334 def convert_strong(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#249 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:249 def convert_table(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#253 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:253 def convert_tbody(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#259 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:259 def convert_td(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#81 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:81 def convert_text(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#254 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:254 def convert_tfoot(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#252 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:252 def convert_thead(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#255 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:255 def convert_tr(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#351 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:351 def convert_typographic_sym(el, _indent); end - # source://kramdown//lib/kramdown/converter/html.rb#173 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:173 def convert_ul(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#239 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:239 def convert_xml_comment(el, indent); end - # source://kramdown//lib/kramdown/converter/html.rb#247 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:247 def convert_xml_pi(el, indent); end # Fixes the elements for use in a TOC entry. # - # source://kramdown//lib/kramdown/converter/html.rb#461 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:461 def fix_for_toc_entry(elements); end # Return an HTML ordered list with the footnote content for the used footnotes. # - # source://kramdown//lib/kramdown/converter/html.rb#496 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:496 def footnote_content; end # Format the given element as block HTML. # - # source://kramdown//lib/kramdown/converter/html.rb#405 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:405 def format_as_block_html(name, attr, body, indent); end # Format the given element as block HTML with a newline after the start tag and indentation # before the end tag. # - # source://kramdown//lib/kramdown/converter/html.rb#411 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:411 def format_as_indented_block_html(name, attr, body, indent); end # Format the given element as span HTML. # - # source://kramdown//lib/kramdown/converter/html.rb#400 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:400 def format_as_span_html(name, attr, body); end # Generate and return an element tree for the table of contents. # - # source://kramdown//lib/kramdown/converter/html.rb#423 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:423 def generate_toc_tree(toc, type, attr); end # The amount of indentation used when nesting HTML tags. # - # source://kramdown//lib/kramdown/converter/html.rb#36 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:36 def indent; end # The amount of indentation used when nesting HTML tags. # - # source://kramdown//lib/kramdown/converter/html.rb#36 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:36 def indent=(_arg0); end # Return the converted content of the children of +el+ as a string. The parameter +indent+ has @@ -453,193 +453,193 @@ class Kramdown::Converter::Html < ::Kramdown::Converter::Base # Pushes +el+ onto the @stack before converting the child elements and pops it from the stack # afterwards. # - # source://kramdown//lib/kramdown/converter/html.rb#66 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:66 def inner(el, indent); end # Obfuscate the +text+ by using HTML entities. # - # source://kramdown//lib/kramdown/converter/html.rb#484 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:484 def obfuscate(text); end # Remove all footnotes from the given elements. # - # source://kramdown//lib/kramdown/converter/html.rb#476 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:476 def remove_footnotes(elements); end # Remove all link elements by unwrapping them. # - # source://kramdown//lib/kramdown/converter/html.rb#468 + # pkg:gem/kramdown#lib/kramdown/converter/html.rb:468 def unwrap_links(elements); end end -# source://kramdown//lib/kramdown/converter/html.rb#257 +# pkg:gem/kramdown#lib/kramdown/converter/html.rb:257 Kramdown::Converter::Html::ENTITY_NBSP = T.let(T.unsafe(nil), Kramdown::Utils::Entities::Entity) -# source://kramdown//lib/kramdown/converter/html.rb#493 +# pkg:gem/kramdown#lib/kramdown/converter/html.rb:493 Kramdown::Converter::Html::FOOTNOTE_BACKLINK_FMT = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/converter/html.rb#340 +# pkg:gem/kramdown#lib/kramdown/converter/html.rb:340 Kramdown::Converter::Html::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/converter/html.rb#170 +# pkg:gem/kramdown#lib/kramdown/converter/html.rb:170 Kramdown::Converter::Html::ZERO_TO_ONETWENTYEIGHT = T.let(T.unsafe(nil), Array) # Converts an element tree to the kramdown format. # -# source://kramdown//lib/kramdown/converter/kramdown.rb#18 +# pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:18 class Kramdown::Converter::Kramdown < ::Kramdown::Converter::Base include ::Kramdown::Utils::Html # @return [Kramdown] a new instance of Kramdown # - # source://kramdown//lib/kramdown/converter/kramdown.rb#24 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:24 def initialize(root, options); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#34 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:34 def convert(el, opts = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#296 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:296 def convert_a(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#382 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:382 def convert_abbreviation(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#71 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:71 def convert_blank(_el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#111 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:111 def convert_blockquote(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#292 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:292 def convert_br(_el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#107 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:107 def convert_codeblock(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#329 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:329 def convert_codespan(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#284 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:284 def convert_comment(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#163 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:163 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#133 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:133 def convert_dl(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#187 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:187 def convert_dt(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#351 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:351 def convert_em(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#361 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:361 def convert_entity(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#334 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:334 def convert_footnote(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#116 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:116 def convert_header(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#125 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:125 def convert_hr(_el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#200 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:200 def convert_html_element(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#313 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:313 def convert_img(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#135 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:135 def convert_li(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#378 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:378 def convert_math(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#132 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:132 def convert_ol(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#92 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:92 def convert_p(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#339 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:339 def convert_raw(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#386 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:386 def convert_root(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#374 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:374 def convert_smart_quote(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#356 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:356 def convert_strong(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#244 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:244 def convert_table(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#265 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:265 def convert_tbody(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#280 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:280 def convert_td(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#77 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:77 def convert_text(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#272 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:272 def convert_tfoot(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#249 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:249 def convert_thead(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#276 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:276 def convert_tr(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#370 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:370 def convert_typographic_sym(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#129 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:129 def convert_ul(el, opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#234 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:234 def convert_xml_comment(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#242 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:242 def convert_xml_pi(el, _opts); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#413 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:413 def create_abbrev_defs; end - # source://kramdown//lib/kramdown/converter/kramdown.rb#404 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:404 def create_footnote_defs; end - # source://kramdown//lib/kramdown/converter/kramdown.rb#394 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:394 def create_link_defs; end # Return the IAL containing the attributes of the element +el+. # - # source://kramdown//lib/kramdown/converter/kramdown.rb#424 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:424 def ial_for_element(el); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#55 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:55 def inner(el, opts = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/converter/kramdown.rb#449 + # pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:449 def parse_title(attr); end end -# source://kramdown//lib/kramdown/converter/kramdown.rb#75 +# pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:75 Kramdown::Converter::Kramdown::ESCAPED_CHAR_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/converter/kramdown.rb#197 +# pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:197 Kramdown::Converter::Kramdown::HTML_ELEMENT_TYPES = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/converter/kramdown.rb#195 +# pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:195 Kramdown::Converter::Kramdown::HTML_TAGS_WITH_BODY = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/converter/kramdown.rb#365 +# pkg:gem/kramdown#lib/kramdown/converter/kramdown.rb:365 Kramdown::Converter::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash) # Converts an element tree to LaTeX. @@ -657,338 +657,338 @@ Kramdown::Converter::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash) # The return value of such a method has to be a string containing the element +el+ formatted # correctly as LaTeX markup. # -# source://kramdown//lib/kramdown/converter/latex.rb#31 +# pkg:gem/kramdown#lib/kramdown/converter/latex.rb:31 class Kramdown::Converter::Latex < ::Kramdown::Converter::Base # Initialize the LaTeX converter with the +root+ element and the conversion +options+. # # @return [Latex] a new instance of Latex # - # source://kramdown//lib/kramdown/converter/latex.rb#34 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:34 def initialize(root, options); end # Return a LaTeX comment containing all attributes as 'key="value"' pairs. # - # source://kramdown//lib/kramdown/converter/latex.rb#600 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:600 def attribute_list(el); end # Dispatch the conversion of the element +el+ to a +convert_TYPE+ method using the +type+ of # the element. # - # source://kramdown//lib/kramdown/converter/latex.rb#41 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:41 def convert(el, opts = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/converter/latex.rb#217 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:217 def convert_a(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#570 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:570 def convert_abbreviation(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#61 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:61 def convert_blank(_el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#110 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:110 def convert_blockquote(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#210 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:210 def convert_br(_el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#87 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:87 def convert_codeblock(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#240 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:240 def convert_codespan(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#206 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:206 def convert_comment(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#151 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:151 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#139 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:139 def convert_dl(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#147 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:147 def convert_dt(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#264 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:264 def convert_em(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#534 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:534 def convert_entity(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#251 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:251 def convert_footnote(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#114 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:114 def convert_header(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#124 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:124 def convert_hr(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#155 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:155 def convert_html_element(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#226 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:226 def convert_img(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#143 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:143 def convert_li(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#557 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:557 def convert_math(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#137 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:137 def convert_ol(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#69 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:69 def convert_p(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#256 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:256 def convert_raw(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#57 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:57 def convert_root(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#551 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:551 def convert_smart_quote(el, opts); end # Helper method used by +convert_p+ to convert a paragraph that only contains a single :img # element. # - # source://kramdown//lib/kramdown/converter/latex.rb#80 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:80 def convert_standalone_image(el, _opts, img); end - # source://kramdown//lib/kramdown/converter/latex.rb#268 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:268 def convert_strong(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#178 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:178 def convert_table(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#190 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:190 def convert_tbody(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#202 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:202 def convert_td(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#65 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:65 def convert_text(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#194 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:194 def convert_tfoot(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#186 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:186 def convert_thead(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#198 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:198 def convert_tr(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#543 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:543 def convert_typographic_sym(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#129 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:129 def convert_ul(el, opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#167 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:167 def convert_xml_comment(el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#171 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:171 def convert_xml_pi(_el, _opts); end - # source://kramdown//lib/kramdown/converter/latex.rb#523 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:523 def entity_to_latex(entity); end # Escape the special LaTeX characters in the string +str+. # - # source://kramdown//lib/kramdown/converter/latex.rb#619 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:619 def escape(str); end # Return the converted content of the children of +el+ as a string. # - # source://kramdown//lib/kramdown/converter/latex.rb#46 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:46 def inner(el, opts); end # Wrap the +text+ inside a LaTeX environment of type +type+. The element +el+ is passed on to # the method #attribute_list -- the resulting string is appended to both the \\begin and the # \\end lines of the LaTeX environment for easier post-processing of LaTeX environments. # - # source://kramdown//lib/kramdown/converter/latex.rb#583 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:583 def latex_environment(type, el, text); end # Return a string containing a valid \hypertarget command if the element has an ID defined, or # +nil+ otherwise. If the parameter +add_label+ is +true+, a \label command will also be used # additionally to the \hypertarget command. # - # source://kramdown//lib/kramdown/converter/latex.rb#591 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:591 def latex_link_target(el, add_label = T.unsafe(nil)); end # Normalize the abbreviation key so that it only contains allowed ASCII character # - # source://kramdown//lib/kramdown/converter/latex.rb#576 + # pkg:gem/kramdown#lib/kramdown/converter/latex.rb:576 def normalize_abbreviation_key(key); end end # Inspired by Maruku: entity conversion table based on the one from htmltolatex # (http://sourceforge.net/projects/htmltolatex/), with some small adjustments/additions # -# source://kramdown//lib/kramdown/converter/latex.rb#274 +# pkg:gem/kramdown#lib/kramdown/converter/latex.rb:274 Kramdown::Converter::Latex::ENTITY_CONV_TABLE = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/converter/latex.rb#606 +# pkg:gem/kramdown#lib/kramdown/converter/latex.rb:606 Kramdown::Converter::Latex::ESCAPE_MAP = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/converter/latex.rb#616 +# pkg:gem/kramdown#lib/kramdown/converter/latex.rb:616 Kramdown::Converter::Latex::ESCAPE_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/converter/latex.rb#176 +# pkg:gem/kramdown#lib/kramdown/converter/latex.rb:176 Kramdown::Converter::Latex::TABLE_ALIGNMENT_CHAR = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/converter/latex.rb#538 +# pkg:gem/kramdown#lib/kramdown/converter/latex.rb:538 Kramdown::Converter::Latex::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Hash) # Converts a Kramdown::Document to a manpage in groff format. See man(7), groff_man(7) and # man-pages(7) for information regarding the output. # -# source://kramdown//lib/kramdown/converter/man.rb#18 +# pkg:gem/kramdown#lib/kramdown/converter/man.rb:18 class Kramdown::Converter::Man < ::Kramdown::Converter::Base - # source://kramdown//lib/kramdown/converter/man.rb#20 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:20 def convert(el, opts = T.unsafe(nil)); end private - # source://kramdown//lib/kramdown/converter/man.rb#191 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:191 def convert_a(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#229 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:229 def convert_abbreviation(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#47 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:47 def convert_blank(*_arg0); end - # source://kramdown//lib/kramdown/converter/man.rb#95 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:95 def convert_blockquote(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#225 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:225 def convert_br(_el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#89 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:89 def convert_codeblock(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#221 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:221 def convert_codespan(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#189 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:189 def convert_comment(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#127 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:127 def convert_dd(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#107 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:107 def convert_dl(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#121 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:121 def convert_dt(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#209 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:209 def convert_em(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#255 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:255 def convert_entity(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#241 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:241 def convert_footnote(*_arg0); end - # source://kramdown//lib/kramdown/converter/man.rb#61 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:61 def convert_header(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#49 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:49 def convert_hr(*_arg0); end - # source://kramdown//lib/kramdown/converter/man.rb#182 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:182 def convert_html_element(*_arg0); end - # source://kramdown//lib/kramdown/converter/man.rb#205 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:205 def convert_img(_el, _opts); end - # source://kramdown//lib/kramdown/converter/man.rb#110 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:110 def convert_li(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#233 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:233 def convert_math(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#108 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:108 def convert_ol(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#52 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:52 def convert_p(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#245 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:245 def convert_raw(*_arg0); end - # source://kramdown//lib/kramdown/converter/man.rb#40 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:40 def convert_root(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#259 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:259 def convert_smart_quote(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#215 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:215 def convert_strong(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#139 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:139 def convert_table(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#154 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:154 def convert_tbody(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#170 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:170 def convert_td(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#249 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:249 def convert_text(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#161 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:161 def convert_tfoot(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#148 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:148 def convert_thead(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#165 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:165 def convert_tr(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#268 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:268 def convert_typographic_sym(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#101 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:101 def convert_ul(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#186 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:186 def convert_xml_comment(el, opts); end - # source://kramdown//lib/kramdown/converter/man.rb#50 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:50 def convert_xml_pi(*_arg0); end - # source://kramdown//lib/kramdown/converter/man.rb#285 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:285 def escape(text, preserve_whitespace = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/converter/man.rb#26 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:26 def inner(el, opts, use = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/converter/man.rb#272 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:272 def macro(name, *args); end - # source://kramdown//lib/kramdown/converter/man.rb#276 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:276 def newline(text); end - # source://kramdown//lib/kramdown/converter/man.rb#281 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:281 def quote(text); end - # source://kramdown//lib/kramdown/converter/man.rb#293 + # pkg:gem/kramdown#lib/kramdown/converter/man.rb:293 def unicode_char(codepoint); end end -# source://kramdown//lib/kramdown/converter/man.rb#137 +# pkg:gem/kramdown#lib/kramdown/converter/man.rb:137 Kramdown::Converter::Man::TABLE_CELL_ALIGNMENT = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/converter/man.rb#263 +# pkg:gem/kramdown#lib/kramdown/converter/man.rb:263 Kramdown::Converter::Man::TYPOGRAPHIC_SYMS_MAP = T.let(T.unsafe(nil), Hash) # Removes all block (and optionally span) level HTML tags from the element tree. @@ -1001,14 +1001,14 @@ Kramdown::Converter::Man::TYPOGRAPHIC_SYMS_MAP = T.let(T.unsafe(nil), Hash) # # This converter modifies the given tree in-place and returns it. # -# source://kramdown//lib/kramdown/converter/remove_html_tags.rb#25 +# pkg:gem/kramdown#lib/kramdown/converter/remove_html_tags.rb:25 class Kramdown::Converter::RemoveHtmlTags < ::Kramdown::Converter::Base # @return [RemoveHtmlTags] a new instance of RemoveHtmlTags # - # source://kramdown//lib/kramdown/converter/remove_html_tags.rb#27 + # pkg:gem/kramdown#lib/kramdown/converter/remove_html_tags.rb:27 def initialize(root, options); end - # source://kramdown//lib/kramdown/converter/remove_html_tags.rb#32 + # pkg:gem/kramdown#lib/kramdown/converter/remove_html_tags.rb:32 def convert(el); end end @@ -1022,19 +1022,19 @@ end # Since the TOC tree consists of special :toc elements, one cannot directly feed this tree to # other converters! # -# source://kramdown//lib/kramdown/converter/toc.rb#25 +# pkg:gem/kramdown#lib/kramdown/converter/toc.rb:25 class Kramdown::Converter::Toc < ::Kramdown::Converter::Base # @return [Toc] a new instance of Toc # - # source://kramdown//lib/kramdown/converter/toc.rb#27 + # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:27 def initialize(root, options); end - # source://kramdown//lib/kramdown/converter/toc.rb#34 + # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:34 def convert(el); end private - # source://kramdown//lib/kramdown/converter/toc.rb#47 + # pkg:gem/kramdown#lib/kramdown/converter/toc.rb:47 def add_to_toc(el, id); end end @@ -1053,7 +1053,7 @@ end # The second argument to the ::new method is an options hash for customizing the behaviour of the # used parser and the converter. See ::new for more information! # -# source://kramdown//lib/kramdown/document.rb#73 +# pkg:gem/kramdown#lib/kramdown/document.rb:73 class Kramdown::Document # Create a new Kramdown document from the string +source+ and use the provided +options+. The # options that can be used are defined in the Options module. @@ -1068,10 +1068,10 @@ class Kramdown::Document # # @return [Document] a new instance of Document # - # source://kramdown//lib/kramdown/document.rb#96 + # pkg:gem/kramdown#lib/kramdown/document.rb:96 def initialize(source, options = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/document.rb#124 + # pkg:gem/kramdown#lib/kramdown/document.rb:124 def inspect; end # Check if a method is invoked that begins with +to_+ and if so, try to instantiate a converter @@ -1079,37 +1079,37 @@ class Kramdown::Document # # For example, +to_html+ would instantiate the Kramdown::Converter::Html class. # - # source://kramdown//lib/kramdown/document.rb#113 + # pkg:gem/kramdown#lib/kramdown/document.rb:113 def method_missing(id, *attr, &block); end # The options hash which holds the options for parsing/converting the Kramdown document. # - # source://kramdown//lib/kramdown/document.rb#80 + # pkg:gem/kramdown#lib/kramdown/document.rb:80 def options; end # The root Element of the element tree. It is immediately available after the ::new method has # been called. # - # source://kramdown//lib/kramdown/document.rb#77 + # pkg:gem/kramdown#lib/kramdown/document.rb:77 def root; end # The root Element of the element tree. It is immediately available after the ::new method has # been called. # - # source://kramdown//lib/kramdown/document.rb#77 + # pkg:gem/kramdown#lib/kramdown/document.rb:77 def root=(_arg0); end # An array of warning messages. It is filled with warnings during the parsing phase (i.e. in # ::new) and the conversion phase. # - # source://kramdown//lib/kramdown/document.rb#84 + # pkg:gem/kramdown#lib/kramdown/document.rb:84 def warnings; end protected # Try requiring a parser or converter class and don't raise an error if the file is not found. # - # source://kramdown//lib/kramdown/document.rb#129 + # pkg:gem/kramdown#lib/kramdown/document.rb:129 def try_require(type, name); end end @@ -1582,19 +1582,19 @@ end # The option :type can be set to an array of strings to define for which converters the raw string # is valid. # -# source://kramdown//lib/kramdown/element.rb#482 +# pkg:gem/kramdown#lib/kramdown/element.rb:482 class Kramdown::Element # Create a new Element object of type +type+. The optional parameters +value+, +attr+ and # +options+ can also be set in this constructor for convenience. # # @return [Element] a new instance of Element # - # source://kramdown//lib/kramdown/element.rb#496 + # pkg:gem/kramdown#lib/kramdown/element.rb:496 def initialize(type, value = T.unsafe(nil), attr = T.unsafe(nil), options = T.unsafe(nil)); end # The attributes of the element. # - # source://kramdown//lib/kramdown/element.rb#502 + # pkg:gem/kramdown#lib/kramdown/element.rb:502 def attr; end # syntactic sugar to simplify calls such as +Kramdown::Element.category(el) == :block+ with @@ -1604,25 +1604,25 @@ class Kramdown::Element # # @return [Boolean] # - # source://kramdown//lib/kramdown/element.rb#537 + # pkg:gem/kramdown#lib/kramdown/element.rb:537 def block?; end # The child elements of this element. # - # source://kramdown//lib/kramdown/element.rb#492 + # pkg:gem/kramdown#lib/kramdown/element.rb:492 def children; end # The child elements of this element. # - # source://kramdown//lib/kramdown/element.rb#492 + # pkg:gem/kramdown#lib/kramdown/element.rb:492 def children=(_arg0); end - # source://kramdown//lib/kramdown/element.rb#511 + # pkg:gem/kramdown#lib/kramdown/element.rb:511 def inspect; end # The options hash for the element. It is used for storing arbitray options. # - # source://kramdown//lib/kramdown/element.rb#507 + # pkg:gem/kramdown#lib/kramdown/element.rb:507 def options; end # syntactic sugar to simplify calls such as +Kramdown::Element.category(el) == :span+ with @@ -1632,29 +1632,29 @@ class Kramdown::Element # # @return [Boolean] # - # source://kramdown//lib/kramdown/element.rb#545 + # pkg:gem/kramdown#lib/kramdown/element.rb:545 def span?; end # A symbol representing the element type. For example, :p or :blockquote. # - # source://kramdown//lib/kramdown/element.rb#485 + # pkg:gem/kramdown#lib/kramdown/element.rb:485 def type; end # A symbol representing the element type. For example, :p or :blockquote. # - # source://kramdown//lib/kramdown/element.rb#485 + # pkg:gem/kramdown#lib/kramdown/element.rb:485 def type=(_arg0); end # The value of the element. The interpretation of this field depends on the type of the element. # Many elements don't use this field. # - # source://kramdown//lib/kramdown/element.rb#489 + # pkg:gem/kramdown#lib/kramdown/element.rb:489 def value; end # The value of the element. The interpretation of this field depends on the type of the element. # Many elements don't use this field. # - # source://kramdown//lib/kramdown/element.rb#489 + # pkg:gem/kramdown#lib/kramdown/element.rb:489 def value=(_arg0); end class << self @@ -1663,30 +1663,30 @@ class Kramdown::Element # Most elements have a fixed category, however, some elements can either appear in a block-level # or a span-level context. These elements need to have the option :category correctly set. # - # source://kramdown//lib/kramdown/element.rb#529 + # pkg:gem/kramdown#lib/kramdown/element.rb:529 def category(el); end end end -# source://kramdown//lib/kramdown/element.rb#519 +# pkg:gem/kramdown#lib/kramdown/element.rb:519 Kramdown::Element::CATEGORY = T.let(T.unsafe(nil), Hash) # This error is raised when an error condition is encountered. # # *Note* that this error is only raised by the support framework for the parsers and converters. # -# source://kramdown//lib/kramdown/error.rb#15 +# pkg:gem/kramdown#lib/kramdown/error.rb:15 class Kramdown::Error < ::RuntimeError; end # This module defines all options that are used by parsers and/or converters as well as providing # methods to deal with the options. # -# source://kramdown//lib/kramdown/options.rb#16 +# pkg:gem/kramdown#lib/kramdown/options.rb:16 module Kramdown::Options class << self # Return a Hash with the default values for all options. # - # source://kramdown//lib/kramdown/options.rb#72 + # pkg:gem/kramdown#lib/kramdown/options.rb:72 def defaults; end # Define a new option called +name+ (a Symbol) with the given +type+ (String, Integer, Float, @@ -1699,25 +1699,25 @@ module Kramdown::Options # # @raise [ArgumentError] # - # source://kramdown//lib/kramdown/options.rb#51 + # pkg:gem/kramdown#lib/kramdown/options.rb:51 def define(name, type, default, desc, &block); end # Return +true+ if an option called +name+ is defined. # # @return [Boolean] # - # source://kramdown//lib/kramdown/options.rb#67 + # pkg:gem/kramdown#lib/kramdown/options.rb:67 def defined?(name); end # Return all option definitions. # - # source://kramdown//lib/kramdown/options.rb#62 + # pkg:gem/kramdown#lib/kramdown/options.rb:62 def definitions; end # Merge the #defaults Hash with the *parsed* options from the given Hash, i.e. only valid option # names are considered and their value is run through the #parse method. # - # source://kramdown//lib/kramdown/options.rb#83 + # pkg:gem/kramdown#lib/kramdown/options.rb:83 def merge(hash); end # Parse the given value +data+ as if it was a value for the option +name+ and return the parsed @@ -1728,7 +1728,7 @@ module Kramdown::Options # # @raise [ArgumentError] # - # source://kramdown//lib/kramdown/options.rb#97 + # pkg:gem/kramdown#lib/kramdown/options.rb:97 def parse(name, data); end # Ensures that the option value +val+ for the option called +name+ is a valid array. The @@ -1739,7 +1739,7 @@ module Kramdown::Options # # Optionally, the array is checked for the correct size. # - # source://kramdown//lib/kramdown/options.rb#142 + # pkg:gem/kramdown#lib/kramdown/options.rb:142 def simple_array_validator(val, name, size = T.unsafe(nil)); end # Ensures that the option value +val+ for the option called +name+ is a valid hash. The @@ -1750,7 +1750,7 @@ module Kramdown::Options # # @raise [Kramdown::Error] # - # source://kramdown//lib/kramdown/options.rb#159 + # pkg:gem/kramdown#lib/kramdown/options.rb:159 def simple_hash_validator(val, name); end # Converts the given String +data+ into a Symbol or +nil+ with the @@ -1759,38 +1759,38 @@ module Kramdown::Options # - A leading colon is stripped from the string. # - An empty value or a value equal to "nil" results in +nil+. # - # source://kramdown//lib/kramdown/options.rb#123 + # pkg:gem/kramdown#lib/kramdown/options.rb:123 def str_to_sym(data); end end end # Allowed option types. # -# source://kramdown//lib/kramdown/options.rb#39 +# pkg:gem/kramdown#lib/kramdown/options.rb:39 Kramdown::Options::ALLOWED_TYPES = T.let(T.unsafe(nil), Array) # Helper class introducing a boolean type for specifying boolean values (+true+ and +false+) as # option types. # -# source://kramdown//lib/kramdown/options.rb#20 +# pkg:gem/kramdown#lib/kramdown/options.rb:20 class Kramdown::Options::Boolean class << self # Return +true+ if +other+ is either +true+ or +false+ # - # source://kramdown//lib/kramdown/options.rb#23 + # pkg:gem/kramdown#lib/kramdown/options.rb:23 def ===(other); end end end # Struct class for storing the definition of an option. # -# source://kramdown//lib/kramdown/options.rb#36 +# pkg:gem/kramdown#lib/kramdown/options.rb:36 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 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def default; end # Sets the attribute default @@ -1798,14 +1798,14 @@ class Kramdown::Options::Definition < ::Struct # @param value [Object] the value to set the attribute default to. # @return [Object] the newly set value # - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def desc; end # Sets the attribute desc @@ -1813,14 +1813,14 @@ class Kramdown::Options::Definition < ::Struct # @param value [Object] the value to set the attribute desc to. # @return [Object] the newly set value # - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def name; end # Sets the attribute name @@ -1828,14 +1828,14 @@ class Kramdown::Options::Definition < ::Struct # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def type; end # Sets the attribute type @@ -1843,14 +1843,14 @@ class Kramdown::Options::Definition < ::Struct # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value # - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def validator; end # Sets the attribute validator @@ -1858,37 +1858,37 @@ class Kramdown::Options::Definition < ::Struct # @param value [Object] the value to set the attribute validator to. # @return [Object] the newly set value # - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def validator=(_); end class << self - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def [](*_arg0); end - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def inspect; end - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def keyword_init?; end - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def members; end - # source://kramdown//lib/kramdown/options.rb#36 + # pkg:gem/kramdown#lib/kramdown/options.rb:36 def new(*_arg0); end end end -# source://kramdown//lib/kramdown/options.rb#406 +# pkg:gem/kramdown#lib/kramdown/options.rb:406 Kramdown::Options::SMART_QUOTES_ENTITIES = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/options.rb#407 +# pkg:gem/kramdown#lib/kramdown/options.rb:407 Kramdown::Options::SMART_QUOTES_STR = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/options.rb#346 +# pkg:gem/kramdown#lib/kramdown/options.rb:346 Kramdown::Options::TOC_LEVELS_ARRAY = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/options.rb#345 +# pkg:gem/kramdown#lib/kramdown/options.rb:345 Kramdown::Options::TOC_LEVELS_RANGE = T.let(T.unsafe(nil), Range) # This module contains all available parsers. A parser takes an input string and converts the @@ -1897,7 +1897,7 @@ Kramdown::Options::TOC_LEVELS_RANGE = T.let(T.unsafe(nil), Range) # New parsers should be derived from the Base class which provides common functionality - see its # API documentation for how to create a custom converter class. # -# source://kramdown//lib/kramdown/parser.rb#17 +# pkg:gem/kramdown#lib/kramdown/parser.rb:17 module Kramdown::Parser; end # == \Base class for parsers @@ -1918,7 +1918,7 @@ module Kramdown::Parser; end # # Have a look at the Base::parse, Base::new and Base#parse methods for additional information! # -# source://kramdown//lib/kramdown/parser/base.rb#34 +# pkg:gem/kramdown#lib/kramdown/parser/base.rb:34 class Kramdown::Parser::Base # Initialize the parser object with the +source+ string and the parsing +options+. # @@ -1927,30 +1927,30 @@ class Kramdown::Parser::Base # # @return [Base] a new instance of Base # - # source://kramdown//lib/kramdown/parser/base.rb#52 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:52 def initialize(source, options); end # Modify the string +source+ to be usable by the parser (unifies line ending characters to # +\n+ and makes sure +source+ ends with a new line character). # - # source://kramdown//lib/kramdown/parser/base.rb#97 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:97 def adapt_source(source); end # This helper method adds the given +text+ either to the last element in the +tree+ if it is a # +type+ element or creates a new text element with the given +type+. # - # source://kramdown//lib/kramdown/parser/base.rb#109 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:109 def add_text(text, tree = T.unsafe(nil), type = T.unsafe(nil)); end # Extract the part of the StringScanner +strscan+ backed string specified by the +range+. This # method works correctly under Ruby 1.8 and Ruby 1.9. # - # source://kramdown//lib/kramdown/parser/base.rb#121 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:121 def extract_string(range, strscan); end # The hash with the parsing options. # - # source://kramdown//lib/kramdown/parser/base.rb#37 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:37 def options; end # Parse the source string into an element tree. @@ -1962,27 +1962,27 @@ class Kramdown::Parser::Base # # @raise [NotImplementedError] # - # source://kramdown//lib/kramdown/parser/base.rb#85 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:85 def parse; end # The root element of element tree that is created from the source string. # - # source://kramdown//lib/kramdown/parser/base.rb#46 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:46 def root; end # The original source string. # - # source://kramdown//lib/kramdown/parser/base.rb#43 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:43 def source; end # Add the given warning +text+ to the warning array. # - # source://kramdown//lib/kramdown/parser/base.rb#90 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:90 def warning(text); end # The array with the parser warnings. # - # source://kramdown//lib/kramdown/parser/base.rb#40 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:40 def warnings; end class << self @@ -1992,15 +1992,15 @@ class Kramdown::Parser::Base # Initializes a new instance of the calling class and then calls the +#parse+ method that must # be implemented by each subclass. # - # source://kramdown//lib/kramdown/parser/base.rb#73 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:73 def parse(source, options = T.unsafe(nil)); end private - # source://kramdown//lib/kramdown/parser/base.rb#66 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:66 def allocate; end - # source://kramdown//lib/kramdown/parser/base.rb#66 + # pkg:gem/kramdown#lib/kramdown/parser/base.rb:66 def new(*_arg0); end end end @@ -2009,217 +2009,217 @@ end # # The parsing code is in the Parser module that can also be used by other parsers. # -# source://kramdown//lib/kramdown/parser/html.rb#22 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:22 class Kramdown::Parser::Html < ::Kramdown::Parser::Base include ::Kramdown::Parser::Html::Constants include ::Kramdown::Parser::Html::Parser # Parse the source string provided on initialization as HTML document. # - # source://kramdown//lib/kramdown/parser/html.rb#593 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:593 def parse; end end # Contains all constants that are used when parsing. # -# source://kramdown//lib/kramdown/parser/html.rb#25 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:25 module Kramdown::Parser::Html::Constants; end -# source://kramdown//lib/kramdown/parser/html.rb#33 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:33 Kramdown::Parser::Html::Constants::HTML_ATTRIBUTE_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/html.rb#60 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:60 Kramdown::Parser::Html::Constants::HTML_BLOCK_ELEMENTS = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#32 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:32 Kramdown::Parser::Html::Constants::HTML_CDATA_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/html.rb#30 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:30 Kramdown::Parser::Html::Constants::HTML_COMMENT_RE = T.let(T.unsafe(nil), Regexp) # The following elements are also parsed as raw since they need child elements that cannot # be expressed using kramdown syntax: colgroup table tbody thead tfoot tr ul ol # -# source://kramdown//lib/kramdown/parser/html.rb#49 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:49 Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/parser/html.rb#38 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:38 Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_BLOCK = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#45 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:45 Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_RAW = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#42 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:42 Kramdown::Parser::Html::Constants::HTML_CONTENT_MODEL_SPAN = T.let(T.unsafe(nil), Array) # :stopdoc: # The following regexps are based on the ones used by REXML, with some slight modifications. # -# source://kramdown//lib/kramdown/parser/html.rb#29 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:29 Kramdown::Parser::Html::Constants::HTML_DOCTYPE_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/html.rb#67 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:67 Kramdown::Parser::Html::Constants::HTML_ELEMENT = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/parser/html.rb#64 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:64 Kramdown::Parser::Html::Constants::HTML_ELEMENTS_WITHOUT_BODY = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#36 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:36 Kramdown::Parser::Html::Constants::HTML_ENTITY_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/html.rb#31 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:31 Kramdown::Parser::Html::Constants::HTML_INSTRUCTION_RE = T.let(T.unsafe(nil), Regexp) # Some HTML elements like script belong to both categories (i.e. are valid in block and # span HTML) and don't appear therefore! # script, textarea # -# source://kramdown//lib/kramdown/parser/html.rb#57 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:57 Kramdown::Parser::Html::Constants::HTML_SPAN_ELEMENTS = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#35 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:35 Kramdown::Parser::Html::Constants::HTML_TAG_CLOSE_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/html.rb#34 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:34 Kramdown::Parser::Html::Constants::HTML_TAG_RE = T.let(T.unsafe(nil), Regexp) # Converts HTML elements to native elements if possible. # -# source://kramdown//lib/kramdown/parser/html.rb#200 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:200 class Kramdown::Parser::Html::ElementConverter include ::Kramdown::Parser::Html::Constants include ::Kramdown::Utils::Entities # @return [ElementConverter] a new instance of ElementConverter # - # source://kramdown//lib/kramdown/parser/html.rb#219 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:219 def initialize(root); end - # source://kramdown//lib/kramdown/parser/html.rb#388 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:388 def convert_a(el); end - # source://kramdown//lib/kramdown/parser/html.rb#409 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:409 def convert_b(el); end - # source://kramdown//lib/kramdown/parser/html.rb#421 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:421 def convert_code(el); end - # source://kramdown//lib/kramdown/parser/html.rb#398 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:398 def convert_em(el); end - # source://kramdown//lib/kramdown/parser/html.rb#412 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:412 def convert_h1(el); end - # source://kramdown//lib/kramdown/parser/html.rb#418 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418 def convert_h2(el); end - # source://kramdown//lib/kramdown/parser/html.rb#418 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418 def convert_h3(el); end - # source://kramdown//lib/kramdown/parser/html.rb#418 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418 def convert_h4(el); end - # source://kramdown//lib/kramdown/parser/html.rb#418 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418 def convert_h5(el); end - # source://kramdown//lib/kramdown/parser/html.rb#418 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:418 def convert_h6(el); end - # source://kramdown//lib/kramdown/parser/html.rb#409 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:409 def convert_i(el); end - # source://kramdown//lib/kramdown/parser/html.rb#463 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:463 def convert_pre(el); end - # source://kramdown//lib/kramdown/parser/html.rb#570 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:570 def convert_script(el); end - # source://kramdown//lib/kramdown/parser/html.rb#409 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:409 def convert_strong(el); end - # source://kramdown//lib/kramdown/parser/html.rb#465 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:465 def convert_table(el); end - # source://kramdown//lib/kramdown/parser/html.rb#384 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:384 def convert_textarea(el); end - # source://kramdown//lib/kramdown/parser/html.rb#379 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:379 def extract_text(el, raw); end - # source://kramdown//lib/kramdown/parser/html.rb#582 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:582 def handle_math_tag(el); end # @return [Boolean] # - # source://kramdown//lib/kramdown/parser/html.rb#578 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:578 def is_math_tag?(el); end # @return [Boolean] # - # source://kramdown//lib/kramdown/parser/html.rb#508 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:508 def is_simple_table?(el); end # Convert the element +el+ and its children. # - # source://kramdown//lib/kramdown/parser/html.rb#228 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:228 def process(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil), parent = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/parser/html.rb#282 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:282 def process_children(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/parser/html.rb#324 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:324 def process_html_element(el, do_conversion = T.unsafe(nil), preserve_text = T.unsafe(nil)); end # Process the HTML text +raw+: compress whitespace (if +preserve+ is +false+) and convert # entities in entity elements. # - # source://kramdown//lib/kramdown/parser/html.rb#295 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:295 def process_text(raw, preserve = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/parser/html.rb#330 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:330 def remove_text_children(el); end - # source://kramdown//lib/kramdown/parser/html.rb#363 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:363 def remove_whitespace_children(el); end - # source://kramdown//lib/kramdown/parser/html.rb#373 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:373 def set_basics(el, type, opts = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/parser/html.rb#353 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:353 def strip_whitespace(el); end - # source://kramdown//lib/kramdown/parser/html.rb#334 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:334 def wrap_text_children(el); end class << self - # source://kramdown//lib/kramdown/parser/html.rb#223 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:223 def convert(root, el = T.unsafe(nil)); end end end -# source://kramdown//lib/kramdown/parser/html.rb#397 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:397 Kramdown::Parser::Html::ElementConverter::EMPHASIS_TYPE_MAP = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/parser/html.rb#207 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:207 Kramdown::Parser::Html::ElementConverter::REMOVE_TEXT_CHILDREN = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#211 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:211 Kramdown::Parser::Html::ElementConverter::REMOVE_WHITESPACE_CHILDREN = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#216 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:216 Kramdown::Parser::Html::ElementConverter::SIMPLE_ELEMENTS = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#213 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:213 Kramdown::Parser::Html::ElementConverter::STRIP_WHITESPACE = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/html.rb#209 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:209 Kramdown::Parser::Html::ElementConverter::WRAP_TEXT_CHILDREN = T.let(T.unsafe(nil), Array) # Contains the parsing methods. This module can be mixed into any parser to get HTML parsing # functionality. The only thing that must be provided by the class are instance variable # parsing. # -# source://kramdown//lib/kramdown/parser/html.rb#78 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:78 module Kramdown::Parser::Html::Parser include ::Kramdown::Parser::Html::Constants @@ -2230,12 +2230,12 @@ module Kramdown::Parser::Html::Parser # element is already closed, ie. contains no body; the third parameter specifies whether the # body - and the end tag - need to be handled in case closed=false). # - # source://kramdown//lib/kramdown/parser/html.rb#88 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:88 def handle_html_start_tag(line = T.unsafe(nil)); end # Handle the raw HTML tag at the current position. # - # source://kramdown//lib/kramdown/parser/html.rb#128 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:128 def handle_raw_html_tag(name); end # Parses the given string for HTML attributes and returns the resulting hash. @@ -2245,7 +2245,7 @@ module Kramdown::Parser::Html::Parser # If the optional +in_html_tag+ parameter is set to +false+, attributes are not modified to # contain only lowercase letters. # - # source://kramdown//lib/kramdown/parser/html.rb#115 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:115 def parse_html_attributes(str, line = T.unsafe(nil), in_html_tag = T.unsafe(nil)); end # Parse raw HTML from the current source position, storing the found elements in +el+. @@ -2258,11 +2258,11 @@ module Kramdown::Parser::Html::Parser # When an HTML start tag is found, processing is deferred to #handle_html_start_tag, # providing the block given to this method. # - # source://kramdown//lib/kramdown/parser/html.rb#151 + # pkg:gem/kramdown#lib/kramdown/parser/html.rb:151 def parse_raw_html(el, &block); end end -# source://kramdown//lib/kramdown/parser/html.rb#140 +# pkg:gem/kramdown#lib/kramdown/parser/html.rb:140 Kramdown::Parser::Html::Parser::HTML_RAW_START = T.let(T.unsafe(nil), Regexp) # Used for parsing a document in kramdown format. @@ -2304,7 +2304,7 @@ Kramdown::Parser::Html::Parser::HTML_RAW_START = T.let(T.unsafe(nil), Regexp) # # Kramdown::Document.new(input_text, :input => 'ERBKramdown').to_html # -# source://kramdown//lib/kramdown/parser/kramdown.rb#60 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:60 class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base include ::Kramdown include ::Kramdown::Parser::Html::Constants @@ -2315,262 +2315,262 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base # # @return [Kramdown] a new instance of Kramdown # - # source://kramdown//lib/kramdown/parser/kramdown.rb#65 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:65 def initialize(source, options); end # This helper methods adds the approriate attributes to the element +el+ of type +a+ or +img+ # and the element itself to the @tree. # - # source://kramdown//lib/kramdown/parser/kramdown/link.rb#39 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:39 def add_link(el, href, title, alt_text = T.unsafe(nil), ial = T.unsafe(nil)); end # Return +true+ if we are after a block boundary. # # @return [Boolean] # - # source://kramdown//lib/kramdown/parser/kramdown/block_boundary.rb#21 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/block_boundary.rb:21 def after_block_boundary?; end # Return +true+ if we are before a block boundary. # # @return [Boolean] # - # source://kramdown//lib/kramdown/parser/kramdown/block_boundary.rb#28 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/block_boundary.rb:28 def before_block_boundary?; end # Correct abbreviation attributes. # - # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#34 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:34 def correct_abbreviations_attributes; end - # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#96 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:96 def handle_extension(name, opts, body, type, line_no = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/parser/kramdown/html.rb#26 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:26 def handle_kramdown_html_tag(el, closed, handle_body); end # Normalize the link identifier. # - # source://kramdown//lib/kramdown/parser/kramdown/link.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:17 def normalize_link_id(id); end - # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#56 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:56 def paragraph_end; end # The source string provided on initialization is parsed into the @root element. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#88 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:88 def parse; end # Parse the link definition at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:17 def parse_abbrev_definition; end # Parse the string +str+ and extract all attributes and add all found attributes to the hash # +opts+. # - # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#18 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:18 def parse_attribute_list(str, opts); end # Parse the Atx header at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/header.rb#32 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:32 def parse_atx_header; end # Parse the autolink at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#19 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:19 def parse_autolink; end # Parse the blank line at the current postition. # - # source://kramdown//lib/kramdown/parser/kramdown/blank_line.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/blank_line.rb:17 def parse_blank_line; end # Parse one of the block extensions (ALD, block IAL or generic extension) at the current # location. # - # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#164 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:164 def parse_block_extensions; end # Parse the HTML at the current position as block-level HTML. # - # source://kramdown//lib/kramdown/parser/kramdown/html.rb#73 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:73 def parse_block_html; end # Parse the math block at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/math.rb#19 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:19 def parse_block_math; end # Parse the blockquote at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/blockquote.rb#21 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/blockquote.rb:21 def parse_blockquote; end # Parse the indented codeblock at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#23 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:23 def parse_codeblock; end # Parse the fenced codeblock at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#37 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:37 def parse_codeblock_fenced; end # Parse the codespan at the current scanner location. # - # source://kramdown//lib/kramdown/parser/kramdown/codespan.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/codespan.rb:17 def parse_codespan; end # Parse the ordered or unordered list at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/list.rb#153 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:153 def parse_definition_list; end # Parse the emphasis at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/emphasis.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/emphasis.rb:17 def parse_emphasis; end # Parse the EOB marker at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/eob.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/eob.rb:17 def parse_eob_marker; end # Parse the backslash-escaped character at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/escaped_chars.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/escaped_chars.rb:17 def parse_escaped_chars; end # Parse the generic extension at the current point. The parameter +type+ can either be :block # or :span depending whether we parse a block or span extension tag. # - # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#54 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:54 def parse_extension_start_tag(type); end # Used for parsing the first line of a list item or a definition, i.e. the line with list item # marker or the definition marker. # - # source://kramdown//lib/kramdown/parser/kramdown/list.rb#32 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:32 def parse_first_list_line(indentation, content); end # Parse the foot note definition at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#21 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:21 def parse_footnote_definition; end # Parse the footnote marker at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#40 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:40 def parse_footnote_marker; end # Parse the horizontal rule at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/horizontal_rule.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/horizontal_rule.rb:17 def parse_horizontal_rule; end # Parse the HTML entity at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/html_entity.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html_entity.rb:17 def parse_html_entity; end # Parse the inline math at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/math.rb#44 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:44 def parse_inline_math; end # Parse the line break at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/line_break.rb#17 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/line_break.rb:17 def parse_line_break; end # Parse the link at the current scanner position. This method is used to parse normal links as # well as image links. # - # source://kramdown//lib/kramdown/parser/kramdown/link.rb#61 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:61 def parse_link; end # Parse the link definition at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/link.rb#24 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:24 def parse_link_definition; end # Parse the ordered or unordered list at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/list.rb#54 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:54 def parse_list; end # Parse the paragraph at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#31 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:31 def parse_paragraph; end # Parse the Setext header at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/header.rb#20 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:20 def parse_setext_header; end # Parse the smart quotes at current location. # - # source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#158 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:158 def parse_smart_quotes; end # Parse the extension span at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#192 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:192 def parse_span_extensions; end # Parse the HTML at the current position as span-level HTML. # - # source://kramdown//lib/kramdown/parser/kramdown/html.rb#102 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:102 def parse_span_html; end # Parse the table at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/table.rb#25 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:25 def parse_table; end # Parse the typographic symbols at the current location. # - # source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#22 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:22 def parse_typographic_syms; end # Replace the abbreviation text with elements. # - # source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#41 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:41 def replace_abbreviations(el, regexps = T.unsafe(nil)); end # Update the +ial+ with the information from the inline attribute list +opts+. # - # source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#41 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:41 def update_ial_with_ial(ial, opts); end protected - # source://kramdown//lib/kramdown/parser/kramdown/header.rb#59 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:59 def add_header(level, text, id); end # Adapt the object to allow parsing like specified in the options. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#121 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:121 def configure_parser; end # Create a new block-level element, taking care of applying a preceding block IAL if it # exists. This method should always be used for creating a block-level element! # - # source://kramdown//lib/kramdown/parser/kramdown.rb#306 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:306 def new_block_el(*args); end # Parse all block-level elements in +text+ into the element +el+. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#140 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:140 def parse_blocks(el, text = T.unsafe(nil)); end # Returns header text and optional ID. # - # source://kramdown//lib/kramdown/parser/kramdown/header.rb#47 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:47 def parse_header_contents; end # Parse all span-level elements in the source string of @src into +el+. @@ -2583,34 +2583,34 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base # # The parameter +text_type+ specifies the type which should be used for created text nodes. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#215 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:215 def parse_spans(el, stop_re = T.unsafe(nil), parsers = T.unsafe(nil), text_type = T.unsafe(nil)); end # Reset the current parsing environment. The parameter +env+ can be used to set initial # values for one or more environment variables. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#254 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:254 def reset_env(opts = T.unsafe(nil)); end # Restore the current parsing environment. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#269 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:269 def restore_env(env); end # Return the current parsing environment. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#264 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:264 def save_env; end # Create the needed span parser regexps. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#134 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:134 def span_parser_regexps(parsers = T.unsafe(nil)); end # Update the given attributes hash +attr+ with the information from the inline attribute list # +ial+ and all referenced ALDs. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#275 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:275 def update_attr_with_ial(attr, ial); end # @@ -2620,18 +2620,18 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base # The parameter +link_defs+ is a hash where the keys are possibly unnormalized link IDs and # the values are two element arrays consisting of the link target and a title (can be +nil+). # - # source://kramdown//lib/kramdown/parser/kramdown.rb#116 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:116 def update_link_definitions(link_defs); end # Update the raw text for automatic ID generation. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#289 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:289 def update_raw_text(item); end # Update the tree by parsing all :+raw_text+ elements with the span-level parser (resets the # environment) and by updating the attributes from the IALs. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#166 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:166 def update_tree(element); end private @@ -2639,10 +2639,10 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base # precomputed patterns for indentations 1..4 and fallback expression # to compute pattern when indentation is outside the 1..4 range. # - # source://kramdown//lib/kramdown/parser/kramdown/list.rb#258 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:258 def fetch_pattern(type, indentation); end - # source://kramdown//lib/kramdown/parser/kramdown.rb#201 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:201 def span_pattern_cache(stop_re, span_start); end class << self @@ -2656,110 +2656,110 @@ class Kramdown::Parser::Kramdown < ::Kramdown::Parser::Base # to the registry. The method name is automatically derived from the +name+ or can explicitly # be set by using the +meth_name+ parameter. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#329 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:329 def define_parser(name, start_re, span_start = T.unsafe(nil), meth_name = T.unsafe(nil)); end # Return +true+ if there is a parser called +name+. # # @return [Boolean] # - # source://kramdown//lib/kramdown/parser/kramdown.rb#340 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:340 def has_parser?(name); end # Return the Data structure for the parser +name+. # - # source://kramdown//lib/kramdown/parser/kramdown.rb#335 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:335 def parser(name = T.unsafe(nil)); end end end -# source://kramdown//lib/kramdown/parser/kramdown/abbreviation.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/abbreviation.rb:14 Kramdown::Parser::Kramdown::ABBREV_DEFINITION_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:14 Kramdown::Parser::Kramdown::ACHARS = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#140 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:140 Kramdown::Parser::Kramdown::ALD_ANY_CHARS = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#142 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:142 Kramdown::Parser::Kramdown::ALD_CLASS_NAME = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#139 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:139 Kramdown::Parser::Kramdown::ALD_ID_CHARS = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#141 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:141 Kramdown::Parser::Kramdown::ALD_ID_NAME = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#150 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:150 Kramdown::Parser::Kramdown::ALD_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#149 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:149 Kramdown::Parser::Kramdown::ALD_TYPE_ANY = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#144 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:144 Kramdown::Parser::Kramdown::ALD_TYPE_CLASS_NAME = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#145 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:145 Kramdown::Parser::Kramdown::ALD_TYPE_ID_NAME = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#146 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:146 Kramdown::Parser::Kramdown::ALD_TYPE_ID_OR_CLASS = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#147 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:147 Kramdown::Parser::Kramdown::ALD_TYPE_ID_OR_CLASS_MULTI = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#143 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:143 Kramdown::Parser::Kramdown::ALD_TYPE_KEY_VALUE_PAIR = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#148 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:148 Kramdown::Parser::Kramdown::ALD_TYPE_REF = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/header.rb#29 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:29 Kramdown::Parser::Kramdown::ATX_HEADER_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#16 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:16 Kramdown::Parser::Kramdown::AUTOLINK_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/autolink.rb#15 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/autolink.rb:15 Kramdown::Parser::Kramdown::AUTOLINK_START_STR = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/blank_line.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/blank_line.rb:14 Kramdown::Parser::Kramdown::BLANK_LINE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/blockquote.rb#18 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/blockquote.rb:18 Kramdown::Parser::Kramdown::BLOCKQUOTE_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/block_boundary.rb#18 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/block_boundary.rb:18 Kramdown::Parser::Kramdown::BLOCK_BOUNDARY = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#160 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:160 Kramdown::Parser::Kramdown::BLOCK_EXTENSIONS_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/math.rb#16 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:16 Kramdown::Parser::Kramdown::BLOCK_MATH_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#20 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:20 Kramdown::Parser::Kramdown::CODEBLOCK_MATCH = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#19 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:19 Kramdown::Parser::Kramdown::CODEBLOCK_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/codespan.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/codespan.rb:14 Kramdown::Parser::Kramdown::CODESPAN_DELIMITER = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#150 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:150 Kramdown::Parser::Kramdown::DEFINITION_LIST_START = T.let(T.unsafe(nil), Regexp) # Struct class holding all the needed data for one block/span-level parser method. # -# source://kramdown//lib/kramdown/parser/kramdown.rb#318 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 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 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def method; end # Sets the attribute method @@ -2767,14 +2767,14 @@ class Kramdown::Parser::Kramdown::Data < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def name; end # Sets the attribute name @@ -2782,14 +2782,14 @@ class Kramdown::Parser::Kramdown::Data < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def span_start; end # Sets the attribute span_start @@ -2797,14 +2797,14 @@ class Kramdown::Parser::Kramdown::Data < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def start_re; end # Sets the attribute start_re @@ -2812,224 +2812,224 @@ class Kramdown::Parser::Kramdown::Data < ::Struct # @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 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def start_re=(_); end class << self - # source://kramdown//lib/kramdown/parser/kramdown.rb#318 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def [](*_arg0); end - # source://kramdown//lib/kramdown/parser/kramdown.rb#318 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def inspect; end - # source://kramdown//lib/kramdown/parser/kramdown.rb#318 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def keyword_init?; end - # source://kramdown//lib/kramdown/parser/kramdown.rb#318 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def members; end - # source://kramdown//lib/kramdown/parser/kramdown.rb#318 + # pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:318 def new(*_arg0); end end end -# source://kramdown//lib/kramdown/parser/kramdown/emphasis.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/emphasis.rb:14 Kramdown::Parser::Kramdown::EMPHASIS_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/eob.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/eob.rb:14 Kramdown::Parser::Kramdown::EOB_MARKER = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/escaped_chars.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/escaped_chars.rb:14 Kramdown::Parser::Kramdown::ESCAPED_CHARS = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#154 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:154 Kramdown::Parser::Kramdown::EXT_BLOCK_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#155 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:155 Kramdown::Parser::Kramdown::EXT_BLOCK_STOP_STR = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#187 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:187 Kramdown::Parser::Kramdown::EXT_SPAN_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#153 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:153 Kramdown::Parser::Kramdown::EXT_START_STR = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#152 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:152 Kramdown::Parser::Kramdown::EXT_STOP_STR = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#34 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:34 Kramdown::Parser::Kramdown::FENCED_CODEBLOCK_MATCH = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/codeblock.rb#33 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/codeblock.rb:33 Kramdown::Parser::Kramdown::FENCED_CODEBLOCK_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#18 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:18 Kramdown::Parser::Kramdown::FOOTNOTE_DEFINITION_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/footnote.rb#37 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/footnote.rb:37 Kramdown::Parser::Kramdown::FOOTNOTE_MARKER_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/header.rb#44 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:44 Kramdown::Parser::Kramdown::HEADER_ID = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/horizontal_rule.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/horizontal_rule.rb:14 Kramdown::Parser::Kramdown::HR_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/html.rb#70 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:70 Kramdown::Parser::Kramdown::HTML_BLOCK_START = T.let(T.unsafe(nil), Regexp) # Mapping of markdown attribute value to content model. I.e. :raw when "0", :default when "1" # (use default content model for the HTML element), :span when "span", :block when block and # for everything else +nil+ is returned. # -# source://kramdown//lib/kramdown/parser/kramdown/html.rb#22 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:22 Kramdown::Parser::Kramdown::HTML_MARKDOWN_ATTR_MAP = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/parser/kramdown/html.rb#99 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:99 Kramdown::Parser::Kramdown::HTML_SPAN_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#157 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:157 Kramdown::Parser::Kramdown::IAL_BLOCK = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#158 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:158 Kramdown::Parser::Kramdown::IAL_BLOCK_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:14 Kramdown::Parser::Kramdown::IAL_CLASS_ATTR = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#188 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:188 Kramdown::Parser::Kramdown::IAL_SPAN_START = T.let(T.unsafe(nil), Regexp) # Regexp for matching indentation (one tab or four spaces) # -# source://kramdown//lib/kramdown/parser/kramdown.rb#345 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:345 Kramdown::Parser::Kramdown::INDENT = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/math.rb#41 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/math.rb:41 Kramdown::Parser::Kramdown::INLINE_MATH_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#24 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:24 Kramdown::Parser::Kramdown::LAZY_END = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#20 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:20 Kramdown::Parser::Kramdown::LAZY_END_HTML_SPAN_ELEMENTS = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#21 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:21 Kramdown::Parser::Kramdown::LAZY_END_HTML_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#22 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:22 Kramdown::Parser::Kramdown::LAZY_END_HTML_STOP = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/line_break.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/line_break.rb:14 Kramdown::Parser::Kramdown::LINE_BREAK = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/link.rb#53 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:53 Kramdown::Parser::Kramdown::LINK_BRACKET_STOP_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/link.rb#21 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:21 Kramdown::Parser::Kramdown::LINK_DEFINITION_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/link.rb#55 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:55 Kramdown::Parser::Kramdown::LINK_INLINE_ID_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/link.rb#56 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:56 Kramdown::Parser::Kramdown::LINK_INLINE_TITLE_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/link.rb#54 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:54 Kramdown::Parser::Kramdown::LINK_PAREN_STOP_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/link.rb#57 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/link.rb:57 Kramdown::Parser::Kramdown::LINK_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#19 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:19 Kramdown::Parser::Kramdown::LIST_ITEM_IAL = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#20 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:20 Kramdown::Parser::Kramdown::LIST_ITEM_IAL_CHECK = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#51 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:51 Kramdown::Parser::Kramdown::LIST_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#50 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:50 Kramdown::Parser::Kramdown::LIST_START_OL = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#49 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:49 Kramdown::Parser::Kramdown::LIST_START_UL = T.let(T.unsafe(nil), Regexp) # Regexp for matching the optional space (zero or up to three spaces) # -# source://kramdown//lib/kramdown/parser/kramdown.rb#347 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown.rb:347 Kramdown::Parser::Kramdown::OPT_SPACE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#28 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:28 Kramdown::Parser::Kramdown::PARAGRAPH_END = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#27 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:27 Kramdown::Parser::Kramdown::PARAGRAPH_MATCH = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/paragraph.rb#26 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/paragraph.rb:26 Kramdown::Parser::Kramdown::PARAGRAPH_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#22 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:22 Kramdown::Parser::Kramdown::PARSE_FIRST_LIST_LINE_REGEXP_CACHE = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/parser/kramdown/list.rb#47 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/list.rb:47 Kramdown::Parser::Kramdown::PATTERN_TAIL = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/header.rb#17 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/header.rb:17 Kramdown::Parser::Kramdown::SETEXT_HEADER_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#155 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:155 Kramdown::Parser::Kramdown::SMART_QUOTES_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/extensions.rb#189 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/extensions.rb:189 Kramdown::Parser::Kramdown::SPAN_EXTENSIONS_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#122 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:122 Kramdown::Parser::Kramdown::SQ_CLOSE = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#121 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:121 Kramdown::Parser::Kramdown::SQ_PUNCT = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#124 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:124 Kramdown::Parser::Kramdown::SQ_RULES = T.let(T.unsafe(nil), Array) # '" # -# source://kramdown//lib/kramdown/parser/kramdown/smart_quotes.rb#145 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/smart_quotes.rb:145 Kramdown::Parser::Kramdown::SQ_SUBSTS = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#18 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:18 Kramdown::Parser::Kramdown::TABLE_FSEP_LINE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#17 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:17 Kramdown::Parser::Kramdown::TABLE_HSEP_ALIGN = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#21 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:21 Kramdown::Parser::Kramdown::TABLE_LINE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#20 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:20 Kramdown::Parser::Kramdown::TABLE_PIPE_CHECK = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#19 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:19 Kramdown::Parser::Kramdown::TABLE_ROW_LINE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#16 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:16 Kramdown::Parser::Kramdown::TABLE_SEP_LINE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/table.rb#22 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/table.rb:22 Kramdown::Parser::Kramdown::TABLE_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/html.rb#24 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/html.rb:24 Kramdown::Parser::Kramdown::TRAILING_WHITESPACE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#14 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:14 Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#19 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:19 Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/kramdown/typographic_symbol.rb#18 +# pkg:gem/kramdown#lib/kramdown/parser/kramdown/typographic_symbol.rb:18 Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS_SUBST = T.let(T.unsafe(nil), Hash) # Used for parsing a document in Markdown format. @@ -3042,43 +3042,43 @@ Kramdown::Parser::Kramdown::TYPOGRAPHIC_SYMS_SUBST = T.let(T.unsafe(nil), Hash) # Note, though, that the parser basically fails just one of the Markdown test cases (some others # also fail but those failures are negligible). # -# source://kramdown//lib/kramdown/parser/markdown.rb#25 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:25 class Kramdown::Parser::Markdown < ::Kramdown::Parser::Kramdown # @return [Markdown] a new instance of Markdown # - # source://kramdown//lib/kramdown/parser/markdown.rb#32 + # pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:32 def initialize(source, options); end end # :stopdoc: # -# source://kramdown//lib/kramdown/parser/markdown.rb#40 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:40 Kramdown::Parser::Markdown::BLOCK_BOUNDARY = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/markdown.rb#43 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:43 Kramdown::Parser::Markdown::CODEBLOCK_MATCH = T.let(T.unsafe(nil), Regexp) # Array with all the parsing methods that should be removed from the standard kramdown parser. # -# source://kramdown//lib/kramdown/parser/markdown.rb#28 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:28 Kramdown::Parser::Markdown::EXTENDED = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/markdown.rb#46 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:46 Kramdown::Parser::Markdown::IAL_RAND_CHARS = T.let(T.unsafe(nil), Array) -# source://kramdown//lib/kramdown/parser/markdown.rb#47 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:47 Kramdown::Parser::Markdown::IAL_RAND_STRING = T.let(T.unsafe(nil), String) -# source://kramdown//lib/kramdown/parser/markdown.rb#49 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:49 Kramdown::Parser::Markdown::IAL_SPAN_START = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/markdown.rb#41 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:41 Kramdown::Parser::Markdown::LAZY_END = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/markdown.rb#48 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:48 Kramdown::Parser::Markdown::LIST_ITEM_IAL = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/parser/markdown.rb#44 +# pkg:gem/kramdown#lib/kramdown/parser/markdown.rb:44 Kramdown::Parser::Markdown::PARAGRAPH_END = T.let(T.unsafe(nil), Regexp) # == \Utils Module @@ -3086,27 +3086,27 @@ Kramdown::Parser::Markdown::PARAGRAPH_END = T.let(T.unsafe(nil), Regexp) # This module contains utility class/modules/methods that can be used by both parsers and # converters. # -# source://kramdown//lib/kramdown/utils.rb#16 +# pkg:gem/kramdown#lib/kramdown/utils.rb:16 module Kramdown::Utils class << self # Treat +name+ as if it were snake cased (e.g. snake_case) and camelize it (e.g. SnakeCase). # - # source://kramdown//lib/kramdown/utils.rb#26 + # pkg:gem/kramdown#lib/kramdown/utils.rb:26 def camelize(name); end - # source://kramdown//lib/kramdown/utils.rb#39 + # pkg:gem/kramdown#lib/kramdown/utils.rb:39 def deep_const_get(str); end # Treat +name+ as if it were camelized (e.g. CamelizedName) and snake-case it (e.g. camelized_name). # - # source://kramdown//lib/kramdown/utils.rb#31 + # pkg:gem/kramdown#lib/kramdown/utils.rb:31 def snake_case(name); end end end # Methods for registering configurable extensions. # -# source://kramdown//lib/kramdown/utils/configurable.rb#14 +# pkg:gem/kramdown#lib/kramdown/utils/configurable.rb:14 module Kramdown::Utils::Configurable # Create a new configurable extension called +name+. # @@ -3121,32 +3121,32 @@ module Kramdown::Utils::Configurable # add_(ext_name, data=nil, &block):: Define an extension +ext_name+ by specifying either # the data as argument or by using a block. # - # source://kramdown//lib/kramdown/utils/configurable.rb#28 + # pkg:gem/kramdown#lib/kramdown/utils/configurable.rb:28 def configurable(name); end end # Provides convenience methods for handling named and numeric entities. # -# source://kramdown//lib/kramdown/utils/entities.rb#15 +# pkg:gem/kramdown#lib/kramdown/utils/entities.rb:15 module Kramdown::Utils::Entities private # Return the entity for the given code point or name +point_or_name+. # - # source://kramdown//lib/kramdown/utils/entities.rb#990 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:990 def entity(point_or_name); end class << self # Return the entity for the given code point or name +point_or_name+. # - # source://kramdown//lib/kramdown/utils/entities.rb#994 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:994 def entity(point_or_name); end end end # Contains the mapping of code point (or name) to the actual Entity object. # -# source://kramdown//lib/kramdown/utils/entities.rb#973 +# pkg:gem/kramdown#lib/kramdown/utils/entities.rb:973 Kramdown::Utils::Entities::ENTITY_MAP = T.let(T.unsafe(nil), Hash) # Array of arrays. Each sub-array specifies a code point and the associated name. @@ -3154,23 +3154,23 @@ Kramdown::Utils::Entities::ENTITY_MAP = T.let(T.unsafe(nil), Hash) # This table is not used directly -- Entity objects are automatically created from it and put # into a Hash map when this file is loaded. # -# source://kramdown//lib/kramdown/utils/entities.rb#29 +# pkg:gem/kramdown#lib/kramdown/utils/entities.rb:29 Kramdown::Utils::Entities::ENTITY_TABLE = T.let(T.unsafe(nil), Array) # Represents an entity that has a +code_point+ and +name+. # -# source://kramdown//lib/kramdown/utils/entities.rb#18 +# pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 class Kramdown::Utils::Entities::Entity < ::Struct # Return the UTF8 representation of the entity. # - # source://kramdown//lib/kramdown/utils/entities.rb#20 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:20 def char; end # Returns the value of attribute code_point # # @return [Object] the current value of code_point # - # source://kramdown//lib/kramdown/utils/entities.rb#18 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def code_point; end # Sets the attribute code_point @@ -3178,14 +3178,14 @@ class Kramdown::Utils::Entities::Entity < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def name; end # Sets the attribute name @@ -3193,23 +3193,23 @@ class Kramdown::Utils::Entities::Entity < ::Struct # @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 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def name=(_); end class << self - # source://kramdown//lib/kramdown/utils/entities.rb#18 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def [](*_arg0); end - # source://kramdown//lib/kramdown/utils/entities.rb#18 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def inspect; end - # source://kramdown//lib/kramdown/utils/entities.rb#18 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def keyword_init?; end - # source://kramdown//lib/kramdown/utils/entities.rb#18 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def members; end - # source://kramdown//lib/kramdown/utils/entities.rb#18 + # pkg:gem/kramdown#lib/kramdown/utils/entities.rb:18 def new(*_arg0); end end end @@ -3220,14 +3220,14 @@ end # of type :root) and an @options (containing an options hash) instance variable so that some of # the methods can work correctly. # -# source://kramdown//lib/kramdown/utils/html.rb#21 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:21 module Kramdown::Utils::Html # Convert the entity +e+ to a string. The optional parameter +original+ may contain the # original representation of the entity. # # This method uses the option +entity_output+ to determine the output form for the entity. # - # source://kramdown//lib/kramdown/utils/html.rb#27 + # pkg:gem/kramdown#lib/kramdown/utils/html.rb:27 def entity_to_str(e, original = T.unsafe(nil)); end # Escape the special HTML characters in the string +str+. The parameter +type+ specifies what @@ -3235,36 +3235,36 @@ module Kramdown::Utils::Html # entities, :text - all special HTML characters except the quotation mark but no entities and # :attribute - all special HTML characters including the quotation mark but no entities. # - # source://kramdown//lib/kramdown/utils/html.rb#69 + # pkg:gem/kramdown#lib/kramdown/utils/html.rb:69 def escape_html(str, type = T.unsafe(nil)); end - # source://kramdown//lib/kramdown/utils/html.rb#74 + # pkg:gem/kramdown#lib/kramdown/utils/html.rb:74 def fix_cjk_line_break(str); end # Return the HTML representation of the attributes +attr+. # - # source://kramdown//lib/kramdown/utils/html.rb#44 + # pkg:gem/kramdown#lib/kramdown/utils/html.rb:44 def html_attributes(attr); end end -# source://kramdown//lib/kramdown/utils/html.rb#59 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:59 Kramdown::Utils::Html::ESCAPE_ALL_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/utils/html.rb#61 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:61 Kramdown::Utils::Html::ESCAPE_ATTRIBUTE_RE = T.let(T.unsafe(nil), Regexp) # :stopdoc: # -# source://kramdown//lib/kramdown/utils/html.rb#53 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:53 Kramdown::Utils::Html::ESCAPE_MAP = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/utils/html.rb#62 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:62 Kramdown::Utils::Html::ESCAPE_RE_FROM_TYPE = T.let(T.unsafe(nil), Hash) -# source://kramdown//lib/kramdown/utils/html.rb#60 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:60 Kramdown::Utils::Html::ESCAPE_TEXT_RE = T.let(T.unsafe(nil), Regexp) -# source://kramdown//lib/kramdown/utils/html.rb#73 +# pkg:gem/kramdown#lib/kramdown/utils/html.rb:73 Kramdown::Utils::Html::REDUNDANT_LINE_BREAK_REGEX = T.let(T.unsafe(nil), Regexp) # A simple least recently used (LRU) cache. @@ -3273,30 +3273,30 @@ Kramdown::Utils::Html::REDUNDANT_LINE_BREAK_REGEX = T.let(T.unsafe(nil), Regexp) # and re-inserting a key-value pair on access moves the key to the last position. When an # entry is added and the cache is full, the first entry is removed. # -# source://kramdown//lib/kramdown/utils/lru_cache.rb#18 +# pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:18 class Kramdown::Utils::LRUCache # Creates a new LRUCache that can hold +size+ entries. # # @return [LRUCache] a new instance of LRUCache # - # source://kramdown//lib/kramdown/utils/lru_cache.rb#21 + # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:21 def initialize(size); end # Returns the stored value for +key+ or +nil+ if no value was stored under the key. # - # source://kramdown//lib/kramdown/utils/lru_cache.rb#27 + # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:27 def [](key); end # Stores the +value+ under the +key+. # - # source://kramdown//lib/kramdown/utils/lru_cache.rb#32 + # pkg:gem/kramdown#lib/kramdown/utils/lru_cache.rb:32 def []=(key, value); end end # This patched StringScanner adds line number information for current scan position and a # start_line_number override for nested StringScanners. # -# source://kramdown//lib/kramdown/utils/string_scanner.rb#17 +# pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:17 class Kramdown::Utils::StringScanner < ::StringScanner # Takes the start line number as optional second argument. # @@ -3304,7 +3304,7 @@ class Kramdown::Utils::StringScanner < ::StringScanner # # @return [StringScanner] a new instance of StringScanner # - # source://kramdown//lib/kramdown/utils/string_scanner.rb#26 + # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:26 def initialize(string, start_line_number = T.unsafe(nil)); end # Returns the line number for current charpos. @@ -3314,7 +3314,7 @@ class Kramdown::Utils::StringScanner < ::StringScanner # NOTE: Normally we'd have to add one to the count of newlines to get the correct line number. # However we add the one indirectly by using a one-based start_line_number. # - # source://kramdown//lib/kramdown/utils/string_scanner.rb#67 + # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:67 def current_line_number; end # Sets the byte position of the scan pointer. @@ -3322,12 +3322,12 @@ class Kramdown::Utils::StringScanner < ::StringScanner # Note: This also resets some internal variables, so always use pos= when setting the position # and don't use any other method for that! # - # source://kramdown//lib/kramdown/utils/string_scanner.rb#37 + # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:37 def pos=(pos); end # Revert the position to one saved by #save_pos. # - # source://kramdown//lib/kramdown/utils/string_scanner.rb#56 + # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:56 def revert_pos(data); end # Return information needed to revert the byte position of the string scanner in a performant @@ -3337,17 +3337,17 @@ class Kramdown::Utils::StringScanner < ::StringScanner # # Note: Just saving #pos won't be enough. # - # source://kramdown//lib/kramdown/utils/string_scanner.rb#51 + # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:51 def save_pos; end # The start line number. Used for nested StringScanners that scan a sub-string of the source # document. The kramdown parser uses this, e.g., for span level parsers. # - # source://kramdown//lib/kramdown/utils/string_scanner.rb#21 + # pkg:gem/kramdown#lib/kramdown/utils/string_scanner.rb:21 def start_line_number; end end # The kramdown version. # -# source://kramdown//lib/kramdown/version.rb#13 +# pkg:gem/kramdown#lib/kramdown/version.rb:13 Kramdown::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/kredis@1.8.0.rbi b/sorbet/rbi/gems/kredis@1.8.0.rbi index 00f64aa17..856e58b69 100644 --- a/sorbet/rbi/gems/kredis@1.8.0.rbi +++ b/sorbet/rbi/gems/kredis@1.8.0.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem kredis`. -# source://kredis//lib/kredis/version.rb#1 +# pkg:gem/kredis#lib/kredis/version.rb:1 module Kredis include ::Kredis::Types include ::Kredis::TypeCasting @@ -17,28 +17,28 @@ module Kredis extend ::Kredis::Connections extend ::Kredis - # source://kredis//lib/kredis.rb#31 + # pkg:gem/kredis#lib/kredis.rb:31 def instrument(channel, **options, &block); end - # source://kredis//lib/kredis.rb#25 + # pkg:gem/kredis#lib/kredis.rb:25 def logger; end - # source://kredis//lib/kredis.rb#25 + # pkg:gem/kredis#lib/kredis.rb:25 def logger=(val); end - # source://kredis//lib/kredis.rb#27 + # pkg:gem/kredis#lib/kredis.rb:27 def redis(config: T.unsafe(nil)); end class << self - # source://kredis//lib/kredis.rb#25 + # pkg:gem/kredis#lib/kredis.rb:25 def logger; end - # source://kredis//lib/kredis.rb#25 + # pkg:gem/kredis#lib/kredis.rb:25 def logger=(val); end end end -# source://kredis//lib/kredis/attributes.rb#3 +# pkg:gem/kredis#lib/kredis/attributes.rb:3 module Kredis::Attributes extend ::ActiveSupport::Concern @@ -46,697 +46,697 @@ module Kredis::Attributes private - # source://kredis//lib/kredis/attributes.rb#123 + # pkg:gem/kredis#lib/kredis/attributes.rb:123 def enrich_after_change_with_record_access(type, original_after_change); end - # source://kredis//lib/kredis/attributes.rb#119 + # pkg:gem/kredis#lib/kredis/attributes.rb:119 def extract_kredis_id; end - # source://kredis//lib/kredis/attributes.rb#130 + # pkg:gem/kredis#lib/kredis/attributes.rb:130 def kredis_default_evaluated(default); end - # source://kredis//lib/kredis/attributes.rb#107 + # pkg:gem/kredis#lib/kredis/attributes.rb:107 def kredis_key_evaluated(key); end - # source://kredis//lib/kredis/attributes.rb#115 + # pkg:gem/kredis#lib/kredis/attributes.rb:115 def kredis_key_for_attribute(name); end end -# source://kredis//lib/kredis/attributes.rb#6 +# pkg:gem/kredis#lib/kredis/attributes.rb:6 module Kredis::Attributes::ClassMethods - # source://kredis//lib/kredis/attributes.rb#83 + # pkg:gem/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 - # source://kredis//lib/kredis/attributes.rb#71 + # pkg:gem/kredis#lib/kredis/attributes.rb:71 def kredis_counter(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#23 + # pkg:gem/kredis#lib/kredis/attributes.rb:23 def kredis_datetime(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#19 + # pkg:gem/kredis#lib/kredis/attributes.rb:19 def kredis_decimal(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#39 + # pkg:gem/kredis#lib/kredis/attributes.rb:39 def kredis_enum(name, values:, default:, key: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#27 + # pkg:gem/kredis#lib/kredis/attributes.rb:27 def kredis_flag(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#35 + # pkg:gem/kredis#lib/kredis/attributes.rb:35 def kredis_float(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#79 + # pkg:gem/kredis#lib/kredis/attributes.rb:79 def kredis_hash(name, key: T.unsafe(nil), default: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#15 + # pkg:gem/kredis#lib/kredis/attributes.rb:15 def kredis_integer(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#43 + # pkg:gem/kredis#lib/kredis/attributes.rb:43 def kredis_json(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#75 + # pkg:gem/kredis#lib/kredis/attributes.rb:75 def kredis_limiter(name, limit:, key: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#47 + # pkg:gem/kredis#lib/kredis/attributes.rb:47 def kredis_list(name, key: T.unsafe(nil), default: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#59 + # pkg:gem/kredis#lib/kredis/attributes.rb:59 def kredis_ordered_set(name, limit: T.unsafe(nil), default: T.unsafe(nil), key: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#7 + # pkg:gem/kredis#lib/kredis/attributes.rb:7 def kredis_proxy(name, key: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#55 + # pkg:gem/kredis#lib/kredis/attributes.rb:55 def kredis_set(name, key: T.unsafe(nil), default: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#63 + # pkg:gem/kredis#lib/kredis/attributes.rb:63 def kredis_slot(name, key: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#67 + # pkg:gem/kredis#lib/kredis/attributes.rb:67 def kredis_slots(name, available:, key: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#11 + # pkg:gem/kredis#lib/kredis/attributes.rb:11 def kredis_string(name, key: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/attributes.rb#51 + # pkg:gem/kredis#lib/kredis/attributes.rb:51 def kredis_unique_list(name, limit: T.unsafe(nil), key: T.unsafe(nil), default: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end private - # source://kredis//lib/kredis/attributes.rb#88 + # pkg:gem/kredis#lib/kredis/attributes.rb:88 def kredis_connection_with(method, name, key, **options); end end -# source://kredis//lib/kredis/connections.rb#5 +# pkg:gem/kredis#lib/kredis/connections.rb:5 module Kredis::Connections - # source://kredis//lib/kredis/connections.rb#25 + # pkg:gem/kredis#lib/kredis/connections.rb:25 def clear_all; end - # source://kredis//lib/kredis/connections.rb#10 + # pkg:gem/kredis#lib/kredis/connections.rb:10 def configurator; end - # source://kredis//lib/kredis/connections.rb#10 + # pkg:gem/kredis#lib/kredis/connections.rb:10 def configurator=(val); end - # source://kredis//lib/kredis/connections.rb#13 + # pkg:gem/kredis#lib/kredis/connections.rb:13 def configured_for(name); end - # source://kredis//lib/kredis/connections.rb#9 + # pkg:gem/kredis#lib/kredis/connections.rb:9 def connections; end - # source://kredis//lib/kredis/connections.rb#9 + # pkg:gem/kredis#lib/kredis/connections.rb:9 def connections=(val); end - # source://kredis//lib/kredis/connections.rb#11 + # pkg:gem/kredis#lib/kredis/connections.rb:11 def connector; end - # source://kredis//lib/kredis/connections.rb#11 + # pkg:gem/kredis#lib/kredis/connections.rb:11 def connector=(val); end class << self - # source://kredis//lib/kredis/connections.rb#10 + # pkg:gem/kredis#lib/kredis/connections.rb:10 def configurator; end - # source://kredis//lib/kredis/connections.rb#10 + # pkg:gem/kredis#lib/kredis/connections.rb:10 def configurator=(val); end - # source://kredis//lib/kredis/connections.rb#9 + # pkg:gem/kredis#lib/kredis/connections.rb:9 def connections; end - # source://kredis//lib/kredis/connections.rb#9 + # pkg:gem/kredis#lib/kredis/connections.rb:9 def connections=(val); end - # source://kredis//lib/kredis/connections.rb#11 + # pkg:gem/kredis#lib/kredis/connections.rb:11 def connector; end - # source://kredis//lib/kredis/connections.rb#11 + # pkg:gem/kredis#lib/kredis/connections.rb:11 def connector=(val); end end end -# source://kredis//lib/kredis/connections.rb#7 +# pkg:gem/kredis#lib/kredis/connections.rb:7 Kredis::Connections::DEFAULT_REDIS_TIMEOUT = T.let(T.unsafe(nil), Integer) -# source://kredis//lib/kredis/connections.rb#6 +# pkg:gem/kredis#lib/kredis/connections.rb:6 Kredis::Connections::DEFAULT_REDIS_URL = T.let(T.unsafe(nil), String) -# source://kredis//lib/kredis/default_values.rb#3 +# pkg:gem/kredis#lib/kredis/default_values.rb:3 module Kredis::DefaultValues extend ::ActiveSupport::Concern - # source://kredis//lib/kredis/default_values.rb#25 + # pkg:gem/kredis#lib/kredis/default_values.rb:25 def initialize(*_arg0, **_arg1, &_arg2); end end -# source://kredis//lib/kredis/log_subscriber.rb#5 +# pkg:gem/kredis#lib/kredis/log_subscriber.rb:5 class Kredis::LogSubscriber < ::ActiveSupport::LogSubscriber - # source://kredis//lib/kredis/log_subscriber.rb#14 + # pkg:gem/kredis#lib/kredis/log_subscriber.rb:14 def meta(event); end - # source://kredis//lib/kredis/log_subscriber.rb#10 + # pkg:gem/kredis#lib/kredis/log_subscriber.rb:10 def migration(event); end - # source://kredis//lib/kredis/log_subscriber.rb#6 + # pkg:gem/kredis#lib/kredis/log_subscriber.rb:6 def proxy(event); end private - # source://kredis//lib/kredis/log_subscriber.rb#19 + # pkg:gem/kredis#lib/kredis/log_subscriber.rb:19 def formatted_in(color, event, type: T.unsafe(nil)); end end -# source://kredis//lib/kredis/migration.rb#5 +# pkg:gem/kredis#lib/kredis/migration.rb:5 class Kredis::Migration # @return [Migration] a new instance of Migration # - # source://kredis//lib/kredis/migration.rb#8 + # pkg:gem/kredis#lib/kredis/migration.rb:8 def initialize(config = T.unsafe(nil)); end - # source://kredis//lib/kredis/migration.rb#35 + # pkg:gem/kredis#lib/kredis/migration.rb:35 def delete_all(*key_patterns); end - # source://kredis//lib/kredis/migration.rb#23 + # pkg:gem/kredis#lib/kredis/migration.rb:23 def migrate(from:, to:, pipeline: T.unsafe(nil)); end - # source://kredis//lib/kredis/migration.rb#14 + # pkg:gem/kredis#lib/kredis/migration.rb:14 def migrate_all(key_pattern); end private - # source://kredis//lib/kredis/migration.rb#50 + # pkg:gem/kredis#lib/kredis/migration.rb:50 def each_key_batch_matching(key_pattern, &block); end - # source://kredis//lib/kredis/migration.rb#58 + # pkg:gem/kredis#lib/kredis/migration.rb:58 def log_migration(message, &block); end class << self - # source://kredis//lib/kredis/migration.rb#6 + # pkg:gem/kredis#lib/kredis/migration.rb:6 def delete_all(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/migration.rb#6 + # pkg:gem/kredis#lib/kredis/migration.rb:6 def migrate(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/migration.rb#6 + # pkg:gem/kredis#lib/kredis/migration.rb:6 def migrate_all(*_arg0, **_arg1, &_arg2); end end end -# source://kredis//lib/kredis/migration.rb#48 +# pkg:gem/kredis#lib/kredis/migration.rb:48 Kredis::Migration::SCAN_BATCH_SIZE = T.let(T.unsafe(nil), Integer) -# source://kredis//lib/kredis/namespace.rb#3 +# pkg:gem/kredis#lib/kredis/namespace.rb:3 module Kredis::Namespace # Returns the value of attribute global_namespace. # - # source://kredis//lib/kredis/namespace.rb#4 + # pkg:gem/kredis#lib/kredis/namespace.rb:4 def global_namespace; end # Sets the attribute global_namespace # # @param value the value to set the attribute global_namespace to. # - # source://kredis//lib/kredis/namespace.rb#4 + # pkg:gem/kredis#lib/kredis/namespace.rb:4 def global_namespace=(_arg0); end - # source://kredis//lib/kredis/namespace.rb#6 + # pkg:gem/kredis#lib/kredis/namespace.rb:6 def namespace; end # Backward compatibility # - # source://kredis//lib/kredis/namespace.rb#27 + # pkg:gem/kredis#lib/kredis/namespace.rb:27 def namespace=(value); end - # source://kredis//lib/kredis/namespace.rb#29 + # pkg:gem/kredis#lib/kredis/namespace.rb:29 def namespaced_key(key); end - # source://kredis//lib/kredis/namespace.rb#18 + # pkg:gem/kredis#lib/kredis/namespace.rb:18 def thread_namespace; end - # source://kredis//lib/kredis/namespace.rb#22 + # pkg:gem/kredis#lib/kredis/namespace.rb:22 def thread_namespace=(value); end end -# source://kredis//lib/kredis/railtie.rb#3 +# pkg:gem/kredis#lib/kredis/railtie.rb:3 class Kredis::Railtie < ::Rails::Railtie; end -# source://kredis//lib/kredis/type/boolean.rb#4 +# pkg:gem/kredis#lib/kredis/type/boolean.rb:4 module Kredis::Type; end -# source://kredis//lib/kredis/type/boolean.rb#5 +# pkg:gem/kredis#lib/kredis/type/boolean.rb:5 class Kredis::Type::Boolean < ::ActiveModel::Type::Boolean - # source://kredis//lib/kredis/type/boolean.rb#6 + # pkg:gem/kredis#lib/kredis/type/boolean.rb:6 def serialize(value); end end -# source://kredis//lib/kredis/type/datetime.rb#5 +# pkg:gem/kredis#lib/kredis/type/datetime.rb:5 class Kredis::Type::DateTime < ::ActiveModel::Type::DateTime - # source://kredis//lib/kredis/type/datetime.rb#10 + # pkg:gem/kredis#lib/kredis/type/datetime.rb:10 def cast_value(value); end - # source://kredis//lib/kredis/type/datetime.rb#6 + # pkg:gem/kredis#lib/kredis/type/datetime.rb:6 def serialize(value); end end -# source://kredis//lib/kredis/type/json.rb#5 +# pkg:gem/kredis#lib/kredis/type/json.rb:5 class Kredis::Type::Json < ::ActiveModel::Type::Value - # source://kredis//lib/kredis/type/json.rb#10 + # pkg:gem/kredis#lib/kredis/type/json.rb:10 def cast_value(value); end - # source://kredis//lib/kredis/type/json.rb#14 + # pkg:gem/kredis#lib/kredis/type/json.rb:14 def serialize(value); end - # source://kredis//lib/kredis/type/json.rb#6 + # pkg:gem/kredis#lib/kredis/type/json.rb:6 def type; end end -# source://kredis//lib/kredis/type_casting.rb#9 +# pkg:gem/kredis#lib/kredis/type_casting.rb:9 module Kredis::TypeCasting # @raise [InvalidType] # - # source://kredis//lib/kredis/type_casting.rb#28 + # pkg:gem/kredis#lib/kredis/type_casting.rb:28 def string_to_type(value, type); end - # source://kredis//lib/kredis/type_casting.rb#38 + # pkg:gem/kredis#lib/kredis/type_casting.rb:38 def strings_to_types(values, type); end # @raise [InvalidType] # - # source://kredis//lib/kredis/type_casting.rb#22 + # pkg:gem/kredis#lib/kredis/type_casting.rb:22 def type_to_string(value, type); end - # source://kredis//lib/kredis/type_casting.rb#34 + # pkg:gem/kredis#lib/kredis/type_casting.rb:34 def types_to_strings(values, type); end end -# source://kredis//lib/kredis/type_casting.rb#10 +# pkg:gem/kredis#lib/kredis/type_casting.rb:10 class Kredis::TypeCasting::InvalidType < ::StandardError; end -# source://kredis//lib/kredis/type_casting.rb#12 +# pkg:gem/kredis#lib/kredis/type_casting.rb:12 Kredis::TypeCasting::TYPES = T.let(T.unsafe(nil), Hash) -# source://kredis//lib/kredis/types.rb#3 +# pkg:gem/kredis#lib/kredis/types.rb:3 module Kredis::Types - # source://kredis//lib/kredis/types.rb#31 + # pkg:gem/kredis#lib/kredis/types.rb:31 def boolean(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#44 + # pkg:gem/kredis#lib/kredis/types.rb:44 def counter(key, expires_in: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#48 + # pkg:gem/kredis#lib/kredis/types.rb:48 def cycle(key, values:, expires_in: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#35 + # pkg:gem/kredis#lib/kredis/types.rb:35 def datetime(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#23 + # pkg:gem/kredis#lib/kredis/types.rb:23 def decimal(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#56 + # pkg:gem/kredis#lib/kredis/types.rb:56 def enum(key, values:, default:, config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#52 + # pkg:gem/kredis#lib/kredis/types.rb:52 def flag(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#27 + # pkg:gem/kredis#lib/kredis/types.rb:27 def float(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#60 + # pkg:gem/kredis#lib/kredis/types.rb:60 def hash(key, typed: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#19 + # pkg:gem/kredis#lib/kredis/types.rb:19 def integer(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#39 + # pkg:gem/kredis#lib/kredis/types.rb:39 def json(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#88 + # pkg:gem/kredis#lib/kredis/types.rb:88 def limiter(key, limit:, expires_in: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#64 + # pkg:gem/kredis#lib/kredis/types.rb:64 def list(key, default: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#76 + # pkg:gem/kredis#lib/kredis/types.rb:76 def ordered_set(key, default: T.unsafe(nil), typed: T.unsafe(nil), limit: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#6 + # pkg:gem/kredis#lib/kredis/types.rb:6 def proxy(key, config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#11 + # pkg:gem/kredis#lib/kredis/types.rb:11 def scalar(key, typed: T.unsafe(nil), default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#72 + # pkg:gem/kredis#lib/kredis/types.rb:72 def set(key, default: T.unsafe(nil), typed: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#80 + # pkg:gem/kredis#lib/kredis/types.rb:80 def slot(key, config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#84 + # pkg:gem/kredis#lib/kredis/types.rb:84 def slots(key, available:, config: T.unsafe(nil), after_change: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#15 + # pkg:gem/kredis#lib/kredis/types.rb:15 def string(key, default: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil), expires_in: T.unsafe(nil)); end - # source://kredis//lib/kredis/types.rb#68 + # pkg:gem/kredis#lib/kredis/types.rb:68 def unique_list(key, default: T.unsafe(nil), typed: T.unsafe(nil), limit: T.unsafe(nil), config: T.unsafe(nil), after_change: T.unsafe(nil)); end private - # source://kredis//lib/kredis/types.rb#93 + # pkg:gem/kredis#lib/kredis/types.rb:93 def type_from(type_klass, config, key, after_change: T.unsafe(nil), **options); end end -# source://kredis//lib/kredis/types/callbacks_proxy.rb#3 +# pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:3 class Kredis::Types::CallbacksProxy # @return [CallbacksProxy] a new instance of CallbacksProxy # - # source://kredis//lib/kredis/types/callbacks_proxy.rb#20 + # pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:20 def initialize(type, callback); end - # source://kredis//lib/kredis/types/callbacks_proxy.rb#24 + # pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:24 def method_missing(method, *args, **kwargs, &block); end - # source://kredis//lib/kredis/types/callbacks_proxy.rb#5 + # pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:5 def to_s(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute type. # - # source://kredis//lib/kredis/types/callbacks_proxy.rb#4 + # pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:4 def type; end private - # source://kredis//lib/kredis/types/callbacks_proxy.rb#31 + # pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:31 def invoke_suitable_after_change_callback_for(method); end end -# source://kredis//lib/kredis/types/callbacks_proxy.rb#7 +# pkg:gem/kredis#lib/kredis/types/callbacks_proxy.rb:7 Kredis::Types::CallbacksProxy::AFTER_CHANGE_OPERATIONS = T.let(T.unsafe(nil), Hash) -# source://kredis//lib/kredis/types/counter.rb#3 +# pkg:gem/kredis#lib/kredis/types/counter.rb:3 class Kredis::Types::Counter < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/counter.rb#6 + # pkg:gem/kredis#lib/kredis/types/counter.rb:6 def decrby(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#17 + # pkg:gem/kredis#lib/kredis/types/counter.rb:17 def decrement(by: T.unsafe(nil)); end - # source://kredis//lib/kredis/types/counter.rb#4 + # pkg:gem/kredis#lib/kredis/types/counter.rb:4 def default; end - # source://kredis//lib/kredis/types/counter.rb#4 + # pkg:gem/kredis#lib/kredis/types/counter.rb:4 def default=(_arg0); end - # source://kredis//lib/kredis/types/counter.rb#6 + # pkg:gem/kredis#lib/kredis/types/counter.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#4 + # pkg:gem/kredis#lib/kredis/types/counter.rb:4 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. # - # source://kredis//lib/kredis/types/counter.rb#8 + # pkg:gem/kredis#lib/kredis/types/counter.rb:8 def expires_in; end # Sets the attribute expires_in # # @param value the value to set the attribute expires_in to. # - # source://kredis//lib/kredis/types/counter.rb#8 + # pkg:gem/kredis#lib/kredis/types/counter.rb:8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/counter.rb#6 + # pkg:gem/kredis#lib/kredis/types/counter.rb:6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#6 + # pkg:gem/kredis#lib/kredis/types/counter.rb:6 def incrby(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#10 + # pkg:gem/kredis#lib/kredis/types/counter.rb:10 def increment(by: T.unsafe(nil)); end - # source://kredis//lib/kredis/types/counter.rb#6 + # pkg:gem/kredis#lib/kredis/types/counter.rb:6 def multi(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#28 + # pkg:gem/kredis#lib/kredis/types/counter.rb:28 def reset; end - # source://kredis//lib/kredis/types/counter.rb#6 + # pkg:gem/kredis#lib/kredis/types/counter.rb:6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#4 + # pkg:gem/kredis#lib/kredis/types/counter.rb:4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/counter.rb#24 + # pkg:gem/kredis#lib/kredis/types/counter.rb:24 def value; end - # source://kredis//lib/kredis/types/counter.rb#4 + # pkg:gem/kredis#lib/kredis/types/counter.rb:4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/counter.rb#4 + # pkg:gem/kredis#lib/kredis/types/counter.rb:4 def set_default; end end -# source://kredis//lib/kredis/types/cycle.rb#3 +# pkg:gem/kredis#lib/kredis/types/cycle.rb:3 class Kredis::Types::Cycle < ::Kredis::Types::Counter - # source://kredis//lib/kredis/types/cycle.rb#6 + # pkg:gem/kredis#lib/kredis/types/cycle.rb:6 def index; end - # source://kredis//lib/kredis/types/cycle.rb#12 + # pkg:gem/kredis#lib/kredis/types/cycle.rb:12 def next; end - # source://kredis//lib/kredis/types/cycle.rb#8 + # pkg:gem/kredis#lib/kredis/types/cycle.rb:8 def value; end # Returns the value of attribute values. # - # source://kredis//lib/kredis/types/cycle.rb#4 + # pkg:gem/kredis#lib/kredis/types/cycle.rb:4 def values; end # Sets the attribute values # # @param value the value to set the attribute values to. # - # source://kredis//lib/kredis/types/cycle.rb#4 + # pkg:gem/kredis#lib/kredis/types/cycle.rb:4 def values=(_arg0); end end -# source://kredis//lib/kredis/types/enum.rb#5 +# pkg:gem/kredis#lib/kredis/types/enum.rb:5 class Kredis::Types::Enum < ::Kredis::Types::Proxying include ::Kredis::DefaultValues # @return [Enum] a new instance of Enum # - # source://kredis//lib/kredis/types/enum.rb#14 + # pkg:gem/kredis#lib/kredis/types/enum.rb:14 def initialize(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#6 + # pkg:gem/kredis#lib/kredis/types/enum.rb:6 def default; end - # source://kredis//lib/kredis/types/enum.rb#6 + # pkg:gem/kredis#lib/kredis/types/enum.rb:6 def default=(_arg0); end - # source://kredis//lib/kredis/types/enum.rb#10 + # pkg:gem/kredis#lib/kredis/types/enum.rb:10 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#6 + # pkg:gem/kredis#lib/kredis/types/enum.rb:6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#10 + # pkg:gem/kredis#lib/kredis/types/enum.rb:10 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#10 + # pkg:gem/kredis#lib/kredis/types/enum.rb:10 def multi(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#29 + # pkg:gem/kredis#lib/kredis/types/enum.rb:29 def reset; end - # source://kredis//lib/kredis/types/enum.rb#10 + # pkg:gem/kredis#lib/kredis/types/enum.rb:10 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#6 + # pkg:gem/kredis#lib/kredis/types/enum.rb:6 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/enum.rb#25 + # pkg:gem/kredis#lib/kredis/types/enum.rb:25 def value; end - # source://kredis//lib/kredis/types/enum.rb#19 + # pkg:gem/kredis#lib/kredis/types/enum.rb:19 def value=(value); end # Returns the value of attribute values. # - # source://kredis//lib/kredis/types/enum.rb#12 + # pkg:gem/kredis#lib/kredis/types/enum.rb:12 def values; end # Sets the attribute values # # @param value the value to set the attribute values to. # - # source://kredis//lib/kredis/types/enum.rb#12 + # pkg:gem/kredis#lib/kredis/types/enum.rb:12 def values=(_arg0); end - # source://kredis//lib/kredis/types/enum.rb#6 + # pkg:gem/kredis#lib/kredis/types/enum.rb:6 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/enum.rb#37 + # pkg:gem/kredis#lib/kredis/types/enum.rb:37 def define_predicates_for_values; end - # source://kredis//lib/kredis/types/enum.rb#6 + # pkg:gem/kredis#lib/kredis/types/enum.rb:6 def set_default; end end -# source://kredis//lib/kredis/types/enum.rb#8 +# pkg:gem/kredis#lib/kredis/types/enum.rb:8 class Kredis::Types::Enum::InvalidDefault < ::StandardError; end -# source://kredis//lib/kredis/types/flag.rb#3 +# pkg:gem/kredis#lib/kredis/types/flag.rb:3 class Kredis::Types::Flag < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/flag.rb#4 + # pkg:gem/kredis#lib/kredis/types/flag.rb:4 def default; end - # source://kredis//lib/kredis/types/flag.rb#4 + # pkg:gem/kredis#lib/kredis/types/flag.rb:4 def default=(_arg0); end - # source://kredis//lib/kredis/types/flag.rb#6 + # pkg:gem/kredis#lib/kredis/types/flag.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/flag.rb#4 + # pkg:gem/kredis#lib/kredis/types/flag.rb:4 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. # - # source://kredis//lib/kredis/types/flag.rb#8 + # pkg:gem/kredis#lib/kredis/types/flag.rb:8 def expires_in; end # Sets the attribute expires_in # # @param value the value to set the attribute expires_in to. # - # source://kredis//lib/kredis/types/flag.rb#8 + # pkg:gem/kredis#lib/kredis/types/flag.rb:8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/flag.rb#10 + # pkg:gem/kredis#lib/kredis/types/flag.rb:10 def mark(expires_in: T.unsafe(nil), force: T.unsafe(nil)); end # @return [Boolean] # - # source://kredis//lib/kredis/types/flag.rb#14 + # pkg:gem/kredis#lib/kredis/types/flag.rb:14 def marked?; end - # source://kredis//lib/kredis/types/flag.rb#18 + # pkg:gem/kredis#lib/kredis/types/flag.rb:18 def remove; end - # source://kredis//lib/kredis/types/flag.rb#6 + # pkg:gem/kredis#lib/kredis/types/flag.rb:6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/flag.rb#4 + # pkg:gem/kredis#lib/kredis/types/flag.rb:4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/flag.rb#4 + # pkg:gem/kredis#lib/kredis/types/flag.rb:4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/flag.rb#4 + # pkg:gem/kredis#lib/kredis/types/flag.rb:4 def set_default; end end -# source://kredis//lib/kredis/types/hash.rb#5 +# pkg:gem/kredis#lib/kredis/types/hash.rb:5 class Kredis::Types::Hash < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/hash.rb#12 + # pkg:gem/kredis#lib/kredis/types/hash.rb:12 def [](key); end - # source://kredis//lib/kredis/types/hash.rb#16 + # pkg:gem/kredis#lib/kredis/types/hash.rb:16 def []=(key, value); end - # source://kredis//lib/kredis/types/hash.rb#35 + # pkg:gem/kredis#lib/kredis/types/hash.rb:35 def clear; end - # source://kredis//lib/kredis/types/hash.rb#6 + # pkg:gem/kredis#lib/kredis/types/hash.rb:6 def default; end - # source://kredis//lib/kredis/types/hash.rb#6 + # pkg:gem/kredis#lib/kredis/types/hash.rb:6 def default=(_arg0); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#28 + # pkg:gem/kredis#lib/kredis/types/hash.rb:28 def delete(*keys); end - # source://kredis//lib/kredis/types/hash.rb#37 + # pkg:gem/kredis#lib/kredis/types/hash.rb:37 def entries; end - # source://kredis//lib/kredis/types/hash.rb#6 + # pkg:gem/kredis#lib/kredis/types/hash.rb:6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hdel(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hget(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hgetall(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hkeys(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hmget(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hset(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#8 + # pkg:gem/kredis#lib/kredis/types/hash.rb:8 def hvals(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#42 + # pkg:gem/kredis#lib/kredis/types/hash.rb:42 def keys; end - # source://kredis//lib/kredis/types/hash.rb#32 + # pkg:gem/kredis#lib/kredis/types/hash.rb:32 def remove; end - # source://kredis//lib/kredis/types/hash.rb#40 + # pkg:gem/kredis#lib/kredis/types/hash.rb:40 def to_h; end # Returns the value of attribute typed. # - # source://kredis//lib/kredis/types/hash.rb#10 + # pkg:gem/kredis#lib/kredis/types/hash.rb:10 def typed; end # Sets the attribute typed # # @param value the value to set the attribute typed to. # - # source://kredis//lib/kredis/types/hash.rb#10 + # pkg:gem/kredis#lib/kredis/types/hash.rb:10 def typed=(_arg0); end - # source://kredis//lib/kredis/types/hash.rb#6 + # pkg:gem/kredis#lib/kredis/types/hash.rb:6 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/hash.rb#20 + # pkg:gem/kredis#lib/kredis/types/hash.rb:20 def update(**entries); end - # source://kredis//lib/kredis/types/hash.rb#46 + # pkg:gem/kredis#lib/kredis/types/hash.rb:46 def values; end - # source://kredis//lib/kredis/types/hash.rb#24 + # pkg:gem/kredis#lib/kredis/types/hash.rb:24 def values_at(*keys); end - # source://kredis//lib/kredis/types/hash.rb#6 + # pkg:gem/kredis#lib/kredis/types/hash.rb:6 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/hash.rb#6 + # pkg:gem/kredis#lib/kredis/types/hash.rb:6 def set_default; end end @@ -746,636 +746,636 @@ end # # It offers no guarentee that you can't poke yourself above the limit. You're responsible for checking `#exceeded?` yourself first, and this may produce a race condition. So only use this when the exact number of pokes is not critical. # -# source://kredis//lib/kredis/types/limiter.rb#8 +# pkg:gem/kredis#lib/kredis/types/limiter.rb:8 class Kredis::Types::Limiter < ::Kredis::Types::Counter # @return [Boolean] # - # source://kredis//lib/kredis/types/limiter.rb#19 + # pkg:gem/kredis#lib/kredis/types/limiter.rb:19 def exceeded?; end # Returns the value of attribute limit. # - # source://kredis//lib/kredis/types/limiter.rb#11 + # pkg:gem/kredis#lib/kredis/types/limiter.rb:11 def limit; end # Sets the attribute limit # # @param value the value to set the attribute limit to. # - # source://kredis//lib/kredis/types/limiter.rb#11 + # pkg:gem/kredis#lib/kredis/types/limiter.rb:11 def limit=(_arg0); end - # source://kredis//lib/kredis/types/limiter.rb#13 + # pkg:gem/kredis#lib/kredis/types/limiter.rb:13 def poke; end end -# source://kredis//lib/kredis/types/limiter.rb#9 +# pkg:gem/kredis#lib/kredis/types/limiter.rb:9 class Kredis::Types::Limiter::LimitExceeded < ::StandardError; end -# source://kredis//lib/kredis/types/list.rb#3 +# pkg:gem/kredis#lib/kredis/types/list.rb:3 class Kredis::Types::List < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/list.rb#26 + # pkg:gem/kredis#lib/kredis/types/list.rb:26 def <<(*elements); end - # source://kredis//lib/kredis/types/list.rb#23 + # pkg:gem/kredis#lib/kredis/types/list.rb:23 def append(*elements); end - # source://kredis//lib/kredis/types/list.rb#28 + # pkg:gem/kredis#lib/kredis/types/list.rb:28 def clear; end - # source://kredis//lib/kredis/types/list.rb#4 + # pkg:gem/kredis#lib/kredis/types/list.rb:4 def default; end - # source://kredis//lib/kredis/types/list.rb#4 + # pkg:gem/kredis#lib/kredis/types/list.rb:4 def default=(_arg0); end - # source://kredis//lib/kredis/types/list.rb#6 + # pkg:gem/kredis#lib/kredis/types/list.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#10 + # pkg:gem/kredis#lib/kredis/types/list.rb:10 def elements; end - # source://kredis//lib/kredis/types/list.rb#4 + # pkg:gem/kredis#lib/kredis/types/list.rb:4 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#32 + # pkg:gem/kredis#lib/kredis/types/list.rb:32 def last(n = T.unsafe(nil)); end - # source://kredis//lib/kredis/types/list.rb#6 + # pkg:gem/kredis#lib/kredis/types/list.rb:6 def lpush(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#6 + # pkg:gem/kredis#lib/kredis/types/list.rb:6 def lrange(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#6 + # pkg:gem/kredis#lib/kredis/types/list.rb:6 def lrem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#6 + # pkg:gem/kredis#lib/kredis/types/list.rb:6 def ltrim(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#19 + # pkg:gem/kredis#lib/kredis/types/list.rb:19 def prepend(*elements); end - # source://kredis//lib/kredis/types/list.rb#15 + # pkg:gem/kredis#lib/kredis/types/list.rb:15 def remove(*elements); end - # source://kredis//lib/kredis/types/list.rb#6 + # pkg:gem/kredis#lib/kredis/types/list.rb:6 def rpush(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#13 + # pkg:gem/kredis#lib/kredis/types/list.rb:13 def to_a; end # Returns the value of attribute typed. # - # source://kredis//lib/kredis/types/list.rb#8 + # pkg:gem/kredis#lib/kredis/types/list.rb:8 def typed; end # Sets the attribute typed # # @param value the value to set the attribute typed to. # - # source://kredis//lib/kredis/types/list.rb#8 + # pkg:gem/kredis#lib/kredis/types/list.rb:8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/list.rb#4 + # pkg:gem/kredis#lib/kredis/types/list.rb:4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/list.rb#4 + # pkg:gem/kredis#lib/kredis/types/list.rb:4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/list.rb#4 + # pkg:gem/kredis#lib/kredis/types/list.rb:4 def set_default; end end -# source://kredis//lib/kredis/types/ordered_set.rb#3 +# pkg:gem/kredis#lib/kredis/types/ordered_set.rb:3 class Kredis::Types::OrderedSet < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/ordered_set.rb#31 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:31 def <<(elements); end - # source://kredis//lib/kredis/types/ordered_set.rb#28 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:28 def append(elements); end - # source://kredis//lib/kredis/types/ordered_set.rb#4 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:4 def default; end - # source://kredis//lib/kredis/types/ordered_set.rb#4 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:4 def default=(_arg0); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#11 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:11 def elements; end - # source://kredis//lib/kredis/types/ordered_set.rb#4 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:4 def exists?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://kredis//lib/kredis/types/ordered_set.rb#20 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:20 def include?(element); end # Returns the value of attribute limit. # - # source://kredis//lib/kredis/types/ordered_set.rb#9 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:9 def limit; end - # source://kredis//lib/kredis/types/ordered_set.rb#33 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:33 def limit=(limit); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def multi(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#24 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:24 def prepend(elements); end - # source://kredis//lib/kredis/types/ordered_set.rb#16 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:16 def remove(*elements); end - # source://kredis//lib/kredis/types/ordered_set.rb#14 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:14 def to_a; end # Returns the value of attribute typed. # - # source://kredis//lib/kredis/types/ordered_set.rb#8 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:8 def typed; end # Sets the attribute typed # # @param value the value to set the attribute typed to. # - # source://kredis//lib/kredis/types/ordered_set.rb#8 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/ordered_set.rb#4 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#4 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:4 def watch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def zadd(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def zcard(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def zrange(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def zrem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def zremrangebyrank(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/ordered_set.rb#6 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:6 def zscore(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/ordered_set.rb#62 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:62 def base_score; end - # source://kredis//lib/kredis/types/ordered_set.rb#40 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:40 def insert(elements, prepending: T.unsafe(nil)); end - # source://kredis//lib/kredis/types/ordered_set.rb#66 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:66 def process_start_time; end - # source://kredis//lib/kredis/types/ordered_set.rb#70 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:70 def process_uptime; end - # source://kredis//lib/kredis/types/ordered_set.rb#4 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:4 def set_default; end - # source://kredis//lib/kredis/types/ordered_set.rb#74 + # pkg:gem/kredis#lib/kredis/types/ordered_set.rb:74 def trim(from_beginning:); end end -# source://kredis//lib/kredis/types/proxy.rb#3 +# pkg:gem/kredis#lib/kredis/types/proxy.rb:3 class Kredis::Types::Proxy include ::Kredis::Types::Proxy::Failsafe # @return [Proxy] a new instance of Proxy # - # source://kredis//lib/kredis/types/proxy.rb#11 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:11 def initialize(redis, key, **options); end # Returns the value of attribute key. # - # source://kredis//lib/kredis/types/proxy.rb#7 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:7 def key; end # Sets the attribute key # # @param value the value to set the attribute key to. # - # source://kredis//lib/kredis/types/proxy.rb#7 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:7 def key=(_arg0); end - # source://kredis//lib/kredis/types/proxy.rb#35 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:35 def method_missing(method, *args, **kwargs); end - # source://kredis//lib/kredis/types/proxy.rb#16 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:16 def multi(*args, **kwargs, &block); end - # source://kredis//lib/kredis/types/proxy.rb#9 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:9 def pipeline; end - # source://kredis//lib/kredis/types/proxy.rb#9 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:9 def pipeline=(obj); end - # source://kredis//lib/kredis/types/proxy.rb#31 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:31 def unwatch; end - # source://kredis//lib/kredis/types/proxy.rb#25 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:25 def watch(&block); end private - # source://kredis//lib/kredis/types/proxy.rb#48 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:48 def log_message(method, *args, **kwargs); end - # source://kredis//lib/kredis/types/proxy.rb#44 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:44 def redis; end class << self - # source://kredis//lib/kredis/types/proxy.rb#9 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:9 def pipeline; end - # source://kredis//lib/kredis/types/proxy.rb#9 + # pkg:gem/kredis#lib/kredis/types/proxy.rb:9 def pipeline=(obj); end end end -# source://kredis//lib/kredis/types/proxy/failsafe.rb#3 +# pkg:gem/kredis#lib/kredis/types/proxy/failsafe.rb:3 module Kredis::Types::Proxy::Failsafe - # source://kredis//lib/kredis/types/proxy/failsafe.rb#4 + # pkg:gem/kredis#lib/kredis/types/proxy/failsafe.rb:4 def initialize(*_arg0); end - # source://kredis//lib/kredis/types/proxy/failsafe.rb#9 + # pkg:gem/kredis#lib/kredis/types/proxy/failsafe.rb:9 def failsafe; end - # source://kredis//lib/kredis/types/proxy/failsafe.rb#15 + # pkg:gem/kredis#lib/kredis/types/proxy/failsafe.rb:15 def suppress_failsafe_with(returning: T.unsafe(nil)); end private # @return [Boolean] # - # source://kredis//lib/kredis/types/proxy/failsafe.rb#25 + # pkg:gem/kredis#lib/kredis/types/proxy/failsafe.rb:25 def fail_safe_suppressed?; end end -# source://kredis//lib/kredis/types/proxying.rb#5 +# pkg:gem/kredis#lib/kredis/types/proxying.rb:5 class Kredis::Types::Proxying # @return [Proxying] a new instance of Proxying # - # source://kredis//lib/kredis/types/proxying.rb#12 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:12 def initialize(redis, key, **options); end - # source://kredis//lib/kredis/types/proxying.rb#19 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:19 def failsafe(returning: T.unsafe(nil), &block); end # Returns the value of attribute key. # - # source://kredis//lib/kredis/types/proxying.rb#6 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:6 def key; end # Sets the attribute key # # @param value the value to set the attribute key to. # - # source://kredis//lib/kredis/types/proxying.rb#6 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:6 def key=(_arg0); end # Returns the value of attribute proxy. # - # source://kredis//lib/kredis/types/proxying.rb#6 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:6 def proxy; end # Sets the attribute proxy # # @param value the value to set the attribute proxy to. # - # source://kredis//lib/kredis/types/proxying.rb#6 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:6 def proxy=(_arg0); end - # source://kredis//lib/kredis/types/proxying.rb#30 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:30 def string_to_type(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#30 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:30 def strings_to_types(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#30 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:30 def type_to_string(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#30 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:30 def types_to_strings(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/proxying.rb#23 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:23 def unproxied_redis; end class << self - # source://kredis//lib/kredis/types/proxying.rb#8 + # pkg:gem/kredis#lib/kredis/types/proxying.rb:8 def proxying(*commands); end end end -# source://kredis//lib/kredis/types/scalar.rb#3 +# pkg:gem/kredis#lib/kredis/types/scalar.rb:3 class Kredis::Types::Scalar < ::Kredis::Types::Proxying include ::Kredis::DefaultValues # @return [Boolean] # - # source://kredis//lib/kredis/types/scalar.rb#28 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:28 def assigned?; end - # source://kredis//lib/kredis/types/scalar.rb#32 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:32 def clear; end - # source://kredis//lib/kredis/types/scalar.rb#4 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:4 def default; end - # source://kredis//lib/kredis/types/scalar.rb#4 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:4 def default=(_arg0); end - # source://kredis//lib/kredis/types/scalar.rb#6 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/scalar.rb#4 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:4 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/scalar.rb#6 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:6 def expire(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/scalar.rb#40 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:40 def expire_at(datetime); end - # source://kredis//lib/kredis/types/scalar.rb#36 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:36 def expire_in(seconds); end - # source://kredis//lib/kredis/types/scalar.rb#6 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:6 def expireat(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute expires_in. # - # source://kredis//lib/kredis/types/scalar.rb#8 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:8 def expires_in; end # Sets the attribute expires_in # # @param value the value to set the attribute expires_in to. # - # source://kredis//lib/kredis/types/scalar.rb#8 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:8 def expires_in=(_arg0); end - # source://kredis//lib/kredis/types/scalar.rb#6 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/scalar.rb#6 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:6 def set(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/scalar.rb#24 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:24 def to_s; end # Returns the value of attribute typed. # - # source://kredis//lib/kredis/types/scalar.rb#8 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:8 def typed; end # Sets the attribute typed # # @param value the value to set the attribute typed to. # - # source://kredis//lib/kredis/types/scalar.rb#8 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/scalar.rb#4 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/scalar.rb#14 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:14 def value; end - # source://kredis//lib/kredis/types/scalar.rb#10 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:10 def value=(value); end - # source://kredis//lib/kredis/types/scalar.rb#4 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/scalar.rb#4 + # pkg:gem/kredis#lib/kredis/types/scalar.rb:4 def set_default; end end -# source://kredis//lib/kredis/types/set.rb#3 +# pkg:gem/kredis#lib/kredis/types/set.rb:3 class Kredis::Types::Set < ::Kredis::Types::Proxying include ::Kredis::DefaultValues - # source://kredis//lib/kredis/types/set.rb#21 + # pkg:gem/kredis#lib/kredis/types/set.rb:21 def <<(*members); end - # source://kredis//lib/kredis/types/set.rb#18 + # pkg:gem/kredis#lib/kredis/types/set.rb:18 def add(*members); end - # source://kredis//lib/kredis/types/set.rb#46 + # pkg:gem/kredis#lib/kredis/types/set.rb:46 def clear; end - # source://kredis//lib/kredis/types/set.rb#4 + # pkg:gem/kredis#lib/kredis/types/set.rb:4 def default; end - # source://kredis//lib/kredis/types/set.rb#4 + # pkg:gem/kredis#lib/kredis/types/set.rb:4 def default=(_arg0); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#4 + # pkg:gem/kredis#lib/kredis/types/set.rb:4 def exists?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://kredis//lib/kredis/types/set.rb#34 + # pkg:gem/kredis#lib/kredis/types/set.rb:34 def include?(member); end - # source://kredis//lib/kredis/types/set.rb#13 + # pkg:gem/kredis#lib/kredis/types/set.rb:13 def members; end - # source://kredis//lib/kredis/types/set.rb#9 + # pkg:gem/kredis#lib/kredis/types/set.rb:9 def move(set, member); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def multi(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#23 + # pkg:gem/kredis#lib/kredis/types/set.rb:23 def remove(*members); end - # source://kredis//lib/kredis/types/set.rb#27 + # pkg:gem/kredis#lib/kredis/types/set.rb:27 def replace(*members); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def sadd(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#50 + # pkg:gem/kredis#lib/kredis/types/set.rb:50 def sample(count = T.unsafe(nil)); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def scard(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def sismember(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#38 + # pkg:gem/kredis#lib/kredis/types/set.rb:38 def size; end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def smembers(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def smove(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def spop(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def srandmember(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#6 + # pkg:gem/kredis#lib/kredis/types/set.rb:6 def srem(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#42 + # pkg:gem/kredis#lib/kredis/types/set.rb:42 def take; end - # source://kredis//lib/kredis/types/set.rb#16 + # pkg:gem/kredis#lib/kredis/types/set.rb:16 def to_a; end # Returns the value of attribute typed. # - # source://kredis//lib/kredis/types/set.rb#8 + # pkg:gem/kredis#lib/kredis/types/set.rb:8 def typed; end # Sets the attribute typed # # @param value the value to set the attribute typed to. # - # source://kredis//lib/kredis/types/set.rb#8 + # pkg:gem/kredis#lib/kredis/types/set.rb:8 def typed=(_arg0); end - # source://kredis//lib/kredis/types/set.rb#4 + # pkg:gem/kredis#lib/kredis/types/set.rb:4 def unwatch(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/set.rb#4 + # pkg:gem/kredis#lib/kredis/types/set.rb:4 def watch(*_arg0, **_arg1, &_arg2); end private - # source://kredis//lib/kredis/types/set.rb#4 + # pkg:gem/kredis#lib/kredis/types/set.rb:4 def set_default; end end -# source://kredis//lib/kredis/types/slots.rb#3 +# pkg:gem/kredis#lib/kredis/types/slots.rb:3 class Kredis::Types::Slots < ::Kredis::Types::Proxying # Returns the value of attribute available. # - # source://kredis//lib/kredis/types/slots.rb#8 + # pkg:gem/kredis#lib/kredis/types/slots.rb:8 def available; end # Sets the attribute available # # @param value the value to set the attribute available to. # - # source://kredis//lib/kredis/types/slots.rb#8 + # pkg:gem/kredis#lib/kredis/types/slots.rb:8 def available=(_arg0); end # @return [Boolean] # - # source://kredis//lib/kredis/types/slots.rb#43 + # pkg:gem/kredis#lib/kredis/types/slots.rb:43 def available?; end - # source://kredis//lib/kredis/types/slots.rb#6 + # pkg:gem/kredis#lib/kredis/types/slots.rb:6 def decr(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/slots.rb#6 + # pkg:gem/kredis#lib/kredis/types/slots.rb:6 def del(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/slots.rb#6 + # pkg:gem/kredis#lib/kredis/types/slots.rb:6 def exists?(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/slots.rb#6 + # pkg:gem/kredis#lib/kredis/types/slots.rb:6 def get(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/slots.rb#6 + # pkg:gem/kredis#lib/kredis/types/slots.rb:6 def incr(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/slots.rb#34 + # pkg:gem/kredis#lib/kredis/types/slots.rb:34 def release; end - # source://kredis//lib/kredis/types/slots.rb#10 + # pkg:gem/kredis#lib/kredis/types/slots.rb:10 def reserve; end - # source://kredis//lib/kredis/types/slots.rb#49 + # pkg:gem/kredis#lib/kredis/types/slots.rb:49 def reset; end - # source://kredis//lib/kredis/types/slots.rb#53 + # pkg:gem/kredis#lib/kredis/types/slots.rb:53 def taken; end end -# source://kredis//lib/kredis/types/slots.rb#4 +# pkg:gem/kredis#lib/kredis/types/slots.rb:4 class Kredis::Types::Slots::NotAvailable < ::StandardError; end # You'd normally call this a set, but Redis already has another data type for that # -# source://kredis//lib/kredis/types/unique_list.rb#4 +# pkg:gem/kredis#lib/kredis/types/unique_list.rb:4 class Kredis::Types::UniqueList < ::Kredis::Types::List - # source://kredis//lib/kredis/types/unique_list.rb#30 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:30 def <<(elements); end - # source://kredis//lib/kredis/types/unique_list.rb#20 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:20 def append(elements); end - # source://kredis//lib/kredis/types/unique_list.rb#5 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:5 def exists?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute limit. # - # source://kredis//lib/kredis/types/unique_list.rb#7 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:7 def limit; end # Sets the attribute limit # # @param value the value to set the attribute limit to. # - # source://kredis//lib/kredis/types/unique_list.rb#7 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:7 def limit=(_arg0); end - # source://kredis//lib/kredis/types/unique_list.rb#5 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:5 def ltrim(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/unique_list.rb#5 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:5 def multi(*_arg0, **_arg1, &_arg2); end - # source://kredis//lib/kredis/types/unique_list.rb#9 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:9 def prepend(elements); end # Returns the value of attribute typed. # - # source://kredis//lib/kredis/types/unique_list.rb#7 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:7 def typed; end # Sets the attribute typed # # @param value the value to set the attribute typed to. # - # source://kredis//lib/kredis/types/unique_list.rb#7 + # pkg:gem/kredis#lib/kredis/types/unique_list.rb:7 def typed=(_arg0); end end -# source://kredis//lib/kredis/version.rb#2 +# pkg:gem/kredis#lib/kredis/version.rb:2 Kredis::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi b/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi index 3bb3bebca..9e4dbfe6e 100644 --- a/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +++ b/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi @@ -5,13 +5,13 @@ # Please instead update this file by running `bin/tapioca gem language_server-protocol`. -# source://language_server-protocol//lib/language_server/protocol/version.rb#1 +# pkg:gem/language_server-protocol#lib/language_server/protocol/version.rb:1 module LanguageServer; end -# source://language_server-protocol//lib/language_server/protocol/version.rb#2 +# pkg:gem/language_server-protocol#lib/language_server/protocol/version.rb:2 module LanguageServer::Protocol; end -# source://language_server-protocol//lib/language_server/protocol/constant.rb#3 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant.rb:3 module LanguageServer::Protocol::Constant; end # The kind of a code action. @@ -23,22 +23,22 @@ module LanguageServer::Protocol::Constant; end # to the server during initialization. # A set of predefined code action kinds. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#14 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:14 module LanguageServer::Protocol::Constant::CodeActionKind; end # Empty kind. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:18 LanguageServer::Protocol::Constant::CodeActionKind::EMPTY = T.let(T.unsafe(nil), String) # Base kind for quickfix actions: 'quickfix'. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#22 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:22 LanguageServer::Protocol::Constant::CodeActionKind::QUICK_FIX = T.let(T.unsafe(nil), String) # Base kind for refactoring actions: 'refactor'. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#26 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:26 LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR = T.let(T.unsafe(nil), String) # Base kind for refactoring extraction actions: 'refactor.extract'. @@ -51,7 +51,7 @@ LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR = T.let(T.unsafe(ni # - Extract interface from class # - ... # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#38 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:38 LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR_EXTRACT = T.let(T.unsafe(nil), String) # Base kind for refactoring inline actions: 'refactor.inline'. @@ -63,7 +63,7 @@ LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR_EXTRACT = T.let(T.u # - Inline constant # - ... # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#49 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:49 LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR_INLINE = T.let(T.unsafe(nil), String) # Base kind for refactoring rewrite actions: 'refactor.rewrite'. @@ -77,14 +77,14 @@ LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR_INLINE = T.let(T.un # - Move method to base class # - ... # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#62 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:62 LanguageServer::Protocol::Constant::CodeActionKind::REFACTOR_REWRITE = T.let(T.unsafe(nil), String) # Base kind for source actions: `source`. # # Source code actions apply to the entire file. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#68 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:68 LanguageServer::Protocol::Constant::CodeActionKind::SOURCE = T.let(T.unsafe(nil), String) # Base kind for a 'fix all' source action: `source.fixAll`. @@ -93,18 +93,18 @@ LanguageServer::Protocol::Constant::CodeActionKind::SOURCE = T.let(T.unsafe(nil) # do not require user input. They should not suppress errors or perform # unsafe fixes such as generating new types or classes. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#81 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:81 LanguageServer::Protocol::Constant::CodeActionKind::SOURCE_FIX_ALL = T.let(T.unsafe(nil), String) # Base kind for an organize imports source action: # `source.organizeImports`. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_kind.rb#73 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_kind.rb:73 LanguageServer::Protocol::Constant::CodeActionKind::SOURCE_ORGANIZE_IMPORTS = T.let(T.unsafe(nil), String) # The reason why code actions were requested. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_trigger_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_trigger_kind.rb:7 module LanguageServer::Protocol::Constant::CodeActionTriggerKind; end # Code actions were requested automatically. @@ -112,161 +112,161 @@ module LanguageServer::Protocol::Constant::CodeActionTriggerKind; end # This typically happens when current selection in a file changes, but can # also be triggered when file content changes. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_trigger_kind.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_trigger_kind.rb:18 LanguageServer::Protocol::Constant::CodeActionTriggerKind::AUTOMATIC = T.let(T.unsafe(nil), Integer) # Code actions were explicitly requested by the user or by an extension. # -# source://language_server-protocol//lib/language_server/protocol/constant/code_action_trigger_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/code_action_trigger_kind.rb:11 LanguageServer::Protocol::Constant::CodeActionTriggerKind::INVOKED = T.let(T.unsafe(nil), Integer) # The kind of a completion entry. # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:7 module LanguageServer::Protocol::Constant::CompletionItemKind; end -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#14 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:14 LanguageServer::Protocol::Constant::CompletionItemKind::CLASS = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#23 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:23 LanguageServer::Protocol::Constant::CompletionItemKind::COLOR = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#28 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:28 LanguageServer::Protocol::Constant::CompletionItemKind::CONSTANT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:11 LanguageServer::Protocol::Constant::CompletionItemKind::CONSTRUCTOR = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:20 LanguageServer::Protocol::Constant::CompletionItemKind::ENUM = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#27 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:27 LanguageServer::Protocol::Constant::CompletionItemKind::ENUM_MEMBER = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#30 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:30 LanguageServer::Protocol::Constant::CompletionItemKind::EVENT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:12 LanguageServer::Protocol::Constant::CompletionItemKind::FIELD = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#24 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:24 LanguageServer::Protocol::Constant::CompletionItemKind::FILE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#26 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:26 LanguageServer::Protocol::Constant::CompletionItemKind::FOLDER = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#10 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:10 LanguageServer::Protocol::Constant::CompletionItemKind::FUNCTION = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:15 LanguageServer::Protocol::Constant::CompletionItemKind::INTERFACE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#21 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:21 LanguageServer::Protocol::Constant::CompletionItemKind::KEYWORD = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:9 LanguageServer::Protocol::Constant::CompletionItemKind::METHOD = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:16 LanguageServer::Protocol::Constant::CompletionItemKind::MODULE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#31 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:31 LanguageServer::Protocol::Constant::CompletionItemKind::OPERATOR = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:17 LanguageServer::Protocol::Constant::CompletionItemKind::PROPERTY = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#25 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:25 LanguageServer::Protocol::Constant::CompletionItemKind::REFERENCE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#22 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:22 LanguageServer::Protocol::Constant::CompletionItemKind::SNIPPET = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#29 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:29 LanguageServer::Protocol::Constant::CompletionItemKind::STRUCT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:8 LanguageServer::Protocol::Constant::CompletionItemKind::TEXT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#32 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:32 LanguageServer::Protocol::Constant::CompletionItemKind::TYPE_PARAMETER = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:18 LanguageServer::Protocol::Constant::CompletionItemKind::UNIT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:19 LanguageServer::Protocol::Constant::CompletionItemKind::VALUE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_kind.rb#13 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_kind.rb:13 LanguageServer::Protocol::Constant::CompletionItemKind::VARIABLE = T.let(T.unsafe(nil), Integer) # Completion item tags are extra annotations that tweak the rendering of a # completion item. # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_tag.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_tag.rb:8 module LanguageServer::Protocol::Constant::CompletionItemTag; end # Render a completion as obsolete, usually using a strike-out. # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_item_tag.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_item_tag.rb:12 LanguageServer::Protocol::Constant::CompletionItemTag::DEPRECATED = T.let(T.unsafe(nil), Integer) # How a completion was triggered # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_trigger_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_trigger_kind.rb:7 module LanguageServer::Protocol::Constant::CompletionTriggerKind; end # Completion was triggered by typing an identifier (24x7 code # complete), manual invocation (e.g Ctrl+Space) or via API. # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_trigger_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_trigger_kind.rb:12 LanguageServer::Protocol::Constant::CompletionTriggerKind::INVOKED = T.let(T.unsafe(nil), Integer) # Completion was triggered by a trigger character specified by # the `triggerCharacters` properties of the # `CompletionRegistrationOptions`. # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_trigger_kind.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_trigger_kind.rb:18 LanguageServer::Protocol::Constant::CompletionTriggerKind::TRIGGER_CHARACTER = T.let(T.unsafe(nil), Integer) # Completion was re-triggered as the current completion list is incomplete. # -# source://language_server-protocol//lib/language_server/protocol/constant/completion_trigger_kind.rb#22 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/completion_trigger_kind.rb:22 LanguageServer::Protocol::Constant::CompletionTriggerKind::TRIGGER_FOR_INCOMPLETE_COMPLETIONS = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_severity.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_severity.rb:4 module LanguageServer::Protocol::Constant::DiagnosticSeverity; end # Reports an error. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_severity.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_severity.rb:8 LanguageServer::Protocol::Constant::DiagnosticSeverity::ERROR = T.let(T.unsafe(nil), Integer) # Reports a hint. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_severity.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_severity.rb:20 LanguageServer::Protocol::Constant::DiagnosticSeverity::HINT = T.let(T.unsafe(nil), Integer) # Reports an information. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_severity.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_severity.rb:16 LanguageServer::Protocol::Constant::DiagnosticSeverity::INFORMATION = T.let(T.unsafe(nil), Integer) # Reports a warning. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_severity.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_severity.rb:12 LanguageServer::Protocol::Constant::DiagnosticSeverity::WARNING = T.let(T.unsafe(nil), Integer) # The diagnostic tags. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_tag.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_tag.rb:7 module LanguageServer::Protocol::Constant::DiagnosticTag; end # Deprecated or obsolete code. # # Clients are allowed to rendered diagnostics with this tag strike through. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_tag.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_tag.rb:20 LanguageServer::Protocol::Constant::DiagnosticTag::DEPRECATED = T.let(T.unsafe(nil), Integer) # Unused or unnecessary code. @@ -274,47 +274,47 @@ LanguageServer::Protocol::Constant::DiagnosticTag::DEPRECATED = T.let(T.unsafe(n # Clients are allowed to render diagnostics with this tag faded out # instead of having an error squiggle. # -# source://language_server-protocol//lib/language_server/protocol/constant/diagnostic_tag.rb#14 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/diagnostic_tag.rb:14 LanguageServer::Protocol::Constant::DiagnosticTag::UNNECESSARY = T.let(T.unsafe(nil), Integer) # The document diagnostic report kinds. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_diagnostic_report_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_diagnostic_report_kind.rb:7 module LanguageServer::Protocol::Constant::DocumentDiagnosticReportKind; end # A diagnostic report with a full # set of problems. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_diagnostic_report_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_diagnostic_report_kind.rb:12 LanguageServer::Protocol::Constant::DocumentDiagnosticReportKind::FULL = T.let(T.unsafe(nil), String) # A report indicating that the last # returned report is still accurate. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_diagnostic_report_kind.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_diagnostic_report_kind.rb:17 LanguageServer::Protocol::Constant::DocumentDiagnosticReportKind::UNCHANGED = T.let(T.unsafe(nil), String) # A document highlight kind. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_highlight_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_highlight_kind.rb:7 module LanguageServer::Protocol::Constant::DocumentHighlightKind; end # Read-access of a symbol, like reading a variable. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_highlight_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_highlight_kind.rb:15 LanguageServer::Protocol::Constant::DocumentHighlightKind::READ = T.let(T.unsafe(nil), Integer) # A textual occurrence. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_highlight_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_highlight_kind.rb:11 LanguageServer::Protocol::Constant::DocumentHighlightKind::TEXT = T.let(T.unsafe(nil), Integer) # Write-access of a symbol, like writing to a variable. # -# source://language_server-protocol//lib/language_server/protocol/constant/document_highlight_kind.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/document_highlight_kind.rb:19 LanguageServer::Protocol::Constant::DocumentHighlightKind::WRITE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:4 module LanguageServer::Protocol::Constant::ErrorCodes; end # The server detected that the content of a document got @@ -326,22 +326,22 @@ module LanguageServer::Protocol::Constant::ErrorCodes; end # If a client decides that a result is not of any use anymore # the client should cancel the request. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#59 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:59 LanguageServer::Protocol::Constant::ErrorCodes::CONTENT_MODIFIED = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:9 LanguageServer::Protocol::Constant::ErrorCodes::INTERNAL_ERROR = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:8 LanguageServer::Protocol::Constant::ErrorCodes::INVALID_PARAMS = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#6 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:6 LanguageServer::Protocol::Constant::ErrorCodes::INVALID_REQUEST = T.let(T.unsafe(nil), Integer) # This is the end range of JSON-RPC reserved error codes. # It doesn't denote a real error code. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#29 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:29 LanguageServer::Protocol::Constant::ErrorCodes::JSONRPC_RESERVED_ERROR_RANGE_END = T.let(T.unsafe(nil), Integer) # This is the start range of JSON-RPC reserved error codes. @@ -350,31 +350,31 @@ LanguageServer::Protocol::Constant::ErrorCodes::JSONRPC_RESERVED_ERROR_RANGE_END # compatibility the `ServerNotInitialized` and the `UnknownErrorCode` # are left in the range. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:17 LanguageServer::Protocol::Constant::ErrorCodes::JSONRPC_RESERVED_ERROR_RANGE_START = T.let(T.unsafe(nil), Integer) # This is the end range of LSP reserved error codes. # It doesn't denote a real error code. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#69 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:69 LanguageServer::Protocol::Constant::ErrorCodes::LSP_RESERVED_ERROR_RANGE_END = T.let(T.unsafe(nil), Integer) # This is the start range of LSP reserved error codes. # It doesn't denote a real error code. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#35 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:35 LanguageServer::Protocol::Constant::ErrorCodes::LSP_RESERVED_ERROR_RANGE_START = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:7 LanguageServer::Protocol::Constant::ErrorCodes::METHOD_NOT_FOUND = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:5 LanguageServer::Protocol::Constant::ErrorCodes::PARSE_ERROR = T.let(T.unsafe(nil), Integer) # The client has canceled a request and a server as detected # the cancel. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#64 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:64 LanguageServer::Protocol::Constant::ErrorCodes::REQUEST_CANCELLED = T.let(T.unsafe(nil), Integer) # A request failed but it was syntactically correct, e.g the @@ -382,152 +382,152 @@ LanguageServer::Protocol::Constant::ErrorCodes::REQUEST_CANCELLED = T.let(T.unsa # message should contain human readable information about why # the request failed. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#42 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:42 LanguageServer::Protocol::Constant::ErrorCodes::REQUEST_FAILED = T.let(T.unsafe(nil), Integer) # The server cancelled the request. This error code should # only be used for requests that explicitly support being # server cancellable. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#48 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:48 LanguageServer::Protocol::Constant::ErrorCodes::SERVER_CANCELLED = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#30 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:30 LanguageServer::Protocol::Constant::ErrorCodes::SERVER_ERROR_END = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:18 LanguageServer::Protocol::Constant::ErrorCodes::SERVER_ERROR_START = T.let(T.unsafe(nil), Integer) # Error code indicating that a server received a notification or # request before the server has received the `initialize` request. # -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#23 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:23 LanguageServer::Protocol::Constant::ErrorCodes::SERVER_NOT_INITIALIZED = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/error_codes.rb#24 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/error_codes.rb:24 LanguageServer::Protocol::Constant::ErrorCodes::UNKNOWN_ERROR_CODE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/failure_handling_kind.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/failure_handling_kind.rb:4 module LanguageServer::Protocol::Constant::FailureHandlingKind; end # Applying the workspace change is simply aborted if one of the changes # provided fails. All operations executed before the failing operation # stay executed. # -# source://language_server-protocol//lib/language_server/protocol/constant/failure_handling_kind.rb#10 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/failure_handling_kind.rb:10 LanguageServer::Protocol::Constant::FailureHandlingKind::ABORT = T.let(T.unsafe(nil), String) # If the workspace edit contains only textual file changes they are # executed transactional. If resource changes (create, rename or delete # file) are part of the change the failure handling strategy is abort. # -# source://language_server-protocol//lib/language_server/protocol/constant/failure_handling_kind.rb#21 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/failure_handling_kind.rb:21 LanguageServer::Protocol::Constant::FailureHandlingKind::TEXT_ONLY_TRANSACTIONAL = T.let(T.unsafe(nil), String) # All operations are executed transactional. That means they either all # succeed or no changes at all are applied to the workspace. # -# source://language_server-protocol//lib/language_server/protocol/constant/failure_handling_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/failure_handling_kind.rb:15 LanguageServer::Protocol::Constant::FailureHandlingKind::TRANSACTIONAL = T.let(T.unsafe(nil), String) # The client tries to undo the operations already executed. But there is no # guarantee that this is succeeding. # -# source://language_server-protocol//lib/language_server/protocol/constant/failure_handling_kind.rb#26 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/failure_handling_kind.rb:26 LanguageServer::Protocol::Constant::FailureHandlingKind::UNDO = T.let(T.unsafe(nil), String) # The file event type. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_change_type.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_change_type.rb:7 module LanguageServer::Protocol::Constant::FileChangeType; end # The file got changed. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_change_type.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_change_type.rb:15 LanguageServer::Protocol::Constant::FileChangeType::CHANGED = T.let(T.unsafe(nil), Integer) # The file got created. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_change_type.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_change_type.rb:11 LanguageServer::Protocol::Constant::FileChangeType::CREATED = T.let(T.unsafe(nil), Integer) # The file got deleted. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_change_type.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_change_type.rb:19 LanguageServer::Protocol::Constant::FileChangeType::DELETED = T.let(T.unsafe(nil), Integer) # A pattern kind describing if a glob pattern matches a file a folder or # both. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_operation_pattern_kind.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_operation_pattern_kind.rb:8 module LanguageServer::Protocol::Constant::FileOperationPatternKind; end # The pattern matches a file only. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_operation_pattern_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_operation_pattern_kind.rb:12 LanguageServer::Protocol::Constant::FileOperationPatternKind::FILE = T.let(T.unsafe(nil), String) # The pattern matches a folder only. # -# source://language_server-protocol//lib/language_server/protocol/constant/file_operation_pattern_kind.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/file_operation_pattern_kind.rb:16 LanguageServer::Protocol::Constant::FileOperationPatternKind::FOLDER = T.let(T.unsafe(nil), String) # A set of predefined range kinds. # The type is a string since the value set is extensible # -# source://language_server-protocol//lib/language_server/protocol/constant/folding_range_kind.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/folding_range_kind.rb:8 module LanguageServer::Protocol::Constant::FoldingRangeKind; end # Folding range for a comment # -# source://language_server-protocol//lib/language_server/protocol/constant/folding_range_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/folding_range_kind.rb:12 LanguageServer::Protocol::Constant::FoldingRangeKind::COMMENT = T.let(T.unsafe(nil), String) # Folding range for imports or includes # -# source://language_server-protocol//lib/language_server/protocol/constant/folding_range_kind.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/folding_range_kind.rb:16 LanguageServer::Protocol::Constant::FoldingRangeKind::IMPORTS = T.let(T.unsafe(nil), String) # Folding range for a region (e.g. `#region`) # -# source://language_server-protocol//lib/language_server/protocol/constant/folding_range_kind.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/folding_range_kind.rb:20 LanguageServer::Protocol::Constant::FoldingRangeKind::REGION = T.let(T.unsafe(nil), String) # Known error codes for an `InitializeErrorCodes`; # -# source://language_server-protocol//lib/language_server/protocol/constant/initialize_error_codes.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/initialize_error_codes.rb:7 module LanguageServer::Protocol::Constant::InitializeErrorCodes; end # If the protocol version provided by the client can't be handled by # the server. # -# source://language_server-protocol//lib/language_server/protocol/constant/initialize_error_codes.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/initialize_error_codes.rb:12 LanguageServer::Protocol::Constant::InitializeErrorCodes::UNKNOWN_PROTOCOL_VERSION = T.let(T.unsafe(nil), Integer) # Inlay hint kinds. # -# source://language_server-protocol//lib/language_server/protocol/constant/inlay_hint_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/inlay_hint_kind.rb:7 module LanguageServer::Protocol::Constant::InlayHintKind; end # An inlay hint that is for a parameter. # -# source://language_server-protocol//lib/language_server/protocol/constant/inlay_hint_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/inlay_hint_kind.rb:15 LanguageServer::Protocol::Constant::InlayHintKind::PARAMETER = T.let(T.unsafe(nil), Integer) # An inlay hint that for a type annotation. # -# source://language_server-protocol//lib/language_server/protocol/constant/inlay_hint_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/inlay_hint_kind.rb:11 LanguageServer::Protocol::Constant::InlayHintKind::TYPE = T.let(T.unsafe(nil), Integer) # Defines whether the insert text in a completion item should be interpreted as # plain text or a snippet. # -# source://language_server-protocol//lib/language_server/protocol/constant/insert_text_format.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/insert_text_format.rb:8 module LanguageServer::Protocol::Constant::InsertTextFormat; end # The primary text to be inserted is treated as a plain string. # -# source://language_server-protocol//lib/language_server/protocol/constant/insert_text_format.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/insert_text_format.rb:12 LanguageServer::Protocol::Constant::InsertTextFormat::PLAIN_TEXT = T.let(T.unsafe(nil), Integer) # The primary text to be inserted is treated as a snippet. @@ -537,13 +537,13 @@ LanguageServer::Protocol::Constant::InsertTextFormat::PLAIN_TEXT = T.let(T.unsaf # the end of the snippet. Placeholders with equal identifiers are linked, # that is typing in one will update others too. # -# source://language_server-protocol//lib/language_server/protocol/constant/insert_text_format.rb#21 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/insert_text_format.rb:21 LanguageServer::Protocol::Constant::InsertTextFormat::SNIPPET = T.let(T.unsafe(nil), Integer) # How whitespace and indentation is handled during completion # item insertion. # -# source://language_server-protocol//lib/language_server/protocol/constant/insert_text_mode.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/insert_text_mode.rb:8 module LanguageServer::Protocol::Constant::InsertTextMode; end # The editor adjusts leading whitespace of new lines so that @@ -554,7 +554,7 @@ module LanguageServer::Protocol::Constant::InsertTextMode; end # multi line completion item is indented using 2 tabs and all # following lines inserted will be indented using 2 tabs as well. # -# source://language_server-protocol//lib/language_server/protocol/constant/insert_text_mode.rb#26 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/insert_text_mode.rb:26 LanguageServer::Protocol::Constant::InsertTextMode::ADJUST_INDENTATION = T.let(T.unsafe(nil), Integer) # The insertion or replace strings is taken as it is. If the @@ -563,7 +563,7 @@ LanguageServer::Protocol::Constant::InsertTextMode::ADJUST_INDENTATION = T.let(T # The client will not apply any kind of adjustments to the # string. # -# source://language_server-protocol//lib/language_server/protocol/constant/insert_text_mode.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/insert_text_mode.rb:16 LanguageServer::Protocol::Constant::InsertTextMode::AS_IS = T.let(T.unsafe(nil), Integer) # Describes the content type that a client supports in various @@ -572,83 +572,83 @@ LanguageServer::Protocol::Constant::InsertTextMode::AS_IS = T.let(T.unsafe(nil), # Please note that `MarkupKinds` must not start with a `$`. This kinds # are reserved for internal usage. # -# source://language_server-protocol//lib/language_server/protocol/constant/markup_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/markup_kind.rb:11 module LanguageServer::Protocol::Constant::MarkupKind; end # Markdown is supported as a content format # -# source://language_server-protocol//lib/language_server/protocol/constant/markup_kind.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/markup_kind.rb:19 LanguageServer::Protocol::Constant::MarkupKind::MARKDOWN = T.let(T.unsafe(nil), String) # Plain text is supported as a content format # -# source://language_server-protocol//lib/language_server/protocol/constant/markup_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/markup_kind.rb:15 LanguageServer::Protocol::Constant::MarkupKind::PLAIN_TEXT = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/message_type.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/message_type.rb:4 module LanguageServer::Protocol::Constant::MessageType; end # An error message. # -# source://language_server-protocol//lib/language_server/protocol/constant/message_type.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/message_type.rb:8 LanguageServer::Protocol::Constant::MessageType::ERROR = T.let(T.unsafe(nil), Integer) # An information message. # -# source://language_server-protocol//lib/language_server/protocol/constant/message_type.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/message_type.rb:16 LanguageServer::Protocol::Constant::MessageType::INFO = T.let(T.unsafe(nil), Integer) # A log message. # -# source://language_server-protocol//lib/language_server/protocol/constant/message_type.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/message_type.rb:20 LanguageServer::Protocol::Constant::MessageType::LOG = T.let(T.unsafe(nil), Integer) # A warning message. # -# source://language_server-protocol//lib/language_server/protocol/constant/message_type.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/message_type.rb:12 LanguageServer::Protocol::Constant::MessageType::WARNING = T.let(T.unsafe(nil), Integer) # The moniker kind. # -# source://language_server-protocol//lib/language_server/protocol/constant/moniker_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/moniker_kind.rb:7 module LanguageServer::Protocol::Constant::MonikerKind; end # The moniker represents a symbol that is exported from a project # -# source://language_server-protocol//lib/language_server/protocol/constant/moniker_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/moniker_kind.rb:15 LanguageServer::Protocol::Constant::MonikerKind::EXPORT = T.let(T.unsafe(nil), String) # The moniker represent a symbol that is imported into a project # -# source://language_server-protocol//lib/language_server/protocol/constant/moniker_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/moniker_kind.rb:11 LanguageServer::Protocol::Constant::MonikerKind::IMPORT = T.let(T.unsafe(nil), String) # The moniker represents a symbol that is local to a project (e.g. a local # variable of a function, a class not visible outside the project, ...) # -# source://language_server-protocol//lib/language_server/protocol/constant/moniker_kind.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/moniker_kind.rb:20 LanguageServer::Protocol::Constant::MonikerKind::LOCAL = T.let(T.unsafe(nil), String) # A notebook cell kind. # -# source://language_server-protocol//lib/language_server/protocol/constant/notebook_cell_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/notebook_cell_kind.rb:7 module LanguageServer::Protocol::Constant::NotebookCellKind; end # A code-cell is source code. # -# source://language_server-protocol//lib/language_server/protocol/constant/notebook_cell_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/notebook_cell_kind.rb:15 LanguageServer::Protocol::Constant::NotebookCellKind::CODE = T.let(T.unsafe(nil), Integer) # A markup-cell is formatted source that is used for display. # -# source://language_server-protocol//lib/language_server/protocol/constant/notebook_cell_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/notebook_cell_kind.rb:11 LanguageServer::Protocol::Constant::NotebookCellKind::MARKUP = T.let(T.unsafe(nil), Integer) # A type indicating how positions are encoded, # specifically what column offsets mean. # A set of predefined position encoding kinds. # -# source://language_server-protocol//lib/language_server/protocol/constant/position_encoding_kind.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/position_encoding_kind.rb:9 module LanguageServer::Protocol::Constant::PositionEncodingKind; end # Character offsets count UTF-16 code units. @@ -656,7 +656,7 @@ module LanguageServer::Protocol::Constant::PositionEncodingKind; end # This is the default and must always be supported # by servers # -# source://language_server-protocol//lib/language_server/protocol/constant/position_encoding_kind.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/position_encoding_kind.rb:20 LanguageServer::Protocol::Constant::PositionEncodingKind::UTF16 = T.let(T.unsafe(nil), String) # Character offsets count UTF-32 code units. @@ -665,386 +665,386 @@ LanguageServer::Protocol::Constant::PositionEncodingKind::UTF16 = T.let(T.unsafe # so this `PositionEncodingKind` may also be used for an # encoding-agnostic representation of character offsets. # -# source://language_server-protocol//lib/language_server/protocol/constant/position_encoding_kind.rb#28 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/position_encoding_kind.rb:28 LanguageServer::Protocol::Constant::PositionEncodingKind::UTF32 = T.let(T.unsafe(nil), String) # Character offsets count UTF-8 code units (e.g bytes). # -# source://language_server-protocol//lib/language_server/protocol/constant/position_encoding_kind.rb#13 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/position_encoding_kind.rb:13 LanguageServer::Protocol::Constant::PositionEncodingKind::UTF8 = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/prepare_support_default_behavior.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/prepare_support_default_behavior.rb:4 module LanguageServer::Protocol::Constant::PrepareSupportDefaultBehavior; end # The client's default behavior is to select the identifier # according to the language's syntax rule. # -# source://language_server-protocol//lib/language_server/protocol/constant/prepare_support_default_behavior.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/prepare_support_default_behavior.rb:9 LanguageServer::Protocol::Constant::PrepareSupportDefaultBehavior::IDENTIFIER = T.let(T.unsafe(nil), Integer) # The kind of resource operations supported by the client. # -# source://language_server-protocol//lib/language_server/protocol/constant/resource_operation_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/resource_operation_kind.rb:7 module LanguageServer::Protocol::Constant::ResourceOperationKind; end # Supports creating new files and folders. # -# source://language_server-protocol//lib/language_server/protocol/constant/resource_operation_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/resource_operation_kind.rb:11 LanguageServer::Protocol::Constant::ResourceOperationKind::CREATE = T.let(T.unsafe(nil), String) # Supports deleting existing files and folders. # -# source://language_server-protocol//lib/language_server/protocol/constant/resource_operation_kind.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/resource_operation_kind.rb:19 LanguageServer::Protocol::Constant::ResourceOperationKind::DELETE = T.let(T.unsafe(nil), String) # Supports renaming existing files and folders. # -# source://language_server-protocol//lib/language_server/protocol/constant/resource_operation_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/resource_operation_kind.rb:15 LanguageServer::Protocol::Constant::ResourceOperationKind::RENAME = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:4 module LanguageServer::Protocol::Constant::SemanticTokenModifiers; end -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#10 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:10 LanguageServer::Protocol::Constant::SemanticTokenModifiers::ABSTRACT = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:11 LanguageServer::Protocol::Constant::SemanticTokenModifiers::ASYNC = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:5 LanguageServer::Protocol::Constant::SemanticTokenModifiers::DECLARATION = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#14 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:14 LanguageServer::Protocol::Constant::SemanticTokenModifiers::DEFAULT_LIBRARY = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#6 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:6 LanguageServer::Protocol::Constant::SemanticTokenModifiers::DEFINITION = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:9 LanguageServer::Protocol::Constant::SemanticTokenModifiers::DEPRECATED = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#13 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:13 LanguageServer::Protocol::Constant::SemanticTokenModifiers::DOCUMENTATION = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:12 LanguageServer::Protocol::Constant::SemanticTokenModifiers::MODIFICATION = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:7 LanguageServer::Protocol::Constant::SemanticTokenModifiers::READONLY = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_modifiers.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_modifiers.rb:8 LanguageServer::Protocol::Constant::SemanticTokenModifiers::STATIC = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:4 module LanguageServer::Protocol::Constant::SemanticTokenTypes; end -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:11 LanguageServer::Protocol::Constant::SemanticTokenTypes::CLASS = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#26 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:26 LanguageServer::Protocol::Constant::SemanticTokenTypes::COMMENT = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#31 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:31 LanguageServer::Protocol::Constant::SemanticTokenTypes::DECORATOR = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:12 LanguageServer::Protocol::Constant::SemanticTokenTypes::ENUM = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:19 LanguageServer::Protocol::Constant::SemanticTokenTypes::ENUM_MEMBER = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:20 LanguageServer::Protocol::Constant::SemanticTokenTypes::EVENT = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#21 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:21 LanguageServer::Protocol::Constant::SemanticTokenTypes::FUNCTION = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#13 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:13 LanguageServer::Protocol::Constant::SemanticTokenTypes::INTERFACE = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#24 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:24 LanguageServer::Protocol::Constant::SemanticTokenTypes::KEYWORD = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#23 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:23 LanguageServer::Protocol::Constant::SemanticTokenTypes::MACRO = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#22 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:22 LanguageServer::Protocol::Constant::SemanticTokenTypes::METHOD = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#25 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:25 LanguageServer::Protocol::Constant::SemanticTokenTypes::MODIFIER = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:5 LanguageServer::Protocol::Constant::SemanticTokenTypes::NAMESPACE = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#28 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:28 LanguageServer::Protocol::Constant::SemanticTokenTypes::NUMBER = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#30 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:30 LanguageServer::Protocol::Constant::SemanticTokenTypes::OPERATOR = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:16 LanguageServer::Protocol::Constant::SemanticTokenTypes::PARAMETER = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:18 LanguageServer::Protocol::Constant::SemanticTokenTypes::PROPERTY = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#29 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:29 LanguageServer::Protocol::Constant::SemanticTokenTypes::REGEXP = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#27 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:27 LanguageServer::Protocol::Constant::SemanticTokenTypes::STRING = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#14 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:14 LanguageServer::Protocol::Constant::SemanticTokenTypes::STRUCT = T.let(T.unsafe(nil), String) # Represents a generic type. Acts as a fallback for types which # can't be mapped to a specific type like class or enum. # -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#10 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:10 LanguageServer::Protocol::Constant::SemanticTokenTypes::TYPE = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:15 LanguageServer::Protocol::Constant::SemanticTokenTypes::TYPE_PARAMETER = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/semantic_token_types.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/semantic_token_types.rb:17 LanguageServer::Protocol::Constant::SemanticTokenTypes::VARIABLE = T.let(T.unsafe(nil), String) # How a signature help was triggered. # -# source://language_server-protocol//lib/language_server/protocol/constant/signature_help_trigger_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/signature_help_trigger_kind.rb:7 module LanguageServer::Protocol::Constant::SignatureHelpTriggerKind; end # Signature help was triggered by the cursor moving or by the document # content changing. # -# source://language_server-protocol//lib/language_server/protocol/constant/signature_help_trigger_kind.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/signature_help_trigger_kind.rb:20 LanguageServer::Protocol::Constant::SignatureHelpTriggerKind::CONTENT_CHANGE = T.let(T.unsafe(nil), Integer) # Signature help was invoked manually by the user or by a command. # -# source://language_server-protocol//lib/language_server/protocol/constant/signature_help_trigger_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/signature_help_trigger_kind.rb:11 LanguageServer::Protocol::Constant::SignatureHelpTriggerKind::INVOKED = T.let(T.unsafe(nil), Integer) # Signature help was triggered by a trigger character. # -# source://language_server-protocol//lib/language_server/protocol/constant/signature_help_trigger_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/signature_help_trigger_kind.rb:15 LanguageServer::Protocol::Constant::SignatureHelpTriggerKind::TRIGGER_CHARACTER = T.let(T.unsafe(nil), Integer) # A symbol kind. # -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:7 module LanguageServer::Protocol::Constant::SymbolKind; end -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#25 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:25 LanguageServer::Protocol::Constant::SymbolKind::ARRAY = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#24 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:24 LanguageServer::Protocol::Constant::SymbolKind::BOOLEAN = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:12 LanguageServer::Protocol::Constant::SymbolKind::CLASS = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#21 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:21 LanguageServer::Protocol::Constant::SymbolKind::CONSTANT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:16 LanguageServer::Protocol::Constant::SymbolKind::CONSTRUCTOR = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:17 LanguageServer::Protocol::Constant::SymbolKind::ENUM = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#29 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:29 LanguageServer::Protocol::Constant::SymbolKind::ENUM_MEMBER = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#31 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:31 LanguageServer::Protocol::Constant::SymbolKind::EVENT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:15 LanguageServer::Protocol::Constant::SymbolKind::FIELD = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:8 LanguageServer::Protocol::Constant::SymbolKind::FILE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:19 LanguageServer::Protocol::Constant::SymbolKind::FUNCTION = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#18 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:18 LanguageServer::Protocol::Constant::SymbolKind::INTERFACE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#27 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:27 LanguageServer::Protocol::Constant::SymbolKind::KEY = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#13 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:13 LanguageServer::Protocol::Constant::SymbolKind::METHOD = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:9 LanguageServer::Protocol::Constant::SymbolKind::MODULE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#10 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:10 LanguageServer::Protocol::Constant::SymbolKind::NAMESPACE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#28 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:28 LanguageServer::Protocol::Constant::SymbolKind::NULL = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#23 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:23 LanguageServer::Protocol::Constant::SymbolKind::NUMBER = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#26 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:26 LanguageServer::Protocol::Constant::SymbolKind::OBJECT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#32 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:32 LanguageServer::Protocol::Constant::SymbolKind::OPERATOR = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:11 LanguageServer::Protocol::Constant::SymbolKind::PACKAGE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#14 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:14 LanguageServer::Protocol::Constant::SymbolKind::PROPERTY = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#22 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:22 LanguageServer::Protocol::Constant::SymbolKind::STRING = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#30 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:30 LanguageServer::Protocol::Constant::SymbolKind::STRUCT = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#33 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:33 LanguageServer::Protocol::Constant::SymbolKind::TYPE_PARAMETER = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_kind.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_kind.rb:20 LanguageServer::Protocol::Constant::SymbolKind::VARIABLE = T.let(T.unsafe(nil), Integer) # Symbol tags are extra annotations that tweak the rendering of a symbol. # -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_tag.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_tag.rb:7 module LanguageServer::Protocol::Constant::SymbolTag; end # Render a symbol as obsolete, usually using a strike-out. # -# source://language_server-protocol//lib/language_server/protocol/constant/symbol_tag.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/symbol_tag.rb:11 LanguageServer::Protocol::Constant::SymbolTag::DEPRECATED = T.let(T.unsafe(nil), Integer) # Represents reasons why a text document is saved. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_save_reason.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_save_reason.rb:7 module LanguageServer::Protocol::Constant::TextDocumentSaveReason; end # Automatic after a delay. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_save_reason.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_save_reason.rb:16 LanguageServer::Protocol::Constant::TextDocumentSaveReason::AFTER_DELAY = T.let(T.unsafe(nil), Integer) # When the editor lost focus. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_save_reason.rb#20 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_save_reason.rb:20 LanguageServer::Protocol::Constant::TextDocumentSaveReason::FOCUS_OUT = T.let(T.unsafe(nil), Integer) # Manually triggered, e.g. by the user pressing save, by starting # debugging, or by an API call. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_save_reason.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_save_reason.rb:12 LanguageServer::Protocol::Constant::TextDocumentSaveReason::MANUAL = T.let(T.unsafe(nil), Integer) # Defines how the host (editor) should sync document changes to the language # server. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_sync_kind.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_sync_kind.rb:8 module LanguageServer::Protocol::Constant::TextDocumentSyncKind; end # Documents are synced by always sending the full content # of the document. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_sync_kind.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_sync_kind.rb:17 LanguageServer::Protocol::Constant::TextDocumentSyncKind::FULL = T.let(T.unsafe(nil), Integer) # Documents are synced by sending the full content on open. # After that only incremental updates to the document are # sent. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_sync_kind.rb#23 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_sync_kind.rb:23 LanguageServer::Protocol::Constant::TextDocumentSyncKind::INCREMENTAL = T.let(T.unsafe(nil), Integer) # Documents should not be synced at all. # -# source://language_server-protocol//lib/language_server/protocol/constant/text_document_sync_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/text_document_sync_kind.rb:12 LanguageServer::Protocol::Constant::TextDocumentSyncKind::NONE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/constant/token_format.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/token_format.rb:4 module LanguageServer::Protocol::Constant::TokenFormat; end -# source://language_server-protocol//lib/language_server/protocol/constant/token_format.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/token_format.rb:5 LanguageServer::Protocol::Constant::TokenFormat::RELATIVE = T.let(T.unsafe(nil), String) # Moniker uniqueness level to define scope of the moniker. # -# source://language_server-protocol//lib/language_server/protocol/constant/uniqueness_level.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/uniqueness_level.rb:7 module LanguageServer::Protocol::Constant::UniquenessLevel; end # The moniker is only unique inside a document # -# source://language_server-protocol//lib/language_server/protocol/constant/uniqueness_level.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/uniqueness_level.rb:11 LanguageServer::Protocol::Constant::UniquenessLevel::DOCUMENT = T.let(T.unsafe(nil), String) # The moniker is globally unique # -# source://language_server-protocol//lib/language_server/protocol/constant/uniqueness_level.rb#27 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/uniqueness_level.rb:27 LanguageServer::Protocol::Constant::UniquenessLevel::GLOBAL = T.let(T.unsafe(nil), String) # The moniker is unique inside the group to which a project belongs # -# source://language_server-protocol//lib/language_server/protocol/constant/uniqueness_level.rb#19 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/uniqueness_level.rb:19 LanguageServer::Protocol::Constant::UniquenessLevel::GROUP = T.let(T.unsafe(nil), String) # The moniker is unique inside a project for which a dump got created # -# source://language_server-protocol//lib/language_server/protocol/constant/uniqueness_level.rb#15 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/uniqueness_level.rb:15 LanguageServer::Protocol::Constant::UniquenessLevel::PROJECT = T.let(T.unsafe(nil), String) # The moniker is unique inside the moniker scheme. # -# source://language_server-protocol//lib/language_server/protocol/constant/uniqueness_level.rb#23 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/uniqueness_level.rb:23 LanguageServer::Protocol::Constant::UniquenessLevel::SCHEME = T.let(T.unsafe(nil), String) -# source://language_server-protocol//lib/language_server/protocol/constant/watch_kind.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/watch_kind.rb:4 module LanguageServer::Protocol::Constant::WatchKind; end # Interested in change events # -# source://language_server-protocol//lib/language_server/protocol/constant/watch_kind.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/watch_kind.rb:12 LanguageServer::Protocol::Constant::WatchKind::CHANGE = T.let(T.unsafe(nil), Integer) # Interested in create events. # -# source://language_server-protocol//lib/language_server/protocol/constant/watch_kind.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/watch_kind.rb:8 LanguageServer::Protocol::Constant::WatchKind::CREATE = T.let(T.unsafe(nil), Integer) # Interested in delete events # -# source://language_server-protocol//lib/language_server/protocol/constant/watch_kind.rb#16 +# pkg:gem/language_server-protocol#lib/language_server/protocol/constant/watch_kind.rb:16 LanguageServer::Protocol::Constant::WatchKind::DELETE = T.let(T.unsafe(nil), Integer) -# source://language_server-protocol//lib/language_server/protocol/interface.rb#3 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface.rb:3 module LanguageServer::Protocol::Interface; end # A special text edit with an additional change annotation. # -# source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:7 class LanguageServer::Protocol::Interface::AnnotatedTextEdit # @return [AnnotatedTextEdit] a new instance of AnnotatedTextEdit # - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:8 def initialize(range:, new_text:, annotation_id:); end # The actual annotation identifier. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:40 def annotation_id; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:44 def attributes; end # The string to be inserted. For delete operations use an @@ -1052,7 +1052,7 @@ class LanguageServer::Protocol::Interface::AnnotatedTextEdit # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:32 def new_text; end # The range of the text document to be manipulated. To insert @@ -1060,33 +1060,33 @@ class LanguageServer::Protocol::Interface::AnnotatedTextEdit # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:23 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/annotated_text_edit.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/annotated_text_edit.rb:50 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:4 class LanguageServer::Protocol::Interface::ApplyWorkspaceEditParams # @return [ApplyWorkspaceEditParams] a new instance of ApplyWorkspaceEditParams # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:5 def initialize(edit:, label: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:32 def attributes; end # The edits to apply. # # @return [WorkspaceEdit] # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:28 def edit; end # An optional label of the workspace edit. This label is @@ -1095,33 +1095,33 @@ class LanguageServer::Protocol::Interface::ApplyWorkspaceEditParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:20 def label; end - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_params.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_params.rb:38 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:4 class LanguageServer::Protocol::Interface::ApplyWorkspaceEditResult # @return [ApplyWorkspaceEditResult] a new instance of ApplyWorkspaceEditResult # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:5 def initialize(applied:, failure_reason: T.unsafe(nil), failed_change: T.unsafe(nil)); end # Indicates whether the edit was applied or not. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:19 def applied; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:44 def attributes; end # Depending on the client's failure handling strategy `failedChange` @@ -1131,7 +1131,7 @@ class LanguageServer::Protocol::Interface::ApplyWorkspaceEditResult # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:40 def failed_change; end # An optional textual description for why the edit was not applied. @@ -1140,26 +1140,26 @@ class LanguageServer::Protocol::Interface::ApplyWorkspaceEditResult # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:29 def failure_reason; end - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/apply_workspace_edit_result.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/apply_workspace_edit_result.rb:50 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyClientCapabilities # @return [CallHierarchyClientCapabilities] a new instance of CallHierarchyClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb:24 def attributes; end # Whether implementation supports dynamic registration. If this is set to @@ -1169,33 +1169,33 @@ class LanguageServer::Protocol::Interface::CallHierarchyClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb:20 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyIncomingCall # @return [CallHierarchyIncomingCall] a new instance of CallHierarchyIncomingCall # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:5 def initialize(from:, from_ranges:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:31 def attributes; end # The item that makes the call. # # @return [CallHierarchyItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:18 def from; end # The ranges at which the calls appear. This is relative to the caller @@ -1203,31 +1203,31 @@ class LanguageServer::Protocol::Interface::CallHierarchyIncomingCall # # @return [Range[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:27 def from_ranges; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb:37 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyIncomingCallsParams # @return [CallHierarchyIncomingCallsParams] a new instance of CallHierarchyIncomingCallsParams # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:5 def initialize(item:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:37 def attributes; end # @return [CallHierarchyItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:33 def item; end # An optional token that a server can use to report partial results (e.g. @@ -1235,33 +1235,33 @@ class LanguageServer::Protocol::Interface::CallHierarchyIncomingCallsParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:28 def partial_result_token; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:43 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyItem # @return [CallHierarchyItem] a new instance of CallHierarchyItem # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:5 def initialize(name:, kind:, uri:, range:, selection_range:, tags: T.unsafe(nil), detail: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#88 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:88 def attributes; end # A data entry field that is preserved between a call hierarchy prepare and @@ -1269,28 +1269,28 @@ class LanguageServer::Protocol::Interface::CallHierarchyItem # # @return [unknown] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:84 def data; end # More detail for this item, e.g. the signature of a function. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:48 def detail; end # The kind of this item. # # @return [SymbolKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:32 def kind; end # The name of this item. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:24 def name; end # The range enclosing this symbol not including leading/trailing whitespace @@ -1298,7 +1298,7 @@ class LanguageServer::Protocol::Interface::CallHierarchyItem # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#65 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:65 def range; end # The range that should be selected and revealed when this symbol is being @@ -1307,64 +1307,64 @@ class LanguageServer::Protocol::Interface::CallHierarchyItem # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#75 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:75 def selection_range; end # Tags for this item. # # @return [1[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:40 def tags; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#90 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:90 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#94 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:94 def to_json(*args); end # The resource identifier of this item. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_item.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_item.rb:56 def uri; end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_options.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyOptions # @return [CallHierarchyOptions] a new instance of CallHierarchyOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyOutgoingCall # @return [CallHierarchyOutgoingCall] a new instance of CallHierarchyOutgoingCall # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:5 def initialize(to:, from_ranges:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:31 def attributes; end # The range at which this item is called. This is the range relative to @@ -1372,38 +1372,38 @@ class LanguageServer::Protocol::Interface::CallHierarchyOutgoingCall # # @return [Range[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:27 def from_ranges; end # The item that is called. # # @return [CallHierarchyItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:18 def to; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb:37 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyOutgoingCallsParams # @return [CallHierarchyOutgoingCallsParams] a new instance of CallHierarchyOutgoingCallsParams # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:5 def initialize(item:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:37 def attributes; end # @return [CallHierarchyItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:33 def item; end # An optional token that a server can use to report partial results (e.g. @@ -1411,73 +1411,73 @@ class LanguageServer::Protocol::Interface::CallHierarchyOutgoingCallsParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:28 def partial_result_token; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:43 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyPrepareParams # @return [CallHierarchyPrepareParams] a new instance of CallHierarchyPrepareParams # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:39 def attributes; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:27 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:19 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb:35 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:4 class LanguageServer::Protocol::Interface::CallHierarchyRegistrationOptions # @return [CallHierarchyRegistrationOptions] a new instance of CallHierarchyRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -1485,7 +1485,7 @@ class LanguageServer::Protocol::Interface::CallHierarchyRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -1493,59 +1493,59 @@ class LanguageServer::Protocol::Interface::CallHierarchyRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/call_hierarchy_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/call_hierarchy_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/cancel_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/cancel_params.rb:4 class LanguageServer::Protocol::Interface::CancelParams # @return [CancelParams] a new instance of CancelParams # - # source://language_server-protocol//lib/language_server/protocol/interface/cancel_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/cancel_params.rb:5 def initialize(id:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/cancel_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/cancel_params.rb:21 def attributes; end # The request id to cancel. # # @return [string | number] # - # source://language_server-protocol//lib/language_server/protocol/interface/cancel_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/cancel_params.rb:17 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/cancel_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/cancel_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/cancel_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/cancel_params.rb:27 def to_json(*args); end end # Additional information that describes document changes. # -# source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:7 class LanguageServer::Protocol::Interface::ChangeAnnotation # @return [ChangeAnnotation] a new instance of ChangeAnnotation # - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:8 def initialize(label:, needs_confirmation: T.unsafe(nil), description: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:45 def attributes; end # A human-readable string which is rendered less prominent in @@ -1553,7 +1553,7 @@ class LanguageServer::Protocol::Interface::ChangeAnnotation # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:41 def description; end # A human-readable string describing the actual change. The string @@ -1561,7 +1561,7 @@ class LanguageServer::Protocol::Interface::ChangeAnnotation # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:23 def label; end # A flag which indicates that user confirmation is needed @@ -1569,74 +1569,74 @@ class LanguageServer::Protocol::Interface::ChangeAnnotation # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:32 def needs_confirmation; end - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:47 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/change_annotation.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/change_annotation.rb:51 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:4 class LanguageServer::Protocol::Interface::ClientCapabilities # @return [ClientCapabilities] a new instance of ClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:5 def initialize(workspace: T.unsafe(nil), text_document: T.unsafe(nil), notebook_document: T.unsafe(nil), window: T.unsafe(nil), general: T.unsafe(nil), experimental: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:66 def attributes; end # Experimental client capabilities. # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:62 def experimental; end # General client capabilities. # # @return [{ staleRequestSupport?: { cancel: boolean; retryOnContentModified: string[]; }; regularExpressions?: RegularExpressionsClientCapabilities; markdown?: any; positionEncodings?: string[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:54 def general; end # Capabilities specific to the notebook document support. # # @return [NotebookDocumentClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:38 def notebook_document; end # Text document specific client capabilities. # # @return [TextDocumentClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:30 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:68 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#72 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:72 def to_json(*args); end # Window specific client capabilities. # # @return [{ workDoneProgress?: boolean; showMessage?: ShowMessageRequestClientCapabilities; showDocument?: ShowDocumentClientCapabilities; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:46 def window; end # Workspace specific client capabilities. # # @return [{ applyEdit?: boolean; workspaceEdit?: WorkspaceEditClientCapabilities; didChangeConfiguration?: DidChangeConfigurationClientCapabilities; ... 10 more ...; diagnostics?: DiagnosticWorkspaceClientCapabilities; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/client_capabilities.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/client_capabilities.rb:22 def workspace; end end @@ -1646,16 +1646,16 @@ end # A CodeAction must set either `edit` and/or a `command`. If both are supplied, # the `edit` is applied first, then the `command` is executed. # -# source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:11 class LanguageServer::Protocol::Interface::CodeAction # @return [CodeAction] a new instance of CodeAction # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#12 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:12 def initialize(title:, kind: T.unsafe(nil), diagnostics: T.unsafe(nil), is_preferred: T.unsafe(nil), disabled: T.unsafe(nil), edit: T.unsafe(nil), command: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#115 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:115 def attributes; end # A command this code action executes. If a code action @@ -1664,7 +1664,7 @@ class LanguageServer::Protocol::Interface::CodeAction # # @return [Command] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#102 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:102 def command; end # A data entry field that is preserved on a code action between @@ -1672,14 +1672,14 @@ class LanguageServer::Protocol::Interface::CodeAction # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#111 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:111 def data; end # The diagnostics that this code action resolves. # # @return [Diagnostic[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:49 def diagnostics; end # Marks that the code action cannot currently be applied. @@ -1700,14 +1700,14 @@ class LanguageServer::Protocol::Interface::CodeAction # # @return [{ reason: string; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:84 def disabled; end # The workspace edit this code action performs. # # @return [WorkspaceEdit] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#92 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:92 def edit; end # Marks this as a preferred action. Preferred actions are used by the @@ -1719,7 +1719,7 @@ class LanguageServer::Protocol::Interface::CodeAction # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:62 def is_preferred; end # The kind of the code action. @@ -1728,33 +1728,33 @@ class LanguageServer::Protocol::Interface::CodeAction # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:41 def kind; end # A short, human-readable, title for this code action. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:31 def title; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#117 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:117 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action.rb#121 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action.rb:121 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::CodeActionClientCapabilities # @return [CodeActionClientCapabilities] a new instance of CodeActionClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), code_action_literal_support: T.unsafe(nil), is_preferred_support: T.unsafe(nil), disabled_support: T.unsafe(nil), data_support: T.unsafe(nil), resolve_support: T.unsafe(nil), honors_change_annotations: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#83 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:83 def attributes; end # The client supports code action literals as a valid @@ -1762,7 +1762,7 @@ class LanguageServer::Protocol::Interface::CodeActionClientCapabilities # # @return [{ codeActionKind: { valueSet: string[]; }; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:32 def code_action_literal_support; end # Whether code action supports the `data` property which is @@ -1771,21 +1771,21 @@ class LanguageServer::Protocol::Interface::CodeActionClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:58 def data_support; end # Whether code action supports the `disabled` property. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:48 def disabled_support; end # Whether code action supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:23 def dynamic_registration; end # Whether the client honors the change annotations in @@ -1796,14 +1796,14 @@ class LanguageServer::Protocol::Interface::CodeActionClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#79 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:79 def honors_change_annotations; end # Whether code action supports the `isPreferred` property. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:40 def is_preferred_support; end # Whether the client supports resolving additional code action @@ -1811,29 +1811,29 @@ class LanguageServer::Protocol::Interface::CodeActionClientCapabilities # # @return [{ properties: string[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:67 def resolve_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#85 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:85 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_client_capabilities.rb#89 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_client_capabilities.rb:89 def to_json(*args); end end # Contains additional diagnostic information about the context in which # a code action is run. # -# source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:8 class LanguageServer::Protocol::Interface::CodeActionContext # @return [CodeActionContext] a new instance of CodeActionContext # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:9 def initialize(diagnostics:, only: T.unsafe(nil), trigger_kind: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:51 def attributes; end # An array of diagnostics known on the client side overlapping the range @@ -1845,7 +1845,7 @@ class LanguageServer::Protocol::Interface::CodeActionContext # # @return [Diagnostic[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:28 def diagnostics; end # Requested kind of actions to return. @@ -1855,33 +1855,33 @@ class LanguageServer::Protocol::Interface::CodeActionContext # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:39 def only; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:57 def to_json(*args); end # The reason why code actions were requested. # # @return [CodeActionTriggerKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_context.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_context.rb:47 def trigger_kind; end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:4 class LanguageServer::Protocol::Interface::CodeActionOptions # @return [CodeActionOptions] a new instance of CodeActionOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), code_action_kinds: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:40 def attributes; end # CodeActionKinds that this server may return. @@ -1891,7 +1891,7 @@ class LanguageServer::Protocol::Interface::CodeActionOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:27 def code_action_kinds; end # The server provides support to resolve additional @@ -1899,40 +1899,40 @@ class LanguageServer::Protocol::Interface::CodeActionOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:36 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:46 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_options.rb#16 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_options.rb:16 def work_done_progress; end end # Params for the CodeActionRequest # -# source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:7 class LanguageServer::Protocol::Interface::CodeActionParams # @return [CodeActionParams] a new instance of CodeActionParams # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:8 def initialize(text_document:, range:, context:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:61 def attributes; end # Context carrying additional information. # # @return [CodeActionContext] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:57 def context; end # An optional token that a server can use to report partial results (e.g. @@ -1940,47 +1940,47 @@ class LanguageServer::Protocol::Interface::CodeActionParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:33 def partial_result_token; end # The range for which the command was invoked. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:49 def range; end # The document in which the command was invoked. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:41 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:63 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:67 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_params.rb:24 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:4 class LanguageServer::Protocol::Interface::CodeActionRegistrationOptions # @return [CodeActionRegistrationOptions] a new instance of CodeActionRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), code_action_kinds: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:50 def attributes; end # CodeActionKinds that this server may return. @@ -1990,7 +1990,7 @@ class LanguageServer::Protocol::Interface::CodeActionRegistrationOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:37 def code_action_kinds; end # A document selector to identify the scope of the registration. If set to @@ -1998,7 +1998,7 @@ class LanguageServer::Protocol::Interface::CodeActionRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:21 def document_selector; end # The server provides support to resolve additional @@ -2006,46 +2006,46 @@ class LanguageServer::Protocol::Interface::CodeActionRegistrationOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:46 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:52 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:56 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_action_registration_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_action_registration_options.rb:26 def work_done_progress; end end # Structure to capture a description for an error code. # -# source://language_server-protocol//lib/language_server/protocol/interface/code_description.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_description.rb:7 class LanguageServer::Protocol::Interface::CodeDescription # @return [CodeDescription] a new instance of CodeDescription # - # source://language_server-protocol//lib/language_server/protocol/interface/code_description.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_description.rb:8 def initialize(href:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_description.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_description.rb:24 def attributes; end # An URI to open with more information about the diagnostic error. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_description.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_description.rb:20 def href; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_description.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_description.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_description.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_description.rb:30 def to_json(*args); end end @@ -2056,23 +2056,23 @@ end # performance reasons the creation of a code lens and resolving should be done # in two stages. # -# source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:12 class LanguageServer::Protocol::Interface::CodeLens # @return [CodeLens] a new instance of CodeLens # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#13 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:13 def initialize(range:, command: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:49 def attributes; end # The command this code lens represents. # # @return [Command] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:36 def command; end # A data entry field that is preserved on a code lens item between @@ -2080,7 +2080,7 @@ class LanguageServer::Protocol::Interface::CodeLens # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:45 def data; end # The range in which this code lens is valid. Should only span a single @@ -2088,83 +2088,83 @@ class LanguageServer::Protocol::Interface::CodeLens # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:28 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens.rb:55 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_lens_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::CodeLensClientCapabilities # @return [CodeLensClientCapabilities] a new instance of CodeLensClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_client_capabilities.rb:21 def attributes; end # Whether code lens supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:4 class LanguageServer::Protocol::Interface::CodeLensOptions # @return [CodeLensOptions] a new instance of CodeLensOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:27 def attributes; end # Code lens has a resolve provider as well. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:23 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:29 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:33 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_options.rb:15 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:4 class LanguageServer::Protocol::Interface::CodeLensParams # @return [CodeLensParams] a new instance of CodeLensParams # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:5 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:40 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -2172,40 +2172,40 @@ class LanguageServer::Protocol::Interface::CodeLensParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:28 def partial_result_token; end # The document to request code lens for. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:36 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:46 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:4 class LanguageServer::Protocol::Interface::CodeLensRegistrationOptions # @return [CodeLensRegistrationOptions] a new instance of CodeLensRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:37 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -2213,38 +2213,38 @@ class LanguageServer::Protocol::Interface::CodeLensRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:20 def document_selector; end # Code lens has a resolve provider as well. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:33 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:43 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::CodeLensWorkspaceClientCapabilities # @return [CodeLensWorkspaceClientCapabilities] a new instance of CodeLensWorkspaceClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb:5 def initialize(refresh_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb:27 def attributes; end # Whether the client implementation supports a refresh request sent from the @@ -2257,103 +2257,103 @@ class LanguageServer::Protocol::Interface::CodeLensWorkspaceClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb:23 def refresh_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb:29 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb:33 def to_json(*args); end end # Represents a color in RGBA space. # -# source://language_server-protocol//lib/language_server/protocol/interface/color.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:7 class LanguageServer::Protocol::Interface::Color # @return [Color] a new instance of Color # - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:8 def initialize(red:, green:, blue:, alpha:); end # The alpha component of this color in the range [0-1]. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:47 def alpha; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:51 def attributes; end # The blue component of this color in the range [0-1]. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:39 def blue; end # The green component of this color in the range [0-1]. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:31 def green; end # The red component of this color in the range [0-1]. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:23 def red; end - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/color.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color.rb:57 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:4 class LanguageServer::Protocol::Interface::ColorInformation # @return [ColorInformation] a new instance of ColorInformation # - # source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:5 def initialize(range:, color:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:30 def attributes; end # The actual color value for this color range. # # @return [Color] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:26 def color; end # The range in the document where this color appears. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:18 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/color_information.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_information.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:4 class LanguageServer::Protocol::Interface::ColorPresentation # @return [ColorPresentation] a new instance of ColorPresentation # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:5 def initialize(label:, text_edit: T.unsafe(nil), additional_text_edits: T.unsafe(nil)); end # An optional array of additional [text edits](#TextEdit) that are applied @@ -2362,12 +2362,12 @@ class LanguageServer::Protocol::Interface::ColorPresentation # # @return [TextEdit[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:41 def additional_text_edits; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:45 def attributes; end # The label of this color presentation. It will be shown on the color @@ -2376,7 +2376,7 @@ class LanguageServer::Protocol::Interface::ColorPresentation # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:21 def label; end # An [edit](#TextEdit) which is applied to a document when selecting @@ -2385,33 +2385,33 @@ class LanguageServer::Protocol::Interface::ColorPresentation # # @return [TextEdit] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:31 def text_edit; end - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:47 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation.rb:51 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:4 class LanguageServer::Protocol::Interface::ColorPresentationParams # @return [ColorPresentationParams] a new instance of ColorPresentationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:5 def initialize(text_document:, color:, range:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:58 def attributes; end # The color information to request presentations for. # # @return [Color] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:46 def color; end # An optional token that a server can use to report partial results (e.g. @@ -2419,42 +2419,42 @@ class LanguageServer::Protocol::Interface::ColorPresentationParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:30 def partial_result_token; end # The range where the color would be inserted. Serves as a context. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:54 def range; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:38 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:60 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:64 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/color_presentation_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/color_presentation_params.rb:21 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/command.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:4 class LanguageServer::Protocol::Interface::Command # @return [Command] a new instance of Command # - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:5 def initialize(title:, command:, arguments: T.unsafe(nil)); end # Arguments that the command handler should be @@ -2462,45 +2462,45 @@ class LanguageServer::Protocol::Interface::Command # # @return [LSPAny[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:36 def arguments; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:40 def attributes; end # The identifier of the actual command handler. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:27 def command; end # Title of the command, like `save`. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:19 def title; end - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/command.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/command.rb:46 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::CompletionClientCapabilities # @return [CompletionClientCapabilities] a new instance of CompletionClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), completion_item: T.unsafe(nil), completion_item_kind: T.unsafe(nil), context_support: T.unsafe(nil), insert_text_mode: T.unsafe(nil), completion_list: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:67 def attributes; end # The client supports the following `CompletionItem` specific @@ -2508,12 +2508,12 @@ class LanguageServer::Protocol::Interface::CompletionClientCapabilities # # @return [{ snippetSupport?: boolean; commitCharactersSupport?: boolean; documentationFormat?: MarkupKind[]; deprecatedSupport?: boolean; preselectSupport?: boolean; tagSupport?: { valueSet: 1[]; }; insertReplaceSupport?: boolean; resolveSupport?: { ...; }; insertTextModeSupport?: { ...; }; labelDetailsSupport?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:31 def completion_item; end # @return [{ valueSet?: CompletionItemKind[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:36 def completion_item_kind; end # The client supports the following `CompletionList` specific @@ -2521,7 +2521,7 @@ class LanguageServer::Protocol::Interface::CompletionClientCapabilities # # @return [{ itemDefaults?: string[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:63 def completion_list; end # The client supports to send additional context information for a @@ -2529,14 +2529,14 @@ class LanguageServer::Protocol::Interface::CompletionClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:45 def context_support; end # Whether completion supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:22 def dynamic_registration; end # The client's default when the completion item doesn't provide a @@ -2544,35 +2544,35 @@ class LanguageServer::Protocol::Interface::CompletionClientCapabilities # # @return [InsertTextMode] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:54 def insert_text_mode; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#69 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:69 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_client_capabilities.rb#73 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_client_capabilities.rb:73 def to_json(*args); end end # Contains additional information about the context in which a completion # request is triggered. # -# source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:8 class LanguageServer::Protocol::Interface::CompletionContext # @return [CompletionContext] a new instance of CompletionContext # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:9 def initialize(trigger_kind:, trigger_character: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:36 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:38 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:42 def to_json(*args); end # The trigger character (a single character) that has trigger code @@ -2581,22 +2581,22 @@ class LanguageServer::Protocol::Interface::CompletionContext # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:32 def trigger_character; end # How the completion was triggered. # # @return [CompletionTriggerKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_context.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_context.rb:22 def trigger_kind; end end -# source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:4 class LanguageServer::Protocol::Interface::CompletionItem # @return [CompletionItem] a new instance of CompletionItem # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:5 def initialize(label:, label_details: T.unsafe(nil), kind: T.unsafe(nil), tags: T.unsafe(nil), detail: T.unsafe(nil), documentation: T.unsafe(nil), deprecated: T.unsafe(nil), preselect: T.unsafe(nil), sort_text: T.unsafe(nil), filter_text: T.unsafe(nil), insert_text: T.unsafe(nil), insert_text_format: T.unsafe(nil), insert_text_mode: T.unsafe(nil), text_edit: T.unsafe(nil), text_edit_text: T.unsafe(nil), additional_text_edits: T.unsafe(nil), commit_characters: T.unsafe(nil), command: T.unsafe(nil), data: T.unsafe(nil)); end # An optional array of additional text edits that are applied when @@ -2609,12 +2609,12 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [TextEdit[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#221 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:221 def additional_text_edits; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#255 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:255 def attributes; end # An optional command that is executed *after* inserting this completion. @@ -2623,7 +2623,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [Command] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#242 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:242 def command; end # An optional set of characters that when pressed while this completion is @@ -2633,7 +2633,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#232 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:232 def commit_characters; end # A data entry field that is preserved on a completion item between @@ -2641,14 +2641,14 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#251 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:251 def data; end # Indicates if this item is deprecated. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#92 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:92 def deprecated; end # A human-readable string with additional information @@ -2656,14 +2656,14 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#76 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:76 def detail; end # A human-readable string that represents a doc-comment. # # @return [string | MarkupContent] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:84 def documentation; end # A string that should be used when filtering a set of @@ -2672,7 +2672,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#124 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:124 def filter_text; end # A string that should be inserted into a document when selecting @@ -2689,7 +2689,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#142 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:142 def insert_text; end # The format of the insert text. The format applies to both the @@ -2701,7 +2701,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [InsertTextFormat] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#155 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:155 def insert_text_format; end # How whitespace and indentation is handled during completion @@ -2710,7 +2710,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [InsertTextMode] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#165 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:165 def insert_text_mode; end # The kind of this completion item. Based of the kind @@ -2719,7 +2719,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [CompletionItemKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:59 def kind; end # The label of this completion item. @@ -2732,14 +2732,14 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:41 def label; end # Additional details for the label # # @return [CompletionItemLabelDetails] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:49 def label_details; end # Select this item when showing. @@ -2750,7 +2750,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#104 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:104 def preselect; end # A string that should be used when comparing this item @@ -2759,14 +2759,14 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#114 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:114 def sort_text; end # Tags for this completion item. # # @return [1[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:67 def tags; end # An edit which is applied to a document when selecting this completion. @@ -2792,7 +2792,7 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [TextEdit | InsertReplaceEdit] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#192 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:192 def text_edit; end # The edit text used if the completion item is part of a CompletionList and @@ -2806,28 +2806,28 @@ class LanguageServer::Protocol::Interface::CompletionItem # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#207 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:207 def text_edit_text; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#257 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:257 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item.rb#261 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item.rb:261 def to_json(*args); end end # Additional details for a completion item label. # -# source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:7 class LanguageServer::Protocol::Interface::CompletionItemLabelDetails # @return [CompletionItemLabelDetails] a new instance of CompletionItemLabelDetails # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:8 def initialize(detail: T.unsafe(nil), description: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:37 def attributes; end # An optional string which is rendered less prominently after @@ -2836,7 +2836,7 @@ class LanguageServer::Protocol::Interface::CompletionItemLabelDetails # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:33 def description; end # An optional string which is rendered less prominently directly after @@ -2845,29 +2845,29 @@ class LanguageServer::Protocol::Interface::CompletionItemLabelDetails # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:23 def detail; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_item_label_details.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_item_label_details.rb:43 def to_json(*args); end end # Represents a collection of [completion items](#CompletionItem) to be # presented in the editor. # -# source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:8 class LanguageServer::Protocol::Interface::CompletionList # @return [CompletionList] a new instance of CompletionList # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:9 def initialize(is_incomplete:, items:, item_defaults: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:57 def attributes; end # This list is not complete. Further typing should result in recomputing @@ -2878,7 +2878,7 @@ class LanguageServer::Protocol::Interface::CompletionList # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:27 def is_incomplete; end # In many cases the items of an actual completion result share the same @@ -2895,30 +2895,30 @@ class LanguageServer::Protocol::Interface::CompletionList # # @return [{ commitCharacters?: string[]; editRange?: Range | { insert: Range; replace: Range; }; insertTextFormat?: InsertTextFormat; insertTextMode?: InsertTextMode; data?: LSPAny; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:45 def item_defaults; end # The completion items. # # @return [CompletionItem[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:53 def items; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:59 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_list.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_list.rb:63 def to_json(*args); end end # Completion options. # -# source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:7 class LanguageServer::Protocol::Interface::CompletionOptions # @return [CompletionOptions] a new instance of CompletionOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:8 def initialize(work_done_progress: T.unsafe(nil), trigger_characters: T.unsafe(nil), all_commit_characters: T.unsafe(nil), resolve_provider: T.unsafe(nil), completion_item: T.unsafe(nil)); end # The list of all possible characters that commit a completion. This field @@ -2931,12 +2931,12 @@ class LanguageServer::Protocol::Interface::CompletionOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:53 def all_commit_characters; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#75 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:75 def attributes; end # The server supports the following `CompletionItem` specific @@ -2944,7 +2944,7 @@ class LanguageServer::Protocol::Interface::CompletionOptions # # @return [{ labelDetailsSupport?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#71 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:71 def completion_item; end # The server provides support to resolve additional @@ -2952,13 +2952,13 @@ class LanguageServer::Protocol::Interface::CompletionOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:62 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#77 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:77 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#81 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:81 def to_json(*args); end # The additional characters, beyond the defaults provided by the client (typically @@ -2975,25 +2975,25 @@ class LanguageServer::Protocol::Interface::CompletionOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:39 def trigger_characters; end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_options.rb:21 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:4 class LanguageServer::Protocol::Interface::CompletionParams # @return [CompletionParams] a new instance of CompletionParams # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil), context: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:60 def attributes; end # The completion context. This is only available if the client specifies @@ -3002,7 +3002,7 @@ class LanguageServer::Protocol::Interface::CompletionParams # # @return [CompletionContext] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:56 def context; end # An optional token that a server can use to report partial results (e.g. @@ -3010,42 +3010,42 @@ class LanguageServer::Protocol::Interface::CompletionParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:46 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:29 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:21 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:62 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:66 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_params.rb:37 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:4 class LanguageServer::Protocol::Interface::CompletionRegistrationOptions # @return [CompletionRegistrationOptions] a new instance of CompletionRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), trigger_characters: T.unsafe(nil), all_commit_characters: T.unsafe(nil), resolve_provider: T.unsafe(nil), completion_item: T.unsafe(nil)); end # The list of all possible characters that commit a completion. This field @@ -3058,12 +3058,12 @@ class LanguageServer::Protocol::Interface::CompletionRegistrationOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:60 def all_commit_characters; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#82 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:82 def attributes; end # The server supports the following `CompletionItem` specific @@ -3071,7 +3071,7 @@ class LanguageServer::Protocol::Interface::CompletionRegistrationOptions # # @return [{ labelDetailsSupport?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#78 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:78 def completion_item; end # A document selector to identify the scope of the registration. If set to @@ -3079,7 +3079,7 @@ class LanguageServer::Protocol::Interface::CompletionRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:23 def document_selector; end # The server provides support to resolve additional @@ -3087,13 +3087,13 @@ class LanguageServer::Protocol::Interface::CompletionRegistrationOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#69 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:69 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:84 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#88 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:88 def to_json(*args); end # The additional characters, beyond the defaults provided by the client (typically @@ -3110,195 +3110,195 @@ class LanguageServer::Protocol::Interface::CompletionRegistrationOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:46 def trigger_characters; end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/completion_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/completion_registration_options.rb:28 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:4 class LanguageServer::Protocol::Interface::ConfigurationItem # @return [ConfigurationItem] a new instance of ConfigurationItem # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:5 def initialize(scope_uri: T.unsafe(nil), section: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:30 def attributes; end # The scope to get the configuration section for. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:18 def scope_uri; end # The configuration section asked for. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:26 def section; end - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_item.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_item.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/configuration_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_params.rb:4 class LanguageServer::Protocol::Interface::ConfigurationParams # @return [ConfigurationParams] a new instance of ConfigurationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_params.rb:5 def initialize(items:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_params.rb:18 def attributes; end # @return [ConfigurationItem[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_params.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_params.rb:14 def items; end - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_params.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/configuration_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/configuration_params.rb:24 def to_json(*args); end end # Create file operation # -# source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:7 class LanguageServer::Protocol::Interface::CreateFile # @return [CreateFile] a new instance of CreateFile # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:8 def initialize(kind:, uri:, options: T.unsafe(nil), annotation_id: T.unsafe(nil)); end # An optional annotation identifier describing the operation. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:47 def annotation_id; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:51 def attributes; end # A create # # @return ["create"] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:23 def kind; end # Additional options # # @return [CreateFileOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:39 def options; end - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:57 def to_json(*args); end # The resource to create. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file.rb:31 def uri; end end # Options to create a file. # -# source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:7 class LanguageServer::Protocol::Interface::CreateFileOptions # @return [CreateFileOptions] a new instance of CreateFileOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:8 def initialize(overwrite: T.unsafe(nil), ignore_if_exists: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:33 def attributes; end # Ignore if exists. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:29 def ignore_if_exists; end # Overwrite existing file. Overwrite wins over `ignoreIfExists` # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:21 def overwrite; end - # source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/create_file_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_file_options.rb:39 def to_json(*args); end end # The parameters sent in notifications/requests for user-initiated creation # of files. # -# source://language_server-protocol//lib/language_server/protocol/interface/create_files_params.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_files_params.rb:8 class LanguageServer::Protocol::Interface::CreateFilesParams # @return [CreateFilesParams] a new instance of CreateFilesParams # - # source://language_server-protocol//lib/language_server/protocol/interface/create_files_params.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_files_params.rb:9 def initialize(files:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/create_files_params.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_files_params.rb:25 def attributes; end # An array of all files/folders created in this operation. # # @return [FileCreate[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/create_files_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_files_params.rb:21 def files; end - # source://language_server-protocol//lib/language_server/protocol/interface/create_files_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_files_params.rb:27 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/create_files_params.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/create_files_params.rb:31 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DeclarationClientCapabilities # @return [DeclarationClientCapabilities] a new instance of DeclarationClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), link_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:32 def attributes; end # Whether declaration supports dynamic registration. If this is set to @@ -3307,57 +3307,57 @@ class LanguageServer::Protocol::Interface::DeclarationClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:20 def dynamic_registration; end # The client supports additional metadata in the form of declaration links. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:28 def link_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_client_capabilities.rb:38 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/declaration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_options.rb:4 class LanguageServer::Protocol::Interface::DeclarationOptions # @return [DeclarationOptions] a new instance of DeclarationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:4 class LanguageServer::Protocol::Interface::DeclarationParams # @return [DeclarationParams] a new instance of DeclarationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -3365,47 +3365,47 @@ class LanguageServer::Protocol::Interface::DeclarationParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:45 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:4 class LanguageServer::Protocol::Interface::DeclarationRegistrationOptions # @return [DeclarationRegistrationOptions] a new instance of DeclarationRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -3413,7 +3413,7 @@ class LanguageServer::Protocol::Interface::DeclarationRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:25 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -3421,88 +3421,88 @@ class LanguageServer::Protocol::Interface::DeclarationRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/declaration_registration_options.rb#16 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/declaration_registration_options.rb:16 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DefinitionClientCapabilities # @return [DefinitionClientCapabilities] a new instance of DefinitionClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), link_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:30 def attributes; end # Whether definition supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:18 def dynamic_registration; end # The client supports additional metadata in the form of definition links. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:26 def link_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_client_capabilities.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/definition_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_options.rb:4 class LanguageServer::Protocol::Interface::DefinitionOptions # @return [DefinitionOptions] a new instance of DefinitionOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:4 class LanguageServer::Protocol::Interface::DefinitionParams # @return [DefinitionParams] a new instance of DefinitionParams # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -3510,47 +3510,47 @@ class LanguageServer::Protocol::Interface::DefinitionParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:45 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:4 class LanguageServer::Protocol::Interface::DefinitionRegistrationOptions # @return [DefinitionRegistrationOptions] a new instance of DefinitionRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -3558,158 +3558,158 @@ class LanguageServer::Protocol::Interface::DefinitionRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/definition_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/definition_registration_options.rb:24 def work_done_progress; end end # Delete file operation # -# source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:7 class LanguageServer::Protocol::Interface::DeleteFile # @return [DeleteFile] a new instance of DeleteFile # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:8 def initialize(kind:, uri:, options: T.unsafe(nil), annotation_id: T.unsafe(nil)); end # An optional annotation identifier describing the operation. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:47 def annotation_id; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:51 def attributes; end # A delete # # @return ["delete"] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:23 def kind; end # Delete options. # # @return [DeleteFileOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:39 def options; end - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:57 def to_json(*args); end # The file to delete. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file.rb:31 def uri; end end # Delete file options # -# source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:7 class LanguageServer::Protocol::Interface::DeleteFileOptions # @return [DeleteFileOptions] a new instance of DeleteFileOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:8 def initialize(recursive: T.unsafe(nil), ignore_if_not_exists: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:33 def attributes; end # Ignore the operation if the file doesn't exist. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:29 def ignore_if_not_exists; end # Delete the content recursively if a folder is denoted. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:21 def recursive; end - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/delete_file_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_file_options.rb:39 def to_json(*args); end end # The parameters sent in notifications/requests for user-initiated deletes # of files. # -# source://language_server-protocol//lib/language_server/protocol/interface/delete_files_params.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_files_params.rb:8 class LanguageServer::Protocol::Interface::DeleteFilesParams # @return [DeleteFilesParams] a new instance of DeleteFilesParams # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_files_params.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_files_params.rb:9 def initialize(files:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_files_params.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_files_params.rb:25 def attributes; end # An array of all files/folders deleted in this operation. # # @return [FileDelete[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/delete_files_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_files_params.rb:21 def files; end - # source://language_server-protocol//lib/language_server/protocol/interface/delete_files_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_files_params.rb:27 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/delete_files_params.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/delete_files_params.rb:31 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:4 class LanguageServer::Protocol::Interface::Diagnostic # @return [Diagnostic] a new instance of Diagnostic # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:5 def initialize(range:, message:, severity: T.unsafe(nil), code: T.unsafe(nil), code_description: T.unsafe(nil), source: T.unsafe(nil), tags: T.unsafe(nil), related_information: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#98 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:98 def attributes; end # The diagnostic's code, which might appear in the user interface. # # @return [string | number] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:42 def code; end # An optional property to describe the error code. # # @return [CodeDescription] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:50 def code_description; end # A data entry field that is preserved between a @@ -3718,21 +3718,21 @@ class LanguageServer::Protocol::Interface::Diagnostic # # @return [unknown] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#94 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:94 def data; end # The diagnostic's message. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:67 def message; end # The range at which the message applies. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:25 def range; end # An array of related diagnostic information, e.g. when symbol-names within @@ -3740,7 +3740,7 @@ class LanguageServer::Protocol::Interface::Diagnostic # # @return [DiagnosticRelatedInformation[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:84 def related_information; end # The diagnostic's severity. Can be omitted. If omitted it is up to the @@ -3748,7 +3748,7 @@ class LanguageServer::Protocol::Interface::Diagnostic # # @return [DiagnosticSeverity] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:34 def severity; end # A human-readable string describing the source of this @@ -3756,35 +3756,35 @@ class LanguageServer::Protocol::Interface::Diagnostic # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:59 def source; end # Additional metadata about the diagnostic. # # @return [DiagnosticTag[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#75 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:75 def tags; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#100 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:100 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic.rb#104 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic.rb:104 def to_json(*args); end end # Client capabilities specific to diagnostic pull requests. # -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::DiagnosticClientCapabilities # @return [DiagnosticClientCapabilities] a new instance of DiagnosticClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:8 def initialize(dynamic_registration: T.unsafe(nil), related_document_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:37 def attributes; end # Whether implementation supports dynamic registration. If this is set to @@ -3794,7 +3794,7 @@ class LanguageServer::Protocol::Interface::DiagnosticClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:24 def dynamic_registration; end # Whether the clients supports related documents for document diagnostic @@ -3802,28 +3802,28 @@ class LanguageServer::Protocol::Interface::DiagnosticClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:33 def related_document_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_client_capabilities.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_client_capabilities.rb:43 def to_json(*args); end end # Diagnostic options. # -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:7 class LanguageServer::Protocol::Interface::DiagnosticOptions # @return [DiagnosticOptions] a new instance of DiagnosticOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:8 def initialize(inter_file_dependencies:, workspace_diagnostics:, work_done_progress: T.unsafe(nil), identifier: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:52 def attributes; end # An optional identifier under which the diagnostics are @@ -3831,7 +3831,7 @@ class LanguageServer::Protocol::Interface::DiagnosticOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:29 def identifier; end # Whether the language has inter file dependencies meaning that @@ -3841,40 +3841,40 @@ class LanguageServer::Protocol::Interface::DiagnosticOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:40 def inter_file_dependencies; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:54 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:58 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:20 def work_done_progress; end # The server provides support for workspace diagnostics as well. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_options.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_options.rb:48 def workspace_diagnostics; end end # Diagnostic registration options. # -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:7 class LanguageServer::Protocol::Interface::DiagnosticRegistrationOptions # @return [DiagnosticRegistrationOptions] a new instance of DiagnosticRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:8 def initialize(document_selector:, inter_file_dependencies:, workspace_diagnostics:, work_done_progress: T.unsafe(nil), identifier: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#72 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:72 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -3882,7 +3882,7 @@ class LanguageServer::Protocol::Interface::DiagnosticRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:26 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -3890,7 +3890,7 @@ class LanguageServer::Protocol::Interface::DiagnosticRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:68 def id; end # An optional identifier under which the diagnostics are @@ -3898,7 +3898,7 @@ class LanguageServer::Protocol::Interface::DiagnosticRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:40 def identifier; end # Whether the language has inter file dependencies meaning that @@ -3908,25 +3908,25 @@ class LanguageServer::Protocol::Interface::DiagnosticRegistrationOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:51 def inter_file_dependencies; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#74 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:74 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#78 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:78 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:31 def work_done_progress; end # The server provides support for workspace diagnostics as well. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_registration_options.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_registration_options.rb:59 def workspace_diagnostics; end end @@ -3934,77 +3934,77 @@ end # This should be used to point to code locations that cause or are related to # a diagnostics, e.g when duplicating a symbol in a scope. # -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:9 class LanguageServer::Protocol::Interface::DiagnosticRelatedInformation # @return [DiagnosticRelatedInformation] a new instance of DiagnosticRelatedInformation # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:10 def initialize(location:, message:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:35 def attributes; end # The location of this related diagnostic information. # # @return [Location] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:23 def location; end # The message of this related diagnostic information. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:31 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:37 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_related_information.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_related_information.rb:41 def to_json(*args); end end # Cancellation data returned from a diagnostic request. # -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb:7 class LanguageServer::Protocol::Interface::DiagnosticServerCancellationData # @return [DiagnosticServerCancellationData] a new instance of DiagnosticServerCancellationData # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb:8 def initialize(retrigger_request:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb:21 def attributes; end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb:17 def retrigger_request; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb:27 def to_json(*args); end end # Workspace client capabilities specific to diagnostic pull requests. # -# source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::DiagnosticWorkspaceClientCapabilities # @return [DiagnosticWorkspaceClientCapabilities] a new instance of DiagnosticWorkspaceClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb:8 def initialize(refresh_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb:30 def attributes; end # Whether the client implementation supports a refresh request sent from @@ -4017,80 +4017,80 @@ class LanguageServer::Protocol::Interface::DiagnosticWorkspaceClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb:26 def refresh_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DidChangeConfigurationClientCapabilities # @return [DidChangeConfigurationClientCapabilities] a new instance of DidChangeConfigurationClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb:21 def attributes; end # Did change configuration notification supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_params.rb:4 class LanguageServer::Protocol::Interface::DidChangeConfigurationParams # @return [DidChangeConfigurationParams] a new instance of DidChangeConfigurationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_params.rb:5 def initialize(settings:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_params.rb:21 def attributes; end # The actual changed settings # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_params.rb:17 def settings; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_configuration_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_configuration_params.rb:27 def to_json(*args); end end # The params sent in a change notebook document notification. # -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:7 class LanguageServer::Protocol::Interface::DidChangeNotebookDocumentParams # @return [DidChangeNotebookDocumentParams] a new instance of DidChangeNotebookDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:8 def initialize(notebook_document:, change:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:44 def attributes; end # The actual changes to the notebook document. @@ -4107,7 +4107,7 @@ class LanguageServer::Protocol::Interface::DidChangeNotebookDocumentParams # # @return [NotebookDocumentChangeEvent] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:40 def change; end # The notebook document that did change. The version number points @@ -4115,26 +4115,26 @@ class LanguageServer::Protocol::Interface::DidChangeNotebookDocumentParams # # @return [VersionedNotebookDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:22 def notebook_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_notebook_document_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_notebook_document_params.rb:50 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:4 class LanguageServer::Protocol::Interface::DidChangeTextDocumentParams # @return [DidChangeTextDocumentParams] a new instance of DidChangeTextDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:5 def initialize(text_document:, content_changes:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:44 def attributes; end # The actual content changes. The content changes describe single state @@ -4153,7 +4153,7 @@ class LanguageServer::Protocol::Interface::DidChangeTextDocumentParams # # @return [TextDocumentContentChangeEvent[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:40 def content_changes; end # The document that did change. The version number points @@ -4162,26 +4162,26 @@ class LanguageServer::Protocol::Interface::DidChangeTextDocumentParams # # @return [VersionedTextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_text_document_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_text_document_params.rb:50 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DidChangeWatchedFilesClientCapabilities # @return [DidChangeWatchedFilesClientCapabilities] a new instance of DidChangeWatchedFilesClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), relative_pattern_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:33 def attributes; end # Did change watched files notification supports dynamic registration. @@ -4190,7 +4190,7 @@ class LanguageServer::Protocol::Interface::DidChangeWatchedFilesClientCapabiliti # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:20 def dynamic_registration; end # Whether the client has support for relative patterns @@ -4198,108 +4198,108 @@ class LanguageServer::Protocol::Interface::DidChangeWatchedFilesClientCapabiliti # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:29 def relative_pattern_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb:39 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_params.rb:4 class LanguageServer::Protocol::Interface::DidChangeWatchedFilesParams # @return [DidChangeWatchedFilesParams] a new instance of DidChangeWatchedFilesParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_params.rb:5 def initialize(changes:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_params.rb:21 def attributes; end # The actual file events. # # @return [FileEvent[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_params.rb:17 def changes; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_params.rb:27 def to_json(*args); end end # Describe options to be used when registering for file system change events. # -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb:7 class LanguageServer::Protocol::Interface::DidChangeWatchedFilesRegistrationOptions # @return [DidChangeWatchedFilesRegistrationOptions] a new instance of DidChangeWatchedFilesRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb:8 def initialize(watchers:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb:24 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb:30 def to_json(*args); end # The watchers to register. # # @return [FileSystemWatcher[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb:20 def watchers; end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_change_workspace_folders_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_workspace_folders_params.rb:4 class LanguageServer::Protocol::Interface::DidChangeWorkspaceFoldersParams # @return [DidChangeWorkspaceFoldersParams] a new instance of DidChangeWorkspaceFoldersParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_workspace_folders_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_workspace_folders_params.rb:5 def initialize(event:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_workspace_folders_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_workspace_folders_params.rb:21 def attributes; end # The actual workspace folder change event. # # @return [WorkspaceFoldersChangeEvent] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_workspace_folders_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_workspace_folders_params.rb:17 def event; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_workspace_folders_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_workspace_folders_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_change_workspace_folders_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_change_workspace_folders_params.rb:27 def to_json(*args); end end # The params sent in a close notebook document notification. # -# source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:7 class LanguageServer::Protocol::Interface::DidCloseNotebookDocumentParams # @return [DidCloseNotebookDocumentParams] a new instance of DidCloseNotebookDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:8 def initialize(notebook_document:, cell_text_documents:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:34 def attributes; end # The text documents that represent the content @@ -4307,61 +4307,61 @@ class LanguageServer::Protocol::Interface::DidCloseNotebookDocumentParams # # @return [TextDocumentIdentifier[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:30 def cell_text_documents; end # The notebook document that got closed. # # @return [NotebookDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:21 def notebook_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_notebook_document_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_notebook_document_params.rb:40 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_close_text_document_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_text_document_params.rb:4 class LanguageServer::Protocol::Interface::DidCloseTextDocumentParams # @return [DidCloseTextDocumentParams] a new instance of DidCloseTextDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_text_document_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_text_document_params.rb:5 def initialize(text_document:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_text_document_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_text_document_params.rb:21 def attributes; end # The document that was closed. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_text_document_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_text_document_params.rb:17 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_text_document_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_text_document_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_close_text_document_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_close_text_document_params.rb:27 def to_json(*args); end end # The params sent in an open notebook document notification. # -# source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:7 class LanguageServer::Protocol::Interface::DidOpenNotebookDocumentParams # @return [DidOpenNotebookDocumentParams] a new instance of DidOpenNotebookDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:8 def initialize(notebook_document:, cell_text_documents:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:34 def attributes; end # The text documents that represent the content @@ -4369,87 +4369,87 @@ class LanguageServer::Protocol::Interface::DidOpenNotebookDocumentParams # # @return [TextDocumentItem[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:30 def cell_text_documents; end # The notebook document that got opened. # # @return [NotebookDocument] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:21 def notebook_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_notebook_document_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_notebook_document_params.rb:40 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_open_text_document_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_text_document_params.rb:4 class LanguageServer::Protocol::Interface::DidOpenTextDocumentParams # @return [DidOpenTextDocumentParams] a new instance of DidOpenTextDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_text_document_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_text_document_params.rb:5 def initialize(text_document:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_text_document_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_text_document_params.rb:21 def attributes; end # The document that was opened. # # @return [TextDocumentItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_text_document_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_text_document_params.rb:17 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_text_document_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_text_document_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_open_text_document_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_open_text_document_params.rb:27 def to_json(*args); end end # The params sent in a save notebook document notification. # -# source://language_server-protocol//lib/language_server/protocol/interface/did_save_notebook_document_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_notebook_document_params.rb:7 class LanguageServer::Protocol::Interface::DidSaveNotebookDocumentParams # @return [DidSaveNotebookDocumentParams] a new instance of DidSaveNotebookDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_notebook_document_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_notebook_document_params.rb:8 def initialize(notebook_document:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_notebook_document_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_notebook_document_params.rb:24 def attributes; end # The notebook document that got saved. # # @return [NotebookDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_notebook_document_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_notebook_document_params.rb:20 def notebook_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_notebook_document_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_notebook_document_params.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_notebook_document_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_notebook_document_params.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:4 class LanguageServer::Protocol::Interface::DidSaveTextDocumentParams # @return [DidSaveTextDocumentParams] a new instance of DidSaveTextDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:5 def initialize(text_document:, text: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:31 def attributes; end # Optional the content when saved. Depends on the includeText value @@ -4457,83 +4457,83 @@ class LanguageServer::Protocol::Interface::DidSaveTextDocumentParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:27 def text; end # The document that was saved. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:18 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/did_save_text_document_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/did_save_text_document_params.rb:37 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_color_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentColorClientCapabilities # @return [DocumentColorClientCapabilities] a new instance of DocumentColorClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_client_capabilities.rb:21 def attributes; end # Whether document color supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_color_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_options.rb:4 class LanguageServer::Protocol::Interface::DocumentColorOptions # @return [DocumentColorOptions] a new instance of DocumentColorOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:4 class LanguageServer::Protocol::Interface::DocumentColorParams # @return [DocumentColorParams] a new instance of DocumentColorParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:5 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:40 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -4541,40 +4541,40 @@ class LanguageServer::Protocol::Interface::DocumentColorParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:28 def partial_result_token; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:36 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:46 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentColorRegistrationOptions # @return [DocumentColorRegistrationOptions] a new instance of DocumentColorRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:5 def initialize(document_selector:, id: T.unsafe(nil), work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -4582,7 +4582,7 @@ class LanguageServer::Protocol::Interface::DocumentColorRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -4590,40 +4590,40 @@ class LanguageServer::Protocol::Interface::DocumentColorRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:29 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_color_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_color_registration_options.rb:34 def work_done_progress; end end # Parameters of the document diagnostic request. # -# source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:7 class LanguageServer::Protocol::Interface::DocumentDiagnosticParams # @return [DocumentDiagnosticParams] a new instance of DocumentDiagnosticParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:8 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil), identifier: T.unsafe(nil), previous_result_id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:61 def attributes; end # The additional identifier provided during registration. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:49 def identifier; end # An optional token that a server can use to report partial results (e.g. @@ -4631,80 +4631,80 @@ class LanguageServer::Protocol::Interface::DocumentDiagnosticParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:33 def partial_result_token; end # The result id of a previous response if provided. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:57 def previous_result_id; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:41 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:63 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:67 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_params.rb:24 def work_done_token; end end # A partial result for a document diagnostic report. # -# source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb:7 class LanguageServer::Protocol::Interface::DocumentDiagnosticReportPartialResult # @return [DocumentDiagnosticReportPartialResult] a new instance of DocumentDiagnosticReportPartialResult # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb:8 def initialize(related_documents:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb:21 def attributes; end # @return [{ [uri: string]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb:17 def related_documents; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:4 class LanguageServer::Protocol::Interface::DocumentFilter # @return [DocumentFilter] a new instance of DocumentFilter # - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:5 def initialize(language: T.unsafe(nil), scheme: T.unsafe(nil), pattern: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:51 def attributes; end # A language id, like `typescript`. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:19 def language; end # A glob pattern, like `*.{ts,js}`. @@ -4723,123 +4723,123 @@ class LanguageServer::Protocol::Interface::DocumentFilter # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:47 def pattern; end # A Uri [scheme](#Uri.scheme), like `file` or `untitled`. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:27 def scheme; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_filter.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_filter.rb:57 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentFormattingClientCapabilities # @return [DocumentFormattingClientCapabilities] a new instance of DocumentFormattingClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_client_capabilities.rb:21 def attributes; end # Whether formatting supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_options.rb:4 class LanguageServer::Protocol::Interface::DocumentFormattingOptions # @return [DocumentFormattingOptions] a new instance of DocumentFormattingOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:4 class LanguageServer::Protocol::Interface::DocumentFormattingParams # @return [DocumentFormattingParams] a new instance of DocumentFormattingParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:5 def initialize(text_document:, options:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:39 def attributes; end # The format options. # # @return [FormattingOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:35 def options; end # The document to format. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:27 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentFormattingRegistrationOptions # @return [DocumentFormattingRegistrationOptions] a new instance of DocumentFormattingRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -4847,18 +4847,18 @@ class LanguageServer::Protocol::Interface::DocumentFormattingRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_formatting_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_formatting_registration_options.rb:24 def work_done_progress; end end @@ -4866,99 +4866,99 @@ end # special attention. Usually a document highlight is visualized by changing # the background color of its range. # -# source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:9 class LanguageServer::Protocol::Interface::DocumentHighlight # @return [DocumentHighlight] a new instance of DocumentHighlight # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:10 def initialize(range:, kind: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:35 def attributes; end # The highlight kind, default is DocumentHighlightKind.Text. # # @return [DocumentHighlightKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:31 def kind; end # The range this highlight applies to. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:23 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:37 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight.rb:41 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentHighlightClientCapabilities # @return [DocumentHighlightClientCapabilities] a new instance of DocumentHighlightClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_client_capabilities.rb:21 def attributes; end # Whether document highlight supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_options.rb:4 class LanguageServer::Protocol::Interface::DocumentHighlightOptions # @return [DocumentHighlightOptions] a new instance of DocumentHighlightOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:4 class LanguageServer::Protocol::Interface::DocumentHighlightParams # @return [DocumentHighlightParams] a new instance of DocumentHighlightParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -4966,47 +4966,47 @@ class LanguageServer::Protocol::Interface::DocumentHighlightParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:45 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentHighlightRegistrationOptions # @return [DocumentHighlightRegistrationOptions] a new instance of DocumentHighlightRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -5014,34 +5014,34 @@ class LanguageServer::Protocol::Interface::DocumentHighlightRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_highlight_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_highlight_registration_options.rb:24 def work_done_progress; end end # A document link is a range in a text document that links to an internal or # external resource, like another text document or a web site. # -# source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:8 class LanguageServer::Protocol::Interface::DocumentLink # @return [DocumentLink] a new instance of DocumentLink # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:9 def initialize(range:, target: T.unsafe(nil), tooltip: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:58 def attributes; end # A data entry field that is preserved on a document link between a @@ -5049,27 +5049,27 @@ class LanguageServer::Protocol::Interface::DocumentLink # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:54 def data; end # The range this link applies to. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:24 def range; end # The uri this link points to. If missing a resolve request is sent later. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:32 def target; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:60 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:64 def to_json(*args); end # The tooltip text when you hover over this link. @@ -5081,84 +5081,84 @@ class LanguageServer::Protocol::Interface::DocumentLink # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link.rb:45 def tooltip; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentLinkClientCapabilities # @return [DocumentLinkClientCapabilities] a new instance of DocumentLinkClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), tooltip_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:30 def attributes; end # Whether document link supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:18 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:36 def to_json(*args); end # Whether the client supports the `tooltip` property on `DocumentLink`. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_client_capabilities.rb:26 def tooltip_support; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:4 class LanguageServer::Protocol::Interface::DocumentLinkOptions # @return [DocumentLinkOptions] a new instance of DocumentLinkOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:27 def attributes; end # Document links have a resolve provider as well. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:23 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:29 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:33 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_options.rb:15 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:4 class LanguageServer::Protocol::Interface::DocumentLinkParams # @return [DocumentLinkParams] a new instance of DocumentLinkParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:5 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:40 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -5166,40 +5166,40 @@ class LanguageServer::Protocol::Interface::DocumentLinkParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:28 def partial_result_token; end # The document to provide document links for. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:36 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:46 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentLinkRegistrationOptions # @return [DocumentLinkRegistrationOptions] a new instance of DocumentLinkRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:37 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -5207,97 +5207,97 @@ class LanguageServer::Protocol::Interface::DocumentLinkRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:20 def document_selector; end # Document links have a resolve provider as well. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:33 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:43 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_link_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_link_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingClientCapabilities # @return [DocumentOnTypeFormattingClientCapabilities] a new instance of DocumentOnTypeFormattingClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb:21 def attributes; end # Whether on type formatting supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:4 class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingOptions # @return [DocumentOnTypeFormattingOptions] a new instance of DocumentOnTypeFormattingOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:5 def initialize(first_trigger_character:, more_trigger_character: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:30 def attributes; end # A character on which formatting should be triggered, like `{`. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:18 def first_trigger_character; end # More trigger characters. # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:26 def more_trigger_character; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_options.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_options.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:4 class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingParams # @return [DocumentOnTypeFormattingParams] a new instance of DocumentOnTypeFormattingParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:5 def initialize(text_document:, position:, ch:, options:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:53 def attributes; end # The character that has been typed that triggered the formatting @@ -5307,14 +5307,14 @@ class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:41 def ch; end # The formatting options. # # @return [FormattingOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:49 def options; end # The position around which the on type formatting should happen. @@ -5323,33 +5323,33 @@ class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingParams # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:30 def position; end # The document to format. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:55 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_params.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_params.rb:59 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingRegistrationOptions # @return [DocumentOnTypeFormattingRegistrationOptions] a new instance of DocumentOnTypeFormattingRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:5 def initialize(document_selector:, first_trigger_character:, more_trigger_character: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:40 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -5357,137 +5357,137 @@ class LanguageServer::Protocol::Interface::DocumentOnTypeFormattingRegistrationO # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:20 def document_selector; end # A character on which formatting should be triggered, like `{`. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:28 def first_trigger_character; end # More trigger characters. # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:36 def more_trigger_character; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb:46 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentRangeFormattingClientCapabilities # @return [DocumentRangeFormattingClientCapabilities] a new instance of DocumentRangeFormattingClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb:21 def attributes; end # Whether formatting supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_options.rb:4 class LanguageServer::Protocol::Interface::DocumentRangeFormattingOptions # @return [DocumentRangeFormattingOptions] a new instance of DocumentRangeFormattingOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:4 class LanguageServer::Protocol::Interface::DocumentRangeFormattingParams # @return [DocumentRangeFormattingParams] a new instance of DocumentRangeFormattingParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:5 def initialize(text_document:, range:, options:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:48 def attributes; end # The format options # # @return [FormattingOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:44 def options; end # The range to format # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:36 def range; end # The document to format. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:28 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:50 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:54 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_params.rb:20 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentRangeFormattingRegistrationOptions # @return [DocumentRangeFormattingRegistrationOptions] a new instance of DocumentRangeFormattingRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -5495,18 +5495,18 @@ class LanguageServer::Protocol::Interface::DocumentRangeFormattingRegistrationOp # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_range_formatting_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_range_formatting_registration_options.rb:24 def work_done_progress; end end @@ -5515,44 +5515,44 @@ end # have two ranges: one that encloses its definition and one that points to its # most interesting range, e.g. the range of an identifier. # -# source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#10 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:10 class LanguageServer::Protocol::Interface::DocumentSymbol # @return [DocumentSymbol] a new instance of DocumentSymbol # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#11 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:11 def initialize(name:, kind:, range:, selection_range:, detail: T.unsafe(nil), tags: T.unsafe(nil), deprecated: T.unsafe(nil), children: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#96 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:96 def attributes; end # Children of this symbol, e.g. properties of a class. # # @return [DocumentSymbol[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#92 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:92 def children; end # Indicates if this symbol is deprecated. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:64 def deprecated; end # More detail for this symbol, e.g the signature of a function. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:40 def detail; end # The kind of this symbol. # # @return [SymbolKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:48 def kind; end # The name of this symbol. Will be displayed in the user interface and @@ -5561,7 +5561,7 @@ class LanguageServer::Protocol::Interface::DocumentSymbol # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:32 def name; end # The range enclosing this symbol not including leading/trailing whitespace @@ -5571,7 +5571,7 @@ class LanguageServer::Protocol::Interface::DocumentSymbol # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#75 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:75 def range; end # The range that should be selected and revealed when this symbol is being @@ -5579,47 +5579,47 @@ class LanguageServer::Protocol::Interface::DocumentSymbol # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:84 def selection_range; end # Tags for this document symbol. # # @return [1[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:56 def tags; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#98 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:98 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol.rb#102 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol.rb:102 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::DocumentSymbolClientCapabilities # @return [DocumentSymbolClientCapabilities] a new instance of DocumentSymbolClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), symbol_kind: T.unsafe(nil), hierarchical_document_symbol_support: T.unsafe(nil), tag_support: T.unsafe(nil), label_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:61 def attributes; end # Whether document symbol supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:21 def dynamic_registration; end # The client supports hierarchical document symbols. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:38 def hierarchical_document_symbol_support; end # The client supports an additional label presented in the UI when @@ -5627,7 +5627,7 @@ class LanguageServer::Protocol::Interface::DocumentSymbolClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:57 def label_support; end # Specific capabilities for the `SymbolKind` in the @@ -5635,7 +5635,7 @@ class LanguageServer::Protocol::Interface::DocumentSymbolClientCapabilities # # @return [{ valueSet?: SymbolKind[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:30 def symbol_kind; end # The client supports tags on `SymbolInformation`. Tags are supported on @@ -5644,26 +5644,26 @@ class LanguageServer::Protocol::Interface::DocumentSymbolClientCapabilities # # @return [{ valueSet: 1[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:48 def tag_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:63 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_client_capabilities.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_client_capabilities.rb:67 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:4 class LanguageServer::Protocol::Interface::DocumentSymbolOptions # @return [DocumentSymbolOptions] a new instance of DocumentSymbolOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), label: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:28 def attributes; end # A human-readable string that is shown when multiple outlines trees @@ -5671,31 +5671,31 @@ class LanguageServer::Protocol::Interface::DocumentSymbolOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:24 def label; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_options.rb:15 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:4 class LanguageServer::Protocol::Interface::DocumentSymbolParams # @return [DocumentSymbolParams] a new instance of DocumentSymbolParams # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:5 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:40 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -5703,40 +5703,40 @@ class LanguageServer::Protocol::Interface::DocumentSymbolParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:28 def partial_result_token; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:36 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:46 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:4 class LanguageServer::Protocol::Interface::DocumentSymbolRegistrationOptions # @return [DocumentSymbolRegistrationOptions] a new instance of DocumentSymbolRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), label: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -5744,7 +5744,7 @@ class LanguageServer::Protocol::Interface::DocumentSymbolRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:20 def document_selector; end # A human-readable string that is shown when multiple outlines trees @@ -5752,161 +5752,161 @@ class LanguageServer::Protocol::Interface::DocumentSymbolRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:34 def label; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/document_symbol_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/document_symbol_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/execute_command_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::ExecuteCommandClientCapabilities # @return [ExecuteCommandClientCapabilities] a new instance of ExecuteCommandClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_client_capabilities.rb:21 def attributes; end # Execute command supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:4 class LanguageServer::Protocol::Interface::ExecuteCommandOptions # @return [ExecuteCommandOptions] a new instance of ExecuteCommandOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:5 def initialize(commands:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:27 def attributes; end # The commands to be executed on the server # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:23 def commands; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:29 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:33 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_options.rb:15 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:4 class LanguageServer::Protocol::Interface::ExecuteCommandParams # @return [ExecuteCommandParams] a new instance of ExecuteCommandParams # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:5 def initialize(command:, work_done_token: T.unsafe(nil), arguments: T.unsafe(nil)); end # Arguments that the command should be invoked with. # # @return [LSPAny[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:35 def arguments; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:39 def attributes; end # The identifier of the actual command handler. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:27 def command; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_params.rb:19 def work_done_token; end end # Execute command registration options. # -# source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:7 class LanguageServer::Protocol::Interface::ExecuteCommandRegistrationOptions # @return [ExecuteCommandRegistrationOptions] a new instance of ExecuteCommandRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:8 def initialize(commands:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:30 def attributes; end # The commands to be executed on the server # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:26 def commands; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:36 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/execute_command_registration_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execute_command_registration_options.rb:18 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:4 class LanguageServer::Protocol::Interface::ExecutionSummary # @return [ExecutionSummary] a new instance of ExecutionSummary # - # source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:5 def initialize(execution_order:, success: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:33 def attributes; end # A strict monotonically increasing value @@ -5915,7 +5915,7 @@ class LanguageServer::Protocol::Interface::ExecutionSummary # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:20 def execution_order; end # Whether the execution was successful or @@ -5923,156 +5923,156 @@ class LanguageServer::Protocol::Interface::ExecutionSummary # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:29 def success; end - # source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/execution_summary.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/execution_summary.rb:39 def to_json(*args); end end # Represents information on a file/folder create. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_create.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_create.rb:7 class LanguageServer::Protocol::Interface::FileCreate # @return [FileCreate] a new instance of FileCreate # - # source://language_server-protocol//lib/language_server/protocol/interface/file_create.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_create.rb:8 def initialize(uri:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_create.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_create.rb:24 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_create.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_create.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_create.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_create.rb:30 def to_json(*args); end # A file:// URI for the location of the file/folder being created. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_create.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_create.rb:20 def uri; end end # Represents information on a file/folder delete. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_delete.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_delete.rb:7 class LanguageServer::Protocol::Interface::FileDelete # @return [FileDelete] a new instance of FileDelete # - # source://language_server-protocol//lib/language_server/protocol/interface/file_delete.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_delete.rb:8 def initialize(uri:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_delete.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_delete.rb:24 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_delete.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_delete.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_delete.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_delete.rb:30 def to_json(*args); end # A file:// URI for the location of the file/folder being deleted. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_delete.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_delete.rb:20 def uri; end end # An event describing a file change. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:7 class LanguageServer::Protocol::Interface::FileEvent # @return [FileEvent] a new instance of FileEvent # - # source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:8 def initialize(uri:, type:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:33 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:39 def to_json(*args); end # The change type. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:29 def type; end # The file's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_event.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_event.rb:21 def uri; end end # A filter to describe in which file operation requests or notifications # the server is interested in. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:8 class LanguageServer::Protocol::Interface::FileOperationFilter # @return [FileOperationFilter] a new instance of FileOperationFilter # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:9 def initialize(pattern:, scheme: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:34 def attributes; end # The actual file operation pattern. # # @return [FileOperationPattern] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:30 def pattern; end # A Uri like `file` or `untitled`. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:22 def scheme; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_filter.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_filter.rb:40 def to_json(*args); end end # A pattern to describe in which file operation requests or notifications # the server is interested in. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:8 class LanguageServer::Protocol::Interface::FileOperationPattern # @return [FileOperationPattern] a new instance of FileOperationPattern # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:9 def initialize(glob:, matches: T.unsafe(nil), options: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:55 def attributes; end # The glob pattern to match. Glob patterns can have the following syntax: @@ -6089,7 +6089,7 @@ class LanguageServer::Protocol::Interface::FileOperationPattern # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:33 def glob; end # Whether to match files or folders with this pattern. @@ -6098,124 +6098,124 @@ class LanguageServer::Protocol::Interface::FileOperationPattern # # @return [FileOperationPatternKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:43 def matches; end # Additional options used during matching. # # @return [FileOperationPatternOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:51 def options; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:57 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern.rb:61 def to_json(*args); end end # Matching options for the file operation pattern. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern_options.rb:7 class LanguageServer::Protocol::Interface::FileOperationPatternOptions # @return [FileOperationPatternOptions] a new instance of FileOperationPatternOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern_options.rb:8 def initialize(ignore_case: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern_options.rb:24 def attributes; end # The pattern should be matched ignoring casing. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern_options.rb:20 def ignore_case; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern_options.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_pattern_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_pattern_options.rb:30 def to_json(*args); end end # The options to register for file operations. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_operation_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_registration_options.rb:7 class LanguageServer::Protocol::Interface::FileOperationRegistrationOptions # @return [FileOperationRegistrationOptions] a new instance of FileOperationRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_registration_options.rb:8 def initialize(filters:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_registration_options.rb:24 def attributes; end # The actual filters. # # @return [FileOperationFilter[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_registration_options.rb:20 def filters; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_registration_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_registration_options.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_operation_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_operation_registration_options.rb:30 def to_json(*args); end end # Represents information on a file/folder rename. # -# source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:7 class LanguageServer::Protocol::Interface::FileRename # @return [FileRename] a new instance of FileRename # - # source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:8 def initialize(old_uri:, new_uri:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:33 def attributes; end # A file:// URI for the new location of the file/folder being renamed. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:29 def new_uri; end # A file:// URI for the original location of the file/folder being renamed. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:21 def old_uri; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_rename.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_rename.rb:39 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:4 class LanguageServer::Protocol::Interface::FileSystemWatcher # @return [FileSystemWatcher] a new instance of FileSystemWatcher # - # source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:5 def initialize(glob_pattern:, kind: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:33 def attributes; end # The glob pattern to watch. See {@link GlobPattern glob pattern} @@ -6223,7 +6223,7 @@ class LanguageServer::Protocol::Interface::FileSystemWatcher # # @return [GlobPattern] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:19 def glob_pattern; end # The kind of events of interest. If omitted it defaults @@ -6232,13 +6232,13 @@ class LanguageServer::Protocol::Interface::FileSystemWatcher # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:29 def kind; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/file_system_watcher.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/file_system_watcher.rb:39 def to_json(*args); end end @@ -6246,16 +6246,16 @@ end # than zero and smaller than the number of lines in the document. Clients # are free to ignore invalid ranges. # -# source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:9 class LanguageServer::Protocol::Interface::FoldingRange # @return [FoldingRange] a new instance of FoldingRange # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:10 def initialize(start_line:, end_line:, start_character: T.unsafe(nil), end_character: T.unsafe(nil), kind: T.unsafe(nil), collapsed_text: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#82 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:82 def attributes; end # The text that the client should show when the specified range is @@ -6264,7 +6264,7 @@ class LanguageServer::Protocol::Interface::FoldingRange # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#78 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:78 def collapsed_text; end # The zero-based character offset before the folded range ends. If not @@ -6272,7 +6272,7 @@ class LanguageServer::Protocol::Interface::FoldingRange # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:57 def end_character; end # The zero-based end line of the range to fold. The folded area ends with @@ -6281,7 +6281,7 @@ class LanguageServer::Protocol::Interface::FoldingRange # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:48 def end_line; end # Describes the kind of the folding range such as `comment` or `region`. @@ -6291,7 +6291,7 @@ class LanguageServer::Protocol::Interface::FoldingRange # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:68 def kind; end # The zero-based character offset from where the folded range starts. If @@ -6299,7 +6299,7 @@ class LanguageServer::Protocol::Interface::FoldingRange # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:38 def start_character; end # The zero-based start line of the range to fold. The folded area starts @@ -6308,26 +6308,26 @@ class LanguageServer::Protocol::Interface::FoldingRange # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:29 def start_line; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:84 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range.rb#88 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range.rb:88 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::FoldingRangeClientCapabilities # @return [FoldingRangeClientCapabilities] a new instance of FoldingRangeClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), range_limit: T.unsafe(nil), line_folding_only: T.unsafe(nil), folding_range_kind: T.unsafe(nil), folding_range: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:64 def attributes; end # Whether implementation supports dynamic registration for folding range @@ -6337,21 +6337,21 @@ class LanguageServer::Protocol::Interface::FoldingRangeClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:24 def dynamic_registration; end # Specific options for the folding range. # # @return [{ collapsedText?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:60 def folding_range; end # Specific options for the folding range kind. # # @return [{ valueSet?: string[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:52 def folding_range_kind; end # If set, the client signals that it only supports folding complete lines. @@ -6360,7 +6360,7 @@ class LanguageServer::Protocol::Interface::FoldingRangeClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:44 def line_folding_only; end # The maximum number of folding ranges that the client prefers to receive @@ -6369,50 +6369,50 @@ class LanguageServer::Protocol::Interface::FoldingRangeClientCapabilities # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:34 def range_limit; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:66 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_client_capabilities.rb#70 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_client_capabilities.rb:70 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/folding_range_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_options.rb:4 class LanguageServer::Protocol::Interface::FoldingRangeOptions # @return [FoldingRangeOptions] a new instance of FoldingRangeOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:4 class LanguageServer::Protocol::Interface::FoldingRangeParams # @return [FoldingRangeParams] a new instance of FoldingRangeParams # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:5 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:40 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -6420,40 +6420,40 @@ class LanguageServer::Protocol::Interface::FoldingRangeParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:28 def partial_result_token; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:36 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:46 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:4 class LanguageServer::Protocol::Interface::FoldingRangeRegistrationOptions # @return [FoldingRangeRegistrationOptions] a new instance of FoldingRangeRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -6461,7 +6461,7 @@ class LanguageServer::Protocol::Interface::FoldingRangeRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -6469,103 +6469,103 @@ class LanguageServer::Protocol::Interface::FoldingRangeRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/folding_range_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/folding_range_registration_options.rb:25 def work_done_progress; end end # Value-object describing what options formatting should use. # -# source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:7 class LanguageServer::Protocol::Interface::FormattingOptions # @return [FormattingOptions] a new instance of FormattingOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:8 def initialize(tab_size:, insert_spaces:, trim_trailing_whitespace: T.unsafe(nil), insert_final_newline: T.unsafe(nil), trim_final_newlines: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:60 def attributes; end # Insert a newline character at the end of the file if one does not exist. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:48 def insert_final_newline; end # Prefer spaces over tabs. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:32 def insert_spaces; end # Size of a tab in spaces. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:24 def tab_size; end - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:62 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:66 def to_json(*args); end # Trim all newlines after the final newline at the end of the file. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:56 def trim_final_newlines; end # Trim trailing whitespace on a line. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/formatting_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/formatting_options.rb:40 def trim_trailing_whitespace; end end # A diagnostic report with a full set of problems. # -# source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:7 class LanguageServer::Protocol::Interface::FullDocumentDiagnosticReport # @return [FullDocumentDiagnosticReport] a new instance of FullDocumentDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:8 def initialize(kind:, items:, result_id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:44 def attributes; end # The actual items. # # @return [Diagnostic[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:40 def items; end # A full document diagnostic report. # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:22 def kind; end # An optional result id. If provided it will @@ -6574,35 +6574,35 @@ class LanguageServer::Protocol::Interface::FullDocumentDiagnosticReport # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:32 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/full_document_diagnostic_report.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/full_document_diagnostic_report.rb:50 def to_json(*args); end end # The result of a hover request. # -# source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:7 class LanguageServer::Protocol::Interface::Hover # @return [Hover] a new instance of Hover # - # source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:8 def initialize(contents:, range: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:34 def attributes; end # The hover's content # # @return [MarkupContent | MarkedString | MarkedString[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:21 def contents; end # An optional range is a range inside a text document @@ -6610,26 +6610,26 @@ class LanguageServer::Protocol::Interface::Hover # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:30 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover.rb:40 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::HoverClientCapabilities # @return [HoverClientCapabilities] a new instance of HoverClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), content_format: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:32 def attributes; end # Client supports the follow content formats if the content @@ -6638,97 +6638,97 @@ class LanguageServer::Protocol::Interface::HoverClientCapabilities # # @return [MarkupKind[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:28 def content_format; end # Whether hover supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:18 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_client_capabilities.rb:38 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/hover_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_options.rb:4 class LanguageServer::Protocol::Interface::HoverOptions # @return [HoverOptions] a new instance of HoverOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:4 class LanguageServer::Protocol::Interface::HoverParams # @return [HoverParams] a new instance of HoverParams # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:39 def attributes; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:27 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:19 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_params.rb:35 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:4 class LanguageServer::Protocol::Interface::HoverRegistrationOptions # @return [HoverRegistrationOptions] a new instance of HoverRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -6736,55 +6736,55 @@ class LanguageServer::Protocol::Interface::HoverRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_registration_options.rb:24 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/hover_result.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_result.rb:4 class LanguageServer::Protocol::Interface::HoverResult # @return [HoverResult] a new instance of HoverResult # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_result.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_result.rb:5 def initialize(value:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_result.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_result.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_result.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_result.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/hover_result.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_result.rb:24 def to_json(*args); end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/hover_result.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/hover_result.rb:14 def value; end end -# source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::ImplementationClientCapabilities # @return [ImplementationClientCapabilities] a new instance of ImplementationClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), link_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:32 def attributes; end # Whether implementation supports dynamic registration. If this is set to @@ -6793,57 +6793,57 @@ class LanguageServer::Protocol::Interface::ImplementationClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:20 def dynamic_registration; end # The client supports additional metadata in the form of definition links. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:28 def link_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_client_capabilities.rb:38 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/implementation_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_options.rb:4 class LanguageServer::Protocol::Interface::ImplementationOptions # @return [ImplementationOptions] a new instance of ImplementationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:4 class LanguageServer::Protocol::Interface::ImplementationParams # @return [ImplementationParams] a new instance of ImplementationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -6851,47 +6851,47 @@ class LanguageServer::Protocol::Interface::ImplementationParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:45 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:4 class LanguageServer::Protocol::Interface::ImplementationRegistrationOptions # @return [ImplementationRegistrationOptions] a new instance of ImplementationRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -6899,7 +6899,7 @@ class LanguageServer::Protocol::Interface::ImplementationRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -6907,31 +6907,31 @@ class LanguageServer::Protocol::Interface::ImplementationRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/implementation_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/implementation_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/initialize_error.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_error.rb:4 class LanguageServer::Protocol::Interface::InitializeError # @return [InitializeError] a new instance of InitializeError # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_error.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_error.rb:5 def initialize(retry:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_error.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_error.rb:24 def attributes; end # Indicates whether the client execute the following retry logic: @@ -6941,47 +6941,47 @@ class LanguageServer::Protocol::Interface::InitializeError # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_error.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_error.rb:20 def retry; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_error.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_error.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_error.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_error.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:4 class LanguageServer::Protocol::Interface::InitializeParams # @return [InitializeParams] a new instance of InitializeParams # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:5 def initialize(process_id:, root_uri:, capabilities:, work_done_token: T.unsafe(nil), client_info: T.unsafe(nil), locale: T.unsafe(nil), root_path: T.unsafe(nil), initialization_options: T.unsafe(nil), trace: T.unsafe(nil), workspace_folders: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#116 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:116 def attributes; end # The capabilities provided by the client (editor or tool) # # @return [ClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#93 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:93 def capabilities; end # Information about the client # # @return [{ name: string; version?: string; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:45 def client_info; end # User provided initialization options. # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#85 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:85 def initialization_options; end # The locale the client is currently showing the user interface @@ -6993,7 +6993,7 @@ class LanguageServer::Protocol::Interface::InitializeParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:58 def locale; end # The process Id of the parent process that started the server. Is null if @@ -7003,7 +7003,7 @@ class LanguageServer::Protocol::Interface::InitializeParams # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:37 def process_id; end # The rootPath of the workspace. Is null @@ -7011,7 +7011,7 @@ class LanguageServer::Protocol::Interface::InitializeParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:67 def root_path; end # The rootUri of the workspace. Is null if no @@ -7020,27 +7020,27 @@ class LanguageServer::Protocol::Interface::InitializeParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#77 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:77 def root_uri; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#118 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:118 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#122 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:122 def to_json(*args); end # The initial trace setting. If omitted trace is disabled ('off'). # # @return [TraceValue] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#101 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:101 def trace; end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:26 def work_done_token; end # The workspace folders configured in the client when the server starts. @@ -7050,74 +7050,74 @@ class LanguageServer::Protocol::Interface::InitializeParams # # @return [WorkspaceFolder[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_params.rb#112 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_params.rb:112 def workspace_folders; end end -# source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:4 class LanguageServer::Protocol::Interface::InitializeResult # @return [InitializeResult] a new instance of InitializeResult # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:5 def initialize(capabilities:, server_info: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:30 def attributes; end # The capabilities the language server provides. # # @return [ServerCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:18 def capabilities; end # Information about the server. # # @return [{ name: string; version?: string; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:26 def server_info; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialize_result.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialize_result.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/initialized_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialized_params.rb:4 class LanguageServer::Protocol::Interface::InitializedParams # @return [InitializedParams] a new instance of InitializedParams # - # source://language_server-protocol//lib/language_server/protocol/interface/initialized_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialized_params.rb:5 def initialize; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/initialized_params.rb#12 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialized_params.rb:12 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialized_params.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialized_params.rb:14 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/initialized_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/initialized_params.rb:18 def to_json(*args); end end # Inlay hint information. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:7 class LanguageServer::Protocol::Interface::InlayHint # @return [InlayHint] a new instance of InlayHint # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:8 def initialize(position:, label:, kind: T.unsafe(nil), text_edits: T.unsafe(nil), tooltip: T.unsafe(nil), padding_left: T.unsafe(nil), padding_right: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#110 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:110 def attributes; end # A data entry field that is preserved on an inlay hint between @@ -7125,7 +7125,7 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#106 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:106 def data; end # The kind of this hint. Can be omitted in which case the client @@ -7133,7 +7133,7 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [InlayHintKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:47 def kind; end # The label of this hint. A human readable string or an array of @@ -7143,7 +7143,7 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [string | InlayHintLabelPart[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:38 def label; end # Render padding before the hint. @@ -7154,7 +7154,7 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#85 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:85 def padding_left; end # Render padding after the hint. @@ -7165,14 +7165,14 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#97 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:97 def padding_right; end # The position of this hint. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:27 def position; end # Optional text edits that are performed when accepting this inlay hint. @@ -7186,13 +7186,13 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [TextEdit[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:62 def text_edits; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#112 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:112 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#116 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:116 def to_json(*args); end # The tooltip text when you hover over this item. @@ -7202,29 +7202,29 @@ class LanguageServer::Protocol::Interface::InlayHint # # @return [string | MarkupContent] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint.rb#73 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint.rb:73 def tooltip; end end # Inlay hint client capabilities. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::InlayHintClientCapabilities # @return [InlayHintClientCapabilities] a new instance of InlayHintClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:8 def initialize(dynamic_registration: T.unsafe(nil), resolve_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:34 def attributes; end # Whether inlay hints support dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:21 def dynamic_registration; end # Indicates which properties a client can resolve lazily on an inlay @@ -7232,29 +7232,29 @@ class LanguageServer::Protocol::Interface::InlayHintClientCapabilities # # @return [{ properties: string[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:30 def resolve_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb:40 def to_json(*args); end end # An inlay hint label part allows for interactive and composite labels # of inlay hints. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:8 class LanguageServer::Protocol::Interface::InlayHintLabelPart # @return [InlayHintLabelPart] a new instance of InlayHintLabelPart # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:9 def initialize(value:, tooltip: T.unsafe(nil), location: T.unsafe(nil), command: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:67 def attributes; end # An optional command for this label part. @@ -7264,7 +7264,7 @@ class LanguageServer::Protocol::Interface::InlayHintLabelPart # # @return [Command] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:63 def command; end # An optional source code location that represents this @@ -7281,13 +7281,13 @@ class LanguageServer::Protocol::Interface::InlayHintLabelPart # # @return [Location] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:52 def location; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#69 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:69 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#73 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:73 def to_json(*args); end # The tooltip text when you hover over this label part. Depending on @@ -7296,29 +7296,29 @@ class LanguageServer::Protocol::Interface::InlayHintLabelPart # # @return [string | MarkupContent] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:34 def tooltip; end # The value of this label part. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_label_part.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_label_part.rb:24 def value; end end # Inlay hint options used during static registration. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:7 class LanguageServer::Protocol::Interface::InlayHintOptions # @return [InlayHintOptions] a new instance of InlayHintOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:8 def initialize(work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:31 def attributes; end # The server provides support to resolve additional @@ -7326,75 +7326,75 @@ class LanguageServer::Protocol::Interface::InlayHintOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:27 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:37 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_options.rb:18 def work_done_progress; end end # A parameter literal used in inlay hint requests. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:7 class LanguageServer::Protocol::Interface::InlayHintParams # @return [InlayHintParams] a new instance of InlayHintParams # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:8 def initialize(text_document:, range:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:42 def attributes; end # The visible document range for which inlay hints should be computed. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:38 def range; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:30 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:44 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:48 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_params.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_params.rb:22 def work_done_token; end end # Inlay hint options used during static or dynamic registration. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:7 class LanguageServer::Protocol::Interface::InlayHintRegistrationOptions # @return [InlayHintRegistrationOptions] a new instance of InlayHintRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:8 def initialize(document_selector:, work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:51 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -7402,7 +7402,7 @@ class LanguageServer::Protocol::Interface::InlayHintRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:38 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -7410,7 +7410,7 @@ class LanguageServer::Protocol::Interface::InlayHintRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:47 def id; end # The server provides support to resolve additional @@ -7418,33 +7418,33 @@ class LanguageServer::Protocol::Interface::InlayHintRegistrationOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:29 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:57 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_registration_options.rb:20 def work_done_progress; end end # Client workspace capabilities specific to inlay hints. # -# source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::InlayHintWorkspaceClientCapabilities # @return [InlayHintWorkspaceClientCapabilities] a new instance of InlayHintWorkspaceClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb:8 def initialize(refresh_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb:30 def attributes; end # Whether the client implementation supports a refresh request sent from @@ -7457,28 +7457,28 @@ class LanguageServer::Protocol::Interface::InlayHintWorkspaceClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb:26 def refresh_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb:36 def to_json(*args); end end # Client capabilities specific to inline values. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::InlineValueClientCapabilities # @return [InlineValueClientCapabilities] a new instance of InlineValueClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_client_capabilities.rb:8 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_client_capabilities.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_client_capabilities.rb:25 def attributes; end # Whether implementation supports dynamic registration for inline @@ -7486,33 +7486,33 @@ class LanguageServer::Protocol::Interface::InlineValueClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_client_capabilities.rb:21 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_client_capabilities.rb:27 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_client_capabilities.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_client_capabilities.rb:31 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:4 class LanguageServer::Protocol::Interface::InlineValueContext # @return [InlineValueContext] a new instance of InlineValueContext # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:5 def initialize(frame_id:, stopped_location:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:32 def attributes; end # The stack frame (as a DAP Id) where the execution has stopped. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:18 def frame_id; end # The document range where execution has stopped. @@ -7521,13 +7521,13 @@ class LanguageServer::Protocol::Interface::InlineValueContext # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:28 def stopped_location; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_context.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_context.rb:38 def to_json(*args); end end @@ -7538,23 +7538,23 @@ end # # An optional expression can be used to override the extracted expression. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:12 class LanguageServer::Protocol::Interface::InlineValueEvaluatableExpression # @return [InlineValueEvaluatableExpression] a new instance of InlineValueEvaluatableExpression # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#13 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:13 def initialize(range:, expression: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:40 def attributes; end # If specified the expression overrides the extracted expression. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:36 def expression; end # The document range for which the inline value applies. @@ -7563,54 +7563,54 @@ class LanguageServer::Protocol::Interface::InlineValueEvaluatableExpression # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:28 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb:46 def to_json(*args); end end # Inline value options used during static registration. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_options.rb:7 class LanguageServer::Protocol::Interface::InlineValueOptions # @return [InlineValueOptions] a new instance of InlineValueOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_options.rb:8 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_options.rb:21 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_options.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_options.rb:27 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_options.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_options.rb:17 def work_done_progress; end end # A parameter literal used in inline value requests. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:7 class LanguageServer::Protocol::Interface::InlineValueParams # @return [InlineValueParams] a new instance of InlineValueParams # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:8 def initialize(text_document:, range:, context:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:52 def attributes; end # Additional information about the context in which inline values were @@ -7618,49 +7618,49 @@ class LanguageServer::Protocol::Interface::InlineValueParams # # @return [InlineValueContext] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:48 def context; end # The document range for which inline values should be computed. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:39 def range; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:31 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:54 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:58 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_params.rb:23 def work_done_token; end end # Inline value options used during static or dynamic registration. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:7 class LanguageServer::Protocol::Interface::InlineValueRegistrationOptions # @return [InlineValueRegistrationOptions] a new instance of InlineValueRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:8 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:41 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -7668,7 +7668,7 @@ class LanguageServer::Protocol::Interface::InlineValueRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:28 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -7676,53 +7676,53 @@ class LanguageServer::Protocol::Interface::InlineValueRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:37 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:43 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:47 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_registration_options.rb:19 def work_done_progress; end end # Provide inline value as text. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:7 class LanguageServer::Protocol::Interface::InlineValueText # @return [InlineValueText] a new instance of InlineValueText # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:8 def initialize(range:, text:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:33 def attributes; end # The document range for which the inline value applies. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:21 def range; end # The text of the inline value. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:29 def text; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_text.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_text.rb:39 def to_json(*args); end end @@ -7733,23 +7733,23 @@ end # # An optional variable name can be used to override the extracted name. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#12 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:12 class LanguageServer::Protocol::Interface::InlineValueVariableLookup # @return [InlineValueVariableLookup] a new instance of InlineValueVariableLookup # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#13 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:13 def initialize(range:, case_sensitive_lookup:, variable_name: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:49 def attributes; end # How to perform the lookup. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:45 def case_sensitive_lookup; end # The document range for which the inline value applies. @@ -7758,35 +7758,35 @@ class LanguageServer::Protocol::Interface::InlineValueVariableLookup # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:29 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:55 def to_json(*args); end # If specified the name of the variable to look up. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_variable_lookup.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_variable_lookup.rb:37 def variable_name; end end # Client workspace capabilities specific to inline values. # -# source://language_server-protocol//lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::InlineValueWorkspaceClientCapabilities # @return [InlineValueWorkspaceClientCapabilities] a new instance of InlineValueWorkspaceClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb:8 def initialize(refresh_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb:30 def attributes; end # Whether the client implementation supports a refresh request sent from @@ -7799,68 +7799,68 @@ class LanguageServer::Protocol::Interface::InlineValueWorkspaceClientCapabilitie # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb:26 def refresh_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb:36 def to_json(*args); end end # A special text edit to provide an insert and a replace operation. # -# source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:7 class LanguageServer::Protocol::Interface::InsertReplaceEdit # @return [InsertReplaceEdit] a new instance of InsertReplaceEdit # - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:8 def initialize(new_text:, insert:, replace:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:42 def attributes; end # The range if the insert is requested # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:30 def insert; end # The string to be inserted. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:22 def new_text; end # The range if the replace is requested. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:38 def replace; end - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:44 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/insert_replace_edit.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/insert_replace_edit.rb:48 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::LinkedEditingRangeClientCapabilities # @return [LinkedEditingRangeClientCapabilities] a new instance of LinkedEditingRangeClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb:24 def attributes; end # Whether the implementation supports dynamic registration. @@ -7870,90 +7870,90 @@ class LanguageServer::Protocol::Interface::LinkedEditingRangeClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb:20 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_options.rb:4 class LanguageServer::Protocol::Interface::LinkedEditingRangeOptions # @return [LinkedEditingRangeOptions] a new instance of LinkedEditingRangeOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:4 class LanguageServer::Protocol::Interface::LinkedEditingRangeParams # @return [LinkedEditingRangeParams] a new instance of LinkedEditingRangeParams # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:39 def attributes; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:27 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:19 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_params.rb:35 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:4 class LanguageServer::Protocol::Interface::LinkedEditingRangeRegistrationOptions # @return [LinkedEditingRangeRegistrationOptions] a new instance of LinkedEditingRangeRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -7961,7 +7961,7 @@ class LanguageServer::Protocol::Interface::LinkedEditingRangeRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -7969,31 +7969,31 @@ class LanguageServer::Protocol::Interface::LinkedEditingRangeRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_range_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_range_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:4 class LanguageServer::Protocol::Interface::LinkedEditingRanges # @return [LinkedEditingRanges] a new instance of LinkedEditingRanges # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:5 def initialize(ranges:, word_pattern: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:34 def attributes; end # A list of ranges that can be renamed together. The ranges must have @@ -8002,13 +8002,13 @@ class LanguageServer::Protocol::Interface::LinkedEditingRanges # # @return [Range[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:20 def ranges; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:40 def to_json(*args); end # An optional word pattern (regular expression) that describes valid @@ -8017,49 +8017,49 @@ class LanguageServer::Protocol::Interface::LinkedEditingRanges # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/linked_editing_ranges.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/linked_editing_ranges.rb:30 def word_pattern; end end -# source://language_server-protocol//lib/language_server/protocol/interface/location.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:4 class LanguageServer::Protocol::Interface::Location # @return [Location] a new instance of Location # - # source://language_server-protocol//lib/language_server/protocol/interface/location.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:5 def initialize(uri:, range:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/location.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:24 def attributes; end # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/location.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:20 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/location.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/location.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:30 def to_json(*args); end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/location.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location.rb:15 def uri; end end -# source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:4 class LanguageServer::Protocol::Interface::LocationLink # @return [LocationLink] a new instance of LocationLink # - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:5 def initialize(target_uri:, target_range:, target_selection_range:, origin_selection_range: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:56 def attributes; end # Span of the origin of this link. @@ -8069,7 +8069,7 @@ class LanguageServer::Protocol::Interface::LocationLink # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:23 def origin_selection_range; end # The full target range of this link. If the target for example is a symbol @@ -8079,7 +8079,7 @@ class LanguageServer::Protocol::Interface::LocationLink # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:42 def target_range; end # The range that should be selected and revealed when this link is being @@ -8088,79 +8088,79 @@ class LanguageServer::Protocol::Interface::LocationLink # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:52 def target_selection_range; end # The target resource identifier of this link. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:31 def target_uri; end - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:58 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/location_link.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/location_link.rb:62 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:4 class LanguageServer::Protocol::Interface::LogMessageParams # @return [LogMessageParams] a new instance of LogMessageParams # - # source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:5 def initialize(type:, message:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:30 def attributes; end # The actual message # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:26 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:36 def to_json(*args); end # The message type. See {@link MessageType} # # @return [MessageType] # - # source://language_server-protocol//lib/language_server/protocol/interface/log_message_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_message_params.rb:18 def type; end end -# source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:4 class LanguageServer::Protocol::Interface::LogTraceParams # @return [LogTraceParams] a new instance of LogTraceParams # - # source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:5 def initialize(message:, verbose: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:31 def attributes; end # The message to be logged. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:18 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:37 def to_json(*args); end # Additional information that can be computed if the `trace` configuration @@ -8168,7 +8168,7 @@ class LanguageServer::Protocol::Interface::LogTraceParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/log_trace_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/log_trace_params.rb:27 def verbose; end end @@ -8197,101 +8197,101 @@ end # *Please Note* that clients might sanitize the return markdown. A client could # decide to remove HTML from the markdown to avoid script execution. # -# source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#30 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:30 class LanguageServer::Protocol::Interface::MarkupContent # @return [MarkupContent] a new instance of MarkupContent # - # source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:31 def initialize(kind:, value:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:56 def attributes; end # The type of the Markup # # @return [MarkupKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:44 def kind; end - # source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:58 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:62 def to_json(*args); end # The content itself # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/markup_content.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/markup_content.rb:52 def value; end end -# source://language_server-protocol//lib/language_server/protocol/interface/message.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message.rb:4 class LanguageServer::Protocol::Interface::Message # @return [Message] a new instance of Message # - # source://language_server-protocol//lib/language_server/protocol/interface/message.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message.rb:5 def initialize(jsonrpc:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/message.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message.rb:18 def attributes; end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/message.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message.rb:14 def jsonrpc; end - # source://language_server-protocol//lib/language_server/protocol/interface/message.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/message.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message.rb:24 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/message_action_item.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message_action_item.rb:4 class LanguageServer::Protocol::Interface::MessageActionItem # @return [MessageActionItem] a new instance of MessageActionItem # - # source://language_server-protocol//lib/language_server/protocol/interface/message_action_item.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message_action_item.rb:5 def initialize(title:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/message_action_item.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message_action_item.rb:21 def attributes; end # A short title like 'Retry', 'Open Log' etc. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/message_action_item.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message_action_item.rb:17 def title; end - # source://language_server-protocol//lib/language_server/protocol/interface/message_action_item.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message_action_item.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/message_action_item.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/message_action_item.rb:27 def to_json(*args); end end # Moniker definition to match LSIF 0.5 moniker definition. # -# source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:7 class LanguageServer::Protocol::Interface::Moniker # @return [Moniker] a new instance of Moniker # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:8 def initialize(scheme:, identifier:, unique:, kind: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:52 def attributes; end # The identifier of the moniker. The value is opaque in LSIF however @@ -8299,47 +8299,47 @@ class LanguageServer::Protocol::Interface::Moniker # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:32 def identifier; end # The moniker kind if known. # # @return [MonikerKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:48 def kind; end # The scheme of the moniker. For example tsc or .Net # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:23 def scheme; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:54 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:58 def to_json(*args); end # The scope in which the moniker is unique # # @return [UniquenessLevel] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker.rb:40 def unique; end end -# source://language_server-protocol//lib/language_server/protocol/interface/moniker_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::MonikerClientCapabilities # @return [MonikerClientCapabilities] a new instance of MonikerClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_client_capabilities.rb:24 def attributes; end # Whether implementation supports dynamic registration. If this is set to @@ -8349,50 +8349,50 @@ class LanguageServer::Protocol::Interface::MonikerClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_client_capabilities.rb:20 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_client_capabilities.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_client_capabilities.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/moniker_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_options.rb:4 class LanguageServer::Protocol::Interface::MonikerOptions # @return [MonikerOptions] a new instance of MonikerOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:4 class LanguageServer::Protocol::Interface::MonikerParams # @return [MonikerParams] a new instance of MonikerParams # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -8400,47 +8400,47 @@ class LanguageServer::Protocol::Interface::MonikerParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:45 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:4 class LanguageServer::Protocol::Interface::MonikerRegistrationOptions # @return [MonikerRegistrationOptions] a new instance of MonikerRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -8448,18 +8448,18 @@ class LanguageServer::Protocol::Interface::MonikerRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/moniker_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/moniker_registration_options.rb:24 def work_done_progress; end end @@ -8469,16 +8469,16 @@ end # cells and can therefore be used to uniquely identify a # notebook cell or the cell's text document. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#11 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:11 class LanguageServer::Protocol::Interface::NotebookCell # @return [NotebookCell] a new instance of NotebookCell # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#12 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:12 def initialize(kind:, document:, metadata: T.unsafe(nil), execution_summary: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:57 def attributes; end # The URI of the cell's text document @@ -8486,7 +8486,7 @@ class LanguageServer::Protocol::Interface::NotebookCell # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:36 def document; end # Additional execution summary information @@ -8494,86 +8494,86 @@ class LanguageServer::Protocol::Interface::NotebookCell # # @return [ExecutionSummary] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:53 def execution_summary; end # The cell's kind # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:27 def kind; end # Additional metadata stored with the cell. # # @return [LSPObject] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:44 def metadata; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:59 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell.rb:63 def to_json(*args); end end # A change describing how to move a `NotebookCell` # array from state S to S'. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:8 class LanguageServer::Protocol::Interface::NotebookCellArrayChange # @return [NotebookCellArrayChange] a new instance of NotebookCellArrayChange # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:9 def initialize(start:, delete_count:, cells: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:43 def attributes; end # The new cells, if any # # @return [NotebookCell[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:39 def cells; end # The deleted cells # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:31 def delete_count; end # The start offset of the cell that changed. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:23 def start; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:45 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_array_change.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_array_change.rb:49 def to_json(*args); end end # A notebook cell text document filter denotes a cell text # document by different properties. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:8 class LanguageServer::Protocol::Interface::NotebookCellTextDocumentFilter # @return [NotebookCellTextDocumentFilter] a new instance of NotebookCellTextDocumentFilter # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:9 def initialize(notebook:, language: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:40 def attributes; end # A language id like `python`. @@ -8583,7 +8583,7 @@ class LanguageServer::Protocol::Interface::NotebookCellTextDocumentFilter # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:36 def language; end # A filter that matches against the notebook @@ -8593,35 +8593,35 @@ class LanguageServer::Protocol::Interface::NotebookCellTextDocumentFilter # # @return [string | NotebookDocumentFilter] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:25 def notebook; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb:46 def to_json(*args); end end # A notebook document. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:7 class LanguageServer::Protocol::Interface::NotebookDocument # @return [NotebookDocument] a new instance of NotebookDocument # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:8 def initialize(uri:, notebook_type:, version:, cells:, metadata: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:62 def attributes; end # The cells of a notebook. # # @return [NotebookCell[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:58 def cells; end # Additional metadata stored with the notebook @@ -8629,27 +8629,27 @@ class LanguageServer::Protocol::Interface::NotebookDocument # # @return [LSPObject] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:50 def metadata; end # The type of the notebook. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:32 def notebook_type; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:64 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:68 def to_json(*args); end # The notebook document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:24 def uri; end # The version number of this document (it will increase after each @@ -8657,86 +8657,86 @@ class LanguageServer::Protocol::Interface::NotebookDocument # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document.rb:41 def version; end end # A change event for a notebook document. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:7 class LanguageServer::Protocol::Interface::NotebookDocumentChangeEvent # @return [NotebookDocumentChangeEvent] a new instance of NotebookDocumentChangeEvent # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:8 def initialize(metadata: T.unsafe(nil), cells: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:33 def attributes; end # Changes to cells # # @return [{ structure?: { array: NotebookCellArrayChange; didOpen?: TextDocumentItem[]; didClose?: TextDocumentIdentifier[]; }; data?: NotebookCell[]; textContent?: { ...; }[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:29 def cells; end # The changed meta data if any. # # @return [LSPObject] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:21 def metadata; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_change_event.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_change_event.rb:39 def to_json(*args); end end # Capabilities specific to the notebook document support. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::NotebookDocumentClientCapabilities # @return [NotebookDocumentClientCapabilities] a new instance of NotebookDocumentClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_client_capabilities.rb:8 def initialize(synchronization:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_client_capabilities.rb:24 def attributes; end # Capabilities specific to notebook document synchronization # # @return [NotebookDocumentSyncClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_client_capabilities.rb:20 def synchronization; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_client_capabilities.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_client_capabilities.rb:30 def to_json(*args); end end # A notebook document filter denotes a notebook document by # different properties. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:8 class LanguageServer::Protocol::Interface::NotebookDocumentFilter # @return [NotebookDocumentFilter] a new instance of NotebookDocumentFilter # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:9 def initialize(notebook_type: T.unsafe(nil), scheme: T.unsafe(nil), pattern: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:67 def attributes; end # The type of the enclosing notebook. @@ -8751,7 +8751,7 @@ class LanguageServer::Protocol::Interface::NotebookDocumentFilter # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:31 def notebook_type; end # A glob pattern. @@ -8766,7 +8766,7 @@ class LanguageServer::Protocol::Interface::NotebookDocumentFilter # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:63 def pattern; end # A Uri [scheme](#Uri.scheme), like `file` or `untitled`. @@ -8781,56 +8781,56 @@ class LanguageServer::Protocol::Interface::NotebookDocumentFilter # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:47 def scheme; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#69 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:69 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_filter.rb#73 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_filter.rb:73 def to_json(*args); end end # A literal to identify a notebook document in the client. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_identifier.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_identifier.rb:7 class LanguageServer::Protocol::Interface::NotebookDocumentIdentifier # @return [NotebookDocumentIdentifier] a new instance of NotebookDocumentIdentifier # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_identifier.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_identifier.rb:8 def initialize(uri:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_identifier.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_identifier.rb:24 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_identifier.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_identifier.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_identifier.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_identifier.rb:30 def to_json(*args); end # The notebook document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_identifier.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_identifier.rb:20 def uri; end end # Notebook specific client capabilities. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::NotebookDocumentSyncClientCapabilities # @return [NotebookDocumentSyncClientCapabilities] a new instance of NotebookDocumentSyncClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:8 def initialize(dynamic_registration: T.unsafe(nil), execution_summary_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:36 def attributes; end # Whether implementation supports dynamic registration. If this is @@ -8840,20 +8840,20 @@ class LanguageServer::Protocol::Interface::NotebookDocumentSyncClientCapabilitie # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:24 def dynamic_registration; end # The client supports sending execution summary data per cell. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:32 def execution_summary_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:38 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb:42 def to_json(*args); end end @@ -8869,23 +8869,23 @@ end # documents that contain at least one matching # cell will be synced. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#17 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:17 class LanguageServer::Protocol::Interface::NotebookDocumentSyncOptions # @return [NotebookDocumentSyncOptions] a new instance of NotebookDocumentSyncOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:18 def initialize(notebook_selector:, save: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:44 def attributes; end # The notebooks to be synced # # @return [({ notebook: string | NotebookDocumentFilter; cells?: { language: string; }[]; } | { notebook?: string | NotebookDocumentFilter; cells: { ...; }[]; })[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:31 def notebook_selector; end # Whether save notification should be forwarded to @@ -8893,28 +8893,28 @@ class LanguageServer::Protocol::Interface::NotebookDocumentSyncOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:40 def save; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_options.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_options.rb:50 def to_json(*args); end end # Registration options specific to a notebook. # -# source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:7 class LanguageServer::Protocol::Interface::NotebookDocumentSyncRegistrationOptions # @return [NotebookDocumentSyncRegistrationOptions] a new instance of NotebookDocumentSyncRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:8 def initialize(notebook_selector:, save: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:44 def attributes; end # The id used to register the request. The id can be used to deregister @@ -8922,14 +8922,14 @@ class LanguageServer::Protocol::Interface::NotebookDocumentSyncRegistrationOptio # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:40 def id; end # The notebooks to be synced # # @return [({ notebook: string | NotebookDocumentFilter; cells?: { language: string; }[]; } | { notebook?: string | NotebookDocumentFilter; cells: { ...; }[]; })[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:22 def notebook_selector; end # Whether save notification should be forwarded to @@ -8937,77 +8937,77 @@ class LanguageServer::Protocol::Interface::NotebookDocumentSyncRegistrationOptio # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:31 def save; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb:50 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:4 class LanguageServer::Protocol::Interface::NotificationMessage # @return [NotificationMessage] a new instance of NotificationMessage # - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:5 def initialize(jsonrpc:, method:, params: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:36 def attributes; end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#16 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:16 def jsonrpc; end # The method to be invoked. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:24 def method; end # The notification's params. # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:32 def params; end - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:38 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/notification_message.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/notification_message.rb:42 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:4 class LanguageServer::Protocol::Interface::OptionalVersionedTextDocumentIdentifier # @return [OptionalVersionedTextDocumentIdentifier] a new instance of OptionalVersionedTextDocumentIdentifier # - # source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:5 def initialize(uri:, version:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:38 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:44 def to_json(*args); end # The text document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:18 def uri; end # The version number of this document. If an optional versioned text document @@ -9022,23 +9022,23 @@ class LanguageServer::Protocol::Interface::OptionalVersionedTextDocumentIdentifi # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb:34 def version; end end # Represents a parameter of a callable-signature. A parameter can # have a label and a doc-comment. # -# source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:8 class LanguageServer::Protocol::Interface::ParameterInformation # @return [ParameterInformation] a new instance of ParameterInformation # - # source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:9 def initialize(label:, documentation: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:44 def attributes; end # The human-readable doc-comment of this parameter. Will be shown @@ -9046,7 +9046,7 @@ class LanguageServer::Protocol::Interface::ParameterInformation # # @return [string | MarkupContent] # - # source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:40 def documentation; end # The label of this parameter information. @@ -9062,26 +9062,26 @@ class LanguageServer::Protocol::Interface::ParameterInformation # # @return [string | [number, number]] # - # source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:31 def label; end - # source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/parameter_information.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/parameter_information.rb:50 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/partial_result_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/partial_result_params.rb:4 class LanguageServer::Protocol::Interface::PartialResultParams # @return [PartialResultParams] a new instance of PartialResultParams # - # source://language_server-protocol//lib/language_server/protocol/interface/partial_result_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/partial_result_params.rb:5 def initialize(partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/partial_result_params.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/partial_result_params.rb:22 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -9089,26 +9089,26 @@ class LanguageServer::Protocol::Interface::PartialResultParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/partial_result_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/partial_result_params.rb:18 def partial_result_token; end - # source://language_server-protocol//lib/language_server/protocol/interface/partial_result_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/partial_result_params.rb:24 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/partial_result_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/partial_result_params.rb:28 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/position.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:4 class LanguageServer::Protocol::Interface::Position # @return [Position] a new instance of Position # - # source://language_server-protocol//lib/language_server/protocol/interface/position.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:5 def initialize(line:, character:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/position.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:34 def attributes; end # Character offset on a line in a document (zero-based). The meaning of this @@ -9119,81 +9119,81 @@ class LanguageServer::Protocol::Interface::Position # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/position.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:30 def character; end # Line position in a document (zero-based). # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/position.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:18 def line; end - # source://language_server-protocol//lib/language_server/protocol/interface/position.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/position.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/position.rb:40 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:4 class LanguageServer::Protocol::Interface::PrepareRenameParams # @return [PrepareRenameParams] a new instance of PrepareRenameParams # - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:39 def attributes; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:27 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:19 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/prepare_rename_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/prepare_rename_params.rb:35 def work_done_token; end end # A previous result id in a workspace pull request. # -# source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:7 class LanguageServer::Protocol::Interface::PreviousResultId # @return [PreviousResultId] a new instance of PreviousResultId # - # source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:8 def initialize(uri:, value:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:34 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:40 def to_json(*args); end # The URI for which the client knows a @@ -9201,67 +9201,67 @@ class LanguageServer::Protocol::Interface::PreviousResultId # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:22 def uri; end # The value of the previous result id. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/previous_result_id.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/previous_result_id.rb:30 def value; end end -# source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:4 class LanguageServer::Protocol::Interface::ProgressParams # @return [ProgressParams] a new instance of ProgressParams # - # source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:5 def initialize(token:, value:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:30 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:36 def to_json(*args); end # The progress token provided by the client or server. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:18 def token; end # The progress data. # # @return [T] # - # source://language_server-protocol//lib/language_server/protocol/interface/progress_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/progress_params.rb:26 def value; end end -# source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::PublishDiagnosticsClientCapabilities # @return [PublishDiagnosticsClientCapabilities] a new instance of PublishDiagnosticsClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:5 def initialize(related_information: T.unsafe(nil), tag_support: T.unsafe(nil), version_support: T.unsafe(nil), code_description_support: T.unsafe(nil), data_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:61 def attributes; end # Client supports a codeDescription property # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:47 def code_description_support; end # Whether code action supports the `data` property which is @@ -9270,14 +9270,14 @@ class LanguageServer::Protocol::Interface::PublishDiagnosticsClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:57 def data_support; end # Whether the clients accepts diagnostics with related information. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:21 def related_information; end # Client supports the tag property to provide meta data about a diagnostic. @@ -9285,13 +9285,13 @@ class LanguageServer::Protocol::Interface::PublishDiagnosticsClientCapabilities # # @return [{ valueSet: DiagnosticTag[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:30 def tag_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:63 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:67 def to_json(*args); end # Whether the client interprets the version property of the @@ -9299,40 +9299,40 @@ class LanguageServer::Protocol::Interface::PublishDiagnosticsClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb:39 def version_support; end end -# source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:4 class LanguageServer::Protocol::Interface::PublishDiagnosticsParams # @return [PublishDiagnosticsParams] a new instance of PublishDiagnosticsParams # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:5 def initialize(uri:, diagnostics:, version: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:40 def attributes; end # An array of diagnostic information items. # # @return [Diagnostic[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:36 def diagnostics; end - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:46 def to_json(*args); end # The URI for which diagnostic information is reported. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:19 def uri; end # Optional the version number of the document the diagnostics are published @@ -9340,134 +9340,134 @@ class LanguageServer::Protocol::Interface::PublishDiagnosticsParams # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/publish_diagnostics_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/publish_diagnostics_params.rb:28 def version; end end -# source://language_server-protocol//lib/language_server/protocol/interface/range.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:4 class LanguageServer::Protocol::Interface::Range # @return [Range] a new instance of Range # - # source://language_server-protocol//lib/language_server/protocol/interface/range.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:5 def initialize(start:, end:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/range.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:30 def attributes; end # The range's end position. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/range.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:26 def end; end # The range's start position. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/range.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:18 def start; end - # source://language_server-protocol//lib/language_server/protocol/interface/range.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/range.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/range.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/reference_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::ReferenceClientCapabilities # @return [ReferenceClientCapabilities] a new instance of ReferenceClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_client_capabilities.rb:21 def attributes; end # Whether references supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_client_capabilities.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_client_capabilities.rb:17 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_client_capabilities.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_client_capabilities.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/reference_context.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_context.rb:4 class LanguageServer::Protocol::Interface::ReferenceContext # @return [ReferenceContext] a new instance of ReferenceContext # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_context.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_context.rb:5 def initialize(include_declaration:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_context.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_context.rb:21 def attributes; end # Include the declaration of the current symbol. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_context.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_context.rb:17 def include_declaration; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_context.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_context.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_context.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_context.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/reference_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_options.rb:4 class LanguageServer::Protocol::Interface::ReferenceOptions # @return [ReferenceOptions] a new instance of ReferenceOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:4 class LanguageServer::Protocol::Interface::ReferenceParams # @return [ReferenceParams] a new instance of ReferenceParams # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:5 def initialize(text_document:, position:, context:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:55 def attributes; end # @return [ReferenceContext] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:51 def context; end # An optional token that a server can use to report partial results (e.g. @@ -9475,47 +9475,47 @@ class LanguageServer::Protocol::Interface::ReferenceParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:46 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:29 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:21 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:57 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:61 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_params.rb:37 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:4 class LanguageServer::Protocol::Interface::ReferenceRegistrationOptions # @return [ReferenceRegistrationOptions] a new instance of ReferenceRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:28 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -9523,33 +9523,33 @@ class LanguageServer::Protocol::Interface::ReferenceRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:19 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/reference_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/reference_registration_options.rb:24 def work_done_progress; end end # General parameters to register for a capability. # -# source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:7 class LanguageServer::Protocol::Interface::Registration # @return [Registration] a new instance of Registration # - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:8 def initialize(id:, method:, register_options: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:43 def attributes; end # The id used to register the request. The id can be used to deregister @@ -9557,115 +9557,115 @@ class LanguageServer::Protocol::Interface::Registration # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:23 def id; end # The method / capability to register for. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:31 def method; end # Options necessary for the registration. # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:39 def register_options; end - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:45 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/registration.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration.rb:49 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/registration_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration_params.rb:4 class LanguageServer::Protocol::Interface::RegistrationParams # @return [RegistrationParams] a new instance of RegistrationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/registration_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration_params.rb:5 def initialize(registrations:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/registration_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration_params.rb:18 def attributes; end # @return [Registration[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/registration_params.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration_params.rb:14 def registrations; end - # source://language_server-protocol//lib/language_server/protocol/interface/registration_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration_params.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/registration_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/registration_params.rb:24 def to_json(*args); end end # Client capabilities specific to regular expressions. # -# source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::RegularExpressionsClientCapabilities # @return [RegularExpressionsClientCapabilities] a new instance of RegularExpressionsClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:8 def initialize(engine:, version: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:33 def attributes; end # The engine's name. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:21 def engine; end - # source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:39 def to_json(*args); end # The engine's version. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb:29 def version; end end # A full diagnostic report with a set of related documents. # -# source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:7 class LanguageServer::Protocol::Interface::RelatedFullDocumentDiagnosticReport # @return [RelatedFullDocumentDiagnosticReport] a new instance of RelatedFullDocumentDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:8 def initialize(kind:, items:, result_id: T.unsafe(nil), related_documents: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:57 def attributes; end # The actual items. # # @return [Diagnostic[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:41 def items; end # A full document diagnostic report. # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:23 def kind; end # Diagnostics of related documents. This information is useful @@ -9676,7 +9676,7 @@ class LanguageServer::Protocol::Interface::RelatedFullDocumentDiagnosticReport # # @return [{ [uri: string]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:53 def related_documents; end # An optional result id. If provided it will @@ -9685,28 +9685,28 @@ class LanguageServer::Protocol::Interface::RelatedFullDocumentDiagnosticReport # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:33 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:59 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb:63 def to_json(*args); end end # An unchanged diagnostic report with a set of related documents. # -# source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:7 class LanguageServer::Protocol::Interface::RelatedUnchangedDocumentDiagnosticReport # @return [RelatedUnchangedDocumentDiagnosticReport] a new instance of RelatedUnchangedDocumentDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:8 def initialize(kind:, result_id:, related_documents: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:50 def attributes; end # A document diagnostic report indicating @@ -9716,7 +9716,7 @@ class LanguageServer::Protocol::Interface::RelatedUnchangedDocumentDiagnosticRep # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:25 def kind; end # Diagnostics of related documents. This information is useful @@ -9727,7 +9727,7 @@ class LanguageServer::Protocol::Interface::RelatedUnchangedDocumentDiagnosticRep # # @return [{ [uri: string]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:46 def related_documents; end # A result id which will be sent on the next @@ -9735,13 +9735,13 @@ class LanguageServer::Protocol::Interface::RelatedUnchangedDocumentDiagnosticRep # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:34 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:52 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb:56 def to_json(*args); end end @@ -9749,16 +9749,16 @@ end # relatively to a base URI. The common value for a `baseUri` is a workspace # folder root, but it can be another absolute URI as well. # -# source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:9 class LanguageServer::Protocol::Interface::RelativePattern # @return [RelativePattern] a new instance of RelativePattern # - # source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:10 def initialize(base_uri:, pattern:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:36 def attributes; end # A workspace folder or a base URI to which this pattern will be matched @@ -9766,40 +9766,40 @@ class LanguageServer::Protocol::Interface::RelativePattern # # @return [string | WorkspaceFolder] # - # source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:24 def base_uri; end # The actual glob pattern; # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:32 def pattern; end - # source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:38 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/relative_pattern.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/relative_pattern.rb:42 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::RenameClientCapabilities # @return [RenameClientCapabilities] a new instance of RenameClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), prepare_support: T.unsafe(nil), prepare_support_default_behavior: T.unsafe(nil), honors_change_annotations: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:57 def attributes; end # Whether rename supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:20 def dynamic_registration; end # Whether the client honors the change annotations in @@ -9810,7 +9810,7 @@ class LanguageServer::Protocol::Interface::RenameClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:53 def honors_change_annotations; end # Client supports testing for validity of rename operations @@ -9818,7 +9818,7 @@ class LanguageServer::Protocol::Interface::RenameClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:29 def prepare_support; end # Client supports the default behavior result @@ -9829,120 +9829,120 @@ class LanguageServer::Protocol::Interface::RenameClientCapabilities # # @return [1] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:41 def prepare_support_default_behavior; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:59 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_client_capabilities.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_client_capabilities.rb:63 def to_json(*args); end end # Rename file operation # -# source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:7 class LanguageServer::Protocol::Interface::RenameFile # @return [RenameFile] a new instance of RenameFile # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:8 def initialize(kind:, old_uri:, new_uri:, options: T.unsafe(nil), annotation_id: T.unsafe(nil)); end # An optional annotation identifier describing the operation. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:56 def annotation_id; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:60 def attributes; end # A rename # # @return ["rename"] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:24 def kind; end # The new location. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:40 def new_uri; end # The old (existing) location. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:32 def old_uri; end # Rename options. # # @return [RenameFileOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:48 def options; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:62 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file.rb:66 def to_json(*args); end end # Rename file options # -# source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:7 class LanguageServer::Protocol::Interface::RenameFileOptions # @return [RenameFileOptions] a new instance of RenameFileOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:8 def initialize(overwrite: T.unsafe(nil), ignore_if_exists: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:33 def attributes; end # Ignores if target exists. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:29 def ignore_if_exists; end # Overwrite target if existing. Overwrite wins over `ignoreIfExists` # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:21 def overwrite; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_file_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_file_options.rb:39 def to_json(*args); end end # The parameters sent in notifications/requests for user-initiated renames # of files. # -# source://language_server-protocol//lib/language_server/protocol/interface/rename_files_params.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_files_params.rb:8 class LanguageServer::Protocol::Interface::RenameFilesParams # @return [RenameFilesParams] a new instance of RenameFilesParams # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_files_params.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_files_params.rb:9 def initialize(files:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_files_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_files_params.rb:26 def attributes; end # An array of all files/folders renamed in this operation. When a folder @@ -9950,57 +9950,57 @@ class LanguageServer::Protocol::Interface::RenameFilesParams # # @return [FileRename[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_files_params.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_files_params.rb:22 def files; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_files_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_files_params.rb:28 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_files_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_files_params.rb:32 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:4 class LanguageServer::Protocol::Interface::RenameOptions # @return [RenameOptions] a new instance of RenameOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), prepare_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:27 def attributes; end # Renames should be checked and tested before being executed. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:23 def prepare_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:29 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:33 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_options.rb:15 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:4 class LanguageServer::Protocol::Interface::RenameParams # @return [RenameParams] a new instance of RenameParams # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:5 def initialize(text_document:, position:, new_name:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:50 def attributes; end # The new name of the symbol. If the given name is not valid the @@ -10009,47 +10009,47 @@ class LanguageServer::Protocol::Interface::RenameParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:46 def new_name; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:52 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:56 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:4 class LanguageServer::Protocol::Interface::RenameRegistrationOptions # @return [RenameRegistrationOptions] a new instance of RenameRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), prepare_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:37 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -10057,90 +10057,90 @@ class LanguageServer::Protocol::Interface::RenameRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:20 def document_selector; end # Renames should be checked and tested before being executed. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:33 def prepare_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:43 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/rename_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/rename_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:4 class LanguageServer::Protocol::Interface::RequestMessage # @return [RequestMessage] a new instance of RequestMessage # - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:5 def initialize(jsonrpc:, id:, method:, params: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:45 def attributes; end # The request id. # # @return [string | number] # - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:25 def id; end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:17 def jsonrpc; end # The method to be invoked. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:33 def method; end # The method's params. # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:41 def params; end - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:47 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/request_message.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/request_message.rb:51 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:4 class LanguageServer::Protocol::Interface::ResponseError # @return [ResponseError] a new instance of ResponseError # - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:5 def initialize(code:, message:, data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:40 def attributes; end # A number indicating the error type that occurred. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:19 def code; end # A primitive or structured value that contains additional @@ -10148,52 +10148,52 @@ class LanguageServer::Protocol::Interface::ResponseError # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:36 def data; end # A string providing a short description of the error. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:27 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/response_error.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_error.rb:46 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:4 class LanguageServer::Protocol::Interface::ResponseMessage # @return [ResponseMessage] a new instance of ResponseMessage # - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:5 def initialize(jsonrpc:, id:, result: T.unsafe(nil), error: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:46 def attributes; end # The error object in case a request fails. # # @return [ResponseError] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:42 def error; end # The request id. # # @return [string | number] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:25 def id; end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:17 def jsonrpc; end # The result of a request. This member is REQUIRED on success. @@ -10201,52 +10201,52 @@ class LanguageServer::Protocol::Interface::ResponseMessage # # @return [string | number | boolean | object] # - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:34 def result; end - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:48 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/response_message.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/response_message.rb:52 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/save_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/save_options.rb:4 class LanguageServer::Protocol::Interface::SaveOptions # @return [SaveOptions] a new instance of SaveOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/save_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/save_options.rb:5 def initialize(include_text: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/save_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/save_options.rb:21 def attributes; end # The client is supposed to include the content on save. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/save_options.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/save_options.rb:17 def include_text; end - # source://language_server-protocol//lib/language_server/protocol/interface/save_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/save_options.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/save_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/save_options.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:4 class LanguageServer::Protocol::Interface::SelectionRange # @return [SelectionRange] a new instance of SelectionRange # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:5 def initialize(range:, parent: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:31 def attributes; end # The parent selection range containing this range. Therefore @@ -10254,33 +10254,33 @@ class LanguageServer::Protocol::Interface::SelectionRange # # @return [SelectionRange] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:27 def parent; end # The [range](#Range) of this selection range. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:18 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range.rb:37 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/selection_range_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::SelectionRangeClientCapabilities # @return [SelectionRangeClientCapabilities] a new instance of SelectionRangeClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_client_capabilities.rb:24 def attributes; end # Whether implementation supports dynamic registration for selection range @@ -10290,50 +10290,50 @@ class LanguageServer::Protocol::Interface::SelectionRangeClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_client_capabilities.rb:20 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_client_capabilities.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_client_capabilities.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/selection_range_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_options.rb:4 class LanguageServer::Protocol::Interface::SelectionRangeOptions # @return [SelectionRangeOptions] a new instance of SelectionRangeOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:4 class LanguageServer::Protocol::Interface::SelectionRangeParams # @return [SelectionRangeParams] a new instance of SelectionRangeParams # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:5 def initialize(text_document:, positions:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -10341,47 +10341,47 @@ class LanguageServer::Protocol::Interface::SelectionRangeParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:29 def partial_result_token; end # The positions inside the text document. # # @return [Position[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:45 def positions; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:37 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_params.rb:20 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:4 class LanguageServer::Protocol::Interface::SelectionRangeRegistrationOptions # @return [SelectionRangeRegistrationOptions] a new instance of SelectionRangeRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -10389,7 +10389,7 @@ class LanguageServer::Protocol::Interface::SelectionRangeRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:25 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -10397,38 +10397,38 @@ class LanguageServer::Protocol::Interface::SelectionRangeRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/selection_range_registration_options.rb#16 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/selection_range_registration_options.rb:16 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:4 class LanguageServer::Protocol::Interface::SemanticTokens # @return [SemanticTokens] a new instance of SemanticTokens # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:5 def initialize(data:, result_id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:33 def attributes; end # The actual tokens. # # @return [number[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:29 def data; end # An optional result id. If provided and clients support delta updating @@ -10438,26 +10438,26 @@ class LanguageServer::Protocol::Interface::SemanticTokens # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:21 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens.rb:39 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensClientCapabilities # @return [SemanticTokensClientCapabilities] a new instance of SemanticTokensClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:5 def initialize(requests:, token_types:, token_modifiers:, formats:, dynamic_registration: T.unsafe(nil), overlapping_token_support: T.unsafe(nil), multiline_token_support: T.unsafe(nil), server_cancel_support: T.unsafe(nil), augments_syntax_tokens: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#113 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:113 def attributes; end # Whether the client uses semantic tokens to augment existing @@ -10471,7 +10471,7 @@ class LanguageServer::Protocol::Interface::SemanticTokensClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#109 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:109 def augments_syntax_tokens; end # Whether implementation supports dynamic registration. If this is set to @@ -10481,28 +10481,28 @@ class LanguageServer::Protocol::Interface::SemanticTokensClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:28 def dynamic_registration; end # The formats the clients supports. # # @return ["relative"[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#67 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:67 def formats; end # Whether the client supports tokens that can span multiple lines. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#83 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:83 def multiline_token_support; end # Whether the client supports tokens that can overlap each other. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#75 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:75 def overlapping_token_support; end # Which requests the client supports and might send to the server @@ -10516,7 +10516,7 @@ class LanguageServer::Protocol::Interface::SemanticTokensClientCapabilities # # @return [{ range?: boolean | {}; full?: boolean | { delta?: boolean; }; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:43 def requests; end # Whether the client allows the server to actively cancel a @@ -10526,40 +10526,40 @@ class LanguageServer::Protocol::Interface::SemanticTokensClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#94 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:94 def server_cancel_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#115 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:115 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#119 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:119 def to_json(*args); end # The token modifiers that the client supports. # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:59 def token_modifiers; end # The token types that the client supports. # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb:51 def token_types; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensDelta # @return [SemanticTokensDelta] a new instance of SemanticTokensDelta # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:5 def initialize(edits:, result_id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:28 def attributes; end # The semantic token edits to transform a previous result into a new @@ -10567,31 +10567,31 @@ class LanguageServer::Protocol::Interface::SemanticTokensDelta # # @return [SemanticTokensEdit[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:24 def edits; end # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:15 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta.rb:34 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensDeltaParams # @return [SemanticTokensDeltaParams] a new instance of SemanticTokensDeltaParams # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:5 def initialize(text_document:, previous_result_id:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:50 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -10599,7 +10599,7 @@ class LanguageServer::Protocol::Interface::SemanticTokensDeltaParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:29 def partial_result_token; end # The result id of a previous response. The result Id can either point to @@ -10607,151 +10607,151 @@ class LanguageServer::Protocol::Interface::SemanticTokensDeltaParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:46 def previous_result_id; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:37 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:52 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:56 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_params.rb:20 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensDeltaPartialResult # @return [SemanticTokensDeltaPartialResult] a new instance of SemanticTokensDeltaPartialResult # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb:5 def initialize(edits:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb:18 def attributes; end # @return [SemanticTokensEdit[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb:14 def edits; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb:24 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensEdit # @return [SemanticTokensEdit] a new instance of SemanticTokensEdit # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:5 def initialize(start:, delete_count:, data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:39 def attributes; end # The elements to insert. # # @return [number[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:35 def data; end # The count of elements to remove. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:27 def delete_count; end # The start offset of the edit. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:19 def start; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_edit.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_edit.rb:45 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensLegend # @return [SemanticTokensLegend] a new instance of SemanticTokensLegend # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:5 def initialize(token_types:, token_modifiers:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:30 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:36 def to_json(*args); end # The token modifiers a server uses. # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:26 def token_modifiers; end # The token types a server uses. # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_legend.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_legend.rb:18 def token_types; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensOptions # @return [SemanticTokensOptions] a new instance of SemanticTokensOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:5 def initialize(legend:, work_done_progress: T.unsafe(nil), range: T.unsafe(nil), full: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:46 def attributes; end # Server supports providing semantic tokens for a full document. # # @return [boolean | { delta?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:42 def full; end # The legend used by the server # # @return [SemanticTokensLegend] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:25 def legend; end # Server supports providing semantic tokens for a specific range @@ -10759,31 +10759,31 @@ class LanguageServer::Protocol::Interface::SemanticTokensOptions # # @return [boolean | {}] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:34 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:48 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:52 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_options.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_options.rb:17 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensParams # @return [SemanticTokensParams] a new instance of SemanticTokensParams # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:5 def initialize(text_document:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:40 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -10791,64 +10791,64 @@ class LanguageServer::Protocol::Interface::SemanticTokensParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:28 def partial_result_token; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:36 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:42 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:46 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_partial_result.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_partial_result.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensPartialResult # @return [SemanticTokensPartialResult] a new instance of SemanticTokensPartialResult # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_partial_result.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_partial_result.rb:5 def initialize(data:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_partial_result.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_partial_result.rb:18 def attributes; end # @return [number[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_partial_result.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_partial_result.rb:14 def data; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_partial_result.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_partial_result.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_partial_result.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_partial_result.rb:24 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensRangeParams # @return [SemanticTokensRangeParams] a new instance of SemanticTokensRangeParams # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:5 def initialize(text_document:, range:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -10856,47 +10856,47 @@ class LanguageServer::Protocol::Interface::SemanticTokensRangeParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:29 def partial_result_token; end # The range the semantic tokens are requested for. # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:45 def range; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:37 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_range_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_range_params.rb:20 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensRegistrationOptions # @return [SemanticTokensRegistrationOptions] a new instance of SemanticTokensRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:5 def initialize(document_selector:, legend:, work_done_progress: T.unsafe(nil), range: T.unsafe(nil), full: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:66 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -10904,14 +10904,14 @@ class LanguageServer::Protocol::Interface::SemanticTokensRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:23 def document_selector; end # Server supports providing semantic tokens for a full document. # # @return [boolean | { delta?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:53 def full; end # The id used to register the request. The id can be used to deregister @@ -10919,14 +10919,14 @@ class LanguageServer::Protocol::Interface::SemanticTokensRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:62 def id; end # The legend used by the server # # @return [SemanticTokensLegend] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:36 def legend; end # Server supports providing semantic tokens for a specific range @@ -10934,31 +10934,31 @@ class LanguageServer::Protocol::Interface::SemanticTokensRegistrationOptions # # @return [boolean | {}] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:45 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:68 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#72 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:72 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_registration_options.rb:28 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::SemanticTokensWorkspaceClientCapabilities # @return [SemanticTokensWorkspaceClientCapabilities] a new instance of SemanticTokensWorkspaceClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb:5 def initialize(refresh_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb:27 def attributes; end # Whether the client implementation supports a refresh request sent from @@ -10971,33 +10971,33 @@ class LanguageServer::Protocol::Interface::SemanticTokensWorkspaceClientCapabili # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb:23 def refresh_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb:29 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb:33 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:4 class LanguageServer::Protocol::Interface::ServerCapabilities # @return [ServerCapabilities] a new instance of ServerCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:5 def initialize(position_encoding: T.unsafe(nil), text_document_sync: T.unsafe(nil), notebook_document_sync: T.unsafe(nil), completion_provider: T.unsafe(nil), hover_provider: T.unsafe(nil), signature_help_provider: T.unsafe(nil), declaration_provider: T.unsafe(nil), definition_provider: T.unsafe(nil), type_definition_provider: T.unsafe(nil), implementation_provider: T.unsafe(nil), references_provider: T.unsafe(nil), document_highlight_provider: T.unsafe(nil), document_symbol_provider: T.unsafe(nil), code_action_provider: T.unsafe(nil), code_lens_provider: T.unsafe(nil), document_link_provider: T.unsafe(nil), color_provider: T.unsafe(nil), document_formatting_provider: T.unsafe(nil), document_range_formatting_provider: T.unsafe(nil), document_on_type_formatting_provider: T.unsafe(nil), rename_provider: T.unsafe(nil), folding_range_provider: T.unsafe(nil), execute_command_provider: T.unsafe(nil), selection_range_provider: T.unsafe(nil), linked_editing_range_provider: T.unsafe(nil), call_hierarchy_provider: T.unsafe(nil), semantic_tokens_provider: T.unsafe(nil), moniker_provider: T.unsafe(nil), type_hierarchy_provider: T.unsafe(nil), inline_value_provider: T.unsafe(nil), inlay_hint_provider: T.unsafe(nil), diagnostic_provider: T.unsafe(nil), workspace_symbol_provider: T.unsafe(nil), workspace: T.unsafe(nil), experimental: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#340 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:340 def attributes; end # The server provides call hierarchy support. # # @return [boolean | CallHierarchyOptions | CallHierarchyRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#264 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:264 def call_hierarchy_provider; end # The server provides code actions. The `CodeActionOptions` return type is @@ -11006,161 +11006,161 @@ class LanguageServer::Protocol::Interface::ServerCapabilities # # @return [boolean | CodeActionOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#166 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:166 def code_action_provider; end # The server provides code lens. # # @return [CodeLensOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#174 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:174 def code_lens_provider; end # The server provides color provider support. # # @return [boolean | DocumentColorOptions | DocumentColorRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#190 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:190 def color_provider; end # The server provides completion support. # # @return [CompletionOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#84 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:84 def completion_provider; end # The server provides go to declaration support. # # @return [boolean | DeclarationOptions | DeclarationRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#108 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:108 def declaration_provider; end # The server provides goto definition support. # # @return [boolean | DefinitionOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#116 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:116 def definition_provider; end # The server has support for pull model diagnostics. # # @return [DiagnosticOptions | DiagnosticRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#312 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:312 def diagnostic_provider; end # The server provides document formatting. # # @return [boolean | DocumentFormattingOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#198 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:198 def document_formatting_provider; end # The server provides document highlight support. # # @return [boolean | DocumentHighlightOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#148 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:148 def document_highlight_provider; end # The server provides document link support. # # @return [DocumentLinkOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#182 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:182 def document_link_provider; end # The server provides document formatting on typing. # # @return [DocumentOnTypeFormattingOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#214 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:214 def document_on_type_formatting_provider; end # The server provides document range formatting. # # @return [boolean | DocumentRangeFormattingOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#206 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:206 def document_range_formatting_provider; end # The server provides document symbol support. # # @return [boolean | DocumentSymbolOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#156 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:156 def document_symbol_provider; end # The server provides execute command support. # # @return [ExecuteCommandOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#240 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:240 def execute_command_provider; end # Experimental server capabilities. # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#336 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:336 def experimental; end # The server provides folding provider support. # # @return [boolean | FoldingRangeOptions | FoldingRangeRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#232 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:232 def folding_range_provider; end # The server provides hover support. # # @return [boolean | HoverOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#92 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:92 def hover_provider; end # The server provides goto implementation support. # # @return [boolean | ImplementationOptions | ImplementationRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#132 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:132 def implementation_provider; end # The server provides inlay hints. # # @return [boolean | InlayHintOptions | InlayHintRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#304 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:304 def inlay_hint_provider; end # The server provides inline values. # # @return [boolean | InlineValueOptions | InlineValueRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#296 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:296 def inline_value_provider; end # The server provides linked editing range support. # # @return [boolean | LinkedEditingRangeOptions | LinkedEditingRangeRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#256 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:256 def linked_editing_range_provider; end # Whether server provides moniker support. # # @return [boolean | MonikerOptions | MonikerRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#280 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:280 def moniker_provider; end # Defines how notebook documents are synced. # # @return [NotebookDocumentSyncOptions | NotebookDocumentSyncRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#76 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:76 def notebook_document_sync; end # The position encoding the server picked from the encodings offered @@ -11173,14 +11173,14 @@ class LanguageServer::Protocol::Interface::ServerCapabilities # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:57 def position_encoding; end # The server provides find references support. # # @return [boolean | ReferenceOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#140 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:140 def references_provider; end # The server provides rename support. RenameOptions may only be @@ -11189,28 +11189,28 @@ class LanguageServer::Protocol::Interface::ServerCapabilities # # @return [boolean | RenameOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#224 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:224 def rename_provider; end # The server provides selection range support. # # @return [boolean | SelectionRangeOptions | SelectionRangeRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#248 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:248 def selection_range_provider; end # The server provides semantic tokens support. # # @return [SemanticTokensOptions | SemanticTokensRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#272 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:272 def semantic_tokens_provider; end # The server provides signature help support. # # @return [SignatureHelpOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#100 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:100 def signature_help_provider; end # Defines how text documents are synced. Is either a detailed structure @@ -11220,82 +11220,82 @@ class LanguageServer::Protocol::Interface::ServerCapabilities # # @return [TextDocumentSyncOptions | TextDocumentSyncKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:68 def text_document_sync; end - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#342 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:342 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#346 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:346 def to_json(*args); end # The server provides goto type definition support. # # @return [boolean | TypeDefinitionOptions | TypeDefinitionRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#124 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:124 def type_definition_provider; end # The server provides type hierarchy support. # # @return [boolean | TypeHierarchyOptions | TypeHierarchyRegistrationOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#288 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:288 def type_hierarchy_provider; end # Workspace specific server capabilities # # @return [{ workspaceFolders?: WorkspaceFoldersServerCapabilities; fileOperations?: { didCreate?: FileOperationRegistrationOptions; ... 4 more ...; willDelete?: FileOperationRegistrationOptions; }; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#328 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:328 def workspace; end # The server provides workspace symbol support. # # @return [boolean | WorkspaceSymbolOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/server_capabilities.rb#320 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/server_capabilities.rb:320 def workspace_symbol_provider; end end -# source://language_server-protocol//lib/language_server/protocol/interface/set_trace_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/set_trace_params.rb:4 class LanguageServer::Protocol::Interface::SetTraceParams # @return [SetTraceParams] a new instance of SetTraceParams # - # source://language_server-protocol//lib/language_server/protocol/interface/set_trace_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/set_trace_params.rb:5 def initialize(value:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/set_trace_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/set_trace_params.rb:21 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/set_trace_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/set_trace_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/set_trace_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/set_trace_params.rb:27 def to_json(*args); end # The new value that should be assigned to the trace setting. # # @return [TraceValue] # - # source://language_server-protocol//lib/language_server/protocol/interface/set_trace_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/set_trace_params.rb:17 def value; end end # Client capabilities for the show document request. # -# source://language_server-protocol//lib/language_server/protocol/interface/show_document_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::ShowDocumentClientCapabilities # @return [ShowDocumentClientCapabilities] a new instance of ShowDocumentClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_client_capabilities.rb:8 def initialize(support:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_client_capabilities.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_client_capabilities.rb:25 def attributes; end # The client has support for the show document @@ -11303,28 +11303,28 @@ class LanguageServer::Protocol::Interface::ShowDocumentClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_client_capabilities.rb:21 def support; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_client_capabilities.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_client_capabilities.rb:27 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_client_capabilities.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_client_capabilities.rb:31 def to_json(*args); end end # Params to show a resource. # -# source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:7 class LanguageServer::Protocol::Interface::ShowDocumentParams # @return [ShowDocumentParams] a new instance of ShowDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:8 def initialize(uri:, external: T.unsafe(nil), take_focus: T.unsafe(nil), selection: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:59 def attributes; end # Indicates to show the resource in an external program. @@ -11333,7 +11333,7 @@ class LanguageServer::Protocol::Interface::ShowDocumentParams # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:33 def external; end # An optional selection range if the document is a text @@ -11343,7 +11343,7 @@ class LanguageServer::Protocol::Interface::ShowDocumentParams # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:55 def selection; end # An optional property to indicate whether the editor @@ -11353,149 +11353,149 @@ class LanguageServer::Protocol::Interface::ShowDocumentParams # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:44 def take_focus; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:61 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#65 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:65 def to_json(*args); end # The uri to show. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_params.rb:23 def uri; end end # The result of an show document request. # -# source://language_server-protocol//lib/language_server/protocol/interface/show_document_result.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_result.rb:7 class LanguageServer::Protocol::Interface::ShowDocumentResult # @return [ShowDocumentResult] a new instance of ShowDocumentResult # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_result.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_result.rb:8 def initialize(success:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_result.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_result.rb:24 def attributes; end # A boolean indicating if the show was successful. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_result.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_result.rb:20 def success; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_result.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_result.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_document_result.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_document_result.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:4 class LanguageServer::Protocol::Interface::ShowMessageParams # @return [ShowMessageParams] a new instance of ShowMessageParams # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:5 def initialize(type:, message:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:30 def attributes; end # The actual message. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:26 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:36 def to_json(*args); end # The message type. See {@link MessageType}. # # @return [MessageType] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_params.rb:18 def type; end end # Show message request client capabilities # -# source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::ShowMessageRequestClientCapabilities # @return [ShowMessageRequestClientCapabilities] a new instance of ShowMessageRequestClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_client_capabilities.rb:8 def initialize(message_action_item: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_client_capabilities.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_client_capabilities.rb:24 def attributes; end # Capabilities specific to the `MessageActionItem` type. # # @return [{ additionalPropertiesSupport?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_client_capabilities.rb:20 def message_action_item; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_client_capabilities.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_client_capabilities.rb:26 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_client_capabilities.rb:30 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:4 class LanguageServer::Protocol::Interface::ShowMessageRequestParams # @return [ShowMessageRequestParams] a new instance of ShowMessageRequestParams # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:5 def initialize(type:, message:, actions: T.unsafe(nil)); end # The message action items to present. # # @return [MessageActionItem[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:35 def actions; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:39 def attributes; end # The actual message # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:27 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:45 def to_json(*args); end # The message type. See {@link MessageType} # # @return [MessageType] # - # source://language_server-protocol//lib/language_server/protocol/interface/show_message_request_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/show_message_request_params.rb:19 def type; end end @@ -11503,11 +11503,11 @@ end # callable. There can be multiple signature but only one # active and only one active parameter. # -# source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:9 class LanguageServer::Protocol::Interface::SignatureHelp # @return [SignatureHelp] a new instance of SignatureHelp # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:10 def initialize(signatures:, active_signature: T.unsafe(nil), active_parameter: T.unsafe(nil)); end # The active parameter of the active signature. If omitted or the value @@ -11520,7 +11520,7 @@ class LanguageServer::Protocol::Interface::SignatureHelp # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:55 def active_parameter; end # The active signature. If omitted or the value lies outside the @@ -11535,12 +11535,12 @@ class LanguageServer::Protocol::Interface::SignatureHelp # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:41 def active_signature; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:59 def attributes; end # One or more signatures. If no signatures are available the signature help @@ -11548,26 +11548,26 @@ class LanguageServer::Protocol::Interface::SignatureHelp # # @return [SignatureInformation[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:25 def signatures; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#61 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:61 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help.rb#65 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help.rb:65 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::SignatureHelpClientCapabilities # @return [SignatureHelpClientCapabilities] a new instance of SignatureHelpClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), signature_information: T.unsafe(nil), context_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:43 def attributes; end # The client supports to send additional context information for a @@ -11577,14 +11577,14 @@ class LanguageServer::Protocol::Interface::SignatureHelpClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:39 def context_support; end # Whether signature help supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:19 def dynamic_registration; end # The client supports the following `SignatureInformation` @@ -11592,24 +11592,24 @@ class LanguageServer::Protocol::Interface::SignatureHelpClientCapabilities # # @return [{ documentationFormat?: MarkupKind[]; parameterInformation?: { labelOffsetSupport?: boolean; }; activeParameterSupport?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:28 def signature_information; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:45 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_client_capabilities.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_client_capabilities.rb:49 def to_json(*args); end end # Additional information about the context in which a signature help request # was triggered. # -# source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:8 class LanguageServer::Protocol::Interface::SignatureHelpContext # @return [SignatureHelpContext] a new instance of SignatureHelpContext # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:9 def initialize(trigger_kind:, is_retrigger:, trigger_character: T.unsafe(nil), active_signature_help: T.unsafe(nil)); end # The currently active `SignatureHelp`. @@ -11619,12 +11619,12 @@ class LanguageServer::Protocol::Interface::SignatureHelpContext # # @return [SignatureHelp] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:58 def active_signature_help; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:62 def attributes; end # `true` if signature help was already showing when it was triggered. @@ -11635,13 +11635,13 @@ class LanguageServer::Protocol::Interface::SignatureHelpContext # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:47 def is_retrigger; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:64 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:68 def to_json(*args); end # Character that caused signature help to be triggered. @@ -11651,27 +11651,27 @@ class LanguageServer::Protocol::Interface::SignatureHelpContext # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:35 def trigger_character; end # Action that caused signature help to be triggered. # # @return [SignatureHelpTriggerKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_context.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_context.rb:24 def trigger_kind; end end -# source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:4 class LanguageServer::Protocol::Interface::SignatureHelpOptions # @return [SignatureHelpOptions] a new instance of SignatureHelpOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), trigger_characters: T.unsafe(nil), retrigger_characters: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:41 def attributes; end # List of characters that re-trigger signature help. @@ -11682,13 +11682,13 @@ class LanguageServer::Protocol::Interface::SignatureHelpOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:37 def retrigger_characters; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:43 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:47 def to_json(*args); end # The characters that trigger signature help @@ -11696,25 +11696,25 @@ class LanguageServer::Protocol::Interface::SignatureHelpOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:25 def trigger_characters; end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_options.rb#16 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_options.rb:16 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:4 class LanguageServer::Protocol::Interface::SignatureHelpParams # @return [SignatureHelpParams] a new instance of SignatureHelpParams # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), context: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:50 def attributes; end # The signature help context. This is only available if the client @@ -11723,47 +11723,47 @@ class LanguageServer::Protocol::Interface::SignatureHelpParams # # @return [SignatureHelpContext] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:46 def context; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:52 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:56 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:4 class LanguageServer::Protocol::Interface::SignatureHelpRegistrationOptions # @return [SignatureHelpRegistrationOptions] a new instance of SignatureHelpRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), trigger_characters: T.unsafe(nil), retrigger_characters: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:51 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -11771,7 +11771,7 @@ class LanguageServer::Protocol::Interface::SignatureHelpRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:21 def document_selector; end # List of characters that re-trigger signature help. @@ -11782,13 +11782,13 @@ class LanguageServer::Protocol::Interface::SignatureHelpRegistrationOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:47 def retrigger_characters; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:53 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:57 def to_json(*args); end # The characters that trigger signature help @@ -11796,12 +11796,12 @@ class LanguageServer::Protocol::Interface::SignatureHelpRegistrationOptions # # @return [string[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:35 def trigger_characters; end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_help_registration_options.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_help_registration_options.rb:26 def work_done_progress; end end @@ -11809,11 +11809,11 @@ end # can have a label, like a function-name, a doc-comment, and # a set of parameters. # -# source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:9 class LanguageServer::Protocol::Interface::SignatureInformation # @return [SignatureInformation] a new instance of SignatureInformation # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:10 def initialize(label:, documentation: T.unsafe(nil), parameters: T.unsafe(nil), active_parameter: T.unsafe(nil)); end # The index of the active parameter. @@ -11822,12 +11822,12 @@ class LanguageServer::Protocol::Interface::SignatureInformation # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:53 def active_parameter; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#57 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:57 def attributes; end # The human-readable doc-comment of this signature. Will be shown @@ -11835,7 +11835,7 @@ class LanguageServer::Protocol::Interface::SignatureInformation # # @return [string | MarkupContent] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:35 def documentation; end # The label of this signature. Will be shown in @@ -11843,35 +11843,35 @@ class LanguageServer::Protocol::Interface::SignatureInformation # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:26 def label; end # The parameters of this signature. # # @return [ParameterInformation[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:43 def parameters; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:59 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/signature_information.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/signature_information.rb:63 def to_json(*args); end end # Static registration options to be returned in the initialize request. # -# source://language_server-protocol//lib/language_server/protocol/interface/static_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/static_registration_options.rb:7 class LanguageServer::Protocol::Interface::StaticRegistrationOptions # @return [StaticRegistrationOptions] a new instance of StaticRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/static_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/static_registration_options.rb:8 def initialize(id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/static_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/static_registration_options.rb:25 def attributes; end # The id used to register the request. The id can be used to deregister @@ -11879,29 +11879,29 @@ class LanguageServer::Protocol::Interface::StaticRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/static_registration_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/static_registration_options.rb:21 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/static_registration_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/static_registration_options.rb:27 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/static_registration_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/static_registration_options.rb:31 def to_json(*args); end end # Represents information about programming constructs like variables, classes, # interfaces etc. # -# source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:8 class LanguageServer::Protocol::Interface::SymbolInformation # @return [SymbolInformation] a new instance of SymbolInformation # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:9 def initialize(name:, kind:, location:, tags: T.unsafe(nil), deprecated: T.unsafe(nil), container_name: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#81 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:81 def attributes; end # The name of the symbol containing this symbol. This information is for @@ -11911,21 +11911,21 @@ class LanguageServer::Protocol::Interface::SymbolInformation # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#77 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:77 def container_name; end # Indicates if this symbol is deprecated. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:50 def deprecated; end # The kind of this symbol. # # @return [SymbolKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:34 def kind; end # The location of this symbol. The location's range is used by a tool @@ -11940,42 +11940,42 @@ class LanguageServer::Protocol::Interface::SymbolInformation # # @return [Location] # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:66 def location; end # The name of this symbol. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:26 def name; end # Tags for this symbol. # # @return [1[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:42 def tags; end - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#83 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:83 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/symbol_information.rb#87 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/symbol_information.rb:87 def to_json(*args); end end # Describe options to be used when registering for text document change events. # -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:7 class LanguageServer::Protocol::Interface::TextDocumentChangeRegistrationOptions # @return [TextDocumentChangeRegistrationOptions] a new instance of TextDocumentChangeRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:8 def initialize(document_selector:, sync_kind:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:35 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -11983,7 +11983,7 @@ class LanguageServer::Protocol::Interface::TextDocumentChangeRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:22 def document_selector; end # How documents are synced to the server. See TextDocumentSyncKind.Full @@ -11991,49 +11991,49 @@ class LanguageServer::Protocol::Interface::TextDocumentChangeRegistrationOptions # # @return [TextDocumentSyncKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:31 def sync_kind; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:37 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_change_registration_options.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_change_registration_options.rb:41 def to_json(*args); end end # Text document specific client capabilities. # -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:7 class LanguageServer::Protocol::Interface::TextDocumentClientCapabilities # @return [TextDocumentClientCapabilities] a new instance of TextDocumentClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:8 def initialize(synchronization: T.unsafe(nil), completion: T.unsafe(nil), hover: T.unsafe(nil), signature_help: T.unsafe(nil), declaration: T.unsafe(nil), definition: T.unsafe(nil), type_definition: T.unsafe(nil), implementation: T.unsafe(nil), references: T.unsafe(nil), document_highlight: T.unsafe(nil), document_symbol: T.unsafe(nil), code_action: T.unsafe(nil), code_lens: T.unsafe(nil), document_link: T.unsafe(nil), color_provider: T.unsafe(nil), formatting: T.unsafe(nil), range_formatting: T.unsafe(nil), on_type_formatting: T.unsafe(nil), rename: T.unsafe(nil), publish_diagnostics: T.unsafe(nil), folding_range: T.unsafe(nil), selection_range: T.unsafe(nil), linked_editing_range: T.unsafe(nil), call_hierarchy: T.unsafe(nil), semantic_tokens: T.unsafe(nil), moniker: T.unsafe(nil), type_hierarchy: T.unsafe(nil), inline_value: T.unsafe(nil), inlay_hint: T.unsafe(nil), diagnostic: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#285 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:285 def attributes; end # Capabilities specific to the various call hierarchy requests. # # @return [CallHierarchyClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#233 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:233 def call_hierarchy; end # Capabilities specific to the `textDocument/codeAction` request. # # @return [CodeActionClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#134 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:134 def code_action; end # Capabilities specific to the `textDocument/codeLens` request. # # @return [CodeLensClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#142 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:142 def code_lens; end # Capabilities specific to the `textDocument/documentColor` and the @@ -12041,112 +12041,112 @@ class LanguageServer::Protocol::Interface::TextDocumentClientCapabilities # # @return [DocumentColorClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#159 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:159 def color_provider; end # Capabilities specific to the `textDocument/completion` request. # # @return [CompletionClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:54 def completion; end # Capabilities specific to the `textDocument/declaration` request. # # @return [DeclarationClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#78 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:78 def declaration; end # Capabilities specific to the `textDocument/definition` request. # # @return [DefinitionClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#86 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:86 def definition; end # Capabilities specific to the diagnostic pull model. # # @return [DiagnosticClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#281 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:281 def diagnostic; end # Capabilities specific to the `textDocument/documentHighlight` request. # # @return [DocumentHighlightClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#118 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:118 def document_highlight; end # Capabilities specific to the `textDocument/documentLink` request. # # @return [DocumentLinkClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#150 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:150 def document_link; end # Capabilities specific to the `textDocument/documentSymbol` request. # # @return [DocumentSymbolClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#126 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:126 def document_symbol; end # Capabilities specific to the `textDocument/foldingRange` request. # # @return [FoldingRangeClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#209 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:209 def folding_range; end # Capabilities specific to the `textDocument/formatting` request. # # @return [DocumentFormattingClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#167 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:167 def formatting; end # Capabilities specific to the `textDocument/hover` request. # # @return [HoverClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:62 def hover; end # Capabilities specific to the `textDocument/implementation` request. # # @return [ImplementationClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#102 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:102 def implementation; end # Capabilities specific to the `textDocument/inlayHint` request. # # @return [InlayHintClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#273 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:273 def inlay_hint; end # Capabilities specific to the `textDocument/inlineValue` request. # # @return [InlineValueClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#265 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:265 def inline_value; end # Capabilities specific to the `textDocument/linkedEditingRange` request. # # @return [LinkedEditingRangeClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#225 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:225 def linked_editing_range; end # Capabilities specific to the `textDocument/moniker` request. # # @return [MonikerClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#249 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:249 def moniker; end # request. @@ -12154,7 +12154,7 @@ class LanguageServer::Protocol::Interface::TextDocumentClientCapabilities # # @return [DocumentOnTypeFormattingClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#184 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:184 def on_type_formatting; end # Capabilities specific to the `textDocument/publishDiagnostics` @@ -12162,104 +12162,104 @@ class LanguageServer::Protocol::Interface::TextDocumentClientCapabilities # # @return [PublishDiagnosticsClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#201 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:201 def publish_diagnostics; end # Capabilities specific to the `textDocument/rangeFormatting` request. # # @return [DocumentRangeFormattingClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#175 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:175 def range_formatting; end # Capabilities specific to the `textDocument/references` request. # # @return [ReferenceClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#110 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:110 def references; end # Capabilities specific to the `textDocument/rename` request. # # @return [RenameClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#192 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:192 def rename; end # Capabilities specific to the `textDocument/selectionRange` request. # # @return [SelectionRangeClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#217 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:217 def selection_range; end # Capabilities specific to the various semantic token requests. # # @return [SemanticTokensClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#241 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:241 def semantic_tokens; end # Capabilities specific to the `textDocument/signatureHelp` request. # # @return [SignatureHelpClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#70 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:70 def signature_help; end # @return [TextDocumentSyncClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:46 def synchronization; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#287 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:287 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#291 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:291 def to_json(*args); end # Capabilities specific to the `textDocument/typeDefinition` request. # # @return [TypeDefinitionClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#94 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:94 def type_definition; end # Capabilities specific to the various type hierarchy requests. # # @return [TypeHierarchyClientCapabilities] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_client_capabilities.rb#257 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_client_capabilities.rb:257 def type_hierarchy; end end # An event describing a change to a text document. If only a text is provided # it is considered to be the full content of the document. # -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:8 class LanguageServer::Protocol::Interface::TextDocumentContentChangeEvent # @return [TextDocumentContentChangeEvent] a new instance of TextDocumentContentChangeEvent # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:9 def initialize(text:, range: T.unsafe(nil), range_length: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#47 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:47 def attributes; end # The range of the document that changed. # # @return [Range, nil] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:23 def range; end # The optional length of the range that got replaced. # # @return [number, nil] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:31 def range_length; end # The new text for the provided range. @@ -12270,112 +12270,112 @@ class LanguageServer::Protocol::Interface::TextDocumentContentChangeEvent # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:43 def text; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:49 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_content_change_event.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_content_change_event.rb:53 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:4 class LanguageServer::Protocol::Interface::TextDocumentEdit # @return [TextDocumentEdit] a new instance of TextDocumentEdit # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:5 def initialize(text_document:, edits:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:30 def attributes; end # The edits to be applied. # # @return [(TextEdit | AnnotatedTextEdit)[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:26 def edits; end # The text document to change. # # @return [OptionalVersionedTextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:18 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_edit.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_edit.rb:36 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_identifier.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_identifier.rb:4 class LanguageServer::Protocol::Interface::TextDocumentIdentifier # @return [TextDocumentIdentifier] a new instance of TextDocumentIdentifier # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_identifier.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_identifier.rb:5 def initialize(uri:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_identifier.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_identifier.rb:21 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_identifier.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_identifier.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_identifier.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_identifier.rb:27 def to_json(*args); end # The text document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_identifier.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_identifier.rb:17 def uri; end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:4 class LanguageServer::Protocol::Interface::TextDocumentItem # @return [TextDocumentItem] a new instance of TextDocumentItem # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:5 def initialize(uri:, language_id:, version:, text:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:49 def attributes; end # The text document's language identifier. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:28 def language_id; end # The content of the opened text document. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:45 def text; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:55 def to_json(*args); end # The text document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:20 def uri; end # The version number of this document (it will increase after each @@ -12383,55 +12383,55 @@ class LanguageServer::Protocol::Interface::TextDocumentItem # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_item.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_item.rb:37 def version; end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:4 class LanguageServer::Protocol::Interface::TextDocumentPositionParams # @return [TextDocumentPositionParams] a new instance of TextDocumentPositionParams # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:5 def initialize(text_document:, position:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:30 def attributes; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:26 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:18 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:32 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_position_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_position_params.rb:36 def to_json(*args); end end # General text document registration options. # -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_registration_options.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_registration_options.rb:7 class LanguageServer::Protocol::Interface::TextDocumentRegistrationOptions # @return [TextDocumentRegistrationOptions] a new instance of TextDocumentRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_registration_options.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_registration_options.rb:8 def initialize(document_selector:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_registration_options.rb:25 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -12439,26 +12439,26 @@ class LanguageServer::Protocol::Interface::TextDocumentRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_registration_options.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_registration_options.rb:21 def document_selector; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_registration_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_registration_options.rb:27 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_registration_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_registration_options.rb:31 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:4 class LanguageServer::Protocol::Interface::TextDocumentSaveRegistrationOptions # @return [TextDocumentSaveRegistrationOptions] a new instance of TextDocumentSaveRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:5 def initialize(document_selector:, include_text: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:31 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -12466,60 +12466,60 @@ class LanguageServer::Protocol::Interface::TextDocumentSaveRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:19 def document_selector; end # The client is supposed to include the content on save. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:27 def include_text; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_save_registration_options.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_save_registration_options.rb:37 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::TextDocumentSyncClientCapabilities # @return [TextDocumentSyncClientCapabilities] a new instance of TextDocumentSyncClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), will_save: T.unsafe(nil), will_save_wait_until: T.unsafe(nil), did_save: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:50 def attributes; end # The client supports did save notifications. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:46 def did_save; end # Whether text document synchronization supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:20 def dynamic_registration; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:52 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:56 def to_json(*args); end # The client supports sending will save notifications. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:28 def will_save; end # The client supports sending a will save request and @@ -12528,20 +12528,20 @@ class LanguageServer::Protocol::Interface::TextDocumentSyncClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb:38 def will_save_wait_until; end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:4 class LanguageServer::Protocol::Interface::TextDocumentSyncOptions # @return [TextDocumentSyncOptions] a new instance of TextDocumentSyncOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:5 def initialize(open_close: T.unsafe(nil), change: T.unsafe(nil), will_save: T.unsafe(nil), will_save_wait_until: T.unsafe(nil), save: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#66 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:66 def attributes; end # Change notifications are sent to the server. See @@ -12551,7 +12551,7 @@ class LanguageServer::Protocol::Interface::TextDocumentSyncOptions # # @return [TextDocumentSyncKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:35 def change; end # Open and close notifications are sent to the server. If omitted open @@ -12561,7 +12561,7 @@ class LanguageServer::Protocol::Interface::TextDocumentSyncOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:24 def open_close; end # If present save notifications are sent to the server. If omitted the @@ -12569,13 +12569,13 @@ class LanguageServer::Protocol::Interface::TextDocumentSyncOptions # # @return [boolean | SaveOptions] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:62 def save; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:68 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#72 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:72 def to_json(*args); end # If present will save notifications are sent to the server. If omitted @@ -12583,7 +12583,7 @@ class LanguageServer::Protocol::Interface::TextDocumentSyncOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:44 def will_save; end # If present will save wait until requests are sent to the server. If @@ -12591,20 +12591,20 @@ class LanguageServer::Protocol::Interface::TextDocumentSyncOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_document_sync_options.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_document_sync_options.rb:53 def will_save_wait_until; end end -# source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:4 class LanguageServer::Protocol::Interface::TextEdit # @return [TextEdit] a new instance of TextEdit # - # source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:5 def initialize(range:, new_text:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:32 def attributes; end # The string to be inserted. For delete operations use an @@ -12612,7 +12612,7 @@ class LanguageServer::Protocol::Interface::TextEdit # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:28 def new_text; end # The range of the text document to be manipulated. To insert @@ -12620,26 +12620,26 @@ class LanguageServer::Protocol::Interface::TextEdit # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:19 def range; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/text_edit.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/text_edit.rb:38 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::TypeDefinitionClientCapabilities # @return [TypeDefinitionClientCapabilities] a new instance of TypeDefinitionClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), link_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:32 def attributes; end # Whether implementation supports dynamic registration. If this is set to @@ -12648,57 +12648,57 @@ class LanguageServer::Protocol::Interface::TypeDefinitionClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:20 def dynamic_registration; end # The client supports additional metadata in the form of definition links. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:28 def link_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:34 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_client_capabilities.rb:38 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_definition_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_options.rb:4 class LanguageServer::Protocol::Interface::TypeDefinitionOptions # @return [TypeDefinitionOptions] a new instance of TypeDefinitionOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:4 class LanguageServer::Protocol::Interface::TypeDefinitionParams # @return [TypeDefinitionParams] a new instance of TypeDefinitionParams # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:49 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -12706,47 +12706,47 @@ class LanguageServer::Protocol::Interface::TypeDefinitionParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:45 def partial_result_token; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:28 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:20 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:51 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:55 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_params.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_params.rb:36 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:4 class LanguageServer::Protocol::Interface::TypeDefinitionRegistrationOptions # @return [TypeDefinitionRegistrationOptions] a new instance of TypeDefinitionRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -12754,7 +12754,7 @@ class LanguageServer::Protocol::Interface::TypeDefinitionRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -12762,31 +12762,31 @@ class LanguageServer::Protocol::Interface::TypeDefinitionRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_definition_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_definition_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:4 class LanguageServer::Protocol::Interface::TypeHierarchyItem # @return [TypeHierarchyItem] a new instance of TypeHierarchyItem # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:5 def initialize(name:, kind:, uri:, range:, selection_range:, tags: T.unsafe(nil), detail: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#90 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:90 def attributes; end # A data entry field that is preserved between a type hierarchy prepare and @@ -12796,28 +12796,28 @@ class LanguageServer::Protocol::Interface::TypeHierarchyItem # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#86 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:86 def data; end # More detail for this item, e.g. the signature of a function. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:48 def detail; end # The kind of this item. # # @return [SymbolKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:32 def kind; end # The name of this item. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:24 def name; end # The range enclosing this symbol not including leading/trailing whitespace @@ -12825,7 +12825,7 @@ class LanguageServer::Protocol::Interface::TypeHierarchyItem # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#65 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:65 def range; end # The range that should be selected and revealed when this symbol is being @@ -12834,104 +12834,104 @@ class LanguageServer::Protocol::Interface::TypeHierarchyItem # # @return [Range] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#75 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:75 def selection_range; end # Tags for this item. # # @return [1[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:40 def tags; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#92 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:92 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#96 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:96 def to_json(*args); end # The resource identifier of this item. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_item.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_item.rb:56 def uri; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_options.rb:4 class LanguageServer::Protocol::Interface::TypeHierarchyOptions # @return [TypeHierarchyOptions] a new instance of TypeHierarchyOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:4 class LanguageServer::Protocol::Interface::TypeHierarchyPrepareParams # @return [TypeHierarchyPrepareParams] a new instance of TypeHierarchyPrepareParams # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:5 def initialize(text_document:, position:, work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:39 def attributes; end # The position inside the text document. # # @return [Position] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:27 def position; end # The text document. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:19 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:41 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#45 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:45 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb:35 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:4 class LanguageServer::Protocol::Interface::TypeHierarchyRegistrationOptions # @return [TypeHierarchyRegistrationOptions] a new instance of TypeHierarchyRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:5 def initialize(document_selector:, work_done_progress: T.unsafe(nil), id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:38 def attributes; end # A document selector to identify the scope of the registration. If set to @@ -12939,7 +12939,7 @@ class LanguageServer::Protocol::Interface::TypeHierarchyRegistrationOptions # # @return [DocumentSelector] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:20 def document_selector; end # The id used to register the request. The id can be used to deregister @@ -12947,36 +12947,36 @@ class LanguageServer::Protocol::Interface::TypeHierarchyRegistrationOptions # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:34 def id; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:44 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_registration_options.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_registration_options.rb:25 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:4 class LanguageServer::Protocol::Interface::TypeHierarchySubtypesParams # @return [TypeHierarchySubtypesParams] a new instance of TypeHierarchySubtypesParams # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:5 def initialize(item:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:37 def attributes; end # @return [TypeHierarchyItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:33 def item; end # An optional token that a server can use to report partial results (e.g. @@ -12984,38 +12984,38 @@ class LanguageServer::Protocol::Interface::TypeHierarchySubtypesParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:28 def partial_result_token; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:43 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb:19 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:4 class LanguageServer::Protocol::Interface::TypeHierarchySupertypesParams # @return [TypeHierarchySupertypesParams] a new instance of TypeHierarchySupertypesParams # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:5 def initialize(item:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:37 def attributes; end # @return [TypeHierarchyItem] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:33 def item; end # An optional token that a server can use to report partial results (e.g. @@ -13023,36 +13023,36 @@ class LanguageServer::Protocol::Interface::TypeHierarchySupertypesParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:28 def partial_result_token; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:39 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:43 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb:19 def work_done_token; end end # A diagnostic report indicating that the last returned # report is still accurate. # -# source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:8 class LanguageServer::Protocol::Interface::UnchangedDocumentDiagnosticReport # @return [UnchangedDocumentDiagnosticReport] a new instance of UnchangedDocumentDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#9 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:9 def initialize(kind:, result_id:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:38 def attributes; end # A document diagnostic report indicating @@ -13062,7 +13062,7 @@ class LanguageServer::Protocol::Interface::UnchangedDocumentDiagnosticReport # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:25 def kind; end # A result id which will be sent on the next @@ -13070,28 +13070,28 @@ class LanguageServer::Protocol::Interface::UnchangedDocumentDiagnosticReport # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:34 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:40 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb:44 def to_json(*args); end end # General parameters to unregister a capability. # -# source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:7 class LanguageServer::Protocol::Interface::Unregistration # @return [Unregistration] a new instance of Unregistration # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:8 def initialize(id:, method:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:34 def attributes; end # The id used to unregister the request or notification. Usually an id @@ -13099,105 +13099,105 @@ class LanguageServer::Protocol::Interface::Unregistration # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:22 def id; end # The method / capability to unregister for. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:30 def method; end - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:36 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration.rb:40 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/unregistration_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration_params.rb:4 class LanguageServer::Protocol::Interface::UnregistrationParams # @return [UnregistrationParams] a new instance of UnregistrationParams # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration_params.rb:5 def initialize(unregisterations:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration_params.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration_params.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration_params.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration_params.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration_params.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration_params.rb:24 def to_json(*args); end # @return [Unregistration[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/unregistration_params.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/unregistration_params.rb:14 def unregisterations; end end # A versioned notebook document identifier. # -# source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:7 class LanguageServer::Protocol::Interface::VersionedNotebookDocumentIdentifier # @return [VersionedNotebookDocumentIdentifier] a new instance of VersionedNotebookDocumentIdentifier # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:8 def initialize(version:, uri:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:33 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:39 def to_json(*args); end # The notebook document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:29 def uri; end # The version number of this notebook document. # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb:21 def version; end end -# source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:4 class LanguageServer::Protocol::Interface::VersionedTextDocumentIdentifier # @return [VersionedTextDocumentIdentifier] a new instance of VersionedTextDocumentIdentifier # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:5 def initialize(uri:, version:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:33 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:39 def to_json(*args); end # The text document's URI. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:18 def uri; end # The version number of this document. @@ -13207,55 +13207,55 @@ class LanguageServer::Protocol::Interface::VersionedTextDocumentIdentifier # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/versioned_text_document_identifier.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/versioned_text_document_identifier.rb:29 def version; end end # The parameters send in a will save text document notification. # -# source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:7 class LanguageServer::Protocol::Interface::WillSaveTextDocumentParams # @return [WillSaveTextDocumentParams] a new instance of WillSaveTextDocumentParams # - # source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:8 def initialize(text_document:, reason:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:33 def attributes; end # The 'TextDocumentSaveReason'. # # @return [TextDocumentSaveReason] # - # source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:29 def reason; end # The document that will be saved. # # @return [TextDocumentIdentifier] # - # source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:21 def text_document; end - # source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/will_save_text_document_params.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/will_save_text_document_params.rb:39 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressBegin # @return [WorkDoneProgressBegin] a new instance of WorkDoneProgressBegin # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:5 def initialize(kind:, title:, cancellable: T.unsafe(nil), message: T.unsafe(nil), percentage: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#68 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:68 def attributes; end # Controls if a cancel button should show to allow the user to cancel the @@ -13264,12 +13264,12 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressBegin # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:39 def cancellable; end # @return ["begin"] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:18 def kind; end # Optional, more detailed associated progress message. Contains @@ -13280,7 +13280,7 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressBegin # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#51 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:51 def message; end # Optional progress percentage to display (value 100 is considered 100%). @@ -13292,7 +13292,7 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressBegin # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:64 def percentage; end # Mandatory title of the progress operation. Used to briefly inform about @@ -13302,83 +13302,83 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressBegin # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:29 def title; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#70 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:70 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_begin.rb#74 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_begin.rb:74 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_cancel_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_cancel_params.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressCancelParams # @return [WorkDoneProgressCancelParams] a new instance of WorkDoneProgressCancelParams # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_cancel_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_cancel_params.rb:5 def initialize(token:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_cancel_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_cancel_params.rb:21 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_cancel_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_cancel_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_cancel_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_cancel_params.rb:27 def to_json(*args); end # The token to be used to report progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_cancel_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_cancel_params.rb:17 def token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_create_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_create_params.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressCreateParams # @return [WorkDoneProgressCreateParams] a new instance of WorkDoneProgressCreateParams # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_create_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_create_params.rb:5 def initialize(token:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_create_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_create_params.rb:21 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_create_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_create_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_create_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_create_params.rb:27 def to_json(*args); end # The token to be used to report progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_create_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_create_params.rb:17 def token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressEnd # @return [WorkDoneProgressEnd] a new instance of WorkDoneProgressEnd # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:5 def initialize(kind:, message: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:28 def attributes; end # @return ["end"] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:15 def kind; end # Optional, a final message indicating to for example indicate the outcome @@ -13386,76 +13386,76 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressEnd # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:24 def message; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_end.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_end.rb:34 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_options.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressOptions # @return [WorkDoneProgressOptions] a new instance of WorkDoneProgressOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_options.rb:5 def initialize(work_done_progress: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_options.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_options.rb:18 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_options.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_options.rb:20 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_options.rb:24 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_options.rb#14 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_options.rb:14 def work_done_progress; end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_params.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_params.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressParams # @return [WorkDoneProgressParams] a new instance of WorkDoneProgressParams # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_params.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_params.rb:5 def initialize(work_done_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_params.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_params.rb:21 def attributes; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_params.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_params.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_params.rb:27 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_params.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_params.rb:17 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:4 class LanguageServer::Protocol::Interface::WorkDoneProgressReport # @return [WorkDoneProgressReport] a new instance of WorkDoneProgressReport # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:5 def initialize(kind:, cancellable: T.unsafe(nil), message: T.unsafe(nil), percentage: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:58 def attributes; end # Controls enablement state of a cancel button. This property is only valid @@ -13466,12 +13466,12 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressReport # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:29 def cancellable; end # @return ["report"] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:17 def kind; end # Optional, more detailed associated progress message. Contains @@ -13482,7 +13482,7 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressReport # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:41 def message; end # Optional progress percentage to display (value 100 is considered 100%). @@ -13494,35 +13494,35 @@ class LanguageServer::Protocol::Interface::WorkDoneProgressReport # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:54 def percentage; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#60 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:60 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/work_done_progress_report.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/work_done_progress_report.rb:64 def to_json(*args); end end # Parameters of the workspace diagnostic request. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:7 class LanguageServer::Protocol::Interface::WorkspaceDiagnosticParams # @return [WorkspaceDiagnosticParams] a new instance of WorkspaceDiagnosticParams # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:8 def initialize(previous_result_ids:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil), identifier: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#53 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:53 def attributes; end # The additional identifier provided during registration. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:40 def identifier; end # An optional token that a server can use to report partial results (e.g. @@ -13530,7 +13530,7 @@ class LanguageServer::Protocol::Interface::WorkspaceDiagnosticParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:32 def partial_result_token; end # The currently known diagnostic reports with their @@ -13538,85 +13538,85 @@ class LanguageServer::Protocol::Interface::WorkspaceDiagnosticParams # # @return [PreviousResultId[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#49 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:49 def previous_result_ids; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#55 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:55 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:59 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_params.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_params.rb:23 def work_done_token; end end # A workspace diagnostic report. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report.rb:7 class LanguageServer::Protocol::Interface::WorkspaceDiagnosticReport # @return [WorkspaceDiagnosticReport] a new instance of WorkspaceDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report.rb:8 def initialize(items:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report.rb:21 def attributes; end # @return [WorkspaceDocumentDiagnosticReport[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report.rb:17 def items; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report.rb:27 def to_json(*args); end end # A partial result for a workspace diagnostic report. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb:7 class LanguageServer::Protocol::Interface::WorkspaceDiagnosticReportPartialResult # @return [WorkspaceDiagnosticReportPartialResult] a new instance of WorkspaceDiagnosticReportPartialResult # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb:8 def initialize(items:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb:21 def attributes; end # @return [WorkspaceDocumentDiagnosticReport[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb#17 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb:17 def items; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb#23 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb:23 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb:27 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:4 class LanguageServer::Protocol::Interface::WorkspaceEdit # @return [WorkspaceEdit] a new instance of WorkspaceEdit # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:5 def initialize(changes: T.unsafe(nil), document_changes: T.unsafe(nil), change_annotations: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:56 def attributes; end # A map of change annotations that can be referenced in @@ -13628,14 +13628,14 @@ class LanguageServer::Protocol::Interface::WorkspaceEdit # # @return [{ [id: string]: ChangeAnnotation; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:52 def change_annotations; end # Holds changes to existing resources. # # @return [{}] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#19 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:19 def changes; end # Depending on the client capability @@ -13654,26 +13654,26 @@ class LanguageServer::Protocol::Interface::WorkspaceEdit # # @return [TextDocumentEdit[] | (TextDocumentEdit | CreateFile | RenameFile | DeleteFile)[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:39 def document_changes; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:58 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit.rb:62 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::WorkspaceEditClientCapabilities # @return [WorkspaceEditClientCapabilities] a new instance of WorkspaceEditClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:5 def initialize(document_changes: T.unsafe(nil), resource_operations: T.unsafe(nil), failure_handling: T.unsafe(nil), normalizes_line_endings: T.unsafe(nil), change_annotation_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:63 def attributes; end # Whether the client in general supports change annotations on text edits, @@ -13681,14 +13681,14 @@ class LanguageServer::Protocol::Interface::WorkspaceEditClientCapabilities # # @return [{ groupsOnLabel?: boolean; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:59 def change_annotation_support; end # The client supports versioned document changes in `WorkspaceEdit`s # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:21 def document_changes; end # The failure handling strategy of a client if applying the workspace edit @@ -13696,7 +13696,7 @@ class LanguageServer::Protocol::Interface::WorkspaceEditClientCapabilities # # @return [FailureHandlingKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:39 def failure_handling; end # Whether the client normalizes line endings to the client specific @@ -13706,7 +13706,7 @@ class LanguageServer::Protocol::Interface::WorkspaceEditClientCapabilities # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:50 def normalizes_line_endings; end # The resource operations the client supports. Clients should at least @@ -13714,26 +13714,26 @@ class LanguageServer::Protocol::Interface::WorkspaceEditClientCapabilities # # @return [ResourceOperationKind[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:30 def resource_operations; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#65 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:65 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb#69 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb:69 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:4 class LanguageServer::Protocol::Interface::WorkspaceFolder # @return [WorkspaceFolder] a new instance of WorkspaceFolder # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:5 def initialize(uri:, name:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:31 def attributes; end # The name of the workspace folder. Used to refer to this @@ -13741,68 +13741,68 @@ class LanguageServer::Protocol::Interface::WorkspaceFolder # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#27 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:27 def name; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:33 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#37 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:37 def to_json(*args); end # The associated URI for this workspace folder. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folder.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folder.rb:18 def uri; end end # The workspace folder change event. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:7 class LanguageServer::Protocol::Interface::WorkspaceFoldersChangeEvent # @return [WorkspaceFoldersChangeEvent] a new instance of WorkspaceFoldersChangeEvent # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:8 def initialize(added:, removed:); end # The array of added workspace folders # # @return [WorkspaceFolder[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#21 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:21 def added; end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:33 def attributes; end # The array of the removed workspace folders # # @return [WorkspaceFolder[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:29 def removed; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:35 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_change_event.rb#39 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_change_event.rb:39 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:4 class LanguageServer::Protocol::Interface::WorkspaceFoldersServerCapabilities # @return [WorkspaceFoldersServerCapabilities] a new instance of WorkspaceFoldersServerCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:5 def initialize(supported: T.unsafe(nil), change_notifications: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#36 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:36 def attributes; end # Whether the server wants to receive workspace folder @@ -13815,49 +13815,49 @@ class LanguageServer::Protocol::Interface::WorkspaceFoldersServerCapabilities # # @return [string | boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:32 def change_notifications; end # The server has support for workspace folders # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#18 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:18 def supported; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:38 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb:42 def to_json(*args); end end # A full document diagnostic report for a workspace diagnostic result. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:7 class LanguageServer::Protocol::Interface::WorkspaceFullDocumentDiagnosticReport # @return [WorkspaceFullDocumentDiagnosticReport] a new instance of WorkspaceFullDocumentDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:8 def initialize(kind:, items:, uri:, version:, result_id: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#63 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:63 def attributes; end # The actual items. # # @return [Diagnostic[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#42 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:42 def items; end # A full document diagnostic report. # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:24 def kind; end # An optional result id. If provided it will @@ -13866,20 +13866,20 @@ class LanguageServer::Protocol::Interface::WorkspaceFullDocumentDiagnosticReport # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:34 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#65 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:65 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#69 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:69 def to_json(*args); end # The URI for which diagnostic information is reported. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:50 def uri; end # The version number for which the diagnostics are reported. @@ -13887,22 +13887,22 @@ class LanguageServer::Protocol::Interface::WorkspaceFullDocumentDiagnosticReport # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb#59 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb:59 def version; end end # A special workspace symbol that supports locations without a range # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:7 class LanguageServer::Protocol::Interface::WorkspaceSymbol # @return [WorkspaceSymbol] a new instance of WorkspaceSymbol # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:8 def initialize(name:, kind:, location:, tags: T.unsafe(nil), container_name: T.unsafe(nil), data: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#77 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:77 def attributes; end # The name of the symbol containing this symbol. This information is for @@ -13912,7 +13912,7 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbol # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:52 def container_name; end # A data entry field that is preserved on a workspace symbol between a @@ -13920,14 +13920,14 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbol # # @return [LSPAny] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#73 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:73 def data; end # The kind of this symbol. # # @return [SymbolKind] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#33 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:33 def kind; end # The location of this symbol. Whether a server is allowed to @@ -13938,47 +13938,47 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbol # # @return [Location | { uri: string; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#64 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:64 def location; end # The name of this symbol. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#25 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:25 def name; end # Tags for this completion item. # # @return [1[]] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#41 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:41 def tags; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#79 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:79 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol.rb#83 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol.rb:83 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:4 class LanguageServer::Protocol::Interface::WorkspaceSymbolClientCapabilities # @return [WorkspaceSymbolClientCapabilities] a new instance of WorkspaceSymbolClientCapabilities # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:5 def initialize(dynamic_registration: T.unsafe(nil), symbol_kind: T.unsafe(nil), tag_support: T.unsafe(nil), resolve_support: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:52 def attributes; end # Symbol request supports dynamic registration. # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#20 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:20 def dynamic_registration; end # The client support partial workspace symbols. The client will send the @@ -13987,7 +13987,7 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolClientCapabilities # # @return [{ properties: string[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#48 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:48 def resolve_support; end # Specific capabilities for the `SymbolKind` in the `workspace/symbol` @@ -13995,7 +13995,7 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolClientCapabilities # # @return [{ valueSet?: SymbolKind[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#29 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:29 def symbol_kind; end # The client supports tags on `SymbolInformation` and `WorkspaceSymbol`. @@ -14003,26 +14003,26 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolClientCapabilities # # @return [{ valueSet: 1[]; }] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#38 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:38 def tag_support; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#54 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:54 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb:58 def to_json(*args); end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:4 class LanguageServer::Protocol::Interface::WorkspaceSymbolOptions # @return [WorkspaceSymbolOptions] a new instance of WorkspaceSymbolOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:28 def attributes; end # The server provides support to resolve additional @@ -14030,33 +14030,33 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:24 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_options.rb:15 def work_done_progress; end end # The parameters of a Workspace Symbol Request. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:7 class LanguageServer::Protocol::Interface::WorkspaceSymbolParams # @return [WorkspaceSymbolParams] a new instance of WorkspaceSymbolParams # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:8 def initialize(query:, work_done_token: T.unsafe(nil), partial_result_token: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#44 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:44 def attributes; end # An optional token that a server can use to report partial results (e.g. @@ -14064,7 +14064,7 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolParams # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#31 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:31 def partial_result_token; end # A query string to filter symbols by. Clients may send an empty @@ -14072,33 +14072,33 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolParams # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#40 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:40 def query; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#46 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:46 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#50 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:50 def to_json(*args); end # An optional token that a server can use to report work done progress. # # @return [ProgressToken] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_params.rb#22 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_params.rb:22 def work_done_token; end end -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:4 class LanguageServer::Protocol::Interface::WorkspaceSymbolRegistrationOptions # @return [WorkspaceSymbolRegistrationOptions] a new instance of WorkspaceSymbolRegistrationOptions # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#5 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:5 def initialize(work_done_progress: T.unsafe(nil), resolve_provider: T.unsafe(nil)); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#28 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:28 def attributes; end # The server provides support to resolve additional @@ -14106,33 +14106,33 @@ class LanguageServer::Protocol::Interface::WorkspaceSymbolRegistrationOptions # # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:24 def resolve_provider; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:30 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#34 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:34 def to_json(*args); end # @return [boolean] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_symbol_registration_options.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_symbol_registration_options.rb:15 def work_done_progress; end end # An unchanged document diagnostic report for a workspace diagnostic result. # -# source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:7 class LanguageServer::Protocol::Interface::WorkspaceUnchangedDocumentDiagnosticReport # @return [WorkspaceUnchangedDocumentDiagnosticReport] a new instance of WorkspaceUnchangedDocumentDiagnosticReport # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:8 def initialize(kind:, result_id:, uri:, version:); end # Returns the value of attribute attributes. # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#56 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:56 def attributes; end # A document diagnostic report indicating @@ -14142,7 +14142,7 @@ class LanguageServer::Protocol::Interface::WorkspaceUnchangedDocumentDiagnosticR # # @return [any] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#26 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:26 def kind; end # A result id which will be sent on the next @@ -14150,20 +14150,20 @@ class LanguageServer::Protocol::Interface::WorkspaceUnchangedDocumentDiagnosticR # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#35 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:35 def result_id; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#58 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:58 def to_hash; end - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#62 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:62 def to_json(*args); end # The URI for which diagnostic information is reported. # # @return [string] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#43 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:43 def uri; end # The version number for which the diagnostics are reported. @@ -14171,74 +14171,74 @@ class LanguageServer::Protocol::Interface::WorkspaceUnchangedDocumentDiagnosticR # # @return [number] # - # source://language_server-protocol//lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb#52 + # pkg:gem/language_server-protocol#lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb:52 def version; end end -# source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#7 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:7 module LanguageServer::Protocol::Transport; end -# source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#8 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:8 module LanguageServer::Protocol::Transport::Io; end -# source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#9 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:9 class LanguageServer::Protocol::Transport::Io::Reader # @return [Reader] a new instance of Reader # - # source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#10 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:10 def initialize(io); end - # source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#24 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:24 def close; end - # source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#15 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:15 def read(&block); end private # Returns the value of attribute io. # - # source://language_server-protocol//lib/language_server/protocol/transport/io/reader.rb#30 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/reader.rb:30 def io; end end -# source://language_server-protocol//lib/language_server/protocol/transport/io/writer.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/writer.rb:5 class LanguageServer::Protocol::Transport::Io::Writer # @return [Writer] a new instance of Writer # - # source://language_server-protocol//lib/language_server/protocol/transport/io/writer.rb#8 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/writer.rb:8 def initialize(io); end - # source://language_server-protocol//lib/language_server/protocol/transport/io/writer.rb#32 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/writer.rb:32 def close; end # Returns the value of attribute io. # - # source://language_server-protocol//lib/language_server/protocol/transport/io/writer.rb#6 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/writer.rb:6 def io; end - # source://language_server-protocol//lib/language_server/protocol/transport/io/writer.rb#13 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/io/writer.rb:13 def write(response); end end -# source://language_server-protocol//lib/language_server/protocol/transport/stdio/reader.rb#4 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/stdio/reader.rb:4 module LanguageServer::Protocol::Transport::Stdio; end -# source://language_server-protocol//lib/language_server/protocol/transport/stdio/reader.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/stdio/reader.rb:5 class LanguageServer::Protocol::Transport::Stdio::Reader < ::LanguageServer::Protocol::Transport::Io::Reader # @return [Reader] a new instance of Reader # - # source://language_server-protocol//lib/language_server/protocol/transport/stdio/reader.rb#6 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/stdio/reader.rb:6 def initialize; end end -# source://language_server-protocol//lib/language_server/protocol/transport/stdio/writer.rb#5 +# pkg:gem/language_server-protocol#lib/language_server/protocol/transport/stdio/writer.rb:5 class LanguageServer::Protocol::Transport::Stdio::Writer < ::LanguageServer::Protocol::Transport::Io::Writer # @return [Writer] a new instance of Writer # - # source://language_server-protocol//lib/language_server/protocol/transport/stdio/writer.rb#6 + # pkg:gem/language_server-protocol#lib/language_server/protocol/transport/stdio/writer.rb:6 def initialize; end end -# source://language_server-protocol//lib/language_server/protocol/version.rb#3 +# pkg:gem/language_server-protocol#lib/language_server/protocol/version.rb:3 LanguageServer::Protocol::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/lint_roller@1.1.0.rbi b/sorbet/rbi/gems/lint_roller@1.1.0.rbi index db4caf61d..7134f00b8 100644 --- a/sorbet/rbi/gems/lint_roller@1.1.0.rbi +++ b/sorbet/rbi/gems/lint_roller@1.1.0.rbi @@ -5,16 +5,16 @@ # Please instead update this file by running `bin/tapioca gem lint_roller`. -# source://lint_roller//lib/lint_roller/context.rb#1 +# pkg:gem/lint_roller#lib/lint_roller/context.rb:1 module LintRoller; end -# source://lint_roller//lib/lint_roller/about.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/about.rb:2 class LintRoller::About < ::Struct # Returns the value of attribute description # # @return [Object] the current value of description # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def description; end # Sets the attribute description @@ -22,14 +22,14 @@ class LintRoller::About < ::Struct # @param value [Object] the value to set the attribute description to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def description=(_); end # Returns the value of attribute homepage # # @return [Object] the current value of homepage # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def homepage; end # Sets the attribute homepage @@ -37,14 +37,14 @@ class LintRoller::About < ::Struct # @param value [Object] the value to set the attribute homepage to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def homepage=(_); end # Returns the value of attribute name # # @return [Object] the current value of name # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def name; end # Sets the attribute name @@ -52,14 +52,14 @@ class LintRoller::About < ::Struct # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def name=(_); end # Returns the value of attribute version # # @return [Object] the current value of version # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def version; end # Sets the attribute version @@ -67,34 +67,34 @@ class LintRoller::About < ::Struct # @param value [Object] the value to set the attribute version to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def version=(_); end class << self - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def [](*_arg0); end - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def inspect; end - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def keyword_init?; end - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def members; end - # source://lint_roller//lib/lint_roller/about.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/about.rb:2 def new(*_arg0); end end end -# source://lint_roller//lib/lint_roller/context.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/context.rb:2 class LintRoller::Context < ::Struct # Returns the value of attribute engine # # @return [Object] the current value of engine # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def engine; end # Sets the attribute engine @@ -102,14 +102,14 @@ class LintRoller::Context < ::Struct # @param value [Object] the value to set the attribute engine to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def engine=(_); end # Returns the value of attribute engine_version # # @return [Object] the current value of engine_version # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def engine_version; end # Sets the attribute engine_version @@ -117,14 +117,14 @@ class LintRoller::Context < ::Struct # @param value [Object] the value to set the attribute engine_version to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def engine_version=(_); end # Returns the value of attribute rule_format # # @return [Object] the current value of rule_format # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def rule_format; end # Sets the attribute rule_format @@ -132,14 +132,14 @@ class LintRoller::Context < ::Struct # @param value [Object] the value to set the attribute rule_format to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def rule_format=(_); end # Returns the value of attribute runner # # @return [Object] the current value of runner # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def runner; end # Sets the attribute runner @@ -147,14 +147,14 @@ class LintRoller::Context < ::Struct # @param value [Object] the value to set the attribute runner to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def runner=(_); end # Returns the value of attribute runner_version # # @return [Object] the current value of runner_version # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def runner_version; end # Sets the attribute runner_version @@ -162,14 +162,14 @@ class LintRoller::Context < ::Struct # @param value [Object] the value to set the attribute runner_version to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def runner_version=(_); end # Returns the value of attribute target_ruby_version # # @return [Object] the current value of target_ruby_version # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def target_ruby_version; end # Sets the attribute target_ruby_version @@ -177,66 +177,66 @@ class LintRoller::Context < ::Struct # @param value [Object] the value to set the attribute target_ruby_version to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def target_ruby_version=(_); end class << self - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def [](*_arg0); end - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def inspect; end - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def keyword_init?; end - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def members; end - # source://lint_roller//lib/lint_roller/context.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/context.rb:2 def new(*_arg0); end end end -# source://lint_roller//lib/lint_roller/error.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/error.rb:2 class LintRoller::Error < ::StandardError; end -# source://lint_roller//lib/lint_roller/plugin.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/plugin.rb:2 class LintRoller::Plugin # `config' is a Hash of options passed to the plugin by the user # # @return [Plugin] a new instance of Plugin # - # source://lint_roller//lib/lint_roller/plugin.rb#4 + # pkg:gem/lint_roller#lib/lint_roller/plugin.rb:4 def initialize(config = T.unsafe(nil)); end # @raise [Error] # - # source://lint_roller//lib/lint_roller/plugin.rb#8 + # pkg:gem/lint_roller#lib/lint_roller/plugin.rb:8 def about; end # `context' is an instance of LintRoller::Context provided by the runner # # @raise [Error] # - # source://lint_roller//lib/lint_roller/plugin.rb#18 + # pkg:gem/lint_roller#lib/lint_roller/plugin.rb:18 def rules(context); end # `context' is an instance of LintRoller::Context provided by the runner # # @return [Boolean] # - # source://lint_roller//lib/lint_roller/plugin.rb#13 + # pkg:gem/lint_roller#lib/lint_roller/plugin.rb:13 def supported?(context); end end -# source://lint_roller//lib/lint_roller/rules.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 class LintRoller::Rules < ::Struct # Returns the value of attribute config_format # # @return [Object] the current value of config_format # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def config_format; end # Sets the attribute config_format @@ -244,14 +244,14 @@ class LintRoller::Rules < ::Struct # @param value [Object] the value to set the attribute config_format to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def config_format=(_); end # Returns the value of attribute error # # @return [Object] the current value of error # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def error; end # Sets the attribute error @@ -259,14 +259,14 @@ class LintRoller::Rules < ::Struct # @param value [Object] the value to set the attribute error to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def error=(_); end # Returns the value of attribute type # # @return [Object] the current value of type # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def type; end # Sets the attribute type @@ -274,14 +274,14 @@ class LintRoller::Rules < ::Struct # @param value [Object] the value to set the attribute type to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def type=(_); end # Returns the value of attribute value # # @return [Object] the current value of value # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def value; end # Sets the attribute value @@ -289,35 +289,35 @@ class LintRoller::Rules < ::Struct # @param value [Object] the value to set the attribute value to. # @return [Object] the newly set value # - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def value=(_); end class << self - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def [](*_arg0); end - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def inspect; end - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def keyword_init?; end - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def members; end - # source://lint_roller//lib/lint_roller/rules.rb#2 + # pkg:gem/lint_roller#lib/lint_roller/rules.rb:2 def new(*_arg0); end end end -# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/support/merges_upstream_metadata.rb:2 module LintRoller::Support; end -# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#3 +# pkg:gem/lint_roller#lib/lint_roller/support/merges_upstream_metadata.rb:3 class LintRoller::Support::MergesUpstreamMetadata - # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#4 + # pkg:gem/lint_roller#lib/lint_roller/support/merges_upstream_metadata.rb:4 def merge(plugin_yaml, upstream_yaml); end end -# source://lint_roller//lib/lint_roller/version.rb#2 +# pkg:gem/lint_roller#lib/lint_roller/version.rb:2 LintRoller::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/logger@1.7.0.rbi b/sorbet/rbi/gems/logger@1.7.0.rbi index a17ebf0fe..468a24c1b 100644 --- a/sorbet/rbi/gems/logger@1.7.0.rbi +++ b/sorbet/rbi/gems/logger@1.7.0.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 +# pkg:gem/logger#lib/logger/version.rb:3 class Logger include ::Logger::Severity @@ -423,7 +423,7 @@ class Logger # # @return [Logger] a new instance of Logger # - # source://logger//lib/logger.rb#598 + # pkg:gem/logger#lib/logger.rb:598 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), skip_header: T.unsafe(nil)); end # Writes the given +msg+ to the log with no formatting; @@ -437,7 +437,7 @@ class Logger # # My message. # - # source://logger//lib/logger.rb#708 + # pkg:gem/logger#lib/logger.rb:708 def <<(msg); end # Creates a log entry, which may or may not be written to the log, @@ -467,7 +467,7 @@ class Logger # - #fatal. # - #unknown. # - # source://logger//lib/logger.rb#675 + # pkg:gem/logger#lib/logger.rb:675 def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil)); end # Closes the logger; returns +nil+: @@ -478,12 +478,12 @@ class Logger # # Related: Logger#reopen. # - # source://logger//lib/logger.rb#755 + # pkg:gem/logger#lib/logger.rb:755 def close; end # Returns the date-time format; see #datetime_format=. # - # source://logger//lib/logger.rb#438 + # pkg:gem/logger#lib/logger.rb:438 def datetime_format; end # Sets the date-time format. @@ -494,18 +494,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 + # pkg:gem/logger#lib/logger.rb:432 def datetime_format=(datetime_format); end # Equivalent to calling #add with severity Logger::DEBUG. # - # source://logger//lib/logger.rb#714 + # pkg:gem/logger#lib/logger.rb:714 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 + # pkg:gem/logger#lib/logger.rb:487 def debug!; end # Returns +true+ if the log level allows entries with severity @@ -514,18 +514,18 @@ class Logger # # @return [Boolean] # - # source://logger//lib/logger.rb#482 + # pkg:gem/logger#lib/logger.rb:482 def debug?; end # Equivalent to calling #add with severity Logger::ERROR. # - # source://logger//lib/logger.rb#732 + # pkg:gem/logger#lib/logger.rb:732 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 + # pkg:gem/logger#lib/logger.rb:520 def error!; end # Returns +true+ if the log level allows entries with severity @@ -534,18 +534,18 @@ class Logger # # @return [Boolean] # - # source://logger//lib/logger.rb#515 + # pkg:gem/logger#lib/logger.rb:515 def error?; end # Equivalent to calling #add with severity Logger::FATAL. # - # source://logger//lib/logger.rb#738 + # pkg:gem/logger#lib/logger.rb:738 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 + # pkg:gem/logger#lib/logger.rb:531 def fatal!; end # Returns +true+ if the log level allows entries with severity @@ -554,7 +554,7 @@ class Logger # # @return [Boolean] # - # source://logger//lib/logger.rb#526 + # pkg:gem/logger#lib/logger.rb:526 def fatal?; end # Sets or retrieves the logger entry formatter proc. @@ -588,7 +588,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 + # pkg:gem/logger#lib/logger.rb:473 def formatter; end # Sets or retrieves the logger entry formatter proc. @@ -622,18 +622,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 + # pkg:gem/logger#lib/logger.rb:473 def formatter=(_arg0); end # Equivalent to calling #add with severity Logger::INFO. # - # source://logger//lib/logger.rb#720 + # pkg:gem/logger#lib/logger.rb:720 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 + # pkg:gem/logger#lib/logger.rb:498 def info!; end # Returns +true+ if the log level allows entries with severity @@ -642,12 +642,12 @@ class Logger # # @return [Boolean] # - # source://logger//lib/logger.rb#493 + # pkg:gem/logger#lib/logger.rb:493 def info?; end # Logging severity threshold (e.g. Logger::INFO). # - # source://logger//lib/logger.rb#383 + # pkg:gem/logger#lib/logger.rb:383 def level; end # Sets the log level; returns +severity+. @@ -662,7 +662,7 @@ class Logger # # Logger#sev_threshold= is an alias for Logger#level=. # - # source://logger//lib/logger.rb#399 + # pkg:gem/logger#lib/logger.rb:399 def level=(severity); end # Creates a log entry, which may or may not be written to the log, @@ -692,17 +692,17 @@ class Logger # - #fatal. # - #unknown. # - # source://logger//lib/logger.rb#695 + # pkg:gem/logger#lib/logger.rb:695 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 + # pkg:gem/logger#lib/logger.rb:422 def progname; end # Program name to include in log messages. # - # source://logger//lib/logger.rb#422 + # pkg:gem/logger#lib/logger.rb:422 def progname=(_arg0); end # Sets the logger's output stream: @@ -728,12 +728,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#642 + # pkg:gem/logger#lib/logger.rb:642 def reopen(logdev = T.unsafe(nil), shift_age = T.unsafe(nil), shift_size = T.unsafe(nil), shift_period_suffix: T.unsafe(nil), binmode: T.unsafe(nil)); end # Logging severity threshold (e.g. Logger::INFO). # - # source://logger//lib/logger.rb#475 + # pkg:gem/logger#lib/logger.rb:475 def sev_threshold; end # Sets the log level; returns +severity+. @@ -748,23 +748,23 @@ class Logger # # Logger#sev_threshold= is an alias for Logger#level=. # - # source://logger//lib/logger.rb#476 + # pkg:gem/logger#lib/logger.rb:476 def sev_threshold=(severity); end # Equivalent to calling #add with severity Logger::UNKNOWN. # - # source://logger//lib/logger.rb#744 + # pkg:gem/logger#lib/logger.rb:744 def unknown(progname = T.unsafe(nil), &block); end # Equivalent to calling #add with severity Logger::WARN. # - # source://logger//lib/logger.rb#726 + # pkg:gem/logger#lib/logger.rb:726 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 + # pkg:gem/logger#lib/logger.rb:509 def warn!; end # Returns +true+ if the log level allows entries with severity @@ -773,7 +773,7 @@ class Logger # # @return [Boolean] # - # source://logger//lib/logger.rb#504 + # pkg:gem/logger#lib/logger.rb:504 def warn?; end # Adjust the log level during the block execution for the current Fiber only @@ -782,182 +782,182 @@ class Logger # logger.debug { "Hello" } # end # - # source://logger//lib/logger.rb#408 + # pkg:gem/logger#lib/logger.rb:408 def with_level(severity); end private - # source://logger//lib/logger.rb#786 + # pkg:gem/logger#lib/logger.rb:786 def format_message(severity, datetime, progname, msg); end - # source://logger//lib/logger.rb#764 + # pkg:gem/logger#lib/logger.rb:764 def format_severity(severity); end - # source://logger//lib/logger.rb#782 + # pkg:gem/logger#lib/logger.rb:782 def level_key; end # Guarantee the existence of this ivar even when subclasses don't call the superclass constructor. # - # source://logger//lib/logger.rb#769 + # pkg:gem/logger#lib/logger.rb:769 def level_override; end end # Default formatter for log messages. # -# source://logger//lib/logger/formatter.rb#5 +# pkg:gem/logger#lib/logger/formatter.rb:5 class Logger::Formatter # @return [Formatter] a new instance of Formatter # - # source://logger//lib/logger/formatter.rb#11 + # pkg:gem/logger#lib/logger/formatter.rb:11 def initialize; end - # source://logger//lib/logger/formatter.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/logger#lib/logger/formatter.rb:9 def datetime_format=(_arg0); end private - # source://logger//lib/logger/formatter.rb#21 + # pkg:gem/logger#lib/logger/formatter.rb:21 def format_datetime(time); end - # source://logger//lib/logger/formatter.rb#25 + # pkg:gem/logger#lib/logger/formatter.rb:25 def msg2str(msg); end end -# source://logger//lib/logger/formatter.rb#7 +# pkg:gem/logger#lib/logger/formatter.rb:7 Logger::Formatter::DatetimeFormat = T.let(T.unsafe(nil), String) -# source://logger//lib/logger/formatter.rb#6 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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), skip_header: T.unsafe(nil)); end - # source://logger//lib/logger/log_device.rb#38 + # pkg:gem/logger#lib/logger/log_device.rb:38 def close; end # Returns the value of attribute dev. # - # source://logger//lib/logger/log_device.rb#10 + # pkg:gem/logger#lib/logger/log_device.rb:10 def dev; end # Returns the value of attribute filename. # - # source://logger//lib/logger/log_device.rb#11 + # pkg:gem/logger#lib/logger/log_device.rb:11 def filename; end - # source://logger//lib/logger/log_device.rb#48 + # pkg:gem/logger#lib/logger/log_device.rb:48 def reopen(log = T.unsafe(nil), shift_age: T.unsafe(nil), shift_size: T.unsafe(nil), shift_period_suffix: T.unsafe(nil), binmode: T.unsafe(nil)); end - # source://logger//lib/logger/log_device.rb#27 + # pkg:gem/logger#lib/logger/log_device.rb:27 def write(message); end private - # source://logger//lib/logger/log_device.rb#156 + # pkg:gem/logger#lib/logger/log_device.rb:156 def add_log_header(file); end - # source://logger//lib/logger/log_device.rb#162 + # pkg:gem/logger#lib/logger/log_device.rb:162 def check_shift_log; end - # source://logger//lib/logger/log_device.rb#132 + # pkg:gem/logger#lib/logger/log_device.rb:132 def create_logfile(filename); end - # source://logger//lib/logger/log_device.rb#104 + # pkg:gem/logger#lib/logger/log_device.rb:104 def fixup_mode(dev); end - # source://logger//lib/logger/log_device.rb#148 + # pkg:gem/logger#lib/logger/log_device.rb:148 def handle_write_errors(mesg); end - # source://logger//lib/logger/log_device.rb#177 + # pkg:gem/logger#lib/logger/log_device.rb:177 def lock_shift_log; end - # source://logger//lib/logger/log_device.rb#119 + # pkg:gem/logger#lib/logger/log_device.rb:119 def open_logfile(filename); end - # source://logger//lib/logger/log_device.rb#78 + # pkg:gem/logger#lib/logger/log_device.rb:78 def set_dev(log); end - # source://logger//lib/logger/log_device.rb#92 + # pkg:gem/logger#lib/logger/log_device.rb:92 def set_file(shift_age, shift_size, shift_period_suffix); end - # source://logger//lib/logger/log_device.rb#207 + # pkg:gem/logger#lib/logger/log_device.rb:207 def shift_log_age; end - # source://logger//lib/logger/log_device.rb#232 + # pkg:gem/logger#lib/logger/log_device.rb:232 def shift_log_file(shifted); end - # source://logger//lib/logger/log_device.rb#216 + # pkg:gem/logger#lib/logger/log_device.rb:216 def shift_log_period(period_end); end end # :stopdoc: # -# source://logger//lib/logger/log_device.rb#69 +# pkg:gem/logger#lib/logger/log_device.rb:69 Logger::LogDevice::MODE = T.let(T.unsafe(nil), Integer) -# source://logger//lib/logger/log_device.rb#76 +# pkg:gem/logger#lib/logger/log_device.rb:76 Logger::LogDevice::MODE_TO_CREATE = T.let(T.unsafe(nil), Integer) -# source://logger//lib/logger/log_device.rb#72 +# pkg:gem/logger#lib/logger/log_device.rb:72 Logger::LogDevice::MODE_TO_OPEN = T.let(T.unsafe(nil), Integer) -# source://logger//lib/logger/period.rb#4 +# pkg:gem/logger#lib/logger/period.rb:4 module Logger::Period private - # source://logger//lib/logger/period.rb#9 + # pkg:gem/logger#lib/logger/period.rb:9 def next_rotate_time(now, shift_age); end - # source://logger//lib/logger/period.rb#31 + # pkg:gem/logger#lib/logger/period.rb:31 def previous_period_end(now, shift_age); end class << self - # source://logger//lib/logger/period.rb#9 + # pkg:gem/logger#lib/logger/period.rb:9 def next_rotate_time(now, shift_age); end - # source://logger//lib/logger/period.rb#31 + # pkg:gem/logger#lib/logger/period.rb:31 def previous_period_end(now, shift_age); end end end -# source://logger//lib/logger/period.rb#7 +# pkg:gem/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#762 +# pkg:gem/logger#lib/logger.rb:762 Logger::SEV_LABEL = T.let(T.unsafe(nil), Array) # Logging severity. # -# source://logger//lib/logger/severity.rb#5 +# pkg:gem/logger#lib/logger/severity.rb:5 module Logger::Severity class << self - # source://logger//lib/logger/severity.rb#29 + # pkg:gem/logger#lib/logger/severity.rb:29 def coerce(severity); end end end -# source://logger//lib/logger/severity.rb#19 +# pkg:gem/logger#lib/logger/severity.rb:19 Logger::Severity::LEVELS = T.let(T.unsafe(nil), Hash) diff --git a/sorbet/rbi/gems/loofah@2.25.0.rbi b/sorbet/rbi/gems/loofah@2.25.0.rbi index 4ff9aa2b2..4e09b0a06 100644 --- a/sorbet/rbi/gems/loofah@2.25.0.rbi +++ b/sorbet/rbi/gems/loofah@2.25.0.rbi @@ -32,155 +32,155 @@ # That IO object could be a file, or a socket, or a StringIO, or anything that responds to +read+ # and +close+. # -# source://loofah//lib/loofah.rb#5 +# pkg:gem/loofah#lib/loofah.rb:5 module Loofah class << self # Shortcut for Loofah::HTML4::Document.parse(*args, &block) # # This method accepts the same parameters as Nokogiri::HTML4::Document.parse # - # source://loofah//lib/loofah.rb#139 + # pkg:gem/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#140 + # pkg:gem/loofah#lib/loofah.rb:140 def fragment(*args, &block); end # Shortcut for Loofah::HTML4::Document.parse(*args, &block) # # This method accepts the same parameters as Nokogiri::HTML4::Document.parse # - # source://loofah//lib/loofah.rb#76 + # pkg:gem/loofah#lib/loofah.rb:76 def html4_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 + # pkg:gem/loofah#lib/loofah.rb:83 def html4_fragment(*args, &block); end - # source://loofah//lib/loofah.rb#101 + # pkg:gem/loofah#lib/loofah.rb:101 def html5_document(*args, &block); end - # source://loofah//lib/loofah.rb#108 + # pkg:gem/loofah#lib/loofah.rb:108 def html5_fragment(*args, &block); end # @return [Boolean] # - # source://loofah//lib/loofah.rb#7 + # pkg:gem/loofah#lib/loofah.rb:7 def html5_support?; end # A helper to remove extraneous whitespace from text-ified HTML # - # source://loofah//lib/loofah.rb#169 + # pkg:gem/loofah#lib/loofah.rb:169 def remove_extraneous_whitespace(string); end # Shortcut for Loofah::HTML4::Document.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#141 + # pkg:gem/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#142 + # pkg:gem/loofah#lib/loofah.rb:142 def scrub_fragment(string_or_io, method); end # Shortcut for Loofah::HTML4::Document.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#88 + # pkg:gem/loofah#lib/loofah.rb:88 def scrub_html4_document(string_or_io, method); end # Shortcut for Loofah::HTML4::DocumentFragment.parse(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#93 + # pkg:gem/loofah#lib/loofah.rb:93 def scrub_html4_fragment(string_or_io, method); end - # source://loofah//lib/loofah.rb#113 + # pkg:gem/loofah#lib/loofah.rb:113 def scrub_html5_document(string_or_io, method); end - # source://loofah//lib/loofah.rb#118 + # pkg:gem/loofah#lib/loofah.rb:118 def scrub_html5_fragment(string_or_io, method); end # Shortcut for Loofah.xml_document(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#164 + # pkg:gem/loofah#lib/loofah.rb:164 def scrub_xml_document(string_or_io, method); end # Shortcut for Loofah.xml_fragment(string_or_io).scrub!(method) # - # source://loofah//lib/loofah.rb#159 + # pkg:gem/loofah#lib/loofah.rb:159 def scrub_xml_fragment(string_or_io, method); end # Shortcut for Loofah::XML::Document.parse(*args, &block) # # This method accepts the same parameters as Nokogiri::XML::Document.parse # - # source://loofah//lib/loofah.rb#147 + # pkg:gem/loofah#lib/loofah.rb:147 def xml_document(*args, &block); end # Shortcut for Loofah::XML::DocumentFragment.parse(*args, &block) # # This method accepts the same parameters as Nokogiri::XML::DocumentFragment.parse # - # source://loofah//lib/loofah.rb#154 + # pkg:gem/loofah#lib/loofah.rb:154 def xml_fragment(*args, &block); end end end -# source://loofah//lib/loofah/concerns.rb#125 +# pkg:gem/loofah#lib/loofah/concerns.rb:125 module Loofah::DocumentDecorator - # source://loofah//lib/loofah/concerns.rb#126 + # pkg:gem/loofah#lib/loofah/concerns.rb:126 def initialize(*args, &block); end end -# source://loofah//lib/loofah/elements.rb#6 +# pkg:gem/loofah#lib/loofah/elements.rb:6 module Loofah::Elements; end -# source://loofah//lib/loofah/elements.rb#93 +# pkg:gem/loofah#lib/loofah/elements.rb:93 Loofah::Elements::BLOCK_LEVEL = T.let(T.unsafe(nil), Set) # Elements that aren't block but should generate a newline in #to_text # -# source://loofah//lib/loofah/elements.rb#90 +# pkg:gem/loofah#lib/loofah/elements.rb:90 Loofah::Elements::INLINE_LINE_BREAK = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/elements.rb#94 +# pkg:gem/loofah#lib/loofah/elements.rb:94 Loofah::Elements::LINEBREAKERS = T.let(T.unsafe(nil), Set) # The following elements may also be considered block-level # elements since they may contain block-level elements # -# source://loofah//lib/loofah/elements.rb#76 +# pkg:gem/loofah#lib/loofah/elements.rb:76 Loofah::Elements::LOOSE_BLOCK_LEVEL = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/elements.rb#92 +# pkg:gem/loofah#lib/loofah/elements.rb:92 Loofah::Elements::STRICT_BLOCK_LEVEL = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/elements.rb#7 +# pkg:gem/loofah#lib/loofah/elements.rb:7 Loofah::Elements::STRICT_BLOCK_LEVEL_HTML4 = T.let(T.unsafe(nil), Set) # https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements # -# source://loofah//lib/loofah/elements.rb#35 +# pkg:gem/loofah#lib/loofah/elements.rb:35 Loofah::Elements::STRICT_BLOCK_LEVEL_HTML5 = T.let(T.unsafe(nil), Set) # Alias for Loofah::HTML4 # -# source://loofah//lib/loofah.rb#70 +# pkg:gem/loofah#lib/loofah.rb:70 Loofah::HTML = Loofah::HTML4 -# source://loofah//lib/loofah/html4/document.rb#4 +# pkg:gem/loofah#lib/loofah/html4/document.rb:4 module Loofah::HTML4; end # Subclass of Nokogiri::HTML4::Document. # # See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods. # -# source://loofah//lib/loofah/html4/document.rb#10 +# pkg:gem/loofah#lib/loofah/html4/document.rb:10 class Loofah::HTML4::Document < ::Nokogiri::HTML4::Document include ::Loofah::ScrubBehavior::Node include ::Loofah::DocumentDecorator @@ -193,21 +193,21 @@ end # # See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods. # -# source://loofah//lib/loofah/html4/document_fragment.rb#10 +# pkg:gem/loofah#lib/loofah/html4/document_fragment.rb:10 class Loofah::HTML4::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment include ::Loofah::TextBehavior include ::Loofah::HtmlFragmentBehavior extend ::Loofah::HtmlFragmentBehavior::ClassMethods end -# source://loofah//lib/loofah/html5/safelist.rb#6 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:6 module Loofah::HTML5; end # Subclass of Nokogiri::HTML5::Document. # # See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods. # -# source://loofah//lib/loofah/html5/document.rb#10 +# pkg:gem/loofah#lib/loofah/html5/document.rb:10 class Loofah::HTML5::Document < ::Nokogiri::HTML5::Document include ::Loofah::ScrubBehavior::Node include ::Loofah::DocumentDecorator @@ -220,129 +220,129 @@ end # # See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods. # -# source://loofah//lib/loofah/html5/document_fragment.rb#10 +# pkg:gem/loofah#lib/loofah/html5/document_fragment.rb:10 class Loofah::HTML5::DocumentFragment < ::Nokogiri::HTML5::DocumentFragment include ::Loofah::TextBehavior include ::Loofah::HtmlFragmentBehavior extend ::Loofah::HtmlFragmentBehavior::ClassMethods end -# source://loofah//lib/loofah/html5/safelist.rb#49 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:49 module Loofah::HTML5::SafeList; end -# source://loofah//lib/loofah/html5/safelist.rb#232 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:232 Loofah::HTML5::SafeList::ACCEPTABLE_ATTRIBUTES = T.let(T.unsafe(nil), Set) # https://www.w3.org/TR/css-color-3/#html4 # -# source://loofah//lib/loofah/html5/safelist.rb#738 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:738 Loofah::HTML5::SafeList::ACCEPTABLE_CSS_COLORS = T.let(T.unsafe(nil), Set) # https://www.w3.org/TR/css-color-3/#svg-color # -# source://loofah//lib/loofah/html5/safelist.rb#758 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:758 Loofah::HTML5::SafeList::ACCEPTABLE_CSS_EXTENDED_COLORS = T.let(T.unsafe(nil), Set) # see https://www.quackit.com/css/functions/ # omit `url` and `image` from that list # -# source://loofah//lib/loofah/html5/safelist.rb#910 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:910 Loofah::HTML5::SafeList::ACCEPTABLE_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#699 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:699 Loofah::HTML5::SafeList::ACCEPTABLE_CSS_KEYWORDS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#626 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:626 Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#50 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:50 Loofah::HTML5::SafeList::ACCEPTABLE_ELEMENTS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#983 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:983 Loofah::HTML5::SafeList::ACCEPTABLE_PROTOCOLS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#970 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:970 Loofah::HTML5::SafeList::ACCEPTABLE_SVG_PROPERTIES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1014 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1014 Loofah::HTML5::SafeList::ACCEPTABLE_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1024 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1024 Loofah::HTML5::SafeList::ALLOWED_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1027 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1027 Loofah::HTML5::SafeList::ALLOWED_CSS_FUNCTIONS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1026 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1026 Loofah::HTML5::SafeList::ALLOWED_CSS_KEYWORDS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1025 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1025 Loofah::HTML5::SafeList::ALLOWED_CSS_PROPERTIES = T.let(T.unsafe(nil), Set) # subclasses may define their own versions of these constants # -# source://loofah//lib/loofah/html5/safelist.rb#1023 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1023 Loofah::HTML5::SafeList::ALLOWED_ELEMENTS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1048 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1048 Loofah::HTML5::SafeList::ALLOWED_ELEMENTS_WITH_LIBXML2 = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1029 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1029 Loofah::HTML5::SafeList::ALLOWED_PROTOCOLS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1028 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1028 Loofah::HTML5::SafeList::ALLOWED_SVG_PROPERTIES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#1030 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1030 Loofah::HTML5::SafeList::ALLOWED_URI_DATA_MEDIATYPES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#526 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:526 Loofah::HTML5::SafeList::ARIA_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#582 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:582 Loofah::HTML5::SafeList::ATTR_VAL_IS_URI = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#315 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:315 Loofah::HTML5::SafeList::MATHML_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#147 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:147 Loofah::HTML5::SafeList::MATHML_ELEMENTS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#981 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:981 Loofah::HTML5::SafeList::PROTOCOL_SEPARATOR = T.let(T.unsafe(nil), Regexp) -# source://loofah//lib/loofah/html5/safelist.rb#963 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:963 Loofah::HTML5::SafeList::SHORTHAND_CSS_PROPERTIES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#608 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:608 Loofah::HTML5::SafeList::SVG_ALLOW_LOCAL_HREF = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#367 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:367 Loofah::HTML5::SafeList::SVG_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#594 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:594 Loofah::HTML5::SafeList::SVG_ATTR_VAL_ALLOWS_REF = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/safelist.rb#183 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:183 Loofah::HTML5::SafeList::SVG_ELEMENTS = T.let(T.unsafe(nil), Set) # additional tags we should consider safe since we have libxml2 fixing up our documents. # -# source://loofah//lib/loofah/html5/safelist.rb#1043 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1043 Loofah::HTML5::SafeList::TAGS_SAFE_WITH_LIBXML2 = T.let(T.unsafe(nil), Set) # TODO: remove VOID_ELEMENTS in a future major release # and put it in the tests (it is used only for testing, not for functional behavior) # -# source://loofah//lib/loofah/html5/safelist.rb#1034 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1034 Loofah::HTML5::SafeList::VOID_ELEMENTS = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/scrub.rb#9 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:9 module Loofah::HTML5::Scrub class << self # @return [Boolean] # - # source://loofah//lib/loofah/html5/scrub.rb#20 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:20 def allowed_element?(element_name); end # Returns true if the given URI string is safe, false otherwise. @@ -351,93 +351,93 @@ module Loofah::HTML5::Scrub # # @return [Boolean] # - # source://loofah//lib/loofah/html5/scrub.rb#147 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:147 def allowed_uri?(uri_string); end - # source://loofah//lib/loofah/html5/scrub.rb#204 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:204 def cdata_escape(node); end # @return [Boolean] # - # source://loofah//lib/loofah/html5/scrub.rb#199 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:199 def cdata_needs_escaping?(node); end - # source://loofah//lib/loofah/html5/scrub.rb#219 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:219 def escape_tags(string); end # libxml2 >= 2.9.2 fails to escape comments within some attributes. # # see comments about CVE-2018-8048 within the tests for more information # - # source://loofah//lib/loofah/html5/scrub.rb#178 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:178 def force_correct_attribute_escaping!(node); end - # source://loofah//lib/loofah/html5/scrub.rb#125 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:125 def scrub_attribute_that_allows_local_ref(attr_node); end # alternative implementation of the html5lib attribute scrubbing algorithm # - # source://loofah//lib/loofah/html5/scrub.rb#25 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:25 def scrub_attributes(node); end - # source://loofah//lib/loofah/html5/scrub.rb#74 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:74 def scrub_css(style); end - # source://loofah//lib/loofah/html5/scrub.rb#69 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:69 def scrub_css_attribute(node); end - # source://loofah//lib/loofah/html5/scrub.rb#164 + # pkg:gem/loofah#lib/loofah/html5/scrub.rb:164 def scrub_uri_attribute(attr_node); end end end -# source://loofah//lib/loofah/html5/scrub.rb#10 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:10 Loofah::HTML5::Scrub::CONTROL_CHARACTERS = T.let(T.unsafe(nil), Regexp) -# source://loofah//lib/loofah/html5/scrub.rb#12 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:12 Loofah::HTML5::Scrub::CRASS_SEMICOLON = T.let(T.unsafe(nil), Hash) -# source://loofah//lib/loofah/html5/scrub.rb#13 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:13 Loofah::HTML5::Scrub::CSS_IMPORTANT = T.let(T.unsafe(nil), String) -# source://loofah//lib/loofah/html5/scrub.rb#11 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:11 Loofah::HTML5::Scrub::CSS_KEYWORDISH = T.let(T.unsafe(nil), Regexp) -# source://loofah//lib/loofah/html5/scrub.rb#15 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:15 Loofah::HTML5::Scrub::CSS_PROPERTY_STRING_WITHOUT_EMBEDDED_QUOTES = T.let(T.unsafe(nil), Regexp) -# source://loofah//lib/loofah/html5/scrub.rb#14 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:14 Loofah::HTML5::Scrub::CSS_WHITESPACE = T.let(T.unsafe(nil), String) -# source://loofah//lib/loofah/html5/scrub.rb#16 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:16 Loofah::HTML5::Scrub::DATA_ATTRIBUTE_NAME = T.let(T.unsafe(nil), Regexp) # RFC 3986 # -# source://loofah//lib/loofah/html5/scrub.rb#17 +# pkg:gem/loofah#lib/loofah/html5/scrub.rb:17 Loofah::HTML5::Scrub::URI_PROTOCOL_REGEX = T.let(T.unsafe(nil), Regexp) -# source://loofah//lib/loofah/html5/safelist.rb#1051 +# pkg:gem/loofah#lib/loofah/html5/safelist.rb:1051 Loofah::HTML5::WhiteList = Loofah::HTML5::SafeList -# source://loofah//lib/loofah/concerns.rb#133 +# pkg:gem/loofah#lib/loofah/concerns.rb:133 module Loofah::HtmlDocumentBehavior mixes_in_class_methods ::Loofah::HtmlDocumentBehavior::ClassMethods - # source://loofah//lib/loofah/concerns.rb#164 + # pkg:gem/loofah#lib/loofah/concerns.rb:164 def serialize_root; end class << self # @private # - # source://loofah//lib/loofah/concerns.rb#159 + # pkg:gem/loofah#lib/loofah/concerns.rb:159 def included(base); end end end -# source://loofah//lib/loofah/concerns.rb#134 +# pkg:gem/loofah#lib/loofah/concerns.rb:134 module Loofah::HtmlDocumentBehavior::ClassMethods - # source://loofah//lib/loofah/concerns.rb#135 + # pkg:gem/loofah#lib/loofah/concerns.rb:135 def parse(*args, &block); end private @@ -452,37 +452,37 @@ module Loofah::HtmlDocumentBehavior::ClassMethods # the contract that scrubbers expect of a node (e.g., it can be # replaced, sibling and children nodes can be created). # - # source://loofah//lib/loofah/concerns.rb#150 + # pkg:gem/loofah#lib/loofah/concerns.rb:150 def remove_comments_before_html_element(doc); end end -# source://loofah//lib/loofah/concerns.rb#169 +# pkg:gem/loofah#lib/loofah/concerns.rb:169 module Loofah::HtmlFragmentBehavior mixes_in_class_methods ::Loofah::HtmlFragmentBehavior::ClassMethods - # source://loofah//lib/loofah/concerns.rb#201 + # pkg:gem/loofah#lib/loofah/concerns.rb:201 def serialize; end - # source://loofah//lib/loofah/concerns.rb#203 + # pkg:gem/loofah#lib/loofah/concerns.rb:203 def serialize_root; end - # source://loofah//lib/loofah/concerns.rb#197 + # pkg:gem/loofah#lib/loofah/concerns.rb:197 def to_s; end class << self # @private # - # source://loofah//lib/loofah/concerns.rb#192 + # pkg:gem/loofah#lib/loofah/concerns.rb:192 def included(base); end end end -# source://loofah//lib/loofah/concerns.rb#170 +# pkg:gem/loofah#lib/loofah/concerns.rb:170 module Loofah::HtmlFragmentBehavior::ClassMethods - # source://loofah//lib/loofah/concerns.rb#180 + # pkg:gem/loofah#lib/loofah/concerns.rb:180 def document_klass; end - # source://loofah//lib/loofah/concerns.rb#171 + # pkg:gem/loofah#lib/loofah/concerns.rb:171 def parse(tags, encoding = T.unsafe(nil)); end end @@ -490,7 +490,7 @@ end # # ಠ_ಠ # -# source://loofah//lib/loofah/html5/libxml2_workarounds.rb#12 +# pkg:gem/loofah#lib/loofah/html5/libxml2_workarounds.rb:12 module Loofah::LibxmlWorkarounds; end # these attributes and qualifying parent tags are determined by the code at: @@ -499,16 +499,16 @@ module Loofah::LibxmlWorkarounds; end # # see comments about CVE-2018-8048 within the tests for more information # -# source://loofah//lib/loofah/html5/libxml2_workarounds.rb#20 +# pkg:gem/loofah#lib/loofah/html5/libxml2_workarounds.rb:20 Loofah::LibxmlWorkarounds::BROKEN_ESCAPING_ATTRIBUTES = T.let(T.unsafe(nil), Set) -# source://loofah//lib/loofah/html5/libxml2_workarounds.rb#26 +# pkg:gem/loofah#lib/loofah/html5/libxml2_workarounds.rb:26 Loofah::LibxmlWorkarounds::BROKEN_ESCAPING_ATTRIBUTES_QUALIFYING_TAG = T.let(T.unsafe(nil), Hash) -# source://loofah//lib/loofah/metahelpers.rb#4 +# pkg:gem/loofah#lib/loofah/metahelpers.rb:4 module Loofah::MetaHelpers class << self - # source://loofah//lib/loofah/metahelpers.rb#6 + # pkg:gem/loofah#lib/loofah/metahelpers.rb:6 def add_downcased_set_members_to_all_set_constants(mojule); end end end @@ -538,23 +538,23 @@ end # Please see Scrubber for more information on implementation and traversal, and README.rdoc for # more example usage. # -# source://loofah//lib/loofah/concerns.rb#30 +# pkg:gem/loofah#lib/loofah/concerns.rb:30 module Loofah::ScrubBehavior class << self - # source://loofah//lib/loofah/concerns.rb#59 + # pkg:gem/loofah#lib/loofah/concerns.rb:59 def resolve_scrubber(scrubber); end end end -# source://loofah//lib/loofah/concerns.rb#31 +# pkg:gem/loofah#lib/loofah/concerns.rb:31 module Loofah::ScrubBehavior::Node - # source://loofah//lib/loofah/concerns.rb#32 + # pkg:gem/loofah#lib/loofah/concerns.rb:32 def scrub!(scrubber); end end -# source://loofah//lib/loofah/concerns.rb#51 +# pkg:gem/loofah#lib/loofah/concerns.rb:51 module Loofah::ScrubBehavior::NodeSet - # source://loofah//lib/loofah/concerns.rb#52 + # pkg:gem/loofah#lib/loofah/concerns.rb:52 def scrub!(scrubber); end end @@ -583,7 +583,7 @@ end # default) or bottom-up. Top-down scrubbers can optionally return # Scrubber::STOP to terminate the traversal of a subtree. # -# source://loofah//lib/loofah/scrubber.rb#35 +# pkg:gem/loofah#lib/loofah/scrubber.rb:35 class Loofah::Scrubber # Options may include # :direction => :top_down (the default) @@ -600,26 +600,26 @@ class Loofah::Scrubber # # @return [Scrubber] a new instance of Scrubber # - # source://loofah//lib/loofah/scrubber.rb#65 + # pkg:gem/loofah#lib/loofah/scrubber.rb:65 def initialize(options = T.unsafe(nil), &block); end # If the attribute is not set, add it # If the attribute is set, don't overwrite the existing value # - # source://loofah//lib/loofah/scrubber.rb#96 + # pkg:gem/loofah#lib/loofah/scrubber.rb:96 def append_attribute(node, attribute, value); end # When a scrubber is initialized, the optional block is saved as # :block. Note that, if no block is passed, then the +scrub+ # method is assumed to have been implemented. # - # source://loofah//lib/loofah/scrubber.rb#49 + # pkg:gem/loofah#lib/loofah/scrubber.rb:49 def block; end # When a scrubber is initialized, the :direction may be specified # as :top_down (the default) or :bottom_up. # - # source://loofah//lib/loofah/scrubber.rb#44 + # pkg:gem/loofah#lib/loofah/scrubber.rb:44 def direction; end # When +new+ is not passed a block, the class may implement @@ -627,41 +627,41 @@ class Loofah::Scrubber # # @raise [ScrubberNotFound] # - # source://loofah//lib/loofah/scrubber.rb#88 + # pkg:gem/loofah#lib/loofah/scrubber.rb:88 def scrub(node); end # Calling +traverse+ will cause the document to be traversed by # either the lambda passed to the initializer or the +scrub+ # method, in the direction specified at +new+ time. # - # source://loofah//lib/loofah/scrubber.rb#80 + # pkg:gem/loofah#lib/loofah/scrubber.rb:80 def traverse(node); end private - # source://loofah//lib/loofah/scrubber.rb#105 + # pkg:gem/loofah#lib/loofah/scrubber.rb:105 def html5lib_sanitize(node); end - # source://loofah//lib/loofah/scrubber.rb#131 + # pkg:gem/loofah#lib/loofah/scrubber.rb:131 def traverse_conditionally_bottom_up(node); end - # source://loofah//lib/loofah/scrubber.rb#122 + # pkg:gem/loofah#lib/loofah/scrubber.rb:122 def traverse_conditionally_top_down(node); end end # Top-down Scrubbers may return CONTINUE to indicate that the subtree should be traversed. # -# source://loofah//lib/loofah/scrubber.rb#37 +# pkg:gem/loofah#lib/loofah/scrubber.rb:37 Loofah::Scrubber::CONTINUE = T.let(T.unsafe(nil), Object) # Top-down Scrubbers may return STOP to indicate that the subtree should not be traversed. # -# source://loofah//lib/loofah/scrubber.rb#40 +# pkg:gem/loofah#lib/loofah/scrubber.rb:40 Loofah::Scrubber::STOP = T.let(T.unsafe(nil), Object) # A RuntimeError raised when Loofah could not find an appropriate scrubber. # -# source://loofah//lib/loofah/scrubber.rb#7 +# pkg:gem/loofah#lib/loofah/scrubber.rb:7 class Loofah::ScrubberNotFound < ::RuntimeError; end # Loofah provides some built-in scrubbers for sanitizing with @@ -763,12 +763,12 @@ class Loofah::ScrubberNotFound < ::RuntimeError; end # # http://timelessrepo.com/json-isnt-a-javascript-subset # -# source://loofah//lib/loofah/scrubbers.rb#104 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:104 module Loofah::Scrubbers class << self # Returns an array of symbols representing the built-in scrubbers # - # source://loofah//lib/loofah/scrubbers.rb#425 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:425 def scrubber_symbols; end end end @@ -781,19 +781,19 @@ end # Loofah.html5_fragment(markup).scrub!(:double_breakpoint) # => "

Some text here in a logical paragraph.

Some more text, apparently a second paragraph.

" # -# source://loofah//lib/loofah/scrubbers.rb#362 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:362 class Loofah::Scrubbers::DoubleBreakpoint < ::Loofah::Scrubber # @return [DoubleBreakpoint] a new instance of DoubleBreakpoint # - # source://loofah//lib/loofah/scrubbers.rb#363 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:363 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#367 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:367 def scrub(node); end private - # source://loofah//lib/loofah/scrubbers.rb#400 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:400 def remove_blank_text_nodes(node); end end @@ -805,32 +805,32 @@ end # Loofah.html5_fragment(unsafe_html).scrub!(:escape) # => "ohai!
div is safe
<foo>but foo is <b>not</b></foo>" # -# source://loofah//lib/loofah/scrubbers.rb#159 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:159 class Loofah::Scrubbers::Escape < ::Loofah::Scrubber # @return [Escape] a new instance of Escape # - # source://loofah//lib/loofah/scrubbers.rb#160 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:160 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#164 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:164 def scrub(node); end end # A hash that maps a symbol (like +:prune+) to the appropriate Scrubber (Loofah::Scrubbers::Prune). # -# source://loofah//lib/loofah/scrubbers.rb#407 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:407 Loofah::Scrubbers::MAP = T.let(T.unsafe(nil), Hash) # This class probably isn't useful publicly, but is used for #to_text's current implemention # -# source://loofah//lib/loofah/scrubbers.rb#307 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:307 class Loofah::Scrubbers::NewlineBlockElements < ::Loofah::Scrubber # @return [NewlineBlockElements] a new instance of NewlineBlockElements # - # source://loofah//lib/loofah/scrubbers.rb#308 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:308 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#312 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:312 def scrub(node); end end @@ -842,14 +842,14 @@ end # Loofah.html5_fragment(link_farmers_markup).scrub!(:nofollow) # => "ohai! I like your blog post" # -# source://loofah//lib/loofah/scrubbers.rb#220 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:220 class Loofah::Scrubbers::NoFollow < ::Loofah::Scrubber # @return [NoFollow] a new instance of NoFollow # - # source://loofah//lib/loofah/scrubbers.rb#221 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:221 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#225 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:225 def scrub(node); end end @@ -861,14 +861,14 @@ end # Loofah.html5_fragment(link_farmers_markup).scrub!(:noopener) # => "ohai! I like your blog post" # -# source://loofah//lib/loofah/scrubbers.rb#271 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:271 class Loofah::Scrubbers::NoOpener < ::Loofah::Scrubber # @return [NoOpener] a new instance of NoOpener # - # source://loofah//lib/loofah/scrubbers.rb#272 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:272 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#276 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:276 def scrub(node); end end @@ -880,14 +880,14 @@ end # Loofah.html5_fragment(link_farmers_markup).scrub!(:noreferrer) # => "ohai! I like your blog post" # -# source://loofah//lib/loofah/scrubbers.rb#293 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:293 class Loofah::Scrubbers::NoReferrer < ::Loofah::Scrubber # @return [NoReferrer] a new instance of NoReferrer # - # source://loofah//lib/loofah/scrubbers.rb#294 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:294 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#298 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:298 def scrub(node); end end @@ -899,14 +899,14 @@ end # Loofah.html5_fragment(unsafe_html).scrub!(:prune) # => "ohai!
div is safe
" # -# source://loofah//lib/loofah/scrubbers.rb#137 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:137 class Loofah::Scrubbers::Prune < ::Loofah::Scrubber # @return [Prune] a new instance of Prune # - # source://loofah//lib/loofah/scrubbers.rb#138 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:138 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#142 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:142 def scrub(node); end end @@ -918,14 +918,14 @@ end # Loofah.html5_fragment(unsafe_html).scrub!(:strip) # => "ohai!
div is safe
but foo is not" # -# source://loofah//lib/loofah/scrubbers.rb#114 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:114 class Loofah::Scrubbers::Strip < ::Loofah::Scrubber # @return [Strip] a new instance of Strip # - # source://loofah//lib/loofah/scrubbers.rb#115 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:115 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#119 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:119 def scrub(node); end end @@ -941,14 +941,14 @@ end # On modern browsers, setting target="_blank" on anchor elements implicitly provides the same # behavior as setting rel="noopener". # -# source://loofah//lib/loofah/scrubbers.rb#246 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:246 class Loofah::Scrubbers::TargetBlank < ::Loofah::Scrubber # @return [TargetBlank] a new instance of TargetBlank # - # source://loofah//lib/loofah/scrubbers.rb#247 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:247 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#251 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:251 def scrub(node); end end @@ -966,14 +966,14 @@ end # # http://timelessrepo.com/json-isnt-a-javascript-subset # -# source://loofah//lib/loofah/scrubbers.rb#340 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:340 class Loofah::Scrubbers::Unprintable < ::Loofah::Scrubber # @return [Unprintable] a new instance of Unprintable # - # source://loofah//lib/loofah/scrubbers.rb#341 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:341 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#345 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:345 def scrub(node); end end @@ -994,20 +994,20 @@ end # all kinds of cruft into its HTML output. Who needs that crap? # Certainly not me. # -# source://loofah//lib/loofah/scrubbers.rb#191 +# pkg:gem/loofah#lib/loofah/scrubbers.rb:191 class Loofah::Scrubbers::Whitewash < ::Loofah::Scrubber # @return [Whitewash] a new instance of Whitewash # - # source://loofah//lib/loofah/scrubbers.rb#192 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:192 def initialize; end - # source://loofah//lib/loofah/scrubbers.rb#196 + # pkg:gem/loofah#lib/loofah/scrubbers.rb:196 def scrub(node); end end # Overrides +text+ in Document and DocumentFragment classes, and mixes in +to_text+. # -# source://loofah//lib/loofah/concerns.rb#73 +# pkg:gem/loofah#lib/loofah/concerns.rb:73 module Loofah::TextBehavior # Returns a plain-text version of the markup contained by the document, with HTML entities # encoded. @@ -1028,7 +1028,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#107 + # pkg:gem/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 @@ -1050,7 +1050,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#94 + # pkg:gem/loofah#lib/loofah/concerns.rb:94 def text(options = T.unsafe(nil)); end # Returns a plain-text version of the markup contained by the document, with HTML entities @@ -1072,7 +1072,7 @@ module Loofah::TextBehavior # # decidedly not ok for browser: # frag.text(:encode_special_chars => false) # => "" # - # source://loofah//lib/loofah/concerns.rb#108 + # pkg:gem/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 @@ -1084,23 +1084,23 @@ module Loofah::TextBehavior # Loofah.html5_document("

Title

Content
Next line
").to_text # # => "\nTitle\n\nContent\nNext line\n" # - # source://loofah//lib/loofah/concerns.rb#120 + # pkg:gem/loofah#lib/loofah/concerns.rb:120 def to_text(options = T.unsafe(nil)); end end # The version of Loofah you are using # -# source://loofah//lib/loofah/version.rb#5 +# pkg:gem/loofah#lib/loofah/version.rb:5 Loofah::VERSION = T.let(T.unsafe(nil), String) -# source://loofah//lib/loofah/xml/document.rb#4 +# pkg:gem/loofah#lib/loofah/xml/document.rb:4 module Loofah::XML; end # Subclass of Nokogiri::XML::Document. # # See Loofah::ScrubBehavior and Loofah::DocumentDecorator for additional methods. # -# source://loofah//lib/loofah/xml/document.rb#10 +# pkg:gem/loofah#lib/loofah/xml/document.rb:10 class Loofah::XML::Document < ::Nokogiri::XML::Document include ::Loofah::ScrubBehavior::Node include ::Loofah::DocumentDecorator @@ -1110,10 +1110,10 @@ end # # See Loofah::ScrubBehavior for additional methods. # -# source://loofah//lib/loofah/xml/document_fragment.rb#10 +# pkg:gem/loofah#lib/loofah/xml/document_fragment.rb:10 class Loofah::XML::DocumentFragment < ::Nokogiri::XML::DocumentFragment class << self - # source://loofah//lib/loofah/xml/document_fragment.rb#12 + # pkg:gem/loofah#lib/loofah/xml/document_fragment.rb:12 def parse(tags); end end end diff --git a/sorbet/rbi/gems/mail@2.8.1.rbi b/sorbet/rbi/gems/mail@2.8.1.rbi index 30657af80..3eeb2e14a 100644 --- a/sorbet/rbi/gems/mail@2.8.1.rbi +++ b/sorbet/rbi/gems/mail@2.8.1.rbi @@ -5,16 +5,16 @@ # Please instead update this file by running `bin/tapioca gem mail`. -# source://mail//lib/mail.rb#3 +# pkg:gem/mail#lib/mail.rb:3 module Mail class << self # Receive all emails from the default retriever # See Mail::Retriever for a complete documentation. # - # source://mail//lib/mail/mail.rb#163 + # pkg:gem/mail#lib/mail/mail.rb:163 def all(*args, &block); end - # source://mail//lib/mail/mail.rb#183 + # pkg:gem/mail#lib/mail/mail.rb:183 def connection(&block); end # Sets the default delivery method and retriever method for all new Mail objects. @@ -62,13 +62,13 @@ module Mail # # mail.delivery_method :smtp, :address => 'some.host' # - # source://mail//lib/mail/mail.rb#98 + # pkg:gem/mail#lib/mail/mail.rb:98 def defaults(&block); end # Delete all emails from the default retriever # See Mail::Retriever for a complete documentation. # - # source://mail//lib/mail/mail.rb#174 + # pkg:gem/mail#lib/mail/mail.rb:174 def delete_all(*args, &block); end # Send an email using the default configuration. You do need to set a default @@ -91,12 +91,12 @@ module Mail # # And your email object will be created and sent. # - # source://mail//lib/mail/mail.rb#131 + # pkg:gem/mail#lib/mail/mail.rb:131 def deliver(*args, &block); end # Returns the delivery method selected, defaults to an instance of Mail::SMTP # - # source://mail//lib/mail/mail.rb#103 + # pkg:gem/mail#lib/mail/mail.rb:103 def delivery_method; end # This runs through the autoload list and explictly requires them for you. @@ -107,37 +107,37 @@ module Mail # require 'mail' # Mail.eager_autoload! # - # source://mail//lib/mail.rb#35 + # pkg:gem/mail#lib/mail.rb:35 def eager_autoload!; end # Find emails from the default retriever # See Mail::Retriever for a complete documentation. # - # source://mail//lib/mail/mail.rb#139 + # pkg:gem/mail#lib/mail/mail.rb:139 def find(*args, &block); end # Finds and then deletes retrieved emails from the default retriever # See Mail::Retriever for a complete documentation. # - # source://mail//lib/mail/mail.rb#145 + # pkg:gem/mail#lib/mail/mail.rb:145 def find_and_delete(*args, &block); end # Receive the first email(s) from the default retriever # See Mail::Retriever for a complete documentation. # - # source://mail//lib/mail/mail.rb#151 + # pkg:gem/mail#lib/mail/mail.rb:151 def first(*args, &block); end - # source://mail//lib/mail/mail.rb#233 + # pkg:gem/mail#lib/mail/mail.rb:233 def inform_interceptors(mail); end - # source://mail//lib/mail/mail.rb#227 + # pkg:gem/mail#lib/mail/mail.rb:227 def inform_observers(mail); end # Receive the first email(s) from the default retriever # See Mail::Retriever for a complete documentation. # - # source://mail//lib/mail/mail.rb#157 + # pkg:gem/mail#lib/mail/mail.rb:157 def last(*args, &block); end # Allows you to create a new Mail::Message object. @@ -186,23 +186,23 @@ module Mail # mail['subject'] = 'This is an email' # mail.body = 'This is the body' # - # source://mail//lib/mail/mail.rb#50 + # pkg:gem/mail#lib/mail/mail.rb:50 def new(*args, &block); end - # source://mail//lib/mail/mail.rb#243 + # pkg:gem/mail#lib/mail/mail.rb:243 def random_tag; end # Reads in an email message from a path and instantiates it as a new Mail::Message # - # source://mail//lib/mail/mail.rb#168 + # pkg:gem/mail#lib/mail/mail.rb:168 def read(filename); end # Instantiates a new Mail::Message using a string # - # source://mail//lib/mail/mail.rb#179 + # pkg:gem/mail#lib/mail/mail.rb:179 def read_from_string(mail_as_string); end - # source://mail//lib/mail.rb#23 + # pkg:gem/mail#lib/mail.rb:23 def register_autoload(name, path); end # You can register an object to be given every mail object that will be sent, @@ -213,7 +213,7 @@ module Mail # which receives the email that is about to be sent. Make your modifications # directly to this object. # - # source://mail//lib/mail/mail.rb#215 + # pkg:gem/mail#lib/mail/mail.rb:215 def register_interceptor(interceptor); end # You can register an object to be informed of every email that is sent through @@ -222,30 +222,30 @@ module Mail # Your object needs to respond to a single method #delivered_email(mail) # which receives the email that is sent. # - # source://mail//lib/mail/mail.rb#196 + # pkg:gem/mail#lib/mail/mail.rb:196 def register_observer(observer); end # Returns the retriever method selected, defaults to an instance of Mail::POP3 # - # source://mail//lib/mail/mail.rb#108 + # pkg:gem/mail#lib/mail/mail.rb:108 def retriever_method; end - # source://mail//lib/mail/mail.rb#252 + # pkg:gem/mail#lib/mail/mail.rb:252 def something_random; end - # source://mail//lib/mail/mail.rb#256 + # pkg:gem/mail#lib/mail/mail.rb:256 def uniq; end # Unregister the given interceptor, allowing mail to resume operations # without it. # - # source://mail//lib/mail/mail.rb#223 + # pkg:gem/mail#lib/mail/mail.rb:223 def unregister_interceptor(interceptor); end # Unregister the given observer, allowing mail to resume operations # without it. # - # source://mail//lib/mail/mail.rb#204 + # pkg:gem/mail#lib/mail/mail.rb:204 def unregister_observer(observer); end end end @@ -267,11 +267,11 @@ end # a.comments #=> ['My email address'] # a.to_s #=> 'Mikel Lindsaar (My email address)' # -# source://mail//lib/mail/elements/address.rb#24 +# pkg:gem/mail#lib/mail/elements/address.rb:24 class Mail::Address # @return [Address] a new instance of Address # - # source://mail//lib/mail/elements/address.rb#25 + # pkg:gem/mail#lib/mail/elements/address.rb:25 def initialize(value = T.unsafe(nil)); end # Returns the address that is in the address itself. That is, the @@ -280,7 +280,7 @@ class Mail::Address # a = Address.new('Mikel Lindsaar (My email address) ') # a.address #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/elements/address.rb#65 + # pkg:gem/mail#lib/mail/elements/address.rb:65 def address(output_type = T.unsafe(nil)); end # Provides a way to assign an address to an already made Mail::Address object. @@ -289,7 +289,7 @@ class Mail::Address # a.address = 'Mikel Lindsaar (My email address) ' # a.address #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/elements/address.rb#79 + # pkg:gem/mail#lib/mail/elements/address.rb:79 def address=(value); end # Returns an array of comments that are in the email, or nil if there @@ -301,10 +301,10 @@ class Mail::Address # b = Address.new('Mikel Lindsaar ') # b.comments #=> nil # - # source://mail//lib/mail/elements/address.rb#132 + # pkg:gem/mail#lib/mail/elements/address.rb:132 def comments; end - # source://mail//lib/mail/elements/address.rb#173 + # pkg:gem/mail#lib/mail/elements/address.rb:173 def decoded; end # Returns the display name of the email address passed in. @@ -312,7 +312,7 @@ class Mail::Address # a = Address.new('Mikel Lindsaar (My email address) ') # a.display_name #=> 'Mikel Lindsaar' # - # source://mail//lib/mail/elements/address.rb#87 + # pkg:gem/mail#lib/mail/elements/address.rb:87 def display_name(output_type = T.unsafe(nil)); end # Provides a way to assign a display name to an already made Mail::Address object. @@ -322,7 +322,7 @@ class Mail::Address # a.display_name = 'Mikel Lindsaar' # a.format #=> 'Mikel Lindsaar ' # - # source://mail//lib/mail/elements/address.rb#99 + # pkg:gem/mail#lib/mail/elements/address.rb:99 def display_name=(str); end # Returns the domain part (the right hand side of the @ sign in the email address) of @@ -331,10 +331,10 @@ class Mail::Address # a = Address.new('Mikel Lindsaar (My email address) ') # a.domain #=> 'test.lindsaar.net' # - # source://mail//lib/mail/elements/address.rb#118 + # pkg:gem/mail#lib/mail/elements/address.rb:118 def domain(output_type = T.unsafe(nil)); end - # source://mail//lib/mail/elements/address.rb#169 + # pkg:gem/mail#lib/mail/elements/address.rb:169 def encoded; end # Returns a correctly formatted address for the email going out. If given @@ -345,17 +345,17 @@ class Mail::Address # a = Address.new('Mikel Lindsaar (My email address) ') # a.format #=> 'Mikel Lindsaar (My email address)' # - # source://mail//lib/mail/elements/address.rb#47 + # pkg:gem/mail#lib/mail/elements/address.rb:47 def format(output_type = T.unsafe(nil)); end - # source://mail//lib/mail/elements/address.rb#177 + # pkg:gem/mail#lib/mail/elements/address.rb:177 def group; end # Shows the Address object basic details, including the Address # a = Address.new('Mikel (My email) ') # a.inspect #=> "# (My email)| >" # - # source://mail//lib/mail/elements/address.rb#164 + # pkg:gem/mail#lib/mail/elements/address.rb:164 def inspect; end # Returns the local part (the left hand side of the @ sign in the email address) of @@ -364,7 +364,7 @@ class Mail::Address # a = Address.new('Mikel Lindsaar (My email address) ') # a.local #=> 'mikel' # - # source://mail//lib/mail/elements/address.rb#108 + # pkg:gem/mail#lib/mail/elements/address.rb:108 def local(output_type = T.unsafe(nil)); end # Sometimes an address will not have a display name, but might have the name @@ -373,13 +373,13 @@ class Mail::Address # a = Address.new('mikel@test.lindsaar.net (Mikel Lindsaar)') # a.name #=> 'Mikel Lindsaar' # - # source://mail//lib/mail/elements/address.rb#147 + # pkg:gem/mail#lib/mail/elements/address.rb:147 def name; end # Returns the raw input of the passed in string, this is before it is passed # by the parser. # - # source://mail//lib/mail/elements/address.rb#36 + # pkg:gem/mail#lib/mail/elements/address.rb:36 def raw; end # Returns the format of the address, or returns nothing @@ -387,51 +387,51 @@ class Mail::Address # a = Address.new('Mikel Lindsaar (My email address) ') # a.format #=> 'Mikel Lindsaar (My email address)' # - # source://mail//lib/mail/elements/address.rb#156 + # pkg:gem/mail#lib/mail/elements/address.rb:156 def to_s; end private - # source://mail//lib/mail/elements/address.rb#237 + # pkg:gem/mail#lib/mail/elements/address.rb:237 def format_comments; end - # source://mail//lib/mail/elements/address.rb#254 + # pkg:gem/mail#lib/mail/elements/address.rb:254 def get_comments; end - # source://mail//lib/mail/elements/address.rb#218 + # pkg:gem/mail#lib/mail/elements/address.rb:218 def get_display_name; end - # source://mail//lib/mail/elements/address.rb#250 + # pkg:gem/mail#lib/mail/elements/address.rb:250 def get_domain; end - # source://mail//lib/mail/elements/address.rb#246 + # pkg:gem/mail#lib/mail/elements/address.rb:246 def get_local; end - # source://mail//lib/mail/elements/address.rb#227 + # pkg:gem/mail#lib/mail/elements/address.rb:227 def get_name; end - # source://mail//lib/mail/elements/address.rb#183 + # pkg:gem/mail#lib/mail/elements/address.rb:183 def parse(value = T.unsafe(nil)); end - # source://mail//lib/mail/elements/address.rb#198 + # pkg:gem/mail#lib/mail/elements/address.rb:198 def strip_all_comments(string); end - # source://mail//lib/mail/elements/address.rb#207 + # pkg:gem/mail#lib/mail/elements/address.rb:207 def strip_domain_comments(value); end end -# source://mail//lib/mail/fields/common_address_field.rb#6 +# pkg:gem/mail#lib/mail/fields/common_address_field.rb:6 class Mail::AddressContainer < ::Array # @return [AddressContainer] a new instance of AddressContainer # - # source://mail//lib/mail/fields/common_address_field.rb#7 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:7 def initialize(field, list = T.unsafe(nil)); end - # source://mail//lib/mail/fields/common_address_field.rb#12 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:12 def <<(address); end end -# source://mail//lib/mail/elements/address_list.rb#6 +# pkg:gem/mail#lib/mail/elements/address_list.rb:6 class Mail::AddressList # Mail::AddressList is the class that parses To, From and other address fields from # emails passed into Mail. @@ -451,28 +451,28 @@ class Mail::AddressList # # @return [AddressList] a new instance of AddressList # - # source://mail//lib/mail/elements/address_list.rb#24 + # pkg:gem/mail#lib/mail/elements/address_list.rb:24 def initialize(string); end # Returns the value of attribute addresses. # - # source://mail//lib/mail/elements/address_list.rb#7 + # pkg:gem/mail#lib/mail/elements/address_list.rb:7 def addresses; end - # source://mail//lib/mail/elements/address_list.rb#30 + # pkg:gem/mail#lib/mail/elements/address_list.rb:30 def addresses_grouped_by_group; end # Returns the value of attribute group_names. # - # source://mail//lib/mail/elements/address_list.rb#7 + # pkg:gem/mail#lib/mail/elements/address_list.rb:7 def group_names; end end -# source://mail//lib/mail/attachments_list.rb#3 +# pkg:gem/mail#lib/mail/attachments_list.rb:3 class Mail::AttachmentsList < ::Array # @return [AttachmentsList] a new instance of AttachmentsList # - # source://mail//lib/mail/attachments_list.rb#5 + # pkg:gem/mail#lib/mail/attachments_list.rb:5 def initialize(parts_list); end # Returns the attachment by filename or at index. @@ -483,22 +483,22 @@ class Mail::AttachmentsList < ::Array # mail.attachments['test.png'].filename #=> 'test.png' # mail.attachments[1].filename #=> 'test.jpg' # - # source://mail//lib/mail/attachments_list.rb#32 + # pkg:gem/mail#lib/mail/attachments_list.rb:32 def [](index_value); end - # source://mail//lib/mail/attachments_list.rb#40 + # pkg:gem/mail#lib/mail/attachments_list.rb:40 def []=(name, value); end # Uses the mime type to try and guess the encoding, if it is a binary type, or unknown, then we # set it to binary, otherwise as set to plain text # - # source://mail//lib/mail/attachments_list.rb#91 + # pkg:gem/mail#lib/mail/attachments_list.rb:91 def guess_encoding; end - # source://mail//lib/mail/attachments_list.rb#20 + # pkg:gem/mail#lib/mail/attachments_list.rb:20 def inline; end - # source://mail//lib/mail/attachments_list.rb#99 + # pkg:gem/mail#lib/mail/attachments_list.rb:99 def set_mime_type(filename); end end @@ -528,32 +528,32 @@ end # mail[:bcc].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:bcc].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/bcc_field.rb#31 +# pkg:gem/mail#lib/mail/fields/bcc_field.rb:31 class Mail::BccField < ::Mail::CommonAddressField # @return [BccField] a new instance of BccField # - # source://mail//lib/mail/fields/bcc_field.rb#36 + # pkg:gem/mail#lib/mail/fields/bcc_field.rb:36 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end # Bcc field should not be :encoded by default # - # source://mail//lib/mail/fields/bcc_field.rb#42 + # pkg:gem/mail#lib/mail/fields/bcc_field.rb:42 def encoded; end # Returns the value of attribute include_in_headers. # - # source://mail//lib/mail/fields/bcc_field.rb#34 + # pkg:gem/mail#lib/mail/fields/bcc_field.rb:34 def include_in_headers; end # Sets the attribute include_in_headers # # @param value the value to set the attribute include_in_headers to. # - # source://mail//lib/mail/fields/bcc_field.rb#34 + # pkg:gem/mail#lib/mail/fields/bcc_field.rb:34 def include_in_headers=(_arg0); end end -# source://mail//lib/mail/fields/bcc_field.rb#32 +# pkg:gem/mail#lib/mail/fields/bcc_field.rb:32 Mail::BccField::NAME = T.let(T.unsafe(nil), String) # = Body @@ -580,14 +580,14 @@ Mail::BccField::NAME = T.let(T.unsafe(nil), String) # On encoding, the body will return the preamble, then each part joined by # the boundary, followed by a closing boundary string and then the epilogue. # -# source://mail//lib/mail/body.rb#28 +# pkg:gem/mail#lib/mail/body.rb:28 class Mail::Body # @return [Body] a new instance of Body # - # source://mail//lib/mail/body.rb#30 + # pkg:gem/mail#lib/mail/body.rb:30 def initialize(string = T.unsafe(nil)); end - # source://mail//lib/mail/body.rb#233 + # pkg:gem/mail#lib/mail/body.rb:233 def <<(val); end # Matches this body with another body. Also matches the decoded value of this @@ -605,7 +605,7 @@ class Mail::Body # body.encoding = 'base64' # body == "The body" #=> true # - # source://mail//lib/mail/body.rb#72 + # pkg:gem/mail#lib/mail/body.rb:72 def ==(other); end # Accepts a string and performs a regular expression against the decoded text @@ -619,45 +619,45 @@ class Mail::Body # body.encoding = 'base64' # body =~ /The/ #=> 0 # - # source://mail//lib/mail/body.rb#90 + # pkg:gem/mail#lib/mail/body.rb:90 def =~(regexp); end # @return [Boolean] # - # source://mail//lib/mail/body.rb#253 + # pkg:gem/mail#lib/mail/body.rb:253 def ascii_only?; end # Returns and sets the boundary used by the body # Allows you to change the boundary of this Body object # - # source://mail//lib/mail/body.rb#226 + # pkg:gem/mail#lib/mail/body.rb:226 def boundary; end # Returns and sets the boundary used by the body # Allows you to change the boundary of this Body object # - # source://mail//lib/mail/body.rb#226 + # pkg:gem/mail#lib/mail/body.rb:226 def boundary=(_arg0); end # Returns and sets the original character encoding # - # source://mail//lib/mail/body.rb#216 + # pkg:gem/mail#lib/mail/body.rb:216 def charset; end # Returns and sets the original character encoding # - # source://mail//lib/mail/body.rb#216 + # pkg:gem/mail#lib/mail/body.rb:216 def charset=(_arg0); end - # source://mail//lib/mail/body.rb#179 + # pkg:gem/mail#lib/mail/body.rb:179 def decoded; end - # source://mail//lib/mail/body.rb#264 + # pkg:gem/mail#lib/mail/body.rb:264 def default_encoding; end # @return [Boolean] # - # source://mail//lib/mail/body.rb#260 + # pkg:gem/mail#lib/mail/body.rb:260 def empty?; end # Returns a body encoded using transfer_encoding. Multipart always uses an @@ -665,23 +665,23 @@ class Mail::Body # Calling this directly is not a good idea, but supported for compatibility # TODO: Validate that preamble and epilogue are valid for requested encoding # - # source://mail//lib/mail/body.rb#149 + # pkg:gem/mail#lib/mail/body.rb:149 def encoded(transfer_encoding = T.unsafe(nil)); end - # source://mail//lib/mail/body.rb#191 + # pkg:gem/mail#lib/mail/body.rb:191 def encoding(val = T.unsafe(nil)); end - # source://mail//lib/mail/body.rb#199 + # pkg:gem/mail#lib/mail/body.rb:199 def encoding=(val); end # Returns and sets the epilogue as a string (any text that is after the last MIME boundary) # - # source://mail//lib/mail/body.rb#222 + # pkg:gem/mail#lib/mail/body.rb:222 def epilogue; end # Returns and sets the epilogue as a string (any text that is after the last MIME boundary) # - # source://mail//lib/mail/body.rb#222 + # pkg:gem/mail#lib/mail/body.rb:222 def epilogue=(_arg0); end # Accepts anything that responds to #to_s and checks if it's a substring of the decoded text @@ -697,10 +697,10 @@ class Mail::Body # # @return [Boolean] # - # source://mail//lib/mail/body.rb#118 + # pkg:gem/mail#lib/mail/body.rb:118 def include?(other); end - # source://mail//lib/mail/body.rb#53 + # pkg:gem/mail#lib/mail/body.rb:53 def init_with(coder); end # Accepts a string and performs a regular expression against the decoded text @@ -714,45 +714,45 @@ class Mail::Body # body.encoding = 'base64' # body.match(/The/) #=> # # - # source://mail//lib/mail/body.rb#104 + # pkg:gem/mail#lib/mail/body.rb:104 def match(regexp); end # Returns true if there are parts defined in the body # # @return [Boolean] # - # source://mail//lib/mail/body.rb#229 + # pkg:gem/mail#lib/mail/body.rb:229 def multipart?; end - # source://mail//lib/mail/body.rb#141 + # pkg:gem/mail#lib/mail/body.rb:141 def negotiate_best_encoding(message_encoding, allowed_encodings = T.unsafe(nil)); end # Returns parts of the body # - # source://mail//lib/mail/body.rb#213 + # pkg:gem/mail#lib/mail/body.rb:213 def parts; end # Returns and sets the preamble as a string (any text that is before the first MIME boundary) # - # source://mail//lib/mail/body.rb#219 + # pkg:gem/mail#lib/mail/body.rb:219 def preamble; end # Returns and sets the preamble as a string (any text that is before the first MIME boundary) # - # source://mail//lib/mail/body.rb#219 + # pkg:gem/mail#lib/mail/body.rb:219 def preamble=(_arg0); end # Returns the raw source that the body was initialized with, without # any tampering # - # source://mail//lib/mail/body.rb#210 + # pkg:gem/mail#lib/mail/body.rb:210 def raw_source; end # Allows you to set the sort order of the parts, overriding the default sort order. # Defaults to 'text/plain', then 'text/enriched', then 'text/html', then 'multipart/alternative' # with any other content type coming after. # - # source://mail//lib/mail/body.rb#125 + # pkg:gem/mail#lib/mail/body.rb:125 def set_sort_order(order); end # Allows you to sort the parts according to the default sort order, or the sort order you @@ -760,29 +760,29 @@ class Mail::Body # # sort_parts! is also called from :encode, so there is no need for you to call this explicitly # - # source://mail//lib/mail/body.rb#133 + # pkg:gem/mail#lib/mail/body.rb:133 def sort_parts!; end - # source://mail//lib/mail/body.rb#241 + # pkg:gem/mail#lib/mail/body.rb:241 def split!(boundary); end - # source://mail//lib/mail/body.rb#187 + # pkg:gem/mail#lib/mail/body.rb:187 def to_s; end private - # source://mail//lib/mail/body.rb#293 + # pkg:gem/mail#lib/mail/body.rb:293 def crlf_boundary; end - # source://mail//lib/mail/body.rb#297 + # pkg:gem/mail#lib/mail/body.rb:297 def end_boundary; end # split parts by boundary, ignore first part if empty, append final part when closing boundary was missing # - # source://mail//lib/mail/body.rb#271 + # pkg:gem/mail#lib/mail/body.rb:271 def extract_parts; end - # source://mail//lib/mail/body.rb#301 + # pkg:gem/mail#lib/mail/body.rb:301 def set_charset; end end @@ -812,49 +812,49 @@ end # mail[:cc].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:cc].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/cc_field.rb#31 +# pkg:gem/mail#lib/mail/fields/cc_field.rb:31 class Mail::CcField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/cc_field.rb#32 +# pkg:gem/mail#lib/mail/fields/cc_field.rb:32 Mail::CcField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/check_delivery_params.rb#5 +# pkg:gem/mail#lib/mail/check_delivery_params.rb:5 module Mail::CheckDeliveryParams class << self - # source://mail//lib/mail/check_delivery_params.rb#16 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:16 def _deprecated_check(mail); end - # source://mail//lib/mail/check_delivery_params.rb#36 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:36 def _deprecated_check_addr(addr_name, addr); end - # source://mail//lib/mail/check_delivery_params.rb#22 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:22 def _deprecated_check_from(addr); end - # source://mail//lib/mail/check_delivery_params.rb#62 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:62 def _deprecated_check_message(message); end - # source://mail//lib/mail/check_delivery_params.rb#30 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:30 def _deprecated_check_to(addrs); end - # source://mail//lib/mail/check_delivery_params.rb#51 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:51 def _deprecated_validate_smtp_addr(addr); end - # source://mail//lib/mail/check_delivery_params.rb#10 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:10 def check(*args, **_arg1, &block); end - # source://mail//lib/mail/check_delivery_params.rb#32 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:32 def check_addr(*args, **_arg1, &block); end - # source://mail//lib/mail/check_delivery_params.rb#18 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:18 def check_from(*args, **_arg1, &block); end - # source://mail//lib/mail/check_delivery_params.rb#53 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:53 def check_message(*args, **_arg1, &block); end - # source://mail//lib/mail/check_delivery_params.rb#24 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:24 def check_to(*args, **_arg1, &block); end - # source://mail//lib/mail/check_delivery_params.rb#38 + # pkg:gem/mail#lib/mail/check_delivery_params.rb:38 def validate_smtp_addr(*args, **_arg1, &block); end end end @@ -883,262 +883,262 @@ end # mail[:comments].map { |c| c.to_s } # #=> ['This is a comment', "This is another comment"] # -# source://mail//lib/mail/fields/comments_field.rb#29 +# pkg:gem/mail#lib/mail/fields/comments_field.rb:29 class Mail::CommentsField < ::Mail::NamedUnstructuredField; end -# source://mail//lib/mail/fields/comments_field.rb#30 +# pkg:gem/mail#lib/mail/fields/comments_field.rb:30 Mail::CommentsField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/fields/common_address_field.rb#17 +# pkg:gem/mail#lib/mail/fields/common_address_field.rb:17 class Mail::CommonAddressField < ::Mail::NamedStructuredField # @return [CommonAddressField] a new instance of CommonAddressField # - # source://mail//lib/mail/fields/common_address_field.rb#22 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:22 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/common_address_field.rb#94 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:94 def <<(val); end - # source://mail//lib/mail/fields/common_address_field.rb#41 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:41 def address; end # Returns the address string of all the addresses in the address list # - # source://mail//lib/mail/fields/common_address_field.rb#46 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:46 def addresses; end # Returns the actual address objects in the address list # - # source://mail//lib/mail/fields/common_address_field.rb#64 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:64 def addrs; end # Returns a list of decoded group addresses # - # source://mail//lib/mail/fields/common_address_field.rb#80 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:80 def decoded_group_addresses; end - # source://mail//lib/mail/fields/common_address_field.rb#37 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:37 def default; end # Returns the display name of all the addresses in the address list # - # source://mail//lib/mail/fields/common_address_field.rb#58 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:58 def display_names; end # Allows you to iterate through each address object in the address_list # - # source://mail//lib/mail/fields/common_address_field.rb#31 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:31 def each; end - # source://mail//lib/mail/fields/common_address_field.rb#26 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:26 def element; end - # source://mail//lib/mail/fields/common_address_field.rb#105 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:105 def encode_if_needed(val, val_charset = T.unsafe(nil)); end # Returns a list of encoded group addresses # - # source://mail//lib/mail/fields/common_address_field.rb#85 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:85 def encoded_group_addresses; end # Returns the formatted string of all the addresses in the address list # - # source://mail//lib/mail/fields/common_address_field.rb#52 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:52 def formatted; end # Returns the addresses that are part of groups # - # source://mail//lib/mail/fields/common_address_field.rb#75 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:75 def group_addresses; end # Returns the name of all the groups in a string # - # source://mail//lib/mail/fields/common_address_field.rb#90 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:90 def group_names; end # Returns a hash of group name => address strings for the address list # - # source://mail//lib/mail/fields/common_address_field.rb#70 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:70 def groups; end private - # source://mail//lib/mail/fields/common_address_field.rb#150 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:150 def do_decode; end - # source://mail//lib/mail/fields/common_address_field.rb#140 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:140 def do_encode; end - # source://mail//lib/mail/fields/common_address_field.rb#160 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:160 def get_group_addresses(group_list); end # Pass through UTF-8 addresses # - # source://mail//lib/mail/fields/common_address_field.rb#123 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:123 def utf8_if_needed(val, val_charset); end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/common_address_field.rb#18 + # pkg:gem/mail#lib/mail/fields/common_address_field.rb:18 def singular?; end end end -# source://mail//lib/mail/fields/common_date_field.rb#6 +# pkg:gem/mail#lib/mail/fields/common_date_field.rb:6 class Mail::CommonDateField < ::Mail::NamedStructuredField # @return [CommonDateField] a new instance of CommonDateField # - # source://mail//lib/mail/fields/common_date_field.rb#30 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:30 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end # Returns a date time object of the parsed date # - # source://mail//lib/mail/fields/common_date_field.rb#35 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:35 def date_time; end - # source://mail//lib/mail/fields/common_date_field.rb#41 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:41 def default; end - # source://mail//lib/mail/fields/common_date_field.rb#45 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:45 def element; end private - # source://mail//lib/mail/fields/common_date_field.rb#54 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:54 def do_decode; end - # source://mail//lib/mail/fields/common_date_field.rb#50 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:50 def do_encode; end class << self - # source://mail//lib/mail/fields/common_date_field.rb#11 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:11 def normalize_datetime(string); end # @return [Boolean] # - # source://mail//lib/mail/fields/common_date_field.rb#7 + # pkg:gem/mail#lib/mail/fields/common_date_field.rb:7 def singular?; end end end -# source://mail//lib/mail/fields/common_field.rb#6 +# pkg:gem/mail#lib/mail/fields/common_field.rb:6 class Mail::CommonField # @return [CommonField] a new instance of CommonField # - # source://mail//lib/mail/fields/common_field.rb#20 + # pkg:gem/mail#lib/mail/fields/common_field.rb:20 def initialize(name = T.unsafe(nil), value = T.unsafe(nil), charset = T.unsafe(nil)); end # Returns the value of attribute charset. # - # source://mail//lib/mail/fields/common_field.rb#17 + # pkg:gem/mail#lib/mail/fields/common_field.rb:17 def charset; end # Sets the attribute charset # # @param value the value to set the attribute charset to. # - # source://mail//lib/mail/fields/common_field.rb#17 + # pkg:gem/mail#lib/mail/fields/common_field.rb:17 def charset=(_arg0); end - # source://mail//lib/mail/fields/common_field.rb#54 + # pkg:gem/mail#lib/mail/fields/common_field.rb:54 def decoded; end - # source://mail//lib/mail/fields/common_field.rb#50 + # pkg:gem/mail#lib/mail/fields/common_field.rb:50 def default; end - # source://mail//lib/mail/fields/common_field.rb#42 + # pkg:gem/mail#lib/mail/fields/common_field.rb:42 def element; end - # source://mail//lib/mail/fields/common_field.rb#58 + # pkg:gem/mail#lib/mail/fields/common_field.rb:58 def encoded; end # Returns the value of attribute errors. # - # source://mail//lib/mail/fields/common_field.rb#18 + # pkg:gem/mail#lib/mail/fields/common_field.rb:18 def errors; end # Returns the value of attribute name. # - # source://mail//lib/mail/fields/common_field.rb#15 + # pkg:gem/mail#lib/mail/fields/common_field.rb:15 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://mail//lib/mail/fields/common_field.rb#15 + # pkg:gem/mail#lib/mail/fields/common_field.rb:15 def name=(_arg0); end - # source://mail//lib/mail/fields/common_field.rb#38 + # pkg:gem/mail#lib/mail/fields/common_field.rb:38 def parse; end # @return [Boolean] # - # source://mail//lib/mail/fields/common_field.rb#62 + # pkg:gem/mail#lib/mail/fields/common_field.rb:62 def responsible_for?(field_name); end # @return [Boolean] # - # source://mail//lib/mail/fields/common_field.rb#28 + # pkg:gem/mail#lib/mail/fields/common_field.rb:28 def singular?; end - # source://mail//lib/mail/fields/common_field.rb#46 + # pkg:gem/mail#lib/mail/fields/common_field.rb:46 def to_s; end # Returns the value of attribute value. # - # source://mail//lib/mail/fields/common_field.rb#16 + # pkg:gem/mail#lib/mail/fields/common_field.rb:16 def value; end - # source://mail//lib/mail/fields/common_field.rb#32 + # pkg:gem/mail#lib/mail/fields/common_field.rb:32 def value=(value); end private - # source://mail//lib/mail/fields/common_field.rb#69 + # pkg:gem/mail#lib/mail/fields/common_field.rb:69 def ensure_filename_quoted(value); end class << self - # source://mail//lib/mail/fields/common_field.rb#11 + # pkg:gem/mail#lib/mail/fields/common_field.rb:11 def parse(*args); end # @return [Boolean] # - # source://mail//lib/mail/fields/common_field.rb#7 + # pkg:gem/mail#lib/mail/fields/common_field.rb:7 def singular?; end end end -# source://mail//lib/mail/fields/common_field.rb#68 +# pkg:gem/mail#lib/mail/fields/common_field.rb:68 Mail::CommonField::FILENAME_RE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/fields/common_message_id_field.rb#7 +# pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:7 class Mail::CommonMessageIdField < ::Mail::NamedStructuredField - # source://mail//lib/mail/fields/common_message_id_field.rb#20 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:20 def default; end - # source://mail//lib/mail/fields/common_message_id_field.rb#8 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:8 def element; end - # source://mail//lib/mail/fields/common_message_id_field.rb#12 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:12 def message_id; end - # source://mail//lib/mail/fields/common_message_id_field.rb#16 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:16 def message_ids; end - # source://mail//lib/mail/fields/common_message_id_field.rb#25 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:25 def to_s; end private - # source://mail//lib/mail/fields/common_message_id_field.rb#34 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:34 def do_decode; end - # source://mail//lib/mail/fields/common_message_id_field.rb#30 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:30 def do_encode; end - # source://mail//lib/mail/fields/common_message_id_field.rb#38 + # pkg:gem/mail#lib/mail/fields/common_message_id_field.rb:38 def formatted_message_ids(join = T.unsafe(nil)); end end @@ -1148,7 +1148,7 @@ end # Each new mail object gets a copy of these values at initialization # which can be overwritten on a per mail object basis. # -# source://mail//lib/mail/configuration.rb#15 +# pkg:gem/mail#lib/mail/configuration.rb:15 class Mail::Configuration include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -1156,448 +1156,448 @@ class Mail::Configuration # @return [Configuration] a new instance of Configuration # - # source://mail//lib/mail/configuration.rb#18 + # pkg:gem/mail#lib/mail/configuration.rb:18 def initialize; end - # source://mail//lib/mail/configuration.rb#24 + # pkg:gem/mail#lib/mail/configuration.rb:24 def delivery_method(method = T.unsafe(nil), settings = T.unsafe(nil)); end - # source://mail//lib/mail/configuration.rb#29 + # pkg:gem/mail#lib/mail/configuration.rb:29 def lookup_delivery_method(method); end - # source://mail//lib/mail/configuration.rb#57 + # pkg:gem/mail#lib/mail/configuration.rb:57 def lookup_retriever_method(method); end - # source://mail//lib/mail/configuration.rb#72 + # pkg:gem/mail#lib/mail/configuration.rb:72 def param_encode_language(value = T.unsafe(nil)); end - # source://mail//lib/mail/configuration.rb#52 + # pkg:gem/mail#lib/mail/configuration.rb:52 def retriever_method(method = T.unsafe(nil), settings = T.unsafe(nil)); end class << self private - # source://mail//lib/mail/configuration.rb#16 + # pkg:gem/mail#lib/mail/configuration.rb:16 def allocate; end - # source://mail//lib/mail/configuration.rb#16 + # pkg:gem/mail#lib/mail/configuration.rb:16 def new(*_arg0); end end end -# source://mail//lib/mail/constants.rb#4 +# pkg:gem/mail#lib/mail/constants.rb:4 module Mail::Constants; end -# source://mail//lib/mail/constants.rb#66 +# pkg:gem/mail#lib/mail/constants.rb:66 Mail::Constants::ASTERISK = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#35 +# pkg:gem/mail#lib/mail/constants.rb:35 Mail::Constants::ATOM_UNSAFE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#77 +# pkg:gem/mail#lib/mail/constants.rb:77 Mail::Constants::B_VALUES = T.let(T.unsafe(nil), Array) -# source://mail//lib/mail/constants.rb#72 +# pkg:gem/mail#lib/mail/constants.rb:72 Mail::Constants::CAPITAL_M = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#65 +# pkg:gem/mail#lib/mail/constants.rb:65 Mail::Constants::COLON = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#34 +# pkg:gem/mail#lib/mail/constants.rb:34 Mail::Constants::CONTROL_CHAR = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#68 +# pkg:gem/mail#lib/mail/constants.rb:68 Mail::Constants::CR = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#67 +# pkg:gem/mail#lib/mail/constants.rb:67 Mail::Constants::CRLF = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#70 +# pkg:gem/mail#lib/mail/constants.rb:70 Mail::Constants::CR_ENCODED = T.let(T.unsafe(nil), String) # m is multi-line, i is case-insensitive, x is free-spacing # -# source://mail//lib/mail/constants.rb#61 +# pkg:gem/mail#lib/mail/constants.rb:61 Mail::Constants::EMPTY = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#39 +# pkg:gem/mail#lib/mail/constants.rb:39 Mail::Constants::ENCODED_VALUE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#73 +# pkg:gem/mail#lib/mail/constants.rb:73 Mail::Constants::EQUAL_LF = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#26 +# pkg:gem/mail#lib/mail/constants.rb:26 Mail::Constants::FIELD_BODY = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#27 +# pkg:gem/mail#lib/mail/constants.rb:27 Mail::Constants::FIELD_LINE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#24 +# pkg:gem/mail#lib/mail/constants.rb:24 Mail::Constants::FIELD_NAME = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#25 +# pkg:gem/mail#lib/mail/constants.rb:25 Mail::Constants::FIELD_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#28 +# pkg:gem/mail#lib/mail/constants.rb:28 Mail::Constants::FIELD_SPLIT = T.let(T.unsafe(nil), Regexp) # m is multi-line, i is case-insensitive, x is free-spacing # -# source://mail//lib/mail/constants.rb#49 +# pkg:gem/mail#lib/mail/constants.rb:49 Mail::Constants::FULL_ENCODED_VALUE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#21 +# pkg:gem/mail#lib/mail/constants.rb:21 Mail::Constants::FWS = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#29 +# pkg:gem/mail#lib/mail/constants.rb:29 Mail::Constants::HEADER_LINE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#30 +# pkg:gem/mail#lib/mail/constants.rb:30 Mail::Constants::HEADER_SPLIT = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#64 +# pkg:gem/mail#lib/mail/constants.rb:64 Mail::Constants::HYPHEN = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#19 +# pkg:gem/mail#lib/mail/constants.rb:19 Mail::Constants::LAX_CRLF = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#69 +# pkg:gem/mail#lib/mail/constants.rb:69 Mail::Constants::LF = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#71 +# pkg:gem/mail#lib/mail/constants.rb:71 Mail::Constants::LF_ENCODED = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#74 +# pkg:gem/mail#lib/mail/constants.rb:74 Mail::Constants::NULL_SENDER = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#36 +# pkg:gem/mail#lib/mail/constants.rb:36 Mail::Constants::PHRASE_UNSAFE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#33 +# pkg:gem/mail#lib/mail/constants.rb:33 Mail::Constants::QP_SAFE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#32 +# pkg:gem/mail#lib/mail/constants.rb:32 Mail::Constants::QP_UNSAFE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#76 +# pkg:gem/mail#lib/mail/constants.rb:76 Mail::Constants::Q_VALUES = T.let(T.unsafe(nil), Array) -# source://mail//lib/mail/constants.rb#62 +# pkg:gem/mail#lib/mail/constants.rb:62 Mail::Constants::SPACE = T.let(T.unsafe(nil), String) # + obs-text # -# source://mail//lib/mail/constants.rb#23 +# pkg:gem/mail#lib/mail/constants.rb:23 Mail::Constants::TEXT = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#37 +# pkg:gem/mail#lib/mail/constants.rb:37 Mail::Constants::TOKEN_UNSAFE = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#63 +# pkg:gem/mail#lib/mail/constants.rb:63 Mail::Constants::UNDERSCORE = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/constants.rb#22 +# pkg:gem/mail#lib/mail/constants.rb:22 Mail::Constants::UNFOLD_WS = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/constants.rb#20 +# pkg:gem/mail#lib/mail/constants.rb:20 Mail::Constants::WSP = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/fields/content_description_field.rb#6 +# pkg:gem/mail#lib/mail/fields/content_description_field.rb:6 class Mail::ContentDescriptionField < ::Mail::NamedUnstructuredField class << self # @return [Boolean] # - # source://mail//lib/mail/fields/content_description_field.rb#9 + # pkg:gem/mail#lib/mail/fields/content_description_field.rb:9 def singular?; end end end -# source://mail//lib/mail/fields/content_description_field.rb#7 +# pkg:gem/mail#lib/mail/fields/content_description_field.rb:7 Mail::ContentDescriptionField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/content_disposition_element.rb#6 +# pkg:gem/mail#lib/mail/elements/content_disposition_element.rb:6 class Mail::ContentDispositionElement # @return [ContentDispositionElement] a new instance of ContentDispositionElement # - # source://mail//lib/mail/elements/content_disposition_element.rb#9 + # pkg:gem/mail#lib/mail/elements/content_disposition_element.rb:9 def initialize(string); end # Returns the value of attribute disposition_type. # - # source://mail//lib/mail/elements/content_disposition_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_disposition_element.rb:7 def disposition_type; end # Returns the value of attribute parameters. # - # source://mail//lib/mail/elements/content_disposition_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_disposition_element.rb:7 def parameters; end private - # source://mail//lib/mail/elements/content_disposition_element.rb#16 + # pkg:gem/mail#lib/mail/elements/content_disposition_element.rb:16 def cleaned(string); end end -# source://mail//lib/mail/fields/content_disposition_field.rb#7 +# pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:7 class Mail::ContentDispositionField < ::Mail::NamedStructuredField # @return [ContentDispositionField] a new instance of ContentDispositionField # - # source://mail//lib/mail/fields/content_disposition_field.rb#14 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:14 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/content_disposition_field.rb#41 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:41 def decoded; end - # source://mail//lib/mail/fields/content_disposition_field.rb#22 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:22 def disposition_type; end - # source://mail//lib/mail/fields/content_disposition_field.rb#18 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:18 def element; end - # source://mail//lib/mail/fields/content_disposition_field.rb#36 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:36 def encoded; end - # source://mail//lib/mail/fields/content_disposition_field.rb#32 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:32 def filename; end - # source://mail//lib/mail/fields/content_disposition_field.rb#26 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:26 def parameters; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/content_disposition_field.rb#10 + # pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:10 def singular?; end end end -# source://mail//lib/mail/fields/content_disposition_field.rb#8 +# pkg:gem/mail#lib/mail/fields/content_disposition_field.rb:8 Mail::ContentDispositionField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/fields/content_id_field.rb#7 +# pkg:gem/mail#lib/mail/fields/content_id_field.rb:7 class Mail::ContentIdField < ::Mail::NamedStructuredField # @return [ContentIdField] a new instance of ContentIdField # - # source://mail//lib/mail/fields/content_id_field.rb#14 + # pkg:gem/mail#lib/mail/fields/content_id_field.rb:14 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/content_id_field.rb#23 + # pkg:gem/mail#lib/mail/fields/content_id_field.rb:23 def content_id; end - # source://mail//lib/mail/fields/content_id_field.rb#19 + # pkg:gem/mail#lib/mail/fields/content_id_field.rb:19 def element; end private - # source://mail//lib/mail/fields/content_id_field.rb#28 + # pkg:gem/mail#lib/mail/fields/content_id_field.rb:28 def do_decode; end - # source://mail//lib/mail/fields/content_id_field.rb#32 + # pkg:gem/mail#lib/mail/fields/content_id_field.rb:32 def do_encode; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/content_id_field.rb#10 + # pkg:gem/mail#lib/mail/fields/content_id_field.rb:10 def singular?; end end end -# source://mail//lib/mail/fields/content_id_field.rb#8 +# pkg:gem/mail#lib/mail/fields/content_id_field.rb:8 Mail::ContentIdField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/content_location_element.rb#6 +# pkg:gem/mail#lib/mail/elements/content_location_element.rb:6 class Mail::ContentLocationElement # @return [ContentLocationElement] a new instance of ContentLocationElement # - # source://mail//lib/mail/elements/content_location_element.rb#9 + # pkg:gem/mail#lib/mail/elements/content_location_element.rb:9 def initialize(string); end # Returns the value of attribute location. # - # source://mail//lib/mail/elements/content_location_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_location_element.rb:7 def location; end - # source://mail//lib/mail/elements/content_location_element.rb#13 + # pkg:gem/mail#lib/mail/elements/content_location_element.rb:13 def to_s(*args); end end -# source://mail//lib/mail/fields/content_location_field.rb#6 +# pkg:gem/mail#lib/mail/fields/content_location_field.rb:6 class Mail::ContentLocationField < ::Mail::NamedStructuredField - # source://mail//lib/mail/fields/content_location_field.rb#25 + # pkg:gem/mail#lib/mail/fields/content_location_field.rb:25 def decoded; end - # source://mail//lib/mail/fields/content_location_field.rb#13 + # pkg:gem/mail#lib/mail/fields/content_location_field.rb:13 def element; end - # source://mail//lib/mail/fields/content_location_field.rb#21 + # pkg:gem/mail#lib/mail/fields/content_location_field.rb:21 def encoded; end - # source://mail//lib/mail/fields/content_location_field.rb#17 + # pkg:gem/mail#lib/mail/fields/content_location_field.rb:17 def location; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/content_location_field.rb#9 + # pkg:gem/mail#lib/mail/fields/content_location_field.rb:9 def singular?; end end end -# source://mail//lib/mail/fields/content_location_field.rb#7 +# pkg:gem/mail#lib/mail/fields/content_location_field.rb:7 Mail::ContentLocationField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/content_transfer_encoding_element.rb#6 +# pkg:gem/mail#lib/mail/elements/content_transfer_encoding_element.rb:6 class Mail::ContentTransferEncodingElement # @return [ContentTransferEncodingElement] a new instance of ContentTransferEncodingElement # - # source://mail//lib/mail/elements/content_transfer_encoding_element.rb#9 + # pkg:gem/mail#lib/mail/elements/content_transfer_encoding_element.rb:9 def initialize(string); end # Returns the value of attribute encoding. # - # source://mail//lib/mail/elements/content_transfer_encoding_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_transfer_encoding_element.rb:7 def encoding; end end -# source://mail//lib/mail/fields/content_transfer_encoding_field.rb#6 +# pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:6 class Mail::ContentTransferEncodingField < ::Mail::NamedStructuredField # @return [ContentTransferEncodingField] a new instance of ContentTransferEncodingField # - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#24 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:24 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#28 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:28 def element; end - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#32 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:32 def encoding; end private - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#41 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:41 def do_decode; end - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#37 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:37 def do_encode; end class << self - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#13 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:13 def normalize_content_transfer_encoding(value); end # @return [Boolean] # - # source://mail//lib/mail/fields/content_transfer_encoding_field.rb#9 + # pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:9 def singular?; end end end -# source://mail//lib/mail/fields/content_transfer_encoding_field.rb#7 +# pkg:gem/mail#lib/mail/fields/content_transfer_encoding_field.rb:7 Mail::ContentTransferEncodingField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/content_type_element.rb#6 +# pkg:gem/mail#lib/mail/elements/content_type_element.rb:6 class Mail::ContentTypeElement # @return [ContentTypeElement] a new instance of ContentTypeElement # - # source://mail//lib/mail/elements/content_type_element.rb#9 + # pkg:gem/mail#lib/mail/elements/content_type_element.rb:9 def initialize(string); end # Returns the value of attribute main_type. # - # source://mail//lib/mail/elements/content_type_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_type_element.rb:7 def main_type; end # Returns the value of attribute parameters. # - # source://mail//lib/mail/elements/content_type_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_type_element.rb:7 def parameters; end # Returns the value of attribute sub_type. # - # source://mail//lib/mail/elements/content_type_element.rb#7 + # pkg:gem/mail#lib/mail/elements/content_type_element.rb:7 def sub_type; end private - # source://mail//lib/mail/elements/content_type_element.rb#17 + # pkg:gem/mail#lib/mail/elements/content_type_element.rb:17 def cleaned(string); end end -# source://mail//lib/mail/fields/content_type_field.rb#7 +# pkg:gem/mail#lib/mail/fields/content_type_field.rb:7 class Mail::ContentTypeField < ::Mail::NamedStructuredField # @return [ContentTypeField] a new instance of ContentTypeField # - # source://mail//lib/mail/fields/content_type_field.rb#24 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:24 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/content_type_field.rb#47 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:47 def attempt_to_clean; end - # source://mail//lib/mail/fields/content_type_field.rb#66 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:66 def content_type; end - # source://mail//lib/mail/fields/content_type_field.rb#101 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:101 def decoded; end - # source://mail//lib/mail/fields/content_type_field.rb#68 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:68 def default; end - # source://mail//lib/mail/fields/content_type_field.rb#38 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:38 def element; end - # source://mail//lib/mail/fields/content_type_field.rb#96 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:96 def encoded; end - # source://mail//lib/mail/fields/content_type_field.rb#92 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:92 def filename; end - # source://mail//lib/mail/fields/content_type_field.rb#55 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:55 def main_type; end - # source://mail//lib/mail/fields/content_type_field.rb#72 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:72 def parameters; end - # source://mail//lib/mail/fields/content_type_field.rb#63 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:63 def string; end - # source://mail//lib/mail/fields/content_type_field.rb#88 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:88 def stringify(params); end - # source://mail//lib/mail/fields/content_type_field.rb#59 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:59 def sub_type; end - # source://mail//lib/mail/fields/content_type_field.rb#80 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:80 def value; end private - # source://mail//lib/mail/fields/content_type_field.rb#163 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:163 def get_mime_type(val); end - # source://mail//lib/mail/fields/content_type_field.rb#108 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:108 def method_missing(name, *args, &block); end # Various special cases from random emails found that I am not going to change # the parser for # - # source://mail//lib/mail/fields/content_type_field.rb#119 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:119 def sanitize(val); end class << self - # source://mail//lib/mail/fields/content_type_field.rb#19 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:19 def generate_boundary; end # @return [Boolean] # - # source://mail//lib/mail/fields/content_type_field.rb#11 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:11 def singular?; end - # source://mail//lib/mail/fields/content_type_field.rb#15 + # pkg:gem/mail#lib/mail/fields/content_type_field.rb:15 def with_boundary(type); end end end -# source://mail//lib/mail/fields/content_type_field.rb#8 +# pkg:gem/mail#lib/mail/fields/content_type_field.rb:8 Mail::ContentTypeField::NAME = T.let(T.unsafe(nil), String) # = Date Field @@ -1621,37 +1621,37 @@ Mail::ContentTypeField::NAME = T.let(T.unsafe(nil), String) # mail['date'] #=> '# '# 'This is あ string' # - # source://mail//lib/mail/encodings.rb#234 + # pkg:gem/mail#lib/mail/encodings.rb:234 def b_value_decode(str); end # Encode a string with Base64 Encoding and returns it ready to be inserted @@ -1672,7 +1672,7 @@ module Mail::Encodings # Encodings.b_value_encode('This is あ string', 'UTF-8') # #=> "=?UTF-8?B?VGhpcyBpcyDjgYIgc3RyaW5n?=" # - # source://mail//lib/mail/encodings.rb#199 + # pkg:gem/mail#lib/mail/encodings.rb:199 def b_value_encode(string, encoding = T.unsafe(nil)); end # Split header line into proper encoded and unencoded parts. @@ -1681,7 +1681,7 @@ module Mail::Encodings # # Omit unencoded space after an encoded-word. # - # source://mail//lib/mail/encodings.rb#258 + # pkg:gem/mail#lib/mail/encodings.rb:258 def collapse_adjacent_encodings(str); end # Decodes or encodes a string as needed for either Base64 or QP encoding types in @@ -1693,7 +1693,7 @@ module Mail::Encodings # # On encoding, will only send out Base64 encoded strings. # - # source://mail//lib/mail/encodings.rb#105 + # pkg:gem/mail#lib/mail/encodings.rb:105 def decode_encode(str, output_type); end # Is the encoding we want defined? @@ -1704,13 +1704,13 @@ module Mail::Encodings # # @return [Boolean] # - # source://mail//lib/mail/encodings.rb#29 + # pkg:gem/mail#lib/mail/encodings.rb:29 def defined?(name); end # Partition the string into bounded-size chunks without splitting # multibyte characters. # - # source://mail//lib/mail/encodings.rb#280 + # pkg:gem/mail#lib/mail/encodings.rb:280 def each_base64_chunk_byterange(str, max_bytesize_per_base64_chunk, &block); end # Partition the string into bounded-size chunks without splitting @@ -1718,13 +1718,13 @@ module Mail::Encodings # # @yield [Utilities.string_byteslice(str, offset, chunksize)] # - # source://mail//lib/mail/encodings.rb#293 + # pkg:gem/mail#lib/mail/encodings.rb:293 def each_chunk_byterange(str, max_bytesize_per_chunk); end - # source://mail//lib/mail/encodings.rb#170 + # pkg:gem/mail#lib/mail/encodings.rb:170 def encode_non_usascii(address, charset); end - # source://mail//lib/mail/encodings.rb#45 + # pkg:gem/mail#lib/mail/encodings.rb:45 def get_all; end # Gets a defined encoding type, QuotedPrintable or Base64 for now. @@ -1736,10 +1736,10 @@ module Mail::Encodings # # Encodings.get_encoding(:base64) #=> Mail::Encodings::Base64 # - # source://mail//lib/mail/encodings.rb#41 + # pkg:gem/mail#lib/mail/encodings.rb:41 def get_encoding(name); end - # source://mail//lib/mail/encodings.rb#49 + # pkg:gem/mail#lib/mail/encodings.rb:49 def get_name(name); end # Decodes a parameter value using URI Escaping. @@ -1752,7 +1752,7 @@ module Mail::Encodings # str.encoding #=> 'ISO-8859-1' ## Only on Ruby 1.9 # str #=> "This is fun" # - # source://mail//lib/mail/encodings.rb#93 + # pkg:gem/mail#lib/mail/encodings.rb:93 def param_decode(str, encoding); end # Encodes a parameter value using URI Escaping, note the language field 'en' can @@ -1768,7 +1768,7 @@ module Mail::Encodings # # Mail::Encodings.param_encode("This is fun") #=> "us-ascii'en'This%20is%20fun" # - # source://mail//lib/mail/encodings.rb#73 + # pkg:gem/mail#lib/mail/encodings.rb:73 def param_encode(str); end # Decodes a Quoted-Printable string from the "=?UTF-8?Q?This_is_=E3=81=82_string?=" format @@ -1778,7 +1778,7 @@ module Mail::Encodings # Encodings.q_value_decode("=?UTF-8?Q?This_is_=E3=81=82_string?=") # #=> 'This is あ string' # - # source://mail//lib/mail/encodings.rb#244 + # pkg:gem/mail#lib/mail/encodings.rb:244 def q_value_decode(str); end # Encode a string with Quoted-Printable Encoding and returns it ready to be inserted @@ -1789,7 +1789,7 @@ module Mail::Encodings # Encodings.q_value_encode('This is あ string', 'UTF-8') # #=> "=?UTF-8?Q?This_is_=E3=81=82_string?=" # - # source://mail//lib/mail/encodings.rb#217 + # pkg:gem/mail#lib/mail/encodings.rb:217 def q_value_encode(encoded_str, encoding = T.unsafe(nil)); end # Register transfer encoding @@ -1798,15 +1798,15 @@ module Mail::Encodings # # Encodings.register "base64", Mail::Encodings::Base64 # - # source://mail//lib/mail/encodings.rb#20 + # pkg:gem/mail#lib/mail/encodings.rb:20 def register(name, cls); end - # source://mail//lib/mail/encodings.rb#53 + # pkg:gem/mail#lib/mail/encodings.rb:53 def transcode_charset(str, from_charset, to_charset = T.unsafe(nil)); end # Takes an encoded string of the format =??[QB]??= # - # source://mail//lib/mail/encodings.rb#140 + # pkg:gem/mail#lib/mail/encodings.rb:140 def unquote_and_convert_to(str, to_encoding); end # Decodes a given string as Base64 or Quoted Printable, depending on what @@ -1814,12 +1814,12 @@ module Mail::Encodings # # String has to be of the format =??[QB]??= # - # source://mail//lib/mail/encodings.rb#122 + # pkg:gem/mail#lib/mail/encodings.rb:122 def value_decode(str); end # Gets the encoding type (Q or B) from the string. # - # source://mail//lib/mail/encodings.rb#249 + # pkg:gem/mail#lib/mail/encodings.rb:249 def value_encoding_from_string(str); end end end @@ -1827,12 +1827,12 @@ end # Base64 encoding handles binary content at the cost of 4 output bytes # per input byte. # -# source://mail//lib/mail/encodings/base64.rb#9 +# pkg:gem/mail#lib/mail/encodings/base64.rb:9 class Mail::Encodings::Base64 < ::Mail::Encodings::SevenBit class << self # @return [Boolean] # - # source://mail//lib/mail/encodings/base64.rb#14 + # pkg:gem/mail#lib/mail/encodings/base64.rb:14 def can_encode?(enc); end # Ruby Base64 inserts newlines automatically, so it doesn't exceed @@ -1840,136 +1840,136 @@ class Mail::Encodings::Base64 < ::Mail::Encodings::SevenBit # # @return [Boolean] # - # source://mail//lib/mail/encodings/base64.rb#33 + # pkg:gem/mail#lib/mail/encodings/base64.rb:33 def compatible_input?(str); end # 3 bytes in -> 4 bytes out # - # source://mail//lib/mail/encodings/base64.rb#27 + # pkg:gem/mail#lib/mail/encodings/base64.rb:27 def cost(str); end - # source://mail//lib/mail/encodings/base64.rb#18 + # pkg:gem/mail#lib/mail/encodings/base64.rb:18 def decode(str); end - # source://mail//lib/mail/encodings/base64.rb#22 + # pkg:gem/mail#lib/mail/encodings/base64.rb:22 def encode(str); end end end -# source://mail//lib/mail/encodings/base64.rb#10 +# pkg:gem/mail#lib/mail/encodings/base64.rb:10 Mail::Encodings::Base64::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/encodings/base64.rb#11 +# pkg:gem/mail#lib/mail/encodings/base64.rb:11 Mail::Encodings::Base64::PRIORITY = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/encodings/binary.rb#7 +# pkg:gem/mail#lib/mail/encodings/binary.rb:7 class Mail::Encodings::Binary < ::Mail::Encodings::Identity; end -# source://mail//lib/mail/encodings/binary.rb#8 +# pkg:gem/mail#lib/mail/encodings/binary.rb:8 Mail::Encodings::Binary::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/encodings/binary.rb#9 +# pkg:gem/mail#lib/mail/encodings/binary.rb:9 Mail::Encodings::Binary::PRIORITY = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/encodings/8bit.rb#7 +# pkg:gem/mail#lib/mail/encodings/8bit.rb:7 class Mail::Encodings::EightBit < ::Mail::Encodings::Binary class << self # Per RFC 2821 4.5.3.1, SMTP lines may not be longer than 1000 octets including the . # # @return [Boolean] # - # source://mail//lib/mail/encodings/8bit.rb#13 + # pkg:gem/mail#lib/mail/encodings/8bit.rb:13 def compatible_input?(str); end end end -# source://mail//lib/mail/encodings/8bit.rb#8 +# pkg:gem/mail#lib/mail/encodings/8bit.rb:8 Mail::Encodings::EightBit::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/encodings/8bit.rb#9 +# pkg:gem/mail#lib/mail/encodings/8bit.rb:9 Mail::Encodings::EightBit::PRIORITY = T.let(T.unsafe(nil), Integer) # Identity encodings do no encoding/decoding and have a fixed cost: # 1 byte in -> 1 byte out. # -# source://mail//lib/mail/encodings/identity.rb#9 +# pkg:gem/mail#lib/mail/encodings/identity.rb:9 class Mail::Encodings::Identity < ::Mail::Encodings::TransferEncoding class << self # 1 output byte per input byte. # - # source://mail//lib/mail/encodings/identity.rb#19 + # pkg:gem/mail#lib/mail/encodings/identity.rb:19 def cost(str); end - # source://mail//lib/mail/encodings/identity.rb#10 + # pkg:gem/mail#lib/mail/encodings/identity.rb:10 def decode(str); end - # source://mail//lib/mail/encodings/identity.rb#14 + # pkg:gem/mail#lib/mail/encodings/identity.rb:14 def encode(str); end end end -# source://mail//lib/mail/encodings/quoted_printable.rb#7 +# pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:7 class Mail::Encodings::QuotedPrintable < ::Mail::Encodings::SevenBit class << self # @return [Boolean] # - # source://mail//lib/mail/encodings/quoted_printable.rb#12 + # pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:12 def can_encode?(enc); end # QP inserts newlines automatically and cannot violate the SMTP spec. # # @return [Boolean] # - # source://mail//lib/mail/encodings/quoted_printable.rb#36 + # pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:36 def compatible_input?(str); end - # source://mail//lib/mail/encodings/quoted_printable.rb#26 + # pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:26 def cost(str); end # Decode the string from Quoted-Printable. Cope with hard line breaks # that were incorrectly encoded as hex instead of literal CRLF. # - # source://mail//lib/mail/encodings/quoted_printable.rb#18 + # pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:18 def decode(str); end - # source://mail//lib/mail/encodings/quoted_printable.rb#22 + # pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:22 def encode(str); end end end -# source://mail//lib/mail/encodings/quoted_printable.rb#8 +# pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:8 Mail::Encodings::QuotedPrintable::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/encodings/quoted_printable.rb#10 +# pkg:gem/mail#lib/mail/encodings/quoted_printable.rb:10 Mail::Encodings::QuotedPrintable::PRIORITY = T.let(T.unsafe(nil), Integer) # 7bit and 8bit are equivalent. 7bit encoding is for text only. # -# source://mail//lib/mail/encodings/7bit.rb#8 +# pkg:gem/mail#lib/mail/encodings/7bit.rb:8 class Mail::Encodings::SevenBit < ::Mail::Encodings::EightBit class << self # Per RFC 2045 2.7. 7bit Data, No octets with decimal values greater than 127 are allowed. # # @return [Boolean] # - # source://mail//lib/mail/encodings/7bit.rb#22 + # pkg:gem/mail#lib/mail/encodings/7bit.rb:22 def compatible_input?(str); end - # source://mail//lib/mail/encodings/7bit.rb#13 + # pkg:gem/mail#lib/mail/encodings/7bit.rb:13 def decode(str); end - # source://mail//lib/mail/encodings/7bit.rb#17 + # pkg:gem/mail#lib/mail/encodings/7bit.rb:17 def encode(str); end end end -# source://mail//lib/mail/encodings/7bit.rb#9 +# pkg:gem/mail#lib/mail/encodings/7bit.rb:9 Mail::Encodings::SevenBit::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/encodings/7bit.rb#10 +# pkg:gem/mail#lib/mail/encodings/7bit.rb:10 Mail::Encodings::SevenBit::PRIORITY = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/encodings/transfer_encoding.rb#5 +# pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:5 class Mail::Encodings::TransferEncoding class << self # Override in subclasses to indicate that they can encode text @@ -1978,7 +1978,7 @@ class Mail::Encodings::TransferEncoding # # @return [Boolean] # - # source://mail//lib/mail/encodings/transfer_encoding.rb#19 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:19 def can_encode?(enc); end # And encoding's superclass can always transport it since the @@ -1986,81 +1986,81 @@ class Mail::Encodings::TransferEncoding # # @return [Boolean] # - # source://mail//lib/mail/encodings/transfer_encoding.rb#12 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:12 def can_transport?(enc); end # @return [Boolean] # - # source://mail//lib/mail/encodings/transfer_encoding.rb#27 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:27 def compatible_input?(str); end - # source://mail//lib/mail/encodings/transfer_encoding.rb#23 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:23 def cost(str); end - # source://mail//lib/mail/encodings/transfer_encoding.rb#56 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:56 def lowest_cost(str, encodings); end - # source://mail//lib/mail/encodings/transfer_encoding.rb#35 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:35 def negotiate(message_encoding, source_encoding, str, allowed_encodings = T.unsafe(nil)); end - # source://mail//lib/mail/encodings/transfer_encoding.rb#46 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:46 def renegotiate(message_encoding, source_encoding, str, allowed_encodings = T.unsafe(nil)); end - # source://mail//lib/mail/encodings/transfer_encoding.rb#31 + # pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:31 def to_s; end end end -# source://mail//lib/mail/encodings/transfer_encoding.rb#6 +# pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:6 Mail::Encodings::TransferEncoding::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/encodings/transfer_encoding.rb#8 +# pkg:gem/mail#lib/mail/encodings/transfer_encoding.rb:8 Mail::Encodings::TransferEncoding::PRIORITY = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/encodings/unix_to_unix.rb#4 +# pkg:gem/mail#lib/mail/encodings/unix_to_unix.rb:4 class Mail::Encodings::UnixToUnix < ::Mail::Encodings::TransferEncoding class << self - # source://mail//lib/mail/encodings/unix_to_unix.rb#7 + # pkg:gem/mail#lib/mail/encodings/unix_to_unix.rb:7 def decode(str); end - # source://mail//lib/mail/encodings/unix_to_unix.rb#11 + # pkg:gem/mail#lib/mail/encodings/unix_to_unix.rb:11 def encode(str); end end end -# source://mail//lib/mail/encodings/unix_to_unix.rb#5 +# pkg:gem/mail#lib/mail/encodings/unix_to_unix.rb:5 Mail::Encodings::UnixToUnix::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/envelope.rb#13 +# pkg:gem/mail#lib/mail/envelope.rb:13 class Mail::Envelope < ::Mail::NamedStructuredField - # source://mail//lib/mail/envelope.rb#24 + # pkg:gem/mail#lib/mail/envelope.rb:24 def date; end - # source://mail//lib/mail/envelope.rb#16 + # pkg:gem/mail#lib/mail/envelope.rb:16 def element; end - # source://mail//lib/mail/envelope.rb#20 + # pkg:gem/mail#lib/mail/envelope.rb:20 def from; end end -# source://mail//lib/mail/envelope.rb#14 +# pkg:gem/mail#lib/mail/envelope.rb:14 Mail::Envelope::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/envelope_from_element.rb#7 +# pkg:gem/mail#lib/mail/elements/envelope_from_element.rb:7 class Mail::EnvelopeFromElement # @return [EnvelopeFromElement] a new instance of EnvelopeFromElement # - # source://mail//lib/mail/elements/envelope_from_element.rb#10 + # pkg:gem/mail#lib/mail/elements/envelope_from_element.rb:10 def initialize(string); end # Returns the value of attribute address. # - # source://mail//lib/mail/elements/envelope_from_element.rb#8 + # pkg:gem/mail#lib/mail/elements/envelope_from_element.rb:8 def address; end # Returns the value of attribute date_time. # - # source://mail//lib/mail/elements/envelope_from_element.rb#8 + # pkg:gem/mail#lib/mail/elements/envelope_from_element.rb:8 def date_time; end # RFC 4155: @@ -2069,10 +2069,10 @@ class Mail::EnvelopeFromElement # traditional UNIX 'ctime' output sans timezone (note that the # use of UTC precludes the need for a timezone indicator); # - # source://mail//lib/mail/elements/envelope_from_element.rb#21 + # pkg:gem/mail#lib/mail/elements/envelope_from_element.rb:21 def formatted_date_time; end - # source://mail//lib/mail/elements/envelope_from_element.rb#31 + # pkg:gem/mail#lib/mail/elements/envelope_from_element.rb:31 def to_s; end end @@ -2112,15 +2112,15 @@ end # # mail.deliver! # -# source://mail//lib/mail/network/delivery_methods/exim.rb#39 +# pkg:gem/mail#lib/mail/network/delivery_methods/exim.rb:39 class Mail::Exim < ::Mail::Sendmail # Uses -t option to extract recipients from the message. # - # source://mail//lib/mail/network/delivery_methods/exim.rb#46 + # pkg:gem/mail#lib/mail/network/delivery_methods/exim.rb:46 def destinations_for(envelope); end end -# source://mail//lib/mail/network/delivery_methods/exim.rb#40 +# pkg:gem/mail#lib/mail/network/delivery_methods/exim.rb:40 Mail::Exim::DEFAULTS = T.let(T.unsafe(nil), Hash) # Provides a single class to call to create a new structured or unstructured @@ -2141,7 +2141,7 @@ Mail::Exim::DEFAULTS = T.let(T.unsafe(nil), Hash) # 2.2.3. All field bodies MUST conform to the syntax described in # sections 3 and 4 of this standard. # -# source://mail//lib/mail/field.rb#25 +# pkg:gem/mail#lib/mail/field.rb:25 class Mail::Field include ::Comparable @@ -2160,66 +2160,66 @@ class Mail::Field # # @return [Field] a new instance of Field # - # source://mail//lib/mail/field.rb#166 + # pkg:gem/mail#lib/mail/field.rb:166 def initialize(name, value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/field.rb#224 + # pkg:gem/mail#lib/mail/field.rb:224 def <=>(other); end - # source://mail//lib/mail/field.rb#216 + # pkg:gem/mail#lib/mail/field.rb:216 def ==(other); end - # source://mail//lib/mail/field.rb#186 + # pkg:gem/mail#lib/mail/field.rb:186 def field; end - # source://mail//lib/mail/field.rb#182 + # pkg:gem/mail#lib/mail/field.rb:182 def field=(field); end - # source://mail//lib/mail/field.rb#228 + # pkg:gem/mail#lib/mail/field.rb:228 def field_order_id; end - # source://mail//lib/mail/field.rb#206 + # pkg:gem/mail#lib/mail/field.rb:206 def inspect; end - # source://mail//lib/mail/field.rb#232 + # pkg:gem/mail#lib/mail/field.rb:232 def method_missing(name, *args, &block); end - # source://mail//lib/mail/field.rb#190 + # pkg:gem/mail#lib/mail/field.rb:190 def name; end # @return [Boolean] # - # source://mail//lib/mail/field.rb#220 + # pkg:gem/mail#lib/mail/field.rb:220 def responsible_for?(field_name); end - # source://mail//lib/mail/field.rb#212 + # pkg:gem/mail#lib/mail/field.rb:212 def same(other); end - # source://mail//lib/mail/field.rb#202 + # pkg:gem/mail#lib/mail/field.rb:202 def to_s; end # Returns the value of attribute unparsed_value. # - # source://mail//lib/mail/field.rb#152 + # pkg:gem/mail#lib/mail/field.rb:152 def unparsed_value; end - # source://mail//lib/mail/field.rb#194 + # pkg:gem/mail#lib/mail/field.rb:194 def value; end - # source://mail//lib/mail/field.rb#198 + # pkg:gem/mail#lib/mail/field.rb:198 def value=(val); end private - # source://mail//lib/mail/field.rb#253 + # pkg:gem/mail#lib/mail/field.rb:253 def create_field(name, value, charset); end - # source://mail//lib/mail/field.rb#261 + # pkg:gem/mail#lib/mail/field.rb:261 def parse_field(name, value, charset); end # @return [Boolean] # - # source://mail//lib/mail/field.rb#236 + # pkg:gem/mail#lib/mail/field.rb:236 def respond_to_missing?(method_name, include_private); end # 2.2.3. Long Header Fields @@ -2231,11 +2231,11 @@ class Mail::Field # treated in its unfolded form for further syntactic and semantic # evaluation. # - # source://mail//lib/mail/field.rb#279 + # pkg:gem/mail#lib/mail/field.rb:279 def unfold(string); end class << self - # source://mail//lib/mail/field.rb#147 + # pkg:gem/mail#lib/mail/field.rb:147 def field_class_for(name); end # Parse a field from a raw header line: @@ -2243,129 +2243,129 @@ class Mail::Field # Mail::Field.parse("field-name: field data") # # => # # - # source://mail//lib/mail/field.rb#122 + # pkg:gem/mail#lib/mail/field.rb:122 def parse(field, charset = T.unsafe(nil)); end - # source://mail//lib/mail/field.rb#129 + # pkg:gem/mail#lib/mail/field.rb:129 def split(raw_field); end end end -# source://mail//lib/mail/field.rb#38 +# pkg:gem/mail#lib/mail/field.rb:38 Mail::Field::FIELDS_MAP = T.let(T.unsafe(nil), Hash) -# source://mail//lib/mail/field.rb#70 +# pkg:gem/mail#lib/mail/field.rb:70 Mail::Field::FIELD_NAME_MAP = T.let(T.unsafe(nil), Hash) -# source://mail//lib/mail/field.rb#240 +# pkg:gem/mail#lib/mail/field.rb:240 Mail::Field::FIELD_ORDER_LOOKUP = T.let(T.unsafe(nil), Hash) # Generic Field Exception # -# source://mail//lib/mail/field.rb#75 +# pkg:gem/mail#lib/mail/field.rb:75 class Mail::Field::FieldError < ::StandardError; end -# source://mail//lib/mail/field.rb#106 +# pkg:gem/mail#lib/mail/field.rb:106 class Mail::Field::IncompleteParseError < ::Mail::Field::ParseError # @return [IncompleteParseError] a new instance of IncompleteParseError # - # source://mail//lib/mail/field.rb#107 + # pkg:gem/mail#lib/mail/field.rb:107 def initialize(element, original_text, unparsed_index); end end -# source://mail//lib/mail/field.rb#36 +# pkg:gem/mail#lib/mail/field.rb:36 Mail::Field::KNOWN_FIELDS = T.let(T.unsafe(nil), Array) -# source://mail//lib/mail/field.rb#100 +# pkg:gem/mail#lib/mail/field.rb:100 class Mail::Field::NilParseError < ::Mail::Field::ParseError # @return [NilParseError] a new instance of NilParseError # - # source://mail//lib/mail/field.rb#101 + # pkg:gem/mail#lib/mail/field.rb:101 def initialize(element); end end # Raised when a parsing error has occurred (ie, a StructuredField has tried # to parse a field that is invalid or improperly written) # -# source://mail//lib/mail/field.rb#80 +# pkg:gem/mail#lib/mail/field.rb:80 class Mail::Field::ParseError < ::Mail::Field::FieldError # @return [ParseError] a new instance of ParseError # - # source://mail//lib/mail/field.rb#83 + # pkg:gem/mail#lib/mail/field.rb:83 def initialize(element, value, reason); end - # source://mail//lib/mail/field.rb#81 + # pkg:gem/mail#lib/mail/field.rb:81 def element; end - # source://mail//lib/mail/field.rb#81 + # pkg:gem/mail#lib/mail/field.rb:81 def element=(_arg0); end - # source://mail//lib/mail/field.rb#81 + # pkg:gem/mail#lib/mail/field.rb:81 def reason; end - # source://mail//lib/mail/field.rb#81 + # pkg:gem/mail#lib/mail/field.rb:81 def reason=(_arg0); end - # source://mail//lib/mail/field.rb#81 + # pkg:gem/mail#lib/mail/field.rb:81 def value; end - # source://mail//lib/mail/field.rb#81 + # pkg:gem/mail#lib/mail/field.rb:81 def value=(_arg0); end private - # source://mail//lib/mail/field.rb#91 + # pkg:gem/mail#lib/mail/field.rb:91 def to_utf8(text); end end -# source://mail//lib/mail/field.rb#28 +# pkg:gem/mail#lib/mail/field.rb:28 Mail::Field::STRUCTURED_FIELDS = T.let(T.unsafe(nil), Array) # Raised when attempting to set a structured field's contents to an invalid syntax # -# source://mail//lib/mail/field.rb#114 +# pkg:gem/mail#lib/mail/field.rb:114 class Mail::Field::SyntaxError < ::Mail::Field::FieldError; end # Field List class provides an enhanced array that keeps a list of # email fields in order. And allows you to insert new fields without # having to worry about the order they will appear in. # -# source://mail//lib/mail/field_list.rb#8 +# pkg:gem/mail#lib/mail/field_list.rb:8 class Mail::FieldList < ::Array - # source://mail//lib/mail/field_list.rb#29 + # pkg:gem/mail#lib/mail/field_list.rb:29 def <<(field); end - # source://mail//lib/mail/field_list.rb#22 + # pkg:gem/mail#lib/mail/field_list.rb:22 def add_field(field); end - # source://mail//lib/mail/field_list.rb#60 + # pkg:gem/mail#lib/mail/field_list.rb:60 def delete_field(name); end - # source://mail//lib/mail/field_list.rb#13 + # pkg:gem/mail#lib/mail/field_list.rb:13 def get_field(field_name); end # @return [Boolean] # - # source://mail//lib/mail/field_list.rb#9 + # pkg:gem/mail#lib/mail/field_list.rb:9 def has_field?(field_name); end - # source://mail//lib/mail/field_list.rb#46 + # pkg:gem/mail#lib/mail/field_list.rb:46 def insert_field(field); end - # source://mail//lib/mail/field_list.rb#31 + # pkg:gem/mail#lib/mail/field_list.rb:31 def replace_field(field); end - # source://mail//lib/mail/field_list.rb#64 + # pkg:gem/mail#lib/mail/field_list.rb:64 def summary; end private - # source://mail//lib/mail/field_list.rb#70 + # pkg:gem/mail#lib/mail/field_list.rb:70 def select_fields(field_name); end # @return [Boolean] # - # source://mail//lib/mail/field_list.rb#79 + # pkg:gem/mail#lib/mail/field_list.rb:79 def singular?(field_name); end end @@ -2380,26 +2380,26 @@ end # Make sure the path you specify with :location is writable by the Ruby process # running Mail. # -# source://mail//lib/mail/network/delivery_methods/file_delivery.rb#15 +# pkg:gem/mail#lib/mail/network/delivery_methods/file_delivery.rb:15 class Mail::FileDelivery # @return [FileDelivery] a new instance of FileDelivery # - # source://mail//lib/mail/network/delivery_methods/file_delivery.rb#20 + # pkg:gem/mail#lib/mail/network/delivery_methods/file_delivery.rb:20 def initialize(values); end - # source://mail//lib/mail/network/delivery_methods/file_delivery.rb#24 + # pkg:gem/mail#lib/mail/network/delivery_methods/file_delivery.rb:24 def deliver!(mail); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/delivery_methods/file_delivery.rb#18 + # pkg:gem/mail#lib/mail/network/delivery_methods/file_delivery.rb:18 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/delivery_methods/file_delivery.rb#18 + # pkg:gem/mail#lib/mail/network/delivery_methods/file_delivery.rb:18 def settings=(_arg0); end end @@ -2429,10 +2429,10 @@ end # mail[:from].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:from].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/from_field.rb#31 +# pkg:gem/mail#lib/mail/fields/from_field.rb:31 class Mail::FromField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/from_field.rb#32 +# pkg:gem/mail#lib/mail/fields/from_field.rb:32 Mail::FromField::NAME = T.let(T.unsafe(nil), String) # Provides access to a header object. @@ -2451,7 +2451,7 @@ Mail::FromField::NAME = T.let(T.unsafe(nil), String) # 2.2.3. All field bodies MUST conform to the syntax described in # sections 3 and 4 of this standard. # -# source://mail//lib/mail/header.rb#22 +# pkg:gem/mail#lib/mail/header.rb:22 class Mail::Header include ::Enumerable @@ -2470,7 +2470,7 @@ class Mail::Header # # @return [Header] a new instance of Header # - # source://mail//lib/mail/header.rb#53 + # pkg:gem/mail#lib/mail/header.rb:53 def initialize(header_text = T.unsafe(nil), charset = T.unsafe(nil)); end # 3.6. Field definitions @@ -2495,7 +2495,7 @@ class Mail::Header # h['To'] #=> 'mikel@me.com' # h['X-Mail-SPAM'] #=> ['15', '20'] # - # source://mail//lib/mail/header.rb#130 + # pkg:gem/mail#lib/mail/header.rb:130 def [](name); end # Sets the FIRST matching field in the header to passed value, or deletes @@ -2512,35 +2512,35 @@ class Mail::Header # h['X-Mail-SPAM'] = nil # h['X-Mail-SPAM'] # => nil # - # source://mail//lib/mail/header.rb#147 + # pkg:gem/mail#lib/mail/header.rb:147 def []=(name, value); end # Returns the value of attribute charset. # - # source://mail//lib/mail/header.rb#39 + # pkg:gem/mail#lib/mail/header.rb:39 def charset; end - # source://mail//lib/mail/header.rb#169 + # pkg:gem/mail#lib/mail/header.rb:169 def charset=(val); end # @raise [NoMethodError] # - # source://mail//lib/mail/header.rb#195 + # pkg:gem/mail#lib/mail/header.rb:195 def decoded; end - # source://mail//lib/mail/header.rb#182 + # pkg:gem/mail#lib/mail/header.rb:182 def encoded; end - # source://mail//lib/mail/header.rb#105 + # pkg:gem/mail#lib/mail/header.rb:105 def errors; end - # source://mail//lib/mail/header.rb#199 + # pkg:gem/mail#lib/mail/header.rb:199 def field_summary; end # Returns an array of all the fields in the header in order that they # were read in. # - # source://mail//lib/mail/header.rb#67 + # pkg:gem/mail#lib/mail/header.rb:67 def fields; end # 3.6. Field definitions @@ -2563,59 +2563,59 @@ class Mail::Header # h = Header.new # h.fields = ['From: mikel@me.com', 'To: bob@you.com'] # - # source://mail//lib/mail/header.rb#90 + # pkg:gem/mail#lib/mail/header.rb:90 def fields=(unfolded_fields); end # Returns true if the header has a Content-ID defined (empty or not) # # @return [Boolean] # - # source://mail//lib/mail/header.rb#209 + # pkg:gem/mail#lib/mail/header.rb:209 def has_content_id?; end # Returns true if the header has a Date defined (empty or not) # # @return [Boolean] # - # source://mail//lib/mail/header.rb#214 + # pkg:gem/mail#lib/mail/header.rb:214 def has_date?; end # Returns true if the header has a Message-ID defined (empty or not) # # @return [Boolean] # - # source://mail//lib/mail/header.rb#204 + # pkg:gem/mail#lib/mail/header.rb:204 def has_message_id?; end # Returns true if the header has a MIME version defined (empty or not) # # @return [Boolean] # - # source://mail//lib/mail/header.rb#219 + # pkg:gem/mail#lib/mail/header.rb:219 def has_mime_version?; end # Returns the value of attribute raw_source. # - # source://mail//lib/mail/header.rb#39 + # pkg:gem/mail#lib/mail/header.rb:39 def raw_source; end - # source://mail//lib/mail/header.rb#191 + # pkg:gem/mail#lib/mail/header.rb:191 def to_s; end private # Enumerable support. Yield each field in order. # - # source://mail//lib/mail/header.rb#233 + # pkg:gem/mail#lib/mail/header.rb:233 def each(&block); end - # source://mail//lib/mail/header.rb#59 + # pkg:gem/mail#lib/mail/header.rb:59 def initialize_copy(original); end # Splits an unfolded and line break cleaned header into individual field # strings. # - # source://mail//lib/mail/header.rb#227 + # pkg:gem/mail#lib/mail/header.rb:227 def split_header; end class << self @@ -2624,10 +2624,10 @@ class Mail::Header # mail library. # Default: 1000 # - # source://mail//lib/mail/header.rb#31 + # pkg:gem/mail#lib/mail/header.rb:31 def maximum_amount; end - # source://mail//lib/mail/header.rb#35 + # pkg:gem/mail#lib/mail/header.rb:35 def maximum_amount=(value); end end end @@ -2666,23 +2666,23 @@ end # Mail.find(:what => :first, :count => 10, :order => :asc, :keys=>'ALL') # #=> Returns the first 10 emails in ascending order # -# source://mail//lib/mail/network/retriever_methods/imap.rb#39 +# pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:39 class Mail::IMAP < ::Mail::Retriever # @return [IMAP] a new instance of IMAP # - # source://mail//lib/mail/network/retriever_methods/imap.rb#42 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:42 def initialize(values); end # Returns the connection object of the retrievable (IMAP or POP3) # # @raise [ArgumentError] # - # source://mail//lib/mail/network/retriever_methods/imap.rb#133 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:133 def connection(&block); end # Delete all emails from a IMAP mailbox # - # source://mail//lib/mail/network/retriever_methods/imap.rb#119 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:119 def delete_all(mailbox = T.unsafe(nil)); end # Find emails in a IMAP mailbox. Without any options, the 10 last received emails are returned. @@ -2704,31 +2704,31 @@ class Mail::IMAP < ::Mail::Retriever # The default is 'ALL' # search_charset: charset to pass to IMAP server search. Omitted by default. Example: 'UTF-8' or 'ASCII'. # - # source://mail//lib/mail/network/retriever_methods/imap.rb#73 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:73 def find(options = T.unsafe(nil), &block); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/retriever_methods/imap.rb#52 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:52 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/retriever_methods/imap.rb#52 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:52 def settings=(_arg0); end private # Start an IMAP session and ensures that it will be closed in any case. # - # source://mail//lib/mail/network/retriever_methods/imap.rb#160 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:160 def start(config = T.unsafe(nil), &block); end # Set default options # - # source://mail//lib/mail/network/retriever_methods/imap.rb#144 + # pkg:gem/mail#lib/mail/network/retriever_methods/imap.rb:144 def validate_options(options); end end @@ -2758,29 +2758,29 @@ end # # mail[:in_reply_to].message_ids #=> ['F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@test.me.dom'] # -# source://mail//lib/mail/fields/in_reply_to_field.rb#31 +# pkg:gem/mail#lib/mail/fields/in_reply_to_field.rb:31 class Mail::InReplyToField < ::Mail::CommonMessageIdField # @return [InReplyToField] a new instance of InReplyToField # - # source://mail//lib/mail/fields/in_reply_to_field.rb#38 + # pkg:gem/mail#lib/mail/fields/in_reply_to_field.rb:38 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/in_reply_to_field.rb#34 + # pkg:gem/mail#lib/mail/fields/in_reply_to_field.rb:34 def singular?; end end end -# source://mail//lib/mail/fields/in_reply_to_field.rb#32 +# pkg:gem/mail#lib/mail/fields/in_reply_to_field.rb:32 Mail::InReplyToField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/indifferent_hash.rb#8 +# pkg:gem/mail#lib/mail/indifferent_hash.rb:8 class Mail::IndifferentHash < ::Hash # @return [IndifferentHash] a new instance of IndifferentHash # - # source://mail//lib/mail/indifferent_hash.rb#10 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:10 def initialize(constructor = T.unsafe(nil)); end # Assigns a new value to the hash: @@ -2788,25 +2788,25 @@ class Mail::IndifferentHash < ::Hash # hash = HashWithIndifferentAccess.new # hash[:key] = "value" # - # source://mail//lib/mail/indifferent_hash.rb#41 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:41 def []=(key, value); end - # source://mail//lib/mail/indifferent_hash.rb#19 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:19 def default(key = T.unsafe(nil)); end # Removes a specified key from the hash. # - # source://mail//lib/mail/indifferent_hash.rb#117 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:117 def delete(key); end # Returns an exact copy of the hash. # - # source://mail//lib/mail/indifferent_hash.rb#96 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:96 def dup; end # Fetches the value for the specified key, same as doing hash[key] # - # source://mail//lib/mail/indifferent_hash.rb#80 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:80 def fetch(key, *extras); end # Checks the hash for a key matching the argument passed in: @@ -2818,7 +2818,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#76 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:76 def has_key?(key); end # Checks the hash for a key matching the argument passed in: @@ -2830,7 +2830,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#75 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:75 def include?(key); end # Checks the hash for a key matching the argument passed in: @@ -2842,7 +2842,7 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#71 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:71 def key?(key); end # Checks the hash for a key matching the argument passed in: @@ -2854,13 +2854,13 @@ class Mail::IndifferentHash < ::Hash # # @return [Boolean] # - # source://mail//lib/mail/indifferent_hash.rb#77 + # pkg:gem/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 # Does not overwrite the existing hash. # - # source://mail//lib/mail/indifferent_hash.rb#102 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:102 def merge(hash); end # Updates the instantized hash with values from the second: @@ -2873,22 +2873,22 @@ class Mail::IndifferentHash < ::Hash # # hash_1.update(hash_2) # => {"key"=>"New Value!"} # - # source://mail//lib/mail/indifferent_hash.rb#62 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:62 def merge!(other_hash); end - # source://mail//lib/mail/indifferent_hash.rb#34 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:34 def regular_update(*_arg0); end - # source://mail//lib/mail/indifferent_hash.rb#33 + # pkg:gem/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. # This overloaded definition prevents returning a regular hash, if reverse_merge is called on a HashWithDifferentAccess. # - # source://mail//lib/mail/indifferent_hash.rb#108 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:108 def reverse_merge(other_hash); end - # source://mail//lib/mail/indifferent_hash.rb#112 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:112 def reverse_merge!(other_hash); end # Assigns a new value to the hash: @@ -2896,22 +2896,22 @@ class Mail::IndifferentHash < ::Hash # hash = HashWithIndifferentAccess.new # hash[:key] = "value" # - # source://mail//lib/mail/indifferent_hash.rb#45 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:45 def store(key, value); end - # source://mail//lib/mail/indifferent_hash.rb#122 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:122 def stringify_keys; end - # source://mail//lib/mail/indifferent_hash.rb#121 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:121 def stringify_keys!; end - # source://mail//lib/mail/indifferent_hash.rb#123 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:123 def symbolize_keys; end - # source://mail//lib/mail/indifferent_hash.rb#126 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:126 def to_hash; end - # source://mail//lib/mail/indifferent_hash.rb#124 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:124 def to_options!; end # Updates the instantized hash with values from the second: @@ -2924,7 +2924,7 @@ class Mail::IndifferentHash < ::Hash # # hash_1.update(hash_2) # => {"key"=>"New Value!"} # - # source://mail//lib/mail/indifferent_hash.rb#57 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:57 def update(other_hash); end # Returns an array of the values at the specified indices: @@ -2934,264 +2934,264 @@ class Mail::IndifferentHash < ::Hash # hash[:b] = "y" # hash.values_at("a", "b") # => ["x", "y"] # - # source://mail//lib/mail/indifferent_hash.rb#91 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:91 def values_at(*indices); end protected - # source://mail//lib/mail/indifferent_hash.rb#132 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:132 def convert_key(key); end - # source://mail//lib/mail/indifferent_hash.rb#136 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:136 def convert_value(value); end class << self - # source://mail//lib/mail/indifferent_hash.rb#27 + # pkg:gem/mail#lib/mail/indifferent_hash.rb:27 def new_from_hash_copying_default(hash); end end end # keywords = "Keywords:" phrase *("," phrase) CRLF # -# source://mail//lib/mail/fields/keywords_field.rb#7 +# pkg:gem/mail#lib/mail/fields/keywords_field.rb:7 class Mail::KeywordsField < ::Mail::NamedStructuredField - # source://mail//lib/mail/fields/keywords_field.rb#18 + # pkg:gem/mail#lib/mail/fields/keywords_field.rb:18 def default; end - # source://mail//lib/mail/fields/keywords_field.rb#10 + # pkg:gem/mail#lib/mail/fields/keywords_field.rb:10 def element; end - # source://mail//lib/mail/fields/keywords_field.rb#14 + # pkg:gem/mail#lib/mail/fields/keywords_field.rb:14 def keywords; end private - # source://mail//lib/mail/fields/keywords_field.rb#23 + # pkg:gem/mail#lib/mail/fields/keywords_field.rb:23 def do_decode; end - # source://mail//lib/mail/fields/keywords_field.rb#27 + # pkg:gem/mail#lib/mail/fields/keywords_field.rb:27 def do_encode; end end -# source://mail//lib/mail/fields/keywords_field.rb#8 +# pkg:gem/mail#lib/mail/fields/keywords_field.rb:8 Mail::KeywordsField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#4 +# pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:4 class Mail::LoggerDelivery # @return [LoggerDelivery] a new instance of LoggerDelivery # - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#7 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:7 def initialize(settings); end - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#13 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:13 def deliver!(mail); end # Returns the value of attribute logger. # - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#5 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:5 def logger; end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#5 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:5 def settings; end # Returns the value of attribute severity. # - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#5 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:5 def severity; end private - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#18 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:18 def default_logger; end - # source://mail//lib/mail/network/delivery_methods/logger_delivery.rb#23 + # pkg:gem/mail#lib/mail/network/delivery_methods/logger_delivery.rb:23 def derive_severity(severity); end end -# source://mail//lib/mail/matchers/has_sent_mail.rb#3 +# pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:3 module Mail::Matchers - # source://mail//lib/mail/matchers/attachment_matchers.rb#8 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:8 def an_attachment_with_filename(filename); end - # source://mail//lib/mail/matchers/attachment_matchers.rb#12 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:12 def an_attachment_with_mime_type(filename); end - # source://mail//lib/mail/matchers/attachment_matchers.rb#4 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:4 def any_attachment; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#4 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:4 def have_sent_email; end end -# source://mail//lib/mail/matchers/attachment_matchers.rb#16 +# pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:16 class Mail::Matchers::AnyAttachmentMatcher - # source://mail//lib/mail/matchers/attachment_matchers.rb#17 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:17 def ===(other); end end -# source://mail//lib/mail/matchers/attachment_matchers.rb#22 +# pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:22 class Mail::Matchers::AttachmentFilenameMatcher # @return [AttachmentFilenameMatcher] a new instance of AttachmentFilenameMatcher # - # source://mail//lib/mail/matchers/attachment_matchers.rb#24 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:24 def initialize(filename); end - # source://mail//lib/mail/matchers/attachment_matchers.rb#28 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:28 def ===(other); end # Returns the value of attribute filename. # - # source://mail//lib/mail/matchers/attachment_matchers.rb#23 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:23 def filename; end end -# source://mail//lib/mail/matchers/attachment_matchers.rb#33 +# pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:33 class Mail::Matchers::AttachmentMimeTypeMatcher # @return [AttachmentMimeTypeMatcher] a new instance of AttachmentMimeTypeMatcher # - # source://mail//lib/mail/matchers/attachment_matchers.rb#35 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:35 def initialize(mime_type); end - # source://mail//lib/mail/matchers/attachment_matchers.rb#39 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:39 def ===(other); end # Returns the value of attribute mime_type. # - # source://mail//lib/mail/matchers/attachment_matchers.rb#34 + # pkg:gem/mail#lib/mail/matchers/attachment_matchers.rb:34 def mime_type; end end -# source://mail//lib/mail/matchers/has_sent_mail.rb#8 +# pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:8 class Mail::Matchers::HasSentEmailMatcher # @return [HasSentEmailMatcher] a new instance of HasSentEmailMatcher # - # source://mail//lib/mail/matchers/has_sent_mail.rb#9 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:9 def initialize(_context); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#44 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:44 def bcc(recipient_or_list); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#33 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:33 def cc(recipient_or_list); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#96 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:96 def description; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#101 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:101 def failure_message; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#108 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:108 def failure_message_when_negated; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#17 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:17 def from(sender); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#12 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:12 def matches?(subject); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#81 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:81 def matching_body(body_matcher); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#71 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:71 def matching_subject(subject_matcher); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#22 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:22 def to(recipient_or_list); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#61 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:61 def with_any_attachments; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#50 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:50 def with_attachments(attachments); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#76 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:76 def with_body(body); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#86 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:86 def with_html(body); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#56 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:56 def with_no_attachments; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#66 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:66 def with_subject(subject); end - # source://mail//lib/mail/matchers/has_sent_mail.rb#91 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:91 def with_text(body); end protected - # source://mail//lib/mail/matchers/has_sent_mail.rb#196 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:196 def dump_deliveries; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#181 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:181 def explain_expectations; end - # source://mail//lib/mail/matchers/has_sent_mail.rb#117 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:117 def filter_matched_deliveries(deliveries); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#159 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:159 def matches_on_attachments?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#142 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:142 def matches_on_blind_copy_recipients?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#165 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:165 def matches_on_body?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#169 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:169 def matches_on_body_matcher?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#138 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:138 def matches_on_copy_recipients?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#154 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:154 def matches_on_having_attachments?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#173 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:173 def matches_on_html_part_body?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#134 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:134 def matches_on_recipients?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#130 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:130 def matches_on_sender?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#146 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:146 def matches_on_subject?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#150 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:150 def matches_on_subject_matcher?(delivery); end # @return [Boolean] # - # source://mail//lib/mail/matchers/has_sent_mail.rb#177 + # pkg:gem/mail#lib/mail/matchers/has_sent_mail.rb:177 def matches_on_text_part_body?(delivery); end end @@ -3238,7 +3238,7 @@ end # follows the header and is separated from the header by an empty line # (i.e., a line with nothing preceding the CRLF). # -# source://mail//lib/mail/message.rb#50 +# pkg:gem/mail#lib/mail/message.rb:50 class Mail::Message # ==Making an email # @@ -3298,7 +3298,7 @@ class Mail::Message # # @return [Message] a new instance of Message # - # source://mail//lib/mail/message.rb#107 + # pkg:gem/mail#lib/mail/message.rb:107 def initialize(*args, &block); end # Provides the operator needed for sort et al. @@ -3316,7 +3316,7 @@ class Mail::Message # end # [mail2, mail1].sort #=> [mail2, mail1] # - # source://mail//lib/mail/message.rb#334 + # pkg:gem/mail#lib/mail/message.rb:334 def <=>(other); end # Two emails are the same if they have the same fields and body contents. One @@ -3351,7 +3351,7 @@ class Mail::Message # m2 = Mail.new("Message-ID: \r\nSubject: Hello\r\n\r\nHello") # m1 == m2 #=> false # - # source://mail//lib/mail/message.rb#373 + # pkg:gem/mail#lib/mail/message.rb:373 def ==(other); end # Allows you to read an arbitrary header @@ -3361,7 +3361,7 @@ class Mail::Message # mail['foo'] = '1234' # mail['foo'].to_s #=> '1234' # - # source://mail//lib/mail/message.rb#1334 + # pkg:gem/mail#lib/mail/message.rb:1334 def [](name); end # Allows you to add an arbitrary header @@ -3371,29 +3371,29 @@ class Mail::Message # mail['foo'] = '1234' # mail['foo'].to_s #=> '1234' # - # source://mail//lib/mail/message.rb#1316 + # pkg:gem/mail#lib/mail/message.rb:1316 def []=(name, value); end - # source://mail//lib/mail/message.rb#1558 + # pkg:gem/mail#lib/mail/message.rb:1558 def action; end # Adds a content type and charset if the body is US-ASCII # # Otherwise raises a warning # - # source://mail//lib/mail/message.rb#1472 + # pkg:gem/mail#lib/mail/message.rb:1472 def add_charset; end # Adds a content transfer encoding # - # source://mail//lib/mail/message.rb#1487 + # pkg:gem/mail#lib/mail/message.rb:1487 def add_content_transfer_encoding; end # Adds a content type and charset if the body is US-ASCII # # Otherwise raises a warning # - # source://mail//lib/mail/message.rb#1465 + # pkg:gem/mail#lib/mail/message.rb:1465 def add_content_type; end # Creates a new empty Date field and inserts it in the correct order @@ -3403,7 +3403,7 @@ class Mail::Message # # It will preserve any date you specify if you do. # - # source://mail//lib/mail/message.rb#1448 + # pkg:gem/mail#lib/mail/message.rb:1448 def add_date(date_val = T.unsafe(nil)); end # Adds a file to the message. You have two options with this method, you can @@ -3436,7 +3436,7 @@ class Mail::Message # # See also #attachments # - # source://mail//lib/mail/message.rb#1757 + # pkg:gem/mail#lib/mail/message.rb:1757 def add_file(values); end # Creates a new empty Message-ID field and inserts it in the correct order @@ -3446,7 +3446,7 @@ class Mail::Message # # It will preserve the message ID you specify if you do. # - # source://mail//lib/mail/message.rb#1438 + # pkg:gem/mail#lib/mail/message.rb:1438 def add_message_id(msg_id_val = T.unsafe(nil)); end # Creates a new empty Mime Version field and inserts it in the correct order @@ -3456,20 +3456,20 @@ class Mail::Message # # It will preserve any date you specify if you do. # - # source://mail//lib/mail/message.rb#1458 + # pkg:gem/mail#lib/mail/message.rb:1458 def add_mime_version(ver_val = T.unsafe(nil)); end # Adds a part to the parts list or creates the part list # - # source://mail//lib/mail/message.rb#1701 + # pkg:gem/mail#lib/mail/message.rb:1701 def add_part(part); end - # source://mail//lib/mail/message.rb#1927 + # pkg:gem/mail#lib/mail/message.rb:1927 def all_parts; end # Returns the attachment data if there is any # - # source://mail//lib/mail/message.rb#1918 + # pkg:gem/mail#lib/mail/message.rb:1918 def attachment; end # Returns true if this part is an attachment, @@ -3477,7 +3477,7 @@ class Mail::Message # # @return [Boolean] # - # source://mail//lib/mail/message.rb#1913 + # pkg:gem/mail#lib/mail/message.rb:1913 def attachment?; end # Returns an AttachmentsList object, which holds all of the attachments in @@ -3514,7 +3514,7 @@ class Mail::Message # # or by index # mail.attachments[0] #=> Mail::Part (first attachment) # - # source://mail//lib/mail/message.rb#1626 + # pkg:gem/mail#lib/mail/message.rb:1626 def attachments; end # Returns the Bcc value of the mail object as an array of strings of @@ -3543,7 +3543,7 @@ class Mail::Message # mail.bcc << 'ada@test.lindsaar.net' # mail.bcc #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#500 + # pkg:gem/mail#lib/mail/message.rb:500 def bcc(val = T.unsafe(nil)); end # Sets the Bcc value of the mail object, pass in a string of the field @@ -3555,13 +3555,13 @@ class Mail::Message # mail.bcc = 'Mikel , ada@test.lindsaar.net' # mail.bcc #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#512 + # pkg:gem/mail#lib/mail/message.rb:512 def bcc=(val); end # Returns an array of addresses (the encoded value) in the Bcc field, # if no Bcc field, returns an empty array # - # source://mail//lib/mail/message.rb#1306 + # pkg:gem/mail#lib/mail/message.rb:1306 def bcc_addrs; end # Returns the body of the message object. Or, if passed @@ -3575,7 +3575,7 @@ class Mail::Message # mail.body 'This is another body' # mail.body #=> # <#Mail::Header # - # source://mail//lib/mail/message.rb#428 + # pkg:gem/mail#lib/mail/message.rb:428 def header=(value); end # Returns an FieldList of all the fields in the header in the order that # they appear in the header # - # source://mail//lib/mail/message.rb#1396 + # pkg:gem/mail#lib/mail/message.rb:1396 def header_fields; end # Provides a way to set custom headers, by passing in a hash # - # source://mail//lib/mail/message.rb#448 + # pkg:gem/mail#lib/mail/message.rb:448 def headers(hash = T.unsafe(nil)); end # Accessor for html_part # - # source://mail//lib/mail/message.rb#1635 + # pkg:gem/mail#lib/mail/message.rb:1635 def html_part(&block); end # Helper to add a html part to a multipart/alternative email. If this and # text_part are both defined in a message, then it will be a multipart/alternative # message and set itself that way. # - # source://mail//lib/mail/message.rb#1655 + # pkg:gem/mail#lib/mail/message.rb:1655 def html_part=(msg); end - # source://mail//lib/mail/message.rb#674 + # pkg:gem/mail#lib/mail/message.rb:674 def in_reply_to(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#678 + # pkg:gem/mail#lib/mail/message.rb:678 def in_reply_to=(val); end - # source://mail//lib/mail/message.rb#240 + # pkg:gem/mail#lib/mail/message.rb:240 def inform_interceptors; end - # source://mail//lib/mail/message.rb#236 + # pkg:gem/mail#lib/mail/message.rb:236 def inform_observers; end - # source://mail//lib/mail/message.rb#1873 + # pkg:gem/mail#lib/mail/message.rb:1873 def inspect; end - # source://mail//lib/mail/message.rb#1877 + # pkg:gem/mail#lib/mail/message.rb:1877 def inspect_structure; end # Returns whether message will be marked for deletion. @@ -4108,18 +4108,18 @@ class Mail::Message # # @return [Boolean] # - # source://mail//lib/mail/message.rb#1960 + # pkg:gem/mail#lib/mail/message.rb:1960 def is_marked_for_delete?; end - # source://mail//lib/mail/message.rb#682 + # pkg:gem/mail#lib/mail/message.rb:682 def keywords(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#686 + # pkg:gem/mail#lib/mail/message.rb:686 def keywords=(val); end # Returns the main content type # - # source://mail//lib/mail/message.rb#1513 + # pkg:gem/mail#lib/mail/message.rb:1513 def main_type; end # Sets whether this message should be deleted at session close (i.e. @@ -4127,7 +4127,7 @@ class Mail::Message # using the #find_and_delete method, or by calling #find with # :delete_after_find set to true. # - # source://mail//lib/mail/message.rb#1947 + # pkg:gem/mail#lib/mail/message.rb:1947 def mark_for_delete=(value = T.unsafe(nil)); end # Returns the Message-ID of the mail object. Note, per RFC 2822 the Message ID @@ -4144,7 +4144,7 @@ class Mail::Message # mail.message_id '<1234@message.id>' # mail.message_id #=> '1234@message.id' # - # source://mail//lib/mail/message.rb#703 + # pkg:gem/mail#lib/mail/message.rb:703 def message_id(val = T.unsafe(nil)); end # Sets the Message-ID. Note, per RFC 2822 the Message ID consists of what is INSIDE @@ -4153,7 +4153,7 @@ class Mail::Message # mail.message_id = '<1234@message.id>' # mail.message_id #=> '1234@message.id' # - # source://mail//lib/mail/message.rb#712 + # pkg:gem/mail#lib/mail/message.rb:712 def message_id=(val); end # Method Missing in this implementation allows you to set any of the @@ -4196,12 +4196,12 @@ class Mail::Message # mail.resent_msg_id '<4567@resent_msg_id.lindsaar.net>' # mail.resent_msg_id #=> '<4567@resent_msg_id.lindsaar.net>' # - # source://mail//lib/mail/message.rb#1377 + # pkg:gem/mail#lib/mail/message.rb:1377 def method_missing(name, *args, &block); end # Returns the MIME media type of part we are on, this is taken from the content-type header # - # source://mail//lib/mail/message.rb#1492 + # pkg:gem/mail#lib/mail/message.rb:1492 def mime_type; end # Returns the MIME version of the email as a string @@ -4218,7 +4218,7 @@ class Mail::Message # mail.mime_version '1.0' # mail.mime_version #=> '1.0' # - # source://mail//lib/mail/message.rb#729 + # pkg:gem/mail#lib/mail/message.rb:729 def mime_version(val = T.unsafe(nil)); end # Sets the MIME version of the email by accepting a string @@ -4228,21 +4228,21 @@ class Mail::Message # mail.mime_version = '1.0' # mail.mime_version #=> '1.0' # - # source://mail//lib/mail/message.rb#739 + # pkg:gem/mail#lib/mail/message.rb:739 def mime_version=(val); end # Returns true if the message is multipart # # @return [Boolean] # - # source://mail//lib/mail/message.rb#1528 + # pkg:gem/mail#lib/mail/message.rb:1528 def multipart?; end # Returns true if the message is a multipart/report # # @return [Boolean] # - # source://mail//lib/mail/message.rb#1533 + # pkg:gem/mail#lib/mail/message.rb:1533 def multipart_report?; end # Allows you to add a part in block form to an existing mail message object @@ -4258,12 +4258,12 @@ class Mail::Message # # @yield [new_part] # - # source://mail//lib/mail/message.rb#1722 + # pkg:gem/mail#lib/mail/message.rb:1722 def part(params = T.unsafe(nil)); end # Returns a parts list object of all the parts in the message # - # source://mail//lib/mail/message.rb#1588 + # pkg:gem/mail#lib/mail/message.rb:1588 def parts; end # If set to false, mail will go through the motions of doing a delivery, @@ -4289,7 +4289,7 @@ class Mail::Message # This setting is ignored by mail (though still available as a flag) if you # define a delivery_handler # - # source://mail//lib/mail/message.rb#223 + # pkg:gem/mail#lib/mail/message.rb:223 def perform_deliveries; end # If set to false, mail will go through the motions of doing a delivery, @@ -4315,7 +4315,7 @@ class Mail::Message # This setting is ignored by mail (though still available as a flag) if you # define a delivery_handler # - # source://mail//lib/mail/message.rb#223 + # pkg:gem/mail#lib/mail/message.rb:223 def perform_deliveries=(_arg0); end # If set to false, mail will silently catch and ignore any exceptions @@ -4324,7 +4324,7 @@ class Mail::Message # This setting is ignored by mail (though still available as a flag) if you # define a delivery_handler # - # source://mail//lib/mail/message.rb#230 + # pkg:gem/mail#lib/mail/message.rb:230 def raise_delivery_errors; end # If set to false, mail will silently catch and ignore any exceptions @@ -4333,14 +4333,14 @@ class Mail::Message # This setting is ignored by mail (though still available as a flag) if you # define a delivery_handler # - # source://mail//lib/mail/message.rb#230 + # pkg:gem/mail#lib/mail/message.rb:230 def raise_delivery_errors=(_arg0); end # The raw_envelope is the From mikel@test.lindsaar.net Mon May 2 16:07:05 2009 # type field that you can see at the top of any email that has come # from a mailbox # - # source://mail//lib/mail/message.rb#410 + # pkg:gem/mail#lib/mail/message.rb:410 def raw_envelope; end # Provides access to the raw source of the message as it was when it @@ -4352,34 +4352,34 @@ class Mail::Message # mail = Mail.new('This is an invalid email message') # mail.raw_source #=> "This is an invalid email message" # - # source://mail//lib/mail/message.rb#397 + # pkg:gem/mail#lib/mail/message.rb:397 def raw_source; end - # source://mail//lib/mail/message.rb#1899 + # pkg:gem/mail#lib/mail/message.rb:1899 def read; end # Encodes the message, calls encode on all its parts, gets an email message # ready to send # - # source://mail//lib/mail/message.rb#1791 + # pkg:gem/mail#lib/mail/message.rb:1791 def ready_to_send!; end - # source://mail//lib/mail/message.rb#743 + # pkg:gem/mail#lib/mail/message.rb:743 def received(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#751 + # pkg:gem/mail#lib/mail/message.rb:751 def received=(val); end - # source://mail//lib/mail/message.rb#755 + # pkg:gem/mail#lib/mail/message.rb:755 def references(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#759 + # pkg:gem/mail#lib/mail/message.rb:759 def references=(val); end - # source://mail//lib/mail/message.rb#1574 + # pkg:gem/mail#lib/mail/message.rb:1574 def remote_mta; end - # source://mail//lib/mail/message.rb#282 + # pkg:gem/mail#lib/mail/message.rb:282 def reply(*args, &block); end # Returns the Reply-To value of the mail object as an array of strings of @@ -4408,7 +4408,7 @@ class Mail::Message # mail.reply_to << 'ada@test.lindsaar.net' # mail.reply_to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#788 + # pkg:gem/mail#lib/mail/message.rb:788 def reply_to(val = T.unsafe(nil)); end # Sets the Reply-To value of the mail object, pass in a string of the field @@ -4420,7 +4420,7 @@ class Mail::Message # mail.reply_to = 'Mikel , ada@test.lindsaar.net' # mail.reply_to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#800 + # pkg:gem/mail#lib/mail/message.rb:800 def reply_to=(val); end # Returns the Resent-Bcc value of the mail object as an array of strings of @@ -4449,7 +4449,7 @@ class Mail::Message # mail.resent_bcc << 'ada@test.lindsaar.net' # mail.resent_bcc #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#829 + # pkg:gem/mail#lib/mail/message.rb:829 def resent_bcc(val = T.unsafe(nil)); end # Sets the Resent-Bcc value of the mail object, pass in a string of the field @@ -4461,7 +4461,7 @@ class Mail::Message # mail.resent_bcc = 'Mikel , ada@test.lindsaar.net' # mail.resent_bcc #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#841 + # pkg:gem/mail#lib/mail/message.rb:841 def resent_bcc=(val); end # Returns the Resent-Cc value of the mail object as an array of strings of @@ -4490,7 +4490,7 @@ class Mail::Message # mail.resent_cc << 'ada@test.lindsaar.net' # mail.resent_cc #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#870 + # pkg:gem/mail#lib/mail/message.rb:870 def resent_cc(val = T.unsafe(nil)); end # Sets the Resent-Cc value of the mail object, pass in a string of the field @@ -4502,13 +4502,13 @@ class Mail::Message # mail.resent_cc = 'Mikel , ada@test.lindsaar.net' # mail.resent_cc #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#882 + # pkg:gem/mail#lib/mail/message.rb:882 def resent_cc=(val); end - # source://mail//lib/mail/message.rb#886 + # pkg:gem/mail#lib/mail/message.rb:886 def resent_date(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#890 + # pkg:gem/mail#lib/mail/message.rb:890 def resent_date=(val); end # Returns the Resent-From value of the mail object as an array of strings of @@ -4537,7 +4537,7 @@ class Mail::Message # mail.resent_from << 'ada@test.lindsaar.net' # mail.resent_from #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#919 + # pkg:gem/mail#lib/mail/message.rb:919 def resent_from(val = T.unsafe(nil)); end # Sets the Resent-From value of the mail object, pass in a string of the field @@ -4549,13 +4549,13 @@ class Mail::Message # mail.resent_from = 'Mikel , ada@test.lindsaar.net' # mail.resent_from #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#931 + # pkg:gem/mail#lib/mail/message.rb:931 def resent_from=(val); end - # source://mail//lib/mail/message.rb#935 + # pkg:gem/mail#lib/mail/message.rb:935 def resent_message_id(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#939 + # pkg:gem/mail#lib/mail/message.rb:939 def resent_message_id=(val); end # Returns the Resent-Sender value of the mail object, as a single string of an address @@ -4574,7 +4574,7 @@ class Mail::Message # mail.resent_sender 'Mikel ' # mail.resent_sender #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/message.rb#958 + # pkg:gem/mail#lib/mail/message.rb:958 def resent_sender(val = T.unsafe(nil)); end # Sets the Resent-Sender value of the mail object, pass in a string of the field @@ -4584,7 +4584,7 @@ class Mail::Message # mail.resent_sender = 'Mikel ' # mail.resent_sender #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/message.rb#968 + # pkg:gem/mail#lib/mail/message.rb:968 def resent_sender=(val); end # Returns the Resent-To value of the mail object as an array of strings of @@ -4613,7 +4613,7 @@ class Mail::Message # mail.resent_to << 'ada@test.lindsaar.net' # mail.resent_to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#997 + # pkg:gem/mail#lib/mail/message.rb:997 def resent_to(val = T.unsafe(nil)); end # Sets the Resent-To value of the mail object, pass in a string of the field @@ -4625,22 +4625,22 @@ class Mail::Message # mail.resent_to = 'Mikel , ada@test.lindsaar.net' # mail.resent_to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#1009 + # pkg:gem/mail#lib/mail/message.rb:1009 def resent_to=(val); end # @return [Boolean] # - # source://mail//lib/mail/message.rb#1578 + # pkg:gem/mail#lib/mail/message.rb:1578 def retryable?; end # Returns the return path of the mail object, or sets it if you pass a string # - # source://mail//lib/mail/message.rb#1014 + # pkg:gem/mail#lib/mail/message.rb:1014 def return_path(val = T.unsafe(nil)); end # Sets the return path of the object # - # source://mail//lib/mail/message.rb#1019 + # pkg:gem/mail#lib/mail/message.rb:1019 def return_path=(val); end # Returns the Sender value of the mail object, as a single string of an address @@ -4658,7 +4658,7 @@ class Mail::Message # mail.sender 'Mikel ' # mail.sender #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/message.rb#1037 + # pkg:gem/mail#lib/mail/message.rb:1037 def sender(val = T.unsafe(nil)); end # Sets the Sender value of the mail object, pass in a string of the field @@ -4668,12 +4668,12 @@ class Mail::Message # mail.sender = 'Mikel ' # mail.sender #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/message.rb#1047 + # pkg:gem/mail#lib/mail/message.rb:1047 def sender=(val); end # Sets the envelope from for the email # - # source://mail//lib/mail/message.rb#402 + # pkg:gem/mail#lib/mail/message.rb:402 def set_envelope(val); end # Skips the deletion of this message. All other messages @@ -4681,7 +4681,7 @@ class Mail::Message # #find exits). Only has an effect if you're using #find_and_delete # or #find with :delete_after_find set to true. # - # source://mail//lib/mail/message.rb#1939 + # pkg:gem/mail#lib/mail/message.rb:1939 def skip_deletion; end # Returns the SMTP Envelope From value of the mail object, as a single @@ -4701,7 +4701,7 @@ class Mail::Message # mail.smtp_envelope_from 'Mikel ' # mail.smtp_envelope_from #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/message.rb#1067 + # pkg:gem/mail#lib/mail/message.rb:1067 def smtp_envelope_from(val = T.unsafe(nil)); end # Sets the From address on the SMTP Envelope. @@ -4711,7 +4711,7 @@ class Mail::Message # mail.smtp_envelope_from = 'Mikel ' # mail.smtp_envelope_from #=> 'mikel@test.lindsaar.net' # - # source://mail//lib/mail/message.rb#1081 + # pkg:gem/mail#lib/mail/message.rb:1081 def smtp_envelope_from=(val); end # Returns the SMTP Envelope To value of the mail object. @@ -4730,7 +4730,7 @@ class Mail::Message # mail.smtp_envelope_to ['Mikel ', 'Lindsaar '] # mail.smtp_envelope_to #=> ['mikel@test.lindsaar.net', 'lindsaar@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#1100 + # pkg:gem/mail#lib/mail/message.rb:1100 def smtp_envelope_to(val = T.unsafe(nil)); end # Sets the To addresses on the SMTP Envelope. @@ -4743,12 +4743,12 @@ class Mail::Message # mail.smtp_envelope_to = ['Mikel ', 'Lindsaar '] # mail.smtp_envelope_to #=> ['mikel@test.lindsaar.net', 'lindsaar@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#1117 + # pkg:gem/mail#lib/mail/message.rb:1117 def smtp_envelope_to=(val); end # Returns the sub content type # - # source://mail//lib/mail/message.rb#1518 + # pkg:gem/mail#lib/mail/message.rb:1518 def sub_type; end # Returns the decoded value of the subject field, as a single string. @@ -4767,7 +4767,7 @@ class Mail::Message # mail.subject "G'Day mate" # mail.subject #=> "G'Day mate" # - # source://mail//lib/mail/message.rb#1142 + # pkg:gem/mail#lib/mail/message.rb:1142 def subject(val = T.unsafe(nil)); end # Sets the Subject value of the mail object, pass in a string of the field @@ -4777,24 +4777,24 @@ class Mail::Message # mail.subject = '=?UTF-8?Q?This_is_=E3=81=82_string?=' # mail.subject #=> "This is あ string" # - # source://mail//lib/mail/message.rb#1152 + # pkg:gem/mail#lib/mail/message.rb:1152 def subject=(val); end # @return [Boolean] # - # source://mail//lib/mail/message.rb#1964 + # pkg:gem/mail#lib/mail/message.rb:1964 def text?; end # Accessor for text_part # - # source://mail//lib/mail/message.rb#1644 + # pkg:gem/mail#lib/mail/message.rb:1644 def text_part(&block); end # Helper to add a text part to a multipart/alternative email. If this and # html_part are both defined in a message, then it will be a multipart/alternative # message and set itself that way. # - # source://mail//lib/mail/message.rb#1679 + # pkg:gem/mail#lib/mail/message.rb:1679 def text_part=(msg); end # Returns the To value of the mail object as an array of strings of @@ -4823,7 +4823,7 @@ class Mail::Message # mail.to << 'ada@test.lindsaar.net' # mail.to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#1181 + # pkg:gem/mail#lib/mail/message.rb:1181 def to(val = T.unsafe(nil)); end # Sets the To value of the mail object, pass in a string of the field @@ -4835,79 +4835,79 @@ class Mail::Message # mail.to = 'Mikel , ada@test.lindsaar.net' # mail.to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # - # source://mail//lib/mail/message.rb#1193 + # pkg:gem/mail#lib/mail/message.rb:1193 def to=(val); end # Returns an array of addresses (the encoded value) in the To field, # if no To field, returns an empty array # - # source://mail//lib/mail/message.rb#1294 + # pkg:gem/mail#lib/mail/message.rb:1294 def to_addrs; end - # source://mail//lib/mail/message.rb#1869 + # pkg:gem/mail#lib/mail/message.rb:1869 def to_s; end - # source://mail//lib/mail/message.rb#1823 + # pkg:gem/mail#lib/mail/message.rb:1823 def to_yaml(opts = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#621 + # pkg:gem/mail#lib/mail/message.rb:621 def transport_encoding(val = T.unsafe(nil)); end - # source://mail//lib/mail/message.rb#629 + # pkg:gem/mail#lib/mail/message.rb:629 def transport_encoding=(val); end - # source://mail//lib/mail/message.rb#1811 + # pkg:gem/mail#lib/mail/message.rb:1811 def without_attachments!; end private - # source://mail//lib/mail/message.rb#2067 + # pkg:gem/mail#lib/mail/message.rb:2067 def add_boundary; end - # source://mail//lib/mail/message.rb#2032 + # pkg:gem/mail#lib/mail/message.rb:2032 def add_encoding_to_body; end - # source://mail//lib/mail/message.rb#2062 + # pkg:gem/mail#lib/mail/message.rb:2062 def add_multipart_alternate_header; end - # source://mail//lib/mail/message.rb#2079 + # pkg:gem/mail#lib/mail/message.rb:2079 def add_multipart_mixed_header; end - # source://mail//lib/mail/message.rb#2048 + # pkg:gem/mail#lib/mail/message.rb:2048 def add_required_fields; end - # source://mail//lib/mail/message.rb#2056 + # pkg:gem/mail#lib/mail/message.rb:2056 def add_required_message_fields; end - # source://mail//lib/mail/message.rb#2025 + # pkg:gem/mail#lib/mail/message.rb:2025 def allowed_encodings; end # see comments to body=. We take data and process it lazily # - # source://mail//lib/mail/message.rb#1990 + # pkg:gem/mail#lib/mail/message.rb:1990 def body_lazy(value); end - # source://mail//lib/mail/message.rb#2152 + # pkg:gem/mail#lib/mail/message.rb:2152 def decode_body_as_text; end - # source://mail//lib/mail/message.rb#2142 + # pkg:gem/mail#lib/mail/message.rb:2142 def do_delivery; end # Returns the filename of the attachment (if it exists) or returns nil # - # source://mail//lib/mail/message.rb#2124 + # pkg:gem/mail#lib/mail/message.rb:2124 def find_attachment; end - # source://mail//lib/mail/message.rb#2038 + # pkg:gem/mail#lib/mail/message.rb:2038 def identify_and_set_transfer_encoding; end - # source://mail//lib/mail/message.rb#2086 + # pkg:gem/mail#lib/mail/message.rb:2086 def init_with_hash(hash); end - # source://mail//lib/mail/message.rb#2116 + # pkg:gem/mail#lib/mail/message.rb:2116 def init_with_string(string); end - # source://mail//lib/mail/message.rb#384 + # pkg:gem/mail#lib/mail/message.rb:384 def initialize_copy(original); end # 2.1. General Description @@ -4918,40 +4918,40 @@ class Mail::Message # follows the header and is separated from the header by an empty line # (i.e., a line with nothing preceding the CRLF). # - # source://mail//lib/mail/message.rb#1979 + # pkg:gem/mail#lib/mail/message.rb:1979 def parse_message; end - # source://mail//lib/mail/message.rb#2005 + # pkg:gem/mail#lib/mail/message.rb:2005 def process_body_raw; end - # source://mail//lib/mail/message.rb#1985 + # pkg:gem/mail#lib/mail/message.rb:1985 def raw_source=(value); end - # source://mail//lib/mail/message.rb#2021 + # pkg:gem/mail#lib/mail/message.rb:2021 def separate_parts; end - # source://mail//lib/mail/message.rb#2013 + # pkg:gem/mail#lib/mail/message.rb:2013 def set_envelope_header; end class << self - # source://mail//lib/mail/message.rb#232 + # pkg:gem/mail#lib/mail/message.rb:232 def default_charset; end - # source://mail//lib/mail/message.rb#233 + # pkg:gem/mail#lib/mail/message.rb:233 def default_charset=(charset); end - # source://mail//lib/mail/message.rb#1865 + # pkg:gem/mail#lib/mail/message.rb:1865 def from_hash(hash); end - # source://mail//lib/mail/message.rb#1843 + # pkg:gem/mail#lib/mail/message.rb:1843 def from_yaml(str); end end end -# source://mail//lib/mail/message.rb#1970 +# pkg:gem/mail#lib/mail/message.rb:1970 Mail::Message::HEADER_SEPARATOR = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/message.rb#1770 +# pkg:gem/mail#lib/mail/message.rb:1770 Mail::Message::MULTIPART_CONVERSION_CONTENT_FIELDS = T.let(T.unsafe(nil), Array) # Only one Message-ID field may appear in a header. @@ -4969,122 +4969,122 @@ Mail::Message::MULTIPART_CONVERSION_CONTENT_FIELDS = T.let(T.unsafe(nil), Array) # mail[:message_id].message_id #=> 'F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@test.me.dom' # mail[:message_id].message_ids #=> ['F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@test.me.dom'] # -# source://mail//lib/mail/fields/message_id_field.rb#21 +# pkg:gem/mail#lib/mail/fields/message_id_field.rb:21 class Mail::MessageIdField < ::Mail::CommonMessageIdField # @return [MessageIdField] a new instance of MessageIdField # - # source://mail//lib/mail/fields/message_id_field.rb#28 + # pkg:gem/mail#lib/mail/fields/message_id_field.rb:28 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/message_id_field.rb#33 + # pkg:gem/mail#lib/mail/fields/message_id_field.rb:33 def message_ids; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/message_id_field.rb#24 + # pkg:gem/mail#lib/mail/fields/message_id_field.rb:24 def singular?; end end end -# source://mail//lib/mail/fields/message_id_field.rb#22 +# pkg:gem/mail#lib/mail/fields/message_id_field.rb:22 Mail::MessageIdField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/message_ids_element.rb#7 +# pkg:gem/mail#lib/mail/elements/message_ids_element.rb:7 class Mail::MessageIdsElement # @return [MessageIdsElement] a new instance of MessageIdsElement # - # source://mail//lib/mail/elements/message_ids_element.rb#14 + # pkg:gem/mail#lib/mail/elements/message_ids_element.rb:14 def initialize(string); end - # source://mail//lib/mail/elements/message_ids_element.rb#18 + # pkg:gem/mail#lib/mail/elements/message_ids_element.rb:18 def message_id; end # Returns the value of attribute message_ids. # - # source://mail//lib/mail/elements/message_ids_element.rb#12 + # pkg:gem/mail#lib/mail/elements/message_ids_element.rb:12 def message_ids; end private - # source://mail//lib/mail/elements/message_ids_element.rb#23 + # pkg:gem/mail#lib/mail/elements/message_ids_element.rb:23 def parse(string); end class << self - # source://mail//lib/mail/elements/message_ids_element.rb#8 + # pkg:gem/mail#lib/mail/elements/message_ids_element.rb:8 def parse(string); end end end -# source://mail//lib/mail/elements/mime_version_element.rb#6 +# pkg:gem/mail#lib/mail/elements/mime_version_element.rb:6 class Mail::MimeVersionElement # @return [MimeVersionElement] a new instance of MimeVersionElement # - # source://mail//lib/mail/elements/mime_version_element.rb#9 + # pkg:gem/mail#lib/mail/elements/mime_version_element.rb:9 def initialize(string); end # Returns the value of attribute major. # - # source://mail//lib/mail/elements/mime_version_element.rb#7 + # pkg:gem/mail#lib/mail/elements/mime_version_element.rb:7 def major; end # Returns the value of attribute minor. # - # source://mail//lib/mail/elements/mime_version_element.rb#7 + # pkg:gem/mail#lib/mail/elements/mime_version_element.rb:7 def minor; end end -# source://mail//lib/mail/fields/mime_version_field.rb#7 +# pkg:gem/mail#lib/mail/fields/mime_version_field.rb:7 class Mail::MimeVersionField < ::Mail::NamedStructuredField # @return [MimeVersionField] a new instance of MimeVersionField # - # source://mail//lib/mail/fields/mime_version_field.rb#14 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:14 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/mime_version_field.rb#39 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:39 def decoded; end - # source://mail//lib/mail/fields/mime_version_field.rb#19 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:19 def element; end - # source://mail//lib/mail/fields/mime_version_field.rb#35 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:35 def encoded; end - # source://mail//lib/mail/fields/mime_version_field.rb#27 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:27 def major; end - # source://mail//lib/mail/fields/mime_version_field.rb#31 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:31 def minor; end - # source://mail//lib/mail/fields/mime_version_field.rb#23 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:23 def version; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/mime_version_field.rb#10 + # pkg:gem/mail#lib/mail/fields/mime_version_field.rb:10 def singular?; end end end -# source://mail//lib/mail/fields/mime_version_field.rb#8 +# pkg:gem/mail#lib/mail/fields/mime_version_field.rb:8 Mail::MimeVersionField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/multibyte/unicode.rb#3 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:3 module Mail::Multibyte class << self # Removes all invalid characters from the string. # # Note: this method is a no-op in Ruby 1.9 # - # source://mail//lib/mail/multibyte/utils.rb#36 + # pkg:gem/mail#lib/mail/multibyte/utils.rb:36 def clean(string); end # Returns true if string has valid utf-8 encoding # # @return [Boolean] # - # source://mail//lib/mail/multibyte/utils.rb#12 + # pkg:gem/mail#lib/mail/multibyte/utils.rb:12 def is_utf8?(string); end # == Multibyte proxy @@ -5121,7 +5121,7 @@ module Mail::Multibyte # For more information about the methods defined on the Chars proxy see Mail::Multibyte::Chars. For # information about how to change the default Multibyte behaviour see Mail::Multibyte. # - # source://mail//lib/mail/multibyte.rb#55 + # pkg:gem/mail#lib/mail/multibyte.rb:55 def mb_chars(str); end # The proxy class returned when calling mb_chars. You can use this accessor to configure your own proxy @@ -5131,7 +5131,7 @@ module Mail::Multibyte # Example: # Mail::Multibyte.proxy_class = CharsForUTF32 # - # source://mail//lib/mail/multibyte.rb#17 + # pkg:gem/mail#lib/mail/multibyte.rb:17 def proxy_class; end # The proxy class returned when calling mb_chars. You can use this accessor to configure your own proxy @@ -5141,27 +5141,27 @@ module Mail::Multibyte # Example: # Mail::Multibyte.proxy_class = CharsForUTF32 # - # source://mail//lib/mail/multibyte.rb#17 + # pkg:gem/mail#lib/mail/multibyte.rb:17 def proxy_class=(_arg0); end - # source://mail//lib/mail/multibyte/utils.rb#40 + # pkg:gem/mail#lib/mail/multibyte/utils.rb:40 def to_utf8(string); end # Returns a regular expression that matches valid characters in the current encoding # - # source://mail//lib/mail/multibyte/utils.rb#7 + # pkg:gem/mail#lib/mail/multibyte/utils.rb:7 def valid_character; end # Verifies the encoding of a string # - # source://mail//lib/mail/multibyte/utils.rb#24 + # pkg:gem/mail#lib/mail/multibyte/utils.rb:24 def verify(string); end # Verifies the encoding of the string and raises an exception when it's not valid # # @raise [EncodingError] # - # source://mail//lib/mail/multibyte/utils.rb#29 + # pkg:gem/mail#lib/mail/multibyte/utils.rb:29 def verify!(string); end end end @@ -5196,7 +5196,7 @@ end # # Mail::Multibyte.proxy_class = CharsForUTF32 # -# source://mail//lib/mail/multibyte/chars.rb#36 +# pkg:gem/mail#lib/mail/multibyte/chars.rb:36 class Mail::Multibyte::Chars include ::Comparable @@ -5204,7 +5204,7 @@ class Mail::Multibyte::Chars # # @return [Chars] a new instance of Chars # - # source://mail//lib/mail/multibyte/chars.rb#42 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:42 def initialize(string); end # Returns -1, 0, or 1, depending on whether the Chars object is to be sorted before, @@ -5215,10 +5215,10 @@ class Mail::Multibyte::Chars # # See String#<=> for more details. # - # source://mail//lib/mail/multibyte/chars.rb#78 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:78 def <=>(other); end - # source://mail//lib/mail/multibyte/chars.rb#82 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:82 def =~(other); end # Implements Unicode-aware slice with codepoints. Slicing on one point returns the codepoints for that @@ -5227,7 +5227,7 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('こんにちは').slice(2..3).to_s # => "にち" # - # source://mail//lib/mail/multibyte/chars.rb#169 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:169 def [](*args); end # Like String#[]=, except instead of byte offsets you specify character offsets. @@ -5244,14 +5244,14 @@ class Mail::Multibyte::Chars # s # # => "Möler" # - # source://mail//lib/mail/multibyte/chars.rb#108 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:108 def []=(*args); end # Enable more predictable duck-typing on String-like classes. See Object#acts_like?. # # @return [Boolean] # - # source://mail//lib/mail/multibyte/chars.rb#65 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:65 def acts_like_string?; end # Converts the first character to uppercase and the remainder to lowercase. @@ -5259,10 +5259,10 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('über').capitalize.to_s # => "Über" # - # source://mail//lib/mail/multibyte/chars.rb#201 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:201 def capitalize; end - # source://mail//lib/mail/multibyte/chars.rb#263 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:263 def capitalize!(*args); end # Performs composition on all the characters. @@ -5271,7 +5271,7 @@ class Mail::Multibyte::Chars # 'é'.length # => 3 # Mail::Multibyte.mb_chars('é').compose.to_s.length # => 2 # - # source://mail//lib/mail/multibyte/chars.rb#239 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:239 def compose; end # Performs canonical decomposition on all the characters. @@ -5280,7 +5280,7 @@ class Mail::Multibyte::Chars # 'é'.length # => 2 # Mail::Multibyte.mb_chars('é').decompose.to_s.length # => 3 # - # source://mail//lib/mail/multibyte/chars.rb#230 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:230 def decompose; end # Convert characters in the string to lowercase. @@ -5288,10 +5288,10 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('VĚDA A VÝZKUM').downcase.to_s # => "věda a výzkum" # - # source://mail//lib/mail/multibyte/chars.rb#193 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:193 def downcase; end - # source://mail//lib/mail/multibyte/chars.rb#263 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:263 def downcase!(*args); end # Returns the number of grapheme clusters in the string. @@ -5300,7 +5300,7 @@ class Mail::Multibyte::Chars # Mail::Multibyte.mb_chars('क्षि').length # => 4 # Mail::Multibyte.mb_chars('क्षि').g_length # => 3 # - # source://mail//lib/mail/multibyte/chars.rb#248 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:248 def g_length; end # Limit the byte size of the string to a number of bytes without breaking characters. Usable @@ -5310,12 +5310,12 @@ class Mail::Multibyte::Chars # s = 'こんにちは' # s.mb_chars.limit(7) # => "こん" # - # source://mail//lib/mail/multibyte/chars.rb#177 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:177 def limit(limit); end # Forward all undefined methods to the wrapped string. # - # source://mail//lib/mail/multibyte/chars.rb#48 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:48 def method_missing(method, *args, &block); end # Returns the KC normalization of the string by default. NFKC is considered the best normalization form for @@ -5325,7 +5325,7 @@ class Mail::Multibyte::Chars # :c, :kc, :d, or :kd. Default is # Mail::Multibyte::Unicode.default_normalization_form # - # source://mail//lib/mail/multibyte/chars.rb#221 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:221 def normalize(form = T.unsafe(nil)); end # Returns +true+ if _obj_ responds to the given method. Private methods are included in the search @@ -5333,7 +5333,7 @@ class Mail::Multibyte::Chars # # @return [Boolean] # - # source://mail//lib/mail/multibyte/chars.rb#60 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:60 def respond_to?(method, include_private = T.unsafe(nil)); end # Reverses all characters in the string. @@ -5341,10 +5341,10 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('Café').reverse.to_s # => 'éfaC' # - # source://mail//lib/mail/multibyte/chars.rb#139 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:139 def reverse; end - # source://mail//lib/mail/multibyte/chars.rb#263 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:263 def reverse!(*args); end # Implements Unicode-aware slice with codepoints. Slicing on one point returns the codepoints for that @@ -5353,10 +5353,10 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('こんにちは').slice(2..3).to_s # => "にち" # - # source://mail//lib/mail/multibyte/chars.rb#148 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:148 def slice(*args); end - # source://mail//lib/mail/multibyte/chars.rb#263 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:263 def slice!(*args); end # Works just like String#split, with the exception that the items in the resulting list are Chars @@ -5365,17 +5365,17 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('Café périferôl').split(/é/).map { |part| part.upcase.to_s } # => ["CAF", " P", "RIFERÔL"] # - # source://mail//lib/mail/multibyte/chars.rb#91 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:91 def split(*args); end # Replaces all ISO-8859-1 or CP1252 characters by their UTF-8 equivalent resulting in a valid UTF-8 string. # # Passing +true+ will forcibly tidy all bytes, assuming that the string's encoding is entirely CP1252 or ISO-8859-1. # - # source://mail//lib/mail/multibyte/chars.rb#255 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:255 def tidy_bytes(force = T.unsafe(nil)); end - # source://mail//lib/mail/multibyte/chars.rb#263 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:263 def tidy_bytes!(*args); end # Capitalizes the first letter of every word, when possible. @@ -5384,7 +5384,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#213 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:213 def titlecase; end # Capitalizes the first letter of every word, when possible. @@ -5393,17 +5393,17 @@ 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 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:210 def titleize; end # Returns the value of attribute wrapped_string. # - # source://mail//lib/mail/multibyte/chars.rb#38 + # pkg:gem/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#39 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:39 def to_str; end # Convert characters in the string to uppercase. @@ -5411,54 +5411,54 @@ class Mail::Multibyte::Chars # Example: # Mail::Multibyte.mb_chars('Laurent, où sont les tests ?').upcase.to_s # => "LAURENT, OÙ SONT LES TESTS ?" # - # source://mail//lib/mail/multibyte/chars.rb#185 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:185 def upcase; end - # source://mail//lib/mail/multibyte/chars.rb#263 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:263 def upcase!(*args); end # Returns the value of attribute wrapped_string. # - # source://mail//lib/mail/multibyte/chars.rb#37 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:37 def wrapped_string; end protected - # source://mail//lib/mail/multibyte/chars.rb#313 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:313 def chars(string); end # @raise [ArgumentError] # - # source://mail//lib/mail/multibyte/chars.rb#288 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:288 def justify(integer, way, padstr = T.unsafe(nil)); end - # source://mail//lib/mail/multibyte/chars.rb#305 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:305 def padding(padsize, padstr = T.unsafe(nil)); end - # source://mail//lib/mail/multibyte/chars.rb#272 + # pkg:gem/mail#lib/mail/multibyte/chars.rb:272 def translate_offset(byte_offset); end end # Raised when a problem with the encoding was found. # -# source://mail//lib/mail/multibyte.rb#8 +# pkg:gem/mail#lib/mail/multibyte.rb:8 class Mail::Multibyte::EncodingError < ::StandardError; end -# source://mail//lib/mail/multibyte/unicode.rb#4 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:4 module Mail::Multibyte::Unicode extend ::Mail::Multibyte::Unicode - # source://mail//lib/mail/multibyte/unicode.rb#318 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:318 def apply_mapping(string, mapping); end # Compose decomposed characters to the composed form. # - # source://mail//lib/mail/multibyte/unicode.rb#184 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:184 def compose_codepoints(codepoints); end # Decompose composed characters to the decomposed form. # - # source://mail//lib/mail/multibyte/unicode.rb#163 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:163 def decompose_codepoints(type, codepoints); end # The default normalization used for operations that require normalization. It can be set to any of the @@ -5467,7 +5467,7 @@ module Mail::Multibyte::Unicode # Example: # Mail::Multibyte::Unicode.default_normalization_form = :c # - # source://mail//lib/mail/multibyte/unicode.rb#37 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:37 def default_normalization_form; end # The default normalization used for operations that require normalization. It can be set to any of the @@ -5476,7 +5476,7 @@ module Mail::Multibyte::Unicode # Example: # Mail::Multibyte::Unicode.default_normalization_form = :c # - # source://mail//lib/mail/multibyte/unicode.rb#37 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:37 def default_normalization_form=(_arg0); end # Reverse operation of g_unpack. @@ -5484,7 +5484,7 @@ module Mail::Multibyte::Unicode # Example: # Unicode.g_pack(Unicode.g_unpack('क्षि')) # => 'क्षि' # - # source://mail//lib/mail/multibyte/unicode.rb#142 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:142 def g_pack(unpacked); end # Unpack the string at grapheme boundaries. Returns a list of character lists. @@ -5493,7 +5493,7 @@ module Mail::Multibyte::Unicode # Unicode.g_unpack('क्षि') # => [[2325, 2381], [2359], [2367]] # Unicode.g_unpack('Café') # => [[67], [97], [102], [233]] # - # source://mail//lib/mail/multibyte/unicode.rb#108 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:108 def g_unpack(string); end # Detect whether the codepoint is in a certain character class. Returns +true+ when it's in the specified @@ -5504,7 +5504,7 @@ module Mail::Multibyte::Unicode # # @return [Boolean] # - # source://mail//lib/mail/multibyte/unicode.rb#99 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:99 def in_char_class?(codepoint, classes); end # Returns the KC normalization of the string by default. NFKC is considered the best normalization form for @@ -5515,19 +5515,19 @@ module Mail::Multibyte::Unicode # :c, :kc, :d, or :kd. Default is # Mail::Multibyte.default_normalization_form # - # source://mail//lib/mail/multibyte/unicode.rb#300 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:300 def normalize(string, form = T.unsafe(nil)); end # Re-order codepoints so the string becomes canonical. # - # source://mail//lib/mail/multibyte/unicode.rb#147 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:147 def reorder_characters(codepoints); end # Replaces all ISO-8859-1 or CP1252 characters by their UTF-8 equivalent resulting in a valid UTF-8 string. # # Passing +true+ will forcibly tidy all bytes, assuming that the string's encoding is entirely CP1252 or ISO-8859-1. # - # source://mail//lib/mail/multibyte/unicode.rb#245 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:245 def tidy_bytes(string, force = T.unsafe(nil)); end # Unpack the string at codepoints boundaries. Raises an EncodingError when the encoding of the string isn't @@ -5536,254 +5536,254 @@ module Mail::Multibyte::Unicode # Example: # Unicode.u_unpack('Café') # => [67, 97, 102, 233] # - # source://mail//lib/mail/multibyte/unicode.rb#86 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:86 def u_unpack(string); end private - # source://mail//lib/mail/multibyte/unicode.rb#399 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:399 def database; end - # source://mail//lib/mail/multibyte/unicode.rb#389 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:389 def tidy_byte(byte); end class << self # Returns a regular expression pattern that matches the passed Unicode codepoints # - # source://mail//lib/mail/multibyte/unicode.rb#75 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:75 def codepoints_to_pattern(array_of_codepoints); end end end # Holds data about a codepoint in the Unicode database. # -# source://mail//lib/mail/multibyte/unicode.rb#11 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:11 class Mail::Multibyte::Unicode::Codepoint # Initializing Codepoint object with default values # # @return [Codepoint] a new instance of Codepoint # - # source://mail//lib/mail/multibyte/unicode.rb#15 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:15 def initialize; end # Returns the value of attribute code. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def code; end # Sets the attribute code # # @param value the value to set the attribute code to. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def code=(_arg0); end # Returns the value of attribute combining_class. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def combining_class; end # Sets the attribute combining_class # # @param value the value to set the attribute combining_class to. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def combining_class=(_arg0); end # Returns the value of attribute decomp_mapping. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def decomp_mapping; end # Sets the attribute decomp_mapping # # @param value the value to set the attribute decomp_mapping to. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def decomp_mapping=(_arg0); end # Returns the value of attribute decomp_type. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def decomp_type; end # Sets the attribute decomp_type # # @param value the value to set the attribute decomp_type to. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def decomp_type=(_arg0); end # Returns the value of attribute lowercase_mapping. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def lowercase_mapping; end # Sets the attribute lowercase_mapping # # @param value the value to set the attribute lowercase_mapping to. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def lowercase_mapping=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#21 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:21 def swapcase_mapping; end # Returns the value of attribute uppercase_mapping. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def uppercase_mapping; end # Sets the attribute uppercase_mapping # # @param value the value to set the attribute uppercase_mapping to. # - # source://mail//lib/mail/multibyte/unicode.rb#12 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:12 def uppercase_mapping=(_arg0); end end -# source://mail//lib/mail/multibyte/unicode.rb#51 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:51 Mail::Multibyte::Unicode::HANGUL_JAMO_FIRST = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#52 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:52 Mail::Multibyte::Unicode::HANGUL_JAMO_LAST = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#42 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:42 Mail::Multibyte::Unicode::HANGUL_LBASE = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#45 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:45 Mail::Multibyte::Unicode::HANGUL_LCOUNT = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#48 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:48 Mail::Multibyte::Unicode::HANGUL_NCOUNT = T.let(T.unsafe(nil), Integer) # Hangul character boundaries and properties # -# source://mail//lib/mail/multibyte/unicode.rb#41 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:41 Mail::Multibyte::Unicode::HANGUL_SBASE = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#49 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:49 Mail::Multibyte::Unicode::HANGUL_SCOUNT = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#50 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:50 Mail::Multibyte::Unicode::HANGUL_SLAST = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#44 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:44 Mail::Multibyte::Unicode::HANGUL_TBASE = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#47 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:47 Mail::Multibyte::Unicode::HANGUL_TCOUNT = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#43 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:43 Mail::Multibyte::Unicode::HANGUL_VBASE = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/multibyte/unicode.rb#46 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:46 Mail::Multibyte::Unicode::HANGUL_VCOUNT = T.let(T.unsafe(nil), Integer) # BOM (byte order mark) can also be seen as whitespace, it's a non-rendering character used to distinguish # between little and big endian. This is not an issue in utf-8, so it must be ignored. # -# source://mail//lib/mail/multibyte/unicode.rb#72 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:72 Mail::Multibyte::Unicode::LEADERS_AND_TRAILERS = T.let(T.unsafe(nil), Array) -# source://mail//lib/mail/multibyte/unicode.rb#79 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:79 Mail::Multibyte::Unicode::LEADERS_PAT = T.let(T.unsafe(nil), Regexp) # A list of all available normalization forms. See http://www.unicode.org/reports/tr15/tr15-29.html for more # information about normalization. # -# source://mail//lib/mail/multibyte/unicode.rb#30 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:30 Mail::Multibyte::Unicode::NORMALIZATION_FORMS = T.let(T.unsafe(nil), Array) -# source://mail//lib/mail/multibyte/unicode.rb#78 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:78 Mail::Multibyte::Unicode::TRAILERS_PAT = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/multibyte/unicode.rb#8 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:8 Mail::Multibyte::Unicode::UNICODE_VERSION = T.let(T.unsafe(nil), String) # Holds static data from the Unicode database # -# source://mail//lib/mail/multibyte/unicode.rb#330 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:330 class Mail::Multibyte::Unicode::UnicodeDatabase # @return [UnicodeDatabase] a new instance of UnicodeDatabase # - # source://mail//lib/mail/multibyte/unicode.rb#335 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:335 def initialize; end - # source://mail//lib/mail/multibyte/unicode.rb#345 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:345 def boundary; end - # source://mail//lib/mail/multibyte/unicode.rb#333 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:333 def boundary=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#345 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:345 def codepoints; end - # source://mail//lib/mail/multibyte/unicode.rb#333 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:333 def codepoints=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#345 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:345 def composition_exclusion; end - # source://mail//lib/mail/multibyte/unicode.rb#333 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:333 def composition_exclusion=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#345 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:345 def composition_map; end - # source://mail//lib/mail/multibyte/unicode.rb#333 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:333 def composition_map=(_arg0); end - # source://mail//lib/mail/multibyte/unicode.rb#345 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:345 def cp1252; end - # source://mail//lib/mail/multibyte/unicode.rb#333 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:333 def cp1252=(_arg0); end # Loads the Unicode database and returns all the internal objects of UnicodeDatabase. # - # source://mail//lib/mail/multibyte/unicode.rb#354 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:354 def load; end class << self # Returns the directory in which the data files are stored # - # source://mail//lib/mail/multibyte/unicode.rb#377 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:377 def dirname; end # Returns the filename for the data file for this version # - # source://mail//lib/mail/multibyte/unicode.rb#382 + # pkg:gem/mail#lib/mail/multibyte/unicode.rb:382 def filename; end end end -# source://mail//lib/mail/multibyte/unicode.rb#331 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:331 Mail::Multibyte::Unicode::UnicodeDatabase::ATTRIBUTES = T.let(T.unsafe(nil), Array) # All the unicode whitespace # -# source://mail//lib/mail/multibyte/unicode.rb#55 +# pkg:gem/mail#lib/mail/multibyte/unicode.rb:55 Mail::Multibyte::Unicode::WHITESPACE = T.let(T.unsafe(nil), Array) # Regular expressions that describe valid byte sequences for a character # -# source://mail//lib/mail/multibyte.rb#64 +# pkg:gem/mail#lib/mail/multibyte.rb:64 Mail::Multibyte::VALID_CHARACTER = T.let(T.unsafe(nil), Hash) -# source://mail//lib/mail/fields/named_structured_field.rb#6 +# pkg:gem/mail#lib/mail/fields/named_structured_field.rb:6 class Mail::NamedStructuredField < ::Mail::StructuredField # @return [NamedStructuredField] a new instance of NamedStructuredField # - # source://mail//lib/mail/fields/named_structured_field.rb#7 + # pkg:gem/mail#lib/mail/fields/named_structured_field.rb:7 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end end -# source://mail//lib/mail/fields/named_unstructured_field.rb#6 +# pkg:gem/mail#lib/mail/fields/named_unstructured_field.rb:6 class Mail::NamedUnstructuredField < ::Mail::UnstructuredField # @return [NamedUnstructuredField] a new instance of NamedUnstructuredField # - # source://mail//lib/mail/fields/named_unstructured_field.rb#7 + # pkg:gem/mail#lib/mail/fields/named_unstructured_field.rb:7 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end end @@ -5792,11 +5792,11 @@ end # # optional-field = field-name ":" unstructured CRLF # -# source://mail//lib/mail/fields/optional_field.rb#10 +# pkg:gem/mail#lib/mail/fields/optional_field.rb:10 class Mail::OptionalField < ::Mail::UnstructuredField private - # source://mail//lib/mail/fields/optional_field.rb#12 + # pkg:gem/mail#lib/mail/fields/optional_field.rb:12 def do_encode; end end @@ -5830,23 +5830,23 @@ end # Mail.find(:what => :first, :count => 10, :order => :asc) # #=> Returns the first 10 emails in ascending order # -# source://mail//lib/mail/network/retriever_methods/pop3.rb#35 +# pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:35 class Mail::POP3 < ::Mail::Retriever # @return [POP3] a new instance of POP3 # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#38 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:38 def initialize(values); end # Returns the connection object of the retrievable (IMAP or POP3) # # @raise [ArgumentError] # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#104 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:104 def connection(&block); end # Delete all emails from a POP3 server # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#94 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:94 def delete_all; end # Find emails in a POP3 mailbox. Without any options, the 5 last received emails are returned. @@ -5859,19 +5859,19 @@ class Mail::POP3 < ::Mail::Retriever # delete_after_find: flag for whether to delete each retreived email after find. Default # is false. Use #find_and_delete if you would like this to default to true. # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#60 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:60 def find(options = T.unsafe(nil), &block); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#48 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:48 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#48 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:48 def settings=(_arg0); end private @@ -5880,12 +5880,12 @@ class Mail::POP3 < ::Mail::Retriever # marked for deletion via #find_and_delete or with the :delete_after_find option # will be deleted when the session is closed. # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#127 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:127 def start(config = T.unsafe(nil), &block); end # Set default options # - # source://mail//lib/mail/network/retriever_methods/pop3.rb#115 + # pkg:gem/mail#lib/mail/network/retriever_methods/pop3.rb:115 def validate_options(options); end end @@ -5897,1433 +5897,1433 @@ end # # Parameters are defined in RFC2045. Split keys are in RFC2231. # -# source://mail//lib/mail/fields/parameter_hash.rb#15 +# pkg:gem/mail#lib/mail/fields/parameter_hash.rb:15 class Mail::ParameterHash < ::Mail::IndifferentHash - # source://mail//lib/mail/fields/parameter_hash.rb#16 + # pkg:gem/mail#lib/mail/fields/parameter_hash.rb:16 def [](key_name); end - # source://mail//lib/mail/fields/parameter_hash.rb#55 + # pkg:gem/mail#lib/mail/fields/parameter_hash.rb:55 def decoded; end - # source://mail//lib/mail/fields/parameter_hash.rb#45 + # pkg:gem/mail#lib/mail/fields/parameter_hash.rb:45 def encoded; end end # Extends each field parser with utility methods. # -# source://mail//lib/mail/parser_tools.rb#3 +# pkg:gem/mail#lib/mail/parser_tools.rb:3 module Mail::ParserTools - # source://mail//lib/mail/parser_tools.rb#6 + # pkg:gem/mail#lib/mail/parser_tools.rb:6 def chars(data, from_bytes, to_bytes); end end -# source://mail//lib/mail/parsers/date_time_parser.rb#9 +# pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:9 module Mail::Parsers; end -# source://mail//lib/mail/parsers/address_lists_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:10 module Mail::Parsers::AddressListsParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/address_lists_parser.rb#31951 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31951 def en_comment_tail; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31951 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31951 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31955 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31955 def en_main; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31955 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31955 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31946 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31946 def error; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31946 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31946 def error=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31942 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31942 def first_final; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31942 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31942 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31959 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31959 def parse(data); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31938 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31938 def start; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31938 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31938 def start=(_arg0); end private - # source://mail//lib/mail/parsers/address_lists_parser.rb#31614 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31614 def _eof_actions; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#31614 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:31614 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#1300 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:1300 def _index_offsets; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#1300 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:1300 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#1624 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:1624 def _indicies; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#1624 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:1624 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#976 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:976 def _key_spans; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#976 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:976 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#30983 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:30983 def _trans_actions; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#30983 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:30983 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#18 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:18 def _trans_keys; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#18 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:18 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#30352 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:30352 def _trans_targs; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#30352 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:30352 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/address_lists_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def addresses; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def addresses=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def group_names; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#13 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def comments; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def comments=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def display_name; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def display_name=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def domain; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def domain=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def error; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def error=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def group; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def group=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def local; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def local=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def obs_domain_list; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def obs_domain_list=(_); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def raw; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def raw=(_); end class << self - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def [](*_arg0); end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def inspect; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def keyword_init?; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def members; end - # source://mail//lib/mail/parsers/address_lists_parser.rb#14 + # pkg:gem/mail#lib/mail/parsers/address_lists_parser.rb:14 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/content_disposition_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:10 module Mail::Parsers::ContentDispositionParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/content_disposition_parser.rb#556 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:556 def en_comment_tail; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#556 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:556 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#560 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:560 def en_main; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#560 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:560 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#551 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:551 def error; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#551 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:551 def error=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#547 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:547 def first_final; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#547 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:547 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#564 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:564 def parse(data); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#543 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:543 def start; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#543 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:543 def start=(_arg0); end private - # source://mail//lib/mail/parsers/content_disposition_parser.rb#530 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:530 def _eof_actions; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#530 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:530 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#54 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:54 def _index_offsets; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#54 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:54 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#67 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:67 def _indicies; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#67 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:67 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#41 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:41 def _key_spans; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#41 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:41 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#510 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:510 def _trans_actions; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#510 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:510 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#490 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:490 def _trans_targs; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#490 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:490 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/content_disposition_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def disposition_type; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def disposition_type=(_); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def parameters; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def parameters=(_); end class << self - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/content_disposition_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_disposition_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/content_location_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:10 module Mail::Parsers::ContentLocationParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/content_location_parser.rb#577 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:577 def en_comment_tail; end - # source://mail//lib/mail/parsers/content_location_parser.rb#577 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:577 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#581 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:581 def en_main; end - # source://mail//lib/mail/parsers/content_location_parser.rb#581 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:581 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#572 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:572 def error; end - # source://mail//lib/mail/parsers/content_location_parser.rb#572 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:572 def error=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#568 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:568 def first_final; end - # source://mail//lib/mail/parsers/content_location_parser.rb#568 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:568 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#585 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:585 def parse(data); end - # source://mail//lib/mail/parsers/content_location_parser.rb#564 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:564 def start; end - # source://mail//lib/mail/parsers/content_location_parser.rb#564 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:564 def start=(_arg0); end private - # source://mail//lib/mail/parsers/content_location_parser.rb#551 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:551 def _eof_actions; end - # source://mail//lib/mail/parsers/content_location_parser.rb#551 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:551 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#52 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:52 def _index_offsets; end - # source://mail//lib/mail/parsers/content_location_parser.rb#52 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:52 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#65 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:65 def _indicies; end - # source://mail//lib/mail/parsers/content_location_parser.rb#65 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:65 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#39 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:39 def _key_spans; end - # source://mail//lib/mail/parsers/content_location_parser.rb#39 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:39 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#533 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:533 def _trans_actions; end - # source://mail//lib/mail/parsers/content_location_parser.rb#533 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:533 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/content_location_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#515 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:515 def _trans_targs; end - # source://mail//lib/mail/parsers/content_location_parser.rb#515 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:515 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/content_location_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def location; end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def location=(_); end class << self - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/content_location_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_location_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:10 module Mail::Parsers::ContentTransferEncodingParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#328 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:328 def en_comment_tail; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#328 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:328 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#332 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:332 def en_main; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#332 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:332 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#323 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:323 def error; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#323 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:323 def error=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#319 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:319 def first_final; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#319 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:319 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#336 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:336 def parse(data); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#315 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:315 def start; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#315 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:315 def start=(_arg0); end private - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#304 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:304 def _eof_actions; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#304 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:304 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#45 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:45 def _index_offsets; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#45 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:45 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#56 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:56 def _indicies; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#56 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:56 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#34 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:34 def _key_spans; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#34 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:34 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#290 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:290 def _trans_actions; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#290 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:290 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#276 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:276 def _trans_targs; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#276 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:276 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def encoding; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def encoding=(_); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 + # pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 + # pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/content_transfer_encoding_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_transfer_encoding_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/content_type_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:10 module Mail::Parsers::ContentTypeParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/content_type_parser.rb#681 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:681 def en_comment_tail; end - # source://mail//lib/mail/parsers/content_type_parser.rb#681 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:681 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#685 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:685 def en_main; end - # source://mail//lib/mail/parsers/content_type_parser.rb#685 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:685 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#676 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:676 def error; end - # source://mail//lib/mail/parsers/content_type_parser.rb#676 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:676 def error=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#672 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:672 def first_final; end - # source://mail//lib/mail/parsers/content_type_parser.rb#672 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:672 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#689 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:689 def parse(data); end - # source://mail//lib/mail/parsers/content_type_parser.rb#668 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:668 def start; end - # source://mail//lib/mail/parsers/content_type_parser.rb#668 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:668 def start=(_arg0); end private - # source://mail//lib/mail/parsers/content_type_parser.rb#654 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:654 def _eof_actions; end - # source://mail//lib/mail/parsers/content_type_parser.rb#654 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:654 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#58 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:58 def _index_offsets; end - # source://mail//lib/mail/parsers/content_type_parser.rb#58 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:58 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#72 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:72 def _indicies; end - # source://mail//lib/mail/parsers/content_type_parser.rb#72 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:72 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#44 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:44 def _key_spans; end - # source://mail//lib/mail/parsers/content_type_parser.rb#44 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:44 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#632 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:632 def _trans_actions; end - # source://mail//lib/mail/parsers/content_type_parser.rb#632 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:632 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/content_type_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#610 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:610 def _trans_targs; end - # source://mail//lib/mail/parsers/content_type_parser.rb#610 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:610 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/content_type_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def main_type; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def main_type=(_); end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def parameters; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def parameters=(_); end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def sub_type; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/content_type_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/content_type_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/date_time_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:10 module Mail::Parsers::DateTimeParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/date_time_parser.rb#660 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:660 def en_comment_tail; end - # source://mail//lib/mail/parsers/date_time_parser.rb#660 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:660 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#664 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:664 def en_main; end - # source://mail//lib/mail/parsers/date_time_parser.rb#664 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:664 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#655 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:655 def error; end - # source://mail//lib/mail/parsers/date_time_parser.rb#655 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:655 def error=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#651 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:651 def first_final; end - # source://mail//lib/mail/parsers/date_time_parser.rb#651 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:651 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#668 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:668 def parse(data); end - # source://mail//lib/mail/parsers/date_time_parser.rb#647 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:647 def start; end - # source://mail//lib/mail/parsers/date_time_parser.rb#647 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:647 def start=(_arg0); end private - # source://mail//lib/mail/parsers/date_time_parser.rb#626 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:626 def _eof_actions; end - # source://mail//lib/mail/parsers/date_time_parser.rb#626 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:626 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#86 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:86 def _index_offsets; end - # source://mail//lib/mail/parsers/date_time_parser.rb#86 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:86 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#107 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:107 def _indicies; end - # source://mail//lib/mail/parsers/date_time_parser.rb#107 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:107 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#65 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:65 def _key_spans; end - # source://mail//lib/mail/parsers/date_time_parser.rb#65 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:65 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#595 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:595 def _trans_actions; end - # source://mail//lib/mail/parsers/date_time_parser.rb#595 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:595 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/date_time_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#564 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:564 def _trans_targs; end - # source://mail//lib/mail/parsers/date_time_parser.rb#564 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:564 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/date_time_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def date_string; end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def date_string=(_); end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def time_string; end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/date_time_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/date_time_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/envelope_from_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:10 module Mail::Parsers::EnvelopeFromParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3211 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3211 def en_comment_tail; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3211 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3211 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3215 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3215 def en_main; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3215 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3215 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3206 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3206 def error; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3206 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3206 def error=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3202 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3202 def first_final; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3202 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3202 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3219 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3219 def parse(data); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3198 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3198 def start; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3198 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3198 def start=(_arg0); end private - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3152 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3152 def _eof_actions; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3152 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3152 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#185 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:185 def _index_offsets; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#185 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:185 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#231 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:231 def _indicies; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#231 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:231 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#139 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:139 def _key_spans; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#139 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:139 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3077 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3077 def _trans_actions; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3077 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3077 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3002 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3002 def _trans_targs; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#3002 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:3002 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/envelope_from_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def address; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def address=(_); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def ctime_date; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def ctime_date=(_); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def error=(_); end class << self - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/envelope_from_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/envelope_from_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/message_ids_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:10 module Mail::Parsers::MessageIdsParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/message_ids_parser.rb#4818 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4818 def en_comment_tail; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4818 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4818 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4822 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4822 def en_main; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4822 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4822 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4813 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4813 def error; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4813 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4813 def error=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4809 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4809 def first_final; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4809 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4809 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4826 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4826 def parse(data); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4805 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4805 def start; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4805 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4805 def start=(_arg0); end private - # source://mail//lib/mail/parsers/message_ids_parser.rb#4755 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4755 def _eof_actions; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4755 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4755 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#202 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:202 def _index_offsets; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#202 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:202 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#252 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:252 def _indicies; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#252 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:252 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#152 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:152 def _key_spans; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#152 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:152 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4675 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4675 def _trans_actions; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4675 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4675 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4595 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4595 def _trans_targs; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#4595 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:4595 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/message_ids_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def message_ids; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/message_ids_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/message_ids_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/mime_version_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:10 module Mail::Parsers::MimeVersionParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/mime_version_parser.rb#292 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:292 def en_comment_tail; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#292 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:292 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#296 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:296 def en_main; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#296 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:296 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#287 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:287 def error; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#287 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:287 def error=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#283 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:283 def first_final; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#283 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:283 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#300 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:300 def parse(data); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#279 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:279 def start; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#279 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:279 def start=(_arg0); end private - # source://mail//lib/mail/parsers/mime_version_parser.rb#268 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:268 def _eof_actions; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#268 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:268 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#45 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:45 def _index_offsets; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#45 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:45 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#56 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:56 def _indicies; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#56 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:56 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#34 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:34 def _key_spans; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#34 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:34 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#254 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:254 def _trans_actions; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#254 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:254 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#240 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:240 def _trans_targs; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#240 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:240 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/mime_version_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def major; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def major=(_); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def minor; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def minor=(_); end class << self - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/mime_version_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/mime_version_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/phrase_lists_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:10 class Mail::Parsers::PhraseListsParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#672 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:672 def en_comment_tail; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#672 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:672 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#676 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:676 def en_main; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#676 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:676 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#667 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:667 def error; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#667 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:667 def error=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#663 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:663 def first_final; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#663 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:663 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#680 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:680 def parse(data); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#659 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:659 def start; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#659 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:659 def start=(_arg0); end private - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#646 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:646 def _eof_actions; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#646 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:646 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#54 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:54 def _index_offsets; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#54 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:54 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#67 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:67 def _indicies; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#67 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:67 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#41 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:41 def _key_spans; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#41 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:41 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#626 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:626 def _trans_actions; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#626 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:626 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#606 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:606 def _trans_targs; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#606 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:606 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 +# pkg:gem/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 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def phrases; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def phrases=(_); end class << self - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/phrase_lists_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/phrase_lists_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/parsers/received_parser.rb#10 +# pkg:gem/mail#lib/mail/parsers/received_parser.rb:10 module Mail::Parsers::ReceivedParser extend ::Mail::ParserTools class << self - # source://mail//lib/mail/parsers/received_parser.rb#7484 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7484 def en_comment_tail; end - # source://mail//lib/mail/parsers/received_parser.rb#7484 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7484 def en_comment_tail=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#7488 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7488 def en_main; end - # source://mail//lib/mail/parsers/received_parser.rb#7488 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7488 def en_main=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#7479 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7479 def error; end - # source://mail//lib/mail/parsers/received_parser.rb#7479 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7479 def error=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#7475 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7475 def first_final; end - # source://mail//lib/mail/parsers/received_parser.rb#7475 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7475 def first_final=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#7492 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7492 def parse(data); end - # source://mail//lib/mail/parsers/received_parser.rb#7471 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7471 def start; end - # source://mail//lib/mail/parsers/received_parser.rb#7471 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7471 def start=(_arg0); end private - # source://mail//lib/mail/parsers/received_parser.rb#7382 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7382 def _eof_actions; end - # source://mail//lib/mail/parsers/received_parser.rb#7382 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7382 def _eof_actions=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#358 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:358 def _index_offsets; end - # source://mail//lib/mail/parsers/received_parser.rb#358 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:358 def _index_offsets=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#447 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:447 def _indicies; end - # source://mail//lib/mail/parsers/received_parser.rb#447 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:447 def _indicies=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#269 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:269 def _key_spans; end - # source://mail//lib/mail/parsers/received_parser.rb#269 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:269 def _key_spans=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#7199 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7199 def _trans_actions; end - # source://mail//lib/mail/parsers/received_parser.rb#7199 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7199 def _trans_actions=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:16 def _trans_keys; end - # source://mail//lib/mail/parsers/received_parser.rb#16 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:16 def _trans_keys=(_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#7016 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7016 def _trans_targs; end - # source://mail//lib/mail/parsers/received_parser.rb#7016 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:7016 def _trans_targs=(_arg0); end end end -# source://mail//lib/mail/parsers/received_parser.rb#13 +# pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 class Mail::Parsers::ReceivedParser::ReceivedStruct < ::Struct - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def date; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def date=(_); end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def error; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def error=(_); end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def info; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def info=(_); end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def time; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def time=(_); end class << self - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def [](*_arg0); end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def inspect; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def keyword_init?; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def members; end - # source://mail//lib/mail/parsers/received_parser.rb#13 + # pkg:gem/mail#lib/mail/parsers/received_parser.rb:13 def new(*_arg0); end end end -# source://mail//lib/mail/part.rb#7 +# pkg:gem/mail#lib/mail/part.rb:7 class Mail::Part < ::Mail::Message # Either returns the action if the message has just a single report, or an # array of all the actions, one for each report # - # source://mail//lib/mail/part.rb#65 + # pkg:gem/mail#lib/mail/part.rb:65 def action; end # Creates a new empty Content-ID field and inserts it in the correct order @@ -7333,38 +7333,38 @@ class Mail::Part < ::Mail::Message # # It will preserve the content ID you specify if you do. # - # source://mail//lib/mail/part.rb#14 + # pkg:gem/mail#lib/mail/part.rb:14 def add_content_id(content_id_val = T.unsafe(nil)); end - # source://mail//lib/mail/part.rb#37 + # pkg:gem/mail#lib/mail/part.rb:37 def add_required_fields; end - # source://mail//lib/mail/part.rb#42 + # pkg:gem/mail#lib/mail/part.rb:42 def add_required_message_fields; end # @return [Boolean] # - # source://mail//lib/mail/part.rb#54 + # pkg:gem/mail#lib/mail/part.rb:54 def bounced?; end - # source://mail//lib/mail/part.rb#24 + # pkg:gem/mail#lib/mail/part.rb:24 def cid; end - # source://mail//lib/mail/part.rb#50 + # pkg:gem/mail#lib/mail/part.rb:50 def delivery_status_data; end # @return [Boolean] # - # source://mail//lib/mail/part.rb#46 + # pkg:gem/mail#lib/mail/part.rb:46 def delivery_status_report_part?; end - # source://mail//lib/mail/part.rb#77 + # pkg:gem/mail#lib/mail/part.rb:77 def diagnostic_code; end - # source://mail//lib/mail/part.rb#73 + # pkg:gem/mail#lib/mail/part.rb:73 def error_status; end - # source://mail//lib/mail/part.rb#69 + # pkg:gem/mail#lib/mail/part.rb:69 def final_recipient; end # Returns true if the part has a content ID field, the field may or may @@ -7372,146 +7372,146 @@ class Mail::Part < ::Mail::Message # # @return [Boolean] # - # source://mail//lib/mail/part.rb#20 + # pkg:gem/mail#lib/mail/part.rb:20 def has_content_id?; end # @return [Boolean] # - # source://mail//lib/mail/part.rb#33 + # pkg:gem/mail#lib/mail/part.rb:33 def inline?; end - # source://mail//lib/mail/part.rb#81 + # pkg:gem/mail#lib/mail/part.rb:81 def remote_mta; end # @return [Boolean] # - # source://mail//lib/mail/part.rb#85 + # pkg:gem/mail#lib/mail/part.rb:85 def retryable?; end - # source://mail//lib/mail/part.rb#29 + # pkg:gem/mail#lib/mail/part.rb:29 def url; end private - # source://mail//lib/mail/part.rb#91 + # pkg:gem/mail#lib/mail/part.rb:91 def get_return_values(key); end - # source://mail//lib/mail/part.rb#113 + # pkg:gem/mail#lib/mail/part.rb:113 def parse_delivery_status_report; end # A part may not have a header.... so, just init a body if no header # - # source://mail//lib/mail/part.rb#102 + # pkg:gem/mail#lib/mail/part.rb:102 def parse_message; end end -# source://mail//lib/mail/parts_list.rb#5 +# pkg:gem/mail#lib/mail/parts_list.rb:5 class Mail::PartsList # @return [PartsList] a new instance of PartsList # - # source://mail//lib/mail/parts_list.rb#8 + # pkg:gem/mail#lib/mail/parts_list.rb:8 def initialize(*args); end - # source://mail//lib/mail/parts_list.rb#24 + # pkg:gem/mail#lib/mail/parts_list.rb:24 def attachments; end - # source://mail//lib/mail/parts_list.rb#28 + # pkg:gem/mail#lib/mail/parts_list.rb:28 def collect; end # @raise [NoMethodError] # - # source://mail//lib/mail/parts_list.rb#43 + # pkg:gem/mail#lib/mail/parts_list.rb:43 def collect!; end - # source://mail//lib/mail/parts_list.rb#98 + # pkg:gem/mail#lib/mail/parts_list.rb:98 def delete_attachments; end # The #encode_with and #to_yaml methods are just implemented # for the sake of backward compatibility ; the delegator does # not correctly delegate these calls to the delegated object # - # source://mail//lib/mail/parts_list.rb#16 + # pkg:gem/mail#lib/mail/parts_list.rb:16 def encode_with(coder); end - # source://mail//lib/mail/parts_list.rb#47 + # pkg:gem/mail#lib/mail/parts_list.rb:47 def inspect_structure(parent_id = T.unsafe(nil)); end - # source://mail//lib/mail/parts_list.rb#37 + # pkg:gem/mail#lib/mail/parts_list.rb:37 def map; end # @raise [NoMethodError] # - # source://mail//lib/mail/parts_list.rb#39 + # pkg:gem/mail#lib/mail/parts_list.rb:39 def map!; end # Returns the value of attribute parts. # - # source://mail//lib/mail/parts_list.rb#6 + # pkg:gem/mail#lib/mail/parts_list.rb:6 def parts; end - # source://mail//lib/mail/parts_list.rb#83 + # pkg:gem/mail#lib/mail/parts_list.rb:83 def recursive_delete_if; end - # source://mail//lib/mail/parts_list.rb#63 + # pkg:gem/mail#lib/mail/parts_list.rb:63 def recursive_each(&block); end - # source://mail//lib/mail/parts_list.rb#77 + # pkg:gem/mail#lib/mail/parts_list.rb:77 def recursive_size; end - # source://mail//lib/mail/parts_list.rb#104 + # pkg:gem/mail#lib/mail/parts_list.rb:104 def sort; end - # source://mail//lib/mail/parts_list.rb#108 + # pkg:gem/mail#lib/mail/parts_list.rb:108 def sort!(order); end - # source://mail//lib/mail/parts_list.rb#20 + # pkg:gem/mail#lib/mail/parts_list.rb:20 def to_yaml(options = T.unsafe(nil)); end private - # source://mail//lib/mail/parts_list.rb#123 + # pkg:gem/mail#lib/mail/parts_list.rb:123 def get_order_value(part, order); end end -# source://mail//lib/mail/elements/phrase_list.rb#7 +# pkg:gem/mail#lib/mail/elements/phrase_list.rb:7 class Mail::PhraseList # @return [PhraseList] a new instance of PhraseList # - # source://mail//lib/mail/elements/phrase_list.rb#10 + # pkg:gem/mail#lib/mail/elements/phrase_list.rb:10 def initialize(string); end # Returns the value of attribute phrases. # - # source://mail//lib/mail/elements/phrase_list.rb#8 + # pkg:gem/mail#lib/mail/elements/phrase_list.rb:8 def phrases; end end -# source://mail//lib/mail/mail.rb#241 +# pkg:gem/mail#lib/mail/mail.rb:241 Mail::RANDOM_TAG = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/elements/received_element.rb#8 +# pkg:gem/mail#lib/mail/elements/received_element.rb:8 class Mail::ReceivedElement # @return [ReceivedElement] a new instance of ReceivedElement # - # source://mail//lib/mail/elements/received_element.rb#11 + # pkg:gem/mail#lib/mail/elements/received_element.rb:11 def initialize(string); end # Returns the value of attribute date_time. # - # source://mail//lib/mail/elements/received_element.rb#9 + # pkg:gem/mail#lib/mail/elements/received_element.rb:9 def date_time; end # Returns the value of attribute info. # - # source://mail//lib/mail/elements/received_element.rb#9 + # pkg:gem/mail#lib/mail/elements/received_element.rb:9 def info; end - # source://mail//lib/mail/elements/received_element.rb#22 + # pkg:gem/mail#lib/mail/elements/received_element.rb:22 def to_s(*args); end private - # source://mail//lib/mail/elements/received_element.rb#27 + # pkg:gem/mail#lib/mail/elements/received_element.rb:27 def datetime_for(received); end end @@ -7534,30 +7534,30 @@ end # item-value = 1*angle-addr / addr-spec / # atom / domain / msg-id # -# source://mail//lib/mail/fields/received_field.rb#24 +# pkg:gem/mail#lib/mail/fields/received_field.rb:24 class Mail::ReceivedField < ::Mail::NamedStructuredField - # source://mail//lib/mail/fields/received_field.rb#31 + # pkg:gem/mail#lib/mail/fields/received_field.rb:31 def date_time; end - # source://mail//lib/mail/fields/received_field.rb#27 + # pkg:gem/mail#lib/mail/fields/received_field.rb:27 def element; end - # source://mail//lib/mail/fields/received_field.rb#39 + # pkg:gem/mail#lib/mail/fields/received_field.rb:39 def formatted_date; end - # source://mail//lib/mail/fields/received_field.rb#35 + # pkg:gem/mail#lib/mail/fields/received_field.rb:35 def info; end private - # source://mail//lib/mail/fields/received_field.rb#54 + # pkg:gem/mail#lib/mail/fields/received_field.rb:54 def do_decode; end - # source://mail//lib/mail/fields/received_field.rb#46 + # pkg:gem/mail#lib/mail/fields/received_field.rb:46 def do_encode; end end -# source://mail//lib/mail/fields/received_field.rb#25 +# pkg:gem/mail#lib/mail/fields/received_field.rb:25 Mail::ReceivedField::NAME = T.let(T.unsafe(nil), String) # = References Field @@ -7586,22 +7586,22 @@ Mail::ReceivedField::NAME = T.let(T.unsafe(nil), String) # # mail[:references].message_ids #=> ['F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13@test.me.dom'] # -# source://mail//lib/mail/fields/references_field.rb#31 +# pkg:gem/mail#lib/mail/fields/references_field.rb:31 class Mail::ReferencesField < ::Mail::CommonMessageIdField # @return [ReferencesField] a new instance of ReferencesField # - # source://mail//lib/mail/fields/references_field.rb#38 + # pkg:gem/mail#lib/mail/fields/references_field.rb:38 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/references_field.rb#34 + # pkg:gem/mail#lib/mail/fields/references_field.rb:34 def singular?; end end end -# source://mail//lib/mail/fields/references_field.rb#32 +# pkg:gem/mail#lib/mail/fields/references_field.rb:32 Mail::ReferencesField::NAME = T.let(T.unsafe(nil), String) # = Reply-To Field @@ -7630,10 +7630,10 @@ Mail::ReferencesField::NAME = T.let(T.unsafe(nil), String) # mail[:reply_to].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:reply_to].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/reply_to_field.rb#31 +# pkg:gem/mail#lib/mail/fields/reply_to_field.rb:31 class Mail::ReplyToField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/reply_to_field.rb#32 +# pkg:gem/mail#lib/mail/fields/reply_to_field.rb:32 Mail::ReplyToField::NAME = T.let(T.unsafe(nil), String) # = Resent-Bcc Field @@ -7662,10 +7662,10 @@ Mail::ReplyToField::NAME = T.let(T.unsafe(nil), String) # mail[:resent_bcc].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:resent_bcc].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/resent_bcc_field.rb#31 +# pkg:gem/mail#lib/mail/fields/resent_bcc_field.rb:31 class Mail::ResentBccField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/resent_bcc_field.rb#32 +# pkg:gem/mail#lib/mail/fields/resent_bcc_field.rb:32 Mail::ResentBccField::NAME = T.let(T.unsafe(nil), String) # = Resent-Cc Field @@ -7694,18 +7694,18 @@ Mail::ResentBccField::NAME = T.let(T.unsafe(nil), String) # mail[:resent_cc].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:resent_cc].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/resent_cc_field.rb#31 +# pkg:gem/mail#lib/mail/fields/resent_cc_field.rb:31 class Mail::ResentCcField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/resent_cc_field.rb#32 +# pkg:gem/mail#lib/mail/fields/resent_cc_field.rb:32 Mail::ResentCcField::NAME = T.let(T.unsafe(nil), String) # resent-date = "Resent-Date:" date-time CRLF # -# source://mail//lib/mail/fields/resent_date_field.rb#8 +# pkg:gem/mail#lib/mail/fields/resent_date_field.rb:8 class Mail::ResentDateField < ::Mail::CommonDateField; end -# source://mail//lib/mail/fields/resent_date_field.rb#9 +# pkg:gem/mail#lib/mail/fields/resent_date_field.rb:9 Mail::ResentDateField::NAME = T.let(T.unsafe(nil), String) # = Resent-From Field @@ -7734,18 +7734,18 @@ Mail::ResentDateField::NAME = T.let(T.unsafe(nil), String) # mail[:resent_from].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:resent_from].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/resent_from_field.rb#31 +# pkg:gem/mail#lib/mail/fields/resent_from_field.rb:31 class Mail::ResentFromField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/resent_from_field.rb#32 +# pkg:gem/mail#lib/mail/fields/resent_from_field.rb:32 Mail::ResentFromField::NAME = T.let(T.unsafe(nil), String) # resent-msg-id = "Resent-Message-ID:" msg-id CRLF # -# source://mail//lib/mail/fields/resent_message_id_field.rb#8 +# pkg:gem/mail#lib/mail/fields/resent_message_id_field.rb:8 class Mail::ResentMessageIdField < ::Mail::CommonMessageIdField; end -# source://mail//lib/mail/fields/resent_message_id_field.rb#9 +# pkg:gem/mail#lib/mail/fields/resent_message_id_field.rb:9 Mail::ResentMessageIdField::NAME = T.let(T.unsafe(nil), String) # = Resent-Sender Field @@ -7773,10 +7773,10 @@ Mail::ResentMessageIdField::NAME = T.let(T.unsafe(nil), String) # mail.resent_sender.addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail.resent_sender.formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/resent_sender_field.rb#30 +# pkg:gem/mail#lib/mail/fields/resent_sender_field.rb:30 class Mail::ResentSenderField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/resent_sender_field.rb#31 +# pkg:gem/mail#lib/mail/fields/resent_sender_field.rb:31 Mail::ResentSenderField::NAME = T.let(T.unsafe(nil), String) # = Resent-To Field @@ -7805,20 +7805,20 @@ Mail::ResentSenderField::NAME = T.let(T.unsafe(nil), String) # mail[:resent_to].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:resent_to].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/resent_to_field.rb#31 +# pkg:gem/mail#lib/mail/fields/resent_to_field.rb:31 class Mail::ResentToField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/resent_to_field.rb#32 +# pkg:gem/mail#lib/mail/fields/resent_to_field.rb:32 Mail::ResentToField::NAME = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/network/retriever_methods/base.rb#6 +# pkg:gem/mail#lib/mail/network/retriever_methods/base.rb:6 class Mail::Retriever # Get all emails. # # Possible options: # order: order of emails returned. Possible values are :asc or :desc. Default value is :asc. # - # source://mail//lib/mail/network/retriever_methods/base.rb#39 + # pkg:gem/mail#lib/mail/network/retriever_methods/base.rb:39 def all(options = T.unsafe(nil), &block); end # Find emails in the mailbox, and then deletes them. Without any options, the @@ -7832,7 +7832,7 @@ class Mail::Retriever # delete_after_find: flag for whether to delete each retreived email after find. Default # is true. Call #find if you would like this to default to false. # - # source://mail//lib/mail/network/retriever_methods/base.rb#56 + # pkg:gem/mail#lib/mail/network/retriever_methods/base.rb:56 def find_and_delete(options = T.unsafe(nil), &block); end # Get the oldest received email(s) @@ -7841,7 +7841,7 @@ class Mail::Retriever # count: number of emails to retrieve. The default value is 1. # order: order of emails returned. Possible values are :asc or :desc. Default value is :asc. # - # source://mail//lib/mail/network/retriever_methods/base.rb#14 + # pkg:gem/mail#lib/mail/network/retriever_methods/base.rb:14 def first(options = T.unsafe(nil), &block); end # Get the most recent received email(s) @@ -7850,7 +7850,7 @@ class Mail::Retriever # count: number of emails to retrieve. The default value is 1. # order: order of emails returned. Possible values are :asc or :desc. Default value is :asc. # - # source://mail//lib/mail/network/retriever_methods/base.rb#27 + # pkg:gem/mail#lib/mail/network/retriever_methods/base.rb:27 def last(options = T.unsafe(nil), &block); end end @@ -7881,33 +7881,33 @@ end # item-value = 1*angle-addr / addr-spec / # atom / domain / msg-id # -# source://mail//lib/mail/fields/return_path_field.rb#33 +# pkg:gem/mail#lib/mail/fields/return_path_field.rb:33 class Mail::ReturnPathField < ::Mail::CommonAddressField # @return [ReturnPathField] a new instance of ReturnPathField # - # source://mail//lib/mail/fields/return_path_field.rb#40 + # pkg:gem/mail#lib/mail/fields/return_path_field.rb:40 def initialize(value = T.unsafe(nil), charset = T.unsafe(nil)); end - # source://mail//lib/mail/fields/return_path_field.rb#48 + # pkg:gem/mail#lib/mail/fields/return_path_field.rb:48 def default; end private - # source://mail//lib/mail/fields/return_path_field.rb#57 + # pkg:gem/mail#lib/mail/fields/return_path_field.rb:57 def do_decode; end - # source://mail//lib/mail/fields/return_path_field.rb#53 + # pkg:gem/mail#lib/mail/fields/return_path_field.rb:53 def do_encode; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/return_path_field.rb#36 + # pkg:gem/mail#lib/mail/fields/return_path_field.rb:36 def singular?; end end end -# source://mail//lib/mail/fields/return_path_field.rb#34 +# pkg:gem/mail#lib/mail/fields/return_path_field.rb:34 Mail::ReturnPathField::NAME = T.let(T.unsafe(nil), String) # == Sending Email with SMTP @@ -7982,44 +7982,44 @@ Mail::ReturnPathField::NAME = T.let(T.unsafe(nil), String) # # mail.deliver! # -# source://mail//lib/mail/network/delivery_methods/smtp.rb#76 +# pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:76 class Mail::SMTP # @return [SMTP] a new instance of SMTP # - # source://mail//lib/mail/network/delivery_methods/smtp.rb#95 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:95 def initialize(values); end - # source://mail//lib/mail/network/delivery_methods/smtp.rb#99 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:99 def deliver!(mail); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/delivery_methods/smtp.rb#77 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:77 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/delivery_methods/smtp.rb#77 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:77 def settings=(_arg0); end private - # source://mail//lib/mail/network/delivery_methods/smtp.rb#112 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:112 def build_smtp_session; end # Allow SSL context to be configured via settings, for Ruby >= 1.9 # Just returns openssl verify mode for Ruby 1.8.x # - # source://mail//lib/mail/network/delivery_methods/smtp.rb#151 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:151 def ssl_context; end - # source://mail//lib/mail/network/delivery_methods/smtp.rb#108 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:108 def start_smtp_session(&block); end end -# source://mail//lib/mail/network/delivery_methods/smtp.rb#79 +# pkg:gem/mail#lib/mail/network/delivery_methods/smtp.rb:79 Mail::SMTP::DEFAULTS = T.let(T.unsafe(nil), Hash) # == Sending Email with SMTP @@ -8058,42 +8058,42 @@ Mail::SMTP::DEFAULTS = T.let(T.unsafe(nil), Hash) # # mail.deliver! # -# source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#40 +# pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:40 class Mail::SMTPConnection # @raise [ArgumentError] # @return [SMTPConnection] a new instance of SMTPConnection # - # source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#43 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:43 def initialize(values); end # Send the message via SMTP. # The from and to attributes are optional. If not set, they are retrieve from the Message. # - # source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#51 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:51 def deliver!(mail); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#41 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:41 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#41 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:41 def settings=(_arg0); end # Returns the value of attribute smtp. # - # source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#41 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:41 def smtp; end # Sets the attribute smtp # # @param value the value to set the attribute smtp to. # - # source://mail//lib/mail/network/delivery_methods/smtp_connection.rb#41 + # pkg:gem/mail#lib/mail/network/delivery_methods/smtp_connection.rb:41 def smtp=(_arg0); end end @@ -8123,23 +8123,23 @@ end # mail[:sender].addresses #=> ['mikel@test.lindsaar.net'] # mail[:sender].formatted #=> ['Mikel Lindsaar '] # -# source://mail//lib/mail/fields/sender_field.rb#31 +# pkg:gem/mail#lib/mail/fields/sender_field.rb:31 class Mail::SenderField < ::Mail::CommonAddressField - # source://mail//lib/mail/fields/sender_field.rb#42 + # pkg:gem/mail#lib/mail/fields/sender_field.rb:42 def addresses; end - # source://mail//lib/mail/fields/sender_field.rb#38 + # pkg:gem/mail#lib/mail/fields/sender_field.rb:38 def default; end class << self # @return [Boolean] # - # source://mail//lib/mail/fields/sender_field.rb#34 + # pkg:gem/mail#lib/mail/fields/sender_field.rb:34 def singular?; end end end -# source://mail//lib/mail/fields/sender_field.rb#32 +# pkg:gem/mail#lib/mail/fields/sender_field.rb:32 Mail::SenderField::NAME = T.let(T.unsafe(nil), String) # A delivery method implementation which sends via sendmail. @@ -8178,44 +8178,44 @@ Mail::SenderField::NAME = T.let(T.unsafe(nil), String) # # mail.deliver! # -# source://mail//lib/mail/network/delivery_methods/sendmail.rb#40 +# pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:40 class Mail::Sendmail # @return [Sendmail] a new instance of Sendmail # - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#51 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:51 def initialize(values); end - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#64 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:64 def deliver!(mail); end - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#60 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:60 def destinations_for(envelope); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#46 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:46 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#46 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:46 def settings=(_arg0); end private # - support for delivery using string arguments # - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#129 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:129 def deprecation_warn; end # + support for delivery using string arguments (deprecated) # - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#97 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:97 def old_deliver(envelope); end - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#88 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:88 def popen(command, &block); end # The following is an adaptation of ruby 1.9.2's shellwords.rb file, @@ -8225,57 +8225,57 @@ class Mail::Sendmail # - Allows '+' to accept email addresses with them # - Allows '~' as it is not unescaped in double quotes # - # source://mail//lib/mail/network/delivery_methods/sendmail.rb#118 + # pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:118 def shellquote(address); end end -# source://mail//lib/mail/network/delivery_methods/sendmail.rb#41 +# pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:41 Mail::Sendmail::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://mail//lib/mail/network/delivery_methods/sendmail.rb#48 +# pkg:gem/mail#lib/mail/network/delivery_methods/sendmail.rb:48 class Mail::Sendmail::DeliveryError < ::StandardError; end -# source://mail//lib/mail/smtp_envelope.rb#4 +# pkg:gem/mail#lib/mail/smtp_envelope.rb:4 class Mail::SmtpEnvelope # @return [SmtpEnvelope] a new instance of SmtpEnvelope # - # source://mail//lib/mail/smtp_envelope.rb#11 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:11 def initialize(mail); end # Returns the value of attribute from. # - # source://mail//lib/mail/smtp_envelope.rb#9 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:9 def from; end - # source://mail//lib/mail/smtp_envelope.rb#17 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:17 def from=(addr); end # Returns the value of attribute message. # - # source://mail//lib/mail/smtp_envelope.rb#9 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:9 def message; end - # source://mail//lib/mail/smtp_envelope.rb#35 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:35 def message=(message); end # Returns the value of attribute to. # - # source://mail//lib/mail/smtp_envelope.rb#9 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:9 def to; end - # source://mail//lib/mail/smtp_envelope.rb#25 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:25 def to=(addr); end private - # source://mail//lib/mail/smtp_envelope.rb#45 + # pkg:gem/mail#lib/mail/smtp_envelope.rb:45 def validate_addr(addr_name, addr); end end # Reasonable cap on address length to avoid SMTP line length # overflow on old SMTP servers. # -# source://mail//lib/mail/smtp_envelope.rb#7 +# pkg:gem/mail#lib/mail/smtp_envelope.rb:7 Mail::SmtpEnvelope::MAX_ADDRESS_BYTESIZE = T.let(T.unsafe(nil), Integer) # Provides access to a structured header field @@ -8296,22 +8296,22 @@ Mail::SmtpEnvelope::MAX_ADDRESS_BYTESIZE = T.let(T.unsafe(nil), Integer) # described in section 2.2.3. Semantic analysis of structured field # bodies is given along with their syntax. # -# source://mail//lib/mail/fields/structured_field.rb#23 +# pkg:gem/mail#lib/mail/fields/structured_field.rb:23 class Mail::StructuredField < ::Mail::CommonField; end # subject = "Subject:" unstructured CRLF # -# source://mail//lib/mail/fields/subject_field.rb#8 +# pkg:gem/mail#lib/mail/fields/subject_field.rb:8 class Mail::SubjectField < ::Mail::NamedUnstructuredField class << self # @return [Boolean] # - # source://mail//lib/mail/fields/subject_field.rb#11 + # pkg:gem/mail#lib/mail/fields/subject_field.rb:11 def singular?; end end end -# source://mail//lib/mail/fields/subject_field.rb#9 +# pkg:gem/mail#lib/mail/fields/subject_field.rb:9 Mail::SubjectField::NAME = T.let(T.unsafe(nil), String) # The TestMailer is a bare bones mailer that does nothing. It is useful @@ -8320,32 +8320,32 @@ Mail::SubjectField::NAME = T.let(T.unsafe(nil), String) # It also provides a template of the minimum methods you require to implement # if you want to make a custom mailer for Mail # -# source://mail//lib/mail/network/delivery_methods/test_mailer.rb#10 +# pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:10 class Mail::TestMailer # @return [TestMailer] a new instance of TestMailer # - # source://mail//lib/mail/network/delivery_methods/test_mailer.rb#33 + # pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:33 def initialize(values); end - # source://mail//lib/mail/network/delivery_methods/test_mailer.rb#37 + # pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:37 def deliver!(mail); end # Returns the value of attribute settings. # - # source://mail//lib/mail/network/delivery_methods/test_mailer.rb#31 + # pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:31 def settings; end # Sets the attribute settings # # @param value the value to set the attribute settings to. # - # source://mail//lib/mail/network/delivery_methods/test_mailer.rb#31 + # pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:31 def settings=(_arg0); end class << self # Provides a store of all the emails sent with the TestMailer so you can check them. # - # source://mail//lib/mail/network/delivery_methods/test_mailer.rb#12 + # pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:12 def deliveries; end # Allows you to over write the default deliveries store from an array to some @@ -8360,26 +8360,26 @@ class Mail::TestMailer # * size # * and other common Array methods # - # source://mail//lib/mail/network/delivery_methods/test_mailer.rb#27 + # pkg:gem/mail#lib/mail/network/delivery_methods/test_mailer.rb:27 def deliveries=(val); end end end -# source://mail//lib/mail/network/retriever_methods/test_retriever.rb#6 +# pkg:gem/mail#lib/mail/network/retriever_methods/test_retriever.rb:6 class Mail::TestRetriever < ::Mail::Retriever # @return [TestRetriever] a new instance of TestRetriever # - # source://mail//lib/mail/network/retriever_methods/test_retriever.rb#16 + # pkg:gem/mail#lib/mail/network/retriever_methods/test_retriever.rb:16 def initialize(values); end - # source://mail//lib/mail/network/retriever_methods/test_retriever.rb#20 + # pkg:gem/mail#lib/mail/network/retriever_methods/test_retriever.rb:20 def find(options = T.unsafe(nil), &block); end class << self - # source://mail//lib/mail/network/retriever_methods/test_retriever.rb#8 + # pkg:gem/mail#lib/mail/network/retriever_methods/test_retriever.rb:8 def emails; end - # source://mail//lib/mail/network/retriever_methods/test_retriever.rb#12 + # pkg:gem/mail#lib/mail/network/retriever_methods/test_retriever.rb:12 def emails=(val); end end end @@ -8410,15 +8410,15 @@ end # mail[:to].addresses #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net'] # mail[:to].formatted #=> ['Mikel Lindsaar ', 'ada@test.lindsaar.net'] # -# source://mail//lib/mail/fields/to_field.rb#31 +# pkg:gem/mail#lib/mail/fields/to_field.rb:31 class Mail::ToField < ::Mail::CommonAddressField; end -# source://mail//lib/mail/fields/to_field.rb#32 +# pkg:gem/mail#lib/mail/fields/to_field.rb:32 Mail::ToField::NAME = T.let(T.unsafe(nil), String) # Raised when attempting to decode an unknown encoding type # -# source://mail//lib/mail/encodings.rb#6 +# pkg:gem/mail#lib/mail/encodings.rb:6 class Mail::UnknownEncodingType < ::StandardError; end # Provides access to an unstructured header field @@ -8434,36 +8434,36 @@ class Mail::UnknownEncodingType < ::StandardError; end # with no further processing (except for header "folding" and # "unfolding" as described in section 2.2.3). # -# source://mail//lib/mail/fields/unstructured_field.rb#19 +# pkg:gem/mail#lib/mail/fields/unstructured_field.rb:19 class Mail::UnstructuredField < ::Mail::CommonField # @return [UnstructuredField] a new instance of UnstructuredField # - # source://mail//lib/mail/fields/unstructured_field.rb#20 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:20 def initialize(name, value, charset = T.unsafe(nil)); end # An unstructured field does not parse # - # source://mail//lib/mail/fields/unstructured_field.rb#40 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:40 def parse; end private - # source://mail//lib/mail/fields/unstructured_field.rb#54 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:54 def do_decode; end - # source://mail//lib/mail/fields/unstructured_field.rb#46 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:46 def do_encode; end - # source://mail//lib/mail/fields/unstructured_field.rb#169 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:169 def encode(value); end - # source://mail//lib/mail/fields/unstructured_field.rb#180 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:180 def encode_crlf(value); end - # source://mail//lib/mail/fields/unstructured_field.rb#102 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:102 def fold(prepend = T.unsafe(nil)); end - # source://mail//lib/mail/fields/unstructured_field.rb#186 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:186 def normalized_encoding; end # 6.2. Display of 'encoded-word's @@ -8475,7 +8475,7 @@ class Mail::UnstructuredField < ::Mail::CommonField # without having to separate 'encoded-word's where spaces occur in the # unencoded text.) # - # source://mail//lib/mail/fields/unstructured_field.rb#96 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:96 def wrap_lines(name, folded_lines); end # 2.2.3. Long Header Fields @@ -8505,11 +8505,11 @@ class Mail::UnstructuredField < ::Mail::CommonField # preference to other places where the field could be folded, even if # it is allowed elsewhere. # - # source://mail//lib/mail/fields/unstructured_field.rb#84 + # pkg:gem/mail#lib/mail/fields/unstructured_field.rb:84 def wrapped_value; end end -# source://mail//lib/mail/utilities.rb#7 +# pkg:gem/mail#lib/mail/utilities.rb:7 module Mail::Utilities extend ::Mail::Utilities @@ -8517,7 +8517,7 @@ module Mail::Utilities # # @return [Boolean] # - # source://mail//lib/mail/utilities.rb#11 + # pkg:gem/mail#lib/mail/utilities.rb:11 def atom_safe?(str); end # Returns true if the object is considered blank. @@ -8528,7 +8528,7 @@ module Mail::Utilities # # @return [Boolean] # - # source://mail//lib/mail/utilities.rb#283 + # pkg:gem/mail#lib/mail/utilities.rb:283 def blank?(value); end # Wraps a string in angle brackets and escapes any that are in the string itself @@ -8537,7 +8537,7 @@ module Mail::Utilities # # bracket( 'This is a string' ) #=> '' # - # source://mail//lib/mail/utilities.rb#131 + # pkg:gem/mail#lib/mail/utilities.rb:131 def bracket(str); end # Capitalizes a string that is joined by hyphens correctly. @@ -8547,7 +8547,7 @@ module Mail::Utilities # string = 'resent-from-field' # capitalize_field( string ) #=> 'Resent-From-Field' # - # source://mail//lib/mail/utilities.rb#188 + # pkg:gem/mail#lib/mail/utilities.rb:188 def capitalize_field(str); end # Takes an underscored word and turns it into a class name @@ -8558,7 +8558,7 @@ module Mail::Utilities # constantize("hello-there") #=> "HelloThere" # constantize("hello-there-mate") #=> "HelloThereMate" # - # source://mail//lib/mail/utilities.rb#199 + # pkg:gem/mail#lib/mail/utilities.rb:199 def constantize(str); end # Swaps out all underscores (_) for hyphens (-) good for stringing from symbols @@ -8569,7 +8569,7 @@ module Mail::Utilities # string = :resent_from_field # dasherize( string ) #=> 'resent-from-field' # - # source://mail//lib/mail/utilities.rb#210 + # pkg:gem/mail#lib/mail/utilities.rb:210 def dasherize(str); end # Wraps supplied string in double quotes and applies \-escaping as necessary, @@ -8583,7 +8583,7 @@ module Mail::Utilities # string = 'This is "a string"' # dquote(string #=> '"This is \"a string\"' # - # source://mail//lib/mail/utilities.rb#68 + # pkg:gem/mail#lib/mail/utilities.rb:68 def dquote(str); end # Escape parenthesies in a string @@ -8593,16 +8593,16 @@ module Mail::Utilities # str = 'This is (a) string' # escape_paren( str ) #=> 'This is \(a\) string' # - # source://mail//lib/mail/utilities.rb#155 + # pkg:gem/mail#lib/mail/utilities.rb:155 def escape_paren(str); end - # source://mail//lib/mail/utilities.rb#293 + # pkg:gem/mail#lib/mail/utilities.rb:293 def generate_message_id; end - # source://mail//lib/mail/utilities.rb#225 + # pkg:gem/mail#lib/mail/utilities.rb:225 def map_lines(str, &block); end - # source://mail//lib/mail/utilities.rb#229 + # pkg:gem/mail#lib/mail/utilities.rb:229 def map_with_index(enum, &block); end # Matches two objects with their to_s values case insensitively @@ -8613,7 +8613,7 @@ module Mail::Utilities # obj1 = :this_IS_an_object # match_to_s( obj1, obj2 ) #=> true # - # source://mail//lib/mail/utilities.rb#178 + # pkg:gem/mail#lib/mail/utilities.rb:178 def match_to_s(obj1, obj2); end # Wraps a string in parenthesis and escapes any that are in the string itself. @@ -8622,32 +8622,32 @@ module Mail::Utilities # # paren( 'This is a string' ) #=> '(This is a string)' # - # source://mail//lib/mail/utilities.rb#108 + # pkg:gem/mail#lib/mail/utilities.rb:108 def paren(str); end # If the string supplied has ATOM unsafe characters in it, will return the string quoted # in double quotes, otherwise returns the string unmodified # - # source://mail//lib/mail/utilities.rb#17 + # pkg:gem/mail#lib/mail/utilities.rb:17 def quote_atom(str); end # If the string supplied has PHRASE unsafe characters in it, will return the string quoted # in double quotes, otherwise returns the string unmodified # - # source://mail//lib/mail/utilities.rb#23 + # pkg:gem/mail#lib/mail/utilities.rb:23 def quote_phrase(str); end # If the string supplied has TOKEN unsafe characters in it, will return the string quoted # in double quotes, otherwise returns the string unmodified # - # source://mail//lib/mail/utilities.rb#44 + # pkg:gem/mail#lib/mail/utilities.rb:44 def quote_token(str); end # Returns true if the string supplied is free from characters not allowed as a TOKEN # # @return [Boolean] # - # source://mail//lib/mail/utilities.rb#38 + # pkg:gem/mail#lib/mail/utilities.rb:38 def token_safe?(str); end # Unwraps a string from being wrapped in parenthesis @@ -8657,7 +8657,7 @@ module Mail::Utilities # str = '' # unbracket( str ) #=> 'This is a string' # - # source://mail//lib/mail/utilities.rb#141 + # pkg:gem/mail#lib/mail/utilities.rb:141 def unbracket(str); end # Swaps out all hyphens (-) for underscores (_) good for stringing to symbols @@ -8668,7 +8668,7 @@ module Mail::Utilities # string = :resent_from_field # underscoreize ( string ) #=> 'resent_from_field' # - # source://mail//lib/mail/utilities.rb#221 + # pkg:gem/mail#lib/mail/utilities.rb:221 def underscoreize(str); end # Removes any \-escaping. @@ -8681,7 +8681,7 @@ module Mail::Utilities # string = '"This is \"a string\""' # unescape(string) #=> '"This is "a string""' # - # source://mail//lib/mail/utilities.rb#99 + # pkg:gem/mail#lib/mail/utilities.rb:99 def unescape(str); end # Unwraps a string from being wrapped in parenthesis @@ -8691,7 +8691,7 @@ module Mail::Utilities # str = '(This is a string)' # unparen( str ) #=> 'This is a string' # - # source://mail//lib/mail/utilities.rb#118 + # pkg:gem/mail#lib/mail/utilities.rb:118 def unparen(str); end # Unwraps supplied string from inside double quotes and @@ -8705,84 +8705,84 @@ module Mail::Utilities # string = '"This is \"a string\""' # unqoute(string) #=> 'This is "a string"' # - # source://mail//lib/mail/utilities.rb#82 + # pkg:gem/mail#lib/mail/utilities.rb:82 def unquote(str); end - # source://mail//lib/mail/utilities.rb#159 + # pkg:gem/mail#lib/mail/utilities.rb:159 def uri_escape(str); end - # source://mail//lib/mail/utilities.rb#167 + # pkg:gem/mail#lib/mail/utilities.rb:167 def uri_parser; end - # source://mail//lib/mail/utilities.rb#163 + # pkg:gem/mail#lib/mail/utilities.rb:163 def uri_unescape(str); end class << self - # source://mail//lib/mail/utilities.rb#414 + # pkg:gem/mail#lib/mail/utilities.rb:414 def b_value_decode(str); end - # source://mail//lib/mail/utilities.rb#409 + # pkg:gem/mail#lib/mail/utilities.rb:409 def b_value_encode(str, encoding = T.unsafe(nil)); end - # source://mail//lib/mail/utilities.rb#243 + # pkg:gem/mail#lib/mail/utilities.rb:243 def binary_unsafe_to_crlf(string); end - # source://mail//lib/mail/utilities.rb#233 + # pkg:gem/mail#lib/mail/utilities.rb:233 def binary_unsafe_to_lf(string); end - # source://mail//lib/mail/utilities.rb#356 + # pkg:gem/mail#lib/mail/utilities.rb:356 def bracket(str); end # Returns the value of attribute charset_encoder. # - # source://mail//lib/mail/utilities.rb#334 + # pkg:gem/mail#lib/mail/utilities.rb:334 def charset_encoder; end # Sets the attribute charset_encoder # # @param value the value to set the attribute charset_encoder to. # - # source://mail//lib/mail/utilities.rb#334 + # pkg:gem/mail#lib/mail/utilities.rb:334 def charset_encoder=(_arg0); end - # source://mail//lib/mail/utilities.rb#362 + # pkg:gem/mail#lib/mail/utilities.rb:362 def decode_base64(str); end - # source://mail//lib/mail/utilities.rb#399 + # pkg:gem/mail#lib/mail/utilities.rb:399 def decode_utf7(utf7); end - # source://mail//lib/mail/utilities.rb#369 + # pkg:gem/mail#lib/mail/utilities.rb:369 def encode_base64(str); end # From Ruby stdlib Net::IMAP # - # source://mail//lib/mail/utilities.rb#388 + # pkg:gem/mail#lib/mail/utilities.rb:388 def encode_utf7(string); end - # source://mail//lib/mail/utilities.rb#351 + # pkg:gem/mail#lib/mail/utilities.rb:351 def escape_bracket(str); end # Escapes any parenthesis in a string that are unescaped this uses # a Ruby 1.9.1 regexp feature of negative look behind # - # source://mail//lib/mail/utilities.rb#340 + # pkg:gem/mail#lib/mail/utilities.rb:340 def escape_paren(str); end - # source://mail//lib/mail/utilities.rb#377 + # pkg:gem/mail#lib/mail/utilities.rb:377 def get_constant(klass, string); end # @return [Boolean] # - # source://mail//lib/mail/utilities.rb#373 + # pkg:gem/mail#lib/mail/utilities.rb:373 def has_constant?(klass, string); end - # source://mail//lib/mail/utilities.rb#451 + # pkg:gem/mail#lib/mail/utilities.rb:451 def param_decode(str, encoding); end - # source://mail//lib/mail/utilities.rb#460 + # pkg:gem/mail#lib/mail/utilities.rb:460 def param_encode(str); end - # source://mail//lib/mail/utilities.rb#345 + # pkg:gem/mail#lib/mail/utilities.rb:345 def paren(str); end # Pick a Ruby encoding corresponding to the message charset. Most @@ -8792,99 +8792,99 @@ module Mail::Utilities # Encoding.list.map { |e| [e.to_s.upcase == pick_encoding(e.to_s.downcase.gsub("-", "")), e.to_s] }.select {|a,b| !b} # Encoding.list.map { |e| [e.to_s == pick_encoding(e.to_s), e.to_s] }.select {|a,b| !b} # - # source://mail//lib/mail/utilities.rb#476 + # pkg:gem/mail#lib/mail/utilities.rb:476 def pick_encoding(charset); end - # source://mail//lib/mail/utilities.rb#432 + # pkg:gem/mail#lib/mail/utilities.rb:432 def q_value_decode(str); end - # source://mail//lib/mail/utilities.rb#427 + # pkg:gem/mail#lib/mail/utilities.rb:427 def q_value_encode(str, encoding = T.unsafe(nil)); end # @return [Boolean] # - # source://mail//lib/mail/utilities.rb#247 + # pkg:gem/mail#lib/mail/utilities.rb:247 def safe_for_line_ending_conversion?(string); end - # source://mail//lib/mail/utilities.rb#536 + # pkg:gem/mail#lib/mail/utilities.rb:536 def string_byteslice(str, *args); end # Convert line endings to \r\n unless the string is binary. Used for # encoding 8bit and base64 Content-Transfer-Encoding and for convenience # when parsing emails with \n line endings instead of the required \r\n. # - # source://mail//lib/mail/utilities.rb#269 + # pkg:gem/mail#lib/mail/utilities.rb:269 def to_crlf(string); end # Convert line endings to \n unless the string is binary. Used for # sendmail delivery and for decoding 8bit Content-Transfer-Encoding. # - # source://mail//lib/mail/utilities.rb#257 + # pkg:gem/mail#lib/mail/utilities.rb:257 def to_lf(string); end - # source://mail//lib/mail/utilities.rb#381 + # pkg:gem/mail#lib/mail/utilities.rb:381 def transcode_charset(str, from_encoding, to_encoding = T.unsafe(nil)); end - # source://mail//lib/mail/utilities.rb#466 + # pkg:gem/mail#lib/mail/utilities.rb:466 def uri_parser; end private - # source://mail//lib/mail/utilities.rb#543 + # pkg:gem/mail#lib/mail/utilities.rb:543 def convert_to_encoding(encoding); end - # source://mail//lib/mail/utilities.rb#556 + # pkg:gem/mail#lib/mail/utilities.rb:556 def transcode_to_scrubbed_utf8(str); end end end -# source://mail//lib/mail/utilities.rb#308 +# pkg:gem/mail#lib/mail/utilities.rb:308 class Mail::Utilities::BestEffortCharsetEncoder - # source://mail//lib/mail/utilities.rb#309 + # pkg:gem/mail#lib/mail/utilities.rb:309 def encode(string, charset); end private - # source://mail//lib/mail/utilities.rb#320 + # pkg:gem/mail#lib/mail/utilities.rb:320 def pick_encoding(charset); end end -# source://mail//lib/mail/utilities.rb#297 +# pkg:gem/mail#lib/mail/utilities.rb:297 class Mail::Utilities::StrictCharsetEncoder - # source://mail//lib/mail/utilities.rb#298 + # pkg:gem/mail#lib/mail/utilities.rb:298 def encode(string, charset); end end -# source://mail//lib/mail/utilities.rb#237 +# pkg:gem/mail#lib/mail/utilities.rb:237 Mail::Utilities::TO_CRLF_REGEX = T.let(T.unsafe(nil), Regexp) -# source://mail//lib/mail/version.rb#3 +# pkg:gem/mail#lib/mail/version.rb:3 module Mail::VERSION class << self - # source://mail//lib/mail/version.rb#12 + # pkg:gem/mail#lib/mail/version.rb:12 def version; end end end -# source://mail//lib/mail/version.rb#8 +# pkg:gem/mail#lib/mail/version.rb:8 Mail::VERSION::BUILD = T.let(T.unsafe(nil), T.untyped) -# source://mail//lib/mail/version.rb#5 +# pkg:gem/mail#lib/mail/version.rb:5 Mail::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/version.rb#6 +# pkg:gem/mail#lib/mail/version.rb:6 Mail::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/version.rb#7 +# pkg:gem/mail#lib/mail/version.rb:7 Mail::VERSION::PATCH = T.let(T.unsafe(nil), Integer) -# source://mail//lib/mail/version.rb#10 +# pkg:gem/mail#lib/mail/version.rb:10 Mail::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://mail//lib/mail/yaml.rb#4 +# pkg:gem/mail#lib/mail/yaml.rb:4 module Mail::YAML class << self - # source://mail//lib/mail/yaml.rb#5 + # pkg:gem/mail#lib/mail/yaml.rb:5 def load(yaml); end end end diff --git a/sorbet/rbi/gems/marcel@1.0.4.rbi b/sorbet/rbi/gems/marcel@1.0.4.rbi index 9c22bc05d..0b0cb39cf 100644 --- a/sorbet/rbi/gems/marcel@1.0.4.rbi +++ b/sorbet/rbi/gems/marcel@1.0.4.rbi @@ -8,106 +8,106 @@ # This file is auto-generated. Instead of editing this file, please # add MIMEs to data/custom.xml or lib/marcel/mime_type/definitions.rb. # -# source://marcel//lib/marcel.rb#3 +# pkg:gem/marcel#lib/marcel.rb:3 module Marcel; end # @private # -# source://marcel//lib/marcel/tables.rb#9 +# pkg:gem/marcel#lib/marcel/tables.rb:9 Marcel::EXTENSIONS = T.let(T.unsafe(nil), Hash) # @private # -# source://marcel//lib/marcel/tables.rb#2394 +# pkg:gem/marcel#lib/marcel/tables.rb:2394 Marcel::MAGIC = T.let(T.unsafe(nil), Array) # Mime type detection # -# source://marcel//lib/marcel/magic.rb#12 +# pkg:gem/marcel#lib/marcel/magic.rb:12 class Marcel::Magic # Mime type by type string # # @return [Magic] a new instance of Magic # - # source://marcel//lib/marcel/magic.rb#16 + # pkg:gem/marcel#lib/marcel/magic.rb:16 def initialize(type); end # Allow comparison with string # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#111 + # pkg:gem/marcel#lib/marcel/magic.rb:111 def ==(other); end # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#54 + # pkg:gem/marcel#lib/marcel/magic.rb:54 def audio?; end # Returns true if type is child of parent type # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#58 + # pkg:gem/marcel#lib/marcel/magic.rb:58 def child_of?(parent); end # Get mime comment # - # source://marcel//lib/marcel/magic.rb#68 + # pkg:gem/marcel#lib/marcel/magic.rb:68 def comment; end # Allow comparison with string # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#103 + # pkg:gem/marcel#lib/marcel/magic.rb:103 def eql?(other); end # Get string list of file extensions # - # source://marcel//lib/marcel/magic.rb#63 + # pkg:gem/marcel#lib/marcel/magic.rb:63 def extensions; end - # source://marcel//lib/marcel/magic.rb#107 + # pkg:gem/marcel#lib/marcel/magic.rb:107 def hash; end # Mediatype shortcuts # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#53 + # pkg:gem/marcel#lib/marcel/magic.rb:53 def image?; end # Returns the value of attribute mediatype. # - # source://marcel//lib/marcel/magic.rb#13 + # pkg:gem/marcel#lib/marcel/magic.rb:13 def mediatype; end # Returns the value of attribute subtype. # - # source://marcel//lib/marcel/magic.rb#13 + # pkg:gem/marcel#lib/marcel/magic.rb:13 def subtype; end # Returns true if type is a text format # # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#50 + # pkg:gem/marcel#lib/marcel/magic.rb:50 def text?; end # Return type as string # - # source://marcel//lib/marcel/magic.rb#98 + # pkg:gem/marcel#lib/marcel/magic.rb:98 def to_s; end # Returns the value of attribute type. # - # source://marcel//lib/marcel/magic.rb#13 + # pkg:gem/marcel#lib/marcel/magic.rb:13 def type; end # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#55 + # pkg:gem/marcel#lib/marcel/magic.rb:55 def video?; end class << self @@ -121,57 +121,57 @@ class Marcel::Magic # * :magic: Mime magic specification # * :comment: Comment string # - # source://marcel//lib/marcel/magic.rb#30 + # pkg:gem/marcel#lib/marcel/magic.rb:30 def add(type, options); end # Lookup all mime types by magic content analysis. # This is a slower operation. # - # source://marcel//lib/marcel/magic.rb#93 + # pkg:gem/marcel#lib/marcel/magic.rb:93 def all_by_magic(io); end # Lookup mime type by file extension # - # source://marcel//lib/marcel/magic.rb#73 + # pkg:gem/marcel#lib/marcel/magic.rb:73 def by_extension(ext); end # Lookup mime type by magic content analysis. # This is a slow operation. # - # source://marcel//lib/marcel/magic.rb#86 + # pkg:gem/marcel#lib/marcel/magic.rb:86 def by_magic(io); end # Lookup mime type by filename # - # source://marcel//lib/marcel/magic.rb#80 + # pkg:gem/marcel#lib/marcel/magic.rb:80 def by_path(path); end # @return [Boolean] # - # source://marcel//lib/marcel/magic.rb#113 + # pkg:gem/marcel#lib/marcel/magic.rb:113 def child?(child, parent); end # Removes a mime type from the dictionary. You might want to do this if # you're seeing impossible conflicts (for instance, application/x-gmc-link). # * type: The mime type to remove. All associated extensions and magic are removed too. # - # source://marcel//lib/marcel/magic.rb#42 + # pkg:gem/marcel#lib/marcel/magic.rb:42 def remove(type); end private - # source://marcel//lib/marcel/magic.rb#117 + # pkg:gem/marcel#lib/marcel/magic.rb:117 def magic_match(io, method); end - # source://marcel//lib/marcel/magic.rb#127 + # pkg:gem/marcel#lib/marcel/magic.rb:127 def magic_match_io(io, matches, buffer); end end end -# source://marcel//lib/marcel/mime_type.rb#4 +# pkg:gem/marcel#lib/marcel/mime_type.rb:4 class Marcel::MimeType class << self - # source://marcel//lib/marcel/mime_type.rb#8 + # pkg:gem/marcel#lib/marcel/mime_type.rb:8 def extend(type, extensions: T.unsafe(nil), parents: T.unsafe(nil), magic: T.unsafe(nil)); end # Returns the most appropriate content type for the given file. @@ -190,50 +190,50 @@ class Marcel::MimeType # # If no type can be determined, then +application/octet-stream+ is returned. # - # source://marcel//lib/marcel/mime_type.rb#29 + # pkg:gem/marcel#lib/marcel/mime_type.rb:29 def for(pathname_or_io = T.unsafe(nil), name: T.unsafe(nil), extension: T.unsafe(nil), declared_type: T.unsafe(nil)); end private - # source://marcel//lib/marcel/mime_type.rb#36 + # pkg:gem/marcel#lib/marcel/mime_type.rb:36 def for_data(pathname_or_io); end - # source://marcel//lib/marcel/mime_type.rb#62 + # pkg:gem/marcel#lib/marcel/mime_type.rb:62 def for_declared_type(declared_type); end - # source://marcel//lib/marcel/mime_type.rb#54 + # pkg:gem/marcel#lib/marcel/mime_type.rb:54 def for_extension(extension); end - # source://marcel//lib/marcel/mime_type.rb#46 + # pkg:gem/marcel#lib/marcel/mime_type.rb:46 def for_name(name); end # For some document types (notably Microsoft Office) we recognise the main content # type with magic, but not the specific subclass. In this situation, if we can get a more # specific class using either the name or declared_type, we should use that in preference # - # source://marcel//lib/marcel/mime_type.rb#89 + # pkg:gem/marcel#lib/marcel/mime_type.rb:89 def most_specific_type(*candidates); end - # source://marcel//lib/marcel/mime_type.rb#79 + # pkg:gem/marcel#lib/marcel/mime_type.rb:79 def parse_media_type(content_type); end - # source://marcel//lib/marcel/mime_type.rb#71 + # pkg:gem/marcel#lib/marcel/mime_type.rb:71 def with_io(pathname_or_io, &block); end end end -# source://marcel//lib/marcel/mime_type.rb#5 +# pkg:gem/marcel#lib/marcel/mime_type.rb:5 Marcel::MimeType::BINARY = T.let(T.unsafe(nil), String) # @private # -# source://marcel//lib/marcel/tables.rb#1260 +# pkg:gem/marcel#lib/marcel/tables.rb:1260 Marcel::TYPE_EXTS = T.let(T.unsafe(nil), Hash) # Cooltalk Audio # -# source://marcel//lib/marcel/tables.rb#2151 +# pkg:gem/marcel#lib/marcel/tables.rb:2151 Marcel::TYPE_PARENTS = T.let(T.unsafe(nil), Hash) -# source://marcel//lib/marcel/version.rb#4 +# pkg:gem/marcel#lib/marcel/version.rb:4 Marcel::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/mini_mime@1.1.5.rbi b/sorbet/rbi/gems/mini_mime@1.1.5.rbi index 1551681e2..4244b2e09 100644 --- a/sorbet/rbi/gems/mini_mime@1.1.5.rbi +++ b/sorbet/rbi/gems/mini_mime@1.1.5.rbi @@ -5,169 +5,169 @@ # Please instead update this file by running `bin/tapioca gem mini_mime`. -# source://mini_mime//lib/mini_mime/version.rb#2 +# pkg:gem/mini_mime#lib/mini_mime/version.rb:2 module MiniMime class << self - # source://mini_mime//lib/mini_mime.rb#14 + # pkg:gem/mini_mime#lib/mini_mime.rb:14 def lookup_by_content_type(mime); end - # source://mini_mime//lib/mini_mime.rb#10 + # pkg:gem/mini_mime#lib/mini_mime.rb:10 def lookup_by_extension(extension); end - # source://mini_mime//lib/mini_mime.rb#6 + # pkg:gem/mini_mime#lib/mini_mime.rb:6 def lookup_by_filename(filename); end end end -# source://mini_mime//lib/mini_mime.rb#18 +# pkg:gem/mini_mime#lib/mini_mime.rb:18 module MiniMime::Configuration class << self # Returns the value of attribute content_type_db_path. # - # source://mini_mime//lib/mini_mime.rb#21 + # pkg:gem/mini_mime#lib/mini_mime.rb:21 def content_type_db_path; end # Sets the attribute content_type_db_path # # @param value the value to set the attribute content_type_db_path to. # - # source://mini_mime//lib/mini_mime.rb#21 + # pkg:gem/mini_mime#lib/mini_mime.rb:21 def content_type_db_path=(_arg0); end # Returns the value of attribute ext_db_path. # - # source://mini_mime//lib/mini_mime.rb#20 + # pkg:gem/mini_mime#lib/mini_mime.rb:20 def ext_db_path; end # Sets the attribute ext_db_path # # @param value the value to set the attribute ext_db_path to. # - # source://mini_mime//lib/mini_mime.rb#20 + # pkg:gem/mini_mime#lib/mini_mime.rb:20 def ext_db_path=(_arg0); end end end -# source://mini_mime//lib/mini_mime.rb#52 +# pkg:gem/mini_mime#lib/mini_mime.rb:52 class MiniMime::Db # @return [Db] a new instance of Db # - # source://mini_mime//lib/mini_mime.rb#173 + # pkg:gem/mini_mime#lib/mini_mime.rb:173 def initialize; end - # source://mini_mime//lib/mini_mime.rb#182 + # pkg:gem/mini_mime#lib/mini_mime.rb:182 def lookup_by_content_type(content_type); end - # source://mini_mime//lib/mini_mime.rb#178 + # pkg:gem/mini_mime#lib/mini_mime.rb:178 def lookup_by_extension(extension); end class << self - # source://mini_mime//lib/mini_mime.rb#66 + # pkg:gem/mini_mime#lib/mini_mime.rb:66 def lookup_by_content_type(content_type); end - # source://mini_mime//lib/mini_mime.rb#60 + # pkg:gem/mini_mime#lib/mini_mime.rb:60 def lookup_by_extension(extension); end - # source://mini_mime//lib/mini_mime.rb#53 + # pkg:gem/mini_mime#lib/mini_mime.rb:53 def lookup_by_filename(filename); end end end -# source://mini_mime//lib/mini_mime.rb#71 +# pkg:gem/mini_mime#lib/mini_mime.rb:71 class MiniMime::Db::Cache # @return [Cache] a new instance of Cache # - # source://mini_mime//lib/mini_mime.rb#72 + # pkg:gem/mini_mime#lib/mini_mime.rb:72 def initialize(size); end - # source://mini_mime//lib/mini_mime.rb#77 + # pkg:gem/mini_mime#lib/mini_mime.rb:77 def []=(key, val); end - # source://mini_mime//lib/mini_mime.rb#83 + # pkg:gem/mini_mime#lib/mini_mime.rb:83 def fetch(key, &blk); end end # For Windows support # -# source://mini_mime//lib/mini_mime.rb#89 +# pkg:gem/mini_mime#lib/mini_mime.rb:89 MiniMime::Db::PReadFile = File -# source://mini_mime//lib/mini_mime.rb#114 +# pkg:gem/mini_mime#lib/mini_mime.rb:114 class MiniMime::Db::RandomAccessDb # @return [RandomAccessDb] a new instance of RandomAccessDb # - # source://mini_mime//lib/mini_mime.rb#117 + # pkg:gem/mini_mime#lib/mini_mime.rb:117 def initialize(path, sort_order); end - # source://mini_mime//lib/mini_mime.rb#131 + # pkg:gem/mini_mime#lib/mini_mime.rb:131 def lookup(val); end # lifted from marcandre/backports # - # source://mini_mime//lib/mini_mime.rb#147 + # pkg:gem/mini_mime#lib/mini_mime.rb:147 def lookup_uncached(val); end - # source://mini_mime//lib/mini_mime.rb#168 + # pkg:gem/mini_mime#lib/mini_mime.rb:168 def resolve(row); end end -# source://mini_mime//lib/mini_mime.rb#115 +# pkg:gem/mini_mime#lib/mini_mime.rb:115 MiniMime::Db::RandomAccessDb::MAX_CACHED = T.let(T.unsafe(nil), Integer) -# source://mini_mime//lib/mini_mime.rb#28 +# pkg:gem/mini_mime#lib/mini_mime.rb:28 class MiniMime::Info # @return [Info] a new instance of Info # - # source://mini_mime//lib/mini_mime.rb#33 + # pkg:gem/mini_mime#lib/mini_mime.rb:33 def initialize(buffer); end - # source://mini_mime//lib/mini_mime.rb#37 + # pkg:gem/mini_mime#lib/mini_mime.rb:37 def [](idx); end # @return [Boolean] # - # source://mini_mime//lib/mini_mime.rb#47 + # pkg:gem/mini_mime#lib/mini_mime.rb:47 def binary?; end # Returns the value of attribute content_type. # - # source://mini_mime//lib/mini_mime.rb#31 + # pkg:gem/mini_mime#lib/mini_mime.rb:31 def content_type; end # Sets the attribute content_type # # @param value the value to set the attribute content_type to. # - # source://mini_mime//lib/mini_mime.rb#31 + # pkg:gem/mini_mime#lib/mini_mime.rb:31 def content_type=(_arg0); end # Returns the value of attribute encoding. # - # source://mini_mime//lib/mini_mime.rb#31 + # pkg:gem/mini_mime#lib/mini_mime.rb:31 def encoding; end # Sets the attribute encoding # # @param value the value to set the attribute encoding to. # - # source://mini_mime//lib/mini_mime.rb#31 + # pkg:gem/mini_mime#lib/mini_mime.rb:31 def encoding=(_arg0); end # Returns the value of attribute extension. # - # source://mini_mime//lib/mini_mime.rb#31 + # pkg:gem/mini_mime#lib/mini_mime.rb:31 def extension; end # Sets the attribute extension # # @param value the value to set the attribute extension to. # - # source://mini_mime//lib/mini_mime.rb#31 + # pkg:gem/mini_mime#lib/mini_mime.rb:31 def extension=(_arg0); end end -# source://mini_mime//lib/mini_mime.rb#29 +# pkg:gem/mini_mime#lib/mini_mime.rb:29 MiniMime::Info::BINARY_ENCODINGS = T.let(T.unsafe(nil), Array) -# source://mini_mime//lib/mini_mime/version.rb#3 +# pkg:gem/mini_mime#lib/mini_mime/version.rb:3 MiniMime::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/mini_portile2@2.8.9.rbi b/sorbet/rbi/gems/mini_portile2@2.8.9.rbi deleted file mode 100644 index fab12e608..000000000 --- a/sorbet/rbi/gems/mini_portile2@2.8.9.rbi +++ /dev/null @@ -1,9 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `mini_portile2` gem. -# Please instead update this file by running `bin/tapioca gem mini_portile2`. - - -# THIS IS AN EMPTY RBI FILE. -# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem diff --git a/sorbet/rbi/gems/minitest-hooks@1.5.3.rbi b/sorbet/rbi/gems/minitest-hooks@1.5.3.rbi index 526a9ac1b..375f95230 100644 --- a/sorbet/rbi/gems/minitest-hooks@1.5.3.rbi +++ b/sorbet/rbi/gems/minitest-hooks@1.5.3.rbi @@ -8,33 +8,33 @@ # Add support for around and before_all/after_all/around_all hooks to # minitest spec classes. # -# source://minitest-hooks//lib/minitest/hooks/test.rb#5 +# pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:5 module Minitest::Hooks mixes_in_class_methods ::Minitest::Hooks::ClassMethods # Empty method, necessary so that super calls in spec subclasses work. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#21 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:21 def after_all; end # Method that just yields, so that super calls in spec subclasses work. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#30 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:30 def around; end # Method that just yields, so that super calls in spec subclasses work. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#25 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:25 def around_all; end # Empty method, necessary so that super calls in spec subclasses work. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#17 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:17 def before_all; end # Run around hook inside, since time_it is run around every spec. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#35 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:35 def time_it; end class << self @@ -42,55 +42,55 @@ module Minitest::Hooks # module in the class that before(:all) and after(:all) methods # work on a class that directly includes this module. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#9 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:9 def included(mod); end end end -# source://minitest-hooks//lib/minitest/hooks/test.rb#44 +# pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:44 module Minitest::Hooks::ClassMethods # If type is :all, set the after_all hook instead of the after hook. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#134 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:134 def after(type = T.unsafe(nil), &block); end # If type is :all, set the around_all hook, otherwise set the around hook. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#115 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:115 def around(type = T.unsafe(nil), &block); end # If type is :all, set the before_all hook instead of the before hook. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#121 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:121 def before(type = T.unsafe(nil), &block); end # Unless name is NEW, return a dup singleton instance. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#50 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:50 def new(name); end # When running the specs in the class, first create a singleton instance, the singleton is # used to implement around_all/before_all/after_all hooks, and each spec will run as a # dup of the singleton instance. # - # source://minitest-hooks//lib/minitest/hooks/test.rb#73 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:73 def with_info_handler(*args, &block); end private - # source://minitest-hooks//lib/minitest/hooks/test.rb#148 + # pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:148 def _record_minitest_hooks_error(reporter, instance); end end # Object used to get an empty new instance, as new by default will return # a dup of the singleton instance. # -# source://minitest-hooks//lib/minitest/hooks/test.rb#47 +# pkg:gem/minitest-hooks#lib/minitest/hooks/test.rb:47 Minitest::Hooks::ClassMethods::NEW = T.let(T.unsafe(nil), Object) # Spec subclass that includes the hook methods. # -# source://minitest-hooks//lib/minitest/hooks.rb#5 +# pkg:gem/minitest-hooks#lib/minitest/hooks.rb:5 class Minitest::HooksSpec < ::Minitest::Spec include ::Minitest::Hooks extend ::Minitest::Hooks::ClassMethods diff --git a/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi b/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi index f8f40a380..5d887dda7 100644 --- a/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi +++ b/sorbet/rbi/gems/minitest-reporters@1.7.1.rbi @@ -5,25 +5,25 @@ # Please instead update this file by running `bin/tapioca gem minitest-reporters`. -# source://minitest-reporters//lib/minitest/reporters.rb#3 +# pkg:gem/minitest-reporters#lib/minitest/reporters.rb:3 module Minitest; end # Filters backtraces of exceptions that may arise when running tests. # -# source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#3 +# pkg:gem/minitest-reporters#lib/minitest/extensible_backtrace_filter.rb:3 class Minitest::ExtensibleBacktraceFilter # Creates a new backtrace filter. # # @return [ExtensibleBacktraceFilter] a new instance of ExtensibleBacktraceFilter # - # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#21 + # pkg:gem/minitest-reporters#lib/minitest/extensible_backtrace_filter.rb:21 def initialize; end # Adds a filter. # # @param regex [Regex] the filter # - # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#28 + # pkg:gem/minitest-reporters#lib/minitest/extensible_backtrace_filter.rb:28 def add_filter(regex); end # Filters a backtrace. @@ -39,7 +39,7 @@ class Minitest::ExtensibleBacktraceFilter # @param backtrace [Array] the backtrace to filter # @return [Array] the filtered backtrace # - # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#52 + # pkg:gem/minitest-reporters#lib/minitest/extensible_backtrace_filter.rb:52 def filter(backtrace); end # Determines if the string would be filtered. @@ -47,7 +47,7 @@ class Minitest::ExtensibleBacktraceFilter # @param str [String] # @return [Boolean] # - # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#36 + # pkg:gem/minitest-reporters#lib/minitest/extensible_backtrace_filter.rb:36 def filters?(str); end class << self @@ -58,82 +58,82 @@ class Minitest::ExtensibleBacktraceFilter # # @return [Minitest::ExtensibleBacktraceFilter] # - # source://minitest-reporters//lib/minitest/extensible_backtrace_filter.rb#10 + # pkg:gem/minitest-reporters#lib/minitest/extensible_backtrace_filter.rb:10 def default_filter; end end end -# source://minitest-reporters//lib/minitest/relative_position.rb#2 +# pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:2 module Minitest::RelativePosition private - # source://minitest-reporters//lib/minitest/relative_position.rb#14 + # pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:14 def pad(str, size = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/relative_position.rb#18 + # pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:18 def pad_mark(str); end - # source://minitest-reporters//lib/minitest/relative_position.rb#22 + # pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:22 def pad_test(str); end - # source://minitest-reporters//lib/minitest/relative_position.rb#10 + # pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:10 def print_with_info_padding(line); end end -# source://minitest-reporters//lib/minitest/relative_position.rb#6 +# pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:6 Minitest::RelativePosition::INFO_PADDING = T.let(T.unsafe(nil), Integer) -# source://minitest-reporters//lib/minitest/relative_position.rb#5 +# pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:5 Minitest::RelativePosition::MARK_SIZE = T.let(T.unsafe(nil), Integer) -# source://minitest-reporters//lib/minitest/relative_position.rb#3 +# pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:3 Minitest::RelativePosition::TEST_PADDING = T.let(T.unsafe(nil), Integer) -# source://minitest-reporters//lib/minitest/relative_position.rb#4 +# pkg:gem/minitest-reporters#lib/minitest/relative_position.rb:4 Minitest::RelativePosition::TEST_SIZE = T.let(T.unsafe(nil), Integer) -# source://minitest-reporters//lib/minitest/reporters.rb#7 +# pkg:gem/minitest-reporters#lib/minitest/reporters.rb:7 module Minitest::Reporters class << self - # source://minitest-reporters//lib/minitest/reporters.rb#61 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:61 def choose_reporters(console_reporters, env); end - # source://minitest-reporters//lib/minitest/reporters.rb#73 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:73 def clock_time; end - # source://minitest-reporters//lib/minitest/reporters.rb#81 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:81 def minitest_version; end # Returns the value of attribute reporters. # - # source://minitest-reporters//lib/minitest/reporters.rb#22 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:22 def reporters; end # Sets the attribute reporters # # @param value the value to set the attribute reporters to. # - # source://minitest-reporters//lib/minitest/reporters.rb#22 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:22 def reporters=(_arg0); end - # source://minitest-reporters//lib/minitest/reporters.rb#25 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:25 def use!(console_reporters = T.unsafe(nil), env = T.unsafe(nil), backtrace_filter = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters.rb#43 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:43 def use_around_test_hooks!; end - # source://minitest-reporters//lib/minitest/reporters.rb#85 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:85 def use_old_activesupport_fix!; end - # source://minitest-reporters//lib/minitest/reporters.rb#39 + # pkg:gem/minitest-reporters#lib/minitest/reporters.rb:39 def use_runner!(console_reporters, env); end end end -# source://minitest-reporters//lib/minitest/reporters/ansi.rb#3 +# pkg:gem/minitest-reporters#lib/minitest/reporters/ansi.rb:3 module Minitest::Reporters::ANSI; end -# source://minitest-reporters//lib/minitest/reporters/ansi.rb#4 +# pkg:gem/minitest-reporters#lib/minitest/reporters/ansi.rb:4 module Minitest::Reporters::ANSI::Code include ::ANSI::Constants include ::ANSI::Code @@ -143,86 +143,86 @@ module Minitest::Reporters::ANSI::Code class << self # @return [Boolean] # - # source://minitest-reporters//lib/minitest/reporters/ansi.rb#5 + # pkg:gem/minitest-reporters#lib/minitest/reporters/ansi.rb:5 def color?; end end end -# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#25 +# pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:25 class Minitest::Reporters::BaseReporter < ::Minitest::StatisticsReporter # @return [BaseReporter] a new instance of BaseReporter # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#28 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:28 def initialize(options = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#33 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:33 def add_defaults(defaults); end # called by our own after hooks # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#55 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:55 def after_test(_test); end # called by our own before hooks # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#38 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:38 def before_test(test); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#49 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:49 def record(test); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#57 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:57 def report; end # Returns the value of attribute tests. # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#26 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:26 def tests; end # Sets the attribute tests # # @param value the value to set the attribute tests to. # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#26 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:26 def tests=(_arg0); end protected - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#66 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:66 def after_suite(test); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#68 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:68 def before_suite(test); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#111 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:111 def filter_backtrace(backtrace); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#119 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:119 def print(*args); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#93 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:93 def print_colored_status(test); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#123 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:123 def print_info(e, name = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#115 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:115 def puts(*args); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#70 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:70 def result(test); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#82 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:82 def test_class(result); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#107 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:107 def total_count; end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#103 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:103 def total_time; end end -# source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#10 +# pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:10 class Minitest::Reporters::DefaultReporter < ::Minitest::Reporters::BaseReporter include ::ANSI::Constants include ::ANSI::Code @@ -231,89 +231,89 @@ class Minitest::Reporters::DefaultReporter < ::Minitest::Reporters::BaseReporter # @return [DefaultReporter] a new instance of DefaultReporter # - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#14 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:14 def initialize(options = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#47 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:47 def after_suite(suite); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#42 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:42 def before_suite(suite); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#37 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:37 def before_test(test); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#59 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:59 def on_record(test); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#94 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:94 def on_report; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#31 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:31 def on_start; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#140 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:140 def print_failure(test); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#53 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:53 def record(test); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#85 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:85 def record_failure(record); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#77 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:77 def record_pass(record); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#81 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:81 def record_skip(record); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#89 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:89 def report; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#26 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:26 def start; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#138 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:138 def to_s; end private # @return [Boolean] # - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#167 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:167 def color?; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#189 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:189 def colored_for(result, string); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#159 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:159 def get_source_location(result); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#177 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:177 def green(string); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#206 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:206 def location(exception); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#216 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:216 def message_for(test); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#185 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:185 def red(string); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#155 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:155 def relative_path(path); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#230 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:230 def result_line; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#235 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:235 def suite_duration(suite); end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#197 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:197 def suite_result; end - # source://minitest-reporters//lib/minitest/reporters/default_reporter.rb#181 + # pkg:gem/minitest-reporters#lib/minitest/reporters/default_reporter.rb:181 def yellow(string); end end @@ -331,7 +331,7 @@ end # The report is generated using ERB. A custom ERB template can be provided but it is not required # The default ERB template uses JQuery and Bootstrap, both of these are included by referencing the CDN sites # -# source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#20 +# pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:20 class Minitest::Reporters::HtmlReporter < ::Minitest::Reporters::BaseReporter # The constructor takes a hash, and uses the following keys: # :title - the title that will be used in the report, defaults to 'Test Results' @@ -342,51 +342,51 @@ class Minitest::Reporters::HtmlReporter < ::Minitest::Reporters::BaseReporter # # @return [HtmlReporter] a new instance of HtmlReporter # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#60 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:60 def initialize(args = T.unsafe(nil)); end # Trims off the number prefix on test names when using Minitest Specs # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#48 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:48 def friendly_name(test); end # The number of tests that passed # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#25 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:25 def passes; end # The percentage of tests that failed # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#43 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:43 def percent_errors_failures; end # The percentage of tests that passed, calculated in a way that avoids rounding errors # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#30 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:30 def percent_passes; end # 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#40 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:40 def percent_skipps; end # The percentage of tests that were skipped # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#35 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:35 def percent_skips; end # Called by the framework to generate the report # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#91 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:91 def report; end - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#82 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:82 def start; end # The title of the report # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#22 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:22 def title; end private @@ -395,46 +395,46 @@ class Minitest::Reporters::HtmlReporter < ::Minitest::Reporters::BaseReporter # Test suites which have failing tests are given highest order # Tests suites which have skipped tests are given second highest priority # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#142 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:142 def compare_suites(suite_a, suite_b); end - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#131 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:131 def compare_suites_by_name(suite_a, suite_b); end # Tests are first ordered by evaluating the results of the tests, then by tests names # Tess which fail are given highest order # Tests which are skipped are given second highest priority # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#157 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:157 def compare_tests(test_a, test_b); end - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#135 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:135 def compare_tests_by_name(test_a, test_b); end - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#127 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:127 def html_file; end # taken from the JUnit reporter # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#207 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:207 def location(exception); end # based on message_for(test) from the JUnit reporter # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#190 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:190 def message_for(test); end # based on analyze_suite from the JUnit reporter # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#175 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:175 def summarize_suite(suite, tests); end # @return [Boolean] # - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#170 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:170 def test_fail_or_error?(test); end - # source://minitest-reporters//lib/minitest/reporters/html_reporter.rb#216 + # pkg:gem/minitest-reporters#lib/minitest/reporters/html_reporter.rb:216 def total_time_to_hms; end end @@ -445,52 +445,52 @@ end # Also inspired by Marc Seeger's attempt at producing a JUnitReporter (see https://github.com/rb2k/minitest-reporters/commit/e13d95b5f884453a9c77f62bc5cba3fa1df30ef5) # Also inspired by minitest-ci (see https://github.com/bhenderson/minitest-ci) # -# source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#16 +# pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:16 class Minitest::Reporters::JUnitReporter < ::Minitest::Reporters::BaseReporter # @return [JUnitReporter] a new instance of JUnitReporter # - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#21 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:21 def initialize(reports_dir = T.unsafe(nil), empty = T.unsafe(nil), options = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#64 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:64 def get_relative_path(result); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#35 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:35 def report; end # Returns the value of attribute reports_path. # - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#19 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:19 def reports_path; end private - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#166 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:166 def analyze_suite(tests); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#179 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:179 def filename_for(suite); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#77 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:77 def get_source_location(result); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#156 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:156 def location(exception); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#134 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:134 def message_for(test); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#85 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:85 def parse_xml_for(xml, suite, tests); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#150 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:150 def xml_attachment_for(test); end - # source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#111 + # pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:111 def xml_message_for(test); end end -# source://minitest-reporters//lib/minitest/reporters/junit_reporter.rb#17 +# pkg:gem/minitest-reporters#lib/minitest/reporters/junit_reporter.rb:17 Minitest::Reporters::JUnitReporter::DEFAULT_REPORTS_DIR = T.let(T.unsafe(nil), String) # This reporter creates a report providing the average (mean), minimum and @@ -510,7 +510,7 @@ Minitest::Reporters::JUnitReporter::DEFAULT_REPORTS_DIR = T.let(T.unsafe(nil), S # # rake reset_statistics # -# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#24 +# pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:24 class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultReporter # @option order # @option previous_runs_filename @@ -529,7 +529,7 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # @param sort_column [Hash] a customizable set of options # @return [Minitest::Reporters::MeanTimeReporter] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#54 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:54 def initialize(options = T.unsafe(nil)); end # Copies the suite times from the @@ -538,16 +538,16 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [Hash Float>] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#65 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:65 def after_suite(suite); end - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#90 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:90 def on_record(test); end - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#94 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:94 def on_report; end - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#86 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:86 def on_start; end # Runs the {Minitest::Reporters::DefaultReporter#report} method and then @@ -555,7 +555,7 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # outputs the parsed results to both the 'report_filename' and the # terminal. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#76 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:76 def report; end # Resets the 'previous runs' file, essentially removing all previous @@ -563,39 +563,39 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [void] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#102 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:102 def reset_statistics!; end protected # Returns the value of attribute all_suite_times. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#108 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:108 def all_suite_times; end # Sets the attribute all_suite_times # # @param value the value to set the attribute all_suite_times to. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#108 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:108 def all_suite_times=(_arg0); end private # @return [Boolean] Whether the given :order option is :asc. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#346 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:346 def asc?; end # @return [String] A yellow 'Avg:' label. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#301 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:301 def avg_label; end # @return [Array String>>] All of the results sorted by # the :sort_column option. (Defaults to :avg). # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#172 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:172 def column_sorted_body; end # Creates a new report file in the 'report_filename'. This file contains @@ -616,7 +616,7 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [void] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#286 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:286 def create_new_report!; end # Creates a new 'previous runs' file, or updates the existing one with @@ -624,61 +624,61 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [void] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#248 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:248 def create_or_update_previous_runs!; end # @return [Hash Float>] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#113 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:113 def current_run; end # @return [Hash] Sets default values for the filenames used by this class, # and the number of tests to output to output to the screen after each # run. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#120 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:120 def defaults; end # @return [String] A blue 'Description:' label. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#306 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:306 def des_label; end # @return [Boolean] Whether the given :order option is :desc (default). # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#351 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:351 def desc?; end # @return [String] A red 'Max:' label. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#311 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:311 def max_label; end # @return [String] A green 'Min:' label. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#316 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:316 def min_label; end # @return [Hash] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#189 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:189 def options; end # @raise [Minitest::Reporters::MeanTimeReporter::InvalidOrder] When the given :order option is invalid. # @return [Symbol] The :order option, or by default; :desc. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#358 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:358 def order; end # @return [String] All of the column-sorted results sorted by the :order # option. (Defaults to :desc). # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#160 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:160 def order_sorted_body; end # @return [Hash Array]] Hash Array] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#200 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:200 def previous_run; end # @return [String] The path to the file which contains all the durations @@ -686,14 +686,14 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # test name for the key and an array containing the time taken to run # this test for values. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#208 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:208 def previous_runs_filename; end # Returns a boolean indicating whether a previous runs file exists. # # @return [Boolean] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#215 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:215 def previously_ran?; end # @param max [Float] The maximum run time. @@ -701,7 +701,7 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # @param run [Float] The last run time. # @return [Symbol] One of :faster, :slower or :inconclusive. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#335 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:335 def rate(run, min, max); end # The report itself. Displays statistics about all runs, ideal for use @@ -710,7 +710,7 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [String] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#146 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:146 def report_body; end # @return [String] The path to the file which contains the parsed test @@ -719,20 +719,20 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # the maximum time the test took to run and a description of the test # (which is the test name as emitted by Minitest). # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#224 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:224 def report_filename; end # Added to the top of the report file and to the screen output. # # @return [String] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#135 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:135 def report_title; end # @param rating [Symbol] One of :faster, :slower or :inconclusive. # @return [String] A purple 'Last:' label. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#322 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:322 def run_label(rating); end # A barbaric way to find out how many runs are in the previous runs file; @@ -746,19 +746,19 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [Fixnum] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#238 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:238 def samples; end # @return [Fixnum] The number of tests to output to output to the screen # after each run. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#195 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:195 def show_count; end # @raise [Minitest::Reporters::MeanTimeReporter::InvalidSortColumn] When the given :sort_column option is invalid. # @return [Symbol] The :sort_column option, or by default; :avg. # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#374 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:374 def sort_column; end # Writes a number of tests (configured via the 'show_count' option) to the @@ -767,7 +767,7 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [void] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#295 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:295 def write_to_screen!; end class << self @@ -777,18 +777,18 @@ class Minitest::Reporters::MeanTimeReporter < ::Minitest::Reporters::DefaultRepo # # @return [Boolean] # - # source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#33 + # pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:33 def reset_statistics!; end end end -# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#25 +# pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:25 class Minitest::Reporters::MeanTimeReporter::InvalidOrder < ::StandardError; end -# source://minitest-reporters//lib/minitest/reporters/mean_time_reporter.rb#26 +# pkg:gem/minitest-reporters#lib/minitest/reporters/mean_time_reporter.rb:26 class Minitest::Reporters::MeanTimeReporter::InvalidSortColumn < ::StandardError; end -# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#12 +# pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:12 class Minitest::Reporters::ProgressReporter < ::Minitest::Reporters::BaseReporter include ::Minitest::RelativePosition include ::ANSI::Constants @@ -797,70 +797,70 @@ class Minitest::Reporters::ProgressReporter < ::Minitest::Reporters::BaseReporte # @return [ProgressReporter] a new instance of ProgressReporter # - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#18 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:18 def initialize(options = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#41 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:41 def before_test(test); end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#49 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:49 def record(test); end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#70 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:70 def report; end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#32 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:32 def start; end private - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#93 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:93 def color; end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#97 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:97 def color=(color); end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#89 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:89 def print_test_with_time(test); end - # source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#85 + # pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:85 def show; end end -# source://minitest-reporters//lib/minitest/reporters/progress_reporter.rb#16 +# pkg:gem/minitest-reporters#lib/minitest/reporters/progress_reporter.rb:16 Minitest::Reporters::ProgressReporter::PROGRESS_MARK = T.let(T.unsafe(nil), String) # Simple reporter designed for RubyMate. # -# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#4 +# pkg:gem/minitest-reporters#lib/minitest/reporters/ruby_mate_reporter.rb:4 class Minitest::Reporters::RubyMateReporter < ::Minitest::Reporters::BaseReporter include ::Minitest::RelativePosition - # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#15 + # pkg:gem/minitest-reporters#lib/minitest/reporters/ruby_mate_reporter.rb:15 def record(test); end - # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#37 + # pkg:gem/minitest-reporters#lib/minitest/reporters/ruby_mate_reporter.rb:37 def report; end - # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#9 + # pkg:gem/minitest-reporters#lib/minitest/reporters/ruby_mate_reporter.rb:9 def start; end private - # source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#49 + # pkg:gem/minitest-reporters#lib/minitest/reporters/ruby_mate_reporter.rb:49 def print_test_with_time(test); end end -# source://minitest-reporters//lib/minitest/reporters/ruby_mate_reporter.rb#7 +# pkg:gem/minitest-reporters#lib/minitest/reporters/ruby_mate_reporter.rb:7 Minitest::Reporters::RubyMateReporter::INFO_PADDING = T.let(T.unsafe(nil), Integer) -# source://minitest-reporters//lib/minitest/reporters/rubymine_reporter.rb#15 +# pkg:gem/minitest-reporters#lib/minitest/reporters/rubymine_reporter.rb:15 class Minitest::Reporters::RubyMineReporter < ::Minitest::Reporters::DefaultReporter - # source://minitest-reporters//lib/minitest/reporters/rubymine_reporter.rb#16 + # pkg:gem/minitest-reporters#lib/minitest/reporters/rubymine_reporter.rb:16 def initialize(options = T.unsafe(nil)); end end -# source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#9 +# pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:9 class Minitest::Reporters::SpecReporter < ::Minitest::Reporters::BaseReporter include ::ANSI::Constants include ::ANSI::Code @@ -874,62 +874,62 @@ class Minitest::Reporters::SpecReporter < ::Minitest::Reporters::BaseReporter # @param options [Hash] # @return [SpecReporter] a new instance of SpecReporter # - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#20 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:20 def initialize(options = T.unsafe(nil)); end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#53 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:53 def record(test); end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#32 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:32 def report; end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#26 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:26 def start; end protected - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#65 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:65 def after_suite(_suite); end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#61 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:61 def before_suite(suite); end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#69 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:69 def print_failure(name, tests); end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#79 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:79 def record_print_failures_if_any(test); end - # source://minitest-reporters//lib/minitest/reporters/spec_reporter.rb#86 + # pkg:gem/minitest-reporters#lib/minitest/reporters/spec_reporter.rb:86 def record_print_status(test); end end -# source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#3 +# pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:3 class Minitest::Reporters::Suite # @return [Suite] a new instance of Suite # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#5 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:5 def initialize(name); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#9 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:9 def ==(other); end # @return [Boolean] # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#13 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:13 def eql?(other); end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#17 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:17 def hash; end # Returns the value of attribute name. # - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#4 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:4 def name; end - # source://minitest-reporters//lib/minitest/reporters/base_reporter.rb#21 + # pkg:gem/minitest-reporters#lib/minitest/reporters/base_reporter.rb:21 def to_s; end end -# source://minitest-reporters//lib/minitest/reporters/version.rb#3 +# pkg:gem/minitest-reporters#lib/minitest/reporters/version.rb:3 Minitest::Reporters::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/minitest@5.27.0.rbi b/sorbet/rbi/gems/minitest@5.27.0.rbi index 681abdb14..6f6cc02f4 100644 --- a/sorbet/rbi/gems/minitest@5.27.0.rbi +++ b/sorbet/rbi/gems/minitest@5.27.0.rbi @@ -7,7 +7,7 @@ # Kernel extensions for minitest # -# source://minitest//lib/minitest/spec.rb#50 +# pkg:gem/minitest#lib/minitest/spec.rb:50 module Kernel private @@ -45,20 +45,20 @@ module Kernel # # For more information about expectations, see Minitest::Expectations. # - # source://minitest//lib/minitest/spec.rb#86 + # pkg:gem/minitest#lib/minitest/spec.rb:86 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#3 +# pkg:gem/minitest#lib/minitest/parallel.rb:3 module Minitest class << self # Internal run method. Responsible for telling all Runnable # sub-classes to run. # - # source://minitest//lib/minitest.rb#337 + # pkg:gem/minitest#lib/minitest.rb:337 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#96 + # pkg:gem/minitest#lib/minitest.rb:96 def after_run(&block); end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def allow_fork; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def allow_fork=(_arg0); end # Registers Minitest to run at process exit # - # source://minitest//lib/minitest.rb#70 + # pkg:gem/minitest#lib/minitest.rb:70 def autorun; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def backtrace_filter; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def backtrace_filter=(_arg0); end - # source://minitest//lib/minitest.rb#19 + # pkg:gem/minitest#lib/minitest.rb:19 def cattr_accessor(name); end - # source://minitest//lib/minitest.rb#1231 + # pkg:gem/minitest#lib/minitest.rb:1231 def clock_time; end - # source://minitest//lib/minitest.rb#317 + # pkg:gem/minitest#lib/minitest.rb:317 def empty_run!(options); end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def extensions; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def extensions=(_arg0); end - # source://minitest//lib/minitest.rb#350 + # pkg:gem/minitest#lib/minitest.rb:350 def filter_backtrace(bt); end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def info_signal; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def info_signal=(_arg0); end - # source://minitest//lib/minitest.rb#124 + # pkg:gem/minitest#lib/minitest.rb:124 def init_plugins(options); end - # source://minitest//lib/minitest.rb#108 + # pkg:gem/minitest#lib/minitest.rb:108 def load_plugins; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def parallel_executor; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def parallel_executor=(_arg0); end - # source://minitest//lib/minitest.rb#142 + # pkg:gem/minitest#lib/minitest.rb:142 def process_args(args = T.unsafe(nil)); end # Register a plugin to be used. Does NOT require / load it. # - # source://minitest//lib/minitest.rb#103 + # pkg:gem/minitest#lib/minitest.rb:103 def register_plugin(name_or_mod); end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def reporter; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def reporter=(_arg0); end # This is the top-level run method. Everything starts from here. It @@ -156,16 +156,16 @@ module Minitest # Minitest.run_one_method(runnable_klass, runnable_method) # runnable_klass.new(runnable_method).run # - # source://minitest//lib/minitest.rb#282 + # pkg:gem/minitest#lib/minitest.rb:282 def run(args = T.unsafe(nil)); end - # source://minitest//lib/minitest.rb#1222 + # pkg:gem/minitest#lib/minitest.rb:1222 def run_one_method(klass, method_name); end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def seed; end - # source://minitest//lib/minitest.rb#20 + # pkg:gem/minitest#lib/minitest.rb:20 def seed=(_arg0); end end end @@ -173,24 +173,24 @@ end # Defines the API for Reporters. Subclass this and override whatever # you want. Go nuts. # -# source://minitest//lib/minitest.rb#702 +# pkg:gem/minitest#lib/minitest.rb:702 class Minitest::AbstractReporter # @return [AbstractReporter] a new instance of AbstractReporter # - # source://minitest//lib/minitest.rb#704 + # pkg:gem/minitest#lib/minitest.rb:704 def initialize; end # Did this run pass? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#739 + # pkg:gem/minitest#lib/minitest.rb:739 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#718 + # pkg:gem/minitest#lib/minitest.rb:718 def prerecord(klass, name); end # Output and record the result of the test. Call @@ -198,43 +198,43 @@ class Minitest::AbstractReporter # result character string. Stores the result of the run if the run # did not pass. # - # source://minitest//lib/minitest.rb#727 + # pkg:gem/minitest#lib/minitest.rb:727 def record(result); end # Outputs the summary of the run. # - # source://minitest//lib/minitest.rb#733 + # pkg:gem/minitest#lib/minitest.rb:733 def report; end # Starts reporting on the run. # - # source://minitest//lib/minitest.rb#711 + # pkg:gem/minitest#lib/minitest.rb:711 def start; end - # source://minitest//lib/minitest.rb#743 + # pkg:gem/minitest#lib/minitest.rb:743 def synchronize(&block); end end # Represents run failures. # -# source://minitest//lib/minitest.rb#1035 +# pkg:gem/minitest#lib/minitest.rb:1035 class Minitest::Assertion < ::Exception - # source://minitest//lib/minitest.rb#1038 + # pkg:gem/minitest#lib/minitest.rb:1038 def error; end # Where was this run before an assertion was raised? # - # source://minitest//lib/minitest.rb#1045 + # pkg:gem/minitest#lib/minitest.rb:1045 def location; end - # source://minitest//lib/minitest.rb#1053 + # pkg:gem/minitest#lib/minitest.rb:1053 def result_code; end - # source://minitest//lib/minitest.rb#1057 + # pkg:gem/minitest#lib/minitest.rb:1057 def result_label; end end -# source://minitest//lib/minitest.rb#1036 +# pkg:gem/minitest#lib/minitest.rb:1036 Minitest::Assertion::RE = T.let(T.unsafe(nil), Regexp) # Minitest Assertions. All assertion methods accept a +msg+ which is @@ -246,25 +246,25 @@ 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 +# pkg:gem/minitest#lib/minitest/assertions.rb:16 module Minitest::Assertions - # source://minitest//lib/minitest/assertions.rb#199 + # pkg:gem/minitest#lib/minitest/assertions.rb:199 def _caller_uplevel; end - # source://minitest//lib/minitest/assertions.rb#181 + # pkg:gem/minitest#lib/minitest/assertions.rb:181 def _synchronize; end - # source://minitest//lib/minitest/assertions.rb#194 + # pkg:gem/minitest#lib/minitest/assertions.rb:194 def _where; end # Fails unless +test+ is truthy. # - # source://minitest//lib/minitest/assertions.rb#171 + # pkg:gem/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 + # pkg:gem/minitest#lib/minitest/assertions.rb:188 def assert_empty(obj, msg = T.unsafe(nil)); end # Fails unless exp == act printing the difference between @@ -279,7 +279,7 @@ module Minitest::Assertions # # See also: Minitest::Assertions.diff # - # source://minitest//lib/minitest/assertions.rb#220 + # pkg:gem/minitest#lib/minitest/assertions.rb:220 def assert_equal(exp, act, msg = T.unsafe(nil)); end # For comparing Floats. Fails unless +exp+ and +act+ are within +delta+ @@ -287,45 +287,45 @@ module Minitest::Assertions # # assert_in_delta Math::PI, (22.0 / 7.0), 0.01 # - # source://minitest//lib/minitest/assertions.rb#241 + # pkg:gem/minitest#lib/minitest/assertions.rb:241 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#253 + # pkg:gem/minitest#lib/minitest/assertions.rb:253 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#260 + # pkg:gem/minitest#lib/minitest/assertions.rb:260 def assert_includes(collection, obj, msg = T.unsafe(nil)); end # Fails unless +obj+ is an instance of +cls+. # - # source://minitest//lib/minitest/assertions.rb#271 + # pkg:gem/minitest#lib/minitest/assertions.rb:271 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#282 + # pkg:gem/minitest#lib/minitest/assertions.rb:282 def assert_kind_of(cls, obj, msg = T.unsafe(nil)); end # Fails unless +matcher+ =~ +obj+. # - # source://minitest//lib/minitest/assertions.rb#293 + # pkg:gem/minitest#lib/minitest/assertions.rb:293 def assert_match(matcher, obj, msg = T.unsafe(nil)); end # Fails unless +obj+ is nil # - # source://minitest//lib/minitest/assertions.rb#305 + # pkg:gem/minitest#lib/minitest/assertions.rb:305 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#315 + # pkg:gem/minitest#lib/minitest/assertions.rb:315 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. @@ -339,12 +339,12 @@ module Minitest::Assertions # # See also: #assert_silent # - # source://minitest//lib/minitest/assertions.rb#333 + # pkg:gem/minitest#lib/minitest/assertions.rb:333 def assert_output(stdout = T.unsafe(nil), stderr = T.unsafe(nil)); end # Fails unless +path+ exists. # - # source://minitest//lib/minitest/assertions.rb#357 + # pkg:gem/minitest#lib/minitest/assertions.rb:357 def assert_path_exists(path, msg = T.unsafe(nil)); end # For testing with pattern matching (only supported with Ruby 3.0 and later) @@ -360,7 +360,7 @@ module Minitest::Assertions # generates a test failure. Any other exception will be raised as normal and generate a test # error. # - # source://minitest//lib/minitest/assertions.rb#376 + # pkg:gem/minitest#lib/minitest/assertions.rb:376 def assert_pattern; end # For testing with predicates. Eg: @@ -371,7 +371,7 @@ module Minitest::Assertions # # str.must_be :empty? # - # source://minitest//lib/minitest/assertions.rb#394 + # pkg:gem/minitest#lib/minitest/assertions.rb:394 def assert_predicate(o1, op, msg = T.unsafe(nil)); end # Fails unless the block raises one of +exp+. Returns the @@ -395,37 +395,37 @@ module Minitest::Assertions # # assert_equal 'This is really bad', error.message # - # source://minitest//lib/minitest/assertions.rb#421 + # pkg:gem/minitest#lib/minitest/assertions.rb:421 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#453 + # pkg:gem/minitest#lib/minitest/assertions.rb:453 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#463 + # pkg:gem/minitest#lib/minitest/assertions.rb:463 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#476 + # pkg:gem/minitest#lib/minitest/assertions.rb:476 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#491 + # pkg:gem/minitest#lib/minitest/assertions.rb:491 def assert_silent; end # Fails unless the block throws +sym+ # - # source://minitest//lib/minitest/assertions.rb#500 + # pkg:gem/minitest#lib/minitest/assertions.rb:500 def assert_throws(sym, msg = T.unsafe(nil)); end # Captures $stdout and $stderr into strings: @@ -442,7 +442,7 @@ module Minitest::Assertions # capture IO for subprocesses. Use #capture_subprocess_io for # that. # - # source://minitest//lib/minitest/assertions.rb#536 + # pkg:gem/minitest#lib/minitest/assertions.rb:536 def capture_io; end # Captures $stdout and $stderr into strings, using Tempfile to @@ -459,7 +459,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#569 + # pkg:gem/minitest#lib/minitest/assertions.rb:569 def capture_subprocess_io; end # Returns a diff between +exp+ and +act+. If there is no known @@ -469,29 +469,29 @@ module Minitest::Assertions # # See +things_to_diff+ for more info. # - # source://minitest//lib/minitest/assertions.rb#57 + # pkg:gem/minitest#lib/minitest/assertions.rb:57 def diff(exp, act); end # Returns details for exception +e+ # - # source://minitest//lib/minitest/assertions.rb#601 + # pkg:gem/minitest#lib/minitest/assertions.rb:601 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#617 + # pkg:gem/minitest#lib/minitest/assertions.rb:617 def fail_after(y, m, d, msg); end # Fails with +msg+. # - # source://minitest//lib/minitest/assertions.rb#624 + # pkg:gem/minitest#lib/minitest/assertions.rb:624 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#632 + # pkg:gem/minitest#lib/minitest/assertions.rb:632 def message(msg = T.unsafe(nil), ending = T.unsafe(nil), &default); end # This returns a human-readable version of +obj+. By default @@ -500,7 +500,7 @@ module Minitest::Assertions # # See Minitest::Test.make_my_diffs_pretty! # - # source://minitest//lib/minitest/assertions.rb#127 + # pkg:gem/minitest#lib/minitest/assertions.rb:127 def mu_pp(obj); end # This returns a diff-able more human-readable version of +obj+. @@ -508,67 +508,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 + # pkg:gem/minitest#lib/minitest/assertions.rb:145 def mu_pp_for_diff(obj); end # used for counting assertions # - # source://minitest//lib/minitest/assertions.rb#643 + # pkg:gem/minitest#lib/minitest/assertions.rb:643 def pass(_msg = T.unsafe(nil)); end # Fails if +test+ is truthy. # - # source://minitest//lib/minitest/assertions.rb#650 + # pkg:gem/minitest#lib/minitest/assertions.rb:650 def refute(test, msg = T.unsafe(nil)); end # Fails if +obj+ is empty. # - # source://minitest//lib/minitest/assertions.rb#658 + # pkg:gem/minitest#lib/minitest/assertions.rb:658 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#669 + # pkg:gem/minitest#lib/minitest/assertions.rb:669 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#681 + # pkg:gem/minitest#lib/minitest/assertions.rb:681 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#693 + # pkg:gem/minitest#lib/minitest/assertions.rb:693 def refute_in_epsilon(exp, act, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end # Fails if +collection+ includes +obj+. # - # source://minitest//lib/minitest/assertions.rb#700 + # pkg:gem/minitest#lib/minitest/assertions.rb:700 def refute_includes(collection, obj, msg = T.unsafe(nil)); end # Fails if +obj+ is an instance of +cls+. # - # source://minitest//lib/minitest/assertions.rb#711 + # pkg:gem/minitest#lib/minitest/assertions.rb:711 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#721 + # pkg:gem/minitest#lib/minitest/assertions.rb:721 def refute_kind_of(cls, obj, msg = T.unsafe(nil)); end # Fails if +matcher+ =~ +obj+. # - # source://minitest//lib/minitest/assertions.rb#729 + # pkg:gem/minitest#lib/minitest/assertions.rb:729 def refute_match(matcher, obj, msg = T.unsafe(nil)); end # Fails if +obj+ is nil. # - # source://minitest//lib/minitest/assertions.rb#739 + # pkg:gem/minitest#lib/minitest/assertions.rb:739 def refute_nil(obj, msg = T.unsafe(nil)); end # Fails if +o1+ is not +op+ +o2+. Eg: @@ -576,12 +576,12 @@ module Minitest::Assertions # refute_operator 1, :>, 2 #=> pass # refute_operator 1, :<, 2 #=> fail # - # source://minitest//lib/minitest/assertions.rb#771 + # pkg:gem/minitest#lib/minitest/assertions.rb:771 def refute_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end # Fails if +path+ exists. # - # source://minitest//lib/minitest/assertions.rb#780 + # pkg:gem/minitest#lib/minitest/assertions.rb:780 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 # This assertion expects a NoMatchingPatternError exception, and will fail if none is raised. Any # other exceptions will be raised as normal and generate a test error. # - # source://minitest//lib/minitest/assertions.rb#756 + # pkg:gem/minitest#lib/minitest/assertions.rb:756 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#794 + # pkg:gem/minitest#lib/minitest/assertions.rb:794 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#803 + # pkg:gem/minitest#lib/minitest/assertions.rb:803 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#812 + # pkg:gem/minitest#lib/minitest/assertions.rb:812 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#825 + # pkg:gem/minitest#lib/minitest/assertions.rb:825 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#837 + # pkg:gem/minitest#lib/minitest/assertions.rb:837 def skip_until(y, m, d, msg); end # Was this testcase skipped? Meant for #teardown. # # @return [Boolean] # - # source://minitest//lib/minitest/assertions.rb#846 + # pkg:gem/minitest#lib/minitest/assertions.rb:846 def skipped?; end # Returns things to diff [expect, butwas], or [nil, nil] if nothing to diff. @@ -653,125 +653,125 @@ 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 + # pkg:gem/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 + # pkg:gem/minitest#lib/minitest/assertions.rb:27 def diff; end # Set the diff command to use in #diff. # - # source://minitest//lib/minitest/assertions.rb#45 + # pkg:gem/minitest#lib/minitest/assertions.rb:45 def diff=(o); end end end -# source://minitest//lib/minitest/assertions.rb#205 +# pkg:gem/minitest#lib/minitest/assertions.rb:205 Minitest::Assertions::E = T.let(T.unsafe(nil), String) -# source://minitest//lib/minitest/assertions.rb#17 +# pkg:gem/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#1190 +# pkg:gem/minitest#lib/minitest.rb:1190 class Minitest::BacktraceFilter # @return [BacktraceFilter] a new instance of BacktraceFilter # - # source://minitest//lib/minitest.rb#1199 + # pkg:gem/minitest#lib/minitest.rb:1199 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#1207 + # pkg:gem/minitest#lib/minitest.rb:1207 def filter(bt); end # The regular expression to use to filter backtraces. Defaults to +MT_RE+. # - # source://minitest//lib/minitest.rb#1197 + # pkg:gem/minitest#lib/minitest.rb:1197 def regexp; end # The regular expression to use to filter backtraces. Defaults to +MT_RE+. # - # source://minitest//lib/minitest.rb#1197 + # pkg:gem/minitest#lib/minitest.rb:1197 def regexp=(_arg0); end end -# source://minitest//lib/minitest.rb#1192 +# pkg:gem/minitest#lib/minitest.rb:1192 Minitest::BacktraceFilter::MT_RE = T.let(T.unsafe(nil), Regexp) # Dispatch to multiple reporters as one. # -# source://minitest//lib/minitest.rb#984 +# pkg:gem/minitest#lib/minitest.rb:984 class Minitest::CompositeReporter < ::Minitest::AbstractReporter # @return [CompositeReporter] a new instance of CompositeReporter # - # source://minitest//lib/minitest.rb#990 + # pkg:gem/minitest#lib/minitest.rb:990 def initialize(*reporters); end # Add another reporter to the mix. # - # source://minitest//lib/minitest.rb#1002 + # pkg:gem/minitest#lib/minitest.rb:1002 def <<(reporter); end - # source://minitest//lib/minitest.rb#995 + # pkg:gem/minitest#lib/minitest.rb:995 def io; end # @return [Boolean] # - # source://minitest//lib/minitest.rb#1006 + # pkg:gem/minitest#lib/minitest.rb:1006 def passed?; end - # source://minitest//lib/minitest.rb#1014 + # pkg:gem/minitest#lib/minitest.rb:1014 def prerecord(klass, name); end - # source://minitest//lib/minitest.rb#1021 + # pkg:gem/minitest#lib/minitest.rb:1021 def record(result); end - # source://minitest//lib/minitest.rb#1027 + # pkg:gem/minitest#lib/minitest.rb:1027 def report; end # The list of reporters to dispatch to. # - # source://minitest//lib/minitest.rb#988 + # pkg:gem/minitest#lib/minitest.rb:988 def reporters; end # The list of reporters to dispatch to. # - # source://minitest//lib/minitest.rb#988 + # pkg:gem/minitest#lib/minitest.rb:988 def reporters=(_arg0); end - # source://minitest//lib/minitest.rb#1010 + # pkg:gem/minitest#lib/minitest.rb:1010 def start; end end # Compresses backtraces. # -# source://minitest//lib/minitest/compress.rb#5 +# pkg:gem/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 + # pkg:gem/minitest#lib/minitest/compress.rb:11 def compress(orig); end end # fucking hell rdoc... # -# source://minitest//lib/minitest/spec.rb#43 +# pkg:gem/minitest#lib/minitest/spec.rb:43 class Minitest::Expectation < ::Struct # Returns the value of attribute ctx # # @return [Object] the current value of ctx # - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def ctx; end # Sets the attribute ctx @@ -779,74 +779,74 @@ class Minitest::Expectation < ::Struct # @param value [Object] the value to set the attribute ctx to. # @return [Object] the newly set value # - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def ctx=(_); end - # source://minitest//lib/minitest/expectations.rb#116 + # pkg:gem/minitest#lib/minitest/expectations.rb:116 def must_be(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#47 + # pkg:gem/minitest#lib/minitest/expectations.rb:47 def must_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#29 + # pkg:gem/minitest#lib/minitest/expectations.rb:29 def must_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#76 + # pkg:gem/minitest#lib/minitest/expectations.rb:76 def must_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#85 + # pkg:gem/minitest#lib/minitest/expectations.rb:85 def must_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#103 + # pkg:gem/minitest#lib/minitest/expectations.rb:103 def must_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#161 + # pkg:gem/minitest#lib/minitest/expectations.rb:161 def must_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#170 + # pkg:gem/minitest#lib/minitest/expectations.rb:170 def must_be_silent(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#49 + # pkg:gem/minitest#lib/minitest/expectations.rb:49 def must_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#58 + # pkg:gem/minitest#lib/minitest/expectations.rb:58 def must_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#38 + # pkg:gem/minitest#lib/minitest/expectations.rb:38 def must_equal(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#67 + # pkg:gem/minitest#lib/minitest/expectations.rb:67 def must_include(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#94 + # pkg:gem/minitest#lib/minitest/expectations.rb:94 def must_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#125 + # pkg:gem/minitest#lib/minitest/expectations.rb:125 def must_output(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#134 + # pkg:gem/minitest#lib/minitest/expectations.rb:134 def must_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#143 + # pkg:gem/minitest#lib/minitest/expectations.rb:143 def must_raise(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#152 + # pkg:gem/minitest#lib/minitest/expectations.rb:152 def must_respond_to(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#179 + # pkg:gem/minitest#lib/minitest/expectations.rb:179 def must_throw(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#188 + # pkg:gem/minitest#lib/minitest/expectations.rb:188 def path_must_exist(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#197 + # pkg:gem/minitest#lib/minitest/expectations.rb:197 def path_wont_exist(*args, **_arg1); end # Returns the value of attribute target # # @return [Object] the current value of target # - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def target; end # Sets the attribute target @@ -854,65 +854,65 @@ class Minitest::Expectation < ::Struct # @param value [Object] the value to set the attribute target to. # @return [Object] the newly set value # - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def target=(_); end - # source://minitest//lib/minitest/expectations.rb#293 + # pkg:gem/minitest#lib/minitest/expectations.rb:293 def wont_be(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#224 + # pkg:gem/minitest#lib/minitest/expectations.rb:224 def wont_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#206 + # pkg:gem/minitest#lib/minitest/expectations.rb:206 def wont_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#253 + # pkg:gem/minitest#lib/minitest/expectations.rb:253 def wont_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#262 + # pkg:gem/minitest#lib/minitest/expectations.rb:262 def wont_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#280 + # pkg:gem/minitest#lib/minitest/expectations.rb:280 def wont_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#320 + # pkg:gem/minitest#lib/minitest/expectations.rb:320 def wont_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#226 + # pkg:gem/minitest#lib/minitest/expectations.rb:226 def wont_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#235 + # pkg:gem/minitest#lib/minitest/expectations.rb:235 def wont_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#215 + # pkg:gem/minitest#lib/minitest/expectations.rb:215 def wont_equal(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#244 + # pkg:gem/minitest#lib/minitest/expectations.rb:244 def wont_include(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#271 + # pkg:gem/minitest#lib/minitest/expectations.rb:271 def wont_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#302 + # pkg:gem/minitest#lib/minitest/expectations.rb:302 def wont_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#311 + # pkg:gem/minitest#lib/minitest/expectations.rb:311 def wont_respond_to(*args, **_arg1); end class << self - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def [](*_arg0); end - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def inspect; end - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def keyword_init?; end - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def members; end - # source://minitest//lib/minitest/spec.rb#43 + # pkg:gem/minitest#lib/minitest/spec.rb:43 def new(*_arg0); end end end @@ -935,108 +935,108 @@ end # end # end # -# source://minitest//lib/minitest/expectations.rb#20 +# pkg:gem/minitest#lib/minitest/expectations.rb:20 module Minitest::Expectations - # source://minitest//lib/minitest/expectations.rb#116 + # pkg:gem/minitest#lib/minitest/expectations.rb:116 def must_be(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#47 + # pkg:gem/minitest#lib/minitest/expectations.rb:47 def must_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#29 + # pkg:gem/minitest#lib/minitest/expectations.rb:29 def must_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#76 + # pkg:gem/minitest#lib/minitest/expectations.rb:76 def must_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#85 + # pkg:gem/minitest#lib/minitest/expectations.rb:85 def must_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#103 + # pkg:gem/minitest#lib/minitest/expectations.rb:103 def must_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#161 + # pkg:gem/minitest#lib/minitest/expectations.rb:161 def must_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#170 + # pkg:gem/minitest#lib/minitest/expectations.rb:170 def must_be_silent(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#49 + # pkg:gem/minitest#lib/minitest/expectations.rb:49 def must_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#58 + # pkg:gem/minitest#lib/minitest/expectations.rb:58 def must_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#38 + # pkg:gem/minitest#lib/minitest/expectations.rb:38 def must_equal(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#67 + # pkg:gem/minitest#lib/minitest/expectations.rb:67 def must_include(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#94 + # pkg:gem/minitest#lib/minitest/expectations.rb:94 def must_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#125 + # pkg:gem/minitest#lib/minitest/expectations.rb:125 def must_output(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#134 + # pkg:gem/minitest#lib/minitest/expectations.rb:134 def must_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#143 + # pkg:gem/minitest#lib/minitest/expectations.rb:143 def must_raise(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#152 + # pkg:gem/minitest#lib/minitest/expectations.rb:152 def must_respond_to(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#179 + # pkg:gem/minitest#lib/minitest/expectations.rb:179 def must_throw(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#188 + # pkg:gem/minitest#lib/minitest/expectations.rb:188 def path_must_exist(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#197 + # pkg:gem/minitest#lib/minitest/expectations.rb:197 def path_wont_exist(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#293 + # pkg:gem/minitest#lib/minitest/expectations.rb:293 def wont_be(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#224 + # pkg:gem/minitest#lib/minitest/expectations.rb:224 def wont_be_close_to(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#206 + # pkg:gem/minitest#lib/minitest/expectations.rb:206 def wont_be_empty(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#253 + # pkg:gem/minitest#lib/minitest/expectations.rb:253 def wont_be_instance_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#262 + # pkg:gem/minitest#lib/minitest/expectations.rb:262 def wont_be_kind_of(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#280 + # pkg:gem/minitest#lib/minitest/expectations.rb:280 def wont_be_nil(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#320 + # pkg:gem/minitest#lib/minitest/expectations.rb:320 def wont_be_same_as(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#226 + # pkg:gem/minitest#lib/minitest/expectations.rb:226 def wont_be_within_delta(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#235 + # pkg:gem/minitest#lib/minitest/expectations.rb:235 def wont_be_within_epsilon(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#215 + # pkg:gem/minitest#lib/minitest/expectations.rb:215 def wont_equal(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#244 + # pkg:gem/minitest#lib/minitest/expectations.rb:244 def wont_include(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#271 + # pkg:gem/minitest#lib/minitest/expectations.rb:271 def wont_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#302 + # pkg:gem/minitest#lib/minitest/expectations.rb:302 def wont_pattern_match(*args, **_arg1); end - # source://minitest//lib/minitest/expectations.rb#311 + # pkg:gem/minitest#lib/minitest/expectations.rb:311 def wont_respond_to(*args, **_arg1); end end @@ -1054,100 +1054,100 @@ end # # ... lots of test methods ... # end # -# source://minitest//lib/minitest.rb#1134 +# pkg:gem/minitest#lib/minitest.rb:1134 module Minitest::Guard # Is this running on jruby? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#1139 + # pkg:gem/minitest#lib/minitest.rb:1139 def jruby?(platform = T.unsafe(nil)); end # Is this running on maglev? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#1146 + # pkg:gem/minitest#lib/minitest.rb:1146 def maglev?(platform = T.unsafe(nil)); end # Is this running on mri? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#1156 + # pkg:gem/minitest#lib/minitest.rb:1156 def mri?(platform = T.unsafe(nil)); end # Is this running on macOS? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#1163 + # pkg:gem/minitest#lib/minitest.rb:1163 def osx?(platform = T.unsafe(nil)); end # Is this running on rubinius? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#1170 + # pkg:gem/minitest#lib/minitest.rb:1170 def rubinius?(platform = T.unsafe(nil)); end # Is this running on windows? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#1180 + # pkg:gem/minitest#lib/minitest.rb:1180 def windows?(platform = T.unsafe(nil)); end end -# source://minitest//lib/minitest/parallel.rb#4 +# pkg:gem/minitest#lib/minitest/parallel.rb:4 module Minitest::Parallel; end # The engine used to run multiple tests in parallel. # -# source://minitest//lib/minitest/parallel.rb#9 +# pkg:gem/minitest#lib/minitest/parallel.rb:9 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#19 + # pkg:gem/minitest#lib/minitest/parallel.rb:19 def initialize(size); end # Add a job to the queue # - # source://minitest//lib/minitest/parallel.rb#45 + # pkg:gem/minitest#lib/minitest/parallel.rb:45 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#52 + # pkg:gem/minitest#lib/minitest/parallel.rb:52 def shutdown; end # The size of the pool of workers. # - # source://minitest//lib/minitest/parallel.rb#14 + # pkg:gem/minitest#lib/minitest/parallel.rb:14 def size; end # Start the executor # - # source://minitest//lib/minitest/parallel.rb#28 + # pkg:gem/minitest#lib/minitest/parallel.rb:28 def start; end end -# source://minitest//lib/minitest/parallel.rb#58 +# pkg:gem/minitest#lib/minitest/parallel.rb:58 module Minitest::Parallel::Test - # source://minitest//lib/minitest/parallel.rb#59 + # pkg:gem/minitest#lib/minitest/parallel.rb:59 def _synchronize; end end -# source://minitest//lib/minitest/parallel.rb#61 +# pkg:gem/minitest#lib/minitest/parallel.rb:61 module Minitest::Parallel::Test::ClassMethods - # source://minitest//lib/minitest/parallel.rb#62 + # pkg:gem/minitest#lib/minitest/parallel.rb:62 def run_one_method(klass, method_name, reporter); end - # source://minitest//lib/minitest/parallel.rb#66 + # pkg:gem/minitest#lib/minitest/parallel.rb:66 def test_order; end end @@ -1158,36 +1158,36 @@ end # plugin, pull this out of the composite and replace it with your # own. # -# source://minitest//lib/minitest.rb#774 +# pkg:gem/minitest#lib/minitest.rb:774 class Minitest::ProgressReporter < ::Minitest::Reporter - # source://minitest//lib/minitest.rb#775 + # pkg:gem/minitest#lib/minitest.rb:775 def prerecord(klass, name); end - # source://minitest//lib/minitest.rb#782 + # pkg:gem/minitest#lib/minitest.rb:782 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#596 +# pkg:gem/minitest#lib/minitest.rb:596 module Minitest::Reportable # @raise [NotImplementedError] # - # source://minitest//lib/minitest.rb#618 + # pkg:gem/minitest#lib/minitest.rb:618 def class_name; end # Did this run error? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#639 + # pkg:gem/minitest#lib/minitest.rb:639 def error?; end # The location identifier of this test. Depends on a method # existing called class_name. # - # source://minitest//lib/minitest.rb#613 + # pkg:gem/minitest#lib/minitest.rb:613 def location; end # Did this run pass? @@ -1197,52 +1197,52 @@ module Minitest::Reportable # # @return [Boolean] # - # source://minitest//lib/minitest.rb#603 + # pkg:gem/minitest#lib/minitest.rb:603 def passed?; end # Returns ".", "F", or "E" based on the result of the run. # - # source://minitest//lib/minitest.rb#625 + # pkg:gem/minitest#lib/minitest.rb:625 def result_code; end # Was this run skipped? # # @return [Boolean] # - # source://minitest//lib/minitest.rb#632 + # pkg:gem/minitest#lib/minitest.rb:632 def skipped?; end end -# source://minitest//lib/minitest.rb#607 +# pkg:gem/minitest#lib/minitest.rb:607 Minitest::Reportable::BASE_DIR = T.let(T.unsafe(nil), String) # AbstractReportera # -# source://minitest//lib/minitest.rb#750 +# pkg:gem/minitest#lib/minitest.rb:750 class Minitest::Reporter < ::Minitest::AbstractReporter # @return [Reporter] a new instance of Reporter # - # source://minitest//lib/minitest.rb#759 + # pkg:gem/minitest#lib/minitest.rb:759 def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end # The IO used to report. # - # source://minitest//lib/minitest.rb#752 + # pkg:gem/minitest#lib/minitest.rb:752 def io; end # The IO used to report. # - # source://minitest//lib/minitest.rb#752 + # pkg:gem/minitest#lib/minitest.rb:752 def io=(_arg0); end # Command-line options for this run. # - # source://minitest//lib/minitest.rb#757 + # pkg:gem/minitest#lib/minitest.rb:757 def options; end # Command-line options for this run. # - # source://minitest//lib/minitest.rb#757 + # pkg:gem/minitest#lib/minitest.rb:757 def options=(_arg0); end end @@ -1252,80 +1252,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#651 +# pkg:gem/minitest#lib/minitest.rb:651 class Minitest::Result < ::Minitest::Runnable include ::Minitest::Reportable - # source://minitest//lib/minitest.rb#685 + # pkg:gem/minitest#lib/minitest.rb:685 def class_name; end # The class name of the test result. # - # source://minitest//lib/minitest.rb#660 + # pkg:gem/minitest#lib/minitest.rb:660 def klass; end # The class name of the test result. # - # source://minitest//lib/minitest.rb#660 + # pkg:gem/minitest#lib/minitest.rb:660 def klass=(_arg0); end # The location of the test method. # - # source://minitest//lib/minitest.rb#665 + # pkg:gem/minitest#lib/minitest.rb:665 def source_location; end # The location of the test method. # - # source://minitest//lib/minitest.rb#665 + # pkg:gem/minitest#lib/minitest.rb:665 def source_location=(_arg0); end - # source://minitest//lib/minitest.rb#689 + # pkg:gem/minitest#lib/minitest.rb:689 def to_s; end class << self # Create a new test result from a Runnable instance. # - # source://minitest//lib/minitest.rb#670 + # pkg:gem/minitest#lib/minitest.rb:670 def from(runnable); end end end # re-open # -# source://minitest//lib/minitest.rb#363 +# pkg:gem/minitest#lib/minitest.rb:363 class Minitest::Runnable # @return [Runnable] a new instance of Runnable # - # source://minitest//lib/minitest.rb#527 + # pkg:gem/minitest#lib/minitest.rb:527 def initialize(name); end # Number of assertions executed in this run. # - # source://minitest//lib/minitest.rb#367 + # pkg:gem/minitest#lib/minitest.rb:367 def assertions; end # Number of assertions executed in this run. # - # source://minitest//lib/minitest.rb#367 + # pkg:gem/minitest#lib/minitest.rb:367 def assertions=(_arg0); end - # source://minitest//lib/minitest.rb#523 + # pkg:gem/minitest#lib/minitest.rb:523 def failure; end # An assertion raised during the run, if any. # - # source://minitest//lib/minitest.rb#372 + # pkg:gem/minitest#lib/minitest.rb:372 def failures; end # An assertion raised during the run, if any. # - # source://minitest//lib/minitest.rb#372 + # pkg:gem/minitest#lib/minitest.rb:372 def failures=(_arg0); end - # source://minitest//lib/minitest.rb#509 + # pkg:gem/minitest#lib/minitest.rb:509 def marshal_dump; end - # source://minitest//lib/minitest.rb#519 + # pkg:gem/minitest#lib/minitest.rb:519 def marshal_load(ary); end # Metadata you attach to the test results that get sent to the reporter. @@ -1335,29 +1335,29 @@ class Minitest::Runnable # NOTE: this data *must* be plain (read: marshal-able) data! # Hashes! Arrays! Strings! # - # source://minitest//lib/minitest.rb#542 + # pkg:gem/minitest#lib/minitest.rb:542 def metadata; end # Sets metadata, mainly used for +Result.from+. # - # source://minitest//lib/minitest.rb#549 + # pkg:gem/minitest#lib/minitest.rb:549 def metadata=(_arg0); end # Returns true if metadata exists. # # @return [Boolean] # - # source://minitest//lib/minitest.rb#554 + # pkg:gem/minitest#lib/minitest.rb:554 def metadata?; end # Name of the run. # - # source://minitest//lib/minitest.rb#390 + # pkg:gem/minitest#lib/minitest.rb:390 def name; end # Set the name of the run. # - # source://minitest//lib/minitest.rb#397 + # pkg:gem/minitest#lib/minitest.rb:397 def name=(o); end # Did this run pass? @@ -1368,7 +1368,7 @@ class Minitest::Runnable # @raise [NotImplementedError] # @return [Boolean] # - # source://minitest//lib/minitest.rb#571 + # pkg:gem/minitest#lib/minitest.rb:571 def passed?; end # Returns a single character string to print based on the result @@ -1377,14 +1377,14 @@ class Minitest::Runnable # # @raise [NotImplementedError] # - # source://minitest//lib/minitest.rb#580 + # pkg:gem/minitest#lib/minitest.rb:580 def result_code; end # Runs a single method. Needs to return self. # # @raise [NotImplementedError] # - # source://minitest//lib/minitest.rb#561 + # pkg:gem/minitest#lib/minitest.rb:561 def run; end # Was this run skipped? See #passed? for more information. @@ -1392,42 +1392,42 @@ class Minitest::Runnable # @raise [NotImplementedError] # @return [Boolean] # - # source://minitest//lib/minitest.rb#587 + # pkg:gem/minitest#lib/minitest.rb:587 def skipped?; end # The time it took to run. # - # source://minitest//lib/minitest.rb#377 + # pkg:gem/minitest#lib/minitest.rb:377 def time; end # The time it took to run. # - # source://minitest//lib/minitest.rb#377 + # pkg:gem/minitest#lib/minitest.rb:377 def time=(_arg0); end - # source://minitest//lib/minitest.rb#379 + # pkg:gem/minitest#lib/minitest.rb:379 def time_it; end class << self - # source://minitest//lib/minitest.rb#1241 + # pkg:gem/minitest#lib/minitest.rb:1241 def inherited(klass); end # Returns all instance methods matching the pattern +re+. # - # source://minitest//lib/minitest.rb#404 + # pkg:gem/minitest#lib/minitest.rb:404 def methods_matching(re); end - # source://minitest//lib/minitest.rb#479 + # pkg:gem/minitest#lib/minitest.rb:479 def on_signal(name, action); end - # source://minitest//lib/minitest.rb#408 + # pkg:gem/minitest#lib/minitest.rb:408 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#419 + # pkg:gem/minitest#lib/minitest.rb:419 def run(reporter, options = T.unsafe(nil)); end # Runs a single method and has the reporter record the result. @@ -1435,7 +1435,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#460 + # pkg:gem/minitest#lib/minitest.rb:460 def run_one_method(klass, method_name, reporter); end # Each subclass of Runnable is responsible for overriding this @@ -1443,33 +1443,33 @@ class Minitest::Runnable # # @raise [NotImplementedError] # - # source://minitest//lib/minitest.rb#496 + # pkg:gem/minitest#lib/minitest.rb:496 def runnable_methods; end # Returns all subclasses of Runnable. # - # source://minitest//lib/minitest.rb#503 + # pkg:gem/minitest#lib/minitest.rb:503 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#469 + # pkg:gem/minitest#lib/minitest.rb:469 def test_order; end - # source://minitest//lib/minitest.rb#473 + # pkg:gem/minitest#lib/minitest.rb:473 def with_info_handler(reporter, &block); end end end -# source://minitest//lib/minitest.rb#477 +# pkg:gem/minitest#lib/minitest.rb:477 Minitest::Runnable::SIGNALS = T.let(T.unsafe(nil), Hash) # Assertion raised when skipping a run. # -# source://minitest//lib/minitest.rb#1065 +# pkg:gem/minitest#lib/minitest.rb:1065 class Minitest::Skip < ::Minitest::Assertion - # source://minitest//lib/minitest.rb#1066 + # pkg:gem/minitest#lib/minitest.rb:1066 def result_label; end end @@ -1477,25 +1477,25 @@ end # # For a list of expectations, see Minitest::Expectations. # -# source://minitest//lib/minitest/spec.rb#111 +# pkg:gem/minitest#lib/minitest/spec.rb:111 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#117 + # pkg:gem/minitest#lib/minitest/spec.rb:117 def initialize(name); end class << self - # source://minitest//lib/minitest/spec.rb#113 + # pkg:gem/minitest#lib/minitest/spec.rb:113 def current; end end end # Oh look! A Minitest::Spec::DSL module! Eat your heart out DHH. # -# source://minitest//lib/minitest/spec.rb#125 +# pkg:gem/minitest#lib/minitest/spec.rb:125 module Minitest::Spec::DSL # Define an 'after' action. Inherits the way normal methods should. # @@ -1503,7 +1503,7 @@ module Minitest::Spec::DSL # # Equivalent to Minitest::Test#teardown. # - # source://minitest//lib/minitest/spec.rb#210 + # pkg:gem/minitest#lib/minitest/spec.rb:210 def after(_type = T.unsafe(nil), &block); end # Define a 'before' action. Inherits the way normal methods should. @@ -1512,22 +1512,22 @@ module Minitest::Spec::DSL # # Equivalent to Minitest::Test#setup. # - # source://minitest//lib/minitest/spec.rb#196 + # pkg:gem/minitest#lib/minitest/spec.rb:196 def before(_type = T.unsafe(nil), &block); end - # source://minitest//lib/minitest/spec.rb#179 + # pkg:gem/minitest#lib/minitest/spec.rb:179 def children; end - # source://minitest//lib/minitest/spec.rb#275 + # pkg:gem/minitest#lib/minitest/spec.rb:275 def create(name, desc); end - # source://minitest//lib/minitest/spec.rb#295 + # pkg:gem/minitest#lib/minitest/spec.rb:295 def desc; end - # source://minitest//lib/minitest/spec.rb#175 + # pkg:gem/minitest#lib/minitest/spec.rb:175 def describe_stack; end - # source://minitest//lib/minitest/spec.rb#293 + # pkg:gem/minitest#lib/minitest/spec.rb:293 def inspect; end # Define an expectation with name +desc+. Name gets morphed to a @@ -1540,7 +1540,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#228 + # pkg:gem/minitest#lib/minitest/spec.rb:228 def it(desc = T.unsafe(nil), &block); end # Essentially, define an accessor for +name+ with +block+. @@ -1549,13 +1549,13 @@ module Minitest::Spec::DSL # # @raise [ArgumentError] # - # source://minitest//lib/minitest/spec.rb#252 + # pkg:gem/minitest#lib/minitest/spec.rb:252 def let(name, &block); end - # source://minitest//lib/minitest/spec.rb#288 + # pkg:gem/minitest#lib/minitest/spec.rb:288 def name; end - # source://minitest//lib/minitest/spec.rb#183 + # pkg:gem/minitest#lib/minitest/spec.rb:183 def nuke_test_methods!; end # Register a new type of spec that matches the spec's description. @@ -1573,14 +1573,14 @@ module Minitest::Spec::DSL # desc.superclass == ActiveRecord::Base # end # - # source://minitest//lib/minitest/spec.rb#151 + # pkg:gem/minitest#lib/minitest/spec.rb:151 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#165 + # pkg:gem/minitest#lib/minitest/spec.rb:165 def spec_type(desc, *additional); end # Define an expectation with name +desc+. Name gets morphed to a @@ -1593,27 +1593,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#296 + # pkg:gem/minitest#lib/minitest/spec.rb:296 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#271 + # pkg:gem/minitest#lib/minitest/spec.rb:271 def subject(&block); end - # source://minitest//lib/minitest/spec.rb#292 + # pkg:gem/minitest#lib/minitest/spec.rb:292 def to_s; end class << self - # source://minitest//lib/minitest/spec.rb#339 + # pkg:gem/minitest#lib/minitest/spec.rb:339 def extended(obj); end end end # Rdoc... why are you so dumb? # -# source://minitest//lib/minitest/spec.rb#301 +# pkg:gem/minitest#lib/minitest/spec.rb:301 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. @@ -1638,10 +1638,10 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest//lib/minitest/spec.rb#326 + # pkg:gem/minitest#lib/minitest/spec.rb:326 def _(value = T.unsafe(nil), &block); end - # source://minitest//lib/minitest/spec.rb#333 + # pkg:gem/minitest#lib/minitest/spec.rb:333 def before_setup; end # Takes a value or a block and returns a value monad that has @@ -1667,7 +1667,7 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest//lib/minitest/spec.rb#331 + # pkg:gem/minitest#lib/minitest/spec.rb:331 def expect(value = T.unsafe(nil), &block); end # Takes a value or a block and returns a value monad that has @@ -1693,7 +1693,7 @@ module Minitest::Spec::DSL::InstanceMethods # value(1 + 1).must_equal 2 # expect(1 + 1).must_equal 2 # - # source://minitest//lib/minitest/spec.rb#330 + # pkg:gem/minitest#lib/minitest/spec.rb:330 def value(value = T.unsafe(nil), &block); end end @@ -1703,10 +1703,10 @@ end # # See: register_spec_type and spec_type # -# source://minitest//lib/minitest/spec.rb#133 +# pkg:gem/minitest#lib/minitest/spec.rb:133 Minitest::Spec::DSL::TYPES = T.let(T.unsafe(nil), Array) -# source://minitest//lib/minitest/spec.rb#346 +# pkg:gem/minitest#lib/minitest/spec.rb:346 Minitest::Spec::TYPES = T.let(T.unsafe(nil), Array) # A reporter that gathers statistics about a test run. Does not do @@ -1729,123 +1729,123 @@ Minitest::Spec::TYPES = T.let(T.unsafe(nil), Array) # end # end # -# source://minitest//lib/minitest.rb#810 +# pkg:gem/minitest#lib/minitest.rb:810 class Minitest::StatisticsReporter < ::Minitest::Reporter # @return [StatisticsReporter] a new instance of StatisticsReporter # - # source://minitest//lib/minitest.rb#859 + # pkg:gem/minitest#lib/minitest.rb:859 def initialize(io = T.unsafe(nil), options = T.unsafe(nil)); end # Total number of assertions. # - # source://minitest//lib/minitest.rb#814 + # pkg:gem/minitest#lib/minitest.rb:814 def assertions; end # Total number of assertions. # - # source://minitest//lib/minitest.rb#814 + # pkg:gem/minitest#lib/minitest.rb:814 def assertions=(_arg0); end # Total number of test cases. # - # source://minitest//lib/minitest.rb#819 + # pkg:gem/minitest#lib/minitest.rb:819 def count; end # Total number of test cases. # - # source://minitest//lib/minitest.rb#819 + # pkg:gem/minitest#lib/minitest.rb:819 def count=(_arg0); end # Total number of tests that erred. # - # source://minitest//lib/minitest.rb#847 + # pkg:gem/minitest#lib/minitest.rb:847 def errors; end # Total number of tests that erred. # - # source://minitest//lib/minitest.rb#847 + # pkg:gem/minitest#lib/minitest.rb:847 def errors=(_arg0); end # Total number of tests that failed. # - # source://minitest//lib/minitest.rb#842 + # pkg:gem/minitest#lib/minitest.rb:842 def failures; end # Total number of tests that failed. # - # source://minitest//lib/minitest.rb#842 + # pkg:gem/minitest#lib/minitest.rb:842 def failures=(_arg0); end # @return [Boolean] # - # source://minitest//lib/minitest.rb#873 + # pkg:gem/minitest#lib/minitest.rb:873 def passed?; end - # source://minitest//lib/minitest.rb#881 + # pkg:gem/minitest#lib/minitest.rb:881 def record(result); end # Report on the tracked statistics. # - # source://minitest//lib/minitest.rb#891 + # pkg:gem/minitest#lib/minitest.rb:891 def report; end # An +Array+ of test cases that failed or were skipped. # - # source://minitest//lib/minitest.rb#824 + # pkg:gem/minitest#lib/minitest.rb:824 def results; end # An +Array+ of test cases that failed or were skipped. # - # source://minitest//lib/minitest.rb#824 + # pkg:gem/minitest#lib/minitest.rb:824 def results=(_arg0); end # Total number of tests that where skipped. # - # source://minitest//lib/minitest.rb#857 + # pkg:gem/minitest#lib/minitest.rb:857 def skips; end # Total number of tests that where skipped. # - # source://minitest//lib/minitest.rb#857 + # pkg:gem/minitest#lib/minitest.rb:857 def skips=(_arg0); end - # source://minitest//lib/minitest.rb#877 + # pkg:gem/minitest#lib/minitest.rb:877 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#831 + # pkg:gem/minitest#lib/minitest.rb:831 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#831 + # pkg:gem/minitest#lib/minitest.rb:831 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#837 + # pkg:gem/minitest#lib/minitest.rb:837 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#837 + # pkg:gem/minitest#lib/minitest.rb:837 def total_time=(_arg0); end # Total number of tests that warned. # - # source://minitest//lib/minitest.rb#852 + # pkg:gem/minitest#lib/minitest.rb:852 def warnings; end # Total number of tests that warned. # - # source://minitest//lib/minitest.rb#852 + # pkg:gem/minitest#lib/minitest.rb:852 def warnings=(_arg0); end end @@ -1857,36 +1857,36 @@ end # plugin, pull this out of the composite and replace it with your # own. # -# source://minitest//lib/minitest.rb#912 +# pkg:gem/minitest#lib/minitest.rb:912 class Minitest::SummaryReporter < ::Minitest::StatisticsReporter - # source://minitest//lib/minitest.rb#945 + # pkg:gem/minitest#lib/minitest.rb:945 def aggregated_results(io); end - # source://minitest//lib/minitest.rb#914 + # pkg:gem/minitest#lib/minitest.rb:914 def old_sync; end - # source://minitest//lib/minitest.rb#914 + # pkg:gem/minitest#lib/minitest.rb:914 def old_sync=(_arg0); end - # source://minitest//lib/minitest.rb#928 + # pkg:gem/minitest#lib/minitest.rb:928 def report; end - # source://minitest//lib/minitest.rb#916 + # pkg:gem/minitest#lib/minitest.rb:916 def start; end - # source://minitest//lib/minitest.rb#940 + # pkg:gem/minitest#lib/minitest.rb:940 def statistics; end - # source://minitest//lib/minitest.rb#965 + # pkg:gem/minitest#lib/minitest.rb:965 def summary; end - # source://minitest//lib/minitest.rb#913 + # pkg:gem/minitest#lib/minitest.rb:913 def sync; end - # source://minitest//lib/minitest.rb#913 + # pkg:gem/minitest#lib/minitest.rb:913 def sync=(_arg0); end - # source://minitest//lib/minitest.rb#961 + # pkg:gem/minitest#lib/minitest.rb:961 def to_s; end end @@ -1895,7 +1895,7 @@ end # # See Minitest::Assertions # -# source://minitest//lib/minitest/test.rb#10 +# pkg:gem/minitest#lib/minitest/test.rb:10 class Minitest::Test < ::Minitest::Runnable include ::Minitest::Reportable include ::Minitest::Assertions @@ -1905,24 +1905,24 @@ class Minitest::Test < ::Minitest::Runnable # LifecycleHooks # - # source://minitest//lib/minitest/test.rb#190 + # pkg:gem/minitest#lib/minitest/test.rb:190 def capture_exceptions; end - # source://minitest//lib/minitest/test.rb#15 + # pkg:gem/minitest#lib/minitest/test.rb:15 def class_name; end - # source://minitest//lib/minitest/test.rb#207 + # pkg:gem/minitest#lib/minitest/test.rb:207 def neuter_exception(e); end - # source://minitest//lib/minitest/test.rb#218 + # pkg:gem/minitest#lib/minitest/test.rb:218 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#88 + # pkg:gem/minitest#lib/minitest/test.rb:88 def run; end - # source://minitest//lib/minitest/test.rb#200 + # pkg:gem/minitest#lib/minitest/test.rb:200 def sanitize_exception(e); end class << self @@ -1930,19 +1930,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/minitest#lib/minitest/test.rb:26 def io_lock=(_arg0); end # Make diffs for this Test use #pretty_inspect so that diff @@ -1950,7 +1950,7 @@ class Minitest::Test < ::Minitest::Runnable # than the regular inspect but much more usable for complex # objects. # - # source://minitest//lib/minitest/test.rb#48 + # pkg:gem/minitest#lib/minitest/test.rb:48 def make_my_diffs_pretty!; end # Call this at the top of your tests (inside the +Minitest::Test+ @@ -1958,14 +1958,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 + # pkg:gem/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#71 + # pkg:gem/minitest#lib/minitest/test.rb:71 def runnable_methods; end end end @@ -1974,7 +1974,7 @@ end # meant for library writers, NOT for regular test authors. See # #before_setup for an example. # -# source://minitest//lib/minitest/test.rb#113 +# pkg:gem/minitest#lib/minitest/test.rb:113 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 @@ -1982,7 +1982,7 @@ module Minitest::Test::LifecycleHooks # # See #before_setup for an example. # - # source://minitest//lib/minitest/test.rb#163 + # pkg:gem/minitest#lib/minitest/test.rb:163 def after_setup; end # Runs after every test, after teardown. This hook is meant for @@ -1991,7 +1991,7 @@ module Minitest::Test::LifecycleHooks # # See #before_setup for an example. # - # source://minitest//lib/minitest/test.rb#187 + # pkg:gem/minitest#lib/minitest/test.rb:187 def after_teardown; end # Runs before every test, before setup. This hook is meant for @@ -2026,7 +2026,7 @@ module Minitest::Test::LifecycleHooks # include MyMinitestPlugin # end # - # source://minitest//lib/minitest/test.rb#148 + # pkg:gem/minitest#lib/minitest/test.rb:148 def before_setup; end # Runs after every test, before teardown. This hook is meant for @@ -2035,83 +2035,83 @@ module Minitest::Test::LifecycleHooks # # See #before_setup for an example. # - # source://minitest//lib/minitest/test.rb#172 + # pkg:gem/minitest#lib/minitest/test.rb:172 def before_teardown; end # Runs before every test. Use this to set up before each test # run. # - # source://minitest//lib/minitest/test.rb#154 + # pkg:gem/minitest#lib/minitest/test.rb:154 def setup; end # Runs after every test. Use this to clean up after each test # run. # - # source://minitest//lib/minitest/test.rb#178 + # pkg:gem/minitest#lib/minitest/test.rb:178 def teardown; end end -# source://minitest//lib/minitest/test.rb#19 +# pkg:gem/minitest#lib/minitest/test.rb:19 Minitest::Test::PASSTHROUGH_EXCEPTIONS = T.let(T.unsafe(nil), Array) -# source://minitest//lib/minitest/test.rb#21 +# pkg:gem/minitest#lib/minitest/test.rb:21 Minitest::Test::SETUP_METHODS = T.let(T.unsafe(nil), Array) -# source://minitest//lib/minitest/test.rb#23 +# pkg:gem/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#1074 +# pkg:gem/minitest#lib/minitest.rb:1074 class Minitest::UnexpectedError < ::Minitest::Assertion include ::Minitest::Compress # @return [UnexpectedError] a new instance of UnexpectedError # - # source://minitest//lib/minitest.rb#1080 + # pkg:gem/minitest#lib/minitest.rb:1080 def initialize(error); end - # source://minitest//lib/minitest.rb#1093 + # pkg:gem/minitest#lib/minitest.rb:1093 def backtrace; end # TODO: figure out how to use `cause` instead # - # source://minitest//lib/minitest.rb#1078 + # pkg:gem/minitest#lib/minitest.rb:1078 def error; end # TODO: figure out how to use `cause` instead # - # source://minitest//lib/minitest.rb#1078 + # pkg:gem/minitest#lib/minitest.rb:1078 def error=(_arg0); end - # source://minitest//lib/minitest.rb#1099 + # pkg:gem/minitest#lib/minitest.rb:1099 def message; end - # source://minitest//lib/minitest.rb#1105 + # pkg:gem/minitest#lib/minitest.rb:1105 def result_label; end end -# source://minitest//lib/minitest.rb#1097 +# pkg:gem/minitest#lib/minitest.rb:1097 Minitest::UnexpectedError::BASE_RE = T.let(T.unsafe(nil), Regexp) # Assertion raised on warning when running in -Werror mode. # -# source://minitest//lib/minitest.rb#1113 +# pkg:gem/minitest#lib/minitest.rb:1113 class Minitest::UnexpectedWarning < ::Minitest::Assertion - # source://minitest//lib/minitest.rb#1114 + # pkg:gem/minitest#lib/minitest.rb:1114 def result_label; end end -# source://minitest//lib/minitest.rb#13 +# pkg:gem/minitest#lib/minitest.rb:13 Minitest::VERSION = T.let(T.unsafe(nil), String) -# source://minitest//lib/minitest/spec.rb#3 +# pkg:gem/minitest#lib/minitest/spec.rb:3 class Module - # source://minitest//lib/minitest/spec.rb#4 + # pkg:gem/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#351 +# pkg:gem/minitest#lib/minitest/spec.rb:351 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 1fde43f7a..c18e8c17d 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 +# pkg:gem/mutex_m#lib/mutex_m.rb:41 module Mutex_m - # source://mutex_m//lib/mutex_m.rb#116 + # pkg:gem/mutex_m#lib/mutex_m.rb:116 def initialize(*args, **_arg1); end - # source://mutex_m//lib/mutex_m.rb#69 + # pkg:gem/mutex_m#lib/mutex_m.rb:69 def mu_extended; end # See Thread::Mutex#lock # - # source://mutex_m//lib/mutex_m.rb#96 + # pkg:gem/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 + # pkg:gem/mutex_m#lib/mutex_m.rb:86 def mu_locked?; end # See Thread::Mutex#synchronize # - # source://mutex_m//lib/mutex_m.rb#81 + # pkg:gem/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 + # pkg:gem/mutex_m#lib/mutex_m.rb:91 def mu_try_lock; end # See Thread::Mutex#unlock # - # source://mutex_m//lib/mutex_m.rb#101 + # pkg:gem/mutex_m#lib/mutex_m.rb:101 def mu_unlock; end # See Thread::Mutex#sleep # - # source://mutex_m//lib/mutex_m.rb#106 + # pkg:gem/mutex_m#lib/mutex_m.rb:106 def sleep(timeout = T.unsafe(nil)); end private - # source://mutex_m//lib/mutex_m.rb#112 + # pkg:gem/mutex_m#lib/mutex_m.rb:112 def mu_initialize; end class << self - # source://mutex_m//lib/mutex_m.rb#59 + # pkg:gem/mutex_m#lib/mutex_m.rb:59 def append_features(cl); end - # source://mutex_m//lib/mutex_m.rb#46 + # pkg:gem/mutex_m#lib/mutex_m.rb:46 def define_aliases(cl); end - # source://mutex_m//lib/mutex_m.rb#64 + # pkg:gem/mutex_m#lib/mutex_m.rb:64 def extend_object(obj); end - # source://mutex_m//lib/mutex_m.rb#54 + # pkg:gem/mutex_m#lib/mutex_m.rb:54 def prepend_features(cl); end end end -# source://mutex_m//lib/mutex_m.rb#43 +# pkg:gem/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 b42bf8e72..d3cc43a76 100644 --- a/sorbet/rbi/gems/net-http@0.4.1.rbi +++ b/sorbet/rbi/gems/net-http@0.4.1.rbi @@ -692,7 +692,7 @@ # - {#set_debug_output}[rdoc-ref:Net::HTTP#set_debug_output]: # Sets the output stream for debugging. # -# source://net-http//lib/net/http.rb#722 +# pkg:gem/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. @@ -700,7 +700,7 @@ class Net::HTTP < ::Net::Protocol # # @return [HTTP] a new instance of HTTP # - # source://net-http//lib/net/http.rb#1093 + # pkg:gem/net-http#lib/net/http.rb:1093 def initialize(address, port = T.unsafe(nil)); end # Returns +true+ if the \HTTP session has been started: @@ -719,86 +719,86 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1417 + # pkg:gem/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//lib/net/http.rb#1194 + # pkg:gem/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//lib/net/http.rb#1479 + # pkg:gem/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//lib/net/http.rb#1479 + # pkg:gem/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//lib/net/http.rb#1483 + # pkg:gem/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//lib/net/http.rb#1483 + # pkg:gem/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//lib/net/http.rb#1487 + # pkg:gem/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//lib/net/http.rb#1487 + # pkg:gem/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//lib/net/http.rb#1490 + # pkg:gem/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//lib/net/http.rb#1490 + # pkg:gem/net-http#lib/net/http.rb:1490 def cert_store=(_arg0); end # Sets or returns the available SSL ciphers. # See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D]. # - # source://net-http//lib/net/http.rb#1494 + # pkg:gem/net-http#lib/net/http.rb:1494 def ciphers; end # Sets or returns the available SSL ciphers. # See {OpenSSL::SSL::SSLContext#ciphers=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-ciphers-3D]. # - # source://net-http//lib/net/http.rb#1494 + # pkg:gem/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//lib/net/http.rb#1421 + # pkg:gem/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//lib/net/http.rb#1421 + # pkg:gem/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//lib/net/http.rb#1374 + # pkg:gem/net-http#lib/net/http.rb:1374 def continue_timeout; end # Sets the continue timeout value, @@ -806,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//lib/net/http.rb#1380 + # pkg:gem/net-http#lib/net/http.rb:1380 def continue_timeout=(sec); end # Sends a COPY request to the server; @@ -818,7 +818,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.copy('/todos/1') # - # source://net-http//lib/net/http.rb#2123 + # pkg:gem/net-http#lib/net/http.rb:2123 def copy(path, initheader = T.unsafe(nil)); end # Sends a DELETE request to the server; @@ -830,19 +830,19 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.delete('/todos/1') # - # source://net-http//lib/net/http.rb#2097 + # pkg:gem/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}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate]. # - # source://net-http//lib/net/http.rb#1498 + # pkg:gem/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}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-add_certificate]. # - # source://net-http//lib/net/http.rb#1498 + # pkg:gem/net-http#lib/net/http.rb:1498 def extra_chain_cert=(_arg0); end # Finishes the \HTTP session: @@ -857,7 +857,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//lib/net/http.rb#1708 + # pkg:gem/net-http#lib/net/http.rb:1708 def finish; end # :call-seq: @@ -889,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//lib/net/http.rb#1914 + # pkg:gem/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; @@ -914,7 +914,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//lib/net/http.rb#2234 + # pkg:gem/net-http#lib/net/http.rb:2234 def get2(path, initheader = T.unsafe(nil), &block); end # Sends a HEAD request to the server; @@ -931,7 +931,7 @@ class Net::HTTP < ::Net::Protocol # ["content-type", ["application/json; charset=utf-8"]], # ["connection", ["close"]]] # - # source://net-http//lib/net/http.rb#1938 + # pkg:gem/net-http#lib/net/http.rb:1938 def head(path, initheader = T.unsafe(nil)); end # Sends a HEAD request to the server; @@ -943,21 +943,21 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.head('/todos/1') # => # # - # source://net-http//lib/net/http.rb#2235 + # pkg:gem/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//lib/net/http.rb#1397 + # pkg:gem/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//lib/net/http.rb#1397 + # pkg:gem/net-http#lib/net/http.rb:1397 def ignore_eof=(_arg0); end # Returns a string representation of +self+: @@ -965,7 +965,7 @@ class Net::HTTP < ::Net::Protocol # Net::HTTP.new(hostname).inspect # # => "#" # - # source://net-http//lib/net/http.rb#1135 + # pkg:gem/net-http#lib/net/http.rb:1135 def inspect; end # Returns the IP address for the connection. @@ -987,7 +987,7 @@ class Net::HTTP < ::Net::Protocol # http.ipaddr # => "172.67.155.76" # http.finish # - # source://net-http//lib/net/http.rb#1274 + # pkg:gem/net-http#lib/net/http.rb:1274 def ipaddr; end # Sets the IP address for the connection: @@ -1001,7 +1001,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//lib/net/http.rb#1286 + # pkg:gem/net-http#lib/net/http.rb:1286 def ipaddr=(addr); end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1012,7 +1012,7 @@ class Net::HTTP < ::Net::Protocol # otherwise the connection will have been closed # and a new connection is opened. # - # source://net-http//lib/net/http.rb#1392 + # pkg:gem/net-http#lib/net/http.rb:1392 def keep_alive_timeout; end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1023,41 +1023,41 @@ class Net::HTTP < ::Net::Protocol # otherwise the connection will have been closed # and a new connection is opened. # - # source://net-http//lib/net/http.rb#1392 + # pkg:gem/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//lib/net/http.rb#1501 + # pkg:gem/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//lib/net/http.rb#1501 + # pkg:gem/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//lib/net/http.rb#1201 + # pkg:gem/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//lib/net/http.rb#1201 + # pkg:gem/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//lib/net/http.rb#1205 + # pkg:gem/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//lib/net/http.rb#1205 + # pkg:gem/net-http#lib/net/http.rb:1205 def local_port=(_arg0); end # Sends a LOCK request to the server; @@ -1070,13 +1070,13 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.lock('/todos/1', data) # - # source://net-http//lib/net/http.rb#2043 + # pkg:gem/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//lib/net/http.rb#1330 + # pkg:gem/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 @@ -1091,31 +1091,31 @@ class Net::HTTP < ::Net::Protocol # http.max_retries = 2 # => 2 # http.max_retries # => 2 # - # source://net-http//lib/net/http.rb#1320 + # pkg:gem/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=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-max_version-3D]. # - # source://net-http//lib/net/http.rb#1516 + # pkg:gem/net-http#lib/net/http.rb:1516 def max_version; end # Sets or returns the maximum SSL version. # 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//lib/net/http.rb#1516 + # pkg:gem/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=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#method-i-min_version-3D]. # - # source://net-http//lib/net/http.rb#1512 + # pkg:gem/net-http#lib/net/http.rb:1512 def min_version; end # Sets or returns the minimum SSL version. # 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//lib/net/http.rb#1512 + # pkg:gem/net-http#lib/net/http.rb:1512 def min_version=(_arg0); end # Sends a MKCOL request to the server; @@ -1128,7 +1128,7 @@ class Net::HTTP < ::Net::Protocol # http.mkcol('/todos/1', data) # http = Net::HTTP.new(hostname) # - # source://net-http//lib/net/http.rb#2137 + # pkg:gem/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; @@ -1140,7 +1140,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.move('/todos/1') # - # source://net-http//lib/net/http.rb#2110 + # pkg:gem/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 @@ -1149,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//lib/net/http.rb#1296 + # pkg:gem/net-http#lib/net/http.rb:1296 def open_timeout; end # Sets or returns the numeric (\Integer or \Float) number of seconds @@ -1158,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//lib/net/http.rb#1296 + # pkg:gem/net-http#lib/net/http.rb:1296 def open_timeout=(_arg0); end # Sends an Options request to the server; @@ -1170,7 +1170,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.options('/') # - # source://net-http//lib/net/http.rb#2070 + # pkg:gem/net-http#lib/net/http.rb:2070 def options(path, initheader = T.unsafe(nil)); end # :call-seq: @@ -1198,19 +1198,19 @@ class Net::HTTP < ::Net::Protocol # # http.patch('/todos/1', data) # => # # - # source://net-http//lib/net/http.rb#2001 + # pkg:gem/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//lib/net/http.rb#1537 + # pkg:gem/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//lib/net/http.rb#1197 + # pkg:gem/net-http#lib/net/http.rb:1197 def port; end # :call-seq: @@ -1243,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//lib/net/http.rb#1972 + # pkg:gem/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; @@ -1269,7 +1269,7 @@ class Net::HTTP < ::Net::Protocol # # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}" # - # source://net-http//lib/net/http.rb#2236 + # pkg:gem/net-http#lib/net/http.rb:2236 def post2(path, data, initheader = T.unsafe(nil), &block); end # Sends a PROPFIND request to the server; @@ -1282,7 +1282,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.propfind('/todos/1', data) # - # source://net-http//lib/net/http.rb#2084 + # pkg:gem/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; @@ -1295,7 +1295,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.proppatch('/todos/1', data) # - # source://net-http//lib/net/http.rb#2029 + # pkg:gem/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; @@ -1303,26 +1303,26 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1785 + # pkg:gem/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//lib/net/http.rb#1807 + # pkg:gem/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//lib/net/http.rb#1241 + # pkg:gem/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//lib/net/http.rb#1237 + # pkg:gem/net-http#lib/net/http.rb:1237 def proxy_from_env=(_arg0); end # Returns +true+ if the proxy server is defined in the environment, @@ -1331,60 +1331,60 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1792 + # pkg:gem/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//lib/net/http.rb#1838 + # pkg:gem/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//lib/net/http.rb#1253 + # pkg:gem/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//lib/net/http.rb#1817 + # pkg:gem/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//lib/net/http.rb#1245 + # pkg:gem/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//lib/net/http.rb#1797 + # pkg:gem/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//lib/net/http.rb#1827 + # pkg:gem/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//lib/net/http.rb#1249 + # pkg:gem/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//lib/net/http.rb#1847 + # pkg:gem/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//lib/net/http.rb#1848 + # pkg:gem/net-http#lib/net/http.rb:1848 def proxyport; end # Sends a PUT request to the server; @@ -1397,7 +1397,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.put('/todos/1', data) # => # # - # source://net-http//lib/net/http.rb#2015 + # pkg:gem/net-http#lib/net/http.rb:2015 def put(path, data, initheader = T.unsafe(nil)); end # Sends a PUT request to the server; @@ -1410,14 +1410,14 @@ class Net::HTTP < ::Net::Protocol # http.put('/todos/1', 'xyzzy') # # => # # - # source://net-http//lib/net/http.rb#2237 + # pkg:gem/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//lib/net/http.rb#1301 + # pkg:gem/net-http#lib/net/http.rb:1301 def read_timeout; end # Sets the read timeout, in seconds, for +self+ to integer +sec+; @@ -1431,7 +1431,7 @@ class Net::HTTP < ::Net::Protocol # http.read_timeout = 0 # http.get('/todos/1') # Raises Net::ReadTimeout. # - # source://net-http//lib/net/http.rb#1343 + # pkg:gem/net-http#lib/net/http.rb:1343 def read_timeout=(sec); end # Sends the given request +req+ to the server; @@ -1464,7 +1464,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//lib/net/http.rb#2295 + # pkg:gem/net-http#lib/net/http.rb:2295 def request(req, body = T.unsafe(nil), &block); end # Sends a GET request to the server; @@ -1489,7 +1489,7 @@ class Net::HTTP < ::Net::Protocol # # # # - # source://net-http//lib/net/http.rb#2176 + # pkg:gem/net-http#lib/net/http.rb:2176 def request_get(path, initheader = T.unsafe(nil), &block); end # Sends a HEAD request to the server; @@ -1501,7 +1501,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.head('/todos/1') # => # # - # source://net-http//lib/net/http.rb#2189 + # pkg:gem/net-http#lib/net/http.rb:2189 def request_head(path, initheader = T.unsafe(nil), &block); end # Sends a POST request to the server; @@ -1527,7 +1527,7 @@ class Net::HTTP < ::Net::Protocol # # "{\n \"xyzzy\": \"\",\n \"id\": 201\n}" # - # source://net-http//lib/net/http.rb#2216 + # pkg:gem/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; @@ -1540,13 +1540,13 @@ class Net::HTTP < ::Net::Protocol # http.put('/todos/1', 'xyzzy') # # => # # - # source://net-http//lib/net/http.rb#2230 + # pkg:gem/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//lib/net/http.rb#1209 + # pkg:gem/net-http#lib/net/http.rb:1209 def response_body_encoding; end # Sets the encoding to be used for the response body; @@ -1567,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//lib/net/http.rb#1229 + # pkg:gem/net-http#lib/net/http.rb:1229 def response_body_encoding=(value); end # Sends an \HTTP request to the server; @@ -1590,7 +1590,7 @@ class Net::HTTP < ::Net::Protocol # http.send_request('POST', '/todos', 'xyzzy') # # => # # - # source://net-http//lib/net/http.rb#2259 + # pkg:gem/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. @@ -1642,29 +1642,29 @@ class Net::HTTP < ::Net::Protocol # read 2 bytes # Conn keep-alive # - # source://net-http//lib/net/http.rb#1188 + # pkg:gem/net-http#lib/net/http.rb:1188 def set_debug_output(output); end # Sets or returns the SSL timeout seconds. # - # source://net-http//lib/net/http.rb#1504 + # pkg:gem/net-http#lib/net/http.rb:1504 def ssl_timeout; end # Sets or returns the SSL timeout seconds. # - # source://net-http//lib/net/http.rb#1504 + # pkg:gem/net-http#lib/net/http.rb:1504 def ssl_timeout=(_arg0); end # Sets or returns the SSL version. # 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//lib/net/http.rb#1508 + # pkg:gem/net-http#lib/net/http.rb:1508 def ssl_version; end # Sets or returns the SSL version. # 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//lib/net/http.rb#1508 + # pkg:gem/net-http#lib/net/http.rb:1508 def ssl_version=(_arg0); end # Starts an \HTTP session. @@ -1690,7 +1690,7 @@ class Net::HTTP < ::Net::Protocol # # @raise [IOError] # - # source://net-http//lib/net/http.rb#1565 + # pkg:gem/net-http#lib/net/http.rb:1565 def start; end # Returns +true+ if the \HTTP session has been started: @@ -1709,7 +1709,7 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1413 + # pkg:gem/net-http#lib/net/http.rb:1413 def started?; end # Sends a TRACE request to the server; @@ -1721,7 +1721,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.trace('/todos/1') # - # source://net-http//lib/net/http.rb#2150 + # pkg:gem/net-http#lib/net/http.rb:2150 def trace(path, initheader = T.unsafe(nil)); end # Sends an UNLOCK request to the server; @@ -1734,7 +1734,7 @@ class Net::HTTP < ::Net::Protocol # http = Net::HTTP.new(hostname) # http.unlock('/todos/1', data) # - # source://net-http//lib/net/http.rb#2057 + # pkg:gem/net-http#lib/net/http.rb:2057 def unlock(path, body, initheader = T.unsafe(nil)); end # Sets whether a new session is to use @@ -1744,7 +1744,7 @@ class Net::HTTP < ::Net::Protocol # # Raises OpenSSL::SSL::SSLError if the port is not an HTTPS port. # - # source://net-http//lib/net/http.rb#1435 + # pkg:gem/net-http#lib/net/http.rb:1435 def use_ssl=(flag); end # Returns +true+ if +self+ uses SSL, +false+ otherwise. @@ -1752,62 +1752,62 @@ class Net::HTTP < ::Net::Protocol # # @return [Boolean] # - # source://net-http//lib/net/http.rb#1425 + # pkg:gem/net-http#lib/net/http.rb:1425 def use_ssl?; end # Sets or returns the callback for the server certification verification. # - # source://net-http//lib/net/http.rb#1519 + # pkg:gem/net-http#lib/net/http.rb:1519 def verify_callback; end # Sets or returns the callback for the server certification verification. # - # source://net-http//lib/net/http.rb#1519 + # pkg:gem/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//lib/net/http.rb#1522 + # pkg:gem/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//lib/net/http.rb#1522 + # pkg:gem/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=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]. # - # source://net-http//lib/net/http.rb#1532 + # pkg:gem/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=}[https://docs.ruby-lang.org/en/master/OpenSSL/SSL/SSLContext.html#attribute-i-verify_mode]. # - # source://net-http//lib/net/http.rb#1532 + # pkg:gem/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//lib/net/http.rb#1527 + # pkg:gem/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//lib/net/http.rb#1527 + # pkg:gem/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//lib/net/http.rb#1306 + # pkg:gem/net-http#lib/net/http.rb:1306 def write_timeout; end # Sets the write timeout, in seconds, for +self+ to integer +sec+; @@ -1829,76 +1829,76 @@ class Net::HTTP < ::Net::Protocol # http.write_timeout = 0 # http.post(_uri.path, data, headers) # Raises Net::WriteTimeout. # - # source://net-http//lib/net/http.rb#1367 + # pkg:gem/net-http#lib/net/http.rb:1367 def write_timeout=(sec); end private # Adds a message to debugging output # - # source://net-http//lib/net/http.rb#2478 + # pkg:gem/net-http#lib/net/http.rb:2478 def D(msg); end - # source://net-http//lib/net/http.rb#2464 + # pkg:gem/net-http#lib/net/http.rb:2464 def addr_port; end - # source://net-http//lib/net/http.rb#2381 + # pkg:gem/net-http#lib/net/http.rb:2381 def begin_transport(req); end # without proxy, obsolete # - # source://net-http//lib/net/http.rb#1859 + # pkg:gem/net-http#lib/net/http.rb:1859 def conn_address; end - # source://net-http//lib/net/http.rb#1863 + # pkg:gem/net-http#lib/net/http.rb:1863 def conn_port; end - # source://net-http//lib/net/http.rb#1585 + # pkg:gem/net-http#lib/net/http.rb:1585 def connect; end # Adds a message to debugging output # - # source://net-http//lib/net/http.rb#2472 + # pkg:gem/net-http#lib/net/http.rb:2472 def debug(msg); end - # source://net-http//lib/net/http.rb#1713 + # pkg:gem/net-http#lib/net/http.rb:1713 def do_finish; end - # source://net-http//lib/net/http.rb#1579 + # pkg:gem/net-http#lib/net/http.rb:1579 def do_start; end - # source://net-http//lib/net/http.rb#1867 + # pkg:gem/net-http#lib/net/http.rb:1867 def edit_path(path); end - # source://net-http//lib/net/http.rb#2404 + # pkg:gem/net-http#lib/net/http.rb:2404 def end_transport(req, res); end # @return [Boolean] # - # source://net-http//lib/net/http.rb#2421 + # pkg:gem/net-http#lib/net/http.rb:2421 def keep_alive?(req, res); end - # source://net-http//lib/net/http.rb#1695 + # pkg:gem/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//lib/net/http.rb#2318 + # pkg:gem/net-http#lib/net/http.rb:2318 def send_entity(path, data, initheader, dest, type, &block); end - # source://net-http//lib/net/http.rb#2445 + # pkg:gem/net-http#lib/net/http.rb:2445 def sspi_auth(req); end # @return [Boolean] # - # source://net-http//lib/net/http.rb#2430 + # pkg:gem/net-http#lib/net/http.rb:2430 def sspi_auth?(res); end - # source://net-http//lib/net/http.rb#2329 + # pkg:gem/net-http#lib/net/http.rb:2329 def transport_request(req); end - # source://net-http//lib/net/http.rb#1852 + # pkg:gem/net-http#lib/net/http.rb:1852 def unescape(value); end class << self @@ -1908,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//lib/net/http.rb#1739 + # pkg:gem/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//lib/net/http.rb#900 + # pkg:gem/net-http#lib/net/http.rb:900 def default_port; end # :call-seq: @@ -1950,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//lib/net/http.rb#802 + # pkg:gem/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: @@ -1960,7 +1960,7 @@ class Net::HTTP < ::Net::Protocol # Like Net::HTTP.get, but writes the returned body to $stdout; # returns +nil+. # - # source://net-http//lib/net/http.rb#761 + # pkg:gem/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: @@ -1970,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//lib/net/http.rb#812 + # pkg:gem/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//lib/net/http.rb#908 + # pkg:gem/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//lib/net/http.rb#916 + # pkg:gem/net-http#lib/net/http.rb:916 def https_default_port; end # Returns +false+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#751 + # pkg:gem/net-http#lib/net/http.rb:751 def is_version_1_1?; end # Returns +true+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#752 + # pkg:gem/net-http#lib/net/http.rb:752 def is_version_1_2?; end # Returns a new \Net::HTTP object +http+ @@ -2030,10 +2030,10 @@ 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//lib/net/http.rb#1065 + # pkg:gem/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 + # pkg:gem/net-http#lib/net/http.rb:1033 def newobj(*_arg0); end # Posts data to a host; returns a Net::HTTPResponse object. @@ -2062,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//lib/net/http.rb#855 + # pkg:gem/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. @@ -2085,41 +2085,41 @@ class Net::HTTP < ::Net::Protocol # "id": 101 # } # - # source://net-http//lib/net/http.rb#882 + # pkg:gem/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//lib/net/http.rb#1768 + # pkg:gem/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//lib/net/http.rb#1762 + # pkg:gem/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//lib/net/http.rb#1780 + # pkg:gem/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//lib/net/http.rb#1772 + # pkg:gem/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//lib/net/http.rb#1776 + # pkg:gem/net-http#lib/net/http.rb:1776 def proxy_user; end - # source://net-http//lib/net/http.rb#920 + # pkg:gem/net-http#lib/net/http.rb:920 def socket_type; end # :call-seq: @@ -2208,50 +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//lib/net/http.rb#1010 + # pkg:gem/net-http#lib/net/http.rb:1010 def start(address, *arg, &block); end # Returns +false+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#746 + # pkg:gem/net-http#lib/net/http.rb:746 def version_1_1?; end # Returns +true+; retained for compatibility. # - # source://net-http//lib/net/http.rb#736 + # pkg:gem/net-http#lib/net/http.rb:736 def version_1_2; end # Returns +true+; retained for compatibility. # # @return [Boolean] # - # source://net-http//lib/net/http.rb#741 + # pkg:gem/net-http#lib/net/http.rb:741 def version_1_2?; end end end -# source://net-http//lib/net/http/proxy_delta.rb#2 +# pkg:gem/net-http#lib/net/http/proxy_delta.rb:2 module Net::HTTP::ProxyDelta private - # source://net-http//lib/net/http/proxy_delta.rb#5 + # pkg:gem/net-http#lib/net/http/proxy_delta.rb:5 def conn_address; end - # source://net-http//lib/net/http/proxy_delta.rb#9 + # pkg:gem/net-http#lib/net/http/proxy_delta.rb:9 def conn_port; end - # source://net-http//lib/net/http/proxy_delta.rb#13 + # pkg:gem/net-http#lib/net/http/proxy_delta.rb:13 def edit_path(path); end end -# source://net-http//lib/net/http/backward.rb#7 +# pkg:gem/net-http#lib/net/http/backward.rb:7 Net::HTTP::ProxyMod = Net::HTTP::ProxyDelta # :stopdoc: # -# source://net-http//lib/net/http.rb#725 +# pkg:gem/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). @@ -2269,19 +2269,19 @@ 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 +# pkg:gem/net-http#lib/net/http/responses.rb:306 class Net::HTTPAlreadyReported < ::Net::HTTPSuccess; end -# source://net-http//lib/net/http/responses.rb#307 +# pkg:gem/net-http#lib/net/http/responses.rb:307 Net::HTTPAlreadyReported::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#67 +# pkg:gem/net-http#lib/net/http/responses.rb:67 Net::HTTPClientError::EXCEPTION_TYPE = Net::HTTPClientException -# source://net-http//lib/net/http/backward.rb#23 +# pkg:gem/net-http#lib/net/http/backward.rb:23 Net::HTTPClientErrorCode = Net::HTTPClientError -# source://net-http//lib/net/http/exceptions.rb#23 +# pkg:gem/net-http#lib/net/http/exceptions.rb:23 class Net::HTTPClientException < ::Net::ProtoServerError include ::Net::HTTPExceptions end @@ -2300,13 +2300,13 @@ end # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:147 class Net::HTTPEarlyHints < ::Net::HTTPInformation; end -# source://net-http//lib/net/http/responses.rb#148 +# pkg:gem/net-http#lib/net/http/responses.rb:148 Net::HTTPEarlyHints::HAS_BODY = T.let(T.unsafe(nil), FalseClass) -# source://net-http//lib/net/http/exceptions.rb#15 +# pkg:gem/net-http#lib/net/http/exceptions.rb:15 class Net::HTTPError < ::Net::ProtocolError include ::Net::HTTPExceptions end @@ -2315,28 +2315,28 @@ end # You cannot use Net::HTTPExceptions directly; instead, you must use # its subclasses. # -# source://net-http//lib/net/http/exceptions.rb#6 +# pkg:gem/net-http#lib/net/http/exceptions.rb:6 module Net::HTTPExceptions - # source://net-http//lib/net/http/exceptions.rb#7 + # pkg:gem/net-http#lib/net/http/exceptions.rb:7 def initialize(msg, res); end # Returns the value of attribute response. # - # source://net-http//lib/net/http/exceptions.rb#12 + # pkg:gem/net-http#lib/net/http/exceptions.rb:12 def data; end # Returns the value of attribute response. # - # source://net-http//lib/net/http/exceptions.rb#11 + # pkg:gem/net-http#lib/net/http/exceptions.rb:11 def response; end end -# source://net-http//lib/net/http/exceptions.rb#27 +# pkg:gem/net-http#lib/net/http/exceptions.rb:27 class Net::HTTPFatalError < ::Net::ProtoFatalError include ::Net::HTTPExceptions end -# source://net-http//lib/net/http/backward.rb#24 +# pkg:gem/net-http#lib/net/http/backward.rb:24 Net::HTTPFatalErrorCode = Net::HTTPClientError # \HTTPGenericRequest is the parent of the Net::HTTPRequest class. @@ -2347,19 +2347,19 @@ Net::HTTPFatalErrorCode = Net::HTTPClientError # # :include: doc/net-http/examples.rdoc # -# source://net-http//lib/net/http/generic_request.rb#11 +# pkg:gem/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//lib/net/http/generic_request.rb#15 + # pkg:gem/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//lib/net/http/generic_request.rb#109 + # pkg:gem/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: @@ -2369,7 +2369,7 @@ class Net::HTTPGenericRequest # req.body = '{"title": "foo","body": "bar","userId": 1}' # req.body # => "{\"title\": \"foo\",\"body\": \"bar\",\"userId\": 1}" # - # source://net-http//lib/net/http/generic_request.rb#145 + # pkg:gem/net-http#lib/net/http/generic_request.rb:145 def body; end # Sets the body for the request: @@ -2379,12 +2379,12 @@ class Net::HTTPGenericRequest # req.body = '{"title": "foo","body": "bar","userId": 1}' # req.body # => "{\"title\": \"foo\",\"body\": \"bar\",\"userId\": 1}" # - # source://net-http//lib/net/http/generic_request.rb#154 + # pkg:gem/net-http#lib/net/http/generic_request.rb:154 def body=(str); end # @return [Boolean] # - # source://net-http//lib/net/http/generic_request.rb#133 + # pkg:gem/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: @@ -2395,7 +2395,7 @@ class Net::HTTPGenericRequest # req.body_stream = StringIO.new('xyzzy') # => # # req.body_stream # => # # - # source://net-http//lib/net/http/generic_request.rb#169 + # pkg:gem/net-http#lib/net/http/generic_request.rb:169 def body_stream; end # Sets the body stream for the request: @@ -2406,7 +2406,7 @@ class Net::HTTPGenericRequest # req.body_stream = StringIO.new('xyzzy') # => # # req.body_stream # => # # - # source://net-http//lib/net/http/generic_request.rb#179 + # pkg:gem/net-http#lib/net/http/generic_request.rb:179 def body_stream=(input); end # Returns +false+ if the request's header 'Accept-Encoding' @@ -2422,19 +2422,19 @@ class Net::HTTPGenericRequest # req.delete('Accept-Encoding') # req.decode_content # => false # - # source://net-http//lib/net/http/generic_request.rb#95 + # pkg:gem/net-http#lib/net/http/generic_request.rb:95 def decode_content; end # write # - # source://net-http//lib/net/http/generic_request.rb#198 + # pkg:gem/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//lib/net/http/generic_request.rb#101 + # pkg:gem/net-http#lib/net/http/generic_request.rb:101 def inspect; end # Returns the string method name for the request: @@ -2442,7 +2442,7 @@ class Net::HTTPGenericRequest # Net::HTTP::Get.new(uri).method # => "GET" # Net::HTTP::Post.new(uri).method # => "POST" # - # source://net-http//lib/net/http/generic_request.rb#65 + # pkg:gem/net-http#lib/net/http/generic_request.rb:65 def method; end # Returns the string path for the request: @@ -2450,7 +2450,7 @@ class Net::HTTPGenericRequest # Net::HTTP::Get.new(uri).path # => "/" # Net::HTTP::Post.new('example.com').path # => "example.com" # - # source://net-http//lib/net/http/generic_request.rb#72 + # pkg:gem/net-http#lib/net/http/generic_request.rb:72 def path; end # Returns whether the request may have a body: @@ -2460,7 +2460,7 @@ class Net::HTTPGenericRequest # # @return [Boolean] # - # source://net-http//lib/net/http/generic_request.rb#120 + # pkg:gem/net-http#lib/net/http/generic_request.rb:120 def request_body_permitted?; end # Returns whether the response may have a body: @@ -2470,15 +2470,15 @@ class Net::HTTPGenericRequest # # @return [Boolean] # - # source://net-http//lib/net/http/generic_request.rb#129 + # pkg:gem/net-http#lib/net/http/generic_request.rb:129 def response_body_permitted?; end # @raise [ArgumentError] # - # source://net-http//lib/net/http/generic_request.rb#186 + # pkg:gem/net-http#lib/net/http/generic_request.rb:186 def set_body_internal(str); end - # source://net-http//lib/net/http/generic_request.rb#210 + # pkg:gem/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: @@ -2487,53 +2487,53 @@ class Net::HTTPGenericRequest # # => # # Net::HTTP::Get.new('example.com').uri # => nil # - # source://net-http//lib/net/http/generic_request.rb#80 + # pkg:gem/net-http#lib/net/http/generic_request.rb:80 def uri; end private - # source://net-http//lib/net/http/generic_request.rb#312 + # pkg:gem/net-http#lib/net/http/generic_request.rb:312 def encode_multipart_form_data(out, params, opt); end - # source://net-http//lib/net/http/generic_request.rb#368 + # pkg:gem/net-http#lib/net/http/generic_request.rb:368 def flush_buffer(out, buf, chunked_p); end - # source://net-http//lib/net/http/generic_request.rb#363 + # pkg:gem/net-http#lib/net/http/generic_request.rb:363 def quote_string(str, charset); end - # source://net-http//lib/net/http/generic_request.rb#260 + # pkg:gem/net-http#lib/net/http/generic_request.rb:260 def send_request_with_body(sock, ver, path, body); end - # source://net-http//lib/net/http/generic_request.rb#286 + # pkg:gem/net-http#lib/net/http/generic_request.rb:286 def send_request_with_body_data(sock, ver, path, params); end - # source://net-http//lib/net/http/generic_request.rb#269 + # pkg:gem/net-http#lib/net/http/generic_request.rb:269 def send_request_with_body_stream(sock, ver, path, f); end - # source://net-http//lib/net/http/generic_request.rb#376 + # pkg:gem/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//lib/net/http/generic_request.rb#386 + # pkg:gem/net-http#lib/net/http/generic_request.rb:386 def wait_for_continue(sock, ver); end - # source://net-http//lib/net/http/generic_request.rb#399 + # pkg:gem/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 +# pkg:gem/net-http#lib/net/http/generic_request.rb:242 class Net::HTTPGenericRequest::Chunker # @return [Chunker] a new instance of Chunker # - # source://net-http//lib/net/http/generic_request.rb#243 + # pkg:gem/net-http#lib/net/http/generic_request.rb:243 def initialize(sock); end - # source://net-http//lib/net/http/generic_request.rb#255 + # pkg:gem/net-http#lib/net/http/generic_request.rb:255 def finish; end - # source://net-http//lib/net/http/generic_request.rb#248 + # pkg:gem/net-http#lib/net/http/generic_request.rb:248 def write(buf); end end @@ -2715,7 +2715,7 @@ end # - #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 +# pkg:gem/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; @@ -2728,7 +2728,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//lib/net/http/header.rb#224 + # pkg:gem/net-http#lib/net/http/header.rb:224 def [](key); end # Sets the value for the case-insensitive +key+ to +val+, @@ -2743,7 +2743,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//lib/net/http/header.rb#240 + # pkg:gem/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; @@ -2759,7 +2759,7 @@ module Net::HTTPHeader # req['Foo'] # => "bar, baz, baz, bam" # req.get_fields('Foo') # => ["bar", "baz", "baz", "bam"] # - # source://net-http//lib/net/http/header.rb#261 + # pkg:gem/net-http#lib/net/http/header.rb:261 def add_field(key, val); end # Sets header 'Authorization' using the given @@ -2769,14 +2769,14 @@ module Net::HTTPHeader # req['Authorization'] # # => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA==" # - # source://net-http//lib/net/http/header.rb#945 + # pkg:gem/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//lib/net/http/header.rb#491 + # pkg:gem/net-http#lib/net/http/header.rb:491 def canonical_each; end # Returns +true+ if field 'Transfer-Encoding' @@ -2790,21 +2790,21 @@ module Net::HTTPHeader # # @return [Boolean] # - # source://net-http//lib/net/http/header.rb#654 + # pkg:gem/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//lib/net/http/header.rb#966 + # pkg:gem/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//lib/net/http/header.rb#974 + # pkg:gem/net-http#lib/net/http/header.rb:974 def connection_keep_alive?; end # Returns the value of field 'Content-Length' as an integer, @@ -2816,7 +2816,7 @@ module Net::HTTPHeader # res = Net::HTTP.get_response(hostname, '/todos/1') # res.content_length # => nil # - # source://net-http//lib/net/http/header.rb#616 + # pkg:gem/net-http#lib/net/http/header.rb:616 def content_length; end # Sets the value of field 'Content-Length' to the given numeric; @@ -2833,7 +2833,7 @@ module Net::HTTPHeader # http.request(req) # end # => # # - # source://net-http//lib/net/http/header.rb#637 + # pkg:gem/net-http#lib/net/http/header.rb:637 def content_length=(len); end # Returns a Range object representing the value of field @@ -2846,7 +2846,7 @@ module Net::HTTPHeader # res['Content-Range'] # => "bytes 0-499/1000" # res.content_range # => 0..499 # - # source://net-http//lib/net/http/header.rb#670 + # pkg:gem/net-http#lib/net/http/header.rb:670 def content_range; end # Returns the {media type}[https://en.wikipedia.org/wiki/Media_type] @@ -2858,7 +2858,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.content_type # => "application/json" # - # source://net-http//lib/net/http/header.rb#701 + # pkg:gem/net-http#lib/net/http/header.rb:701 def content_type; end # Sets the value of field 'Content-Type'; @@ -2870,7 +2870,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#content_type= is an alias for Net::HTTPHeader#set_content_type. # - # source://net-http//lib/net/http/header.rb#776 + # pkg:gem/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+ @@ -2881,7 +2881,7 @@ module Net::HTTPHeader # req.delete('Accept') # => ["*/*"] # req.delete('Nosuch') # => nil # - # source://net-http//lib/net/http/header.rb#453 + # pkg:gem/net-http#lib/net/http/header.rb:453 def delete(key); end # Calls the block with each key/value pair: @@ -2903,14 +2903,14 @@ module Net::HTTPHeader # # Net::HTTPHeader#each is an alias for Net::HTTPHeader#each_header. # - # source://net-http//lib/net/http/header.rb#371 + # pkg:gem/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//lib/net/http/header.rb#484 + # pkg:gem/net-http#lib/net/http/header.rb:484 def each_capitalized; end # Calls the block with each capitalized field name: @@ -2933,7 +2933,7 @@ module Net::HTTPHeader # # Returns an enumerator if no block is given. # - # source://net-http//lib/net/http/header.rb#417 + # pkg:gem/net-http#lib/net/http/header.rb:417 def each_capitalized_name; end # Calls the block with each key/value pair: @@ -2955,7 +2955,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each is an alias for Net::HTTPHeader#each_header. # - # source://net-http//lib/net/http/header.rb#364 + # pkg:gem/net-http#lib/net/http/header.rb:364 def each_header; end # Calls the block with each field key: @@ -2977,7 +2977,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key. # - # source://net-http//lib/net/http/header.rb#396 + # pkg:gem/net-http#lib/net/http/header.rb:396 def each_key(&block); end # Calls the block with each field key: @@ -2999,7 +2999,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#each_name is an alias for Net::HTTPHeader#each_key. # - # source://net-http//lib/net/http/header.rb#391 + # pkg:gem/net-http#lib/net/http/header.rb:391 def each_name(&block); end # Calls the block with each string field value: @@ -3017,7 +3017,7 @@ module Net::HTTPHeader # # Returns an enumerator if no block is given. # - # source://net-http//lib/net/http/header.rb#438 + # pkg:gem/net-http#lib/net/http/header.rb:438 def each_value; end # call-seq: @@ -3049,7 +3049,7 @@ module Net::HTTPHeader # res.fetch('Nosuch', 'Foo') # => "Foo" # res.fetch('Nosuch') # Raises KeyError. # - # source://net-http//lib/net/http/header.rb#341 + # pkg:gem/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+, @@ -3087,7 +3087,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#form_data= is an alias for Net::HTTPHeader#set_form_data. # - # source://net-http//lib/net/http/header.rb#819 + # pkg:gem/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+, @@ -3098,10 +3098,10 @@ module Net::HTTPHeader # res.get_fields('Connection') # => ["keep-alive"] # res.get_fields('Nosuch') # => nil # - # source://net-http//lib/net/http/header.rb#306 + # pkg:gem/net-http#lib/net/http/header.rb:306 def get_fields(key); end - # source://net-http//lib/net/http/header.rb#185 + # pkg:gem/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: @@ -3112,10 +3112,10 @@ module Net::HTTPHeader # # @return [Boolean] # - # source://net-http//lib/net/http/header.rb#463 + # pkg:gem/net-http#lib/net/http/header.rb:463 def key?(key); end - # source://net-http//lib/net/http/header.rb#212 + # pkg:gem/net-http#lib/net/http/header.rb:212 def length; end # Returns the leading ('type') part of the @@ -3128,7 +3128,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.main_type # => "application" # - # source://net-http//lib/net/http/header.rb#723 + # pkg:gem/net-http#lib/net/http/header.rb:723 def main_type; end # Sets header 'Proxy-Authorization' using the given @@ -3138,7 +3138,7 @@ module Net::HTTPHeader # req['Proxy-Authorization'] # # => "Basic bXlfYWNjb3VudDpteV9wYXNzd29yZA==" # - # source://net-http//lib/net/http/header.rb#956 + # pkg:gem/net-http#lib/net/http/header.rb:956 def proxy_basic_auth(account, password); end # Returns an array of Range objects that represent @@ -3152,7 +3152,7 @@ module Net::HTTPHeader # req.delete('Range') # req.range # # => nil # - # source://net-http//lib/net/http/header.rb#509 + # pkg:gem/net-http#lib/net/http/header.rb:509 def range; end # call-seq: @@ -3181,7 +3181,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#range= is an alias for Net::HTTPHeader#set_range. # - # source://net-http//lib/net/http/header.rb#605 + # pkg:gem/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 @@ -3193,7 +3193,7 @@ module Net::HTTPHeader # res['Content-Range'] = 'bytes 0-499/1000' # res.range_length # => 500 # - # source://net-http//lib/net/http/header.rb#687 + # pkg:gem/net-http#lib/net/http/header.rb:687 def range_length; end # Sets the value of field 'Content-Type'; @@ -3205,7 +3205,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#content_type= is an alias for Net::HTTPHeader#set_content_type. # - # source://net-http//lib/net/http/header.rb#772 + # pkg:gem/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. @@ -3311,7 +3311,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//lib/net/http/header.rb#924 + # pkg:gem/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+, @@ -3349,7 +3349,7 @@ module Net::HTTPHeader # # Net::HTTPHeader#form_data= is an alias for Net::HTTPHeader#set_form_data. # - # source://net-http//lib/net/http/header.rb#812 + # pkg:gem/net-http#lib/net/http/header.rb:812 def set_form_data(params, sep = T.unsafe(nil)); end # call-seq: @@ -3378,10 +3378,10 @@ module Net::HTTPHeader # # Net::HTTPHeader#range= is an alias for Net::HTTPHeader#set_range. # - # source://net-http//lib/net/http/header.rb#576 + # pkg:gem/net-http#lib/net/http/header.rb:576 def set_range(r, e = T.unsafe(nil)); end - # source://net-http//lib/net/http/header.rb#208 + # pkg:gem/net-http#lib/net/http/header.rb:208 def size; end # Returns the trailing ('subtype') part of the @@ -3394,7 +3394,7 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.sub_type # => "json" # - # source://net-http//lib/net/http/header.rb#738 + # pkg:gem/net-http#lib/net/http/header.rb:738 def sub_type; end # Returns a hash of the key/value pairs: @@ -3407,7 +3407,7 @@ module Net::HTTPHeader # "user-agent"=>["Ruby"], # "host"=>["jsonplaceholder.typicode.com"]} # - # source://net-http//lib/net/http/header.rb#477 + # pkg:gem/net-http#lib/net/http/header.rb:477 def to_hash; end # Returns the trailing ('parameters') part of the value of field 'Content-Type', @@ -3418,34 +3418,34 @@ module Net::HTTPHeader # res['content-type'] # => "application/json; charset=utf-8" # res.type_params # => {"charset"=>"utf-8"} # - # source://net-http//lib/net/http/header.rb#753 + # pkg:gem/net-http#lib/net/http/header.rb:753 def type_params; end private - # source://net-http//lib/net/http/header.rb#285 + # pkg:gem/net-http#lib/net/http/header.rb:285 def append_field_value(ary, val); end - # source://net-http//lib/net/http/header.rb#960 + # pkg:gem/net-http#lib/net/http/header.rb:960 def basic_encode(account, password); end - # source://net-http//lib/net/http/header.rb#493 + # pkg:gem/net-http#lib/net/http/header.rb:493 def capitalize(name); end - # source://net-http//lib/net/http/header.rb#270 + # pkg:gem/net-http#lib/net/http/header.rb:270 def set_field(key, val); end end -# source://net-http//lib/net/http/header.rb#183 +# pkg:gem/net-http#lib/net/http/header.rb:183 Net::HTTPHeader::MAX_FIELD_LENGTH = T.let(T.unsafe(nil), Integer) -# source://net-http//lib/net/http/header.rb#182 +# pkg:gem/net-http#lib/net/http/header.rb:182 Net::HTTPHeader::MAX_KEY_LENGTH = T.let(T.unsafe(nil), Integer) -# source://net-http//lib/net/http/responses.rb#23 +# pkg:gem/net-http#lib/net/http/responses.rb:23 Net::HTTPInformation::EXCEPTION_TYPE = Net::HTTPError -# source://net-http//lib/net/http/backward.rb#19 +# pkg:gem/net-http#lib/net/http/backward.rb:19 Net::HTTPInformationCode = Net::HTTPInformation # Response class for Loop Detected (WebDAV) responses (status code 508). @@ -3460,10 +3460,10 @@ Net::HTTPInformationCode = Net::HTTPInformation # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:1061 class Net::HTTPLoopDetected < ::Net::HTTPServerError; end -# source://net-http//lib/net/http/responses.rb#1062 +# pkg:gem/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). @@ -3477,16 +3477,16 @@ 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 +# pkg:gem/net-http#lib/net/http/responses.rb:776 class Net::HTTPMisdirectedRequest < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#777 +# pkg:gem/net-http#lib/net/http/responses.rb:777 Net::HTTPMisdirectedRequest::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#378 +# pkg:gem/net-http#lib/net/http/responses.rb:378 Net::HTTPMovedTemporarily = Net::HTTPFound -# source://net-http//lib/net/http/responses.rb#343 +# pkg:gem/net-http#lib/net/http/responses.rb:343 Net::HTTPMultipleChoice = Net::HTTPMultipleChoices # Response class for Not Extended responses (status code 510). @@ -3501,10 +3501,10 @@ Net::HTTPMultipleChoice = Net::HTTPMultipleChoices # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:1078 class Net::HTTPNotExtended < ::Net::HTTPServerError; end -# source://net-http//lib/net/http/responses.rb#1079 +# pkg:gem/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). @@ -3519,10 +3519,10 @@ Net::HTTPNotExtended::HAS_BODY = T.let(T.unsafe(nil), TrueClass) # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:688 class Net::HTTPPayloadTooLarge < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#689 +# pkg:gem/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). @@ -3537,10 +3537,10 @@ 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 +# pkg:gem/net-http#lib/net/http/responses.rb:129 class Net::HTTPProcessing < ::Net::HTTPInformation; end -# source://net-http//lib/net/http/responses.rb#130 +# pkg:gem/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). @@ -3555,16 +3555,16 @@ Net::HTTPProcessing::HAS_BODY = T.let(T.unsafe(nil), FalseClass) # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:739 class Net::HTTPRangeNotSatisfiable < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#740 +# pkg:gem/net-http#lib/net/http/responses.rb:740 Net::HTTPRangeNotSatisfiable::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#53 +# pkg:gem/net-http#lib/net/http/responses.rb:53 Net::HTTPRedirection::EXCEPTION_TYPE = Net::HTTPRetriableError -# source://net-http//lib/net/http/backward.rb#21 +# pkg:gem/net-http#lib/net/http/backward.rb:21 Net::HTTPRedirectionCode = Net::HTTPRedirection # This class is the base class for \Net::HTTP request classes. @@ -3639,7 +3639,7 @@ Net::HTTPRedirectionCode = Net::HTTPRedirection # - Net::HTTP::Lock # - Net::HTTP::Unlock # -# source://net-http//lib/net/http/request.rb#75 +# pkg:gem/net-http#lib/net/http/request.rb:75 class Net::HTTPRequest < ::Net::HTTPGenericRequest # Creates an HTTP request object for +path+. # @@ -3649,16 +3649,16 @@ class Net::HTTPRequest < ::Net::HTTPGenericRequest # # @return [HTTPRequest] a new instance of HTTPRequest # - # source://net-http//lib/net/http/request.rb#82 + # pkg:gem/net-http#lib/net/http/request.rb:82 def initialize(path, initheader = T.unsafe(nil)); end end -# source://net-http//lib/net/http/responses.rb#709 +# pkg:gem/net-http#lib/net/http/responses.rb:709 Net::HTTPRequestURITooLarge = Net::HTTPURITooLong # Typo since 2001 # -# source://net-http//lib/net/http/backward.rb#28 +# pkg:gem/net-http#lib/net/http/backward.rb:28 Net::HTTPResponceReceiver = Net::HTTPResponse # This class is the base class for \Net::HTTP response classes. @@ -3793,13 +3793,13 @@ 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 +# pkg:gem/net-http#lib/net/http/response.rb:135 class Net::HTTPResponse include ::Net::HTTPHeader # @return [HTTPResponse] a new instance of HTTPResponse # - # source://net-http//lib/net/http/response.rb#194 + # pkg:gem/net-http#lib/net/http/response.rb:194 def initialize(httpv, code, msg); end # Returns the string response body; @@ -3817,18 +3817,18 @@ class Net::HTTPResponse # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" # nil # - # source://net-http//lib/net/http/response.rb#400 + # pkg:gem/net-http#lib/net/http/response.rb:400 def body; end # Sets the body of the response to the given value. # - # source://net-http//lib/net/http/response.rb#405 + # pkg:gem/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//lib/net/http/response.rb#229 + # pkg:gem/net-http#lib/net/http/response.rb:229 def body_encoding; end # Sets the encoding that should be used when reading the body: @@ -3853,31 +3853,31 @@ class Net::HTTPResponse # p res.body.encoding # => # # end # - # source://net-http//lib/net/http/response.rb#253 + # pkg:gem/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//lib/net/http/response.rb#213 + # pkg:gem/net-http#lib/net/http/response.rb:213 def code; end # response <-> exception relationship # - # source://net-http//lib/net/http/response.rb#270 + # pkg:gem/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//lib/net/http/response.rb#225 + # pkg:gem/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//lib/net/http/response.rb#225 + # pkg:gem/net-http#lib/net/http/response.rb:225 def decode_content=(_arg0); end # Returns the string response body; @@ -3895,48 +3895,48 @@ class Net::HTTPResponse # "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" # nil # - # source://net-http//lib/net/http/response.rb#409 + # pkg:gem/net-http#lib/net/http/response.rb:409 def entity; end # @raise [error_type()] # - # source://net-http//lib/net/http/response.rb#274 + # pkg:gem/net-http#lib/net/http/response.rb:274 def error!; end - # source://net-http//lib/net/http/response.rb#280 + # pkg:gem/net-http#lib/net/http/response.rb:280 def error_type; end - # source://net-http//lib/net/http/response.rb#302 + # pkg:gem/net-http#lib/net/http/response.rb:302 def header; end # The HTTP version supported by the server. # - # source://net-http//lib/net/http/response.rb#208 + # pkg:gem/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//lib/net/http/response.rb#260 + # pkg:gem/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//lib/net/http/response.rb#260 + # pkg:gem/net-http#lib/net/http/response.rb:260 def ignore_eof=(_arg0); end - # source://net-http//lib/net/http/response.rb#262 + # pkg:gem/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//lib/net/http/response.rb#216 + # pkg:gem/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//lib/net/http/response.rb#217 + # pkg:gem/net-http#lib/net/http/response.rb:217 def msg; end # Gets the entity body returned by the remote HTTP server. @@ -3967,48 +3967,48 @@ class Net::HTTPResponse # end # } # - # source://net-http//lib/net/http/response.rb#355 + # pkg:gem/net-http#lib/net/http/response.rb:355 def read_body(dest = T.unsafe(nil), &block); end - # source://net-http//lib/net/http/response.rb#307 + # pkg:gem/net-http#lib/net/http/response.rb:307 def read_header; end # body # - # source://net-http//lib/net/http/response.rb#316 + # pkg:gem/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//lib/net/http/response.rb#297 + # pkg:gem/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//lib/net/http/response.rb#221 + # pkg:gem/net-http#lib/net/http/response.rb:221 def uri; end - # source://net-http//lib/net/http/response.rb#289 + # pkg:gem/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//lib/net/http/response.rb#285 + # pkg:gem/net-http#lib/net/http/response.rb:285 def value; end private - # source://net-http//lib/net/http/response.rb#450 + # pkg:gem/net-http#lib/net/http/response.rb:450 def check_bom(str); end - # source://net-http//lib/net/http/response.rb#414 + # pkg:gem/net-http#lib/net/http/response.rb:414 def detect_encoding(str, encoding = T.unsafe(nil)); end - # source://net-http//lib/net/http/response.rb#540 + # pkg:gem/net-http#lib/net/http/response.rb:540 def extracting_encodings_from_meta_elements(value); end - # source://net-http//lib/net/http/response.rb#505 + # pkg:gem/net-http#lib/net/http/response.rb:505 def get_attribute(ss); end # Checks for a supported Content-Encoding header and yields an Inflate @@ -4019,15 +4019,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//lib/net/http/response.rb#557 + # pkg:gem/net-http#lib/net/http/response.rb:557 def inflater; end # @raise [ArgumentError] # - # source://net-http//lib/net/http/response.rb#646 + # pkg:gem/net-http#lib/net/http/response.rb:646 def procdest(dest, block); end - # source://net-http//lib/net/http/response.rb#592 + # pkg:gem/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, @@ -4036,18 +4036,18 @@ class Net::HTTPResponse # # See RFC 2616 section 3.6.1 for definitions # - # source://net-http//lib/net/http/response.rb#622 + # pkg:gem/net-http#lib/net/http/response.rb:622 def read_chunked(dest, chunk_data_io); end - # source://net-http//lib/net/http/response.rb#464 + # pkg:gem/net-http#lib/net/http/response.rb:464 def scanning_meta(str); end - # source://net-http//lib/net/http/response.rb#434 + # pkg:gem/net-http#lib/net/http/response.rb:434 def sniff_encoding(str, encoding = T.unsafe(nil)); end # @raise [IOError] # - # source://net-http//lib/net/http/response.rb#642 + # pkg:gem/net-http#lib/net/http/response.rb:642 def stream_check; end class << self @@ -4055,26 +4055,26 @@ class Net::HTTPResponse # # @return [Boolean] # - # source://net-http//lib/net/http/response.rb#138 + # pkg:gem/net-http#lib/net/http/response.rb:138 def body_permitted?; end - # source://net-http//lib/net/http/response.rb#142 + # pkg:gem/net-http#lib/net/http/response.rb:142 def exception_type; end - # source://net-http//lib/net/http/response.rb#146 + # pkg:gem/net-http#lib/net/http/response.rb:146 def read_new(sock); end private # @yield [key, value] # - # source://net-http//lib/net/http/response.rb#170 + # pkg:gem/net-http#lib/net/http/response.rb:170 def each_response_header(sock); end - # source://net-http//lib/net/http/response.rb#157 + # pkg:gem/net-http#lib/net/http/response.rb:157 def read_status_line(sock); end - # source://net-http//lib/net/http/response.rb#164 + # pkg:gem/net-http#lib/net/http/response.rb:164 def response_class(code); end end end @@ -4082,24 +4082,24 @@ end # Inflater is a wrapper around Net::BufferedIO that transparently inflates # zlib and gzip streams. # -# source://net-http//lib/net/http/response.rb#660 +# pkg:gem/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//lib/net/http/response.rb#665 + # pkg:gem/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//lib/net/http/response.rb#683 + # pkg:gem/net-http#lib/net/http/response.rb:683 def bytes_inflated; end # Finishes the inflate stream. # - # source://net-http//lib/net/http/response.rb#674 + # pkg:gem/net-http#lib/net/http/response.rb:674 def finish; end # Returns a Net::ReadAdapter that inflates each read chunk into +dest+. @@ -4107,7 +4107,7 @@ class Net::HTTPResponse::Inflater # This allows a large response body to be inflated without storing the # entire body in memory. # - # source://net-http//lib/net/http/response.rb#693 + # pkg:gem/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 @@ -4120,39 +4120,39 @@ class Net::HTTPResponse::Inflater # # See https://bugs.ruby-lang.org/issues/6492 for further discussion. # - # source://net-http//lib/net/http/response.rb#720 + # pkg:gem/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//lib/net/http/response.rb#729 + # pkg:gem/net-http#lib/net/http/response.rb:729 def read_all(dest); end end -# source://net-http//lib/net/http/backward.rb#26 +# pkg:gem/net-http#lib/net/http/backward.rb:26 Net::HTTPResponseReceiver = Net::HTTPResponse -# source://net-http//lib/net/http/backward.rb#22 +# pkg:gem/net-http#lib/net/http/backward.rb:22 Net::HTTPRetriableCode = Net::HTTPRedirection -# source://net-http//lib/net/http/exceptions.rb#19 +# pkg:gem/net-http#lib/net/http/exceptions.rb:19 class Net::HTTPRetriableError < ::Net::ProtoRetriableError include ::Net::HTTPExceptions end -# source://net-http//lib/net/http/responses.rb#81 +# pkg:gem/net-http#lib/net/http/responses.rb:81 Net::HTTPServerError::EXCEPTION_TYPE = Net::HTTPFatalError -# source://net-http//lib/net/http/backward.rb#25 +# pkg:gem/net-http#lib/net/http/backward.rb:25 Net::HTTPServerErrorCode = Net::HTTPServerError -# source://net-http//lib/net/http/backward.rb#17 +# pkg:gem/net-http#lib/net/http/backward.rb:17 Net::HTTPSession = Net::HTTP -# source://net-http//lib/net/http/responses.rb#38 +# pkg:gem/net-http#lib/net/http/responses.rb:38 Net::HTTPSuccess::EXCEPTION_TYPE = Net::HTTPError -# source://net-http//lib/net/http/backward.rb#20 +# pkg:gem/net-http#lib/net/http/backward.rb:20 Net::HTTPSuccessCode = Net::HTTPSuccess # Response class for URI Too Long responses (status code 414). @@ -4167,13 +4167,13 @@ Net::HTTPSuccessCode = Net::HTTPSuccess # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:705 class Net::HTTPURITooLong < ::Net::HTTPClientError; end -# source://net-http//lib/net/http/responses.rb#706 +# pkg:gem/net-http#lib/net/http/responses.rb:706 Net::HTTPURITooLong::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/responses.rb#9 +# pkg:gem/net-http#lib/net/http/responses.rb:9 Net::HTTPUnknownResponse::EXCEPTION_TYPE = Net::HTTPError # Response class for Variant Also Negotiates responses (status code 506). @@ -4188,11 +4188,11 @@ Net::HTTPUnknownResponse::EXCEPTION_TYPE = Net::HTTPError # - {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 +# pkg:gem/net-http#lib/net/http/responses.rb:1029 class Net::HTTPVariantAlsoNegotiates < ::Net::HTTPServerError; end -# source://net-http//lib/net/http/responses.rb#1030 +# pkg:gem/net-http#lib/net/http/responses.rb:1030 Net::HTTPVariantAlsoNegotiates::HAS_BODY = T.let(T.unsafe(nil), TrueClass) -# source://net-http//lib/net/http/backward.rb#12 +# pkg:gem/net-http#lib/net/http/backward.rb:12 Net::NetPrivate::HTTPRequest = Net::HTTPRequest diff --git a/sorbet/rbi/gems/net-imap@0.5.7.rbi b/sorbet/rbi/gems/net-imap@0.5.7.rbi index ce745854d..0cd08c394 100644 --- a/sorbet/rbi/gems/net-imap@0.5.7.rbi +++ b/sorbet/rbi/gems/net-imap@0.5.7.rbi @@ -5,797 +5,377 @@ # Please instead update this file by running `bin/tapioca gem net-imap`. -# source://net-imap//lib/net/imap.rb#790 +# pkg:gem/net-imap#lib/net/imap.rb:790 class Net::IMAP < ::Net::Protocol - include ::Net::IMAP::DeprecatedClientOptions include ::MonitorMixin include ::OpenSSL include ::OpenSSL::SSL - extend ::Net::IMAP::Authenticators - # source://net-imap//lib/net/imap.rb#1065 - def initialize(host, port_or_options = T.unsafe(nil), *deprecated, **options); end + # pkg:gem/net-imap#lib/net/imap.rb:1065 + def initialize(host, port: T.unsafe(nil), ssl: T.unsafe(nil), response_handlers: T.unsafe(nil), config: T.unsafe(nil), **config_options); end - # source://net-imap//lib/net/imap.rb#3299 + # pkg:gem/net-imap#lib/net/imap.rb:3299 def add_response_handler(handler = T.unsafe(nil), &block); end - # source://net-imap//lib/net/imap.rb#2018 + # pkg:gem/net-imap#lib/net/imap.rb:2018 def append(mailbox, message, flags = T.unsafe(nil), date_time = T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#1213 + # pkg:gem/net-imap#lib/net/imap.rb:1213 def auth_capable?(mechanism); end - # source://net-imap//lib/net/imap.rb#1196 + # pkg:gem/net-imap#lib/net/imap.rb:1196 def auth_mechanisms; end - # source://net-imap//lib/net/imap.rb#1508 + # pkg:gem/net-imap#lib/net/imap.rb:1508 def authenticate(*args, sasl_ir: T.unsafe(nil), **props, &callback); end - # source://net-imap//lib/net/imap.rb#1172 + # pkg:gem/net-imap#lib/net/imap.rb:1172 def capabilities; end - # source://net-imap//lib/net/imap.rb#1223 + # pkg:gem/net-imap#lib/net/imap.rb:1223 def capabilities_cached?; end - # source://net-imap//lib/net/imap.rb#1261 + # pkg:gem/net-imap#lib/net/imap.rb:1261 def capability; end - # source://net-imap//lib/net/imap.rb#1159 + # pkg:gem/net-imap#lib/net/imap.rb:1159 def capability?(capability); end - # source://net-imap//lib/net/imap.rb#1158 + # pkg:gem/net-imap#lib/net/imap.rb:1158 def capable?(capability); end - # source://net-imap//lib/net/imap.rb#2034 + # pkg:gem/net-imap#lib/net/imap.rb:2034 def check; end - # source://net-imap//lib/net/imap.rb#1236 + # pkg:gem/net-imap#lib/net/imap.rb:1236 def clear_cached_capabilities; end - # source://net-imap//lib/net/imap.rb#3228 + # pkg:gem/net-imap#lib/net/imap.rb:3228 def clear_responses(type = T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#2044 + # pkg:gem/net-imap#lib/net/imap.rb:2044 def close; end - # source://net-imap//lib/net/imap.rb#848 + # pkg:gem/net-imap#lib/net/imap.rb:848 def config; end - # source://net-imap//lib/net/imap.rb#953 + # pkg:gem/net-imap#lib/net/imap.rb:953 def connection_state; end - # source://net-imap//lib/net/imap.rb#2773 + # pkg:gem/net-imap#lib/net/imap.rb:2773 def copy(set, mailbox); end - # source://net-imap//lib/net/imap.rb#1618 + # pkg:gem/net-imap#lib/net/imap.rb:1618 def create(mailbox); end - # source://net-imap//lib/net/imap.rb#1630 + # pkg:gem/net-imap#lib/net/imap.rb:1630 def delete(mailbox); end - # source://net-imap//lib/net/imap.rb#1118 + # pkg:gem/net-imap#lib/net/imap.rb:1118 def disconnect; end - # source://net-imap//lib/net/imap.rb#1144 + # pkg:gem/net-imap#lib/net/imap.rb:1144 def disconnected?; end - # source://net-imap//lib/net/imap.rb#3003 + # pkg:gem/net-imap#lib/net/imap.rb:3003 def enable(*capabilities); end - # source://net-imap//lib/net/imap.rb#1600 + # pkg:gem/net-imap#lib/net/imap.rb:1600 def examine(mailbox, condstore: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#2092 + # pkg:gem/net-imap#lib/net/imap.rb:2092 def expunge; end - # source://net-imap//lib/net/imap.rb#3252 + # pkg:gem/net-imap#lib/net/imap.rb:3252 def extract_responses(type); end - # source://net-imap//lib/net/imap.rb#2617 + # pkg:gem/net-imap#lib/net/imap.rb:2617 def fetch(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap.rb#1898 + # pkg:gem/net-imap#lib/net/imap.rb:1898 def getacl(mailbox); end - # source://net-imap//lib/net/imap.rb#1842 + # pkg:gem/net-imap#lib/net/imap.rb:1842 def getquota(mailbox); end - # source://net-imap//lib/net/imap.rb#1821 + # pkg:gem/net-imap#lib/net/imap.rb:1821 def getquotaroot(mailbox); end - # source://net-imap//lib/net/imap.rb#842 + # pkg:gem/net-imap#lib/net/imap.rb:842 def greeting; end - # source://net-imap//lib/net/imap.rb#874 + # pkg:gem/net-imap#lib/net/imap.rb:874 def host; end - # source://net-imap//lib/net/imap.rb#1290 + # pkg:gem/net-imap#lib/net/imap.rb:1290 def id(client_id = T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#3047 + # pkg:gem/net-imap#lib/net/imap.rb:3047 def idle(timeout = T.unsafe(nil), &response_handler); end - # source://net-imap//lib/net/imap.rb#3083 + # pkg:gem/net-imap#lib/net/imap.rb:3083 def idle_done; end - # source://net-imap//lib/net/imap.rb#868 + # pkg:gem/net-imap#lib/net/imap.rb:868 def idle_response_timeout; end - # source://net-imap//lib/net/imap.rb#1702 + # pkg:gem/net-imap#lib/net/imap.rb:1702 def list(refname, mailbox); end - # source://net-imap//lib/net/imap.rb#1539 + # pkg:gem/net-imap#lib/net/imap.rb:1539 def login(user, password); end - # source://net-imap//lib/net/imap.rb#1318 + # pkg:gem/net-imap#lib/net/imap.rb:1318 def logout; end - # source://net-imap//lib/net/imap.rb#1335 + # pkg:gem/net-imap#lib/net/imap.rb:1335 def logout!; end - # source://net-imap//lib/net/imap.rb#1913 + # pkg:gem/net-imap#lib/net/imap.rb:1913 def lsub(refname, mailbox); end - # source://net-imap//lib/net/imap.rb#869 + # pkg:gem/net-imap#lib/net/imap.rb:869 def max_response_size; end - # source://net-imap//lib/net/imap.rb#870 + # pkg:gem/net-imap#lib/net/imap.rb:870 def max_response_size=(val); end - # source://net-imap//lib/net/imap.rb#2814 + # pkg:gem/net-imap#lib/net/imap.rb:2814 def move(set, mailbox); end - # source://net-imap//lib/net/imap.rb#1759 + # pkg:gem/net-imap#lib/net/imap.rb:1759 def namespace; end - # source://net-imap//lib/net/imap.rb#1309 + # pkg:gem/net-imap#lib/net/imap.rb:1309 def noop; end - # source://net-imap//lib/net/imap.rb#867 + # pkg:gem/net-imap#lib/net/imap.rb:867 def open_timeout; end - # source://net-imap//lib/net/imap.rb#877 + # pkg:gem/net-imap#lib/net/imap.rb:877 def port; end - # source://net-imap//lib/net/imap.rb#3309 + # pkg:gem/net-imap#lib/net/imap.rb:3309 def remove_response_handler(handler); end - # source://net-imap//lib/net/imap.rb#1643 + # pkg:gem/net-imap#lib/net/imap.rb:1643 def rename(mailbox, newname); end - # source://net-imap//lib/net/imap.rb#3278 + # pkg:gem/net-imap#lib/net/imap.rb:3278 def response_handlers; end - # source://net-imap//lib/net/imap.rb#3194 + # pkg:gem/net-imap#lib/net/imap.rb:3194 def responses(type = T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#2536 + # pkg:gem/net-imap#lib/net/imap.rb:2536 def search(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap.rb#1580 + # pkg:gem/net-imap#lib/net/imap.rb:1580 def select(mailbox, condstore: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#1880 + # pkg:gem/net-imap#lib/net/imap.rb:1880 def setacl(mailbox, user, rights); end - # source://net-imap//lib/net/imap.rb#1860 + # pkg:gem/net-imap#lib/net/imap.rb:1860 def setquota(mailbox, quota); end - # source://net-imap//lib/net/imap.rb#2862 + # pkg:gem/net-imap#lib/net/imap.rb:2862 def sort(sort_keys, search_keys, charset); end - # source://net-imap//lib/net/imap.rb#885 + # pkg:gem/net-imap#lib/net/imap.rb:885 def ssl_ctx; end - # source://net-imap//lib/net/imap.rb#892 + # pkg:gem/net-imap#lib/net/imap.rb:892 def ssl_ctx_params; end - # source://net-imap//lib/net/imap.rb#1379 - def starttls(*deprecated, **options); end + # pkg:gem/net-imap#lib/net/imap.rb:1379 + def starttls(**options); end - # source://net-imap//lib/net/imap.rb#1980 + # pkg:gem/net-imap#lib/net/imap.rb:1980 def status(mailbox, attr); end - # source://net-imap//lib/net/imap.rb#2729 + # pkg:gem/net-imap#lib/net/imap.rb:2729 def store(set, attr, flags, unchangedsince: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#1655 + # pkg:gem/net-imap#lib/net/imap.rb:1655 def subscribe(mailbox); end - # source://net-imap//lib/net/imap.rb#2902 + # pkg:gem/net-imap#lib/net/imap.rb:2902 def thread(algorithm, search_keys, charset); end - # source://net-imap//lib/net/imap.rb#1113 + # pkg:gem/net-imap#lib/net/imap.rb:1113 def tls_verified?; end - # source://net-imap//lib/net/imap.rb#2789 + # pkg:gem/net-imap#lib/net/imap.rb:2789 def uid_copy(set, mailbox); end - # source://net-imap//lib/net/imap.rb#2122 + # pkg:gem/net-imap#lib/net/imap.rb:2122 def uid_expunge(uid_set); end - # source://net-imap//lib/net/imap.rb#2679 + # pkg:gem/net-imap#lib/net/imap.rb:2679 def uid_fetch(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap.rb#2836 + # pkg:gem/net-imap#lib/net/imap.rb:2836 def uid_move(set, mailbox); end - # source://net-imap//lib/net/imap.rb#2563 + # pkg:gem/net-imap#lib/net/imap.rb:2563 def uid_search(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap.rb#2877 + # pkg:gem/net-imap#lib/net/imap.rb:2877 def uid_sort(sort_keys, search_keys, charset); end - # source://net-imap//lib/net/imap.rb#2752 + # pkg:gem/net-imap#lib/net/imap.rb:2752 def uid_store(set, attr, flags, unchangedsince: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#2916 + # pkg:gem/net-imap#lib/net/imap.rb:2916 def uid_thread(algorithm, search_keys, charset); end - # source://net-imap//lib/net/imap.rb#2061 + # pkg:gem/net-imap#lib/net/imap.rb:2061 def unselect; end - # source://net-imap//lib/net/imap.rb#1668 + # pkg:gem/net-imap#lib/net/imap.rb:1668 def unsubscribe(mailbox); end - # source://net-imap//lib/net/imap.rb#1803 + # pkg:gem/net-imap#lib/net/imap.rb:1803 def xlist(refname, mailbox); end private - # source://net-imap//lib/net/imap.rb#3750 + # pkg:gem/net-imap#lib/net/imap.rb:3750 def build_ssl_ctx(ssl); end - # source://net-imap//lib/net/imap.rb#3486 + # pkg:gem/net-imap#lib/net/imap.rb:3486 def capabilities_from_resp_code(resp); end - # source://net-imap//lib/net/imap.rb#3732 + # pkg:gem/net-imap#lib/net/imap.rb:3732 def coerce_search_arg_to_seqset?(obj); end - # source://net-imap//lib/net/imap.rb#3741 + # pkg:gem/net-imap#lib/net/imap.rb:3741 def coerce_search_array_arg_to_seqset?(obj); end - # source://net-imap//lib/net/imap.rb#3617 + # pkg:gem/net-imap#lib/net/imap.rb:3617 def convert_return_opts(unconverted); end - # source://net-imap//lib/net/imap.rb#3701 + # pkg:gem/net-imap#lib/net/imap.rb:3701 def copy_internal(cmd, set, mailbox); end - # source://net-imap//lib/net/imap.rb#3555 + # pkg:gem/net-imap#lib/net/imap.rb:3555 def enforce_logindisabled?; end - # source://net-imap//lib/net/imap.rb#3563 + # pkg:gem/net-imap#lib/net/imap.rb:3563 def expunge_internal(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap.rb#3658 + # pkg:gem/net-imap#lib/net/imap.rb:3658 def fetch_internal(cmd, set, attr, mod = T.unsafe(nil), partial: T.unsafe(nil), changedsince: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#3535 + # pkg:gem/net-imap#lib/net/imap.rb:3535 def generate_tag; end - # source://net-imap//lib/net/imap.rb#3462 + # pkg:gem/net-imap#lib/net/imap.rb:3462 def get_response; end - # source://net-imap//lib/net/imap.rb#3332 + # pkg:gem/net-imap#lib/net/imap.rb:3332 def get_server_greeting; end - # source://net-imap//lib/net/imap.rb#3434 + # pkg:gem/net-imap#lib/net/imap.rb:3434 def get_tagged_response(tag, cmd, timeout = T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#3721 + # pkg:gem/net-imap#lib/net/imap.rb:3721 def normalize_searching_criteria(criteria); end - # source://net-imap//lib/net/imap.rb#3540 + # pkg:gem/net-imap#lib/net/imap.rb:3540 def put_string(str); end - # source://net-imap//lib/net/imap.rb#3363 + # pkg:gem/net-imap#lib/net/imap.rb:3363 def receive_responses; end - # source://net-imap//lib/net/imap.rb#3473 + # pkg:gem/net-imap#lib/net/imap.rb:3473 def record_untagged_response(resp); end - # source://net-imap//lib/net/imap.rb#3479 + # pkg:gem/net-imap#lib/net/imap.rb:3479 def record_untagged_response_code(resp); end - # source://net-imap//lib/net/imap.rb#3803 + # pkg:gem/net-imap#lib/net/imap.rb:3803 def sasl_adapter; end - # source://net-imap//lib/net/imap.rb#3583 + # pkg:gem/net-imap#lib/net/imap.rb:3583 def search_args(keys, charset_arg = T.unsafe(nil), return: T.unsafe(nil), charset: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#3632 + # pkg:gem/net-imap#lib/net/imap.rb:3632 def search_internal(cmd, *_arg1, **_arg2, &_arg3); end - # source://net-imap//lib/net/imap.rb#3507 + # pkg:gem/net-imap#lib/net/imap.rb:3507 def send_command(cmd, *args, &block); end - # source://net-imap//lib/net/imap.rb#3690 + # pkg:gem/net-imap#lib/net/imap.rb:3690 def send_command_returning_fetch_results(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap.rb#3498 + # pkg:gem/net-imap#lib/net/imap.rb:3498 def send_command_with_continuations(cmd, *args); end - # source://net-imap//lib/net/imap/command_data.rb#34 - def send_data(data, tag = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/command_data.rb#116 - def send_date_data(date); end - - # source://net-imap//lib/net/imap/command_data.rb#102 - def send_list_data(list, tag = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/command_data.rb#81 - def send_literal(str, tag = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/command_data.rb#98 - def send_number_data(num); end - - # source://net-imap//lib/net/imap/command_data.rb#77 - def send_quoted_string(str); end - - # source://net-imap//lib/net/imap/command_data.rb#55 - def send_string_data(str, tag = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/command_data.rb#119 - def send_symbol_data(symbol); end - - # source://net-imap//lib/net/imap/command_data.rb#117 - def send_time_data(time); end - - # source://net-imap//lib/net/imap.rb#3705 + # pkg:gem/net-imap#lib/net/imap.rb:3705 def sort_internal(cmd, sort_keys, search_keys, charset); end - # source://net-imap//lib/net/imap.rb#3321 + # pkg:gem/net-imap#lib/net/imap.rb:3321 def start_imap_connection; end - # source://net-imap//lib/net/imap.rb#3343 + # pkg:gem/net-imap#lib/net/imap.rb:3343 def start_receiver_thread; end - # source://net-imap//lib/net/imap.rb#3765 + # pkg:gem/net-imap#lib/net/imap.rb:3765 def start_tls_session; end - # source://net-imap//lib/net/imap.rb#3780 + # pkg:gem/net-imap#lib/net/imap.rb:3780 def state_authenticated!(resp = T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#3797 + # pkg:gem/net-imap#lib/net/imap.rb:3797 def state_logout!; end - # source://net-imap//lib/net/imap.rb#3787 + # pkg:gem/net-imap#lib/net/imap.rb:3787 def state_selected!; end - # source://net-imap//lib/net/imap.rb#3793 + # pkg:gem/net-imap#lib/net/imap.rb:3793 def state_unselected!; end - # source://net-imap//lib/net/imap.rb#3682 + # pkg:gem/net-imap#lib/net/imap.rb:3682 def store_internal(cmd, set, attr, flags, unchangedsince: T.unsafe(nil)); end - # source://net-imap//lib/net/imap.rb#3354 + # pkg:gem/net-imap#lib/net/imap.rb:3354 def tcp_socket(host, port); end - # source://net-imap//lib/net/imap.rb#3713 + # pkg:gem/net-imap#lib/net/imap.rb:3713 def thread_internal(cmd, algorithm, search_keys, charset); end - # source://net-imap//lib/net/imap/command_data.rb#13 - def validate_data(data); end - class << self - # source://net-imap//lib/net/imap.rb#813 + # pkg:gem/net-imap#lib/net/imap.rb:813 def config; end - # source://net-imap//lib/net/imap.rb#817 + # pkg:gem/net-imap#lib/net/imap.rb:817 def debug; end - # source://net-imap//lib/net/imap.rb#821 + # pkg:gem/net-imap#lib/net/imap.rb:821 def debug=(val); end - # :call-seq: decode_date(string) -> Date - # - # Decodes +string+ as an IMAP formatted "date". - # - # 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 - def decode_date(string); end - - # :call-seq: decode_datetime(string) -> DateTime - # - # Decodes +string+ as an IMAP4 formatted "date-time". - # - # NOTE: Although double-quotes are not optional in the IMAP grammar, - # Net::IMAP currently parses "date-time" values as "quoted" strings and this - # removes the quotation marks. To be useful for strings which have already - # been parsed as a quoted string, this method makes double-quotes optional. - # - # See STRFTIME. - # - # source://net-imap//lib/net/imap/data_encoding.rb#112 - def decode_datetime(string); end - - # :call-seq: decode_time(string) -> Time - # - # Decodes +string+ as an IMAP4 formatted "date-time". - # - # Same as +decode_datetime+, but returning a Time instead. - # - # source://net-imap//lib/net/imap/data_encoding.rb#124 - def decode_time(string); end - - # Decode a string from modified UTF-7 format to UTF-8. - # - # UTF-7 is a 7-bit encoding of Unicode [UTF7]. IMAP uses a - # slightly modified version of this to encode mailbox names - # containing non-ASCII characters; see [IMAP] section 5.1.3. - # - # Net::IMAP does _not_ automatically encode and decode - # mailbox names to and from UTF-7. - # - # source://net-imap//lib/net/imap/data_encoding.rb#57 - def decode_utf7(s); end - - # source://net-imap//lib/net/imap.rb#836 + # pkg:gem/net-imap#lib/net/imap.rb:836 def default_imap_port; end - # source://net-imap//lib/net/imap.rb#837 + # pkg:gem/net-imap#lib/net/imap.rb:837 def default_imaps_port; end - # source://net-imap//lib/net/imap.rb#826 + # pkg:gem/net-imap#lib/net/imap.rb:826 def default_port; end - # source://net-imap//lib/net/imap.rb#838 + # pkg:gem/net-imap#lib/net/imap.rb:838 def default_ssl_port; end - # source://net-imap//lib/net/imap.rb#831 + # pkg:gem/net-imap#lib/net/imap.rb:831 def default_tls_port; end - # Formats +time+ as an IMAP4 date. - # - # source://net-imap//lib/net/imap/data_encoding.rb#80 - def encode_date(date); end - - # :call-seq: encode_datetime(time) -> string - # - # Formats +time+ as an IMAP4 date-time. - # - # source://net-imap//lib/net/imap/data_encoding.rb#98 - def encode_datetime(time); end - - # :call-seq: encode_datetime(time) -> string - # - # Formats +time+ as an IMAP4 date-time. - # - # 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. - # - # source://net-imap//lib/net/imap/data_encoding.rb#68 - def encode_utf7(s); end - - # Formats +time+ as an IMAP4 date. - # - # source://net-imap//lib/net/imap/data_encoding.rb#133 - def format_date(date); end - - # DEPRECATED:: The original version returned incorrectly formatted strings. - # Strings returned by encode_datetime or format_time use the - # correct IMAP4rev1 syntax for "date-time". - # - # This invalid format has been temporarily retained for backward - # compatibility. A future release will change this method to return the - # correct format. - # - # source://net-imap//lib/net/imap/data_encoding.rb#149 - def format_datetime(time); end - - # :call-seq: encode_datetime(time) -> string - # - # Formats +time+ as an IMAP4 date-time. - # - # source://net-imap//lib/net/imap/data_encoding.rb#134 - def format_time(time); end - - # :call-seq: decode_date(string) -> Date - # - # Decodes +string+ as an IMAP formatted "date". - # - # 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#135 - def parse_date(string); end - - # :call-seq: decode_datetime(string) -> DateTime - # - # Decodes +string+ as an IMAP4 formatted "date-time". - # - # NOTE: Although double-quotes are not optional in the IMAP grammar, - # Net::IMAP currently parses "date-time" values as "quoted" strings and this - # removes the quotation marks. To be useful for strings which have already - # been parsed as a quoted string, this method makes double-quotes optional. - # - # See STRFTIME. - # - # source://net-imap//lib/net/imap/data_encoding.rb#136 - def parse_datetime(string); end - - # :call-seq: decode_time(string) -> Time - # - # Decodes +string+ as an IMAP4 formatted "date-time". - # - # Same as +decode_datetime+, but returning a Time instead. - # - # source://net-imap//lib/net/imap/data_encoding.rb#137 - def parse_time(string); end - - # source://net-imap//lib/net/imap.rb#3813 + # pkg:gem/net-imap#lib/net/imap.rb:3813 def saslprep(string, **opts); end end end -# Mailbox attribute indicating that this mailbox presents all messages in -# the user's message store. Implementations MAY omit some messages, such as, -# perhaps, those in \Trash and \Junk. When this special use is supported, it -# is almost certain to represent a virtual mailbox -# -# source://net-imap//lib/net/imap/flags.rb#218 -Net::IMAP::ALL = T.let(T.unsafe(nil), Symbol) - -# Mailbox attribute indicating that this mailbox is used to archive -# messages. The meaning of an "archival" mailbox is server dependent; -# typically, it will be used to get messages out of the inbox, or otherwise -# keep them out of the user's way, while still making them accessible -# -# source://net-imap//lib/net/imap/flags.rb#224 -Net::IMAP::ARCHIVE = T.let(T.unsafe(nil), Symbol) - -# >>> -# *NOTE:* AppendUIDData will replace UIDPlusData for +APPENDUID+ in the -# +0.6.0+ release. To use AppendUIDData before +0.6.0+, set -# Config#parser_use_deprecated_uidplus_data to +false+. -# -# AppendUIDData represents the ResponseCode#data that accompanies the -# +APPENDUID+ {response code}[rdoc-ref:ResponseCode]. -# -# A server that supports +UIDPLUS+ (or +IMAP4rev2+) should send -# AppendUIDData inside every TaggedResponse returned by the -# append[rdoc-ref:Net::IMAP#append] command---unless the target mailbox -# reports +UIDNOTSTICKY+. -# -# == Required capability -# Requires either +UIDPLUS+ [RFC4315[https://www.rfc-editor.org/rfc/rfc4315]] -# or +IMAP4rev2+ capability. -# -# source://net-imap//lib/net/imap/uidplus_data.rb#83 -class Net::IMAP::AppendUIDData < ::Net::IMAP::DataLite - # @return [AppendUIDData] a new instance of AppendUIDData - # - # source://net-imap//lib/net/imap/uidplus_data.rb#84 - def initialize(uidvalidity:, assigned_uids:); end - - # Returns the number of messages that have been appended. - # - # source://net-imap//lib/net/imap/uidplus_data.rb#106 - def size; end -end - -# source://net-imap//lib/net/imap/command_data.rb#138 -class Net::IMAP::Atom < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#139 - def send_data(imap, tag); end -end - -# Backward compatible delegators from Net::IMAP to Net::IMAP::SASL. -# -# source://net-imap//lib/net/imap/authenticators.rb#4 -module Net::IMAP::Authenticators - # Deprecated. Use Net::IMAP::SASL.add_authenticator instead. - # - # source://net-imap//lib/net/imap/authenticators.rb#7 - def add_authenticator(*_arg0, **_arg1, &_arg2); end - - # Deprecated. Use Net::IMAP::SASL.authenticator instead. - # - # source://net-imap//lib/net/imap/authenticators.rb#18 - def authenticator(*_arg0, **_arg1, &_arg2); end -end - -# Net::IMAP::BodyStructure is included by all of the structs that can be -# returned from a "BODYSTRUCTURE" or "BODY" -# FetchData#attr value. Although these classes don't share a base class, -# this module can be used to pattern match all of them. -# -# See {[IMAP4rev1] §7.4.2}[https://www.rfc-editor.org/rfc/rfc3501#section-7.4.2] -# and {[IMAP4rev2] §7.5.2}[https://www.rfc-editor.org/rfc/rfc9051#section-7.5.2-4.9] -# for full description of all +BODYSTRUCTURE+ fields, and also -# Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs. -# -# == Classes that include BodyStructure -# BodyTypeBasic:: Represents any message parts that are not handled by -# BodyTypeText, BodyTypeMessage, or BodyTypeMultipart. -# BodyTypeText:: Used by text/* parts. Contains all of the -# BodyTypeBasic fields. -# BodyTypeMessage:: Used by message/rfc822 and -# message/global parts. Contains all of the -# BodyTypeBasic fields. Other message/* types -# should use BodyTypeBasic. -# BodyTypeMultipart:: for multipart/* parts -# -# source://net-imap//lib/net/imap/response_data.rb#787 -module Net::IMAP::BodyStructure; end - -# Net::IMAP::BodyTypeBasic represents basic body structures of messages and -# message parts, unless they have a Content-Type that is handled by -# BodyTypeText, BodyTypeMessage, or BodyTypeMultipart. -# -# See {[IMAP4rev1] §7.4.2}[https://www.rfc-editor.org/rfc/rfc3501#section-7.4.2] -# and {[IMAP4rev2] §7.5.2}[https://www.rfc-editor.org/rfc/rfc9051#section-7.5.2-4.9] -# for full description of all +BODYSTRUCTURE+ fields, and also -# Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs. -# -# source://net-imap//lib/net/imap/response_data.rb#804 -class Net::IMAP::BodyTypeBasic < ::Struct - include ::Net::IMAP::BodyStructure - - # :call-seq: media_subtype -> subtype - # - # >>> - # [Obsolete] - # Use +subtype+ instead. Calling this will generate a warning message - # to +stderr+, then return the value of +subtype+. - # -- - # TODO: why not just keep this as an alias? Would "media_subtype" be used - # for something else? - # ++ - # - # source://net-imap//lib/net/imap/response_data.rb#915 - def media_subtype; end - - # :call-seq: multipart? -> false - # - # BodyTypeBasic is not used for multipart MIME parts. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_data.rb#901 - def multipart?; end -end - -# Net::IMAP::BodyTypeMessage represents the body structures of messages and -# message parts, when Content-Type is message/rfc822 or -# message/global. -# -# BodyTypeMessage contains all of the fields of BodyTypeBasic. See -# BodyTypeBasic for documentation of the following fields: -# * {media_type}[rdoc-ref:BodyTypeBasic#media_type] -# * subtype[rdoc-ref:BodyTypeBasic#subtype] -# * param[rdoc-ref:BodyTypeBasic#param] -# * {content_id}[rdoc-ref:BodyTypeBasic#content_id] -# * description[rdoc-ref:BodyTypeBasic#description] -# * encoding[rdoc-ref:BodyTypeBasic#encoding] -# * size[rdoc-ref:BodyTypeBasic#size] -# -# source://net-imap//lib/net/imap/response_data.rb#987 -class Net::IMAP::BodyTypeMessage < ::Struct - include ::Net::IMAP::BodyStructure - - # Obsolete: use +subtype+ instead. Calling this will - # generate a warning message to +stderr+, then return - # the value of +subtype+. - # - # source://net-imap//lib/net/imap/response_data.rb#1013 - def media_subtype; end - - # :call-seq: multipart? -> false - # - # BodyTypeMessage is not used for multipart MIME parts. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_data.rb#1006 - def multipart?; end -end - -# Net::IMAP::BodyTypeMultipart represents body structures of messages and -# message parts, when Content-Type is multipart/*. -# -# source://net-imap//lib/net/imap/response_data.rb#1025 -class Net::IMAP::BodyTypeMultipart < ::Struct - include ::Net::IMAP::BodyStructure - - # Obsolete: use +subtype+ instead. Calling this will - # generate a warning message to +stderr+, then return - # the value of +subtype+. - # - # source://net-imap//lib/net/imap/response_data.rb#1089 - def media_subtype; end - - # :call-seq: multipart? -> true - # - # BodyTypeMultipart is used for multipart MIME parts. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_data.rb#1081 - def multipart?; end -end - -# Net::IMAP::BodyTypeText represents the body structures of messages and -# message parts, when Content-Type is text/*. -# -# BodyTypeText contains all of the fields of BodyTypeBasic. See -# BodyTypeBasic for documentation of the following: -# * {media_type}[rdoc-ref:BodyTypeBasic#media_type] -# * subtype[rdoc-ref:BodyTypeBasic#subtype] -# * param[rdoc-ref:BodyTypeBasic#param] -# * {content_id}[rdoc-ref:BodyTypeBasic#content_id] -# * description[rdoc-ref:BodyTypeBasic#description] -# * encoding[rdoc-ref:BodyTypeBasic#encoding] -# * size[rdoc-ref:BodyTypeBasic#size] -# -# source://net-imap//lib/net/imap/response_data.rb#941 -class Net::IMAP::BodyTypeText < ::Struct - include ::Net::IMAP::BodyStructure - - # Obsolete: use +subtype+ instead. Calling this will - # generate a warning message to +stderr+, then return - # the value of +subtype+. - # - # source://net-imap//lib/net/imap/response_data.rb#961 - def media_subtype; end - - # :call-seq: multipart? -> false - # - # BodyTypeText is not used for multipart MIME parts. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_data.rb#954 - def multipart?; end -end - -# source://net-imap//lib/net/imap/command_data.rb#255 -class Net::IMAP::ClientID < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#257 - def send_data(imap, tag); end - - # source://net-imap//lib/net/imap/command_data.rb#261 - def validate; end - - private - - # source://net-imap//lib/net/imap/command_data.rb#277 - def format_internal(client_id); end - - # source://net-imap//lib/net/imap/command_data.rb#267 - def validate_internal(client_id); end -end - -class Net::IMAP::CommandData < ::Net::IMAP::DataLite - # source://net-imap//lib/net/imap/command_data.rb#123 - def data; end - - # source://net-imap//lib/net/imap/command_data.rb#124 - def send_data(imap, tag); end - - # source://net-imap//lib/net/imap/command_data.rb#128 - def validate; end - - class << self - # source://net-imap//lib/net/imap/command_data.rb#123 - def [](*_arg0); end - - # source://net-imap//lib/net/imap/command_data.rb#123 - def inspect; end - - # source://net-imap//lib/net/imap/command_data.rb#123 - def members; end - - # source://net-imap//lib/net/imap/command_data.rb#123 - def new(*_arg0); end - end -end - # Net::IMAP::Config (available since +v0.4.13+) stores # configuration options for Net::IMAP clients. The global configuration can # be seen at either Net::IMAP.config or Net::IMAP::Config.global, and the @@ -908,7 +488,7 @@ end # # *NOTE:* Updates to config objects are not synchronized for thread-safety. # -# source://net-imap//lib/net/imap/config/attr_accessors.rb#7 +# pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:7 class Net::IMAP::Config include ::Net::IMAP::Config::AttrAccessors include ::Net::IMAP::Config::AttrInheritance @@ -917,78 +497,6 @@ class Net::IMAP::Config extend ::Net::IMAP::Config::AttrInheritance::Macros extend ::Net::IMAP::Config::AttrTypeCoercion::Macros - # Creates a new config object and initialize its attribute with +attrs+. - # - # If +parent+ is not given, the global config is used by default. - # - # If a block is given, the new config object is yielded to it. - # - # @return [Config] a new instance of Config - # @yield [_self] - # @yieldparam _self [Net::IMAP::Config] the object that the method was called on - # - # source://net-imap//lib/net/imap/config.rb#409 - def initialize(parent = T.unsafe(nil), **attrs); end - - # :call-seq: load_defaults(version) -> self - # - # Resets the current config to behave like the versioned default - # configuration for +version+. #parent will not be changed. - # - # Some config attributes default to inheriting from their #parent (which - # is usually Config.global) and are left unchanged, for example: #debug. - # - # See Config@Versioned+defaults and Config@Named+defaults. - # - # source://net-imap//lib/net/imap/config.rb#460 - def load_defaults(version); end - - # source://net-imap//lib/net/imap/config.rb#335 - def responses_without_args; end - - # source://net-imap//lib/net/imap/config.rb#336 - def responses_without_args=(val); end - - # :call-seq: to_h -> hash - # - # Returns all config attributes in a hash. - # - # source://net-imap//lib/net/imap/config.rb#469 - def to_h; end - - # :call-seq: update(**attrs) -> self - # - # Assigns all of the provided +attrs+ to this config, and returns +self+. - # - # An ArgumentError is raised unless every key in +attrs+ matches an - # assignment method on Config. - # - # >>> - # *NOTE:* #update is not atomic. If an exception is raised due to an - # invalid attribute value, +attrs+ may be partially applied. - # - # source://net-imap//lib/net/imap/config.rb#425 - def update(**attrs); end - - # :call-seq: - # with(**attrs) -> config - # with(**attrs) {|config| } -> result - # - # Without a block, returns a new config which inherits from self. With a - # block, yields the new config and returns the block's result. - # - # If no keyword arguments are given, an ArgumentError will be raised. - # - # If +self+ is frozen, the copy will also be frozen. - # - # source://net-imap//lib/net/imap/config.rb#443 - def with(**attrs); end - - protected - - # source://net-imap//lib/net/imap/config.rb#473 - def defaults_hash; end - class << self # :call-seq: # Net::IMAP::Config[number] -> versioned config @@ -1007,17 +515,17 @@ class Net::IMAP::Config # # Given a config, returns that same config. # - # source://net-imap//lib/net/imap/config.rb#170 + # pkg:gem/net-imap#lib/net/imap/config.rb:170 def [](config); end # The default config, which is hardcoded and frozen. # - # source://net-imap//lib/net/imap/config.rb#128 + # pkg:gem/net-imap#lib/net/imap/config.rb:128 def default; end # The global config object. Also available from Net::IMAP.config. # - # source://net-imap//lib/net/imap/config.rb#131 + # pkg:gem/net-imap#lib/net/imap/config.rb:131 def global; end # A hash of hard-coded configurations, indexed by version number or name. @@ -1032,7 +540,7 @@ class Net::IMAP::Config # Net::IMAP::Config["current"] == Net::IMAP::Config[:current] # => true # Net::IMAP::Config["0.5.6"] == Net::IMAP::Config[0.5r] # => true # - # source://net-imap//lib/net/imap/config.rb#144 + # pkg:gem/net-imap#lib/net/imap/config.rb:144 def version_defaults; end end end @@ -1045,7 +553,7 @@ end # it simpler to ensure that all config objects share a single object # shape. This also simplifies iteration over all defined attributes. # -# source://net-imap//lib/net/imap/config/attr_accessors.rb#15 +# pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:15 module Net::IMAP::Config::AttrAccessors extend ::Forwardable @@ -1053,180 +561,76 @@ module Net::IMAP::Config::AttrAccessors # :notnew: # - # source://net-imap//lib/net/imap/config/attr_accessors.rb#45 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:45 def initialize; end - # source://net-imap//lib/net/imap/config.rb#203 - def debug(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#203 - def debug=(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#267 - def enforce_logindisabled(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:203 + def debug(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap/config.rb#267 - def enforce_logindisabled=(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:203 + def debug=(*_arg0, **_arg1, &_arg2); end # Freezes the internal attributes struct, in addition to +self+. # - # source://net-imap//lib/net/imap/config/attr_accessors.rb#51 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:51 def freeze; end - # source://net-imap//lib/net/imap/config.rb#229 - def idle_response_timeout(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#229 - def idle_response_timeout=(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#303 - def max_response_size(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#303 - def max_response_size=(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#221 - def open_timeout(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:229 + def idle_response_timeout(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap/config.rb#221 - def open_timeout=(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:229 + def idle_response_timeout=(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap/config.rb#402 - def parser_max_deprecated_uidplus_data_size(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:221 + def open_timeout(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap/config.rb#402 - def parser_max_deprecated_uidplus_data_size=(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:221 + def open_timeout=(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap/config.rb#376 - def parser_use_deprecated_uidplus_data(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:245 + def sasl_ir(*_arg0, **_arg1, &_arg2); end - # source://net-imap//lib/net/imap/config.rb#376 - def parser_use_deprecated_uidplus_data=(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#331 - def responses_without_block(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#331 - def responses_without_block=(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#245 - def sasl_ir(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/config.rb#245 - def sasl_ir=(*args, **_arg1, &block); end + # pkg:gem/net-imap#lib/net/imap/config.rb:245 + def sasl_ir=(*_arg0, **_arg1, &_arg2); end protected - # source://net-imap//lib/net/imap/config/attr_accessors.rb#58 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:58 def data; end private - # source://net-imap//lib/net/imap/config/attr_accessors.rb#62 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:62 def initialize_clone(other); end - # source://net-imap//lib/net/imap/config/attr_accessors.rb#67 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:67 def initialize_dup(other); end class << self - # source://net-imap//lib/net/imap/config/attr_accessors.rb#28 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:28 def attr_accessor(name); end - # source://net-imap//lib/net/imap/config/attr_accessors.rb#38 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:38 def struct; end private - # source://net-imap//lib/net/imap/config/attr_accessors.rb#33 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:33 def attributes; end # @private # - # source://net-imap//lib/net/imap/config/attr_accessors.rb#21 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:21 def included(mod); end end end -# source://net-imap//lib/net/imap/config/attr_accessors.rb#16 +# pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:16 module Net::IMAP::Config::AttrAccessors::Macros - # source://net-imap//lib/net/imap/config/attr_accessors.rb#17 + # pkg:gem/net-imap#lib/net/imap/config/attr_accessors.rb:17 def attr_accessor(name); end end -# source://net-imap//lib/net/imap/config.rb#410 -class Net::IMAP::Config::AttrAccessors::Struct < ::Struct - # source://net-imap//lib/net/imap/config.rb#410 - def debug; end - - # source://net-imap//lib/net/imap/config.rb#410 - def debug=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def enforce_logindisabled; end - - # source://net-imap//lib/net/imap/config.rb#410 - def enforce_logindisabled=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def idle_response_timeout; end - - # source://net-imap//lib/net/imap/config.rb#410 - def idle_response_timeout=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def max_response_size; end - - # source://net-imap//lib/net/imap/config.rb#410 - def max_response_size=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def open_timeout; end - - # source://net-imap//lib/net/imap/config.rb#410 - def open_timeout=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def parser_max_deprecated_uidplus_data_size; end - - # source://net-imap//lib/net/imap/config.rb#410 - def parser_max_deprecated_uidplus_data_size=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def parser_use_deprecated_uidplus_data; end - - # source://net-imap//lib/net/imap/config.rb#410 - def parser_use_deprecated_uidplus_data=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def responses_without_block; end - - # source://net-imap//lib/net/imap/config.rb#410 - def responses_without_block=(_); end - - # source://net-imap//lib/net/imap/config.rb#410 - def sasl_ir; end - - # source://net-imap//lib/net/imap/config.rb#410 - def sasl_ir=(_); end - - class << self - # source://net-imap//lib/net/imap/config.rb#410 - def [](*_arg0); end - - # source://net-imap//lib/net/imap/config.rb#410 - def inspect; end - - # source://net-imap//lib/net/imap/config.rb#410 - def keyword_init?; end - - # source://net-imap//lib/net/imap/config.rb#410 - def members; end - - # source://net-imap//lib/net/imap/config.rb#410 - def new(*_arg0); end - end -end - # >>> # *NOTE:* The public methods on this module are part of the stable # public API of Net::IMAP::Config. But the module itself is an internal @@ -1247,22 +651,19 @@ end # >>> # IMAP#config → alternate defaults → Config.global → Config.default # -# source://net-imap//lib/net/imap/config/attr_inheritance.rb#25 +# pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:25 module Net::IMAP::Config::AttrInheritance mixes_in_class_methods ::Net::IMAP::Config::AttrInheritance::Macros # :notnew: # - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#48 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:48 def initialize(parent = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/config.rb#203 + # pkg:gem/net-imap#lib/net/imap/config.rb:203 def debug; end - # source://net-imap//lib/net/imap/config.rb#267 - def enforce_logindisabled; end - - # source://net-imap//lib/net/imap/config.rb#229 + # pkg:gem/net-imap#lib/net/imap/config.rb:229 def idle_response_timeout; end # Returns +true+ if +attr+ is inherited from #parent and not overridden @@ -1270,31 +671,22 @@ module Net::IMAP::Config::AttrInheritance # # @return [Boolean] # - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#59 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:59 def inherited?(attr); end - # source://net-imap//lib/net/imap/config.rb#303 - def max_response_size; end - # Creates a new config, which inherits from +self+. # - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#55 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:55 def new(**attrs); end - # source://net-imap//lib/net/imap/config.rb#221 + # pkg:gem/net-imap#lib/net/imap/config.rb:221 def open_timeout; end # The parent Config object # - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#46 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:46 def parent; end - # source://net-imap//lib/net/imap/config.rb#402 - def parser_max_deprecated_uidplus_data_size; end - - # source://net-imap//lib/net/imap/config.rb#376 - def parser_use_deprecated_uidplus_data; end - # :call-seq: # reset -> self # reset(attr) -> attribute value @@ -1303,39 +695,36 @@ module Net::IMAP::Config::AttrInheritance # # When +attr+ is nil or not given, all attributes are reset. # - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#68 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:68 def reset(attr = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/config.rb#331 - def responses_without_block; end - - # source://net-imap//lib/net/imap/config.rb#245 + # pkg:gem/net-imap#lib/net/imap/config.rb:245 def sasl_ir; end private - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#82 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:82 def initialize_copy(other); end class << self - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#39 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:39 def attr_accessor(name); end private # @private # - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#34 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:34 def included(mod); end end end -# source://net-imap//lib/net/imap/config/attr_inheritance.rb#26 +# pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:26 module Net::IMAP::Config::AttrInheritance::INHERITED; end -# source://net-imap//lib/net/imap/config/attr_inheritance.rb#29 +# pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:29 module Net::IMAP::Config::AttrInheritance::Macros - # source://net-imap//lib/net/imap/config/attr_inheritance.rb#30 + # pkg:gem/net-imap#lib/net/imap/config/attr_inheritance.rb:30 def attr_accessor(name); end end @@ -1347,7828 +736,2317 @@ end # config attributes have valid types, for example: boolean, numeric, # enumeration, non-nullable, etc. # -# source://net-imap//lib/net/imap/config/attr_type_coercion.rb#13 +# pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:13 module Net::IMAP::Config::AttrTypeCoercion mixes_in_class_methods ::Net::IMAP::Config::AttrTypeCoercion::Macros - # source://net-imap//lib/net/imap/config.rb#203 + # pkg:gem/net-imap#lib/net/imap/config.rb:203 def debug=(val); end - # source://net-imap//lib/net/imap/config.rb#203 + # pkg:gem/net-imap#lib/net/imap/config.rb:203 def debug?; end - # source://net-imap//lib/net/imap/config.rb#267 - def enforce_logindisabled=(val); end - - # source://net-imap//lib/net/imap/config.rb#229 + # pkg:gem/net-imap#lib/net/imap/config.rb:229 def idle_response_timeout=(val); end - # source://net-imap//lib/net/imap/config.rb#303 - def max_response_size=(val); end - - # source://net-imap//lib/net/imap/config.rb#221 + # pkg:gem/net-imap#lib/net/imap/config.rb:221 def open_timeout=(val); end - # source://net-imap//lib/net/imap/config.rb#402 - def parser_max_deprecated_uidplus_data_size=(val); end - - # source://net-imap//lib/net/imap/config.rb#376 - def parser_use_deprecated_uidplus_data=(val); end - - # source://net-imap//lib/net/imap/config.rb#331 - def responses_without_block=(val); end - - # source://net-imap//lib/net/imap/config.rb#245 + # pkg:gem/net-imap#lib/net/imap/config.rb:245 def sasl_ir=(val); end - # source://net-imap//lib/net/imap/config.rb#245 + # pkg:gem/net-imap#lib/net/imap/config.rb:245 def sasl_ir?; end class << self - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#38 + # pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:38 def attr_accessor(attr, type: T.unsafe(nil)); end private # @private # - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#26 + # pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:26 def included(mod); end - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#31 + # pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:31 def safe(*_arg0, **_arg1, &_arg2); end end end -# source://net-imap//lib/net/imap/config/attr_type_coercion.rb#35 +# pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:35 Net::IMAP::Config::AttrTypeCoercion::Boolean = T.let(T.unsafe(nil), Proc) -# source://net-imap//lib/net/imap/config/attr_type_coercion.rb#46 +# pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:46 Net::IMAP::Config::AttrTypeCoercion::Enum = T.let(T.unsafe(nil), Proc) # :stopdoc: internal APIs only # -# source://net-imap//lib/net/imap/config/attr_type_coercion.rb#16 +# pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:16 module Net::IMAP::Config::AttrTypeCoercion::Macros - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#17 + # pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:17 def attr_accessor(attr, type: T.unsafe(nil)); end private # @return [Boolean] # - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#22 + # pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:22 def Integer?; end class << self # @return [Boolean] # - # source://net-imap//lib/net/imap/config/attr_type_coercion.rb#22 + # pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:22 def Integer?; end end end -# source://net-imap//lib/net/imap/config/attr_type_coercion.rb#44 +# pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:44 Net::IMAP::Config::AttrTypeCoercion::NilOrInteger = T.let(T.unsafe(nil), Proc) -# source://net-imap//lib/net/imap/config/attr_type_coercion.rb#34 +# pkg:gem/net-imap#lib/net/imap/config/attr_type_coercion.rb:34 Net::IMAP::Config::AttrTypeCoercion::Types = T.let(T.unsafe(nil), Hash) # Array of attribute names that are _not_ loaded by #load_defaults. # -# source://net-imap//lib/net/imap/config.rb#124 +# pkg:gem/net-imap#lib/net/imap/config.rb:124 Net::IMAP::Config::DEFAULT_TO_INHERIT = T.let(T.unsafe(nil), Array) -# source://net-imap//lib/net/imap/connection_state.rb#5 -class Net::IMAP::ConnectionState < ::Net::IMAP::DataLite - # @return [Boolean] - # - # source://net-imap//lib/net/imap/connection_state.rb#32 - def authenticated?; end - - # source://net-imap//lib/net/imap/connection_state.rb#17 - def deconstruct; end - - # source://net-imap//lib/net/imap/connection_state.rb#19 - def deconstruct_keys(names); end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/connection_state.rb#34 - def logout?; end +# pkg:gem/net-imap#lib/net/imap.rb:794 +Net::IMAP::ENABLE_ALIASES = T.let(T.unsafe(nil), Hash) - # source://net-imap//lib/net/imap/connection_state.rb#14 - def name; end +# Error raised when the server sends an invalid response. +# +# This is different from UnknownResponseError: the response has been +# rejected. Although it may be parsable, the server is forbidden from +# sending it in the current context. The client should automatically +# disconnect, abruptly (without logout). +# +# Note that InvalidResponseError does not inherit from ResponseError: it +# can be raised before the response is fully parsed. A related +# ResponseParseError or ResponseError may be the #cause. +# +# pkg:gem/net-imap#lib/net/imap/errors.rb:99 +class Net::IMAP::InvalidResponseError < ::Net::IMAP::Error; end - # @return [Boolean] +# pkg:gem/net-imap#lib/net/imap/errors.rb:10 +class Net::IMAP::LoginDisabledError < ::Net::IMAP::Error + # @return [LoginDisabledError] a new instance of LoginDisabledError # - # source://net-imap//lib/net/imap/connection_state.rb#31 - def not_authenticated?; end + # pkg:gem/net-imap#lib/net/imap/errors.rb:11 + def initialize(msg = T.unsafe(nil), *_arg1, **_arg2, &_arg3); end +end - # @return [Boolean] - # - # source://net-imap//lib/net/imap/connection_state.rb#33 - def selected?; end +# pkg:gem/net-imap#lib/net/imap.rb:3092 +Net::IMAP::RESPONSES_DEPRECATION_MSG = T.let(T.unsafe(nil), String) - # source://net-imap//lib/net/imap/connection_state.rb#13 - def symbol; end +# pkg:gem/net-imap#lib/net/imap/errors.rb:113 +Net::IMAP::RESPONSE_ERRORS = T.let(T.unsafe(nil), Hash) - # source://net-imap//lib/net/imap/connection_state.rb#26 - def to_h(&block); end +# pkg:gem/net-imap#lib/net/imap.rb:3580 +Net::IMAP::RETURN_START = T.let(T.unsafe(nil), Regexp) - # source://net-imap//lib/net/imap/connection_state.rb#15 - def to_sym; end -end +# pkg:gem/net-imap#lib/net/imap.rb:3579 +Net::IMAP::RETURN_WHOLE = T.let(T.unsafe(nil), Regexp) -class Net::IMAP::ConnectionState::Authenticated < ::Net::IMAP::ConnectionState - class << self - # source://net-imap//lib/net/imap/connection_state.rb#8 - def [](*_arg0); end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def inspect; end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def members; end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def new(*_arg0); end - end -end - -# source://net-imap//lib/net/imap/connection_state.rb#9 -Net::IMAP::ConnectionState::Authenticated::NAME = T.let(T.unsafe(nil), Symbol) - -class Net::IMAP::ConnectionState::Logout < ::Net::IMAP::ConnectionState - class << self - # source://net-imap//lib/net/imap/connection_state.rb#8 - def [](*_arg0); end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def inspect; end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def members; end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def new(*_arg0); end - end -end - -# source://net-imap//lib/net/imap/connection_state.rb#9 -Net::IMAP::ConnectionState::Logout::NAME = T.let(T.unsafe(nil), Symbol) - -class Net::IMAP::ConnectionState::NotAuthenticated < ::Net::IMAP::ConnectionState - class << self - # source://net-imap//lib/net/imap/connection_state.rb#8 - def [](*_arg0); end - - # source://net-imap//lib/net/imap/connection_state.rb#8 - def inspect; end +# Superclass of all errors used to encapsulate "fail" responses +# from the server. +# +# pkg:gem/net-imap#lib/net/imap/errors.rb:59 +class Net::IMAP::ResponseError < ::Net::IMAP::Error + # @return [ResponseError] a new instance of ResponseError + # + # pkg:gem/net-imap#lib/net/imap/errors.rb:64 + def initialize(response); end - # source://net-imap//lib/net/imap/connection_state.rb#8 - def members; end + # The response that caused this error + # + # pkg:gem/net-imap#lib/net/imap/errors.rb:62 + def response; end - # source://net-imap//lib/net/imap/connection_state.rb#8 - def new(*_arg0); end - end + # The response that caused this error + # + # pkg:gem/net-imap#lib/net/imap/errors.rb:62 + def response=(_arg0); end end -# source://net-imap//lib/net/imap/connection_state.rb#9 -Net::IMAP::ConnectionState::NotAuthenticated::NAME = T.let(T.unsafe(nil), Symbol) +# Error raised when the socket cannot be read, due to a Config limit. +# +# pkg:gem/net-imap#lib/net/imap/errors.rb:21 +class Net::IMAP::ResponseReadError < ::Net::IMAP::Error; end -class Net::IMAP::ConnectionState::Selected < ::Net::IMAP::ConnectionState - class << self - # source://net-imap//lib/net/imap/connection_state.rb#8 - def [](*_arg0); end +# See https://www.rfc-editor.org/rfc/rfc9051#section-2.2.2 +# +# pkg:gem/net-imap#lib/net/imap/response_reader.rb:6 +class Net::IMAP::ResponseReader + # @return [ResponseReader] a new instance of ResponseReader + # + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:9 + def initialize(client, sock); end - # source://net-imap//lib/net/imap/connection_state.rb#8 - def inspect; end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:7 + def client; end - # source://net-imap//lib/net/imap/connection_state.rb#8 - def members; end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:13 + def read_response_buffer; end - # source://net-imap//lib/net/imap/connection_state.rb#8 - def new(*_arg0); end - end -end + private -# source://net-imap//lib/net/imap/connection_state.rb#9 -Net::IMAP::ConnectionState::Selected::NAME = T.let(T.unsafe(nil), Symbol) + # Returns the value of attribute buff. + # + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:29 + def buff; end -# >>> -# *NOTE:* CopyUIDData will replace UIDPlusData for +COPYUID+ in the -# +0.6.0+ release. To use CopyUIDData before +0.6.0+, set -# Config#parser_use_deprecated_uidplus_data to +false+. -# -# CopyUIDData represents the ResponseCode#data that accompanies the -# +COPYUID+ {response code}[rdoc-ref:ResponseCode]. -# -# A server that supports +UIDPLUS+ (or +IMAP4rev2+) should send CopyUIDData -# in response to -# copy[rdoc-ref:Net::IMAP#copy], {uid_copy}[rdoc-ref:Net::IMAP#uid_copy], -# move[rdoc-ref:Net::IMAP#copy], and {uid_move}[rdoc-ref:Net::IMAP#uid_move] -# commands---unless the destination mailbox reports +UIDNOTSTICKY+. -# -# Note that copy[rdoc-ref:Net::IMAP#copy] and -# {uid_copy}[rdoc-ref:Net::IMAP#uid_copy] return CopyUIDData in their -# TaggedResponse. But move[rdoc-ref:Net::IMAP#copy] and -# {uid_move}[rdoc-ref:Net::IMAP#uid_move] _should_ send CopyUIDData in an -# UntaggedResponse response before sending their TaggedResponse. However -# some servers do send CopyUIDData in the TaggedResponse for +MOVE+ -# commands---this complies with the older +UIDPLUS+ specification but is -# discouraged by the +MOVE+ extension and disallowed by +IMAP4rev2+. -# -# == Required capability -# Requires either +UIDPLUS+ [RFC4315[https://www.rfc-editor.org/rfc/rfc4315]] -# or +IMAP4rev2+ capability. -# -# source://net-imap//lib/net/imap/uidplus_data.rb#137 -class Net::IMAP::CopyUIDData < ::Net::IMAP::DataLite - # @return [CopyUIDData] a new instance of CopyUIDData - # - # source://net-imap//lib/net/imap/uidplus_data.rb#138 - def initialize(uidvalidity:, source_uids:, assigned_uids:); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:31 + def bytes_read; end - # :call-seq: - # assigned_uid_for(source_uid) -> uid - # self[source_uid] -> uid - # - # Returns the UID in the destination mailbox for the message that was - # copied from +source_uid+ in the source mailbox. - # - # This is the reverse of #source_uid_for. - # - # Related: source_uid_for, each_uid_pair, uid_mapping + # @return [Boolean] # - # source://net-imap//lib/net/imap/uidplus_data.rb#190 - def [](source_uid); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:33 + def done?; end - # :call-seq: - # assigned_uid_for(source_uid) -> uid - # self[source_uid] -> uid - # - # Returns the UID in the destination mailbox for the message that was - # copied from +source_uid+ in the source mailbox. - # - # This is the reverse of #source_uid_for. - # - # Related: source_uid_for, each_uid_pair, uid_mapping + # @return [Boolean] # - # source://net-imap//lib/net/imap/uidplus_data.rb#186 - def assigned_uid_for(source_uid); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:32 + def empty?; end - # Yields a pair of UIDs for each copied message. The first is the - # message's UID in the source mailbox and the second is the UID in the - # destination mailbox. - # - # Returns an enumerator when no block is given. - # - # Please note the warning on uid_mapping before calling methods like - # +to_h+ or +to_a+ on the returned enumerator. - # - # Related: uid_mapping, assigned_uid_for, source_uid_for - # - # source://net-imap//lib/net/imap/uidplus_data.rb#225 - def each; end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:35 + def get_literal_size; end - # Yields a pair of UIDs for each copied message. The first is the - # message's UID in the source mailbox and the second is the UID in the - # destination mailbox. - # - # Returns an enumerator when no block is given. - # - # Please note the warning on uid_mapping before calling methods like - # +to_h+ or +to_a+ on the returned enumerator. - # - # Related: uid_mapping, assigned_uid_for, source_uid_for + # @return [Boolean] # - # source://net-imap//lib/net/imap/uidplus_data.rb#224 - def each_pair; end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:34 + def line_done?; end - # Yields a pair of UIDs for each copied message. The first is the - # message's UID in the source mailbox and the second is the UID in the - # destination mailbox. - # - # Returns an enumerator when no block is given. - # - # Please note the warning on uid_mapping before calling methods like - # +to_h+ or +to_a+ on the returned enumerator. - # - # Related: uid_mapping, assigned_uid_for, source_uid_for + # Returns the value of attribute literal_size. # - # source://net-imap//lib/net/imap/uidplus_data.rb#216 - def each_uid_pair; end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:29 + def literal_size; end - # Returns the number of messages that have been copied or moved. - # source_uids and the assigned_uids will both the same number of UIDs. - # - # source://net-imap//lib/net/imap/uidplus_data.rb#172 - def size; end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:56 + def max_response_remaining; end - # :call-seq: - # source_uid_for(assigned_uid) -> uid - # - # Returns the UID in the source mailbox for the message that was copied to - # +assigned_uid+ in the source mailbox. - # - # This is the reverse of #assigned_uid_for. - # - # Related: assigned_uid_for, each_uid_pair, uid_mapping + # @raise [ResponseTooLargeError] # - # source://net-imap//lib/net/imap/uidplus_data.rb#201 - def source_uid_for(assigned_uid); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:64 + def max_response_remaining!; end - # :call-seq: uid_mapping -> hash - # - # Returns a hash mapping each source UID to the newly assigned destination - # UID. - # - # *Warning:* The hash that is created may consume _much_ more - # memory than the data used to create it. When handling responses from an - # untrusted server, check #size before calling this method. - # - # Related: each_uid_pair, assigned_uid_for, source_uid_for - # - # source://net-imap//lib/net/imap/uidplus_data.rb#237 - def uid_mapping; end -end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:55 + def max_response_size; end -# Mailbox attribute indicating that this mailbox is used to hold draft -# messages -- typically, messages that are being composed but have not yet -# been sent. In some server implementations, this might be a virtual -# mailbox, containing messages from other mailboxes that are marked with the -# "\Draft" message flag. Alternatively, this might just be advice that a -# client put drafts here -# -# source://net-imap//lib/net/imap/flags.rb#232 -Net::IMAP::DRAFTS = T.let(T.unsafe(nil), Symbol) + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:60 + def min_response_remaining; end -# source://net-imap//lib/net/imap/data_lite.rb#36 -Net::IMAP::Data = Net::IMAP::DataLite + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:58 + def min_response_size; end -# source://net-imap//lib/net/imap/data_lite.rb#31 -class Net::IMAP::DataLite < ::Data - # source://net-imap//lib/net/imap/data_lite.rb#32 - def encode_with(coder); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:51 + def read_limit(limit = T.unsafe(nil)); end - # source://net-imap//lib/net/imap/data_lite.rb#33 - def init_with(coder); end -end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:37 + def read_line; end -# This module handles deprecated arguments to various Net::IMAP methods. -# -# source://net-imap//lib/net/imap/deprecated_client_options.rb#7 -module Net::IMAP::DeprecatedClientOptions - # :call-seq: - # Net::IMAP.new(host, **options) # standard keyword options - # Net::IMAP.new(host, options) # obsolete hash options - # Net::IMAP.new(host, port) # obsolete port argument - # Net::IMAP.new(host, port, usessl, certs = nil, verify = true) # deprecated SSL arguments - # - # Translates Net::IMAP.new arguments for backward compatibility. - # - # ==== Obsolete arguments - # - # Use of obsolete arguments does not print a warning. Obsolete arguments - # will be deprecated by a future release. - # - # If a second positional argument is given and it is a hash (or is - # convertible via +#to_hash+), it is converted to keyword arguments. - # - # # Obsolete: - # Net::IMAP.new("imap.example.com", options_hash) - # # Use instead: - # Net::IMAP.new("imap.example.com", **options_hash) - # - # If a second positional argument is given and it is not a hash, it is - # converted to the +port+ keyword argument. - # # Obsolete: - # Net::IMAP.new("imap.example.com", 114433) - # # Use instead: - # Net::IMAP.new("imap.example.com", port: 114433) - # - # ==== Deprecated arguments - # - # Using deprecated arguments prints a warning. Convert to keyword - # arguments to avoid the warning. Deprecated arguments will be removed in - # a future release. - # - # If +usessl+ is false, +certs+, and +verify+ are ignored. When it true, - # all three arguments are converted to the +ssl+ keyword argument. - # Without +certs+ or +verify+, it is converted to ssl: true. - # # DEPRECATED: - # Net::IMAP.new("imap.example.com", nil, true) # => prints a warning - # # Use instead: - # Net::IMAP.new("imap.example.com", ssl: true) - # - # When +certs+ is a path to a directory, it is converted to ca_path: - # certs. - # # DEPRECATED: - # Net::IMAP.new("imap.example.com", nil, true, "/path/to/certs") # => prints a warning - # # Use instead: - # Net::IMAP.new("imap.example.com", ssl: {ca_path: "/path/to/certs"}) - # - # When +certs+ is a path to a file, it is converted to ca_file: - # certs. - # # DEPRECATED: - # Net::IMAP.new("imap.example.com", nil, true, "/path/to/cert.pem") # => prints a warning - # # Use instead: - # Net::IMAP.new("imap.example.com", ssl: {ca_file: "/path/to/cert.pem"}) - # - # When +verify+ is +false+, it is converted to verify_mode: - # OpenSSL::SSL::VERIFY_NONE. - # # DEPRECATED: - # Net::IMAP.new("imap.example.com", nil, true, nil, false) # => prints a warning - # # Use instead: - # Net::IMAP.new("imap.example.com", ssl: {verify_mode: OpenSSL::SSL::VERIFY_NONE}) - # - # source://net-imap//lib/net/imap/deprecated_client_options.rb#72 - def initialize(host, port_or_options = T.unsafe(nil), *deprecated, **options); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:42 + def read_literal; end - # :call-seq: - # starttls(**options) # standard - # starttls(options = {}) # obsolete - # starttls(certs = nil, verify = true) # deprecated - # - # Translates Net::IMAP#starttls arguments for backward compatibility. - # - # Support for +certs+ and +verify+ will be dropped in a future release. - # - # See ::new for interpretation of +certs+ and +verify+. + # @return [Boolean] # - # source://net-imap//lib/net/imap/deprecated_client_options.rb#106 - def starttls(*deprecated, **options); end - - private - - # source://net-imap//lib/net/imap/deprecated_client_options.rb#126 - def create_ssl_params(certs = T.unsafe(nil), verify = T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/response_reader.rb:57 + def response_too_large?; end end -# source://net-imap//lib/net/imap.rb#794 -Net::IMAP::ENABLE_ALIASES = T.let(T.unsafe(nil), Hash) - -# An "extended search" response (+ESEARCH+). ESearchResult should be -# returned (instead of SearchResult) by IMAP#search, IMAP#uid_search, -# IMAP#sort, and IMAP#uid_sort under any of the following conditions: -# -# * Return options were specified for IMAP#search or IMAP#uid_search. -# The server must support a search extension which allows -# RFC4466[https://www.rfc-editor.org/rfc/rfc4466.html] +return+ options, -# such as +ESEARCH+, +PARTIAL+, or +IMAP4rev2+. -# * Return options were specified for IMAP#sort or IMAP#uid_sort. -# The server must support the +ESORT+ extension -# {[RFC5267]}[https://www.rfc-editor.org/rfc/rfc5267.html#section-3]. -# -# *NOTE:* IMAP#search and IMAP#uid_search do not support +ESORT+ yet. -# * The server supports +IMAP4rev2+ but _not_ +IMAP4rev1+, or +IMAP4rev2+ -# has been enabled. +IMAP4rev2+ requires +ESEARCH+ results. -# -# Note that some servers may claim to support a search extension which -# requires an +ESEARCH+ result, such as +PARTIAL+, but still only return a -# +SEARCH+ result when +return+ options are specified. -# -# Some search extensions may result in the server sending ESearchResult -# responses after the initiating command has completed. Use -# IMAP#add_response_handler to handle these responses. +# Error raised when a response is larger than IMAP#max_response_size. # -# source://net-imap//lib/net/imap/esearch_result.rb#28 -class Net::IMAP::ESearchResult < ::Net::IMAP::DataLite - # @return [ESearchResult] a new instance of ESearchResult - # - # source://net-imap//lib/net/imap/esearch_result.rb#29 - def initialize(tag: T.unsafe(nil), uid: T.unsafe(nil), data: T.unsafe(nil)); end - - # :call-seq: all -> sequence set or nil - # - # A SequenceSet containing all message sequence numbers or UIDs that - # satisfy the SEARCH criteria. - # - # Returns +nil+ when the associated search command has no results, or when - # the +ALL+ return option was not specified but other return options were. - # - # Requires +ESEARCH+ {[RFC4731]}[https://www.rfc-editor.org/rfc/rfc4731.html#section-3.1] or - # +IMAP4rev2+ {[RFC9051]}[https://www.rfc-editor.org/rfc/rfc9051.html#section-7.3.4]. - # - # See also: #to_a - # - # source://net-imap//lib/net/imap/esearch_result.rb#110 - def all; end - - # :call-seq: count -> integer or nil - # - # Returns the number of messages that satisfy the SEARCH criteria. - # - # Returns +nil+ when the associated search command has no results, or when - # the +COUNT+ return option wasn't specified. - # - # Requires +ESEARCH+ {[RFC4731]}[https://www.rfc-editor.org/rfc/rfc4731.html#section-3.1] or - # +IMAP4rev2+ {[RFC9051]}[https://www.rfc-editor.org/rfc/rfc9051.html#section-7.3.4]. - # - # source://net-imap//lib/net/imap/esearch_result.rb#121 - def count; end - - # :call-seq: max -> integer or nil - # - # The highest message number/UID that satisfies the SEARCH criteria. - # - # Returns +nil+ when the associated search command has no results, or when - # the +MAX+ return option wasn't specified. - # - # Requires +ESEARCH+ {[RFC4731]}[https://www.rfc-editor.org/rfc/rfc4731.html#section-3.1] or - # +IMAP4rev2+ {[RFC9051]}[https://www.rfc-editor.org/rfc/rfc9051.html#section-7.3.4]. - # - # source://net-imap//lib/net/imap/esearch_result.rb#96 - def max; end - - # :call-seq: min -> integer or nil - # - # The lowest message number/UID that satisfies the SEARCH criteria. - # - # Returns +nil+ when the associated search command has no results, or when - # the +MIN+ return option wasn't specified. - # - # Requires +ESEARCH+ {[RFC4731]}[https://www.rfc-editor.org/rfc/rfc4731.html#section-3.1] or - # +IMAP4rev2+ {[RFC9051]}[https://www.rfc-editor.org/rfc/rfc9051.html#section-7.3.4]. +# pkg:gem/net-imap#lib/net/imap/errors.rb:25 +class Net::IMAP::ResponseTooLargeError < ::Net::IMAP::ResponseReadError + # @return [ResponseTooLargeError] a new instance of ResponseTooLargeError # - # source://net-imap//lib/net/imap/esearch_result.rb#85 - def min; end + # pkg:gem/net-imap#lib/net/imap/errors.rb:29 + def initialize(msg = T.unsafe(nil), *args, bytes_read: T.unsafe(nil), literal_size: T.unsafe(nil), max_response_size: T.unsafe(nil), **kwargs); end - # :call-seq: modseq -> integer or nil - # - # The highest +mod-sequence+ of all messages being returned. - # - # Returns +nil+ when the associated search command has no results, or when - # the +MODSEQ+ search criterion wasn't specified. - # - # Note that there is no search +return+ option for +MODSEQ+. It will be - # returned whenever the +CONDSTORE+ extension has been enabled. Using the - # +MODSEQ+ search criteria will implicitly enable +CONDSTORE+. - # - # Requires +CONDSTORE+ {[RFC7162]}[https://www.rfc-editor.org/rfc/rfc7162.html] - # and +ESEARCH+ {[RFC4731]}[https://www.rfc-editor.org/rfc/rfc4731.html#section-3.2]. + # Returns the value of attribute bytes_read. # - # source://net-imap//lib/net/imap/esearch_result.rb#136 - def modseq; end + # pkg:gem/net-imap#lib/net/imap/errors.rb:26 + def bytes_read; end - # :call-seq: partial -> PartialResult or nil - # - # A PartialResult containing a subset of the message sequence numbers or - # UIDs that satisfy the SEARCH criteria. - # - # Requires +PARTIAL+ {[RFC9394]}[https://www.rfc-editor.org/rfc/rfc9394.html] - # or CONTEXT=SEARCH/CONTEXT=SORT - # {[RFC5267]}[https://www.rfc-editor.org/rfc/rfc5267.html] - # - # See also: #to_a + # Returns the value of attribute literal_size. # - # source://net-imap//lib/net/imap/esearch_result.rb#176 - def partial; end + # pkg:gem/net-imap#lib/net/imap/errors.rb:26 + def literal_size; end - # :call-seq: to_a -> Array of integers - # - # When either #all or #partial contains a SequenceSet of message sequence - # numbers or UIDs, +to_a+ returns that set as an array of integers. - # - # When both #all and #partial are +nil+, either because the server - # returned no results or because +ALL+ and +PARTIAL+ were not included in - # the IMAP#search +RETURN+ options, #to_a returns an empty array. - # - # Note that SearchResult also implements +to_a+, so it can be used without - # checking if the server returned +SEARCH+ or +ESEARCH+ data. + # Returns the value of attribute max_response_size. # - # source://net-imap//lib/net/imap/esearch_result.rb#47 - def to_a; end - - # source://net-imap//lib/net/imap/esearch_result.rb#63 - def uid?; end -end + # pkg:gem/net-imap#lib/net/imap/errors.rb:27 + def max_response_size; end -# Returned by ESearchResult#partial. -# -# Requires +PARTIAL+ {[RFC9394]}[https://www.rfc-editor.org/rfc/rfc9394.html] -# or CONTEXT=SEARCH/CONTEXT=SORT -# {[RFC5267]}[https://www.rfc-editor.org/rfc/rfc5267.html] -# -# See also: #to_a -# -# source://net-imap//lib/net/imap/esearch_result.rb#145 -class Net::IMAP::ESearchResult::PartialResult < ::Net::IMAP::DataLite - # @return [PartialResult] a new instance of PartialResult - # - # source://net-imap//lib/net/imap/esearch_result.rb#146 - def initialize(range:, results:); end + private - # Converts #results to an array of integers. - # - # See also: ESearchResult#to_a. - # - # source://net-imap//lib/net/imap/esearch_result.rb#163 - def to_a; end + # pkg:gem/net-imap#lib/net/imap/errors.rb:46 + def response_size_msg; end end -# **Note:** This represents an intentionally _unstable_ API. Where -# instances of this class are returned, future releases may return a -# different (incompatible) object without deprecation or warning. -# -# Net::IMAP::ExtensionData represents data that is parsable according to the -# forward-compatible extension syntax in RFC3501, RFC4466, or RFC9051, but -# isn't directly known or understood by Net::IMAP yet. -# -# See also: UnparsedData, UnparsedNumericResponseData, IgnoredResponse -# -# source://net-imap//lib/net/imap/response_data.rb#126 -class Net::IMAP::ExtensionData < ::Struct; end - -# Net::IMAP::FetchStruct is the superclass for FetchData and UIDFetchData. -# Net::IMAP#fetch, Net::IMAP#uid_fetch, Net::IMAP#store, and -# Net::IMAP#uid_store all return arrays of FetchStruct objects. +# Pluggable authentication mechanisms for protocols which support SASL +# (Simple Authentication and Security Layer), such as IMAP4, SMTP, LDAP, and +# XMPP. {RFC-4422}[https://www.rfc-editor.org/rfc/rfc4422] specifies the +# common \SASL framework: +# >>> +# SASL is conceptually a framework that provides an abstraction layer +# between protocols and mechanisms as illustrated in the following +# diagram. # -# === Fetch attributes +# SMTP LDAP XMPP Other protocols ... +# \ | | / +# \ | | / +# SASL abstraction layer +# / | | \ +# / | | \ +# EXTERNAL GSSAPI PLAIN Other mechanisms ... # -# See {[IMAP4rev1 §7.4.2]}[https://www.rfc-editor.org/rfc/rfc3501.html#section-7.4.2] -# and {[IMAP4rev2 §7.5.2]}[https://www.rfc-editor.org/rfc/rfc9051.html#section-7.5.2] -# for a full description of the standard fetch response data items, and -# Net::IMAP@Message+envelope+and+body+structure for other relevant RFCs. +# Net::IMAP uses SASL via the Net::IMAP#authenticate method. # -# ==== Static fetch data items +# == Mechanisms # -# Most message attributes are static, and must never change for a given -# (server, account, mailbox, UIDVALIDITY, UID) tuple. +# Each mechanism has different properties and requirements. Please consult +# the documentation for the specific mechanisms you are using: # -# The static fetch data items defined by both -# IMAP4rev1[https://www.rfc-editor.org/rfc/rfc3501.html] and -# IMAP4rev2[https://www.rfc-editor.org/rfc/rfc9051.html] are: +# +ANONYMOUS+:: +# See AnonymousAuthenticator. # -# * "UID" --- See #uid. -# * "BODY" --- See #body. -# * "BODY[#{section_spec}]", -# "BODY[#{section_spec}]<#{offset}>" --- See #message, -# #part, #header, #header_fields, #header_fields_not, #mime, and #text. -# * "BODYSTRUCTURE" --- See #bodystructure. -# * "ENVELOPE" --- See #envelope. -# * "INTERNALDATE" --- See #internaldate. -# * "RFC822.SIZE" --- See #rfc822_size. +# Allows the user to gain access to public services or resources without +# authenticating or disclosing an identity. # -# IMAP4rev2[https://www.rfc-editor.org/rfc/rfc9051.html] adds the -# additional fetch items from the +BINARY+ extension -# {[RFC3516]}[https://www.rfc-editor.org/rfc/rfc3516.html]: +# +EXTERNAL+:: +# See ExternalAuthenticator. # -# * "BINARY[#{part}]", -# "BINARY[#{part}]<#{offset}>" -- See #binary. -# * "BINARY.SIZE[#{part}]" -- See #binary_size. +# Authenticates using already established credentials, such as a TLS +# certificate or IPSec. # -# Several static message attributes in -# IMAP4rev1[https://www.rfc-editor.org/rfc/rfc3501.html] are obsolete and -# been removed from -# IMAP4rev2[https://www.rfc-editor.org/rfc/rfc9051.html]: +# +OAUTHBEARER+:: +# See OAuthBearerAuthenticator. # -# * "RFC822" --- See #rfc822 or replace with -# "BODY[]" and #message. -# * "RFC822.HEADER" --- See #rfc822_header or replace with -# "BODY[HEADER]" and #header. -# * "RFC822.TEXT" --- See #rfc822_text or replace with -# "BODY[TEXT]" and #text. +# Login using an OAuth2 Bearer token. This is the standard mechanism +# for using OAuth2 with \SASL, but it is not yet deployed as widely as +# +XOAUTH2+. # -# Net::IMAP supports static attributes defined by the following extensions: -# * +OBJECTID+ {[RFC8474]}[https://www.rfc-editor.org/rfc/rfc8474.html] -# * "EMAILID" --- See #emailid. -# * "THREADID" --- See #threadid. +# +PLAIN+:: +# See PlainAuthenticator. # -# * +X-GM-EXT-1+ {[non-standard Gmail -# extension]}[https://developers.google.com/gmail/imap/imap-extensions] -# * "X-GM-MSGID" --- unique message ID. Access via #attr. -# * "X-GM-THRID" --- Thread ID. Access via #attr. +# Login using clear-text username and password. # -# [NOTE:] -# Additional static fields are defined in other \IMAP extensions, but -# Net::IMAP can't parse them yet. +# +SCRAM-SHA-1+:: +# +SCRAM-SHA-256+:: +# See ScramAuthenticator. # -# ==== Dynamic message attributes +# Login by username and password. The password is not sent to the +# server but is used in a salted challenge/response exchange. +# +SCRAM-SHA-1+ and +SCRAM-SHA-256+ are directly supported by +# Net::IMAP::SASL. New authenticators can easily be added for any other +# SCRAM-* mechanism if the digest algorithm is supported by +# OpenSSL::Digest. # -# Some message attributes can be dynamically changed, for example using the -# {STORE command}[rdoc-ref:Net::IMAP#store]. +# +XOAUTH2+:: +# See XOAuth2Authenticator. # -# The only dynamic message attribute defined by -# IMAP4rev1[https://www.rfc-editor.org/rfc/rfc3501.html] and -# IMAP4rev2[https://www.rfc-editor.org/rfc/rfc9051.html] is: +# Login using a username and an OAuth2 access token. Non-standard and +# obsoleted by +OAUTHBEARER+, but widely supported. # -# * "FLAGS" --- See #flags. +# See the {SASL mechanism +# registry}[https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml] +# for a list of all SASL mechanisms and their specifications. To register +# new authenticators, see Authenticators. # -# Net::IMAP supports dynamic attributes defined by the following extensions: +# === Deprecated mechanisms # -# * +CONDSTORE+ {[RFC7162]}[https://www.rfc-editor.org/rfc/rfc7162.html]: -# * "MODSEQ" --- See #modseq. -# * +X-GM-EXT-1+ {[non-standard Gmail -# extension]}[https://developers.google.com/gmail/imap/imap-extensions] -# * "X-GM-LABELS" --- Gmail labels. Access via #attr. +# Obsolete mechanisms should be avoided, but are still available for +# backwards compatibility. # -# [NOTE:] -# Additional dynamic fields are defined in other \IMAP extensions, but -# Net::IMAP can't parse them yet. +# >>> +# For +DIGEST-MD5+ see DigestMD5Authenticator. # -# === Implicitly setting \Seen and using +PEEK+ +# For +LOGIN+, see LoginAuthenticator. # -# Unless the mailbox has been opened as read-only, fetching -# BODY[#{section}] or BINARY[#{section}] -# will implicitly set the \Seen flag. To avoid this, fetch using -# BODY.PEEK[#{section}] or BINARY.PEEK[#{section}] -# instead. +# For +CRAM-MD5+, see CramMD5Authenticator. # -# [NOTE:] -# The data will always be _returned_ without the ".PEEK" suffix, -# as BODY[#{specifier}] or BINARY[#{section}]. +# Using a deprecated mechanism will print a warning. # -# source://net-imap//lib/net/imap/fetch_data.rb#105 -class Net::IMAP::FetchStruct < ::Struct - # :call-seq: attr_upcase -> hash - # - # A transformation of #attr, with all the keys converted to upper case. - # - # Header field names are case-preserved but not case-sensitive, so this is - # used by #header_fields and #header_fields_not. - # - # source://net-imap//lib/net/imap/fetch_data.rb#121 - def attr_upcase; end +# pkg:gem/net-imap#lib/net/imap/sasl.rb:90 +module Net::IMAP::SASL + private - # :call-seq: - # binary(*part_nums, offset: nil) -> string or nil - # - # Returns the binary representation of a particular MIME part, which has - # already been decoded according to its Content-Transfer-Encoding. - # - # See #part for a description of +part_nums+ and +offset+. - # - # This is the same as getting the value of - # "BINARY[#{part_nums.join(".")}]" or - # "BINARY[#{part_nums.join(".")}]<#{offset}>" from #attr. - # - # The server must support either - # IMAP4rev2[https://www.rfc-editor.org/rfc/rfc9051.html] - # or the +BINARY+ extension - # {[RFC3516]}[https://www.rfc-editor.org/rfc/rfc3516.html]. - # - # See also: #binary_size, #mime + # See Net::IMAP::StringPrep::SASLprep#saslprep. # - # source://net-imap//lib/net/imap/fetch_data.rb#428 - def binary(*part_nums, offset: T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl.rb:176 + def saslprep(string, **opts); end - # :call-seq: - # binary_size(*part_nums) -> integer or nil - # - # Returns the decoded size of a particular MIME part (the size to expect - # in response to a BINARY fetch request). - # - # See #part for a description of +part_nums+. - # - # This is the same as getting the value of - # "BINARY.SIZE[#{part_nums.join(".")}]" from #attr. - # - # The server must support either - # IMAP4rev2[https://www.rfc-editor.org/rfc/rfc9051.html] - # or the +BINARY+ extension - # {[RFC3516]}[https://www.rfc-editor.org/rfc/rfc3516.html]. - # - # See also: #binary, #mime - # - # source://net-imap//lib/net/imap/fetch_data.rb#449 - def binary_size(*part_nums); end + class << self + # Delegates to ::authenticators. See Authenticators#add_authenticator. + # + # pkg:gem/net-imap#lib/net/imap/sasl.rb:171 + def add_authenticator(*_arg0, **_arg1, &_arg2); end - # :call-seq: - # body -> body structure or nil - # - # Returns an alternate form of #bodystructure, without any extension data. - # - # This is the same as getting the value for "BODY" from #attr. - # - # [NOTE:] - # Use #message, #part, #header, #header_fields, #header_fields_not, - # #text, or #mime to retrieve BODY[#{section_spec}] attributes. - # - # source://net-imap//lib/net/imap/fetch_data.rb#133 - def body; end - - # :call-seq: - # bodystructure -> BodyStructure struct or nil - # - # A BodyStructure object that describes the message, if it was fetched. - # - # This is the same as getting the value for "BODYSTRUCTURE" from - # #attr. - # - # source://net-imap//lib/net/imap/fetch_data.rb#297 - def body_structure; end - - # :call-seq: - # bodystructure -> BodyStructure struct or nil - # - # A BodyStructure object that describes the message, if it was fetched. - # - # This is the same as getting the value for "BODYSTRUCTURE" from - # #attr. - # - # source://net-imap//lib/net/imap/fetch_data.rb#295 - def bodystructure; end - - # :call-seq: emailid -> string or nil - # - # An ObjectID that uniquely identifies the immutable content of a single - # message. - # - # The server must return the same +EMAILID+ for both the source and - # destination messages after a COPY or MOVE command. However, it is - # possible for different messages with the same EMAILID to have different - # mutable attributes, such as flags. - # - # This is the same as getting the value for "EMAILID" from - # #attr. - # - # The server must support the +OBJECTID+ extension - # {[RFC8474]}[https://www.rfc-editor.org/rfc/rfc8474.html]. - # - # source://net-imap//lib/net/imap/fetch_data.rb#482 - def emailid; end - - # :call-seq: envelope -> Envelope or nil - # - # An Envelope object that describes the envelope structure of a message. - # See the documentation for Envelope for a description of the envelope - # structure attributes. - # - # This is the same as getting the value for "ENVELOPE" from - # #attr. - # - # source://net-imap//lib/net/imap/fetch_data.rb#307 - def envelope; end - - # :call-seq: flags -> array of Symbols and Strings, or nil - # - # A array of flags that are set for this message. System flags are - # symbols that have been capitalized by String#capitalize. Keyword flags - # are strings and their case is not changed. - # - # This is the same as getting the value for "FLAGS" from #attr. - # - # [NOTE:] - # The +FLAGS+ field is dynamic, and can change for a uniquely identified - # message. - # - # source://net-imap//lib/net/imap/fetch_data.rb#320 - def flags; end - - # :call-seq: - # header(*part_nums, offset: nil) -> string or nil - # header(*part_nums, fields: names, offset: nil) -> string or nil - # header(*part_nums, except: names, offset: nil) -> string or nil - # - # The {[RFC5322]}[https://www.rfc-editor.org/rfc/rfc5322.html] header of a - # message or of an encapsulated - # {[MIME-IMT]}[https://www.rfc-editor.org/rfc/rfc2046.html] - # MESSAGE/RFC822 or MESSAGE/GLOBAL message. - # - # Headers can be parsed using the "mail" gem. - # - # See #part for a description of +part_nums+ and +offset+. - # - # ==== Without +fields+ or +except+ - # This is the same as getting the value from #attr for one of: - # * BODY[HEADER] - # * BODY[HEADER]<#{offset}> - # * BODY[#{part_nums.join "."}.HEADER]" - # * BODY[#{part_nums.join "."}.HEADER]<#{offset}>" - # - # ==== With +fields+ - # When +fields+ is sent, returns a subset of the header which contains - # only the header fields that match one of the names in the list. - # - # This is the same as getting the value from #attr_upcase for one of: - # * BODY[HEADER.FIELDS (#{names.join " "})] - # * BODY[HEADER.FIELDS (#{names.join " "})]<#{offset}> - # * BODY[#{part_nums.join "."}.HEADER.FIELDS (#{names.join " "})] - # * BODY[#{part_nums.join "."}.HEADER.FIELDS (#{names.join " "})]<#{offset}> - # - # See also: #header_fields - # - # ==== With +except+ - # When +except+ is sent, returns a subset of the header which contains - # only the header fields that do _not_ match one of the names in the list. - # - # This is the same as getting the value from #attr_upcase for one of: - # * BODY[HEADER.FIELDS.NOT (#{names.join " "})] - # * BODY[HEADER.FIELDS.NOT (#{names.join " "})]<#{offset}> - # * BODY[#{part_nums.join "."}.HEADER.FIELDS.NOT (#{names.join " "})] - # * BODY[#{part_nums.join "."}.HEADER.FIELDS.NOT (#{names.join " "})]<#{offset}> - # - # See also: #header_fields_not - # - # source://net-imap//lib/net/imap/fetch_data.rb#219 - def header(*part_nums, fields: T.unsafe(nil), except: T.unsafe(nil), offset: T.unsafe(nil)); end - - # :call-seq: - # header_fields(*names, part: [], offset: nil) -> string or nil - # - # The result from #header when called with fields: names. - # - # source://net-imap//lib/net/imap/fetch_data.rb#237 - def header_fields(first, *rest, part: T.unsafe(nil), offset: T.unsafe(nil)); end - - # :call-seq: - # header_fields_not(*names, part: [], offset: nil) -> string or nil - # - # The result from #header when called with except: names. - # - # source://net-imap//lib/net/imap/fetch_data.rb#245 - def header_fields_not(first, *rest, part: T.unsafe(nil), offset: T.unsafe(nil)); end - - # :call-seq: internaldate -> Time or nil - # - # The internal date and time of the message on the server. This is not - # the date and time in the [RFC5322[https://www.rfc-editor.org/rfc/rfc5322]] - # header, but rather a date and time which reflects when the message was - # received. - # - # This is similar to getting the value for "INTERNALDATE" from - # #attr. - # - # [NOTE:] - # attr["INTERNALDATE"] returns a string, and this method - # returns a Time object. - # - # source://net-imap//lib/net/imap/fetch_data.rb#339 - def internal_date; end - - # :call-seq: internaldate -> Time or nil - # - # The internal date and time of the message on the server. This is not - # the date and time in the [RFC5322[https://www.rfc-editor.org/rfc/rfc5322]] - # header, but rather a date and time which reflects when the message was - # received. - # - # This is similar to getting the value for "INTERNALDATE" from - # #attr. - # - # [NOTE:] - # attr["INTERNALDATE"] returns a string, and this method - # returns a Time object. - # - # source://net-imap//lib/net/imap/fetch_data.rb#335 - def internaldate; end - - # :call-seq: - # message(offset: bytes) -> string or nil - # - # The RFC5322[https://www.rfc-editor.org/rfc/rfc5322.html] - # expression of the entire message, as a string. - # - # See #part for a description of +offset+. - # - # RFC5322 messages can be parsed using the "mail" gem. - # - # This is the same as getting the value for "BODY[]" or - # "BODY[]<#{offset}>" from #attr. - # - # See also: #header, #text, and #mime. - # - # source://net-imap//lib/net/imap/fetch_data.rb#149 - def message(offset: T.unsafe(nil)); end + # Creates a new SASL authenticator, using SASL::Authenticators#new. + # + # +registry+ defaults to SASL.authenticators. All other arguments are + # forwarded to to registry.new. + # + # pkg:gem/net-imap#lib/net/imap/sasl.rb:166 + def authenticator(*args, registry: T.unsafe(nil), **kwargs, &block); end - # :call-seq: - # mime(*part_nums) -> string or nil - # mime(*part_nums, offset: bytes) -> string or nil - # - # The {[MIME-IMB]}[https://www.rfc-editor.org/rfc/rfc2045.html] header for - # a message part, if it was fetched. - # - # See #part for a description of +part_nums+ and +offset+. - # - # This is the same as getting the value for - # "BODY[#{part_nums}.MIME]" or - # "BODY[#{part_nums}.MIME]<#{offset}>" from #attr. - # - # See also: #message, #header, and #text. - # - # source://net-imap//lib/net/imap/fetch_data.rb#263 - def mime(part, *subparts, offset: T.unsafe(nil)); end + # Returns the default global SASL::Authenticators instance. + # + # pkg:gem/net-imap#lib/net/imap/sasl.rb:160 + def authenticators; end - # :call-seq: modseq -> Integer or nil - # - # The modification sequence number associated with this IMAP message. - # - # This is the same as getting the value for "MODSEQ" from #attr. - # - # The server must support the +CONDSTORE+ extension - # {[RFC7162]}[https://www.rfc-editor.org/rfc/rfc7162.html]. - # - # [NOTE:] - # The +MODSEQ+ field is dynamic, and can change for a uniquely - # identified message. - # - # source://net-imap//lib/net/imap/fetch_data.rb#465 - def modseq; end + # See Net::IMAP::StringPrep::SASLprep#saslprep. + # + # pkg:gem/net-imap#lib/net/imap/sasl.rb:176 + def saslprep(string, **opts); end + end +end +# Authenticator for the "+ANONYMOUS+" SASL mechanism, as specified by +# RFC-4505[https://www.rfc-editor.org/rfc/rfc4505]. See +# Net::IMAP#authenticate. +# +# pkg:gem/net-imap#lib/net/imap/sasl/anonymous_authenticator.rb:10 +class Net::IMAP::SASL::AnonymousAuthenticator # :call-seq: - # part(*part_nums, offset: bytes) -> string or nil - # - # The string representation of a particular MIME part. - # - # +part_nums+ forms a path of MIME part numbers, counting up from +1+, - # which may specify an arbitrarily nested part, similarly to Array#dig. - # Messages that don't use MIME, or MIME messages that are not multipart - # and don't hold an encapsulated message, only have part +1+. - # - # If a zero-based +offset+ is given, the returned string is a substring of - # the entire contents, starting at that origin octet. This means that - # BODY[]<0> MAY be truncated, but BODY[] is never - # truncated. - # - # This is the same as getting the value of - # "BODY[#{part_nums.join(".")}]" or - # "BODY[#{part_nums.join(".")}]<#{offset}>" from #attr. - # - # See also: #message, #header, #text, and #mime. - # - # source://net-imap//lib/net/imap/fetch_data.rb#171 - def part(index, *subparts, offset: T.unsafe(nil)); end - - # :call-seq: rfc822 -> String or nil - # - # Semantically equivalent to #message with no arguments. - # - # This is the same as getting the value for "RFC822" from #attr. + # new(anonymous_message = "", **) -> authenticator + # new(anonymous_message: "", **) -> authenticator # - # [NOTE:] - # +IMAP4rev2+ deprecates RFC822. + # Creates an Authenticator for the "+ANONYMOUS+" SASL mechanism, as + # specified in RFC-4505[https://www.rfc-editor.org/rfc/rfc4505]. To use + # this, see Net::IMAP#authenticate or your client's authentication + # method. # - # source://net-imap//lib/net/imap/fetch_data.rb#349 - def rfc822; end - - # :call-seq: rfc822_header -> String or nil + # ==== Parameters # - # Semantically equivalent to #header, with no arguments. + # * _optional_ #anonymous_message — a message to send to the server. # - # This is the same as getting the value for "RFC822.HEADER" from #attr. + # Any other keyword arguments are silently ignored. # - # [NOTE:] - # +IMAP4rev2+ deprecates RFC822.HEADER. + # @return [AnonymousAuthenticator] a new instance of AnonymousAuthenticator # - # source://net-imap//lib/net/imap/fetch_data.rb#386 - def rfc822_header; end + # pkg:gem/net-imap#lib/net/imap/sasl/anonymous_authenticator.rb:37 + def initialize(anon_msg = T.unsafe(nil), anonymous_message: T.unsafe(nil), **_arg2); end - # :call-seq: rfc822_size -> Integer or nil - # - # A number expressing the [RFC5322[https://www.rfc-editor.org/rfc/rfc5322]] - # size of the message. + # An optional token sent for the +ANONYMOUS+ mechanism., up to 255 UTF-8 + # characters in length. # - # This is the same as getting the value for "RFC822.SIZE" from - # #attr. + # If it contains an "@" sign, the message must be a valid email address + # (+addr-spec+ from RFC-2822[https://www.rfc-editor.org/rfc/rfc2822]). + # Email syntax is _not_ validated by AnonymousAuthenticator. # - # [NOTE:] - # \IMAP was originally developed for the older - # RFC822[https://www.rfc-editor.org/rfc/rfc822.html] standard, and as a - # consequence several fetch items in \IMAP incorporate "RFC822" in their - # name. With the exception of +RFC822.SIZE+, there are more modern - # replacements; for example, the modern version of +RFC822.HEADER+ is - # BODY.PEEK[HEADER]. In all cases, "RFC822" should be - # interpreted as a reference to the updated - # RFC5322[https://www.rfc-editor.org/rfc/rfc5322.html] standard. + # Otherwise, it can be any UTF8 string which is permitted by the + # StringPrep::Trace profile. # - # source://net-imap//lib/net/imap/fetch_data.rb#368 - def rfc822_size; end + # pkg:gem/net-imap#lib/net/imap/sasl/anonymous_authenticator.rb:21 + def anonymous_message; end - # :call-seq: rfc822_text -> String or nil - # - # Semantically equivalent to #text, with no arguments. - # - # This is the same as getting the value for "RFC822.TEXT" from - # #attr. + # Returns true when the initial client response was sent. # - # [NOTE:] - # +IMAP4rev2+ deprecates RFC822.TEXT. + # The authentication should not succeed unless this returns true, but it + # does *not* indicate success. # - # source://net-imap//lib/net/imap/fetch_data.rb#397 - def rfc822_text; end - - # Alias for: rfc822_size + # @return [Boolean] # - # source://net-imap//lib/net/imap/fetch_data.rb#375 - def size; end + # pkg:gem/net-imap#lib/net/imap/sasl/anonymous_authenticator.rb:64 + def done?; end # :call-seq: - # text(*part_nums) -> string or nil - # text(*part_nums, offset: bytes) -> string or nil - # - # The text body of a message or a message part, if it was fetched, - # omitting the {[RFC5322]}[https://www.rfc-editor.org/rfc/rfc5322.html] - # header. - # - # See #part for a description of +part_nums+ and +offset+. - # - # This is the same as getting the value from #attr for one of: - # * "BODY[TEXT]", - # * "BODY[TEXT]<#{offset}>", - # * "BODY[#{section}.TEXT]", or - # * "BODY[#{section}.TEXT]<#{offset}>". - # - # See also: #message, #header, and #mime. - # - # source://net-imap//lib/net/imap/fetch_data.rb#284 - def text(*part, offset: T.unsafe(nil)); end - - # :call-seq: threadid -> string or nil - # - # An ObjectID that uniquely identifies a set of messages that the server - # believes should be grouped together. - # - # It is generally based on some combination of References, In-Reply-To, - # and Subject, but the exact implementation is left up to the server - # implementation. The server should return the same thread identifier for - # related messages, even if they are in different mailboxes. + # initial_response? -> true # - # This is the same as getting the value for "THREADID" from - # #attr. + # +ANONYMOUS+ can send an initial client response. # - # The server must support the +OBJECTID+ extension - # {[RFC8474]}[https://www.rfc-editor.org/rfc/rfc8474.html]. + # @return [Boolean] # - # source://net-imap//lib/net/imap/fetch_data.rb#499 - def threadid; end + # pkg:gem/net-imap#lib/net/imap/sasl/anonymous_authenticator.rb:51 + def initial_response?; end - # :call-seq: uid -> Integer or nil - # - # A number expressing the unique identifier of the message. - # - # This is the same as getting the value for "UID" from #attr. - # - # [NOTE:] - # For UIDFetchData, this returns the uniqueid at the beginning of the - # +UIDFETCH+ response, _not_ the value from #attr. + # Returns #anonymous_message. # - # source://net-imap//lib/net/imap/fetch_data.rb#408 - def uid; end - - private - - # source://net-imap//lib/net/imap/fetch_data.rb#503 - def body_section_attr(*_arg0, **_arg1, &_arg2); end - - # source://net-imap//lib/net/imap/fetch_data.rb#505 - def section_attr(attr, part = T.unsafe(nil), text = T.unsafe(nil), offset: T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/anonymous_authenticator.rb:54 + def process(_server_challenge_string); end end -# Alias for HAS_CHILDREN, to match the \IMAP spelling. +# Indicates an authentication exchange that will be or has been canceled +# by the client, not due to any error or failure during processing. # -# source://net-imap//lib/net/imap/flags.rb#183 -Net::IMAP::HASCHILDREN = T.let(T.unsafe(nil), Symbol) +# pkg:gem/net-imap#lib/net/imap/sasl.rb:106 +class Net::IMAP::SASL::AuthenticationCanceled < ::Net::IMAP::SASL::Error; end -# Alias for HAS_NO_CHILDREN, to match the \IMAP spelling. +# Indicates an error when processing a server challenge, e.g: an invalid +# or unparsable challenge. An underlying exception may be available as +# the exception's #cause. # -# source://net-imap//lib/net/imap/flags.rb#185 -Net::IMAP::HASNOCHILDREN = T.let(T.unsafe(nil), Symbol) +# pkg:gem/net-imap#lib/net/imap/sasl.rb:111 +class Net::IMAP::SASL::AuthenticationError < ::Net::IMAP::SASL::Error; end -# The presence of this attribute indicates that the mailbox has child -# mailboxes. A server SHOULD NOT set this attribute if there are child -# mailboxes and the user does not have permission to access any of them. In -# this case, +\HasNoChildren+ SHOULD be used. In many cases, however, a -# server may not be able to efficiently compute whether a user has access to -# any child mailboxes. Note that even though the +\HasChildren+ attribute -# for a mailbox must be correct at the time of processing the mailbox, a -# client must be prepared to deal with a situation when a mailbox is marked -# with the +\HasChildren+ attribute, but no child mailbox appears in the -# response to the #list command. This might happen, for example, due to child -# mailboxes being deleted or made inaccessible to the user (using access -# control) by another client before the server is able to list them. -# -# It is an error for the server to return both a +\HasChildren+ and a -# +\HasNoChildren+ attribute in the same #list response. A client that -# encounters a #list response with both +\HasChildren+ and +\HasNoChildren+ -# attributes present should act as if both are absent in the #list response. +# AuthenticationExchange is used internally by Net::IMAP#authenticate. +# But the API is still *experimental*, and may change. # -# source://net-imap//lib/net/imap/flags.rb#136 -Net::IMAP::HAS_CHILDREN = T.let(T.unsafe(nil), Symbol) - -# The presence of this attribute indicates that the mailbox has NO child -# mailboxes that are accessible to the currently authenticated user. +# TODO: catch exceptions in #process and send #cancel_response. +# TODO: raise an error if the command succeeds after being canceled. +# TODO: use with more clients, to verify the API can accommodate them. +# TODO: pass ClientAdapter#service to SASL.authenticator # -# It is an error for the server to return both a +\HasChildren+ and a -# +\HasNoChildren+ attribute in the same #list response. A client that -# encounters a #list response with both +\HasChildren+ and +\HasNoChildren+ -# attributes present should act as if both are absent in the #list response. +# An AuthenticationExchange represents a single attempt to authenticate +# a SASL client to a SASL server. It is created from a client adapter, a +# mechanism name, and a mechanism authenticator. When #authenticate is +# called, it will send the appropriate authenticate command to the server, +# returning the client response on success and raising an exception on +# failure. # -# Note: the +\HasNoChildren+ attribute should not be confused with the -# +\NoInferiors+ attribute, which indicates that no child mailboxes exist -# now and none can be created in the future. +# In most cases, the client will not need to use +# SASL::AuthenticationExchange directly at all. Instead, use +# SASL::ClientAdapter#authenticate. If customizations are needed, the +# custom client adapter is probably the best place for that code. # -# source://net-imap//lib/net/imap/flags.rb#149 -Net::IMAP::HAS_NO_CHILDREN = T.let(T.unsafe(nil), Symbol) - -# Net::IMAP::IgnoredResponse represents intentionally ignored responses. +# def authenticate(...) +# MyClient::SASLAdapter.new(self).authenticate(...) +# end # -# This includes untagged response "NOOP" sent by e.g. Zimbra to avoid -# some clients to close the connection. +# SASL::ClientAdapter#authenticate delegates to ::authenticate, like so: # -# It matches no IMAP standard. +# def authenticate(...) +# sasl_adapter = MyClient::SASLAdapter.new(self) +# SASL::AuthenticationExchange.authenticate(sasl_adapter, ...) +# end # -# source://net-imap//lib/net/imap/response_data.rb#71 -class Net::IMAP::IgnoredResponse < ::Net::IMAP::UntaggedResponse; end - -# Error raised when the server sends an invalid response. +# ::authenticate simply delegates to ::build and #authenticate, like so: # -# This is different from UnknownResponseError: the response has been -# rejected. Although it may be parsable, the server is forbidden from -# sending it in the current context. The client should automatically -# disconnect, abruptly (without logout). +# def authenticate(...) +# sasl_adapter = MyClient::SASLAdapter.new(self) +# SASL::AuthenticationExchange +# .build(sasl_adapter, ...) +# .authenticate +# end # -# Note that InvalidResponseError does not inherit from ResponseError: it -# can be raised before the response is fully parsed. A related -# ResponseParseError or ResponseError may be the #cause. +# And ::build delegates to SASL.authenticator and ::new, like so: # -# source://net-imap//lib/net/imap/errors.rb#99 -class Net::IMAP::InvalidResponseError < ::Net::IMAP::Error; end - -# Mailbox attribute indicating that this mailbox is where messages deemed to -# be junk mail are held. Some server implementations might put messages here -# automatically. Alternatively, this might just be advice to a client-side -# spam filter. +# def authenticate(mechanism, ...) +# sasl_adapter = MyClient::SASLAdapter.new(self) +# authenticator = SASL.authenticator(mechanism, ...) +# SASL::AuthenticationExchange +# .new(sasl_adapter, mechanism, authenticator) +# .authenticate +# end # -# source://net-imap//lib/net/imap/flags.rb#242 -Net::IMAP::JUNK = T.let(T.unsafe(nil), Symbol) +# pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:57 +class Net::IMAP::SASL::AuthenticationExchange + # @return [AuthenticationExchange] a new instance of AuthenticationExchange + # + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:84 + def initialize(client, mechanism, authenticator, sasl_ir: T.unsafe(nil)); end -# source://net-imap//lib/net/imap/command_data.rb#150 -class Net::IMAP::Literal < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#151 - def send_data(imap, tag); end -end + # Call #authenticate to execute an authentication exchange for #client + # using #authenticator. Authentication failures will raise an + # exception. Any exceptions other than those in RESPONSE_ERRORS will + # drop the connection. + # + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:96 + def authenticate; end -# source://net-imap//lib/net/imap/errors.rb#10 -class Net::IMAP::LoginDisabledError < ::Net::IMAP::Error - # @return [LoginDisabledError] a new instance of LoginDisabledError + # Returns the value of attribute authenticator. # - # source://net-imap//lib/net/imap/errors.rb#11 - def initialize(msg = T.unsafe(nil), *_arg1, **_arg2, &_arg3); end -end + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:82 + def authenticator; end -# source://net-imap//lib/net/imap/command_data.rb#189 -class Net::IMAP::MessageSet < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#200 - def initialize(data:); end + # @return [Boolean] + # + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:117 + def done?; end - # source://net-imap//lib/net/imap/command_data.rb#190 - def send_data(imap, tag); end + # Returns the value of attribute mechanism. + # + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:82 + def mechanism; end - # source://net-imap//lib/net/imap/command_data.rb#194 - def validate; end + # @return [Boolean] + # + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:109 + def send_initial_response?; end private - # source://net-imap//lib/net/imap/command_data.rb#214 - def format_internal(data); end + # Returns the value of attribute client. + # + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:123 + def client; end - # source://net-imap//lib/net/imap/command_data.rb#235 - def validate_internal(data); end -end + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:125 + def initial_response; end -# The +\NonExistent+ attribute indicates that a mailbox name does not refer -# to an existing mailbox. Note that this attribute is not meaningful by -# itself, as mailbox names that match the canonical #list pattern but don't -# exist must not be returned unless one of the two conditions listed below -# is also satisfied: -# -# 1. The mailbox name also satisfies the selection criteria (for example, -# it is subscribed and the "SUBSCRIBED" selection option has been -# specified). -# -# 2. "RECURSIVEMATCH" has been specified, and the mailbox name has at least -# one descendant mailbox name that does not match the #list pattern and -# does match the selection criteria. -# -# In practice, this means that the +\NonExistent+ attribute is usually -# returned with one or more of +\Subscribed+, +\Remote+, +\HasChildren+, or -# the CHILDINFO extended data item. -# -# The client must treat the presence of the +\NonExistent+ attribute as if the -# +\NoSelect+ attribute was also sent by the server -# -# source://net-imap//lib/net/imap/flags.rb#105 -Net::IMAP::NONEXISTENT = T.let(T.unsafe(nil), Symbol) - -# Mailbox attribute indicating it is not possible for any child levels of -# hierarchy to exist under this name; no child levels exist now and none can -# be created in the future children. -# -# The client must treat the presence of the +\NoInferiors+ attribute as if the -# +\HasNoChildren+ attribute was also sent by the server -# -# source://net-imap//lib/net/imap/flags.rb#113 -Net::IMAP::NO_INFERIORS = T.let(T.unsafe(nil), Symbol) - -# Mailbox attribute indicating it is not possible to use this name as a -# selectable mailbox. -# -# source://net-imap//lib/net/imap/flags.rb#117 -Net::IMAP::NO_SELECT = T.let(T.unsafe(nil), Symbol) - -# Namespace represents a _single_ namespace, contained inside a Namespaces -# object. -# -# == Required capability -# Requires either +NAMESPACE+ [RFC2342[https://www.rfc-editor.org/rfc/rfc2342]] -# or +IMAP4rev2+ capability. -# -# source://net-imap//lib/net/imap/response_data.rb#467 -class Net::IMAP::Namespace < ::Struct; end - -# Namespaces represents the data of an untagged +NAMESPACE+ response, -# returned by IMAP#namespace. -# -# Contains lists of #personal, #shared, and #other namespaces. -# -# == Required capability -# Requires either +NAMESPACE+ [RFC2342[https://www.rfc-editor.org/rfc/rfc2342]] -# or +IMAP4rev2+ capability. -# -# source://net-imap//lib/net/imap/response_data.rb#496 -class Net::IMAP::Namespaces < ::Struct; end - -# Common validators of number and nz_number types -# -# source://net-imap//lib/net/imap/data_encoding.rb#157 -module Net::IMAP::NumValidator - private - - # Ensure argument is 'mod_sequence_value' or raise DataFormatError - # - # source://net-imap//lib/net/imap/data_encoding.rb#204 - def ensure_mod_sequence_value(num); end - - # Ensure argument is 'number' or raise DataFormatError - # - # source://net-imap//lib/net/imap/data_encoding.rb#188 - def ensure_number(num); end - - # Ensure argument is 'nz_number' or raise DataFormatError - # - # source://net-imap//lib/net/imap/data_encoding.rb#196 - def ensure_nz_number(num); end - - # Check is passed argument valid 'mod_sequence_value' in RFC 4551 terminology - # - # source://net-imap//lib/net/imap/data_encoding.rb#179 - def valid_mod_sequence_value?(num); end - - # Check is passed argument valid 'number' in RFC 3501 terminology - # - # source://net-imap//lib/net/imap/data_encoding.rb#161 - def valid_number?(num); end - - # Check is passed argument valid 'nz_number' in RFC 3501 terminology - # - # source://net-imap//lib/net/imap/data_encoding.rb#170 - def valid_nz_number?(num); end + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:130 + def process(challenge); end class << self - # Ensure argument is 'mod_sequence_value' or raise DataFormatError - # - # @raise [DataFormatError] - # - # source://net-imap//lib/net/imap/data_encoding.rb#204 - def ensure_mod_sequence_value(num); end - - # Ensure argument is 'number' or raise DataFormatError - # - # @raise [DataFormatError] - # - # source://net-imap//lib/net/imap/data_encoding.rb#188 - def ensure_number(num); end - - # Ensure argument is 'nz_number' or raise DataFormatError + # Convenience method for build(...).authenticate # - # @raise [DataFormatError] + # See also: SASL::ClientAdapter#authenticate # - # source://net-imap//lib/net/imap/data_encoding.rb#196 - def ensure_nz_number(num); end + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:61 + def authenticate(*_arg0, **_arg1, &_arg2); end - # Check is passed argument valid 'mod_sequence_value' in RFC 4551 terminology - # - # @return [Boolean] + # Convenience method to combine the creation of a new authenticator and + # a new Authentication exchange. # - # source://net-imap//lib/net/imap/data_encoding.rb#179 - def valid_mod_sequence_value?(num); end - - # Check is passed argument valid 'number' in RFC 3501 terminology + # +client+ must be an instance of SASL::ClientAdapter. # - # @return [Boolean] + # +mechanism+ must be a SASL mechanism name, as a string or symbol. # - # source://net-imap//lib/net/imap/data_encoding.rb#161 - def valid_number?(num); end - - # Check is passed argument valid 'nz_number' in RFC 3501 terminology + # +sasl_ir+ allows or disallows sending an "initial response", depending + # also on whether the server capabilities, mechanism authenticator, and + # client adapter all support it. Defaults to +true+. # - # @return [Boolean] + # +mechanism+, +args+, +kwargs+, and +block+ are all forwarded to + # SASL.authenticator. Use the +registry+ kwarg to override the global + # SASL::Authenticators registry. # - # source://net-imap//lib/net/imap/data_encoding.rb#170 - def valid_nz_number?(num); end + # pkg:gem/net-imap#lib/net/imap/sasl/authentication_exchange.rb:77 + def build(client, mechanism, *args, sasl_ir: T.unsafe(nil), **kwargs, &block); end end end -# source://net-imap//lib/net/imap/command_data.rb#156 -class Net::IMAP::PartialRange < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#163 - def initialize(data:); end - - # source://net-imap//lib/net/imap/command_data.rb#181 - def formatted; end - - # source://net-imap//lib/net/imap/command_data.rb#183 - def send_data(imap, tag); end -end - -# source://net-imap//lib/net/imap/command_data.rb#159 -Net::IMAP::PartialRange::NEG_RANGE = T.let(T.unsafe(nil), Range) - -# source://net-imap//lib/net/imap/command_data.rb#161 -Net::IMAP::PartialRange::Negative = T.let(T.unsafe(nil), Proc) - -# source://net-imap//lib/net/imap/command_data.rb#158 -Net::IMAP::PartialRange::POS_RANGE = T.let(T.unsafe(nil), Range) - -# source://net-imap//lib/net/imap/command_data.rb#160 -Net::IMAP::PartialRange::Positive = T.let(T.unsafe(nil), Proc) - -# source://net-imap//lib/net/imap/command_data.rb#144 -class Net::IMAP::QuotedString < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#145 - def send_data(imap, tag); end -end - -# The mailbox is a remote mailbox. +# Indicates that authentication cannot proceed because one of the server's +# messages has not passed integrity checks. # -# source://net-imap//lib/net/imap/flags.rb#176 -Net::IMAP::REMOTE = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap.rb#3092 -Net::IMAP::RESPONSES_DEPRECATION_MSG = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/errors.rb#113 -Net::IMAP::RESPONSE_ERRORS = T.let(T.unsafe(nil), Hash) - -# source://net-imap//lib/net/imap.rb#3580 -Net::IMAP::RETURN_START = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap.rb#3579 -Net::IMAP::RETURN_WHOLE = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/command_data.rb#132 -class Net::IMAP::RawData < ::Net::IMAP::CommandData - # source://net-imap//lib/net/imap/command_data.rb#133 - def send_data(imap, tag); end -end +# pkg:gem/net-imap#lib/net/imap/sasl.rb:115 +class Net::IMAP::SASL::AuthenticationFailed < ::Net::IMAP::SASL::Error; end -# Superclass of all errors used to encapsulate "fail" responses -# from the server. +# Indicates that authentication cannot proceed because the server ended +# authentication prematurely. # -# source://net-imap//lib/net/imap/errors.rb#59 -class Net::IMAP::ResponseError < ::Net::IMAP::Error - # @return [ResponseError] a new instance of ResponseError +# pkg:gem/net-imap#lib/net/imap/sasl.rb:119 +class Net::IMAP::SASL::AuthenticationIncomplete < ::Net::IMAP::SASL::AuthenticationFailed + # @return [AuthenticationIncomplete] a new instance of AuthenticationIncomplete # - # source://net-imap//lib/net/imap/errors.rb#64 - def initialize(response); end + # pkg:gem/net-imap#lib/net/imap/sasl.rb:123 + def initialize(response, message = T.unsafe(nil)); end - # The response that caused this error + # The success response from the server # - # source://net-imap//lib/net/imap/errors.rb#62 + # pkg:gem/net-imap#lib/net/imap/sasl.rb:121 def response; end - - # The response that caused this error - # - # source://net-imap//lib/net/imap/errors.rb#62 - def response=(_arg0); end end -# Parses an \IMAP server response. +# Registry for SASL authenticators # -# source://net-imap//lib/net/imap/response_parser/parser_utils.rb#5 -class Net::IMAP::ResponseParser - include ::Net::IMAP::ResponseParser::ParserUtils - include ::Net::IMAP::ResponseParser::ResponseConditions - extend ::Net::IMAP::ResponseParser::ParserUtils::Generator - - # Creates a new ResponseParser. +# Registered authenticators must respond to +#new+ or +#call+ (e.g. a class or +# a proc), receiving any credentials and options and returning an +# authenticator instance. The returned object represents a single +# authentication exchange and must not be reused for multiple +# authentication attempts. +# +# An authenticator instance object must respond to +#process+, receiving the +# server's challenge and returning the client's response. Optionally, it may +# also respond to +#initial_response?+ and +#done?+. When +# +#initial_response?+ returns +true+, +#process+ may be called the first +# time with +nil+. When +#done?+ returns +false+, the exchange is incomplete +# and an exception should be raised if the exchange terminates prematurely. +# +# See the source for PlainAuthenticator, XOAuth2Authenticator, and +# ScramSHA1Authenticator for examples. +# +# pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:22 +class Net::IMAP::SASL::Authenticators + # Create a new Authenticators registry. # - # When +config+ is frozen or global, the parser #config inherits from it. - # Otherwise, +config+ will be used directly. + # This class is usually not instantiated directly. Use SASL.authenticators + # to reuse the default global registry. # - # @return [ResponseParser] a new instance of ResponseParser + # When +use_defaults+ is +false+, the registry will start empty. When + # +use_deprecated+ is +false+, deprecated authenticators will not be + # included with the defaults. # - # source://net-imap//lib/net/imap/response_parser.rb#20 - def initialize(config: T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/response_parser.rb#477 - def CRLF!; end - - # source://net-imap//lib/net/imap/response_parser.rb#477 - def CRLF?; end - - # source://net-imap//lib/net/imap/response_parser.rb#478 - def EOF!; end - - # source://net-imap//lib/net/imap/response_parser.rb#478 - def EOF?; end - - # source://net-imap//lib/net/imap/response_parser.rb#460 - def NIL!; end - - # source://net-imap//lib/net/imap/response_parser.rb#460 - def NIL?; end - - # source://net-imap//lib/net/imap/response_parser.rb#430 - def PLUS!; end - - # source://net-imap//lib/net/imap/response_parser.rb#430 - def PLUS?; end - - # source://net-imap//lib/net/imap/response_parser.rb#429 - def SP!; end - - # source://net-imap//lib/net/imap/response_parser.rb#429 - def SP?; end - - # source://net-imap//lib/net/imap/response_parser.rb#431 - def STAR!; end - - # source://net-imap//lib/net/imap/response_parser.rb#431 - def STAR?; end - - # RFC-3501 & RFC-9051: - # body-fld-enc = (DQUOTE ("7BIT" / "8BIT" / "BINARY" / "BASE64"/ - # "QUOTED-PRINTABLE") DQUOTE) / string + # @return [Authenticators] a new instance of Authenticators # - # source://net-imap//lib/net/imap/response_parser.rb#1263 - def body_fld_enc; end + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:36 + def initialize(use_defaults: T.unsafe(nil), use_deprecated: T.unsafe(nil)); end - # valid number ranges are not enforced by parser - # number64 = 1*DIGIT - # ; Unsigned 63-bit integer - # ; (0 <= n <= 9,223,372,036,854,775,807) - # number in 3501, number64 in 9051 + # :call-seq: + # add_authenticator(mechanism) + # add_authenticator(mechanism, authenticator_class) + # add_authenticator(mechanism, authenticator_proc) # - # source://net-imap//lib/net/imap/response_parser.rb#1256 - def body_fld_lines; end - - # source://net-imap//lib/net/imap/response_parser.rb#1258 - def body_fld_octets; end - - # source://net-imap//lib/net/imap/response_parser.rb#454 - def case_insensitive__string; end - - # source://net-imap//lib/net/imap/response_parser.rb#454 - def case_insensitive__string?; end - - # Returns the value of attribute config. + # Registers an authenticator for #authenticator to use. +mechanism+ is the + # name of the + # {SASL mechanism}[https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml] + # implemented by +authenticator_class+ (for instance, "PLAIN"). # - # source://net-imap//lib/net/imap/response_parser.rb#14 - def config; end - - # date-time = DQUOTE date-day-fixed "-" date-month "-" date-year - # SP time SP zone DQUOTE + # If +mechanism+ refers to an existing authenticator, + # the old authenticator will be replaced. # - # source://net-imap//lib/net/imap/response_parser.rb#1048 - def date_time; end - - # source://net-imap//lib/net/imap/response_parser.rb#436 - def lbra; end - - # source://net-imap//lib/net/imap/response_parser.rb#436 - def lbra?; end - - # source://net-imap//lib/net/imap/response_parser.rb#477 - def lookahead_CRLF!; end - - # source://net-imap//lib/net/imap/response_parser.rb#478 - def lookahead_EOF!; end - - # source://net-imap//lib/net/imap/response_parser.rb#460 - def lookahead_NIL!; end - - # source://net-imap//lib/net/imap/response_parser.rb#430 - def lookahead_PLUS?; end - - # source://net-imap//lib/net/imap/response_parser.rb#429 - def lookahead_SP?; end - - # source://net-imap//lib/net/imap/response_parser.rb#431 - def lookahead_STAR?; end - - # source://net-imap//lib/net/imap/response_parser.rb#1060 - def lookahead_body?; end - - # source://net-imap//lib/net/imap/response_parser.rb#454 - def lookahead_case_insensitive__string!; end - - # source://net-imap//lib/net/imap/response_parser.rb#436 - def lookahead_lbra?; end - - # source://net-imap//lib/net/imap/response_parser.rb#433 - def lookahead_lpar?; end - - # source://net-imap//lib/net/imap/response_parser.rb#443 - def lookahead_number!; end - - # source://net-imap//lib/net/imap/response_parser.rb#445 - def lookahead_quoted!; end - - # source://net-imap//lib/net/imap/response_parser.rb#437 - def lookahead_rbra?; end - - # source://net-imap//lib/net/imap/response_parser.rb#434 - def lookahead_rpar?; end - - # source://net-imap//lib/net/imap/response_parser.rb#448 - def lookahead_string!; end - - # source://net-imap//lib/net/imap/response_parser.rb#451 - def lookahead_string8!; end - - # source://net-imap//lib/net/imap/response_parser.rb#475 - def lookahead_tagged_ext_label!; end - - # source://net-imap//lib/net/imap/response_parser.rb#1628 - def lookahead_thread_list?; end - - # source://net-imap//lib/net/imap/response_parser.rb#1629 - def lookahead_thread_nested?; end - - # source://net-imap//lib/net/imap/response_parser.rb#433 - def lpar; end - - # source://net-imap//lib/net/imap/response_parser.rb#433 - def lpar?; end - - # text/* + # When only a single argument is given, the authenticator class will be + # lazily loaded from Net::IMAP::SASL::#{name}Authenticator (case is + # preserved and non-alphanumeric characters are removed.. # - # source://net-imap//lib/net/imap/response_parser.rb#1184 - def media_subtype; end + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:71 + def add_authenticator(name, authenticator = T.unsafe(nil)); end - # valid number ranges are not enforced by parser - # nz-number = digit-nz *DIGIT - # ; Non-zero unsigned 32-bit integer - # ; (0 < n < 4,294,967,296) - # valid number ranges are not enforced by parser - # nz-number64 = digit-nz *DIGIT - # ; Unsigned 63-bit integer - # ; (0 < n <= 9,223,372,036,854,775,807) - # RFC7162: - # mod-sequence-value = 1*DIGIT - # ;; Positive unsigned 63-bit integer - # ;; (mod-sequence) - # ;; (1 <= n <= 9,223,372,036,854,775,807). + # :call-seq: + # authenticator(mechanism, ...) -> auth_session # - # source://net-imap//lib/net/imap/response_parser.rb#2130 - def mod_sequence_value; end - - # valid number ranges are not enforced by parser - # number64 = 1*DIGIT - # ; Unsigned 63-bit integer - # ; (0 <= n <= 9,223,372,036,854,775,807) - # RFC7162: - # mod-sequence-valzer = "0" / mod-sequence-value + # Builds an authenticator instance using the authenticator registered to + # +mechanism+. The returned object represents a single authentication + # exchange and must not be reused for multiple authentication + # attempts. # - # source://net-imap//lib/net/imap/response_parser.rb#2139 - def mod_sequence_valzer; end - - # source://net-imap//lib/net/imap/response_parser.rb#443 - def number; end - - # valid number ranges are not enforced by parser - # number64 = 1*DIGIT - # ; Unsigned 63-bit integer - # ; (0 <= n <= 9,223,372,036,854,775,807) + # All arguments (except +mechanism+) are forwarded to the registered + # authenticator's +#new+ or +#call+ method. Each authenticator must + # document its own arguments. # - # source://net-imap//lib/net/imap/response_parser.rb#643 - def number64; end - - # source://net-imap//lib/net/imap/response_parser.rb#644 - def number64?; end - - # source://net-imap//lib/net/imap/response_parser.rb#443 - def number?; end - - # valid number ranges are not enforced by parser - # nz-number = digit-nz *DIGIT - # ; Non-zero unsigned 32-bit integer - # ; (0 < n < 4,294,967,296) + # [Note] + # This method is intended for internal use by connection protocol code + # only. Protocol client users should see refer to their client's + # documentation, e.g. Net::IMAP#authenticate. # - # source://net-imap//lib/net/imap/response_parser.rb#650 - def nz_number; end + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:111 + def authenticator(mechanism, *_arg1, **_arg2, &_arg3); end - # valid number ranges are not enforced by parser - # nz-number = digit-nz *DIGIT - # ; Non-zero unsigned 32-bit integer - # ; (0 < n < 4,294,967,296) - # valid number ranges are not enforced by parser - # nz-number64 = digit-nz *DIGIT - # ; Unsigned 63-bit integer - # ; (0 < n <= 9,223,372,036,854,775,807) + # @return [Boolean] # - # source://net-imap//lib/net/imap/response_parser.rb#657 - def nz_number64; end + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:90 + def mechanism?(name); end - # source://net-imap//lib/net/imap/response_parser.rb#651 - def nz_number?; end + # Returns the names of all registered SASL mechanisms. + # + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:53 + def names; end # :call-seq: - # parse(str) -> ContinuationRequest - # parse(str) -> UntaggedResponse - # parse(str) -> TaggedResponse + # authenticator(mechanism, ...) -> auth_session # - # Raises ResponseParseError for unparsable strings. + # Builds an authenticator instance using the authenticator registered to + # +mechanism+. The returned object represents a single authentication + # exchange and must not be reused for multiple authentication + # attempts. # - # source://net-imap//lib/net/imap/response_parser.rb#35 - def parse(str); end - - # source://net-imap//lib/net/imap/response_parser.rb#430 - def peek_PLUS?; end + # All arguments (except +mechanism+) are forwarded to the registered + # authenticator's +#new+ or +#call+ method. Each authenticator must + # document its own arguments. + # + # [Note] + # This method is intended for internal use by connection protocol code + # only. Protocol client users should see refer to their client's + # documentation, e.g. Net::IMAP#authenticate. + # + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:118 + def new(mechanism, *_arg1, **_arg2, &_arg3); end - # source://net-imap//lib/net/imap/response_parser.rb#429 - def peek_SP?; end + # Removes the authenticator registered for +name+ + # + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:85 + def remove_authenticator(name); end - # source://net-imap//lib/net/imap/response_parser.rb#431 - def peek_STAR?; end + class << self + # Normalize the mechanism name as an uppercase string, with underscores + # converted to dashes. + # + # pkg:gem/net-imap#lib/net/imap/sasl/authenticators.rb:26 + def normalize_name(mechanism); end + end +end - # source://net-imap//lib/net/imap/response_parser.rb#436 - def peek_lbra?; end +# pkg:gem/net-imap#lib/net/imap/sasl/stringprep.rb:8 +Net::IMAP::SASL::BidiStringError = Net::IMAP::StringPrep::BidiStringError - # source://net-imap//lib/net/imap/response_parser.rb#433 - def peek_lpar?; end +# This API is *experimental*, and may change. +# +# TODO: use with more clients, to verify the API can accommodate them. +# +# Represents the client to a SASL::AuthenticationExchange. By default, +# most methods simply delegate to #client. Clients should subclass +# SASL::ClientAdapter and override methods as needed to match the +# semantics of this API to their API. +# +# Subclasses should also include a protocol adapter mixin when the default +# ProtocolAdapters::Generic isn't sufficient. +# +# === Protocol Requirements +# +# {RFC4422 §4}[https://www.rfc-editor.org/rfc/rfc4422.html#section-4] +# lists requirements for protocol specifications to offer SASL. Where +# possible, ClientAdapter delegates the handling of these requirements to +# SASL::ProtocolAdapters. +# +# pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:27 +class Net::IMAP::SASL::ClientAdapter + include ::Net::IMAP::SASL::ProtocolAdapters::Generic + extend ::Forwardable - # source://net-imap//lib/net/imap/response_parser.rb#437 - def peek_rbra?; end + # By default, this simply sets the #client and #command_proc attributes. + # Subclasses may override it, for example: to set the appropriate + # command_proc automatically. + # + # @return [ClientAdapter] a new instance of ClientAdapter + # + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:56 + def initialize(client, &command_proc); end - # source://net-imap//lib/net/imap/response_parser.rb#434 - def peek_rpar?; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:76 + def auth_capable?(*_arg0, **_arg1, &_arg2); end - # valid number ranges are not enforced by parser - # nz-number = digit-nz *DIGIT - # ; Non-zero unsigned 32-bit integer - # ; (0 < n < 4,294,967,296) - # valid number ranges are not enforced by parser - # nz-number64 = digit-nz *DIGIT - # ; Unsigned 63-bit integer - # ; (0 < n <= 9,223,372,036,854,775,807) - # RFC7162: - # mod-sequence-value = 1*DIGIT - # ;; Positive unsigned 63-bit integer - # ;; (mod-sequence) - # ;; (1 <= n <= 9,223,372,036,854,775,807). - # RFC7162: - # permsg-modsequence = mod-sequence-value - # ;; Per-message mod-sequence. + # Attempt to authenticate #client to the server. # - # source://net-imap//lib/net/imap/response_parser.rb#2135 - def permsg_modsequence; end - - # Used when servers erroneously send an extra SP. - # - # As of 2023-11-28, Outlook.com (still) sends SP - # between +address+ in env-* lists. - # - # source://net-imap//lib/net/imap/response_parser.rb#1044 - def quirky_SP?; end - - # source://net-imap//lib/net/imap/response_parser.rb#445 - def quoted; end - - # source://net-imap//lib/net/imap/response_parser.rb#445 - def quoted?; end - - # source://net-imap//lib/net/imap/response_parser.rb#437 - def rbra; end - - # source://net-imap//lib/net/imap/response_parser.rb#437 - def rbra?; end - - # source://net-imap//lib/net/imap/response_parser.rb#434 - def rpar; end - - # source://net-imap//lib/net/imap/response_parser.rb#434 - def rpar?; end - - # search-modifier-name = tagged-ext-label - # - # source://net-imap//lib/net/imap/response_parser.rb#1597 - def search_modifier_name; end - - # source://net-imap//lib/net/imap/response_parser.rb#448 - def string; end - - # source://net-imap//lib/net/imap/response_parser.rb#451 - def string8; end - - # source://net-imap//lib/net/imap/response_parser.rb#451 - def string8?; end - - # source://net-imap//lib/net/imap/response_parser.rb#448 - def string?; end - - # source://net-imap//lib/net/imap/response_parser.rb#475 - def tagged_ext_label; end - - # source://net-imap//lib/net/imap/response_parser.rb#475 - def tagged_ext_label?; end - - # valid number ranges are not enforced by parser - # nz-number = digit-nz *DIGIT - # ; Non-zero unsigned 32-bit integer - # ; (0 < n < 4,294,967,296) - # valid number ranges are not enforced by parser - # uniqueid = nz-number - # ; Strictly ascending - # - # source://net-imap//lib/net/imap/response_parser.rb#662 - def uniqueid; end - - # valid number ranges are not enforced by parser - # - # 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.rb#668 - def x_gm_id; end - - private - - # source://net-imap//lib/net/imap/response_parser.rb#2020 - def AppendUID(*_arg0, **_arg1, &_arg2); end - - # source://net-imap//lib/net/imap/response_parser.rb#2021 - def CopyUID(*_arg0, **_arg1, &_arg2); end - - # TODO: remove this code in the v0.6.0 release - # - # source://net-imap//lib/net/imap/response_parser.rb#2024 - def DeprecatedUIDPlus(validity, src_uids = T.unsafe(nil), dst_uids); end - - # The RFC is very strict about this and usually we should be too. - # But skipping spaces is usually a safe workaround for buggy servers. - # - # This advances @pos directly so it's safe before changing @lex_state. - # - # source://net-imap//lib/net/imap/response_parser.rb#2177 - def accept_spaces; end - - # acl-data = "ACL" SP mailbox *(SP identifier SP rights) - # - # source://net-imap//lib/net/imap/response_parser.rb#1458 - def acl_data; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#2067 - def addr_adl; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#2068 - def addr_host; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#2069 - def addr_mailbox; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#2070 - def addr_name; end - - # address = "(" addr-name SP addr-adl SP addr-mailbox SP - # addr-host ")" - # addr-adl = nstring - # addr-host = nstring - # addr-mailbox = nstring - # addr-name = nstring - # - # source://net-imap//lib/net/imap/response_parser.rb#2052 - def address; end - - # astring = 1*ASTRING-CHAR / string - # - # source://net-imap//lib/net/imap/response_parser.rb#528 - def astring; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_parser.rb#532 - def astring?; end - - # source://net-imap//lib/net/imap/response_parser.rb#513 - def astring_chars; end - - # TODO: handle atom, astring_chars, and tag entirely inside the lexer - # - # source://net-imap//lib/net/imap/response_parser.rb#512 - def atom; end - - # the #accept version of #atom - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_parser.rb#517 - def atom?; end - - # RFC-3501 & RFC-9051: - # body = "(" (body-type-1part / body-type-mpart) ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1053 - def body; end - - # RFC2060 - # body_ext_1part ::= body_fld_md5 [SPACE body_fld_dsp - # [SPACE body_fld_lang - # [SPACE 1#body_extension]]] - # ;; MUST NOT be returned on non-extensible - # ;; "BODY" fetch - # RFC3501 & RFC9051 - # body-ext-1part = body-fld-md5 [SP body-fld-dsp [SP body-fld-lang - # [SP body-fld-loc *(SP body-extension)]]] - # ; MUST NOT be returned on non-extensible - # ; "BODY" fetch - # - # source://net-imap//lib/net/imap/response_parser.rb#1225 - def body_ext_1part; end - - # RFC-2060: - # body_ext_mpart = body_fld_param [SP body_fld_dsp SP body_fld_lang - # [SP 1#body_extension]] - # ;; MUST NOT be returned on non-extensible - # ;; "BODY" fetch - # RFC-3501 & RFC-9051: - # body-ext-mpart = body-fld-param [SP body-fld-dsp [SP body-fld-lang - # [SP body-fld-loc *(SP body-extension)]]] - # ; MUST NOT be returned on non-extensible - # ; "BODY" fetch - # - # source://net-imap//lib/net/imap/response_parser.rb#1244 - def body_ext_mpart; end - - # body-extension = nstring / number / number64 / - # "(" body-extension *(SP body-extension) ")" - # ; Future expansion. Client implementations - # ; MUST accept body-extension fields. Server - # ; implementations MUST NOT generate - # ; body-extension fields except as defined by - # ; future Standard or Standards Track - # ; revisions of this specification. - # - # source://net-imap//lib/net/imap/response_parser.rb#1301 - def body_extension; end - - # body-extension *(SP body-extension) - # - # source://net-imap//lib/net/imap/response_parser.rb#1287 - def body_extensions; end - - # RFC-3501 & RFC-9051: - # body-fields = body-fld-param SP body-fld-id SP body-fld-desc SP - # body-fld-enc SP body-fld-octets - # - # source://net-imap//lib/net/imap/response_parser.rb#1189 - def body_fields; end - - # nstring = string / nil + # By default, this simply delegates to + # AuthenticationExchange.authenticate. # - # source://net-imap//lib/net/imap/response_parser.rb#1253 - def body_fld_desc; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:64 + def authenticate(*_arg0, **_arg1, &_arg2); end - # body-fld-dsp = "(" string SP body-fld-param ")" / nil + # method: drop_connection! + # Drop the connection abruptly, closing the socket without logging out. # - # source://net-imap//lib/net/imap/response_parser.rb#1266 - def body_fld_dsp; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:35 + def client; end - # nstring = string / nil + # +command_proc+ can used to avoid exposing private methods on #client. + # It's value is set by the block that is passed to ::new, and it is used + # by the default implementation of #run_command. Subclasses that + # override #run_command may use #command_proc for any other purpose they + # find useful. # - # source://net-imap//lib/net/imap/response_parser.rb#1254 - def body_fld_id; end - - # body-fld-lang = nstring / "(" string *(SP string) ")" + # In the default implementation of #run_command, command_proc is called + # with the protocols authenticate +command+ name, the +mechanism+ name, + # an _optional_ +initial_response+ argument, and a +continuations+ + # block. command_proc must run the protocol command with the arguments + # sent to it, _yield_ the payload of each continuation, respond to the + # continuation with the result of each _yield_, and _return_ the + # command's successful result. Non-successful results *MUST* raise + # an exception. # - # source://net-imap//lib/net/imap/response_parser.rb#1275 - def body_fld_lang; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:51 + def command_proc; end - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1255 - def body_fld_loc; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:113 + def drop_connection(*_arg0, **_arg1, &_arg2); end - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1257 - def body_fld_md5; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:118 + def drop_connection!(*_arg0, **_arg1, &_arg2); end - # RFC3501, RFC9051: - # body-fld-param = "(" string SP string *(SP string SP string) ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1201 - def body_fld_param; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:99 + def host(*_arg0, **_arg1, &_arg2); end - # RFC-3501 & RFC9051: - # body-type-1part = (body-type-basic / body-type-msg / body-type-text) - # [SP body-ext-1part] - # - # source://net-imap//lib/net/imap/response_parser.rb#1065 - def body_type_1part; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:104 + def port(*_arg0, **_arg1, &_arg2); end - # RFC-3501 & RFC9051: - # body-type-basic = media-basic SP body-fields + # Returns an array of server responses errors raised by run_command. + # Exceptions in this array won't drop the connection. # - # source://net-imap//lib/net/imap/response_parser.rb#1089 - def body_type_basic; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:108 + def response_errors; end - # This is a malformed body-type-mpart with no subparts. + # Calls command_proc with +command_name+ (see + # SASL::ProtocolAdapters::Generic#command_name), + # +mechanism+, +initial_response+, and a +continuations_handler+ block. + # The +initial_response+ is optional; when it's nil, it won't be sent to + # command_proc. # - # source://net-imap//lib/net/imap/response_parser.rb#1138 - def body_type_mixed; end - - # RFC-3501 & RFC-9051: - # body-type-mpart = 1*body SP media-subtype - # [SP body-ext-mpart] + # Yields each continuation payload, responds to the server with the + # result of each yield, and returns the result. Non-successful results + # *MUST* raise an exception. Exceptions in the block *MUST* cause the + # command to fail. # - # source://net-imap//lib/net/imap/response_parser.rb#1148 - def body_type_mpart; end - - # RFC-3501 & RFC-9051: - # body-type-msg = media-message SP body-fields SP envelope - # SP body SP body-fld-lines + # Subclasses that override this may use #command_proc differently. # - # source://net-imap//lib/net/imap/response_parser.rb#1110 - def body_type_msg; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:90 + def run_command(mechanism, initial_response = T.unsafe(nil), &continuations_handler); end - # RFC-3501 & RFC-9051: - # body-type-text = media-text SP body-fields SP body-fld-lines - # - # source://net-imap//lib/net/imap/response_parser.rb#1099 - def body_type_text; end + # pkg:gem/net-imap#lib/net/imap/sasl/client_adapter.rb:69 + def sasl_ir_capable?(*_arg0, **_arg1, &_arg2); end +end - # Returns atom.upcase - # capability = ("AUTH=" auth-type) / atom - # ; New capabilities MUST begin with "X" or be - # ; registered with IANA as standard or - # ; standards-track +# Authenticator for the "+CRAM-MD5+" SASL mechanism, specified in +# RFC2195[https://www.rfc-editor.org/rfc/rfc2195]. See Net::IMAP#authenticate. +# +# == Deprecated +# +# +CRAM-MD5+ is obsolete and insecure. It is included for compatibility with +# existing servers. +# {draft-ietf-sasl-crammd5-to-historic}[https://www.rfc-editor.org/rfc/draft-ietf-sasl-crammd5-to-historic-00.html] +# recommends using +SCRAM-*+ or +PLAIN+ protected by TLS instead. +# +# Additionally, RFC8314[https://www.rfc-editor.org/rfc/rfc8314] discourage the use +# of cleartext and recommends TLS version 1.2 or greater be used for all +# traffic. With TLS +CRAM-MD5+ is okay, but so is +PLAIN+ +# +# pkg:gem/net-imap#lib/net/imap/sasl/cram_md5_authenticator.rb:16 +class Net::IMAP::SASL::CramMD5Authenticator + # @return [CramMD5Authenticator] a new instance of CramMD5Authenticator # - # source://net-imap//lib/net/imap/response_parser.rb#1776 - def capability; end + # pkg:gem/net-imap#lib/net/imap/sasl/cram_md5_authenticator.rb:17 + def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authcid: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), secret: T.unsafe(nil), warn_deprecation: T.unsafe(nil), **_arg7); end - # Returns atom?&.upcase - # # @return [Boolean] # - # source://net-imap//lib/net/imap/response_parser.rb#1777 - def capability?; end - - # As a workaround for buggy servers, allow a trailing SP: - # *(SP capability) [SP] - # - # source://net-imap//lib/net/imap/response_parser.rb#1766 - def capability__list; end - - # The presence of "IMAP4rev1" or "IMAP4rev2" is unenforced here. - # The grammar rule is used by both response-data and resp-text-code. - # But this method only returns UntaggedResponse (response-data). - # - # RFC3501: - # capability-data = "CAPABILITY" *(SP capability) SP "IMAP4rev1" - # *(SP capability) - # RFC9051: - # capability-data = "CAPABILITY" *(SP capability) SP "IMAP4rev2" - # *(SP capability) - # - # source://net-imap//lib/net/imap/response_parser.rb#1755 - def capability_data__untagged; end - - # Returns atom.upcase - # - # source://net-imap//lib/net/imap/response_parser.rb#520 - def case_insensitive__atom; end + # pkg:gem/net-imap#lib/net/imap/sasl/cram_md5_authenticator.rb:40 + def done?; end - # Returns atom?&.upcase - # # @return [Boolean] # - # source://net-imap//lib/net/imap/response_parser.rb#523 - def case_insensitive__atom?; end - - # use where nstring represents "LABEL" values - # - # source://net-imap//lib/net/imap/response_parser.rb#581 - def case_insensitive__nstring; end - - # See https://www.rfc-editor.org/errata/rfc3501 - # - # charset = atom / quoted - # - # source://net-imap//lib/net/imap/response_parser.rb#2123 - def charset; end - - # "(" charset *(SP charset) ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1989 - def charset__list; end - - # source://net-imap//lib/net/imap/response_parser.rb#798 - def comparator_data(klass = T.unsafe(nil)); end - - # RFC3501 & RFC9051: - # continue-req = "+" SP (resp-text / base64) CRLF - # - # n.b: base64 is valid resp-text. And in the spirit of RFC9051 Appx E 23 - # (and to workaround existing servers), we use the following grammar: - # - # continue-req = "+" (SP (resp-text)) CRLF - # - # source://net-imap//lib/net/imap/response_parser.rb#698 - def continue_req; end - - # enable-data = "ENABLED" *(SP capability) - # - # source://net-imap//lib/net/imap/response_parser.rb#1760 - def enable_data; end - - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1038 - def env_bcc; end - - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1037 - def env_cc; end - - # nstring = string / nil - # env-date = nstring - # env-subject = nstring - # env-in-reply-to = nstring - # env-message-id = nstring - # - # source://net-imap//lib/net/imap/response_parser.rb#1016 - def env_date; end - - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1033 - def env_from; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1018 - def env_in_reply_to; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1019 - def env_message_id; end - - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1035 - def env_reply_to; end - - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1034 - def env_sender; end - - # nstring = string / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1017 - def env_subject; end - - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1036 - def env_to; end - - # RFC3501 & RFC9051: - # envelope = "(" env-date SP env-subject SP env-from SP - # env-sender SP env-reply-to SP env-to SP env-cc SP - # env-bcc SP env-in-reply-to SP env-message-id ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#993 - def envelope; end - - # esearch-response = "ESEARCH" [search-correlator] [SP "UID"] - # *(SP search-return-data) - # ;; Note that SEARCH and ESEARCH responses - # ;; SHOULD be mutually exclusive, - # ;; i.e., only one of the response types - # ;; should be - # ;; returned as a result of a command. - # esearch-response = "ESEARCH" [search-correlator] [SP "UID"] - # *(SP search-return-data) - # ; ESEARCH response replaces SEARCH response - # ; from IMAP4rev1. - # search-correlator = SP "(" "TAG" SP tag-string ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1524 - def esearch_response; end - - # The name for this is confusing, because it *replaces* EXPUNGE - # >>> - # expunged-resp = "VANISHED" [SP "(EARLIER)"] SP known-uids - # - # source://net-imap//lib/net/imap/response_parser.rb#875 - def expunged_resp; end - - # flag-list = "(" [flag *(SP flag)] ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#2073 - def flag_list; end - - # "(" [flag-perm *(SP flag-perm)] ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#2083 - def flag_perm__list; end - - # 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#987 - def gt__number__lt; end - - # astring = 1*ASTRING-CHAR / string - # RFC3501 & RFC9051: - # header-fld-name = astring - # - # NOTE: Previously, Net::IMAP recreated the raw original source string. - # Now, it returns the decoded astring value. Although this is technically - # incompatible, it should almost never make a difference: all standard - # header field names are valid atoms: - # - # https://www.iana.org/assignments/message-headers/message-headers.xhtml - # - # See also RFC5233: - # optional-field = field-name ":" unstructured CRLF - # field-name = 1*ftext - # ftext = %d33-57 / ; Printable US-ASCII - # %d59-126 ; characters not including - # ; ":". - # - # source://net-imap//lib/net/imap/response_parser.rb#1373 - def header_fld_name; end - - # header-list = "(" header-fld-name *(SP header-fld-name) ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1345 - def header_list; end - - # source://net-imap//lib/net/imap/response_parser.rb#1779 - def id_response; end - - # sequence-set = (seq-number / seq-range) ["," sequence-set] - # sequence-set =/ seq-last-command - # ; Allow for "result of the last command" - # ; indicator. - # seq-last-command = "$" - # - # *note*: doesn't match seq-last-command - # TODO: replace with uid_set - # - # source://net-imap//lib/net/imap/response_parser.rb#884 - def known_uids; end - - # Use #label or #label_in to assert specific known labels - # (+tagged-ext-label+ only, not +atom+). - # - # source://net-imap//lib/net/imap/response_parser.rb#538 - def label(word); end - - # Use #label or #label_in to assert specific known labels - # (+tagged-ext-label+ only, not +atom+). - # - # source://net-imap//lib/net/imap/response_parser.rb#545 - def label_in(*labels); end - - # source://net-imap//lib/net/imap/response_parser.rb#797 - def language_data(klass = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/response_parser.rb#794 - def listrights_data(klass = T.unsafe(nil)); end - - # astring = 1*ASTRING-CHAR / string - # mailbox = "INBOX" / astring - # ; INBOX is case-insensitive. All case variants of - # ; INBOX (e.g., "iNbOx") MUST be interpreted as INBOX - # ; not as an astring. An astring which consists of - # ; the case-insensitive sequence "I" "N" "B" "O" "X" - # ; is considered to be INBOX and not an astring. - # ; Refer to section 5.1 for further - # ; semantic details of mailbox names. - # - # source://net-imap//lib/net/imap/response_parser.rb#637 - def mailbox; end - - # source://net-imap//lib/net/imap/response_parser.rb#869 - def mailbox_data__exists; end - - # mailbox-data = "FLAGS" SP flag-list / "LIST" SP mailbox-list / - # "LSUB" SP mailbox-list / "SEARCH" *(SP nz-number) / - # "STATUS" SP mailbox SP "(" [status-att-list] ")" / - # number SP "EXISTS" / number SP "RECENT" - # - # source://net-imap//lib/net/imap/response_parser.rb#1380 - def mailbox_data__flags; end - - # source://net-imap//lib/net/imap/response_parser.rb#1386 - def mailbox_data__list; end - - # source://net-imap//lib/net/imap/response_parser.rb#1391 - def mailbox_data__lsub; end - - # source://net-imap//lib/net/imap/response_parser.rb#870 - def mailbox_data__recent; end - - # RFC3501: - # mailbox-data = "SEARCH" *(SP nz-number) / ... - # RFC5256: SORT - # sort-data = "SORT" *(SP nz-number) - # RFC7162: CONDSTORE, QRESYNC - # mailbox-data =/ "SEARCH" [1*(SP nz-number) SP - # search-sort-mod-seq] - # sort-data = "SORT" [1*(SP nz-number) SP - # search-sort-mod-seq] - # ; Updates the SORT response from RFC 5256. - # search-sort-mod-seq = "(" "MODSEQ" SP mod-sequence-value ")" - # RFC9051: - # mailbox-data = obsolete-search-response / ... - # obsolete-search-response = "SEARCH" *(SP nz-number) - # - # source://net-imap//lib/net/imap/response_parser.rb#1498 - def mailbox_data__search; end - - # mailbox-data =/ "STATUS" SP mailbox SP "(" [status-att-list] ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1669 - def mailbox_data__status; end - - # source://net-imap//lib/net/imap/response_parser.rb#1392 - def mailbox_data__xlist; end - - # mailbox-list = "(" [mbx-list-flags] ")" SP - # (DQUOTE QUOTED-CHAR DQUOTE / nil) SP mailbox - # [SP mbox-list-extended] - # ; This is the list information pointed to by the ABNF - # ; item "mailbox-data", which is defined above - # - # source://net-imap//lib/net/imap/response_parser.rb#1399 - def mailbox_list; end - - # See Patterns::MBX_LIST_FLAGS - # - # source://net-imap//lib/net/imap/response_parser.rb#2101 - def mbx_list_flags; end - - # n.b. this handles both type and subtype - # - # RFC-3501 vs RFC-9051: - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "MESSAGE" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "FONT" / "MESSAGE" / "MODEL" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE "RFC822" DQUOTE - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE ("RFC822" / "GLOBAL") DQUOTE - # - # RFC-3501 & RFC-9051: - # media-text = DQUOTE "TEXT" DQUOTE SP media-subtype - # media-subtype = string - # TODO: check types - # - # source://net-imap//lib/net/imap/response_parser.rb#1180 - def media_basic; end - - # n.b. this handles both type and subtype - # - # RFC-3501 vs RFC-9051: - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "MESSAGE" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "FONT" / "MESSAGE" / "MODEL" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE "RFC822" DQUOTE - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE ("RFC822" / "GLOBAL") DQUOTE - # - # RFC-3501 & RFC-9051: - # media-text = DQUOTE "TEXT" DQUOTE SP media-subtype - # media-subtype = string - # */* --- catchall - # - # source://net-imap//lib/net/imap/response_parser.rb#1181 - def media_message; end - - # n.b. this handles both type and subtype - # - # RFC-3501 vs RFC-9051: - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "MESSAGE" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "FONT" / "MESSAGE" / "MODEL" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE "RFC822" DQUOTE - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE ("RFC822" / "GLOBAL") DQUOTE - # - # RFC-3501 & RFC-9051: - # media-text = DQUOTE "TEXT" DQUOTE SP media-subtype - # media-subtype = string - # message/rfc822, message/global - # - # source://net-imap//lib/net/imap/response_parser.rb#1182 - def media_text; end - - # n.b. this handles both type and subtype - # - # RFC-3501 vs RFC-9051: - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "MESSAGE" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # media-basic = ((DQUOTE ("APPLICATION" / "AUDIO" / "IMAGE" / - # "FONT" / "MESSAGE" / "MODEL" / - # "VIDEO") DQUOTE) / string) SP media-subtype - # - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE "RFC822" DQUOTE - # media-message = DQUOTE "MESSAGE" DQUOTE SP - # DQUOTE ("RFC822" / "GLOBAL") DQUOTE - # - # RFC-3501 & RFC-9051: - # media-text = DQUOTE "TEXT" DQUOTE SP media-subtype - # media-subtype = string - # - # source://net-imap//lib/net/imap/response_parser.rb#1172 - def media_type; end - - # source://net-imap//lib/net/imap/response_parser.rb#799 - def message_data__converted(klass = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/response_parser.rb#868 - def message_data__expunge; end - - # message-data = nz-number SP ("EXPUNGE" / ("FETCH" SP msg-att)) - # - # source://net-imap//lib/net/imap/response_parser.rb#847 - def message_data__fetch; end - - # source://net-imap//lib/net/imap/response_parser.rb#796 - def metadata_resp(klass = T.unsafe(nil)); end - - # RFC3501 & RFC9051: - # msg-att = "(" (msg-att-dynamic / msg-att-static) - # *(SP (msg-att-dynamic / msg-att-static)) ")" - # - # msg-att-dynamic = "FLAGS" SP "(" [flag-fetch *(SP flag-fetch)] ")" - # RFC5257 (ANNOTATE extension): - # msg-att-dynamic =/ "ANNOTATION" SP - # ( "(" entry-att *(SP entry-att) ")" / - # "(" entry *(SP entry) ")" ) - # RFC7162 (CONDSTORE extension): - # msg-att-dynamic =/ fetch-mod-resp - # fetch-mod-resp = "MODSEQ" SP "(" permsg-modsequence ")" - # RFC8970 (PREVIEW extension): - # msg-att-dynamic =/ "PREVIEW" SP nstring - # - # RFC3501: - # msg-att-static = "ENVELOPE" SP envelope / - # "INTERNALDATE" SP date-time / - # "RFC822" [".HEADER" / ".TEXT"] SP nstring / - # "RFC822.SIZE" SP number / - # "BODY" ["STRUCTURE"] SP body / - # "BODY" section ["<" number ">"] SP nstring / - # "UID" SP uniqueid - # RFC3516 (BINARY extension): - # msg-att-static =/ "BINARY" section-binary SP (nstring / literal8) - # / "BINARY.SIZE" section-binary SP number - # RFC8514 (SAVEDATE extension): - # msg-att-static =/ "SAVEDATE" SP (date-time / nil) - # RFC8474 (OBJECTID extension): - # msg-att-static =/ fetch-emailid-resp / fetch-threadid-resp - # fetch-emailid-resp = "EMAILID" SP "(" objectid ")" - # fetch-threadid-resp = "THREADID" SP ( "(" objectid ")" / nil ) - # RFC9051: - # msg-att-static = "ENVELOPE" SP envelope / - # "INTERNALDATE" SP date-time / - # "RFC822.SIZE" SP number64 / - # "BODY" ["STRUCTURE"] SP body / - # "BODY" section ["<" number ">"] SP nstring / - # "BINARY" section-binary SP (nstring / literal8) / - # "BINARY.SIZE" section-binary SP number / - # "UID" SP uniqueid - # - # Re https://www.rfc-editor.org/errata/eid7246, I'm adding "offset" to the - # official "BINARY" ABNF, like so: - # - # msg-att-static =/ "BINARY" section-binary ["<" number ">"] SP - # (nstring / literal8) - # - # source://net-imap//lib/net/imap/response_parser.rb#933 - def msg_att(n); end - - # appends "[section]" and "" to the base label - # - # source://net-imap//lib/net/imap/response_parser.rb#970 - def msg_att__label; end - - # source://net-imap//lib/net/imap/response_parser.rb#795 - def myrights_data(klass = T.unsafe(nil)); end - - # namespace = nil / "(" 1*namespace-descr ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1826 - def namespace; end - - # namespace-descr = "(" string SP - # (DQUOTE QUOTED-CHAR DQUOTE / nil) - # [namespace-response-extensions] ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1837 - def namespace_descr; end - - # namespace-response = "NAMESPACE" SP namespace - # SP namespace SP namespace - # ; The first Namespace is the Personal Namespace(s). - # ; The second Namespace is the Other Users' - # ; Namespace(s). - # ; The third Namespace is the Shared Namespace(s). - # - # source://net-imap//lib/net/imap/response_parser.rb#1814 - def namespace_response; end - - # namespace-response-extensions = *namespace-response-extension - # namespace-response-extension = SP string SP - # "(" string *(SP string) ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1849 - def namespace_response_extensions; end - - # source://net-imap//lib/net/imap/response_parser.rb#1049 - def ndatetime; end - - # source://net-imap//lib/net/imap/response_parser.rb#2184 - def next_token; end - - # source://net-imap//lib/net/imap/response_parser.rb#2166 - def nil_atom; end + # pkg:gem/net-imap#lib/net/imap/sasl/cram_md5_authenticator.rb:31 + def initial_response?; end - # env-from = "(" 1*address ")" / nil - # env-sender = "(" 1*address ")" / nil - # env-reply-to = "(" 1*address ")" / nil - # env-to = "(" 1*address ")" / nil - # env-cc = "(" 1*address ")" / nil - # env-bcc = "(" 1*address ")" / nil - # - # source://net-imap//lib/net/imap/response_parser.rb#1027 - def nlist__address; end + # pkg:gem/net-imap#lib/net/imap/sasl/cram_md5_authenticator.rb:33 + def process(challenge); end - # source://net-imap//lib/net/imap/response_parser.rb#2150 - def nparens__objectid; end + private - # source://net-imap//lib/net/imap/response_parser.rb#576 - def nquoted; end + # pkg:gem/net-imap#lib/net/imap/sasl/cram_md5_authenticator.rb:44 + def hmac_md5(text, key); end +end - # nstring = string / nil +# Net::IMAP authenticator for the +DIGEST-MD5+ SASL mechanism type, specified +# in RFC-2831[https://www.rfc-editor.org/rfc/rfc2831]. See Net::IMAP#authenticate. +# +# == Deprecated +# +# "+DIGEST-MD5+" has been deprecated by +# RFC-6331[https://www.rfc-editor.org/rfc/rfc6331] and should not be relied on for +# security. It is included for compatibility with existing servers. +# +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:11 +class Net::IMAP::SASL::DigestMD5Authenticator + # :call-seq: + # new(username, password, authzid = nil, **options) -> authenticator + # new(username:, password:, authzid: nil, **options) -> authenticator + # new(authcid:, password:, authzid: nil, **options) -> authenticator # - # source://net-imap//lib/net/imap/response_parser.rb#568 - def nstring; end - - # source://net-imap//lib/net/imap/response_parser.rb#572 - def nstring8; end - - # TODO: handle atom, astring_chars, and tag entirely inside the lexer - # RFC8474: - # objectid = 1*255(ALPHA / DIGIT / "_" / "-") - # ; characters in object identifiers are case - # ; significant + # Creates an Authenticator for the "+DIGEST-MD5+" SASL mechanism. # - # source://net-imap//lib/net/imap/response_parser.rb#2147 - def objectid; end - - # source://net-imap//lib/net/imap/response_parser.rb#2141 - def parens__modseq; end - - # source://net-imap//lib/net/imap/response_parser.rb#2149 - def parens__objectid; end - - # partial-range = partial-range-first / partial-range-last - # tagged-ext-simple =/ partial-range-last + # Called by Net::IMAP#authenticate and similar methods on other clients. # - # source://net-imap//lib/net/imap/response_parser.rb#1580 - def partial_range; end - - # partial-results = sequence-set / "NIL" - # ;; from [RFC3501]. - # ;; NIL indicates that no results correspond to - # ;; the requested range. + # ==== Parameters # - # source://net-imap//lib/net/imap/response_parser.rb#1594 - def partial_results; end - - # This allows illegal "]" in flag names (Gmail), - # or "\*" in a FLAGS response (greenmail). + # * #authcid ― Authentication identity that is associated with #password. # - # source://net-imap//lib/net/imap/response_parser.rb#2094 - def quirky__flag_list(name); end - - # source://net-imap//lib/net/imap/response_parser.rb#1407 - def quota_response; end - - # source://net-imap//lib/net/imap/response_parser.rb#1440 - def quotaroot_response; end - - # reads all the way up until CRLF + # #username ― An alias for +authcid+. # - # source://net-imap//lib/net/imap/response_parser.rb#786 - def remaining_unparsed; end - - # As a workaround for buggy servers, allow a trailing SP: - # *(SP capability) [SP] - # - # source://net-imap//lib/net/imap/response_parser.rb#1770 - def resp_code__capability; end - - # already matched: "APPENDUID" - # - # +UIDPLUS+ ABNF:: https://www.rfc-editor.org/rfc/rfc4315.html#section-4 - # resp-code-apnd = "APPENDUID" SP nz-number SP append-uid - # append-uid = uniqueid - # append-uid =/ uid-set - # ; only permitted if client uses [MULTIAPPEND] - # ; to append multiple messages. - # - # n.b, uniqueid ⊂ uid-set. To avoid inconsistent return types, we always - # match uid_set even if that returns a single-member array. - # - # source://net-imap//lib/net/imap/response_parser.rb#2004 - def resp_code_apnd__data; end - - # already matched: "COPYUID" - # - # resp-code-copy = "COPYUID" SP nz-number SP uid-set SP uid-set - # - # source://net-imap//lib/net/imap/response_parser.rb#2013 - def resp_code_copy__data; end - - # resp-cond-auth = ("OK" / "PREAUTH") SP resp-text - # - # NOTE: In the spirit of RFC9051 Appx E 23 (and to workaround existing - # servers), we don't require a final SP and instead parse this as: - # - # resp-cond-auth = ("OK" / "PREAUTH") [SP resp-text] - # - # source://net-imap//lib/net/imap/response_parser.rb#828 - def resp_cond_auth; end - - # expects "OK" or "PREAUTH" and raises InvalidResponseError on failure - # - # @raise [InvalidResponseError] - # - # source://net-imap//lib/net/imap/response_parser.rb#552 - def resp_cond_auth__name; end - - # resp-cond-bye = "BYE" SP resp-text - # - # NOTE: In the spirit of RFC9051 Appx E 23 (and to workaround existing - # servers), we don't require a final SP and instead parse this as: - # - # resp-cond-bye = "BYE" [SP resp-text] - # - # source://net-imap//lib/net/imap/response_parser.rb#840 - def resp_cond_bye; end - - # RFC3501 & RFC9051: - # resp-cond-state = ("OK" / "NO" / "BAD") SP resp-text - # - # NOTE: In the spirit of RFC9051 Appx E 23 (and to workaround existing - # servers), we don't require a final SP and instead parse this as: - # - # resp-cond-state = ("OK" / "NO" / "BAD") [SP resp-text] - # - # source://net-imap//lib/net/imap/response_parser.rb#814 - def resp_cond_state; end - - # expects "OK" or "NO" or "BAD" and raises InvalidResponseError on failure - # - # @raise [InvalidResponseError] - # - # source://net-imap//lib/net/imap/response_parser.rb#560 - def resp_cond_state__name; end - - # source://net-imap//lib/net/imap/response_parser.rb#818 - def resp_cond_state__untagged; end - - # RFC3501: - # resp-text = ["[" resp-text-code "]" SP] text - # RFC9051: - # resp-text = ["[" resp-text-code "]" SP] [text] - # - # We leniently re-interpret this as - # resp-text = ["[" resp-text-code "]" [SP [text]] / [text] - # - # source://net-imap//lib/net/imap/response_parser.rb#1885 - def resp_text; end - - # RFC3501 (See https://www.rfc-editor.org/errata/rfc3501): - # resp-text-code = "ALERT" / - # "BADCHARSET" [SP "(" charset *(SP charset) ")" ] / - # capability-data / "PARSE" / - # "PERMANENTFLAGS" SP "(" [flag-perm *(SP flag-perm)] ")" / - # "READ-ONLY" / "READ-WRITE" / "TRYCREATE" / - # "UIDNEXT" SP nz-number / "UIDVALIDITY" SP nz-number / - # "UNSEEN" SP nz-number / - # atom [SP 1*] - # capability-data = "CAPABILITY" *(SP capability) SP "IMAP4rev1" - # *(SP capability) - # - # RFC5530: - # resp-text-code =/ "UNAVAILABLE" / "AUTHENTICATIONFAILED" / - # "AUTHORIZATIONFAILED" / "EXPIRED" / - # "PRIVACYREQUIRED" / "CONTACTADMIN" / "NOPERM" / - # "INUSE" / "EXPUNGEISSUED" / "CORRUPTION" / - # "SERVERBUG" / "CLIENTBUG" / "CANNOT" / - # "LIMIT" / "OVERQUOTA" / "ALREADYEXISTS" / - # "NONEXISTENT" - # RFC9051: - # resp-text-code = "ALERT" / - # "BADCHARSET" [SP "(" charset *(SP charset) ")" ] / - # capability-data / "PARSE" / - # "PERMANENTFLAGS" SP "(" [flag-perm *(SP flag-perm)] ")" / - # "READ-ONLY" / "READ-WRITE" / "TRYCREATE" / - # "UIDNEXT" SP nz-number / "UIDVALIDITY" SP nz-number / - # resp-code-apnd / resp-code-copy / "UIDNOTSTICKY" / - # "UNAVAILABLE" / "AUTHENTICATIONFAILED" / - # "AUTHORIZATIONFAILED" / "EXPIRED" / - # "PRIVACYREQUIRED" / "CONTACTADMIN" / "NOPERM" / - # "INUSE" / "EXPUNGEISSUED" / "CORRUPTION" / - # "SERVERBUG" / "CLIENTBUG" / "CANNOT" / - # "LIMIT" / "OVERQUOTA" / "ALREADYEXISTS" / - # "NONEXISTENT" / "NOTSAVED" / "HASCHILDREN" / - # "CLOSED" / - # "UNKNOWN-CTE" / - # atom [SP 1*] - # capability-data = "CAPABILITY" *(SP capability) SP "IMAP4rev2" - # *(SP capability) - # - # RFC4315 (UIDPLUS), RFC9051 (IMAP4rev2): - # resp-code-apnd = "APPENDUID" SP nz-number SP append-uid - # resp-code-copy = "COPYUID" SP nz-number SP uid-set SP uid-set - # resp-text-code =/ resp-code-apnd / resp-code-copy / "UIDNOTSTICKY" - # - # RFC7162 (CONDSTORE): - # resp-text-code =/ "HIGHESTMODSEQ" SP mod-sequence-value / - # "NOMODSEQ" / - # "MODIFIED" SP sequence-set - # RFC7162 (QRESYNC): - # resp-text-code =/ "CLOSED" - # - # RFC8474: OBJECTID - # resp-text-code =/ "MAILBOXID" SP "(" objectid ")" - # - # RFC9586: UIDONLY - # resp-text-code =/ "UIDREQUIRED" - # - # source://net-imap//lib/net/imap/response_parser.rb#1952 - def resp_text_code; end - - # Returns atom.upcase - # - # source://net-imap//lib/net/imap/response_parser.rb#1981 - def resp_text_code__name; end - - # [RFC3501 & RFC9051:] - # response = *(continue-req / response-data) response-done - # - # For simplicity, response isn't interpreted as the combination of the - # three response types, but instead represents any individual server - # response. Our simplified interpretation is defined as: - # response = continue-req | response_data | response-tagged - # - # n.b: our "response-tagged" definition parses "greeting" too. - # - # source://net-imap//lib/net/imap/response_parser.rb#679 - def response; end - - # [RFC3501:] - # response-data = "*" SP (resp-cond-state / resp-cond-bye / - # mailbox-data / message-data / capability-data) CRLF - # [RFC4466:] - # response-data = "*" SP response-payload CRLF - # response-payload = resp-cond-state / resp-cond-bye / - # mailbox-data / message-data / capability-data - # RFC5161 (ENABLE capability): - # response-data =/ "*" SP enable-data CRLF - # RFC5255 (LANGUAGE capability) - # response-payload =/ language-data - # RFC5255 (I18NLEVEL=1 and I18NLEVEL=2 capabilities) - # response-payload =/ comparator-data - # [RFC9051:] - # response-data = "*" SP (resp-cond-state / resp-cond-bye / - # mailbox-data / message-data / capability-data / - # enable-data) CRLF - # - # [merging in greeting and response-fatal:] - # greeting = "*" SP (resp-cond-auth / resp-cond-bye) CRLF - # response-fatal = "*" SP resp-cond-bye CRLF - # response-data =/ "*" SP (resp-cond-auth / resp-cond-bye) CRLF - # [removing duplicates, this is simply] - # response-payload =/ resp-cond-auth - # - # TODO: remove resp-cond-auth and handle greeting separately - # - # source://net-imap//lib/net/imap/response_parser.rb#731 - def response_data; end - - # source://net-imap//lib/net/imap/response_parser.rb#791 - def response_data__ignored; end - - # source://net-imap//lib/net/imap/response_parser.rb#792 - def response_data__noop; end - - # source://net-imap//lib/net/imap/response_parser.rb#862 - def response_data__simple_numeric; end - - # source://net-imap//lib/net/imap/response_parser.rb#773 - def response_data__unhandled(klass = T.unsafe(nil)); end - - # RFC3501 & RFC9051: - # response-tagged = tag SP resp-cond-state CRLF - # - # source://net-imap//lib/net/imap/response_parser.rb#803 - def response_tagged; end - - # From RFC5267 (CONTEXT=SEARCH, CONTEXT=SORT) and RFC9394 (PARTIAL): - # ret-data-partial = "PARTIAL" - # SP "(" partial-range SP partial-results ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1570 - def ret_data_partial__value; end - - # search-correlator = SP "(" "TAG" SP tag-string ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1608 - def search_correlator; end - - # From RFC4731 (ESEARCH): - # search-return-data = "MIN" SP nz-number / - # "MAX" SP nz-number / - # "ALL" SP sequence-set / - # "COUNT" SP number / - # search-ret-data-ext - # ; All return data items conform to - # ; search-ret-data-ext syntax. - # search-ret-data-ext = search-modifier-name SP search-return-value - # search-modifier-name = tagged-ext-label - # search-return-value = tagged-ext-val - # - # From RFC4731 (ESEARCH): - # search-return-data =/ "MODSEQ" SP mod-sequence-value - # - # From RFC9394 (PARTIAL): - # search-return-data =/ ret-data-partial - # - # source://net-imap//lib/net/imap/response_parser.rb#1552 - def search_return_data; end - - # search-return-value = tagged-ext-val - # ; Data for the returned search option. - # ; A single "nz-number"/"number"/"number64" value - # ; can be returned as an atom (i.e., without - # ; quoting). A sequence-set can be returned - # ; as an atom as well. - # - # source://net-imap//lib/net/imap/response_parser.rb#1605 - def search_return_value; end - - # section = "[" [section-spec] "]" - # - # source://net-imap//lib/net/imap/response_parser.rb#1309 - def section; end - - # section-binary = "[" [section-part] "]" - # - # source://net-imap//lib/net/imap/response_parser.rb#1316 - def section_binary; end - - # TODO: handle atom, astring_chars, and tag entirely inside the lexer - # section-part = nz-number *("." nz-number) - # ; body part reference. - # ; Allows for accessing nested body parts. - # - # source://net-imap//lib/net/imap/response_parser.rb#1355 - def section_part; end - - # section-spec = section-msgtext / (section-part ["." section-text]) - # section-msgtext = "HEADER" / - # "HEADER.FIELDS" [".NOT"] SP header-list / - # "TEXT" - # ; top-level or MESSAGE/RFC822 or - # ; MESSAGE/GLOBAL part - # section-part = nz-number *("." nz-number) - # ; body part reference. - # ; Allows for accessing nested body parts. - # section-text = section-msgtext / "MIME" - # ; text other than actual body part (headers, - # ; etc.) - # - # n.b: we could "cheat" here and just grab all text inside the brackets, - # but literals would need special treatment. - # - # source://net-imap//lib/net/imap/response_parser.rb#1337 - def section_spec; end - - # sequence-set = (seq-number / seq-range) ["," sequence-set] - # sequence-set =/ seq-last-command - # ; Allow for "result of the last command" - # ; indicator. - # seq-last-command = "$" - # - # *note*: doesn't match seq-last-command - # - # source://net-imap//lib/net/imap/response_parser.rb#493 - def sequence_set; end - - # RFC3501: - # mailbox-data = "SEARCH" *(SP nz-number) / ... - # RFC5256: SORT - # sort-data = "SORT" *(SP nz-number) - # RFC7162: CONDSTORE, QRESYNC - # mailbox-data =/ "SEARCH" [1*(SP nz-number) SP - # search-sort-mod-seq] - # sort-data = "SORT" [1*(SP nz-number) SP - # search-sort-mod-seq] - # ; Updates the SORT response from RFC 5256. - # search-sort-mod-seq = "(" "MODSEQ" SP mod-sequence-value ")" - # RFC9051: - # mailbox-data = obsolete-search-response / ... - # obsolete-search-response = "SEARCH" *(SP nz-number) - # - # source://net-imap//lib/net/imap/response_parser.rb#1510 - def sort_data; end - - # RFC3501 - # status-att-list = status-att SP number *(SP status-att SP number) - # RFC4466, RFC9051, and RFC3501 Errata - # status-att-list = status-att-val *(SP status-att-val) - # - # source://net-imap//lib/net/imap/response_parser.rb#1680 - def status_att_list; end - - # RFC3501 Errata: - # status-att-val = ("MESSAGES" SP number) / ("RECENT" SP number) / - # ("UIDNEXT" SP nz-number) / ("UIDVALIDITY" SP nz-number) / - # ("UNSEEN" SP number) - # RFC4466: - # status-att-val = ("MESSAGES" SP number) / - # ("RECENT" SP number) / - # ("UIDNEXT" SP nz-number) / - # ("UIDVALIDITY" SP nz-number) / - # ("UNSEEN" SP number) - # ;; Extensions to the STATUS responses - # ;; should extend this production. - # ;; Extensions should use the generic - # ;; syntax defined by tagged-ext. - # RFC9051: - # status-att-val = ("MESSAGES" SP number) / - # ("UIDNEXT" SP nz-number) / - # ("UIDVALIDITY" SP nz-number) / - # ("UNSEEN" SP number) / - # ("DELETED" SP number) / - # ("SIZE" SP number64) - # ; Extensions to the STATUS responses - # ; should extend this production. - # ; Extensions should use the generic - # ; syntax defined by tagged-ext. - # RFC7162: - # status-att-val =/ "HIGHESTMODSEQ" SP mod-sequence-valzer - # ;; Extends non-terminal defined in [RFC4466]. - # ;; Value 0 denotes that the mailbox doesn't - # ;; support persistent mod-sequences - # ;; as described in Section 3.1.2.2. - # RFC7889: - # status-att-val =/ "APPENDLIMIT" SP (number / nil) - # ;; status-att-val is defined in RFC 4466 - # RFC8438: - # status-att-val =/ "SIZE" SP number64 - # RFC8474: - # status-att-val =/ "MAILBOXID" SP "(" objectid ")" - # ; follows tagged-ext production from [RFC4466] - # - # source://net-imap//lib/net/imap/response_parser.rb#1725 - def status_att_val; end - - # source://net-imap//lib/net/imap/response_parser.rb#514 - def tag; end - - # astring = 1*ASTRING-CHAR / string - # tag-string = astring - # ; represented as - # - # source://net-imap//lib/net/imap/response_parser.rb#1615 - def tag_string; end - - # tagged-ext-comp = astring / - # tagged-ext-comp *(SP tagged-ext-comp) / - # "(" tagged-ext-comp ")" - # ; Extensions that follow this general - # ; syntax should use nstring instead of - # ; astring when appropriate in the context - # ; of the extension. - # ; Note that a message set or a "number" - # ; can always be represented as an "atom". - # ; A URL should be represented as - # ; a "quoted" string. - # - # source://net-imap//lib/net/imap/response_parser.rb#596 - def tagged_ext_comp; end - - # tagged-ext-simple is a subset of atom - # TODO: recognize sequence-set in the lexer - # - # tagged-ext-simple = sequence-set / number / number64 - # - # source://net-imap//lib/net/imap/response_parser.rb#613 - def tagged_ext_simple; end - - # tagged-ext-val = tagged-ext-simple / - # "(" [tagged-ext-comp] ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#619 - def tagged_ext_val; end - - # TEXT-CHAR = - # RFC3501: - # text = 1*TEXT-CHAR - # RFC9051: - # text = 1*(TEXT-CHAR / UTF8-2 / UTF8-3 / UTF8-4) - # ; Non-ASCII text can only be returned - # ; after ENABLE IMAP4rev2 command - # - # source://net-imap//lib/net/imap/response_parser.rb#1869 - def text; end - - # an "accept" versiun of #text - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_parser.rb#1874 - def text?; end - - # 1* - # - # source://net-imap//lib/net/imap/response_parser.rb#1984 - def text_chars_except_rbra; end - - # RFC5256: THREAD - # thread-data = "THREAD" [SP 1*thread-list] - # - # source://net-imap//lib/net/imap/response_parser.rb#1619 - def thread_data; end - - # RFC5256: THREAD - # thread-list = "(" (thread-members / thread-nested) ")" - # - # source://net-imap//lib/net/imap/response_parser.rb#1633 - def thread_list; end - - # RFC5256: THREAD - # thread-members = nz-number *(SP nz-number) [SP thread-nested] - # - # source://net-imap//lib/net/imap/response_parser.rb#1646 - def thread_members; end - - # RFC5256: THREAD - # thread-nested = 2*thread-list - # - # source://net-imap//lib/net/imap/response_parser.rb#1662 - def thread_nested; end - - # RFC-4315 (UIDPLUS) or RFC9051 (IMAP4rev2): - # uid-set = (uniqueid / uid-range) *("," uid-set) - # uid-range = (uniqueid ":" uniqueid) - # ; two uniqueid values and all values - # ; between these two regardless of order. - # ; Example: 2:4 and 4:2 are equivalent. - # uniqueid = nz-number - # ; Strictly ascending - # - # source://net-imap//lib/net/imap/response_parser.rb#2160 - def uid_set; end - - # uidfetch-resp = uniqueid SP "UIDFETCH" SP msg-att - # - # source://net-imap//lib/net/imap/response_parser.rb#855 - def uidfetch_resp; end - - # See https://developers.google.com/gmail/imap/imap-extensions - # - # source://net-imap//lib/net/imap/response_parser.rb#2108 - def x_gm_label; end - - # See https://developers.google.com/gmail/imap/imap-extensions - # - # source://net-imap//lib/net/imap/response_parser.rb#2111 - def x_gm_labels; end -end - -# ASTRING-CHAR = ATOM-CHAR / resp-specials -# resp-specials = "]" -# -# source://net-imap//lib/net/imap/response_parser.rb#504 -Net::IMAP::ResponseParser::ASTRING_CHARS_TOKENS = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#506 -Net::IMAP::ResponseParser::ASTRING_TOKENS = T.let(T.unsafe(nil), Array) - -# basic utility methods for parsing. -# -# (internal API, subject to change) -# -# source://net-imap//lib/net/imap/response_parser/parser_utils.rb#9 -module Net::IMAP::ResponseParser::ParserUtils - private - - # like match, but does not raise error on failure. - # - # returns and shifts token on successful match - # returns nil and leaves @token unshifted on no match - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#148 - def accept(*args); end - - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#198 - def accept_re(re); end - - # To be used conditionally: - # assert_no_lookahead if config.debug? - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#158 - def assert_no_lookahead; end - - # TODO: after checking the lookahead, use a regexp for remaining chars. - # That way a loop isn't needed. - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#121 - def combine_adjacent(*tokens); end - - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#169 - def lookahead; end - - # like match, without consuming the token - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#174 - def lookahead!(*args); end - - # like accept, without consuming the token - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#165 - def lookahead?(*symbols); end - - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#133 - def match(*args); end - - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#204 - def match_re(re, name); end - - # @raise [ResponseParseError] - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#218 - def parse_error(fmt, *args); end - - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#193 - def peek_re(re); end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#188 - def peek_re?(re); end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#183 - def peek_str?(str); end - - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#214 - def shift_token; end -end - -# source://net-imap//lib/net/imap/response_parser/parser_utils.rb#11 -module Net::IMAP::ResponseParser::ParserUtils::Generator - # we can skip lexer for single character matches, as a shortcut - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#17 - def def_char_matchers(name, char, token); end - - # TODO: move coersion to the token.value method? - # - # source://net-imap//lib/net/imap/response_parser/parser_utils.rb#62 - def def_token_matchers(name, *token_symbols, coerce: T.unsafe(nil), send: T.unsafe(nil)); end -end - -# source://net-imap//lib/net/imap/response_parser/parser_utils.rb#13 -Net::IMAP::ResponseParser::ParserUtils::Generator::LOOKAHEAD = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser/parser_utils.rb#14 -Net::IMAP::ResponseParser::ParserUtils::Generator::SHIFT_TOKEN = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser.rb#84 -module Net::IMAP::ResponseParser::Patterns - include ::Net::IMAP::ResponseParser::Patterns::RFC5234 - include ::Net::IMAP::ResponseParser::Patterns::RFC3629 - - private - - # source://net-imap//lib/net/imap/response_parser.rb#377 - def unescape_quoted(quoted); end - - # source://net-imap//lib/net/imap/response_parser.rb#371 - def unescape_quoted!(quoted); end - - class << self - # source://net-imap//lib/net/imap/response_parser.rb#377 - def unescape_quoted(quoted); end - - # source://net-imap//lib/net/imap/response_parser.rb#371 - def unescape_quoted!(quoted); end - end -end - -# source://net-imap//lib/net/imap/response_parser.rb#181 -Net::IMAP::ResponseParser::Patterns::ASTRING_CHAR = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#185 -Net::IMAP::ResponseParser::Patterns::ASTRING_CHARS = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#179 -Net::IMAP::ResponseParser::Patterns::ASTRING_SPECIALS = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#184 -Net::IMAP::ResponseParser::Patterns::ATOM = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#186 -Net::IMAP::ResponseParser::Patterns::ATOMISH = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#182 -Net::IMAP::ResponseParser::Patterns::ATOM_CHAR = T.let(T.unsafe(nil), Regexp) - -# atomish = 1* -# ; We use "atomish" for msg-att and section, in order -# ; to simplify "BODY[HEADER.FIELDS (foo bar)]". -# -# atom-specials = "(" / ")" / "{" / SP / CTL / list-wildcards / -# quoted-specials / resp-specials -# ATOM-CHAR = -# atom = 1*ATOM-CHAR -# ASTRING-CHAR = ATOM-CHAR / resp-specials -# tag = 1* -# -# source://net-imap//lib/net/imap/response_parser.rb#178 -Net::IMAP::ResponseParser::Patterns::ATOM_SPECIALS = T.let(T.unsafe(nil), Regexp) - -# CHAR8 = %x01-ff -# ; any OCTET except NUL, %x00 -# -# source://net-imap//lib/net/imap/response_parser.rb#158 -Net::IMAP::ResponseParser::Patterns::CHAR8 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#194 -Net::IMAP::ResponseParser::Patterns::CODE_TEXT = T.let(T.unsafe(nil), Regexp) - -# resp-text-code = ... / atom [SP 1*] -# -# source://net-imap//lib/net/imap/response_parser.rb#193 -Net::IMAP::ResponseParser::Patterns::CODE_TEXT_CHAR = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#86 -module Net::IMAP::ResponseParser::Patterns::CharClassSubtraction; end - -# flag = "\Answered" / "\Flagged" / "\Deleted" / -# "\Seen" / "\Draft" / flag-keyword / flag-extension -# ; Does not include "\Recent" -# flag-extension = "\" atom -# ; Future expansion. Client implementations -# ; MUST accept flag-extension flags. Server -# ; implementations MUST NOT generate -# ; flag-extension flags except as defined by -# ; a future Standard or Standards Track -# ; revisions of this specification. -# flag-keyword = "$MDNSent" / "$Forwarded" / "$Junk" / -# "$NotJunk" / "$Phishing" / atom -# -# flag-perm = flag / "\*" -# -# Not checking for max one mbx-list-sflag in the parser. -# >>> -# mbx-list-oflag = "\Noinferiors" / child-mbox-flag / -# "\Subscribed" / "\Remote" / flag-extension -# ; Other flags; multiple from this list are -# ; possible per LIST response, but each flag -# ; can only appear once per LIST response -# mbx-list-sflag = "\NonExistent" / "\Noselect" / "\Marked" / -# "\Unmarked" -# ; Selectability flags; only one per LIST response -# child-mbox-flag = "\HasChildren" / "\HasNoChildren" -# ; attributes for the CHILDREN return option, at most -# ; one possible per LIST response -# -# source://net-imap//lib/net/imap/response_parser.rb#224 -Net::IMAP::ResponseParser::Patterns::FLAG = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#225 -Net::IMAP::ResponseParser::Patterns::FLAG_EXTENSION = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#226 -Net::IMAP::ResponseParser::Patterns::FLAG_KEYWORD = T.let(T.unsafe(nil), Regexp) - -# flag-list = "(" [flag *(SP flag)] ")" -# resp-text-code =/ "PERMANENTFLAGS" SP -# "(" [flag-perm *(SP flag-perm)] ")" -# mbx-list-flags = *(mbx-list-oflag SP) mbx-list-sflag -# *(SP mbx-list-oflag) / -# mbx-list-oflag *(SP mbx-list-oflag) -# (Not checking for max one mbx-list-sflag in the parser.) -# -# source://net-imap//lib/net/imap/response_parser.rb#237 -Net::IMAP::ResponseParser::Patterns::FLAG_LIST = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#227 -Net::IMAP::ResponseParser::Patterns::FLAG_PERM = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#238 -Net::IMAP::ResponseParser::Patterns::FLAG_PERM_LIST = T.let(T.unsafe(nil), Regexp) - -# list-wildcards = "%" / "*" -# -# source://net-imap//lib/net/imap/response_parser.rb#161 -Net::IMAP::ResponseParser::Patterns::LIST_WILDCARDS = T.let(T.unsafe(nil), Regexp) - -# RFC3501: -# literal = "{" number "}" CRLF *CHAR8 -# ; Number represents the number of CHAR8s -# RFC9051: -# literal = "{" number64 ["+"] "}" CRLF *CHAR8 -# ; represents the number of CHAR8s. -# ; A non-synchronizing literal is distinguished -# ; from a synchronizing literal by the presence of -# ; "+" before the closing "}". -# ; Non-synchronizing literals are not allowed when -# ; sent from server to the client. -# -# source://net-imap//lib/net/imap/response_parser.rb#357 -Net::IMAP::ResponseParser::Patterns::LITERAL = T.let(T.unsafe(nil), Regexp) - -# RFC3516 (BINARY): -# literal8 = "~{" number "}" CRLF *OCTET -# ; represents the number of OCTETs -# ; in the response string. -# RFC9051: -# literal8 = "~{" number64 "}" CRLF *OCTET -# ; represents the number of OCTETs -# ; in the response string. -# -# source://net-imap//lib/net/imap/response_parser.rb#367 -Net::IMAP::ResponseParser::Patterns::LITERAL8 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#228 -Net::IMAP::ResponseParser::Patterns::MBX_FLAG = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#239 -Net::IMAP::ResponseParser::Patterns::MBX_LIST_FLAGS = T.let(T.unsafe(nil), Regexp) - -# nz-number = digit-nz *DIGIT -# ; Non-zero unsigned 32-bit integer -# ; (0 < n < 4,294,967,296) -# -# source://net-imap//lib/net/imap/response_parser.rb#281 -Net::IMAP::ResponseParser::Patterns::NZ_NUMBER = T.let(T.unsafe(nil), Regexp) - -# partial-range = partial-range-first / partial-range-last -# -# source://net-imap//lib/net/imap/response_parser.rb#343 -Net::IMAP::ResponseParser::Patterns::PARTIAL_RANGE = T.let(T.unsafe(nil), Regexp) - -# partial-range-first = nz-number ":" nz-number -# ;; Request to search from oldest (lowest UIDs) to -# ;; more recent messages. -# ;; A range 500:400 is the same as 400:500. -# ;; This is similar to from [RFC3501] -# ;; but cannot contain "*". -# -# source://net-imap//lib/net/imap/response_parser.rb#334 -Net::IMAP::ResponseParser::Patterns::PARTIAL_RANGE_FIRST = T.let(T.unsafe(nil), Regexp) - -# partial-range-last = MINUS nz-number ":" MINUS nz-number -# ;; Request to search from newest (highest UIDs) to -# ;; oldest messages. -# ;; A range -500:-400 is the same as -400:-500. -# -# source://net-imap//lib/net/imap/response_parser.rb#340 -Net::IMAP::ResponseParser::Patterns::PARTIAL_RANGE_LAST = T.let(T.unsafe(nil), Regexp) - -# Gmail allows SP and "]" in flags....... -# -# source://net-imap//lib/net/imap/response_parser.rb#242 -Net::IMAP::ResponseParser::Patterns::QUIRKY_FLAG = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#243 -Net::IMAP::ResponseParser::Patterns::QUIRKY_FLAGS_LIST = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#254 -Net::IMAP::ResponseParser::Patterns::QUOTED_CHAR_esc = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#255 -Net::IMAP::ResponseParser::Patterns::QUOTED_CHAR_rev1 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#256 -Net::IMAP::ResponseParser::Patterns::QUOTED_CHAR_rev2 = T.let(T.unsafe(nil), Regexp) - -# RFC3501: -# QUOTED-CHAR = / -# "\" quoted-specials -# RFC9051: -# QUOTED-CHAR = / -# "\" quoted-specials / UTF8-2 / UTF8-3 / UTF8-4 -# RFC3501 & RFC9051: -# quoted = DQUOTE *QUOTED-CHAR DQUOTE -# -# source://net-imap//lib/net/imap/response_parser.rb#253 -Net::IMAP::ResponseParser::Patterns::QUOTED_CHAR_safe = T.let(T.unsafe(nil), Regexp) - -# quoted-specials = DQUOTE / "\" -# -# source://net-imap//lib/net/imap/response_parser.rb#163 -Net::IMAP::ResponseParser::Patterns::QUOTED_SPECIALS = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#258 -Net::IMAP::ResponseParser::Patterns::QUOTED_rev1 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#259 -Net::IMAP::ResponseParser::Patterns::QUOTED_rev2 = T.let(T.unsafe(nil), Regexp) - -# resp-specials = "]" -# -# source://net-imap//lib/net/imap/response_parser.rb#165 -Net::IMAP::ResponseParser::Patterns::RESP_SPECIALS = T.let(T.unsafe(nil), Regexp) - -# UTF-8, a transformation format of ISO 10646 -# >>> -# UTF8-1 = %x00-7F -# UTF8-tail = %x80-BF -# UTF8-2 = %xC2-DF UTF8-tail -# UTF8-3 = %xE0 %xA0-BF UTF8-tail / %xE1-EC 2( UTF8-tail ) / -# %xED %x80-9F UTF8-tail / %xEE-EF 2( UTF8-tail ) -# UTF8-4 = %xF0 %x90-BF 2( UTF8-tail ) / %xF1-F3 3( UTF8-tail ) / -# %xF4 %x80-8F 2( UTF8-tail ) -# UTF8-char = UTF8-1 / UTF8-2 / UTF8-3 / UTF8-4 -# UTF8-octets = *( UTF8-char ) -# -# n.b. String * Integer is used for repetition, rather than /x{3}/, -# because ruby 3.2's linear-time cache-based optimization doesn't work -# with "bounded or fixed times repetition nesting in another repetition -# (e.g. /(a{2,3})*/). It is an implementation issue entirely, but we -# believe it is hard to support this case correctly." -# See https://bugs.ruby-lang.org/issues/19104 -# -# source://net-imap//lib/net/imap/response_parser.rb#138 -module Net::IMAP::ResponseParser::Patterns::RFC3629; end - -# aka ASCII 7bit -# -# source://net-imap//lib/net/imap/response_parser.rb#139 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_1 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#141 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_2 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#142 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_3 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#146 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_4 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#149 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_CHAR = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#150 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_OCTETS = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#140 -Net::IMAP::ResponseParser::Patterns::RFC3629::UTF8_TAIL = T.let(T.unsafe(nil), Regexp) - -# From RFC5234, "Augmented BNF for Syntax Specifications: ABNF" -# >>> -# ALPHA = %x41-5A / %x61-7A ; A-Z / a-z -# CHAR = %x01-7F -# CRLF = CR LF -# ; Internet standard newline -# CTL = %x00-1F / %x7F -# ; controls -# DIGIT = %x30-39 -# ; 0-9 -# DQUOTE = %x22 -# ; " (Double Quote) -# HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" -# OCTET = %x00-FF -# SP = %x20 -# -# source://net-imap//lib/net/imap/response_parser.rb#108 -module Net::IMAP::ResponseParser::Patterns::RFC5234; end - -# source://net-imap//lib/net/imap/response_parser.rb#109 -Net::IMAP::ResponseParser::Patterns::RFC5234::ALPHA = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#110 -Net::IMAP::ResponseParser::Patterns::RFC5234::CHAR = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#111 -Net::IMAP::ResponseParser::Patterns::RFC5234::CRLF = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#112 -Net::IMAP::ResponseParser::Patterns::RFC5234::CTL = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#113 -Net::IMAP::ResponseParser::Patterns::RFC5234::DIGIT = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#114 -Net::IMAP::ResponseParser::Patterns::RFC5234::DQUOTE = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#115 -Net::IMAP::ResponseParser::Patterns::RFC5234::HEXDIG = T.let(T.unsafe(nil), Regexp) - -# not using /./m for embedding purposes -# -# source://net-imap//lib/net/imap/response_parser.rb#116 -Net::IMAP::ResponseParser::Patterns::RFC5234::OCTET = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#117 -Net::IMAP::ResponseParser::Patterns::RFC5234::SP = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#325 -Net::IMAP::ResponseParser::Patterns::SEQUENCE_SET = T.let(T.unsafe(nil), Regexp) - -# sequence-set = (seq-number / seq-range) ["," sequence-set] -# ; set of seq-number values, regardless of order. -# ; Servers MAY coalesce overlaps and/or execute -# ; the sequence in any order. -# ; Example: a message sequence number set of -# ; 2,4:7,9,12:* for a mailbox with 15 messages is -# ; equivalent to 2,4,5,6,7,9,12,13,14,15 -# ; Example: a message sequence number set of -# ; *:4,5:7 for a mailbox with 10 messages is -# ; equivalent to 10,9,8,7,6,5,4,5,6,7 and MAY -# ; be reordered and overlap coalesced to be -# ; 4,5,6,7,8,9,10. -# -# source://net-imap//lib/net/imap/response_parser.rb#324 -Net::IMAP::ResponseParser::Patterns::SEQUENCE_SET_ITEM = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#326 -Net::IMAP::ResponseParser::Patterns::SEQUENCE_SET_STR = T.let(T.unsafe(nil), Regexp) - -# seq-number = nz-number / "*" -# ; message sequence number (COPY, FETCH, STORE -# ; commands) or unique identifier (UID COPY, -# ; UID FETCH, UID STORE commands). -# ; * represents the largest number in use. In -# ; the case of message sequence numbers, it is -# ; the number of messages in a non-empty mailbox. -# ; In the case of unique identifiers, it is the -# ; unique identifier of the last message in the -# ; mailbox or, if the mailbox is empty, the -# ; mailbox's current UIDNEXT value. -# ; The server should respond with a tagged BAD -# ; response to a command that uses a message -# ; sequence number greater than the number of -# ; messages in the selected mailbox. This -# ; includes "*" if the selected mailbox is empty. -# -# source://net-imap//lib/net/imap/response_parser.rb#299 -Net::IMAP::ResponseParser::Patterns::SEQ_NUMBER = T.let(T.unsafe(nil), Regexp) - -# seq-range = seq-number ":" seq-number -# ; two seq-number values and all values between -# ; these two regardless of order. -# ; Example: 2:4 and 4:2 are equivalent and -# ; indicate values 2, 3, and 4. -# ; Example: a unique identifier sequence range of -# ; 3291:* includes the UID of the last message in -# ; the mailbox, even if that value is less than -# ; 3291. -# -# source://net-imap//lib/net/imap/response_parser.rb#310 -Net::IMAP::ResponseParser::Patterns::SEQ_RANGE = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#187 -Net::IMAP::ResponseParser::Patterns::TAG = T.let(T.unsafe(nil), Regexp) - -# tagged-ext-label = tagged-label-fchar *tagged-label-char -# ; Is a valid RFC 3501 "atom". -# -# source://net-imap//lib/net/imap/response_parser.rb#276 -Net::IMAP::ResponseParser::Patterns::TAGGED_EXT_LABEL = T.let(T.unsafe(nil), Regexp) - -# tagged-label-char = tagged-label-fchar / DIGIT / ":" -# -# source://net-imap//lib/net/imap/response_parser.rb#273 -Net::IMAP::ResponseParser::Patterns::TAGGED_LABEL_CHAR = T.let(T.unsafe(nil), Regexp) - -# tagged-label-fchar = ALPHA / "-" / "_" / "." -# -# source://net-imap//lib/net/imap/response_parser.rb#271 -Net::IMAP::ResponseParser::Patterns::TAGGED_LABEL_FCHAR = T.let(T.unsafe(nil), Regexp) - -# TEXT-CHAR = -# -# source://net-imap//lib/net/imap/response_parser.rb#190 -Net::IMAP::ResponseParser::Patterns::TEXT_CHAR = T.let(T.unsafe(nil), Regexp) - -# RFC3501: -# text = 1*TEXT-CHAR -# RFC9051: -# text = 1*(TEXT-CHAR / UTF8-2 / UTF8-3 / UTF8-4) -# ; Non-ASCII text can only be returned -# ; after ENABLE IMAP4rev2 command -# -# source://net-imap//lib/net/imap/response_parser.rb#267 -Net::IMAP::ResponseParser::Patterns::TEXT_rev1 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#268 -Net::IMAP::ResponseParser::Patterns::TEXT_rev2 = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/response_parser.rb#703 -Net::IMAP::ResponseParser::RE_RESPONSE_TYPE = T.let(T.unsafe(nil), Regexp) - -# end of response string -# -# source://net-imap//lib/net/imap/response_parser.rb#69 -module Net::IMAP::ResponseParser::ResponseConditions; end - -# source://net-imap//lib/net/imap/response_parser.rb#78 -Net::IMAP::ResponseParser::ResponseConditions::AUTH_CONDS = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#72 -Net::IMAP::ResponseParser::ResponseConditions::BAD = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser.rb#73 -Net::IMAP::ResponseParser::ResponseConditions::BYE = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser.rb#79 -Net::IMAP::ResponseParser::ResponseConditions::GREETING_CONDS = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#71 -Net::IMAP::ResponseParser::ResponseConditions::NO = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser.rb#70 -Net::IMAP::ResponseParser::ResponseConditions::OK = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser.rb#74 -Net::IMAP::ResponseParser::ResponseConditions::PREAUTH = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/response_parser.rb#80 -Net::IMAP::ResponseParser::ResponseConditions::RESP_CONDS = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#76 -Net::IMAP::ResponseParser::ResponseConditions::RESP_COND_STATES = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#77 -Net::IMAP::ResponseParser::ResponseConditions::RESP_DATA_CONDS = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#484 -Net::IMAP::ResponseParser::SEQUENCE_SET_TOKENS = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/response_parser.rb#2171 -Net::IMAP::ResponseParser::SPACES_REGEXP = T.let(T.unsafe(nil), Regexp) - -# tag = 1* -# -# source://net-imap//lib/net/imap/response_parser.rb#509 -Net::IMAP::ResponseParser::TAG_TOKENS = T.let(T.unsafe(nil), Array) - -# starts with atom special -# -# source://net-imap//lib/net/imap/response_parser.rb#64 -Net::IMAP::ResponseParser::T_LITERAL8 = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap/response_parser.rb#427 -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#427 - 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#427 - 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#427 - 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#427 - def value=(_); end - - class << self - # source://net-imap//lib/net/imap/response_parser.rb#427 - def [](*_arg0); end - - # source://net-imap//lib/net/imap/response_parser.rb#427 - def inspect; end - - # source://net-imap//lib/net/imap/response_parser.rb#427 - def keyword_init?; end - - # source://net-imap//lib/net/imap/response_parser.rb#427 - def members; end - - # source://net-imap//lib/net/imap/response_parser.rb#427 - def new(*_arg0); end - end -end - -# Error raised when the socket cannot be read, due to a Config limit. -# -# source://net-imap//lib/net/imap/errors.rb#21 -class Net::IMAP::ResponseReadError < ::Net::IMAP::Error; end - -# See https://www.rfc-editor.org/rfc/rfc9051#section-2.2.2 -# -# source://net-imap//lib/net/imap/response_reader.rb#6 -class Net::IMAP::ResponseReader - # @return [ResponseReader] a new instance of ResponseReader - # - # source://net-imap//lib/net/imap/response_reader.rb#9 - def initialize(client, sock); end - - # source://net-imap//lib/net/imap/response_reader.rb#7 - def client; end - - # source://net-imap//lib/net/imap/response_reader.rb#13 - def read_response_buffer; end - - private - - # Returns the value of attribute buff. - # - # source://net-imap//lib/net/imap/response_reader.rb#29 - def buff; end - - # source://net-imap//lib/net/imap/response_reader.rb#31 - def bytes_read; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_reader.rb#33 - def done?; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_reader.rb#32 - def empty?; end - - # source://net-imap//lib/net/imap/response_reader.rb#35 - def get_literal_size; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_reader.rb#34 - def line_done?; end - - # Returns the value of attribute literal_size. - # - # source://net-imap//lib/net/imap/response_reader.rb#29 - def literal_size; end - - # source://net-imap//lib/net/imap/response_reader.rb#56 - def max_response_remaining; end - - # @raise [ResponseTooLargeError] - # - # source://net-imap//lib/net/imap/response_reader.rb#64 - def max_response_remaining!; end - - # source://net-imap//lib/net/imap/response_reader.rb#55 - def max_response_size; end - - # source://net-imap//lib/net/imap/response_reader.rb#60 - def min_response_remaining; end - - # source://net-imap//lib/net/imap/response_reader.rb#58 - def min_response_size; end - - # source://net-imap//lib/net/imap/response_reader.rb#51 - def read_limit(limit = T.unsafe(nil)); end - - # source://net-imap//lib/net/imap/response_reader.rb#37 - def read_line; end - - # source://net-imap//lib/net/imap/response_reader.rb#42 - def read_literal; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/response_reader.rb#57 - def response_too_large?; end -end - -# Used to avoid an allocation when ResponseText is empty -# -# source://net-imap//lib/net/imap/response_data.rb#182 -Net::IMAP::ResponseText::EMPTY = T.let(T.unsafe(nil), Net::IMAP::ResponseText) - -# Error raised when a response is larger than IMAP#max_response_size. -# -# source://net-imap//lib/net/imap/errors.rb#25 -class Net::IMAP::ResponseTooLargeError < ::Net::IMAP::ResponseReadError - # @return [ResponseTooLargeError] a new instance of ResponseTooLargeError - # - # source://net-imap//lib/net/imap/errors.rb#29 - def initialize(msg = T.unsafe(nil), *args, bytes_read: T.unsafe(nil), literal_size: T.unsafe(nil), max_response_size: T.unsafe(nil), **kwargs); end - - # Returns the value of attribute bytes_read. - # - # source://net-imap//lib/net/imap/errors.rb#26 - def bytes_read; end - - # Returns the value of attribute literal_size. - # - # source://net-imap//lib/net/imap/errors.rb#26 - def literal_size; end - - # Returns the value of attribute max_response_size. - # - # source://net-imap//lib/net/imap/errors.rb#27 - def max_response_size; end - - private - - # source://net-imap//lib/net/imap/errors.rb#46 - def response_size_msg; end -end - -# Pluggable authentication mechanisms for protocols which support SASL -# (Simple Authentication and Security Layer), such as IMAP4, SMTP, LDAP, and -# XMPP. {RFC-4422}[https://www.rfc-editor.org/rfc/rfc4422] specifies the -# common \SASL framework: -# >>> -# SASL is conceptually a framework that provides an abstraction layer -# between protocols and mechanisms as illustrated in the following -# diagram. -# -# SMTP LDAP XMPP Other protocols ... -# \ | | / -# \ | | / -# SASL abstraction layer -# / | | \ -# / | | \ -# EXTERNAL GSSAPI PLAIN Other mechanisms ... -# -# Net::IMAP uses SASL via the Net::IMAP#authenticate method. -# -# == Mechanisms -# -# Each mechanism has different properties and requirements. Please consult -# the documentation for the specific mechanisms you are using: -# -# +ANONYMOUS+:: -# See AnonymousAuthenticator. -# -# Allows the user to gain access to public services or resources without -# authenticating or disclosing an identity. -# -# +EXTERNAL+:: -# See ExternalAuthenticator. -# -# Authenticates using already established credentials, such as a TLS -# certificate or IPSec. -# -# +OAUTHBEARER+:: -# See OAuthBearerAuthenticator. -# -# Login using an OAuth2 Bearer token. This is the standard mechanism -# for using OAuth2 with \SASL, but it is not yet deployed as widely as -# +XOAUTH2+. -# -# +PLAIN+:: -# See PlainAuthenticator. -# -# Login using clear-text username and password. -# -# +SCRAM-SHA-1+:: -# +SCRAM-SHA-256+:: -# See ScramAuthenticator. -# -# Login by username and password. The password is not sent to the -# server but is used in a salted challenge/response exchange. -# +SCRAM-SHA-1+ and +SCRAM-SHA-256+ are directly supported by -# Net::IMAP::SASL. New authenticators can easily be added for any other -# SCRAM-* mechanism if the digest algorithm is supported by -# OpenSSL::Digest. -# -# +XOAUTH2+:: -# See XOAuth2Authenticator. -# -# Login using a username and an OAuth2 access token. Non-standard and -# obsoleted by +OAUTHBEARER+, but widely supported. -# -# See the {SASL mechanism -# registry}[https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml] -# for a list of all SASL mechanisms and their specifications. To register -# new authenticators, see Authenticators. -# -# === Deprecated mechanisms -# -# Obsolete mechanisms should be avoided, but are still available for -# backwards compatibility. -# -# >>> -# For +DIGEST-MD5+ see DigestMD5Authenticator. -# -# For +LOGIN+, see LoginAuthenticator. -# -# For +CRAM-MD5+, see CramMD5Authenticator. -# -# Using a deprecated mechanism will print a warning. -# -# source://net-imap//lib/net/imap/sasl.rb#90 -module Net::IMAP::SASL - private - - # See Net::IMAP::StringPrep::SASLprep#saslprep. - # - # source://net-imap//lib/net/imap/sasl.rb#176 - def saslprep(string, **opts); end - - class << self - # Delegates to ::authenticators. See Authenticators#add_authenticator. - # - # source://net-imap//lib/net/imap/sasl.rb#171 - def add_authenticator(*_arg0, **_arg1, &_arg2); end - - # Creates a new SASL authenticator, using SASL::Authenticators#new. - # - # +registry+ defaults to SASL.authenticators. All other arguments are - # forwarded to to registry.new. - # - # source://net-imap//lib/net/imap/sasl.rb#166 - def authenticator(*args, registry: T.unsafe(nil), **kwargs, &block); end - - # Returns the default global SASL::Authenticators instance. - # - # source://net-imap//lib/net/imap/sasl.rb#160 - def authenticators; end - - # See Net::IMAP::StringPrep::SASLprep#saslprep. - # - # source://net-imap//lib/net/imap/sasl.rb#176 - def saslprep(string, **opts); end - end -end - -# Authenticator for the "+ANONYMOUS+" SASL mechanism, as specified by -# RFC-4505[https://www.rfc-editor.org/rfc/rfc4505]. See -# Net::IMAP#authenticate. -# -# source://net-imap//lib/net/imap/sasl/anonymous_authenticator.rb#10 -class Net::IMAP::SASL::AnonymousAuthenticator - # :call-seq: - # new(anonymous_message = "", **) -> authenticator - # new(anonymous_message: "", **) -> authenticator - # - # Creates an Authenticator for the "+ANONYMOUS+" SASL mechanism, as - # specified in RFC-4505[https://www.rfc-editor.org/rfc/rfc4505]. To use - # this, see Net::IMAP#authenticate or your client's authentication - # method. - # - # ==== Parameters - # - # * _optional_ #anonymous_message — a message to send to the server. - # - # Any other keyword arguments are silently ignored. - # - # @return [AnonymousAuthenticator] a new instance of AnonymousAuthenticator - # - # source://net-imap//lib/net/imap/sasl/anonymous_authenticator.rb#37 - def initialize(anon_msg = T.unsafe(nil), anonymous_message: T.unsafe(nil), **_arg2); end - - # An optional token sent for the +ANONYMOUS+ mechanism., up to 255 UTF-8 - # characters in length. - # - # If it contains an "@" sign, the message must be a valid email address - # (+addr-spec+ from RFC-2822[https://www.rfc-editor.org/rfc/rfc2822]). - # Email syntax is _not_ validated by AnonymousAuthenticator. - # - # Otherwise, it can be any UTF8 string which is permitted by the - # StringPrep::Trace profile. - # - # source://net-imap//lib/net/imap/sasl/anonymous_authenticator.rb#21 - def anonymous_message; end - - # Returns true when the initial client response was sent. - # - # The authentication should not succeed unless this returns true, but it - # does *not* indicate success. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/anonymous_authenticator.rb#64 - def done?; end - - # :call-seq: - # initial_response? -> true - # - # +ANONYMOUS+ can send an initial client response. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/anonymous_authenticator.rb#51 - def initial_response?; end - - # Returns #anonymous_message. - # - # source://net-imap//lib/net/imap/sasl/anonymous_authenticator.rb#54 - def process(_server_challenge_string); end -end - -# Indicates an authentication exchange that will be or has been canceled -# by the client, not due to any error or failure during processing. -# -# source://net-imap//lib/net/imap/sasl.rb#106 -class Net::IMAP::SASL::AuthenticationCanceled < ::Net::IMAP::SASL::Error; end - -# Indicates an error when processing a server challenge, e.g: an invalid -# or unparsable challenge. An underlying exception may be available as -# the exception's #cause. -# -# source://net-imap//lib/net/imap/sasl.rb#111 -class Net::IMAP::SASL::AuthenticationError < ::Net::IMAP::SASL::Error; end - -# AuthenticationExchange is used internally by Net::IMAP#authenticate. -# But the API is still *experimental*, and may change. -# -# TODO: catch exceptions in #process and send #cancel_response. -# TODO: raise an error if the command succeeds after being canceled. -# TODO: use with more clients, to verify the API can accommodate them. -# TODO: pass ClientAdapter#service to SASL.authenticator -# -# An AuthenticationExchange represents a single attempt to authenticate -# a SASL client to a SASL server. It is created from a client adapter, a -# mechanism name, and a mechanism authenticator. When #authenticate is -# called, it will send the appropriate authenticate command to the server, -# returning the client response on success and raising an exception on -# failure. -# -# In most cases, the client will not need to use -# SASL::AuthenticationExchange directly at all. Instead, use -# SASL::ClientAdapter#authenticate. If customizations are needed, the -# custom client adapter is probably the best place for that code. -# -# def authenticate(...) -# MyClient::SASLAdapter.new(self).authenticate(...) -# end -# -# SASL::ClientAdapter#authenticate delegates to ::authenticate, like so: -# -# def authenticate(...) -# sasl_adapter = MyClient::SASLAdapter.new(self) -# SASL::AuthenticationExchange.authenticate(sasl_adapter, ...) -# end -# -# ::authenticate simply delegates to ::build and #authenticate, like so: -# -# def authenticate(...) -# sasl_adapter = MyClient::SASLAdapter.new(self) -# SASL::AuthenticationExchange -# .build(sasl_adapter, ...) -# .authenticate -# end -# -# And ::build delegates to SASL.authenticator and ::new, like so: -# -# def authenticate(mechanism, ...) -# sasl_adapter = MyClient::SASLAdapter.new(self) -# authenticator = SASL.authenticator(mechanism, ...) -# SASL::AuthenticationExchange -# .new(sasl_adapter, mechanism, authenticator) -# .authenticate -# end -# -# source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#57 -class Net::IMAP::SASL::AuthenticationExchange - # @return [AuthenticationExchange] a new instance of AuthenticationExchange - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#84 - def initialize(client, mechanism, authenticator, sasl_ir: T.unsafe(nil)); end - - # Call #authenticate to execute an authentication exchange for #client - # using #authenticator. Authentication failures will raise an - # exception. Any exceptions other than those in RESPONSE_ERRORS will - # drop the connection. - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#96 - def authenticate; end - - # Returns the value of attribute authenticator. - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#82 - def authenticator; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#117 - def done?; end - - # Returns the value of attribute mechanism. - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#82 - def mechanism; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#109 - def send_initial_response?; end - - private - - # Returns the value of attribute client. - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#123 - def client; end - - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#125 - def initial_response; end - - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#130 - def process(challenge); end - - class << self - # Convenience method for build(...).authenticate - # - # See also: SASL::ClientAdapter#authenticate - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#61 - def authenticate(*_arg0, **_arg1, &_arg2); end - - # Convenience method to combine the creation of a new authenticator and - # a new Authentication exchange. - # - # +client+ must be an instance of SASL::ClientAdapter. - # - # +mechanism+ must be a SASL mechanism name, as a string or symbol. - # - # +sasl_ir+ allows or disallows sending an "initial response", depending - # also on whether the server capabilities, mechanism authenticator, and - # client adapter all support it. Defaults to +true+. - # - # +mechanism+, +args+, +kwargs+, and +block+ are all forwarded to - # SASL.authenticator. Use the +registry+ kwarg to override the global - # SASL::Authenticators registry. - # - # source://net-imap//lib/net/imap/sasl/authentication_exchange.rb#77 - def build(client, mechanism, *args, sasl_ir: T.unsafe(nil), **kwargs, &block); end - end -end - -# Indicates that authentication cannot proceed because one of the server's -# messages has not passed integrity checks. -# -# source://net-imap//lib/net/imap/sasl.rb#115 -class Net::IMAP::SASL::AuthenticationFailed < ::Net::IMAP::SASL::Error; end - -# Indicates that authentication cannot proceed because the server ended -# authentication prematurely. -# -# source://net-imap//lib/net/imap/sasl.rb#119 -class Net::IMAP::SASL::AuthenticationIncomplete < ::Net::IMAP::SASL::AuthenticationFailed - # @return [AuthenticationIncomplete] a new instance of AuthenticationIncomplete - # - # source://net-imap//lib/net/imap/sasl.rb#123 - def initialize(response, message = T.unsafe(nil)); end - - # The success response from the server - # - # source://net-imap//lib/net/imap/sasl.rb#121 - def response; end -end - -# Registry for SASL authenticators -# -# Registered authenticators must respond to +#new+ or +#call+ (e.g. a class or -# a proc), receiving any credentials and options and returning an -# authenticator instance. The returned object represents a single -# authentication exchange and must not be reused for multiple -# authentication attempts. -# -# An authenticator instance object must respond to +#process+, receiving the -# server's challenge and returning the client's response. Optionally, it may -# also respond to +#initial_response?+ and +#done?+. When -# +#initial_response?+ returns +true+, +#process+ may be called the first -# time with +nil+. When +#done?+ returns +false+, the exchange is incomplete -# and an exception should be raised if the exchange terminates prematurely. -# -# See the source for PlainAuthenticator, XOAuth2Authenticator, and -# ScramSHA1Authenticator for examples. -# -# source://net-imap//lib/net/imap/sasl/authenticators.rb#22 -class Net::IMAP::SASL::Authenticators - # Create a new Authenticators registry. - # - # This class is usually not instantiated directly. Use SASL.authenticators - # to reuse the default global registry. - # - # When +use_defaults+ is +false+, the registry will start empty. When - # +use_deprecated+ is +false+, deprecated authenticators will not be - # included with the defaults. - # - # @return [Authenticators] a new instance of Authenticators - # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#36 - def initialize(use_defaults: T.unsafe(nil), use_deprecated: T.unsafe(nil)); end - - # :call-seq: - # add_authenticator(mechanism) - # add_authenticator(mechanism, authenticator_class) - # add_authenticator(mechanism, authenticator_proc) - # - # Registers an authenticator for #authenticator to use. +mechanism+ is the - # name of the - # {SASL mechanism}[https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml] - # implemented by +authenticator_class+ (for instance, "PLAIN"). - # - # If +mechanism+ refers to an existing authenticator, - # the old authenticator will be replaced. - # - # When only a single argument is given, the authenticator class will be - # lazily loaded from Net::IMAP::SASL::#{name}Authenticator (case is - # preserved and non-alphanumeric characters are removed.. - # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#71 - def add_authenticator(name, authenticator = T.unsafe(nil)); end - - # :call-seq: - # authenticator(mechanism, ...) -> auth_session - # - # Builds an authenticator instance using the authenticator registered to - # +mechanism+. The returned object represents a single authentication - # exchange and must not be reused for multiple authentication - # attempts. - # - # All arguments (except +mechanism+) are forwarded to the registered - # authenticator's +#new+ or +#call+ method. Each authenticator must - # document its own arguments. - # - # [Note] - # This method is intended for internal use by connection protocol code - # 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 - def authenticator(mechanism, *_arg1, **_arg2, &_arg3); end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#90 - def mechanism?(name); end - - # Returns the names of all registered SASL mechanisms. - # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#53 - def names; end - - # :call-seq: - # authenticator(mechanism, ...) -> auth_session - # - # Builds an authenticator instance using the authenticator registered to - # +mechanism+. The returned object represents a single authentication - # exchange and must not be reused for multiple authentication - # attempts. - # - # All arguments (except +mechanism+) are forwarded to the registered - # authenticator's +#new+ or +#call+ method. Each authenticator must - # document its own arguments. - # - # [Note] - # This method is intended for internal use by connection protocol code - # 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#118 - def new(mechanism, *_arg1, **_arg2, &_arg3); end - - # Removes the authenticator registered for +name+ - # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#85 - def remove_authenticator(name); end - - class << self - # Normalize the mechanism name as an uppercase string, with underscores - # converted to dashes. - # - # source://net-imap//lib/net/imap/sasl/authenticators.rb#26 - def normalize_name(mechanism); end - end -end - -# source://net-imap//lib/net/imap/sasl/stringprep.rb#8 -Net::IMAP::SASL::BidiStringError = Net::IMAP::StringPrep::BidiStringError - -# This API is *experimental*, and may change. -# -# TODO: use with more clients, to verify the API can accommodate them. -# -# Represents the client to a SASL::AuthenticationExchange. By default, -# most methods simply delegate to #client. Clients should subclass -# SASL::ClientAdapter and override methods as needed to match the -# semantics of this API to their API. -# -# Subclasses should also include a protocol adapter mixin when the default -# ProtocolAdapters::Generic isn't sufficient. -# -# === Protocol Requirements -# -# {RFC4422 §4}[https://www.rfc-editor.org/rfc/rfc4422.html#section-4] -# lists requirements for protocol specifications to offer SASL. Where -# possible, ClientAdapter delegates the handling of these requirements to -# SASL::ProtocolAdapters. -# -# source://net-imap//lib/net/imap/sasl/client_adapter.rb#27 -class Net::IMAP::SASL::ClientAdapter - include ::Net::IMAP::SASL::ProtocolAdapters::Generic - extend ::Forwardable - - # By default, this simply sets the #client and #command_proc attributes. - # Subclasses may override it, for example: to set the appropriate - # command_proc automatically. - # - # @return [ClientAdapter] a new instance of ClientAdapter - # - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#56 - def initialize(client, &command_proc); end - - # 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. - # - # By default, this simply delegates to - # AuthenticationExchange.authenticate. - # - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#64 - def authenticate(*_arg0, **_arg1, &_arg2); end - - # method: drop_connection! - # Drop the connection abruptly, closing the socket without logging out. - # - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#35 - def client; end - - # +command_proc+ can used to avoid exposing private methods on #client. - # It's value is set by the block that is passed to ::new, and it is used - # by the default implementation of #run_command. Subclasses that - # override #run_command may use #command_proc for any other purpose they - # find useful. - # - # In the default implementation of #run_command, command_proc is called - # with the protocols authenticate +command+ name, the +mechanism+ name, - # an _optional_ +initial_response+ argument, and a +continuations+ - # block. command_proc must run the protocol command with the arguments - # sent to it, _yield_ the payload of each continuation, respond to the - # continuation with the result of each _yield_, and _return_ the - # command's successful result. Non-successful results *MUST* raise - # an exception. - # - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#51 - def command_proc; end - - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#113 - def drop_connection(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#118 - def drop_connection!(*args, **_arg1, &block); end - - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#99 - def host(*args, **_arg1, &block); end - - # 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. - # Exceptions in this array won't drop the connection. - # - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#108 - def response_errors; end - - # Calls command_proc with +command_name+ (see - # SASL::ProtocolAdapters::Generic#command_name), - # +mechanism+, +initial_response+, and a +continuations_handler+ block. - # The +initial_response+ is optional; when it's nil, it won't be sent to - # command_proc. - # - # Yields each continuation payload, responds to the server with the - # result of each yield, and returns the result. Non-successful results - # *MUST* raise an exception. Exceptions in the block *MUST* cause the - # command to fail. - # - # Subclasses that override this may use #command_proc differently. - # - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#90 - def run_command(mechanism, initial_response = T.unsafe(nil), &continuations_handler); end - - # source://net-imap//lib/net/imap/sasl/client_adapter.rb#69 - def sasl_ir_capable?(*args, **_arg1, &block); end -end - -# Authenticator for the "+CRAM-MD5+" SASL mechanism, specified in -# RFC2195[https://www.rfc-editor.org/rfc/rfc2195]. See Net::IMAP#authenticate. -# -# == Deprecated -# -# +CRAM-MD5+ is obsolete and insecure. It is included for compatibility with -# existing servers. -# {draft-ietf-sasl-crammd5-to-historic}[https://www.rfc-editor.org/rfc/draft-ietf-sasl-crammd5-to-historic-00.html] -# recommends using +SCRAM-*+ or +PLAIN+ protected by TLS instead. -# -# Additionally, RFC8314[https://www.rfc-editor.org/rfc/rfc8314] discourage the use -# of cleartext and recommends TLS version 1.2 or greater be used for all -# traffic. With TLS +CRAM-MD5+ is okay, but so is +PLAIN+ -# -# source://net-imap//lib/net/imap/sasl/cram_md5_authenticator.rb#16 -class Net::IMAP::SASL::CramMD5Authenticator - # @return [CramMD5Authenticator] a new instance of CramMD5Authenticator - # - # source://net-imap//lib/net/imap/sasl/cram_md5_authenticator.rb#17 - def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authcid: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), secret: T.unsafe(nil), warn_deprecation: T.unsafe(nil), **_arg7); end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/cram_md5_authenticator.rb#40 - def done?; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/cram_md5_authenticator.rb#31 - def initial_response?; end - - # source://net-imap//lib/net/imap/sasl/cram_md5_authenticator.rb#33 - def process(challenge); end - - private - - # source://net-imap//lib/net/imap/sasl/cram_md5_authenticator.rb#44 - def hmac_md5(text, key); end -end - -# Net::IMAP authenticator for the +DIGEST-MD5+ SASL mechanism type, specified -# in RFC-2831[https://www.rfc-editor.org/rfc/rfc2831]. See Net::IMAP#authenticate. -# -# == Deprecated -# -# "+DIGEST-MD5+" has been deprecated by -# RFC-6331[https://www.rfc-editor.org/rfc/rfc6331] and should not be relied on for -# security. It is included for compatibility with existing servers. -# -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#11 -class Net::IMAP::SASL::DigestMD5Authenticator - # :call-seq: - # new(username, password, authzid = nil, **options) -> authenticator - # new(username:, password:, authzid: nil, **options) -> authenticator - # new(authcid:, password:, authzid: nil, **options) -> authenticator - # - # Creates an Authenticator for the "+DIGEST-MD5+" SASL mechanism. - # - # Called by Net::IMAP#authenticate and similar methods on other clients. - # - # ==== Parameters - # - # * #authcid ― Authentication identity that is associated with #password. - # - # #username ― An alias for +authcid+. - # - # * #password ― A password or passphrase associated with this #authcid. - # - # * _optional_ #authzid ― Authorization identity to act as or on behalf of. - # - # When +authzid+ is not set, the server should derive the authorization - # identity from the authentication identity. - # - # * _optional_ #realm — A namespace for the #username, e.g. a domain. - # Defaults to the last realm in the server-provided realms list. - # * _optional_ #host — FQDN for requested service. - # Defaults to #realm. - # * _optional_ #service_name — The generic host name when the server is - # replicated. - # * _optional_ #service — the registered service protocol. E.g. "imap", - # "smtp", "ldap", "xmpp". - # For Net::IMAP, this defaults to "imap". - # - # * _optional_ +warn_deprecation+ — Set to +false+ to silence the warning. - # - # Any other keyword arguments are silently ignored. - # - # @return [DigestMD5Authenticator] a new instance of DigestMD5Authenticator - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#154 - def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authz = T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), authzid: T.unsafe(nil), authcid: T.unsafe(nil), secret: T.unsafe(nil), realm: T.unsafe(nil), service: T.unsafe(nil), host: T.unsafe(nil), service_name: T.unsafe(nil), warn_deprecation: T.unsafe(nil), **_arg13); end - - # Authentication identity: the identity that matches the #password. - # - # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. - # "Authentication identity" is the generic term used by - # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. - # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs abbreviate - # this to +authcid+. - # - # 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 - # form is application protocol specific. If not provided or left blank, the - # server derives an authorization identity from the authentication identity. - # The server is responsible for verifying the client's credentials and - # verifying that the identity it associates with the client's authentication - # identity is allowed to act as (or on behalf of) the authorization identity. - # - # For example, an administrator or superuser might take on another role: - # - # imap.authenticate "DIGEST-MD5", "root", ->{passwd}, authzid: "user" - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#64 - def authzid; end - - # The charset sent by the server. "UTF-8" (case insensitive) is the only - # allowed value. +nil+ should be interpreted as ISO 8859-1. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#111 - def charset; end - - # From RFC-2831[https://www.rfc-editor.org/rfc/rfc2831]: - # >>> - # Indicates the principal name of the service with which the client wishes - # to connect, formed from the serv-type, host, and serv-name. For - # example, the FTP service on "ftp.example.com" would have a "digest-uri" - # value of "ftp/ftp.example.com"; the SMTP server from the example above - # would have a "digest-uri" value of "smtp/mail3.example.com/example.com". - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#186 - def digest_uri; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#246 - def done?; end - - # Fully qualified canonical DNS host name for the requested service. - # - # Defaults to #realm. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#78 - def host; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#194 - def initial_response?; end - - # nonce sent by the server - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#114 - def nonce; end - - # A password or passphrase that matches the #username. - # - # The +password+ will be used to create the response digest. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#51 - def password; end - - # Responds to server challenge in two stages. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#197 - def process(challenge); end - - # qop-options sent by the server - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#117 - def qop; end - - # A namespace or collection of identities which contains +username+. - # - # Used by DIGEST-MD5, GSS-API, and NTLM. This is often a domain name that - # contains the name of the host performing the authentication. - # - # Defaults to the last realm in the server-provided list of - # realms. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#73 - def realm; end - - # The service protocol, a - # {registered GSSAPI service name}[https://www.iana.org/assignments/gssapi-service-names/gssapi-service-names.xhtml], - # e.g. "imap", "ldap", or "xmpp". - # - # For Net::IMAP, the default is "imap" and should not be overridden. This - # must be set appropriately to use authenticators in other protocols. - # - # If an IANA-registered name isn't available, GSS-API - # (RFC-2743[https://www.rfc-editor.org/rfc/rfc2743]) allows the generic name - # "host". - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#90 - def service; end - - # The generic server name when the server is replicated. - # - # +service_name+ will be ignored when it is +nil+ or identical to +host+. - # - # From RFC-2831[https://www.rfc-editor.org/rfc/rfc2831]: - # >>> - # The service is considered to be replicated if the client's - # service-location process involves resolution using standard DNS lookup - # operations, and if these operations involve DNS records (such as SRV, or - # MX) which resolve one DNS name into a set of other DNS names. In this - # case, the initial name used by the client is the "serv-name", and the - # final name is the "host" component. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#104 - def service_name; end - - # Parameters sent by the server are stored in this hash. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#107 - def sparams; end - - # Authentication identity: the identity that matches the #password. - # - # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. - # "Authentication identity" is the generic term used by - # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. - # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs abbreviate - # this to +authcid+. - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#45 - def username; end - - private - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#306 - def compute_a0(response); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#312 - def compute_a1(response); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#319 - def compute_a2(response); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#327 - def format_response(response); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#286 - def nc(nonce); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#259 - def parse_challenge(challenge); end - - # some responses need quoting - # - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#332 - def qdval(k, v); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#294 - def response_value(response); end - - # source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#280 - def split_quoted_list(value, challenge); end -end - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#254 -Net::IMAP::SASL::DigestMD5Authenticator::AUTH_PARAM = T.let(T.unsafe(nil), Regexp) - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#12 -Net::IMAP::SASL::DigestMD5Authenticator::DataFormatError = Net::IMAP::DataFormatError - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#253 -Net::IMAP::SASL::DigestMD5Authenticator::LIST_DELIM = T.let(T.unsafe(nil), Regexp) - -# less strict than RFC, more strict than '\s' -# -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#250 -Net::IMAP::SASL::DigestMD5Authenticator::LWS = T.let(T.unsafe(nil), Regexp) - -# Directives which must not have multiples. The RFC states: -# >>> -# This directive may appear at most once; if multiple instances are present, -# the client should abort the authentication exchange. -# -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#25 -Net::IMAP::SASL::DigestMD5Authenticator::NO_MULTIPLES = T.let(T.unsafe(nil), Array) - -# Directives which are composed of one or more comma delimited tokens -# -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#34 -Net::IMAP::SASL::DigestMD5Authenticator::QUOTED_LISTABLE = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#252 -Net::IMAP::SASL::DigestMD5Authenticator::QUOTED_STR = T.let(T.unsafe(nil), Regexp) - -# Required directives which must occur exactly once. The RFC states: >>> -# This directive is required and MUST appear exactly once; if not present, -# or if multiple instances are present, the client should abort the -# authentication exchange. -# -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#31 -Net::IMAP::SASL::DigestMD5Authenticator::REQUIRED = T.let(T.unsafe(nil), Array) - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#13 -Net::IMAP::SASL::DigestMD5Authenticator::ResponseParseError = Net::IMAP::ResponseParseError - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#18 -Net::IMAP::SASL::DigestMD5Authenticator::STAGE_DONE = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#16 -Net::IMAP::SASL::DigestMD5Authenticator::STAGE_ONE = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#17 -Net::IMAP::SASL::DigestMD5Authenticator::STAGE_TWO = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap/sasl/digest_md5_authenticator.rb#251 -Net::IMAP::SASL::DigestMD5Authenticator::TOKEN = T.let(T.unsafe(nil), Regexp) - -# Exception class for any client error detected during the authentication -# exchange. -# -# When the _server_ reports an authentication failure, it will respond -# with a protocol specific error instead, e.g: +BAD+ or +NO+ in IMAP. -# -# When the client encounters any error, it *must* consider the -# authentication exchange to be unsuccessful and it might need to drop the -# connection. For example, if the server reports that the authentication -# exchange was successful or the protocol does not allow additional -# authentication attempts. -# -# source://net-imap//lib/net/imap/sasl.rb#102 -class Net::IMAP::SASL::Error < ::StandardError; end - -# Authenticator for the "+EXTERNAL+" SASL mechanism, as specified by -# RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. See -# Net::IMAP#authenticate. -# -# The EXTERNAL mechanism requests that the server use client credentials -# established external to SASL, for example by TLS certificate or IPSec. -# -# source://net-imap//lib/net/imap/sasl/external_authenticator.rb#13 -class Net::IMAP::SASL::ExternalAuthenticator - # :call-seq: - # new(authzid: nil, **) -> authenticator - # new(username: nil, **) -> authenticator - # new(username = nil, **) -> authenticator - # - # Creates an Authenticator for the "+EXTERNAL+" SASL mechanism, as - # specified in RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. To use - # this, see Net::IMAP#authenticate or your client's authentication - # method. - # - # ==== Parameters - # - # * _optional_ #authzid ― Authorization identity to act as or on behalf of. - # - # _optional_ #username ― An alias for #authzid. - # - # Note that, unlike some other authenticators, +username+ sets the - # _authorization_ identity and not the _authentication_ identity. The - # authentication identity is established for the client by the - # external credentials. - # - # Any other keyword parameters are quietly ignored. - # - # @return [ExternalAuthenticator] a new instance of ExternalAuthenticator - # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#52 - def initialize(user = T.unsafe(nil), authzid: T.unsafe(nil), username: T.unsafe(nil), **_arg3); end - - # Authorization identity: an identity to act as or on behalf of. The - # identity form is application protocol specific. If not provided or - # left blank, the server derives an authorization identity from the - # authentication identity. The server is responsible for verifying the - # client's credentials and verifying that the identity it associates - # with the client's authentication identity is allowed to act as (or on - # behalf of) the authorization identity. - # - # For example, an administrator or superuser might take on another role: - # - # imap.authenticate "PLAIN", "root", passwd, authzid: "user" - # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#27 - def authzid; end - - # Returns true when the initial client response was sent. - # - # The authentication should not succeed unless this returns true, but it - # does *not* indicate success. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#78 - def done?; end - - # :call-seq: - # initial_response? -> true - # - # +EXTERNAL+ can send an initial client response. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#65 - def initial_response?; end - - # Returns #authzid, or an empty string if there is no authzid. - # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#68 - def process(_); end - - # Authorization identity: an identity to act as or on behalf of. The - # identity form is application protocol specific. If not provided or - # left blank, the server derives an authorization identity from the - # authentication identity. The server is responsible for verifying the - # client's credentials and verifying that the identity it associates - # with the client's authentication identity is allowed to act as (or on - # behalf of) the authorization identity. - # - # For example, an administrator or superuser might take on another role: - # - # imap.authenticate "PLAIN", "root", passwd, authzid: "user" - # - # source://net-imap//lib/net/imap/sasl/external_authenticator.rb#28 - def username; end -end - -# Originally defined for the GS2 mechanism family in -# RFC5801[https://www.rfc-editor.org/rfc/rfc5801], -# several different mechanisms start with a GS2 header: -# * +GS2-*+ --- RFC5801[https://www.rfc-editor.org/rfc/rfc5801] -# * +SCRAM-*+ --- RFC5802[https://www.rfc-editor.org/rfc/rfc5802] -# (ScramAuthenticator) -# * +SAML20+ --- RFC6595[https://www.rfc-editor.org/rfc/rfc6595] -# * +OPENID20+ --- RFC6616[https://www.rfc-editor.org/rfc/rfc6616] -# * +OAUTH10A+ --- RFC7628[https://www.rfc-editor.org/rfc/rfc7628] -# * +OAUTHBEARER+ --- RFC7628[https://www.rfc-editor.org/rfc/rfc7628] -# (OAuthBearerAuthenticator) -# -# Classes that include this module must implement +#authzid+. -# -# source://net-imap//lib/net/imap/sasl/gs2_header.rb#20 -module Net::IMAP::SASL::GS2Header - # The {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] - # +gs2-authzid+ header, when +#authzid+ is not empty. - # - # If +#authzid+ is empty or +nil+, an empty string is returned. - # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#59 - def gs2_authzid; end - - # The {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] - # +gs2-cb-flag+: - # - # "+n+":: The client doesn't support channel binding. - # "+y+":: The client does support channel binding - # but thinks the server does not. - # "+p+":: The client requires channel binding. - # The selected channel binding follows "+p=+". - # - # The default always returns "+n+". A mechanism that supports channel - # binding must override this method. - # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#53 - def gs2_cb_flag; end - - # The {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] - # +gs2-header+, which prefixes the #initial_client_response. - # - # >>> - # Note: the actual GS2 header includes an optional flag to - # indicate that the GSS mechanism is not "standard", but since all of - # the SASL mechanisms using GS2 are "standard", we don't include that - # flag. A class for a nonstandard GSSAPI mechanism should prefix with - # "+F,+". - # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#37 - def gs2_header; end - - private - - # Encodes +str+ to match RFC5801_SASLNAME. - # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#67 - def gs2_saslname_encode(str); end - - class << self - # Encodes +str+ to match RFC5801_SASLNAME. - # - # source://net-imap//lib/net/imap/sasl/gs2_header.rb#67 - def gs2_saslname_encode(str); end - end -end - -# source://net-imap//lib/net/imap/sasl/gs2_header.rb#21 -Net::IMAP::SASL::GS2Header::NO_NULL_CHARS = T.let(T.unsafe(nil), Regexp) - -# Matches {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] -# +saslname+. The output from gs2_saslname_encode matches this Regexp. -# -# source://net-imap//lib/net/imap/sasl/gs2_header.rb#26 -Net::IMAP::SASL::GS2Header::RFC5801_SASLNAME = T.let(T.unsafe(nil), Regexp) - -# Authenticator for the "+LOGIN+" SASL mechanism. See Net::IMAP#authenticate. -# -# +LOGIN+ authentication sends the password in cleartext. -# RFC3501[https://www.rfc-editor.org/rfc/rfc3501] encourages servers to disable -# cleartext authentication until after TLS has been negotiated. -# RFC8314[https://www.rfc-editor.org/rfc/rfc8314] recommends TLS version 1.2 or -# greater be used for all traffic, and deprecate cleartext access ASAP. +LOGIN+ -# can be secured by TLS encryption. -# -# == Deprecated -# -# The {SASL mechanisms -# registry}[https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml] -# marks "LOGIN" as obsoleted in favor of "PLAIN". It is included here for -# compatibility with existing servers. See -# {draft-murchison-sasl-login}[https://www.iana.org/go/draft-murchison-sasl-login] -# for both specification and deprecation. -# -# source://net-imap//lib/net/imap/sasl/login_authenticator.rb#20 -class Net::IMAP::SASL::LoginAuthenticator - # @return [LoginAuthenticator] a new instance of LoginAuthenticator - # - # source://net-imap//lib/net/imap/sasl/login_authenticator.rb#26 - def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authcid: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), secret: T.unsafe(nil), warn_deprecation: T.unsafe(nil), **_arg7); end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/login_authenticator.rb#55 - def done?; end - - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/login_authenticator.rb#40 - def initial_response?; end - - # source://net-imap//lib/net/imap/sasl/login_authenticator.rb#42 - def process(data); end -end - -# source://net-imap//lib/net/imap/sasl/login_authenticator.rb#23 -Net::IMAP::SASL::LoginAuthenticator::STATE_DONE = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap/sasl/login_authenticator.rb#22 -Net::IMAP::SASL::LoginAuthenticator::STATE_PASSWORD = T.let(T.unsafe(nil), Symbol) - -# source://net-imap//lib/net/imap/sasl/login_authenticator.rb#21 -Net::IMAP::SASL::LoginAuthenticator::STATE_USER = T.let(T.unsafe(nil), Symbol) - -# Abstract base class for the SASL mechanisms defined in -# RFC7628[https://www.rfc-editor.org/rfc/rfc7628]: -# * OAUTHBEARER[rdoc-ref:OAuthBearerAuthenticator] -# (OAuthBearerAuthenticator) -# * OAUTH10A -# -# source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#14 -class Net::IMAP::SASL::OAuthAuthenticator - include ::Net::IMAP::SASL::GS2Header - - # Creates an RFC7628[https://www.rfc-editor.org/rfc/rfc7628] OAuth - # authenticator. - # - # ==== Parameters - # - # See child classes for required parameter(s). The following parameters - # are all optional, but it is worth noting that application protocols - # are allowed to require #authzid (or other parameters, such as - # #host or #port) as are specific server implementations. - # - # * _optional_ #authzid ― Authorization identity to act as or on behalf of. - # - # _optional_ #username — An alias for #authzid. - # - # Note that, unlike some other authenticators, +username+ sets the - # _authorization_ identity and not the _authentication_ identity. The - # authentication identity is established for the client by the OAuth - # token. - # - # * _optional_ #host — Hostname to which the client connected. - # * _optional_ #port — Service port to which the client connected. - # * _optional_ #mthd — HTTP method - # * _optional_ #path — HTTP path data - # * _optional_ #post — HTTP post data - # * _optional_ #qs — HTTP query string - # - # _optional_ #query — An alias for #qs - # - # Any other keyword parameters are quietly ignored. - # - # @return [OAuthAuthenticator] a new instance of OAuthAuthenticator - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#84 - def initialize(authzid: T.unsafe(nil), host: T.unsafe(nil), port: T.unsafe(nil), username: T.unsafe(nil), query: T.unsafe(nil), mthd: T.unsafe(nil), path: T.unsafe(nil), post: T.unsafe(nil), qs: T.unsafe(nil), **_arg9); end - - # Value of the HTTP Authorization header - # - # Implemented by subclasses. - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#124 - def authorization; end - - # Authorization identity: an identity to act as or on behalf of. The - # identity form is application protocol specific. If not provided or - # left blank, the server derives an authorization identity from the - # authentication identity. The server is responsible for verifying the - # client's credentials and verifying that the identity it associates - # with the client's authentication identity is allowed to act as (or on - # behalf of) the authorization identity. - # - # For example, an administrator or superuser might take on another role: - # - # imap.authenticate "PLAIN", "root", passwd, authzid: "user" - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#29 - def authzid; end - - # Returns true when the initial client response was sent. - # - # The authentication should not succeed unless this returns true, but it - # does *not* indicate success. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#119 - def done?; end - - # Hostname to which the client connected. (optional) - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#33 - def host; end - - # The {RFC7628 §3.1}[https://www.rfc-editor.org/rfc/rfc7628#section-3.1] - # formatted response. - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#99 - def initial_client_response; end - - # Stores the most recent server "challenge". When authentication fails, - # this may hold information about the failure reason, as JSON. - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#53 - def last_server_response; end - - # HTTP method. (optional) - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#39 - def mthd; end - - # HTTP path data. (optional) - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#42 - def path; end - - # Service port to which the client connected. (optional) - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#36 - def port; end - - # HTTP post data. (optional) - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#45 - def post; end - - # Returns initial_client_response the first time, then "^A". - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#108 - def process(data); end - - # The query string. (optional) - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#48 - def qs; end - - # The query string. (optional) - # - # 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 - # identity form is application protocol specific. If not provided or - # left blank, the server derives an authorization identity from the - # authentication identity. The server is responsible for verifying the - # client's credentials and verifying that the identity it associates - # with the client's authentication identity is allowed to act as (or on - # behalf of) the authorization identity. - # - # For example, an administrator or superuser might take on another role: - # - # imap.authenticate "PLAIN", "root", passwd, authzid: "user" - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#30 - def username; end -end - -# Authenticator for the "+OAUTHBEARER+" SASL mechanism, specified in -# RFC7628[https://www.rfc-editor.org/rfc/rfc7628]. Authenticates using -# OAuth 2.0 bearer tokens, as described in -# RFC6750[https://www.rfc-editor.org/rfc/rfc6750]. Use via -# Net::IMAP#authenticate. -# -# RFC6750[https://www.rfc-editor.org/rfc/rfc6750] requires Transport Layer -# Security (TLS) to secure the protocol interaction between the client and -# the resource server. TLS _MUST_ be used for +OAUTHBEARER+ to protect -# the bearer token. -# -# source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#138 -class Net::IMAP::SASL::OAuthBearerAuthenticator < ::Net::IMAP::SASL::OAuthAuthenticator - # :call-seq: - # new(oauth2_token, **options) -> authenticator - # new(authzid, oauth2_token, **options) -> authenticator - # new(oauth2_token:, **options) -> authenticator - # - # Creates an Authenticator for the "+OAUTHBEARER+" SASL mechanism. - # - # Called by Net::IMAP#authenticate and similar methods on other clients. - # - # ==== Parameters - # - # * #oauth2_token — An OAuth2 bearer token - # - # All other keyword parameters are passed to - # {super}[rdoc-ref:OAuthAuthenticator::new] (see OAuthAuthenticator). - # The most common ones are: - # - # * _optional_ #authzid ― Authorization identity to act as or on behalf of. - # - # _optional_ #username — An alias for #authzid. - # - # Note that, unlike some other authenticators, +username+ sets the - # _authorization_ identity and not the _authentication_ identity. The - # authentication identity is established for the client by - # #oauth2_token. - # - # * _optional_ #host — Hostname to which the client connected. - # * _optional_ #port — Service port to which the client connected. - # - # Although only oauth2_token is required by this mechanism, it is worth - # noting that application protocols are allowed to - # require #authzid (or other parameters, such as #host - # _or_ #port) as are specific server implementations. - # - # @return [OAuthBearerAuthenticator] a new instance of OAuthBearerAuthenticator - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#177 - def initialize(arg1 = T.unsafe(nil), arg2 = T.unsafe(nil), oauth2_token: T.unsafe(nil), secret: T.unsafe(nil), **args, &blk); end - - # Value of the HTTP Authorization header - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#193 - def authorization; end - - # :call-seq: - # initial_response? -> true - # - # +OAUTHBEARER+ sends an initial client response. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/oauthbearer_authenticator.rb#190 - def initial_response?; end - - # 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 - def oauth2_token; end - - # 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#142 - def secret; end -end - -# Authenticator for the "+PLAIN+" SASL mechanism, specified in -# RFC-4616[https://www.rfc-editor.org/rfc/rfc4616]. See Net::IMAP#authenticate. -# -# +PLAIN+ authentication sends the password in cleartext. -# RFC-3501[https://www.rfc-editor.org/rfc/rfc3501] encourages servers to disable -# cleartext authentication until after TLS has been negotiated. -# RFC-8314[https://www.rfc-editor.org/rfc/rfc8314] recommends TLS version 1.2 or -# greater be used for all traffic, and deprecate cleartext access ASAP. +PLAIN+ -# can be secured by TLS encryption. -# -# source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#12 -class Net::IMAP::SASL::PlainAuthenticator - # :call-seq: - # new(username, password, authzid: nil, **) -> authenticator - # new(username:, password:, authzid: nil, **) -> authenticator - # new(authcid:, password:, authzid: nil, **) -> authenticator - # - # Creates an Authenticator for the "+PLAIN+" SASL mechanism. - # - # Called by Net::IMAP#authenticate and similar methods on other clients. - # - # ==== Parameters - # - # * #authcid ― Authentication identity that is associated with #password. - # - # #username ― An alias for #authcid. - # - # * #password ― A password or passphrase associated with the #authcid. - # - # * _optional_ #authzid ― Authorization identity to act as or on behalf of. - # - # When +authzid+ is not set, the server should derive the authorization - # identity from the authentication identity. - # - # Any other keyword parameters are quietly ignored. - # - # @raise [ArgumentError] - # @return [PlainAuthenticator] a new instance of PlainAuthenticator - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#67 - def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authcid: T.unsafe(nil), secret: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), authzid: T.unsafe(nil), **_arg7); end - - # Authentication identity: the identity that matches the #password. - # - # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. - # "Authentication identity" is the generic term used by - # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. - # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs - # abbreviate this to +authcid+. - # - # 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 - # form is application protocol specific. If not provided or left blank, the - # server derives an authorization identity from the authentication identity. - # The server is responsible for verifying the client's credentials and - # verifying that the identity it associates with the client's authentication - # identity is allowed to act as (or on behalf of) the authorization identity. - # - # For example, an administrator or superuser might take on another role: - # - # imap.authenticate "PLAIN", "root", passwd, authzid: "user" - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#42 - def authzid; end - - # Returns true when the initial client response was sent. - # - # The authentication should not succeed unless this returns true, but it - # does *not* indicate success. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#99 - def done?; end - - # :call-seq: - # initial_response? -> true - # - # +PLAIN+ can send an initial client response. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#86 - def initial_response?; end - - # A password or passphrase that matches the #username. - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#28 - def password; end - - # Responds with the client's credentials. - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#89 - def process(data); end - - # A password or passphrase that matches the #username. - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#29 - def secret; end - - # Authentication identity: the identity that matches the #password. - # - # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. - # "Authentication identity" is the generic term used by - # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. - # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs - # abbreviate this to +authcid+. - # - # source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#24 - def username; end -end - -# source://net-imap//lib/net/imap/sasl/plain_authenticator.rb#14 -Net::IMAP::SASL::PlainAuthenticator::NULL = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/sasl/stringprep.rb#9 -Net::IMAP::SASL::ProhibitedCodepoint = Net::IMAP::StringPrep::ProhibitedCodepoint - -# SASL::ProtocolAdapters modules are meant to be used as mixins for -# SASL::ClientAdapter and its subclasses. Where the client adapter must -# be customized for each client library, the protocol adapter mixin -# handles \SASL requirements that are part of the protocol specification, -# but not specific to any particular client library. In particular, see -# {RFC4422 §4}[https://www.rfc-editor.org/rfc/rfc4422.html#section-4] -# -# === Interface -# -# >>> -# NOTE: This API is experimental, and may change. -# -# - {#command_name}[rdoc-ref:Generic#command_name] -- The name of the -# command used to to initiate an authentication exchange. -# - {#service}[rdoc-ref:Generic#service] -- The GSSAPI service name. -# - {#encode_ir}[rdoc-ref:Generic#encode_ir]--Encodes an initial response. -# - {#decode}[rdoc-ref:Generic#decode] -- Decodes a server challenge. -# - {#encode}[rdoc-ref:Generic#encode] -- Encodes a client response. -# - {#cancel_response}[rdoc-ref:Generic#cancel_response] -- The encoded -# client response used to cancel an authentication exchange. -# -# Other protocol requirements of the \SASL authentication exchange are -# handled by SASL::ClientAdapter. -# -# === Included protocol adapters -# -# - Generic -- a basic implementation of all of the methods listed above. -# - IMAP -- An adapter for the IMAP4 protocol. -# - SMTP -- An adapter for the \SMTP protocol with the +AUTH+ capability. -# - POP -- An adapter for the POP3 protocol with the +SASL+ capability. -# -# source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#37 -module Net::IMAP::SASL::ProtocolAdapters; end - -# See SASL::ProtocolAdapters@Interface. -# -# source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#39 -module Net::IMAP::SASL::ProtocolAdapters::Generic - # Returns the message used by the client to abort an authentication - # exchange. - # - # The generic implementation returns "*". - # - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#73 - def cancel_response; end - - # The name of the protocol command used to initiate a \SASL - # authentication exchange. - # - # The generic implementation returns "AUTHENTICATE". - # - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#44 - def command_name; end - - # Decodes a server challenge string. - # - # The generic implementation returns the Base64 decoding of +string+. - # - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#67 - def decode(string); end - - # Encodes a client response string. - # - # The generic implementation returns the Base64 encoding of +string+. - # - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#62 - def encode(string); end - - # Encodes an initial response string. - # - # The generic implementation returns the result of #encode, or returns - # "=" when +string+ is empty. - # - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#57 - def encode_ir(string); end - - # A service name from the {GSSAPI/Kerberos/SASL Service Names - # registry}[https://www.iana.org/assignments/gssapi-service-names/gssapi-service-names.xhtml]. - # - # The generic implementation returns "host", which is the - # generic GSSAPI host-based service name. - # - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#51 - def service; end -end - -# See RFC-3501 (IMAP4rev1), RFC-4959 (SASL-IR capability), -# and RFC-9051 (IMAP4rev2). -# -# source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#78 -module Net::IMAP::SASL::ProtocolAdapters::IMAP - include ::Net::IMAP::SASL::ProtocolAdapters::Generic - - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#80 - def service; end -end - -# See RFC-5034 (SASL capability). -# -# source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#91 -module Net::IMAP::SASL::ProtocolAdapters::POP - include ::Net::IMAP::SASL::ProtocolAdapters::Generic - - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#93 - def command_name; end - - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#94 - def service; end -end - -# See RFC-4954 (AUTH capability). -# -# source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#84 -module Net::IMAP::SASL::ProtocolAdapters::SMTP - include ::Net::IMAP::SASL::ProtocolAdapters::Generic - - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#86 - def command_name; end - - # source://net-imap//lib/net/imap/sasl/protocol_adapters.rb#87 - def service; end -end - -# Alias for Net::IMAP::StringPrep::SASLprep. -# -# source://net-imap//lib/net/imap/sasl/stringprep.rb#6 -Net::IMAP::SASL::SASLprep = Net::IMAP::StringPrep::SASLprep - -# For method descriptions, -# see {RFC5802 §2.2}[https://www.rfc-editor.org/rfc/rfc5802#section-2.2] -# and {RFC5802 §3}[https://www.rfc-editor.org/rfc/rfc5802#section-3]. -# -# source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#10 -module Net::IMAP::SASL::ScramAlgorithm - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#24 - def H(str); end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#26 - def HMAC(key, data); end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#13 - def Hi(str, salt, iterations); end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#11 - def Normalize(str); end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#28 - def XOR(str1, str2); end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#35 - def auth_message; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#48 - def client_key; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#53 - def client_proof; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#51 - def client_signature; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#44 - def salted_password; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#49 - def server_key; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#52 - def server_signature; end - - # source://net-imap//lib/net/imap/sasl/scram_algorithm.rb#50 - def stored_key; end -end - -# Abstract base class for the "+SCRAM-*+" family of SASL mechanisms, -# defined in RFC5802[https://www.rfc-editor.org/rfc/rfc5802]. Use via -# Net::IMAP#authenticate. -# -# Directly supported: -# * +SCRAM-SHA-1+ --- ScramSHA1Authenticator -# * +SCRAM-SHA-256+ --- ScramSHA256Authenticator -# -# New +SCRAM-*+ mechanisms can easily be added for any hash algorithm -# supported by -# OpenSSL::Digest[https://ruby.github.io/openssl/OpenSSL/Digest.html]. -# Subclasses need only set an appropriate +DIGEST_NAME+ constant. -# -# === SCRAM algorithm -# -# See the documentation and method definitions on ScramAlgorithm for an -# overview of the algorithm. The different mechanisms differ only by -# which hash function that is used (or by support for channel binding with -# +-PLUS+). -# -# See also the methods on GS2Header. -# -# ==== Server messages -# -# As server messages are received, they are validated and loaded into -# the various attributes, e.g: #snonce, #salt, #iterations, #verifier, -# #server_error, etc. -# -# Unlike many other SASL mechanisms, the +SCRAM-*+ family supports mutual -# authentication and can return server error data in the server messages. -# If #process raises an Error for the server-final-message, then -# server_error may contain error details. -# -# === TLS Channel binding -# -# The SCRAM-*-PLUS mechanisms and channel binding are not -# supported yet. -# -# === Caching SCRAM secrets -# -# Caching of salted_password, client_key, stored_key, and server_key -# is not supported yet. -# -# source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#56 -class Net::IMAP::SASL::ScramAuthenticator - include ::Net::IMAP::SASL::GS2Header - include ::Net::IMAP::SASL::ScramAlgorithm - - # :call-seq: - # new(username, password, **options) -> auth_ctx - # new(username:, password:, **options) -> auth_ctx - # new(authcid:, password:, **options) -> auth_ctx - # - # Creates an authenticator for one of the "+SCRAM-*+" SASL mechanisms. - # Each subclass defines #digest to match a specific mechanism. - # - # Called by Net::IMAP#authenticate and similar methods on other clients. - # - # === Parameters - # - # * #authcid ― Identity whose #password is used. - # - # #username - An alias for #authcid. - # * #password ― Password or passphrase associated with this #username. - # * _optional_ #authzid ― Alternate identity to act as or on behalf of. - # * _optional_ #min_iterations - Overrides the default value (4096). - # - # Any other keyword parameters are quietly ignored. - # - # @return [ScramAuthenticator] a new instance of ScramAuthenticator - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#80 - def initialize(username_arg = T.unsafe(nil), password_arg = T.unsafe(nil), authcid: T.unsafe(nil), username: T.unsafe(nil), authzid: T.unsafe(nil), password: T.unsafe(nil), secret: T.unsafe(nil), min_iterations: T.unsafe(nil), cnonce: T.unsafe(nil), **options); end - - # Authentication identity: the identity that matches the #password. - # - # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term - # +username+. "Authentication identity" is the generic term used by - # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. - # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs - # abbreviate this to +authcid+. - # - # 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 - # identity form is application protocol specific. If not provided or - # left blank, the server derives an authorization identity from the - # authentication identity. For example, an administrator or superuser - # might take on another role: - # - # imap.authenticate "SCRAM-SHA-256", "root", passwd, authzid: "user" - # - # The server is responsible for verifying the client's credentials and - # verifying that the identity it associates with the client's - # authentication identity is allowed to act as (or on behalf of) the - # authorization identity. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#126 - def authzid; end - - # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] - # +cbind-input+. - # - # >>> - # *TODO:* implement channel binding, appending +cbind-data+ here. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#251 - def cbind_input; end - - # The client nonce, generated by SecureRandom - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#133 - def cnonce; end - - # Returns a new OpenSSL::Digest object, set to the appropriate hash - # function for the chosen mechanism. - # - # The class's +DIGEST_NAME+ constant must be set to the name of an - # algorithm supported by OpenSSL::Digest. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#155 - def digest; end - - # Is the authentication exchange complete? - # - # If false, another server continuation is required. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#185 - def done?; end - - # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] - # +client-first-message+. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#159 - def initial_client_response; end - - # The iteration count for the selected hash function and user - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#142 - def iterations; end - - # The minimal allowed iteration count. Lower #iterations will raise an - # Error. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#130 - def min_iterations; end - - # A password or passphrase that matches the #username. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#111 - def password; end - - # responds to the server's challenges - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#164 - def process(challenge); end - - # The salt used by the server for this user - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#139 - def salt; end - - # A password or passphrase that matches the #username. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#112 - def secret; end - - # An error reported by the server during the \SASL exchange. - # - # Does not include errors reported by the protocol, e.g. - # Net::IMAP::NoResponseError. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#148 - def server_error; end - - # The server nonce, which must start with #cnonce - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#136 - def snonce; end - - # Authentication identity: the identity that matches the #password. - # - # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term - # +username+. "Authentication identity" is the generic term used by - # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. - # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs - # abbreviate this to +authcid+. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#107 - def username; end - - private - - # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] - # +client-final-message-without-proof+. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#240 - def client_final_message_without_proof; end - - # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] - # +client-first-message-bare+. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#225 - def client_first_message_bare; end - - # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] - # +client-final-message+. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#233 - def final_message_with_proof; end - - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#192 - def format_message(hash); end - - # RFC5802 specifies "that the order of attributes in client or server - # messages is fixed, with the exception of extension attributes", but - # this parses it simply as a hash, without respect to order. Note that - # repeated keys (violating the spec) will use the last value. - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#257 - def parse_challenge(challenge); end - - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#211 - def recv_server_final_message(server_final_message); end - - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#194 - def recv_server_first_message(server_first_message); end - - # Need to store this for auth_message - # - # source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#190 - def server_first_message; end -end - -# Authenticator for the "+SCRAM-SHA-1+" SASL mechanism, defined in -# RFC5802[https://www.rfc-editor.org/rfc/rfc5802]. -# -# Uses the "SHA-1" digest algorithm from OpenSSL::Digest. -# -# See ScramAuthenticator. -# -# source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#271 -class Net::IMAP::SASL::ScramSHA1Authenticator < ::Net::IMAP::SASL::ScramAuthenticator; end - -# source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#272 -Net::IMAP::SASL::ScramSHA1Authenticator::DIGEST_NAME = T.let(T.unsafe(nil), String) - -# Authenticator for the "+SCRAM-SHA-256+" SASL mechanism, defined in -# RFC7677[https://www.rfc-editor.org/rfc/rfc7677]. -# -# Uses the "SHA-256" digest algorithm from OpenSSL::Digest. -# -# See ScramAuthenticator. -# -# source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#281 -class Net::IMAP::SASL::ScramSHA256Authenticator < ::Net::IMAP::SASL::ScramAuthenticator; end - -# source://net-imap//lib/net/imap/sasl/scram_authenticator.rb#282 -Net::IMAP::SASL::ScramSHA256Authenticator::DIGEST_NAME = T.let(T.unsafe(nil), String) - -# source://net-imap//lib/net/imap/sasl/stringprep.rb#7 -Net::IMAP::SASL::StringPrep = Net::IMAP::StringPrep - -# source://net-imap//lib/net/imap/sasl/stringprep.rb#10 -Net::IMAP::SASL::StringPrepError = Net::IMAP::StringPrep::StringPrepError - -# Authenticator for the "+XOAUTH2+" SASL mechanism. This mechanism was -# originally created for GMail and widely adopted by hosted email providers. -# +XOAUTH2+ has been documented by -# Google[https://developers.google.com/gmail/imap/xoauth2-protocol] and -# Microsoft[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth]. -# -# This mechanism requires an OAuth2 access token which has been authorized -# with the appropriate OAuth2 scopes to access the user's services. Most of -# these scopes are not standardized---consult each service provider's -# documentation for their scopes. -# -# Although this mechanism was never standardized and has been obsoleted by -# "+OAUTHBEARER+", it is still very widely supported. -# -# See Net::IMAP::SASL::OAuthBearerAuthenticator. -# -# source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#18 -class Net::IMAP::SASL::XOAuth2Authenticator - # :call-seq: - # new(username, oauth2_token, **) -> authenticator - # new(username:, oauth2_token:, **) -> authenticator - # new(authzid:, oauth2_token:, **) -> authenticator - # - # Creates an Authenticator for the "+XOAUTH2+" SASL mechanism, as specified by - # Google[https://developers.google.com/gmail/imap/xoauth2-protocol], - # Microsoft[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth] - # and Yahoo[https://senders.yahooinc.com/developer/documentation]. + # * #password ― A password or passphrase associated with this #authcid. # - # === Properties + # * _optional_ #authzid ― Authorization identity to act as or on behalf of. # - # * #username --- the username for the account being accessed. + # When +authzid+ is not set, the server should derive the authorization + # identity from the authentication identity. # - # #authzid --- an alias for #username. + # * _optional_ #realm — A namespace for the #username, e.g. a domain. + # Defaults to the last realm in the server-provided realms list. + # * _optional_ #host — FQDN for requested service. + # Defaults to #realm. + # * _optional_ #service_name — The generic host name when the server is + # replicated. + # * _optional_ #service — the registered service protocol. E.g. "imap", + # "smtp", "ldap", "xmpp". + # For Net::IMAP, this defaults to "imap". # - # Note that, unlike some other authenticators, +username+ sets the - # _authorization_ identity and not the _authentication_ identity. The - # authenticated identity is established for the client with the OAuth token. + # * _optional_ +warn_deprecation+ — Set to +false+ to silence the warning. # - # * #oauth2_token --- An OAuth2.0 access token which is authorized to access - # the service for #username. + # Any other keyword arguments are silently ignored. # - # Any other keyword parameters are quietly ignored. + # @return [DigestMD5Authenticator] a new instance of DigestMD5Authenticator # - # @return [XOAuth2Authenticator] a new instance of XOAuth2Authenticator + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:154 + def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authz = T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), authzid: T.unsafe(nil), authcid: T.unsafe(nil), secret: T.unsafe(nil), realm: T.unsafe(nil), service: T.unsafe(nil), host: T.unsafe(nil), service_name: T.unsafe(nil), warn_deprecation: T.unsafe(nil), **_arg13); end + + # Authentication identity: the identity that matches the #password. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#71 - def initialize(user = T.unsafe(nil), token = T.unsafe(nil), username: T.unsafe(nil), oauth2_token: T.unsafe(nil), authzid: T.unsafe(nil), secret: T.unsafe(nil), **_arg6); end + # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. + # "Authentication identity" is the generic term used by + # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. + # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs abbreviate + # this to +authcid+. + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:46 + def authcid; end - # It is unclear from {Google's original XOAUTH2 - # documentation}[https://developers.google.com/gmail/imap/xoauth2-protocol], - # whether "User" refers to the authentication identity (+authcid+) or the - # authorization identity (+authzid+). The authentication identity is - # established for the client by the OAuth token, so it seems that +username+ - # must be the authorization identity. + # Authorization identity: an identity to act as or on behalf of. The identity + # form is application protocol specific. If not provided or left blank, the + # server derives an authorization identity from the authentication identity. + # The server is responsible for verifying the client's credentials and + # verifying that the identity it associates with the client's authentication + # identity is allowed to act as (or on behalf of) the authorization identity. # - # {Microsoft's documentation for shared - # mailboxes}[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#sasl-xoauth2-authentication-for-shared-mailboxes-in-office-365] - # _clearly_ indicates that the Office 365 server interprets it as the - # authorization identity. + # For example, an administrator or superuser might take on another role: # - # Although they _should_ validate that the token has been authorized to access - # the service for +username+, _some_ servers appear to ignore this field, - # relying only the identity and scope authorized by the token. - # Note that, unlike most other authenticators, #username is an alias for the - # authorization identity and not the authentication identity. The - # authenticated identity is established for the client by the #oauth2_token. + # imap.authenticate "DIGEST-MD5", "root", ->{passwd}, authzid: "user" # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#40 + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:64 def authzid; end - # Returns true when the initial client response was sent. + # The charset sent by the server. "UTF-8" (case insensitive) is the only + # allowed value. +nil+ should be interpreted as ISO 8859-1. # - # The authentication should not succeed unless this returns true, but it - # does *not* indicate success. + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:111 + def charset; end + + # From RFC-2831[https://www.rfc-editor.org/rfc/rfc2831]: + # >>> + # Indicates the principal name of the service with which the client wishes + # to connect, formed from the serv-type, host, and serv-name. For + # example, the FTP service on "ftp.example.com" would have a "digest-uri" + # value of "ftp/ftp.example.com"; the SMTP server from the example above + # would have a "digest-uri" value of "smtp/mail3.example.com/example.com". # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:186 + def digest_uri; end + # @return [Boolean] # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#98 + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:246 def done?; end - # :call-seq: - # initial_response? -> true + # Fully qualified canonical DNS host name for the requested service. # - # +XOAUTH2+ can send an initial client response. + # Defaults to #realm. # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:78 + def host; end + # @return [Boolean] # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#84 + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:194 def initial_response?; end - # An OAuth2 access token which has been authorized with the appropriate OAuth2 - # scopes to use the service for #username. + # nonce sent by the server # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#44 - def oauth2_token; end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:114 + def nonce; end - # Returns the XOAUTH2 formatted response, which combines the +username+ - # with the +oauth2_token+. + # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#88 - def process(_data); end + # The +password+ will be used to create the response digest. + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:51 + def password; end - # An OAuth2 access token which has been authorized with the appropriate OAuth2 - # scopes to use the service for #username. + # Responds to server challenge in two stages. # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#45 - def secret; end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:197 + def process(challenge); end - # It is unclear from {Google's original XOAUTH2 - # documentation}[https://developers.google.com/gmail/imap/xoauth2-protocol], - # whether "User" refers to the authentication identity (+authcid+) or the - # authorization identity (+authzid+). The authentication identity is - # established for the client by the OAuth token, so it seems that +username+ - # must be the authorization identity. + # qop-options sent by the server # - # {Microsoft's documentation for shared - # mailboxes}[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#sasl-xoauth2-authentication-for-shared-mailboxes-in-office-365] - # _clearly_ indicates that the Office 365 server interprets it as the - # authorization identity. + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:117 + def qop; end + + # A namespace or collection of identities which contains +username+. # - # Although they _should_ validate that the token has been authorized to access - # the service for +username+, _some_ servers appear to ignore this field, - # relying only the identity and scope authorized by the token. + # Used by DIGEST-MD5, GSS-API, and NTLM. This is often a domain name that + # contains the name of the host performing the authentication. + # + # Defaults to the last realm in the server-provided list of + # realms. + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:73 + def realm; end + + # The service protocol, a + # {registered GSSAPI service name}[https://www.iana.org/assignments/gssapi-service-names/gssapi-service-names.xhtml], + # e.g. "imap", "ldap", or "xmpp". # - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#35 + # For Net::IMAP, the default is "imap" and should not be overridden. This + # must be set appropriately to use authenticators in other protocols. + # + # If an IANA-registered name isn't available, GSS-API + # (RFC-2743[https://www.rfc-editor.org/rfc/rfc2743]) allows the generic name + # "host". + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:90 + def service; end + + # The generic server name when the server is replicated. + # + # +service_name+ will be ignored when it is +nil+ or identical to +host+. + # + # From RFC-2831[https://www.rfc-editor.org/rfc/rfc2831]: + # >>> + # The service is considered to be replicated if the client's + # service-location process involves resolution using standard DNS lookup + # operations, and if these operations involve DNS records (such as SRV, or + # MX) which resolve one DNS name into a set of other DNS names. In this + # case, the initial name used by the client is the "serv-name", and the + # final name is the "host" component. + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:104 + def service_name; end + + # Parameters sent by the server are stored in this hash. + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:107 + def sparams; end + + # Authentication identity: the identity that matches the #password. + # + # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. + # "Authentication identity" is the generic term used by + # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. + # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs abbreviate + # this to +authcid+. + # + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:45 def username; end private - # source://net-imap//lib/net/imap/sasl/xoauth2_authenticator.rb#102 - def build_oauth2_string(username, oauth2_token); end -end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:306 + def compute_a0(response); end -# Experimental -# -# source://net-imap//lib/net/imap/sasl_adapter.rb#7 -class Net::IMAP::SASLAdapter < ::Net::IMAP::SASL::ClientAdapter - include ::Net::IMAP::SASL::ProtocolAdapters::IMAP + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:312 + def compute_a1(response); end - # source://net-imap//lib/net/imap/sasl_adapter.rb#15 - def drop_connection; end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:319 + def compute_a2(response); end - # source://net-imap//lib/net/imap/sasl_adapter.rb#16 - def drop_connection!; end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:327 + def format_response(response); end - # source://net-imap//lib/net/imap/sasl_adapter.rb#13 - def response_errors; end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:286 + def nc(nonce); end - # @return [Boolean] + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:259 + def parse_challenge(challenge); end + + # some responses need quoting # - # source://net-imap//lib/net/imap/sasl_adapter.rb#14 - def sasl_ir_capable?; end + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:332 + def qdval(k, v); end + + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:294 + def response_value(response); end + + # pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:280 + def split_quoted_list(value, challenge); end end -# source://net-imap//lib/net/imap/sasl_adapter.rb#10 -Net::IMAP::SASLAdapter::RESPONSE_ERRORS = T.let(T.unsafe(nil), Array) +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:254 +Net::IMAP::SASL::DigestMD5Authenticator::AUTH_PARAM = T.let(T.unsafe(nil), Regexp) -# Mailbox attribute indicating that this mailbox is used to hold copies of -# messages that have been sent. Some server implementations might put -# messages here automatically. Alternatively, this might just be advice that -# a client save sent messages here. -# -# source://net-imap//lib/net/imap/flags.rb#248 -Net::IMAP::SENT = T.let(T.unsafe(nil), Symbol) +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:12 +Net::IMAP::SASL::DigestMD5Authenticator::DataFormatError = Net::IMAP::DataFormatError -# strftime/strptime format for an IMAP4 +date+, excluding optional dquotes. -# Use via the encode_date and decode_date methods. -# -# date = date-text / DQUOTE date-text DQUOTE -# date-text = date-day "-" date-month "-" date-year +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:253 +Net::IMAP::SASL::DigestMD5Authenticator::LIST_DELIM = T.let(T.unsafe(nil), Regexp) + +# less strict than RFC, more strict than '\s' # -# date-day = 1*2DIGIT -# ; Day of month -# date-month = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun" / -# "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec" -# date-year = 4DIGIT +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:250 +Net::IMAP::SASL::DigestMD5Authenticator::LWS = T.let(T.unsafe(nil), Regexp) + +# Directives which must not have multiples. The RFC states: +# >>> +# This directive may appear at most once; if multiple instances are present, +# the client should abort the authentication exchange. # -# source://net-imap//lib/net/imap/data_encoding.rb#22 -Net::IMAP::STRFDATE = T.let(T.unsafe(nil), String) +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:25 +Net::IMAP::SASL::DigestMD5Authenticator::NO_MULTIPLES = T.let(T.unsafe(nil), Array) -# strftime/strptime format for an IMAP4 +date-time+, including dquotes. -# See the encode_datetime and decode_datetime methods. +# Directives which are composed of one or more comma delimited tokens # -# date-time = DQUOTE date-day-fixed "-" date-month "-" date-year -# SP time SP zone DQUOTE +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:34 +Net::IMAP::SASL::DigestMD5Authenticator::QUOTED_LISTABLE = T.let(T.unsafe(nil), Array) + +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:252 +Net::IMAP::SASL::DigestMD5Authenticator::QUOTED_STR = T.let(T.unsafe(nil), Regexp) + +# Required directives which must occur exactly once. The RFC states: >>> +# This directive is required and MUST appear exactly once; if not present, +# or if multiple instances are present, the client should abort the +# authentication exchange. # -# date-day-fixed = (SP DIGIT) / 2DIGIT -# ; Fixed-format version of date-day -# date-month = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun" / -# "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec" -# date-year = 4DIGIT -# time = 2DIGIT ":" 2DIGIT ":" 2DIGIT -# ; Hours minutes seconds -# zone = ("+" / "-") 4DIGIT -# ; Signed four-digit value of hhmm representing -# ; hours and minutes east of Greenwich (that is, -# ; the amount that the given time differs from -# ; Universal Time). Subtracting the timezone -# ; from the given time will give the UT form. -# ; The Universal Time zone is "+0000". +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:31 +Net::IMAP::SASL::DigestMD5Authenticator::REQUIRED = T.let(T.unsafe(nil), Array) + +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:13 +Net::IMAP::SASL::DigestMD5Authenticator::ResponseParseError = Net::IMAP::ResponseParseError + +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:18 +Net::IMAP::SASL::DigestMD5Authenticator::STAGE_DONE = T.let(T.unsafe(nil), Symbol) + +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:16 +Net::IMAP::SASL::DigestMD5Authenticator::STAGE_ONE = T.let(T.unsafe(nil), Symbol) + +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:17 +Net::IMAP::SASL::DigestMD5Authenticator::STAGE_TWO = T.let(T.unsafe(nil), Symbol) + +# pkg:gem/net-imap#lib/net/imap/sasl/digest_md5_authenticator.rb:251 +Net::IMAP::SASL::DigestMD5Authenticator::TOKEN = T.let(T.unsafe(nil), Regexp) + +# Exception class for any client error detected during the authentication +# exchange. # -# Note that Time.strptime "%d" flexibly parses either space or zero -# padding. However, the DQUOTEs are *not* optional. +# When the _server_ reports an authentication failure, it will respond +# with a protocol specific error instead, e.g: +BAD+ or +NO+ in IMAP. # -# source://net-imap//lib/net/imap/data_encoding.rb#47 -Net::IMAP::STRFTIME = T.let(T.unsafe(nil), String) - -# The mailbox name was subscribed to using the #subscribe command. +# When the client encounters any error, it *must* consider the +# authentication exchange to be unsuccessful and it might need to drop the +# connection. For example, if the server reports that the authentication +# exchange was successful or the protocol does not allow additional +# authentication attempts. # -# source://net-imap//lib/net/imap/flags.rb#173 -Net::IMAP::SUBSCRIBED = T.let(T.unsafe(nil), Symbol) +# pkg:gem/net-imap#lib/net/imap/sasl.rb:102 +class Net::IMAP::SASL::Error < ::StandardError; end -# An array of sequence numbers returned by Net::IMAP#search, or unique -# identifiers returned by Net::IMAP#uid_search. +# Authenticator for the "+EXTERNAL+" SASL mechanism, as specified by +# RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. See +# Net::IMAP#authenticate. # -# For backward compatibility, SearchResult inherits from Array. +# The EXTERNAL mechanism requests that the server use client credentials +# established external to SASL, for example by TLS certificate or IPSec. # -# source://net-imap//lib/net/imap/search_result.rb#10 -class Net::IMAP::SearchResult < ::Array - # Returns a SearchResult populated with the given +seq_nums+. +# pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:13 +class Net::IMAP::SASL::ExternalAuthenticator + # :call-seq: + # new(authzid: nil, **) -> authenticator + # new(username: nil, **) -> authenticator + # new(username = nil, **) -> authenticator + # + # Creates an Authenticator for the "+EXTERNAL+" SASL mechanism, as + # specified in RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. To use + # this, see Net::IMAP#authenticate or your client's authentication + # method. + # + # ==== Parameters + # + # * _optional_ #authzid ― Authorization identity to act as or on behalf of. + # + # _optional_ #username ― An alias for #authzid. # - # Net::IMAP::SearchResult.new([1, 3, 5], modseq: 9) - # # => Net::IMAP::SearchResult[1, 3, 5, modseq: 9] + # Note that, unlike some other authenticators, +username+ sets the + # _authorization_ identity and not the _authentication_ identity. The + # authentication identity is established for the client by the + # external credentials. # - # @return [SearchResult] a new instance of SearchResult + # Any other keyword parameters are quietly ignored. # - # source://net-imap//lib/net/imap/search_result.rb#29 - def initialize(seq_nums, modseq: T.unsafe(nil)); end - - # Returns whether +other+ is a SearchResult with the same values and the - # same #modseq. The order of numbers is irrelevant. + # @return [ExternalAuthenticator] a new instance of ExternalAuthenticator # - # Net::IMAP::SearchResult[123, 456, modseq: 789] == - # Net::IMAP::SearchResult[123, 456, modseq: 789] - # # => true - # Net::IMAP::SearchResult[123, 456, modseq: 789] == - # Net::IMAP::SearchResult[456, 123, modseq: 789] - # # => true + # pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:52 + def initialize(user = T.unsafe(nil), authzid: T.unsafe(nil), username: T.unsafe(nil), **_arg3); end + + # Authorization identity: an identity to act as or on behalf of. The + # identity form is application protocol specific. If not provided or + # left blank, the server derives an authorization identity from the + # authentication identity. The server is responsible for verifying the + # client's credentials and verifying that the identity it associates + # with the client's authentication identity is allowed to act as (or on + # behalf of) the authorization identity. # - # Net::IMAP::SearchResult[123, 456, modseq: 789] == - # Net::IMAP::SearchResult[987, 654, modseq: 789] - # # => false - # Net::IMAP::SearchResult[123, 456, modseq: 789] == - # Net::IMAP::SearchResult[1, 2, 3, modseq: 9999] - # # => false + # For example, an administrator or superuser might take on another role: # - # SearchResult can be compared directly with Array, if #modseq is nil and - # the array is sorted. + # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # Net::IMAP::SearchResult[9, 8, 6, 4, 1] == [1, 4, 6, 8, 9] # => true - # Net::IMAP::SearchResult[3, 5, 7, modseq: 99] == [3, 5, 7] # => false + # pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:27 + def authzid; end + + # Returns true when the initial client response was sent. # - # Note that Array#== does require matching order and ignores #modseq. + # The authentication should not succeed unless this returns true, but it + # does *not* indicate success. # - # [9, 8, 6, 4, 1] == Net::IMAP::SearchResult[1, 4, 6, 8, 9] # => false - # [3, 5, 7] == Net::IMAP::SearchResult[3, 5, 7, modseq: 99] # => true + # @return [Boolean] # - # source://net-imap//lib/net/imap/search_result.rb#62 - def ==(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:78 + def done?; end - # Hash equality. Unlike #==, order will be taken into account. + # :call-seq: + # initial_response? -> true + # + # +EXTERNAL+ can send an initial client response. # # @return [Boolean] # - # source://net-imap//lib/net/imap/search_result.rb#77 - def eql?(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:65 + def initial_response?; end - # Hash equality. Unlike #==, order will be taken into account. + # Returns #authzid, or an empty string if there is no authzid. # - # source://net-imap//lib/net/imap/search_result.rb#71 - def hash; end + # pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:68 + def process(_); end - # Returns a string that represents the SearchResult. + # Authorization identity: an identity to act as or on behalf of. The + # identity form is application protocol specific. If not provided or + # left blank, the server derives an authorization identity from the + # authentication identity. The server is responsible for verifying the + # client's credentials and verifying that the identity it associates + # with the client's authentication identity is allowed to act as (or on + # behalf of) the authorization identity. # - # Net::IMAP::SearchResult[123, 456, 789].inspect - # # => "[123, 456, 789]" + # For example, an administrator or superuser might take on another role: # - # Net::IMAP::SearchResult[543, 210, 678, modseq: 2048].inspect - # # => "Net::IMAP::SearchResult[543, 210, 678, modseq: 2048]" + # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/search_result.rb#90 - def inspect; end + # pkg:gem/net-imap#lib/net/imap/sasl/external_authenticator.rb:28 + def username; end +end - # A modification sequence number, as described by the +CONDSTORE+ - # extension in {[RFC7162 - # §3.1.6]}[https://www.rfc-editor.org/rfc/rfc7162.html#section-3.1.6]. +# Originally defined for the GS2 mechanism family in +# RFC5801[https://www.rfc-editor.org/rfc/rfc5801], +# several different mechanisms start with a GS2 header: +# * +GS2-*+ --- RFC5801[https://www.rfc-editor.org/rfc/rfc5801] +# * +SCRAM-*+ --- RFC5802[https://www.rfc-editor.org/rfc/rfc5802] +# (ScramAuthenticator) +# * +SAML20+ --- RFC6595[https://www.rfc-editor.org/rfc/rfc6595] +# * +OPENID20+ --- RFC6616[https://www.rfc-editor.org/rfc/rfc6616] +# * +OAUTH10A+ --- RFC7628[https://www.rfc-editor.org/rfc/rfc7628] +# * +OAUTHBEARER+ --- RFC7628[https://www.rfc-editor.org/rfc/rfc7628] +# (OAuthBearerAuthenticator) +# +# Classes that include this module must implement +#authzid+. +# +# pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:20 +module Net::IMAP::SASL::GS2Header + # The {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] + # +gs2-authzid+ header, when +#authzid+ is not empty. # - # source://net-imap//lib/net/imap/search_result.rb#23 - def modseq; end - - # source://net-imap//lib/net/imap/search_result.rb#123 - def pretty_print(pp); end + # If +#authzid+ is empty or +nil+, an empty string is returned. + # + # pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:59 + def gs2_authzid; end - # Returns a string that follows the formal \IMAP syntax. + # The {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] + # +gs2-cb-flag+: # - # data = Net::IMAP::SearchResult[2, 8, 32, 128, 256, 512] - # data.to_s # => "* SEARCH 2 8 32 128 256 512" - # data.to_s("SEARCH") # => "* SEARCH 2 8 32 128 256 512" - # data.to_s("SORT") # => "* SORT 2 8 32 128 256 512" - # data.to_s(nil) # => "2 8 32 128 256 512" + # "+n+":: The client doesn't support channel binding. + # "+y+":: The client does support channel binding + # but thinks the server does not. + # "+p+":: The client requires channel binding. + # The selected channel binding follows "+p=+". # - # data = Net::IMAP::SearchResult[1, 3, 16, 1024, modseq: 2048] - # data.to_s # => "* SEARCH 1 3 16 1024 (MODSEQ 2048)" - # data.to_s("SORT") # => "* SORT 1 3 16 1024 (MODSEQ 2048)" - # data.to_s(nil) # => "1 3 16 1024 (MODSEQ 2048)" + # The default always returns "+n+". A mechanism that supports channel + # binding must override this method. # - # source://net-imap//lib/net/imap/search_result.rb#108 - def to_s(type = T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:53 + def gs2_cb_flag; end - # Converts the SearchResult into a SequenceSet. + # The {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] + # +gs2-header+, which prefixes the #initial_client_response. + # + # >>> + # Note: the actual GS2 header includes an optional flag to + # indicate that the GSS mechanism is not "standard", but since all of + # the SASL mechanisms using GS2 are "standard", we don't include that + # flag. A class for a nonstandard GSSAPI mechanism should prefix with + # "+F,+". # - # Net::IMAP::SearchResult[9, 1, 2, 4, 10, 12, 3, modseq: 123_456] - # .to_sequence_set - # # => Net::IMAP::SequenceSet["1:4,9:10,12"] + # pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:37 + def gs2_header; end + + private + + # Encodes +str+ to match RFC5801_SASLNAME. # - # source://net-imap//lib/net/imap/search_result.rb#121 - def to_sequence_set; end + # pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:67 + def gs2_saslname_encode(str); end class << self - # Returns a SearchResult populated with the given +seq_nums+. - # - # Net::IMAP::SearchResult[1, 3, 5, modseq: 9] - # # => Net::IMAP::SearchResult[1, 3, 5, modseq: 9] + # Encodes +str+ to match RFC5801_SASLNAME. # - # source://net-imap//lib/net/imap/search_result.rb#16 - def [](*seq_nums, modseq: T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:67 + def gs2_saslname_encode(str); end end end -# An \IMAP sequence set is a set of message sequence numbers or unique -# identifier numbers ("UIDs"). It contains numbers and ranges of numbers. -# The numbers are all non-zero unsigned 32-bit integers and one special -# value ("*") that represents the largest value in the mailbox. -# -# Certain types of \IMAP responses will contain a SequenceSet, for example -# the data for a "MODIFIED" ResponseCode. Some \IMAP commands may -# receive a SequenceSet as an argument, for example IMAP#search, IMAP#fetch, -# and IMAP#store. -# -# == Creating sequence sets -# -# SequenceSet.new with no arguments creates an empty sequence set. Note -# that an empty sequence set is invalid in the \IMAP grammar. -# -# set = Net::IMAP::SequenceSet.new -# set.empty? #=> true -# set.valid? #=> false -# set.valid_string #!> raises DataFormatError -# set << 1..10 -# set.empty? #=> false -# set.valid? #=> true -# set.valid_string #=> "1:10" -# -# SequenceSet.new may receive a single optional argument: a non-zero 32 bit -# unsigned integer, a range, a sequence-set formatted string, -# another sequence set, a Set (containing only numbers or *), or an -# Array containing any of these (array inputs may be nested). -# -# set = Net::IMAP::SequenceSet.new(1) -# set.valid_string #=> "1" -# set = Net::IMAP::SequenceSet.new(1..100) -# set.valid_string #=> "1:100" -# set = Net::IMAP::SequenceSet.new(1...100) -# set.valid_string #=> "1:99" -# set = Net::IMAP::SequenceSet.new([1, 2, 5..]) -# set.valid_string #=> "1:2,5:*" -# set = Net::IMAP::SequenceSet.new("1,2,3:7,5,6:10,2048,1024") -# set.valid_string #=> "1,2,3:7,5,6:10,2048,1024" -# set = Net::IMAP::SequenceSet.new(1, 2, 3..7, 5, 6..10, 2048, 1024) -# set.valid_string #=> "1:10,55,1024:2048" -# -# Use ::[] with one or more arguments to create a frozen SequenceSet. An -# invalid (empty) set cannot be created with ::[]. -# -# set = Net::IMAP::SequenceSet["1,2,3:7,5,6:10,2048,1024"] -# set.valid_string #=> "1,2,3:7,5,6:10,2048,1024" -# set = Net::IMAP::SequenceSet[1, 2, [3..7, 5], 6..10, 2048, 1024] -# set.valid_string #=> "1:10,55,1024:2048" -# -# == Ordered and Normalized sets -# -# Sometimes the order of the set's members is significant, such as with the -# +ESORT+, CONTEXT=SORT, and +UIDPLUS+ extensions. So, when a -# sequence set is created by the parser or with a single string value, that -# #string representation is preserved. -# -# Internally, SequenceSet stores a normalized representation which sorts all -# entries, de-duplicates numbers, and coalesces adjacent or overlapping -# ranges. Most methods use this normalized representation to achieve -# O(lg n) porformance. Use #entries or #each_entry to enumerate -# the set in its original order. -# -# Most modification methods convert #string to its normalized form. To -# preserve #string order while modifying a set, use #append, #string=, or -# #replace. -# -# == Using * -# -# \IMAP sequence sets may contain a special value "*", which -# represents the largest number in use. From +seq-number+ in -# {RFC9051 §9}[https://www.rfc-editor.org/rfc/rfc9051.html#section-9-5]: -# >>> -# In the case of message sequence numbers, it is the number of messages -# in a non-empty mailbox. In the case of unique identifiers, it is the -# unique identifier of the last message in the mailbox or, if the -# mailbox is empty, the mailbox's current UIDNEXT value. -# -# When creating a SequenceSet, * may be input as -1, -# "*", :*, an endless range, or a range ending in -# -1. When converting to #elements, #ranges, or #numbers, it will -# output as either :* or an endless range. For example: -# -# Net::IMAP::SequenceSet["1,3,*"].to_a #=> [1, 3, :*] -# Net::IMAP::SequenceSet["1,234:*"].to_a #=> [1, 234..] -# Net::IMAP::SequenceSet[1234..-1].to_a #=> [1234..] -# Net::IMAP::SequenceSet[1234..].to_a #=> [1234..] -# -# Net::IMAP::SequenceSet[1234..].to_s #=> "1234:*" -# Net::IMAP::SequenceSet[1234..-1].to_s #=> "1234:*" -# -# Use #limit to convert "*" to a maximum value. When a range -# includes "*", the maximum value will always be matched: -# -# Net::IMAP::SequenceSet["9999:*"].limit(max: 25) -# #=> Net::IMAP::SequenceSet["25"] -# -# === Surprising * behavior -# -# When a set includes *, some methods may have surprising behavior. -# -# For example, #complement treats * as its own number. This way, -# the #intersection of a set and its #complement will always be empty. -# This is not how an \IMAP server interprets the set: it will convert -# * to either the number of messages in the mailbox or +UIDNEXT+, -# as appropriate. And there _will_ be overlap between a set and its -# complement after #limit is applied to each: -# -# ~Net::IMAP::SequenceSet["*"] == Net::IMAP::SequenceSet[1..(2**32-1)] -# ~Net::IMAP::SequenceSet[1..5] == Net::IMAP::SequenceSet["6:*"] -# -# set = Net::IMAP::SequenceSet[1..5] -# (set & ~set).empty? => true -# -# (set.limit(max: 4) & (~set).limit(max: 4)).to_a => [4] -# -# When counting the number of numbers in a set, * will be counted -# _except_ when UINT32_MAX is also in the set: -# UINT32_MAX = 2**32 - 1 -# Net::IMAP::SequenceSet["*"].count => 1 -# Net::IMAP::SequenceSet[1..UINT32_MAX - 1, :*].count => UINT32_MAX -# -# Net::IMAP::SequenceSet["1:*"].count => UINT32_MAX -# Net::IMAP::SequenceSet[UINT32_MAX, :*].count => 1 -# Net::IMAP::SequenceSet[UINT32_MAX..].count => 1 -# -# == What's here? -# -# SequenceSet provides methods for: -# * {Creating a SequenceSet}[rdoc-ref:SequenceSet@Methods+for+Creating+a+SequenceSet] -# * {Comparing}[rdoc-ref:SequenceSet@Methods+for+Comparing] -# * {Querying}[rdoc-ref:SequenceSet@Methods+for+Querying] -# * {Iterating}[rdoc-ref:SequenceSet@Methods+for+Iterating] -# * {Set Operations}[rdoc-ref:SequenceSet@Methods+for+Set+Operations] -# * {Assigning}[rdoc-ref:SequenceSet@Methods+for+Assigning] -# * {Deleting}[rdoc-ref:SequenceSet@Methods+for+Deleting] -# * {IMAP String Formatting}[rdoc-ref:SequenceSet@Methods+for+IMAP+String+Formatting] -# -# === Methods for Creating a \SequenceSet -# * ::[]: Creates a validated frozen sequence set from one or more inputs. -# * ::new: Creates a new mutable sequence set, which may be empty (invalid). -# * ::try_convert: Calls +to_sequence_set+ on an object and verifies that -# the result is a SequenceSet. -# * ::empty: Returns a frozen empty (invalid) SequenceSet. -# * ::full: Returns a frozen SequenceSet containing every possible number. -# -# === Methods for Comparing -# -# Comparison to another \SequenceSet: -# - #==: Returns whether a given set contains the same numbers as +self+. -# - #eql?: Returns whether a given set uses the same #string as +self+. -# -# Comparison to objects which are convertible to \SequenceSet: -# - #===: -# Returns whether a given object is fully contained within +self+, or -# +nil+ if the object cannot be converted to a compatible type. -# - #cover?: -# Returns whether a given object is fully contained within +self+. -# - #intersect? (aliased as #overlap?): -# Returns whether +self+ and a given object have any common elements. -# - #disjoint?: -# Returns whether +self+ and a given object have no common elements. -# -# === Methods for Querying -# These methods do not modify +self+. -# -# Set membership: -# - #include? (aliased as #member?): -# Returns whether a given element (nz-number, range, or *) is -# contained by the set. -# - #include_star?: Returns whether the set contains *. -# -# Minimum and maximum value elements: -# - #min: Returns the minimum number in the set. -# - #max: Returns the maximum number in the set. -# - #minmax: Returns the minimum and maximum numbers in the set. -# -# Accessing value by offset in sorted set: -# - #[] (aliased as #slice): Returns the number or consecutive subset at a -# given offset or range of offsets in the sorted set. -# - #at: Returns the number at a given offset in the sorted set. -# - #find_index: Returns the given number's offset in the sorted set. -# -# Accessing value by offset in ordered entries -# - #ordered_at: Returns the number at a given offset in the ordered entries. -# - #find_ordered_index: Returns the index of the given number's first -# occurrence in entries. -# -# Set cardinality: -# - #count (aliased as #size): Returns the count of numbers in the set. -# Duplicated numbers are not counted. -# - #empty?: Returns whether the set has no members. \IMAP syntax does not -# allow empty sequence sets. -# - #valid?: Returns whether the set has any members. -# - #full?: Returns whether the set contains every possible value, including -# *. -# -# Denormalized properties: -# - #has_duplicates?: Returns whether the ordered entries repeat any -# numbers. -# - #count_duplicates: Returns the count of repeated numbers in the ordered -# entries. -# - #count_with_duplicates: Returns the count of numbers in the ordered -# entries, including any repeated numbers. -# -# === Methods for Iterating -# -# Normalized (sorted and coalesced): -# - #each_element: Yields each number and range in the set, sorted and -# coalesced, and returns +self+. -# - #elements (aliased as #to_a): Returns an Array of every number and range -# in the set, sorted and coalesced. -# - #each_range: -# Yields each element in the set as a Range and returns +self+. -# - #ranges: Returns an Array of every element in the set, converting -# numbers into ranges of a single value. -# - #each_number: Yields each number in the set and returns +self+. -# - #numbers: Returns an Array with every number in the set, expanding -# ranges into all of their contained numbers. -# - #to_set: Returns a Set containing all of the #numbers in the set. -# -# Order preserving: -# - #each_entry: Yields each number and range in the set, unsorted and -# without deduplicating numbers or coalescing ranges, and returns +self+. -# - #entries: Returns an Array of every number and range in the set, -# unsorted and without deduplicating numbers or coalescing ranges. -# - #each_ordered_number: Yields each number in the ordered entries and -# returns +self+. -# -# === Methods for \Set Operations -# These methods do not modify +self+. -# -# - #| (aliased as #union and #+): Returns a new set combining all members -# from +self+ with all members from the other set. -# - #& (aliased as #intersection): Returns a new set containing all members -# common to +self+ and the other set. -# - #- (aliased as #difference): Returns a copy of +self+ with all members -# in the other set removed. -# - #^ (aliased as #xor): Returns a new set containing all members from -# +self+ and the other set except those common to both. -# - #~ (aliased as #complement): Returns a new set containing all members -# that are not in +self+ -# - #limit: Returns a copy of +self+ which has replaced * with a -# given maximum value and removed all members over that maximum. -# -# === Methods for Assigning -# These methods add or replace elements in +self+. -# -# Normalized (sorted and coalesced): -# -# These methods always update #string to be fully sorted and coalesced. -# -# - #add (aliased as #<<): Adds a given element to the set; returns +self+. -# - #add?: If the given element is not fully included the set, adds it and -# returns +self+; otherwise, returns +nil+. -# - #merge: Adds all members of the given sets into this set; returns +self+. -# - #complement!: Replaces the contents of the set with its own #complement. -# -# Order preserving: -# -# These methods _may_ cause #string to not be sorted or coalesced. -# -# - #append: Adds the given entry to the set, appending it to the existing -# string, and returns +self+. -# - #string=: Assigns a new #string value and replaces #elements to match. -# - #replace: Replaces the contents of the set with the contents -# of a given object. -# -# === Methods for Deleting -# These methods remove elements from +self+, and update #string to be fully -# sorted and coalesced. -# -# - #clear: Removes all elements in the set; returns +self+. -# - #delete: Removes a given element from the set; returns +self+. -# - #delete?: If the given element is included in the set, removes it and -# returns it; otherwise, returns +nil+. -# - #delete_at: Removes the number at a given offset. -# - #slice!: Removes the number or consecutive numbers at a given offset or -# range of offsets. -# - #subtract: Removes all members of the given sets from this set; returns -# +self+. -# - #limit!: Replaces * with a given maximum value and removes all -# members over that maximum; returns +self+. -# -# === Methods for \IMAP String Formatting -# -# - #to_s: Returns the +sequence-set+ string, or an empty string when the -# set is empty. -# - #string: Returns the +sequence-set+ string, or nil when empty. -# - #valid_string: Returns the +sequence-set+ string, or raises -# DataFormatError when the set is empty. -# - #normalized_string: Returns a sequence-set string with its -# elements sorted and coalesced, or nil when the set is empty. -# - #normalize: Returns a new set with this set's normalized +sequence-set+ -# representation. -# - #normalize!: Updates #string to its normalized +sequence-set+ -# representation and returns +self+. -# -# source://net-imap//lib/net/imap/sequence_set.rb#307 -class Net::IMAP::SequenceSet - # Create a new SequenceSet object from +input+, which may be another - # SequenceSet, an IMAP formatted +sequence-set+ string, a number, a - # range, :*, or an enumerable of these. - # - # Use ::[] to create a frozen (non-empty) SequenceSet. - # - # @return [SequenceSet] a new instance of SequenceSet - # - # source://net-imap//lib/net/imap/sequence_set.rb#375 - def initialize(input = T.unsafe(nil)); end +# pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:21 +Net::IMAP::SASL::GS2Header::NO_NULL_CHARS = T.let(T.unsafe(nil), Regexp) - # :call-seq: - # self & other -> sequence set - # intersection(other) -> sequence set - # - # Returns a new sequence set containing only the numbers common to this - # set and +other+. - # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. - # - # Net::IMAP::SequenceSet[1..5] & [2, 4, 6] - # #=> Net::IMAP::SequenceSet["2,4"] - # - # (seqset & other) is equivalent to (seqset - ~other). - # - # source://net-imap//lib/net/imap/sequence_set.rb#654 - def &(other); end +# Matches {RFC5801 §4}[https://www.rfc-editor.org/rfc/rfc5801#section-4] +# +saslname+. The output from gs2_saslname_encode matches this Regexp. +# +# pkg:gem/net-imap#lib/net/imap/sasl/gs2_header.rb:26 +Net::IMAP::SASL::GS2Header::RFC5801_SASLNAME = T.let(T.unsafe(nil), Regexp) - # :call-seq: - # self + other -> sequence set - # self | other -> sequence set - # union(other) -> sequence set - # - # Returns a new sequence set that has every number in the +other+ object - # added. - # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. - # - # Net::IMAP::SequenceSet["1:5"] | 2 | [4..6, 99] - # #=> Net::IMAP::SequenceSet["1:6,99"] - # - # Related: #add, #merge +# Authenticator for the "+LOGIN+" SASL mechanism. See Net::IMAP#authenticate. +# +# +LOGIN+ authentication sends the password in cleartext. +# RFC3501[https://www.rfc-editor.org/rfc/rfc3501] encourages servers to disable +# cleartext authentication until after TLS has been negotiated. +# RFC8314[https://www.rfc-editor.org/rfc/rfc8314] recommends TLS version 1.2 or +# greater be used for all traffic, and deprecate cleartext access ASAP. +LOGIN+ +# can be secured by TLS encryption. +# +# == Deprecated +# +# The {SASL mechanisms +# registry}[https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml] +# marks "LOGIN" as obsoleted in favor of "PLAIN". It is included here for +# compatibility with existing servers. See +# {draft-murchison-sasl-login}[https://www.iana.org/go/draft-murchison-sasl-login] +# for both specification and deprecation. +# +# pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:20 +class Net::IMAP::SASL::LoginAuthenticator + # @return [LoginAuthenticator] a new instance of LoginAuthenticator # - # source://net-imap//lib/net/imap/sequence_set.rb#618 - def +(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:26 + def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authcid: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), secret: T.unsafe(nil), warn_deprecation: T.unsafe(nil), **_arg7); end - # :call-seq: - # self - other -> sequence set - # difference(other) -> sequence set - # - # Returns a new sequence set built by duplicating this set and removing - # every number that appears in +other+. - # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. - # - # Net::IMAP::SequenceSet[1..5] - 2 - 4 - 6 - # #=> Net::IMAP::SequenceSet["1,3,5"] - # - # Related: #subtract + # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#636 - def -(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:55 + def done?; end - # :call-seq: - # add(element) -> self - # self << other -> self - # - # Adds a range or number to the set and returns +self+. - # - # #string will be regenerated. Use #merge to add many elements at once. - # - # Related: #add?, #merge, #union + # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#709 - def <<(element); end + # pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:40 + def initial_response?; end - # :call-seq: self == other -> true or false - # - # Returns true when the other SequenceSet represents the same message - # identifiers. Encoding difference—such as order, overlaps, or - # duplicates—are ignored. - # - # Net::IMAP::SequenceSet["1:3"] == Net::IMAP::SequenceSet["1:3"] - # #=> true - # Net::IMAP::SequenceSet["1,2,3"] == Net::IMAP::SequenceSet["1:3"] - # #=> true - # Net::IMAP::SequenceSet["1,3"] == Net::IMAP::SequenceSet["3,1"] - # #=> true - # Net::IMAP::SequenceSet["9,1:*"] == Net::IMAP::SequenceSet["1:*"] - # #=> true - # - # Related: #eql?, #normalize - # - # source://net-imap//lib/net/imap/sequence_set.rb#472 - def ==(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:42 + def process(data); end +end - # :call-seq: self === other -> true | false | nil - # - # Returns whether +other+ is contained within the set. Returns +nil+ if a - # StandardError is raised while converting +other+ to a comparable type. - # - # Related: #cover?, #include?, #include_star? - # - # source://net-imap//lib/net/imap/sequence_set.rb#502 - def ===(other); end +# pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:23 +Net::IMAP::SASL::LoginAuthenticator::STATE_DONE = T.let(T.unsafe(nil), Symbol) - # :call-seq: - # seqset[index] -> integer or :* or nil - # slice(index) -> integer or :* or nil - # seqset[start, length] -> sequence set or nil - # slice(start, length) -> sequence set or nil - # seqset[range] -> sequence set or nil - # slice(range) -> sequence set or nil +# pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:22 +Net::IMAP::SASL::LoginAuthenticator::STATE_PASSWORD = T.let(T.unsafe(nil), Symbol) + +# pkg:gem/net-imap#lib/net/imap/sasl/login_authenticator.rb:21 +Net::IMAP::SASL::LoginAuthenticator::STATE_USER = T.let(T.unsafe(nil), Symbol) + +# Abstract base class for the SASL mechanisms defined in +# RFC7628[https://www.rfc-editor.org/rfc/rfc7628]: +# * OAUTHBEARER[rdoc-ref:OAuthBearerAuthenticator] +# (OAuthBearerAuthenticator) +# * OAUTH10A +# +# pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:14 +class Net::IMAP::SASL::OAuthAuthenticator + include ::Net::IMAP::SASL::GS2Header + + # Creates an RFC7628[https://www.rfc-editor.org/rfc/rfc7628] OAuth + # authenticator. # - # Returns a number or a subset from the _sorted_ set, without modifying - # the set. + # ==== Parameters # - # When an Integer argument +index+ is given, the number at offset +index+ - # in the sorted set is returned: + # See child classes for required parameter(s). The following parameters + # are all optional, but it is worth noting that application protocols + # are allowed to require #authzid (or other parameters, such as + # #host or #port) as are specific server implementations. # - # set = Net::IMAP::SequenceSet["10:15,20:23,26"] - # set[0] #=> 10 - # set[5] #=> 15 - # set[10] #=> 26 + # * _optional_ #authzid ― Authorization identity to act as or on behalf of. # - # If +index+ is negative, it counts relative to the end of the sorted set: - # set = Net::IMAP::SequenceSet["10:15,20:23,26"] - # set[-1] #=> 26 - # set[-3] #=> 22 - # set[-6] #=> 15 + # _optional_ #username — An alias for #authzid. # - # If +index+ is out of range, +nil+ is returned. + # Note that, unlike some other authenticators, +username+ sets the + # _authorization_ identity and not the _authentication_ identity. The + # authentication identity is established for the client by the OAuth + # token. # - # set = Net::IMAP::SequenceSet["10:15,20:23,26"] - # set[11] #=> nil - # set[-12] #=> nil + # * _optional_ #host — Hostname to which the client connected. + # * _optional_ #port — Service port to which the client connected. + # * _optional_ #mthd — HTTP method + # * _optional_ #path — HTTP path data + # * _optional_ #post — HTTP post data + # * _optional_ #qs — HTTP query string # - # The result is based on the sorted and de-duplicated set, not on the - # ordered #entries in #string. + # _optional_ #query — An alias for #qs # - # set = Net::IMAP::SequenceSet["12,20:23,11:16,21"] - # set[0] #=> 11 - # set[-1] #=> 23 + # Any other keyword parameters are quietly ignored. # - # Related: #at + # @return [OAuthAuthenticator] a new instance of OAuthAuthenticator # - # source://net-imap//lib/net/imap/sequence_set.rb#1222 - def [](index, length = T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:84 + def initialize(authzid: T.unsafe(nil), host: T.unsafe(nil), port: T.unsafe(nil), username: T.unsafe(nil), query: T.unsafe(nil), mthd: T.unsafe(nil), path: T.unsafe(nil), post: T.unsafe(nil), qs: T.unsafe(nil), **_arg9); end - # :call-seq: - # self ^ other -> sequence set - # xor(other) -> sequence set + # Value of the HTTP Authorization header # - # Returns a new sequence set containing numbers that are exclusive between - # this set and +other+. + # Implemented by subclasses. # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:124 + def authorization; end + + # Authorization identity: an identity to act as or on behalf of. The + # identity form is application protocol specific. If not provided or + # left blank, the server derives an authorization identity from the + # authentication identity. The server is responsible for verifying the + # client's credentials and verifying that the identity it associates + # with the client's authentication identity is allowed to act as (or on + # behalf of) the authorization identity. # - # Net::IMAP::SequenceSet[1..5] ^ [2, 4, 6] - # #=> Net::IMAP::SequenceSet["1,3,5:6"] + # For example, an administrator or superuser might take on another role: # - # (seqset ^ other) is equivalent to ((seqset | other) - - # (seqset & other)). + # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sequence_set.rb#675 - def ^(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:29 + def authzid; end - # :call-seq: - # add(element) -> self - # self << other -> self + # Returns true when the initial client response was sent. # - # Adds a range or number to the set and returns +self+. + # The authentication should not succeed unless this returns true, but it + # does *not* indicate success. # - # #string will be regenerated. Use #merge to add many elements at once. + # @return [Boolean] # - # Related: #add?, #merge, #union + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:119 + def done?; end + + # Hostname to which the client connected. (optional) # - # source://net-imap//lib/net/imap/sequence_set.rb#705 - def add(element); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:33 + def host; end - # :call-seq: add?(element) -> self or nil + # The {RFC7628 §3.1}[https://www.rfc-editor.org/rfc/rfc7628#section-3.1] + # formatted response. # - # Adds a range or number to the set and returns +self+. Returns +nil+ - # when the element is already included in the set. + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:99 + def initial_client_response; end + + # Stores the most recent server "challenge". When authentication fails, + # this may hold information about the failure reason, as JSON. # - # #string will be regenerated. Use #merge to add many elements at once. + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:53 + def last_server_response; end + + # HTTP method. (optional) # - # Related: #add, #merge, #union, #include? + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:39 + def mthd; end + + # HTTP path data. (optional) # - # @return [Boolean] + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:42 + def path; end + + # Service port to which the client connected. (optional) # - # source://net-imap//lib/net/imap/sequence_set.rb#733 - def add?(element); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:36 + def port; end - # Adds a range or number to the set and returns +self+. + # HTTP post data. (optional) # - # Unlike #add, #merge, or #union, the new value is appended to #string. - # This may result in a #string which has duplicates or is out-of-order. + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:45 + def post; end + + # Returns initial_client_response the first time, then "^A". # - # source://net-imap//lib/net/imap/sequence_set.rb#715 - def append(entry); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:108 + def process(data); end - # :call-seq: at(index) -> integer or nil + # The query string. (optional) # - # Returns the number at the given +index+ in the sorted set, without - # modifying the set. + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:48 + def qs; end + + # The query string. (optional) # - # +index+ is interpreted the same as in #[], except that #at only allows a - # single integer argument. + # pkg:gem/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 + # identity form is application protocol specific. If not provided or + # left blank, the server derives an authorization identity from the + # authentication identity. The server is responsible for verifying the + # client's credentials and verifying that the identity it associates + # with the client's authentication identity is allowed to act as (or on + # behalf of) the authorization identity. # - # Related: #[], #slice, #ordered_at + # For example, an administrator or superuser might take on another role: # - # source://net-imap//lib/net/imap/sequence_set.rb#1152 - def at(index); end - - # Removes all elements and returns self. + # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sequence_set.rb#378 - def clear; end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:30 + def username; end +end +# Authenticator for the "+OAUTHBEARER+" SASL mechanism, specified in +# RFC7628[https://www.rfc-editor.org/rfc/rfc7628]. Authenticates using +# OAuth 2.0 bearer tokens, as described in +# RFC6750[https://www.rfc-editor.org/rfc/rfc6750]. Use via +# Net::IMAP#authenticate. +# +# RFC6750[https://www.rfc-editor.org/rfc/rfc6750] requires Transport Layer +# Security (TLS) to secure the protocol interaction between the client and +# the resource server. TLS _MUST_ be used for +OAUTHBEARER+ to protect +# the bearer token. +# +# pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:138 +class Net::IMAP::SASL::OAuthBearerAuthenticator < ::Net::IMAP::SASL::OAuthAuthenticator # :call-seq: - # ~ self -> sequence set - # complement -> sequence set - # - # Returns the complement of self, a SequenceSet which contains all numbers - # _except_ for those in this set. + # new(oauth2_token, **options) -> authenticator + # new(authzid, oauth2_token, **options) -> authenticator + # new(oauth2_token:, **options) -> authenticator # - # ~Net::IMAP::SequenceSet.full #=> Net::IMAP::SequenceSet.empty - # ~Net::IMAP::SequenceSet.empty #=> Net::IMAP::SequenceSet.full - # ~Net::IMAP::SequenceSet["1:5,100:222"] - # #=> Net::IMAP::SequenceSet["6:99,223:*"] - # ~Net::IMAP::SequenceSet["6:99,223:*"] - # #=> Net::IMAP::SequenceSet["1:5,100:222"] + # Creates an Authenticator for the "+OAUTHBEARER+" SASL mechanism. # - # Related: #complement! + # Called by Net::IMAP#authenticate and similar methods on other clients. # - # source://net-imap//lib/net/imap/sequence_set.rb#694 - def complement; end - - # :call-seq: complement! -> self + # ==== Parameters # - # Converts the SequenceSet to its own #complement. It will contain all - # possible values _except_ for those currently in the set. + # * #oauth2_token — An OAuth2 bearer token # - # Related: #complement + # All other keyword parameters are passed to + # {super}[rdoc-ref:OAuthAuthenticator::new] (see OAuthAuthenticator). + # The most common ones are: # - # source://net-imap//lib/net/imap/sequence_set.rb#1302 - def complement!; end - - # Returns the count of #numbers in the set. + # * _optional_ #authzid ― Authorization identity to act as or on behalf of. # - # * will be counted as 2**32 - 1 (the maximum 32-bit - # unsigned integer value). + # _optional_ #username — An alias for #authzid. # - # Related: #count_with_duplicates + # Note that, unlike some other authenticators, +username+ sets the + # _authorization_ identity and not the _authentication_ identity. The + # authentication identity is established for the client by + # #oauth2_token. # - # source://net-imap//lib/net/imap/sequence_set.rb#1047 - def count; end - - # Returns the count of repeated numbers in the ordered #entries, the - # difference between #count_with_duplicates and #count. + # * _optional_ #host — Hostname to which the client connected. + # * _optional_ #port — Service port to which the client connected. # - # When #string is normalized, this is zero. + # Although only oauth2_token is required by this mechanism, it is worth + # noting that application protocols are allowed to + # require #authzid (or other parameters, such as #host + # _or_ #port) as are specific server implementations. # - # Related: #entries, #count_with_duplicates, #has_duplicates? + # @return [OAuthBearerAuthenticator] a new instance of OAuthBearerAuthenticator # - # source://net-imap//lib/net/imap/sequence_set.rb#1076 - def count_duplicates; end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:177 + def initialize(arg1 = T.unsafe(nil), arg2 = T.unsafe(nil), oauth2_token: T.unsafe(nil), secret: T.unsafe(nil), **args, &blk); end - # Returns the count of numbers in the ordered #entries, including any - # repeated numbers. - # - # * will be counted as 2**32 - 1 (the maximum 32-bit - # unsigned integer value). - # - # When #string is normalized, this behaves the same as #count. - # - # Related: #entries, #count_duplicates, #has_duplicates? + # Value of the HTTP Authorization header # - # source://net-imap//lib/net/imap/sequence_set.rb#1063 - def count_with_duplicates; end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:193 + def authorization; end - # :call-seq: cover?(other) -> true | false | nil - # - # Returns whether +other+ is contained within the set. +other+ may be any - # object that would be accepted by ::new. + # :call-seq: + # initial_response? -> true # - # Related: #===, #include?, #include_star? + # +OAUTHBEARER+ sends an initial client response. # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#514 - def cover?(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:190 + def initial_response?; end - # Returns an array with #normalized_string when valid and an empty array - # otherwise. + # An OAuth 2.0 bearer token. See {RFC-6750}[https://www.rfc-editor.org/rfc/rfc6750] # - # source://net-imap//lib/net/imap/sequence_set.rb#421 - def deconstruct; end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:141 + def oauth2_token; end - # :call-seq: delete(element) -> self - # - # Deletes the given range or number from the set and returns +self+. - # - # #string will be regenerated after deletion. Use #subtract to remove - # many elements at once. - # - # Related: #delete?, #delete_at, #subtract, #difference + # An OAuth 2.0 bearer token. See {RFC-6750}[https://www.rfc-editor.org/rfc/rfc6750] # - # source://net-imap//lib/net/imap/sequence_set.rb#745 - def delete(element); end + # pkg:gem/net-imap#lib/net/imap/sasl/oauthbearer_authenticator.rb:142 + def secret; end +end +# Authenticator for the "+PLAIN+" SASL mechanism, specified in +# RFC-4616[https://www.rfc-editor.org/rfc/rfc4616]. See Net::IMAP#authenticate. +# +# +PLAIN+ authentication sends the password in cleartext. +# RFC-3501[https://www.rfc-editor.org/rfc/rfc3501] encourages servers to disable +# cleartext authentication until after TLS has been negotiated. +# RFC-8314[https://www.rfc-editor.org/rfc/rfc8314] recommends TLS version 1.2 or +# greater be used for all traffic, and deprecate cleartext access ASAP. +PLAIN+ +# can be secured by TLS encryption. +# +# pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:12 +class Net::IMAP::SASL::PlainAuthenticator # :call-seq: - # delete?(number) -> integer or nil - # delete?(star) -> :* or nil - # delete?(range) -> sequence set or nil - # - # Removes a specified value from the set, and returns the removed value. - # Returns +nil+ if nothing was removed. - # - # Returns an integer when the specified +number+ argument was removed: - # set = Net::IMAP::SequenceSet.new [5..10, 20] - # set.delete?(7) #=> 7 - # set #=> # - # set.delete?("20") #=> 20 - # set #=> # - # set.delete?(30) #=> nil + # new(username, password, authzid: nil, **) -> authenticator + # new(username:, password:, authzid: nil, **) -> authenticator + # new(authcid:, password:, authzid: nil, **) -> authenticator # - # Returns :* when * or -1 is specified and - # removed: - # set = Net::IMAP::SequenceSet.new "5:9,20,35,*" - # set.delete?(-1) #=> :* - # set #=> # + # Creates an Authenticator for the "+PLAIN+" SASL mechanism. # - # And returns a new SequenceSet when a range is specified: + # Called by Net::IMAP#authenticate and similar methods on other clients. # - # set = Net::IMAP::SequenceSet.new [5..10, 20] - # set.delete?(9..) #=> # - # set #=> # - # set.delete?(21..) #=> nil + # ==== Parameters # - # #string will be regenerated after deletion. + # * #authcid ― Authentication identity that is associated with #password. # - # Related: #delete, #delete_at, #subtract, #difference, #disjoint? + # #username ― An alias for #authcid. # - # @return [Boolean] + # * #password ― A password or passphrase associated with the #authcid. # - # source://net-imap//lib/net/imap/sequence_set.rb#782 - def delete?(element); end - - # :call-seq: delete_at(index) -> number or :* or nil + # * _optional_ #authzid ― Authorization identity to act as or on behalf of. # - # Deletes a number the set, indicated by the given +index+. Returns the - # number that was removed, or +nil+ if nothing was removed. + # When +authzid+ is not set, the server should derive the authorization + # identity from the authentication identity. # - # #string will be regenerated after deletion. + # Any other keyword parameters are quietly ignored. # - # Related: #delete, #delete?, #slice!, #subtract, #difference + # @raise [ArgumentError] + # @return [PlainAuthenticator] a new instance of PlainAuthenticator # - # source://net-imap//lib/net/imap/sequence_set.rb#805 - def delete_at(index); end + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:67 + def initialize(user = T.unsafe(nil), pass = T.unsafe(nil), authcid: T.unsafe(nil), secret: T.unsafe(nil), username: T.unsafe(nil), password: T.unsafe(nil), authzid: T.unsafe(nil), **_arg7); end - # :call-seq: - # self - other -> sequence set - # difference(other) -> sequence set + # Authentication identity: the identity that matches the #password. # - # Returns a new sequence set built by duplicating this set and removing - # every number that appears in +other+. + # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. + # "Authentication identity" is the generic term used by + # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. + # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs + # abbreviate this to +authcid+. # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. + # pkg:gem/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 + # form is application protocol specific. If not provided or left blank, the + # server derives an authorization identity from the authentication identity. + # The server is responsible for verifying the client's credentials and + # verifying that the identity it associates with the client's authentication + # identity is allowed to act as (or on behalf of) the authorization identity. # - # Net::IMAP::SequenceSet[1..5] - 2 - 4 - 6 - # #=> Net::IMAP::SequenceSet["1,3,5"] + # For example, an administrator or superuser might take on another role: # - # Related: #subtract + # imap.authenticate "PLAIN", "root", passwd, authzid: "user" # - # source://net-imap//lib/net/imap/sequence_set.rb#637 - def difference(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:42 + def authzid; end - # Returns +true+ if the set and a given object have no common elements, - # +false+ otherwise. - # - # Net::IMAP::SequenceSet["5:10"].disjoint? "7,9,11" #=> false - # Net::IMAP::SequenceSet["5:10"].disjoint? "11:33" #=> true + # Returns true when the initial client response was sent. # - # Related: #intersection, #intersect? + # The authentication should not succeed unless this returns true, but it + # does *not* indicate success. # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#566 - def disjoint?(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:99 + def done?; end - # Yields each number or range (or :*) in #elements to the block - # and returns self. Returns an enumerator when called without a block. + # :call-seq: + # initial_response? -> true # - # The returned numbers are sorted and de-duplicated, even when the input - # #string is not. See #normalize. + # +PLAIN+ can send an initial client response. # - # Related: #elements, #each_entry + # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#953 - def each_element; end + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:86 + def initial_response?; end - # Yields each number or range in #string to the block and returns +self+. - # Returns an enumerator when called without a block. - # - # The entries are yielded in the same order they appear in #string, with - # no sorting, deduplication, or coalescing. When #string is in its - # normalized form, this will yield the same values as #each_element. - # - # Related: #entries, #each_element + # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sequence_set.rb#941 - def each_entry(&block); end + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:28 + def password; end - # Yields each number in #numbers to the block and returns self. - # If the set contains a *, RangeError will be raised. - # - # Returns an enumerator when called without a block (even if the set - # contains *). - # - # Related: #numbers, #each_ordered_number + # Responds with the client's credentials. # - # @raise [RangeError] + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:89 + def process(data); end + + # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sequence_set.rb#1003 - def each_number(&block); end + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:29 + def secret; end - # Yields each number in #entries to the block and returns self. - # If the set contains a *, RangeError will be raised. + # Authentication identity: the identity that matches the #password. # - # Returns an enumerator when called without a block (even if the set - # contains *). + # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term +username+. + # "Authentication identity" is the generic term used by + # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. + # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs + # abbreviate this to +authcid+. # - # Related: #entries, #each_number + # pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:24 + def username; end +end + +# pkg:gem/net-imap#lib/net/imap/sasl/plain_authenticator.rb:14 +Net::IMAP::SASL::PlainAuthenticator::NULL = T.let(T.unsafe(nil), String) + +# pkg:gem/net-imap#lib/net/imap/sasl/stringprep.rb:9 +Net::IMAP::SASL::ProhibitedCodepoint = Net::IMAP::StringPrep::ProhibitedCodepoint + +# SASL::ProtocolAdapters modules are meant to be used as mixins for +# SASL::ClientAdapter and its subclasses. Where the client adapter must +# be customized for each client library, the protocol adapter mixin +# handles \SASL requirements that are part of the protocol specification, +# but not specific to any particular client library. In particular, see +# {RFC4422 §4}[https://www.rfc-editor.org/rfc/rfc4422.html#section-4] +# +# === Interface +# +# >>> +# NOTE: This API is experimental, and may change. +# +# - {#command_name}[rdoc-ref:Generic#command_name] -- The name of the +# command used to to initiate an authentication exchange. +# - {#service}[rdoc-ref:Generic#service] -- The GSSAPI service name. +# - {#encode_ir}[rdoc-ref:Generic#encode_ir]--Encodes an initial response. +# - {#decode}[rdoc-ref:Generic#decode] -- Decodes a server challenge. +# - {#encode}[rdoc-ref:Generic#encode] -- Encodes a client response. +# - {#cancel_response}[rdoc-ref:Generic#cancel_response] -- The encoded +# client response used to cancel an authentication exchange. +# +# Other protocol requirements of the \SASL authentication exchange are +# handled by SASL::ClientAdapter. +# +# === Included protocol adapters +# +# - Generic -- a basic implementation of all of the methods listed above. +# - IMAP -- An adapter for the IMAP4 protocol. +# - SMTP -- An adapter for the \SMTP protocol with the +AUTH+ capability. +# - POP -- An adapter for the POP3 protocol with the +SASL+ capability. +# +# pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:37 +module Net::IMAP::SASL::ProtocolAdapters; end + +# See SASL::ProtocolAdapters@Interface. +# +# pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:39 +module Net::IMAP::SASL::ProtocolAdapters::Generic + # Returns the message used by the client to abort an authentication + # exchange. # - # @raise [RangeError] + # The generic implementation returns "*". # - # source://net-imap//lib/net/imap/sequence_set.rb#1017 - def each_ordered_number(&block); end + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:73 + def cancel_response; end - # Yields each range in #ranges to the block and returns self. - # Returns an enumerator when called without a block. + # The name of the protocol command used to initiate a \SASL + # authentication exchange. # - # Related: #ranges + # The generic implementation returns "AUTHENTICATE". # - # source://net-imap//lib/net/imap/sequence_set.rb#985 - def each_range; end + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:44 + def command_name; end - # Returns an array of ranges and integers and :*. + # Decodes a server challenge string. # - # The returned elements are sorted and coalesced, even when the input - # #string is not. * will sort last. See #normalize. + # The generic implementation returns the Base64 decoding of +string+. # - # By itself, * translates to :*. A range containing - # * translates to an endless range. Use #limit to translate both - # cases to a maximum value. + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:67 + def decode(string); end + + # Encodes a client response string. # - # The returned elements will be sorted and coalesced, even when the input - # #string is not. * will sort last. See #normalize. + # The generic implementation returns the Base64 encoding of +string+. # - # Net::IMAP::SequenceSet["2,5:9,6,*,12:11"].elements - # #=> [2, 5..9, 11..12, :*] + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:62 + def encode(string); end + + # Encodes an initial response string. # - # Related: #each_element, #ranges, #numbers + # The generic implementation returns the result of #encode, or returns + # "=" when +string+ is empty. # - # source://net-imap//lib/net/imap/sequence_set.rb#882 - def elements; end + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:57 + def encode_ir(string); end - # Returns true if the set contains no elements + # A service name from the {GSSAPI/Kerberos/SASL Service Names + # registry}[https://www.iana.org/assignments/gssapi-service-names/gssapi-service-names.xhtml]. # - # @return [Boolean] + # The generic implementation returns "host", which is the + # generic GSSAPI host-based service name. # - # source://net-imap//lib/net/imap/sequence_set.rb#596 - def empty?; end + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:51 + def service; end +end - # For YAML serialization - # - # source://net-imap//lib/net/imap/sequence_set.rb#1373 - def encode_with(coder); end +# See RFC-3501 (IMAP4rev1), RFC-4959 (SASL-IR capability), +# and RFC-9051 (IMAP4rev2). +# +# pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:78 +module Net::IMAP::SASL::ProtocolAdapters::IMAP + include ::Net::IMAP::SASL::ProtocolAdapters::Generic - # Returns an array of ranges and integers and :*. - # - # The entries are in the same order they appear in #string, with no - # sorting, deduplication, or coalescing. When #string is in its - # normalized form, this will return the same result as #elements. - # This is useful when the given order is significant, for example in a - # ESEARCH response to IMAP#sort. - # - # Related: #each_entry, #elements - # - # source://net-imap//lib/net/imap/sequence_set.rb#864 - def entries; end + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:80 + def service; end +end - # :call-seq: eql?(other) -> true or false - # - # Hash equality requires the same encoded #string representation. - # - # Net::IMAP::SequenceSet["1:3"] .eql? Net::IMAP::SequenceSet["1:3"] - # #=> true - # Net::IMAP::SequenceSet["1,2,3"].eql? Net::IMAP::SequenceSet["1:3"] - # #=> false - # Net::IMAP::SequenceSet["1,3"] .eql? Net::IMAP::SequenceSet["3,1"] - # #=> false - # Net::IMAP::SequenceSet["9,1:*"].eql? Net::IMAP::SequenceSet["1:*"] - # #=> false - # - # Related: #==, #normalize - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sequence_set.rb#491 - def eql?(other); end +# See RFC-5034 (SASL capability). +# +# pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:91 +module Net::IMAP::SASL::ProtocolAdapters::POP + include ::Net::IMAP::SASL::ProtocolAdapters::Generic + + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:93 + def command_name; end + + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:94 + def service; end +end + +# See RFC-4954 (AUTH capability). +# +# pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:84 +module Net::IMAP::SASL::ProtocolAdapters::SMTP + include ::Net::IMAP::SASL::ProtocolAdapters::Generic + + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:86 + def command_name; end + + # pkg:gem/net-imap#lib/net/imap/sasl/protocol_adapters.rb:87 + def service; end +end + +# Alias for Net::IMAP::StringPrep::SASLprep. +# +# pkg:gem/net-imap#lib/net/imap/sasl/stringprep.rb:6 +Net::IMAP::SASL::SASLprep = Net::IMAP::StringPrep::SASLprep + +# For method descriptions, +# see {RFC5802 §2.2}[https://www.rfc-editor.org/rfc/rfc5802#section-2.2] +# and {RFC5802 §3}[https://www.rfc-editor.org/rfc/rfc5802#section-3]. +# +# pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:10 +module Net::IMAP::SASL::ScramAlgorithm + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:24 + def H(str); end + + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:26 + def HMAC(key, data); end + + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:13 + def Hi(str, salt, iterations); end + + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:11 + def Normalize(str); end - # Returns the (sorted and deduplicated) index of +number+ in the set, or - # +nil+ if +number+ isn't in the set. - # - # Related: #[], #at, #find_ordered_index - # - # source://net-imap//lib/net/imap/sequence_set.rb#1097 - def find_index(number); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:28 + def XOR(str1, str2); end - # Returns the first index of +number+ in the ordered #entries, or - # +nil+ if +number+ isn't in the set. - # - # Related: #find_index - # - # source://net-imap//lib/net/imap/sequence_set.rb#1110 - def find_ordered_index(number); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:35 + def auth_message; end - # Freezes and returns the set. A frozen SequenceSet is Ractor-safe. - # - # source://net-imap//lib/net/imap/sequence_set.rb#449 - def freeze; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:48 + def client_key; end - # Returns true if the set contains every possible element. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sequence_set.rb#599 - def full?; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:53 + def client_proof; end - # :call-seq: has_duplicates? -> true | false - # - # Returns whether or not the ordered #entries repeat any numbers. - # - # Always returns +false+ when #string is normalized. - # - # Related: #entries, #count_with_duplicates, #count_duplicates? - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sequence_set.rb#1088 - def has_duplicates?; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:51 + def client_signature; end - # See #eql? - # - # source://net-imap//lib/net/imap/sequence_set.rb#494 - def hash; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:44 + def salted_password; end - # Returns +true+ when a given number or range is in +self+, and +false+ - # otherwise. Returns +false+ unless +number+ is an Integer, Range, or - # *. - # - # set = Net::IMAP::SequenceSet["5:10,100,111:115"] - # set.include? 1 #=> false - # set.include? 5..10 #=> true - # set.include? 11..20 #=> false - # set.include? 100 #=> true - # set.include? 6 #=> true, covered by "5:10" - # set.include? 4..9 #=> true, covered by "5:10" - # set.include? "4:9" #=> true, strings are parsed - # set.include? 4..9 #=> false, intersection is not sufficient - # set.include? "*" #=> false, use #limit to re-interpret "*" - # set.include? -1 #=> false, -1 is interpreted as "*" - # - # set = Net::IMAP::SequenceSet["5:10,100,111:*"] - # set.include? :* #=> true - # set.include? "*" #=> true - # set.include? -1 #=> true - # set.include? 200.. #=> true - # set.include? 100.. #=> false - # - # Related: #include_star?, #cover?, #=== - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sequence_set.rb#540 - def include?(element); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:49 + def server_key; end - # Returns +true+ when the set contains *. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sequence_set.rb#545 - def include_star?; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:52 + def server_signature; end - # For YAML deserialization - # - # source://net-imap//lib/net/imap/sequence_set.rb#1379 - def init_with(coder); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_algorithm.rb:50 + def stored_key; end +end - # source://net-imap//lib/net/imap/sequence_set.rb#1348 - def inspect; end +# Abstract base class for the "+SCRAM-*+" family of SASL mechanisms, +# defined in RFC5802[https://www.rfc-editor.org/rfc/rfc5802]. Use via +# Net::IMAP#authenticate. +# +# Directly supported: +# * +SCRAM-SHA-1+ --- ScramSHA1Authenticator +# * +SCRAM-SHA-256+ --- ScramSHA256Authenticator +# +# New +SCRAM-*+ mechanisms can easily be added for any hash algorithm +# supported by +# OpenSSL::Digest[https://ruby.github.io/openssl/OpenSSL/Digest.html]. +# Subclasses need only set an appropriate +DIGEST_NAME+ constant. +# +# === SCRAM algorithm +# +# See the documentation and method definitions on ScramAlgorithm for an +# overview of the algorithm. The different mechanisms differ only by +# which hash function that is used (or by support for channel binding with +# +-PLUS+). +# +# See also the methods on GS2Header. +# +# ==== Server messages +# +# As server messages are received, they are validated and loaded into +# the various attributes, e.g: #snonce, #salt, #iterations, #verifier, +# #server_error, etc. +# +# Unlike many other SASL mechanisms, the +SCRAM-*+ family supports mutual +# authentication and can return server error data in the server messages. +# If #process raises an Error for the server-final-message, then +# server_error may contain error details. +# +# === TLS Channel binding +# +# The SCRAM-*-PLUS mechanisms and channel binding are not +# supported yet. +# +# === Caching SCRAM secrets +# +# Caching of salted_password, client_key, stored_key, and server_key +# is not supported yet. +# +# pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:56 +class Net::IMAP::SASL::ScramAuthenticator + include ::Net::IMAP::SASL::GS2Header + include ::Net::IMAP::SASL::ScramAlgorithm - # Returns +true+ if the set and a given object have any common elements, - # +false+ otherwise. - # - # Net::IMAP::SequenceSet["5:10"].intersect? "7,9,11" #=> true - # Net::IMAP::SequenceSet["5:10"].intersect? "11:33" #=> false + # :call-seq: + # new(username, password, **options) -> auth_ctx + # new(username:, password:, **options) -> auth_ctx + # new(authcid:, password:, **options) -> auth_ctx # - # Related: #intersection, #disjoint? + # Creates an authenticator for one of the "+SCRAM-*+" SASL mechanisms. + # Each subclass defines #digest to match a specific mechanism. # - # @return [Boolean] + # Called by Net::IMAP#authenticate and similar methods on other clients. # - # source://net-imap//lib/net/imap/sequence_set.rb#554 - def intersect?(other); end - - # :call-seq: - # self & other -> sequence set - # intersection(other) -> sequence set + # === Parameters # - # Returns a new sequence set containing only the numbers common to this - # set and +other+. + # * #authcid ― Identity whose #password is used. # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. + # #username - An alias for #authcid. + # * #password ― Password or passphrase associated with this #username. + # * _optional_ #authzid ― Alternate identity to act as or on behalf of. + # * _optional_ #min_iterations - Overrides the default value (4096). # - # Net::IMAP::SequenceSet[1..5] & [2, 4, 6] - # #=> Net::IMAP::SequenceSet["2,4"] + # Any other keyword parameters are quietly ignored. # - # (seqset & other) is equivalent to (seqset - ~other). + # @return [ScramAuthenticator] a new instance of ScramAuthenticator # - # source://net-imap//lib/net/imap/sequence_set.rb#657 - def intersection(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:80 + def initialize(username_arg = T.unsafe(nil), password_arg = T.unsafe(nil), authcid: T.unsafe(nil), username: T.unsafe(nil), authzid: T.unsafe(nil), password: T.unsafe(nil), secret: T.unsafe(nil), min_iterations: T.unsafe(nil), cnonce: T.unsafe(nil), **options); end - # Returns a frozen SequenceSet with * converted to +max+, numbers - # and ranges over +max+ removed, and ranges containing +max+ converted to - # end at +max+. + # Authentication identity: the identity that matches the #password. + # + # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term + # +username+. "Authentication identity" is the generic term used by + # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. + # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs + # abbreviate this to +authcid+. # - # Net::IMAP::SequenceSet["5,10:22,50"].limit(max: 20).to_s - # #=> "5,10:20" + # pkg:gem/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 + # identity form is application protocol specific. If not provided or + # left blank, the server derives an authorization identity from the + # authentication identity. For example, an administrator or superuser + # might take on another role: # - # * is always interpreted as the maximum value. When the set - # contains *, it will be set equal to the limit. + # imap.authenticate "SCRAM-SHA-256", "root", passwd, authzid: "user" # - # Net::IMAP::SequenceSet["*"].limit(max: 37) - # #=> Net::IMAP::SequenceSet["37"] - # Net::IMAP::SequenceSet["5:*"].limit(max: 37) - # #=> Net::IMAP::SequenceSet["5:37"] - # Net::IMAP::SequenceSet["500:*"].limit(max: 37) - # #=> Net::IMAP::SequenceSet["37"] + # The server is responsible for verifying the client's credentials and + # verifying that the identity it associates with the client's + # authentication identity is allowed to act as (or on behalf of) the + # authorization identity. # - # source://net-imap//lib/net/imap/sequence_set.rb#1275 - def limit(max:); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:126 + def authzid; end - # Removes all members over +max+ and returns self. If * is a - # member, it will be converted to +max+. + # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] + # +cbind-input+. # - # Related: #limit + # >>> + # *TODO:* implement channel binding, appending +cbind-data+ here. # - # source://net-imap//lib/net/imap/sequence_set.rb#1288 - def limit!(max:); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:251 + def cbind_input; end - # :call-seq: max(star: :*) => integer or star or nil - # - # Returns the maximum value in +self+, +star+ when the set includes - # *, or +nil+ when the set is empty. + # The client nonce, generated by SecureRandom # - # source://net-imap//lib/net/imap/sequence_set.rb#574 - def max(star: T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:133 + def cnonce; end - # Returns +true+ when a given number or range is in +self+, and +false+ - # otherwise. Returns +false+ unless +number+ is an Integer, Range, or - # *. + # Returns a new OpenSSL::Digest object, set to the appropriate hash + # function for the chosen mechanism. # - # set = Net::IMAP::SequenceSet["5:10,100,111:115"] - # set.include? 1 #=> false - # set.include? 5..10 #=> true - # set.include? 11..20 #=> false - # set.include? 100 #=> true - # set.include? 6 #=> true, covered by "5:10" - # set.include? 4..9 #=> true, covered by "5:10" - # set.include? "4:9" #=> true, strings are parsed - # set.include? 4..9 #=> false, intersection is not sufficient - # set.include? "*" #=> false, use #limit to re-interpret "*" - # set.include? -1 #=> false, -1 is interpreted as "*" + # The class's +DIGEST_NAME+ constant must be set to the name of an + # algorithm supported by OpenSSL::Digest. # - # set = Net::IMAP::SequenceSet["5:10,100,111:*"] - # set.include? :* #=> true - # set.include? "*" #=> true - # set.include? -1 #=> true - # set.include? 200.. #=> true - # set.include? 100.. #=> false + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:155 + def digest; end + + # Is the authentication exchange complete? # - # Related: #include_star?, #cover?, #=== + # If false, another server continuation is required. # # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#542 - def member?(element); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:185 + def done?; end - # Merges all of the elements that appear in any of the +sets+ into the - # set, and returns +self+. - # - # The +sets+ may be any objects that would be accepted by ::new: non-zero - # 32 bit unsigned integers, ranges, sequence-set formatted - # strings, other sequence sets, or enumerables containing any of these. - # - # #string will be regenerated after all sets have been merged. - # - # Related: #add, #add?, #union + # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] + # +client-first-message+. # - # source://net-imap//lib/net/imap/sequence_set.rb#837 - def merge(*sets); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:159 + def initial_client_response; end - # :call-seq: min(star: :*) => integer or star or nil - # - # Returns the minimum value in +self+, +star+ when the only value in the - # set is *, or +nil+ when the set is empty. + # The iteration count for the selected hash function and user # - # source://net-imap//lib/net/imap/sequence_set.rb#582 - def min(star: T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:142 + def iterations; end - # :call-seq: minmax(star: :*) => nil or [integer, integer or star] - # - # Returns a 2-element array containing the minimum and maximum numbers in - # +self+, or +nil+ when the set is empty. + # The minimal allowed iteration count. Lower #iterations will raise an + # Error. # - # source://net-imap//lib/net/imap/sequence_set.rb#590 - def minmax(star: T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:130 + def min_iterations; end - # Returns a new SequenceSet with a normalized string representation. - # - # The returned set's #string is sorted and deduplicated. Adjacent or - # overlapping elements will be merged into a single larger range. - # - # Net::IMAP::SequenceSet["1:5,3:7,10:9,10:11"].normalize - # #=> Net::IMAP::SequenceSet["1:7,9:11"] - # - # Related: #normalize!, #normalized_string + # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sequence_set.rb#1321 - def normalize; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:111 + def password; end - # Resets #string to be sorted, deduplicated, and coalesced. Returns - # +self+. - # - # Related: #normalize, #normalized_string + # responds to the server's challenges # - # source://net-imap//lib/net/imap/sequence_set.rb#1331 - def normalize!; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:164 + def process(challenge); end - # Returns a normalized +sequence-set+ string representation, sorted - # and deduplicated. Adjacent or overlapping elements will be merged into - # a single larger range. Returns +nil+ when the set is empty. - # - # Net::IMAP::SequenceSet["1:5,3:7,10:9,10:11"].normalized_string - # #=> "1:7,9:11" - # - # Related: #normalize!, #normalize + # The salt used by the server for this user # - # source://net-imap//lib/net/imap/sequence_set.rb#1344 - def normalized_string; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:139 + def salt; end - # Returns a sorted array of all of the number values in the sequence set. - # - # The returned numbers are sorted and de-duplicated, even when the input - # #string is not. See #normalize. - # - # Net::IMAP::SequenceSet["2,5:9,6,12:11"].numbers - # #=> [2, 5, 6, 7, 8, 9, 11, 12] - # - # If the set contains a *, RangeError is raised. See #limit. - # - # Net::IMAP::SequenceSet["10000:*"].numbers - # #!> RangeError - # - # *WARNING:* Even excluding sets with *, an enormous result can - # easily be created. An array with over 4 billion integers could be - # returned, requiring up to 32GiB of memory on a 64-bit architecture. - # - # Net::IMAP::SequenceSet[10000..2**32-1].numbers - # # ...probably freezes the process for a while... - # #!> NoMemoryError (probably) - # - # For safety, consider using #limit or #intersection to set an upper - # bound. Alternatively, use #each_element, #each_range, or even - # #each_number to avoid allocation of a result array. - # - # Related: #elements, #ranges, #to_set + # A password or passphrase that matches the #username. # - # source://net-imap//lib/net/imap/sequence_set.rb#931 - def numbers; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:112 + def secret; end - # :call-seq: ordered_at(index) -> integer or nil - # - # Returns the number at the given +index+ in the ordered #entries, without - # modifying the set. - # - # +index+ is interpreted the same as in #at (and #[]), except that - # #ordered_at applies to the ordered #entries, not the sorted set. + # An error reported by the server during the \SASL exchange. # - # Related: #[], #slice, #ordered_at + # Does not include errors reported by the protocol, e.g. + # Net::IMAP::NoResponseError. # - # source://net-imap//lib/net/imap/sequence_set.rb#1165 - def ordered_at(index); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:148 + def server_error; end - # Returns +true+ if the set and a given object have any common elements, - # +false+ otherwise. - # - # Net::IMAP::SequenceSet["5:10"].intersect? "7,9,11" #=> true - # Net::IMAP::SequenceSet["5:10"].intersect? "11:33" #=> false - # - # Related: #intersection, #disjoint? - # - # @return [Boolean] + # The server nonce, which must start with #cnonce # - # source://net-imap//lib/net/imap/sequence_set.rb#557 - def overlap?(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:136 + def snonce; end - # Returns an array of ranges - # - # The returned elements are sorted and coalesced, even when the input - # #string is not. * will sort last. See #normalize. - # - # * translates to an endless range. By itself, * - # translates to :*... Use #limit to set * to a maximum - # value. - # - # The returned ranges will be sorted and coalesced, even when the input - # #string is not. * will sort last. See #normalize. - # - # Net::IMAP::SequenceSet["2,5:9,6,*,12:11"].ranges - # #=> [2..2, 5..9, 11..12, :*..] - # Net::IMAP::SequenceSet["123,999:*,456:789"].ranges - # #=> [123..123, 456..789, 999..] + # Authentication identity: the identity that matches the #password. # - # Related: #each_range, #elements, #numbers, #to_set + # RFC-2831[https://www.rfc-editor.org/rfc/rfc2831] uses the term + # +username+. "Authentication identity" is the generic term used by + # RFC-4422[https://www.rfc-editor.org/rfc/rfc4422]. + # RFC-4616[https://www.rfc-editor.org/rfc/rfc4616] and many later RFCs + # abbreviate this to +authcid+. # - # source://net-imap//lib/net/imap/sequence_set.rb#903 - def ranges; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:107 + def username; end - # Replace the contents of the set with the contents of +other+ and returns - # +self+. - # - # +other+ may be another SequenceSet, or it may be an IMAP +sequence-set+ - # string, a number, a range, *, or an enumerable of these. - # - # source://net-imap//lib/net/imap/sequence_set.rb#385 - def replace(other); end + private - # Unstable API: for internal use only (Net::IMAP#send_data) + # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] + # +client-final-message-without-proof+. # - # source://net-imap//lib/net/imap/sequence_set.rb#1368 - def send_data(imap, tag); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:240 + def client_final_message_without_proof; end - # Returns the count of #numbers in the set. - # - # * will be counted as 2**32 - 1 (the maximum 32-bit - # unsigned integer value). - # - # Related: #count_with_duplicates + # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] + # +client-first-message-bare+. # - # source://net-imap//lib/net/imap/sequence_set.rb#1052 - def size; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:225 + def client_first_message_bare; end - # :call-seq: - # seqset[index] -> integer or :* or nil - # slice(index) -> integer or :* or nil - # seqset[start, length] -> sequence set or nil - # slice(start, length) -> sequence set or nil - # seqset[range] -> sequence set or nil - # slice(range) -> sequence set or nil - # - # Returns a number or a subset from the _sorted_ set, without modifying - # the set. - # - # When an Integer argument +index+ is given, the number at offset +index+ - # in the sorted set is returned: - # - # set = Net::IMAP::SequenceSet["10:15,20:23,26"] - # set[0] #=> 10 - # set[5] #=> 15 - # set[10] #=> 26 - # - # If +index+ is negative, it counts relative to the end of the sorted set: - # set = Net::IMAP::SequenceSet["10:15,20:23,26"] - # set[-1] #=> 26 - # set[-3] #=> 22 - # set[-6] #=> 15 - # - # If +index+ is out of range, +nil+ is returned. - # - # set = Net::IMAP::SequenceSet["10:15,20:23,26"] - # set[11] #=> nil - # set[-12] #=> nil - # - # The result is based on the sorted and de-duplicated set, not on the - # ordered #entries in #string. - # - # set = Net::IMAP::SequenceSet["12,20:23,11:16,21"] - # set[0] #=> 11 - # set[-1] #=> 23 - # - # Related: #at + # See {RFC5802 §7}[https://www.rfc-editor.org/rfc/rfc5802#section-7] + # +client-final-message+. # - # source://net-imap//lib/net/imap/sequence_set.rb#1229 - def slice(index, length = T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:233 + def final_message_with_proof; end - # :call-seq: - # slice!(index) -> integer or :* or nil - # slice!(start, length) -> sequence set or nil - # slice!(range) -> sequence set or nil - # - # Deletes a number or consecutive numbers from the set, indicated by the - # given +index+, +start+ and +length+, or +range+ of offsets. Returns the - # number or sequence set that was removed, or +nil+ if nothing was - # removed. Arguments are interpreted the same as for #slice or #[]. - # - # #string will be regenerated after deletion. - # - # Related: #slice, #delete_at, #delete, #delete?, #subtract, #difference - # - # source://net-imap//lib/net/imap/sequence_set.rb#822 - def slice!(index, length = T.unsafe(nil)); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:192 + def format_message(hash); end - # Returns the \IMAP +sequence-set+ string representation, or +nil+ when - # the set is empty. Note that an empty set is invalid in the \IMAP - # syntax. - # - # Use #valid_string to raise an exception when the set is empty, or #to_s - # to return an empty string. - # - # If the set was created from a single string, it is not normalized. If - # the set is updated the string will be normalized. - # - # Related: #valid_string, #normalized_string, #to_s + # RFC5802 specifies "that the order of attributes in client or server + # messages is fixed, with the exception of extension attributes", but + # this parses it simply as a hash, without respect to order. Note that + # repeated keys (violating the spec) will use the last value. # - # source://net-imap//lib/net/imap/sequence_set.rb#417 - def string; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:257 + def parse_challenge(challenge); end - # Assigns a new string to #string and resets #elements to match. It - # cannot be set to an empty string—assign +nil+ or use #clear instead. - # The string is validated but not normalized. - # - # Use #add or #merge to add a string to an existing set. - # - # Related: #replace, #clear - # - # source://net-imap//lib/net/imap/sequence_set.rb#430 - def string=(str); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:211 + def recv_server_final_message(server_final_message); end - # Removes all of the elements that appear in any of the given +sets+ from - # the set, and returns +self+. - # - # The +sets+ may be any objects that would be accepted by ::new: non-zero - # 32 bit unsigned integers, ranges, sequence-set formatted - # strings, other sequence sets, or enumerables containing any of these. - # - # Related: #difference - # - # source://net-imap//lib/net/imap/sequence_set.rb#850 - def subtract(*sets); end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:194 + def recv_server_first_message(server_first_message); end - # Returns an array of ranges and integers and :*. - # - # The returned elements are sorted and coalesced, even when the input - # #string is not. * will sort last. See #normalize. - # - # By itself, * translates to :*. A range containing - # * translates to an endless range. Use #limit to translate both - # cases to a maximum value. - # - # The returned elements will be sorted and coalesced, even when the input - # #string is not. * will sort last. See #normalize. - # - # Net::IMAP::SequenceSet["2,5:9,6,*,12:11"].elements - # #=> [2, 5..9, 11..12, :*] - # - # Related: #each_element, #ranges, #numbers + # Need to store this for auth_message # - # source://net-imap//lib/net/imap/sequence_set.rb#883 - def to_a; end + # pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:190 + def server_first_message; end +end + +# Authenticator for the "+SCRAM-SHA-1+" SASL mechanism, defined in +# RFC5802[https://www.rfc-editor.org/rfc/rfc5802]. +# +# Uses the "SHA-1" digest algorithm from OpenSSL::Digest. +# +# See ScramAuthenticator. +# +# pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:271 +class Net::IMAP::SASL::ScramSHA1Authenticator < ::Net::IMAP::SASL::ScramAuthenticator; end - # Returns the \IMAP +sequence-set+ string representation, or an empty - # string when the set is empty. Note that an empty set is invalid in the - # \IMAP syntax. - # - # Related: #valid_string, #normalized_string, #to_s - # - # source://net-imap//lib/net/imap/sequence_set.rb#446 - def to_s; end +# pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:272 +Net::IMAP::SASL::ScramSHA1Authenticator::DIGEST_NAME = T.let(T.unsafe(nil), String) - # Returns self - # - # source://net-imap//lib/net/imap/sequence_set.rb#1359 - def to_sequence_set; end +# Authenticator for the "+SCRAM-SHA-256+" SASL mechanism, defined in +# RFC7677[https://www.rfc-editor.org/rfc/rfc7677]. +# +# Uses the "SHA-256" digest algorithm from OpenSSL::Digest. +# +# See ScramAuthenticator. +# +# pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:281 +class Net::IMAP::SASL::ScramSHA256Authenticator < ::Net::IMAP::SASL::ScramAuthenticator; end - # Returns a Set with all of the #numbers in the sequence set. - # - # If the set contains a *, RangeError will be raised. - # - # See #numbers for the warning about very large sets. - # - # Related: #elements, #ranges, #numbers - # - # source://net-imap//lib/net/imap/sequence_set.rb#1039 - def to_set; end +# pkg:gem/net-imap#lib/net/imap/sasl/scram_authenticator.rb:282 +Net::IMAP::SASL::ScramSHA256Authenticator::DIGEST_NAME = T.let(T.unsafe(nil), String) - # :call-seq: - # self + other -> sequence set - # self | other -> sequence set - # union(other) -> sequence set - # - # Returns a new sequence set that has every number in the +other+ object - # added. - # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. - # - # Net::IMAP::SequenceSet["1:5"] | 2 | [4..6, 99] - # #=> Net::IMAP::SequenceSet["1:6,99"] - # - # Related: #add, #merge - # - # source://net-imap//lib/net/imap/sequence_set.rb#619 - def union(other); end +# pkg:gem/net-imap#lib/net/imap/sasl/stringprep.rb:7 +Net::IMAP::SASL::StringPrep = Net::IMAP::StringPrep - # Returns false when the set is empty. - # - # @return [Boolean] - # - # source://net-imap//lib/net/imap/sequence_set.rb#593 - def valid?; end +# pkg:gem/net-imap#lib/net/imap/sasl/stringprep.rb:10 +Net::IMAP::SASL::StringPrepError = Net::IMAP::StringPrep::StringPrepError - # Returns the \IMAP +sequence-set+ string representation, or raises a - # DataFormatError when the set is empty. - # - # Use #string to return +nil+ or #to_s to return an empty string without - # error. +# Authenticator for the "+XOAUTH2+" SASL mechanism. This mechanism was +# originally created for GMail and widely adopted by hosted email providers. +# +XOAUTH2+ has been documented by +# Google[https://developers.google.com/gmail/imap/xoauth2-protocol] and +# Microsoft[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth]. +# +# This mechanism requires an OAuth2 access token which has been authorized +# with the appropriate OAuth2 scopes to access the user's services. Most of +# these scopes are not standardized---consult each service provider's +# documentation for their scopes. +# +# Although this mechanism was never standardized and has been obsoleted by +# "+OAUTHBEARER+", it is still very widely supported. +# +# See Net::IMAP::SASL::OAuthBearerAuthenticator. +# +# pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:18 +class Net::IMAP::SASL::XOAuth2Authenticator + # :call-seq: + # new(username, oauth2_token, **) -> authenticator + # new(username:, oauth2_token:, **) -> authenticator + # new(authzid:, oauth2_token:, **) -> authenticator # - # Related: #string, #normalized_string, #to_s + # Creates an Authenticator for the "+XOAUTH2+" SASL mechanism, as specified by + # Google[https://developers.google.com/gmail/imap/xoauth2-protocol], + # Microsoft[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth] + # and Yahoo[https://senders.yahooinc.com/developer/documentation]. # - # @raise [DataFormatError] + # === Properties # - # source://net-imap//lib/net/imap/sequence_set.rb#401 - def valid_string; end - - # Unstable API: currently for internal use only (Net::IMAP#validate_data) + # * #username --- the username for the account being accessed. # - # source://net-imap//lib/net/imap/sequence_set.rb#1362 - def validate; end - - # :call-seq: - # self ^ other -> sequence set - # xor(other) -> sequence set + # #authzid --- an alias for #username. # - # Returns a new sequence set containing numbers that are exclusive between - # this set and +other+. + # Note that, unlike some other authenticators, +username+ sets the + # _authorization_ identity and not the _authentication_ identity. The + # authenticated identity is established for the client with the OAuth token. # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. + # * #oauth2_token --- An OAuth2.0 access token which is authorized to access + # the service for #username. # - # Net::IMAP::SequenceSet[1..5] ^ [2, 4, 6] - # #=> Net::IMAP::SequenceSet["1,3,5:6"] + # Any other keyword parameters are quietly ignored. # - # (seqset ^ other) is equivalent to ((seqset | other) - - # (seqset & other)). + # @return [XOAuth2Authenticator] a new instance of XOAuth2Authenticator # - # source://net-imap//lib/net/imap/sequence_set.rb#676 - def xor(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:71 + def initialize(user = T.unsafe(nil), token = T.unsafe(nil), username: T.unsafe(nil), oauth2_token: T.unsafe(nil), authzid: T.unsafe(nil), secret: T.unsafe(nil), **_arg6); end - # :call-seq: - # self + other -> sequence set - # self | other -> sequence set - # union(other) -> sequence set - # - # Returns a new sequence set that has every number in the +other+ object - # added. - # - # +other+ may be any object that would be accepted by ::new: a non-zero 32 - # bit unsigned integer, range, sequence-set formatted string, - # another sequence set, or an enumerable containing any of these. + # It is unclear from {Google's original XOAUTH2 + # documentation}[https://developers.google.com/gmail/imap/xoauth2-protocol], + # whether "User" refers to the authentication identity (+authcid+) or the + # authorization identity (+authzid+). The authentication identity is + # established for the client by the OAuth token, so it seems that +username+ + # must be the authorization identity. # - # Net::IMAP::SequenceSet["1:5"] | 2 | [4..6, 99] - # #=> Net::IMAP::SequenceSet["1:6,99"] + # {Microsoft's documentation for shared + # mailboxes}[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#sasl-xoauth2-authentication-for-shared-mailboxes-in-office-365] + # _clearly_ indicates that the Office 365 server interprets it as the + # authorization identity. # - # Related: #add, #merge + # Although they _should_ validate that the token has been authorized to access + # the service for +username+, _some_ servers appear to ignore this field, + # relying only the identity and scope authorized by the token. + # Note that, unlike most other authenticators, #username is an alias for the + # 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/sequence_set.rb#617 - def |(other); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:40 + def authzid; end - # :call-seq: - # ~ self -> sequence set - # complement -> sequence set - # - # Returns the complement of self, a SequenceSet which contains all numbers - # _except_ for those in this set. - # - # ~Net::IMAP::SequenceSet.full #=> Net::IMAP::SequenceSet.empty - # ~Net::IMAP::SequenceSet.empty #=> Net::IMAP::SequenceSet.full - # ~Net::IMAP::SequenceSet["1:5,100:222"] - # #=> Net::IMAP::SequenceSet["6:99,223:*"] - # ~Net::IMAP::SequenceSet["6:99,223:*"] - # #=> Net::IMAP::SequenceSet["1:5,100:222"] + # Returns true when the initial client response was sent. # - # Related: #complement! + # The authentication should not succeed unless this returns true, but it + # does *not* indicate success. # - # source://net-imap//lib/net/imap/sequence_set.rb#693 - def ~; end - - protected - - # source://net-imap//lib/net/imap/sequence_set.rb#1386 - def tuples; end - - private - - # source://net-imap//lib/net/imap/sequence_set.rb#961 - def each_entry_tuple(&block); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1023 - def each_number_in_tuple(min, max, &block); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1122 - def each_tuple_with_index(tuples); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1450 - def from_tuple_int(num); end - # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#1459 - def include_tuple?(_arg0); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:98 + def done?; end - # frozen clones are shallow copied + # :call-seq: + # initial_response? -> true # - # source://net-imap//lib/net/imap/sequence_set.rb#1393 - def initialize_clone(other); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1397 - def initialize_dup(other); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1403 - def input_to_tuple(entry); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1414 - def input_to_tuples(set); end - - # unlike SequenceSet#try_convert, this returns an Integer, Range, - # String, Set, Array, or... any type of object. + # +XOAUTH2+ can send an initial client response. # - # source://net-imap//lib/net/imap/sequence_set.rb#1432 - def input_try_convert(input); end - # @return [Boolean] # - # source://net-imap//lib/net/imap/sequence_set.rb#1461 - def intersect_tuple?(_arg0); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1169 - def lookup_number_by_tuple_index(tuples, index); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1466 - def modifying!; end - - # source://net-imap//lib/net/imap/sequence_set.rb#1563 - def nz_number(num); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1558 - def range_gte_to(num); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1439 - def range_to_tuple(range); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1390 - def remain_frozen(set); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1132 - def reverse_each_tuple_with_index(tuples); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:84 + def initial_response?; end - # @raise [ArgumentError] + # 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/sequence_set.rb#1233 - def slice_length(start, length); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1241 - def slice_range(range); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:44 + def oauth2_token; end - # @raise [DataFormatError] + # Returns the XOAUTH2 formatted response, which combines the +username+ + # with the +oauth2_token+. # - # source://net-imap//lib/net/imap/sequence_set.rb#1454 - def str_to_tuple(str); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1453 - def str_to_tuples(str); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1449 - def to_tuple_int(obj); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:88 + def process(_data); end - # --|=====| |=====new tuple=====| append - # ?????????-|=====new tuple=====|-|===lower===|-- insert - # - # |=====new tuple=====| - # ---------??=======lower=======??--------------- noop - # - # ---------??===lower==|--|==| join remaining - # ---------??===lower==|--|==|----|===upper===|-- join until upper - # ---------??===lower==|--|==|--|=====upper===|-- join to upper + # 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/sequence_set.rb#1485 - def tuple_add(tuple); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1495 - def tuple_coalesce(lower, lower_idx, min, max); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1554 - def tuple_gte_with_index(num); end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:45 + def secret; end - # |====tuple================| - # --|====| no more 1. noop - # --|====|---------------------------|====lower====|-- 2. noop - # -------|======lower================|---------------- 3. split - # --------|=====lower================|---------------- 4. trim beginning + # It is unclear from {Google's original XOAUTH2 + # documentation}[https://developers.google.com/gmail/imap/xoauth2-protocol], + # whether "User" refers to the authentication identity (+authcid+) or the + # authorization identity (+authzid+). The authentication identity is + # established for the client by the OAuth token, so it seems that +username+ + # must be the authorization identity. # - # -------|======lower====????????????----------------- trim lower - # --------|=====lower====????????????----------------- delete lower + # {Microsoft's documentation for shared + # mailboxes}[https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#sasl-xoauth2-authentication-for-shared-mailboxes-in-office-365] + # _clearly_ indicates that the Office 365 server interprets it as the + # authorization identity. # - # -------??=====lower===============|----------------- 5. trim/delete one - # -------??=====lower====|--|====| no more 6. delete rest - # -------??=====lower====|--|====|---|====upper====|-- 7. delete until - # -------??=====lower====|--|====|--|=====upper====|-- 8. delete and trim + # Although they _should_ validate that the token has been authorized to access + # the service for +username+, _some_ servers appear to ignore this field, + # relying only the identity and scope authorized by the token. # - # source://net-imap//lib/net/imap/sequence_set.rb#1522 - def tuple_subtract(tuple); end - - # source://net-imap//lib/net/imap/sequence_set.rb#971 - def tuple_to_entry(_arg0); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1452 - def tuple_to_str(tuple); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1533 - def tuple_trim_or_split(lower, idx, tmin, tmax); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1472 - def tuples_add(tuples); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1473 - def tuples_subtract(tuples); end - - # source://net-imap//lib/net/imap/sequence_set.rb#1540 - def tuples_trim_or_delete(lower, lower_idx, tmin, tmax); end - - class << self - # :call-seq: - # SequenceSet[*inputs] -> valid frozen sequence set - # - # Returns a frozen SequenceSet, constructed from +inputs+. - # - # When only a single valid frozen SequenceSet is given, that same set is - # returned. - # - # An empty SequenceSet is invalid and will raise a DataFormatError. - # - # Use ::new to create a mutable or empty SequenceSet. - # - # source://net-imap//lib/net/imap/sequence_set.rb#332 - def [](first, *rest); end - - # Returns a frozen empty set singleton. Note that valid \IMAP sequence - # sets cannot be empty, so this set is _invalid_. - # - # source://net-imap//lib/net/imap/sequence_set.rb#363 - def empty; end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:35 + def username; end - # Returns a frozen full set singleton: "1:*" - # - # source://net-imap//lib/net/imap/sequence_set.rb#366 - def full; end + private - # :call-seq: - # SequenceSet.try_convert(obj) -> sequence set or nil - # - # If +obj+ is a SequenceSet, returns +obj+. If +obj+ responds_to - # +to_sequence_set+, calls +obj.to_sequence_set+ and returns the result. - # Otherwise returns +nil+. - # - # If +obj.to_sequence_set+ doesn't return a SequenceSet, an exception is - # raised. - # - # @raise [DataFormatError] - # - # source://net-imap//lib/net/imap/sequence_set.rb#353 - def try_convert(obj); end - end + # pkg:gem/net-imap#lib/net/imap/sasl/xoauth2_authenticator.rb:102 + def build_oauth2_string(username, oauth2_token); end end -# intentionally defined after the class implementation -# -# source://net-imap//lib/net/imap/sequence_set.rb#1573 -Net::IMAP::SequenceSet::EMPTY = T.let(T.unsafe(nil), Net::IMAP::SequenceSet) - -# source://net-imap//lib/net/imap/sequence_set.rb#1574 -Net::IMAP::SequenceSet::FULL = T.let(T.unsafe(nil), Net::IMAP::SequenceSet) - -# valid inputs for "*" -# -# source://net-imap//lib/net/imap/sequence_set.rb#316 -Net::IMAP::SequenceSet::STARS = T.let(T.unsafe(nil), Array) - -# represents "*" internally, to simplify sorting (etc) -# -# source://net-imap//lib/net/imap/sequence_set.rb#312 -Net::IMAP::SequenceSet::STAR_INT = T.let(T.unsafe(nil), Integer) - -# The largest possible non-zero unsigned 32-bit integer +# Experimental # -# source://net-imap//lib/net/imap/sequence_set.rb#309 -Net::IMAP::SequenceSet::UINT32_MAX = T.let(T.unsafe(nil), Integer) - -# source://net-imap//lib/net/imap/command_data.rb#286 -module Net::IMAP::StringFormatter - private - - # source://net-imap//lib/net/imap/command_data.rb#313 - def nstring(str); end - - # source://net-imap//lib/net/imap/command_data.rb#303 - def string(str); end - - # source://net-imap//lib/net/imap/command_data.rb#298 - def valid_nstring?(str); end - - # source://net-imap//lib/net/imap/command_data.rb#293 - def valid_string?(str); end +# pkg:gem/net-imap#lib/net/imap/sasl_adapter.rb:7 +class Net::IMAP::SASLAdapter < ::Net::IMAP::SASL::ClientAdapter + include ::Net::IMAP::SASL::ProtocolAdapters::IMAP - class << self - # source://net-imap//lib/net/imap/command_data.rb#313 - def nstring(str); end + # pkg:gem/net-imap#lib/net/imap/sasl_adapter.rb:15 + def drop_connection; end - # source://net-imap//lib/net/imap/command_data.rb#303 - def string(str); end + # pkg:gem/net-imap#lib/net/imap/sasl_adapter.rb:16 + def drop_connection!; end - # source://net-imap//lib/net/imap/command_data.rb#298 - def valid_nstring?(str); end + # pkg:gem/net-imap#lib/net/imap/sasl_adapter.rb:13 + def response_errors; end - # source://net-imap//lib/net/imap/command_data.rb#293 - def valid_string?(str); end - end + # @return [Boolean] + # + # pkg:gem/net-imap#lib/net/imap/sasl_adapter.rb:14 + def sasl_ir_capable?; end end -# source://net-imap//lib/net/imap/command_data.rb#288 -Net::IMAP::StringFormatter::LITERAL_REGEX = T.let(T.unsafe(nil), Regexp) +# pkg:gem/net-imap#lib/net/imap/sasl_adapter.rb:10 +Net::IMAP::SASLAdapter::RESPONSE_ERRORS = T.let(T.unsafe(nil), Array) # Regexps and utility methods for implementing stringprep profiles. The # \StringPrep algorithm is defined by @@ -9176,7 +3054,7 @@ Net::IMAP::StringFormatter::LITERAL_REGEX = T.let(T.unsafe(nil), Regexp) # codepoint table defined in the RFC-3454 appendices is matched by a Regexp # defined in this module. # -# source://net-imap//lib/net/imap/stringprep.rb#11 +# pkg:gem/net-imap#lib/net/imap/stringprep.rb:11 module Net::IMAP::StringPrep private @@ -9197,7 +3075,7 @@ module Net::IMAP::StringPrep # requirements are met. +profile+ is an optional string which will be # added to any exception that is raised (it does not affect behavior). # - # source://net-imap//lib/net/imap/stringprep.rb#144 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:144 def check_bidi!(string, c_8: T.unsafe(nil), profile: T.unsafe(nil)); end # Checks +string+ for any codepoint in +tables+. Raises a @@ -9209,10 +3087,10 @@ module Net::IMAP::StringPrep # +profile+ is an optional string which will be added to any exception that # is raised (it does not affect behavior). # - # source://net-imap//lib/net/imap/stringprep.rb#104 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:104 def check_prohibited!(string, *tables, bidi: T.unsafe(nil), unassigned: T.unsafe(nil), stored: T.unsafe(nil), profile: T.unsafe(nil)); end - # source://net-imap//lib/net/imap/stringprep.rb#88 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:88 def map_tables!(string, *tables); end # >>> @@ -9236,13 +3114,13 @@ module Net::IMAP::StringPrep # The above steps MUST be performed in the order given to comply with # this specification. # - # source://net-imap//lib/net/imap/stringprep.rb#76 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:76 def stringprep(string, maps:, normalization:, prohibited:, **opts); end class << self # Returns a Regexp matching the given +table+ name. # - # source://net-imap//lib/net/imap/stringprep.rb#49 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:49 def [](table); end # Checks that +string+ obeys all of the "Bidirectional Characters" @@ -9262,7 +3140,7 @@ module Net::IMAP::StringPrep # requirements are met. +profile+ is an optional string which will be # added to any exception that is raised (it does not affect behavior). # - # source://net-imap//lib/net/imap/stringprep.rb#144 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:144 def check_bidi!(string, c_8: T.unsafe(nil), profile: T.unsafe(nil)); end # Checks +string+ for any codepoint in +tables+. Raises a @@ -9274,10 +3152,10 @@ module Net::IMAP::StringPrep # +profile+ is an optional string which will be added to any exception that # is raised (it does not affect behavior). # - # source://net-imap//lib/net/imap/stringprep.rb#104 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:104 def check_prohibited!(string, *tables, bidi: T.unsafe(nil), unassigned: T.unsafe(nil), stored: T.unsafe(nil), profile: T.unsafe(nil)); end - # source://net-imap//lib/net/imap/stringprep.rb#88 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:88 def map_tables!(string, *tables); end # >>> @@ -9301,7 +3179,7 @@ module Net::IMAP::StringPrep # The above steps MUST be performed in the order given to comply with # this specification. # - # source://net-imap//lib/net/imap/stringprep.rb#76 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:76 def stringprep(string, maps:, normalization:, prohibited:, **opts); end end end @@ -9309,7 +3187,7 @@ end # StringPrepError raised when +string+ contains bidirectional characters # which violate the StringPrep requirements. # -# source://net-imap//lib/net/imap/stringprep.rb#45 +# pkg:gem/net-imap#lib/net/imap/stringprep.rb:45 class Net::IMAP::StringPrep::BidiStringError < ::Net::IMAP::StringPrep::StringPrepError; end # Defined in RFC3491[https://www.rfc-editor.org/rfc/rfc3491], the +nameprep+ @@ -9338,62 +3216,62 @@ class Net::IMAP::StringPrep::BidiStringError < ::Net::IMAP::StringPrep::StringPr # The IDNA protocol has additional prohibitions that are checked # outside of this profile. # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#32 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:32 module Net::IMAP::StringPrep::NamePrep private - # source://net-imap//lib/net/imap/stringprep/nameprep.rb#54 + # pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:54 def nameprep(string, **opts); end class << self - # source://net-imap//lib/net/imap/stringprep/nameprep.rb#54 + # pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:54 def nameprep(string, **opts); end end end # From RFC3491[https://www.rfc-editor.org/rfc/rfc3491.html] §6 # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#50 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:50 Net::IMAP::StringPrep::NamePrep::CHECK_BIDI = T.let(T.unsafe(nil), TrueClass) # From RFC3491[https://www.rfc-editor.org/rfc/rfc3491.html] §3 # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#41 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:41 Net::IMAP::StringPrep::NamePrep::MAPPING_TABLES = T.let(T.unsafe(nil), Array) # From RFC3491[https://www.rfc-editor.org/rfc/rfc3491.html] §4 # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#44 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:44 Net::IMAP::StringPrep::NamePrep::NORMALIZATION = T.let(T.unsafe(nil), Symbol) # From RFC3491[https://www.rfc-editor.org/rfc/rfc3491.html] §5 # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#47 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:47 Net::IMAP::StringPrep::NamePrep::PROHIBITED_TABLES = T.let(T.unsafe(nil), Array) # From RFC3491[https://www.rfc-editor.org/rfc/rfc3491.html] §10 # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#35 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:35 Net::IMAP::StringPrep::NamePrep::STRINGPREP_PROFILE = T.let(T.unsafe(nil), String) # From RFC3491[https://www.rfc-editor.org/rfc/rfc3491.html] §2 # -# source://net-imap//lib/net/imap/stringprep/nameprep.rb#38 +# pkg:gem/net-imap#lib/net/imap/stringprep/nameprep.rb:38 Net::IMAP::StringPrep::NamePrep::UNASSIGNED_TABLE = T.let(T.unsafe(nil), String) # StringPrepError raised when +string+ contains a codepoint prohibited by # +table+. # -# source://net-imap//lib/net/imap/stringprep.rb#31 +# pkg:gem/net-imap#lib/net/imap/stringprep.rb:31 class Net::IMAP::StringPrep::ProhibitedCodepoint < ::Net::IMAP::StringPrep::StringPrepError # @return [ProhibitedCodepoint] a new instance of ProhibitedCodepoint # - # source://net-imap//lib/net/imap/stringprep.rb#34 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:34 def initialize(table, *args, **kwargs); end # Returns the value of attribute table. # - # source://net-imap//lib/net/imap/stringprep.rb#32 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:32 def table; end end @@ -9406,7 +3284,7 @@ end # "D"). \SASLprep also uses \StringPrep's definition of "Unassigned" # codepoints (Appendix "A"). # -# source://net-imap//lib/net/imap/stringprep/saslprep.rb#15 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep.rb:15 module Net::IMAP::StringPrep::SASLprep private @@ -9421,7 +3299,7 @@ module Net::IMAP::StringPrep::SASLprep # Unicode 3.2, and not later versions. See RFC3454 §7 for more # information. # - # source://net-imap//lib/net/imap/stringprep/saslprep.rb#42 + # pkg:gem/net-imap#lib/net/imap/stringprep/saslprep.rb:42 def saslprep(str, stored: T.unsafe(nil), exception: T.unsafe(nil)); end class << self @@ -9436,14 +3314,14 @@ module Net::IMAP::StringPrep::SASLprep # Unicode 3.2, and not later versions. See RFC3454 §7 for more # information. # - # source://net-imap//lib/net/imap/stringprep/saslprep.rb#42 + # pkg:gem/net-imap#lib/net/imap/stringprep/saslprep.rb:42 def saslprep(str, stored: T.unsafe(nil), exception: T.unsafe(nil)); end end end # Used to short-circuit strings that don't need preparation. # -# source://net-imap//lib/net/imap/stringprep/saslprep.rb#18 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep.rb:18 Net::IMAP::StringPrep::SASLprep::ASCII_NO_CTRLS = T.let(T.unsafe(nil), Regexp) # Bidirectional Characters [StringPrep, §6] @@ -9454,7 +3332,7 @@ Net::IMAP::StringPrep::SASLprep::ASCII_NO_CTRLS = T.let(T.unsafe(nil), Regexp) # Equal to StringPrep::Tables::BIDI_FAILURE. # Redefined here to avoid loading StringPrep::Tables unless necessary. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#79 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:79 Net::IMAP::StringPrep::SASLprep::BIDI_FAILURE = T.let(T.unsafe(nil), Regexp) # RFC4013 §2.1 Mapping - mapped to nothing @@ -9465,7 +3343,7 @@ Net::IMAP::StringPrep::SASLprep::BIDI_FAILURE = T.let(T.unsafe(nil), Regexp) # Equal to \StringPrep\[\"B.1\"]. # Redefined here to avoid loading StringPrep::Tables unless necessary. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#27 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:27 Net::IMAP::StringPrep::SASLprep::MAP_TO_NOTHING = T.let(T.unsafe(nil), Regexp) # RFC4013 §2.1 Mapping - mapped to space @@ -9476,35 +3354,35 @@ Net::IMAP::StringPrep::SASLprep::MAP_TO_NOTHING = T.let(T.unsafe(nil), Regexp) # Equal to \StringPrep\[\"C.1.2\"]. # Redefined here to avoid loading StringPrep::Tables unless necessary. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#18 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:18 Net::IMAP::StringPrep::SASLprep::MAP_TO_SPACE = T.let(T.unsafe(nil), Regexp) # A Regexp matching strings prohibited by RFC4013 §2.3 and §2.4. # # This combines PROHIBITED_OUTPUT and BIDI_FAILURE. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#84 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:84 Net::IMAP::StringPrep::SASLprep::PROHIBITED = T.let(T.unsafe(nil), Regexp) # A Regexp matching codepoints prohibited by RFC4013 §2.3. # # This combines all of the TABLES_PROHIBITED tables. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#54 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:54 Net::IMAP::StringPrep::SASLprep::PROHIBITED_OUTPUT = T.let(T.unsafe(nil), Regexp) # A Regexp matching codepoints prohibited by RFC4013 §2.3 and §2.5. # # This combines PROHIBITED_OUTPUT and UNASSIGNED. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#68 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:68 Net::IMAP::StringPrep::SASLprep::PROHIBITED_OUTPUT_STORED = T.let(T.unsafe(nil), Regexp) # A Regexp matching strings prohibited by RFC4013 §2.3, §2.4, and §2.5. # # This combines PROHIBITED_OUTPUT_STORED and BIDI_FAILURE. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#91 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:91 Net::IMAP::StringPrep::SASLprep::PROHIBITED_STORED = T.let(T.unsafe(nil), Regexp) # RFC4013 §2.3 Prohibited Output @@ -9520,7 +3398,7 @@ Net::IMAP::StringPrep::SASLprep::PROHIBITED_STORED = T.let(T.unsafe(nil), Regexp # * Change display properties or deprecated characters — \StringPrep\[\"C.8\"] # * Tagging characters — \StringPrep\[\"C.9\"] # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#41 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:41 Net::IMAP::StringPrep::SASLprep::TABLES_PROHIBITED = T.let(T.unsafe(nil), Array) # Adds unassigned (by Unicode 3.2) codepoints to TABLES_PROHIBITED. @@ -9530,7 +3408,7 @@ Net::IMAP::StringPrep::SASLprep::TABLES_PROHIBITED = T.let(T.unsafe(nil), Array) # This profile specifies the \StringPrep\[\"A.1\"] table as its # list of unassigned code points. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#49 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:49 Net::IMAP::StringPrep::SASLprep::TABLES_PROHIBITED_STORED = T.let(T.unsafe(nil), Array) # RFC4013 §2.5 Unassigned Code Points @@ -9541,37 +3419,37 @@ Net::IMAP::StringPrep::SASLprep::TABLES_PROHIBITED_STORED = T.let(T.unsafe(nil), # Equal to \StringPrep\[\"A.1\"]. # Redefined here to avoid loading StringPrep::Tables unless necessary. # -# source://net-imap//lib/net/imap/stringprep/saslprep_tables.rb#63 +# pkg:gem/net-imap#lib/net/imap/stringprep/saslprep_tables.rb:63 Net::IMAP::StringPrep::SASLprep::UNASSIGNED = T.let(T.unsafe(nil), Regexp) # ArgumentError raised when +string+ is invalid for the stringprep # +profile+. # -# source://net-imap//lib/net/imap/stringprep.rb#19 +# pkg:gem/net-imap#lib/net/imap/stringprep.rb:19 class Net::IMAP::StringPrep::StringPrepError < ::ArgumentError # @return [StringPrepError] a new instance of StringPrepError # - # source://net-imap//lib/net/imap/stringprep.rb#22 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:22 def initialize(*args, string: T.unsafe(nil), profile: T.unsafe(nil)); end # Returns the value of attribute profile. # - # source://net-imap//lib/net/imap/stringprep.rb#20 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:20 def profile; end # Returns the value of attribute string. # - # source://net-imap//lib/net/imap/stringprep.rb#20 + # pkg:gem/net-imap#lib/net/imap/stringprep.rb:20 def string; end end -# source://net-imap//lib/net/imap/stringprep/tables.rb#9 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:9 module Net::IMAP::StringPrep::Tables; end -# source://net-imap//lib/net/imap/stringprep/tables.rb#75 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:75 Net::IMAP::StringPrep::Tables::BIDI_DESC_REQ2 = T.let(T.unsafe(nil), String) -# source://net-imap//lib/net/imap/stringprep/tables.rb#83 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:83 Net::IMAP::StringPrep::Tables::BIDI_DESC_REQ3 = T.let(T.unsafe(nil), String) # Bidirectional Characters [StringPrep, §6], Requirement 2 @@ -9579,7 +3457,7 @@ Net::IMAP::StringPrep::Tables::BIDI_DESC_REQ3 = T.let(T.unsafe(nil), String) # If a string contains any RandALCat character, the string MUST NOT # contain any LCat character. # -# source://net-imap//lib/net/imap/stringprep/tables.rb#81 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:81 Net::IMAP::StringPrep::Tables::BIDI_FAILS_REQ2 = T.let(T.unsafe(nil), Regexp) # Bidirectional Characters [StringPrep, §6], Requirement 3 @@ -9588,137 +3466,137 @@ Net::IMAP::StringPrep::Tables::BIDI_FAILS_REQ2 = T.let(T.unsafe(nil), Regexp) # character MUST be the first character of the string, and a # RandALCat character MUST be the last character of the string. # -# source://net-imap//lib/net/imap/stringprep/tables.rb#90 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:90 Net::IMAP::StringPrep::Tables::BIDI_FAILS_REQ3 = T.let(T.unsafe(nil), Regexp) # Bidirectional Characters [StringPrep, §6] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#93 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:93 Net::IMAP::StringPrep::Tables::BIDI_FAILURE = T.let(T.unsafe(nil), Regexp) # Unassigned code points in Unicode 3.2 \StringPrep\[\"A.1\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#12 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:12 Net::IMAP::StringPrep::Tables::IN_A_1 = T.let(T.unsafe(nil), Regexp) # Commonly mapped to nothing \StringPrep\[\"B.1\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#15 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:15 Net::IMAP::StringPrep::Tables::IN_B_1 = T.let(T.unsafe(nil), Regexp) # Mapping for case-folding used with NFKC \StringPrep\[\"B.2\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#18 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:18 Net::IMAP::StringPrep::Tables::IN_B_2 = T.let(T.unsafe(nil), Regexp) # Mapping for case-folding used with no normalization \StringPrep\[\"B.3\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#21 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:21 Net::IMAP::StringPrep::Tables::IN_B_3 = T.let(T.unsafe(nil), Regexp) # ASCII space characters \StringPrep\[\"C.1.1\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#33 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:33 Net::IMAP::StringPrep::Tables::IN_C_1_1 = T.let(T.unsafe(nil), Regexp) # Non-ASCII space characters \StringPrep\[\"C.1.2\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#36 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:36 Net::IMAP::StringPrep::Tables::IN_C_1_2 = T.let(T.unsafe(nil), Regexp) # ASCII control characters \StringPrep\[\"C.2.1\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#39 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:39 Net::IMAP::StringPrep::Tables::IN_C_2_1 = T.let(T.unsafe(nil), Regexp) # Non-ASCII control characters \StringPrep\[\"C.2.2\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#42 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:42 Net::IMAP::StringPrep::Tables::IN_C_2_2 = T.let(T.unsafe(nil), Regexp) # Private use \StringPrep\[\"C.3\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#45 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:45 Net::IMAP::StringPrep::Tables::IN_C_3 = T.let(T.unsafe(nil), Regexp) # Non-character code points \StringPrep\[\"C.4\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#48 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:48 Net::IMAP::StringPrep::Tables::IN_C_4 = T.let(T.unsafe(nil), Regexp) # Surrogate codes \StringPrep\[\"C.5\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#51 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:51 Net::IMAP::StringPrep::Tables::IN_C_5 = T.let(T.unsafe(nil), Regexp) # Inappropriate for plain text \StringPrep\[\"C.6\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#54 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:54 Net::IMAP::StringPrep::Tables::IN_C_6 = T.let(T.unsafe(nil), Regexp) # Inappropriate for canonical representation \StringPrep\[\"C.7\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#57 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:57 Net::IMAP::StringPrep::Tables::IN_C_7 = T.let(T.unsafe(nil), Regexp) # Change display properties or are deprecated \StringPrep\[\"C.8\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#60 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:60 Net::IMAP::StringPrep::Tables::IN_C_8 = T.let(T.unsafe(nil), Regexp) # Tagging characters \StringPrep\[\"C.9\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#63 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:63 Net::IMAP::StringPrep::Tables::IN_C_9 = T.let(T.unsafe(nil), Regexp) # Characters with bidirectional property "R" or "AL" \StringPrep\[\"D.1\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#66 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:66 Net::IMAP::StringPrep::Tables::IN_D_1 = T.let(T.unsafe(nil), Regexp) # Used to check req3 of bidirectional checks # Matches the negation of the D.1 table # -# source://net-imap//lib/net/imap/stringprep/tables.rb#70 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:70 Net::IMAP::StringPrep::Tables::IN_D_1_NEGATED = T.let(T.unsafe(nil), Regexp) # Characters with bidirectional property "L" \StringPrep\[\"D.2\"] # -# source://net-imap//lib/net/imap/stringprep/tables.rb#73 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:73 Net::IMAP::StringPrep::Tables::IN_D_2 = T.let(T.unsafe(nil), Regexp) -# source://net-imap//lib/net/imap/stringprep/tables.rb#139 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:139 Net::IMAP::StringPrep::Tables::MAPPINGS = T.let(T.unsafe(nil), Hash) # Replacements for IN_B.1 # -# source://net-imap//lib/net/imap/stringprep/tables.rb#24 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:24 Net::IMAP::StringPrep::Tables::MAP_B_1 = T.let(T.unsafe(nil), String) # Replacements for IN_B.2 # -# source://net-imap//lib/net/imap/stringprep/tables.rb#27 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:27 Net::IMAP::StringPrep::Tables::MAP_B_2 = T.let(T.unsafe(nil), Hash) # Replacements for IN_B.3 # -# source://net-imap//lib/net/imap/stringprep/tables.rb#30 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:30 Net::IMAP::StringPrep::Tables::MAP_B_3 = T.let(T.unsafe(nil), Hash) # Regexps matching each codepoint table in the RFC-3454 appendices # -# source://net-imap//lib/net/imap/stringprep/tables.rb#119 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:119 Net::IMAP::StringPrep::Tables::REGEXPS = T.let(T.unsafe(nil), Hash) # Names of each codepoint table in the RFC-3454 appendices # -# source://net-imap//lib/net/imap/stringprep/tables.rb#96 +# pkg:gem/net-imap#lib/net/imap/stringprep/tables.rb:96 Net::IMAP::StringPrep::Tables::TITLES = T.let(T.unsafe(nil), Hash) # Defined in RFC-4505[https://www.rfc-editor.org/rfc/rfc4505] §3, The +trace+ # profile of \StringPrep is used by the +ANONYMOUS+ \SASL mechanism. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#9 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:9 module Net::IMAP::StringPrep::Trace private @@ -9741,7 +3619,7 @@ module Net::IMAP::StringPrep::Trace # This profile requires bidirectional character checking per Section 6 # of [StringPrep]. # - # source://net-imap//lib/net/imap/stringprep/trace.rb#68 + # pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:68 def stringprep_trace(string, **opts); end class << self @@ -9764,7 +3642,7 @@ module Net::IMAP::StringPrep::Trace # This profile requires bidirectional character checking per Section 6 # of [StringPrep]. # - # source://net-imap//lib/net/imap/stringprep/trace.rb#68 + # pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:68 def stringprep_trace(string, **opts); end end end @@ -9773,19 +3651,19 @@ end # This profile requires bidirectional character checking per Section 6 # of [StringPrep]. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#46 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:46 Net::IMAP::StringPrep::Trace::CHECK_BIDI = T.let(T.unsafe(nil), TrueClass) # >>> # No mapping is required by this profile. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#20 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:20 Net::IMAP::StringPrep::Trace::MAPPING_TABLES = T.let(T.unsafe(nil), T.untyped) # >>> # No Unicode normalization is required by this profile. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#24 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:24 Net::IMAP::StringPrep::Trace::NORMALIZATION = T.let(T.unsafe(nil), T.untyped) # From RFC-4505[https://www.rfc-editor.org/rfc/rfc4505] §3, The "trace" @@ -9804,110 +3682,20 @@ Net::IMAP::StringPrep::Trace::NORMALIZATION = T.let(T.unsafe(nil), T.untyped) # # No additional characters are prohibited. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#41 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:41 Net::IMAP::StringPrep::Trace::PROHIBITED_TABLES = T.let(T.unsafe(nil), Array) # Defined in RFC-4505[https://www.rfc-editor.org/rfc/rfc4505] §3. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#12 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:12 Net::IMAP::StringPrep::Trace::STRINGPREP_PROFILE = T.let(T.unsafe(nil), String) # >>> # The character repertoire of this profile is Unicode 3.2 [Unicode]. # -# source://net-imap//lib/net/imap/stringprep/trace.rb#16 +# pkg:gem/net-imap#lib/net/imap/stringprep/trace.rb:16 Net::IMAP::StringPrep::Trace::UNASSIGNED_TABLE = T.let(T.unsafe(nil), String) -# Mailbox attribute indicating that this mailbox is used to hold messages -# that have been deleted or marked for deletion. In some server -# implementations, this might be a virtual mailbox, containing messages from -# other mailboxes that are marked with the +\Deleted+ message flag. -# Alternatively, this might just be advice that a client that chooses not to -# use the \IMAP +\Deleted+ model should use as its trash location. In server -# implementations that strictly expect the \IMAP +\Deleted+ model, this -# special use is likely not to be supported. -# -# source://net-imap//lib/net/imap/flags.rb#258 -Net::IMAP::TRASH = T.let(T.unsafe(nil), Symbol) - -# Net::IMAP::ThreadMember represents a thread-node returned -# by Net::IMAP#thread. -# -# source://net-imap//lib/net/imap/response_data.rb#738 -class Net::IMAP::ThreadMember < ::Struct - # Returns a SequenceSet containing #seqno and all #children's seqno, - # recursively. - # - # source://net-imap//lib/net/imap/response_data.rb#754 - def to_sequence_set; end - - protected - - # source://net-imap//lib/net/imap/response_data.rb#760 - def all_seqnos(node = T.unsafe(nil)); end -end - -# Net::IMAP::UIDFetchData represents the contents of a +UIDFETCH+ response, -# When the +UIDONLY+ extension has been enabled, Net::IMAP#uid_fetch and -# Net::IMAP#uid_store will both return an array of UIDFetchData objects. -# -# UIDFetchData contains the same message attributes as FetchData. However, -# +UIDFETCH+ responses return the UID at the beginning of the response, -# replacing FetchData#seqno. UIDFetchData never contains a message sequence -# number. -# -# See FetchStruct documentation for a list of standard message attributes. -# -# source://net-imap//lib/net/imap/fetch_data.rb#559 -class Net::IMAP::UIDFetchData < ::Net::IMAP::FetchStruct - # UIDFetchData will print a warning if #attr["UID"] is present - # but not identical to #uid. - # - # @return [UIDFetchData] a new instance of UIDFetchData - # - # source://net-imap//lib/net/imap/fetch_data.rb#588 - def initialize(*_arg0, **_arg1, &_arg2); end -end - -# *NOTE:* UIDPlusData is deprecated and will be removed in the +0.6.0+ -# release. To use AppendUIDData and CopyUIDData before +0.6.0+, set -# Config#parser_use_deprecated_uidplus_data to +false+. -# -# UIDPlusData represents the ResponseCode#data that accompanies the -# +APPENDUID+ and +COPYUID+ {response codes}[rdoc-ref:ResponseCode]. -# -# A server that supports +UIDPLUS+ should send UIDPlusData in response to -# the append[rdoc-ref:Net::IMAP#append], copy[rdoc-ref:Net::IMAP#copy], -# move[rdoc-ref:Net::IMAP#move], {uid copy}[rdoc-ref:Net::IMAP#uid_copy], -# and {uid move}[rdoc-ref:Net::IMAP#uid_move] commands---unless the -# destination mailbox reports +UIDNOTSTICKY+. -# -# Note that append[rdoc-ref:Net::IMAP#append], copy[rdoc-ref:Net::IMAP#copy] -# and {uid_copy}[rdoc-ref:Net::IMAP#uid_copy] return UIDPlusData in their -# TaggedResponse. But move[rdoc-ref:Net::IMAP#copy] and -# {uid_move}[rdoc-ref:Net::IMAP#uid_move] _should_ send UIDPlusData in an -# UntaggedResponse response before sending their TaggedResponse. However -# some servers do send UIDPlusData in the TaggedResponse for +MOVE+ -# commands---this complies with the older +UIDPLUS+ specification but is -# discouraged by the +MOVE+ extension and disallowed by +IMAP4rev2+. -# -# == Required capability -# Requires either +UIDPLUS+ [RFC4315[https://www.rfc-editor.org/rfc/rfc4315]] -# or +IMAP4rev2+ capability. -# -# source://net-imap//lib/net/imap/uidplus_data.rb#32 -class Net::IMAP::UIDPlusData < ::Struct - # :call-seq: uid_mapping -> nil or a hash - # - # Returns a hash mapping each source UID to the newly assigned destination - # UID. - # - # Note:: Returns +nil+ for Net::IMAP#append. - # - # source://net-imap//lib/net/imap/uidplus_data.rb#62 - def uid_mapping; end -end - # Error raised upon an unknown response from the server. # # This is different from InvalidResponseError: the response may be a @@ -9917,71 +3705,8 @@ end # unhandled extensions. The connection may still be usable, # but—depending on context—it may be prudent to disconnect. # -# source://net-imap//lib/net/imap/errors.rb#110 +# pkg:gem/net-imap#lib/net/imap/errors.rb:110 class Net::IMAP::UnknownResponseError < ::Net::IMAP::ResponseError; end -# **Note:** This represents an intentionally _unstable_ API. Where -# instances of this class are returned, future releases may return a -# different (incompatible) object without deprecation or warning. -# -# Net::IMAP::UnparsedData represents data for unknown response types or -# unknown extensions to response types without a well-defined extension -# grammar. -# -# See also: UnparsedNumericResponseData, ExtensionData, IgnoredResponse -# -# source://net-imap//lib/net/imap/response_data.rb#83 -class Net::IMAP::UnparsedData < ::Struct; end - -# **Note:** This represents an intentionally _unstable_ API. Where -# instances of this class are returned, future releases may return a -# different (incompatible) object without deprecation or warning. -# -# Net::IMAP::UnparsedNumericResponseData represents data for unhandled -# response types with a numeric prefix. See the documentation for #number. -# -# See also: UnparsedData, ExtensionData, IgnoredResponse -# -# source://net-imap//lib/net/imap/response_data.rb#99 -class Net::IMAP::UnparsedNumericResponseData < ::Struct; end - -# source://net-imap//lib/net/imap.rb#791 +# pkg:gem/net-imap#lib/net/imap.rb:791 Net::IMAP::VERSION = T.let(T.unsafe(nil), String) - -# Net::IMAP::VanishedData represents the contents of a +VANISHED+ response, -# which is described by the -# {QRESYNC}[https://www.rfc-editor.org/rfc/rfc7162.html] extension. -# [{RFC7162 §3.2.10}[https://www.rfc-editor.org/rfc/rfc7162.html#section-3.2.10]]. -# -# +VANISHED+ responses replace +EXPUNGE+ responses when either the -# {QRESYNC}[https://www.rfc-editor.org/rfc/rfc7162.html] or the -# {UIDONLY}[https://www.rfc-editor.org/rfc/rfc9586.html] extension has been -# enabled. -# -# source://net-imap//lib/net/imap/vanished_data.rb#15 -class Net::IMAP::VanishedData < ::Net::IMAP::DataLite - # Returns a new VanishedData object. - # - # * +uids+ will be converted by SequenceSet.[]. - # * +earlier+ will be converted to +true+ or +false+ - # - # @return [VanishedData] a new instance of VanishedData - # - # source://net-imap//lib/net/imap/vanished_data.rb#21 - def initialize(uids:, earlier:); end - - # rdoc doesn't handle attr aliases nicely. :( - # - # source://net-imap//lib/net/imap/vanished_data.rb#43 - def earlier?; end - - # Returns an Array of all of the UIDs in #uids. - # - # See SequenceSet#numbers. - # - # source://net-imap//lib/net/imap/vanished_data.rb#52 - def to_a; end -end - -# source://net-imap//lib/net/imap/authenticators.rb#35 -Net::IMAP::XOauth2Authenticator = Net::IMAP::SASL::XOAuth2Authenticator diff --git a/sorbet/rbi/gems/net-pop@0.1.2.rbi b/sorbet/rbi/gems/net-pop@0.1.2.rbi index 10283be39..7cdfe7377 100644 --- a/sorbet/rbi/gems/net-pop@0.1.2.rbi +++ b/sorbet/rbi/gems/net-pop@0.1.2.rbi @@ -7,24 +7,24 @@ # This class is equivalent to POP3, except that it uses APOP authentication. # -# source://net-pop//lib/net/pop.rb#729 +# pkg:gem/net-pop#lib/net/pop.rb:729 class Net::APOP < ::Net::POP3 # Always returns true. # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#731 + # pkg:gem/net-pop#lib/net/pop.rb:731 def apop?; end end # class aliases # -# source://net-pop//lib/net/pop.rb#737 +# pkg:gem/net-pop#lib/net/pop.rb:737 Net::APOPSession = Net::APOP # class aliases # -# source://net-pop//lib/net/pop.rb#722 +# pkg:gem/net-pop#lib/net/pop.rb:722 Net::POP = Net::POP3 # == What is This Library? @@ -177,7 +177,7 @@ Net::POP = Net::POP3 # The POPMail#unique_id() method returns the unique-id of the message as a # String. Normally the unique-id is a hash of the message. # -# source://net-pop//lib/net/pop.rb#196 +# pkg:gem/net-pop#lib/net/pop.rb:196 class Net::POP3 < ::Net::Protocol # Creates a new POP3 object. # @@ -192,26 +192,26 @@ class Net::POP3 < ::Net::Protocol # # @return [POP3] a new instance of POP3 # - # source://net-pop//lib/net/pop.rb#417 + # pkg:gem/net-pop#lib/net/pop.rb:417 def initialize(addr, port = T.unsafe(nil), isapop = T.unsafe(nil)); end # +true+ if the POP3 session has started. # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#518 + # pkg:gem/net-pop#lib/net/pop.rb:518 def active?; end # The address to connect to. # - # source://net-pop//lib/net/pop.rb#490 + # pkg:gem/net-pop#lib/net/pop.rb:490 def address; end # Does this instance use APOP authentication? # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#436 + # pkg:gem/net-pop#lib/net/pop.rb:436 def apop?; end # Starts a pop3 session, attempts authentication, and quits. @@ -220,7 +220,7 @@ class Net::POP3 < ::Net::Protocol # # @raise [IOError] # - # source://net-pop//lib/net/pop.rb#314 + # pkg:gem/net-pop#lib/net/pop.rb:314 def auth_only(account, password); end # Deletes all messages on the server. @@ -239,12 +239,12 @@ class Net::POP3 < ::Net::Protocol # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#690 + # pkg:gem/net-pop#lib/net/pop.rb:690 def delete_all; end # Disable SSL for all new instances. # - # source://net-pop//lib/net/pop.rb#463 + # pkg:gem/net-pop#lib/net/pop.rb:463 def disable_ssl; end # Yields each message to the passed-in block in turn. @@ -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#672 + # pkg:gem/net-pop#lib/net/pop.rb:672 def each(&block); end # Yields each message to the passed-in block in turn. @@ -268,7 +268,7 @@ class Net::POP3 < ::Net::Protocol # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#668 + # pkg:gem/net-pop#lib/net/pop.rb:668 def each_mail(&block); end # :call-seq: @@ -279,24 +279,24 @@ class Net::POP3 < ::Net::Protocol # +params[:port]+ is port to establish the SSL connection on; Defaults to 995. # +params+ (except :port) is passed to OpenSSL::SSLContext#set_params. # - # source://net-pop//lib/net/pop.rb#452 + # pkg:gem/net-pop#lib/net/pop.rb:452 def enable_ssl(verify_or_params = T.unsafe(nil), certs = T.unsafe(nil), port = T.unsafe(nil)); end # Finishes a POP3 session and closes TCP connection. # # @raise [IOError] # - # source://net-pop//lib/net/pop.rb#589 + # pkg:gem/net-pop#lib/net/pop.rb:589 def finish; end # Provide human-readable stringification of class state. # - # source://net-pop//lib/net/pop.rb#468 + # pkg:gem/net-pop#lib/net/pop.rb:468 def inspect; end # debugging output for +msg+ # - # source://net-pop//lib/net/pop.rb#715 + # pkg:gem/net-pop#lib/net/pop.rb:715 def logging(msg); end # Returns an array of Net::POPMail objects, representing all the @@ -306,58 +306,58 @@ class Net::POP3 < ::Net::Protocol # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#646 + # pkg:gem/net-pop#lib/net/pop.rb:646 def mails; end # Returns the total size in bytes of all the messages on the POP server. # - # source://net-pop//lib/net/pop.rb#634 + # pkg:gem/net-pop#lib/net/pop.rb:634 def n_bytes; end # Returns the number of messages on the POP server. # - # source://net-pop//lib/net/pop.rb#627 + # pkg:gem/net-pop#lib/net/pop.rb:627 def n_mails; end # Seconds to wait until a connection is opened. # If the POP3 object cannot open a connection within this time, # it raises a Net::OpenTimeout exception. The default value is 30 seconds. # - # source://net-pop//lib/net/pop.rb#500 + # pkg:gem/net-pop#lib/net/pop.rb:500 def open_timeout; end # Seconds to wait until a connection is opened. # If the POP3 object cannot open a connection within this time, # it raises a Net::OpenTimeout exception. The default value is 30 seconds. # - # source://net-pop//lib/net/pop.rb#500 + # pkg:gem/net-pop#lib/net/pop.rb:500 def open_timeout=(_arg0); end # The port number to connect to. # - # source://net-pop//lib/net/pop.rb#493 + # pkg:gem/net-pop#lib/net/pop.rb:493 def port; end # Seconds to wait until reading one block (by one read(1) call). # If the POP3 object cannot complete a read() within this time, # it raises a Net::ReadTimeout exception. The default value is 60 seconds. # - # source://net-pop//lib/net/pop.rb#505 + # pkg:gem/net-pop#lib/net/pop.rb:505 def read_timeout; end # Set the read timeout. # - # source://net-pop//lib/net/pop.rb#508 + # pkg:gem/net-pop#lib/net/pop.rb:508 def read_timeout=(sec); end # Resets the session. This clears all "deleted" marks from messages. # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#700 + # pkg:gem/net-pop#lib/net/pop.rb:700 def reset; end - # source://net-pop//lib/net/pop.rb#709 + # pkg:gem/net-pop#lib/net/pop.rb:709 def set_all_uids; end # *WARNING*: This method causes a serious security hole. @@ -373,7 +373,7 @@ class Net::POP3 < ::Net::Protocol # .... # end # - # source://net-pop//lib/net/pop.rb#485 + # pkg:gem/net-pop#lib/net/pop.rb:485 def set_debug_output(arg); end # Starts a POP3 session. @@ -385,21 +385,21 @@ class Net::POP3 < ::Net::Protocol # # @raise [IOError] # - # source://net-pop//lib/net/pop.rb#526 + # pkg:gem/net-pop#lib/net/pop.rb:526 def start(account, password); end # +true+ if the POP3 session has started. # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#514 + # pkg:gem/net-pop#lib/net/pop.rb:514 def started?; end # does this instance use SSL? # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#441 + # pkg:gem/net-pop#lib/net/pop.rb:441 def use_ssl?; end private @@ -410,7 +410,7 @@ class Net::POP3 < ::Net::Protocol # # @raise [IOError] # - # source://net-pop//lib/net/pop.rb#615 + # pkg:gem/net-pop#lib/net/pop.rb:615 def command; end # nil's out the: @@ -419,17 +419,17 @@ class Net::POP3 < ::Net::Protocol # - number counter for bytes # - quits the current command, if any # - # source://net-pop//lib/net/pop.rb#599 + # pkg:gem/net-pop#lib/net/pop.rb:599 def do_finish; end # internal method for Net::POP3.start # - # source://net-pop//lib/net/pop.rb#542 + # pkg:gem/net-pop#lib/net/pop.rb:542 def do_start(account, password); end # Does nothing # - # source://net-pop//lib/net/pop.rb#584 + # pkg:gem/net-pop#lib/net/pop.rb:584 def on_connect; end class << self @@ -444,7 +444,7 @@ class Net::POP3 < ::Net::Protocol # .... # end # - # source://net-pop//lib/net/pop.rb#238 + # pkg:gem/net-pop#lib/net/pop.rb:238 def APOP(isapop); end # Opens a POP3 session, attempts authentication, and quits. @@ -461,32 +461,32 @@ class Net::POP3 < ::Net::Protocol # Net::POP3.auth_only('pop.example.com', 110, # 'YourAccount', 'YourPassword', true) # - # source://net-pop//lib/net/pop.rb#305 + # pkg:gem/net-pop#lib/net/pop.rb:305 def auth_only(address, port = T.unsafe(nil), account = T.unsafe(nil), password = T.unsafe(nil), isapop = T.unsafe(nil)); end # returns the :ca_file or :ca_path from POP3.ssl_params # - # source://net-pop//lib/net/pop.rb#377 + # pkg:gem/net-pop#lib/net/pop.rb:377 def certs; end # Constructs proper parameters from arguments # - # source://net-pop//lib/net/pop.rb#337 + # pkg:gem/net-pop#lib/net/pop.rb:337 def create_ssl_params(verify_or_params = T.unsafe(nil), certs = T.unsafe(nil)); end # The default port for POP3 connections, port 110 # - # source://net-pop//lib/net/pop.rb#210 + # pkg:gem/net-pop#lib/net/pop.rb:210 def default_pop3_port; end # The default port for POP3S connections, port 995 # - # source://net-pop//lib/net/pop.rb#215 + # pkg:gem/net-pop#lib/net/pop.rb:215 def default_pop3s_port; end # returns the port for POP3 # - # source://net-pop//lib/net/pop.rb#205 + # pkg:gem/net-pop#lib/net/pop.rb:205 def default_port; end # Starts a POP3 session and deletes all messages on the server. @@ -502,12 +502,12 @@ class Net::POP3 < ::Net::Protocol # file.write m.pop # end # - # source://net-pop//lib/net/pop.rb#283 + # pkg:gem/net-pop#lib/net/pop.rb:283 def delete_all(address, port = T.unsafe(nil), account = T.unsafe(nil), password = T.unsafe(nil), isapop = T.unsafe(nil), &block); end # Disable SSL for all new instances. # - # source://net-pop//lib/net/pop.rb#355 + # pkg:gem/net-pop#lib/net/pop.rb:355 def disable_ssl; end # :call-seq: @@ -516,7 +516,7 @@ class Net::POP3 < ::Net::Protocol # Enable SSL for all new instances. # +params+ is passed to OpenSSL::SSLContext#set_params. # - # source://net-pop//lib/net/pop.rb#332 + # pkg:gem/net-pop#lib/net/pop.rb:332 def enable_ssl(*args); end # Starts a POP3 session and iterates over each POPMail object, @@ -539,17 +539,17 @@ class Net::POP3 < ::Net::Protocol # m.delete if $DELETE # end # - # source://net-pop//lib/net/pop.rb#262 + # pkg:gem/net-pop#lib/net/pop.rb:262 def foreach(address, port = T.unsafe(nil), account = T.unsafe(nil), password = T.unsafe(nil), isapop = T.unsafe(nil), &block); end - # source://net-pop//lib/net/pop.rb#219 + # pkg:gem/net-pop#lib/net/pop.rb:219 def socket_type; end # returns the SSL Parameters # # see also POP3.enable_ssl # - # source://net-pop//lib/net/pop.rb#362 + # pkg:gem/net-pop#lib/net/pop.rb:362 def ssl_params; end # Creates a new POP3 object and open the connection. Equivalent to @@ -568,128 +568,128 @@ class Net::POP3 < ::Net::Protocol # end # end # - # source://net-pop//lib/net/pop.rb#401 + # pkg:gem/net-pop#lib/net/pop.rb:401 def start(address, port = T.unsafe(nil), account = T.unsafe(nil), password = T.unsafe(nil), isapop = T.unsafe(nil), &block); end # returns +true+ if POP3.ssl_params is set # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#367 + # pkg:gem/net-pop#lib/net/pop.rb:367 def use_ssl?; end # returns whether verify_mode is enable from POP3.ssl_params # - # source://net-pop//lib/net/pop.rb#372 + # pkg:gem/net-pop#lib/net/pop.rb:372 def verify; end end end # version of this library # -# source://net-pop//lib/net/pop.rb#198 +# pkg:gem/net-pop#lib/net/pop.rb:198 Net::POP3::VERSION = T.let(T.unsafe(nil), String) -# source://net-pop//lib/net/pop.rb#892 +# pkg:gem/net-pop#lib/net/pop.rb:892 class Net::POP3Command # @return [POP3Command] a new instance of POP3Command # - # source://net-pop//lib/net/pop.rb#894 + # pkg:gem/net-pop#lib/net/pop.rb:894 def initialize(sock); end # @raise [POPAuthenticationError] # - # source://net-pop//lib/net/pop.rb#914 + # pkg:gem/net-pop#lib/net/pop.rb:914 def apop(account, password); end - # source://net-pop//lib/net/pop.rb#907 + # pkg:gem/net-pop#lib/net/pop.rb:907 def auth(account, password); end - # source://net-pop//lib/net/pop.rb#962 + # pkg:gem/net-pop#lib/net/pop.rb:962 def dele(num); end - # source://net-pop//lib/net/pop.rb#903 + # pkg:gem/net-pop#lib/net/pop.rb:903 def inspect; end - # source://net-pop//lib/net/pop.rb#924 + # pkg:gem/net-pop#lib/net/pop.rb:924 def list; end - # source://net-pop//lib/net/pop.rb#983 + # pkg:gem/net-pop#lib/net/pop.rb:983 def quit; end - # source://net-pop//lib/net/pop.rb#955 + # pkg:gem/net-pop#lib/net/pop.rb:955 def retr(num, &block); end - # source://net-pop//lib/net/pop.rb#944 + # pkg:gem/net-pop#lib/net/pop.rb:944 def rset; end # Returns the value of attribute socket. # - # source://net-pop//lib/net/pop.rb#901 + # pkg:gem/net-pop#lib/net/pop.rb:901 def socket; end - # source://net-pop//lib/net/pop.rb#937 + # pkg:gem/net-pop#lib/net/pop.rb:937 def stat; end - # source://net-pop//lib/net/pop.rb#948 + # pkg:gem/net-pop#lib/net/pop.rb:948 def top(num, lines = T.unsafe(nil), &block); end - # source://net-pop//lib/net/pop.rb#966 + # pkg:gem/net-pop#lib/net/pop.rb:966 def uidl(num = T.unsafe(nil)); end private # @raise [POPError] # - # source://net-pop//lib/net/pop.rb#1003 + # pkg:gem/net-pop#lib/net/pop.rb:1003 def check_response(res); end # @raise [POPAuthenticationError] # - # source://net-pop//lib/net/pop.rb#1008 + # pkg:gem/net-pop#lib/net/pop.rb:1008 def check_response_auth(res); end - # source://net-pop//lib/net/pop.rb#1013 + # pkg:gem/net-pop#lib/net/pop.rb:1013 def critical; end - # source://net-pop//lib/net/pop.rb#994 + # pkg:gem/net-pop#lib/net/pop.rb:994 def get_response(fmt, *fargs); end - # source://net-pop//lib/net/pop.rb#989 + # pkg:gem/net-pop#lib/net/pop.rb:989 def getok(fmt, *fargs); end - # source://net-pop//lib/net/pop.rb#999 + # pkg:gem/net-pop#lib/net/pop.rb:999 def recv_response; end end -# source://net-pop//lib/net/pop.rb#724 +# pkg:gem/net-pop#lib/net/pop.rb:724 Net::POP3Session = Net::POP3 # POP3 authentication error. # -# source://net-pop//lib/net/pop.rb#40 +# pkg:gem/net-pop#lib/net/pop.rb:40 class Net::POPAuthenticationError < ::Net::ProtoAuthError; end # Unexpected response from the server. # -# source://net-pop//lib/net/pop.rb#43 +# pkg:gem/net-pop#lib/net/pop.rb:43 class Net::POPBadResponse < ::Net::POPError; end # Non-authentication POP3 protocol error # (reply code "-ERR", except authentication). # -# source://net-pop//lib/net/pop.rb#37 +# pkg:gem/net-pop#lib/net/pop.rb:37 class Net::POPError < ::Net::ProtocolError; end # This class represents a message which exists on the POP server. # Instances of this class are created by the POP3 class; they should # not be directly created by the user. # -# source://net-pop//lib/net/pop.rb#744 +# pkg:gem/net-pop#lib/net/pop.rb:744 class Net::POPMail # @return [POPMail] a new instance of POPMail # - # source://net-pop//lib/net/pop.rb#746 + # pkg:gem/net-pop#lib/net/pop.rb:746 def initialize(num, len, pop, cmd); end # This method fetches the message. If called with a block, the @@ -729,7 +729,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#817 + # pkg:gem/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 @@ -752,7 +752,7 @@ class Net::POPMail # end # end # - # source://net-pop//lib/net/pop.rb#861 + # pkg:gem/net-pop#lib/net/pop.rb:861 def delete; end # Marks a message for deletion on the server. Deletion does not @@ -775,14 +775,14 @@ class Net::POPMail # end # end # - # source://net-pop//lib/net/pop.rb#866 + # pkg:gem/net-pop#lib/net/pop.rb:866 def delete!; end # True if the mail has been deleted. # # @return [Boolean] # - # source://net-pop//lib/net/pop.rb#869 + # pkg:gem/net-pop#lib/net/pop.rb:869 def deleted?; end # Fetches the message header. @@ -791,17 +791,17 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#837 + # pkg:gem/net-pop#lib/net/pop.rb:837 def header(dest = T.unsafe(nil)); end # Provide human-readable stringification of class state. # - # source://net-pop//lib/net/pop.rb#763 + # pkg:gem/net-pop#lib/net/pop.rb:763 def inspect; end # The length of the message in octets. # - # source://net-pop//lib/net/pop.rb#759 + # pkg:gem/net-pop#lib/net/pop.rb:759 def length; end # This method fetches the message. If called with a block, the @@ -841,12 +841,12 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#818 + # pkg:gem/net-pop#lib/net/pop.rb:818 def mail(dest = T.unsafe(nil), &block); end # The sequence number of the message on the server. # - # source://net-pop//lib/net/pop.rb#756 + # pkg:gem/net-pop#lib/net/pop.rb:756 def number; end # This method fetches the message. If called with a block, the @@ -886,12 +886,12 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#805 + # pkg:gem/net-pop#lib/net/pop.rb:805 def pop(dest = T.unsafe(nil), &block); end # The length of the message in octets. # - # source://net-pop//lib/net/pop.rb#760 + # pkg:gem/net-pop#lib/net/pop.rb:760 def size; end # Fetches the message header and +lines+ lines of body. @@ -900,10 +900,10 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#825 + # pkg:gem/net-pop#lib/net/pop.rb:825 def top(lines, dest = T.unsafe(nil)); end - # source://net-pop//lib/net/pop.rb#885 + # pkg:gem/net-pop#lib/net/pop.rb:885 def uid=(uid); end # Returns the unique-id of the message. @@ -911,7 +911,7 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#883 + # pkg:gem/net-pop#lib/net/pop.rb:883 def uidl; end # Returns the unique-id of the message. @@ -919,9 +919,9 @@ class Net::POPMail # # This method raises a POPError if an error occurs. # - # source://net-pop//lib/net/pop.rb#877 + # pkg:gem/net-pop#lib/net/pop.rb:877 def unique_id; end end -# source://net-pop//lib/net/pop.rb#723 +# pkg:gem/net-pop#lib/net/pop.rb:723 Net::POPSession = Net::POP3 diff --git a/sorbet/rbi/gems/net-protocol@0.2.2.rbi b/sorbet/rbi/gems/net-protocol@0.2.2.rbi index 58318b5bb..d3286a014 100644 --- a/sorbet/rbi/gems/net-protocol@0.2.2.rbi +++ b/sorbet/rbi/gems/net-protocol@0.2.2.rbi @@ -5,212 +5,212 @@ # Please instead update this file by running `bin/tapioca gem net-protocol`. -# source://net-protocol//lib/net/protocol.rb#115 +# pkg:gem/net-protocol#lib/net/protocol.rb:115 class Net::BufferedIO # @return [BufferedIO] a new instance of BufferedIO # - # source://net-protocol//lib/net/protocol.rb#116 + # pkg:gem/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//lib/net/protocol.rb#291 + # pkg:gem/net-protocol#lib/net/protocol.rb:291 def <<(*strs); end - # source://net-protocol//lib/net/protocol.rb#145 + # pkg:gem/net-protocol#lib/net/protocol.rb:145 def close; end # @return [Boolean] # - # source://net-protocol//lib/net/protocol.rb#141 + # pkg:gem/net-protocol#lib/net/protocol.rb:141 def closed?; end # Returns the value of attribute continue_timeout. # - # source://net-protocol//lib/net/protocol.rb#130 + # pkg:gem/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//lib/net/protocol.rb#130 + # pkg:gem/net-protocol#lib/net/protocol.rb:130 def continue_timeout=(_arg0); end # Returns the value of attribute debug_output. # - # source://net-protocol//lib/net/protocol.rb#131 + # pkg:gem/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//lib/net/protocol.rb#131 + # pkg:gem/net-protocol#lib/net/protocol.rb:131 def debug_output=(_arg0); end # @return [Boolean] # - # source://net-protocol//lib/net/protocol.rb#137 + # pkg:gem/net-protocol#lib/net/protocol.rb:137 def eof?; end - # source://net-protocol//lib/net/protocol.rb#133 + # pkg:gem/net-protocol#lib/net/protocol.rb:133 def inspect; end # Returns the value of attribute io. # - # source://net-protocol//lib/net/protocol.rb#127 + # pkg:gem/net-protocol#lib/net/protocol.rb:127 def io; end - # source://net-protocol//lib/net/protocol.rb#155 + # pkg:gem/net-protocol#lib/net/protocol.rb:155 def read(len, dest = T.unsafe(nil), ignore_eof = T.unsafe(nil)); end - # source://net-protocol//lib/net/protocol.rb#176 + # pkg:gem/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//lib/net/protocol.rb#128 + # pkg:gem/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//lib/net/protocol.rb#128 + # pkg:gem/net-protocol#lib/net/protocol.rb:128 def read_timeout=(_arg0); end - # source://net-protocol//lib/net/protocol.rb#208 + # pkg:gem/net-protocol#lib/net/protocol.rb:208 def readline; end - # source://net-protocol//lib/net/protocol.rb#194 + # pkg:gem/net-protocol#lib/net/protocol.rb:194 def readuntil(terminator, ignore_eof = T.unsafe(nil)); end - # source://net-protocol//lib/net/protocol.rb#285 + # pkg:gem/net-protocol#lib/net/protocol.rb:285 def write(*strs); end # Returns the value of attribute write_timeout. # - # source://net-protocol//lib/net/protocol.rb#129 + # pkg:gem/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//lib/net/protocol.rb#129 + # pkg:gem/net-protocol#lib/net/protocol.rb:129 def write_timeout=(_arg0); end - # source://net-protocol//lib/net/protocol.rb#293 + # pkg:gem/net-protocol#lib/net/protocol.rb:293 def writeline(str); end private - # source://net-protocol//lib/net/protocol.rb#356 + # pkg:gem/net-protocol#lib/net/protocol.rb:356 def LOG(msg); end - # source://net-protocol//lib/net/protocol.rb#347 + # pkg:gem/net-protocol#lib/net/protocol.rb:347 def LOG_off; end - # source://net-protocol//lib/net/protocol.rb#352 + # pkg:gem/net-protocol#lib/net/protocol.rb:352 def LOG_on; end - # source://net-protocol//lib/net/protocol.rb#257 + # pkg:gem/net-protocol#lib/net/protocol.rb:257 def rbuf_consume(len = T.unsafe(nil)); end - # source://net-protocol//lib/net/protocol.rb#253 + # pkg:gem/net-protocol#lib/net/protocol.rb:253 def rbuf_consume_all; end - # source://net-protocol//lib/net/protocol.rb#216 + # pkg:gem/net-protocol#lib/net/protocol.rb:216 def rbuf_fill; end - # source://net-protocol//lib/net/protocol.rb#241 + # pkg:gem/net-protocol#lib/net/protocol.rb:241 def rbuf_flush; end - # source://net-protocol//lib/net/protocol.rb#249 + # pkg:gem/net-protocol#lib/net/protocol.rb:249 def rbuf_size; end - # source://net-protocol//lib/net/protocol.rb#311 + # pkg:gem/net-protocol#lib/net/protocol.rb:311 def write0(*strs); end - # source://net-protocol//lib/net/protocol.rb#301 + # pkg:gem/net-protocol#lib/net/protocol.rb:301 def writing; end end -# source://net-protocol//lib/net/protocol.rb#363 +# pkg:gem/net-protocol#lib/net/protocol.rb:363 class Net::InternetMessageIO < ::Net::BufferedIO # @return [InternetMessageIO] a new instance of InternetMessageIO # - # source://net-protocol//lib/net/protocol.rb#364 + # pkg:gem/net-protocol#lib/net/protocol.rb:364 def initialize(*_arg0, **_arg1); end # *library private* (cannot handle 'break') # - # source://net-protocol//lib/net/protocol.rb#386 + # pkg:gem/net-protocol#lib/net/protocol.rb:386 def each_list_item; end # Read # - # source://net-protocol//lib/net/protocol.rb#373 + # pkg:gem/net-protocol#lib/net/protocol.rb:373 def each_message_chunk; end # Write # - # source://net-protocol//lib/net/protocol.rb#404 + # pkg:gem/net-protocol#lib/net/protocol.rb:404 def write_message(src); end - # source://net-protocol//lib/net/protocol.rb#392 + # pkg:gem/net-protocol#lib/net/protocol.rb:392 def write_message_0(src); end - # source://net-protocol//lib/net/protocol.rb#417 + # pkg:gem/net-protocol#lib/net/protocol.rb:417 def write_message_by_block(&block); end private - # source://net-protocol//lib/net/protocol.rb#460 + # pkg:gem/net-protocol#lib/net/protocol.rb:460 def buffer_filling(buf, src); end - # source://net-protocol//lib/net/protocol.rb#436 + # pkg:gem/net-protocol#lib/net/protocol.rb:436 def dot_stuff(s); end - # source://net-protocol//lib/net/protocol.rb#452 + # pkg:gem/net-protocol#lib/net/protocol.rb:452 def each_crlf_line(src); end - # source://net-protocol//lib/net/protocol.rb#440 + # pkg:gem/net-protocol#lib/net/protocol.rb:440 def using_each_crlf_line; end end -# source://net-protocol//lib/net/protocol.rb#541 +# pkg:gem/net-protocol#lib/net/protocol.rb:541 Net::NetPrivate::Socket = Net::InternetMessageIO -# source://net-protocol//lib/net/protocol.rb#68 +# pkg:gem/net-protocol#lib/net/protocol.rb:68 Net::ProtocRetryError = Net::ProtoRetriableError -# source://net-protocol//lib/net/protocol.rb#28 +# pkg:gem/net-protocol#lib/net/protocol.rb:28 class Net::Protocol private - # source://net-protocol//lib/net/protocol.rb#40 + # pkg:gem/net-protocol#lib/net/protocol.rb:40 def ssl_socket_connect(s, timeout); end class << self - # source://net-protocol//lib/net/protocol.rb#32 + # pkg:gem/net-protocol#lib/net/protocol.rb:32 def protocol_param(name, val); end end end -# source://net-protocol//lib/net/protocol.rb#29 +# pkg:gem/net-protocol#lib/net/protocol.rb:29 Net::Protocol::VERSION = T.let(T.unsafe(nil), String) -# source://net-protocol//lib/net/protocol.rb#516 +# pkg:gem/net-protocol#lib/net/protocol.rb:516 class Net::ReadAdapter # @return [ReadAdapter] a new instance of ReadAdapter # - # source://net-protocol//lib/net/protocol.rb#517 + # pkg:gem/net-protocol#lib/net/protocol.rb:517 def initialize(block); end - # source://net-protocol//lib/net/protocol.rb#525 + # pkg:gem/net-protocol#lib/net/protocol.rb:525 def <<(str); end - # source://net-protocol//lib/net/protocol.rb#521 + # pkg:gem/net-protocol#lib/net/protocol.rb:521 def inspect; end private @@ -221,72 +221,72 @@ class Net::ReadAdapter # # @yield [str] # - # source://net-protocol//lib/net/protocol.rb#534 + # pkg:gem/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 +# pkg:gem/net-protocol#lib/net/protocol.rb:80 class Net::ReadTimeout < ::Timeout::Error # @return [ReadTimeout] a new instance of ReadTimeout # - # source://net-protocol//lib/net/protocol.rb#81 + # pkg:gem/net-protocol#lib/net/protocol.rb:81 def initialize(io = T.unsafe(nil)); end # Returns the value of attribute io. # - # source://net-protocol//lib/net/protocol.rb#84 + # pkg:gem/net-protocol#lib/net/protocol.rb:84 def io; end - # source://net-protocol//lib/net/protocol.rb#86 + # pkg:gem/net-protocol#lib/net/protocol.rb:86 def message; end end # The writer adapter class # -# source://net-protocol//lib/net/protocol.rb#486 +# pkg:gem/net-protocol#lib/net/protocol.rb:486 class Net::WriteAdapter # @return [WriteAdapter] a new instance of WriteAdapter # - # source://net-protocol//lib/net/protocol.rb#487 + # pkg:gem/net-protocol#lib/net/protocol.rb:487 def initialize(writer); end - # source://net-protocol//lib/net/protocol.rb#501 + # pkg:gem/net-protocol#lib/net/protocol.rb:501 def <<(str); end - # source://net-protocol//lib/net/protocol.rb#491 + # pkg:gem/net-protocol#lib/net/protocol.rb:491 def inspect; end - # source://net-protocol//lib/net/protocol.rb#499 + # pkg:gem/net-protocol#lib/net/protocol.rb:499 def print(str); end - # source://net-protocol//lib/net/protocol.rb#510 + # pkg:gem/net-protocol#lib/net/protocol.rb:510 def printf(*args); end - # source://net-protocol//lib/net/protocol.rb#506 + # pkg:gem/net-protocol#lib/net/protocol.rb:506 def puts(str = T.unsafe(nil)); end - # source://net-protocol//lib/net/protocol.rb#495 + # pkg:gem/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 +# pkg:gem/net-protocol#lib/net/protocol.rb:99 class Net::WriteTimeout < ::Timeout::Error # @return [WriteTimeout] a new instance of WriteTimeout # - # source://net-protocol//lib/net/protocol.rb#100 + # pkg:gem/net-protocol#lib/net/protocol.rb:100 def initialize(io = T.unsafe(nil)); end # Returns the value of attribute io. # - # source://net-protocol//lib/net/protocol.rb#103 + # pkg:gem/net-protocol#lib/net/protocol.rb:103 def io; end - # source://net-protocol//lib/net/protocol.rb#105 + # pkg:gem/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 29bc748ba..a98ab9b34 100644 --- a/sorbet/rbi/gems/net-smtp@0.5.0.rbi +++ b/sorbet/rbi/gems/net-smtp@0.5.0.rbi @@ -120,7 +120,7 @@ # The +LOGIN+ and +CRAM-MD5+ mechanisms are still available for backwards # compatibility, but are deprecated and should be avoided. # -# source://net-smtp//lib/net/smtp.rb#194 +# pkg:gem/net-smtp#lib/net/smtp.rb:194 class Net::SMTP < ::Net::Protocol # Creates a new Net::SMTP object. # @@ -149,12 +149,12 @@ class Net::SMTP < ::Net::Protocol # # @return [SMTP] a new instance of SMTP # - # source://net-smtp//lib/net/smtp.rb#248 + # pkg:gem/net-smtp#lib/net/smtp.rb:248 def initialize(address, port = T.unsafe(nil), tls: T.unsafe(nil), starttls: T.unsafe(nil), tls_verify: T.unsafe(nil), tls_hostname: T.unsafe(nil), ssl_context_params: T.unsafe(nil)); end # The address of the SMTP server to connect to. # - # source://net-smtp//lib/net/smtp.rb#414 + # pkg:gem/net-smtp#lib/net/smtp.rb:414 def address; end # Returns whether the server advertises support for the authentication type. @@ -162,7 +162,7 @@ class Net::SMTP < ::Net::Protocol # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#329 + # pkg:gem/net-smtp#lib/net/smtp.rb:329 def auth_capable?(type); end # Authenticates with the server, using the "AUTH" command. @@ -173,25 +173,25 @@ class Net::SMTP < ::Net::Protocol # Different authenticators may interpret the +user+ and +secret+ # arguments differently. # - # source://net-smtp//lib/net/smtp.rb#872 + # pkg:gem/net-smtp#lib/net/smtp.rb:872 def authenticate(user, secret, authtype = T.unsafe(nil)); end # The server capabilities by EHLO response # - # source://net-smtp//lib/net/smtp.rb#307 + # pkg:gem/net-smtp#lib/net/smtp.rb:307 def capabilities; end # true if the EHLO response contains +key+. # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#301 + # pkg:gem/net-smtp#lib/net/smtp.rb:301 def capable?(key); end # Returns supported authentication methods on this server. # You cannot get valid value before opening SMTP session. # - # source://net-smtp//lib/net/smtp.rb#337 + # pkg:gem/net-smtp#lib/net/smtp.rb:337 def capable_auth_types; end # true if server advertises AUTH CRAM-MD5. @@ -199,7 +199,7 @@ class Net::SMTP < ::Net::Protocol # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#323 + # pkg:gem/net-smtp#lib/net/smtp.rb:323 def capable_cram_md5_auth?; end # true if server advertises AUTH LOGIN. @@ -207,7 +207,7 @@ class Net::SMTP < ::Net::Protocol # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#317 + # pkg:gem/net-smtp#lib/net/smtp.rb:317 def capable_login_auth?; end # true if server advertises AUTH PLAIN. @@ -215,7 +215,7 @@ class Net::SMTP < ::Net::Protocol # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#311 + # pkg:gem/net-smtp#lib/net/smtp.rb:311 def capable_plain_auth?; end # true if server advertises STARTTLS. @@ -223,7 +223,7 @@ class Net::SMTP < ::Net::Protocol # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#296 + # pkg:gem/net-smtp#lib/net/smtp.rb:296 def capable_starttls?; end # This method sends a message. @@ -249,7 +249,7 @@ class Net::SMTP < ::Net::Protocol # f.puts "Check vm.c:58879." # } # - # source://net-smtp//lib/net/smtp.rb#958 + # pkg:gem/net-smtp#lib/net/smtp.rb:958 def data(msgstr = T.unsafe(nil), &block); end # WARNING: This method causes serious security holes. @@ -265,28 +265,28 @@ class Net::SMTP < ::Net::Protocol # .... # end # - # source://net-smtp//lib/net/smtp.rb#450 + # pkg:gem/net-smtp#lib/net/smtp.rb:450 def debug_output=(arg); end # 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#369 + # pkg:gem/net-smtp#lib/net/smtp.rb:369 def disable_ssl; end # Disables SMTP/TLS (STARTTLS) for this object. Must be called # before the connection is established to have any effect. # - # source://net-smtp//lib/net/smtp.rb#408 + # pkg:gem/net-smtp#lib/net/smtp.rb:408 def disable_starttls; end # 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 + # pkg:gem/net-smtp#lib/net/smtp.rb:364 def disable_tls; end - # source://net-smtp//lib/net/smtp.rb#907 + # pkg:gem/net-smtp#lib/net/smtp.rb:907 def ehlo(domain); end # Enables SMTP/TLS (SMTPS: \SMTP over direct TLS connection) for @@ -295,7 +295,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#360 + # pkg:gem/net-smtp#lib/net/smtp.rb:360 def enable_ssl(context = T.unsafe(nil)); end # Enables SMTP/TLS (STARTTLS) for this object. @@ -303,7 +303,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#390 + # pkg:gem/net-smtp#lib/net/smtp.rb:390 def enable_starttls(context = T.unsafe(nil)); end # Enables SMTP/TLS (STARTTLS) for this object if server accepts. @@ -311,7 +311,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#399 + # pkg:gem/net-smtp#lib/net/smtp.rb:399 def enable_starttls_auto(context = T.unsafe(nil)); end # Enables SMTP/TLS (SMTPS: \SMTP over direct TLS connection) for @@ -320,7 +320,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#353 + # pkg:gem/net-smtp#lib/net/smtp.rb:353 def enable_tls(context = T.unsafe(nil)); end # Set whether to use ESMTP or not. This should be done before @@ -329,7 +329,7 @@ class Net::SMTP < ::Net::Protocol # object will automatically switch to plain SMTP mode and # retry (but not vice versa). # - # source://net-smtp//lib/net/smtp.rb#289 + # pkg:gem/net-smtp#lib/net/smtp.rb:289 def esmtp; end # Set whether to use ESMTP or not. This should be done before @@ -338,7 +338,7 @@ class Net::SMTP < ::Net::Protocol # object will automatically switch to plain SMTP mode and # retry (but not vice versa). # - # source://net-smtp//lib/net/smtp.rb#289 + # pkg:gem/net-smtp#lib/net/smtp.rb:289 def esmtp=(_arg0); end # Set whether to use ESMTP or not. This should be done before @@ -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#292 + # pkg:gem/net-smtp#lib/net/smtp.rb:292 def esmtp?; end # Finishes the SMTP session and closes TCP connection. @@ -356,23 +356,23 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#655 + # pkg:gem/net-smtp#lib/net/smtp.rb:655 def finish; end - # source://net-smtp//lib/net/smtp.rb#989 + # pkg:gem/net-smtp#lib/net/smtp.rb:989 def get_response(reqline); end - # source://net-smtp//lib/net/smtp.rb#903 + # pkg:gem/net-smtp#lib/net/smtp.rb:903 def helo(domain); end # Provide human-readable stringification of class state. # - # source://net-smtp//lib/net/smtp.rb#278 + # pkg:gem/net-smtp#lib/net/smtp.rb:278 def inspect; end # +from_addr+ is +String+ or +Net::SMTP::Address+ # - # source://net-smtp//lib/net/smtp.rb#912 + # pkg:gem/net-smtp#lib/net/smtp.rb:912 def mailfrom(from_addr); end # Opens a message writer stream and gives it to the block. @@ -420,52 +420,52 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#849 + # pkg:gem/net-smtp#lib/net/smtp.rb:849 def open_message_stream(from_addr, *to_addrs, &block); end # Seconds to wait while attempting to open a connection. # If the connection cannot be opened within this time, a # Net::OpenTimeout is raised. The default value is 30 seconds. # - # source://net-smtp//lib/net/smtp.rb#422 + # pkg:gem/net-smtp#lib/net/smtp.rb:422 def open_timeout; end # Seconds to wait while attempting to open a connection. # If the connection cannot be opened within this time, a # Net::OpenTimeout is raised. The default value is 30 seconds. # - # source://net-smtp//lib/net/smtp.rb#422 + # pkg:gem/net-smtp#lib/net/smtp.rb:422 def open_timeout=(_arg0); end # The port number of the SMTP server to connect to. # - # source://net-smtp//lib/net/smtp.rb#417 + # pkg:gem/net-smtp#lib/net/smtp.rb:417 def port; end - # source://net-smtp//lib/net/smtp.rb#985 + # pkg:gem/net-smtp#lib/net/smtp.rb:985 def quit; end # +to_addr+ is +String+ or +Net::SMTP::Address+ # - # source://net-smtp//lib/net/smtp.rb#930 + # pkg:gem/net-smtp#lib/net/smtp.rb:930 def rcptto(to_addr); end # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#921 + # pkg:gem/net-smtp#lib/net/smtp.rb:921 def rcptto_list(to_addrs); end # Seconds to wait while reading one block (by one read(2) call). # If the read(2) call does not complete within this time, a # Net::ReadTimeout is raised. The default value is 60 seconds. # - # source://net-smtp//lib/net/smtp.rb#427 + # pkg:gem/net-smtp#lib/net/smtp.rb:427 def read_timeout; end # Set the number of seconds to wait until timing-out a read(2) # call. # - # source://net-smtp//lib/net/smtp.rb#431 + # pkg:gem/net-smtp#lib/net/smtp.rb:431 def read_timeout=(sec); end # Opens a message writer stream and gives it to the block. @@ -514,12 +514,12 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#857 + # pkg:gem/net-smtp#lib/net/smtp.rb:857 def ready(from_addr, *to_addrs, &block); end # Aborts the current mail transaction # - # source://net-smtp//lib/net/smtp.rb#895 + # pkg:gem/net-smtp#lib/net/smtp.rb:895 def rset; end # Sends +msgstr+ as a message. Single CR ("\r") and LF ("\n") found @@ -559,7 +559,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#802 + # pkg:gem/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 @@ -599,7 +599,7 @@ class Net::SMTP < ::Net::Protocol # # @raise [IOError] # - # source://net-smtp//lib/net/smtp.rb#794 + # pkg:gem/net-smtp#lib/net/smtp.rb:794 def send_message(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#803 + # pkg:gem/net-smtp#lib/net/smtp.rb:803 def sendmail(msgstr, from_addr, *to_addrs); end # WARNING: This method causes serious security holes. @@ -656,24 +656,24 @@ class Net::SMTP < ::Net::Protocol # .... # end # - # source://net-smtp//lib/net/smtp.rb#454 + # pkg:gem/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#348 + # pkg:gem/net-smtp#lib/net/smtp.rb:348 def ssl?; end # Hash for additional SSLContext parameters. # - # source://net-smtp//lib/net/smtp.rb#275 + # pkg:gem/net-smtp#lib/net/smtp.rb:275 def ssl_context_params; end # Hash for additional SSLContext parameters. # - # source://net-smtp//lib/net/smtp.rb#275 + # pkg:gem/net-smtp#lib/net/smtp.rb:275 def ssl_context_params=(_arg0); end # :call-seq: @@ -742,17 +742,17 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#622 + # pkg:gem/net-smtp#lib/net/smtp.rb:622 def start(*args, helo: T.unsafe(nil), user: T.unsafe(nil), secret: T.unsafe(nil), password: T.unsafe(nil), authtype: T.unsafe(nil)); end # +true+ if the \SMTP session has been started. # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#553 + # pkg:gem/net-smtp#lib/net/smtp.rb:553 def started?; end - # source://net-smtp//lib/net/smtp.rb#899 + # pkg:gem/net-smtp#lib/net/smtp.rb:899 def starttls; end # Returns truth value if this object uses STARTTLS. @@ -761,125 +761,125 @@ class Net::SMTP < ::Net::Protocol # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#374 + # pkg:gem/net-smtp#lib/net/smtp.rb:374 def starttls?; end # true if this object uses STARTTLS. # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#379 + # pkg:gem/net-smtp#lib/net/smtp.rb:379 def starttls_always?; end # true if this object uses STARTTLS when server advertises STARTTLS. # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#384 + # pkg:gem/net-smtp#lib/net/smtp.rb:384 def starttls_auto?; end # true if this object uses SMTP/TLS (SMTPS). # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#344 + # pkg:gem/net-smtp#lib/net/smtp.rb:344 def tls?; end # The hostname for verifying hostname in the server certificatate. # - # source://net-smtp//lib/net/smtp.rb#272 + # pkg:gem/net-smtp#lib/net/smtp.rb:272 def tls_hostname; end # The hostname for verifying hostname in the server certificatate. # - # source://net-smtp//lib/net/smtp.rb#272 + # pkg:gem/net-smtp#lib/net/smtp.rb:272 def tls_hostname=(_arg0); end # If +true+, verify th server's certificate. # - # source://net-smtp//lib/net/smtp.rb#269 + # pkg:gem/net-smtp#lib/net/smtp.rb:269 def tls_verify; end # If +true+, verify th server's certificate. # - # source://net-smtp//lib/net/smtp.rb#269 + # pkg:gem/net-smtp#lib/net/smtp.rb:269 def tls_verify=(_arg0); end private - # source://net-smtp//lib/net/smtp.rb#748 + # pkg:gem/net-smtp#lib/net/smtp.rb:748 def any_require_smtputf8(addresses); end - # source://net-smtp//lib/net/smtp.rb#880 + # pkg:gem/net-smtp#lib/net/smtp.rb:880 def check_auth_args(type, *args, **kwargs); end - # source://net-smtp//lib/net/smtp.rb#1040 + # pkg:gem/net-smtp#lib/net/smtp.rb:1040 def check_continue(res); end - # source://net-smtp//lib/net/smtp.rb#1034 + # pkg:gem/net-smtp#lib/net/smtp.rb:1034 def check_response(res); end - # source://net-smtp//lib/net/smtp.rb#1024 + # pkg:gem/net-smtp#lib/net/smtp.rb:1024 def critical; end - # source://net-smtp//lib/net/smtp.rb#731 + # pkg:gem/net-smtp#lib/net/smtp.rb:731 def do_finish; end - # source://net-smtp//lib/net/smtp.rb#719 + # pkg:gem/net-smtp#lib/net/smtp.rb:719 def do_helo(helo_domain); end - # source://net-smtp//lib/net/smtp.rb#666 + # pkg:gem/net-smtp#lib/net/smtp.rb:666 def do_start(helo_domain, user, secret, authtype); end - # source://net-smtp//lib/net/smtp.rb#1004 + # pkg:gem/net-smtp#lib/net/smtp.rb:1004 def getok(reqline); end - # source://net-smtp//lib/net/smtp.rb#1125 + # pkg:gem/net-smtp#lib/net/smtp.rb:1125 def logging(msg); end - # source://net-smtp//lib/net/smtp.rb#714 + # pkg:gem/net-smtp#lib/net/smtp.rb:714 def new_internet_message_io(s); end - # source://net-smtp//lib/net/smtp.rb#1014 + # pkg:gem/net-smtp#lib/net/smtp.rb:1014 def recv_response; end - # source://net-smtp//lib/net/smtp.rb#740 + # pkg:gem/net-smtp#lib/net/smtp.rb:740 def requires_smtputf8(address); end - # source://net-smtp//lib/net/smtp.rb#697 + # pkg:gem/net-smtp#lib/net/smtp.rb:697 def ssl_socket(socket, context); end - # source://net-smtp//lib/net/smtp.rb#662 + # pkg:gem/net-smtp#lib/net/smtp.rb:662 def tcp_socket(address, port); end - # source://net-smtp//lib/net/smtp.rb#701 + # pkg:gem/net-smtp#lib/net/smtp.rb:701 def tlsconnect(s, context); end - # source://net-smtp//lib/net/smtp.rb#997 + # pkg:gem/net-smtp#lib/net/smtp.rb:997 def validate_line(line); end class << self # The default SMTP port number, 25. # - # source://net-smtp//lib/net/smtp.rb#198 + # pkg:gem/net-smtp#lib/net/smtp.rb:198 def default_port; end - # source://net-smtp//lib/net/smtp.rb#216 + # pkg:gem/net-smtp#lib/net/smtp.rb:216 def default_ssl_context(ssl_context_params = T.unsafe(nil)); end # The default SMTPS port number, 465. # - # source://net-smtp//lib/net/smtp.rb#213 + # pkg:gem/net-smtp#lib/net/smtp.rb:213 def default_ssl_port; end # The default mail submission port number, 587. # - # source://net-smtp//lib/net/smtp.rb#203 + # pkg:gem/net-smtp#lib/net/smtp.rb:203 def default_submission_port; end # The default SMTPS port number, 465. # - # source://net-smtp//lib/net/smtp.rb#208 + # pkg:gem/net-smtp#lib/net/smtp.rb:208 def default_tls_port; end # :call-seq: @@ -962,14 +962,14 @@ class Net::SMTP < ::Net::Protocol # # @raise [ArgumentError] # - # source://net-smtp//lib/net/smtp.rb#539 + # pkg:gem/net-smtp#lib/net/smtp.rb:539 def start(address, port = T.unsafe(nil), *args, helo: T.unsafe(nil), user: T.unsafe(nil), secret: T.unsafe(nil), password: T.unsafe(nil), authtype: T.unsafe(nil), tls: T.unsafe(nil), starttls: T.unsafe(nil), tls_verify: T.unsafe(nil), tls_hostname: T.unsafe(nil), ssl_context_params: T.unsafe(nil), &block); end end end # Address with parametres for MAIL or RCPT command # -# source://net-smtp//lib/net/smtp.rb#1130 +# pkg:gem/net-smtp#lib/net/smtp.rb:1130 class Net::SMTP::Address # :call-seq: # initialize(address, parameter, ...) @@ -979,115 +979,115 @@ class Net::SMTP::Address # # @return [Address] a new instance of Address # - # source://net-smtp//lib/net/smtp.rb#1141 + # pkg:gem/net-smtp#lib/net/smtp.rb:1141 def initialize(address, *args, **kw_args); end # mail address [String] # - # source://net-smtp//lib/net/smtp.rb#1132 + # pkg:gem/net-smtp#lib/net/smtp.rb:1132 def address; end # parameters [Array] # - # source://net-smtp//lib/net/smtp.rb#1134 + # pkg:gem/net-smtp#lib/net/smtp.rb:1134 def parameters; end - # source://net-smtp//lib/net/smtp.rb#1152 + # pkg:gem/net-smtp#lib/net/smtp.rb:1152 def to_s; end end -# source://net-smtp//lib/net/smtp/auth_cram_md5.rb#9 +# pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:9 class Net::SMTP::AuthCramMD5 < ::Net::SMTP::Authenticator - # source://net-smtp//lib/net/smtp/auth_cram_md5.rb#12 + # pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:12 def auth(user, secret); end # CRAM-MD5: [RFC2195] # - # source://net-smtp//lib/net/smtp/auth_cram_md5.rb#22 + # pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:22 def cram_md5_response(secret, challenge); end - # source://net-smtp//lib/net/smtp/auth_cram_md5.rb#29 + # pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:29 def cram_secret(secret, mask); end - # source://net-smtp//lib/net/smtp/auth_cram_md5.rb#38 + # pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:38 def digest_class; end end -# source://net-smtp//lib/net/smtp/auth_cram_md5.rb#27 +# pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:27 Net::SMTP::AuthCramMD5::CRAM_BUFSIZE = T.let(T.unsafe(nil), Integer) -# source://net-smtp//lib/net/smtp/auth_cram_md5.rb#18 +# pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:18 Net::SMTP::AuthCramMD5::IMASK = T.let(T.unsafe(nil), Integer) -# source://net-smtp//lib/net/smtp/auth_cram_md5.rb#19 +# pkg:gem/net-smtp#lib/net/smtp/auth_cram_md5.rb:19 Net::SMTP::AuthCramMD5::OMASK = T.let(T.unsafe(nil), Integer) -# source://net-smtp//lib/net/smtp/auth_login.rb#2 +# pkg:gem/net-smtp#lib/net/smtp/auth_login.rb:2 class Net::SMTP::AuthLogin < ::Net::SMTP::Authenticator - # source://net-smtp//lib/net/smtp/auth_login.rb#5 + # pkg:gem/net-smtp#lib/net/smtp/auth_login.rb:5 def auth(user, secret); end end -# source://net-smtp//lib/net/smtp/auth_plain.rb#2 +# pkg:gem/net-smtp#lib/net/smtp/auth_plain.rb:2 class Net::SMTP::AuthPlain < ::Net::SMTP::Authenticator - # source://net-smtp//lib/net/smtp/auth_plain.rb#5 + # pkg:gem/net-smtp#lib/net/smtp/auth_plain.rb:5 def auth(user, secret); end end -# source://net-smtp//lib/net/smtp/auth_xoauth2.rb#2 +# pkg:gem/net-smtp#lib/net/smtp/auth_xoauth2.rb:2 class Net::SMTP::AuthXoauth2 < ::Net::SMTP::Authenticator - # source://net-smtp//lib/net/smtp/auth_xoauth2.rb#5 + # pkg:gem/net-smtp#lib/net/smtp/auth_xoauth2.rb:5 def auth(user, secret); end private - # source://net-smtp//lib/net/smtp/auth_xoauth2.rb#13 + # pkg:gem/net-smtp#lib/net/smtp/auth_xoauth2.rb:13 def xoauth2_string(user, secret); end end -# source://net-smtp//lib/net/smtp/authenticator.rb#3 +# pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:3 class Net::SMTP::Authenticator # @return [Authenticator] a new instance of Authenticator # - # source://net-smtp//lib/net/smtp/authenticator.rb#29 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:29 def initialize(smtp); end # @param str [String] # @return [String] Base64 encoded string # - # source://net-smtp//lib/net/smtp/authenticator.rb#51 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:51 def base64_encode(str); end # @param arg [String] message to server # @raise [res.exception_class] # @return [String] message from server # - # source://net-smtp//lib/net/smtp/authenticator.rb#35 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:35 def continue(arg); end # @param arg [String] message to server # @raise [SMTPAuthenticationError] # @return [Net::SMTP::Response] response from server # - # source://net-smtp//lib/net/smtp/authenticator.rb#43 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:43 def finish(arg); end # Returns the value of attribute smtp. # - # source://net-smtp//lib/net/smtp/authenticator.rb#27 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:27 def smtp; end class << self - # source://net-smtp//lib/net/smtp/authenticator.rb#13 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:13 def auth_class(type); end - # source://net-smtp//lib/net/smtp/authenticator.rb#4 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:4 def auth_classes; end - # source://net-smtp//lib/net/smtp/authenticator.rb#8 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:8 def auth_type(type); end - # source://net-smtp//lib/net/smtp/authenticator.rb#18 + # pkg:gem/net-smtp#lib/net/smtp/authenticator.rb:18 def check_args(user_arg = T.unsafe(nil), secret_arg = T.unsafe(nil), *_arg2, **_arg3); end end end @@ -1097,14 +1097,14 @@ end # created by the user. For more information on SMTP responses, view # {Section 4.2 of RFC 5321}[http://tools.ietf.org/html/rfc5321#section-4.2] # -# source://net-smtp//lib/net/smtp.rb#1050 +# pkg:gem/net-smtp#lib/net/smtp.rb:1050 class Net::SMTP::Response # Creates a new instance of the Response class and sets the status and # string attributes # # @return [Response] a new instance of Response # - # source://net-smtp//lib/net/smtp.rb#1059 + # pkg:gem/net-smtp#lib/net/smtp.rb:1059 def initialize(status, string); end # Returns a hash of the human readable reply text in the response if it @@ -1112,7 +1112,7 @@ class Net::SMTP::Response # hash is the first word the value of the hash is an array with each word # thereafter being a value in the array # - # source://net-smtp//lib/net/smtp.rb#1102 + # pkg:gem/net-smtp#lib/net/smtp.rb:1102 def capabilities; end # Determines whether the response received was a Positive Intermediate @@ -1120,39 +1120,39 @@ class Net::SMTP::Response # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#1083 + # pkg:gem/net-smtp#lib/net/smtp.rb:1083 def continue?; end # Creates a CRAM-MD5 challenge. You can view more information on CRAM-MD5 # on Wikipedia: https://en.wikipedia.org/wiki/CRAM-MD5 # - # source://net-smtp//lib/net/smtp.rb#1094 + # pkg:gem/net-smtp#lib/net/smtp.rb:1094 def cram_md5_challenge; end # Determines whether there was an error and raises the appropriate error # based on the reply code of the response # - # source://net-smtp//lib/net/smtp.rb#1114 + # pkg:gem/net-smtp#lib/net/smtp.rb:1114 def exception_class; end # The first line of the human readable reply text # - # source://net-smtp//lib/net/smtp.rb#1088 + # pkg:gem/net-smtp#lib/net/smtp.rb:1088 def message; end # The three digit reply code of the SMTP response # - # source://net-smtp//lib/net/smtp.rb#1065 + # pkg:gem/net-smtp#lib/net/smtp.rb:1065 def status; end # Takes the first digit of the reply code to determine the status type # - # source://net-smtp//lib/net/smtp.rb#1071 + # pkg:gem/net-smtp#lib/net/smtp.rb:1071 def status_type_char; end # The human readable reply text of the SMTP response # - # source://net-smtp//lib/net/smtp.rb#1068 + # pkg:gem/net-smtp#lib/net/smtp.rb:1068 def string; end # Determines whether the response received was a Positive Completion @@ -1160,81 +1160,81 @@ class Net::SMTP::Response # # @return [Boolean] # - # source://net-smtp//lib/net/smtp.rb#1077 + # pkg:gem/net-smtp#lib/net/smtp.rb:1077 def success?; end class << self # Parses the received response and separates the reply code and the human # readable reply text # - # source://net-smtp//lib/net/smtp.rb#1053 + # pkg:gem/net-smtp#lib/net/smtp.rb:1053 def parse(str); end end end -# source://net-smtp//lib/net/smtp.rb#195 +# pkg:gem/net-smtp#lib/net/smtp.rb:195 Net::SMTP::VERSION = T.let(T.unsafe(nil), String) # Represents an SMTP authentication error. # -# source://net-smtp//lib/net/smtp.rb#49 +# pkg:gem/net-smtp#lib/net/smtp.rb:49 class Net::SMTPAuthenticationError < ::Net::ProtoAuthError include ::Net::SMTPError end # Module mixed in to all SMTP error classes # -# source://net-smtp//lib/net/smtp.rb#27 +# pkg:gem/net-smtp#lib/net/smtp.rb:27 module Net::SMTPError - # source://net-smtp//lib/net/smtp.rb#33 + # pkg:gem/net-smtp#lib/net/smtp.rb:33 def initialize(response, message: T.unsafe(nil)); end - # source://net-smtp//lib/net/smtp.rb#43 + # pkg:gem/net-smtp#lib/net/smtp.rb:43 def message; end # This *class* is a module for backward compatibility. # In later release, this module becomes a class. # - # source://net-smtp//lib/net/smtp.rb#31 + # pkg:gem/net-smtp#lib/net/smtp.rb:31 def response; end end # Represents a fatal SMTP error (error code 5xx, except for 500) # -# source://net-smtp//lib/net/smtp.rb#64 +# pkg:gem/net-smtp#lib/net/smtp.rb:64 class Net::SMTPFatalError < ::Net::ProtoFatalError include ::Net::SMTPError end # Represents SMTP error code 4xx, a temporary error. # -# source://net-smtp//lib/net/smtp.rb#54 +# pkg:gem/net-smtp#lib/net/smtp.rb:54 class Net::SMTPServerBusy < ::Net::ProtoServerError include ::Net::SMTPError end # class SMTP # -# source://net-smtp//lib/net/smtp.rb#1158 +# pkg:gem/net-smtp#lib/net/smtp.rb:1158 Net::SMTPSession = Net::SMTP # Represents an SMTP command syntax error (error code 500) # -# source://net-smtp//lib/net/smtp.rb#59 +# pkg:gem/net-smtp#lib/net/smtp.rb:59 class Net::SMTPSyntaxError < ::Net::ProtoSyntaxError include ::Net::SMTPError end # Unexpected reply code returned from server. # -# source://net-smtp//lib/net/smtp.rb#69 +# pkg:gem/net-smtp#lib/net/smtp.rb:69 class Net::SMTPUnknownError < ::Net::ProtoUnknownError include ::Net::SMTPError end # Command is not supported on server. # -# source://net-smtp//lib/net/smtp.rb#74 +# pkg:gem/net-smtp#lib/net/smtp.rb:74 class Net::SMTPUnsupportedCommand < ::Net::ProtocolError include ::Net::SMTPError end diff --git a/sorbet/rbi/gems/netrc@0.11.0.rbi b/sorbet/rbi/gems/netrc@0.11.0.rbi index 8a4c78374..744e9b2fc 100644 --- a/sorbet/rbi/gems/netrc@0.11.0.rbi +++ b/sorbet/rbi/gems/netrc@0.11.0.rbi @@ -5,71 +5,71 @@ # Please instead update this file by running `bin/tapioca gem netrc`. -# source://netrc//lib/netrc.rb#3 +# pkg:gem/netrc#lib/netrc.rb:3 class Netrc # @return [Netrc] a new instance of Netrc # - # source://netrc//lib/netrc.rb#166 + # pkg:gem/netrc#lib/netrc.rb:166 def initialize(path, data); end - # source://netrc//lib/netrc.rb#180 + # pkg:gem/netrc#lib/netrc.rb:180 def [](k); end - # source://netrc//lib/netrc.rb#188 + # pkg:gem/netrc#lib/netrc.rb:188 def []=(k, info); end - # source://netrc//lib/netrc.rb#200 + # pkg:gem/netrc#lib/netrc.rb:200 def delete(key); end - # source://netrc//lib/netrc.rb#211 + # pkg:gem/netrc#lib/netrc.rb:211 def each(&block); end - # source://netrc//lib/netrc.rb#196 + # pkg:gem/netrc#lib/netrc.rb:196 def length; end - # source://netrc//lib/netrc.rb#215 + # pkg:gem/netrc#lib/netrc.rb:215 def new_item(m, l, p); end # Returns the value of attribute new_item_prefix. # - # source://netrc//lib/netrc.rb#178 + # pkg:gem/netrc#lib/netrc.rb:178 def new_item_prefix; end # Sets the attribute new_item_prefix # # @param value the value to set the attribute new_item_prefix to. # - # source://netrc//lib/netrc.rb#178 + # pkg:gem/netrc#lib/netrc.rb:178 def new_item_prefix=(_arg0); end - # source://netrc//lib/netrc.rb#219 + # pkg:gem/netrc#lib/netrc.rb:219 def save; end - # source://netrc//lib/netrc.rb#233 + # pkg:gem/netrc#lib/netrc.rb:233 def unparse; end class << self - # source://netrc//lib/netrc.rb#42 + # pkg:gem/netrc#lib/netrc.rb:42 def check_permissions(path); end - # source://netrc//lib/netrc.rb#33 + # pkg:gem/netrc#lib/netrc.rb:33 def config; end # @yield [self.config] # - # source://netrc//lib/netrc.rb#37 + # pkg:gem/netrc#lib/netrc.rb:37 def configure; end - # source://netrc//lib/netrc.rb#10 + # pkg:gem/netrc#lib/netrc.rb:10 def default_path; end - # source://netrc//lib/netrc.rb#14 + # pkg:gem/netrc#lib/netrc.rb:14 def home_path; end - # source://netrc//lib/netrc.rb#85 + # pkg:gem/netrc#lib/netrc.rb:85 def lex(lines); end - # source://netrc//lib/netrc.rb#29 + # pkg:gem/netrc#lib/netrc.rb:29 def netrc_filename; end # Returns two values, a header and a list of items. @@ -84,32 +84,32 @@ class Netrc # This lets us change individual fields, then write out the file # with all its original formatting. # - # source://netrc//lib/netrc.rb#129 + # pkg:gem/netrc#lib/netrc.rb:129 def parse(ts); end # Reads path and parses it as a .netrc file. If path doesn't # exist, returns an empty object. Decrypt paths ending in .gpg. # - # source://netrc//lib/netrc.rb#51 + # pkg:gem/netrc#lib/netrc.rb:51 def read(path = T.unsafe(nil)); end # @return [Boolean] # - # source://netrc//lib/netrc.rb#112 + # pkg:gem/netrc#lib/netrc.rb:112 def skip?(s); end end end -# source://netrc//lib/netrc.rb#8 +# pkg:gem/netrc#lib/netrc.rb:8 Netrc::CYGWIN = T.let(T.unsafe(nil), T.untyped) -# source://netrc//lib/netrc.rb#244 +# pkg:gem/netrc#lib/netrc.rb:244 class Netrc::Entry < ::Struct # Returns the value of attribute login # # @return [Object] the current value of login # - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def login; end # Sets the attribute login @@ -117,14 +117,14 @@ class Netrc::Entry < ::Struct # @param value [Object] the value to set the attribute login to. # @return [Object] the newly set value # - # source://netrc//lib/netrc.rb#244 + # pkg:gem/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 + # pkg:gem/netrc#lib/netrc.rb:244 def password; end # Sets the attribute password @@ -132,46 +132,46 @@ class Netrc::Entry < ::Struct # @param value [Object] the value to set the attribute password to. # @return [Object] the newly set value # - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def password=(_); end - # source://netrc//lib/netrc.rb#245 + # pkg:gem/netrc#lib/netrc.rb:245 def to_ary; end class << self - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def [](*_arg0); end - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def inspect; end - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def keyword_init?; end - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def members; end - # source://netrc//lib/netrc.rb#244 + # pkg:gem/netrc#lib/netrc.rb:244 def new(*_arg0); end end end -# source://netrc//lib/netrc.rb#250 +# pkg:gem/netrc#lib/netrc.rb:250 class Netrc::Error < ::StandardError; end -# source://netrc//lib/netrc.rb#68 +# pkg:gem/netrc#lib/netrc.rb:68 class Netrc::TokenArray < ::Array - # source://netrc//lib/netrc.rb#76 + # pkg:gem/netrc#lib/netrc.rb:76 def readto; end - # source://netrc//lib/netrc.rb#69 + # pkg:gem/netrc#lib/netrc.rb:69 def take; end end -# source://netrc//lib/netrc.rb#4 +# pkg:gem/netrc#lib/netrc.rb:4 Netrc::VERSION = T.let(T.unsafe(nil), String) # see http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows # -# source://netrc//lib/netrc.rb#7 +# pkg:gem/netrc#lib/netrc.rb:7 Netrc::WINDOWS = T.let(T.unsafe(nil), T.untyped) diff --git a/sorbet/rbi/gems/nio4r@2.7.4.rbi b/sorbet/rbi/gems/nio4r@2.7.4.rbi index c08827a13..94b36ca65 100644 --- a/sorbet/rbi/gems/nio4r@2.7.4.rbi +++ b/sorbet/rbi/gems/nio4r@2.7.4.rbi @@ -7,7 +7,7 @@ # New I/O for Ruby # -# source://nio4r//lib/nio/version.rb#8 +# pkg:gem/nio4r#lib/nio/version.rb:8 module NIO class << self # NIO implementation, one of the following (as a string): @@ -15,17 +15,19 @@ module NIO # * libev: as a C extension using libev # * java: using Java NIO # - # source://nio4r//lib/nio.rb#21 + # pkg:gem/nio4r#lib/nio.rb:21 def engine; end # @return [Boolean] # - # source://nio4r//lib/nio.rb#25 + # pkg:gem/nio4r#lib/nio.rb:25 def pure?(env = T.unsafe(nil)); end end end # Efficient byte buffers for performant I/O operations +# +# pkg:gem/nio4r#lib/nio.rb:51 class NIO::ByteBuffer include ::Enumerable @@ -36,7 +38,7 @@ class NIO::ByteBuffer # @raise [TypeError] # @return [NIO::ByteBuffer] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def initialize(_arg0); end # Add a String to the buffer @@ -46,7 +48,7 @@ class NIO::ByteBuffer # @raise [NIO::ByteBuffer::OverflowError] buffer is full # @return [self] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def <<(_arg0); end # Obtain the byte at a given index in the buffer as an Integer @@ -54,42 +56,42 @@ class NIO::ByteBuffer # @raise [ArgumentError] index is invalid (either negative or larger than limit) # @return [Integer] byte at the given index # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def [](_arg0); end # Returns the value of attribute capacity. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def capacity; end # Clear the buffer, resetting it to the default state # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def clear; end # Move data between the position and limit to the beginning of the buffer # Sets the position to the end of the moved data, and the limit to the capacity # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def compact; end # Iterate over the bytes in the buffer (as Integers) # # @return [self] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def each; end # Set the buffer's current position as the limit and set the position to 0 # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def flip; end # Does the ByteBuffer have any space remaining? # # @return [true, false] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def full?; end # Obtain the requested number of bytes from the buffer, advancing the position. @@ -98,19 +100,19 @@ class NIO::ByteBuffer # @raise [NIO::ByteBuffer::UnderflowError] not enough data remaining in buffer # @return [String] bytes read from buffer # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def get(*_arg0); end # Inspect the state of the buffer # # @return [String] string describing the state of the buffer # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def inspect; end # Returns the value of attribute limit. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def limit; end # Set the limit to the given value. New limit must be less than capacity. @@ -120,17 +122,17 @@ class NIO::ByteBuffer # @param new_limit [Integer] position in the buffer # @raise [ArgumentError] new limit was invalid # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def limit=(_arg0); end # Mark a position to return to using the `#reset` method # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def mark; end # Returns the value of attribute position. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def position; end # Set the position to the given value. New position must be less than limit. @@ -139,7 +141,7 @@ class NIO::ByteBuffer # @param new_position [Integer] position in the buffer # @raise [ArgumentError] new position was invalid # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def position=(_arg0); end # Perform a non-blocking read from the given IO object into the buffer @@ -149,29 +151,29 @@ class NIO::ByteBuffer # @raise [OverflowError] # @return [Integer] number of bytes read (0 if none were available) # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def read_from(_arg0); end # Number of bytes remaining in the buffer before the limit # # @return [Integer] number of bytes remaining # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def remaining; end # Reset position to the previously marked location # # @raise [NIO::ByteBuffer::MarkUnsetError] mark has not been set (call `#mark` first) # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def reset; end # Set the buffer's current position to 0, leaving the limit unchanged # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def rewind; end - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def size; end # Perform a non-blocking write of the buffer's contents to the given I/O object @@ -181,27 +183,35 @@ class NIO::ByteBuffer # @raise [UnderflowError] # @return [Integer] number of bytes written (0 if the write would block) # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def write_to(_arg0); end end # Mark has not been set +# +# pkg:gem/nio4r#lib/nio.rb:51 class NIO::ByteBuffer::MarkUnsetError < ::IOError; end # Insufficient capacity in buffer +# +# pkg:gem/nio4r#lib/nio.rb:51 class NIO::ByteBuffer::OverflowError < ::IOError; end # Not enough data remaining in buffer +# +# pkg:gem/nio4r#lib/nio.rb:51 class NIO::ByteBuffer::UnderflowError < ::IOError; end -# source://nio4r//lib/nio.rb#59 +# pkg:gem/nio4r#lib/nio.rb:59 NIO::ENGINE = T.let(T.unsafe(nil), String) # Monitors watch IO objects for specific events +# +# pkg:gem/nio4r#lib/nio.rb:51 class NIO::Monitor # @return [Monitor] a new instance of Monitor # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def initialize(_arg0, _arg1, _arg2); end # Add new interests to the existing interest set @@ -209,24 +219,24 @@ class NIO::Monitor # @param interests [:r, :w, :rw] new I/O interests (read/write/readwrite) # @return [self] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def add_interest(_arg0); end # Deactivate this monitor # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def close(*_arg0); end # Is this monitor closed? # # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def closed?; end # Returns the value of attribute interests. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def interests; end # Replace the existing interest set with a new one @@ -235,24 +245,24 @@ class NIO::Monitor # @raise [EOFError] # @return [Symbol] new interests # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def interests=(_arg0); end # Returns the value of attribute io. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def io; end # Is the IO object readable? # # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def readable?; end # Returns the value of attribute readiness. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def readiness; end # Remove interests from the existing interest set @@ -260,49 +270,51 @@ class NIO::Monitor # @param interests [:r, :w, :rw] I/O interests to remove (read/write/readwrite) # @return [self] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def remove_interest(_arg0); end # Returns the value of attribute selector. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def selector; end # Returns the value of attribute value. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def value; end # Sets the attribute value # # @param value the value to set the attribute value to. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def value=(_arg0); end # Is the IO object writable? # # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def writable?; end # Is the IO object writable? # # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def writeable?; end end # Selectors monitor IO objects for events of interest +# +# pkg:gem/nio4r#lib/nio.rb:51 class NIO::Selector # Create a new NIO::Selector # # @raise [ArgumentError] # @return [Selector] a new instance of Selector # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def initialize(*_arg0); end # Return a symbol representing the backend I/O multiplexing mechanism used. @@ -318,29 +330,29 @@ class NIO::Selector # * :io_uring - libev w\ Linux io_uring (experimental) # * :unknown - libev w\ unknown backend # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def backend; end # Close this selector and free its resources # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def close; end # Is this selector closed? # # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def closed?; end # Deregister the given IO object from the selector # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def deregister(_arg0); end # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def empty?; end # Register interest in an IO object with the selector for the given types @@ -349,19 +361,19 @@ class NIO::Selector # * :w - is the IO writeable? # * :rw - is the IO either readable or writeable? # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def register(_arg0, _arg1); end # Is the given IO object registered with the selector? # # @return [Boolean] # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def registered?(_arg0); end # Select which monitors are ready # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def select(*_arg0); end # Wake up a thread that's in the middle of selecting on this selector, if @@ -371,7 +383,7 @@ class NIO::Selector # has the same effect as invoking it just once. In other words, it provides # level-triggered behavior. # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def wakeup; end class << self @@ -379,10 +391,10 @@ class NIO::Selector # # See `#backend` method definition for all possible backends # - # source://nio4r//lib/nio.rb#51 + # pkg:gem/nio4r#lib/nio.rb:51 def backends; end end end -# source://nio4r//lib/nio/version.rb#9 +# pkg:gem/nio4r#lib/nio/version.rb:9 NIO::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/nokogiri@1.19.0.rbi b/sorbet/rbi/gems/nokogiri@1.19.0.rbi index be320a53e..510de6b06 100644 --- a/sorbet/rbi/gems/nokogiri@1.19.0.rbi +++ b/sorbet/rbi/gems/nokogiri@1.19.0.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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri class << self - # source://nokogiri//lib/nokogiri/html.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri.rb:91 def Slop(*args, &block); end # Convenience method for Nokogiri::XML::Document.parse # - # source://nokogiri//lib/nokogiri/xml.rb#6 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xslt.rb:7 def XSLT(*_arg0, **_arg1, &_arg2); end - # source://nokogiri//lib/nokogiri.rb#96 + # pkg:gem/nokogiri#lib/nokogiri.rb:96 def install_default_aliases; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#206 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:206 def jruby?; end - # source://nokogiri//lib/nokogiri/version/info.rb#211 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:211 def libxml2_patches; end # Create a new Nokogiri::XML::DocumentFragment # - # source://nokogiri//lib/nokogiri.rb#68 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:201 def uses_gumbo?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#193 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/node.rb:14 def initialize(type, value); end # Accept +visitor+ # - # source://nokogiri//lib/nokogiri/css/node.rb#20 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/node.rb:36 def find_by_type(types); end # Convert to array # - # source://nokogiri//lib/nokogiri/css/node.rb#53 + # pkg:gem/nokogiri#lib/nokogiri/css/node.rb:53 def to_a; end # Convert to_type # - # source://nokogiri//lib/nokogiri/css/node.rb#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/node.rb:9 def type; end # Get the type of this node # - # source://nokogiri//lib/nokogiri/css/node.rb#9 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/node.rb:11 def value; end # Get the value of this node # - # source://nokogiri//lib/nokogiri/css/node.rb#11 + # pkg:gem/nokogiri#lib/nokogiri/css/node.rb:11 def value=(_arg0); end end -# source://nokogiri//lib/nokogiri/css/node.rb#6 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser_extras.rb:8 def initialize; end # reduce 0 omitted # - # source://nokogiri//lib/nokogiri/css/parser.rb#363 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:363 def _reduce_1(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#409 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:409 def _reduce_10(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#414 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:426 def _reduce_13(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#431 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:431 def _reduce_14(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#436 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:443 def _reduce_17(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#448 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:448 def _reduce_18(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#453 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:453 def _reduce_19(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#369 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:467 def _reduce_23(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#472 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:472 def _reduce_24(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#477 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:477 def _reduce_25(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#484 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:491 def _reduce_28(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#497 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:497 def _reduce_29(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#374 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:374 def _reduce_3(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#503 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:503 def _reduce_30(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#509 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:509 def _reduce_31(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#514 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:521 def _reduce_34(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#527 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:527 def _reduce_35(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#533 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:533 def _reduce_36(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#539 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:539 def _reduce_37(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#545 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:545 def _reduce_38(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#551 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:551 def _reduce_39(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#379 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:379 def _reduce_4(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#556 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:556 def _reduce_40(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#561 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:561 def _reduce_41(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#566 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:592 def _reduce_47(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#602 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:602 def _reduce_48(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#618 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:618 def _reduce_49(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#384 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:384 def _reduce_5(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#638 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:638 def _reduce_50(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#644 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:653 def _reduce_54(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#659 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:659 def _reduce_55(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#665 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:665 def _reduce_56(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#671 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:671 def _reduce_57(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#677 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:677 def _reduce_58(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#389 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:693 def _reduce_64(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#698 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:698 def _reduce_65(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#703 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:703 def _reduce_66(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#708 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:715 def _reduce_69(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#394 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:394 def _reduce_7(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#720 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:720 def _reduce_70(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#725 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:725 def _reduce_71(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#730 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:730 def _reduce_72(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#735 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:735 def _reduce_73(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#740 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:740 def _reduce_74(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#745 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:745 def _reduce_75(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#750 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:750 def _reduce_76(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#399 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:399 def _reduce_8(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser.rb#404 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:766 def _reduce_none(val, _values, result); end - # source://nokogiri//lib/nokogiri/css/parser_extras.rb#18 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser_extras.rb:13 def parse(string); end - # source://nokogiri//lib/nokogiri/css/parser.rb#26 + # pkg:gem/nokogiri#lib/nokogiri/css/parser.rb:26 def unescape_css_identifier(identifier); end - # source://nokogiri//lib/nokogiri/css/parser.rb#30 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/parser_extras.rb:23 def xpath_for(selector, visitor); end end -# source://nokogiri//lib/nokogiri/css/parser.rb#279 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/selector_cache.rb:16 def []=(key, value); end # Clear the cache # - # source://nokogiri//lib/nokogiri/css/selector_cache.rb#21 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/selector_cache.rb:32 def key(selector:, visitor:); end end end -# source://nokogiri//lib/nokogiri/css/syntax_error.rb#6 +# pkg:gem/nokogiri#lib/nokogiri/css/syntax_error.rb:6 class Nokogiri::CSS::SyntaxError < ::Nokogiri::SyntaxError; end -# source://nokogiri//lib/nokogiri/css/tokenizer.rb#11 +# pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:11 class Nokogiri::CSS::Tokenizer - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#57 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:57 def _next_token; end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#26 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:26 def action; end # Returns the value of attribute filename. # - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#17 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:17 def filename; end # Returns the value of attribute lineno. # - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#16 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:16 def lineno; end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#36 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:36 def load_file(filename); end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#49 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:49 def next_token; end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#34 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:34 def scan(str); end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#43 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:43 def scan_file(filename); end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#20 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:20 def scan_setup(str); end - # source://nokogiri//lib/nokogiri/css/tokenizer.rb#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/tokenizer.rb:18 def state=(_arg0); end end -# source://nokogiri//lib/nokogiri/css/tokenizer.rb#14 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:54 def prefix; end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#294 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:294 def visit_attrib_name(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#175 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:175 def visit_attribute_condition(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:255 def visit_child_selector(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#237 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:237 def visit_class_condition(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#241 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:241 def visit_combinator(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#262 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:262 def visit_conditional_selector(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:255 def visit_descendant_selector(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:255 def visit_direct_adjacent_selector(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#267 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:267 def visit_element_name(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#255 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:255 def visit_following_selector(node); end # :stopdoc: # - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#98 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:98 def visit_function(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#170 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:170 def visit_id(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#161 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:161 def visit_not(node); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#211 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:211 def visit_pseudo_class(node); end private - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#365 + # pkg:gem/nokogiri#lib/nokogiri/css/xpath_visitor.rb:365 def css_class(hay, needle); end - # source://nokogiri//lib/nokogiri/css/xpath_visitor.rb#310 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#17 +# pkg:gem/nokogiri#lib/nokogiri/class_resolver.rb:17 module Nokogiri::ClassResolver # :call-seq: # related_class(class_name) → Class @@ -791,103 +791,103 @@ module Nokogiri::ClassResolver # ThisIsATopLevelClass.new.related_class("Document") # # => Nokogiri::HTML4::Document # - # source://nokogiri//lib/nokogiri/class_resolver.rb#44 + # pkg:gem/nokogiri#lib/nokogiri/class_resolver.rb:44 def related_class(class_name); end end # #related_class restricts matching namespaces to those matching this set. # -# source://nokogiri//lib/nokogiri/class_resolver.rb#19 +# pkg:gem/nokogiri#lib/nokogiri/class_resolver.rb:19 Nokogiri::ClassResolver::VALID_NAMESPACES = T.let(T.unsafe(nil), Set) -# source://nokogiri//lib/nokogiri/decorators/slop.rb#4 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/decorators/slop.rb:10 Nokogiri::Decorators::Slop::XPATH_PREFIX = T.let(T.unsafe(nil), String) -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::EncodingHandler # Returns the value of attribute name. # - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def name; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def [](_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def alias(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def clear_aliases!; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def delete(_arg0); end - # source://nokogiri//lib/nokogiri/encoding_handler.rb#15 + # pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/encoding_handler.rb:7 Nokogiri::EncodingHandler::USEFUL_ALIASES = T.let(T.unsafe(nil), Hash) -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::Gumbo class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def fragment(*_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/html.rb:8 Nokogiri::HTML = Nokogiri::HTML4 # Since v1.12.0 @@ -895,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::HTML4 class << self # Convenience method for Nokogiri::HTML4::DocumentFragment.parse # - # source://nokogiri//lib/nokogiri/html4.rb#24 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4.rb:19 def parse(*_arg0, **_arg1, &_arg2); end end end @@ -934,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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/builder.rb:32 def to_html; end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # Create a Nokogiri::XML::DocumentFragment from +tags+ # - # source://nokogiri//lib/nokogiri/html4/document.rb#149 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/document.rb:12 def meta_encoding; end # Set the meta tag encoding for this document. @@ -971,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 + # pkg:gem/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. @@ -988,13 +988,13 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # config.format.as_xml # end # - # source://nokogiri//lib/nokogiri/html4/document.rb#142 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/document.rb:70 def title; end # Set the title string of this document. @@ -1008,10 +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 + # pkg:gem/nokogiri#lib/nokogiri/html4/document.rb:85 def title=(text); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def type; end # :call-seq: @@ -1021,19 +1021,19 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # # See XPathVisitor for more information. # - # source://nokogiri//lib/nokogiri/html4/document.rb#159 + # pkg:gem/nokogiri#lib/nokogiri/html4/document.rb:159 def xpath_doctype; end private - # source://nokogiri//lib/nokogiri/html4/document.rb#60 + # pkg:gem/nokogiri#lib/nokogiri/html4/document.rb:60 def meta_content_type; end - # source://nokogiri//lib/nokogiri/html4/document.rb#103 + # pkg:gem/nokogiri#lib/nokogiri/html4/document.rb:103 def set_metadata_element(element); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end # :call-seq: @@ -1062,18 +1062,18 @@ class Nokogiri::HTML4::Document < ::Nokogiri::XML::Document # # @yield [options] # - # source://nokogiri//lib/nokogiri/html4/document.rb#189 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def read_io(_arg0, _arg1, _arg2, _arg3); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/html4/document_fragment.rb:5 class Nokogiri::HTML4::DocumentFragment < ::Nokogiri::XML::DocumentFragment # :call-seq: # new(document) { |options| ... } → HTML4::DocumentFragment @@ -1114,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 + # pkg:gem/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 @@ -1160,175 +1160,175 @@ class Nokogiri::HTML4::DocumentFragment < ::Nokogiri::XML::DocumentFragment # options.huge.pedantic # end # - # source://nokogiri//lib/nokogiri/html4/document_fragment.rb#52 + # pkg:gem/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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::HTML4::ElementDescription # Is this element a block element? # # @return [Boolean] # - # source://nokogiri//lib/nokogiri/html4/element_description.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/html4/element_description.rb:8 def block?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def default_sub_element; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def deprecated?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def deprecated_attributes; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def description; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def empty?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def implied_end_tag?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def implied_start_tag?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def inline?; end # Inspection information # - # source://nokogiri//lib/nokogiri/html4/element_description.rb#20 + # pkg:gem/nokogiri#lib/nokogiri/html4/element_description.rb:20 def inspect; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def name; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def optional_attributes; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def required_attributes; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def save_end_tag?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/element_description.rb:14 def to_s; end private - # source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#32 + # pkg:gem/nokogiri#lib/nokogiri/html4/element_description_defaults.rb:32 def default_desc; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def [](_arg0); end end end -# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#436 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -1336,328 +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 +# pkg:gem/nokogiri#lib/nokogiri/html4/element_description_defaults.rb:11 Nokogiri::HTML4::ElementDescription::Desc = Struct -# source://nokogiri//lib/nokogiri/html4/element_description_defaults.rb#294 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/encoding_reader.rb:91 def encoding_found; end - # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#93 + # pkg:gem/nokogiri#lib/nokogiri/html4/encoding_reader.rb:93 def read(len); end class << self - # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#59 + # pkg:gem/nokogiri#lib/nokogiri/html4/encoding_reader.rb:59 def detect_encoding(chunk); end end end -# source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#15 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/encoding_reader.rb:16 def found_encoding; end end -# source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#46 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/encoding_reader.rb:47 def initialize(jumptag); end - # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#52 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html4/encoding_reader.rb:25 def encoding; end - # source://nokogiri//lib/nokogiri/html4/encoding_reader.rb#32 + # pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/html4/entity_lookup.rb:5 class Nokogiri::HTML4::EntityDescription < ::Struct; end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::HTML4::EntityLookup # Look up entity with +name+ # - # source://nokogiri//lib/nokogiri/html4/entity_lookup.rb#10 + # pkg:gem/nokogiri#lib/nokogiri/html4/entity_lookup.rb:10 def [](name); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def get(_arg0); end end # Instance of Nokogiri::HTML4::EntityLookup # -# source://nokogiri//lib/nokogiri/html4.rb#30 +# pkg:gem/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 @@ -1667,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::HTML4::SAX; end # This parser is a SAX style parser that reads its input as it deems necessary. The parser @@ -1696,11 +1696,11 @@ module Nokogiri::HTML4::SAX; end # # Also see Nokogiri::XML::SAX::Document for the available events. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::HTML4::SAX::Parser < ::Nokogiri::XML::SAX::Parser private - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_native; end end @@ -1709,63 +1709,63 @@ end # 💡 This class is usually not instantiated by the user. Use Nokogiri::HTML4::SAX::Parser # instead. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::HTML4::SAX::ParserContext < ::Nokogiri::XML::SAX::ParserContext - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def parse_with(_arg0); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_file(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_memory(_arg0, _arg1); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 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 + # pkg:gem/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#26 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_native(_arg0, _arg1, _arg2); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_write(_arg0, _arg1); end end @@ -2004,20 +2004,20 @@ end # # Since v1.12.0 # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::HTML5 class << self # Convenience method for Nokogiri::HTML5::DocumentFragment.parse # - # source://nokogiri//lib/nokogiri/html5.rb#280 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html5.rb:275 def parse(*_arg0, **_arg1, &_arg2); end - # source://nokogiri//lib/nokogiri/html5.rb#285 + # pkg:gem/nokogiri#lib/nokogiri/html5.rb:285 def read_and_encode(string, encoding); end private @@ -2034,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 + # pkg:gem/nokogiri#lib/nokogiri/html5.rb:323 def reencode(body, content_type = T.unsafe(nil)); end end end @@ -2066,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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html5/builder.rb:35 def to_html; end end @@ -2078,11 +2078,11 @@ end # # 💡 HTML5 functionality is not available when running JRuby. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # @return [Document] a new instance of Document # - # source://nokogiri//lib/nokogiri/html5/document.rb#159 + # pkg:gem/nokogiri#lib/nokogiri/html5/document.rb:159 def initialize(*args); end # :call-seq: @@ -2098,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 + # pkg:gem/nokogiri#lib/nokogiri/html5/document.rb:178 def fragment(markup = T.unsafe(nil)); end # Get the parser's quirks mode value. See HTML5::QuirksMode. @@ -2107,16 +2107,16 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/html5/document.rb#49 + # pkg:gem/nokogiri#lib/nokogiri/html5/document.rb:49 def quirks_mode; end - # source://nokogiri//lib/nokogiri/html5/document.rb#182 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html5/document.rb:42 def url; end # :call-seq: @@ -2126,7 +2126,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # See CSS::XPathVisitor for more information. # - # source://nokogiri//lib/nokogiri/html5/document.rb#194 + # pkg:gem/nokogiri#lib/nokogiri/html5/document.rb:194 def xpath_doctype; end class << self @@ -2178,7 +2178,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # @yield [options] # - # source://nokogiri//lib/nokogiri/html5/document.rb#103 + # pkg:gem/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. @@ -2187,7 +2187,7 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/html5/document.rb#129 + # pkg:gem/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. @@ -2196,12 +2196,12 @@ class Nokogiri::HTML5::Document < ::Nokogiri::HTML4::Document # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/html5/document.rb#138 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html5/document.rb:146 def do_parse(string_or_io, url, encoding, **options); end end end @@ -2210,7 +2210,7 @@ end # # 💡 HTML5 functionality is not available when running JRuby. # -# source://nokogiri//lib/nokogiri/html5/document_fragment.rb#27 +# pkg:gem/nokogiri#lib/nokogiri/html5/document_fragment.rb:27 class Nokogiri::HTML5::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment # :call-seq: # new(document, input, **options) → HTML5::DocumentFragment @@ -2257,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html5/document_fragment.rb:89 def errors=(_arg0); end - # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#175 + # pkg:gem/nokogiri#lib/nokogiri/html5/document_fragment.rb:175 def extract_params(params); end # Get the parser's quirks mode value. See HTML5::QuirksMode. @@ -2294,10 +2294,10 @@ class Nokogiri::HTML5::DocumentFragment < ::Nokogiri::HTML4::DocumentFragment # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#97 + # pkg:gem/nokogiri#lib/nokogiri/html5/document_fragment.rb:97 def quirks_mode; end - # source://nokogiri//lib/nokogiri/html5/document_fragment.rb#169 + # pkg:gem/nokogiri#lib/nokogiri/html5/document_fragment.rb:169 def serialize(options = T.unsafe(nil), &block); end class << self @@ -2340,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 + # pkg:gem/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 @@ -2349,17 +2349,17 @@ end # # 💡 HTML5 functionality is not available when running JRuby. # -# source://nokogiri//lib/nokogiri/html5/node.rb#30 +# pkg:gem/nokogiri#lib/nokogiri/html5/node.rb:30 module Nokogiri::HTML5::Node - # source://nokogiri//lib/nokogiri/html5/node.rb#70 + # pkg:gem/nokogiri#lib/nokogiri/html5/node.rb:70 def fragment(tags); end - # source://nokogiri//lib/nokogiri/html5/node.rb#31 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/html5/node.rb:39 def write_to(io, *options); end private @@ -2370,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 + # pkg:gem/nokogiri#lib/nokogiri/html5/node.rb:83 def add_child_node_and_reparent_attrs(node); end end @@ -2381,22 +2381,22 @@ end # # Since v1.14.0 # -# source://nokogiri//lib/nokogiri/html5/document.rb#30 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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) @@ -2413,117 +2413,117 @@ 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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::SyntaxError < ::StandardError; end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::Test class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/version/info.rb:223 Nokogiri::VERSION_INFO = T.let(T.unsafe(nil), Hash) -# source://nokogiri//lib/nokogiri/version/info.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/version/info.rb:7 class Nokogiri::VersionInfo include ::Singleton::SingletonInstanceMethods include ::Singleton extend ::Singleton::SingletonClassMethods - # source://nokogiri//lib/nokogiri/version/info.rb#33 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:33 def compiled_libxml_version; end - # source://nokogiri//lib/nokogiri/version/info.rb#44 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:44 def compiled_libxslt_version; end - # source://nokogiri//lib/nokogiri/version/info.rb#22 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:22 def engine; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#10 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:10 def jruby?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#48 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:48 def libxml2?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:52 def libxml2_has_iconv?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#68 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:68 def libxml2_precompiled?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#60 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:60 def libxml2_using_packaged?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#64 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:64 def libxml2_using_system?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#56 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:56 def libxslt_has_datetime?; end - # source://nokogiri//lib/nokogiri/version/info.rb#26 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:26 def loaded_libxml_version; end - # source://nokogiri//lib/nokogiri/version/info.rb#37 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:37 def loaded_libxslt_version; end - # source://nokogiri//lib/nokogiri/version/info.rb#18 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:18 def ruby_minor; end - # source://nokogiri//lib/nokogiri/version/info.rb#88 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:88 def to_hash; end - # source://nokogiri//lib/nokogiri/version/info.rb#181 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:181 def to_markdown; end - # source://nokogiri//lib/nokogiri/version/info.rb#72 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:72 def warnings; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/version/info.rb#14 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:14 def windows?; end class << self private - # source://nokogiri//lib/nokogiri/version/info.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:8 def allocate; end - # source://nokogiri//lib/nokogiri/version/info.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/version/info.rb:8 def new(*_arg0); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::XML class << self # Convenience method for Nokogiri::XML::Reader.new # - # source://nokogiri//lib/nokogiri/xml.rb#21 + # pkg:gem/nokogiri#lib/nokogiri/xml.rb:21 def Reader(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -2532,7 +2532,7 @@ module Nokogiri::XML # # Convenience method for Nokogiri::XML::RelaxNG.new # - # source://nokogiri//lib/nokogiri/xml/relax_ng.rb#11 + # pkg:gem/nokogiri#lib/nokogiri/xml/relax_ng.rb:11 def RelaxNG(*_arg0, **_arg1, &_arg2); end # :call-seq: @@ -2541,24 +2541,24 @@ module Nokogiri::XML # # Convenience method for Nokogiri::XML::Schema.new # - # source://nokogiri//lib/nokogiri/xml/schema.rb#11 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml.rb:26 def parse(*_arg0, **_arg1, &_arg2); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Attr < ::Nokogiri::XML::Node - # source://nokogiri//lib/nokogiri/xml/attr.rb#9 + # pkg:gem/nokogiri#lib/nokogiri/xml/attr.rb:9 def content=(_arg0); end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -2604,45 +2604,45 @@ class Nokogiri::XML::Attr < ::Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/xml/attr.rb#55 + # pkg:gem/nokogiri#lib/nokogiri/xml/attr.rb:55 def deconstruct_keys(keys); end - # source://nokogiri//lib/nokogiri/xml/attr.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/xml/attr.rb:8 def to_s; end - # source://nokogiri//lib/nokogiri/xml/attr.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/xml/attr.rb:7 def value; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def value=(_arg0); end private - # source://nokogiri//lib/nokogiri/xml/attr.rb#61 + # pkg:gem/nokogiri#lib/nokogiri/xml/attr.rb:61 def inspect_attributes; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end end end # Represents an attribute declaration in a DTD # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::AttributeDecl < ::Nokogiri::XML::Node - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute_type; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def default; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def enumeration; end private - # source://nokogiri//lib/nokogiri/xml/attribute_decl.rb#17 + # pkg:gem/nokogiri#lib/nokogiri/xml/attribute_decl.rb:17 def inspect_attributes; end end @@ -2904,7 +2904,7 @@ end # # # -# source://nokogiri//lib/nokogiri/xml/builder.rb#264 +# pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:264 class Nokogiri::XML::Builder include ::Nokogiri::ClassResolver @@ -2919,84 +2919,84 @@ class Nokogiri::XML::Builder # # @return [Builder] a new instance of Builder # - # source://nokogiri//lib/nokogiri/xml/builder.rb#307 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:358 def [](ns); end - # source://nokogiri//lib/nokogiri/xml/builder.rb#278 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:278 def arity; end - # source://nokogiri//lib/nokogiri/xml/builder.rb#278 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:270 def doc; end # The current Document object being built # - # source://nokogiri//lib/nokogiri/xml/builder.rb#270 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:270 def doc=(_arg0); end - # source://nokogiri//lib/nokogiri/xml/builder.rb#394 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:423 def insert(node, &block); end class << self @@ -3013,94 +3013,94 @@ class Nokogiri::XML::Builder # xml.awesome # add the "awesome" tag below "some_tag" # end # - # source://nokogiri//lib/nokogiri/xml/builder.rb#294 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:294 def with(root, &block); end end end -# source://nokogiri//lib/nokogiri/xml/builder.rb#267 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:443 def initialize(node, doc_builder); end - # source://nokogiri//lib/nokogiri/xml/builder.rb#452 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:452 def [](k); end - # source://nokogiri//lib/nokogiri/xml/builder.rb#448 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:448 def []=(k, v); end - # source://nokogiri//lib/nokogiri/xml/builder.rb#456 + # pkg:gem/nokogiri#lib/nokogiri/xml/builder.rb:456 def method_missing(method, *args, &block); end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::CDATA < ::Nokogiri::XML::Text # Get the name of this CDATA node # - # source://nokogiri//lib/nokogiri/xml/cdata.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/xml/cdata.rb:8 def name; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::CharacterData < ::Nokogiri::XML::Node include ::Nokogiri::XML::PP::CharacterData end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Comment < ::Nokogiri::XML::CharacterData class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::DTD < ::Nokogiri::XML::Node - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attributes; end - # source://nokogiri//lib/nokogiri/xml/dtd.rb#17 + # pkg:gem/nokogiri#lib/nokogiri/xml/dtd.rb:17 def each; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def elements; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def entities; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def external_id; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/xml/dtd.rb#27 + # pkg:gem/nokogiri#lib/nokogiri/xml/dtd.rb:27 def html5_dtd?; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/xml/dtd.rb#23 + # pkg:gem/nokogiri#lib/nokogiri/xml/dtd.rb:23 def html_dtd?; end - # source://nokogiri//lib/nokogiri/xml/dtd.rb#13 + # pkg:gem/nokogiri#lib/nokogiri/xml/dtd.rb:13 def keys; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def notations; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def system_id; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def validate(_arg0); end end @@ -3111,20 +3111,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Document < ::Nokogiri::XML::Node # @return [Document] a new instance of Document # - # source://nokogiri//lib/nokogiri/xml/document.rb#190 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:190 def initialize(*args); end - # source://nokogiri//lib/nokogiri/xml/document.rb#449 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:449 def <<(node_or_tags); end - # source://nokogiri//lib/nokogiri/xml/document.rb#437 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:437 def add_child(node_or_tags); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def canonicalize(*_arg0); end # :call-seq: @@ -3137,7 +3137,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:223 def clone(level = T.unsafe(nil)); end # :call-seq: @@ -3176,17 +3176,17 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # {"xmlns:foo" => "baz"} # - # source://nokogiri//lib/nokogiri/xml/document.rb#361 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:311 def create_comment(string, &block); end # :call-seq: @@ -3237,15 +3237,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:276 def create_element(name, *contents_or_attrs, &block); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:301 def create_text_node(string, &block); end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -3287,22 +3287,22 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/xml/document.rb#501 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:368 def decorators(key); end # A reference to +self+ # - # source://nokogiri//lib/nokogiri/xml/document.rb#321 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:321 def document; end # :call-seq: @@ -3315,38 +3315,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:207 def dup(level = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def encoding; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:316 def name; end # When `true`, reparented elements without a namespace will inherit their new parent's @@ -3395,7 +3395,7 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.12.4 # - # source://nokogiri//lib/nokogiri/xml/document.rb#188 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:188 def namespace_inheritance; end # When `true`, reparented elements without a namespace will inherit their new parent's @@ -3444,21 +3444,21 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # Since v1.12.4 # - # source://nokogiri//lib/nokogiri/xml/document.rb#188 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:422 def namespaces; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def remove_namespaces!; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def root; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def root=(_arg0); end # Explore a document with shortcut methods. See Nokogiri::Slop for details. @@ -3476,22 +3476,22 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # irb> doc.slop! # ... which does absolutely nothing. # - # source://nokogiri//lib/nokogiri/xml/document.rb#398 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:398 def slop!; end - # source://nokogiri//lib/nokogiri/xml/document.rb#419 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:419 def to_xml(*args, &block); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:376 def validate; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def version; end # :call-seq: @@ -3501,21 +3501,21 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # See XPathVisitor for more information. # - # source://nokogiri//lib/nokogiri/xml/document.rb#457 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:457 def xpath_doctype; end protected - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_copy_with_args(_arg0, _arg1); end private - # source://nokogiri//lib/nokogiri/xml/document.rb#509 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:509 def inspect_attributes; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end # call-seq: @@ -3548,50 +3548,50 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node # # @yield [options] # - # source://nokogiri//lib/nokogiri/xml/document.rb#56 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def read_io(_arg0, _arg1, _arg2, _arg3); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document.rb:96 def empty_doc?(string_or_io); end end end -# source://nokogiri//lib/nokogiri/xml/document.rb#507 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # :call-seq: # new(document, input=nil) { |options| ... } → DocumentFragment @@ -3632,7 +3632,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 + # pkg:gem/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] @@ -3642,7 +3642,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:173 def css(*args); end # :call-seq: deconstruct() → Array @@ -3686,33 +3686,33 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#261 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:261 def deconstruct; end - # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#113 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:207 def errors; end - # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#211 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:211 def errors=(things); end - # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#215 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:12 def parse_options; end # call-seq: search *paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class] @@ -3721,53 +3721,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 + # pkg:gem/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#204 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:268 def namespace_declarations(ctx); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:42 def new(document, *_arg1, **_arg2, &_arg3); end # :call-seq: @@ -3791,12 +3791,12 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node # # [Returns] Nokogiri::XML::DocumentFragment # - # source://nokogiri//lib/nokogiri/xml/document_fragment.rb#35 + # pkg:gem/nokogiri#lib/nokogiri/xml/document_fragment.rb:35 def parse(tags, options_ = T.unsafe(nil), options: T.unsafe(nil), &block); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Element < ::Nokogiri::XML::Node; end # Represents the allowed content in an Element Declaration inside a DTD: @@ -3810,113 +3810,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/element_content.rb:31 def document; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def name; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def occur; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def prefix; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def type; end private - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def c1; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def c2; end - # source://nokogiri//lib/nokogiri/xml/element_content.rb#41 + # pkg:gem/nokogiri#lib/nokogiri/xml/element_content.rb:41 def inspect_attributes; end end -# source://nokogiri//lib/nokogiri/xml/element_content.rb#21 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/xml/element_content.rb:22 Nokogiri::XML::ElementContent::SEQ = T.let(T.unsafe(nil), Integer) -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::ElementDecl < ::Nokogiri::XML::Node - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def content; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def element_type; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def prefix; end private - # source://nokogiri//lib/nokogiri/xml/element_decl.rb#12 + # pkg:gem/nokogiri#lib/nokogiri/xml/element_decl.rb:12 def inspect_attributes; end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::EntityDecl < ::Nokogiri::XML::Node - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def content; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def entity_type; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def external_id; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def original_content; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def system_id; end private - # source://nokogiri//lib/nokogiri/xml/entity_decl.rb#18 + # pkg:gem/nokogiri#lib/nokogiri/xml/entity_decl.rb:18 def inspect_attributes; end class << self - # source://nokogiri//lib/nokogiri/xml/entity_decl.rb#12 + # pkg:gem/nokogiri#lib/nokogiri/xml/entity_decl.rb:12 def new(name, doc, *args); end end end @@ -3928,21 +3928,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::EntityReference < ::Nokogiri::XML::Node - # source://nokogiri//lib/nokogiri/xml/entity_reference.rb#6 + # pkg:gem/nokogiri#lib/nokogiri/xml/entity_reference.rb:6 def children; end - # source://nokogiri//lib/nokogiri/xml/entity_reference.rb#15 + # pkg:gem/nokogiri#lib/nokogiri/xml/entity_reference.rb:15 def inspect_attributes; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Namespace include ::Nokogiri::XML::PP::Node @@ -3981,23 +3981,23 @@ class Nokogiri::XML::Namespace # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/xml/namespace.rb#46 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/namespace.rb:8 def document; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def href; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def prefix; end private - # source://nokogiri//lib/nokogiri/xml/namespace.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/namespace.rb:52 def inspect_attributes; end end @@ -4049,7 +4049,7 @@ end # # See the method group entitled Node@Searching+via+XPath+or+CSS+Queries for the full set of methods. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Node include ::Nokogiri::HTML5::Node include ::Nokogiri::XML::PP::Node @@ -4079,7 +4079,7 @@ class Nokogiri::XML::Node # # @return [Node] a new instance of Node # - # source://nokogiri//lib/nokogiri/xml/node.rb#126 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:126 def initialize(name, document); end # Add +node_or_tags+ as a child of this Node. @@ -4091,18 +4091,18 @@ class Nokogiri::XML::Node # # Also see related method +add_child+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#292 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1330 def ==(other); end # :call-seq: [](name) → (String, nil) @@ -4135,7 +4135,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:587 def [](name); end # :call-seq: []=(name, value) → value @@ -4172,12 +4172,12 @@ class Nokogiri::XML::Node # # " \n" + # # "\n" # - # source://nokogiri//lib/nokogiri/xml/node.rb#625 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1324 def accept(visitor); end # Add +node_or_tags+ as a child of this Node. @@ -4190,7 +4190,7 @@ class Nokogiri::XML::Node # # Also see related method +<<+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#184 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:184 def add_child(node_or_tags); end # :call-seq: add_class(names) → self @@ -4234,13 +4234,13 @@ class Nokogiri::XML::Node # node # =>
# node.add_class(["section", "header"]) # =>
# - # source://nokogiri//lib/nokogiri/xml/node.rb#790 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:790 def add_class(names); end - # source://nokogiri//lib/nokogiri/xml/node.rb#544 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:544 def add_namespace(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def add_namespace_definition(_arg0, _arg1); end # Insert +node_or_tags+ after this Node (as a sibling). @@ -4255,7 +4255,7 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#324 + # pkg:gem/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). @@ -4270,7 +4270,7 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#307 + # pkg:gem/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). @@ -4282,13 +4282,13 @@ class Nokogiri::XML::Node # # Also see related method +add_next_sibling+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#354 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1293 def ancestors(selector = T.unsafe(nil)); end # :call-seq: append_class(names) → self @@ -4330,7 +4330,7 @@ class Nokogiri::XML::Node # node.append_class(["section", "header"]) # =>
# node.append_class(["section", "header"]) # =>
# - # source://nokogiri//lib/nokogiri/xml/node.rb#834 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:834 def append_class(names); end # :call-seq: [](name) → (String, nil) @@ -4363,16 +4363,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#1082 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1082 def attr(name); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute_nodes; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute_with_ns(_arg0, _arg1); end # :call-seq: attributes() → Hash @@ -4429,7 +4429,7 @@ class Nokogiri::XML::Node # # value = "tall" # # })} # - # source://nokogiri//lib/nokogiri/xml/node.rb#684 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:684 def attributes; end # Insert +node_or_tags+ before this node (as a sibling). @@ -4441,26 +4441,26 @@ class Nokogiri::XML::Node # # Also see related method +add_previous_sibling+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#340 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:340 def before(node_or_tags); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def blank?; end - # source://nokogiri//lib/nokogiri/xml/node.rb#1492 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1214 def cdata?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def child; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def children; end # Set the content for this Node +node_or_tags+ @@ -4470,7 +4470,7 @@ class Nokogiri::XML::Node # # Also see related method +inner_html=+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#385 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:385 def children=(node_or_tags); end # :call-seq: classes() → Array @@ -4492,7 +4492,7 @@ class Nokogiri::XML::Node # node # =>
# node.classes # => ["section", "title", "header"] # - # source://nokogiri//lib/nokogiri/xml/node.rb#744 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:744 def classes; end # :call-seq: @@ -4508,17 +4508,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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1209 def comment?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def content; end # call-seq: @@ -4563,21 +4563,21 @@ class Nokogiri::XML::Node # # See also: #native_content= # - # source://nokogiri//lib/nokogiri/xml/node.rb#487 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:487 def content=(string); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def create_external_subset(_arg0, _arg1, _arg2); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1284 def css_path; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def data_ptr?; end # :call-seq: deconstruct_keys(array_of_names) → Hash @@ -4629,12 +4629,12 @@ class Nokogiri::XML::Node # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/xml/node.rb#1553 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:168 def decorate!; end # Adds a default namespace supplied as a string +url+ href, to self. @@ -4643,18 +4643,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:503 def default_namespace=(url); end # Remove the attribute named +name+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#1080 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1251 def description; end # Do xinclude substitution on the subtree below node. If given a block, a @@ -4663,17 +4663,17 @@ class Nokogiri::XML::Node # # @yield [options] # - # source://nokogiri//lib/nokogiri/xml/node.rb#530 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:530 def do_xinclude(options = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1229 def document?; end # :call-seq: @@ -4689,54 +4689,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 + # pkg:gem/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 + # pkg:gem/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#1269 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1265 def element?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def element_children; end - # source://nokogiri//lib/nokogiri/xml/node.rb#553 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:553 def elements; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def encode_special_chars(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def external_subset; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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/xml/node.rb#1097 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1244 def fragment?; end # :call-seq: [](name) → (String, nil) @@ -4769,22 +4769,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#1081 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1081 def get_attribute(name); end - # source://nokogiri//lib/nokogiri/xml/node.rb#1084 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1224 def html?; end # Get the inner_html for this node's Node#children # - # source://nokogiri//lib/nokogiri/xml/node.rb#1279 + # pkg:gem/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+. @@ -4802,23 +4802,23 @@ class Nokogiri::XML::Node # # Also see related method +children=+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#374 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:374 def inner_html=(node_or_tags); end # :section: # - # source://nokogiri//lib/nokogiri/xml/node.rb#548 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:548 def inner_text; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def internal_subset; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:704 def keys; end # :call-seq: @@ -4872,7 +4872,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri//lib/nokogiri/xml/node.rb#967 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:967 def kwattr_add(attribute_name, keywords); end # :call-seq: @@ -4921,7 +4921,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri//lib/nokogiri/xml/node.rb#1020 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1020 def kwattr_append(attribute_name, keywords); end # :call-seq: @@ -4960,7 +4960,7 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri//lib/nokogiri/xml/node.rb#1063 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1063 def kwattr_remove(attribute_name, keywords); end # :call-seq: @@ -4989,38 +4989,38 @@ class Nokogiri::XML::Node # # Since v1.11.0 # - # source://nokogiri//lib/nokogiri/xml/node.rb#913 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:913 def kwattr_values(attribute_name); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def lang; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def lang=(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def last_element_child; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def line; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1090 def matches?(selector); end - # source://nokogiri//lib/nokogiri/xml/node.rb#551 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:551 def name; end - # source://nokogiri//lib/nokogiri/xml/node.rb#543 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:543 def name=(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def namespace; end # Set the default namespace on this node (as would be defined with an @@ -5029,16 +5029,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:513 def namespace=(ns); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def namespace_definitions; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def namespace_scopes; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def namespaced_key?(_arg0, _arg1); end # :call-seq: @@ -5077,13 +5077,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1200 def namespaces; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_content=(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node.rb#538 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:538 def next; end # Insert +node_or_tags+ after this Node (as a sibling). @@ -5098,30 +5098,30 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#540 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:540 def next=(node_or_tags); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def next_element; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def next_sibling; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def node_name; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def node_name=(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def node_type; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def parent; end # Set the parent Node for this Node # - # source://nokogiri//lib/nokogiri/xml/node.rb#493 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:493 def parent=(parent_node); end # Parse +string_or_io+ as a document fragment within the context of @@ -5130,13 +5130,13 @@ class Nokogiri::XML::Node # # @yield [options] # - # source://nokogiri//lib/nokogiri/xml/node.rb#1105 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1105 def parse(string_or_io, options = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def path; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def pointer_id; end # Add +node_or_tags+ as the first child of this Node. @@ -5149,10 +5149,10 @@ class Nokogiri::XML::Node # # Also see related method +add_child+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#204 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:204 def prepend_child(node_or_tags); end - # source://nokogiri//lib/nokogiri/xml/node.rb#539 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:539 def previous; end # Insert +node_or_tags+ before this Node (as a sibling). @@ -5167,35 +5167,35 @@ class Nokogiri::XML::Node # # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#541 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:541 def previous=(node_or_tags); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def previous_element; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1259 def read_only?; end - # source://nokogiri//lib/nokogiri/xml/node.rb#542 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:542 def remove; end # Remove the attribute named +name+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#718 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:718 def remove_attribute(name); end # :call-seq: @@ -5244,7 +5244,7 @@ class Nokogiri::XML::Node # node # =>
# node.remove_class(["section", "float"]) # =>
# - # source://nokogiri//lib/nokogiri/xml/node.rb#884 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:884 def remove_class(names = T.unsafe(nil)); end # Replace this Node with +node_or_tags+. @@ -5257,7 +5257,7 @@ class Nokogiri::XML::Node # # Also see related method +swap+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#405 + # pkg:gem/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. @@ -5272,7 +5272,7 @@ class Nokogiri::XML::Node # config.format.as_xml # end # - # source://nokogiri//lib/nokogiri/xml/node.rb#1364 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1364 def serialize(*args, &block); end # :call-seq: []=(name, value) → value @@ -5309,7 +5309,7 @@ class Nokogiri::XML::Node # # " \n" + # # "\n" # - # source://nokogiri//lib/nokogiri/xml/node.rb#1083 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1083 def set_attribute(name, value); end # Swap this Node for +node_or_tags+ @@ -5321,17 +5321,17 @@ class Nokogiri::XML::Node # # Also see related method +replace+. # - # source://nokogiri//lib/nokogiri/xml/node.rb#439 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:439 def swap(node_or_tags); end - # source://nokogiri//lib/nokogiri/xml/node.rb#549 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1239 def text?; end # Serialize this Node to HTML @@ -5341,16 +5341,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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1274 def to_s; end - # source://nokogiri//lib/nokogiri/xml/node.rb#550 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:550 def to_str; end # Serialize this Node to XHTML using +options+ @@ -5358,7 +5358,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#1412 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1412 def to_xhtml(options = T.unsafe(nil)); end # Serialize this Node to XML using +options+ @@ -5366,7 +5366,7 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of +options+ # - # source://nokogiri//lib/nokogiri/xml/node.rb#1401 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1401 def to_xml(options = T.unsafe(nil)); end # Yields self and all children to +block+ recursively. @@ -5374,25 +5374,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1317 def traverse(&block); end - # source://nokogiri//lib/nokogiri/xml/node.rb#552 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:552 def type; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:692 def values; end # :call-seq: @@ -5439,14 +5439,14 @@ class Nokogiri::XML::Node # # # # # - # source://nokogiri//lib/nokogiri/xml/node.rb#259 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1469 def write_html_to(io, options = T.unsafe(nil)); end # :call-seq: @@ -5473,14 +5473,14 @@ class Nokogiri::XML::Node # # @yield [config] # - # source://nokogiri//lib/nokogiri/xml/node.rb#1440 + # pkg:gem/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 + # pkg:gem/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+ @@ -5489,342 +5489,342 @@ class Nokogiri::XML::Node # # See Node#write_to for a list of options # - # source://nokogiri//lib/nokogiri/xml/node.rb#1487 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1219 def xml?; end protected # @raise [ArgumentError] # - # source://nokogiri//lib/nokogiri/xml/node.rb#1567 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1567 def coerce(data); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_copy_with_args(_arg0, _arg1, _arg2); end private - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def add_child_node(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node.rb#1639 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1639 def add_child_node_and_reparent_attrs(node); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def add_next_sibling_node(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def add_previous_sibling_node(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node.rb#1601 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1601 def add_sibling(next_or_previous, node_or_tags); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def compare(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def dump_html; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def get(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def html_standard_serialize(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def in_context(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/xml/node.rb#1633 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1633 def inspect_attributes; end - # source://nokogiri//lib/nokogiri/xml/node.rb#1589 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1589 def keywordify(keywords); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_write_to(_arg0, _arg1, _arg2, _arg3); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def prepend_newline?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def process_xincludes(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def replace_node(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def set(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def set_namespace(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node.rb#1623 + # pkg:gem/nokogiri#lib/nokogiri/xml/node.rb:1623 def to_format(save_option, options); end - # source://nokogiri//lib/nokogiri/xml/node.rb#1628 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end end end # Attribute declaration type # -# source://nokogiri//lib/nokogiri/xml/node.rb#93 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def as_html; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def as_html?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def as_xhtml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def as_xhtml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def as_xml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def as_xml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def default_html; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def default_html?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def default_xhtml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def default_xhtml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def default_xml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def default_xml?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def format; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def format?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#66 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:66 def inspect; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def no_declaration; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def no_declaration?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def no_empty_tags; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def no_empty_tags?; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/nokogiri#lib/nokogiri/xml/node/save_options.rb:52 def no_xhtml; end - # source://nokogiri//lib/nokogiri/xml/node/save_options.rb#52 + # pkg:gem/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 + # pkg:gem/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#64 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -5835,7 +5835,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::NodeSet include ::Nokogiri::XML::Searchable include ::Enumerable @@ -5846,7 +5846,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 + # pkg:gem/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] @@ -5860,29 +5860,29 @@ class Nokogiri::XML::NodeSet # # node_set.at(3) # same as node_set[3] # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#128 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:128 def %(*args); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def &(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node_set.rb#433 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:433 def +(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def -(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node_set.rb#75 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:395 def ==(other); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def [](*_arg0); end # Add the class attribute +name+ to all Node objects in the @@ -5890,12 +5890,12 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#add_class for more information. # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#141 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:71 def after(datum); end # Append the class attribute +name+ to all Node objects in the @@ -5903,7 +5903,7 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#append_class for more information. # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#153 + # pkg:gem/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] @@ -5917,7 +5917,7 @@ class Nokogiri::XML::NodeSet # # node_set.at(3) # same as node_set[3] # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#121 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:121 def at(*args); end # Set attributes on each Node in the NodeSet, or get an @@ -5952,7 +5952,7 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#205 + # pkg:gem/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 @@ -5987,18 +5987,18 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#221 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:408 def children; end # call-seq: css *rules, [namespace-bindings, custom-pseudo-class] @@ -6008,7 +6008,7 @@ class Nokogiri::XML::NodeSet # # For more information see Nokogiri::XML::Searchable#css # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#85 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:85 def css(*args); end # :call-seq: deconstruct() → Array @@ -6017,55 +6017,55 @@ class Nokogiri::XML::NodeSet # # Since v1.14.0 # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#442 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:442 def deconstruct; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:31 def first(n = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:262 def inner_html(*args); end # Get the inner text of all contained Node objects @@ -6081,42 +6081,42 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#content for more information. # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#255 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:41 def last; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:376 def pop; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def push(_arg0); end - # source://nokogiri//lib/nokogiri/xml/node_set.rb#76 + # pkg:gem/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 + # pkg:gem/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#229 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:229 def remove_attribute(name); end # Remove the class attribute +name+ from all Node objects in the @@ -6124,13 +6124,13 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#remove_class for more information. # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#165 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:419 def reverse; end # Set attributes on each Node in the NodeSet, or get an @@ -6165,19 +6165,19 @@ class Nokogiri::XML::NodeSet # # node_set.attr("class") { |node| node.name } # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#220 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:385 def shift; end - # source://nokogiri//lib/nokogiri/xml/node_set.rb#370 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:370 def size; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def slice(*_arg0); end # Get the inner text of all contained Node objects @@ -6193,36 +6193,36 @@ class Nokogiri::XML::NodeSet # # See Nokogiri::XML::Node#content for more information. # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#258 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:258 def text; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def to_a; end - # source://nokogiri//lib/nokogiri/xml/node_set.rb#371 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:366 def to_xml(*args); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def unlink; end # :call-seq: @@ -6289,7 +6289,7 @@ class Nokogiri::XML::NodeSet # # # # # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#330 + # pkg:gem/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] @@ -6299,48 +6299,48 @@ class Nokogiri::XML::NodeSet # # For more information see Nokogiri::XML::Searchable#xpath # - # source://nokogiri//lib/nokogiri/xml/node_set.rb#101 + # pkg:gem/nokogiri#lib/nokogiri/xml/node_set.rb:101 def xpath(*args); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def |(_arg0); end private - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_copy(_arg0); end end -# source://nokogiri//lib/nokogiri/xml/node_set.rb#446 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/xml/notation.rb:6 class Nokogiri::XML::Notation < ::Struct; end -# source://nokogiri//lib/nokogiri/xml/pp/node.rb#6 +# pkg:gem/nokogiri#lib/nokogiri/xml/pp/node.rb:6 module Nokogiri::XML::PP; end -# source://nokogiri//lib/nokogiri/xml/pp/character_data.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/xml/pp/character_data.rb:7 module Nokogiri::XML::PP::CharacterData - # source://nokogiri//lib/nokogiri/xml/pp/character_data.rb#15 + # pkg:gem/nokogiri#lib/nokogiri/xml/pp/character_data.rb:15 def inspect; end - # source://nokogiri//lib/nokogiri/xml/pp/character_data.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/xml/pp/character_data.rb:8 def pretty_print(pp); end end -# source://nokogiri//lib/nokogiri/xml/pp/node.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/xml/pp/node.rb:7 module Nokogiri::XML::PP::Node - # source://nokogiri//lib/nokogiri/xml/pp/node.rb#10 + # pkg:gem/nokogiri#lib/nokogiri/xml/pp/node.rb:10 def inspect; end - # source://nokogiri//lib/nokogiri/xml/pp/node.rb#32 + # pkg:gem/nokogiri#lib/nokogiri/xml/pp/node.rb:32 def pretty_print(pp); end end -# source://nokogiri//lib/nokogiri/xml/pp/node.rb#8 +# pkg:gem/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, @@ -6404,267 +6404,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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:165 def initialize(options = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#198 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:198 def ==(other); end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def big_lines; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def big_lines?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def compact; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def compact?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_html; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_html?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_schema; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_schema?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_xml; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_xml?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_xslt; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def default_xslt?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def dtdattr; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def dtdattr?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def dtdload; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def dtdload?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def dtdvalid; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def dtdvalid?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def huge; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def huge?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#204 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:204 def inspect; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nobasefix; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nobasefix?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nobig_lines; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noblanks; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noblanks?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nocdata; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nocdata?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nocompact; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodefault_html; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodefault_schema; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodefault_xml; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodefault_xslt; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodict; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodict?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodtdattr; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodtdload; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nodtdvalid; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noent; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noent?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noerror; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noerror?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nohuge; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonet; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonet?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonobasefix; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonoblanks; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonocdata; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonodict; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonoent; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonoerror; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nononet; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonowarning; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonoxincnode; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nonsclean; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noold10; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nopedantic; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def norecover; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nosax1; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nowarning; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nowarning?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noxinclude; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noxincnode; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def noxincnode?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nsclean; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def nsclean?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def old10; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:163 def options=(_arg0); end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def pedantic; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def pedantic?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def recover; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def recover?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def sax1; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def sax1?; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#189 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:189 def strict; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#194 + # pkg:gem/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#202 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:202 def to_i; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def xinclude; end - # source://nokogiri//lib/nokogiri/xml/parse_options.rb#172 + # pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:172 def xinclude?; end end @@ -6672,7 +6672,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 +# pkg:gem/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. @@ -6680,71 +6680,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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:118 Nokogiri::XML::ParseOptions::NODICT = T.let(T.unsafe(nil), Integer) # Substitute entities. Off by default. @@ -6753,12 +6753,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 +# pkg:gem/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 +# pkg:gem/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, @@ -6766,64 +6766,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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/xml/parse_options.rb:109 Nokogiri::XML::ParseOptions::XINCLUDE = T.let(T.unsafe(nil), Integer) -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::ProcessingInstruction < ::Nokogiri::XML::Node # @return [ProcessingInstruction] a new instance of ProcessingInstruction # - # source://nokogiri//lib/nokogiri/xml/processing_instruction.rb#6 + # pkg:gem/nokogiri#lib/nokogiri/xml/processing_instruction.rb:6 def initialize(document, name, content); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(*_arg0); end end end @@ -6857,25 +6857,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Reader include ::Enumerable # @return [Reader] a new instance of Reader # - # source://nokogiri//lib/nokogiri/xml/reader.rb#114 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute_at(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute_count; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attribute_hash; end # Get the attributes and namespaces of the current node as a Hash. @@ -6885,97 +6885,97 @@ class Nokogiri::XML::Reader # [Returns] # (Hash) Attribute names and values, and namespace prefixes and hrefs. # - # source://nokogiri//lib/nokogiri/xml/reader.rb#126 + # pkg:gem/nokogiri#lib/nokogiri/xml/reader.rb:126 def attributes; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def attributes?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def base_uri; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def default?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/reader.rb:132 def each; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def empty_element?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def encoding; end # A list of errors encountered while parsing # - # source://nokogiri//lib/nokogiri/xml/reader.rb#74 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/reader.rb:74 def errors=(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def inner_xml; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def lang; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def local_name; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def name; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def namespace_uri; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def namespaces; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def node_type; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def outer_xml; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def prefix; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def read; end - # source://nokogiri//lib/nokogiri/xml/reader.rb#79 + # pkg:gem/nokogiri#lib/nokogiri/xml/reader.rb:79 def self_closing?; end # The \XML source # - # source://nokogiri//lib/nokogiri/xml/reader.rb#77 + # pkg:gem/nokogiri#lib/nokogiri/xml/reader.rb:77 def source; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def state; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def value; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def value?; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def xml_version; end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def from_io(*_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def from_memory(*_arg0); end # :call-seq: @@ -6997,97 +6997,97 @@ class Nokogiri::XML::Reader # # @yield [options] # - # source://nokogiri//lib/nokogiri/xml/reader.rb#99 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -7116,15 +7116,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema private - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def validate_document(_arg0); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def from_document(*_arg0); end # :call-seq: @@ -7145,7 +7145,7 @@ class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema # # Also see convenience method Nokogiri::XML::RelaxNG() # - # source://nokogiri//lib/nokogiri/xml/relax_ng.rb#60 + # pkg:gem/nokogiri#lib/nokogiri/xml/relax_ng.rb:60 def new(input, parse_options_ = T.unsafe(nil), options: T.unsafe(nil)); end # :call-seq: @@ -7154,7 +7154,7 @@ class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema # # Convenience method for Nokogiri::XML::RelaxNG.new. # - # source://nokogiri//lib/nokogiri/xml/relax_ng.rb#69 + # pkg:gem/nokogiri#lib/nokogiri/xml/relax_ng.rb:69 def read_memory(*_arg0, **_arg1, &_arg2); end end end @@ -7199,7 +7199,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::XML::SAX; end # :markup: markdown @@ -7255,13 +7255,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 +# pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:245 def cdata_block(string); end # Called when character data is parsed, and for parsed entities when @@ -7274,19 +7274,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:83 def end_document; end # Called at the end of an element. @@ -7294,7 +7294,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:122 def end_element(name); end # Called at the end of an element. @@ -7304,14 +7304,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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:238 def error(string); end # Called when processing instructions are found @@ -7319,7 +7319,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:253 def processing_instruction(name, content); end # Called when a parsed entity is referenced and not replaced. @@ -7334,12 +7334,12 @@ class Nokogiri::XML::SAX::Document # # Since v1.17.0 # - # source://nokogiri//lib/nokogiri/xml/sax/document.rb#217 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:78 def start_document; end # Called at the beginning of an element. @@ -7368,7 +7368,7 @@ class Nokogiri::XML::SAX::Document # ] # end # - # source://nokogiri//lib/nokogiri/xml/sax/document.rb#113 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:113 def start_element(name, attrs = T.unsafe(nil)); end # Called at the beginning of an element. @@ -7411,14 +7411,14 @@ class Nokogiri::XML::SAX::Document # end # end # - # source://nokogiri//lib/nokogiri/xml/sax/document.rb#166 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:231 def warning(string); end # Called when an \XML declaration is parsed. @@ -7428,7 +7428,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/document.rb:73 def xmldecl(version, encoding, standalone); end end @@ -7463,7 +7463,7 @@ end # # For \HTML documents, use the subclass Nokogiri::HTML4::SAX::Parser. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::SAX::Parser include ::Nokogiri::ClassResolver @@ -7483,27 +7483,27 @@ class Nokogiri::XML::SAX::Parser # # @return [Parser] a new instance of Parser # - # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#95 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser.rb:78 def encoding=(_arg0); end # :call-seq: @@ -7521,7 +7521,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser.rb:119 def parse(input, &block); end # :call-seq: @@ -7542,7 +7542,7 @@ class Nokogiri::XML::SAX::Parser # @raise [ArgumentError] # @yield [ctx] # - # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#187 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser.rb:187 def parse_file(filename, encoding = T.unsafe(nil)); end # :call-seq: @@ -7562,7 +7562,7 @@ class Nokogiri::XML::SAX::Parser # # @yield [ctx] # - # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#143 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser.rb:143 def parse_io(io, encoding = T.unsafe(nil)); end # :call-seq: @@ -7582,26 +7582,26 @@ class Nokogiri::XML::SAX::Parser # # @yield [ctx] # - # source://nokogiri//lib/nokogiri/xml/sax/parser.rb#165 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -7609,27 +7609,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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::SAX::ParserContext - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def column; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def line; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def parse_with(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def recovery; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def recovery=(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def replace_entities; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def replace_entities=(_arg0); end class << self @@ -7649,7 +7649,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser_context.rb:97 def file(input, encoding = T.unsafe(nil)); end # :call-seq: @@ -7668,7 +7668,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser_context.rb:56 def io(input, encoding = T.unsafe(nil)); end # :call-seq: @@ -7687,16 +7687,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser_context.rb:77 def memory(input, encoding = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_file(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_io(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_memory(_arg0, _arg1); end # :call-seq: @@ -7716,12 +7716,12 @@ class Nokogiri::XML::SAX::ParserContext # # [Returns] Nokogiri::XML::SAX::ParserContext # - # source://nokogiri//lib/nokogiri/xml/sax/parser_context.rb#31 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/parser_context.rb:101 def resolve_encoding(encoding); end end end @@ -7747,32 +7747,32 @@ end # parser << "/div>" # parser.finish # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 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 + # pkg:gem/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#50 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/push_parser.rb:30 def document=(_arg0); end # Finish the parsing. This method is only necessary for @@ -7781,33 +7781,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/sax/push_parser.rb:58 def finish; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def options; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def options=(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def replace_entities; end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def initialize_native(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def native_write(_arg0, _arg1); end end @@ -7840,34 +7840,34 @@ end # doc = Nokogiri::XML::Document.parse(File.read(XML_FILE)) # schema.valid?(doc) # Boolean # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Schema # The errors found while parsing the \XSD # # [Returns] Array # - # source://nokogiri//lib/nokogiri/xml/schema.rb#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/schema.rb:54 def parse_options=(_arg0); end # :call-seq: valid?(input) → Boolean @@ -7892,7 +7892,7 @@ class Nokogiri::XML::Schema # # @return [Boolean] # - # source://nokogiri//lib/nokogiri/xml/schema.rb#135 + # pkg:gem/nokogiri#lib/nokogiri/xml/schema.rb:135 def valid?(input); end # :call-seq: validate(input) → Array @@ -7915,19 +7915,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/schema.rb:104 def validate(input); end private - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def validate_document(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def validate_file(_arg0); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def from_document(*_arg0); end # :call-seq: @@ -7943,7 +7943,7 @@ class Nokogiri::XML::Schema # # [Returns] Nokogiri::XML::Schema # - # source://nokogiri//lib/nokogiri/xml/schema.rb#69 + # pkg:gem/nokogiri#lib/nokogiri/xml/schema.rb:69 def new(input, parse_options_ = T.unsafe(nil), parse_options: T.unsafe(nil)); end # :call-seq: @@ -7952,7 +7952,7 @@ class Nokogiri::XML::Schema # # Convenience method for Nokogiri::XML::Schema.new # - # source://nokogiri//lib/nokogiri/xml/schema.rb#78 + # pkg:gem/nokogiri#lib/nokogiri/xml/schema.rb:78 def read_memory(*_arg0, **_arg1, &_arg2); end end end @@ -7963,7 +7963,7 @@ end # as well as allowing specific implementations to specialize some # of the important behaviors. # -# source://nokogiri//lib/nokogiri/xml/searchable.rb#13 +# pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:13 module Nokogiri::XML::Searchable # call-seq: # at(*paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class]) @@ -7973,7 +7973,7 @@ module Nokogiri::XML::Searchable # # See Searchable#search for more information. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#78 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:78 def %(*args); end # call-seq: @@ -8010,7 +8010,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath and Searchable#css for further usage help. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#64 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:64 def /(*args); end # :call-seq: @@ -8018,7 +8018,7 @@ module Nokogiri::XML::Searchable # # Search this node's immediate children using CSS selector +selector+ # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#201 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:201 def >(selector); end # call-seq: @@ -8029,7 +8029,7 @@ module Nokogiri::XML::Searchable # # See Searchable#search for more information. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#74 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:74 def at(*args); end # call-seq: @@ -8040,7 +8040,7 @@ module Nokogiri::XML::Searchable # # See Searchable#css for more information. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#143 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:143 def at_css(*args); end # call-seq: @@ -8051,7 +8051,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath for more information. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#193 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:193 def at_xpath(*args); end # call-seq: @@ -8103,7 +8103,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 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:129 def css(*args); end # call-seq: @@ -8140,7 +8140,7 @@ module Nokogiri::XML::Searchable # # See Searchable#xpath and Searchable#css for further usage help. # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#54 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:54 def search(*args); end # call-seq: @@ -8174,95 +8174,95 @@ module Nokogiri::XML::Searchable # }.new # node.xpath('.//title[nokogiri:regex(., "\w+")]', handler) # - # source://nokogiri//lib/nokogiri/xml/searchable.rb#179 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:179 def xpath(*args); end private - # source://nokogiri//lib/nokogiri/xml/searchable.rb#228 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:228 def css_internal(node, rules, handler, ns); end - # source://nokogiri//lib/nokogiri/xml/searchable.rb#232 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:232 def css_rules_to_xpath(rules, ns); end - # source://nokogiri//lib/nokogiri/xml/searchable.rb#210 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:210 def extract_params(params); end - # source://nokogiri//lib/nokogiri/xml/searchable.rb#263 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:263 def xpath_impl(node, path, handler, ns, binds); end - # source://nokogiri//lib/nokogiri/xml/searchable.rb#248 + # pkg:gem/nokogiri#lib/nokogiri/xml/searchable.rb:248 def xpath_internal(node, paths, handler, ns, binds); end - # source://nokogiri//lib/nokogiri/xml/searchable.rb#236 + # pkg:gem/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 +# pkg:gem/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/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::SyntaxError < ::Nokogiri::SyntaxError # Returns the value of attribute code. # - # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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`. @@ -8273,132 +8273,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/syntax_error.rb:38 def str3; end - # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#66 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/syntax_error.rb:50 def warning?; end private - # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#75 + # pkg:gem/nokogiri#lib/nokogiri/xml/syntax_error.rb:75 def level_to_s; end - # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#87 + # pkg:gem/nokogiri#lib/nokogiri/xml/syntax_error.rb:87 def location_to_s; end # @return [Boolean] # - # source://nokogiri//lib/nokogiri/xml/syntax_error.rb#83 + # pkg:gem/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 + # pkg:gem/nokogiri#lib/nokogiri/xml/syntax_error.rb:10 def aggregate(errors); end end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::Text < ::Nokogiri::XML::CharacterData - # source://nokogiri//lib/nokogiri/xml/text.rb#6 + # pkg:gem/nokogiri#lib/nokogiri/xml/text.rb:6 def content=(string); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/xml.rb:15 Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0 = T.let(T.unsafe(nil), Integer) -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/nokogiri#lib/nokogiri/xml/xpath.rb:16 Nokogiri::XML::XPath::SUBTREE_SEARCH_PREFIX = T.let(T.unsafe(nil), String) -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError - # source://nokogiri//lib/nokogiri/xml/xpath/syntax_error.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/xml/xpath/syntax_error.rb:7 def to_s; end end -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XML::XPathContext - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def evaluate(*_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def node=(_arg0); end # Register namespaces in +namespaces+ # - # source://nokogiri//lib/nokogiri/xml/xpath_context.rb#8 + # pkg:gem/nokogiri#lib/nokogiri/xml/xpath_context.rb:8 def register_namespaces(namespaces); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def register_ns(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def register_variable(_arg0, _arg1); end - # source://nokogiri//lib/nokogiri/xml/xpath_context.rb#16 + # pkg:gem/nokogiri#lib/nokogiri/xml/xpath_context.rb:16 def register_variables(binds); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def new(_arg0); end end end @@ -8406,7 +8406,7 @@ end # See Nokogiri::XSLT::Stylesheet for creating and manipulating # Stylesheet object. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 module Nokogiri::XSLT class << self # :call-seq: @@ -8462,7 +8462,7 @@ module Nokogiri::XSLT # # " raB\n" + # # "\n" # - # source://nokogiri//lib/nokogiri/xslt.rb#70 + # pkg:gem/nokogiri#lib/nokogiri/xslt.rb:70 def parse(string, modules = T.unsafe(nil)); end # :call-seq: @@ -8476,10 +8476,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 + # pkg:gem/nokogiri#lib/nokogiri/xslt.rb:94 def quote_params(params); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def register(_arg0, _arg1); end end end @@ -8508,7 +8508,7 @@ end # # See Nokogiri::XSLT::Stylesheet#transform for more information and examples. # -# source://nokogiri//lib/nokogiri/extension.rb#7 +# pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 class Nokogiri::XSLT::Stylesheet # :call-seq: # apply_to(document, params = []) -> String @@ -8525,17 +8525,17 @@ class Nokogiri::XSLT::Stylesheet # # See Nokogiri::XSLT::Stylesheet#transform for more information and examples. # - # source://nokogiri//lib/nokogiri/xslt/stylesheet.rb#44 + # pkg:gem/nokogiri#lib/nokogiri/xslt/stylesheet.rb:44 def apply_to(document, params = T.unsafe(nil)); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def serialize(_arg0); end - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def transform(*_arg0); end class << self - # source://nokogiri//lib/nokogiri/extension.rb#7 + # pkg:gem/nokogiri#lib/nokogiri/extension.rb:7 def parse_stylesheet_doc(_arg0); end end end @@ -8546,6 +8546,6 @@ class Object < ::BasicObject private - # source://nokogiri//lib/nokogiri.rb#108 + # pkg:gem/nokogiri#lib/nokogiri.rb:108 def Nokogiri(*args, &block); end end diff --git a/sorbet/rbi/gems/ostruct@0.6.2.rbi b/sorbet/rbi/gems/ostruct@0.6.2.rbi index 81ed28cf4..b973b2606 100644 --- a/sorbet/rbi/gems/ostruct@0.6.2.rbi +++ b/sorbet/rbi/gems/ostruct@0.6.2.rbi @@ -101,7 +101,7 @@ # # For all these reasons, consider not using OpenStruct at all. # -# source://ostruct//lib/ostruct.rb#109 +# pkg:gem/ostruct#lib/ostruct.rb:109 class OpenStruct # Creates a new OpenStruct object. By default, the resulting OpenStruct # object will have no attributes. @@ -118,7 +118,7 @@ class OpenStruct # # @return [OpenStruct] a new instance of OpenStruct # - # source://ostruct//lib/ostruct.rb#134 + # pkg:gem/ostruct#lib/ostruct.rb:134 def initialize(hash = T.unsafe(nil)); end # Compares this object and +other+ for equality. An OpenStruct is equal to @@ -133,7 +133,7 @@ class OpenStruct # first_pet == second_pet # => true # first_pet == third_pet # => false # - # source://ostruct//lib/ostruct.rb#423 + # pkg:gem/ostruct#lib/ostruct.rb:423 def ==(other); end # :call-seq: @@ -145,7 +145,7 @@ class OpenStruct # person = OpenStruct.new("name" => "John Smith", "age" => 70) # person[:age] # => 70, same as person.age # - # source://ostruct//lib/ostruct.rb#303 + # pkg:gem/ostruct#lib/ostruct.rb:303 def [](name); end # :call-seq: @@ -158,25 +158,25 @@ class OpenStruct # person[:age] = 42 # equivalent to person.age = 42 # person.age # => 42 # - # source://ostruct//lib/ostruct.rb#318 + # pkg:gem/ostruct#lib/ostruct.rb:318 def []=(name, value); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def __id__!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def __send__!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def abort!(*_args, **_kwargs, &_block); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def class!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def clone!(freeze: T.unsafe(nil)); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def define_singleton_method!(*_arg0); end # Removes the named field from the object and returns the value the field @@ -200,10 +200,10 @@ class OpenStruct # # person.delete_field('number') { 8675_309 } # => 8675309 # - # source://ostruct//lib/ostruct.rb#371 + # pkg:gem/ostruct#lib/ostruct.rb:371 def delete_field(name, &block); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def delete_field!(name, &block); end # :call-seq: @@ -221,16 +221,16 @@ class OpenStruct # person.dig(:address, "zip") # => 12345 # person.dig(:business_address, "zip") # => nil # - # source://ostruct//lib/ostruct.rb#340 + # pkg:gem/ostruct#lib/ostruct.rb:340 def dig(name, *names); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def dig!(name, *names); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def display!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def dup!; end # :call-seq: @@ -244,21 +244,21 @@ class OpenStruct # data = OpenStruct.new("country" => "Australia", :capital => "Canberra") # data.each_pair.to_a # => [[:country, "Australia"], [:capital, "Canberra"]] # - # source://ostruct//lib/ostruct.rb#211 + # pkg:gem/ostruct#lib/ostruct.rb:211 def each_pair; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def each_pair!; end # Provides marshalling support for use by the YAML library. # - # source://ostruct//lib/ostruct.rb#446 + # pkg:gem/ostruct#lib/ostruct.rb:446 def encode_with(coder); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def encode_with!(coder); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def enum_for!(*_arg0); end # Compares this object and +other+ for equality. An OpenStruct is eql? to @@ -267,201 +267,198 @@ class OpenStruct # # @return [Boolean] # - # source://ostruct//lib/ostruct.rb#433 + # pkg:gem/ostruct#lib/ostruct.rb:433 def eql?(other); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def exit!(*_args, **_kwargs, &_block); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def extend!(*_arg0); end - # source://ostruct//lib/ostruct.rb#269 + # pkg:gem/ostruct#lib/ostruct.rb:269 def freeze; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/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//lib/ostruct.rb#439 + # pkg:gem/ostruct#lib/ostruct.rb:439 def hash; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def hash!; end # Provides marshalling support for use by the YAML library. # - # source://ostruct//lib/ostruct.rb#459 + # pkg:gem/ostruct#lib/ostruct.rb:459 def init_with(coder); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def init_with!(coder); end # Returns a string containing a detailed summary of the keys and values. # - # source://ostruct//lib/ostruct.rb#388 + # pkg:gem/ostruct#lib/ostruct.rb:388 def inspect; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def inspect!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def instance_eval!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def instance_exec!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def instance_variable_get!(_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def instance_variable_set!(_arg0, _arg1); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def instance_variables!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def itself!; end # Provides marshalling support for use by the Marshal library. # - # source://ostruct//lib/ostruct.rb#220 + # pkg:gem/ostruct#lib/ostruct.rb:220 def marshal_dump; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def marshal_dump!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def method!(_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def methods!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def object_id!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def pretty_inspect!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def pretty_print!(q); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def pretty_print_cycle!(q); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def pretty_print_inspect!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def pretty_print_instance_variables!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def private_methods!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def protected_methods!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def public_method!(_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def public_methods!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def public_send!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def remove_instance_variable!(_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def send!(*_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def singleton_class!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def singleton_method!(_arg0); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def singleton_methods!(*_arg0); end - # source://ostruct//lib/ostruct.rb#406 + # pkg:gem/ostruct#lib/ostruct.rb:406 def table; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def tap!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def then!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def to_enum!(*_arg0); end - # source://ostruct//lib/ostruct.rb#182 + # pkg:gem/ostruct#lib/ostruct.rb:182 def to_h(&block); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def to_h!(&block); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def to_json!(*_arg0); end # Returns a string containing a detailed summary of the keys and values. # - # source://ostruct//lib/ostruct.rb#404 + # pkg:gem/ostruct#lib/ostruct.rb:404 def to_s; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def to_s!; end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def to_yaml!(options = T.unsafe(nil)); end - # source://ostruct//lib/ostruct.rb#478 + # pkg:gem/ostruct#lib/ostruct.rb:478 def yield_self!; end protected - # source://ostruct//lib/ostruct.rb#407 + # pkg:gem/ostruct#lib/ostruct.rb:407 def table!; end private - # source://ostruct//lib/ostruct.rb#486 + # pkg:gem/ostruct#lib/ostruct.rb:486 def block_given!; end - # source://ostruct//lib/ostruct.rb#147 + # pkg:gem/ostruct#lib/ostruct.rb:147 def initialize_clone(orig); end - # source://ostruct//lib/ostruct.rb#152 + # pkg:gem/ostruct#lib/ostruct.rb:152 def initialize_dup(orig); end - # source://ostruct//lib/ostruct.rb#251 + # pkg:gem/ostruct#lib/ostruct.rb:251 def is_method_protected!(name); end # # Provides marshalling support for use by the Marshal library. # - # source://ostruct//lib/ostruct.rb#227 + # pkg:gem/ostruct#lib/ostruct.rb:227 def marshal_load(hash); end - # source://ostruct//lib/ostruct.rb#274 + # pkg:gem/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//lib/ostruct.rb#234 + # pkg:gem/ostruct#lib/ostruct.rb:234 def new_ostruct_member!(name); end # Other builtin private methods we use: # - # source://ostruct//lib/ostruct.rb#481 + # pkg:gem/ostruct#lib/ostruct.rb:481 def raise!(*_arg0); end # :call-seq: @@ -474,15 +471,15 @@ class OpenStruct # person[:age] = 42 # equivalent to person.age = 42 # person.age # => 42 # - # source://ostruct//lib/ostruct.rb#323 + # pkg:gem/ostruct#lib/ostruct.rb:323 def set_ostruct_member_value!(name, value); end - # source://ostruct//lib/ostruct.rb#157 + # pkg:gem/ostruct#lib/ostruct.rb:157 def update_to_values!(hash); end end -# source://ostruct//lib/ostruct.rb#112 +# pkg:gem/ostruct#lib/ostruct.rb:112 OpenStruct::HAS_PERFORMANCE_WARNINGS = T.let(T.unsafe(nil), TrueClass) -# source://ostruct//lib/ostruct.rb#110 +# pkg:gem/ostruct#lib/ostruct.rb:110 OpenStruct::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/parallel@1.27.0.rbi b/sorbet/rbi/gems/parallel@1.27.0.rbi index 854c48709..d2dd2ba34 100644 --- a/sorbet/rbi/gems/parallel@1.27.0.rbi +++ b/sorbet/rbi/gems/parallel@1.27.0.rbi @@ -5,287 +5,287 @@ # Please instead update this file by running `bin/tapioca gem parallel`. -# source://parallel//lib/parallel/version.rb#2 +# pkg:gem/parallel#lib/parallel/version.rb:2 module Parallel class << self # @return [Boolean] # - # source://parallel//lib/parallel.rb#243 + # pkg:gem/parallel#lib/parallel.rb:243 def all?(*args, &block); end # @return [Boolean] # - # source://parallel//lib/parallel.rb#238 + # pkg:gem/parallel#lib/parallel.rb:238 def any?(*args, &block); end - # source://parallel//lib/parallel.rb#234 + # pkg:gem/parallel#lib/parallel.rb:234 def each(array, options = T.unsafe(nil), &block); end - # source://parallel//lib/parallel.rb#248 + # pkg:gem/parallel#lib/parallel.rb:248 def each_with_index(array, options = T.unsafe(nil), &block); end - # source://parallel//lib/parallel.rb#307 + # pkg:gem/parallel#lib/parallel.rb:307 def filter_map(*_arg0, **_arg1, &_arg2); end - # source://parallel//lib/parallel.rb#303 + # pkg:gem/parallel#lib/parallel.rb:303 def flat_map(*_arg0, **_arg1, &_arg2); end - # source://parallel//lib/parallel.rb#228 + # pkg:gem/parallel#lib/parallel.rb:228 def in_processes(options = T.unsafe(nil), &block); end - # source://parallel//lib/parallel.rb#212 + # pkg:gem/parallel#lib/parallel.rb:212 def in_threads(options = T.unsafe(nil)); end - # source://parallel//lib/parallel.rb#252 + # pkg:gem/parallel#lib/parallel.rb:252 def map(source, options = T.unsafe(nil), &block); end - # source://parallel//lib/parallel.rb#299 + # pkg:gem/parallel#lib/parallel.rb:299 def map_with_index(array, options = T.unsafe(nil), &block); end # Number of physical processor cores on the current system. # - # source://parallel//lib/parallel.rb#312 + # pkg:gem/parallel#lib/parallel.rb:312 def physical_processor_count; end # Number of processors seen by the OS or value considering CPU quota if the process is inside a cgroup, # used for process scheduling # - # source://parallel//lib/parallel.rb#342 + # pkg:gem/parallel#lib/parallel.rb:342 def processor_count; end - # source://parallel//lib/parallel.rb#346 + # pkg:gem/parallel#lib/parallel.rb:346 def worker_number; end # TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed # - # source://parallel//lib/parallel.rb#351 + # pkg:gem/parallel#lib/parallel.rb:351 def worker_number=(worker_num); end private - # source://parallel//lib/parallel.rb#384 + # pkg:gem/parallel#lib/parallel.rb:384 def add_progress_bar!(job_factory, options); end - # source://parallel//lib/parallel.rb#699 + # pkg:gem/parallel#lib/parallel.rb:699 def available_processor_count; end - # source://parallel//lib/parallel.rb#647 + # pkg:gem/parallel#lib/parallel.rb:647 def call_with_index(item, index, options, &block); end - # source://parallel//lib/parallel.rb#579 + # pkg:gem/parallel#lib/parallel.rb:579 def create_workers(job_factory, options, &block); end # options is either a Integer or a Hash with :count # - # source://parallel//lib/parallel.rb#637 + # pkg:gem/parallel#lib/parallel.rb:637 def extract_count_from_options(options); end - # source://parallel//lib/parallel.rb#665 + # pkg:gem/parallel#lib/parallel.rb:665 def instrument_finish(item, index, result, options); end # yield results in the order of the input items # needs to use `options` to store state between executions # needs to use `done` index since a nil result would also be valid # - # source://parallel//lib/parallel.rb#674 + # pkg:gem/parallel#lib/parallel.rb:674 def instrument_finish_in_order(item, index, result, options); end - # source://parallel//lib/parallel.rb#694 + # pkg:gem/parallel#lib/parallel.rb:694 def instrument_start(item, index, options); end - # source://parallel//lib/parallel.rb#357 + # pkg:gem/parallel#lib/parallel.rb:357 def physical_processor_count_windows; end - # source://parallel//lib/parallel.rb#613 + # pkg:gem/parallel#lib/parallel.rb:613 def process_incoming_jobs(read, write, job_factory, options, &block); end - # source://parallel//lib/parallel.rb#567 + # pkg:gem/parallel#lib/parallel.rb:567 def replace_worker(job_factory, workers, index, options, blk); end - # source://parallel//lib/parallel.rb#378 + # pkg:gem/parallel#lib/parallel.rb:378 def run(command); end - # source://parallel//lib/parallel.rb#658 + # pkg:gem/parallel#lib/parallel.rb:658 def with_instrumentation(item, index, options); end - # source://parallel//lib/parallel.rb#409 + # pkg:gem/parallel#lib/parallel.rb:409 def work_direct(job_factory, options, &block); end - # source://parallel//lib/parallel.rb#519 + # pkg:gem/parallel#lib/parallel.rb:519 def work_in_processes(job_factory, options, &blk); end - # source://parallel//lib/parallel.rb#453 + # pkg:gem/parallel#lib/parallel.rb:453 def work_in_ractors(job_factory, options); end - # source://parallel//lib/parallel.rb#428 + # pkg:gem/parallel#lib/parallel.rb:428 def work_in_threads(job_factory, options, &block); end - # source://parallel//lib/parallel.rb#587 + # pkg:gem/parallel#lib/parallel.rb:587 def worker(job_factory, options, &block); end end end -# source://parallel//lib/parallel.rb#11 +# pkg:gem/parallel#lib/parallel.rb:11 class Parallel::Break < ::StandardError # @return [Break] a new instance of Break # - # source://parallel//lib/parallel.rb#14 + # pkg:gem/parallel#lib/parallel.rb:14 def initialize(value = T.unsafe(nil)); end # Returns the value of attribute value. # - # source://parallel//lib/parallel.rb#12 + # pkg:gem/parallel#lib/parallel.rb:12 def value; end end -# source://parallel//lib/parallel.rb#8 +# pkg:gem/parallel#lib/parallel.rb:8 class Parallel::DeadWorker < ::StandardError; end -# source://parallel//lib/parallel.rb#32 +# pkg:gem/parallel#lib/parallel.rb:32 class Parallel::ExceptionWrapper # @return [ExceptionWrapper] a new instance of ExceptionWrapper # - # source://parallel//lib/parallel.rb#35 + # pkg:gem/parallel#lib/parallel.rb:35 def initialize(exception); end # Returns the value of attribute exception. # - # source://parallel//lib/parallel.rb#33 + # pkg:gem/parallel#lib/parallel.rb:33 def exception; end end -# source://parallel//lib/parallel.rb#98 +# pkg:gem/parallel#lib/parallel.rb:98 class Parallel::JobFactory # @return [JobFactory] a new instance of JobFactory # - # source://parallel//lib/parallel.rb#99 + # pkg:gem/parallel#lib/parallel.rb:99 def initialize(source, mutex); end - # source://parallel//lib/parallel.rb#107 + # pkg:gem/parallel#lib/parallel.rb:107 def next; end # generate item that is sent to workers # just index is faster + less likely to blow up with unserializable errors # - # source://parallel//lib/parallel.rb#136 + # pkg:gem/parallel#lib/parallel.rb:136 def pack(item, index); end - # source://parallel//lib/parallel.rb#126 + # pkg:gem/parallel#lib/parallel.rb:126 def size; end # unpack item that is sent to workers # - # source://parallel//lib/parallel.rb#141 + # pkg:gem/parallel#lib/parallel.rb:141 def unpack(data); end private # @return [Boolean] # - # source://parallel//lib/parallel.rb#147 + # pkg:gem/parallel#lib/parallel.rb:147 def producer?; end - # source://parallel//lib/parallel.rb#151 + # pkg:gem/parallel#lib/parallel.rb:151 def queue_wrapper(array); end end -# source://parallel//lib/parallel.rb#20 +# pkg:gem/parallel#lib/parallel.rb:20 class Parallel::Kill < ::Parallel::Break; end -# source://parallel//lib/parallel.rb#6 +# pkg:gem/parallel#lib/parallel.rb:6 Parallel::Stop = T.let(T.unsafe(nil), Object) -# source://parallel//lib/parallel.rb#23 +# pkg:gem/parallel#lib/parallel.rb:23 class Parallel::UndumpableException < ::StandardError # @return [UndumpableException] a new instance of UndumpableException # - # source://parallel//lib/parallel.rb#26 + # pkg:gem/parallel#lib/parallel.rb:26 def initialize(original); end # Returns the value of attribute backtrace. # - # source://parallel//lib/parallel.rb#24 + # pkg:gem/parallel#lib/parallel.rb:24 def backtrace; end end -# source://parallel//lib/parallel.rb#156 +# pkg:gem/parallel#lib/parallel.rb:156 class Parallel::UserInterruptHandler class << self - # source://parallel//lib/parallel.rb#181 + # pkg:gem/parallel#lib/parallel.rb:181 def kill(thing); end # kill all these pids or threads if user presses Ctrl+c # - # source://parallel//lib/parallel.rb#161 + # pkg:gem/parallel#lib/parallel.rb:161 def kill_on_ctrl_c(pids, options); end private - # source://parallel//lib/parallel.rb#205 + # pkg:gem/parallel#lib/parallel.rb:205 def restore_interrupt(old, signal); end - # source://parallel//lib/parallel.rb#190 + # pkg:gem/parallel#lib/parallel.rb:190 def trap_interrupt(signal); end end end -# source://parallel//lib/parallel.rb#157 +# pkg:gem/parallel#lib/parallel.rb:157 Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol) -# source://parallel//lib/parallel/version.rb#3 +# pkg:gem/parallel#lib/parallel/version.rb:3 Parallel::VERSION = T.let(T.unsafe(nil), String) -# source://parallel//lib/parallel/version.rb#3 +# pkg:gem/parallel#lib/parallel/version.rb:3 Parallel::Version = T.let(T.unsafe(nil), String) -# source://parallel//lib/parallel.rb#51 +# pkg:gem/parallel#lib/parallel.rb:51 class Parallel::Worker # @return [Worker] a new instance of Worker # - # source://parallel//lib/parallel.rb#55 + # pkg:gem/parallel#lib/parallel.rb:55 def initialize(read, write, pid); end # might be passed to started_processes and simultaneously closed by another thread # when running in isolation mode, so we have to check if it is closed before closing # - # source://parallel//lib/parallel.rb#68 + # pkg:gem/parallel#lib/parallel.rb:68 def close_pipes; end # Returns the value of attribute pid. # - # source://parallel//lib/parallel.rb#52 + # pkg:gem/parallel#lib/parallel.rb:52 def pid; end # Returns the value of attribute read. # - # source://parallel//lib/parallel.rb#52 + # pkg:gem/parallel#lib/parallel.rb:52 def read; end - # source://parallel//lib/parallel.rb#61 + # pkg:gem/parallel#lib/parallel.rb:61 def stop; end # Returns the value of attribute thread. # - # source://parallel//lib/parallel.rb#53 + # pkg:gem/parallel#lib/parallel.rb:53 def thread; end # Sets the attribute thread # # @param value the value to set the attribute thread to. # - # source://parallel//lib/parallel.rb#53 + # pkg:gem/parallel#lib/parallel.rb:53 def thread=(_arg0); end - # source://parallel//lib/parallel.rb#73 + # pkg:gem/parallel#lib/parallel.rb:73 def work(data); end # Returns the value of attribute write. # - # source://parallel//lib/parallel.rb#52 + # pkg:gem/parallel#lib/parallel.rb:52 def write; end private - # source://parallel//lib/parallel.rb#91 + # pkg:gem/parallel#lib/parallel.rb:91 def wait; end end diff --git a/sorbet/rbi/gems/parser@3.3.10.0.rbi b/sorbet/rbi/gems/parser@3.3.10.0.rbi index 32bdda310..0b690eabd 100644 --- a/sorbet/rbi/gems/parser@3.3.10.0.rbi +++ b/sorbet/rbi/gems/parser@3.3.10.0.rbi @@ -7,12 +7,12 @@ # @api public # -# source://parser//lib/parser.rb#19 +# pkg:gem/parser#lib/parser.rb:19 module Parser; end # @api public # -# source://parser//lib/parser.rb#24 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#20 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/ast/node.rb:18 def location; end end # @api public # -# source://parser//lib/parser/ast/processor.rb#9 +# pkg:gem/parser#lib/parser/ast/processor.rb:9 class Parser::AST::Processor include ::AST::Processor::Mixin # @api public # - # source://parser//lib/parser/ast/processor.rb#179 + # pkg:gem/parser#lib/parser/ast/processor.rb:179 def on_alias(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#222 + # pkg:gem/parser#lib/parser/ast/processor.rb:222 def on_and(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#67 + # pkg:gem/parser#lib/parser/ast/processor.rb:67 def on_and_asgn(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#122 + # pkg:gem/parser#lib/parser/ast/processor.rb:122 def on_arg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#148 + # pkg:gem/parser#lib/parser/ast/processor.rb:148 def on_arg_expr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#103 + # pkg:gem/parser#lib/parser/ast/processor.rb:103 def on_args(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#105 + # pkg:gem/parser#lib/parser/ast/processor.rb:105 def on_argument(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#22 + # pkg:gem/parser#lib/parser/ast/processor.rb:22 def on_array(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#258 + # pkg:gem/parser#lib/parser/ast/processor.rb:258 def on_array_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#259 + # pkg:gem/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#42 + # pkg:gem/parser#lib/parser/ast/processor.rb:42 def on_back_ref(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#240 + # pkg:gem/parser#lib/parser/ast/processor.rb:240 def on_begin(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#195 + # pkg:gem/parser#lib/parser/ast/processor.rb:195 def on_block(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#151 + # pkg:gem/parser#lib/parser/ast/processor.rb:151 def on_block_pass(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#125 + # pkg:gem/parser#lib/parser/ast/processor.rb:125 def on_blockarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#150 + # pkg:gem/parser#lib/parser/ast/processor.rb:150 def on_blockarg_expr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#213 + # pkg:gem/parser#lib/parser/ast/processor.rb:213 def on_break(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#228 + # pkg:gem/parser#lib/parser/ast/processor.rb:228 def on_case(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#246 + # pkg:gem/parser#lib/parser/ast/processor.rb:246 def on_case_match(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#89 + # pkg:gem/parser#lib/parser/ast/processor.rb:89 def on_casgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#157 + # pkg:gem/parser#lib/parser/ast/processor.rb:157 def on_class(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#81 + # pkg:gem/parser#lib/parser/ast/processor.rb:81 def on_const(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#261 + # pkg:gem/parser#lib/parser/ast/processor.rb:261 def on_const_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#190 + # pkg:gem/parser#lib/parser/ast/processor.rb:190 def on_csend(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#41 + # pkg:gem/parser#lib/parser/ast/processor.rb:41 def on_cvar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#65 + # pkg:gem/parser#lib/parser/ast/processor.rb:65 def on_cvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#160 + # pkg:gem/parser#lib/parser/ast/processor.rb:160 def on_def(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#219 + # pkg:gem/parser#lib/parser/ast/processor.rb:219 def on_defined?(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#169 + # pkg:gem/parser#lib/parser/ast/processor.rb:169 def on_defs(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#16 + # pkg:gem/parser#lib/parser/ast/processor.rb:16 def on_dstr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#17 + # pkg:gem/parser#lib/parser/ast/processor.rb:17 def on_dsym(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#231 + # pkg:gem/parser#lib/parser/ast/processor.rb:231 def on_eflipflop(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#288 + # pkg:gem/parser#lib/parser/ast/processor.rb:288 def on_empty_else(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#238 + # pkg:gem/parser#lib/parser/ast/processor.rb:238 def on_ensure(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#27 + # pkg:gem/parser#lib/parser/ast/processor.rb:27 def on_erange(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#262 + # pkg:gem/parser#lib/parser/ast/processor.rb:262 def on_find_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#210 + # pkg:gem/parser#lib/parser/ast/processor.rb:210 def on_for(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#130 + # pkg:gem/parser#lib/parser/ast/processor.rb:130 def on_forward_arg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#154 + # pkg:gem/parser#lib/parser/ast/processor.rb:154 def on_forwarded_kwrestarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#153 + # pkg:gem/parser#lib/parser/ast/processor.rb:153 def on_forwarded_restarg(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#40 + # pkg:gem/parser#lib/parser/ast/processor.rb:40 def on_gvar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#64 + # pkg:gem/parser#lib/parser/ast/processor.rb:64 def on_gvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#24 + # pkg:gem/parser#lib/parser/ast/processor.rb:24 def on_hash(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#260 + # pkg:gem/parser#lib/parser/ast/processor.rb:260 def on_hash_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#225 + # pkg:gem/parser#lib/parser/ast/processor.rb:225 def on_if(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#251 + # pkg:gem/parser#lib/parser/ast/processor.rb:251 def on_if_guard(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#230 + # pkg:gem/parser#lib/parser/ast/processor.rb:230 def on_iflipflop(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#247 + # pkg:gem/parser#lib/parser/ast/processor.rb:247 def on_in_match(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#250 + # pkg:gem/parser#lib/parser/ast/processor.rb:250 def on_in_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#192 + # pkg:gem/parser#lib/parser/ast/processor.rb:192 def on_index(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#193 + # pkg:gem/parser#lib/parser/ast/processor.rb:193 def on_indexasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#26 + # pkg:gem/parser#lib/parser/ast/processor.rb:26 def on_irange(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#39 + # pkg:gem/parser#lib/parser/ast/processor.rb:39 def on_ivar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#63 + # pkg:gem/parser#lib/parser/ast/processor.rb:63 def on_ivasgn(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#127 + # pkg:gem/parser#lib/parser/ast/processor.rb:127 def on_kwarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#25 + # pkg:gem/parser#lib/parser/ast/processor.rb:25 def on_kwargs(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#241 + # pkg:gem/parser#lib/parser/ast/processor.rb:241 def on_kwbegin(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#128 + # pkg:gem/parser#lib/parser/ast/processor.rb:128 def on_kwoptarg(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#129 + # pkg:gem/parser#lib/parser/ast/processor.rb:129 def on_kwrestarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#21 + # pkg:gem/parser#lib/parser/ast/processor.rb:21 def on_kwsplat(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#196 + # pkg:gem/parser#lib/parser/ast/processor.rb:196 def on_lambda(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#38 + # pkg:gem/parser#lib/parser/ast/processor.rb:38 def on_lvar(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#62 + # pkg:gem/parser#lib/parser/ast/processor.rb:62 def on_lvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#79 + # pkg:gem/parser#lib/parser/ast/processor.rb:79 def on_masgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#256 + # pkg:gem/parser#lib/parser/ast/processor.rb:256 def on_match_alt(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#257 + # pkg:gem/parser#lib/parser/ast/processor.rb:257 def on_match_as(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#233 + # pkg:gem/parser#lib/parser/ast/processor.rb:233 def on_match_current_line(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#248 + # pkg:gem/parser#lib/parser/ast/processor.rb:248 def on_match_pattern(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#249 + # pkg:gem/parser#lib/parser/ast/processor.rb:249 def on_match_pattern_p(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#254 + # pkg:gem/parser#lib/parser/ast/processor.rb:254 def on_match_rest(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#253 + # pkg:gem/parser#lib/parser/ast/processor.rb:253 def on_match_var(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#234 + # pkg:gem/parser#lib/parser/ast/processor.rb:234 def on_match_with_lvasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#78 + # pkg:gem/parser#lib/parser/ast/processor.rb:78 def on_mlhs(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#156 + # pkg:gem/parser#lib/parser/ast/processor.rb:156 def on_module(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#214 + # pkg:gem/parser#lib/parser/ast/processor.rb:214 def on_next(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#221 + # pkg:gem/parser#lib/parser/ast/processor.rb:221 def on_not(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#43 + # pkg:gem/parser#lib/parser/ast/processor.rb:43 def on_nth_ref(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#198 + # pkg:gem/parser#lib/parser/ast/processor.rb:198 def on_numblock(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#70 + # pkg:gem/parser#lib/parser/ast/processor.rb:70 def on_op_asgn(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#123 + # pkg:gem/parser#lib/parser/ast/processor.rb:123 def on_optarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#223 + # pkg:gem/parser#lib/parser/ast/processor.rb:223 def on_or(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#68 + # pkg:gem/parser#lib/parser/ast/processor.rb:68 def on_or_asgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#23 + # pkg:gem/parser#lib/parser/ast/processor.rb:23 def on_pair(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#255 + # pkg:gem/parser#lib/parser/ast/processor.rb:255 def on_pin(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#244 + # pkg:gem/parser#lib/parser/ast/processor.rb:244 def on_postexe(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#243 + # pkg:gem/parser#lib/parser/ast/processor.rb:243 def on_preexe(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#132 + # pkg:gem/parser#lib/parser/ast/processor.rb:132 def on_procarg0(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#215 + # pkg:gem/parser#lib/parser/ast/processor.rb:215 def on_redo(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#18 + # pkg:gem/parser#lib/parser/ast/processor.rb:18 def on_regexp(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#236 + # pkg:gem/parser#lib/parser/ast/processor.rb:236 def on_resbody(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#237 + # pkg:gem/parser#lib/parser/ast/processor.rb:237 def on_rescue(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#124 + # pkg:gem/parser#lib/parser/ast/processor.rb:124 def on_restarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#149 + # pkg:gem/parser#lib/parser/ast/processor.rb:149 def on_restarg_expr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#216 + # pkg:gem/parser#lib/parser/ast/processor.rb:216 def on_retry(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#212 + # pkg:gem/parser#lib/parser/ast/processor.rb:212 def on_return(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#158 + # pkg:gem/parser#lib/parser/ast/processor.rb:158 def on_sclass(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#181 + # pkg:gem/parser#lib/parser/ast/processor.rb:181 def on_send(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#126 + # pkg:gem/parser#lib/parser/ast/processor.rb:126 def on_shadowarg(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#20 + # pkg:gem/parser#lib/parser/ast/processor.rb:20 def on_splat(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#217 + # pkg:gem/parser#lib/parser/ast/processor.rb:217 def on_super(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#178 + # pkg:gem/parser#lib/parser/ast/processor.rb:178 def on_undef(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#252 + # pkg:gem/parser#lib/parser/ast/processor.rb:252 def on_unless_guard(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#208 + # pkg:gem/parser#lib/parser/ast/processor.rb:208 def on_until(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#209 + # pkg:gem/parser#lib/parser/ast/processor.rb:209 def on_until_post(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#29 + # pkg:gem/parser#lib/parser/ast/processor.rb:29 def on_var(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#45 + # pkg:gem/parser#lib/parser/ast/processor.rb:45 def on_vasgn(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#227 + # pkg:gem/parser#lib/parser/ast/processor.rb:227 def on_when(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#206 + # pkg:gem/parser#lib/parser/ast/processor.rb:206 def on_while(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#207 + # pkg:gem/parser#lib/parser/ast/processor.rb:207 def on_while_post(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#19 + # pkg:gem/parser#lib/parser/ast/processor.rb:19 def on_xstr(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#218 + # pkg:gem/parser#lib/parser/ast/processor.rb:218 def on_yield(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#118 + # pkg:gem/parser#lib/parser/ast/processor.rb:118 def process_argument_node(node); end # @api public # - # source://parser//lib/parser/ast/processor.rb#12 + # pkg:gem/parser#lib/parser/ast/processor.rb:12 def process_regular_node(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#58 + # pkg:gem/parser#lib/parser/ast/processor.rb:58 def process_var_asgn_node(node); end # @api public # @private # - # source://parser//lib/parser/ast/processor.rb#34 + # pkg:gem/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#19 +# pkg:gem/parser#lib/parser/base.rb:19 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#129 + # pkg:gem/parser#lib/parser/base.rb:129 def initialize(builder = T.unsafe(nil)); end # @api public # - # source://parser//lib/parser/base.rb#117 + # pkg:gem/parser#lib/parser/base.rb:117 def builder; end # @api public # - # source://parser//lib/parser/base.rb#120 + # pkg:gem/parser#lib/parser/base.rb:120 def context; end # @api public # - # source://parser//lib/parser/base.rb#122 + # pkg:gem/parser#lib/parser/base.rb:122 def current_arg_stack; end # @api public # @return [Parser::Diagnostic::Engine] # - # source://parser//lib/parser/base.rb#116 + # pkg:gem/parser#lib/parser/base.rb:116 def diagnostics; end # @api public # - # source://parser//lib/parser/base.rb#115 + # pkg:gem/parser#lib/parser/base.rb:115 def lexer; end # @api public # - # source://parser//lib/parser/base.rb#121 + # pkg:gem/parser#lib/parser/base.rb:121 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#189 + # pkg:gem/parser#lib/parser/base.rb:189 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#207 + # pkg:gem/parser#lib/parser/base.rb:207 def parse_with_comments(source_buffer); end # @api public # - # source://parser//lib/parser/base.rb#124 + # pkg:gem/parser#lib/parser/base.rb:124 def pattern_hash_keys; end # @api public # - # source://parser//lib/parser/base.rb#123 + # pkg:gem/parser#lib/parser/base.rb:123 def pattern_variables; end # Resets the state of the parser. # # @api public # - # source://parser//lib/parser/base.rb#170 + # pkg:gem/parser#lib/parser/base.rb:170 def reset; end # @api public # - # source://parser//lib/parser/base.rb#119 + # pkg:gem/parser#lib/parser/base.rb:119 def source_buffer; end # @api public # @return [Parser::StaticEnvironment] # - # source://parser//lib/parser/base.rb#118 + # pkg:gem/parser#lib/parser/base.rb:118 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 source_buffer [Parser::Source::Buffer] # @return [Array] # - # source://parser//lib/parser/base.rb#236 + # pkg:gem/parser#lib/parser/base.rb:236 def tokenize(source_buffer, recover = T.unsafe(nil)); end private # @api public # - # source://parser//lib/parser/base.rb#260 + # pkg:gem/parser#lib/parser/base.rb:260 def check_kwarg_name(name_t); end # @api public # - # source://parser//lib/parser/base.rb#269 + # pkg:gem/parser#lib/parser/base.rb:269 def diagnostic(level, reason, arguments, location_t, highlights_ts = T.unsafe(nil)); end # @api public # - # source://parser//lib/parser/base.rb#254 + # pkg:gem/parser#lib/parser/base.rb:254 def next_token; end # @api public # - # source://parser//lib/parser/base.rb#285 + # pkg:gem/parser#lib/parser/base.rb:285 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#87 + # pkg:gem/parser#lib/parser/base.rb:87 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 string [String] The block of code to parse. # @return [Parser::AST::Node] # - # source://parser//lib/parser/base.rb#33 + # pkg:gem/parser#lib/parser/base.rb:33 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#67 + # pkg:gem/parser#lib/parser/base.rb:67 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#80 + # pkg:gem/parser#lib/parser/base.rb:80 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 string [String] The block of code to parse. # @return [Array] # - # source://parser//lib/parser/base.rb#52 + # pkg:gem/parser#lib/parser/base.rb:52 def parse_with_comments(string, file = T.unsafe(nil), line = T.unsafe(nil)); end private # @api public # - # source://parser//lib/parser/base.rb#100 + # pkg:gem/parser#lib/parser/base.rb:100 def setup_source_buffer(file, line, string, encoding); end end end # @api public # -# source://parser//lib/parser.rb#78 +# pkg:gem/parser#lib/parser.rb:78 module Parser::Builders; end -# source://parser//lib/parser/builders/default.rb#8 +# pkg:gem/parser#lib/parser/builders/default.rb:8 class Parser::Builders::Default - # source://parser//lib/parser/builders/default.rb#243 + # pkg:gem/parser#lib/parser/builders/default.rb:243 def initialize; end - # source://parser//lib/parser/builders/default.rb#703 + # pkg:gem/parser#lib/parser/builders/default.rb:703 def __ENCODING__(__ENCODING__t); end - # source://parser//lib/parser/builders/default.rb#348 + # pkg:gem/parser#lib/parser/builders/default.rb:348 def __FILE__(__FILE__t); end - # source://parser//lib/parser/builders/default.rb#312 + # pkg:gem/parser#lib/parser/builders/default.rb:312 def __LINE__(__LINE__t); end - # source://parser//lib/parser/builders/default.rb#622 + # pkg:gem/parser#lib/parser/builders/default.rb:622 def accessible(node); end - # source://parser//lib/parser/builders/default.rb#878 + # pkg:gem/parser#lib/parser/builders/default.rb:878 def alias(alias_t, to, from); end - # source://parser//lib/parser/builders/default.rb#917 + # pkg:gem/parser#lib/parser/builders/default.rb:917 def arg(name_t); end - # source://parser//lib/parser/builders/default.rb#1007 + # pkg:gem/parser#lib/parser/builders/default.rb:1007 def arg_expr(expr); end - # source://parser//lib/parser/builders/default.rb#887 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:440 def array(begin_t, elements, end_t); end - # source://parser//lib/parser/builders/default.rb#1598 + # pkg:gem/parser#lib/parser/builders/default.rb:1598 def array_pattern(lbrack_t, elements, rbrack_t); end - # source://parser//lib/parser/builders/default.rb#767 + # pkg:gem/parser#lib/parser/builders/default.rb:767 def assign(lhs, eql_t, rhs); end - # source://parser//lib/parser/builders/default.rb#712 + # pkg:gem/parser#lib/parser/builders/default.rb:712 def assignable(node); end - # source://parser//lib/parser/builders/default.rb#540 + # pkg:gem/parser#lib/parser/builders/default.rb:540 def associate(begin_t, pairs, end_t); end - # source://parser//lib/parser/builders/default.rb#1175 + # pkg:gem/parser#lib/parser/builders/default.rb:1175 def attr_asgn(receiver, dot_t, selector_t); end - # source://parser//lib/parser/builders/default.rb#612 + # pkg:gem/parser#lib/parser/builders/default.rb:612 def back_ref(token); end - # source://parser//lib/parser/builders/default.rb#1443 + # pkg:gem/parser#lib/parser/builders/default.rb:1443 def begin(begin_t, body, end_t); end - # source://parser//lib/parser/builders/default.rb#1385 + # pkg:gem/parser#lib/parser/builders/default.rb:1385 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#1461 + # pkg:gem/parser#lib/parser/builders/default.rb:1461 def begin_keyword(begin_t, body, end_t); end - # source://parser//lib/parser/builders/default.rb#1213 + # pkg:gem/parser#lib/parser/builders/default.rb:1213 def binary_op(receiver, operator_t, arg); end - # source://parser//lib/parser/builders/default.rb#1122 + # pkg:gem/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#1161 + # pkg:gem/parser#lib/parser/builders/default.rb:1161 def block_pass(amper_t, arg); end - # source://parser//lib/parser/builders/default.rb#982 + # pkg:gem/parser#lib/parser/builders/default.rb:982 def blockarg(amper_t, name_t); end - # source://parser//lib/parser/builders/default.rb#1027 + # pkg:gem/parser#lib/parser/builders/default.rb:1027 def blockarg_expr(amper_t, expr); end - # source://parser//lib/parser/builders/default.rb#1113 + # pkg:gem/parser#lib/parser/builders/default.rb:1113 def call_lambda(lambda_t); end - # source://parser//lib/parser/builders/default.rb#1096 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:1068 def call_type_for_dot(dot_t); end - # source://parser//lib/parser/builders/default.rb#1318 + # pkg:gem/parser#lib/parser/builders/default.rb:1318 def case(case_t, expr, when_bodies, else_t, else_body, end_t); end - # source://parser//lib/parser/builders/default.rb#1481 + # pkg:gem/parser#lib/parser/builders/default.rb:1481 def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end - # source://parser//lib/parser/builders/default.rb#343 + # pkg:gem/parser#lib/parser/builders/default.rb:343 def character(char_t); end - # source://parser//lib/parser/builders/default.rb#284 + # pkg:gem/parser#lib/parser/builders/default.rb:284 def complex(complex_t); end - # source://parser//lib/parser/builders/default.rb#1431 + # pkg:gem/parser#lib/parser/builders/default.rb:1431 def compstmt(statements); end - # source://parser//lib/parser/builders/default.rb#1294 + # pkg:gem/parser#lib/parser/builders/default.rb:1294 def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end - # source://parser//lib/parser/builders/default.rb#1300 + # pkg:gem/parser#lib/parser/builders/default.rb:1300 def condition_mod(if_true, if_false, cond_t, cond); end - # source://parser//lib/parser/builders/default.rb#686 + # pkg:gem/parser#lib/parser/builders/default.rb:686 def const(name_t); end - # source://parser//lib/parser/builders/default.rb#698 + # pkg:gem/parser#lib/parser/builders/default.rb:698 def const_fetch(scope, t_colon2, name_t); end - # source://parser//lib/parser/builders/default.rb#691 + # pkg:gem/parser#lib/parser/builders/default.rb:691 def const_global(t_colon3, name_t); end - # source://parser//lib/parser/builders/default.rb#763 + # pkg:gem/parser#lib/parser/builders/default.rb:763 def const_op_assignable(node); end - # source://parser//lib/parser/builders/default.rb#1628 + # pkg:gem/parser#lib/parser/builders/default.rb:1628 def const_pattern(const, ldelim_t, pattern, rdelim_t); end - # source://parser//lib/parser/builders/default.rb#607 + # pkg:gem/parser#lib/parser/builders/default.rb:607 def cvar(token); end - # source://parser//lib/parser/builders/default.rb#388 + # pkg:gem/parser#lib/parser/builders/default.rb:388 def dedent_string(node, dedent_level); end - # source://parser//lib/parser/builders/default.rb#814 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:237 def emit_file_line_as_literals; end - # source://parser//lib/parser/builders/default.rb#237 + # pkg:gem/parser#lib/parser/builders/default.rb:237 def emit_file_line_as_literals=(_arg0); end - # source://parser//lib/parser/builders/default.rb#265 + # pkg:gem/parser#lib/parser/builders/default.rb:265 def false(false_t); end - # source://parser//lib/parser/builders/default.rb#1619 + # pkg:gem/parser#lib/parser/builders/default.rb:1619 def find_pattern(lbrack_t, elements, rbrack_t); end - # source://parser//lib/parser/builders/default.rb#276 + # pkg:gem/parser#lib/parser/builders/default.rb:276 def float(float_t); end - # source://parser//lib/parser/builders/default.rb#1339 + # pkg:gem/parser#lib/parser/builders/default.rb:1339 def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end - # source://parser//lib/parser/builders/default.rb#913 + # pkg:gem/parser#lib/parser/builders/default.rb:913 def forward_arg(dots_t); end - # source://parser//lib/parser/builders/default.rb#903 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:1084 def forwarded_args(dots_t); end - # source://parser//lib/parser/builders/default.rb#1092 + # pkg:gem/parser#lib/parser/builders/default.rb:1092 def forwarded_kwrestarg(dstar_t); end - # source://parser//lib/parser/builders/default.rb#1088 + # pkg:gem/parser#lib/parser/builders/default.rb:1088 def forwarded_restarg(star_t); end - # source://parser//lib/parser/builders/default.rb#596 + # pkg:gem/parser#lib/parser/builders/default.rb:596 def gvar(token); end - # source://parser//lib/parser/builders/default.rb#1592 + # pkg:gem/parser#lib/parser/builders/default.rb:1592 def hash_pattern(lbrace_t, kwargs, rbrace_t); end - # source://parser//lib/parser/builders/default.rb#586 + # pkg:gem/parser#lib/parser/builders/default.rb:586 def ident(token); end - # source://parser//lib/parser/builders/default.rb#1508 + # pkg:gem/parser#lib/parser/builders/default.rb:1508 def if_guard(if_t, if_body); end - # source://parser//lib/parser/builders/default.rb#1487 + # pkg:gem/parser#lib/parser/builders/default.rb:1487 def in_match(lhs, in_t, rhs); end - # source://parser//lib/parser/builders/default.rb#1502 + # pkg:gem/parser#lib/parser/builders/default.rb:1502 def in_pattern(in_t, pattern, guard, then_t, body); end - # source://parser//lib/parser/builders/default.rb#1184 + # pkg:gem/parser#lib/parser/builders/default.rb:1184 def index(receiver, lbrack_t, indexes, rbrack_t); end - # source://parser//lib/parser/builders/default.rb#1198 + # pkg:gem/parser#lib/parser/builders/default.rb:1198 def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end - # source://parser//lib/parser/builders/default.rb#272 + # pkg:gem/parser#lib/parser/builders/default.rb:272 def integer(integer_t); end - # source://parser//lib/parser/builders/default.rb#591 + # pkg:gem/parser#lib/parser/builders/default.rb:591 def ivar(token); end - # source://parser//lib/parser/builders/default.rb#1347 + # pkg:gem/parser#lib/parser/builders/default.rb:1347 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 + # pkg:gem/parser#lib/parser/builders/default.rb:944 def kwarg(name_t); end - # source://parser//lib/parser/builders/default.rb#970 + # pkg:gem/parser#lib/parser/builders/default.rb:970 def kwnilarg(dstar_t, nil_t); end - # source://parser//lib/parser/builders/default.rb#951 + # pkg:gem/parser#lib/parser/builders/default.rb:951 def kwoptarg(name_t, value); end - # source://parser//lib/parser/builders/default.rb#958 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:535 def kwsplat(dstar_t, arg); end - # source://parser//lib/parser/builders/default.rb#1287 + # pkg:gem/parser#lib/parser/builders/default.rb:1287 def logical_op(type, lhs, op_t, rhs); end - # source://parser//lib/parser/builders/default.rb#1325 + # pkg:gem/parser#lib/parser/builders/default.rb:1325 def loop(type, keyword_t, cond, do_t, body, end_t); end - # source://parser//lib/parser/builders/default.rb#1330 + # pkg:gem/parser#lib/parser/builders/default.rb:1330 def loop_mod(type, body, keyword_t, cond); end - # source://parser//lib/parser/builders/default.rb#1642 + # pkg:gem/parser#lib/parser/builders/default.rb:1642 def match_alt(left, pipe_t, right); end - # source://parser//lib/parser/builders/default.rb#1649 + # pkg:gem/parser#lib/parser/builders/default.rb:1649 def match_as(value, assoc_t, as); end - # source://parser//lib/parser/builders/default.rb#1528 + # pkg:gem/parser#lib/parser/builders/default.rb:1528 def match_hash_var(name_t); end - # source://parser//lib/parser/builders/default.rb#1542 + # pkg:gem/parser#lib/parser/builders/default.rb:1542 def match_hash_var_from_str(begin_t, strings, end_t); end - # source://parser//lib/parser/builders/default.rb#1680 + # pkg:gem/parser#lib/parser/builders/default.rb:1680 def match_label(label_type, label); end - # source://parser//lib/parser/builders/default.rb#1656 + # pkg:gem/parser#lib/parser/builders/default.rb:1656 def match_nil_pattern(dstar_t, nil_t); end - # source://parser//lib/parser/builders/default.rb#1235 + # pkg:gem/parser#lib/parser/builders/default.rb:1235 def match_op(receiver, match_t, arg); end - # source://parser//lib/parser/builders/default.rb#1661 + # pkg:gem/parser#lib/parser/builders/default.rb:1661 def match_pair(label_type, label, value); end - # source://parser//lib/parser/builders/default.rb#1492 + # pkg:gem/parser#lib/parser/builders/default.rb:1492 def match_pattern(lhs, match_t, rhs); end - # source://parser//lib/parser/builders/default.rb#1497 + # pkg:gem/parser#lib/parser/builders/default.rb:1497 def match_pattern_p(lhs, match_t, rhs); end - # source://parser//lib/parser/builders/default.rb#1581 + # pkg:gem/parser#lib/parser/builders/default.rb:1581 def match_rest(star_t, name_t = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#1516 + # pkg:gem/parser#lib/parser/builders/default.rb:1516 def match_var(name_t); end - # source://parser//lib/parser/builders/default.rb#1624 + # pkg:gem/parser#lib/parser/builders/default.rb:1624 def match_with_trailing_comma(match, comma_t); end - # source://parser//lib/parser/builders/default.rb#805 + # pkg:gem/parser#lib/parser/builders/default.rb:805 def multi_assign(lhs, eql_t, rhs); end - # source://parser//lib/parser/builders/default.rb#800 + # pkg:gem/parser#lib/parser/builders/default.rb:800 def multi_lhs(begin_t, items, end_t); end - # source://parser//lib/parser/builders/default.rb#255 + # pkg:gem/parser#lib/parser/builders/default.rb:255 def nil(nil_t); end - # source://parser//lib/parser/builders/default.rb#1263 + # pkg:gem/parser#lib/parser/builders/default.rb:1263 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 + # pkg:gem/parser#lib/parser/builders/default.rb:617 def nth_ref(token); end - # source://parser//lib/parser/builders/default.rb#899 + # pkg:gem/parser#lib/parser/builders/default.rb:899 def numargs(max_numparam); end - # source://parser//lib/parser/builders/default.rb#1038 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:1052 def objc_restarg(star_t, name = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#1166 + # pkg:gem/parser#lib/parser/builders/default.rb:1166 def objc_varargs(pair, rest_of_varargs); end - # source://parser//lib/parser/builders/default.rb#774 + # pkg:gem/parser#lib/parser/builders/default.rb:774 def op_assign(lhs, op_t, rhs); end - # source://parser//lib/parser/builders/default.rb#924 + # pkg:gem/parser#lib/parser/builders/default.rb:924 def optarg(name_t, eql_t, value); end - # source://parser//lib/parser/builders/default.rb#488 + # pkg:gem/parser#lib/parser/builders/default.rb:488 def pair(key, assoc_t, value); end - # source://parser//lib/parser/builders/default.rb#505 + # pkg:gem/parser#lib/parser/builders/default.rb:505 def pair_keyword(key_t, value); end - # source://parser//lib/parser/builders/default.rb#521 + # pkg:gem/parser#lib/parser/builders/default.rb:521 def pair_label(key_t); end - # source://parser//lib/parser/builders/default.rb#493 + # pkg:gem/parser#lib/parser/builders/default.rb:493 def pair_list_18(list); end - # source://parser//lib/parser/builders/default.rb#513 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:225 def parser; end - # source://parser//lib/parser/builders/default.rb#225 + # pkg:gem/parser#lib/parser/builders/default.rb:225 def parser=(_arg0); end - # source://parser//lib/parser/builders/default.rb#1637 + # pkg:gem/parser#lib/parser/builders/default.rb:1637 def pin(pin_t, var); end - # source://parser//lib/parser/builders/default.rb#1370 + # pkg:gem/parser#lib/parser/builders/default.rb:1370 def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end - # source://parser//lib/parser/builders/default.rb#1365 + # pkg:gem/parser#lib/parser/builders/default.rb:1365 def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end - # source://parser//lib/parser/builders/default.rb#992 + # pkg:gem/parser#lib/parser/builders/default.rb:992 def procarg0(arg); end - # source://parser//lib/parser/builders/default.rb#572 + # pkg:gem/parser#lib/parser/builders/default.rb:572 def range_exclusive(lhs, dot3_t, rhs); end - # source://parser//lib/parser/builders/default.rb#567 + # pkg:gem/parser#lib/parser/builders/default.rb:567 def range_inclusive(lhs, dot2_t, rhs); end - # source://parser//lib/parser/builders/default.rb#280 + # pkg:gem/parser#lib/parser/builders/default.rb:280 def rational(rational_t); end - # source://parser//lib/parser/builders/default.rb#426 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:417 def regexp_options(regopt_t); end - # source://parser//lib/parser/builders/default.rb#1377 + # pkg:gem/parser#lib/parser/builders/default.rb:1377 def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end - # source://parser//lib/parser/builders/default.rb#933 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/builders/default.rb:581 def self(token); end - # source://parser//lib/parser/builders/default.rb#975 + # pkg:gem/parser#lib/parser/builders/default.rb:975 def shadowarg(name_t); end - # source://parser//lib/parser/builders/default.rb#445 + # pkg:gem/parser#lib/parser/builders/default.rb:445 def splat(star_t, arg = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#319 + # pkg:gem/parser#lib/parser/builders/default.rb:319 def string(string_t); end - # source://parser//lib/parser/builders/default.rb#329 + # pkg:gem/parser#lib/parser/builders/default.rb:329 def string_compose(begin_t, parts, end_t); end - # source://parser//lib/parser/builders/default.rb#324 + # pkg:gem/parser#lib/parser/builders/default.rb:324 def string_internal(string_t); end - # source://parser//lib/parser/builders/default.rb#355 + # pkg:gem/parser#lib/parser/builders/default.rb:355 def symbol(symbol_t); end - # source://parser//lib/parser/builders/default.rb#365 + # pkg:gem/parser#lib/parser/builders/default.rb:365 def symbol_compose(begin_t, parts, end_t); end - # source://parser//lib/parser/builders/default.rb#360 + # pkg:gem/parser#lib/parser/builders/default.rb:360 def symbol_internal(symbol_t); end - # source://parser//lib/parser/builders/default.rb#469 + # pkg:gem/parser#lib/parser/builders/default.rb:469 def symbols_compose(begin_t, parts, end_t); end - # source://parser//lib/parser/builders/default.rb#1305 + # pkg:gem/parser#lib/parser/builders/default.rb:1305 def ternary(cond, question_t, if_true, colon_t, if_false); end - # source://parser//lib/parser/builders/default.rb#260 + # pkg:gem/parser#lib/parser/builders/default.rb:260 def true(true_t); end - # source://parser//lib/parser/builders/default.rb#294 + # pkg:gem/parser#lib/parser/builders/default.rb:294 def unary_num(unary_t, numeric); end - # source://parser//lib/parser/builders/default.rb#1251 + # pkg:gem/parser#lib/parser/builders/default.rb:1251 def unary_op(op_t, receiver); end - # source://parser//lib/parser/builders/default.rb#873 + # pkg:gem/parser#lib/parser/builders/default.rb:873 def undef_method(undef_t, names); end - # source://parser//lib/parser/builders/default.rb#1512 + # pkg:gem/parser#lib/parser/builders/default.rb:1512 def unless_guard(unless_t, unless_body); end - # source://parser//lib/parser/builders/default.rb#1312 + # pkg:gem/parser#lib/parser/builders/default.rb:1312 def when(when_t, patterns, then_t, body); end - # source://parser//lib/parser/builders/default.rb#455 + # pkg:gem/parser#lib/parser/builders/default.rb:455 def word(parts); end - # source://parser//lib/parser/builders/default.rb#464 + # pkg:gem/parser#lib/parser/builders/default.rb:464 def words_compose(begin_t, parts, end_t); end - # source://parser//lib/parser/builders/default.rb#381 + # pkg:gem/parser#lib/parser/builders/default.rb:381 def xstring_compose(begin_t, parts, end_t); end private - # source://parser//lib/parser/builders/default.rb#1829 + # pkg:gem/parser#lib/parser/builders/default.rb:1829 def arg_name_collides?(this_name, that_name); end - # source://parser//lib/parser/builders/default.rb#2025 + # pkg:gem/parser#lib/parser/builders/default.rb:2025 def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#1999 + # pkg:gem/parser#lib/parser/builders/default.rb:1999 def binary_op_map(left_e, op_t, right_e); end - # source://parser//lib/parser/builders/default.rb#2127 + # pkg:gem/parser#lib/parser/builders/default.rb:2127 def block_map(receiver_l, begin_t, end_t); end - # source://parser//lib/parser/builders/default.rb#1804 + # pkg:gem/parser#lib/parser/builders/default.rb:1804 def check_assignment_to_numparam(name, loc); end - # source://parser//lib/parser/builders/default.rb#1696 + # pkg:gem/parser#lib/parser/builders/default.rb:1696 def check_condition(cond); end - # source://parser//lib/parser/builders/default.rb#1775 + # pkg:gem/parser#lib/parser/builders/default.rb:1775 def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#1750 + # pkg:gem/parser#lib/parser/builders/default.rb:1750 def check_duplicate_args(args, map = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#1862 + # pkg:gem/parser#lib/parser/builders/default.rb:1862 def check_duplicate_pattern_key(name, loc); end - # source://parser//lib/parser/builders/default.rb#1852 + # pkg:gem/parser#lib/parser/builders/default.rb:1852 def check_duplicate_pattern_variable(name, loc); end - # source://parser//lib/parser/builders/default.rb#1844 + # pkg:gem/parser#lib/parser/builders/default.rb:1844 def check_lvar_name(name, loc); end - # source://parser//lib/parser/builders/default.rb#1819 + # pkg:gem/parser#lib/parser/builders/default.rb:1819 def check_reserved_for_numparam(name, loc); end - # source://parser//lib/parser/builders/default.rb#2293 + # pkg:gem/parser#lib/parser/builders/default.rb:2293 def collapse_string_parts?(parts); end - # source://parser//lib/parser/builders/default.rb#1950 + # pkg:gem/parser#lib/parser/builders/default.rb:1950 def collection_map(begin_t, parts, end_t); end - # source://parser//lib/parser/builders/default.rb#2154 + # pkg:gem/parser#lib/parser/builders/default.rb:2154 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#1985 + # pkg:gem/parser#lib/parser/builders/default.rb:1985 def constant_map(scope, colon2_t, name_t); end - # source://parser//lib/parser/builders/default.rb#2058 + # pkg:gem/parser#lib/parser/builders/default.rb:2058 def definition_map(keyword_t, operator_t, name_t, end_t); end - # source://parser//lib/parser/builders/default.rb#1891 + # pkg:gem/parser#lib/parser/builders/default.rb:1891 def delimited_string_map(string_t); end - # source://parser//lib/parser/builders/default.rb#2315 + # pkg:gem/parser#lib/parser/builders/default.rb:2315 def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#2198 + # pkg:gem/parser#lib/parser/builders/default.rb:2198 def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end - # source://parser//lib/parser/builders/default.rb#2064 + # pkg:gem/parser#lib/parser/builders/default.rb:2064 def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end - # source://parser//lib/parser/builders/default.rb#1946 + # pkg:gem/parser#lib/parser/builders/default.rb:1946 def expr_map(loc); end - # source://parser//lib/parser/builders/default.rb#2179 + # pkg:gem/parser#lib/parser/builders/default.rb:2179 def for_map(keyword_t, in_t, begin_t, end_t); end - # source://parser//lib/parser/builders/default.rb#2226 + # pkg:gem/parser#lib/parser/builders/default.rb:2226 def guard_map(keyword_t, guard_body_e); end - # source://parser//lib/parser/builders/default.rb#2116 + # pkg:gem/parser#lib/parser/builders/default.rb:2116 def index_map(receiver_e, lbrack_t, rbrack_t); end - # source://parser//lib/parser/builders/default.rb#1882 + # pkg:gem/parser#lib/parser/builders/default.rb:1882 def join_exprs(left_expr, right_expr); end - # source://parser//lib/parser/builders/default.rb#2132 + # pkg:gem/parser#lib/parser/builders/default.rb:2132 def keyword_map(keyword_t, begin_t, args, end_t); end - # source://parser//lib/parser/builders/default.rb#2149 + # pkg:gem/parser#lib/parser/builders/default.rb:2149 def keyword_mod_map(pre_e, keyword_t, post_e); end - # source://parser//lib/parser/builders/default.rb#2035 + # pkg:gem/parser#lib/parser/builders/default.rb:2035 def kwarg_map(name_t, value_e = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#2346 + # pkg:gem/parser#lib/parser/builders/default.rb:2346 def kwargs?(node); end - # source://parser//lib/parser/builders/default.rb#2310 + # pkg:gem/parser#lib/parser/builders/default.rb:2310 def loc(token); end - # source://parser//lib/parser/builders/default.rb#2048 + # pkg:gem/parser#lib/parser/builders/default.rb:2048 def module_definition_map(keyword_t, name_e, operator_t, end_t); end - # source://parser//lib/parser/builders/default.rb#1874 + # pkg:gem/parser#lib/parser/builders/default.rb:1874 def n(type, children, source_map); end - # source://parser//lib/parser/builders/default.rb#1878 + # pkg:gem/parser#lib/parser/builders/default.rb:1878 def n0(type, source_map); end - # source://parser//lib/parser/builders/default.rb#288 + # pkg:gem/parser#lib/parser/builders/default.rb:288 def numeric(kind, token); end - # source://parser//lib/parser/builders/default.rb#1916 + # pkg:gem/parser#lib/parser/builders/default.rb:1916 def pair_keyword_map(key_t, value_e); end - # source://parser//lib/parser/builders/default.rb#1931 + # pkg:gem/parser#lib/parser/builders/default.rb:1931 def pair_quoted_map(begin_t, end_t, value_e); end - # source://parser//lib/parser/builders/default.rb#1902 + # pkg:gem/parser#lib/parser/builders/default.rb:1902 def prefix_string_map(symbol); end - # source://parser//lib/parser/builders/default.rb#2013 + # pkg:gem/parser#lib/parser/builders/default.rb:2013 def range_map(start_e, op_t, end_e); end - # source://parser//lib/parser/builders/default.rb#1980 + # pkg:gem/parser#lib/parser/builders/default.rb:1980 def regexp_map(begin_t, end_t, options_e); end - # source://parser//lib/parser/builders/default.rb#2185 + # pkg:gem/parser#lib/parser/builders/default.rb:2185 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#2336 + # pkg:gem/parser#lib/parser/builders/default.rb:2336 def rewrite_hash_args_to_kwargs(args); end - # source://parser//lib/parser/builders/default.rb#2098 + # pkg:gem/parser#lib/parser/builders/default.rb:2098 def send_binary_op_map(lhs_e, selector_t, rhs_e); end - # source://parser//lib/parser/builders/default.rb#2121 + # pkg:gem/parser#lib/parser/builders/default.rb:2121 def send_index_map(receiver_e, lbrack_t, rbrack_t); end - # source://parser//lib/parser/builders/default.rb#2072 + # pkg:gem/parser#lib/parser/builders/default.rb:2072 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#2104 + # pkg:gem/parser#lib/parser/builders/default.rb:2104 def send_unary_op_map(selector_t, arg_e); end - # source://parser//lib/parser/builders/default.rb#2257 + # pkg:gem/parser#lib/parser/builders/default.rb:2257 def static_regexp(parts, options); end - # source://parser//lib/parser/builders/default.rb#2282 + # pkg:gem/parser#lib/parser/builders/default.rb:2282 def static_regexp_node(node); end - # source://parser//lib/parser/builders/default.rb#2240 + # pkg:gem/parser#lib/parser/builders/default.rb:2240 def static_string(nodes); end - # source://parser//lib/parser/builders/default.rb#1966 + # pkg:gem/parser#lib/parser/builders/default.rb:1966 def string_map(begin_t, parts, end_t); end - # source://parser//lib/parser/builders/default.rb#2302 + # pkg:gem/parser#lib/parser/builders/default.rb:2302 def string_value(token); end - # source://parser//lib/parser/builders/default.rb#2174 + # pkg:gem/parser#lib/parser/builders/default.rb:2174 def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end - # source://parser//lib/parser/builders/default.rb#1887 + # pkg:gem/parser#lib/parser/builders/default.rb:1887 def token_map(token); end - # source://parser//lib/parser/builders/default.rb#2003 + # pkg:gem/parser#lib/parser/builders/default.rb:2003 def unary_op_map(op_t, arg_e = T.unsafe(nil)); end - # source://parser//lib/parser/builders/default.rb#1911 + # pkg:gem/parser#lib/parser/builders/default.rb:1911 def unquoted_map(token); end - # source://parser//lib/parser/builders/default.rb#2324 + # pkg:gem/parser#lib/parser/builders/default.rb:2324 def validate_definee(definee); end - # source://parser//lib/parser/builders/default.rb#1789 + # pkg:gem/parser#lib/parser/builders/default.rb:1789 def validate_no_forward_arg_after_restarg(args); end - # source://parser//lib/parser/builders/default.rb#2298 + # pkg:gem/parser#lib/parser/builders/default.rb:2298 def value(token); end - # source://parser//lib/parser/builders/default.rb#2092 + # pkg:gem/parser#lib/parser/builders/default.rb:2092 def var_send_map(variable_e); end - # source://parser//lib/parser/builders/default.rb#1995 + # pkg:gem/parser#lib/parser/builders/default.rb:1995 def variable_map(name_t); end class << self - # source://parser//lib/parser/builders/default.rb#97 + # pkg:gem/parser#lib/parser/builders/default.rb:97 def emit_arg_inside_procarg0; end - # source://parser//lib/parser/builders/default.rb#97 + # pkg:gem/parser#lib/parser/builders/default.rb:97 def emit_arg_inside_procarg0=(_arg0); end - # source://parser//lib/parser/builders/default.rb#58 + # pkg:gem/parser#lib/parser/builders/default.rb:58 def emit_encoding; end - # source://parser//lib/parser/builders/default.rb#58 + # pkg:gem/parser#lib/parser/builders/default.rb:58 def emit_encoding=(_arg0); end - # source://parser//lib/parser/builders/default.rb#126 + # pkg:gem/parser#lib/parser/builders/default.rb:126 def emit_forward_arg; end - # source://parser//lib/parser/builders/default.rb#126 + # pkg:gem/parser#lib/parser/builders/default.rb:126 def emit_forward_arg=(_arg0); end - # source://parser//lib/parser/builders/default.rb#80 + # pkg:gem/parser#lib/parser/builders/default.rb:80 def emit_index; end - # source://parser//lib/parser/builders/default.rb#80 + # pkg:gem/parser#lib/parser/builders/default.rb:80 def emit_index=(_arg0); end - # source://parser//lib/parser/builders/default.rb#174 + # pkg:gem/parser#lib/parser/builders/default.rb:174 def emit_kwargs; end - # source://parser//lib/parser/builders/default.rb#174 + # pkg:gem/parser#lib/parser/builders/default.rb:174 def emit_kwargs=(_arg0); end - # source://parser//lib/parser/builders/default.rb#22 + # pkg:gem/parser#lib/parser/builders/default.rb:22 def emit_lambda; end - # source://parser//lib/parser/builders/default.rb#22 + # pkg:gem/parser#lib/parser/builders/default.rb:22 def emit_lambda=(_arg0); end - # source://parser//lib/parser/builders/default.rb#203 + # pkg:gem/parser#lib/parser/builders/default.rb:203 def emit_match_pattern; end - # source://parser//lib/parser/builders/default.rb#203 + # pkg:gem/parser#lib/parser/builders/default.rb:203 def emit_match_pattern=(_arg0); end - # source://parser//lib/parser/builders/default.rb#40 + # pkg:gem/parser#lib/parser/builders/default.rb:40 def emit_procarg0; end - # source://parser//lib/parser/builders/default.rb#40 + # pkg:gem/parser#lib/parser/builders/default.rb:40 def emit_procarg0=(_arg0); end - # source://parser//lib/parser/builders/default.rb#211 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/parser#lib/parser/context.rb:18 class Parser::Context # @return [Context] a new instance of Context # - # source://parser//lib/parser/context.rb#30 + # pkg:gem/parser#lib/parser/context.rb:30 def initialize; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def cant_return; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def cant_return=(_arg0); end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_argdef; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_argdef=(_arg0); end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_block; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_block=(_arg0); end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_class; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_class=(_arg0); end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_def; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_def=(_arg0); end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_defined; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_defined=(_arg0); end # @return [Boolean] # - # source://parser//lib/parser/context.rb#47 + # pkg:gem/parser#lib/parser/context.rb:47 def in_dynamic_block?; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_kwarg; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_kwarg=(_arg0); end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_lambda; end - # source://parser//lib/parser/context.rb#45 + # pkg:gem/parser#lib/parser/context.rb:45 def in_lambda=(_arg0); end - # source://parser//lib/parser/context.rb#34 + # pkg:gem/parser#lib/parser/context.rb:34 def reset; end end -# source://parser//lib/parser/context.rb#19 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:17 def initialize; end # @api private # @return [Boolean] # - # source://parser//lib/parser/current_arg_stack.rb#22 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:22 def empty?; end # @api private # - # source://parser//lib/parser/current_arg_stack.rb#34 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:34 def pop; end # @api private # - # source://parser//lib/parser/current_arg_stack.rb#26 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:26 def push(value); end # @api private # - # source://parser//lib/parser/current_arg_stack.rb#38 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:38 def reset; end # @api private # - # source://parser//lib/parser/current_arg_stack.rb#30 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:30 def set(value); end # @api private # - # source://parser//lib/parser/current_arg_stack.rb#15 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:15 def stack; end # @api private # - # source://parser//lib/parser/current_arg_stack.rb#42 + # pkg:gem/parser#lib/parser/current_arg_stack.rb:42 def top; end end # @api private # -# source://parser//lib/parser/deprecation.rb#7 +# pkg:gem/parser#lib/parser/deprecation.rb:7 module Parser::Deprecation # @api private # - # source://parser//lib/parser/deprecation.rb#9 + # pkg:gem/parser#lib/parser/deprecation.rb:9 def warn_of_deprecation; end # @api private # - # source://parser//lib/parser/deprecation.rb#8 + # pkg:gem/parser#lib/parser/deprecation.rb:8 def warned_of_deprecation=(_arg0); end end # @api public # -# source://parser//lib/parser/diagnostic.rb#31 +# pkg:gem/parser#lib/parser/diagnostic.rb:31 class Parser::Diagnostic # @api public # @param arguments [Hash] @@ -1700,14 +1700,14 @@ class Parser::Diagnostic # @param reason [Symbol] # @return [Diagnostic] a new instance of Diagnostic # - # source://parser//lib/parser/diagnostic.rb#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/diagnostic.rb:40 def highlights; end # @api public # @return [Symbol] diagnostic level # @see LEVELS # - # source://parser//lib/parser/diagnostic.rb#39 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/diagnostic.rb:40 def location; end # @api public # @return [String] the rendered message. # - # source://parser//lib/parser/diagnostic.rb#69 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/parser#lib/parser/diagnostic/engine.rb:36 class Parser::Diagnostic::Engine - # source://parser//lib/parser/diagnostic/engine.rb#45 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:45 def initialize(consumer = T.unsafe(nil)); end - # source://parser//lib/parser/diagnostic/engine.rb#39 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:39 def all_errors_are_fatal; end - # source://parser//lib/parser/diagnostic/engine.rb#39 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:39 def all_errors_are_fatal=(_arg0); end - # source://parser//lib/parser/diagnostic/engine.rb#37 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:37 def consumer; end - # source://parser//lib/parser/diagnostic/engine.rb#37 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:37 def consumer=(_arg0); end - # source://parser//lib/parser/diagnostic/engine.rb#40 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:40 def ignore_warnings; end - # source://parser//lib/parser/diagnostic/engine.rb#40 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:40 def ignore_warnings=(_arg0); end - # source://parser//lib/parser/diagnostic/engine.rb#64 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:64 def process(diagnostic); end protected - # source://parser//lib/parser/diagnostic/engine.rb#86 + # pkg:gem/parser#lib/parser/diagnostic/engine.rb:86 def ignore?(diagnostic); end - # source://parser//lib/parser/diagnostic/engine.rb#97 + # pkg:gem/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 +# pkg:gem/parser#lib/parser/diagnostic.rb:37 Parser::Diagnostic::LEVELS = T.let(T.unsafe(nil), Array) # line 3 "lib/parser/lexer.rl" @@ -1907,1222 +1907,1222 @@ Parser::Diagnostic::LEVELS = T.let(T.unsafe(nil), Array) # # NoMethodError: undefined method `ord' for nil:NilClass # -# source://parser//lib/parser/lexer-F1.rb#82 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8250 def initialize(version); end # Return next token: [type, value]. # - # source://parser//lib/parser/lexer-F1.rb#8419 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8419 def advance; end # Returns the value of attribute cmdarg. # - # source://parser//lib/parser/lexer-F1.rb#8244 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8248 def cond_stack; end - # source://parser//lib/parser/lexer-F1.rb#8281 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8281 def construct_float(chars); end # Returns the value of attribute context. # - # source://parser//lib/parser/lexer-F1.rb#8244 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8244 def context=(_arg0); end - # source://parser//lib/parser/lexer-F1.rb#8414 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8414 def dedent_level; end # Returns the value of attribute diagnostics. # - # source://parser//lib/parser/lexer-F1.rb#8240 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8240 def diagnostics=(_arg0); end - # source://parser//lib/parser/lexer-F1.rb#8367 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8367 def encoding; end # Returns the value of attribute force_utf32. # - # source://parser//lib/parser/lexer-F1.rb#8242 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8248 def paren_nest; end - # source://parser//lib/parser/lexer-F1.rb#8401 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8401 def pop_cmdarg; end - # source://parser//lib/parser/lexer-F1.rb#8410 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8410 def pop_cond; end - # source://parser//lib/parser/lexer-F1.rb#8396 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8396 def push_cmdarg; end - # source://parser//lib/parser/lexer-F1.rb#8405 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8405 def push_cond; end - # source://parser//lib/parser/lexer-F1.rb#8290 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8290 def reset(reset_state = T.unsafe(nil)); end # % # - # source://parser//lib/parser/lexer-F1.rb#8238 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8238 def source_buffer; end - # source://parser//lib/parser/lexer-F1.rb#8343 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8343 def source_buffer=(source_buffer); end - # source://parser//lib/parser/lexer-F1.rb#8388 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8388 def state; end - # source://parser//lib/parser/lexer-F1.rb#8392 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8392 def state=(state); end # Returns the value of attribute static_env. # - # source://parser//lib/parser/lexer-F1.rb#8241 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:8248 def version; end protected - # source://parser//lib/parser/lexer-F1.rb#14701 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14701 def arg_or_cmdarg(cmd_state); end - # source://parser//lib/parser/lexer-F1.rb#14763 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14763 def check_ambiguous_slash(tm); end - # source://parser//lib/parser/lexer-F1.rb#14725 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14725 def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14731 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14731 def e_lbrace; end - # source://parser//lib/parser/lexer-F1.rb#14675 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14675 def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14784 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14784 def emit_class_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14812 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14812 def emit_colon_with_digits(p, tm, diag_msg); end - # source://parser//lib/parser/lexer-F1.rb#14709 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14709 def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14721 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14721 def emit_comment_from_range(p, pe); end - # source://parser//lib/parser/lexer-F1.rb#14691 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14691 def emit_do(do_block = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14774 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14774 def emit_global_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14792 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14792 def emit_instance_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14800 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14800 def emit_rbrace_rparen_rbrack; end - # source://parser//lib/parser/lexer-F1.rb#14822 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14822 def emit_singleton_class; end - # source://parser//lib/parser/lexer-F1.rb#14685 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14685 def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14740 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14740 def numeric_literal_int; end - # source://parser//lib/parser/lexer-F1.rb#14759 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14759 def on_newline(p); end - # source://parser//lib/parser/lexer-F1.rb#14671 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14671 def range(s = T.unsafe(nil), e = T.unsafe(nil)); end - # source://parser//lib/parser/lexer-F1.rb#14662 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14662 def stack_pop; end - # source://parser//lib/parser/lexer-F1.rb#14667 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14667 def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end # @return [Boolean] # - # source://parser//lib/parser/lexer-F1.rb#14658 + # pkg:gem/parser#lib/parser/lexer-F1.rb:14658 def version?(*versions); end class << self # Returns the value of attribute lex_en_expr_arg. # - # source://parser//lib/parser/lexer-F1.rb#8186 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-F1.rb:7574 def _lex_trans_targs=(_arg0); end end end -# source://parser//lib/parser/lexer/dedenter.rb#5 +# pkg:gem/parser#lib/parser/lexer/dedenter.rb:5 class Parser::Lexer::Dedenter - # source://parser//lib/parser/lexer/dedenter.rb#9 + # pkg:gem/parser#lib/parser/lexer/dedenter.rb:9 def initialize(dedent_level); end - # source://parser//lib/parser/lexer/dedenter.rb#36 + # pkg:gem/parser#lib/parser/lexer/dedenter.rb:36 def dedent(string); end - # source://parser//lib/parser/lexer/dedenter.rb#83 + # pkg:gem/parser#lib/parser/lexer/dedenter.rb:83 def interrupt; end end -# source://parser//lib/parser/lexer/dedenter.rb#7 +# pkg:gem/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#14869 +# pkg:gem/parser#lib/parser/lexer-F1.rb:14869 Parser::Lexer::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer-F1.rb#14855 +# pkg:gem/parser#lib/parser/lexer-F1.rb:14855 Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer-F1.rb#14862 +# pkg:gem/parser#lib/parser/lexer-F1.rb:14862 Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer-F1.rb#8371 +# pkg:gem/parser#lib/parser/lexer-F1.rb:8371 Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer/literal.rb#6 +# pkg:gem/parser#lib/parser/lexer/literal.rb:6 class Parser::Lexer::Literal - # source://parser//lib/parser/lexer/literal.rb#42 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer/literal.rb:116 def backslash_delimited?; end - # source://parser//lib/parser/lexer/literal.rb#39 + # pkg:gem/parser#lib/parser/lexer/literal.rb:39 def dedent_level; end - # source://parser//lib/parser/lexer/literal.rb#191 + # pkg:gem/parser#lib/parser/lexer/literal.rb:191 def end_interp_brace_and_try_closing; end - # source://parser//lib/parser/lexer/literal.rb#218 + # pkg:gem/parser#lib/parser/lexer/literal.rb:218 def extend_content; end - # source://parser//lib/parser/lexer/literal.rb#222 + # pkg:gem/parser#lib/parser/lexer/literal.rb:222 def extend_space(ts, te); end - # source://parser//lib/parser/lexer/literal.rb#197 + # pkg:gem/parser#lib/parser/lexer/literal.rb:197 def extend_string(string, ts, te); end - # source://parser//lib/parser/lexer/literal.rb#204 + # pkg:gem/parser#lib/parser/lexer/literal.rb:204 def flush_string; end - # source://parser//lib/parser/lexer/literal.rb#104 + # pkg:gem/parser#lib/parser/lexer/literal.rb:104 def heredoc?; end - # source://parser//lib/parser/lexer/literal.rb#39 + # pkg:gem/parser#lib/parser/lexer/literal.rb:39 def heredoc_e; end - # source://parser//lib/parser/lexer/literal.rb#168 + # pkg:gem/parser#lib/parser/lexer/literal.rb:168 def infer_indent_level(line); end - # source://parser//lib/parser/lexer/literal.rb#91 + # pkg:gem/parser#lib/parser/lexer/literal.rb:91 def interpolate?; end - # source://parser//lib/parser/lexer/literal.rb#124 + # pkg:gem/parser#lib/parser/lexer/literal.rb:124 def munge_escape?(character); end - # source://parser//lib/parser/lexer/literal.rb#134 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer/literal.rb:108 def plain_heredoc?; end - # source://parser//lib/parser/lexer/literal.rb#100 + # pkg:gem/parser#lib/parser/lexer/literal.rb:100 def regexp?; end - # source://parser//lib/parser/lexer/literal.rb#40 + # pkg:gem/parser#lib/parser/lexer/literal.rb:40 def saved_herebody_s; end - # source://parser//lib/parser/lexer/literal.rb#40 + # pkg:gem/parser#lib/parser/lexer/literal.rb:40 def saved_herebody_s=(_arg0); end - # source://parser//lib/parser/lexer/literal.rb#112 + # pkg:gem/parser#lib/parser/lexer/literal.rb:112 def squiggly_heredoc?; end - # source://parser//lib/parser/lexer/literal.rb#187 + # pkg:gem/parser#lib/parser/lexer/literal.rb:187 def start_interp_brace; end - # source://parser//lib/parser/lexer/literal.rb#39 + # pkg:gem/parser#lib/parser/lexer/literal.rb:39 def str_s; end - # source://parser//lib/parser/lexer/literal.rb#232 + # pkg:gem/parser#lib/parser/lexer/literal.rb:232 def supports_line_continuation_via_slash?; end - # source://parser//lib/parser/lexer/literal.rb#120 + # pkg:gem/parser#lib/parser/lexer/literal.rb:120 def type; end - # source://parser//lib/parser/lexer/literal.rb#95 + # pkg:gem/parser#lib/parser/lexer/literal.rb:95 def words?; end protected - # source://parser//lib/parser/lexer/literal.rb#263 + # pkg:gem/parser#lib/parser/lexer/literal.rb:263 def clear_buffer; end - # source://parser//lib/parser/lexer/literal.rb#259 + # pkg:gem/parser#lib/parser/lexer/literal.rb:259 def coerce_encoding(string); end - # source://parser//lib/parser/lexer/literal.rb#238 + # pkg:gem/parser#lib/parser/lexer/literal.rb:238 def delimiter?(delimiter); end - # source://parser//lib/parser/lexer/literal.rb#279 + # pkg:gem/parser#lib/parser/lexer/literal.rb:279 def emit(token, type, s, e); end - # source://parser//lib/parser/lexer/literal.rb#274 + # pkg:gem/parser#lib/parser/lexer/literal.rb:274 def emit_start_tok; end end -# source://parser//lib/parser/lexer/literal.rb#7 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#14829 +# pkg:gem/parser#lib/parser/lexer-F1.rb:14829 Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer-F1.rb#14849 +# pkg:gem/parser#lib/parser/lexer-F1.rb:14849 Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer/stack_state.rb#5 +# pkg:gem/parser#lib/parser/lexer/stack_state.rb:5 class Parser::Lexer::StackState - # source://parser//lib/parser/lexer/stack_state.rb#6 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:6 def initialize(name); end - # source://parser//lib/parser/lexer/stack_state.rb#34 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:34 def active?; end - # source://parser//lib/parser/lexer/stack_state.rb#11 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:11 def clear; end - # source://parser//lib/parser/lexer/stack_state.rb#38 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:38 def empty?; end - # source://parser//lib/parser/lexer/stack_state.rb#46 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:46 def inspect; end - # source://parser//lib/parser/lexer/stack_state.rb#29 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:29 def lexpop; end - # source://parser//lib/parser/lexer/stack_state.rb#22 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:22 def pop; end - # source://parser//lib/parser/lexer/stack_state.rb#15 + # pkg:gem/parser#lib/parser/lexer/stack_state.rb:15 def push(bit); end - # source://parser//lib/parser/lexer/stack_state.rb#42 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3300 def initialize(lexer, version); end - # source://parser//lib/parser/lexer-strings.rb#3339 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3339 def advance(p); end - # source://parser//lib/parser/lexer-strings.rb#5069 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5069 def close_interp_on_current_literal(p); end - # source://parser//lib/parser/lexer-strings.rb#5043 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5043 def continue_lexing(current_literal); end - # source://parser//lib/parser/lexer-strings.rb#5092 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3295 def herebody_s=(_arg0); end - # source://parser//lib/parser/lexer-strings.rb#5047 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5047 def literal; end - # source://parser//lib/parser/lexer-strings.rb#5015 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5100 def on_newline(p); end - # source://parser//lib/parser/lexer-strings.rb#5051 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5051 def pop_literal; end # === LITERAL STACK === # - # source://parser//lib/parser/lexer-strings.rb#5009 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5009 def push_literal(*args); end - # source://parser//lib/parser/lexer-strings.rb#4999 + # pkg:gem/parser#lib/parser/lexer-strings.rb:4999 def read_character_constant(p); end - # source://parser//lib/parser/lexer-strings.rb#3314 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3314 def reset; end # Set by "main" lexer # - # source://parser//lib/parser/lexer-strings.rb#3298 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3298 def source_buffer; end # Set by "main" lexer # - # source://parser//lib/parser/lexer-strings.rb#3298 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3298 def source_buffer=(_arg0); end # Set by "main" lexer # - # source://parser//lib/parser/lexer-strings.rb#3298 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3298 def source_pts; end # Set by "main" lexer # - # source://parser//lib/parser/lexer-strings.rb#3298 + # pkg:gem/parser#lib/parser/lexer-strings.rb:3298 def source_pts=(_arg0); end protected - # source://parser//lib/parser/lexer-strings.rb#5406 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5406 def check_ambiguous_slash(tm); end - # source://parser//lib/parser/lexer-strings.rb#5417 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5417 def check_invalid_escapes(p); end - # source://parser//lib/parser/lexer-strings.rb#5136 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5136 def cond; end - # source://parser//lib/parser/lexer-strings.rb#5132 + # pkg:gem/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 + # pkg:gem/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#5396 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5396 def emit_character_constant; end - # source://parser//lib/parser/lexer-strings.rb#5373 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5373 def emit_interp_var(interp_var_kind); end # @return [Boolean] # - # source://parser//lib/parser/lexer-strings.rb#5140 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5140 def emit_invalid_escapes?; end - # source://parser//lib/parser/lexer-strings.rb#5291 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5291 def encode_escape(ord); end - # source://parser//lib/parser/lexer-strings.rb#5384 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5384 def encode_escaped_char(p); end # @return [Boolean] # - # source://parser//lib/parser/lexer-strings.rb#5112 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5112 def eof_codepoint?(point); end - # source://parser//lib/parser/lexer-strings.rb#5210 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5210 def extend_interp_code(current_literal); end - # source://parser//lib/parser/lexer-strings.rb#5225 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5225 def extend_interp_digit_var; end - # source://parser//lib/parser/lexer-strings.rb#5364 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5364 def extend_interp_var(current_literal); end - # source://parser//lib/parser/lexer-strings.rb#5234 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5251 def extend_string_eol_heredoc_intertwined(p); end - # source://parser//lib/parser/lexer-strings.rb#5241 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5241 def extend_string_eol_heredoc_line; end - # source://parser//lib/parser/lexer-strings.rb#5267 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5154 def extend_string_escaped; end - # source://parser//lib/parser/lexer-strings.rb#5287 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5279 def extend_string_slice_end(lookahead); end - # source://parser//lib/parser/lexer-strings.rb#5124 + # pkg:gem/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#5356 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5356 def read_post_meta_or_ctrl_char(p); end - # source://parser//lib/parser/lexer-strings.rb#5388 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5388 def slash_c_char; end - # source://parser//lib/parser/lexer-strings.rb#5392 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5392 def slash_m_char; end - # source://parser//lib/parser/lexer-strings.rb#5120 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5295 def unescape_char(p); end - # source://parser//lib/parser/lexer-strings.rb#5307 + # pkg:gem/parser#lib/parser/lexer-strings.rb:5307 def unicode_points(p); end # @return [Boolean] # - # source://parser//lib/parser/lexer-strings.rb#5116 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/lexer-strings.rb:2966 def _lex_trans_targs=(_arg0); end end end # % # -# source://parser//lib/parser/lexer-strings.rb#3287 +# pkg:gem/parser#lib/parser/lexer-strings.rb:3287 Parser::LexerStrings::ESCAPES = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer-strings.rb#5423 +# pkg:gem/parser#lib/parser/lexer-strings.rb:5423 Parser::LexerStrings::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash) -# source://parser//lib/parser/lexer-strings.rb#3332 +# pkg:gem/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 +# pkg:gem/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. @@ -3130,85 +3130,85 @@ Parser::LexerStrings::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Regexp) # @api public # @see Diagnostic # -# source://parser//lib/parser/messages.rb#11 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:13 def initialize; end # @api private # @return [Boolean] # - # source://parser//lib/parser/max_numparam_stack.rb#17 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:17 def empty?; end # @api private # @return [Boolean] # - # source://parser//lib/parser/max_numparam_stack.rb#29 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:29 def has_numparams?; end # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#21 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:25 def has_ordinary_params?; end # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#45 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:45 def pop; end # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#41 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:41 def push(static:); end # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#33 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:33 def register(numparam); end # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#9 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:9 def stack; end # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#37 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:37 def top; end private # @api private # - # source://parser//lib/parser/max_numparam_stack.rb#51 + # pkg:gem/parser#lib/parser/max_numparam_stack.rb:51 def set(value); end end # @api private # -# source://parser//lib/parser/max_numparam_stack.rb#11 +# pkg:gem/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 +# pkg:gem/parser#lib/parser/messages.rb:112 module Parser::Messages class << self # Formats the message, returns a raw template if there's nothing to interpolate @@ -3218,27 +3218,27 @@ module Parser::Messages # # @api private # - # source://parser//lib/parser/messages.rb#119 + # pkg:gem/parser#lib/parser/messages.rb:119 def compile(reason, arguments); end end end # Parser metadata # -# source://parser//lib/parser/meta.rb#5 +# pkg:gem/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. # Includes node types that are only emitted by the prism parser translator. # -# source://parser//lib/parser/meta.rb#17 +# pkg:gem/parser#lib/parser/meta.rb:17 Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set) # These are node types required by `Prism::Translation::Parser`, # which has advanced syntax support ahead of the Parser gem. # -# source://parser//lib/parser/meta.rb#9 +# pkg:gem/parser#lib/parser/meta.rb:9 Parser::Meta::PRISM_TRANSLATION_PARSER_NODE_TYPES = T.let(T.unsafe(nil), Array) # {Parser::Rewriter} is deprecated. Use {Parser::TreeRewriter} instead. @@ -3249,14 +3249,14 @@ Parser::Meta::PRISM_TRANSLATION_PARSER_NODE_TYPES = T.let(T.unsafe(nil), Array) # @api public # @deprecated Use {Parser::TreeRewriter} # -# source://parser//lib/parser/rewriter.rb#14 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/rewriter.rb:98 def initialize(*_arg0); end # Returns `true` if the specified node is an assignment node, returns false @@ -3266,7 +3266,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param node [Parser::AST::Node] # @return [Boolean] # - # source://parser//lib/parser/rewriter.rb#38 + # pkg:gem/parser#lib/parser/rewriter.rb:38 def assignment?(node); end # Inserts new code after the given source range. @@ -3275,7 +3275,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/rewriter.rb#77 + # pkg:gem/parser#lib/parser/rewriter.rb:77 def insert_after(range, content); end # Inserts new code before the given source range. @@ -3284,7 +3284,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/rewriter.rb#67 + # pkg:gem/parser#lib/parser/rewriter.rb:67 def insert_before(range, content); end # Removes the source range. @@ -3292,7 +3292,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @api public # @param range [Parser::Source::Range] # - # source://parser//lib/parser/rewriter.rb#47 + # pkg:gem/parser#lib/parser/rewriter.rb:47 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -3301,7 +3301,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/rewriter.rb#87 + # pkg:gem/parser#lib/parser/rewriter.rb:87 def replace(range, content); end # Rewrites the AST/source buffer and returns a String containing the new @@ -3312,7 +3312,7 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param source_buffer [Parser::Source::Buffer] # @return [String] # - # source://parser//lib/parser/rewriter.rb#23 + # pkg:gem/parser#lib/parser/rewriter.rb:23 def rewrite(source_buffer, ast); end # Wraps the given source range with the given values. @@ -3321,18 +3321,18 @@ class Parser::Rewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/rewriter.rb#57 + # pkg:gem/parser#lib/parser/rewriter.rb:57 def wrap(range, before, after); end end # @api public # -# source://parser//lib/parser/rewriter.rb#91 +# pkg:gem/parser#lib/parser/rewriter.rb:91 Parser::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) # @api public # -# source://parser//lib/parser.rb#30 +# pkg:gem/parser#lib/parser.rb:30 module Parser::Source; end # A buffer with source code. {Buffer} contains the source code itself, @@ -3343,12 +3343,12 @@ module Parser::Source; end # # @api public # -# source://parser//lib/parser/source/buffer.rb#25 +# pkg:gem/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 + # pkg:gem/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. @@ -3357,7 +3357,7 @@ class Parser::Source::Buffer # @param position [Integer] # @return [Integer] column # - # source://parser//lib/parser/source/buffer.rb#247 + # pkg:gem/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. @@ -3366,7 +3366,7 @@ class Parser::Source::Buffer # @param position [Integer] # @return [[Integer, Integer]] `[line, column]` # - # source://parser//lib/parser/source/buffer.rb#222 + # pkg:gem/parser#lib/parser/source/buffer.rb:222 def decompose_position(position); end # First line of the buffer, 1 by default. @@ -3374,17 +3374,17 @@ class Parser::Source::Buffer # @api public # @return [Integer] first line # - # source://parser//lib/parser/source/buffer.rb#26 + # pkg:gem/parser#lib/parser/source/buffer.rb:26 def first_line; end # @api public # - # source://parser//lib/parser/source/buffer.rb#317 + # pkg:gem/parser#lib/parser/source/buffer.rb:317 def freeze; end # @api public # - # source://parser//lib/parser/source/buffer.rb#323 + # pkg:gem/parser#lib/parser/source/buffer.rb:323 def inspect; end # Number of last line in the buffer @@ -3392,7 +3392,7 @@ class Parser::Source::Buffer # @api public # @return [Integer] # - # source://parser//lib/parser/source/buffer.rb#312 + # pkg:gem/parser#lib/parser/source/buffer.rb:312 def last_line; end # Convert a character index into the source to a line number. @@ -3401,7 +3401,7 @@ class Parser::Source::Buffer # @param position [Integer] # @return [Integer] line # - # source://parser//lib/parser/source/buffer.rb#236 + # pkg:gem/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. @@ -3411,7 +3411,7 @@ class Parser::Source::Buffer # @raise [IndexError] if `lineno` is out of bounds # @return [Range] # - # source://parser//lib/parser/source/buffer.rb#289 + # pkg:gem/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 @@ -3420,7 +3420,7 @@ class Parser::Source::Buffer # @api public # @return [String] buffer name # - # source://parser//lib/parser/source/buffer.rb#26 + # pkg:gem/parser#lib/parser/source/buffer.rb:26 def name; end # Populate this buffer from a string without encoding autodetection. @@ -3430,7 +3430,7 @@ class Parser::Source::Buffer # @raise [ArgumentError] if already populated # @return [String] # - # source://parser//lib/parser/source/buffer.rb#185 + # pkg:gem/parser#lib/parser/source/buffer.rb:185 def raw_source=(input); end # Populate this buffer from correspondingly named file. @@ -3441,12 +3441,12 @@ class Parser::Source::Buffer # @raise [ArgumentError] if already populated # @return [Buffer] self # - # source://parser//lib/parser/source/buffer.rb#136 + # pkg:gem/parser#lib/parser/source/buffer.rb:136 def read; end # @api public # - # source://parser//lib/parser/source/buffer.rb#199 + # pkg:gem/parser#lib/parser/source/buffer.rb:199 def slice(start, length = T.unsafe(nil)); end # Source code contained in this buffer. @@ -3455,7 +3455,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 + # pkg:gem/parser#lib/parser/source/buffer.rb:150 def source; end # Populate this buffer from a string with encoding autodetection. @@ -3467,7 +3467,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 + # pkg:gem/parser#lib/parser/source/buffer.rb:167 def source=(input); end # Extract line `lineno` from source, taking `first_line` into account. @@ -3477,7 +3477,7 @@ class Parser::Source::Buffer # @raise [IndexError] if `lineno` is out of bounds # @return [String] # - # source://parser//lib/parser/source/buffer.rb#278 + # pkg:gem/parser#lib/parser/source/buffer.rb:278 def source_line(lineno); end # Return an `Array` of source code lines. @@ -3485,30 +3485,30 @@ class Parser::Source::Buffer # @api public # @return [Array] # - # source://parser//lib/parser/source/buffer.rb#257 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/buffer.rb:303 def source_range; end private # @api public # - # source://parser//lib/parser/source/buffer.rb#353 + # pkg:gem/parser#lib/parser/source/buffer.rb:353 def bsearch(line_begins, position); end # @api public # - # source://parser//lib/parser/source/buffer.rb#330 + # pkg:gem/parser#lib/parser/source/buffer.rb:330 def line_begins; end # @api public # - # source://parser//lib/parser/source/buffer.rb#344 + # pkg:gem/parser#lib/parser/source/buffer.rb:344 def line_index_for_position(position); end class << self @@ -3520,7 +3520,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 + # pkg:gem/parser#lib/parser/source/buffer.rb:52 def recognize_encoding(string); end # Recognize encoding of `input` and process it so it could be lexed. @@ -3538,27 +3538,27 @@ class Parser::Source::Buffer # @raise [EncodingError] # @return [String] # - # source://parser//lib/parser/source/buffer.rb#95 + # pkg:gem/parser#lib/parser/source/buffer.rb:95 def reencode_string(input); end end end # @api private # -# source://parser//lib/parser/source/buffer.rb#31 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/source/comment.rb:67 def initialize(range); end # Compares comments. Two comments are equal if they @@ -3568,45 +3568,45 @@ class Parser::Source::Comment # @param other [Object] # @return [Boolean] # - # source://parser//lib/parser/source/comment.rb#120 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/comment.rb:128 def inspect; end # @api public # @return [Parser::Source::Range] # - # source://parser//lib/parser/source/comment.rb#21 + # pkg:gem/parser#lib/parser/source/comment.rb:21 def loc; end # @api public # @return [Parser::Source::Range] # - # source://parser//lib/parser/source/comment.rb#20 + # pkg:gem/parser#lib/parser/source/comment.rb:20 def location; end # @api public # @return [String] # - # source://parser//lib/parser/source/comment.rb#18 + # pkg:gem/parser#lib/parser/source/comment.rb:18 def text; end # Type of this comment. @@ -3624,7 +3624,7 @@ class Parser::Source::Comment # @api public # @return [Symbol] # - # source://parser//lib/parser/source/comment.rb#89 + # pkg:gem/parser#lib/parser/source/comment.rb:89 def type; end class << self @@ -3637,7 +3637,7 @@ class Parser::Source::Comment # @return [Hash>] # @see Parser::Source::Comment::Associator#associate # - # source://parser//lib/parser/source/comment.rb#32 + # pkg:gem/parser#lib/parser/source/comment.rb:32 def associate(ast, comments); end # Associate `comments` with `ast` nodes using identity. @@ -3648,7 +3648,7 @@ class Parser::Source::Comment # @return [Hash>] # @see Parser::Source::Comment::Associator#associate_by_identity # - # source://parser//lib/parser/source/comment.rb#59 + # pkg:gem/parser#lib/parser/source/comment.rb:59 def associate_by_identity(ast, comments); end # Associate `comments` with `ast` nodes by their location in the @@ -3660,71 +3660,71 @@ class Parser::Source::Comment # @return [Hash>] # @see Parser::Source::Comment::Associator#associate_locations # - # source://parser//lib/parser/source/comment.rb#46 + # pkg:gem/parser#lib/parser/source/comment.rb:46 def associate_locations(ast, comments); end end end -# source://parser//lib/parser/source/comment/associator.rb#45 +# pkg:gem/parser#lib/parser/source/comment/associator.rb:45 class Parser::Source::Comment::Associator - # source://parser//lib/parser/source/comment/associator.rb#51 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:51 def initialize(ast, comments); end - # source://parser//lib/parser/source/comment/associator.rb#92 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:92 def associate; end - # source://parser//lib/parser/source/comment/associator.rb#115 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:115 def associate_by_identity; end - # source://parser//lib/parser/source/comment/associator.rb#104 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:104 def associate_locations; end - # source://parser//lib/parser/source/comment/associator.rb#46 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:46 def skip_directives; end - # source://parser//lib/parser/source/comment/associator.rb#46 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:46 def skip_directives=(_arg0); end private - # source://parser//lib/parser/source/comment/associator.rb#182 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:182 def advance_comment; end - # source://parser//lib/parser/source/comment/associator.rb#214 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:214 def advance_through_directives; end - # source://parser//lib/parser/source/comment/associator.rb#206 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:206 def associate_and_advance_comment(node); end - # source://parser//lib/parser/source/comment/associator.rb#123 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:123 def children_in_source_order(node); end - # source://parser//lib/parser/source/comment/associator.rb#187 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:187 def current_comment_before?(node); end - # source://parser//lib/parser/source/comment/associator.rb#194 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:194 def current_comment_before_end?(node); end - # source://parser//lib/parser/source/comment/associator.rb#201 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:201 def current_comment_decorates?(node); end - # source://parser//lib/parser/source/comment/associator.rb#135 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:135 def do_associate; end - # source://parser//lib/parser/source/comment/associator.rb#166 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:166 def process_leading_comments(node); end - # source://parser//lib/parser/source/comment/associator.rb#173 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:173 def process_trailing_comments(node); end - # source://parser//lib/parser/source/comment/associator.rb#148 + # pkg:gem/parser#lib/parser/source/comment/associator.rb:148 def visit(node); end end -# source://parser//lib/parser/source/comment/associator.rb#212 +# pkg:gem/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 +# pkg:gem/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. @@ -3782,13 +3782,13 @@ Parser::Source::Comment::Associator::POSTFIX_TYPES = T.let(T.unsafe(nil), Set) # # @begin=#, # # @expression=#> # -# source://parser//lib/parser/source/map.rb#70 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map.rb:76 def initialize(expression); end # Compares source maps. @@ -3796,7 +3796,7 @@ class Parser::Source::Map # @api public # @return [Boolean] # - # source://parser//lib/parser/source/map.rb#140 + # pkg:gem/parser#lib/parser/source/map.rb:140 def ==(other); end # A shortcut for `self.expression.column`. @@ -3804,13 +3804,13 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser//lib/parser/source/map.rb#109 + # pkg:gem/parser#lib/parser/source/map.rb:109 def column; end # @api public # @return [Range] # - # source://parser//lib/parser/source/map.rb#72 + # pkg:gem/parser#lib/parser/source/map.rb:72 def expression; end # A shortcut for `self.expression.line`. @@ -3818,7 +3818,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser//lib/parser/source/map.rb#103 + # pkg:gem/parser#lib/parser/source/map.rb:103 def first_line; end # A shortcut for `self.expression.last_column`. @@ -3826,7 +3826,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser//lib/parser/source/map.rb#125 + # pkg:gem/parser#lib/parser/source/map.rb:125 def last_column; end # A shortcut for `self.expression.last_line`. @@ -3834,7 +3834,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser//lib/parser/source/map.rb#117 + # pkg:gem/parser#lib/parser/source/map.rb:117 def last_line; end # A shortcut for `self.expression.line`. @@ -3842,7 +3842,7 @@ class Parser::Source::Map # @api public # @return [Integer] # - # source://parser//lib/parser/source/map.rb#99 + # pkg:gem/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. @@ -3850,12 +3850,12 @@ class Parser::Source::Map # @api public # @return [Parser::AST::Node] # - # source://parser//lib/parser/source/map.rb#71 + # pkg:gem/parser#lib/parser/source/map.rb:71 def node; end # @api private # - # source://parser//lib/parser/source/map.rb#89 + # pkg:gem/parser#lib/parser/source/map.rb:89 def node=(node); end # Converts this source map to a hash with keys corresponding to @@ -3875,291 +3875,291 @@ class Parser::Source::Map # # } # @return [Hash] # - # source://parser//lib/parser/source/map.rb#166 + # pkg:gem/parser#lib/parser/source/map.rb:166 def to_hash; end # @api private # - # source://parser//lib/parser/source/map.rb#132 + # pkg:gem/parser#lib/parser/source/map.rb:132 def with_expression(expression_l); end protected # @api public # - # source://parser//lib/parser/source/map.rb#180 + # pkg:gem/parser#lib/parser/source/map.rb:180 def update_expression(expression_l); end # @api public # - # source://parser//lib/parser/source/map.rb#176 + # pkg:gem/parser#lib/parser/source/map.rb:176 def with(&block); end private # @api private # - # source://parser//lib/parser/source/map.rb#82 + # pkg:gem/parser#lib/parser/source/map.rb:82 def initialize_copy(other); end end -# source://parser//lib/parser/source/map/collection.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/collection.rb:7 def begin; end - # source://parser//lib/parser/source/map/collection.rb#8 + # pkg:gem/parser#lib/parser/source/map/collection.rb:8 def end; end end -# source://parser//lib/parser/source/map/condition.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/condition.rb:8 def begin; end - # source://parser//lib/parser/source/map/condition.rb#9 + # pkg:gem/parser#lib/parser/source/map/condition.rb:9 def else; end - # source://parser//lib/parser/source/map/condition.rb#10 + # pkg:gem/parser#lib/parser/source/map/condition.rb:10 def end; end - # source://parser//lib/parser/source/map/condition.rb#7 + # pkg:gem/parser#lib/parser/source/map/condition.rb:7 def keyword; end end -# source://parser//lib/parser/source/map/constant.rb#6 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/constant.rb:11 def initialize(double_colon, name, expression); end - # source://parser//lib/parser/source/map/constant.rb#7 + # pkg:gem/parser#lib/parser/source/map/constant.rb:7 def double_colon; end - # source://parser//lib/parser/source/map/constant.rb#8 + # pkg:gem/parser#lib/parser/source/map/constant.rb:8 def name; end - # source://parser//lib/parser/source/map/constant.rb#9 + # pkg:gem/parser#lib/parser/source/map/constant.rb:9 def operator; end - # source://parser//lib/parser/source/map/constant.rb#20 + # pkg:gem/parser#lib/parser/source/map/constant.rb:20 def with_operator(operator_l); end protected - # source://parser//lib/parser/source/map/constant.rb#26 + # pkg:gem/parser#lib/parser/source/map/constant.rb:26 def update_operator(operator_l); end end -# source://parser//lib/parser/source/map/definition.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/definition.rb:10 def end; end - # source://parser//lib/parser/source/map/definition.rb#7 + # pkg:gem/parser#lib/parser/source/map/definition.rb:7 def keyword; end - # source://parser//lib/parser/source/map/definition.rb#9 + # pkg:gem/parser#lib/parser/source/map/definition.rb:9 def name; end - # source://parser//lib/parser/source/map/definition.rb#8 + # pkg:gem/parser#lib/parser/source/map/definition.rb:8 def operator; end end -# source://parser//lib/parser/source/map/for.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/for.rb:8 def begin; end - # source://parser//lib/parser/source/map/for.rb#8 + # pkg:gem/parser#lib/parser/source/map/for.rb:8 def end; end - # source://parser//lib/parser/source/map/for.rb#7 + # pkg:gem/parser#lib/parser/source/map/for.rb:7 def in; end - # source://parser//lib/parser/source/map/for.rb#7 + # pkg:gem/parser#lib/parser/source/map/for.rb:7 def keyword; end end -# source://parser//lib/parser/source/map/heredoc.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/heredoc.rb:7 def heredoc_body; end - # source://parser//lib/parser/source/map/heredoc.rb#8 + # pkg:gem/parser#lib/parser/source/map/heredoc.rb:8 def heredoc_end; end end -# source://parser//lib/parser/source/map/index.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/index.rb:7 def begin; end - # source://parser//lib/parser/source/map/index.rb#8 + # pkg:gem/parser#lib/parser/source/map/index.rb:8 def end; end - # source://parser//lib/parser/source/map/index.rb#9 + # pkg:gem/parser#lib/parser/source/map/index.rb:9 def operator; end - # source://parser//lib/parser/source/map/index.rb#21 + # pkg:gem/parser#lib/parser/source/map/index.rb:21 def with_operator(operator_l); end protected - # source://parser//lib/parser/source/map/index.rb#27 + # pkg:gem/parser#lib/parser/source/map/index.rb:27 def update_operator(operator_l); end end -# source://parser//lib/parser/source/map/keyword.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/keyword.rb:8 def begin; end - # source://parser//lib/parser/source/map/keyword.rb#9 + # pkg:gem/parser#lib/parser/source/map/keyword.rb:9 def end; end - # source://parser//lib/parser/source/map/keyword.rb#7 + # pkg:gem/parser#lib/parser/source/map/keyword.rb:7 def keyword; end end -# source://parser//lib/parser/source/map/method_definition.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/method_definition.rb:11 def assignment; end - # source://parser//lib/parser/source/map/method_definition.rb#10 + # pkg:gem/parser#lib/parser/source/map/method_definition.rb:10 def end; end - # source://parser//lib/parser/source/map/method_definition.rb#7 + # pkg:gem/parser#lib/parser/source/map/method_definition.rb:7 def keyword; end - # source://parser//lib/parser/source/map/method_definition.rb#9 + # pkg:gem/parser#lib/parser/source/map/method_definition.rb:9 def name; end - # source://parser//lib/parser/source/map/method_definition.rb#8 + # pkg:gem/parser#lib/parser/source/map/method_definition.rb:8 def operator; end end -# source://parser//lib/parser/source/map/objc_kwarg.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/objc_kwarg.rb:9 def argument; end - # source://parser//lib/parser/source/map/objc_kwarg.rb#7 + # pkg:gem/parser#lib/parser/source/map/objc_kwarg.rb:7 def keyword; end - # source://parser//lib/parser/source/map/objc_kwarg.rb#8 + # pkg:gem/parser#lib/parser/source/map/objc_kwarg.rb:8 def operator; end end -# source://parser//lib/parser/source/map/operator.rb#6 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/operator.rb:9 def initialize(operator, expression); end - # source://parser//lib/parser/source/map/operator.rb#7 + # pkg:gem/parser#lib/parser/source/map/operator.rb:7 def operator; end end -# source://parser//lib/parser/source/map/rescue_body.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/rescue_body.rb:8 def assoc; end - # source://parser//lib/parser/source/map/rescue_body.rb#9 + # pkg:gem/parser#lib/parser/source/map/rescue_body.rb:9 def begin; end - # source://parser//lib/parser/source/map/rescue_body.rb#7 + # pkg:gem/parser#lib/parser/source/map/rescue_body.rb:7 def keyword; end end -# source://parser//lib/parser/source/map/send.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/send.rb:10 def begin; end - # source://parser//lib/parser/source/map/send.rb#7 + # pkg:gem/parser#lib/parser/source/map/send.rb:7 def dot; end - # source://parser//lib/parser/source/map/send.rb#11 + # pkg:gem/parser#lib/parser/source/map/send.rb:11 def end; end - # source://parser//lib/parser/source/map/send.rb#9 + # pkg:gem/parser#lib/parser/source/map/send.rb:9 def operator; end - # source://parser//lib/parser/source/map/send.rb#8 + # pkg:gem/parser#lib/parser/source/map/send.rb:8 def selector; end - # source://parser//lib/parser/source/map/send.rb#24 + # pkg:gem/parser#lib/parser/source/map/send.rb:24 def with_operator(operator_l); end protected - # source://parser//lib/parser/source/map/send.rb#30 + # pkg:gem/parser#lib/parser/source/map/send.rb:30 def update_operator(operator_l); end end -# source://parser//lib/parser/source/map/ternary.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/ternary.rb:8 def colon; end - # source://parser//lib/parser/source/map/ternary.rb#7 + # pkg:gem/parser#lib/parser/source/map/ternary.rb:7 def question; end end -# source://parser//lib/parser/source/map/variable.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/map/variable.rb:7 def name; end - # source://parser//lib/parser/source/map/variable.rb#8 + # pkg:gem/parser#lib/parser/source/map/variable.rb:8 def operator; end - # source://parser//lib/parser/source/map/variable.rb#19 + # pkg:gem/parser#lib/parser/source/map/variable.rb:19 def with_operator(operator_l); end protected - # source://parser//lib/parser/source/map/variable.rb#25 + # pkg:gem/parser#lib/parser/source/map/variable.rb:25 def update_operator(operator_l); end end @@ -4173,7 +4173,7 @@ end # # @api public # -# source://parser//lib/parser/source/range.rb#26 +# pkg:gem/parser#lib/parser/source/range.rb:26 class Parser::Source::Range include ::Comparable @@ -4183,14 +4183,14 @@ class Parser::Source::Range # @param source_buffer [Buffer] # @return [Range] a new instance of Range # - # source://parser//lib/parser/source/range.rb#37 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/range.rb:301 def <=>(other); end # by the given amount(s) @@ -4199,33 +4199,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/range.rb:114 def column_range; end # Return `other.contains?(self)` @@ -4236,7 +4236,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser//lib/parser/source/range.rb#274 + # pkg:gem/parser#lib/parser/source/range.rb:274 def contained?(other); end # Returns true iff this range contains (strictly) `other`. @@ -4247,7 +4247,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser//lib/parser/source/range.rb#262 + # pkg:gem/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. @@ -4258,7 +4258,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser//lib/parser/source/range.rb#286 + # pkg:gem/parser#lib/parser/source/range.rb:286 def crossing?(other); end # Return `true` iff this range and `other` are disjoint. @@ -4269,7 +4269,7 @@ class Parser::Source::Range # @param other [Range] # @return [Boolean] # - # source://parser//lib/parser/source/range.rb#236 + # pkg:gem/parser#lib/parser/source/range.rb:236 def disjoint?(other); end # Checks if a range is empty; if it contains no characters @@ -4277,25 +4277,25 @@ class Parser::Source::Range # @api public # @return [Boolean] # - # source://parser//lib/parser/source/range.rb#294 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/range.rb:30 def end_pos; end # @api public # - # source://parser//lib/parser/source/range.rb#308 + # pkg:gem/parser#lib/parser/source/range.rb:308 def eql?(_arg0); end # Line number of the beginning of this range. By default, the first line @@ -4305,20 +4305,20 @@ class Parser::Source::Range # @return [Integer] line number of the beginning of this range. # @see Buffer # - # source://parser//lib/parser/source/range.rb#87 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/range.rb:320 def inspect; end # @api public @@ -4326,7 +4326,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 + # pkg:gem/parser#lib/parser/source/range.rb:220 def intersect(other); end # `is?` provides a concise way to compare the source corresponding to this range. @@ -4336,32 +4336,32 @@ class Parser::Source::Range # @api public # @return [Boolean] # - # source://parser//lib/parser/source/range.rb#141 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#74 + # pkg:gem/parser#lib/parser/source/range.rb:74 def length; end # Line number of the beginning of this range. By default, the first line @@ -4371,7 +4371,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 + # pkg:gem/parser#lib/parser/source/range.rb:83 def line; end # Return `true` iff this range is not disjoint from `other`. @@ -4380,50 +4380,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/range.rb:132 def source; end # @api public # @return [Parser::Source::Buffer] # - # source://parser//lib/parser/source/range.rb#29 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/range.rb:155 def to_range; end # Composes a GNU/Clang-style string representation of the beginning of this @@ -4440,7 +4440,7 @@ class Parser::Source::Range # @api public # @return [String] # - # source://parser//lib/parser/source/range.rb#173 + # pkg:gem/parser#lib/parser/source/range.rb:173 def to_s; end # to the given value(s). @@ -4449,7 +4449,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 + # pkg:gem/parser#lib/parser/source/range.rb:184 def with(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end end @@ -4471,7 +4471,7 @@ end # @api public # @deprecated Use {TreeRewriter} # -# source://parser//lib/parser/source/rewriter.rb#31 +# pkg:gem/parser#lib/parser/source/rewriter.rb:31 class Parser::Source::Rewriter extend ::Parser::Deprecation @@ -4480,13 +4480,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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:33 def diagnostics; end # Inserts new code after the given source range. @@ -4498,7 +4498,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#131 + # pkg:gem/parser#lib/parser/source/rewriter.rb:131 def insert_after(range, content); end # Inserts new code after the given source range by allowing other @@ -4518,7 +4518,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#153 + # pkg:gem/parser#lib/parser/source/rewriter.rb:153 def insert_after_multi(range, content); end # Inserts new code before the given source range. @@ -4530,7 +4530,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#80 + # pkg:gem/parser#lib/parser/source/rewriter.rb:80 def insert_before(range, content); end # Inserts new code before the given source range by allowing other @@ -4550,7 +4550,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#117 + # pkg:gem/parser#lib/parser/source/rewriter.rb:117 def insert_before_multi(range, content); end # Applies all scheduled changes to the `source_buffer` and returns @@ -4560,7 +4560,7 @@ class Parser::Source::Rewriter # @deprecated Use {TreeRewriter#process} # @return [String] # - # source://parser//lib/parser/source/rewriter.rb#178 + # pkg:gem/parser#lib/parser/source/rewriter.rb:178 def process; end # Removes the source range. @@ -4571,7 +4571,7 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#67 + # pkg:gem/parser#lib/parser/source/rewriter.rb:67 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -4583,13 +4583,13 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#167 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:32 def source_buffer; end # Provides a protected block where a sequence of multiple rewrite actions @@ -4609,7 +4609,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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:216 def transaction; end # Inserts new code before and after the given source range. @@ -4622,62 +4622,62 @@ class Parser::Source::Rewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/rewriter.rb#94 + # pkg:gem/parser#lib/parser/source/rewriter.rb:94 def wrap(range, before, after); end private # @api public # - # source://parser//lib/parser/source/rewriter.rb#476 + # pkg:gem/parser#lib/parser/source/rewriter.rb:476 def active_clobber; end # @api public # - # source://parser//lib/parser/source/rewriter.rb#484 + # pkg:gem/parser#lib/parser/source/rewriter.rb:484 def active_clobber=(value); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#480 + # pkg:gem/parser#lib/parser/source/rewriter.rb:480 def active_insertions; end # @api public # - # source://parser//lib/parser/source/rewriter.rb#492 + # pkg:gem/parser#lib/parser/source/rewriter.rb:492 def active_insertions=(value); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#472 + # pkg:gem/parser#lib/parser/source/rewriter.rb:472 def active_queue; end # @api public # @return [Boolean] # - # source://parser//lib/parser/source/rewriter.rb#500 + # pkg:gem/parser#lib/parser/source/rewriter.rb:500 def adjacent?(range1, range2); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#351 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:366 def adjacent_insertions?(range); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#347 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:377 def adjacent_updates?(range); end # Schedule a code update. If it overlaps with another update, check @@ -4718,107 +4718,107 @@ class Parser::Source::Rewriter # # @api public # - # source://parser//lib/parser/source/rewriter.rb#280 + # pkg:gem/parser#lib/parser/source/rewriter.rb:280 def append(action); end # @api public # @return [Boolean] # - # source://parser//lib/parser/source/rewriter.rb#389 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:355 def clobbered_insertion?(insertion); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#343 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter.rb:468 def in_transaction?; end # @api public # - # source://parser//lib/parser/source/rewriter.rb#410 + # pkg:gem/parser#lib/parser/source/rewriter.rb:410 def merge_actions(action, existing); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#419 + # pkg:gem/parser#lib/parser/source/rewriter.rb:419 def merge_actions!(action, existing); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#425 + # pkg:gem/parser#lib/parser/source/rewriter.rb:425 def merge_replacements(actions); end # @api public # @raise [ClobberingError] # - # source://parser//lib/parser/source/rewriter.rb#450 + # pkg:gem/parser#lib/parser/source/rewriter.rb:450 def raise_clobber_error(action, existing); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#335 + # pkg:gem/parser#lib/parser/source/rewriter.rb:335 def record_insertion(range); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#339 + # pkg:gem/parser#lib/parser/source/rewriter.rb:339 def record_replace(range); end # @api public # - # source://parser//lib/parser/source/rewriter.rb#445 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/parser#lib/parser/source/rewriter/action.rb:9 class Parser::Source::Rewriter::Action include ::Comparable - # source://parser//lib/parser/source/rewriter/action.rb#15 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:24 def <=>(other); end - # source://parser//lib/parser/source/rewriter/action.rb#12 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:12 def allow_multiple_insertions; end - # source://parser//lib/parser/source/rewriter/action.rb#13 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:13 def allow_multiple_insertions?; end - # source://parser//lib/parser/source/rewriter/action.rb#12 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:12 def order; end - # source://parser//lib/parser/source/rewriter/action.rb#12 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:12 def range; end - # source://parser//lib/parser/source/rewriter/action.rb#12 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:12 def replacement; end - # source://parser//lib/parser/source/rewriter/action.rb#30 + # pkg:gem/parser#lib/parser/source/rewriter/action.rb:30 def to_s; end end # @api public # -# source://parser//lib/parser/source/rewriter.rb#504 +# pkg:gem/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. @@ -4899,7 +4899,7 @@ Parser::Source::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String) # # @api public # -# source://parser//lib/parser/source/tree_rewriter.rb#91 +# pkg:gem/parser#lib/parser/source/tree_rewriter.rb:91 class Parser::Source::TreeRewriter extend ::Parser::Deprecation @@ -4907,7 +4907,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 + # pkg:gem/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. @@ -4924,7 +4924,7 @@ class Parser::Source::TreeRewriter # @api public # @return [Array<(Symbol, Range, String{, String})>] # - # source://parser//lib/parser/source/tree_rewriter.rb#299 + # pkg:gem/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. @@ -4943,13 +4943,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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:93 def diagnostics; end # Returns true iff no (non trivial) update has been recorded @@ -4957,7 +4957,7 @@ class Parser::Source::TreeRewriter # @api public # @return [Boolean] # - # source://parser//lib/parser/source/tree_rewriter.rb#125 + # pkg:gem/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 @@ -4969,13 +4969,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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:329 def in_transaction?; end # Shortcut for `wrap(range, nil, content)` @@ -4986,13 +4986,13 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/tree_rewriter.rb#242 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:351 def insert_after_multi(range, text); end # Shortcut for `wrap(range, content, nil)` @@ -5003,18 +5003,18 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/tree_rewriter.rb#230 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:334 def inspect; end # Returns a new rewriter that consists of the updates of the received @@ -5025,7 +5025,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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:155 def merge(with); end # Merges the updates of argument with the receiver. @@ -5038,7 +5038,7 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/tree_rewriter.rb#139 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:139 def merge!(with); end # Applies all scheduled changes to the `source_buffer` and returns @@ -5047,7 +5047,7 @@ class Parser::Source::TreeRewriter # @api public # @return [String] # - # source://parser//lib/parser/source/tree_rewriter.rb#252 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:252 def process; end # Shortcut for `replace(range, '')` @@ -5057,7 +5057,7 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/tree_rewriter.rb#217 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:217 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -5068,13 +5068,13 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/tree_rewriter.rb#193 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:92 def source_buffer; end # Provides a protected block where a sequence of multiple rewrite actions @@ -5084,7 +5084,7 @@ class Parser::Source::TreeRewriter # @api public # @raise [RuntimeError] when no block is passed # - # source://parser//lib/parser/source/tree_rewriter.rb#310 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:310 def transaction; end # Inserts the given strings before and after the given range. @@ -5096,265 +5096,265 @@ class Parser::Source::TreeRewriter # @raise [ClobberingError] when clobbering is detected # @return [Rewriter] self # - # source://parser//lib/parser/source/tree_rewriter.rb#206 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:365 def action_root; end private # @api public # - # source://parser//lib/parser/source/tree_rewriter.rb#369 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:392 def check_policy_validity; end # @api public # - # source://parser//lib/parser/source/tree_rewriter.rb#404 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter.rb:397 def combine(range, attributes); end # @api public # - # source://parser//lib/parser/source/tree_rewriter.rb#411 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:14 class Parser::Source::TreeRewriter::Action - # source://parser//lib/parser/source/tree_rewriter/action.rb#17 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:29 def combine(action); end - # source://parser//lib/parser/source/tree_rewriter/action.rb#68 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:68 def contract; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#34 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:34 def empty?; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#15 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:15 def insert_after; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#15 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:15 def insert_before; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#58 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:58 def insertion?; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#81 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:50 def nested_actions; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#41 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:41 def ordered_replacements; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#15 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:15 def range; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#15 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:15 def replacement; end protected - # source://parser//lib/parser/source/tree_rewriter/action.rb#159 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:159 def analyse_hierarchy(action); end - # source://parser//lib/parser/source/tree_rewriter/action.rb#146 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:95 def children; end - # source://parser//lib/parser/source/tree_rewriter/action.rb#130 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:103 def do_combine(action); end - # source://parser//lib/parser/source/tree_rewriter/action.rb#136 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:216 def merge(action); end - # source://parser//lib/parser/source/tree_rewriter/action.rb#111 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/source/tree_rewriter/action.rb:233 def swallow(children); end - # source://parser//lib/parser/source/tree_rewriter/action.rb#97 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/static_environment.rb:17 def initialize; end - # source://parser//lib/parser/static_environment.rb#55 + # pkg:gem/parser#lib/parser/static_environment.rb:55 def declare(name); end # Anonymous blockarg # - # source://parser//lib/parser/static_environment.rb#77 + # pkg:gem/parser#lib/parser/static_environment.rb:77 def declare_anonymous_blockarg; end # Anonymous kwresarg # - # source://parser//lib/parser/static_environment.rb#113 + # pkg:gem/parser#lib/parser/static_environment.rb:113 def declare_anonymous_kwrestarg; end # Anonymous restarg # - # source://parser//lib/parser/static_environment.rb#95 + # pkg:gem/parser#lib/parser/static_environment.rb:95 def declare_anonymous_restarg; end # Forward args # - # source://parser//lib/parser/static_environment.rb#67 + # pkg:gem/parser#lib/parser/static_environment.rb:67 def declare_forward_args; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#61 + # pkg:gem/parser#lib/parser/static_environment.rb:61 def declared?(name); end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#81 + # pkg:gem/parser#lib/parser/static_environment.rb:81 def declared_anonymous_blockarg?; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#85 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/static_environment.rb:117 def declared_anonymous_kwrestarg?; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#121 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/static_environment.rb:99 def declared_anonymous_restarg?; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#103 + # pkg:gem/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 + # pkg:gem/parser#lib/parser/static_environment.rb:71 def declared_forward_args?; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#129 + # pkg:gem/parser#lib/parser/static_environment.rb:129 def empty?; end - # source://parser//lib/parser/static_environment.rb#33 + # pkg:gem/parser#lib/parser/static_environment.rb:33 def extend_dynamic; end - # source://parser//lib/parser/static_environment.rb#26 + # pkg:gem/parser#lib/parser/static_environment.rb:26 def extend_static; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#89 + # pkg:gem/parser#lib/parser/static_environment.rb:89 def parent_has_anonymous_blockarg?; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#125 + # pkg:gem/parser#lib/parser/static_environment.rb:125 def parent_has_anonymous_kwrestarg?; end # @return [Boolean] # - # source://parser//lib/parser/static_environment.rb#107 + # pkg:gem/parser#lib/parser/static_environment.rb:107 def parent_has_anonymous_restarg?; end - # source://parser//lib/parser/static_environment.rb#21 + # pkg:gem/parser#lib/parser/static_environment.rb:21 def reset; end - # source://parser//lib/parser/static_environment.rb#49 + # pkg:gem/parser#lib/parser/static_environment.rb:49 def unextend; end end -# source://parser//lib/parser/static_environment.rb#15 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -5362,18 +5362,18 @@ Parser::StaticEnvironment::FORWARD_ARGS = T.let(T.unsafe(nil), Symbol) # # @api public # -# source://parser//lib/parser/syntax_error.rb#13 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/syntax_error.rb:16 def initialize(diagnostic); end # @api public # @return [Parser::Diagnostic] # - # source://parser//lib/parser/syntax_error.rb#14 + # pkg:gem/parser#lib/parser/syntax_error.rb:14 def diagnostic; end end @@ -5422,7 +5422,7 @@ end # # @api public # -# source://parser//lib/parser/tree_rewriter.rb#51 +# pkg:gem/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. @@ -5431,7 +5431,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param node [Parser::AST::Node] # @return [Boolean] # - # source://parser//lib/parser/tree_rewriter.rb#79 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:79 def assignment?(node); end # Inserts new code after the given source range. @@ -5440,7 +5440,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/tree_rewriter.rb#118 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:118 def insert_after(range, content); end # Inserts new code before the given source range. @@ -5449,7 +5449,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/tree_rewriter.rb#108 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:108 def insert_before(range, content); end # Removes the source range. @@ -5457,7 +5457,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @api public # @param range [Parser::Source::Range] # - # source://parser//lib/parser/tree_rewriter.rb#88 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:88 def remove(range); end # Replaces the code of the source range `range` with `content`. @@ -5466,7 +5466,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/tree_rewriter.rb#128 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:128 def replace(range, content); end # Rewrites the AST/source buffer and returns a String containing the new @@ -5479,7 +5479,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param source_buffer [Parser::Source::Buffer] # @return [String] # - # source://parser//lib/parser/tree_rewriter.rb#62 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:62 def rewrite(source_buffer, ast, **policy); end # Wraps the given source range with the given values. @@ -5488,7 +5488,7 @@ class Parser::TreeRewriter < ::Parser::AST::Processor # @param content [String] # @param range [Parser::Source::Range] # - # source://parser//lib/parser/tree_rewriter.rb#98 + # pkg:gem/parser#lib/parser/tree_rewriter.rb:98 def wrap(range, before, after); end end @@ -5500,38 +5500,38 @@ end # # @api public # -# source://parser//lib/parser/unknown_encoding_in_magic_comment_error.rb#13 +# pkg:gem/parser#lib/parser/unknown_encoding_in_magic_comment_error.rb:13 class Parser::UnknownEncodingInMagicComment < ::ArgumentError; end -# source://parser//lib/parser/version.rb#4 +# pkg:gem/parser#lib/parser/version.rb:4 Parser::VERSION = T.let(T.unsafe(nil), String) -# source://parser//lib/parser/variables_stack.rb#5 +# pkg:gem/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 + # pkg:gem/parser#lib/parser/variables_stack.rb:6 def initialize; end - # source://parser//lib/parser/variables_stack.rb#27 + # pkg:gem/parser#lib/parser/variables_stack.rb:27 def declare(name); end # @return [Boolean] # - # source://parser//lib/parser/variables_stack.rb#31 + # pkg:gem/parser#lib/parser/variables_stack.rb:31 def declared?(name); end # @return [Boolean] # - # source://parser//lib/parser/variables_stack.rb#11 + # pkg:gem/parser#lib/parser/variables_stack.rb:11 def empty?; end - # source://parser//lib/parser/variables_stack.rb#19 + # pkg:gem/parser#lib/parser/variables_stack.rb:19 def pop; end - # source://parser//lib/parser/variables_stack.rb#15 + # pkg:gem/parser#lib/parser/variables_stack.rb:15 def push; end - # source://parser//lib/parser/variables_stack.rb#23 + # pkg:gem/parser#lib/parser/variables_stack.rb:23 def reset; end end diff --git a/sorbet/rbi/gems/pp@0.6.3.rbi b/sorbet/rbi/gems/pp@0.6.3.rbi index 84eba9c52..58bfb475e 100644 --- a/sorbet/rbi/gems/pp@0.6.3.rbi +++ b/sorbet/rbi/gems/pp@0.6.3.rbi @@ -8,35 +8,35 @@ class Array include ::Enumerable - # source://pp//lib/pp.rb#412 + # pkg:gem/pp#lib/pp.rb:412 def pretty_print(q); end - # source://pp//lib/pp.rb#420 + # pkg:gem/pp#lib/pp.rb:420 def pretty_print_cycle(q); end end class Data - # source://pp//lib/pp.rb#495 + # pkg:gem/pp#lib/pp.rb:495 def pretty_print(q); end - # source://pp//lib/pp.rb#523 + # pkg:gem/pp#lib/pp.rb:523 def pretty_print_cycle(q); end end class File::Stat include ::Comparable - # source://pp//lib/pp.rb#557 + # pkg:gem/pp#lib/pp.rb:557 def pretty_print(q); end end class Hash include ::Enumerable - # source://pp//lib/pp.rb#426 + # pkg:gem/pp#lib/pp.rb:426 def pretty_print(q); end - # source://pp//lib/pp.rb#430 + # pkg:gem/pp#lib/pp.rb:430 def pretty_print_cycle(q); end end @@ -45,7 +45,7 @@ module Kernel # # See the PP module for more information. # - # source://pp//lib/pp.rb#724 + # pkg:gem/pp#lib/pp.rb:724 def pretty_inspect; end private @@ -54,7 +54,7 @@ module Kernel # # +#pp+ returns argument(s). # - # source://pp//lib/pp.rb#731 + # pkg:gem/pp#lib/pp.rb:731 def pp(*objs); end class << self @@ -62,13 +62,13 @@ module Kernel # # +#pp+ returns argument(s). # - # source://pp//lib/pp.rb#731 + # pkg:gem/pp#lib/pp.rb:731 def pp(*objs); end end end class MatchData - # source://pp//lib/pp.rb#640 + # pkg:gem/pp#lib/pp.rb:640 def pretty_print(q); end end @@ -135,7 +135,7 @@ class PP < ::PrettyPrint class << self # :stopdoc: # - # source://pp//lib/pp.rb#116 + # pkg:gem/pp#lib/pp.rb:116 def mcall(obj, mod, meth, *args, &block); end # Outputs +obj+ to +out+ in pretty printed format of @@ -147,19 +147,19 @@ class PP < ::PrettyPrint # # PP.pp returns +out+. # - # source://pp//lib/pp.rb#96 + # pkg:gem/pp#lib/pp.rb:96 def pp(obj, out = T.unsafe(nil), width = T.unsafe(nil)); end # Returns the sharing detection flag as a boolean value. # It is false by default. # - # source://pp//lib/pp.rb#125 + # pkg:gem/pp#lib/pp.rb:125 def sharing_detection; end # Returns the sharing detection flag as a boolean value. # It is false by default. # - # source://pp//lib/pp.rb#129 + # pkg:gem/pp#lib/pp.rb:129 def sharing_detection=(b); end # Outputs +obj+ to +out+ like PP.pp but with no indent and @@ -167,7 +167,7 @@ class PP < ::PrettyPrint # # PP.singleline_pp returns +out+. # - # source://pp//lib/pp.rb#108 + # pkg:gem/pp#lib/pp.rb:108 def singleline_pp(obj, out = T.unsafe(nil)); end # Returns the usable width for +out+. @@ -181,7 +181,7 @@ class PP < ::PrettyPrint # * This -1 is for Windows command prompt, which moves the cursor to # the next line if it reaches the last column. # - # source://pp//lib/pp.rb#79 + # pkg:gem/pp#lib/pp.rb:79 def width_for(out); end end end @@ -197,13 +197,13 @@ module PP::ObjectMixin # This module provides predefined #pretty_print methods for some of # the most commonly used built-in classes for convenience. # - # source://pp//lib/pp.rb#362 + # pkg:gem/pp#lib/pp.rb:362 def pretty_print(q); end # A default pretty printing method for general objects that are # detected as part of a cycle. # - # source://pp//lib/pp.rb#379 + # pkg:gem/pp#lib/pp.rb:379 def pretty_print_cycle(q); end # Is #inspect implementation using #pretty_print. @@ -214,7 +214,7 @@ module PP::ObjectMixin # However, doing this requires that every class that #inspect is called on # implement #pretty_print, or a RuntimeError will be raised. # - # source://pp//lib/pp.rb#402 + # pkg:gem/pp#lib/pp.rb:402 def pretty_print_inspect; end # Returns a sorted array of instance variable names. @@ -222,7 +222,7 @@ module PP::ObjectMixin # This method should return an array of names of instance variables as symbols or strings as: # +[:@a, :@b]+. # - # source://pp//lib/pp.rb#390 + # pkg:gem/pp#lib/pp.rb:390 def pretty_print_instance_variables; end end @@ -232,7 +232,7 @@ module PP::PPMethods # to be pretty printed. Used to break cycles in chains of objects to be # pretty printed. # - # source://pp//lib/pp.rb#161 + # pkg:gem/pp#lib/pp.rb:161 def check_inspect_key(id); end # A convenience method which is same as follows: @@ -240,31 +240,31 @@ module PP::PPMethods # text ',' # breakable # - # source://pp//lib/pp.rb#238 + # pkg:gem/pp#lib/pp.rb:238 def comma_breakable; end # Yields to a block # and preserves the previous set of objects being printed. # - # source://pp//lib/pp.rb#147 + # pkg:gem/pp#lib/pp.rb:147 def guard_inspect_key; end # A convenience method, like object_group, but also reformats the Object's # object_id. # - # source://pp//lib/pp.rb#228 + # pkg:gem/pp#lib/pp.rb:228 def object_address_group(obj, &block); end # A convenience method which is same as follows: # # group(1, '#<' + obj.class.name, '>') { ... } # - # source://pp//lib/pp.rb#222 + # pkg:gem/pp#lib/pp.rb:222 def object_group(obj, &block); end # Removes an object from the set of objects being pretty printed. # - # source://pp//lib/pp.rb#173 + # pkg:gem/pp#lib/pp.rb:173 def pop_inspect_key(id); end # Adds +obj+ to the pretty printing buffer @@ -273,28 +273,28 @@ module PP::PPMethods # Object#pretty_print_cycle is used when +obj+ is already # printed, a.k.a the object reference chain has a cycle. # - # source://pp//lib/pp.rb#200 + # pkg:gem/pp#lib/pp.rb:200 def pp(obj); end # A pretty print for a Hash # - # source://pp//lib/pp.rb#302 + # pkg:gem/pp#lib/pp.rb:302 def pp_hash(obj); end # A pretty print for a pair of Hash # - # source://pp//lib/pp.rb#314 + # pkg:gem/pp#lib/pp.rb:314 def pp_hash_pair(k, v); end # A present standard failsafe for pretty printing any given Object # - # source://pp//lib/pp.rb#286 + # pkg:gem/pp#lib/pp.rb:286 def pp_object(obj); end # Adds the object_id +id+ to the set of objects being pretty printed, so # as to not repeat objects. # - # source://pp//lib/pp.rb#168 + # pkg:gem/pp#lib/pp.rb:168 def push_inspect_key(id); end # Adds a separated list. @@ -322,16 +322,16 @@ module PP::PPMethods # q.comma_breakable # xxx 3 # - # source://pp//lib/pp.rb#267 + # pkg:gem/pp#lib/pp.rb:267 def seplist(list, sep = T.unsafe(nil), iter_method = T.unsafe(nil)); end private - # source://pp//lib/pp.rb#177 + # pkg:gem/pp#lib/pp.rb:177 def guard_inspect(object); end end -# source://pp//lib/pp.rb#280 +# pkg:gem/pp#lib/pp.rb:280 PP::PPMethods::EMPTY_KWHASH = T.let(T.unsafe(nil), Hash) class PP::SingleLine < ::PrettyPrint::SingleLine @@ -340,37 +340,49 @@ end # The version string # -# source://pp//lib/pp.rb#67 +# pkg:gem/pp#lib/pp.rb:67 PP::VERSION = T.let(T.unsafe(nil), String) class Range include ::Enumerable - # source://pp//lib/pp.rb#529 + # pkg:gem/pp#lib/pp.rb:529 def pretty_print(q); end end class RubyVM::AbstractSyntaxTree::Node - # source://pp//lib/pp.rb#679 + # pkg:gem/pp#lib/pp.rb:679 def pretty_print(q); end - # source://pp//lib/pp.rb#666 + # pkg:gem/pp#lib/pp.rb:666 def pretty_print_children(q, names = T.unsafe(nil)); end end +class Set + include ::Enumerable + + # pkg:gem/pp#lib/pp.rb:443 + def pretty_print(pp); end + + # pkg:gem/pp#lib/pp.rb:451 + def pretty_print_cycle(pp); end +end + +class Set::CoreSet < ::Set; end + class String include ::Comparable - # source://pp//lib/pp.rb#541 + # pkg:gem/pp#lib/pp.rb:541 def pretty_print(q); end end class Struct include ::Enumerable - # source://pp//lib/pp.rb#468 + # pkg:gem/pp#lib/pp.rb:468 def pretty_print(q); end - # source://pp//lib/pp.rb#482 + # pkg:gem/pp#lib/pp.rb:482 def pretty_print_cycle(q); end end diff --git a/sorbet/rbi/gems/prettyprint@0.2.0.rbi b/sorbet/rbi/gems/prettyprint@0.2.0.rbi index af822d807..d7919d694 100644 --- a/sorbet/rbi/gems/prettyprint@0.2.0.rbi +++ b/sorbet/rbi/gems/prettyprint@0.2.0.rbi @@ -55,12 +55,12 @@ class PrettyPrint # # @return [PrettyPrint] a new instance of PrettyPrint # - # source://prettyprint//lib/prettyprint.rb#84 + # pkg:gem/prettyprint#lib/prettyprint.rb:84 def initialize(output = T.unsafe(nil), maxwidth = T.unsafe(nil), newline = T.unsafe(nil), &genspace); end # Breaks the buffer into lines that are shorter than #maxwidth # - # source://prettyprint//lib/prettyprint.rb#162 + # pkg:gem/prettyprint#lib/prettyprint.rb:162 def break_outmost_groups; end # This says "you can break a line here if necessary", and a +width+\-column @@ -71,7 +71,7 @@ class PrettyPrint # If +width+ is not specified, +sep.length+ is used. You will have to # specify this when +sep+ is a multibyte character, for example. # - # source://prettyprint//lib/prettyprint.rb#226 + # pkg:gem/prettyprint#lib/prettyprint.rb:226 def breakable(sep = T.unsafe(nil), width = T.unsafe(nil)); end # Returns the group most recently added to the stack. @@ -104,7 +104,7 @@ class PrettyPrint # # # # # - # source://prettyprint//lib/prettyprint.rb#157 + # pkg:gem/prettyprint#lib/prettyprint.rb:157 def current_group; end # This is similar to #breakable except @@ -123,12 +123,12 @@ class PrettyPrint # If +width+ is not specified, +sep.length+ is used. You will have to # specify this when +sep+ is a multibyte character, for example. # - # source://prettyprint//lib/prettyprint.rb#214 + # pkg:gem/prettyprint#lib/prettyprint.rb:214 def fill_breakable(sep = T.unsafe(nil), width = T.unsafe(nil)); end # outputs buffered data. # - # source://prettyprint//lib/prettyprint.rb#290 + # pkg:gem/prettyprint#lib/prettyprint.rb:290 def flush; end # A lambda or Proc, that takes one argument, of an Integer, and returns @@ -137,7 +137,7 @@ class PrettyPrint # By default this is: # lambda {|n| ' ' * n} # - # source://prettyprint//lib/prettyprint.rb#120 + # pkg:gem/prettyprint#lib/prettyprint.rb:120 def genspace; end # Groups line break hints added in the block. The line break hints are all @@ -150,56 +150,56 @@ class PrettyPrint # before grouping. If +close_obj+ is specified, text close_obj, # close_width is called after grouping. # - # source://prettyprint//lib/prettyprint.rb#251 + # pkg:gem/prettyprint#lib/prettyprint.rb:251 def group(indent = T.unsafe(nil), open_obj = T.unsafe(nil), close_obj = T.unsafe(nil), open_width = T.unsafe(nil), close_width = T.unsafe(nil)); end # The PrettyPrint::GroupQueue of groups in stack to be pretty printed # - # source://prettyprint//lib/prettyprint.rb#126 + # pkg:gem/prettyprint#lib/prettyprint.rb:126 def group_queue; end # Takes a block and queues a new group that is indented 1 level further. # - # source://prettyprint//lib/prettyprint.rb#262 + # pkg:gem/prettyprint#lib/prettyprint.rb:262 def group_sub; end # The number of spaces to be indented # - # source://prettyprint//lib/prettyprint.rb#123 + # pkg:gem/prettyprint#lib/prettyprint.rb:123 def indent; end # The maximum width of a line, before it is separated in to a newline # # This defaults to 79, and should be an Integer # - # source://prettyprint//lib/prettyprint.rb#108 + # pkg:gem/prettyprint#lib/prettyprint.rb:108 def maxwidth; end # Increases left margin after newline with +indent+ for line breaks added in # the block. # - # source://prettyprint//lib/prettyprint.rb#279 + # pkg:gem/prettyprint#lib/prettyprint.rb:279 def nest(indent); end # The value that is appended to +output+ to add a new line. # # This defaults to "\n", and should be String # - # source://prettyprint//lib/prettyprint.rb#113 + # pkg:gem/prettyprint#lib/prettyprint.rb:113 def newline; end # The output object. # # This defaults to '', and should accept the << method # - # source://prettyprint//lib/prettyprint.rb#103 + # pkg:gem/prettyprint#lib/prettyprint.rb:103 def output; end # This adds +obj+ as a text of +width+ columns in width. # # If +width+ is not specified, obj.length is used. # - # source://prettyprint//lib/prettyprint.rb#182 + # pkg:gem/prettyprint#lib/prettyprint.rb:182 def text(obj, width = T.unsafe(nil)); end class << self @@ -214,7 +214,7 @@ class PrettyPrint # # @yield [q] # - # source://prettyprint//lib/prettyprint.rb#47 + # pkg:gem/prettyprint#lib/prettyprint.rb:47 def format(output = T.unsafe(nil), maxwidth = T.unsafe(nil), newline = T.unsafe(nil), genspace = T.unsafe(nil)); end # This is similar to PrettyPrint::format but the result has no breaks. @@ -226,7 +226,7 @@ class PrettyPrint # # @yield [q] # - # source://prettyprint//lib/prettyprint.rb#61 + # pkg:gem/prettyprint#lib/prettyprint.rb:61 def singleline_format(output = T.unsafe(nil), maxwidth = T.unsafe(nil), newline = T.unsafe(nil), genspace = T.unsafe(nil)); end end end @@ -244,21 +244,21 @@ class PrettyPrint::Breakable # # @return [Breakable] a new instance of Breakable # - # source://prettyprint//lib/prettyprint.rb#347 + # pkg:gem/prettyprint#lib/prettyprint.rb:347 def initialize(sep, width, q); end # The number of spaces to indent. # # This is inferred from +q+ within PrettyPrint, passed in ::new # - # source://prettyprint//lib/prettyprint.rb#367 + # pkg:gem/prettyprint#lib/prettyprint.rb:367 def indent; end # Holds the separator String # # The +sep+ argument from ::new # - # source://prettyprint//lib/prettyprint.rb#359 + # pkg:gem/prettyprint#lib/prettyprint.rb:359 def obj; end # Render the String text of the objects that have been added to this @@ -266,12 +266,12 @@ class PrettyPrint::Breakable # # Output the text to +out+, and increment the width to +output_width+ # - # source://prettyprint//lib/prettyprint.rb#373 + # pkg:gem/prettyprint#lib/prettyprint.rb:373 def output(out, output_width); end # The width of +obj+ / +sep+ # - # source://prettyprint//lib/prettyprint.rb#362 + # pkg:gem/prettyprint#lib/prettyprint.rb:362 def width; end end @@ -292,29 +292,29 @@ class PrettyPrint::Group # # @return [Group] a new instance of Group # - # source://prettyprint//lib/prettyprint.rb#401 + # pkg:gem/prettyprint#lib/prettyprint.rb:401 def initialize(depth); end # Makes a break for this Group, and returns true # - # source://prettyprint//lib/prettyprint.rb#414 + # pkg:gem/prettyprint#lib/prettyprint.rb:414 def break; end # Boolean of whether this Group has made a break # # @return [Boolean] # - # source://prettyprint//lib/prettyprint.rb#419 + # pkg:gem/prettyprint#lib/prettyprint.rb:419 def break?; end # Array to hold the Breakable objects for this Group # - # source://prettyprint//lib/prettyprint.rb#411 + # pkg:gem/prettyprint#lib/prettyprint.rb:411 def breakables; end # This group's relation to previous groups # - # source://prettyprint//lib/prettyprint.rb#408 + # pkg:gem/prettyprint#lib/prettyprint.rb:408 def depth; end # Boolean of whether this Group has been queried for being first @@ -323,7 +323,7 @@ class PrettyPrint::Group # # @return [Boolean] # - # source://prettyprint//lib/prettyprint.rb#426 + # pkg:gem/prettyprint#lib/prettyprint.rb:426 def first?; end end @@ -341,17 +341,17 @@ class PrettyPrint::GroupQueue # # @return [GroupQueue] a new instance of GroupQueue # - # source://prettyprint//lib/prettyprint.rb#447 + # pkg:gem/prettyprint#lib/prettyprint.rb:447 def initialize(*groups); end # Remote +group+ from this queue # - # source://prettyprint//lib/prettyprint.rb#479 + # pkg:gem/prettyprint#lib/prettyprint.rb:479 def delete(group); end # Returns the outer group of the queue # - # source://prettyprint//lib/prettyprint.rb#463 + # pkg:gem/prettyprint#lib/prettyprint.rb:463 def deq; end # Enqueue +group+ @@ -359,7 +359,7 @@ class PrettyPrint::GroupQueue # This does not strictly append the group to the end of the queue, # but instead adds it in line, base on the +group.depth+ # - # source://prettyprint//lib/prettyprint.rb#456 + # pkg:gem/prettyprint#lib/prettyprint.rb:456 def enq(group); end end @@ -386,26 +386,26 @@ class PrettyPrint::SingleLine # # @return [SingleLine] a new instance of SingleLine # - # source://prettyprint//lib/prettyprint.rb#505 + # pkg:gem/prettyprint#lib/prettyprint.rb:505 def initialize(output, maxwidth = T.unsafe(nil), newline = T.unsafe(nil)); end # Appends +sep+ to the text to be output. By default +sep+ is ' ' # # +width+ argument is here for compatibility. It is a noop argument. # - # source://prettyprint//lib/prettyprint.rb#520 + # pkg:gem/prettyprint#lib/prettyprint.rb:520 def breakable(sep = T.unsafe(nil), width = T.unsafe(nil)); end # This is used as a predicate, and ought to be called first. # # @return [Boolean] # - # source://prettyprint//lib/prettyprint.rb#552 + # pkg:gem/prettyprint#lib/prettyprint.rb:552 def first?; end # Method present for compatibility, but is a noop # - # source://prettyprint//lib/prettyprint.rb#548 + # pkg:gem/prettyprint#lib/prettyprint.rb:548 def flush; end # Opens a block for grouping objects to be pretty printed. @@ -417,21 +417,21 @@ class PrettyPrint::SingleLine # * +open_width+ - noop argument. Present for compatibility. # * +close_width+ - noop argument. Present for compatibility. # - # source://prettyprint//lib/prettyprint.rb#539 + # pkg:gem/prettyprint#lib/prettyprint.rb:539 def group(indent = T.unsafe(nil), open_obj = T.unsafe(nil), close_obj = T.unsafe(nil), open_width = T.unsafe(nil), close_width = T.unsafe(nil)); end # Takes +indent+ arg, but does nothing with it. # # Yields to a block. # - # source://prettyprint//lib/prettyprint.rb#527 + # pkg:gem/prettyprint#lib/prettyprint.rb:527 def nest(indent); end # Add +obj+ to the text to be output. # # +width+ argument is here for compatibility. It is a noop argument. # - # source://prettyprint//lib/prettyprint.rb#513 + # pkg:gem/prettyprint#lib/prettyprint.rb:513 def text(obj, width = T.unsafe(nil)); end end @@ -451,27 +451,27 @@ class PrettyPrint::Text # # @return [Text] a new instance of Text # - # source://prettyprint//lib/prettyprint.rb#312 + # pkg:gem/prettyprint#lib/prettyprint.rb:312 def initialize; end # Include +obj+ in the objects to be pretty printed, and increment # this Text object's total width by +width+ # - # source://prettyprint//lib/prettyprint.rb#330 + # pkg:gem/prettyprint#lib/prettyprint.rb:330 def add(obj, width); end # Render the String text of the objects that have been added to this Text object. # # Output the text to +out+, and increment the width to +output_width+ # - # source://prettyprint//lib/prettyprint.rb#323 + # pkg:gem/prettyprint#lib/prettyprint.rb:323 def output(out, output_width); end # The total width of the objects included in this Text object. # - # source://prettyprint//lib/prettyprint.rb#318 + # pkg:gem/prettyprint#lib/prettyprint.rb:318 def width; end end -# source://prettyprint//lib/prettyprint.rb#36 +# pkg:gem/prettyprint#lib/prettyprint.rb:36 PrettyPrint::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/prism@1.7.0.rbi b/sorbet/rbi/gems/prism@1.7.0.rbi index e3ca3fd58..837b15d1c 100644 --- a/sorbet/rbi/gems/prism@1.7.0.rbi +++ b/sorbet/rbi/gems/prism@1.7.0.rbi @@ -29,7 +29,7 @@ module Parser; end class Parser::Base; end -# source://prism//lib/prism/translation/parser.rb#30 +# pkg:gem/prism#lib/prism/translation/parser.rb:30 class Parser::Diagnostic; end # The Prism Ruby parser. @@ -37,22 +37,22 @@ class Parser::Diagnostic; end # "Parsing Ruby is suddenly manageable!" # - You, hopefully # -# source://prism//lib/prism.rb#9 +# pkg:gem/prism#lib/prism.rb:9 module Prism class << self # Mirror the Prism.dump API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def dump(*_arg0); end # Mirror the Prism.dump_file API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def dump_file(*_arg0); end # Mirror the Prism.lex API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def lex(*_arg0); end # :call-seq: @@ -64,13 +64,13 @@ module Prism # # For supported options, see Prism::parse. # - # source://prism//lib/prism.rb#68 + # pkg:gem/prism#lib/prism.rb:68 sig { params(source: String, options: T::Hash[Symbol, T.untyped]).returns(Prism::LexCompat::Result) } def lex_compat(source, **options); end # Mirror the Prism.lex_file API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def lex_file(*_arg0); end # :call-seq: @@ -80,7 +80,7 @@ module Prism # returns the same tokens. Raises SyntaxError if the syntax in source is # invalid. # - # source://prism//lib/prism.rb#78 + # pkg:gem/prism#lib/prism.rb:78 sig { params(source: String).returns(T::Array[T.untyped]) } def lex_ripper(source); end @@ -89,92 +89,92 @@ module Prism # # Load the serialized AST using the source as a reference into a tree. # - # source://prism//lib/prism.rb#86 + # pkg:gem/prism#lib/prism.rb:86 sig { params(source: String, serialized: String, freeze: T.nilable(T::Boolean)).returns(Prism::ParseResult) } def load(source, serialized, freeze = T.unsafe(nil)); end # Mirror the Prism.parse API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse(*_arg0); end # Mirror the Prism.parse_comments API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_comments(*_arg0); end # Mirror the Prism.parse_failure? API by using the serialization API. # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_failure?(*_arg0); end # Mirror the Prism.parse_file API by using the serialization API. This uses # native strings instead of Ruby strings because it allows us to use mmap # when it is available. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_file(*_arg0); end # Mirror the Prism.parse_file_comments API by using the serialization # API. This uses native strings instead of Ruby strings because it allows us # to use mmap when it is available. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_file_comments(*_arg0); end # Mirror the Prism.parse_file_failure? API by using the serialization API. # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_file_failure?(*_arg0); end # Mirror the Prism.parse_file_success? API by using the serialization API. # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_file_success?(*_arg0); end # Mirror the Prism.parse_lex API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_lex(*_arg0); end # Mirror the Prism.parse_lex_file API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_lex_file(*_arg0); end # Mirror the Prism.parse_stream API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_stream(*_arg0); end # Mirror the Prism.parse_success? API by using the serialization API. # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse_success?(*_arg0); end # Mirror the Prism.profile API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def profile(*_arg0); end # Mirror the Prism.profile_file API by using the serialization API. # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def profile_file(*_arg0); end # Create a new scope with the given locals and forwarding options that is # suitable for passing into one of the Prism.* methods that accepts the # `scopes` option. # - # source://prism//lib/prism/parse_result.rb#895 + # pkg:gem/prism#lib/prism/parse_result.rb:895 sig { params(locals: T::Array[Symbol], forwarding: T::Array[Symbol]).returns(Prism::Scope) } def scope(locals: T.unsafe(nil), forwarding: T.unsafe(nil)); end end @@ -189,17 +189,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#241 +# pkg:gem/prism#lib/prism/parse_result.rb:241 class Prism::ASCIISource < ::Prism::Source # Return the column number in characters for the given byte offset. # - # source://prism//lib/prism/parse_result.rb#248 + # pkg:gem/prism#lib/prism/parse_result.rb:248 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#243 + # pkg:gem/prism#lib/prism/parse_result.rb:243 sig { params(byte_offset: Integer).returns(Integer) } def character_offset(byte_offset); end @@ -207,7 +207,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#265 + # pkg:gem/prism#lib/prism/parse_result.rb:265 sig do params( encoding: Encoding @@ -219,7 +219,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#272 + # pkg:gem/prism#lib/prism/parse_result.rb:272 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_column(byte_offset, encoding); end @@ -230,7 +230,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#258 + # pkg:gem/prism#lib/prism/parse_result.rb:258 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_offset(byte_offset, encoding); end end @@ -240,13 +240,13 @@ end # alias $foo $bar # ^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#319 +# pkg:gem/prism#lib/prism/node.rb:319 class Prism::AliasGlobalVariableNode < ::Prism::Node # Initialize a new AliasGlobalVariableNode node. # # @return [AliasGlobalVariableNode] a new instance of AliasGlobalVariableNode # - # source://prism//lib/prism/node.rb#321 + # pkg:gem/prism#lib/prism/node.rb:321 sig do params( source: Prism::Source, @@ -263,36 +263,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#414 + # pkg:gem/prism#lib/prism/node.rb:414 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#332 + # pkg:gem/prism#lib/prism/node.rb:332 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#337 + # pkg:gem/prism#lib/prism/node.rb:337 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#347 + # pkg:gem/prism#lib/prism/node.rb:347 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#342 + # pkg:gem/prism#lib/prism/node.rb:342 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#352 + # pkg:gem/prism#lib/prism/node.rb:352 sig do params( node_id: Integer, @@ -308,13 +308,13 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#357 + # pkg:gem/prism#lib/prism/node.rb:357 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#360 + # pkg:gem/prism#lib/prism/node.rb:360 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -323,13 +323,13 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#398 + # pkg:gem/prism#lib/prism/node.rb:398 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#393 + # pkg:gem/prism#lib/prism/node.rb:393 sig { returns(String) } def keyword; end @@ -338,7 +338,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # alias $foo $bar # ^^^^^ # - # source://prism//lib/prism/node.rb#380 + # pkg:gem/prism#lib/prism/node.rb:380 sig { returns(Prism::Location) } def keyword_loc; end @@ -347,7 +347,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # alias $foo $bar # ^^^^ # - # source://prism//lib/prism/node.rb#368 + # pkg:gem/prism#lib/prism/node.rb:368 sig { returns(T.any(Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)) } def new_name; end @@ -356,7 +356,7 @@ class Prism::AliasGlobalVariableNode < ::Prism::Node # alias $foo $bar # ^^^^ # - # source://prism//lib/prism/node.rb#374 + # pkg:gem/prism#lib/prism/node.rb:374 sig do returns(T.any(Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode, Prism::SymbolNode, Prism::MissingNode)) end @@ -365,19 +365,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#388 + # pkg:gem/prism#lib/prism/node.rb:388 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#403 + # pkg:gem/prism#lib/prism/node.rb:403 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#408 + # pkg:gem/prism#lib/prism/node.rb:408 def type; end end end @@ -387,13 +387,13 @@ end # alias foo bar # ^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#426 +# pkg:gem/prism#lib/prism/node.rb:426 class Prism::AliasMethodNode < ::Prism::Node # Initialize a new AliasMethodNode node. # # @return [AliasMethodNode] a new instance of AliasMethodNode # - # source://prism//lib/prism/node.rb#428 + # pkg:gem/prism#lib/prism/node.rb:428 sig do params( source: Prism::Source, @@ -410,36 +410,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#533 + # pkg:gem/prism#lib/prism/node.rb:533 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#439 + # pkg:gem/prism#lib/prism/node.rb:439 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#444 + # pkg:gem/prism#lib/prism/node.rb:444 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#454 + # pkg:gem/prism#lib/prism/node.rb:454 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#449 + # pkg:gem/prism#lib/prism/node.rb:449 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#459 + # pkg:gem/prism#lib/prism/node.rb:459 sig do params( node_id: Integer, @@ -455,13 +455,13 @@ class Prism::AliasMethodNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#464 + # pkg:gem/prism#lib/prism/node.rb:464 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#467 + # pkg:gem/prism#lib/prism/node.rb:467 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -470,13 +470,13 @@ class Prism::AliasMethodNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#517 + # pkg:gem/prism#lib/prism/node.rb:517 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#512 + # pkg:gem/prism#lib/prism/node.rb:512 sig { returns(String) } def keyword; end @@ -485,7 +485,7 @@ class Prism::AliasMethodNode < ::Prism::Node # alias foo bar # ^^^^^ # - # source://prism//lib/prism/node.rb#499 + # pkg:gem/prism#lib/prism/node.rb:499 sig { returns(Prism::Location) } def keyword_loc; end @@ -500,7 +500,7 @@ class Prism::AliasMethodNode < ::Prism::Node # alias :"#{foo}" :"#{bar}" # ^^^^^^^^^ # - # source://prism//lib/prism/node.rb#481 + # pkg:gem/prism#lib/prism/node.rb:481 sig { returns(T.any(Prism::SymbolNode, Prism::InterpolatedSymbolNode)) } def new_name; end @@ -515,7 +515,7 @@ class Prism::AliasMethodNode < ::Prism::Node # alias :"#{foo}" :"#{bar}" # ^^^^^^^^^ # - # source://prism//lib/prism/node.rb#493 + # pkg:gem/prism#lib/prism/node.rb:493 sig do returns(T.any(Prism::SymbolNode, Prism::InterpolatedSymbolNode, Prism::GlobalVariableReadNode, Prism::MissingNode)) end @@ -524,19 +524,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#507 + # pkg:gem/prism#lib/prism/node.rb:507 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#522 + # pkg:gem/prism#lib/prism/node.rb:522 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#527 + # pkg:gem/prism#lib/prism/node.rb:527 def type; end end end @@ -546,13 +546,13 @@ end # foo => bar | baz # ^^^^^^^^^ # -# source://prism//lib/prism/node.rb#545 +# pkg:gem/prism#lib/prism/node.rb:545 class Prism::AlternationPatternNode < ::Prism::Node # Initialize a new AlternationPatternNode node. # # @return [AlternationPatternNode] a new instance of AlternationPatternNode # - # source://prism//lib/prism/node.rb#547 + # pkg:gem/prism#lib/prism/node.rb:547 sig do params( source: Prism::Source, @@ -569,36 +569,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#640 + # pkg:gem/prism#lib/prism/node.rb:640 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#558 + # pkg:gem/prism#lib/prism/node.rb:558 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#563 + # pkg:gem/prism#lib/prism/node.rb:563 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#573 + # pkg:gem/prism#lib/prism/node.rb:573 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#568 + # pkg:gem/prism#lib/prism/node.rb:568 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#578 + # pkg:gem/prism#lib/prism/node.rb:578 sig do params( node_id: Integer, @@ -614,13 +614,13 @@ class Prism::AlternationPatternNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#583 + # pkg:gem/prism#lib/prism/node.rb:583 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#586 + # pkg:gem/prism#lib/prism/node.rb:586 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -629,7 +629,7 @@ class Prism::AlternationPatternNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#624 + # pkg:gem/prism#lib/prism/node.rb:624 sig { override.returns(String) } def inspect; end @@ -638,13 +638,13 @@ class Prism::AlternationPatternNode < ::Prism::Node # foo => bar | baz # ^^^ # - # source://prism//lib/prism/node.rb#594 + # pkg:gem/prism#lib/prism/node.rb:594 sig { returns(Prism::Node) } def left; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#619 + # pkg:gem/prism#lib/prism/node.rb:619 sig { returns(String) } def operator; end @@ -653,7 +653,7 @@ class Prism::AlternationPatternNode < ::Prism::Node # foo => bar | baz # ^ # - # source://prism//lib/prism/node.rb#606 + # pkg:gem/prism#lib/prism/node.rb:606 sig { returns(Prism::Location) } def operator_loc; end @@ -662,26 +662,26 @@ class Prism::AlternationPatternNode < ::Prism::Node # foo => bar | baz # ^^^ # - # source://prism//lib/prism/node.rb#600 + # pkg:gem/prism#lib/prism/node.rb:600 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#614 + # pkg:gem/prism#lib/prism/node.rb:614 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#629 + # pkg:gem/prism#lib/prism/node.rb:629 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#634 + # pkg:gem/prism#lib/prism/node.rb:634 def type; end end end @@ -691,13 +691,13 @@ end # left and right # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#652 +# pkg:gem/prism#lib/prism/node.rb:652 class Prism::AndNode < ::Prism::Node # Initialize a new AndNode node. # # @return [AndNode] a new instance of AndNode # - # source://prism//lib/prism/node.rb#654 + # pkg:gem/prism#lib/prism/node.rb:654 sig do params( source: Prism::Source, @@ -714,36 +714,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#753 + # pkg:gem/prism#lib/prism/node.rb:753 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#665 + # pkg:gem/prism#lib/prism/node.rb:665 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#670 + # pkg:gem/prism#lib/prism/node.rb:670 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#680 + # pkg:gem/prism#lib/prism/node.rb:680 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#675 + # pkg:gem/prism#lib/prism/node.rb:675 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#685 + # pkg:gem/prism#lib/prism/node.rb:685 sig do params( node_id: Integer, @@ -759,13 +759,13 @@ class Prism::AndNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#690 + # pkg:gem/prism#lib/prism/node.rb:690 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#693 + # pkg:gem/prism#lib/prism/node.rb:693 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -774,7 +774,7 @@ class Prism::AndNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#737 + # pkg:gem/prism#lib/prism/node.rb:737 sig { override.returns(String) } def inspect; end @@ -786,13 +786,13 @@ class Prism::AndNode < ::Prism::Node # 1 && 2 # ^ # - # source://prism//lib/prism/node.rb#704 + # pkg:gem/prism#lib/prism/node.rb:704 sig { returns(Prism::Node) } def left; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#732 + # pkg:gem/prism#lib/prism/node.rb:732 sig { returns(String) } def operator; end @@ -801,7 +801,7 @@ class Prism::AndNode < ::Prism::Node # left and right # ^^^ # - # source://prism//lib/prism/node.rb#719 + # pkg:gem/prism#lib/prism/node.rb:719 sig { returns(Prism::Location) } def operator_loc; end @@ -813,26 +813,26 @@ class Prism::AndNode < ::Prism::Node # 1 and 2 # ^ # - # source://prism//lib/prism/node.rb#713 + # pkg:gem/prism#lib/prism/node.rb:713 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#727 + # pkg:gem/prism#lib/prism/node.rb:727 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#742 + # pkg:gem/prism#lib/prism/node.rb:742 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#747 + # pkg:gem/prism#lib/prism/node.rb:747 def type; end end end @@ -842,13 +842,13 @@ end # return foo, bar, baz # ^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#765 +# pkg:gem/prism#lib/prism/node.rb:765 class Prism::ArgumentsNode < ::Prism::Node # Initialize a new ArgumentsNode node. # # @return [ArgumentsNode] a new instance of ArgumentsNode # - # source://prism//lib/prism/node.rb#767 + # pkg:gem/prism#lib/prism/node.rb:767 sig do params( source: Prism::Source, @@ -863,12 +863,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#856 + # pkg:gem/prism#lib/prism/node.rb:856 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#776 + # pkg:gem/prism#lib/prism/node.rb:776 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -877,25 +877,25 @@ class Prism::ArgumentsNode < ::Prism::Node # foo(bar, baz) # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#837 + # pkg:gem/prism#lib/prism/node.rb:837 sig { returns(T::Array[Prism::Node]) } def arguments; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#781 + # pkg:gem/prism#lib/prism/node.rb:781 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#791 + # pkg:gem/prism#lib/prism/node.rb:791 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#786 + # pkg:gem/prism#lib/prism/node.rb:786 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -903,7 +903,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#809 + # pkg:gem/prism#lib/prism/node.rb:809 sig { returns(T::Boolean) } def contains_forwarding?; end @@ -911,7 +911,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#819 + # pkg:gem/prism#lib/prism/node.rb:819 sig { returns(T::Boolean) } def contains_keyword_splat?; end @@ -919,7 +919,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#814 + # pkg:gem/prism#lib/prism/node.rb:814 sig { returns(T::Boolean) } def contains_keywords?; end @@ -927,7 +927,7 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#829 + # pkg:gem/prism#lib/prism/node.rb:829 sig { returns(T::Boolean) } def contains_multiple_splats?; end @@ -935,13 +935,13 @@ class Prism::ArgumentsNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#824 + # pkg:gem/prism#lib/prism/node.rb:824 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#796 + # pkg:gem/prism#lib/prism/node.rb:796 sig do params( node_id: Integer, @@ -955,13 +955,13 @@ class Prism::ArgumentsNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#801 + # pkg:gem/prism#lib/prism/node.rb:801 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#804 + # pkg:gem/prism#lib/prism/node.rb:804 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -970,52 +970,52 @@ class Prism::ArgumentsNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#840 + # pkg:gem/prism#lib/prism/node.rb:840 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#845 + # pkg:gem/prism#lib/prism/node.rb:845 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#850 + # pkg:gem/prism#lib/prism/node.rb:850 def type; end end end # Flags for arguments nodes. # -# source://prism//lib/prism/node.rb#18669 +# pkg:gem/prism#lib/prism/node.rb:18669 module Prism::ArgumentsNodeFlags; end # if the arguments contain forwarding # -# source://prism//lib/prism/node.rb#18671 +# pkg:gem/prism#lib/prism/node.rb:18671 Prism::ArgumentsNodeFlags::CONTAINS_FORWARDING = T.let(T.unsafe(nil), Integer) # if the arguments contain keywords # -# source://prism//lib/prism/node.rb#18674 +# pkg:gem/prism#lib/prism/node.rb:18674 Prism::ArgumentsNodeFlags::CONTAINS_KEYWORDS = T.let(T.unsafe(nil), Integer) # if the arguments contain a keyword splat # -# source://prism//lib/prism/node.rb#18677 +# pkg:gem/prism#lib/prism/node.rb:18677 Prism::ArgumentsNodeFlags::CONTAINS_KEYWORD_SPLAT = T.let(T.unsafe(nil), Integer) # if the arguments contain multiple splats # -# source://prism//lib/prism/node.rb#18683 +# pkg:gem/prism#lib/prism/node.rb:18683 Prism::ArgumentsNodeFlags::CONTAINS_MULTIPLE_SPLATS = T.let(T.unsafe(nil), Integer) # if the arguments contain a splat # -# source://prism//lib/prism/node.rb#18680 +# pkg:gem/prism#lib/prism/node.rb:18680 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. @@ -1023,13 +1023,13 @@ Prism::ArgumentsNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # [1, 2, 3] # ^^^^^^^^^ # -# source://prism//lib/prism/node.rb#868 +# pkg:gem/prism#lib/prism/node.rb:868 class Prism::ArrayNode < ::Prism::Node # Initialize a new ArrayNode node. # # @return [ArrayNode] a new instance of ArrayNode # - # source://prism//lib/prism/node.rb#870 + # pkg:gem/prism#lib/prism/node.rb:870 sig do params( source: Prism::Source, @@ -1046,24 +1046,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#996 + # pkg:gem/prism#lib/prism/node.rb:996 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#881 + # pkg:gem/prism#lib/prism/node.rb:881 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#886 + # pkg:gem/prism#lib/prism/node.rb:886 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#975 + # pkg:gem/prism#lib/prism/node.rb:975 sig { returns(T.nilable(String)) } def closing; end @@ -1074,19 +1074,19 @@ class Prism::ArrayNode < ::Prism::Node # %I(apple orange banana) # ")" # foo = 1, 2, 3 # nil # - # source://prism//lib/prism/node.rb#951 + # pkg:gem/prism#lib/prism/node.rb:951 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#896 + # pkg:gem/prism#lib/prism/node.rb:896 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#891 + # pkg:gem/prism#lib/prism/node.rb:891 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -1094,13 +1094,13 @@ class Prism::ArrayNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#914 + # pkg:gem/prism#lib/prism/node.rb:914 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#901 + # pkg:gem/prism#lib/prism/node.rb:901 sig do params( node_id: Integer, @@ -1116,19 +1116,19 @@ class Prism::ArrayNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#906 + # pkg:gem/prism#lib/prism/node.rb:906 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#909 + # pkg:gem/prism#lib/prism/node.rb:909 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#919 + # pkg:gem/prism#lib/prism/node.rb:919 sig { returns(T::Array[Prism::Node]) } def elements; end @@ -1137,13 +1137,13 @@ class Prism::ArrayNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#980 + # pkg:gem/prism#lib/prism/node.rb:980 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#970 + # pkg:gem/prism#lib/prism/node.rb:970 sig { returns(T.nilable(String)) } def opening; end @@ -1154,44 +1154,44 @@ class Prism::ArrayNode < ::Prism::Node # %I(apple orange banana) # "%I(" # foo = 1, 2, 3 # nil # - # source://prism//lib/prism/node.rb#927 + # pkg:gem/prism#lib/prism/node.rb:927 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#965 + # pkg:gem/prism#lib/prism/node.rb:965 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#941 + # pkg:gem/prism#lib/prism/node.rb:941 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#985 + # pkg:gem/prism#lib/prism/node.rb:985 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#990 + # pkg:gem/prism#lib/prism/node.rb:990 def type; end end end # Flags for array nodes. # -# source://prism//lib/prism/node.rb#18687 +# pkg:gem/prism#lib/prism/node.rb:18687 module Prism::ArrayNodeFlags; end # if array contains splat nodes # -# source://prism//lib/prism/node.rb#18689 +# pkg:gem/prism#lib/prism/node.rb:18689 Prism::ArrayNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # Represents an array pattern in pattern matching. @@ -1211,13 +1211,13 @@ Prism::ArrayNodeFlags::CONTAINS_SPLAT = T.let(T.unsafe(nil), Integer) # foo in Bar[1, 2, 3] # ^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#1022 +# pkg:gem/prism#lib/prism/node.rb:1022 class Prism::ArrayPatternNode < ::Prism::Node # Initialize a new ArrayPatternNode node. # # @return [ArrayPatternNode] a new instance of ArrayPatternNode # - # source://prism//lib/prism/node.rb#1024 + # pkg:gem/prism#lib/prism/node.rb:1024 sig do params( source: Prism::Source, @@ -1237,24 +1237,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#1176 + # pkg:gem/prism#lib/prism/node.rb:1176 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1038 + # pkg:gem/prism#lib/prism/node.rb:1038 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1043 + # pkg:gem/prism#lib/prism/node.rb:1043 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#1155 + # pkg:gem/prism#lib/prism/node.rb:1155 sig { returns(T.nilable(String)) } def closing; end @@ -1263,19 +1263,19 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in [1, 2] # ^ # - # source://prism//lib/prism/node.rb#1131 + # pkg:gem/prism#lib/prism/node.rb:1131 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#1058 + # pkg:gem/prism#lib/prism/node.rb:1058 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#1048 + # pkg:gem/prism#lib/prism/node.rb:1048 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -1290,13 +1290,13 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in Bar::Baz[1, 2, 3] # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#1085 + # pkg:gem/prism#lib/prism/node.rb:1085 sig { returns(T.nilable(T.any(Prism::ConstantPathNode, Prism::ConstantReadNode))) } def constant; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?constant: ConstantPathNode | ConstantReadNode | 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#1063 + # pkg:gem/prism#lib/prism/node.rb:1063 sig do params( node_id: Integer, @@ -1315,13 +1315,13 @@ class Prism::ArrayPatternNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1068 + # pkg:gem/prism#lib/prism/node.rb:1068 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, constant: ConstantPathNode | ConstantReadNode | nil, requireds: Array[Prism::node], rest: Prism::node?, posts: Array[Prism::node], opening_loc: Location?, closing_loc: Location? } # - # source://prism//lib/prism/node.rb#1071 + # pkg:gem/prism#lib/prism/node.rb:1071 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1330,13 +1330,13 @@ class Prism::ArrayPatternNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1160 + # pkg:gem/prism#lib/prism/node.rb:1160 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#1150 + # pkg:gem/prism#lib/prism/node.rb:1150 sig { returns(T.nilable(String)) } def opening; end @@ -1345,7 +1345,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in [1, 2] # ^ # - # source://prism//lib/prism/node.rb#1109 + # pkg:gem/prism#lib/prism/node.rb:1109 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -1354,7 +1354,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in *bar, baz # ^^^ # - # source://prism//lib/prism/node.rb#1103 + # pkg:gem/prism#lib/prism/node.rb:1103 sig { returns(T::Array[Prism::Node]) } def posts; end @@ -1363,7 +1363,7 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in [1, 2] # ^ ^ # - # source://prism//lib/prism/node.rb#1091 + # pkg:gem/prism#lib/prism/node.rb:1091 sig { returns(T::Array[Prism::Node]) } def requireds; end @@ -1372,32 +1372,32 @@ class Prism::ArrayPatternNode < ::Prism::Node # foo in *bar # ^^^^ # - # source://prism//lib/prism/node.rb#1097 + # pkg:gem/prism#lib/prism/node.rb:1097 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#1145 + # pkg:gem/prism#lib/prism/node.rb:1145 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#1123 + # pkg:gem/prism#lib/prism/node.rb:1123 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#1165 + # pkg:gem/prism#lib/prism/node.rb:1165 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#1170 + # pkg:gem/prism#lib/prism/node.rb:1170 def type; end end end @@ -1407,13 +1407,13 @@ end # { a => b } # ^^^^^^ # -# source://prism//lib/prism/node.rb#1193 +# pkg:gem/prism#lib/prism/node.rb:1193 class Prism::AssocNode < ::Prism::Node # Initialize a new AssocNode node. # # @return [AssocNode] a new instance of AssocNode # - # source://prism//lib/prism/node.rb#1195 + # pkg:gem/prism#lib/prism/node.rb:1195 sig do params( source: Prism::Source, @@ -1430,36 +1430,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#1303 + # pkg:gem/prism#lib/prism/node.rb:1303 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1206 + # pkg:gem/prism#lib/prism/node.rb:1206 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1211 + # pkg:gem/prism#lib/prism/node.rb:1211 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#1221 + # pkg:gem/prism#lib/prism/node.rb:1221 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#1216 + # pkg:gem/prism#lib/prism/node.rb:1216 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#1226 + # pkg:gem/prism#lib/prism/node.rb:1226 sig do params( node_id: Integer, @@ -1475,13 +1475,13 @@ class Prism::AssocNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1231 + # pkg:gem/prism#lib/prism/node.rb:1231 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#1234 + # pkg:gem/prism#lib/prism/node.rb:1234 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1490,7 +1490,7 @@ class Prism::AssocNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1287 + # pkg:gem/prism#lib/prism/node.rb:1287 sig { override.returns(String) } def inspect; end @@ -1505,13 +1505,13 @@ class Prism::AssocNode < ::Prism::Node # { def a; end => 1 } # ^^^^^^^^^^ # - # source://prism//lib/prism/node.rb#1248 + # pkg:gem/prism#lib/prism/node.rb:1248 sig { returns(Prism::Node) } def key; end # def operator: () -> String? # - # source://prism//lib/prism/node.rb#1282 + # pkg:gem/prism#lib/prism/node.rb:1282 sig { returns(T.nilable(String)) } def operator; end @@ -1520,19 +1520,19 @@ class Prism::AssocNode < ::Prism::Node # { foo => bar } # ^^ # - # source://prism//lib/prism/node.rb#1263 + # pkg:gem/prism#lib/prism/node.rb:1263 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#1277 + # pkg:gem/prism#lib/prism/node.rb:1277 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#1292 + # pkg:gem/prism#lib/prism/node.rb:1292 sig { override.returns(Symbol) } def type; end @@ -1544,14 +1544,14 @@ class Prism::AssocNode < ::Prism::Node # { x: 1 } # ^ # - # source://prism//lib/prism/node.rb#1257 + # pkg:gem/prism#lib/prism/node.rb:1257 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#1297 + # pkg:gem/prism#lib/prism/node.rb:1297 def type; end end end @@ -1561,13 +1561,13 @@ end # { **foo } # ^^^^^ # -# source://prism//lib/prism/node.rb#1315 +# pkg:gem/prism#lib/prism/node.rb:1315 class Prism::AssocSplatNode < ::Prism::Node # Initialize a new AssocSplatNode node. # # @return [AssocSplatNode] a new instance of AssocSplatNode # - # source://prism//lib/prism/node.rb#1317 + # pkg:gem/prism#lib/prism/node.rb:1317 sig do params( source: Prism::Source, @@ -1583,36 +1583,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#1405 + # pkg:gem/prism#lib/prism/node.rb:1405 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1327 + # pkg:gem/prism#lib/prism/node.rb:1327 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1332 + # pkg:gem/prism#lib/prism/node.rb:1332 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#1344 + # pkg:gem/prism#lib/prism/node.rb:1344 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#1337 + # pkg:gem/prism#lib/prism/node.rb:1337 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#1349 + # pkg:gem/prism#lib/prism/node.rb:1349 sig do params( node_id: Integer, @@ -1627,13 +1627,13 @@ class Prism::AssocSplatNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1354 + # pkg:gem/prism#lib/prism/node.rb:1354 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#1357 + # pkg:gem/prism#lib/prism/node.rb:1357 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1642,13 +1642,13 @@ class Prism::AssocSplatNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1389 + # pkg:gem/prism#lib/prism/node.rb:1389 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#1384 + # pkg:gem/prism#lib/prism/node.rb:1384 sig { returns(String) } def operator; end @@ -1657,19 +1657,19 @@ class Prism::AssocSplatNode < ::Prism::Node # { **x } # ^^ # - # source://prism//lib/prism/node.rb#1371 + # pkg:gem/prism#lib/prism/node.rb:1371 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#1379 + # pkg:gem/prism#lib/prism/node.rb:1379 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#1394 + # pkg:gem/prism#lib/prism/node.rb:1394 sig { override.returns(Symbol) } def type; end @@ -1678,21 +1678,21 @@ class Prism::AssocSplatNode < ::Prism::Node # { **foo } # ^^^ # - # source://prism//lib/prism/node.rb#1365 + # pkg:gem/prism#lib/prism/node.rb:1365 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#1399 + # pkg:gem/prism#lib/prism/node.rb:1399 def type; end end end # The FFI backend is used on other Ruby implementations. # -# source://prism//lib/prism.rb#103 +# pkg:gem/prism#lib/prism.rb:103 Prism::BACKEND = T.let(T.unsafe(nil), Symbol) # Represents reading a reference to a field in the previous match. @@ -1700,49 +1700,49 @@ Prism::BACKEND = T.let(T.unsafe(nil), Symbol) # $' # ^^ # -# source://prism//lib/prism/node.rb#1416 +# pkg:gem/prism#lib/prism/node.rb:1416 class Prism::BackReferenceReadNode < ::Prism::Node # Initialize a new BackReferenceReadNode node. # # @return [BackReferenceReadNode] a new instance of BackReferenceReadNode # - # source://prism//lib/prism/node.rb#1418 + # pkg:gem/prism#lib/prism/node.rb:1418 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#1483 + # pkg:gem/prism#lib/prism/node.rb:1483 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1427 + # pkg:gem/prism#lib/prism/node.rb:1427 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1432 + # pkg:gem/prism#lib/prism/node.rb:1432 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#1442 + # pkg:gem/prism#lib/prism/node.rb:1442 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#1437 + # pkg:gem/prism#lib/prism/node.rb:1437 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#1447 + # pkg:gem/prism#lib/prism/node.rb:1447 sig do params( node_id: Integer, @@ -1756,13 +1756,13 @@ class Prism::BackReferenceReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1452 + # pkg:gem/prism#lib/prism/node.rb:1452 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#1455 + # pkg:gem/prism#lib/prism/node.rb:1455 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1771,7 +1771,7 @@ class Prism::BackReferenceReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1467 + # pkg:gem/prism#lib/prism/node.rb:1467 sig { override.returns(String) } def inspect; end @@ -1781,20 +1781,20 @@ class Prism::BackReferenceReadNode < ::Prism::Node # # $+ # name `:$+` # - # source://prism//lib/prism/node.rb#1464 + # pkg:gem/prism#lib/prism/node.rb:1464 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#1472 + # pkg:gem/prism#lib/prism/node.rb:1472 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#1477 + # pkg:gem/prism#lib/prism/node.rb:1477 def type; end end end @@ -1804,24 +1804,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#17 +# pkg:gem/prism#lib/prism/visitor.rb:17 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#20 + # pkg:gem/prism#lib/prism/visitor.rb:20 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#26 + # pkg:gem/prism#lib/prism/visitor.rb:26 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#32 + # pkg:gem/prism#lib/prism/visitor.rb:32 sig { params(node: Prism::Node).void } def visit_child_nodes(node); end end @@ -1833,13 +1833,13 @@ end # end # ^^^^^ # -# source://prism//lib/prism/node.rb#1495 +# pkg:gem/prism#lib/prism/node.rb:1495 class Prism::BeginNode < ::Prism::Node # Initialize a new BeginNode node. # # @return [BeginNode] a new instance of BeginNode # - # source://prism//lib/prism/node.rb#1497 + # pkg:gem/prism#lib/prism/node.rb:1497 sig do params( source: Prism::Source, @@ -1859,18 +1859,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#1643 + # pkg:gem/prism#lib/prism/node.rb:1643 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1511 + # pkg:gem/prism#lib/prism/node.rb:1511 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def begin_keyword: () -> String? # - # source://prism//lib/prism/node.rb#1617 + # pkg:gem/prism#lib/prism/node.rb:1617 sig { returns(T.nilable(String)) } def begin_keyword; end @@ -1879,31 +1879,31 @@ class Prism::BeginNode < ::Prism::Node # begin x end # ^^^^^ # - # source://prism//lib/prism/node.rb#1552 + # pkg:gem/prism#lib/prism/node.rb:1552 sig { returns(T.nilable(Prism::Location)) } def begin_keyword_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1516 + # pkg:gem/prism#lib/prism/node.rb:1516 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#1531 + # pkg:gem/prism#lib/prism/node.rb:1531 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#1521 + # pkg:gem/prism#lib/prism/node.rb:1521 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#1536 + # pkg:gem/prism#lib/prism/node.rb:1536 sig do params( node_id: Integer, @@ -1922,13 +1922,13 @@ class Prism::BeginNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1541 + # pkg:gem/prism#lib/prism/node.rb:1541 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#1544 + # pkg:gem/prism#lib/prism/node.rb:1544 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -1937,13 +1937,13 @@ class Prism::BeginNode < ::Prism::Node # begin x; rescue y; else z; end # ^^^^^^ # - # source://prism//lib/prism/node.rb#1586 + # pkg:gem/prism#lib/prism/node.rb:1586 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String? # - # source://prism//lib/prism/node.rb#1622 + # pkg:gem/prism#lib/prism/node.rb:1622 sig { returns(T.nilable(String)) } def end_keyword; end @@ -1952,7 +1952,7 @@ class Prism::BeginNode < ::Prism::Node # begin x end # ^^^ # - # source://prism//lib/prism/node.rb#1598 + # pkg:gem/prism#lib/prism/node.rb:1598 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -1961,7 +1961,7 @@ class Prism::BeginNode < ::Prism::Node # begin x; ensure y; end # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#1592 + # pkg:gem/prism#lib/prism/node.rb:1592 sig { returns(T.nilable(Prism::EnsureNode)) } def ensure_clause; end @@ -1970,11 +1970,11 @@ class Prism::BeginNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1627 + # pkg:gem/prism#lib/prism/node.rb:1627 sig { override.returns(String) } def inspect; end - # source://prism//lib/prism/parse_result/newlines.rb#80 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:80 def newline_flag!(lines); end # Represents the rescue clause within the begin block. @@ -1982,20 +1982,20 @@ class Prism::BeginNode < ::Prism::Node # begin x; rescue y; end # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#1580 + # pkg:gem/prism#lib/prism/node.rb:1580 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#1566 + # pkg:gem/prism#lib/prism/node.rb:1566 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#1612 + # pkg:gem/prism#lib/prism/node.rb:1612 def save_end_keyword_loc(repository); end # Represents the statements within the begin block. @@ -2003,20 +2003,20 @@ class Prism::BeginNode < ::Prism::Node # begin x end # ^ # - # source://prism//lib/prism/node.rb#1574 + # pkg:gem/prism#lib/prism/node.rb:1574 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#1632 + # pkg:gem/prism#lib/prism/node.rb:1632 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#1637 + # pkg:gem/prism#lib/prism/node.rb:1637 def type; end end end @@ -2026,13 +2026,13 @@ end # bar(&args) # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#1658 +# pkg:gem/prism#lib/prism/node.rb:1658 class Prism::BlockArgumentNode < ::Prism::Node # Initialize a new BlockArgumentNode node. # # @return [BlockArgumentNode] a new instance of BlockArgumentNode # - # source://prism//lib/prism/node.rb#1660 + # pkg:gem/prism#lib/prism/node.rb:1660 sig do params( source: Prism::Source, @@ -2048,36 +2048,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#1748 + # pkg:gem/prism#lib/prism/node.rb:1748 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1670 + # pkg:gem/prism#lib/prism/node.rb:1670 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1675 + # pkg:gem/prism#lib/prism/node.rb:1675 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#1687 + # pkg:gem/prism#lib/prism/node.rb:1687 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#1680 + # pkg:gem/prism#lib/prism/node.rb:1680 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#1692 + # pkg:gem/prism#lib/prism/node.rb:1692 sig do params( node_id: Integer, @@ -2092,13 +2092,13 @@ class Prism::BlockArgumentNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1697 + # pkg:gem/prism#lib/prism/node.rb:1697 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#1700 + # pkg:gem/prism#lib/prism/node.rb:1700 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2107,7 +2107,7 @@ class Prism::BlockArgumentNode < ::Prism::Node # foo(&args) # ^^^^^ # - # source://prism//lib/prism/node.rb#1708 + # pkg:gem/prism#lib/prism/node.rb:1708 sig { returns(T.nilable(Prism::Node)) } def expression; end @@ -2116,13 +2116,13 @@ class Prism::BlockArgumentNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1732 + # pkg:gem/prism#lib/prism/node.rb:1732 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#1727 + # pkg:gem/prism#lib/prism/node.rb:1727 sig { returns(String) } def operator; end @@ -2131,26 +2131,26 @@ class Prism::BlockArgumentNode < ::Prism::Node # foo(&args) # ^ # - # source://prism//lib/prism/node.rb#1714 + # pkg:gem/prism#lib/prism/node.rb:1714 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#1722 + # pkg:gem/prism#lib/prism/node.rb:1722 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#1737 + # pkg:gem/prism#lib/prism/node.rb:1737 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#1742 + # pkg:gem/prism#lib/prism/node.rb:1742 def type; end end end @@ -2160,49 +2160,49 @@ end # a { |; b| } # ^ # -# source://prism//lib/prism/node.rb#1759 +# pkg:gem/prism#lib/prism/node.rb:1759 class Prism::BlockLocalVariableNode < ::Prism::Node # Initialize a new BlockLocalVariableNode node. # # @return [BlockLocalVariableNode] a new instance of BlockLocalVariableNode # - # source://prism//lib/prism/node.rb#1761 + # pkg:gem/prism#lib/prism/node.rb:1761 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#1830 + # pkg:gem/prism#lib/prism/node.rb:1830 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1770 + # pkg:gem/prism#lib/prism/node.rb:1770 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1775 + # pkg:gem/prism#lib/prism/node.rb:1775 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#1785 + # pkg:gem/prism#lib/prism/node.rb:1785 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#1780 + # pkg:gem/prism#lib/prism/node.rb:1780 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#1790 + # pkg:gem/prism#lib/prism/node.rb:1790 sig do params( node_id: Integer, @@ -2216,13 +2216,13 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1795 + # pkg:gem/prism#lib/prism/node.rb:1795 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#1798 + # pkg:gem/prism#lib/prism/node.rb:1798 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2231,7 +2231,7 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1814 + # pkg:gem/prism#lib/prism/node.rb:1814 sig { override.returns(String) } def inspect; end @@ -2240,7 +2240,7 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # a { |; b| } # name `:b` # ^ # - # source://prism//lib/prism/node.rb#1811 + # pkg:gem/prism#lib/prism/node.rb:1811 sig { returns(Symbol) } def name; end @@ -2248,20 +2248,20 @@ class Prism::BlockLocalVariableNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#1803 + # pkg:gem/prism#lib/prism/node.rb:1803 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#1819 + # pkg:gem/prism#lib/prism/node.rb:1819 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#1824 + # pkg:gem/prism#lib/prism/node.rb:1824 def type; end end end @@ -2271,13 +2271,13 @@ end # [1, 2, 3].each { |i| puts x } # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#1841 +# pkg:gem/prism#lib/prism/node.rb:1841 class Prism::BlockNode < ::Prism::Node # Initialize a new BlockNode node. # # @return [BlockNode] a new instance of BlockNode # - # source://prism//lib/prism/node.rb#1843 + # pkg:gem/prism#lib/prism/node.rb:1843 sig do params( source: Prism::Source, @@ -2296,12 +2296,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#1972 + # pkg:gem/prism#lib/prism/node.rb:1972 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#1856 + # pkg:gem/prism#lib/prism/node.rb:1856 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -2310,19 +2310,19 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # ^^^^^^ # - # source://prism//lib/prism/node.rb#1911 + # pkg:gem/prism#lib/prism/node.rb:1911 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1861 + # pkg:gem/prism#lib/prism/node.rb:1861 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#1951 + # pkg:gem/prism#lib/prism/node.rb:1951 sig { returns(String) } def closing; end @@ -2331,25 +2331,25 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # ^ # - # source://prism//lib/prism/node.rb#1933 + # pkg:gem/prism#lib/prism/node.rb:1933 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#1874 + # pkg:gem/prism#lib/prism/node.rb:1874 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#1866 + # pkg:gem/prism#lib/prism/node.rb:1866 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#1879 + # pkg:gem/prism#lib/prism/node.rb:1879 sig do params( node_id: Integer, @@ -2367,13 +2367,13 @@ class Prism::BlockNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#1884 + # pkg:gem/prism#lib/prism/node.rb:1884 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#1887 + # pkg:gem/prism#lib/prism/node.rb:1887 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2382,7 +2382,7 @@ class Prism::BlockNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#1956 + # pkg:gem/prism#lib/prism/node.rb:1956 sig { override.returns(String) } def inspect; end @@ -2391,13 +2391,13 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # locals: [:i] # ^ # - # source://prism//lib/prism/node.rb#1895 + # pkg:gem/prism#lib/prism/node.rb:1895 sig { returns(T::Array[Symbol]) } def locals; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#1946 + # pkg:gem/prism#lib/prism/node.rb:1946 sig { returns(String) } def opening; end @@ -2406,7 +2406,7 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { |i| puts x } # ^ # - # source://prism//lib/prism/node.rb#1917 + # pkg:gem/prism#lib/prism/node.rb:1917 sig { returns(Prism::Location) } def opening_loc; end @@ -2419,32 +2419,32 @@ class Prism::BlockNode < ::Prism::Node # [1, 2, 3].each { puts it } # ^^^^^^^^^^^ # - # source://prism//lib/prism/node.rb#1905 + # pkg:gem/prism#lib/prism/node.rb:1905 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#1941 + # pkg:gem/prism#lib/prism/node.rb:1941 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#1925 + # pkg:gem/prism#lib/prism/node.rb:1925 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#1961 + # pkg:gem/prism#lib/prism/node.rb:1961 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#1966 + # pkg:gem/prism#lib/prism/node.rb:1966 def type; end end end @@ -2455,13 +2455,13 @@ end # ^^ # end # -# source://prism//lib/prism/node.rb#1988 +# pkg:gem/prism#lib/prism/node.rb:1988 class Prism::BlockParameterNode < ::Prism::Node # Initialize a new BlockParameterNode node. # # @return [BlockParameterNode] a new instance of BlockParameterNode # - # source://prism//lib/prism/node.rb#1990 + # pkg:gem/prism#lib/prism/node.rb:1990 sig do params( source: Prism::Source, @@ -2478,36 +2478,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#2106 + # pkg:gem/prism#lib/prism/node.rb:2106 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#2001 + # pkg:gem/prism#lib/prism/node.rb:2001 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2006 + # pkg:gem/prism#lib/prism/node.rb:2006 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#2016 + # pkg:gem/prism#lib/prism/node.rb:2016 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#2011 + # pkg:gem/prism#lib/prism/node.rb:2011 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#2021 + # pkg:gem/prism#lib/prism/node.rb:2021 sig do params( node_id: Integer, @@ -2523,13 +2523,13 @@ class Prism::BlockParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2026 + # pkg:gem/prism#lib/prism/node.rb:2026 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#2029 + # pkg:gem/prism#lib/prism/node.rb:2029 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2538,7 +2538,7 @@ class Prism::BlockParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#2090 + # pkg:gem/prism#lib/prism/node.rb:2090 sig { override.returns(String) } def inspect; end @@ -2548,7 +2548,7 @@ class Prism::BlockParameterNode < ::Prism::Node # ^ # end # - # source://prism//lib/prism/node.rb#2043 + # pkg:gem/prism#lib/prism/node.rb:2043 sig { returns(T.nilable(Symbol)) } def name; end @@ -2557,13 +2557,13 @@ class Prism::BlockParameterNode < ::Prism::Node # def a(&b) # ^ # - # source://prism//lib/prism/node.rb#2049 + # pkg:gem/prism#lib/prism/node.rb:2049 sig { returns(T.nilable(Prism::Location)) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#2085 + # pkg:gem/prism#lib/prism/node.rb:2085 sig { returns(String) } def operator; end @@ -2573,7 +2573,7 @@ class Prism::BlockParameterNode < ::Prism::Node # ^ # end # - # source://prism//lib/prism/node.rb#2072 + # pkg:gem/prism#lib/prism/node.rb:2072 sig { returns(Prism::Location) } def operator_loc; end @@ -2581,32 +2581,32 @@ class Prism::BlockParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2034 + # pkg:gem/prism#lib/prism/node.rb:2034 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#2063 + # pkg:gem/prism#lib/prism/node.rb:2063 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#2080 + # pkg:gem/prism#lib/prism/node.rb:2080 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#2095 + # pkg:gem/prism#lib/prism/node.rb:2095 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#2100 + # pkg:gem/prism#lib/prism/node.rb:2100 def type; end end end @@ -2620,13 +2620,13 @@ end # ^^^^^^^^^^^^^^^^^ # end # -# source://prism//lib/prism/node.rb#2123 +# pkg:gem/prism#lib/prism/node.rb:2123 class Prism::BlockParametersNode < ::Prism::Node # Initialize a new BlockParametersNode node. # # @return [BlockParametersNode] a new instance of BlockParametersNode # - # source://prism//lib/prism/node.rb#2125 + # pkg:gem/prism#lib/prism/node.rb:2125 sig do params( source: Prism::Source, @@ -2644,24 +2644,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#2271 + # pkg:gem/prism#lib/prism/node.rb:2271 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#2137 + # pkg:gem/prism#lib/prism/node.rb:2137 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2142 + # pkg:gem/prism#lib/prism/node.rb:2142 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#2250 + # pkg:gem/prism#lib/prism/node.rb:2250 sig { returns(T.nilable(String)) } def closing; end @@ -2674,25 +2674,25 @@ class Prism::BlockParametersNode < ::Prism::Node # ^ # end # - # source://prism//lib/prism/node.rb#2226 + # pkg:gem/prism#lib/prism/node.rb:2226 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#2155 + # pkg:gem/prism#lib/prism/node.rb:2155 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#2147 + # pkg:gem/prism#lib/prism/node.rb:2147 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#2160 + # pkg:gem/prism#lib/prism/node.rb:2160 sig do params( node_id: Integer, @@ -2709,13 +2709,13 @@ class Prism::BlockParametersNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2165 + # pkg:gem/prism#lib/prism/node.rb:2165 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#2168 + # pkg:gem/prism#lib/prism/node.rb:2168 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2724,7 +2724,7 @@ class Prism::BlockParametersNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#2255 + # pkg:gem/prism#lib/prism/node.rb:2255 sig { override.returns(String) } def inspect; end @@ -2737,13 +2737,13 @@ class Prism::BlockParametersNode < ::Prism::Node # ^^^^^ # end # - # source://prism//lib/prism/node.rb#2190 + # pkg:gem/prism#lib/prism/node.rb:2190 sig { returns(T::Array[Prism::BlockLocalVariableNode]) } def locals; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#2245 + # pkg:gem/prism#lib/prism/node.rb:2245 sig { returns(T.nilable(String)) } def opening; end @@ -2756,7 +2756,7 @@ class Prism::BlockParametersNode < ::Prism::Node # ^ # end # - # source://prism//lib/prism/node.rb#2200 + # pkg:gem/prism#lib/prism/node.rb:2200 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -2769,32 +2769,32 @@ class Prism::BlockParametersNode < ::Prism::Node # ^^^^^^^^ # end # - # source://prism//lib/prism/node.rb#2180 + # pkg:gem/prism#lib/prism/node.rb:2180 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#2240 + # pkg:gem/prism#lib/prism/node.rb:2240 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#2214 + # pkg:gem/prism#lib/prism/node.rb:2214 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#2260 + # pkg:gem/prism#lib/prism/node.rb:2260 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#2265 + # pkg:gem/prism#lib/prism/node.rb:2265 def type; end end end @@ -2804,13 +2804,13 @@ end # break foo # ^^^^^^^^^ # -# source://prism//lib/prism/node.rb#2285 +# pkg:gem/prism#lib/prism/node.rb:2285 class Prism::BreakNode < ::Prism::Node # Initialize a new BreakNode node. # # @return [BreakNode] a new instance of BreakNode # - # source://prism//lib/prism/node.rb#2287 + # pkg:gem/prism#lib/prism/node.rb:2287 sig do params( source: Prism::Source, @@ -2826,12 +2826,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#2375 + # pkg:gem/prism#lib/prism/node.rb:2375 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#2297 + # pkg:gem/prism#lib/prism/node.rb:2297 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -2840,31 +2840,31 @@ class Prism::BreakNode < ::Prism::Node # break foo # ^^^ # - # source://prism//lib/prism/node.rb#2335 + # pkg:gem/prism#lib/prism/node.rb:2335 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2302 + # pkg:gem/prism#lib/prism/node.rb:2302 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#2314 + # pkg:gem/prism#lib/prism/node.rb:2314 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#2307 + # pkg:gem/prism#lib/prism/node.rb:2307 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#2319 + # pkg:gem/prism#lib/prism/node.rb:2319 sig do params( node_id: Integer, @@ -2879,13 +2879,13 @@ class Prism::BreakNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2324 + # pkg:gem/prism#lib/prism/node.rb:2324 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#2327 + # pkg:gem/prism#lib/prism/node.rb:2327 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -2894,13 +2894,13 @@ class Prism::BreakNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#2359 + # pkg:gem/prism#lib/prism/node.rb:2359 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#2354 + # pkg:gem/prism#lib/prism/node.rb:2354 sig { returns(String) } def keyword; end @@ -2909,26 +2909,26 @@ class Prism::BreakNode < ::Prism::Node # break foo # ^^^^^ # - # source://prism//lib/prism/node.rb#2341 + # pkg:gem/prism#lib/prism/node.rb:2341 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#2349 + # pkg:gem/prism#lib/prism/node.rb:2349 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#2364 + # pkg:gem/prism#lib/prism/node.rb:2364 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#2369 + # pkg:gem/prism#lib/prism/node.rb:2369 def type; end end end @@ -2938,13 +2938,13 @@ end # foo.bar &&= value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#2386 +# pkg:gem/prism#lib/prism/node.rb:2386 class Prism::CallAndWriteNode < ::Prism::Node # Initialize a new CallAndWriteNode node. # # @return [CallAndWriteNode] a new instance of CallAndWriteNode # - # source://prism//lib/prism/node.rb#2388 + # pkg:gem/prism#lib/prism/node.rb:2388 sig do params( source: Prism::Source, @@ -2965,12 +2965,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#2574 + # pkg:gem/prism#lib/prism/node.rb:2574 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#2403 + # pkg:gem/prism#lib/prism/node.rb:2403 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -2978,13 +2978,13 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2449 + # pkg:gem/prism#lib/prism/node.rb:2449 sig { returns(T::Boolean) } def attribute_write?; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#2543 + # pkg:gem/prism#lib/prism/node.rb:2543 sig { returns(T.nilable(String)) } def call_operator; end @@ -2993,31 +2993,31 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^ # - # source://prism//lib/prism/node.rb#2468 + # pkg:gem/prism#lib/prism/node.rb:2468 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2408 + # pkg:gem/prism#lib/prism/node.rb:2408 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#2421 + # pkg:gem/prism#lib/prism/node.rb:2421 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#2413 + # pkg:gem/prism#lib/prism/node.rb:2413 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#2426 + # pkg:gem/prism#lib/prism/node.rb:2426 sig do params( node_id: Integer, @@ -3037,13 +3037,13 @@ class Prism::CallAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2431 + # pkg:gem/prism#lib/prism/node.rb:2431 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#2434 + # pkg:gem/prism#lib/prism/node.rb:2434 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3054,19 +3054,19 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2454 + # pkg:gem/prism#lib/prism/node.rb:2454 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#2558 + # pkg:gem/prism#lib/prism/node.rb:2558 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism//lib/prism/node.rb#2548 + # pkg:gem/prism#lib/prism/node.rb:2548 sig { returns(T.nilable(String)) } def message; end @@ -3075,13 +3075,13 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^ # - # source://prism//lib/prism/node.rb#2490 + # pkg:gem/prism#lib/prism/node.rb:2490 sig { returns(T.nilable(Prism::Location)) } def message_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#2553 + # pkg:gem/prism#lib/prism/node.rb:2553 sig { returns(String) } def operator; end @@ -3090,7 +3090,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^ # - # source://prism//lib/prism/node.rb#2524 + # pkg:gem/prism#lib/prism/node.rb:2524 sig { returns(Prism::Location) } def operator_loc; end @@ -3099,7 +3099,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # read_name `:bar` # ^^^ # - # source://prism//lib/prism/node.rb#2512 + # pkg:gem/prism#lib/prism/node.rb:2512 sig { returns(Symbol) } def read_name; end @@ -3108,7 +3108,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^ # - # source://prism//lib/prism/node.rb#2462 + # pkg:gem/prism#lib/prism/node.rb:2462 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3116,31 +3116,31 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2439 + # pkg:gem/prism#lib/prism/node.rb:2439 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#2482 + # pkg:gem/prism#lib/prism/node.rb:2482 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#2504 + # pkg:gem/prism#lib/prism/node.rb:2504 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#2532 + # pkg:gem/prism#lib/prism/node.rb:2532 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#2563 + # pkg:gem/prism#lib/prism/node.rb:2563 sig { override.returns(Symbol) } def type; end @@ -3149,7 +3149,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # ^^^^^ # - # source://prism//lib/prism/node.rb#2540 + # pkg:gem/prism#lib/prism/node.rb:2540 sig { returns(Prism::Node) } def value; end @@ -3157,7 +3157,7 @@ class Prism::CallAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2444 + # pkg:gem/prism#lib/prism/node.rb:2444 sig { returns(T::Boolean) } def variable_call?; end @@ -3166,14 +3166,14 @@ class Prism::CallAndWriteNode < ::Prism::Node # foo.bar &&= value # write_name `:bar=` # ^^^ # - # source://prism//lib/prism/node.rb#2518 + # pkg:gem/prism#lib/prism/node.rb:2518 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#2568 + # pkg:gem/prism#lib/prism/node.rb:2568 def type; end end end @@ -3198,13 +3198,13 @@ end # foo&.bar # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#2606 +# pkg:gem/prism#lib/prism/node.rb:2606 class Prism::CallNode < ::Prism::Node # Initialize a new CallNode node. # # @return [CallNode] a new instance of CallNode # - # source://prism//lib/prism/node.rb#2608 + # pkg:gem/prism#lib/prism/node.rb:2608 sig do params( source: Prism::Source, @@ -3227,12 +3227,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#2868 + # pkg:gem/prism#lib/prism/node.rb:2868 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#2625 + # pkg:gem/prism#lib/prism/node.rb:2625 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -3241,7 +3241,7 @@ class Prism::CallNode < ::Prism::Node # foo(bar) # ^^^ # - # source://prism//lib/prism/node.rb#2771 + # pkg:gem/prism#lib/prism/node.rb:2771 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -3249,7 +3249,7 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2672 + # pkg:gem/prism#lib/prism/node.rb:2672 sig { returns(T::Boolean) } def attribute_write?; end @@ -3258,13 +3258,13 @@ class Prism::CallNode < ::Prism::Node # foo { |a| a } # ^^^^^^^^^ # - # source://prism//lib/prism/node.rb#2824 + # pkg:gem/prism#lib/prism/node.rb:2824 sig { returns(T.nilable(T.any(Prism::BlockNode, Prism::BlockArgumentNode))) } def block; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#2827 + # pkg:gem/prism#lib/prism/node.rb:2827 sig { returns(T.nilable(String)) } def call_operator; end @@ -3276,19 +3276,19 @@ class Prism::CallNode < ::Prism::Node # foo&.bar # ^^ # - # source://prism//lib/prism/node.rb#2700 + # pkg:gem/prism#lib/prism/node.rb:2700 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2630 + # pkg:gem/prism#lib/prism/node.rb:2630 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#2842 + # pkg:gem/prism#lib/prism/node.rb:2842 sig { returns(T.nilable(String)) } def closing; end @@ -3297,25 +3297,25 @@ class Prism::CallNode < ::Prism::Node # foo(bar) # ^ # - # source://prism//lib/prism/node.rb#2777 + # pkg:gem/prism#lib/prism/node.rb:2777 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#2644 + # pkg:gem/prism#lib/prism/node.rb:2644 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#2635 + # pkg:gem/prism#lib/prism/node.rb:2635 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?, ?equal_loc: Location?, ?block: BlockNode | BlockArgumentNode | nil) -> CallNode # - # source://prism//lib/prism/node.rb#2649 + # pkg:gem/prism#lib/prism/node.rb:2649 sig do params( node_id: Integer, @@ -3337,19 +3337,19 @@ class Prism::CallNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2654 + # pkg:gem/prism#lib/prism/node.rb:2654 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?, equal_loc: Location?, block: BlockNode | BlockArgumentNode | nil } # - # source://prism//lib/prism/node.rb#2657 + # pkg:gem/prism#lib/prism/node.rb:2657 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # def equal: () -> String? # - # source://prism//lib/prism/node.rb#2847 + # pkg:gem/prism#lib/prism/node.rb:2847 sig { returns(T.nilable(String)) } def equal; end @@ -3361,7 +3361,7 @@ class Prism::CallNode < ::Prism::Node # foo[bar] = value # ^ # - # source://prism//lib/prism/node.rb#2802 + # pkg:gem/prism#lib/prism/node.rb:2802 sig { returns(T.nilable(Prism::Location)) } def equal_loc; end @@ -3378,7 +3378,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#334 + # pkg:gem/prism#lib/prism/node_ext.rb:334 sig { returns(T.nilable(Prism::Location)) } def full_message_loc; end @@ -3386,19 +3386,19 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2677 + # pkg:gem/prism#lib/prism/node.rb:2677 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#2852 + # pkg:gem/prism#lib/prism/node.rb:2852 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism//lib/prism/node.rb#2832 + # pkg:gem/prism#lib/prism/node.rb:2832 sig { returns(T.nilable(String)) } def message; end @@ -3407,7 +3407,7 @@ class Prism::CallNode < ::Prism::Node # foo.bar # ^^^ # - # source://prism//lib/prism/node.rb#2728 + # pkg:gem/prism#lib/prism/node.rb:2728 sig { returns(T.nilable(Prism::Location)) } def message_loc; end @@ -3416,13 +3416,13 @@ class Prism::CallNode < ::Prism::Node # foo.bar # name `:foo` # ^^^ # - # source://prism//lib/prism/node.rb#2722 + # pkg:gem/prism#lib/prism/node.rb:2722 sig { returns(Symbol) } def name; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#2837 + # pkg:gem/prism#lib/prism/node.rb:2837 sig { returns(T.nilable(String)) } def opening; end @@ -3430,7 +3430,7 @@ class Prism::CallNode < ::Prism::Node # foo(bar) # ^ # - # source://prism//lib/prism/node.rb#2749 + # pkg:gem/prism#lib/prism/node.rb:2749 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -3445,7 +3445,7 @@ class Prism::CallNode < ::Prism::Node # foo + bar # ^^^ # - # source://prism//lib/prism/node.rb#2691 + # pkg:gem/prism#lib/prism/node.rb:2691 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3453,43 +3453,43 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2662 + # pkg:gem/prism#lib/prism/node.rb:2662 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#2714 + # pkg:gem/prism#lib/prism/node.rb:2714 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#2791 + # pkg:gem/prism#lib/prism/node.rb:2791 def save_closing_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#2816 + # pkg:gem/prism#lib/prism/node.rb:2816 def save_equal_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#2742 + # pkg:gem/prism#lib/prism/node.rb:2742 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#2763 + # pkg:gem/prism#lib/prism/node.rb:2763 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#2857 + # pkg:gem/prism#lib/prism/node.rb:2857 sig { override.returns(Symbol) } def type; end @@ -3497,41 +3497,41 @@ class Prism::CallNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2667 + # pkg:gem/prism#lib/prism/node.rb:2667 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#2862 + # pkg:gem/prism#lib/prism/node.rb:2862 def type; end end end # Flags for call nodes. # -# source://prism//lib/prism/node.rb#18693 +# pkg:gem/prism#lib/prism/node.rb:18693 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#18701 +# pkg:gem/prism#lib/prism/node.rb:18701 Prism::CallNodeFlags::ATTRIBUTE_WRITE = T.let(T.unsafe(nil), Integer) # a call that ignores method visibility # -# source://prism//lib/prism/node.rb#18704 +# pkg:gem/prism#lib/prism/node.rb:18704 Prism::CallNodeFlags::IGNORE_VISIBILITY = T.let(T.unsafe(nil), Integer) # &. operator # -# source://prism//lib/prism/node.rb#18695 +# pkg:gem/prism#lib/prism/node.rb:18695 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#18698 +# pkg:gem/prism#lib/prism/node.rb:18698 Prism::CallNodeFlags::VARIABLE_CALL = T.let(T.unsafe(nil), Integer) # Represents the use of an assignment operator on a call. @@ -3539,13 +3539,13 @@ Prism::CallNodeFlags::VARIABLE_CALL = T.let(T.unsafe(nil), Integer) # foo.bar += baz # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#2887 +# pkg:gem/prism#lib/prism/node.rb:2887 class Prism::CallOperatorWriteNode < ::Prism::Node # Initialize a new CallOperatorWriteNode node. # # @return [CallOperatorWriteNode] a new instance of CallOperatorWriteNode # - # source://prism//lib/prism/node.rb#2889 + # pkg:gem/prism#lib/prism/node.rb:2889 sig do params( source: Prism::Source, @@ -3567,12 +3567,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#3077 + # pkg:gem/prism#lib/prism/node.rb:3077 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#2905 + # pkg:gem/prism#lib/prism/node.rb:2905 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -3580,7 +3580,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2951 + # pkg:gem/prism#lib/prism/node.rb:2951 sig { returns(T::Boolean) } def attribute_write?; end @@ -3589,7 +3589,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # binary_operator `:+` # ^ # - # source://prism//lib/prism/node.rb#3026 + # pkg:gem/prism#lib/prism/node.rb:3026 sig { returns(Symbol) } def binary_operator; end @@ -3598,13 +3598,13 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^ # - # source://prism//lib/prism/node.rb#3032 + # pkg:gem/prism#lib/prism/node.rb:3032 sig { returns(Prism::Location) } def binary_operator_loc; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#3051 + # pkg:gem/prism#lib/prism/node.rb:3051 sig { returns(T.nilable(String)) } def call_operator; end @@ -3613,31 +3613,31 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^ # - # source://prism//lib/prism/node.rb#2970 + # pkg:gem/prism#lib/prism/node.rb:2970 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2910 + # pkg:gem/prism#lib/prism/node.rb:2910 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#2923 + # pkg:gem/prism#lib/prism/node.rb:2923 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#2915 + # pkg:gem/prism#lib/prism/node.rb:2915 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#2928 + # pkg:gem/prism#lib/prism/node.rb:2928 sig do params( node_id: Integer, @@ -3658,13 +3658,13 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#2933 + # pkg:gem/prism#lib/prism/node.rb:2933 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#2936 + # pkg:gem/prism#lib/prism/node.rb:2936 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3675,19 +3675,19 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2956 + # pkg:gem/prism#lib/prism/node.rb:2956 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#3061 + # pkg:gem/prism#lib/prism/node.rb:3061 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism//lib/prism/node.rb#3056 + # pkg:gem/prism#lib/prism/node.rb:3056 sig { returns(T.nilable(String)) } def message; end @@ -3696,20 +3696,20 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^^ # - # source://prism//lib/prism/node.rb#2992 + # pkg:gem/prism#lib/prism/node.rb:2992 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#342 + # pkg:gem/prism#lib/prism/node_ext.rb:342 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#349 + # pkg:gem/prism#lib/prism/node_ext.rb:349 def operator_loc; end # Represents the name of the method being called. @@ -3717,7 +3717,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # read_name `:bar` # ^^^ # - # source://prism//lib/prism/node.rb#3014 + # pkg:gem/prism#lib/prism/node.rb:3014 sig { returns(Symbol) } def read_name; end @@ -3726,7 +3726,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^^ # - # source://prism//lib/prism/node.rb#2964 + # pkg:gem/prism#lib/prism/node.rb:2964 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3734,31 +3734,31 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2941 + # pkg:gem/prism#lib/prism/node.rb:2941 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#3040 + # pkg:gem/prism#lib/prism/node.rb:3040 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#2984 + # pkg:gem/prism#lib/prism/node.rb:2984 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#3006 + # pkg:gem/prism#lib/prism/node.rb:3006 def save_message_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#3066 + # pkg:gem/prism#lib/prism/node.rb:3066 sig { override.returns(Symbol) } def type; end @@ -3767,7 +3767,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # ^^^^^ # - # source://prism//lib/prism/node.rb#3048 + # pkg:gem/prism#lib/prism/node.rb:3048 sig { returns(Prism::Node) } def value; end @@ -3775,7 +3775,7 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#2946 + # pkg:gem/prism#lib/prism/node.rb:2946 sig { returns(T::Boolean) } def variable_call?; end @@ -3784,14 +3784,14 @@ class Prism::CallOperatorWriteNode < ::Prism::Node # foo.bar += value # write_name `:bar=` # ^^^ # - # source://prism//lib/prism/node.rb#3020 + # pkg:gem/prism#lib/prism/node.rb:3020 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#3071 + # pkg:gem/prism#lib/prism/node.rb:3071 def type; end end end @@ -3801,13 +3801,13 @@ end # foo.bar ||= value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#3095 +# pkg:gem/prism#lib/prism/node.rb:3095 class Prism::CallOrWriteNode < ::Prism::Node # Initialize a new CallOrWriteNode node. # # @return [CallOrWriteNode] a new instance of CallOrWriteNode # - # source://prism//lib/prism/node.rb#3097 + # pkg:gem/prism#lib/prism/node.rb:3097 sig do params( source: Prism::Source, @@ -3828,12 +3828,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#3283 + # pkg:gem/prism#lib/prism/node.rb:3283 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#3112 + # pkg:gem/prism#lib/prism/node.rb:3112 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -3841,13 +3841,13 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3158 + # pkg:gem/prism#lib/prism/node.rb:3158 sig { returns(T::Boolean) } def attribute_write?; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#3252 + # pkg:gem/prism#lib/prism/node.rb:3252 sig { returns(T.nilable(String)) } def call_operator; end @@ -3856,31 +3856,31 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^ # - # source://prism//lib/prism/node.rb#3177 + # pkg:gem/prism#lib/prism/node.rb:3177 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3117 + # pkg:gem/prism#lib/prism/node.rb:3117 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#3130 + # pkg:gem/prism#lib/prism/node.rb:3130 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#3122 + # pkg:gem/prism#lib/prism/node.rb:3122 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#3135 + # pkg:gem/prism#lib/prism/node.rb:3135 sig do params( node_id: Integer, @@ -3900,13 +3900,13 @@ class Prism::CallOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3140 + # pkg:gem/prism#lib/prism/node.rb:3140 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#3143 + # pkg:gem/prism#lib/prism/node.rb:3143 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -3917,19 +3917,19 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3163 + # pkg:gem/prism#lib/prism/node.rb:3163 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#3267 + # pkg:gem/prism#lib/prism/node.rb:3267 sig { override.returns(String) } def inspect; end # def message: () -> String? # - # source://prism//lib/prism/node.rb#3257 + # pkg:gem/prism#lib/prism/node.rb:3257 sig { returns(T.nilable(String)) } def message; end @@ -3938,13 +3938,13 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^ # - # source://prism//lib/prism/node.rb#3199 + # pkg:gem/prism#lib/prism/node.rb:3199 sig { returns(T.nilable(Prism::Location)) } def message_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#3262 + # pkg:gem/prism#lib/prism/node.rb:3262 sig { returns(String) } def operator; end @@ -3953,7 +3953,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^ # - # source://prism//lib/prism/node.rb#3233 + # pkg:gem/prism#lib/prism/node.rb:3233 sig { returns(Prism::Location) } def operator_loc; end @@ -3962,7 +3962,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # read_name `:bar` # ^^^ # - # source://prism//lib/prism/node.rb#3221 + # pkg:gem/prism#lib/prism/node.rb:3221 sig { returns(Symbol) } def read_name; end @@ -3971,7 +3971,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^ # - # source://prism//lib/prism/node.rb#3171 + # pkg:gem/prism#lib/prism/node.rb:3171 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -3979,31 +3979,31 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3148 + # pkg:gem/prism#lib/prism/node.rb:3148 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#3191 + # pkg:gem/prism#lib/prism/node.rb:3191 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#3213 + # pkg:gem/prism#lib/prism/node.rb:3213 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#3241 + # pkg:gem/prism#lib/prism/node.rb:3241 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#3272 + # pkg:gem/prism#lib/prism/node.rb:3272 sig { override.returns(Symbol) } def type; end @@ -4012,7 +4012,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # ^^^^^ # - # source://prism//lib/prism/node.rb#3249 + # pkg:gem/prism#lib/prism/node.rb:3249 sig { returns(Prism::Node) } def value; end @@ -4020,7 +4020,7 @@ class Prism::CallOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3153 + # pkg:gem/prism#lib/prism/node.rb:3153 sig { returns(T::Boolean) } def variable_call?; end @@ -4029,14 +4029,14 @@ class Prism::CallOrWriteNode < ::Prism::Node # foo.bar ||= value # write_name `:bar=` # ^^^ # - # source://prism//lib/prism/node.rb#3227 + # pkg:gem/prism#lib/prism/node.rb:3227 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#3277 + # pkg:gem/prism#lib/prism/node.rb:3277 def type; end end end @@ -4054,13 +4054,13 @@ end # for foo.bar in baz do end # ^^^^^^^ # -# source://prism//lib/prism/node.rb#3308 +# pkg:gem/prism#lib/prism/node.rb:3308 class Prism::CallTargetNode < ::Prism::Node # Initialize a new CallTargetNode node. # # @return [CallTargetNode] a new instance of CallTargetNode # - # source://prism//lib/prism/node.rb#3310 + # pkg:gem/prism#lib/prism/node.rb:3310 sig do params( source: Prism::Source, @@ -4078,12 +4078,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#3445 + # pkg:gem/prism#lib/prism/node.rb:3445 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#3322 + # pkg:gem/prism#lib/prism/node.rb:3322 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -4091,13 +4091,13 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3365 + # pkg:gem/prism#lib/prism/node.rb:3365 sig { returns(T::Boolean) } def attribute_write?; end # def call_operator: () -> String # - # source://prism//lib/prism/node.rb#3419 + # pkg:gem/prism#lib/prism/node.rb:3419 sig { returns(String) } def call_operator; end @@ -4106,31 +4106,31 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # ^ # - # source://prism//lib/prism/node.rb#3384 + # pkg:gem/prism#lib/prism/node.rb:3384 sig { returns(Prism::Location) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3327 + # pkg:gem/prism#lib/prism/node.rb:3327 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#3337 + # pkg:gem/prism#lib/prism/node.rb:3337 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#3332 + # pkg:gem/prism#lib/prism/node.rb:3332 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#3342 + # pkg:gem/prism#lib/prism/node.rb:3342 sig do params( node_id: Integer, @@ -4147,13 +4147,13 @@ class Prism::CallTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3347 + # pkg:gem/prism#lib/prism/node.rb:3347 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#3350 + # pkg:gem/prism#lib/prism/node.rb:3350 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4164,19 +4164,19 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3370 + # pkg:gem/prism#lib/prism/node.rb:3370 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#3429 + # pkg:gem/prism#lib/prism/node.rb:3429 sig { override.returns(String) } def inspect; end # def message: () -> String # - # source://prism//lib/prism/node.rb#3424 + # pkg:gem/prism#lib/prism/node.rb:3424 sig { returns(String) } def message; end @@ -4185,7 +4185,7 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # ^^^ # - # source://prism//lib/prism/node.rb#3406 + # pkg:gem/prism#lib/prism/node.rb:3406 sig { returns(Prism::Location) } def message_loc; end @@ -4194,7 +4194,7 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # name `:foo` # ^^^ # - # source://prism//lib/prism/node.rb#3400 + # pkg:gem/prism#lib/prism/node.rb:3400 sig { returns(Symbol) } def name; end @@ -4203,7 +4203,7 @@ class Prism::CallTargetNode < ::Prism::Node # foo.bar = 1 # ^^^ # - # source://prism//lib/prism/node.rb#3378 + # pkg:gem/prism#lib/prism/node.rb:3378 sig { returns(Prism::Node) } def receiver; end @@ -4211,25 +4211,25 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3355 + # pkg:gem/prism#lib/prism/node.rb:3355 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#3392 + # pkg:gem/prism#lib/prism/node.rb:3392 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#3414 + # pkg:gem/prism#lib/prism/node.rb:3414 def save_message_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#3434 + # pkg:gem/prism#lib/prism/node.rb:3434 sig { override.returns(Symbol) } def type; end @@ -4237,14 +4237,14 @@ class Prism::CallTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#3360 + # pkg:gem/prism#lib/prism/node.rb:3360 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#3439 + # pkg:gem/prism#lib/prism/node.rb:3439 def type; end end end @@ -4254,13 +4254,13 @@ end # foo => [bar => baz] # ^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#3459 +# pkg:gem/prism#lib/prism/node.rb:3459 class Prism::CapturePatternNode < ::Prism::Node # Initialize a new CapturePatternNode node. # # @return [CapturePatternNode] a new instance of CapturePatternNode # - # source://prism//lib/prism/node.rb#3461 + # pkg:gem/prism#lib/prism/node.rb:3461 sig do params( source: Prism::Source, @@ -4277,36 +4277,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#3554 + # pkg:gem/prism#lib/prism/node.rb:3554 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#3472 + # pkg:gem/prism#lib/prism/node.rb:3472 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3477 + # pkg:gem/prism#lib/prism/node.rb:3477 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#3487 + # pkg:gem/prism#lib/prism/node.rb:3487 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#3482 + # pkg:gem/prism#lib/prism/node.rb:3482 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#3492 + # pkg:gem/prism#lib/prism/node.rb:3492 sig do params( node_id: Integer, @@ -4322,13 +4322,13 @@ class Prism::CapturePatternNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3497 + # pkg:gem/prism#lib/prism/node.rb:3497 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#3500 + # pkg:gem/prism#lib/prism/node.rb:3500 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4337,13 +4337,13 @@ class Prism::CapturePatternNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#3538 + # pkg:gem/prism#lib/prism/node.rb:3538 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#3533 + # pkg:gem/prism#lib/prism/node.rb:3533 sig { returns(String) } def operator; end @@ -4352,14 +4352,14 @@ class Prism::CapturePatternNode < ::Prism::Node # foo => bar # ^^ # - # source://prism//lib/prism/node.rb#3520 + # pkg:gem/prism#lib/prism/node.rb:3520 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#3528 + # pkg:gem/prism#lib/prism/node.rb:3528 def save_operator_loc(repository); end # Represents the target of the capture. @@ -4367,13 +4367,13 @@ class Prism::CapturePatternNode < ::Prism::Node # foo => bar # ^^^ # - # source://prism//lib/prism/node.rb#3514 + # pkg:gem/prism#lib/prism/node.rb:3514 sig { returns(Prism::LocalVariableTargetNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#3543 + # pkg:gem/prism#lib/prism/node.rb:3543 sig { override.returns(Symbol) } def type; end @@ -4382,14 +4382,14 @@ class Prism::CapturePatternNode < ::Prism::Node # foo => bar # ^^^ # - # source://prism//lib/prism/node.rb#3508 + # pkg:gem/prism#lib/prism/node.rb:3508 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#3548 + # pkg:gem/prism#lib/prism/node.rb:3548 def type; end end end @@ -4401,13 +4401,13 @@ end # end # ^^^^^^^^^ # -# source://prism//lib/prism/node.rb#3568 +# pkg:gem/prism#lib/prism/node.rb:3568 class Prism::CaseMatchNode < ::Prism::Node # Initialize a new CaseMatchNode node. # # @return [CaseMatchNode] a new instance of CaseMatchNode # - # source://prism//lib/prism/node.rb#3570 + # pkg:gem/prism#lib/prism/node.rb:3570 sig do params( source: Prism::Source, @@ -4426,18 +4426,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#3696 + # pkg:gem/prism#lib/prism/node.rb:3696 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#3583 + # pkg:gem/prism#lib/prism/node.rb:3583 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def case_keyword: () -> String # - # source://prism//lib/prism/node.rb#3670 + # pkg:gem/prism#lib/prism/node.rb:3670 sig { returns(String) } def case_keyword; end @@ -4446,25 +4446,25 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^^ # - # source://prism//lib/prism/node.rb#3641 + # pkg:gem/prism#lib/prism/node.rb:3641 sig { returns(Prism::Location) } def case_keyword_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3588 + # pkg:gem/prism#lib/prism/node.rb:3588 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#3602 + # pkg:gem/prism#lib/prism/node.rb:3602 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#3593 + # pkg:gem/prism#lib/prism/node.rb:3593 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -4473,19 +4473,19 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#3629 + # pkg:gem/prism#lib/prism/node.rb:3629 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#470 + # pkg:gem/prism#lib/prism/node_ext.rb:470 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#3607 + # pkg:gem/prism#lib/prism/node.rb:3607 sig do params( node_id: Integer, @@ -4503,13 +4503,13 @@ class Prism::CaseMatchNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3612 + # pkg:gem/prism#lib/prism/node.rb:3612 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#3615 + # pkg:gem/prism#lib/prism/node.rb:3615 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4518,13 +4518,13 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; else; end # ^^^^ # - # source://prism//lib/prism/node.rb#3635 + # pkg:gem/prism#lib/prism/node.rb:3635 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String # - # source://prism//lib/prism/node.rb#3675 + # pkg:gem/prism#lib/prism/node.rb:3675 sig { returns(String) } def end_keyword; end @@ -4533,7 +4533,7 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^ # - # source://prism//lib/prism/node.rb#3657 + # pkg:gem/prism#lib/prism/node.rb:3657 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -4542,7 +4542,7 @@ class Prism::CaseMatchNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#3680 + # pkg:gem/prism#lib/prism/node.rb:3680 sig { override.returns(String) } def inspect; end @@ -4551,32 +4551,32 @@ class Prism::CaseMatchNode < ::Prism::Node # case true; in false; end # ^^^^ # - # source://prism//lib/prism/node.rb#3623 + # pkg:gem/prism#lib/prism/node.rb:3623 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#3649 + # pkg:gem/prism#lib/prism/node.rb:3649 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#3665 + # pkg:gem/prism#lib/prism/node.rb:3665 def save_end_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#3685 + # pkg:gem/prism#lib/prism/node.rb:3685 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#3690 + # pkg:gem/prism#lib/prism/node.rb:3690 def type; end end end @@ -4588,13 +4588,13 @@ end # end # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#3713 +# pkg:gem/prism#lib/prism/node.rb:3713 class Prism::CaseNode < ::Prism::Node # Initialize a new CaseNode node. # # @return [CaseNode] a new instance of CaseNode # - # source://prism//lib/prism/node.rb#3715 + # pkg:gem/prism#lib/prism/node.rb:3715 sig do params( source: Prism::Source, @@ -4613,18 +4613,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#3841 + # pkg:gem/prism#lib/prism/node.rb:3841 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#3728 + # pkg:gem/prism#lib/prism/node.rb:3728 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def case_keyword: () -> String # - # source://prism//lib/prism/node.rb#3815 + # pkg:gem/prism#lib/prism/node.rb:3815 sig { returns(String) } def case_keyword; end @@ -4633,25 +4633,25 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^^ # - # source://prism//lib/prism/node.rb#3786 + # pkg:gem/prism#lib/prism/node.rb:3786 sig { returns(Prism::Location) } def case_keyword_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3733 + # pkg:gem/prism#lib/prism/node.rb:3733 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#3747 + # pkg:gem/prism#lib/prism/node.rb:3747 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#3738 + # pkg:gem/prism#lib/prism/node.rb:3738 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -4660,19 +4660,19 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^^^^^^^^ # - # source://prism//lib/prism/node.rb#3774 + # pkg:gem/prism#lib/prism/node.rb:3774 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#479 + # pkg:gem/prism#lib/prism/node_ext.rb:479 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#3752 + # pkg:gem/prism#lib/prism/node.rb:3752 sig do params( node_id: Integer, @@ -4690,13 +4690,13 @@ class Prism::CaseNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3757 + # pkg:gem/prism#lib/prism/node.rb:3757 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#3760 + # pkg:gem/prism#lib/prism/node.rb:3760 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -4705,13 +4705,13 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; else; end # ^^^^ # - # source://prism//lib/prism/node.rb#3780 + # pkg:gem/prism#lib/prism/node.rb:3780 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String # - # source://prism//lib/prism/node.rb#3820 + # pkg:gem/prism#lib/prism/node.rb:3820 sig { returns(String) } def end_keyword; end @@ -4720,7 +4720,7 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^ # - # source://prism//lib/prism/node.rb#3802 + # pkg:gem/prism#lib/prism/node.rb:3802 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -4729,7 +4729,7 @@ class Prism::CaseNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#3825 + # pkg:gem/prism#lib/prism/node.rb:3825 sig { override.returns(String) } def inspect; end @@ -4738,32 +4738,32 @@ class Prism::CaseNode < ::Prism::Node # case true; when false; end # ^^^^ # - # source://prism//lib/prism/node.rb#3768 + # pkg:gem/prism#lib/prism/node.rb:3768 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#3794 + # pkg:gem/prism#lib/prism/node.rb:3794 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#3810 + # pkg:gem/prism#lib/prism/node.rb:3810 def save_end_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#3830 + # pkg:gem/prism#lib/prism/node.rb:3830 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#3835 + # pkg:gem/prism#lib/prism/node.rb:3835 def type; end end end @@ -4773,13 +4773,13 @@ end # class Foo end # ^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#3856 +# pkg:gem/prism#lib/prism/node.rb:3856 class Prism::ClassNode < ::Prism::Node # Initialize a new ClassNode node. # # @return [ClassNode] a new instance of ClassNode # - # source://prism//lib/prism/node.rb#3858 + # pkg:gem/prism#lib/prism/node.rb:3858 sig do params( source: Prism::Source, @@ -4801,12 +4801,12 @@ 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#4020 + # pkg:gem/prism#lib/prism/node.rb:4020 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#3874 + # pkg:gem/prism#lib/prism/node.rb:3874 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -4816,19 +4816,19 @@ class Prism::ClassNode < ::Prism::Node # foo # ^^^ # - # source://prism//lib/prism/node.rb#3965 + # pkg:gem/prism#lib/prism/node.rb:3965 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3879 + # pkg:gem/prism#lib/prism/node.rb:3879 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def class_keyword: () -> String # - # source://prism//lib/prism/node.rb#3989 + # pkg:gem/prism#lib/prism/node.rb:3989 sig { returns(String) } def class_keyword; end @@ -4837,31 +4837,31 @@ class Prism::ClassNode < ::Prism::Node # class Foo end # ^^^^^ # - # source://prism//lib/prism/node.rb#3917 + # pkg:gem/prism#lib/prism/node.rb:3917 sig { returns(Prism::Location) } def class_keyword_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#3893 + # pkg:gem/prism#lib/prism/node.rb:3893 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#3884 + # pkg:gem/prism#lib/prism/node.rb:3884 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#3930 + # pkg:gem/prism#lib/prism/node.rb:3930 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#3898 + # pkg:gem/prism#lib/prism/node.rb:3898 sig do params( node_id: Integer, @@ -4882,19 +4882,19 @@ class Prism::ClassNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#3903 + # pkg:gem/prism#lib/prism/node.rb:3903 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#3906 + # pkg:gem/prism#lib/prism/node.rb:3906 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#3999 + # pkg:gem/prism#lib/prism/node.rb:3999 sig { returns(String) } def end_keyword; end @@ -4903,7 +4903,7 @@ class Prism::ClassNode < ::Prism::Node # class Foo end # ^^^ # - # source://prism//lib/prism/node.rb#3971 + # pkg:gem/prism#lib/prism/node.rb:3971 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -4912,7 +4912,7 @@ class Prism::ClassNode < ::Prism::Node # def inheritance_operator: () -> String? # - # source://prism//lib/prism/node.rb#3994 + # pkg:gem/prism#lib/prism/node.rb:3994 sig { returns(T.nilable(String)) } def inheritance_operator; end @@ -4921,19 +4921,19 @@ class Prism::ClassNode < ::Prism::Node # class Foo < Bar # ^ # - # source://prism//lib/prism/node.rb#3936 + # pkg:gem/prism#lib/prism/node.rb:3936 sig { returns(T.nilable(Prism::Location)) } def inheritance_operator_loc; end # def inspect -> String # - # source://prism//lib/prism/node.rb#4004 + # pkg:gem/prism#lib/prism/node.rb:4004 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism//lib/prism/node.rb#3911 + # pkg:gem/prism#lib/prism/node.rb:3911 sig { returns(T::Array[Symbol]) } def locals; end @@ -4941,26 +4941,26 @@ class Prism::ClassNode < ::Prism::Node # # class Foo end # name `:Foo` # - # source://prism//lib/prism/node.rb#3986 + # pkg:gem/prism#lib/prism/node.rb:3986 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#3925 + # pkg:gem/prism#lib/prism/node.rb:3925 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#3979 + # pkg:gem/prism#lib/prism/node.rb:3979 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#3950 + # pkg:gem/prism#lib/prism/node.rb:3950 def save_inheritance_operator_loc(repository); end # Represents the superclass of the class. @@ -4968,20 +4968,20 @@ class Prism::ClassNode < ::Prism::Node # class Foo < Bar # ^^^ # - # source://prism//lib/prism/node.rb#3958 + # pkg:gem/prism#lib/prism/node.rb:3958 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#4009 + # pkg:gem/prism#lib/prism/node.rb:4009 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#4014 + # pkg:gem/prism#lib/prism/node.rb:4014 def type; end end end @@ -4991,13 +4991,13 @@ end # @@target &&= value # ^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4038 +# pkg:gem/prism#lib/prism/node.rb:4038 class Prism::ClassVariableAndWriteNode < ::Prism::Node # Initialize a new ClassVariableAndWriteNode node. # # @return [ClassVariableAndWriteNode] a new instance of ClassVariableAndWriteNode # - # source://prism//lib/prism/node.rb#4040 + # pkg:gem/prism#lib/prism/node.rb:4040 sig do params( source: Prism::Source, @@ -5015,36 +5015,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#4150 + # pkg:gem/prism#lib/prism/node.rb:4150 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4052 + # pkg:gem/prism#lib/prism/node.rb:4052 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4057 + # pkg:gem/prism#lib/prism/node.rb:4057 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#4067 + # pkg:gem/prism#lib/prism/node.rb:4067 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#4062 + # pkg:gem/prism#lib/prism/node.rb:4062 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#4072 + # pkg:gem/prism#lib/prism/node.rb:4072 sig do params( node_id: Integer, @@ -5061,17 +5061,17 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4077 + # pkg:gem/prism#lib/prism/node.rb:4077 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#4080 + # pkg:gem/prism#lib/prism/node.rb:4080 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#165 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:165 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -5079,7 +5079,7 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4134 + # pkg:gem/prism#lib/prism/node.rb:4134 sig { override.returns(String) } def inspect; end @@ -5088,7 +5088,7 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # name `:@@target` # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#4088 + # pkg:gem/prism#lib/prism/node.rb:4088 sig { returns(Symbol) } def name; end @@ -5097,13 +5097,13 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#4094 + # pkg:gem/prism#lib/prism/node.rb:4094 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#4129 + # pkg:gem/prism#lib/prism/node.rb:4129 sig { returns(String) } def operator; end @@ -5112,25 +5112,25 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # ^^^ # - # source://prism//lib/prism/node.rb#4110 + # pkg:gem/prism#lib/prism/node.rb:4110 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#4102 + # pkg:gem/prism#lib/prism/node.rb:4102 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#4118 + # pkg:gem/prism#lib/prism/node.rb:4118 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4139 + # pkg:gem/prism#lib/prism/node.rb:4139 sig { override.returns(Symbol) } def type; end @@ -5139,14 +5139,14 @@ class Prism::ClassVariableAndWriteNode < ::Prism::Node # @@target &&= value # ^^^^^ # - # source://prism//lib/prism/node.rb#4126 + # pkg:gem/prism#lib/prism/node.rb:4126 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#4144 + # pkg:gem/prism#lib/prism/node.rb:4144 def type; end end end @@ -5156,13 +5156,13 @@ end # @@target += value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4163 +# pkg:gem/prism#lib/prism/node.rb:4163 class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # Initialize a new ClassVariableOperatorWriteNode node. # # @return [ClassVariableOperatorWriteNode] a new instance of ClassVariableOperatorWriteNode # - # source://prism//lib/prism/node.rb#4165 + # pkg:gem/prism#lib/prism/node.rb:4165 sig do params( source: Prism::Source, @@ -5181,48 +5181,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#4262 + # pkg:gem/prism#lib/prism/node.rb:4262 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4178 + # pkg:gem/prism#lib/prism/node.rb:4178 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#4243 + # pkg:gem/prism#lib/prism/node.rb:4243 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#4227 + # pkg:gem/prism#lib/prism/node.rb:4227 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4183 + # pkg:gem/prism#lib/prism/node.rb:4183 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#4193 + # pkg:gem/prism#lib/prism/node.rb:4193 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#4188 + # pkg:gem/prism#lib/prism/node.rb:4188 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#4198 + # pkg:gem/prism#lib/prism/node.rb:4198 sig do params( node_id: Integer, @@ -5240,17 +5240,17 @@ class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4203 + # pkg:gem/prism#lib/prism/node.rb:4203 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#4206 + # pkg:gem/prism#lib/prism/node.rb:4206 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#177 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:177 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -5258,62 +5258,62 @@ class Prism::ClassVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4246 + # pkg:gem/prism#lib/prism/node.rb:4246 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#4211 + # pkg:gem/prism#lib/prism/node.rb:4211 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#4214 + # pkg:gem/prism#lib/prism/node.rb:4214 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#358 + # pkg:gem/prism#lib/prism/node_ext.rb:358 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#365 + # pkg:gem/prism#lib/prism/node_ext.rb:365 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#4235 + # pkg:gem/prism#lib/prism/node.rb:4235 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#4222 + # pkg:gem/prism#lib/prism/node.rb:4222 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4251 + # pkg:gem/prism#lib/prism/node.rb:4251 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#4240 + # pkg:gem/prism#lib/prism/node.rb:4240 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#4256 + # pkg:gem/prism#lib/prism/node.rb:4256 def type; end end end @@ -5323,13 +5323,13 @@ end # @@target ||= value # ^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4276 +# pkg:gem/prism#lib/prism/node.rb:4276 class Prism::ClassVariableOrWriteNode < ::Prism::Node # Initialize a new ClassVariableOrWriteNode node. # # @return [ClassVariableOrWriteNode] a new instance of ClassVariableOrWriteNode # - # source://prism//lib/prism/node.rb#4278 + # pkg:gem/prism#lib/prism/node.rb:4278 sig do params( source: Prism::Source, @@ -5347,36 +5347,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#4376 + # pkg:gem/prism#lib/prism/node.rb:4376 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4290 + # pkg:gem/prism#lib/prism/node.rb:4290 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4295 + # pkg:gem/prism#lib/prism/node.rb:4295 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#4305 + # pkg:gem/prism#lib/prism/node.rb:4305 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#4300 + # pkg:gem/prism#lib/prism/node.rb:4300 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#4310 + # pkg:gem/prism#lib/prism/node.rb:4310 sig do params( node_id: Integer, @@ -5393,17 +5393,17 @@ class Prism::ClassVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4315 + # pkg:gem/prism#lib/prism/node.rb:4315 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#4318 + # pkg:gem/prism#lib/prism/node.rb:4318 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#171 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:171 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -5411,62 +5411,62 @@ class Prism::ClassVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4360 + # pkg:gem/prism#lib/prism/node.rb:4360 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#4323 + # pkg:gem/prism#lib/prism/node.rb:4323 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#4326 + # pkg:gem/prism#lib/prism/node.rb:4326 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#4355 + # pkg:gem/prism#lib/prism/node.rb:4355 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#4339 + # pkg:gem/prism#lib/prism/node.rb:4339 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#4334 + # pkg:gem/prism#lib/prism/node.rb:4334 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#4347 + # pkg:gem/prism#lib/prism/node.rb:4347 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4365 + # pkg:gem/prism#lib/prism/node.rb:4365 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#4352 + # pkg:gem/prism#lib/prism/node.rb:4352 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#4370 + # pkg:gem/prism#lib/prism/node.rb:4370 def type; end end end @@ -5476,49 +5476,49 @@ end # @@foo # ^^^^^ # -# source://prism//lib/prism/node.rb#4389 +# pkg:gem/prism#lib/prism/node.rb:4389 class Prism::ClassVariableReadNode < ::Prism::Node # Initialize a new ClassVariableReadNode node. # # @return [ClassVariableReadNode] a new instance of ClassVariableReadNode # - # source://prism//lib/prism/node.rb#4391 + # pkg:gem/prism#lib/prism/node.rb:4391 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#4456 + # pkg:gem/prism#lib/prism/node.rb:4456 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4400 + # pkg:gem/prism#lib/prism/node.rb:4400 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4405 + # pkg:gem/prism#lib/prism/node.rb:4405 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#4415 + # pkg:gem/prism#lib/prism/node.rb:4415 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#4410 + # pkg:gem/prism#lib/prism/node.rb:4410 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#4420 + # pkg:gem/prism#lib/prism/node.rb:4420 sig do params( node_id: Integer, @@ -5532,13 +5532,13 @@ class Prism::ClassVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4425 + # pkg:gem/prism#lib/prism/node.rb:4425 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#4428 + # pkg:gem/prism#lib/prism/node.rb:4428 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -5547,7 +5547,7 @@ class Prism::ClassVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4440 + # pkg:gem/prism#lib/prism/node.rb:4440 sig { override.returns(String) } def inspect; end @@ -5557,20 +5557,20 @@ class Prism::ClassVariableReadNode < ::Prism::Node # # @@_test # name `:@@_test` # - # source://prism//lib/prism/node.rb#4437 + # pkg:gem/prism#lib/prism/node.rb:4437 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4445 + # pkg:gem/prism#lib/prism/node.rb:4445 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#4450 + # pkg:gem/prism#lib/prism/node.rb:4450 def type; end end end @@ -5580,49 +5580,49 @@ end # @@foo, @@bar = baz # ^^^^^ ^^^^^ # -# source://prism//lib/prism/node.rb#4466 +# pkg:gem/prism#lib/prism/node.rb:4466 class Prism::ClassVariableTargetNode < ::Prism::Node # Initialize a new ClassVariableTargetNode node. # # @return [ClassVariableTargetNode] a new instance of ClassVariableTargetNode # - # source://prism//lib/prism/node.rb#4468 + # pkg:gem/prism#lib/prism/node.rb:4468 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#4529 + # pkg:gem/prism#lib/prism/node.rb:4529 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4477 + # pkg:gem/prism#lib/prism/node.rb:4477 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4482 + # pkg:gem/prism#lib/prism/node.rb:4482 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#4492 + # pkg:gem/prism#lib/prism/node.rb:4492 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#4487 + # pkg:gem/prism#lib/prism/node.rb:4487 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#4497 + # pkg:gem/prism#lib/prism/node.rb:4497 sig do params( node_id: Integer, @@ -5636,13 +5636,13 @@ class Prism::ClassVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4502 + # pkg:gem/prism#lib/prism/node.rb:4502 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#4505 + # pkg:gem/prism#lib/prism/node.rb:4505 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -5651,26 +5651,26 @@ class Prism::ClassVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4513 + # pkg:gem/prism#lib/prism/node.rb:4513 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#4510 + # pkg:gem/prism#lib/prism/node.rb:4510 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4518 + # pkg:gem/prism#lib/prism/node.rb:4518 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#4523 + # pkg:gem/prism#lib/prism/node.rb:4523 def type; end end end @@ -5680,13 +5680,13 @@ end # @@foo = 1 # ^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4539 +# pkg:gem/prism#lib/prism/node.rb:4539 class Prism::ClassVariableWriteNode < ::Prism::Node # Initialize a new ClassVariableWriteNode node. # # @return [ClassVariableWriteNode] a new instance of ClassVariableWriteNode # - # source://prism//lib/prism/node.rb#4541 + # pkg:gem/prism#lib/prism/node.rb:4541 sig do params( source: Prism::Source, @@ -5704,36 +5704,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#4655 + # pkg:gem/prism#lib/prism/node.rb:4655 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4553 + # pkg:gem/prism#lib/prism/node.rb:4553 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4558 + # pkg:gem/prism#lib/prism/node.rb:4558 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#4568 + # pkg:gem/prism#lib/prism/node.rb:4568 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#4563 + # pkg:gem/prism#lib/prism/node.rb:4563 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#4573 + # pkg:gem/prism#lib/prism/node.rb:4573 sig do params( node_id: Integer, @@ -5750,13 +5750,13 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4578 + # pkg:gem/prism#lib/prism/node.rb:4578 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#4581 + # pkg:gem/prism#lib/prism/node.rb:4581 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -5765,7 +5765,7 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4639 + # pkg:gem/prism#lib/prism/node.rb:4639 sig { override.returns(String) } def inspect; end @@ -5775,7 +5775,7 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # # @@_test = :test # name `@@_test` # - # source://prism//lib/prism/node.rb#4590 + # pkg:gem/prism#lib/prism/node.rb:4590 sig { returns(Symbol) } def name; end @@ -5784,13 +5784,13 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # @@foo = :bar # ^^^^^ # - # source://prism//lib/prism/node.rb#4596 + # pkg:gem/prism#lib/prism/node.rb:4596 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#4634 + # pkg:gem/prism#lib/prism/node.rb:4634 sig { returns(String) } def operator; end @@ -5799,25 +5799,25 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # @@foo = :bar # ^ # - # source://prism//lib/prism/node.rb#4621 + # pkg:gem/prism#lib/prism/node.rb:4621 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#4604 + # pkg:gem/prism#lib/prism/node.rb:4604 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#4629 + # pkg:gem/prism#lib/prism/node.rb:4629 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4644 + # pkg:gem/prism#lib/prism/node.rb:4644 sig { override.returns(Symbol) } def type; end @@ -5829,14 +5829,14 @@ class Prism::ClassVariableWriteNode < ::Prism::Node # @@_xyz = 123 # ^^^ # - # source://prism//lib/prism/node.rb#4615 + # pkg:gem/prism#lib/prism/node.rb:4615 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#4649 + # pkg:gem/prism#lib/prism/node.rb:4649 def type; end end end @@ -5855,49 +5855,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#177 +# pkg:gem/prism#lib/prism/parse_result.rb:177 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#203 + # pkg:gem/prism#lib/prism/parse_result.rb:203 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#217 + # pkg:gem/prism#lib/prism/parse_result.rb:217 sig { params(byte_offset: Integer).returns(Integer) } def [](byte_offset); end end -# source://prism//lib/prism/parse_result.rb#189 +# pkg:gem/prism#lib/prism/parse_result.rb:189 class Prism::CodeUnitsCache::LengthCounter # @return [LengthCounter] a new instance of LengthCounter # - # source://prism//lib/prism/parse_result.rb#190 + # pkg:gem/prism#lib/prism/parse_result.rb:190 def initialize(source, encoding); end - # source://prism//lib/prism/parse_result.rb#195 + # pkg:gem/prism#lib/prism/parse_result.rb:195 def count(byte_offset, byte_length); end end -# source://prism//lib/prism/parse_result.rb#178 +# pkg:gem/prism#lib/prism/parse_result.rb:178 class Prism::CodeUnitsCache::UTF16Counter # @return [UTF16Counter] a new instance of UTF16Counter # - # source://prism//lib/prism/parse_result.rb#179 + # pkg:gem/prism#lib/prism/parse_result.rb:179 def initialize(source, encoding); end - # source://prism//lib/prism/parse_result.rb#184 + # pkg:gem/prism#lib/prism/parse_result.rb:184 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#512 +# pkg:gem/prism#lib/prism/parse_result.rb:512 class Prism::Comment abstract! @@ -5905,25 +5905,25 @@ class Prism::Comment # # @return [Comment] a new instance of Comment # - # source://prism//lib/prism/parse_result.rb#517 + # pkg:gem/prism#lib/prism/parse_result.rb:517 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#522 + # pkg:gem/prism#lib/prism/parse_result.rb:522 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#514 + # pkg:gem/prism#lib/prism/parse_result.rb:514 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#527 + # pkg:gem/prism#lib/prism/parse_result.rb:527 sig { returns(String) } def slice; end @@ -5948,779 +5948,779 @@ end # Prism.parse("1 + 2").value.accept(SExpressions.new) # # => [:program, [[[:call, [[:integer], [:arguments, [[:integer]]]]]]]] # -# source://prism//lib/prism/compiler.rb#30 +# pkg:gem/prism#lib/prism/compiler.rb:30 class Prism::Compiler < ::Prism::Visitor # Visit an individual node. # - # source://prism//lib/prism/compiler.rb#32 + # pkg:gem/prism#lib/prism/compiler.rb:32 sig { params(node: T.nilable(Prism::Node)).returns(T.untyped) } def visit(node); end # Compile a AliasGlobalVariableNode node # - # source://prism//lib/prism/compiler.rb#47 + # pkg:gem/prism#lib/prism/compiler.rb:47 def visit_alias_global_variable_node(node); end # Compile a AliasMethodNode node # - # source://prism//lib/prism/compiler.rb#52 + # pkg:gem/prism#lib/prism/compiler.rb:52 def visit_alias_method_node(node); end # Visit a list of nodes. # - # source://prism//lib/prism/compiler.rb#37 + # pkg:gem/prism#lib/prism/compiler.rb:37 sig { params(nodes: T::Array[T.nilable(Prism::Node)]).returns(T::Array[T.untyped]) } def visit_all(nodes); end # Compile a AlternationPatternNode node # - # source://prism//lib/prism/compiler.rb#57 + # pkg:gem/prism#lib/prism/compiler.rb:57 def visit_alternation_pattern_node(node); end # Compile a AndNode node # - # source://prism//lib/prism/compiler.rb#62 + # pkg:gem/prism#lib/prism/compiler.rb:62 def visit_and_node(node); end # Compile a ArgumentsNode node # - # source://prism//lib/prism/compiler.rb#67 + # pkg:gem/prism#lib/prism/compiler.rb:67 def visit_arguments_node(node); end # Compile a ArrayNode node # - # source://prism//lib/prism/compiler.rb#72 + # pkg:gem/prism#lib/prism/compiler.rb:72 def visit_array_node(node); end # Compile a ArrayPatternNode node # - # source://prism//lib/prism/compiler.rb#77 + # pkg:gem/prism#lib/prism/compiler.rb:77 def visit_array_pattern_node(node); end # Compile a AssocNode node # - # source://prism//lib/prism/compiler.rb#82 + # pkg:gem/prism#lib/prism/compiler.rb:82 def visit_assoc_node(node); end # Compile a AssocSplatNode node # - # source://prism//lib/prism/compiler.rb#87 + # pkg:gem/prism#lib/prism/compiler.rb:87 def visit_assoc_splat_node(node); end # Compile a BackReferenceReadNode node # - # source://prism//lib/prism/compiler.rb#92 + # pkg:gem/prism#lib/prism/compiler.rb:92 def visit_back_reference_read_node(node); end # Compile a BeginNode node # - # source://prism//lib/prism/compiler.rb#97 + # pkg:gem/prism#lib/prism/compiler.rb:97 def visit_begin_node(node); end # Compile a BlockArgumentNode node # - # source://prism//lib/prism/compiler.rb#102 + # pkg:gem/prism#lib/prism/compiler.rb:102 def visit_block_argument_node(node); end # Compile a BlockLocalVariableNode node # - # source://prism//lib/prism/compiler.rb#107 + # pkg:gem/prism#lib/prism/compiler.rb:107 def visit_block_local_variable_node(node); end # Compile a BlockNode node # - # source://prism//lib/prism/compiler.rb#112 + # pkg:gem/prism#lib/prism/compiler.rb:112 def visit_block_node(node); end # Compile a BlockParameterNode node # - # source://prism//lib/prism/compiler.rb#117 + # pkg:gem/prism#lib/prism/compiler.rb:117 def visit_block_parameter_node(node); end # Compile a BlockParametersNode node # - # source://prism//lib/prism/compiler.rb#122 + # pkg:gem/prism#lib/prism/compiler.rb:122 def visit_block_parameters_node(node); end # Compile a BreakNode node # - # source://prism//lib/prism/compiler.rb#127 + # pkg:gem/prism#lib/prism/compiler.rb:127 def visit_break_node(node); end # Compile a CallAndWriteNode node # - # source://prism//lib/prism/compiler.rb#132 + # pkg:gem/prism#lib/prism/compiler.rb:132 def visit_call_and_write_node(node); end # Compile a CallNode node # - # source://prism//lib/prism/compiler.rb#137 + # pkg:gem/prism#lib/prism/compiler.rb:137 def visit_call_node(node); end # Compile a CallOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#142 + # pkg:gem/prism#lib/prism/compiler.rb:142 def visit_call_operator_write_node(node); end # Compile a CallOrWriteNode node # - # source://prism//lib/prism/compiler.rb#147 + # pkg:gem/prism#lib/prism/compiler.rb:147 def visit_call_or_write_node(node); end # Compile a CallTargetNode node # - # source://prism//lib/prism/compiler.rb#152 + # pkg:gem/prism#lib/prism/compiler.rb:152 def visit_call_target_node(node); end # Compile a CapturePatternNode node # - # source://prism//lib/prism/compiler.rb#157 + # pkg:gem/prism#lib/prism/compiler.rb:157 def visit_capture_pattern_node(node); end # Compile a CaseMatchNode node # - # source://prism//lib/prism/compiler.rb#162 + # pkg:gem/prism#lib/prism/compiler.rb:162 def visit_case_match_node(node); end # Compile a CaseNode node # - # source://prism//lib/prism/compiler.rb#167 + # pkg:gem/prism#lib/prism/compiler.rb:167 def visit_case_node(node); end # Visit the child nodes of the given node. # - # source://prism//lib/prism/compiler.rb#42 + # pkg:gem/prism#lib/prism/compiler.rb:42 sig { params(node: Prism::Node).returns(T::Array[T.untyped]) } def visit_child_nodes(node); end # Compile a ClassNode node # - # source://prism//lib/prism/compiler.rb#172 + # pkg:gem/prism#lib/prism/compiler.rb:172 def visit_class_node(node); end # Compile a ClassVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#177 + # pkg:gem/prism#lib/prism/compiler.rb:177 def visit_class_variable_and_write_node(node); end # Compile a ClassVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#182 + # pkg:gem/prism#lib/prism/compiler.rb:182 def visit_class_variable_operator_write_node(node); end # Compile a ClassVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#187 + # pkg:gem/prism#lib/prism/compiler.rb:187 def visit_class_variable_or_write_node(node); end # Compile a ClassVariableReadNode node # - # source://prism//lib/prism/compiler.rb#192 + # pkg:gem/prism#lib/prism/compiler.rb:192 def visit_class_variable_read_node(node); end # Compile a ClassVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#197 + # pkg:gem/prism#lib/prism/compiler.rb:197 def visit_class_variable_target_node(node); end # Compile a ClassVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#202 + # pkg:gem/prism#lib/prism/compiler.rb:202 def visit_class_variable_write_node(node); end # Compile a ConstantAndWriteNode node # - # source://prism//lib/prism/compiler.rb#207 + # pkg:gem/prism#lib/prism/compiler.rb:207 def visit_constant_and_write_node(node); end # Compile a ConstantOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#212 + # pkg:gem/prism#lib/prism/compiler.rb:212 def visit_constant_operator_write_node(node); end # Compile a ConstantOrWriteNode node # - # source://prism//lib/prism/compiler.rb#217 + # pkg:gem/prism#lib/prism/compiler.rb:217 def visit_constant_or_write_node(node); end # Compile a ConstantPathAndWriteNode node # - # source://prism//lib/prism/compiler.rb#222 + # pkg:gem/prism#lib/prism/compiler.rb:222 def visit_constant_path_and_write_node(node); end # Compile a ConstantPathNode node # - # source://prism//lib/prism/compiler.rb#227 + # pkg:gem/prism#lib/prism/compiler.rb:227 def visit_constant_path_node(node); end # Compile a ConstantPathOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#232 + # pkg:gem/prism#lib/prism/compiler.rb:232 def visit_constant_path_operator_write_node(node); end # Compile a ConstantPathOrWriteNode node # - # source://prism//lib/prism/compiler.rb#237 + # pkg:gem/prism#lib/prism/compiler.rb:237 def visit_constant_path_or_write_node(node); end # Compile a ConstantPathTargetNode node # - # source://prism//lib/prism/compiler.rb#242 + # pkg:gem/prism#lib/prism/compiler.rb:242 def visit_constant_path_target_node(node); end # Compile a ConstantPathWriteNode node # - # source://prism//lib/prism/compiler.rb#247 + # pkg:gem/prism#lib/prism/compiler.rb:247 def visit_constant_path_write_node(node); end # Compile a ConstantReadNode node # - # source://prism//lib/prism/compiler.rb#252 + # pkg:gem/prism#lib/prism/compiler.rb:252 def visit_constant_read_node(node); end # Compile a ConstantTargetNode node # - # source://prism//lib/prism/compiler.rb#257 + # pkg:gem/prism#lib/prism/compiler.rb:257 def visit_constant_target_node(node); end # Compile a ConstantWriteNode node # - # source://prism//lib/prism/compiler.rb#262 + # pkg:gem/prism#lib/prism/compiler.rb:262 def visit_constant_write_node(node); end # Compile a DefNode node # - # source://prism//lib/prism/compiler.rb#267 + # pkg:gem/prism#lib/prism/compiler.rb:267 def visit_def_node(node); end # Compile a DefinedNode node # - # source://prism//lib/prism/compiler.rb#272 + # pkg:gem/prism#lib/prism/compiler.rb:272 def visit_defined_node(node); end # Compile a ElseNode node # - # source://prism//lib/prism/compiler.rb#277 + # pkg:gem/prism#lib/prism/compiler.rb:277 def visit_else_node(node); end # Compile a EmbeddedStatementsNode node # - # source://prism//lib/prism/compiler.rb#282 + # pkg:gem/prism#lib/prism/compiler.rb:282 def visit_embedded_statements_node(node); end # Compile a EmbeddedVariableNode node # - # source://prism//lib/prism/compiler.rb#287 + # pkg:gem/prism#lib/prism/compiler.rb:287 def visit_embedded_variable_node(node); end # Compile a EnsureNode node # - # source://prism//lib/prism/compiler.rb#292 + # pkg:gem/prism#lib/prism/compiler.rb:292 def visit_ensure_node(node); end # Compile a FalseNode node # - # source://prism//lib/prism/compiler.rb#297 + # pkg:gem/prism#lib/prism/compiler.rb:297 def visit_false_node(node); end # Compile a FindPatternNode node # - # source://prism//lib/prism/compiler.rb#302 + # pkg:gem/prism#lib/prism/compiler.rb:302 def visit_find_pattern_node(node); end # Compile a FlipFlopNode node # - # source://prism//lib/prism/compiler.rb#307 + # pkg:gem/prism#lib/prism/compiler.rb:307 def visit_flip_flop_node(node); end # Compile a FloatNode node # - # source://prism//lib/prism/compiler.rb#312 + # pkg:gem/prism#lib/prism/compiler.rb:312 def visit_float_node(node); end # Compile a ForNode node # - # source://prism//lib/prism/compiler.rb#317 + # pkg:gem/prism#lib/prism/compiler.rb:317 def visit_for_node(node); end # Compile a ForwardingArgumentsNode node # - # source://prism//lib/prism/compiler.rb#322 + # pkg:gem/prism#lib/prism/compiler.rb:322 def visit_forwarding_arguments_node(node); end # Compile a ForwardingParameterNode node # - # source://prism//lib/prism/compiler.rb#327 + # pkg:gem/prism#lib/prism/compiler.rb:327 def visit_forwarding_parameter_node(node); end # Compile a ForwardingSuperNode node # - # source://prism//lib/prism/compiler.rb#332 + # pkg:gem/prism#lib/prism/compiler.rb:332 def visit_forwarding_super_node(node); end # Compile a GlobalVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#337 + # pkg:gem/prism#lib/prism/compiler.rb:337 def visit_global_variable_and_write_node(node); end # Compile a GlobalVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#342 + # pkg:gem/prism#lib/prism/compiler.rb:342 def visit_global_variable_operator_write_node(node); end # Compile a GlobalVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#347 + # pkg:gem/prism#lib/prism/compiler.rb:347 def visit_global_variable_or_write_node(node); end # Compile a GlobalVariableReadNode node # - # source://prism//lib/prism/compiler.rb#352 + # pkg:gem/prism#lib/prism/compiler.rb:352 def visit_global_variable_read_node(node); end # Compile a GlobalVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#357 + # pkg:gem/prism#lib/prism/compiler.rb:357 def visit_global_variable_target_node(node); end # Compile a GlobalVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#362 + # pkg:gem/prism#lib/prism/compiler.rb:362 def visit_global_variable_write_node(node); end # Compile a HashNode node # - # source://prism//lib/prism/compiler.rb#367 + # pkg:gem/prism#lib/prism/compiler.rb:367 def visit_hash_node(node); end # Compile a HashPatternNode node # - # source://prism//lib/prism/compiler.rb#372 + # pkg:gem/prism#lib/prism/compiler.rb:372 def visit_hash_pattern_node(node); end # Compile a IfNode node # - # source://prism//lib/prism/compiler.rb#377 + # pkg:gem/prism#lib/prism/compiler.rb:377 def visit_if_node(node); end # Compile a ImaginaryNode node # - # source://prism//lib/prism/compiler.rb#382 + # pkg:gem/prism#lib/prism/compiler.rb:382 def visit_imaginary_node(node); end # Compile a ImplicitNode node # - # source://prism//lib/prism/compiler.rb#387 + # pkg:gem/prism#lib/prism/compiler.rb:387 def visit_implicit_node(node); end # Compile a ImplicitRestNode node # - # source://prism//lib/prism/compiler.rb#392 + # pkg:gem/prism#lib/prism/compiler.rb:392 def visit_implicit_rest_node(node); end # Compile a InNode node # - # source://prism//lib/prism/compiler.rb#397 + # pkg:gem/prism#lib/prism/compiler.rb:397 def visit_in_node(node); end # Compile a IndexAndWriteNode node # - # source://prism//lib/prism/compiler.rb#402 + # pkg:gem/prism#lib/prism/compiler.rb:402 def visit_index_and_write_node(node); end # Compile a IndexOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#407 + # pkg:gem/prism#lib/prism/compiler.rb:407 def visit_index_operator_write_node(node); end # Compile a IndexOrWriteNode node # - # source://prism//lib/prism/compiler.rb#412 + # pkg:gem/prism#lib/prism/compiler.rb:412 def visit_index_or_write_node(node); end # Compile a IndexTargetNode node # - # source://prism//lib/prism/compiler.rb#417 + # pkg:gem/prism#lib/prism/compiler.rb:417 def visit_index_target_node(node); end # Compile a InstanceVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#422 + # pkg:gem/prism#lib/prism/compiler.rb:422 def visit_instance_variable_and_write_node(node); end # Compile a InstanceVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#427 + # pkg:gem/prism#lib/prism/compiler.rb:427 def visit_instance_variable_operator_write_node(node); end # Compile a InstanceVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#432 + # pkg:gem/prism#lib/prism/compiler.rb:432 def visit_instance_variable_or_write_node(node); end # Compile a InstanceVariableReadNode node # - # source://prism//lib/prism/compiler.rb#437 + # pkg:gem/prism#lib/prism/compiler.rb:437 def visit_instance_variable_read_node(node); end # Compile a InstanceVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#442 + # pkg:gem/prism#lib/prism/compiler.rb:442 def visit_instance_variable_target_node(node); end # Compile a InstanceVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#447 + # pkg:gem/prism#lib/prism/compiler.rb:447 def visit_instance_variable_write_node(node); end # Compile a IntegerNode node # - # source://prism//lib/prism/compiler.rb#452 + # pkg:gem/prism#lib/prism/compiler.rb:452 def visit_integer_node(node); end # Compile a InterpolatedMatchLastLineNode node # - # source://prism//lib/prism/compiler.rb#457 + # pkg:gem/prism#lib/prism/compiler.rb:457 def visit_interpolated_match_last_line_node(node); end # Compile a InterpolatedRegularExpressionNode node # - # source://prism//lib/prism/compiler.rb#462 + # pkg:gem/prism#lib/prism/compiler.rb:462 def visit_interpolated_regular_expression_node(node); end # Compile a InterpolatedStringNode node # - # source://prism//lib/prism/compiler.rb#467 + # pkg:gem/prism#lib/prism/compiler.rb:467 def visit_interpolated_string_node(node); end # Compile a InterpolatedSymbolNode node # - # source://prism//lib/prism/compiler.rb#472 + # pkg:gem/prism#lib/prism/compiler.rb:472 def visit_interpolated_symbol_node(node); end # Compile a InterpolatedXStringNode node # - # source://prism//lib/prism/compiler.rb#477 + # pkg:gem/prism#lib/prism/compiler.rb:477 def visit_interpolated_x_string_node(node); end # Compile a ItLocalVariableReadNode node # - # source://prism//lib/prism/compiler.rb#482 + # pkg:gem/prism#lib/prism/compiler.rb:482 def visit_it_local_variable_read_node(node); end # Compile a ItParametersNode node # - # source://prism//lib/prism/compiler.rb#487 + # pkg:gem/prism#lib/prism/compiler.rb:487 def visit_it_parameters_node(node); end # Compile a KeywordHashNode node # - # source://prism//lib/prism/compiler.rb#492 + # pkg:gem/prism#lib/prism/compiler.rb:492 def visit_keyword_hash_node(node); end # Compile a KeywordRestParameterNode node # - # source://prism//lib/prism/compiler.rb#497 + # pkg:gem/prism#lib/prism/compiler.rb:497 def visit_keyword_rest_parameter_node(node); end # Compile a LambdaNode node # - # source://prism//lib/prism/compiler.rb#502 + # pkg:gem/prism#lib/prism/compiler.rb:502 def visit_lambda_node(node); end # Compile a LocalVariableAndWriteNode node # - # source://prism//lib/prism/compiler.rb#507 + # pkg:gem/prism#lib/prism/compiler.rb:507 def visit_local_variable_and_write_node(node); end # Compile a LocalVariableOperatorWriteNode node # - # source://prism//lib/prism/compiler.rb#512 + # pkg:gem/prism#lib/prism/compiler.rb:512 def visit_local_variable_operator_write_node(node); end # Compile a LocalVariableOrWriteNode node # - # source://prism//lib/prism/compiler.rb#517 + # pkg:gem/prism#lib/prism/compiler.rb:517 def visit_local_variable_or_write_node(node); end # Compile a LocalVariableReadNode node # - # source://prism//lib/prism/compiler.rb#522 + # pkg:gem/prism#lib/prism/compiler.rb:522 def visit_local_variable_read_node(node); end # Compile a LocalVariableTargetNode node # - # source://prism//lib/prism/compiler.rb#527 + # pkg:gem/prism#lib/prism/compiler.rb:527 def visit_local_variable_target_node(node); end # Compile a LocalVariableWriteNode node # - # source://prism//lib/prism/compiler.rb#532 + # pkg:gem/prism#lib/prism/compiler.rb:532 def visit_local_variable_write_node(node); end # Compile a MatchLastLineNode node # - # source://prism//lib/prism/compiler.rb#537 + # pkg:gem/prism#lib/prism/compiler.rb:537 def visit_match_last_line_node(node); end # Compile a MatchPredicateNode node # - # source://prism//lib/prism/compiler.rb#542 + # pkg:gem/prism#lib/prism/compiler.rb:542 def visit_match_predicate_node(node); end # Compile a MatchRequiredNode node # - # source://prism//lib/prism/compiler.rb#547 + # pkg:gem/prism#lib/prism/compiler.rb:547 def visit_match_required_node(node); end # Compile a MatchWriteNode node # - # source://prism//lib/prism/compiler.rb#552 + # pkg:gem/prism#lib/prism/compiler.rb:552 def visit_match_write_node(node); end # Compile a MissingNode node # - # source://prism//lib/prism/compiler.rb#557 + # pkg:gem/prism#lib/prism/compiler.rb:557 def visit_missing_node(node); end # Compile a ModuleNode node # - # source://prism//lib/prism/compiler.rb#562 + # pkg:gem/prism#lib/prism/compiler.rb:562 def visit_module_node(node); end # Compile a MultiTargetNode node # - # source://prism//lib/prism/compiler.rb#567 + # pkg:gem/prism#lib/prism/compiler.rb:567 def visit_multi_target_node(node); end # Compile a MultiWriteNode node # - # source://prism//lib/prism/compiler.rb#572 + # pkg:gem/prism#lib/prism/compiler.rb:572 def visit_multi_write_node(node); end # Compile a NextNode node # - # source://prism//lib/prism/compiler.rb#577 + # pkg:gem/prism#lib/prism/compiler.rb:577 def visit_next_node(node); end # Compile a NilNode node # - # source://prism//lib/prism/compiler.rb#582 + # pkg:gem/prism#lib/prism/compiler.rb:582 def visit_nil_node(node); end # Compile a NoKeywordsParameterNode node # - # source://prism//lib/prism/compiler.rb#587 + # pkg:gem/prism#lib/prism/compiler.rb:587 def visit_no_keywords_parameter_node(node); end # Compile a NumberedParametersNode node # - # source://prism//lib/prism/compiler.rb#592 + # pkg:gem/prism#lib/prism/compiler.rb:592 def visit_numbered_parameters_node(node); end # Compile a NumberedReferenceReadNode node # - # source://prism//lib/prism/compiler.rb#597 + # pkg:gem/prism#lib/prism/compiler.rb:597 def visit_numbered_reference_read_node(node); end # Compile a OptionalKeywordParameterNode node # - # source://prism//lib/prism/compiler.rb#602 + # pkg:gem/prism#lib/prism/compiler.rb:602 def visit_optional_keyword_parameter_node(node); end # Compile a OptionalParameterNode node # - # source://prism//lib/prism/compiler.rb#607 + # pkg:gem/prism#lib/prism/compiler.rb:607 def visit_optional_parameter_node(node); end # Compile a OrNode node # - # source://prism//lib/prism/compiler.rb#612 + # pkg:gem/prism#lib/prism/compiler.rb:612 def visit_or_node(node); end # Compile a ParametersNode node # - # source://prism//lib/prism/compiler.rb#617 + # pkg:gem/prism#lib/prism/compiler.rb:617 def visit_parameters_node(node); end # Compile a ParenthesesNode node # - # source://prism//lib/prism/compiler.rb#622 + # pkg:gem/prism#lib/prism/compiler.rb:622 def visit_parentheses_node(node); end # Compile a PinnedExpressionNode node # - # source://prism//lib/prism/compiler.rb#627 + # pkg:gem/prism#lib/prism/compiler.rb:627 def visit_pinned_expression_node(node); end # Compile a PinnedVariableNode node # - # source://prism//lib/prism/compiler.rb#632 + # pkg:gem/prism#lib/prism/compiler.rb:632 def visit_pinned_variable_node(node); end # Compile a PostExecutionNode node # - # source://prism//lib/prism/compiler.rb#637 + # pkg:gem/prism#lib/prism/compiler.rb:637 def visit_post_execution_node(node); end # Compile a PreExecutionNode node # - # source://prism//lib/prism/compiler.rb#642 + # pkg:gem/prism#lib/prism/compiler.rb:642 def visit_pre_execution_node(node); end # Compile a ProgramNode node # - # source://prism//lib/prism/compiler.rb#647 + # pkg:gem/prism#lib/prism/compiler.rb:647 def visit_program_node(node); end # Compile a RangeNode node # - # source://prism//lib/prism/compiler.rb#652 + # pkg:gem/prism#lib/prism/compiler.rb:652 def visit_range_node(node); end # Compile a RationalNode node # - # source://prism//lib/prism/compiler.rb#657 + # pkg:gem/prism#lib/prism/compiler.rb:657 def visit_rational_node(node); end # Compile a RedoNode node # - # source://prism//lib/prism/compiler.rb#662 + # pkg:gem/prism#lib/prism/compiler.rb:662 def visit_redo_node(node); end # Compile a RegularExpressionNode node # - # source://prism//lib/prism/compiler.rb#667 + # pkg:gem/prism#lib/prism/compiler.rb:667 def visit_regular_expression_node(node); end # Compile a RequiredKeywordParameterNode node # - # source://prism//lib/prism/compiler.rb#672 + # pkg:gem/prism#lib/prism/compiler.rb:672 def visit_required_keyword_parameter_node(node); end # Compile a RequiredParameterNode node # - # source://prism//lib/prism/compiler.rb#677 + # pkg:gem/prism#lib/prism/compiler.rb:677 def visit_required_parameter_node(node); end # Compile a RescueModifierNode node # - # source://prism//lib/prism/compiler.rb#682 + # pkg:gem/prism#lib/prism/compiler.rb:682 def visit_rescue_modifier_node(node); end # Compile a RescueNode node # - # source://prism//lib/prism/compiler.rb#687 + # pkg:gem/prism#lib/prism/compiler.rb:687 def visit_rescue_node(node); end # Compile a RestParameterNode node # - # source://prism//lib/prism/compiler.rb#692 + # pkg:gem/prism#lib/prism/compiler.rb:692 def visit_rest_parameter_node(node); end # Compile a RetryNode node # - # source://prism//lib/prism/compiler.rb#697 + # pkg:gem/prism#lib/prism/compiler.rb:697 def visit_retry_node(node); end # Compile a ReturnNode node # - # source://prism//lib/prism/compiler.rb#702 + # pkg:gem/prism#lib/prism/compiler.rb:702 def visit_return_node(node); end # Compile a SelfNode node # - # source://prism//lib/prism/compiler.rb#707 + # pkg:gem/prism#lib/prism/compiler.rb:707 def visit_self_node(node); end # Compile a ShareableConstantNode node # - # source://prism//lib/prism/compiler.rb#712 + # pkg:gem/prism#lib/prism/compiler.rb:712 def visit_shareable_constant_node(node); end # Compile a SingletonClassNode node # - # source://prism//lib/prism/compiler.rb#717 + # pkg:gem/prism#lib/prism/compiler.rb:717 def visit_singleton_class_node(node); end # Compile a SourceEncodingNode node # - # source://prism//lib/prism/compiler.rb#722 + # pkg:gem/prism#lib/prism/compiler.rb:722 def visit_source_encoding_node(node); end # Compile a SourceFileNode node # - # source://prism//lib/prism/compiler.rb#727 + # pkg:gem/prism#lib/prism/compiler.rb:727 def visit_source_file_node(node); end # Compile a SourceLineNode node # - # source://prism//lib/prism/compiler.rb#732 + # pkg:gem/prism#lib/prism/compiler.rb:732 def visit_source_line_node(node); end # Compile a SplatNode node # - # source://prism//lib/prism/compiler.rb#737 + # pkg:gem/prism#lib/prism/compiler.rb:737 def visit_splat_node(node); end # Compile a StatementsNode node # - # source://prism//lib/prism/compiler.rb#742 + # pkg:gem/prism#lib/prism/compiler.rb:742 def visit_statements_node(node); end # Compile a StringNode node # - # source://prism//lib/prism/compiler.rb#747 + # pkg:gem/prism#lib/prism/compiler.rb:747 def visit_string_node(node); end # Compile a SuperNode node # - # source://prism//lib/prism/compiler.rb#752 + # pkg:gem/prism#lib/prism/compiler.rb:752 def visit_super_node(node); end # Compile a SymbolNode node # - # source://prism//lib/prism/compiler.rb#757 + # pkg:gem/prism#lib/prism/compiler.rb:757 def visit_symbol_node(node); end # Compile a TrueNode node # - # source://prism//lib/prism/compiler.rb#762 + # pkg:gem/prism#lib/prism/compiler.rb:762 def visit_true_node(node); end # Compile a UndefNode node # - # source://prism//lib/prism/compiler.rb#767 + # pkg:gem/prism#lib/prism/compiler.rb:767 def visit_undef_node(node); end # Compile a UnlessNode node # - # source://prism//lib/prism/compiler.rb#772 + # pkg:gem/prism#lib/prism/compiler.rb:772 def visit_unless_node(node); end # Compile a UntilNode node # - # source://prism//lib/prism/compiler.rb#777 + # pkg:gem/prism#lib/prism/compiler.rb:777 def visit_until_node(node); end # Compile a WhenNode node # - # source://prism//lib/prism/compiler.rb#782 + # pkg:gem/prism#lib/prism/compiler.rb:782 def visit_when_node(node); end # Compile a WhileNode node # - # source://prism//lib/prism/compiler.rb#787 + # pkg:gem/prism#lib/prism/compiler.rb:787 def visit_while_node(node); end # Compile a XStringNode node # - # source://prism//lib/prism/compiler.rb#792 + # pkg:gem/prism#lib/prism/compiler.rb:792 def visit_x_string_node(node); end # Compile a YieldNode node # - # source://prism//lib/prism/compiler.rb#797 + # pkg:gem/prism#lib/prism/compiler.rb:797 def visit_yield_node(node); end end @@ -6729,13 +6729,13 @@ end # Target &&= value # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4668 +# pkg:gem/prism#lib/prism/node.rb:4668 class Prism::ConstantAndWriteNode < ::Prism::Node # Initialize a new ConstantAndWriteNode node. # # @return [ConstantAndWriteNode] a new instance of ConstantAndWriteNode # - # source://prism//lib/prism/node.rb#4670 + # pkg:gem/prism#lib/prism/node.rb:4670 sig do params( source: Prism::Source, @@ -6753,36 +6753,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#4768 + # pkg:gem/prism#lib/prism/node.rb:4768 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4682 + # pkg:gem/prism#lib/prism/node.rb:4682 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4687 + # pkg:gem/prism#lib/prism/node.rb:4687 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#4697 + # pkg:gem/prism#lib/prism/node.rb:4697 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#4692 + # pkg:gem/prism#lib/prism/node.rb:4692 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#4702 + # pkg:gem/prism#lib/prism/node.rb:4702 sig do params( node_id: Integer, @@ -6799,17 +6799,17 @@ class Prism::ConstantAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4707 + # pkg:gem/prism#lib/prism/node.rb:4707 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#4710 + # pkg:gem/prism#lib/prism/node.rb:4710 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#183 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:183 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -6817,62 +6817,62 @@ class Prism::ConstantAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4752 + # pkg:gem/prism#lib/prism/node.rb:4752 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#4715 + # pkg:gem/prism#lib/prism/node.rb:4715 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#4718 + # pkg:gem/prism#lib/prism/node.rb:4718 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#4747 + # pkg:gem/prism#lib/prism/node.rb:4747 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#4731 + # pkg:gem/prism#lib/prism/node.rb:4731 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#4726 + # pkg:gem/prism#lib/prism/node.rb:4726 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#4739 + # pkg:gem/prism#lib/prism/node.rb:4739 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4757 + # pkg:gem/prism#lib/prism/node.rb:4757 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#4744 + # pkg:gem/prism#lib/prism/node.rb:4744 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#4762 + # pkg:gem/prism#lib/prism/node.rb:4762 def type; end end end @@ -6882,13 +6882,13 @@ end # Target += value # ^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4781 +# pkg:gem/prism#lib/prism/node.rb:4781 class Prism::ConstantOperatorWriteNode < ::Prism::Node # Initialize a new ConstantOperatorWriteNode node. # # @return [ConstantOperatorWriteNode] a new instance of ConstantOperatorWriteNode # - # source://prism//lib/prism/node.rb#4783 + # pkg:gem/prism#lib/prism/node.rb:4783 sig do params( source: Prism::Source, @@ -6907,48 +6907,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#4880 + # pkg:gem/prism#lib/prism/node.rb:4880 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4796 + # pkg:gem/prism#lib/prism/node.rb:4796 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#4861 + # pkg:gem/prism#lib/prism/node.rb:4861 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#4845 + # pkg:gem/prism#lib/prism/node.rb:4845 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4801 + # pkg:gem/prism#lib/prism/node.rb:4801 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#4811 + # pkg:gem/prism#lib/prism/node.rb:4811 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#4806 + # pkg:gem/prism#lib/prism/node.rb:4806 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#4816 + # pkg:gem/prism#lib/prism/node.rb:4816 sig do params( node_id: Integer, @@ -6966,17 +6966,17 @@ class Prism::ConstantOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4821 + # pkg:gem/prism#lib/prism/node.rb:4821 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#4824 + # pkg:gem/prism#lib/prism/node.rb:4824 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#195 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:195 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -6984,62 +6984,62 @@ class Prism::ConstantOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4864 + # pkg:gem/prism#lib/prism/node.rb:4864 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#4829 + # pkg:gem/prism#lib/prism/node.rb:4829 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#4832 + # pkg:gem/prism#lib/prism/node.rb:4832 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#374 + # pkg:gem/prism#lib/prism/node_ext.rb:374 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#381 + # pkg:gem/prism#lib/prism/node_ext.rb:381 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#4853 + # pkg:gem/prism#lib/prism/node.rb:4853 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#4840 + # pkg:gem/prism#lib/prism/node.rb:4840 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4869 + # pkg:gem/prism#lib/prism/node.rb:4869 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#4858 + # pkg:gem/prism#lib/prism/node.rb:4858 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#4874 + # pkg:gem/prism#lib/prism/node.rb:4874 def type; end end end @@ -7049,13 +7049,13 @@ end # Target ||= value # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#4894 +# pkg:gem/prism#lib/prism/node.rb:4894 class Prism::ConstantOrWriteNode < ::Prism::Node # Initialize a new ConstantOrWriteNode node. # # @return [ConstantOrWriteNode] a new instance of ConstantOrWriteNode # - # source://prism//lib/prism/node.rb#4896 + # pkg:gem/prism#lib/prism/node.rb:4896 sig do params( source: Prism::Source, @@ -7073,36 +7073,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#4994 + # pkg:gem/prism#lib/prism/node.rb:4994 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#4908 + # pkg:gem/prism#lib/prism/node.rb:4908 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4913 + # pkg:gem/prism#lib/prism/node.rb:4913 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#4923 + # pkg:gem/prism#lib/prism/node.rb:4923 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#4918 + # pkg:gem/prism#lib/prism/node.rb:4918 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#4928 + # pkg:gem/prism#lib/prism/node.rb:4928 sig do params( node_id: Integer, @@ -7119,17 +7119,17 @@ class Prism::ConstantOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#4933 + # pkg:gem/prism#lib/prism/node.rb:4933 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#4936 + # pkg:gem/prism#lib/prism/node.rb:4936 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#189 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:189 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -7137,62 +7137,62 @@ class Prism::ConstantOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#4978 + # pkg:gem/prism#lib/prism/node.rb:4978 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#4941 + # pkg:gem/prism#lib/prism/node.rb:4941 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#4944 + # pkg:gem/prism#lib/prism/node.rb:4944 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#4973 + # pkg:gem/prism#lib/prism/node.rb:4973 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#4957 + # pkg:gem/prism#lib/prism/node.rb:4957 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#4952 + # pkg:gem/prism#lib/prism/node.rb:4952 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#4965 + # pkg:gem/prism#lib/prism/node.rb:4965 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#4983 + # pkg:gem/prism#lib/prism/node.rb:4983 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#4970 + # pkg:gem/prism#lib/prism/node.rb:4970 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#4988 + # pkg:gem/prism#lib/prism/node.rb:4988 def type; end end end @@ -7202,13 +7202,13 @@ end # Parent::Child &&= value # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#5007 +# pkg:gem/prism#lib/prism/node.rb:5007 class Prism::ConstantPathAndWriteNode < ::Prism::Node # Initialize a new ConstantPathAndWriteNode node. # # @return [ConstantPathAndWriteNode] a new instance of ConstantPathAndWriteNode # - # source://prism//lib/prism/node.rb#5009 + # pkg:gem/prism#lib/prism/node.rb:5009 sig do params( source: Prism::Source, @@ -7225,36 +7225,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#5093 + # pkg:gem/prism#lib/prism/node.rb:5093 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5020 + # pkg:gem/prism#lib/prism/node.rb:5020 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5025 + # pkg:gem/prism#lib/prism/node.rb:5025 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#5035 + # pkg:gem/prism#lib/prism/node.rb:5035 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#5030 + # pkg:gem/prism#lib/prism/node.rb:5030 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#5040 + # pkg:gem/prism#lib/prism/node.rb:5040 sig do params( node_id: Integer, @@ -7270,13 +7270,13 @@ class Prism::ConstantPathAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5045 + # pkg:gem/prism#lib/prism/node.rb:5045 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#5048 + # pkg:gem/prism#lib/prism/node.rb:5048 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -7285,50 +7285,50 @@ class Prism::ConstantPathAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#5077 + # pkg:gem/prism#lib/prism/node.rb:5077 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#5072 + # pkg:gem/prism#lib/prism/node.rb:5072 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#5056 + # pkg:gem/prism#lib/prism/node.rb:5056 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#5064 + # pkg:gem/prism#lib/prism/node.rb:5064 def save_operator_loc(repository); end # attr_reader target: ConstantPathNode # - # source://prism//lib/prism/node.rb#5053 + # pkg:gem/prism#lib/prism/node.rb:5053 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5082 + # pkg:gem/prism#lib/prism/node.rb:5082 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#5069 + # pkg:gem/prism#lib/prism/node.rb:5069 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#5087 + # pkg:gem/prism#lib/prism/node.rb:5087 def type; end end end @@ -7338,13 +7338,13 @@ end # Foo::Bar # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#5105 +# pkg:gem/prism#lib/prism/node.rb:5105 class Prism::ConstantPathNode < ::Prism::Node # Initialize a new ConstantPathNode node. # # @return [ConstantPathNode] a new instance of ConstantPathNode # - # source://prism//lib/prism/node.rb#5107 + # pkg:gem/prism#lib/prism/node.rb:5107 sig do params( source: Prism::Source, @@ -7362,12 +7362,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#5228 + # pkg:gem/prism#lib/prism/node.rb:5228 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5119 + # pkg:gem/prism#lib/prism/node.rb:5119 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -7375,30 +7375,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#205 + # pkg:gem/prism#lib/prism/node_ext.rb:205 def child; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5124 + # pkg:gem/prism#lib/prism/node.rb:5124 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#5136 + # pkg:gem/prism#lib/prism/node.rb:5136 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#5129 + # pkg:gem/prism#lib/prism/node.rb:5129 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#5141 + # pkg:gem/prism#lib/prism/node.rb:5141 sig do params( node_id: Integer, @@ -7415,19 +7415,19 @@ class Prism::ConstantPathNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5146 + # pkg:gem/prism#lib/prism/node.rb:5146 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#5149 + # pkg:gem/prism#lib/prism/node.rb:5149 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#5207 + # pkg:gem/prism#lib/prism/node.rb:5207 sig { returns(String) } def delimiter; end @@ -7439,7 +7439,7 @@ class Prism::ConstantPathNode < ::Prism::Node # One::Two # ^^ # - # source://prism//lib/prism/node.rb#5175 + # pkg:gem/prism#lib/prism/node.rb:5175 sig { returns(Prism::Location) } def delimiter_loc; end @@ -7448,26 +7448,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#198 + # pkg:gem/prism#lib/prism/node_ext.rb:198 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#176 + # pkg:gem/prism#lib/prism/node_ext.rb:176 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism//lib/prism/node.rb#5212 + # pkg:gem/prism#lib/prism/node.rb:5212 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#5166 + # pkg:gem/prism#lib/prism/node.rb:5166 sig { returns(T.nilable(Symbol)) } def name; end @@ -7479,7 +7479,7 @@ class Prism::ConstantPathNode < ::Prism::Node # One::Two # ^^^ # - # source://prism//lib/prism/node.rb#5194 + # pkg:gem/prism#lib/prism/node.rb:5194 sig { returns(Prism::Location) } def name_loc; end @@ -7494,32 +7494,32 @@ class Prism::ConstantPathNode < ::Prism::Node # a.b::C # ^^^ # - # source://prism//lib/prism/node.rb#5163 + # pkg:gem/prism#lib/prism/node.rb:5163 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#5183 + # pkg:gem/prism#lib/prism/node.rb:5183 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#5202 + # pkg:gem/prism#lib/prism/node.rb:5202 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5217 + # pkg:gem/prism#lib/prism/node.rb:5217 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#5222 + # pkg:gem/prism#lib/prism/node.rb:5222 def type; end end end @@ -7531,14 +7531,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#167 +# pkg:gem/prism#lib/prism/node_ext.rb:167 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#172 +# pkg:gem/prism#lib/prism/node_ext.rb:172 class Prism::ConstantPathNode::MissingNodesInConstantPathError < ::StandardError; end # Represents assigning to a constant path using an operator that isn't `=`. @@ -7546,13 +7546,13 @@ class Prism::ConstantPathNode::MissingNodesInConstantPathError < ::StandardError # Parent::Child += value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#5241 +# pkg:gem/prism#lib/prism/node.rb:5241 class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # Initialize a new ConstantPathOperatorWriteNode node. # # @return [ConstantPathOperatorWriteNode] a new instance of ConstantPathOperatorWriteNode # - # source://prism//lib/prism/node.rb#5243 + # pkg:gem/prism#lib/prism/node.rb:5243 sig do params( source: Prism::Source, @@ -7570,48 +7570,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#5326 + # pkg:gem/prism#lib/prism/node.rb:5326 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5255 + # pkg:gem/prism#lib/prism/node.rb:5255 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#5307 + # pkg:gem/prism#lib/prism/node.rb:5307 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#5291 + # pkg:gem/prism#lib/prism/node.rb:5291 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5260 + # pkg:gem/prism#lib/prism/node.rb:5260 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#5270 + # pkg:gem/prism#lib/prism/node.rb:5270 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#5265 + # pkg:gem/prism#lib/prism/node.rb:5265 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#5275 + # pkg:gem/prism#lib/prism/node.rb:5275 sig do params( node_id: Integer, @@ -7628,13 +7628,13 @@ class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5280 + # pkg:gem/prism#lib/prism/node.rb:5280 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#5283 + # pkg:gem/prism#lib/prism/node.rb:5283 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -7643,50 +7643,50 @@ class Prism::ConstantPathOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#5310 + # pkg:gem/prism#lib/prism/node.rb:5310 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#390 + # pkg:gem/prism#lib/prism/node_ext.rb:390 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#397 + # pkg:gem/prism#lib/prism/node_ext.rb:397 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#5299 + # pkg:gem/prism#lib/prism/node.rb:5299 def save_binary_operator_loc(repository); end # attr_reader target: ConstantPathNode # - # source://prism//lib/prism/node.rb#5288 + # pkg:gem/prism#lib/prism/node.rb:5288 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5315 + # pkg:gem/prism#lib/prism/node.rb:5315 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#5304 + # pkg:gem/prism#lib/prism/node.rb:5304 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#5320 + # pkg:gem/prism#lib/prism/node.rb:5320 def type; end end end @@ -7696,13 +7696,13 @@ end # Parent::Child ||= value # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#5339 +# pkg:gem/prism#lib/prism/node.rb:5339 class Prism::ConstantPathOrWriteNode < ::Prism::Node # Initialize a new ConstantPathOrWriteNode node. # # @return [ConstantPathOrWriteNode] a new instance of ConstantPathOrWriteNode # - # source://prism//lib/prism/node.rb#5341 + # pkg:gem/prism#lib/prism/node.rb:5341 sig do params( source: Prism::Source, @@ -7719,36 +7719,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#5425 + # pkg:gem/prism#lib/prism/node.rb:5425 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5352 + # pkg:gem/prism#lib/prism/node.rb:5352 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5357 + # pkg:gem/prism#lib/prism/node.rb:5357 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#5367 + # pkg:gem/prism#lib/prism/node.rb:5367 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#5362 + # pkg:gem/prism#lib/prism/node.rb:5362 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#5372 + # pkg:gem/prism#lib/prism/node.rb:5372 sig do params( node_id: Integer, @@ -7764,13 +7764,13 @@ class Prism::ConstantPathOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5377 + # pkg:gem/prism#lib/prism/node.rb:5377 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#5380 + # pkg:gem/prism#lib/prism/node.rb:5380 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -7779,50 +7779,50 @@ class Prism::ConstantPathOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#5409 + # pkg:gem/prism#lib/prism/node.rb:5409 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#5404 + # pkg:gem/prism#lib/prism/node.rb:5404 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#5388 + # pkg:gem/prism#lib/prism/node.rb:5388 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#5396 + # pkg:gem/prism#lib/prism/node.rb:5396 def save_operator_loc(repository); end # attr_reader target: ConstantPathNode # - # source://prism//lib/prism/node.rb#5385 + # pkg:gem/prism#lib/prism/node.rb:5385 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5414 + # pkg:gem/prism#lib/prism/node.rb:5414 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#5401 + # pkg:gem/prism#lib/prism/node.rb:5401 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#5419 + # pkg:gem/prism#lib/prism/node.rb:5419 def type; end end end @@ -7832,13 +7832,13 @@ end # Foo::Foo, Bar::Bar = baz # ^^^^^^^^ ^^^^^^^^ # -# source://prism//lib/prism/node.rb#5437 +# pkg:gem/prism#lib/prism/node.rb:5437 class Prism::ConstantPathTargetNode < ::Prism::Node # Initialize a new ConstantPathTargetNode node. # # @return [ConstantPathTargetNode] a new instance of ConstantPathTargetNode # - # source://prism//lib/prism/node.rb#5439 + # pkg:gem/prism#lib/prism/node.rb:5439 sig do params( source: Prism::Source, @@ -7856,12 +7856,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#5539 + # pkg:gem/prism#lib/prism/node.rb:5539 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5451 + # pkg:gem/prism#lib/prism/node.rb:5451 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -7869,30 +7869,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#246 + # pkg:gem/prism#lib/prism/node_ext.rb:246 def child; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5456 + # pkg:gem/prism#lib/prism/node.rb:5456 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#5468 + # pkg:gem/prism#lib/prism/node.rb:5468 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#5461 + # pkg:gem/prism#lib/prism/node.rb:5461 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#5473 + # pkg:gem/prism#lib/prism/node.rb:5473 sig do params( node_id: Integer, @@ -7909,25 +7909,25 @@ class Prism::ConstantPathTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5478 + # pkg:gem/prism#lib/prism/node.rb:5478 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#5481 + # pkg:gem/prism#lib/prism/node.rb:5481 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#5518 + # pkg:gem/prism#lib/prism/node.rb:5518 sig { returns(String) } def delimiter; end # attr_reader delimiter_loc: Location # - # source://prism//lib/prism/node.rb#5492 + # pkg:gem/prism#lib/prism/node.rb:5492 sig { returns(Prism::Location) } def delimiter_loc; end @@ -7936,63 +7936,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#239 + # pkg:gem/prism#lib/prism/node_ext.rb:239 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#219 + # pkg:gem/prism#lib/prism/node_ext.rb:219 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism//lib/prism/node.rb#5523 + # pkg:gem/prism#lib/prism/node.rb:5523 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol? # - # source://prism//lib/prism/node.rb#5489 + # pkg:gem/prism#lib/prism/node.rb:5489 sig { returns(T.nilable(Symbol)) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#5505 + # pkg:gem/prism#lib/prism/node.rb:5505 sig { returns(Prism::Location) } def name_loc; end # attr_reader parent: Prism::node? # - # source://prism//lib/prism/node.rb#5486 + # pkg:gem/prism#lib/prism/node.rb:5486 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#5500 + # pkg:gem/prism#lib/prism/node.rb:5500 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#5513 + # pkg:gem/prism#lib/prism/node.rb:5513 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5528 + # pkg:gem/prism#lib/prism/node.rb:5528 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#5533 + # pkg:gem/prism#lib/prism/node.rb:5533 def type; end end end @@ -8008,13 +8008,13 @@ end # ::Foo::Bar = 1 # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#5558 +# pkg:gem/prism#lib/prism/node.rb:5558 class Prism::ConstantPathWriteNode < ::Prism::Node # Initialize a new ConstantPathWriteNode node. # # @return [ConstantPathWriteNode] a new instance of ConstantPathWriteNode # - # source://prism//lib/prism/node.rb#5560 + # pkg:gem/prism#lib/prism/node.rb:5560 sig do params( source: Prism::Source, @@ -8031,36 +8031,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#5656 + # pkg:gem/prism#lib/prism/node.rb:5656 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5571 + # pkg:gem/prism#lib/prism/node.rb:5571 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5576 + # pkg:gem/prism#lib/prism/node.rb:5576 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#5586 + # pkg:gem/prism#lib/prism/node.rb:5586 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#5581 + # pkg:gem/prism#lib/prism/node.rb:5581 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#5591 + # pkg:gem/prism#lib/prism/node.rb:5591 sig do params( node_id: Integer, @@ -8076,13 +8076,13 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5596 + # pkg:gem/prism#lib/prism/node.rb:5596 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#5599 + # pkg:gem/prism#lib/prism/node.rb:5599 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8091,13 +8091,13 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#5640 + # pkg:gem/prism#lib/prism/node.rb:5640 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#5635 + # pkg:gem/prism#lib/prism/node.rb:5635 sig { returns(String) } def operator; end @@ -8106,14 +8106,14 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # ::ABC = 123 # ^ # - # source://prism//lib/prism/node.rb#5616 + # pkg:gem/prism#lib/prism/node.rb:5616 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#5624 + # pkg:gem/prism#lib/prism/node.rb:5624 def save_operator_loc(repository); end # A node representing the constant path being written to. @@ -8124,13 +8124,13 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # ::Foo = :abc # ^^^^^ # - # source://prism//lib/prism/node.rb#5610 + # pkg:gem/prism#lib/prism/node.rb:5610 sig { returns(Prism::ConstantPathNode) } def target; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5645 + # pkg:gem/prism#lib/prism/node.rb:5645 sig { override.returns(Symbol) } def type; end @@ -8139,14 +8139,14 @@ class Prism::ConstantPathWriteNode < ::Prism::Node # FOO::BAR = :abc # ^^^^ # - # source://prism//lib/prism/node.rb#5632 + # pkg:gem/prism#lib/prism/node.rb:5632 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#5650 + # pkg:gem/prism#lib/prism/node.rb:5650 def type; end end end @@ -8156,49 +8156,49 @@ end # Foo # ^^^ # -# source://prism//lib/prism/node.rb#5668 +# pkg:gem/prism#lib/prism/node.rb:5668 class Prism::ConstantReadNode < ::Prism::Node # Initialize a new ConstantReadNode node. # # @return [ConstantReadNode] a new instance of ConstantReadNode # - # source://prism//lib/prism/node.rb#5670 + # pkg:gem/prism#lib/prism/node.rb:5670 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#5735 + # pkg:gem/prism#lib/prism/node.rb:5735 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5679 + # pkg:gem/prism#lib/prism/node.rb:5679 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5684 + # pkg:gem/prism#lib/prism/node.rb:5684 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#5694 + # pkg:gem/prism#lib/prism/node.rb:5694 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#5689 + # pkg:gem/prism#lib/prism/node.rb:5689 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#5699 + # pkg:gem/prism#lib/prism/node.rb:5699 sig do params( node_id: Integer, @@ -8212,13 +8212,13 @@ class Prism::ConstantReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5704 + # pkg:gem/prism#lib/prism/node.rb:5704 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#5707 + # pkg:gem/prism#lib/prism/node.rb:5707 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8227,20 +8227,20 @@ class Prism::ConstantReadNode < ::Prism::Node # Returns the full name of this constant. For example: "Foo" # - # source://prism//lib/prism/node_ext.rb#142 + # pkg:gem/prism#lib/prism/node_ext.rb:142 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#137 + # pkg:gem/prism#lib/prism/node_ext.rb:137 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism//lib/prism/node.rb#5719 + # pkg:gem/prism#lib/prism/node.rb:5719 sig { override.returns(String) } def inspect; end @@ -8250,20 +8250,20 @@ class Prism::ConstantReadNode < ::Prism::Node # # SOME_CONSTANT # name `:SOME_CONSTANT` # - # source://prism//lib/prism/node.rb#5716 + # pkg:gem/prism#lib/prism/node.rb:5716 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5724 + # pkg:gem/prism#lib/prism/node.rb:5724 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#5729 + # pkg:gem/prism#lib/prism/node.rb:5729 def type; end end end @@ -8273,49 +8273,49 @@ end # Foo, Bar = baz # ^^^ ^^^ # -# source://prism//lib/prism/node.rb#5745 +# pkg:gem/prism#lib/prism/node.rb:5745 class Prism::ConstantTargetNode < ::Prism::Node # Initialize a new ConstantTargetNode node. # # @return [ConstantTargetNode] a new instance of ConstantTargetNode # - # source://prism//lib/prism/node.rb#5747 + # pkg:gem/prism#lib/prism/node.rb:5747 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#5808 + # pkg:gem/prism#lib/prism/node.rb:5808 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5756 + # pkg:gem/prism#lib/prism/node.rb:5756 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5761 + # pkg:gem/prism#lib/prism/node.rb:5761 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#5771 + # pkg:gem/prism#lib/prism/node.rb:5771 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#5766 + # pkg:gem/prism#lib/prism/node.rb:5766 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#5776 + # pkg:gem/prism#lib/prism/node.rb:5776 sig do params( node_id: Integer, @@ -8329,13 +8329,13 @@ class Prism::ConstantTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5781 + # pkg:gem/prism#lib/prism/node.rb:5781 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#5784 + # pkg:gem/prism#lib/prism/node.rb:5784 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8344,39 +8344,39 @@ class Prism::ConstantTargetNode < ::Prism::Node # Returns the full name of this constant. For example: "Foo" # - # source://prism//lib/prism/node_ext.rb#265 + # pkg:gem/prism#lib/prism/node_ext.rb:265 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#260 + # pkg:gem/prism#lib/prism/node_ext.rb:260 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism//lib/prism/node.rb#5792 + # pkg:gem/prism#lib/prism/node.rb:5792 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#5789 + # pkg:gem/prism#lib/prism/node.rb:5789 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5797 + # pkg:gem/prism#lib/prism/node.rb:5797 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#5802 + # pkg:gem/prism#lib/prism/node.rb:5802 def type; end end end @@ -8386,13 +8386,13 @@ end # Foo = 1 # ^^^^^^^ # -# source://prism//lib/prism/node.rb#5818 +# pkg:gem/prism#lib/prism/node.rb:5818 class Prism::ConstantWriteNode < ::Prism::Node # Initialize a new ConstantWriteNode node. # # @return [ConstantWriteNode] a new instance of ConstantWriteNode # - # source://prism//lib/prism/node.rb#5820 + # pkg:gem/prism#lib/prism/node.rb:5820 sig do params( source: Prism::Source, @@ -8410,36 +8410,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#5934 + # pkg:gem/prism#lib/prism/node.rb:5934 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5832 + # pkg:gem/prism#lib/prism/node.rb:5832 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5837 + # pkg:gem/prism#lib/prism/node.rb:5837 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#5847 + # pkg:gem/prism#lib/prism/node.rb:5847 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#5842 + # pkg:gem/prism#lib/prism/node.rb:5842 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#5852 + # pkg:gem/prism#lib/prism/node.rb:5852 sig do params( node_id: Integer, @@ -8456,13 +8456,13 @@ class Prism::ConstantWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5857 + # pkg:gem/prism#lib/prism/node.rb:5857 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#5860 + # pkg:gem/prism#lib/prism/node.rb:5860 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -8471,20 +8471,20 @@ class Prism::ConstantWriteNode < ::Prism::Node # Returns the full name of this constant. For example: "Foo" # - # source://prism//lib/prism/node_ext.rb#155 + # pkg:gem/prism#lib/prism/node_ext.rb:155 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#150 + # pkg:gem/prism#lib/prism/node_ext.rb:150 sig { returns(T::Array[Symbol]) } def full_name_parts; end # def inspect -> String # - # source://prism//lib/prism/node.rb#5918 + # pkg:gem/prism#lib/prism/node.rb:5918 sig { override.returns(String) } def inspect; end @@ -8494,7 +8494,7 @@ class Prism::ConstantWriteNode < ::Prism::Node # # XYZ = 1 # name `:XYZ` # - # source://prism//lib/prism/node.rb#5869 + # pkg:gem/prism#lib/prism/node.rb:5869 sig { returns(Symbol) } def name; end @@ -8503,13 +8503,13 @@ class Prism::ConstantWriteNode < ::Prism::Node # FOO = 1 # ^^^ # - # source://prism//lib/prism/node.rb#5875 + # pkg:gem/prism#lib/prism/node.rb:5875 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#5913 + # pkg:gem/prism#lib/prism/node.rb:5913 sig { returns(String) } def operator; end @@ -8518,25 +8518,25 @@ class Prism::ConstantWriteNode < ::Prism::Node # FOO = :bar # ^ # - # source://prism//lib/prism/node.rb#5900 + # pkg:gem/prism#lib/prism/node.rb:5900 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#5883 + # pkg:gem/prism#lib/prism/node.rb:5883 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#5908 + # pkg:gem/prism#lib/prism/node.rb:5908 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#5923 + # pkg:gem/prism#lib/prism/node.rb:5923 sig { override.returns(Symbol) } def type; end @@ -8548,27 +8548,27 @@ class Prism::ConstantWriteNode < ::Prism::Node # MyClass = Class.new # ^^^^^^^^^ # - # source://prism//lib/prism/node.rb#5894 + # pkg:gem/prism#lib/prism/node.rb:5894 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#5928 + # pkg:gem/prism#lib/prism/node.rb:5928 def type; end end end # Raised when requested to parse as the currently running Ruby version but Prism has no support for it. # -# source://prism//lib/prism.rb#41 +# pkg:gem/prism#lib/prism.rb:41 class Prism::CurrentVersionError < ::ArgumentError # Initialize a new exception for the given ruby version string. # # @return [CurrentVersionError] a new instance of CurrentVersionError # - # source://prism//lib/prism.rb#43 + # pkg:gem/prism#lib/prism.rb:43 def initialize(version); end end @@ -8624,13 +8624,13 @@ end # # This is mostly helpful in the context of generating trees programmatically. # -# source://prism//lib/prism/dsl.rb#64 +# pkg:gem/prism#lib/prism/dsl.rb:64 module Prism::DSL extend ::Prism::DSL # Create a new AliasGlobalVariableNode node. # - # source://prism//lib/prism/dsl.rb#80 + # pkg:gem/prism#lib/prism/dsl.rb:80 sig do params( source: Prism::Source, @@ -8646,7 +8646,7 @@ module Prism::DSL # Create a new AliasMethodNode node. # - # source://prism//lib/prism/dsl.rb#85 + # pkg:gem/prism#lib/prism/dsl.rb:85 sig do params( source: Prism::Source, @@ -8662,7 +8662,7 @@ module Prism::DSL # Create a new AlternationPatternNode node. # - # source://prism//lib/prism/dsl.rb#90 + # pkg:gem/prism#lib/prism/dsl.rb:90 sig do params( source: Prism::Source, @@ -8678,7 +8678,7 @@ module Prism::DSL # Create a new AndNode node. # - # source://prism//lib/prism/dsl.rb#95 + # pkg:gem/prism#lib/prism/dsl.rb:95 sig do params( source: Prism::Source, @@ -8694,7 +8694,7 @@ module Prism::DSL # Create a new ArgumentsNode node. # - # source://prism//lib/prism/dsl.rb#100 + # pkg:gem/prism#lib/prism/dsl.rb:100 sig do params( source: Prism::Source, @@ -8708,13 +8708,13 @@ module Prism::DSL # Retrieve the value of one of the ArgumentsNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#835 + # pkg:gem/prism#lib/prism/dsl.rb:835 sig { params(name: Symbol).returns(Integer) } def arguments_node_flag(name); end # Create a new ArrayNode node. # - # source://prism//lib/prism/dsl.rb#105 + # pkg:gem/prism#lib/prism/dsl.rb:105 sig do params( source: Prism::Source, @@ -8730,13 +8730,13 @@ module Prism::DSL # Retrieve the value of one of the ArrayNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#847 + # pkg:gem/prism#lib/prism/dsl.rb:847 sig { params(name: Symbol).returns(Integer) } def array_node_flag(name); end # Create a new ArrayPatternNode node. # - # source://prism//lib/prism/dsl.rb#110 + # pkg:gem/prism#lib/prism/dsl.rb:110 sig do params( source: Prism::Source, @@ -8755,7 +8755,7 @@ module Prism::DSL # Create a new AssocNode node. # - # source://prism//lib/prism/dsl.rb#115 + # pkg:gem/prism#lib/prism/dsl.rb:115 sig do params( source: Prism::Source, @@ -8771,7 +8771,7 @@ module Prism::DSL # Create a new AssocSplatNode node. # - # source://prism//lib/prism/dsl.rb#120 + # pkg:gem/prism#lib/prism/dsl.rb:120 sig do params( source: Prism::Source, @@ -8786,7 +8786,7 @@ module Prism::DSL # Create a new BackReferenceReadNode node. # - # source://prism//lib/prism/dsl.rb#125 + # pkg:gem/prism#lib/prism/dsl.rb:125 sig do params( source: Prism::Source, @@ -8800,7 +8800,7 @@ module Prism::DSL # Create a new BeginNode node. # - # source://prism//lib/prism/dsl.rb#130 + # pkg:gem/prism#lib/prism/dsl.rb:130 sig do params( source: Prism::Source, @@ -8819,7 +8819,7 @@ module Prism::DSL # Create a new BlockArgumentNode node. # - # source://prism//lib/prism/dsl.rb#135 + # pkg:gem/prism#lib/prism/dsl.rb:135 sig do params( source: Prism::Source, @@ -8834,7 +8834,7 @@ module Prism::DSL # Create a new BlockLocalVariableNode node. # - # source://prism//lib/prism/dsl.rb#140 + # pkg:gem/prism#lib/prism/dsl.rb:140 sig do params( source: Prism::Source, @@ -8848,7 +8848,7 @@ module Prism::DSL # Create a new BlockNode node. # - # source://prism//lib/prism/dsl.rb#145 + # pkg:gem/prism#lib/prism/dsl.rb:145 sig do params( source: Prism::Source, @@ -8866,7 +8866,7 @@ module Prism::DSL # Create a new BlockParameterNode node. # - # source://prism//lib/prism/dsl.rb#150 + # pkg:gem/prism#lib/prism/dsl.rb:150 sig do params( source: Prism::Source, @@ -8882,7 +8882,7 @@ module Prism::DSL # Create a new BlockParametersNode node. # - # source://prism//lib/prism/dsl.rb#155 + # pkg:gem/prism#lib/prism/dsl.rb:155 sig do params( source: Prism::Source, @@ -8899,7 +8899,7 @@ module Prism::DSL # Create a new BreakNode node. # - # source://prism//lib/prism/dsl.rb#160 + # pkg:gem/prism#lib/prism/dsl.rb:160 sig do params( source: Prism::Source, @@ -8914,7 +8914,7 @@ module Prism::DSL # Create a new CallAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#165 + # pkg:gem/prism#lib/prism/dsl.rb:165 sig do params( source: Prism::Source, @@ -8934,7 +8934,7 @@ module Prism::DSL # Create a new CallNode node. # - # source://prism//lib/prism/dsl.rb#170 + # pkg:gem/prism#lib/prism/dsl.rb:170 sig do params( source: Prism::Source, @@ -8956,13 +8956,13 @@ module Prism::DSL # Retrieve the value of one of the CallNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#855 + # pkg:gem/prism#lib/prism/dsl.rb:855 sig { params(name: Symbol).returns(Integer) } def call_node_flag(name); end # Create a new CallOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#175 + # pkg:gem/prism#lib/prism/dsl.rb:175 sig do params( source: Prism::Source, @@ -8983,7 +8983,7 @@ module Prism::DSL # Create a new CallOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#180 + # pkg:gem/prism#lib/prism/dsl.rb:180 sig do params( source: Prism::Source, @@ -9003,7 +9003,7 @@ module Prism::DSL # Create a new CallTargetNode node. # - # source://prism//lib/prism/dsl.rb#185 + # pkg:gem/prism#lib/prism/dsl.rb:185 sig do params( source: Prism::Source, @@ -9020,7 +9020,7 @@ module Prism::DSL # Create a new CapturePatternNode node. # - # source://prism//lib/prism/dsl.rb#190 + # pkg:gem/prism#lib/prism/dsl.rb:190 sig do params( source: Prism::Source, @@ -9036,7 +9036,7 @@ module Prism::DSL # Create a new CaseMatchNode node. # - # source://prism//lib/prism/dsl.rb#195 + # pkg:gem/prism#lib/prism/dsl.rb:195 sig do params( source: Prism::Source, @@ -9054,7 +9054,7 @@ module Prism::DSL # Create a new CaseNode node. # - # source://prism//lib/prism/dsl.rb#200 + # pkg:gem/prism#lib/prism/dsl.rb:200 sig do params( source: Prism::Source, @@ -9072,7 +9072,7 @@ module Prism::DSL # Create a new ClassNode node. # - # source://prism//lib/prism/dsl.rb#205 + # pkg:gem/prism#lib/prism/dsl.rb:205 sig do params( source: Prism::Source, @@ -9093,7 +9093,7 @@ module Prism::DSL # Create a new ClassVariableAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#210 + # pkg:gem/prism#lib/prism/dsl.rb:210 sig do params( source: Prism::Source, @@ -9110,7 +9110,7 @@ module Prism::DSL # Create a new ClassVariableOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#215 + # pkg:gem/prism#lib/prism/dsl.rb:215 sig do params( source: Prism::Source, @@ -9128,7 +9128,7 @@ module Prism::DSL # Create a new ClassVariableOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#220 + # pkg:gem/prism#lib/prism/dsl.rb:220 sig do params( source: Prism::Source, @@ -9145,7 +9145,7 @@ module Prism::DSL # Create a new ClassVariableReadNode node. # - # source://prism//lib/prism/dsl.rb#225 + # pkg:gem/prism#lib/prism/dsl.rb:225 sig do params( source: Prism::Source, @@ -9159,7 +9159,7 @@ module Prism::DSL # Create a new ClassVariableTargetNode node. # - # source://prism//lib/prism/dsl.rb#230 + # pkg:gem/prism#lib/prism/dsl.rb:230 sig do params( source: Prism::Source, @@ -9173,7 +9173,7 @@ module Prism::DSL # Create a new ClassVariableWriteNode node. # - # source://prism//lib/prism/dsl.rb#235 + # pkg:gem/prism#lib/prism/dsl.rb:235 sig do params( source: Prism::Source, @@ -9190,7 +9190,7 @@ module Prism::DSL # Create a new ConstantAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#240 + # pkg:gem/prism#lib/prism/dsl.rb:240 sig do params( source: Prism::Source, @@ -9207,7 +9207,7 @@ module Prism::DSL # Create a new ConstantOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#245 + # pkg:gem/prism#lib/prism/dsl.rb:245 sig do params( source: Prism::Source, @@ -9225,7 +9225,7 @@ module Prism::DSL # Create a new ConstantOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#250 + # pkg:gem/prism#lib/prism/dsl.rb:250 sig do params( source: Prism::Source, @@ -9242,7 +9242,7 @@ module Prism::DSL # Create a new ConstantPathAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#255 + # pkg:gem/prism#lib/prism/dsl.rb:255 sig do params( source: Prism::Source, @@ -9258,7 +9258,7 @@ module Prism::DSL # Create a new ConstantPathNode node. # - # source://prism//lib/prism/dsl.rb#260 + # pkg:gem/prism#lib/prism/dsl.rb:260 sig do params( source: Prism::Source, @@ -9275,7 +9275,7 @@ module Prism::DSL # Create a new ConstantPathOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#265 + # pkg:gem/prism#lib/prism/dsl.rb:265 sig do params( source: Prism::Source, @@ -9292,7 +9292,7 @@ module Prism::DSL # Create a new ConstantPathOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#270 + # pkg:gem/prism#lib/prism/dsl.rb:270 sig do params( source: Prism::Source, @@ -9308,7 +9308,7 @@ module Prism::DSL # Create a new ConstantPathTargetNode node. # - # source://prism//lib/prism/dsl.rb#275 + # pkg:gem/prism#lib/prism/dsl.rb:275 sig do params( source: Prism::Source, @@ -9325,7 +9325,7 @@ module Prism::DSL # Create a new ConstantPathWriteNode node. # - # source://prism//lib/prism/dsl.rb#280 + # pkg:gem/prism#lib/prism/dsl.rb:280 sig do params( source: Prism::Source, @@ -9341,7 +9341,7 @@ module Prism::DSL # Create a new ConstantReadNode node. # - # source://prism//lib/prism/dsl.rb#285 + # pkg:gem/prism#lib/prism/dsl.rb:285 sig do params( source: Prism::Source, @@ -9355,7 +9355,7 @@ module Prism::DSL # Create a new ConstantTargetNode node. # - # source://prism//lib/prism/dsl.rb#290 + # pkg:gem/prism#lib/prism/dsl.rb:290 sig do params( source: Prism::Source, @@ -9369,7 +9369,7 @@ module Prism::DSL # Create a new ConstantWriteNode node. # - # source://prism//lib/prism/dsl.rb#295 + # pkg:gem/prism#lib/prism/dsl.rb:295 sig do params( source: Prism::Source, @@ -9386,7 +9386,7 @@ module Prism::DSL # Create a new DefNode node. # - # source://prism//lib/prism/dsl.rb#300 + # pkg:gem/prism#lib/prism/dsl.rb:300 sig do params( source: Prism::Source, @@ -9411,7 +9411,7 @@ module Prism::DSL # Create a new DefinedNode node. # - # source://prism//lib/prism/dsl.rb#305 + # pkg:gem/prism#lib/prism/dsl.rb:305 sig do params( source: Prism::Source, @@ -9428,7 +9428,7 @@ module Prism::DSL # Create a new ElseNode node. # - # source://prism//lib/prism/dsl.rb#310 + # pkg:gem/prism#lib/prism/dsl.rb:310 sig do params( source: Prism::Source, @@ -9444,7 +9444,7 @@ module Prism::DSL # Create a new EmbeddedStatementsNode node. # - # source://prism//lib/prism/dsl.rb#315 + # pkg:gem/prism#lib/prism/dsl.rb:315 sig do params( source: Prism::Source, @@ -9460,7 +9460,7 @@ module Prism::DSL # Create a new EmbeddedVariableNode node. # - # source://prism//lib/prism/dsl.rb#320 + # pkg:gem/prism#lib/prism/dsl.rb:320 sig do params( source: Prism::Source, @@ -9475,13 +9475,13 @@ module Prism::DSL # Retrieve the value of one of the EncodingFlags flags. # - # source://prism//lib/prism/dsl.rb#866 + # pkg:gem/prism#lib/prism/dsl.rb:866 sig { params(name: Symbol).returns(Integer) } def encoding_flag(name); end # Create a new EnsureNode node. # - # source://prism//lib/prism/dsl.rb#325 + # pkg:gem/prism#lib/prism/dsl.rb:325 sig do params( source: Prism::Source, @@ -9497,7 +9497,7 @@ module Prism::DSL # Create a new FalseNode node. # - # source://prism//lib/prism/dsl.rb#330 + # pkg:gem/prism#lib/prism/dsl.rb:330 sig do params( source: Prism::Source, @@ -9510,7 +9510,7 @@ module Prism::DSL # Create a new FindPatternNode node. # - # source://prism//lib/prism/dsl.rb#335 + # pkg:gem/prism#lib/prism/dsl.rb:335 sig do params( source: Prism::Source, @@ -9529,7 +9529,7 @@ module Prism::DSL # Create a new FlipFlopNode node. # - # source://prism//lib/prism/dsl.rb#340 + # pkg:gem/prism#lib/prism/dsl.rb:340 sig do params( source: Prism::Source, @@ -9545,7 +9545,7 @@ module Prism::DSL # Create a new FloatNode node. # - # source://prism//lib/prism/dsl.rb#345 + # pkg:gem/prism#lib/prism/dsl.rb:345 sig do params( source: Prism::Source, @@ -9559,7 +9559,7 @@ module Prism::DSL # Create a new ForNode node. # - # source://prism//lib/prism/dsl.rb#350 + # pkg:gem/prism#lib/prism/dsl.rb:350 sig do params( source: Prism::Source, @@ -9579,7 +9579,7 @@ module Prism::DSL # Create a new ForwardingArgumentsNode node. # - # source://prism//lib/prism/dsl.rb#355 + # pkg:gem/prism#lib/prism/dsl.rb:355 sig do params( source: Prism::Source, @@ -9592,7 +9592,7 @@ module Prism::DSL # Create a new ForwardingParameterNode node. # - # source://prism//lib/prism/dsl.rb#360 + # pkg:gem/prism#lib/prism/dsl.rb:360 sig do params( source: Prism::Source, @@ -9605,7 +9605,7 @@ module Prism::DSL # Create a new ForwardingSuperNode node. # - # source://prism//lib/prism/dsl.rb#365 + # pkg:gem/prism#lib/prism/dsl.rb:365 sig do params( source: Prism::Source, @@ -9619,7 +9619,7 @@ module Prism::DSL # Create a new GlobalVariableAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#370 + # pkg:gem/prism#lib/prism/dsl.rb:370 sig do params( source: Prism::Source, @@ -9636,7 +9636,7 @@ module Prism::DSL # Create a new GlobalVariableOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#375 + # pkg:gem/prism#lib/prism/dsl.rb:375 sig do params( source: Prism::Source, @@ -9654,7 +9654,7 @@ module Prism::DSL # Create a new GlobalVariableOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#380 + # pkg:gem/prism#lib/prism/dsl.rb:380 sig do params( source: Prism::Source, @@ -9671,7 +9671,7 @@ module Prism::DSL # Create a new GlobalVariableReadNode node. # - # source://prism//lib/prism/dsl.rb#385 + # pkg:gem/prism#lib/prism/dsl.rb:385 sig do params( source: Prism::Source, @@ -9685,7 +9685,7 @@ module Prism::DSL # Create a new GlobalVariableTargetNode node. # - # source://prism//lib/prism/dsl.rb#390 + # pkg:gem/prism#lib/prism/dsl.rb:390 sig do params( source: Prism::Source, @@ -9699,7 +9699,7 @@ module Prism::DSL # Create a new GlobalVariableWriteNode node. # - # source://prism//lib/prism/dsl.rb#395 + # pkg:gem/prism#lib/prism/dsl.rb:395 sig do params( source: Prism::Source, @@ -9716,7 +9716,7 @@ module Prism::DSL # Create a new HashNode node. # - # source://prism//lib/prism/dsl.rb#400 + # pkg:gem/prism#lib/prism/dsl.rb:400 sig do params( source: Prism::Source, @@ -9732,7 +9732,7 @@ module Prism::DSL # Create a new HashPatternNode node. # - # source://prism//lib/prism/dsl.rb#405 + # pkg:gem/prism#lib/prism/dsl.rb:405 sig do params( source: Prism::Source, @@ -9750,7 +9750,7 @@ module Prism::DSL # Create a new IfNode node. # - # source://prism//lib/prism/dsl.rb#410 + # pkg:gem/prism#lib/prism/dsl.rb:410 sig do params( source: Prism::Source, @@ -9769,7 +9769,7 @@ module Prism::DSL # Create a new ImaginaryNode node. # - # source://prism//lib/prism/dsl.rb#415 + # pkg:gem/prism#lib/prism/dsl.rb:415 sig do params( source: Prism::Source, @@ -9783,7 +9783,7 @@ module Prism::DSL # Create a new ImplicitNode node. # - # source://prism//lib/prism/dsl.rb#420 + # pkg:gem/prism#lib/prism/dsl.rb:420 sig do params( source: Prism::Source, @@ -9797,7 +9797,7 @@ module Prism::DSL # Create a new ImplicitRestNode node. # - # source://prism//lib/prism/dsl.rb#425 + # pkg:gem/prism#lib/prism/dsl.rb:425 sig do params( source: Prism::Source, @@ -9810,7 +9810,7 @@ module Prism::DSL # Create a new InNode node. # - # source://prism//lib/prism/dsl.rb#430 + # pkg:gem/prism#lib/prism/dsl.rb:430 sig do params( source: Prism::Source, @@ -9827,7 +9827,7 @@ module Prism::DSL # Create a new IndexAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#435 + # pkg:gem/prism#lib/prism/dsl.rb:435 sig do params( source: Prism::Source, @@ -9848,7 +9848,7 @@ module Prism::DSL # Create a new IndexOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#440 + # pkg:gem/prism#lib/prism/dsl.rb:440 sig do params( source: Prism::Source, @@ -9870,7 +9870,7 @@ module Prism::DSL # Create a new IndexOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#445 + # pkg:gem/prism#lib/prism/dsl.rb:445 sig do params( source: Prism::Source, @@ -9891,7 +9891,7 @@ module Prism::DSL # Create a new IndexTargetNode node. # - # source://prism//lib/prism/dsl.rb#450 + # pkg:gem/prism#lib/prism/dsl.rb:450 sig do params( source: Prism::Source, @@ -9909,7 +9909,7 @@ module Prism::DSL # Create a new InstanceVariableAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#455 + # pkg:gem/prism#lib/prism/dsl.rb:455 sig do params( source: Prism::Source, @@ -9926,7 +9926,7 @@ module Prism::DSL # Create a new InstanceVariableOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#460 + # pkg:gem/prism#lib/prism/dsl.rb:460 sig do params( source: Prism::Source, @@ -9944,7 +9944,7 @@ module Prism::DSL # Create a new InstanceVariableOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#465 + # pkg:gem/prism#lib/prism/dsl.rb:465 sig do params( source: Prism::Source, @@ -9961,7 +9961,7 @@ module Prism::DSL # Create a new InstanceVariableReadNode node. # - # source://prism//lib/prism/dsl.rb#470 + # pkg:gem/prism#lib/prism/dsl.rb:470 sig do params( source: Prism::Source, @@ -9975,7 +9975,7 @@ module Prism::DSL # Create a new InstanceVariableTargetNode node. # - # source://prism//lib/prism/dsl.rb#475 + # pkg:gem/prism#lib/prism/dsl.rb:475 sig do params( source: Prism::Source, @@ -9989,7 +9989,7 @@ module Prism::DSL # Create a new InstanceVariableWriteNode node. # - # source://prism//lib/prism/dsl.rb#480 + # pkg:gem/prism#lib/prism/dsl.rb:480 sig do params( source: Prism::Source, @@ -10006,13 +10006,13 @@ module Prism::DSL # Retrieve the value of one of the IntegerBaseFlags flags. # - # source://prism//lib/prism/dsl.rb#875 + # pkg:gem/prism#lib/prism/dsl.rb:875 sig { params(name: Symbol).returns(Integer) } def integer_base_flag(name); end # Create a new IntegerNode node. # - # source://prism//lib/prism/dsl.rb#485 + # pkg:gem/prism#lib/prism/dsl.rb:485 sig do params( source: Prism::Source, @@ -10026,7 +10026,7 @@ module Prism::DSL # Create a new InterpolatedMatchLastLineNode node. # - # source://prism//lib/prism/dsl.rb#490 + # pkg:gem/prism#lib/prism/dsl.rb:490 sig do params( source: Prism::Source, @@ -10042,7 +10042,7 @@ module Prism::DSL # Create a new InterpolatedRegularExpressionNode node. # - # source://prism//lib/prism/dsl.rb#495 + # pkg:gem/prism#lib/prism/dsl.rb:495 sig do params( source: Prism::Source, @@ -10058,7 +10058,7 @@ module Prism::DSL # Create a new InterpolatedStringNode node. # - # source://prism//lib/prism/dsl.rb#500 + # pkg:gem/prism#lib/prism/dsl.rb:500 sig do params( source: Prism::Source, @@ -10074,13 +10074,13 @@ module Prism::DSL # Retrieve the value of one of the InterpolatedStringNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#886 + # pkg:gem/prism#lib/prism/dsl.rb:886 sig { params(name: Symbol).returns(Integer) } def interpolated_string_node_flag(name); end # Create a new InterpolatedSymbolNode node. # - # source://prism//lib/prism/dsl.rb#505 + # pkg:gem/prism#lib/prism/dsl.rb:505 sig do params( source: Prism::Source, @@ -10096,7 +10096,7 @@ module Prism::DSL # Create a new InterpolatedXStringNode node. # - # source://prism//lib/prism/dsl.rb#510 + # pkg:gem/prism#lib/prism/dsl.rb:510 sig do params( source: Prism::Source, @@ -10112,7 +10112,7 @@ module Prism::DSL # Create a new ItLocalVariableReadNode node. # - # source://prism//lib/prism/dsl.rb#515 + # pkg:gem/prism#lib/prism/dsl.rb:515 sig do params( source: Prism::Source, @@ -10125,7 +10125,7 @@ module Prism::DSL # Create a new ItParametersNode node. # - # source://prism//lib/prism/dsl.rb#520 + # pkg:gem/prism#lib/prism/dsl.rb:520 sig do params( source: Prism::Source, @@ -10138,7 +10138,7 @@ module Prism::DSL # Create a new KeywordHashNode node. # - # source://prism//lib/prism/dsl.rb#525 + # pkg:gem/prism#lib/prism/dsl.rb:525 sig do params( source: Prism::Source, @@ -10152,13 +10152,13 @@ module Prism::DSL # Retrieve the value of one of the KeywordHashNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#895 + # pkg:gem/prism#lib/prism/dsl.rb:895 sig { params(name: Symbol).returns(Integer) } def keyword_hash_node_flag(name); end # Create a new KeywordRestParameterNode node. # - # source://prism//lib/prism/dsl.rb#530 + # pkg:gem/prism#lib/prism/dsl.rb:530 sig do params( source: Prism::Source, @@ -10174,7 +10174,7 @@ module Prism::DSL # Create a new LambdaNode node. # - # source://prism//lib/prism/dsl.rb#535 + # pkg:gem/prism#lib/prism/dsl.rb:535 sig do params( source: Prism::Source, @@ -10193,7 +10193,7 @@ module Prism::DSL # Create a new LocalVariableAndWriteNode node. # - # source://prism//lib/prism/dsl.rb#540 + # pkg:gem/prism#lib/prism/dsl.rb:540 sig do params( source: Prism::Source, @@ -10211,7 +10211,7 @@ module Prism::DSL # Create a new LocalVariableOperatorWriteNode node. # - # source://prism//lib/prism/dsl.rb#545 + # pkg:gem/prism#lib/prism/dsl.rb:545 sig do params( source: Prism::Source, @@ -10230,7 +10230,7 @@ module Prism::DSL # Create a new LocalVariableOrWriteNode node. # - # source://prism//lib/prism/dsl.rb#550 + # pkg:gem/prism#lib/prism/dsl.rb:550 sig do params( source: Prism::Source, @@ -10248,7 +10248,7 @@ module Prism::DSL # Create a new LocalVariableReadNode node. # - # source://prism//lib/prism/dsl.rb#555 + # pkg:gem/prism#lib/prism/dsl.rb:555 sig do params( source: Prism::Source, @@ -10263,7 +10263,7 @@ module Prism::DSL # Create a new LocalVariableTargetNode node. # - # source://prism//lib/prism/dsl.rb#560 + # pkg:gem/prism#lib/prism/dsl.rb:560 sig do params( source: Prism::Source, @@ -10278,7 +10278,7 @@ module Prism::DSL # Create a new LocalVariableWriteNode node. # - # source://prism//lib/prism/dsl.rb#565 + # pkg:gem/prism#lib/prism/dsl.rb:565 sig do params( source: Prism::Source, @@ -10296,19 +10296,19 @@ module Prism::DSL # Create a new Location object. # - # source://prism//lib/prism/dsl.rb#75 + # pkg:gem/prism#lib/prism/dsl.rb:75 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#903 + # pkg:gem/prism#lib/prism/dsl.rb:903 sig { params(name: Symbol).returns(Integer) } def loop_flag(name); end # Create a new MatchLastLineNode node. # - # source://prism//lib/prism/dsl.rb#570 + # pkg:gem/prism#lib/prism/dsl.rb:570 sig do params( source: Prism::Source, @@ -10325,7 +10325,7 @@ module Prism::DSL # Create a new MatchPredicateNode node. # - # source://prism//lib/prism/dsl.rb#575 + # pkg:gem/prism#lib/prism/dsl.rb:575 sig do params( source: Prism::Source, @@ -10341,7 +10341,7 @@ module Prism::DSL # Create a new MatchRequiredNode node. # - # source://prism//lib/prism/dsl.rb#580 + # pkg:gem/prism#lib/prism/dsl.rb:580 sig do params( source: Prism::Source, @@ -10357,7 +10357,7 @@ module Prism::DSL # Create a new MatchWriteNode node. # - # source://prism//lib/prism/dsl.rb#585 + # pkg:gem/prism#lib/prism/dsl.rb:585 sig do params( source: Prism::Source, @@ -10372,7 +10372,7 @@ module Prism::DSL # Create a new MissingNode node. # - # source://prism//lib/prism/dsl.rb#590 + # pkg:gem/prism#lib/prism/dsl.rb:590 sig do params( source: Prism::Source, @@ -10385,7 +10385,7 @@ module Prism::DSL # Create a new ModuleNode node. # - # source://prism//lib/prism/dsl.rb#595 + # pkg:gem/prism#lib/prism/dsl.rb:595 sig do params( source: Prism::Source, @@ -10404,7 +10404,7 @@ module Prism::DSL # Create a new MultiTargetNode node. # - # source://prism//lib/prism/dsl.rb#600 + # pkg:gem/prism#lib/prism/dsl.rb:600 sig do params( source: Prism::Source, @@ -10422,7 +10422,7 @@ module Prism::DSL # Create a new MultiWriteNode node. # - # source://prism//lib/prism/dsl.rb#605 + # pkg:gem/prism#lib/prism/dsl.rb:605 sig do params( source: Prism::Source, @@ -10442,7 +10442,7 @@ module Prism::DSL # Create a new NextNode node. # - # source://prism//lib/prism/dsl.rb#610 + # pkg:gem/prism#lib/prism/dsl.rb:610 sig do params( source: Prism::Source, @@ -10457,7 +10457,7 @@ module Prism::DSL # Create a new NilNode node. # - # source://prism//lib/prism/dsl.rb#615 + # pkg:gem/prism#lib/prism/dsl.rb:615 sig do params( source: Prism::Source, @@ -10470,7 +10470,7 @@ module Prism::DSL # Create a new NoKeywordsParameterNode node. # - # source://prism//lib/prism/dsl.rb#620 + # pkg:gem/prism#lib/prism/dsl.rb:620 sig do params( source: Prism::Source, @@ -10485,7 +10485,7 @@ module Prism::DSL # Create a new NumberedParametersNode node. # - # source://prism//lib/prism/dsl.rb#625 + # pkg:gem/prism#lib/prism/dsl.rb:625 sig do params( source: Prism::Source, @@ -10499,7 +10499,7 @@ module Prism::DSL # Create a new NumberedReferenceReadNode node. # - # source://prism//lib/prism/dsl.rb#630 + # pkg:gem/prism#lib/prism/dsl.rb:630 sig do params( source: Prism::Source, @@ -10513,7 +10513,7 @@ module Prism::DSL # Create a new OptionalKeywordParameterNode node. # - # source://prism//lib/prism/dsl.rb#635 + # pkg:gem/prism#lib/prism/dsl.rb:635 sig do params( source: Prism::Source, @@ -10529,7 +10529,7 @@ module Prism::DSL # Create a new OptionalParameterNode node. # - # source://prism//lib/prism/dsl.rb#640 + # pkg:gem/prism#lib/prism/dsl.rb:640 sig do params( source: Prism::Source, @@ -10546,7 +10546,7 @@ module Prism::DSL # Create a new OrNode node. # - # source://prism//lib/prism/dsl.rb#645 + # pkg:gem/prism#lib/prism/dsl.rb:645 sig do params( source: Prism::Source, @@ -10562,13 +10562,13 @@ module Prism::DSL # Retrieve the value of one of the ParameterFlags flags. # - # source://prism//lib/prism/dsl.rb#911 + # pkg:gem/prism#lib/prism/dsl.rb:911 sig { params(name: Symbol).returns(Integer) } def parameter_flag(name); end # Create a new ParametersNode node. # - # source://prism//lib/prism/dsl.rb#650 + # pkg:gem/prism#lib/prism/dsl.rb:650 sig do params( source: Prism::Source, @@ -10588,7 +10588,7 @@ module Prism::DSL # Create a new ParenthesesNode node. # - # source://prism//lib/prism/dsl.rb#655 + # pkg:gem/prism#lib/prism/dsl.rb:655 sig do params( source: Prism::Source, @@ -10604,13 +10604,13 @@ module Prism::DSL # Retrieve the value of one of the ParenthesesNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#919 + # pkg:gem/prism#lib/prism/dsl.rb:919 sig { params(name: Symbol).returns(Integer) } def parentheses_node_flag(name); end # Create a new PinnedExpressionNode node. # - # source://prism//lib/prism/dsl.rb#660 + # pkg:gem/prism#lib/prism/dsl.rb:660 sig do params( source: Prism::Source, @@ -10627,7 +10627,7 @@ module Prism::DSL # Create a new PinnedVariableNode node. # - # source://prism//lib/prism/dsl.rb#665 + # pkg:gem/prism#lib/prism/dsl.rb:665 sig do params( source: Prism::Source, @@ -10642,7 +10642,7 @@ module Prism::DSL # Create a new PostExecutionNode node. # - # source://prism//lib/prism/dsl.rb#670 + # pkg:gem/prism#lib/prism/dsl.rb:670 sig do params( source: Prism::Source, @@ -10659,7 +10659,7 @@ module Prism::DSL # Create a new PreExecutionNode node. # - # source://prism//lib/prism/dsl.rb#675 + # pkg:gem/prism#lib/prism/dsl.rb:675 sig do params( source: Prism::Source, @@ -10676,7 +10676,7 @@ module Prism::DSL # Create a new ProgramNode node. # - # source://prism//lib/prism/dsl.rb#680 + # pkg:gem/prism#lib/prism/dsl.rb:680 sig do params( source: Prism::Source, @@ -10691,13 +10691,13 @@ module Prism::DSL # Retrieve the value of one of the RangeFlags flags. # - # source://prism//lib/prism/dsl.rb#927 + # pkg:gem/prism#lib/prism/dsl.rb:927 sig { params(name: Symbol).returns(Integer) } def range_flag(name); end # Create a new RangeNode node. # - # source://prism//lib/prism/dsl.rb#685 + # pkg:gem/prism#lib/prism/dsl.rb:685 sig do params( source: Prism::Source, @@ -10713,7 +10713,7 @@ module Prism::DSL # Create a new RationalNode node. # - # source://prism//lib/prism/dsl.rb#690 + # pkg:gem/prism#lib/prism/dsl.rb:690 sig do params( source: Prism::Source, @@ -10728,7 +10728,7 @@ module Prism::DSL # Create a new RedoNode node. # - # source://prism//lib/prism/dsl.rb#695 + # pkg:gem/prism#lib/prism/dsl.rb:695 sig do params( source: Prism::Source, @@ -10741,13 +10741,13 @@ module Prism::DSL # Retrieve the value of one of the RegularExpressionFlags flags. # - # source://prism//lib/prism/dsl.rb#935 + # pkg:gem/prism#lib/prism/dsl.rb:935 sig { params(name: Symbol).returns(Integer) } def regular_expression_flag(name); end # Create a new RegularExpressionNode node. # - # source://prism//lib/prism/dsl.rb#700 + # pkg:gem/prism#lib/prism/dsl.rb:700 sig do params( source: Prism::Source, @@ -10764,7 +10764,7 @@ module Prism::DSL # Create a new RequiredKeywordParameterNode node. # - # source://prism//lib/prism/dsl.rb#705 + # pkg:gem/prism#lib/prism/dsl.rb:705 sig do params( source: Prism::Source, @@ -10779,7 +10779,7 @@ module Prism::DSL # Create a new RequiredParameterNode node. # - # source://prism//lib/prism/dsl.rb#710 + # pkg:gem/prism#lib/prism/dsl.rb:710 sig do params( source: Prism::Source, @@ -10793,7 +10793,7 @@ module Prism::DSL # Create a new RescueModifierNode node. # - # source://prism//lib/prism/dsl.rb#715 + # pkg:gem/prism#lib/prism/dsl.rb:715 sig do params( source: Prism::Source, @@ -10809,7 +10809,7 @@ module Prism::DSL # Create a new RescueNode node. # - # source://prism//lib/prism/dsl.rb#720 + # pkg:gem/prism#lib/prism/dsl.rb:720 sig do params( source: Prism::Source, @@ -10829,7 +10829,7 @@ module Prism::DSL # Create a new RestParameterNode node. # - # source://prism//lib/prism/dsl.rb#725 + # pkg:gem/prism#lib/prism/dsl.rb:725 sig do params( source: Prism::Source, @@ -10845,7 +10845,7 @@ module Prism::DSL # Create a new RetryNode node. # - # source://prism//lib/prism/dsl.rb#730 + # pkg:gem/prism#lib/prism/dsl.rb:730 sig do params( source: Prism::Source, @@ -10858,7 +10858,7 @@ module Prism::DSL # Create a new ReturnNode node. # - # source://prism//lib/prism/dsl.rb#735 + # pkg:gem/prism#lib/prism/dsl.rb:735 sig do params( source: Prism::Source, @@ -10873,7 +10873,7 @@ module Prism::DSL # Create a new SelfNode node. # - # source://prism//lib/prism/dsl.rb#740 + # pkg:gem/prism#lib/prism/dsl.rb:740 sig do params( source: Prism::Source, @@ -10886,7 +10886,7 @@ module Prism::DSL # Create a new ShareableConstantNode node. # - # source://prism//lib/prism/dsl.rb#745 + # pkg:gem/prism#lib/prism/dsl.rb:745 sig do params( source: Prism::Source, @@ -10900,13 +10900,13 @@ module Prism::DSL # Retrieve the value of one of the ShareableConstantNodeFlags flags. # - # source://prism//lib/prism/dsl.rb#953 + # pkg:gem/prism#lib/prism/dsl.rb:953 sig { params(name: Symbol).returns(Integer) } def shareable_constant_node_flag(name); end # Create a new SingletonClassNode node. # - # source://prism//lib/prism/dsl.rb#750 + # pkg:gem/prism#lib/prism/dsl.rb:750 sig do params( source: Prism::Source, @@ -10925,13 +10925,13 @@ module Prism::DSL # Create a new Source object. # - # source://prism//lib/prism/dsl.rb#70 + # pkg:gem/prism#lib/prism/dsl.rb:70 sig { params(string: String).returns(Prism::Source) } def source(string); end # Create a new SourceEncodingNode node. # - # source://prism//lib/prism/dsl.rb#755 + # pkg:gem/prism#lib/prism/dsl.rb:755 sig do params( source: Prism::Source, @@ -10944,7 +10944,7 @@ module Prism::DSL # Create a new SourceFileNode node. # - # source://prism//lib/prism/dsl.rb#760 + # pkg:gem/prism#lib/prism/dsl.rb:760 sig do params( source: Prism::Source, @@ -10958,7 +10958,7 @@ module Prism::DSL # Create a new SourceLineNode node. # - # source://prism//lib/prism/dsl.rb#765 + # pkg:gem/prism#lib/prism/dsl.rb:765 sig do params( source: Prism::Source, @@ -10971,7 +10971,7 @@ module Prism::DSL # Create a new SplatNode node. # - # source://prism//lib/prism/dsl.rb#770 + # pkg:gem/prism#lib/prism/dsl.rb:770 sig do params( source: Prism::Source, @@ -10986,7 +10986,7 @@ module Prism::DSL # Create a new StatementsNode node. # - # source://prism//lib/prism/dsl.rb#775 + # pkg:gem/prism#lib/prism/dsl.rb:775 sig do params( source: Prism::Source, @@ -11000,13 +11000,13 @@ module Prism::DSL # Retrieve the value of one of the StringFlags flags. # - # source://prism//lib/prism/dsl.rb#963 + # pkg:gem/prism#lib/prism/dsl.rb:963 sig { params(name: Symbol).returns(Integer) } def string_flag(name); end # Create a new StringNode node. # - # source://prism//lib/prism/dsl.rb#780 + # pkg:gem/prism#lib/prism/dsl.rb:780 sig do params( source: Prism::Source, @@ -11023,7 +11023,7 @@ module Prism::DSL # Create a new SuperNode node. # - # source://prism//lib/prism/dsl.rb#785 + # pkg:gem/prism#lib/prism/dsl.rb:785 sig do params( source: Prism::Source, @@ -11041,13 +11041,13 @@ module Prism::DSL # Retrieve the value of one of the SymbolFlags flags. # - # source://prism//lib/prism/dsl.rb#974 + # pkg:gem/prism#lib/prism/dsl.rb:974 sig { params(name: Symbol).returns(Integer) } def symbol_flag(name); end # Create a new SymbolNode node. # - # source://prism//lib/prism/dsl.rb#790 + # pkg:gem/prism#lib/prism/dsl.rb:790 sig do params( source: Prism::Source, @@ -11064,7 +11064,7 @@ module Prism::DSL # Create a new TrueNode node. # - # source://prism//lib/prism/dsl.rb#795 + # pkg:gem/prism#lib/prism/dsl.rb:795 sig do params( source: Prism::Source, @@ -11077,7 +11077,7 @@ module Prism::DSL # Create a new UndefNode node. # - # source://prism//lib/prism/dsl.rb#800 + # pkg:gem/prism#lib/prism/dsl.rb:800 sig do params( source: Prism::Source, @@ -11092,7 +11092,7 @@ module Prism::DSL # Create a new UnlessNode node. # - # source://prism//lib/prism/dsl.rb#805 + # pkg:gem/prism#lib/prism/dsl.rb:805 sig do params( source: Prism::Source, @@ -11111,7 +11111,7 @@ module Prism::DSL # Create a new UntilNode node. # - # source://prism//lib/prism/dsl.rb#810 + # pkg:gem/prism#lib/prism/dsl.rb:810 sig do params( source: Prism::Source, @@ -11129,7 +11129,7 @@ module Prism::DSL # Create a new WhenNode node. # - # source://prism//lib/prism/dsl.rb#815 + # pkg:gem/prism#lib/prism/dsl.rb:815 sig do params( source: Prism::Source, @@ -11146,7 +11146,7 @@ module Prism::DSL # Create a new WhileNode node. # - # source://prism//lib/prism/dsl.rb#820 + # pkg:gem/prism#lib/prism/dsl.rb:820 sig do params( source: Prism::Source, @@ -11164,7 +11164,7 @@ module Prism::DSL # Create a new XStringNode node. # - # source://prism//lib/prism/dsl.rb#825 + # pkg:gem/prism#lib/prism/dsl.rb:825 sig do params( source: Prism::Source, @@ -11181,7 +11181,7 @@ module Prism::DSL # Create a new YieldNode node. # - # source://prism//lib/prism/dsl.rb#830 + # pkg:gem/prism#lib/prism/dsl.rb:830 sig do params( source: Prism::Source, @@ -11201,21 +11201,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#993 + # pkg:gem/prism#lib/prism/dsl.rb:993 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#999 + # pkg:gem/prism#lib/prism/dsl.rb:999 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#987 + # pkg:gem/prism#lib/prism/dsl.rb:987 sig { returns(Prism::Source) } def default_source; end end @@ -11226,13 +11226,13 @@ end # end # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#5948 +# pkg:gem/prism#lib/prism/node.rb:5948 class Prism::DefNode < ::Prism::Node # Initialize a new DefNode node. # # @return [DefNode] a new instance of DefNode # - # source://prism//lib/prism/node.rb#5950 + # pkg:gem/prism#lib/prism/node.rb:5950 sig do params( source: Prism::Source, @@ -11258,42 +11258,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#6189 + # pkg:gem/prism#lib/prism/node.rb:6189 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#5970 + # pkg:gem/prism#lib/prism/node.rb:5970 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#6029 + # pkg:gem/prism#lib/prism/node.rb:6029 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5975 + # pkg:gem/prism#lib/prism/node.rb:5975 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#5989 + # pkg:gem/prism#lib/prism/node.rb:5989 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#5980 + # pkg:gem/prism#lib/prism/node.rb:5980 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#5994 + # pkg:gem/prism#lib/prism/node.rb:5994 sig do params( node_id: Integer, @@ -11318,49 +11318,49 @@ class Prism::DefNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#5999 + # pkg:gem/prism#lib/prism/node.rb:5999 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#6002 + # pkg:gem/prism#lib/prism/node.rb:6002 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#6143 + # pkg:gem/prism#lib/prism/node.rb:6143 sig { returns(String) } def def_keyword; end # attr_reader def_keyword_loc: Location # - # source://prism//lib/prism/node.rb#6035 + # pkg:gem/prism#lib/prism/node.rb:6035 sig { returns(Prism::Location) } def def_keyword_loc; end # def end_keyword: () -> String? # - # source://prism//lib/prism/node.rb#6168 + # pkg:gem/prism#lib/prism/node.rb:6168 sig { returns(T.nilable(String)) } def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://prism//lib/prism/node.rb#6124 + # pkg:gem/prism#lib/prism/node.rb:6124 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end # def equal: () -> String? # - # source://prism//lib/prism/node.rb#6163 + # pkg:gem/prism#lib/prism/node.rb:6163 sig { returns(T.nilable(String)) } def equal; end # attr_reader equal_loc: Location? # - # source://prism//lib/prism/node.rb#6105 + # pkg:gem/prism#lib/prism/node.rb:6105 sig { returns(T.nilable(Prism::Location)) } def equal_loc; end @@ -11369,128 +11369,128 @@ class Prism::DefNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6173 + # pkg:gem/prism#lib/prism/node.rb:6173 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism//lib/prism/node.rb#6032 + # pkg:gem/prism#lib/prism/node.rb:6032 sig { returns(T::Array[Symbol]) } def locals; end # def lparen: () -> String? # - # source://prism//lib/prism/node.rb#6153 + # pkg:gem/prism#lib/prism/node.rb:6153 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism//lib/prism/node.rb#6067 + # pkg:gem/prism#lib/prism/node.rb:6067 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#6007 + # pkg:gem/prism#lib/prism/node.rb:6007 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#6010 + # pkg:gem/prism#lib/prism/node.rb:6010 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String? # - # source://prism//lib/prism/node.rb#6148 + # pkg:gem/prism#lib/prism/node.rb:6148 sig { returns(T.nilable(String)) } def operator; end # attr_reader operator_loc: Location? # - # source://prism//lib/prism/node.rb#6048 + # pkg:gem/prism#lib/prism/node.rb:6048 sig { returns(T.nilable(Prism::Location)) } def operator_loc; end # attr_reader parameters: ParametersNode? # - # source://prism//lib/prism/node.rb#6026 + # pkg:gem/prism#lib/prism/node.rb:6026 sig { returns(T.nilable(Prism::ParametersNode)) } def parameters; end # attr_reader receiver: Prism::node? # - # source://prism//lib/prism/node.rb#6023 + # pkg:gem/prism#lib/prism/node.rb:6023 sig { returns(T.nilable(Prism::Node)) } def receiver; end # def rparen: () -> String? # - # source://prism//lib/prism/node.rb#6158 + # pkg:gem/prism#lib/prism/node.rb:6158 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism//lib/prism/node.rb#6086 + # pkg:gem/prism#lib/prism/node.rb:6086 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#6043 + # pkg:gem/prism#lib/prism/node.rb:6043 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#6138 + # pkg:gem/prism#lib/prism/node.rb:6138 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#6119 + # pkg:gem/prism#lib/prism/node.rb:6119 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#6081 + # pkg:gem/prism#lib/prism/node.rb:6081 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#6018 + # pkg:gem/prism#lib/prism/node.rb:6018 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#6062 + # pkg:gem/prism#lib/prism/node.rb:6062 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#6100 + # pkg:gem/prism#lib/prism/node.rb:6100 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#6178 + # pkg:gem/prism#lib/prism/node.rb:6178 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#6183 + # pkg:gem/prism#lib/prism/node.rb:6183 def type; end end end @@ -11500,13 +11500,13 @@ end # defined?(a) # ^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#6211 +# pkg:gem/prism#lib/prism/node.rb:6211 class Prism::DefinedNode < ::Prism::Node # Initialize a new DefinedNode node. # # @return [DefinedNode] a new instance of DefinedNode # - # source://prism//lib/prism/node.rb#6213 + # pkg:gem/prism#lib/prism/node.rb:6213 sig do params( source: Prism::Source, @@ -11524,36 +11524,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#6343 + # pkg:gem/prism#lib/prism/node.rb:6343 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6225 + # pkg:gem/prism#lib/prism/node.rb:6225 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6230 + # pkg:gem/prism#lib/prism/node.rb:6230 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#6240 + # pkg:gem/prism#lib/prism/node.rb:6240 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#6235 + # pkg:gem/prism#lib/prism/node.rb:6235 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#6245 + # pkg:gem/prism#lib/prism/node.rb:6245 sig do params( node_id: Integer, @@ -11570,13 +11570,13 @@ class Prism::DefinedNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6250 + # pkg:gem/prism#lib/prism/node.rb:6250 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#6253 + # pkg:gem/prism#lib/prism/node.rb:6253 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -11585,128 +11585,128 @@ class Prism::DefinedNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6327 + # pkg:gem/prism#lib/prism/node.rb:6327 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#6322 + # pkg:gem/prism#lib/prism/node.rb:6322 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#6299 + # pkg:gem/prism#lib/prism/node.rb:6299 sig { returns(Prism::Location) } def keyword_loc; end # def lparen: () -> String? # - # source://prism//lib/prism/node.rb#6312 + # pkg:gem/prism#lib/prism/node.rb:6312 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism//lib/prism/node.rb#6258 + # pkg:gem/prism#lib/prism/node.rb:6258 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def rparen: () -> String? # - # source://prism//lib/prism/node.rb#6317 + # pkg:gem/prism#lib/prism/node.rb:6317 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism//lib/prism/node.rb#6280 + # pkg:gem/prism#lib/prism/node.rb:6280 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#6307 + # pkg:gem/prism#lib/prism/node.rb:6307 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#6272 + # pkg:gem/prism#lib/prism/node.rb:6272 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#6294 + # pkg:gem/prism#lib/prism/node.rb:6294 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#6332 + # pkg:gem/prism#lib/prism/node.rb:6332 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#6277 + # pkg:gem/prism#lib/prism/node.rb:6277 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#6337 + # pkg:gem/prism#lib/prism/node.rb:6337 def type; end end end -# source://prism//lib/prism/desugar_compiler.rb#5 +# pkg:gem/prism#lib/prism/desugar_compiler.rb:5 class Prism::DesugarAndWriteNode include ::Prism::DSL # @return [DesugarAndWriteNode] a new instance of DesugarAndWriteNode # - # source://prism//lib/prism/desugar_compiler.rb#10 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:10 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism//lib/prism/desugar_compiler.rb#8 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:8 def arguments; end # Desugar `x &&= y` to `x && x = y` # - # source://prism//lib/prism/desugar_compiler.rb#19 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:19 def compile; end # Returns the value of attribute default_source. # - # source://prism//lib/prism/desugar_compiler.rb#8 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:8 def default_source; end # Returns the value of attribute node. # - # source://prism//lib/prism/desugar_compiler.rb#8 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:8 def node; end # Returns the value of attribute read_class. # - # source://prism//lib/prism/desugar_compiler.rb#8 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:8 def read_class; end # Returns the value of attribute write_class. # - # source://prism//lib/prism/desugar_compiler.rb#8 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:8 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#256 +# pkg:gem/prism#lib/prism/desugar_compiler.rb:256 class Prism::DesugarCompiler < ::Prism::MutationCompiler # @@foo &&= bar # @@ -11714,7 +11714,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # @@foo && @@foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#262 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:262 def visit_class_variable_and_write_node(node); end # @@foo += bar @@ -11723,7 +11723,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # @@foo = @@foo + bar # - # source://prism//lib/prism/desugar_compiler.rb#280 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:280 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar @@ -11732,7 +11732,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # defined?(@@foo) ? @@foo : @@foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#271 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:271 def visit_class_variable_or_write_node(node); end # Foo &&= bar @@ -11741,7 +11741,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # Foo && Foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#289 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:289 def visit_constant_and_write_node(node); end # Foo += bar @@ -11750,7 +11750,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # Foo = Foo + bar # - # source://prism//lib/prism/desugar_compiler.rb#307 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:307 def visit_constant_operator_write_node(node); end # Foo ||= bar @@ -11759,7 +11759,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # defined?(Foo) ? Foo : Foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#298 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:298 def visit_constant_or_write_node(node); end # $foo &&= bar @@ -11768,7 +11768,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # $foo && $foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#316 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:316 def visit_global_variable_and_write_node(node); end # $foo += bar @@ -11777,7 +11777,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # $foo = $foo + bar # - # source://prism//lib/prism/desugar_compiler.rb#334 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:334 def visit_global_variable_operator_write_node(node); end # $foo ||= bar @@ -11786,22 +11786,22 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # defined?($foo) ? $foo : $foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#325 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:325 def visit_global_variable_or_write_node(node); end # becomes # - # source://prism//lib/prism/desugar_compiler.rb#343 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:343 def visit_instance_variable_and_write_node(node); end # becomes # - # source://prism//lib/prism/desugar_compiler.rb#361 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:361 def visit_instance_variable_operator_write_node(node); end # becomes # - # source://prism//lib/prism/desugar_compiler.rb#352 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:352 def visit_instance_variable_or_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#370 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:370 def visit_local_variable_and_write_node(node); end # foo += bar @@ -11819,7 +11819,7 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # foo = foo + bar # - # source://prism//lib/prism/desugar_compiler.rb#388 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:388 def visit_local_variable_operator_write_node(node); end # foo ||= bar @@ -11828,127 +11828,127 @@ class Prism::DesugarCompiler < ::Prism::MutationCompiler # # foo || foo = bar # - # source://prism//lib/prism/desugar_compiler.rb#379 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:379 def visit_local_variable_or_write_node(node); end end -# source://prism//lib/prism/desugar_compiler.rb#87 +# pkg:gem/prism#lib/prism/desugar_compiler.rb:87 class Prism::DesugarOperatorWriteNode include ::Prism::DSL # @return [DesugarOperatorWriteNode] a new instance of DesugarOperatorWriteNode # - # source://prism//lib/prism/desugar_compiler.rb#92 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:92 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism//lib/prism/desugar_compiler.rb#90 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:90 def arguments; end # Desugar `x += y` to `x = x + y` # - # source://prism//lib/prism/desugar_compiler.rb#101 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:101 def compile; end # Returns the value of attribute default_source. # - # source://prism//lib/prism/desugar_compiler.rb#90 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:90 def default_source; end # Returns the value of attribute node. # - # source://prism//lib/prism/desugar_compiler.rb#90 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:90 def node; end # Returns the value of attribute read_class. # - # source://prism//lib/prism/desugar_compiler.rb#90 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:90 def read_class; end # Returns the value of attribute write_class. # - # source://prism//lib/prism/desugar_compiler.rb#90 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:90 def write_class; end end -# source://prism//lib/prism/desugar_compiler.rb#36 +# pkg:gem/prism#lib/prism/desugar_compiler.rb:36 class Prism::DesugarOrWriteDefinedNode include ::Prism::DSL # @return [DesugarOrWriteDefinedNode] a new instance of DesugarOrWriteDefinedNode # - # source://prism//lib/prism/desugar_compiler.rb#41 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:41 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism//lib/prism/desugar_compiler.rb#39 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:39 def arguments; end # Desugar `x ||= y` to `defined?(x) ? x : x = y` # - # source://prism//lib/prism/desugar_compiler.rb#50 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:50 def compile; end # Returns the value of attribute default_source. # - # source://prism//lib/prism/desugar_compiler.rb#39 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:39 def default_source; end # Returns the value of attribute node. # - # source://prism//lib/prism/desugar_compiler.rb#39 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:39 def node; end # Returns the value of attribute read_class. # - # source://prism//lib/prism/desugar_compiler.rb#39 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:39 def read_class; end # Returns the value of attribute write_class. # - # source://prism//lib/prism/desugar_compiler.rb#39 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:39 def write_class; end end -# source://prism//lib/prism/desugar_compiler.rb#131 +# pkg:gem/prism#lib/prism/desugar_compiler.rb:131 class Prism::DesugarOrWriteNode include ::Prism::DSL # @return [DesugarOrWriteNode] a new instance of DesugarOrWriteNode # - # source://prism//lib/prism/desugar_compiler.rb#136 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:136 def initialize(node, default_source, read_class, write_class, **arguments); end # Returns the value of attribute arguments. # - # source://prism//lib/prism/desugar_compiler.rb#134 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:134 def arguments; end # Desugar `x ||= y` to `x || x = y` # - # source://prism//lib/prism/desugar_compiler.rb#145 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:145 def compile; end # Returns the value of attribute default_source. # - # source://prism//lib/prism/desugar_compiler.rb#134 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:134 def default_source; end # Returns the value of attribute node. # - # source://prism//lib/prism/desugar_compiler.rb#134 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:134 def node; end # Returns the value of attribute read_class. # - # source://prism//lib/prism/desugar_compiler.rb#134 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:134 def read_class; end # Returns the value of attribute write_class. # - # source://prism//lib/prism/desugar_compiler.rb#134 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:134 def write_class; end end @@ -11984,39 +11984,39 @@ end # integer = result.value.statements.body.first.receiver.receiver # dispatcher.dispatch_once(integer) # -# source://prism//lib/prism/dispatcher.rb#45 +# pkg:gem/prism#lib/prism/dispatcher.rb:45 class Prism::Dispatcher < ::Prism::Visitor # Initialize a new dispatcher. # # @return [Dispatcher] a new instance of Dispatcher # - # source://prism//lib/prism/dispatcher.rb#50 + # pkg:gem/prism#lib/prism/dispatcher.rb:50 def initialize; end # Walks `root` dispatching events to all registered listeners. # # def dispatch: (Node) -> void # - # source://prism//lib/prism/dispatcher.rb#77 + # pkg:gem/prism#lib/prism/dispatcher.rb:77 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#82 + # pkg:gem/prism#lib/prism/dispatcher.rb:82 def dispatch_once(node); end # attr_reader listeners: Hash[Symbol, Array[Listener]] # - # source://prism//lib/prism/dispatcher.rb#47 + # pkg:gem/prism#lib/prism/dispatcher.rb:47 def listeners; end # Register a listener for one or more events. # # def register: (Listener, *Symbol) -> void # - # source://prism//lib/prism/dispatcher.rb#57 + # pkg:gem/prism#lib/prism/dispatcher.rb:57 def register(listener, *events); end # Register all public methods of a listener that match the pattern @@ -12024,2466 +12024,2466 @@ class Prism::Dispatcher < ::Prism::Visitor # # def register_public_methods: (Listener) -> void # - # source://prism//lib/prism/dispatcher.rb#65 + # pkg:gem/prism#lib/prism/dispatcher.rb:65 def register_public_methods(listener); end # Dispatch enter and leave events for AliasGlobalVariableNode nodes and continue # walking the tree. # - # source://prism//lib/prism/dispatcher.rb#88 + # pkg:gem/prism#lib/prism/dispatcher.rb:88 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#96 + # pkg:gem/prism#lib/prism/dispatcher.rb:96 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#104 + # pkg:gem/prism#lib/prism/dispatcher.rb:104 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#112 + # pkg:gem/prism#lib/prism/dispatcher.rb:112 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#120 + # pkg:gem/prism#lib/prism/dispatcher.rb:120 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#128 + # pkg:gem/prism#lib/prism/dispatcher.rb:128 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#136 + # pkg:gem/prism#lib/prism/dispatcher.rb:136 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#144 + # pkg:gem/prism#lib/prism/dispatcher.rb:144 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#152 + # pkg:gem/prism#lib/prism/dispatcher.rb:152 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#160 + # pkg:gem/prism#lib/prism/dispatcher.rb:160 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#168 + # pkg:gem/prism#lib/prism/dispatcher.rb:168 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#176 + # pkg:gem/prism#lib/prism/dispatcher.rb:176 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#184 + # pkg:gem/prism#lib/prism/dispatcher.rb:184 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#192 + # pkg:gem/prism#lib/prism/dispatcher.rb:192 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#200 + # pkg:gem/prism#lib/prism/dispatcher.rb:200 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#208 + # pkg:gem/prism#lib/prism/dispatcher.rb:208 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#216 + # pkg:gem/prism#lib/prism/dispatcher.rb:216 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#224 + # pkg:gem/prism#lib/prism/dispatcher.rb:224 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#232 + # pkg:gem/prism#lib/prism/dispatcher.rb:232 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#240 + # pkg:gem/prism#lib/prism/dispatcher.rb:240 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#248 + # pkg:gem/prism#lib/prism/dispatcher.rb:248 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#256 + # pkg:gem/prism#lib/prism/dispatcher.rb:256 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#264 + # pkg:gem/prism#lib/prism/dispatcher.rb:264 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#272 + # pkg:gem/prism#lib/prism/dispatcher.rb:272 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#280 + # pkg:gem/prism#lib/prism/dispatcher.rb:280 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#288 + # pkg:gem/prism#lib/prism/dispatcher.rb:288 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#296 + # pkg:gem/prism#lib/prism/dispatcher.rb:296 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#304 + # pkg:gem/prism#lib/prism/dispatcher.rb:304 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#312 + # pkg:gem/prism#lib/prism/dispatcher.rb:312 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#320 + # pkg:gem/prism#lib/prism/dispatcher.rb:320 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#328 + # pkg:gem/prism#lib/prism/dispatcher.rb:328 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#336 + # pkg:gem/prism#lib/prism/dispatcher.rb:336 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#344 + # pkg:gem/prism#lib/prism/dispatcher.rb:344 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#352 + # pkg:gem/prism#lib/prism/dispatcher.rb:352 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#360 + # pkg:gem/prism#lib/prism/dispatcher.rb:360 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#368 + # pkg:gem/prism#lib/prism/dispatcher.rb:368 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#376 + # pkg:gem/prism#lib/prism/dispatcher.rb:376 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#384 + # pkg:gem/prism#lib/prism/dispatcher.rb:384 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#392 + # pkg:gem/prism#lib/prism/dispatcher.rb:392 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#400 + # pkg:gem/prism#lib/prism/dispatcher.rb:400 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#408 + # pkg:gem/prism#lib/prism/dispatcher.rb:408 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#416 + # pkg:gem/prism#lib/prism/dispatcher.rb:416 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#424 + # pkg:gem/prism#lib/prism/dispatcher.rb:424 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#432 + # pkg:gem/prism#lib/prism/dispatcher.rb:432 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#440 + # pkg:gem/prism#lib/prism/dispatcher.rb:440 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#448 + # pkg:gem/prism#lib/prism/dispatcher.rb:448 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#456 + # pkg:gem/prism#lib/prism/dispatcher.rb:456 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#464 + # pkg:gem/prism#lib/prism/dispatcher.rb:464 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#472 + # pkg:gem/prism#lib/prism/dispatcher.rb:472 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#480 + # pkg:gem/prism#lib/prism/dispatcher.rb:480 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#488 + # pkg:gem/prism#lib/prism/dispatcher.rb:488 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#496 + # pkg:gem/prism#lib/prism/dispatcher.rb:496 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#504 + # pkg:gem/prism#lib/prism/dispatcher.rb:504 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#512 + # pkg:gem/prism#lib/prism/dispatcher.rb:512 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#520 + # pkg:gem/prism#lib/prism/dispatcher.rb:520 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#528 + # pkg:gem/prism#lib/prism/dispatcher.rb:528 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#536 + # pkg:gem/prism#lib/prism/dispatcher.rb:536 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#544 + # pkg:gem/prism#lib/prism/dispatcher.rb:544 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#552 + # pkg:gem/prism#lib/prism/dispatcher.rb:552 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#560 + # pkg:gem/prism#lib/prism/dispatcher.rb:560 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#568 + # pkg:gem/prism#lib/prism/dispatcher.rb:568 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#576 + # pkg:gem/prism#lib/prism/dispatcher.rb:576 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#584 + # pkg:gem/prism#lib/prism/dispatcher.rb:584 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#592 + # pkg:gem/prism#lib/prism/dispatcher.rb:592 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#600 + # pkg:gem/prism#lib/prism/dispatcher.rb:600 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#608 + # pkg:gem/prism#lib/prism/dispatcher.rb:608 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#616 + # pkg:gem/prism#lib/prism/dispatcher.rb:616 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#624 + # pkg:gem/prism#lib/prism/dispatcher.rb:624 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#632 + # pkg:gem/prism#lib/prism/dispatcher.rb:632 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#640 + # pkg:gem/prism#lib/prism/dispatcher.rb:640 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#648 + # pkg:gem/prism#lib/prism/dispatcher.rb:648 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#656 + # pkg:gem/prism#lib/prism/dispatcher.rb:656 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#664 + # pkg:gem/prism#lib/prism/dispatcher.rb:664 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#672 + # pkg:gem/prism#lib/prism/dispatcher.rb:672 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#680 + # pkg:gem/prism#lib/prism/dispatcher.rb:680 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#688 + # pkg:gem/prism#lib/prism/dispatcher.rb:688 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#696 + # pkg:gem/prism#lib/prism/dispatcher.rb:696 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#704 + # pkg:gem/prism#lib/prism/dispatcher.rb:704 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#712 + # pkg:gem/prism#lib/prism/dispatcher.rb:712 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#720 + # pkg:gem/prism#lib/prism/dispatcher.rb:720 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#728 + # pkg:gem/prism#lib/prism/dispatcher.rb:728 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#736 + # pkg:gem/prism#lib/prism/dispatcher.rb:736 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#744 + # pkg:gem/prism#lib/prism/dispatcher.rb:744 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#752 + # pkg:gem/prism#lib/prism/dispatcher.rb:752 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#760 + # pkg:gem/prism#lib/prism/dispatcher.rb:760 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#768 + # pkg:gem/prism#lib/prism/dispatcher.rb:768 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#776 + # pkg:gem/prism#lib/prism/dispatcher.rb:776 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#784 + # pkg:gem/prism#lib/prism/dispatcher.rb:784 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#792 + # pkg:gem/prism#lib/prism/dispatcher.rb:792 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#800 + # pkg:gem/prism#lib/prism/dispatcher.rb:800 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#808 + # pkg:gem/prism#lib/prism/dispatcher.rb:808 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#816 + # pkg:gem/prism#lib/prism/dispatcher.rb:816 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#824 + # pkg:gem/prism#lib/prism/dispatcher.rb:824 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#832 + # pkg:gem/prism#lib/prism/dispatcher.rb:832 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#840 + # pkg:gem/prism#lib/prism/dispatcher.rb:840 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#848 + # pkg:gem/prism#lib/prism/dispatcher.rb:848 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#856 + # pkg:gem/prism#lib/prism/dispatcher.rb:856 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#864 + # pkg:gem/prism#lib/prism/dispatcher.rb:864 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#872 + # pkg:gem/prism#lib/prism/dispatcher.rb:872 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#880 + # pkg:gem/prism#lib/prism/dispatcher.rb:880 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#888 + # pkg:gem/prism#lib/prism/dispatcher.rb:888 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#896 + # pkg:gem/prism#lib/prism/dispatcher.rb:896 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#904 + # pkg:gem/prism#lib/prism/dispatcher.rb:904 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#912 + # pkg:gem/prism#lib/prism/dispatcher.rb:912 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#920 + # pkg:gem/prism#lib/prism/dispatcher.rb:920 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#928 + # pkg:gem/prism#lib/prism/dispatcher.rb:928 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#936 + # pkg:gem/prism#lib/prism/dispatcher.rb:936 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#944 + # pkg:gem/prism#lib/prism/dispatcher.rb:944 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#952 + # pkg:gem/prism#lib/prism/dispatcher.rb:952 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#960 + # pkg:gem/prism#lib/prism/dispatcher.rb:960 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#968 + # pkg:gem/prism#lib/prism/dispatcher.rb:968 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#976 + # pkg:gem/prism#lib/prism/dispatcher.rb:976 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#984 + # pkg:gem/prism#lib/prism/dispatcher.rb:984 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#992 + # pkg:gem/prism#lib/prism/dispatcher.rb:992 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#1000 + # pkg:gem/prism#lib/prism/dispatcher.rb:1000 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#1008 + # pkg:gem/prism#lib/prism/dispatcher.rb:1008 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#1016 + # pkg:gem/prism#lib/prism/dispatcher.rb:1016 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#1024 + # pkg:gem/prism#lib/prism/dispatcher.rb:1024 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#1032 + # pkg:gem/prism#lib/prism/dispatcher.rb:1032 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#1040 + # pkg:gem/prism#lib/prism/dispatcher.rb:1040 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#1048 + # pkg:gem/prism#lib/prism/dispatcher.rb:1048 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#1056 + # pkg:gem/prism#lib/prism/dispatcher.rb:1056 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#1064 + # pkg:gem/prism#lib/prism/dispatcher.rb:1064 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#1072 + # pkg:gem/prism#lib/prism/dispatcher.rb:1072 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#1080 + # pkg:gem/prism#lib/prism/dispatcher.rb:1080 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#1088 + # pkg:gem/prism#lib/prism/dispatcher.rb:1088 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#1096 + # pkg:gem/prism#lib/prism/dispatcher.rb:1096 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#1104 + # pkg:gem/prism#lib/prism/dispatcher.rb:1104 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#1112 + # pkg:gem/prism#lib/prism/dispatcher.rb:1112 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#1120 + # pkg:gem/prism#lib/prism/dispatcher.rb:1120 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#1128 + # pkg:gem/prism#lib/prism/dispatcher.rb:1128 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#1136 + # pkg:gem/prism#lib/prism/dispatcher.rb:1136 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#1144 + # pkg:gem/prism#lib/prism/dispatcher.rb:1144 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#1152 + # pkg:gem/prism#lib/prism/dispatcher.rb:1152 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#1160 + # pkg:gem/prism#lib/prism/dispatcher.rb:1160 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#1168 + # pkg:gem/prism#lib/prism/dispatcher.rb:1168 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#1176 + # pkg:gem/prism#lib/prism/dispatcher.rb:1176 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#1184 + # pkg:gem/prism#lib/prism/dispatcher.rb:1184 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#1192 + # pkg:gem/prism#lib/prism/dispatcher.rb:1192 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#1200 + # pkg:gem/prism#lib/prism/dispatcher.rb:1200 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#1208 + # pkg:gem/prism#lib/prism/dispatcher.rb:1208 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#1216 + # pkg:gem/prism#lib/prism/dispatcher.rb:1216 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#1224 + # pkg:gem/prism#lib/prism/dispatcher.rb:1224 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#1232 + # pkg:gem/prism#lib/prism/dispatcher.rb:1232 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#1240 + # pkg:gem/prism#lib/prism/dispatcher.rb:1240 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#1248 + # pkg:gem/prism#lib/prism/dispatcher.rb:1248 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#1256 + # pkg:gem/prism#lib/prism/dispatcher.rb:1256 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#1264 + # pkg:gem/prism#lib/prism/dispatcher.rb:1264 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#1272 + # pkg:gem/prism#lib/prism/dispatcher.rb:1272 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#1280 + # pkg:gem/prism#lib/prism/dispatcher.rb:1280 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#1288 + # pkg:gem/prism#lib/prism/dispatcher.rb:1288 def visit_yield_node(node); end private # Register a listener for the given events. # - # source://prism//lib/prism/dispatcher.rb#70 + # pkg:gem/prism#lib/prism/dispatcher.rb:70 def register_events(listener, events); end end -# source://prism//lib/prism/dispatcher.rb#1294 +# pkg:gem/prism#lib/prism/dispatcher.rb:1294 class Prism::Dispatcher::DispatchOnce < ::Prism::Visitor # @return [DispatchOnce] a new instance of DispatchOnce # - # source://prism//lib/prism/dispatcher.rb#1297 + # pkg:gem/prism#lib/prism/dispatcher.rb:1297 def initialize(listeners); end # Returns the value of attribute listeners. # - # source://prism//lib/prism/dispatcher.rb#1295 + # pkg:gem/prism#lib/prism/dispatcher.rb:1295 def listeners; end # Dispatch enter and leave events for AliasGlobalVariableNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1302 + # pkg:gem/prism#lib/prism/dispatcher.rb:1302 def visit_alias_global_variable_node(node); end # Dispatch enter and leave events for AliasMethodNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1308 + # pkg:gem/prism#lib/prism/dispatcher.rb:1308 def visit_alias_method_node(node); end # Dispatch enter and leave events for AlternationPatternNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1314 + # pkg:gem/prism#lib/prism/dispatcher.rb:1314 def visit_alternation_pattern_node(node); end # Dispatch enter and leave events for AndNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1320 + # pkg:gem/prism#lib/prism/dispatcher.rb:1320 def visit_and_node(node); end # Dispatch enter and leave events for ArgumentsNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1326 + # pkg:gem/prism#lib/prism/dispatcher.rb:1326 def visit_arguments_node(node); end # Dispatch enter and leave events for ArrayNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1332 + # pkg:gem/prism#lib/prism/dispatcher.rb:1332 def visit_array_node(node); end # Dispatch enter and leave events for ArrayPatternNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1338 + # pkg:gem/prism#lib/prism/dispatcher.rb:1338 def visit_array_pattern_node(node); end # Dispatch enter and leave events for AssocNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1344 + # pkg:gem/prism#lib/prism/dispatcher.rb:1344 def visit_assoc_node(node); end # Dispatch enter and leave events for AssocSplatNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1350 + # pkg:gem/prism#lib/prism/dispatcher.rb:1350 def visit_assoc_splat_node(node); end # Dispatch enter and leave events for BackReferenceReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1356 + # pkg:gem/prism#lib/prism/dispatcher.rb:1356 def visit_back_reference_read_node(node); end # Dispatch enter and leave events for BeginNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1362 + # pkg:gem/prism#lib/prism/dispatcher.rb:1362 def visit_begin_node(node); end # Dispatch enter and leave events for BlockArgumentNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1368 + # pkg:gem/prism#lib/prism/dispatcher.rb:1368 def visit_block_argument_node(node); end # Dispatch enter and leave events for BlockLocalVariableNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1374 + # pkg:gem/prism#lib/prism/dispatcher.rb:1374 def visit_block_local_variable_node(node); end # Dispatch enter and leave events for BlockNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1380 + # pkg:gem/prism#lib/prism/dispatcher.rb:1380 def visit_block_node(node); end # Dispatch enter and leave events for BlockParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1386 + # pkg:gem/prism#lib/prism/dispatcher.rb:1386 def visit_block_parameter_node(node); end # Dispatch enter and leave events for BlockParametersNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1392 + # pkg:gem/prism#lib/prism/dispatcher.rb:1392 def visit_block_parameters_node(node); end # Dispatch enter and leave events for BreakNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1398 + # pkg:gem/prism#lib/prism/dispatcher.rb:1398 def visit_break_node(node); end # Dispatch enter and leave events for CallAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1404 + # pkg:gem/prism#lib/prism/dispatcher.rb:1404 def visit_call_and_write_node(node); end # Dispatch enter and leave events for CallNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1410 + # pkg:gem/prism#lib/prism/dispatcher.rb:1410 def visit_call_node(node); end # Dispatch enter and leave events for CallOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1416 + # pkg:gem/prism#lib/prism/dispatcher.rb:1416 def visit_call_operator_write_node(node); end # Dispatch enter and leave events for CallOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1422 + # pkg:gem/prism#lib/prism/dispatcher.rb:1422 def visit_call_or_write_node(node); end # Dispatch enter and leave events for CallTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1428 + # pkg:gem/prism#lib/prism/dispatcher.rb:1428 def visit_call_target_node(node); end # Dispatch enter and leave events for CapturePatternNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1434 + # pkg:gem/prism#lib/prism/dispatcher.rb:1434 def visit_capture_pattern_node(node); end # Dispatch enter and leave events for CaseMatchNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1440 + # pkg:gem/prism#lib/prism/dispatcher.rb:1440 def visit_case_match_node(node); end # Dispatch enter and leave events for CaseNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1446 + # pkg:gem/prism#lib/prism/dispatcher.rb:1446 def visit_case_node(node); end # Dispatch enter and leave events for ClassNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1452 + # pkg:gem/prism#lib/prism/dispatcher.rb:1452 def visit_class_node(node); end # Dispatch enter and leave events for ClassVariableAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1458 + # pkg:gem/prism#lib/prism/dispatcher.rb:1458 def visit_class_variable_and_write_node(node); end # Dispatch enter and leave events for ClassVariableOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1464 + # pkg:gem/prism#lib/prism/dispatcher.rb:1464 def visit_class_variable_operator_write_node(node); end # Dispatch enter and leave events for ClassVariableOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1470 + # pkg:gem/prism#lib/prism/dispatcher.rb:1470 def visit_class_variable_or_write_node(node); end # Dispatch enter and leave events for ClassVariableReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1476 + # pkg:gem/prism#lib/prism/dispatcher.rb:1476 def visit_class_variable_read_node(node); end # Dispatch enter and leave events for ClassVariableTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1482 + # pkg:gem/prism#lib/prism/dispatcher.rb:1482 def visit_class_variable_target_node(node); end # Dispatch enter and leave events for ClassVariableWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1488 + # pkg:gem/prism#lib/prism/dispatcher.rb:1488 def visit_class_variable_write_node(node); end # Dispatch enter and leave events for ConstantAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1494 + # pkg:gem/prism#lib/prism/dispatcher.rb:1494 def visit_constant_and_write_node(node); end # Dispatch enter and leave events for ConstantOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1500 + # pkg:gem/prism#lib/prism/dispatcher.rb:1500 def visit_constant_operator_write_node(node); end # Dispatch enter and leave events for ConstantOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1506 + # pkg:gem/prism#lib/prism/dispatcher.rb:1506 def visit_constant_or_write_node(node); end # Dispatch enter and leave events for ConstantPathAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1512 + # pkg:gem/prism#lib/prism/dispatcher.rb:1512 def visit_constant_path_and_write_node(node); end # Dispatch enter and leave events for ConstantPathNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1518 + # pkg:gem/prism#lib/prism/dispatcher.rb:1518 def visit_constant_path_node(node); end # Dispatch enter and leave events for ConstantPathOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1524 + # pkg:gem/prism#lib/prism/dispatcher.rb:1524 def visit_constant_path_operator_write_node(node); end # Dispatch enter and leave events for ConstantPathOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1530 + # pkg:gem/prism#lib/prism/dispatcher.rb:1530 def visit_constant_path_or_write_node(node); end # Dispatch enter and leave events for ConstantPathTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1536 + # pkg:gem/prism#lib/prism/dispatcher.rb:1536 def visit_constant_path_target_node(node); end # Dispatch enter and leave events for ConstantPathWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1542 + # pkg:gem/prism#lib/prism/dispatcher.rb:1542 def visit_constant_path_write_node(node); end # Dispatch enter and leave events for ConstantReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1548 + # pkg:gem/prism#lib/prism/dispatcher.rb:1548 def visit_constant_read_node(node); end # Dispatch enter and leave events for ConstantTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1554 + # pkg:gem/prism#lib/prism/dispatcher.rb:1554 def visit_constant_target_node(node); end # Dispatch enter and leave events for ConstantWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1560 + # pkg:gem/prism#lib/prism/dispatcher.rb:1560 def visit_constant_write_node(node); end # Dispatch enter and leave events for DefNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1566 + # pkg:gem/prism#lib/prism/dispatcher.rb:1566 def visit_def_node(node); end # Dispatch enter and leave events for DefinedNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1572 + # pkg:gem/prism#lib/prism/dispatcher.rb:1572 def visit_defined_node(node); end # Dispatch enter and leave events for ElseNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1578 + # pkg:gem/prism#lib/prism/dispatcher.rb:1578 def visit_else_node(node); end # Dispatch enter and leave events for EmbeddedStatementsNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1584 + # pkg:gem/prism#lib/prism/dispatcher.rb:1584 def visit_embedded_statements_node(node); end # Dispatch enter and leave events for EmbeddedVariableNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1590 + # pkg:gem/prism#lib/prism/dispatcher.rb:1590 def visit_embedded_variable_node(node); end # Dispatch enter and leave events for EnsureNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1596 + # pkg:gem/prism#lib/prism/dispatcher.rb:1596 def visit_ensure_node(node); end # Dispatch enter and leave events for FalseNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1602 + # pkg:gem/prism#lib/prism/dispatcher.rb:1602 def visit_false_node(node); end # Dispatch enter and leave events for FindPatternNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1608 + # pkg:gem/prism#lib/prism/dispatcher.rb:1608 def visit_find_pattern_node(node); end # Dispatch enter and leave events for FlipFlopNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1614 + # pkg:gem/prism#lib/prism/dispatcher.rb:1614 def visit_flip_flop_node(node); end # Dispatch enter and leave events for FloatNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1620 + # pkg:gem/prism#lib/prism/dispatcher.rb:1620 def visit_float_node(node); end # Dispatch enter and leave events for ForNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1626 + # pkg:gem/prism#lib/prism/dispatcher.rb:1626 def visit_for_node(node); end # Dispatch enter and leave events for ForwardingArgumentsNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1632 + # pkg:gem/prism#lib/prism/dispatcher.rb:1632 def visit_forwarding_arguments_node(node); end # Dispatch enter and leave events for ForwardingParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1638 + # pkg:gem/prism#lib/prism/dispatcher.rb:1638 def visit_forwarding_parameter_node(node); end # Dispatch enter and leave events for ForwardingSuperNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1644 + # pkg:gem/prism#lib/prism/dispatcher.rb:1644 def visit_forwarding_super_node(node); end # Dispatch enter and leave events for GlobalVariableAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1650 + # pkg:gem/prism#lib/prism/dispatcher.rb:1650 def visit_global_variable_and_write_node(node); end # Dispatch enter and leave events for GlobalVariableOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1656 + # pkg:gem/prism#lib/prism/dispatcher.rb:1656 def visit_global_variable_operator_write_node(node); end # Dispatch enter and leave events for GlobalVariableOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1662 + # pkg:gem/prism#lib/prism/dispatcher.rb:1662 def visit_global_variable_or_write_node(node); end # Dispatch enter and leave events for GlobalVariableReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1668 + # pkg:gem/prism#lib/prism/dispatcher.rb:1668 def visit_global_variable_read_node(node); end # Dispatch enter and leave events for GlobalVariableTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1674 + # pkg:gem/prism#lib/prism/dispatcher.rb:1674 def visit_global_variable_target_node(node); end # Dispatch enter and leave events for GlobalVariableWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1680 + # pkg:gem/prism#lib/prism/dispatcher.rb:1680 def visit_global_variable_write_node(node); end # Dispatch enter and leave events for HashNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1686 + # pkg:gem/prism#lib/prism/dispatcher.rb:1686 def visit_hash_node(node); end # Dispatch enter and leave events for HashPatternNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1692 + # pkg:gem/prism#lib/prism/dispatcher.rb:1692 def visit_hash_pattern_node(node); end # Dispatch enter and leave events for IfNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1698 + # pkg:gem/prism#lib/prism/dispatcher.rb:1698 def visit_if_node(node); end # Dispatch enter and leave events for ImaginaryNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1704 + # pkg:gem/prism#lib/prism/dispatcher.rb:1704 def visit_imaginary_node(node); end # Dispatch enter and leave events for ImplicitNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1710 + # pkg:gem/prism#lib/prism/dispatcher.rb:1710 def visit_implicit_node(node); end # Dispatch enter and leave events for ImplicitRestNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1716 + # pkg:gem/prism#lib/prism/dispatcher.rb:1716 def visit_implicit_rest_node(node); end # Dispatch enter and leave events for InNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1722 + # pkg:gem/prism#lib/prism/dispatcher.rb:1722 def visit_in_node(node); end # Dispatch enter and leave events for IndexAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1728 + # pkg:gem/prism#lib/prism/dispatcher.rb:1728 def visit_index_and_write_node(node); end # Dispatch enter and leave events for IndexOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1734 + # pkg:gem/prism#lib/prism/dispatcher.rb:1734 def visit_index_operator_write_node(node); end # Dispatch enter and leave events for IndexOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1740 + # pkg:gem/prism#lib/prism/dispatcher.rb:1740 def visit_index_or_write_node(node); end # Dispatch enter and leave events for IndexTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1746 + # pkg:gem/prism#lib/prism/dispatcher.rb:1746 def visit_index_target_node(node); end # Dispatch enter and leave events for InstanceVariableAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1752 + # pkg:gem/prism#lib/prism/dispatcher.rb:1752 def visit_instance_variable_and_write_node(node); end # Dispatch enter and leave events for InstanceVariableOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1758 + # pkg:gem/prism#lib/prism/dispatcher.rb:1758 def visit_instance_variable_operator_write_node(node); end # Dispatch enter and leave events for InstanceVariableOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1764 + # pkg:gem/prism#lib/prism/dispatcher.rb:1764 def visit_instance_variable_or_write_node(node); end # Dispatch enter and leave events for InstanceVariableReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1770 + # pkg:gem/prism#lib/prism/dispatcher.rb:1770 def visit_instance_variable_read_node(node); end # Dispatch enter and leave events for InstanceVariableTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1776 + # pkg:gem/prism#lib/prism/dispatcher.rb:1776 def visit_instance_variable_target_node(node); end # Dispatch enter and leave events for InstanceVariableWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1782 + # pkg:gem/prism#lib/prism/dispatcher.rb:1782 def visit_instance_variable_write_node(node); end # Dispatch enter and leave events for IntegerNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1788 + # pkg:gem/prism#lib/prism/dispatcher.rb:1788 def visit_integer_node(node); end # Dispatch enter and leave events for InterpolatedMatchLastLineNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1794 + # pkg:gem/prism#lib/prism/dispatcher.rb:1794 def visit_interpolated_match_last_line_node(node); end # Dispatch enter and leave events for InterpolatedRegularExpressionNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1800 + # pkg:gem/prism#lib/prism/dispatcher.rb:1800 def visit_interpolated_regular_expression_node(node); end # Dispatch enter and leave events for InterpolatedStringNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1806 + # pkg:gem/prism#lib/prism/dispatcher.rb:1806 def visit_interpolated_string_node(node); end # Dispatch enter and leave events for InterpolatedSymbolNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1812 + # pkg:gem/prism#lib/prism/dispatcher.rb:1812 def visit_interpolated_symbol_node(node); end # Dispatch enter and leave events for InterpolatedXStringNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1818 + # pkg:gem/prism#lib/prism/dispatcher.rb:1818 def visit_interpolated_x_string_node(node); end # Dispatch enter and leave events for ItLocalVariableReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1824 + # pkg:gem/prism#lib/prism/dispatcher.rb:1824 def visit_it_local_variable_read_node(node); end # Dispatch enter and leave events for ItParametersNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1830 + # pkg:gem/prism#lib/prism/dispatcher.rb:1830 def visit_it_parameters_node(node); end # Dispatch enter and leave events for KeywordHashNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1836 + # pkg:gem/prism#lib/prism/dispatcher.rb:1836 def visit_keyword_hash_node(node); end # Dispatch enter and leave events for KeywordRestParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1842 + # pkg:gem/prism#lib/prism/dispatcher.rb:1842 def visit_keyword_rest_parameter_node(node); end # Dispatch enter and leave events for LambdaNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1848 + # pkg:gem/prism#lib/prism/dispatcher.rb:1848 def visit_lambda_node(node); end # Dispatch enter and leave events for LocalVariableAndWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1854 + # pkg:gem/prism#lib/prism/dispatcher.rb:1854 def visit_local_variable_and_write_node(node); end # Dispatch enter and leave events for LocalVariableOperatorWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1860 + # pkg:gem/prism#lib/prism/dispatcher.rb:1860 def visit_local_variable_operator_write_node(node); end # Dispatch enter and leave events for LocalVariableOrWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1866 + # pkg:gem/prism#lib/prism/dispatcher.rb:1866 def visit_local_variable_or_write_node(node); end # Dispatch enter and leave events for LocalVariableReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1872 + # pkg:gem/prism#lib/prism/dispatcher.rb:1872 def visit_local_variable_read_node(node); end # Dispatch enter and leave events for LocalVariableTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1878 + # pkg:gem/prism#lib/prism/dispatcher.rb:1878 def visit_local_variable_target_node(node); end # Dispatch enter and leave events for LocalVariableWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1884 + # pkg:gem/prism#lib/prism/dispatcher.rb:1884 def visit_local_variable_write_node(node); end # Dispatch enter and leave events for MatchLastLineNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1890 + # pkg:gem/prism#lib/prism/dispatcher.rb:1890 def visit_match_last_line_node(node); end # Dispatch enter and leave events for MatchPredicateNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1896 + # pkg:gem/prism#lib/prism/dispatcher.rb:1896 def visit_match_predicate_node(node); end # Dispatch enter and leave events for MatchRequiredNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1902 + # pkg:gem/prism#lib/prism/dispatcher.rb:1902 def visit_match_required_node(node); end # Dispatch enter and leave events for MatchWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1908 + # pkg:gem/prism#lib/prism/dispatcher.rb:1908 def visit_match_write_node(node); end # Dispatch enter and leave events for MissingNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1914 + # pkg:gem/prism#lib/prism/dispatcher.rb:1914 def visit_missing_node(node); end # Dispatch enter and leave events for ModuleNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1920 + # pkg:gem/prism#lib/prism/dispatcher.rb:1920 def visit_module_node(node); end # Dispatch enter and leave events for MultiTargetNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1926 + # pkg:gem/prism#lib/prism/dispatcher.rb:1926 def visit_multi_target_node(node); end # Dispatch enter and leave events for MultiWriteNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1932 + # pkg:gem/prism#lib/prism/dispatcher.rb:1932 def visit_multi_write_node(node); end # Dispatch enter and leave events for NextNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1938 + # pkg:gem/prism#lib/prism/dispatcher.rb:1938 def visit_next_node(node); end # Dispatch enter and leave events for NilNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1944 + # pkg:gem/prism#lib/prism/dispatcher.rb:1944 def visit_nil_node(node); end # Dispatch enter and leave events for NoKeywordsParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1950 + # pkg:gem/prism#lib/prism/dispatcher.rb:1950 def visit_no_keywords_parameter_node(node); end # Dispatch enter and leave events for NumberedParametersNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1956 + # pkg:gem/prism#lib/prism/dispatcher.rb:1956 def visit_numbered_parameters_node(node); end # Dispatch enter and leave events for NumberedReferenceReadNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1962 + # pkg:gem/prism#lib/prism/dispatcher.rb:1962 def visit_numbered_reference_read_node(node); end # Dispatch enter and leave events for OptionalKeywordParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1968 + # pkg:gem/prism#lib/prism/dispatcher.rb:1968 def visit_optional_keyword_parameter_node(node); end # Dispatch enter and leave events for OptionalParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1974 + # pkg:gem/prism#lib/prism/dispatcher.rb:1974 def visit_optional_parameter_node(node); end # Dispatch enter and leave events for OrNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1980 + # pkg:gem/prism#lib/prism/dispatcher.rb:1980 def visit_or_node(node); end # Dispatch enter and leave events for ParametersNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1986 + # pkg:gem/prism#lib/prism/dispatcher.rb:1986 def visit_parameters_node(node); end # Dispatch enter and leave events for ParenthesesNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1992 + # pkg:gem/prism#lib/prism/dispatcher.rb:1992 def visit_parentheses_node(node); end # Dispatch enter and leave events for PinnedExpressionNode nodes. # - # source://prism//lib/prism/dispatcher.rb#1998 + # pkg:gem/prism#lib/prism/dispatcher.rb:1998 def visit_pinned_expression_node(node); end # Dispatch enter and leave events for PinnedVariableNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2004 + # pkg:gem/prism#lib/prism/dispatcher.rb:2004 def visit_pinned_variable_node(node); end # Dispatch enter and leave events for PostExecutionNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2010 + # pkg:gem/prism#lib/prism/dispatcher.rb:2010 def visit_post_execution_node(node); end # Dispatch enter and leave events for PreExecutionNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2016 + # pkg:gem/prism#lib/prism/dispatcher.rb:2016 def visit_pre_execution_node(node); end # Dispatch enter and leave events for ProgramNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2022 + # pkg:gem/prism#lib/prism/dispatcher.rb:2022 def visit_program_node(node); end # Dispatch enter and leave events for RangeNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2028 + # pkg:gem/prism#lib/prism/dispatcher.rb:2028 def visit_range_node(node); end # Dispatch enter and leave events for RationalNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2034 + # pkg:gem/prism#lib/prism/dispatcher.rb:2034 def visit_rational_node(node); end # Dispatch enter and leave events for RedoNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2040 + # pkg:gem/prism#lib/prism/dispatcher.rb:2040 def visit_redo_node(node); end # Dispatch enter and leave events for RegularExpressionNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2046 + # pkg:gem/prism#lib/prism/dispatcher.rb:2046 def visit_regular_expression_node(node); end # Dispatch enter and leave events for RequiredKeywordParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2052 + # pkg:gem/prism#lib/prism/dispatcher.rb:2052 def visit_required_keyword_parameter_node(node); end # Dispatch enter and leave events for RequiredParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2058 + # pkg:gem/prism#lib/prism/dispatcher.rb:2058 def visit_required_parameter_node(node); end # Dispatch enter and leave events for RescueModifierNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2064 + # pkg:gem/prism#lib/prism/dispatcher.rb:2064 def visit_rescue_modifier_node(node); end # Dispatch enter and leave events for RescueNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2070 + # pkg:gem/prism#lib/prism/dispatcher.rb:2070 def visit_rescue_node(node); end # Dispatch enter and leave events for RestParameterNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2076 + # pkg:gem/prism#lib/prism/dispatcher.rb:2076 def visit_rest_parameter_node(node); end # Dispatch enter and leave events for RetryNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2082 + # pkg:gem/prism#lib/prism/dispatcher.rb:2082 def visit_retry_node(node); end # Dispatch enter and leave events for ReturnNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2088 + # pkg:gem/prism#lib/prism/dispatcher.rb:2088 def visit_return_node(node); end # Dispatch enter and leave events for SelfNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2094 + # pkg:gem/prism#lib/prism/dispatcher.rb:2094 def visit_self_node(node); end # Dispatch enter and leave events for ShareableConstantNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2100 + # pkg:gem/prism#lib/prism/dispatcher.rb:2100 def visit_shareable_constant_node(node); end # Dispatch enter and leave events for SingletonClassNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2106 + # pkg:gem/prism#lib/prism/dispatcher.rb:2106 def visit_singleton_class_node(node); end # Dispatch enter and leave events for SourceEncodingNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2112 + # pkg:gem/prism#lib/prism/dispatcher.rb:2112 def visit_source_encoding_node(node); end # Dispatch enter and leave events for SourceFileNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2118 + # pkg:gem/prism#lib/prism/dispatcher.rb:2118 def visit_source_file_node(node); end # Dispatch enter and leave events for SourceLineNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2124 + # pkg:gem/prism#lib/prism/dispatcher.rb:2124 def visit_source_line_node(node); end # Dispatch enter and leave events for SplatNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2130 + # pkg:gem/prism#lib/prism/dispatcher.rb:2130 def visit_splat_node(node); end # Dispatch enter and leave events for StatementsNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2136 + # pkg:gem/prism#lib/prism/dispatcher.rb:2136 def visit_statements_node(node); end # Dispatch enter and leave events for StringNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2142 + # pkg:gem/prism#lib/prism/dispatcher.rb:2142 def visit_string_node(node); end # Dispatch enter and leave events for SuperNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2148 + # pkg:gem/prism#lib/prism/dispatcher.rb:2148 def visit_super_node(node); end # Dispatch enter and leave events for SymbolNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2154 + # pkg:gem/prism#lib/prism/dispatcher.rb:2154 def visit_symbol_node(node); end # Dispatch enter and leave events for TrueNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2160 + # pkg:gem/prism#lib/prism/dispatcher.rb:2160 def visit_true_node(node); end # Dispatch enter and leave events for UndefNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2166 + # pkg:gem/prism#lib/prism/dispatcher.rb:2166 def visit_undef_node(node); end # Dispatch enter and leave events for UnlessNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2172 + # pkg:gem/prism#lib/prism/dispatcher.rb:2172 def visit_unless_node(node); end # Dispatch enter and leave events for UntilNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2178 + # pkg:gem/prism#lib/prism/dispatcher.rb:2178 def visit_until_node(node); end # Dispatch enter and leave events for WhenNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2184 + # pkg:gem/prism#lib/prism/dispatcher.rb:2184 def visit_when_node(node); end # Dispatch enter and leave events for WhileNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2190 + # pkg:gem/prism#lib/prism/dispatcher.rb:2190 def visit_while_node(node); end # Dispatch enter and leave events for XStringNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2196 + # pkg:gem/prism#lib/prism/dispatcher.rb:2196 def visit_x_string_node(node); end # Dispatch enter and leave events for YieldNode nodes. # - # source://prism//lib/prism/dispatcher.rb#2202 + # pkg:gem/prism#lib/prism/dispatcher.rb:2202 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#18 +# pkg:gem/prism#lib/prism/dot_visitor.rb:18 class Prism::DotVisitor < ::Prism::Visitor # Initialize a new dot visitor. # # @return [DotVisitor] a new instance of DotVisitor # - # source://prism//lib/prism/dot_visitor.rb#110 + # pkg:gem/prism#lib/prism/dot_visitor.rb:110 def initialize; end # The digraph that is being built. # - # source://prism//lib/prism/dot_visitor.rb#107 + # pkg:gem/prism#lib/prism/dot_visitor.rb:107 def digraph; end # Convert this visitor into a graphviz dot graph string. # - # source://prism//lib/prism/dot_visitor.rb#115 + # pkg:gem/prism#lib/prism/dot_visitor.rb:115 def to_dot; end # Visit a AliasGlobalVariableNode node. # - # source://prism//lib/prism/dot_visitor.rb#120 + # pkg:gem/prism#lib/prism/dot_visitor.rb:120 def visit_alias_global_variable_node(node); end # Visit a AliasMethodNode node. # - # source://prism//lib/prism/dot_visitor.rb#145 + # pkg:gem/prism#lib/prism/dot_visitor.rb:145 def visit_alias_method_node(node); end # Visit a AlternationPatternNode node. # - # source://prism//lib/prism/dot_visitor.rb#170 + # pkg:gem/prism#lib/prism/dot_visitor.rb:170 def visit_alternation_pattern_node(node); end # Visit a AndNode node. # - # source://prism//lib/prism/dot_visitor.rb#195 + # pkg:gem/prism#lib/prism/dot_visitor.rb:195 def visit_and_node(node); end # Visit a ArgumentsNode node. # - # source://prism//lib/prism/dot_visitor.rb#220 + # pkg:gem/prism#lib/prism/dot_visitor.rb:220 def visit_arguments_node(node); end # Visit a ArrayNode node. # - # source://prism//lib/prism/dot_visitor.rb#250 + # pkg:gem/prism#lib/prism/dot_visitor.rb:250 def visit_array_node(node); end # Visit a ArrayPatternNode node. # - # source://prism//lib/prism/dot_visitor.rb#290 + # pkg:gem/prism#lib/prism/dot_visitor.rb:290 def visit_array_pattern_node(node); end # Visit a AssocNode node. # - # source://prism//lib/prism/dot_visitor.rb#352 + # pkg:gem/prism#lib/prism/dot_visitor.rb:352 def visit_assoc_node(node); end # Visit a AssocSplatNode node. # - # source://prism//lib/prism/dot_visitor.rb#379 + # pkg:gem/prism#lib/prism/dot_visitor.rb:379 def visit_assoc_splat_node(node); end # Visit a BackReferenceReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#402 + # pkg:gem/prism#lib/prism/dot_visitor.rb:402 def visit_back_reference_read_node(node); end # Visit a BeginNode node. # - # source://prism//lib/prism/dot_visitor.rb#419 + # pkg:gem/prism#lib/prism/dot_visitor.rb:419 def visit_begin_node(node); end # Visit a BlockArgumentNode node. # - # source://prism//lib/prism/dot_visitor.rb#467 + # pkg:gem/prism#lib/prism/dot_visitor.rb:467 def visit_block_argument_node(node); end # Visit a BlockLocalVariableNode node. # - # source://prism//lib/prism/dot_visitor.rb#490 + # pkg:gem/prism#lib/prism/dot_visitor.rb:490 def visit_block_local_variable_node(node); end # Visit a BlockNode node. # - # source://prism//lib/prism/dot_visitor.rb#510 + # pkg:gem/prism#lib/prism/dot_visitor.rb:510 def visit_block_node(node); end # Visit a BlockParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#545 + # pkg:gem/prism#lib/prism/dot_visitor.rb:545 def visit_block_parameter_node(node); end # Visit a BlockParametersNode node. # - # source://prism//lib/prism/dot_visitor.rb#573 + # pkg:gem/prism#lib/prism/dot_visitor.rb:573 def visit_block_parameters_node(node); end # Visit a BreakNode node. # - # source://prism//lib/prism/dot_visitor.rb#616 + # pkg:gem/prism#lib/prism/dot_visitor.rb:616 def visit_break_node(node); end # Visit a CallAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#639 + # pkg:gem/prism#lib/prism/dot_visitor.rb:639 def visit_call_and_write_node(node); end # Visit a CallNode node. # - # source://prism//lib/prism/dot_visitor.rb#685 + # pkg:gem/prism#lib/prism/dot_visitor.rb:685 def visit_call_node(node); end # Visit a CallOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#748 + # pkg:gem/prism#lib/prism/dot_visitor.rb:748 def visit_call_operator_write_node(node); end # Visit a CallOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#797 + # pkg:gem/prism#lib/prism/dot_visitor.rb:797 def visit_call_or_write_node(node); end # Visit a CallTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#843 + # pkg:gem/prism#lib/prism/dot_visitor.rb:843 def visit_call_target_node(node); end # Visit a CapturePatternNode node. # - # source://prism//lib/prism/dot_visitor.rb#873 + # pkg:gem/prism#lib/prism/dot_visitor.rb:873 def visit_capture_pattern_node(node); end # Visit a CaseMatchNode node. # - # source://prism//lib/prism/dot_visitor.rb#898 + # pkg:gem/prism#lib/prism/dot_visitor.rb:898 def visit_case_match_node(node); end # Visit a CaseNode node. # - # source://prism//lib/prism/dot_visitor.rb#943 + # pkg:gem/prism#lib/prism/dot_visitor.rb:943 def visit_case_node(node); end # Visit a ClassNode node. # - # source://prism//lib/prism/dot_visitor.rb#988 + # pkg:gem/prism#lib/prism/dot_visitor.rb:988 def visit_class_node(node); end # Visit a ClassVariableAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1035 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1035 def visit_class_variable_and_write_node(node); end # Visit a ClassVariableOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1062 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1062 def visit_class_variable_operator_write_node(node); end # Visit a ClassVariableOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1092 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1092 def visit_class_variable_or_write_node(node); end # Visit a ClassVariableReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#1119 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1119 def visit_class_variable_read_node(node); end # Visit a ClassVariableTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#1136 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1136 def visit_class_variable_target_node(node); end # Visit a ClassVariableWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1153 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1153 def visit_class_variable_write_node(node); end # Visit a ConstantAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1180 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1180 def visit_constant_and_write_node(node); end # Visit a ConstantOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1207 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1207 def visit_constant_operator_write_node(node); end # Visit a ConstantOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1237 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1237 def visit_constant_or_write_node(node); end # Visit a ConstantPathAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1264 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1264 def visit_constant_path_and_write_node(node); end # Visit a ConstantPathNode node. # - # source://prism//lib/prism/dot_visitor.rb#1289 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1289 def visit_constant_path_node(node); end # Visit a ConstantPathOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1318 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1318 def visit_constant_path_operator_write_node(node); end # Visit a ConstantPathOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1346 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1346 def visit_constant_path_or_write_node(node); end # Visit a ConstantPathTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#1371 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1371 def visit_constant_path_target_node(node); end # Visit a ConstantPathWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1400 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1400 def visit_constant_path_write_node(node); end # Visit a ConstantReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#1425 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1425 def visit_constant_read_node(node); end # Visit a ConstantTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#1442 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1442 def visit_constant_target_node(node); end # Visit a ConstantWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1459 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1459 def visit_constant_write_node(node); end # Visit a DefNode node. # - # source://prism//lib/prism/dot_visitor.rb#1486 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1486 def visit_def_node(node); end # Visit a DefinedNode node. # - # source://prism//lib/prism/dot_visitor.rb#1555 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1555 def visit_defined_node(node); end # Visit a ElseNode node. # - # source://prism//lib/prism/dot_visitor.rb#1586 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1586 def visit_else_node(node); end # Visit a EmbeddedStatementsNode node. # - # source://prism//lib/prism/dot_visitor.rb#1614 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1614 def visit_embedded_statements_node(node); end # Visit a EmbeddedVariableNode node. # - # source://prism//lib/prism/dot_visitor.rb#1640 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1640 def visit_embedded_variable_node(node); end # Visit a EnsureNode node. # - # source://prism//lib/prism/dot_visitor.rb#1661 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1661 def visit_ensure_node(node); end # Visit a FalseNode node. # - # source://prism//lib/prism/dot_visitor.rb#1687 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1687 def visit_false_node(node); end # Visit a FindPatternNode node. # - # source://prism//lib/prism/dot_visitor.rb#1701 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1701 def visit_find_pattern_node(node); end # Visit a FlipFlopNode node. # - # source://prism//lib/prism/dot_visitor.rb#1752 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1752 def visit_flip_flop_node(node); end # Visit a FloatNode node. # - # source://prism//lib/prism/dot_visitor.rb#1784 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1784 def visit_float_node(node); end # Visit a ForNode node. # - # source://prism//lib/prism/dot_visitor.rb#1801 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1801 def visit_for_node(node); end # Visit a ForwardingArgumentsNode node. # - # source://prism//lib/prism/dot_visitor.rb#1843 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1843 def visit_forwarding_arguments_node(node); end # Visit a ForwardingParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#1857 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1857 def visit_forwarding_parameter_node(node); end # Visit a ForwardingSuperNode node. # - # source://prism//lib/prism/dot_visitor.rb#1871 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1871 def visit_forwarding_super_node(node); end # Visit a GlobalVariableAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1891 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1891 def visit_global_variable_and_write_node(node); end # Visit a GlobalVariableOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1918 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1918 def visit_global_variable_operator_write_node(node); end # Visit a GlobalVariableOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#1948 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1948 def visit_global_variable_or_write_node(node); end # Visit a GlobalVariableReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#1975 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1975 def visit_global_variable_read_node(node); end # Visit a GlobalVariableTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#1992 + # pkg:gem/prism#lib/prism/dot_visitor.rb:1992 def visit_global_variable_target_node(node); end # Visit a GlobalVariableWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2009 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2009 def visit_global_variable_write_node(node); end # Visit a HashNode node. # - # source://prism//lib/prism/dot_visitor.rb#2036 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2036 def visit_hash_node(node); end # Visit a HashPatternNode node. # - # source://prism//lib/prism/dot_visitor.rb#2069 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2069 def visit_hash_pattern_node(node); end # Visit a IfNode node. # - # source://prism//lib/prism/dot_visitor.rb#2118 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2118 def visit_if_node(node); end # Visit a ImaginaryNode node. # - # source://prism//lib/prism/dot_visitor.rb#2163 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2163 def visit_imaginary_node(node); end # Visit a ImplicitNode node. # - # source://prism//lib/prism/dot_visitor.rb#2181 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2181 def visit_implicit_node(node); end # Visit a ImplicitRestNode node. # - # source://prism//lib/prism/dot_visitor.rb#2199 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2199 def visit_implicit_rest_node(node); end # Visit a InNode node. # - # source://prism//lib/prism/dot_visitor.rb#2213 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2213 def visit_in_node(node); end # Visit a IndexAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2245 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2245 def visit_index_and_write_node(node); end # Visit a IndexOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2298 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2298 def visit_index_operator_write_node(node); end # Visit a IndexOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2354 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2354 def visit_index_or_write_node(node); end # Visit a IndexTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#2407 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2407 def visit_index_target_node(node); end # Visit a InstanceVariableAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2446 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2446 def visit_instance_variable_and_write_node(node); end # Visit a InstanceVariableOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2473 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2473 def visit_instance_variable_operator_write_node(node); end # Visit a InstanceVariableOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2503 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2503 def visit_instance_variable_or_write_node(node); end # Visit a InstanceVariableReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#2530 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2530 def visit_instance_variable_read_node(node); end # Visit a InstanceVariableTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#2547 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2547 def visit_instance_variable_target_node(node); end # Visit a InstanceVariableWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2564 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2564 def visit_instance_variable_write_node(node); end # Visit a IntegerNode node. # - # source://prism//lib/prism/dot_visitor.rb#2591 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2591 def visit_integer_node(node); end # Visit a InterpolatedMatchLastLineNode node. # - # source://prism//lib/prism/dot_visitor.rb#2611 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2611 def visit_interpolated_match_last_line_node(node); end # Visit a InterpolatedRegularExpressionNode node. # - # source://prism//lib/prism/dot_visitor.rb#2647 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2647 def visit_interpolated_regular_expression_node(node); end # Visit a InterpolatedStringNode node. # - # source://prism//lib/prism/dot_visitor.rb#2683 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2683 def visit_interpolated_string_node(node); end # Visit a InterpolatedSymbolNode node. # - # source://prism//lib/prism/dot_visitor.rb#2723 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2723 def visit_interpolated_symbol_node(node); end # Visit a InterpolatedXStringNode node. # - # source://prism//lib/prism/dot_visitor.rb#2760 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2760 def visit_interpolated_x_string_node(node); end # Visit a ItLocalVariableReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#2793 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2793 def visit_it_local_variable_read_node(node); end # Visit a ItParametersNode node. # - # source://prism//lib/prism/dot_visitor.rb#2807 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2807 def visit_it_parameters_node(node); end # Visit a KeywordHashNode node. # - # source://prism//lib/prism/dot_visitor.rb#2821 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2821 def visit_keyword_hash_node(node); end # Visit a KeywordRestParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#2851 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2851 def visit_keyword_rest_parameter_node(node); end # Visit a LambdaNode node. # - # source://prism//lib/prism/dot_visitor.rb#2879 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2879 def visit_lambda_node(node); end # Visit a LocalVariableAndWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2917 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2917 def visit_local_variable_and_write_node(node); end # Visit a LocalVariableOperatorWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2947 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2947 def visit_local_variable_operator_write_node(node); end # Visit a LocalVariableOrWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#2980 + # pkg:gem/prism#lib/prism/dot_visitor.rb:2980 def visit_local_variable_or_write_node(node); end # Visit a LocalVariableReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#3010 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3010 def visit_local_variable_read_node(node); end # Visit a LocalVariableTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#3030 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3030 def visit_local_variable_target_node(node); end # Visit a LocalVariableWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#3050 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3050 def visit_local_variable_write_node(node); end # Visit a MatchLastLineNode node. # - # source://prism//lib/prism/dot_visitor.rb#3080 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3080 def visit_match_last_line_node(node); end # Visit a MatchPredicateNode node. # - # source://prism//lib/prism/dot_visitor.rb#3109 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3109 def visit_match_predicate_node(node); end # Visit a MatchRequiredNode node. # - # source://prism//lib/prism/dot_visitor.rb#3134 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3134 def visit_match_required_node(node); end # Visit a MatchWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#3159 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3159 def visit_match_write_node(node); end # Visit a MissingNode node. # - # source://prism//lib/prism/dot_visitor.rb#3190 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3190 def visit_missing_node(node); end # Visit a ModuleNode node. # - # source://prism//lib/prism/dot_visitor.rb#3204 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3204 def visit_module_node(node); end # Visit a MultiTargetNode node. # - # source://prism//lib/prism/dot_visitor.rb#3240 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3240 def visit_multi_target_node(node); end # Visit a MultiWriteNode node. # - # source://prism//lib/prism/dot_visitor.rb#3296 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3296 def visit_multi_write_node(node); end # Visit a NextNode node. # - # source://prism//lib/prism/dot_visitor.rb#3359 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3359 def visit_next_node(node); end # Visit a NilNode node. # - # source://prism//lib/prism/dot_visitor.rb#3382 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3382 def visit_nil_node(node); end # Visit a NoKeywordsParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#3396 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3396 def visit_no_keywords_parameter_node(node); end # Visit a NumberedParametersNode node. # - # source://prism//lib/prism/dot_visitor.rb#3416 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3416 def visit_numbered_parameters_node(node); end # Visit a NumberedReferenceReadNode node. # - # source://prism//lib/prism/dot_visitor.rb#3433 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3433 def visit_numbered_reference_read_node(node); end # Visit a OptionalKeywordParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#3450 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3450 def visit_optional_keyword_parameter_node(node); end # Visit a OptionalParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#3477 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3477 def visit_optional_parameter_node(node); end # Visit a OrNode node. # - # source://prism//lib/prism/dot_visitor.rb#3507 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3507 def visit_or_node(node); end # Visit a ParametersNode node. # - # source://prism//lib/prism/dot_visitor.rb#3532 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3532 def visit_parameters_node(node); end # Visit a ParenthesesNode node. # - # source://prism//lib/prism/dot_visitor.rb#3616 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3616 def visit_parentheses_node(node); end # Visit a PinnedExpressionNode node. # - # source://prism//lib/prism/dot_visitor.rb#3645 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3645 def visit_pinned_expression_node(node); end # Visit a PinnedVariableNode node. # - # source://prism//lib/prism/dot_visitor.rb#3672 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3672 def visit_pinned_variable_node(node); end # Visit a PostExecutionNode node. # - # source://prism//lib/prism/dot_visitor.rb#3693 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3693 def visit_post_execution_node(node); end # Visit a PreExecutionNode node. # - # source://prism//lib/prism/dot_visitor.rb#3722 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3722 def visit_pre_execution_node(node); end # Visit a ProgramNode node. # - # source://prism//lib/prism/dot_visitor.rb#3751 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3751 def visit_program_node(node); end # Visit a RangeNode node. # - # source://prism//lib/prism/dot_visitor.rb#3772 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3772 def visit_range_node(node); end # Visit a RationalNode node. # - # source://prism//lib/prism/dot_visitor.rb#3804 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3804 def visit_rational_node(node); end # Visit a RedoNode node. # - # source://prism//lib/prism/dot_visitor.rb#3827 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3827 def visit_redo_node(node); end # Visit a RegularExpressionNode node. # - # source://prism//lib/prism/dot_visitor.rb#3841 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3841 def visit_regular_expression_node(node); end # Visit a RequiredKeywordParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#3870 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3870 def visit_required_keyword_parameter_node(node); end # Visit a RequiredParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#3893 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3893 def visit_required_parameter_node(node); end # Visit a RescueModifierNode node. # - # source://prism//lib/prism/dot_visitor.rb#3913 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3913 def visit_rescue_modifier_node(node); end # Visit a RescueNode node. # - # source://prism//lib/prism/dot_visitor.rb#3938 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3938 def visit_rescue_node(node); end # Visit a RestParameterNode node. # - # source://prism//lib/prism/dot_visitor.rb#3996 + # pkg:gem/prism#lib/prism/dot_visitor.rb:3996 def visit_rest_parameter_node(node); end # Visit a RetryNode node. # - # source://prism//lib/prism/dot_visitor.rb#4024 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4024 def visit_retry_node(node); end # Visit a ReturnNode node. # - # source://prism//lib/prism/dot_visitor.rb#4038 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4038 def visit_return_node(node); end # Visit a SelfNode node. # - # source://prism//lib/prism/dot_visitor.rb#4061 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4061 def visit_self_node(node); end # Visit a ShareableConstantNode node. # - # source://prism//lib/prism/dot_visitor.rb#4075 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4075 def visit_shareable_constant_node(node); end # Visit a SingletonClassNode node. # - # source://prism//lib/prism/dot_visitor.rb#4096 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4096 def visit_singleton_class_node(node); end # Visit a SourceEncodingNode node. # - # source://prism//lib/prism/dot_visitor.rb#4132 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4132 def visit_source_encoding_node(node); end # Visit a SourceFileNode node. # - # source://prism//lib/prism/dot_visitor.rb#4146 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4146 def visit_source_file_node(node); end # Visit a SourceLineNode node. # - # source://prism//lib/prism/dot_visitor.rb#4166 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4166 def visit_source_line_node(node); end # Visit a SplatNode node. # - # source://prism//lib/prism/dot_visitor.rb#4180 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4180 def visit_splat_node(node); end # Visit a StatementsNode node. # - # source://prism//lib/prism/dot_visitor.rb#4203 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4203 def visit_statements_node(node); end # Visit a StringNode node. # - # source://prism//lib/prism/dot_visitor.rb#4230 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4230 def visit_string_node(node); end # Visit a SuperNode node. # - # source://prism//lib/prism/dot_visitor.rb#4263 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4263 def visit_super_node(node); end # Visit a SymbolNode node. # - # source://prism//lib/prism/dot_visitor.rb#4302 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4302 def visit_symbol_node(node); end # Visit a TrueNode node. # - # source://prism//lib/prism/dot_visitor.rb#4337 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4337 def visit_true_node(node); end # Visit a UndefNode node. # - # source://prism//lib/prism/dot_visitor.rb#4351 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4351 def visit_undef_node(node); end # Visit a UnlessNode node. # - # source://prism//lib/prism/dot_visitor.rb#4381 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4381 def visit_unless_node(node); end # Visit a UntilNode node. # - # source://prism//lib/prism/dot_visitor.rb#4424 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4424 def visit_until_node(node); end # Visit a WhenNode node. # - # source://prism//lib/prism/dot_visitor.rb#4464 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4464 def visit_when_node(node); end # Visit a WhileNode node. # - # source://prism//lib/prism/dot_visitor.rb#4505 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4505 def visit_while_node(node); end # Visit a XStringNode node. # - # source://prism//lib/prism/dot_visitor.rb#4545 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4545 def visit_x_string_node(node); end # Visit a YieldNode node. # - # source://prism//lib/prism/dot_visitor.rb#4574 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4574 def visit_yield_node(node); end private @@ -14491,186 +14491,186 @@ 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#4620 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4620 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#4632 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4632 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#4640 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4640 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#4651 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4651 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#4660 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4660 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#4671 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4671 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#4680 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4680 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#4614 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4614 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#4688 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4688 def loop_flags_inspect(node); end # Generate a unique node ID for a node throughout the digraph. # - # source://prism//lib/prism/dot_visitor.rb#4609 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4609 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#4696 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4696 def parameter_flags_inspect(node); end # Inspect a node that has parentheses_node_flags flags to display the flags as a # comma-separated list. # - # source://prism//lib/prism/dot_visitor.rb#4704 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4704 def parentheses_node_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#4712 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4712 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#4720 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4720 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#4738 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4738 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#4748 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4748 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#4759 + # pkg:gem/prism#lib/prism/dot_visitor.rb:4759 def symbol_flags_inspect(node); end end -# source://prism//lib/prism/dot_visitor.rb#63 +# pkg:gem/prism#lib/prism/dot_visitor.rb:63 class Prism::DotVisitor::Digraph # @return [Digraph] a new instance of Digraph # - # source://prism//lib/prism/dot_visitor.rb#66 + # pkg:gem/prism#lib/prism/dot_visitor.rb:66 def initialize; end - # source://prism//lib/prism/dot_visitor.rb#80 + # pkg:gem/prism#lib/prism/dot_visitor.rb:80 def edge(value); end # Returns the value of attribute edges. # - # source://prism//lib/prism/dot_visitor.rb#64 + # pkg:gem/prism#lib/prism/dot_visitor.rb:64 def edges; end - # source://prism//lib/prism/dot_visitor.rb#72 + # pkg:gem/prism#lib/prism/dot_visitor.rb:72 def node(value); end # Returns the value of attribute nodes. # - # source://prism//lib/prism/dot_visitor.rb#64 + # pkg:gem/prism#lib/prism/dot_visitor.rb:64 def nodes; end - # source://prism//lib/prism/dot_visitor.rb#84 + # pkg:gem/prism#lib/prism/dot_visitor.rb:84 def to_dot; end - # source://prism//lib/prism/dot_visitor.rb#76 + # pkg:gem/prism#lib/prism/dot_visitor.rb:76 def waypoint(value); end # Returns the value of attribute waypoints. # - # source://prism//lib/prism/dot_visitor.rb#64 + # pkg:gem/prism#lib/prism/dot_visitor.rb:64 def waypoints; end end -# source://prism//lib/prism/dot_visitor.rb#19 +# pkg:gem/prism#lib/prism/dot_visitor.rb:19 class Prism::DotVisitor::Field # @return [Field] a new instance of Field # - # source://prism//lib/prism/dot_visitor.rb#22 + # pkg:gem/prism#lib/prism/dot_visitor.rb:22 def initialize(name, value, port); end # Returns the value of attribute name. # - # source://prism//lib/prism/dot_visitor.rb#20 + # pkg:gem/prism#lib/prism/dot_visitor.rb:20 def name; end # Returns the value of attribute port. # - # source://prism//lib/prism/dot_visitor.rb#20 + # pkg:gem/prism#lib/prism/dot_visitor.rb:20 def port; end - # source://prism//lib/prism/dot_visitor.rb#28 + # pkg:gem/prism#lib/prism/dot_visitor.rb:28 def to_dot; end # Returns the value of attribute value. # - # source://prism//lib/prism/dot_visitor.rb#20 + # pkg:gem/prism#lib/prism/dot_visitor.rb:20 def value; end end -# source://prism//lib/prism/dot_visitor.rb#37 +# pkg:gem/prism#lib/prism/dot_visitor.rb:37 class Prism::DotVisitor::Table # @return [Table] a new instance of Table # - # source://prism//lib/prism/dot_visitor.rb#40 + # pkg:gem/prism#lib/prism/dot_visitor.rb:40 def initialize(name); end - # source://prism//lib/prism/dot_visitor.rb#45 + # pkg:gem/prism#lib/prism/dot_visitor.rb:45 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#38 + # pkg:gem/prism#lib/prism/dot_visitor.rb:38 def fields; end # Returns the value of attribute name. # - # source://prism//lib/prism/dot_visitor.rb#38 + # pkg:gem/prism#lib/prism/dot_visitor.rb:38 def name; end - # source://prism//lib/prism/dot_visitor.rb#49 + # pkg:gem/prism#lib/prism/dot_visitor.rb:49 def to_dot; end end @@ -14679,13 +14679,13 @@ end # if a then b else c end # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#6356 +# pkg:gem/prism#lib/prism/node.rb:6356 class Prism::ElseNode < ::Prism::Node # Initialize a new ElseNode node. # # @return [ElseNode] a new instance of ElseNode # - # source://prism//lib/prism/node.rb#6358 + # pkg:gem/prism#lib/prism/node.rb:6358 sig do params( source: Prism::Source, @@ -14702,36 +14702,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#6465 + # pkg:gem/prism#lib/prism/node.rb:6465 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6369 + # pkg:gem/prism#lib/prism/node.rb:6369 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6374 + # pkg:gem/prism#lib/prism/node.rb:6374 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#6386 + # pkg:gem/prism#lib/prism/node.rb:6386 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#6379 + # pkg:gem/prism#lib/prism/node.rb:6379 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#6391 + # pkg:gem/prism#lib/prism/node.rb:6391 sig do params( node_id: Integer, @@ -14747,37 +14747,37 @@ class Prism::ElseNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6396 + # pkg:gem/prism#lib/prism/node.rb:6396 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#6399 + # pkg:gem/prism#lib/prism/node.rb:6399 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#6439 + # pkg:gem/prism#lib/prism/node.rb:6439 sig { returns(String) } def else_keyword; end # attr_reader else_keyword_loc: Location # - # source://prism//lib/prism/node.rb#6404 + # pkg:gem/prism#lib/prism/node.rb:6404 sig { returns(Prism::Location) } def else_keyword_loc; end # def end_keyword: () -> String? # - # source://prism//lib/prism/node.rb#6444 + # pkg:gem/prism#lib/prism/node.rb:6444 sig { returns(T.nilable(String)) } def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://prism//lib/prism/node.rb#6420 + # pkg:gem/prism#lib/prism/node.rb:6420 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -14786,38 +14786,38 @@ class Prism::ElseNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6449 + # pkg:gem/prism#lib/prism/node.rb:6449 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#6412 + # pkg:gem/prism#lib/prism/node.rb:6412 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#6434 + # pkg:gem/prism#lib/prism/node.rb:6434 def save_end_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#6417 + # pkg:gem/prism#lib/prism/node.rb:6417 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#6454 + # pkg:gem/prism#lib/prism/node.rb:6454 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#6459 + # pkg:gem/prism#lib/prism/node.rb:6459 def type; end end end @@ -14825,11 +14825,11 @@ end # EmbDocComment objects correspond to comments that are surrounded by =begin # and =end. # -# source://prism//lib/prism/parse_result.rb#549 +# pkg:gem/prism#lib/prism/parse_result.rb:549 class Prism::EmbDocComment < ::Prism::Comment # Returns a string representation of this comment. # - # source://prism//lib/prism/parse_result.rb#556 + # pkg:gem/prism#lib/prism/parse_result.rb:556 sig { returns(String) } def inspect; end @@ -14837,7 +14837,7 @@ class Prism::EmbDocComment < ::Prism::Comment # # @return [Boolean] # - # source://prism//lib/prism/parse_result.rb#551 + # pkg:gem/prism#lib/prism/parse_result.rb:551 sig { override.returns(T::Boolean) } def trailing?; end end @@ -14847,13 +14847,13 @@ end # "foo #{bar}" # ^^^^^^ # -# source://prism//lib/prism/node.rb#6477 +# pkg:gem/prism#lib/prism/node.rb:6477 class Prism::EmbeddedStatementsNode < ::Prism::Node # Initialize a new EmbeddedStatementsNode node. # # @return [EmbeddedStatementsNode] a new instance of EmbeddedStatementsNode # - # source://prism//lib/prism/node.rb#6479 + # pkg:gem/prism#lib/prism/node.rb:6479 sig do params( source: Prism::Source, @@ -14870,48 +14870,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#6580 + # pkg:gem/prism#lib/prism/node.rb:6580 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6490 + # pkg:gem/prism#lib/prism/node.rb:6490 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6495 + # pkg:gem/prism#lib/prism/node.rb:6495 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#6559 + # pkg:gem/prism#lib/prism/node.rb:6559 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#6541 + # pkg:gem/prism#lib/prism/node.rb:6541 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#6507 + # pkg:gem/prism#lib/prism/node.rb:6507 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#6500 + # pkg:gem/prism#lib/prism/node.rb:6500 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#6512 + # pkg:gem/prism#lib/prism/node.rb:6512 sig do params( node_id: Integer, @@ -14927,13 +14927,13 @@ class Prism::EmbeddedStatementsNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6517 + # pkg:gem/prism#lib/prism/node.rb:6517 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#6520 + # pkg:gem/prism#lib/prism/node.rb:6520 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -14942,50 +14942,50 @@ class Prism::EmbeddedStatementsNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6564 + # pkg:gem/prism#lib/prism/node.rb:6564 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#6554 + # pkg:gem/prism#lib/prism/node.rb:6554 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#6525 + # pkg:gem/prism#lib/prism/node.rb:6525 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#6549 + # pkg:gem/prism#lib/prism/node.rb:6549 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#6533 + # pkg:gem/prism#lib/prism/node.rb:6533 def save_opening_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#6538 + # pkg:gem/prism#lib/prism/node.rb:6538 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#6569 + # pkg:gem/prism#lib/prism/node.rb:6569 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#6574 + # pkg:gem/prism#lib/prism/node.rb:6574 def type; end end end @@ -14995,13 +14995,13 @@ end # "foo #@bar" # ^^^^^ # -# source://prism//lib/prism/node.rb#6592 +# pkg:gem/prism#lib/prism/node.rb:6592 class Prism::EmbeddedVariableNode < ::Prism::Node # Initialize a new EmbeddedVariableNode node. # # @return [EmbeddedVariableNode] a new instance of EmbeddedVariableNode # - # source://prism//lib/prism/node.rb#6594 + # pkg:gem/prism#lib/prism/node.rb:6594 sig do params( source: Prism::Source, @@ -15017,36 +15017,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#6674 + # pkg:gem/prism#lib/prism/node.rb:6674 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6604 + # pkg:gem/prism#lib/prism/node.rb:6604 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6609 + # pkg:gem/prism#lib/prism/node.rb:6609 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#6619 + # pkg:gem/prism#lib/prism/node.rb:6619 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#6614 + # pkg:gem/prism#lib/prism/node.rb:6614 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#6624 + # pkg:gem/prism#lib/prism/node.rb:6624 sig do params( node_id: Integer, @@ -15061,13 +15061,13 @@ class Prism::EmbeddedVariableNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6629 + # pkg:gem/prism#lib/prism/node.rb:6629 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#6632 + # pkg:gem/prism#lib/prism/node.rb:6632 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15076,37 +15076,37 @@ class Prism::EmbeddedVariableNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6658 + # pkg:gem/prism#lib/prism/node.rb:6658 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#6653 + # pkg:gem/prism#lib/prism/node.rb:6653 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#6637 + # pkg:gem/prism#lib/prism/node.rb:6637 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#6645 + # pkg:gem/prism#lib/prism/node.rb:6645 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#6663 + # pkg:gem/prism#lib/prism/node.rb:6663 sig { override.returns(Symbol) } def type; end # attr_reader variable: InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode # - # source://prism//lib/prism/node.rb#6650 + # pkg:gem/prism#lib/prism/node.rb:6650 sig do returns(T.any(Prism::InstanceVariableReadNode, Prism::ClassVariableReadNode, Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode)) end @@ -15115,24 +15115,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#6668 + # pkg:gem/prism#lib/prism/node.rb:6668 def type; end end end # Flags for nodes that have unescaped content. # -# source://prism//lib/prism/node.rb#18708 +# pkg:gem/prism#lib/prism/node.rb:18708 module Prism::EncodingFlags; end # internal bytes forced the encoding to binary # -# source://prism//lib/prism/node.rb#18713 +# pkg:gem/prism#lib/prism/node.rb:18713 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#18710 +# pkg:gem/prism#lib/prism/node.rb:18710 Prism::EncodingFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # Represents an `ensure` clause in a `begin` statement. @@ -15144,13 +15144,13 @@ Prism::EncodingFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # bar # end # -# source://prism//lib/prism/node.rb#6689 +# pkg:gem/prism#lib/prism/node.rb:6689 class Prism::EnsureNode < ::Prism::Node # Initialize a new EnsureNode node. # # @return [EnsureNode] a new instance of EnsureNode # - # source://prism//lib/prism/node.rb#6691 + # pkg:gem/prism#lib/prism/node.rb:6691 sig do params( source: Prism::Source, @@ -15167,36 +15167,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#6792 + # pkg:gem/prism#lib/prism/node.rb:6792 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6702 + # pkg:gem/prism#lib/prism/node.rb:6702 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6707 + # pkg:gem/prism#lib/prism/node.rb:6707 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#6719 + # pkg:gem/prism#lib/prism/node.rb:6719 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#6712 + # pkg:gem/prism#lib/prism/node.rb:6712 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#6724 + # pkg:gem/prism#lib/prism/node.rb:6724 sig do params( node_id: Integer, @@ -15212,37 +15212,37 @@ class Prism::EnsureNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6729 + # pkg:gem/prism#lib/prism/node.rb:6729 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#6732 + # pkg:gem/prism#lib/prism/node.rb:6732 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#6771 + # pkg:gem/prism#lib/prism/node.rb:6771 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism//lib/prism/node.rb#6753 + # pkg:gem/prism#lib/prism/node.rb:6753 sig { returns(Prism::Location) } def end_keyword_loc; end # def ensure_keyword: () -> String # - # source://prism//lib/prism/node.rb#6766 + # pkg:gem/prism#lib/prism/node.rb:6766 sig { returns(String) } def ensure_keyword; end # attr_reader ensure_keyword_loc: Location # - # source://prism//lib/prism/node.rb#6737 + # pkg:gem/prism#lib/prism/node.rb:6737 sig { returns(Prism::Location) } def ensure_keyword_loc; end @@ -15251,38 +15251,38 @@ class Prism::EnsureNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6776 + # pkg:gem/prism#lib/prism/node.rb:6776 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#6761 + # pkg:gem/prism#lib/prism/node.rb:6761 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#6745 + # pkg:gem/prism#lib/prism/node.rb:6745 def save_ensure_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#6750 + # pkg:gem/prism#lib/prism/node.rb:6750 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#6781 + # pkg:gem/prism#lib/prism/node.rb:6781 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#6786 + # pkg:gem/prism#lib/prism/node.rb:6786 def type; end end end @@ -15292,62 +15292,62 @@ end # false # ^^^^^ # -# source://prism//lib/prism/node.rb#6804 +# pkg:gem/prism#lib/prism/node.rb:6804 class Prism::FalseNode < ::Prism::Node # Initialize a new FalseNode node. # # @return [FalseNode] a new instance of FalseNode # - # source://prism//lib/prism/node.rb#6806 + # pkg:gem/prism#lib/prism/node.rb:6806 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#6863 + # pkg:gem/prism#lib/prism/node.rb:6863 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6814 + # pkg:gem/prism#lib/prism/node.rb:6814 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6819 + # pkg:gem/prism#lib/prism/node.rb:6819 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#6829 + # pkg:gem/prism#lib/prism/node.rb:6829 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#6824 + # pkg:gem/prism#lib/prism/node.rb:6824 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#6834 + # pkg:gem/prism#lib/prism/node.rb:6834 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6839 + # pkg:gem/prism#lib/prism/node.rb:6839 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#6842 + # pkg:gem/prism#lib/prism/node.rb:6842 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15356,20 +15356,20 @@ class Prism::FalseNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#6847 + # pkg:gem/prism#lib/prism/node.rb:6847 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#6852 + # pkg:gem/prism#lib/prism/node.rb:6852 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#6857 + # pkg:gem/prism#lib/prism/node.rb:6857 def type; end end end @@ -15388,13 +15388,13 @@ end # foo => *bar, baz, *qux # ^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#6881 +# pkg:gem/prism#lib/prism/node.rb:6881 class Prism::FindPatternNode < ::Prism::Node # Initialize a new FindPatternNode node. # # @return [FindPatternNode] a new instance of FindPatternNode # - # source://prism//lib/prism/node.rb#6883 + # pkg:gem/prism#lib/prism/node.rb:6883 sig do params( source: Prism::Source, @@ -15414,24 +15414,24 @@ 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#7044 + # pkg:gem/prism#lib/prism/node.rb:7044 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#6897 + # pkg:gem/prism#lib/prism/node.rb:6897 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6902 + # pkg:gem/prism#lib/prism/node.rb:6902 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#7023 + # pkg:gem/prism#lib/prism/node.rb:7023 sig { returns(T.nilable(String)) } def closing; end @@ -15443,19 +15443,19 @@ class Prism::FindPatternNode < ::Prism::Node # foo in Foo(*bar, baz, *qux) # ^ # - # source://prism//lib/prism/node.rb#6999 + # pkg:gem/prism#lib/prism/node.rb:6999 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#6917 + # pkg:gem/prism#lib/prism/node.rb:6917 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#6907 + # pkg:gem/prism#lib/prism/node.rb:6907 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -15464,13 +15464,13 @@ class Prism::FindPatternNode < ::Prism::Node # foo in Foo(*bar, baz, *qux) # ^^^ # - # source://prism//lib/prism/node.rb#6938 + # pkg:gem/prism#lib/prism/node.rb:6938 sig { returns(T.nilable(T.any(Prism::ConstantPathNode, Prism::ConstantReadNode))) } def constant; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?constant: ConstantPathNode | ConstantReadNode | nil, ?left: SplatNode, ?requireds: Array[Prism::node], ?right: SplatNode | MissingNode, ?opening_loc: Location?, ?closing_loc: Location?) -> FindPatternNode # - # source://prism//lib/prism/node.rb#6922 + # pkg:gem/prism#lib/prism/node.rb:6922 sig do params( node_id: Integer, @@ -15489,13 +15489,13 @@ class Prism::FindPatternNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#6927 + # pkg:gem/prism#lib/prism/node.rb:6927 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, constant: ConstantPathNode | ConstantReadNode | nil, left: SplatNode, requireds: Array[Prism::node], right: SplatNode | MissingNode, opening_loc: Location?, closing_loc: Location? } # - # source://prism//lib/prism/node.rb#6930 + # pkg:gem/prism#lib/prism/node.rb:6930 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15504,7 +15504,7 @@ class Prism::FindPatternNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7028 + # pkg:gem/prism#lib/prism/node.rb:7028 sig { override.returns(String) } def inspect; end @@ -15516,13 +15516,13 @@ class Prism::FindPatternNode < ::Prism::Node # foo in Foo(*bar, baz, *qux) # ^^^^ # - # source://prism//lib/prism/node.rb#6947 + # pkg:gem/prism#lib/prism/node.rb:6947 sig { returns(Prism::SplatNode) } def left; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#7018 + # pkg:gem/prism#lib/prism/node.rb:7018 sig { returns(T.nilable(String)) } def opening; end @@ -15534,7 +15534,7 @@ class Prism::FindPatternNode < ::Prism::Node # foo in Foo(*bar, baz, *qux) # ^ # - # source://prism//lib/prism/node.rb#6974 + # pkg:gem/prism#lib/prism/node.rb:6974 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -15546,7 +15546,7 @@ class Prism::FindPatternNode < ::Prism::Node # foo in Foo(*bar, baz, 1, *qux) # ^^^^^^ # - # source://prism//lib/prism/node.rb#6956 + # pkg:gem/prism#lib/prism/node.rb:6956 sig { returns(T::Array[Prism::Node]) } def requireds; end @@ -15558,32 +15558,32 @@ class Prism::FindPatternNode < ::Prism::Node # foo in Foo(*bar, baz, *qux) # ^^^^ # - # source://prism//lib/prism/node.rb#6965 + # pkg:gem/prism#lib/prism/node.rb:6965 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#7013 + # pkg:gem/prism#lib/prism/node.rb:7013 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#6988 + # pkg:gem/prism#lib/prism/node.rb:6988 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7033 + # pkg:gem/prism#lib/prism/node.rb:7033 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#7038 + # pkg:gem/prism#lib/prism/node.rb:7038 def type; end end end @@ -15593,13 +15593,13 @@ end # baz if foo .. bar # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#7060 +# pkg:gem/prism#lib/prism/node.rb:7060 class Prism::FlipFlopNode < ::Prism::Node # Initialize a new FlipFlopNode node. # # @return [FlipFlopNode] a new instance of FlipFlopNode # - # source://prism//lib/prism/node.rb#7062 + # pkg:gem/prism#lib/prism/node.rb:7062 sig do params( source: Prism::Source, @@ -15616,36 +15616,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#7154 + # pkg:gem/prism#lib/prism/node.rb:7154 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7073 + # pkg:gem/prism#lib/prism/node.rb:7073 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7078 + # pkg:gem/prism#lib/prism/node.rb:7078 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#7091 + # pkg:gem/prism#lib/prism/node.rb:7091 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#7083 + # pkg:gem/prism#lib/prism/node.rb:7083 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#7096 + # pkg:gem/prism#lib/prism/node.rb:7096 sig do params( node_id: Integer, @@ -15661,13 +15661,13 @@ class Prism::FlipFlopNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7101 + # pkg:gem/prism#lib/prism/node.rb:7101 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#7104 + # pkg:gem/prism#lib/prism/node.rb:7104 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15675,7 +15675,7 @@ class Prism::FlipFlopNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#7109 + # pkg:gem/prism#lib/prism/node.rb:7109 sig { returns(T::Boolean) } def exclude_end?; end @@ -15684,50 +15684,50 @@ class Prism::FlipFlopNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7138 + # pkg:gem/prism#lib/prism/node.rb:7138 sig { override.returns(String) } def inspect; end # attr_reader left: Prism::node? # - # source://prism//lib/prism/node.rb#7114 + # pkg:gem/prism#lib/prism/node.rb:7114 sig { returns(T.nilable(Prism::Node)) } def left; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#7133 + # pkg:gem/prism#lib/prism/node.rb:7133 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#7120 + # pkg:gem/prism#lib/prism/node.rb:7120 sig { returns(Prism::Location) } def operator_loc; end # attr_reader right: Prism::node? # - # source://prism//lib/prism/node.rb#7117 + # pkg:gem/prism#lib/prism/node.rb:7117 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#7128 + # pkg:gem/prism#lib/prism/node.rb:7128 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7143 + # pkg:gem/prism#lib/prism/node.rb:7143 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#7148 + # pkg:gem/prism#lib/prism/node.rb:7148 def type; end end end @@ -15737,62 +15737,62 @@ end # 1.0 # ^^^ # -# source://prism//lib/prism/node.rb#7167 +# pkg:gem/prism#lib/prism/node.rb:7167 class Prism::FloatNode < ::Prism::Node # Initialize a new FloatNode node. # # @return [FloatNode] a new instance of FloatNode # - # source://prism//lib/prism/node.rb#7169 + # pkg:gem/prism#lib/prism/node.rb:7169 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#7230 + # pkg:gem/prism#lib/prism/node.rb:7230 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7178 + # pkg:gem/prism#lib/prism/node.rb:7178 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7183 + # pkg:gem/prism#lib/prism/node.rb:7183 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#7193 + # pkg:gem/prism#lib/prism/node.rb:7193 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#7188 + # pkg:gem/prism#lib/prism/node.rb:7188 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#7198 + # pkg:gem/prism#lib/prism/node.rb:7198 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7203 + # pkg:gem/prism#lib/prism/node.rb:7203 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#7206 + # pkg:gem/prism#lib/prism/node.rb:7206 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -15801,26 +15801,26 @@ class Prism::FloatNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7214 + # pkg:gem/prism#lib/prism/node.rb:7214 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7219 + # pkg:gem/prism#lib/prism/node.rb:7219 sig { override.returns(Symbol) } def type; end # The value of the floating point number as a Float. # - # source://prism//lib/prism/node.rb#7211 + # pkg:gem/prism#lib/prism/node.rb:7211 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#7224 + # pkg:gem/prism#lib/prism/node.rb:7224 def type; end end end @@ -15830,13 +15830,13 @@ end # for i in a end # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#7240 +# pkg:gem/prism#lib/prism/node.rb:7240 class Prism::ForNode < ::Prism::Node # Initialize a new ForNode node. # # @return [ForNode] a new instance of ForNode # - # source://prism//lib/prism/node.rb#7242 + # pkg:gem/prism#lib/prism/node.rb:7242 sig do params( source: Prism::Source, @@ -15857,18 +15857,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#7420 + # pkg:gem/prism#lib/prism/node.rb:7420 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7257 + # pkg:gem/prism#lib/prism/node.rb:7257 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7262 + # pkg:gem/prism#lib/prism/node.rb:7262 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end @@ -15877,25 +15877,25 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^ # - # source://prism//lib/prism/node.rb#7303 + # pkg:gem/prism#lib/prism/node.rb:7303 sig { returns(Prism::Node) } def collection; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#7276 + # pkg:gem/prism#lib/prism/node.rb:7276 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#7267 + # pkg:gem/prism#lib/prism/node.rb:7267 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#7281 + # pkg:gem/prism#lib/prism/node.rb:7281 sig do params( node_id: Integer, @@ -15915,19 +15915,19 @@ class Prism::ForNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7286 + # pkg:gem/prism#lib/prism/node.rb:7286 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#7289 + # pkg:gem/prism#lib/prism/node.rb:7289 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#7394 + # pkg:gem/prism#lib/prism/node.rb:7394 sig { returns(T.nilable(String)) } def do_keyword; end @@ -15936,13 +15936,13 @@ class Prism::ForNode < ::Prism::Node # for i in a do end # ^^ # - # source://prism//lib/prism/node.rb#7349 + # pkg:gem/prism#lib/prism/node.rb:7349 sig { returns(T.nilable(Prism::Location)) } def do_keyword_loc; end # def end_keyword: () -> String # - # source://prism//lib/prism/node.rb#7399 + # pkg:gem/prism#lib/prism/node.rb:7399 sig { returns(String) } def end_keyword; end @@ -15951,7 +15951,7 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^^^ # - # source://prism//lib/prism/node.rb#7371 + # pkg:gem/prism#lib/prism/node.rb:7371 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -15960,7 +15960,7 @@ class Prism::ForNode < ::Prism::Node # def for_keyword: () -> String # - # source://prism//lib/prism/node.rb#7384 + # pkg:gem/prism#lib/prism/node.rb:7384 sig { returns(String) } def for_keyword; end @@ -15969,13 +15969,13 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^^^ # - # source://prism//lib/prism/node.rb#7317 + # pkg:gem/prism#lib/prism/node.rb:7317 sig { returns(Prism::Location) } def for_keyword_loc; end # def in_keyword: () -> String # - # source://prism//lib/prism/node.rb#7389 + # pkg:gem/prism#lib/prism/node.rb:7389 sig { returns(String) } def in_keyword; end @@ -15984,7 +15984,7 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^^ # - # source://prism//lib/prism/node.rb#7333 + # pkg:gem/prism#lib/prism/node.rb:7333 sig { returns(Prism::Location) } def in_keyword_loc; end @@ -15993,7 +15993,7 @@ class Prism::ForNode < ::Prism::Node # for i in a end # ^ # - # source://prism//lib/prism/node.rb#7297 + # pkg:gem/prism#lib/prism/node.rb:7297 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 @@ -16001,32 +16001,32 @@ class Prism::ForNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7404 + # pkg:gem/prism#lib/prism/node.rb:7404 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#7363 + # pkg:gem/prism#lib/prism/node.rb:7363 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#7379 + # pkg:gem/prism#lib/prism/node.rb:7379 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#7325 + # pkg:gem/prism#lib/prism/node.rb:7325 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#7341 + # pkg:gem/prism#lib/prism/node.rb:7341 def save_in_keyword_loc(repository); end # Represents the body of statements to execute for each iteration of the loop. @@ -16036,20 +16036,20 @@ class Prism::ForNode < ::Prism::Node # ^^^^^^ # end # - # source://prism//lib/prism/node.rb#7311 + # pkg:gem/prism#lib/prism/node.rb:7311 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#7409 + # pkg:gem/prism#lib/prism/node.rb:7409 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#7414 + # pkg:gem/prism#lib/prism/node.rb:7414 def type; end end end @@ -16061,62 +16061,62 @@ end # ^^^ # end # -# source://prism//lib/prism/node.rb#7438 +# pkg:gem/prism#lib/prism/node.rb:7438 class Prism::ForwardingArgumentsNode < ::Prism::Node # Initialize a new ForwardingArgumentsNode node. # # @return [ForwardingArgumentsNode] a new instance of ForwardingArgumentsNode # - # source://prism//lib/prism/node.rb#7440 + # pkg:gem/prism#lib/prism/node.rb:7440 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#7497 + # pkg:gem/prism#lib/prism/node.rb:7497 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7448 + # pkg:gem/prism#lib/prism/node.rb:7448 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7453 + # pkg:gem/prism#lib/prism/node.rb:7453 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#7463 + # pkg:gem/prism#lib/prism/node.rb:7463 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#7458 + # pkg:gem/prism#lib/prism/node.rb:7458 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#7468 + # pkg:gem/prism#lib/prism/node.rb:7468 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7473 + # pkg:gem/prism#lib/prism/node.rb:7473 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#7476 + # pkg:gem/prism#lib/prism/node.rb:7476 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16125,20 +16125,20 @@ class Prism::ForwardingArgumentsNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7481 + # pkg:gem/prism#lib/prism/node.rb:7481 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7486 + # pkg:gem/prism#lib/prism/node.rb:7486 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#7491 + # pkg:gem/prism#lib/prism/node.rb:7491 def type; end end end @@ -16149,62 +16149,62 @@ end # ^^^ # end # -# source://prism//lib/prism/node.rb#7507 +# pkg:gem/prism#lib/prism/node.rb:7507 class Prism::ForwardingParameterNode < ::Prism::Node # Initialize a new ForwardingParameterNode node. # # @return [ForwardingParameterNode] a new instance of ForwardingParameterNode # - # source://prism//lib/prism/node.rb#7509 + # pkg:gem/prism#lib/prism/node.rb:7509 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#7566 + # pkg:gem/prism#lib/prism/node.rb:7566 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7517 + # pkg:gem/prism#lib/prism/node.rb:7517 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7522 + # pkg:gem/prism#lib/prism/node.rb:7522 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#7532 + # pkg:gem/prism#lib/prism/node.rb:7532 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#7527 + # pkg:gem/prism#lib/prism/node.rb:7527 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#7537 + # pkg:gem/prism#lib/prism/node.rb:7537 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7542 + # pkg:gem/prism#lib/prism/node.rb:7542 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#7545 + # pkg:gem/prism#lib/prism/node.rb:7545 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16213,20 +16213,20 @@ class Prism::ForwardingParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7550 + # pkg:gem/prism#lib/prism/node.rb:7550 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7555 + # pkg:gem/prism#lib/prism/node.rb:7555 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#7560 + # pkg:gem/prism#lib/prism/node.rb:7560 def type; end end end @@ -16241,13 +16241,13 @@ end # # If it has any other arguments, it would be a `SuperNode` instead. # -# source://prism//lib/prism/node.rb#7580 +# pkg:gem/prism#lib/prism/node.rb:7580 class Prism::ForwardingSuperNode < ::Prism::Node # Initialize a new ForwardingSuperNode node. # # @return [ForwardingSuperNode] a new instance of ForwardingSuperNode # - # source://prism//lib/prism/node.rb#7582 + # pkg:gem/prism#lib/prism/node.rb:7582 sig do params( source: Prism::Source, @@ -16262,42 +16262,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#7645 + # pkg:gem/prism#lib/prism/node.rb:7645 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7591 + # pkg:gem/prism#lib/prism/node.rb:7591 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # All other arguments are forwarded as normal, except the original block is replaced with the new block. # - # source://prism//lib/prism/node.rb#7626 + # pkg:gem/prism#lib/prism/node.rb:7626 sig { returns(T.nilable(Prism::BlockNode)) } def block; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7596 + # pkg:gem/prism#lib/prism/node.rb:7596 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#7608 + # pkg:gem/prism#lib/prism/node.rb:7608 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#7601 + # pkg:gem/prism#lib/prism/node.rb:7601 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#7613 + # pkg:gem/prism#lib/prism/node.rb:7613 sig do params( node_id: Integer, @@ -16311,13 +16311,13 @@ class Prism::ForwardingSuperNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7618 + # pkg:gem/prism#lib/prism/node.rb:7618 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#7621 + # pkg:gem/prism#lib/prism/node.rb:7621 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16326,20 +16326,20 @@ class Prism::ForwardingSuperNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7629 + # pkg:gem/prism#lib/prism/node.rb:7629 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7634 + # pkg:gem/prism#lib/prism/node.rb:7634 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#7639 + # pkg:gem/prism#lib/prism/node.rb:7639 def type; end end end @@ -16349,13 +16349,13 @@ end # $target &&= value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#7655 +# pkg:gem/prism#lib/prism/node.rb:7655 class Prism::GlobalVariableAndWriteNode < ::Prism::Node # Initialize a new GlobalVariableAndWriteNode node. # # @return [GlobalVariableAndWriteNode] a new instance of GlobalVariableAndWriteNode # - # source://prism//lib/prism/node.rb#7657 + # pkg:gem/prism#lib/prism/node.rb:7657 sig do params( source: Prism::Source, @@ -16373,36 +16373,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#7755 + # pkg:gem/prism#lib/prism/node.rb:7755 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7669 + # pkg:gem/prism#lib/prism/node.rb:7669 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7674 + # pkg:gem/prism#lib/prism/node.rb:7674 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#7684 + # pkg:gem/prism#lib/prism/node.rb:7684 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#7679 + # pkg:gem/prism#lib/prism/node.rb:7679 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#7689 + # pkg:gem/prism#lib/prism/node.rb:7689 sig do params( node_id: Integer, @@ -16419,17 +16419,17 @@ class Prism::GlobalVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7694 + # pkg:gem/prism#lib/prism/node.rb:7694 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#7697 + # pkg:gem/prism#lib/prism/node.rb:7697 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#201 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:201 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -16437,62 +16437,62 @@ class Prism::GlobalVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7739 + # pkg:gem/prism#lib/prism/node.rb:7739 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#7702 + # pkg:gem/prism#lib/prism/node.rb:7702 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#7705 + # pkg:gem/prism#lib/prism/node.rb:7705 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#7734 + # pkg:gem/prism#lib/prism/node.rb:7734 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#7718 + # pkg:gem/prism#lib/prism/node.rb:7718 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#7713 + # pkg:gem/prism#lib/prism/node.rb:7713 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#7726 + # pkg:gem/prism#lib/prism/node.rb:7726 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7744 + # pkg:gem/prism#lib/prism/node.rb:7744 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#7731 + # pkg:gem/prism#lib/prism/node.rb:7731 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#7749 + # pkg:gem/prism#lib/prism/node.rb:7749 def type; end end end @@ -16502,13 +16502,13 @@ end # $target += value # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#7768 +# pkg:gem/prism#lib/prism/node.rb:7768 class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # Initialize a new GlobalVariableOperatorWriteNode node. # # @return [GlobalVariableOperatorWriteNode] a new instance of GlobalVariableOperatorWriteNode # - # source://prism//lib/prism/node.rb#7770 + # pkg:gem/prism#lib/prism/node.rb:7770 sig do params( source: Prism::Source, @@ -16527,48 +16527,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#7867 + # pkg:gem/prism#lib/prism/node.rb:7867 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7783 + # pkg:gem/prism#lib/prism/node.rb:7783 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#7848 + # pkg:gem/prism#lib/prism/node.rb:7848 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#7832 + # pkg:gem/prism#lib/prism/node.rb:7832 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7788 + # pkg:gem/prism#lib/prism/node.rb:7788 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#7798 + # pkg:gem/prism#lib/prism/node.rb:7798 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#7793 + # pkg:gem/prism#lib/prism/node.rb:7793 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#7803 + # pkg:gem/prism#lib/prism/node.rb:7803 sig do params( node_id: Integer, @@ -16586,17 +16586,17 @@ class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7808 + # pkg:gem/prism#lib/prism/node.rb:7808 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#7811 + # pkg:gem/prism#lib/prism/node.rb:7811 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#213 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:213 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -16604,62 +16604,62 @@ class Prism::GlobalVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7851 + # pkg:gem/prism#lib/prism/node.rb:7851 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#7816 + # pkg:gem/prism#lib/prism/node.rb:7816 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#7819 + # pkg:gem/prism#lib/prism/node.rb:7819 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#406 + # pkg:gem/prism#lib/prism/node_ext.rb:406 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#413 + # pkg:gem/prism#lib/prism/node_ext.rb:413 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#7840 + # pkg:gem/prism#lib/prism/node.rb:7840 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#7827 + # pkg:gem/prism#lib/prism/node.rb:7827 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7856 + # pkg:gem/prism#lib/prism/node.rb:7856 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#7845 + # pkg:gem/prism#lib/prism/node.rb:7845 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#7861 + # pkg:gem/prism#lib/prism/node.rb:7861 def type; end end end @@ -16669,13 +16669,13 @@ end # $target ||= value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#7881 +# pkg:gem/prism#lib/prism/node.rb:7881 class Prism::GlobalVariableOrWriteNode < ::Prism::Node # Initialize a new GlobalVariableOrWriteNode node. # # @return [GlobalVariableOrWriteNode] a new instance of GlobalVariableOrWriteNode # - # source://prism//lib/prism/node.rb#7883 + # pkg:gem/prism#lib/prism/node.rb:7883 sig do params( source: Prism::Source, @@ -16693,36 +16693,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#7981 + # pkg:gem/prism#lib/prism/node.rb:7981 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#7895 + # pkg:gem/prism#lib/prism/node.rb:7895 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7900 + # pkg:gem/prism#lib/prism/node.rb:7900 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#7910 + # pkg:gem/prism#lib/prism/node.rb:7910 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#7905 + # pkg:gem/prism#lib/prism/node.rb:7905 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#7915 + # pkg:gem/prism#lib/prism/node.rb:7915 sig do params( node_id: Integer, @@ -16739,17 +16739,17 @@ class Prism::GlobalVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#7920 + # pkg:gem/prism#lib/prism/node.rb:7920 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#7923 + # pkg:gem/prism#lib/prism/node.rb:7923 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#207 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:207 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -16757,62 +16757,62 @@ class Prism::GlobalVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#7965 + # pkg:gem/prism#lib/prism/node.rb:7965 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#7928 + # pkg:gem/prism#lib/prism/node.rb:7928 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#7931 + # pkg:gem/prism#lib/prism/node.rb:7931 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#7960 + # pkg:gem/prism#lib/prism/node.rb:7960 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#7944 + # pkg:gem/prism#lib/prism/node.rb:7944 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#7939 + # pkg:gem/prism#lib/prism/node.rb:7939 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#7952 + # pkg:gem/prism#lib/prism/node.rb:7952 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#7970 + # pkg:gem/prism#lib/prism/node.rb:7970 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#7957 + # pkg:gem/prism#lib/prism/node.rb:7957 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#7975 + # pkg:gem/prism#lib/prism/node.rb:7975 def type; end end end @@ -16822,49 +16822,49 @@ end # $foo # ^^^^ # -# source://prism//lib/prism/node.rb#7994 +# pkg:gem/prism#lib/prism/node.rb:7994 class Prism::GlobalVariableReadNode < ::Prism::Node # Initialize a new GlobalVariableReadNode node. # # @return [GlobalVariableReadNode] a new instance of GlobalVariableReadNode # - # source://prism//lib/prism/node.rb#7996 + # pkg:gem/prism#lib/prism/node.rb:7996 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#8061 + # pkg:gem/prism#lib/prism/node.rb:8061 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8005 + # pkg:gem/prism#lib/prism/node.rb:8005 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8010 + # pkg:gem/prism#lib/prism/node.rb:8010 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#8020 + # pkg:gem/prism#lib/prism/node.rb:8020 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#8015 + # pkg:gem/prism#lib/prism/node.rb:8015 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#8025 + # pkg:gem/prism#lib/prism/node.rb:8025 sig do params( node_id: Integer, @@ -16878,13 +16878,13 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8030 + # pkg:gem/prism#lib/prism/node.rb:8030 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#8033 + # pkg:gem/prism#lib/prism/node.rb:8033 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16893,7 +16893,7 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8045 + # pkg:gem/prism#lib/prism/node.rb:8045 sig { override.returns(String) } def inspect; end @@ -16903,20 +16903,20 @@ class Prism::GlobalVariableReadNode < ::Prism::Node # # $_Test # name `:$_Test` # - # source://prism//lib/prism/node.rb#8042 + # pkg:gem/prism#lib/prism/node.rb:8042 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#8050 + # pkg:gem/prism#lib/prism/node.rb:8050 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#8055 + # pkg:gem/prism#lib/prism/node.rb:8055 def type; end end end @@ -16926,49 +16926,49 @@ end # $foo, $bar = baz # ^^^^ ^^^^ # -# source://prism//lib/prism/node.rb#8071 +# pkg:gem/prism#lib/prism/node.rb:8071 class Prism::GlobalVariableTargetNode < ::Prism::Node # Initialize a new GlobalVariableTargetNode node. # # @return [GlobalVariableTargetNode] a new instance of GlobalVariableTargetNode # - # source://prism//lib/prism/node.rb#8073 + # pkg:gem/prism#lib/prism/node.rb:8073 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#8134 + # pkg:gem/prism#lib/prism/node.rb:8134 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8082 + # pkg:gem/prism#lib/prism/node.rb:8082 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8087 + # pkg:gem/prism#lib/prism/node.rb:8087 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#8097 + # pkg:gem/prism#lib/prism/node.rb:8097 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#8092 + # pkg:gem/prism#lib/prism/node.rb:8092 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#8102 + # pkg:gem/prism#lib/prism/node.rb:8102 sig do params( node_id: Integer, @@ -16982,13 +16982,13 @@ class Prism::GlobalVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8107 + # pkg:gem/prism#lib/prism/node.rb:8107 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#8110 + # pkg:gem/prism#lib/prism/node.rb:8110 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -16997,26 +16997,26 @@ class Prism::GlobalVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8118 + # pkg:gem/prism#lib/prism/node.rb:8118 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#8115 + # pkg:gem/prism#lib/prism/node.rb:8115 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#8123 + # pkg:gem/prism#lib/prism/node.rb:8123 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#8128 + # pkg:gem/prism#lib/prism/node.rb:8128 def type; end end end @@ -17026,13 +17026,13 @@ end # $foo = 1 # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#8144 +# pkg:gem/prism#lib/prism/node.rb:8144 class Prism::GlobalVariableWriteNode < ::Prism::Node # Initialize a new GlobalVariableWriteNode node. # # @return [GlobalVariableWriteNode] a new instance of GlobalVariableWriteNode # - # source://prism//lib/prism/node.rb#8146 + # pkg:gem/prism#lib/prism/node.rb:8146 sig do params( source: Prism::Source, @@ -17050,36 +17050,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#8260 + # pkg:gem/prism#lib/prism/node.rb:8260 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8158 + # pkg:gem/prism#lib/prism/node.rb:8158 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8163 + # pkg:gem/prism#lib/prism/node.rb:8163 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#8173 + # pkg:gem/prism#lib/prism/node.rb:8173 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#8168 + # pkg:gem/prism#lib/prism/node.rb:8168 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#8178 + # pkg:gem/prism#lib/prism/node.rb:8178 sig do params( node_id: Integer, @@ -17096,13 +17096,13 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8183 + # pkg:gem/prism#lib/prism/node.rb:8183 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#8186 + # pkg:gem/prism#lib/prism/node.rb:8186 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17111,7 +17111,7 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8244 + # pkg:gem/prism#lib/prism/node.rb:8244 sig { override.returns(String) } def inspect; end @@ -17121,7 +17121,7 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # # $_Test = 123 # name `:$_Test` # - # source://prism//lib/prism/node.rb#8195 + # pkg:gem/prism#lib/prism/node.rb:8195 sig { returns(Symbol) } def name; end @@ -17130,13 +17130,13 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # $foo = :bar # ^^^^ # - # source://prism//lib/prism/node.rb#8201 + # pkg:gem/prism#lib/prism/node.rb:8201 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#8239 + # pkg:gem/prism#lib/prism/node.rb:8239 sig { returns(String) } def operator; end @@ -17145,25 +17145,25 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # $foo = :bar # ^ # - # source://prism//lib/prism/node.rb#8226 + # pkg:gem/prism#lib/prism/node.rb:8226 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#8209 + # pkg:gem/prism#lib/prism/node.rb:8209 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#8234 + # pkg:gem/prism#lib/prism/node.rb:8234 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#8249 + # pkg:gem/prism#lib/prism/node.rb:8249 sig { override.returns(Symbol) } def type; end @@ -17175,14 +17175,14 @@ class Prism::GlobalVariableWriteNode < ::Prism::Node # $-xyz = 123 # ^^^ # - # source://prism//lib/prism/node.rb#8220 + # pkg:gem/prism#lib/prism/node.rb:8220 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#8254 + # pkg:gem/prism#lib/prism/node.rb:8254 def type; end end end @@ -17192,13 +17192,13 @@ end # { a => b } # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#8273 +# pkg:gem/prism#lib/prism/node.rb:8273 class Prism::HashNode < ::Prism::Node # Initialize a new HashNode node. # # @return [HashNode] a new instance of HashNode # - # source://prism//lib/prism/node.rb#8275 + # pkg:gem/prism#lib/prism/node.rb:8275 sig do params( source: Prism::Source, @@ -17215,24 +17215,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#8386 + # pkg:gem/prism#lib/prism/node.rb:8386 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8286 + # pkg:gem/prism#lib/prism/node.rb:8286 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8291 + # pkg:gem/prism#lib/prism/node.rb:8291 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#8365 + # pkg:gem/prism#lib/prism/node.rb:8365 sig { returns(String) } def closing; end @@ -17241,25 +17241,25 @@ class Prism::HashNode < ::Prism::Node # { a => b } # ^ # - # source://prism//lib/prism/node.rb#8347 + # pkg:gem/prism#lib/prism/node.rb:8347 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#8301 + # pkg:gem/prism#lib/prism/node.rb:8301 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#8296 + # pkg:gem/prism#lib/prism/node.rb:8296 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#8306 + # pkg:gem/prism#lib/prism/node.rb:8306 sig do params( node_id: Integer, @@ -17275,13 +17275,13 @@ class Prism::HashNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8311 + # pkg:gem/prism#lib/prism/node.rb:8311 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#8314 + # pkg:gem/prism#lib/prism/node.rb:8314 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17293,7 +17293,7 @@ class Prism::HashNode < ::Prism::Node # { **foo } # ^^^^^ # - # source://prism//lib/prism/node.rb#8341 + # pkg:gem/prism#lib/prism/node.rb:8341 sig { returns(T::Array[T.any(Prism::AssocNode, Prism::AssocSplatNode)]) } def elements; end @@ -17302,13 +17302,13 @@ class Prism::HashNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8370 + # pkg:gem/prism#lib/prism/node.rb:8370 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#8360 + # pkg:gem/prism#lib/prism/node.rb:8360 sig { returns(String) } def opening; end @@ -17317,32 +17317,32 @@ class Prism::HashNode < ::Prism::Node # { a => b } # ^ # - # source://prism//lib/prism/node.rb#8322 + # pkg:gem/prism#lib/prism/node.rb:8322 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#8355 + # pkg:gem/prism#lib/prism/node.rb:8355 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#8330 + # pkg:gem/prism#lib/prism/node.rb:8330 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#8375 + # pkg:gem/prism#lib/prism/node.rb:8375 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#8380 + # pkg:gem/prism#lib/prism/node.rb:8380 def type; end end end @@ -17361,13 +17361,13 @@ end # foo in { a: 1, b: 2 } # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#8408 +# pkg:gem/prism#lib/prism/node.rb:8408 class Prism::HashPatternNode < ::Prism::Node # Initialize a new HashPatternNode node. # # @return [HashPatternNode] a new instance of HashPatternNode # - # source://prism//lib/prism/node.rb#8410 + # pkg:gem/prism#lib/prism/node.rb:8410 sig do params( source: Prism::Source, @@ -17386,24 +17386,24 @@ 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#8563 + # pkg:gem/prism#lib/prism/node.rb:8563 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8423 + # pkg:gem/prism#lib/prism/node.rb:8423 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8428 + # pkg:gem/prism#lib/prism/node.rb:8428 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#8542 + # pkg:gem/prism#lib/prism/node.rb:8542 sig { returns(T.nilable(String)) } def closing; end @@ -17415,19 +17415,19 @@ class Prism::HashPatternNode < ::Prism::Node # foo => Bar[a: 1] # ^ # - # source://prism//lib/prism/node.rb#8518 + # pkg:gem/prism#lib/prism/node.rb:8518 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#8442 + # pkg:gem/prism#lib/prism/node.rb:8442 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#8433 + # pkg:gem/prism#lib/prism/node.rb:8433 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -17439,13 +17439,13 @@ class Prism::HashPatternNode < ::Prism::Node # foo => Bar::Baz[a: 1, b: 2] # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#8466 + # pkg:gem/prism#lib/prism/node.rb:8466 sig { returns(T.nilable(T.any(Prism::ConstantPathNode, Prism::ConstantReadNode))) } def constant; end # def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?constant: ConstantPathNode | ConstantReadNode | nil, ?elements: Array[AssocNode], ?rest: AssocSplatNode | NoKeywordsParameterNode | nil, ?opening_loc: Location?, ?closing_loc: Location?) -> HashPatternNode # - # source://prism//lib/prism/node.rb#8447 + # pkg:gem/prism#lib/prism/node.rb:8447 sig do params( node_id: Integer, @@ -17463,13 +17463,13 @@ class Prism::HashPatternNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8452 + # pkg:gem/prism#lib/prism/node.rb:8452 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end # def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, constant: ConstantPathNode | ConstantReadNode | nil, elements: Array[AssocNode], rest: AssocSplatNode | NoKeywordsParameterNode | nil, opening_loc: Location?, closing_loc: Location? } # - # source://prism//lib/prism/node.rb#8455 + # pkg:gem/prism#lib/prism/node.rb:8455 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17478,7 +17478,7 @@ class Prism::HashPatternNode < ::Prism::Node # foo => { a: 1, b:, ** } # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#8472 + # pkg:gem/prism#lib/prism/node.rb:8472 sig { returns(T::Array[Prism::AssocNode]) } def elements; end @@ -17487,13 +17487,13 @@ class Prism::HashPatternNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8547 + # pkg:gem/prism#lib/prism/node.rb:8547 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#8537 + # pkg:gem/prism#lib/prism/node.rb:8537 sig { returns(T.nilable(String)) } def opening; end @@ -17505,7 +17505,7 @@ class Prism::HashPatternNode < ::Prism::Node # foo => Bar[a: 1] # ^ # - # source://prism//lib/prism/node.rb#8493 + # pkg:gem/prism#lib/prism/node.rb:8493 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end @@ -17520,43 +17520,43 @@ class Prism::HashPatternNode < ::Prism::Node # foo => { a: 1, b:, **nil } # ^^^^^ # - # source://prism//lib/prism/node.rb#8484 + # pkg:gem/prism#lib/prism/node.rb:8484 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#8532 + # pkg:gem/prism#lib/prism/node.rb:8532 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#8507 + # pkg:gem/prism#lib/prism/node.rb:8507 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#8552 + # pkg:gem/prism#lib/prism/node.rb:8552 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#8557 + # pkg:gem/prism#lib/prism/node.rb:8557 def type; end end end -# source://prism//lib/prism/node_ext.rb#55 +# pkg:gem/prism#lib/prism/node_ext.rb:55 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#57 + # pkg:gem/prism#lib/prism/node_ext.rb:57 def heredoc?; end end @@ -17571,13 +17571,13 @@ end # foo ? bar : baz # ^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#8584 +# pkg:gem/prism#lib/prism/node.rb:8584 class Prism::IfNode < ::Prism::Node # Initialize a new IfNode node. # # @return [IfNode] a new instance of IfNode # - # source://prism//lib/prism/node.rb#8586 + # pkg:gem/prism#lib/prism/node.rb:8586 sig do params( source: Prism::Source, @@ -17597,42 +17597,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#8780 + # pkg:gem/prism#lib/prism/node.rb:8780 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8600 + # pkg:gem/prism#lib/prism/node.rb:8600 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8605 + # pkg:gem/prism#lib/prism/node.rb:8605 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#8619 + # pkg:gem/prism#lib/prism/node.rb:8619 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#8610 + # pkg:gem/prism#lib/prism/node.rb:8610 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#488 + # pkg:gem/prism#lib/prism/node_ext.rb:488 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#8624 + # pkg:gem/prism#lib/prism/node.rb:8624 sig do params( node_id: Integer, @@ -17651,19 +17651,19 @@ class Prism::IfNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8629 + # pkg:gem/prism#lib/prism/node.rb:8629 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#8632 + # pkg:gem/prism#lib/prism/node.rb:8632 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#8759 + # pkg:gem/prism#lib/prism/node.rb:8759 sig { returns(T.nilable(String)) } def end_keyword; end @@ -17674,7 +17674,7 @@ class Prism::IfNode < ::Prism::Node # end # ^^^ # - # source://prism//lib/prism/node.rb#8730 + # pkg:gem/prism#lib/prism/node.rb:8730 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -17683,7 +17683,7 @@ class Prism::IfNode < ::Prism::Node # def if_keyword: () -> String? # - # source://prism//lib/prism/node.rb#8749 + # pkg:gem/prism#lib/prism/node.rb:8749 sig { returns(T.nilable(String)) } def if_keyword; end @@ -17694,17 +17694,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#8642 + # pkg:gem/prism#lib/prism/node.rb:8642 sig { returns(T.nilable(Prism::Location)) } def if_keyword_loc; end # def inspect -> String # - # source://prism//lib/prism/node.rb#8764 + # pkg:gem/prism#lib/prism/node.rb:8764 sig { override.returns(String) } def inspect; end - # source://prism//lib/prism/parse_result/newlines.rb#92 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:92 def newline_flag!(lines); end # The node for the condition the `IfNode` is testing. @@ -17720,26 +17720,26 @@ class Prism::IfNode < ::Prism::Node # foo ? bar : baz # ^^^ # - # source://prism//lib/prism/node.rb#8672 + # pkg:gem/prism#lib/prism/node.rb:8672 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#8744 + # pkg:gem/prism#lib/prism/node.rb:8744 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#8656 + # pkg:gem/prism#lib/prism/node.rb:8656 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#8695 + # pkg:gem/prism#lib/prism/node.rb:8695 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. @@ -17751,7 +17751,7 @@ class Prism::IfNode < ::Prism::Node # ^^^ # end # - # source://prism//lib/prism/node.rb#8707 + # pkg:gem/prism#lib/prism/node.rb:8707 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end @@ -17769,13 +17769,13 @@ class Prism::IfNode < ::Prism::Node # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/node.rb#8722 + # pkg:gem/prism#lib/prism/node.rb:8722 sig { returns(T.nilable(T.any(Prism::ElseNode, Prism::IfNode))) } def subsequent; end # def then_keyword: () -> String? # - # source://prism//lib/prism/node.rb#8754 + # pkg:gem/prism#lib/prism/node.rb:8754 sig { returns(T.nilable(String)) } def then_keyword; end @@ -17787,20 +17787,20 @@ class Prism::IfNode < ::Prism::Node # a ? b : c # ^ # - # source://prism//lib/prism/node.rb#8681 + # pkg:gem/prism#lib/prism/node.rb:8681 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#8769 + # pkg:gem/prism#lib/prism/node.rb:8769 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#8774 + # pkg:gem/prism#lib/prism/node.rb:8774 def type; end end end @@ -17810,13 +17810,13 @@ end # 1.0i # ^^^^ # -# source://prism//lib/prism/node.rb#8795 +# pkg:gem/prism#lib/prism/node.rb:8795 class Prism::ImaginaryNode < ::Prism::Node # Initialize a new ImaginaryNode node. # # @return [ImaginaryNode] a new instance of ImaginaryNode # - # source://prism//lib/prism/node.rb#8797 + # pkg:gem/prism#lib/prism/node.rb:8797 sig do params( source: Prism::Source, @@ -17831,36 +17831,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#8858 + # pkg:gem/prism#lib/prism/node.rb:8858 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8806 + # pkg:gem/prism#lib/prism/node.rb:8806 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8811 + # pkg:gem/prism#lib/prism/node.rb:8811 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#8821 + # pkg:gem/prism#lib/prism/node.rb:8821 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#8816 + # pkg:gem/prism#lib/prism/node.rb:8816 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#8826 + # pkg:gem/prism#lib/prism/node.rb:8826 sig do params( node_id: Integer, @@ -17874,13 +17874,13 @@ class Prism::ImaginaryNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8831 + # pkg:gem/prism#lib/prism/node.rb:8831 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#8834 + # pkg:gem/prism#lib/prism/node.rb:8834 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -17889,32 +17889,32 @@ class Prism::ImaginaryNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8842 + # pkg:gem/prism#lib/prism/node.rb:8842 sig { override.returns(String) } def inspect; end # attr_reader numeric: FloatNode | IntegerNode | RationalNode # - # source://prism//lib/prism/node.rb#8839 + # pkg:gem/prism#lib/prism/node.rb:8839 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#8847 + # pkg:gem/prism#lib/prism/node.rb:8847 sig { override.returns(Symbol) } def type; end # Returns the value of the node as a Ruby Complex. # - # source://prism//lib/prism/node_ext.rb#110 + # pkg:gem/prism#lib/prism/node_ext.rb:110 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#8852 + # pkg:gem/prism#lib/prism/node.rb:8852 def type; end end end @@ -17930,13 +17930,13 @@ end # foo in { bar: } # ^^^^ # -# source://prism//lib/prism/node.rb#8874 +# pkg:gem/prism#lib/prism/node.rb:8874 class Prism::ImplicitNode < ::Prism::Node # Initialize a new ImplicitNode node. # # @return [ImplicitNode] a new instance of ImplicitNode # - # source://prism//lib/prism/node.rb#8876 + # pkg:gem/prism#lib/prism/node.rb:8876 sig do params( source: Prism::Source, @@ -17951,36 +17951,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#8937 + # pkg:gem/prism#lib/prism/node.rb:8937 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8885 + # pkg:gem/prism#lib/prism/node.rb:8885 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8890 + # pkg:gem/prism#lib/prism/node.rb:8890 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#8900 + # pkg:gem/prism#lib/prism/node.rb:8900 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#8895 + # pkg:gem/prism#lib/prism/node.rb:8895 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#8905 + # pkg:gem/prism#lib/prism/node.rb:8905 sig do params( node_id: Integer, @@ -17994,13 +17994,13 @@ class Prism::ImplicitNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8910 + # pkg:gem/prism#lib/prism/node.rb:8910 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#8913 + # pkg:gem/prism#lib/prism/node.rb:8913 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18009,19 +18009,19 @@ class Prism::ImplicitNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8921 + # pkg:gem/prism#lib/prism/node.rb:8921 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#8926 + # pkg:gem/prism#lib/prism/node.rb:8926 sig { override.returns(Symbol) } def type; end # attr_reader value: LocalVariableReadNode | CallNode | ConstantReadNode | LocalVariableTargetNode # - # source://prism//lib/prism/node.rb#8918 + # pkg:gem/prism#lib/prism/node.rb:8918 sig do returns(T.any(Prism::LocalVariableReadNode, Prism::CallNode, Prism::ConstantReadNode, Prism::LocalVariableTargetNode)) end @@ -18030,7 +18030,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#8931 + # pkg:gem/prism#lib/prism/node.rb:8931 def type; end end end @@ -18049,62 +18049,62 @@ end # foo, = bar # ^ # -# source://prism//lib/prism/node.rb#8956 +# pkg:gem/prism#lib/prism/node.rb:8956 class Prism::ImplicitRestNode < ::Prism::Node # Initialize a new ImplicitRestNode node. # # @return [ImplicitRestNode] a new instance of ImplicitRestNode # - # source://prism//lib/prism/node.rb#8958 + # pkg:gem/prism#lib/prism/node.rb:8958 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#9015 + # pkg:gem/prism#lib/prism/node.rb:9015 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#8966 + # pkg:gem/prism#lib/prism/node.rb:8966 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8971 + # pkg:gem/prism#lib/prism/node.rb:8971 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#8981 + # pkg:gem/prism#lib/prism/node.rb:8981 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#8976 + # pkg:gem/prism#lib/prism/node.rb:8976 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#8986 + # pkg:gem/prism#lib/prism/node.rb:8986 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#8991 + # pkg:gem/prism#lib/prism/node.rb:8991 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#8994 + # pkg:gem/prism#lib/prism/node.rb:8994 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18113,20 +18113,20 @@ class Prism::ImplicitRestNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#8999 + # pkg:gem/prism#lib/prism/node.rb:8999 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#9004 + # pkg:gem/prism#lib/prism/node.rb:9004 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#9009 + # pkg:gem/prism#lib/prism/node.rb:9009 def type; end end end @@ -18136,13 +18136,13 @@ end # case a; in b then c end # ^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#9024 +# pkg:gem/prism#lib/prism/node.rb:9024 class Prism::InNode < ::Prism::Node # Initialize a new InNode node. # # @return [InNode] a new instance of InNode # - # source://prism//lib/prism/node.rb#9026 + # pkg:gem/prism#lib/prism/node.rb:9026 sig do params( source: Prism::Source, @@ -18160,36 +18160,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#9138 + # pkg:gem/prism#lib/prism/node.rb:9138 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#9038 + # pkg:gem/prism#lib/prism/node.rb:9038 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9043 + # pkg:gem/prism#lib/prism/node.rb:9043 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#9056 + # pkg:gem/prism#lib/prism/node.rb:9056 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#9048 + # pkg:gem/prism#lib/prism/node.rb:9048 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#9061 + # pkg:gem/prism#lib/prism/node.rb:9061 sig do params( node_id: Integer, @@ -18206,13 +18206,13 @@ class Prism::InNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9066 + # pkg:gem/prism#lib/prism/node.rb:9066 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#9069 + # pkg:gem/prism#lib/prism/node.rb:9069 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18221,68 +18221,68 @@ class Prism::InNode < ::Prism::Node # def in: () -> String # - # source://prism//lib/prism/node.rb#9112 + # pkg:gem/prism#lib/prism/node.rb:9112 sig { returns(String) } def in; end # attr_reader in_loc: Location # - # source://prism//lib/prism/node.rb#9080 + # pkg:gem/prism#lib/prism/node.rb:9080 sig { returns(Prism::Location) } def in_loc; end # def inspect -> String # - # source://prism//lib/prism/node.rb#9122 + # pkg:gem/prism#lib/prism/node.rb:9122 sig { override.returns(String) } def inspect; end # attr_reader pattern: Prism::node # - # source://prism//lib/prism/node.rb#9074 + # pkg:gem/prism#lib/prism/node.rb:9074 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#9088 + # pkg:gem/prism#lib/prism/node.rb:9088 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#9107 + # pkg:gem/prism#lib/prism/node.rb:9107 def save_then_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#9077 + # pkg:gem/prism#lib/prism/node.rb:9077 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # def then: () -> String? # - # source://prism//lib/prism/node.rb#9117 + # pkg:gem/prism#lib/prism/node.rb:9117 sig { returns(T.nilable(String)) } def then; end # attr_reader then_loc: Location? # - # source://prism//lib/prism/node.rb#9093 + # pkg:gem/prism#lib/prism/node.rb:9093 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#9127 + # pkg:gem/prism#lib/prism/node.rb:9127 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#9132 + # pkg:gem/prism#lib/prism/node.rb:9132 def type; end end end @@ -18292,13 +18292,13 @@ end # foo.bar[baz] &&= value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#9151 +# pkg:gem/prism#lib/prism/node.rb:9151 class Prism::IndexAndWriteNode < ::Prism::Node # Initialize a new IndexAndWriteNode node. # # @return [IndexAndWriteNode] a new instance of IndexAndWriteNode # - # source://prism//lib/prism/node.rb#9153 + # pkg:gem/prism#lib/prism/node.rb:9153 sig do params( source: Prism::Source, @@ -18320,18 +18320,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#9333 + # pkg:gem/prism#lib/prism/node.rb:9333 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#9169 + # pkg:gem/prism#lib/prism/node.rb:9169 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#9262 + # pkg:gem/prism#lib/prism/node.rb:9262 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -18339,61 +18339,61 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9217 + # pkg:gem/prism#lib/prism/node.rb:9217 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader block: BlockArgumentNode? # - # source://prism//lib/prism/node.rb#9278 + # pkg:gem/prism#lib/prism/node.rb:9278 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#9297 + # pkg:gem/prism#lib/prism/node.rb:9297 sig { returns(T.nilable(String)) } def call_operator; end # attr_reader call_operator_loc: Location? # - # source://prism//lib/prism/node.rb#9230 + # pkg:gem/prism#lib/prism/node.rb:9230 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9174 + # pkg:gem/prism#lib/prism/node.rb:9174 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#9307 + # pkg:gem/prism#lib/prism/node.rb:9307 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#9265 + # pkg:gem/prism#lib/prism/node.rb:9265 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#9189 + # pkg:gem/prism#lib/prism/node.rb:9189 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#9179 + # pkg:gem/prism#lib/prism/node.rb:9179 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#9194 + # pkg:gem/prism#lib/prism/node.rb:9194 sig do params( node_id: Integer, @@ -18414,13 +18414,13 @@ class Prism::IndexAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9199 + # pkg:gem/prism#lib/prism/node.rb:9199 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#9202 + # pkg:gem/prism#lib/prism/node.rb:9202 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18431,43 +18431,43 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9222 + # pkg:gem/prism#lib/prism/node.rb:9222 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#9317 + # pkg:gem/prism#lib/prism/node.rb:9317 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#9302 + # pkg:gem/prism#lib/prism/node.rb:9302 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#9249 + # pkg:gem/prism#lib/prism/node.rb:9249 sig { returns(Prism::Location) } def opening_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#9312 + # pkg:gem/prism#lib/prism/node.rb:9312 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#9281 + # pkg:gem/prism#lib/prism/node.rb:9281 sig { returns(Prism::Location) } def operator_loc; end # attr_reader receiver: Prism::node? # - # source://prism//lib/prism/node.rb#9227 + # pkg:gem/prism#lib/prism/node.rb:9227 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -18475,43 +18475,43 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9207 + # pkg:gem/prism#lib/prism/node.rb:9207 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#9244 + # pkg:gem/prism#lib/prism/node.rb:9244 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#9273 + # pkg:gem/prism#lib/prism/node.rb:9273 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#9257 + # pkg:gem/prism#lib/prism/node.rb:9257 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#9289 + # pkg:gem/prism#lib/prism/node.rb:9289 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#9322 + # pkg:gem/prism#lib/prism/node.rb:9322 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#9294 + # pkg:gem/prism#lib/prism/node.rb:9294 sig { returns(Prism::Node) } def value; end @@ -18519,14 +18519,14 @@ class Prism::IndexAndWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9212 + # pkg:gem/prism#lib/prism/node.rb:9212 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#9327 + # pkg:gem/prism#lib/prism/node.rb:9327 def type; end end end @@ -18536,13 +18536,13 @@ end # foo.bar[baz] += value # ^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#9351 +# pkg:gem/prism#lib/prism/node.rb:9351 class Prism::IndexOperatorWriteNode < ::Prism::Node # Initialize a new IndexOperatorWriteNode node. # # @return [IndexOperatorWriteNode] a new instance of IndexOperatorWriteNode # - # source://prism//lib/prism/node.rb#9353 + # pkg:gem/prism#lib/prism/node.rb:9353 sig do params( source: Prism::Source, @@ -18565,18 +18565,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#9532 + # pkg:gem/prism#lib/prism/node.rb:9532 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#9370 + # pkg:gem/prism#lib/prism/node.rb:9370 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#9463 + # pkg:gem/prism#lib/prism/node.rb:9463 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -18584,73 +18584,73 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9418 + # pkg:gem/prism#lib/prism/node.rb:9418 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#9482 + # pkg:gem/prism#lib/prism/node.rb:9482 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#9485 + # pkg:gem/prism#lib/prism/node.rb:9485 sig { returns(Prism::Location) } def binary_operator_loc; end # attr_reader block: BlockArgumentNode? # - # source://prism//lib/prism/node.rb#9479 + # pkg:gem/prism#lib/prism/node.rb:9479 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#9501 + # pkg:gem/prism#lib/prism/node.rb:9501 sig { returns(T.nilable(String)) } def call_operator; end # attr_reader call_operator_loc: Location? # - # source://prism//lib/prism/node.rb#9431 + # pkg:gem/prism#lib/prism/node.rb:9431 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9375 + # pkg:gem/prism#lib/prism/node.rb:9375 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#9511 + # pkg:gem/prism#lib/prism/node.rb:9511 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#9466 + # pkg:gem/prism#lib/prism/node.rb:9466 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#9390 + # pkg:gem/prism#lib/prism/node.rb:9390 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#9380 + # pkg:gem/prism#lib/prism/node.rb:9380 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#9395 + # pkg:gem/prism#lib/prism/node.rb:9395 sig do params( node_id: Integer, @@ -18672,13 +18672,13 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9400 + # pkg:gem/prism#lib/prism/node.rb:9400 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#9403 + # pkg:gem/prism#lib/prism/node.rb:9403 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18689,43 +18689,43 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9423 + # pkg:gem/prism#lib/prism/node.rb:9423 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#9516 + # pkg:gem/prism#lib/prism/node.rb:9516 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#9506 + # pkg:gem/prism#lib/prism/node.rb:9506 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#9450 + # pkg:gem/prism#lib/prism/node.rb:9450 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#422 + # pkg:gem/prism#lib/prism/node_ext.rb:422 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#429 + # pkg:gem/prism#lib/prism/node_ext.rb:429 def operator_loc; end # attr_reader receiver: Prism::node? # - # source://prism//lib/prism/node.rb#9428 + # pkg:gem/prism#lib/prism/node.rb:9428 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -18733,43 +18733,43 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9408 + # pkg:gem/prism#lib/prism/node.rb:9408 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#9493 + # pkg:gem/prism#lib/prism/node.rb:9493 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#9445 + # pkg:gem/prism#lib/prism/node.rb:9445 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#9474 + # pkg:gem/prism#lib/prism/node.rb:9474 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#9458 + # pkg:gem/prism#lib/prism/node.rb:9458 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#9521 + # pkg:gem/prism#lib/prism/node.rb:9521 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#9498 + # pkg:gem/prism#lib/prism/node.rb:9498 sig { returns(Prism::Node) } def value; end @@ -18777,14 +18777,14 @@ class Prism::IndexOperatorWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9413 + # pkg:gem/prism#lib/prism/node.rb:9413 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#9526 + # pkg:gem/prism#lib/prism/node.rb:9526 def type; end end end @@ -18794,13 +18794,13 @@ end # foo.bar[baz] ||= value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#9551 +# pkg:gem/prism#lib/prism/node.rb:9551 class Prism::IndexOrWriteNode < ::Prism::Node # Initialize a new IndexOrWriteNode node. # # @return [IndexOrWriteNode] a new instance of IndexOrWriteNode # - # source://prism//lib/prism/node.rb#9553 + # pkg:gem/prism#lib/prism/node.rb:9553 sig do params( source: Prism::Source, @@ -18822,18 +18822,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#9733 + # pkg:gem/prism#lib/prism/node.rb:9733 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#9569 + # pkg:gem/prism#lib/prism/node.rb:9569 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#9662 + # pkg:gem/prism#lib/prism/node.rb:9662 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -18841,61 +18841,61 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9617 + # pkg:gem/prism#lib/prism/node.rb:9617 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader block: BlockArgumentNode? # - # source://prism//lib/prism/node.rb#9678 + # pkg:gem/prism#lib/prism/node.rb:9678 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def call_operator: () -> String? # - # source://prism//lib/prism/node.rb#9697 + # pkg:gem/prism#lib/prism/node.rb:9697 sig { returns(T.nilable(String)) } def call_operator; end # attr_reader call_operator_loc: Location? # - # source://prism//lib/prism/node.rb#9630 + # pkg:gem/prism#lib/prism/node.rb:9630 sig { returns(T.nilable(Prism::Location)) } def call_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9574 + # pkg:gem/prism#lib/prism/node.rb:9574 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#9707 + # pkg:gem/prism#lib/prism/node.rb:9707 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#9665 + # pkg:gem/prism#lib/prism/node.rb:9665 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#9589 + # pkg:gem/prism#lib/prism/node.rb:9589 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#9579 + # pkg:gem/prism#lib/prism/node.rb:9579 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#9594 + # pkg:gem/prism#lib/prism/node.rb:9594 sig do params( node_id: Integer, @@ -18916,13 +18916,13 @@ class Prism::IndexOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9599 + # pkg:gem/prism#lib/prism/node.rb:9599 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#9602 + # pkg:gem/prism#lib/prism/node.rb:9602 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -18933,43 +18933,43 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9622 + # pkg:gem/prism#lib/prism/node.rb:9622 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#9717 + # pkg:gem/prism#lib/prism/node.rb:9717 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#9702 + # pkg:gem/prism#lib/prism/node.rb:9702 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#9649 + # pkg:gem/prism#lib/prism/node.rb:9649 sig { returns(Prism::Location) } def opening_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#9712 + # pkg:gem/prism#lib/prism/node.rb:9712 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#9681 + # pkg:gem/prism#lib/prism/node.rb:9681 sig { returns(Prism::Location) } def operator_loc; end # attr_reader receiver: Prism::node? # - # source://prism//lib/prism/node.rb#9627 + # pkg:gem/prism#lib/prism/node.rb:9627 sig { returns(T.nilable(Prism::Node)) } def receiver; end @@ -18977,43 +18977,43 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9607 + # pkg:gem/prism#lib/prism/node.rb:9607 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#9644 + # pkg:gem/prism#lib/prism/node.rb:9644 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#9673 + # pkg:gem/prism#lib/prism/node.rb:9673 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#9657 + # pkg:gem/prism#lib/prism/node.rb:9657 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#9689 + # pkg:gem/prism#lib/prism/node.rb:9689 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#9722 + # pkg:gem/prism#lib/prism/node.rb:9722 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#9694 + # pkg:gem/prism#lib/prism/node.rb:9694 sig { returns(Prism::Node) } def value; end @@ -19021,14 +19021,14 @@ class Prism::IndexOrWriteNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9612 + # pkg:gem/prism#lib/prism/node.rb:9612 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#9727 + # pkg:gem/prism#lib/prism/node.rb:9727 def type; end end end @@ -19046,13 +19046,13 @@ end # for foo[bar] in baz do end # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#9759 +# pkg:gem/prism#lib/prism/node.rb:9759 class Prism::IndexTargetNode < ::Prism::Node # Initialize a new IndexTargetNode node. # # @return [IndexTargetNode] a new instance of IndexTargetNode # - # source://prism//lib/prism/node.rb#9761 + # pkg:gem/prism#lib/prism/node.rb:9761 sig do params( source: Prism::Source, @@ -19071,18 +19071,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#9892 + # pkg:gem/prism#lib/prism/node.rb:9892 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#9774 + # pkg:gem/prism#lib/prism/node.rb:9774 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#9847 + # pkg:gem/prism#lib/prism/node.rb:9847 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end @@ -19090,49 +19090,49 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9821 + # pkg:gem/prism#lib/prism/node.rb:9821 sig { returns(T::Boolean) } def attribute_write?; end # attr_reader block: BlockArgumentNode? # - # source://prism//lib/prism/node.rb#9863 + # pkg:gem/prism#lib/prism/node.rb:9863 sig { returns(T.nilable(Prism::BlockArgumentNode)) } def block; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9779 + # pkg:gem/prism#lib/prism/node.rb:9779 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#9871 + # pkg:gem/prism#lib/prism/node.rb:9871 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#9850 + # pkg:gem/prism#lib/prism/node.rb:9850 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#9793 + # pkg:gem/prism#lib/prism/node.rb:9793 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#9784 + # pkg:gem/prism#lib/prism/node.rb:9784 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#9798 + # pkg:gem/prism#lib/prism/node.rb:9798 sig do params( node_id: Integer, @@ -19150,13 +19150,13 @@ class Prism::IndexTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9803 + # pkg:gem/prism#lib/prism/node.rb:9803 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#9806 + # pkg:gem/prism#lib/prism/node.rb:9806 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -19167,31 +19167,31 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9826 + # pkg:gem/prism#lib/prism/node.rb:9826 sig { returns(T::Boolean) } def ignore_visibility?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#9876 + # pkg:gem/prism#lib/prism/node.rb:9876 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#9866 + # pkg:gem/prism#lib/prism/node.rb:9866 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#9834 + # pkg:gem/prism#lib/prism/node.rb:9834 sig { returns(Prism::Location) } def opening_loc; end # attr_reader receiver: Prism::node # - # source://prism//lib/prism/node.rb#9831 + # pkg:gem/prism#lib/prism/node.rb:9831 sig { returns(Prism::Node) } def receiver; end @@ -19199,25 +19199,25 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9811 + # pkg:gem/prism#lib/prism/node.rb:9811 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#9858 + # pkg:gem/prism#lib/prism/node.rb:9858 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#9842 + # pkg:gem/prism#lib/prism/node.rb:9842 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#9881 + # pkg:gem/prism#lib/prism/node.rb:9881 sig { override.returns(Symbol) } def type; end @@ -19225,14 +19225,14 @@ class Prism::IndexTargetNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#9816 + # pkg:gem/prism#lib/prism/node.rb:9816 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#9886 + # pkg:gem/prism#lib/prism/node.rb:9886 def type; end end end @@ -19240,11 +19240,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#534 +# pkg:gem/prism#lib/prism/parse_result.rb:534 class Prism::InlineComment < ::Prism::Comment # Returns a string representation of this comment. # - # source://prism//lib/prism/parse_result.rb#542 + # pkg:gem/prism#lib/prism/parse_result.rb:542 sig { returns(String) } def inspect; end @@ -19253,7 +19253,7 @@ class Prism::InlineComment < ::Prism::Comment # # @return [Boolean] # - # source://prism//lib/prism/parse_result.rb#537 + # pkg:gem/prism#lib/prism/parse_result.rb:537 sig { override.returns(T::Boolean) } def trailing?; end end @@ -19261,804 +19261,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#15 +# pkg:gem/prism#lib/prism/inspect_visitor.rb:15 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#38 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:38 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#35 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:35 def commands; end # Compose the final string. # - # source://prism//lib/prism/inspect_visitor.rb#51 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:51 sig { returns(String) } def compose; end # The current prefix string. # - # source://prism//lib/prism/inspect_visitor.rb#31 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:31 def indent; end # Inspect a AliasGlobalVariableNode node. # - # source://prism//lib/prism/inspect_visitor.rb#80 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:80 def visit_alias_global_variable_node(node); end # Inspect a AliasMethodNode node. # - # source://prism//lib/prism/inspect_visitor.rb#92 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:92 def visit_alias_method_node(node); end # Inspect a AlternationPatternNode node. # - # source://prism//lib/prism/inspect_visitor.rb#104 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:104 def visit_alternation_pattern_node(node); end # Inspect a AndNode node. # - # source://prism//lib/prism/inspect_visitor.rb#116 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:116 def visit_and_node(node); end # Inspect a ArgumentsNode node. # - # source://prism//lib/prism/inspect_visitor.rb#128 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:128 def visit_arguments_node(node); end # Inspect a ArrayNode node. # - # source://prism//lib/prism/inspect_visitor.rb#144 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:144 def visit_array_node(node); end # Inspect a ArrayPatternNode node. # - # source://prism//lib/prism/inspect_visitor.rb#162 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:162 def visit_array_pattern_node(node); end # Inspect a AssocNode node. # - # source://prism//lib/prism/inspect_visitor.rb#201 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:201 def visit_assoc_node(node); end # Inspect a AssocSplatNode node. # - # source://prism//lib/prism/inspect_visitor.rb#213 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:213 def visit_assoc_splat_node(node); end # Inspect a BackReferenceReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#227 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:227 def visit_back_reference_read_node(node); end # Inspect a BeginNode node. # - # source://prism//lib/prism/inspect_visitor.rb#235 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:235 def visit_begin_node(node); end # Inspect a BlockArgumentNode node. # - # source://prism//lib/prism/inspect_visitor.rb#268 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:268 def visit_block_argument_node(node); end # Inspect a BlockLocalVariableNode node. # - # source://prism//lib/prism/inspect_visitor.rb#282 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:282 def visit_block_local_variable_node(node); end # Inspect a BlockNode node. # - # source://prism//lib/prism/inspect_visitor.rb#290 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:290 def visit_block_node(node); end # Inspect a BlockParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#312 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:312 def visit_block_parameter_node(node); end # Inspect a BlockParametersNode node. # - # source://prism//lib/prism/inspect_visitor.rb#326 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:326 def visit_block_parameters_node(node); end # Inspect a BreakNode node. # - # source://prism//lib/prism/inspect_visitor.rb#350 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:350 def visit_break_node(node); end # Inspect a CallAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#364 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:364 def visit_call_and_write_node(node); end # Inspect a CallNode node. # - # source://prism//lib/prism/inspect_visitor.rb#384 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:384 def visit_call_node(node); end # Inspect a CallOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#415 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:415 def visit_call_operator_write_node(node); end # Inspect a CallOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#436 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:436 def visit_call_or_write_node(node); end # Inspect a CallTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#456 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:456 def visit_call_target_node(node); end # Inspect a CapturePatternNode node. # - # source://prism//lib/prism/inspect_visitor.rb#468 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:468 def visit_capture_pattern_node(node); end # Inspect a CaseMatchNode node. # - # source://prism//lib/prism/inspect_visitor.rb#480 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:480 def visit_case_match_node(node); end # Inspect a CaseNode node. # - # source://prism//lib/prism/inspect_visitor.rb#510 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:510 def visit_case_node(node); end # Inspect a ClassNode node. # - # source://prism//lib/prism/inspect_visitor.rb#540 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:540 def visit_class_node(node); end # Inspect a ClassVariableAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#566 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:566 def visit_class_variable_and_write_node(node); end # Inspect a ClassVariableOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#578 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:578 def visit_class_variable_operator_write_node(node); end # Inspect a ClassVariableOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#591 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:591 def visit_class_variable_or_write_node(node); end # Inspect a ClassVariableReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#603 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:603 def visit_class_variable_read_node(node); end # Inspect a ClassVariableTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#611 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:611 def visit_class_variable_target_node(node); end # Inspect a ClassVariableWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#619 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:619 def visit_class_variable_write_node(node); end # Inspect a ConstantAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#631 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:631 def visit_constant_and_write_node(node); end # Inspect a ConstantOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#643 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:643 def visit_constant_operator_write_node(node); end # Inspect a ConstantOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#656 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:656 def visit_constant_or_write_node(node); end # Inspect a ConstantPathAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#668 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:668 def visit_constant_path_and_write_node(node); end # Inspect a ConstantPathNode node. # - # source://prism//lib/prism/inspect_visitor.rb#680 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:680 def visit_constant_path_node(node); end # Inspect a ConstantPathOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#700 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:700 def visit_constant_path_operator_write_node(node); end # Inspect a ConstantPathOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#713 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:713 def visit_constant_path_or_write_node(node); end # Inspect a ConstantPathTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#725 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:725 def visit_constant_path_target_node(node); end # Inspect a ConstantPathWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#745 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:745 def visit_constant_path_write_node(node); end # Inspect a ConstantReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#757 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:757 def visit_constant_read_node(node); end # Inspect a ConstantTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#765 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:765 def visit_constant_target_node(node); end # Inspect a ConstantWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#773 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:773 def visit_constant_write_node(node); end # Inspect a DefNode node. # - # source://prism//lib/prism/inspect_visitor.rb#785 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:785 def visit_def_node(node); end # Inspect a DefinedNode node. # - # source://prism//lib/prism/inspect_visitor.rb#819 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:819 def visit_defined_node(node); end # Inspect a ElseNode node. # - # source://prism//lib/prism/inspect_visitor.rb#831 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:831 def visit_else_node(node); end # Inspect a EmbeddedStatementsNode node. # - # source://prism//lib/prism/inspect_visitor.rb#846 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:846 def visit_embedded_statements_node(node); end # Inspect a EmbeddedVariableNode node. # - # source://prism//lib/prism/inspect_visitor.rb#861 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:861 def visit_embedded_variable_node(node); end # Inspect a EnsureNode node. # - # source://prism//lib/prism/inspect_visitor.rb#871 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:871 def visit_ensure_node(node); end # Inspect a FalseNode node. # - # source://prism//lib/prism/inspect_visitor.rb#886 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:886 def visit_false_node(node); end # Inspect a FindPatternNode node. # - # source://prism//lib/prism/inspect_visitor.rb#893 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:893 def visit_find_pattern_node(node); end # Inspect a FlipFlopNode node. # - # source://prism//lib/prism/inspect_visitor.rb#921 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:921 def visit_flip_flop_node(node); end # Inspect a FloatNode node. # - # source://prism//lib/prism/inspect_visitor.rb#941 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:941 def visit_float_node(node); end # Inspect a ForNode node. # - # source://prism//lib/prism/inspect_visitor.rb#949 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:949 def visit_for_node(node); end # Inspect a ForwardingArgumentsNode node. # - # source://prism//lib/prism/inspect_visitor.rb#970 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:970 def visit_forwarding_arguments_node(node); end # Inspect a ForwardingParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#977 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:977 def visit_forwarding_parameter_node(node); end # Inspect a ForwardingSuperNode node. # - # source://prism//lib/prism/inspect_visitor.rb#984 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:984 def visit_forwarding_super_node(node); end # Inspect a GlobalVariableAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#997 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:997 def visit_global_variable_and_write_node(node); end # Inspect a GlobalVariableOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1009 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1009 def visit_global_variable_operator_write_node(node); end # Inspect a GlobalVariableOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1022 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1022 def visit_global_variable_or_write_node(node); end # Inspect a GlobalVariableReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1034 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1034 def visit_global_variable_read_node(node); end # Inspect a GlobalVariableTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1042 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1042 def visit_global_variable_target_node(node); end # Inspect a GlobalVariableWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1050 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1050 def visit_global_variable_write_node(node); end # Inspect a HashNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1062 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1062 def visit_hash_node(node); end # Inspect a HashPatternNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1080 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1080 def visit_hash_pattern_node(node); end # Inspect a IfNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1110 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1110 def visit_if_node(node); end # Inspect a ImaginaryNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1134 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1134 def visit_imaginary_node(node); end # Inspect a ImplicitNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1143 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1143 def visit_implicit_node(node); end # Inspect a ImplicitRestNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1152 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1152 def visit_implicit_rest_node(node); end # Inspect a InNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1159 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1159 def visit_in_node(node); end # Inspect a IndexAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1176 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1176 def visit_index_and_write_node(node); end # Inspect a IndexOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1207 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1207 def visit_index_operator_write_node(node); end # Inspect a IndexOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1239 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1239 def visit_index_or_write_node(node); end # Inspect a IndexTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1270 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1270 def visit_index_target_node(node); end # Inspect a InstanceVariableAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1293 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1293 def visit_instance_variable_and_write_node(node); end # Inspect a InstanceVariableOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1305 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1305 def visit_instance_variable_operator_write_node(node); end # Inspect a InstanceVariableOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1318 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1318 def visit_instance_variable_or_write_node(node); end # Inspect a InstanceVariableReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1330 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1330 def visit_instance_variable_read_node(node); end # Inspect a InstanceVariableTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1338 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1338 def visit_instance_variable_target_node(node); end # Inspect a InstanceVariableWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1346 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1346 def visit_instance_variable_write_node(node); end # Inspect a IntegerNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1358 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1358 def visit_integer_node(node); end # Inspect a InterpolatedMatchLastLineNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1366 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1366 def visit_interpolated_match_last_line_node(node); end # Inspect a InterpolatedRegularExpressionNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1384 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1384 def visit_interpolated_regular_expression_node(node); end # Inspect a InterpolatedStringNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1402 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1402 def visit_interpolated_string_node(node); end # Inspect a InterpolatedSymbolNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1420 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1420 def visit_interpolated_symbol_node(node); end # Inspect a InterpolatedXStringNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1438 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1438 def visit_interpolated_x_string_node(node); end # Inspect a ItLocalVariableReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1456 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1456 def visit_it_local_variable_read_node(node); end # Inspect a ItParametersNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1463 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1463 def visit_it_parameters_node(node); end # Inspect a KeywordHashNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1470 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1470 def visit_keyword_hash_node(node); end # Inspect a KeywordRestParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1486 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1486 def visit_keyword_rest_parameter_node(node); end # Inspect a LambdaNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1500 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1500 def visit_lambda_node(node); end # Inspect a LocalVariableAndWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1523 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1523 def visit_local_variable_and_write_node(node); end # Inspect a LocalVariableOperatorWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1536 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1536 def visit_local_variable_operator_write_node(node); end # Inspect a LocalVariableOrWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1550 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1550 def visit_local_variable_or_write_node(node); end # Inspect a LocalVariableReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1563 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1563 def visit_local_variable_read_node(node); end # Inspect a LocalVariableTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1572 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1572 def visit_local_variable_target_node(node); end # Inspect a LocalVariableWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1581 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1581 def visit_local_variable_write_node(node); end # Inspect a MatchLastLineNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1594 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1594 def visit_match_last_line_node(node); end # Inspect a MatchPredicateNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1605 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1605 def visit_match_predicate_node(node); end # Inspect a MatchRequiredNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1617 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1617 def visit_match_required_node(node); end # Inspect a MatchWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1629 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1629 def visit_match_write_node(node); end # Inspect a MissingNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1647 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1647 def visit_missing_node(node); end # Inspect a ModuleNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1654 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1654 def visit_module_node(node); end # Inspect a MultiTargetNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1673 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1673 def visit_multi_target_node(node); end # Inspect a MultiWriteNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1706 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1706 def visit_multi_write_node(node); end # Inspect a NextNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1742 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1742 def visit_next_node(node); end # Inspect a NilNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1756 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1756 def visit_nil_node(node); end # Inspect a NoKeywordsParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1763 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1763 def visit_no_keywords_parameter_node(node); end # Inspect a NumberedParametersNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1772 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1772 def visit_numbered_parameters_node(node); end # Inspect a NumberedReferenceReadNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1780 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1780 def visit_numbered_reference_read_node(node); end # Inspect a OptionalKeywordParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1788 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1788 def visit_optional_keyword_parameter_node(node); end # Inspect a OptionalParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1799 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1799 def visit_optional_parameter_node(node); end # Inspect a OrNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1811 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1811 def visit_or_node(node); end # Inspect a ParametersNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1823 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1823 def visit_parameters_node(node); end # Inspect a ParenthesesNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1884 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1884 def visit_parentheses_node(node); end # Inspect a PinnedExpressionNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1899 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1899 def visit_pinned_expression_node(node); end # Inspect a PinnedVariableNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1911 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1911 def visit_pinned_variable_node(node); end # Inspect a PostExecutionNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1921 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1921 def visit_post_execution_node(node); end # Inspect a PreExecutionNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1937 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1937 def visit_pre_execution_node(node); end # Inspect a ProgramNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1953 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1953 def visit_program_node(node); end # Inspect a RangeNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1963 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1963 def visit_range_node(node); end # Inspect a RationalNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1983 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1983 def visit_rational_node(node); end # Inspect a RedoNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1992 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1992 def visit_redo_node(node); end # Inspect a RegularExpressionNode node. # - # source://prism//lib/prism/inspect_visitor.rb#1999 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:1999 def visit_regular_expression_node(node); end # Inspect a RequiredKeywordParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2010 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2010 def visit_required_keyword_parameter_node(node); end # Inspect a RequiredParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2019 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2019 def visit_required_parameter_node(node); end # Inspect a RescueModifierNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2027 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2027 def visit_rescue_modifier_node(node); end # Inspect a RescueNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2039 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2039 def visit_rescue_node(node); end # Inspect a RestParameterNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2076 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2076 def visit_rest_parameter_node(node); end # Inspect a RetryNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2090 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2090 def visit_retry_node(node); end # Inspect a ReturnNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2097 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2097 def visit_return_node(node); end # Inspect a SelfNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2111 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2111 def visit_self_node(node); end # Inspect a ShareableConstantNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2118 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2118 def visit_shareable_constant_node(node); end # Inspect a SingletonClassNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2127 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2127 def visit_singleton_class_node(node); end # Inspect a SourceEncodingNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2146 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2146 def visit_source_encoding_node(node); end # Inspect a SourceFileNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2153 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2153 def visit_source_file_node(node); end # Inspect a SourceLineNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2161 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2161 def visit_source_line_node(node); end # Inspect a SplatNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2168 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2168 def visit_splat_node(node); end # Inspect a StatementsNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2182 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2182 def visit_statements_node(node); end # Inspect a StringNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2198 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2198 def visit_string_node(node); end # Inspect a SuperNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2209 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2209 def visit_super_node(node); end # Inspect a SymbolNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2231 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2231 def visit_symbol_node(node); end # Inspect a TrueNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2242 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2242 def visit_true_node(node); end # Inspect a UndefNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2249 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2249 def visit_undef_node(node); end # Inspect a UnlessNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2266 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2266 def visit_unless_node(node); end # Inspect a UntilNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2290 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2290 def visit_until_node(node); end # Inspect a WhenNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2308 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2308 def visit_when_node(node); end # Inspect a WhileNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2332 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2332 def visit_while_node(node); end # Inspect a XStringNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2350 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2350 def visit_x_string_node(node); end # Inspect a YieldNode node. # - # source://prism//lib/prism/inspect_visitor.rb#2361 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2361 def visit_yield_node(node); end private # Compose a string representing the given inner location field. # - # source://prism//lib/prism/inspect_visitor.rb#2385 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2385 def inspect_location(location); end # Compose a header for the given node. # - # source://prism//lib/prism/inspect_visitor.rb#2379 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:2379 def inspect_node(name, node); end class << self # Compose an inspect string for the given node. # - # source://prism//lib/prism/inspect_visitor.rb#44 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:44 sig { params(node: Prism::Node).returns(String) } def compose(node); end end @@ -20069,14 +20069,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#20 +# pkg:gem/prism#lib/prism/inspect_visitor.rb:20 class Prism::InspectVisitor::Replace # @return [Replace] a new instance of Replace # - # source://prism//lib/prism/inspect_visitor.rb#23 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:23 def initialize(value); end - # source://prism//lib/prism/inspect_visitor.rb#21 + # pkg:gem/prism#lib/prism/inspect_visitor.rb:21 def value; end end @@ -20085,13 +20085,13 @@ end # @target &&= value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#9907 +# pkg:gem/prism#lib/prism/node.rb:9907 class Prism::InstanceVariableAndWriteNode < ::Prism::Node # Initialize a new InstanceVariableAndWriteNode node. # # @return [InstanceVariableAndWriteNode] a new instance of InstanceVariableAndWriteNode # - # source://prism//lib/prism/node.rb#9909 + # pkg:gem/prism#lib/prism/node.rb:9909 sig do params( source: Prism::Source, @@ -20109,36 +20109,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#10007 + # pkg:gem/prism#lib/prism/node.rb:10007 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#9921 + # pkg:gem/prism#lib/prism/node.rb:9921 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9926 + # pkg:gem/prism#lib/prism/node.rb:9926 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#9936 + # pkg:gem/prism#lib/prism/node.rb:9936 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#9931 + # pkg:gem/prism#lib/prism/node.rb:9931 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#9941 + # pkg:gem/prism#lib/prism/node.rb:9941 sig do params( node_id: Integer, @@ -20155,17 +20155,17 @@ class Prism::InstanceVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#9946 + # pkg:gem/prism#lib/prism/node.rb:9946 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#9949 + # pkg:gem/prism#lib/prism/node.rb:9949 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#219 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:219 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -20173,62 +20173,62 @@ class Prism::InstanceVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#9991 + # pkg:gem/prism#lib/prism/node.rb:9991 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#9954 + # pkg:gem/prism#lib/prism/node.rb:9954 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#9957 + # pkg:gem/prism#lib/prism/node.rb:9957 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#9986 + # pkg:gem/prism#lib/prism/node.rb:9986 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#9970 + # pkg:gem/prism#lib/prism/node.rb:9970 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#9965 + # pkg:gem/prism#lib/prism/node.rb:9965 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#9978 + # pkg:gem/prism#lib/prism/node.rb:9978 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#9996 + # pkg:gem/prism#lib/prism/node.rb:9996 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#9983 + # pkg:gem/prism#lib/prism/node.rb:9983 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#10001 + # pkg:gem/prism#lib/prism/node.rb:10001 def type; end end end @@ -20238,13 +20238,13 @@ end # @target += value # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#10020 +# pkg:gem/prism#lib/prism/node.rb:10020 class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # Initialize a new InstanceVariableOperatorWriteNode node. # # @return [InstanceVariableOperatorWriteNode] a new instance of InstanceVariableOperatorWriteNode # - # source://prism//lib/prism/node.rb#10022 + # pkg:gem/prism#lib/prism/node.rb:10022 sig do params( source: Prism::Source, @@ -20263,48 +20263,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#10119 + # pkg:gem/prism#lib/prism/node.rb:10119 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10035 + # pkg:gem/prism#lib/prism/node.rb:10035 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#10100 + # pkg:gem/prism#lib/prism/node.rb:10100 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#10084 + # pkg:gem/prism#lib/prism/node.rb:10084 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10040 + # pkg:gem/prism#lib/prism/node.rb:10040 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#10050 + # pkg:gem/prism#lib/prism/node.rb:10050 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#10045 + # pkg:gem/prism#lib/prism/node.rb:10045 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#10055 + # pkg:gem/prism#lib/prism/node.rb:10055 sig do params( node_id: Integer, @@ -20322,17 +20322,17 @@ class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10060 + # pkg:gem/prism#lib/prism/node.rb:10060 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#10063 + # pkg:gem/prism#lib/prism/node.rb:10063 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#231 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:231 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -20340,62 +20340,62 @@ class Prism::InstanceVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#10103 + # pkg:gem/prism#lib/prism/node.rb:10103 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#10068 + # pkg:gem/prism#lib/prism/node.rb:10068 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#10071 + # pkg:gem/prism#lib/prism/node.rb:10071 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#438 + # pkg:gem/prism#lib/prism/node_ext.rb:438 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#445 + # pkg:gem/prism#lib/prism/node_ext.rb:445 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#10092 + # pkg:gem/prism#lib/prism/node.rb:10092 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#10079 + # pkg:gem/prism#lib/prism/node.rb:10079 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10108 + # pkg:gem/prism#lib/prism/node.rb:10108 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#10097 + # pkg:gem/prism#lib/prism/node.rb:10097 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#10113 + # pkg:gem/prism#lib/prism/node.rb:10113 def type; end end end @@ -20405,13 +20405,13 @@ end # @target ||= value # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#10133 +# pkg:gem/prism#lib/prism/node.rb:10133 class Prism::InstanceVariableOrWriteNode < ::Prism::Node # Initialize a new InstanceVariableOrWriteNode node. # # @return [InstanceVariableOrWriteNode] a new instance of InstanceVariableOrWriteNode # - # source://prism//lib/prism/node.rb#10135 + # pkg:gem/prism#lib/prism/node.rb:10135 sig do params( source: Prism::Source, @@ -20429,36 +20429,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#10233 + # pkg:gem/prism#lib/prism/node.rb:10233 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10147 + # pkg:gem/prism#lib/prism/node.rb:10147 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10152 + # pkg:gem/prism#lib/prism/node.rb:10152 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#10162 + # pkg:gem/prism#lib/prism/node.rb:10162 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#10157 + # pkg:gem/prism#lib/prism/node.rb:10157 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#10167 + # pkg:gem/prism#lib/prism/node.rb:10167 sig do params( node_id: Integer, @@ -20475,17 +20475,17 @@ class Prism::InstanceVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10172 + # pkg:gem/prism#lib/prism/node.rb:10172 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#10175 + # pkg:gem/prism#lib/prism/node.rb:10175 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#225 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:225 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -20493,62 +20493,62 @@ class Prism::InstanceVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#10217 + # pkg:gem/prism#lib/prism/node.rb:10217 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#10180 + # pkg:gem/prism#lib/prism/node.rb:10180 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#10183 + # pkg:gem/prism#lib/prism/node.rb:10183 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#10212 + # pkg:gem/prism#lib/prism/node.rb:10212 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#10196 + # pkg:gem/prism#lib/prism/node.rb:10196 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#10191 + # pkg:gem/prism#lib/prism/node.rb:10191 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#10204 + # pkg:gem/prism#lib/prism/node.rb:10204 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10222 + # pkg:gem/prism#lib/prism/node.rb:10222 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#10209 + # pkg:gem/prism#lib/prism/node.rb:10209 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#10227 + # pkg:gem/prism#lib/prism/node.rb:10227 def type; end end end @@ -20558,49 +20558,49 @@ end # @foo # ^^^^ # -# source://prism//lib/prism/node.rb#10246 +# pkg:gem/prism#lib/prism/node.rb:10246 class Prism::InstanceVariableReadNode < ::Prism::Node # Initialize a new InstanceVariableReadNode node. # # @return [InstanceVariableReadNode] a new instance of InstanceVariableReadNode # - # source://prism//lib/prism/node.rb#10248 + # pkg:gem/prism#lib/prism/node.rb:10248 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#10313 + # pkg:gem/prism#lib/prism/node.rb:10313 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10257 + # pkg:gem/prism#lib/prism/node.rb:10257 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10262 + # pkg:gem/prism#lib/prism/node.rb:10262 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#10272 + # pkg:gem/prism#lib/prism/node.rb:10272 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#10267 + # pkg:gem/prism#lib/prism/node.rb:10267 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#10277 + # pkg:gem/prism#lib/prism/node.rb:10277 sig do params( node_id: Integer, @@ -20614,13 +20614,13 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10282 + # pkg:gem/prism#lib/prism/node.rb:10282 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#10285 + # pkg:gem/prism#lib/prism/node.rb:10285 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20629,7 +20629,7 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#10297 + # pkg:gem/prism#lib/prism/node.rb:10297 sig { override.returns(String) } def inspect; end @@ -20639,20 +20639,20 @@ class Prism::InstanceVariableReadNode < ::Prism::Node # # @_test # name `:@_test` # - # source://prism//lib/prism/node.rb#10294 + # pkg:gem/prism#lib/prism/node.rb:10294 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10302 + # pkg:gem/prism#lib/prism/node.rb:10302 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#10307 + # pkg:gem/prism#lib/prism/node.rb:10307 def type; end end end @@ -20662,49 +20662,49 @@ end # @foo, @bar = baz # ^^^^ ^^^^ # -# source://prism//lib/prism/node.rb#10323 +# pkg:gem/prism#lib/prism/node.rb:10323 class Prism::InstanceVariableTargetNode < ::Prism::Node # Initialize a new InstanceVariableTargetNode node. # # @return [InstanceVariableTargetNode] a new instance of InstanceVariableTargetNode # - # source://prism//lib/prism/node.rb#10325 + # pkg:gem/prism#lib/prism/node.rb:10325 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#10386 + # pkg:gem/prism#lib/prism/node.rb:10386 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10334 + # pkg:gem/prism#lib/prism/node.rb:10334 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10339 + # pkg:gem/prism#lib/prism/node.rb:10339 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#10349 + # pkg:gem/prism#lib/prism/node.rb:10349 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#10344 + # pkg:gem/prism#lib/prism/node.rb:10344 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#10354 + # pkg:gem/prism#lib/prism/node.rb:10354 sig do params( node_id: Integer, @@ -20718,13 +20718,13 @@ class Prism::InstanceVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10359 + # pkg:gem/prism#lib/prism/node.rb:10359 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#10362 + # pkg:gem/prism#lib/prism/node.rb:10362 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20733,26 +20733,26 @@ class Prism::InstanceVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#10370 + # pkg:gem/prism#lib/prism/node.rb:10370 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#10367 + # pkg:gem/prism#lib/prism/node.rb:10367 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10375 + # pkg:gem/prism#lib/prism/node.rb:10375 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#10380 + # pkg:gem/prism#lib/prism/node.rb:10380 def type; end end end @@ -20762,13 +20762,13 @@ end # @foo = 1 # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#10396 +# pkg:gem/prism#lib/prism/node.rb:10396 class Prism::InstanceVariableWriteNode < ::Prism::Node # Initialize a new InstanceVariableWriteNode node. # # @return [InstanceVariableWriteNode] a new instance of InstanceVariableWriteNode # - # source://prism//lib/prism/node.rb#10398 + # pkg:gem/prism#lib/prism/node.rb:10398 sig do params( source: Prism::Source, @@ -20786,36 +20786,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#10512 + # pkg:gem/prism#lib/prism/node.rb:10512 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10410 + # pkg:gem/prism#lib/prism/node.rb:10410 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10415 + # pkg:gem/prism#lib/prism/node.rb:10415 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#10425 + # pkg:gem/prism#lib/prism/node.rb:10425 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#10420 + # pkg:gem/prism#lib/prism/node.rb:10420 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#10430 + # pkg:gem/prism#lib/prism/node.rb:10430 sig do params( node_id: Integer, @@ -20832,13 +20832,13 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10435 + # pkg:gem/prism#lib/prism/node.rb:10435 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#10438 + # pkg:gem/prism#lib/prism/node.rb:10438 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -20847,7 +20847,7 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#10496 + # pkg:gem/prism#lib/prism/node.rb:10496 sig { override.returns(String) } def inspect; end @@ -20857,7 +20857,7 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # # @_foo = "bar" # name `@_foo` # - # source://prism//lib/prism/node.rb#10447 + # pkg:gem/prism#lib/prism/node.rb:10447 sig { returns(Symbol) } def name; end @@ -20866,13 +20866,13 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # @_x = 1 # ^^^ # - # source://prism//lib/prism/node.rb#10453 + # pkg:gem/prism#lib/prism/node.rb:10453 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#10491 + # pkg:gem/prism#lib/prism/node.rb:10491 sig { returns(String) } def operator; end @@ -20881,25 +20881,25 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # @x = y # ^ # - # source://prism//lib/prism/node.rb#10478 + # pkg:gem/prism#lib/prism/node.rb:10478 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#10461 + # pkg:gem/prism#lib/prism/node.rb:10461 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#10486 + # pkg:gem/prism#lib/prism/node.rb:10486 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10501 + # pkg:gem/prism#lib/prism/node.rb:10501 sig { override.returns(Symbol) } def type; end @@ -20911,41 +20911,41 @@ class Prism::InstanceVariableWriteNode < ::Prism::Node # @_x = 1234 # ^^^^ # - # source://prism//lib/prism/node.rb#10472 + # pkg:gem/prism#lib/prism/node.rb:10472 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#10506 + # pkg:gem/prism#lib/prism/node.rb:10506 def type; end end end # Flags for integer nodes that correspond to the base of the integer. # -# source://prism//lib/prism/node.rb#18717 +# pkg:gem/prism#lib/prism/node.rb:18717 module Prism::IntegerBaseFlags; end # 0b prefix # -# source://prism//lib/prism/node.rb#18719 +# pkg:gem/prism#lib/prism/node.rb:18719 Prism::IntegerBaseFlags::BINARY = T.let(T.unsafe(nil), Integer) # 0d or no prefix # -# source://prism//lib/prism/node.rb#18722 +# pkg:gem/prism#lib/prism/node.rb:18722 Prism::IntegerBaseFlags::DECIMAL = T.let(T.unsafe(nil), Integer) # 0x prefix # -# source://prism//lib/prism/node.rb#18728 +# pkg:gem/prism#lib/prism/node.rb:18728 Prism::IntegerBaseFlags::HEXADECIMAL = T.let(T.unsafe(nil), Integer) # 0o or 0 prefix # -# source://prism//lib/prism/node.rb#18725 +# pkg:gem/prism#lib/prism/node.rb:18725 Prism::IntegerBaseFlags::OCTAL = T.let(T.unsafe(nil), Integer) # Represents an integer number literal. @@ -20953,13 +20953,13 @@ Prism::IntegerBaseFlags::OCTAL = T.let(T.unsafe(nil), Integer) # 1 # ^ # -# source://prism//lib/prism/node.rb#10525 +# pkg:gem/prism#lib/prism/node.rb:10525 class Prism::IntegerNode < ::Prism::Node # Initialize a new IntegerNode node. # # @return [IntegerNode] a new instance of IntegerNode # - # source://prism//lib/prism/node.rb#10527 + # pkg:gem/prism#lib/prism/node.rb:10527 sig do params( source: Prism::Source, @@ -20974,12 +20974,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#10608 + # pkg:gem/prism#lib/prism/node.rb:10608 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10536 + # pkg:gem/prism#lib/prism/node.rb:10536 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -20987,31 +20987,31 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10569 + # pkg:gem/prism#lib/prism/node.rb:10569 sig { returns(T::Boolean) } def binary?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10541 + # pkg:gem/prism#lib/prism/node.rb:10541 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#10551 + # pkg:gem/prism#lib/prism/node.rb:10551 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#10546 + # pkg:gem/prism#lib/prism/node.rb:10546 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#10556 + # pkg:gem/prism#lib/prism/node.rb:10556 sig do params( node_id: Integer, @@ -21026,20 +21026,20 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10574 + # pkg:gem/prism#lib/prism/node.rb:10574 sig { returns(T::Boolean) } def decimal?; end # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10561 + # pkg:gem/prism#lib/prism/node.rb:10561 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#10564 + # pkg:gem/prism#lib/prism/node.rb:10564 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21050,13 +21050,13 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10584 + # pkg:gem/prism#lib/prism/node.rb:10584 sig { returns(T::Boolean) } def hexadecimal?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#10592 + # pkg:gem/prism#lib/prism/node.rb:10592 sig { override.returns(String) } def inspect; end @@ -21064,26 +21064,26 @@ class Prism::IntegerNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10579 + # pkg:gem/prism#lib/prism/node.rb:10579 sig { returns(T::Boolean) } def octal?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10597 + # pkg:gem/prism#lib/prism/node.rb:10597 sig { override.returns(Symbol) } def type; end # The value of the integer literal as a number. # - # source://prism//lib/prism/node.rb#10589 + # pkg:gem/prism#lib/prism/node.rb:10589 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#10602 + # pkg:gem/prism#lib/prism/node.rb:10602 def type; end end end @@ -21093,7 +21093,7 @@ end # if /foo #{bar} baz/ then end # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#10619 +# pkg:gem/prism#lib/prism/node.rb:10619 class Prism::InterpolatedMatchLastLineNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -21101,7 +21101,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [InterpolatedMatchLastLineNode] a new instance of InterpolatedMatchLastLineNode # - # source://prism//lib/prism/node.rb#10621 + # pkg:gem/prism#lib/prism/node.rb:10621 sig do params( source: Prism::Source, @@ -21118,12 +21118,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#10775 + # pkg:gem/prism#lib/prism/node.rb:10775 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10632 + # pkg:gem/prism#lib/prism/node.rb:10632 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -21131,43 +21131,43 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10690 + # pkg:gem/prism#lib/prism/node.rb:10690 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10637 + # pkg:gem/prism#lib/prism/node.rb:10637 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#10754 + # pkg:gem/prism#lib/prism/node.rb:10754 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#10736 + # pkg:gem/prism#lib/prism/node.rb:10736 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#10647 + # pkg:gem/prism#lib/prism/node.rb:10647 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#10642 + # pkg:gem/prism#lib/prism/node.rb:10642 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#10652 + # pkg:gem/prism#lib/prism/node.rb:10652 sig do params( node_id: Integer, @@ -21183,13 +21183,13 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10657 + # pkg:gem/prism#lib/prism/node.rb:10657 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#10660 + # pkg:gem/prism#lib/prism/node.rb:10660 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21197,7 +21197,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10685 + # pkg:gem/prism#lib/prism/node.rb:10685 sig { returns(T::Boolean) } def euc_jp?; end @@ -21205,7 +21205,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10670 + # pkg:gem/prism#lib/prism/node.rb:10670 sig { returns(T::Boolean) } def extended?; end @@ -21216,7 +21216,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10710 + # pkg:gem/prism#lib/prism/node.rb:10710 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -21224,7 +21224,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10715 + # pkg:gem/prism#lib/prism/node.rb:10715 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -21232,7 +21232,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10705 + # pkg:gem/prism#lib/prism/node.rb:10705 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -21240,13 +21240,13 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10665 + # pkg:gem/prism#lib/prism/node.rb:10665 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#10759 + # pkg:gem/prism#lib/prism/node.rb:10759 sig { override.returns(String) } def inspect; end @@ -21254,30 +21254,30 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10675 + # pkg:gem/prism#lib/prism/node.rb:10675 sig { returns(T::Boolean) } def multi_line?; end - # source://prism//lib/prism/parse_result/newlines.rb#122 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:122 def newline_flag!(lines); end # def once?: () -> bool # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10680 + # pkg:gem/prism#lib/prism/node.rb:10680 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#10749 + # pkg:gem/prism#lib/prism/node.rb:10749 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#10720 + # pkg:gem/prism#lib/prism/node.rb:10720 sig { returns(Prism::Location) } def opening_loc; end @@ -21286,25 +21286,25 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism//lib/prism/node.rb#10733 + # pkg:gem/prism#lib/prism/node.rb:10733 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#10744 + # pkg:gem/prism#lib/prism/node.rb:10744 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#10728 + # pkg:gem/prism#lib/prism/node.rb:10728 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10764 + # pkg:gem/prism#lib/prism/node.rb:10764 sig { override.returns(Symbol) } def type; end @@ -21312,7 +21312,7 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10700 + # pkg:gem/prism#lib/prism/node.rb:10700 sig { returns(T::Boolean) } def utf_8?; end @@ -21320,14 +21320,14 @@ class Prism::InterpolatedMatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10695 + # pkg:gem/prism#lib/prism/node.rb:10695 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#10769 + # pkg:gem/prism#lib/prism/node.rb:10769 def type; end end end @@ -21337,7 +21337,7 @@ end # /foo #{bar} baz/ # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#10789 +# pkg:gem/prism#lib/prism/node.rb:10789 class Prism::InterpolatedRegularExpressionNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -21345,7 +21345,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [InterpolatedRegularExpressionNode] a new instance of InterpolatedRegularExpressionNode # - # source://prism//lib/prism/node.rb#10791 + # pkg:gem/prism#lib/prism/node.rb:10791 sig do params( source: Prism::Source, @@ -21362,12 +21362,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#10945 + # pkg:gem/prism#lib/prism/node.rb:10945 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10802 + # pkg:gem/prism#lib/prism/node.rb:10802 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -21375,43 +21375,43 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10860 + # pkg:gem/prism#lib/prism/node.rb:10860 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10807 + # pkg:gem/prism#lib/prism/node.rb:10807 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#10924 + # pkg:gem/prism#lib/prism/node.rb:10924 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#10906 + # pkg:gem/prism#lib/prism/node.rb:10906 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#10817 + # pkg:gem/prism#lib/prism/node.rb:10817 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#10812 + # pkg:gem/prism#lib/prism/node.rb:10812 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#10822 + # pkg:gem/prism#lib/prism/node.rb:10822 sig do params( node_id: Integer, @@ -21427,13 +21427,13 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10827 + # pkg:gem/prism#lib/prism/node.rb:10827 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#10830 + # pkg:gem/prism#lib/prism/node.rb:10830 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21441,7 +21441,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10855 + # pkg:gem/prism#lib/prism/node.rb:10855 sig { returns(T::Boolean) } def euc_jp?; end @@ -21449,7 +21449,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10840 + # pkg:gem/prism#lib/prism/node.rb:10840 sig { returns(T::Boolean) } def extended?; end @@ -21460,7 +21460,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10880 + # pkg:gem/prism#lib/prism/node.rb:10880 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -21468,7 +21468,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10885 + # pkg:gem/prism#lib/prism/node.rb:10885 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -21476,7 +21476,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10875 + # pkg:gem/prism#lib/prism/node.rb:10875 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -21484,13 +21484,13 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10835 + # pkg:gem/prism#lib/prism/node.rb:10835 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#10929 + # pkg:gem/prism#lib/prism/node.rb:10929 sig { override.returns(String) } def inspect; end @@ -21498,30 +21498,30 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10845 + # pkg:gem/prism#lib/prism/node.rb:10845 sig { returns(T::Boolean) } def multi_line?; end - # source://prism//lib/prism/parse_result/newlines.rb#129 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:129 def newline_flag!(lines); end # def once?: () -> bool # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10850 + # pkg:gem/prism#lib/prism/node.rb:10850 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#10919 + # pkg:gem/prism#lib/prism/node.rb:10919 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#10890 + # pkg:gem/prism#lib/prism/node.rb:10890 sig { returns(Prism::Location) } def opening_loc; end @@ -21530,25 +21530,25 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism//lib/prism/node.rb#10903 + # pkg:gem/prism#lib/prism/node.rb:10903 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#10914 + # pkg:gem/prism#lib/prism/node.rb:10914 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#10898 + # pkg:gem/prism#lib/prism/node.rb:10898 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#10934 + # pkg:gem/prism#lib/prism/node.rb:10934 sig { override.returns(Symbol) } def type; end @@ -21556,7 +21556,7 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10870 + # pkg:gem/prism#lib/prism/node.rb:10870 sig { returns(T::Boolean) } def utf_8?; end @@ -21564,14 +21564,14 @@ class Prism::InterpolatedRegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#10865 + # pkg:gem/prism#lib/prism/node.rb:10865 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#10939 + # pkg:gem/prism#lib/prism/node.rb:10939 def type; end end end @@ -21581,7 +21581,7 @@ end # "foo #{bar} baz" # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#10959 +# pkg:gem/prism#lib/prism/node.rb:10959 class Prism::InterpolatedStringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -21589,7 +21589,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # # @return [InterpolatedStringNode] a new instance of InterpolatedStringNode # - # source://prism//lib/prism/node.rb#10961 + # pkg:gem/prism#lib/prism/node.rb:10961 sig do params( source: Prism::Source, @@ -21606,48 +21606,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#11082 + # pkg:gem/prism#lib/prism/node.rb:11082 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#10972 + # pkg:gem/prism#lib/prism/node.rb:10972 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10977 + # pkg:gem/prism#lib/prism/node.rb:10977 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#11061 + # pkg:gem/prism#lib/prism/node.rb:11061 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism//lib/prism/node.rb#11037 + # pkg:gem/prism#lib/prism/node.rb:11037 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#10987 + # pkg:gem/prism#lib/prism/node.rb:10987 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#10982 + # pkg:gem/prism#lib/prism/node.rb:10982 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 | XStringNode | InterpolatedXStringNode | SymbolNode | InterpolatedSymbolNode], ?closing_loc: Location?) -> InterpolatedStringNode # - # source://prism//lib/prism/node.rb#10992 + # pkg:gem/prism#lib/prism/node.rb:10992 sig do params( node_id: Integer, @@ -21663,13 +21663,13 @@ class Prism::InterpolatedStringNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#10997 + # pkg:gem/prism#lib/prism/node.rb:10997 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 | XStringNode | InterpolatedXStringNode | SymbolNode | InterpolatedSymbolNode], closing_loc: Location? } # - # source://prism//lib/prism/node.rb#11000 + # pkg:gem/prism#lib/prism/node.rb:11000 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21680,7 +21680,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#11005 + # pkg:gem/prism#lib/prism/node.rb:11005 sig { returns(T::Boolean) } def frozen?; end @@ -21689,7 +21689,7 @@ class Prism::InterpolatedStringNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11066 + # pkg:gem/prism#lib/prism/node.rb:11066 sig { override.returns(String) } def inspect; end @@ -21697,28 +21697,28 @@ class Prism::InterpolatedStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#11010 + # pkg:gem/prism#lib/prism/node.rb:11010 sig { returns(T::Boolean) } def mutable?; end - # source://prism//lib/prism/parse_result/newlines.rb#136 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:136 def newline_flag!(lines); end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#11056 + # pkg:gem/prism#lib/prism/node.rb:11056 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism//lib/prism/node.rb#11015 + # pkg:gem/prism#lib/prism/node.rb:11015 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode | InterpolatedStringNode | XStringNode | InterpolatedXStringNode | SymbolNode | InterpolatedSymbolNode] # - # source://prism//lib/prism/node.rb#11034 + # pkg:gem/prism#lib/prism/node.rb:11034 sig do returns(T::Array[T.any(Prism::StringNode, Prism::EmbeddedStatementsNode, Prism::EmbeddedVariableNode, Prism::InterpolatedStringNode, Prism::XStringNode, Prism::InterpolatedXStringNode, Prism::SymbolNode, Prism::InterpolatedSymbolNode)]) end @@ -21727,38 +21727,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#11051 + # pkg:gem/prism#lib/prism/node.rb:11051 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#11029 + # pkg:gem/prism#lib/prism/node.rb:11029 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11071 + # pkg:gem/prism#lib/prism/node.rb:11071 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#11076 + # pkg:gem/prism#lib/prism/node.rb:11076 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#18732 +# pkg:gem/prism#lib/prism/node.rb:18732 module Prism::InterpolatedStringNodeFlags; end -# source://prism//lib/prism/node.rb#18734 +# pkg:gem/prism#lib/prism/node.rb:18734 Prism::InterpolatedStringNodeFlags::FROZEN = T.let(T.unsafe(nil), Integer) -# source://prism//lib/prism/node.rb#18737 +# pkg:gem/prism#lib/prism/node.rb:18737 Prism::InterpolatedStringNodeFlags::MUTABLE = T.let(T.unsafe(nil), Integer) # Represents a symbol literal that contains interpolation. @@ -21766,13 +21766,13 @@ Prism::InterpolatedStringNodeFlags::MUTABLE = T.let(T.unsafe(nil), Integer) # :"foo #{bar} baz" # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#11096 +# pkg:gem/prism#lib/prism/node.rb:11096 class Prism::InterpolatedSymbolNode < ::Prism::Node # Initialize a new InterpolatedSymbolNode node. # # @return [InterpolatedSymbolNode] a new instance of InterpolatedSymbolNode # - # source://prism//lib/prism/node.rb#11098 + # pkg:gem/prism#lib/prism/node.rb:11098 sig do params( source: Prism::Source, @@ -21789,48 +21789,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#11209 + # pkg:gem/prism#lib/prism/node.rb:11209 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11109 + # pkg:gem/prism#lib/prism/node.rb:11109 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11114 + # pkg:gem/prism#lib/prism/node.rb:11114 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#11188 + # pkg:gem/prism#lib/prism/node.rb:11188 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism//lib/prism/node.rb#11164 + # pkg:gem/prism#lib/prism/node.rb:11164 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#11124 + # pkg:gem/prism#lib/prism/node.rb:11124 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#11119 + # pkg:gem/prism#lib/prism/node.rb:11119 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#11129 + # pkg:gem/prism#lib/prism/node.rb:11129 sig do params( node_id: Integer, @@ -21846,13 +21846,13 @@ class Prism::InterpolatedSymbolNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11134 + # pkg:gem/prism#lib/prism/node.rb:11134 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#11137 + # pkg:gem/prism#lib/prism/node.rb:11137 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -21861,53 +21861,53 @@ class Prism::InterpolatedSymbolNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11193 + # pkg:gem/prism#lib/prism/node.rb:11193 sig { override.returns(String) } def inspect; end - # source://prism//lib/prism/parse_result/newlines.rb#143 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:143 def newline_flag!(lines); end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#11183 + # pkg:gem/prism#lib/prism/node.rb:11183 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism//lib/prism/node.rb#11142 + # pkg:gem/prism#lib/prism/node.rb:11142 sig { returns(T.nilable(Prism::Location)) } def opening_loc; end # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism//lib/prism/node.rb#11161 + # pkg:gem/prism#lib/prism/node.rb:11161 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#11178 + # pkg:gem/prism#lib/prism/node.rb:11178 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#11156 + # pkg:gem/prism#lib/prism/node.rb:11156 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11198 + # pkg:gem/prism#lib/prism/node.rb:11198 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#11203 + # pkg:gem/prism#lib/prism/node.rb:11203 def type; end end end @@ -21917,7 +21917,7 @@ end # `foo #{bar} baz` # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#11222 +# pkg:gem/prism#lib/prism/node.rb:11222 class Prism::InterpolatedXStringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -21925,7 +21925,7 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # # @return [InterpolatedXStringNode] a new instance of InterpolatedXStringNode # - # source://prism//lib/prism/node.rb#11224 + # pkg:gem/prism#lib/prism/node.rb:11224 sig do params( source: Prism::Source, @@ -21942,48 +21942,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#11323 + # pkg:gem/prism#lib/prism/node.rb:11323 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11235 + # pkg:gem/prism#lib/prism/node.rb:11235 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11240 + # pkg:gem/prism#lib/prism/node.rb:11240 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#11302 + # pkg:gem/prism#lib/prism/node.rb:11302 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#11284 + # pkg:gem/prism#lib/prism/node.rb:11284 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#11250 + # pkg:gem/prism#lib/prism/node.rb:11250 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#11245 + # pkg:gem/prism#lib/prism/node.rb:11245 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#11255 + # pkg:gem/prism#lib/prism/node.rb:11255 sig do params( node_id: Integer, @@ -21999,13 +21999,13 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11260 + # pkg:gem/prism#lib/prism/node.rb:11260 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#11263 + # pkg:gem/prism#lib/prism/node.rb:11263 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22017,53 +22017,53 @@ class Prism::InterpolatedXStringNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11307 + # pkg:gem/prism#lib/prism/node.rb:11307 sig { override.returns(String) } def inspect; end - # source://prism//lib/prism/parse_result/newlines.rb#150 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:150 def newline_flag!(lines); end # def opening: () -> String # - # source://prism//lib/prism/node.rb#11297 + # pkg:gem/prism#lib/prism/node.rb:11297 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#11268 + # pkg:gem/prism#lib/prism/node.rb:11268 sig { returns(Prism::Location) } def opening_loc; end # attr_reader parts: Array[StringNode | EmbeddedStatementsNode | EmbeddedVariableNode] # - # source://prism//lib/prism/node.rb#11281 + # pkg:gem/prism#lib/prism/node.rb:11281 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#11292 + # pkg:gem/prism#lib/prism/node.rb:11292 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#11276 + # pkg:gem/prism#lib/prism/node.rb:11276 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11312 + # pkg:gem/prism#lib/prism/node.rb:11312 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#11317 + # pkg:gem/prism#lib/prism/node.rb:11317 def type; end end end @@ -22073,62 +22073,62 @@ end # -> { it } # ^^ # -# source://prism//lib/prism/node.rb#11336 +# pkg:gem/prism#lib/prism/node.rb:11336 class Prism::ItLocalVariableReadNode < ::Prism::Node # Initialize a new ItLocalVariableReadNode node. # # @return [ItLocalVariableReadNode] a new instance of ItLocalVariableReadNode # - # source://prism//lib/prism/node.rb#11338 + # pkg:gem/prism#lib/prism/node.rb:11338 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#11395 + # pkg:gem/prism#lib/prism/node.rb:11395 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11346 + # pkg:gem/prism#lib/prism/node.rb:11346 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11351 + # pkg:gem/prism#lib/prism/node.rb:11351 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#11361 + # pkg:gem/prism#lib/prism/node.rb:11361 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#11356 + # pkg:gem/prism#lib/prism/node.rb:11356 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#11366 + # pkg:gem/prism#lib/prism/node.rb:11366 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11371 + # pkg:gem/prism#lib/prism/node.rb:11371 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#11374 + # pkg:gem/prism#lib/prism/node.rb:11374 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22137,20 +22137,20 @@ class Prism::ItLocalVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11379 + # pkg:gem/prism#lib/prism/node.rb:11379 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11384 + # pkg:gem/prism#lib/prism/node.rb:11384 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#11389 + # pkg:gem/prism#lib/prism/node.rb:11389 def type; end end end @@ -22160,62 +22160,62 @@ end # -> { it + it } # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#11404 +# pkg:gem/prism#lib/prism/node.rb:11404 class Prism::ItParametersNode < ::Prism::Node # Initialize a new ItParametersNode node. # # @return [ItParametersNode] a new instance of ItParametersNode # - # source://prism//lib/prism/node.rb#11406 + # pkg:gem/prism#lib/prism/node.rb:11406 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#11463 + # pkg:gem/prism#lib/prism/node.rb:11463 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11414 + # pkg:gem/prism#lib/prism/node.rb:11414 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11419 + # pkg:gem/prism#lib/prism/node.rb:11419 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#11429 + # pkg:gem/prism#lib/prism/node.rb:11429 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#11424 + # pkg:gem/prism#lib/prism/node.rb:11424 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#11434 + # pkg:gem/prism#lib/prism/node.rb:11434 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11439 + # pkg:gem/prism#lib/prism/node.rb:11439 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#11442 + # pkg:gem/prism#lib/prism/node.rb:11442 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22224,20 +22224,20 @@ class Prism::ItParametersNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11447 + # pkg:gem/prism#lib/prism/node.rb:11447 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11452 + # pkg:gem/prism#lib/prism/node.rb:11452 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#11457 + # pkg:gem/prism#lib/prism/node.rb:11457 def type; end end end @@ -22247,13 +22247,13 @@ end # foo(a: b) # ^^^^ # -# source://prism//lib/prism/node.rb#11472 +# pkg:gem/prism#lib/prism/node.rb:11472 class Prism::KeywordHashNode < ::Prism::Node # Initialize a new KeywordHashNode node. # # @return [KeywordHashNode] a new instance of KeywordHashNode # - # source://prism//lib/prism/node.rb#11474 + # pkg:gem/prism#lib/prism/node.rb:11474 sig do params( source: Prism::Source, @@ -22268,36 +22268,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#11540 + # pkg:gem/prism#lib/prism/node.rb:11540 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11483 + # pkg:gem/prism#lib/prism/node.rb:11483 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11488 + # pkg:gem/prism#lib/prism/node.rb:11488 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#11498 + # pkg:gem/prism#lib/prism/node.rb:11498 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#11493 + # pkg:gem/prism#lib/prism/node.rb:11493 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#11503 + # pkg:gem/prism#lib/prism/node.rb:11503 sig do params( node_id: Integer, @@ -22311,19 +22311,19 @@ class Prism::KeywordHashNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11508 + # pkg:gem/prism#lib/prism/node.rb:11508 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#11511 + # pkg:gem/prism#lib/prism/node.rb:11511 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#11521 + # pkg:gem/prism#lib/prism/node.rb:11521 sig { returns(T::Array[T.any(Prism::AssocNode, Prism::AssocSplatNode)]) } def elements; end @@ -22332,7 +22332,7 @@ class Prism::KeywordHashNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11524 + # pkg:gem/prism#lib/prism/node.rb:11524 sig { override.returns(String) } def inspect; end @@ -22340,32 +22340,32 @@ class Prism::KeywordHashNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#11516 + # pkg:gem/prism#lib/prism/node.rb:11516 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#11529 + # pkg:gem/prism#lib/prism/node.rb:11529 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#11534 + # pkg:gem/prism#lib/prism/node.rb:11534 def type; end end end # Flags for keyword hash nodes. # -# source://prism//lib/prism/node.rb#18741 +# pkg:gem/prism#lib/prism/node.rb:18741 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#18743 +# pkg:gem/prism#lib/prism/node.rb:18743 Prism::KeywordHashNodeFlags::SYMBOL_KEYS = T.let(T.unsafe(nil), Integer) # Represents a keyword rest parameter to a method, block, or lambda definition. @@ -22374,13 +22374,13 @@ Prism::KeywordHashNodeFlags::SYMBOL_KEYS = T.let(T.unsafe(nil), Integer) # ^^^ # end # -# source://prism//lib/prism/node.rb#11553 +# pkg:gem/prism#lib/prism/node.rb:11553 class Prism::KeywordRestParameterNode < ::Prism::Node # Initialize a new KeywordRestParameterNode node. # # @return [KeywordRestParameterNode] a new instance of KeywordRestParameterNode # - # source://prism//lib/prism/node.rb#11555 + # pkg:gem/prism#lib/prism/node.rb:11555 sig do params( source: Prism::Source, @@ -22397,36 +22397,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#11660 + # pkg:gem/prism#lib/prism/node.rb:11660 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11566 + # pkg:gem/prism#lib/prism/node.rb:11566 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11571 + # pkg:gem/prism#lib/prism/node.rb:11571 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#11581 + # pkg:gem/prism#lib/prism/node.rb:11581 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#11576 + # pkg:gem/prism#lib/prism/node.rb:11576 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#11586 + # pkg:gem/prism#lib/prism/node.rb:11586 sig do params( node_id: Integer, @@ -22442,13 +22442,13 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11591 + # pkg:gem/prism#lib/prism/node.rb:11591 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#11594 + # pkg:gem/prism#lib/prism/node.rb:11594 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22457,31 +22457,31 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11644 + # pkg:gem/prism#lib/prism/node.rb:11644 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol? # - # source://prism//lib/prism/node.rb#11604 + # pkg:gem/prism#lib/prism/node.rb:11604 sig { returns(T.nilable(Symbol)) } def name; end # attr_reader name_loc: Location? # - # source://prism//lib/prism/node.rb#11607 + # pkg:gem/prism#lib/prism/node.rb:11607 sig { returns(T.nilable(Prism::Location)) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#11639 + # pkg:gem/prism#lib/prism/node.rb:11639 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#11626 + # pkg:gem/prism#lib/prism/node.rb:11626 sig { returns(Prism::Location) } def operator_loc; end @@ -22489,32 +22489,32 @@ class Prism::KeywordRestParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#11599 + # pkg:gem/prism#lib/prism/node.rb:11599 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#11621 + # pkg:gem/prism#lib/prism/node.rb:11621 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#11634 + # pkg:gem/prism#lib/prism/node.rb:11634 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11649 + # pkg:gem/prism#lib/prism/node.rb:11649 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#11654 + # pkg:gem/prism#lib/prism/node.rb:11654 def type; end end end @@ -22524,13 +22524,13 @@ end # ->(value) { value * 2 } # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#11673 +# pkg:gem/prism#lib/prism/node.rb:11673 class Prism::LambdaNode < ::Prism::Node # Initialize a new LambdaNode node. # # @return [LambdaNode] a new instance of LambdaNode # - # source://prism//lib/prism/node.rb#11675 + # pkg:gem/prism#lib/prism/node.rb:11675 sig do params( source: Prism::Source, @@ -22550,54 +22550,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#11804 + # pkg:gem/prism#lib/prism/node.rb:11804 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11689 + # pkg:gem/prism#lib/prism/node.rb:11689 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#11770 + # pkg:gem/prism#lib/prism/node.rb:11770 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11694 + # pkg:gem/prism#lib/prism/node.rb:11694 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#11783 + # pkg:gem/prism#lib/prism/node.rb:11783 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#11754 + # pkg:gem/prism#lib/prism/node.rb:11754 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#11707 + # pkg:gem/prism#lib/prism/node.rb:11707 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#11699 + # pkg:gem/prism#lib/prism/node.rb:11699 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#11712 + # pkg:gem/prism#lib/prism/node.rb:11712 sig do params( node_id: Integer, @@ -22616,13 +22616,13 @@ class Prism::LambdaNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11717 + # pkg:gem/prism#lib/prism/node.rb:11717 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#11720 + # pkg:gem/prism#lib/prism/node.rb:11720 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -22631,74 +22631,74 @@ class Prism::LambdaNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11788 + # pkg:gem/prism#lib/prism/node.rb:11788 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism//lib/prism/node.rb#11725 + # pkg:gem/prism#lib/prism/node.rb:11725 sig { returns(T::Array[Symbol]) } def locals; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#11778 + # pkg:gem/prism#lib/prism/node.rb:11778 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#11741 + # pkg:gem/prism#lib/prism/node.rb:11741 sig { returns(Prism::Location) } def opening_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#11773 + # pkg:gem/prism#lib/prism/node.rb:11773 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#11728 + # pkg:gem/prism#lib/prism/node.rb:11728 sig { returns(Prism::Location) } def operator_loc; end # attr_reader parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil # - # source://prism//lib/prism/node.rb#11767 + # pkg:gem/prism#lib/prism/node.rb:11767 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#11762 + # pkg:gem/prism#lib/prism/node.rb:11762 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#11749 + # pkg:gem/prism#lib/prism/node.rb:11749 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#11736 + # pkg:gem/prism#lib/prism/node.rb:11736 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11793 + # pkg:gem/prism#lib/prism/node.rb:11793 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#11798 + # pkg:gem/prism#lib/prism/node.rb:11798 def type; end end end @@ -22709,33 +22709,33 @@ end # generally lines up. However, there are a few cases that require special # handling. # -# source://prism//lib/prism/lex_compat.rb#13 +# pkg:gem/prism#lib/prism/lex_compat.rb:13 class Prism::LexCompat # @return [LexCompat] a new instance of LexCompat # - # source://prism//lib/prism/lex_compat.rb#620 + # pkg:gem/prism#lib/prism/lex_compat.rb:620 def initialize(source, **options); end # Returns the value of attribute options. # - # source://prism//lib/prism/lex_compat.rb#618 + # pkg:gem/prism#lib/prism/lex_compat.rb:618 def options; end - # source://prism//lib/prism/lex_compat.rb#625 + # pkg:gem/prism#lib/prism/lex_compat.rb:625 def result; end # Returns the value of attribute source. # - # source://prism//lib/prism/lex_compat.rb#618 + # pkg:gem/prism#lib/prism/lex_compat.rb:618 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#231 +# pkg:gem/prism#lib/prism/lex_compat.rb:231 class Prism::LexCompat::EndContentToken < ::Prism::LexCompat::Token - # source://prism//lib/prism/lex_compat.rb#232 + # pkg:gem/prism#lib/prism/lex_compat.rb:232 def ==(other); end end @@ -22743,13 +22743,13 @@ end # heredoc that should be appended onto the list of tokens when the heredoc # closes. # -# source://prism//lib/prism/lex_compat.rb#292 +# pkg:gem/prism#lib/prism/lex_compat.rb:292 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#604 + # pkg:gem/prism#lib/prism/lex_compat.rb:604 def build(opening); end end end @@ -22758,23 +22758,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#316 +# pkg:gem/prism#lib/prism/lex_compat.rb:316 class Prism::LexCompat::Heredoc::DashHeredoc # @return [DashHeredoc] a new instance of DashHeredoc # - # source://prism//lib/prism/lex_compat.rb#319 + # pkg:gem/prism#lib/prism/lex_compat.rb:319 def initialize(split); end - # source://prism//lib/prism/lex_compat.rb#324 + # pkg:gem/prism#lib/prism/lex_compat.rb:324 def <<(token); end - # source://prism//lib/prism/lex_compat.rb#317 + # pkg:gem/prism#lib/prism/lex_compat.rb:317 def split; end - # source://prism//lib/prism/lex_compat.rb#328 + # pkg:gem/prism#lib/prism/lex_compat.rb:328 def to_a; end - # source://prism//lib/prism/lex_compat.rb#317 + # pkg:gem/prism#lib/prism/lex_compat.rb:317 def tokens; end end @@ -22789,45 +22789,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#375 +# pkg:gem/prism#lib/prism/lex_compat.rb:375 class Prism::LexCompat::Heredoc::DedentingHeredoc # @return [DedentingHeredoc] a new instance of DedentingHeredoc # - # source://prism//lib/prism/lex_compat.rb#380 + # pkg:gem/prism#lib/prism/lex_compat.rb:380 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#391 + # pkg:gem/prism#lib/prism/lex_compat.rb:391 def <<(token); end # Returns the value of attribute dedent. # - # source://prism//lib/prism/lex_compat.rb#378 + # pkg:gem/prism#lib/prism/lex_compat.rb:378 def dedent; end # Returns the value of attribute dedent_next. # - # source://prism//lib/prism/lex_compat.rb#378 + # pkg:gem/prism#lib/prism/lex_compat.rb:378 def dedent_next; end # Returns the value of attribute embexpr_balance. # - # source://prism//lib/prism/lex_compat.rb#378 + # pkg:gem/prism#lib/prism/lex_compat.rb:378 def embexpr_balance; end - # source://prism//lib/prism/lex_compat.rb#428 + # pkg:gem/prism#lib/prism/lex_compat.rb:428 def to_a; end # Returns the value of attribute tokens. # - # source://prism//lib/prism/lex_compat.rb#378 + # pkg:gem/prism#lib/prism/lex_compat.rb:378 def tokens; end end -# source://prism//lib/prism/lex_compat.rb#376 +# pkg:gem/prism#lib/prism/lex_compat.rb:376 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. @@ -22835,20 +22835,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#297 +# pkg:gem/prism#lib/prism/lex_compat.rb:297 class Prism::LexCompat::Heredoc::PlainHeredoc # @return [PlainHeredoc] a new instance of PlainHeredoc # - # source://prism//lib/prism/lex_compat.rb#300 + # pkg:gem/prism#lib/prism/lex_compat.rb:300 def initialize; end - # source://prism//lib/prism/lex_compat.rb#304 + # pkg:gem/prism#lib/prism/lex_compat.rb:304 def <<(token); end - # source://prism//lib/prism/lex_compat.rb#308 + # pkg:gem/prism#lib/prism/lex_compat.rb:308 def to_a; end - # source://prism//lib/prism/lex_compat.rb#298 + # pkg:gem/prism#lib/prism/lex_compat.rb:298 def tokens; end end @@ -22857,27 +22857,27 @@ end # through named captures in regular expressions). In that case we don't # compare the state. # -# source://prism//lib/prism/lex_compat.rb#249 +# pkg:gem/prism#lib/prism/lex_compat.rb:249 class Prism::LexCompat::IdentToken < ::Prism::LexCompat::Token - # source://prism//lib/prism/lex_compat.rb#250 + # pkg:gem/prism#lib/prism/lex_compat.rb:250 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#239 +# pkg:gem/prism#lib/prism/lex_compat.rb:239 class Prism::LexCompat::IgnoreStateToken < ::Prism::LexCompat::Token - # source://prism//lib/prism/lex_compat.rb#240 + # pkg:gem/prism#lib/prism/lex_compat.rb:240 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#260 +# pkg:gem/prism#lib/prism/lex_compat.rb:260 class Prism::LexCompat::IgnoredNewlineToken < ::Prism::LexCompat::Token - # source://prism//lib/prism/lex_compat.rb#261 + # pkg:gem/prism#lib/prism/lex_compat.rb:261 def ==(other); end end @@ -22890,9 +22890,9 @@ end # more accurately, so we need to allow comparing against both END and # END|LABEL. # -# source://prism//lib/prism/lex_compat.rb#280 +# pkg:gem/prism#lib/prism/lex_compat.rb:280 class Prism::LexCompat::ParamToken < ::Prism::LexCompat::Token - # source://prism//lib/prism/lex_compat.rb#281 + # pkg:gem/prism#lib/prism/lex_compat.rb:281 def ==(other); end end @@ -22900,28 +22900,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#34 +# pkg:gem/prism#lib/prism/lex_compat.rb:34 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#15 +# pkg:gem/prism#lib/prism/lex_compat.rb:15 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#20 + # pkg:gem/prism#lib/prism/lex_compat.rb:20 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#26 + # pkg:gem/prism#lib/prism/lex_compat.rb:26 def deconstruct_keys(keys); end # The list of tokens that were produced by the lexer. # - # source://prism//lib/prism/lex_compat.rb#17 + # pkg:gem/prism#lib/prism/lex_compat.rb:17 def value; end end @@ -22929,38 +22929,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#205 +# pkg:gem/prism#lib/prism/lex_compat.rb:205 class Prism::LexCompat::Token < ::SimpleDelegator # The type of the token. # - # source://prism//lib/prism/lex_compat.rb#214 + # pkg:gem/prism#lib/prism/lex_compat.rb:214 def event; end # The location of the token in the source. # - # source://prism//lib/prism/lex_compat.rb#209 + # pkg:gem/prism#lib/prism/lex_compat.rb:209 def location; end # The state of the lexer when this token was produced. # - # source://prism//lib/prism/lex_compat.rb#224 + # pkg:gem/prism#lib/prism/lex_compat.rb:224 def state; end # The slice of the source that this token represents. # - # source://prism//lib/prism/lex_compat.rb#219 + # pkg:gem/prism#lib/prism/lex_compat.rb:219 def value; end end # This is a result specific to the `lex` and `lex_file` methods. # -# source://prism//lib/prism/parse_result.rb#769 +# pkg:gem/prism#lib/prism/parse_result.rb:769 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#774 + # pkg:gem/prism#lib/prism/parse_result.rb:774 sig do params( value: T::Array[T.untyped], @@ -22976,13 +22976,13 @@ class Prism::LexResult < ::Prism::Result # Implement the hash pattern matching interface for LexResult. # - # source://prism//lib/prism/parse_result.rb#780 + # pkg:gem/prism#lib/prism/parse_result.rb:780 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#771 + # pkg:gem/prism#lib/prism/parse_result.rb:771 sig { returns(T::Array[T.untyped]) } def value; end end @@ -22990,22 +22990,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#873 +# pkg:gem/prism#lib/prism/lex_compat.rb:873 class Prism::LexRipper # @return [LexRipper] a new instance of LexRipper # - # source://prism//lib/prism/lex_compat.rb#876 + # pkg:gem/prism#lib/prism/lex_compat.rb:876 def initialize(source); end - # source://prism//lib/prism/lex_compat.rb#880 + # pkg:gem/prism#lib/prism/lex_compat.rb:880 def result; end - # source://prism//lib/prism/lex_compat.rb#874 + # pkg:gem/prism#lib/prism/lex_compat.rb:874 def source; end private - # source://prism//lib/prism/lex_compat.rb#914 + # pkg:gem/prism#lib/prism/lex_compat.rb:914 def lex(source); end end @@ -23014,13 +23014,13 @@ end # target &&= value # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#11820 +# pkg:gem/prism#lib/prism/node.rb:11820 class Prism::LocalVariableAndWriteNode < ::Prism::Node # Initialize a new LocalVariableAndWriteNode node. # # @return [LocalVariableAndWriteNode] a new instance of LocalVariableAndWriteNode # - # source://prism//lib/prism/node.rb#11822 + # pkg:gem/prism#lib/prism/node.rb:11822 sig do params( source: Prism::Source, @@ -23039,36 +23039,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#11924 + # pkg:gem/prism#lib/prism/node.rb:11924 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11835 + # pkg:gem/prism#lib/prism/node.rb:11835 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11840 + # pkg:gem/prism#lib/prism/node.rb:11840 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#11850 + # pkg:gem/prism#lib/prism/node.rb:11850 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#11845 + # pkg:gem/prism#lib/prism/node.rb:11845 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#11855 + # pkg:gem/prism#lib/prism/node.rb:11855 sig do params( node_id: Integer, @@ -23086,23 +23086,23 @@ class Prism::LocalVariableAndWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11860 + # pkg:gem/prism#lib/prism/node.rb:11860 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#11863 + # pkg:gem/prism#lib/prism/node.rb:11863 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#11900 + # pkg:gem/prism#lib/prism/node.rb:11900 sig { returns(Integer) } def depth; end - # source://prism//lib/prism/desugar_compiler.rb#237 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:237 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -23110,62 +23110,62 @@ class Prism::LocalVariableAndWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#11908 + # pkg:gem/prism#lib/prism/node.rb:11908 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#11897 + # pkg:gem/prism#lib/prism/node.rb:11897 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#11868 + # pkg:gem/prism#lib/prism/node.rb:11868 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#11903 + # pkg:gem/prism#lib/prism/node.rb:11903 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#11881 + # pkg:gem/prism#lib/prism/node.rb:11881 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#11876 + # pkg:gem/prism#lib/prism/node.rb:11876 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#11889 + # pkg:gem/prism#lib/prism/node.rb:11889 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#11913 + # pkg:gem/prism#lib/prism/node.rb:11913 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#11894 + # pkg:gem/prism#lib/prism/node.rb:11894 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#11918 + # pkg:gem/prism#lib/prism/node.rb:11918 def type; end end end @@ -23175,13 +23175,13 @@ end # target += value # ^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#11938 +# pkg:gem/prism#lib/prism/node.rb:11938 class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # Initialize a new LocalVariableOperatorWriteNode node. # # @return [LocalVariableOperatorWriteNode] a new instance of LocalVariableOperatorWriteNode # - # source://prism//lib/prism/node.rb#11940 + # pkg:gem/prism#lib/prism/node.rb:11940 sig do params( source: Prism::Source, @@ -23201,48 +23201,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#12041 + # pkg:gem/prism#lib/prism/node.rb:12041 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#11954 + # pkg:gem/prism#lib/prism/node.rb:11954 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader binary_operator: Symbol # - # source://prism//lib/prism/node.rb#12019 + # pkg:gem/prism#lib/prism/node.rb:12019 sig { returns(Symbol) } def binary_operator; end # attr_reader binary_operator_loc: Location # - # source://prism//lib/prism/node.rb#12000 + # pkg:gem/prism#lib/prism/node.rb:12000 sig { returns(Prism::Location) } def binary_operator_loc; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11959 + # pkg:gem/prism#lib/prism/node.rb:11959 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#11969 + # pkg:gem/prism#lib/prism/node.rb:11969 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#11964 + # pkg:gem/prism#lib/prism/node.rb:11964 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#11974 + # pkg:gem/prism#lib/prism/node.rb:11974 sig do params( node_id: Integer, @@ -23261,23 +23261,23 @@ class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#11979 + # pkg:gem/prism#lib/prism/node.rb:11979 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#11982 + # pkg:gem/prism#lib/prism/node.rb:11982 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#12022 + # pkg:gem/prism#lib/prism/node.rb:12022 sig { returns(Integer) } def depth; end - # source://prism//lib/prism/desugar_compiler.rb#249 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:249 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -23285,62 +23285,62 @@ class Prism::LocalVariableOperatorWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12025 + # pkg:gem/prism#lib/prism/node.rb:12025 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#12016 + # pkg:gem/prism#lib/prism/node.rb:12016 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#11987 + # pkg:gem/prism#lib/prism/node.rb:11987 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#454 + # pkg:gem/prism#lib/prism/node_ext.rb:454 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#461 + # pkg:gem/prism#lib/prism/node_ext.rb:461 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#12008 + # pkg:gem/prism#lib/prism/node.rb:12008 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#11995 + # pkg:gem/prism#lib/prism/node.rb:11995 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12030 + # pkg:gem/prism#lib/prism/node.rb:12030 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#12013 + # pkg:gem/prism#lib/prism/node.rb:12013 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#12035 + # pkg:gem/prism#lib/prism/node.rb:12035 def type; end end end @@ -23350,13 +23350,13 @@ end # target ||= value # ^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#12056 +# pkg:gem/prism#lib/prism/node.rb:12056 class Prism::LocalVariableOrWriteNode < ::Prism::Node # Initialize a new LocalVariableOrWriteNode node. # # @return [LocalVariableOrWriteNode] a new instance of LocalVariableOrWriteNode # - # source://prism//lib/prism/node.rb#12058 + # pkg:gem/prism#lib/prism/node.rb:12058 sig do params( source: Prism::Source, @@ -23375,36 +23375,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#12160 + # pkg:gem/prism#lib/prism/node.rb:12160 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12071 + # pkg:gem/prism#lib/prism/node.rb:12071 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12076 + # pkg:gem/prism#lib/prism/node.rb:12076 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#12086 + # pkg:gem/prism#lib/prism/node.rb:12086 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#12081 + # pkg:gem/prism#lib/prism/node.rb:12081 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#12091 + # pkg:gem/prism#lib/prism/node.rb:12091 sig do params( node_id: Integer, @@ -23422,23 +23422,23 @@ class Prism::LocalVariableOrWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12096 + # pkg:gem/prism#lib/prism/node.rb:12096 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#12099 + # pkg:gem/prism#lib/prism/node.rb:12099 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#12136 + # pkg:gem/prism#lib/prism/node.rb:12136 sig { returns(Integer) } def depth; end - # source://prism//lib/prism/desugar_compiler.rb#243 + # pkg:gem/prism#lib/prism/desugar_compiler.rb:243 def desugar; end sig { override.returns(T::Array[Prism::Reflection::Field]) } @@ -23446,62 +23446,62 @@ class Prism::LocalVariableOrWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12144 + # pkg:gem/prism#lib/prism/node.rb:12144 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#12133 + # pkg:gem/prism#lib/prism/node.rb:12133 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#12104 + # pkg:gem/prism#lib/prism/node.rb:12104 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#12139 + # pkg:gem/prism#lib/prism/node.rb:12139 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#12117 + # pkg:gem/prism#lib/prism/node.rb:12117 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#12112 + # pkg:gem/prism#lib/prism/node.rb:12112 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#12125 + # pkg:gem/prism#lib/prism/node.rb:12125 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12149 + # pkg:gem/prism#lib/prism/node.rb:12149 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#12130 + # pkg:gem/prism#lib/prism/node.rb:12130 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#12154 + # pkg:gem/prism#lib/prism/node.rb:12154 def type; end end end @@ -23511,13 +23511,13 @@ end # foo # ^^^ # -# source://prism//lib/prism/node.rb#12174 +# pkg:gem/prism#lib/prism/node.rb:12174 class Prism::LocalVariableReadNode < ::Prism::Node # Initialize a new LocalVariableReadNode node. # # @return [LocalVariableReadNode] a new instance of LocalVariableReadNode # - # source://prism//lib/prism/node.rb#12176 + # pkg:gem/prism#lib/prism/node.rb:12176 sig do params( source: Prism::Source, @@ -23533,36 +23533,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#12255 + # pkg:gem/prism#lib/prism/node.rb:12255 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12186 + # pkg:gem/prism#lib/prism/node.rb:12186 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12191 + # pkg:gem/prism#lib/prism/node.rb:12191 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#12201 + # pkg:gem/prism#lib/prism/node.rb:12201 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#12196 + # pkg:gem/prism#lib/prism/node.rb:12196 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#12206 + # pkg:gem/prism#lib/prism/node.rb:12206 sig do params( node_id: Integer, @@ -23577,13 +23577,13 @@ class Prism::LocalVariableReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12211 + # pkg:gem/prism#lib/prism/node.rb:12211 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#12214 + # pkg:gem/prism#lib/prism/node.rb:12214 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -23595,7 +23595,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#12236 + # pkg:gem/prism#lib/prism/node.rb:12236 sig { returns(Integer) } def depth; end @@ -23604,7 +23604,7 @@ class Prism::LocalVariableReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12239 + # pkg:gem/prism#lib/prism/node.rb:12239 sig { override.returns(String) } def inspect; end @@ -23618,20 +23618,20 @@ class Prism::LocalVariableReadNode < ::Prism::Node # # _1 # name `:_1` # - # source://prism//lib/prism/node.rb#12227 + # pkg:gem/prism#lib/prism/node.rb:12227 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12244 + # pkg:gem/prism#lib/prism/node.rb:12244 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#12249 + # pkg:gem/prism#lib/prism/node.rb:12249 def type; end end end @@ -23644,13 +23644,13 @@ end # foo => baz # ^^^ # -# source://prism//lib/prism/node.rb#12269 +# pkg:gem/prism#lib/prism/node.rb:12269 class Prism::LocalVariableTargetNode < ::Prism::Node # Initialize a new LocalVariableTargetNode node. # # @return [LocalVariableTargetNode] a new instance of LocalVariableTargetNode # - # source://prism//lib/prism/node.rb#12271 + # pkg:gem/prism#lib/prism/node.rb:12271 sig do params( source: Prism::Source, @@ -23666,36 +23666,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#12336 + # pkg:gem/prism#lib/prism/node.rb:12336 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12281 + # pkg:gem/prism#lib/prism/node.rb:12281 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12286 + # pkg:gem/prism#lib/prism/node.rb:12286 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#12296 + # pkg:gem/prism#lib/prism/node.rb:12296 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#12291 + # pkg:gem/prism#lib/prism/node.rb:12291 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#12301 + # pkg:gem/prism#lib/prism/node.rb:12301 sig do params( node_id: Integer, @@ -23710,19 +23710,19 @@ class Prism::LocalVariableTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12306 + # pkg:gem/prism#lib/prism/node.rb:12306 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#12309 + # pkg:gem/prism#lib/prism/node.rb:12309 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#12317 + # pkg:gem/prism#lib/prism/node.rb:12317 sig { returns(Integer) } def depth; end @@ -23731,26 +23731,26 @@ class Prism::LocalVariableTargetNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12320 + # pkg:gem/prism#lib/prism/node.rb:12320 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#12314 + # pkg:gem/prism#lib/prism/node.rb:12314 sig { returns(Symbol) } def name; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12325 + # pkg:gem/prism#lib/prism/node.rb:12325 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#12330 + # pkg:gem/prism#lib/prism/node.rb:12330 def type; end end end @@ -23760,13 +23760,13 @@ end # foo = 1 # ^^^^^^^ # -# source://prism//lib/prism/node.rb#12347 +# pkg:gem/prism#lib/prism/node.rb:12347 class Prism::LocalVariableWriteNode < ::Prism::Node # Initialize a new LocalVariableWriteNode node. # # @return [LocalVariableWriteNode] a new instance of LocalVariableWriteNode # - # source://prism//lib/prism/node.rb#12349 + # pkg:gem/prism#lib/prism/node.rb:12349 sig do params( source: Prism::Source, @@ -23785,36 +23785,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#12477 + # pkg:gem/prism#lib/prism/node.rb:12477 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12362 + # pkg:gem/prism#lib/prism/node.rb:12362 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12367 + # pkg:gem/prism#lib/prism/node.rb:12367 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#12377 + # pkg:gem/prism#lib/prism/node.rb:12377 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#12372 + # pkg:gem/prism#lib/prism/node.rb:12372 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#12382 + # pkg:gem/prism#lib/prism/node.rb:12382 sig do params( node_id: Integer, @@ -23832,13 +23832,13 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12387 + # pkg:gem/prism#lib/prism/node.rb:12387 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#12390 + # pkg:gem/prism#lib/prism/node.rb:12390 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -23850,7 +23850,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#12408 + # pkg:gem/prism#lib/prism/node.rb:12408 sig { returns(Integer) } def depth; end @@ -23859,7 +23859,7 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12461 + # pkg:gem/prism#lib/prism/node.rb:12461 sig { override.returns(String) } def inspect; end @@ -23869,7 +23869,7 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # # abc = 123 # name `:abc` # - # source://prism//lib/prism/node.rb#12399 + # pkg:gem/prism#lib/prism/node.rb:12399 sig { returns(Symbol) } def name; end @@ -23878,13 +23878,13 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # foo = :bar # ^^^ # - # source://prism//lib/prism/node.rb#12414 + # pkg:gem/prism#lib/prism/node.rb:12414 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#12456 + # pkg:gem/prism#lib/prism/node.rb:12456 sig { returns(String) } def operator; end @@ -23893,25 +23893,25 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # x = :y # ^ # - # source://prism//lib/prism/node.rb#12443 + # pkg:gem/prism#lib/prism/node.rb:12443 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#12422 + # pkg:gem/prism#lib/prism/node.rb:12422 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#12451 + # pkg:gem/prism#lib/prism/node.rb:12451 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12466 + # pkg:gem/prism#lib/prism/node.rb:12466 sig { override.returns(Symbol) } def type; end @@ -23927,34 +23927,34 @@ class Prism::LocalVariableWriteNode < ::Prism::Node # # foo = foo # - # source://prism//lib/prism/node.rb#12437 + # pkg:gem/prism#lib/prism/node.rb:12437 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#12471 + # pkg:gem/prism#lib/prism/node.rb:12471 def type; end end end # This represents a location in the source. # -# source://prism//lib/prism/parse_result.rb#278 +# pkg:gem/prism#lib/prism/parse_result.rb:278 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#293 + # pkg:gem/prism#lib/prism/parse_result.rb:293 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#481 + # pkg:gem/prism#lib/prism/parse_result.rb:481 sig { params(other: T.untyped).returns(T::Boolean) } def ==(other); end @@ -23962,14 +23962,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#500 + # pkg:gem/prism#lib/prism/parse_result.rb:500 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#466 + # pkg:gem/prism#lib/prism/parse_result.rb:466 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -23980,7 +23980,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#402 + # pkg:gem/prism#lib/prism/parse_result.rb:402 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -23991,7 +23991,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#442 + # pkg:gem/prism#lib/prism/parse_result.rb:442 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -24002,7 +24002,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#380 + # pkg:gem/prism#lib/prism/parse_result.rb:380 sig do params( cache: T.any(Prism::CodeUnitsCache, T.proc.params(byte_offset: Integer).returns(Integer)) @@ -24012,78 +24012,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#339 + # pkg:gem/prism#lib/prism/parse_result.rb:339 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#329 + # pkg:gem/prism#lib/prism/parse_result.rb:329 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#334 + # pkg:gem/prism#lib/prism/parse_result.rb:334 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#471 + # pkg:gem/prism#lib/prism/parse_result.rb:471 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#454 + # pkg:gem/prism#lib/prism/parse_result.rb:454 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#391 + # pkg:gem/prism#lib/prism/parse_result.rb:391 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#460 + # pkg:gem/prism#lib/prism/parse_result.rb:460 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#396 + # pkg:gem/prism#lib/prism/parse_result.rb:396 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#448 + # pkg:gem/prism#lib/prism/parse_result.rb:448 sig { returns(Integer) } def end_column; end # The line number where this location ends. # - # source://prism//lib/prism/parse_result.rb#418 + # pkg:gem/prism#lib/prism/parse_result.rb:418 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#385 + # pkg:gem/prism#lib/prism/parse_result.rb:385 sig { returns(Integer) } def end_offset; end # Returns a string representation of this location. # - # source://prism//lib/prism/parse_result.rb#344 + # pkg:gem/prism#lib/prism/parse_result.rb:344 sig { returns(String) } def inspect; end @@ -24091,38 +24091,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#490 + # pkg:gem/prism#lib/prism/parse_result.rb:490 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#312 + # pkg:gem/prism#lib/prism/parse_result.rb:312 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#307 + # pkg:gem/prism#lib/prism/parse_result.rb:307 sig { returns(T::Array[Prism::Comment]) } def leading_comments; end # The length of this location in bytes. # - # source://prism//lib/prism/parse_result.rb#289 + # pkg:gem/prism#lib/prism/parse_result.rb:289 sig { returns(Integer) } def length; end # Implement the pretty print interface for Location. # - # source://prism//lib/prism/parse_result.rb#476 + # pkg:gem/prism#lib/prism/parse_result.rb:476 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#354 + # pkg:gem/prism#lib/prism/parse_result.rb:354 sig { returns(String) } def slice; end @@ -24130,78 +24130,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#361 + # pkg:gem/prism#lib/prism/parse_result.rb:361 def slice_lines; end # Returns all of the lines of the source code associated with this location. # - # source://prism//lib/prism/parse_result.rb#349 + # pkg:gem/prism#lib/prism/parse_result.rb:349 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#430 + # pkg:gem/prism#lib/prism/parse_result.rb:430 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#369 + # pkg:gem/prism#lib/prism/parse_result.rb:369 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#436 + # pkg:gem/prism#lib/prism/parse_result.rb:436 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#374 + # pkg:gem/prism#lib/prism/parse_result.rb:374 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#424 + # pkg:gem/prism#lib/prism/parse_result.rb:424 sig { returns(Integer) } def start_column; end # The line number where this location starts. # - # source://prism//lib/prism/parse_result.rb#407 + # pkg:gem/prism#lib/prism/parse_result.rb:407 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#412 + # pkg:gem/prism#lib/prism/parse_result.rb:412 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#286 + # pkg:gem/prism#lib/prism/parse_result.rb:286 sig { returns(Integer) } def start_offset; end # Attach a comment to the trailing comments of this location. # - # source://prism//lib/prism/parse_result.rb#323 + # pkg:gem/prism#lib/prism/parse_result.rb:323 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#318 + # pkg:gem/prism#lib/prism/parse_result.rb:318 sig { returns(T::Array[Prism::Comment]) } def trailing_comments; end @@ -24210,66 +24210,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#281 + # pkg:gem/prism#lib/prism/parse_result.rb:281 sig { returns(Prism::Source) } def source; end end # Flags for while and until loop nodes. # -# source://prism//lib/prism/node.rb#18747 +# pkg:gem/prism#lib/prism/node.rb:18747 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#18749 +# pkg:gem/prism#lib/prism/node.rb:18749 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#562 +# pkg:gem/prism#lib/prism/parse_result.rb:562 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#570 + # pkg:gem/prism#lib/prism/parse_result.rb:570 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#586 + # pkg:gem/prism#lib/prism/parse_result.rb:586 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#591 + # pkg:gem/prism#lib/prism/parse_result.rb:591 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#576 + # pkg:gem/prism#lib/prism/parse_result.rb:576 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#564 + # pkg:gem/prism#lib/prism/parse_result.rb:564 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#581 + # pkg:gem/prism#lib/prism/parse_result.rb:581 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#567 + # pkg:gem/prism#lib/prism/parse_result.rb:567 sig { returns(Prism::Location) } def value_loc; end end @@ -24279,7 +24279,7 @@ end # if /foo/i then end # ^^^^^^ # -# source://prism//lib/prism/node.rb#12491 +# pkg:gem/prism#lib/prism/node.rb:12491 class Prism::MatchLastLineNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -24287,7 +24287,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [MatchLastLineNode] a new instance of MatchLastLineNode # - # source://prism//lib/prism/node.rb#12493 + # pkg:gem/prism#lib/prism/node.rb:12493 sig do params( source: Prism::Source, @@ -24305,12 +24305,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#12666 + # pkg:gem/prism#lib/prism/node.rb:12666 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12505 + # pkg:gem/prism#lib/prism/node.rb:12505 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -24318,55 +24318,55 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12563 + # pkg:gem/prism#lib/prism/node.rb:12563 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12510 + # pkg:gem/prism#lib/prism/node.rb:12510 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#12645 + # pkg:gem/prism#lib/prism/node.rb:12645 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#12619 + # pkg:gem/prism#lib/prism/node.rb:12619 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#12520 + # pkg:gem/prism#lib/prism/node.rb:12520 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#12515 + # pkg:gem/prism#lib/prism/node.rb:12515 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism//lib/prism/node.rb#12640 + # pkg:gem/prism#lib/prism/node.rb:12640 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism//lib/prism/node.rb#12606 + # pkg:gem/prism#lib/prism/node.rb:12606 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#12525 + # pkg:gem/prism#lib/prism/node.rb:12525 sig do params( node_id: Integer, @@ -24383,13 +24383,13 @@ class Prism::MatchLastLineNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12530 + # pkg:gem/prism#lib/prism/node.rb:12530 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#12533 + # pkg:gem/prism#lib/prism/node.rb:12533 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24397,7 +24397,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12558 + # pkg:gem/prism#lib/prism/node.rb:12558 sig { returns(T::Boolean) } def euc_jp?; end @@ -24405,7 +24405,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12543 + # pkg:gem/prism#lib/prism/node.rb:12543 sig { returns(T::Boolean) } def extended?; end @@ -24416,7 +24416,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12583 + # pkg:gem/prism#lib/prism/node.rb:12583 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -24424,7 +24424,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12588 + # pkg:gem/prism#lib/prism/node.rb:12588 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -24432,7 +24432,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12578 + # pkg:gem/prism#lib/prism/node.rb:12578 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -24440,13 +24440,13 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12538 + # pkg:gem/prism#lib/prism/node.rb:12538 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#12650 + # pkg:gem/prism#lib/prism/node.rb:12650 sig { override.returns(String) } def inspect; end @@ -24454,7 +24454,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12548 + # pkg:gem/prism#lib/prism/node.rb:12548 sig { returns(T::Boolean) } def multi_line?; end @@ -24462,19 +24462,19 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12553 + # pkg:gem/prism#lib/prism/node.rb:12553 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#12635 + # pkg:gem/prism#lib/prism/node.rb:12635 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#12593 + # pkg:gem/prism#lib/prism/node.rb:12593 sig { returns(Prism::Location) } def opening_loc; end @@ -24484,30 +24484,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#12627 + # pkg:gem/prism#lib/prism/node.rb:12627 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#12614 + # pkg:gem/prism#lib/prism/node.rb:12614 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#12601 + # pkg:gem/prism#lib/prism/node.rb:12601 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12655 + # pkg:gem/prism#lib/prism/node.rb:12655 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism//lib/prism/node.rb#12632 + # pkg:gem/prism#lib/prism/node.rb:12632 sig { returns(String) } def unescaped; end @@ -24515,7 +24515,7 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12573 + # pkg:gem/prism#lib/prism/node.rb:12573 sig { returns(T::Boolean) } def utf_8?; end @@ -24523,14 +24523,14 @@ class Prism::MatchLastLineNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#12568 + # pkg:gem/prism#lib/prism/node.rb:12568 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#12660 + # pkg:gem/prism#lib/prism/node.rb:12660 def type; end end end @@ -24540,13 +24540,13 @@ end # foo in bar # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#12680 +# pkg:gem/prism#lib/prism/node.rb:12680 class Prism::MatchPredicateNode < ::Prism::Node # Initialize a new MatchPredicateNode node. # # @return [MatchPredicateNode] a new instance of MatchPredicateNode # - # source://prism//lib/prism/node.rb#12682 + # pkg:gem/prism#lib/prism/node.rb:12682 sig do params( source: Prism::Source, @@ -24563,36 +24563,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#12766 + # pkg:gem/prism#lib/prism/node.rb:12766 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12693 + # pkg:gem/prism#lib/prism/node.rb:12693 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12698 + # pkg:gem/prism#lib/prism/node.rb:12698 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#12708 + # pkg:gem/prism#lib/prism/node.rb:12708 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#12703 + # pkg:gem/prism#lib/prism/node.rb:12703 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#12713 + # pkg:gem/prism#lib/prism/node.rb:12713 sig do params( node_id: Integer, @@ -24608,13 +24608,13 @@ class Prism::MatchPredicateNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12718 + # pkg:gem/prism#lib/prism/node.rb:12718 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#12721 + # pkg:gem/prism#lib/prism/node.rb:12721 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24623,50 +24623,50 @@ class Prism::MatchPredicateNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12750 + # pkg:gem/prism#lib/prism/node.rb:12750 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#12745 + # pkg:gem/prism#lib/prism/node.rb:12745 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#12732 + # pkg:gem/prism#lib/prism/node.rb:12732 sig { returns(Prism::Location) } def operator_loc; end # attr_reader pattern: Prism::node # - # source://prism//lib/prism/node.rb#12729 + # pkg:gem/prism#lib/prism/node.rb:12729 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#12740 + # pkg:gem/prism#lib/prism/node.rb:12740 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12755 + # pkg:gem/prism#lib/prism/node.rb:12755 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#12726 + # pkg:gem/prism#lib/prism/node.rb:12726 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#12760 + # pkg:gem/prism#lib/prism/node.rb:12760 def type; end end end @@ -24676,13 +24676,13 @@ end # foo => bar # ^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#12778 +# pkg:gem/prism#lib/prism/node.rb:12778 class Prism::MatchRequiredNode < ::Prism::Node # Initialize a new MatchRequiredNode node. # # @return [MatchRequiredNode] a new instance of MatchRequiredNode # - # source://prism//lib/prism/node.rb#12780 + # pkg:gem/prism#lib/prism/node.rb:12780 sig do params( source: Prism::Source, @@ -24699,36 +24699,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#12912 + # pkg:gem/prism#lib/prism/node.rb:12912 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12791 + # pkg:gem/prism#lib/prism/node.rb:12791 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12796 + # pkg:gem/prism#lib/prism/node.rb:12796 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#12806 + # pkg:gem/prism#lib/prism/node.rb:12806 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#12801 + # pkg:gem/prism#lib/prism/node.rb:12801 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#12811 + # pkg:gem/prism#lib/prism/node.rb:12811 sig do params( node_id: Integer, @@ -24744,13 +24744,13 @@ class Prism::MatchRequiredNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12816 + # pkg:gem/prism#lib/prism/node.rb:12816 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#12819 + # pkg:gem/prism#lib/prism/node.rb:12819 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24759,13 +24759,13 @@ class Prism::MatchRequiredNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12896 + # pkg:gem/prism#lib/prism/node.rb:12896 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#12891 + # pkg:gem/prism#lib/prism/node.rb:12891 sig { returns(String) } def operator; end @@ -24774,7 +24774,7 @@ class Prism::MatchRequiredNode < ::Prism::Node # foo => bar # ^^ # - # source://prism//lib/prism/node.rb#12878 + # pkg:gem/prism#lib/prism/node.rb:12878 sig { returns(Prism::Location) } def operator_loc; end @@ -24822,19 +24822,19 @@ class Prism::MatchRequiredNode < ::Prism::Node # # foo => CONST # - # source://prism//lib/prism/node.rb#12872 + # pkg:gem/prism#lib/prism/node.rb:12872 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#12886 + # pkg:gem/prism#lib/prism/node.rb:12886 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#12901 + # pkg:gem/prism#lib/prism/node.rb:12901 sig { override.returns(Symbol) } def type; end @@ -24843,14 +24843,14 @@ class Prism::MatchRequiredNode < ::Prism::Node # foo => bar # ^^^ # - # source://prism//lib/prism/node.rb#12827 + # pkg:gem/prism#lib/prism/node.rb:12827 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#12906 + # pkg:gem/prism#lib/prism/node.rb:12906 def type; end end end @@ -24860,13 +24860,13 @@ end # /(?bar)/ =~ baz # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#12924 +# pkg:gem/prism#lib/prism/node.rb:12924 class Prism::MatchWriteNode < ::Prism::Node # Initialize a new MatchWriteNode node. # # @return [MatchWriteNode] a new instance of MatchWriteNode # - # source://prism//lib/prism/node.rb#12926 + # pkg:gem/prism#lib/prism/node.rb:12926 sig do params( source: Prism::Source, @@ -24882,42 +24882,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#12991 + # pkg:gem/prism#lib/prism/node.rb:12991 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#12936 + # pkg:gem/prism#lib/prism/node.rb:12936 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader call: CallNode # - # source://prism//lib/prism/node.rb#12969 + # pkg:gem/prism#lib/prism/node.rb:12969 sig { returns(Prism::CallNode) } def call; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12941 + # pkg:gem/prism#lib/prism/node.rb:12941 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#12951 + # pkg:gem/prism#lib/prism/node.rb:12951 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#12946 + # pkg:gem/prism#lib/prism/node.rb:12946 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#12956 + # pkg:gem/prism#lib/prism/node.rb:12956 sig do params( node_id: Integer, @@ -24932,13 +24932,13 @@ class Prism::MatchWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#12961 + # pkg:gem/prism#lib/prism/node.rb:12961 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#12964 + # pkg:gem/prism#lib/prism/node.rb:12964 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -24947,88 +24947,88 @@ class Prism::MatchWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#12975 + # pkg:gem/prism#lib/prism/node.rb:12975 sig { override.returns(String) } def inspect; end # attr_reader targets: Array[LocalVariableTargetNode] # - # source://prism//lib/prism/node.rb#12972 + # pkg:gem/prism#lib/prism/node.rb:12972 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#12980 + # pkg:gem/prism#lib/prism/node.rb:12980 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#12985 + # pkg:gem/prism#lib/prism/node.rb:12985 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#13000 +# pkg:gem/prism#lib/prism/node.rb:13000 class Prism::MissingNode < ::Prism::Node # Initialize a new MissingNode node. # # @return [MissingNode] a new instance of MissingNode # - # source://prism//lib/prism/node.rb#13002 + # pkg:gem/prism#lib/prism/node.rb:13002 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#13059 + # pkg:gem/prism#lib/prism/node.rb:13059 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13010 + # pkg:gem/prism#lib/prism/node.rb:13010 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13015 + # pkg:gem/prism#lib/prism/node.rb:13015 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#13025 + # pkg:gem/prism#lib/prism/node.rb:13025 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#13020 + # pkg:gem/prism#lib/prism/node.rb:13020 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#13030 + # pkg:gem/prism#lib/prism/node.rb:13030 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13035 + # pkg:gem/prism#lib/prism/node.rb:13035 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#13038 + # pkg:gem/prism#lib/prism/node.rb:13038 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -25037,20 +25037,20 @@ class Prism::MissingNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13043 + # pkg:gem/prism#lib/prism/node.rb:13043 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13048 + # pkg:gem/prism#lib/prism/node.rb:13048 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#13053 + # pkg:gem/prism#lib/prism/node.rb:13053 def type; end end end @@ -25060,13 +25060,13 @@ end # module Foo end # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#13068 +# pkg:gem/prism#lib/prism/node.rb:13068 class Prism::ModuleNode < ::Prism::Node # Initialize a new ModuleNode node. # # @return [ModuleNode] a new instance of ModuleNode # - # source://prism//lib/prism/node.rb#13070 + # pkg:gem/prism#lib/prism/node.rb:13070 sig do params( source: Prism::Source, @@ -25086,48 +25086,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#13184 + # pkg:gem/prism#lib/prism/node.rb:13184 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13084 + # pkg:gem/prism#lib/prism/node.rb:13084 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#13139 + # pkg:gem/prism#lib/prism/node.rb:13139 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13089 + # pkg:gem/prism#lib/prism/node.rb:13089 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#13102 + # pkg:gem/prism#lib/prism/node.rb:13102 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#13094 + # pkg:gem/prism#lib/prism/node.rb:13094 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#13136 + # pkg:gem/prism#lib/prism/node.rb:13136 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#13107 + # pkg:gem/prism#lib/prism/node.rb:13107 sig do params( node_id: Integer, @@ -25146,25 +25146,25 @@ class Prism::ModuleNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13112 + # pkg:gem/prism#lib/prism/node.rb:13112 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#13115 + # pkg:gem/prism#lib/prism/node.rb:13115 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#13163 + # pkg:gem/prism#lib/prism/node.rb:13163 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism//lib/prism/node.rb#13142 + # pkg:gem/prism#lib/prism/node.rb:13142 sig { returns(Prism::Location) } def end_keyword_loc; end @@ -25173,56 +25173,56 @@ class Prism::ModuleNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13168 + # pkg:gem/prism#lib/prism/node.rb:13168 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism//lib/prism/node.rb#13120 + # pkg:gem/prism#lib/prism/node.rb:13120 sig { returns(T::Array[Symbol]) } def locals; end # def module_keyword: () -> String # - # source://prism//lib/prism/node.rb#13158 + # pkg:gem/prism#lib/prism/node.rb:13158 sig { returns(String) } def module_keyword; end # attr_reader module_keyword_loc: Location # - # source://prism//lib/prism/node.rb#13123 + # pkg:gem/prism#lib/prism/node.rb:13123 sig { returns(Prism::Location) } def module_keyword_loc; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#13155 + # pkg:gem/prism#lib/prism/node.rb:13155 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#13150 + # pkg:gem/prism#lib/prism/node.rb:13150 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#13131 + # pkg:gem/prism#lib/prism/node.rb:13131 def save_module_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13173 + # pkg:gem/prism#lib/prism/node.rb:13173 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#13178 + # pkg:gem/prism#lib/prism/node.rb:13178 def type; end end end @@ -25237,13 +25237,13 @@ end # for a, b in [[1, 2], [3, 4]] # ^^^^ # -# source://prism//lib/prism/node.rb#13205 +# pkg:gem/prism#lib/prism/node.rb:13205 class Prism::MultiTargetNode < ::Prism::Node # Initialize a new MultiTargetNode node. # # @return [MultiTargetNode] a new instance of MultiTargetNode # - # source://prism//lib/prism/node.rb#13207 + # pkg:gem/prism#lib/prism/node.rb:13207 sig do params( source: Prism::Source, @@ -25262,36 +25262,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#13360 + # pkg:gem/prism#lib/prism/node.rb:13360 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13220 + # pkg:gem/prism#lib/prism/node.rb:13220 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13225 + # pkg:gem/prism#lib/prism/node.rb:13225 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#13239 + # pkg:gem/prism#lib/prism/node.rb:13239 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#13230 + # pkg:gem/prism#lib/prism/node.rb:13230 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#13244 + # pkg:gem/prism#lib/prism/node.rb:13244 sig do params( node_id: Integer, @@ -25309,13 +25309,13 @@ class Prism::MultiTargetNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13249 + # pkg:gem/prism#lib/prism/node.rb:13249 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#13252 + # pkg:gem/prism#lib/prism/node.rb:13252 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -25324,7 +25324,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13344 + # pkg:gem/prism#lib/prism/node.rb:13344 sig { override.returns(String) } def inspect; end @@ -25338,7 +25338,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b, c) = 1, 2, 3, 4, 5 # ^^^^ # - # source://prism//lib/prism/node.rb#13265 + # pkg:gem/prism#lib/prism/node.rb:13265 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 @@ -25346,7 +25346,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def lparen: () -> String? # - # source://prism//lib/prism/node.rb#13334 + # pkg:gem/prism#lib/prism/node.rb:13334 sig { returns(T.nilable(String)) } def lparen; end @@ -25355,7 +25355,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b, c) = 1, 2, 3 # ^ # - # source://prism//lib/prism/node.rb#13293 + # pkg:gem/prism#lib/prism/node.rb:13293 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end @@ -25374,7 +25374,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b,) = 1, 2, 3, 4 # ^ # - # source://prism//lib/prism/node.rb#13281 + # pkg:gem/prism#lib/prism/node.rb:13281 sig { returns(T.nilable(T.any(Prism::ImplicitRestNode, Prism::SplatNode))) } def rest; end @@ -25383,7 +25383,7 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (*, b, c) = 1, 2, 3, 4, 5 # ^^^^ # - # source://prism//lib/prism/node.rb#13287 + # pkg:gem/prism#lib/prism/node.rb:13287 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 @@ -25391,7 +25391,7 @@ class Prism::MultiTargetNode < ::Prism::Node # def rparen: () -> String? # - # source://prism//lib/prism/node.rb#13339 + # pkg:gem/prism#lib/prism/node.rb:13339 sig { returns(T.nilable(String)) } def rparen; end @@ -25400,32 +25400,32 @@ class Prism::MultiTargetNode < ::Prism::Node # a, (b, c) = 1, 2, 3 # ^ # - # source://prism//lib/prism/node.rb#13315 + # pkg:gem/prism#lib/prism/node.rb:13315 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#13307 + # pkg:gem/prism#lib/prism/node.rb:13307 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#13329 + # pkg:gem/prism#lib/prism/node.rb:13329 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13349 + # pkg:gem/prism#lib/prism/node.rb:13349 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#13354 + # pkg:gem/prism#lib/prism/node.rb:13354 def type; end end end @@ -25435,13 +25435,13 @@ end # a, b, c = 1, 2, 3 # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#13376 +# pkg:gem/prism#lib/prism/node.rb:13376 class Prism::MultiWriteNode < ::Prism::Node # Initialize a new MultiWriteNode node. # # @return [MultiWriteNode] a new instance of MultiWriteNode # - # source://prism//lib/prism/node.rb#13378 + # pkg:gem/prism#lib/prism/node.rb:13378 sig do params( source: Prism::Source, @@ -25462,36 +25462,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#13561 + # pkg:gem/prism#lib/prism/node.rb:13561 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13393 + # pkg:gem/prism#lib/prism/node.rb:13393 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13398 + # pkg:gem/prism#lib/prism/node.rb:13398 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#13413 + # pkg:gem/prism#lib/prism/node.rb:13413 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#13403 + # pkg:gem/prism#lib/prism/node.rb:13403 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#13418 + # pkg:gem/prism#lib/prism/node.rb:13418 sig do params( node_id: Integer, @@ -25511,13 +25511,13 @@ class Prism::MultiWriteNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13423 + # pkg:gem/prism#lib/prism/node.rb:13423 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#13426 + # pkg:gem/prism#lib/prism/node.rb:13426 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -25526,7 +25526,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13545 + # pkg:gem/prism#lib/prism/node.rb:13545 sig { override.returns(String) } def inspect; end @@ -25540,7 +25540,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, c = 1, 2, 3, 4, 5 # ^^^^^^^ # - # source://prism//lib/prism/node.rb#13439 + # pkg:gem/prism#lib/prism/node.rb:13439 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 @@ -25548,7 +25548,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def lparen: () -> String? # - # source://prism//lib/prism/node.rb#13530 + # pkg:gem/prism#lib/prism/node.rb:13530 sig { returns(T.nilable(String)) } def lparen; end @@ -25557,13 +25557,13 @@ class Prism::MultiWriteNode < ::Prism::Node # (a, b, c) = 1, 2, 3 # ^ # - # source://prism//lib/prism/node.rb#13467 + # pkg:gem/prism#lib/prism/node.rb:13467 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#13540 + # pkg:gem/prism#lib/prism/node.rb:13540 sig { returns(String) } def operator; end @@ -25572,7 +25572,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, c = 1, 2, 3 # ^ # - # source://prism//lib/prism/node.rb#13511 + # pkg:gem/prism#lib/prism/node.rb:13511 sig { returns(Prism::Location) } def operator_loc; end @@ -25591,7 +25591,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, = 1, 2, 3, 4 # ^ # - # source://prism//lib/prism/node.rb#13455 + # pkg:gem/prism#lib/prism/node.rb:13455 sig { returns(T.nilable(T.any(Prism::ImplicitRestNode, Prism::SplatNode))) } def rest; end @@ -25600,7 +25600,7 @@ class Prism::MultiWriteNode < ::Prism::Node # a, *, b, c = 1, 2, 3, 4, 5 # ^^^^ # - # source://prism//lib/prism/node.rb#13461 + # pkg:gem/prism#lib/prism/node.rb:13461 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 @@ -25608,7 +25608,7 @@ class Prism::MultiWriteNode < ::Prism::Node # def rparen: () -> String? # - # source://prism//lib/prism/node.rb#13535 + # pkg:gem/prism#lib/prism/node.rb:13535 sig { returns(T.nilable(String)) } def rparen; end @@ -25617,31 +25617,31 @@ class Prism::MultiWriteNode < ::Prism::Node # (a, b, c) = 1, 2, 3 # ^ # - # source://prism//lib/prism/node.rb#13489 + # pkg:gem/prism#lib/prism/node.rb:13489 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#13481 + # pkg:gem/prism#lib/prism/node.rb:13481 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#13519 + # pkg:gem/prism#lib/prism/node.rb:13519 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#13503 + # pkg:gem/prism#lib/prism/node.rb:13503 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13550 + # pkg:gem/prism#lib/prism/node.rb:13550 sig { override.returns(Symbol) } def type; end @@ -25650,14 +25650,14 @@ class Prism::MultiWriteNode < ::Prism::Node # a, b, c = 1, 2, 3 # ^^^^^^^ # - # source://prism//lib/prism/node.rb#13527 + # pkg:gem/prism#lib/prism/node.rb:13527 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#13555 + # pkg:gem/prism#lib/prism/node.rb:13555 def type; end end end @@ -25666,761 +25666,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#16 +# pkg:gem/prism#lib/prism/mutation_compiler.rb:16 class Prism::MutationCompiler < ::Prism::Compiler # Copy a AliasGlobalVariableNode node # - # source://prism//lib/prism/mutation_compiler.rb#18 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:18 def visit_alias_global_variable_node(node); end # Copy a AliasMethodNode node # - # source://prism//lib/prism/mutation_compiler.rb#23 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:23 def visit_alias_method_node(node); end # Copy a AlternationPatternNode node # - # source://prism//lib/prism/mutation_compiler.rb#28 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:28 def visit_alternation_pattern_node(node); end # Copy a AndNode node # - # source://prism//lib/prism/mutation_compiler.rb#33 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:33 def visit_and_node(node); end # Copy a ArgumentsNode node # - # source://prism//lib/prism/mutation_compiler.rb#38 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:38 def visit_arguments_node(node); end # Copy a ArrayNode node # - # source://prism//lib/prism/mutation_compiler.rb#43 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:43 def visit_array_node(node); end # Copy a ArrayPatternNode node # - # source://prism//lib/prism/mutation_compiler.rb#48 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:48 def visit_array_pattern_node(node); end # Copy a AssocNode node # - # source://prism//lib/prism/mutation_compiler.rb#53 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:53 def visit_assoc_node(node); end # Copy a AssocSplatNode node # - # source://prism//lib/prism/mutation_compiler.rb#58 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:58 def visit_assoc_splat_node(node); end # Copy a BackReferenceReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#63 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:63 def visit_back_reference_read_node(node); end # Copy a BeginNode node # - # source://prism//lib/prism/mutation_compiler.rb#68 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:68 def visit_begin_node(node); end # Copy a BlockArgumentNode node # - # source://prism//lib/prism/mutation_compiler.rb#73 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:73 def visit_block_argument_node(node); end # Copy a BlockLocalVariableNode node # - # source://prism//lib/prism/mutation_compiler.rb#78 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:78 def visit_block_local_variable_node(node); end # Copy a BlockNode node # - # source://prism//lib/prism/mutation_compiler.rb#83 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:83 def visit_block_node(node); end # Copy a BlockParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#88 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:88 def visit_block_parameter_node(node); end # Copy a BlockParametersNode node # - # source://prism//lib/prism/mutation_compiler.rb#93 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:93 def visit_block_parameters_node(node); end # Copy a BreakNode node # - # source://prism//lib/prism/mutation_compiler.rb#98 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:98 def visit_break_node(node); end # Copy a CallAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#103 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:103 def visit_call_and_write_node(node); end # Copy a CallNode node # - # source://prism//lib/prism/mutation_compiler.rb#108 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:108 def visit_call_node(node); end # Copy a CallOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#113 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:113 def visit_call_operator_write_node(node); end # Copy a CallOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#118 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:118 def visit_call_or_write_node(node); end # Copy a CallTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#123 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:123 def visit_call_target_node(node); end # Copy a CapturePatternNode node # - # source://prism//lib/prism/mutation_compiler.rb#128 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:128 def visit_capture_pattern_node(node); end # Copy a CaseMatchNode node # - # source://prism//lib/prism/mutation_compiler.rb#133 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:133 def visit_case_match_node(node); end # Copy a CaseNode node # - # source://prism//lib/prism/mutation_compiler.rb#138 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:138 def visit_case_node(node); end # Copy a ClassNode node # - # source://prism//lib/prism/mutation_compiler.rb#143 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:143 def visit_class_node(node); end # Copy a ClassVariableAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#148 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:148 def visit_class_variable_and_write_node(node); end # Copy a ClassVariableOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#153 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:153 def visit_class_variable_operator_write_node(node); end # Copy a ClassVariableOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#158 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:158 def visit_class_variable_or_write_node(node); end # Copy a ClassVariableReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#163 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:163 def visit_class_variable_read_node(node); end # Copy a ClassVariableTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#168 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:168 def visit_class_variable_target_node(node); end # Copy a ClassVariableWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#173 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:173 def visit_class_variable_write_node(node); end # Copy a ConstantAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#178 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:178 def visit_constant_and_write_node(node); end # Copy a ConstantOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#183 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:183 def visit_constant_operator_write_node(node); end # Copy a ConstantOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#188 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:188 def visit_constant_or_write_node(node); end # Copy a ConstantPathAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#193 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:193 def visit_constant_path_and_write_node(node); end # Copy a ConstantPathNode node # - # source://prism//lib/prism/mutation_compiler.rb#198 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:198 def visit_constant_path_node(node); end # Copy a ConstantPathOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#203 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:203 def visit_constant_path_operator_write_node(node); end # Copy a ConstantPathOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#208 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:208 def visit_constant_path_or_write_node(node); end # Copy a ConstantPathTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#213 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:213 def visit_constant_path_target_node(node); end # Copy a ConstantPathWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#218 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:218 def visit_constant_path_write_node(node); end # Copy a ConstantReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#223 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:223 def visit_constant_read_node(node); end # Copy a ConstantTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#228 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:228 def visit_constant_target_node(node); end # Copy a ConstantWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#233 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:233 def visit_constant_write_node(node); end # Copy a DefNode node # - # source://prism//lib/prism/mutation_compiler.rb#238 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:238 def visit_def_node(node); end # Copy a DefinedNode node # - # source://prism//lib/prism/mutation_compiler.rb#243 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:243 def visit_defined_node(node); end # Copy a ElseNode node # - # source://prism//lib/prism/mutation_compiler.rb#248 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:248 def visit_else_node(node); end # Copy a EmbeddedStatementsNode node # - # source://prism//lib/prism/mutation_compiler.rb#253 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:253 def visit_embedded_statements_node(node); end # Copy a EmbeddedVariableNode node # - # source://prism//lib/prism/mutation_compiler.rb#258 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:258 def visit_embedded_variable_node(node); end # Copy a EnsureNode node # - # source://prism//lib/prism/mutation_compiler.rb#263 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:263 def visit_ensure_node(node); end # Copy a FalseNode node # - # source://prism//lib/prism/mutation_compiler.rb#268 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:268 def visit_false_node(node); end # Copy a FindPatternNode node # - # source://prism//lib/prism/mutation_compiler.rb#273 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:273 def visit_find_pattern_node(node); end # Copy a FlipFlopNode node # - # source://prism//lib/prism/mutation_compiler.rb#278 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:278 def visit_flip_flop_node(node); end # Copy a FloatNode node # - # source://prism//lib/prism/mutation_compiler.rb#283 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:283 def visit_float_node(node); end # Copy a ForNode node # - # source://prism//lib/prism/mutation_compiler.rb#288 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:288 def visit_for_node(node); end # Copy a ForwardingArgumentsNode node # - # source://prism//lib/prism/mutation_compiler.rb#293 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:293 def visit_forwarding_arguments_node(node); end # Copy a ForwardingParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#298 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:298 def visit_forwarding_parameter_node(node); end # Copy a ForwardingSuperNode node # - # source://prism//lib/prism/mutation_compiler.rb#303 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:303 def visit_forwarding_super_node(node); end # Copy a GlobalVariableAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#308 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:308 def visit_global_variable_and_write_node(node); end # Copy a GlobalVariableOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#313 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:313 def visit_global_variable_operator_write_node(node); end # Copy a GlobalVariableOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#318 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:318 def visit_global_variable_or_write_node(node); end # Copy a GlobalVariableReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#323 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:323 def visit_global_variable_read_node(node); end # Copy a GlobalVariableTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#328 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:328 def visit_global_variable_target_node(node); end # Copy a GlobalVariableWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#333 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:333 def visit_global_variable_write_node(node); end # Copy a HashNode node # - # source://prism//lib/prism/mutation_compiler.rb#338 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:338 def visit_hash_node(node); end # Copy a HashPatternNode node # - # source://prism//lib/prism/mutation_compiler.rb#343 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:343 def visit_hash_pattern_node(node); end # Copy a IfNode node # - # source://prism//lib/prism/mutation_compiler.rb#348 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:348 def visit_if_node(node); end # Copy a ImaginaryNode node # - # source://prism//lib/prism/mutation_compiler.rb#353 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:353 def visit_imaginary_node(node); end # Copy a ImplicitNode node # - # source://prism//lib/prism/mutation_compiler.rb#358 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:358 def visit_implicit_node(node); end # Copy a ImplicitRestNode node # - # source://prism//lib/prism/mutation_compiler.rb#363 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:363 def visit_implicit_rest_node(node); end # Copy a InNode node # - # source://prism//lib/prism/mutation_compiler.rb#368 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:368 def visit_in_node(node); end # Copy a IndexAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#373 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:373 def visit_index_and_write_node(node); end # Copy a IndexOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#378 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:378 def visit_index_operator_write_node(node); end # Copy a IndexOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#383 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:383 def visit_index_or_write_node(node); end # Copy a IndexTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#388 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:388 def visit_index_target_node(node); end # Copy a InstanceVariableAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#393 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:393 def visit_instance_variable_and_write_node(node); end # Copy a InstanceVariableOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#398 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:398 def visit_instance_variable_operator_write_node(node); end # Copy a InstanceVariableOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#403 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:403 def visit_instance_variable_or_write_node(node); end # Copy a InstanceVariableReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#408 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:408 def visit_instance_variable_read_node(node); end # Copy a InstanceVariableTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#413 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:413 def visit_instance_variable_target_node(node); end # Copy a InstanceVariableWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#418 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:418 def visit_instance_variable_write_node(node); end # Copy a IntegerNode node # - # source://prism//lib/prism/mutation_compiler.rb#423 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:423 def visit_integer_node(node); end # Copy a InterpolatedMatchLastLineNode node # - # source://prism//lib/prism/mutation_compiler.rb#428 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:428 def visit_interpolated_match_last_line_node(node); end # Copy a InterpolatedRegularExpressionNode node # - # source://prism//lib/prism/mutation_compiler.rb#433 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:433 def visit_interpolated_regular_expression_node(node); end # Copy a InterpolatedStringNode node # - # source://prism//lib/prism/mutation_compiler.rb#438 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:438 def visit_interpolated_string_node(node); end # Copy a InterpolatedSymbolNode node # - # source://prism//lib/prism/mutation_compiler.rb#443 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:443 def visit_interpolated_symbol_node(node); end # Copy a InterpolatedXStringNode node # - # source://prism//lib/prism/mutation_compiler.rb#448 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:448 def visit_interpolated_x_string_node(node); end # Copy a ItLocalVariableReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#453 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:453 def visit_it_local_variable_read_node(node); end # Copy a ItParametersNode node # - # source://prism//lib/prism/mutation_compiler.rb#458 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:458 def visit_it_parameters_node(node); end # Copy a KeywordHashNode node # - # source://prism//lib/prism/mutation_compiler.rb#463 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:463 def visit_keyword_hash_node(node); end # Copy a KeywordRestParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#468 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:468 def visit_keyword_rest_parameter_node(node); end # Copy a LambdaNode node # - # source://prism//lib/prism/mutation_compiler.rb#473 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:473 def visit_lambda_node(node); end # Copy a LocalVariableAndWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#478 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:478 def visit_local_variable_and_write_node(node); end # Copy a LocalVariableOperatorWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#483 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:483 def visit_local_variable_operator_write_node(node); end # Copy a LocalVariableOrWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#488 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:488 def visit_local_variable_or_write_node(node); end # Copy a LocalVariableReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#493 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:493 def visit_local_variable_read_node(node); end # Copy a LocalVariableTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#498 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:498 def visit_local_variable_target_node(node); end # Copy a LocalVariableWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#503 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:503 def visit_local_variable_write_node(node); end # Copy a MatchLastLineNode node # - # source://prism//lib/prism/mutation_compiler.rb#508 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:508 def visit_match_last_line_node(node); end # Copy a MatchPredicateNode node # - # source://prism//lib/prism/mutation_compiler.rb#513 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:513 def visit_match_predicate_node(node); end # Copy a MatchRequiredNode node # - # source://prism//lib/prism/mutation_compiler.rb#518 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:518 def visit_match_required_node(node); end # Copy a MatchWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#523 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:523 def visit_match_write_node(node); end # Copy a MissingNode node # - # source://prism//lib/prism/mutation_compiler.rb#528 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:528 def visit_missing_node(node); end # Copy a ModuleNode node # - # source://prism//lib/prism/mutation_compiler.rb#533 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:533 def visit_module_node(node); end # Copy a MultiTargetNode node # - # source://prism//lib/prism/mutation_compiler.rb#538 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:538 def visit_multi_target_node(node); end # Copy a MultiWriteNode node # - # source://prism//lib/prism/mutation_compiler.rb#543 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:543 def visit_multi_write_node(node); end # Copy a NextNode node # - # source://prism//lib/prism/mutation_compiler.rb#548 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:548 def visit_next_node(node); end # Copy a NilNode node # - # source://prism//lib/prism/mutation_compiler.rb#553 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:553 def visit_nil_node(node); end # Copy a NoKeywordsParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#558 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:558 def visit_no_keywords_parameter_node(node); end # Copy a NumberedParametersNode node # - # source://prism//lib/prism/mutation_compiler.rb#563 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:563 def visit_numbered_parameters_node(node); end # Copy a NumberedReferenceReadNode node # - # source://prism//lib/prism/mutation_compiler.rb#568 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:568 def visit_numbered_reference_read_node(node); end # Copy a OptionalKeywordParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#573 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:573 def visit_optional_keyword_parameter_node(node); end # Copy a OptionalParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#578 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:578 def visit_optional_parameter_node(node); end # Copy a OrNode node # - # source://prism//lib/prism/mutation_compiler.rb#583 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:583 def visit_or_node(node); end # Copy a ParametersNode node # - # source://prism//lib/prism/mutation_compiler.rb#588 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:588 def visit_parameters_node(node); end # Copy a ParenthesesNode node # - # source://prism//lib/prism/mutation_compiler.rb#593 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:593 def visit_parentheses_node(node); end # Copy a PinnedExpressionNode node # - # source://prism//lib/prism/mutation_compiler.rb#598 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:598 def visit_pinned_expression_node(node); end # Copy a PinnedVariableNode node # - # source://prism//lib/prism/mutation_compiler.rb#603 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:603 def visit_pinned_variable_node(node); end # Copy a PostExecutionNode node # - # source://prism//lib/prism/mutation_compiler.rb#608 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:608 def visit_post_execution_node(node); end # Copy a PreExecutionNode node # - # source://prism//lib/prism/mutation_compiler.rb#613 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:613 def visit_pre_execution_node(node); end # Copy a ProgramNode node # - # source://prism//lib/prism/mutation_compiler.rb#618 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:618 def visit_program_node(node); end # Copy a RangeNode node # - # source://prism//lib/prism/mutation_compiler.rb#623 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:623 def visit_range_node(node); end # Copy a RationalNode node # - # source://prism//lib/prism/mutation_compiler.rb#628 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:628 def visit_rational_node(node); end # Copy a RedoNode node # - # source://prism//lib/prism/mutation_compiler.rb#633 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:633 def visit_redo_node(node); end # Copy a RegularExpressionNode node # - # source://prism//lib/prism/mutation_compiler.rb#638 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:638 def visit_regular_expression_node(node); end # Copy a RequiredKeywordParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#643 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:643 def visit_required_keyword_parameter_node(node); end # Copy a RequiredParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#648 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:648 def visit_required_parameter_node(node); end # Copy a RescueModifierNode node # - # source://prism//lib/prism/mutation_compiler.rb#653 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:653 def visit_rescue_modifier_node(node); end # Copy a RescueNode node # - # source://prism//lib/prism/mutation_compiler.rb#658 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:658 def visit_rescue_node(node); end # Copy a RestParameterNode node # - # source://prism//lib/prism/mutation_compiler.rb#663 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:663 def visit_rest_parameter_node(node); end # Copy a RetryNode node # - # source://prism//lib/prism/mutation_compiler.rb#668 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:668 def visit_retry_node(node); end # Copy a ReturnNode node # - # source://prism//lib/prism/mutation_compiler.rb#673 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:673 def visit_return_node(node); end # Copy a SelfNode node # - # source://prism//lib/prism/mutation_compiler.rb#678 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:678 def visit_self_node(node); end # Copy a ShareableConstantNode node # - # source://prism//lib/prism/mutation_compiler.rb#683 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:683 def visit_shareable_constant_node(node); end # Copy a SingletonClassNode node # - # source://prism//lib/prism/mutation_compiler.rb#688 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:688 def visit_singleton_class_node(node); end # Copy a SourceEncodingNode node # - # source://prism//lib/prism/mutation_compiler.rb#693 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:693 def visit_source_encoding_node(node); end # Copy a SourceFileNode node # - # source://prism//lib/prism/mutation_compiler.rb#698 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:698 def visit_source_file_node(node); end # Copy a SourceLineNode node # - # source://prism//lib/prism/mutation_compiler.rb#703 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:703 def visit_source_line_node(node); end # Copy a SplatNode node # - # source://prism//lib/prism/mutation_compiler.rb#708 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:708 def visit_splat_node(node); end # Copy a StatementsNode node # - # source://prism//lib/prism/mutation_compiler.rb#713 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:713 def visit_statements_node(node); end # Copy a StringNode node # - # source://prism//lib/prism/mutation_compiler.rb#718 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:718 def visit_string_node(node); end # Copy a SuperNode node # - # source://prism//lib/prism/mutation_compiler.rb#723 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:723 def visit_super_node(node); end # Copy a SymbolNode node # - # source://prism//lib/prism/mutation_compiler.rb#728 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:728 def visit_symbol_node(node); end # Copy a TrueNode node # - # source://prism//lib/prism/mutation_compiler.rb#733 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:733 def visit_true_node(node); end # Copy a UndefNode node # - # source://prism//lib/prism/mutation_compiler.rb#738 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:738 def visit_undef_node(node); end # Copy a UnlessNode node # - # source://prism//lib/prism/mutation_compiler.rb#743 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:743 def visit_unless_node(node); end # Copy a UntilNode node # - # source://prism//lib/prism/mutation_compiler.rb#748 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:748 def visit_until_node(node); end # Copy a WhenNode node # - # source://prism//lib/prism/mutation_compiler.rb#753 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:753 def visit_when_node(node); end # Copy a WhileNode node # - # source://prism//lib/prism/mutation_compiler.rb#758 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:758 def visit_while_node(node); end # Copy a XStringNode node # - # source://prism//lib/prism/mutation_compiler.rb#763 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:763 def visit_x_string_node(node); end # Copy a YieldNode node # - # source://prism//lib/prism/mutation_compiler.rb#768 + # pkg:gem/prism#lib/prism/mutation_compiler.rb:768 def visit_yield_node(node); end end @@ -26429,13 +26429,13 @@ end # next 1 # ^^^^^^ # -# source://prism//lib/prism/node.rb#13579 +# pkg:gem/prism#lib/prism/node.rb:13579 class Prism::NextNode < ::Prism::Node # Initialize a new NextNode node. # # @return [NextNode] a new instance of NextNode # - # source://prism//lib/prism/node.rb#13581 + # pkg:gem/prism#lib/prism/node.rb:13581 sig do params( source: Prism::Source, @@ -26451,42 +26451,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#13663 + # pkg:gem/prism#lib/prism/node.rb:13663 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13591 + # pkg:gem/prism#lib/prism/node.rb:13591 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#13626 + # pkg:gem/prism#lib/prism/node.rb:13626 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13596 + # pkg:gem/prism#lib/prism/node.rb:13596 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#13608 + # pkg:gem/prism#lib/prism/node.rb:13608 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#13601 + # pkg:gem/prism#lib/prism/node.rb:13601 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#13613 + # pkg:gem/prism#lib/prism/node.rb:13613 sig do params( node_id: Integer, @@ -26501,13 +26501,13 @@ class Prism::NextNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13618 + # pkg:gem/prism#lib/prism/node.rb:13618 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#13621 + # pkg:gem/prism#lib/prism/node.rb:13621 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -26516,38 +26516,38 @@ class Prism::NextNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13647 + # pkg:gem/prism#lib/prism/node.rb:13647 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#13642 + # pkg:gem/prism#lib/prism/node.rb:13642 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#13629 + # pkg:gem/prism#lib/prism/node.rb:13629 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#13637 + # pkg:gem/prism#lib/prism/node.rb:13637 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13652 + # pkg:gem/prism#lib/prism/node.rb:13652 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#13657 + # pkg:gem/prism#lib/prism/node.rb:13657 def type; end end end @@ -26557,62 +26557,62 @@ end # nil # ^^^ # -# source://prism//lib/prism/node.rb#13674 +# pkg:gem/prism#lib/prism/node.rb:13674 class Prism::NilNode < ::Prism::Node # Initialize a new NilNode node. # # @return [NilNode] a new instance of NilNode # - # source://prism//lib/prism/node.rb#13676 + # pkg:gem/prism#lib/prism/node.rb:13676 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#13733 + # pkg:gem/prism#lib/prism/node.rb:13733 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13684 + # pkg:gem/prism#lib/prism/node.rb:13684 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13689 + # pkg:gem/prism#lib/prism/node.rb:13689 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#13699 + # pkg:gem/prism#lib/prism/node.rb:13699 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#13694 + # pkg:gem/prism#lib/prism/node.rb:13694 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#13704 + # pkg:gem/prism#lib/prism/node.rb:13704 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13709 + # pkg:gem/prism#lib/prism/node.rb:13709 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#13712 + # pkg:gem/prism#lib/prism/node.rb:13712 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -26621,20 +26621,20 @@ class Prism::NilNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13717 + # pkg:gem/prism#lib/prism/node.rb:13717 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13722 + # pkg:gem/prism#lib/prism/node.rb:13722 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#13727 + # pkg:gem/prism#lib/prism/node.rb:13727 def type; end end end @@ -26645,13 +26645,13 @@ end # ^^^^^ # end # -# source://prism//lib/prism/node.rb#13743 +# pkg:gem/prism#lib/prism/node.rb:13743 class Prism::NoKeywordsParameterNode < ::Prism::Node # Initialize a new NoKeywordsParameterNode node. # # @return [NoKeywordsParameterNode] a new instance of NoKeywordsParameterNode # - # source://prism//lib/prism/node.rb#13745 + # pkg:gem/prism#lib/prism/node.rb:13745 sig do params( source: Prism::Source, @@ -26667,36 +26667,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#13840 + # pkg:gem/prism#lib/prism/node.rb:13840 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13755 + # pkg:gem/prism#lib/prism/node.rb:13755 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13760 + # pkg:gem/prism#lib/prism/node.rb:13760 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#13770 + # pkg:gem/prism#lib/prism/node.rb:13770 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#13765 + # pkg:gem/prism#lib/prism/node.rb:13765 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#13775 + # pkg:gem/prism#lib/prism/node.rb:13775 sig do params( node_id: Integer, @@ -26711,13 +26711,13 @@ class Prism::NoKeywordsParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13780 + # pkg:gem/prism#lib/prism/node.rb:13780 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#13783 + # pkg:gem/prism#lib/prism/node.rb:13783 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -26726,56 +26726,56 @@ class Prism::NoKeywordsParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13824 + # pkg:gem/prism#lib/prism/node.rb:13824 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#13819 + # pkg:gem/prism#lib/prism/node.rb:13819 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#13801 + # pkg:gem/prism#lib/prism/node.rb:13801 sig { returns(Prism::Location) } def keyword_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#13814 + # pkg:gem/prism#lib/prism/node.rb:13814 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#13788 + # pkg:gem/prism#lib/prism/node.rb:13788 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#13809 + # pkg:gem/prism#lib/prism/node.rb:13809 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#13796 + # pkg:gem/prism#lib/prism/node.rb:13796 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13829 + # pkg:gem/prism#lib/prism/node.rb:13829 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#13834 + # pkg:gem/prism#lib/prism/node.rb:13834 def type; end end end @@ -26783,7 +26783,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#15 +# pkg:gem/prism#lib/prism/node.rb:15 class Prism::Node abstract! @@ -26791,7 +26791,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#261 + # pkg:gem/prism#lib/prism/node.rb:261 sig { abstract.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -26801,32 +26801,32 @@ class Prism::Node # # node.breadth_first_search { |node| node.node_id == node_id } # - # source://prism//lib/prism/node.rb#231 + # pkg:gem/prism#lib/prism/node.rb:231 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#118 + # pkg:gem/prism#lib/prism/node.rb:118 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#86 + # pkg:gem/prism#lib/prism/node.rb:86 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#112 + # pkg:gem/prism#lib/prism/node.rb:112 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#80 + # pkg:gem/prism#lib/prism/node.rb:80 def cached_start_code_units_offset(cache); end # Returns an array of child nodes, including `nil`s in the place of optional @@ -26834,7 +26834,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#267 + # pkg:gem/prism#lib/prism/node.rb:267 sig { abstract.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end @@ -26843,13 +26843,13 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#281 + # pkg:gem/prism#lib/prism/node.rb:281 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#133 + # pkg:gem/prism#lib/prism/node.rb:133 def comments; end # Returns an array of child nodes, excluding any `nil`s in the place of @@ -26857,7 +26857,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#275 + # pkg:gem/prism#lib/prism/node.rb:275 sig { abstract.returns(T::Array[Prism::Node]) } def compact_child_nodes; end @@ -26866,37 +26866,37 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#271 + # pkg:gem/prism#lib/prism/node.rb:271 sig { abstract.returns(T::Array[T.nilable(Prism::Node)]) } def deconstruct; end - # source://prism//lib/prism/node_ext.rb#10 + # pkg:gem/prism#lib/prism/node_ext.rb:10 def deprecated(*replacements); end # Delegates to the end_character_column of the associated location object. # - # source://prism//lib/prism/node.rb#106 + # pkg:gem/prism#lib/prism/node.rb:106 def end_character_column; end # Delegates to the end_character_offset of the associated location object. # - # source://prism//lib/prism/node.rb#74 + # pkg:gem/prism#lib/prism/node.rb:74 def end_character_offset; end # Delegates to the end_column of the associated location object. # - # source://prism//lib/prism/node.rb#96 + # pkg:gem/prism#lib/prism/node.rb:96 def end_column; end # Delegates to the end_line of the associated location object. # - # source://prism//lib/prism/node.rb#50 + # pkg:gem/prism#lib/prism/node.rb:50 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#63 + # pkg:gem/prism#lib/prism/node.rb:63 sig { returns(Integer) } def end_offset; end @@ -26907,19 +26907,19 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#286 + # pkg:gem/prism#lib/prism/node.rb:286 sig { abstract.returns(String) } def inspect; end # Delegates to the leading_comments of the associated location object. # - # source://prism//lib/prism/node.rb#123 + # pkg:gem/prism#lib/prism/node.rb:123 def leading_comments; end # A Location instance that represents the location of this node in the # source. # - # source://prism//lib/prism/node.rb#33 + # pkg:gem/prism#lib/prism/node.rb:33 sig { returns(Prism::Location) } def location; end @@ -26927,16 +26927,16 @@ class Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#164 + # pkg:gem/prism#lib/prism/node.rb:164 sig { returns(T::Boolean) } def newline?; end - # source://prism//lib/prism/parse_result/newlines.rb#70 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:70 def newline_flag!(lines); end # @return [Boolean] # - # source://prism//lib/prism/parse_result/newlines.rb#66 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:66 def newline_flag?; end # A unique identifier for this node. This is used in a very specific @@ -26944,38 +26944,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#24 + # pkg:gem/prism#lib/prism/node.rb:24 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#175 + # pkg:gem/prism#lib/prism/node.rb:175 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#27 + # pkg:gem/prism#lib/prism/node.rb:27 def save(repository); end # Save the location using a saved source so that it can be retrieved later. # - # source://prism//lib/prism/node.rb#40 + # pkg:gem/prism#lib/prism/node.rb:40 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#144 + # pkg:gem/prism#lib/prism/node.rb:144 sig { returns(T::Array[String]) } def script_lines; end # Slice the location of the node from the source. # - # source://prism//lib/prism/node.rb#147 + # pkg:gem/prism#lib/prism/node.rb:147 sig { returns(String) } def slice; end @@ -26983,40 +26983,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#154 + # pkg:gem/prism#lib/prism/node.rb:154 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#138 + # pkg:gem/prism#lib/prism/node.rb:138 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#101 + # pkg:gem/prism#lib/prism/node.rb:101 def start_character_column; end # Delegates to the start_character_offset of the associated location object. # - # source://prism//lib/prism/node.rb#69 + # pkg:gem/prism#lib/prism/node.rb:69 def start_character_offset; end # Delegates to the start_column of the associated location object. # - # source://prism//lib/prism/node.rb#91 + # pkg:gem/prism#lib/prism/node.rb:91 def start_column; end # Delegates to the start_line of the associated location object. # - # source://prism//lib/prism/node.rb#45 + # pkg:gem/prism#lib/prism/node.rb:45 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#56 + # pkg:gem/prism#lib/prism/node.rb:56 sig { returns(Integer) } def start_offset; end @@ -27024,19 +27024,19 @@ class Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#169 + # pkg:gem/prism#lib/prism/node.rb:169 sig { returns(T::Boolean) } def static_literal?; end # Convert this node into a graphviz dot graph string. # - # source://prism//lib/prism/node.rb#183 + # pkg:gem/prism#lib/prism/node.rb:183 sig { returns(String) } def to_dot; end # Delegates to the trailing_comments of the associated location object. # - # source://prism//lib/prism/node.rb#128 + # pkg:gem/prism#lib/prism/node.rb:128 def trailing_comments; end # Returns a list of nodes that are descendants of this node that contain the @@ -27046,7 +27046,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#194 + # pkg:gem/prism#lib/prism/node.rb:194 sig { params(line: Integer, column: Integer).returns(T::Array[Prism::Node]) } def tunnel(line, column); end @@ -27065,7 +27065,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#302 + # pkg:gem/prism#lib/prism/node.rb:302 sig { abstract.returns(Symbol) } def type; end @@ -27074,7 +27074,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#160 + # pkg:gem/prism#lib/prism/node.rb:160 sig { returns(Integer) } def flags; end @@ -27082,7 +27082,7 @@ class Prism::Node # A pointer to the source that this node was created from. # - # source://prism//lib/prism/node.rb#17 + # pkg:gem/prism#lib/prism/node.rb:17 sig { returns(Prism::Source) } def source; end @@ -27093,7 +27093,7 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#245 + # pkg:gem/prism#lib/prism/node.rb:245 def fields; end # Similar to #type, this method returns a symbol that you can use for @@ -27103,26 +27103,26 @@ class Prism::Node # # @raise [NoMethodError] # - # source://prism//lib/prism/node.rb#310 + # pkg:gem/prism#lib/prism/node.rb:310 def type; end end end # The flags that are common to all nodes. # -# source://prism//lib/prism/node.rb#18846 +# pkg:gem/prism#lib/prism/node.rb:18846 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#18849 +# pkg:gem/prism#lib/prism/node.rb:18849 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#18853 +# pkg:gem/prism#lib/prism/node.rb:18853 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. @@ -27130,13 +27130,13 @@ Prism::NodeFlags::STATIC_LITERAL = T.let(T.unsafe(nil), Integer) # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#13851 +# pkg:gem/prism#lib/prism/node.rb:13851 class Prism::NumberedParametersNode < ::Prism::Node # Initialize a new NumberedParametersNode node. # # @return [NumberedParametersNode] a new instance of NumberedParametersNode # - # source://prism//lib/prism/node.rb#13853 + # pkg:gem/prism#lib/prism/node.rb:13853 sig do params( source: Prism::Source, @@ -27151,36 +27151,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#13914 + # pkg:gem/prism#lib/prism/node.rb:13914 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13862 + # pkg:gem/prism#lib/prism/node.rb:13862 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13867 + # pkg:gem/prism#lib/prism/node.rb:13867 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#13877 + # pkg:gem/prism#lib/prism/node.rb:13877 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#13872 + # pkg:gem/prism#lib/prism/node.rb:13872 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#13882 + # pkg:gem/prism#lib/prism/node.rb:13882 sig do params( node_id: Integer, @@ -27194,13 +27194,13 @@ class Prism::NumberedParametersNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13887 + # pkg:gem/prism#lib/prism/node.rb:13887 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#13890 + # pkg:gem/prism#lib/prism/node.rb:13890 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27209,26 +27209,26 @@ class Prism::NumberedParametersNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13898 + # pkg:gem/prism#lib/prism/node.rb:13898 sig { override.returns(String) } def inspect; end # attr_reader maximum: Integer # - # source://prism//lib/prism/node.rb#13895 + # pkg:gem/prism#lib/prism/node.rb:13895 sig { returns(Integer) } def maximum; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13903 + # pkg:gem/prism#lib/prism/node.rb:13903 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#13908 + # pkg:gem/prism#lib/prism/node.rb:13908 def type; end end end @@ -27238,13 +27238,13 @@ end # $1 # ^^ # -# source://prism//lib/prism/node.rb#13924 +# pkg:gem/prism#lib/prism/node.rb:13924 class Prism::NumberedReferenceReadNode < ::Prism::Node # Initialize a new NumberedReferenceReadNode node. # # @return [NumberedReferenceReadNode] a new instance of NumberedReferenceReadNode # - # source://prism//lib/prism/node.rb#13926 + # pkg:gem/prism#lib/prism/node.rb:13926 sig do params( source: Prism::Source, @@ -27259,36 +27259,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#13993 + # pkg:gem/prism#lib/prism/node.rb:13993 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#13935 + # pkg:gem/prism#lib/prism/node.rb:13935 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13940 + # pkg:gem/prism#lib/prism/node.rb:13940 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#13950 + # pkg:gem/prism#lib/prism/node.rb:13950 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#13945 + # pkg:gem/prism#lib/prism/node.rb:13945 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#13955 + # pkg:gem/prism#lib/prism/node.rb:13955 sig do params( node_id: Integer, @@ -27302,13 +27302,13 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#13960 + # pkg:gem/prism#lib/prism/node.rb:13960 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#13963 + # pkg:gem/prism#lib/prism/node.rb:13963 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27317,7 +27317,7 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#13977 + # pkg:gem/prism#lib/prism/node.rb:13977 sig { override.returns(String) } def inspect; end @@ -27329,20 +27329,20 @@ class Prism::NumberedReferenceReadNode < ::Prism::Node # # $4294967296 # number `0` # - # source://prism//lib/prism/node.rb#13974 + # pkg:gem/prism#lib/prism/node.rb:13974 sig { returns(Integer) } def number; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#13982 + # pkg:gem/prism#lib/prism/node.rb:13982 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#13987 + # pkg:gem/prism#lib/prism/node.rb:13987 def type; end end end @@ -27353,13 +27353,13 @@ end # ^^^^ # end # -# source://prism//lib/prism/node.rb#14004 +# pkg:gem/prism#lib/prism/node.rb:14004 class Prism::OptionalKeywordParameterNode < ::Prism::Node # Initialize a new OptionalKeywordParameterNode node. # # @return [OptionalKeywordParameterNode] a new instance of OptionalKeywordParameterNode # - # source://prism//lib/prism/node.rb#14006 + # pkg:gem/prism#lib/prism/node.rb:14006 sig do params( source: Prism::Source, @@ -27376,36 +27376,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#14090 + # pkg:gem/prism#lib/prism/node.rb:14090 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14017 + # pkg:gem/prism#lib/prism/node.rb:14017 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14022 + # pkg:gem/prism#lib/prism/node.rb:14022 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#14032 + # pkg:gem/prism#lib/prism/node.rb:14032 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#14027 + # pkg:gem/prism#lib/prism/node.rb:14027 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#14037 + # pkg:gem/prism#lib/prism/node.rb:14037 sig do params( node_id: Integer, @@ -27421,13 +27421,13 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14042 + # pkg:gem/prism#lib/prism/node.rb:14042 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#14045 + # pkg:gem/prism#lib/prism/node.rb:14045 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27436,19 +27436,19 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14074 + # pkg:gem/prism#lib/prism/node.rb:14074 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#14055 + # pkg:gem/prism#lib/prism/node.rb:14055 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#14058 + # pkg:gem/prism#lib/prism/node.rb:14058 sig { returns(Prism::Location) } def name_loc; end @@ -27456,32 +27456,32 @@ class Prism::OptionalKeywordParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#14050 + # pkg:gem/prism#lib/prism/node.rb:14050 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#14066 + # pkg:gem/prism#lib/prism/node.rb:14066 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#14079 + # pkg:gem/prism#lib/prism/node.rb:14079 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#14071 + # pkg:gem/prism#lib/prism/node.rb:14071 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#14084 + # pkg:gem/prism#lib/prism/node.rb:14084 def type; end end end @@ -27492,13 +27492,13 @@ end # ^^^^^ # end # -# source://prism//lib/prism/node.rb#14104 +# pkg:gem/prism#lib/prism/node.rb:14104 class Prism::OptionalParameterNode < ::Prism::Node # Initialize a new OptionalParameterNode node. # # @return [OptionalParameterNode] a new instance of OptionalParameterNode # - # source://prism//lib/prism/node.rb#14106 + # pkg:gem/prism#lib/prism/node.rb:14106 sig do params( source: Prism::Source, @@ -27516,36 +27516,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#14209 + # pkg:gem/prism#lib/prism/node.rb:14209 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14118 + # pkg:gem/prism#lib/prism/node.rb:14118 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14123 + # pkg:gem/prism#lib/prism/node.rb:14123 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#14133 + # pkg:gem/prism#lib/prism/node.rb:14133 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#14128 + # pkg:gem/prism#lib/prism/node.rb:14128 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#14138 + # pkg:gem/prism#lib/prism/node.rb:14138 sig do params( node_id: Integer, @@ -27562,13 +27562,13 @@ class Prism::OptionalParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14143 + # pkg:gem/prism#lib/prism/node.rb:14143 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#14146 + # pkg:gem/prism#lib/prism/node.rb:14146 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27577,31 +27577,31 @@ class Prism::OptionalParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14193 + # pkg:gem/prism#lib/prism/node.rb:14193 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#14156 + # pkg:gem/prism#lib/prism/node.rb:14156 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#14159 + # pkg:gem/prism#lib/prism/node.rb:14159 sig { returns(Prism::Location) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#14188 + # pkg:gem/prism#lib/prism/node.rb:14188 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#14172 + # pkg:gem/prism#lib/prism/node.rb:14172 sig { returns(Prism::Location) } def operator_loc; end @@ -27609,38 +27609,38 @@ class Prism::OptionalParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#14151 + # pkg:gem/prism#lib/prism/node.rb:14151 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#14167 + # pkg:gem/prism#lib/prism/node.rb:14167 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#14180 + # pkg:gem/prism#lib/prism/node.rb:14180 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#14198 + # pkg:gem/prism#lib/prism/node.rb:14198 sig { override.returns(Symbol) } def type; end # attr_reader value: Prism::node # - # source://prism//lib/prism/node.rb#14185 + # pkg:gem/prism#lib/prism/node.rb:14185 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#14203 + # pkg:gem/prism#lib/prism/node.rb:14203 def type; end end end @@ -27650,13 +27650,13 @@ end # left or right # ^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#14223 +# pkg:gem/prism#lib/prism/node.rb:14223 class Prism::OrNode < ::Prism::Node # Initialize a new OrNode node. # # @return [OrNode] a new instance of OrNode # - # source://prism//lib/prism/node.rb#14225 + # pkg:gem/prism#lib/prism/node.rb:14225 sig do params( source: Prism::Source, @@ -27673,36 +27673,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#14324 + # pkg:gem/prism#lib/prism/node.rb:14324 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14236 + # pkg:gem/prism#lib/prism/node.rb:14236 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14241 + # pkg:gem/prism#lib/prism/node.rb:14241 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#14251 + # pkg:gem/prism#lib/prism/node.rb:14251 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#14246 + # pkg:gem/prism#lib/prism/node.rb:14246 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#14256 + # pkg:gem/prism#lib/prism/node.rb:14256 sig do params( node_id: Integer, @@ -27718,13 +27718,13 @@ class Prism::OrNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14261 + # pkg:gem/prism#lib/prism/node.rb:14261 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#14264 + # pkg:gem/prism#lib/prism/node.rb:14264 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -27733,7 +27733,7 @@ class Prism::OrNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14308 + # pkg:gem/prism#lib/prism/node.rb:14308 sig { override.returns(String) } def inspect; end @@ -27745,13 +27745,13 @@ class Prism::OrNode < ::Prism::Node # 1 || 2 # ^ # - # source://prism//lib/prism/node.rb#14275 + # pkg:gem/prism#lib/prism/node.rb:14275 sig { returns(Prism::Node) } def left; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#14303 + # pkg:gem/prism#lib/prism/node.rb:14303 sig { returns(String) } def operator; end @@ -27760,7 +27760,7 @@ class Prism::OrNode < ::Prism::Node # left or right # ^^ # - # source://prism//lib/prism/node.rb#14290 + # pkg:gem/prism#lib/prism/node.rb:14290 sig { returns(Prism::Location) } def operator_loc; end @@ -27772,281 +27772,281 @@ class Prism::OrNode < ::Prism::Node # 1 or 2 # ^ # - # source://prism//lib/prism/node.rb#14284 + # pkg:gem/prism#lib/prism/node.rb:14284 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#14298 + # pkg:gem/prism#lib/prism/node.rb:14298 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#14313 + # pkg:gem/prism#lib/prism/node.rb:14313 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#14318 + # pkg:gem/prism#lib/prism/node.rb:14318 def type; end end end # A parser for the pack template language. # -# source://prism//lib/prism/pack.rb#8 +# pkg:gem/prism#lib/prism/pack.rb:8 module Prism::Pack class << self - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def parse(_arg0, _arg1, _arg2); end end end -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::AGNOSTIC_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::BACK = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::BER = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::BIG_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::COMMENT = T.let(T.unsafe(nil), Symbol) # A directive in the pack template language. # -# source://prism//lib/prism/pack.rb#62 +# pkg:gem/prism#lib/prism/pack.rb:62 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#91 + # pkg:gem/prism#lib/prism/pack.rb:91 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#133 + # pkg:gem/prism#lib/prism/pack.rb:133 def describe; end # The type of endianness of the directive. # - # source://prism//lib/prism/pack.rb#79 + # pkg:gem/prism#lib/prism/pack.rb:79 def endian; end # The length of this directive (used for integers). # - # source://prism//lib/prism/pack.rb#88 + # pkg:gem/prism#lib/prism/pack.rb:88 def length; end # The length type of this directive (used for integers). # - # source://prism//lib/prism/pack.rb#85 + # pkg:gem/prism#lib/prism/pack.rb:85 def length_type; end # The type of signedness of the directive. # - # source://prism//lib/prism/pack.rb#76 + # pkg:gem/prism#lib/prism/pack.rb:76 def signed; end # The size of the directive. # - # source://prism//lib/prism/pack.rb#82 + # pkg:gem/prism#lib/prism/pack.rb:82 def size; end # A byteslice of the source string that this directive represents. # - # source://prism//lib/prism/pack.rb#70 + # pkg:gem/prism#lib/prism/pack.rb:70 def source; end # The type of the directive. # - # source://prism//lib/prism/pack.rb#73 + # pkg:gem/prism#lib/prism/pack.rb:73 def type; end # A symbol representing whether or not we are packing or unpacking. # - # source://prism//lib/prism/pack.rb#67 + # pkg:gem/prism#lib/prism/pack.rb:67 def variant; end # A symbol representing the version of Ruby. # - # source://prism//lib/prism/pack.rb#64 + # pkg:gem/prism#lib/prism/pack.rb:64 def version; end end # The descriptions of the various types of endianness. # -# source://prism//lib/prism/pack.rb#104 +# pkg:gem/prism#lib/prism/pack.rb:104 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#113 +# pkg:gem/prism#lib/prism/pack.rb:113 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#120 +# pkg:gem/prism#lib/prism/pack.rb:120 Prism::Pack::Directive::SIZE_DESCRIPTIONS = T.let(T.unsafe(nil), Hash) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::ENDIAN_NA = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::FLOAT = T.let(T.unsafe(nil), Symbol) # The result of parsing a pack template. # -# source://prism//lib/prism/pack.rb#200 +# pkg:gem/prism#lib/prism/pack.rb:200 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#208 + # pkg:gem/prism#lib/prism/pack.rb:208 def initialize(directives, encoding); end # Provide a human-readable description of the format. # - # source://prism//lib/prism/pack.rb#214 + # pkg:gem/prism#lib/prism/pack.rb:214 def describe; end # A list of the directives in the template. # - # source://prism//lib/prism/pack.rb#202 + # pkg:gem/prism#lib/prism/pack.rb:202 def directives; end # The encoding of the template. # - # source://prism//lib/prism/pack.rb#205 + # pkg:gem/prism#lib/prism/pack.rb:205 def encoding; end end -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::INTEGER = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::LENGTH_FIXED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::LENGTH_MAX = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::LENGTH_NA = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::LENGTH_RELATIVE = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::LITTLE_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::MOVE = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::NATIVE_ENDIAN = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::NULL = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIGNED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIGNED_NA = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_16 = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_32 = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_64 = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_8 = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_INT = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_LONG = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_LONG_LONG = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_NA = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_P = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SIZE_SHORT = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::SPACE = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_BASE64 = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_FIXED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_HEX_HIGH = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_HEX_LOW = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_LSB = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_MIME = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_MSB = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_NULL_PADDED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_NULL_TERMINATED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_POINTER = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_SPACE_PADDED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::STRING_UU = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::UNSIGNED = T.let(T.unsafe(nil), Symbol) -# source://prism//lib/prism/pack.rb#58 +# pkg:gem/prism#lib/prism/pack.rb:58 Prism::Pack::UTF8 = T.let(T.unsafe(nil), Symbol) # Flags for parameter nodes. # -# source://prism//lib/prism/node.rb#18753 +# pkg:gem/prism#lib/prism/node.rb:18753 module Prism::ParameterFlags; end # a parameter name that has been repeated in the method signature # -# source://prism//lib/prism/node.rb#18755 +# pkg:gem/prism#lib/prism/node.rb:18755 Prism::ParameterFlags::REPEATED_PARAMETER = T.let(T.unsafe(nil), Integer) # Represents the list of parameters on a method, block, or lambda definition. @@ -28055,13 +28055,13 @@ Prism::ParameterFlags::REPEATED_PARAMETER = T.let(T.unsafe(nil), Integer) # ^^^^^^^ # end # -# source://prism//lib/prism/node.rb#14337 +# pkg:gem/prism#lib/prism/node.rb:14337 class Prism::ParametersNode < ::Prism::Node # Initialize a new ParametersNode node. # # @return [ParametersNode] a new instance of ParametersNode # - # source://prism//lib/prism/node.rb#14339 + # pkg:gem/prism#lib/prism/node.rb:14339 sig do params( source: Prism::Source, @@ -28082,42 +28082,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#14432 + # pkg:gem/prism#lib/prism/node.rb:14432 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14354 + # pkg:gem/prism#lib/prism/node.rb:14354 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader block: BlockParameterNode? # - # source://prism//lib/prism/node.rb#14413 + # pkg:gem/prism#lib/prism/node.rb:14413 sig { returns(T.nilable(Prism::BlockParameterNode)) } def block; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14359 + # pkg:gem/prism#lib/prism/node.rb:14359 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#14377 + # pkg:gem/prism#lib/prism/node.rb:14377 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#14364 + # pkg:gem/prism#lib/prism/node.rb:14364 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#14382 + # pkg:gem/prism#lib/prism/node.rb:14382 sig do params( node_id: Integer, @@ -28137,13 +28137,13 @@ class Prism::ParametersNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14387 + # pkg:gem/prism#lib/prism/node.rb:14387 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#14390 + # pkg:gem/prism#lib/prism/node.rb:14390 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -28152,13 +28152,13 @@ class Prism::ParametersNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14416 + # pkg:gem/prism#lib/prism/node.rb:14416 sig { override.returns(String) } def inspect; end # attr_reader keyword_rest: KeywordRestParameterNode | ForwardingParameterNode | NoKeywordsParameterNode | nil # - # source://prism//lib/prism/node.rb#14410 + # pkg:gem/prism#lib/prism/node.rb:14410 sig do returns(T.nilable(T.any(Prism::KeywordRestParameterNode, Prism::ForwardingParameterNode, Prism::NoKeywordsParameterNode))) end @@ -28166,19 +28166,19 @@ class Prism::ParametersNode < ::Prism::Node # attr_reader keywords: Array[RequiredKeywordParameterNode | OptionalKeywordParameterNode] # - # source://prism//lib/prism/node.rb#14407 + # pkg:gem/prism#lib/prism/node.rb:14407 sig { returns(T::Array[T.any(Prism::RequiredKeywordParameterNode, Prism::OptionalKeywordParameterNode)]) } def keywords; end # attr_reader optionals: Array[OptionalParameterNode] # - # source://prism//lib/prism/node.rb#14398 + # pkg:gem/prism#lib/prism/node.rb:14398 sig { returns(T::Array[Prism::OptionalParameterNode]) } def optionals; end # attr_reader posts: Array[RequiredParameterNode | MultiTargetNode | KeywordRestParameterNode | NoKeywordsParameterNode | ForwardingParameterNode] # - # source://prism//lib/prism/node.rb#14404 + # pkg:gem/prism#lib/prism/node.rb:14404 sig do returns(T::Array[T.any(Prism::RequiredParameterNode, Prism::MultiTargetNode, Prism::KeywordRestParameterNode, Prism::NoKeywordsParameterNode, Prism::ForwardingParameterNode)]) end @@ -28186,32 +28186,32 @@ class Prism::ParametersNode < ::Prism::Node # attr_reader requireds: Array[RequiredParameterNode | MultiTargetNode] # - # source://prism//lib/prism/node.rb#14395 + # pkg:gem/prism#lib/prism/node.rb:14395 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#14401 + # pkg:gem/prism#lib/prism/node.rb:14401 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#272 + # pkg:gem/prism#lib/prism/node_ext.rb:272 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#14421 + # pkg:gem/prism#lib/prism/node.rb:14421 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#14426 + # pkg:gem/prism#lib/prism/node.rb:14426 def type; end end end @@ -28221,13 +28221,13 @@ end # (10 + 34) # ^^^^^^^^^ # -# source://prism//lib/prism/node.rb#14452 +# pkg:gem/prism#lib/prism/node.rb:14452 class Prism::ParenthesesNode < ::Prism::Node # Initialize a new ParenthesesNode node. # # @return [ParenthesesNode] a new instance of ParenthesesNode # - # source://prism//lib/prism/node.rb#14454 + # pkg:gem/prism#lib/prism/node.rb:14454 sig do params( source: Prism::Source, @@ -28244,54 +28244,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#14560 + # pkg:gem/prism#lib/prism/node.rb:14560 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14465 + # pkg:gem/prism#lib/prism/node.rb:14465 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader body: Prism::node? # - # source://prism//lib/prism/node.rb#14505 + # pkg:gem/prism#lib/prism/node.rb:14505 sig { returns(T.nilable(Prism::Node)) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14470 + # pkg:gem/prism#lib/prism/node.rb:14470 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#14539 + # pkg:gem/prism#lib/prism/node.rb:14539 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#14521 + # pkg:gem/prism#lib/prism/node.rb:14521 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#14482 + # pkg:gem/prism#lib/prism/node.rb:14482 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#14475 + # pkg:gem/prism#lib/prism/node.rb:14475 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#14487 + # pkg:gem/prism#lib/prism/node.rb:14487 sig do params( node_id: Integer, @@ -28307,13 +28307,13 @@ class Prism::ParenthesesNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14492 + # pkg:gem/prism#lib/prism/node.rb:14492 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#14495 + # pkg:gem/prism#lib/prism/node.rb:14495 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -28322,7 +28322,7 @@ class Prism::ParenthesesNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14544 + # pkg:gem/prism#lib/prism/node.rb:14544 sig { override.returns(String) } def inspect; end @@ -28330,120 +28330,120 @@ class Prism::ParenthesesNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#14500 + # pkg:gem/prism#lib/prism/node.rb:14500 sig { returns(T::Boolean) } def multiple_statements?; end - # source://prism//lib/prism/parse_result/newlines.rb#86 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:86 def newline_flag!(lines); end # def opening: () -> String # - # source://prism//lib/prism/node.rb#14534 + # pkg:gem/prism#lib/prism/node.rb:14534 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#14508 + # pkg:gem/prism#lib/prism/node.rb:14508 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#14529 + # pkg:gem/prism#lib/prism/node.rb:14529 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#14516 + # pkg:gem/prism#lib/prism/node.rb:14516 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#14549 + # pkg:gem/prism#lib/prism/node.rb:14549 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#14554 + # pkg:gem/prism#lib/prism/node.rb:14554 def type; end end end # Flags for parentheses nodes. # -# source://prism//lib/prism/node.rb#18759 +# pkg:gem/prism#lib/prism/node.rb:18759 module Prism::ParenthesesNodeFlags; end # parentheses that contain multiple potentially void statements # -# source://prism//lib/prism/node.rb#18761 +# pkg:gem/prism#lib/prism/node.rb:18761 Prism::ParenthesesNodeFlags::MULTIPLE_STATEMENTS = T.let(T.unsafe(nil), Integer) # This represents an error that was encountered during parsing. # -# source://prism//lib/prism/parse_result.rb#597 +# pkg:gem/prism#lib/prism/parse_result.rb:597 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#612 + # pkg:gem/prism#lib/prism/parse_result.rb:612 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#620 + # pkg:gem/prism#lib/prism/parse_result.rb:620 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#625 + # pkg:gem/prism#lib/prism/parse_result.rb:625 sig { returns(String) } def inspect; end # The level of this error. # - # source://prism//lib/prism/parse_result.rb#609 + # pkg:gem/prism#lib/prism/parse_result.rb:609 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#606 + # pkg:gem/prism#lib/prism/parse_result.rb:606 sig { returns(Prism::Location) } def location; end # The message associated with this error. # - # source://prism//lib/prism/parse_result.rb#603 + # pkg:gem/prism#lib/prism/parse_result.rb:603 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#600 + # pkg:gem/prism#lib/prism/parse_result.rb:600 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#786 +# pkg:gem/prism#lib/prism/parse_result.rb:786 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#792 + # pkg:gem/prism#lib/prism/parse_result.rb:792 sig do params( value: [Prism::ProgramNode, T::Array[T.untyped]], @@ -28459,27 +28459,27 @@ class Prism::ParseLexResult < ::Prism::Result # Implement the hash pattern matching interface for ParseLexResult. # - # source://prism//lib/prism/parse_result.rb#798 + # pkg:gem/prism#lib/prism/parse_result.rb:798 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#789 + # pkg:gem/prism#lib/prism/parse_result.rb:789 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#727 +# pkg:gem/prism#lib/prism/parse_result.rb:727 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#740 + # pkg:gem/prism#lib/prism/parse_result.rb:740 sig do params( value: Prism::ProgramNode, @@ -28495,30 +28495,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#751 + # pkg:gem/prism#lib/prism/parse_result.rb:751 def attach_comments!; end # Implement the hash pattern matching interface for ParseResult. # - # source://prism//lib/prism/parse_result.rb#746 + # pkg:gem/prism#lib/prism/parse_result.rb:746 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#763 + # pkg:gem/prism#lib/prism/parse_result.rb:763 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#757 + # pkg:gem/prism#lib/prism/parse_result.rb:757 def mark_newlines!; end # The syntax tree that was parsed from the source code. # - # source://prism//lib/prism/parse_result.rb#737 + # pkg:gem/prism#lib/prism/parse_result.rb:737 sig { returns(Prism::ProgramNode) } def value; end end @@ -28538,25 +28538,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#20 +# pkg:gem/prism#lib/prism/parse_result/comments.rb:20 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#87 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:87 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#93 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:93 def attach!; end # The parse result that we are attaching comments to. # - # source://prism//lib/prism/parse_result/comments.rb#83 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:83 def parse_result; end private @@ -28564,92 +28564,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#120 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:120 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#54 +# pkg:gem/prism#lib/prism/parse_result/comments.rb:54 class Prism::ParseResult::Comments::LocationTarget # @return [LocationTarget] a new instance of LocationTarget # - # source://prism//lib/prism/parse_result/comments.rb#57 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:57 def initialize(location); end # @return [Boolean] # - # source://prism//lib/prism/parse_result/comments.rb#69 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:69 def encloses?(comment); end - # source://prism//lib/prism/parse_result/comments.rb#65 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:65 def end_offset; end - # source://prism//lib/prism/parse_result/comments.rb#73 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:73 def leading_comment(comment); end - # source://prism//lib/prism/parse_result/comments.rb#55 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:55 def location; end - # source://prism//lib/prism/parse_result/comments.rb#61 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:61 def start_offset; end - # source://prism//lib/prism/parse_result/comments.rb#77 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:77 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#23 +# pkg:gem/prism#lib/prism/parse_result/comments.rb:23 class Prism::ParseResult::Comments::NodeTarget # @return [NodeTarget] a new instance of NodeTarget # - # source://prism//lib/prism/parse_result/comments.rb#26 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:26 def initialize(node); end # @return [Boolean] # - # source://prism//lib/prism/parse_result/comments.rb#38 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:38 def encloses?(comment); end - # source://prism//lib/prism/parse_result/comments.rb#34 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:34 def end_offset; end - # source://prism//lib/prism/parse_result/comments.rb#43 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:43 def leading_comment(comment); end - # source://prism//lib/prism/parse_result/comments.rb#24 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:24 def node; end - # source://prism//lib/prism/parse_result/comments.rb#30 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:30 def start_offset; end - # source://prism//lib/prism/parse_result/comments.rb#47 + # pkg:gem/prism#lib/prism/parse_result/comments.rb:47 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#10 +# pkg:gem/prism#lib/prism/parse_result/errors.rb:10 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#15 + # pkg:gem/prism#lib/prism/parse_result/errors.rb:15 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#20 + # pkg:gem/prism#lib/prism/parse_result/errors.rb:20 def format; end # The parse result that contains the errors. # - # source://prism//lib/prism/parse_result/errors.rb#12 + # pkg:gem/prism#lib/prism/parse_result/errors.rb:12 def parse_result; end end @@ -28674,87 +28674,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#26 +# pkg:gem/prism#lib/prism/parse_result/newlines.rb:26 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#28 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:28 def initialize(lines); end # Permit block/lambda nodes to mark newlines within themselves. # - # source://prism//lib/prism/parse_result/newlines.rb#34 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:34 def visit_block_node(node); end # Mark if/unless nodes as newlines. # - # source://prism//lib/prism/parse_result/newlines.rb#48 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:48 def visit_if_node(node); end # Permit block/lambda nodes to mark newlines within themselves. # - # source://prism//lib/prism/parse_result/newlines.rb#45 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:45 def visit_lambda_node(node); end # Permit statements lists to mark newlines within themselves. # - # source://prism//lib/prism/parse_result/newlines.rb#56 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:56 def visit_statements_node(node); end # Mark if/unless nodes as newlines. # - # source://prism//lib/prism/parse_result/newlines.rb#53 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:53 def visit_unless_node(node); end end # This represents a warning that was encountered during parsing. # -# source://prism//lib/prism/parse_result.rb#631 +# pkg:gem/prism#lib/prism/parse_result.rb:631 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#646 + # pkg:gem/prism#lib/prism/parse_result.rb:646 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#654 + # pkg:gem/prism#lib/prism/parse_result.rb:654 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#659 + # pkg:gem/prism#lib/prism/parse_result.rb:659 sig { returns(String) } def inspect; end # The level of this warning. # - # source://prism//lib/prism/parse_result.rb#643 + # pkg:gem/prism#lib/prism/parse_result.rb:643 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#640 + # pkg:gem/prism#lib/prism/parse_result.rb:640 sig { returns(Prism::Location) } def location; end # The message associated with this warning. # - # source://prism//lib/prism/parse_result.rb#637 + # pkg:gem/prism#lib/prism/parse_result.rb:637 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#634 + # pkg:gem/prism#lib/prism/parse_result.rb:634 sig { returns(Symbol) } def type; end end @@ -28793,14 +28793,14 @@ end # do not yet support) then a Prism::Pattern::CompilationError will be # raised. # -# source://prism//lib/prism/pattern.rb#38 +# pkg:gem/prism#lib/prism/pattern.rb:38 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#64 + # pkg:gem/prism#lib/prism/pattern.rb:64 def initialize(query); end # Compile the query into a callable object that can be used to match against @@ -28808,12 +28808,12 @@ class Prism::Pattern # # @raise [CompilationError] # - # source://prism//lib/prism/pattern.rb#71 + # pkg:gem/prism#lib/prism/pattern.rb:71 def compile; end # The query that this pattern was initialized with. # - # source://prism//lib/prism/pattern.rb#60 + # pkg:gem/prism#lib/prism/pattern.rb:60 def query; end # Scan the given node and all of its children for nodes that match the @@ -28821,7 +28821,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#87 + # pkg:gem/prism#lib/prism/pattern.rb:87 def scan(root); end private @@ -28829,94 +28829,94 @@ class Prism::Pattern # Shortcut for combining two procs into one that returns true if both return # true. # - # source://prism//lib/prism/pattern.rb#103 + # pkg:gem/prism#lib/prism/pattern.rb:103 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#109 + # pkg:gem/prism#lib/prism/pattern.rb:109 def combine_or(left, right); end # in foo | bar # - # source://prism//lib/prism/pattern.rb#144 + # pkg:gem/prism#lib/prism/pattern.rb:144 def compile_alternation_pattern_node(node); end # in [foo, bar, baz] # - # source://prism//lib/prism/pattern.rb#119 + # pkg:gem/prism#lib/prism/pattern.rb:119 def compile_array_pattern_node(node); end # Compile a name associated with a constant. # - # source://prism//lib/prism/pattern.rb#169 + # pkg:gem/prism#lib/prism/pattern.rb:169 def compile_constant_name(node, name); end # in Prism::ConstantReadNode # - # source://prism//lib/prism/pattern.rb#149 + # pkg:gem/prism#lib/prism/pattern.rb:149 def compile_constant_path_node(node); end # in ConstantReadNode # in String # - # source://prism//lib/prism/pattern.rb#164 + # pkg:gem/prism#lib/prism/pattern.rb:164 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#114 + # pkg:gem/prism#lib/prism/pattern.rb:114 def compile_error(node); end # in InstanceVariableReadNode[name: Symbol] # in { name: Symbol } # - # source://prism//lib/prism/pattern.rb#185 + # pkg:gem/prism#lib/prism/pattern.rb:185 def compile_hash_pattern_node(node); end # in nil # - # source://prism//lib/prism/pattern.rb#215 + # pkg:gem/prism#lib/prism/pattern.rb:215 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#244 + # pkg:gem/prism#lib/prism/pattern.rb:244 def compile_node(node); end # in /foo/ # - # source://prism//lib/prism/pattern.rb#220 + # pkg:gem/prism#lib/prism/pattern.rb:220 def compile_regular_expression_node(node); end # in "" # in "foo" # - # source://prism//lib/prism/pattern.rb#228 + # pkg:gem/prism#lib/prism/pattern.rb:228 def compile_string_node(node); end # in :+ # in :foo # - # source://prism//lib/prism/pattern.rb#236 + # pkg:gem/prism#lib/prism/pattern.rb:236 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#41 +# pkg:gem/prism#lib/prism/pattern.rb:41 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#44 + # pkg:gem/prism#lib/prism/pattern.rb:44 def initialize(repr); end end @@ -28925,13 +28925,13 @@ end # foo in ^(bar) # ^^^^^^ # -# source://prism//lib/prism/node.rb#14573 +# pkg:gem/prism#lib/prism/node.rb:14573 class Prism::PinnedExpressionNode < ::Prism::Node # Initialize a new PinnedExpressionNode node. # # @return [PinnedExpressionNode] a new instance of PinnedExpressionNode # - # source://prism//lib/prism/node.rb#14575 + # pkg:gem/prism#lib/prism/node.rb:14575 sig do params( source: Prism::Source, @@ -28949,36 +28949,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#14705 + # pkg:gem/prism#lib/prism/node.rb:14705 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14587 + # pkg:gem/prism#lib/prism/node.rb:14587 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14592 + # pkg:gem/prism#lib/prism/node.rb:14592 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#14602 + # pkg:gem/prism#lib/prism/node.rb:14602 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#14597 + # pkg:gem/prism#lib/prism/node.rb:14597 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#14607 + # pkg:gem/prism#lib/prism/node.rb:14607 sig do params( node_id: Integer, @@ -28995,13 +28995,13 @@ class Prism::PinnedExpressionNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14612 + # pkg:gem/prism#lib/prism/node.rb:14612 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#14615 + # pkg:gem/prism#lib/prism/node.rb:14615 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29010,7 +29010,7 @@ class Prism::PinnedExpressionNode < ::Prism::Node # foo in ^(bar) # ^^^ # - # source://prism//lib/prism/node.rb#14623 + # pkg:gem/prism#lib/prism/node.rb:14623 sig { returns(Prism::Node) } def expression; end @@ -29019,13 +29019,13 @@ class Prism::PinnedExpressionNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14689 + # pkg:gem/prism#lib/prism/node.rb:14689 sig { override.returns(String) } def inspect; end # def lparen: () -> String # - # source://prism//lib/prism/node.rb#14679 + # pkg:gem/prism#lib/prism/node.rb:14679 sig { returns(String) } def lparen; end @@ -29034,13 +29034,13 @@ class Prism::PinnedExpressionNode < ::Prism::Node # foo in ^(bar) # ^ # - # source://prism//lib/prism/node.rb#14645 + # pkg:gem/prism#lib/prism/node.rb:14645 sig { returns(Prism::Location) } def lparen_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#14674 + # pkg:gem/prism#lib/prism/node.rb:14674 sig { returns(String) } def operator; end @@ -29049,13 +29049,13 @@ class Prism::PinnedExpressionNode < ::Prism::Node # foo in ^(bar) # ^ # - # source://prism//lib/prism/node.rb#14629 + # pkg:gem/prism#lib/prism/node.rb:14629 sig { returns(Prism::Location) } def operator_loc; end # def rparen: () -> String # - # source://prism//lib/prism/node.rb#14684 + # pkg:gem/prism#lib/prism/node.rb:14684 sig { returns(String) } def rparen; end @@ -29064,38 +29064,38 @@ class Prism::PinnedExpressionNode < ::Prism::Node # foo in ^(bar) # ^ # - # source://prism//lib/prism/node.rb#14661 + # pkg:gem/prism#lib/prism/node.rb:14661 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#14653 + # pkg:gem/prism#lib/prism/node.rb:14653 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#14637 + # pkg:gem/prism#lib/prism/node.rb:14637 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#14669 + # pkg:gem/prism#lib/prism/node.rb:14669 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#14694 + # pkg:gem/prism#lib/prism/node.rb:14694 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#14699 + # pkg:gem/prism#lib/prism/node.rb:14699 def type; end end end @@ -29105,13 +29105,13 @@ end # foo in ^bar # ^^^^ # -# source://prism//lib/prism/node.rb#14718 +# pkg:gem/prism#lib/prism/node.rb:14718 class Prism::PinnedVariableNode < ::Prism::Node # Initialize a new PinnedVariableNode node. # # @return [PinnedVariableNode] a new instance of PinnedVariableNode # - # source://prism//lib/prism/node.rb#14720 + # pkg:gem/prism#lib/prism/node.rb:14720 sig do params( source: Prism::Source, @@ -29127,36 +29127,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#14806 + # pkg:gem/prism#lib/prism/node.rb:14806 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14730 + # pkg:gem/prism#lib/prism/node.rb:14730 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14735 + # pkg:gem/prism#lib/prism/node.rb:14735 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#14745 + # pkg:gem/prism#lib/prism/node.rb:14745 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#14740 + # pkg:gem/prism#lib/prism/node.rb:14740 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#14750 + # pkg:gem/prism#lib/prism/node.rb:14750 sig do params( node_id: Integer, @@ -29171,13 +29171,13 @@ class Prism::PinnedVariableNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14755 + # pkg:gem/prism#lib/prism/node.rb:14755 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#14758 + # pkg:gem/prism#lib/prism/node.rb:14758 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29186,13 +29186,13 @@ class Prism::PinnedVariableNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14790 + # pkg:gem/prism#lib/prism/node.rb:14790 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#14785 + # pkg:gem/prism#lib/prism/node.rb:14785 sig { returns(String) } def operator; end @@ -29201,19 +29201,19 @@ class Prism::PinnedVariableNode < ::Prism::Node # foo in ^bar # ^ # - # source://prism//lib/prism/node.rb#14772 + # pkg:gem/prism#lib/prism/node.rb:14772 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#14780 + # pkg:gem/prism#lib/prism/node.rb:14780 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#14795 + # pkg:gem/prism#lib/prism/node.rb:14795 sig { override.returns(Symbol) } def type; end @@ -29222,7 +29222,7 @@ class Prism::PinnedVariableNode < ::Prism::Node # foo in ^bar # ^^^ # - # source://prism//lib/prism/node.rb#14766 + # pkg:gem/prism#lib/prism/node.rb:14766 sig do returns(T.any(Prism::LocalVariableReadNode, Prism::InstanceVariableReadNode, Prism::ClassVariableReadNode, Prism::GlobalVariableReadNode, Prism::BackReferenceReadNode, Prism::NumberedReferenceReadNode, Prism::ItLocalVariableReadNode, Prism::MissingNode)) end @@ -29231,7 +29231,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#14800 + # pkg:gem/prism#lib/prism/node.rb:14800 def type; end end end @@ -29241,13 +29241,13 @@ end # END { foo } # ^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#14817 +# pkg:gem/prism#lib/prism/node.rb:14817 class Prism::PostExecutionNode < ::Prism::Node # Initialize a new PostExecutionNode node. # # @return [PostExecutionNode] a new instance of PostExecutionNode # - # source://prism//lib/prism/node.rb#14819 + # pkg:gem/prism#lib/prism/node.rb:14819 sig do params( source: Prism::Source, @@ -29265,48 +29265,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#14939 + # pkg:gem/prism#lib/prism/node.rb:14939 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14831 + # pkg:gem/prism#lib/prism/node.rb:14831 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14836 + # pkg:gem/prism#lib/prism/node.rb:14836 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#14918 + # pkg:gem/prism#lib/prism/node.rb:14918 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#14895 + # pkg:gem/prism#lib/prism/node.rb:14895 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#14848 + # pkg:gem/prism#lib/prism/node.rb:14848 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#14841 + # pkg:gem/prism#lib/prism/node.rb:14841 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#14853 + # pkg:gem/prism#lib/prism/node.rb:14853 sig do params( node_id: Integer, @@ -29323,13 +29323,13 @@ class Prism::PostExecutionNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14858 + # pkg:gem/prism#lib/prism/node.rb:14858 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#14861 + # pkg:gem/prism#lib/prism/node.rb:14861 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29338,68 +29338,68 @@ class Prism::PostExecutionNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#14923 + # pkg:gem/prism#lib/prism/node.rb:14923 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#14908 + # pkg:gem/prism#lib/prism/node.rb:14908 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#14869 + # pkg:gem/prism#lib/prism/node.rb:14869 sig { returns(Prism::Location) } def keyword_loc; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#14913 + # pkg:gem/prism#lib/prism/node.rb:14913 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#14882 + # pkg:gem/prism#lib/prism/node.rb:14882 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#14903 + # pkg:gem/prism#lib/prism/node.rb:14903 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#14877 + # pkg:gem/prism#lib/prism/node.rb:14877 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#14890 + # pkg:gem/prism#lib/prism/node.rb:14890 def save_opening_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#14866 + # pkg:gem/prism#lib/prism/node.rb:14866 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#14928 + # pkg:gem/prism#lib/prism/node.rb:14928 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#14933 + # pkg:gem/prism#lib/prism/node.rb:14933 def type; end end end @@ -29409,13 +29409,13 @@ end # BEGIN { foo } # ^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#14952 +# pkg:gem/prism#lib/prism/node.rb:14952 class Prism::PreExecutionNode < ::Prism::Node # Initialize a new PreExecutionNode node. # # @return [PreExecutionNode] a new instance of PreExecutionNode # - # source://prism//lib/prism/node.rb#14954 + # pkg:gem/prism#lib/prism/node.rb:14954 sig do params( source: Prism::Source, @@ -29433,48 +29433,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#15074 + # pkg:gem/prism#lib/prism/node.rb:15074 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#14966 + # pkg:gem/prism#lib/prism/node.rb:14966 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14971 + # pkg:gem/prism#lib/prism/node.rb:14971 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#15053 + # pkg:gem/prism#lib/prism/node.rb:15053 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#15030 + # pkg:gem/prism#lib/prism/node.rb:15030 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#14983 + # pkg:gem/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#14976 + # pkg:gem/prism#lib/prism/node.rb:14976 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#14988 + # pkg:gem/prism#lib/prism/node.rb:14988 sig do params( node_id: Integer, @@ -29491,13 +29491,13 @@ class Prism::PreExecutionNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#14993 + # pkg:gem/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, statements: StatementsNode?, keyword_loc: Location, opening_loc: Location, closing_loc: Location } # - # source://prism//lib/prism/node.rb#14996 + # pkg:gem/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 @@ -29506,81 +29506,81 @@ class Prism::PreExecutionNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15058 + # pkg:gem/prism#lib/prism/node.rb:15058 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#15043 + # pkg:gem/prism#lib/prism/node.rb:15043 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#15004 + # pkg:gem/prism#lib/prism/node.rb:15004 sig { returns(Prism::Location) } def keyword_loc; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#15048 + # pkg:gem/prism#lib/prism/node.rb:15048 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#15017 + # pkg:gem/prism#lib/prism/node.rb:15017 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#15038 + # pkg:gem/prism#lib/prism/node.rb:15038 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#15012 + # pkg:gem/prism#lib/prism/node.rb:15012 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#15025 + # pkg:gem/prism#lib/prism/node.rb:15025 def save_opening_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#15001 + # pkg:gem/prism#lib/prism/node.rb:15001 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#15063 + # pkg:gem/prism#lib/prism/node.rb:15063 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#15068 + # pkg:gem/prism#lib/prism/node.rb:15068 def type; end end end # The top level node of any parse tree. # -# source://prism//lib/prism/node.rb#15084 +# pkg:gem/prism#lib/prism/node.rb:15084 class Prism::ProgramNode < ::Prism::Node # Initialize a new ProgramNode node. # # @return [ProgramNode] a new instance of ProgramNode # - # source://prism//lib/prism/node.rb#15086 + # pkg:gem/prism#lib/prism/node.rb:15086 sig do params( source: Prism::Source, @@ -29596,36 +29596,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#15151 + # pkg:gem/prism#lib/prism/node.rb:15151 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15096 + # pkg:gem/prism#lib/prism/node.rb:15096 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15101 + # pkg:gem/prism#lib/prism/node.rb:15101 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#15111 + # pkg:gem/prism#lib/prism/node.rb:15111 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#15106 + # pkg:gem/prism#lib/prism/node.rb:15106 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#15116 + # pkg:gem/prism#lib/prism/node.rb:15116 sig do params( node_id: Integer, @@ -29640,13 +29640,13 @@ class Prism::ProgramNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15121 + # pkg:gem/prism#lib/prism/node.rb:15121 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#15124 + # pkg:gem/prism#lib/prism/node.rb:15124 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29655,44 +29655,44 @@ class Prism::ProgramNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15135 + # pkg:gem/prism#lib/prism/node.rb:15135 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism//lib/prism/node.rb#15129 + # pkg:gem/prism#lib/prism/node.rb:15129 sig { returns(T::Array[Symbol]) } def locals; end # attr_reader statements: StatementsNode # - # source://prism//lib/prism/node.rb#15132 + # pkg:gem/prism#lib/prism/node.rb:15132 sig { returns(Prism::StatementsNode) } def statements; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15140 + # pkg:gem/prism#lib/prism/node.rb:15140 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#15145 + # pkg:gem/prism#lib/prism/node.rb:15145 def type; end end end # Flags for range and flip-flop nodes. # -# source://prism//lib/prism/node.rb#18765 +# pkg:gem/prism#lib/prism/node.rb:18765 module Prism::RangeFlags; end # ... operator # -# source://prism//lib/prism/node.rb#18767 +# pkg:gem/prism#lib/prism/node.rb:18767 Prism::RangeFlags::EXCLUDE_END = T.let(T.unsafe(nil), Integer) # Represents the use of the `..` or `...` operators. @@ -29703,13 +29703,13 @@ Prism::RangeFlags::EXCLUDE_END = T.let(T.unsafe(nil), Integer) # c if a =~ /left/ ... b =~ /right/ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#15166 +# pkg:gem/prism#lib/prism/node.rb:15166 class Prism::RangeNode < ::Prism::Node # Initialize a new RangeNode node. # # @return [RangeNode] a new instance of RangeNode # - # source://prism//lib/prism/node.rb#15168 + # pkg:gem/prism#lib/prism/node.rb:15168 sig do params( source: Prism::Source, @@ -29726,36 +29726,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#15273 + # pkg:gem/prism#lib/prism/node.rb:15273 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15179 + # pkg:gem/prism#lib/prism/node.rb:15179 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15184 + # pkg:gem/prism#lib/prism/node.rb:15184 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#15197 + # pkg:gem/prism#lib/prism/node.rb:15197 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#15189 + # pkg:gem/prism#lib/prism/node.rb:15189 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#15202 + # pkg:gem/prism#lib/prism/node.rb:15202 sig do params( node_id: Integer, @@ -29771,13 +29771,13 @@ class Prism::RangeNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15207 + # pkg:gem/prism#lib/prism/node.rb:15207 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#15210 + # pkg:gem/prism#lib/prism/node.rb:15210 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29785,7 +29785,7 @@ class Prism::RangeNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15215 + # pkg:gem/prism#lib/prism/node.rb:15215 sig { returns(T::Boolean) } def exclude_end?; end @@ -29794,7 +29794,7 @@ class Prism::RangeNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15257 + # pkg:gem/prism#lib/prism/node.rb:15257 sig { override.returns(String) } def inspect; end @@ -29806,19 +29806,19 @@ class Prism::RangeNode < ::Prism::Node # hello...goodbye # ^^^^^ # - # source://prism//lib/prism/node.rb#15226 + # pkg:gem/prism#lib/prism/node.rb:15226 sig { returns(T.nilable(Prism::Node)) } def left; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#15252 + # pkg:gem/prism#lib/prism/node.rb:15252 sig { returns(String) } def operator; end # The location of the `..` or `...` operator. # - # source://prism//lib/prism/node.rb#15239 + # pkg:gem/prism#lib/prism/node.rb:15239 sig { returns(Prism::Location) } def operator_loc; end @@ -29831,26 +29831,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#15236 + # pkg:gem/prism#lib/prism/node.rb:15236 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#15247 + # pkg:gem/prism#lib/prism/node.rb:15247 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15262 + # pkg:gem/prism#lib/prism/node.rb:15262 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#15267 + # pkg:gem/prism#lib/prism/node.rb:15267 def type; end end end @@ -29860,13 +29860,13 @@ end # 1.0r # ^^^^ # -# source://prism//lib/prism/node.rb#15286 +# pkg:gem/prism#lib/prism/node.rb:15286 class Prism::RationalNode < ::Prism::Node # Initialize a new RationalNode node. # # @return [RationalNode] a new instance of RationalNode # - # source://prism//lib/prism/node.rb#15288 + # pkg:gem/prism#lib/prism/node.rb:15288 sig do params( source: Prism::Source, @@ -29882,12 +29882,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#15377 + # pkg:gem/prism#lib/prism/node.rb:15377 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15298 + # pkg:gem/prism#lib/prism/node.rb:15298 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -29895,31 +29895,31 @@ class Prism::RationalNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15331 + # pkg:gem/prism#lib/prism/node.rb:15331 sig { returns(T::Boolean) } def binary?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15303 + # pkg:gem/prism#lib/prism/node.rb:15303 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#15313 + # pkg:gem/prism#lib/prism/node.rb:15313 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#15308 + # pkg:gem/prism#lib/prism/node.rb:15308 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#15318 + # pkg:gem/prism#lib/prism/node.rb:15318 sig do params( node_id: Integer, @@ -29935,20 +29935,20 @@ class Prism::RationalNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15336 + # pkg:gem/prism#lib/prism/node.rb:15336 sig { returns(T::Boolean) } def decimal?; end # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15323 + # pkg:gem/prism#lib/prism/node.rb:15323 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#15326 + # pkg:gem/prism#lib/prism/node.rb:15326 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -29956,7 +29956,7 @@ class Prism::RationalNode < ::Prism::Node # # 1.5r # denominator 2 # - # source://prism//lib/prism/node.rb#15358 + # pkg:gem/prism#lib/prism/node.rb:15358 sig { returns(Integer) } def denominator; end @@ -29967,13 +29967,13 @@ class Prism::RationalNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15346 + # pkg:gem/prism#lib/prism/node.rb:15346 sig { returns(T::Boolean) } def hexadecimal?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#15361 + # pkg:gem/prism#lib/prism/node.rb:15361 sig { override.returns(String) } def inspect; end @@ -29981,40 +29981,40 @@ class Prism::RationalNode < ::Prism::Node # # 1.5r # numerator 3 # - # source://prism//lib/prism/node.rb#15353 + # pkg:gem/prism#lib/prism/node.rb:15353 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#123 + # pkg:gem/prism#lib/prism/node_ext.rb:123 def numeric; end # def octal?: () -> bool # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15341 + # pkg:gem/prism#lib/prism/node.rb:15341 sig { returns(T::Boolean) } def octal?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15366 + # pkg:gem/prism#lib/prism/node.rb:15366 sig { override.returns(Symbol) } def type; end # Returns the value of the node as a Ruby Rational. # - # source://prism//lib/prism/node_ext.rb#117 + # pkg:gem/prism#lib/prism/node_ext.rb:117 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#15371 + # pkg:gem/prism#lib/prism/node.rb:15371 def type; end end end @@ -30024,62 +30024,62 @@ end # redo # ^^^^ # -# source://prism//lib/prism/node.rb#15389 +# pkg:gem/prism#lib/prism/node.rb:15389 class Prism::RedoNode < ::Prism::Node # Initialize a new RedoNode node. # # @return [RedoNode] a new instance of RedoNode # - # source://prism//lib/prism/node.rb#15391 + # pkg:gem/prism#lib/prism/node.rb:15391 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#15448 + # pkg:gem/prism#lib/prism/node.rb:15448 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15399 + # pkg:gem/prism#lib/prism/node.rb:15399 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15404 + # pkg:gem/prism#lib/prism/node.rb:15404 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#15414 + # pkg:gem/prism#lib/prism/node.rb:15414 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#15409 + # pkg:gem/prism#lib/prism/node.rb:15409 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#15419 + # pkg:gem/prism#lib/prism/node.rb:15419 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15424 + # pkg:gem/prism#lib/prism/node.rb:15424 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#15427 + # pkg:gem/prism#lib/prism/node.rb:15427 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -30088,20 +30088,20 @@ class Prism::RedoNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15432 + # pkg:gem/prism#lib/prism/node.rb:15432 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15437 + # pkg:gem/prism#lib/prism/node.rb:15437 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#15442 + # pkg:gem/prism#lib/prism/node.rb:15442 def type; end end end @@ -30110,12 +30110,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#16 +# pkg:gem/prism#lib/prism/reflection.rb:16 module Prism::Reflection class << self # Returns the fields for the given node. # - # source://prism//lib/prism/reflection.rb#107 + # pkg:gem/prism#lib/prism/reflection.rb:107 sig { params(node: T.class_of(Prism::Node)).returns(T::Array[Prism::Reflection::Field]) } def fields_for(node); end end @@ -30125,31 +30125,31 @@ end # represents an identifier found within the source. It resolves to a symbol # in Ruby. # -# source://prism//lib/prism/reflection.rb#48 +# pkg:gem/prism#lib/prism/reflection.rb:48 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#58 +# pkg:gem/prism#lib/prism/reflection.rb:58 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#19 +# pkg:gem/prism#lib/prism/reflection.rb:19 class Prism::Reflection::Field # Initializes the field with the given name. # # @return [Field] a new instance of Field # - # source://prism//lib/prism/reflection.rb#24 + # pkg:gem/prism#lib/prism/reflection.rb:24 sig { params(name: Symbol).void } def initialize(name); end # The name of the field. # - # source://prism//lib/prism/reflection.rb#21 + # pkg:gem/prism#lib/prism/reflection.rb:21 sig { returns(Symbol) } def name; end end @@ -30159,19 +30159,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#95 +# pkg:gem/prism#lib/prism/reflection.rb:95 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#100 + # pkg:gem/prism#lib/prism/reflection.rb:100 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#97 + # pkg:gem/prism#lib/prism/reflection.rb:97 sig { returns(T::Array[Symbol]) } def flags; end end @@ -30180,120 +30180,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#88 +# pkg:gem/prism#lib/prism/reflection.rb:88 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#82 +# pkg:gem/prism#lib/prism/reflection.rb:82 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#70 +# pkg:gem/prism#lib/prism/reflection.rb:70 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#31 +# pkg:gem/prism#lib/prism/reflection.rb:31 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#42 +# pkg:gem/prism#lib/prism/reflection.rb:42 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#53 +# pkg:gem/prism#lib/prism/reflection.rb:53 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#76 +# pkg:gem/prism#lib/prism/reflection.rb:76 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#37 +# pkg:gem/prism#lib/prism/reflection.rb:37 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#64 +# pkg:gem/prism#lib/prism/reflection.rb:64 class Prism::Reflection::StringField < ::Prism::Reflection::Field; end # Flags for regular expression and match last line nodes. # -# source://prism//lib/prism/node.rb#18771 +# pkg:gem/prism#lib/prism/node.rb:18771 module Prism::RegularExpressionFlags; end # n - forces the ASCII-8BIT encoding # -# source://prism//lib/prism/node.rb#18788 +# pkg:gem/prism#lib/prism/node.rb:18788 Prism::RegularExpressionFlags::ASCII_8BIT = T.let(T.unsafe(nil), Integer) # e - forces the EUC-JP encoding # -# source://prism//lib/prism/node.rb#18785 +# pkg:gem/prism#lib/prism/node.rb:18785 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#18776 +# pkg:gem/prism#lib/prism/node.rb:18776 Prism::RegularExpressionFlags::EXTENDED = T.let(T.unsafe(nil), Integer) # internal bytes forced the encoding to binary # -# source://prism//lib/prism/node.rb#18800 +# pkg:gem/prism#lib/prism/node.rb:18800 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#18803 +# pkg:gem/prism#lib/prism/node.rb:18803 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#18797 +# pkg:gem/prism#lib/prism/node.rb:18797 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#18773 +# pkg:gem/prism#lib/prism/node.rb:18773 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#18779 +# pkg:gem/prism#lib/prism/node.rb:18779 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#18782 +# pkg:gem/prism#lib/prism/node.rb:18782 Prism::RegularExpressionFlags::ONCE = T.let(T.unsafe(nil), Integer) # u - forces the UTF-8 encoding # -# source://prism//lib/prism/node.rb#18794 +# pkg:gem/prism#lib/prism/node.rb:18794 Prism::RegularExpressionFlags::UTF_8 = T.let(T.unsafe(nil), Integer) # s - forces the Windows-31J encoding # -# source://prism//lib/prism/node.rb#18791 +# pkg:gem/prism#lib/prism/node.rb:18791 Prism::RegularExpressionFlags::WINDOWS_31J = T.let(T.unsafe(nil), Integer) # Represents a regular expression literal with no interpolation. @@ -30301,7 +30301,7 @@ Prism::RegularExpressionFlags::WINDOWS_31J = T.let(T.unsafe(nil), Integer) # /foo/i # ^^^^^^ # -# source://prism//lib/prism/node.rb#15457 +# pkg:gem/prism#lib/prism/node.rb:15457 class Prism::RegularExpressionNode < ::Prism::Node include ::Prism::RegularExpressionOptions @@ -30309,7 +30309,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [RegularExpressionNode] a new instance of RegularExpressionNode # - # source://prism//lib/prism/node.rb#15459 + # pkg:gem/prism#lib/prism/node.rb:15459 sig do params( source: Prism::Source, @@ -30327,12 +30327,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#15632 + # pkg:gem/prism#lib/prism/node.rb:15632 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15471 + # pkg:gem/prism#lib/prism/node.rb:15471 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -30340,55 +30340,55 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15529 + # pkg:gem/prism#lib/prism/node.rb:15529 sig { returns(T::Boolean) } def ascii_8bit?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15476 + # pkg:gem/prism#lib/prism/node.rb:15476 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#15611 + # pkg:gem/prism#lib/prism/node.rb:15611 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#15585 + # pkg:gem/prism#lib/prism/node.rb:15585 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#15486 + # pkg:gem/prism#lib/prism/node.rb:15486 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#15481 + # pkg:gem/prism#lib/prism/node.rb:15481 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism//lib/prism/node.rb#15606 + # pkg:gem/prism#lib/prism/node.rb:15606 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism//lib/prism/node.rb#15572 + # pkg:gem/prism#lib/prism/node.rb:15572 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#15491 + # pkg:gem/prism#lib/prism/node.rb:15491 sig do params( node_id: Integer, @@ -30405,13 +30405,13 @@ class Prism::RegularExpressionNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15496 + # pkg:gem/prism#lib/prism/node.rb:15496 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#15499 + # pkg:gem/prism#lib/prism/node.rb:15499 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -30419,7 +30419,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15524 + # pkg:gem/prism#lib/prism/node.rb:15524 sig { returns(T::Boolean) } def euc_jp?; end @@ -30427,7 +30427,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15509 + # pkg:gem/prism#lib/prism/node.rb:15509 sig { returns(T::Boolean) } def extended?; end @@ -30438,7 +30438,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15549 + # pkg:gem/prism#lib/prism/node.rb:15549 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -30446,7 +30446,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15554 + # pkg:gem/prism#lib/prism/node.rb:15554 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -30454,7 +30454,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15544 + # pkg:gem/prism#lib/prism/node.rb:15544 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -30462,13 +30462,13 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15504 + # pkg:gem/prism#lib/prism/node.rb:15504 sig { returns(T::Boolean) } def ignore_case?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#15616 + # pkg:gem/prism#lib/prism/node.rb:15616 sig { override.returns(String) } def inspect; end @@ -30476,7 +30476,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15514 + # pkg:gem/prism#lib/prism/node.rb:15514 sig { returns(T::Boolean) } def multi_line?; end @@ -30484,19 +30484,19 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15519 + # pkg:gem/prism#lib/prism/node.rb:15519 sig { returns(T::Boolean) } def once?; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#15601 + # pkg:gem/prism#lib/prism/node.rb:15601 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#15559 + # pkg:gem/prism#lib/prism/node.rb:15559 sig { returns(Prism::Location) } def opening_loc; end @@ -30506,30 +30506,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#15593 + # pkg:gem/prism#lib/prism/node.rb:15593 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#15580 + # pkg:gem/prism#lib/prism/node.rb:15580 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#15567 + # pkg:gem/prism#lib/prism/node.rb:15567 def save_opening_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15621 + # pkg:gem/prism#lib/prism/node.rb:15621 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism//lib/prism/node.rb#15598 + # pkg:gem/prism#lib/prism/node.rb:15598 sig { returns(String) } def unescaped; end @@ -30537,7 +30537,7 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15539 + # pkg:gem/prism#lib/prism/node.rb:15539 sig { returns(T::Boolean) } def utf_8?; end @@ -30545,24 +30545,24 @@ class Prism::RegularExpressionNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15534 + # pkg:gem/prism#lib/prism/node.rb:15534 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#15626 + # pkg:gem/prism#lib/prism/node.rb:15626 def type; end end end -# source://prism//lib/prism/node_ext.rb#23 +# pkg:gem/prism#lib/prism/node_ext.rb:23 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#26 + # pkg:gem/prism#lib/prism/node_ext.rb:26 def options; end end @@ -30576,276 +30576,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#14 +# pkg:gem/prism#lib/prism/relocation.rb:14 module Prism::Relocation class << self # Create a new repository for the given filepath. # - # source://prism//lib/prism/relocation.rb#496 + # pkg:gem/prism#lib/prism/relocation.rb:496 def filepath(value); end # Create a new repository for the given string. # - # source://prism//lib/prism/relocation.rb#501 + # pkg:gem/prism#lib/prism/relocation.rb:501 def string(value); end end end # A field representing the start and end character columns. # -# source://prism//lib/prism/relocation.rb#270 +# pkg:gem/prism#lib/prism/relocation.rb:270 class Prism::Relocation::CharacterColumnsField # Fetches the start and end character column of a value. # - # source://prism//lib/prism/relocation.rb#272 + # pkg:gem/prism#lib/prism/relocation.rb:272 def fields(value); end end # A field representing the start and end character offsets. # -# source://prism//lib/prism/relocation.rb#218 +# pkg:gem/prism#lib/prism/relocation.rb:218 class Prism::Relocation::CharacterOffsetsField # Fetches the start and end character offset of a value. # - # source://prism//lib/prism/relocation.rb#220 + # pkg:gem/prism#lib/prism/relocation.rb:220 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#282 +# pkg:gem/prism#lib/prism/relocation.rb:282 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#291 + # pkg:gem/prism#lib/prism/relocation.rb:291 def initialize(repository, encoding); end # The associated encoding for the code units. # - # source://prism//lib/prism/relocation.rb#288 + # pkg:gem/prism#lib/prism/relocation.rb:288 def encoding; end # Fetches the start and end code units column of a value for a particular # encoding. # - # source://prism//lib/prism/relocation.rb#299 + # pkg:gem/prism#lib/prism/relocation.rb:299 def fields(value); end # The repository object that is used for lazily creating a code units # cache. # - # source://prism//lib/prism/relocation.rb#285 + # pkg:gem/prism#lib/prism/relocation.rb:285 def repository; end private # Lazily create a code units cache for the associated encoding. # - # source://prism//lib/prism/relocation.rb#309 + # pkg:gem/prism#lib/prism/relocation.rb:309 def cache; end end # A field representing the start and end code unit offsets. # -# source://prism//lib/prism/relocation.rb#229 +# pkg:gem/prism#lib/prism/relocation.rb:229 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#238 + # pkg:gem/prism#lib/prism/relocation.rb:238 def initialize(repository, encoding); end # The associated encoding for the code units. # - # source://prism//lib/prism/relocation.rb#235 + # pkg:gem/prism#lib/prism/relocation.rb:235 def encoding; end # Fetches the start and end code units offset of a value for a particular # encoding. # - # source://prism//lib/prism/relocation.rb#246 + # pkg:gem/prism#lib/prism/relocation.rb:246 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#232 + # pkg:gem/prism#lib/prism/relocation.rb:232 def repository; end private # Lazily create a code units cache for the associated encoding. # - # source://prism//lib/prism/relocation.rb#256 + # pkg:gem/prism#lib/prism/relocation.rb:256 def cache; end end # A field representing the start and end byte columns. # -# source://prism//lib/prism/relocation.rb#262 +# pkg:gem/prism#lib/prism/relocation.rb:262 class Prism::Relocation::ColumnsField # Fetches the start and end byte column of a value. # - # source://prism//lib/prism/relocation.rb#264 + # pkg:gem/prism#lib/prism/relocation.rb:264 def fields(value); end end # An abstract field used as the parent class of the two comments fields. # -# source://prism//lib/prism/relocation.rb#315 +# pkg:gem/prism#lib/prism/relocation.rb:315 class Prism::Relocation::CommentsField private # Create comment objects from the given values. # - # source://prism//lib/prism/relocation.rb#330 + # pkg:gem/prism#lib/prism/relocation.rb:330 def comments(values); end end # An object that represents a slice of a comment. # -# source://prism//lib/prism/relocation.rb#317 +# pkg:gem/prism#lib/prism/relocation.rb:317 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#322 + # pkg:gem/prism#lib/prism/relocation.rb:322 def initialize(slice); end # The slice of the comment. # - # source://prism//lib/prism/relocation.rb#319 + # pkg:gem/prism#lib/prism/relocation.rb:319 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#17 +# pkg:gem/prism#lib/prism/relocation.rb:17 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#25 + # pkg:gem/prism#lib/prism/relocation.rb:25 def initialize(repository); end # Fetch the leading and trailing comments of the value. # - # source://prism//lib/prism/relocation.rb#120 + # pkg:gem/prism#lib/prism/relocation.rb:120 def comments; end # Fetch the end character column of the value. # - # source://prism//lib/prism/relocation.rb#93 + # pkg:gem/prism#lib/prism/relocation.rb:93 def end_character_column; end # Fetch the end character offset of the value. # - # source://prism//lib/prism/relocation.rb#61 + # pkg:gem/prism#lib/prism/relocation.rb:61 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#105 + # pkg:gem/prism#lib/prism/relocation.rb:105 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#73 + # pkg:gem/prism#lib/prism/relocation.rb:73 def end_code_units_offset; end # Fetch the end byte column of the value. # - # source://prism//lib/prism/relocation.rb#83 + # pkg:gem/prism#lib/prism/relocation.rb:83 def end_column; end # Fetch the end line of the value. # - # source://prism//lib/prism/relocation.rb#41 + # pkg:gem/prism#lib/prism/relocation.rb:41 def end_line; end # Fetch the end byte offset of the value. # - # source://prism//lib/prism/relocation.rb#51 + # pkg:gem/prism#lib/prism/relocation.rb:51 def end_offset; end # Fetch the filepath of the value. # - # source://prism//lib/prism/relocation.rb#31 + # pkg:gem/prism#lib/prism/relocation.rb:31 def filepath; end # Fetch the leading comments of the value. # - # source://prism//lib/prism/relocation.rb#110 + # pkg:gem/prism#lib/prism/relocation.rb:110 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#127 + # pkg:gem/prism#lib/prism/relocation.rb:127 def reify!(values); end # Fetch the start character column of the value. # - # source://prism//lib/prism/relocation.rb#88 + # pkg:gem/prism#lib/prism/relocation.rb:88 def start_character_column; end # Fetch the start character offset of the value. # - # source://prism//lib/prism/relocation.rb#56 + # pkg:gem/prism#lib/prism/relocation.rb:56 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#99 + # pkg:gem/prism#lib/prism/relocation.rb:99 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#67 + # pkg:gem/prism#lib/prism/relocation.rb:67 def start_code_units_offset; end # Fetch the start byte column of the value. # - # source://prism//lib/prism/relocation.rb#78 + # pkg:gem/prism#lib/prism/relocation.rb:78 def start_column; end # Fetch the start line of the value. # - # source://prism//lib/prism/relocation.rb#36 + # pkg:gem/prism#lib/prism/relocation.rb:36 def start_line; end # Fetch the start byte offset of the value. # - # source://prism//lib/prism/relocation.rb#46 + # pkg:gem/prism#lib/prism/relocation.rb:46 def start_offset; end # Fetch the trailing comments of the value. # - # source://prism//lib/prism/relocation.rb#115 + # pkg:gem/prism#lib/prism/relocation.rb:115 def trailing_comments; end private # Fetch a value from the entry, raising an error if it is missing. # - # source://prism//lib/prism/relocation.rb#135 + # pkg:gem/prism#lib/prism/relocation.rb:135 def fetch_value(name); end # Return the values from the repository, reifying them if necessary. # - # source://prism//lib/prism/relocation.rb#143 + # pkg:gem/prism#lib/prism/relocation.rb:143 def values; end end @@ -30853,170 +30853,170 @@ end # because it was either not configured on the repository or it has not yet # been fetched. # -# source://prism//lib/prism/relocation.rb#21 +# pkg:gem/prism#lib/prism/relocation.rb:21 class Prism::Relocation::Entry::MissingValueError < ::StandardError; end # A field that represents the file path. # -# source://prism//lib/prism/relocation.rb#186 +# pkg:gem/prism#lib/prism/relocation.rb:186 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#191 + # pkg:gem/prism#lib/prism/relocation.rb:191 def initialize(value); end # Fetch the file path. # - # source://prism//lib/prism/relocation.rb#196 + # pkg:gem/prism#lib/prism/relocation.rb:196 def fields(_value); end # The file path that this field represents. # - # source://prism//lib/prism/relocation.rb#188 + # pkg:gem/prism#lib/prism/relocation.rb:188 def value; end end # A field representing the leading comments. # -# source://prism//lib/prism/relocation.rb#336 +# pkg:gem/prism#lib/prism/relocation.rb:336 class Prism::Relocation::LeadingCommentsField < ::Prism::Relocation::CommentsField # Fetches the leading comments of a value. # - # source://prism//lib/prism/relocation.rb#338 + # pkg:gem/prism#lib/prism/relocation.rb:338 def fields(value); end end # A field representing the start and end lines. # -# source://prism//lib/prism/relocation.rb#202 +# pkg:gem/prism#lib/prism/relocation.rb:202 class Prism::Relocation::LinesField # Fetches the start and end line of a value. # - # source://prism//lib/prism/relocation.rb#204 + # pkg:gem/prism#lib/prism/relocation.rb:204 def fields(value); end end # A field representing the start and end byte offsets. # -# source://prism//lib/prism/relocation.rb#210 +# pkg:gem/prism#lib/prism/relocation.rb:210 class Prism::Relocation::OffsetsField # Fetches the start and end byte offset of a value. # - # source://prism//lib/prism/relocation.rb#212 + # pkg:gem/prism#lib/prism/relocation.rb:212 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#353 +# pkg:gem/prism#lib/prism/relocation.rb:353 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#370 + # pkg:gem/prism#lib/prism/relocation.rb:370 def initialize(source); end # Configure the character columns field for this repository and return # self. # - # source://prism//lib/prism/relocation.rb#416 + # pkg:gem/prism#lib/prism/relocation.rb:416 def character_columns; end # Configure the character offsets field for this repository and return # self. # - # source://prism//lib/prism/relocation.rb#399 + # pkg:gem/prism#lib/prism/relocation.rb:399 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#422 + # pkg:gem/prism#lib/prism/relocation.rb:422 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#405 + # pkg:gem/prism#lib/prism/relocation.rb:405 def code_unit_offsets(encoding); end # Create a code units cache for the given encoding from the source. # - # source://prism//lib/prism/relocation.rb#377 + # pkg:gem/prism#lib/prism/relocation.rb:377 def code_units_cache(encoding); end # Configure the columns field for this repository and return self. # - # source://prism//lib/prism/relocation.rb#410 + # pkg:gem/prism#lib/prism/relocation.rb:410 def columns; end # Configure both the leading and trailing comment fields for this # repository and return self. # - # source://prism//lib/prism/relocation.rb#440 + # pkg:gem/prism#lib/prism/relocation.rb:440 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#447 + # pkg:gem/prism#lib/prism/relocation.rb:447 def enter(node_id, field_name); end # The entries that have been saved on this repository. # - # source://prism//lib/prism/relocation.rb#367 + # pkg:gem/prism#lib/prism/relocation.rb:367 def entries; end # The fields that have been configured on this repository. # - # source://prism//lib/prism/relocation.rb#364 + # pkg:gem/prism#lib/prism/relocation.rb:364 def fields; end # Configure the filepath field for this repository and return self. # # @raise [ConfigurationError] # - # source://prism//lib/prism/relocation.rb#382 + # pkg:gem/prism#lib/prism/relocation.rb:382 def filepath; end # Configure the leading comments field for this repository and return # self. # - # source://prism//lib/prism/relocation.rb#428 + # pkg:gem/prism#lib/prism/relocation.rb:428 def leading_comments; end # Configure the lines field for this repository and return self. # - # source://prism//lib/prism/relocation.rb#388 + # pkg:gem/prism#lib/prism/relocation.rb:388 def lines; end # Configure the offsets field for this repository and return self. # - # source://prism//lib/prism/relocation.rb#393 + # pkg:gem/prism#lib/prism/relocation.rb:393 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#456 + # pkg:gem/prism#lib/prism/relocation.rb:456 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#361 + # pkg:gem/prism#lib/prism/relocation.rb:361 def source; end # Configure the trailing comments field for this repository and return # self. # - # source://prism//lib/prism/relocation.rb#434 + # pkg:gem/prism#lib/prism/relocation.rb:434 def trailing_comments; end private @@ -31026,72 +31026,72 @@ class Prism::Relocation::Repository # # @raise [ConfigurationError] # - # source://prism//lib/prism/relocation.rb#488 + # pkg:gem/prism#lib/prism/relocation.rb:488 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#356 +# pkg:gem/prism#lib/prism/relocation.rb:356 class Prism::Relocation::Repository::ConfigurationError < ::StandardError; end # Represents the source of a repository that will be reparsed. # -# source://prism//lib/prism/relocation.rb#149 +# pkg:gem/prism#lib/prism/relocation.rb:149 class Prism::Relocation::Source # Initialize the source with the given value. # # @return [Source] a new instance of Source # - # source://prism//lib/prism/relocation.rb#154 + # pkg:gem/prism#lib/prism/relocation.rb:154 def initialize(value); end # Create a code units cache for the given encoding. # - # source://prism//lib/prism/relocation.rb#164 + # pkg:gem/prism#lib/prism/relocation.rb:164 def code_units_cache(encoding); end # Reparse the value and return the parse result. # # @raise [NotImplementedError] # - # source://prism//lib/prism/relocation.rb#159 + # pkg:gem/prism#lib/prism/relocation.rb:159 def result; end # The value that will need to be reparsed. # - # source://prism//lib/prism/relocation.rb#151 + # pkg:gem/prism#lib/prism/relocation.rb:151 def value; end end # A source that is represented by a file path. # -# source://prism//lib/prism/relocation.rb#170 +# pkg:gem/prism#lib/prism/relocation.rb:170 class Prism::Relocation::SourceFilepath < ::Prism::Relocation::Source # Reparse the file and return the parse result. # - # source://prism//lib/prism/relocation.rb#172 + # pkg:gem/prism#lib/prism/relocation.rb:172 def result; end end # A source that is represented by a string. # -# source://prism//lib/prism/relocation.rb#178 +# pkg:gem/prism#lib/prism/relocation.rb:178 class Prism::Relocation::SourceString < ::Prism::Relocation::Source # Reparse the string and return the parse result. # - # source://prism//lib/prism/relocation.rb#180 + # pkg:gem/prism#lib/prism/relocation.rb:180 def result; end end # A field representing the trailing comments. # -# source://prism//lib/prism/relocation.rb#344 +# pkg:gem/prism#lib/prism/relocation.rb:344 class Prism::Relocation::TrailingCommentsField < ::Prism::Relocation::CommentsField # Fetches the trailing comments of a value. # - # source://prism//lib/prism/relocation.rb#346 + # pkg:gem/prism#lib/prism/relocation.rb:346 def fields(value); end end @@ -31101,13 +31101,13 @@ end # ^^ # end # -# source://prism//lib/prism/node.rb#15647 +# pkg:gem/prism#lib/prism/node.rb:15647 class Prism::RequiredKeywordParameterNode < ::Prism::Node # Initialize a new RequiredKeywordParameterNode node. # # @return [RequiredKeywordParameterNode] a new instance of RequiredKeywordParameterNode # - # source://prism//lib/prism/node.rb#15649 + # pkg:gem/prism#lib/prism/node.rb:15649 sig do params( source: Prism::Source, @@ -31123,36 +31123,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#15729 + # pkg:gem/prism#lib/prism/node.rb:15729 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15659 + # pkg:gem/prism#lib/prism/node.rb:15659 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15664 + # pkg:gem/prism#lib/prism/node.rb:15664 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#15674 + # pkg:gem/prism#lib/prism/node.rb:15674 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#15669 + # pkg:gem/prism#lib/prism/node.rb:15669 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#15679 + # pkg:gem/prism#lib/prism/node.rb:15679 sig do params( node_id: Integer, @@ -31167,13 +31167,13 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15684 + # pkg:gem/prism#lib/prism/node.rb:15684 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#15687 + # pkg:gem/prism#lib/prism/node.rb:15687 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31182,19 +31182,19 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15713 + # pkg:gem/prism#lib/prism/node.rb:15713 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#15697 + # pkg:gem/prism#lib/prism/node.rb:15697 sig { returns(Symbol) } def name; end # attr_reader name_loc: Location # - # source://prism//lib/prism/node.rb#15700 + # pkg:gem/prism#lib/prism/node.rb:15700 sig { returns(Prism::Location) } def name_loc; end @@ -31202,26 +31202,26 @@ class Prism::RequiredKeywordParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15692 + # pkg:gem/prism#lib/prism/node.rb:15692 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#15708 + # pkg:gem/prism#lib/prism/node.rb:15708 def save_name_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15718 + # pkg:gem/prism#lib/prism/node.rb:15718 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#15723 + # pkg:gem/prism#lib/prism/node.rb:15723 def type; end end end @@ -31232,49 +31232,49 @@ end # ^ # end # -# source://prism//lib/prism/node.rb#15742 +# pkg:gem/prism#lib/prism/node.rb:15742 class Prism::RequiredParameterNode < ::Prism::Node # Initialize a new RequiredParameterNode node. # # @return [RequiredParameterNode] a new instance of RequiredParameterNode # - # source://prism//lib/prism/node.rb#15744 + # pkg:gem/prism#lib/prism/node.rb:15744 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#15810 + # pkg:gem/prism#lib/prism/node.rb:15810 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15753 + # pkg:gem/prism#lib/prism/node.rb:15753 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15758 + # pkg:gem/prism#lib/prism/node.rb:15758 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#15768 + # pkg:gem/prism#lib/prism/node.rb:15768 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#15763 + # pkg:gem/prism#lib/prism/node.rb:15763 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#15773 + # pkg:gem/prism#lib/prism/node.rb:15773 sig do params( node_id: Integer, @@ -31288,13 +31288,13 @@ class Prism::RequiredParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15778 + # pkg:gem/prism#lib/prism/node.rb:15778 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#15781 + # pkg:gem/prism#lib/prism/node.rb:15781 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31303,13 +31303,13 @@ class Prism::RequiredParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15794 + # pkg:gem/prism#lib/prism/node.rb:15794 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol # - # source://prism//lib/prism/node.rb#15791 + # pkg:gem/prism#lib/prism/node.rb:15791 sig { returns(Symbol) } def name; end @@ -31317,20 +31317,20 @@ class Prism::RequiredParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#15786 + # pkg:gem/prism#lib/prism/node.rb:15786 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#15799 + # pkg:gem/prism#lib/prism/node.rb:15799 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#15804 + # pkg:gem/prism#lib/prism/node.rb:15804 def type; end end end @@ -31340,13 +31340,13 @@ end # foo rescue nil # ^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#15821 +# pkg:gem/prism#lib/prism/node.rb:15821 class Prism::RescueModifierNode < ::Prism::Node # Initialize a new RescueModifierNode node. # # @return [RescueModifierNode] a new instance of RescueModifierNode # - # source://prism//lib/prism/node.rb#15823 + # pkg:gem/prism#lib/prism/node.rb:15823 sig do params( source: Prism::Source, @@ -31363,36 +31363,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#15907 + # pkg:gem/prism#lib/prism/node.rb:15907 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15834 + # pkg:gem/prism#lib/prism/node.rb:15834 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15839 + # pkg:gem/prism#lib/prism/node.rb:15839 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#15849 + # pkg:gem/prism#lib/prism/node.rb:15849 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#15844 + # pkg:gem/prism#lib/prism/node.rb:15844 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#15854 + # pkg:gem/prism#lib/prism/node.rb:15854 sig do params( node_id: Integer, @@ -31408,19 +31408,19 @@ class Prism::RescueModifierNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15859 + # pkg:gem/prism#lib/prism/node.rb:15859 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#15862 + # pkg:gem/prism#lib/prism/node.rb:15862 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#15867 + # pkg:gem/prism#lib/prism/node.rb:15867 sig { returns(Prism::Node) } def expression; end @@ -31429,47 +31429,47 @@ class Prism::RescueModifierNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#15891 + # pkg:gem/prism#lib/prism/node.rb:15891 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#15886 + # pkg:gem/prism#lib/prism/node.rb:15886 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#15870 + # pkg:gem/prism#lib/prism/node.rb:15870 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism//lib/prism/parse_result/newlines.rb#116 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:116 def newline_flag!(lines); end # attr_reader rescue_expression: Prism::node # - # source://prism//lib/prism/node.rb#15883 + # pkg:gem/prism#lib/prism/node.rb:15883 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#15878 + # pkg:gem/prism#lib/prism/node.rb:15878 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#15896 + # pkg:gem/prism#lib/prism/node.rb:15896 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#15901 + # pkg:gem/prism#lib/prism/node.rb:15901 def type; end end end @@ -31484,13 +31484,13 @@ end # # `Foo, *splat, Bar` are in the `exceptions` field. `ex` is in the `reference` field. # -# source://prism//lib/prism/node.rb#15924 +# pkg:gem/prism#lib/prism/node.rb:15924 class Prism::RescueNode < ::Prism::Node # Initialize a new RescueNode node. # # @return [RescueNode] a new instance of RescueNode # - # source://prism//lib/prism/node.rb#15926 + # pkg:gem/prism#lib/prism/node.rb:15926 sig do params( source: Prism::Source, @@ -31511,42 +31511,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#16073 + # pkg:gem/prism#lib/prism/node.rb:16073 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#15941 + # pkg:gem/prism#lib/prism/node.rb:15941 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15946 + # pkg:gem/prism#lib/prism/node.rb:15946 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#15961 + # pkg:gem/prism#lib/prism/node.rb:15961 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#15951 + # pkg:gem/prism#lib/prism/node.rb:15951 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#497 + # pkg:gem/prism#lib/prism/node_ext.rb:497 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, ?then_keyword_loc: Location?, ?statements: StatementsNode?, ?subsequent: RescueNode?) -> RescueNode # - # source://prism//lib/prism/node.rb#15966 + # pkg:gem/prism#lib/prism/node.rb:15966 sig do params( node_id: Integer, @@ -31566,19 +31566,19 @@ class Prism::RescueNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#15971 + # pkg:gem/prism#lib/prism/node.rb:15971 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, then_keyword_loc: Location?, statements: StatementsNode?, subsequent: RescueNode? } # - # source://prism//lib/prism/node.rb#15974 + # pkg:gem/prism#lib/prism/node.rb:15974 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#15992 + # pkg:gem/prism#lib/prism/node.rb:15992 sig { returns(T::Array[Prism::Node]) } def exceptions; end @@ -31587,37 +31587,37 @@ class Prism::RescueNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16057 + # pkg:gem/prism#lib/prism/node.rb:16057 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#16042 + # pkg:gem/prism#lib/prism/node.rb:16042 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#15979 + # pkg:gem/prism#lib/prism/node.rb:15979 sig { returns(Prism::Location) } def keyword_loc; end # def operator: () -> String? # - # source://prism//lib/prism/node.rb#16047 + # pkg:gem/prism#lib/prism/node.rb:16047 sig { returns(T.nilable(String)) } def operator; end # attr_reader operator_loc: Location? # - # source://prism//lib/prism/node.rb#15995 + # pkg:gem/prism#lib/prism/node.rb:15995 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#16014 + # pkg:gem/prism#lib/prism/node.rb:16014 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 @@ -31626,55 +31626,55 @@ 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#15987 + # pkg:gem/prism#lib/prism/node.rb:15987 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#16009 + # pkg:gem/prism#lib/prism/node.rb:16009 def save_operator_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#16031 + # pkg:gem/prism#lib/prism/node.rb:16031 def save_then_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#16036 + # pkg:gem/prism#lib/prism/node.rb:16036 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # attr_reader subsequent: RescueNode? # - # source://prism//lib/prism/node.rb#16039 + # pkg:gem/prism#lib/prism/node.rb:16039 sig { returns(T.nilable(Prism::RescueNode)) } def subsequent; end # def then_keyword: () -> String? # - # source://prism//lib/prism/node.rb#16052 + # pkg:gem/prism#lib/prism/node.rb:16052 sig { returns(T.nilable(String)) } def then_keyword; end # attr_reader then_keyword_loc: Location? # - # source://prism//lib/prism/node.rb#16017 + # pkg:gem/prism#lib/prism/node.rb:16017 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#16062 + # pkg:gem/prism#lib/prism/node.rb:16062 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#16067 + # pkg:gem/prism#lib/prism/node.rb:16067 def type; end end end @@ -31685,13 +31685,13 @@ end # ^^ # end # -# source://prism//lib/prism/node.rb#16091 +# pkg:gem/prism#lib/prism/node.rb:16091 class Prism::RestParameterNode < ::Prism::Node # Initialize a new RestParameterNode node. # # @return [RestParameterNode] a new instance of RestParameterNode # - # source://prism//lib/prism/node.rb#16093 + # pkg:gem/prism#lib/prism/node.rb:16093 sig do params( source: Prism::Source, @@ -31708,36 +31708,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#16198 + # pkg:gem/prism#lib/prism/node.rb:16198 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16104 + # pkg:gem/prism#lib/prism/node.rb:16104 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16109 + # pkg:gem/prism#lib/prism/node.rb:16109 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#16119 + # pkg:gem/prism#lib/prism/node.rb:16119 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#16114 + # pkg:gem/prism#lib/prism/node.rb:16114 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#16124 + # pkg:gem/prism#lib/prism/node.rb:16124 sig do params( node_id: Integer, @@ -31753,13 +31753,13 @@ class Prism::RestParameterNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16129 + # pkg:gem/prism#lib/prism/node.rb:16129 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#16132 + # pkg:gem/prism#lib/prism/node.rb:16132 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -31768,31 +31768,31 @@ class Prism::RestParameterNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16182 + # pkg:gem/prism#lib/prism/node.rb:16182 sig { override.returns(String) } def inspect; end # attr_reader name: Symbol? # - # source://prism//lib/prism/node.rb#16142 + # pkg:gem/prism#lib/prism/node.rb:16142 sig { returns(T.nilable(Symbol)) } def name; end # attr_reader name_loc: Location? # - # source://prism//lib/prism/node.rb#16145 + # pkg:gem/prism#lib/prism/node.rb:16145 sig { returns(T.nilable(Prism::Location)) } def name_loc; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#16177 + # pkg:gem/prism#lib/prism/node.rb:16177 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#16164 + # pkg:gem/prism#lib/prism/node.rb:16164 sig { returns(Prism::Location) } def operator_loc; end @@ -31800,32 +31800,32 @@ class Prism::RestParameterNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16137 + # pkg:gem/prism#lib/prism/node.rb:16137 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#16159 + # pkg:gem/prism#lib/prism/node.rb:16159 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#16172 + # pkg:gem/prism#lib/prism/node.rb:16172 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16187 + # pkg:gem/prism#lib/prism/node.rb:16187 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#16192 + # pkg:gem/prism#lib/prism/node.rb:16192 def type; end end end @@ -31834,13 +31834,13 @@ end # the requested structure, any comments that were encounters, and any errors # that were encountered. # -# source://prism//lib/prism/parse_result.rb#667 +# pkg:gem/prism#lib/prism/parse_result.rb:667 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#689 + # pkg:gem/prism#lib/prism/parse_result.rb:689 sig do params( comments: T::Array[Prism::Comment], @@ -31855,7 +31855,7 @@ class Prism::Result # Create a code units cache for the given encoding. # - # source://prism//lib/prism/parse_result.rb#721 + # pkg:gem/prism#lib/prism/parse_result.rb:721 sig do params( encoding: Encoding @@ -31865,7 +31865,7 @@ class Prism::Result # The list of comments that were encountered during parsing. # - # source://prism//lib/prism/parse_result.rb#669 + # pkg:gem/prism#lib/prism/parse_result.rb:669 sig { returns(T::Array[Prism::Comment]) } def comments; end @@ -31873,25 +31873,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#677 + # pkg:gem/prism#lib/prism/parse_result.rb:677 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#699 + # pkg:gem/prism#lib/prism/parse_result.rb:699 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#704 + # pkg:gem/prism#lib/prism/parse_result.rb:704 sig { returns(Encoding) } def encoding; end # The list of errors that were generated during parsing. # - # source://prism//lib/prism/parse_result.rb#680 + # pkg:gem/prism#lib/prism/parse_result.rb:680 sig { returns(T::Array[Prism::ParseError]) } def errors; end @@ -31900,19 +31900,19 @@ class Prism::Result # # @return [Boolean] # - # source://prism//lib/prism/parse_result.rb#716 + # pkg:gem/prism#lib/prism/parse_result.rb:716 sig { returns(T::Boolean) } def failure?; end # The list of magic comments that were encountered during parsing. # - # source://prism//lib/prism/parse_result.rb#672 + # pkg:gem/prism#lib/prism/parse_result.rb:672 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#686 + # pkg:gem/prism#lib/prism/parse_result.rb:686 sig { returns(Prism::Source) } def source; end @@ -31921,13 +31921,13 @@ class Prism::Result # # @return [Boolean] # - # source://prism//lib/prism/parse_result.rb#710 + # pkg:gem/prism#lib/prism/parse_result.rb:710 sig { returns(T::Boolean) } def success?; end # The list of warnings that were generated during parsing. # - # source://prism//lib/prism/parse_result.rb#683 + # pkg:gem/prism#lib/prism/parse_result.rb:683 sig { returns(T::Array[Prism::ParseWarning]) } def warnings; end end @@ -31937,62 +31937,62 @@ end # retry # ^^^^^ # -# source://prism//lib/prism/node.rb#16211 +# pkg:gem/prism#lib/prism/node.rb:16211 class Prism::RetryNode < ::Prism::Node # Initialize a new RetryNode node. # # @return [RetryNode] a new instance of RetryNode # - # source://prism//lib/prism/node.rb#16213 + # pkg:gem/prism#lib/prism/node.rb:16213 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#16270 + # pkg:gem/prism#lib/prism/node.rb:16270 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16221 + # pkg:gem/prism#lib/prism/node.rb:16221 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16226 + # pkg:gem/prism#lib/prism/node.rb:16226 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#16236 + # pkg:gem/prism#lib/prism/node.rb:16236 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#16231 + # pkg:gem/prism#lib/prism/node.rb:16231 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#16241 + # pkg:gem/prism#lib/prism/node.rb:16241 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16246 + # pkg:gem/prism#lib/prism/node.rb:16246 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#16249 + # pkg:gem/prism#lib/prism/node.rb:16249 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32001,20 +32001,20 @@ class Prism::RetryNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16254 + # pkg:gem/prism#lib/prism/node.rb:16254 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16259 + # pkg:gem/prism#lib/prism/node.rb:16259 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#16264 + # pkg:gem/prism#lib/prism/node.rb:16264 def type; end end end @@ -32024,13 +32024,13 @@ end # return 1 # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#16279 +# pkg:gem/prism#lib/prism/node.rb:16279 class Prism::ReturnNode < ::Prism::Node # Initialize a new ReturnNode node. # # @return [ReturnNode] a new instance of ReturnNode # - # source://prism//lib/prism/node.rb#16281 + # pkg:gem/prism#lib/prism/node.rb:16281 sig do params( source: Prism::Source, @@ -32046,42 +32046,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#16363 + # pkg:gem/prism#lib/prism/node.rb:16363 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16291 + # pkg:gem/prism#lib/prism/node.rb:16291 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#16339 + # pkg:gem/prism#lib/prism/node.rb:16339 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16296 + # pkg:gem/prism#lib/prism/node.rb:16296 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#16308 + # pkg:gem/prism#lib/prism/node.rb:16308 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#16301 + # pkg:gem/prism#lib/prism/node.rb:16301 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#16313 + # pkg:gem/prism#lib/prism/node.rb:16313 sig do params( node_id: Integer, @@ -32096,13 +32096,13 @@ class Prism::ReturnNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16318 + # pkg:gem/prism#lib/prism/node.rb:16318 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#16321 + # pkg:gem/prism#lib/prism/node.rb:16321 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32111,38 +32111,38 @@ class Prism::ReturnNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16347 + # pkg:gem/prism#lib/prism/node.rb:16347 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#16342 + # pkg:gem/prism#lib/prism/node.rb:16342 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#16326 + # pkg:gem/prism#lib/prism/node.rb:16326 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#16334 + # pkg:gem/prism#lib/prism/node.rb:16334 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16352 + # pkg:gem/prism#lib/prism/node.rb:16352 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#16357 + # pkg:gem/prism#lib/prism/node.rb:16357 def type; end end end @@ -32152,13 +32152,13 @@ end # variables visible at that scope as well as the forwarding parameters # available at that scope. # -# source://prism//lib/prism/parse_result.rb#875 +# pkg:gem/prism#lib/prism/parse_result.rb:875 class Prism::Scope # Create a new scope object with the given locals and forwarding. # # @return [Scope] a new instance of Scope # - # source://prism//lib/prism/parse_result.rb#886 + # pkg:gem/prism#lib/prism/parse_result.rb:886 sig { params(locals: T::Array[Symbol], forwarding: T::Array[Symbol]).void } def initialize(locals, forwarding); end @@ -32166,14 +32166,14 @@ class Prism::Scope # should by defined as an array of symbols containing the specific values of # :*, :**, :&, or :"...". # - # source://prism//lib/prism/parse_result.rb#883 + # pkg:gem/prism#lib/prism/parse_result.rb:883 sig { returns(T::Array[Symbol]) } def forwarding; end # The list of local variables that are defined in this scope. This should be # defined as an array of symbols. # - # source://prism//lib/prism/parse_result.rb#878 + # pkg:gem/prism#lib/prism/parse_result.rb:878 sig { returns(T::Array[Symbol]) } def locals; end end @@ -32183,62 +32183,62 @@ end # self # ^^^^ # -# source://prism//lib/prism/node.rb#16374 +# pkg:gem/prism#lib/prism/node.rb:16374 class Prism::SelfNode < ::Prism::Node # Initialize a new SelfNode node. # # @return [SelfNode] a new instance of SelfNode # - # source://prism//lib/prism/node.rb#16376 + # pkg:gem/prism#lib/prism/node.rb:16376 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#16433 + # pkg:gem/prism#lib/prism/node.rb:16433 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16384 + # pkg:gem/prism#lib/prism/node.rb:16384 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16389 + # pkg:gem/prism#lib/prism/node.rb:16389 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#16399 + # pkg:gem/prism#lib/prism/node.rb:16399 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#16394 + # pkg:gem/prism#lib/prism/node.rb:16394 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#16404 + # pkg:gem/prism#lib/prism/node.rb:16404 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16409 + # pkg:gem/prism#lib/prism/node.rb:16409 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#16412 + # pkg:gem/prism#lib/prism/node.rb:16412 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32247,27 +32247,27 @@ class Prism::SelfNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16417 + # pkg:gem/prism#lib/prism/node.rb:16417 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16422 + # pkg:gem/prism#lib/prism/node.rb:16422 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#16427 + # pkg:gem/prism#lib/prism/node.rb:16427 def type; end end end # A module responsible for deserializing parse results. # -# source://prism//lib/prism/serialize.rb#17 +# pkg:gem/prism#lib/prism/serialize.rb:17 module Prism::Serialize class << self # Deserialize the dumped output from a request to lex or lex_file. @@ -32275,7 +32275,7 @@ module Prism::Serialize # The formatting of the source of this method is purposeful to illustrate # the structure of the serialized data. # - # source://prism//lib/prism/serialize.rb#87 + # pkg:gem/prism#lib/prism/serialize.rb:87 def load_lex(input, serialized, freeze); end # Deserialize the dumped output from a request to parse or parse_file. @@ -32283,7 +32283,7 @@ module Prism::Serialize # The formatting of the source of this method is purposeful to illustrate # the structure of the serialized data. # - # source://prism//lib/prism/serialize.rb#34 + # pkg:gem/prism#lib/prism/serialize.rb:34 def load_parse(input, serialized, freeze); end # Deserialize the dumped output from a request to parse_comments or @@ -32292,7 +32292,7 @@ module Prism::Serialize # The formatting of the source of this method is purposeful to illustrate # the structure of the serialized data. # - # source://prism//lib/prism/serialize.rb#131 + # pkg:gem/prism#lib/prism/serialize.rb:131 def load_parse_comments(input, serialized, freeze); end # Deserialize the dumped output from a request to parse_lex or @@ -32301,165 +32301,165 @@ module Prism::Serialize # The formatting of the source of this method is purposeful to illustrate # the structure of the serialized data. # - # source://prism//lib/prism/serialize.rb#153 + # pkg:gem/prism#lib/prism/serialize.rb:153 def load_parse_lex(input, serialized, freeze); end end end -# source://prism//lib/prism/serialize.rb#202 +# pkg:gem/prism#lib/prism/serialize.rb:202 class Prism::Serialize::ConstantPool # @return [ConstantPool] a new instance of ConstantPool # - # source://prism//lib/prism/serialize.rb#205 + # pkg:gem/prism#lib/prism/serialize.rb:205 def initialize(input, serialized, base, size); end - # source://prism//lib/prism/serialize.rb#213 + # pkg:gem/prism#lib/prism/serialize.rb:213 def get(index, encoding); end # Returns the value of attribute size. # - # source://prism//lib/prism/serialize.rb#203 + # pkg:gem/prism#lib/prism/serialize.rb:203 def size; end end # StringIO is synchronized and that adds a high overhead on TruffleRuby. # -# source://prism//lib/prism/serialize.rb#256 +# pkg:gem/prism#lib/prism/serialize.rb:256 Prism::Serialize::FastStringIO = StringIO -# source://prism//lib/prism/serialize.rb#259 +# pkg:gem/prism#lib/prism/serialize.rb:259 class Prism::Serialize::Loader # @return [Loader] a new instance of Loader # - # source://prism//lib/prism/serialize.rb#262 + # pkg:gem/prism#lib/prism/serialize.rb:262 def initialize(source, serialized); end # @return [Boolean] # - # source://prism//lib/prism/serialize.rb#270 + # pkg:gem/prism#lib/prism/serialize.rb:270 def eof?; end # Returns the value of attribute input. # - # source://prism//lib/prism/serialize.rb#260 + # pkg:gem/prism#lib/prism/serialize.rb:260 def input; end # Returns the value of attribute io. # - # source://prism//lib/prism/serialize.rb#260 + # pkg:gem/prism#lib/prism/serialize.rb:260 def io; end - # source://prism//lib/prism/serialize.rb#304 + # pkg:gem/prism#lib/prism/serialize.rb:304 def load_comments(freeze); end - # source://prism//lib/prism/serialize.rb#831 + # pkg:gem/prism#lib/prism/serialize.rb:831 def load_constant(constant_pool, encoding); end - # source://prism//lib/prism/serialize.rb#275 + # pkg:gem/prism#lib/prism/serialize.rb:275 def load_constant_pool(constant_pool); end - # source://prism//lib/prism/serialize.rb#782 + # pkg:gem/prism#lib/prism/serialize.rb:782 def load_double; end - # source://prism//lib/prism/serialize.rb#797 + # pkg:gem/prism#lib/prism/serialize.rb:797 def load_embedded_string(encoding); end - # source://prism//lib/prism/serialize.rb#292 + # pkg:gem/prism#lib/prism/serialize.rb:292 def load_encoding; end - # source://prism//lib/prism/serialize.rb#667 + # pkg:gem/prism#lib/prism/serialize.rb:667 def load_error_level; end - # source://prism//lib/prism/serialize.rb#682 + # pkg:gem/prism#lib/prism/serialize.rb:682 def load_errors(encoding, freeze); end - # source://prism//lib/prism/serialize.rb#286 + # pkg:gem/prism#lib/prism/serialize.rb:286 def load_header; end - # source://prism//lib/prism/serialize.rb#771 + # pkg:gem/prism#lib/prism/serialize.rb:771 def load_integer; end - # source://prism//lib/prism/serialize.rb#298 + # pkg:gem/prism#lib/prism/serialize.rb:298 def load_line_offsets(freeze); end - # source://prism//lib/prism/serialize.rb#818 + # pkg:gem/prism#lib/prism/serialize.rb:818 def load_location(freeze); end - # source://prism//lib/prism/serialize.rb#812 + # pkg:gem/prism#lib/prism/serialize.rb:812 def load_location_object(freeze); end - # source://prism//lib/prism/serialize.rb#321 + # pkg:gem/prism#lib/prism/serialize.rb:321 def load_magic_comments(freeze); end - # source://prism//lib/prism/serialize.rb#842 + # pkg:gem/prism#lib/prism/serialize.rb:842 def load_node(constant_pool, encoding, freeze); end - # source://prism//lib/prism/serialize.rb#836 + # pkg:gem/prism#lib/prism/serialize.rb:836 def load_optional_constant(constant_pool, encoding); end - # source://prism//lib/prism/serialize.rb#823 + # pkg:gem/prism#lib/prism/serialize.rb:823 def load_optional_location(freeze); end - # source://prism//lib/prism/serialize.rb#827 + # pkg:gem/prism#lib/prism/serialize.rb:827 def load_optional_location_object(freeze); end - # source://prism//lib/prism/serialize.rb#790 + # pkg:gem/prism#lib/prism/serialize.rb:790 def load_optional_node(constant_pool, encoding, freeze); end - # source://prism//lib/prism/serialize.rb#801 + # pkg:gem/prism#lib/prism/serialize.rb:801 def load_string(encoding); end - # source://prism//lib/prism/serialize.rb#733 + # pkg:gem/prism#lib/prism/serialize.rb:733 def load_tokens; end - # source://prism//lib/prism/serialize.rb#786 + # pkg:gem/prism#lib/prism/serialize.rb:786 def load_uint32; end - # source://prism//lib/prism/serialize.rb#766 + # pkg:gem/prism#lib/prism/serialize.rb:766 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#752 + # pkg:gem/prism#lib/prism/serialize.rb:752 def load_varuint; end - # source://prism//lib/prism/serialize.rb#701 + # pkg:gem/prism#lib/prism/serialize.rb:701 def load_warning_level; end - # source://prism//lib/prism/serialize.rb#714 + # pkg:gem/prism#lib/prism/serialize.rb:714 def load_warnings(encoding, freeze); end # Returns the value of attribute source. # - # source://prism//lib/prism/serialize.rb#260 + # pkg:gem/prism#lib/prism/serialize.rb:260 def source; end end -# source://prism//lib/prism/serialize.rb#338 +# pkg:gem/prism#lib/prism/serialize.rb:338 Prism::Serialize::Loader::DIAGNOSTIC_TYPES = T.let(T.unsafe(nil), Array) # The major version of prism that we are expecting to find in the serialized # strings. # -# source://prism//lib/prism/serialize.rb#20 +# pkg:gem/prism#lib/prism/serialize.rb:20 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#24 +# pkg:gem/prism#lib/prism/serialize.rb:24 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#28 +# pkg:gem/prism#lib/prism/serialize.rb:28 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#2227 +# pkg:gem/prism#lib/prism/serialize.rb:2227 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. @@ -32467,13 +32467,13 @@ Prism::Serialize::TOKEN_TYPES = T.let(T.unsafe(nil), Array) # C = { a: 1 } # ^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#16443 +# pkg:gem/prism#lib/prism/node.rb:16443 class Prism::ShareableConstantNode < ::Prism::Node # Initialize a new ShareableConstantNode node. # # @return [ShareableConstantNode] a new instance of ShareableConstantNode # - # source://prism//lib/prism/node.rb#16445 + # pkg:gem/prism#lib/prism/node.rb:16445 sig do params( source: Prism::Source, @@ -32488,36 +32488,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#16521 + # pkg:gem/prism#lib/prism/node.rb:16521 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16454 + # pkg:gem/prism#lib/prism/node.rb:16454 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16459 + # pkg:gem/prism#lib/prism/node.rb:16459 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#16469 + # pkg:gem/prism#lib/prism/node.rb:16469 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#16464 + # pkg:gem/prism#lib/prism/node.rb:16464 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#16474 + # pkg:gem/prism#lib/prism/node.rb:16474 sig do params( node_id: Integer, @@ -32531,13 +32531,13 @@ class Prism::ShareableConstantNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16479 + # pkg:gem/prism#lib/prism/node.rb:16479 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#16482 + # pkg:gem/prism#lib/prism/node.rb:16482 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -32545,7 +32545,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16497 + # pkg:gem/prism#lib/prism/node.rb:16497 sig { returns(T::Boolean) } def experimental_copy?; end @@ -32553,7 +32553,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16492 + # pkg:gem/prism#lib/prism/node.rb:16492 sig { returns(T::Boolean) } def experimental_everything?; end @@ -32562,7 +32562,7 @@ class Prism::ShareableConstantNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16505 + # pkg:gem/prism#lib/prism/node.rb:16505 sig { override.returns(String) } def inspect; end @@ -32570,19 +32570,19 @@ class Prism::ShareableConstantNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16487 + # pkg:gem/prism#lib/prism/node.rb:16487 sig { returns(T::Boolean) } def literal?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16510 + # pkg:gem/prism#lib/prism/node.rb:16510 sig { override.returns(Symbol) } def type; end # The constant write that should be modified with the shareability state. # - # source://prism//lib/prism/node.rb#16502 + # pkg:gem/prism#lib/prism/node.rb:16502 sig do returns(T.any(Prism::ConstantWriteNode, Prism::ConstantAndWriteNode, Prism::ConstantOrWriteNode, Prism::ConstantOperatorWriteNode, Prism::ConstantPathWriteNode, Prism::ConstantPathAndWriteNode, Prism::ConstantPathOrWriteNode, Prism::ConstantPathOperatorWriteNode)) end @@ -32591,29 +32591,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#16515 + # pkg:gem/prism#lib/prism/node.rb:16515 def type; end end end # Flags for shareable constant nodes. # -# source://prism//lib/prism/node.rb#18807 +# pkg:gem/prism#lib/prism/node.rb:18807 module Prism::ShareableConstantNodeFlags; end # constant writes that should be modified with shareable constant value experimental copy # -# source://prism//lib/prism/node.rb#18815 +# pkg:gem/prism#lib/prism/node.rb:18815 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#18812 +# pkg:gem/prism#lib/prism/node.rb:18812 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#18809 +# pkg:gem/prism#lib/prism/node.rb:18809 Prism::ShareableConstantNodeFlags::LITERAL = T.let(T.unsafe(nil), Integer) # Represents a singleton class declaration involving the `class` keyword. @@ -32621,13 +32621,13 @@ Prism::ShareableConstantNodeFlags::LITERAL = T.let(T.unsafe(nil), Integer) # class << self end # ^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#16532 +# pkg:gem/prism#lib/prism/node.rb:16532 class Prism::SingletonClassNode < ::Prism::Node # Initialize a new SingletonClassNode node. # # @return [SingletonClassNode] a new instance of SingletonClassNode # - # source://prism//lib/prism/node.rb#16534 + # pkg:gem/prism#lib/prism/node.rb:16534 sig do params( source: Prism::Source, @@ -32647,54 +32647,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#16663 + # pkg:gem/prism#lib/prism/node.rb:16663 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16548 + # pkg:gem/prism#lib/prism/node.rb:16548 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#16616 + # pkg:gem/prism#lib/prism/node.rb:16616 sig { returns(T.nilable(T.any(Prism::StatementsNode, Prism::BeginNode))) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16553 + # pkg:gem/prism#lib/prism/node.rb:16553 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def class_keyword: () -> String # - # source://prism//lib/prism/node.rb#16632 + # pkg:gem/prism#lib/prism/node.rb:16632 sig { returns(String) } def class_keyword; end # attr_reader class_keyword_loc: Location # - # source://prism//lib/prism/node.rb#16587 + # pkg:gem/prism#lib/prism/node.rb:16587 sig { returns(Prism::Location) } def class_keyword_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#16566 + # pkg:gem/prism#lib/prism/node.rb:16566 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#16558 + # pkg:gem/prism#lib/prism/node.rb:16558 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#16571 + # pkg:gem/prism#lib/prism/node.rb:16571 sig do params( node_id: Integer, @@ -32713,31 +32713,31 @@ class Prism::SingletonClassNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16576 + # pkg:gem/prism#lib/prism/node.rb:16576 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#16579 + # pkg:gem/prism#lib/prism/node.rb:16579 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#16642 + # pkg:gem/prism#lib/prism/node.rb:16642 sig { returns(String) } def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://prism//lib/prism/node.rb#16619 + # pkg:gem/prism#lib/prism/node.rb:16619 sig { returns(Prism::Location) } def end_keyword_loc; end # attr_reader expression: Prism::node # - # source://prism//lib/prism/node.rb#16613 + # pkg:gem/prism#lib/prism/node.rb:16613 sig { returns(Prism::Node) } def expression; end @@ -32746,56 +32746,56 @@ class Prism::SingletonClassNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16647 + # pkg:gem/prism#lib/prism/node.rb:16647 sig { override.returns(String) } def inspect; end # attr_reader locals: Array[Symbol] # - # source://prism//lib/prism/node.rb#16584 + # pkg:gem/prism#lib/prism/node.rb:16584 sig { returns(T::Array[Symbol]) } def locals; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#16637 + # pkg:gem/prism#lib/prism/node.rb:16637 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#16600 + # pkg:gem/prism#lib/prism/node.rb:16600 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#16595 + # pkg:gem/prism#lib/prism/node.rb:16595 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#16627 + # pkg:gem/prism#lib/prism/node.rb:16627 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#16608 + # pkg:gem/prism#lib/prism/node.rb:16608 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16652 + # pkg:gem/prism#lib/prism/node.rb:16652 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#16657 + # pkg:gem/prism#lib/prism/node.rb:16657 def type; end end end @@ -32804,32 +32804,32 @@ end # conjunction with locations to allow them to resolve line numbers and source # ranges. # -# source://prism//lib/prism/parse_result.rb#8 +# pkg:gem/prism#lib/prism/parse_result.rb:8 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#46 + # pkg:gem/prism#lib/prism/parse_result.rb:46 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#108 + # pkg:gem/prism#lib/prism/parse_result.rb:108 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#103 + # pkg:gem/prism#lib/prism/parse_result.rb:103 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#136 + # pkg:gem/prism#lib/prism/parse_result.rb:136 sig do params( encoding: Encoding @@ -32840,7 +32840,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#142 + # pkg:gem/prism#lib/prism/parse_result.rb:142 sig { params(byte_offset: Integer, encoding: Encoding).returns(Integer) } def code_units_column(byte_offset, encoding); end @@ -32857,88 +32857,88 @@ 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#124 + # pkg:gem/prism#lib/prism/parse_result.rb:124 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#98 + # pkg:gem/prism#lib/prism/parse_result.rb:98 sig { params(byte_offset: Integer).returns(Integer) } def column(byte_offset); end # Freeze this object and the objects it contains. # - # source://prism//lib/prism/parse_result.rb#147 + # pkg:gem/prism#lib/prism/parse_result.rb:147 def deep_freeze; 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#64 + # pkg:gem/prism#lib/prism/parse_result.rb:64 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#81 + # pkg:gem/prism#lib/prism/parse_result.rb:81 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#93 + # pkg:gem/prism#lib/prism/parse_result.rb:93 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#87 + # pkg:gem/prism#lib/prism/parse_result.rb:87 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#69 + # pkg:gem/prism#lib/prism/parse_result.rb:69 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#43 + # pkg:gem/prism#lib/prism/parse_result.rb:43 sig { returns(T::Array[Integer]) } def offsets; end # Replace the value of offsets with the given value. # - # source://prism//lib/prism/parse_result.rb#58 + # pkg:gem/prism#lib/prism/parse_result.rb:58 sig { params(offsets: T::Array[Integer]).void } def replace_offsets(offsets); end # Replace the value of start_line with the given value. # - # source://prism//lib/prism/parse_result.rb#53 + # pkg:gem/prism#lib/prism/parse_result.rb:53 sig { params(start_line: Integer).void } def replace_start_line(start_line); end # Perform a byteslice on the source code using the given byte offset and # byte length. # - # source://prism//lib/prism/parse_result.rb#75 + # pkg:gem/prism#lib/prism/parse_result.rb:75 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#37 + # pkg:gem/prism#lib/prism/parse_result.rb:37 sig { returns(String) } def source; end # The line number where this source starts. # - # source://prism//lib/prism/parse_result.rb#40 + # pkg:gem/prism#lib/prism/parse_result.rb:40 sig { returns(Integer) } def start_line; end @@ -32947,7 +32947,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#157 + # pkg:gem/prism#lib/prism/parse_result.rb:157 def find_line(byte_offset); end class << self @@ -32956,7 +32956,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#13 + # pkg:gem/prism#lib/prism/parse_result.rb:13 def for(source, start_line = T.unsafe(nil), offsets = T.unsafe(nil)); end end end @@ -32966,62 +32966,62 @@ end # __ENCODING__ # ^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#16679 +# pkg:gem/prism#lib/prism/node.rb:16679 class Prism::SourceEncodingNode < ::Prism::Node # Initialize a new SourceEncodingNode node. # # @return [SourceEncodingNode] a new instance of SourceEncodingNode # - # source://prism//lib/prism/node.rb#16681 + # pkg:gem/prism#lib/prism/node.rb:16681 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#16738 + # pkg:gem/prism#lib/prism/node.rb:16738 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16689 + # pkg:gem/prism#lib/prism/node.rb:16689 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16694 + # pkg:gem/prism#lib/prism/node.rb:16694 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#16704 + # pkg:gem/prism#lib/prism/node.rb:16704 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#16699 + # pkg:gem/prism#lib/prism/node.rb:16699 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#16709 + # pkg:gem/prism#lib/prism/node.rb:16709 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16714 + # pkg:gem/prism#lib/prism/node.rb:16714 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#16717 + # pkg:gem/prism#lib/prism/node.rb:16717 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33030,20 +33030,20 @@ class Prism::SourceEncodingNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16722 + # pkg:gem/prism#lib/prism/node.rb:16722 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16727 + # pkg:gem/prism#lib/prism/node.rb:16727 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#16732 + # pkg:gem/prism#lib/prism/node.rb:16732 def type; end end end @@ -33053,13 +33053,13 @@ end # __FILE__ # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#16747 +# pkg:gem/prism#lib/prism/node.rb:16747 class Prism::SourceFileNode < ::Prism::Node # Initialize a new SourceFileNode node. # # @return [SourceFileNode] a new instance of SourceFileNode # - # source://prism//lib/prism/node.rb#16749 + # pkg:gem/prism#lib/prism/node.rb:16749 sig do params( source: Prism::Source, @@ -33074,36 +33074,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#16830 + # pkg:gem/prism#lib/prism/node.rb:16830 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16758 + # pkg:gem/prism#lib/prism/node.rb:16758 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16763 + # pkg:gem/prism#lib/prism/node.rb:16763 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#16773 + # pkg:gem/prism#lib/prism/node.rb:16773 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#16768 + # pkg:gem/prism#lib/prism/node.rb:16768 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#16778 + # pkg:gem/prism#lib/prism/node.rb:16778 sig do params( node_id: Integer, @@ -33117,13 +33117,13 @@ class Prism::SourceFileNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16783 + # pkg:gem/prism#lib/prism/node.rb:16783 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#16786 + # pkg:gem/prism#lib/prism/node.rb:16786 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33132,7 +33132,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#16811 + # pkg:gem/prism#lib/prism/node.rb:16811 sig { returns(String) } def filepath; end @@ -33140,7 +33140,7 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16796 + # pkg:gem/prism#lib/prism/node.rb:16796 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -33148,7 +33148,7 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16791 + # pkg:gem/prism#lib/prism/node.rb:16791 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -33156,13 +33156,13 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16801 + # pkg:gem/prism#lib/prism/node.rb:16801 sig { returns(T::Boolean) } def frozen?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#16814 + # pkg:gem/prism#lib/prism/node.rb:16814 sig { override.returns(String) } def inspect; end @@ -33170,20 +33170,20 @@ class Prism::SourceFileNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#16806 + # pkg:gem/prism#lib/prism/node.rb:16806 sig { returns(T::Boolean) } def mutable?; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16819 + # pkg:gem/prism#lib/prism/node.rb:16819 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#16824 + # pkg:gem/prism#lib/prism/node.rb:16824 def type; end end end @@ -33193,62 +33193,62 @@ end # __LINE__ # ^^^^^^^^ # -# source://prism//lib/prism/node.rb#16841 +# pkg:gem/prism#lib/prism/node.rb:16841 class Prism::SourceLineNode < ::Prism::Node # Initialize a new SourceLineNode node. # # @return [SourceLineNode] a new instance of SourceLineNode # - # source://prism//lib/prism/node.rb#16843 + # pkg:gem/prism#lib/prism/node.rb:16843 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#16900 + # pkg:gem/prism#lib/prism/node.rb:16900 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16851 + # pkg:gem/prism#lib/prism/node.rb:16851 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16856 + # pkg:gem/prism#lib/prism/node.rb:16856 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#16866 + # pkg:gem/prism#lib/prism/node.rb:16866 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#16861 + # pkg:gem/prism#lib/prism/node.rb:16861 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#16871 + # pkg:gem/prism#lib/prism/node.rb:16871 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16876 + # pkg:gem/prism#lib/prism/node.rb:16876 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#16879 + # pkg:gem/prism#lib/prism/node.rb:16879 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33257,20 +33257,20 @@ class Prism::SourceLineNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16884 + # pkg:gem/prism#lib/prism/node.rb:16884 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16889 + # pkg:gem/prism#lib/prism/node.rb:16889 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#16894 + # pkg:gem/prism#lib/prism/node.rb:16894 def type; end end end @@ -33280,13 +33280,13 @@ end # [*a] # ^^ # -# source://prism//lib/prism/node.rb#16909 +# pkg:gem/prism#lib/prism/node.rb:16909 class Prism::SplatNode < ::Prism::Node # Initialize a new SplatNode node. # # @return [SplatNode] a new instance of SplatNode # - # source://prism//lib/prism/node.rb#16911 + # pkg:gem/prism#lib/prism/node.rb:16911 sig do params( source: Prism::Source, @@ -33302,36 +33302,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#16993 + # pkg:gem/prism#lib/prism/node.rb:16993 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#16921 + # pkg:gem/prism#lib/prism/node.rb:16921 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16926 + # pkg:gem/prism#lib/prism/node.rb:16926 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#16938 + # pkg:gem/prism#lib/prism/node.rb:16938 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#16931 + # pkg:gem/prism#lib/prism/node.rb:16931 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#16943 + # pkg:gem/prism#lib/prism/node.rb:16943 sig do params( node_id: Integer, @@ -33346,19 +33346,19 @@ class Prism::SplatNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#16948 + # pkg:gem/prism#lib/prism/node.rb:16948 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#16951 + # pkg:gem/prism#lib/prism/node.rb:16951 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#16969 + # pkg:gem/prism#lib/prism/node.rb:16969 sig { returns(T.nilable(Prism::Node)) } def expression; end @@ -33367,38 +33367,38 @@ class Prism::SplatNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#16977 + # pkg:gem/prism#lib/prism/node.rb:16977 sig { override.returns(String) } def inspect; end # def operator: () -> String # - # source://prism//lib/prism/node.rb#16972 + # pkg:gem/prism#lib/prism/node.rb:16972 sig { returns(String) } def operator; end # attr_reader operator_loc: Location # - # source://prism//lib/prism/node.rb#16956 + # pkg:gem/prism#lib/prism/node.rb:16956 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#16964 + # pkg:gem/prism#lib/prism/node.rb:16964 def save_operator_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#16982 + # pkg:gem/prism#lib/prism/node.rb:16982 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#16987 + # pkg:gem/prism#lib/prism/node.rb:16987 def type; end end end @@ -33408,13 +33408,13 @@ end # foo; bar; baz # ^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#17004 +# pkg:gem/prism#lib/prism/node.rb:17004 class Prism::StatementsNode < ::Prism::Node # Initialize a new StatementsNode node. # # @return [StatementsNode] a new instance of StatementsNode # - # source://prism//lib/prism/node.rb#17006 + # pkg:gem/prism#lib/prism/node.rb:17006 sig do params( source: Prism::Source, @@ -33429,42 +33429,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#17067 + # pkg:gem/prism#lib/prism/node.rb:17067 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17015 + # pkg:gem/prism#lib/prism/node.rb:17015 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#17048 + # pkg:gem/prism#lib/prism/node.rb:17048 sig { returns(T::Array[Prism::Node]) } def body; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17020 + # pkg:gem/prism#lib/prism/node.rb:17020 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#17030 + # pkg:gem/prism#lib/prism/node.rb:17030 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#17025 + # pkg:gem/prism#lib/prism/node.rb:17025 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#17035 + # pkg:gem/prism#lib/prism/node.rb:17035 sig do params( node_id: Integer, @@ -33478,13 +33478,13 @@ class Prism::StatementsNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17040 + # pkg:gem/prism#lib/prism/node.rb:17040 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#17043 + # pkg:gem/prism#lib/prism/node.rb:17043 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33493,43 +33493,43 @@ class Prism::StatementsNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#17051 + # pkg:gem/prism#lib/prism/node.rb:17051 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#17056 + # pkg:gem/prism#lib/prism/node.rb:17056 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#17061 + # pkg:gem/prism#lib/prism/node.rb:17061 def type; end end end # Flags for string nodes. # -# source://prism//lib/prism/node.rb#18819 +# pkg:gem/prism#lib/prism/node.rb:18819 module Prism::StringFlags; end # internal bytes forced the encoding to binary # -# source://prism//lib/prism/node.rb#18824 +# pkg:gem/prism#lib/prism/node.rb:18824 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#18821 +# pkg:gem/prism#lib/prism/node.rb:18821 Prism::StringFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) -# source://prism//lib/prism/node.rb#18827 +# pkg:gem/prism#lib/prism/node.rb:18827 Prism::StringFlags::FROZEN = T.let(T.unsafe(nil), Integer) -# source://prism//lib/prism/node.rb#18830 +# pkg:gem/prism#lib/prism/node.rb:18830 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. @@ -33543,7 +33543,7 @@ Prism::StringFlags::MUTABLE = T.let(T.unsafe(nil), Integer) # "foo #{bar} baz" # ^^^^ ^^^^ # -# source://prism//lib/prism/node.rb#17084 +# pkg:gem/prism#lib/prism/node.rb:17084 class Prism::StringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -33551,7 +33551,7 @@ class Prism::StringNode < ::Prism::Node # # @return [StringNode] a new instance of StringNode # - # source://prism//lib/prism/node.rb#17086 + # pkg:gem/prism#lib/prism/node.rb:17086 sig do params( source: Prism::Source, @@ -33569,60 +33569,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#17236 + # pkg:gem/prism#lib/prism/node.rb:17236 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17098 + # pkg:gem/prism#lib/prism/node.rb:17098 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17103 + # pkg:gem/prism#lib/prism/node.rb:17103 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#17215 + # pkg:gem/prism#lib/prism/node.rb:17215 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism//lib/prism/node.rb#17183 + # pkg:gem/prism#lib/prism/node.rb:17183 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#17113 + # pkg:gem/prism#lib/prism/node.rb:17113 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#17108 + # pkg:gem/prism#lib/prism/node.rb:17108 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism//lib/prism/node.rb#17210 + # pkg:gem/prism#lib/prism/node.rb:17210 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism//lib/prism/node.rb#17170 + # pkg:gem/prism#lib/prism/node.rb:17170 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#17118 + # pkg:gem/prism#lib/prism/node.rb:17118 sig do params( node_id: Integer, @@ -33639,13 +33639,13 @@ class Prism::StringNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17123 + # pkg:gem/prism#lib/prism/node.rb:17123 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#17126 + # pkg:gem/prism#lib/prism/node.rb:17126 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33656,7 +33656,7 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17136 + # pkg:gem/prism#lib/prism/node.rb:17136 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -33664,7 +33664,7 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17131 + # pkg:gem/prism#lib/prism/node.rb:17131 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -33672,7 +33672,7 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17141 + # pkg:gem/prism#lib/prism/node.rb:17141 sig { returns(T::Boolean) } def frozen?; end @@ -33681,7 +33681,7 @@ class Prism::StringNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#17220 + # pkg:gem/prism#lib/prism/node.rb:17220 sig { override.returns(String) } def inspect; end @@ -33689,63 +33689,63 @@ class Prism::StringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17146 + # pkg:gem/prism#lib/prism/node.rb:17146 sig { returns(T::Boolean) } def mutable?; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#17205 + # pkg:gem/prism#lib/prism/node.rb:17205 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism//lib/prism/node.rb#17151 + # pkg:gem/prism#lib/prism/node.rb:17151 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#17197 + # pkg:gem/prism#lib/prism/node.rb:17197 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#17178 + # pkg:gem/prism#lib/prism/node.rb:17178 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#17165 + # pkg:gem/prism#lib/prism/node.rb:17165 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#75 + # pkg:gem/prism#lib/prism/node_ext.rb:75 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#17225 + # pkg:gem/prism#lib/prism/node.rb:17225 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism//lib/prism/node.rb#17202 + # pkg:gem/prism#lib/prism/node.rb:17202 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#17230 + # pkg:gem/prism#lib/prism/node.rb:17230 def type; end end end @@ -33753,39 +33753,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#7 +# pkg:gem/prism#lib/prism/string_query.rb:7 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#12 + # pkg:gem/prism#lib/prism/string_query.rb:12 def initialize(string); end # Whether or not this string is a valid constant name. # # @return [Boolean] # - # source://prism//lib/prism/string_query.rb#22 + # pkg:gem/prism#lib/prism/string_query.rb:22 def constant?; end # Whether or not this string is a valid local variable name. # # @return [Boolean] # - # source://prism//lib/prism/string_query.rb#17 + # pkg:gem/prism#lib/prism/string_query.rb:17 def local?; end # Whether or not this string is a valid method name. # # @return [Boolean] # - # source://prism//lib/prism/string_query.rb#27 + # pkg:gem/prism#lib/prism/string_query.rb:27 def method_name?; end # The string that this query is wrapping. # - # source://prism//lib/prism/string_query.rb#9 + # pkg:gem/prism#lib/prism/string_query.rb:9 def string; end class << self @@ -33793,21 +33793,21 @@ class Prism::StringQuery # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def constant?(_arg0); end # Mirrors the C extension's StringQuery::local? method. # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def local?(_arg0); end # Mirrors the C extension's StringQuery::method_name? method. # # @return [Boolean] # - # source://prism//lib/prism.rb#105 + # pkg:gem/prism#lib/prism.rb:105 def method_name?(_arg0); end end end @@ -33822,13 +33822,13 @@ end # # If no arguments are provided (except for a block), it would be a `ForwardingSuperNode` instead. # -# source://prism//lib/prism/node.rb#17255 +# pkg:gem/prism#lib/prism/node.rb:17255 class Prism::SuperNode < ::Prism::Node # Initialize a new SuperNode node. # # @return [SuperNode] a new instance of SuperNode # - # source://prism//lib/prism/node.rb#17257 + # pkg:gem/prism#lib/prism/node.rb:17257 sig do params( source: Prism::Source, @@ -33847,48 +33847,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#17394 + # pkg:gem/prism#lib/prism/node.rb:17394 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17270 + # pkg:gem/prism#lib/prism/node.rb:17270 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # Can be only `nil` when there are empty parentheses, like `super()`. # - # source://prism//lib/prism/node.rb#17338 + # pkg:gem/prism#lib/prism/node.rb:17338 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # attr_reader block: BlockNode | BlockArgumentNode | nil # - # source://prism//lib/prism/node.rb#17360 + # pkg:gem/prism#lib/prism/node.rb:17360 sig { returns(T.nilable(T.any(Prism::BlockNode, Prism::BlockArgumentNode))) } def block; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17275 + # pkg:gem/prism#lib/prism/node.rb:17275 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#17288 + # pkg:gem/prism#lib/prism/node.rb:17288 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#17280 + # pkg:gem/prism#lib/prism/node.rb:17280 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#17293 + # pkg:gem/prism#lib/prism/node.rb:17293 sig do params( node_id: Integer, @@ -33906,13 +33906,13 @@ class Prism::SuperNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17298 + # pkg:gem/prism#lib/prism/node.rb:17298 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#17301 + # pkg:gem/prism#lib/prism/node.rb:17301 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -33921,96 +33921,96 @@ class Prism::SuperNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#17378 + # pkg:gem/prism#lib/prism/node.rb:17378 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#17363 + # pkg:gem/prism#lib/prism/node.rb:17363 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#17306 + # pkg:gem/prism#lib/prism/node.rb:17306 sig { returns(Prism::Location) } def keyword_loc; end # def lparen: () -> String? # - # source://prism//lib/prism/node.rb#17368 + # pkg:gem/prism#lib/prism/node.rb:17368 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism//lib/prism/node.rb#17319 + # pkg:gem/prism#lib/prism/node.rb:17319 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def rparen: () -> String? # - # source://prism//lib/prism/node.rb#17373 + # pkg:gem/prism#lib/prism/node.rb:17373 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism//lib/prism/node.rb#17341 + # pkg:gem/prism#lib/prism/node.rb:17341 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#17314 + # pkg:gem/prism#lib/prism/node.rb:17314 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#17333 + # pkg:gem/prism#lib/prism/node.rb:17333 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#17355 + # pkg:gem/prism#lib/prism/node.rb:17355 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#17383 + # pkg:gem/prism#lib/prism/node.rb:17383 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#17388 + # pkg:gem/prism#lib/prism/node.rb:17388 def type; end end end # Flags for symbol nodes. # -# source://prism//lib/prism/node.rb#18834 +# pkg:gem/prism#lib/prism/node.rb:18834 module Prism::SymbolFlags; end # internal bytes forced the encoding to binary # -# source://prism//lib/prism/node.rb#18839 +# pkg:gem/prism#lib/prism/node.rb:18839 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#18842 +# pkg:gem/prism#lib/prism/node.rb:18842 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#18836 +# pkg:gem/prism#lib/prism/node.rb:18836 Prism::SymbolFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # Represents a symbol literal or a symbol contained within a `%i` list. @@ -34021,13 +34021,13 @@ Prism::SymbolFlags::FORCED_UTF8_ENCODING = T.let(T.unsafe(nil), Integer) # %i[foo] # ^^^ # -# source://prism//lib/prism/node.rb#17411 +# pkg:gem/prism#lib/prism/node.rb:17411 class Prism::SymbolNode < ::Prism::Node # Initialize a new SymbolNode node. # # @return [SymbolNode] a new instance of SymbolNode # - # source://prism//lib/prism/node.rb#17413 + # pkg:gem/prism#lib/prism/node.rb:17413 sig do params( source: Prism::Source, @@ -34045,48 +34045,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#17564 + # pkg:gem/prism#lib/prism/node.rb:17564 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17425 + # pkg:gem/prism#lib/prism/node.rb:17425 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17430 + # pkg:gem/prism#lib/prism/node.rb:17430 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#17543 + # pkg:gem/prism#lib/prism/node.rb:17543 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism//lib/prism/node.rb#17511 + # pkg:gem/prism#lib/prism/node.rb:17511 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#17440 + # pkg:gem/prism#lib/prism/node.rb:17440 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#17435 + # pkg:gem/prism#lib/prism/node.rb:17435 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#17445 + # pkg:gem/prism#lib/prism/node.rb:17445 sig do params( node_id: Integer, @@ -34103,13 +34103,13 @@ class Prism::SymbolNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17450 + # pkg:gem/prism#lib/prism/node.rb:17450 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#17453 + # pkg:gem/prism#lib/prism/node.rb:17453 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -34120,7 +34120,7 @@ class Prism::SymbolNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17463 + # pkg:gem/prism#lib/prism/node.rb:17463 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -34128,7 +34128,7 @@ class Prism::SymbolNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17468 + # pkg:gem/prism#lib/prism/node.rb:17468 sig { returns(T::Boolean) } def forced_us_ascii_encoding?; end @@ -34136,133 +34136,133 @@ class Prism::SymbolNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17458 + # pkg:gem/prism#lib/prism/node.rb:17458 sig { returns(T::Boolean) } def forced_utf8_encoding?; end # def inspect -> String # - # source://prism//lib/prism/node.rb#17548 + # pkg:gem/prism#lib/prism/node.rb:17548 sig { override.returns(String) } def inspect; end # def opening: () -> String? # - # source://prism//lib/prism/node.rb#17533 + # pkg:gem/prism#lib/prism/node.rb:17533 sig { returns(T.nilable(String)) } def opening; end # attr_reader opening_loc: Location? # - # source://prism//lib/prism/node.rb#17473 + # pkg:gem/prism#lib/prism/node.rb:17473 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#17525 + # pkg:gem/prism#lib/prism/node.rb:17525 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#17487 + # pkg:gem/prism#lib/prism/node.rb:17487 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#17506 + # pkg:gem/prism#lib/prism/node.rb:17506 def save_value_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#17553 + # pkg:gem/prism#lib/prism/node.rb:17553 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism//lib/prism/node.rb#17530 + # pkg:gem/prism#lib/prism/node.rb:17530 sig { returns(String) } def unescaped; end # def value: () -> String? # - # source://prism//lib/prism/node.rb#17538 + # pkg:gem/prism#lib/prism/node.rb:17538 sig { returns(T.nilable(String)) } def value; end # attr_reader value_loc: Location? # - # source://prism//lib/prism/node.rb#17492 + # pkg:gem/prism#lib/prism/node.rb:17492 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#17558 + # pkg:gem/prism#lib/prism/node.rb:17558 def type; end end end # This represents a token from the Ruby source. # -# source://prism//lib/prism/parse_result.rb#804 +# pkg:gem/prism#lib/prism/parse_result.rb:804 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#816 + # pkg:gem/prism#lib/prism/parse_result.rb:816 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#851 + # pkg:gem/prism#lib/prism/parse_result.rb:851 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#824 + # pkg:gem/prism#lib/prism/parse_result.rb:824 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end # Freeze this object and the objects it contains. # - # source://prism//lib/prism/parse_result.rb#864 + # pkg:gem/prism#lib/prism/parse_result.rb:864 def deep_freeze; end # Returns a string representation of this token. # - # source://prism//lib/prism/parse_result.rb#858 + # pkg:gem/prism#lib/prism/parse_result.rb:858 def inspect; end # A Location object representing the location of this token in the source. # - # source://prism//lib/prism/parse_result.rb#829 + # pkg:gem/prism#lib/prism/parse_result.rb:829 sig { returns(Prism::Location) } def location; end # Implement the pretty print interface for Token. # - # source://prism//lib/prism/parse_result.rb#836 + # pkg:gem/prism#lib/prism/parse_result.rb:836 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#810 + # pkg:gem/prism#lib/prism/parse_result.rb:810 sig { returns(Symbol) } def type; end # A byteslice of the source that this token represents. # - # source://prism//lib/prism/parse_result.rb#813 + # pkg:gem/prism#lib/prism/parse_result.rb:813 sig { returns(String) } def value; end @@ -34270,7 +34270,7 @@ class Prism::Token # The Source object that represents the source this token came from. # - # source://prism//lib/prism/parse_result.rb#806 + # pkg:gem/prism#lib/prism/parse_result.rb:806 sig { returns(Prism::Source) } def source; end end @@ -34278,7 +34278,7 @@ end # This module is responsible for converting the prism syntax tree into other # syntax trees. # -# source://prism//lib/prism/translation.rb#7 +# pkg:gem/prism#lib/prism/translation.rb:7 module Prism::Translation; end # This class is the entry-point for converting a prism syntax tree into the @@ -34293,7 +34293,7 @@ module Prism::Translation; end # version of Ruby syntax as the currently running version of Ruby, use # `Prism::Translation::ParserCurrent`. # -# source://prism//lib/prism/translation/parser.rb#29 +# pkg:gem/prism#lib/prism/translation/parser.rb:29 class Prism::Translation::Parser < ::Parser::Base # The `builder` argument is used to create the parser using our custom builder class by default. # @@ -34322,53 +34322,53 @@ class Prism::Translation::Parser < ::Parser::Base # # @return [Parser] a new instance of Parser # - # source://prism//lib/prism/translation/parser.rb#74 + # pkg:gem/prism#lib/prism/translation/parser.rb:74 def initialize(builder = T.unsafe(nil), parser: T.unsafe(nil)); end # The default encoding for Ruby files is UTF-8. # - # source://prism//lib/prism/translation/parser.rb#91 + # pkg:gem/prism#lib/prism/translation/parser.rb:91 def default_encoding; end # Parses a source buffer and returns the AST. # - # source://prism//lib/prism/translation/parser.rb#99 + # pkg:gem/prism#lib/prism/translation/parser.rb:99 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#112 + # pkg:gem/prism#lib/prism/translation/parser.rb:112 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#129 + # pkg:gem/prism#lib/prism/translation/parser.rb:129 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#155 + # pkg:gem/prism#lib/prism/translation/parser.rb:155 def try_declare_numparam(node); end - # source://prism//lib/prism/translation/parser.rb#86 + # pkg:gem/prism#lib/prism/translation/parser.rb:86 sig { overridable.returns(Integer) } def version; end - # source://prism//lib/prism/translation/parser.rb#95 + # pkg:gem/prism#lib/prism/translation/parser.rb:95 def yyerror; end private # Build the parser gem AST from the prism AST. # - # source://prism//lib/prism/translation/parser.rb#313 + # pkg:gem/prism#lib/prism/translation/parser.rb:313 def build_ast(program, offset_cache); end # Build the parser gem comments from the prism comments. # - # source://prism//lib/prism/translation/parser.rb#318 + # pkg:gem/prism#lib/prism/translation/parser.rb:318 def build_comments(comments, offset_cache); end # Prism deals with offsets in bytes, while the parser gem deals with @@ -34379,38 +34379,38 @@ 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#296 + # pkg:gem/prism#lib/prism/translation/parser.rb:296 def build_offset_cache(source); end # Build a range from a prism location. # - # source://prism//lib/prism/translation/parser.rb#330 + # pkg:gem/prism#lib/prism/translation/parser.rb:330 def build_range(location, offset_cache); end # Build the parser gem tokens from the prism tokens. # - # source://prism//lib/prism/translation/parser.rb#325 + # pkg:gem/prism#lib/prism/translation/parser.rb:325 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#353 + # pkg:gem/prism#lib/prism/translation/parser.rb:353 def convert_for_prism(version); end # Build a diagnostic from the given prism parse error. # - # source://prism//lib/prism/translation/parser.rb#174 + # pkg:gem/prism#lib/prism/translation/parser.rb:174 def error_diagnostic(error, offset_cache); end # Options for how prism should parse/lex the source. # - # source://prism//lib/prism/translation/parser.rb#339 + # pkg:gem/prism#lib/prism/translation/parser.rb:339 def prism_options; 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#274 + # pkg:gem/prism#lib/prism/translation/parser.rb:274 def unwrap(result, offset_cache); end # This is a hook to allow consumers to disable some errors if they don't @@ -34418,7 +34418,7 @@ class Prism::Translation::Parser < ::Parser::Base # # @return [Boolean] # - # source://prism//lib/prism/translation/parser.rb#163 + # pkg:gem/prism#lib/prism/translation/parser.rb:163 def valid_error?(error); end # This is a hook to allow consumers to disable some warnings if they don't @@ -34426,57 +34426,57 @@ class Prism::Translation::Parser < ::Parser::Base # # @return [Boolean] # - # source://prism//lib/prism/translation/parser.rb#169 + # pkg:gem/prism#lib/prism/translation/parser.rb:169 def valid_warning?(warning); end # Build a diagnostic from the given prism parse warning. # - # source://prism//lib/prism/translation/parser.rb#247 + # pkg:gem/prism#lib/prism/translation/parser.rb:247 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#7 +# pkg:gem/prism#lib/prism/translation/parser33.rb:7 class Prism::Translation::Parser33 < ::Prism::Translation::Parser - # source://prism//lib/prism/translation/parser33.rb#8 + # pkg:gem/prism#lib/prism/translation/parser33.rb:8 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#7 +# pkg:gem/prism#lib/prism/translation/parser34.rb:7 class Prism::Translation::Parser34 < ::Prism::Translation::Parser - # source://prism//lib/prism/translation/parser34.rb#8 + # pkg:gem/prism#lib/prism/translation/parser34.rb:8 sig { override.returns(Integer) } def version; end end -# source://prism//lib/prism/translation/parser35.rb#6 +# pkg:gem/prism#lib/prism/translation/parser35.rb:6 Prism::Translation::Parser35 = Prism::Translation::Parser40 # This class is the entry-point for Ruby 4.0 of `Prism::Translation::Parser`. # -# source://prism//lib/prism/translation/parser40.rb#7 +# pkg:gem/prism#lib/prism/translation/parser40.rb:7 class Prism::Translation::Parser40 < ::Prism::Translation::Parser - # source://prism//lib/prism/translation/parser40.rb#8 + # pkg:gem/prism#lib/prism/translation/parser40.rb:8 sig { override.returns(Integer) } def version; end end # This class is the entry-point for Ruby 4.1 of `Prism::Translation::Parser`. # -# source://prism//lib/prism/translation/parser41.rb#7 +# pkg:gem/prism#lib/prism/translation/parser41.rb:7 class Prism::Translation::Parser41 < ::Prism::Translation::Parser - # source://prism//lib/prism/translation/parser41.rb#8 + # pkg:gem/prism#lib/prism/translation/parser41.rb:8 def version; end end # A builder that knows how to convert more modern Ruby syntax # into whitequark/parser gem's syntax tree. # -# source://prism//lib/prism/translation/parser/builder.rb#9 +# pkg:gem/prism#lib/prism/translation/parser/builder.rb:9 class Prism::Translation::Parser::Builder < ::Parser::Builders::Default # The following three lines have been added to support the `it` block parameter syntax in the source code below. # @@ -34486,112 +34486,112 @@ class Prism::Translation::Parser::Builder < ::Parser::Builders::Default # # https://github.com/whitequark/parser/blob/v3.3.7.1/lib/parser/builders/default.rb#L1122-L1155 # - # source://prism//lib/prism/translation/parser/builder.rb#22 + # pkg:gem/prism#lib/prism/translation/parser/builder.rb:22 def block(method_call, begin_t, args, body, end_t); end # It represents the `it` block argument, which is not yet implemented in the Parser gem. # - # source://prism//lib/prism/translation/parser/builder.rb#11 + # pkg:gem/prism#lib/prism/translation/parser/builder.rb:11 def itarg; end 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#9 +# pkg:gem/prism#lib/prism/translation/parser/compiler.rb:9 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#40 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:40 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#19 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:19 def builder; end # The types of values that can be forwarded in the current scope. # - # source://prism//lib/prism/translation/parser/compiler.rb#30 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:30 def forwarding; end # Whether or not the current node is in a destructure. # - # source://prism//lib/prism/translation/parser/compiler.rb#33 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:33 def in_destructure; end # Whether or not the current node is in a pattern. # - # source://prism//lib/prism/translation/parser/compiler.rb#36 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:36 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#27 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:27 def offset_cache; end # The Parser::Base instance that is being used to build the AST. # - # source://prism//lib/prism/translation/parser/compiler.rb#15 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:15 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#23 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:23 def source_buffer; end # alias $foo $bar # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#59 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:59 def visit_alias_global_variable_node(node); end # alias foo bar # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#53 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:53 def visit_alias_method_node(node); end # foo => bar | baz # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#65 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:65 def visit_alternation_pattern_node(node); end # a and b # ^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#71 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:71 def visit_and_node(node); end # foo(bar) # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#128 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:128 def visit_arguments_node(node); end # [] # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#77 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:77 def visit_array_node(node); end # foo => [bar] # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#105 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:105 def visit_array_pattern_node(node); end # { a: 1 } # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#134 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:134 def visit_assoc_node(node); end # def foo(**); bar(**); end @@ -34600,49 +34600,49 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # { **foo } # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#182 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:182 def visit_assoc_splat_node(node); end # $+ # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#194 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:194 def visit_back_reference_read_node(node); end # begin end # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#200 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:200 def visit_begin_node(node); end # foo(&bar) # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#245 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:245 def visit_block_argument_node(node); end # foo { |; bar| } # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#251 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:251 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#256 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:256 def visit_block_node(node); end # def foo(&bar); end # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#262 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:262 def visit_block_parameter_node(node); end # A block's parameters. # - # source://prism//lib/prism/translation/parser/compiler.rb#267 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:267 def visit_block_parameters_node(node); end # break @@ -34651,13 +34651,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # break foo # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#276 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:276 def visit_break_node(node); end # foo.bar &&= baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#381 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:381 def visit_call_and_write_node(node); end # foo @@ -34669,133 +34669,133 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # foo.bar() {} # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#288 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:288 def visit_call_node(node); end # foo.bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#362 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:362 def visit_call_operator_write_node(node); end # foo.bar ||= baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#400 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:400 def visit_call_or_write_node(node); end # foo.bar, = 1 # ^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#419 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:419 def visit_call_target_node(node); end # foo => bar => baz # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#431 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:431 def visit_capture_pattern_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#450 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:450 def visit_case_match_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#437 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:437 def visit_case_node(node); end # class Foo; end # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#463 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:463 def visit_class_node(node); end # @@foo &&= bar # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#502 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:502 def visit_class_variable_and_write_node(node); end # @@foo += bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#492 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:492 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#512 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:512 def visit_class_variable_or_write_node(node); end # @@foo # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#476 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:476 def visit_class_variable_read_node(node); end # @@foo, = bar # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#522 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:522 def visit_class_variable_target_node(node); end # @@foo = 1 # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#482 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:482 def visit_class_variable_write_node(node); end # Foo &&= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#553 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:553 def visit_constant_and_write_node(node); end # Foo += bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#543 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:543 def visit_constant_operator_write_node(node); end # Foo ||= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#563 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:563 def visit_constant_or_write_node(node); end # Foo::Bar &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#619 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:619 def visit_constant_path_and_write_node(node); end # Foo::Bar # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#579 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:579 def visit_constant_path_node(node); end # Foo::Bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#609 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:609 def visit_constant_path_operator_write_node(node); end # Foo::Bar ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#629 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:629 def visit_constant_path_or_write_node(node); end # Foo::Bar, = baz # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#639 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:639 def visit_constant_path_target_node(node); end # Foo::Bar = 1 @@ -34804,19 +34804,19 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # Foo::Foo, Bar::Bar = 1 # ^^^^^^^^ ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#599 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:599 def visit_constant_path_write_node(node); end # Foo # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#528 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:528 def visit_constant_read_node(node); end # Foo, = bar # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#573 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:573 def visit_constant_target_node(node); end # Foo = 1 @@ -34825,7 +34825,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # Foo, Bar = 1 # ^^^ ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#537 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:537 def visit_constant_write_node(node); end # def foo; end @@ -34834,7 +34834,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def self.foo; end # ^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#648 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:648 def visit_def_node(node); end # defined? a @@ -34843,25 +34843,25 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # defined?(a) # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#695 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:695 def visit_defined_node(node); end # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#731 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:731 def visit_else_node(node); end # "foo #{bar}" # ^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#737 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:737 def visit_embedded_statements_node(node); end # "foo #@bar" # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#747 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:747 def visit_embedded_variable_node(node); end # begin; foo; ensure; bar; end @@ -34869,19 +34869,19 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism//lib/prism/translation/parser/compiler.rb#753 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:753 def visit_ensure_node(node); end # false # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#759 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:759 def visit_false_node(node); end # foo => [*, bar, *] # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#765 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:765 def visit_find_pattern_node(node); end # 0..5 @@ -34889,31 +34889,31 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if foo .. bar; end # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1541 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1541 def visit_flip_flop_node(node); end # 1.0 # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#777 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:777 def visit_float_node(node); end # for foo in bar do end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#783 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:783 def visit_for_node(node); end # def foo(...); bar(...); end # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#801 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:801 def visit_forwarding_arguments_node(node); end # def foo(...); end # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#807 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:807 def visit_forwarding_parameter_node(node); end # super @@ -34922,55 +34922,55 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # super {} # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#816 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:816 def visit_forwarding_super_node(node); end # $foo &&= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#854 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:854 def visit_global_variable_and_write_node(node); end # $foo += bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#844 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:844 def visit_global_variable_operator_write_node(node); end # $foo ||= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#864 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:864 def visit_global_variable_or_write_node(node); end # $foo # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#828 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:828 def visit_global_variable_read_node(node); end # $foo, = bar # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#874 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:874 def visit_global_variable_target_node(node); end # $foo = 1 # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#834 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:834 def visit_global_variable_write_node(node); end # {} # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#880 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:880 def visit_hash_node(node); end # foo => {} # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#890 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:890 def visit_hash_pattern_node(node); end # if foo then bar end @@ -34982,13 +34982,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # foo ? bar : baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#908 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:908 def visit_if_node(node); end # 1i # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#950 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:950 def visit_imaginary_node(node); end # { foo: } @@ -34996,7 +34996,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism//lib/prism/translation/parser/compiler.rb#956 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:956 def visit_implicit_node(node); end # foo { |bar,| } @@ -35004,74 +35004,74 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism//lib/prism/translation/parser/compiler.rb#962 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:962 def visit_implicit_rest_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#968 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:968 def visit_in_node(node); end # foo[bar] &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1016 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1016 def visit_index_and_write_node(node); end # foo[bar] += baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#998 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:998 def visit_index_operator_write_node(node); end # foo[bar] ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1034 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1034 def visit_index_or_write_node(node); end # foo[bar], = 1 # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1052 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1052 def visit_index_target_node(node); end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1089 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1089 def visit_instance_variable_and_write_node(node); end # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1079 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1079 def visit_instance_variable_operator_write_node(node); end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1099 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1099 def visit_instance_variable_or_write_node(node); end # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1063 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1063 def visit_instance_variable_read_node(node); end # @foo, = bar # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1109 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1109 def visit_instance_variable_target_node(node); end # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1069 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1069 def visit_instance_variable_write_node(node); end # 1 # ^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1115 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1115 def visit_integer_node(node); end # /foo #{bar}/ @@ -35079,49 +35079,49 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if /foo #{bar}/ then end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1132 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1132 def visit_interpolated_match_last_line_node(node); end # /foo #{bar}/ # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1121 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1121 def visit_interpolated_regular_expression_node(node); end # "foo #{bar}" # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1136 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1136 def visit_interpolated_string_node(node); end # :"foo #{bar}" # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1150 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1150 def visit_interpolated_symbol_node(node); end # `foo #{bar}` # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1160 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1160 def visit_interpolated_x_string_node(node); end # -> { it } # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1174 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1174 def visit_it_local_variable_read_node(node); end # -> { it } # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1180 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1180 def visit_it_parameters_node(node); end # foo(bar: baz) # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1196 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1196 def visit_keyword_hash_node(node); end # def foo(**bar); end @@ -35130,49 +35130,49 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def foo(**); end # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1205 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1205 def visit_keyword_rest_parameter_node(node); end # -> {} # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1214 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1214 def visit_lambda_node(node); end # foo &&= bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1266 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1266 def visit_local_variable_and_write_node(node); end # foo += bar # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1256 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1256 def visit_local_variable_operator_write_node(node); end # foo ||= bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1276 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1276 def visit_local_variable_or_write_node(node); end # foo # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1240 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1240 def visit_local_variable_read_node(node); end # foo, = bar # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1286 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1286 def visit_local_variable_target_node(node); end # foo = 1 # ^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1246 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1246 def visit_local_variable_write_node(node); end # /foo/ @@ -35180,50 +35180,50 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # if /foo/ then end # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1577 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1577 def visit_match_last_line_node(node); end # foo in bar # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1296 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1296 def visit_match_predicate_node(node); end # foo => bar # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1306 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1306 def visit_match_required_node(node); end # /(?foo)/ =~ bar # ^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1316 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1316 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#1327 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1327 def visit_missing_node(node); end # module Foo; end # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1333 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1333 def visit_module_node(node); end # foo, bar = baz # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1344 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1344 def visit_multi_target_node(node); end # foo, bar = baz # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1354 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1354 def visit_multi_write_node(node); end # next @@ -35232,55 +35232,55 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # next foo # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1377 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1377 def visit_next_node(node); end # nil # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1389 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1389 def visit_nil_node(node); end # def foo(**nil); end # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1395 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1395 def visit_no_keywords_parameter_node(node); end # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1405 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1405 def visit_numbered_parameters_node(node); end # $1 # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1411 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1411 def visit_numbered_reference_read_node(node); end # def foo(bar: baz); end # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1417 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1417 def visit_optional_keyword_parameter_node(node); end # def foo(bar = 1); end # ^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1423 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1423 def visit_optional_parameter_node(node); end # a or b # ^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1429 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1429 def visit_or_node(node); end # def foo(bar, *baz); end # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1435 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1435 def visit_parameters_node(node); end # () @@ -35289,76 +35289,76 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # (1) # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1474 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1474 def visit_parentheses_node(node); end # foo => ^(bar) # ^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1484 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1484 def visit_pinned_expression_node(node); end # foo = 1 and bar => ^foo # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1492 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1492 def visit_pinned_variable_node(node); end # END {} # - # source://prism//lib/prism/translation/parser/compiler.rb#1497 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1497 def visit_post_execution_node(node); end # BEGIN {} # - # source://prism//lib/prism/translation/parser/compiler.rb#1507 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1507 def visit_pre_execution_node(node); end # The top-level program node. # - # source://prism//lib/prism/translation/parser/compiler.rb#1517 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1517 def visit_program_node(node); end # 0..5 # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1523 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1523 def visit_range_node(node); end # 1r # ^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1545 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1545 def visit_rational_node(node); end # redo # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1551 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1551 def visit_redo_node(node); end # /foo/ # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1557 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1557 def visit_regular_expression_node(node); end # def foo(bar:); end # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1581 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1581 def visit_required_keyword_parameter_node(node); end # def foo(bar); end # ^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1587 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1587 def visit_required_parameter_node(node); end # foo rescue bar # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1593 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1593 def visit_rescue_modifier_node(node); end # begin; rescue; end @@ -35366,7 +35366,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @raise [CompilationError] # - # source://prism//lib/prism/translation/parser/compiler.rb#1611 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1611 def visit_rescue_node(node); end # def foo(*bar); end @@ -35375,13 +35375,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def foo(*); end # ^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1620 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1620 def visit_rest_parameter_node(node); end # retry # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1626 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1626 def visit_retry_node(node); end # return @@ -35390,42 +35390,42 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # return 1 # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1635 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1635 def visit_return_node(node); end # self # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1647 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1647 def visit_self_node(node); end # A shareable constant. # - # source://prism//lib/prism/translation/parser/compiler.rb#1652 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1652 def visit_shareable_constant_node(node); end # class << self; end # ^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1658 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1658 def visit_singleton_class_node(node); end # __ENCODING__ # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1670 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1670 def visit_source_encoding_node(node); end # __FILE__ # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1676 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1676 def visit_source_file_node(node); end # __LINE__ # ^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1682 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1682 def visit_source_line_node(node); end # foo(*bar) @@ -35437,42 +35437,42 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # def foo(*); bar(*); end # ^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1694 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1694 def visit_splat_node(node); end # A list of statements. # - # source://prism//lib/prism/translation/parser/compiler.rb#1707 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1707 def visit_statements_node(node); end # "foo" # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1713 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1713 def visit_string_node(node); end # super(foo) # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1738 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1738 def visit_super_node(node); end # :foo # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1761 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1761 def visit_symbol_node(node); end # true # ^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1788 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1788 def visit_true_node(node); end # undef foo # ^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1794 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1794 def visit_undef_node(node); end # unless foo; bar end @@ -35481,7 +35481,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # bar unless foo # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1803 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1803 def visit_unless_node(node); end # until foo; bar end @@ -35490,13 +35490,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # bar until foo # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1833 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1833 def visit_until_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1859 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1859 def visit_when_node(node); end # while foo; bar end @@ -35505,13 +35505,13 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # bar while foo # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1877 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1877 def visit_while_node(node); end # `foo` # ^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1903 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1903 def visit_x_string_node(node); end # yield @@ -35520,7 +35520,7 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # yield 1 # ^^^^^^^ # - # source://prism//lib/prism/translation/parser/compiler.rb#1929 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1929 def visit_yield_node(node); end private @@ -35528,19 +35528,19 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # 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#1943 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1943 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#1950 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1950 def find_forwarding(node); end # Returns the set of targets for a MultiTargetNode or a MultiWriteNode. # - # source://prism//lib/prism/translation/parser/compiler.rb#1963 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1963 def multi_target_elements(node); end # Negate the value of a numeric node. This is a special case where you @@ -35549,7 +35549,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#1975 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1975 def numeric_negate(message_loc, receiver); end # Blocks can have a special set of parameters that automatically expand @@ -35558,17 +35558,17 @@ class Prism::Translation::Parser::Compiler < ::Prism::Compiler # # @return [Boolean] # - # source://prism//lib/prism/translation/parser/compiler.rb#1989 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:1989 def procarg0?(parameters); end # Constructs a new source range from the given start and end offsets. # - # source://prism//lib/prism/translation/parser/compiler.rb#2006 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2006 def srange(location); end # Constructs a new source range from the given start and end offsets. # - # source://prism//lib/prism/translation/parser/compiler.rb#2011 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2011 def srange_offsets(start_offset, end_offset); end # Constructs a new source range by finding a semicolon between the given @@ -35578,94 +35578,94 @@ 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#2021 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2021 def srange_semicolon(start_offset, end_offset); end # When the content of a string node is split across multiple lines, the # parser gem creates individual string nodes for each line the content is part of. # - # source://prism//lib/prism/translation/parser/compiler.rb#2138 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2138 def string_nodes_from_interpolation(node, opening); end # Create parser string nodes from a single prism node. The parser gem # "glues" strings together when a line continuation is encountered. # - # source://prism//lib/prism/translation/parser/compiler.rb#2150 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2150 def string_nodes_from_line_continuations(unescaped, escaped, start_offset, opening); end # Transform a location into a token that the parser gem expects. # - # source://prism//lib/prism/translation/parser/compiler.rb#2029 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2029 def token(location); end # Visit a block node on a call. # - # source://prism//lib/prism/translation/parser/compiler.rb#2034 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2034 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#2069 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2069 def visit_heredoc(node); end # Visit a numeric node and account for the optional sign. # - # source://prism//lib/prism/translation/parser/compiler.rb#2115 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2115 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#2127 + # pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2127 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#11 +# pkg:gem/prism#lib/prism/translation/parser/compiler.rb:11 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#2003 +# pkg:gem/prism#lib/prism/translation/parser/compiler.rb:2003 Prism::Translation::Parser::Compiler::Range = Parser::Source::Range -# source://prism//lib/prism/translation/parser.rb#30 +# pkg:gem/prism#lib/prism/translation/parser.rb:30 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#13 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:13 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#231 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:231 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#224 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:224 def lexed; end # A hash that maps offsets in bytes to offsets in characters. # - # source://prism//lib/prism/translation/parser/lexer.rb#227 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:227 def offset_cache; end # The Parser::Source::Buffer that the tokens were lexed from. # - # source://prism//lib/prism/translation/parser/lexer.rb#220 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:220 def source_buffer; end # Convert the prism tokens into the expected format for the parser gem. # - # source://prism//lib/prism/translation/parser/lexer.rb#241 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:241 def to_a; end private @@ -35673,111 +35673,111 @@ class Prism::Translation::Parser::Lexer # Wonky heredoc tab/spaces rules. # https://github.com/ruby/prism/blob/v1.3.0/src/prism.c#L10548-L10558 # - # source://prism//lib/prism/translation/parser/lexer.rb#593 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:593 def calculate_heredoc_whitespace(heredoc_token_index); end # Escape a byte value, given the control and meta flags. # - # source://prism//lib/prism/translation/parser/lexer.rb#735 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:735 def escape_build(value, control, meta); end # Read an escape out of the string scanner, given the control and meta # flags, and push the unescaped value into the result. # - # source://prism//lib/prism/translation/parser/lexer.rb#743 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:743 def escape_read(result, scanner, control, meta); end # Determine if characters preceeded by a backslash should be escaped or not # # @return [Boolean] # - # source://prism//lib/prism/translation/parser/lexer.rb#804 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:804 def interpolation?(quote); end # Parse a complex from the string representation. # - # source://prism//lib/prism/translation/parser/lexer.rb#564 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:564 def parse_complex(value); end # Parse a float from the string representation. # - # source://prism//lib/prism/translation/parser/lexer.rb#557 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:557 def parse_float(value); end # Parse an integer from the string representation. # - # source://prism//lib/prism/translation/parser/lexer.rb#550 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:550 def parse_integer(value); end # Parse a rational from the string representation. # - # source://prism//lib/prism/translation/parser/lexer.rb#579 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:579 def parse_rational(value); end # Determine if the string is part of a %-style array. # # @return [Boolean] # - # source://prism//lib/prism/translation/parser/lexer.rb#814 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:814 def percent_array?(quote); end # For %-arrays whitespace, the parser gem only considers whitespace before the newline. # - # source://prism//lib/prism/translation/parser/lexer.rb#792 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:792 def percent_array_leading_whitespace(string); end # In a percent array, certain whitespace can be preceeded with a backslash, # causing the following characters to be part of the previous element. # - # source://prism//lib/prism/translation/parser/lexer.rb#784 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:784 def percent_array_unescape(string); end # Creates a new parser range, taking prisms byte offsets into account # - # source://prism//lib/prism/translation/parser/lexer.rb#545 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:545 def range(start_offset, end_offset); end # Regexp allow interpolation but are handled differently during unescaping # # @return [Boolean] # - # source://prism//lib/prism/translation/parser/lexer.rb#809 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:809 def regexp?(quote); end # Certain strings are merged into a single string token. # # @return [Boolean] # - # source://prism//lib/prism/translation/parser/lexer.rb#718 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:718 def simplify_string?(value, quote); end # Wonky heredoc tab/spaces rules. # https://github.com/ruby/prism/blob/v1.3.0/src/prism.c#L16528-L16545 # - # source://prism//lib/prism/translation/parser/lexer.rb#640 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:640 def trim_heredoc_whitespace(string, heredoc); end # Apply Ruby string escaping rules # - # source://prism//lib/prism/translation/parser/lexer.rb#675 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:675 def unescape_string(string, quote); end end # Types of tokens that are allowed to continue a method call with comments in-between. # For these, the parser gem doesn't emit a newline token after the last comment. # -# source://prism//lib/prism/translation/parser/lexer.rb#211 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:211 Prism::Translation::Parser::Lexer::COMMENT_CONTINUATION_TYPES = T.let(T.unsafe(nil), Set) # When one of these delimiters is encountered, then the other # one is allowed to be escaped as well. # -# source://prism//lib/prism/translation/parser/lexer.rb#666 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:666 Prism::Translation::Parser::Lexer::DELIMITER_SYMETRY = T.let(T.unsafe(nil), Hash) # Escape sequences that have special and should appear unescaped in the resulting string. # -# source://prism//lib/prism/translation/parser/lexer.rb#657 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:657 Prism::Translation::Parser::Lexer::ESCAPES = T.let(T.unsafe(nil), Hash) # These constants represent flags in our lex state. We really, really @@ -35788,21 +35788,21 @@ Prism::Translation::Parser::Lexer::ESCAPES = T.let(T.unsafe(nil), Hash) # meantime we'll hide them from the documentation and mark them as # private constants. # -# source://prism//lib/prism/translation/parser/lexer.rb#193 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:193 Prism::Translation::Parser::Lexer::EXPR_BEG = T.let(T.unsafe(nil), Integer) -# source://prism//lib/prism/translation/parser/lexer.rb#194 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:194 Prism::Translation::Parser::Lexer::EXPR_LABEL = T.let(T.unsafe(nil), Integer) # Heredocs are complex and require us to keep track of a bit of info to refer to later # -# source://prism//lib/prism/translation/parser/lexer.rb#215 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 class Prism::Translation::Parser::Lexer::HeredocData < ::Struct # Returns the value of attribute common_whitespace # # @return [Object] the current value of common_whitespace # - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def common_whitespace; end # Sets the attribute common_whitespace @@ -35810,14 +35810,14 @@ class Prism::Translation::Parser::Lexer::HeredocData < ::Struct # @param value [Object] the value to set the attribute common_whitespace to. # @return [Object] the newly set value # - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def common_whitespace=(_); end # Returns the value of attribute identifier # # @return [Object] the current value of identifier # - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def identifier; end # Sets the attribute identifier @@ -35825,23 +35825,23 @@ class Prism::Translation::Parser::Lexer::HeredocData < ::Struct # @param value [Object] the value to set the attribute identifier to. # @return [Object] the newly set value # - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def identifier=(_); end class << self - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def [](*_arg0); end - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def inspect; end - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def keyword_init?; end - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def members; end - # source://prism//lib/prism/translation/parser/lexer.rb#215 + # pkg:gem/prism#lib/prism/translation/parser/lexer.rb:215 def new(*_arg0); end end end @@ -35851,56 +35851,56 @@ end # 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#200 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:200 Prism::Translation::Parser::Lexer::LAMBDA_TOKEN_TYPES = T.let(T.unsafe(nil), Set) # 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#204 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:204 Prism::Translation::Parser::Lexer::LPAREN_CONVERSION_TOKEN_TYPES = T.let(T.unsafe(nil), Set) # https://github.com/whitequark/parser/blob/v3.3.6.0/lib/parser/lexer-strings.rl#L14 # -# source://prism//lib/prism/translation/parser/lexer.rb#671 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:671 Prism::Translation::Parser::Lexer::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Array) -# source://prism//lib/prism/translation/parser/lexer.rb#237 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:237 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#19 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:19 Prism::Translation::Parser::Lexer::TYPES = T.let(T.unsafe(nil), Hash) # These tokens are always skipped # -# source://prism//lib/prism/translation/parser/lexer.rb#15 +# pkg:gem/prism#lib/prism/translation/parser/lexer.rb:15 Prism::Translation::Parser::Lexer::TYPES_ALWAYS_SKIP = T.let(T.unsafe(nil), Set) # 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#36 +# pkg:gem/prism#lib/prism/translation/parser.rb:36 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#41 + # pkg:gem/prism#lib/prism/translation/parser.rb:41 def initialize(message, level, reason, location); end # This is the cached message coming from prism. # - # source://prism//lib/prism/translation/parser.rb#38 + # pkg:gem/prism#lib/prism/translation/parser.rb:38 def message; end end -# source://prism//lib/prism/translation/parser.rb#47 +# pkg:gem/prism#lib/prism/translation/parser.rb:47 Prism::Translation::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) -# source://prism//lib/prism/translation/parser_current.rb#14 +# pkg:gem/prism#lib/prism/translation/parser_current.rb:14 Prism::Translation::ParserCurrent = Prism::Translation::Parser40 # This class provides a compatibility layer between prism and Ripper. It @@ -35939,95 +35939,95 @@ Prism::Translation::ParserCurrent = Prism::Translation::Parser40 # - on_tstring_beg # - on_tstring_end # -# source://prism//lib/prism/translation/ripper.rb#44 +# pkg:gem/prism#lib/prism/translation/ripper.rb:44 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#445 + # pkg:gem/prism#lib/prism/translation/ripper.rb:445 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#442 + # pkg:gem/prism#lib/prism/translation/ripper.rb:442 def column; end # True if the parser encountered an error during parsing. # # @return [Boolean] # - # source://prism//lib/prism/translation/ripper.rb#458 + # pkg:gem/prism#lib/prism/translation/ripper.rb:458 sig { returns(T::Boolean) } def error?; end # The filename of the source being parsed. # - # source://prism//lib/prism/translation/ripper.rb#436 + # pkg:gem/prism#lib/prism/translation/ripper.rb:436 def filename; end # The current line number of the parser. # - # source://prism//lib/prism/translation/ripper.rb#439 + # pkg:gem/prism#lib/prism/translation/ripper.rb:439 def lineno; end # Parse the source and return the result. # - # source://prism//lib/prism/translation/ripper.rb#463 + # pkg:gem/prism#lib/prism/translation/ripper.rb:463 sig { returns(T.untyped) } def parse; end # The source that is being parsed. # - # source://prism//lib/prism/translation/ripper.rb#433 + # pkg:gem/prism#lib/prism/translation/ripper.rb:433 def source; end # alias $foo $bar # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#562 + # pkg:gem/prism#lib/prism/translation/ripper.rb:562 def visit_alias_global_variable_node(node); end # alias foo bar # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#552 + # pkg:gem/prism#lib/prism/translation/ripper.rb:552 def visit_alias_method_node(node); end # foo => bar | baz # ^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#586 + # pkg:gem/prism#lib/prism/translation/ripper.rb:586 def visit_alternation_pattern_node(node); end # a and b # ^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#606 + # pkg:gem/prism#lib/prism/translation/ripper.rb:606 def visit_and_node(node); end # foo(bar) # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#797 + # pkg:gem/prism#lib/prism/translation/ripper.rb:797 def visit_arguments_node(node); end # [] # ^^ # - # source://prism//lib/prism/translation/ripper.rb#616 + # pkg:gem/prism#lib/prism/translation/ripper.rb:616 def visit_array_node(node); end # foo => [bar] # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#776 + # pkg:gem/prism#lib/prism/translation/ripper.rb:776 def visit_array_pattern_node(node); end # { a: 1 } # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#804 + # pkg:gem/prism#lib/prism/translation/ripper.rb:804 def visit_assoc_node(node); end # def foo(**); bar(**); end @@ -36036,47 +36036,47 @@ class Prism::Translation::Ripper < ::Prism::Compiler # { **foo } # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#817 + # pkg:gem/prism#lib/prism/translation/ripper.rb:817 def visit_assoc_splat_node(node); end # $+ # ^^ # - # source://prism//lib/prism/translation/ripper.rb#826 + # pkg:gem/prism#lib/prism/translation/ripper.rb:826 def visit_back_reference_read_node(node); end # begin end # ^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#833 + # pkg:gem/prism#lib/prism/translation/ripper.rb:833 def visit_begin_node(node); end # foo(&bar) # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#897 + # pkg:gem/prism#lib/prism/translation/ripper.rb:897 def visit_block_argument_node(node); end # foo { |; bar| } # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#903 + # pkg:gem/prism#lib/prism/translation/ripper.rb:903 def visit_block_local_variable_node(node); end # Visit a BlockNode. # - # source://prism//lib/prism/translation/ripper.rb#909 + # pkg:gem/prism#lib/prism/translation/ripper.rb:909 def visit_block_node(node); end # def foo(&bar); end # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#945 + # pkg:gem/prism#lib/prism/translation/ripper.rb:945 def visit_block_parameter_node(node); end # A block's parameters. # - # source://prism//lib/prism/translation/ripper.rb#959 + # pkg:gem/prism#lib/prism/translation/ripper.rb:959 def visit_block_parameters_node(node); end # break @@ -36085,13 +36085,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # break foo # ^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#983 + # pkg:gem/prism#lib/prism/translation/ripper.rb:983 def visit_break_node(node); end # foo.bar &&= baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1205 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1205 def visit_call_and_write_node(node); end # foo @@ -36103,79 +36103,79 @@ class Prism::Translation::Ripper < ::Prism::Compiler # foo.bar() {} # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1003 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1003 def visit_call_node(node); end # foo.bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1183 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1183 def visit_call_operator_write_node(node); end # foo.bar ||= baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1227 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1227 def visit_call_or_write_node(node); end # foo.bar, = 1 # ^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1249 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1249 def visit_call_target_node(node); end # foo => bar => baz # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1274 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1274 def visit_capture_pattern_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1297 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1297 def visit_case_match_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1284 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1284 def visit_case_node(node); end # class Foo; end # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1310 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1310 def visit_class_node(node); end # @@foo &&= bar # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1363 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1363 def visit_class_variable_and_write_node(node); end # @@foo += bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1349 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1349 def visit_class_variable_operator_write_node(node); end # @@foo ||= bar # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1377 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1377 def visit_class_variable_or_write_node(node); end # @@foo # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1328 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1328 def visit_class_variable_read_node(node); end # @@foo, = bar # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1391 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1391 def visit_class_variable_target_node(node); end # @@foo = 1 @@ -36184,55 +36184,55 @@ class Prism::Translation::Ripper < ::Prism::Compiler # @@foo, @@bar = 1 # ^^^^^ ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1338 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1338 def visit_class_variable_write_node(node); end # Foo &&= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1433 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1433 def visit_constant_and_write_node(node); end # Foo += bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1419 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1419 def visit_constant_operator_write_node(node); end # Foo ||= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1447 def visit_constant_or_write_node(node); end # Foo::Bar &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1534 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1534 def visit_constant_path_and_write_node(node); end # Foo::Bar # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1468 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1468 def visit_constant_path_node(node); end # Foo::Bar += baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1520 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1520 def visit_constant_path_operator_write_node(node); end # Foo::Bar ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1548 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1548 def visit_constant_path_or_write_node(node); end # Foo::Bar, = baz # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1562 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1562 def visit_constant_path_target_node(node); end # Foo::Bar = 1 @@ -36241,19 +36241,19 @@ class Prism::Translation::Ripper < ::Prism::Compiler # Foo::Foo, Bar::Bar = 1 # ^^^^^^^^ ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1491 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1491 def visit_constant_path_write_node(node); end # Foo # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#1398 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1398 def visit_constant_read_node(node); end # Foo, = bar # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#1461 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1461 def visit_constant_target_node(node); end # Foo = 1 @@ -36262,7 +36262,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # Foo, Bar = 1 # ^^^ ^^^ # - # source://prism//lib/prism/translation/ripper.rb#1408 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1408 def visit_constant_write_node(node); end # def foo; end @@ -36271,7 +36271,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def self.foo; end # ^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1571 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1571 def visit_def_node(node); end # defined? a @@ -36280,72 +36280,72 @@ class Prism::Translation::Ripper < ::Prism::Compiler # defined?(a) # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1618 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1618 def visit_defined_node(node); end # if foo then bar else baz end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1640 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1640 def visit_else_node(node); end # "foo #{bar}" # ^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1656 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1656 def visit_embedded_statements_node(node); end # "foo #@bar" # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1677 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1677 def visit_embedded_variable_node(node); end # Visit an EnsureNode node. # - # source://prism//lib/prism/translation/ripper.rb#1688 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1688 def visit_ensure_node(node); end # false # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1706 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1706 def visit_false_node(node); end # foo => [*, bar, *] # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1713 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1713 def visit_find_pattern_node(node); end # if foo .. bar; end # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1738 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1738 def visit_flip_flop_node(node); end # 1.0 # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#1752 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1752 def visit_float_node(node); end # for foo in bar do end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1758 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1758 def visit_for_node(node); end # def foo(...); bar(...); end # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#1775 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1775 def visit_forwarding_arguments_node(node); end # def foo(...); end # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#1782 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1782 def visit_forwarding_parameter_node(node); end # super @@ -36354,37 +36354,37 @@ class Prism::Translation::Ripper < ::Prism::Compiler # super {} # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1792 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1792 def visit_forwarding_super_node(node); end # $foo &&= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1841 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1841 def visit_global_variable_and_write_node(node); end # $foo += bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1827 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1827 def visit_global_variable_operator_write_node(node); end # $foo ||= bar # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1855 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1855 def visit_global_variable_or_write_node(node); end # $foo # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1806 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1806 def visit_global_variable_read_node(node); end # $foo, = bar # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1869 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1869 def visit_global_variable_target_node(node); end # $foo = 1 @@ -36393,19 +36393,19 @@ class Prism::Translation::Ripper < ::Prism::Compiler # $foo, $bar = 1 # ^^^^ ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1816 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1816 def visit_global_variable_write_node(node); end # {} # ^^ # - # source://prism//lib/prism/translation/ripper.rb#1876 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1876 def visit_hash_node(node); end # foo => {} # ^^ # - # source://prism//lib/prism/translation/ripper.rb#1891 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1891 def visit_hash_pattern_node(node); end # if foo then bar end @@ -36417,140 +36417,140 @@ class Prism::Translation::Ripper < ::Prism::Compiler # foo ? bar : baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1933 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1933 def visit_if_node(node); end # 1i # ^^ # - # source://prism//lib/prism/translation/ripper.rb#1969 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1969 def visit_imaginary_node(node); end # { foo: } # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1975 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1975 def visit_implicit_node(node); end # foo { |bar,| } # ^ # - # source://prism//lib/prism/translation/ripper.rb#1980 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1980 def visit_implicit_rest_node(node); end # case foo; in bar; end # ^^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#1987 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1987 def visit_in_node(node); end # foo[bar] &&= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2022 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2022 def visit_index_and_write_node(node); end # foo[bar] += baz # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2005 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2005 def visit_index_operator_write_node(node); end # foo[bar] ||= baz # ^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2039 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2039 def visit_index_or_write_node(node); end # foo[bar], = 1 # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2056 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2056 def visit_index_target_node(node); end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2098 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2098 def visit_instance_variable_and_write_node(node); end # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2084 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2084 def visit_instance_variable_operator_write_node(node); end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2112 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2112 def visit_instance_variable_or_write_node(node); end # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2066 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2066 def visit_instance_variable_read_node(node); end # @foo, = bar # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2126 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2126 def visit_instance_variable_target_node(node); end # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2073 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2073 def visit_instance_variable_write_node(node); end # 1 # ^ # - # source://prism//lib/prism/translation/ripper.rb#2133 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2133 def visit_integer_node(node); end # if /foo #{bar}/ then end # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2139 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2139 def visit_interpolated_match_last_line_node(node); end # /foo #{bar}/ # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2158 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2158 def visit_interpolated_regular_expression_node(node); end # "foo #{bar}" # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2177 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2177 def visit_interpolated_string_node(node); end # :"foo #{bar}" # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2205 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2205 def visit_interpolated_symbol_node(node); end # `foo #{bar}` # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2218 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2218 def visit_interpolated_x_string_node(node); end # -> { it } # ^^ # - # source://prism//lib/prism/translation/ripper.rb#2248 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2248 def visit_it_local_variable_read_node(node); end # -> { it } # ^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2255 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2255 def visit_it_parameters_node(node); end # foo(bar: baz) # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2260 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2260 def visit_keyword_hash_node(node); end # def foo(**bar); end @@ -36559,96 +36559,96 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def foo(**); end # ^^ # - # source://prism//lib/prism/translation/ripper.rb#2272 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2272 def visit_keyword_rest_parameter_node(node); end # -> {} # - # source://prism//lib/prism/translation/ripper.rb#2286 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2286 def visit_lambda_node(node); end # foo &&= bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2378 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2378 def visit_local_variable_and_write_node(node); end # foo += bar # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2364 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2364 def visit_local_variable_operator_write_node(node); end # foo ||= bar # ^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2392 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2392 def visit_local_variable_or_write_node(node); end # foo # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#2346 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2346 def visit_local_variable_read_node(node); end # foo, = bar # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#2406 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2406 def visit_local_variable_target_node(node); end # foo = 1 # ^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2353 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2353 def visit_local_variable_write_node(node); end # if /foo/ then end # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2413 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2413 def visit_match_last_line_node(node); end # foo in bar # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2428 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2428 def visit_match_predicate_node(node); end # foo => bar # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2437 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2437 def visit_match_required_node(node); end # /(?foo)/ =~ bar # ^^^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2446 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2446 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#2452 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2452 def visit_missing_node(node); end # module Foo; end # ^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2458 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2458 def visit_module_node(node); end # (foo, bar), bar = qux # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2475 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2475 def visit_multi_target_node(node); end # foo, bar = baz # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2529 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2529 def visit_multi_write_node(node); end # next @@ -36657,55 +36657,55 @@ class Prism::Translation::Ripper < ::Prism::Compiler # next foo # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2549 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2549 def visit_next_node(node); end # nil # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#2563 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2563 def visit_nil_node(node); end # def foo(**nil); end # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2570 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2570 def visit_no_keywords_parameter_node(node); end # -> { _1 + _2 } # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2579 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2579 def visit_numbered_parameters_node(node); end # $1 # ^^ # - # source://prism//lib/prism/translation/ripper.rb#2584 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2584 def visit_numbered_reference_read_node(node); end # def foo(bar: baz); end # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2591 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2591 def visit_optional_keyword_parameter_node(node); end # def foo(bar = 1); end # ^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2601 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2601 def visit_optional_parameter_node(node); end # a or b # ^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2611 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2611 def visit_or_node(node); end # def foo(bar, *baz); end # ^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2621 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2621 def visit_parameters_node(node); end # () @@ -36714,84 +36714,84 @@ class Prism::Translation::Ripper < ::Prism::Compiler # (1) # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#2648 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2648 def visit_parentheses_node(node); end # foo => ^(bar) # ^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2662 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2662 def visit_pinned_expression_node(node); end # foo = 1 and bar => ^foo # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2671 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2671 def visit_pinned_variable_node(node); end # END {} # ^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2677 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2677 def visit_post_execution_node(node); end # BEGIN {} # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2692 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2692 def visit_pre_execution_node(node); end # The top-level program node. # - # source://prism//lib/prism/translation/ripper.rb#2706 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2706 def visit_program_node(node); end # 0..5 # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2717 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2717 def visit_range_node(node); end # 1r # ^^ # - # source://prism//lib/prism/translation/ripper.rb#2731 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2731 def visit_rational_node(node); end # redo # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2737 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2737 def visit_redo_node(node); end # /foo/ # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2744 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2744 def visit_regular_expression_node(node); end # def foo(bar:); end # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2766 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2766 def visit_required_keyword_parameter_node(node); end # def foo(bar); end # ^^^ # - # source://prism//lib/prism/translation/ripper.rb#2773 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2773 def visit_required_parameter_node(node); end # foo rescue bar # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2780 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2780 def visit_rescue_modifier_node(node); end # begin; rescue; end # ^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2790 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2790 def visit_rescue_node(node); end # def foo(*bar); end @@ -36800,13 +36800,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def foo(*); end # ^ # - # source://prism//lib/prism/translation/ripper.rb#2848 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2848 def visit_rest_parameter_node(node); end # retry # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2860 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2860 def visit_retry_node(node); end # return @@ -36815,42 +36815,42 @@ class Prism::Translation::Ripper < ::Prism::Compiler # return 1 # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2870 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2870 def visit_return_node(node); end # self # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2884 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2884 def visit_self_node(node); end # A shareable constant. # - # source://prism//lib/prism/translation/ripper.rb#2890 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2890 def visit_shareable_constant_node(node); end # class << self; end # ^^^^^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2896 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2896 def visit_singleton_class_node(node); end # __ENCODING__ # ^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2906 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2906 def visit_source_encoding_node(node); end # __FILE__ # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2913 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2913 def visit_source_file_node(node); end # __LINE__ # ^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2920 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2920 def visit_source_line_node(node); end # foo(*bar) @@ -36862,42 +36862,42 @@ class Prism::Translation::Ripper < ::Prism::Compiler # def foo(*); bar(*); end # ^ # - # source://prism//lib/prism/translation/ripper.rb#2933 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2933 def visit_splat_node(node); end # A list of statements. # - # source://prism//lib/prism/translation/ripper.rb#2938 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2938 def visit_statements_node(node); end # "foo" # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#2955 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2955 def visit_string_node(node); end # super(foo) # ^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3087 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3087 def visit_super_node(node); end # :foo # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3108 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3108 def visit_symbol_node(node); end # true # ^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3132 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3132 def visit_true_node(node); end # undef foo # ^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3139 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3139 def visit_undef_node(node); end # unless foo; bar end @@ -36906,7 +36906,7 @@ class Prism::Translation::Ripper < ::Prism::Compiler # bar unless foo # ^^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3151 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3151 def visit_unless_node(node); end # until foo; bar end @@ -36915,13 +36915,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # bar until foo # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3179 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3179 def visit_until_node(node); end # case foo; when bar; end # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3203 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3203 def visit_when_node(node); end # while foo; bar end @@ -36930,13 +36930,13 @@ class Prism::Translation::Ripper < ::Prism::Compiler # bar while foo # ^^^^^^^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3224 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3224 def visit_while_node(node); end # `foo` # ^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3248 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3248 def visit_x_string_node(node); end # yield @@ -36945,32 +36945,32 @@ class Prism::Translation::Ripper < ::Prism::Compiler # yield 1 # ^^^^^^^ # - # source://prism//lib/prism/translation/ripper.rb#3271 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3271 def visit_yield_node(node); end private # :stopdoc: # - # source://prism//lib/prism/translation/ripper.rb#3411 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3411 def _dispatch_0; end - # source://prism//lib/prism/translation/ripper.rb#3412 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3412 def _dispatch_1(_); end - # source://prism//lib/prism/translation/ripper.rb#3413 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3413 def _dispatch_2(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3414 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3414 def _dispatch_3(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3415 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3415 def _dispatch_4(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3416 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3416 def _dispatch_5(_, _, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3417 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3417 def _dispatch_7(_, _, _, _, _, _, _); end # This method is responsible for updating lineno and column information @@ -36979,19 +36979,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#3401 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3401 def bounds(location); end # Returns true if the given node is a command node. # # @return [Boolean] # - # source://prism//lib/prism/translation/ripper.rb#1174 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1174 def command?(node); end # This method is called when the parser found syntax error. # - # source://prism//lib/prism/translation/ripper.rb#3439 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3439 def compile_error(msg); end # This method is provided by the Ripper C extension. It is called when a @@ -36999,631 +36999,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#3454 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3454 def dedent_string(string, width); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_BEGIN(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_CHAR(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_END(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on___end__(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_alias(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_alias_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_aref(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_aref_field(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_arg_ambiguous(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_arg_paren(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_args_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_args_add_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_args_add_star(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_args_forward; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_args_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_array(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_aryptn(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_assign(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_assign_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_assoc_new(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_assoc_splat(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_assoclist_from_args(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_backref(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_backtick(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_bare_assoc_hash(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_begin(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_binary(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_block_var(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_blockarg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_bodystmt(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_brace_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_break(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_call(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_case(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_class(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_class_name_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_comma(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_command(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_command_call(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_comment(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_const(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_const_path_field(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_const_path_ref(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_const_ref(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_cvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_def(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_defined(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_defs(_, _, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_do_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_dot2(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_dot3(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_dyna_symbol(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_else(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_elsif(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_embdoc(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_embdoc_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_embdoc_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_embexpr_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_embexpr_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_embvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_ensure(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_excessed_comma; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_fcall(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_field(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_float(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_fndptn(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_for(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_gvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_hash(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_heredoc_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_heredoc_dedent(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_heredoc_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_hshptn(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_ident(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_if(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_if_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_ifop(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_ignored_nl(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_ignored_sp(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_imaginary(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_in(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_int(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_ivar(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_kw(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_kwrest_param(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_label(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_label_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_lambda(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_lbrace(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_lbracket(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_lparen(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_magic_comment(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_massign(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_method_add_arg(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_method_add_block(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mlhs_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mlhs_add_post(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mlhs_add_star(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mlhs_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mlhs_paren(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_module(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mrhs_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mrhs_add_star(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mrhs_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_mrhs_new_from_args(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_next(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_nl(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_nokw_param(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_op(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_opassign(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_operator_ambiguous(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_param_error(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_params(_, _, _, _, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_paren(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_parse_error(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_period(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_program(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_qsymbols_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_qsymbols_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_qsymbols_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_qwords_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_qwords_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_qwords_new; end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_rational(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_rbrace(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_rbracket(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_redo; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_regexp_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_regexp_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_regexp_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_regexp_literal(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_regexp_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_rescue(_, _, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_rescue_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_rest_param(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_retry; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_return(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_return0; end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_rparen(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_sclass(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_semicolon(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_sp(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_stmts_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_stmts_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_string_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_string_concat(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_string_content; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_string_dvar(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_string_embexpr(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_string_literal(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_super(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_symbeg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_symbol(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_symbol_literal(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_symbols_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_symbols_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_symbols_new; end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_tlambda(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_tlambeg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_top_const_field(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_top_const_ref(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_tstring_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_tstring_content(_); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_tstring_end(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_unary(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_undef(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_unless(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_unless_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_until(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_until_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_var_alias(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_var_field(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_var_ref(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_vcall(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_void_stmt; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_when(_, _, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_while(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_while_mod(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_word_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_word_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_words_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_words_beg(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_words_new; end - # source://prism//lib/prism/translation/ripper.rb#3447 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3447 def on_words_sep(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_xstring_add(_, _); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_xstring_literal(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_xstring_new; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_yield(_); end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_yield0; end - # source://prism//lib/prism/translation/ripper.rb#3425 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3425 def on_zsuper; end # Lazily initialize the parse result. # - # source://prism//lib/prism/translation/ripper.rb#3297 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3297 def result; end # Returns true if there is a comma between the two locations. # # @return [Boolean] # - # source://prism//lib/prism/translation/ripper.rb#3306 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3306 def trailing_comma?(left, right); end # Visit one side of an alias global variable node. # - # source://prism//lib/prism/translation/ripper.rb#571 + # pkg:gem/prism#lib/prism/translation/ripper.rb:571 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#757 + # pkg:gem/prism#lib/prism/translation/ripper.rb:757 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#841 + # pkg:gem/prism#lib/prism/translation/ripper.rb:841 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#876 + # pkg:gem/prism#lib/prism/translation/ripper.rb:876 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#1147 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1147 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#1500 + # pkg:gem/prism#lib/prism/translation/ripper.rb:1500 def visit_constant_path_write_node_target(node); end # Visit a destructured positional parameter node. # - # source://prism//lib/prism/translation/ripper.rb#2635 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2635 def visit_destructured_parameter_node(node); end # Visit a string that is expressed using a <<~ heredoc. # - # source://prism//lib/prism/translation/ripper.rb#3006 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3006 def visit_heredoc_node(parts, base); end # Ripper gives back the escaped string content but strips out the common @@ -37632,34 +37632,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#2981 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2981 def visit_heredoc_node_whitespace(parts); end # Visit a heredoc node that is representing a string. # - # source://prism//lib/prism/translation/ripper.rb#3052 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3052 def visit_heredoc_string_node(node); end # Visit a heredoc node that is representing an xstring. # - # source://prism//lib/prism/translation/ripper.rb#3069 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3069 def visit_heredoc_x_string_node(node); end # Visit the targets of a multi-target node. # - # source://prism//lib/prism/translation/ripper.rb#2488 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2488 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#3345 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3345 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#596 + # pkg:gem/prism#lib/prism/translation/ripper.rb:596 def visit_pattern_node(node); end # Visit the list of statements of a statements node. We support nil @@ -37667,49 +37667,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#2947 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2947 def visit_statements_node_body(body); end # Visit an individual part of a string-like node. # - # source://prism//lib/prism/translation/ripper.rb#2237 + # pkg:gem/prism#lib/prism/translation/ripper.rb:2237 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#3318 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3318 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#746 + # pkg:gem/prism#lib/prism/translation/ripper.rb:746 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#3363 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3363 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#3311 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3311 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#3430 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3430 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#3435 + # pkg:gem/prism#lib/prism/translation/ripper.rb:3435 def warning(fmt, *args); end class << self @@ -37735,13 +37735,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#73 + # pkg:gem/prism#lib/prism/translation/ripper.rb:73 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#47 + # pkg:gem/prism#lib/prism/translation/ripper.rb:47 def parse(src, filename = T.unsafe(nil), lineno = T.unsafe(nil)); end # Parses +src+ and create S-exp tree. @@ -37762,7 +37762,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#382 + # pkg:gem/prism#lib/prism/translation/ripper.rb:382 def sexp(src, filename = T.unsafe(nil), lineno = T.unsafe(nil), raise_errors: T.unsafe(nil)); end # Parses +src+ and create S-exp tree. @@ -37788,637 +37788,637 @@ class Prism::Translation::Ripper < ::Prism::Compiler # nil, # nil]]]] # - # source://prism//lib/prism/translation/ripper.rb#417 + # pkg:gem/prism#lib/prism/translation/ripper.rb:417 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#338 +# pkg:gem/prism#lib/prism/translation/ripper.rb:338 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#290 +# pkg:gem/prism#lib/prism/translation/ripper.rb:290 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#293 +# pkg:gem/prism#lib/prism/translation/ripper.rb:293 Prism::Translation::Ripper::KEYWORDS = T.let(T.unsafe(nil), Array) # This array contains name of parser events. # -# source://prism//lib/prism/translation/ripper.rb#284 +# pkg:gem/prism#lib/prism/translation/ripper.rb:284 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#85 +# pkg:gem/prism#lib/prism/translation/ripper.rb:85 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#287 +# pkg:gem/prism#lib/prism/translation/ripper.rb:287 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#228 +# pkg:gem/prism#lib/prism/translation/ripper.rb:228 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#11 +# pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:11 class Prism::Translation::Ripper::SexpBuilder < ::Prism::Translation::Ripper # :stopdoc: # - # source://prism//lib/prism/translation/ripper/sexp.rb#14 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:14 def error; end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_BEGIN(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_CHAR(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_END(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on___end__(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_alias(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_alias_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_aref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_aref_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_arg_ambiguous(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_arg_paren(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_args_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_args_add_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_args_add_star(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_args_forward(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_args_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_array(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_aryptn(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_assign(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_assign_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_assoc_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_assoc_splat(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_assoclist_from_args(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_backref(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_backtick(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_bare_assoc_hash(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_begin(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_binary(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_block_var(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_blockarg(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_bodystmt(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_brace_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_break(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_call(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_case(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_class(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_class_name_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_comma(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_command(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_command_call(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_comment(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_const(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_const_path_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_const_path_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_const_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_cvar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_def(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_defined(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_defs(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_do_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_dot2(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_dot3(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_dyna_symbol(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_else(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_elsif(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_embdoc(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_embdoc_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_embdoc_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_embexpr_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_embexpr_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_embvar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_ensure(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_excessed_comma(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_fcall(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_float(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_fndptn(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_for(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_gvar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_hash(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_heredoc_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_heredoc_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_hshptn(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_ident(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_if(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_if_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_ifop(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_ignored_nl(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_ignored_sp(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_imaginary(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_in(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_int(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_ivar(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_kw(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_kwrest_param(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_label(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_label_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_lambda(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_lbrace(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_lbracket(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_lparen(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_magic_comment(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_massign(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_method_add_arg(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_method_add_block(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mlhs_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mlhs_add_post(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mlhs_add_star(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mlhs_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mlhs_paren(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_module(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mrhs_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mrhs_add_star(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mrhs_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_mrhs_new_from_args(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_next(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_nl(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_nokw_param(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_op(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_opassign(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_operator_ambiguous(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_param_error(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_params(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_paren(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_period(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_program(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_qsymbols_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_qsymbols_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_qsymbols_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_qwords_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_qwords_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_qwords_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_rational(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_rbrace(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_rbracket(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_redo(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_regexp_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_regexp_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_regexp_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_regexp_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_regexp_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_rescue(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_rescue_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_rest_param(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_retry(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_return(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_return0(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_rparen(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_sclass(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_semicolon(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_sp(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_stmts_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_stmts_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_string_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_string_concat(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_string_content(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_string_dvar(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_string_embexpr(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_string_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_super(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_symbeg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_symbol(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_symbol_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_symbols_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_symbols_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_symbols_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_tlambda(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_tlambeg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_top_const_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_top_const_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_tstring_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_tstring_content(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_tstring_end(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_unary(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_undef(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_unless(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_unless_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_until(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_until_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_var_alias(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_var_field(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_var_ref(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_vcall(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_void_stmt(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_when(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_while(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_while_mod(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_word_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_word_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_words_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_words_beg(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_words_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#55 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:55 def on_words_sep(tok); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_xstring_add(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_xstring_literal(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_xstring_new(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_yield(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_yield0(*args); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_zsuper(*args); end private - # source://prism//lib/prism/translation/ripper/sexp.rb#67 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:67 def compile_error(mesg); end - # source://prism//lib/prism/translation/ripper/sexp.rb#18 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:18 def dedent_element(e, width); end - # source://prism//lib/prism/translation/ripper/sexp.rb#62 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:62 def on_error(mesg); end - # source://prism//lib/prism/translation/ripper/sexp.rb#25 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:25 def on_heredoc_dedent(val, width); end - # source://prism//lib/prism/translation/ripper/sexp.rb#47 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:47 def on_parse_error(mesg); end end @@ -38426,113 +38426,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#75 +# pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:75 class Prism::Translation::Ripper::SexpBuilderPP < ::Prism::Translation::Ripper::SexpBuilder private - # source://prism//lib/prism/translation/ripper/sexp.rb#93 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:93 def _dispatch_event_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#97 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:97 def _dispatch_event_push(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_args_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_args_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#80 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:80 def on_heredoc_dedent(val, width); end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_mlhs_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#110 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:110 def on_mlhs_add_post(list, post); end - # source://prism//lib/prism/translation/ripper/sexp.rb#106 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:106 def on_mlhs_add_star(list, star); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_mlhs_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#102 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:102 def on_mlhs_paren(list); end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_mrhs_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_mrhs_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_qsymbols_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_qsymbols_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_qwords_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_qwords_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_regexp_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_regexp_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_stmts_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_stmts_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_string_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_symbols_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_symbols_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_word_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_word_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_words_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 def on_words_new; end - # source://prism//lib/prism/translation/ripper/sexp.rb#118 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:118 def on_xstring_add(list, item); end - # source://prism//lib/prism/translation/ripper/sexp.rb#116 + # pkg:gem/prism#lib/prism/translation/ripper/sexp.rb:116 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#20 +# pkg:gem/prism#lib/prism/translation/ruby_parser.rb:20 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#1917 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1917 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#1923 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1923 def parse_file(filepath); end # Parse the give file and translate it into the @@ -38540,7 +38540,7 @@ class Prism::Translation::RubyParser # provided for API compatibility to RubyParser and takes an # optional +timeout+ argument. # - # source://prism//lib/prism/translation/ruby_parser.rb#1931 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1931 def process(ruby, file = T.unsafe(nil), timeout = T.unsafe(nil)); end private @@ -38548,52 +38548,52 @@ 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#1953 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1953 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#1938 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1938 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#1944 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1944 def parse_file(filepath); end end end # A prism visitor that builds Sexp objects. # -# source://prism//lib/prism/translation/ruby_parser.rb#22 +# pkg:gem/prism#lib/prism/translation/ruby_parser.rb:22 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#37 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:37 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#26 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:26 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#30 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:30 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#34 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:34 def in_pattern; end # ``` @@ -38601,7 +38601,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#55 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:55 def visit_alias_global_variable_node(node); end # ``` @@ -38609,7 +38609,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#47 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:47 def visit_alias_method_node(node); end # ``` @@ -38617,7 +38617,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#63 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:63 def visit_alternation_pattern_node(node); end # ``` @@ -38625,7 +38625,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#71 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:71 def visit_and_node(node); end # ``` @@ -38633,7 +38633,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#128 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:128 def visit_arguments_node(node); end # ``` @@ -38641,7 +38641,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#91 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:91 def visit_array_node(node); end # ``` @@ -38649,7 +38649,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#103 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:103 def visit_array_pattern_node(node); end # ``` @@ -38657,7 +38657,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#136 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:136 def visit_assoc_node(node); end # ``` @@ -38668,7 +38668,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#147 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:147 def visit_assoc_splat_node(node); end # ``` @@ -38676,7 +38676,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#159 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:159 def visit_back_reference_read_node(node); end # ``` @@ -38684,7 +38684,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#167 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:167 def visit_begin_node(node); end # ``` @@ -38692,7 +38692,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#202 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:202 def visit_block_argument_node(node); end # ``` @@ -38700,12 +38700,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#212 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:212 def visit_block_local_variable_node(node); end # A block on a keyword or method call. # - # source://prism//lib/prism/translation/ruby_parser.rb#217 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:217 def visit_block_node(node); end # ``` @@ -38713,12 +38713,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#225 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:225 def visit_block_parameter_node(node); end # A block's parameters. # - # source://prism//lib/prism/translation/ruby_parser.rb#230 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:230 def visit_block_parameters_node(node); end # ``` @@ -38729,7 +38729,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#272 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:272 def visit_break_node(node); end # ``` @@ -38737,7 +38737,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#346 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:346 def visit_call_and_write_node(node); end # ``` @@ -38751,7 +38751,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#292 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:292 def visit_call_node(node); end # ``` @@ -38759,7 +38759,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#334 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:334 def visit_call_operator_write_node(node); end # ``` @@ -38767,7 +38767,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#358 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:358 def visit_call_or_write_node(node); end # ``` @@ -38775,7 +38775,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#383 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:383 def visit_call_target_node(node); end # ``` @@ -38783,7 +38783,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#391 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:391 def visit_capture_pattern_node(node); end # ``` @@ -38791,7 +38791,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#407 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:407 def visit_case_match_node(node); end # ``` @@ -38799,7 +38799,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#399 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:399 def visit_case_node(node); end # ``` @@ -38807,7 +38807,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#415 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:415 def visit_class_node(node); end # ``` @@ -38815,7 +38815,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#468 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:468 def visit_class_variable_and_write_node(node); end # ``` @@ -38823,7 +38823,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#460 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:460 def visit_class_variable_operator_write_node(node); end # ``` @@ -38831,7 +38831,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#476 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:476 def visit_class_variable_or_write_node(node); end # ``` @@ -38839,7 +38839,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#441 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:441 def visit_class_variable_read_node(node); end # ``` @@ -38847,7 +38847,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#484 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:484 def visit_class_variable_target_node(node); end # ``` @@ -38858,7 +38858,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#452 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:452 def visit_class_variable_write_node(node); end # ``` @@ -38866,7 +38866,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#525 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:525 def visit_constant_and_write_node(node); end # ``` @@ -38874,7 +38874,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#517 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:517 def visit_constant_operator_write_node(node); end # ``` @@ -38882,7 +38882,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#533 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:533 def visit_constant_or_write_node(node); end # ``` @@ -38890,7 +38890,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#580 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:580 def visit_constant_path_and_write_node(node); end # ``` @@ -38898,7 +38898,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#549 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:549 def visit_constant_path_node(node); end # ``` @@ -38906,7 +38906,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#572 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:572 def visit_constant_path_operator_write_node(node); end # ``` @@ -38914,7 +38914,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#588 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:588 def visit_constant_path_or_write_node(node); end # ``` @@ -38922,7 +38922,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#596 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:596 def visit_constant_path_target_node(node); end # ``` @@ -38933,7 +38933,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#564 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:564 def visit_constant_path_write_node(node); end # ``` @@ -38941,7 +38941,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#498 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:498 def visit_constant_read_node(node); end # ``` @@ -38949,7 +38949,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#541 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:541 def visit_constant_target_node(node); end # ``` @@ -38960,7 +38960,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#509 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:509 def visit_constant_write_node(node); end # ``` @@ -38971,7 +38971,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#614 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:614 def visit_def_node(node); end # ``` @@ -38982,7 +38982,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#649 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:649 def visit_defined_node(node); end # ``` @@ -38990,7 +38990,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#657 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:657 def visit_else_node(node); end # ``` @@ -38998,7 +38998,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#665 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:665 def visit_embedded_statements_node(node); end # ``` @@ -39006,7 +39006,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#675 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:675 def visit_embedded_variable_node(node); end # ``` @@ -39014,7 +39014,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#683 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:683 def visit_ensure_node(node); end # ``` @@ -39022,7 +39022,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#691 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:691 def visit_false_node(node); end # ``` @@ -39030,7 +39030,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#699 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:699 def visit_find_pattern_node(node); end # ``` @@ -39038,7 +39038,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#707 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:707 def visit_flip_flop_node(node); end # ``` @@ -39046,7 +39046,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#719 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:719 def visit_float_node(node); end # ``` @@ -39054,7 +39054,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#727 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:727 def visit_for_node(node); end # ``` @@ -39062,7 +39062,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#735 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:735 def visit_forwarding_arguments_node(node); end # ``` @@ -39070,7 +39070,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#743 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:743 def visit_forwarding_parameter_node(node); end # ``` @@ -39081,7 +39081,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#754 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:754 def visit_forwarding_super_node(node); end # ``` @@ -39089,7 +39089,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#789 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:789 def visit_global_variable_and_write_node(node); end # ``` @@ -39097,7 +39097,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#781 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:781 def visit_global_variable_operator_write_node(node); end # ``` @@ -39105,7 +39105,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#797 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:797 def visit_global_variable_or_write_node(node); end # ``` @@ -39113,7 +39113,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#762 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:762 def visit_global_variable_read_node(node); end # ``` @@ -39121,7 +39121,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#805 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:805 def visit_global_variable_target_node(node); end # ``` @@ -39132,7 +39132,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#773 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:773 def visit_global_variable_write_node(node); end # ``` @@ -39140,7 +39140,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#813 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:813 def visit_hash_node(node); end # ``` @@ -39148,7 +39148,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#821 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:821 def visit_hash_pattern_node(node); end # ``` @@ -39162,12 +39162,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#844 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:844 def visit_if_node(node); end # 1i # - # source://prism//lib/prism/translation/ruby_parser.rb#849 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:849 def visit_imaginary_node(node); end # ``` @@ -39175,7 +39175,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#857 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:857 def visit_implicit_node(node); end # ``` @@ -39183,7 +39183,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#864 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:864 def visit_implicit_rest_node(node); end # ``` @@ -39191,7 +39191,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#871 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:871 def visit_in_node(node); end # ``` @@ -39199,7 +39199,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#901 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:901 def visit_index_and_write_node(node); end # ``` @@ -39207,7 +39207,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#886 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:886 def visit_index_operator_write_node(node); end # ``` @@ -39215,7 +39215,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#916 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:916 def visit_index_or_write_node(node); end # ``` @@ -39223,35 +39223,35 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#931 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:931 def visit_index_target_node(node); end # ``` # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#969 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:969 def visit_instance_variable_and_write_node(node); end # ``` # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#961 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:961 def visit_instance_variable_operator_write_node(node); end # ``` # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#977 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:977 def visit_instance_variable_or_write_node(node); end # ``` # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#942 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:942 def visit_instance_variable_read_node(node); end # ``` @@ -39259,7 +39259,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#985 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:985 def visit_instance_variable_target_node(node); end # ``` @@ -39269,7 +39269,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#953 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:953 def visit_instance_variable_write_node(node); end # ``` @@ -39277,7 +39277,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#993 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:993 def visit_integer_node(node); end # ``` @@ -39285,7 +39285,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1001 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1001 def visit_interpolated_match_last_line_node(node); end # ``` @@ -39293,7 +39293,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1020 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1020 def visit_interpolated_regular_expression_node(node); end # ``` @@ -39301,7 +39301,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1037 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1037 def visit_interpolated_string_node(node); end # ``` @@ -39309,7 +39309,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1046 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1046 def visit_interpolated_symbol_node(node); end # ``` @@ -39317,7 +39317,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1055 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1055 def visit_interpolated_x_string_node(node); end # ``` @@ -39325,7 +39325,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1138 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1138 def visit_it_local_variable_read_node(node); end # ``` @@ -39333,7 +39333,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1146 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1146 def visit_keyword_hash_node(node); end # ``` @@ -39344,12 +39344,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1157 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1157 def visit_keyword_rest_parameter_node(node); end # -> {} # - # source://prism//lib/prism/translation/ruby_parser.rb#1162 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1162 def visit_lambda_node(node); end # ``` @@ -39357,7 +39357,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1213 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1213 def visit_local_variable_and_write_node(node); end # ``` @@ -39365,7 +39365,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1205 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1205 def visit_local_variable_operator_write_node(node); end # ``` @@ -39373,7 +39373,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1221 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1221 def visit_local_variable_or_write_node(node); end # ``` @@ -39381,7 +39381,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1182 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1182 def visit_local_variable_read_node(node); end # ``` @@ -39389,7 +39389,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1229 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1229 def visit_local_variable_target_node(node); end # ``` @@ -39400,7 +39400,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1197 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1197 def visit_local_variable_write_node(node); end # ``` @@ -39408,7 +39408,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1237 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1237 def visit_match_last_line_node(node); end # ``` @@ -39416,7 +39416,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1245 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1245 def visit_match_predicate_node(node); end # ``` @@ -39424,7 +39424,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1253 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1253 def visit_match_required_node(node); end # ``` @@ -39432,14 +39432,14 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1261 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1261 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#1268 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1268 def visit_missing_node(node); end # ``` @@ -39447,7 +39447,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1276 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1276 def visit_module_node(node); end # ``` @@ -39455,7 +39455,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1302 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1302 def visit_multi_target_node(node); end # ``` @@ -39463,7 +39463,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1314 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1314 def visit_multi_write_node(node); end # ``` @@ -39474,7 +39474,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1340 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1340 def visit_next_node(node); end # ``` @@ -39482,7 +39482,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1355 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1355 def visit_nil_node(node); end # ``` @@ -39490,7 +39490,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1363 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1363 def visit_no_keywords_parameter_node(node); end # ``` @@ -39498,7 +39498,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1371 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1371 def visit_numbered_parameters_node(node); end # ``` @@ -39506,7 +39506,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1379 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1379 def visit_numbered_reference_read_node(node); end # ``` @@ -39514,7 +39514,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1387 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1387 def visit_optional_keyword_parameter_node(node); end # ``` @@ -39522,7 +39522,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1395 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1395 def visit_optional_parameter_node(node); end # ``` @@ -39530,7 +39530,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1403 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1403 def visit_or_node(node); end # ``` @@ -39538,7 +39538,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1423 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1423 def visit_parameters_node(node); end # ``` @@ -39549,7 +39549,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1465 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1465 def visit_parentheses_node(node); end # ``` @@ -39557,7 +39557,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1477 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1477 def visit_pinned_expression_node(node); end # ``` @@ -39565,22 +39565,22 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1485 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1485 def visit_pinned_variable_node(node); end # END {} # - # source://prism//lib/prism/translation/ruby_parser.rb#1494 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1494 def visit_post_execution_node(node); end # BEGIN {} # - # source://prism//lib/prism/translation/ruby_parser.rb#1499 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1499 def visit_pre_execution_node(node); end # The top-level program node. # - # source://prism//lib/prism/translation/ruby_parser.rb#1504 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1504 def visit_program_node(node); end # ``` @@ -39588,7 +39588,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1512 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1512 def visit_range_node(node); end # ``` @@ -39596,7 +39596,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1536 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1536 def visit_rational_node(node); end # ``` @@ -39604,7 +39604,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1544 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1544 def visit_redo_node(node); end # ``` @@ -39612,7 +39612,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1552 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1552 def visit_regular_expression_node(node); end # ``` @@ -39620,7 +39620,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1560 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1560 def visit_required_keyword_parameter_node(node); end # ``` @@ -39628,7 +39628,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1568 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1568 def visit_required_parameter_node(node); end # ``` @@ -39636,7 +39636,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1576 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1576 def visit_rescue_modifier_node(node); end # ``` @@ -39644,7 +39644,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1584 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1584 def visit_rescue_node(node); end # ``` @@ -39655,7 +39655,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1606 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1606 def visit_rest_parameter_node(node); end # ``` @@ -39663,7 +39663,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1614 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1614 def visit_retry_node(node); end # ``` @@ -39674,7 +39674,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1625 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1625 def visit_return_node(node); end # ``` @@ -39682,12 +39682,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1640 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1640 def visit_self_node(node); end # A shareable constant. # - # source://prism//lib/prism/translation/ruby_parser.rb#1645 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1645 def visit_shareable_constant_node(node); end # ``` @@ -39695,7 +39695,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1653 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1653 def visit_singleton_class_node(node); end # ``` @@ -39703,7 +39703,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1663 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1663 def visit_source_encoding_node(node); end # ``` @@ -39711,7 +39711,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1672 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1672 def visit_source_file_node(node); end # ``` @@ -39719,7 +39719,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1680 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1680 def visit_source_line_node(node); end # ``` @@ -39733,12 +39733,12 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1694 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1694 def visit_splat_node(node); end # A list of statements. # - # source://prism//lib/prism/translation/ruby_parser.rb#1703 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1703 def visit_statements_node(node); end # ``` @@ -39746,7 +39746,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1717 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1717 def visit_string_node(node); end # ``` @@ -39754,7 +39754,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1732 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1732 def visit_super_node(node); end # ``` @@ -39762,7 +39762,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1748 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1748 def visit_symbol_node(node); end # ``` @@ -39770,7 +39770,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1756 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1756 def visit_true_node(node); end # ``` @@ -39778,7 +39778,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1764 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1764 def visit_undef_node(node); end # ``` @@ -39789,7 +39789,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1776 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1776 def visit_unless_node(node); end # ``` @@ -39800,7 +39800,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1787 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1787 def visit_until_node(node); end # ``` @@ -39808,7 +39808,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1795 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1795 def visit_when_node(node); end # ``` @@ -39819,7 +39819,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1806 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1806 def visit_while_node(node); end # ``` @@ -39827,7 +39827,7 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1814 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1814 def visit_x_string_node(node); end # ``` @@ -39838,25 +39838,25 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1832 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1832 def visit_yield_node(node); end private # Attach prism comments to the given sexp. # - # source://prism//lib/prism/translation/ruby_parser.rb#1839 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1839 def attach_comments(sexp, node); end # 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#490 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:490 def class_variable_write_type; end # Create a new compiler with the given options. # - # source://prism//lib/prism/translation/ruby_parser.rb#1850 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1850 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 @@ -39865,24 +39865,24 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # # @return [Boolean] # - # source://prism//lib/prism/translation/ruby_parser.rb#369 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:369 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#375 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:375 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#1855 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1855 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#1865 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1865 def visit_block(node, sexp, block); end # ``` @@ -39890,30 +39890,30 @@ class Prism::Translation::RubyParser::Compiler < ::Prism::Compiler # ^^^^^^^^^^ # ``` # - # source://prism//lib/prism/translation/ruby_parser.rb#1440 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1440 def visit_destructured_parameter(node); end # Visit the interpolated content of the string-like node. # - # source://prism//lib/prism/translation/ruby_parser.rb#1062 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1062 def visit_interpolated_parts(parts); end # Pattern constants get wrapped in another layer of :const. # - # source://prism//lib/prism/translation/ruby_parser.rb#1886 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1886 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#1524 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1524 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#1900 + # pkg:gem/prism#lib/prism/translation/ruby_parser.rb:1900 def visit_write_value(node); end end @@ -39922,62 +39922,62 @@ end # true # ^^^^ # -# source://prism//lib/prism/node.rb#17578 +# pkg:gem/prism#lib/prism/node.rb:17578 class Prism::TrueNode < ::Prism::Node # Initialize a new TrueNode node. # # @return [TrueNode] a new instance of TrueNode # - # source://prism//lib/prism/node.rb#17580 + # pkg:gem/prism#lib/prism/node.rb:17580 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#17637 + # pkg:gem/prism#lib/prism/node.rb:17637 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17588 + # pkg:gem/prism#lib/prism/node.rb:17588 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17593 + # pkg:gem/prism#lib/prism/node.rb:17593 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#17603 + # pkg:gem/prism#lib/prism/node.rb:17603 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#17598 + # pkg:gem/prism#lib/prism/node.rb:17598 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#17608 + # pkg:gem/prism#lib/prism/node.rb:17608 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[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17613 + # pkg:gem/prism#lib/prism/node.rb:17613 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#17616 + # pkg:gem/prism#lib/prism/node.rb:17616 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -39986,20 +39986,20 @@ class Prism::TrueNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#17621 + # pkg:gem/prism#lib/prism/node.rb:17621 sig { override.returns(String) } def inspect; end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#17626 + # pkg:gem/prism#lib/prism/node.rb:17626 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#17631 + # pkg:gem/prism#lib/prism/node.rb:17631 def type; end end end @@ -40009,13 +40009,13 @@ end # undef :foo, :bar, :baz # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#17646 +# pkg:gem/prism#lib/prism/node.rb:17646 class Prism::UndefNode < ::Prism::Node # Initialize a new UndefNode node. # # @return [UndefNode] a new instance of UndefNode # - # source://prism//lib/prism/node.rb#17648 + # pkg:gem/prism#lib/prism/node.rb:17648 sig do params( source: Prism::Source, @@ -40031,36 +40031,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#17728 + # pkg:gem/prism#lib/prism/node.rb:17728 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17658 + # pkg:gem/prism#lib/prism/node.rb:17658 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17663 + # pkg:gem/prism#lib/prism/node.rb:17663 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#17673 + # pkg:gem/prism#lib/prism/node.rb:17673 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#17668 + # pkg:gem/prism#lib/prism/node.rb:17668 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#17678 + # pkg:gem/prism#lib/prism/node.rb:17678 sig do params( node_id: Integer, @@ -40075,13 +40075,13 @@ class Prism::UndefNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17683 + # pkg:gem/prism#lib/prism/node.rb:17683 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#17686 + # pkg:gem/prism#lib/prism/node.rb:17686 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -40090,44 +40090,44 @@ class Prism::UndefNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#17712 + # pkg:gem/prism#lib/prism/node.rb:17712 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#17707 + # pkg:gem/prism#lib/prism/node.rb:17707 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#17694 + # pkg:gem/prism#lib/prism/node.rb:17694 sig { returns(Prism::Location) } def keyword_loc; end # attr_reader names: Array[SymbolNode | InterpolatedSymbolNode] # - # source://prism//lib/prism/node.rb#17691 + # pkg:gem/prism#lib/prism/node.rb:17691 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#17702 + # pkg:gem/prism#lib/prism/node.rb:17702 def save_keyword_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#17717 + # pkg:gem/prism#lib/prism/node.rb:17717 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#17722 + # pkg:gem/prism#lib/prism/node.rb:17722 def type; end end end @@ -40140,13 +40140,13 @@ end # unless foo then bar end # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#17743 +# pkg:gem/prism#lib/prism/node.rb:17743 class Prism::UnlessNode < ::Prism::Node # Initialize a new UnlessNode node. # # @return [UnlessNode] a new instance of UnlessNode # - # source://prism//lib/prism/node.rb#17745 + # pkg:gem/prism#lib/prism/node.rb:17745 sig do params( source: Prism::Source, @@ -40166,42 +40166,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#17912 + # pkg:gem/prism#lib/prism/node.rb:17912 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17759 + # pkg:gem/prism#lib/prism/node.rb:17759 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17764 + # pkg:gem/prism#lib/prism/node.rb:17764 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#17778 + # pkg:gem/prism#lib/prism/node.rb:17778 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#17769 + # pkg:gem/prism#lib/prism/node.rb:17769 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#506 + # pkg:gem/prism#lib/prism/node_ext.rb:506 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#17783 + # pkg:gem/prism#lib/prism/node.rb:17783 sig do params( node_id: Integer, @@ -40220,13 +40220,13 @@ class Prism::UnlessNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17788 + # pkg:gem/prism#lib/prism/node.rb:17788 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#17791 + # pkg:gem/prism#lib/prism/node.rb:17791 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -40235,13 +40235,13 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar else baz end # ^^^^^^^^ # - # source://prism//lib/prism/node.rb#17856 + # pkg:gem/prism#lib/prism/node.rb:17856 sig { returns(T.nilable(Prism::ElseNode)) } def else_clause; end # def end_keyword: () -> String? # - # source://prism//lib/prism/node.rb#17891 + # pkg:gem/prism#lib/prism/node.rb:17891 sig { returns(T.nilable(String)) } def end_keyword; end @@ -40250,7 +40250,7 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar end # ^^^ # - # source://prism//lib/prism/node.rb#17862 + # pkg:gem/prism#lib/prism/node.rb:17862 sig { returns(T.nilable(Prism::Location)) } def end_keyword_loc; end @@ -40259,13 +40259,13 @@ class Prism::UnlessNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#17896 + # pkg:gem/prism#lib/prism/node.rb:17896 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#17881 + # pkg:gem/prism#lib/prism/node.rb:17881 sig { returns(String) } def keyword; end @@ -40277,11 +40277,11 @@ class Prism::UnlessNode < ::Prism::Node # bar unless cond # ^^^^^^ # - # source://prism//lib/prism/node.rb#17802 + # pkg:gem/prism#lib/prism/node.rb:17802 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism//lib/prism/parse_result/newlines.rb#98 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:98 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). @@ -40292,26 +40292,26 @@ class Prism::UnlessNode < ::Prism::Node # bar unless cond # ^^^^ # - # source://prism//lib/prism/node.rb#17821 + # pkg:gem/prism#lib/prism/node.rb:17821 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#17876 + # pkg:gem/prism#lib/prism/node.rb:17876 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#17810 + # pkg:gem/prism#lib/prism/node.rb:17810 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#17841 + # pkg:gem/prism#lib/prism/node.rb:17841 def save_then_keyword_loc(repository); end # The body of statements that will executed if the unless condition is @@ -40320,13 +40320,13 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar end # ^^^ # - # source://prism//lib/prism/node.rb#17850 + # pkg:gem/prism#lib/prism/node.rb:17850 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # def then_keyword: () -> String? # - # source://prism//lib/prism/node.rb#17886 + # pkg:gem/prism#lib/prism/node.rb:17886 sig { returns(T.nilable(String)) } def then_keyword; end @@ -40335,20 +40335,20 @@ class Prism::UnlessNode < ::Prism::Node # unless cond then bar end # ^^^^ # - # source://prism//lib/prism/node.rb#17827 + # pkg:gem/prism#lib/prism/node.rb:17827 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#17901 + # pkg:gem/prism#lib/prism/node.rb:17901 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#17906 + # pkg:gem/prism#lib/prism/node.rb:17906 def type; end end end @@ -40361,13 +40361,13 @@ end # until foo do bar end # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#17930 +# pkg:gem/prism#lib/prism/node.rb:17930 class Prism::UntilNode < ::Prism::Node # Initialize a new UntilNode node. # # @return [UntilNode] a new instance of UntilNode # - # source://prism//lib/prism/node.rb#17932 + # pkg:gem/prism#lib/prism/node.rb:17932 sig do params( source: Prism::Source, @@ -40386,12 +40386,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#18074 + # pkg:gem/prism#lib/prism/node.rb:18074 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#17945 + # pkg:gem/prism#lib/prism/node.rb:17945 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -40399,43 +40399,43 @@ class Prism::UntilNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#17981 + # pkg:gem/prism#lib/prism/node.rb:17981 sig { returns(T::Boolean) } def begin_modifier?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17950 + # pkg:gem/prism#lib/prism/node.rb:17950 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#18053 + # pkg:gem/prism#lib/prism/node.rb:18053 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism//lib/prism/node.rb#18018 + # pkg:gem/prism#lib/prism/node.rb:18018 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#17963 + # pkg:gem/prism#lib/prism/node.rb:17963 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#17955 + # pkg:gem/prism#lib/prism/node.rb:17955 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#17968 + # pkg:gem/prism#lib/prism/node.rb:17968 sig do params( node_id: Integer, @@ -40453,25 +40453,25 @@ class Prism::UntilNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#17973 + # pkg:gem/prism#lib/prism/node.rb:17973 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#17976 + # pkg:gem/prism#lib/prism/node.rb:17976 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#18048 + # pkg:gem/prism#lib/prism/node.rb:18048 sig { returns(T.nilable(String)) } def do_keyword; end # attr_reader do_keyword_loc: Location? # - # source://prism//lib/prism/node.rb#17999 + # pkg:gem/prism#lib/prism/node.rb:17999 sig { returns(T.nilable(Prism::Location)) } def do_keyword_loc; end @@ -40480,65 +40480,65 @@ class Prism::UntilNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#18058 + # pkg:gem/prism#lib/prism/node.rb:18058 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#18043 + # pkg:gem/prism#lib/prism/node.rb:18043 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#17986 + # pkg:gem/prism#lib/prism/node.rb:17986 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism//lib/prism/parse_result/newlines.rb#104 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:104 def newline_flag!(lines); end # attr_reader predicate: Prism::node # - # source://prism//lib/prism/node.rb#18037 + # pkg:gem/prism#lib/prism/node.rb:18037 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#18032 + # pkg:gem/prism#lib/prism/node.rb:18032 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#18013 + # pkg:gem/prism#lib/prism/node.rb:18013 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#17994 + # pkg:gem/prism#lib/prism/node.rb:17994 def save_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#18040 + # pkg:gem/prism#lib/prism/node.rb:18040 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#18063 + # pkg:gem/prism#lib/prism/node.rb:18063 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#18068 + # pkg:gem/prism#lib/prism/node.rb:18068 def type; end end end @@ -40565,911 +40565,911 @@ Prism::VERSION = T.let(T.unsafe(nil), String) # end # end # -# source://prism//lib/prism/visitor.rb#57 +# pkg:gem/prism#lib/prism/visitor.rb:57 class Prism::Visitor < ::Prism::BasicVisitor # Visit a AliasGlobalVariableNode node # - # source://prism//lib/prism/visitor.rb#59 + # pkg:gem/prism#lib/prism/visitor.rb:59 sig { params(node: Prism::AliasGlobalVariableNode).void } def visit_alias_global_variable_node(node); end # Visit a AliasMethodNode node # - # source://prism//lib/prism/visitor.rb#64 + # pkg:gem/prism#lib/prism/visitor.rb:64 sig { params(node: Prism::AliasMethodNode).void } def visit_alias_method_node(node); end # Visit a AlternationPatternNode node # - # source://prism//lib/prism/visitor.rb#69 + # pkg:gem/prism#lib/prism/visitor.rb:69 sig { params(node: Prism::AlternationPatternNode).void } def visit_alternation_pattern_node(node); end # Visit a AndNode node # - # source://prism//lib/prism/visitor.rb#74 + # pkg:gem/prism#lib/prism/visitor.rb:74 sig { params(node: Prism::AndNode).void } def visit_and_node(node); end # Visit a ArgumentsNode node # - # source://prism//lib/prism/visitor.rb#79 + # pkg:gem/prism#lib/prism/visitor.rb:79 sig { params(node: Prism::ArgumentsNode).void } def visit_arguments_node(node); end # Visit a ArrayNode node # - # source://prism//lib/prism/visitor.rb#84 + # pkg:gem/prism#lib/prism/visitor.rb:84 sig { params(node: Prism::ArrayNode).void } def visit_array_node(node); end # Visit a ArrayPatternNode node # - # source://prism//lib/prism/visitor.rb#89 + # pkg:gem/prism#lib/prism/visitor.rb:89 sig { params(node: Prism::ArrayPatternNode).void } def visit_array_pattern_node(node); end # Visit a AssocNode node # - # source://prism//lib/prism/visitor.rb#94 + # pkg:gem/prism#lib/prism/visitor.rb:94 sig { params(node: Prism::AssocNode).void } def visit_assoc_node(node); end # Visit a AssocSplatNode node # - # source://prism//lib/prism/visitor.rb#99 + # pkg:gem/prism#lib/prism/visitor.rb:99 sig { params(node: Prism::AssocSplatNode).void } def visit_assoc_splat_node(node); end # Visit a BackReferenceReadNode node # - # source://prism//lib/prism/visitor.rb#104 + # pkg:gem/prism#lib/prism/visitor.rb:104 sig { params(node: Prism::BackReferenceReadNode).void } def visit_back_reference_read_node(node); end # Visit a BeginNode node # - # source://prism//lib/prism/visitor.rb#109 + # pkg:gem/prism#lib/prism/visitor.rb:109 sig { params(node: Prism::BeginNode).void } def visit_begin_node(node); end # Visit a BlockArgumentNode node # - # source://prism//lib/prism/visitor.rb#114 + # pkg:gem/prism#lib/prism/visitor.rb:114 sig { params(node: Prism::BlockArgumentNode).void } def visit_block_argument_node(node); end # Visit a BlockLocalVariableNode node # - # source://prism//lib/prism/visitor.rb#119 + # pkg:gem/prism#lib/prism/visitor.rb:119 sig { params(node: Prism::BlockLocalVariableNode).void } def visit_block_local_variable_node(node); end # Visit a BlockNode node # - # source://prism//lib/prism/visitor.rb#124 + # pkg:gem/prism#lib/prism/visitor.rb:124 sig { params(node: Prism::BlockNode).void } def visit_block_node(node); end # Visit a BlockParameterNode node # - # source://prism//lib/prism/visitor.rb#129 + # pkg:gem/prism#lib/prism/visitor.rb:129 sig { params(node: Prism::BlockParameterNode).void } def visit_block_parameter_node(node); end # Visit a BlockParametersNode node # - # source://prism//lib/prism/visitor.rb#134 + # pkg:gem/prism#lib/prism/visitor.rb:134 sig { params(node: Prism::BlockParametersNode).void } def visit_block_parameters_node(node); end # Visit a BreakNode node # - # source://prism//lib/prism/visitor.rb#139 + # pkg:gem/prism#lib/prism/visitor.rb:139 sig { params(node: Prism::BreakNode).void } def visit_break_node(node); end # Visit a CallAndWriteNode node # - # source://prism//lib/prism/visitor.rb#144 + # pkg:gem/prism#lib/prism/visitor.rb:144 sig { params(node: Prism::CallAndWriteNode).void } def visit_call_and_write_node(node); end # Visit a CallNode node # - # source://prism//lib/prism/visitor.rb#149 + # pkg:gem/prism#lib/prism/visitor.rb:149 sig { params(node: Prism::CallNode).void } def visit_call_node(node); end # Visit a CallOperatorWriteNode node # - # source://prism//lib/prism/visitor.rb#154 + # pkg:gem/prism#lib/prism/visitor.rb:154 sig { params(node: Prism::CallOperatorWriteNode).void } def visit_call_operator_write_node(node); end # Visit a CallOrWriteNode node # - # source://prism//lib/prism/visitor.rb#159 + # pkg:gem/prism#lib/prism/visitor.rb:159 sig { params(node: Prism::CallOrWriteNode).void } def visit_call_or_write_node(node); end # Visit a CallTargetNode node # - # source://prism//lib/prism/visitor.rb#164 + # pkg:gem/prism#lib/prism/visitor.rb:164 sig { params(node: Prism::CallTargetNode).void } def visit_call_target_node(node); end # Visit a CapturePatternNode node # - # source://prism//lib/prism/visitor.rb#169 + # pkg:gem/prism#lib/prism/visitor.rb:169 sig { params(node: Prism::CapturePatternNode).void } def visit_capture_pattern_node(node); end # Visit a CaseMatchNode node # - # source://prism//lib/prism/visitor.rb#174 + # pkg:gem/prism#lib/prism/visitor.rb:174 sig { params(node: Prism::CaseMatchNode).void } def visit_case_match_node(node); end # Visit a CaseNode node # - # source://prism//lib/prism/visitor.rb#179 + # pkg:gem/prism#lib/prism/visitor.rb:179 sig { params(node: Prism::CaseNode).void } def visit_case_node(node); end # Visit a ClassNode node # - # source://prism//lib/prism/visitor.rb#184 + # pkg:gem/prism#lib/prism/visitor.rb:184 sig { params(node: Prism::ClassNode).void } def visit_class_node(node); end # Visit a ClassVariableAndWriteNode node # - # source://prism//lib/prism/visitor.rb#189 + # pkg:gem/prism#lib/prism/visitor.rb:189 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#194 + # pkg:gem/prism#lib/prism/visitor.rb:194 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#199 + # pkg:gem/prism#lib/prism/visitor.rb:199 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#204 + # pkg:gem/prism#lib/prism/visitor.rb:204 sig { params(node: Prism::ClassVariableReadNode).void } def visit_class_variable_read_node(node); end # Visit a ClassVariableTargetNode node # - # source://prism//lib/prism/visitor.rb#209 + # pkg:gem/prism#lib/prism/visitor.rb:209 sig { params(node: Prism::ClassVariableTargetNode).void } def visit_class_variable_target_node(node); end # Visit a ClassVariableWriteNode node # - # source://prism//lib/prism/visitor.rb#214 + # pkg:gem/prism#lib/prism/visitor.rb:214 sig { params(node: Prism::ClassVariableWriteNode).void } def visit_class_variable_write_node(node); end # Visit a ConstantAndWriteNode node # - # source://prism//lib/prism/visitor.rb#219 + # pkg:gem/prism#lib/prism/visitor.rb:219 sig { params(node: Prism::ConstantAndWriteNode).void } def visit_constant_and_write_node(node); end # Visit a ConstantOperatorWriteNode node # - # source://prism//lib/prism/visitor.rb#224 + # pkg:gem/prism#lib/prism/visitor.rb:224 sig { params(node: Prism::ConstantOperatorWriteNode).void } def visit_constant_operator_write_node(node); end # Visit a ConstantOrWriteNode node # - # source://prism//lib/prism/visitor.rb#229 + # pkg:gem/prism#lib/prism/visitor.rb:229 sig { params(node: Prism::ConstantOrWriteNode).void } def visit_constant_or_write_node(node); end # Visit a ConstantPathAndWriteNode node # - # source://prism//lib/prism/visitor.rb#234 + # pkg:gem/prism#lib/prism/visitor.rb:234 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#239 + # pkg:gem/prism#lib/prism/visitor.rb:239 sig { params(node: Prism::ConstantPathNode).void } def visit_constant_path_node(node); end # Visit a ConstantPathOperatorWriteNode node # - # source://prism//lib/prism/visitor.rb#244 + # pkg:gem/prism#lib/prism/visitor.rb:244 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#249 + # pkg:gem/prism#lib/prism/visitor.rb:249 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#254 + # pkg:gem/prism#lib/prism/visitor.rb:254 sig { params(node: Prism::ConstantPathTargetNode).void } def visit_constant_path_target_node(node); end # Visit a ConstantPathWriteNode node # - # source://prism//lib/prism/visitor.rb#259 + # pkg:gem/prism#lib/prism/visitor.rb:259 sig { params(node: Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end # Visit a ConstantReadNode node # - # source://prism//lib/prism/visitor.rb#264 + # pkg:gem/prism#lib/prism/visitor.rb:264 sig { params(node: Prism::ConstantReadNode).void } def visit_constant_read_node(node); end # Visit a ConstantTargetNode node # - # source://prism//lib/prism/visitor.rb#269 + # pkg:gem/prism#lib/prism/visitor.rb:269 sig { params(node: Prism::ConstantTargetNode).void } def visit_constant_target_node(node); end # Visit a ConstantWriteNode node # - # source://prism//lib/prism/visitor.rb#274 + # pkg:gem/prism#lib/prism/visitor.rb:274 sig { params(node: Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end # Visit a DefNode node # - # source://prism//lib/prism/visitor.rb#279 + # pkg:gem/prism#lib/prism/visitor.rb:279 sig { params(node: Prism::DefNode).void } def visit_def_node(node); end # Visit a DefinedNode node # - # source://prism//lib/prism/visitor.rb#284 + # pkg:gem/prism#lib/prism/visitor.rb:284 sig { params(node: Prism::DefinedNode).void } def visit_defined_node(node); end # Visit a ElseNode node # - # source://prism//lib/prism/visitor.rb#289 + # pkg:gem/prism#lib/prism/visitor.rb:289 sig { params(node: Prism::ElseNode).void } def visit_else_node(node); end # Visit a EmbeddedStatementsNode node # - # source://prism//lib/prism/visitor.rb#294 + # pkg:gem/prism#lib/prism/visitor.rb:294 sig { params(node: Prism::EmbeddedStatementsNode).void } def visit_embedded_statements_node(node); end # Visit a EmbeddedVariableNode node # - # source://prism//lib/prism/visitor.rb#299 + # pkg:gem/prism#lib/prism/visitor.rb:299 sig { params(node: Prism::EmbeddedVariableNode).void } def visit_embedded_variable_node(node); end # Visit a EnsureNode node # - # source://prism//lib/prism/visitor.rb#304 + # pkg:gem/prism#lib/prism/visitor.rb:304 sig { params(node: Prism::EnsureNode).void } def visit_ensure_node(node); end # Visit a FalseNode node # - # source://prism//lib/prism/visitor.rb#309 + # pkg:gem/prism#lib/prism/visitor.rb:309 sig { params(node: Prism::FalseNode).void } def visit_false_node(node); end # Visit a FindPatternNode node # - # source://prism//lib/prism/visitor.rb#314 + # pkg:gem/prism#lib/prism/visitor.rb:314 sig { params(node: Prism::FindPatternNode).void } def visit_find_pattern_node(node); end # Visit a FlipFlopNode node # - # source://prism//lib/prism/visitor.rb#319 + # pkg:gem/prism#lib/prism/visitor.rb:319 sig { params(node: Prism::FlipFlopNode).void } def visit_flip_flop_node(node); end # Visit a FloatNode node # - # source://prism//lib/prism/visitor.rb#324 + # pkg:gem/prism#lib/prism/visitor.rb:324 sig { params(node: Prism::FloatNode).void } def visit_float_node(node); end # Visit a ForNode node # - # source://prism//lib/prism/visitor.rb#329 + # pkg:gem/prism#lib/prism/visitor.rb:329 sig { params(node: Prism::ForNode).void } def visit_for_node(node); end # Visit a ForwardingArgumentsNode node # - # source://prism//lib/prism/visitor.rb#334 + # pkg:gem/prism#lib/prism/visitor.rb:334 sig { params(node: Prism::ForwardingArgumentsNode).void } def visit_forwarding_arguments_node(node); end # Visit a ForwardingParameterNode node # - # source://prism//lib/prism/visitor.rb#339 + # pkg:gem/prism#lib/prism/visitor.rb:339 sig { params(node: Prism::ForwardingParameterNode).void } def visit_forwarding_parameter_node(node); end # Visit a ForwardingSuperNode node # - # source://prism//lib/prism/visitor.rb#344 + # pkg:gem/prism#lib/prism/visitor.rb:344 sig { params(node: Prism::ForwardingSuperNode).void } def visit_forwarding_super_node(node); end # Visit a GlobalVariableAndWriteNode node # - # source://prism//lib/prism/visitor.rb#349 + # pkg:gem/prism#lib/prism/visitor.rb:349 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#354 + # pkg:gem/prism#lib/prism/visitor.rb:354 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#359 + # pkg:gem/prism#lib/prism/visitor.rb:359 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#364 + # pkg:gem/prism#lib/prism/visitor.rb:364 sig { params(node: Prism::GlobalVariableReadNode).void } def visit_global_variable_read_node(node); end # Visit a GlobalVariableTargetNode node # - # source://prism//lib/prism/visitor.rb#369 + # pkg:gem/prism#lib/prism/visitor.rb:369 sig { params(node: Prism::GlobalVariableTargetNode).void } def visit_global_variable_target_node(node); end # Visit a GlobalVariableWriteNode node # - # source://prism//lib/prism/visitor.rb#374 + # pkg:gem/prism#lib/prism/visitor.rb:374 sig { params(node: Prism::GlobalVariableWriteNode).void } def visit_global_variable_write_node(node); end # Visit a HashNode node # - # source://prism//lib/prism/visitor.rb#379 + # pkg:gem/prism#lib/prism/visitor.rb:379 sig { params(node: Prism::HashNode).void } def visit_hash_node(node); end # Visit a HashPatternNode node # - # source://prism//lib/prism/visitor.rb#384 + # pkg:gem/prism#lib/prism/visitor.rb:384 sig { params(node: Prism::HashPatternNode).void } def visit_hash_pattern_node(node); end # Visit a IfNode node # - # source://prism//lib/prism/visitor.rb#389 + # pkg:gem/prism#lib/prism/visitor.rb:389 sig { params(node: Prism::IfNode).void } def visit_if_node(node); end # Visit a ImaginaryNode node # - # source://prism//lib/prism/visitor.rb#394 + # pkg:gem/prism#lib/prism/visitor.rb:394 sig { params(node: Prism::ImaginaryNode).void } def visit_imaginary_node(node); end # Visit a ImplicitNode node # - # source://prism//lib/prism/visitor.rb#399 + # pkg:gem/prism#lib/prism/visitor.rb:399 sig { params(node: Prism::ImplicitNode).void } def visit_implicit_node(node); end # Visit a ImplicitRestNode node # - # source://prism//lib/prism/visitor.rb#404 + # pkg:gem/prism#lib/prism/visitor.rb:404 sig { params(node: Prism::ImplicitRestNode).void } def visit_implicit_rest_node(node); end # Visit a InNode node # - # source://prism//lib/prism/visitor.rb#409 + # pkg:gem/prism#lib/prism/visitor.rb:409 sig { params(node: Prism::InNode).void } def visit_in_node(node); end # Visit a IndexAndWriteNode node # - # source://prism//lib/prism/visitor.rb#414 + # pkg:gem/prism#lib/prism/visitor.rb:414 sig { params(node: Prism::IndexAndWriteNode).void } def visit_index_and_write_node(node); end # Visit a IndexOperatorWriteNode node # - # source://prism//lib/prism/visitor.rb#419 + # pkg:gem/prism#lib/prism/visitor.rb:419 sig { params(node: Prism::IndexOperatorWriteNode).void } def visit_index_operator_write_node(node); end # Visit a IndexOrWriteNode node # - # source://prism//lib/prism/visitor.rb#424 + # pkg:gem/prism#lib/prism/visitor.rb:424 sig { params(node: Prism::IndexOrWriteNode).void } def visit_index_or_write_node(node); end # Visit a IndexTargetNode node # - # source://prism//lib/prism/visitor.rb#429 + # pkg:gem/prism#lib/prism/visitor.rb:429 sig { params(node: Prism::IndexTargetNode).void } def visit_index_target_node(node); end # Visit a InstanceVariableAndWriteNode node # - # source://prism//lib/prism/visitor.rb#434 + # pkg:gem/prism#lib/prism/visitor.rb:434 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#439 + # pkg:gem/prism#lib/prism/visitor.rb:439 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#444 + # pkg:gem/prism#lib/prism/visitor.rb:444 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#449 + # pkg:gem/prism#lib/prism/visitor.rb:449 sig { params(node: Prism::InstanceVariableReadNode).void } def visit_instance_variable_read_node(node); end # Visit a InstanceVariableTargetNode node # - # source://prism//lib/prism/visitor.rb#454 + # pkg:gem/prism#lib/prism/visitor.rb:454 sig { params(node: Prism::InstanceVariableTargetNode).void } def visit_instance_variable_target_node(node); end # Visit a InstanceVariableWriteNode node # - # source://prism//lib/prism/visitor.rb#459 + # pkg:gem/prism#lib/prism/visitor.rb:459 sig { params(node: Prism::InstanceVariableWriteNode).void } def visit_instance_variable_write_node(node); end # Visit a IntegerNode node # - # source://prism//lib/prism/visitor.rb#464 + # pkg:gem/prism#lib/prism/visitor.rb:464 sig { params(node: Prism::IntegerNode).void } def visit_integer_node(node); end # Visit a InterpolatedMatchLastLineNode node # - # source://prism//lib/prism/visitor.rb#469 + # pkg:gem/prism#lib/prism/visitor.rb:469 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#474 + # pkg:gem/prism#lib/prism/visitor.rb:474 sig { params(node: Prism::InterpolatedRegularExpressionNode).void } def visit_interpolated_regular_expression_node(node); end # Visit a InterpolatedStringNode node # - # source://prism//lib/prism/visitor.rb#479 + # pkg:gem/prism#lib/prism/visitor.rb:479 sig { params(node: Prism::InterpolatedStringNode).void } def visit_interpolated_string_node(node); end # Visit a InterpolatedSymbolNode node # - # source://prism//lib/prism/visitor.rb#484 + # pkg:gem/prism#lib/prism/visitor.rb:484 sig { params(node: Prism::InterpolatedSymbolNode).void } def visit_interpolated_symbol_node(node); end # Visit a InterpolatedXStringNode node # - # source://prism//lib/prism/visitor.rb#489 + # pkg:gem/prism#lib/prism/visitor.rb:489 sig { params(node: Prism::InterpolatedXStringNode).void } def visit_interpolated_x_string_node(node); end # Visit a ItLocalVariableReadNode node # - # source://prism//lib/prism/visitor.rb#494 + # pkg:gem/prism#lib/prism/visitor.rb:494 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#499 + # pkg:gem/prism#lib/prism/visitor.rb:499 sig { params(node: Prism::ItParametersNode).void } def visit_it_parameters_node(node); end # Visit a KeywordHashNode node # - # source://prism//lib/prism/visitor.rb#504 + # pkg:gem/prism#lib/prism/visitor.rb:504 sig { params(node: Prism::KeywordHashNode).void } def visit_keyword_hash_node(node); end # Visit a KeywordRestParameterNode node # - # source://prism//lib/prism/visitor.rb#509 + # pkg:gem/prism#lib/prism/visitor.rb:509 sig { params(node: Prism::KeywordRestParameterNode).void } def visit_keyword_rest_parameter_node(node); end # Visit a LambdaNode node # - # source://prism//lib/prism/visitor.rb#514 + # pkg:gem/prism#lib/prism/visitor.rb:514 sig { params(node: Prism::LambdaNode).void } def visit_lambda_node(node); end # Visit a LocalVariableAndWriteNode node # - # source://prism//lib/prism/visitor.rb#519 + # pkg:gem/prism#lib/prism/visitor.rb:519 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#524 + # pkg:gem/prism#lib/prism/visitor.rb:524 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#529 + # pkg:gem/prism#lib/prism/visitor.rb:529 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#534 + # pkg:gem/prism#lib/prism/visitor.rb:534 sig { params(node: Prism::LocalVariableReadNode).void } def visit_local_variable_read_node(node); end # Visit a LocalVariableTargetNode node # - # source://prism//lib/prism/visitor.rb#539 + # pkg:gem/prism#lib/prism/visitor.rb:539 sig { params(node: Prism::LocalVariableTargetNode).void } def visit_local_variable_target_node(node); end # Visit a LocalVariableWriteNode node # - # source://prism//lib/prism/visitor.rb#544 + # pkg:gem/prism#lib/prism/visitor.rb:544 sig { params(node: Prism::LocalVariableWriteNode).void } def visit_local_variable_write_node(node); end # Visit a MatchLastLineNode node # - # source://prism//lib/prism/visitor.rb#549 + # pkg:gem/prism#lib/prism/visitor.rb:549 sig { params(node: Prism::MatchLastLineNode).void } def visit_match_last_line_node(node); end # Visit a MatchPredicateNode node # - # source://prism//lib/prism/visitor.rb#554 + # pkg:gem/prism#lib/prism/visitor.rb:554 sig { params(node: Prism::MatchPredicateNode).void } def visit_match_predicate_node(node); end # Visit a MatchRequiredNode node # - # source://prism//lib/prism/visitor.rb#559 + # pkg:gem/prism#lib/prism/visitor.rb:559 sig { params(node: Prism::MatchRequiredNode).void } def visit_match_required_node(node); end # Visit a MatchWriteNode node # - # source://prism//lib/prism/visitor.rb#564 + # pkg:gem/prism#lib/prism/visitor.rb:564 sig { params(node: Prism::MatchWriteNode).void } def visit_match_write_node(node); end # Visit a MissingNode node # - # source://prism//lib/prism/visitor.rb#569 + # pkg:gem/prism#lib/prism/visitor.rb:569 sig { params(node: Prism::MissingNode).void } def visit_missing_node(node); end # Visit a ModuleNode node # - # source://prism//lib/prism/visitor.rb#574 + # pkg:gem/prism#lib/prism/visitor.rb:574 sig { params(node: Prism::ModuleNode).void } def visit_module_node(node); end # Visit a MultiTargetNode node # - # source://prism//lib/prism/visitor.rb#579 + # pkg:gem/prism#lib/prism/visitor.rb:579 sig { params(node: Prism::MultiTargetNode).void } def visit_multi_target_node(node); end # Visit a MultiWriteNode node # - # source://prism//lib/prism/visitor.rb#584 + # pkg:gem/prism#lib/prism/visitor.rb:584 sig { params(node: Prism::MultiWriteNode).void } def visit_multi_write_node(node); end # Visit a NextNode node # - # source://prism//lib/prism/visitor.rb#589 + # pkg:gem/prism#lib/prism/visitor.rb:589 sig { params(node: Prism::NextNode).void } def visit_next_node(node); end # Visit a NilNode node # - # source://prism//lib/prism/visitor.rb#594 + # pkg:gem/prism#lib/prism/visitor.rb:594 sig { params(node: Prism::NilNode).void } def visit_nil_node(node); end # Visit a NoKeywordsParameterNode node # - # source://prism//lib/prism/visitor.rb#599 + # pkg:gem/prism#lib/prism/visitor.rb:599 sig { params(node: Prism::NoKeywordsParameterNode).void } def visit_no_keywords_parameter_node(node); end # Visit a NumberedParametersNode node # - # source://prism//lib/prism/visitor.rb#604 + # pkg:gem/prism#lib/prism/visitor.rb:604 sig { params(node: Prism::NumberedParametersNode).void } def visit_numbered_parameters_node(node); end # Visit a NumberedReferenceReadNode node # - # source://prism//lib/prism/visitor.rb#609 + # pkg:gem/prism#lib/prism/visitor.rb:609 sig { params(node: Prism::NumberedReferenceReadNode).void } def visit_numbered_reference_read_node(node); end # Visit a OptionalKeywordParameterNode node # - # source://prism//lib/prism/visitor.rb#614 + # pkg:gem/prism#lib/prism/visitor.rb:614 sig { params(node: Prism::OptionalKeywordParameterNode).void } def visit_optional_keyword_parameter_node(node); end # Visit a OptionalParameterNode node # - # source://prism//lib/prism/visitor.rb#619 + # pkg:gem/prism#lib/prism/visitor.rb:619 sig { params(node: Prism::OptionalParameterNode).void } def visit_optional_parameter_node(node); end # Visit a OrNode node # - # source://prism//lib/prism/visitor.rb#624 + # pkg:gem/prism#lib/prism/visitor.rb:624 sig { params(node: Prism::OrNode).void } def visit_or_node(node); end # Visit a ParametersNode node # - # source://prism//lib/prism/visitor.rb#629 + # pkg:gem/prism#lib/prism/visitor.rb:629 sig { params(node: Prism::ParametersNode).void } def visit_parameters_node(node); end # Visit a ParenthesesNode node # - # source://prism//lib/prism/visitor.rb#634 + # pkg:gem/prism#lib/prism/visitor.rb:634 sig { params(node: Prism::ParenthesesNode).void } def visit_parentheses_node(node); end # Visit a PinnedExpressionNode node # - # source://prism//lib/prism/visitor.rb#639 + # pkg:gem/prism#lib/prism/visitor.rb:639 sig { params(node: Prism::PinnedExpressionNode).void } def visit_pinned_expression_node(node); end # Visit a PinnedVariableNode node # - # source://prism//lib/prism/visitor.rb#644 + # pkg:gem/prism#lib/prism/visitor.rb:644 sig { params(node: Prism::PinnedVariableNode).void } def visit_pinned_variable_node(node); end # Visit a PostExecutionNode node # - # source://prism//lib/prism/visitor.rb#649 + # pkg:gem/prism#lib/prism/visitor.rb:649 sig { params(node: Prism::PostExecutionNode).void } def visit_post_execution_node(node); end # Visit a PreExecutionNode node # - # source://prism//lib/prism/visitor.rb#654 + # pkg:gem/prism#lib/prism/visitor.rb:654 sig { params(node: Prism::PreExecutionNode).void } def visit_pre_execution_node(node); end # Visit a ProgramNode node # - # source://prism//lib/prism/visitor.rb#659 + # pkg:gem/prism#lib/prism/visitor.rb:659 sig { params(node: Prism::ProgramNode).void } def visit_program_node(node); end # Visit a RangeNode node # - # source://prism//lib/prism/visitor.rb#664 + # pkg:gem/prism#lib/prism/visitor.rb:664 sig { params(node: Prism::RangeNode).void } def visit_range_node(node); end # Visit a RationalNode node # - # source://prism//lib/prism/visitor.rb#669 + # pkg:gem/prism#lib/prism/visitor.rb:669 sig { params(node: Prism::RationalNode).void } def visit_rational_node(node); end # Visit a RedoNode node # - # source://prism//lib/prism/visitor.rb#674 + # pkg:gem/prism#lib/prism/visitor.rb:674 sig { params(node: Prism::RedoNode).void } def visit_redo_node(node); end # Visit a RegularExpressionNode node # - # source://prism//lib/prism/visitor.rb#679 + # pkg:gem/prism#lib/prism/visitor.rb:679 sig { params(node: Prism::RegularExpressionNode).void } def visit_regular_expression_node(node); end # Visit a RequiredKeywordParameterNode node # - # source://prism//lib/prism/visitor.rb#684 + # pkg:gem/prism#lib/prism/visitor.rb:684 sig { params(node: Prism::RequiredKeywordParameterNode).void } def visit_required_keyword_parameter_node(node); end # Visit a RequiredParameterNode node # - # source://prism//lib/prism/visitor.rb#689 + # pkg:gem/prism#lib/prism/visitor.rb:689 sig { params(node: Prism::RequiredParameterNode).void } def visit_required_parameter_node(node); end # Visit a RescueModifierNode node # - # source://prism//lib/prism/visitor.rb#694 + # pkg:gem/prism#lib/prism/visitor.rb:694 sig { params(node: Prism::RescueModifierNode).void } def visit_rescue_modifier_node(node); end # Visit a RescueNode node # - # source://prism//lib/prism/visitor.rb#699 + # pkg:gem/prism#lib/prism/visitor.rb:699 sig { params(node: Prism::RescueNode).void } def visit_rescue_node(node); end # Visit a RestParameterNode node # - # source://prism//lib/prism/visitor.rb#704 + # pkg:gem/prism#lib/prism/visitor.rb:704 sig { params(node: Prism::RestParameterNode).void } def visit_rest_parameter_node(node); end # Visit a RetryNode node # - # source://prism//lib/prism/visitor.rb#709 + # pkg:gem/prism#lib/prism/visitor.rb:709 sig { params(node: Prism::RetryNode).void } def visit_retry_node(node); end # Visit a ReturnNode node # - # source://prism//lib/prism/visitor.rb#714 + # pkg:gem/prism#lib/prism/visitor.rb:714 sig { params(node: Prism::ReturnNode).void } def visit_return_node(node); end # Visit a SelfNode node # - # source://prism//lib/prism/visitor.rb#719 + # pkg:gem/prism#lib/prism/visitor.rb:719 sig { params(node: Prism::SelfNode).void } def visit_self_node(node); end # Visit a ShareableConstantNode node # - # source://prism//lib/prism/visitor.rb#724 + # pkg:gem/prism#lib/prism/visitor.rb:724 sig { params(node: Prism::ShareableConstantNode).void } def visit_shareable_constant_node(node); end # Visit a SingletonClassNode node # - # source://prism//lib/prism/visitor.rb#729 + # pkg:gem/prism#lib/prism/visitor.rb:729 sig { params(node: Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end # Visit a SourceEncodingNode node # - # source://prism//lib/prism/visitor.rb#734 + # pkg:gem/prism#lib/prism/visitor.rb:734 sig { params(node: Prism::SourceEncodingNode).void } def visit_source_encoding_node(node); end # Visit a SourceFileNode node # - # source://prism//lib/prism/visitor.rb#739 + # pkg:gem/prism#lib/prism/visitor.rb:739 sig { params(node: Prism::SourceFileNode).void } def visit_source_file_node(node); end # Visit a SourceLineNode node # - # source://prism//lib/prism/visitor.rb#744 + # pkg:gem/prism#lib/prism/visitor.rb:744 sig { params(node: Prism::SourceLineNode).void } def visit_source_line_node(node); end # Visit a SplatNode node # - # source://prism//lib/prism/visitor.rb#749 + # pkg:gem/prism#lib/prism/visitor.rb:749 sig { params(node: Prism::SplatNode).void } def visit_splat_node(node); end # Visit a StatementsNode node # - # source://prism//lib/prism/visitor.rb#754 + # pkg:gem/prism#lib/prism/visitor.rb:754 sig { params(node: Prism::StatementsNode).void } def visit_statements_node(node); end # Visit a StringNode node # - # source://prism//lib/prism/visitor.rb#759 + # pkg:gem/prism#lib/prism/visitor.rb:759 sig { params(node: Prism::StringNode).void } def visit_string_node(node); end # Visit a SuperNode node # - # source://prism//lib/prism/visitor.rb#764 + # pkg:gem/prism#lib/prism/visitor.rb:764 sig { params(node: Prism::SuperNode).void } def visit_super_node(node); end # Visit a SymbolNode node # - # source://prism//lib/prism/visitor.rb#769 + # pkg:gem/prism#lib/prism/visitor.rb:769 sig { params(node: Prism::SymbolNode).void } def visit_symbol_node(node); end # Visit a TrueNode node # - # source://prism//lib/prism/visitor.rb#774 + # pkg:gem/prism#lib/prism/visitor.rb:774 sig { params(node: Prism::TrueNode).void } def visit_true_node(node); end # Visit a UndefNode node # - # source://prism//lib/prism/visitor.rb#779 + # pkg:gem/prism#lib/prism/visitor.rb:779 sig { params(node: Prism::UndefNode).void } def visit_undef_node(node); end # Visit a UnlessNode node # - # source://prism//lib/prism/visitor.rb#784 + # pkg:gem/prism#lib/prism/visitor.rb:784 sig { params(node: Prism::UnlessNode).void } def visit_unless_node(node); end # Visit a UntilNode node # - # source://prism//lib/prism/visitor.rb#789 + # pkg:gem/prism#lib/prism/visitor.rb:789 sig { params(node: Prism::UntilNode).void } def visit_until_node(node); end # Visit a WhenNode node # - # source://prism//lib/prism/visitor.rb#794 + # pkg:gem/prism#lib/prism/visitor.rb:794 sig { params(node: Prism::WhenNode).void } def visit_when_node(node); end # Visit a WhileNode node # - # source://prism//lib/prism/visitor.rb#799 + # pkg:gem/prism#lib/prism/visitor.rb:799 sig { params(node: Prism::WhileNode).void } def visit_while_node(node); end # Visit a XStringNode node # - # source://prism//lib/prism/visitor.rb#804 + # pkg:gem/prism#lib/prism/visitor.rb:804 sig { params(node: Prism::XStringNode).void } def visit_x_string_node(node); end # Visit a YieldNode node # - # source://prism//lib/prism/visitor.rb#809 + # pkg:gem/prism#lib/prism/visitor.rb:809 sig { params(node: Prism::YieldNode).void } def visit_yield_node(node); end end @@ -41481,13 +41481,13 @@ end # ^^^^^^^^^ # end # -# source://prism//lib/prism/node.rb#18091 +# pkg:gem/prism#lib/prism/node.rb:18091 class Prism::WhenNode < ::Prism::Node # Initialize a new WhenNode node. # # @return [WhenNode] a new instance of WhenNode # - # source://prism//lib/prism/node.rb#18093 + # pkg:gem/prism#lib/prism/node.rb:18093 sig do params( source: Prism::Source, @@ -41505,42 +41505,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#18205 + # pkg:gem/prism#lib/prism/node.rb:18205 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#18105 + # pkg:gem/prism#lib/prism/node.rb:18105 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18110 + # pkg:gem/prism#lib/prism/node.rb:18110 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#18123 + # pkg:gem/prism#lib/prism/node.rb:18123 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#18115 + # pkg:gem/prism#lib/prism/node.rb:18115 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # attr_reader conditions: Array[Prism::node] # - # source://prism//lib/prism/node.rb#18154 + # pkg:gem/prism#lib/prism/node.rb:18154 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#18128 + # pkg:gem/prism#lib/prism/node.rb:18128 sig do params( node_id: Integer, @@ -41557,13 +41557,13 @@ class Prism::WhenNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18133 + # pkg:gem/prism#lib/prism/node.rb:18133 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#18136 + # pkg:gem/prism#lib/prism/node.rb:18136 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -41572,62 +41572,62 @@ class Prism::WhenNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#18189 + # pkg:gem/prism#lib/prism/node.rb:18189 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#18179 + # pkg:gem/prism#lib/prism/node.rb:18179 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#18141 + # pkg:gem/prism#lib/prism/node.rb:18141 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#18149 + # pkg:gem/prism#lib/prism/node.rb:18149 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#18171 + # pkg:gem/prism#lib/prism/node.rb:18171 def save_then_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#18176 + # pkg:gem/prism#lib/prism/node.rb:18176 sig { returns(T.nilable(Prism::StatementsNode)) } def statements; end # def then_keyword: () -> String? # - # source://prism//lib/prism/node.rb#18184 + # pkg:gem/prism#lib/prism/node.rb:18184 sig { returns(T.nilable(String)) } def then_keyword; end # attr_reader then_keyword_loc: Location? # - # source://prism//lib/prism/node.rb#18157 + # pkg:gem/prism#lib/prism/node.rb:18157 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#18194 + # pkg:gem/prism#lib/prism/node.rb:18194 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#18199 + # pkg:gem/prism#lib/prism/node.rb:18199 def type; end end end @@ -41640,13 +41640,13 @@ end # while foo do bar end # ^^^^^^^^^^^^^^^^^^^^ # -# source://prism//lib/prism/node.rb#18222 +# pkg:gem/prism#lib/prism/node.rb:18222 class Prism::WhileNode < ::Prism::Node # Initialize a new WhileNode node. # # @return [WhileNode] a new instance of WhileNode # - # source://prism//lib/prism/node.rb#18224 + # pkg:gem/prism#lib/prism/node.rb:18224 sig do params( source: Prism::Source, @@ -41665,12 +41665,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#18366 + # pkg:gem/prism#lib/prism/node.rb:18366 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#18237 + # pkg:gem/prism#lib/prism/node.rb:18237 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end @@ -41678,43 +41678,43 @@ class Prism::WhileNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#18273 + # pkg:gem/prism#lib/prism/node.rb:18273 sig { returns(T::Boolean) } def begin_modifier?; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18242 + # pkg:gem/prism#lib/prism/node.rb:18242 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String? # - # source://prism//lib/prism/node.rb#18345 + # pkg:gem/prism#lib/prism/node.rb:18345 sig { returns(T.nilable(String)) } def closing; end # attr_reader closing_loc: Location? # - # source://prism//lib/prism/node.rb#18310 + # pkg:gem/prism#lib/prism/node.rb:18310 sig { returns(T.nilable(Prism::Location)) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#18255 + # pkg:gem/prism#lib/prism/node.rb:18255 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#18247 + # pkg:gem/prism#lib/prism/node.rb:18247 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#18260 + # pkg:gem/prism#lib/prism/node.rb:18260 sig do params( node_id: Integer, @@ -41732,25 +41732,25 @@ class Prism::WhileNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18265 + # pkg:gem/prism#lib/prism/node.rb:18265 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#18268 + # pkg:gem/prism#lib/prism/node.rb:18268 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#18340 + # pkg:gem/prism#lib/prism/node.rb:18340 sig { returns(T.nilable(String)) } def do_keyword; end # attr_reader do_keyword_loc: Location? # - # source://prism//lib/prism/node.rb#18291 + # pkg:gem/prism#lib/prism/node.rb:18291 sig { returns(T.nilable(Prism::Location)) } def do_keyword_loc; end @@ -41759,65 +41759,65 @@ class Prism::WhileNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#18350 + # pkg:gem/prism#lib/prism/node.rb:18350 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#18335 + # pkg:gem/prism#lib/prism/node.rb:18335 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#18278 + # pkg:gem/prism#lib/prism/node.rb:18278 sig { returns(Prism::Location) } def keyword_loc; end - # source://prism//lib/prism/parse_result/newlines.rb#110 + # pkg:gem/prism#lib/prism/parse_result/newlines.rb:110 def newline_flag!(lines); end # attr_reader predicate: Prism::node # - # source://prism//lib/prism/node.rb#18329 + # pkg:gem/prism#lib/prism/node.rb:18329 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#18324 + # pkg:gem/prism#lib/prism/node.rb:18324 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#18305 + # pkg:gem/prism#lib/prism/node.rb:18305 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#18286 + # pkg:gem/prism#lib/prism/node.rb:18286 def save_keyword_loc(repository); end # attr_reader statements: StatementsNode? # - # source://prism//lib/prism/node.rb#18332 + # pkg:gem/prism#lib/prism/node.rb:18332 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#18355 + # pkg:gem/prism#lib/prism/node.rb:18355 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#18360 + # pkg:gem/prism#lib/prism/node.rb:18360 def type; end end end @@ -41827,7 +41827,7 @@ end # `foo` # ^^^^^ # -# source://prism//lib/prism/node.rb#18381 +# pkg:gem/prism#lib/prism/node.rb:18381 class Prism::XStringNode < ::Prism::Node include ::Prism::HeredocQuery @@ -41835,7 +41835,7 @@ class Prism::XStringNode < ::Prism::Node # # @return [XStringNode] a new instance of XStringNode # - # source://prism//lib/prism/node.rb#18383 + # pkg:gem/prism#lib/prism/node.rb:18383 sig do params( source: Prism::Source, @@ -41853,60 +41853,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#18511 + # pkg:gem/prism#lib/prism/node.rb:18511 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#18395 + # pkg:gem/prism#lib/prism/node.rb:18395 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18400 + # pkg:gem/prism#lib/prism/node.rb:18400 sig { override.returns(T::Array[T.nilable(Prism::Node)]) } def child_nodes; end # def closing: () -> String # - # source://prism//lib/prism/node.rb#18490 + # pkg:gem/prism#lib/prism/node.rb:18490 sig { returns(String) } def closing; end # attr_reader closing_loc: Location # - # source://prism//lib/prism/node.rb#18464 + # pkg:gem/prism#lib/prism/node.rb:18464 sig { returns(Prism::Location) } def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://prism//lib/prism/node.rb#18410 + # pkg:gem/prism#lib/prism/node.rb:18410 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#18405 + # pkg:gem/prism#lib/prism/node.rb:18405 sig { override.returns(T::Array[Prism::Node]) } def compact_child_nodes; end # def content: () -> String # - # source://prism//lib/prism/node.rb#18485 + # pkg:gem/prism#lib/prism/node.rb:18485 sig { returns(String) } def content; end # attr_reader content_loc: Location # - # source://prism//lib/prism/node.rb#18451 + # pkg:gem/prism#lib/prism/node.rb:18451 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#18415 + # pkg:gem/prism#lib/prism/node.rb:18415 sig do params( node_id: Integer, @@ -41923,13 +41923,13 @@ class Prism::XStringNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18420 + # pkg:gem/prism#lib/prism/node.rb:18420 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#18423 + # pkg:gem/prism#lib/prism/node.rb:18423 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -41940,7 +41940,7 @@ class Prism::XStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#18433 + # pkg:gem/prism#lib/prism/node.rb:18433 sig { returns(T::Boolean) } def forced_binary_encoding?; end @@ -41948,7 +41948,7 @@ class Prism::XStringNode < ::Prism::Node # # @return [Boolean] # - # source://prism//lib/prism/node.rb#18428 + # pkg:gem/prism#lib/prism/node.rb:18428 sig { returns(T::Boolean) } def forced_utf8_encoding?; end @@ -41957,63 +41957,63 @@ class Prism::XStringNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#18495 + # pkg:gem/prism#lib/prism/node.rb:18495 sig { override.returns(String) } def inspect; end # def opening: () -> String # - # source://prism//lib/prism/node.rb#18480 + # pkg:gem/prism#lib/prism/node.rb:18480 sig { returns(String) } def opening; end # attr_reader opening_loc: Location # - # source://prism//lib/prism/node.rb#18438 + # pkg:gem/prism#lib/prism/node.rb:18438 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#18472 + # pkg:gem/prism#lib/prism/node.rb:18472 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#18459 + # pkg:gem/prism#lib/prism/node.rb:18459 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#18446 + # pkg:gem/prism#lib/prism/node.rb:18446 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#93 + # pkg:gem/prism#lib/prism/node_ext.rb:93 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#18500 + # pkg:gem/prism#lib/prism/node.rb:18500 sig { override.returns(Symbol) } def type; end # attr_reader unescaped: String # - # source://prism//lib/prism/node.rb#18477 + # pkg:gem/prism#lib/prism/node.rb:18477 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#18505 + # pkg:gem/prism#lib/prism/node.rb:18505 def type; end end end @@ -42023,13 +42023,13 @@ end # yield 1 # ^^^^^^^ # -# source://prism//lib/prism/node.rb#18525 +# pkg:gem/prism#lib/prism/node.rb:18525 class Prism::YieldNode < ::Prism::Node # Initialize a new YieldNode node. # # @return [YieldNode] a new instance of YieldNode # - # source://prism//lib/prism/node.rb#18527 + # pkg:gem/prism#lib/prism/node.rb:18527 sig do params( source: Prism::Source, @@ -42047,42 +42047,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#18659 + # pkg:gem/prism#lib/prism/node.rb:18659 def ===(other); end # def accept: (Visitor visitor) -> void # - # source://prism//lib/prism/node.rb#18539 + # pkg:gem/prism#lib/prism/node.rb:18539 sig { override.params(visitor: Prism::Visitor).returns(T.untyped) } def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://prism//lib/prism/node.rb#18606 + # pkg:gem/prism#lib/prism/node.rb:18606 sig { returns(T.nilable(Prism::ArgumentsNode)) } def arguments; end # def child_nodes: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18544 + # pkg:gem/prism#lib/prism/node.rb:18544 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#18556 + # pkg:gem/prism#lib/prism/node.rb:18556 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#18549 + # pkg:gem/prism#lib/prism/node.rb:18549 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#18561 + # pkg:gem/prism#lib/prism/node.rb:18561 sig do params( node_id: Integer, @@ -42099,13 +42099,13 @@ class Prism::YieldNode < ::Prism::Node # def child_nodes: () -> Array[Node?] # def deconstruct: () -> Array[Node?] # - # source://prism//lib/prism/node.rb#18566 + # pkg:gem/prism#lib/prism/node.rb:18566 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#18569 + # pkg:gem/prism#lib/prism/node.rb:18569 sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) } def deconstruct_keys(keys); end @@ -42114,80 +42114,80 @@ class Prism::YieldNode < ::Prism::Node # def inspect -> String # - # source://prism//lib/prism/node.rb#18643 + # pkg:gem/prism#lib/prism/node.rb:18643 sig { override.returns(String) } def inspect; end # def keyword: () -> String # - # source://prism//lib/prism/node.rb#18628 + # pkg:gem/prism#lib/prism/node.rb:18628 sig { returns(String) } def keyword; end # attr_reader keyword_loc: Location # - # source://prism//lib/prism/node.rb#18574 + # pkg:gem/prism#lib/prism/node.rb:18574 sig { returns(Prism::Location) } def keyword_loc; end # def lparen: () -> String? # - # source://prism//lib/prism/node.rb#18633 + # pkg:gem/prism#lib/prism/node.rb:18633 sig { returns(T.nilable(String)) } def lparen; end # attr_reader lparen_loc: Location? # - # source://prism//lib/prism/node.rb#18587 + # pkg:gem/prism#lib/prism/node.rb:18587 sig { returns(T.nilable(Prism::Location)) } def lparen_loc; end # def rparen: () -> String? # - # source://prism//lib/prism/node.rb#18638 + # pkg:gem/prism#lib/prism/node.rb:18638 sig { returns(T.nilable(String)) } def rparen; end # attr_reader rparen_loc: Location? # - # source://prism//lib/prism/node.rb#18609 + # pkg:gem/prism#lib/prism/node.rb:18609 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#18582 + # pkg:gem/prism#lib/prism/node.rb:18582 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#18601 + # pkg:gem/prism#lib/prism/node.rb:18601 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#18623 + # pkg:gem/prism#lib/prism/node.rb:18623 def save_rparen_loc(repository); end # Return a symbol representation of this node type. See `Node#type`. # - # source://prism//lib/prism/node.rb#18648 + # pkg:gem/prism#lib/prism/node.rb:18648 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#18653 + # pkg:gem/prism#lib/prism/node.rb:18653 def type; end end end -# source://prism//lib/prism/translation/ruby_parser.rb#11 +# pkg:gem/prism#lib/prism/translation/ruby_parser.rb:11 class RubyParser; end -# source://prism//lib/prism/translation/ruby_parser.rb#12 +# pkg:gem/prism#lib/prism/translation/ruby_parser.rb:12 class RubyParser::SyntaxError < ::RuntimeError; end diff --git a/sorbet/rbi/gems/psych@5.3.1.rbi b/sorbet/rbi/gems/psych@5.3.1.rbi index 44da9ce24..c90e697e1 100644 --- a/sorbet/rbi/gems/psych@5.3.1.rbi +++ b/sorbet/rbi/gems/psych@5.3.1.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem psych`. -# source://psych//lib/psych/core_ext.rb#2 +# pkg:gem/psych#lib/psych/core_ext.rb:2 class Object < ::BasicObject include ::Kernel include ::PP::ObjectMixin @@ -15,11 +15,11 @@ class Object < ::BasicObject # Convert an object to YAML. See Psych.dump for more information on the # available +options+. # - # source://psych//lib/psych/core_ext.rb#12 + # pkg:gem/psych#lib/psych/core_ext.rb:12 def to_yaml(options = T.unsafe(nil)); end class << self - # source://psych//lib/psych/core_ext.rb#3 + # pkg:gem/psych#lib/psych/core_ext.rb:3 def yaml_tag(url); end end end @@ -226,27 +226,27 @@ end # Psych::Visitors::ToRuby.new.accept(parser.handler.root.first) # # => "a" # -# source://psych//lib/psych/versions.rb#3 +# pkg:gem/psych#lib/psych/versions.rb:3 module Psych class << self - # source://psych//lib/psych.rb#729 + # pkg:gem/psych#lib/psych.rb:729 def add_builtin_type(type_tag, &block); end # :stopdoc: # - # source://psych//lib/psych.rb#723 + # pkg:gem/psych#lib/psych.rb:723 def add_domain_type(domain, type_tag, &block); end - # source://psych//lib/psych.rb#739 + # pkg:gem/psych#lib/psych.rb:739 def add_tag(tag, klass); end - # source://psych//lib/psych.rb#755 + # pkg:gem/psych#lib/psych.rb:755 def config; end - # source://psych//lib/psych.rb#767 + # pkg:gem/psych#lib/psych.rb:767 def domain_types; end - # source://psych//lib/psych.rb#779 + # pkg:gem/psych#lib/psych.rb:779 def domain_types=(value); end # call-seq: @@ -299,7 +299,7 @@ module Psych # # Dump hash with symbol keys as string # Psych.dump({a: "b"}, stringify_names: true) # => "---\na: b\n" # - # source://psych//lib/psych.rb#515 + # pkg:gem/psych#lib/psych.rb:515 def dump(o, io = T.unsafe(nil), options = T.unsafe(nil)); end # Dump a list of objects as separate documents to a document stream. @@ -308,16 +308,16 @@ module Psych # # Psych.dump_stream("foo\n ", {}) # => "--- ! \"foo\\n \"\n--- {}\n" # - # source://psych//lib/psych.rb#613 + # pkg:gem/psych#lib/psych.rb:613 def dump_stream(*objects); end - # source://psych//lib/psych.rb#763 + # pkg:gem/psych#lib/psych.rb:763 def dump_tags; end - # source://psych//lib/psych.rb#775 + # pkg:gem/psych#lib/psych.rb:775 def dump_tags=(value); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def libyaml_version; end # Load +yaml+ in to a Ruby data structure. If multiple documents are @@ -349,7 +349,7 @@ module Psych # Raises a TypeError when `yaml` parameter is NilClass. This method is # similar to `safe_load` except that `Symbol` objects are allowed by default. # - # source://psych//lib/psych.rb#369 + # pkg:gem/psych#lib/psych.rb:369 def load(yaml, permitted_classes: T.unsafe(nil), permitted_symbols: T.unsafe(nil), aliases: T.unsafe(nil), filename: T.unsafe(nil), fallback: T.unsafe(nil), symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil), strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end # Loads the document contained in +filename+. Returns the yaml contained in @@ -357,7 +357,7 @@ module Psych # the specified +fallback+ return value, which defaults to +nil+. # See load for options. # - # source://psych//lib/psych.rb#716 + # pkg:gem/psych#lib/psych.rb:716 def load_file(filename, **kwargs); end # Load multiple documents given in +yaml+. Returns the parsed documents @@ -374,13 +374,13 @@ module Psych # end # list # => ['foo', 'bar'] # - # source://psych//lib/psych.rb#644 + # pkg:gem/psych#lib/psych.rb:644 def load_stream(yaml, filename: T.unsafe(nil), fallback: T.unsafe(nil), **kwargs); end - # source://psych//lib/psych.rb#759 + # pkg:gem/psych#lib/psych.rb:759 def load_tags; end - # source://psych//lib/psych.rb#771 + # pkg:gem/psych#lib/psych.rb:771 def load_tags=(value); end # Parse a YAML string in +yaml+. Returns the Psych::Nodes::Document. @@ -402,14 +402,14 @@ module Psych # # See Psych::Nodes for more information about YAML AST. # - # source://psych//lib/psych.rb#400 + # pkg:gem/psych#lib/psych.rb:400 def parse(yaml, filename: T.unsafe(nil)); end # Parse a file at +filename+. Returns the Psych::Nodes::Document. # # Raises a Psych::SyntaxError when a YAML syntax error is detected. # - # source://psych//lib/psych.rb#412 + # pkg:gem/psych#lib/psych.rb:412 def parse_file(filename, fallback: T.unsafe(nil)); end # Parse a YAML string in +yaml+. Returns the Psych::Nodes::Stream. @@ -441,15 +441,15 @@ module Psych # # See Psych::Nodes for more information about YAML AST. # - # source://psych//lib/psych.rb#454 + # pkg:gem/psych#lib/psych.rb:454 def parse_stream(yaml, filename: T.unsafe(nil), &block); end # Returns a default parser # - # source://psych//lib/psych.rb#421 + # pkg:gem/psych#lib/psych.rb:421 def parser; end - # source://psych//lib/psych.rb#735 + # pkg:gem/psych#lib/psych.rb:735 def remove_type(type_tag); end # call-seq: @@ -522,7 +522,7 @@ module Psych # # Dump hash with symbol keys as string # Psych.dump({a: "b"}, stringify_names: true) # => "---\na: b\n" # - # source://psych//lib/psych.rb#596 + # pkg:gem/psych#lib/psych.rb:596 def safe_dump(o, io = T.unsafe(nil), options = T.unsafe(nil)); end # Safely load the yaml string in +yaml+. By default, only the following @@ -569,7 +569,7 @@ module Psych # Psych.safe_load("---\n foo: bar") # => {"foo"=>"bar"} # Psych.safe_load("---\n foo: bar", symbolize_names: true) # => {:foo=>"bar"} # - # source://psych//lib/psych.rb#323 + # pkg:gem/psych#lib/psych.rb:323 def safe_load(yaml, permitted_classes: T.unsafe(nil), permitted_symbols: T.unsafe(nil), aliases: T.unsafe(nil), filename: T.unsafe(nil), fallback: T.unsafe(nil), symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil), strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end # Safely loads the document contained in +filename+. Returns the yaml contained in @@ -577,7 +577,7 @@ module Psych # the specified +fallback+ return value, which defaults to +nil+. # See safe_load for options. # - # source://psych//lib/psych.rb#705 + # pkg:gem/psych#lib/psych.rb:705 def safe_load_file(filename, **kwargs); end # Load multiple documents given in +yaml+. Returns the parsed documents @@ -593,12 +593,12 @@ module Psych # end # list # => ['foo', 'bar'] # - # source://psych//lib/psych.rb#671 + # pkg:gem/psych#lib/psych.rb:671 def safe_load_stream(yaml, filename: T.unsafe(nil), permitted_classes: T.unsafe(nil), aliases: T.unsafe(nil)); end # Dump Ruby +object+ to a JSON string. # - # source://psych//lib/psych.rb#623 + # pkg:gem/psych#lib/psych.rb:623 def to_json(object); end # Load +yaml+ in to a Ruby data structure. If multiple documents are @@ -633,7 +633,7 @@ module Psych # YAML documents that are supplied via user input. Instead, please use the # load method or the safe_load method. # - # source://psych//lib/psych.rb#272 + # pkg:gem/psych#lib/psych.rb:272 def unsafe_load(yaml, filename: T.unsafe(nil), fallback: T.unsafe(nil), symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil), strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end # Load the document contained in +filename+. Returns the yaml contained in @@ -644,114 +644,114 @@ module Psych # YAML documents that are supplied via user input. Instead, please use the # safe_load_file method. # - # source://psych//lib/psych.rb#694 + # pkg:gem/psych#lib/psych.rb:694 def unsafe_load_file(filename, **kwargs); end end end # Subclasses `BadAlias` for backwards compatibility # -# source://psych//lib/psych/exception.rb#10 +# pkg:gem/psych#lib/psych/exception.rb:10 class Psych::AliasesNotEnabled < ::Psych::BadAlias # @return [AliasesNotEnabled] a new instance of AliasesNotEnabled # - # source://psych//lib/psych/exception.rb#11 + # pkg:gem/psych#lib/psych/exception.rb:11 def initialize; end end # Subclasses `BadAlias` for backwards compatibility # -# source://psych//lib/psych/exception.rb#17 +# pkg:gem/psych#lib/psych/exception.rb:17 class Psych::AnchorNotDefined < ::Psych::BadAlias # @return [AnchorNotDefined] a new instance of AnchorNotDefined # - # source://psych//lib/psych/exception.rb#18 + # pkg:gem/psych#lib/psych/exception.rb:18 def initialize(anchor_name); end end -# source://psych//lib/psych/class_loader.rb#6 +# pkg:gem/psych#lib/psych.rb:15 class Psych::ClassLoader # @return [ClassLoader] a new instance of ClassLoader # - # source://psych//lib/psych/class_loader.rb#22 + # pkg:gem/psych#lib/psych/class_loader.rb:22 def initialize; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def big_decimal; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def complex; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def data; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def date; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def date_time; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def exception; end - # source://psych//lib/psych/class_loader.rb#26 + # pkg:gem/psych#lib/psych/class_loader.rb:26 def load(klassname); end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def object; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def psych_omap; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def psych_set; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def range; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def rational; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def regexp; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def struct; end - # source://psych//lib/psych/class_loader.rb#39 + # pkg:gem/psych#lib/psych/class_loader.rb:39 def symbol; end - # source://psych//lib/psych/class_loader.rb#32 + # pkg:gem/psych#lib/psych/class_loader.rb:32 def symbolize(sym); end private - # source://psych//lib/psych/class_loader.rb#48 + # pkg:gem/psych#lib/psych/class_loader.rb:48 def find(klassname); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def path2class(_arg0); end - # source://psych//lib/psych/class_loader.rb#52 + # pkg:gem/psych#lib/psych/class_loader.rb:52 def resolve(klassname); end end -# source://psych//lib/psych/class_loader.rb#9 +# pkg:gem/psych#lib/psych/class_loader.rb:9 Psych::ClassLoader::DATA = T.let(T.unsafe(nil), String) -# source://psych//lib/psych/class_loader.rb#77 +# pkg:gem/psych#lib/psych/class_loader.rb:77 class Psych::ClassLoader::Restricted < ::Psych::ClassLoader # @return [Restricted] a new instance of Restricted # - # source://psych//lib/psych/class_loader.rb#78 + # pkg:gem/psych#lib/psych/class_loader.rb:78 def initialize(classes, symbols); end - # source://psych//lib/psych/class_loader.rb#84 + # pkg:gem/psych#lib/psych/class_loader.rb:84 def symbolize(sym); end private - # source://psych//lib/psych/class_loader.rb#96 + # pkg:gem/psych#lib/psych/class_loader.rb:96 def find(klassname); end end @@ -761,32 +761,32 @@ end # objects like Sequence and Scalar may be emitted if +seq=+ or +scalar=+ are # called, respectively. # -# source://psych//lib/psych/coder.rb#9 +# pkg:gem/psych#lib/psych/coder.rb:9 class Psych::Coder # @return [Coder] a new instance of Coder # - # source://psych//lib/psych/coder.rb#13 + # pkg:gem/psych#lib/psych/coder.rb:13 def initialize(tag); end - # source://psych//lib/psych/coder.rb#84 + # pkg:gem/psych#lib/psych/coder.rb:84 def [](k); end - # source://psych//lib/psych/coder.rb#78 + # pkg:gem/psych#lib/psych/coder.rb:78 def []=(k, v); end - # source://psych//lib/psych/coder.rb#82 + # pkg:gem/psych#lib/psych/coder.rb:82 def add(k, v); end # Returns the value of attribute implicit. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def implicit; end # Sets the attribute implicit # # @param value the value to set the attribute implicit to. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def implicit=(_arg0); end # Emit a map. The coder will be yielded to the block. @@ -794,152 +794,153 @@ class Psych::Coder # @yield [_self] # @yieldparam _self [Psych::Coder] the object that the method was called on # - # source://psych//lib/psych/coder.rb#34 + # pkg:gem/psych#lib/psych/coder.rb:34 def map(tag = T.unsafe(nil), style = T.unsafe(nil)); end # Emit a map with +value+ # - # source://psych//lib/psych/coder.rb#73 + # pkg:gem/psych#lib/psych/coder.rb:73 def map=(map); end # Returns the value of attribute object. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def object; end # Sets the attribute object # # @param value the value to set the attribute object to. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def object=(_arg0); end # Emit a sequence with +map+ and +tag+ # - # source://psych//lib/psych/coder.rb#54 + # pkg:gem/psych#lib/psych/coder.rb:54 def represent_map(tag, map); end # Emit an arbitrary object +obj+ and +tag+ # - # source://psych//lib/psych/coder.rb#60 + # pkg:gem/psych#lib/psych/coder.rb:60 def represent_object(tag, obj); end # Emit a scalar with +value+ and +tag+ # - # source://psych//lib/psych/coder.rb#42 + # pkg:gem/psych#lib/psych/coder.rb:42 def represent_scalar(tag, value); end # Emit a sequence with +list+ and +tag+ # - # source://psych//lib/psych/coder.rb#48 + # pkg:gem/psych#lib/psych/coder.rb:48 def represent_seq(tag, list); end - # source://psych//lib/psych/coder.rb#24 + # pkg:gem/psych#lib/psych/coder.rb:24 def scalar(*args); end # Emit a scalar with +value+ # - # source://psych//lib/psych/coder.rb#67 + # pkg:gem/psych#lib/psych/coder.rb:67 def scalar=(value); end # Returns the value of attribute seq. # - # source://psych//lib/psych/coder.rb#11 + # pkg:gem/psych#lib/psych/coder.rb:11 def seq; end # Emit a sequence of +list+ # - # source://psych//lib/psych/coder.rb#90 + # pkg:gem/psych#lib/psych/coder.rb:90 def seq=(list); end # Returns the value of attribute style. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def style; end # Sets the attribute style # # @param value the value to set the attribute style to. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def style=(_arg0); end # Returns the value of attribute tag. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def tag; end # Sets the attribute tag # # @param value the value to set the attribute tag to. # - # source://psych//lib/psych/coder.rb#10 + # pkg:gem/psych#lib/psych/coder.rb:10 def tag=(_arg0); end # Returns the value of attribute type. # - # source://psych//lib/psych/coder.rb#11 + # pkg:gem/psych#lib/psych/coder.rb:11 def type; end end -# source://psych//lib/psych/exception.rb#23 +# pkg:gem/psych#lib/psych/exception.rb:23 class Psych::DisallowedClass < ::Psych::Exception # @return [DisallowedClass] a new instance of DisallowedClass # - # source://psych//lib/psych/exception.rb#24 + # pkg:gem/psych#lib/psych/exception.rb:24 def initialize(action, klass_name); end end +# pkg:gem/psych#lib/psych.rb:15 class Psych::Emitter < ::Psych::Handler - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def initialize(*_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def alias(_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def canonical; end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def canonical=(_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def end_document(_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def end_mapping; end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def end_sequence; end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def end_stream; end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def indentation; end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def indentation=(_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def line_width; end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def line_width=(_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def scalar(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def start_document(_arg0, _arg1, _arg2); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def start_mapping(_arg0, _arg1, _arg2, _arg3); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def start_sequence(_arg0, _arg1, _arg2, _arg3); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def start_stream(_arg0); end end @@ -953,7 +954,7 @@ end # # See Psych::Parser for more details # -# source://psych//lib/psych/handler.rb#13 +# pkg:gem/psych#lib/psych.rb:15 class Psych::Handler # Called when an alias is found to +anchor+. +anchor+ will be the name # of the anchor found. @@ -969,13 +970,13 @@ class Psych::Handler # &ponies is the anchor, *ponies is the alias. In this case, alias is # called with "ponies". # - # source://psych//lib/psych/handler.rb#110 + # pkg:gem/psych#lib/psych/handler.rb:110 def alias(anchor); end # Called when an empty event happens. (Which, as far as I can tell, is # never). # - # source://psych//lib/psych/handler.rb#236 + # pkg:gem/psych#lib/psych/handler.rb:236 def empty; end # Called with the document ends. +implicit+ is a boolean value indicating @@ -996,27 +997,27 @@ class Psych::Handler # # +implicit+ will be false. # - # source://psych//lib/psych/handler.rb#93 + # pkg:gem/psych#lib/psych/handler.rb:93 def end_document(implicit); end # Called when a map ends # - # source://psych//lib/psych/handler.rb#230 + # pkg:gem/psych#lib/psych/handler.rb:230 def end_mapping; end # Called when a sequence ends. # - # source://psych//lib/psych/handler.rb#191 + # pkg:gem/psych#lib/psych/handler.rb:191 def end_sequence; end # Called when the YAML stream ends # - # source://psych//lib/psych/handler.rb#241 + # pkg:gem/psych#lib/psych/handler.rb:241 def end_stream; end # Called before each event with line/column information. # - # source://psych//lib/psych/handler.rb#246 + # pkg:gem/psych#lib/psych/handler.rb:246 def event_location(start_line, start_column, end_line, end_column); end # Called when a scalar +value+ is found. The scalar may have an @@ -1055,7 +1056,7 @@ class Psych::Handler # ["many lines", nil, nil, true, false, 1 ] # ["many\nnewlines\n", nil, nil, false, true, 4 ] # - # source://psych//lib/psych/handler.rb#150 + # pkg:gem/psych#lib/psych/handler.rb:150 def scalar(value, anchor, tag, plain, quoted, style); end # Called when the document starts with the declared +version+, @@ -1080,7 +1081,7 @@ class Psych::Handler # tag_directives # => [["!", "tag:tenderlovemaking.com,2009:"]] # implicit # => false # - # source://psych//lib/psych/handler.rb#72 + # pkg:gem/psych#lib/psych/handler.rb:72 def start_document(version, tag_directives, implicit); end # Called when a map starts. @@ -1113,7 +1114,7 @@ class Psych::Handler # [nil, "tag:yaml.org,2002:map", false, 2 ] # ["pewpew", nil, true, 1 ] # - # source://psych//lib/psych/handler.rb#225 + # pkg:gem/psych#lib/psych/handler.rb:225 def start_mapping(anchor, tag, implicit, style); end # Called when a sequence is started. @@ -1148,7 +1149,7 @@ class Psych::Handler # [nil, "tag:yaml.org,2002:seq", false, 2 ] # ["pewpew", nil, true, 1 ] # - # source://psych//lib/psych/handler.rb#186 + # pkg:gem/psych#lib/psych/handler.rb:186 def start_sequence(anchor, tag, implicit, style); end # Called with +encoding+ when the YAML stream starts. This method is @@ -1156,99 +1157,99 @@ class Psych::Handler # # See the constants in Psych::Parser for the possible values of +encoding+. # - # source://psych//lib/psych/handler.rb#47 + # pkg:gem/psych#lib/psych/handler.rb:47 def start_stream(encoding); end # Is this handler a streaming handler? # # @return [Boolean] # - # source://psych//lib/psych/handler.rb#251 + # pkg:gem/psych#lib/psych/handler.rb:251 def streaming?; end end # Configuration options for dumping YAML. # -# source://psych//lib/psych/handler.rb#16 +# pkg:gem/psych#lib/psych/handler.rb:16 class Psych::Handler::DumperOptions # @return [DumperOptions] a new instance of DumperOptions # - # source://psych//lib/psych/handler.rb#19 + # pkg:gem/psych#lib/psych/handler.rb:19 def initialize; end # Returns the value of attribute canonical. # - # source://psych//lib/psych/handler.rb#17 + # pkg:gem/psych#lib/psych/handler.rb:17 def canonical; end # Sets the attribute canonical # # @param value the value to set the attribute canonical to. # - # source://psych//lib/psych/handler.rb#17 + # pkg:gem/psych#lib/psych/handler.rb:17 def canonical=(_arg0); end # Returns the value of attribute indentation. # - # source://psych//lib/psych/handler.rb#17 + # pkg:gem/psych#lib/psych/handler.rb:17 def indentation; end # Sets the attribute indentation # # @param value the value to set the attribute indentation to. # - # source://psych//lib/psych/handler.rb#17 + # pkg:gem/psych#lib/psych/handler.rb:17 def indentation=(_arg0); end # Returns the value of attribute line_width. # - # source://psych//lib/psych/handler.rb#17 + # pkg:gem/psych#lib/psych/handler.rb:17 def line_width; end # Sets the attribute line_width # # @param value the value to set the attribute line_width to. # - # source://psych//lib/psych/handler.rb#17 + # pkg:gem/psych#lib/psych/handler.rb:17 def line_width=(_arg0); end end -# source://psych//lib/psych/handlers/document_stream.rb#6 +# pkg:gem/psych#lib/psych/handlers/document_stream.rb:6 class Psych::Handlers::DocumentStream < ::Psych::TreeBuilder # @return [DocumentStream] a new instance of DocumentStream # - # source://psych//lib/psych/handlers/document_stream.rb#7 + # pkg:gem/psych#lib/psych/handlers/document_stream.rb:7 def initialize(&block); end - # source://psych//lib/psych/handlers/document_stream.rb#17 + # pkg:gem/psych#lib/psych/handlers/document_stream.rb:17 def end_document(implicit_end = T.unsafe(nil)); end - # source://psych//lib/psych/handlers/document_stream.rb#12 + # pkg:gem/psych#lib/psych/handlers/document_stream.rb:12 def start_document(version, tag_directives, implicit); end end -# source://psych//lib/psych/json/ruby_events.rb#4 +# pkg:gem/psych#lib/psych/json/ruby_events.rb:4 module Psych::JSON::RubyEvents - # source://psych//lib/psych/json/ruby_events.rb#10 + # pkg:gem/psych#lib/psych/json/ruby_events.rb:10 def visit_DateTime(o); end - # source://psych//lib/psych/json/ruby_events.rb#14 + # pkg:gem/psych#lib/psych/json/ruby_events.rb:14 def visit_String(o); end - # source://psych//lib/psych/json/ruby_events.rb#17 + # pkg:gem/psych#lib/psych/json/ruby_events.rb:17 def visit_Symbol(o); end - # source://psych//lib/psych/json/ruby_events.rb#5 + # pkg:gem/psych#lib/psych/json/ruby_events.rb:5 def visit_Time(o); end end -# source://psych//lib/psych/json/stream.rb#7 +# pkg:gem/psych#lib/psych/json/stream.rb:7 class Psych::JSON::Stream < ::Psych::Visitors::JSONTree include ::Psych::Streaming extend ::Psych::Streaming::ClassMethods end -# source://psych//lib/psych/json/stream.rb#12 +# pkg:gem/psych#lib/psych/json/stream.rb:12 class Psych::JSON::Stream::Emitter < ::Psych::Stream::Emitter include ::Psych::JSON::YAMLEvents end @@ -1256,26 +1257,26 @@ end # Psych::JSON::TreeBuilder is an event based AST builder. Events are sent # to an instance of Psych::JSON::TreeBuilder and a JSON AST is constructed. # -# source://psych//lib/psych/json/tree_builder.rb#9 +# pkg:gem/psych#lib/psych/json/tree_builder.rb:9 class Psych::JSON::TreeBuilder < ::Psych::TreeBuilder include ::Psych::JSON::YAMLEvents end -# source://psych//lib/psych/json/yaml_events.rb#4 +# pkg:gem/psych#lib/psych/json/yaml_events.rb:4 module Psych::JSON::YAMLEvents - # source://psych//lib/psych/json/yaml_events.rb#9 + # pkg:gem/psych#lib/psych/json/yaml_events.rb:9 def end_document(implicit_end = T.unsafe(nil)); end - # source://psych//lib/psych/json/yaml_events.rb#21 + # pkg:gem/psych#lib/psych/json/yaml_events.rb:21 def scalar(value, anchor, tag, plain, quoted, style); end - # source://psych//lib/psych/json/yaml_events.rb#5 + # pkg:gem/psych#lib/psych/json/yaml_events.rb:5 def start_document(version, tag_directives, implicit); end - # source://psych//lib/psych/json/yaml_events.rb#13 + # pkg:gem/psych#lib/psych/json/yaml_events.rb:13 def start_mapping(anchor, tag, implicit, style); end - # source://psych//lib/psych/json/yaml_events.rb#17 + # pkg:gem/psych#lib/psych/json/yaml_events.rb:17 def start_sequence(anchor, tag, implicit, style); end end @@ -1284,28 +1285,28 @@ end # # A Psych::Nodes::Alias is a terminal node and may have no children. # -# source://psych//lib/psych/nodes/alias.rb#9 +# pkg:gem/psych#lib/psych/nodes/alias.rb:9 class Psych::Nodes::Alias < ::Psych::Nodes::Node # Create a new Alias that points to an +anchor+ # # @return [Alias] a new instance of Alias # - # source://psych//lib/psych/nodes/alias.rb#14 + # pkg:gem/psych#lib/psych/nodes/alias.rb:14 def initialize(anchor); end # @return [Boolean] # - # source://psych//lib/psych/nodes/alias.rb#18 + # pkg:gem/psych#lib/psych/nodes/alias.rb:18 def alias?; end # The anchor this alias links to # - # source://psych//lib/psych/nodes/alias.rb#11 + # pkg:gem/psych#lib/psych/nodes/alias.rb:11 def anchor; end # The anchor this alias links to # - # source://psych//lib/psych/nodes/alias.rb#11 + # pkg:gem/psych#lib/psych/nodes/alias.rb:11 def anchor=(_arg0); end end @@ -1317,7 +1318,7 @@ end # * Psych::Nodes::Mapping # * Psych::Nodes::Scalar # -# source://psych//lib/psych/nodes/document.rb#12 +# pkg:gem/psych#lib/psych/nodes/document.rb:12 class Psych::Nodes::Document < ::Psych::Nodes::Node # Create a new Psych::Nodes::Document object. # @@ -1341,58 +1342,58 @@ class Psych::Nodes::Document < ::Psych::Nodes::Node # # @return [Document] a new instance of Document # - # source://psych//lib/psych/nodes/document.rb#45 + # pkg:gem/psych#lib/psych/nodes/document.rb:45 def initialize(version = T.unsafe(nil), tag_directives = T.unsafe(nil), implicit = T.unsafe(nil)); end # @return [Boolean] # - # source://psych//lib/psych/nodes/document.rb#60 + # pkg:gem/psych#lib/psych/nodes/document.rb:60 def document?; end # Was this document implicitly created? # - # source://psych//lib/psych/nodes/document.rb#20 + # pkg:gem/psych#lib/psych/nodes/document.rb:20 def implicit; end # Was this document implicitly created? # - # source://psych//lib/psych/nodes/document.rb#20 + # pkg:gem/psych#lib/psych/nodes/document.rb:20 def implicit=(_arg0); end # Is the end of the document implicit? # - # source://psych//lib/psych/nodes/document.rb#23 + # pkg:gem/psych#lib/psych/nodes/document.rb:23 def implicit_end; end # Is the end of the document implicit? # - # source://psych//lib/psych/nodes/document.rb#23 + # pkg:gem/psych#lib/psych/nodes/document.rb:23 def implicit_end=(_arg0); end # Returns the root node. A Document may only have one root node: # http://yaml.org/spec/1.1/#id898031 # - # source://psych//lib/psych/nodes/document.rb#56 + # pkg:gem/psych#lib/psych/nodes/document.rb:56 def root; end # A list of tag directives for this document # - # source://psych//lib/psych/nodes/document.rb#17 + # pkg:gem/psych#lib/psych/nodes/document.rb:17 def tag_directives; end # A list of tag directives for this document # - # source://psych//lib/psych/nodes/document.rb#17 + # pkg:gem/psych#lib/psych/nodes/document.rb:17 def tag_directives=(_arg0); end # The version of the YAML document # - # source://psych//lib/psych/nodes/document.rb#14 + # pkg:gem/psych#lib/psych/nodes/document.rb:14 def version; end # The version of the YAML document # - # source://psych//lib/psych/nodes/document.rb#14 + # pkg:gem/psych#lib/psych/nodes/document.rb:14 def version=(_arg0); end end @@ -1407,7 +1408,7 @@ end # * Psych::Nodes::Scalar # * Psych::Nodes::Alias # -# source://psych//lib/psych/nodes/mapping.rb#15 +# pkg:gem/psych#lib/psych/nodes/mapping.rb:15 class Psych::Nodes::Mapping < ::Psych::Nodes::Node # Create a new Psych::Nodes::Mapping object. # @@ -1422,59 +1423,59 @@ class Psych::Nodes::Mapping < ::Psych::Nodes::Node # # @return [Mapping] a new instance of Mapping # - # source://psych//lib/psych/nodes/mapping.rb#48 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:48 def initialize(anchor = T.unsafe(nil), tag = T.unsafe(nil), implicit = T.unsafe(nil), style = T.unsafe(nil)); end # The optional anchor for this mapping # - # source://psych//lib/psych/nodes/mapping.rb#26 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:26 def anchor; end # The optional anchor for this mapping # - # source://psych//lib/psych/nodes/mapping.rb#26 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:26 def anchor=(_arg0); end # Is this an implicit mapping? # - # source://psych//lib/psych/nodes/mapping.rb#32 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:32 def implicit; end # Is this an implicit mapping? # - # source://psych//lib/psych/nodes/mapping.rb#32 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:32 def implicit=(_arg0); end # @return [Boolean] # - # source://psych//lib/psych/nodes/mapping.rb#56 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:56 def mapping?; end # The style of this mapping # - # source://psych//lib/psych/nodes/mapping.rb#35 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:35 def style; end # The style of this mapping # - # source://psych//lib/psych/nodes/mapping.rb#35 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:35 def style=(_arg0); end # The optional tag for this mapping # - # source://psych//lib/psych/nodes/mapping.rb#29 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:29 def tag; end # The optional tag for this mapping # - # source://psych//lib/psych/nodes/mapping.rb#29 + # pkg:gem/psych#lib/psych/nodes/mapping.rb:29 def tag=(_arg0); end end # The base class for any Node in a YAML parse tree. This class should # never be instantiated. # -# source://psych//lib/psych/nodes/node.rb#10 +# pkg:gem/psych#lib/psych/nodes/node.rb:10 class Psych::Nodes::Node include ::Enumerable @@ -1482,121 +1483,121 @@ class Psych::Nodes::Node # # @return [Node] a new instance of Node # - # source://psych//lib/psych/nodes/node.rb#32 + # pkg:gem/psych#lib/psych/nodes/node.rb:32 def initialize; end # @return [Boolean] # - # source://psych//lib/psych/nodes/node.rb#68 + # pkg:gem/psych#lib/psych/nodes/node.rb:68 def alias?; end # The children of this node # - # source://psych//lib/psych/nodes/node.rb#14 + # pkg:gem/psych#lib/psych/nodes/node.rb:14 def children; end # @return [Boolean] # - # source://psych//lib/psych/nodes/node.rb#69 + # pkg:gem/psych#lib/psych/nodes/node.rb:69 def document?; end # Iterate over each node in the tree. Yields each node to +block+ depth # first. # - # source://psych//lib/psych/nodes/node.rb#39 + # pkg:gem/psych#lib/psych/nodes/node.rb:39 def each(&block); end # The column number where this node ends # - # source://psych//lib/psych/nodes/node.rb#29 + # pkg:gem/psych#lib/psych/nodes/node.rb:29 def end_column; end # The column number where this node ends # - # source://psych//lib/psych/nodes/node.rb#29 + # pkg:gem/psych#lib/psych/nodes/node.rb:29 def end_column=(_arg0); end # The line number where this node ends # - # source://psych//lib/psych/nodes/node.rb#26 + # pkg:gem/psych#lib/psych/nodes/node.rb:26 def end_line; end # The line number where this node ends # - # source://psych//lib/psych/nodes/node.rb#26 + # pkg:gem/psych#lib/psych/nodes/node.rb:26 def end_line=(_arg0); end # @return [Boolean] # - # source://psych//lib/psych/nodes/node.rb#70 + # pkg:gem/psych#lib/psych/nodes/node.rb:70 def mapping?; end # @return [Boolean] # - # source://psych//lib/psych/nodes/node.rb#71 + # pkg:gem/psych#lib/psych/nodes/node.rb:71 def scalar?; end # @return [Boolean] # - # source://psych//lib/psych/nodes/node.rb#72 + # pkg:gem/psych#lib/psych/nodes/node.rb:72 def sequence?; end # The column number where this node start # - # source://psych//lib/psych/nodes/node.rb#23 + # pkg:gem/psych#lib/psych/nodes/node.rb:23 def start_column; end # The column number where this node start # - # source://psych//lib/psych/nodes/node.rb#23 + # pkg:gem/psych#lib/psych/nodes/node.rb:23 def start_column=(_arg0); end # The line number where this node start # - # source://psych//lib/psych/nodes/node.rb#20 + # pkg:gem/psych#lib/psych/nodes/node.rb:20 def start_line; end # The line number where this node start # - # source://psych//lib/psych/nodes/node.rb#20 + # pkg:gem/psych#lib/psych/nodes/node.rb:20 def start_line=(_arg0); end # @return [Boolean] # - # source://psych//lib/psych/nodes/node.rb#73 + # pkg:gem/psych#lib/psych/nodes/node.rb:73 def stream?; end # An associated tag # - # source://psych//lib/psych/nodes/node.rb#17 + # pkg:gem/psych#lib/psych/nodes/node.rb:17 def tag; end # Convert this node to Ruby. # # See also Psych::Visitors::ToRuby # - # source://psych//lib/psych/nodes/node.rb#48 + # pkg:gem/psych#lib/psych/nodes/node.rb:48 def to_ruby(symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil), strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end # Convert this node to YAML. # # See also Psych::Visitors::Emitter # - # source://psych//lib/psych/nodes/node.rb#66 + # pkg:gem/psych#lib/psych/nodes/node.rb:66 def to_yaml(io = T.unsafe(nil), options = T.unsafe(nil)); end # Convert this node to Ruby. # # See also Psych::Visitors::ToRuby # - # source://psych//lib/psych/nodes/node.rb#51 + # pkg:gem/psych#lib/psych/nodes/node.rb:51 def transform(symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil), strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end # Convert this node to YAML. # # See also Psych::Visitors::Emitter # - # source://psych//lib/psych/nodes/node.rb#57 + # pkg:gem/psych#lib/psych/nodes/node.rb:57 def yaml(io = T.unsafe(nil), options = T.unsafe(nil)); end end @@ -1604,7 +1605,7 @@ end # # This node type is a terminal node and should not have any children. # -# source://psych//lib/psych/nodes/scalar.rb#8 +# pkg:gem/psych#lib/psych/nodes/scalar.rb:8 class Psych::Nodes::Scalar < ::Psych::Nodes::Node # Create a new Psych::Nodes::Scalar object. # @@ -1621,72 +1622,72 @@ class Psych::Nodes::Scalar < ::Psych::Nodes::Node # # @return [Scalar] a new instance of Scalar # - # source://psych//lib/psych/nodes/scalar.rb#58 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:58 def initialize(value, anchor = T.unsafe(nil), tag = T.unsafe(nil), plain = T.unsafe(nil), quoted = T.unsafe(nil), style = T.unsafe(nil)); end # The anchor value (if there is one) # - # source://psych//lib/psych/nodes/scalar.rb#31 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:31 def anchor; end # The anchor value (if there is one) # - # source://psych//lib/psych/nodes/scalar.rb#31 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:31 def anchor=(_arg0); end # Is this a plain scalar? # - # source://psych//lib/psych/nodes/scalar.rb#37 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:37 def plain; end # Is this a plain scalar? # - # source://psych//lib/psych/nodes/scalar.rb#37 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:37 def plain=(_arg0); end # Is this scalar quoted? # - # source://psych//lib/psych/nodes/scalar.rb#40 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:40 def quoted; end # Is this scalar quoted? # - # source://psych//lib/psych/nodes/scalar.rb#40 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:40 def quoted=(_arg0); end # @return [Boolean] # - # source://psych//lib/psych/nodes/scalar.rb#67 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:67 def scalar?; end # The style of this scalar # - # source://psych//lib/psych/nodes/scalar.rb#43 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:43 def style; end # The style of this scalar # - # source://psych//lib/psych/nodes/scalar.rb#43 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:43 def style=(_arg0); end # The tag value (if there is one) # - # source://psych//lib/psych/nodes/scalar.rb#34 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:34 def tag; end # The tag value (if there is one) # - # source://psych//lib/psych/nodes/scalar.rb#34 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:34 def tag=(_arg0); end # The scalar value # - # source://psych//lib/psych/nodes/scalar.rb#28 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:28 def value; end # The scalar value # - # source://psych//lib/psych/nodes/scalar.rb#28 + # pkg:gem/psych#lib/psych/nodes/scalar.rb:28 def value=(_arg0); end end @@ -1727,7 +1728,7 @@ end # * Psych::Nodes::Scalar # * Psych::Nodes::Alias # -# source://psych//lib/psych/nodes/sequence.rb#41 +# pkg:gem/psych#lib/psych/nodes/sequence.rb:41 class Psych::Nodes::Sequence < ::Psych::Nodes::Node # Create a new object representing a YAML sequence. # @@ -1741,52 +1742,52 @@ class Psych::Nodes::Sequence < ::Psych::Nodes::Node # # @return [Sequence] a new instance of Sequence # - # source://psych//lib/psych/nodes/sequence.rb#73 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:73 def initialize(anchor = T.unsafe(nil), tag = T.unsafe(nil), implicit = T.unsafe(nil), style = T.unsafe(nil)); end # The anchor for this sequence (if any) # - # source://psych//lib/psych/nodes/sequence.rb#52 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:52 def anchor; end # The anchor for this sequence (if any) # - # source://psych//lib/psych/nodes/sequence.rb#52 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:52 def anchor=(_arg0); end # Is this sequence started implicitly? # - # source://psych//lib/psych/nodes/sequence.rb#58 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:58 def implicit; end # Is this sequence started implicitly? # - # source://psych//lib/psych/nodes/sequence.rb#58 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:58 def implicit=(_arg0); end # @return [Boolean] # - # source://psych//lib/psych/nodes/sequence.rb#81 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:81 def sequence?; end # The sequence style used # - # source://psych//lib/psych/nodes/sequence.rb#61 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:61 def style; end # The sequence style used # - # source://psych//lib/psych/nodes/sequence.rb#61 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:61 def style=(_arg0); end # The tag name for this sequence (if any) # - # source://psych//lib/psych/nodes/sequence.rb#55 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:55 def tag; end # The tag name for this sequence (if any) # - # source://psych//lib/psych/nodes/sequence.rb#55 + # pkg:gem/psych#lib/psych/nodes/sequence.rb:55 def tag=(_arg0); end end @@ -1794,7 +1795,7 @@ end # tree. This node must have one or more child nodes. The only valid # child node for a Psych::Nodes::Stream node is Psych::Nodes::Document. # -# source://psych//lib/psych/nodes/stream.rb#8 +# pkg:gem/psych#lib/psych/nodes/stream.rb:8 class Psych::Nodes::Stream < ::Psych::Nodes::Node # Create a new Psych::Nodes::Stream node with an +encoding+ that # defaults to Psych::Nodes::Stream::UTF8. @@ -1803,22 +1804,22 @@ class Psych::Nodes::Stream < ::Psych::Nodes::Node # # @return [Stream] a new instance of Stream # - # source://psych//lib/psych/nodes/stream.rb#32 + # pkg:gem/psych#lib/psych/nodes/stream.rb:32 def initialize(encoding = T.unsafe(nil)); end # The encoding used for this stream # - # source://psych//lib/psych/nodes/stream.rb#25 + # pkg:gem/psych#lib/psych/nodes/stream.rb:25 def encoding; end # The encoding used for this stream # - # source://psych//lib/psych/nodes/stream.rb#25 + # pkg:gem/psych#lib/psych/nodes/stream.rb:25 def encoding=(_arg0); end # @return [Boolean] # - # source://psych//lib/psych/nodes/stream.rb#37 + # pkg:gem/psych#lib/psych/nodes/stream.rb:37 def stream?; end end @@ -1851,32 +1852,32 @@ end # Psych uses Psych::Parser in combination with Psych::TreeBuilder to # construct an AST of the parsed YAML document. # -# source://psych//lib/psych/parser.rb#33 +# pkg:gem/psych#lib/psych.rb:15 class Psych::Parser # Creates a new Psych::Parser instance with +handler+. YAML events will # be called on +handler+. See Psych::Parser for more details. # # @return [Parser] a new instance of Parser # - # source://psych//lib/psych/parser.rb#47 + # pkg:gem/psych#lib/psych/parser.rb:47 def initialize(handler = T.unsafe(nil)); end # Set the encoding for this parser to +encoding+ # - # source://psych//lib/psych/parser.rb#41 + # pkg:gem/psych#lib/psych/parser.rb:41 def external_encoding=(_arg0); end # The handler on which events will be called # - # source://psych//lib/psych/parser.rb#38 + # pkg:gem/psych#lib/psych/parser.rb:38 def handler; end # The handler on which events will be called # - # source://psych//lib/psych/parser.rb#38 + # pkg:gem/psych#lib/psych/parser.rb:38 def handler=(_arg0); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def mark; end # call-seq: @@ -1887,56 +1888,56 @@ class Psych::Parser # # See Psych::Parser and Psych::Parser#handler # - # source://psych//lib/psych/parser.rb#61 + # pkg:gem/psych#lib/psych/parser.rb:61 def parse(yaml, path = T.unsafe(nil)); end private - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def _native_parse(_arg0, _arg1, _arg2); end end # Scan scalars for built in types # -# source://psych//lib/psych/scalar_scanner.rb#6 +# pkg:gem/psych#lib/psych/scalar_scanner.rb:6 class Psych::ScalarScanner # Create a new scanner # # @return [ScalarScanner] a new instance of ScalarScanner # - # source://psych//lib/psych/scalar_scanner.rb#30 + # pkg:gem/psych#lib/psych/scalar_scanner.rb:30 def initialize(class_loader, strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end # Returns the value of attribute class_loader. # - # source://psych//lib/psych/scalar_scanner.rb#27 + # pkg:gem/psych#lib/psych/scalar_scanner.rb:27 def class_loader; end # Parse and return an int from +string+ # - # source://psych//lib/psych/scalar_scanner.rb#109 + # pkg:gem/psych#lib/psych/scalar_scanner.rb:109 def parse_int(string); end # Parse and return a Time from +string+ # - # source://psych//lib/psych/scalar_scanner.rb#115 + # pkg:gem/psych#lib/psych/scalar_scanner.rb:115 def parse_time(string); end # Tokenize +string+ returning the Ruby object # - # source://psych//lib/psych/scalar_scanner.rb#38 + # pkg:gem/psych#lib/psych/scalar_scanner.rb:38 def tokenize(string); end end # Same as above, but allows commas. # Not to YML spec, but kept for backwards compatibility # -# source://psych//lib/psych/scalar_scanner.rb#22 +# pkg:gem/psych#lib/psych/scalar_scanner.rb:22 Psych::ScalarScanner::INTEGER_LEGACY = T.let(T.unsafe(nil), Regexp) # Taken from http://yaml.org/type/int.html and modified to ensure at least one numerical symbol exists # -# source://psych//lib/psych/scalar_scanner.rb#15 +# pkg:gem/psych#lib/psych/scalar_scanner.rb:15 Psych::ScalarScanner::INTEGER_STRICT = T.let(T.unsafe(nil), Regexp) # Psych::Stream is a streaming YAML emitter. It will not buffer your YAML, @@ -1959,80 +1960,80 @@ Psych::ScalarScanner::INTEGER_STRICT = T.let(T.unsafe(nil), Regexp) # em.push(:foo => 'bar') # end # -# source://psych//lib/psych/stream.rb#24 +# pkg:gem/psych#lib/psych/stream.rb:24 class Psych::Stream < ::Psych::Visitors::YAMLTree include ::Psych::Streaming extend ::Psych::Streaming::ClassMethods end -# source://psych//lib/psych/stream.rb#25 +# pkg:gem/psych#lib/psych/stream.rb:25 class Psych::Stream::Emitter < ::Psych::Emitter - # source://psych//lib/psych/stream.rb#26 + # pkg:gem/psych#lib/psych/stream.rb:26 def end_document(implicit_end = T.unsafe(nil)); end # @return [Boolean] # - # source://psych//lib/psych/stream.rb#30 + # pkg:gem/psych#lib/psych/stream.rb:30 def streaming?; end end -# source://psych//lib/psych/streaming.rb#3 +# pkg:gem/psych#lib/psych/streaming.rb:3 module Psych::Streaming # Start streaming using +encoding+ # - # source://psych//lib/psych/streaming.rb#18 + # pkg:gem/psych#lib/psych/streaming.rb:18 def start(encoding = T.unsafe(nil)); end private - # source://psych//lib/psych/streaming.rb#25 + # pkg:gem/psych#lib/psych/streaming.rb:25 def register(target, obj); end end -# source://psych//lib/psych/streaming.rb#4 +# pkg:gem/psych#lib/psych/streaming.rb:4 module Psych::Streaming::ClassMethods # Create a new streaming emitter. Emitter will print to +io+. See # Psych::Stream for an example. # - # source://psych//lib/psych/streaming.rb#8 + # pkg:gem/psych#lib/psych/streaming.rb:8 def new(io); end end -# source://psych//lib/psych/syntax_error.rb#5 +# pkg:gem/psych#lib/psych/syntax_error.rb:5 class Psych::SyntaxError < ::Psych::Exception # @return [SyntaxError] a new instance of SyntaxError # - # source://psych//lib/psych/syntax_error.rb#8 + # pkg:gem/psych#lib/psych/syntax_error.rb:8 def initialize(file, line, col, offset, problem, context); end # Returns the value of attribute column. # - # source://psych//lib/psych/syntax_error.rb#6 + # pkg:gem/psych#lib/psych/syntax_error.rb:6 def column; end # Returns the value of attribute context. # - # source://psych//lib/psych/syntax_error.rb#6 + # pkg:gem/psych#lib/psych/syntax_error.rb:6 def context; end # Returns the value of attribute file. # - # source://psych//lib/psych/syntax_error.rb#6 + # pkg:gem/psych#lib/psych/syntax_error.rb:6 def file; end # Returns the value of attribute line. # - # source://psych//lib/psych/syntax_error.rb#6 + # pkg:gem/psych#lib/psych/syntax_error.rb:6 def line; end # Returns the value of attribute offset. # - # source://psych//lib/psych/syntax_error.rb#6 + # pkg:gem/psych#lib/psych/syntax_error.rb:6 def offset; end # Returns the value of attribute problem. # - # source://psych//lib/psych/syntax_error.rb#6 + # pkg:gem/psych#lib/psych/syntax_error.rb:6 def problem; end end @@ -2048,16 +2049,16 @@ end # See Psych::Handler for documentation on the event methods used in this # class. # -# source://psych//lib/psych/tree_builder.rb#17 +# pkg:gem/psych#lib/psych/tree_builder.rb:17 class Psych::TreeBuilder < ::Psych::Handler # Create a new TreeBuilder instance # # @return [TreeBuilder] a new instance of TreeBuilder # - # source://psych//lib/psych/tree_builder.rb#22 + # pkg:gem/psych#lib/psych/tree_builder.rb:22 def initialize; end - # source://psych//lib/psych/tree_builder.rb#103 + # pkg:gem/psych#lib/psych/tree_builder.rb:103 def alias(anchor); end # Handles end_document events with +version+, +tag_directives+, @@ -2065,27 +2066,27 @@ class Psych::TreeBuilder < ::Psych::Handler # # See Psych::Handler#start_document # - # source://psych//lib/psych/tree_builder.rb#77 + # pkg:gem/psych#lib/psych/tree_builder.rb:77 def end_document(implicit_end = T.unsafe(nil)); end - # source://psych//lib/psych/tree_builder.rb#44 + # pkg:gem/psych#lib/psych/tree_builder.rb:44 def end_mapping; end - # source://psych//lib/psych/tree_builder.rb#44 + # pkg:gem/psych#lib/psych/tree_builder.rb:44 def end_sequence; end - # source://psych//lib/psych/tree_builder.rb#90 + # pkg:gem/psych#lib/psych/tree_builder.rb:90 def end_stream; end - # source://psych//lib/psych/tree_builder.rb#33 + # pkg:gem/psych#lib/psych/tree_builder.rb:33 def event_location(start_line, start_column, end_line, end_column); end # Returns the root node for the built tree # - # source://psych//lib/psych/tree_builder.rb#19 + # pkg:gem/psych#lib/psych/tree_builder.rb:19 def root; end - # source://psych//lib/psych/tree_builder.rb#96 + # pkg:gem/psych#lib/psych/tree_builder.rb:96 def scalar(value, anchor, tag, plain, quoted, style); end # Handles start_document events with +version+, +tag_directives+, @@ -2093,240 +2094,240 @@ class Psych::TreeBuilder < ::Psych::Handler # # See Psych::Handler#start_document # - # source://psych//lib/psych/tree_builder.rb#65 + # pkg:gem/psych#lib/psych/tree_builder.rb:65 def start_document(version, tag_directives, implicit); end - # source://psych//lib/psych/tree_builder.rb#44 + # pkg:gem/psych#lib/psych/tree_builder.rb:44 def start_mapping(anchor, tag, implicit, style); end - # source://psych//lib/psych/tree_builder.rb#44 + # pkg:gem/psych#lib/psych/tree_builder.rb:44 def start_sequence(anchor, tag, implicit, style); end - # source://psych//lib/psych/tree_builder.rb#84 + # pkg:gem/psych#lib/psych/tree_builder.rb:84 def start_stream(encoding); end private - # source://psych//lib/psych/tree_builder.rb#116 + # pkg:gem/psych#lib/psych/tree_builder.rb:116 def pop; end - # source://psych//lib/psych/tree_builder.rb#111 + # pkg:gem/psych#lib/psych/tree_builder.rb:111 def push(value); end - # source://psych//lib/psych/tree_builder.rb#132 + # pkg:gem/psych#lib/psych/tree_builder.rb:132 def set_end_location(node); end - # source://psych//lib/psych/tree_builder.rb#122 + # pkg:gem/psych#lib/psych/tree_builder.rb:122 def set_location(node); end - # source://psych//lib/psych/tree_builder.rb#127 + # pkg:gem/psych#lib/psych/tree_builder.rb:127 def set_start_location(node); end end # The version of Psych you are using # -# source://psych//lib/psych/versions.rb#5 +# pkg:gem/psych#lib/psych/versions.rb:5 Psych::VERSION = T.let(T.unsafe(nil), String) -# source://psych//lib/psych/visitors/depth_first.rb#4 +# pkg:gem/psych#lib/psych/visitors/depth_first.rb:4 class Psych::Visitors::DepthFirst < ::Psych::Visitors::Visitor # @return [DepthFirst] a new instance of DepthFirst # - # source://psych//lib/psych/visitors/depth_first.rb#5 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:5 def initialize(block); end private - # source://psych//lib/psych/visitors/depth_first.rb#11 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:11 def nary(o); end - # source://psych//lib/psych/visitors/depth_first.rb#20 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:20 def terminal(o); end - # source://psych//lib/psych/visitors/depth_first.rb#24 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:24 def visit_Psych_Nodes_Alias(o); end - # source://psych//lib/psych/visitors/depth_first.rb#16 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:16 def visit_Psych_Nodes_Document(o); end - # source://psych//lib/psych/visitors/depth_first.rb#18 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:18 def visit_Psych_Nodes_Mapping(o); end - # source://psych//lib/psych/visitors/depth_first.rb#23 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:23 def visit_Psych_Nodes_Scalar(o); end - # source://psych//lib/psych/visitors/depth_first.rb#17 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:17 def visit_Psych_Nodes_Sequence(o); end - # source://psych//lib/psych/visitors/depth_first.rb#15 + # pkg:gem/psych#lib/psych/visitors/depth_first.rb:15 def visit_Psych_Nodes_Stream(o); end end -# source://psych//lib/psych/visitors/emitter.rb#4 +# pkg:gem/psych#lib/psych/visitors/emitter.rb:4 class Psych::Visitors::Emitter < ::Psych::Visitors::Visitor # @return [Emitter] a new instance of Emitter # - # source://psych//lib/psych/visitors/emitter.rb#5 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:5 def initialize(io, options = T.unsafe(nil)); end - # source://psych//lib/psych/visitors/emitter.rb#47 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:47 def visit_Psych_Nodes_Alias(o); end - # source://psych//lib/psych/visitors/emitter.rb#25 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:25 def visit_Psych_Nodes_Document(o); end - # source://psych//lib/psych/visitors/emitter.rb#41 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:41 def visit_Psych_Nodes_Mapping(o); end - # source://psych//lib/psych/visitors/emitter.rb#31 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:31 def visit_Psych_Nodes_Scalar(o); end - # source://psych//lib/psych/visitors/emitter.rb#35 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:35 def visit_Psych_Nodes_Sequence(o); end - # source://psych//lib/psych/visitors/emitter.rb#19 + # pkg:gem/psych#lib/psych/visitors/emitter.rb:19 def visit_Psych_Nodes_Stream(o); end end -# source://psych//lib/psych/visitors/json_tree.rb#6 +# pkg:gem/psych#lib/psych/visitors/json_tree.rb:6 class Psych::Visitors::JSONTree < ::Psych::Visitors::YAMLTree include ::Psych::JSON::RubyEvents - # source://psych//lib/psych/visitors/json_tree.rb#16 + # pkg:gem/psych#lib/psych/visitors/json_tree.rb:16 def accept(target); end class << self - # source://psych//lib/psych/visitors/json_tree.rb#9 + # pkg:gem/psych#lib/psych/visitors/json_tree.rb:9 def create(options = T.unsafe(nil)); end end end -# source://psych//lib/psych/visitors/to_ruby.rb#473 +# pkg:gem/psych#lib/psych/visitors/to_ruby.rb:473 class Psych::Visitors::NoAliasRuby < ::Psych::Visitors::ToRuby # @raise [AliasesNotEnabled] # - # source://psych//lib/psych/visitors/to_ruby.rb#474 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:474 def visit_Psych_Nodes_Alias(o); end end -# source://psych//lib/psych/visitors/yaml_tree.rb#580 +# pkg:gem/psych#lib/psych/visitors/yaml_tree.rb:580 class Psych::Visitors::RestrictedYAMLTree < ::Psych::Visitors::YAMLTree # @return [RestrictedYAMLTree] a new instance of RestrictedYAMLTree # - # source://psych//lib/psych/visitors/yaml_tree.rb#592 + # pkg:gem/psych#lib/psych/visitors/yaml_tree.rb:592 def initialize(emitter, ss, options); end - # source://psych//lib/psych/visitors/yaml_tree.rb#605 + # pkg:gem/psych#lib/psych/visitors/yaml_tree.rb:605 def accept(target); end - # source://psych//lib/psych/visitors/yaml_tree.rb#617 + # pkg:gem/psych#lib/psych/visitors/yaml_tree.rb:617 def visit_Symbol(sym); end end -# source://psych//lib/psych/visitors/yaml_tree.rb#581 +# pkg:gem/psych#lib/psych/visitors/yaml_tree.rb:581 Psych::Visitors::RestrictedYAMLTree::DEFAULT_PERMITTED_CLASSES = T.let(T.unsafe(nil), Hash) # This class walks a YAML AST, converting each node to Ruby # -# source://psych//lib/psych/visitors/to_ruby.rb#14 +# pkg:gem/psych#lib/psych.rb:15 class Psych::Visitors::ToRuby < ::Psych::Visitors::Visitor # @return [ToRuby] a new instance of ToRuby # - # source://psych//lib/psych/visitors/to_ruby.rb#27 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:27 def initialize(ss, class_loader, symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil)); end - # source://psych//lib/psych/visitors/to_ruby.rb#38 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:38 def accept(target); end # Returns the value of attribute class_loader. # - # source://psych//lib/psych/visitors/to_ruby.rb#25 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:25 def class_loader; end - # source://psych//lib/psych/visitors/to_ruby.rb#356 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:356 def visit_Psych_Nodes_Alias(o); end - # source://psych//lib/psych/visitors/to_ruby.rb#348 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:348 def visit_Psych_Nodes_Document(o); end - # source://psych//lib/psych/visitors/to_ruby.rb#168 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:168 def visit_Psych_Nodes_Mapping(o); end - # source://psych//lib/psych/visitors/to_ruby.rb#132 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:132 def visit_Psych_Nodes_Scalar(o); end - # source://psych//lib/psych/visitors/to_ruby.rb#136 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:136 def visit_Psych_Nodes_Sequence(o); end - # source://psych//lib/psych/visitors/to_ruby.rb#352 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:352 def visit_Psych_Nodes_Stream(o); end private - # source://psych//lib/psych/visitors/to_ruby.rb#373 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:373 def allocate_anon_data(node, members); end - # source://psych//lib/psych.rb#15 + # pkg:gem/psych#lib/psych.rb:15 def build_exception(_arg0, _arg1); end - # source://psych//lib/psych/visitors/to_ruby.rb#438 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:438 def deduplicate(key); end - # source://psych//lib/psych/visitors/to_ruby.rb#55 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:55 def deserialize(o); end - # source://psych//lib/psych/visitors/to_ruby.rb#455 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:455 def init_with(o, h, node); end - # source://psych//lib/psych/visitors/to_ruby.rb#447 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:447 def merge_key(hash, key, val); end - # source://psych//lib/psych/visitors/to_ruby.rb#362 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:362 def register(node, object); end - # source://psych//lib/psych/visitors/to_ruby.rb#367 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:367 def register_empty(object); end # Convert +klassname+ to a Class # - # source://psych//lib/psych/visitors/to_ruby.rb#468 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:468 def resolve_class(klassname); end - # source://psych//lib/psych/visitors/to_ruby.rb#450 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:450 def revive(klass, node); end - # source://psych//lib/psych/visitors/to_ruby.rb#378 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:378 def revive_data_members(hash, o); end - # source://psych//lib/psych/visitors/to_ruby.rb#387 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:387 def revive_hash(hash, o, tagged = T.unsafe(nil)); end class << self - # source://psych//lib/psych/visitors/to_ruby.rb#19 + # pkg:gem/psych#lib/psych/visitors/to_ruby.rb:19 def create(symbolize_names: T.unsafe(nil), freeze: T.unsafe(nil), strict_integer: T.unsafe(nil), parse_symbols: T.unsafe(nil)); end end end -# source://psych//lib/psych/visitors/to_ruby.rb#16 +# pkg:gem/psych#lib/psych/visitors/to_ruby.rb:16 Psych::Visitors::ToRuby::DATA_INITIALIZE = T.let(T.unsafe(nil), UnboundMethod) -# source://psych//lib/psych/visitors/visitor.rb#4 +# pkg:gem/psych#lib/psych.rb:15 class Psych::Visitors::Visitor - # source://psych//lib/psych/visitors/visitor.rb#5 + # pkg:gem/psych#lib/psych/visitors/visitor.rb:5 def accept(target); end private - # source://psych//lib/psych/visitors/visitor.rb#19 + # pkg:gem/psych#lib/psych/visitors/visitor.rb:19 def dispatch; end - # source://psych//lib/psych/visitors/visitor.rb#29 + # pkg:gem/psych#lib/psych/visitors/visitor.rb:29 def visit(target); end class << self # @api private # - # source://psych//lib/psych/visitors/visitor.rb#12 + # pkg:gem/psych#lib/psych/visitors/visitor.rb:12 def dispatch_cache; end end end @@ -2337,206 +2338,219 @@ end # builder << { :foo => 'bar' } # builder.tree # => #self looks like a domain. @@ -194,7 +194,7 @@ class PublicSuffix::Domain # @return [Boolean] # @see #subdomain? # - # source://public_suffix//lib/public_suffix/domain.rb#198 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:198 def domain?; end # Returns the full domain name. @@ -207,12 +207,12 @@ class PublicSuffix::Domain # # => "www.google.com" # @return [String] # - # source://public_suffix//lib/public_suffix/domain.rb#105 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:105 def name; end # Returns the value of attribute sld. # - # source://public_suffix//lib/public_suffix/domain.rb#33 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:33 def sld; end # Returns a subdomain-like representation of this object @@ -243,7 +243,7 @@ class PublicSuffix::Domain # @see #domain # @see #subdomain? # - # source://public_suffix//lib/public_suffix/domain.rb#169 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:169 def subdomain; end # Checks whether self looks like a subdomain. @@ -272,12 +272,12 @@ class PublicSuffix::Domain # @return [Boolean] # @see #domain? # - # source://public_suffix//lib/public_suffix/domain.rb#229 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:229 def subdomain?; end # Returns the value of attribute tld. # - # source://public_suffix//lib/public_suffix/domain.rb#33 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:33 def tld; end # Returns an array containing the domain parts. @@ -291,19 +291,19 @@ class PublicSuffix::Domain # # => [nil, "google", "com"] # @return [Array] # - # source://public_suffix//lib/public_suffix/domain.rb#89 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:89 def to_a; end # Returns a string representation of this object. # # @return [String] # - # source://public_suffix//lib/public_suffix/domain.rb#73 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:73 def to_s; end # Returns the value of attribute trd. # - # source://public_suffix//lib/public_suffix/domain.rb#33 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:33 def trd; end class << self @@ -321,7 +321,7 @@ class PublicSuffix::Domain # @param name [String, #to_s] The domain name to split. # @return [Array] # - # source://public_suffix//lib/public_suffix/domain.rb#28 + # pkg:gem/public_suffix#lib/public_suffix/domain.rb:28 def name_to_labels(name); end end end @@ -337,7 +337,7 @@ end # PublicSuffix.parse("http://www.nic.it") # # => PublicSuffix::DomainInvalid # -# source://public_suffix//lib/public_suffix/errors.rb#25 +# pkg:gem/public_suffix#lib/public_suffix/errors.rb:25 class PublicSuffix::DomainInvalid < ::PublicSuffix::Error; end # Raised when trying to parse a name that matches a suffix. @@ -350,10 +350,10 @@ class PublicSuffix::DomainInvalid < ::PublicSuffix::Error; end # PublicSuffix.parse("www.nic.do") # # => PublicSuffix::Domain # -# source://public_suffix//lib/public_suffix/errors.rb#38 +# pkg:gem/public_suffix#lib/public_suffix/errors.rb:38 class PublicSuffix::DomainNotAllowed < ::PublicSuffix::DomainInvalid; end -# source://public_suffix//lib/public_suffix/errors.rb#11 +# pkg:gem/public_suffix#lib/public_suffix/errors.rb:11 class PublicSuffix::Error < ::StandardError; end # A {PublicSuffix::List} is a collection of one @@ -385,7 +385,7 @@ class PublicSuffix::Error < ::StandardError; end # The {PublicSuffix::List.default} rule list is used # to tokenize and validate a domain. # -# source://public_suffix//lib/public_suffix/list.rb#40 +# pkg:gem/public_suffix#lib/public_suffix/list.rb:40 class PublicSuffix::List # Initializes an empty {PublicSuffix::List}. # @@ -393,7 +393,7 @@ class PublicSuffix::List # @yield [self] Yields on self. # @yieldparam self [PublicSuffix::List] The newly created instance. # - # source://public_suffix//lib/public_suffix/list.rb#106 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:106 def initialize; end # Adds the given object to the list and optionally refreshes the rule index. @@ -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#145 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:145 def <<(rule); end # Checks whether two lists are equal. @@ -413,7 +413,7 @@ class PublicSuffix::List # @param other [PublicSuffix::List] the List to compare # @return [Boolean] # - # source://public_suffix//lib/public_suffix/list.rb#120 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:120 def ==(other); end # Adds the given object to the list and optionally refreshes the rule index. @@ -421,14 +421,14 @@ 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 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:141 def add(rule); end # Removes all rules. # # @return [self] # - # source://public_suffix//lib/public_suffix/list.rb#164 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:164 def clear; end # Gets the default rule. @@ -436,19 +436,19 @@ class PublicSuffix::List # @return [PublicSuffix::Rule::*] # @see PublicSuffix::Rule.default_rule # - # source://public_suffix//lib/public_suffix/list.rb#226 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:226 def default_rule; end # Iterates each rule in the list. # - # source://public_suffix//lib/public_suffix/list.rb#128 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:128 def each(&block); end # Checks whether the list is empty. # # @return [Boolean] # - # source://public_suffix//lib/public_suffix/list.rb#157 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:157 def empty?; 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#125 + # pkg:gem/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. @@ -469,29 +469,29 @@ class PublicSuffix::List # @param name [#to_s] the hostname # @return [PublicSuffix::Rule::*] # - # source://public_suffix//lib/public_suffix/list.rb#174 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:174 def find(name, default: T.unsafe(nil), **options); end # Gets the number of rules in the list. # # @return [Integer] # - # source://public_suffix//lib/public_suffix/list.rb#150 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:150 def size; end protected # Returns the value of attribute rules. # - # source://public_suffix//lib/public_suffix/list.rb#233 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:233 def rules; end private - # source://public_suffix//lib/public_suffix/list.rb#238 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:238 def entry_to_rule(entry, value); end - # source://public_suffix//lib/public_suffix/list.rb#242 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:242 def rule_to_entry(rule); end # Selects all the rules matching given hostame. @@ -511,7 +511,7 @@ class PublicSuffix::List # @param name [#to_s] the hostname # @return [Array] # - # source://public_suffix//lib/public_suffix/list.rb#199 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:199 def select(name, ignore_private: T.unsafe(nil)); end class << self @@ -522,7 +522,7 @@ class PublicSuffix::List # # @return [PublicSuffix::List] # - # source://public_suffix//lib/public_suffix/list.rb#50 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:50 def default(**options); end # Sets the default rule list to +value+. @@ -530,7 +530,7 @@ class PublicSuffix::List # @param value [PublicSuffix::List] the new list # @return [PublicSuffix::List] # - # source://public_suffix//lib/public_suffix/list.rb#58 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:58 def default=(value); end # Parse given +input+ treating the content as Public Suffix List. @@ -541,12 +541,12 @@ class PublicSuffix::List # @param private_domains [Boolean] whether to ignore the private domains section # @return [PublicSuffix::List] # - # source://public_suffix//lib/public_suffix/list.rb#69 + # pkg:gem/public_suffix#lib/public_suffix/list.rb:69 def parse(input, private_domains: T.unsafe(nil)); end end end -# source://public_suffix//lib/public_suffix/list.rb#42 +# pkg:gem/public_suffix#lib/public_suffix/list.rb:42 PublicSuffix::List::DEFAULT_LIST_PATH = T.let(T.unsafe(nil), String) # A Rule is a special object which holds a single definition @@ -560,7 +560,7 @@ PublicSuffix::List::DEFAULT_LIST_PATH = T.let(T.unsafe(nil), String) # PublicSuffix::Rule.factory("ar") # # => # # -# source://public_suffix//lib/public_suffix/rule.rb#22 +# pkg:gem/public_suffix#lib/public_suffix/rule.rb:22 module PublicSuffix::Rule class << self # The default rule to use if no rule match. @@ -571,7 +571,7 @@ module PublicSuffix::Rule # # @return [PublicSuffix::Rule::Wildcard] The default rule. # - # source://public_suffix//lib/public_suffix/rule.rb#344 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:344 def default; end # Takes the +name+ of the rule, detects the specific rule class @@ -590,7 +590,7 @@ module PublicSuffix::Rule # @param content [#to_s] the content of the rule # @return [PublicSuffix::Rule::*] A rule instance. # - # source://public_suffix//lib/public_suffix/rule.rb#326 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:326 def factory(content, private: T.unsafe(nil)); end end end @@ -670,7 +670,7 @@ end # # @abstract # -# source://public_suffix//lib/public_suffix/rule.rb#102 +# pkg:gem/public_suffix#lib/public_suffix/rule.rb:102 class PublicSuffix::Rule::Base # Initializes a new rule. # @@ -678,7 +678,7 @@ class PublicSuffix::Rule::Base # @param value [String] # @return [Base] a new instance of Base # - # source://public_suffix//lib/public_suffix/rule.rb#126 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:126 def initialize(value:, length: T.unsafe(nil), private: T.unsafe(nil)); end # Checks whether this rule is equal to other. @@ -687,7 +687,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 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:137 def ==(other); end # @abstract @@ -695,7 +695,7 @@ class PublicSuffix::Rule::Base # @raise [NotImplementedError] # @return [Array] # - # source://public_suffix//lib/public_suffix/rule.rb#180 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:180 def decompose(*_arg0); end # Checks whether this rule is equal to other. @@ -704,12 +704,12 @@ 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#140 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:140 def eql?(other); end # @return [String] the length of the rule # - # source://public_suffix//lib/public_suffix/rule.rb#108 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:108 def length; end # Checks if this rule matches +name+. @@ -732,23 +732,23 @@ class PublicSuffix::Rule::Base # @return [Boolean] # @see https://publicsuffix.org/list/ # - # source://public_suffix//lib/public_suffix/rule.rb#163 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:163 def match?(name); end # @abstract # @raise [NotImplementedError] # - # source://public_suffix//lib/public_suffix/rule.rb#173 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:173 def parts; end # @return [Boolean] true if the rule is a private domain # - # source://public_suffix//lib/public_suffix/rule.rb#111 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:111 def private; end # @return [String] the rule definition # - # source://public_suffix//lib/public_suffix/rule.rb#105 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:105 def value; end class << self @@ -757,20 +757,20 @@ class PublicSuffix::Rule::Base # @param content [String] the content of the rule # @param private [Boolean] # - # source://public_suffix//lib/public_suffix/rule.rb#118 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:118 def build(content, private: T.unsafe(nil)); end end end # @api internal # -# source://public_suffix//lib/public_suffix/rule.rb#25 +# pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 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 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def length; end # Sets the attribute length @@ -778,14 +778,14 @@ class PublicSuffix::Rule::Entry < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def private; end # Sets the attribute private @@ -793,14 +793,14 @@ class PublicSuffix::Rule::Entry < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def type; end # Sets the attribute type @@ -808,37 +808,37 @@ class PublicSuffix::Rule::Entry < ::Struct # @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 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def type=(_); end class << self - # source://public_suffix//lib/public_suffix/rule.rb#25 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def [](*_arg0); end - # source://public_suffix//lib/public_suffix/rule.rb#25 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def inspect; end - # source://public_suffix//lib/public_suffix/rule.rb#25 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def keyword_init?; end - # source://public_suffix//lib/public_suffix/rule.rb#25 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def members; end - # source://public_suffix//lib/public_suffix/rule.rb#25 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:25 def new(*_arg0); end end end # Exception represents an exception rule (e.g. !parliament.uk). # -# source://public_suffix//lib/public_suffix/rule.rb#265 +# pkg:gem/public_suffix#lib/public_suffix/rule.rb:265 class PublicSuffix::Rule::Exception < ::PublicSuffix::Rule::Base # Decomposes the domain name according to rule properties. # # @param domain [#to_s] The domain name to decompose # @return [Array] The array with [trd + sld, tld]. # - # source://public_suffix//lib/public_suffix/rule.rb#286 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:286 def decompose(domain); end # dot-split rule value and returns all rule parts @@ -851,14 +851,14 @@ class PublicSuffix::Rule::Exception < ::PublicSuffix::Rule::Base # # @return [Array] # - # source://public_suffix//lib/public_suffix/rule.rb#301 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:301 def parts; end # Gets the original rule definition. # # @return [String] The rule definition. # - # source://public_suffix//lib/public_suffix/rule.rb#278 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:278 def rule; end class << self @@ -867,21 +867,21 @@ class PublicSuffix::Rule::Exception < ::PublicSuffix::Rule::Base # @param content [#to_s] the content of the rule # @param private [Boolean] # - # source://public_suffix//lib/public_suffix/rule.rb#271 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:271 def build(content, private: T.unsafe(nil)); end end end # Normal represents a standard rule (e.g. com). # -# source://public_suffix//lib/public_suffix/rule.rb#187 +# pkg:gem/public_suffix#lib/public_suffix/rule.rb:187 class PublicSuffix::Rule::Normal < ::PublicSuffix::Rule::Base # Decomposes the domain name according to rule properties. # # @param domain [#to_s] The domain name to decompose # @return [Array] The array with [trd + sld, tld]. # - # source://public_suffix//lib/public_suffix/rule.rb#200 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:200 def decompose(domain); end # dot-split rule value and returns all rule parts @@ -889,20 +889,20 @@ class PublicSuffix::Rule::Normal < ::PublicSuffix::Rule::Base # # @return [Array] # - # source://public_suffix//lib/public_suffix/rule.rb#210 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:210 def parts; end # Gets the original rule definition. # # @return [String] The rule definition. # - # source://public_suffix//lib/public_suffix/rule.rb#192 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:192 def rule; end end # Wildcard represents a wildcard rule (e.g. *.co.uk). # -# source://public_suffix//lib/public_suffix/rule.rb#217 +# pkg:gem/public_suffix#lib/public_suffix/rule.rb:217 class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base # Initializes a new rule. # @@ -911,7 +911,7 @@ class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base # @param value [String] # @return [Wildcard] a new instance of Wildcard # - # source://public_suffix//lib/public_suffix/rule.rb#232 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:232 def initialize(value:, length: T.unsafe(nil), private: T.unsafe(nil)); end # Decomposes the domain name according to rule properties. @@ -919,7 +919,7 @@ class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base # @param domain [#to_s] The domain name to decompose # @return [Array] The array with [trd + sld, tld]. # - # source://public_suffix//lib/public_suffix/rule.rb#248 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:248 def decompose(domain); end # dot-split rule value and returns all rule parts @@ -927,14 +927,14 @@ class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base # # @return [Array] # - # source://public_suffix//lib/public_suffix/rule.rb#258 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:258 def parts; end # Gets the original rule definition. # # @return [String] The rule definition. # - # source://public_suffix//lib/public_suffix/rule.rb#240 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:240 def rule; end class << self @@ -943,15 +943,15 @@ class PublicSuffix::Rule::Wildcard < ::PublicSuffix::Rule::Base # @param content [String] the content of the rule # @param private [Boolean] # - # source://public_suffix//lib/public_suffix/rule.rb#223 + # pkg:gem/public_suffix#lib/public_suffix/rule.rb:223 def build(content, private: T.unsafe(nil)); end end end -# source://public_suffix//lib/public_suffix.rb#27 +# pkg:gem/public_suffix#lib/public_suffix.rb:27 PublicSuffix::STAR = T.let(T.unsafe(nil), String) # @return [String] the current library version # -# source://public_suffix//lib/public_suffix/version.rb#12 +# pkg:gem/public_suffix#lib/public_suffix/version.rb:12 PublicSuffix::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/racc@1.8.1.rbi b/sorbet/rbi/gems/racc@1.8.1.rbi index f3f00f0e9..3093bab7a 100644 --- a/sorbet/rbi/gems/racc@1.8.1.rbi +++ b/sorbet/rbi/gems/racc@1.8.1.rbi @@ -5,37 +5,38 @@ # Please instead update this file by running `bin/tapioca gem racc`. -# source://racc//lib/racc/parser.rb#19 +# pkg:gem/racc#lib/racc/parser.rb:19 ParseError = Racc::ParseError -# source://racc//lib/racc/info.rb#17 +# pkg:gem/racc#lib/racc/info.rb:17 Racc::Copyright = T.let(T.unsafe(nil), String) +# pkg:gem/racc#lib/racc/parser.rb:195 class Racc::CparseParams; end -# source://racc//lib/racc/parser.rb#184 +# pkg:gem/racc#lib/racc/parser.rb:184 class Racc::Parser - # source://racc//lib/racc/parser.rb#279 + # pkg:gem/racc#lib/racc/parser.rb:279 def _racc_do_parse_rb(arg, in_debug); end - # source://racc//lib/racc/parser.rb#479 + # pkg:gem/racc#lib/racc/parser.rb:479 def _racc_do_reduce(arg, act); end # common # - # source://racc//lib/racc/parser.rb#382 + # pkg:gem/racc#lib/racc/parser.rb:382 def _racc_evalact(act, arg); end - # source://racc//lib/racc/parser.rb#232 + # pkg:gem/racc#lib/racc/parser.rb:232 def _racc_init_sysvars; end - # source://racc//lib/racc/parser.rb#220 + # pkg:gem/racc#lib/racc/parser.rb:220 def _racc_setup; end - # source://racc//lib/racc/parser.rb#329 + # pkg:gem/racc#lib/racc/parser.rb:329 def _racc_yyparse_rb(recv, mid, arg, c_debug); end - # source://racc//lib/racc/parser.rb#261 + # pkg:gem/racc#lib/racc/parser.rb:261 def do_parse; end # The method to fetch next token. @@ -49,7 +50,7 @@ class Racc::Parser # # @raise [NotImplementedError] # - # source://racc//lib/racc/parser.rb#275 + # pkg:gem/racc#lib/racc/parser.rb:275 def next_token; end # This method is called when a parse error is found. @@ -69,100 +70,104 @@ class Racc::Parser # # @raise [ParseError] # - # source://racc//lib/racc/parser.rb#535 + # pkg:gem/racc#lib/racc/parser.rb:535 def on_error(t, val, vstack); end - # source://racc//lib/racc/parser.rb#584 + # pkg:gem/racc#lib/racc/parser.rb:584 def racc_accept; end - # source://racc//lib/racc/parser.rb#589 + # pkg:gem/racc#lib/racc/parser.rb:589 def racc_e_pop(state, tstack, vstack); end - # source://racc//lib/racc/parser.rb#596 + # pkg:gem/racc#lib/racc/parser.rb:596 def racc_next_state(curstate, state); end - # source://racc//lib/racc/parser.rb#602 + # pkg:gem/racc#lib/racc/parser.rb:602 def racc_print_stacks(t, v); end - # source://racc//lib/racc/parser.rb#611 + # pkg:gem/racc#lib/racc/parser.rb:611 def racc_print_states(s); end # For debugging output # - # source://racc//lib/racc/parser.rb#558 + # pkg:gem/racc#lib/racc/parser.rb:558 def racc_read_token(t, tok, val); end - # source://racc//lib/racc/parser.rb#571 + # pkg:gem/racc#lib/racc/parser.rb:571 def racc_reduce(toks, sim, tstack, vstack); end - # source://racc//lib/racc/parser.rb#565 + # pkg:gem/racc#lib/racc/parser.rb:565 def racc_shift(tok, tstack, vstack); end - # source://racc//lib/racc/parser.rb#618 + # pkg:gem/racc#lib/racc/parser.rb:618 def racc_token2str(tok); end # Convert internal ID of token symbol to the string. # - # source://racc//lib/racc/parser.rb#624 + # pkg:gem/racc#lib/racc/parser.rb:624 def token_to_str(t); end # Exit parser. # Return value is +Symbol_Value_Stack[0]+. # - # source://racc//lib/racc/parser.rb#548 + # pkg:gem/racc#lib/racc/parser.rb:548 def yyaccept; end # Leave error recovering mode. # - # source://racc//lib/racc/parser.rb#553 + # pkg:gem/racc#lib/racc/parser.rb:553 def yyerrok; end # Enter error recovering mode. # This method does not call #on_error. # - # source://racc//lib/racc/parser.rb#542 + # pkg:gem/racc#lib/racc/parser.rb:542 def yyerror; end - # source://racc//lib/racc/parser.rb#323 + # pkg:gem/racc#lib/racc/parser.rb:323 def yyparse(recv, mid); end private - # source://racc//lib/racc/parser.rb#195 + # pkg:gem/racc#lib/racc/parser.rb:195 def _racc_do_parse_c(_arg0, _arg1); end - # source://racc//lib/racc/parser.rb#195 + # pkg:gem/racc#lib/racc/parser.rb:195 def _racc_yyparse_c(_arg0, _arg1, _arg2, _arg3); end class << self - # source://racc//lib/racc/parser.rb#216 + # pkg:gem/racc#lib/racc/parser.rb:216 def racc_runtime_type; end end end -# source://racc//lib/racc/parser.rb#205 +# pkg:gem/racc#lib/racc/parser.rb:205 Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol) -# source://racc//lib/racc/parser.rb#207 +Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String) + +# pkg:gem/racc#lib/racc/parser.rb:207 Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String) -# source://racc//lib/racc/parser.rb#187 +Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String) + +# pkg:gem/racc#lib/racc/parser.rb:187 Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String) -# source://racc//lib/racc/parser.rb#208 +# pkg:gem/racc#lib/racc/parser.rb:208 Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String) -# source://racc//lib/racc/parser.rb#186 +# pkg:gem/racc#lib/racc/parser.rb:186 Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String) -# source://racc//lib/racc/parser.rb#206 +# pkg:gem/racc#lib/racc/parser.rb:206 Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol) -# source://racc//lib/racc/parser.rb#181 +# pkg:gem/racc#lib/racc/parser.rb:181 Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass) -# source://racc//lib/racc/info.rb#15 +# pkg:gem/racc#lib/racc/info.rb:15 Racc::VERSION = T.let(T.unsafe(nil), String) -# source://racc//lib/racc/info.rb#16 +# pkg:gem/racc#lib/racc/info.rb:16 Racc::Version = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rack-session@2.1.1.rbi b/sorbet/rbi/gems/rack-session@2.1.1.rbi index ecce91f0c..8a36372c6 100644 --- a/sorbet/rbi/gems/rack-session@2.1.1.rbi +++ b/sorbet/rbi/gems/rack-session@2.1.1.rbi @@ -5,21 +5,21 @@ # Please instead update this file by running `bin/tapioca gem rack-session`. -# source://rack-session//lib/rack/session/constants.rb#7 +# pkg:gem/rack-session#lib/rack/session/constants.rb:7 module Rack; end -# source://rack-session//lib/rack/session/constants.rb#8 +# pkg:gem/rack-session#lib/rack/session/constants.rb:8 module Rack::Session; end -# source://rack-session//lib/rack/session/abstract/id.rb#47 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:47 module Rack::Session::Abstract; end -# source://rack-session//lib/rack/session/abstract/id.rb#499 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:499 class Rack::Session::Abstract::ID < ::Rack::Session::Abstract::Persisted # All thread safety and session destroy procedures should occur here. # Should return a new session id or nil if options[:drop] # - # source://rack-session//lib/rack/session/abstract/id.rb#529 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:529 def delete_session(req, sid, options); end # All thread safety and session retrieval procedures should occur here. @@ -27,20 +27,20 @@ class Rack::Session::Abstract::ID < ::Rack::Session::Abstract::Persisted # If nil is provided as the session id, generation of a new valid id # should occur within. # - # source://rack-session//lib/rack/session/abstract/id.rb#514 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:514 def find_session(req, sid); end # All thread safety and session storage procedures should occur here. # Must return the session id if the session was saved successfully, or # false if the session could not be saved. # - # source://rack-session//lib/rack/session/abstract/id.rb#522 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:522 def write_session(req, sid, session, options); end class << self # @private # - # source://rack-session//lib/rack/session/abstract/id.rb#500 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:500 def inherited(klass); end end end @@ -74,14 +74,14 @@ end # Not included by default; you must require 'rack/session/abstract/id' # to use. # -# source://rack-session//lib/rack/session/abstract/id.rb#239 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:239 class Rack::Session::Abstract::Persisted # @return [Persisted] a new instance of Persisted # - # source://rack-session//lib/rack/session/abstract/id.rb#257 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:257 def initialize(app, options = T.unsafe(nil)); end - # source://rack-session//lib/rack/session/abstract/id.rb#267 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:267 def call(env); end # Acquires the session from the environment and the session id from @@ -89,30 +89,30 @@ class Rack::Session::Abstract::Persisted # and the :defer option is not true, a cookie will be added to the # response with the session's id. # - # source://rack-session//lib/rack/session/abstract/id.rb#381 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:381 def commit_session(req, res); end - # source://rack-session//lib/rack/session/abstract/id.rb#271 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:271 def context(env, app = T.unsafe(nil)); end # Returns the value of attribute default_options. # - # source://rack-session//lib/rack/session/abstract/id.rb#255 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:255 def default_options; end # Returns the value of attribute key. # - # source://rack-session//lib/rack/session/abstract/id.rb#255 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:255 def key; end # Returns the value of attribute same_site. # - # source://rack-session//lib/rack/session/abstract/id.rb#255 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:255 def same_site; end # Returns the value of attribute sid_secure. # - # source://rack-session//lib/rack/session/abstract/id.rb#255 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:255 def sid_secure; end private @@ -122,26 +122,26 @@ class Rack::Session::Abstract::Persisted # # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#350 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:350 def commit_session?(req, session, options); end - # source://rack-session//lib/rack/session/abstract/id.rb#416 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:416 def cookie_value(data); end # Returns the current session id from the SessionHash. # - # source://rack-session//lib/rack/session/abstract/id.rb#336 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:336 def current_session_id(req); end # All thread safety and session destroy procedures should occur here. # Should return a new session id or nil if options[:drop] # - # source://rack-session//lib/rack/session/abstract/id.rb#455 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:455 def delete_session(req, sid, options); end # Extract session id from request object. # - # source://rack-session//lib/rack/session/abstract/id.rb#328 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:328 def extract_session_id(request); end # All thread safety and session retrieval procedures should occur here. @@ -149,235 +149,235 @@ class Rack::Session::Abstract::Persisted # If nil is provided as the session id, generation of a new valid id # should occur within. # - # source://rack-session//lib/rack/session/abstract/id.rb#440 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:440 def find_session(env, sid); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#367 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:367 def force_options?(options); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#363 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:363 def forced_session_update?(session, options); end # Generate a new session id using Ruby #rand. The size of the # session id is controlled by the :sidbits option. # Monkey patch this to use custom methods for session id generation. # - # source://rack-session//lib/rack/session/abstract/id.rb#296 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:296 def generate_sid(secure = T.unsafe(nil)); end - # source://rack-session//lib/rack/session/abstract/id.rb#286 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:286 def initialize_sid; end # Extracts the session id from provided cookies and passes it and the # environment to #find_session. # - # source://rack-session//lib/rack/session/abstract/id.rb#320 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:320 def load_session(req); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#359 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:359 def loaded_session?(session); end - # source://rack-session//lib/rack/session/abstract/id.rb#282 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:282 def make_request(env); end # Sets the lazy session at 'rack.session' and places options and session # metadata into 'rack.session.options'. # - # source://rack-session//lib/rack/session/abstract/id.rb#309 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:309 def prepare_session(req); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#371 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:371 def security_matches?(request, options); end # Allow subclasses to prepare_session for different Session classes # - # source://rack-session//lib/rack/session/abstract/id.rb#431 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:431 def session_class; end # Check if the session exists or not. # # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#342 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:342 def session_exists?(req); end # Sets the cookie back to the client with session id. We skip the cookie # setting if the value didn't change (sid is the same) or expires was given. # - # source://rack-session//lib/rack/session/abstract/id.rb#423 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:423 def set_cookie(request, response, cookie); end # All thread safety and session storage procedures should occur here. # Must return the session id if the session was saved successfully, or # false if the session could not be saved. # - # source://rack-session//lib/rack/session/abstract/id.rb#448 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:448 def write_session(req, sid, session, options); end end -# source://rack-session//lib/rack/session/abstract/id.rb#240 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:240 Rack::Session::Abstract::Persisted::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://rack-session//lib/rack/session/abstract/id.rb#460 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:460 class Rack::Session::Abstract::PersistedSecure < ::Rack::Session::Abstract::Persisted - # source://rack-session//lib/rack/session/abstract/id.rb#483 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:483 def extract_session_id(*_arg0); end - # source://rack-session//lib/rack/session/abstract/id.rb#477 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:477 def generate_sid(*_arg0); end private - # source://rack-session//lib/rack/session/abstract/id.rb#494 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:494 def cookie_value(data); end - # source://rack-session//lib/rack/session/abstract/id.rb#490 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:490 def session_class; end end -# source://rack-session//lib/rack/session/abstract/id.rb#461 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:461 class Rack::Session::Abstract::PersistedSecure::SecureSessionHash < ::Rack::Session::Abstract::SessionHash - # source://rack-session//lib/rack/session/abstract/id.rb#462 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:462 def [](key); end end # SessionHash is responsible to lazily load the session from store. # -# source://rack-session//lib/rack/session/abstract/id.rb#50 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:50 class Rack::Session::Abstract::SessionHash include ::Enumerable # @return [SessionHash] a new instance of SessionHash # - # source://rack-session//lib/rack/session/abstract/id.rb#68 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:68 def initialize(store, req); end - # source://rack-session//lib/rack/session/abstract/id.rb#88 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:88 def [](key); end - # source://rack-session//lib/rack/session/abstract/id.rb#114 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:114 def []=(key, value); end - # source://rack-session//lib/rack/session/abstract/id.rb#120 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:120 def clear; end - # source://rack-session//lib/rack/session/abstract/id.rb#146 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:146 def delete(key); end - # source://rack-session//lib/rack/session/abstract/id.rb#125 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:125 def destroy; end - # source://rack-session//lib/rack/session/abstract/id.rb#93 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:93 def dig(key, *keys); end - # source://rack-session//lib/rack/session/abstract/id.rb#83 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:83 def each(&block); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#169 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:169 def empty?; end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#159 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:159 def exists?; end - # source://rack-session//lib/rack/session/abstract/id.rb#98 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:98 def fetch(key, default = T.unsafe(nil), &block); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#107 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:107 def has_key?(key); end - # source://rack-session//lib/rack/session/abstract/id.rb#74 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:74 def id; end # Sets the attribute id # # @param value the value to set the attribute id to. # - # source://rack-session//lib/rack/session/abstract/id.rb#52 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:52 def id=(_arg0); end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#112 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:112 def include?(key); end - # source://rack-session//lib/rack/session/abstract/id.rb#151 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:151 def inspect; end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#111 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:111 def key?(key); end - # source://rack-session//lib/rack/session/abstract/id.rb#174 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:174 def keys; end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#165 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:165 def loaded?; end - # source://rack-session//lib/rack/session/abstract/id.rb#139 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:139 def merge!(hash); end - # source://rack-session//lib/rack/session/abstract/id.rb#79 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:79 def options; end - # source://rack-session//lib/rack/session/abstract/id.rb#141 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:141 def replace(hash); end - # source://rack-session//lib/rack/session/abstract/id.rb#118 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:118 def store(key, value); end - # source://rack-session//lib/rack/session/abstract/id.rb#130 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:130 def to_hash; end - # source://rack-session//lib/rack/session/abstract/id.rb#135 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:135 def update(hash); end - # source://rack-session//lib/rack/session/abstract/id.rb#179 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:179 def values; end private - # source://rack-session//lib/rack/session/abstract/id.rb#194 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:194 def load!; end - # source://rack-session//lib/rack/session/abstract/id.rb#186 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:186 def load_for_read!; end - # source://rack-session//lib/rack/session/abstract/id.rb#190 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:190 def load_for_write!; end - # source://rack-session//lib/rack/session/abstract/id.rb#200 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:200 def stringify_keys(other); end class << self - # source://rack-session//lib/rack/session/abstract/id.rb#56 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:56 def find(req); end - # source://rack-session//lib/rack/session/abstract/id.rb#60 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:60 def set(req, session); end - # source://rack-session//lib/rack/session/abstract/id.rb#64 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:64 def set_options(req, options); end end end -# source://rack-session//lib/rack/session/abstract/id.rb#54 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:54 Rack::Session::Abstract::SessionHash::Unspecified = T.let(T.unsafe(nil), Object) # Rack::Session::Cookie provides simple cookie based session management. @@ -443,46 +443,46 @@ Rack::Session::Abstract::SessionHash::Unspecified = T.let(T.unsafe(nil), Object) # }.new # }) # -# source://rack-session//lib/rack/session/cookie.rb#91 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:91 class Rack::Session::Cookie < ::Rack::Session::Abstract::PersistedSecure # @return [Cookie] a new instance of Cookie # - # source://rack-session//lib/rack/session/cookie.rb#159 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:159 def initialize(app, options = T.unsafe(nil)); end # Returns the value of attribute coder. # - # source://rack-session//lib/rack/session/cookie.rb#157 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:157 def coder; end # Returns the value of attribute encryptors. # - # source://rack-session//lib/rack/session/cookie.rb#157 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:157 def encryptors; end private - # source://rack-session//lib/rack/session/cookie.rb#277 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:277 def delete_session(req, session_id, options); end - # source://rack-session//lib/rack/session/cookie.rb#292 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:292 def encode_session_data(session); end - # source://rack-session//lib/rack/session/cookie.rb#209 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:209 def extract_session_id(request); end - # source://rack-session//lib/rack/session/cookie.rb#203 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:203 def find_session(req, sid); end # @return [Boolean] # - # source://rack-session//lib/rack/session/cookie.rb#282 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:282 def legacy_digest_match?(data, digest); end - # source://rack-session//lib/rack/session/cookie.rb#288 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:288 def legacy_generate_hmac(data); end - # source://rack-session//lib/rack/session/cookie.rb#250 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:250 def persistent_session_id!(data, sid = T.unsafe(nil)); end # Were consider "secure" if: @@ -494,93 +494,93 @@ class Rack::Session::Cookie < ::Rack::Session::Abstract::PersistedSecure # # @return [Boolean] # - # source://rack-session//lib/rack/session/cookie.rb#306 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:306 def secure?(options); end - # source://rack-session//lib/rack/session/cookie.rb#213 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:213 def unpacked_cookie_data(request); end - # source://rack-session//lib/rack/session/cookie.rb#265 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:265 def write_session(req, session_id, session, options); end end # Encode session cookies as Base64 # -# source://rack-session//lib/rack/session/cookie.rb#93 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:93 class Rack::Session::Cookie::Base64 - # source://rack-session//lib/rack/session/cookie.rb#98 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:98 def decode(str); end - # source://rack-session//lib/rack/session/cookie.rb#94 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:94 def encode(str); end end # N.B. Unlike other encoding methods, the contained objects must be a # valid JSON composite type, either a Hash or an Array. # -# source://rack-session//lib/rack/session/cookie.rb#116 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:116 class Rack::Session::Cookie::Base64::JSON < ::Rack::Session::Cookie::Base64 - # source://rack-session//lib/rack/session/cookie.rb#121 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:121 def decode(str); end - # source://rack-session//lib/rack/session/cookie.rb#117 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:117 def encode(obj); end end # Encode session cookies as Marshaled Base64 data # -# source://rack-session//lib/rack/session/cookie.rb#103 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:103 class Rack::Session::Cookie::Base64::Marshal < ::Rack::Session::Cookie::Base64 - # source://rack-session//lib/rack/session/cookie.rb#108 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:108 def decode(str); end - # source://rack-session//lib/rack/session/cookie.rb#104 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:104 def encode(str); end end -# source://rack-session//lib/rack/session/cookie.rb#127 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:127 class Rack::Session::Cookie::Base64::ZipJSON < ::Rack::Session::Cookie::Base64 - # source://rack-session//lib/rack/session/cookie.rb#132 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:132 def decode(str); end - # source://rack-session//lib/rack/session/cookie.rb#128 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:128 def encode(obj); end end # Use no encoding for session cookies # -# source://rack-session//lib/rack/session/cookie.rb#142 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:142 class Rack::Session::Cookie::Identity - # source://rack-session//lib/rack/session/cookie.rb#144 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:144 def decode(str); end - # source://rack-session//lib/rack/session/cookie.rb#143 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:143 def encode(str); end end -# source://rack-session//lib/rack/session/cookie.rb#147 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:147 class Rack::Session::Cookie::Marshal - # source://rack-session//lib/rack/session/cookie.rb#152 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:152 def decode(str); end - # source://rack-session//lib/rack/session/cookie.rb#148 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:148 def encode(str); end end -# source://rack-session//lib/rack/session/cookie.rb#256 +# pkg:gem/rack-session#lib/rack/session/cookie.rb:256 class Rack::Session::Cookie::SessionId # @return [SessionId] a new instance of SessionId # - # source://rack-session//lib/rack/session/cookie.rb#259 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:259 def initialize(session_id, cookie_value); end # Returns the value of attribute cookie_value. # - # source://rack-session//lib/rack/session/cookie.rb#257 + # pkg:gem/rack-session#lib/rack/session/cookie.rb:257 def cookie_value; end end -# source://rack-session//lib/rack/session/encryptor.rb#16 +# pkg:gem/rack-session#lib/rack/session/encryptor.rb:16 class Rack::Session::Encryptor # The secret String must be at least 64 bytes in size. The first 32 bytes # will be used for the encryption cipher key. The remainder will be used @@ -613,110 +613,110 @@ class Rack::Session::Encryptor # @raise [ArgumentError] # @return [Encryptor] a new instance of Encryptor # - # source://rack-session//lib/rack/session/encryptor.rb#53 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:53 def initialize(secret, opts = T.unsafe(nil)); end - # source://rack-session//lib/rack/session/encryptor.rb#77 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:77 def decrypt(base64_data); end - # source://rack-session//lib/rack/session/encryptor.rb#102 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:102 def encrypt(message); end private - # source://rack-session//lib/rack/session/encryptor.rb#139 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:139 def cipher_secret_from_message_secret(message_secret); end - # source://rack-session//lib/rack/session/encryptor.rb#151 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:151 def compute_signature(data); end # Return the deserialized message. The first 2 bytes will be read as the # amount of padding. # - # source://rack-session//lib/rack/session/encryptor.rb#182 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:182 def deserialized_message(data); end - # source://rack-session//lib/rack/session/encryptor.rb#129 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:129 def new_cipher; end - # source://rack-session//lib/rack/session/encryptor.rb#133 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:133 def new_message_and_cipher_secret; end # Returns a serialized payload of the message. If a :pad_size is supplied, # the message will be padded. The first 2 bytes of the returned string will # indicating the amount of padding. # - # source://rack-session//lib/rack/session/encryptor.rb#169 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:169 def serialize_payload(message); end - # source://rack-session//lib/rack/session/encryptor.rb#147 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:147 def serializer; end - # source://rack-session//lib/rack/session/encryptor.rb#143 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:143 def set_cipher_key(cipher, key); end # @raise [InvalidMessage] # - # source://rack-session//lib/rack/session/encryptor.rb#158 + # pkg:gem/rack-session#lib/rack/session/encryptor.rb:158 def verify_authenticity!(data, signature); end end -# source://rack-session//lib/rack/session/encryptor.rb#17 +# pkg:gem/rack-session#lib/rack/session/encryptor.rb:17 class Rack::Session::Encryptor::Error < ::StandardError; end -# source://rack-session//lib/rack/session/encryptor.rb#23 +# pkg:gem/rack-session#lib/rack/session/encryptor.rb:23 class Rack::Session::Encryptor::InvalidMessage < ::Rack::Session::Encryptor::Error; end -# source://rack-session//lib/rack/session/encryptor.rb#20 +# pkg:gem/rack-session#lib/rack/session/encryptor.rb:20 class Rack::Session::Encryptor::InvalidSignature < ::Rack::Session::Encryptor::Error; end -# source://rack-session//lib/rack/session/constants.rb#9 +# pkg:gem/rack-session#lib/rack/session/constants.rb:9 Rack::Session::RACK_SESSION = T.let(T.unsafe(nil), String) -# source://rack-session//lib/rack/session/constants.rb#10 +# pkg:gem/rack-session#lib/rack/session/constants.rb:10 Rack::Session::RACK_SESSION_OPTIONS = T.let(T.unsafe(nil), String) -# source://rack-session//lib/rack/session/constants.rb#11 +# pkg:gem/rack-session#lib/rack/session/constants.rb:11 Rack::Session::RACK_SESSION_UNPACKED_COOKIE_DATA = T.let(T.unsafe(nil), String) -# source://rack-session//lib/rack/session/abstract/id.rb#21 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:21 class Rack::Session::SessionId # @return [SessionId] a new instance of SessionId # - # source://rack-session//lib/rack/session/abstract/id.rb#26 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:26 def initialize(public_id); end # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#34 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:34 def cookie_value; end # @return [Boolean] # - # source://rack-session//lib/rack/session/abstract/id.rb#37 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:37 def empty?; end - # source://rack-session//lib/rack/session/abstract/id.rb#38 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:38 def inspect; end - # source://rack-session//lib/rack/session/abstract/id.rb#30 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:30 def private_id; end # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#24 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:24 def public_id; end # Returns the value of attribute public_id. # - # source://rack-session//lib/rack/session/abstract/id.rb#35 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:35 def to_s; end private - # source://rack-session//lib/rack/session/abstract/id.rb#42 + # pkg:gem/rack-session#lib/rack/session/abstract/id.rb:42 def hash_sid(sid); end end -# source://rack-session//lib/rack/session/abstract/id.rb#22 +# pkg:gem/rack-session#lib/rack/session/abstract/id.rb:22 Rack::Session::SessionId::ID_VERSION = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/rack-test@2.2.0.rbi b/sorbet/rbi/gems/rack-test@2.2.0.rbi index 77148bc27..6a20a8862 100644 --- a/sorbet/rbi/gems/rack-test@2.2.0.rbi +++ b/sorbet/rbi/gems/rack-test@2.2.0.rbi @@ -5,22 +5,22 @@ # Please instead update this file by running `bin/tapioca gem rack-test`. -# source://rack-test//lib/rack/test/cookie_jar.rb#6 +# pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:6 module Rack; end # For backwards compatibility with 1.1.0 and below # -# source://rack-test//lib/rack/test.rb#381 +# pkg:gem/rack-test#lib/rack/test.rb:381 Rack::MockSession = Rack::Test::Session -# source://rack-test//lib/rack/test/cookie_jar.rb#7 +# pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:7 module Rack::Test class << self # Whether the version of rack in use handles encodings. # # @return [Boolean] # - # source://rack-test//lib/rack/test.rb#375 + # pkg:gem/rack-test#lib/rack/test.rb:375 def encoding_aware_strings?; end end end @@ -28,42 +28,42 @@ end # Represents individual cookies in the cookie jar. This is considered private # API and behavior of this class can change at any time. # -# source://rack-test//lib/rack/test/cookie_jar.rb#10 +# pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:10 class Rack::Test::Cookie include ::Rack::Utils # @return [Cookie] a new instance of Cookie # - # source://rack-test//lib/rack/test/cookie_jar.rb#23 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:23 def initialize(raw, uri = T.unsafe(nil), default_host = T.unsafe(nil)); end # Order cookies by name, path, and domain. # - # source://rack-test//lib/rack/test/cookie_jar.rb#106 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:106 def <=>(other); end # The explicit or implicit domain for the cookie. # - # source://rack-test//lib/rack/test/cookie_jar.rb#59 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:59 def domain; end # Whether the cookie has a value. # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#54 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:54 def empty?; end # Whether the cookie is currently expired. # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#86 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:86 def expired?; end # A Time value for when the cookie expires, if the expires option is set. # - # source://rack-test//lib/rack/test/cookie_jar.rb#81 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:81 def expires; end # Whether the cookie has the httponly flag, indicating it is not available via @@ -71,37 +71,37 @@ class Rack::Test::Cookie # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#71 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:71 def http_only?; end # Cookies that do not match the URI will not be sent in requests to the URI. # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#101 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:101 def matches?(uri); end # The name of the cookie, will be a string # - # source://rack-test//lib/rack/test/cookie_jar.rb#14 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:14 def name; end # The explicit or implicit path for the cookie. # - # source://rack-test//lib/rack/test/cookie_jar.rb#76 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:76 def path; end # The raw string for the cookie, without options. Will generally be in # name=value format is name and value are provided. # - # source://rack-test//lib/rack/test/cookie_jar.rb#21 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:21 def raw; end # Wether the given cookie can replace the current cookie in the cookie jar. # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#49 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:49 def replaces?(other); end # Whether the cookie has the secure flag, indicating it can only be sent over @@ -109,36 +109,36 @@ class Rack::Test::Cookie # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#65 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:65 def secure?; end # A hash of cookie options, including the cookie value, but excluding the cookie name. # - # source://rack-test//lib/rack/test/cookie_jar.rb#111 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:111 def to_h; end # A hash of cookie options, including the cookie value, but excluding the cookie name. # - # source://rack-test//lib/rack/test/cookie_jar.rb#120 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:120 def to_hash; end # Whether the cookie is valid for the given URI. # # @return [Boolean] # - # source://rack-test//lib/rack/test/cookie_jar.rb#91 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:91 def valid?(uri); end # The value of the cookie, will be a string or nil if there is no value. # - # source://rack-test//lib/rack/test/cookie_jar.rb#17 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:17 def value; end private # The default URI to use for the cookie, including just the host. # - # source://rack-test//lib/rack/test/cookie_jar.rb#125 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:125 def default_uri; end end @@ -147,57 +147,57 @@ end # request. This is considered private API and behavior of this # class can change at any time. # -# source://rack-test//lib/rack/test/cookie_jar.rb#134 +# pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:134 class Rack::Test::CookieJar # @return [CookieJar] a new instance of CookieJar # - # source://rack-test//lib/rack/test/cookie_jar.rb#137 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:137 def initialize(cookies = T.unsafe(nil), default_host = T.unsafe(nil)); end # Add a Cookie to the cookie jar. # - # source://rack-test//lib/rack/test/cookie_jar.rb#197 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:197 def <<(new_cookie); end # Return the value for first cookie with the given name, or nil # if no such cookie exists. # - # source://rack-test//lib/rack/test/cookie_jar.rb#150 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:150 def [](name); end # Set a cookie with the given name and value in the # cookie jar. # - # source://rack-test//lib/rack/test/cookie_jar.rb#160 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:160 def []=(name, value); end # Delete all cookies with the given name from the cookie jar. # - # source://rack-test//lib/rack/test/cookie_jar.rb#174 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:174 def delete(name); end # Return a raw cookie string for the cookie header to # use for the given URI. # - # source://rack-test//lib/rack/test/cookie_jar.rb#208 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:208 def for(uri); end # Return the first cookie with the given name, or nil if # no such cookie exists. # - # source://rack-test//lib/rack/test/cookie_jar.rb#166 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:166 def get_cookie(name); end # Add a string of raw cookie information to the cookie jar, # if the cookie is valid for the given URI. # Cookies should be separated with a newline. # - # source://rack-test//lib/rack/test/cookie_jar.rb#184 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:184 def merge(raw_cookies, uri = T.unsafe(nil)); end # Return a hash cookie names and cookie values for cookies in the jar. # - # source://rack-test//lib/rack/test/cookie_jar.rb#225 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:225 def to_hash; end private @@ -210,37 +210,37 @@ class Rack::Test::CookieJar # so that when we are done, the cookies will be unique by name and # we'll have grabbed the most specific to the URI. # - # source://rack-test//lib/rack/test/cookie_jar.rb#244 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:244 def each_cookie_for(uri); end # Ensure the copy uses a distinct cookies array. # - # source://rack-test//lib/rack/test/cookie_jar.rb#143 + # pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:143 def initialize_copy(other); end end -# source://rack-test//lib/rack/test/cookie_jar.rb#135 +# pkg:gem/rack-test#lib/rack/test/cookie_jar.rb:135 Rack::Test::CookieJar::DELIMITER = T.let(T.unsafe(nil), String) # The default host to use for requests, when a full URI is not # provided. # -# source://rack-test//lib/rack/test.rb#33 +# pkg:gem/rack-test#lib/rack/test.rb:33 Rack::Test::DEFAULT_HOST = T.let(T.unsafe(nil), String) # The ending boundary in multipart requests # -# source://rack-test//lib/rack/test.rb#42 +# pkg:gem/rack-test#lib/rack/test.rb:42 Rack::Test::END_BOUNDARY = T.let(T.unsafe(nil), String) # The common base class for exceptions raised by Rack::Test # -# source://rack-test//lib/rack/test.rb#45 +# pkg:gem/rack-test#lib/rack/test.rb:45 class Rack::Test::Error < ::StandardError; end # The default multipart boundary to use for multipart request bodies # -# source://rack-test//lib/rack/test.rb#36 +# pkg:gem/rack-test#lib/rack/test.rb:36 Rack::Test::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String) # This module serves as the primary integration point for using Rack::Test @@ -261,110 +261,110 @@ Rack::Test::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String) # end # end # -# source://rack-test//lib/rack/test/methods.rb#24 +# pkg:gem/rack-test#lib/rack/test/methods.rb:24 module Rack::Test::Methods extend ::Forwardable # Private accessor to avoid uninitialized instance variable warning in Ruby 2.* # - # source://rack-test//lib/rack/test/methods.rb#90 + # pkg:gem/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 + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def authorize(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def basic_authorize(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def basic_authorize(*_arg0, **_arg1, &_arg2); end # Create a new Rack::Test::Session for #app. # - # source://rack-test//lib/rack/test/methods.rb#40 + # pkg:gem/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 + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def clear_cookies(*_arg0, **_arg1, &_arg2); 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 + # pkg:gem/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 + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def custom_request(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def delete(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def delete(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def env(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def env(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def follow_redirect!(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def follow_redirect!(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def get(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def get(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def head(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def head(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def header(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def header(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def last_request(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def last_request(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def last_response(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def last_response(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def options(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def options(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def patch(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def patch(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def post(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def post(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def put(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def put(*_arg0, **_arg1, &_arg2); 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#37 + # pkg:gem/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 # rack session. Always use a new session if name is nil. # - # source://rack-test//lib/rack/test/methods.rb#29 + # pkg:gem/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 + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def request(*_arg0, **_arg1, &_arg2); end - # source://rack-test//lib/rack/test/methods.rb#68 - def set_cookie(*args, **_arg1, &block); end + # pkg:gem/rack-test#lib/rack/test/methods.rb:68 + def set_cookie(*_arg0, **_arg1, &_arg2); end # Create a new session (or reuse an existing session with the given name), # and make it the current session for the given block. # - # source://rack-test//lib/rack/test/methods.rb#61 + # pkg:gem/rack-test#lib/rack/test/methods.rb:61 def with_session(name); end private # Private accessor to avoid uninitialized instance variable warning in Ruby 2.* # - # source://rack-test//lib/rack/test/methods.rb#90 + # pkg:gem/rack-test#lib/rack/test/methods.rb:90 def _rack_test_current_session; end end # The starting boundary in multipart requests # -# source://rack-test//lib/rack/test.rb#39 +# pkg:gem/rack-test#lib/rack/test.rb:39 Rack::Test::START_BOUNDARY = T.let(T.unsafe(nil), String) # Rack::Test::Session handles a series of requests issued to a Rack app. @@ -374,7 +374,7 @@ Rack::Test::START_BOUNDARY = T.let(T.unsafe(nil), String) # Rack::Test::Session's methods are most often called through Rack::Test::Methods, # which will automatically build a session when it's first used. # -# source://rack-test//lib/rack/test.rb#53 +# pkg:gem/rack-test#lib/rack/test.rb:53 class Rack::Test::Session include ::Rack::Utils include ::Rack::Test::Utils @@ -410,12 +410,12 @@ class Rack::Test::Session # # @return [Session] a new instance of Session # - # source://rack-test//lib/rack/test.rb#99 + # pkg:gem/rack-test#lib/rack/test.rb:99 def initialize(app, default_host = T.unsafe(nil)); end # Run a block after the each request completes. # - # source://rack-test//lib/rack/test.rb#118 + # pkg:gem/rack-test#lib/rack/test.rb:118 def after_request(&block); end # Set the username and password for HTTP Basic authorization, to be @@ -424,7 +424,7 @@ class Rack::Test::Session # Example: # basic_authorize "bryan", "secret" # - # source://rack-test//lib/rack/test.rb#203 + # pkg:gem/rack-test#lib/rack/test.rb:203 def authorize(username, password); end # Set the username and password for HTTP Basic authorization, to be @@ -433,22 +433,22 @@ class Rack::Test::Session # Example: # basic_authorize "bryan", "secret" # - # source://rack-test//lib/rack/test.rb#198 + # pkg:gem/rack-test#lib/rack/test.rb:198 def basic_authorize(username, password); end # Replace the current cookie jar with an empty cookie jar. # - # source://rack-test//lib/rack/test.rb#123 + # pkg:gem/rack-test#lib/rack/test.rb:123 def clear_cookies; end # The Rack::Test::CookieJar for the cookies for the current session. # - # source://rack-test//lib/rack/test.rb#67 + # pkg:gem/rack-test#lib/rack/test.rb:67 def cookie_jar; end # The Rack::Test::CookieJar for the cookies for the current session. # - # source://rack-test//lib/rack/test.rb#67 + # pkg:gem/rack-test#lib/rack/test.rb:67 def cookie_jar=(_arg0); end # Issue a request using the given HTTP verb for the given URI, with optional @@ -456,15 +456,15 @@ class Rack::Test::Session # # custom_request "LINK", "/" # - # source://rack-test//lib/rack/test.rb#160 + # pkg:gem/rack-test#lib/rack/test.rb:160 def custom_request(verb, uri, params = T.unsafe(nil), env = T.unsafe(nil), &block); end # The default host used for the session for when using paths for URIs. # - # source://rack-test//lib/rack/test.rb#70 + # pkg:gem/rack-test#lib/rack/test.rb:70 def default_host; end - # source://rack-test//lib/rack/test.rb#110 + # pkg:gem/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 @@ -473,7 +473,7 @@ class Rack::Test::Session # # env "rack.session", {:csrf => 'token'} # - # source://rack-test//lib/rack/test.rb#185 + # pkg:gem/rack-test#lib/rack/test.rb:185 def env(name, value); end # Rack::Test will not follow any redirects automatically. This method @@ -481,13 +481,13 @@ class Rack::Test::Session # on the new request) in the last response. If the last response was not # a redirect, an error will be raised. # - # source://rack-test//lib/rack/test.rb#209 + # pkg:gem/rack-test#lib/rack/test.rb:209 def follow_redirect!; end - # source://rack-test//lib/rack/test.rb#110 + # pkg:gem/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#110 + # pkg:gem/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 @@ -498,7 +498,7 @@ class Rack::Test::Session # # header "user-agent", "Firefox" # - # source://rack-test//lib/rack/test.rb#173 + # pkg:gem/rack-test#lib/rack/test.rb:173 def header(name, value); end # Return the last request issued in the session. Raises an error if no @@ -506,7 +506,7 @@ class Rack::Test::Session # # @raise [Error] # - # source://rack-test//lib/rack/test.rb#134 + # pkg:gem/rack-test#lib/rack/test.rb:134 def last_request; end # Return the last response received in the session. Raises an error if @@ -514,19 +514,19 @@ class Rack::Test::Session # # @raise [Error] # - # source://rack-test//lib/rack/test.rb#141 + # pkg:gem/rack-test#lib/rack/test.rb:141 def last_response; end - # source://rack-test//lib/rack/test.rb#110 + # pkg:gem/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#110 + # pkg:gem/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#110 + # pkg:gem/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#110 + # pkg:gem/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 @@ -534,46 +534,46 @@ class Rack::Test::Session # # request "/" # - # source://rack-test//lib/rack/test.rb#150 + # pkg:gem/rack-test#lib/rack/test.rb:150 def request(uri, env = T.unsafe(nil), &block); end # Yield to the block, and restore the last request, last response, and # cookie jar to the state they were prior to block execution upon # exiting the block. # - # source://rack-test//lib/rack/test.rb#240 + # pkg:gem/rack-test#lib/rack/test.rb:240 def restore_state; end # Set a cookie in the current cookie jar. # - # source://rack-test//lib/rack/test.rb#128 + # pkg:gem/rack-test#lib/rack/test.rb:128 def set_cookie(cookie, uri = T.unsafe(nil)); end private # Append a string version of the query params to the array of query params. # - # source://rack-test//lib/rack/test.rb#340 + # pkg:gem/rack-test#lib/rack/test.rb:340 def append_query_params(query_array, query_params); end # close() gets called automatically in newer Rack versions. # - # source://rack-test//lib/rack/test.rb#266 + # pkg:gem/rack-test#lib/rack/test.rb:266 def close_body(body); end # Update environment to use based on given URI. # - # source://rack-test//lib/rack/test.rb#293 + # pkg:gem/rack-test#lib/rack/test.rb:293 def env_for(uri, env); end # Return the multipart content type to use based on the environment. # - # source://rack-test//lib/rack/test.rb#346 + # pkg:gem/rack-test#lib/rack/test.rb:346 def multipart_content_type(env); end # Normalize URI based on given URI/path and environment. # - # source://rack-test//lib/rack/test.rb#271 + # pkg:gem/rack-test#lib/rack/test.rb:271 def parse_uri(path, env); end # Submit the request with the given URI and rack environment to @@ -581,16 +581,16 @@ class Rack::Test::Session # # @yield [@last_response] # - # source://rack-test//lib/rack/test.rb#357 + # pkg:gem/rack-test#lib/rack/test.rb:357 def process_request(uri, env); end class << self - # source://rack-test//lib/rack/test.rb#57 + # pkg:gem/rack-test#lib/rack/test.rb:57 def new(app, default_host = T.unsafe(nil)); end end end -# source://rack-test//lib/rack/test.rb#279 +# pkg:gem/rack-test#lib/rack/test.rb:279 Rack::Test::Session::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) # Wraps a Tempfile with a content type. Including one or more UploadedFile's @@ -599,7 +599,7 @@ Rack::Test::Session::DEFAULT_ENV = T.let(T.unsafe(nil), Hash) # Example: # post "/photos", "file" => Rack::Test::UploadedFile.new("me.jpg", "image/jpeg") # -# source://rack-test//lib/rack/test/uploaded_file.rb#14 +# pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:14 class Rack::Test::UploadedFile # Creates a new UploadedFile instance. # @@ -611,7 +611,7 @@ class Rack::Test::UploadedFile # # @return [UploadedFile] a new instance of UploadedFile # - # source://rack-test//lib/rack/test/uploaded_file.rb#31 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:31 def initialize(content, content_type = T.unsafe(nil), binary = T.unsafe(nil), original_filename: T.unsafe(nil)); end # Append to given buffer in 64K chunks to avoid multiple large @@ -619,42 +619,42 @@ class Rack::Test::UploadedFile # after to make sure all data in tempfile is appended to the # buffer. # - # source://rack-test//lib/rack/test/uploaded_file.rb#60 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:60 def append_to(buffer); end # The content type of the "uploaded" file # - # source://rack-test//lib/rack/test/uploaded_file.rb#22 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:22 def content_type; end # The content type of the "uploaded" file # - # source://rack-test//lib/rack/test/uploaded_file.rb#22 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:22 def content_type=(_arg0); end # 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#49 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:49 def local_path; end # Delegate all methods not handled to the tempfile. # - # source://rack-test//lib/rack/test/uploaded_file.rb#52 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:52 def method_missing(method_name, *args, &block); end # The filename, *not* including the path, of the "uploaded" file # - # source://rack-test//lib/rack/test/uploaded_file.rb#16 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:16 def original_filename; end # 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 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:46 def path; end # The tempfile # - # source://rack-test//lib/rack/test/uploaded_file.rb#19 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:19 def tempfile; end private @@ -662,23 +662,23 @@ class Rack::Test::UploadedFile # Create a tempfile and copy the content from the given path into the tempfile, optionally renaming if # original_filename has been set. # - # source://rack-test//lib/rack/test/uploaded_file.rb#86 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:86 def initialize_from_file_path(path); end # Use the StringIO as the tempfile. # # @raise [ArgumentError] # - # source://rack-test//lib/rack/test/uploaded_file.rb#78 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:78 def initialize_from_stringio(stringio); end # @return [Boolean] # - # source://rack-test//lib/rack/test/uploaded_file.rb#71 + # pkg:gem/rack-test#lib/rack/test/uploaded_file.rb:71 def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end end -# source://rack-test//lib/rack/test/utils.rb#5 +# pkg:gem/rack-test#lib/rack/test/utils.rb:5 module Rack::Test::Utils include ::Rack::Utils extend ::Rack::Utils @@ -688,42 +688,42 @@ module Rack::Test::Utils # # @raise [ArgumentError] # - # source://rack-test//lib/rack/test/utils.rb#34 + # pkg:gem/rack-test#lib/rack/test/utils.rb:34 def build_multipart(params, _first = T.unsafe(nil), multipart = T.unsafe(nil)); end # Build a query string for the given value and prefix. The value # can be an array or hash of parameters. # - # source://rack-test//lib/rack/test/utils.rb#11 + # pkg:gem/rack-test#lib/rack/test/utils.rb:11 def build_nested_query(value, prefix = T.unsafe(nil)); end private # Append each multipart parameter value to the buffer. # - # source://rack-test//lib/rack/test/utils.rb#100 + # pkg:gem/rack-test#lib/rack/test/utils.rb:100 def _build_parts(buffer, parameters); end # Append the multipart fragment for a parameter that is a file upload to the buffer. # - # source://rack-test//lib/rack/test/utils.rb#133 + # pkg:gem/rack-test#lib/rack/test/utils.rb:133 def build_file_part(buffer, parameter_name, uploaded_file); end # Build the multipart content for uploading. # - # source://rack-test//lib/rack/test/utils.rb#94 + # pkg:gem/rack-test#lib/rack/test/utils.rb:94 def build_parts(buffer, parameters); end # Append the multipart fragment for a parameter that isn't a file upload to the buffer. # - # source://rack-test//lib/rack/test/utils.rb#121 + # pkg:gem/rack-test#lib/rack/test/utils.rb:121 def build_primitive_part(buffer, parameter_name, value); end # Return a flattened hash of parameter values based on the given params. # - # source://rack-test//lib/rack/test/utils.rb#62 + # pkg:gem/rack-test#lib/rack/test/utils.rb:62 def normalize_multipart_params(params, first = T.unsafe(nil)); end end -# source://rack-test//lib/rack/test/version.rb#3 +# pkg:gem/rack-test#lib/rack/test/version.rb:3 Rack::Test::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rack@3.2.4.rbi b/sorbet/rbi/gems/rack@3.2.4.rbi index 2dfb88ce4..ccead0dfa 100644 --- a/sorbet/rbi/gems/rack@3.2.4.rbi +++ b/sorbet/rbi/gems/rack@3.2.4.rbi @@ -5,87 +5,87 @@ # Please instead update this file by running `bin/tapioca gem rack`. -# source://rack//lib/rack/version.rb#8 +# pkg:gem/rack#lib/rack/version.rb:8 module Rack class << self # Return the Rack release as a dotted string. # - # source://rack//lib/rack/version.rb#14 + # pkg:gem/rack#lib/rack/version.rb:14 def release; end end end -# source://rack//lib/rack.rb#59 +# pkg:gem/rack#lib/rack.rb:59 module Rack::Auth; end # Rack::Auth::AbstractHandler implements common authentication functionality. # # +realm+ should be set for all handlers. # -# source://rack//lib/rack/auth/abstract/handler.rb#11 +# pkg:gem/rack#lib/rack/auth/abstract/handler.rb:11 class Rack::Auth::AbstractHandler # @return [AbstractHandler] a new instance of AbstractHandler # - # source://rack//lib/rack/auth/abstract/handler.rb#15 + # pkg:gem/rack#lib/rack/auth/abstract/handler.rb:15 def initialize(app, realm = T.unsafe(nil), &authenticator); end # Returns the value of attribute realm. # - # source://rack//lib/rack/auth/abstract/handler.rb#13 + # pkg:gem/rack#lib/rack/auth/abstract/handler.rb:13 def realm; end # Sets the attribute realm # # @param value the value to set the attribute realm to. # - # source://rack//lib/rack/auth/abstract/handler.rb#13 + # pkg:gem/rack#lib/rack/auth/abstract/handler.rb:13 def realm=(_arg0); end private - # source://rack//lib/rack/auth/abstract/handler.rb#31 + # pkg:gem/rack#lib/rack/auth/abstract/handler.rb:31 def bad_request; end - # source://rack//lib/rack/auth/abstract/handler.rb#22 + # pkg:gem/rack#lib/rack/auth/abstract/handler.rb:22 def unauthorized(www_authenticate = T.unsafe(nil)); end end -# source://rack//lib/rack/auth/abstract/request.rb#8 +# pkg:gem/rack#lib/rack/auth/abstract/request.rb:8 class Rack::Auth::AbstractRequest # @return [AbstractRequest] a new instance of AbstractRequest # - # source://rack//lib/rack/auth/abstract/request.rb#10 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:10 def initialize(env); end - # source://rack//lib/rack/auth/abstract/request.rb#35 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:35 def params; end - # source://rack//lib/rack/auth/abstract/request.rb#27 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:27 def parts; end # @return [Boolean] # - # source://rack//lib/rack/auth/abstract/request.rb#19 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:19 def provided?; end - # source://rack//lib/rack/auth/abstract/request.rb#14 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:14 def request; end - # source://rack//lib/rack/auth/abstract/request.rb#31 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:31 def scheme; end # @return [Boolean] # - # source://rack//lib/rack/auth/abstract/request.rb#23 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:23 def valid?; end private - # source://rack//lib/rack/auth/abstract/request.rb#44 + # pkg:gem/rack#lib/rack/auth/abstract/request.rb:44 def authorization_key; end end -# source://rack//lib/rack/auth/abstract/request.rb#42 +# pkg:gem/rack#lib/rack/auth/abstract/request.rb:42 Rack::Auth::AbstractRequest::AUTHORIZATION_KEYS = T.let(T.unsafe(nil), Array) # Rack::Auth::Basic implements HTTP Basic Authentication, as per RFC 2617. @@ -93,63 +93,63 @@ Rack::Auth::AbstractRequest::AUTHORIZATION_KEYS = T.let(T.unsafe(nil), Array) # Initialize with the Rack application that you want protecting, # and a block that checks if a username and password pair are valid. # -# source://rack//lib/rack/auth/basic.rb#13 +# pkg:gem/rack#lib/rack/auth/basic.rb:13 class Rack::Auth::Basic < ::Rack::Auth::AbstractHandler - # source://rack//lib/rack/auth/basic.rb#15 + # pkg:gem/rack#lib/rack/auth/basic.rb:15 def call(env); end private - # source://rack//lib/rack/auth/basic.rb#34 + # pkg:gem/rack#lib/rack/auth/basic.rb:34 def challenge; end # @return [Boolean] # - # source://rack//lib/rack/auth/basic.rb#38 + # pkg:gem/rack#lib/rack/auth/basic.rb:38 def valid?(auth); end end -# source://rack//lib/rack/auth/basic.rb#42 +# pkg:gem/rack#lib/rack/auth/basic.rb:42 class Rack::Auth::Basic::Request < ::Rack::Auth::AbstractRequest # @return [Boolean] # - # source://rack//lib/rack/auth/basic.rb#43 + # pkg:gem/rack#lib/rack/auth/basic.rb:43 def basic?; end - # source://rack//lib/rack/auth/basic.rb#47 + # pkg:gem/rack#lib/rack/auth/basic.rb:47 def credentials; end - # source://rack//lib/rack/auth/basic.rb#51 + # pkg:gem/rack#lib/rack/auth/basic.rb:51 def username; end end -# source://rack//lib/rack/builder.rb#6 +# pkg:gem/rack#lib/rack/builder.rb:6 Rack::BUILDER_TOPLEVEL_BINDING = T.let(T.unsafe(nil), Proc) # Represents a 400 Bad Request error when input data fails to meet the # requirements. # -# source://rack//lib/rack/bad_request.rb#6 +# pkg:gem/rack#lib/rack/bad_request.rb:6 module Rack::BadRequest; end # Proxy for response bodies allowing calling a block when # the response body is closed (after the response has been fully # sent to the client). # -# source://rack//lib/rack/body_proxy.rb#7 +# pkg:gem/rack#lib/rack/body_proxy.rb:7 class Rack::BodyProxy # Set the response body to wrap, and the block to call when the # response has been fully sent. # # @return [BodyProxy] a new instance of BodyProxy # - # source://rack//lib/rack/body_proxy.rb#10 + # pkg:gem/rack#lib/rack/body_proxy.rb:10 def initialize(body, &block); end # If not already closed, close the wrapped body and # then call the block the proxy was initialized with. # - # source://rack//lib/rack/body_proxy.rb#28 + # pkg:gem/rack#lib/rack/body_proxy.rb:28 def close; end # Whether the proxy is closed. The proxy starts as not closed, @@ -157,12 +157,12 @@ class Rack::BodyProxy # # @return [Boolean] # - # source://rack//lib/rack/body_proxy.rb#40 + # pkg:gem/rack#lib/rack/body_proxy.rb:40 def closed?; end # Delegate missing methods to the wrapped body. # - # source://rack//lib/rack/body_proxy.rb#45 + # pkg:gem/rack#lib/rack/body_proxy.rb:45 def method_missing(method_name, *args, **_arg2, &block); end private @@ -171,7 +171,7 @@ class Rack::BodyProxy # # @return [Boolean] # - # source://rack//lib/rack/body_proxy.rb#17 + # pkg:gem/rack#lib/rack/body_proxy.rb:17 def respond_to_missing?(method_name, include_all = T.unsafe(nil)); end end @@ -203,7 +203,7 @@ end # +use+ adds middleware to the stack, +run+ dispatches to an application. # You can use +map+ to construct a Rack::URLMap in a convenient way. # -# source://rack//lib/rack/builder.rb#36 +# pkg:gem/rack#lib/rack/builder.rb:36 class Rack::Builder # Initialize a new Rack::Builder instance. +default_app+ specifies the # default application if +run+ is not called later. If a block @@ -211,20 +211,20 @@ class Rack::Builder # # @return [Builder] a new instance of Builder # - # source://rack//lib/rack/builder.rb#116 + # pkg:gem/rack#lib/rack/builder.rb:116 def initialize(default_app = T.unsafe(nil), **options, &block); end # Call the Rack application generated by this builder instance. Note that # this rebuilds the Rack application and runs the warmup code (if any) # every time it is called, so it should not be used if performance is important. # - # source://rack//lib/rack/builder.rb#282 + # pkg:gem/rack#lib/rack/builder.rb:282 def call(env); end # Freeze the app (set using run) and all middleware instances when building the application # in to_app. # - # source://rack//lib/rack/builder.rb#265 + # pkg:gem/rack#lib/rack/builder.rb:265 def freeze_app; end # Creates a route within the application. Routes under the mapped path will be sent to @@ -267,7 +267,7 @@ class Rack::Builder # Note that providing a +path+ of +/+ will ignore any default application given in a +run+ statement # outside the block. # - # source://rack//lib/rack/builder.rb#256 + # pkg:gem/rack#lib/rack/builder.rb:256 def map(path, &block); end # Any options provided to the Rack::Builder instance at initialization. @@ -276,7 +276,7 @@ class Rack::Builder # * +:isolation+: One of +process+, +thread+ or +fiber+. The execution # isolation model to use. # - # source://rack//lib/rack/builder.rb#132 + # pkg:gem/rack#lib/rack/builder.rb:132 def options; end # Takes a block or argument that is an object that responds to #call and @@ -304,12 +304,12 @@ class Rack::Builder # # @raise [ArgumentError] # - # source://rack//lib/rack/builder.rb#195 + # pkg:gem/rack#lib/rack/builder.rb:195 def run(app = T.unsafe(nil), &block); end # Return the Rack application generated by this instance. # - # source://rack//lib/rack/builder.rb#270 + # pkg:gem/rack#lib/rack/builder.rb:270 def to_app; end # Specifies middleware to use in a stack. @@ -332,7 +332,7 @@ class Rack::Builder # The +call+ method in this example sets an additional environment key which then can be # referenced in the application if required. # - # source://rack//lib/rack/builder.rb#159 + # pkg:gem/rack#lib/rack/builder.rb:159 def use(middleware, *args, **_arg2, &block); end # Takes a lambda or block that is used to warm-up the application. This block is called @@ -346,7 +346,7 @@ class Rack::Builder # use SomeMiddleware # run MyApp # - # source://rack//lib/rack/builder.rb#213 + # pkg:gem/rack#lib/rack/builder.rb:213 def warmup(prc = T.unsafe(nil), &block); end private @@ -354,14 +354,14 @@ class Rack::Builder # Generate a URLMap instance by generating new Rack applications for each # map block in this instance. # - # source://rack//lib/rack/builder.rb#290 + # pkg:gem/rack#lib/rack/builder.rb:290 def generate_map(default_app, mapping); end class << self # Create a new Rack::Builder instance and return the Rack application # generated from it. # - # source://rack//lib/rack/builder.rb#136 + # pkg:gem/rack#lib/rack/builder.rb:136 def app(default_app = T.unsafe(nil), &block); end # Load the given file as a rackup file, treating the @@ -378,13 +378,13 @@ class Rack::Builder # require './app.rb' # run App # - # source://rack//lib/rack/builder.rb#87 + # pkg:gem/rack#lib/rack/builder.rb:87 def load_file(path, **options); end # Evaluate the given +builder_script+ string in the context of # a Rack::Builder block, returning a Rack application. # - # source://rack//lib/rack/builder.rb#102 + # pkg:gem/rack#lib/rack/builder.rb:102 def new_from_string(builder_script, path = T.unsafe(nil), **options); end # Parse the given config file to get a Rack application. @@ -412,28 +412,28 @@ class Rack::Builder # # process's current directory. After requiring, # # assumes MyApp constant is a Rack application # - # source://rack//lib/rack/builder.rb#65 + # pkg:gem/rack#lib/rack/builder.rb:65 def parse_file(path, **options); end end end # https://stackoverflow.com/questions/2223882/whats-the-difference-between-utf-8-and-utf-8-without-bom # -# source://rack//lib/rack/builder.rb#39 +# pkg:gem/rack#lib/rack/builder.rb:39 Rack::Builder::UTF_8_BOM = T.let(T.unsafe(nil), String) # Response Header Keys # -# source://rack//lib/rack/constants.rb#19 +# pkg:gem/rack#lib/rack/constants.rb:19 Rack::CACHE_CONTROL = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#35 +# pkg:gem/rack#lib/rack/constants.rb:35 Rack::CONNECT = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#20 +# pkg:gem/rack#lib/rack/constants.rb:20 Rack::CONTENT_LENGTH = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#21 +# pkg:gem/rack#lib/rack/constants.rb:21 Rack::CONTENT_TYPE = T.let(T.unsafe(nil), String) # Rack::Cascade tries a request on several apps, and returns the @@ -441,7 +441,7 @@ Rack::CONTENT_TYPE = T.let(T.unsafe(nil), String) # status codes). If all applications tried return one of the configured # status codes, return the last response. # -# source://rack//lib/rack/cascade.rb#11 +# pkg:gem/rack#lib/rack/cascade.rb:11 class Rack::Cascade # Set the apps to send requests to, and what statuses result in # cascading. Arguments: @@ -452,38 +452,38 @@ class Rack::Cascade # # @return [Cascade] a new instance of Cascade # - # source://rack//lib/rack/cascade.rb#21 + # pkg:gem/rack#lib/rack/cascade.rb:21 def initialize(apps, cascade_for = T.unsafe(nil)); end # Append an app to the list of apps to cascade. This app will # be tried last. # - # source://rack//lib/rack/cascade.rb#65 + # pkg:gem/rack#lib/rack/cascade.rb:65 def <<(app); end # Append an app to the list of apps to cascade. This app will # be tried last. # - # source://rack//lib/rack/cascade.rb#56 + # pkg:gem/rack#lib/rack/cascade.rb:56 def add(app); end # An array of applications to try in order. # - # source://rack//lib/rack/cascade.rb#13 + # pkg:gem/rack#lib/rack/cascade.rb:13 def apps; end # Call each app in order. If the responses uses a status that requires # cascading, try the next app. If all responses require cascading, # return the response from the last app. # - # source://rack//lib/rack/cascade.rb#32 + # pkg:gem/rack#lib/rack/cascade.rb:32 def call(env); end # Whether the given app is one of the apps to cascade to. # # @return [Boolean] # - # source://rack//lib/rack/cascade.rb#61 + # pkg:gem/rack#lib/rack/cascade.rb:61 def include?(app); end end @@ -492,7 +492,7 @@ end # {Apache common log format}[http://httpd.apache.org/docs/1.3/logs.html#common] # to the configured logger. # -# source://rack//lib/rack/common_logger.rb#13 +# pkg:gem/rack#lib/rack/common_logger.rb:13 class Rack::CommonLogger # +logger+ can be any object that supports the +write+ or +<<+ methods, # which includes the standard library Logger. These methods are called @@ -501,7 +501,7 @@ class Rack::CommonLogger # # @return [CommonLogger] a new instance of CommonLogger # - # source://rack//lib/rack/common_logger.rb#29 + # pkg:gem/rack#lib/rack/common_logger.rb:29 def initialize(app, logger = T.unsafe(nil)); end # Log all requests in common_log format after a response has been @@ -512,7 +512,7 @@ class Rack::CommonLogger # exceptions raised during the sending of the response body will # cause the request not to be logged. # - # source://rack//lib/rack/common_logger.rb#41 + # pkg:gem/rack#lib/rack/common_logger.rb:41 def call(env); end private @@ -520,12 +520,12 @@ class Rack::CommonLogger # Attempt to determine the content length for the response to # include it in the logged data. # - # source://rack//lib/rack/common_logger.rb#84 + # pkg:gem/rack#lib/rack/common_logger.rb:84 def extract_content_length(headers); end # Log the request to the configured logger. # - # source://rack//lib/rack/common_logger.rb#52 + # pkg:gem/rack#lib/rack/common_logger.rb:52 def log(env, status, response_headers, began_at); end end @@ -539,7 +539,7 @@ end # separation of SCRIPT_NAME and PATH_INFO, and because the elapsed # time in seconds is included at the end. # -# source://rack//lib/rack/common_logger.rb#23 +# pkg:gem/rack#lib/rack/common_logger.rb:23 Rack::CommonLogger::FORMAT = T.let(T.unsafe(nil), String) # Middleware that enables conditional GET using if-none-match and @@ -555,17 +555,17 @@ Rack::CommonLogger::FORMAT = T.let(T.unsafe(nil), String) # Adapted from Michael Klishin's Merb implementation: # https://github.com/wycats/merb/blob/master/merb-core/lib/merb-core/rack/middleware/conditional_get.rb # -# source://rack//lib/rack/conditional_get.rb#21 +# pkg:gem/rack#lib/rack/conditional_get.rb:21 class Rack::ConditionalGet # @return [ConditionalGet] a new instance of ConditionalGet # - # source://rack//lib/rack/conditional_get.rb#22 + # pkg:gem/rack#lib/rack/conditional_get.rb:22 def initialize(app); end # Return empty 304 response if the response has not been # modified since the last request. # - # source://rack//lib/rack/conditional_get.rb#28 + # pkg:gem/rack#lib/rack/conditional_get.rb:28 def call(env); end private @@ -575,7 +575,7 @@ class Rack::ConditionalGet # # @return [Boolean] # - # source://rack//lib/rack/conditional_get.rb#63 + # pkg:gem/rack#lib/rack/conditional_get.rb:63 def etag_matches?(none_match, headers); end # Return whether the response has not been modified since the @@ -583,7 +583,7 @@ class Rack::ConditionalGet # # @return [Boolean] # - # source://rack//lib/rack/conditional_get.rb#52 + # pkg:gem/rack#lib/rack/conditional_get.rb:52 def fresh?(env, headers); end # Whether the last-modified response header matches the if-modified-since @@ -591,13 +591,13 @@ class Rack::ConditionalGet # # @return [Boolean] # - # source://rack//lib/rack/conditional_get.rb#69 + # pkg:gem/rack#lib/rack/conditional_get.rb:69 def modified_since?(modified_since, headers); end # Return a Time object for the given string (which should be in RFC2822 # format), or nil if the string cannot be parsed. # - # source://rack//lib/rack/conditional_get.rb#76 + # pkg:gem/rack#lib/rack/conditional_get.rb:76 def to_rfc2822(since); end end @@ -609,14 +609,14 @@ end # env['my-key'] = 'some-value' # end # -# source://rack//lib/rack/config.rb#11 +# pkg:gem/rack#lib/rack/config.rb:11 class Rack::Config # @return [Config] a new instance of Config # - # source://rack//lib/rack/config.rb#12 + # pkg:gem/rack#lib/rack/config.rb:12 def initialize(app, &block); end - # source://rack//lib/rack/config.rb#17 + # pkg:gem/rack#lib/rack/config.rb:17 def call(env); end end @@ -625,16 +625,16 @@ end # does not fix responses that have an invalid content-length # header specified. # -# source://rack//lib/rack/content_length.rb#12 +# pkg:gem/rack#lib/rack/content_length.rb:12 class Rack::ContentLength include ::Rack::Utils # @return [ContentLength] a new instance of ContentLength # - # source://rack//lib/rack/content_length.rb#15 + # pkg:gem/rack#lib/rack/content_length.rb:15 def initialize(app); end - # source://rack//lib/rack/content_length.rb#19 + # pkg:gem/rack#lib/rack/content_length.rb:19 def call(env); end end @@ -646,20 +646,20 @@ end # When no content type argument is provided, "text/html" is the # default. # -# source://rack//lib/rack/content_type.rb#15 +# pkg:gem/rack#lib/rack/content_type.rb:15 class Rack::ContentType include ::Rack::Utils # @return [ContentType] a new instance of ContentType # - # source://rack//lib/rack/content_type.rb#18 + # pkg:gem/rack#lib/rack/content_type.rb:18 def initialize(app, content_type = T.unsafe(nil)); end - # source://rack//lib/rack/content_type.rb#23 + # pkg:gem/rack#lib/rack/content_type.rb:23 def call(env); end end -# source://rack//lib/rack/constants.rb#32 +# pkg:gem/rack#lib/rack/constants.rb:32 Rack::DELETE = T.let(T.unsafe(nil), String) # This middleware enables content encoding of http responses, @@ -679,7 +679,7 @@ Rack::DELETE = T.let(T.unsafe(nil), String) # Note that despite the name, Deflater does not support the +deflate+ # encoding. # -# source://rack//lib/rack/deflater.rb#28 +# pkg:gem/rack#lib/rack/deflater.rb:28 class Rack::Deflater # Creates Rack::Deflater middleware. Options: # @@ -694,10 +694,10 @@ class Rack::Deflater # # @return [Deflater] a new instance of Deflater # - # source://rack//lib/rack/deflater.rb#39 + # pkg:gem/rack#lib/rack/deflater.rb:39 def initialize(app, options = T.unsafe(nil)); end - # source://rack//lib/rack/deflater.rb#46 + # pkg:gem/rack#lib/rack/deflater.rb:46 def call(env); end private @@ -706,13 +706,13 @@ class Rack::Deflater # # @return [Boolean] # - # source://rack//lib/rack/deflater.rb#136 + # pkg:gem/rack#lib/rack/deflater.rb:136 def should_deflate?(env, status, headers, body); end end # Body class used for gzip encoded responses. # -# source://rack//lib/rack/deflater.rb#83 +# pkg:gem/rack#lib/rack/deflater.rb:83 class Rack::Deflater::GzipStream # Initialize the gzip stream. Arguments: # body :: Response body to compress with gzip @@ -722,26 +722,26 @@ class Rack::Deflater::GzipStream # # @return [GzipStream] a new instance of GzipStream # - # source://rack//lib/rack/deflater.rb#92 + # pkg:gem/rack#lib/rack/deflater.rb:92 def initialize(body, mtime, sync); end # Close the original body if possible. # - # source://rack//lib/rack/deflater.rb#128 + # pkg:gem/rack#lib/rack/deflater.rb:128 def close; end # Yield gzip compressed strings to the given block. # - # source://rack//lib/rack/deflater.rb#99 + # pkg:gem/rack#lib/rack/deflater.rb:99 def each(&block); end # Call the block passed to #each with the gzipped data. # - # source://rack//lib/rack/deflater.rb#123 + # pkg:gem/rack#lib/rack/deflater.rb:123 def write(data); end end -# source://rack//lib/rack/deflater.rb#85 +# pkg:gem/rack#lib/rack/deflater.rb:85 Rack::Deflater::GzipStream::BUFFER_LENGTH = T.let(T.unsafe(nil), Integer) # Rack::Directory serves entries below the +root+ given, according to the @@ -751,102 +751,102 @@ Rack::Deflater::GzipStream::BUFFER_LENGTH = T.let(T.unsafe(nil), Integer) # # If +app+ is not specified, a Rack::Files of the same +root+ will be used. # -# source://rack//lib/rack/directory.rb#19 +# pkg:gem/rack#lib/rack/directory.rb:19 class Rack::Directory # Set the root directory and application for serving files. # # @return [Directory] a new instance of Directory # - # source://rack//lib/rack/directory.rb#83 + # pkg:gem/rack#lib/rack/directory.rb:83 def initialize(root, app = T.unsafe(nil)); end - # source://rack//lib/rack/directory.rb#89 + # pkg:gem/rack#lib/rack/directory.rb:89 def call(env); end # Rack response to use for requests with invalid paths, or nil if path is valid. # - # source://rack//lib/rack/directory.rb#109 + # pkg:gem/rack#lib/rack/directory.rb:109 def check_bad_request(path_info); end # Rack response to use for requests with paths outside the root, or nil if path is inside the root. # - # source://rack//lib/rack/directory.rb#119 + # pkg:gem/rack#lib/rack/directory.rb:119 def check_forbidden(path_info); end # Rack response to use for unreadable and non-file, non-directory entries. # - # source://rack//lib/rack/directory.rb#181 + # pkg:gem/rack#lib/rack/directory.rb:181 def entity_not_found(path_info); end # Provide human readable file sizes # - # source://rack//lib/rack/directory.rb#197 + # pkg:gem/rack#lib/rack/directory.rb:197 def filesize_format(int); end # Internals of request handling. Similar to call but does # not remove body for HEAD requests. # - # source://rack//lib/rack/directory.rb#96 + # pkg:gem/rack#lib/rack/directory.rb:96 def get(env); end # Rack response to use for directories under the root. # - # source://rack//lib/rack/directory.rb#130 + # pkg:gem/rack#lib/rack/directory.rb:130 def list_directory(path_info, path, script_name); end # Rack response to use for files and directories under the root. # Unreadable and non-file, non-directory entries will get a 404 response. # - # source://rack//lib/rack/directory.rb#171 + # pkg:gem/rack#lib/rack/directory.rb:171 def list_path(env, path, path_info, script_name); end # The root of the directory hierarchy. Only requests for files and # directories inside of the root directory are supported. # - # source://rack//lib/rack/directory.rb#80 + # pkg:gem/rack#lib/rack/directory.rb:80 def root; end # File::Stat for the given path, but return nil for missing/bad entries. # - # source://rack//lib/rack/directory.rb#163 + # pkg:gem/rack#lib/rack/directory.rb:163 def stat(path); end end -# source://rack//lib/rack/directory.rb#20 +# pkg:gem/rack#lib/rack/directory.rb:20 Rack::Directory::DIR_FILE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/directory.rb#43 +# pkg:gem/rack#lib/rack/directory.rb:43 Rack::Directory::DIR_PAGE_FOOTER = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/directory.rb#21 +# pkg:gem/rack#lib/rack/directory.rb:21 Rack::Directory::DIR_PAGE_HEADER = T.let(T.unsafe(nil), String) # Body class for directory entries, showing an index page with links # to each file. # -# source://rack//lib/rack/directory.rb#51 +# pkg:gem/rack#lib/rack/directory.rb:51 class Rack::Directory::DirectoryBody < ::Struct # Yield strings for each part of the directory entry # # @yield [DIR_PAGE_HEADER % [ show_path, show_path ]] # - # source://rack//lib/rack/directory.rb#53 + # pkg:gem/rack#lib/rack/directory.rb:53 def each; end private # Escape each element in the array of html strings. # - # source://rack//lib/rack/directory.rb#73 + # pkg:gem/rack#lib/rack/directory.rb:73 def DIR_FILE_escape(htmls); end end # Stolen from Ramaze # -# source://rack//lib/rack/directory.rb#189 +# pkg:gem/rack#lib/rack/directory.rb:189 Rack::Directory::FILESIZE_FORMAT = T.let(T.unsafe(nil), Array) -# source://rack//lib/rack/constants.rb#22 +# pkg:gem/rack#lib/rack/constants.rb:22 Rack::ETAG = T.let(T.unsafe(nil), String) # Automatically sets the etag header on all String bodies. @@ -859,39 +859,39 @@ Rack::ETAG = T.let(T.unsafe(nil), String) # used when etag is absent and a directive when it is present. The first # defaults to nil, while the second defaults to "max-age=0, private, must-revalidate" # -# source://rack//lib/rack/etag.rb#18 +# pkg:gem/rack#lib/rack/etag.rb:18 class Rack::ETag # @return [ETag] a new instance of ETag # - # source://rack//lib/rack/etag.rb#22 + # pkg:gem/rack#lib/rack/etag.rb:22 def initialize(app, no_cache_control = T.unsafe(nil), cache_control = T.unsafe(nil)); end - # source://rack//lib/rack/etag.rb#28 + # pkg:gem/rack#lib/rack/etag.rb:28 def call(env); end private - # source://rack//lib/rack/etag.rb#61 + # pkg:gem/rack#lib/rack/etag.rb:61 def digest_body(body); end # @return [Boolean] # - # source://rack//lib/rack/etag.rb#53 + # pkg:gem/rack#lib/rack/etag.rb:53 def etag_status?(status); end # @return [Boolean] # - # source://rack//lib/rack/etag.rb#57 + # pkg:gem/rack#lib/rack/etag.rb:57 def skip_caching?(headers); end end -# source://rack//lib/rack/etag.rb#20 +# pkg:gem/rack#lib/rack/etag.rb:20 Rack::ETag::DEFAULT_CACHE_CONTROL = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/etag.rb#19 +# pkg:gem/rack#lib/rack/etag.rb:19 Rack::ETag::ETAG_STRING = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#23 +# pkg:gem/rack#lib/rack/constants.rb:23 Rack::EXPIRES = T.let(T.unsafe(nil), String) # This middleware provides hooks to certain places in the request / @@ -948,97 +948,97 @@ Rack::EXPIRES = T.let(T.unsafe(nil), String) # raises an exception. If something raises an exception in a `on_finish` # method, then nothing is guaranteed. # -# source://rack//lib/rack/events.rb#62 +# pkg:gem/rack#lib/rack/events.rb:62 class Rack::Events # @return [Events] a new instance of Events # - # source://rack//lib/rack/events.rb#121 + # pkg:gem/rack#lib/rack/events.rb:121 def initialize(app, handlers); end - # source://rack//lib/rack/events.rb#126 + # pkg:gem/rack#lib/rack/events.rb:126 def call(env); end private - # source://rack//lib/rack/events.rb#164 + # pkg:gem/rack#lib/rack/events.rb:164 def make_request(env); end - # source://rack//lib/rack/events.rb#168 + # pkg:gem/rack#lib/rack/events.rb:168 def make_response(status, headers, body); end - # source://rack//lib/rack/events.rb#152 + # pkg:gem/rack#lib/rack/events.rb:152 def on_commit(request, response); end - # source://rack//lib/rack/events.rb#148 + # pkg:gem/rack#lib/rack/events.rb:148 def on_error(request, response, e); end - # source://rack//lib/rack/events.rb#160 + # pkg:gem/rack#lib/rack/events.rb:160 def on_finish(request, response); end - # source://rack//lib/rack/events.rb#156 + # pkg:gem/rack#lib/rack/events.rb:156 def on_start(request, response); end end -# source://rack//lib/rack/events.rb#63 +# pkg:gem/rack#lib/rack/events.rb:63 module Rack::Events::Abstract - # source://rack//lib/rack/events.rb#67 + # pkg:gem/rack#lib/rack/events.rb:67 def on_commit(req, res); end - # source://rack//lib/rack/events.rb#76 + # pkg:gem/rack#lib/rack/events.rb:76 def on_error(req, res, e); end - # source://rack//lib/rack/events.rb#73 + # pkg:gem/rack#lib/rack/events.rb:73 def on_finish(req, res); end - # source://rack//lib/rack/events.rb#70 + # pkg:gem/rack#lib/rack/events.rb:70 def on_send(req, res); end - # source://rack//lib/rack/events.rb#64 + # pkg:gem/rack#lib/rack/events.rb:64 def on_start(req, res); end end -# source://rack//lib/rack/events.rb#110 +# pkg:gem/rack#lib/rack/events.rb:110 class Rack::Events::BufferedResponse < ::Rack::Response::Raw # @return [BufferedResponse] a new instance of BufferedResponse # - # source://rack//lib/rack/events.rb#113 + # pkg:gem/rack#lib/rack/events.rb:113 def initialize(status, headers, body); end # Returns the value of attribute body. # - # source://rack//lib/rack/events.rb#111 + # pkg:gem/rack#lib/rack/events.rb:111 def body; end - # source://rack//lib/rack/events.rb#118 + # pkg:gem/rack#lib/rack/events.rb:118 def to_a; end end -# source://rack//lib/rack/events.rb#80 +# pkg:gem/rack#lib/rack/events.rb:80 class Rack::Events::EventedBodyProxy < ::Rack::BodyProxy # @return [EventedBodyProxy] a new instance of EventedBodyProxy # - # source://rack//lib/rack/events.rb#83 + # pkg:gem/rack#lib/rack/events.rb:83 def initialize(body, request, response, handlers, &block); end - # source://rack//lib/rack/events.rb#95 + # pkg:gem/rack#lib/rack/events.rb:95 def call(stream); end - # source://rack//lib/rack/events.rb#90 + # pkg:gem/rack#lib/rack/events.rb:90 def each; end # Returns the value of attribute request. # - # source://rack//lib/rack/events.rb#81 + # pkg:gem/rack#lib/rack/events.rb:81 def request; end # @return [Boolean] # - # source://rack//lib/rack/events.rb#100 + # pkg:gem/rack#lib/rack/events.rb:100 def respond_to?(method_name, include_all = T.unsafe(nil)); end # Returns the value of attribute response. # - # source://rack//lib/rack/events.rb#81 + # pkg:gem/rack#lib/rack/events.rb:81 def response; end end @@ -1050,99 +1050,99 @@ end # Handlers can detect if bodies are a Rack::Files, and use mechanisms # like sendfile on the +path+. # -# source://rack//lib/rack/files.rb#20 +# pkg:gem/rack#lib/rack/files.rb:20 class Rack::Files # @return [Files] a new instance of Files # - # source://rack//lib/rack/files.rb#27 + # pkg:gem/rack#lib/rack/files.rb:27 def initialize(root, headers = T.unsafe(nil), default_mime = T.unsafe(nil)); end - # source://rack//lib/rack/files.rb#34 + # pkg:gem/rack#lib/rack/files.rb:34 def call(env); end - # source://rack//lib/rack/files.rb#39 + # pkg:gem/rack#lib/rack/files.rb:39 def get(env); end # Returns the value of attribute root. # - # source://rack//lib/rack/files.rb#25 + # pkg:gem/rack#lib/rack/files.rb:25 def root; end - # source://rack//lib/rack/files.rb#68 + # pkg:gem/rack#lib/rack/files.rb:68 def serving(request, path); end private - # source://rack//lib/rack/files.rb#190 + # pkg:gem/rack#lib/rack/files.rb:190 def fail(status, body, headers = T.unsafe(nil)); end - # source://rack//lib/rack/files.rb#209 + # pkg:gem/rack#lib/rack/files.rb:209 def filesize(path); end # The MIME type for the contents of the file located at @path # - # source://rack//lib/rack/files.rb#205 + # pkg:gem/rack#lib/rack/files.rb:205 def mime_type(path, default_mime); end end -# source://rack//lib/rack/files.rb#21 +# pkg:gem/rack#lib/rack/files.rb:21 Rack::Files::ALLOWED_VERBS = T.let(T.unsafe(nil), Array) -# source://rack//lib/rack/files.rb#22 +# pkg:gem/rack#lib/rack/files.rb:22 Rack::Files::ALLOW_HEADER = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/files.rb#121 +# pkg:gem/rack#lib/rack/files.rb:121 class Rack::Files::BaseIterator # @return [BaseIterator] a new instance of BaseIterator # - # source://rack//lib/rack/files.rb#124 + # pkg:gem/rack#lib/rack/files.rb:124 def initialize(path, ranges, options); end - # source://rack//lib/rack/files.rb#144 + # pkg:gem/rack#lib/rack/files.rb:144 def bytesize; end - # source://rack//lib/rack/files.rb#153 + # pkg:gem/rack#lib/rack/files.rb:153 def close; end - # source://rack//lib/rack/files.rb#130 + # pkg:gem/rack#lib/rack/files.rb:130 def each; end # Returns the value of attribute options. # - # source://rack//lib/rack/files.rb#122 + # pkg:gem/rack#lib/rack/files.rb:122 def options; end # Returns the value of attribute path. # - # source://rack//lib/rack/files.rb#122 + # pkg:gem/rack#lib/rack/files.rb:122 def path; end # Returns the value of attribute ranges. # - # source://rack//lib/rack/files.rb#122 + # pkg:gem/rack#lib/rack/files.rb:122 def ranges; end private - # source://rack//lib/rack/files.rb#171 + # pkg:gem/rack#lib/rack/files.rb:171 def each_range_part(file, range); end # @return [Boolean] # - # source://rack//lib/rack/files.rb#157 + # pkg:gem/rack#lib/rack/files.rb:157 def multipart?; end - # source://rack//lib/rack/files.rb#161 + # pkg:gem/rack#lib/rack/files.rb:161 def multipart_heading(range); end end -# source://rack//lib/rack/files.rb#184 +# pkg:gem/rack#lib/rack/files.rb:184 class Rack::Files::Iterator < ::Rack::Files::BaseIterator - # source://rack//lib/rack/files.rb#185 + # pkg:gem/rack#lib/rack/files.rb:185 def to_path; end end -# source://rack//lib/rack/files.rb#23 +# pkg:gem/rack#lib/rack/files.rb:23 Rack::Files::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String) # Rack::ForwardRequest gets caught by Rack::Recursive and redirects @@ -1150,57 +1150,57 @@ Rack::Files::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String) # # raise ForwardRequest.new("/not-found") # -# source://rack//lib/rack/recursive.rb#14 +# pkg:gem/rack#lib/rack/recursive.rb:14 class Rack::ForwardRequest < ::Exception # @return [ForwardRequest] a new instance of ForwardRequest # - # source://rack//lib/rack/recursive.rb#17 + # pkg:gem/rack#lib/rack/recursive.rb:17 def initialize(url, env = T.unsafe(nil)); end # Returns the value of attribute env. # - # source://rack//lib/rack/recursive.rb#15 + # pkg:gem/rack#lib/rack/recursive.rb:15 def env; end # Returns the value of attribute url. # - # source://rack//lib/rack/recursive.rb#15 + # pkg:gem/rack#lib/rack/recursive.rb:15 def url; end end # HTTP method verbs # -# source://rack//lib/rack/constants.rb#28 +# pkg:gem/rack#lib/rack/constants.rb:28 Rack::GET = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#33 +# pkg:gem/rack#lib/rack/constants.rb:33 Rack::HEAD = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#7 +# pkg:gem/rack#lib/rack/constants.rb:7 Rack::HTTPS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#16 +# pkg:gem/rack#lib/rack/constants.rb:16 Rack::HTTP_COOKIE = T.let(T.unsafe(nil), String) # Request env keys # -# source://rack//lib/rack/constants.rb#5 +# pkg:gem/rack#lib/rack/constants.rb:5 Rack::HTTP_HOST = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#6 +# pkg:gem/rack#lib/rack/constants.rb:6 Rack::HTTP_PORT = T.let(T.unsafe(nil), String) # Rack::Head returns an empty body for all HEAD requests. It leaves # all other requests unchanged. # -# source://rack//lib/rack/head.rb#9 +# pkg:gem/rack#lib/rack/head.rb:9 class Rack::Head # @return [Head] a new instance of Head # - # source://rack//lib/rack/head.rb#10 + # pkg:gem/rack#lib/rack/head.rb:10 def initialize(app); end - # source://rack//lib/rack/head.rb#14 + # pkg:gem/rack#lib/rack/head.rb:14 def call(env); end end @@ -1209,123 +1209,123 @@ end # (by using non-lowercase response header keys), automatically handling # the downcasing of keys. # -# source://rack//lib/rack/headers.rb#8 +# pkg:gem/rack#lib/rack/headers.rb:8 class Rack::Headers < ::Hash - # source://rack//lib/rack/headers.rb#110 + # pkg:gem/rack#lib/rack/headers.rb:110 def [](key); end - # source://rack//lib/rack/headers.rb#114 + # pkg:gem/rack#lib/rack/headers.rb:114 def []=(key, value); end - # source://rack//lib/rack/headers.rb#119 + # pkg:gem/rack#lib/rack/headers.rb:119 def assoc(key); end # @raise [TypeError] # - # source://rack//lib/rack/headers.rb#123 + # pkg:gem/rack#lib/rack/headers.rb:123 def compare_by_identity; end - # source://rack//lib/rack/headers.rb#127 + # pkg:gem/rack#lib/rack/headers.rb:127 def delete(key); end - # source://rack//lib/rack/headers.rb#131 + # pkg:gem/rack#lib/rack/headers.rb:131 def dig(key, *a); end # :nocov: # - # source://rack//lib/rack/headers.rb#227 + # pkg:gem/rack#lib/rack/headers.rb:227 def except(*a); end - # source://rack//lib/rack/headers.rb#135 + # pkg:gem/rack#lib/rack/headers.rb:135 def fetch(key, *default, &block); end - # source://rack//lib/rack/headers.rb#140 + # pkg:gem/rack#lib/rack/headers.rb:140 def fetch_values(*a); end # @return [Boolean] # - # source://rack//lib/rack/headers.rb#144 + # pkg:gem/rack#lib/rack/headers.rb:144 def has_key?(key); end # @return [Boolean] # - # source://rack//lib/rack/headers.rb#147 + # pkg:gem/rack#lib/rack/headers.rb:147 def include?(key); end - # source://rack//lib/rack/headers.rb#151 + # pkg:gem/rack#lib/rack/headers.rb:151 def invert; end # @return [Boolean] # - # source://rack//lib/rack/headers.rb#148 + # pkg:gem/rack#lib/rack/headers.rb:148 def key?(key); end # @return [Boolean] # - # source://rack//lib/rack/headers.rb#149 + # pkg:gem/rack#lib/rack/headers.rb:149 def member?(key); end - # source://rack//lib/rack/headers.rb#157 + # pkg:gem/rack#lib/rack/headers.rb:157 def merge(hash, &block); end - # source://rack//lib/rack/headers.rb#196 + # pkg:gem/rack#lib/rack/headers.rb:196 def merge!(hash, &block); end - # source://rack//lib/rack/headers.rb#161 + # pkg:gem/rack#lib/rack/headers.rb:161 def reject(&block); end - # source://rack//lib/rack/headers.rb#167 + # pkg:gem/rack#lib/rack/headers.rb:167 def replace(hash); end - # source://rack//lib/rack/headers.rb#172 + # pkg:gem/rack#lib/rack/headers.rb:172 def select(&block); end # :nocov: # - # source://rack//lib/rack/headers.rb#205 + # pkg:gem/rack#lib/rack/headers.rb:205 def slice(*a); end - # source://rack//lib/rack/headers.rb#117 + # pkg:gem/rack#lib/rack/headers.rb:117 def store(key, value); end - # source://rack//lib/rack/headers.rb#178 + # pkg:gem/rack#lib/rack/headers.rb:178 def to_proc; end - # source://rack//lib/rack/headers.rb#211 + # pkg:gem/rack#lib/rack/headers.rb:211 def transform_keys(&block); end - # source://rack//lib/rack/headers.rb#215 + # pkg:gem/rack#lib/rack/headers.rb:215 def transform_keys!; end - # source://rack//lib/rack/headers.rb#182 + # pkg:gem/rack#lib/rack/headers.rb:182 def transform_values(&block); end - # source://rack//lib/rack/headers.rb#186 + # pkg:gem/rack#lib/rack/headers.rb:186 def update(hash, &block); end - # source://rack//lib/rack/headers.rb#198 + # pkg:gem/rack#lib/rack/headers.rb:198 def values_at(*keys); end private - # source://rack//lib/rack/headers.rb#234 + # pkg:gem/rack#lib/rack/headers.rb:234 def downcase_key(key); end class << self - # source://rack//lib/rack/headers.rb#91 + # pkg:gem/rack#lib/rack/headers.rb:91 def [](*items); end end end -# source://rack//lib/rack/headers.rb#9 +# pkg:gem/rack#lib/rack/headers.rb:9 Rack::Headers::KNOWN_HEADERS = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/constants.rb#36 +# pkg:gem/rack#lib/rack/constants.rb:36 Rack::LINK = T.let(T.unsafe(nil), String) # Validates your application and the requests and responses according to the Rack spec. See SPEC.rdoc for details. # -# source://rack//lib/rack/lint.rb#10 +# pkg:gem/rack#lib/rack/lint.rb:10 class Rack::Lint # N.B. The empty `##` comments creates paragraphs in the output. A trailing "\" is used to escape the newline character, which combines the comments into a single paragraph. # @@ -1340,77 +1340,77 @@ class Rack::Lint # @raise [LintError] # @return [Lint] a new instance of Lint # - # source://rack//lib/rack/lint.rb#65 + # pkg:gem/rack#lib/rack/lint.rb:65 def initialize(app); end # Invoke the application, validating the request and response according to the Rack spec. # - # source://rack//lib/rack/lint.rb#15 + # pkg:gem/rack#lib/rack/lint.rb:15 def call(env = T.unsafe(nil)); end end # :stopdoc: # -# source://rack//lib/rack/lint.rb#21 +# pkg:gem/rack#lib/rack/lint.rb:21 Rack::Lint::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array) # Match a host name, according to RFC3986. Copied from `URI::RFC3986_Parser::HOST` because older Ruby versions (< 3.3) don't expose it. # -# source://rack//lib/rack/lint.rb#29 +# pkg:gem/rack#lib/rack/lint.rb:29 Rack::Lint::HOST_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/lint.rb#52 +# pkg:gem/rack#lib/rack/lint.rb:52 Rack::Lint::HTTP_HOST_PATTERN = T.let(T.unsafe(nil), Regexp) # Represents a failure to meet the Rack specification. # -# source://rack//lib/rack/lint.rb#12 +# pkg:gem/rack#lib/rack/lint.rb:12 class Rack::Lint::LintError < ::RuntimeError; end -# source://rack//lib/rack/lint.rb#24 +# pkg:gem/rack#lib/rack/lint.rb:24 Rack::Lint::REQUEST_PATH_ABSOLUTE_FORM = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/lint.rb#26 +# pkg:gem/rack#lib/rack/lint.rb:26 Rack::Lint::REQUEST_PATH_ASTERISK_FORM = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/lint.rb#25 +# pkg:gem/rack#lib/rack/lint.rb:25 Rack::Lint::REQUEST_PATH_AUTHORITY_FORM = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/lint.rb#23 +# pkg:gem/rack#lib/rack/lint.rb:23 Rack::Lint::REQUEST_PATH_ORIGIN_FORM = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/lint.rb#51 +# pkg:gem/rack#lib/rack/lint.rb:51 Rack::Lint::SERVER_NAME_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/lint.rb#71 +# pkg:gem/rack#lib/rack/lint.rb:71 class Rack::Lint::Wrapper # @return [Wrapper] a new instance of Wrapper # - # source://rack//lib/rack/lint.rb#72 + # pkg:gem/rack#lib/rack/lint.rb:72 def initialize(app, env); end # ==== Streaming Body # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#918 + # pkg:gem/rack#lib/rack/lint.rb:918 def call(stream); end # ==== The content-length Header # - # source://rack//lib/rack/lint.rb#768 + # pkg:gem/rack#lib/rack/lint.rb:768 def check_content_length_header(status, headers); end # ==== The content-type Header # - # source://rack//lib/rack/lint.rb#753 + # pkg:gem/rack#lib/rack/lint.rb:753 def check_content_type_header(status, headers); end # === Early Hints # # The application or any middleware may call the rack.early_hints with an object which would be valid as the headers of a Rack response. # - # source://rack//lib/rack/lint.rb#670 + # pkg:gem/rack#lib/rack/lint.rb:670 def check_early_hints(env); end # == The Request Environment @@ -1419,20 +1419,20 @@ class Rack::Lint::Wrapper # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#136 + # pkg:gem/rack#lib/rack/lint.rb:136 def check_environment(env); end # === The Error Stream # - # source://rack//lib/rack/lint.rb#571 + # pkg:gem/rack#lib/rack/lint.rb:571 def check_error_stream(error); end - # source://rack//lib/rack/lint.rb#743 + # pkg:gem/rack#lib/rack/lint.rb:743 def check_header_value(key, value); end # === The Headers # - # source://rack//lib/rack/lint.rb#704 + # pkg:gem/rack#lib/rack/lint.rb:704 def check_headers(headers); end # === Hijacking @@ -1445,26 +1445,26 @@ class Rack::Lint::Wrapper # # Full hijack is used to completely take over an HTTP/1 connection. It occurs before any headers are written and causes the server to ignore any response generated by the application. It is intended to be used when applications need access to the raw HTTP/1 connection. # - # source://rack//lib/rack/lint.rb#618 + # pkg:gem/rack#lib/rack/lint.rb:618 def check_hijack(env); end # ==== Partial Hijack # # Partial hijack is used for bi-directional streaming of the request and response body. It occurs after the status and headers are written by the server and causes the server to ignore the Body of the response. It is intended to be used when applications need bi-directional streaming. # - # source://rack//lib/rack/lint.rb#639 + # pkg:gem/rack#lib/rack/lint.rb:639 def check_hijack_response(headers, env); end # === The Input Stream # # The input stream is an +IO+-like object which contains the raw HTTP request data. \ # - # source://rack//lib/rack/lint.rb#478 + # pkg:gem/rack#lib/rack/lint.rb:478 def check_input_stream(input); end # ==== The rack.protocol Header # - # source://rack//lib/rack/lint.rb#795 + # pkg:gem/rack#lib/rack/lint.rb:795 def check_rack_protocol_header(status, headers); end # == The Response @@ -1473,7 +1473,7 @@ class Rack::Lint::Wrapper # # === The Status # - # source://rack//lib/rack/lint.rb#694 + # pkg:gem/rack#lib/rack/lint.rb:694 def check_status(status); end # Setting this value informs the server that it should perform a connection upgrade. In HTTP/1, this is done using the +upgrade+ header. In HTTP/2+, this is done by accepting the request. @@ -1488,107 +1488,107 @@ class Rack::Lint::Wrapper # # The Body must either be consumed or returned. The Body is consumed by optionally calling either +each+ or +call+. Then, if the Body responds to +close+, it must be called to release any resources associated with the generation of the body. In other words, +close+ must always be called at least once; typically after the web server has sent the response to the client, but also in cases where the Rack application makes internal/virtual requests and discards the response. # - # source://rack//lib/rack/lint.rb#821 + # pkg:gem/rack#lib/rack/lint.rb:821 def close; end # ==== Enumerable Body # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#852 + # pkg:gem/rack#lib/rack/lint.rb:852 def each; end # @return [Boolean] # - # source://rack//lib/rack/lint.rb#895 + # pkg:gem/rack#lib/rack/lint.rb:895 def respond_to?(name, *_arg1); end # @raise [LintError] # - # source://rack//lib/rack/lint.rb#87 + # pkg:gem/rack#lib/rack/lint.rb:87 def response; end # If the Body responds to +to_ary+, it must return an +Array+ whose contents are identical to that produced by calling +each+. Middleware may call +to_ary+ directly on the Body and return a new Body in its place. In other words, middleware can only process the Body directly if it responds to +to_ary+. If the Body responds to both +to_ary+ and +close+, its implementation of +to_ary+ must call +close+. # - # source://rack//lib/rack/lint.rb#905 + # pkg:gem/rack#lib/rack/lint.rb:905 def to_ary; end - # source://rack//lib/rack/lint.rb#891 + # pkg:gem/rack#lib/rack/lint.rb:891 def to_path; end - # source://rack//lib/rack/lint.rb#780 + # pkg:gem/rack#lib/rack/lint.rb:780 def verify_content_length(size); end - # source://rack//lib/rack/lint.rb#835 + # pkg:gem/rack#lib/rack/lint.rb:835 def verify_to_path; end private # @raise [LintError] # - # source://rack//lib/rack/lint.rb#126 + # pkg:gem/rack#lib/rack/lint.rb:126 def assert_required(key); end end -# source://rack//lib/rack/lint.rb#889 +# pkg:gem/rack#lib/rack/lint.rb:889 Rack::Lint::Wrapper::BODY_METHODS = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/lint.rb#580 +# pkg:gem/rack#lib/rack/lint.rb:580 class Rack::Lint::Wrapper::ErrorWrapper # @return [ErrorWrapper] a new instance of ErrorWrapper # - # source://rack//lib/rack/lint.rb#581 + # pkg:gem/rack#lib/rack/lint.rb:581 def initialize(error); end # * +close+ must never be called on the error stream. # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#602 + # pkg:gem/rack#lib/rack/lint.rb:602 def close(*args); end # * +flush+ must be called without arguments and must be called in order to make the error appear for sure. # - # source://rack//lib/rack/lint.rb#597 + # pkg:gem/rack#lib/rack/lint.rb:597 def flush; end # * +puts+ must be called with a single argument that responds to +to_s+. # - # source://rack//lib/rack/lint.rb#586 + # pkg:gem/rack#lib/rack/lint.rb:586 def puts(str); end # * +write+ must be called with a single argument that is a +String+. # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#591 + # pkg:gem/rack#lib/rack/lint.rb:591 def write(str); end end -# source://rack//lib/rack/lint.rb#495 +# pkg:gem/rack#lib/rack/lint.rb:495 class Rack::Lint::Wrapper::InputWrapper # @return [InputWrapper] a new instance of InputWrapper # - # source://rack//lib/rack/lint.rb#496 + # pkg:gem/rack#lib/rack/lint.rb:496 def initialize(input); end # * +close+ can be called on the input stream to indicate that any remaining input is not needed. # - # source://rack//lib/rack/lint.rb#563 + # pkg:gem/rack#lib/rack/lint.rb:563 def close(*args); end # * +each+ must be called without arguments and only yield +String+ values. # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#552 + # pkg:gem/rack#lib/rack/lint.rb:552 def each(*args); end # * +gets+ must be called without arguments and return a +String+, or +nil+ on EOF (end-of-file). # # @raise [LintError] # - # source://rack//lib/rack/lint.rb#501 + # pkg:gem/rack#lib/rack/lint.rb:501 def gets(*args); end # * +read+ behaves like IO#read. Its signature is read([length, [buffer]]). @@ -1598,71 +1598,71 @@ class Rack::Lint::Wrapper::InputWrapper # * When EOF is reached, this method returns +nil+ if +length+ is given and not +nil+, or +""+ if +length+ is not given or is +nil+. # * If +buffer+ is given, then the read data will be placed into +buffer+ instead of a newly created +String+. # - # source://rack//lib/rack/lint.rb#519 + # pkg:gem/rack#lib/rack/lint.rb:519 def read(*args); end end -# source://rack//lib/rack/lint.rb#936 +# pkg:gem/rack#lib/rack/lint.rb:936 class Rack::Lint::Wrapper::StreamWrapper extend ::Forwardable # @return [StreamWrapper] a new instance of StreamWrapper # - # source://rack//lib/rack/lint.rb#947 + # pkg:gem/rack#lib/rack/lint.rb:947 def initialize(stream); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def <<(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def close(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def close_read(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def close_write(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def closed?(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def flush(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def read(*_arg0, **_arg1, &_arg2); end - # source://rack//lib/rack/lint.rb#945 + # pkg:gem/rack#lib/rack/lint.rb:945 def write(*_arg0, **_arg1, &_arg2); end end # The semantics of these +IO+ methods must be a best effort match to those of a normal Ruby +IO+ or +Socket+ object, using standard arguments and raising standard exceptions. Servers may simply pass on real +IO+ objects to the Streaming Body. In some cases (e.g. when using transfer-encoding or HTTP/2+), the server may need to provide a wrapper that implements the required methods, in order to provide the correct semantics. # -# source://rack//lib/rack/lint.rb#940 +# pkg:gem/rack#lib/rack/lint.rb:940 Rack::Lint::Wrapper::StreamWrapper::REQUIRED_METHODS = T.let(T.unsafe(nil), Array) # Rack::Lock locks every request inside a mutex, so that every request # will effectively be executed synchronously. # -# source://rack//lib/rack/lock.rb#8 +# pkg:gem/rack#lib/rack/lock.rb:8 class Rack::Lock # @return [Lock] a new instance of Lock # - # source://rack//lib/rack/lock.rb#9 + # pkg:gem/rack#lib/rack/lock.rb:9 def initialize(app, mutex = T.unsafe(nil)); end - # source://rack//lib/rack/lock.rb#13 + # pkg:gem/rack#lib/rack/lock.rb:13 def call(env); end private - # source://rack//lib/rack/lock.rb#25 + # pkg:gem/rack#lib/rack/lock.rb:25 def unlock; end end # Rack::MediaType parse media type and parameters out of content_type string # -# source://rack//lib/rack/media_type.rb#6 +# pkg:gem/rack#lib/rack/media_type.rb:6 class Rack::MediaType class << self # The media type parameters provided in CONTENT_TYPE as a Hash, or @@ -1676,7 +1676,7 @@ class Rack::MediaType # and "text/plain;charset" will return { 'charset' => '' }, similarly to # the query params parser (barring the latter case, which returns nil instead)). # - # source://rack//lib/rack/media_type.rb#34 + # pkg:gem/rack#lib/rack/media_type.rb:34 def params(content_type); end # The media type (type/subtype) portion of the CONTENT_TYPE header @@ -1686,54 +1686,54 @@ class Rack::MediaType # For more information on the use of media types in HTTP, see: # http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 # - # source://rack//lib/rack/media_type.rb#16 + # pkg:gem/rack#lib/rack/media_type.rb:16 def type(content_type); end private - # source://rack//lib/rack/media_type.rb#47 + # pkg:gem/rack#lib/rack/media_type.rb:47 def strip_doublequotes(str); end end end -# source://rack//lib/rack/media_type.rb#7 +# pkg:gem/rack#lib/rack/media_type.rb:7 Rack::MediaType::SPLIT_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/method_override.rb#8 +# pkg:gem/rack#lib/rack/method_override.rb:8 class Rack::MethodOverride # @return [MethodOverride] a new instance of MethodOverride # - # source://rack//lib/rack/method_override.rb#15 + # pkg:gem/rack#lib/rack/method_override.rb:15 def initialize(app); end - # source://rack//lib/rack/method_override.rb#19 + # pkg:gem/rack#lib/rack/method_override.rb:19 def call(env); end - # source://rack//lib/rack/method_override.rb#31 + # pkg:gem/rack#lib/rack/method_override.rb:31 def method_override(env); end private - # source://rack//lib/rack/method_override.rb#44 + # pkg:gem/rack#lib/rack/method_override.rb:44 def allowed_methods; end - # source://rack//lib/rack/method_override.rb#48 + # pkg:gem/rack#lib/rack/method_override.rb:48 def method_override_param(req); end end -# source://rack//lib/rack/method_override.rb#13 +# pkg:gem/rack#lib/rack/method_override.rb:13 Rack::MethodOverride::ALLOWED_METHODS = T.let(T.unsafe(nil), Array) -# source://rack//lib/rack/method_override.rb#9 +# pkg:gem/rack#lib/rack/method_override.rb:9 Rack::MethodOverride::HTTP_METHODS = T.let(T.unsafe(nil), Array) -# source://rack//lib/rack/method_override.rb#12 +# pkg:gem/rack#lib/rack/method_override.rb:12 Rack::MethodOverride::HTTP_METHOD_OVERRIDE_HEADER = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/method_override.rb#11 +# pkg:gem/rack#lib/rack/method_override.rb:11 Rack::MethodOverride::METHOD_OVERRIDE_PARAM_KEY = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/mime.rb#4 +# pkg:gem/rack#lib/rack/mime.rb:4 module Rack::Mime private @@ -1746,7 +1746,7 @@ module Rack::Mime # # @return [Boolean] # - # source://rack//lib/rack/mime.rb#30 + # pkg:gem/rack#lib/rack/mime.rb:30 def match?(value, matcher); end # Returns String with mime type if found, otherwise use +fallback+. @@ -1762,7 +1762,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 + # pkg:gem/rack#lib/rack/mime.rb:18 def mime_type(ext, fallback = T.unsafe(nil)); end class << self @@ -1775,7 +1775,7 @@ module Rack::Mime # # @return [Boolean] # - # source://rack//lib/rack/mime.rb#36 + # pkg:gem/rack#lib/rack/mime.rb:36 def match?(value, matcher); end # Returns String with mime type if found, otherwise use +fallback+. @@ -1791,7 +1791,7 @@ module Rack::Mime # This is a shortcut for: # Rack::Mime::MIME_TYPES.fetch('.foo', 'application/octet-stream') # - # source://rack//lib/rack/mime.rb#21 + # pkg:gem/rack#lib/rack/mime.rb:21 def mime_type(ext, fallback = T.unsafe(nil)); end end end @@ -1809,7 +1809,7 @@ end # N.B. On Ubuntu the mime.types file does not include the leading period, so # users may need to modify the data before merging into the hash. # -# source://rack//lib/rack/mime.rb#51 +# pkg:gem/rack#lib/rack/mime.rb:51 Rack::Mime::MIME_TYPES = T.let(T.unsafe(nil), Hash) # Rack::MockRequest helps testing your Rack application without @@ -1825,53 +1825,53 @@ Rack::Mime::MIME_TYPES = T.let(T.unsafe(nil), Hash) # :fatal:: Raise a FatalWarning if the app writes to rack.errors. # :lint:: If true, wrap the application in a Rack::Lint. # -# source://rack//lib/rack/mock_request.rb#23 +# pkg:gem/rack#lib/rack/mock_request.rb:23 class Rack::MockRequest # @return [MockRequest] a new instance of MockRequest # - # source://rack//lib/rack/mock_request.rb#44 + # pkg:gem/rack#lib/rack/mock_request.rb:44 def initialize(app); end # Make a DELETE request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#57 + # pkg:gem/rack#lib/rack/mock_request.rb:57 def delete(uri, opts = T.unsafe(nil)); end # Make a GET request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#49 + # pkg:gem/rack#lib/rack/mock_request.rb:49 def get(uri, opts = T.unsafe(nil)); end # Make a HEAD request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#59 + # pkg:gem/rack#lib/rack/mock_request.rb:59 def head(uri, opts = T.unsafe(nil)); end # Make an OPTIONS request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#61 + # pkg:gem/rack#lib/rack/mock_request.rb:61 def options(uri, opts = T.unsafe(nil)); end # Make a PATCH request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#55 + # pkg:gem/rack#lib/rack/mock_request.rb:55 def patch(uri, opts = T.unsafe(nil)); end # Make a POST request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#51 + # pkg:gem/rack#lib/rack/mock_request.rb:51 def post(uri, opts = T.unsafe(nil)); end # Make a PUT request and return a MockResponse. See #request. # - # source://rack//lib/rack/mock_request.rb#53 + # pkg:gem/rack#lib/rack/mock_request.rb:53 def put(uri, opts = T.unsafe(nil)); end # Make a request using the given request method for the given # uri to the rack application and return a MockResponse. # Options given are passed to MockRequest.env_for. # - # source://rack//lib/rack/mock_request.rb#66 + # pkg:gem/rack#lib/rack/mock_request.rb:66 def request(method = T.unsafe(nil), uri = T.unsafe(nil), opts = T.unsafe(nil)); end class << self @@ -1885,139 +1885,139 @@ class Rack::MockRequest # :params :: The params to use # :script_name :: The SCRIPT_NAME to set # - # source://rack//lib/rack/mock_request.rb#98 + # pkg:gem/rack#lib/rack/mock_request.rb:98 def env_for(uri = T.unsafe(nil), opts = T.unsafe(nil)); end # For historical reasons, we're pinning to RFC 2396. # URI::Parser = URI::RFC2396_Parser # - # source://rack//lib/rack/mock_request.rb#84 + # pkg:gem/rack#lib/rack/mock_request.rb:84 def parse_uri_rfc2396(uri); end end end -# source://rack//lib/rack/mock_request.rb#27 +# pkg:gem/rack#lib/rack/mock_request.rb:27 class Rack::MockRequest::FatalWarner - # source://rack//lib/rack/mock_request.rb#36 + # pkg:gem/rack#lib/rack/mock_request.rb:36 def flush; end # @raise [FatalWarning] # - # source://rack//lib/rack/mock_request.rb#28 + # pkg:gem/rack#lib/rack/mock_request.rb:28 def puts(warning); end - # source://rack//lib/rack/mock_request.rb#39 + # pkg:gem/rack#lib/rack/mock_request.rb:39 def string; end # @raise [FatalWarning] # - # source://rack//lib/rack/mock_request.rb#32 + # pkg:gem/rack#lib/rack/mock_request.rb:32 def write(warning); end end -# source://rack//lib/rack/mock_request.rb#24 +# pkg:gem/rack#lib/rack/mock_request.rb:24 class Rack::MockRequest::FatalWarning < ::RuntimeError; end # Rack::MockResponse provides useful helpers for testing your apps. # Usually, you don't create the MockResponse on your own, but use # MockRequest. # -# source://rack//lib/rack/mock_response.rb#12 +# pkg:gem/rack#lib/rack/mock_response.rb:12 class Rack::MockResponse < ::Rack::Response # @return [MockResponse] a new instance of MockResponse # - # source://rack//lib/rack/mock_response.rb#47 + # pkg:gem/rack#lib/rack/mock_response.rb:47 def initialize(status, headers, body, errors = T.unsafe(nil)); end - # source://rack//lib/rack/mock_response.rb#62 + # pkg:gem/rack#lib/rack/mock_response.rb:62 def =~(other); end - # source://rack//lib/rack/mock_response.rb#70 + # pkg:gem/rack#lib/rack/mock_response.rb:70 def body; end - # source://rack//lib/rack/mock_response.rb#96 + # pkg:gem/rack#lib/rack/mock_response.rb:96 def cookie(name); end # Headers # - # source://rack//lib/rack/mock_response.rb#42 + # pkg:gem/rack#lib/rack/mock_response.rb:42 def cookies; end # @return [Boolean] # - # source://rack//lib/rack/mock_response.rb#92 + # pkg:gem/rack#lib/rack/mock_response.rb:92 def empty?; end # Errors # - # source://rack//lib/rack/mock_response.rb#45 + # pkg:gem/rack#lib/rack/mock_response.rb:45 def errors; end # Errors # - # source://rack//lib/rack/mock_response.rb#45 + # pkg:gem/rack#lib/rack/mock_response.rb:45 def errors=(_arg0); end - # source://rack//lib/rack/mock_response.rb#66 + # pkg:gem/rack#lib/rack/mock_response.rb:66 def match(other); end # Headers # - # source://rack//lib/rack/mock_response.rb#42 + # pkg:gem/rack#lib/rack/mock_response.rb:42 def original_headers; end private - # source://rack//lib/rack/mock_response.rb#123 + # pkg:gem/rack#lib/rack/mock_response.rb:123 def identify_cookie_attributes(cookie_filling); end - # source://rack//lib/rack/mock_response.rb#102 + # pkg:gem/rack#lib/rack/mock_response.rb:102 def parse_cookies_from_header; end class << self - # source://rack//lib/rack/mock_response.rb#38 + # pkg:gem/rack#lib/rack/mock_response.rb:38 def [](*_arg0); end end end -# source://rack//lib/rack/mock_response.rb#13 +# pkg:gem/rack#lib/rack/mock_response.rb:13 class Rack::MockResponse::Cookie # @return [Cookie] a new instance of Cookie # - # source://rack//lib/rack/mock_response.rb#16 + # pkg:gem/rack#lib/rack/mock_response.rb:16 def initialize(args); end # Returns the value of attribute domain. # - # source://rack//lib/rack/mock_response.rb#14 + # pkg:gem/rack#lib/rack/mock_response.rb:14 def domain; end # Returns the value of attribute expires. # - # source://rack//lib/rack/mock_response.rb#14 + # pkg:gem/rack#lib/rack/mock_response.rb:14 def expires; end - # source://rack//lib/rack/mock_response.rb#25 + # pkg:gem/rack#lib/rack/mock_response.rb:25 def method_missing(method_name, *args, **_arg2, &block); end # Returns the value of attribute name. # - # source://rack//lib/rack/mock_response.rb#14 + # pkg:gem/rack#lib/rack/mock_response.rb:14 def name; end # Returns the value of attribute path. # - # source://rack//lib/rack/mock_response.rb#14 + # pkg:gem/rack#lib/rack/mock_response.rb:14 def path; end # Returns the value of attribute secure. # - # source://rack//lib/rack/mock_response.rb#14 + # pkg:gem/rack#lib/rack/mock_response.rb:14 def secure; end # Returns the value of attribute value. # - # source://rack//lib/rack/mock_response.rb#14 + # pkg:gem/rack#lib/rack/mock_response.rb:14 def value; end private @@ -2026,7 +2026,7 @@ class Rack::MockResponse::Cookie # # @return [Boolean] # - # source://rack//lib/rack/mock_response.rb#32 + # pkg:gem/rack#lib/rack/mock_response.rb:32 def respond_to_missing?(method_name, include_all = T.unsafe(nil)); end end @@ -2034,16 +2034,16 @@ end # # Usually, Rack::Request#POST takes care of calling this. # -# source://rack//lib/rack/multipart/parser.rb#9 +# pkg:gem/rack#lib/rack/multipart/parser.rb:9 module Rack::Multipart class << self - # source://rack//lib/rack/multipart.rb#72 + # pkg:gem/rack#lib/rack/multipart.rb:72 def build_multipart(params, first = T.unsafe(nil)); end - # source://rack//lib/rack/multipart.rb#68 + # pkg:gem/rack#lib/rack/multipart.rb:68 def extract_multipart(request, params = T.unsafe(nil)); end - # source://rack//lib/rack/multipart.rb#48 + # pkg:gem/rack#lib/rack/multipart.rb:48 def parse_multipart(env, params = T.unsafe(nil)); end end end @@ -2051,90 +2051,90 @@ end # Base class for multipart exceptions that do not subclass from # other exception classes for backwards compatibility. # -# source://rack//lib/rack/multipart/parser.rb#26 +# pkg:gem/rack#lib/rack/multipart/parser.rb:26 class Rack::Multipart::BoundaryTooLongError < ::StandardError include ::Rack::BadRequest end -# source://rack//lib/rack/multipart/parser.rb#33 +# pkg:gem/rack#lib/rack/multipart/parser.rb:33 Rack::Multipart::EOL = T.let(T.unsafe(nil), String) # Use specific error class when parsing multipart request # that ends early. # -# source://rack//lib/rack/multipart/parser.rb#20 +# pkg:gem/rack#lib/rack/multipart/parser.rb:20 class Rack::Multipart::EmptyContentError < ::EOFError include ::Rack::BadRequest end # Prefer to use the BoundaryTooLongError class or Rack::BadRequest. # -# source://rack//lib/rack/multipart/parser.rb#31 +# pkg:gem/rack#lib/rack/multipart/parser.rb:31 Rack::Multipart::Error = Rack::Multipart::BoundaryTooLongError # whitespace with optional folding # -# source://rack//lib/rack/multipart/parser.rb#34 +# pkg:gem/rack#lib/rack/multipart/parser.rb:34 Rack::Multipart::FWS = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/multipart/generator.rb#7 +# pkg:gem/rack#lib/rack/multipart/generator.rb:7 class Rack::Multipart::Generator # @return [Generator] a new instance of Generator # - # source://rack//lib/rack/multipart/generator.rb#8 + # pkg:gem/rack#lib/rack/multipart/generator.rb:8 def initialize(params, first = T.unsafe(nil)); end - # source://rack//lib/rack/multipart/generator.rb#16 + # pkg:gem/rack#lib/rack/multipart/generator.rb:16 def dump; end private - # source://rack//lib/rack/multipart/generator.rb#89 + # pkg:gem/rack#lib/rack/multipart/generator.rb:89 def content_for_other(file, name); end - # source://rack//lib/rack/multipart/generator.rb#77 + # pkg:gem/rack#lib/rack/multipart/generator.rb:77 def content_for_tempfile(io, file, name); end - # source://rack//lib/rack/multipart/generator.rb#52 + # pkg:gem/rack#lib/rack/multipart/generator.rb:52 def flattened_params; end # @return [Boolean] # - # source://rack//lib/rack/multipart/generator.rb#37 + # pkg:gem/rack#lib/rack/multipart/generator.rb:37 def multipart?; end end # anything but a non-folding CRLF # -# source://rack//lib/rack/multipart/parser.rb#35 +# pkg:gem/rack#lib/rack/multipart/parser.rb:35 Rack::Multipart::HEADER_VALUE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/multipart/parser.rb#36 +# pkg:gem/rack#lib/rack/multipart/parser.rb:36 Rack::Multipart::MULTIPART = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/multipart.rb#16 +# pkg:gem/rack#lib/rack/multipart.rb:16 Rack::Multipart::MULTIPART_BOUNDARY = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/multipart/parser.rb#38 +# pkg:gem/rack#lib/rack/multipart/parser.rb:38 Rack::Multipart::MULTIPART_CONTENT_DISPOSITION = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/multipart/parser.rb#39 +# pkg:gem/rack#lib/rack/multipart/parser.rb:39 Rack::Multipart::MULTIPART_CONTENT_ID = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/multipart/parser.rb#37 +# pkg:gem/rack#lib/rack/multipart/parser.rb:37 Rack::Multipart::MULTIPART_CONTENT_TYPE = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/multipart.rb#18 +# pkg:gem/rack#lib/rack/multipart.rb:18 class Rack::Multipart::MissingInputError < ::StandardError include ::Rack::BadRequest end -# source://rack//lib/rack/multipart/parser.rb#10 +# pkg:gem/rack#lib/rack/multipart/parser.rb:10 class Rack::Multipart::MultipartPartLimitError < ::Errno::EMFILE include ::Rack::BadRequest end -# source://rack//lib/rack/multipart/parser.rb#14 +# pkg:gem/rack#lib/rack/multipart/parser.rb:14 class Rack::Multipart::MultipartTotalPartLimitError < ::StandardError include ::Rack::BadRequest end @@ -2143,24 +2143,24 @@ end # In future, the Parser could return the pair list directly, but that would # change its API. # -# source://rack//lib/rack/multipart.rb#25 +# pkg:gem/rack#lib/rack/multipart.rb:25 class Rack::Multipart::ParamList # @return [ParamList] a new instance of ParamList # - # source://rack//lib/rack/multipart.rb#34 + # pkg:gem/rack#lib/rack/multipart.rb:34 def initialize; end - # source://rack//lib/rack/multipart.rb#38 + # pkg:gem/rack#lib/rack/multipart.rb:38 def <<(pair); end - # source://rack//lib/rack/multipart.rb#42 + # pkg:gem/rack#lib/rack/multipart.rb:42 def to_params_hash; end class << self - # source://rack//lib/rack/multipart.rb#26 + # pkg:gem/rack#lib/rack/multipart.rb:26 def make_params; end - # source://rack//lib/rack/multipart.rb#30 + # pkg:gem/rack#lib/rack/multipart.rb:30 def normalize_params(params, key, value); end end end @@ -2178,22 +2178,22 @@ end # * +:tempfile+ - A Tempfile object containing the uploaded data # * +:head+ - The raw header content for this part # -# source://rack//lib/rack/multipart/parser.rb#53 +# pkg:gem/rack#lib/rack/multipart/parser.rb:53 class Rack::Multipart::Parser # @return [Parser] a new instance of Parser # - # source://rack//lib/rack/multipart/parser.rb#235 + # pkg:gem/rack#lib/rack/multipart/parser.rb:235 def initialize(boundary, tempfile, bufsize, query_parser); end - # source://rack//lib/rack/multipart/parser.rb#254 + # pkg:gem/rack#lib/rack/multipart/parser.rb:254 def parse(io); end - # source://rack//lib/rack/multipart/parser.rb#277 + # pkg:gem/rack#lib/rack/multipart/parser.rb:277 def result; end # Returns the value of attribute state. # - # source://rack//lib/rack/multipart/parser.rb#233 + # pkg:gem/rack#lib/rack/multipart/parser.rb:233 def state; end private @@ -2203,23 +2203,23 @@ class Rack::Multipart::Parser # end of the boundary. If we don't find the start or end of the # boundary, clear the buffer and return nil. # - # source://rack//lib/rack/multipart/parser.rb#493 + # pkg:gem/rack#lib/rack/multipart/parser.rb:493 def consume_boundary; end # Return the related Encoding object. However, because # enc is submitted by the user, it may be invalid, so # use a binary encoding in that case. # - # source://rack//lib/rack/multipart/parser.rb#548 + # pkg:gem/rack#lib/rack/multipart/parser.rb:548 def find_encoding(enc); end - # source://rack//lib/rack/multipart/parser.rb#330 + # pkg:gem/rack#lib/rack/multipart/parser.rb:330 def handle_consume_token; end - # source://rack//lib/rack/multipart/parser.rb#563 + # pkg:gem/rack#lib/rack/multipart/parser.rb:563 def handle_dummy_encoding(name, body); end - # source://rack//lib/rack/multipart/parser.rb#573 + # pkg:gem/rack#lib/rack/multipart/parser.rb:573 def handle_empty_content!(content); end # This handles the initial parser state. We read until we find the starting @@ -2230,135 +2230,135 @@ class Rack::Multipart::Parser # boundary. The client would have to deliberately craft a response # with the opening boundary beyond the buffer size for that to happen. # - # source://rack//lib/rack/multipart/parser.rb#303 + # pkg:gem/rack#lib/rack/multipart/parser.rb:303 def handle_fast_forward; end - # source://rack//lib/rack/multipart/parser.rb#460 + # pkg:gem/rack#lib/rack/multipart/parser.rb:460 def handle_mime_body; end - # source://rack//lib/rack/multipart/parser.rb#342 + # pkg:gem/rack#lib/rack/multipart/parser.rb:342 def handle_mime_head; end - # source://rack//lib/rack/multipart/parser.rb#502 + # pkg:gem/rack#lib/rack/multipart/parser.rb:502 def normalize_filename(filename); end - # source://rack//lib/rack/multipart/parser.rb#290 + # pkg:gem/rack#lib/rack/multipart/parser.rb:290 def read_data(io, outbuf); end - # source://rack//lib/rack/multipart/parser.rb#515 + # pkg:gem/rack#lib/rack/multipart/parser.rb:515 def tag_multipart_encoding(filename, content_type, name, body); end - # source://rack//lib/rack/multipart/parser.rb#482 + # pkg:gem/rack#lib/rack/multipart/parser.rb:482 def update_retained_size(size); end class << self - # source://rack//lib/rack/multipart/parser.rb#122 + # pkg:gem/rack#lib/rack/multipart/parser.rb:122 def parse(io, content_length, content_type, tmpfile, bufsize, qp); end - # source://rack//lib/rack/multipart/parser.rb#115 + # pkg:gem/rack#lib/rack/multipart/parser.rb:115 def parse_boundary(content_type); end end end -# source://rack//lib/rack/multipart/parser.rb#62 +# pkg:gem/rack#lib/rack/multipart/parser.rb:62 Rack::Multipart::Parser::BOUNDARY_START_LIMIT = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/multipart/parser.rb#80 +# pkg:gem/rack#lib/rack/multipart/parser.rb:80 Rack::Multipart::Parser::BUFFERED_UPLOAD_BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/multipart/parser.rb#54 +# pkg:gem/rack#lib/rack/multipart/parser.rb:54 Rack::Multipart::Parser::BUFSIZE = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/multipart/parser.rb#83 +# pkg:gem/rack#lib/rack/multipart/parser.rb:83 class Rack::Multipart::Parser::BoundedIO # @return [BoundedIO] a new instance of BoundedIO # - # source://rack//lib/rack/multipart/parser.rb#84 + # pkg:gem/rack#lib/rack/multipart/parser.rb:84 def initialize(io, content_length); end - # source://rack//lib/rack/multipart/parser.rb#90 + # pkg:gem/rack#lib/rack/multipart/parser.rb:90 def read(size, outbuf = T.unsafe(nil)); end end -# source://rack//lib/rack/multipart/parser.rb#512 +# pkg:gem/rack#lib/rack/multipart/parser.rb:512 Rack::Multipart::Parser::CHARSET = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/multipart/parser.rb#341 +# pkg:gem/rack#lib/rack/multipart/parser.rb:341 Rack::Multipart::Parser::CONTENT_DISPOSITION_MAX_BYTES = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/multipart/parser.rb#340 +# pkg:gem/rack#lib/rack/multipart/parser.rb:340 Rack::Multipart::Parser::CONTENT_DISPOSITION_MAX_PARAMS = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/multipart/parser.rb#142 +# pkg:gem/rack#lib/rack/multipart/parser.rb:142 class Rack::Multipart::Parser::Collector include ::Enumerable # @return [Collector] a new instance of Collector # - # source://rack//lib/rack/multipart/parser.rb#178 + # pkg:gem/rack#lib/rack/multipart/parser.rb:178 def initialize(tempfile); end - # source://rack//lib/rack/multipart/parser.rb#184 + # pkg:gem/rack#lib/rack/multipart/parser.rb:184 def each; end - # source://rack//lib/rack/multipart/parser.rb#204 + # pkg:gem/rack#lib/rack/multipart/parser.rb:204 def on_mime_body(mime_index, content); end - # source://rack//lib/rack/multipart/parser.rb#208 + # pkg:gem/rack#lib/rack/multipart/parser.rb:208 def on_mime_finish(mime_index); end - # source://rack//lib/rack/multipart/parser.rb#188 + # pkg:gem/rack#lib/rack/multipart/parser.rb:188 def on_mime_head(mime_index, head, filename, content_type, name); end private - # source://rack//lib/rack/multipart/parser.rb#213 + # pkg:gem/rack#lib/rack/multipart/parser.rb:213 def check_part_limits; end end -# source://rack//lib/rack/multipart/parser.rb#166 +# pkg:gem/rack#lib/rack/multipart/parser.rb:166 class Rack::Multipart::Parser::Collector::BufferPart < ::Rack::Multipart::Parser::Collector::MimePart - # source://rack//lib/rack/multipart/parser.rb#168 + # pkg:gem/rack#lib/rack/multipart/parser.rb:168 def close; end # @return [Boolean] # - # source://rack//lib/rack/multipart/parser.rb#167 + # pkg:gem/rack#lib/rack/multipart/parser.rb:167 def file?; end end -# source://rack//lib/rack/multipart/parser.rb#143 +# pkg:gem/rack#lib/rack/multipart/parser.rb:143 class Rack::Multipart::Parser::Collector::MimePart < ::Struct # @yield [data] # - # source://rack//lib/rack/multipart/parser.rb#144 + # pkg:gem/rack#lib/rack/multipart/parser.rb:144 def get_data; end end -# source://rack//lib/rack/multipart/parser.rb#171 +# pkg:gem/rack#lib/rack/multipart/parser.rb:171 class Rack::Multipart::Parser::Collector::TempfilePart < ::Rack::Multipart::Parser::Collector::MimePart - # source://rack//lib/rack/multipart/parser.rb#173 + # pkg:gem/rack#lib/rack/multipart/parser.rb:173 def close; end # @return [Boolean] # - # source://rack//lib/rack/multipart/parser.rb#172 + # pkg:gem/rack#lib/rack/multipart/parser.rb:172 def file?; end end -# source://rack//lib/rack/multipart/parser.rb#113 +# pkg:gem/rack#lib/rack/multipart/parser.rb:113 Rack::Multipart::Parser::EMPTY = T.let(T.unsafe(nil), Rack::Multipart::Parser::MultipartInfo) -# source://rack//lib/rack/multipart/parser.rb#65 +# pkg:gem/rack#lib/rack/multipart/parser.rb:65 Rack::Multipart::Parser::MIME_HEADER_BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/multipart/parser.rb#112 +# pkg:gem/rack#lib/rack/multipart/parser.rb:112 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#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def params; end # Sets the attribute params @@ -2366,14 +2366,14 @@ class Rack::Multipart::Parser::MultipartInfo < ::Struct # @param value [Object] the value to set the attribute params to. # @return [Object] the newly set value # - # source://rack//lib/rack/multipart/parser.rb#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 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#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def tmp_files; end # Sets the attribute tmp_files @@ -2381,34 +2381,34 @@ class Rack::Multipart::Parser::MultipartInfo < ::Struct # @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#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def tmp_files=(_); end class << self - # source://rack//lib/rack/multipart/parser.rb#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def [](*_arg0); end - # source://rack//lib/rack/multipart/parser.rb#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def inspect; end - # source://rack//lib/rack/multipart/parser.rb#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def keyword_init?; end - # source://rack//lib/rack/multipart/parser.rb#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def members; end - # source://rack//lib/rack/multipart/parser.rb#112 + # pkg:gem/rack#lib/rack/multipart/parser.rb:112 def new(*_arg0); end end end -# source://rack//lib/rack/multipart/parser.rb#554 +# pkg:gem/rack#lib/rack/multipart/parser.rb:554 Rack::Multipart::Parser::REENCODE_DUMMY_ENCODINGS = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/multipart/parser.rb#56 +# pkg:gem/rack#lib/rack/multipart/parser.rb:56 Rack::Multipart::Parser::TEMPFILE_FACTORY = T.let(T.unsafe(nil), Proc) -# source://rack//lib/rack/multipart/parser.rb#55 +# pkg:gem/rack#lib/rack/multipart/parser.rb:55 Rack::Multipart::Parser::TEXT_PLAIN = T.let(T.unsafe(nil), String) # Despite the misleading name, UploadedFile is designed for use for @@ -2423,7 +2423,7 @@ Rack::Multipart::Parser::TEXT_PLAIN = T.let(T.unsafe(nil), String) # # UploadedFile delegates most methods to the tempfile it contains. # -# source://rack//lib/rack/multipart/uploaded_file.rb#19 +# pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:19 class Rack::Multipart::UploadedFile # Create a new UploadedFile. For backwards compatibility, this accepts # both positional and keyword versions of the same arguments: @@ -2449,41 +2449,41 @@ class Rack::Multipart::UploadedFile # # @return [UploadedFile] a new instance of UploadedFile # - # source://rack//lib/rack/multipart/uploaded_file.rb#49 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:49 def initialize(filepath = T.unsafe(nil), ct = T.unsafe(nil), bin = T.unsafe(nil), path: T.unsafe(nil), content_type: T.unsafe(nil), binary: T.unsafe(nil), filename: T.unsafe(nil), io: T.unsafe(nil)); end # The content type of the instance. # - # source://rack//lib/rack/multipart/uploaded_file.rb#26 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:26 def content_type; end # The content type of the instance. # - # source://rack//lib/rack/multipart/uploaded_file.rb#26 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:26 def content_type=(_arg0); end # The path of the tempfile for the instance, if the tempfile has a path. # nil if the tempfile does not have a path. # - # source://rack//lib/rack/multipart/uploaded_file.rb#69 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:69 def local_path; end # Delegate method missing calls to the tempfile. # - # source://rack//lib/rack/multipart/uploaded_file.rb#77 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:77 def method_missing(method_name, *args, &block); end # The provided name of the file. This generally is the basename of # path provided during initialization, but it can contain slashes if they # were present in the filename argument when the instance was created. # - # source://rack//lib/rack/multipart/uploaded_file.rb#23 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:23 def original_filename; end # The path of the tempfile for the instance, if the tempfile has a path. # nil if the tempfile does not have a path. # - # source://rack//lib/rack/multipart/uploaded_file.rb#66 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:66 def path; end private @@ -2492,158 +2492,158 @@ class Rack::Multipart::UploadedFile # # @return [Boolean] # - # source://rack//lib/rack/multipart/uploaded_file.rb#72 + # pkg:gem/rack#lib/rack/multipart/uploaded_file.rb:72 def respond_to_missing?(*args); end end -# source://rack//lib/rack/null_logger.rb#6 +# pkg:gem/rack#lib/rack/null_logger.rb:6 class Rack::NullLogger # @return [NullLogger] a new instance of NullLogger # - # source://rack//lib/rack/null_logger.rb#7 + # pkg:gem/rack#lib/rack/null_logger.rb:7 def initialize(app); end - # source://rack//lib/rack/null_logger.rb#45 + # pkg:gem/rack#lib/rack/null_logger.rb:45 def <<(msg); end - # source://rack//lib/rack/null_logger.rb#43 + # pkg:gem/rack#lib/rack/null_logger.rb:43 def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#11 + # pkg:gem/rack#lib/rack/null_logger.rb:11 def call(env); end - # source://rack//lib/rack/null_logger.rb#42 + # pkg:gem/rack#lib/rack/null_logger.rb:42 def close; end - # source://rack//lib/rack/null_logger.rb#34 + # pkg:gem/rack#lib/rack/null_logger.rb:34 def datetime_format; end - # source://rack//lib/rack/null_logger.rb#39 + # pkg:gem/rack#lib/rack/null_logger.rb:39 def datetime_format=(datetime_format); end - # source://rack//lib/rack/null_logger.rb#17 + # pkg:gem/rack#lib/rack/null_logger.rb:17 def debug(progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#27 + # pkg:gem/rack#lib/rack/null_logger.rb:27 def debug!; end # @return [Boolean] # - # source://rack//lib/rack/null_logger.rb#23 + # pkg:gem/rack#lib/rack/null_logger.rb:23 def debug?; end - # source://rack//lib/rack/null_logger.rb#19 + # pkg:gem/rack#lib/rack/null_logger.rb:19 def error(progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#28 + # pkg:gem/rack#lib/rack/null_logger.rb:28 def error!; end # @return [Boolean] # - # source://rack//lib/rack/null_logger.rb#25 + # pkg:gem/rack#lib/rack/null_logger.rb:25 def error?; end - # source://rack//lib/rack/null_logger.rb#20 + # pkg:gem/rack#lib/rack/null_logger.rb:20 def fatal(progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#29 + # pkg:gem/rack#lib/rack/null_logger.rb:29 def fatal!; end # @return [Boolean] # - # source://rack//lib/rack/null_logger.rb#26 + # pkg:gem/rack#lib/rack/null_logger.rb:26 def fatal?; end - # source://rack//lib/rack/null_logger.rb#35 + # pkg:gem/rack#lib/rack/null_logger.rb:35 def formatter; end - # source://rack//lib/rack/null_logger.rb#40 + # pkg:gem/rack#lib/rack/null_logger.rb:40 def formatter=(formatter); end - # source://rack//lib/rack/null_logger.rb#16 + # pkg:gem/rack#lib/rack/null_logger.rb:16 def info(progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#30 + # pkg:gem/rack#lib/rack/null_logger.rb:30 def info!; end # @return [Boolean] # - # source://rack//lib/rack/null_logger.rb#22 + # pkg:gem/rack#lib/rack/null_logger.rb:22 def info?; end - # source://rack//lib/rack/null_logger.rb#32 + # pkg:gem/rack#lib/rack/null_logger.rb:32 def level; end - # source://rack//lib/rack/null_logger.rb#37 + # pkg:gem/rack#lib/rack/null_logger.rb:37 def level=(level); end - # source://rack//lib/rack/null_logger.rb#44 + # pkg:gem/rack#lib/rack/null_logger.rb:44 def log(severity, message = T.unsafe(nil), progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#33 + # pkg:gem/rack#lib/rack/null_logger.rb:33 def progname; end - # source://rack//lib/rack/null_logger.rb#38 + # pkg:gem/rack#lib/rack/null_logger.rb:38 def progname=(progname); end - # source://rack//lib/rack/null_logger.rb#46 + # pkg:gem/rack#lib/rack/null_logger.rb:46 def reopen(logdev = T.unsafe(nil)); end - # source://rack//lib/rack/null_logger.rb#36 + # pkg:gem/rack#lib/rack/null_logger.rb:36 def sev_threshold; end - # source://rack//lib/rack/null_logger.rb#41 + # pkg:gem/rack#lib/rack/null_logger.rb:41 def sev_threshold=(sev_threshold); end - # source://rack//lib/rack/null_logger.rb#21 + # pkg:gem/rack#lib/rack/null_logger.rb:21 def unknown(progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#18 + # pkg:gem/rack#lib/rack/null_logger.rb:18 def warn(progname = T.unsafe(nil), &block); end - # source://rack//lib/rack/null_logger.rb#31 + # pkg:gem/rack#lib/rack/null_logger.rb:31 def warn!; end # @return [Boolean] # - # source://rack//lib/rack/null_logger.rb#24 + # pkg:gem/rack#lib/rack/null_logger.rb:24 def warn?; end end -# source://rack//lib/rack/constants.rb#34 +# pkg:gem/rack#lib/rack/constants.rb:34 Rack::OPTIONS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#31 +# pkg:gem/rack#lib/rack/constants.rb:31 Rack::PATCH = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#8 +# pkg:gem/rack#lib/rack/constants.rb:8 Rack::PATH_INFO = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#29 +# pkg:gem/rack#lib/rack/constants.rb:29 Rack::POST = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#30 +# pkg:gem/rack#lib/rack/constants.rb:30 Rack::PUT = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#12 +# pkg:gem/rack#lib/rack/constants.rb:12 Rack::QUERY_STRING = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/query_parser.rb#7 +# pkg:gem/rack#lib/rack/query_parser.rb:7 class Rack::QueryParser # @return [QueryParser] a new instance of QueryParser # - # source://rack//lib/rack/query_parser.rb#62 + # pkg:gem/rack#lib/rack/query_parser.rb:62 def initialize(params_class, param_depth_limit, bytesize_limit: T.unsafe(nil), params_limit: T.unsafe(nil)); end # Returns the value of attribute bytesize_limit. # - # source://rack//lib/rack/query_parser.rb#60 + # pkg:gem/rack#lib/rack/query_parser.rb:60 def bytesize_limit; end - # source://rack//lib/rack/query_parser.rb#196 + # pkg:gem/rack#lib/rack/query_parser.rb:196 def make_params; end - # source://rack//lib/rack/query_parser.rb#200 + # pkg:gem/rack#lib/rack/query_parser.rb:200 def new_depth_limit(param_depth_limit); end # normalize_params recursively expands parameters into structural types. If @@ -2652,12 +2652,12 @@ class Rack::QueryParser # and should no longer be used, it is kept for backwards compatibility with # earlier versions of rack. # - # source://rack//lib/rack/query_parser.rb#124 + # pkg:gem/rack#lib/rack/query_parser.rb:124 def normalize_params(params, name, v, _depth = T.unsafe(nil)); end # Returns the value of attribute param_depth_limit. # - # source://rack//lib/rack/query_parser.rb#40 + # pkg:gem/rack#lib/rack/query_parser.rb:40 def param_depth_limit; end # parse_nested_query expands a query string into structural types. Supported @@ -2666,7 +2666,7 @@ class Rack::QueryParser # ParameterTypeError is raised. Users are encouraged to return a 400 in this # case. # - # source://rack//lib/rack/query_parser.rb#109 + # pkg:gem/rack#lib/rack/query_parser.rb:109 def parse_nested_query(qs, separator = T.unsafe(nil)); end # Stolen from Mongrel, with some small modifications: @@ -2674,77 +2674,77 @@ class Rack::QueryParser # to parse cookies by changing the characters used in the second parameter # (which defaults to '&'). # - # source://rack//lib/rack/query_parser.rb#73 + # pkg:gem/rack#lib/rack/query_parser.rb:73 def parse_query(qs, separator = T.unsafe(nil), &unescaper); end # Parses a query string by breaking it up at the '&', returning all key-value # pairs as an array of [key, value] arrays. Unlike parse_query, this preserves # all duplicate keys rather than collapsing them. # - # source://rack//lib/rack/query_parser.rb#94 + # pkg:gem/rack#lib/rack/query_parser.rb:94 def parse_query_pairs(qs, separator = T.unsafe(nil)); end private # @raise [ParamsTooDeepError] # - # source://rack//lib/rack/query_parser.rb#128 + # pkg:gem/rack#lib/rack/query_parser.rb:128 def _normalize_params(params, name, v, depth); end - # source://rack//lib/rack/query_parser.rb#222 + # pkg:gem/rack#lib/rack/query_parser.rb:222 def each_query_pair(qs, separator, unescaper = T.unsafe(nil)); end # @return [Boolean] # - # source://rack//lib/rack/query_parser.rb#210 + # pkg:gem/rack#lib/rack/query_parser.rb:210 def params_hash_has_key?(hash, key); end # @return [Boolean] # - # source://rack//lib/rack/query_parser.rb#206 + # pkg:gem/rack#lib/rack/query_parser.rb:206 def params_hash_type?(obj); end - # source://rack//lib/rack/query_parser.rb#253 + # pkg:gem/rack#lib/rack/query_parser.rb:253 def unescape(string, encoding = T.unsafe(nil)); end class << self - # source://rack//lib/rack/query_parser.rb#36 + # pkg:gem/rack#lib/rack/query_parser.rb:36 def make_default(param_depth_limit, **options); end end end -# source://rack//lib/rack/query_parser.rb#54 +# pkg:gem/rack#lib/rack/query_parser.rb:54 Rack::QueryParser::BYTESIZE_LIMIT = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/query_parser.rb#9 +# pkg:gem/rack#lib/rack/query_parser.rb:9 Rack::QueryParser::COMMON_SEP = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/query_parser.rb#8 +# pkg:gem/rack#lib/rack/query_parser.rb:8 Rack::QueryParser::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp) # InvalidParameterError is the error that is raised when incoming structural # parameters (parsed by parse_nested_query) contain invalid format or byte # sequence. # -# source://rack//lib/rack/query_parser.rb#20 +# pkg:gem/rack#lib/rack/query_parser.rb:20 class Rack::QueryParser::InvalidParameterError < ::ArgumentError include ::Rack::BadRequest end -# source://rack//lib/rack/query_parser.rb#57 +# pkg:gem/rack#lib/rack/query_parser.rb:57 Rack::QueryParser::PARAMS_LIMIT = T.let(T.unsafe(nil), Integer) # ParameterTypeError is the error that is raised when incoming structural # parameters (parsed by parse_nested_query) contain conflicting types. # -# source://rack//lib/rack/query_parser.rb#13 +# pkg:gem/rack#lib/rack/query_parser.rb:13 class Rack::QueryParser::ParameterTypeError < ::TypeError include ::Rack::BadRequest end -# source://rack//lib/rack/query_parser.rb#257 +# pkg:gem/rack#lib/rack/query_parser.rb:257 class Rack::QueryParser::Params < ::Hash - # source://rack//lib/rack/query_parser.rb#258 + # pkg:gem/rack#lib/rack/query_parser.rb:258 def to_params_hash; end end @@ -2753,107 +2753,107 @@ end # as QueryLimitError, so that code that rescues ParamsTooDeepError error # to handle bad query strings also now handles other limits. # -# source://rack//lib/rack/query_parser.rb#34 +# pkg:gem/rack#lib/rack/query_parser.rb:34 Rack::QueryParser::ParamsTooDeepError = Rack::QueryParser::QueryLimitError # QueryLimitError is for errors raised when the query provided exceeds one # of the query parser limits. # -# source://rack//lib/rack/query_parser.rb#26 +# pkg:gem/rack#lib/rack/query_parser.rb:26 class Rack::QueryParser::QueryLimitError < ::RangeError include ::Rack::BadRequest end -# source://rack//lib/rack/constants.rb#43 +# pkg:gem/rack#lib/rack/constants.rb:43 Rack::RACK_EARLY_HINTS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#44 +# pkg:gem/rack#lib/rack/constants.rb:44 Rack::RACK_ERRORS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#51 +# pkg:gem/rack#lib/rack/constants.rb:51 Rack::RACK_HIJACK = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#46 +# pkg:gem/rack#lib/rack/constants.rb:46 Rack::RACK_INPUT = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#52 +# pkg:gem/rack#lib/rack/constants.rb:52 Rack::RACK_IS_HIJACK = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#45 +# pkg:gem/rack#lib/rack/constants.rb:45 Rack::RACK_LOGGER = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#67 +# pkg:gem/rack#lib/rack/constants.rb:67 Rack::RACK_METHODOVERRIDE_ORIGINAL_METHOD = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#54 +# pkg:gem/rack#lib/rack/constants.rb:54 Rack::RACK_MULTIPART_BUFFER_SIZE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#55 +# pkg:gem/rack#lib/rack/constants.rb:55 Rack::RACK_MULTIPART_TEMPFILE_FACTORY = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#57 +# pkg:gem/rack#lib/rack/constants.rb:57 Rack::RACK_PROTOCOL = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#53 +# pkg:gem/rack#lib/rack/constants.rb:53 Rack::RACK_RECURSIVE_INCLUDE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#63 +# pkg:gem/rack#lib/rack/constants.rb:63 Rack::RACK_REQUEST_COOKIE_HASH = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#64 +# pkg:gem/rack#lib/rack/constants.rb:64 Rack::RACK_REQUEST_COOKIE_STRING = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#62 +# pkg:gem/rack#lib/rack/constants.rb:62 Rack::RACK_REQUEST_FORM_ERROR = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#59 +# pkg:gem/rack#lib/rack/constants.rb:59 Rack::RACK_REQUEST_FORM_HASH = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#58 +# pkg:gem/rack#lib/rack/constants.rb:58 Rack::RACK_REQUEST_FORM_INPUT = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#60 +# pkg:gem/rack#lib/rack/constants.rb:60 Rack::RACK_REQUEST_FORM_PAIRS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#61 +# pkg:gem/rack#lib/rack/constants.rb:61 Rack::RACK_REQUEST_FORM_VARS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#65 +# pkg:gem/rack#lib/rack/constants.rb:65 Rack::RACK_REQUEST_QUERY_HASH = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#66 +# pkg:gem/rack#lib/rack/constants.rb:66 Rack::RACK_REQUEST_QUERY_STRING = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#56 +# pkg:gem/rack#lib/rack/constants.rb:56 Rack::RACK_RESPONSE_FINISHED = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#47 +# pkg:gem/rack#lib/rack/constants.rb:47 Rack::RACK_SESSION = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#48 +# pkg:gem/rack#lib/rack/constants.rb:48 Rack::RACK_SESSION_OPTIONS = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#49 +# pkg:gem/rack#lib/rack/constants.rb:49 Rack::RACK_SHOWSTATUS_DETAIL = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#42 +# pkg:gem/rack#lib/rack/constants.rb:42 Rack::RACK_TEMPFILES = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#50 +# pkg:gem/rack#lib/rack/constants.rb:50 Rack::RACK_URL_SCHEME = T.let(T.unsafe(nil), String) # Rack environment variables # -# source://rack//lib/rack/constants.rb#41 +# pkg:gem/rack#lib/rack/constants.rb:41 Rack::RACK_VERSION = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/version.rb#11 +# pkg:gem/rack#lib/rack/version.rb:11 Rack::RELEASE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#9 +# pkg:gem/rack#lib/rack/constants.rb:9 Rack::REQUEST_METHOD = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#10 +# pkg:gem/rack#lib/rack/constants.rb:10 Rack::REQUEST_PATH = T.let(T.unsafe(nil), String) # Rack::Recursive allows applications called down the chain to @@ -2861,20 +2861,20 @@ Rack::REQUEST_PATH = T.let(T.unsafe(nil), String) # rack['rack.recursive.include'][...] or raise a # ForwardRequest to redirect internally. # -# source://rack//lib/rack/recursive.rb#36 +# pkg:gem/rack#lib/rack/recursive.rb:36 class Rack::Recursive # @return [Recursive] a new instance of Recursive # - # source://rack//lib/rack/recursive.rb#37 + # pkg:gem/rack#lib/rack/recursive.rb:37 def initialize(app); end - # source://rack//lib/rack/recursive.rb#45 + # pkg:gem/rack#lib/rack/recursive.rb:45 def _call(env); end - # source://rack//lib/rack/recursive.rb#41 + # pkg:gem/rack#lib/rack/recursive.rb:41 def call(env); end - # source://rack//lib/rack/recursive.rb#52 + # pkg:gem/rack#lib/rack/recursive.rb:52 def include(env, path); end end @@ -2892,38 +2892,38 @@ end # It is performing a check/reload cycle at the start of every request, but # also respects a cool down time, during which nothing will be done. # -# source://rack//lib/rack/reloader.rb#24 +# pkg:gem/rack#lib/rack/reloader.rb:24 class Rack::Reloader # @return [Reloader] a new instance of Reloader # - # source://rack//lib/rack/reloader.rb#25 + # pkg:gem/rack#lib/rack/reloader.rb:25 def initialize(app, cooldown = T.unsafe(nil), backend = T.unsafe(nil)); end - # source://rack//lib/rack/reloader.rb#36 + # pkg:gem/rack#lib/rack/reloader.rb:36 def call(env); end - # source://rack//lib/rack/reloader.rb#50 + # pkg:gem/rack#lib/rack/reloader.rb:50 def reload!(stderr = T.unsafe(nil)); end # A safe Kernel::load, issuing the hooks depending on the results # - # source://rack//lib/rack/reloader.rb#58 + # pkg:gem/rack#lib/rack/reloader.rb:58 def safe_load(file, mtime, stderr = T.unsafe(nil)); end end -# source://rack//lib/rack/reloader.rb#68 +# pkg:gem/rack#lib/rack/reloader.rb:68 module Rack::Reloader::Stat # Takes a relative or absolute +file+ name, a couple possible +paths+ that # the +file+ might reside in. Returns the full path and File::Stat for the # path. # - # source://rack//lib/rack/reloader.rb#88 + # pkg:gem/rack#lib/rack/reloader.rb:88 def figure_path(file, paths); end - # source://rack//lib/rack/reloader.rb#69 + # pkg:gem/rack#lib/rack/reloader.rb:69 def rotation; end - # source://rack//lib/rack/reloader.rb#103 + # pkg:gem/rack#lib/rack/reloader.rb:103 def safe_stat(file); end end @@ -2935,26 +2935,26 @@ end # req.post? # req.params["data"] # -# source://rack//lib/rack/request.rb#16 +# pkg:gem/rack#lib/rack/request.rb:16 class Rack::Request include ::Rack::Request::Env include ::Rack::Request::Helpers # @return [Request] a new instance of Request # - # source://rack//lib/rack/request.rb#62 + # pkg:gem/rack#lib/rack/request.rb:62 def initialize(env); end - # source://rack//lib/rack/request.rb#81 + # pkg:gem/rack#lib/rack/request.rb:81 def delete_param(k); end - # source://rack//lib/rack/request.rb#68 + # pkg:gem/rack#lib/rack/request.rb:68 def ip; end - # source://rack//lib/rack/request.rb#72 + # pkg:gem/rack#lib/rack/request.rb:72 def params; end - # source://rack//lib/rack/request.rb#76 + # pkg:gem/rack#lib/rack/request.rb:76 def update_param(k, v); end class << self @@ -2970,7 +2970,7 @@ class Rack::Request # using reverse proxies, you should probably use an empty # array. # - # source://rack//lib/rack/request.rb#31 + # pkg:gem/rack#lib/rack/request.rb:31 def forwarded_priority; end # The priority when checking forwarded headers. The default @@ -2985,19 +2985,19 @@ class Rack::Request # using reverse proxies, you should probably use an empty # array. # - # source://rack//lib/rack/request.rb#31 + # pkg:gem/rack#lib/rack/request.rb:31 def forwarded_priority=(_arg0); end # Returns the value of attribute ip_filter. # - # source://rack//lib/rack/request.rb#18 + # pkg:gem/rack#lib/rack/request.rb:18 def ip_filter; end # Sets the attribute ip_filter # # @param value the value to set the attribute ip_filter to. # - # source://rack//lib/rack/request.rb#18 + # pkg:gem/rack#lib/rack/request.rb:18 def ip_filter=(_arg0); end # The priority when checking either the X-Forwarded-Proto @@ -3008,7 +3008,7 @@ class Rack::Request # similar to [:scheme, :proto]. You can remove either or # both of the entries in array to ignore that respective header. # - # source://rack//lib/rack/request.rb#40 + # pkg:gem/rack#lib/rack/request.rb:40 def x_forwarded_proto_priority; end # The priority when checking either the X-Forwarded-Proto @@ -3019,17 +3019,17 @@ class Rack::Request # similar to [:scheme, :proto]. You can remove either or # both of the entries in array to ignore that respective header. # - # source://rack//lib/rack/request.rb#40 + # pkg:gem/rack#lib/rack/request.rb:40 def x_forwarded_proto_priority=(_arg0); end end end -# source://rack//lib/rack/request.rb#60 +# pkg:gem/rack#lib/rack/request.rb:60 Rack::Request::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array) -# source://rack//lib/rack/request.rb#87 +# pkg:gem/rack#lib/rack/request.rb:87 module Rack::Request::Env - # source://rack//lib/rack/request.rb#91 + # pkg:gem/rack#lib/rack/request.rb:91 def initialize(env); end # Add a header that may have multiple values. @@ -3042,33 +3042,33 @@ module Rack::Request::Env # # http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 # - # source://rack//lib/rack/request.rb#134 + # pkg:gem/rack#lib/rack/request.rb:134 def add_header(key, v); end # Delete a request specific value for `name`. # - # source://rack//lib/rack/request.rb#145 + # pkg:gem/rack#lib/rack/request.rb:145 def delete_header(name); end # Loops through each key / value pair in the request specific data. # - # source://rack//lib/rack/request.rb#116 + # pkg:gem/rack#lib/rack/request.rb:116 def each_header(&block); end # The environment of the request. # - # source://rack//lib/rack/request.rb#89 + # pkg:gem/rack#lib/rack/request.rb:89 def env; end # If a block is given, it yields to the block if the value hasn't been set # on the request. # - # source://rack//lib/rack/request.rb#111 + # pkg:gem/rack#lib/rack/request.rb:111 def fetch_header(name, &block); end # Get a request specific value for `name`. # - # source://rack//lib/rack/request.rb#105 + # pkg:gem/rack#lib/rack/request.rb:105 def get_header(name); end # Predicate method to test to see if `name` has been set as request @@ -3076,25 +3076,25 @@ module Rack::Request::Env # # @return [Boolean] # - # source://rack//lib/rack/request.rb#100 + # pkg:gem/rack#lib/rack/request.rb:100 def has_header?(name); end # Set a request specific value for `name` to `v` # - # source://rack//lib/rack/request.rb#121 + # pkg:gem/rack#lib/rack/request.rb:121 def set_header(name, v); end private - # source://rack//lib/rack/request.rb#149 + # pkg:gem/rack#lib/rack/request.rb:149 def initialize_copy(other); end end -# source://rack//lib/rack/request.rb#154 +# pkg:gem/rack#lib/rack/request.rb:154 module Rack::Request::Helpers # Returns the data received in the query string. # - # source://rack//lib/rack/request.rb#491 + # pkg:gem/rack#lib/rack/request.rb:491 def GET; end # Returns the data received in the request body. @@ -3102,13 +3102,13 @@ module Rack::Request::Helpers # This method support both application/x-www-form-urlencoded and # multipart/form-data. # - # source://rack//lib/rack/request.rb#542 + # pkg:gem/rack#lib/rack/request.rb:542 def POST; end - # source://rack//lib/rack/request.rb#611 + # pkg:gem/rack#lib/rack/request.rb:611 def accept_encoding; end - # source://rack//lib/rack/request.rb#615 + # pkg:gem/rack#lib/rack/request.rb:615 def accept_language; end # The authority of the incoming request as defined by RFC3976. @@ -3117,13 +3117,13 @@ module Rack::Request::Helpers # In HTTP/1, this is the `host` header. # In HTTP/2, this is the `:authority` pseudo-header. # - # source://rack//lib/rack/request.rb#271 + # pkg:gem/rack#lib/rack/request.rb:271 def authority; end - # source://rack//lib/rack/request.rb#594 + # pkg:gem/rack#lib/rack/request.rb:594 def base_url; end - # source://rack//lib/rack/request.rb#195 + # pkg:gem/rack#lib/rack/request.rb:195 def body; end # The character set of the request body if a "charset" media type @@ -3131,23 +3131,23 @@ module Rack::Request::Helpers # that, per RFC2616, text/* media types that specify no explicit # charset are to be considered ISO-8859-1. # - # source://rack//lib/rack/request.rb#465 + # pkg:gem/rack#lib/rack/request.rb:465 def content_charset; end - # source://rack//lib/rack/request.rb#204 + # pkg:gem/rack#lib/rack/request.rb:204 def content_length; end - # source://rack//lib/rack/request.rb#313 + # pkg:gem/rack#lib/rack/request.rb:313 def content_type; end - # source://rack//lib/rack/request.rb#298 + # pkg:gem/rack#lib/rack/request.rb:298 def cookies; end # Checks the HTTP request method (or verb) to see if it was of type DELETE # # @return [Boolean] # - # source://rack//lib/rack/request.rb#225 + # pkg:gem/rack#lib/rack/request.rb:225 def delete?; end # Destructively delete a parameter, whether it's in GET or POST. Returns the value of the deleted parameter. @@ -3156,7 +3156,7 @@ module Rack::Request::Helpers # # env['rack.input'] is not touched. # - # source://rack//lib/rack/request.rb#589 + # pkg:gem/rack#lib/rack/request.rb:589 def delete_param(k); end # Determine whether the request body contains form-data by checking @@ -3170,7 +3170,7 @@ module Rack::Request::Helpers # # @return [Boolean] # - # source://rack//lib/rack/request.rb#477 + # pkg:gem/rack#lib/rack/request.rb:477 def form_data?; end # Returns the form data pairs received in the request body. @@ -3178,46 +3178,46 @@ module Rack::Request::Helpers # This method support both application/x-www-form-urlencoded and # multipart/form-data. # - # source://rack//lib/rack/request.rb#499 + # pkg:gem/rack#lib/rack/request.rb:499 def form_pairs; end - # source://rack//lib/rack/request.rb#398 + # pkg:gem/rack#lib/rack/request.rb:398 def forwarded_authority; end - # source://rack//lib/rack/request.rb#358 + # pkg:gem/rack#lib/rack/request.rb:358 def forwarded_for; end - # source://rack//lib/rack/request.rb#379 + # pkg:gem/rack#lib/rack/request.rb:379 def forwarded_port; end - # source://rack//lib/rack/request.rb#607 + # pkg:gem/rack#lib/rack/request.rb:607 def fullpath; end # Checks the HTTP request method (or verb) to see if it was of type GET # # @return [Boolean] # - # source://rack//lib/rack/request.rb#228 + # pkg:gem/rack#lib/rack/request.rb:228 def get?; end # Checks the HTTP request method (or verb) to see if it was of type HEAD # # @return [Boolean] # - # source://rack//lib/rack/request.rb#231 + # pkg:gem/rack#lib/rack/request.rb:231 def head?; end # Returns a formatted host, suitable for being used in a URI. # - # source://rack//lib/rack/request.rb#338 + # pkg:gem/rack#lib/rack/request.rb:338 def host; end # The `HTTP_HOST` header. # - # source://rack//lib/rack/request.rb#323 + # pkg:gem/rack#lib/rack/request.rb:323 def host_authority; end - # source://rack//lib/rack/request.rb#327 + # pkg:gem/rack#lib/rack/request.rb:327 def host_with_port(authority = T.unsafe(nil)); end # Returns an address suitable for being to resolve to an address. @@ -3225,20 +3225,20 @@ module Rack::Request::Helpers # as +host+. In the case of IPv6 or future address formats, the square # brackets are removed. # - # source://rack//lib/rack/request.rb#346 + # pkg:gem/rack#lib/rack/request.rb:346 def hostname; end - # source://rack//lib/rack/request.rb#419 + # pkg:gem/rack#lib/rack/request.rb:419 def ip; end # Checks the HTTP request method (or verb) to see if it was of type LINK # # @return [Boolean] # - # source://rack//lib/rack/request.rb#237 + # pkg:gem/rack#lib/rack/request.rb:237 def link?; end - # source://rack//lib/rack/request.rb#205 + # pkg:gem/rack#lib/rack/request.rb:205 def logger; end # The media type (type/subtype) portion of the CONTENT_TYPE header @@ -3248,7 +3248,7 @@ module Rack::Request::Helpers # For more information on the use of media types in HTTP, see: # http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 # - # source://rack//lib/rack/request.rb#448 + # pkg:gem/rack#lib/rack/request.rb:448 def media_type; end # The media type parameters provided in CONTENT_TYPE as a Hash, or @@ -3257,21 +3257,21 @@ module Rack::Request::Helpers # this method responds with the following Hash: # { 'charset' => 'utf-8' } # - # source://rack//lib/rack/request.rb#457 + # pkg:gem/rack#lib/rack/request.rb:457 def media_type_params; end # Checks the HTTP request method (or verb) to see if it was of type OPTIONS # # @return [Boolean] # - # source://rack//lib/rack/request.rb#234 + # pkg:gem/rack#lib/rack/request.rb:234 def options?; end # The union of GET and POST data. # # Note that modifications will not be persisted in the env. Use update_param or delete_param if you want to destructively modify params. # - # source://rack//lib/rack/request.rb#556 + # pkg:gem/rack#lib/rack/request.rb:556 def params; end # Determine whether the request body contains data by checking @@ -3279,113 +3279,113 @@ module Rack::Request::Helpers # # @return [Boolean] # - # source://rack//lib/rack/request.rb#486 + # pkg:gem/rack#lib/rack/request.rb:486 def parseable_data?; end # Checks the HTTP request method (or verb) to see if it was of type PATCH # # @return [Boolean] # - # source://rack//lib/rack/request.rb#240 + # pkg:gem/rack#lib/rack/request.rb:240 def patch?; end - # source://rack//lib/rack/request.rb#603 + # pkg:gem/rack#lib/rack/request.rb:603 def path; end - # source://rack//lib/rack/request.rb#199 + # pkg:gem/rack#lib/rack/request.rb:199 def path_info; end - # source://rack//lib/rack/request.rb#200 + # pkg:gem/rack#lib/rack/request.rb:200 def path_info=(s); end - # source://rack//lib/rack/request.rb#350 + # pkg:gem/rack#lib/rack/request.rb:350 def port; end # Checks the HTTP request method (or verb) to see if it was of type POST # # @return [Boolean] # - # source://rack//lib/rack/request.rb#243 + # pkg:gem/rack#lib/rack/request.rb:243 def post?; end # Checks the HTTP request method (or verb) to see if it was of type PUT # # @return [Boolean] # - # source://rack//lib/rack/request.rb#246 + # pkg:gem/rack#lib/rack/request.rb:246 def put?; end # Allow overriding the query parser that the receiver will use. # By default Rack::Utils.default_query_parser is used. # - # source://rack//lib/rack/request.rb#562 + # pkg:gem/rack#lib/rack/request.rb:562 def query_parser=(_arg0); end - # source://rack//lib/rack/request.rb#203 + # pkg:gem/rack#lib/rack/request.rb:203 def query_string; end # the referer of the client # - # source://rack//lib/rack/request.rb#209 + # pkg:gem/rack#lib/rack/request.rb:209 def referer; end # the referer of the client # - # source://rack//lib/rack/request.rb#210 + # pkg:gem/rack#lib/rack/request.rb:210 def referrer; end - # source://rack//lib/rack/request.rb#202 + # pkg:gem/rack#lib/rack/request.rb:202 def request_method; end - # source://rack//lib/rack/request.rb#254 + # pkg:gem/rack#lib/rack/request.rb:254 def scheme; end - # source://rack//lib/rack/request.rb#196 + # pkg:gem/rack#lib/rack/request.rb:196 def script_name; end - # source://rack//lib/rack/request.rb#197 + # pkg:gem/rack#lib/rack/request.rb:197 def script_name=(s); end # The authority as defined by the `SERVER_NAME` and `SERVER_PORT` # variables. # - # source://rack//lib/rack/request.rb#277 + # pkg:gem/rack#lib/rack/request.rb:277 def server_authority; end - # source://rack//lib/rack/request.rb#290 + # pkg:gem/rack#lib/rack/request.rb:290 def server_name; end - # source://rack//lib/rack/request.rb#294 + # pkg:gem/rack#lib/rack/request.rb:294 def server_port; end - # source://rack//lib/rack/request.rb#212 + # pkg:gem/rack#lib/rack/request.rb:212 def session; end - # source://rack//lib/rack/request.rb#218 + # pkg:gem/rack#lib/rack/request.rb:218 def session_options; end # @return [Boolean] # - # source://rack//lib/rack/request.rb#415 + # pkg:gem/rack#lib/rack/request.rb:415 def ssl?; end # Checks the HTTP request method (or verb) to see if it was of type TRACE # # @return [Boolean] # - # source://rack//lib/rack/request.rb#249 + # pkg:gem/rack#lib/rack/request.rb:249 def trace?; end # @return [Boolean] # - # source://rack//lib/rack/request.rb#619 + # pkg:gem/rack#lib/rack/request.rb:619 def trusted_proxy?(ip); end # Checks the HTTP request method (or verb) to see if it was of type UNLINK # # @return [Boolean] # - # source://rack//lib/rack/request.rb#252 + # pkg:gem/rack#lib/rack/request.rb:252 def unlink?; end # Destructively update a parameter, whether it's in GET and/or POST. Returns nil. @@ -3394,128 +3394,128 @@ module Rack::Request::Helpers # # env['rack.input'] is not touched. # - # source://rack//lib/rack/request.rb#569 + # pkg:gem/rack#lib/rack/request.rb:569 def update_param(k, v); end # Tries to return a remake of the original request URL as a string. # - # source://rack//lib/rack/request.rb#599 + # pkg:gem/rack#lib/rack/request.rb:599 def url; end - # source://rack//lib/rack/request.rb#206 + # pkg:gem/rack#lib/rack/request.rb:206 def user_agent; end # @return [Boolean] # - # source://rack//lib/rack/request.rb#318 + # pkg:gem/rack#lib/rack/request.rb:318 def xhr?; end private - # source://rack//lib/rack/request.rb#770 + # pkg:gem/rack#lib/rack/request.rb:770 def allowed_scheme(header); end - # source://rack//lib/rack/request.rb#625 + # pkg:gem/rack#lib/rack/request.rb:625 def default_session; end - # source://rack//lib/rack/request.rb#682 + # pkg:gem/rack#lib/rack/request.rb:682 def expand_param_pairs(pairs, query_parser = T.unsafe(nil)); end - # source://rack//lib/rack/request.rb#774 + # pkg:gem/rack#lib/rack/request.rb:774 def forwarded_priority; end - # source://rack//lib/rack/request.rb#746 + # pkg:gem/rack#lib/rack/request.rb:746 def forwarded_scheme; end # Get an array of values set in the RFC 7239 `Forwarded` request header. # - # source://rack//lib/rack/request.rb#665 + # pkg:gem/rack#lib/rack/request.rb:665 def get_http_forwarded(token); end - # source://rack//lib/rack/request.rb#641 + # pkg:gem/rack#lib/rack/request.rb:641 def parse_http_accept_header(header); end - # source://rack//lib/rack/request.rb#677 + # pkg:gem/rack#lib/rack/request.rb:677 def parse_multipart; end - # source://rack//lib/rack/request.rb#673 + # pkg:gem/rack#lib/rack/request.rb:673 def parse_query(qs, d = T.unsafe(nil)); end - # source://rack//lib/rack/request.rb#669 + # pkg:gem/rack#lib/rack/request.rb:669 def query_parser; end - # source://rack//lib/rack/request.rb#735 + # pkg:gem/rack#lib/rack/request.rb:735 def split_authority(authority); end - # source://rack//lib/rack/request.rb#692 + # pkg:gem/rack#lib/rack/request.rb:692 def split_header(value); end # Assist with compatibility when processing `X-Forwarded-For`. # - # source://rack//lib/rack/request.rb#628 + # pkg:gem/rack#lib/rack/request.rb:628 def wrap_ipv6(host); end - # source://rack//lib/rack/request.rb#778 + # pkg:gem/rack#lib/rack/request.rb:778 def x_forwarded_proto_priority; end end -# source://rack//lib/rack/request.rb#720 +# pkg:gem/rack#lib/rack/request.rb:720 Rack::Request::Helpers::AUTHORITY = T.let(T.unsafe(nil), Regexp) # Default ports depending on scheme. Used to decide whether or not # to include the port in a generated URI. # -# source://rack//lib/rack/request.rb#173 +# pkg:gem/rack#lib/rack/request.rb:173 Rack::Request::Helpers::DEFAULT_PORTS = T.let(T.unsafe(nil), Hash) # The set of form-data media-types. Requests that do not indicate # one of the media types present in this list will not be eligible # for form-data / param parsing. # -# source://rack//lib/rack/request.rb#158 +# pkg:gem/rack#lib/rack/request.rb:158 Rack::Request::Helpers::FORM_DATA_MEDIA_TYPES = T.let(T.unsafe(nil), Array) -# source://rack//lib/rack/request.rb#741 +# pkg:gem/rack#lib/rack/request.rb:741 Rack::Request::Helpers::FORWARDED_SCHEME_HEADERS = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/request.rb#181 +# pkg:gem/rack#lib/rack/request.rb:181 Rack::Request::Helpers::HTTP_FORWARDED = T.let(T.unsafe(nil), String) # The address of the client which connected to the proxy. # -# source://rack//lib/rack/request.rb#176 +# pkg:gem/rack#lib/rack/request.rb:176 Rack::Request::Helpers::HTTP_X_FORWARDED_FOR = T.let(T.unsafe(nil), String) # The contents of the host/:authority header sent to the proxy. # -# source://rack//lib/rack/request.rb#179 +# pkg:gem/rack#lib/rack/request.rb:179 Rack::Request::Helpers::HTTP_X_FORWARDED_HOST = T.let(T.unsafe(nil), String) # The port used to connect to the proxy. # -# source://rack//lib/rack/request.rb#190 +# pkg:gem/rack#lib/rack/request.rb:190 Rack::Request::Helpers::HTTP_X_FORWARDED_PORT = T.let(T.unsafe(nil), String) # The protocol used to connect to the proxy. # -# source://rack//lib/rack/request.rb#187 +# pkg:gem/rack#lib/rack/request.rb:187 Rack::Request::Helpers::HTTP_X_FORWARDED_PROTO = T.let(T.unsafe(nil), String) # The value of the scheme sent to the proxy. # -# source://rack//lib/rack/request.rb#184 +# pkg:gem/rack#lib/rack/request.rb:184 Rack::Request::Helpers::HTTP_X_FORWARDED_SCHEME = T.let(T.unsafe(nil), String) # Another way for specifying https scheme was used. # -# source://rack//lib/rack/request.rb#193 +# pkg:gem/rack#lib/rack/request.rb:193 Rack::Request::Helpers::HTTP_X_FORWARDED_SSL = T.let(T.unsafe(nil), String) # The set of media-types. Requests that do not indicate # one of the media types present in this list will not be eligible # for param parsing like soap attachments or generic multiparts # -# source://rack//lib/rack/request.rb#166 +# pkg:gem/rack#lib/rack/request.rb:166 Rack::Request::Helpers::PARSEABLE_DATA_MEDIA_TYPES = T.let(T.unsafe(nil), Array) # Rack::Response provides a convenient interface to create a Rack @@ -3531,7 +3531,7 @@ Rack::Request::Helpers::PARSEABLE_DATA_MEDIA_TYPES = T.let(T.unsafe(nil), Array) # # Your application's +call+ should end returning Response#finish. # -# source://rack//lib/rack/response.rb#23 +# pkg:gem/rack#lib/rack/response.rb:23 class Rack::Response include ::Rack::Response::Helpers @@ -3560,50 +3560,50 @@ class Rack::Response # @yield [_self] # @yieldparam _self [Rack::Response] the object that the method was called on # - # source://rack//lib/rack/response.rb#54 + # pkg:gem/rack#lib/rack/response.rb:54 def initialize(body = T.unsafe(nil), status = T.unsafe(nil), headers = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#177 + # pkg:gem/rack#lib/rack/response.rb:177 def [](key); end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#178 + # pkg:gem/rack#lib/rack/response.rb:178 def []=(key, value); end # Returns the value of attribute body. # - # source://rack//lib/rack/response.rb#31 + # pkg:gem/rack#lib/rack/response.rb:31 def body; end # Sets the attribute body # # @param value the value to set the attribute body to. # - # source://rack//lib/rack/response.rb#31 + # pkg:gem/rack#lib/rack/response.rb:31 def body=(_arg0); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#95 + # pkg:gem/rack#lib/rack/response.rb:95 def chunked?; end - # source://rack//lib/rack/response.rb#152 + # pkg:gem/rack#lib/rack/response.rb:152 def close; end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#172 + # pkg:gem/rack#lib/rack/response.rb:172 def delete_header(key); end - # source://rack//lib/rack/response.rb#130 + # pkg:gem/rack#lib/rack/response.rb:130 def each(&callback); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#156 + # pkg:gem/rack#lib/rack/response.rb:156 def empty?; end # Generate a response array consistent with the requirements of the SPEC. @@ -3611,60 +3611,60 @@ class Rack::Response # # @return [Array] a 3-tuple suitable of `[status, headers, body]` # - # source://rack//lib/rack/response.rb#107 + # pkg:gem/rack#lib/rack/response.rb:107 def finish(&block); end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#164 + # pkg:gem/rack#lib/rack/response.rb:164 def get_header(key); end # @raise [ArgumentError] # @return [Boolean] # - # source://rack//lib/rack/response.rb#160 + # pkg:gem/rack#lib/rack/response.rb:160 def has_header?(key); end # Returns the value of attribute headers. # - # source://rack//lib/rack/response.rb#32 + # pkg:gem/rack#lib/rack/response.rb:32 def headers; end # Returns the value of attribute length. # - # source://rack//lib/rack/response.rb#31 + # pkg:gem/rack#lib/rack/response.rb:31 def length; end # Sets the attribute length # # @param value the value to set the attribute length to. # - # source://rack//lib/rack/response.rb#31 + # pkg:gem/rack#lib/rack/response.rb:31 def length=(_arg0); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#99 + # pkg:gem/rack#lib/rack/response.rb:99 def no_entity_body?; end - # source://rack//lib/rack/response.rb#90 + # pkg:gem/rack#lib/rack/response.rb:90 def redirect(target, status = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#168 + # pkg:gem/rack#lib/rack/response.rb:168 def set_header(key, value); end # Returns the value of attribute status. # - # source://rack//lib/rack/response.rb#31 + # pkg:gem/rack#lib/rack/response.rb:31 def status; end # Sets the attribute status # # @param value the value to set the attribute status to. # - # source://rack//lib/rack/response.rb#31 + # pkg:gem/rack#lib/rack/response.rb:31 def status=(_arg0); end # Generate a response array consistent with the requirements of the SPEC. @@ -3673,7 +3673,7 @@ class Rack::Response # # @return [Array] a 3-tuple suitable of `[status, headers, body]` # - # source://rack//lib/rack/response.rb#128 + # pkg:gem/rack#lib/rack/response.rb:128 def to_a(&block); end # Append a chunk to the response body. @@ -3682,23 +3682,23 @@ class Rack::Response # # NOTE: Do not mix #write and direct #body access! # - # source://rack//lib/rack/response.rb#146 + # pkg:gem/rack#lib/rack/response.rb:146 def write(chunk); end class << self - # source://rack//lib/rack/response.rb#24 + # pkg:gem/rack#lib/rack/response.rb:24 def [](status, headers, body); end end end -# source://rack//lib/rack/response.rb#28 +# pkg:gem/rack#lib/rack/response.rb:28 Rack::Response::CHUNKED = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/response.rb#180 +# pkg:gem/rack#lib/rack/response.rb:180 module Rack::Response::Helpers # @return [Boolean] # - # source://rack//lib/rack/response.rb#191 + # pkg:gem/rack#lib/rack/response.rb:191 def accepted?; end # Add a header that may have multiple values. @@ -3713,12 +3713,12 @@ module Rack::Response::Helpers # # @raise [ArgumentError] # - # source://rack//lib/rack/response.rb#219 + # pkg:gem/rack#lib/rack/response.rb:219 def add_header(key, value); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#194 + # pkg:gem/rack#lib/rack/response.rb:194 def bad_request?; end # Specify that the content should be cached. @@ -3727,166 +3727,166 @@ module Rack::Response::Helpers # @param directive [Hash] a customizable set of options # @param duration [Integer] The number of seconds until the cache expires. # - # source://rack//lib/rack/response.rb#307 + # pkg:gem/rack#lib/rack/response.rb:307 def cache!(duration = T.unsafe(nil), directive: T.unsafe(nil)); end - # source://rack//lib/rack/response.rb#290 + # pkg:gem/rack#lib/rack/response.rb:290 def cache_control; end - # source://rack//lib/rack/response.rb#294 + # pkg:gem/rack#lib/rack/response.rb:294 def cache_control=(value); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#186 + # pkg:gem/rack#lib/rack/response.rb:186 def client_error?; end - # source://rack//lib/rack/response.rb#257 + # pkg:gem/rack#lib/rack/response.rb:257 def content_length; end # Get the content type of the response. # - # source://rack//lib/rack/response.rb#240 + # pkg:gem/rack#lib/rack/response.rb:240 def content_type; end # Set the content type of the response. # - # source://rack//lib/rack/response.rb#245 + # pkg:gem/rack#lib/rack/response.rb:245 def content_type=(content_type); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#190 + # pkg:gem/rack#lib/rack/response.rb:190 def created?; end - # source://rack//lib/rack/response.rb#274 + # pkg:gem/rack#lib/rack/response.rb:274 def delete_cookie(key, value = T.unsafe(nil)); end # Specifies that the content shouldn't be cached. Overrides `cache!` if already called. # - # source://rack//lib/rack/response.rb#299 + # pkg:gem/rack#lib/rack/response.rb:299 def do_not_cache!; end - # source://rack//lib/rack/response.rb#314 + # pkg:gem/rack#lib/rack/response.rb:314 def etag; end - # source://rack//lib/rack/response.rb#318 + # pkg:gem/rack#lib/rack/response.rb:318 def etag=(value); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#196 + # pkg:gem/rack#lib/rack/response.rb:196 def forbidden?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#206 + # pkg:gem/rack#lib/rack/response.rb:206 def include?(header); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#183 + # pkg:gem/rack#lib/rack/response.rb:183 def informational?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#181 + # pkg:gem/rack#lib/rack/response.rb:181 def invalid?; end - # source://rack//lib/rack/response.rb#262 + # pkg:gem/rack#lib/rack/response.rb:262 def location; end - # source://rack//lib/rack/response.rb#266 + # pkg:gem/rack#lib/rack/response.rb:266 def location=(location); end - # source://rack//lib/rack/response.rb#249 + # pkg:gem/rack#lib/rack/response.rb:249 def media_type; end - # source://rack//lib/rack/response.rb#253 + # pkg:gem/rack#lib/rack/response.rb:253 def media_type_params; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#198 + # pkg:gem/rack#lib/rack/response.rb:198 def method_not_allowed?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#193 + # pkg:gem/rack#lib/rack/response.rb:193 def moved_permanently?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#192 + # pkg:gem/rack#lib/rack/response.rb:192 def no_content?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#199 + # pkg:gem/rack#lib/rack/response.rb:199 def not_acceptable?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#197 + # pkg:gem/rack#lib/rack/response.rb:197 def not_found?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#189 + # pkg:gem/rack#lib/rack/response.rb:189 def ok?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#201 + # pkg:gem/rack#lib/rack/response.rb:201 def precondition_failed?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#204 + # pkg:gem/rack#lib/rack/response.rb:204 def redirect?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#185 + # pkg:gem/rack#lib/rack/response.rb:185 def redirection?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#200 + # pkg:gem/rack#lib/rack/response.rb:200 def request_timeout?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#187 + # pkg:gem/rack#lib/rack/response.rb:187 def server_error?; end - # source://rack//lib/rack/response.rb#270 + # pkg:gem/rack#lib/rack/response.rb:270 def set_cookie(key, value); end - # source://rack//lib/rack/response.rb#282 + # pkg:gem/rack#lib/rack/response.rb:282 def set_cookie_header; end - # source://rack//lib/rack/response.rb#286 + # pkg:gem/rack#lib/rack/response.rb:286 def set_cookie_header=(value); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#184 + # pkg:gem/rack#lib/rack/response.rb:184 def successful?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#195 + # pkg:gem/rack#lib/rack/response.rb:195 def unauthorized?; end # @return [Boolean] # - # source://rack//lib/rack/response.rb#202 + # pkg:gem/rack#lib/rack/response.rb:202 def unprocessable?; end protected - # source://rack//lib/rack/response.rb#359 + # pkg:gem/rack#lib/rack/response.rb:359 def append(chunk); end # Convert the body of this response into an internally buffered Array if possible. @@ -3898,52 +3898,52 @@ module Rack::Response::Helpers # # @return [Boolean] whether the body is buffered as an Array instance. # - # source://rack//lib/rack/response.rb#332 + # pkg:gem/rack#lib/rack/response.rb:332 def buffered_body!; end end -# source://rack//lib/rack/response.rb#375 +# pkg:gem/rack#lib/rack/response.rb:375 class Rack::Response::Raw include ::Rack::Response::Helpers # @return [Raw] a new instance of Raw # - # source://rack//lib/rack/response.rb#381 + # pkg:gem/rack#lib/rack/response.rb:381 def initialize(status, headers); end - # source://rack//lib/rack/response.rb#398 + # pkg:gem/rack#lib/rack/response.rb:398 def delete_header(key); end - # source://rack//lib/rack/response.rb#390 + # pkg:gem/rack#lib/rack/response.rb:390 def get_header(key); end # @return [Boolean] # - # source://rack//lib/rack/response.rb#386 + # pkg:gem/rack#lib/rack/response.rb:386 def has_header?(key); end # Returns the value of attribute headers. # - # source://rack//lib/rack/response.rb#378 + # pkg:gem/rack#lib/rack/response.rb:378 def headers; end - # source://rack//lib/rack/response.rb#394 + # pkg:gem/rack#lib/rack/response.rb:394 def set_header(key, value); end # Returns the value of attribute status. # - # source://rack//lib/rack/response.rb#379 + # pkg:gem/rack#lib/rack/response.rb:379 def status; end # Sets the attribute status # # @param value the value to set the attribute status to. # - # source://rack//lib/rack/response.rb#379 + # pkg:gem/rack#lib/rack/response.rb:379 def status=(_arg0); end end -# source://rack//lib/rack/response.rb#29 +# pkg:gem/rack#lib/rack/response.rb:29 Rack::Response::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash) # Class which can make any IO object rewindable, including non-rewindable ones. It does @@ -3952,11 +3952,11 @@ Rack::Response::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash) # Don't forget to call #close when you're done. This frees up temporary resources that # RewindableInput uses, though it does *not* close the original IO object. # -# source://rack//lib/rack/rewindable_input.rb#14 +# pkg:gem/rack#lib/rack/rewindable_input.rb:14 class Rack::RewindableInput # @return [RewindableInput] a new instance of RewindableInput # - # source://rack//lib/rack/rewindable_input.rb#32 + # pkg:gem/rack#lib/rack/rewindable_input.rb:32 def initialize(io); end # Closes this RewindableInput object without closing the originally @@ -3965,32 +3965,32 @@ class Rack::RewindableInput # # This method may be called multiple times. It does nothing on subsequent calls. # - # source://rack//lib/rack/rewindable_input.rb#68 + # pkg:gem/rack#lib/rack/rewindable_input.rb:68 def close; end - # source://rack//lib/rack/rewindable_input.rb#48 + # pkg:gem/rack#lib/rack/rewindable_input.rb:48 def each(&block); end - # source://rack//lib/rack/rewindable_input.rb#38 + # pkg:gem/rack#lib/rack/rewindable_input.rb:38 def gets; end - # source://rack//lib/rack/rewindable_input.rb#43 + # pkg:gem/rack#lib/rack/rewindable_input.rb:43 def read(*args); end - # source://rack//lib/rack/rewindable_input.rb#53 + # pkg:gem/rack#lib/rack/rewindable_input.rb:53 def rewind; end - # source://rack//lib/rack/rewindable_input.rb#58 + # pkg:gem/rack#lib/rack/rewindable_input.rb:58 def size; end private # @return [Boolean] # - # source://rack//lib/rack/rewindable_input.rb#112 + # pkg:gem/rack#lib/rack/rewindable_input.rb:112 def filesystem_has_posix_semantics?; end - # source://rack//lib/rack/rewindable_input.rb#81 + # pkg:gem/rack#lib/rack/rewindable_input.rb:81 def make_rewindable; end end @@ -3998,14 +3998,14 @@ end # designed for earlier versions of Rack (where rack.input was required to be # rewindable). # -# source://rack//lib/rack/rewindable_input.rb#18 +# pkg:gem/rack#lib/rack/rewindable_input.rb:18 class Rack::RewindableInput::Middleware # @return [Middleware] a new instance of Middleware # - # source://rack//lib/rack/rewindable_input.rb#19 + # pkg:gem/rack#lib/rack/rewindable_input.rb:19 def initialize(app); end - # source://rack//lib/rack/rewindable_input.rb#23 + # pkg:gem/rack#lib/rack/rewindable_input.rb:23 def call(env); end end @@ -4016,36 +4016,36 @@ end # time, or before all the other middlewares to include time for them, # too. # -# source://rack//lib/rack/runtime.rb#12 +# pkg:gem/rack#lib/rack/runtime.rb:12 class Rack::Runtime # @return [Runtime] a new instance of Runtime # - # source://rack//lib/rack/runtime.rb#16 + # pkg:gem/rack#lib/rack/runtime.rb:16 def initialize(app, name = T.unsafe(nil)); end - # source://rack//lib/rack/runtime.rb#22 + # pkg:gem/rack#lib/rack/runtime.rb:22 def call(env); end end -# source://rack//lib/rack/runtime.rb#13 +# pkg:gem/rack#lib/rack/runtime.rb:13 Rack::Runtime::FORMAT_STRING = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/runtime.rb#14 +# pkg:gem/rack#lib/rack/runtime.rb:14 Rack::Runtime::HEADER_NAME = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#11 +# pkg:gem/rack#lib/rack/constants.rb:11 Rack::SCRIPT_NAME = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#14 +# pkg:gem/rack#lib/rack/constants.rb:14 Rack::SERVER_NAME = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#15 +# pkg:gem/rack#lib/rack/constants.rb:15 Rack::SERVER_PORT = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#13 +# pkg:gem/rack#lib/rack/constants.rb:13 Rack::SERVER_PROTOCOL = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#24 +# pkg:gem/rack#lib/rack/constants.rb:24 Rack::SET_COOKIE = T.let(T.unsafe(nil), String) # = Sendfile @@ -4160,25 +4160,25 @@ Rack::SET_COOKIE = T.let(T.unsafe(nil), String) # middleware constructor to prevent information disclosure vulnerabilities # where attackers could bypass proxy restrictions. # -# source://rack//lib/rack/sendfile.rb#121 +# pkg:gem/rack#lib/rack/sendfile.rb:121 class Rack::Sendfile # @return [Sendfile] a new instance of Sendfile # - # source://rack//lib/rack/sendfile.rb#122 + # pkg:gem/rack#lib/rack/sendfile.rb:122 def initialize(app, variation = T.unsafe(nil), mappings = T.unsafe(nil)); end - # source://rack//lib/rack/sendfile.rb#130 + # pkg:gem/rack#lib/rack/sendfile.rb:130 def call(env); end private - # source://rack//lib/rack/sendfile.rb#182 + # pkg:gem/rack#lib/rack/sendfile.rb:182 def map_accel_path(env, path); end - # source://rack//lib/rack/sendfile.rb#166 + # pkg:gem/rack#lib/rack/sendfile.rb:166 def variation(env); end - # source://rack//lib/rack/sendfile.rb#172 + # pkg:gem/rack#lib/rack/sendfile.rb:172 def x_accel_mapping(env); end end @@ -4190,51 +4190,51 @@ end # Be careful when you use this on public-facing sites as it could # reveal information helpful to attackers. # -# source://rack//lib/rack/show_exceptions.rb#18 +# pkg:gem/rack#lib/rack/show_exceptions.rb:18 class Rack::ShowExceptions # @return [ShowExceptions] a new instance of ShowExceptions # - # source://rack//lib/rack/show_exceptions.rb#26 + # pkg:gem/rack#lib/rack/show_exceptions.rb:26 def initialize(app); end - # source://rack//lib/rack/show_exceptions.rb#30 + # pkg:gem/rack#lib/rack/show_exceptions.rb:30 def call(env); end - # source://rack//lib/rack/show_exceptions.rb#65 + # pkg:gem/rack#lib/rack/show_exceptions.rb:65 def dump_exception(exception); end - # source://rack//lib/rack/show_exceptions.rb#120 + # pkg:gem/rack#lib/rack/show_exceptions.rb:120 def h(obj); end # @return [Boolean] # - # source://rack//lib/rack/show_exceptions.rb#56 + # pkg:gem/rack#lib/rack/show_exceptions.rb:56 def prefers_plaintext?(env); end - # source://rack//lib/rack/show_exceptions.rb#80 + # pkg:gem/rack#lib/rack/show_exceptions.rb:80 def pretty(env, exception); end - # source://rack//lib/rack/show_exceptions.rb#116 + # pkg:gem/rack#lib/rack/show_exceptions.rb:116 def template; end private # @return [Boolean] # - # source://rack//lib/rack/show_exceptions.rb#60 + # pkg:gem/rack#lib/rack/show_exceptions.rb:60 def accepts_html?(env); end end -# source://rack//lib/rack/show_exceptions.rb#19 +# pkg:gem/rack#lib/rack/show_exceptions.rb:19 Rack::ShowExceptions::CONTEXT = T.let(T.unsafe(nil), Integer) -# source://rack//lib/rack/show_exceptions.rb#21 +# pkg:gem/rack#lib/rack/show_exceptions.rb:21 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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def context_line; end # Sets the attribute context_line @@ -4242,14 +4242,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def filename; end # Sets the attribute filename @@ -4257,14 +4257,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def function; end # Sets the attribute function @@ -4272,14 +4272,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def lineno; end # Sets the attribute lineno @@ -4287,14 +4287,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def post_context; end # Sets the attribute post_context @@ -4302,14 +4302,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def post_context_lineno; end # Sets the attribute post_context_lineno @@ -4317,14 +4317,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def pre_context; end # Sets the attribute pre_context @@ -4332,14 +4332,14 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def pre_context_lineno; end # Sets the attribute pre_context_lineno @@ -4347,28 +4347,28 @@ class Rack::ShowExceptions::Frame < ::Struct # @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 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def pre_context_lineno=(_); end class << self - # source://rack//lib/rack/show_exceptions.rb#21 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def [](*_arg0); end - # source://rack//lib/rack/show_exceptions.rb#21 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def inspect; end - # source://rack//lib/rack/show_exceptions.rb#21 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def keyword_init?; end - # source://rack//lib/rack/show_exceptions.rb#21 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def members; end - # source://rack//lib/rack/show_exceptions.rb#21 + # pkg:gem/rack#lib/rack/show_exceptions.rb:21 def new(*_arg0); end end end -# source://rack//lib/rack/show_exceptions.rb#135 +# pkg:gem/rack#lib/rack/show_exceptions.rb:135 Rack::ShowExceptions::TEMPLATE = T.let(T.unsafe(nil), ERB) # Rack::ShowStatus catches all empty responses and replaces them @@ -4378,21 +4378,21 @@ Rack::ShowExceptions::TEMPLATE = T.let(T.unsafe(nil), ERB) # and will be shown as HTML. If such details exist, the error page # is always rendered, even if the reply was not empty. # -# source://rack//lib/rack/show_status.rb#18 +# pkg:gem/rack#lib/rack/show_status.rb:18 class Rack::ShowStatus # @return [ShowStatus] a new instance of ShowStatus # - # source://rack//lib/rack/show_status.rb#19 + # pkg:gem/rack#lib/rack/show_status.rb:19 def initialize(app); end - # source://rack//lib/rack/show_status.rb#24 + # pkg:gem/rack#lib/rack/show_status.rb:24 def call(env); end - # source://rack//lib/rack/show_status.rb#54 + # pkg:gem/rack#lib/rack/show_status.rb:54 def h(obj); end end -# source://rack//lib/rack/show_status.rb#69 +# pkg:gem/rack#lib/rack/show_status.rb:69 Rack::ShowStatus::TEMPLATE = T.let(T.unsafe(nil), String) # The Rack::Static middleware intercepts requests for static files @@ -4478,58 +4478,58 @@ Rack::ShowStatus::TEMPLATE = T.let(T.unsafe(nil), String) # [:fonts, {'access-control-allow-origin' => '*'}] # ] # -# source://rack//lib/rack/static.rb#92 +# pkg:gem/rack#lib/rack/static.rb:92 class Rack::Static # @return [Static] a new instance of Static # - # source://rack//lib/rack/static.rb#93 + # pkg:gem/rack#lib/rack/static.rb:93 def initialize(app, options = T.unsafe(nil)); end # @return [Boolean] # - # source://rack//lib/rack/static.rb#109 + # pkg:gem/rack#lib/rack/static.rb:109 def add_index_root?(path); end # Convert HTTP header rules to HTTP headers # - # source://rack//lib/rack/static.rb#167 + # pkg:gem/rack#lib/rack/static.rb:167 def applicable_rules(path); end - # source://rack//lib/rack/static.rb#125 + # pkg:gem/rack#lib/rack/static.rb:125 def call(env); end - # source://rack//lib/rack/static.rb#121 + # pkg:gem/rack#lib/rack/static.rb:121 def can_serve(path); end - # source://rack//lib/rack/static.rb#113 + # pkg:gem/rack#lib/rack/static.rb:113 def overwrite_file_path(path); end - # source://rack//lib/rack/static.rb#117 + # pkg:gem/rack#lib/rack/static.rb:117 def route_file(path); end end -# source://rack//lib/rack/constants.rb#38 +# pkg:gem/rack#lib/rack/constants.rb:38 Rack::TRACE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/constants.rb#25 +# pkg:gem/rack#lib/rack/constants.rb:25 Rack::TRANSFER_ENCODING = T.let(T.unsafe(nil), String) # Middleware tracks and cleans Tempfiles created throughout a request (i.e. Rack::Multipart) # Ideas/strategy based on posts by Eric Wong and Charles Oliver Nutter # https://groups.google.com/forum/#!searchin/rack-devel/temp/rack-devel/brK8eh-MByw/sw61oJJCGRMJ # -# source://rack//lib/rack/tempfile_reaper.rb#11 +# pkg:gem/rack#lib/rack/tempfile_reaper.rb:11 class Rack::TempfileReaper # @return [TempfileReaper] a new instance of TempfileReaper # - # source://rack//lib/rack/tempfile_reaper.rb#12 + # pkg:gem/rack#lib/rack/tempfile_reaper.rb:12 def initialize(app); end - # source://rack//lib/rack/tempfile_reaper.rb#16 + # pkg:gem/rack#lib/rack/tempfile_reaper.rb:16 def call(env); end end -# source://rack//lib/rack/constants.rb#37 +# pkg:gem/rack#lib/rack/constants.rb:37 Rack::UNLINK = T.let(T.unsafe(nil), String) # Rack::URLMap takes a hash mapping urls or paths to apps, and @@ -4544,31 +4544,31 @@ Rack::UNLINK = T.let(T.unsafe(nil), String) # URLMap dispatches in such a way that the longest paths are tried # first, since they are most specific. # -# source://rack//lib/rack/urlmap.rb#20 +# pkg:gem/rack#lib/rack/urlmap.rb:20 class Rack::URLMap # @return [URLMap] a new instance of URLMap # - # source://rack//lib/rack/urlmap.rb#21 + # pkg:gem/rack#lib/rack/urlmap.rb:21 def initialize(map = T.unsafe(nil)); end - # source://rack//lib/rack/urlmap.rb#48 + # pkg:gem/rack#lib/rack/urlmap.rb:48 def call(env); end - # source://rack//lib/rack/urlmap.rb#25 + # pkg:gem/rack#lib/rack/urlmap.rb:25 def remap(map); end private # @return [Boolean] # - # source://rack//lib/rack/urlmap.rb#87 + # pkg:gem/rack#lib/rack/urlmap.rb:87 def casecmp?(v1, v2); end end # Rack::Utils contains a grab-bag of useful methods for writing web # applications adopted from all kinds of Ruby libraries. # -# source://rack//lib/rack/utils.rb#20 +# pkg:gem/rack#lib/rack/utils.rb:20 module Rack::Utils private @@ -4577,31 +4577,31 @@ module Rack::Utils # matches (same specificity and quality), the value returned # is arbitrary. # - # source://rack//lib/rack/utils.rb#167 + # pkg:gem/rack#lib/rack/utils.rb:167 def best_q_match(q_value_header, available_mimes); end - # source://rack//lib/rack/utils.rb#120 + # pkg:gem/rack#lib/rack/utils.rb:120 def build_nested_query(value, prefix = T.unsafe(nil)); end - # source://rack//lib/rack/utils.rb#110 + # pkg:gem/rack#lib/rack/utils.rb:110 def build_query(params); end # Parses the "Range:" header, if present, into an array of Range objects. # Returns nil if the header is missing or syntactically invalid. # Returns an empty array if none of the ranges are satisfiable. # - # source://rack//lib/rack/utils.rb#402 + # pkg:gem/rack#lib/rack/utils.rb:402 def byte_ranges(env, size); end - # source://rack//lib/rack/utils.rb#600 + # pkg:gem/rack#lib/rack/utils.rb:600 def clean_path_info(path_info); end # :nocov: # - # source://rack//lib/rack/utils.rb#91 + # pkg:gem/rack#lib/rack/utils.rb:91 def clock_time; end - # source://rack//lib/rack/utils.rb#360 + # pkg:gem/rack#lib/rack/utils.rb:360 def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end # :call-seq: @@ -4618,7 +4618,7 @@ module Rack::Utils # delete_set_cookie_header("myname") # # => "myname=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT" # - # source://rack//lib/rack/utils.rb#356 + # pkg:gem/rack#lib/rack/utils.rb:356 def delete_set_cookie_header(key, value = T.unsafe(nil)); end # :call-seq: @@ -4639,29 +4639,29 @@ module Rack::Utils # header # # => ["mycookie=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT"] # - # source://rack//lib/rack/utils.rb#384 + # pkg:gem/rack#lib/rack/utils.rb:384 def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end # URI escapes. (CGI style space to +) # - # source://rack//lib/rack/utils.rb#40 + # pkg:gem/rack#lib/rack/utils.rb:40 def escape(s); end # Escape ampersands, brackets and quotes to their HTML/XML entities. # - # source://rack//lib/rack/utils.rb#183 + # pkg:gem/rack#lib/rack/utils.rb:183 def escape_html(_arg0); end # Like URI escaping, but with %20 instead of +. Strictly speaking this is # true URI escaping. # - # source://rack//lib/rack/utils.rb#46 + # pkg:gem/rack#lib/rack/utils.rb:46 def escape_path(s); end - # source://rack//lib/rack/utils.rb#149 + # pkg:gem/rack#lib/rack/utils.rb:149 def forwarded_values(forwarded_header); end - # source://rack//lib/rack/utils.rb#406 + # pkg:gem/rack#lib/rack/utils.rb:406 def get_byte_ranges(http_range, size); end # :call-seq: @@ -4673,7 +4673,7 @@ module Rack::Utils # parse_cookies({'HTTP_COOKIE' => 'myname=myvalue'}) # # => {'myname' => 'myvalue'} # - # source://rack//lib/rack/utils.rb#257 + # pkg:gem/rack#lib/rack/utils.rb:257 def parse_cookies(env); end # :call-seq: @@ -4686,27 +4686,27 @@ module Rack::Utils # parse_cookies_header('myname=myvalue; max-age=0') # # => {"myname"=>"myvalue", "max-age"=>"0"} # - # source://rack//lib/rack/utils.rb#238 + # pkg:gem/rack#lib/rack/utils.rb:238 def parse_cookies_header(value); end - # source://rack//lib/rack/utils.rb#106 + # pkg:gem/rack#lib/rack/utils.rb:106 def parse_nested_query(qs, d = T.unsafe(nil)); end - # source://rack//lib/rack/utils.rb#102 + # pkg:gem/rack#lib/rack/utils.rb:102 def parse_query(qs, d = T.unsafe(nil), &unescaper); end - # source://rack//lib/rack/utils.rb#138 + # pkg:gem/rack#lib/rack/utils.rb:138 def q_values(q_value_header); end - # source://rack//lib/rack/utils.rb#395 + # pkg:gem/rack#lib/rack/utils.rb:395 def rfc2822(time); end # :nocov: # - # source://rack//lib/rack/utils.rb#448 + # pkg:gem/rack#lib/rack/utils.rb:448 def secure_compare(a, b); end - # source://rack//lib/rack/utils.rb#196 + # pkg:gem/rack#lib/rack/utils.rb:196 def select_best_encoding(available_encodings, accept_encoding); end # :call-seq: @@ -4729,7 +4729,7 @@ module Rack::Utils # set_cookie_header("myname", {value: "myvalue", max_age: 10}) # # => "myname=myvalue; max-age=10" # - # source://rack//lib/rack/utils.rb#286 + # pkg:gem/rack#lib/rack/utils.rb:286 def set_cookie_header(key, value); end # :call-seq: @@ -4741,25 +4741,25 @@ module Rack::Utils # If the headers already contains a +set-cookie+ key, it will be converted # to an +Array+ if not already, and appended to. # - # source://rack//lib/rack/utils.rb#330 + # pkg:gem/rack#lib/rack/utils.rb:330 def set_cookie_header!(headers, key, value); end - # source://rack//lib/rack/utils.rb#582 + # pkg:gem/rack#lib/rack/utils.rb:582 def status_code(status); end # Unescapes a URI escaped string with +encoding+. +encoding+ will be the # target encoding of the string returned, and it defaults to UTF-8 # - # source://rack//lib/rack/utils.rb#58 + # pkg:gem/rack#lib/rack/utils.rb:58 def unescape(s, encoding = T.unsafe(nil)); end # Unescapes the **path** component of a URI. See Rack::Utils.unescape for # unescaping query parameters or form components. # - # source://rack//lib/rack/utils.rb#52 + # pkg:gem/rack#lib/rack/utils.rb:52 def unescape_path(s); end - # source://rack//lib/rack/utils.rb#617 + # pkg:gem/rack#lib/rack/utils.rb:617 def valid_path?(path); end class << self @@ -4768,41 +4768,41 @@ module Rack::Utils # matches (same specificity and quality), the value returned # is arbitrary. # - # source://rack//lib/rack/utils.rb#167 + # pkg:gem/rack#lib/rack/utils.rb:167 def best_q_match(q_value_header, available_mimes); end - # source://rack//lib/rack/utils.rb#120 + # pkg:gem/rack#lib/rack/utils.rb:120 def build_nested_query(value, prefix = T.unsafe(nil)); end - # source://rack//lib/rack/utils.rb#110 + # pkg:gem/rack#lib/rack/utils.rb:110 def build_query(params); end # Parses the "Range:" header, if present, into an array of Range objects. # Returns nil if the header is missing or syntactically invalid. # Returns an empty array if none of the ranges are satisfiable. # - # source://rack//lib/rack/utils.rb#402 + # pkg:gem/rack#lib/rack/utils.rb:402 def byte_ranges(env, size); end - # source://rack//lib/rack/utils.rb#600 + # pkg:gem/rack#lib/rack/utils.rb:600 def clean_path_info(path_info); end - # source://rack//lib/rack/utils.rb#91 + # pkg:gem/rack#lib/rack/utils.rb:91 def clock_time; end # Returns the value of attribute default_query_parser. # - # source://rack//lib/rack/utils.rb#30 + # pkg:gem/rack#lib/rack/utils.rb:30 def default_query_parser; end # Sets the attribute default_query_parser # # @param value the value to set the attribute default_query_parser to. # - # source://rack//lib/rack/utils.rb#30 + # pkg:gem/rack#lib/rack/utils.rb:30 def default_query_parser=(_arg0); end - # source://rack//lib/rack/utils.rb#360 + # pkg:gem/rack#lib/rack/utils.rb:360 def delete_cookie_header!(headers, key, value = T.unsafe(nil)); end # :call-seq: @@ -4819,7 +4819,7 @@ module Rack::Utils # delete_set_cookie_header("myname") # # => "myname=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT" # - # source://rack//lib/rack/utils.rb#356 + # pkg:gem/rack#lib/rack/utils.rb:356 def delete_set_cookie_header(key, value = T.unsafe(nil)); end # :call-seq: @@ -4840,71 +4840,71 @@ module Rack::Utils # header # # => ["mycookie=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT"] # - # source://rack//lib/rack/utils.rb#384 + # pkg:gem/rack#lib/rack/utils.rb:384 def delete_set_cookie_header!(header, key, value = T.unsafe(nil)); end # URI escapes. (CGI style space to +) # - # source://rack//lib/rack/utils.rb#40 + # pkg:gem/rack#lib/rack/utils.rb:40 def escape(s); end - # source://rack//lib/rack/utils.rb#183 + # pkg:gem/rack#lib/rack/utils.rb:183 def escape_html(_arg0); end # Like URI escaping, but with %20 instead of +. Strictly speaking this is # true URI escaping. # - # source://rack//lib/rack/utils.rb#46 + # pkg:gem/rack#lib/rack/utils.rb:46 def escape_path(s); end - # source://rack//lib/rack/utils.rb#149 + # pkg:gem/rack#lib/rack/utils.rb:149 def forwarded_values(forwarded_header); end - # source://rack//lib/rack/utils.rb#406 + # pkg:gem/rack#lib/rack/utils.rb:406 def get_byte_ranges(http_range, size); end # Returns the value of attribute multipart_file_limit. # - # source://rack//lib/rack/utils.rb#65 + # pkg:gem/rack#lib/rack/utils.rb:65 def multipart_file_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 + # pkg:gem/rack#lib/rack/utils.rb:65 def multipart_file_limit=(_arg0); end # Returns the value of attribute multipart_file_limit. # 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#69 + # pkg:gem/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#70 + # pkg:gem/rack#lib/rack/utils.rb:70 def multipart_part_limit=(_arg0); end # Returns the value of attribute multipart_total_part_limit. # - # source://rack//lib/rack/utils.rb#63 + # pkg:gem/rack#lib/rack/utils.rb:63 def multipart_total_part_limit; end # Sets the attribute multipart_total_part_limit # # @param value the value to set the attribute multipart_total_part_limit to. # - # source://rack//lib/rack/utils.rb#63 + # pkg:gem/rack#lib/rack/utils.rb:63 def multipart_total_part_limit=(_arg0); end - # source://rack//lib/rack/utils.rb#82 + # pkg:gem/rack#lib/rack/utils.rb:82 def param_depth_limit; end - # source://rack//lib/rack/utils.rb#86 + # pkg:gem/rack#lib/rack/utils.rb:86 def param_depth_limit=(v); end # :call-seq: @@ -4916,7 +4916,7 @@ module Rack::Utils # parse_cookies({'HTTP_COOKIE' => 'myname=myvalue'}) # # => {'myname' => 'myvalue'} # - # source://rack//lib/rack/utils.rb#257 + # pkg:gem/rack#lib/rack/utils.rb:257 def parse_cookies(env); end # :call-seq: @@ -4929,25 +4929,25 @@ module Rack::Utils # parse_cookies_header('myname=myvalue; max-age=0') # # => {"myname"=>"myvalue", "max-age"=>"0"} # - # source://rack//lib/rack/utils.rb#238 + # pkg:gem/rack#lib/rack/utils.rb:238 def parse_cookies_header(value); end - # source://rack//lib/rack/utils.rb#106 + # pkg:gem/rack#lib/rack/utils.rb:106 def parse_nested_query(qs, d = T.unsafe(nil)); end - # source://rack//lib/rack/utils.rb#102 + # pkg:gem/rack#lib/rack/utils.rb:102 def parse_query(qs, d = T.unsafe(nil), &unescaper); end - # source://rack//lib/rack/utils.rb#138 + # pkg:gem/rack#lib/rack/utils.rb:138 def q_values(q_value_header); end - # source://rack//lib/rack/utils.rb#395 + # pkg:gem/rack#lib/rack/utils.rb:395 def rfc2822(time); end - # source://rack//lib/rack/utils.rb#448 + # pkg:gem/rack#lib/rack/utils.rb:448 def secure_compare(a, b); end - # source://rack//lib/rack/utils.rb#196 + # pkg:gem/rack#lib/rack/utils.rb:196 def select_best_encoding(available_encodings, accept_encoding); end # :call-seq: @@ -4970,7 +4970,7 @@ module Rack::Utils # set_cookie_header("myname", {value: "myvalue", max_age: 10}) # # => "myname=myvalue; max-age=10" # - # source://rack//lib/rack/utils.rb#286 + # pkg:gem/rack#lib/rack/utils.rb:286 def set_cookie_header(key, value); end # :call-seq: @@ -4982,32 +4982,32 @@ module Rack::Utils # If the headers already contains a +set-cookie+ key, it will be converted # to an +Array+ if not already, and appended to. # - # source://rack//lib/rack/utils.rb#330 + # pkg:gem/rack#lib/rack/utils.rb:330 def set_cookie_header!(headers, key, value); end - # source://rack//lib/rack/utils.rb#582 + # pkg:gem/rack#lib/rack/utils.rb:582 def status_code(status); end # Unescapes a URI escaped string with +encoding+. +encoding+ will be the # target encoding of the string returned, and it defaults to UTF-8 # - # source://rack//lib/rack/utils.rb#58 + # pkg:gem/rack#lib/rack/utils.rb:58 def unescape(s, encoding = T.unsafe(nil)); end # Unescapes the **path** component of a URI. See Rack::Utils.unescape for # unescaping query parameters or form components. # - # source://rack//lib/rack/utils.rb#52 + # pkg:gem/rack#lib/rack/utils.rb:52 def unescape_path(s); end # @return [Boolean] # - # source://rack//lib/rack/utils.rb#617 + # pkg:gem/rack#lib/rack/utils.rb:617 def valid_path?(path); end end end -# source://rack//lib/rack/utils.rb#25 +# pkg:gem/rack#lib/rack/utils.rb:25 Rack::Utils::COMMON_SEP = T.let(T.unsafe(nil), Hash) # Context allows the use of a compatible middleware at different points @@ -5016,34 +5016,34 @@ Rack::Utils::COMMON_SEP = T.let(T.unsafe(nil), Hash) # would be the request environment. The second of which would be the rack # application that the request would be forwarded to. # -# source://rack//lib/rack/utils.rb#471 +# pkg:gem/rack#lib/rack/utils.rb:471 class Rack::Utils::Context # @return [Context] a new instance of Context # - # source://rack//lib/rack/utils.rb#474 + # pkg:gem/rack#lib/rack/utils.rb:474 def initialize(app_f, app_r); end # Returns the value of attribute app. # - # source://rack//lib/rack/utils.rb#472 + # pkg:gem/rack#lib/rack/utils.rb:472 def app; end - # source://rack//lib/rack/utils.rb#479 + # pkg:gem/rack#lib/rack/utils.rb:479 def call(env); end - # source://rack//lib/rack/utils.rb#487 + # pkg:gem/rack#lib/rack/utils.rb:487 def context(env, app = T.unsafe(nil)); end # Returns the value of attribute for. # - # source://rack//lib/rack/utils.rb#472 + # pkg:gem/rack#lib/rack/utils.rb:472 def for; end - # source://rack//lib/rack/utils.rb#483 + # pkg:gem/rack#lib/rack/utils.rb:483 def recontext(app); end end -# source://rack//lib/rack/utils.rb#24 +# pkg:gem/rack#lib/rack/utils.rb:24 Rack::Utils::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp) # Every standard HTTP code mapped to the appropriate message. @@ -5053,49 +5053,49 @@ Rack::Utils::DEFAULT_SEP = T.let(T.unsafe(nil), Regexp) # .reject {|v| v['Description'] == 'Unassigned' or v['Description'].include? '(' } \ # .map {|v| %Q/#{v['Value']} => '#{v['Description']}'/ }.join(','+?\n)" # -# source://rack//lib/rack/utils.rb#498 +# pkg:gem/rack#lib/rack/utils.rb:498 Rack::Utils::HTTP_STATUS_CODES = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/utils.rb#22 +# pkg:gem/rack#lib/rack/utils.rb:22 Rack::Utils::InvalidParameterError = Rack::QueryParser::InvalidParameterError -# source://rack//lib/rack/utils.rb#26 +# pkg:gem/rack#lib/rack/utils.rb:26 Rack::Utils::KeySpaceConstrainedParams = Rack::QueryParser::Params -# source://rack//lib/rack/utils.rb#615 +# pkg:gem/rack#lib/rack/utils.rb:615 Rack::Utils::NULL_BYTE = T.let(T.unsafe(nil), String) -# source://rack//lib/rack/utils.rb#568 +# pkg:gem/rack#lib/rack/utils.rb:568 Rack::Utils::OBSOLETE_SYMBOLS_TO_STATUS_CODES = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/utils.rb#576 +# pkg:gem/rack#lib/rack/utils.rb:576 Rack::Utils::OBSOLETE_SYMBOL_MAPPINGS = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/utils.rb#598 +# pkg:gem/rack#lib/rack/utils.rb:598 Rack::Utils::PATH_SEPS = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/utils.rb#21 +# pkg:gem/rack#lib/rack/utils.rb:21 Rack::Utils::ParameterTypeError = Rack::QueryParser::ParameterTypeError -# source://rack//lib/rack/utils.rb#23 +# pkg:gem/rack#lib/rack/utils.rb:23 Rack::Utils::ParamsTooDeepError = Rack::QueryParser::QueryLimitError # Responses with HTTP status codes that should not have an entity body # -# source://rack//lib/rack/utils.rb#562 +# pkg:gem/rack#lib/rack/utils.rb:562 Rack::Utils::STATUS_WITH_NO_ENTITY_BODY = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/utils.rb#564 +# pkg:gem/rack#lib/rack/utils.rb:564 Rack::Utils::SYMBOL_TO_STATUS_CODE = T.let(T.unsafe(nil), Hash) -# source://rack//lib/rack/utils.rb#27 +# pkg:gem/rack#lib/rack/utils.rb:27 Rack::Utils::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) # A valid cookie key according to RFC6265 and RFC2616. # A can be any US-ASCII characters, except control characters, spaces, or tabs. It also must not contain a separator character like the following: ( ) < > @ , ; : \ " / [ ] ? = { }. # -# source://rack//lib/rack/utils.rb#263 +# pkg:gem/rack#lib/rack/utils.rb:263 Rack::Utils::VALID_COOKIE_KEY = T.let(T.unsafe(nil), Regexp) -# source://rack//lib/rack/version.rb#9 +# pkg:gem/rack#lib/rack/version.rb:9 Rack::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rackup@2.3.1.rbi b/sorbet/rbi/gems/rackup@2.3.1.rbi index 1b2bda174..4e3a8037e 100644 --- a/sorbet/rbi/gems/rackup@2.3.1.rbi +++ b/sorbet/rbi/gems/rackup@2.3.1.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem rackup`. -# source://rackup//lib/rackup/handler.rb#6 +# pkg:gem/rackup#lib/rackup/handler.rb:6 module Rackup; end # *Handlers* connect web servers with Rack. @@ -16,16 +16,16 @@ module Rackup; end # A second optional hash can be passed to include server-specific # configuration. # -# source://rackup//lib/rackup/handler.rb#14 +# pkg:gem/rackup#lib/rackup/handler.rb:14 module Rackup::Handler class << self - # source://rackup//lib/rackup/handler.rb#30 + # pkg:gem/rackup#lib/rackup/handler.rb:30 def [](name); end - # source://rackup//lib/rackup/handler.rb#84 + # pkg:gem/rackup#lib/rackup/handler.rb:84 def default; end - # source://rackup//lib/rackup/handler.rb#40 + # pkg:gem/rackup#lib/rackup/handler.rb:40 def get(name); end # Select first available Rack handler given an `Array` of server names. @@ -36,12 +36,12 @@ module Rackup::Handler # # @raise [LoadError] # - # source://rackup//lib/rackup/handler.rb#69 + # pkg:gem/rackup#lib/rackup/handler.rb:69 def pick(server_names); end # Register a named handler class. # - # source://rackup//lib/rackup/handler.rb#18 + # pkg:gem/rackup#lib/rackup/handler.rb:18 def register(name, klass); end # Transforms server-name constants to their canonical form as filenames, @@ -56,21 +56,21 @@ module Rackup::Handler # FOOBAR # => 'foobar.rb' # FooBarBaz # => 'foo_bar_baz.rb' # - # source://rackup//lib/rackup/handler.rb#106 + # pkg:gem/rackup#lib/rackup/handler.rb:106 def require_handler(prefix, const_name); end end end -# source://rackup//lib/rackup/handler.rb#59 +# pkg:gem/rackup#lib/rackup/handler.rb:59 Rackup::Handler::RACKUP_HANDLER = T.let(T.unsafe(nil), String) -# source://rackup//lib/rackup/handler.rb#58 +# pkg:gem/rackup#lib/rackup/handler.rb:58 Rackup::Handler::RACK_HANDLER = T.let(T.unsafe(nil), String) -# source://rackup//lib/rackup/handler.rb#61 +# pkg:gem/rackup#lib/rackup/handler.rb:61 Rackup::Handler::SERVER_NAMES = T.let(T.unsafe(nil), Array) -# source://rackup//lib/rackup/server.rb#22 +# pkg:gem/rackup#lib/rackup/server.rb:22 class Rackup::Server # Options may include: # * :app @@ -118,80 +118,80 @@ class Rackup::Server # # @return [Server] a new instance of Server # - # source://rackup//lib/rackup/server.rb#230 + # pkg:gem/rackup#lib/rackup/server.rb:230 def initialize(options = T.unsafe(nil)); end - # source://rackup//lib/rackup/server.rb#262 + # pkg:gem/rackup#lib/rackup/server.rb:262 def app; end - # source://rackup//lib/rackup/server.rb#248 + # pkg:gem/rackup#lib/rackup/server.rb:248 def default_options; end - # source://rackup//lib/rackup/server.rb#296 + # pkg:gem/rackup#lib/rackup/server.rb:296 def middleware; end - # source://rackup//lib/rackup/server.rb#243 + # pkg:gem/rackup#lib/rackup/server.rb:243 def options; end # Sets the attribute options # # @param value the value to set the attribute options to. # - # source://rackup//lib/rackup/server.rb#185 + # pkg:gem/rackup#lib/rackup/server.rb:185 def options=(_arg0); end - # source://rackup//lib/rackup/server.rb#344 + # pkg:gem/rackup#lib/rackup/server.rb:344 def server; end - # source://rackup//lib/rackup/server.rb#300 + # pkg:gem/rackup#lib/rackup/server.rb:300 def start(&block); end private - # source://rackup//lib/rackup/server.rb#413 + # pkg:gem/rackup#lib/rackup/server.rb:413 def build_app(app); end - # source://rackup//lib/rackup/server.rb#349 + # pkg:gem/rackup#lib/rackup/server.rb:349 def build_app_and_options_from_config; end - # source://rackup//lib/rackup/server.rb#395 + # pkg:gem/rackup#lib/rackup/server.rb:395 def build_app_from_string; end - # source://rackup//lib/rackup/server.rb#442 + # pkg:gem/rackup#lib/rackup/server.rb:442 def check_pid!; end - # source://rackup//lib/rackup/server.rb#427 + # pkg:gem/rackup#lib/rackup/server.rb:427 def daemonize_app; end - # source://rackup//lib/rackup/server.rb#456 + # pkg:gem/rackup#lib/rackup/server.rb:456 def exit_with_pid(pid); end - # source://rackup//lib/rackup/server.rb#357 + # pkg:gem/rackup#lib/rackup/server.rb:357 def handle_profiling(heapfile, profile_mode, filename); end - # source://rackup//lib/rackup/server.rb#385 + # pkg:gem/rackup#lib/rackup/server.rb:385 def make_profile_name(filename); end - # source://rackup//lib/rackup/server.rb#409 + # pkg:gem/rackup#lib/rackup/server.rb:409 def opt_parser; end - # source://rackup//lib/rackup/server.rb#399 + # pkg:gem/rackup#lib/rackup/server.rb:399 def parse_options(args); end - # source://rackup//lib/rackup/server.rb#423 + # pkg:gem/rackup#lib/rackup/server.rb:423 def wrapped_app; end - # source://rackup//lib/rackup/server.rb#434 + # pkg:gem/rackup#lib/rackup/server.rb:434 def write_pid; end class << self - # source://rackup//lib/rackup/server.rb#273 + # pkg:gem/rackup#lib/rackup/server.rb:273 def default_middleware_by_environment; end - # source://rackup//lib/rackup/server.rb#267 + # pkg:gem/rackup#lib/rackup/server.rb:267 def logging_middleware; end - # source://rackup//lib/rackup/server.rb#291 + # pkg:gem/rackup#lib/rackup/server.rb:291 def middleware; end # Start a new rack server (like running rackup). This will parse ARGV and @@ -212,19 +212,19 @@ class Rackup::Server # # Further options available here are documented on Rackup::Server#initialize # - # source://rackup//lib/rackup/server.rb#181 + # pkg:gem/rackup#lib/rackup/server.rb:181 def start(options = T.unsafe(nil)); end end end -# source://rackup//lib/rackup/server.rb#23 +# pkg:gem/rackup#lib/rackup/server.rb:23 class Rackup::Server::Options - # source://rackup//lib/rackup/server.rb#143 + # pkg:gem/rackup#lib/rackup/server.rb:143 def handler_opts(options); end - # source://rackup//lib/rackup/server.rb#24 + # pkg:gem/rackup#lib/rackup/server.rb:24 def parse!(args); end end -# source://rackup//lib/rackup/version.rb#7 +# pkg:gem/rackup#lib/rackup/version.rb:7 Rackup::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi b/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi index d396ae6e2..2d21097b9 100644 --- a/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi +++ b/sorbet/rbi/gems/rails-dom-testing@2.3.0.rbi @@ -5,52 +5,52 @@ # Please instead update this file by running `bin/tapioca gem rails-dom-testing`. -# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#3 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:3 module Rails; end -# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#4 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:4 module Rails::Dom; end -# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#5 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:5 module Rails::Dom::Testing - # source://rails-dom-testing//lib/rails/dom/testing.rb#12 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:12 def default_html_version; end - # source://rails-dom-testing//lib/rails/dom/testing.rb#12 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:12 def default_html_version=(val); end class << self - # source://rails-dom-testing//lib/rails/dom/testing.rb#12 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:12 def default_html_version; end - # source://rails-dom-testing//lib/rails/dom/testing.rb#12 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:12 def default_html_version=(val); end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing.rb#15 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:15 def html5_support?; end - # source://rails-dom-testing//lib/rails/dom/testing.rb#19 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:19 def html_document(html_version: T.unsafe(nil)); end - # source://rails-dom-testing//lib/rails/dom/testing.rb#26 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:26 def html_document_fragment(html_version: T.unsafe(nil)); end private - # source://rails-dom-testing//lib/rails/dom/testing.rb#34 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing.rb:34 def choose_html_parser(parser_classes, html_version: T.unsafe(nil)); end end end -# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#6 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:6 module Rails::Dom::Testing::Assertions include ::Rails::Dom::Testing::Assertions::DomAssertions include ::Rails::Dom::Testing::Assertions::SelectorAssertions end -# source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#7 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:7 module Rails::Dom::Testing::Assertions::DomAssertions # \Test two HTML strings for equivalency (e.g., equal even when attributes are in another order) # @@ -79,7 +79,7 @@ module Rails::Dom::Testing::Assertions::DomAssertions # # assert_dom_equal expected, actual, html_version: :html5 # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#35 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:35 def assert_dom_equal(expected, actual, message = T.unsafe(nil), strict: T.unsafe(nil), html_version: T.unsafe(nil)); end # The negated form of +assert_dom_equal+. @@ -109,7 +109,7 @@ module Rails::Dom::Testing::Assertions::DomAssertions # # assert_dom_not_equal expected, actual, html_version: :html5 # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#68 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:68 def assert_dom_not_equal(expected, actual, message = T.unsafe(nil), strict: T.unsafe(nil), html_version: T.unsafe(nil)); end # The negated form of +assert_dom_equal+. @@ -139,40 +139,40 @@ module Rails::Dom::Testing::Assertions::DomAssertions # # assert_dom_not_equal expected, actual, html_version: :html5 # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#73 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:73 def refute_dom_equal(expected, actual, message = T.unsafe(nil), strict: T.unsafe(nil), html_version: T.unsafe(nil)); end protected - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#76 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:76 def compare_doms(expected, actual, strict); end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#129 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:129 def equal_attribute?(attr, other_attr); end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#116 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:116 def equal_attribute_nodes?(nodes, other_nodes); end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#108 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:108 def equal_child?(child, other_child, strict); end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#96 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:96 def equal_children?(child, other_child, strict); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#88 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:88 def extract_children(node, strict); end private - # source://rails-dom-testing//lib/rails/dom/testing/assertions/dom_assertions.rb#134 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/dom_assertions.rb:134 def fragment(text, html_version: T.unsafe(nil)); end end @@ -189,7 +189,7 @@ end # * +assert_dom_encoded+ - Assertions on HTML encoded inside XML, for example for dealing with feed item descriptions. # * +assert_dom_email+ - Assertions on the HTML body of an e-mail. # -# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#7 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:7 module Rails::Dom::Testing::Assertions::SelectorAssertions # An assertion that selects elements and makes one or more equality tests. # @@ -289,7 +289,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 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:163 def assert_dom(*args, &block); end # Extracts the body of an email and runs nested assertions on it. @@ -323,7 +323,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#318 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:318 def assert_dom_email(html_version: T.unsafe(nil), &block); end # Extracts the content of an element, treats it as encoded HTML and runs @@ -376,7 +376,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # end # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#265 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:265 def assert_dom_encoded(element = T.unsafe(nil), html_version: T.unsafe(nil), &block); end # The negated form of +assert_dom+. @@ -392,7 +392,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # * :minimum # * :maximum # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#183 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:183 def assert_not_dom(*args, &block); end # The negated form of +assert_dom+. @@ -408,7 +408,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # * :minimum # * :maximum # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#190 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:190 def assert_not_select(*args, &block); end # An assertion that selects elements and makes one or more equality tests. @@ -509,7 +509,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#169 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:169 def assert_select(*args, &block); end # Extracts the body of an email and runs nested assertions on it. @@ -543,7 +543,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#331 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:331 def assert_select_email(html_version: T.unsafe(nil), &block); end # Extracts the content of an element, treats it as encoded HTML and runs @@ -596,7 +596,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # end # end # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#285 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:285 def assert_select_encoded(element = T.unsafe(nil), html_version: T.unsafe(nil), &block); end # Select and return all matching elements. @@ -638,7 +638,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # # @raise [ArgumentError] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#58 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:58 def css_select(*args); end # The negated form of +assert_dom+. @@ -654,7 +654,7 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # * :minimum # * :maximum # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#189 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:189 def refute_dom(*args, &block); end # The negated form of +assert_dom+. @@ -670,121 +670,121 @@ module Rails::Dom::Testing::Assertions::SelectorAssertions # * :minimum # * :maximum # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#191 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:191 def refute_select(*args, &block); end private # +equals+ must contain :minimum, :maximum and :count keys # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#340 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:340 def assert_size_match!(size, equals, css_selector, message = T.unsafe(nil)); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#352 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:352 def count_description(min, max, count); end # @raise [NotImplementedError] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#334 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:334 def document_root_element; end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#193 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:193 def dom_assertions(selector, &block); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#368 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:368 def nest_selection(selection); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#377 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:377 def nodeset(node); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions.rb#364 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions.rb:364 def pluralize_element(quantity); end end -# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#12 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:12 class Rails::Dom::Testing::Assertions::SelectorAssertions::HTMLSelector include ::Minitest::Assertions # @return [HTMLSelector] a new instance of HTMLSelector # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#17 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:17 def initialize(values, previous_selection = T.unsafe(nil), refute: T.unsafe(nil), &root_fallback); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#46 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:46 def context; end # Returns the value of attribute css_selector. # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#13 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:13 def css_selector; end # Returns the value of attribute message. # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#13 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:13 def message; end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#39 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:39 def select; end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#33 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:33 def selecting_no_body?; end # Returns the value of attribute tests. # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#13 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:13 def tests; end private - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#146 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:146 def collapse_html_whitespace!(text); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#102 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:102 def extract_equality_tests(refute); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#74 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:74 def extract_root(previous_selection, root_fallback); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#91 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:91 def extract_selectors; end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#48 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:48 def filter(matches); end class << self - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#46 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:46 def context; end end end -# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb#44 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb:44 Rails::Dom::Testing::Assertions::SelectorAssertions::HTMLSelector::NO_STRIP = T.let(T.unsafe(nil), Array) -# source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#8 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:8 class Rails::Dom::Testing::Assertions::SelectorAssertions::SubstitutionContext # @return [SubstitutionContext] a new instance of SubstitutionContext # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#9 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:9 def initialize; end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#20 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:20 def match(matches, attribute, matcher); end - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#13 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:13 def substitute!(selector, values, format_for_presentation = T.unsafe(nil)); end private - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#25 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:25 def matcher_for(value, format_for_presentation); end # @return [Boolean] # - # source://rails-dom-testing//lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb#36 + # pkg:gem/rails-dom-testing#lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb:36 def substitutable?(value); end end -# source://rails-dom-testing//lib/rails/dom/testing/railtie.rb#6 +# pkg:gem/rails-dom-testing#lib/rails/dom/testing/railtie.rb:6 class Rails::Dom::Testing::Railtie < ::Rails::Railtie; end diff --git a/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi b/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi index d6821b284..0eb86ee62 100644 --- a/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +++ b/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi @@ -5,10 +5,10 @@ # Please instead update this file by running `bin/tapioca gem rails-html-sanitizer`. -# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#14 +# pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:14 module ActionView; end -# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#15 +# pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:15 module ActionView::Helpers include ::ActionView::Helpers::SanitizeHelper include ::ActionView::Helpers::TextHelper @@ -23,12 +23,12 @@ module ActionView::Helpers mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods end -# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#16 +# pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:16 module ActionView::Helpers::SanitizeHelper mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods end -# source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#17 +# pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:17 module ActionView::Helpers::SanitizeHelper::ClassMethods # Replaces the allowed HTML attributes for the +sanitize+ helper. # @@ -36,25 +36,25 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.sanitized_allowed_attributes = ['onclick', 'longdesc'] # end # - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:47 def sanitized_allowed_protocols; end - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:48 def sanitized_allowed_protocols=(_); end # Replaces the allowed tags for the +sanitize+ helper. @@ -63,46 +63,46 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods # config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' # end # - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#24 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:47 def sanitized_bad_tags; end - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:48 def sanitized_bad_tags=(_); end - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:47 def sanitized_protocol_separator; end - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:48 def sanitized_protocol_separator=(_); end - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#47 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:47 def sanitized_uri_attributes; end - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#48 + # pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:48 def sanitized_uri_attributes=(_); end private - # source://rails-html-sanitizer//lib/rails-html-sanitizer.rb#52 + # pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer/version.rb:3 module Rails; end -# source://rails-html-sanitizer//lib/rails/html/sanitizer/version.rb#4 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer/version.rb:4 module Rails::HTML; end -# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#194 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:194 module Rails::HTML4; end # == Rails::HTML4::FullSanitizer @@ -113,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 +# pkg:gem/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 @@ -129,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 +# pkg:gem/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 @@ -188,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 +# pkg:gem/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 @@ -196,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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:145 def allowed_attributes; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:145 def allowed_attributes=(_arg0); end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:144 def allowed_tags; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:196 module Rails::HTML4::Sanitizer::VendorMethods - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#197 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:197 def full_sanitizer; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#201 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:201 def link_sanitizer; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#205 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:205 def safe_list_sanitizer; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#209 + # pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:306 module Rails::HTML5; end # == Rails::HTML5::FullSanitizer @@ -241,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 +# pkg:gem/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 @@ -257,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 +# pkg:gem/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 @@ -316,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 +# pkg:gem/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 @@ -324,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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:145 def allowed_attributes; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#145 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:145 def allowed_attributes=(_arg0); end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:144 def allowed_tags; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#144 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:309 def full_sanitizer; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#313 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:313 def link_sanitizer; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#317 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:317 def safe_list_sanitizer; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#321 + # pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:33 module Rails::HTML::Concern; end -# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#34 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:34 module Rails::HTML::Concern::ComposedSanitize - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#35 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:65 def initialize; end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#72 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:178 def allowed_attributes(options); end - # source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#174 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:186 def serialize(fragment); end end -# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#418 +# pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer.rb:419 Rails::HTML::LinkSanitizer = Rails::HTML4::LinkSanitizer # === Rails::HTML::PermitScrubber @@ -494,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:50 def attributes; end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#62 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:50 def prune; end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#66 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:50 def tags; end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#58 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:95 def keep_node?(node); end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#162 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:91 def scrub_attribute?(name); end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#112 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:112 def scrub_attributes(node); end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#128 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:87 def skip_node?(node); end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#137 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails/html/sanitizer/version.rb:6 Rails::HTML::Sanitizer::VERSION = T.let(T.unsafe(nil), String) # === Rails::HTML::TargetScrubber @@ -608,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:200 def scrub_attribute?(name); end end @@ -627,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 +# pkg:gem/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 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:211 def initialize; end - # source://rails-html-sanitizer//lib/rails/html/scrubbers.rb#215 + # pkg:gem/rails-html-sanitizer#lib/rails/html/scrubbers.rb:215 def scrub(node); end end -# source://rails-html-sanitizer//lib/rails/html/sanitizer.rb#421 +# pkg:gem/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 +# pkg:gem/rails-html-sanitizer#lib/rails-html-sanitizer.rb:11 Rails::Html = Rails::HTML diff --git a/sorbet/rbi/gems/railties@8.1.1.rbi b/sorbet/rbi/gems/railties@8.1.1.rbi index 9cd497fd1..eecea0056 100644 --- a/sorbet/rbi/gems/railties@8.1.1.rbi +++ b/sorbet/rbi/gems/railties@8.1.1.rbi @@ -7,7 +7,7 @@ # :include: ../README.rdoc # -# source://railties//lib/rails/gem_version.rb#3 +# pkg:gem/railties#lib/rails/gem_version.rb:3 module Rails extend ::ActiveSupport::Autoload extend ::ActiveSupport::Benchmarkable @@ -15,50 +15,50 @@ module Rails class << self # Returns the value of attribute app_class. # - # source://railties//lib/rails.rb#43 + # pkg:gem/railties#lib/rails.rb:43 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#43 + # pkg:gem/railties#lib/rails.rb:43 def app_class=(_arg0); end - # source://railties//lib/rails.rb#44 + # pkg:gem/railties#lib/rails.rb:44 def application; end # Sets the attribute application # # @param value the value to set the attribute application to. # - # source://railties//lib/rails.rb#42 + # pkg:gem/railties#lib/rails.rb:42 def application=(_arg0); end - # source://railties//lib/rails.rb#133 + # pkg:gem/railties#lib/rails.rb:133 def autoloaders; end - # source://railties//lib/rails.rb#55 + # pkg:gem/railties#lib/rails.rb:55 def backtrace_cleaner; end # Returns the value of attribute cache. # - # source://railties//lib/rails.rb#43 + # pkg:gem/railties#lib/rails.rb:43 def cache; end # Sets the attribute cache # # @param value the value to set the attribute cache to. # - # source://railties//lib/rails.rb#43 + # pkg:gem/railties#lib/rails.rb:43 def cache=(_arg0); end # The Configuration instance used to configure the \Rails environment # - # source://railties//lib/rails.rb#51 + # pkg:gem/railties#lib/rails.rb:51 def configuration; end - # source://railties//lib/rails/deprecator.rb#4 + # pkg:gem/railties#lib/rails/deprecator.rb:4 def deprecator; end # Returns the current \Rails environment. @@ -68,14 +68,14 @@ module Rails # Rails.env.production? # => false # Rails.env.local? # => true true for "development" and "test", false for anything else # - # source://railties//lib/rails.rb#74 + # pkg:gem/railties#lib/rails.rb:74 def env; end # Sets the \Rails environment. # # Rails.env = "staging" # => "staging" # - # source://railties//lib/rails.rb#81 + # pkg:gem/railties#lib/rails.rb:81 def env=(environment); end # Returns the ActiveSupport::ErrorReporter of the current \Rails project, @@ -86,7 +86,7 @@ module Rails # end # Rails.error.report(error) # - # source://railties//lib/rails.rb#92 + # pkg:gem/railties#lib/rails.rb:92 def error; end # Returns the ActiveSupport::EventReporter of the current \Rails project, @@ -94,12 +94,12 @@ module Rails # # Rails.event.notify("my_event", { message: "Hello, world!" }) # - # source://railties//lib/rails.rb#100 + # pkg:gem/railties#lib/rails.rb:100 def event; end # Returns the currently loaded version of \Rails as a +Gem::Version+. # - # source://railties//lib/rails/gem_version.rb#5 + # pkg:gem/railties#lib/rails/gem_version.rb:5 def gem_version; end # Returns all \Rails groups for loading based on: @@ -112,25 +112,25 @@ module Rails # # => [:default, "development", :assets] for Rails.env == "development" # # => [:default, "production"] for Rails.env == "production" # - # source://railties//lib/rails.rb#113 + # pkg:gem/railties#lib/rails.rb:113 def groups(*groups); end - # source://railties//lib/rails.rb#48 + # pkg:gem/railties#lib/rails.rb:48 def initialize!(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails.rb#48 + # pkg:gem/railties#lib/rails.rb:48 def initialized?(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute logger. # - # source://railties//lib/rails.rb#43 + # pkg:gem/railties#lib/rails.rb:43 def logger; end # Sets the attribute logger # # @param value the value to set the attribute logger to. # - # source://railties//lib/rails.rb#43 + # pkg:gem/railties#lib/rails.rb:43 def logger=(_arg0); end # Returns a Pathname object of the public folder of the current @@ -139,7 +139,7 @@ module Rails # Rails.public_path # # => # # - # source://railties//lib/rails.rb#129 + # pkg:gem/railties#lib/rails.rb:129 def public_path; end # Returns a Pathname object of the current \Rails project, @@ -148,12 +148,12 @@ module Rails # Rails.root # # => # # - # source://railties//lib/rails.rb#64 + # pkg:gem/railties#lib/rails.rb:64 def root; end # Returns the currently loaded version of \Rails as a string. # - # source://railties//lib/rails/version.rb#7 + # pkg:gem/railties#lib/rails/version.rb:7 def version; end end end @@ -204,41 +204,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#60 +# pkg:gem/railties#lib/rails/application.rb:60 class Rails::Application < ::Rails::Engine # @return [Application] a new instance of Application # - # source://railties//lib/rails/application.rb#107 + # pkg:gem/railties#lib/rails/application.rb:107 def initialize(initial_variable_values = T.unsafe(nil), &block); end # Returns the value of attribute assets. # - # source://railties//lib/rails/application.rb#98 + # pkg:gem/railties#lib/rails/application.rb:98 def assets; end # Sets the attribute assets # # @param value the value to set the attribute assets to. # - # source://railties//lib/rails/application.rb#98 + # pkg:gem/railties#lib/rails/application.rb:98 def assets=(_arg0); end # Returns the value of attribute autoloaders. # - # source://railties//lib/rails/application.rb#100 + # pkg:gem/railties#lib/rails/application.rb:100 def autoloaders; end - # source://railties//lib/rails/application.rb#560 + # pkg:gem/railties#lib/rails/application.rb:560 def build_middleware_stack; end - # source://railties//lib/rails/application.rb#453 + # pkg:gem/railties#lib/rails/application.rb:453 def config; end # Sets the attribute config # # @param value the value to set the attribute config to. # - # source://railties//lib/rails/application.rb#457 + # pkg:gem/railties#lib/rails/application.rb:457 def config=(_arg0); end # Convenience for loading config/foo.yml for the current \Rails env. @@ -280,13 +280,13 @@ class Rails::Application < ::Rails::Engine # Rails.application.config_for(:example)[:foo][:bar] # # => { baz: 1, qux: 2 } # - # source://railties//lib/rails/application.rb#290 + # pkg:gem/railties#lib/rails/application.rb:290 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#373 + # pkg:gem/railties#lib/rails/application.rb:373 def console(&blk); end # Returns an ActiveSupport::EncryptedConfiguration instance for the @@ -304,20 +304,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#497 + # pkg:gem/railties#lib/rails/application.rb:497 def credentials; end # Sets the attribute credentials # # @param value the value to set the attribute credentials to. # - # source://railties//lib/rails/application.rb#458 + # pkg:gem/railties#lib/rails/application.rb:458 def credentials=(_arg0); end - # source://railties//lib/rails/application.rb#102 + # pkg:gem/railties#lib/rails/application.rb:102 def default_url_options(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/application.rb#102 + # pkg:gem/railties#lib/rails/application.rb:102 def default_url_options=(arg); end # A managed collection of deprecators (ActiveSupport::Deprecation::Deprecators). @@ -325,12 +325,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#246 + # pkg:gem/railties#lib/rails/application.rb:246 def deprecators; end # Eager loads the application code. # - # source://railties//lib/rails/application.rb#555 + # pkg:gem/railties#lib/rails/application.rb:555 def eager_load!; end # Returns an ActiveSupport::EncryptedConfiguration instance for an encrypted @@ -349,55 +349,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#516 + # pkg:gem/railties#lib/rails/application.rb:516 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#319 + # pkg:gem/railties#lib/rails/application.rb:319 def env_config; end # Returns the value of attribute executor. # - # source://railties//lib/rails/application.rb#100 + # pkg:gem/railties#lib/rails/application.rb:100 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#379 + # pkg:gem/railties#lib/rails/application.rb:379 def generators(&blk); end - # source://railties//lib/rails/application.rb#529 + # pkg:gem/railties#lib/rails/application.rb:529 def helpers_paths; end # Initialize the application passing the given group. By default, the # group is :default # - # source://railties//lib/rails/application.rb#440 + # pkg:gem/railties#lib/rails/application.rb:440 def initialize!(group = T.unsafe(nil)); end # Returns true if the application is initialized. # # @return [Boolean] # - # source://railties//lib/rails/application.rb#132 + # pkg:gem/railties#lib/rails/application.rb:132 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#361 + # pkg:gem/railties#lib/rails/application.rb:361 def initializer(name, opts = T.unsafe(nil), &block); end - # source://railties//lib/rails/application.rb#447 + # pkg:gem/railties#lib/rails/application.rb:447 def initializers; end # Sends the +isolate_namespace+ method up to the class method. # - # source://railties//lib/rails/application.rb#390 + # pkg:gem/railties#lib/rails/application.rb:390 def isolate_namespace(mod); end # Returns a key generator (ActiveSupport::CachingKeyGenerator) for a @@ -405,10 +405,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#174 + # pkg:gem/railties#lib/rails/application.rb:174 def key_generator(secret_key_base = T.unsafe(nil)); end - # source://railties//lib/rails/application.rb#549 + # pkg:gem/railties#lib/rails/application.rb:549 def load_generators(app = T.unsafe(nil)); end # Returns a message verifier object. @@ -433,7 +433,7 @@ class Rails::Application < ::Rails::Engine # Rails.application.message_verifier('my_purpose').verify(message) # # => 'data to sign against tampering' # - # source://railties//lib/rails/application.rb#238 + # pkg:gem/railties#lib/rails/application.rb:238 def message_verifier(verifier_name); end # Returns a message verifier factory (ActiveSupport::MessageVerifiers). This @@ -464,7 +464,7 @@ class Rails::Application < ::Rails::Engine # app.message_verifiers.rotate(secret_key_base: "old secret_key_base") # end # - # source://railties//lib/rails/application.rb#210 + # pkg:gem/railties#lib/rails/application.rb:210 def message_verifiers; end # Return an array of railties respecting the order they're loaded @@ -474,70 +474,70 @@ 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#545 + # pkg:gem/railties#lib/rails/application.rb:545 def migration_railties; end # Returns the dasherized application name. # # MyApp::Application.new.name => "my-app" # - # source://railties//lib/rails/application.rb#139 + # pkg:gem/railties#lib/rails/application.rb:139 def name; 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#354 + # pkg:gem/railties#lib/rails/application.rb:354 def rake_tasks(&block); end # Reload application routes regardless if they changed or not. # - # source://railties//lib/rails/application.rb#158 + # pkg:gem/railties#lib/rails/application.rb:158 def reload_routes!; end - # source://railties//lib/rails/application.rb#166 + # pkg:gem/railties#lib/rails/application.rb:166 def reload_routes_unless_loaded; end # Returns the value of attribute reloader. # - # source://railties//lib/rails/application.rb#100 + # pkg:gem/railties#lib/rails/application.rb:100 def reloader; end # Returns the value of attribute reloaders. # - # source://railties//lib/rails/application.rb#100 + # pkg:gem/railties#lib/rails/application.rb:100 def reloaders; end - # source://railties//lib/rails/application.rb#416 + # pkg:gem/railties#lib/rails/application.rb:416 def require_environment!; end - # source://railties//lib/rails/application.rb#421 + # pkg:gem/railties#lib/rails/application.rb:421 def routes_reloader; end - # source://railties//lib/rails/application.rb#143 + # pkg:gem/railties#lib/rails/application.rb:143 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#367 + # pkg:gem/railties#lib/rails/application.rb:367 def runner(&blk); end # Returns the value of attribute sandbox. # - # source://railties//lib/rails/application.rb#98 + # pkg:gem/railties#lib/rails/application.rb:98 def sandbox; end # Sets the attribute sandbox # # @param value the value to set the attribute sandbox to. # - # source://railties//lib/rails/application.rb#98 + # pkg:gem/railties#lib/rails/application.rb:98 def sandbox=(_arg0); end # Returns the value of attribute sandbox. # - # source://railties//lib/rails/application.rb#99 + # pkg:gem/railties#lib/rails/application.rb:99 def sandbox?; end # The secret_key_base is used as the input secret to the application's key generator, which in turn @@ -560,68 +560,68 @@ class Rails::Application < ::Rails::Engine # # Dockerfile example: RUN SECRET_KEY_BASE_DUMMY=1 bundle exec rails assets:precompile. # - # source://railties//lib/rails/application.rb#479 + # pkg:gem/railties#lib/rails/application.rb:479 def secret_key_base; 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#385 + # pkg:gem/railties#lib/rails/application.rb:385 def server(&blk); end - # source://railties//lib/rails/application.rb#525 + # pkg:gem/railties#lib/rails/application.rb:525 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#428 + # pkg:gem/railties#lib/rails/application.rb:428 def watchable_args; end protected - # source://railties//lib/rails/application.rb#628 + # pkg:gem/railties#lib/rails/application.rb:628 def default_middleware_stack; end - # source://railties//lib/rails/application.rb#633 + # pkg:gem/railties#lib/rails/application.rb:633 def ensure_generator_templates_added; end # Returns the ordered railties for this application considering railties_order. # - # source://railties//lib/rails/application.rb#594 + # pkg:gem/railties#lib/rails/application.rb:594 def ordered_railties; end - # source://railties//lib/rails/application.rb#616 + # pkg:gem/railties#lib/rails/application.rb:616 def railties_initializers(current); end - # source://railties//lib/rails/application.rb#583 + # pkg:gem/railties#lib/rails/application.rb:583 def run_console_blocks(app); end - # source://railties//lib/rails/application.rb#573 + # pkg:gem/railties#lib/rails/application.rb:573 def run_generators_blocks(app); end - # source://railties//lib/rails/application.rb#578 + # pkg:gem/railties#lib/rails/application.rb:578 def run_runner_blocks(app); end - # source://railties//lib/rails/application.rb#588 + # pkg:gem/railties#lib/rails/application.rb:588 def run_server_blocks(app); end - # source://railties//lib/rails/application.rb#562 + # pkg:gem/railties#lib/rails/application.rb:562 def run_tasks_blocks(app); end private - # source://railties//lib/rails/application.rb#646 + # pkg:gem/railties#lib/rails/application.rb:646 def build_middleware; end - # source://railties//lib/rails/application.rb#639 + # pkg:gem/railties#lib/rails/application.rb:639 def build_request(env); end - # source://railties//lib/rails/application.rb#650 + # pkg:gem/railties#lib/rails/application.rb:650 def coerce_same_site_protection(protection); end - # source://railties//lib/rails/application.rb#654 + # pkg:gem/railties#lib/rails/application.rb:654 def filter_parameters; end class << self @@ -639,418 +639,418 @@ 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#409 + # pkg:gem/railties#lib/rails/application.rb:409 def add_lib_to_load_path!(root); end - # source://railties//lib/rails/application.rb#82 + # pkg:gem/railties#lib/rails/application.rb:82 def create(initial_variable_values = T.unsafe(nil), &block); end - # source://railties//lib/rails/application.rb#86 + # pkg:gem/railties#lib/rails/application.rb:86 def find_root(from); end # @private # - # source://railties//lib/rails/application.rb#69 + # pkg:gem/railties#lib/rails/application.rb:69 def inherited(base); end - # source://railties//lib/rails/application.rb#78 + # pkg:gem/railties#lib/rails/application.rb:78 def instance; end - # source://railties//lib/rails/application.rb#95 + # pkg:gem/railties#lib/rails/application.rb:95 def new(*_arg0); end end end -# source://railties//lib/rails/application/bootstrap.rb#10 +# pkg:gem/railties#lib/rails/application/bootstrap.rb:10 module Rails::Application::Bootstrap include ::Rails::Initializable extend ::Rails::Initializable::ClassMethods end -# source://railties//lib/rails/application/configuration.rb#13 +# pkg:gem/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#31 + # pkg:gem/railties#lib/rails/application/configuration.rb:31 def initialize(*_arg0); end # Returns the value of attribute add_autoload_paths_to_load_path. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def allow_concurrency=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#585 + # pkg:gem/railties#lib/rails/application/configuration.rb:585 def annotations; end # Returns the value of attribute api_only. # - # source://railties//lib/rails/application/configuration.rb#29 + # pkg:gem/railties#lib/rails/application/configuration.rb:29 def api_only; end - # source://railties//lib/rails/application/configuration.rb#398 + # pkg:gem/railties#lib/rails/application/configuration.rb:398 def api_only=(value); end # Returns the value of attribute asset_host. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def autoflush_log=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#493 + # pkg:gem/railties#lib/rails/application/configuration.rb:493 def autoload_lib(ignore:); end - # source://railties//lib/rails/application/configuration.rb#505 + # pkg:gem/railties#lib/rails/application/configuration.rb:505 def autoload_lib_once(ignore:); end # Returns the value of attribute beginning_of_week. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def beginning_of_week=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#410 + # pkg:gem/railties#lib/rails/application/configuration.rb:410 def broadcast_log_level; end # Returns the value of attribute cache_classes. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def cache_store=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#517 + # pkg:gem/railties#lib/rails/application/configuration.rb:517 def colorize_logging; end - # source://railties//lib/rails/application/configuration.rb#521 + # pkg:gem/railties#lib/rails/application/configuration.rb:521 def colorize_logging=(val); end # Returns the value of attribute consider_all_requests_local. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def console=(_arg0); end # Configures the ActionDispatch::ContentSecurityPolicy. # - # source://railties//lib/rails/application/configuration.rb#590 + # pkg:gem/railties#lib/rails/application/configuration.rb:590 def content_security_policy(&block); end # Returns the value of attribute content_security_policy_nonce_auto. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def content_security_policy_nonce_auto; end # Sets the attribute content_security_policy_nonce_auto # # @param value the value to set the attribute content_security_policy_nonce_auto to. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def content_security_policy_nonce_auto=(_arg0); end # Returns the value of attribute content_security_policy_nonce_directives. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#456 + # pkg:gem/railties#lib/rails/application/configuration.rb:456 def database_configuration; end - # source://railties//lib/rails/application/configuration.rb#412 + # pkg:gem/railties#lib/rails/application/configuration.rb:412 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#416 + # pkg:gem/railties#lib/rails/application/configuration.rb:416 def debug_exception_response_format=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#607 + # pkg:gem/railties#lib/rails/application/configuration.rb:607 def default_log_file; end # Returns the value of attribute disable_sandbox. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def eager_load=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#382 + # pkg:gem/railties#lib/rails/application/configuration.rb:382 def enable_reloading; end - # source://railties//lib/rails/application/configuration.rb#386 + # pkg:gem/railties#lib/rails/application/configuration.rb:386 def enable_reloading=(value); end # Returns the value of attribute encoding. # - # source://railties//lib/rails/application/configuration.rb#29 + # pkg:gem/railties#lib/rails/application/configuration.rb:29 def encoding; end - # source://railties//lib/rails/application/configuration.rb#390 + # pkg:gem/railties#lib/rails/application/configuration.rb:390 def encoding=(value); end # Returns the value of attribute exceptions_app. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def hosts=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#619 + # pkg:gem/railties#lib/rails/application/configuration.rb:619 def inspect; end # Load the config/database.yml to create the Rake tasks for @@ -1059,7 +1059,7 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration # # Do not use this method, use #database_configuration instead. # - # source://railties//lib/rails/application/configuration.rb#438 + # pkg:gem/railties#lib/rails/application/configuration.rb:438 def load_database_yaml; end # Loads default configuration values for a target version. This includes @@ -1067,207 +1067,207 @@ 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#94 + # pkg:gem/railties#lib/rails/application/configuration.rb:94 def load_defaults(target_version); end # Returns the value of attribute loaded_config_version. # - # source://railties//lib/rails/application/configuration.rb#29 + # pkg:gem/railties#lib/rails/application/configuration.rb:29 def loaded_config_version; end # Returns the value of attribute log_file_size. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#29 + # pkg:gem/railties#lib/rails/application/configuration.rb:29 def log_level; end - # source://railties//lib/rails/application/configuration.rb#405 + # pkg:gem/railties#lib/rails/application/configuration.rb:405 def log_level=(level); end # Returns the value of attribute log_tags. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def logger=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#418 + # pkg:gem/railties#lib/rails/application/configuration.rb:418 def paths; end # Configures the ActionDispatch::PermissionsPolicy. # - # source://railties//lib/rails/application/configuration.rb#599 + # pkg:gem/railties#lib/rails/application/configuration.rb:599 def permissions_policy(&block); end # Returns the value of attribute precompile_filter_parameters. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def rake_eager_load=(_arg0); end # Returns the value of attribute relative_url_root. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def reload_classes_only_on_change=(_arg0); end # @return [Boolean] # - # source://railties//lib/rails/application/configuration.rb#378 + # pkg:gem/railties#lib/rails/application/configuration.rb:378 def reloading_enabled?; end # Returns the value of attribute require_master_key. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def sandbox_by_default=(_arg0); end - # source://railties//lib/rails/application/configuration.rb#526 + # pkg:gem/railties#lib/rails/application/configuration.rb:526 def secret_key_base; end - # source://railties//lib/rails/application/configuration.rb#538 + # pkg:gem/railties#lib/rails/application/configuration.rb:538 def secret_key_base=(new_secret_key_base); end # Returns the value of attribute server_timing. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def session_options=(_arg0); end # Specifies what class to use to store the session. Possible values @@ -1286,170 +1286,170 @@ 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#565 + # pkg:gem/railties#lib/rails/application/configuration.rb:565 def session_store(new_session_store = T.unsafe(nil), **options); end # @return [Boolean] # - # source://railties//lib/rails/application/configuration.rb#581 + # pkg:gem/railties#lib/rails/application/configuration.rb:581 def session_store?; end # Returns the value of attribute silence_healthcheck_path. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def silence_healthcheck_path; end # Sets the attribute silence_healthcheck_path # # @param value the value to set the attribute silence_healthcheck_path to. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def silence_healthcheck_path=(_arg0); end # Returns the value of attribute ssl_options. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def x=(_arg0); end # Returns the value of attribute yjit. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def yjit; end # Sets the attribute yjit # # @param value the value to set the attribute yjit to. # - # source://railties//lib/rails/application/configuration.rb#14 + # pkg:gem/railties#lib/rails/application/configuration.rb:14 def yjit=(_arg0); end private - # source://railties//lib/rails/application/configuration.rb#646 + # pkg:gem/railties#lib/rails/application/configuration.rb:646 def credentials_defaults; end - # source://railties//lib/rails/application/configuration.rb#656 + # pkg:gem/railties#lib/rails/application/configuration.rb:656 def generate_local_secret; end end -# source://railties//lib/rails/application/configuration.rb#623 +# pkg:gem/railties#lib/rails/application/configuration.rb:623 class Rails::Application::Configuration::Custom # @return [Custom] a new instance of Custom # - # source://railties//lib/rails/application/configuration.rb#624 + # pkg:gem/railties#lib/rails/application/configuration.rb:624 def initialize; end - # source://railties//lib/rails/application/configuration.rb#628 + # pkg:gem/railties#lib/rails/application/configuration.rb:628 def method_missing(method, *args); end private # @return [Boolean] # - # source://railties//lib/rails/application/configuration.rb#640 + # pkg:gem/railties#lib/rails/application/configuration.rb:640 def respond_to_missing?(symbol, _); end end -# source://railties//lib/rails/application/default_middleware_stack.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/default_middleware_stack.rb:6 def app; end - # source://railties//lib/rails/application/default_middleware_stack.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/application/default_middleware_stack.rb:6 def paths; end private - # source://railties//lib/rails/application/default_middleware_stack.rb#113 + # pkg:gem/railties#lib/rails/application/default_middleware_stack.rb:113 def load_rack_cache; end - # source://railties//lib/rails/application/default_middleware_stack.rb#135 + # pkg:gem/railties#lib/rails/application/default_middleware_stack.rb:135 def show_exceptions_app; end end -# source://railties//lib/rails/application/finisher.rb#10 +# pkg:gem/railties#lib/rails/application/finisher.rb:10 module Rails::Application::Finisher include ::Rails::Initializable extend ::Rails::Initializable::ClassMethods end -# source://railties//lib/rails/application/finisher.rb#110 +# pkg:gem/railties#lib/rails/application/finisher.rb:110 module Rails::Application::Finisher::InterlockHook class << self - # source://railties//lib/rails/application/finisher.rb#115 + # pkg:gem/railties#lib/rails/application/finisher.rb:115 def complete(_state); end - # source://railties//lib/rails/application/finisher.rb#111 + # pkg:gem/railties#lib/rails/application/finisher.rb:111 def run; end end end -# source://railties//lib/rails/application/finisher.rb#96 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/application/finisher.rb:97 def initialize(monitor = T.unsafe(nil)); end - # source://railties//lib/rails/application/finisher.rb#105 + # pkg:gem/railties#lib/rails/application/finisher.rb:105 def complete(_state); end - # source://railties//lib/rails/application/finisher.rb#101 + # pkg:gem/railties#lib/rails/application/finisher.rb:101 def run; end end -# source://railties//lib/rails/application.rb#104 +# pkg:gem/railties#lib/rails/application.rb:104 Rails::Application::INITIAL_VARIABLES = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/application/routes_reloader.rb#6 +# pkg:gem/railties#lib/rails/application/routes_reloader.rb:6 class Rails::Application::RoutesReloader include ::ActiveSupport::Callbacks extend ::ActiveSupport::Callbacks::ClassMethods @@ -1457,236 +1457,236 @@ class Rails::Application::RoutesReloader # @return [RoutesReloader] a new instance of RoutesReloader # - # source://railties//lib/rails/application/routes_reloader.rb#14 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:14 def initialize; end - # source://railties//lib/rails/application/routes_reloader.rb#7 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:7 def __callbacks; end # Returns the value of attribute eager_load. # - # source://railties//lib/rails/application/routes_reloader.rb#10 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:10 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#10 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:10 def eager_load=(_arg0); end - # source://railties//lib/rails/application/routes_reloader.rb#31 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:31 def execute; end - # source://railties//lib/rails/application/routes_reloader.rb#12 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:12 def execute_if_updated(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/application/routes_reloader.rb#36 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:36 def execute_unless_loaded; end # Returns the value of attribute external_routes. # - # source://railties//lib/rails/application/routes_reloader.rb#9 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:9 def external_routes; end # Returns the value of attribute loaded. # - # source://railties//lib/rails/application/routes_reloader.rb#9 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:9 def loaded; end - # source://railties//lib/rails/application/routes_reloader.rb#11 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:11 def loaded=(_arg0); end # Returns the value of attribute paths. # - # source://railties//lib/rails/application/routes_reloader.rb#9 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:9 def paths; end - # source://railties//lib/rails/application/routes_reloader.rb#22 + # pkg:gem/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#9 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:9 def route_sets; end - # source://railties//lib/rails/application/routes_reloader.rb#11 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:11 def run_after_load_paths=(_arg0); end - # source://railties//lib/rails/application/routes_reloader.rb#12 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:12 def updated?(*_arg0, **_arg1, &_arg2); end private - # source://railties//lib/rails/application/routes_reloader.rb#55 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:55 def clear!; end - # source://railties//lib/rails/application/routes_reloader.rb#71 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:71 def finalize!; end - # source://railties//lib/rails/application/routes_reloader.rb#62 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:62 def load_paths; end - # source://railties//lib/rails/application/routes_reloader.rb#75 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:75 def revert; end - # source://railties//lib/rails/application/routes_reloader.rb#67 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:67 def run_after_load_paths; end - # source://railties//lib/rails/application/routes_reloader.rb#45 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:45 def updater; end class << self - # source://railties//lib/rails/application/routes_reloader.rb#7 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:7 def __callbacks; end - # source://railties//lib/rails/application/routes_reloader.rb#7 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:7 def __callbacks=(value); end private - # source://railties//lib/rails/application/routes_reloader.rb#7 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:7 def __class_attr___callbacks; end - # source://railties//lib/rails/application/routes_reloader.rb#7 + # pkg:gem/railties#lib/rails/application/routes_reloader.rb:7 def __class_attr___callbacks=(new_value); end end end -# source://railties//lib/rails/application_controller.rb#5 +# pkg:gem/railties#lib/rails/application_controller.rb:5 class Rails::ApplicationController < ::ActionController::Base private - # source://railties//lib/rails/application_controller.rb#5 + # pkg:gem/railties#lib/rails/application_controller.rb:5 def _layout(lookup_context, formats, keys); end - # source://railties//lib/rails/application_controller.rb#27 + # pkg:gem/railties#lib/rails/application_controller.rb:27 def disable_content_security_policy_nonce!; end # @return [Boolean] # - # source://railties//lib/rails/application_controller.rb#23 + # pkg:gem/railties#lib/rails/application_controller.rb:23 def local_request?; end - # source://railties//lib/rails/application_controller.rb#17 + # pkg:gem/railties#lib/rails/application_controller.rb:17 def require_local!; end class << self private - # source://railties//lib/rails/application_controller.rb#9 + # pkg:gem/railties#lib/rails/application_controller.rb:9 def __class_attr___callbacks; end - # source://railties//lib/rails/application_controller.rb#9 + # pkg:gem/railties#lib/rails/application_controller.rb:9 def __class_attr___callbacks=(new_value); end - # source://railties//lib/rails/application_controller.rb#7 + # pkg:gem/railties#lib/rails/application_controller.rb:7 def __class_attr__layout; end - # source://railties//lib/rails/application_controller.rb#7 + # pkg:gem/railties#lib/rails/application_controller.rb:7 def __class_attr__layout=(new_value); end - # source://railties//lib/rails/application_controller.rb#7 + # pkg:gem/railties#lib/rails/application_controller.rb:7 def __class_attr__layout_conditions; end - # source://railties//lib/rails/application_controller.rb#7 + # pkg:gem/railties#lib/rails/application_controller.rb:7 def __class_attr__layout_conditions=(new_value); end - # source://railties//lib/rails/application_controller.rb#5 + # pkg:gem/railties#lib/rails/application_controller.rb:5 def __class_attr_config; end - # source://railties//lib/rails/application_controller.rb#5 + # pkg:gem/railties#lib/rails/application_controller.rb:5 def __class_attr_config=(new_value); end - # source://railties//lib/rails/application_controller.rb#5 + # pkg:gem/railties#lib/rails/application_controller.rb:5 def __class_attr_middleware_stack; end - # source://railties//lib/rails/application_controller.rb#5 + # pkg:gem/railties#lib/rails/application_controller.rb:5 def __class_attr_middleware_stack=(new_value); end end end -# source://railties//lib/rails/autoloaders.rb#4 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/autoloaders.rb:11 def initialize; end # @yield [main] # - # source://railties//lib/rails/autoloaders.rb#31 + # pkg:gem/railties#lib/rails/autoloaders.rb:31 def each; end - # source://railties//lib/rails/autoloaders.rb#40 + # pkg:gem/railties#lib/rails/autoloaders.rb:40 def log!; end - # source://railties//lib/rails/autoloaders.rb#36 + # pkg:gem/railties#lib/rails/autoloaders.rb:36 def logger=(logger); end # Returns the value of attribute main. # - # source://railties//lib/rails/autoloaders.rb#9 + # pkg:gem/railties#lib/rails/autoloaders.rb:9 def main; end # Returns the value of attribute once. # - # source://railties//lib/rails/autoloaders.rb#9 + # pkg:gem/railties#lib/rails/autoloaders.rb:9 def once; end # @return [Boolean] # - # source://railties//lib/rails/autoloaders.rb#44 + # pkg:gem/railties#lib/rails/autoloaders.rb:44 def zeitwerk_enabled?; end end -# source://railties//lib/rails/autoloaders/inflector.rb#7 +# pkg:gem/railties#lib/rails/autoloaders/inflector.rb:7 module Rails::Autoloaders::Inflector class << self - # source://railties//lib/rails/autoloaders/inflector.rb#12 + # pkg:gem/railties#lib/rails/autoloaders/inflector.rb:12 def camelize(basename, _abspath); end - # source://railties//lib/rails/autoloaders/inflector.rb#16 + # pkg:gem/railties#lib/rails/autoloaders/inflector.rb:16 def inflect(overrides); end end end -# source://railties//lib/rails/backtrace_cleaner.rb#7 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/backtrace_cleaner.rb:11 def initialize; end - # source://railties//lib/rails/backtrace_cleaner.rb#29 + # pkg:gem/railties#lib/rails/backtrace_cleaner.rb:29 def clean(backtrace, kind = T.unsafe(nil)); end - # source://railties//lib/rails/backtrace_cleaner.rb#36 + # pkg:gem/railties#lib/rails/backtrace_cleaner.rb:36 def clean_frame(frame, kind = T.unsafe(nil)); end - # source://railties//lib/rails/backtrace_cleaner.rb#34 + # pkg:gem/railties#lib/rails/backtrace_cleaner.rb:34 def filter(backtrace, kind = T.unsafe(nil)); end end -# source://railties//lib/rails/backtrace_cleaner.rb#8 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#110 + # pkg:gem/railties#lib/rails/command.rb:110 def application_root; end - # source://railties//lib/rails/command.rb#51 + # pkg:gem/railties#lib/rails/command.rb:51 def environment; end # Rails finds namespaces similar to Thor, it only adds one rule: @@ -1700,118 +1700,118 @@ module Rails::Command # # "webrat", "webrat:integration", "rails:webrat", "rails:webrat:integration" # - # source://railties//lib/rails/command.rb#90 + # pkg:gem/railties#lib/rails/command.rb:90 def find_by_namespace(namespace, command_name = T.unsafe(nil)); end - # source://railties//lib/rails/command.rb#47 + # pkg:gem/railties#lib/rails/command.rb:47 def hidden_commands; end # Receives a namespace, arguments, and the behavior to invoke the command. # - # source://railties//lib/rails/command.rb#56 + # pkg:gem/railties#lib/rails/command.rb:56 def invoke(full_namespace, args = T.unsafe(nil), **config); end - # source://railties//lib/rails/command.rb#114 + # pkg:gem/railties#lib/rails/command.rb:114 def printing_commands; end # Returns the root of the \Rails engine or app running the command. # - # source://railties//lib/rails/command.rb#102 + # pkg:gem/railties#lib/rails/command.rb:102 def root; end private - # source://railties//lib/rails/command.rb#153 + # pkg:gem/railties#lib/rails/command.rb:153 def command_type; end - # source://railties//lib/rails/command.rb#161 + # pkg:gem/railties#lib/rails/command.rb:161 def file_lookup_paths; end - # source://railties//lib/rails/command.rb#148 + # pkg:gem/railties#lib/rails/command.rb:148 def invoke_rake(task, args, config); end - # source://railties//lib/rails/command.rb#157 + # pkg:gem/railties#lib/rails/command.rb:157 def lookup_paths; end # @return [Boolean] # - # source://railties//lib/rails/command.rb#121 + # pkg:gem/railties#lib/rails/command.rb:121 def rails_new_with_no_path?(args); end - # source://railties//lib/rails/command.rb#125 + # pkg:gem/railties#lib/rails/command.rb:125 def split_namespace(namespace); end - # source://railties//lib/rails/command.rb#140 + # pkg:gem/railties#lib/rails/command.rb:140 def with_argv(argv); end end end -# source://railties//lib/rails/command/actions.rb#5 +# pkg:gem/railties#lib/rails/command/actions.rb:5 module Rails::Command::Actions - # source://railties//lib/rails/command/actions.rb#18 + # pkg:gem/railties#lib/rails/command/actions.rb:18 def boot_application!; end - # source://railties//lib/rails/command/actions.rb#23 + # pkg:gem/railties#lib/rails/command/actions.rb:23 def load_environment_config!; end - # source://railties//lib/rails/command/actions.rb#46 + # pkg:gem/railties#lib/rails/command/actions.rb:46 def load_generators; end - # source://railties//lib/rails/command/actions.rb#42 + # pkg:gem/railties#lib/rails/command/actions.rb:42 def load_tasks; end - # source://railties//lib/rails/command/actions.rb#13 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/command/actions.rb:9 def set_application_directory!; end end -# source://railties//lib/rails/command/base.rb#12 +# pkg:gem/railties#lib/rails/command/base.rb:12 class Rails::Command::Base < ::Thor include ::Rails::Command::Actions - # source://railties//lib/rails/command/base.rb#171 + # pkg:gem/railties#lib/rails/command/base.rb:171 def current_subcommand; end - # source://railties//lib/rails/command/base.rb#170 + # pkg:gem/railties#lib/rails/command/base.rb:170 def executable(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/command/base.rb#173 + # pkg:gem/railties#lib/rails/command/base.rb:173 def invoke_command(command, *_arg1); end class << self - # source://railties//lib/rails/command/base.rb#84 + # pkg:gem/railties#lib/rails/command/base.rb:84 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#104 + # pkg:gem/railties#lib/rails/command/base.rb:104 def base_name; end - # source://railties//lib/rails/command/base.rb#18 + # pkg:gem/railties#lib/rails/command/base.rb:18 def bin; end - # source://railties//lib/rails/command/base.rb#18 + # pkg:gem/railties#lib/rails/command/base.rb:18 def bin=(value); end - # source://railties//lib/rails/command/base.rb#18 + # pkg:gem/railties#lib/rails/command/base.rb:18 def bin?; end - # source://railties//lib/rails/command/base.rb#120 + # pkg:gem/railties#lib/rails/command/base.rb:120 def class_usage; end # Return command name without namespaces. # # Rails::Command::TestCommand.command_name # => 'test' # - # source://railties//lib/rails/command/base.rb#113 + # pkg:gem/railties#lib/rails/command/base.rb:113 def command_name; end # Default file root to place extra files a command might need, placed @@ -1820,255 +1820,255 @@ 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#137 + # pkg:gem/railties#lib/rails/command/base.rb:137 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#32 + # pkg:gem/railties#lib/rails/command/base.rb:32 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#26 + # pkg:gem/railties#lib/rails/command/base.rb:26 def engine?; end - # source://railties//lib/rails/command/base.rb#80 + # pkg:gem/railties#lib/rails/command/base.rb:80 def executable(command_name = T.unsafe(nil)); end # @return [Boolean] # - # source://railties//lib/rails/command/base.rb#21 + # pkg:gem/railties#lib/rails/command/base.rb:21 def exit_on_failure?; end # Override Thor's class-level help to also show the USAGE. # - # source://railties//lib/rails/command/base.rb#96 + # pkg:gem/railties#lib/rails/command/base.rb:96 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#53 + # pkg:gem/railties#lib/rails/command/base.rb:53 def hide_command!; end - # source://railties//lib/rails/command/base.rb#57 + # pkg:gem/railties#lib/rails/command/base.rb:57 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#43 + # pkg:gem/railties#lib/rails/command/base.rb:43 def namespace(name = T.unsafe(nil)); end - # source://railties//lib/rails/command/base.rb#65 + # pkg:gem/railties#lib/rails/command/base.rb:65 def perform(command, args, config); end - # source://railties//lib/rails/command/base.rb#74 + # pkg:gem/railties#lib/rails/command/base.rb:74 def printing_commands; end # Path to lookup a USAGE description in a file. # - # source://railties//lib/rails/command/base.rb#127 + # pkg:gem/railties#lib/rails/command/base.rb:127 def usage_path; end private - # source://railties//lib/rails/command/base.rb#18 + # pkg:gem/railties#lib/rails/command/base.rb:18 def __class_attr_bin; end - # source://railties//lib/rails/command/base.rb#18 + # pkg:gem/railties#lib/rails/command/base.rb:18 def __class_attr_bin=(new_value); end # Allow the command method to be called perform. # - # source://railties//lib/rails/command/base.rb#144 + # pkg:gem/railties#lib/rails/command/base.rb:144 def create_command(meth); end - # source://railties//lib/rails/command/base.rb#157 + # pkg:gem/railties#lib/rails/command/base.rb:157 def namespaced_name(name); end - # source://railties//lib/rails/command/base.rb#162 + # pkg:gem/railties#lib/rails/command/base.rb:162 def resolve_path(path); end end end -# source://railties//lib/rails/command/base.rb#13 +# pkg:gem/railties#lib/rails/command/base.rb:13 class Rails::Command::Base::Error < ::Thor::Error; end -# source://railties//lib/rails/command/behavior.rb#7 +# pkg:gem/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#10 +# pkg:gem/railties#lib/rails/command/behavior.rb:10 module Rails::Command::Behavior::ClassMethods - # source://railties//lib/rails/command/behavior.rb#12 + # pkg:gem/railties#lib/rails/command/behavior.rb:12 def no_color!; end - # source://railties//lib/rails/command/behavior.rb#17 + # pkg:gem/railties#lib/rails/command/behavior.rb:17 def subclasses; end private - # source://railties//lib/rails/command/behavior.rb#36 + # pkg:gem/railties#lib/rails/command/behavior.rb:36 def lookup(namespaces); end - # source://railties//lib/rails/command/behavior.rb#56 + # pkg:gem/railties#lib/rails/command/behavior.rb:56 def lookup!; end - # source://railties//lib/rails/command/behavior.rb#70 + # pkg:gem/railties#lib/rails/command/behavior.rb:70 def namespaces_to_paths(namespaces); end - # source://railties//lib/rails/command/behavior.rb#23 + # pkg:gem/railties#lib/rails/command/behavior.rb:23 def print_list(base, namespaces); end end -# source://railties//lib/rails/command.rb#17 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/command.rb:20 def initialize(message, name, alternatives); end - # source://railties//lib/rails/command.rb#29 + # pkg:gem/railties#lib/rails/command.rb:29 def corrections; end # Returns the value of attribute name. # - # source://railties//lib/rails/command.rb#18 + # pkg:gem/railties#lib/rails/command.rb:18 def name; end end -# source://railties//lib/rails/command.rb#43 +# pkg:gem/railties#lib/rails/command.rb:43 Rails::Command::HELP_MAPPINGS = T.let(T.unsafe(nil), Set) -# source://railties//lib/rails/command.rb#35 +# pkg:gem/railties#lib/rails/command.rb:35 class Rails::Command::UnrecognizedCommandError < ::Rails::Command::CorrectableNameError # @return [UnrecognizedCommandError] a new instance of UnrecognizedCommandError # - # source://railties//lib/rails/command.rb#36 + # pkg:gem/railties#lib/rails/command.rb:36 def initialize(name); end end -# source://railties//lib/rails/command.rb#44 +# pkg:gem/railties#lib/rails/command.rb:44 Rails::Command::VERSION_MAPPINGS = T.let(T.unsafe(nil), Set) -# source://railties//lib/rails/configuration.rb#9 +# pkg:gem/railties#lib/rails/configuration.rb:9 module Rails::Configuration; end -# source://railties//lib/rails/configuration.rb#104 +# pkg:gem/railties#lib/rails/configuration.rb:104 class Rails::Configuration::Generators # @return [Generators] a new instance of Generators # - # source://railties//lib/rails/configuration.rb#108 + # pkg:gem/railties#lib/rails/configuration.rb:108 def initialize; end - # source://railties//lib/rails/configuration.rb#130 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:106 def after_generate_callbacks; end # Returns the value of attribute aliases. # - # source://railties//lib/rails/configuration.rb#105 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:105 def aliases=(_arg0); end # Returns the value of attribute api_only. # - # source://railties//lib/rails/configuration.rb#105 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:105 def api_only=(_arg0); end - # source://railties//lib/rails/configuration.rb#134 + # pkg:gem/railties#lib/rails/configuration.rb:134 def apply_rubocop_autocorrect_after_generate!; end # Returns the value of attribute colorize_logging. # - # source://railties//lib/rails/configuration.rb#105 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:105 def colorize_logging=(_arg0); end # Returns the value of attribute fallbacks. # - # source://railties//lib/rails/configuration.rb#105 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:105 def fallbacks=(_arg0); end # Returns the value of attribute hidden_namespaces. # - # source://railties//lib/rails/configuration.rb#106 + # pkg:gem/railties#lib/rails/configuration.rb:106 def hidden_namespaces; end - # source://railties//lib/rails/configuration.rb#126 + # pkg:gem/railties#lib/rails/configuration.rb:126 def hide_namespace(namespace); end - # source://railties//lib/rails/configuration.rb#143 + # pkg:gem/railties#lib/rails/configuration.rb:143 def method_missing(method, *args); end # Returns the value of attribute options. # - # source://railties//lib/rails/configuration.rb#105 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:105 def options=(_arg0); end # Returns the value of attribute templates. # - # source://railties//lib/rails/configuration.rb#105 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:105 def templates=(_arg0); end private - # source://railties//lib/rails/configuration.rb#119 + # pkg:gem/railties#lib/rails/configuration.rb:119 def initialize_copy(source); end end @@ -2108,59 +2108,59 @@ end # # config.middleware.delete ActionDispatch::Flash # -# source://railties//lib/rails/configuration.rb#46 +# pkg:gem/railties#lib/rails/configuration.rb:46 class Rails::Configuration::MiddlewareStackProxy # @return [MiddlewareStackProxy] a new instance of MiddlewareStackProxy # - # source://railties//lib/rails/configuration.rb#47 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:96 def +(other); end - # source://railties//lib/rails/configuration.rb#70 + # pkg:gem/railties#lib/rails/configuration.rb:70 def delete(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#56 + # pkg:gem/railties#lib/rails/configuration.rb:56 def insert(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#58 + # pkg:gem/railties#lib/rails/configuration.rb:58 def insert_after(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#52 + # pkg:gem/railties#lib/rails/configuration.rb:52 def insert_before(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#88 + # pkg:gem/railties#lib/rails/configuration.rb:88 def merge_into(other); end - # source://railties//lib/rails/configuration.rb#78 + # pkg:gem/railties#lib/rails/configuration.rb:78 def move(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#80 + # pkg:gem/railties#lib/rails/configuration.rb:80 def move_after(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#74 + # pkg:gem/railties#lib/rails/configuration.rb:74 def move_before(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#62 + # pkg:gem/railties#lib/rails/configuration.rb:62 def swap(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#84 + # pkg:gem/railties#lib/rails/configuration.rb:84 def unshift(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/configuration.rb#66 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/configuration.rb:101 def delete_operations; end # Returns the value of attribute operations. # - # source://railties//lib/rails/configuration.rb#101 + # pkg:gem/railties#lib/rails/configuration.rb:101 def operations; end end @@ -2503,89 +2503,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 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/engine.rb:439 def initialize; end - # source://railties//lib/rails/engine.rb#433 + # pkg:gem/railties#lib/rails/engine.rb:433 def __callbacks; end - # source://railties//lib/rails/engine.rb#434 + # pkg:gem/railties#lib/rails/engine.rb:434 def _load_seed_callbacks; end - # source://railties//lib/rails/engine.rb#434 + # pkg:gem/railties#lib/rails/engine.rb:434 def _run_load_seed_callbacks; end - # source://railties//lib/rails/engine.rb#434 + # pkg:gem/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#515 + # pkg:gem/railties#lib/rails/engine.rb:515 def app; end # Define the Rack API for this engine. # - # source://railties//lib/rails/engine.rb#532 + # pkg:gem/railties#lib/rails/engine.rb:532 def call(env); end # Define the configuration object for the engine. # - # source://railties//lib/rails/engine.rb#551 + # pkg:gem/railties#lib/rails/engine.rb:551 def config; end - # source://railties//lib/rails/engine.rb#489 + # pkg:gem/railties#lib/rails/engine.rb:489 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#527 + # pkg:gem/railties#lib/rails/engine.rb:527 def endpoint; end - # source://railties//lib/rails/engine.rb#437 + # pkg:gem/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#538 + # pkg:gem/railties#lib/rails/engine.rb:538 def env_config; end # Returns a module with all the helpers defined for the engine. # - # source://railties//lib/rails/engine.rb#499 + # pkg:gem/railties#lib/rails/engine.rb:499 def helpers; end # Returns all registered helpers paths. # - # source://railties//lib/rails/engine.rb#510 + # pkg:gem/railties#lib/rails/engine.rb:510 def helpers_paths; end - # source://railties//lib/rails/engine.rb#437 + # pkg:gem/railties#lib/rails/engine.rb:437 def isolated?(&_arg0); end # Load console and invoke the registered hooks. # Check Rails::Railtie.console for more info. # - # source://railties//lib/rails/engine.rb#453 + # pkg:gem/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#475 + # pkg:gem/railties#lib/rails/engine.rb:475 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#460 + # pkg:gem/railties#lib/rails/engine.rb:460 def load_runner(app = T.unsafe(nil)); end # Load data from db/seeds.rb file. It can be used in to load engines' @@ -2593,185 +2593,185 @@ class Rails::Engine < ::Rails::Railtie # # Blog::Engine.load_seed # - # source://railties//lib/rails/engine.rb#559 + # pkg:gem/railties#lib/rails/engine.rb:559 def load_seed; end # Invoke the server registered hooks. # Check Rails::Railtie.server for more info. # - # source://railties//lib/rails/engine.rb#484 + # pkg:gem/railties#lib/rails/engine.rb:484 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#467 + # pkg:gem/railties#lib/rails/engine.rb:467 def load_tasks(app = T.unsafe(nil)); end - # source://railties//lib/rails/engine.rb#436 + # pkg:gem/railties#lib/rails/engine.rb:436 def middleware(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/engine.rb#436 + # pkg:gem/railties#lib/rails/engine.rb:436 def paths(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/engine.rb#494 + # pkg:gem/railties#lib/rails/engine.rb:494 def railties; end - # source://railties//lib/rails/engine.rb#436 + # pkg:gem/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#544 + # pkg:gem/railties#lib/rails/engine.rb:544 def routes(&block); end # @return [Boolean] # - # source://railties//lib/rails/engine.rb#679 + # pkg:gem/railties#lib/rails/engine.rb:679 def routes?; end protected - # source://railties//lib/rails/engine.rb#684 + # pkg:gem/railties#lib/rails/engine.rb:684 def run_tasks_blocks(*_arg0); end private - # source://railties//lib/rails/engine.rb#716 + # pkg:gem/railties#lib/rails/engine.rb:716 def _all_autoload_once_paths; end - # source://railties//lib/rails/engine.rb#720 + # pkg:gem/railties#lib/rails/engine.rb:720 def _all_autoload_paths; end - # source://railties//lib/rails/engine.rb#729 + # pkg:gem/railties#lib/rails/engine.rb:729 def _all_load_paths(add_autoload_paths_to_load_path); end - # source://railties//lib/rails/engine.rb#754 + # pkg:gem/railties#lib/rails/engine.rb:754 def build_middleware; end - # source://railties//lib/rails/engine.rb#746 + # pkg:gem/railties#lib/rails/engine.rb:746 def build_request(env); end - # source://railties//lib/rails/engine.rb#712 + # pkg:gem/railties#lib/rails/engine.rb:712 def default_middleware_stack; end # @return [Boolean] # - # source://railties//lib/rails/engine.rb#740 + # pkg:gem/railties#lib/rails/engine.rb:740 def fixtures_in_root_and_not_in_vendor_or_dot_dir?(fixtures); end # @return [Boolean] # - # source://railties//lib/rails/engine.rb#696 + # pkg:gem/railties#lib/rails/engine.rb:696 def has_migrations?; end - # source://railties//lib/rails/engine.rb#690 + # pkg:gem/railties#lib/rails/engine.rb:690 def load_config_initializer(initializer); end class << self - # source://railties//lib/rails/engine.rb#433 + # pkg:gem/railties#lib/rails/engine.rb:433 def __callbacks; end - # source://railties//lib/rails/engine.rb#433 + # pkg:gem/railties#lib/rails/engine.rb:433 def __callbacks=(value); end - # source://railties//lib/rails/engine.rb#434 + # pkg:gem/railties#lib/rails/engine.rb:434 def _load_seed_callbacks; end - # source://railties//lib/rails/engine.rb#434 + # pkg:gem/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#353 + # pkg:gem/railties#lib/rails/engine.rb:353 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#353 + # pkg:gem/railties#lib/rails/engine.rb:353 def called_from=(_arg0); end - # source://railties//lib/rails/engine.rb#358 + # pkg:gem/railties#lib/rails/engine.rb:358 def eager_load!(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/engine.rb#378 + # pkg:gem/railties#lib/rails/engine.rb:378 def endpoint(endpoint = T.unsafe(nil)); end - # source://railties//lib/rails/engine.rb#356 + # pkg:gem/railties#lib/rails/engine.rb:356 def engine_name(name = T.unsafe(nil)); end # Finds engine with given path. # - # source://railties//lib/rails/engine.rb#423 + # pkg:gem/railties#lib/rails/engine.rb:423 def find(path); end - # source://railties//lib/rails/engine.rb#374 + # pkg:gem/railties#lib/rails/engine.rb:374 def find_root(from); end - # source://railties//lib/rails/engine.rb#700 + # pkg:gem/railties#lib/rails/engine.rb:700 def find_root_with_flag(flag, root_path, default = T.unsafe(nil)); end # @private # - # source://railties//lib/rails/engine.rb#360 + # pkg:gem/railties#lib/rails/engine.rb:360 def inherited(base); end - # source://railties//lib/rails/engine.rb#384 + # pkg:gem/railties#lib/rails/engine.rb:384 def isolate_namespace(mod); end # Returns the value of attribute isolated. # - # source://railties//lib/rails/engine.rb#353 + # pkg:gem/railties#lib/rails/engine.rb:353 def isolated; end # Sets the attribute isolated # # @param value the value to set the attribute isolated to. # - # source://railties//lib/rails/engine.rb#353 + # pkg:gem/railties#lib/rails/engine.rb:353 def isolated=(_arg0); end # Returns the value of attribute isolated. # - # source://railties//lib/rails/engine.rb#355 + # pkg:gem/railties#lib/rails/engine.rb:355 def isolated?; end private - # source://railties//lib/rails/engine.rb#433 + # pkg:gem/railties#lib/rails/engine.rb:433 def __class_attr___callbacks; end - # source://railties//lib/rails/engine.rb#433 + # pkg:gem/railties#lib/rails/engine.rb:433 def __class_attr___callbacks=(new_value); end end end -# source://railties//lib/rails/engine/configuration.rb#7 +# pkg:gem/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 + # pkg:gem/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#127 + # pkg:gem/railties#lib/rails/engine/configuration.rb:127 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#121 + # pkg:gem/railties#lib/rails/engine/configuration.rb:121 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#133 + # pkg:gem/railties#lib/rails/engine/configuration.rb:133 def all_eager_load_paths; end # An array of custom autoload once paths. These won't be eager loaded @@ -2782,14 +2782,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 + # pkg:gem/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 + # pkg:gem/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 @@ -2801,26 +2801,26 @@ 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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/engine/configuration.rb:10 def autoload_paths=(_arg0); end # Returns the value of attribute default_scope. # - # source://railties//lib/rails/engine/configuration.rb#9 + # pkg:gem/railties#lib/rails/engine/configuration.rb:9 def default_scope; end # Sets the attribute default_scope # # @param value the value to set the attribute default_scope to. # - # source://railties//lib/rails/engine/configuration.rb#9 + # pkg:gem/railties#lib/rails/engine/configuration.rb:9 def default_scope=(_arg0); end # An array of custom eager load paths to be added to the ones defined @@ -2832,14 +2832,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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/engine/configuration.rb:10 def eager_load_paths=(_arg0); end # Holds generators configuration: @@ -2856,159 +2856,159 @@ class Rails::Engine::Configuration < ::Rails::Railtie::Configuration # # @yield [@generators] # - # source://railties//lib/rails/engine/configuration.rb#67 + # pkg:gem/railties#lib/rails/engine/configuration.rb:67 def generators; end # Returns the value of attribute javascript_path. # - # source://railties//lib/rails/engine/configuration.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/engine/configuration.rb:9 def middleware=(_arg0); end - # source://railties//lib/rails/engine/configuration.rb#73 + # pkg:gem/railties#lib/rails/engine/configuration.rb:73 def paths; end # Returns the value of attribute root. # - # source://railties//lib/rails/engine/configuration.rb#8 + # pkg:gem/railties#lib/rails/engine/configuration.rb:8 def root; end - # source://railties//lib/rails/engine/configuration.rb#115 + # pkg:gem/railties#lib/rails/engine/configuration.rb:115 def root=(value); end # Returns the value of attribute route_set_class. # - # source://railties//lib/rails/engine/configuration.rb#9 + # pkg:gem/railties#lib/rails/engine/configuration.rb:9 def route_set_class; end # Sets the attribute route_set_class # # @param value the value to set the attribute route_set_class to. # - # source://railties//lib/rails/engine/configuration.rb#9 + # pkg:gem/railties#lib/rails/engine/configuration.rb:9 def route_set_class=(_arg0); end end -# source://railties//lib/rails/engine/lazy_route_set.rb#11 +# pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:11 class Rails::Engine::LazyRouteSet < ::ActionDispatch::Routing::RouteSet # @return [LazyRouteSet] a new instance of LazyRouteSet # - # source://railties//lib/rails/engine/lazy_route_set.rb#41 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:41 def initialize(config = T.unsafe(nil)); end - # source://railties//lib/rails/engine/lazy_route_set.rb#58 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:58 def call(req); end - # source://railties//lib/rails/engine/lazy_route_set.rb#68 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:68 def draw(&block); end - # source://railties//lib/rails/engine/lazy_route_set.rb#48 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:48 def generate_extras(options, recall = T.unsafe(nil)); end - # source://railties//lib/rails/engine/lazy_route_set.rb#54 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:54 def generate_url_helpers(supports_path); end - # source://railties//lib/rails/engine/lazy_route_set.rb#63 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:63 def polymorphic_mappings; end - # source://railties//lib/rails/engine/lazy_route_set.rb#73 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:73 def recognize_path(path, environment = T.unsafe(nil)); end - # source://railties//lib/rails/engine/lazy_route_set.rb#78 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:78 def recognize_path_with_request(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/engine/lazy_route_set.rb#83 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:83 def routes; end private - # source://railties//lib/rails/engine/lazy_route_set.rb#89 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:89 def method_missing_module; end end -# source://railties//lib/rails/engine/lazy_route_set.rb#12 +# pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:12 class Rails::Engine::LazyRouteSet::NamedRouteCollection < ::ActionDispatch::Routing::RouteSet::NamedRouteCollection # @return [Boolean] # - # source://railties//lib/rails/engine/lazy_route_set.rb#13 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:13 def route_defined?(name); end end -# source://railties//lib/rails/engine/lazy_route_set.rb#19 +# pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:19 module Rails::Engine::LazyRouteSet::ProxyUrlHelpers - # source://railties//lib/rails/engine/lazy_route_set.rb#25 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:25 def full_url_for(options); end # @return [Boolean] # - # source://railties//lib/rails/engine/lazy_route_set.rb#35 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:35 def optimize_routes_generation?; end - # source://railties//lib/rails/engine/lazy_route_set.rb#30 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:30 def route_for(name, *args); end - # source://railties//lib/rails/engine/lazy_route_set.rb#20 + # pkg:gem/railties#lib/rails/engine/lazy_route_set.rb:20 def url_for(options); end end -# source://railties//lib/rails/engine/railties.rb#5 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/engine/railties.rb:9 def initialize; end - # source://railties//lib/rails/engine/railties.rb#18 + # pkg:gem/railties#lib/rails/engine/railties.rb:18 def -(others); end # Returns the value of attribute _all. # - # source://railties//lib/rails/engine/railties.rb#7 + # pkg:gem/railties#lib/rails/engine/railties.rb:7 def _all; end - # source://railties//lib/rails/engine/railties.rb#14 + # pkg:gem/railties#lib/rails/engine/railties.rb:14 def each(*args, &block); end end -# source://railties//lib/rails/generators.rb#14 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/generators.rb:27 def namespace; end - # source://railties//lib/rails/generators.rb#27 + # pkg:gem/railties#lib/rails/generators.rb:27 def namespace=(val); end class << self - # source://railties//lib/rails/generators.rb#281 + # pkg:gem/railties#lib/rails/generators.rb:281 def add_generated_file(file); end - # source://railties//lib/rails/generators.rb#92 + # pkg:gem/railties#lib/rails/generators.rb:92 def after_generate_callbacks; end - # source://railties//lib/rails/generators.rb#84 + # pkg:gem/railties#lib/rails/generators.rb:84 def aliases; end # Configure generators for API only applications. It basically hides @@ -3016,10 +3016,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#116 + # pkg:gem/railties#lib/rails/generators.rb:116 def api_only!; end - # source://railties//lib/rails/generators.rb#68 + # pkg:gem/railties#lib/rails/generators.rb:68 def configure!(config); end # Hold configured generators fallbacks. If a plugin developer wants a @@ -3035,7 +3035,7 @@ module Rails::Generators # # Rails::Generators.fallbacks[:shoulda] = :test_unit # - # source://railties//lib/rails/generators.rb#108 + # pkg:gem/railties#lib/rails/generators.rb:108 def fallbacks; end # Rails finds namespaces similar to Thor, it only adds one rule: @@ -3052,12 +3052,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#236 + # pkg:gem/railties#lib/rails/generators.rb:236 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#172 + # pkg:gem/railties#lib/rails/generators.rb:172 def help(command = T.unsafe(nil)); end # Returns an array of generator namespaces that are hidden. @@ -3065,70 +3065,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#134 + # pkg:gem/railties#lib/rails/generators.rb:134 def hidden_namespaces; end - # source://railties//lib/rails/generators.rb#169 + # pkg:gem/railties#lib/rails/generators.rb:169 def hide_namespace(*namespaces); end - # source://railties//lib/rails/generators.rb#166 + # pkg:gem/railties#lib/rails/generators.rb:166 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#263 + # pkg:gem/railties#lib/rails/generators.rb:263 def invoke(namespace, args = T.unsafe(nil), config = T.unsafe(nil)); end - # source://railties//lib/rails/generators.rb#27 + # pkg:gem/railties#lib/rails/generators.rb:27 def namespace; end - # source://railties//lib/rails/generators.rb#27 + # pkg:gem/railties#lib/rails/generators.rb:27 def namespace=(val); end - # source://railties//lib/rails/generators.rb#88 + # pkg:gem/railties#lib/rails/generators.rb:88 def options; end - # source://railties//lib/rails/generators.rb#194 + # pkg:gem/railties#lib/rails/generators.rb:194 def print_generators; end - # source://railties//lib/rails/generators.rb#189 + # pkg:gem/railties#lib/rails/generators.rb:189 def public_namespaces; end - # source://railties//lib/rails/generators.rb#198 + # pkg:gem/railties#lib/rails/generators.rb:198 def sorted_groups; end - # source://railties//lib/rails/generators.rb#80 + # pkg:gem/railties#lib/rails/generators.rb:80 def templates_path; end private - # source://railties//lib/rails/generators.rb#308 + # pkg:gem/railties#lib/rails/generators.rb:308 def command_type; end - # source://railties//lib/rails/generators.rb#316 + # pkg:gem/railties#lib/rails/generators.rb:316 def file_lookup_paths; end # Try fallbacks for the given base. # - # source://railties//lib/rails/generators.rb#293 + # pkg:gem/railties#lib/rails/generators.rb:293 def invoke_fallbacks_for(name, base); end - # source://railties//lib/rails/generators.rb#312 + # pkg:gem/railties#lib/rails/generators.rb:312 def lookup_paths; end - # source://railties//lib/rails/generators.rb#287 + # pkg:gem/railties#lib/rails/generators.rb:287 def print_list(base, namespaces); end - # source://railties//lib/rails/generators.rb#320 + # pkg:gem/railties#lib/rails/generators.rb:320 def run_after_generate_callback; end end end -# source://railties//lib/rails/generators/actions.rb#9 +# pkg:gem/railties#lib/rails/generators/actions.rb:9 module Rails::Generators::Actions - # source://railties//lib/rails/generators/actions.rb#10 + # pkg:gem/railties#lib/rails/generators/actions.rb:10 def initialize(*_arg0); end # Add the given source to +Gemfile+ @@ -3141,7 +3141,7 @@ module Rails::Generators::Actions # gem "rspec-rails" # end # - # source://railties//lib/rails/generators/actions.rb#151 + # pkg:gem/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. @@ -3185,7 +3185,7 @@ module Rails::Generators::Actions # %(config.asset_host = "localhost:3000") # end # - # source://railties//lib/rails/generators/actions.rb#221 + # pkg:gem/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. @@ -3229,7 +3229,7 @@ module Rails::Generators::Actions # %(config.asset_host = "localhost:3000") # end # - # source://railties//lib/rails/generators/actions.rb#206 + # pkg:gem/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. @@ -3284,7 +3284,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 + # pkg:gem/railties#lib/rails/generators/actions.rb:67 def gem(*args); end # Wraps gem entries inside a group. @@ -3293,7 +3293,7 @@ module Rails::Generators::Actions # gem "rspec-rails" # end # - # source://railties//lib/rails/generators/actions.rb#111 + # pkg:gem/railties#lib/rails/generators/actions.rb:111 def gem_group(*names, &block); end # Runs another generator. @@ -3304,7 +3304,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 + # pkg:gem/railties#lib/rails/generators/actions.rb:332 def generate(what, *args); end # Runs one or more git commands. @@ -3321,10 +3321,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 + # pkg:gem/railties#lib/rails/generators/actions.rb:237 def git(commands = T.unsafe(nil)); end - # source://railties//lib/rails/generators/actions.rb#125 + # pkg:gem/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 @@ -3338,7 +3338,7 @@ module Rails::Generators::Actions # %(API_KEY = "123456") # end # - # source://railties//lib/rails/generators/actions.rb#319 + # pkg:gem/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 @@ -3352,7 +3352,7 @@ module Rails::Generators::Actions # "# Foreign code is fun" # end # - # source://railties//lib/rails/generators/actions.rb#275 + # pkg:gem/railties#lib/rails/generators/actions.rb:275 def lib(filename, data = T.unsafe(nil)); end # Runs the specified \Rails command. @@ -3379,7 +3379,7 @@ module Rails::Generators::Actions # [+:sudo+] # Whether to run the command using +sudo+. # - # source://railties//lib/rails/generators/actions.rb#391 + # pkg:gem/railties#lib/rails/generators/actions.rb:391 def rails_command(command, options = T.unsafe(nil)); end # Runs the specified Rake task. @@ -3406,7 +3406,7 @@ module Rails::Generators::Actions # [+:sudo+] # Whether to run the task using +sudo+. # - # source://railties//lib/rails/generators/actions.rb#364 + # pkg:gem/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 @@ -3430,14 +3430,14 @@ module Rails::Generators::Actions # RUBY # end # - # source://railties//lib/rails/generators/actions.rb#302 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/actions.rb:442 def readme(path); end # Make an entry in \Rails routing file config/routes.rb @@ -3445,7 +3445,7 @@ module Rails::Generators::Actions # route "root 'welcome#index'" # route "root 'admin#index'", namespace: :admin # - # source://railties//lib/rails/generators/actions.rb#409 + # pkg:gem/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 @@ -3459,98 +3459,98 @@ module Rails::Generators::Actions # "# Foreign code is fun" # end # - # source://railties//lib/rails/generators/actions.rb#258 + # pkg:gem/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#510 + # pkg:gem/railties#lib/rails/generators/actions.rb:510 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#460 + # pkg:gem/railties#lib/rails/generators/actions.rb:460 def execute_command(executor, command, options = T.unsafe(nil)); end # Returns a string corresponding to the current indentation level # (i.e. 2 * @indentation spaces). See also # #with_indentation, which can be used to manage the indentation level. # - # source://railties//lib/rails/generators/actions.rb#495 + # pkg:gem/railties#lib/rails/generators/actions.rb:495 def indentation; end # Define log for backwards compatibility. If just one argument is sent, # invoke +say+, otherwise invoke +say_status+. # - # source://railties//lib/rails/generators/actions.rb#449 + # pkg:gem/railties#lib/rails/generators/actions.rb:449 def log(*args); end - # source://railties//lib/rails/generators/actions.rb#516 + # pkg:gem/railties#lib/rails/generators/actions.rb:516 def match_file(path, pattern); end # Returns optimized string with indentation # - # source://railties//lib/rails/generators/actions.rb#486 + # pkg:gem/railties#lib/rails/generators/actions.rb:486 def optimize_indentation(value, amount = T.unsafe(nil)); end # Always returns value in double quotes. # - # source://railties//lib/rails/generators/actions.rb#474 + # pkg:gem/railties#lib/rails/generators/actions.rb:474 def quote(value); end # Returns optimized string with indentation # - # source://railties//lib/rails/generators/actions.rb#490 + # pkg:gem/railties#lib/rails/generators/actions.rb:490 def rebase_indentation(value, amount = T.unsafe(nil)); end - # source://railties//lib/rails/generators/actions.rb#520 + # pkg:gem/railties#lib/rails/generators/actions.rb:520 def route_namespace_pattern(namespace); end # Increases the current indentation indentation level for the duration # of the given block, and decreases it after the block ends. Call # #indentation to get an indentation string. # - # source://railties//lib/rails/generators/actions.rb#502 + # pkg:gem/railties#lib/rails/generators/actions.rb:502 def with_indentation(&block); end end -# source://railties//lib/rails/generators/actions/create_migration.rb#9 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:41 def existing_migration; end - # source://railties//lib/rails/generators/actions/create_migration.rb#45 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:45 def exists?; end # @return [Boolean] # - # source://railties//lib/rails/generators/actions/create_migration.rb#18 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:18 def identical?; end - # source://railties//lib/rails/generators/actions/create_migration.rb#22 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:22 def invoke!; end - # source://railties//lib/rails/generators/actions/create_migration.rb#10 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:10 def migration_dir; end - # source://railties//lib/rails/generators/actions/create_migration.rb#14 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:14 def migration_file_name; end - # source://railties//lib/rails/generators/actions/create_migration.rb#37 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:37 def relative_existing_migration; end - # source://railties//lib/rails/generators/actions/create_migration.rb#29 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:29 def revoke!; end private - # source://railties//lib/rails/generators/actions/create_migration.rb#48 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:48 def on_conflict_behavior; end - # source://railties//lib/rails/generators/actions/create_migration.rb#69 + # pkg:gem/railties#lib/rails/generators/actions/create_migration.rb:69 def say_status(status, color, message = T.unsafe(nil)); end end @@ -3577,18 +3577,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/active_model.rb:89 def destroy; end # Used for: @@ -3596,26 +3596,26 @@ class Rails::Generators::ActiveModel # * POST +create+ # * PATCH / PUT +update+ # - # source://railties//lib/rails/generators/active_model.rb#82 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/active_model.rb:29 def name; end # Used for: # # * POST +create+ # - # source://railties//lib/rails/generators/active_model.rb#67 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/active_model.rb:74 def update(params = T.unsafe(nil)); end class << self @@ -3623,7 +3623,7 @@ class Rails::Generators::ActiveModel # # * GET +index+ # - # source://railties//lib/rails/generators/active_model.rb#38 + # pkg:gem/railties#lib/rails/generators/active_model.rb:38 def all(klass); end # Used for: @@ -3631,7 +3631,7 @@ class Rails::Generators::ActiveModel # * GET +new+ # * POST +create+ # - # source://railties//lib/rails/generators/active_model.rb#56 + # pkg:gem/railties#lib/rails/generators/active_model.rb:56 def build(klass, params = T.unsafe(nil)); end # Used for: @@ -3641,137 +3641,137 @@ class Rails::Generators::ActiveModel # * PATCH / PUT +update+ # * DELETE +destroy+ # - # source://railties//lib/rails/generators/active_model.rb#48 + # pkg:gem/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#15 +# pkg:gem/railties#lib/rails/generators/app_base.rb:15 class Rails::Generators::AppBase < ::Rails::Generators::Base include ::Rails::Generators::AppName include ::Rails::Generators::BundleHelper # @return [AppBase] a new instance of AppBase # - # source://railties//lib/rails/generators/app_base.rb#147 + # pkg:gem/railties#lib/rails/generators/app_base.rb:147 def initialize(positional_argv, option_argv, *_arg2); end - # source://railties//lib/rails/generators/app_base.rb#28 + # pkg:gem/railties#lib/rails/generators/app_base.rb:28 def app_path; end - # source://railties//lib/rails/generators/app_base.rb#28 + # pkg:gem/railties#lib/rails/generators/app_base.rb:28 def app_path=(_arg0); end # Returns the value of attribute rails_template. # - # source://railties//lib/rails/generators/app_base.rb#25 + # pkg:gem/railties#lib/rails/generators/app_base.rb:25 def rails_template; end # Sets the attribute rails_template # # @param value the value to set the attribute rails_template to. # - # source://railties//lib/rails/generators/app_base.rb#25 + # pkg:gem/railties#lib/rails/generators/app_base.rb:25 def rails_template=(_arg0); end - # source://railties//lib/rails/generators/app_base.rb#26 + # pkg:gem/railties#lib/rails/generators/app_base.rb:26 def shebang; end private - # source://railties//lib/rails/generators/app_base.rb#756 + # pkg:gem/railties#lib/rails/generators/app_base.rb:756 def add_bundler_platforms; end - # source://railties//lib/rails/generators/app_base.rb#270 + # pkg:gem/railties#lib/rails/generators/app_base.rb:270 def apply_rails_template; end - # source://railties//lib/rails/generators/app_base.rb#299 + # pkg:gem/railties#lib/rails/generators/app_base.rb:299 def asset_pipeline_gemfile_entry; end - # source://railties//lib/rails/generators/app_base.rb#176 + # pkg:gem/railties#lib/rails/generators/app_base.rb:176 def build(meth, *args); end - # source://railties//lib/rails/generators/app_base.rb#168 + # pkg:gem/railties#lib/rails/generators/app_base.rb:168 def builder; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#672 + # pkg:gem/railties#lib/rails/generators/app_base.rb:672 def bundle_install?; end - # source://railties//lib/rails/generators/app_base.rb#660 + # pkg:gem/railties#lib/rails/generators/app_base.rb:660 def cable_gemfile_entry; end - # source://railties//lib/rails/generators/app_base.rb#539 + # pkg:gem/railties#lib/rails/generators/app_base.rb:539 def capture_command(command, pattern = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#634 + # pkg:gem/railties#lib/rails/generators/app_base.rb:634 def ci_packages; end - # source://railties//lib/rails/generators/app_base.rb#341 + # pkg:gem/railties#lib/rails/generators/app_base.rb:341 def comment_if(value); end - # source://railties//lib/rails/generators/app_base.rb#263 + # pkg:gem/railties#lib/rails/generators/app_base.rb:263 def create_root; end - # source://railties//lib/rails/generators/app_base.rb#647 + # pkg:gem/railties#lib/rails/generators/app_base.rb:647 def css_gemfile_entry; end - # source://railties//lib/rails/generators/app_base.rb#810 + # pkg:gem/railties#lib/rails/generators/app_base.rb:810 def database; end - # source://railties//lib/rails/generators/app_base.rb#287 + # pkg:gem/railties#lib/rails/generators/app_base.rb:287 def database_gemfile_entry; end - # source://railties//lib/rails/generators/app_base.rb#180 + # pkg:gem/railties#lib/rails/generators/app_base.rb:180 def deduce_implied_options(options, option_reasons, meta_options); end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#680 + # pkg:gem/railties#lib/rails/generators/app_base.rb:680 def depend_on_bootsnap?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#676 + # pkg:gem/railties#lib/rails/generators/app_base.rb:676 def depends_on_system_test?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#418 + # pkg:gem/railties#lib/rails/generators/app_base.rb:418 def devcontainer?; end - # source://railties//lib/rails/generators/app_base.rb#599 + # pkg:gem/railties#lib/rails/generators/app_base.rb:599 def dockerfile_base_packages; end - # source://railties//lib/rails/generators/app_base.rb#570 + # pkg:gem/railties#lib/rails/generators/app_base.rb:570 def dockerfile_binfile_fixups; end - # source://railties//lib/rails/generators/app_base.rb#615 + # pkg:gem/railties#lib/rails/generators/app_base.rb:615 def dockerfile_build_packages; end - # source://railties//lib/rails/generators/app_base.rb#566 + # pkg:gem/railties#lib/rails/generators/app_base.rb:566 def dockerfile_bun_version; end - # source://railties//lib/rails/generators/app_base.rb#801 + # pkg:gem/railties#lib/rails/generators/app_base.rb:801 def dockerfile_chown_directories; end - # source://railties//lib/rails/generators/app_base.rb#558 + # pkg:gem/railties#lib/rails/generators/app_base.rb:558 def dockerfile_yarn_version; end - # source://railties//lib/rails/generators/app_base.rb#797 + # pkg:gem/railties#lib/rails/generators/app_base.rb:797 def edge_branch; end - # source://railties//lib/rails/generators/app_base.rb#770 + # pkg:gem/railties#lib/rails/generators/app_base.rb:770 def empty_directory_with_keep_file(destination, config = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#154 + # pkg:gem/railties#lib/rails/generators/app_base.rb:154 def gemfile_entries; end - # source://railties//lib/rails/generators/app_base.rb#783 + # pkg:gem/railties#lib/rails/generators/app_base.rb:783 def git_init_command; end - # source://railties//lib/rails/generators/app_base.rb#511 + # pkg:gem/railties#lib/rails/generators/app_base.rb:511 def hotwire_gemfile_entry; end # ==== Options @@ -3793,280 +3793,280 @@ 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#233 + # pkg:gem/railties#lib/rails/generators/app_base.rb:233 def imply_options(option_implications = T.unsafe(nil), meta_options: T.unsafe(nil)); end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#321 + # pkg:gem/railties#lib/rails/generators/app_base.rb:321 def include_all_railties?; end - # source://railties//lib/rails/generators/app_base.rb#501 + # pkg:gem/railties#lib/rails/generators/app_base.rb:501 def javascript_gemfile_entry; end - # source://railties//lib/rails/generators/app_base.rb#496 + # pkg:gem/railties#lib/rails/generators/app_base.rb:496 def jbuilder_gemfile_entry; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#766 + # pkg:gem/railties#lib/rails/generators/app_base.rb:766 def jruby?; end - # source://railties//lib/rails/generators/app_base.rb#775 + # pkg:gem/railties#lib/rails/generators/app_base.rb:775 def keep_file(destination); end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#354 + # pkg:gem/railties#lib/rails/generators/app_base.rb:354 def keeps?; end - # source://railties//lib/rails/generators/app_base.rb#550 + # pkg:gem/railties#lib/rails/generators/app_base.rb:550 def node_version; end - # source://railties//lib/rails/generators/app_base.rb#667 + # pkg:gem/railties#lib/rails/generators/app_base.rb:667 def rails_command(command, command_options = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#470 + # pkg:gem/railties#lib/rails/generators/app_base.rb:470 def rails_gemfile_entry; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#466 + # pkg:gem/railties#lib/rails/generators/app_base.rb:466 def rails_prerelease?; end - # source://railties//lib/rails/generators/app_base.rb#325 + # pkg:gem/railties#lib/rails/generators/app_base.rb:325 def rails_require_statement; end - # source://railties//lib/rails/generators/app_base.rb#483 + # pkg:gem/railties#lib/rails/generators/app_base.rb:483 def rails_version_specifier(gem_version = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#246 + # pkg:gem/railties#lib/rails/generators/app_base.rb:246 def report_implied_options; end - # source://railties//lib/rails/generators/app_base.rb#305 + # pkg:gem/railties#lib/rails/generators/app_base.rb:305 def required_railties; end - # source://railties//lib/rails/generators/app_base.rb#706 + # pkg:gem/railties#lib/rails/generators/app_base.rb:706 def run_bundle; end - # source://railties//lib/rails/generators/app_base.rb#725 + # pkg:gem/railties#lib/rails/generators/app_base.rb:725 def run_css; end - # source://railties//lib/rails/generators/app_base.rb#719 + # pkg:gem/railties#lib/rails/generators/app_base.rb:719 def run_hotwire; end - # source://railties//lib/rails/generators/app_base.rb#710 + # pkg:gem/railties#lib/rails/generators/app_base.rb:710 def run_javascript; end - # source://railties//lib/rails/generators/app_base.rb#737 + # pkg:gem/railties#lib/rails/generators/app_base.rb:737 def run_kamal; end - # source://railties//lib/rails/generators/app_base.rb#747 + # pkg:gem/railties#lib/rails/generators/app_base.rb:747 def run_solid; end - # source://railties//lib/rails/generators/app_base.rb#276 + # pkg:gem/railties#lib/rails/generators/app_base.rb:276 def set_default_accessors!; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#374 + # pkg:gem/railties#lib/rails/generators/app_base.rb:374 def skip_action_cable?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#382 + # pkg:gem/railties#lib/rails/generators/app_base.rb:382 def skip_action_mailbox?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#378 + # pkg:gem/railties#lib/rails/generators/app_base.rb:378 def skip_action_mailer?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#386 + # pkg:gem/railties#lib/rails/generators/app_base.rb:386 def skip_action_text?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#362 + # pkg:gem/railties#lib/rails/generators/app_base.rb:362 def skip_active_record?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#366 + # pkg:gem/railties#lib/rails/generators/app_base.rb:366 def skip_active_storage?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#390 + # pkg:gem/railties#lib/rails/generators/app_base.rb:390 def skip_asset_pipeline?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#402 + # pkg:gem/railties#lib/rails/generators/app_base.rb:402 def skip_brakeman?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#406 + # pkg:gem/railties#lib/rails/generators/app_base.rb:406 def skip_bundler_audit?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#410 + # pkg:gem/railties#lib/rails/generators/app_base.rb:410 def skip_ci?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#414 + # pkg:gem/railties#lib/rails/generators/app_base.rb:414 def skip_devcontainer?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#422 + # pkg:gem/railties#lib/rails/generators/app_base.rb:422 def skip_kamal?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#398 + # pkg:gem/railties#lib/rails/generators/app_base.rb:398 def skip_rubocop?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#426 + # pkg:gem/railties#lib/rails/generators/app_base.rb:426 def skip_solid?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#370 + # pkg:gem/railties#lib/rails/generators/app_base.rb:370 def skip_storage?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#394 + # pkg:gem/railties#lib/rails/generators/app_base.rb:394 def skip_thruster?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#358 + # pkg:gem/railties#lib/rails/generators/app_base.rb:358 def sqlite3?; end - # source://railties//lib/rails/generators/app_base.rb#684 + # pkg:gem/railties#lib/rails/generators/app_base.rb:684 def target_rails_prerelease(self_command = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#779 + # pkg:gem/railties#lib/rails/generators/app_base.rb:779 def user_default_branch; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#535 + # pkg:gem/railties#lib/rails/generators/app_base.rb:535 def using_bun?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#523 + # pkg:gem/railties#lib/rails/generators/app_base.rb:523 def using_importmap?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#527 + # pkg:gem/railties#lib/rails/generators/app_base.rb:527 def using_js_runtime?; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#531 + # pkg:gem/railties#lib/rails/generators/app_base.rb:531 def using_node?; end - # source://railties//lib/rails/generators/app_base.rb#295 + # pkg:gem/railties#lib/rails/generators/app_base.rb:295 def web_server_gemfile_entry; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_base.rb#562 + # pkg:gem/railties#lib/rails/generators/app_base.rb:562 def yarn_through_corepack?; end class << self - # source://railties//lib/rails/generators/app_base.rb#34 + # pkg:gem/railties#lib/rails/generators/app_base.rb:34 def add_shared_options_for(name); end - # source://railties//lib/rails/generators/app_base.rb#143 + # pkg:gem/railties#lib/rails/generators/app_base.rb:143 def edge_branch; end - # source://railties//lib/rails/generators/app_base.rb#30 + # pkg:gem/railties#lib/rails/generators/app_base.rb:30 def strict_args_position; end end end -# source://railties//lib/rails/generators/app_base.rb#20 +# pkg:gem/railties#lib/rails/generators/app_base.rb:20 Rails::Generators::AppBase::BUN_VERSION = T.let(T.unsafe(nil), String) -# source://railties//lib/rails/generators/app_base.rb#23 +# pkg:gem/railties#lib/rails/generators/app_base.rb:23 Rails::Generators::AppBase::CSS_OPTIONS = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/generators/app_base.rb#430 +# pkg:gem/railties#lib/rails/generators/app_base.rb:430 class Rails::Generators::AppBase::GemfileEntry < ::Struct # @return [GemfileEntry] a new instance of GemfileEntry # - # source://railties//lib/rails/generators/app_base.rb#431 + # pkg:gem/railties#lib/rails/generators/app_base.rb:431 def initialize(name, version, comment, options = T.unsafe(nil), commented_out = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#455 + # pkg:gem/railties#lib/rails/generators/app_base.rb:455 def to_s; end class << self - # source://railties//lib/rails/generators/app_base.rb#447 + # pkg:gem/railties#lib/rails/generators/app_base.rb:447 def floats(name, comment = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#435 + # pkg:gem/railties#lib/rails/generators/app_base.rb:435 def github(name, github, branch = T.unsafe(nil), comment = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#451 + # pkg:gem/railties#lib/rails/generators/app_base.rb:451 def path(name, path, comment = T.unsafe(nil)); end - # source://railties//lib/rails/generators/app_base.rb#443 + # pkg:gem/railties#lib/rails/generators/app_base.rb:443 def version(name, version, comment = T.unsafe(nil)); end end end -# source://railties//lib/rails/generators/app_base.rb#22 +# pkg:gem/railties#lib/rails/generators/app_base.rb:22 Rails::Generators::AppBase::JAVASCRIPT_OPTIONS = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/generators/app_base.rb#19 +# pkg:gem/railties#lib/rails/generators/app_base.rb:19 Rails::Generators::AppBase::NODE_LTS_VERSION = T.let(T.unsafe(nil), String) -# source://railties//lib/rails/generators/app_base.rb#208 +# pkg:gem/railties#lib/rails/generators/app_base.rb:208 Rails::Generators::AppBase::OPTION_IMPLICATIONS = T.let(T.unsafe(nil), Hash) -# source://railties//lib/rails/generators/app_name.rb#5 +# pkg:gem/railties#lib/rails/generators/app_name.rb:5 module Rails::Generators::AppName private - # source://railties//lib/rails/generators/app_name.rb#22 + # pkg:gem/railties#lib/rails/generators/app_name.rb:22 def app_const; end - # source://railties//lib/rails/generators/app_name.rb#17 + # pkg:gem/railties#lib/rails/generators/app_name.rb:17 def app_const_base; end - # source://railties//lib/rails/generators/app_name.rb#9 + # pkg:gem/railties#lib/rails/generators/app_name.rb:9 def app_name; end - # source://railties//lib/rails/generators/app_name.rb#20 + # pkg:gem/railties#lib/rails/generators/app_name.rb:20 def camelized; end - # source://railties//lib/rails/generators/app_name.rb#13 + # pkg:gem/railties#lib/rails/generators/app_name.rb:13 def original_app_name; end # @return [Boolean] # - # source://railties//lib/rails/generators/app_name.rb#26 + # pkg:gem/railties#lib/rails/generators/app_name.rb:26 def valid_const?; end end -# source://railties//lib/rails/generators/app_name.rb#6 +# pkg:gem/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 +# pkg:gem/railties#lib/rails/generators/base.rb:17 class Rails::Generators::Base < ::Thor::Group include ::Thor::Actions include ::Rails::Generators::Actions @@ -4077,116 +4077,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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:287 def extract_last_module(nesting); end - # source://railties//lib/rails/generators/base.rb#302 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:296 def module_namespacing(&block); end - # source://railties//lib/rails/generators/base.rb#312 + # pkg:gem/railties#lib/rails/generators/base.rb:312 def namespace; end - # source://railties//lib/rails/generators/base.rb#320 + # pkg:gem/railties#lib/rails/generators/base.rb:320 def namespace_dirs; end # @return [Boolean] # - # source://railties//lib/rails/generators/base.rb#316 + # pkg:gem/railties#lib/rails/generators/base.rb:316 def namespaced?; end - # source://railties//lib/rails/generators/base.rb#324 + # pkg:gem/railties#lib/rails/generators/base.rb:324 def namespaced_path; end - # source://railties//lib/rails/generators/base.rb#307 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:396 def add_shebang_option!; end # Use \Rails default banner. # - # source://railties//lib/rails/generators/base.rb#329 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:362 def default_for_option(config, name, options, default); end - # source://railties//lib/rails/generators/base.rb#422 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:41 def desc(description = T.unsafe(nil)); end # @return [Boolean] # - # source://railties//lib/rails/generators/base.rb#29 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:61 def hide!; end # Invoke a generator based on the value supplied by the user to the @@ -4298,460 +4298,460 @@ class Rails::Generators::Base < ::Thor::Group # instance.invoke controller, [ instance.name.pluralize ] # end # - # source://railties//lib/rails/generators/base.rb#174 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/base.rb:34 def source_root(path = T.unsafe(nil)); end - # source://railties//lib/rails/generators/base.rb#414 + # pkg:gem/railties#lib/rails/generators/base.rb:414 def usage_path; end end end -# source://railties//lib/rails/generators/bundle_helper.rb#5 +# pkg:gem/railties#lib/rails/generators/bundle_helper.rb:5 module Rails::Generators::BundleHelper - # source://railties//lib/rails/generators/bundle_helper.rb#6 + # pkg:gem/railties#lib/rails/generators/bundle_helper.rb:6 def bundle_command(command, env = T.unsafe(nil), params = T.unsafe(nil)); end private - # source://railties//lib/rails/generators/bundle_helper.rb#24 + # pkg:gem/railties#lib/rails/generators/bundle_helper.rb:24 def exec_bundle_command(bundle_command, command, env, params); end end -# source://railties//lib/rails/generators.rb#29 +# pkg:gem/railties#lib/rails/generators.rb:29 Rails::Generators::DEFAULT_ALIASES = T.let(T.unsafe(nil), Hash) -# source://railties//lib/rails/generators.rb#46 +# pkg:gem/railties#lib/rails/generators.rb:46 Rails::Generators::DEFAULT_OPTIONS = T.let(T.unsafe(nil), Hash) -# source://railties//lib/rails/generators/database.rb#5 +# pkg:gem/railties#lib/rails/generators/database.rb:5 class Rails::Generators::Database # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#119 + # pkg:gem/railties#lib/rails/generators/database.rb:119 def base_package; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#123 + # pkg:gem/railties#lib/rails/generators/database.rb:123 def build_package; end - # source://railties//lib/rails/generators/database.rb#130 + # pkg:gem/railties#lib/rails/generators/database.rb:130 def feature; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#111 + # pkg:gem/railties#lib/rails/generators/database.rb:111 def feature_name; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#115 + # pkg:gem/railties#lib/rails/generators/database.rb:115 def gem; end - # source://railties//lib/rails/generators/database.rb#128 + # pkg:gem/railties#lib/rails/generators/database.rb:128 def host; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#95 + # pkg:gem/railties#lib/rails/generators/database.rb:95 def name; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#107 + # pkg:gem/railties#lib/rails/generators/database.rb:107 def port; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#103 + # pkg:gem/railties#lib/rails/generators/database.rb:103 def service; end - # source://railties//lib/rails/generators/database.rb#127 + # pkg:gem/railties#lib/rails/generators/database.rb:127 def socket; end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/database.rb#99 + # pkg:gem/railties#lib/rails/generators/database.rb:99 def template; end - # source://railties//lib/rails/generators/database.rb#136 + # pkg:gem/railties#lib/rails/generators/database.rb:136 def volume; end class << self - # source://railties//lib/rails/generators/database.rb#84 + # pkg:gem/railties#lib/rails/generators/database.rb:84 def all; end - # source://railties//lib/rails/generators/database.rb#72 + # pkg:gem/railties#lib/rails/generators/database.rb:72 def build(database_name); end end end -# source://railties//lib/rails/generators/database.rb#6 +# pkg:gem/railties#lib/rails/generators/database.rb:6 Rails::Generators::Database::DATABASES = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/generators/database.rb#49 +# pkg:gem/railties#lib/rails/generators/database.rb:49 module Rails::Generators::Database::MariaDB - # source://railties//lib/rails/generators/database.rb#50 + # pkg:gem/railties#lib/rails/generators/database.rb:50 def name; end - # source://railties//lib/rails/generators/database.rb#54 + # pkg:gem/railties#lib/rails/generators/database.rb:54 def port; end - # source://railties//lib/rails/generators/database.rb#58 + # pkg:gem/railties#lib/rails/generators/database.rb:58 def service; end end -# source://railties//lib/rails/generators/database.rb#267 +# pkg:gem/railties#lib/rails/generators/database.rb:267 class Rails::Generators::Database::MariaDBMySQL2 < ::Rails::Generators::Database::MySQL2 include ::Rails::Generators::Database::MariaDB end -# source://railties//lib/rails/generators/database.rb#271 +# pkg:gem/railties#lib/rails/generators/database.rb:271 class Rails::Generators::Database::MariaDBTrilogy < ::Rails::Generators::Database::Trilogy include ::Rails::Generators::Database::MariaDB end -# source://railties//lib/rails/generators/database.rb#8 +# pkg:gem/railties#lib/rails/generators/database.rb:8 module Rails::Generators::Database::MySQL - # source://railties//lib/rails/generators/database.rb#44 + # pkg:gem/railties#lib/rails/generators/database.rb:44 def host; end - # source://railties//lib/rails/generators/database.rb#9 + # pkg:gem/railties#lib/rails/generators/database.rb:9 def name; end - # source://railties//lib/rails/generators/database.rb#13 + # pkg:gem/railties#lib/rails/generators/database.rb:13 def port; end - # source://railties//lib/rails/generators/database.rb#17 + # pkg:gem/railties#lib/rails/generators/database.rb:17 def service; end - # source://railties//lib/rails/generators/database.rb#30 + # pkg:gem/railties#lib/rails/generators/database.rb:30 def socket; end end -# source://railties//lib/rails/generators/database.rb#142 +# pkg:gem/railties#lib/rails/generators/database.rb:142 class Rails::Generators::Database::MySQL2 < ::Rails::Generators::Database include ::Rails::Generators::Database::MySQL - # source://railties//lib/rails/generators/database.rb#153 + # pkg:gem/railties#lib/rails/generators/database.rb:153 def base_package; end - # source://railties//lib/rails/generators/database.rb#157 + # pkg:gem/railties#lib/rails/generators/database.rb:157 def build_package; end - # source://railties//lib/rails/generators/database.rb#161 + # pkg:gem/railties#lib/rails/generators/database.rb:161 def feature_name; end - # source://railties//lib/rails/generators/database.rb#149 + # pkg:gem/railties#lib/rails/generators/database.rb:149 def gem; end - # source://railties//lib/rails/generators/database.rb#145 + # pkg:gem/railties#lib/rails/generators/database.rb:145 def template; end end -# source://railties//lib/rails/generators/database.rb#275 +# pkg:gem/railties#lib/rails/generators/database.rb:275 class Rails::Generators::Database::Null < ::Rails::Generators::Database - # source://railties//lib/rails/generators/database.rb#281 + # pkg:gem/railties#lib/rails/generators/database.rb:281 def base_package; end - # source://railties//lib/rails/generators/database.rb#282 + # pkg:gem/railties#lib/rails/generators/database.rb:282 def build_package; end - # source://railties//lib/rails/generators/database.rb#283 + # pkg:gem/railties#lib/rails/generators/database.rb:283 def feature_name; end - # source://railties//lib/rails/generators/database.rb#276 + # pkg:gem/railties#lib/rails/generators/database.rb:276 def name; end - # source://railties//lib/rails/generators/database.rb#279 + # pkg:gem/railties#lib/rails/generators/database.rb:279 def port; end - # source://railties//lib/rails/generators/database.rb#278 + # pkg:gem/railties#lib/rails/generators/database.rb:278 def service; end - # source://railties//lib/rails/generators/database.rb#277 + # pkg:gem/railties#lib/rails/generators/database.rb:277 def template; end - # source://railties//lib/rails/generators/database.rb#280 + # pkg:gem/railties#lib/rails/generators/database.rb:280 def volume; end end -# source://railties//lib/rails/generators/database.rb#166 +# pkg:gem/railties#lib/rails/generators/database.rb:166 class Rails::Generators::Database::PostgreSQL < ::Rails::Generators::Database - # source://railties//lib/rails/generators/database.rb#196 + # pkg:gem/railties#lib/rails/generators/database.rb:196 def base_package; end - # source://railties//lib/rails/generators/database.rb#200 + # pkg:gem/railties#lib/rails/generators/database.rb:200 def build_package; end - # source://railties//lib/rails/generators/database.rb#204 + # pkg:gem/railties#lib/rails/generators/database.rb:204 def feature_name; end - # source://railties//lib/rails/generators/database.rb#192 + # pkg:gem/railties#lib/rails/generators/database.rb:192 def gem; end - # source://railties//lib/rails/generators/database.rb#167 + # pkg:gem/railties#lib/rails/generators/database.rb:167 def name; end - # source://railties//lib/rails/generators/database.rb#188 + # pkg:gem/railties#lib/rails/generators/database.rb:188 def port; end - # source://railties//lib/rails/generators/database.rb#175 + # pkg:gem/railties#lib/rails/generators/database.rb:175 def service; end - # source://railties//lib/rails/generators/database.rb#171 + # pkg:gem/railties#lib/rails/generators/database.rb:171 def template; end end -# source://railties//lib/rails/generators/database.rb#233 +# pkg:gem/railties#lib/rails/generators/database.rb:233 class Rails::Generators::Database::SQLite3 < ::Rails::Generators::Database - # source://railties//lib/rails/generators/database.rb#254 + # pkg:gem/railties#lib/rails/generators/database.rb:254 def base_package; end - # source://railties//lib/rails/generators/database.rb#258 + # pkg:gem/railties#lib/rails/generators/database.rb:258 def build_package; end - # source://railties//lib/rails/generators/database.rb#262 + # pkg:gem/railties#lib/rails/generators/database.rb:262 def feature_name; end - # source://railties//lib/rails/generators/database.rb#250 + # pkg:gem/railties#lib/rails/generators/database.rb:250 def gem; end - # source://railties//lib/rails/generators/database.rb#234 + # pkg:gem/railties#lib/rails/generators/database.rb:234 def name; end - # source://railties//lib/rails/generators/database.rb#246 + # pkg:gem/railties#lib/rails/generators/database.rb:246 def port; end - # source://railties//lib/rails/generators/database.rb#242 + # pkg:gem/railties#lib/rails/generators/database.rb:242 def service; end - # source://railties//lib/rails/generators/database.rb#238 + # pkg:gem/railties#lib/rails/generators/database.rb:238 def template; end end -# source://railties//lib/rails/generators/database.rb#209 +# pkg:gem/railties#lib/rails/generators/database.rb:209 class Rails::Generators::Database::Trilogy < ::Rails::Generators::Database include ::Rails::Generators::Database::MySQL - # source://railties//lib/rails/generators/database.rb#220 + # pkg:gem/railties#lib/rails/generators/database.rb:220 def base_package; end - # source://railties//lib/rails/generators/database.rb#224 + # pkg:gem/railties#lib/rails/generators/database.rb:224 def build_package; end - # source://railties//lib/rails/generators/database.rb#228 + # pkg:gem/railties#lib/rails/generators/database.rb:228 def feature_name; end - # source://railties//lib/rails/generators/database.rb#216 + # pkg:gem/railties#lib/rails/generators/database.rb:216 def gem; end - # source://railties//lib/rails/generators/database.rb#212 + # pkg:gem/railties#lib/rails/generators/database.rb:212 def template; end end -# source://railties//lib/rails/generators/base.rb#14 +# pkg:gem/railties#lib/rails/generators/base.rb:14 class Rails::Generators::Error < ::Thor::Error; end -# source://railties//lib/rails/generators/generated_attribute.rb#8 +# pkg:gem/railties#lib/rails/generators/generated_attribute.rb:8 class Rails::Generators::GeneratedAttribute # @return [GeneratedAttribute] a new instance of GeneratedAttribute # - # source://railties//lib/rails/generators/generated_attribute.rb#114 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:114 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#216 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:216 def attachment?; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#220 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:220 def attachments?; end # Returns the value of attribute attr_options. # - # source://railties//lib/rails/generators/generated_attribute.rb#32 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:32 def attr_options; end - # source://railties//lib/rails/generators/generated_attribute.rb#176 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:176 def column_name; end - # source://railties//lib/rails/generators/generated_attribute.rb#138 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:138 def default; end - # source://railties//lib/rails/generators/generated_attribute.rb#122 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:122 def field_type; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#180 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:180 def foreign_key?; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#196 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:196 def has_index?; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#200 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:200 def has_uniq_index?; end - # source://railties//lib/rails/generators/generated_attribute.rb#164 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:164 def human_name; end - # source://railties//lib/rails/generators/generated_attribute.rb#168 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:168 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#33 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:33 def index_name=(_arg0); end - # source://railties//lib/rails/generators/generated_attribute.rb#232 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:232 def inject_index_options; end - # source://railties//lib/rails/generators/generated_attribute.rb#228 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:228 def inject_options; end # Returns the value of attribute name. # - # source://railties//lib/rails/generators/generated_attribute.rb#31 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:31 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#31 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:31 def name=(_arg0); end - # source://railties//lib/rails/generators/generated_attribute.rb#236 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:236 def options_for_migration; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#204 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:204 def password_digest?; end - # source://railties//lib/rails/generators/generated_attribute.rb#156 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:156 def plural_name; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#188 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:188 def polymorphic?; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#184 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:184 def reference?; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#192 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:192 def required?; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#212 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:212 def rich_text?; end - # source://railties//lib/rails/generators/generated_attribute.rb#160 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:160 def singular_name; end - # source://railties//lib/rails/generators/generated_attribute.rb#248 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:248 def to_s; end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#208 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:208 def token?; end # Returns the value of attribute type. # - # source://railties//lib/rails/generators/generated_attribute.rb#31 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:31 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#31 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:31 def type=(_arg0); end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#224 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:224 def virtual?; end private - # source://railties//lib/rails/generators/generated_attribute.rb#259 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:259 def print_attribute_options; end class << self # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#68 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:68 def dangerous_name?(name); end - # source://railties//lib/rails/generators/generated_attribute.rb#36 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:36 def parse(column_definition); end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#83 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:83 def reference?(type); end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#79 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:79 def valid_index_type?(index_type); end # @return [Boolean] # - # source://railties//lib/rails/generators/generated_attribute.rb#73 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:73 def valid_type?(type); end private @@ -4759,46 +4759,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#90 + # pkg:gem/railties#lib/rails/generators/generated_attribute.rb:90 def parse_type_and_options(type); end end end -# source://railties//lib/rails/generators/generated_attribute.rb#11 +# pkg:gem/railties#lib/rails/generators/generated_attribute.rb:11 Rails::Generators::GeneratedAttribute::DEFAULT_TYPES = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/generators/generated_attribute.rb#9 +# pkg:gem/railties#lib/rails/generators/generated_attribute.rb:9 Rails::Generators::GeneratedAttribute::INDEX_OPTIONS = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/generators/generated_attribute.rb#10 +# pkg:gem/railties#lib/rails/generators/generated_attribute.rb:10 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#10 +# pkg:gem/railties#lib/rails/generators/migration.rb:10 module Rails::Generators::Migration extend ::ActiveSupport::Concern mixes_in_class_methods ::Rails::Generators::Migration::ClassMethods - # source://railties//lib/rails/generators/migration.rb#34 + # pkg:gem/railties#lib/rails/generators/migration.rb:34 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#12 + # pkg:gem/railties#lib/rails/generators/migration.rb:12 def migration_class_name; end # Returns the value of attribute migration_file_name. # - # source://railties//lib/rails/generators/migration.rb#12 + # pkg:gem/railties#lib/rails/generators/migration.rb:12 def migration_file_name; end # Returns the value of attribute migration_number. # - # source://railties//lib/rails/generators/migration.rb#12 + # pkg:gem/railties#lib/rails/generators/migration.rb:12 def migration_number; end # Creates a migration template at the given destination. The difference @@ -4810,219 +4810,219 @@ module Rails::Generators::Migration # # migration_template "migration.rb", "db/migrate/add_foo_to_bar.rb" # - # source://railties//lib/rails/generators/migration.rb#55 + # pkg:gem/railties#lib/rails/generators/migration.rb:55 def migration_template(source, destination, config = T.unsafe(nil)); end - # source://railties//lib/rails/generators/migration.rb#38 + # pkg:gem/railties#lib/rails/generators/migration.rb:38 def set_migration_assigns!(destination); end end -# source://railties//lib/rails/generators/migration.rb#14 +# pkg:gem/railties#lib/rails/generators/migration.rb:14 module Rails::Generators::Migration::ClassMethods - # source://railties//lib/rails/generators/migration.rb#23 + # pkg:gem/railties#lib/rails/generators/migration.rb:23 def current_migration_number(dirname); end # @return [Boolean] # - # source://railties//lib/rails/generators/migration.rb#19 + # pkg:gem/railties#lib/rails/generators/migration.rb:19 def migration_exists?(dirname, file_name); end - # source://railties//lib/rails/generators/migration.rb#15 + # pkg:gem/railties#lib/rails/generators/migration.rb:15 def migration_lookup_at(dirname); end # @raise [NotImplementedError] # - # source://railties//lib/rails/generators/migration.rb#29 + # pkg:gem/railties#lib/rails/generators/migration.rb:29 def next_migration_number(dirname); end end -# source://railties//lib/rails/generators/model_helpers.rb#7 +# pkg:gem/railties#lib/rails/generators/model_helpers.rb:7 module Rails::Generators::ModelHelpers - # source://railties//lib/rails/generators/model_helpers.rb#26 + # pkg:gem/railties#lib/rails/generators/model_helpers.rb:26 def initialize(args, *_options); end - # source://railties//lib/rails/generators/model_helpers.rb#19 + # pkg:gem/railties#lib/rails/generators/model_helpers.rb:19 def skip_warn; end - # source://railties//lib/rails/generators/model_helpers.rb#19 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/model_helpers.rb:56 def inflection_impossible?(name); end # @return [Boolean] # - # source://railties//lib/rails/generators/model_helpers.rb#52 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/model_helpers.rb:21 def included(base); end - # source://railties//lib/rails/generators/model_helpers.rb#19 + # pkg:gem/railties#lib/rails/generators/model_helpers.rb:19 def skip_warn; end - # source://railties//lib/rails/generators/model_helpers.rb#19 + # pkg:gem/railties#lib/rails/generators/model_helpers.rb:19 def skip_warn=(val); end end end -# source://railties//lib/rails/generators/model_helpers.rb#14 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:11 def initialize(args, *options); end # Returns the value of attribute file_name. # - # source://railties//lib/rails/generators/named_base.rb#35 + # pkg:gem/railties#lib/rails/generators/named_base.rb:35 def file_name; end - # source://railties//lib/rails/generators/named_base.rb#29 + # pkg:gem/railties#lib/rails/generators/named_base.rb:29 def js_template(source, destination); end - # source://railties//lib/rails/generators/named_base.rb#9 + # pkg:gem/railties#lib/rails/generators/named_base.rb:9 def name; end - # source://railties//lib/rails/generators/named_base.rb#9 + # pkg:gem/railties#lib/rails/generators/named_base.rb:9 def name=(_arg0); end - # source://railties//lib/rails/generators/named_base.rb#23 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:138 def application_name; end - # source://railties//lib/rails/generators/named_base.rb#175 + # pkg:gem/railties#lib/rails/generators/named_base.rb:175 def assign_names!(name); end - # source://railties//lib/rails/generators/named_base.rb#188 + # pkg:gem/railties#lib/rails/generators/named_base.rb:188 def attributes_names; end - # source://railties//lib/rails/generators/named_base.rb#70 + # pkg:gem/railties#lib/rails/generators/named_base.rb:70 def class_name; end - # source://railties//lib/rails/generators/named_base.rb#58 + # pkg:gem/railties#lib/rails/generators/named_base.rb:58 def class_path; end - # source://railties//lib/rails/generators/named_base.rb#105 + # pkg:gem/railties#lib/rails/generators/named_base.rb:105 def edit_helper(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/generators/named_base.rb#54 + # pkg:gem/railties#lib/rails/generators/named_base.rb:54 def file_path; end - # source://railties//lib/rails/generators/named_base.rb#125 + # pkg:gem/railties#lib/rails/generators/named_base.rb:125 def fixture_file_name; end - # source://railties//lib/rails/generators/named_base.rb#74 + # pkg:gem/railties#lib/rails/generators/named_base.rb:74 def human_name; end - # source://railties//lib/rails/generators/named_base.rb#82 + # pkg:gem/railties#lib/rails/generators/named_base.rb:82 def i18n_scope; end - # source://railties//lib/rails/generators/named_base.rb#97 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:43 def inside_template; end # @return [Boolean] # - # source://railties//lib/rails/generators/named_base.rb#50 + # pkg:gem/railties#lib/rails/generators/named_base.rb:50 def inside_template?; end - # source://railties//lib/rails/generators/named_base.rb#150 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:200 def mountable_engine?; end - # source://railties//lib/rails/generators/named_base.rb#66 + # pkg:gem/railties#lib/rails/generators/named_base.rb:66 def namespaced_class_path; end - # source://railties//lib/rails/generators/named_base.rb#109 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:182 def parse_attributes!; end - # source://railties//lib/rails/generators/named_base.rb#121 + # pkg:gem/railties#lib/rails/generators/named_base.rb:121 def plural_file_name; end - # source://railties//lib/rails/generators/named_base.rb#78 + # pkg:gem/railties#lib/rails/generators/named_base.rb:78 def plural_name; end - # source://railties//lib/rails/generators/named_base.rb#167 + # pkg:gem/railties#lib/rails/generators/named_base.rb:167 def plural_route_name; end - # source://railties//lib/rails/generators/named_base.rb#117 + # pkg:gem/railties#lib/rails/generators/named_base.rb:117 def plural_table_name; end # @return [Boolean] # - # source://railties//lib/rails/generators/named_base.rb#196 + # pkg:gem/railties#lib/rails/generators/named_base.rb:196 def pluralize_table_names?; end - # source://railties//lib/rails/generators/named_base.rb#146 + # pkg:gem/railties#lib/rails/generators/named_base.rb:146 def redirect_resource_name; end - # source://railties//lib/rails/generators/named_base.rb#62 + # pkg:gem/railties#lib/rails/generators/named_base.rb:62 def regular_class_path; end - # source://railties//lib/rails/generators/named_base.rb#129 + # pkg:gem/railties#lib/rails/generators/named_base.rb:129 def route_url; end - # source://railties//lib/rails/generators/named_base.rb#101 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:39 def singular_name; end - # source://railties//lib/rails/generators/named_base.rb#159 + # pkg:gem/railties#lib/rails/generators/named_base.rb:159 def singular_route_name; end - # source://railties//lib/rails/generators/named_base.rb#113 + # pkg:gem/railties#lib/rails/generators/named_base.rb:113 def singular_table_name; end - # source://railties//lib/rails/generators/named_base.rb#86 + # pkg:gem/railties#lib/rails/generators/named_base.rb:86 def table_name; end # @return [Boolean] # - # source://railties//lib/rails/generators/named_base.rb#93 + # pkg:gem/railties#lib/rails/generators/named_base.rb:93 def uncountable?; end - # source://railties//lib/rails/generators/named_base.rb#133 + # pkg:gem/railties#lib/rails/generators/named_base.rb:133 def url_helper_prefix; end class << self @@ -5036,7 +5036,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 + # pkg:gem/railties#lib/rails/generators/named_base.rb:214 def check_class_collision(options = T.unsafe(nil)); end end end @@ -5044,62 +5044,62 @@ end # We need to store the RAILS_DEV_PATH in a constant, otherwise the path # can change when we FileUtils.cd. # -# source://railties//lib/rails/generators.rb#65 +# pkg:gem/railties#lib/rails/generators.rb:65 Rails::Generators::RAILS_DEV_PATH = T.let(T.unsafe(nil), String) # Deal with controller names on scaffold and add some helpers to deal with # ActiveModel. # -# source://railties//lib/rails/generators/resource_helpers.rb#10 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/resource_helpers.rb:17 def initialize(*args); end private - # source://railties//lib/rails/generators/resource_helpers.rb#39 + # pkg:gem/railties#lib/rails/generators/resource_helpers.rb:39 def assign_controller_names!(name); end - # source://railties//lib/rails/generators/resource_helpers.rb#50 + # pkg:gem/railties#lib/rails/generators/resource_helpers.rb:50 def controller_class_name; end - # source://railties//lib/rails/generators/resource_helpers.rb#31 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/resource_helpers.rb:29 def controller_file_name; end - # source://railties//lib/rails/generators/resource_helpers.rb#46 + # pkg:gem/railties#lib/rails/generators/resource_helpers.rb:46 def controller_file_path; end - # source://railties//lib/rails/generators/resource_helpers.rb#54 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/resource_helpers.rb:11 def included(base); end end end @@ -5121,7 +5121,7 @@ end # setup :prepare_destination # end # -# source://railties//lib/rails/generators/test_case.rb#30 +# pkg:gem/railties#lib/rails/generators/test_case.rb:30 class Rails::Generators::TestCase < ::ActiveSupport::TestCase include ::ActiveSupport::Testing::Stream include ::Rails::Generators::Testing::Behavior @@ -5131,111 +5131,111 @@ class Rails::Generators::TestCase < ::ActiveSupport::TestCase include ::FileUtils extend ::Rails::Generators::Testing::Behavior::ClassMethods - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def current_path; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def current_path=(_arg0); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def current_path?; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def default_arguments; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def default_arguments=(_arg0); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def default_arguments?; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def destination_root; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def destination_root=(_arg0); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def destination_root?; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def generator_class; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def generator_class=(_arg0); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def generator_class?; end class << self - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def current_path; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def current_path=(value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def current_path?; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def default_arguments; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def default_arguments=(value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def default_arguments?; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def destination_root; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def destination_root=(value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def destination_root?; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def generator_class; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def generator_class=(value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def generator_class?; end private - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_current_path; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_current_path=(new_value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_default_arguments; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_default_arguments=(new_value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_destination_root; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_destination_root=(new_value); end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_generator_class; end - # source://railties//lib/rails/generators/test_case.rb#31 + # pkg:gem/railties#lib/rails/generators/test_case.rb:31 def __class_attr_generator_class=(new_value); end end end -# source://railties//lib/rails/generators/testing/behavior.rb#10 +# pkg:gem/railties#lib/rails/generators/testing/behavior.rb:10 module Rails::Generators::Testing; end -# source://railties//lib/rails/generators/testing/assertions.rb#6 +# pkg:gem/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.". @@ -5247,7 +5247,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#88 + # pkg:gem/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 @@ -5269,14 +5269,14 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#41 + # pkg:gem/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 + # pkg:gem/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 @@ -5284,7 +5284,7 @@ module Rails::Generators::Testing::Assertions # # assert_field_type :date, :date_select # - # source://railties//lib/rails/generators/testing/assertions.rb#110 + # pkg:gem/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 @@ -5306,7 +5306,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#25 + # pkg:gem/railties#lib/rails/generators/testing/assertions.rb:25 def assert_file(relative, *contents); end # Asserts a given initializer exists. You need to supply a path relative @@ -5326,7 +5326,7 @@ module Rails::Generators::Testing::Assertions # assert_match(/SandboxEmailInterceptor/, initializer) # end # - # source://railties//lib/rails/generators/testing/assertions.rb#141 + # pkg:gem/railties#lib/rails/generators/testing/assertions.rb:141 def assert_initializer(name, *contents, &block); end # Asserts the given method exists in the given content. When a block is given, @@ -5338,7 +5338,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#100 + # pkg:gem/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, @@ -5350,7 +5350,7 @@ module Rails::Generators::Testing::Assertions # end # end # - # source://railties//lib/rails/generators/testing/assertions.rb#104 + # pkg:gem/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 @@ -5365,7 +5365,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 + # pkg:gem/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 @@ -5373,7 +5373,7 @@ module Rails::Generators::Testing::Assertions # # assert_no_file "config/random.rb" # - # source://railties//lib/rails/generators/testing/assertions.rb#51 + # pkg:gem/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 @@ -5381,7 +5381,7 @@ module Rails::Generators::Testing::Assertions # # assert_no_file "config/random.rb" # - # source://railties//lib/rails/generators/testing/assertions.rb#47 + # pkg:gem/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 @@ -5389,11 +5389,11 @@ module Rails::Generators::Testing::Assertions # # assert_no_migration "db/migrate/create_products.rb" # - # source://railties//lib/rails/generators/testing/assertions.rb#74 + # pkg:gem/railties#lib/rails/generators/testing/assertions.rb:74 def assert_no_migration(relative); end end -# source://railties//lib/rails/generators/testing/behavior.rb#11 +# pkg:gem/railties#lib/rails/generators/testing/behavior.rb:11 module Rails::Generators::Testing::Behavior include ::ActiveSupport::Testing::Stream extend ::ActiveSupport::Concern @@ -5407,12 +5407,12 @@ module Rails::Generators::Testing::Behavior # # create_generated_attribute(:string, "name") # - # source://railties//lib/rails/generators/testing/behavior.rb#86 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:86 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#78 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:78 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 @@ -5432,25 +5432,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#64 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:64 def run_generator(args = T.unsafe(nil), config = T.unsafe(nil)); end private # @return [Boolean] # - # source://railties//lib/rails/generators/testing/behavior.rb#91 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:91 def destination_root_is_set?; end - # source://railties//lib/rails/generators/testing/behavior.rb#95 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:95 def ensure_current_path; end - # source://railties//lib/rails/generators/testing/behavior.rb#105 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:105 def migration_file_name(relative); end # Clears all files and directories in destination. # - # source://railties//lib/rails/generators/testing/behavior.rb#100 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:100 def prepare_destination; end module GeneratedClassMethods @@ -5484,37 +5484,37 @@ module Rails::Generators::Testing::Behavior end end -# source://railties//lib/rails/generators/testing/behavior.rb#24 +# pkg:gem/railties#lib/rails/generators/testing/behavior.rb:24 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#36 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:36 def arguments(array); end # Sets the destination of generator files: # # destination File.expand_path("../tmp", __dir__) # - # source://railties//lib/rails/generators/testing/behavior.rb#43 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:43 def destination(path); end # Sets which generator should be tested: # # tests AppGenerator # - # source://railties//lib/rails/generators/testing/behavior.rb#28 + # pkg:gem/railties#lib/rails/generators/testing/behavior.rb:28 def tests(klass); end end -# source://railties//lib/rails/generators/testing/setup_and_teardown.rb#6 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/generators/testing/setup_and_teardown.rb:7 def setup; end - # source://railties//lib/rails/generators/testing/setup_and_teardown.rb#13 + # pkg:gem/railties#lib/rails/generators/testing/setup_and_teardown.rb:13 def teardown; end end @@ -5550,44 +5550,44 @@ end # bad. Ideally, you should design your application to handle those outages # gracefully. # -# source://railties//lib/rails/health_controller.rb#37 +# pkg:gem/railties#lib/rails/health_controller.rb:37 class Rails::HealthController < ::ActionController::Base - # source://railties//lib/rails/health_controller.rb#40 + # pkg:gem/railties#lib/rails/health_controller.rb:40 def show; end private - # source://railties//lib/rails/health_controller.rb#37 + # pkg:gem/railties#lib/rails/health_controller.rb:37 def _layout(lookup_context, formats, keys); end - # source://railties//lib/rails/health_controller.rb#59 + # pkg:gem/railties#lib/rails/health_controller.rb:59 def html_status(color:); end - # source://railties//lib/rails/health_controller.rb#52 + # pkg:gem/railties#lib/rails/health_controller.rb:52 def render_down; end - # source://railties//lib/rails/health_controller.rb#45 + # pkg:gem/railties#lib/rails/health_controller.rb:45 def render_up; end class << self private - # source://railties//lib/rails/health_controller.rb#37 + # pkg:gem/railties#lib/rails/health_controller.rb:37 def __class_attr_config; end - # source://railties//lib/rails/health_controller.rb#37 + # pkg:gem/railties#lib/rails/health_controller.rb:37 def __class_attr_config=(new_value); end - # source://railties//lib/rails/health_controller.rb#37 + # pkg:gem/railties#lib/rails/health_controller.rb:37 def __class_attr_middleware_stack; end - # source://railties//lib/rails/health_controller.rb#37 + # pkg:gem/railties#lib/rails/health_controller.rb:37 def __class_attr_middleware_stack=(new_value); end - # source://railties//lib/rails/health_controller.rb#38 + # pkg:gem/railties#lib/rails/health_controller.rb:38 def __class_attr_rescue_handlers; end - # source://railties//lib/rails/health_controller.rb#38 + # pkg:gem/railties#lib/rails/health_controller.rb:38 def __class_attr_rescue_handlers=(new_value); end end end @@ -5596,437 +5596,437 @@ end # Rails::InfoController responses. These include the active \Rails version, # Ruby version, Rack version, and so on. # -# source://railties//lib/rails/info.rb#9 +# pkg:gem/railties#lib/rails/info.rb:9 module Rails::Info - # source://railties//lib/rails/info.rb#10 + # pkg:gem/railties#lib/rails/info.rb:10 def properties; end - # source://railties//lib/rails/info.rb#10 + # pkg:gem/railties#lib/rails/info.rb:10 def properties=(val); end class << self - # source://railties//lib/rails/info.rb#41 + # pkg:gem/railties#lib/rails/info.rb:41 def inspect; end - # source://railties//lib/rails/info.rb#10 + # pkg:gem/railties#lib/rails/info.rb:10 def properties; end - # source://railties//lib/rails/info.rb#10 + # pkg:gem/railties#lib/rails/info.rb:10 def properties=(val); end - # source://railties//lib/rails/info.rb#25 + # pkg:gem/railties#lib/rails/info.rb:25 def property(name, value = T.unsafe(nil)); end - # source://railties//lib/rails/info.rb#43 + # pkg:gem/railties#lib/rails/info.rb:43 def to_html; end - # source://railties//lib/rails/info.rb#31 + # pkg:gem/railties#lib/rails/info.rb:31 def to_s; end end end -# source://railties//lib/rails/info_controller.rb#6 +# pkg:gem/railties#lib/rails/info_controller.rb:6 class Rails::InfoController < ::Rails::ApplicationController - # source://railties//lib/rails/info_controller.rb#12 + # pkg:gem/railties#lib/rails/info_controller.rb:12 def index; end - # source://railties//lib/rails/info_controller.rb#35 + # pkg:gem/railties#lib/rails/info_controller.rb:35 def notes; end - # source://railties//lib/rails/info_controller.rb#16 + # pkg:gem/railties#lib/rails/info_controller.rb:16 def properties; end - # source://railties//lib/rails/info_controller.rb#21 + # pkg:gem/railties#lib/rails/info_controller.rb:21 def routes; end private - # source://railties//lib/rails/info_controller.rb#6 + # pkg:gem/railties#lib/rails/info_controller.rb:6 def _layout(lookup_context, formats, keys); end - # source://railties//lib/rails/info_controller.rb#8 + # pkg:gem/railties#lib/rails/info_controller.rb:8 def _layout_from_proc; end - # source://railties//lib/rails/info_controller.rb#43 + # pkg:gem/railties#lib/rails/info_controller.rb:43 def matching_routes(query:, exact_match:); end class << self private - # source://railties//lib/rails/info_controller.rb#10 + # pkg:gem/railties#lib/rails/info_controller.rb:10 def __class_attr___callbacks; end - # source://railties//lib/rails/info_controller.rb#10 + # pkg:gem/railties#lib/rails/info_controller.rb:10 def __class_attr___callbacks=(new_value); end - # source://railties//lib/rails/info_controller.rb#8 + # pkg:gem/railties#lib/rails/info_controller.rb:8 def __class_attr__layout; end - # source://railties//lib/rails/info_controller.rb#8 + # pkg:gem/railties#lib/rails/info_controller.rb:8 def __class_attr__layout=(new_value); end - # source://railties//lib/rails/info_controller.rb#8 + # pkg:gem/railties#lib/rails/info_controller.rb:8 def __class_attr__layout_conditions; end - # source://railties//lib/rails/info_controller.rb#8 + # pkg:gem/railties#lib/rails/info_controller.rb:8 def __class_attr__layout_conditions=(new_value); end - # source://railties//lib/rails/info_controller.rb#6 + # pkg:gem/railties#lib/rails/info_controller.rb:6 def __class_attr_config; end - # source://railties//lib/rails/info_controller.rb#6 + # pkg:gem/railties#lib/rails/info_controller.rb:6 def __class_attr_config=(new_value); end - # source://railties//lib/rails/info_controller.rb#6 + # pkg:gem/railties#lib/rails/info_controller.rb:6 def __class_attr_middleware_stack; end - # source://railties//lib/rails/info_controller.rb#6 + # pkg:gem/railties#lib/rails/info_controller.rb:6 def __class_attr_middleware_stack=(new_value); end end end -# source://railties//lib/rails/initializable.rb#6 +# pkg:gem/railties#lib/rails/initializable.rb:6 module Rails::Initializable mixes_in_class_methods ::Rails::Initializable::ClassMethods - # source://railties//lib/rails/initializable.rb#108 + # pkg:gem/railties#lib/rails/initializable.rb:108 def initializers; end - # source://railties//lib/rails/initializable.rb#100 + # pkg:gem/railties#lib/rails/initializable.rb:100 def run_initializers(group = T.unsafe(nil), *args); end class << self - # source://railties//lib/rails/initializable.rb#7 + # pkg:gem/railties#lib/rails/initializable.rb:7 def included(base); end end end -# source://railties//lib/rails/initializable.rb#112 +# pkg:gem/railties#lib/rails/initializable.rb:112 module Rails::Initializable::ClassMethods # @raise [ArgumentError] # - # source://railties//lib/rails/initializable.rb#130 + # pkg:gem/railties#lib/rails/initializable.rb:130 def initializer(name, opts = T.unsafe(nil), &blk); end - # source://railties//lib/rails/initializable.rb#113 + # pkg:gem/railties#lib/rails/initializable.rb:113 def initializers; end - # source://railties//lib/rails/initializable.rb#117 + # pkg:gem/railties#lib/rails/initializable.rb:117 def initializers_chain; end - # source://railties//lib/rails/initializable.rb#126 + # pkg:gem/railties#lib/rails/initializable.rb:126 def initializers_for(binding); end end -# source://railties//lib/rails/initializable.rb#37 +# pkg:gem/railties#lib/rails/initializable.rb:37 class Rails::Initializable::Collection include ::Enumerable include ::TSort # @return [Collection] a new instance of Collection # - # source://railties//lib/rails/initializable.rb#43 + # pkg:gem/railties#lib/rails/initializable.rb:43 def initialize(initializers = T.unsafe(nil)); end - # source://railties//lib/rails/initializable.rb#69 + # pkg:gem/railties#lib/rails/initializable.rb:69 def +(other); end - # source://railties//lib/rails/initializable.rb#73 + # pkg:gem/railties#lib/rails/initializable.rb:73 def <<(initializer); end - # source://railties//lib/rails/initializable.rb#86 + # pkg:gem/railties#lib/rails/initializable.rb:86 def append(*initializers); end - # source://railties//lib/rails/initializable.rb#88 + # pkg:gem/railties#lib/rails/initializable.rb:88 def concat(*initializer_collections); end - # source://railties//lib/rails/initializable.rb#58 + # pkg:gem/railties#lib/rails/initializable.rb:58 def each(&block); end # @return [Boolean] # - # source://railties//lib/rails/initializable.rb#95 + # pkg:gem/railties#lib/rails/initializable.rb:95 def has?(name); end - # source://railties//lib/rails/initializable.rb#54 + # pkg:gem/railties#lib/rails/initializable.rb:54 def last; end - # source://railties//lib/rails/initializable.rb#41 + # pkg:gem/railties#lib/rails/initializable.rb:41 def method_missing(method, *_arg1, **_arg2, &_arg3); end - # source://railties//lib/rails/initializable.rb#81 + # pkg:gem/railties#lib/rails/initializable.rb:81 def push(*initializers); end - # source://railties//lib/rails/initializable.rb#50 + # pkg:gem/railties#lib/rails/initializable.rb:50 def to_a; end - # source://railties//lib/rails/initializable.rb#63 + # pkg:gem/railties#lib/rails/initializable.rb:63 def tsort_each_child(initializer, &block); end - # source://railties//lib/rails/initializable.rb#62 + # pkg:gem/railties#lib/rails/initializable.rb:62 def tsort_each_node(&block); end private - # source://railties//lib/rails/initializable.rb#41 + # pkg:gem/railties#lib/rails/initializable.rb:41 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end -# source://railties//lib/rails/initializable.rb#11 +# pkg:gem/railties#lib/rails/initializable.rb:11 class Rails::Initializable::Initializer # @return [Initializer] a new instance of Initializer # - # source://railties//lib/rails/initializable.rb#14 + # pkg:gem/railties#lib/rails/initializable.rb:14 def initialize(name, context, before:, after:, group: T.unsafe(nil), &block); end # Returns the value of attribute after. # - # source://railties//lib/rails/initializable.rb#12 + # pkg:gem/railties#lib/rails/initializable.rb:12 def after; end # Returns the value of attribute before. # - # source://railties//lib/rails/initializable.rb#12 + # pkg:gem/railties#lib/rails/initializable.rb:12 def before; end # @return [Boolean] # - # source://railties//lib/rails/initializable.rb#19 + # pkg:gem/railties#lib/rails/initializable.rb:19 def belongs_to?(group); end - # source://railties//lib/rails/initializable.rb#27 + # pkg:gem/railties#lib/rails/initializable.rb:27 def bind(context); end # Returns the value of attribute block. # - # source://railties//lib/rails/initializable.rb#12 + # pkg:gem/railties#lib/rails/initializable.rb:12 def block; end - # source://railties//lib/rails/initializable.rb#32 + # pkg:gem/railties#lib/rails/initializable.rb:32 def context_class; end # Returns the value of attribute name. # - # source://railties//lib/rails/initializable.rb#12 + # pkg:gem/railties#lib/rails/initializable.rb:12 def name; end - # source://railties//lib/rails/initializable.rb#23 + # pkg:gem/railties#lib/rails/initializable.rb:23 def run(*args); end end -# source://railties//lib/rails/test_unit/line_filtering.rb#6 +# pkg:gem/railties#lib/rails/test_unit/line_filtering.rb:6 module Rails::LineFiltering - # source://railties//lib/rails/test_unit/line_filtering.rb#7 + # pkg:gem/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#6 +# pkg:gem/railties#lib/rails/mailers_controller.rb:6 class Rails::MailersController < ::Rails::ApplicationController - # source://railties//lib/rails/mailers_controller.rb#22 + # pkg:gem/railties#lib/rails/mailers_controller.rb:22 def download; end - # source://railties//lib/rails/mailers_controller.rb#17 + # pkg:gem/railties#lib/rails/mailers_controller.rb:17 def index; end - # source://railties//lib/rails/mailers_controller.rb#32 + # pkg:gem/railties#lib/rails/mailers_controller.rb:32 def preview; end private - # source://railties//lib/rails/mailers_controller.rb#6 + # pkg:gem/railties#lib/rails/mailers_controller.rb:6 def _layout(lookup_context, formats, keys); end - # source://railties//lib/rails/mailers_controller.rb#107 + # pkg:gem/railties#lib/rails/mailers_controller.rb:107 def attachment_url(attachment); end - # source://railties//lib/rails/mailers_controller.rb#101 + # pkg:gem/railties#lib/rails/mailers_controller.rb:101 def attachments_for(email); end - # source://railties//lib/rails/mailers_controller.rb#93 + # pkg:gem/railties#lib/rails/mailers_controller.rb:93 def find_part(format); end - # source://railties//lib/rails/mailers_controller.rb#81 + # pkg:gem/railties#lib/rails/mailers_controller.rb:81 def find_preferred_part(*formats); end - # source://railties//lib/rails/mailers_controller.rb#69 + # pkg:gem/railties#lib/rails/mailers_controller.rb:69 def find_preview; end - # source://railties//lib/rails/mailers_controller.rb#115 + # pkg:gem/railties#lib/rails/mailers_controller.rb:115 def locale_query(locale); end - # source://railties//lib/rails/mailers_controller.rb#111 + # pkg:gem/railties#lib/rails/mailers_controller.rb:111 def part_query(mime_type); end - # source://railties//lib/rails/mailers_controller.rb#119 + # pkg:gem/railties#lib/rails/mailers_controller.rb:119 def set_locale(&block); end # @return [Boolean] # - # source://railties//lib/rails/mailers_controller.rb#65 + # pkg:gem/railties#lib/rails/mailers_controller.rb:65 def show_previews?; end class << self private - # source://railties//lib/rails/mailers_controller.rb#9 + # pkg:gem/railties#lib/rails/mailers_controller.rb:9 def __class_attr___callbacks; end - # source://railties//lib/rails/mailers_controller.rb#9 + # pkg:gem/railties#lib/rails/mailers_controller.rb:9 def __class_attr___callbacks=(new_value); end - # source://railties//lib/rails/mailers_controller.rb#13 + # pkg:gem/railties#lib/rails/mailers_controller.rb:13 def __class_attr__helper_methods; end - # source://railties//lib/rails/mailers_controller.rb#13 + # pkg:gem/railties#lib/rails/mailers_controller.rb:13 def __class_attr__helper_methods=(new_value); end - # source://railties//lib/rails/mailers_controller.rb#6 + # pkg:gem/railties#lib/rails/mailers_controller.rb:6 def __class_attr_config; end - # source://railties//lib/rails/mailers_controller.rb#6 + # pkg:gem/railties#lib/rails/mailers_controller.rb:6 def __class_attr_config=(new_value); end - # source://railties//lib/rails/mailers_controller.rb#6 + # pkg:gem/railties#lib/rails/mailers_controller.rb:6 def __class_attr_middleware_stack; end - # source://railties//lib/rails/mailers_controller.rb#6 + # pkg:gem/railties#lib/rails/mailers_controller.rb:6 def __class_attr_middleware_stack=(new_value); end end end -# source://railties//lib/rails/mailers_controller.rb#13 +# pkg:gem/railties#lib/rails/mailers_controller.rb:13 module Rails::MailersController::HelperMethods include ::ActionText::ContentHelper include ::ActionText::TagHelper include ::ActionController::Base::HelperMethods - # source://railties//lib/rails/mailers_controller.rb#13 + # pkg:gem/railties#lib/rails/mailers_controller.rb:13 def attachment_url(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/mailers_controller.rb#13 + # pkg:gem/railties#lib/rails/mailers_controller.rb:13 def locale_query(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/mailers_controller.rb#13 + # pkg:gem/railties#lib/rails/mailers_controller.rb:13 def part_query(*_arg0, **_arg1, &_arg2); end end -# source://railties//lib/rails/paths.rb#6 +# pkg:gem/railties#lib/rails/paths.rb:6 module Rails::Paths; end -# source://railties//lib/rails/paths.rb#114 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/paths.rb:119 def initialize(root, current, paths, options = T.unsafe(nil)); end - # source://railties//lib/rails/paths.rb#171 + # pkg:gem/railties#lib/rails/paths.rb:171 def <<(path); end - # source://railties//lib/rails/paths.rb#132 + # pkg:gem/railties#lib/rails/paths.rb:132 def absolute_current; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def autoload!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def autoload?; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def autoload_once!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def autoload_once?; end - # source://railties//lib/rails/paths.rb#136 + # pkg:gem/railties#lib/rails/paths.rb:136 def children; end - # source://railties//lib/rails/paths.rb#176 + # pkg:gem/railties#lib/rails/paths.rb:176 def concat(paths); end - # source://railties//lib/rails/paths.rb#167 + # pkg:gem/railties#lib/rails/paths.rb:167 def each(&block); end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def eager_load!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/paths.rb:220 def existent; end - # source://railties//lib/rails/paths.rb#231 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/paths.rb:201 def expanded; end - # source://railties//lib/rails/paths.rb#196 + # pkg:gem/railties#lib/rails/paths.rb:196 def extensions; end - # source://railties//lib/rails/paths.rb#143 + # pkg:gem/railties#lib/rails/paths.rb:143 def first; end # Returns the value of attribute glob. # - # source://railties//lib/rails/paths.rb#117 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/paths.rb:117 def glob=(_arg0); end - # source://railties//lib/rails/paths.rb#147 + # pkg:gem/railties#lib/rails/paths.rb:147 def last; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def load_path!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def load_path?; end - # source://railties//lib/rails/paths.rb#188 + # pkg:gem/railties#lib/rails/paths.rb:188 def paths; end - # source://railties//lib/rails/paths.rb#174 + # pkg:gem/railties#lib/rails/paths.rb:174 def push(path); end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def skip_autoload!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def skip_autoload_once!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/railties#lib/rails/paths.rb:152 def skip_eager_load!; end - # source://railties//lib/rails/paths.rb#152 + # pkg:gem/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#235 + # pkg:gem/railties#lib/rails/paths.rb:235 def to_a; end - # source://railties//lib/rails/paths.rb#184 + # pkg:gem/railties#lib/rails/paths.rb:184 def to_ary; end - # source://railties//lib/rails/paths.rb#180 + # pkg:gem/railties#lib/rails/paths.rb:180 def unshift(*paths); end private - # source://railties//lib/rails/paths.rb#238 + # pkg:gem/railties#lib/rails/paths.rb:238 def files_in(path); end end @@ -6075,101 +6075,101 @@ end # # Check the Rails::Paths::Path documentation for more information. # -# source://railties//lib/rails/paths.rb#51 +# pkg:gem/railties#lib/rails/paths.rb:51 class Rails::Paths::Root # @return [Root] a new instance of Root # - # source://railties//lib/rails/paths.rb#54 + # pkg:gem/railties#lib/rails/paths.rb:54 def initialize(path); end - # source://railties//lib/rails/paths.rb#69 + # pkg:gem/railties#lib/rails/paths.rb:69 def [](path); end - # source://railties//lib/rails/paths.rb#59 + # pkg:gem/railties#lib/rails/paths.rb:59 def []=(path, value); end - # source://railties//lib/rails/paths.rb#64 + # pkg:gem/railties#lib/rails/paths.rb:64 def add(path, options = T.unsafe(nil)); end - # source://railties//lib/rails/paths.rb#85 + # pkg:gem/railties#lib/rails/paths.rb:85 def all_paths; end - # source://railties//lib/rails/paths.rb#89 + # pkg:gem/railties#lib/rails/paths.rb:89 def autoload_once; end - # source://railties//lib/rails/paths.rb#97 + # pkg:gem/railties#lib/rails/paths.rb:97 def autoload_paths; end - # source://railties//lib/rails/paths.rb#93 + # pkg:gem/railties#lib/rails/paths.rb:93 def eager_load; end - # source://railties//lib/rails/paths.rb#77 + # pkg:gem/railties#lib/rails/paths.rb:77 def keys; end - # source://railties//lib/rails/paths.rb#101 + # pkg:gem/railties#lib/rails/paths.rb:101 def load_paths; end # Returns the value of attribute path. # - # source://railties//lib/rails/paths.rb#52 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/paths.rb:52 def path=(_arg0); end - # source://railties//lib/rails/paths.rb#73 + # pkg:gem/railties#lib/rails/paths.rb:73 def values; end - # source://railties//lib/rails/paths.rb#81 + # pkg:gem/railties#lib/rails/paths.rb:81 def values_at(*list); end private - # source://railties//lib/rails/paths.rb#106 + # pkg:gem/railties#lib/rails/paths.rb:106 def filter_by(&block); end end -# source://railties//lib/rails/pwa_controller.rb#5 +# pkg:gem/railties#lib/rails/pwa_controller.rb:5 class Rails::PwaController < ::Rails::ApplicationController - # source://railties//lib/rails/pwa_controller.rb#12 + # pkg:gem/railties#lib/rails/pwa_controller.rb:12 def manifest; end - # source://railties//lib/rails/pwa_controller.rb#8 + # pkg:gem/railties#lib/rails/pwa_controller.rb:8 def service_worker; end private - # source://railties//lib/rails/pwa_controller.rb#5 + # pkg:gem/railties#lib/rails/pwa_controller.rb:5 def _layout(lookup_context, formats, keys); end class << self private - # source://railties//lib/rails/pwa_controller.rb#6 + # pkg:gem/railties#lib/rails/pwa_controller.rb:6 def __class_attr___callbacks; end - # source://railties//lib/rails/pwa_controller.rb#6 + # pkg:gem/railties#lib/rails/pwa_controller.rb:6 def __class_attr___callbacks=(new_value); end - # source://railties//lib/rails/pwa_controller.rb#5 + # pkg:gem/railties#lib/rails/pwa_controller.rb:5 def __class_attr_config; end - # source://railties//lib/rails/pwa_controller.rb#5 + # pkg:gem/railties#lib/rails/pwa_controller.rb:5 def __class_attr_config=(new_value); end - # source://railties//lib/rails/pwa_controller.rb#5 + # pkg:gem/railties#lib/rails/pwa_controller.rb:5 def __class_attr_middleware_stack; end - # source://railties//lib/rails/pwa_controller.rb#5 + # pkg:gem/railties#lib/rails/pwa_controller.rb:5 def __class_attr_middleware_stack=(new_value); end end end -# source://railties//lib/rails/rack.rb#4 +# pkg:gem/railties#lib/rails/rack.rb:4 module Rails::Rack; end # Sets log tags, logs the request, calls the app, and flushes the logs. @@ -6178,33 +6178,33 @@ 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 +# pkg:gem/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 + # pkg:gem/railties#lib/rails/rack/logger.rb:15 def initialize(app, taggers = T.unsafe(nil)); end - # source://railties//lib/rails/rack/logger.rb#20 + # pkg:gem/railties#lib/rails/rack/logger.rb:20 def call(env); end private - # source://railties//lib/rails/rack/logger.rb#33 + # pkg:gem/railties#lib/rails/rack/logger.rb:33 def call_app(request, env); end - # source://railties//lib/rails/rack/logger.rb#64 + # pkg:gem/railties#lib/rails/rack/logger.rb:64 def compute_tags(request); end - # source://railties//lib/rails/rack/logger.rb#81 + # pkg:gem/railties#lib/rails/rack/logger.rb:81 def finish_request_instrumentation(handle, logger_tag_pop_count); end - # source://railties//lib/rails/rack/logger.rb#77 + # pkg:gem/railties#lib/rails/rack/logger.rb:77 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#56 + # pkg:gem/railties#lib/rails/rack/logger.rb:56 def started_request_message(request); end end @@ -6222,14 +6222,14 @@ end # # This middleware can also be configured using `config.silence_healthcheck_path = "/up"` in Rails. # -# source://railties//lib/rails/rack/silence_request.rb#22 +# pkg:gem/railties#lib/rails/rack/silence_request.rb:22 class Rails::Rack::SilenceRequest # @return [SilenceRequest] a new instance of SilenceRequest # - # source://railties//lib/rails/rack/silence_request.rb#23 + # pkg:gem/railties#lib/rails/rack/silence_request.rb:23 def initialize(app, path:); end - # source://railties//lib/rails/rack/silence_request.rb#27 + # pkg:gem/railties#lib/rails/rack/silence_request.rb:27 def call(env); end end @@ -6360,7 +6360,7 @@ end # # Be sure to look at the documentation of those specific classes for more information. # -# source://railties//lib/rails/railtie.rb#135 +# pkg:gem/railties#lib/rails/railtie.rb:135 class Rails::Railtie include ::Rails::Initializable extend ::ActiveSupport::DescendantsTracker @@ -6368,159 +6368,159 @@ class Rails::Railtie # @return [Railtie] a new instance of Railtie # - # source://railties//lib/rails/railtie.rb#244 + # pkg:gem/railties#lib/rails/railtie.rb:244 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#261 + # pkg:gem/railties#lib/rails/railtie.rb:261 def config; end - # source://railties//lib/rails/railtie.rb#254 + # pkg:gem/railties#lib/rails/railtie.rb:254 def configure(&block); end - # source://railties//lib/rails/railtie.rb#250 + # pkg:gem/railties#lib/rails/railtie.rb:250 def inspect; end - # source://railties//lib/rails/railtie.rb#242 + # pkg:gem/railties#lib/rails/railtie.rb:242 def railtie_name(*_arg0, **_arg1, &_arg2); end - # source://railties//lib/rails/railtie.rb#265 + # pkg:gem/railties#lib/rails/railtie.rb:265 def railtie_namespace; end protected - # source://railties//lib/rails/railtie.rb#270 + # pkg:gem/railties#lib/rails/railtie.rb:270 def run_console_blocks(app); end - # source://railties//lib/rails/railtie.rb#274 + # pkg:gem/railties#lib/rails/railtie.rb:274 def run_generators_blocks(app); end - # source://railties//lib/rails/railtie.rb#278 + # pkg:gem/railties#lib/rails/railtie.rb:278 def run_runner_blocks(app); end - # source://railties//lib/rails/railtie.rb#287 + # pkg:gem/railties#lib/rails/railtie.rb:287 def run_server_blocks(app); end - # source://railties//lib/rails/railtie.rb#282 + # pkg:gem/railties#lib/rails/railtie.rb:282 def run_tasks_blocks(app); end private # run `&block` in every registered block in `#register_block_for` # - # source://railties//lib/rails/railtie.rb#293 + # pkg:gem/railties#lib/rails/railtie.rb:293 def each_registered_block(type, &block); end class << self - # source://railties//lib/rails/railtie.rb#193 + # pkg:gem/railties#lib/rails/railtie.rb:193 def <=>(other); end # @return [Boolean] # - # source://railties//lib/rails/railtie.rb#171 + # pkg:gem/railties#lib/rails/railtie.rb:171 def abstract_railtie?; end - # source://railties//lib/rails/railtie.rb#145 + # pkg:gem/railties#lib/rails/railtie.rb:145 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#189 + # pkg:gem/railties#lib/rails/railtie.rb:189 def configure(&block); end - # source://railties//lib/rails/railtie.rb#155 + # pkg:gem/railties#lib/rails/railtie.rb:155 def console(&blk); end - # source://railties//lib/rails/railtie.rb#163 + # pkg:gem/railties#lib/rails/railtie.rb:163 def generators(&blk); end # @private # - # source://railties//lib/rails/railtie.rb#197 + # pkg:gem/railties#lib/rails/railtie.rb:197 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#182 + # pkg:gem/railties#lib/rails/railtie.rb:182 def instance; end - # source://railties//lib/rails/railtie.rb#175 + # pkg:gem/railties#lib/rails/railtie.rb:175 def railtie_name(name = T.unsafe(nil)); end - # source://railties//lib/rails/railtie.rb#151 + # pkg:gem/railties#lib/rails/railtie.rb:151 def rake_tasks(&blk); end - # source://railties//lib/rails/railtie.rb#159 + # pkg:gem/railties#lib/rails/railtie.rb:159 def runner(&blk); end - # source://railties//lib/rails/railtie.rb#167 + # pkg:gem/railties#lib/rails/railtie.rb:167 def server(&blk); end - # source://railties//lib/rails/railtie.rb#147 + # pkg:gem/railties#lib/rails/railtie.rb:147 def subclasses; end protected - # source://railties//lib/rails/railtie.rb#205 + # pkg:gem/railties#lib/rails/railtie.rb:205 def increment_load_index; end # Returns the value of attribute load_index. # - # source://railties//lib/rails/railtie.rb#203 + # pkg:gem/railties#lib/rails/railtie.rb:203 def load_index; end private - # source://railties//lib/rails/railtie.rb#211 + # pkg:gem/railties#lib/rails/railtie.rb:211 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#223 + # pkg:gem/railties#lib/rails/railtie.rb:223 def method_missing(name, *_arg1, **_arg2, &_arg3); end - # source://railties//lib/rails/railtie.rb#144 + # pkg:gem/railties#lib/rails/railtie.rb:144 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#234 + # pkg:gem/railties#lib/rails/railtie.rb:234 def register_block_for(type, &blk); end # @return [Boolean] # - # source://railties//lib/rails/railtie.rb#215 + # pkg:gem/railties#lib/rails/railtie.rb:215 def respond_to_missing?(name, _); end end end -# source://railties//lib/rails/railtie.rb#141 +# pkg:gem/railties#lib/rails/railtie.rb:141 Rails::Railtie::ABSTRACT_RAILTIES = T.let(T.unsafe(nil), Array) -# source://railties//lib/rails/railtie/configuration.rb#7 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/railtie/configuration.rb:75 def after_routes_loaded(&block); end # This allows you to modify application's generators from Railties. @@ -6530,7 +6530,7 @@ class Rails::Railtie::Configuration # # @yield [@@app_generators] # - # source://railties//lib/rails/railtie/configuration.rb#47 + # pkg:gem/railties#lib/rails/railtie/configuration.rb:47 def app_generators; end # This allows you to modify the application's middlewares from Engines. @@ -6539,72 +6539,72 @@ class Rails::Railtie::Configuration # application once it is defined and the default_middlewares are # created # - # source://railties//lib/rails/railtie/configuration.rb#39 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/railtie/configuration.rb:18 def eager_load_namespaces; end # @return [Boolean] # - # source://railties//lib/rails/railtie/configuration.rb#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/railtie/configuration.rb:23 def watchable_files; end private # @return [Boolean] # - # source://railties//lib/rails/railtie/configuration.rb#95 + # pkg:gem/railties#lib/rails/railtie/configuration.rb:95 def actual_method?(key); end - # source://railties//lib/rails/railtie/configuration.rb#99 + # pkg:gem/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 + # pkg:gem/railties#lib/rails/railtie/configuration.rb:13 def eager_load_namespaces; end end end @@ -6619,23 +6619,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#21 +# pkg:gem/railties#lib/rails/source_annotation_extractor.rb:21 class Rails::SourceAnnotationExtractor # @return [SourceAnnotationExtractor] a new instance of SourceAnnotationExtractor # - # source://railties//lib/rails/source_annotation_extractor.rb#154 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:154 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#203 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:203 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#160 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:160 def find(dirs); end # Returns a hash that maps filenames under +dir+ (recursively) to arrays @@ -6643,12 +6643,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#168 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:168 def find_in(dir); end # Returns the value of attribute tag. # - # source://railties//lib/rails/source_annotation_extractor.rb#152 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:152 def tag; end class << self @@ -6667,12 +6667,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#145 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:145 def enumerate(tag = T.unsafe(nil), options = T.unsafe(nil)); end end end -# source://railties//lib/rails/source_annotation_extractor.rb#71 +# pkg:gem/railties#lib/rails/source_annotation_extractor.rb:71 class Rails::SourceAnnotationExtractor::Annotation < ::Struct # Returns a representation of the annotation that looks like this: # @@ -6681,35 +6681,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#124 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:124 def to_s(options = T.unsafe(nil)); end class << self - # source://railties//lib/rails/source_annotation_extractor.rb#72 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:72 def directories; end - # source://railties//lib/rails/source_annotation_extractor.rb#92 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:92 def extensions; end # Registers additional directories to be included # Rails::SourceAnnotationExtractor::Annotation.register_directories("spec", "another") # - # source://railties//lib/rails/source_annotation_extractor.rb#78 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:78 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#98 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:98 def register_extensions(*exts, &block); end # Registers additional tags # Rails::SourceAnnotationExtractor::Annotation.register_tags("TESTME", "DEPRECATEME") # - # source://railties//lib/rails/source_annotation_extractor.rb#88 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:88 def register_tags(*additional_tags); end - # source://railties//lib/rails/source_annotation_extractor.rb#82 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:82 def tags; end end end @@ -6717,224 +6717,224 @@ 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#24 +# pkg:gem/railties#lib/rails/source_annotation_extractor.rb:24 class Rails::SourceAnnotationExtractor::ParserExtractor < ::Struct - # source://railties//lib/rails/source_annotation_extractor.rb#26 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:26 def annotations(file); 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#59 +# pkg:gem/railties#lib/rails/source_annotation_extractor.rb:59 class Rails::SourceAnnotationExtractor::PatternExtractor < ::Struct - # source://railties//lib/rails/source_annotation_extractor.rb#60 + # pkg:gem/railties#lib/rails/source_annotation_extractor.rb:60 def annotations(file); end end -# source://railties//lib/rails/test_unit/test_parser.rb#12 +# pkg:gem/railties#lib/rails/test_unit/test_parser.rb:12 module Rails::TestUnit; end -# source://railties//lib/rails/test_unit/runner.rb#154 +# pkg:gem/railties#lib/rails/test_unit/runner.rb:154 class Rails::TestUnit::CompositeFilter # @return [CompositeFilter] a new instance of CompositeFilter # - # source://railties//lib/rails/test_unit/runner.rb#157 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:157 def initialize(runnable, filter, patterns); end # minitest uses === to find matching filters. # - # source://railties//lib/rails/test_unit/runner.rb#164 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:164 def ===(method); end # Returns the value of attribute named_filter. # - # source://railties//lib/rails/test_unit/runner.rb#155 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:155 def named_filter; end private - # source://railties//lib/rails/test_unit/runner.rb#179 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:179 def derive_line_filters(patterns); end - # source://railties//lib/rails/test_unit/runner.rb#169 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:169 def derive_named_filter(filter); end end -# source://railties//lib/rails/test_unit/runner.rb#190 +# pkg:gem/railties#lib/rails/test_unit/runner.rb:190 class Rails::TestUnit::Filter # @return [Filter] a new instance of Filter # - # source://railties//lib/rails/test_unit/runner.rb#191 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:191 def initialize(runnable, file, line_or_range); end - # source://railties//lib/rails/test_unit/runner.rb#200 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:200 def ===(method); end private - # source://railties//lib/rails/test_unit/runner.rb#212 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:212 def definition_for(method); end end -# source://railties//lib/rails/test_unit/runner.rb#12 +# pkg:gem/railties#lib/rails/test_unit/runner.rb:12 class Rails::TestUnit::InvalidTestError < ::ArgumentError # @return [InvalidTestError] a new instance of InvalidTestError # - # source://railties//lib/rails/test_unit/runner.rb#13 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:13 def initialize(path, suggestion); end - # source://railties//lib/rails/test_unit/runner.rb#20 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:20 def backtrace(*args); end end -# source://railties//lib/rails/test_unit/runner.rb#25 +# pkg:gem/railties#lib/rails/test_unit/runner.rb:25 class Rails::TestUnit::Runner - # source://railties//lib/rails/test_unit/runner.rb#28 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:28 def filters; end - # source://railties//lib/rails/test_unit/runner.rb#29 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:29 def load_test_files; end class << self - # source://railties//lib/rails/test_unit/runner.rb#32 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:32 def attach_before_load_options(opts); end - # source://railties//lib/rails/test_unit/runner.rb#87 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:87 def compose_filter(runnable, filter); end - # source://railties//lib/rails/test_unit/runner.rb#28 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:28 def filters; end - # source://railties//lib/rails/test_unit/runner.rb#29 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:29 def load_test_files; end - # source://railties//lib/rails/test_unit/runner.rb#66 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:66 def load_tests(argv); end - # source://railties//lib/rails/test_unit/runner.rb#37 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:37 def parse_options(argv); end - # source://railties//lib/rails/test_unit/runner.rb#56 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:56 def run(args = T.unsafe(nil)); end - # source://railties//lib/rails/test_unit/runner.rb#50 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:50 def run_from_rake(test_command, argv = T.unsafe(nil)); end private - # source://railties//lib/rails/test_unit/runner.rb#120 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:120 def default_test_exclude_glob; end - # source://railties//lib/rails/test_unit/runner.rb#116 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:116 def default_test_glob; end - # source://railties//lib/rails/test_unit/runner.rb#98 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:98 def extract_filters(argv); end - # source://railties//lib/rails/test_unit/runner.rb#132 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:132 def list_tests(patterns); end - # source://railties//lib/rails/test_unit/runner.rb#139 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:139 def normalize_declarative_test_filter(filter); end # @return [Boolean] # - # source://railties//lib/rails/test_unit/runner.rb#128 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:128 def path_argument?(arg); end # @return [Boolean] # - # source://railties//lib/rails/test_unit/runner.rb#124 + # pkg:gem/railties#lib/rails/test_unit/runner.rb:124 def regexp_filter?(arg); end end end -# source://railties//lib/rails/test_unit/runner.rb#27 +# pkg:gem/railties#lib/rails/test_unit/runner.rb:27 Rails::TestUnit::Runner::PATH_ARGUMENT_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://railties//lib/rails/test_unit/runner.rb#26 +# pkg:gem/railties#lib/rails/test_unit/runner.rb:26 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#15 +# pkg:gem/railties#lib/rails/test_unit/test_parser.rb:15 module Rails::TestUnit::TestParser 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#19 + # pkg:gem/railties#lib/rails/test_unit/test_parser.rb:19 def definition_for(method); end - # source://railties//lib/rails/test_unit/test_parser.rb#27 + # pkg:gem/railties#lib/rails/test_unit/test_parser.rb:27 def ranges(filepath); end end end -# source://railties//lib/rails/test_unit/railtie.rb#6 +# pkg:gem/railties#lib/rails/test_unit/railtie.rb:6 class Rails::TestUnitRailtie < ::Rails::Railtie; end -# source://railties//lib/rails/gem_version.rb#9 +# pkg:gem/railties#lib/rails/gem_version.rb:9 module Rails::VERSION; end -# source://railties//lib/rails/gem_version.rb#10 +# pkg:gem/railties#lib/rails/gem_version.rb:10 Rails::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) -# source://railties//lib/rails/gem_version.rb#11 +# pkg:gem/railties#lib/rails/gem_version.rb:11 Rails::VERSION::MINOR = T.let(T.unsafe(nil), Integer) -# source://railties//lib/rails/gem_version.rb#13 +# pkg:gem/railties#lib/rails/gem_version.rb:13 Rails::VERSION::PRE = T.let(T.unsafe(nil), T.untyped) -# source://railties//lib/rails/gem_version.rb#15 +# pkg:gem/railties#lib/rails/gem_version.rb:15 Rails::VERSION::STRING = T.let(T.unsafe(nil), String) -# source://railties//lib/rails/gem_version.rb#12 +# pkg:gem/railties#lib/rails/gem_version.rb:12 Rails::VERSION::TINY = T.let(T.unsafe(nil), Integer) -# source://railties//lib/rails/welcome_controller.rb#5 +# pkg:gem/railties#lib/rails/welcome_controller.rb:5 class Rails::WelcomeController < ::Rails::ApplicationController - # source://railties//lib/rails/welcome_controller.rb#9 + # pkg:gem/railties#lib/rails/welcome_controller.rb:9 def index; end private - # source://railties//lib/rails/welcome_controller.rb#5 + # pkg:gem/railties#lib/rails/welcome_controller.rb:5 def _layout(lookup_context, formats, keys); end class << self private - # source://railties//lib/rails/welcome_controller.rb#6 + # pkg:gem/railties#lib/rails/welcome_controller.rb:6 def __class_attr___callbacks; end - # source://railties//lib/rails/welcome_controller.rb#6 + # pkg:gem/railties#lib/rails/welcome_controller.rb:6 def __class_attr___callbacks=(new_value); end - # source://railties//lib/rails/welcome_controller.rb#7 + # pkg:gem/railties#lib/rails/welcome_controller.rb:7 def __class_attr__layout; end - # source://railties//lib/rails/welcome_controller.rb#7 + # pkg:gem/railties#lib/rails/welcome_controller.rb:7 def __class_attr__layout=(new_value); end - # source://railties//lib/rails/welcome_controller.rb#7 + # pkg:gem/railties#lib/rails/welcome_controller.rb:7 def __class_attr__layout_conditions; end - # source://railties//lib/rails/welcome_controller.rb#7 + # pkg:gem/railties#lib/rails/welcome_controller.rb:7 def __class_attr__layout_conditions=(new_value); end - # source://railties//lib/rails/welcome_controller.rb#5 + # pkg:gem/railties#lib/rails/welcome_controller.rb:5 def __class_attr_config; end - # source://railties//lib/rails/welcome_controller.rb#5 + # pkg:gem/railties#lib/rails/welcome_controller.rb:5 def __class_attr_config=(new_value); end - # source://railties//lib/rails/welcome_controller.rb#5 + # pkg:gem/railties#lib/rails/welcome_controller.rb:5 def __class_attr_middleware_stack; end - # source://railties//lib/rails/welcome_controller.rb#5 + # pkg:gem/railties#lib/rails/welcome_controller.rb:5 def __class_attr_middleware_stack=(new_value); end end end diff --git a/sorbet/rbi/gems/rainbow@3.1.1.rbi b/sorbet/rbi/gems/rainbow@3.1.1.rbi index 62c9183ee..fd0cdc584 100644 --- a/sorbet/rbi/gems/rainbow@3.1.1.rbi +++ b/sorbet/rbi/gems/rainbow@3.1.1.rbi @@ -11,319 +11,319 @@ class Object < ::BasicObject private - # source://rainbow//lib/rainbow/global.rb#23 + # pkg:gem/rainbow#lib/rainbow/global.rb:23 def Rainbow(string); end end -# source://rainbow//lib/rainbow/string_utils.rb#3 +# pkg:gem/rainbow#lib/rainbow/string_utils.rb:3 module Rainbow class << self - # source://rainbow//lib/rainbow/global.rb#10 + # pkg:gem/rainbow#lib/rainbow/global.rb:10 def enabled; end - # source://rainbow//lib/rainbow/global.rb#14 + # pkg:gem/rainbow#lib/rainbow/global.rb:14 def enabled=(value); end - # source://rainbow//lib/rainbow/global.rb#6 + # pkg:gem/rainbow#lib/rainbow/global.rb:6 def global; end - # source://rainbow//lib/rainbow.rb#6 + # pkg:gem/rainbow#lib/rainbow.rb:6 def new; end - # source://rainbow//lib/rainbow/global.rb#18 + # pkg:gem/rainbow#lib/rainbow/global.rb:18 def uncolor(string); end end end -# source://rainbow//lib/rainbow/color.rb#4 +# pkg:gem/rainbow#lib/rainbow/color.rb:4 class Rainbow::Color # Returns the value of attribute ground. # - # source://rainbow//lib/rainbow/color.rb#5 + # pkg:gem/rainbow#lib/rainbow/color.rb:5 def ground; end class << self - # source://rainbow//lib/rainbow/color.rb#7 + # pkg:gem/rainbow#lib/rainbow/color.rb:7 def build(ground, values); end - # source://rainbow//lib/rainbow/color.rb#40 + # pkg:gem/rainbow#lib/rainbow/color.rb:40 def parse_hex_color(hex); end end end -# source://rainbow//lib/rainbow/color.rb#54 +# pkg:gem/rainbow#lib/rainbow/color.rb:54 class Rainbow::Color::Indexed < ::Rainbow::Color # @return [Indexed] a new instance of Indexed # - # source://rainbow//lib/rainbow/color.rb#57 + # pkg:gem/rainbow#lib/rainbow/color.rb:57 def initialize(ground, num); end - # source://rainbow//lib/rainbow/color.rb#62 + # pkg:gem/rainbow#lib/rainbow/color.rb:62 def codes; end # Returns the value of attribute num. # - # source://rainbow//lib/rainbow/color.rb#55 + # pkg:gem/rainbow#lib/rainbow/color.rb:55 def num; end end -# source://rainbow//lib/rainbow/color.rb#69 +# pkg:gem/rainbow#lib/rainbow/color.rb:69 class Rainbow::Color::Named < ::Rainbow::Color::Indexed # @return [Named] a new instance of Named # - # source://rainbow//lib/rainbow/color.rb#90 + # pkg:gem/rainbow#lib/rainbow/color.rb:90 def initialize(ground, name); end class << self - # source://rainbow//lib/rainbow/color.rb#82 + # pkg:gem/rainbow#lib/rainbow/color.rb:82 def color_names; end - # source://rainbow//lib/rainbow/color.rb#86 + # pkg:gem/rainbow#lib/rainbow/color.rb:86 def valid_names; end end end -# source://rainbow//lib/rainbow/color.rb#70 +# pkg:gem/rainbow#lib/rainbow/color.rb:70 Rainbow::Color::Named::NAMES = T.let(T.unsafe(nil), Hash) -# source://rainbow//lib/rainbow/color.rb#100 +# pkg:gem/rainbow#lib/rainbow/color.rb:100 class Rainbow::Color::RGB < ::Rainbow::Color::Indexed # @return [RGB] a new instance of RGB # - # source://rainbow//lib/rainbow/color.rb#107 + # pkg:gem/rainbow#lib/rainbow/color.rb:107 def initialize(ground, *values); end # Returns the value of attribute b. # - # source://rainbow//lib/rainbow/color.rb#101 + # pkg:gem/rainbow#lib/rainbow/color.rb:101 def b; end - # source://rainbow//lib/rainbow/color.rb#116 + # pkg:gem/rainbow#lib/rainbow/color.rb:116 def codes; end # Returns the value of attribute g. # - # source://rainbow//lib/rainbow/color.rb#101 + # pkg:gem/rainbow#lib/rainbow/color.rb:101 def g; end # Returns the value of attribute r. # - # source://rainbow//lib/rainbow/color.rb#101 + # pkg:gem/rainbow#lib/rainbow/color.rb:101 def r; end private - # source://rainbow//lib/rainbow/color.rb#122 + # pkg:gem/rainbow#lib/rainbow/color.rb:122 def code_from_rgb; end class << self - # source://rainbow//lib/rainbow/color.rb#103 + # pkg:gem/rainbow#lib/rainbow/color.rb:103 def to_ansi_domain(value); end end end -# source://rainbow//lib/rainbow/color.rb#129 +# pkg:gem/rainbow#lib/rainbow/color.rb:129 class Rainbow::Color::X11Named < ::Rainbow::Color::RGB include ::Rainbow::X11ColorNames # @return [X11Named] a new instance of X11Named # - # source://rainbow//lib/rainbow/color.rb#140 + # pkg:gem/rainbow#lib/rainbow/color.rb:140 def initialize(ground, name); end class << self - # source://rainbow//lib/rainbow/color.rb#132 + # pkg:gem/rainbow#lib/rainbow/color.rb:132 def color_names; end - # source://rainbow//lib/rainbow/color.rb#136 + # pkg:gem/rainbow#lib/rainbow/color.rb:136 def valid_names; end end end -# source://rainbow//lib/rainbow/null_presenter.rb#4 +# pkg:gem/rainbow#lib/rainbow/null_presenter.rb:4 class Rainbow::NullPresenter < ::String - # source://rainbow//lib/rainbow/null_presenter.rb#9 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:9 def background(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#95 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:95 def bg(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#49 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:49 def black; end - # source://rainbow//lib/rainbow/null_presenter.rb#33 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:33 def blink; end - # source://rainbow//lib/rainbow/null_presenter.rb#65 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:65 def blue; end - # source://rainbow//lib/rainbow/null_presenter.rb#96 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:96 def bold; end - # source://rainbow//lib/rainbow/null_presenter.rb#17 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:17 def bright; end - # source://rainbow//lib/rainbow/null_presenter.rb#5 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:5 def color(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#45 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:45 def cross_out; end - # source://rainbow//lib/rainbow/null_presenter.rb#73 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:73 def cyan; end - # source://rainbow//lib/rainbow/null_presenter.rb#97 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:97 def dark; end - # source://rainbow//lib/rainbow/null_presenter.rb#21 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:21 def faint; end - # source://rainbow//lib/rainbow/null_presenter.rb#94 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:94 def fg(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#93 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:93 def foreground(*_values); end - # source://rainbow//lib/rainbow/null_presenter.rb#57 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:57 def green; end - # source://rainbow//lib/rainbow/null_presenter.rb#41 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:41 def hide; end - # source://rainbow//lib/rainbow/null_presenter.rb#37 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:37 def inverse; end - # source://rainbow//lib/rainbow/null_presenter.rb#25 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:25 def italic; end - # source://rainbow//lib/rainbow/null_presenter.rb#69 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:69 def magenta; end - # source://rainbow//lib/rainbow/null_presenter.rb#81 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:81 def method_missing(method_name, *args); end - # source://rainbow//lib/rainbow/null_presenter.rb#53 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:53 def red; end - # source://rainbow//lib/rainbow/null_presenter.rb#13 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:13 def reset; end - # source://rainbow//lib/rainbow/null_presenter.rb#98 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:98 def strike; end - # source://rainbow//lib/rainbow/null_presenter.rb#29 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:29 def underline; end - # source://rainbow//lib/rainbow/null_presenter.rb#77 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:77 def white; end - # source://rainbow//lib/rainbow/null_presenter.rb#61 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:61 def yellow; end private # @return [Boolean] # - # source://rainbow//lib/rainbow/null_presenter.rb#89 + # pkg:gem/rainbow#lib/rainbow/null_presenter.rb:89 def respond_to_missing?(method_name, *args); end end -# source://rainbow//lib/rainbow/presenter.rb#8 +# pkg:gem/rainbow#lib/rainbow/presenter.rb:8 class Rainbow::Presenter < ::String # Sets background color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#30 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:30 def background(*values); end # Sets background color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#34 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:34 def bg(*values); end - # source://rainbow//lib/rainbow/presenter.rb#92 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:92 def black; end # Turns on blinking attribute for this text (not well supported by terminal # emulators). # - # source://rainbow//lib/rainbow/presenter.rb#72 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:72 def blink; end - # source://rainbow//lib/rainbow/presenter.rb#108 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:108 def blue; end # Turns on bright/bold for this text. # - # source://rainbow//lib/rainbow/presenter.rb#49 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:49 def bold; end # Turns on bright/bold for this text. # - # source://rainbow//lib/rainbow/presenter.rb#45 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:45 def bright; end # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#22 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:22 def color(*values); end - # source://rainbow//lib/rainbow/presenter.rb#86 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:86 def cross_out; end - # source://rainbow//lib/rainbow/presenter.rb#116 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:116 def cyan; end # Turns on faint/dark for this text (not well supported by terminal # emulators). # - # source://rainbow//lib/rainbow/presenter.rb#57 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:57 def dark; end # Turns on faint/dark for this text (not well supported by terminal # emulators). # - # source://rainbow//lib/rainbow/presenter.rb#53 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:53 def faint; end # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#27 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:27 def fg(*values); end # Sets color of this text. # - # source://rainbow//lib/rainbow/presenter.rb#26 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:26 def foreground(*values); end - # source://rainbow//lib/rainbow/presenter.rb#100 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:100 def green; end # Hides this text (set its color to the same as background). # - # source://rainbow//lib/rainbow/presenter.rb#82 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:82 def hide; end # Inverses current foreground/background colors. # - # source://rainbow//lib/rainbow/presenter.rb#77 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:77 def inverse; end # Turns on italic style for this text (not well supported by terminal # emulators). # - # source://rainbow//lib/rainbow/presenter.rb#61 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:61 def italic; end - # source://rainbow//lib/rainbow/presenter.rb#112 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:112 def magenta; end # We take care of X11 color method call here. # Such as #aqua, #ghostwhite. # - # source://rainbow//lib/rainbow/presenter.rb#126 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:126 def method_missing(method_name, *args); end - # source://rainbow//lib/rainbow/presenter.rb#96 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:96 def red; end # Resets terminal to default colors/backgrounds. @@ -331,73 +331,73 @@ class Rainbow::Presenter < ::String # It shouldn't be needed to use this method because all methods # append terminal reset code to end of string. # - # source://rainbow//lib/rainbow/presenter.rb#40 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:40 def reset; end - # source://rainbow//lib/rainbow/presenter.rb#90 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:90 def strike; end # Turns on underline decoration for this text. # - # source://rainbow//lib/rainbow/presenter.rb#66 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:66 def underline; end - # source://rainbow//lib/rainbow/presenter.rb#120 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:120 def white; end - # source://rainbow//lib/rainbow/presenter.rb#104 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:104 def yellow; end private # @return [Boolean] # - # source://rainbow//lib/rainbow/presenter.rb#134 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:134 def respond_to_missing?(method_name, *args); end - # source://rainbow//lib/rainbow/presenter.rb#140 + # pkg:gem/rainbow#lib/rainbow/presenter.rb:140 def wrap_with_sgr(codes); end end -# source://rainbow//lib/rainbow/presenter.rb#9 +# pkg:gem/rainbow#lib/rainbow/presenter.rb:9 Rainbow::Presenter::TERM_EFFECTS = T.let(T.unsafe(nil), Hash) -# source://rainbow//lib/rainbow/string_utils.rb#4 +# pkg:gem/rainbow#lib/rainbow/string_utils.rb:4 class Rainbow::StringUtils class << self - # source://rainbow//lib/rainbow/string_utils.rb#17 + # pkg:gem/rainbow#lib/rainbow/string_utils.rb:17 def uncolor(string); end - # source://rainbow//lib/rainbow/string_utils.rb#5 + # pkg:gem/rainbow#lib/rainbow/string_utils.rb:5 def wrap_with_sgr(string, codes); end end end -# source://rainbow//lib/rainbow/wrapper.rb#7 +# pkg:gem/rainbow#lib/rainbow/wrapper.rb:7 class Rainbow::Wrapper # @return [Wrapper] a new instance of Wrapper # - # source://rainbow//lib/rainbow/wrapper.rb#10 + # pkg:gem/rainbow#lib/rainbow/wrapper.rb:10 def initialize(enabled = T.unsafe(nil)); end # Returns the value of attribute enabled. # - # source://rainbow//lib/rainbow/wrapper.rb#8 + # pkg:gem/rainbow#lib/rainbow/wrapper.rb:8 def enabled; end # Sets the attribute enabled # # @param value the value to set the attribute enabled to. # - # source://rainbow//lib/rainbow/wrapper.rb#8 + # pkg:gem/rainbow#lib/rainbow/wrapper.rb:8 def enabled=(_arg0); end - # source://rainbow//lib/rainbow/wrapper.rb#14 + # pkg:gem/rainbow#lib/rainbow/wrapper.rb:14 def wrap(string); end end -# source://rainbow//lib/rainbow/x11_color_names.rb#4 +# pkg:gem/rainbow#lib/rainbow/x11_color_names.rb:4 module Rainbow::X11ColorNames; end -# source://rainbow//lib/rainbow/x11_color_names.rb#5 +# pkg:gem/rainbow#lib/rainbow/x11_color_names.rb:5 Rainbow::X11ColorNames::NAMES = T.let(T.unsafe(nil), Hash) diff --git a/sorbet/rbi/gems/rake@13.3.1.rbi b/sorbet/rbi/gems/rake@13.3.1.rbi index a9962b3db..4c94c4bc1 100644 --- a/sorbet/rbi/gems/rake@13.3.1.rbi +++ b/sorbet/rbi/gems/rake@13.3.1.rbi @@ -9,27 +9,27 @@ # # Some top level Constants. # -# source://rake//lib/rake.rb#67 +# pkg:gem/rake#lib/rake.rb:67 FileList = Rake::FileList # -- # This a FileUtils extension that defines several additional commands to be # added to the FileUtils utility functions. # -# source://rake//lib/rake/file_utils.rb#8 +# pkg:gem/rake#lib/rake/file_utils.rb:8 module FileUtils # Run a Ruby interpreter with the given arguments. # # Example: # ruby %{-pe '$_.upcase!' ['a', 'b', 'c'] # - # source://rake//lib/rake/file_utils.rb#126 + # pkg:gem/rake#lib/rake/file_utils.rb:126 def split_all(path); end private - # source://rake//lib/rake/file_utils.rb#61 + # pkg:gem/rake#lib/rake/file_utils.rb:61 def create_shell_runner(cmd); end - # source://rake//lib/rake/file_utils.rb#84 + # pkg:gem/rake#lib/rake/file_utils.rb:84 def set_verbose_option(options); end - # source://rake//lib/rake/file_utils.rb#71 + # pkg:gem/rake#lib/rake/file_utils.rb:71 def sh_show_command(cmd); end end -# source://rake//lib/rake/file_utils.rb#106 +# pkg:gem/rake#lib/rake/file_utils.rb:106 FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array) # Path to the currently running Ruby program # -# source://rake//lib/rake/file_utils.rb#10 +# pkg:gem/rake#lib/rake/file_utils.rb:10 FileUtils::RUBY = T.let(T.unsafe(nil), String) -# source://rake//lib/rake/ext/core.rb#2 +# pkg:gem/rake#lib/rake/ext/core.rb:2 class Module # Check for an existing method in the current class before extending. If # the method already exists, then a warning is printed and the extension is @@ -108,11 +108,11 @@ class Module # end # end # - # source://rake//lib/rake/ext/core.rb#18 + # pkg:gem/rake#lib/rake/ext/core.rb:18 def rake_extension(method); end end -# source://rake//lib/rake.rb#24 +# pkg:gem/rake#lib/rake.rb:24 module Rake extend ::FileUtils::StreamUtils_ extend ::FileUtils @@ -121,41 +121,41 @@ module Rake class << self # Add files to the rakelib list # - # source://rake//lib/rake/rake_module.rb#33 + # pkg:gem/rake#lib/rake/rake_module.rb:33 def add_rakelib(*files); end # Current Rake Application # - # source://rake//lib/rake/rake_module.rb#8 + # pkg:gem/rake#lib/rake/rake_module.rb:8 def application; end # Set the current Rake application object. # - # source://rake//lib/rake/rake_module.rb#13 + # pkg:gem/rake#lib/rake/rake_module.rb:13 def application=(app); end # Yield each file or directory component. # - # source://rake//lib/rake/file_list.rb#418 + # pkg:gem/rake#lib/rake/file_list.rb:418 def each_dir_parent(dir); end # Convert Pathname and Pathname-like objects to strings; # leave everything else alone # - # source://rake//lib/rake/file_list.rb#429 + # pkg:gem/rake#lib/rake/file_list.rb:429 def from_pathname(path); end # Load a rakefile. # - # source://rake//lib/rake/rake_module.rb#28 + # pkg:gem/rake#lib/rake/rake_module.rb:28 def load_rakefile(path); end # Return the original directory where the Rake application was started. # - # source://rake//lib/rake/rake_module.rb#23 + # pkg:gem/rake#lib/rake/rake_module.rb:23 def original_dir; end - # source://rake//lib/rake/rake_module.rb#17 + # pkg:gem/rake#lib/rake/rake_module.rb:17 def suggested_thread_count; end # Make +block_application+ the default rake application inside a block so @@ -174,7 +174,7 @@ module Rake # # puts other_rake.tasks # - # source://rake//lib/rake/rake_module.rb#54 + # pkg:gem/rake#lib/rake/rake_module.rb:54 def with_application(block_application = T.unsafe(nil)); end end end @@ -182,7 +182,7 @@ end # Rake main application object. When invoking +rake+ from the # command line, a Rake::Application object is created and run. # -# source://rake//lib/rake/application.rb#19 +# pkg:gem/rake#lib/rake/application.rb:19 class Rake::Application include ::Rake::TaskManager include ::Rake::TraceOutput @@ -191,18 +191,18 @@ class Rake::Application # # @return [Application] a new instance of Application # - # source://rake//lib/rake/application.rb#49 + # pkg:gem/rake#lib/rake/application.rb:49 def initialize; end # Add a file to the list of files to be imported. # - # source://rake//lib/rake/application.rb#800 + # pkg:gem/rake#lib/rake/application.rb:800 def add_import(fn); end # Add a loader to handle imported files ending in the extension # +ext+. # - # source://rake//lib/rake/application.rb#161 + # pkg:gem/rake#lib/rake/application.rb:161 def add_loader(ext, loader); end # Collect the list of tasks on the command line. If no tasks are @@ -214,13 +214,13 @@ class Rake::Application # recognised command-line options, which OptionParser.parse will # have taken care of already. # - # source://rake//lib/rake/application.rb#781 + # pkg:gem/rake#lib/rake/application.rb:781 def collect_command_line_tasks(args); end # Default task name ("default"). # (May be overridden by subclasses) # - # source://rake//lib/rake/application.rb#795 + # pkg:gem/rake#lib/rake/application.rb:795 def default_task_name; end # Warn about deprecated usage. @@ -228,133 +228,133 @@ class Rake::Application # Example: # Rake.application.deprecate("import", "Rake.import", caller.first) # - # source://rake//lib/rake/application.rb#288 + # pkg:gem/rake#lib/rake/application.rb:288 def deprecate(old_usage, new_usage, call_site); end - # source://rake//lib/rake/application.rb#250 + # pkg:gem/rake#lib/rake/application.rb:250 def display_cause_details(ex); end # Display the error message that caused the exception. # - # source://rake//lib/rake/application.rb#234 + # pkg:gem/rake#lib/rake/application.rb:234 def display_error_message(ex); end - # source://rake//lib/rake/application.rb#275 + # pkg:gem/rake#lib/rake/application.rb:275 def display_exception_backtrace(ex); end - # source://rake//lib/rake/application.rb#242 + # pkg:gem/rake#lib/rake/application.rb:242 def display_exception_details(ex); end - # source://rake//lib/rake/application.rb#257 + # pkg:gem/rake#lib/rake/application.rb:257 def display_exception_details_seen; end - # source://rake//lib/rake/application.rb#265 + # pkg:gem/rake#lib/rake/application.rb:265 def display_exception_message_details(ex); end # Display the tasks and prerequisites # - # source://rake//lib/rake/application.rb#411 + # pkg:gem/rake#lib/rake/application.rb:411 def display_prerequisites; end # Display the tasks and comments. # - # source://rake//lib/rake/application.rb#328 + # pkg:gem/rake#lib/rake/application.rb:328 def display_tasks_and_comments; end # Calculate the dynamic width of the # - # source://rake//lib/rake/application.rb#379 + # pkg:gem/rake#lib/rake/application.rb:379 def dynamic_width; end - # source://rake//lib/rake/application.rb#383 + # pkg:gem/rake#lib/rake/application.rb:383 def dynamic_width_stty; end - # source://rake//lib/rake/application.rb#387 + # pkg:gem/rake#lib/rake/application.rb:387 def dynamic_width_tput; end # Exit the program because of an unhandled exception. # (may be overridden by subclasses) # - # source://rake//lib/rake/application.rb#229 + # pkg:gem/rake#lib/rake/application.rb:229 def exit_because_of_exception(ex); end - # source://rake//lib/rake/application.rb#708 + # pkg:gem/rake#lib/rake/application.rb:708 def find_rakefile_location; end # Read and handle the command line options. Returns the command line # arguments that we didn't understand, which should (in theory) be just # task names and env vars. # - # source://rake//lib/rake/application.rb#674 + # pkg:gem/rake#lib/rake/application.rb:674 def handle_options(argv); end # @return [Boolean] # - # source://rake//lib/rake/application.rb#261 + # pkg:gem/rake#lib/rake/application.rb:261 def has_cause?(ex); end # True if one of the files in RAKEFILES is in the current directory. # If a match is found, it is copied into @rakefile. # - # source://rake//lib/rake/application.rb#304 + # pkg:gem/rake#lib/rake/application.rb:304 def have_rakefile; end # Initialize the command line parameters and app name. # - # source://rake//lib/rake/application.rb#88 + # pkg:gem/rake#lib/rake/application.rb:88 def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end # Invokes a task with arguments that are extracted from +task_string+ # - # source://rake//lib/rake/application.rb#185 + # pkg:gem/rake#lib/rake/application.rb:185 def invoke_task(task_string); end # Load the pending list of imported files. # - # source://rake//lib/rake/application.rb#805 + # pkg:gem/rake#lib/rake/application.rb:805 def load_imports; end # Find the rakefile and then load it and any pending imports. # - # source://rake//lib/rake/application.rb#124 + # pkg:gem/rake#lib/rake/application.rb:124 def load_rakefile; end # The name of the application (typically 'rake') # - # source://rake//lib/rake/application.rb#24 + # pkg:gem/rake#lib/rake/application.rb:24 def name; end # Application options from the command line # - # source://rake//lib/rake/application.rb#167 + # pkg:gem/rake#lib/rake/application.rb:167 def options; end # The original directory where rake was invoked. # - # source://rake//lib/rake/application.rb#27 + # pkg:gem/rake#lib/rake/application.rb:27 def original_dir; end - # source://rake//lib/rake/application.rb#191 + # pkg:gem/rake#lib/rake/application.rb:191 def parse_task_string(string); end - # source://rake//lib/rake/application.rb#720 + # pkg:gem/rake#lib/rake/application.rb:720 def print_rakefile_directory(location); end # Similar to the regular Ruby +require+ command, but will check # for *.rake files in addition to *.rb files. # - # source://rake//lib/rake/application.rb#694 + # pkg:gem/rake#lib/rake/application.rb:694 def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end # Name of the actual rakefile used. # - # source://rake//lib/rake/application.rb#30 + # pkg:gem/rake#lib/rake/application.rb:30 def rakefile; end - # source://rake//lib/rake/application.rb#821 + # pkg:gem/rake#lib/rake/application.rb:821 def rakefile_location(backtrace = T.unsafe(nil)); end - # source://rake//lib/rake/application.rb#725 + # pkg:gem/rake#lib/rake/application.rb:725 def raw_load_rakefile; end # Run the Rake application. The run method performs the following @@ -368,65 +368,65 @@ class Rake::Application # +init+ on your application. Then define any tasks. Finally, # call +top_level+ to run your top level tasks. # - # source://rake//lib/rake/application.rb#79 + # pkg:gem/rake#lib/rake/application.rb:79 def run(argv = T.unsafe(nil)); end # Run the given block with the thread startup and shutdown. # - # source://rake//lib/rake/application.rb#144 + # pkg:gem/rake#lib/rake/application.rb:144 def run_with_threads; end - # source://rake//lib/rake/application.rb#830 + # pkg:gem/rake#lib/rake/application.rb:830 def set_default_options; end # Provide standard exception handling for the given block. # - # source://rake//lib/rake/application.rb#213 + # pkg:gem/rake#lib/rake/application.rb:213 def standard_exception_handling; end # A list of all the standard options used in rake, suitable for # passing to OptionParser. # - # source://rake//lib/rake/application.rb#432 + # pkg:gem/rake#lib/rake/application.rb:432 def standard_rake_options; end # The directory path containing the system wide rakefiles. # - # source://rake//lib/rake/application.rb#757 + # pkg:gem/rake#lib/rake/application.rb:757 def system_dir; end # Number of columns on the terminal # - # source://rake//lib/rake/application.rb#33 + # pkg:gem/rake#lib/rake/application.rb:33 def terminal_columns; end # Number of columns on the terminal # - # source://rake//lib/rake/application.rb#33 + # pkg:gem/rake#lib/rake/application.rb:33 def terminal_columns=(_arg0); end - # source://rake//lib/rake/application.rb#367 + # pkg:gem/rake#lib/rake/application.rb:367 def terminal_width; end # Return the thread pool used for multithreaded processing. # - # source://rake//lib/rake/application.rb#178 + # pkg:gem/rake#lib/rake/application.rb:178 def thread_pool; end # Run the top level tasks of a Rake application. # - # source://rake//lib/rake/application.rb#131 + # pkg:gem/rake#lib/rake/application.rb:131 def top_level; end # List of the top level task names (task names from the command line). # - # source://rake//lib/rake/application.rb#36 + # pkg:gem/rake#lib/rake/application.rb:36 def top_level_tasks; end - # source://rake//lib/rake/application.rb#418 + # pkg:gem/rake#lib/rake/application.rb:418 def trace(*strings); end - # source://rake//lib/rake/application.rb#400 + # pkg:gem/rake#lib/rake/application.rb:400 def truncate(string, width); end # We will truncate output if we are outputting to a TTY or if we've been @@ -434,112 +434,113 @@ class Rake::Application # # @return [Boolean] # - # source://rake//lib/rake/application.rb#323 + # pkg:gem/rake#lib/rake/application.rb:323 def truncate_output?; end # Override the detected TTY output state (mostly for testing) # - # source://rake//lib/rake/application.rb#39 + # pkg:gem/rake#lib/rake/application.rb:39 def tty_output=(_arg0); end # True if we are outputting to TTY, false otherwise # # @return [Boolean] # - # source://rake//lib/rake/application.rb#317 + # pkg:gem/rake#lib/rake/application.rb:317 def tty_output?; end # @return [Boolean] # - # source://rake//lib/rake/application.rb#391 + # pkg:gem/rake#lib/rake/application.rb:391 def unix?; end # @return [Boolean] # - # source://rake//lib/rake/application.rb#396 + # pkg:gem/rake#lib/rake/application.rb:396 def windows?; end private - # source://rake//lib/rake/application.rb#751 + # pkg:gem/rake#lib/rake/application.rb:751 def glob(path, &block); end # Does the exception have a task invocation chain? # # @return [Boolean] # - # source://rake//lib/rake/application.rb#297 + # pkg:gem/rake#lib/rake/application.rb:297 def has_chain?(exception); end - # source://rake//lib/rake/application.rb#102 + # pkg:gem/rake#lib/rake/application.rb:102 def load_debug_at_stop_feature; end - # source://rake//lib/rake/application.rb#650 + # pkg:gem/rake#lib/rake/application.rb:650 def select_tasks_to_show(options, show_tasks, value); end - # source://rake//lib/rake/application.rb#657 + # pkg:gem/rake#lib/rake/application.rb:657 def select_trace_output(options, trace_option, value); end - # source://rake//lib/rake/application.rb#423 + # pkg:gem/rake#lib/rake/application.rb:423 def sort_options(options); end - # source://rake//lib/rake/application.rb#767 + # pkg:gem/rake#lib/rake/application.rb:767 def standard_system_dir; end end -# source://rake//lib/rake/application.rb#41 +# pkg:gem/rake#lib/rake/application.rb:41 Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/backtrace.rb#3 +# pkg:gem/rake#lib/rake/backtrace.rb:3 module Rake::Backtrace class << self - # source://rake//lib/rake/backtrace.rb#19 + # pkg:gem/rake#lib/rake/backtrace.rb:19 def collapse(backtrace); end end end -# source://rake//lib/rake/backtrace.rb#8 +# pkg:gem/rake#lib/rake/backtrace.rb:8 Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/backtrace.rb#12 +# pkg:gem/rake#lib/rake/backtrace.rb:12 Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String) -# source://rake//lib/rake/backtrace.rb#17 +# pkg:gem/rake#lib/rake/backtrace.rb:17 Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rake//lib/rake/backtrace.rb#4 +# pkg:gem/rake#lib/rake/backtrace.rb:4 Rake::Backtrace::SYS_KEYS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/backtrace.rb#5 +# pkg:gem/rake#lib/rake/backtrace.rb:5 Rake::Backtrace::SYS_PATHS = T.let(T.unsafe(nil), Array) # Mixin for creating easily cloned objects. # -# source://rake//lib/rake/cloneable.rb#6 +# pkg:gem/rake#lib/rake/cloneable.rb:6 module Rake::Cloneable private # The hook that is invoked by 'clone' and 'dup' methods. # - # source://rake//lib/rake/cloneable.rb#8 + # pkg:gem/rake#lib/rake/cloneable.rb:8 def initialize_copy(source); end end +# pkg:gem/rake#lib/rake/application.rb:13 class Rake::CommandLineOptionError < ::StandardError; end # Based on a script at: # http://stackoverflow.com/questions/891537/ruby-detect-number-of-cpus-installed # -# source://rake//lib/rake/cpu_counter.rb#6 +# pkg:gem/rake#lib/rake/cpu_counter.rb:6 class Rake::CpuCounter - # source://rake//lib/rake/cpu_counter.rb#22 + # pkg:gem/rake#lib/rake/cpu_counter.rb:22 def count; end - # source://rake//lib/rake/cpu_counter.rb#11 + # pkg:gem/rake#lib/rake/cpu_counter.rb:11 def count_with_default(default = T.unsafe(nil)); end class << self - # source://rake//lib/rake/cpu_counter.rb#7 + # pkg:gem/rake#lib/rake/cpu_counter.rb:7 def count; end end end @@ -550,7 +551,7 @@ end # For a Rakefile you run from the command line this module is automatically # included. # -# source://rake//lib/rake/dsl_definition.rb#14 +# pkg:gem/rake#lib/rake/dsl_definition.rb:14 module Rake::DSL include ::FileUtils::StreamUtils_ include ::FileUtils @@ -558,34 +559,34 @@ module Rake::DSL private - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def cd(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def chdir(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def chmod(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def chmod_R(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def chown(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def chown_R(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def copy(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def cp(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def cp_lr(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def cp_r(*args, **options, &block); end # Describes the next rake task. Duplicate descriptions are discarded. @@ -598,7 +599,7 @@ module Rake::DSL # # ... run tests # end # - # source://rake//lib/rake/dsl_definition.rb#166 + # pkg:gem/rake#lib/rake/dsl_definition.rb:166 def desc(description); end # Declare a set of files tasks to create the given directories on @@ -607,7 +608,7 @@ module Rake::DSL # Example: # directory "testdata/doc" # - # source://rake//lib/rake/dsl_definition.rb#92 + # pkg:gem/rake#lib/rake/dsl_definition.rb:92 def directory(*args, &block); end # Declare a file task. @@ -623,13 +624,13 @@ module Rake::DSL # end # end # - # source://rake//lib/rake/dsl_definition.rb#76 + # pkg:gem/rake#lib/rake/dsl_definition.rb:76 def file(*args, &block); end # Declare a file creation task. # (Mainly used for the directory command). # - # source://rake//lib/rake/dsl_definition.rb#82 + # pkg:gem/rake#lib/rake/dsl_definition.rb:82 def file_create(*args, &block); end # Import the partial Rakefiles +fn+. Imported files are loaded @@ -646,40 +647,40 @@ module Rake::DSL # Example: # import ".depend", "my_rules" # - # source://rake//lib/rake/dsl_definition.rb#184 + # pkg:gem/rake#lib/rake/dsl_definition.rb:184 def import(*fns); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def install(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def link(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def ln(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def ln_s(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def ln_sf(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def ln_sr(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def makedirs(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def mkdir(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def mkdir_p(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def mkpath(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def move(*args, **options, &block); end # Declare a task that performs its prerequisites in @@ -690,10 +691,10 @@ module Rake::DSL # Example: # multitask deploy: %w[deploy_gem deploy_rdoc] # - # source://rake//lib/rake/dsl_definition.rb#113 + # pkg:gem/rake#lib/rake/dsl_definition.rb:113 def multitask(*args, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/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 @@ -715,40 +716,40 @@ module Rake::DSL # # ... # end # - # source://rake//lib/rake/dsl_definition.rb#136 + # pkg:gem/rake#lib/rake/dsl_definition.rb:136 def namespace(name = T.unsafe(nil), &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def nowrite(value = T.unsafe(nil)); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rake_check_options(options, *optdecl); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rake_output_message(message); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def remove(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rm(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rm_f(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rm_r(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rm_rf(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rmdir(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def rmtree(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#23 + # pkg:gem/rake#lib/rake/dsl_definition.rb:23 def ruby(*args, **options, &block); end # Declare a rule for auto-tasks. @@ -758,22 +759,22 @@ module Rake::DSL # sh 'cc', '-c', '-o', t.name, t.source # end # - # source://rake//lib/rake/dsl_definition.rb#152 + # pkg:gem/rake#lib/rake/dsl_definition.rb:152 def rule(*args, &block); end - # source://rake//lib/rake/dsl_definition.rb#23 + # pkg:gem/rake#lib/rake/dsl_definition.rb:23 def safe_ln(*args, **options); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def safe_unlink(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#23 + # pkg:gem/rake#lib/rake/dsl_definition.rb:23 def sh(*cmd, &block); end - # source://rake//lib/rake/dsl_definition.rb#23 + # pkg:gem/rake#lib/rake/dsl_definition.rb:23 def split_all(path); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def symlink(*args, **options, &block); end # :call-seq: @@ -807,38 +808,38 @@ module Rake::DSL # # $ rake package[1.2.3] # - # source://rake//lib/rake/dsl_definition.rb#59 + # pkg:gem/rake#lib/rake/dsl_definition.rb:59 def task(*args, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def touch(*args, **options, &block); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def verbose(value = T.unsafe(nil)); end - # source://rake//lib/rake/dsl_definition.rb#24 + # pkg:gem/rake#lib/rake/dsl_definition.rb:24 def when_writing(msg = T.unsafe(nil)); end end # Default Rakefile loader used by +import+. # -# source://rake//lib/rake/default_loader.rb#5 +# pkg:gem/rake#lib/rake/default_loader.rb:5 class Rake::DefaultLoader # Loads a rakefile into the current application from +fn+ # - # source://rake//lib/rake/default_loader.rb#10 + # pkg:gem/rake#lib/rake/default_loader.rb:10 def load(fn); end end -# source://rake//lib/rake/early_time.rb#21 +# pkg:gem/rake#lib/rake/early_time.rb:21 Rake::EARLY = T.let(T.unsafe(nil), Rake::EarlyTime) -# source://rake//lib/rake/task_arguments.rb#112 +# pkg:gem/rake#lib/rake/task_arguments.rb:112 Rake::EMPTY_TASK_ARGS = T.let(T.unsafe(nil), Rake::TaskArguments) # EarlyTime is a fake timestamp that occurs _before_ any other time value. # -# source://rake//lib/rake/early_time.rb#5 +# pkg:gem/rake#lib/rake/early_time.rb:5 class Rake::EarlyTime include ::Comparable include ::Singleton::SingletonInstanceMethods @@ -847,19 +848,19 @@ class Rake::EarlyTime # The EarlyTime always comes before +other+! # - # source://rake//lib/rake/early_time.rb#12 + # pkg:gem/rake#lib/rake/early_time.rb:12 def <=>(other); end - # source://rake//lib/rake/early_time.rb#16 + # pkg:gem/rake#lib/rake/early_time.rb:16 def to_s; end class << self private - # source://rake//lib/rake/early_time.rb#7 + # pkg:gem/rake#lib/rake/early_time.rb:7 def allocate; end - # source://rake//lib/rake/early_time.rb#7 + # pkg:gem/rake#lib/rake/early_time.rb:7 def new(*_arg0); end end end @@ -869,19 +870,19 @@ end # not re-triggered if any of its dependencies are newer, nor does trigger # any rebuilds of tasks that depend on it whenever it is updated. # -# source://rake//lib/rake/file_creation_task.rb#12 +# pkg:gem/rake#lib/rake/file_creation_task.rb:12 class Rake::FileCreationTask < ::Rake::FileTask # Is this file task needed? Yes if it doesn't exist. # # @return [Boolean] # - # source://rake//lib/rake/file_creation_task.rb#14 + # pkg:gem/rake#lib/rake/file_creation_task.rb:14 def needed?; end # Time stamp for file creation task. This time stamp is earlier # than any other time stamp. # - # source://rake//lib/rake/file_creation_task.rb#20 + # pkg:gem/rake#lib/rake/file_creation_task.rb:20 def timestamp; end end @@ -898,7 +899,7 @@ end # FileList/Array is requested, the pending patterns are resolved into a real # list of file names. # -# source://rake//lib/rake/file_list.rb#22 +# pkg:gem/rake#lib/rake/file_list.rb:22 class Rake::FileList include ::Rake::Cloneable @@ -917,38 +918,38 @@ class Rake::FileList # @yield [_self] # @yieldparam _self [Rake::FileList] the object that the method was called on # - # source://rake//lib/rake/file_list.rb#99 + # pkg:gem/rake#lib/rake/file_list.rb:99 def initialize(*patterns); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def &(*args, &block); end # Redefine * to return either a string or a new file list. # - # source://rake//lib/rake/file_list.rb#193 + # pkg:gem/rake#lib/rake/file_list.rb:193 def *(other); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def +(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def -(*args, &block); end - # source://rake//lib/rake/file_list.rb#203 + # pkg:gem/rake#lib/rake/file_list.rb:203 def <<(obj); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def <=>(*args, &block); end # A FileList is equal through array equality. # - # source://rake//lib/rake/file_list.rb#171 + # pkg:gem/rake#lib/rake/file_list.rb:171 def ==(array); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def [](*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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 @@ -958,120 +959,120 @@ class Rake::FileList # file_list.include("*.java", "*.cfg") # file_list.include %w( math.c lib.h *.o ) # - # source://rake//lib/rake/file_list.rb#128 + # pkg:gem/rake#lib/rake/file_list.rb:128 def add(*filenames); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def all?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def any?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def append(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def assoc(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def at(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def bsearch(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def bsearch_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def chain(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def chunk(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def chunk_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def clear(*args, &block); end # Clear all the exclude patterns so that we exclude nothing. # - # source://rake//lib/rake/file_list.rb#164 + # pkg:gem/rake#lib/rake/file_list.rb:164 def clear_exclude; end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def collect(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def collect!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def collect_concat(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def combination(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def compact(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def compact!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def concat(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def count(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def cycle(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def deconstruct(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def delete(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def delete_at(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def delete_if(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def detect(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def difference(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def dig(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def drop(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def drop_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def each(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def each_cons(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def each_entry(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def each_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def each_slice(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def each_with_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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,13 +1081,13 @@ class Rake::FileList # a standard emacs style file:linenumber:line message will be printed to # standard out. Returns the number of matched items. # - # source://rake//lib/rake/file_list.rb#293 + # pkg:gem/rake#lib/rake/file_list.rb:293 def egrep(pattern, *options); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def empty?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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 @@ -1109,7 +1110,7 @@ class Rake::FileList # If "a.c" is not a file, then ... # FileList['a.c', 'b.c'].exclude("a.*") => ['a.c', 'b.c'] # - # source://rake//lib/rake/file_list.rb#150 + # pkg:gem/rake#lib/rake/file_list.rb:150 def exclude(*patterns, &block); end # Should the given file name be excluded from the list? @@ -1122,19 +1123,19 @@ class Rake::FileList # # @return [Boolean] # - # source://rake//lib/rake/file_list.rb#364 + # pkg:gem/rake#lib/rake/file_list.rb:364 def excluded_from_list?(fn); end # Return a new file list that only contains file names from the current # file list that exist on the file system. # - # source://rake//lib/rake/file_list.rb#320 + # pkg:gem/rake#lib/rake/file_list.rb:320 def existing; end # Modify the current file list so that it contains only file name that # exist on the file system. # - # source://rake//lib/rake/file_list.rb#326 + # pkg:gem/rake#lib/rake/file_list.rb:326 def existing!; end # Return a new FileList with String#ext method applied to @@ -1146,55 +1147,55 @@ class Rake::FileList # # +ext+ is a user added method for the Array class. # - # source://rake//lib/rake/file_list.rb#284 + # pkg:gem/rake#lib/rake/file_list.rb:284 def ext(newext = T.unsafe(nil)); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def fetch(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def fetch_values(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def fill(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def filter(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def filter!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def filter_map(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def find(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def find_all(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def find_index(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def first(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def flat_map(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def flatten(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def flatten!(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def grep(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def grep_v(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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 @@ -1204,15 +1205,15 @@ class Rake::FileList # FileList['lib/test/file', 'x/y'].gsub(/\//, "\\") # => ['lib\\test\\file', 'x\\y'] # - # source://rake//lib/rake/file_list.rb#253 + # pkg:gem/rake#lib/rake/file_list.rb:253 def gsub(pat, rep); end # Same as +gsub+ except that the original file list is modified. # - # source://rake//lib/rake/file_list.rb#264 + # pkg:gem/rake#lib/rake/file_list.rb:264 def gsub!(pat, rep); end - # source://rake//lib/rake/file_list.rb#391 + # pkg:gem/rake#lib/rake/file_list.rb:391 def import(array); end # Add file names defined by glob patterns to the file list. If an array @@ -1222,219 +1223,219 @@ 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 + # pkg:gem/rake#lib/rake/file_list.rb:116 def include(*filenames); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def include?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def index(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def inject(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def insert(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def inspect(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def intersect?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def intersection(*args, &block); end # Lie about our class. # # @return [Boolean] # - # source://rake//lib/rake/file_list.rb#187 + # pkg:gem/rake#lib/rake/file_list.rb:187 def is_a?(klass); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def join(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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#190 + # pkg:gem/rake#lib/rake/file_list.rb:190 def kind_of?(klass); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def last(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def lazy(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def length(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def map(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def map!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def max(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def max_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def member?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def min(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def min_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def minmax(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def minmax_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def none?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def one?(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def pack(*args, &block); end # FileList version of partition. Needed because the nested arrays should # be FileLists in this version. # - # source://rake//lib/rake/file_list.rb#334 + # pkg:gem/rake#lib/rake/file_list.rb:334 def partition(&block); end # Apply the pathmap spec to each of the included file names, returning a # new file list with the modified paths. (See String#pathmap for # details.) # - # source://rake//lib/rake/file_list.rb#272 + # pkg:gem/rake#lib/rake/file_list.rb:272 def pathmap(spec = T.unsafe(nil), &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def permutation(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def pop(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def prepend(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def product(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def push(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def rassoc(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def reduce(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def reject(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def reject!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def repeated_combination(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def repeated_permutation(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def replace(*args, &block); end # Resolve all the pending adds now. # - # source://rake//lib/rake/file_list.rb#210 + # pkg:gem/rake#lib/rake/file_list.rb:210 def resolve; end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def reverse(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def reverse!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def reverse_each(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def rfind(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def rindex(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def rotate(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def rotate!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def sample(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def select(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def select!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def shelljoin(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def shift(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def shuffle(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def shuffle!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def size(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def slice(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def slice!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def slice_after(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def slice_before(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def slice_when(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def sort(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def sort!(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def sort_by(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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 @@ -1443,82 +1444,82 @@ class Rake::FileList # Example: # FileList['a.c', 'b.c'].sub(/\.c$/, '.o') => ['a.o', 'b.o'] # - # source://rake//lib/rake/file_list.rb#242 + # pkg:gem/rake#lib/rake/file_list.rb:242 def sub(pat, rep); end # Same as +sub+ except that the original file list is modified. # - # source://rake//lib/rake/file_list.rb#258 + # pkg:gem/rake#lib/rake/file_list.rb:258 def sub!(pat, rep); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def sum(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def take(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def take_while(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def tally(*args, &block); end # Return the internal array object. # - # source://rake//lib/rake/file_list.rb#176 + # pkg:gem/rake#lib/rake/file_list.rb:176 def to_a; end # Return the internal array object. # - # source://rake//lib/rake/file_list.rb#182 + # pkg:gem/rake#lib/rake/file_list.rb:182 def to_ary; end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/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. # - # source://rake//lib/rake/file_list.rb#344 + # pkg:gem/rake#lib/rake/file_list.rb:344 def to_s; end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def to_set(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def transpose(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def union(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def uniq(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def uniq!(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def unshift(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def values_at(*args, &block); end - # source://rake//lib/rake/file_list.rb#76 + # pkg:gem/rake#lib/rake/file_list.rb:76 def zip(*args, &block); end - # source://rake//lib/rake/file_list.rb#67 + # pkg:gem/rake#lib/rake/file_list.rb:67 def |(*args, &block); end private # Add matching glob patterns. # - # source://rake//lib/rake/file_list.rb#350 + # pkg:gem/rake#lib/rake/file_list.rb:350 def add_matching(pattern); end - # source://rake//lib/rake/file_list.rb#220 + # pkg:gem/rake#lib/rake/file_list.rb:220 def resolve_add(fn); end - # source://rake//lib/rake/file_list.rb#230 + # pkg:gem/rake#lib/rake/file_list.rb:230 def resolve_exclude; end class << self @@ -1526,14 +1527,14 @@ class Rake::FileList # # FileList.new(*args) # - # source://rake//lib/rake/file_list.rb#400 + # pkg:gem/rake#lib/rake/file_list.rb:400 def [](*args); end # Get a sorted list of files matching the pattern. This method # should be preferred to Dir[pattern] and Dir.glob(pattern) because # the files returned are guaranteed to be sorted. # - # source://rake//lib/rake/file_list.rb#407 + # pkg:gem/rake#lib/rake/file_list.rb:407 def glob(pattern, *args); end end end @@ -1541,36 +1542,36 @@ end # List of array methods (that are not in +Object+) that need to be # delegated. # -# source://rake//lib/rake/file_list.rb#44 +# pkg:gem/rake#lib/rake/file_list.rb:44 Rake::FileList::ARRAY_METHODS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/file_list.rb#381 +# pkg:gem/rake#lib/rake/file_list.rb:381 Rake::FileList::DEFAULT_IGNORE_PATTERNS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/file_list.rb#387 +# pkg:gem/rake#lib/rake/file_list.rb:387 Rake::FileList::DEFAULT_IGNORE_PROCS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/file_list.rb#61 +# pkg:gem/rake#lib/rake/file_list.rb:61 Rake::FileList::DELEGATING_METHODS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/file_list.rb#86 +# pkg:gem/rake#lib/rake/file_list.rb:86 Rake::FileList::GLOB_PATTERN = T.let(T.unsafe(nil), Regexp) # List of additional methods that must be delegated. # -# source://rake//lib/rake/file_list.rb#47 +# pkg:gem/rake#lib/rake/file_list.rb:47 Rake::FileList::MUST_DEFINE = T.let(T.unsafe(nil), Array) # List of methods that should not be delegated here (we define special # versions of them explicitly below). # -# source://rake//lib/rake/file_list.rb#51 +# pkg:gem/rake#lib/rake/file_list.rb:51 Rake::FileList::MUST_NOT_DEFINE = T.let(T.unsafe(nil), Array) # List of delegated methods that return new array values which need # wrapping. # -# source://rake//lib/rake/file_list.rb#55 +# pkg:gem/rake#lib/rake/file_list.rb:55 Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array) # A FileTask is a task that includes time based dependencies. If any of a @@ -1578,19 +1579,19 @@ Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array) # represented by this task, then the file must be rebuilt (using the # supplied actions). # -# source://rake//lib/rake/file_task.rb#12 +# pkg:gem/rake#lib/rake/file_task.rb:12 class Rake::FileTask < ::Rake::Task # Is this file task needed? Yes if it doesn't exist, or if its time stamp # is out of date. # # @return [Boolean] # - # source://rake//lib/rake/file_task.rb#16 + # pkg:gem/rake#lib/rake/file_task.rb:16 def needed?; end # Time stamp for file task. # - # source://rake//lib/rake/file_task.rb#25 + # pkg:gem/rake#lib/rake/file_task.rb:25 def timestamp; end private @@ -1599,14 +1600,14 @@ class Rake::FileTask < ::Rake::Task # # @return [Boolean] # - # source://rake//lib/rake/file_task.rb#36 + # pkg:gem/rake#lib/rake/file_task.rb:36 def out_of_date?(stamp); end class << self # Apply the scope to the task name according to the rules for this kind # of task. File based tasks ignore the scope when creating the name. # - # source://rake//lib/rake/file_task.rb#53 + # pkg:gem/rake#lib/rake/file_task.rb:53 def scope_name(scope, task_name); end end end @@ -1615,7 +1616,7 @@ end # that respond to the verbose and nowrite # commands. # -# source://rake//lib/rake/file_utils_ext.rb#10 +# pkg:gem/rake#lib/rake/file_utils_ext.rb:10 module Rake::FileUtilsExt include ::FileUtils::StreamUtils_ include ::FileUtils @@ -1623,70 +1624,70 @@ module Rake::FileUtilsExt extend ::FileUtils extend ::Rake::FileUtilsExt - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def cd(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def chdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def chmod(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def chmod_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def chown(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def chown_R(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def copy(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def cp(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def cp_lr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def cp_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def install(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def link(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def ln(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def ln_s(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def ln_sf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def ln_sr(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def makedirs(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def mkdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def mkdir_p(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def mkpath(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def move(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def mv(*args, **options, &block); end # Get/set the nowrite flag controlling output from the FileUtils @@ -1701,7 +1702,7 @@ module Rake::FileUtilsExt # # temporarily to _v_. Return to the # # original value when code is done. # - # source://rake//lib/rake/file_utils_ext.rb#77 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:77 def nowrite(value = T.unsafe(nil)); end # Check that the options do not contain options not listed in @@ -1710,42 +1711,42 @@ module Rake::FileUtilsExt # # @raise [ArgumentError] # - # source://rake//lib/rake/file_utils_ext.rb#123 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:123 def rake_check_options(options, *optdecl); end # Send the message to the default rake output (which is $stderr). # - # source://rake//lib/rake/file_utils_ext.rb#116 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:116 def rake_output_message(message); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def remove(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def rm(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def rm_f(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def rm_r(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def rm_rf(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def rmdir(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def rmtree(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def safe_unlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def symlink(*args, **options, &block); end - # source://rake//lib/rake/file_utils_ext.rb#33 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:33 def touch(*args, **options, &block); end # Get/set the verbose flag controlling output from the FileUtils @@ -1760,7 +1761,7 @@ module Rake::FileUtilsExt # # temporarily to _v_. Return to the # # original value when code is done. # - # source://rake//lib/rake/file_utils_ext.rb#53 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:53 def verbose(value = T.unsafe(nil)); end # Use this function to prevent potentially destructive ruby code @@ -1780,135 +1781,135 @@ module Rake::FileUtilsExt # # instead of actually building the project. # - # source://rake//lib/rake/file_utils_ext.rb#107 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:107 def when_writing(msg = T.unsafe(nil)); end class << self # Returns the value of attribute nowrite_flag. # - # source://rake//lib/rake/file_utils_ext.rb#14 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:14 def nowrite_flag; end # Sets the attribute nowrite_flag # # @param value the value to set the attribute nowrite_flag to. # - # source://rake//lib/rake/file_utils_ext.rb#14 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:14 def nowrite_flag=(_arg0); end # Returns the value of attribute verbose_flag. # - # source://rake//lib/rake/file_utils_ext.rb#14 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:14 def verbose_flag; end # Sets the attribute verbose_flag # # @param value the value to set the attribute verbose_flag to. # - # source://rake//lib/rake/file_utils_ext.rb#14 + # pkg:gem/rake#lib/rake/file_utils_ext.rb:14 def verbose_flag=(_arg0); end end end -# source://rake//lib/rake/file_utils_ext.rb#17 +# pkg:gem/rake#lib/rake/file_utils_ext.rb:17 Rake::FileUtilsExt::DEFAULT = T.let(T.unsafe(nil), Object) # InvocationChain tracks the chain of task invocations to detect # circular dependencies. # -# source://rake//lib/rake/invocation_chain.rb#6 +# pkg:gem/rake#lib/rake/invocation_chain.rb:6 class Rake::InvocationChain < ::Rake::LinkedList # Append an invocation to the chain of invocations. It is an error # if the invocation already listed. # - # source://rake//lib/rake/invocation_chain.rb#15 + # pkg:gem/rake#lib/rake/invocation_chain.rb:15 def append(invocation); end # Is the invocation already in the chain? # # @return [Boolean] # - # source://rake//lib/rake/invocation_chain.rb#9 + # pkg:gem/rake#lib/rake/invocation_chain.rb:9 def member?(invocation); end # Convert to string, ie: TOP => invocation => invocation # - # source://rake//lib/rake/invocation_chain.rb#23 + # pkg:gem/rake#lib/rake/invocation_chain.rb:23 def to_s; end private - # source://rake//lib/rake/invocation_chain.rb#34 + # pkg:gem/rake#lib/rake/invocation_chain.rb:34 def prefix; end class << self # Class level append. # - # source://rake//lib/rake/invocation_chain.rb#28 + # pkg:gem/rake#lib/rake/invocation_chain.rb:28 def append(invocation, chain); end end end -# source://rake//lib/rake/invocation_chain.rb#55 +# pkg:gem/rake#lib/rake/invocation_chain.rb:55 Rake::InvocationChain::EMPTY = T.let(T.unsafe(nil), Rake::InvocationChain::EmptyInvocationChain) # Null object for an empty chain. # -# source://rake//lib/rake/invocation_chain.rb#39 +# pkg:gem/rake#lib/rake/invocation_chain.rb:39 class Rake::InvocationChain::EmptyInvocationChain < ::Rake::LinkedList::EmptyLinkedList - # source://rake//lib/rake/invocation_chain.rb#46 + # pkg:gem/rake#lib/rake/invocation_chain.rb:46 def append(invocation); end # @return [Boolean] # - # source://rake//lib/rake/invocation_chain.rb#42 + # pkg:gem/rake#lib/rake/invocation_chain.rb:42 def member?(obj); end - # source://rake//lib/rake/invocation_chain.rb#50 + # pkg:gem/rake#lib/rake/invocation_chain.rb:50 def to_s; end end -# source://rake//lib/rake/invocation_exception_mixin.rb#3 +# pkg:gem/rake#lib/rake/invocation_exception_mixin.rb:3 module Rake::InvocationExceptionMixin # Return the invocation chain (list of Rake tasks) that were in # effect when this exception was detected by rake. May be null if # no tasks were active. # - # source://rake//lib/rake/invocation_exception_mixin.rb#7 + # pkg:gem/rake#lib/rake/invocation_exception_mixin.rb:7 def chain; end # Set the invocation chain in effect when this exception was # detected. # - # source://rake//lib/rake/invocation_exception_mixin.rb#13 + # pkg:gem/rake#lib/rake/invocation_exception_mixin.rb:13 def chain=(value); end end -# source://rake//lib/rake/late_time.rb#17 +# pkg:gem/rake#lib/rake/late_time.rb:17 Rake::LATE = T.let(T.unsafe(nil), Rake::LateTime) # LateTime is a fake timestamp that occurs _after_ any other time value. # -# source://rake//lib/rake/late_time.rb#4 +# pkg:gem/rake#lib/rake/late_time.rb:4 class Rake::LateTime include ::Comparable include ::Singleton::SingletonInstanceMethods include ::Singleton extend ::Singleton::SingletonClassMethods - # source://rake//lib/rake/late_time.rb#8 + # pkg:gem/rake#lib/rake/late_time.rb:8 def <=>(other); end - # source://rake//lib/rake/late_time.rb#12 + # pkg:gem/rake#lib/rake/late_time.rb:12 def to_s; end class << self private - # source://rake//lib/rake/late_time.rb#6 + # pkg:gem/rake#lib/rake/late_time.rb:6 def allocate; end - # source://rake//lib/rake/late_time.rb#6 + # pkg:gem/rake#lib/rake/late_time.rb:6 def new(*_arg0); end end end @@ -1916,29 +1917,29 @@ end # Polylithic linked list structure used to implement several data # structures in Rake. # -# source://rake//lib/rake/linked_list.rb#6 +# pkg:gem/rake#lib/rake/linked_list.rb:6 class Rake::LinkedList include ::Enumerable # @return [LinkedList] a new instance of LinkedList # - # source://rake//lib/rake/linked_list.rb#84 + # pkg:gem/rake#lib/rake/linked_list.rb:84 def initialize(head, tail = T.unsafe(nil)); end # Lists are structurally equivalent. # - # source://rake//lib/rake/linked_list.rb#25 + # pkg:gem/rake#lib/rake/linked_list.rb:25 def ==(other); end # Polymorphically add a new element to the head of a list. The # type of head node will be the same list type as the tail. # - # source://rake//lib/rake/linked_list.rb#12 + # pkg:gem/rake#lib/rake/linked_list.rb:12 def conj(item); end # For each item in the list. # - # source://rake//lib/rake/linked_list.rb#48 + # pkg:gem/rake#lib/rake/linked_list.rb:48 def each; end # Is the list empty? @@ -1948,49 +1949,49 @@ class Rake::LinkedList # # @return [Boolean] # - # source://rake//lib/rake/linked_list.rb#20 + # pkg:gem/rake#lib/rake/linked_list.rb:20 def empty?; end # Returns the value of attribute head. # - # source://rake//lib/rake/linked_list.rb#8 + # pkg:gem/rake#lib/rake/linked_list.rb:8 def head; end # Same as +to_s+, but with inspected items. # - # source://rake//lib/rake/linked_list.rb#42 + # pkg:gem/rake#lib/rake/linked_list.rb:42 def inspect; end # Returns the value of attribute tail. # - # source://rake//lib/rake/linked_list.rb#8 + # pkg:gem/rake#lib/rake/linked_list.rb:8 def tail; end # Convert to string: LL(item, item...) # - # source://rake//lib/rake/linked_list.rb#36 + # pkg:gem/rake#lib/rake/linked_list.rb:36 def to_s; end class << self # Cons a new head onto the tail list. # - # source://rake//lib/rake/linked_list.rb#73 + # pkg:gem/rake#lib/rake/linked_list.rb:73 def cons(head, tail); end # The standard empty list class for the given LinkedList class. # - # source://rake//lib/rake/linked_list.rb#78 + # pkg:gem/rake#lib/rake/linked_list.rb:78 def empty; end # Make a list out of the given arguments. This method is # polymorphic # - # source://rake//lib/rake/linked_list.rb#59 + # pkg:gem/rake#lib/rake/linked_list.rb:59 def make(*args); end end end -# source://rake//lib/rake/linked_list.rb#110 +# pkg:gem/rake#lib/rake/linked_list.rb:110 Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList) # Represent an empty list, using the Null Object Pattern. @@ -2000,20 +2001,20 @@ Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList # instance variable @parent to the associated list class (this # allows conj, cons and make to work polymorphically). # -# source://rake//lib/rake/linked_list.rb#95 +# pkg:gem/rake#lib/rake/linked_list.rb:95 class Rake::LinkedList::EmptyLinkedList < ::Rake::LinkedList # @return [EmptyLinkedList] a new instance of EmptyLinkedList # - # source://rake//lib/rake/linked_list.rb#98 + # pkg:gem/rake#lib/rake/linked_list.rb:98 def initialize; end # @return [Boolean] # - # source://rake//lib/rake/linked_list.rb#101 + # pkg:gem/rake#lib/rake/linked_list.rb:101 def empty?; end class << self - # source://rake//lib/rake/linked_list.rb#105 + # pkg:gem/rake#lib/rake/linked_list.rb:105 def cons(head, tail); end end end @@ -2021,60 +2022,60 @@ end # Same as a regular task, but the immediate prerequisites are done in # parallel using Ruby threads. # -# source://rake//lib/rake/multi_task.rb#7 +# pkg:gem/rake#lib/rake/multi_task.rb:7 class Rake::MultiTask < ::Rake::Task private - # source://rake//lib/rake/multi_task.rb#10 + # pkg:gem/rake#lib/rake/multi_task.rb:10 def invoke_prerequisites(task_args, invocation_chain); end end # The NameSpace class will lookup task names in the scope defined by a # +namespace+ command. # -# source://rake//lib/rake/name_space.rb#6 +# pkg:gem/rake#lib/rake/name_space.rb:6 class Rake::NameSpace # Create a namespace lookup object using the given task manager # and the list of scopes. # # @return [NameSpace] a new instance of NameSpace # - # source://rake//lib/rake/name_space.rb#12 + # pkg:gem/rake#lib/rake/name_space.rb:12 def initialize(task_manager, scope_list); end # Lookup a task named +name+ in the namespace. # - # source://rake//lib/rake/name_space.rb#20 + # pkg:gem/rake#lib/rake/name_space.rb:20 def [](name); end # The scope of the namespace (a LinkedList) # - # source://rake//lib/rake/name_space.rb#27 + # pkg:gem/rake#lib/rake/name_space.rb:27 def scope; end # Return the list of tasks defined in this and nested namespaces. # - # source://rake//lib/rake/name_space.rb#34 + # pkg:gem/rake#lib/rake/name_space.rb:34 def tasks; end end # Include PrivateReader to use +private_reader+. # -# source://rake//lib/rake/private_reader.rb#5 +# pkg:gem/rake#lib/rake/private_reader.rb:5 module Rake::PrivateReader mixes_in_class_methods ::Rake::PrivateReader::ClassMethods class << self - # source://rake//lib/rake/private_reader.rb#7 + # pkg:gem/rake#lib/rake/private_reader.rb:7 def included(base); end end end -# source://rake//lib/rake/private_reader.rb#11 +# pkg:gem/rake#lib/rake/private_reader.rb:11 module Rake::PrivateReader::ClassMethods # Declare a list of private accessors # - # source://rake//lib/rake/private_reader.rb#14 + # pkg:gem/rake#lib/rake/private_reader.rb:14 def private_reader(*names); end end @@ -2085,19 +2086,19 @@ end # # Used by ThreadPool. # -# source://rake//lib/rake/promise.rb#11 +# pkg:gem/rake#lib/rake/promise.rb:11 class Rake::Promise # Create a promise to do the chore specified by the block. # # @return [Promise] a new instance of Promise # - # source://rake//lib/rake/promise.rb#17 + # pkg:gem/rake#lib/rake/promise.rb:17 def initialize(args, &block); end - # source://rake//lib/rake/promise.rb#14 + # pkg:gem/rake#lib/rake/promise.rb:14 def recorder; end - # source://rake//lib/rake/promise.rb#14 + # pkg:gem/rake#lib/rake/promise.rb:14 def recorder=(_arg0); end # Return the value of this promise. @@ -2105,134 +2106,134 @@ class Rake::Promise # If the promised chore is not yet complete, then do the work # synchronously. We will wait. # - # source://rake//lib/rake/promise.rb#29 + # pkg:gem/rake#lib/rake/promise.rb:29 def value; end # If no one else is working this promise, go ahead and do the chore. # - # source://rake//lib/rake/promise.rb#42 + # pkg:gem/rake#lib/rake/promise.rb:42 def work; end private # Perform the chore promised # - # source://rake//lib/rake/promise.rb#57 + # pkg:gem/rake#lib/rake/promise.rb:57 def chore; end # Are we done with the promise # # @return [Boolean] # - # source://rake//lib/rake/promise.rb#83 + # pkg:gem/rake#lib/rake/promise.rb:83 def complete?; end # free up these items for the GC # - # source://rake//lib/rake/promise.rb#88 + # pkg:gem/rake#lib/rake/promise.rb:88 def discard; end # Did the promise throw an error # # @return [Boolean] # - # source://rake//lib/rake/promise.rb#78 + # pkg:gem/rake#lib/rake/promise.rb:78 def error?; end # Do we have a result for the promise # # @return [Boolean] # - # source://rake//lib/rake/promise.rb#73 + # pkg:gem/rake#lib/rake/promise.rb:73 def result?; end # Record execution statistics if there is a recorder # - # source://rake//lib/rake/promise.rb#94 + # pkg:gem/rake#lib/rake/promise.rb:94 def stat(*args); end end -# source://rake//lib/rake/promise.rb#12 +# pkg:gem/rake#lib/rake/promise.rb:12 Rake::Promise::NOT_SET = T.let(T.unsafe(nil), Object) # Exit status class for times the system just gives us a nil. # -# source://rake//lib/rake/pseudo_status.rb#6 +# pkg:gem/rake#lib/rake/pseudo_status.rb:6 class Rake::PseudoStatus # @return [PseudoStatus] a new instance of PseudoStatus # - # source://rake//lib/rake/pseudo_status.rb#9 + # pkg:gem/rake#lib/rake/pseudo_status.rb:9 def initialize(code = T.unsafe(nil)); end - # source://rake//lib/rake/pseudo_status.rb#17 + # pkg:gem/rake#lib/rake/pseudo_status.rb:17 def >>(n); end # @return [Boolean] # - # source://rake//lib/rake/pseudo_status.rb#25 + # pkg:gem/rake#lib/rake/pseudo_status.rb:25 def exited?; end - # source://rake//lib/rake/pseudo_status.rb#7 + # pkg:gem/rake#lib/rake/pseudo_status.rb:7 def exitstatus; end # @return [Boolean] # - # source://rake//lib/rake/pseudo_status.rb#21 + # pkg:gem/rake#lib/rake/pseudo_status.rb:21 def stopped?; end - # source://rake//lib/rake/pseudo_status.rb#13 + # pkg:gem/rake#lib/rake/pseudo_status.rb:13 def to_i; end end # Error indicating a recursion overflow error in task selection. # -# source://rake//lib/rake/rule_recursion_overflow_error.rb#5 +# pkg:gem/rake#lib/rake/rule_recursion_overflow_error.rb:5 class Rake::RuleRecursionOverflowError < ::StandardError # @return [RuleRecursionOverflowError] a new instance of RuleRecursionOverflowError # - # source://rake//lib/rake/rule_recursion_overflow_error.rb#6 + # pkg:gem/rake#lib/rake/rule_recursion_overflow_error.rb:6 def initialize(*args); end - # source://rake//lib/rake/rule_recursion_overflow_error.rb#11 + # pkg:gem/rake#lib/rake/rule_recursion_overflow_error.rb:11 def add_target(target); end - # source://rake//lib/rake/rule_recursion_overflow_error.rb#15 + # pkg:gem/rake#lib/rake/rule_recursion_overflow_error.rb:15 def message; end end -# source://rake//lib/rake/scope.rb#3 +# pkg:gem/rake#lib/rake/scope.rb:3 class Rake::Scope < ::Rake::LinkedList # Path for the scope. # - # source://rake//lib/rake/scope.rb#6 + # pkg:gem/rake#lib/rake/scope.rb:6 def path; end # Path for the scope + the named path. # - # source://rake//lib/rake/scope.rb#11 + # pkg:gem/rake#lib/rake/scope.rb:11 def path_with_task_name(task_name); end # Trim +n+ innermost scope levels from the scope. In no case will # this trim beyond the toplevel scope. # - # source://rake//lib/rake/scope.rb#17 + # pkg:gem/rake#lib/rake/scope.rb:17 def trim(n); end end # Singleton null object for an empty scope. # -# source://rake//lib/rake/scope.rb#41 +# pkg:gem/rake#lib/rake/scope.rb:41 Rake::Scope::EMPTY = T.let(T.unsafe(nil), Rake::Scope::EmptyScope) # Scope lists always end with an EmptyScope object. See Null # Object Pattern) # -# source://rake//lib/rake/scope.rb#28 +# pkg:gem/rake#lib/rake/scope.rb:28 class Rake::Scope::EmptyScope < ::Rake::LinkedList::EmptyLinkedList - # source://rake//lib/rake/scope.rb#31 + # pkg:gem/rake#lib/rake/scope.rb:31 def path; end - # source://rake//lib/rake/scope.rb#35 + # pkg:gem/rake#lib/rake/scope.rb:35 def path_with_task_name(task_name); end end @@ -2244,227 +2245,227 @@ end # Tasks are not usually created directly using the new method, but rather # use the +file+ and +task+ convenience methods. # -# source://rake//lib/rake/task.rb#15 +# pkg:gem/rake#lib/rake/task.rb:15 class Rake::Task # Create a task named +task_name+ with no actions or prerequisites. Use # +enhance+ to add actions and prerequisites. # # @return [Task] a new instance of Task # - # source://rake//lib/rake/task.rb#99 + # pkg:gem/rake#lib/rake/task.rb:99 def initialize(task_name, app); end # List of actions attached to a task. # - # source://rake//lib/rake/task.rb#24 + # pkg:gem/rake#lib/rake/task.rb:24 def actions; end # Add a description to the task. The description can consist of an option # argument list (enclosed brackets) and an optional comment. # - # source://rake//lib/rake/task.rb#298 + # pkg:gem/rake#lib/rake/task.rb:298 def add_description(description); end # List of all unique prerequisite tasks including prerequisite tasks' # prerequisites. # Includes self when cyclic dependencies are found. # - # source://rake//lib/rake/task.rb#77 + # pkg:gem/rake#lib/rake/task.rb:77 def all_prerequisite_tasks; end # Has this task already been invoked? Already invoked tasks # will be skipped unless you reenable them. # - # source://rake//lib/rake/task.rb#39 + # pkg:gem/rake#lib/rake/task.rb:39 def already_invoked; end # Application owning this task. # - # source://rake//lib/rake/task.rb#27 + # pkg:gem/rake#lib/rake/task.rb:27 def application; end # Application owning this task. # - # source://rake//lib/rake/task.rb#27 + # pkg:gem/rake#lib/rake/task.rb:27 def application=(_arg0); end # Argument description (nil if none). # - # source://rake//lib/rake/task.rb#136 + # pkg:gem/rake#lib/rake/task.rb:136 def arg_description; end # Name of arguments for this task. # - # source://rake//lib/rake/task.rb#141 + # pkg:gem/rake#lib/rake/task.rb:141 def arg_names; end # Clear the existing prerequisites, actions, comments, and arguments of a rake task. # - # source://rake//lib/rake/task.rb#153 + # pkg:gem/rake#lib/rake/task.rb:153 def clear; end # Clear the existing actions on a rake task. # - # source://rake//lib/rake/task.rb#168 + # pkg:gem/rake#lib/rake/task.rb:168 def clear_actions; end # Clear the existing arguments on a rake task. # - # source://rake//lib/rake/task.rb#180 + # pkg:gem/rake#lib/rake/task.rb:180 def clear_args; end # Clear the existing comments on a rake task. # - # source://rake//lib/rake/task.rb#174 + # pkg:gem/rake#lib/rake/task.rb:174 def clear_comments; end # Clear the existing prerequisites of a rake task. # - # source://rake//lib/rake/task.rb#162 + # pkg:gem/rake#lib/rake/task.rb:162 def clear_prerequisites; end # First line (or sentence) of all comments. Multiple comments are # separated by a "/". # - # source://rake//lib/rake/task.rb#322 + # pkg:gem/rake#lib/rake/task.rb:322 def comment; end - # source://rake//lib/rake/task.rb#304 + # pkg:gem/rake#lib/rake/task.rb:304 def comment=(comment); end # Enhance a task with prerequisites or actions. Returns self. # - # source://rake//lib/rake/task.rb#115 + # pkg:gem/rake#lib/rake/task.rb:115 def enhance(deps = T.unsafe(nil), &block); end # Execute the actions associated with this task. # - # source://rake//lib/rake/task.rb#270 + # pkg:gem/rake#lib/rake/task.rb:270 def execute(args = T.unsafe(nil)); end # Full collection of comments. Multiple comments are separated by # newlines. # - # source://rake//lib/rake/task.rb#316 + # pkg:gem/rake#lib/rake/task.rb:316 def full_comment; end - # source://rake//lib/rake/task.rb#46 + # pkg:gem/rake#lib/rake/task.rb:46 def inspect; end # Return a string describing the internal state of a task. Useful for # debugging. # - # source://rake//lib/rake/task.rb#354 + # pkg:gem/rake#lib/rake/task.rb:354 def investigation; end # Invoke the task if it is needed. Prerequisites are invoked first. # - # source://rake//lib/rake/task.rb#186 + # pkg:gem/rake#lib/rake/task.rb:186 def invoke(*args); end # Invoke all the prerequisites of a task. # - # source://rake//lib/rake/task.rb#237 + # pkg:gem/rake#lib/rake/task.rb:237 def invoke_prerequisites(task_args, invocation_chain); end # Invoke all the prerequisites of a task in parallel. # - # source://rake//lib/rake/task.rb#249 + # pkg:gem/rake#lib/rake/task.rb:249 def invoke_prerequisites_concurrently(task_args, invocation_chain); end # File/Line locations of each of the task definitions for this # task (only valid if the task was defined with the detect # location option set). # - # source://rake//lib/rake/task.rb#35 + # pkg:gem/rake#lib/rake/task.rb:35 def locations; end # Name of the task, including any namespace qualifiers. # - # source://rake//lib/rake/task.rb#122 + # pkg:gem/rake#lib/rake/task.rb:122 def name; end # Name of task with argument list description. # - # source://rake//lib/rake/task.rb#127 + # pkg:gem/rake#lib/rake/task.rb:127 def name_with_args; end # Is this task needed? # # @return [Boolean] # - # source://rake//lib/rake/task.rb#286 + # pkg:gem/rake#lib/rake/task.rb:286 def needed?; end # List of order only prerequisites for a task. # - # source://rake//lib/rake/task.rb#21 + # pkg:gem/rake#lib/rake/task.rb:21 def order_only_prerequisites; end # List of prerequisites for a task. # - # source://rake//lib/rake/task.rb#18 + # pkg:gem/rake#lib/rake/task.rb:18 def prereqs; end # List of prerequisite tasks # - # source://rake//lib/rake/task.rb#61 + # pkg:gem/rake#lib/rake/task.rb:61 def prerequisite_tasks; end # List of prerequisites for a task. # - # source://rake//lib/rake/task.rb#17 + # pkg:gem/rake#lib/rake/task.rb:17 def prerequisites; end # Reenable the task, allowing its tasks to be executed if the task # is invoked again. # - # source://rake//lib/rake/task.rb#147 + # pkg:gem/rake#lib/rake/task.rb:147 def reenable; end # Array of nested namespaces names used for task lookup by this task. # - # source://rake//lib/rake/task.rb#30 + # pkg:gem/rake#lib/rake/task.rb:30 def scope; end # Set the names of the arguments for this task. +args+ should be # an array of symbols, one for each argument name. # - # source://rake//lib/rake/task.rb#348 + # pkg:gem/rake#lib/rake/task.rb:348 def set_arg_names(args); end # First source from a rule (nil if no sources) # - # source://rake//lib/rake/task.rb#93 + # pkg:gem/rake#lib/rake/task.rb:93 def source; end - # source://rake//lib/rake/task.rb#52 + # pkg:gem/rake#lib/rake/task.rb:52 def sources; end # List of sources for task. # - # source://rake//lib/rake/task.rb#51 + # pkg:gem/rake#lib/rake/task.rb:51 def sources=(_arg0); end # Timestamp for this task. Basic tasks return the current time for their # time stamp. Other tasks can be more sophisticated. # - # source://rake//lib/rake/task.rb#292 + # pkg:gem/rake#lib/rake/task.rb:292 def timestamp; end # Return task name # - # source://rake//lib/rake/task.rb#42 + # pkg:gem/rake#lib/rake/task.rb:42 def to_s; end # Add order only dependencies. # - # source://rake//lib/rake/task.rb#379 + # pkg:gem/rake#lib/rake/task.rb:379 def |(deps); end protected - # source://rake//lib/rake/task.rb#83 + # pkg:gem/rake#lib/rake/task.rb:83 def collect_prerequisites(seen); end # Same as invoke, but explicitly pass a call chain to detect @@ -2474,36 +2475,36 @@ class Rake::Task # one in parallel, they will all fail if the first execution of # this task fails. # - # source://rake//lib/rake/task.rb#197 + # pkg:gem/rake#lib/rake/task.rb:197 def invoke_with_call_chain(task_args, invocation_chain); end private - # source://rake//lib/rake/task.rb#229 + # pkg:gem/rake#lib/rake/task.rb:229 def add_chain_to(exception, new_chain); end - # source://rake//lib/rake/task.rb#308 + # pkg:gem/rake#lib/rake/task.rb:308 def add_comment(comment); end # Get the first sentence in a string. The sentence is terminated # by the first period, exclamation mark, or the end of the line. # Decimal points do not count as periods. # - # source://rake//lib/rake/task.rb#341 + # pkg:gem/rake#lib/rake/task.rb:341 def first_sentence(string); end # Format the trace flags for display. # - # source://rake//lib/rake/task.rb#261 + # pkg:gem/rake#lib/rake/task.rb:261 def format_trace_flags; end - # source://rake//lib/rake/task.rb#65 + # pkg:gem/rake#lib/rake/task.rb:65 def lookup_prerequisite(prerequisite_name); end # Transform the list of comments as specified by the block and # join with the separator. # - # source://rake//lib/rake/task.rb#328 + # pkg:gem/rake#lib/rake/task.rb:328 def transform_comments(separator, &block); end class << self @@ -2512,61 +2513,61 @@ class Rake::Task # found, but an existing file matches the task name, assume it is a file # task with no dependencies or actions. # - # source://rake//lib/rake/task.rb#404 + # pkg:gem/rake#lib/rake/task.rb:404 def [](task_name); end # Clear the task list. This cause rake to immediately forget all the # tasks that have been assigned. (Normally used in the unit tests.) # - # source://rake//lib/rake/task.rb#391 + # pkg:gem/rake#lib/rake/task.rb:391 def clear; end # Define a rule for synthesizing tasks. # - # source://rake//lib/rake/task.rb#421 + # pkg:gem/rake#lib/rake/task.rb:421 def create_rule(*args, &block); end # Define a task given +args+ and an option block. If a rule with the # given name already exists, the prerequisites and actions are added to # the existing task. Returns the defined task. # - # source://rake//lib/rake/task.rb#416 + # pkg:gem/rake#lib/rake/task.rb:416 def define_task(*args, &block); end # Format dependencies parameter to pass to task. # - # source://rake//lib/rake/task.rb#373 + # pkg:gem/rake#lib/rake/task.rb:373 def format_deps(deps); end # Apply the scope to the task name according to the rules for # this kind of task. Generic tasks will accept the scope as # part of the name. # - # source://rake//lib/rake/task.rb#428 + # pkg:gem/rake#lib/rake/task.rb:428 def scope_name(scope, task_name); end # TRUE if the task name is already defined. # # @return [Boolean] # - # source://rake//lib/rake/task.rb#409 + # pkg:gem/rake#lib/rake/task.rb:409 def task_defined?(task_name); end # List of all defined tasks. # - # source://rake//lib/rake/task.rb#396 + # pkg:gem/rake#lib/rake/task.rb:396 def tasks; end end end # Error indicating an ill-formed task declaration. # -# source://rake//lib/rake/task_argument_error.rb#5 +# pkg:gem/rake#lib/rake/task_argument_error.rb:5 class Rake::TaskArgumentError < ::ArgumentError; end # TaskArguments manage the arguments passed to a task. # -# source://rake//lib/rake/task_arguments.rb#7 +# pkg:gem/rake#lib/rake/task_arguments.rb:7 class Rake::TaskArguments include ::Enumerable @@ -2575,97 +2576,97 @@ class Rake::TaskArguments # # @return [TaskArguments] a new instance of TaskArguments # - # source://rake//lib/rake/task_arguments.rb#15 + # pkg:gem/rake#lib/rake/task_arguments.rb:15 def initialize(names, values, parent = T.unsafe(nil)); end # Find an argument value by name or index. # - # source://rake//lib/rake/task_arguments.rb#44 + # pkg:gem/rake#lib/rake/task_arguments.rb:44 def [](index); end - # source://rake//lib/rake/task_arguments.rb#97 + # pkg:gem/rake#lib/rake/task_arguments.rb:97 def deconstruct_keys(keys); end # Enumerates the arguments and their values # - # source://rake//lib/rake/task_arguments.rb#56 + # pkg:gem/rake#lib/rake/task_arguments.rb:56 def each(&block); end # Retrieve the list of values not associated with named arguments # - # source://rake//lib/rake/task_arguments.rb#32 + # pkg:gem/rake#lib/rake/task_arguments.rb:32 def extras; end - # source://rake//lib/rake/task_arguments.rb#93 + # pkg:gem/rake#lib/rake/task_arguments.rb:93 def fetch(*args, &block); end # Returns true if +key+ is one of the arguments # # @return [Boolean] # - # source://rake//lib/rake/task_arguments.rb#88 + # pkg:gem/rake#lib/rake/task_arguments.rb:88 def has_key?(key); end - # source://rake//lib/rake/task_arguments.rb#79 + # pkg:gem/rake#lib/rake/task_arguments.rb:79 def inspect; end # Returns true if +key+ is one of the arguments # # @return [Boolean] # - # source://rake//lib/rake/task_arguments.rb#91 + # pkg:gem/rake#lib/rake/task_arguments.rb:91 def key?(key); end # Returns the value of the given argument via method_missing # - # source://rake//lib/rake/task_arguments.rb#66 + # pkg:gem/rake#lib/rake/task_arguments.rb:66 def method_missing(sym, *args); end # Argument names # - # source://rake//lib/rake/task_arguments.rb#11 + # pkg:gem/rake#lib/rake/task_arguments.rb:11 def names; end # Create a new argument scope using the prerequisite argument # names. # - # source://rake//lib/rake/task_arguments.rb#38 + # pkg:gem/rake#lib/rake/task_arguments.rb:38 def new_scope(names); end # Retrieve the complete array of sequential values # - # source://rake//lib/rake/task_arguments.rb#27 + # pkg:gem/rake#lib/rake/task_arguments.rb:27 def to_a; end # Returns a Hash of arguments and their values # - # source://rake//lib/rake/task_arguments.rb#71 + # pkg:gem/rake#lib/rake/task_arguments.rb:71 def to_hash; end - # source://rake//lib/rake/task_arguments.rb#75 + # pkg:gem/rake#lib/rake/task_arguments.rb:75 def to_s; end # Extracts the argument values at +keys+ # - # source://rake//lib/rake/task_arguments.rb#61 + # pkg:gem/rake#lib/rake/task_arguments.rb:61 def values_at(*keys); end # Specify a hash of default values for task arguments. Use the # defaults only if there is no specific value for the given # argument. # - # source://rake//lib/rake/task_arguments.rb#51 + # pkg:gem/rake#lib/rake/task_arguments.rb:51 def with_defaults(defaults); end protected - # source://rake//lib/rake/task_arguments.rb#103 + # pkg:gem/rake#lib/rake/task_arguments.rb:103 def lookup(name); end end # Base class for Task Libraries. # -# source://rake//lib/rake/tasklib.rb#7 +# pkg:gem/rake#lib/rake/tasklib.rb:7 class Rake::TaskLib include ::Rake::Cloneable include ::FileUtils::StreamUtils_ @@ -2676,31 +2677,31 @@ end # The TaskManager module is a mixin for managing tasks. # -# source://rake//lib/rake/task_manager.rb#5 +# pkg:gem/rake#lib/rake/task_manager.rb:5 module Rake::TaskManager - # source://rake//lib/rake/task_manager.rb#9 + # pkg:gem/rake#lib/rake/task_manager.rb:9 def initialize; end # Find a matching task for +task_name+. # - # source://rake//lib/rake/task_manager.rb#54 + # pkg:gem/rake#lib/rake/task_manager.rb:54 def [](task_name, scopes = T.unsafe(nil)); end # Clear all tasks in this application. # - # source://rake//lib/rake/task_manager.rb#182 + # pkg:gem/rake#lib/rake/task_manager.rb:182 def clear; end - # source://rake//lib/rake/task_manager.rb#17 + # pkg:gem/rake#lib/rake/task_manager.rb:17 def create_rule(*args, &block); end # Return the list of scope names currently active in the task # manager. # - # source://rake//lib/rake/task_manager.rb#222 + # pkg:gem/rake#lib/rake/task_manager.rb:222 def current_scope; end - # source://rake//lib/rake/task_manager.rb#23 + # pkg:gem/rake#lib/rake/task_manager.rb:23 def define_task(task_class, *args, &block); end # If a rule can be found that matches the task name, enhance the @@ -2708,35 +2709,35 @@ module Rake::TaskManager # source attribute of the task appropriately for the rule. Return # the enhanced task or nil of no rule was found. # - # source://rake//lib/rake/task_manager.rb#151 + # pkg:gem/rake#lib/rake/task_manager.rb:151 def enhance_with_matching_rule(task_name, level = T.unsafe(nil)); end - # source://rake//lib/rake/task_manager.rb#68 + # pkg:gem/rake#lib/rake/task_manager.rb:68 def generate_did_you_mean_suggestions(task_name); end - # source://rake//lib/rake/task_manager.rb#62 + # pkg:gem/rake#lib/rake/task_manager.rb:62 def generate_message_for_undefined_task(task_name); end # Evaluate the block in a nested namespace named +name+. Create # an anonymous namespace if +name+ is nil. # - # source://rake//lib/rake/task_manager.rb#228 + # pkg:gem/rake#lib/rake/task_manager.rb:228 def in_namespace(name); end # Lookup a task. Return an existing task if found, otherwise # create a task of the current type. # - # source://rake//lib/rake/task_manager.rb#49 + # pkg:gem/rake#lib/rake/task_manager.rb:49 def intern(task_class, task_name); end # Track the last comment made in the Rakefile. # - # source://rake//lib/rake/task_manager.rb#7 + # pkg:gem/rake#lib/rake/task_manager.rb:7 def last_description; end # Track the last comment made in the Rakefile. # - # source://rake//lib/rake/task_manager.rb#7 + # pkg:gem/rake#lib/rake/task_manager.rb:7 def last_description=(_arg0); end # Lookup a task, using scope and the scope hints in the task name. @@ -2745,65 +2746,65 @@ module Rake::TaskManager # are recognized. If no scope argument is supplied, use the # current scope. Return nil if the task cannot be found. # - # source://rake//lib/rake/task_manager.rb#192 + # pkg:gem/rake#lib/rake/task_manager.rb:192 def lookup(task_name, initial_scope = T.unsafe(nil)); end # Resolve the arguments for a task/rule. Returns a tuple of # [task_name, arg_name_list, prerequisites, order_only_prerequisites]. # - # source://rake//lib/rake/task_manager.rb#88 + # pkg:gem/rake#lib/rake/task_manager.rb:88 def resolve_args(args); end - # source://rake//lib/rake/task_manager.rb#81 + # pkg:gem/rake#lib/rake/task_manager.rb:81 def synthesize_file_task(task_name); end # List of all defined tasks in this application. # - # source://rake//lib/rake/task_manager.rb#168 + # pkg:gem/rake#lib/rake/task_manager.rb:168 def tasks; end # List of all the tasks defined in the given scope (and its # sub-scopes). # - # source://rake//lib/rake/task_manager.rb#174 + # pkg:gem/rake#lib/rake/task_manager.rb:174 def tasks_in_scope(scope); end private # Add a location to the locations field of the given task. # - # source://rake//lib/rake/task_manager.rb#241 + # pkg:gem/rake#lib/rake/task_manager.rb:241 def add_location(task); end # Attempt to create a rule given the list of prerequisites. # - # source://rake//lib/rake/task_manager.rb#271 + # pkg:gem/rake#lib/rake/task_manager.rb:271 def attempt_rule(task_name, task_pattern, args, extensions, block, level); end # Find the location that called into the dsl layer. # - # source://rake//lib/rake/task_manager.rb#248 + # pkg:gem/rake#lib/rake/task_manager.rb:248 def find_location; end # Generate an anonymous namespace name. # - # source://rake//lib/rake/task_manager.rb#259 + # pkg:gem/rake#lib/rake/task_manager.rb:259 def generate_name; end # Return the current description, clearing it in the process. # - # source://rake//lib/rake/task_manager.rb#319 + # pkg:gem/rake#lib/rake/task_manager.rb:319 def get_description; end # Lookup the task name # - # source://rake//lib/rake/task_manager.rb#208 + # pkg:gem/rake#lib/rake/task_manager.rb:208 def lookup_in_scope(name, scope); end # Make a list of sources from the list of file name extensions / # translation procs. # - # source://rake//lib/rake/task_manager.rb#293 + # pkg:gem/rake#lib/rake/task_manager.rb:293 def make_sources(task_name, task_pattern, extensions); end # Resolve task arguments for a task or rule when there are @@ -2817,7 +2818,7 @@ module Rake::TaskManager # task :t, [a] => [:d] # task :t, [a] => [:d], order_only: [:e] # - # source://rake//lib/rake/task_manager.rb#127 + # pkg:gem/rake#lib/rake/task_manager.rb:127 def resolve_args_with_dependencies(args, hash); end # Resolve task arguments for a task or rule when there are no @@ -2828,17 +2829,17 @@ module Rake::TaskManager # task :t # task :t, [:a] # - # source://rake//lib/rake/task_manager.rb#105 + # pkg:gem/rake#lib/rake/task_manager.rb:105 def resolve_args_without_dependencies(args); end - # source://rake//lib/rake/task_manager.rb#265 + # pkg:gem/rake#lib/rake/task_manager.rb:265 def trace_rule(level, message); end class << self - # source://rake//lib/rake/task_manager.rb#326 + # pkg:gem/rake#lib/rake/task_manager.rb:326 def record_task_metadata; end - # source://rake//lib/rake/task_manager.rb#326 + # pkg:gem/rake#lib/rake/task_manager.rb:326 def record_task_metadata=(_arg0); end end end @@ -2871,7 +2872,7 @@ end # rake test TESTOPTS="-v" # run in verbose mode # rake test TESTOPTS="--runner=fox" # use the fox test runner # -# source://rake//lib/rake/testtask.rb#35 +# pkg:gem/rake#lib/rake/testtask.rb:35 class Rake::TestTask < ::Rake::TaskLib # Create a testing task. # @@ -2879,53 +2880,53 @@ class Rake::TestTask < ::Rake::TaskLib # @yield [_self] # @yieldparam _self [Rake::TestTask] the object that the method was called on # - # source://rake//lib/rake/testtask.rb#86 + # pkg:gem/rake#lib/rake/testtask.rb:86 def initialize(name = T.unsafe(nil)); end # Create the tasks defined by this task lib. # - # source://rake//lib/rake/testtask.rb#108 + # pkg:gem/rake#lib/rake/testtask.rb:108 def define; end # Task prerequisites. # - # source://rake//lib/rake/testtask.rb#75 + # pkg:gem/rake#lib/rake/testtask.rb:75 def deps; end # Task prerequisites. # - # source://rake//lib/rake/testtask.rb#75 + # pkg:gem/rake#lib/rake/testtask.rb:75 def deps=(_arg0); end # Description of the test task. (default is 'Run tests') # - # source://rake//lib/rake/testtask.rb#72 + # pkg:gem/rake#lib/rake/testtask.rb:72 def description; end # Description of the test task. (default is 'Run tests') # - # source://rake//lib/rake/testtask.rb#72 + # pkg:gem/rake#lib/rake/testtask.rb:72 def description=(_arg0); end - # source://rake//lib/rake/testtask.rb#162 + # pkg:gem/rake#lib/rake/testtask.rb:162 def file_list; end - # source://rake//lib/rake/testtask.rb#158 + # pkg:gem/rake#lib/rake/testtask.rb:158 def file_list_string; end - # source://rake//lib/rake/testtask.rb#154 + # pkg:gem/rake#lib/rake/testtask.rb:154 def lib_path; end # List of directories added to $LOAD_PATH before running the # tests. (default is 'lib') # - # source://rake//lib/rake/testtask.rb#42 + # pkg:gem/rake#lib/rake/testtask.rb:42 def libs; end # List of directories added to $LOAD_PATH before running the # tests. (default is 'lib') # - # source://rake//lib/rake/testtask.rb#42 + # pkg:gem/rake#lib/rake/testtask.rb:42 def libs=(_arg0); end # Style of test loader to use. Options are: @@ -2934,7 +2935,7 @@ class Rake::TestTask < ::Rake::TaskLib # * :testrb -- Ruby provided test loading script. # * :direct -- Load tests using command line loader. # - # source://rake//lib/rake/testtask.rb#66 + # pkg:gem/rake#lib/rake/testtask.rb:66 def loader; end # Style of test loader to use. Options are: @@ -2943,63 +2944,63 @@ class Rake::TestTask < ::Rake::TaskLib # * :testrb -- Ruby provided test loading script. # * :direct -- Load tests using command line loader. # - # source://rake//lib/rake/testtask.rb#66 + # pkg:gem/rake#lib/rake/testtask.rb:66 def loader=(_arg0); end # Name of test task. (default is :test) # - # source://rake//lib/rake/testtask.rb#38 + # pkg:gem/rake#lib/rake/testtask.rb:38 def name; end # Name of test task. (default is :test) # - # source://rake//lib/rake/testtask.rb#38 + # pkg:gem/rake#lib/rake/testtask.rb:38 def name=(_arg0); end - # source://rake//lib/rake/testtask.rb#138 + # pkg:gem/rake#lib/rake/testtask.rb:138 def option_list; end # Test options passed to the test suite. An explicit # TESTOPTS=opts on the command line will override this. (default # is NONE) # - # source://rake//lib/rake/testtask.rb#50 + # pkg:gem/rake#lib/rake/testtask.rb:50 def options; end # Test options passed to the test suite. An explicit # TESTOPTS=opts on the command line will override this. (default # is NONE) # - # source://rake//lib/rake/testtask.rb#50 + # pkg:gem/rake#lib/rake/testtask.rb:50 def options=(_arg0); end # Glob pattern to match test files. (default is 'test/test*.rb') # - # source://rake//lib/rake/testtask.rb#58 + # pkg:gem/rake#lib/rake/testtask.rb:58 def pattern; end # Glob pattern to match test files. (default is 'test/test*.rb') # - # source://rake//lib/rake/testtask.rb#58 + # pkg:gem/rake#lib/rake/testtask.rb:58 def pattern=(_arg0); end # Array of command line options to pass to ruby when running test loader. # - # source://rake//lib/rake/testtask.rb#69 + # pkg:gem/rake#lib/rake/testtask.rb:69 def ruby_opts; end # Array of command line options to pass to ruby when running test loader. # - # source://rake//lib/rake/testtask.rb#69 + # pkg:gem/rake#lib/rake/testtask.rb:69 def ruby_opts=(_arg0); end - # source://rake//lib/rake/testtask.rb#147 + # pkg:gem/rake#lib/rake/testtask.rb:147 def ruby_opts_string; end - # source://rake//lib/rake/testtask.rb#173 + # pkg:gem/rake#lib/rake/testtask.rb:173 def ruby_version; end - # source://rake//lib/rake/testtask.rb#177 + # pkg:gem/rake#lib/rake/testtask.rb:177 def run_code; end # Explicitly define the list of test files to be included in a @@ -3007,70 +3008,70 @@ class Rake::TestTask < ::Rake::TaskLib # FileList is acceptable). If both +pattern+ and +test_files+ are # used, then the list of test files is the union of the two. # - # source://rake//lib/rake/testtask.rb#81 + # pkg:gem/rake#lib/rake/testtask.rb:81 def test_files=(list); end # True if verbose test output desired. (default is false) # - # source://rake//lib/rake/testtask.rb#45 + # pkg:gem/rake#lib/rake/testtask.rb:45 def verbose; end # True if verbose test output desired. (default is false) # - # source://rake//lib/rake/testtask.rb#45 + # pkg:gem/rake#lib/rake/testtask.rb:45 def verbose=(_arg0); end # Request that the tests be run with the warning flag set. # E.g. warning=true implies "ruby -w" used to run the tests. # (default is true) # - # source://rake//lib/rake/testtask.rb#55 + # pkg:gem/rake#lib/rake/testtask.rb:55 def warning; end # Request that the tests be run with the warning flag set. # E.g. warning=true implies "ruby -w" used to run the tests. # (default is true) # - # source://rake//lib/rake/testtask.rb#55 + # pkg:gem/rake#lib/rake/testtask.rb:55 def warning=(_arg0); end end -# source://rake//lib/rake/thread_history_display.rb#6 +# pkg:gem/rake#lib/rake/thread_history_display.rb:6 class Rake::ThreadHistoryDisplay include ::Rake::PrivateReader extend ::Rake::PrivateReader::ClassMethods # @return [ThreadHistoryDisplay] a new instance of ThreadHistoryDisplay # - # source://rake//lib/rake/thread_history_display.rb#11 + # pkg:gem/rake#lib/rake/thread_history_display.rb:11 def initialize(stats); end - # source://rake//lib/rake/thread_history_display.rb#17 + # pkg:gem/rake#lib/rake/thread_history_display.rb:17 def show; end private - # source://rake//lib/rake/thread_history_display.rb#9 + # pkg:gem/rake#lib/rake/thread_history_display.rb:9 def items; end - # source://rake//lib/rake/thread_history_display.rb#35 + # pkg:gem/rake#lib/rake/thread_history_display.rb:35 def rename(hash, key, renames); end - # source://rake//lib/rake/thread_history_display.rb#9 + # pkg:gem/rake#lib/rake/thread_history_display.rb:9 def stats; end - # source://rake//lib/rake/thread_history_display.rb#9 + # pkg:gem/rake#lib/rake/thread_history_display.rb:9 def threads; end end -# source://rake//lib/rake/thread_pool.rb#8 +# pkg:gem/rake#lib/rake/thread_pool.rb:8 class Rake::ThreadPool # Creates a ThreadPool object. The +thread_count+ parameter is the size # of the pool. # # @return [ThreadPool] a new instance of ThreadPool # - # source://rake//lib/rake/thread_pool.rb#12 + # pkg:gem/rake#lib/rake/thread_pool.rb:12 def initialize(thread_count); end # Creates a future executed by the +ThreadPool+. @@ -3082,12 +3083,12 @@ class Rake::ThreadPool # current thread until the future is finished and will return the # result (or raise an exception thrown from the future) # - # source://rake//lib/rake/thread_pool.rb#33 + # pkg:gem/rake#lib/rake/thread_pool.rb:33 def future(*args, &block); end # Enable the gathering of history events. # - # source://rake//lib/rake/thread_pool.rb#68 + # pkg:gem/rake#lib/rake/thread_pool.rb:68 def gather_history; end # Return a array of history events for the thread pool. @@ -3096,40 +3097,40 @@ class Rake::ThreadPool # (see #gather_history). Best to call this when the job is # complete (i.e. after ThreadPool#join is called). # - # source://rake//lib/rake/thread_pool.rb#77 + # pkg:gem/rake#lib/rake/thread_pool.rb:77 def history; end # Waits until the queue of futures is empty and all threads have exited. # - # source://rake//lib/rake/thread_pool.rb#44 + # pkg:gem/rake#lib/rake/thread_pool.rb:44 def join; end # Return a hash of always collected statistics for the thread pool. # - # source://rake//lib/rake/thread_pool.rb#84 + # pkg:gem/rake#lib/rake/thread_pool.rb:84 def statistics; end private # for testing only # - # source://rake//lib/rake/thread_pool.rb#152 + # pkg:gem/rake#lib/rake/thread_pool.rb:152 def __queue__; end # processes one item on the queue. Returns true if there was an # item to process, false if there was no item # - # source://rake//lib/rake/thread_pool.rb#95 + # pkg:gem/rake#lib/rake/thread_pool.rb:95 def process_queue_item; end - # source://rake//lib/rake/thread_pool.rb#111 + # pkg:gem/rake#lib/rake/thread_pool.rb:111 def start_thread; end - # source://rake//lib/rake/thread_pool.rb#139 + # pkg:gem/rake#lib/rake/thread_pool.rb:139 def stat(event, data = T.unsafe(nil)); end end -# source://rake//lib/rake/trace_output.rb#3 +# pkg:gem/rake#lib/rake/trace_output.rb:3 module Rake::TraceOutput # Write trace output to output stream +out+. # @@ -3137,40 +3138,40 @@ module Rake::TraceOutput # chance that the trace output is interrupted by other tasks also # producing output. # - # source://rake//lib/rake/trace_output.rb#10 + # pkg:gem/rake#lib/rake/trace_output.rb:10 def trace_on(out, *strings); end end -# source://rake//lib/rake/version.rb#3 +# pkg:gem/rake#lib/rake/version.rb:3 Rake::VERSION = T.let(T.unsafe(nil), String) -# source://rake//lib/rake/version.rb#5 +# pkg:gem/rake#lib/rake/version.rb:5 module Rake::Version; end -# source://rake//lib/rake/version.rb#6 +# pkg:gem/rake#lib/rake/version.rb:6 Rake::Version::BUILD = T.let(T.unsafe(nil), String) -# source://rake//lib/rake/version.rb#6 +# pkg:gem/rake#lib/rake/version.rb:6 Rake::Version::MAJOR = T.let(T.unsafe(nil), String) -# source://rake//lib/rake/version.rb#6 +# pkg:gem/rake#lib/rake/version.rb:6 Rake::Version::MINOR = T.let(T.unsafe(nil), String) -# source://rake//lib/rake/version.rb#8 +# pkg:gem/rake#lib/rake/version.rb:8 Rake::Version::NUMBERS = T.let(T.unsafe(nil), Array) -# source://rake//lib/rake/version.rb#6 +# pkg:gem/rake#lib/rake/version.rb:6 Rake::Version::OTHER = T.let(T.unsafe(nil), Array) # Win 32 interface methods for Rake. Windows specific functionality # will be placed here to collect that knowledge in one spot. # -# source://rake//lib/rake/win32.rb#7 +# pkg:gem/rake#lib/rake/win32.rb:7 module Rake::Win32 class << self # Normalize a win32 path so that the slashes are all forward slashes. # - # source://rake//lib/rake/win32.rb#45 + # pkg:gem/rake#lib/rake/win32.rb:45 def normalize(path); end # The standard directory containing system wide rake files on @@ -3186,14 +3187,14 @@ module Rake::Win32 # # @raise [Win32HomeError] # - # source://rake//lib/rake/win32.rb#30 + # pkg:gem/rake#lib/rake/win32.rb:30 def win32_system_dir; end # True if running on a windows system. # # @return [Boolean] # - # source://rake//lib/rake/win32.rb#16 + # pkg:gem/rake#lib/rake/win32.rb:16 def windows?; end end end @@ -3201,30 +3202,30 @@ end # Error indicating a problem in locating the home directory on a # Win32 system. # -# source://rake//lib/rake/win32.rb#11 +# pkg:gem/rake#lib/rake/win32.rb:11 class Rake::Win32::Win32HomeError < ::RuntimeError; end -# source://rake//lib/rake.rb#68 +# pkg:gem/rake#lib/rake.rb:68 RakeFileUtils = Rake::FileUtilsExt -# source://rake//lib/rake/ext/string.rb#4 +# pkg:gem/rake#lib/rake/ext/string.rb:4 class String include ::Comparable - # source://rake//lib/rake/ext/string.rb#14 + # pkg:gem/rake#lib/rake/ext/string.rb:14 def ext(newext = T.unsafe(nil)); end - # source://rake//lib/rake/ext/string.rb#138 + # pkg:gem/rake#lib/rake/ext/string.rb:138 def pathmap(spec = T.unsafe(nil), &block); end protected - # source://rake//lib/rake/ext/string.rb#27 + # pkg:gem/rake#lib/rake/ext/string.rb:27 def pathmap_explode; end - # source://rake//lib/rake/ext/string.rb#41 + # pkg:gem/rake#lib/rake/ext/string.rb:41 def pathmap_partial(n); end - # source://rake//lib/rake/ext/string.rb#59 + # pkg:gem/rake#lib/rake/ext/string.rb:59 def pathmap_replace(patterns, &block); end end diff --git a/sorbet/rbi/gems/rbi@0.3.9.rbi b/sorbet/rbi/gems/rbi@0.3.9.rbi index 639eaee83..209e9d7af 100644 --- a/sorbet/rbi/gems/rbi@0.3.9.rbi +++ b/sorbet/rbi/gems/rbi@0.3.9.rbi @@ -11,33 +11,33 @@ # This is an autogenerated file for types exported from the `rbi` gem. # Please instead update this file by running `bundle exec spoom srb sigs export`. -# source://rbi//lib/rbi.rb#7 +# pkg:gem/rbi#lib/rbi.rb:7 module RBI; end -# source://rbi//lib/rbi/model.rb#833 +# pkg:gem/rbi#lib/rbi/model.rb:833 class RBI::Arg < ::RBI::Node # @return [Arg] a new instance of Arg # - # source://rbi//lib/rbi/model.rb#838 + # pkg:gem/rbi#lib/rbi/model.rb:838 sig { params(value: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(value, loc: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#844 + # pkg:gem/rbi#lib/rbi/model.rb:844 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#849 + # pkg:gem/rbi#lib/rbi/model.rb:849 sig { returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#835 + # pkg:gem/rbi#lib/rbi/model.rb:835 sig { returns(::String) } def value; end end # @abstract # -# source://rbi//lib/rbi/model.rb#298 +# pkg:gem/rbi#lib/rbi/model.rb:298 class RBI::Attr < ::RBI::NodeWithComments include ::RBI::Indexable @@ -45,7 +45,7 @@ class RBI::Attr < ::RBI::NodeWithComments # @return [Attr] a new instance of Attr # - # source://rbi//lib/rbi/model.rb#316 + # pkg:gem/rbi#lib/rbi/model.rb:316 sig do params( name: ::Symbol, @@ -60,50 +60,50 @@ class RBI::Attr < ::RBI::NodeWithComments # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#420 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:420 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#59 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:59 sig { abstract.returns(T::Array[::RBI::Method]) } def convert_to_methods; end # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/model.rb#325 + # pkg:gem/rbi#lib/rbi/model.rb:325 sig { abstract.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/index.rb#104 + # pkg:gem/rbi#lib/rbi/index.rb:104 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#429 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:429 sig { override.params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/model.rb#300 + # pkg:gem/rbi#lib/rbi/model.rb:300 sig { returns(T::Array[::Symbol]) } def names; end - # source://rbi//lib/rbi/model.rb#306 + # pkg:gem/rbi#lib/rbi/model.rb:306 sig { returns(T::Array[::RBI::Sig]) } def sigs; end - # source://rbi//lib/rbi/model.rb#303 + # pkg:gem/rbi#lib/rbi/model.rb:303 sig { returns(::RBI::Visibility) } def visibility; end - # source://rbi//lib/rbi/model.rb#303 + # pkg:gem/rbi#lib/rbi/model.rb:303 def visibility=(_arg0); end private - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#80 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:80 sig do params( name: ::String, @@ -115,7 +115,7 @@ class RBI::Attr < ::RBI::NodeWithComments end def create_getter_method(name, sig, visibility, loc, comments); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#99 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:99 sig do params( name: ::String, @@ -130,16 +130,16 @@ class RBI::Attr < ::RBI::NodeWithComments # @raise [UnexpectedMultipleSigsError] # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#65 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:65 sig(:final) { returns([T.nilable(::RBI::Sig), T.nilable(T.any(::RBI::Type, ::String))]) } def parse_sig; end end -# source://rbi//lib/rbi/model.rb#328 +# pkg:gem/rbi#lib/rbi/model.rb:328 class RBI::AttrAccessor < ::RBI::Attr # @return [AttrAccessor] a new instance of AttrAccessor # - # source://rbi//lib/rbi/model.rb#337 + # pkg:gem/rbi#lib/rbi/model.rb:337 sig do params( name: ::Symbol, @@ -155,28 +155,28 @@ class RBI::AttrAccessor < ::RBI::Attr # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#458 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:458 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#130 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:130 sig { override.returns(T::Array[::RBI::Method]) } def convert_to_methods; end - # source://rbi//lib/rbi/model.rb#344 + # pkg:gem/rbi#lib/rbi/model.rb:344 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#351 + # pkg:gem/rbi#lib/rbi/model.rb:351 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#357 +# pkg:gem/rbi#lib/rbi/model.rb:357 class RBI::AttrReader < ::RBI::Attr # @return [AttrReader] a new instance of AttrReader # - # source://rbi//lib/rbi/model.rb#366 + # pkg:gem/rbi#lib/rbi/model.rb:366 sig do params( name: ::Symbol, @@ -192,28 +192,28 @@ class RBI::AttrReader < ::RBI::Attr # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#442 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:442 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#145 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:145 sig { override.returns(T::Array[::RBI::Method]) } def convert_to_methods; end - # source://rbi//lib/rbi/model.rb#373 + # pkg:gem/rbi#lib/rbi/model.rb:373 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#380 + # pkg:gem/rbi#lib/rbi/model.rb:380 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#386 +# pkg:gem/rbi#lib/rbi/model.rb:386 class RBI::AttrWriter < ::RBI::Attr # @return [AttrWriter] a new instance of AttrWriter # - # source://rbi//lib/rbi/model.rb#395 + # pkg:gem/rbi#lib/rbi/model.rb:395 sig do params( name: ::Symbol, @@ -229,39 +229,39 @@ class RBI::AttrWriter < ::RBI::Attr # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#450 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:450 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#155 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:155 sig { override.returns(T::Array[::RBI::Method]) } def convert_to_methods; end - # source://rbi//lib/rbi/model.rb#402 + # pkg:gem/rbi#lib/rbi/model.rb:402 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#409 + # pkg:gem/rbi#lib/rbi/model.rb:409 sig { override.returns(::String) } def to_s; end end # An arbitrary blank line that can be added both in trees and comments # -# source://rbi//lib/rbi/model.rb#70 +# pkg:gem/rbi#lib/rbi/model.rb:70 class RBI::BlankLine < ::RBI::Comment # @return [BlankLine] a new instance of BlankLine # - # source://rbi//lib/rbi/model.rb#72 + # pkg:gem/rbi#lib/rbi/model.rb:72 sig { params(loc: T.nilable(::RBI::Loc)).void } def initialize(loc: T.unsafe(nil)); end end -# source://rbi//lib/rbi/model.rb#679 +# pkg:gem/rbi#lib/rbi/model.rb:679 class RBI::BlockParam < ::RBI::Param # @return [BlockParam] a new instance of BlockParam # - # source://rbi//lib/rbi/model.rb#681 + # pkg:gem/rbi#lib/rbi/model.rb:681 sig do params( name: ::String, @@ -272,20 +272,20 @@ class RBI::BlockParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#693 + # pkg:gem/rbi#lib/rbi/model.rb:693 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#688 + # pkg:gem/rbi#lib/rbi/model.rb:688 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#195 +# pkg:gem/rbi#lib/rbi/model.rb:195 class RBI::Class < ::RBI::Scope # @return [Class] a new instance of Class # - # source://rbi//lib/rbi/model.rb#203 + # pkg:gem/rbi#lib/rbi/model.rb:203 sig do params( name: ::String, @@ -299,46 +299,46 @@ class RBI::Class < ::RBI::Scope # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#388 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:388 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#212 + # pkg:gem/rbi#lib/rbi/model.rb:212 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/model.rb#197 + # pkg:gem/rbi#lib/rbi/model.rb:197 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#197 + # pkg:gem/rbi#lib/rbi/model.rb:197 def name=(_arg0); end - # source://rbi//lib/rbi/model.rb#200 + # pkg:gem/rbi#lib/rbi/model.rb:200 sig { returns(T.nilable(::String)) } def superclass_name; end - # source://rbi//lib/rbi/model.rb#200 + # pkg:gem/rbi#lib/rbi/model.rb:200 def superclass_name=(_arg0); end end -# source://rbi//lib/rbi/model.rb#51 +# pkg:gem/rbi#lib/rbi/model.rb:51 class RBI::Comment < ::RBI::Node # @return [Comment] a new instance of Comment # - # source://rbi//lib/rbi/model.rb#56 + # pkg:gem/rbi#lib/rbi/model.rb:56 sig { params(text: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(text, loc: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#62 + # pkg:gem/rbi#lib/rbi/model.rb:62 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#53 + # pkg:gem/rbi#lib/rbi/model.rb:53 sig { returns(::String) } def text; end - # source://rbi//lib/rbi/model.rb#53 + # pkg:gem/rbi#lib/rbi/model.rb:53 def text=(_arg0); end end @@ -357,38 +357,38 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#572 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:572 class RBI::ConflictTree < ::RBI::Tree # @return [ConflictTree] a new instance of ConflictTree # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#580 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:580 sig { params(left_name: ::String, right_name: ::String).void } def initialize(left_name: T.unsafe(nil), right_name: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#574 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:574 sig { returns(::RBI::Tree) } def left; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#577 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:577 sig { returns(::String) } def left_name; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#574 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:574 def right; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#577 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:577 def right_name; end end # Consts # -# source://rbi//lib/rbi/model.rb#269 +# pkg:gem/rbi#lib/rbi/model.rb:269 class RBI::Const < ::RBI::NodeWithComments include ::RBI::Indexable # @return [Const] a new instance of Const # - # source://rbi//lib/rbi/model.rb#274 + # pkg:gem/rbi#lib/rbi/model.rb:274 sig do params( name: ::String, @@ -402,43 +402,43 @@ class RBI::Const < ::RBI::NodeWithComments # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#412 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:412 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#282 + # pkg:gem/rbi#lib/rbi/model.rb:282 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#94 + # pkg:gem/rbi#lib/rbi/index.rb:94 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#271 + # pkg:gem/rbi#lib/rbi/model.rb:271 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#290 + # pkg:gem/rbi#lib/rbi/model.rb:290 sig { override.returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#271 + # pkg:gem/rbi#lib/rbi/model.rb:271 def value; end end -# source://rbi//lib/rbi/rewriters/merge_trees.rb#358 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:358 class RBI::DuplicateNodeError < ::RBI::Error; end -# source://rbi//lib/rbi.rb#8 +# pkg:gem/rbi#lib/rbi.rb:8 class RBI::Error < ::StandardError; end -# source://rbi//lib/rbi/model.rb#726 +# pkg:gem/rbi#lib/rbi/model.rb:726 class RBI::Extend < ::RBI::Mixin include ::RBI::Indexable # @return [Extend] a new instance of Extend # - # source://rbi//lib/rbi/model.rb#728 + # pkg:gem/rbi#lib/rbi/model.rb:728 sig do params( name: ::String, @@ -452,24 +452,24 @@ class RBI::Extend < ::RBI::Mixin # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#505 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:505 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#134 + # pkg:gem/rbi#lib/rbi/index.rb:134 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#735 + # pkg:gem/rbi#lib/rbi/model.rb:735 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#131 +# pkg:gem/rbi#lib/rbi/model.rb:131 class RBI::File # @return [File] a new instance of File # - # source://rbi//lib/rbi/model.rb#142 + # pkg:gem/rbi#lib/rbi/model.rb:142 sig do params( strictness: T.nilable(::String), @@ -479,24 +479,24 @@ class RBI::File end def initialize(strictness: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#150 + # pkg:gem/rbi#lib/rbi/model.rb:150 sig { params(node: ::RBI::Node).void } def <<(node); end - # source://rbi//lib/rbi/model.rb#139 + # pkg:gem/rbi#lib/rbi/model.rb:139 sig { returns(T::Array[::RBI::Comment]) } def comments; end - # source://rbi//lib/rbi/model.rb#139 + # pkg:gem/rbi#lib/rbi/model.rb:139 def comments=(_arg0); end # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#155 + # pkg:gem/rbi#lib/rbi/model.rb:155 sig { returns(T::Boolean) } def empty?; end - # source://rbi//lib/rbi/printer.rb#819 + # pkg:gem/rbi#lib/rbi/printer.rb:819 sig do params( out: T.any(::IO, ::StringIO), @@ -507,38 +507,38 @@ class RBI::File end def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1231 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1231 sig { params(out: T.any(::IO, ::StringIO), indent: ::Integer, print_locs: T::Boolean).void } def rbs_print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1237 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1237 sig { params(indent: ::Integer, print_locs: T::Boolean).returns(::String) } def rbs_string(indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#133 + # pkg:gem/rbi#lib/rbi/model.rb:133 sig { returns(::RBI::Tree) } def root; end - # source://rbi//lib/rbi/model.rb#133 + # pkg:gem/rbi#lib/rbi/model.rb:133 def root=(_arg0); end - # source://rbi//lib/rbi/model.rb#136 + # pkg:gem/rbi#lib/rbi/model.rb:136 sig { returns(T.nilable(::String)) } def strictness; end - # source://rbi//lib/rbi/model.rb#136 + # pkg:gem/rbi#lib/rbi/model.rb:136 def strictness=(_arg0); end - # source://rbi//lib/rbi/printer.rb#825 + # pkg:gem/rbi#lib/rbi/printer.rb:825 sig { params(indent: ::Integer, print_locs: T::Boolean, max_line_length: T.nilable(::Integer)).returns(::String) } def string(indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end end -# source://rbi//lib/rbi/formatter.rb#5 +# pkg:gem/rbi#lib/rbi/formatter.rb:5 class RBI::Formatter # @return [Formatter] a new instance of Formatter # - # source://rbi//lib/rbi/formatter.rb#18 + # pkg:gem/rbi#lib/rbi/formatter.rb:18 sig do params( add_sig_templates: T::Boolean, @@ -552,100 +552,100 @@ class RBI::Formatter end def initialize(add_sig_templates: T.unsafe(nil), group_nodes: T.unsafe(nil), max_line_length: T.unsafe(nil), nest_singleton_methods: T.unsafe(nil), nest_non_public_members: T.unsafe(nil), sort_nodes: T.unsafe(nil), replace_attributes_with_methods: T.unsafe(nil)); end - # source://rbi//lib/rbi/formatter.rb#43 + # pkg:gem/rbi#lib/rbi/formatter.rb:43 sig { params(file: ::RBI::File).void } def format_file(file); end - # source://rbi//lib/rbi/formatter.rb#48 + # pkg:gem/rbi#lib/rbi/formatter.rb:48 sig { params(tree: ::RBI::Tree).void } def format_tree(tree); end - # source://rbi//lib/rbi/formatter.rb#7 + # pkg:gem/rbi#lib/rbi/formatter.rb:7 sig { returns(T.nilable(::Integer)) } def max_line_length; end - # source://rbi//lib/rbi/formatter.rb#7 + # pkg:gem/rbi#lib/rbi/formatter.rb:7 def max_line_length=(_arg0); end - # source://rbi//lib/rbi/formatter.rb#37 + # pkg:gem/rbi#lib/rbi/formatter.rb:37 sig { params(file: ::RBI::File).returns(::String) } def print_file(file); end end -# source://rbi//lib/rbi/rewriters/group_nodes.rb#84 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:84 class RBI::Group < ::RBI::Tree # @return [Group] a new instance of Group # - # source://rbi//lib/rbi/rewriters/group_nodes.rb#89 + # pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:89 sig { params(kind: ::RBI::Group::Kind).void } def initialize(kind); end - # source://rbi//lib/rbi/rewriters/group_nodes.rb#86 + # pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:86 sig { returns(::RBI::Group::Kind) } def kind; end end -# source://rbi//lib/rbi/rewriters/group_nodes.rb#94 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:94 class RBI::Group::Kind class << self private - # source://rbi//lib/rbi/rewriters/group_nodes.rb#109 + # pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:109 def new(*_arg0); end end end -# source://rbi//lib/rbi/rewriters/group_nodes.rb#101 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:101 RBI::Group::Kind::Attrs = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#107 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:107 RBI::Group::Kind::Consts = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#97 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:97 RBI::Group::Kind::Helpers = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#104 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:104 RBI::Group::Kind::Inits = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#105 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:105 RBI::Group::Kind::Methods = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#99 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:99 RBI::Group::Kind::MixesInClassMethods = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#95 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:95 RBI::Group::Kind::Mixins = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#96 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:96 RBI::Group::Kind::RequiredAncestors = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#100 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:100 RBI::Group::Kind::Sends = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#106 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:106 RBI::Group::Kind::SingletonClasses = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#103 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:103 RBI::Group::Kind::TEnums = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#102 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:102 RBI::Group::Kind::TStructFields = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#98 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:98 RBI::Group::Kind::TypeMembers = T.let(T.unsafe(nil), RBI::Group::Kind) -# source://rbi//lib/rbi/rewriters/group_nodes.rb#5 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:5 class RBI::GroupNodesError < ::RBI::Error; end # Sorbet's misc. # -# source://rbi//lib/rbi/model.rb#1141 +# pkg:gem/rbi#lib/rbi/model.rb:1141 class RBI::Helper < ::RBI::NodeWithComments include ::RBI::Indexable # @return [Helper] a new instance of Helper # - # source://rbi//lib/rbi/model.rb#1146 + # pkg:gem/rbi#lib/rbi/model.rb:1146 sig do params( name: ::String, @@ -658,30 +658,30 @@ class RBI::Helper < ::RBI::NodeWithComments # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#521 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:521 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#164 + # pkg:gem/rbi#lib/rbi/index.rb:164 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1143 + # pkg:gem/rbi#lib/rbi/model.rb:1143 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1154 + # pkg:gem/rbi#lib/rbi/model.rb:1154 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#712 +# pkg:gem/rbi#lib/rbi/model.rb:712 class RBI::Include < ::RBI::Mixin include ::RBI::Indexable # @return [Include] a new instance of Include # - # source://rbi//lib/rbi/model.rb#714 + # pkg:gem/rbi#lib/rbi/model.rb:714 sig do params( name: ::String, @@ -695,51 +695,51 @@ class RBI::Include < ::RBI::Mixin # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#497 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:497 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#124 + # pkg:gem/rbi#lib/rbi/index.rb:124 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#721 + # pkg:gem/rbi#lib/rbi/model.rb:721 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/index.rb#5 +# pkg:gem/rbi#lib/rbi/index.rb:5 class RBI::Index < ::RBI::Visitor # @return [Index] a new instance of Index # - # source://rbi//lib/rbi/index.rb#16 + # pkg:gem/rbi#lib/rbi/index.rb:16 sig { void } def initialize; end - # source://rbi//lib/rbi/index.rb#27 + # pkg:gem/rbi#lib/rbi/index.rb:27 sig { params(id: ::String).returns(T::Array[::RBI::Node]) } def [](id); end - # source://rbi//lib/rbi/index.rb#32 + # pkg:gem/rbi#lib/rbi/index.rb:32 sig { params(nodes: ::RBI::Node).void } def index(*nodes); end - # source://rbi//lib/rbi/index.rb#22 + # pkg:gem/rbi#lib/rbi/index.rb:22 sig { returns(T::Array[::String]) } def keys; end - # source://rbi//lib/rbi/index.rb#38 + # pkg:gem/rbi#lib/rbi/index.rb:38 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/index.rb#55 + # pkg:gem/rbi#lib/rbi/index.rb:55 sig { params(node: T.all(::RBI::Indexable, ::RBI::Node)).void } def index_node(node); end class << self - # source://rbi//lib/rbi/index.rb#8 + # pkg:gem/rbi#lib/rbi/index.rb:8 sig { params(node: ::RBI::Node).returns(::RBI::Index) } def index(*node); end end @@ -747,7 +747,7 @@ end # A Node that can be referred to by a unique ID inside an index # -# source://rbi//lib/rbi/index.rb#69 +# pkg:gem/rbi#lib/rbi/index.rb:69 module RBI::Indexable interface! @@ -759,37 +759,37 @@ module RBI::Indexable # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/index.rb#76 + # pkg:gem/rbi#lib/rbi/index.rb:76 sig { abstract.returns(T::Array[::String]) } def index_ids; end end -# source://rbi//lib/rbi/model.rb#854 +# pkg:gem/rbi#lib/rbi/model.rb:854 class RBI::KwArg < ::RBI::Arg # @return [KwArg] a new instance of KwArg # - # source://rbi//lib/rbi/model.rb#859 + # pkg:gem/rbi#lib/rbi/model.rb:859 sig { params(keyword: ::String, value: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(keyword, value, loc: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#865 + # pkg:gem/rbi#lib/rbi/model.rb:865 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#856 + # pkg:gem/rbi#lib/rbi/model.rb:856 sig { returns(::String) } def keyword; end - # source://rbi//lib/rbi/model.rb#870 + # pkg:gem/rbi#lib/rbi/model.rb:870 sig { returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#637 +# pkg:gem/rbi#lib/rbi/model.rb:637 class RBI::KwOptParam < ::RBI::Param # @return [KwOptParam] a new instance of KwOptParam # - # source://rbi//lib/rbi/model.rb#642 + # pkg:gem/rbi#lib/rbi/model.rb:642 sig do params( name: ::String, @@ -801,24 +801,24 @@ class RBI::KwOptParam < ::RBI::Param end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#655 + # pkg:gem/rbi#lib/rbi/model.rb:655 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#650 + # pkg:gem/rbi#lib/rbi/model.rb:650 sig { override.returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#639 + # pkg:gem/rbi#lib/rbi/model.rb:639 sig { returns(::String) } def value; end end -# source://rbi//lib/rbi/model.rb#618 +# pkg:gem/rbi#lib/rbi/model.rb:618 class RBI::KwParam < ::RBI::Param # @return [KwParam] a new instance of KwParam # - # source://rbi//lib/rbi/model.rb#620 + # pkg:gem/rbi#lib/rbi/model.rb:620 sig do params( name: ::String, @@ -829,20 +829,20 @@ class RBI::KwParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#632 + # pkg:gem/rbi#lib/rbi/model.rb:632 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#627 + # pkg:gem/rbi#lib/rbi/model.rb:627 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#660 +# pkg:gem/rbi#lib/rbi/model.rb:660 class RBI::KwRestParam < ::RBI::Param # @return [KwRestParam] a new instance of KwRestParam # - # source://rbi//lib/rbi/model.rb#662 + # pkg:gem/rbi#lib/rbi/model.rb:662 sig do params( name: ::String, @@ -853,20 +853,20 @@ class RBI::KwRestParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#674 + # pkg:gem/rbi#lib/rbi/model.rb:674 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#669 + # pkg:gem/rbi#lib/rbi/model.rb:669 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/loc.rb#5 +# pkg:gem/rbi#lib/rbi/loc.rb:5 class RBI::Loc # @return [Loc] a new instance of Loc # - # source://rbi//lib/rbi/loc.rb#32 + # pkg:gem/rbi#lib/rbi/loc.rb:32 sig do params( file: T.nilable(::String), @@ -878,37 +878,37 @@ class RBI::Loc end def initialize(file: T.unsafe(nil), begin_line: T.unsafe(nil), end_line: T.unsafe(nil), begin_column: T.unsafe(nil), end_column: T.unsafe(nil)); end - # source://rbi//lib/rbi/loc.rb#23 + # pkg:gem/rbi#lib/rbi/loc.rb:23 def begin_column; end - # source://rbi//lib/rbi/loc.rb#23 + # pkg:gem/rbi#lib/rbi/loc.rb:23 sig { returns(T.nilable(::Integer)) } def begin_line; end - # source://rbi//lib/rbi/loc.rb#23 + # pkg:gem/rbi#lib/rbi/loc.rb:23 def end_column; end - # source://rbi//lib/rbi/loc.rb#23 + # pkg:gem/rbi#lib/rbi/loc.rb:23 def end_line; end - # source://rbi//lib/rbi/loc.rb#20 + # pkg:gem/rbi#lib/rbi/loc.rb:20 sig { returns(T.nilable(::String)) } def file; end - # source://rbi//lib/rbi/loc.rb#41 + # pkg:gem/rbi#lib/rbi/loc.rb:41 sig { params(other: ::RBI::Loc).returns(::RBI::Loc) } def join(other); end - # source://rbi//lib/rbi/loc.rb#61 + # pkg:gem/rbi#lib/rbi/loc.rb:61 sig { returns(T.nilable(::String)) } def source; end - # source://rbi//lib/rbi/loc.rb#52 + # pkg:gem/rbi#lib/rbi/loc.rb:52 sig { returns(::String) } def to_s; end class << self - # source://rbi//lib/rbi/loc.rb#8 + # pkg:gem/rbi#lib/rbi/loc.rb:8 sig { params(file: ::String, prism_location: ::Prism::Location).returns(::RBI::Loc) } def from_prism(file, prism_location); end end @@ -916,11 +916,11 @@ end # A tree that _might_ contain conflicts # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#342 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:342 class RBI::MergeTree < ::RBI::Tree # @return [MergeTree] a new instance of MergeTree # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#351 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:351 sig do params( loc: T.nilable(::RBI::Loc), @@ -931,20 +931,20 @@ class RBI::MergeTree < ::RBI::Tree end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), conflicts: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#344 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:344 sig { returns(T::Array[::RBI::Rewriters::Merge::Conflict]) } def conflicts; end end # Methods and args # -# source://rbi//lib/rbi/model.rb#417 +# pkg:gem/rbi#lib/rbi/model.rb:417 class RBI::Method < ::RBI::NodeWithComments include ::RBI::Indexable # @return [Method] a new instance of Method # - # source://rbi//lib/rbi/model.rb#442 + # pkg:gem/rbi#lib/rbi/model.rb:442 sig do params( name: ::String, @@ -959,39 +959,39 @@ class RBI::Method < ::RBI::NodeWithComments end def initialize(name, params: T.unsafe(nil), is_singleton: T.unsafe(nil), visibility: T.unsafe(nil), sigs: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#462 + # pkg:gem/rbi#lib/rbi/model.rb:462 sig { params(param: ::RBI::Param).void } def <<(param); end - # source://rbi//lib/rbi/model.rb#497 + # pkg:gem/rbi#lib/rbi/model.rb:497 sig { params(name: ::String).void } def add_block_param(name); end - # source://rbi//lib/rbi/model.rb#487 + # pkg:gem/rbi#lib/rbi/model.rb:487 sig { params(name: ::String, default_value: ::String).void } def add_kw_opt_param(name, default_value); end - # source://rbi//lib/rbi/model.rb#482 + # pkg:gem/rbi#lib/rbi/model.rb:482 sig { params(name: ::String).void } def add_kw_param(name); end - # source://rbi//lib/rbi/model.rb#492 + # pkg:gem/rbi#lib/rbi/model.rb:492 sig { params(name: ::String).void } def add_kw_rest_param(name); end - # source://rbi//lib/rbi/model.rb#472 + # pkg:gem/rbi#lib/rbi/model.rb:472 sig { params(name: ::String, default_value: ::String).void } def add_opt_param(name, default_value); end - # source://rbi//lib/rbi/model.rb#467 + # pkg:gem/rbi#lib/rbi/model.rb:467 sig { params(name: ::String).void } def add_param(name); end - # source://rbi//lib/rbi/model.rb#477 + # pkg:gem/rbi#lib/rbi/model.rb:477 sig { params(name: ::String).void } def add_rest_param(name); end - # source://rbi//lib/rbi/model.rb#510 + # pkg:gem/rbi#lib/rbi/model.rb:510 sig do params( params: T::Array[::RBI::SigParam], @@ -1009,66 +1009,66 @@ class RBI::Method < ::RBI::NodeWithComments # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#466 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:466 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#536 + # pkg:gem/rbi#lib/rbi/model.rb:536 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#114 + # pkg:gem/rbi#lib/rbi/index.rb:114 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#425 + # pkg:gem/rbi#lib/rbi/model.rb:425 sig { returns(T::Boolean) } def is_singleton; end - # source://rbi//lib/rbi/model.rb#425 + # pkg:gem/rbi#lib/rbi/model.rb:425 def is_singleton=(_arg0); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#476 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:476 sig { override.params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/model.rb#419 + # pkg:gem/rbi#lib/rbi/model.rb:419 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#419 + # pkg:gem/rbi#lib/rbi/model.rb:419 def name=(_arg0); end - # source://rbi//lib/rbi/model.rb#422 + # pkg:gem/rbi#lib/rbi/model.rb:422 sig { returns(T::Array[::RBI::Param]) } def params; end - # source://rbi//lib/rbi/model.rb#431 + # pkg:gem/rbi#lib/rbi/model.rb:431 sig { returns(T::Array[::RBI::Sig]) } def sigs; end - # source://rbi//lib/rbi/model.rb#431 + # pkg:gem/rbi#lib/rbi/model.rb:431 def sigs=(_arg0); end - # source://rbi//lib/rbi/model.rb#546 + # pkg:gem/rbi#lib/rbi/model.rb:546 sig { override.returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#428 + # pkg:gem/rbi#lib/rbi/model.rb:428 sig { returns(::RBI::Visibility) } def visibility; end - # source://rbi//lib/rbi/model.rb#428 + # pkg:gem/rbi#lib/rbi/model.rb:428 def visibility=(_arg0); end end -# source://rbi//lib/rbi/model.rb#1185 +# pkg:gem/rbi#lib/rbi/model.rb:1185 class RBI::MixesInClassMethods < ::RBI::Mixin include ::RBI::Indexable # @return [MixesInClassMethods] a new instance of MixesInClassMethods # - # source://rbi//lib/rbi/model.rb#1192 + # pkg:gem/rbi#lib/rbi/model.rb:1192 sig do params( name: ::String, @@ -1082,28 +1082,28 @@ class RBI::MixesInClassMethods < ::RBI::Mixin # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#513 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:513 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#144 + # pkg:gem/rbi#lib/rbi/index.rb:144 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1199 + # pkg:gem/rbi#lib/rbi/model.rb:1199 sig { override.returns(::String) } def to_s; end end # @abstract # -# source://rbi//lib/rbi/model.rb#701 +# pkg:gem/rbi#lib/rbi/model.rb:701 class RBI::Mixin < ::RBI::NodeWithComments abstract! # @return [Mixin] a new instance of Mixin # - # source://rbi//lib/rbi/model.rb#706 + # pkg:gem/rbi#lib/rbi/model.rb:706 sig do params( name: ::String, @@ -1116,20 +1116,20 @@ class RBI::Mixin < ::RBI::NodeWithComments # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#489 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:489 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#703 + # pkg:gem/rbi#lib/rbi/model.rb:703 sig { returns(T::Array[::String]) } def names; end end -# source://rbi//lib/rbi/model.rb#175 +# pkg:gem/rbi#lib/rbi/model.rb:175 class RBI::Module < ::RBI::Scope # @return [Module] a new instance of Module # - # source://rbi//lib/rbi/model.rb#180 + # pkg:gem/rbi#lib/rbi/model.rb:180 sig do params( name: ::String, @@ -1142,31 +1142,31 @@ class RBI::Module < ::RBI::Scope # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#396 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:396 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#188 + # pkg:gem/rbi#lib/rbi/model.rb:188 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/model.rb#177 + # pkg:gem/rbi#lib/rbi/model.rb:177 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#177 + # pkg:gem/rbi#lib/rbi/model.rb:177 def name=(_arg0); end end # @abstract # -# source://rbi//lib/rbi/model.rb#8 +# pkg:gem/rbi#lib/rbi/model.rb:8 class RBI::Node abstract! # @return [Node] a new instance of Node # - # source://rbi//lib/rbi/model.rb#16 + # pkg:gem/rbi#lib/rbi/model.rb:16 sig { params(loc: T.nilable(::RBI::Loc)).void } def initialize(loc: T.unsafe(nil)); end @@ -1174,43 +1174,43 @@ class RBI::Node # # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#302 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:302 sig { params(_other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(_other); end - # source://rbi//lib/rbi/model.rb#22 + # pkg:gem/rbi#lib/rbi/model.rb:22 sig { void } def detach; end - # source://rbi//lib/rbi/model.rb#13 + # pkg:gem/rbi#lib/rbi/model.rb:13 sig { returns(T.nilable(::RBI::Loc)) } def loc; end - # source://rbi//lib/rbi/model.rb#13 + # pkg:gem/rbi#lib/rbi/model.rb:13 def loc=(_arg0); end # Merge `self` and `other` into a single definition # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#308 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:308 sig { params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#311 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:311 sig { returns(T.nilable(::RBI::ConflictTree)) } def parent_conflict_tree; end - # source://rbi//lib/rbi/model.rb#44 + # pkg:gem/rbi#lib/rbi/model.rb:44 sig { returns(T.nilable(::RBI::Scope)) } def parent_scope; end - # source://rbi//lib/rbi/model.rb#10 + # pkg:gem/rbi#lib/rbi/model.rb:10 sig { returns(T.nilable(::RBI::Tree)) } def parent_tree; end - # source://rbi//lib/rbi/model.rb#10 + # pkg:gem/rbi#lib/rbi/model.rb:10 def parent_tree=(_arg0); end - # source://rbi//lib/rbi/printer.rb#834 + # pkg:gem/rbi#lib/rbi/printer.rb:834 sig do params( out: T.any(::IO, ::StringIO), @@ -1221,7 +1221,7 @@ class RBI::Node end def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1246 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1246 sig do params( out: T.any(::IO, ::StringIO), @@ -1232,64 +1232,64 @@ class RBI::Node end def rbs_print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), positional_names: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1252 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1252 sig { params(indent: ::Integer, print_locs: T::Boolean, positional_names: T::Boolean).returns(::String) } def rbs_string(indent: T.unsafe(nil), print_locs: T.unsafe(nil), positional_names: T.unsafe(nil)); end # @raise [ReplaceNodeError] # - # source://rbi//lib/rbi/model.rb#31 + # pkg:gem/rbi#lib/rbi/model.rb:31 sig { params(node: ::RBI::Node).void } def replace(node); end # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/filter_versions.rb#91 + # pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:91 sig { params(version: ::Gem::Version).returns(T::Boolean) } def satisfies_version?(version); end - # source://rbi//lib/rbi/printer.rb#840 + # pkg:gem/rbi#lib/rbi/printer.rb:840 sig { params(indent: ::Integer, print_locs: T::Boolean, max_line_length: T.nilable(::Integer)).returns(::String) } def string(indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end end # @abstract # -# source://rbi//lib/rbi/model.rb#88 +# pkg:gem/rbi#lib/rbi/model.rb:88 class RBI::NodeWithComments < ::RBI::Node abstract! # @return [NodeWithComments] a new instance of NodeWithComments # - # source://rbi//lib/rbi/model.rb#93 + # pkg:gem/rbi#lib/rbi/model.rb:93 sig { params(loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#99 + # pkg:gem/rbi#lib/rbi/model.rb:99 sig { returns(T::Array[::String]) } def annotations; end - # source://rbi//lib/rbi/model.rb#90 + # pkg:gem/rbi#lib/rbi/model.rb:90 sig { returns(T::Array[::RBI::Comment]) } def comments; end - # source://rbi//lib/rbi/model.rb#90 + # pkg:gem/rbi#lib/rbi/model.rb:90 def comments=(_arg0); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#325 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:325 sig { override.params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#101 + # pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:101 sig { returns(T::Array[::Gem::Requirement]) } def version_requirements; end end -# source://rbi//lib/rbi/model.rb#582 +# pkg:gem/rbi#lib/rbi/model.rb:582 class RBI::OptParam < ::RBI::Param # @return [OptParam] a new instance of OptParam # - # source://rbi//lib/rbi/model.rb#587 + # pkg:gem/rbi#lib/rbi/model.rb:587 sig do params( name: ::String, @@ -1301,187 +1301,187 @@ class RBI::OptParam < ::RBI::Param end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#594 + # pkg:gem/rbi#lib/rbi/model.rb:594 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#584 + # pkg:gem/rbi#lib/rbi/model.rb:584 sig { returns(::String) } def value; end end # @abstract # -# source://rbi//lib/rbi/model.rb#552 +# pkg:gem/rbi#lib/rbi/model.rb:552 class RBI::Param < ::RBI::NodeWithComments abstract! # @return [Param] a new instance of Param # - # source://rbi//lib/rbi/model.rb#557 + # pkg:gem/rbi#lib/rbi/model.rb:557 sig { params(name: ::String, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#554 + # pkg:gem/rbi#lib/rbi/model.rb:554 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#564 + # pkg:gem/rbi#lib/rbi/model.rb:564 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/parser.rb#7 +# pkg:gem/rbi#lib/rbi/parser.rb:7 class RBI::ParseError < ::RBI::Error # @return [ParseError] a new instance of ParseError # - # source://rbi//lib/rbi/parser.rb#12 + # pkg:gem/rbi#lib/rbi/parser.rb:12 sig { params(message: ::String, location: ::RBI::Loc).void } def initialize(message, location); end - # source://rbi//lib/rbi/parser.rb#9 + # pkg:gem/rbi#lib/rbi/parser.rb:9 sig { returns(::RBI::Loc) } def location; end end -# source://rbi//lib/rbi/parser.rb#49 +# pkg:gem/rbi#lib/rbi/parser.rb:49 class RBI::Parser - # source://rbi//lib/rbi/parser.rb#80 + # pkg:gem/rbi#lib/rbi/parser.rb:80 sig { params(path: ::String).returns(::RBI::Tree) } def parse_file(path); end - # source://rbi//lib/rbi/parser.rb#75 + # pkg:gem/rbi#lib/rbi/parser.rb:75 sig { params(string: ::String).returns(::RBI::Tree) } def parse_string(string); end private - # source://rbi//lib/rbi/parser.rb#87 + # pkg:gem/rbi#lib/rbi/parser.rb:87 sig { params(source: ::String, file: ::String).returns(::RBI::Tree) } def parse(source, file:); end class << self - # source://rbi//lib/rbi/parser.rb#57 + # pkg:gem/rbi#lib/rbi/parser.rb:57 sig { params(path: ::String).returns(::RBI::Tree) } def parse_file(path); end - # source://rbi//lib/rbi/parser.rb#62 + # pkg:gem/rbi#lib/rbi/parser.rb:62 sig { params(paths: T::Array[::String]).returns(T::Array[::RBI::Tree]) } def parse_files(paths); end - # source://rbi//lib/rbi/parser.rb#52 + # pkg:gem/rbi#lib/rbi/parser.rb:52 sig { params(string: ::String).returns(::RBI::Tree) } def parse_string(string); end - # source://rbi//lib/rbi/parser.rb#68 + # pkg:gem/rbi#lib/rbi/parser.rb:68 sig { params(strings: T::Array[::String]).returns(T::Array[::RBI::Tree]) } def parse_strings(strings); end end end -# source://rbi//lib/rbi/parser.rb#1003 +# pkg:gem/rbi#lib/rbi/parser.rb:1003 class RBI::Parser::HeredocLocationVisitor < ::Prism::Visitor # @return [HeredocLocationVisitor] a new instance of HeredocLocationVisitor # - # source://rbi//lib/rbi/parser.rb#1005 + # pkg:gem/rbi#lib/rbi/parser.rb:1005 sig { params(source: ::Prism::Source, begin_offset: ::Integer, end_offset: ::Integer).void } def initialize(source, begin_offset, end_offset); end - # source://rbi//lib/rbi/parser.rb#1036 + # pkg:gem/rbi#lib/rbi/parser.rb:1036 sig { returns(::Prism::Location) } def location; end - # source://rbi//lib/rbi/parser.rb#1026 + # pkg:gem/rbi#lib/rbi/parser.rb:1026 sig { override.params(node: ::Prism::InterpolatedStringNode).void } def visit_interpolated_string_node(node); end - # source://rbi//lib/rbi/parser.rb#1015 + # pkg:gem/rbi#lib/rbi/parser.rb:1015 sig { override.params(node: ::Prism::StringNode).void } def visit_string_node(node); end private - # source://rbi//lib/rbi/parser.rb#1047 + # pkg:gem/rbi#lib/rbi/parser.rb:1047 sig { params(node: T.any(::Prism::InterpolatedStringNode, ::Prism::StringNode)).void } def handle_string_node(node); end end -# source://rbi//lib/rbi/parser.rb#915 +# pkg:gem/rbi#lib/rbi/parser.rb:915 class RBI::Parser::SigBuilder < ::RBI::Parser::Visitor # @return [SigBuilder] a new instance of SigBuilder # - # source://rbi//lib/rbi/parser.rb#920 + # pkg:gem/rbi#lib/rbi/parser.rb:920 sig { params(content: ::String, file: ::String).void } def initialize(content, file:); end # @return [Boolean] # - # source://rbi//lib/rbi/parser.rb#986 + # pkg:gem/rbi#lib/rbi/parser.rb:986 sig { params(node: ::Prism::CallNode, value: ::String).returns(T::Boolean) } def allow_incompatible_override?(node, value); end - # source://rbi//lib/rbi/parser.rb#917 + # pkg:gem/rbi#lib/rbi/parser.rb:917 sig { returns(::RBI::Sig) } def current; end - # source://rbi//lib/rbi/parser.rb#978 + # pkg:gem/rbi#lib/rbi/parser.rb:978 sig { override.params(node: ::Prism::AssocNode).void } def visit_assoc_node(node); end - # source://rbi//lib/rbi/parser.rb#928 + # pkg:gem/rbi#lib/rbi/parser.rb:928 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end end -# source://rbi//lib/rbi/parser.rb#164 +# pkg:gem/rbi#lib/rbi/parser.rb:164 class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # @return [TreeBuilder] a new instance of TreeBuilder # - # source://rbi//lib/rbi/parser.rb#172 + # pkg:gem/rbi#lib/rbi/parser.rb:172 sig { params(source: ::String, comments: T::Array[::Prism::Comment], file: ::String).void } def initialize(source, comments:, file:); end - # source://rbi//lib/rbi/parser.rb#169 + # pkg:gem/rbi#lib/rbi/parser.rb:169 sig { returns(T.nilable(::Prism::Node)) } def last_node; end - # source://rbi//lib/rbi/parser.rb#166 + # pkg:gem/rbi#lib/rbi/parser.rb:166 sig { returns(::RBI::Tree) } def tree; end - # source://rbi//lib/rbi/parser.rb#361 + # pkg:gem/rbi#lib/rbi/parser.rb:361 sig { params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://rbi//lib/rbi/parser.rb#185 + # pkg:gem/rbi#lib/rbi/parser.rb:185 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://rbi//lib/rbi/parser.rb#236 + # pkg:gem/rbi#lib/rbi/parser.rb:236 sig { params(node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)).void } def visit_constant_assign(node); end - # source://rbi//lib/rbi/parser.rb#229 + # pkg:gem/rbi#lib/rbi/parser.rb:229 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://rbi//lib/rbi/parser.rb#221 + # pkg:gem/rbi#lib/rbi/parser.rb:221 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://rbi//lib/rbi/parser.rb#291 + # pkg:gem/rbi#lib/rbi/parser.rb:291 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://rbi//lib/rbi/parser.rb#313 + # pkg:gem/rbi#lib/rbi/parser.rb:313 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://rbi//lib/rbi/parser.rb#332 + # pkg:gem/rbi#lib/rbi/parser.rb:332 sig { override.params(node: ::Prism::ProgramNode).void } def visit_program_node(node); end - # source://rbi//lib/rbi/parser.rb#344 + # pkg:gem/rbi#lib/rbi/parser.rb:344 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end @@ -1489,49 +1489,49 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor # Collect all the remaining comments within a node # - # source://rbi//lib/rbi/parser.rb#539 + # pkg:gem/rbi#lib/rbi/parser.rb:539 sig { params(node: ::Prism::Node).void } def collect_dangling_comments(node); end # Collect all the remaining comments after visiting the tree # - # source://rbi//lib/rbi/parser.rb#557 + # pkg:gem/rbi#lib/rbi/parser.rb:557 sig { void } def collect_orphan_comments; end - # source://rbi//lib/rbi/parser.rb#580 + # pkg:gem/rbi#lib/rbi/parser.rb:580 sig { returns(::RBI::Tree) } def current_scope; end - # source://rbi//lib/rbi/parser.rb#585 + # pkg:gem/rbi#lib/rbi/parser.rb:585 sig { returns(T::Array[::RBI::Sig]) } def current_sigs; end - # source://rbi//lib/rbi/parser.rb#592 + # pkg:gem/rbi#lib/rbi/parser.rb:592 sig { params(sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) } def detach_comments_from_sigs(sigs); end - # source://rbi//lib/rbi/parser.rb#604 + # pkg:gem/rbi#lib/rbi/parser.rb:604 sig { params(node: ::Prism::Node).returns(T::Array[::RBI::Comment]) } def node_comments(node); end - # source://rbi//lib/rbi/parser.rb#666 + # pkg:gem/rbi#lib/rbi/parser.rb:666 sig { params(node: ::Prism::Comment).returns(::RBI::Comment) } def parse_comment(node); end - # source://rbi//lib/rbi/parser.rb#699 + # pkg:gem/rbi#lib/rbi/parser.rb:699 sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Param]) } def parse_params(node); end - # source://rbi//lib/rbi/parser.rb#673 + # pkg:gem/rbi#lib/rbi/parser.rb:673 sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Arg]) } def parse_send_args(node); end - # source://rbi//lib/rbi/parser.rb#765 + # pkg:gem/rbi#lib/rbi/parser.rb:765 sig { params(node: ::Prism::CallNode).returns(::RBI::Sig) } def parse_sig(node); end - # source://rbi//lib/rbi/parser.rb#774 + # pkg:gem/rbi#lib/rbi/parser.rb:774 sig do params( node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode) @@ -1539,79 +1539,79 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor end def parse_struct(node); end - # source://rbi//lib/rbi/parser.rb#822 + # pkg:gem/rbi#lib/rbi/parser.rb:822 sig { params(send: ::Prism::CallNode).void } def parse_tstruct_field(send); end - # source://rbi//lib/rbi/parser.rb#859 + # pkg:gem/rbi#lib/rbi/parser.rb:859 sig { params(name: ::String, node: ::Prism::Node).returns(::RBI::Visibility) } def parse_visibility(name, node); end - # source://rbi//lib/rbi/parser.rb#873 + # pkg:gem/rbi#lib/rbi/parser.rb:873 sig { void } def separate_header_comments; end - # source://rbi//lib/rbi/parser.rb#883 + # pkg:gem/rbi#lib/rbi/parser.rb:883 sig { void } def set_root_tree_loc; end # @return [Boolean] # - # source://rbi//lib/rbi/parser.rb#902 + # pkg:gem/rbi#lib/rbi/parser.rb:902 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_enum_value?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/parser.rb#897 + # pkg:gem/rbi#lib/rbi/parser.rb:897 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def type_variable_definition?(node); end end -# source://rbi//lib/rbi/parser.rb#114 +# pkg:gem/rbi#lib/rbi/parser.rb:114 class RBI::Parser::Visitor < ::Prism::Visitor # @return [Visitor] a new instance of Visitor # - # source://rbi//lib/rbi/parser.rb#116 + # pkg:gem/rbi#lib/rbi/parser.rb:116 sig { params(source: ::String, file: ::String).void } def initialize(source, file:); end private - # source://rbi//lib/rbi/parser.rb#143 + # pkg:gem/rbi#lib/rbi/parser.rb:143 sig { params(node: ::Prism::Node).returns(::Prism::Location) } def adjust_prism_location_for_heredoc(node); end - # source://rbi//lib/rbi/parser.rb#126 + # pkg:gem/rbi#lib/rbi/parser.rb:126 sig { params(node: ::Prism::Node).returns(::RBI::Loc) } def node_loc(node); end - # source://rbi//lib/rbi/parser.rb#131 + # pkg:gem/rbi#lib/rbi/parser.rb:131 sig { params(node: T.nilable(::Prism::Node)).returns(T.nilable(::String)) } def node_string(node); end - # source://rbi//lib/rbi/parser.rb#138 + # pkg:gem/rbi#lib/rbi/parser.rb:138 sig { params(node: ::Prism::Node).returns(::String) } def node_string!(node); end # @return [Boolean] # - # source://rbi//lib/rbi/parser.rb#154 + # pkg:gem/rbi#lib/rbi/parser.rb:154 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def self?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/parser.rb#159 + # pkg:gem/rbi#lib/rbi/parser.rb:159 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_sig_without_runtime?(node); end end -# source://rbi//lib/rbi/printer.rb#7 +# pkg:gem/rbi#lib/rbi/printer.rb:7 class RBI::Printer < ::RBI::Visitor # @return [Printer] a new instance of Printer # - # source://rbi//lib/rbi/printer.rb#21 + # pkg:gem/rbi#lib/rbi/printer.rb:21 sig do params( out: T.any(::IO, ::StringIO), @@ -1622,68 +1622,68 @@ class RBI::Printer < ::RBI::Visitor end def initialize(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/printer.rb#15 + # pkg:gem/rbi#lib/rbi/printer.rb:15 sig { returns(::Integer) } def current_indent; end - # source://rbi//lib/rbi/printer.rb#39 + # pkg:gem/rbi#lib/rbi/printer.rb:39 sig { void } def dedent; end - # source://rbi//lib/rbi/printer.rb#9 + # pkg:gem/rbi#lib/rbi/printer.rb:9 def in_visibility_group; end - # source://rbi//lib/rbi/printer.rb#9 + # pkg:gem/rbi#lib/rbi/printer.rb:9 def in_visibility_group=(_arg0); end - # source://rbi//lib/rbi/printer.rb#34 + # pkg:gem/rbi#lib/rbi/printer.rb:34 sig { void } def indent; end - # source://rbi//lib/rbi/printer.rb#18 + # pkg:gem/rbi#lib/rbi/printer.rb:18 sig { returns(T.nilable(::Integer)) } def max_line_length; end - # source://rbi//lib/rbi/printer.rb#12 + # pkg:gem/rbi#lib/rbi/printer.rb:12 sig { returns(T.nilable(::RBI::Node)) } def previous_node; end # Print a string without indentation nor `\n` at the end. # - # source://rbi//lib/rbi/printer.rb#45 + # pkg:gem/rbi#lib/rbi/printer.rb:45 sig { params(string: ::String).void } def print(string); end - # source://rbi//lib/rbi/printer.rb#9 + # pkg:gem/rbi#lib/rbi/printer.rb:9 sig { returns(T::Boolean) } def print_locs; end - # source://rbi//lib/rbi/printer.rb#9 + # pkg:gem/rbi#lib/rbi/printer.rb:9 def print_locs=(_arg0); end # Print a string with indentation and `\n` at the end. # - # source://rbi//lib/rbi/printer.rb#65 + # pkg:gem/rbi#lib/rbi/printer.rb:65 sig { params(string: ::String).void } def printl(string); end # Print a string without indentation but with a `\n` at the end. # - # source://rbi//lib/rbi/printer.rb#51 + # pkg:gem/rbi#lib/rbi/printer.rb:51 sig { params(string: T.nilable(::String)).void } def printn(string = T.unsafe(nil)); end # Print a string with indentation but without a `\n` at the end. # - # source://rbi//lib/rbi/printer.rb#58 + # pkg:gem/rbi#lib/rbi/printer.rb:58 sig { params(string: T.nilable(::String)).void } def printt(string = T.unsafe(nil)); end - # source://rbi//lib/rbi/printer.rb#72 + # pkg:gem/rbi#lib/rbi/printer.rb:72 sig { override.params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end - # source://rbi//lib/rbi/printer.rb#84 + # pkg:gem/rbi#lib/rbi/printer.rb:84 sig { override.params(file: ::RBI::File).void } def visit_file(file); end @@ -1691,251 +1691,251 @@ class RBI::Printer < ::RBI::Visitor # @return [Boolean] # - # source://rbi//lib/rbi/printer.rb#680 + # pkg:gem/rbi#lib/rbi/printer.rb:680 sig { params(node: ::RBI::Node).returns(T::Boolean) } def oneline?(node); end - # source://rbi//lib/rbi/printer.rb#638 + # pkg:gem/rbi#lib/rbi/printer.rb:638 sig { params(node: ::RBI::Node).void } def print_blank_line_before(node); end - # source://rbi//lib/rbi/printer.rb#648 + # pkg:gem/rbi#lib/rbi/printer.rb:648 sig { params(node: ::RBI::Node).void } def print_loc(node); end - # source://rbi//lib/rbi/printer.rb#654 + # pkg:gem/rbi#lib/rbi/printer.rb:654 sig { params(node: ::RBI::Param, last: T::Boolean).void } def print_param_comment_leading_space(node, last:); end - # source://rbi//lib/rbi/printer.rb#736 + # pkg:gem/rbi#lib/rbi/printer.rb:736 sig { params(node: ::RBI::Sig).void } def print_sig_as_block(node); end - # source://rbi//lib/rbi/printer.rb#709 + # pkg:gem/rbi#lib/rbi/printer.rb:709 sig { params(node: ::RBI::Sig).void } def print_sig_as_line(node); end - # source://rbi//lib/rbi/printer.rb#672 + # pkg:gem/rbi#lib/rbi/printer.rb:672 sig { params(node: ::RBI::SigParam, last: T::Boolean).void } def print_sig_param_comment_leading_space(node, last:); end - # source://rbi//lib/rbi/printer.rb#796 + # pkg:gem/rbi#lib/rbi/printer.rb:796 sig { params(node: ::RBI::Sig).returns(T::Array[::String]) } def sig_modifiers(node); end - # source://rbi//lib/rbi/printer.rb#453 + # pkg:gem/rbi#lib/rbi/printer.rb:453 sig { override.params(node: ::RBI::Arg).void } def visit_arg(node); end - # source://rbi//lib/rbi/printer.rb#258 + # pkg:gem/rbi#lib/rbi/printer.rb:258 sig { params(node: ::RBI::Attr).void } def visit_attr(node); end - # source://rbi//lib/rbi/printer.rb#241 + # pkg:gem/rbi#lib/rbi/printer.rb:241 sig { override.params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end - # source://rbi//lib/rbi/printer.rb#247 + # pkg:gem/rbi#lib/rbi/printer.rb:247 sig { override.params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end - # source://rbi//lib/rbi/printer.rb#253 + # pkg:gem/rbi#lib/rbi/printer.rb:253 sig { override.params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end - # source://rbi//lib/rbi/printer.rb#138 + # pkg:gem/rbi#lib/rbi/printer.rb:138 sig { override.params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end - # source://rbi//lib/rbi/printer.rb#373 + # pkg:gem/rbi#lib/rbi/printer.rb:373 sig { override.params(node: ::RBI::BlockParam).void } def visit_block_param(node); end - # source://rbi//lib/rbi/printer.rb#158 + # pkg:gem/rbi#lib/rbi/printer.rb:158 sig { override.params(node: ::RBI::Class).void } def visit_class(node); end - # source://rbi//lib/rbi/printer.rb#121 + # pkg:gem/rbi#lib/rbi/printer.rb:121 sig { override.params(node: ::RBI::Comment).void } def visit_comment(node); end - # source://rbi//lib/rbi/printer.rb#614 + # pkg:gem/rbi#lib/rbi/printer.rb:614 sig { override.params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end - # source://rbi//lib/rbi/printer.rb#231 + # pkg:gem/rbi#lib/rbi/printer.rb:231 sig { override.params(node: ::RBI::Const).void } def visit_const(node); end - # source://rbi//lib/rbi/printer.rb#385 + # pkg:gem/rbi#lib/rbi/printer.rb:385 sig { override.params(node: ::RBI::Extend).void } def visit_extend(node); end - # source://rbi//lib/rbi/printer.rb#583 + # pkg:gem/rbi#lib/rbi/printer.rb:583 sig { override.params(node: ::RBI::Group).void } def visit_group(node); end - # source://rbi//lib/rbi/printer.rb#567 + # pkg:gem/rbi#lib/rbi/printer.rb:567 sig { override.params(node: ::RBI::Helper).void } def visit_helper(node); end - # source://rbi//lib/rbi/printer.rb#379 + # pkg:gem/rbi#lib/rbi/printer.rb:379 sig { override.params(node: ::RBI::Include).void } def visit_include(node); end - # source://rbi//lib/rbi/printer.rb#459 + # pkg:gem/rbi#lib/rbi/printer.rb:459 sig { override.params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end - # source://rbi//lib/rbi/printer.rb#361 + # pkg:gem/rbi#lib/rbi/printer.rb:361 sig { override.params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end - # source://rbi//lib/rbi/printer.rb#355 + # pkg:gem/rbi#lib/rbi/printer.rb:355 sig { override.params(node: ::RBI::KwParam).void } def visit_kw_param(node); end - # source://rbi//lib/rbi/printer.rb#367 + # pkg:gem/rbi#lib/rbi/printer.rb:367 sig { override.params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end - # source://rbi//lib/rbi/printer.rb#287 + # pkg:gem/rbi#lib/rbi/printer.rb:287 sig { override.params(node: ::RBI::Method).void } def visit_method(node); end - # source://rbi//lib/rbi/printer.rb#577 + # pkg:gem/rbi#lib/rbi/printer.rb:577 sig { override.params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end - # source://rbi//lib/rbi/printer.rb#390 + # pkg:gem/rbi#lib/rbi/printer.rb:390 sig { params(node: ::RBI::Mixin).void } def visit_mixin(node); end - # source://rbi//lib/rbi/printer.rb#152 + # pkg:gem/rbi#lib/rbi/printer.rb:152 sig { override.params(node: ::RBI::Module).void } def visit_module(node); end - # source://rbi//lib/rbi/printer.rb#343 + # pkg:gem/rbi#lib/rbi/printer.rb:343 sig { override.params(node: ::RBI::OptParam).void } def visit_opt_param(node); end - # source://rbi//lib/rbi/printer.rb#420 + # pkg:gem/rbi#lib/rbi/printer.rb:420 sig { override.params(node: ::RBI::Private).void } def visit_private(node); end - # source://rbi//lib/rbi/printer.rb#414 + # pkg:gem/rbi#lib/rbi/printer.rb:414 sig { override.params(node: ::RBI::Protected).void } def visit_protected(node); end - # source://rbi//lib/rbi/printer.rb#408 + # pkg:gem/rbi#lib/rbi/printer.rb:408 sig { override.params(node: ::RBI::Public).void } def visit_public(node); end - # source://rbi//lib/rbi/printer.rb#104 + # pkg:gem/rbi#lib/rbi/printer.rb:104 sig { override.params(node: ::RBI::RBSComment).void } def visit_rbs_comment(node); end - # source://rbi//lib/rbi/printer.rb#337 + # pkg:gem/rbi#lib/rbi/printer.rb:337 sig { override.params(node: ::RBI::ReqParam).void } def visit_req_param(node); end - # source://rbi//lib/rbi/printer.rb#604 + # pkg:gem/rbi#lib/rbi/printer.rb:604 sig { override.params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end - # source://rbi//lib/rbi/printer.rb#349 + # pkg:gem/rbi#lib/rbi/printer.rb:349 sig { override.params(node: ::RBI::RestParam).void } def visit_rest_param(node); end - # source://rbi//lib/rbi/printer.rb#175 + # pkg:gem/rbi#lib/rbi/printer.rb:175 sig { params(node: ::RBI::Scope).void } def visit_scope(node); end - # source://rbi//lib/rbi/printer.rb#220 + # pkg:gem/rbi#lib/rbi/printer.rb:220 sig { params(node: ::RBI::Scope).void } def visit_scope_body(node); end - # source://rbi//lib/rbi/printer.rb#624 + # pkg:gem/rbi#lib/rbi/printer.rb:624 sig { override.params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end - # source://rbi//lib/rbi/printer.rb#185 + # pkg:gem/rbi#lib/rbi/printer.rb:185 sig { params(node: ::RBI::Scope).void } def visit_scope_header(node); end - # source://rbi//lib/rbi/printer.rb#435 + # pkg:gem/rbi#lib/rbi/printer.rb:435 sig { override.params(node: ::RBI::Send).void } def visit_send(node); end - # source://rbi//lib/rbi/printer.rb#465 + # pkg:gem/rbi#lib/rbi/printer.rb:465 sig { override.params(node: ::RBI::Sig).void } def visit_sig(node); end - # source://rbi//lib/rbi/printer.rb#486 + # pkg:gem/rbi#lib/rbi/printer.rb:486 sig { override.params(node: ::RBI::SigParam).void } def visit_sig_param(node); end - # source://rbi//lib/rbi/printer.rb#170 + # pkg:gem/rbi#lib/rbi/printer.rb:170 sig { override.params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end - # source://rbi//lib/rbi/printer.rb#164 + # pkg:gem/rbi#lib/rbi/printer.rb:164 sig { override.params(node: ::RBI::Struct).void } def visit_struct(node); end - # source://rbi//lib/rbi/printer.rb#509 + # pkg:gem/rbi#lib/rbi/printer.rb:509 sig { params(node: ::RBI::TStructField).void } def visit_t_struct_field(node); end - # source://rbi//lib/rbi/printer.rb#528 + # pkg:gem/rbi#lib/rbi/printer.rb:528 sig { override.params(node: ::RBI::TEnum).void } def visit_tenum(node); end - # source://rbi//lib/rbi/printer.rb#534 + # pkg:gem/rbi#lib/rbi/printer.rb:534 sig { override.params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end - # source://rbi//lib/rbi/printer.rb#547 + # pkg:gem/rbi#lib/rbi/printer.rb:547 sig { override.params(node: ::RBI::TEnumValue).void } def visit_tenum_value(node); end - # source://rbi//lib/rbi/printer.rb#144 + # pkg:gem/rbi#lib/rbi/printer.rb:144 sig { override.params(node: ::RBI::Tree).void } def visit_tree(node); end - # source://rbi//lib/rbi/printer.rb#492 + # pkg:gem/rbi#lib/rbi/printer.rb:492 sig { override.params(node: ::RBI::TStruct).void } def visit_tstruct(node); end - # source://rbi//lib/rbi/printer.rb#498 + # pkg:gem/rbi#lib/rbi/printer.rb:498 sig { override.params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end - # source://rbi//lib/rbi/printer.rb#504 + # pkg:gem/rbi#lib/rbi/printer.rb:504 sig { override.params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end - # source://rbi//lib/rbi/printer.rb#557 + # pkg:gem/rbi#lib/rbi/printer.rb:557 sig { override.params(node: ::RBI::TypeMember).void } def visit_type_member(node); end - # source://rbi//lib/rbi/printer.rb#425 + # pkg:gem/rbi#lib/rbi/printer.rb:425 sig { params(node: ::RBI::Visibility).void } def visit_visibility(node); end - # source://rbi//lib/rbi/printer.rb#590 + # pkg:gem/rbi#lib/rbi/printer.rb:590 sig { override.params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end end -# source://rbi//lib/rbi/printer.rb#5 +# pkg:gem/rbi#lib/rbi/printer.rb:5 class RBI::PrinterError < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#792 +# pkg:gem/rbi#lib/rbi/model.rb:792 class RBI::Private < ::RBI::Visibility # @return [Private] a new instance of Private # - # source://rbi//lib/rbi/model.rb#794 + # pkg:gem/rbi#lib/rbi/model.rb:794 sig do params( loc: T.nilable(::RBI::Loc), @@ -1946,11 +1946,11 @@ class RBI::Private < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#784 +# pkg:gem/rbi#lib/rbi/model.rb:784 class RBI::Protected < ::RBI::Visibility # @return [Protected] a new instance of Protected # - # source://rbi//lib/rbi/model.rb#786 + # pkg:gem/rbi#lib/rbi/model.rb:786 sig do params( loc: T.nilable(::RBI::Loc), @@ -1961,11 +1961,11 @@ class RBI::Protected < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#776 +# pkg:gem/rbi#lib/rbi/model.rb:776 class RBI::Public < ::RBI::Visibility # @return [Public] a new instance of Public # - # source://rbi//lib/rbi/model.rb#778 + # pkg:gem/rbi#lib/rbi/model.rb:778 sig do params( loc: T.nilable(::RBI::Loc), @@ -1976,59 +1976,59 @@ class RBI::Public < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/rbs/method_type_translator.rb#5 +# pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:5 module RBI::RBS; end -# source://rbi//lib/rbi/rbs/method_type_translator.rb#6 +# pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:6 class RBI::RBS::MethodTypeTranslator # @return [MethodTypeTranslator] a new instance of MethodTypeTranslator # - # source://rbi//lib/rbi/rbs/method_type_translator.rb#22 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:22 sig { params(method: ::RBI::Method).void } def initialize(method); end - # source://rbi//lib/rbi/rbs/method_type_translator.rb#19 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:19 sig { returns(::RBI::Sig) } def result; end - # source://rbi//lib/rbi/rbs/method_type_translator.rb#28 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:28 sig { params(type: ::RBS::MethodType).void } def visit(type); end private - # source://rbi//lib/rbi/rbs/method_type_translator.rb#100 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:100 sig { params(param: ::RBS::Types::Function::Param, index: ::Integer).returns(::RBI::SigParam) } def translate_function_param(param, index); end - # source://rbi//lib/rbi/rbs/method_type_translator.rb#115 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:115 sig { params(type: T.untyped).returns(::RBI::Type) } def translate_type(type); end # @raise [Error] # - # source://rbi//lib/rbi/rbs/method_type_translator.rb#42 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:42 sig { params(type: ::RBS::Types::Block).void } def visit_block_type(type); end - # source://rbi//lib/rbi/rbs/method_type_translator.rb#57 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:57 sig { params(type: ::RBS::Types::Function).void } def visit_function_type(type); end class << self - # source://rbi//lib/rbi/rbs/method_type_translator.rb#11 + # pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:11 sig { params(method: ::RBI::Method, type: ::RBS::MethodType).returns(::RBI::Sig) } def translate(method, type); end end end -# source://rbi//lib/rbi/rbs/method_type_translator.rb#7 +# pkg:gem/rbi#lib/rbi/rbs/method_type_translator.rb:7 class RBI::RBS::MethodTypeTranslator::Error < ::RBI::Error; end -# source://rbi//lib/rbi/rbs/type_translator.rb#6 +# pkg:gem/rbi#lib/rbi/rbs/type_translator.rb:6 class RBI::RBS::TypeTranslator class << self - # source://rbi//lib/rbi/rbs/type_translator.rb#33 + # pkg:gem/rbi#lib/rbi/rbs/type_translator.rb:33 sig do params( type: T.any(::RBS::Types::Alias, ::RBS::Types::Bases::Any, ::RBS::Types::Bases::Bool, ::RBS::Types::Bases::Bottom, ::RBS::Types::Bases::Class, ::RBS::Types::Bases::Instance, ::RBS::Types::Bases::Nil, ::RBS::Types::Bases::Self, ::RBS::Types::Bases::Top, ::RBS::Types::Bases::Void, ::RBS::Types::ClassInstance, ::RBS::Types::ClassSingleton, ::RBS::Types::Function, ::RBS::Types::Interface, ::RBS::Types::Intersection, ::RBS::Types::Literal, ::RBS::Types::Optional, ::RBS::Types::Proc, ::RBS::Types::Record, ::RBS::Types::Tuple, ::RBS::Types::Union, ::RBS::Types::UntypedFunction, ::RBS::Types::Variable) @@ -2038,19 +2038,19 @@ class RBI::RBS::TypeTranslator private - # source://rbi//lib/rbi/rbs/type_translator.rb#106 + # pkg:gem/rbi#lib/rbi/rbs/type_translator.rb:106 sig { params(type: ::RBS::Types::ClassInstance).returns(::RBI::Type) } def translate_class_instance(type); end - # source://rbi//lib/rbi/rbs/type_translator.rb#114 + # pkg:gem/rbi#lib/rbi/rbs/type_translator.rb:114 sig { params(type: ::RBS::Types::Function).returns(::RBI::Type) } def translate_function(type); end - # source://rbi//lib/rbi/rbs/type_translator.rb#161 + # pkg:gem/rbi#lib/rbi/rbs/type_translator.rb:161 sig { params(type_name: ::String).returns(::String) } def translate_t_generic_type(type_name); end - # source://rbi//lib/rbi/rbs/type_translator.rb#94 + # pkg:gem/rbi#lib/rbi/rbs/type_translator.rb:94 sig { params(type: ::RBS::Types::Alias).returns(::RBI::Type) } def translate_type_alias(type); end end @@ -2058,18 +2058,18 @@ end # A comment representing a RBS type prefixed with `#:` # -# source://rbi//lib/rbi/model.rb#78 +# pkg:gem/rbi#lib/rbi/model.rb:78 class RBI::RBSComment < ::RBI::Comment - # source://rbi//lib/rbi/model.rb#80 + # pkg:gem/rbi#lib/rbi/model.rb:80 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end end -# source://rbi//lib/rbi/rbs_printer.rb#5 +# pkg:gem/rbi#lib/rbi/rbs_printer.rb:5 class RBI::RBSPrinter < ::RBI::Visitor # @return [RBSPrinter] a new instance of RBSPrinter # - # source://rbi//lib/rbi/rbs_printer.rb#30 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:30 sig do params( out: T.any(::IO, ::StringIO), @@ -2081,287 +2081,287 @@ class RBI::RBSPrinter < ::RBI::Visitor end def initialize(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), positional_names: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#15 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:15 sig { returns(::Integer) } def current_indent; end - # source://rbi//lib/rbi/rbs_printer.rb#49 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:49 sig { void } def dedent; end - # source://rbi//lib/rbi/rbs_printer.rb#9 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:9 def in_visibility_group; end - # source://rbi//lib/rbi/rbs_printer.rb#9 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:9 def in_visibility_group=(_arg0); end - # source://rbi//lib/rbi/rbs_printer.rb#44 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:44 sig { void } def indent; end - # source://rbi//lib/rbi/rbs_printer.rb#21 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:21 sig { returns(T.nilable(::Integer)) } def max_line_length; end - # source://rbi//lib/rbi/rbs_printer.rb#18 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:18 sig { returns(T::Boolean) } def positional_names; end - # source://rbi//lib/rbi/rbs_printer.rb#18 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:18 def positional_names=(_arg0); end - # source://rbi//lib/rbi/rbs_printer.rb#12 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:12 sig { returns(T.nilable(::RBI::Node)) } def previous_node; end # Print a string without indentation nor `\n` at the end. # - # source://rbi//lib/rbi/rbs_printer.rb#55 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:55 sig { params(string: ::String).void } def print(string); end - # source://rbi//lib/rbi/rbs_printer.rb#302 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:302 sig { params(node: ::RBI::Attr, sig: ::RBI::Sig).void } def print_attr_sig(node, sig); end - # source://rbi//lib/rbi/rbs_printer.rb#9 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:9 sig { returns(T::Boolean) } def print_locs; end - # source://rbi//lib/rbi/rbs_printer.rb#9 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:9 def print_locs=(_arg0); end - # source://rbi//lib/rbi/rbs_printer.rb#400 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:400 sig { params(node: ::RBI::Method, sig: ::RBI::Sig).void } def print_method_sig(node, sig); end - # source://rbi//lib/rbi/rbs_printer.rb#417 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:417 sig { params(node: ::RBI::Method, sig: ::RBI::Sig).void } def print_method_sig_inline(node, sig); end - # source://rbi//lib/rbi/rbs_printer.rb#479 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:479 sig { params(node: ::RBI::Method, sig: ::RBI::Sig).void } def print_method_sig_multiline(node, sig); end # Print a string with indentation and `\n` at the end. # - # source://rbi//lib/rbi/rbs_printer.rb#75 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:75 sig { params(string: ::String).void } def printl(string); end # Print a string without indentation but with a `\n` at the end. # - # source://rbi//lib/rbi/rbs_printer.rb#61 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:61 sig { params(string: T.nilable(::String)).void } def printn(string = T.unsafe(nil)); end # Print a string with indentation but without a `\n` at the end. # - # source://rbi//lib/rbi/rbs_printer.rb#68 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:68 sig { params(string: T.nilable(::String)).void } def printt(string = T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#82 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:82 sig { override.params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end - # source://rbi//lib/rbi/rbs_printer.rb#680 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:680 sig { override.params(node: ::RBI::Arg).void } def visit_arg(node); end - # source://rbi//lib/rbi/rbs_printer.rb#270 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:270 sig { params(node: ::RBI::Attr).void } def visit_attr(node); end - # source://rbi//lib/rbi/rbs_printer.rb#253 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:253 sig { override.params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end - # source://rbi//lib/rbi/rbs_printer.rb#259 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:259 sig { override.params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end - # source://rbi//lib/rbi/rbs_printer.rb#265 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:265 sig { override.params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end - # source://rbi//lib/rbi/rbs_printer.rb#124 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:124 sig { override.params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end - # source://rbi//lib/rbi/rbs_printer.rb#612 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:612 sig { override.params(node: ::RBI::BlockParam).void } def visit_block_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#144 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:144 sig { override.params(node: ::RBI::Class).void } def visit_class(node); end - # source://rbi//lib/rbi/rbs_printer.rb#107 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:107 sig { override.params(node: ::RBI::Comment).void } def visit_comment(node); end - # source://rbi//lib/rbi/rbs_printer.rb#816 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:816 sig { override.params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end - # source://rbi//lib/rbi/rbs_printer.rb#237 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:237 sig { override.params(node: ::RBI::Const).void } def visit_const(node); end - # source://rbi//lib/rbi/rbs_printer.rb#624 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:624 sig { override.params(node: ::RBI::Extend).void } def visit_extend(node); end - # source://rbi//lib/rbi/rbs_printer.rb#94 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:94 sig { override.params(file: ::RBI::File).void } def visit_file(file); end - # source://rbi//lib/rbi/rbs_printer.rb#789 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:789 sig { override.params(node: ::RBI::Group).void } def visit_group(node); end - # source://rbi//lib/rbi/rbs_printer.rb#777 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:777 sig { override.params(node: ::RBI::Helper).void } def visit_helper(node); end - # source://rbi//lib/rbi/rbs_printer.rb#618 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:618 sig { override.params(node: ::RBI::Include).void } def visit_include(node); end - # source://rbi//lib/rbi/rbs_printer.rb#686 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:686 sig { override.params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end - # source://rbi//lib/rbi/rbs_printer.rb#600 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:600 sig { override.params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#594 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:594 sig { override.params(node: ::RBI::KwParam).void } def visit_kw_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#606 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:606 sig { override.params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#325 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:325 sig { override.params(node: ::RBI::Method).void } def visit_method(node); end - # source://rbi//lib/rbi/rbs_printer.rb#783 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:783 sig { override.params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end - # source://rbi//lib/rbi/rbs_printer.rb#629 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:629 sig { params(node: ::RBI::Mixin).void } def visit_mixin(node); end - # source://rbi//lib/rbi/rbs_printer.rb#138 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:138 sig { override.params(node: ::RBI::Module).void } def visit_module(node); end - # source://rbi//lib/rbi/rbs_printer.rb#574 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:574 sig { override.params(node: ::RBI::OptParam).void } def visit_opt_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#659 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:659 sig { override.params(node: ::RBI::Private).void } def visit_private(node); end - # source://rbi//lib/rbi/rbs_printer.rb#653 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:653 sig { override.params(node: ::RBI::Protected).void } def visit_protected(node); end - # source://rbi//lib/rbi/rbs_printer.rb#647 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:647 sig { override.params(node: ::RBI::Public).void } def visit_public(node); end - # source://rbi//lib/rbi/rbs_printer.rb#564 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:564 sig { override.params(node: ::RBI::ReqParam).void } def visit_req_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#810 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:810 sig { override.params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end - # source://rbi//lib/rbi/rbs_printer.rb#584 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:584 sig { override.params(node: ::RBI::RestParam).void } def visit_rest_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#161 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:161 sig { params(node: ::RBI::Scope).void } def visit_scope(node); end - # source://rbi//lib/rbi/rbs_printer.rb#224 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:224 sig { params(node: ::RBI::Scope).void } def visit_scope_body(node); end - # source://rbi//lib/rbi/rbs_printer.rb#826 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:826 sig { override.params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end - # source://rbi//lib/rbi/rbs_printer.rb#171 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:171 sig { params(node: ::RBI::Scope).void } def visit_scope_header(node); end - # source://rbi//lib/rbi/rbs_printer.rb#674 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:674 sig { override.params(node: ::RBI::Send).void } def visit_send(node); end - # source://rbi//lib/rbi/rbs_printer.rb#545 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:545 sig { params(node: ::RBI::Sig).void } def visit_sig(node); end - # source://rbi//lib/rbi/rbs_printer.rb#558 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:558 sig { params(node: ::RBI::SigParam).void } def visit_sig_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#156 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:156 sig { override.params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end - # source://rbi//lib/rbi/rbs_printer.rb#150 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:150 sig { override.params(node: ::RBI::Struct).void } def visit_struct(node); end - # source://rbi//lib/rbi/rbs_printer.rb#743 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:743 sig { override.params(node: ::RBI::TEnum).void } def visit_tenum(node); end - # source://rbi//lib/rbi/rbs_printer.rb#749 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:749 sig { override.params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end - # source://rbi//lib/rbi/rbs_printer.rb#755 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:755 sig { override.params(node: ::RBI::TEnumValue).void } def visit_tenum_value(node); end - # source://rbi//lib/rbi/rbs_printer.rb#130 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:130 sig { override.params(node: ::RBI::Tree).void } def visit_tree(node); end - # source://rbi//lib/rbi/rbs_printer.rb#692 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:692 sig { override.params(node: ::RBI::TStruct).void } def visit_tstruct(node); end - # source://rbi//lib/rbi/rbs_printer.rb#727 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:727 sig { override.params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end - # source://rbi//lib/rbi/rbs_printer.rb#735 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:735 sig { override.params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end - # source://rbi//lib/rbi/rbs_printer.rb#771 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:771 sig { override.params(node: ::RBI::TypeMember).void } def visit_type_member(node); end - # source://rbi//lib/rbi/rbs_printer.rb#664 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:664 sig { params(node: ::RBI::Visibility).void } def visit_visibility(node); end - # source://rbi//lib/rbi/rbs_printer.rb#796 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:796 sig { override.params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end @@ -2369,7 +2369,7 @@ class RBI::RBSPrinter < ::RBI::Visitor # @return [Boolean] # - # source://rbi//lib/rbi/rbs_printer.rb#929 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:929 sig { params(node: ::RBI::Node).returns(T::Boolean) } def oneline?(node); end @@ -2377,46 +2377,46 @@ class RBI::RBSPrinter < ::RBI::Visitor # # Returns `nil` is the string is not a `T.let`. # - # source://rbi//lib/rbi/rbs_printer.rb#963 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:963 sig { params(code: T.nilable(::String)).returns(T.nilable(::String)) } def parse_t_let(code); end - # source://rbi//lib/rbi/rbs_printer.rb#951 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:951 sig { params(type: T.any(::RBI::Type, ::String)).returns(::RBI::Type) } def parse_type(type); end - # source://rbi//lib/rbi/rbs_printer.rb#842 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:842 sig { params(node: ::RBI::Node).void } def print_blank_line_before(node); end - # source://rbi//lib/rbi/rbs_printer.rb#861 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:861 sig { params(node: ::RBI::Node).void } def print_loc(node); end - # source://rbi//lib/rbi/rbs_printer.rb#903 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:903 sig { params(node: ::RBI::Param, last: T::Boolean).void } def print_param_comment_leading_space(node, last:); end - # source://rbi//lib/rbi/rbs_printer.rb#867 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:867 sig { params(node: ::RBI::Method, param: ::RBI::SigParam).void } def print_sig_param(node, param); end - # source://rbi//lib/rbi/rbs_printer.rb#921 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:921 sig { params(node: ::RBI::SigParam, last: T::Boolean).void } def print_sig_param_comment_leading_space(node, last:); end end -# source://rbi//lib/rbi/rbs_printer.rb#6 +# pkg:gem/rbi#lib/rbi/rbs_printer.rb:6 class RBI::RBSPrinter::Error < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#5 +# pkg:gem/rbi#lib/rbi/model.rb:5 class RBI::ReplaceNodeError < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#569 +# pkg:gem/rbi#lib/rbi/model.rb:569 class RBI::ReqParam < ::RBI::Param # @return [ReqParam] a new instance of ReqParam # - # source://rbi//lib/rbi/model.rb#571 + # pkg:gem/rbi#lib/rbi/model.rb:571 sig do params( name: ::String, @@ -2427,39 +2427,39 @@ class RBI::ReqParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#577 + # pkg:gem/rbi#lib/rbi/model.rb:577 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end end -# source://rbi//lib/rbi/model.rb#1204 +# pkg:gem/rbi#lib/rbi/model.rb:1204 class RBI::RequiresAncestor < ::RBI::NodeWithComments include ::RBI::Indexable # @return [RequiresAncestor] a new instance of RequiresAncestor # - # source://rbi//lib/rbi/model.rb#1209 + # pkg:gem/rbi#lib/rbi/model.rb:1209 sig { params(name: ::String, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/index.rb#154 + # pkg:gem/rbi#lib/rbi/index.rb:154 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1206 + # pkg:gem/rbi#lib/rbi/model.rb:1206 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1216 + # pkg:gem/rbi#lib/rbi/model.rb:1216 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#599 +# pkg:gem/rbi#lib/rbi/model.rb:599 class RBI::RestParam < ::RBI::Param # @return [RestParam] a new instance of RestParam # - # source://rbi//lib/rbi/model.rb#601 + # pkg:gem/rbi#lib/rbi/model.rb:601 sig do params( name: ::String, @@ -2470,73 +2470,73 @@ class RBI::RestParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#613 + # pkg:gem/rbi#lib/rbi/model.rb:613 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#608 + # pkg:gem/rbi#lib/rbi/model.rb:608 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/rewriters/add_sig_templates.rb#5 +# pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:5 module RBI::Rewriters; end -# source://rbi//lib/rbi/rewriters/add_sig_templates.rb#6 +# pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:6 class RBI::Rewriters::AddSigTemplates < ::RBI::Visitor # @return [AddSigTemplates] a new instance of AddSigTemplates # - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#8 + # pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:8 sig { params(with_todo_comment: T::Boolean).void } def initialize(with_todo_comment: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#15 + # pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:15 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#29 + # pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:29 sig { params(attr: ::RBI::Attr).void } def add_attr_sig(attr); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#44 + # pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:44 sig { params(method: ::RBI::Method).void } def add_method_sig(method); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#55 + # pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:55 sig { params(node: ::RBI::NodeWithComments).void } def add_todo_comment(node); end end -# source://rbi//lib/rbi/rewriters/annotate.rb#6 +# pkg:gem/rbi#lib/rbi/rewriters/annotate.rb:6 class RBI::Rewriters::Annotate < ::RBI::Visitor # @return [Annotate] a new instance of Annotate # - # source://rbi//lib/rbi/rewriters/annotate.rb#8 + # pkg:gem/rbi#lib/rbi/rewriters/annotate.rb:8 sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def initialize(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/annotate.rb#17 + # pkg:gem/rbi#lib/rbi/rewriters/annotate.rb:17 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/annotate.rb#30 + # pkg:gem/rbi#lib/rbi/rewriters/annotate.rb:30 sig { params(node: ::RBI::NodeWithComments).void } def annotate_node(node); end # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/annotate.rb#37 + # pkg:gem/rbi#lib/rbi/rewriters/annotate.rb:37 sig { params(node: ::RBI::Node).returns(T::Boolean) } def root?(node); end end -# source://rbi//lib/rbi/rewriters/attr_to_methods.rb#22 +# pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:22 class RBI::Rewriters::AttrToMethods < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#25 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:25 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end @@ -2544,26 +2544,26 @@ class RBI::Rewriters::AttrToMethods < ::RBI::Visitor # @raise [ReplaceNodeError] # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#38 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:38 sig { params(node: ::RBI::Node, with: T::Array[::RBI::Node]).void } def replace(node, with:); end end -# source://rbi//lib/rbi/rewriters/deannotate.rb#6 +# pkg:gem/rbi#lib/rbi/rewriters/deannotate.rb:6 class RBI::Rewriters::Deannotate < ::RBI::Visitor # @return [Deannotate] a new instance of Deannotate # - # source://rbi//lib/rbi/rewriters/deannotate.rb#8 + # pkg:gem/rbi#lib/rbi/rewriters/deannotate.rb:8 sig { params(annotation: ::String).void } def initialize(annotation); end - # source://rbi//lib/rbi/rewriters/deannotate.rb#15 + # pkg:gem/rbi#lib/rbi/rewriters/deannotate.rb:15 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/deannotate.rb#26 + # pkg:gem/rbi#lib/rbi/rewriters/deannotate.rb:26 sig { params(node: ::RBI::NodeWithComments).void } def deannotate_node(node); end end @@ -2620,26 +2620,26 @@ end # RBI with no versions: # - RBI with no version annotations are automatically counted towards ALL versions # -# source://rbi//lib/rbi/rewriters/filter_versions.rb#57 +# pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:57 class RBI::Rewriters::FilterVersions < ::RBI::Visitor # @return [FilterVersions] a new instance of FilterVersions # - # source://rbi//lib/rbi/rewriters/filter_versions.rb#69 + # pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:69 sig { params(version: ::Gem::Version).void } def initialize(version); end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#76 + # pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:76 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end class << self - # source://rbi//lib/rbi/rewriters/filter_versions.rb#62 + # pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:62 sig { params(tree: ::RBI::Tree, version: ::Gem::Version).void } def filter(tree, version); end end end -# source://rbi//lib/rbi/rewriters/filter_versions.rb#58 +# pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:58 RBI::Rewriters::FilterVersions::VERSION_PREFIX = T.let(T.unsafe(nil), String) # Rewrite non-singleton methods inside singleton classes to singleton methods @@ -2667,9 +2667,9 @@ RBI::Rewriters::FilterVersions::VERSION_PREFIX = T.let(T.unsafe(nil), String) # end # ~~~ # -# source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#30 +# pkg:gem/rbi#lib/rbi/rewriters/flatten_singleton_methods.rb:30 class RBI::Rewriters::FlattenSingletonMethods < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#33 + # pkg:gem/rbi#lib/rbi/rewriters/flatten_singleton_methods.rb:33 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end @@ -2696,28 +2696,28 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#27 +# pkg:gem/rbi#lib/rbi/rewriters/flatten_visibilities.rb:27 class RBI::Rewriters::FlattenVisibilities < ::RBI::Visitor # @return [FlattenVisibilities] a new instance of FlattenVisibilities # - # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#29 + # pkg:gem/rbi#lib/rbi/rewriters/flatten_visibilities.rb:29 sig { void } def initialize; end - # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#37 + # pkg:gem/rbi#lib/rbi/rewriters/flatten_visibilities.rb:37 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end -# source://rbi//lib/rbi/rewriters/group_nodes.rb#8 +# pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:8 class RBI::Rewriters::GroupNodes < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/group_nodes.rb#11 + # pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:11 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/group_nodes.rb#35 + # pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:35 sig { params(node: ::RBI::Node).returns(::RBI::Group::Kind) } def group_kind(node); end end @@ -2756,24 +2756,24 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#39 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:39 class RBI::Rewriters::Merge # @return [Merge] a new instance of Merge # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#66 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:66 sig { params(left_name: ::String, right_name: ::String, keep: ::RBI::Rewriters::Merge::Keep).void } def initialize(left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#75 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:75 sig { params(tree: ::RBI::Tree).void } def merge(tree); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#63 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:63 sig { returns(::RBI::MergeTree) } def tree; end class << self - # source://rbi//lib/rbi/rewriters/merge_trees.rb#50 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:50 sig do params( left: ::RBI::Tree, @@ -2789,29 +2789,29 @@ end # Used for logging / error displaying purpose # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#82 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:82 class RBI::Rewriters::Merge::Conflict # @return [Conflict] a new instance of Conflict # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#90 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:90 sig { params(left: ::RBI::Node, right: ::RBI::Node, left_name: ::String, right_name: ::String).void } def initialize(left:, right:, left_name:, right_name:); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#84 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:84 sig { returns(::RBI::Node) } def left; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#87 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:87 sig { returns(::String) } def left_name; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#84 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:84 def right; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#87 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:87 def right_name; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#98 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:98 sig { returns(::String) } def to_s; end end @@ -2847,47 +2847,47 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#258 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:258 class RBI::Rewriters::Merge::ConflictTreeMerger < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/merge_trees.rb#261 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:261 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#267 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:267 sig { override.params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end private - # source://rbi//lib/rbi/rewriters/merge_trees.rb#290 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:290 sig { params(left: ::RBI::Tree, right: ::RBI::Tree).void } def merge_conflict_trees(left, right); end end -# source://rbi//lib/rbi/rewriters/merge_trees.rb#40 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:40 class RBI::Rewriters::Merge::Keep class << self private - # source://rbi//lib/rbi/rewriters/merge_trees.rb#45 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:45 def new(*_arg0); end end end -# source://rbi//lib/rbi/rewriters/merge_trees.rb#42 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:42 RBI::Rewriters::Merge::Keep::LEFT = T.let(T.unsafe(nil), RBI::Rewriters::Merge::Keep) -# source://rbi//lib/rbi/rewriters/merge_trees.rb#41 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:41 RBI::Rewriters::Merge::Keep::NONE = T.let(T.unsafe(nil), RBI::Rewriters::Merge::Keep) -# source://rbi//lib/rbi/rewriters/merge_trees.rb#43 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:43 RBI::Rewriters::Merge::Keep::RIGHT = T.let(T.unsafe(nil), RBI::Rewriters::Merge::Keep) -# source://rbi//lib/rbi/rewriters/merge_trees.rb#103 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:103 class RBI::Rewriters::Merge::TreeMerger < ::RBI::Visitor # @return [TreeMerger] a new instance of TreeMerger # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#108 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:108 sig do params( output: ::RBI::Tree, @@ -2898,47 +2898,47 @@ class RBI::Rewriters::Merge::TreeMerger < ::RBI::Visitor end def initialize(output, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#105 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:105 sig { returns(T::Array[::RBI::Rewriters::Merge::Conflict]) } def conflicts; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#121 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:121 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/merge_trees.rb#181 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:181 sig { returns(::RBI::Tree) } def current_scope; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#198 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:198 sig { params(left: ::RBI::Scope, right: ::RBI::Scope).void } def make_conflict_scope(left, right); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#205 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:205 sig { params(left: ::RBI::Node, right: ::RBI::Node).void } def make_conflict_tree(left, right); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#186 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:186 sig { params(node: ::RBI::Node).returns(T.nilable(::RBI::Node)) } def previous_definition(node); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#217 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:217 sig { params(left: ::RBI::Scope, right: ::RBI::Scope).returns(::RBI::Scope) } def replace_scope_header(left, right); end end -# source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#6 +# pkg:gem/rbi#lib/rbi/rewriters/nest_non_public_members.rb:6 class RBI::Rewriters::NestNonPublicMembers < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#9 + # pkg:gem/rbi#lib/rbi/rewriters/nest_non_public_members.rb:9 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end -# source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#6 +# pkg:gem/rbi#lib/rbi/rewriters/nest_singleton_methods.rb:6 class RBI::Rewriters::NestSingletonMethods < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#9 + # pkg:gem/rbi#lib/rbi/rewriters/nest_singleton_methods.rb:9 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end @@ -2960,15 +2960,15 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#22 +# pkg:gem/rbi#lib/rbi/rewriters/nest_top_level_members.rb:22 class RBI::Rewriters::NestTopLevelMembers < ::RBI::Visitor # @return [NestTopLevelMembers] a new instance of NestTopLevelMembers # - # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#24 + # pkg:gem/rbi#lib/rbi/rewriters/nest_top_level_members.rb:24 sig { void } def initialize; end - # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#32 + # pkg:gem/rbi#lib/rbi/rewriters/nest_top_level_members.rb:32 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end @@ -3016,23 +3016,23 @@ end # OPERATIONS # ~~~ # -# source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#48 +# pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:48 class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor # @return [RemoveKnownDefinitions] a new instance of RemoveKnownDefinitions # - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#53 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:53 sig { params(index: ::RBI::Index).void } def initialize(index); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#50 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:50 sig { returns(T::Array[::RBI::Rewriters::RemoveKnownDefinitions::Operation]) } def operations; end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#75 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:75 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#69 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:69 sig { params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end @@ -3040,20 +3040,20 @@ class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#103 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:103 sig { params(node: ::RBI::Node, previous: ::RBI::Node).returns(T::Boolean) } def can_delete_node?(node, previous); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#121 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:121 sig { params(node: ::RBI::Node, previous: ::RBI::Node).void } def delete_node(node, previous); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#94 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:94 sig { params(node: ::RBI::Indexable).returns(T.nilable(::RBI::Node)) } def previous_definition_for(node); end class << self - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#61 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:61 sig do params( tree: ::RBI::Tree, @@ -3064,80 +3064,80 @@ class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor end end -# source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#126 +# pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:126 class RBI::Rewriters::RemoveKnownDefinitions::Operation # @return [Operation] a new instance of Operation # - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#131 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:131 sig { params(deleted_node: ::RBI::Node, duplicate_of: ::RBI::Node).void } def initialize(deleted_node:, duplicate_of:); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#128 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:128 sig { returns(::RBI::Node) } def deleted_node; end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#128 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:128 def duplicate_of; end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#137 + # pkg:gem/rbi#lib/rbi/rewriters/remove_known_definitions.rb:137 sig { returns(::String) } def to_s; end end -# source://rbi//lib/rbi/rewriters/sort_nodes.rb#6 +# pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:6 class RBI::Rewriters::SortNodes < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#9 + # pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:9 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#74 + # pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:74 sig { params(kind: ::RBI::Group::Kind).returns(::Integer) } def group_rank(kind); end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#95 + # pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:95 sig { params(node: ::RBI::Node).returns(T.nilable(::String)) } def node_name(node); end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#46 + # pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:46 sig { params(node: ::RBI::Node).returns(::Integer) } def node_rank(node); end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#107 + # pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:107 sig { params(node: ::RBI::Node).void } def sort_node_names!(node); end end # Translate all RBS signature comments to Sorbet RBI signatures # -# source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#7 +# pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:7 class RBI::Rewriters::TranslateRBSSigs < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#12 + # pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:12 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#34 + # pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:34 sig { params(node: T.any(::RBI::Attr, ::RBI::Method)).returns(T::Array[::RBI::RBSComment]) } def extract_rbs_comments(node); end - # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#61 + # pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:61 sig { params(node: ::RBI::Attr, comment: ::RBI::RBSComment).returns(::RBI::Sig) } def translate_rbs_attr_type(node, comment); end - # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#53 + # pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:53 sig { params(node: ::RBI::Method, comment: ::RBI::RBSComment).returns(::RBI::Sig) } def translate_rbs_method_type(node, comment); end end -# source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#8 +# pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:8 class RBI::Rewriters::TranslateRBSSigs::Error < ::RBI::Error; end # @abstract # -# source://rbi//lib/rbi/model.rb#163 +# pkg:gem/rbi#lib/rbi/model.rb:163 class RBI::Scope < ::RBI::Tree include ::RBI::Indexable @@ -3145,22 +3145,22 @@ class RBI::Scope < ::RBI::Tree # Duplicate `self` scope without its body # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#363 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:363 sig { returns(T.self_type) } def dup_empty; end # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/model.rb#166 + # pkg:gem/rbi#lib/rbi/model.rb:166 sig { abstract.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#84 + # pkg:gem/rbi#lib/rbi/index.rb:84 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#170 + # pkg:gem/rbi#lib/rbi/model.rb:170 sig { override.returns(::String) } def to_s; end end @@ -3178,38 +3178,38 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#603 +# pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:603 class RBI::ScopeConflict < ::RBI::Tree # @return [ScopeConflict] a new instance of ScopeConflict # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#611 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:611 sig { params(left: ::RBI::Scope, right: ::RBI::Scope, left_name: ::String, right_name: ::String).void } def initialize(left:, right:, left_name: T.unsafe(nil), right_name: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#605 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:605 sig { returns(::RBI::Scope) } def left; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#608 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:608 sig { returns(::String) } def left_name; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#605 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:605 def right; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#608 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:608 def right_name; end end # Sends # -# source://rbi//lib/rbi/model.rb#802 +# pkg:gem/rbi#lib/rbi/model.rb:802 class RBI::Send < ::RBI::NodeWithComments include ::RBI::Indexable # @return [Send] a new instance of Send # - # source://rbi//lib/rbi/model.rb#810 + # pkg:gem/rbi#lib/rbi/model.rb:810 sig do params( method: ::String, @@ -3221,44 +3221,44 @@ class RBI::Send < ::RBI::NodeWithComments end def initialize(method, args = T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#818 + # pkg:gem/rbi#lib/rbi/model.rb:818 sig { params(arg: ::RBI::Arg).void } def <<(arg); end - # source://rbi//lib/rbi/model.rb#823 + # pkg:gem/rbi#lib/rbi/model.rb:823 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#807 + # pkg:gem/rbi#lib/rbi/model.rb:807 sig { returns(T::Array[::RBI::Arg]) } def args; end # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#529 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:529 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#184 + # pkg:gem/rbi#lib/rbi/index.rb:184 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#804 + # pkg:gem/rbi#lib/rbi/model.rb:804 sig { returns(::String) } def method; end - # source://rbi//lib/rbi/model.rb#828 + # pkg:gem/rbi#lib/rbi/model.rb:828 sig { returns(::String) } def to_s; end end # Sorbet's sigs # -# source://rbi//lib/rbi/model.rb#877 +# pkg:gem/rbi#lib/rbi/model.rb:877 class RBI::Sig < ::RBI::NodeWithComments # @return [Sig] a new instance of Sig # - # source://rbi//lib/rbi/model.rb#926 + # pkg:gem/rbi#lib/rbi/model.rb:926 sig do params( params: T::Array[::RBI::SigParam], @@ -3279,95 +3279,95 @@ class RBI::Sig < ::RBI::NodeWithComments end def initialize(params: T.unsafe(nil), return_type: T.unsafe(nil), is_abstract: T.unsafe(nil), is_override: T.unsafe(nil), is_overridable: T.unsafe(nil), is_final: T.unsafe(nil), allow_incompatible_override: T.unsafe(nil), allow_incompatible_override_visibility: T.unsafe(nil), without_runtime: T.unsafe(nil), type_params: T.unsafe(nil), checked: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#958 + # pkg:gem/rbi#lib/rbi/model.rb:958 sig { params(param: ::RBI::SigParam).void } def <<(param); end - # source://rbi//lib/rbi/model.rb#968 + # pkg:gem/rbi#lib/rbi/model.rb:968 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#963 + # pkg:gem/rbi#lib/rbi/model.rb:963 sig { params(name: ::String, type: T.any(::RBI::Type, ::String)).void } def add_param(name, type); end - # source://rbi//lib/rbi/model.rb#897 + # pkg:gem/rbi#lib/rbi/model.rb:897 sig { returns(T::Boolean) } def allow_incompatible_override; end - # source://rbi//lib/rbi/model.rb#897 + # pkg:gem/rbi#lib/rbi/model.rb:897 def allow_incompatible_override=(_arg0); end - # source://rbi//lib/rbi/model.rb#900 + # pkg:gem/rbi#lib/rbi/model.rb:900 sig { returns(T::Boolean) } def allow_incompatible_override_visibility; end - # source://rbi//lib/rbi/model.rb#900 + # pkg:gem/rbi#lib/rbi/model.rb:900 def allow_incompatible_override_visibility=(_arg0); end - # source://rbi//lib/rbi/model.rb#909 + # pkg:gem/rbi#lib/rbi/model.rb:909 sig { returns(T.nilable(::Symbol)) } def checked; end - # source://rbi//lib/rbi/model.rb#909 + # pkg:gem/rbi#lib/rbi/model.rb:909 def checked=(_arg0); end - # source://rbi//lib/rbi/model.rb#885 + # pkg:gem/rbi#lib/rbi/model.rb:885 sig { returns(T::Boolean) } def is_abstract; end - # source://rbi//lib/rbi/model.rb#885 + # pkg:gem/rbi#lib/rbi/model.rb:885 def is_abstract=(_arg0); end - # source://rbi//lib/rbi/model.rb#894 + # pkg:gem/rbi#lib/rbi/model.rb:894 sig { returns(T::Boolean) } def is_final; end - # source://rbi//lib/rbi/model.rb#894 + # pkg:gem/rbi#lib/rbi/model.rb:894 def is_final=(_arg0); end - # source://rbi//lib/rbi/model.rb#891 + # pkg:gem/rbi#lib/rbi/model.rb:891 sig { returns(T::Boolean) } def is_overridable; end - # source://rbi//lib/rbi/model.rb#891 + # pkg:gem/rbi#lib/rbi/model.rb:891 def is_overridable=(_arg0); end - # source://rbi//lib/rbi/model.rb#888 + # pkg:gem/rbi#lib/rbi/model.rb:888 sig { returns(T::Boolean) } def is_override; end - # source://rbi//lib/rbi/model.rb#888 + # pkg:gem/rbi#lib/rbi/model.rb:888 def is_override=(_arg0); end - # source://rbi//lib/rbi/model.rb#879 + # pkg:gem/rbi#lib/rbi/model.rb:879 sig { returns(T::Array[::RBI::SigParam]) } def params; end - # source://rbi//lib/rbi/model.rb#882 + # pkg:gem/rbi#lib/rbi/model.rb:882 sig { returns(T.any(::RBI::Type, ::String)) } def return_type; end - # source://rbi//lib/rbi/model.rb#882 + # pkg:gem/rbi#lib/rbi/model.rb:882 def return_type=(_arg0); end - # source://rbi//lib/rbi/model.rb#906 + # pkg:gem/rbi#lib/rbi/model.rb:906 sig { returns(T::Array[::String]) } def type_params; end - # source://rbi//lib/rbi/model.rb#903 + # pkg:gem/rbi#lib/rbi/model.rb:903 sig { returns(T::Boolean) } def without_runtime; end - # source://rbi//lib/rbi/model.rb#903 + # pkg:gem/rbi#lib/rbi/model.rb:903 def without_runtime=(_arg0); end end -# source://rbi//lib/rbi/model.rb#977 +# pkg:gem/rbi#lib/rbi/model.rb:977 class RBI::SigParam < ::RBI::NodeWithComments # @return [SigParam] a new instance of SigParam # - # source://rbi//lib/rbi/model.rb#985 + # pkg:gem/rbi#lib/rbi/model.rb:985 sig do params( name: ::String, @@ -3379,24 +3379,24 @@ class RBI::SigParam < ::RBI::NodeWithComments end def initialize(name, type, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#993 + # pkg:gem/rbi#lib/rbi/model.rb:993 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#979 + # pkg:gem/rbi#lib/rbi/model.rb:979 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#982 + # pkg:gem/rbi#lib/rbi/model.rb:982 sig { returns(T.any(::RBI::Type, ::String)) } def type; end end -# source://rbi//lib/rbi/model.rb#219 +# pkg:gem/rbi#lib/rbi/model.rb:219 class RBI::SingletonClass < ::RBI::Scope # @return [SingletonClass] a new instance of SingletonClass # - # source://rbi//lib/rbi/model.rb#221 + # pkg:gem/rbi#lib/rbi/model.rb:221 sig do params( loc: T.nilable(::RBI::Loc), @@ -3406,16 +3406,16 @@ class RBI::SingletonClass < ::RBI::Scope end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#228 + # pkg:gem/rbi#lib/rbi/model.rb:228 sig { override.returns(::String) } def fully_qualified_name; end end -# source://rbi//lib/rbi/model.rb#233 +# pkg:gem/rbi#lib/rbi/model.rb:233 class RBI::Struct < ::RBI::Scope # @return [Struct] a new instance of Struct # - # source://rbi//lib/rbi/model.rb#250 + # pkg:gem/rbi#lib/rbi/model.rb:250 sig do params( name: ::String, @@ -3430,43 +3430,43 @@ class RBI::Struct < ::RBI::Scope # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#404 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:404 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#260 + # pkg:gem/rbi#lib/rbi/model.rb:260 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/model.rb#241 + # pkg:gem/rbi#lib/rbi/model.rb:241 sig { returns(T::Boolean) } def keyword_init; end - # source://rbi//lib/rbi/model.rb#241 + # pkg:gem/rbi#lib/rbi/model.rb:241 def keyword_init=(_arg0); end - # source://rbi//lib/rbi/model.rb#238 + # pkg:gem/rbi#lib/rbi/model.rb:238 sig { returns(T::Array[::Symbol]) } def members; end - # source://rbi//lib/rbi/model.rb#238 + # pkg:gem/rbi#lib/rbi/model.rb:238 def members=(_arg0); end - # source://rbi//lib/rbi/model.rb#235 + # pkg:gem/rbi#lib/rbi/model.rb:235 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#235 + # pkg:gem/rbi#lib/rbi/model.rb:235 def name=(_arg0); end end # Sorbet's T::Enum # -# source://rbi//lib/rbi/model.rb#1088 +# pkg:gem/rbi#lib/rbi/model.rb:1088 class RBI::TEnum < ::RBI::Class # @return [TEnum] a new instance of TEnum # - # source://rbi//lib/rbi/model.rb#1090 + # pkg:gem/rbi#lib/rbi/model.rb:1090 sig do params( name: ::String, @@ -3478,11 +3478,11 @@ class RBI::TEnum < ::RBI::Class def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#1096 +# pkg:gem/rbi#lib/rbi/model.rb:1096 class RBI::TEnumBlock < ::RBI::Scope # @return [TEnumBlock] a new instance of TEnumBlock # - # source://rbi//lib/rbi/model.rb#1098 + # pkg:gem/rbi#lib/rbi/model.rb:1098 sig do params( loc: T.nilable(::RBI::Loc), @@ -3492,26 +3492,26 @@ class RBI::TEnumBlock < ::RBI::Scope end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1105 + # pkg:gem/rbi#lib/rbi/model.rb:1105 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#214 + # pkg:gem/rbi#lib/rbi/index.rb:214 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1111 + # pkg:gem/rbi#lib/rbi/model.rb:1111 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#1116 +# pkg:gem/rbi#lib/rbi/model.rb:1116 class RBI::TEnumValue < ::RBI::NodeWithComments include ::RBI::Indexable # @return [TEnumValue] a new instance of TEnumValue # - # source://rbi//lib/rbi/model.rb#1121 + # pkg:gem/rbi#lib/rbi/model.rb:1121 sig do params( name: ::String, @@ -3522,30 +3522,30 @@ class RBI::TEnumValue < ::RBI::NodeWithComments end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1128 + # pkg:gem/rbi#lib/rbi/model.rb:1128 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#224 + # pkg:gem/rbi#lib/rbi/index.rb:224 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1118 + # pkg:gem/rbi#lib/rbi/model.rb:1118 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1134 + # pkg:gem/rbi#lib/rbi/model.rb:1134 sig { override.returns(::String) } def to_s; end end # Sorbet's T::Struct # -# source://rbi//lib/rbi/model.rb#1000 +# pkg:gem/rbi#lib/rbi/model.rb:1000 class RBI::TStruct < ::RBI::Class # @return [TStruct] a new instance of TStruct # - # source://rbi//lib/rbi/model.rb#1002 + # pkg:gem/rbi#lib/rbi/model.rb:1002 sig do params( name: ::String, @@ -3557,13 +3557,13 @@ class RBI::TStruct < ::RBI::Class def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#1032 +# pkg:gem/rbi#lib/rbi/model.rb:1032 class RBI::TStructConst < ::RBI::TStructField include ::RBI::Indexable # @return [TStructConst] a new instance of TStructConst # - # source://rbi//lib/rbi/model.rb#1040 + # pkg:gem/rbi#lib/rbi/model.rb:1040 sig do params( name: ::String, @@ -3578,32 +3578,32 @@ class RBI::TStructConst < ::RBI::TStructField # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#545 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:545 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#1047 + # pkg:gem/rbi#lib/rbi/model.rb:1047 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/index.rb#194 + # pkg:gem/rbi#lib/rbi/index.rb:194 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1054 + # pkg:gem/rbi#lib/rbi/model.rb:1054 sig { override.returns(::String) } def to_s; end end # @abstract # -# source://rbi//lib/rbi/model.rb#1009 +# pkg:gem/rbi#lib/rbi/model.rb:1009 class RBI::TStructField < ::RBI::NodeWithComments abstract! # @return [TStructField] a new instance of TStructField # - # source://rbi//lib/rbi/model.rb#1020 + # pkg:gem/rbi#lib/rbi/model.rb:1020 sig do params( name: ::String, @@ -3617,46 +3617,46 @@ class RBI::TStructField < ::RBI::NodeWithComments # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#537 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:537 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#1017 + # pkg:gem/rbi#lib/rbi/model.rb:1017 sig { returns(T.nilable(::String)) } def default; end - # source://rbi//lib/rbi/model.rb#1017 + # pkg:gem/rbi#lib/rbi/model.rb:1017 def default=(_arg0); end # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/model.rb#1029 + # pkg:gem/rbi#lib/rbi/model.rb:1029 sig { abstract.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#1011 + # pkg:gem/rbi#lib/rbi/model.rb:1011 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1011 + # pkg:gem/rbi#lib/rbi/model.rb:1011 def name=(_arg0); end - # source://rbi//lib/rbi/model.rb#1014 + # pkg:gem/rbi#lib/rbi/model.rb:1014 sig { returns(T.any(::RBI::Type, ::String)) } def type; end - # source://rbi//lib/rbi/model.rb#1014 + # pkg:gem/rbi#lib/rbi/model.rb:1014 def type=(_arg0); end end -# source://rbi//lib/rbi/model.rb#1059 +# pkg:gem/rbi#lib/rbi/model.rb:1059 class RBI::TStructProp < ::RBI::TStructField include ::RBI::Indexable # @return [TStructProp] a new instance of TStructProp # - # source://rbi//lib/rbi/model.rb#1067 + # pkg:gem/rbi#lib/rbi/model.rb:1067 sig do params( name: ::String, @@ -3671,28 +3671,28 @@ class RBI::TStructProp < ::RBI::TStructField # @return [Boolean] # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#553 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:553 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#1074 + # pkg:gem/rbi#lib/rbi/model.rb:1074 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/index.rb#204 + # pkg:gem/rbi#lib/rbi/index.rb:204 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1081 + # pkg:gem/rbi#lib/rbi/model.rb:1081 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#108 +# pkg:gem/rbi#lib/rbi/model.rb:108 class RBI::Tree < ::RBI::NodeWithComments # @return [Tree] a new instance of Tree # - # source://rbi//lib/rbi/model.rb#113 + # pkg:gem/rbi#lib/rbi/model.rb:113 sig do params( loc: T.nilable(::RBI::Loc), @@ -3702,49 +3702,49 @@ class RBI::Tree < ::RBI::NodeWithComments end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#120 + # pkg:gem/rbi#lib/rbi/model.rb:120 sig { params(node: ::RBI::Node).void } def <<(node); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#63 + # pkg:gem/rbi#lib/rbi/rewriters/add_sig_templates.rb:63 sig { params(with_todo_comment: T::Boolean).void } def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/annotate.rb#46 + # pkg:gem/rbi#lib/rbi/rewriters/annotate.rb:46 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://rbi//lib/rbi/rewriters/deannotate.rb#38 + # pkg:gem/rbi#lib/rbi/rewriters/deannotate.rb:38 sig { params(annotation: ::String).void } def deannotate!(annotation); end # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#126 + # pkg:gem/rbi#lib/rbi/model.rb:126 sig { returns(T::Boolean) } def empty?; end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#113 + # pkg:gem/rbi#lib/rbi/rewriters/filter_versions.rb:113 sig { params(version: ::Gem::Version).void } def filter_versions!(version); end - # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#58 + # pkg:gem/rbi#lib/rbi/rewriters/flatten_singleton_methods.rb:58 sig { void } def flatten_singleton_methods!; end - # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#57 + # pkg:gem/rbi#lib/rbi/rewriters/flatten_visibilities.rb:57 sig { void } def flatten_visibilities!; end - # source://rbi//lib/rbi/rewriters/group_nodes.rb#78 + # pkg:gem/rbi#lib/rbi/rewriters/group_nodes.rb:78 sig { void } def group_nodes!; end - # source://rbi//lib/rbi/index.rb#62 + # pkg:gem/rbi#lib/rbi/index.rb:62 sig { returns(::RBI::Index) } def index; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#336 + # pkg:gem/rbi#lib/rbi/rewriters/merge_trees.rb:336 sig do params( other: ::RBI::Tree, @@ -3755,31 +3755,31 @@ class RBI::Tree < ::RBI::NodeWithComments end def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#43 + # pkg:gem/rbi#lib/rbi/rewriters/nest_non_public_members.rb:43 sig { void } def nest_non_public_members!; end - # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#33 + # pkg:gem/rbi#lib/rbi/rewriters/nest_singleton_methods.rb:33 sig { void } def nest_singleton_methods!; end - # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#60 + # pkg:gem/rbi#lib/rbi/rewriters/nest_top_level_members.rb:60 sig { void } def nest_top_level_members!; end - # source://rbi//lib/rbi/model.rb#110 + # pkg:gem/rbi#lib/rbi/model.rb:110 sig { returns(T::Array[::RBI::Node]) } def nodes; end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#50 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:50 sig { void } def replace_attributes_with_methods!; end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#118 + # pkg:gem/rbi#lib/rbi/rewriters/sort_nodes.rb:118 sig { void } def sort_nodes!; end - # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#82 + # pkg:gem/rbi#lib/rbi/rewriters/translate_rbs_sigs.rb:82 sig { void } def translate_rbs_sigs!; end end @@ -3788,30 +3788,30 @@ end # # @abstract # -# source://rbi//lib/rbi/type.rb#7 +# pkg:gem/rbi#lib/rbi/type.rb:7 class RBI::Type abstract! # @return [Type] a new instance of Type # - # source://rbi//lib/rbi/type.rb#993 + # pkg:gem/rbi#lib/rbi/type.rb:993 sig { void } def initialize; end # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/type.rb#1064 + # pkg:gem/rbi#lib/rbi/type.rb:1064 sig { abstract.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end # @return [Boolean] # - # source://rbi//lib/rbi/type.rb#1067 + # pkg:gem/rbi#lib/rbi/type.rb:1067 sig { params(other: ::BasicObject).returns(T::Boolean) } def eql?(other); end - # source://rbi//lib/rbi/type.rb#1073 + # pkg:gem/rbi#lib/rbi/type.rb:1073 sig { override.returns(::Integer) } def hash; end @@ -3825,7 +3825,7 @@ class RBI::Type # type.nilable.nilable.to_rbi # => "::T.nilable(String)" # ``` # - # source://rbi//lib/rbi/type.rb#1007 + # pkg:gem/rbi#lib/rbi/type.rb:1007 sig { returns(::RBI::Type) } def nilable; end @@ -3833,7 +3833,7 @@ class RBI::Type # # @return [Boolean] # - # source://rbi//lib/rbi/type.rb#1034 + # pkg:gem/rbi#lib/rbi/type.rb:1034 sig { returns(T::Boolean) } def nilable?; end @@ -3848,7 +3848,7 @@ class RBI::Type # type.non_nilable.non_nilable.to_rbi # => "String" # ``` # - # source://rbi//lib/rbi/type.rb#1022 + # pkg:gem/rbi#lib/rbi/type.rb:1022 sig { returns(::RBI::Type) } def non_nilable; end @@ -3864,11 +3864,11 @@ class RBI::Type # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/type.rb#1048 + # pkg:gem/rbi#lib/rbi/type.rb:1048 sig { abstract.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/rbs_printer.rb#1261 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1261 sig { returns(::String) } def rbs_string; end @@ -3884,18 +3884,18 @@ class RBI::Type # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/type.rb#1060 + # pkg:gem/rbi#lib/rbi/type.rb:1060 sig { abstract.returns(::RBI::Type) } def simplify; end # @abstract # @raise [NotImplementedError] # - # source://rbi//lib/rbi/type.rb#1079 + # pkg:gem/rbi#lib/rbi/type.rb:1079 sig { abstract.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#1083 + # pkg:gem/rbi#lib/rbi/type.rb:1083 sig { override.returns(::String) } def to_s; end @@ -3905,7 +3905,7 @@ class RBI::Type # Note that this method transforms types such as `T.all(String, String)` into `String`, so # it may return something other than a `All`. # - # source://rbi//lib/rbi/type.rb#929 + # pkg:gem/rbi#lib/rbi/type.rb:929 sig { params(type1: ::RBI::Type, type2: ::RBI::Type, types: ::RBI::Type).returns(::RBI::Type) } def all(type1, type2, *types); end @@ -3914,37 +3914,37 @@ class RBI::Type # Note that this method transforms types such as `T.any(String, NilClass)` into `T.nilable(String)`, so # it may return something other than a `Any`. # - # source://rbi//lib/rbi/type.rb#938 + # pkg:gem/rbi#lib/rbi/type.rb:938 sig { params(type1: ::RBI::Type, type2: ::RBI::Type, types: ::RBI::Type).returns(::RBI::Type) } def any(type1, type2, *types); end # Builds a type that represents `T.anything`. # - # source://rbi//lib/rbi/type.rb#854 + # pkg:gem/rbi#lib/rbi/type.rb:854 sig { returns(::RBI::Type::Anything) } def anything; end # Builds a type that represents `T.attached_class`. # - # source://rbi//lib/rbi/type.rb#860 + # pkg:gem/rbi#lib/rbi/type.rb:860 sig { returns(::RBI::Type::AttachedClass) } def attached_class; end # Builds a type that represents `T::Boolean`. # - # source://rbi//lib/rbi/type.rb#866 + # pkg:gem/rbi#lib/rbi/type.rb:866 sig { returns(::RBI::Type::Boolean) } def boolean; end # Builds a type that represents the singleton class of another type like `T.class_of(Foo)`. # - # source://rbi//lib/rbi/type.rb#910 + # pkg:gem/rbi#lib/rbi/type.rb:910 sig { params(type: ::RBI::Type::Simple, type_parameter: T.nilable(::RBI::Type)).returns(::RBI::Type::ClassOf) } def class_of(type, type_parameter = T.unsafe(nil)); end # Builds a type that represents a generic type like `T::Array[String]` or `T::Hash[Symbol, Integer]`. # - # source://rbi//lib/rbi/type.rb#946 + # pkg:gem/rbi#lib/rbi/type.rb:946 sig { params(name: ::String, params: T.any(::RBI::Type, T::Array[::RBI::Type])).returns(::RBI::Type::Generic) } def generic(name, *params); end @@ -3953,41 +3953,41 @@ class RBI::Type # Note that this method transforms types such as `T.nilable(T.untyped)` into `T.untyped`, so # it may return something other than a `RBI::Type::Nilable`. # - # source://rbi//lib/rbi/type.rb#919 + # pkg:gem/rbi#lib/rbi/type.rb:919 sig { params(type: ::RBI::Type).returns(::RBI::Type) } def nilable(type); end # Builds a type that represents `T.noreturn`. # - # source://rbi//lib/rbi/type.rb#872 + # pkg:gem/rbi#lib/rbi/type.rb:872 sig { returns(::RBI::Type::NoReturn) } def noreturn; end - # source://rbi//lib/rbi/type_parser.rb#26 + # pkg:gem/rbi#lib/rbi/type_parser.rb:26 sig { params(node: ::Prism::Node).returns(::RBI::Type) } def parse_node(node); end # @raise [Error] # - # source://rbi//lib/rbi/type_parser.rb#10 + # pkg:gem/rbi#lib/rbi/type_parser.rb:10 sig { params(string: ::String).returns(::RBI::Type) } def parse_string(string); end # Builds a type that represents a proc type like `T.proc.void`. # - # source://rbi//lib/rbi/type.rb#980 + # pkg:gem/rbi#lib/rbi/type.rb:980 sig { returns(::RBI::Type::Proc) } def proc; end # Builds a type that represents `T.self_type`. # - # source://rbi//lib/rbi/type.rb#878 + # pkg:gem/rbi#lib/rbi/type.rb:878 sig { returns(::RBI::Type::SelfType) } def self_type; end # Builds a type that represents a shape type like `{name: String, age: Integer}`. # - # source://rbi//lib/rbi/type.rb#972 + # pkg:gem/rbi#lib/rbi/type.rb:972 sig { params(types: T::Hash[T.any(::String, ::Symbol), ::RBI::Type]).returns(::RBI::Type::Shape) } def shape(types = T.unsafe(nil)); end @@ -3997,139 +3997,139 @@ class RBI::Type # # @raise [NameError] # - # source://rbi//lib/rbi/type.rb#843 + # pkg:gem/rbi#lib/rbi/type.rb:843 sig { params(name: ::String).returns(::RBI::Type::Simple) } def simple(name); end # Builds a type that represents the class of another type like `T::Class[Foo]`. # - # source://rbi//lib/rbi/type.rb#898 + # pkg:gem/rbi#lib/rbi/type.rb:898 sig { params(type: ::RBI::Type).returns(::RBI::Type::Class) } def t_class(type); end # Builds a type that represents the module of another type like `T::Module[Foo]`. # - # source://rbi//lib/rbi/type.rb#904 + # pkg:gem/rbi#lib/rbi/type.rb:904 sig { params(type: ::RBI::Type).returns(::RBI::Type::Module) } def t_module(type); end # Builds a type that represents a tuple type like `[String, Integer]`. # - # source://rbi//lib/rbi/type.rb#966 + # pkg:gem/rbi#lib/rbi/type.rb:966 sig { params(types: T.any(::RBI::Type, T::Array[::RBI::Type])).returns(::RBI::Type::Tuple) } def tuple(*types); end # Builds a type that represents a type alias like `MyTypeAlias`. # - # source://rbi//lib/rbi/type.rb#958 + # pkg:gem/rbi#lib/rbi/type.rb:958 sig { params(name: ::String, aliased_type: ::RBI::Type).returns(::RBI::Type::TypeAlias) } def type_alias(name, aliased_type); end # Builds a type that represents a type parameter like `T.type_parameter(:U)`. # - # source://rbi//lib/rbi/type.rb#952 + # pkg:gem/rbi#lib/rbi/type.rb:952 sig { params(name: ::Symbol).returns(::RBI::Type::TypeParameter) } def type_parameter(name); end # Builds a type that represents `T.untyped`. # - # source://rbi//lib/rbi/type.rb#884 + # pkg:gem/rbi#lib/rbi/type.rb:884 sig { returns(::RBI::Type::Untyped) } def untyped; end # Builds a type that represents `void`. # - # source://rbi//lib/rbi/type.rb#890 + # pkg:gem/rbi#lib/rbi/type.rb:890 sig { returns(::RBI::Type::Void) } def void; end private - # source://rbi//lib/rbi/type_parser.rb#322 + # pkg:gem/rbi#lib/rbi/type_parser.rb:322 sig { params(node: ::Prism::CallNode).returns(T::Array[::Prism::Node]) } def call_chain(node); end - # source://rbi//lib/rbi/type_parser.rb#309 + # pkg:gem/rbi#lib/rbi/type_parser.rb:309 sig { params(node: ::Prism::CallNode, count: ::Integer).returns(T::Array[::Prism::Node]) } def check_arguments_at_least!(node, count); end - # source://rbi//lib/rbi/type_parser.rb#294 + # pkg:gem/rbi#lib/rbi/type_parser.rb:294 sig { params(node: ::Prism::CallNode, count: ::Integer).returns(T::Array[::Prism::Node]) } def check_arguments_exactly!(node, count); end # @raise [Error] # - # source://rbi//lib/rbi/type_parser.rb#96 + # pkg:gem/rbi#lib/rbi/type_parser.rb:96 sig { params(node: ::Prism::CallNode).returns(::RBI::Type) } def parse_call(node); end - # source://rbi//lib/rbi/type_parser.rb#56 + # pkg:gem/rbi#lib/rbi/type_parser.rb:56 sig { params(node: T.any(::Prism::ConstantPathNode, ::Prism::ConstantReadNode)).returns(::RBI::Type) } def parse_constant(node); end - # source://rbi//lib/rbi/type_parser.rb#73 + # pkg:gem/rbi#lib/rbi/type_parser.rb:73 sig { params(node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)).returns(::RBI::Type) } def parse_constant_assignment(node); end # @raise [Error] # - # source://rbi//lib/rbi/type_parser.rb#244 + # pkg:gem/rbi#lib/rbi/type_parser.rb:244 sig { params(node: ::Prism::CallNode).returns(::RBI::Type) } def parse_proc(node); end - # source://rbi//lib/rbi/type_parser.rb#223 + # pkg:gem/rbi#lib/rbi/type_parser.rb:223 sig { params(node: T.any(::Prism::HashNode, ::Prism::KeywordHashNode)).returns(::RBI::Type) } def parse_shape(node); end - # source://rbi//lib/rbi/type_parser.rb#218 + # pkg:gem/rbi#lib/rbi/type_parser.rb:218 sig { params(node: ::Prism::ArrayNode).returns(::RBI::Type) } def parse_tuple(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#335 + # pkg:gem/rbi#lib/rbi/type_parser.rb:335 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#354 + # pkg:gem/rbi#lib/rbi/type_parser.rb:354 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_boolean?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#361 + # pkg:gem/rbi#lib/rbi/type_parser.rb:361 sig { params(node: ::Prism::ConstantPathNode).returns(T::Boolean) } def t_class?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#371 + # pkg:gem/rbi#lib/rbi/type_parser.rb:371 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_class_of?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#366 + # pkg:gem/rbi#lib/rbi/type_parser.rb:366 sig { params(node: ::Prism::ConstantPathNode).returns(T::Boolean) } def t_module?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#378 + # pkg:gem/rbi#lib/rbi/type_parser.rb:378 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def t_proc?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type_parser.rb#347 + # pkg:gem/rbi#lib/rbi/type_parser.rb:347 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_type_alias?(node); end # @return [Boolean] # - # source://rbi//lib/rbi/type.rb#987 + # pkg:gem/rbi#lib/rbi/type.rb:987 sig { params(name: ::String).returns(T::Boolean) } def valid_identifier?(name); end end @@ -4137,169 +4137,169 @@ end # A type that is intersection of multiple types like `T.all(String, Integer)`. # -# source://rbi//lib/rbi/type.rb#420 +# pkg:gem/rbi#lib/rbi/type.rb:420 class RBI::Type::All < ::RBI::Type::Composite - # source://rbi//lib/rbi/type.rb#429 + # pkg:gem/rbi#lib/rbi/type.rb:429 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#449 + # pkg:gem/rbi#lib/rbi/type.rb:449 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#423 + # pkg:gem/rbi#lib/rbi/type.rb:423 sig { override.returns(::String) } def to_rbi; end end # A type that is union of multiple types like `T.any(String, Integer)`. # -# source://rbi//lib/rbi/type.rb#462 +# pkg:gem/rbi#lib/rbi/type.rb:462 class RBI::Type::Any < ::RBI::Type::Composite # @return [Boolean] # - # source://rbi//lib/rbi/type.rb#470 + # pkg:gem/rbi#lib/rbi/type.rb:470 sig { returns(T::Boolean) } def nilable?; end - # source://rbi//lib/rbi/type.rb#476 + # pkg:gem/rbi#lib/rbi/type.rb:476 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#496 + # pkg:gem/rbi#lib/rbi/type.rb:496 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#465 + # pkg:gem/rbi#lib/rbi/type.rb:465 sig { override.returns(::String) } def to_rbi; end end # `T.anything`. # -# source://rbi//lib/rbi/type.rb#51 +# pkg:gem/rbi#lib/rbi/type.rb:51 class RBI::Type::Anything < ::RBI::Type - # source://rbi//lib/rbi/type.rb#54 + # pkg:gem/rbi#lib/rbi/type.rb:54 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#66 + # pkg:gem/rbi#lib/rbi/type.rb:66 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#72 + # pkg:gem/rbi#lib/rbi/type.rb:72 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#60 + # pkg:gem/rbi#lib/rbi/type.rb:60 sig { override.returns(::String) } def to_rbi; end end # `T.attached_class`. # -# source://rbi//lib/rbi/type.rb#78 +# pkg:gem/rbi#lib/rbi/type.rb:78 class RBI::Type::AttachedClass < ::RBI::Type - # source://rbi//lib/rbi/type.rb#81 + # pkg:gem/rbi#lib/rbi/type.rb:81 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#93 + # pkg:gem/rbi#lib/rbi/type.rb:93 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#99 + # pkg:gem/rbi#lib/rbi/type.rb:99 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#87 + # pkg:gem/rbi#lib/rbi/type.rb:87 sig { override.returns(::String) } def to_rbi; end end # `T::Boolean`. # -# source://rbi//lib/rbi/type.rb#105 +# pkg:gem/rbi#lib/rbi/type.rb:105 class RBI::Type::Boolean < ::RBI::Type - # source://rbi//lib/rbi/type.rb#108 + # pkg:gem/rbi#lib/rbi/type.rb:108 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#120 + # pkg:gem/rbi#lib/rbi/type.rb:120 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#126 + # pkg:gem/rbi#lib/rbi/type.rb:126 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#114 + # pkg:gem/rbi#lib/rbi/type.rb:114 sig { override.returns(::String) } def to_rbi; end end # The class of another type like `T::Class[Foo]`. # -# source://rbi//lib/rbi/type.rb#242 +# pkg:gem/rbi#lib/rbi/type.rb:242 class RBI::Type::Class < ::RBI::Type # @return [Class] a new instance of Class # - # source://rbi//lib/rbi/type.rb#247 + # pkg:gem/rbi#lib/rbi/type.rb:247 sig { params(type: ::RBI::Type).void } def initialize(type); end - # source://rbi//lib/rbi/type.rb#254 + # pkg:gem/rbi#lib/rbi/type.rb:254 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#266 + # pkg:gem/rbi#lib/rbi/type.rb:266 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#272 + # pkg:gem/rbi#lib/rbi/type.rb:272 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#260 + # pkg:gem/rbi#lib/rbi/type.rb:260 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#244 + # pkg:gem/rbi#lib/rbi/type.rb:244 sig { returns(::RBI::Type) } def type; end end # The singleton class of another type like `T.class_of(Foo)`. # -# source://rbi//lib/rbi/type.rb#314 +# pkg:gem/rbi#lib/rbi/type.rb:314 class RBI::Type::ClassOf < ::RBI::Type # @return [ClassOf] a new instance of ClassOf # - # source://rbi//lib/rbi/type.rb#322 + # pkg:gem/rbi#lib/rbi/type.rb:322 sig { params(type: ::RBI::Type::Simple, type_parameter: T.nilable(::RBI::Type)).void } def initialize(type, type_parameter = T.unsafe(nil)); end - # source://rbi//lib/rbi/type.rb#330 + # pkg:gem/rbi#lib/rbi/type.rb:330 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#346 + # pkg:gem/rbi#lib/rbi/type.rb:346 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#352 + # pkg:gem/rbi#lib/rbi/type.rb:352 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#336 + # pkg:gem/rbi#lib/rbi/type.rb:336 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#316 + # pkg:gem/rbi#lib/rbi/type.rb:316 sig { returns(::RBI::Type::Simple) } def type; end - # source://rbi//lib/rbi/type.rb#319 + # pkg:gem/rbi#lib/rbi/type.rb:319 sig { returns(T.nilable(::RBI::Type)) } def type_parameter; end end @@ -4308,249 +4308,249 @@ end # # @abstract # -# source://rbi//lib/rbi/type.rb#402 +# pkg:gem/rbi#lib/rbi/type.rb:402 class RBI::Type::Composite < ::RBI::Type abstract! # @return [Composite] a new instance of Composite # - # source://rbi//lib/rbi/type.rb#407 + # pkg:gem/rbi#lib/rbi/type.rb:407 sig { params(types: T::Array[::RBI::Type]).void } def initialize(types); end - # source://rbi//lib/rbi/type.rb#414 + # pkg:gem/rbi#lib/rbi/type.rb:414 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#404 + # pkg:gem/rbi#lib/rbi/type.rb:404 sig { returns(T::Array[::RBI::Type]) } def types; end end -# source://rbi//lib/rbi/type_parser.rb#6 +# pkg:gem/rbi#lib/rbi/type_parser.rb:6 class RBI::Type::Error < ::RBI::Error; end # A generic type like `T::Array[String]` or `T::Hash[Symbol, Integer]`. # -# source://rbi//lib/rbi/type.rb#547 +# pkg:gem/rbi#lib/rbi/type.rb:547 class RBI::Type::Generic < ::RBI::Type # @return [Generic] a new instance of Generic # - # source://rbi//lib/rbi/type.rb#555 + # pkg:gem/rbi#lib/rbi/type.rb:555 sig { params(name: ::String, params: ::RBI::Type).void } def initialize(name, *params); end - # source://rbi//lib/rbi/type.rb#563 + # pkg:gem/rbi#lib/rbi/type.rb:563 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#549 + # pkg:gem/rbi#lib/rbi/type.rb:549 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/type.rb#575 + # pkg:gem/rbi#lib/rbi/type.rb:575 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#552 + # pkg:gem/rbi#lib/rbi/type.rb:552 sig { returns(T::Array[::RBI::Type]) } def params; end - # source://rbi//lib/rbi/type.rb#581 + # pkg:gem/rbi#lib/rbi/type.rb:581 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#569 + # pkg:gem/rbi#lib/rbi/type.rb:569 sig { override.returns(::String) } def to_rbi; end end # The module of another type like `T::Module[Foo]`. # -# source://rbi//lib/rbi/type.rb#278 +# pkg:gem/rbi#lib/rbi/type.rb:278 class RBI::Type::Module < ::RBI::Type # @return [Module] a new instance of Module # - # source://rbi//lib/rbi/type.rb#283 + # pkg:gem/rbi#lib/rbi/type.rb:283 sig { params(type: ::RBI::Type).void } def initialize(type); end - # source://rbi//lib/rbi/type.rb#290 + # pkg:gem/rbi#lib/rbi/type.rb:290 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#302 + # pkg:gem/rbi#lib/rbi/type.rb:302 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#308 + # pkg:gem/rbi#lib/rbi/type.rb:308 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#296 + # pkg:gem/rbi#lib/rbi/type.rb:296 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#280 + # pkg:gem/rbi#lib/rbi/type.rb:280 sig { returns(::RBI::Type) } def type; end end # A type that can be `nil` like `T.nilable(String)`. # -# source://rbi//lib/rbi/type.rb#358 +# pkg:gem/rbi#lib/rbi/type.rb:358 class RBI::Type::Nilable < ::RBI::Type # @return [Nilable] a new instance of Nilable # - # source://rbi//lib/rbi/type.rb#363 + # pkg:gem/rbi#lib/rbi/type.rb:363 sig { params(type: ::RBI::Type).void } def initialize(type); end - # source://rbi//lib/rbi/type.rb#370 + # pkg:gem/rbi#lib/rbi/type.rb:370 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#382 + # pkg:gem/rbi#lib/rbi/type.rb:382 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#388 + # pkg:gem/rbi#lib/rbi/type.rb:388 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#376 + # pkg:gem/rbi#lib/rbi/type.rb:376 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#360 + # pkg:gem/rbi#lib/rbi/type.rb:360 sig { returns(::RBI::Type) } def type; end end # `T.noreturn`. # -# source://rbi//lib/rbi/type.rb#132 +# pkg:gem/rbi#lib/rbi/type.rb:132 class RBI::Type::NoReturn < ::RBI::Type - # source://rbi//lib/rbi/type.rb#135 + # pkg:gem/rbi#lib/rbi/type.rb:135 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#147 + # pkg:gem/rbi#lib/rbi/type.rb:147 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#153 + # pkg:gem/rbi#lib/rbi/type.rb:153 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#141 + # pkg:gem/rbi#lib/rbi/type.rb:141 sig { override.returns(::String) } def to_rbi; end end # A proc type like `T.proc.void`. # -# source://rbi//lib/rbi/type.rb#743 +# pkg:gem/rbi#lib/rbi/type.rb:743 class RBI::Type::Proc < ::RBI::Type # @return [Proc] a new instance of Proc # - # source://rbi//lib/rbi/type.rb#754 + # pkg:gem/rbi#lib/rbi/type.rb:754 sig { void } def initialize; end - # source://rbi//lib/rbi/type.rb#763 + # pkg:gem/rbi#lib/rbi/type.rb:763 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#791 + # pkg:gem/rbi#lib/rbi/type.rb:791 sig { params(type: T.untyped).returns(T.self_type) } def bind(type); end - # source://rbi//lib/rbi/type.rb#823 + # pkg:gem/rbi#lib/rbi/type.rb:823 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#773 + # pkg:gem/rbi#lib/rbi/type.rb:773 sig { params(params: ::RBI::Type).returns(T.self_type) } def params(**params); end - # source://rbi//lib/rbi/type.rb#751 + # pkg:gem/rbi#lib/rbi/type.rb:751 sig { returns(T.nilable(::RBI::Type)) } def proc_bind; end - # source://rbi//lib/rbi/type.rb#745 + # pkg:gem/rbi#lib/rbi/type.rb:745 sig { returns(T::Hash[::Symbol, ::RBI::Type]) } def proc_params; end - # source://rbi//lib/rbi/type.rb#748 + # pkg:gem/rbi#lib/rbi/type.rb:748 sig { returns(::RBI::Type) } def proc_returns; end - # source://rbi//lib/rbi/type.rb#779 + # pkg:gem/rbi#lib/rbi/type.rb:779 sig { params(type: T.untyped).returns(T.self_type) } def returns(type); end - # source://rbi//lib/rbi/type.rb#829 + # pkg:gem/rbi#lib/rbi/type.rb:829 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#798 + # pkg:gem/rbi#lib/rbi/type.rb:798 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#785 + # pkg:gem/rbi#lib/rbi/type.rb:785 sig { returns(T.self_type) } def void; end end # `T.self_type`. # -# source://rbi//lib/rbi/type.rb#159 +# pkg:gem/rbi#lib/rbi/type.rb:159 class RBI::Type::SelfType < ::RBI::Type - # source://rbi//lib/rbi/type.rb#162 + # pkg:gem/rbi#lib/rbi/type.rb:162 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#174 + # pkg:gem/rbi#lib/rbi/type.rb:174 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#180 + # pkg:gem/rbi#lib/rbi/type.rb:180 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#168 + # pkg:gem/rbi#lib/rbi/type.rb:168 sig { override.returns(::String) } def to_rbi; end end # A shape type like `{name: String, age: Integer}`. # -# source://rbi//lib/rbi/type.rb#701 +# pkg:gem/rbi#lib/rbi/type.rb:701 class RBI::Type::Shape < ::RBI::Type # @return [Shape] a new instance of Shape # - # source://rbi//lib/rbi/type.rb#706 + # pkg:gem/rbi#lib/rbi/type.rb:706 sig { params(types: T::Hash[T.any(::String, ::Symbol), ::RBI::Type]).void } def initialize(types); end - # source://rbi//lib/rbi/type.rb#713 + # pkg:gem/rbi#lib/rbi/type.rb:713 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#729 + # pkg:gem/rbi#lib/rbi/type.rb:729 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#735 + # pkg:gem/rbi#lib/rbi/type.rb:735 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#719 + # pkg:gem/rbi#lib/rbi/type.rb:719 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#703 + # pkg:gem/rbi#lib/rbi/type.rb:703 sig { returns(T::Hash[T.any(::String, ::Symbol), ::RBI::Type]) } def types; end end @@ -4559,269 +4559,269 @@ end # # It can also be a qualified name like `::Foo` or `Foo::Bar`. # -# source://rbi//lib/rbi/type.rb#13 +# pkg:gem/rbi#lib/rbi/type.rb:13 class RBI::Type::Simple < ::RBI::Type # @return [Simple] a new instance of Simple # - # source://rbi//lib/rbi/type.rb#18 + # pkg:gem/rbi#lib/rbi/type.rb:18 sig { params(name: ::String).void } def initialize(name); end - # source://rbi//lib/rbi/type.rb#25 + # pkg:gem/rbi#lib/rbi/type.rb:25 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#15 + # pkg:gem/rbi#lib/rbi/type.rb:15 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/type.rb#37 + # pkg:gem/rbi#lib/rbi/type.rb:37 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#43 + # pkg:gem/rbi#lib/rbi/type.rb:43 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#31 + # pkg:gem/rbi#lib/rbi/type.rb:31 sig { override.returns(::String) } def to_rbi; end end # A tuple type like `[String, Integer]`. # -# source://rbi//lib/rbi/type.rb#665 +# pkg:gem/rbi#lib/rbi/type.rb:665 class RBI::Type::Tuple < ::RBI::Type # @return [Tuple] a new instance of Tuple # - # source://rbi//lib/rbi/type.rb#670 + # pkg:gem/rbi#lib/rbi/type.rb:670 sig { params(types: T::Array[::RBI::Type]).void } def initialize(types); end - # source://rbi//lib/rbi/type.rb#677 + # pkg:gem/rbi#lib/rbi/type.rb:677 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#689 + # pkg:gem/rbi#lib/rbi/type.rb:689 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#695 + # pkg:gem/rbi#lib/rbi/type.rb:695 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#683 + # pkg:gem/rbi#lib/rbi/type.rb:683 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#667 + # pkg:gem/rbi#lib/rbi/type.rb:667 sig { returns(T::Array[::RBI::Type]) } def types; end end # A type alias that references another type by name like `MyTypeAlias`. # -# source://rbi//lib/rbi/type.rb#623 +# pkg:gem/rbi#lib/rbi/type.rb:623 class RBI::Type::TypeAlias < ::RBI::Type # @return [TypeAlias] a new instance of TypeAlias # - # source://rbi//lib/rbi/type.rb#631 + # pkg:gem/rbi#lib/rbi/type.rb:631 sig { params(name: ::String, aliased_type: ::RBI::Type).void } def initialize(name, aliased_type); end - # source://rbi//lib/rbi/type.rb#639 + # pkg:gem/rbi#lib/rbi/type.rb:639 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#628 + # pkg:gem/rbi#lib/rbi/type.rb:628 sig { returns(::RBI::Type) } def aliased_type; end - # source://rbi//lib/rbi/type.rb#625 + # pkg:gem/rbi#lib/rbi/type.rb:625 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/type.rb#651 + # pkg:gem/rbi#lib/rbi/type.rb:651 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#657 + # pkg:gem/rbi#lib/rbi/type.rb:657 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#645 + # pkg:gem/rbi#lib/rbi/type.rb:645 sig { override.returns(::String) } def to_rbi; end end # A type parameter like `T.type_parameter(:U)`. # -# source://rbi//lib/rbi/type.rb#587 +# pkg:gem/rbi#lib/rbi/type.rb:587 class RBI::Type::TypeParameter < ::RBI::Type # @return [TypeParameter] a new instance of TypeParameter # - # source://rbi//lib/rbi/type.rb#592 + # pkg:gem/rbi#lib/rbi/type.rb:592 sig { params(name: ::Symbol).void } def initialize(name); end - # source://rbi//lib/rbi/type.rb#599 + # pkg:gem/rbi#lib/rbi/type.rb:599 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#589 + # pkg:gem/rbi#lib/rbi/type.rb:589 sig { returns(::Symbol) } def name; end - # source://rbi//lib/rbi/type.rb#611 + # pkg:gem/rbi#lib/rbi/type.rb:611 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#617 + # pkg:gem/rbi#lib/rbi/type.rb:617 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#605 + # pkg:gem/rbi#lib/rbi/type.rb:605 sig { override.returns(::String) } def to_rbi; end end # `T.untyped`. # -# source://rbi//lib/rbi/type.rb#186 +# pkg:gem/rbi#lib/rbi/type.rb:186 class RBI::Type::Untyped < ::RBI::Type - # source://rbi//lib/rbi/type.rb#189 + # pkg:gem/rbi#lib/rbi/type.rb:189 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#201 + # pkg:gem/rbi#lib/rbi/type.rb:201 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#207 + # pkg:gem/rbi#lib/rbi/type.rb:207 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#195 + # pkg:gem/rbi#lib/rbi/type.rb:195 sig { override.returns(::String) } def to_rbi; end end -# source://rbi//lib/rbi/type_visitor.rb#6 +# pkg:gem/rbi#lib/rbi/type_visitor.rb:6 class RBI::Type::Visitor - # source://rbi//lib/rbi/type_visitor.rb#10 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:10 sig { params(node: ::RBI::Type).void } def visit(node); end private - # source://rbi//lib/rbi/type_visitor.rb#58 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:58 sig { params(type: ::RBI::Type::All).void } def visit_all(type); end - # source://rbi//lib/rbi/type_visitor.rb#61 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:61 sig { params(type: ::RBI::Type::Any).void } def visit_any(type); end - # source://rbi//lib/rbi/type_visitor.rb#64 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:64 sig { params(type: ::RBI::Type::Anything).void } def visit_anything(type); end - # source://rbi//lib/rbi/type_visitor.rb#67 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:67 sig { params(type: ::RBI::Type::AttachedClass).void } def visit_attached_class(type); end - # source://rbi//lib/rbi/type_visitor.rb#70 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:70 sig { params(type: ::RBI::Type::Boolean).void } def visit_boolean(type); end - # source://rbi//lib/rbi/type_visitor.rb#73 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:73 sig { params(type: ::RBI::Type::Class).void } def visit_class(type); end - # source://rbi//lib/rbi/type_visitor.rb#76 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:76 sig { params(type: ::RBI::Type::ClassOf).void } def visit_class_of(type); end - # source://rbi//lib/rbi/type_visitor.rb#79 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:79 sig { params(type: ::RBI::Type::Generic).void } def visit_generic(type); end - # source://rbi//lib/rbi/type_visitor.rb#82 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:82 sig { params(type: ::RBI::Type::Nilable).void } def visit_nilable(type); end - # source://rbi//lib/rbi/type_visitor.rb#88 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:88 sig { params(type: ::RBI::Type::NoReturn).void } def visit_no_return(type); end - # source://rbi//lib/rbi/type_visitor.rb#91 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:91 sig { params(type: ::RBI::Type::Proc).void } def visit_proc(type); end - # source://rbi//lib/rbi/type_visitor.rb#94 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:94 sig { params(type: ::RBI::Type::SelfType).void } def visit_self_type(type); end - # source://rbi//lib/rbi/type_visitor.rb#100 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:100 sig { params(type: ::RBI::Type::Shape).void } def visit_shape(type); end - # source://rbi//lib/rbi/type_visitor.rb#85 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:85 sig { params(type: ::RBI::Type::Simple).void } def visit_simple(type); end - # source://rbi//lib/rbi/type_visitor.rb#103 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:103 sig { params(type: ::RBI::Type::Tuple).void } def visit_tuple(type); end - # source://rbi//lib/rbi/type_visitor.rb#112 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:112 sig { params(type: ::RBI::Type::TypeAlias).void } def visit_type_alias(type); end - # source://rbi//lib/rbi/type_visitor.rb#106 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:106 sig { params(type: ::RBI::Type::TypeParameter).void } def visit_type_parameter(type); end - # source://rbi//lib/rbi/type_visitor.rb#109 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:109 sig { params(type: ::RBI::Type::Untyped).void } def visit_untyped(type); end - # source://rbi//lib/rbi/type_visitor.rb#97 + # pkg:gem/rbi#lib/rbi/type_visitor.rb:97 sig { params(type: ::RBI::Type::Void).void } def visit_void(type); end end -# source://rbi//lib/rbi/type_visitor.rb#7 +# pkg:gem/rbi#lib/rbi/type_visitor.rb:7 class RBI::Type::Visitor::Error < ::RBI::Error; end # `void`. # -# source://rbi//lib/rbi/type.rb#213 +# pkg:gem/rbi#lib/rbi/type.rb:213 class RBI::Type::Void < ::RBI::Type - # source://rbi//lib/rbi/type.rb#216 + # pkg:gem/rbi#lib/rbi/type.rb:216 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#228 + # pkg:gem/rbi#lib/rbi/type.rb:228 sig { override.returns(::RBI::Type) } def normalize; end - # source://rbi//lib/rbi/type.rb#234 + # pkg:gem/rbi#lib/rbi/type.rb:234 sig { override.returns(::RBI::Type) } def simplify; end - # source://rbi//lib/rbi/type.rb#222 + # pkg:gem/rbi#lib/rbi/type.rb:222 sig { override.returns(::String) } def to_rbi; end end -# source://rbi//lib/rbi/model.rb#1159 +# pkg:gem/rbi#lib/rbi/model.rb:1159 class RBI::TypeMember < ::RBI::NodeWithComments include ::RBI::Indexable # @return [TypeMember] a new instance of TypeMember # - # source://rbi//lib/rbi/model.rb#1164 + # pkg:gem/rbi#lib/rbi/model.rb:1164 sig do params( name: ::String, @@ -4833,406 +4833,406 @@ class RBI::TypeMember < ::RBI::NodeWithComments end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1172 + # pkg:gem/rbi#lib/rbi/model.rb:1172 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#174 + # pkg:gem/rbi#lib/rbi/index.rb:174 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1161 + # pkg:gem/rbi#lib/rbi/model.rb:1161 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1180 + # pkg:gem/rbi#lib/rbi/model.rb:1180 sig { override.returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#1161 + # pkg:gem/rbi#lib/rbi/model.rb:1161 def value; end end -# source://rbi//lib/rbi/rbs_printer.rb#984 +# pkg:gem/rbi#lib/rbi/rbs_printer.rb:984 class RBI::TypePrinter # @return [TypePrinter] a new instance of TypePrinter # - # source://rbi//lib/rbi/rbs_printer.rb#989 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:989 sig { params(max_line_length: T.nilable(::Integer)).void } def initialize(max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#986 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:986 sig { returns(::String) } def string; end - # source://rbi//lib/rbi/rbs_printer.rb#995 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:995 sig { params(node: ::RBI::Type).void } def visit(node); end - # source://rbi//lib/rbi/rbs_printer.rb#1112 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1112 sig { params(type: ::RBI::Type::All).void } def visit_all(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1122 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1122 sig { params(type: ::RBI::Type::Any).void } def visit_any(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1062 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1062 sig { params(type: ::RBI::Type::Anything).void } def visit_anything(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1087 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1087 sig { params(type: ::RBI::Type::AttachedClass).void } def visit_attached_class(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1046 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1046 sig { params(type: ::RBI::Type::Boolean).void } def visit_boolean(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1189 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1189 sig { params(type: ::RBI::Type::Class).void } def visit_class(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1105 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1105 sig { params(type: ::RBI::Type::ClassOf).void } def visit_class_of(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1051 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1051 sig { params(type: ::RBI::Type::Generic).void } def visit_generic(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1196 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1196 sig { params(type: ::RBI::Type::Module).void } def visit_module(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1092 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1092 sig { params(type: ::RBI::Type::Nilable).void } def visit_nilable(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1072 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1072 sig { params(type: ::RBI::Type::NoReturn).void } def visit_no_return(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1162 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1162 sig { params(type: ::RBI::Type::Proc).void } def visit_proc(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1082 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1082 sig { params(type: ::RBI::Type::SelfType).void } def visit_self_type(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1142 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1142 sig { params(type: ::RBI::Type::Shape).void } def visit_shape(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1041 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1041 sig { params(type: ::RBI::Type::Simple).void } def visit_simple(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1132 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1132 sig { params(type: ::RBI::Type::Tuple).void } def visit_tuple(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1184 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1184 sig { params(type: ::RBI::Type::TypeParameter).void } def visit_type_parameter(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1077 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1077 sig { params(type: ::RBI::Type::Untyped).void } def visit_untyped(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1067 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1067 sig { params(type: ::RBI::Type::Void).void } def visit_void(type); end private - # source://rbi//lib/rbi/rbs_printer.rb#1205 + # pkg:gem/rbi#lib/rbi/rbs_printer.rb:1205 sig { params(type_name: ::String).returns(::String) } def translate_t_type(type_name); end end -# source://rbi//lib/rbi/rewriters/attr_to_methods.rb#5 +# pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:5 class RBI::UnexpectedMultipleSigsError < ::RBI::Error # @return [UnexpectedMultipleSigsError] a new instance of UnexpectedMultipleSigsError # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#10 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:10 sig { params(node: ::RBI::Node).void } def initialize(node); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#7 + # pkg:gem/rbi#lib/rbi/rewriters/attr_to_methods.rb:7 sig { returns(::RBI::Node) } def node; end end -# source://rbi//lib/rbi/parser.rb#18 +# pkg:gem/rbi#lib/rbi/parser.rb:18 class RBI::UnexpectedParserError < ::RBI::Error # @return [UnexpectedParserError] a new instance of UnexpectedParserError # - # source://rbi//lib/rbi/parser.rb#23 + # pkg:gem/rbi#lib/rbi/parser.rb:23 sig { params(parent_exception: ::Exception, last_location: ::RBI::Loc).void } def initialize(parent_exception, last_location); end - # source://rbi//lib/rbi/parser.rb#20 + # pkg:gem/rbi#lib/rbi/parser.rb:20 sig { returns(::RBI::Loc) } def last_location; end - # source://rbi//lib/rbi/parser.rb#30 + # pkg:gem/rbi#lib/rbi/parser.rb:30 sig { params(io: T.any(::IO, ::StringIO)).void } def print_debug(io: T.unsafe(nil)); end end -# source://rbi//lib/rbi/version.rb#5 +# pkg:gem/rbi#lib/rbi/version.rb:5 RBI::VERSION = T.let(T.unsafe(nil), String) # @abstract # -# source://rbi//lib/rbi/model.rb#743 +# pkg:gem/rbi#lib/rbi/model.rb:743 class RBI::Visibility < ::RBI::NodeWithComments abstract! # @return [Visibility] a new instance of Visibility # - # source://rbi//lib/rbi/model.rb#748 + # pkg:gem/rbi#lib/rbi/model.rb:748 sig { params(visibility: ::Symbol, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(visibility, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#754 + # pkg:gem/rbi#lib/rbi/model.rb:754 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#771 + # pkg:gem/rbi#lib/rbi/model.rb:771 sig { returns(T::Boolean) } def private?; end # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#766 + # pkg:gem/rbi#lib/rbi/model.rb:766 sig { returns(T::Boolean) } def protected?; end # @return [Boolean] # - # source://rbi//lib/rbi/model.rb#761 + # pkg:gem/rbi#lib/rbi/model.rb:761 sig { returns(T::Boolean) } def public?; end - # source://rbi//lib/rbi/model.rb#745 + # pkg:gem/rbi#lib/rbi/model.rb:745 sig { returns(::Symbol) } def visibility; end end -# source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#49 +# pkg:gem/rbi#lib/rbi/rewriters/nest_non_public_members.rb:49 class RBI::VisibilityGroup < ::RBI::Tree # @return [VisibilityGroup] a new instance of VisibilityGroup # - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#54 + # pkg:gem/rbi#lib/rbi/rewriters/nest_non_public_members.rb:54 sig { params(visibility: ::RBI::Visibility).void } def initialize(visibility); end - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#51 + # pkg:gem/rbi#lib/rbi/rewriters/nest_non_public_members.rb:51 sig { returns(::RBI::Visibility) } def visibility; end end # @abstract # -# source://rbi//lib/rbi/visitor.rb#8 +# pkg:gem/rbi#lib/rbi/visitor.rb:8 class RBI::Visitor abstract! - # source://rbi//lib/rbi/visitor.rb#10 + # pkg:gem/rbi#lib/rbi/visitor.rb:10 sig { params(node: T.nilable(::RBI::Node)).void } def visit(node); end - # source://rbi//lib/rbi/visitor.rb#108 + # pkg:gem/rbi#lib/rbi/visitor.rb:108 sig { params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end - # source://rbi//lib/rbi/visitor.rb#113 + # pkg:gem/rbi#lib/rbi/visitor.rb:113 sig { params(file: ::RBI::File).void } def visit_file(file); end private - # source://rbi//lib/rbi/visitor.rb#198 + # pkg:gem/rbi#lib/rbi/visitor.rb:198 sig { params(node: ::RBI::Arg).void } def visit_arg(node); end - # source://rbi//lib/rbi/visitor.rb#147 + # pkg:gem/rbi#lib/rbi/visitor.rb:147 sig { params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end - # source://rbi//lib/rbi/visitor.rb#150 + # pkg:gem/rbi#lib/rbi/visitor.rb:150 sig { params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end - # source://rbi//lib/rbi/visitor.rb#153 + # pkg:gem/rbi#lib/rbi/visitor.rb:153 sig { params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end - # source://rbi//lib/rbi/visitor.rb#126 + # pkg:gem/rbi#lib/rbi/visitor.rb:126 sig { params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end - # source://rbi//lib/rbi/visitor.rb#177 + # pkg:gem/rbi#lib/rbi/visitor.rb:177 sig { params(node: ::RBI::BlockParam).void } def visit_block_param(node); end - # source://rbi//lib/rbi/visitor.rb#132 + # pkg:gem/rbi#lib/rbi/visitor.rb:132 sig { params(node: ::RBI::Class).void } def visit_class(node); end - # source://rbi//lib/rbi/visitor.rb#120 + # pkg:gem/rbi#lib/rbi/visitor.rb:120 sig { params(node: ::RBI::Comment).void } def visit_comment(node); end - # source://rbi//lib/rbi/visitor.rb#246 + # pkg:gem/rbi#lib/rbi/visitor.rb:246 sig { params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end - # source://rbi//lib/rbi/visitor.rb#144 + # pkg:gem/rbi#lib/rbi/visitor.rb:144 sig { params(node: ::RBI::Const).void } def visit_const(node); end - # source://rbi//lib/rbi/visitor.rb#183 + # pkg:gem/rbi#lib/rbi/visitor.rb:183 sig { params(node: ::RBI::Extend).void } def visit_extend(node); end - # source://rbi//lib/rbi/visitor.rb#240 + # pkg:gem/rbi#lib/rbi/visitor.rb:240 sig { params(node: ::RBI::Group).void } def visit_group(node); end - # source://rbi//lib/rbi/visitor.rb#228 + # pkg:gem/rbi#lib/rbi/visitor.rb:228 sig { params(node: ::RBI::Helper).void } def visit_helper(node); end - # source://rbi//lib/rbi/visitor.rb#180 + # pkg:gem/rbi#lib/rbi/visitor.rb:180 sig { params(node: ::RBI::Include).void } def visit_include(node); end - # source://rbi//lib/rbi/visitor.rb#201 + # pkg:gem/rbi#lib/rbi/visitor.rb:201 sig { params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end - # source://rbi//lib/rbi/visitor.rb#171 + # pkg:gem/rbi#lib/rbi/visitor.rb:171 sig { params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end - # source://rbi//lib/rbi/visitor.rb#168 + # pkg:gem/rbi#lib/rbi/visitor.rb:168 sig { params(node: ::RBI::KwParam).void } def visit_kw_param(node); end - # source://rbi//lib/rbi/visitor.rb#174 + # pkg:gem/rbi#lib/rbi/visitor.rb:174 sig { params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end - # source://rbi//lib/rbi/visitor.rb#156 + # pkg:gem/rbi#lib/rbi/visitor.rb:156 sig { params(node: ::RBI::Method).void } def visit_method(node); end - # source://rbi//lib/rbi/visitor.rb#234 + # pkg:gem/rbi#lib/rbi/visitor.rb:234 sig { params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end - # source://rbi//lib/rbi/visitor.rb#129 + # pkg:gem/rbi#lib/rbi/visitor.rb:129 sig { params(node: ::RBI::Module).void } def visit_module(node); end - # source://rbi//lib/rbi/visitor.rb#162 + # pkg:gem/rbi#lib/rbi/visitor.rb:162 sig { params(node: ::RBI::OptParam).void } def visit_opt_param(node); end - # source://rbi//lib/rbi/visitor.rb#192 + # pkg:gem/rbi#lib/rbi/visitor.rb:192 sig { params(node: ::RBI::Private).void } def visit_private(node); end - # source://rbi//lib/rbi/visitor.rb#189 + # pkg:gem/rbi#lib/rbi/visitor.rb:189 sig { params(node: ::RBI::Protected).void } def visit_protected(node); end - # source://rbi//lib/rbi/visitor.rb#186 + # pkg:gem/rbi#lib/rbi/visitor.rb:186 sig { params(node: ::RBI::Public).void } def visit_public(node); end - # source://rbi//lib/rbi/visitor.rb#123 + # pkg:gem/rbi#lib/rbi/visitor.rb:123 sig { params(node: ::RBI::RBSComment).void } def visit_rbs_comment(node); end - # source://rbi//lib/rbi/visitor.rb#159 + # pkg:gem/rbi#lib/rbi/visitor.rb:159 sig { params(node: ::RBI::ReqParam).void } def visit_req_param(node); end - # source://rbi//lib/rbi/visitor.rb#237 + # pkg:gem/rbi#lib/rbi/visitor.rb:237 sig { params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end - # source://rbi//lib/rbi/visitor.rb#165 + # pkg:gem/rbi#lib/rbi/visitor.rb:165 sig { params(node: ::RBI::RestParam).void } def visit_rest_param(node); end - # source://rbi//lib/rbi/visitor.rb#249 + # pkg:gem/rbi#lib/rbi/visitor.rb:249 sig { params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end - # source://rbi//lib/rbi/visitor.rb#195 + # pkg:gem/rbi#lib/rbi/visitor.rb:195 sig { params(node: ::RBI::Send).void } def visit_send(node); end - # source://rbi//lib/rbi/visitor.rb#204 + # pkg:gem/rbi#lib/rbi/visitor.rb:204 sig { params(node: ::RBI::Sig).void } def visit_sig(node); end - # source://rbi//lib/rbi/visitor.rb#207 + # pkg:gem/rbi#lib/rbi/visitor.rb:207 sig { params(node: ::RBI::SigParam).void } def visit_sig_param(node); end - # source://rbi//lib/rbi/visitor.rb#135 + # pkg:gem/rbi#lib/rbi/visitor.rb:135 sig { params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end - # source://rbi//lib/rbi/visitor.rb#138 + # pkg:gem/rbi#lib/rbi/visitor.rb:138 sig { params(node: ::RBI::Struct).void } def visit_struct(node); end - # source://rbi//lib/rbi/visitor.rb#219 + # pkg:gem/rbi#lib/rbi/visitor.rb:219 sig { params(node: ::RBI::TEnum).void } def visit_tenum(node); end - # source://rbi//lib/rbi/visitor.rb#222 + # pkg:gem/rbi#lib/rbi/visitor.rb:222 sig { params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end - # source://rbi//lib/rbi/visitor.rb#225 + # pkg:gem/rbi#lib/rbi/visitor.rb:225 sig { params(node: ::RBI::TEnumValue).void } def visit_tenum_value(node); end - # source://rbi//lib/rbi/visitor.rb#141 + # pkg:gem/rbi#lib/rbi/visitor.rb:141 sig { params(node: ::RBI::Tree).void } def visit_tree(node); end - # source://rbi//lib/rbi/visitor.rb#210 + # pkg:gem/rbi#lib/rbi/visitor.rb:210 sig { params(node: ::RBI::TStruct).void } def visit_tstruct(node); end - # source://rbi//lib/rbi/visitor.rb#213 + # pkg:gem/rbi#lib/rbi/visitor.rb:213 sig { params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end - # source://rbi//lib/rbi/visitor.rb#216 + # pkg:gem/rbi#lib/rbi/visitor.rb:216 sig { params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end - # source://rbi//lib/rbi/visitor.rb#231 + # pkg:gem/rbi#lib/rbi/visitor.rb:231 sig { params(node: ::RBI::TypeMember).void } def visit_type_member(node); end - # source://rbi//lib/rbi/visitor.rb#243 + # pkg:gem/rbi#lib/rbi/visitor.rb:243 sig { params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end end -# source://rbi//lib/rbi/visitor.rb#5 +# pkg:gem/rbi#lib/rbi/visitor.rb:5 class RBI::VisitorError < ::RBI::Error; end diff --git a/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi b/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi index c36870cf1..2c1c07a39 100644 --- a/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi +++ b/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi @@ -5,1614 +5,1614 @@ # Please instead update this file by running `bin/tapioca gem rbs`. -# source://rbs//lib/rbs/version.rb#3 +# pkg:gem/rbs#lib/rbs/version.rb:3 module RBS class << self - # source://rbs//lib/rbs.rb#81 + # pkg:gem/rbs#lib/rbs.rb:81 def logger; end # Returns the value of attribute logger_level. # - # source://rbs//lib/rbs.rb#78 + # pkg:gem/rbs#lib/rbs.rb:78 def logger_level; end - # source://rbs//lib/rbs.rb#90 + # pkg:gem/rbs#lib/rbs.rb:90 def logger_level=(level); end # Returns the value of attribute logger_output. # - # source://rbs//lib/rbs.rb#79 + # pkg:gem/rbs#lib/rbs.rb:79 def logger_output; end - # source://rbs//lib/rbs.rb#85 + # pkg:gem/rbs#lib/rbs.rb:85 def logger_output=(val); end - # source://rbs//lib/rbs.rb#95 + # pkg:gem/rbs#lib/rbs.rb:95 def print_warning; end end end -# source://rbs//lib/rbs/ast/type_param.rb#4 +# pkg:gem/rbs#lib/rbs/ast/type_param.rb:4 module RBS::AST; end -# source://rbs//lib/rbs/ast/annotation.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:9 def initialize(string:, location:); end - # source://rbs//lib/rbs/ast/annotation.rb#14 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:14 def ==(other); end - # source://rbs//lib/rbs/ast/annotation.rb#18 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:18 def eql?(other); end - # source://rbs//lib/rbs/ast/annotation.rb#20 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:20 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/annotation.rb#7 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:7 def location; end # Returns the value of attribute string. # - # source://rbs//lib/rbs/ast/annotation.rb#6 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:6 def string; end - # source://rbs//lib/rbs/ast/annotation.rb#24 + # pkg:gem/rbs#lib/rbs/ast/annotation.rb:24 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/comment.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:9 def initialize(string:, location:); end - # source://rbs//lib/rbs/ast/comment.rb#14 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:14 def ==(other); end - # source://rbs//lib/rbs/ast/comment.rb#18 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:18 def eql?(other); end - # source://rbs//lib/rbs/ast/comment.rb#20 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:20 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/comment.rb#7 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:7 def location; end # Returns the value of attribute string. # - # source://rbs//lib/rbs/ast/comment.rb#6 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:6 def string; end - # source://rbs//lib/rbs/ast/comment.rb#24 + # pkg:gem/rbs#lib/rbs/ast/comment.rb:24 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/declarations.rb#5 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:5 module RBS::AST::Declarations; end -# source://rbs//lib/rbs/ast/declarations.rb#423 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:423 class RBS::AST::Declarations::AliasDecl < ::RBS::AST::Declarations::Base # @return [AliasDecl] a new instance of AliasDecl # - # source://rbs//lib/rbs/ast/declarations.rb#426 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:426 def initialize(new_name:, old_name:, location:, comment:, annotations: T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/declarations.rb#434 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:434 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#424 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:424 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#424 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:424 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#440 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:440 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#442 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:442 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#424 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:424 def location; end # Returns the value of attribute new_name. # - # source://rbs//lib/rbs/ast/declarations.rb#424 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:424 def new_name; end # Returns the value of attribute old_name. # - # source://rbs//lib/rbs/ast/declarations.rb#424 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:424 def old_name; end end -# source://rbs//lib/rbs/ast/declarations.rb#6 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:6 class RBS::AST::Declarations::Base; end -# source://rbs//lib/rbs/ast/declarations.rb#55 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:119 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#93 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:93 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#95 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:95 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#127 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:127 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#129 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:129 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#94 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:94 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/ast/declarations.rb#91 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:91 def members; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#89 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:92 def super_class; end - # source://rbs//lib/rbs/ast/declarations.rb#133 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:90 def type_params; end - # source://rbs//lib/rbs/ast/declarations.rb#107 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:61 def initialize(name:, args:, location:); end - # source://rbs//lib/rbs/ast/declarations.rb#67 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:67 def ==(other); end # Returns the value of attribute args. # - # source://rbs//lib/rbs/ast/declarations.rb#58 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:58 def args; end - # source://rbs//lib/rbs/ast/declarations.rb#71 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:71 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#73 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:73 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#59 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:59 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#57 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:57 def name; end - # source://rbs//lib/rbs/ast/declarations.rb#77 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:77 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/declarations.rb#447 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:447 class RBS::AST::Declarations::ClassAlias < ::RBS::AST::Declarations::AliasDecl - # source://rbs//lib/rbs/ast/declarations.rb#448 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:448 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/declarations.rb#347 +# pkg:gem/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#354 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:354 def initialize(name:, type:, location:, comment:, annotations: T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/declarations.rb#362 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:362 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#352 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:352 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#351 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:351 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#368 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:368 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#370 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:370 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#350 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:350 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#348 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:348 def name; end - # source://rbs//lib/rbs/ast/declarations.rb#374 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:374 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs//lib/rbs/ast/declarations.rb#349 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:349 def type; end end -# source://rbs//lib/rbs/ast/declarations.rb#385 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:385 class RBS::AST::Declarations::Global < ::RBS::AST::Declarations::Base # @return [Global] a new instance of Global # - # source://rbs//lib/rbs/ast/declarations.rb#392 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:392 def initialize(name:, type:, location:, comment:, annotations: T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/declarations.rb#400 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:400 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#390 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:390 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#389 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:389 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#406 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:406 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#408 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:408 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#388 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:388 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#386 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:386 def name; end - # source://rbs//lib/rbs/ast/declarations.rb#412 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:412 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs//lib/rbs/ast/declarations.rb#387 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:387 def type; end end -# source://rbs//lib/rbs/ast/declarations.rb#248 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:278 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#252 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:252 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#254 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:254 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#285 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:285 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#287 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:287 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#253 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:253 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/ast/declarations.rb#251 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:251 def members; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#249 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:249 def name; end - # source://rbs//lib/rbs/ast/declarations.rb#291 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:250 def type_params; end - # source://rbs//lib/rbs/ast/declarations.rb#267 + # pkg:gem/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 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:35 module RBS::AST::Declarations::MixinHelper - # source://rbs//lib/rbs/ast/declarations.rb#36 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:36 def each_mixin(&block); end end -# source://rbs//lib/rbs/ast/declarations.rb#147 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:220 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#193 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:193 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#195 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:195 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#228 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:228 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#230 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:230 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#192 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:192 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/ast/declarations.rb#191 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:191 def members; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#189 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:194 def self_types; end - # source://rbs//lib/rbs/ast/declarations.rb#234 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:190 def type_params; end - # source://rbs//lib/rbs/ast/declarations.rb#207 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:153 def initialize(name:, args:, location:); end - # source://rbs//lib/rbs/ast/declarations.rb#159 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:159 def ==(other); end # Returns the value of attribute args. # - # source://rbs//lib/rbs/ast/declarations.rb#150 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:150 def args; end - # source://rbs//lib/rbs/ast/declarations.rb#163 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:163 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#165 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:165 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#151 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:151 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#149 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:149 def name; end - # source://rbs//lib/rbs/ast/declarations.rb#169 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:169 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/declarations.rb#177 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:177 def to_s; end end -# source://rbs//lib/rbs/ast/declarations.rb#459 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:459 class RBS::AST::Declarations::ModuleAlias < ::RBS::AST::Declarations::AliasDecl - # source://rbs//lib/rbs/ast/declarations.rb#460 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:460 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/declarations.rb#9 +# pkg:gem/rbs#lib/rbs/ast/declarations.rb:9 module RBS::AST::Declarations::NestedDeclarationHelper - # source://rbs//lib/rbs/ast/declarations.rb#22 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:22 def each_decl; end - # source://rbs//lib/rbs/ast/declarations.rb#10 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:10 def each_member; end end -# source://rbs//lib/rbs/ast/declarations.rb#304 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:321 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/declarations.rb#308 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:308 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/declarations.rb#310 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:310 def comment; end - # source://rbs//lib/rbs/ast/declarations.rb#328 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:328 def eql?(other); end - # source://rbs//lib/rbs/ast/declarations.rb#330 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:330 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/declarations.rb#309 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:309 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/declarations.rb#305 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:305 def name; end - # source://rbs//lib/rbs/ast/declarations.rb#334 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/declarations.rb:306 def type_params; end end -# source://rbs//lib/rbs/ast/directives.rb#5 +# pkg:gem/rbs#lib/rbs/ast/directives.rb:5 module RBS::AST::Directives; end -# source://rbs//lib/rbs/ast/directives.rb#6 +# pkg:gem/rbs#lib/rbs/ast/directives.rb:6 class RBS::AST::Directives::Base; end -# source://rbs//lib/rbs/ast/directives.rb#37 +# pkg:gem/rbs#lib/rbs/ast/directives.rb:37 class RBS::AST::Directives::ResolveTypeNames < ::RBS::AST::Directives::Base # @return [ResolveTypeNames] a new instance of ResolveTypeNames # - # source://rbs//lib/rbs/ast/directives.rb#42 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:42 def initialize(value:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/directives.rb#38 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:38 def location; end # Returns the value of attribute value. # - # source://rbs//lib/rbs/ast/directives.rb#40 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:40 def value; end end -# source://rbs//lib/rbs/ast/directives.rb#9 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:29 def clauses; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/directives.rb#29 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:29 def location; end end -# source://rbs//lib/rbs/ast/directives.rb#10 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:11 def type_name; end end -# source://rbs//lib/rbs/ast/directives.rb#20 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:21 def location; end # Returns the value of attribute namespace. # - # source://rbs//lib/rbs/ast/directives.rb#21 + # pkg:gem/rbs#lib/rbs/ast/directives.rb:21 def namespace; end end -# source://rbs//lib/rbs/ast/members.rb#5 +# pkg:gem/rbs#lib/rbs/ast/members.rb:5 module RBS::AST::Members; end -# source://rbs//lib/rbs/ast/members.rb#399 +# pkg:gem/rbs#lib/rbs/ast/members.rb:399 class RBS::AST::Members::Alias < ::RBS::AST::Members::Base # @return [Alias] a new instance of Alias # - # source://rbs//lib/rbs/ast/members.rb#407 + # pkg:gem/rbs#lib/rbs/ast/members.rb:407 def initialize(new_name:, old_name:, kind:, annotations:, location:, comment:); end - # source://rbs//lib/rbs/ast/members.rb#416 + # pkg:gem/rbs#lib/rbs/ast/members.rb:416 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/members.rb#403 + # pkg:gem/rbs#lib/rbs/ast/members.rb:403 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/members.rb#405 + # pkg:gem/rbs#lib/rbs/ast/members.rb:405 def comment; end - # source://rbs//lib/rbs/ast/members.rb#423 + # pkg:gem/rbs#lib/rbs/ast/members.rb:423 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#425 + # pkg:gem/rbs#lib/rbs/ast/members.rb:425 def hash; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/members.rb#441 + # pkg:gem/rbs#lib/rbs/ast/members.rb:441 def instance?; end # Returns the value of attribute kind. # - # source://rbs//lib/rbs/ast/members.rb#402 + # pkg:gem/rbs#lib/rbs/ast/members.rb:402 def kind; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/members.rb#404 + # pkg:gem/rbs#lib/rbs/ast/members.rb:404 def location; end # Returns the value of attribute new_name. # - # source://rbs//lib/rbs/ast/members.rb#400 + # pkg:gem/rbs#lib/rbs/ast/members.rb:400 def new_name; end # Returns the value of attribute old_name. # - # source://rbs//lib/rbs/ast/members.rb#401 + # pkg:gem/rbs#lib/rbs/ast/members.rb:401 def old_name; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/members.rb#445 + # pkg:gem/rbs#lib/rbs/ast/members.rb:445 def singleton?; end - # source://rbs//lib/rbs/ast/members.rb#429 + # pkg:gem/rbs#lib/rbs/ast/members.rb:429 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#329 +# pkg:gem/rbs#lib/rbs/ast/members.rb:329 class RBS::AST::Members::AttrAccessor < ::RBS::AST::Members::Base include ::RBS::AST::Members::Attribute - # source://rbs//lib/rbs/ast/members.rb#332 + # pkg:gem/rbs#lib/rbs/ast/members.rb:332 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#311 +# pkg:gem/rbs#lib/rbs/ast/members.rb:311 class RBS::AST::Members::AttrReader < ::RBS::AST::Members::Base include ::RBS::AST::Members::Attribute - # source://rbs//lib/rbs/ast/members.rb#314 + # pkg:gem/rbs#lib/rbs/ast/members.rb:314 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#347 +# pkg:gem/rbs#lib/rbs/ast/members.rb:347 class RBS::AST::Members::AttrWriter < ::RBS::AST::Members::Base include ::RBS::AST::Members::Attribute - # source://rbs//lib/rbs/ast/members.rb#350 + # pkg:gem/rbs#lib/rbs/ast/members.rb:350 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#260 +# pkg:gem/rbs#lib/rbs/ast/members.rb:260 module RBS::AST::Members::Attribute - # source://rbs//lib/rbs/ast/members.rb#270 + # pkg:gem/rbs#lib/rbs/ast/members.rb:270 def initialize(name:, type:, ivar_name:, kind:, annotations:, location:, comment:, visibility: T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/members.rb#281 + # pkg:gem/rbs#lib/rbs/ast/members.rb:281 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/members.rb#265 + # pkg:gem/rbs#lib/rbs/ast/members.rb:265 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/members.rb#267 + # pkg:gem/rbs#lib/rbs/ast/members.rb:267 def comment; end - # source://rbs//lib/rbs/ast/members.rb#290 + # pkg:gem/rbs#lib/rbs/ast/members.rb:290 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#292 + # pkg:gem/rbs#lib/rbs/ast/members.rb:292 def hash; end # Returns the value of attribute ivar_name. # - # source://rbs//lib/rbs/ast/members.rb#264 + # pkg:gem/rbs#lib/rbs/ast/members.rb:264 def ivar_name; end # Returns the value of attribute kind. # - # source://rbs//lib/rbs/ast/members.rb#263 + # pkg:gem/rbs#lib/rbs/ast/members.rb:263 def kind; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/members.rb#266 + # pkg:gem/rbs#lib/rbs/ast/members.rb:266 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/members.rb#261 + # pkg:gem/rbs#lib/rbs/ast/members.rb:261 def name; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/ast/members.rb#262 + # pkg:gem/rbs#lib/rbs/ast/members.rb:262 def type; end - # source://rbs//lib/rbs/ast/members.rb#296 + # pkg:gem/rbs#lib/rbs/ast/members.rb:296 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#268 + # pkg:gem/rbs#lib/rbs/ast/members.rb:268 def visibility; end end -# source://rbs//lib/rbs/ast/members.rb#6 +# pkg:gem/rbs#lib/rbs/ast/members.rb:6 class RBS::AST::Members::Base; end -# source://rbs//lib/rbs/ast/members.rb#159 +# pkg:gem/rbs#lib/rbs/ast/members.rb:159 class RBS::AST::Members::ClassInstanceVariable < ::RBS::AST::Members::Base include ::RBS::AST::Members::Var - # source://rbs//lib/rbs/ast/members.rb#162 + # pkg:gem/rbs#lib/rbs/ast/members.rb:162 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#173 +# pkg:gem/rbs#lib/rbs/ast/members.rb:173 class RBS::AST::Members::ClassVariable < ::RBS::AST::Members::Base include ::RBS::AST::Members::Var - # source://rbs//lib/rbs/ast/members.rb#176 + # pkg:gem/rbs#lib/rbs/ast/members.rb:176 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#230 +# pkg:gem/rbs#lib/rbs/ast/members.rb:230 class RBS::AST::Members::Extend < ::RBS::AST::Members::Base include ::RBS::AST::Members::Mixin - # source://rbs//lib/rbs/ast/members.rb#233 + # pkg:gem/rbs#lib/rbs/ast/members.rb:233 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#215 +# pkg:gem/rbs#lib/rbs/ast/members.rb:215 class RBS::AST::Members::Include < ::RBS::AST::Members::Base include ::RBS::AST::Members::Mixin - # source://rbs//lib/rbs/ast/members.rb#218 + # pkg:gem/rbs#lib/rbs/ast/members.rb:218 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#145 +# pkg:gem/rbs#lib/rbs/ast/members.rb:145 class RBS::AST::Members::InstanceVariable < ::RBS::AST::Members::Base include ::RBS::AST::Members::Var - # source://rbs//lib/rbs/ast/members.rb#148 + # pkg:gem/rbs#lib/rbs/ast/members.rb:148 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#365 +# pkg:gem/rbs#lib/rbs/ast/members.rb:365 module RBS::AST::Members::LocationOnly - # source://rbs//lib/rbs/ast/members.rb#368 + # pkg:gem/rbs#lib/rbs/ast/members.rb:368 def initialize(location:); end - # source://rbs//lib/rbs/ast/members.rb#372 + # pkg:gem/rbs#lib/rbs/ast/members.rb:372 def ==(other); end - # source://rbs//lib/rbs/ast/members.rb#376 + # pkg:gem/rbs#lib/rbs/ast/members.rb:376 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#378 + # pkg:gem/rbs#lib/rbs/ast/members.rb:378 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/members.rb#366 + # pkg:gem/rbs#lib/rbs/ast/members.rb:366 def location; end end -# source://rbs//lib/rbs/ast/members.rb#9 +# pkg:gem/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#55 + # pkg:gem/rbs#lib/rbs/ast/members.rb:55 def initialize(name:, kind:, overloads:, annotations:, location:, comment:, overloading:, visibility:); end - # source://rbs//lib/rbs/ast/members.rb#66 + # pkg:gem/rbs#lib/rbs/ast/members.rb:66 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/members.rb#49 + # pkg:gem/rbs#lib/rbs/ast/members.rb:49 def annotations; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/members.rb#51 + # pkg:gem/rbs#lib/rbs/ast/members.rb:51 def comment; end - # source://rbs//lib/rbs/ast/members.rb#75 + # pkg:gem/rbs#lib/rbs/ast/members.rb:75 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#77 + # pkg:gem/rbs#lib/rbs/ast/members.rb:77 def hash; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/members.rb#81 + # pkg:gem/rbs#lib/rbs/ast/members.rb:81 def instance?; end # Returns the value of attribute kind. # - # source://rbs//lib/rbs/ast/members.rb#47 + # pkg:gem/rbs#lib/rbs/ast/members.rb:47 def kind; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/members.rb#50 + # pkg:gem/rbs#lib/rbs/ast/members.rb:50 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/members.rb#46 + # pkg:gem/rbs#lib/rbs/ast/members.rb:46 def name; end # Returns the value of attribute overloading. # - # source://rbs//lib/rbs/ast/members.rb#52 + # pkg:gem/rbs#lib/rbs/ast/members.rb:52 def overloading; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/members.rb#89 + # pkg:gem/rbs#lib/rbs/ast/members.rb:89 def overloading?; end # Returns the value of attribute overloads. # - # source://rbs//lib/rbs/ast/members.rb#48 + # pkg:gem/rbs#lib/rbs/ast/members.rb:48 def overloads; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/members.rb#85 + # pkg:gem/rbs#lib/rbs/ast/members.rb:85 def singleton?; end - # source://rbs//lib/rbs/ast/members.rb#106 + # pkg:gem/rbs#lib/rbs/ast/members.rb:106 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/members.rb#93 + # pkg:gem/rbs#lib/rbs/ast/members.rb:93 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#53 + # pkg:gem/rbs#lib/rbs/ast/members.rb:53 def visibility; end end -# source://rbs//lib/rbs/ast/members.rb#10 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/members.rb:13 def initialize(method_type:, annotations:); end - # source://rbs//lib/rbs/ast/members.rb#18 + # pkg:gem/rbs#lib/rbs/ast/members.rb:18 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/members.rb#11 + # pkg:gem/rbs#lib/rbs/ast/members.rb:11 def annotations; end - # source://rbs//lib/rbs/ast/members.rb#26 + # pkg:gem/rbs#lib/rbs/ast/members.rb:26 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#22 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/members.rb:11 def method_type; end - # source://rbs//lib/rbs/ast/members.rb#32 + # pkg:gem/rbs#lib/rbs/ast/members.rb:32 def sub(subst); end - # source://rbs//lib/rbs/ast/members.rb#38 + # pkg:gem/rbs#lib/rbs/ast/members.rb:38 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/members.rb#28 + # pkg:gem/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#187 +# pkg:gem/rbs#lib/rbs/ast/members.rb:187 module RBS::AST::Members::Mixin - # source://rbs//lib/rbs/ast/members.rb#194 + # pkg:gem/rbs#lib/rbs/ast/members.rb:194 def initialize(name:, args:, annotations:, location:, comment:); end - # source://rbs//lib/rbs/ast/members.rb#202 + # pkg:gem/rbs#lib/rbs/ast/members.rb:202 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/members.rb#190 + # pkg:gem/rbs#lib/rbs/ast/members.rb:190 def annotations; end # Returns the value of attribute args. # - # source://rbs//lib/rbs/ast/members.rb#189 + # pkg:gem/rbs#lib/rbs/ast/members.rb:189 def args; end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/members.rb#192 + # pkg:gem/rbs#lib/rbs/ast/members.rb:192 def comment; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/members.rb#206 + # pkg:gem/rbs#lib/rbs/ast/members.rb:206 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#210 + # pkg:gem/rbs#lib/rbs/ast/members.rb:210 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/members.rb#191 + # pkg:gem/rbs#lib/rbs/ast/members.rb:191 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/members.rb#188 + # pkg:gem/rbs#lib/rbs/ast/members.rb:188 def name; end end -# source://rbs//lib/rbs/ast/members.rb#245 +# pkg:gem/rbs#lib/rbs/ast/members.rb:245 class RBS::AST::Members::Prepend < ::RBS::AST::Members::Base include ::RBS::AST::Members::Mixin - # source://rbs//lib/rbs/ast/members.rb#248 + # pkg:gem/rbs#lib/rbs/ast/members.rb:248 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#391 +# pkg:gem/rbs#lib/rbs/ast/members.rb:391 class RBS::AST::Members::Private < ::RBS::AST::Members::Base include ::RBS::AST::Members::LocationOnly - # source://rbs//lib/rbs/ast/members.rb#394 + # pkg:gem/rbs#lib/rbs/ast/members.rb:394 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#383 +# pkg:gem/rbs#lib/rbs/ast/members.rb:383 class RBS::AST::Members::Public < ::RBS::AST::Members::Base include ::RBS::AST::Members::LocationOnly - # source://rbs//lib/rbs/ast/members.rb#386 + # pkg:gem/rbs#lib/rbs/ast/members.rb:386 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/ast/members.rb#121 +# pkg:gem/rbs#lib/rbs/ast/members.rb:121 module RBS::AST::Members::Var - # source://rbs//lib/rbs/ast/members.rb#127 + # pkg:gem/rbs#lib/rbs/ast/members.rb:127 def initialize(name:, type:, location:, comment:); end - # source://rbs//lib/rbs/ast/members.rb#134 + # pkg:gem/rbs#lib/rbs/ast/members.rb:134 def ==(other); end # Returns the value of attribute comment. # - # source://rbs//lib/rbs/ast/members.rb#125 + # pkg:gem/rbs#lib/rbs/ast/members.rb:125 def comment; end - # source://rbs//lib/rbs/ast/members.rb#138 + # pkg:gem/rbs#lib/rbs/ast/members.rb:138 def eql?(other); end - # source://rbs//lib/rbs/ast/members.rb#140 + # pkg:gem/rbs#lib/rbs/ast/members.rb:140 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/members.rb#124 + # pkg:gem/rbs#lib/rbs/ast/members.rb:124 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/members.rb#122 + # pkg:gem/rbs#lib/rbs/ast/members.rb:122 def name; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/ast/members.rb#123 + # pkg:gem/rbs#lib/rbs/ast/members.rb:123 def type; end end -# source://rbs//lib/rbs/ast/ruby/comment_block.rb#5 +# pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:5 module RBS::AST::Ruby; end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#6 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:6 module RBS::AST::Ruby::Annotations; end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#7 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:7 class RBS::AST::Ruby::Annotations::Base # @return [Base] a new instance of Base # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#10 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:10 def initialize(location, prefix_location); end - # source://rbs//lib/rbs/ast/ruby/annotations.rb#15 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:15 def buffer; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#8 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:8 def location; end # Returns the value of attribute prefix_location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#8 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:8 def prefix_location; end end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#36 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:36 class RBS::AST::Ruby::Annotations::ColonMethodTypeAnnotation < ::RBS::AST::Ruby::Annotations::Base # @return [ColonMethodTypeAnnotation] a new instance of ColonMethodTypeAnnotation # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#39 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:39 def initialize(location:, prefix_location:, annotations:, method_type:); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#37 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:37 def annotations; end - # source://rbs//lib/rbs/ast/ruby/annotations.rb#45 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:45 def map_type_name; end # Returns the value of attribute method_type. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#37 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:37 def method_type; end end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#55 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:55 class RBS::AST::Ruby::Annotations::MethodTypesAnnotation < ::RBS::AST::Ruby::Annotations::Base # @return [MethodTypesAnnotation] a new instance of MethodTypesAnnotation # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#60 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:60 def initialize(location:, prefix_location:, overloads:, vertical_bar_locations:); end - # source://rbs//lib/rbs/ast/ruby/annotations.rb#66 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:66 def map_type_name(&block); end # Returns the value of attribute overloads. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#58 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:58 def overloads; end # Returns the value of attribute vertical_bar_locations. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#58 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:58 def vertical_bar_locations; end end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#56 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:56 RBS::AST::Ruby::Annotations::MethodTypesAnnotation::Overload = RBS::AST::Members::MethodDefinition::Overload -# source://rbs//lib/rbs/ast/ruby/annotations.rb#20 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:20 class RBS::AST::Ruby::Annotations::NodeTypeAssertion < ::RBS::AST::Ruby::Annotations::Base # @return [NodeTypeAssertion] a new instance of NodeTypeAssertion # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#23 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:23 def initialize(location:, prefix_location:, type:); end - # source://rbs//lib/rbs/ast/ruby/annotations.rb#28 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:28 def map_type_name; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#21 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:21 def type; end end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#88 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:88 class RBS::AST::Ruby::Annotations::ReturnTypeAnnotation < ::RBS::AST::Ruby::Annotations::Base # @return [ReturnTypeAnnotation] a new instance of ReturnTypeAnnotation # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#97 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:97 def initialize(location:, prefix_location:, return_location:, colon_location:, return_type:, comment_location:); end # Returns the value of attribute colon_location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#91 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:91 def colon_location; end # Returns the value of attribute comment_location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#95 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:95 def comment_location; end - # source://rbs//lib/rbs/ast/ruby/annotations.rb#105 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:105 def map_type_name(&block); end # Returns the value of attribute return_location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#89 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:89 def return_location; end # Returns the value of attribute return_type. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#93 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:93 def return_type; end end -# source://rbs//lib/rbs/ast/ruby/annotations.rb#78 +# pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:78 class RBS::AST::Ruby::Annotations::SkipAnnotation < ::RBS::AST::Ruby::Annotations::Base # @return [SkipAnnotation] a new instance of SkipAnnotation # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#81 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:81 def initialize(location:, prefix_location:, skip_location:, comment_location:); end # Returns the value of attribute comment_location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#79 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:79 def comment_location; end # Returns the value of attribute skip_location. # - # source://rbs//lib/rbs/ast/ruby/annotations.rb#79 + # pkg:gem/rbs#lib/rbs/ast/ruby/annotations.rb:79 def skip_location; end end -# source://rbs//lib/rbs/ast/ruby/comment_block.rb#6 +# pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:6 class RBS::AST::Ruby::CommentBlock # @return [CommentBlock] a new instance of CommentBlock # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#9 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:9 def initialize(source_buffer, comments); end # Returns the value of attribute comment_buffer. # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#7 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:7 def comment_buffer; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#204 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:204 def comments; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#98 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:98 def each_paragraph(variables, &block); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#50 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:50 def end_line; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#36 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:36 def leading?; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#208 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:208 def leading_annotation?(index); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#174 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:174 def line_location(start_line, end_line); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#54 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:54 def line_starts; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#7 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:7 def name; end # Returns the value of attribute offsets. # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#7 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:7 def offsets; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#180 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:180 def parse_annotation_lines(start_line, end_line, variables); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#46 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:46 def start_line; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#169 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:169 def text(comment_index); end # @return [Boolean] # - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#41 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:41 def trailing?; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#190 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:190 def trailing_annotation(variables); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#130 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:130 def yield_annotation(start_line, end_line, current_line, variables, &block); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#110 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:110 def yield_paragraph(start_line, current_line, variables, &block); end class << self - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#60 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:60 def build(buffer, comments); end end end -# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 +# pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 class RBS::AST::Ruby::CommentBlock::AnnotationSyntaxError < ::Struct - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def error; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def error=(_); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def location; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def location=(_); end class << self - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def [](*_arg0); end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def inspect; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def keyword_init?; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def members; end - # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96 + # pkg:gem/rbs#lib/rbs/ast/ruby/comment_block.rb:96 def new(*_arg0); end end end -# source://rbs//lib/rbs/ast/ruby/declarations.rb#6 +# pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:6 module RBS::AST::Ruby::Declarations; end -# source://rbs//lib/rbs/ast/ruby/declarations.rb#7 +# pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:7 class RBS::AST::Ruby::Declarations::Base include ::RBS::AST::Ruby::Helpers::ConstantHelper include ::RBS::AST::Ruby::Helpers::LocationHelper # @return [Base] a new instance of Base # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#13 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:13 def initialize(buffer); end # Returns the value of attribute buffer. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#8 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:8 def buffer; end end -# source://rbs//lib/rbs/ast/ruby/declarations.rb#18 +# pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:18 class RBS::AST::Ruby::Declarations::ClassDecl < ::RBS::AST::Ruby::Declarations::Base # @return [ClassDecl] a new instance of ClassDecl # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#25 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:25 def initialize(buffer, name, node); end # Returns the value of attribute class_name. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#19 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:19 def class_name; end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#32 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:32 def each_decl(&block); end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#46 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:46 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#21 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:21 def members; end # Returns the value of attribute node. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#23 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:23 def node; end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#42 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:42 def super_class; end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#44 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:44 def type_params; end end -# source://rbs//lib/rbs/ast/ruby/declarations.rb#51 +# pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:51 class RBS::AST::Ruby::Declarations::ModuleDecl < ::RBS::AST::Ruby::Declarations::Base # @return [ModuleDecl] a new instance of ModuleDecl # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#58 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:58 def initialize(buffer, name, node); end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#65 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:65 def each_decl(&block); end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#79 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:79 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#54 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:54 def members; end # Returns the value of attribute module_name. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#52 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:52 def module_name; end # Returns the value of attribute node. # - # source://rbs//lib/rbs/ast/ruby/declarations.rb#56 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:56 def node; end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#77 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:77 def self_types; end - # source://rbs//lib/rbs/ast/ruby/declarations.rb#75 + # pkg:gem/rbs#lib/rbs/ast/ruby/declarations.rb:75 def type_params; end end -# source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#6 +# pkg:gem/rbs#lib/rbs/ast/ruby/helpers/constant_helper.rb:6 module RBS::AST::Ruby::Helpers; end -# source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#7 +# pkg:gem/rbs#lib/rbs/ast/ruby/helpers/constant_helper.rb:7 module RBS::AST::Ruby::Helpers::ConstantHelper private - # source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#10 + # pkg:gem/rbs#lib/rbs/ast/ruby/helpers/constant_helper.rb:10 def constant_as_type_name(node); end class << self - # source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#10 + # pkg:gem/rbs#lib/rbs/ast/ruby/helpers/constant_helper.rb:10 def constant_as_type_name(node); end end end -# source://rbs//lib/rbs/ast/ruby/helpers/location_helper.rb#7 +# pkg:gem/rbs#lib/rbs/ast/ruby/helpers/location_helper.rb:7 module RBS::AST::Ruby::Helpers::LocationHelper - # source://rbs//lib/rbs/ast/ruby/helpers/location_helper.rb#8 + # pkg:gem/rbs#lib/rbs/ast/ruby/helpers/location_helper.rb:8 def rbs_location(location); end end -# source://rbs//lib/rbs/ast/ruby/members.rb#6 +# pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:6 module RBS::AST::Ruby::Members; end -# source://rbs//lib/rbs/ast/ruby/members.rb#7 +# pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:7 class RBS::AST::Ruby::Members::Base include ::RBS::AST::Ruby::Helpers::LocationHelper # @return [Base] a new instance of Base # - # source://rbs//lib/rbs/ast/ruby/members.rb#10 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:10 def initialize(buffer); end # Returns the value of attribute buffer. # - # source://rbs//lib/rbs/ast/ruby/members.rb#8 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:8 def buffer; end end -# source://rbs//lib/rbs/ast/ruby/members.rb#180 +# pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:180 class RBS::AST::Ruby::Members::DefMember < ::RBS::AST::Ruby::Members::Base # @return [DefMember] a new instance of DefMember # - # source://rbs//lib/rbs/ast/ruby/members.rb#187 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:187 def initialize(buffer, name, node, method_type); end - # source://rbs//lib/rbs/ast/ruby/members.rb#206 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:206 def annotations; end - # source://rbs//lib/rbs/ast/ruby/members.rb#194 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:194 def location; end # Returns the value of attribute method_type. # - # source://rbs//lib/rbs/ast/ruby/members.rb#185 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:185 def method_type; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/ruby/members.rb#183 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:183 def name; end # Returns the value of attribute node. # - # source://rbs//lib/rbs/ast/ruby/members.rb#184 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:184 def node; end # @return [Boolean] # - # source://rbs//lib/rbs/ast/ruby/members.rb#202 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:202 def overloading?; end - # source://rbs//lib/rbs/ast/ruby/members.rb#198 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:198 def overloads; end end -# source://rbs//lib/rbs/ast/ruby/members.rb#181 +# pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:181 RBS::AST::Ruby::Members::DefMember::Overload = RBS::AST::Members::MethodDefinition::Overload -# source://rbs//lib/rbs/ast/ruby/members.rb#17 +# pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:17 class RBS::AST::Ruby::Members::MethodTypeAnnotation # @return [MethodTypeAnnotation] a new instance of MethodTypeAnnotation # - # source://rbs//lib/rbs/ast/ruby/members.rb#64 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:64 def initialize(type_annotations:); end # @return [Boolean] # - # source://rbs//lib/rbs/ast/ruby/members.rb#139 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:139 def empty?; end - # source://rbs//lib/rbs/ast/ruby/members.rb#68 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:68 def map_type_name(&block); end - # source://rbs//lib/rbs/ast/ruby/members.rb#143 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:143 def overloads; end # Returns the value of attribute type_annotations. # - # source://rbs//lib/rbs/ast/ruby/members.rb#62 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:62 def type_annotations; end class << self - # source://rbs//lib/rbs/ast/ruby/members.rb#81 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:81 def build(leading_block, trailing_block, variables); end end end -# source://rbs//lib/rbs/ast/ruby/members.rb#18 +# pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:18 class RBS::AST::Ruby::Members::MethodTypeAnnotation::DocStyle # @return [DocStyle] a new instance of DocStyle # - # source://rbs//lib/rbs/ast/ruby/members.rb#21 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:21 def initialize; end - # source://rbs//lib/rbs/ast/ruby/members.rb#25 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:25 def map_type_name(&block); end - # source://rbs//lib/rbs/ast/ruby/members.rb#31 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:31 def method_type; end # Returns the value of attribute return_type_annotation. # - # source://rbs//lib/rbs/ast/ruby/members.rb#19 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:19 def return_type_annotation; end # Sets the attribute return_type_annotation # # @param value the value to set the attribute return_type_annotation to. # - # source://rbs//lib/rbs/ast/ruby/members.rb#19 + # pkg:gem/rbs#lib/rbs/ast/ruby/members.rb:19 def return_type_annotation=(_arg0); end end -# source://rbs//lib/rbs/ast/type_param.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:8 def initialize(name:, variance:, upper_bound:, location:, default_type: T.unsafe(nil), unchecked: T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/type_param.rb#33 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:6 def default_type; end - # source://rbs//lib/rbs/ast/type_param.rb#42 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:42 def eql?(other); end - # source://rbs//lib/rbs/ast/type_param.rb#44 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:6 def location; end - # source://rbs//lib/rbs/ast/type_param.rb#59 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:59 def map_type(&block); end # Returns the value of attribute name. # - # source://rbs//lib/rbs/ast/type_param.rb#6 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:6 def name; end - # source://rbs//lib/rbs/ast/type_param.rb#48 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:48 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/ast/type_param.rb#117 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:117 def to_s; end - # source://rbs//lib/rbs/ast/type_param.rb#24 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:29 def unchecked?; end - # source://rbs//lib/rbs/ast/type_param.rb#17 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:6 def variance; end class << self - # source://rbs//lib/rbs/ast/type_param.rb#146 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:146 def application(params, args); end - # source://rbs//lib/rbs/ast/type_param.rb#178 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:178 def normalize_args(params, args); end - # source://rbs//lib/rbs/ast/type_param.rb#99 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:99 def rename(params, new_names:); end - # source://rbs//lib/rbs/ast/type_param.rb#77 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:77 def resolve_variables(params); end - # source://rbs//lib/rbs/ast/type_param.rb#87 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:87 def subst_var(vars, type); end - # source://rbs//lib/rbs/ast/type_param.rb#199 + # pkg:gem/rbs#lib/rbs/ast/type_param.rb:199 def validate(type_params); end end end @@ -1639,808 +1639,808 @@ end # visitor.visit(ast_node) # ~~~ # -# source://rbs//lib/rbs/ast/visitor.rb#26 +# pkg:gem/rbs#lib/rbs/ast/visitor.rb:26 class RBS::AST::Visitor - # source://rbs//lib/rbs/ast/visitor.rb#27 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:27 def visit(node); end - # source://rbs//lib/rbs/ast/visitor.rb#70 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:70 def visit_all(nodes); end - # source://rbs//lib/rbs/ast/visitor.rb#79 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:79 def visit_declaration_class(node); end - # source://rbs//lib/rbs/ast/visitor.rb#87 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:87 def visit_declaration_constant(node); end - # source://rbs//lib/rbs/ast/visitor.rb#76 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:76 def visit_declaration_global(node); end - # source://rbs//lib/rbs/ast/visitor.rb#93 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:93 def visit_declaration_interface(node); end - # source://rbs//lib/rbs/ast/visitor.rb#83 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:83 def visit_declaration_module(node); end - # source://rbs//lib/rbs/ast/visitor.rb#90 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:90 def visit_declaration_type_alias(node); end - # source://rbs//lib/rbs/ast/visitor.rb#97 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:97 def visit_member_alias(node); end - # source://rbs//lib/rbs/ast/visitor.rb#124 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:124 def visit_member_attr_accessor(node); end - # source://rbs//lib/rbs/ast/visitor.rb#118 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:118 def visit_member_attr_reader(node); end - # source://rbs//lib/rbs/ast/visitor.rb#121 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:121 def visit_member_attr_writer(node); end - # source://rbs//lib/rbs/ast/visitor.rb#100 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:100 def visit_member_class_instance_variable(node); end - # source://rbs//lib/rbs/ast/visitor.rb#103 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:103 def visit_member_class_variable(node); end - # source://rbs//lib/rbs/ast/visitor.rb#133 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:133 def visit_member_extend(node); end - # source://rbs//lib/rbs/ast/visitor.rb#127 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:127 def visit_member_include(node); end - # source://rbs//lib/rbs/ast/visitor.rb#106 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:106 def visit_member_instance_variable(node); end - # source://rbs//lib/rbs/ast/visitor.rb#115 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:115 def visit_member_method_definition(node); end - # source://rbs//lib/rbs/ast/visitor.rb#130 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:130 def visit_member_prepend(node); end - # source://rbs//lib/rbs/ast/visitor.rb#109 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:109 def visit_member_private(node); end - # source://rbs//lib/rbs/ast/visitor.rb#112 + # pkg:gem/rbs#lib/rbs/ast/visitor.rb:112 def visit_member_public(node); end end -# source://rbs//lib/rbs/ancestor_graph.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:9 def ancestor_builder; end - # source://rbs//lib/rbs/ancestor_graph.rb#19 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:19 def build; end - # source://rbs//lib/rbs/ancestor_graph.rb#32 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:11 def children; end - # source://rbs//lib/rbs/ancestor_graph.rb#64 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:56 def each_child(node, &block); end - # source://rbs//lib/rbs/ancestor_graph.rb#78 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:8 def env; end # Returns the value of attribute parents. # - # source://rbs//lib/rbs/ancestor_graph.rb#10 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:10 def parents; end - # source://rbs//lib/rbs/ancestor_graph.rb#43 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:43 def register(parent:, child:); end end -# source://rbs//lib/rbs/ancestor_graph.rb#5 +# pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 class RBS::AncestorGraph::InstanceNode < ::Struct - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def type_name; end - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def type_name=(_); end class << self - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def [](*_arg0); end - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def inspect; end - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def keyword_init?; end - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def members; end - # source://rbs//lib/rbs/ancestor_graph.rb#5 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:5 def new(*_arg0); end end end -# source://rbs//lib/rbs/ancestor_graph.rb#6 +# pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 class RBS::AncestorGraph::SingletonNode < ::Struct - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def type_name; end - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def type_name=(_); end class << self - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def [](*_arg0); end - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def inspect; end - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def keyword_init?; end - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def members; end - # source://rbs//lib/rbs/ancestor_graph.rb#6 + # pkg:gem/rbs#lib/rbs/ancestor_graph.rb:6 def new(*_arg0); end end end -# source://rbs//lib/rbs/errors.rb#19 +# pkg:gem/rbs#lib/rbs/errors.rb:19 class RBS::BaseError < ::StandardError; end -# source://rbs//lib/rbs/buffer.rb#4 +# pkg:gem/rbs#lib/rbs/buffer.rb:4 class RBS::Buffer # @return [Buffer] a new instance of Buffer # - # source://rbs//lib/rbs/buffer.rb#9 + # pkg:gem/rbs#lib/rbs/buffer.rb:9 def initialize(content:, name: T.unsafe(nil), parent: T.unsafe(nil)); end - # source://rbs//lib/rbs/buffer.rb#126 + # pkg:gem/rbs#lib/rbs/buffer.rb:126 def absolute_position(position); end # Returns the value of attribute content. # - # source://rbs//lib/rbs/buffer.rb#6 + # pkg:gem/rbs#lib/rbs/buffer.rb:6 def content; end - # source://rbs//lib/rbs/buffer.rb#143 + # pkg:gem/rbs#lib/rbs/buffer.rb:143 def detach; end - # source://rbs//lib/rbs/buffer.rb#81 + # pkg:gem/rbs#lib/rbs/buffer.rb:81 def inspect; end - # source://rbs//lib/rbs/buffer.rb#73 + # pkg:gem/rbs#lib/rbs/buffer.rb:73 def last_position; end - # source://rbs//lib/rbs/buffer.rb#26 + # pkg:gem/rbs#lib/rbs/buffer.rb:26 def line_count; end - # source://rbs//lib/rbs/buffer.rb#22 + # pkg:gem/rbs#lib/rbs/buffer.rb:22 def lines; end - # source://rbs//lib/rbs/buffer.rb#63 + # pkg:gem/rbs#lib/rbs/buffer.rb:63 def loc_to_pos(loc); end # Returns the value of attribute name. # - # source://rbs//lib/rbs/buffer.rb#5 + # pkg:gem/rbs#lib/rbs/buffer.rb:5 def name; end # Returns the value of attribute parent. # - # source://rbs//lib/rbs/buffer.rb#7 + # pkg:gem/rbs#lib/rbs/buffer.rb:7 def parent; end - # source://rbs//lib/rbs/buffer.rb#111 + # pkg:gem/rbs#lib/rbs/buffer.rb:111 def parent_buffer; end - # source://rbs//lib/rbs/buffer.rb#117 + # pkg:gem/rbs#lib/rbs/buffer.rb:117 def parent_position(position); end - # source://rbs//lib/rbs/buffer.rb#51 + # pkg:gem/rbs#lib/rbs/buffer.rb:51 def pos_to_loc(pos); end - # source://rbs//lib/rbs/buffer.rb#30 + # pkg:gem/rbs#lib/rbs/buffer.rb:30 def ranges; end - # source://rbs//lib/rbs/buffer.rb#85 + # pkg:gem/rbs#lib/rbs/buffer.rb:85 def rbs_location(location, loc2 = T.unsafe(nil)); end - # source://rbs//lib/rbs/buffer.rb#93 + # pkg:gem/rbs#lib/rbs/buffer.rb:93 def sub_buffer(lines:); end - # source://rbs//lib/rbs/buffer.rb#135 + # pkg:gem/rbs#lib/rbs/buffer.rb:135 def top_buffer; end end -# source://rbs//lib/rbs/builtin_names.rb#4 +# pkg:gem/rbs#lib/rbs/builtin_names.rb:4 module RBS::BuiltinNames; end -# source://rbs//lib/rbs/builtin_names.rb#45 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/builtin_names.rb:8 def initialize(name:); end - # source://rbs//lib/rbs/builtin_names.rb#16 + # pkg:gem/rbs#lib/rbs/builtin_names.rb:16 def instance_type(*args); end # @return [Boolean] # - # source://rbs//lib/rbs/builtin_names.rb#20 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/builtin_names.rb:6 def name; end - # source://rbs//lib/rbs/builtin_names.rb#24 + # pkg:gem/rbs#lib/rbs/builtin_names.rb:24 def singleton_type; end # @return [Boolean] # - # source://rbs//lib/rbs/builtin_names.rb#28 + # pkg:gem/rbs#lib/rbs/builtin_names.rb:28 def singleton_type?(type); end - # source://rbs//lib/rbs/builtin_names.rb#12 + # pkg:gem/rbs#lib/rbs/builtin_names.rb:12 def to_s; end class << self - # source://rbs//lib/rbs/builtin_names.rb#32 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rbs#lib/rbs/cli/colored_io.rb:4 class RBS::CLI; end -# source://rbs//lib/rbs/cli/colored_io.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/cli/colored_io.rb:8 def initialize(stdout:); end - # source://rbs//lib/rbs/cli/colored_io.rb#28 + # pkg:gem/rbs#lib/rbs/cli/colored_io.rb:28 def puts(*_arg0, **_arg1, &_arg2); end - # source://rbs//lib/rbs/cli/colored_io.rb#20 + # pkg:gem/rbs#lib/rbs/cli/colored_io.rb:20 def puts_green(string); end - # source://rbs//lib/rbs/cli/colored_io.rb#12 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/cli/colored_io.rb:6 def stdout; end private # @return [Boolean] # - # source://rbs//lib/rbs/cli/colored_io.rb#43 + # pkg:gem/rbs#lib/rbs/cli/colored_io.rb:43 def are_colors_disabled?; end # @return [Boolean] # - # source://rbs//lib/rbs/cli/colored_io.rb#39 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/cli/colored_io.rb:35 def can_display_colors?; end end -# source://rbs//lib/rbs/errors.rb#345 +# pkg:gem/rbs#lib/rbs/errors.rb:345 class RBS::ClassInstanceVariableDuplicationError < ::RBS::VariableDuplicationError - # source://rbs//lib/rbs/errors.rb#346 + # pkg:gem/rbs#lib/rbs/errors.rb:346 def kind; end end -# source://rbs//lib/rbs/collection/sources/base.rb#4 +# pkg:gem/rbs#lib/rbs/collection/sources/base.rb:4 module RBS::Collection; end -# source://rbs//lib/rbs/collection/cleaner.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/cleaner.rb:8 def initialize(lockfile_path:); end - # source://rbs//lib/rbs/collection/cleaner.rb#12 + # pkg:gem/rbs#lib/rbs/collection/cleaner.rb:12 def clean; end # Returns the value of attribute lock. # - # source://rbs//lib/rbs/collection/cleaner.rb#6 + # pkg:gem/rbs#lib/rbs/collection/cleaner.rb:6 def lock; end # @return [Boolean] # - # source://rbs//lib/rbs/collection/cleaner.rb#30 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/config.rb:19 def data; end - # source://rbs//lib/rbs/collection/config.rb#54 + # pkg:gem/rbs#lib/rbs/collection/config.rb:54 def gem(gem_name); end - # source://rbs//lib/rbs/collection/config.rb#74 + # pkg:gem/rbs#lib/rbs/collection/config.rb:74 def gems; end - # source://rbs//lib/rbs/collection/config.rb#58 + # pkg:gem/rbs#lib/rbs/collection/config.rb:58 def repo_path; end - # source://rbs//lib/rbs/collection/config.rb#62 + # pkg:gem/rbs#lib/rbs/collection/config.rb:62 def repo_path_data; end - # source://rbs//lib/rbs/collection/config.rb#66 + # pkg:gem/rbs#lib/rbs/collection/config.rb:66 def sources; end class << self - # source://rbs//lib/rbs/collection/config.rb#21 + # pkg:gem/rbs#lib/rbs/collection/config.rb:21 def find_config_path; end - # source://rbs//lib/rbs/collection/config.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/config.rb:45 def to_lockfile_path(config_path); end end end -# source://rbs//lib/rbs/collection/config.rb#8 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/config.rb:9 def initialize; end end -# source://rbs//lib/rbs/collection/config/lockfile.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile.rb:73 def check_rbs_availability!; end - # source://rbs//lib/rbs/collection/config/lockfile.rb#18 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile.rb:18 def fullpath; end - # source://rbs//lib/rbs/collection/config/lockfile.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile.rb:7 def gems; end - # source://rbs//lib/rbs/collection/config/lockfile.rb#65 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile.rb:7 def sources; end - # source://rbs//lib/rbs/collection/config/lockfile.rb#28 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile.rb:28 def to_lockfile; end class << self - # source://rbs//lib/rbs/collection/config/lockfile.rb#42 + # pkg:gem/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 +# pkg:gem/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#43 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:43 def initialize(config:, definition:, with_lockfile:); end # Returns the value of attribute config. # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#35 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:35 def config; end # Returns the value of attribute definition. # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#35 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:35 def definition; end # Returns the value of attribute existing_lockfile. # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#35 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:35 def existing_lockfile; end # Returns the value of attribute gem_entries. # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#35 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:35 def gem_entries; end # Returns the value of attribute gem_hash. # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#35 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:35 def gem_hash; end - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#71 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:71 def generate; end # Returns the value of attribute lockfile. # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#35 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:35 def lockfile; end private - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#104 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:104 def assign_gem(name:, version:, skip: T.unsafe(nil)); end - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#170 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:170 def assign_stdlib(name:, from_gem: T.unsafe(nil)); end - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#234 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:234 def find_best_version(version:, versions:); end - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#228 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:228 def find_source(name:); end - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#96 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:96 def validate_gemfile_lock_path!(lock:, gemfile_lock_path:); end class << self - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#37 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:37 def generate(config:, definition:, with_lockfile: T.unsafe(nil)); end end end -# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#7 +# pkg:gem/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#19 +# pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:19 class RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError < ::StandardError # @return [GemfileLockMismatchError] a new instance of GemfileLockMismatchError # - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#20 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:20 def initialize(expected:, actual:); end - # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + # pkg:gem/rbs#lib/rbs/collection/config/lockfile_generator.rb:25 def message; end end -# source://rbs//lib/rbs/collection/config.rb#17 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/installer.rb:9 def initialize(lockfile_path:, stdout: T.unsafe(nil)); end - # source://rbs//lib/rbs/collection/installer.rb#14 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/installer.rb:6 def lockfile; end # Returns the value of attribute stdout. # - # source://rbs//lib/rbs/collection/installer.rb#7 + # pkg:gem/rbs#lib/rbs/collection/installer.rb:7 def stdout; end end -# source://rbs//lib/rbs/collection/sources/base.rb#5 +# pkg:gem/rbs#lib/rbs/collection/sources/base.rb:5 module RBS::Collection::Sources class << self - # source://rbs//lib/rbs/collection/sources.rb#12 + # pkg:gem/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 +# pkg:gem/rbs#lib/rbs/collection/sources/base.rb:6 module RBS::Collection::Sources::Base - # source://rbs//lib/rbs/collection/sources/base.rb#7 + # pkg:gem/rbs#lib/rbs/collection/sources/base.rb:7 def dependencies_of(name, version); end end -# source://rbs//lib/rbs/collection/sources/git.rb#10 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:26 def has?(name, version); end - # source://rbs//lib/rbs/collection/sources/git.rb#43 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:43 def install(dest:, name:, version:, stdout:); end - # source://rbs//lib/rbs/collection/sources/git.rb#223 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:223 def load_metadata(dir:); end - # source://rbs//lib/rbs/collection/sources/git.rb#73 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:73 def manifest_of(name, version); end - # source://rbs//lib/rbs/collection/sources/git.rb#207 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:16 def repo_dir; end - # source://rbs//lib/rbs/collection/sources/git.rb#172 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:16 def revision; end - # source://rbs//lib/rbs/collection/sources/git.rb#113 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:113 def to_lockfile; end - # source://rbs//lib/rbs/collection/sources/git.rb#36 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:36 def versions(name); end - # source://rbs//lib/rbs/collection/sources/git.rb#215 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:183 def commit_hash?; end - # source://rbs//lib/rbs/collection/sources/git.rb#99 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:99 def cp_r(src, dest); end - # source://rbs//lib/rbs/collection/sources/git.rb#123 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:123 def format_config_entry(name, version); end - # source://rbs//lib/rbs/collection/sources/git.rb#168 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:168 def gem_repo_dir; end - # source://rbs//lib/rbs/collection/sources/git.rb#229 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:229 def gems_versions; end - # source://rbs//lib/rbs/collection/sources/git.rb#187 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:187 def git(*cmd, **opt); end # @return [Boolean] # - # source://rbs//lib/rbs/collection/sources/git.rb#191 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:191 def git?(*cmd, **opt); end - # source://rbs//lib/rbs/collection/sources/git.rb#158 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:158 def git_dir; end # @return [Boolean] # - # source://rbs//lib/rbs/collection/sources/git.rb#152 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:152 def need_to_fetch?(revision); end - # source://rbs//lib/rbs/collection/sources/git.rb#130 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:130 def setup!; end - # source://rbs//lib/rbs/collection/sources/git.rb#197 + # pkg:gem/rbs#lib/rbs/collection/sources/git.rb:197 def sh!(*cmd, **opt); end end -# source://rbs//lib/rbs/collection/sources/git.rb#14 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/local.rb:9 def full_path; end # @return [Boolean] # - # source://rbs//lib/rbs/collection/sources/local.rb#17 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/local.rb:32 def install(dest:, name:, version:, stdout:); end - # source://rbs//lib/rbs/collection/sources/local.rb#64 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/local.rb:9 def path; end - # source://rbs//lib/rbs/collection/sources/local.rb#72 + # pkg:gem/rbs#lib/rbs/collection/sources/local.rb:72 def to_lockfile; end - # source://rbs//lib/rbs/collection/sources/local.rb#25 + # pkg:gem/rbs#lib/rbs/collection/sources/local.rb:25 def versions(name); end private - # source://rbs//lib/rbs/collection/sources/local.rb#59 + # pkg:gem/rbs#lib/rbs/collection/sources/local.rb:59 def _install(src, dst); end end # Signatures that are included in gem package as sig/ directory. # -# source://rbs//lib/rbs/collection/sources/rubygems.rb#9 +# pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:9 class RBS::Collection::Sources::Rubygems include ::RBS::Collection::Sources::Base include ::Singleton::SingletonInstanceMethods @@ -2449,40 +2449,40 @@ class RBS::Collection::Sources::Rubygems # @return [Boolean] # - # source://rbs//lib/rbs/collection/sources/rubygems.rb#13 + # pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:13 def has?(name, version); end - # source://rbs//lib/rbs/collection/sources/rubygems.rb#23 + # pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:23 def install(dest:, name:, version:, stdout:); end - # source://rbs//lib/rbs/collection/sources/rubygems.rb#29 + # pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:29 def manifest_of(name, version); end - # source://rbs//lib/rbs/collection/sources/rubygems.rb#36 + # pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:36 def to_lockfile; end - # source://rbs//lib/rbs/collection/sources/rubygems.rb#17 + # pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:17 def versions(name); end private - # source://rbs//lib/rbs/collection/sources/rubygems.rb#42 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/rubygems.rb:11 def allocate; end - # source://rbs//lib/rbs/collection/sources/rubygems.rb#11 + # pkg:gem/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 +# pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:9 class RBS::Collection::Sources::Stdlib include ::RBS::Collection::Sources::Base include ::Singleton::SingletonInstanceMethods @@ -2491,4064 +2491,3988 @@ class RBS::Collection::Sources::Stdlib # @return [Boolean] # - # source://rbs//lib/rbs/collection/sources/stdlib.rb#15 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:15 def has?(name, version); end - # source://rbs//lib/rbs/collection/sources/stdlib.rb#23 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:23 def install(dest:, name:, version:, stdout:); end - # source://rbs//lib/rbs/collection/sources/stdlib.rb#29 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:29 def manifest_of(name, version); end - # source://rbs//lib/rbs/collection/sources/stdlib.rb#38 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:38 def to_lockfile; end - # source://rbs//lib/rbs/collection/sources/stdlib.rb#19 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:19 def versions(name); end private - # source://rbs//lib/rbs/collection/sources/stdlib.rb#44 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:11 def allocate; end - # source://rbs//lib/rbs/collection/sources/stdlib.rb#11 + # pkg:gem/rbs#lib/rbs/collection/sources/stdlib.rb:11 def new(*_arg0); end end end -# source://rbs//lib/rbs/collection/sources/stdlib.rb#13 +# pkg:gem/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 +# pkg:gem/rbs#lib/rbs/constant.rb:4 class RBS::Constant # @return [Constant] a new instance of Constant # - # source://rbs//lib/rbs/constant.rb#9 + # pkg:gem/rbs#lib/rbs/constant.rb:9 def initialize(name:, type:, entry:); end - # source://rbs//lib/rbs/constant.rb#15 + # pkg:gem/rbs#lib/rbs/constant.rb:15 def ==(other); end # Returns the value of attribute entry. # - # source://rbs//lib/rbs/constant.rb#7 + # pkg:gem/rbs#lib/rbs/constant.rb:7 def entry; end - # source://rbs//lib/rbs/constant.rb#22 + # pkg:gem/rbs#lib/rbs/constant.rb:22 def eql?(other); end - # source://rbs//lib/rbs/constant.rb#24 + # pkg:gem/rbs#lib/rbs/constant.rb:24 def hash; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/constant.rb#5 + # pkg:gem/rbs#lib/rbs/constant.rb:5 def name; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/constant.rb#6 + # pkg:gem/rbs#lib/rbs/constant.rb:6 def type; end end -# source://rbs//lib/rbs/errors.rb#578 +# pkg:gem/rbs#lib/rbs/errors.rb:578 class RBS::CyclicClassAliasDefinitionError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [CyclicClassAliasDefinitionError] a new instance of CyclicClassAliasDefinitionError # - # source://rbs//lib/rbs/errors.rb#583 + # pkg:gem/rbs#lib/rbs/errors.rb:583 def initialize(entry); end # Returns the value of attribute alias_entry. # - # source://rbs//lib/rbs/errors.rb#581 + # pkg:gem/rbs#lib/rbs/errors.rb:581 def alias_entry; end - # source://rbs//lib/rbs/errors.rb#589 + # pkg:gem/rbs#lib/rbs/errors.rb:589 def location; end end -# source://rbs//lib/rbs/errors.rb#539 +# pkg:gem/rbs#lib/rbs/errors.rb:539 class RBS::CyclicTypeParameterBound < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [CyclicTypeParameterBound] a new instance of CyclicTypeParameterBound # - # source://rbs//lib/rbs/errors.rb#544 + # pkg:gem/rbs#lib/rbs/errors.rb:544 def initialize(type_name:, method_name:, params:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#542 + # pkg:gem/rbs#lib/rbs/errors.rb:542 def location; end # Returns the value of attribute method_name. # - # source://rbs//lib/rbs/errors.rb#542 + # pkg:gem/rbs#lib/rbs/errors.rb:542 def method_name; end # Returns the value of attribute params. # - # source://rbs//lib/rbs/errors.rb#542 + # pkg:gem/rbs#lib/rbs/errors.rb:542 def params; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#542 + # pkg:gem/rbs#lib/rbs/errors.rb:542 def type_name; end end -# source://rbs//lib/rbs/definition.rb#4 +# pkg:gem/rbs#lib/rbs/definition.rb:4 class RBS::Definition # @return [Definition] a new instance of Definition # - # source://rbs//lib/rbs/definition.rb#302 + # pkg:gem/rbs#lib/rbs/definition.rb:302 def initialize(type_name:, entry:, self_type:, ancestors:); end # Returns the value of attribute ancestors. # - # source://rbs//lib/rbs/definition.rb#296 + # pkg:gem/rbs#lib/rbs/definition.rb:296 def ancestors; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#325 + # pkg:gem/rbs#lib/rbs/definition.rb:325 def class?; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#342 + # pkg:gem/rbs#lib/rbs/definition.rb:342 def class_type?; end # Returns the value of attribute class_variables. # - # source://rbs//lib/rbs/definition.rb#300 + # pkg:gem/rbs#lib/rbs/definition.rb:300 def class_variables; end - # source://rbs//lib/rbs/definition.rb#389 + # pkg:gem/rbs#lib/rbs/definition.rb:389 def each_type(&block); end # Returns the value of attribute entry. # - # source://rbs//lib/rbs/definition.rb#295 + # pkg:gem/rbs#lib/rbs/definition.rb:295 def entry; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#346 + # pkg:gem/rbs#lib/rbs/definition.rb:346 def instance_type?; end # Returns the value of attribute instance_variables. # - # source://rbs//lib/rbs/definition.rb#299 + # pkg:gem/rbs#lib/rbs/definition.rb:299 def instance_variables; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#333 + # pkg:gem/rbs#lib/rbs/definition.rb:333 def interface?; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#350 + # pkg:gem/rbs#lib/rbs/definition.rb:350 def interface_type?; end - # source://rbs//lib/rbs/definition.rb#379 + # pkg:gem/rbs#lib/rbs/definition.rb:379 def map_method_type(&block); end # Returns the value of attribute methods. # - # source://rbs//lib/rbs/definition.rb#298 + # pkg:gem/rbs#lib/rbs/definition.rb:298 def methods; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#329 + # pkg:gem/rbs#lib/rbs/definition.rb:329 def module?; end # Returns the value of attribute self_type. # - # source://rbs//lib/rbs/definition.rb#297 + # pkg:gem/rbs#lib/rbs/definition.rb:297 def self_type; end - # source://rbs//lib/rbs/definition.rb#367 + # pkg:gem/rbs#lib/rbs/definition.rb:367 def sub(s); end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/definition.rb#294 + # pkg:gem/rbs#lib/rbs/definition.rb:294 def type_name; end - # source://rbs//lib/rbs/definition.rb#354 + # pkg:gem/rbs#lib/rbs/definition.rb:354 def type_params; end - # source://rbs//lib/rbs/definition.rb#358 + # pkg:gem/rbs#lib/rbs/definition.rb:358 def type_params_decl; end end -# source://rbs//lib/rbs/definition.rb#209 +# pkg:gem/rbs#lib/rbs/definition.rb:209 module RBS::Definition::Ancestor; end -# source://rbs//lib/rbs/definition.rb#210 +# pkg:gem/rbs#lib/rbs/definition.rb:210 class RBS::Definition::Ancestor::Instance # @return [Instance] a new instance of Instance # - # source://rbs//lib/rbs/definition.rb#213 + # pkg:gem/rbs#lib/rbs/definition.rb:213 def initialize(name:, args:, source:); end - # source://rbs//lib/rbs/definition.rb#219 + # pkg:gem/rbs#lib/rbs/definition.rb:219 def ==(other); end # Returns the value of attribute args. # - # source://rbs//lib/rbs/definition.rb#211 + # pkg:gem/rbs#lib/rbs/definition.rb:211 def args; end - # source://rbs//lib/rbs/definition.rb#223 + # pkg:gem/rbs#lib/rbs/definition.rb:223 def eql?(other); end - # source://rbs//lib/rbs/definition.rb#225 + # pkg:gem/rbs#lib/rbs/definition.rb:225 def hash; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/definition.rb#211 + # pkg:gem/rbs#lib/rbs/definition.rb:211 def name; end # Returns the value of attribute source. # - # source://rbs//lib/rbs/definition.rb#211 + # pkg:gem/rbs#lib/rbs/definition.rb:211 def source; end end -# source://rbs//lib/rbs/definition.rb#230 +# pkg:gem/rbs#lib/rbs/definition.rb:230 class RBS::Definition::Ancestor::Singleton # @return [Singleton] a new instance of Singleton # - # source://rbs//lib/rbs/definition.rb#233 + # pkg:gem/rbs#lib/rbs/definition.rb:233 def initialize(name:); end - # source://rbs//lib/rbs/definition.rb#237 + # pkg:gem/rbs#lib/rbs/definition.rb:237 def ==(other); end - # source://rbs//lib/rbs/definition.rb#241 + # pkg:gem/rbs#lib/rbs/definition.rb:241 def eql?(other); end - # source://rbs//lib/rbs/definition.rb#243 + # pkg:gem/rbs#lib/rbs/definition.rb:243 def hash; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/definition.rb#231 + # pkg:gem/rbs#lib/rbs/definition.rb:231 def name; end end -# source://rbs//lib/rbs/definition.rb#249 +# pkg:gem/rbs#lib/rbs/definition.rb:249 class RBS::Definition::InstanceAncestors # @return [InstanceAncestors] a new instance of InstanceAncestors # - # source://rbs//lib/rbs/definition.rb#254 + # pkg:gem/rbs#lib/rbs/definition.rb:254 def initialize(type_name:, params:, ancestors:); end # Returns the value of attribute ancestors. # - # source://rbs//lib/rbs/definition.rb#252 + # pkg:gem/rbs#lib/rbs/definition.rb:252 def ancestors; end - # source://rbs//lib/rbs/definition.rb#260 + # pkg:gem/rbs#lib/rbs/definition.rb:260 def apply(args, env:, location:); end # Returns the value of attribute params. # - # source://rbs//lib/rbs/definition.rb#251 + # pkg:gem/rbs#lib/rbs/definition.rb:251 def params; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/definition.rb#250 + # pkg:gem/rbs#lib/rbs/definition.rb:250 def type_name; end end -# source://rbs//lib/rbs/definition.rb#30 +# pkg:gem/rbs#lib/rbs/definition.rb:30 class RBS::Definition::Method # @return [Method] a new instance of Method # - # source://rbs//lib/rbs/definition.rb#107 + # pkg:gem/rbs#lib/rbs/definition.rb:107 def initialize(super_method:, defs:, accessibility:, alias_of:, annotations: T.unsafe(nil), alias_member: T.unsafe(nil)); end - # source://rbs//lib/rbs/definition.rb#117 + # pkg:gem/rbs#lib/rbs/definition.rb:117 def ==(other); end # Returns the value of attribute accessibility. # - # source://rbs//lib/rbs/definition.rb#101 + # pkg:gem/rbs#lib/rbs/definition.rb:101 def accessibility; end # Returns the value of attribute alias_member. # - # source://rbs//lib/rbs/definition.rb#105 + # pkg:gem/rbs#lib/rbs/definition.rb:105 def alias_member; end # Returns the value of attribute alias_of. # - # source://rbs//lib/rbs/definition.rb#104 + # pkg:gem/rbs#lib/rbs/definition.rb:104 def alias_of; end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/definition.rb#103 + # pkg:gem/rbs#lib/rbs/definition.rb:103 def annotations; end - # source://rbs//lib/rbs/definition.rb#151 + # pkg:gem/rbs#lib/rbs/definition.rb:151 def comments; end - # source://rbs//lib/rbs/definition.rb#133 + # pkg:gem/rbs#lib/rbs/definition.rb:133 def defined_in; end # Returns the value of attribute defs. # - # source://rbs//lib/rbs/definition.rb#100 + # pkg:gem/rbs#lib/rbs/definition.rb:100 def defs; end - # source://rbs//lib/rbs/definition.rb#127 + # pkg:gem/rbs#lib/rbs/definition.rb:127 def eql?(other); end # Returns the value of attribute extra_annotations. # - # source://rbs//lib/rbs/definition.rb#102 + # pkg:gem/rbs#lib/rbs/definition.rb:102 def extra_annotations; end - # source://rbs//lib/rbs/definition.rb#129 + # pkg:gem/rbs#lib/rbs/definition.rb:129 def hash; end - # source://rbs//lib/rbs/definition.rb#140 + # pkg:gem/rbs#lib/rbs/definition.rb:140 def implemented_in; end - # source://rbs//lib/rbs/definition.rb#190 + # pkg:gem/rbs#lib/rbs/definition.rb:190 def map_method_type(&block); end - # source://rbs//lib/rbs/definition.rb#176 + # pkg:gem/rbs#lib/rbs/definition.rb:176 def map_type(&block); end - # source://rbs//lib/rbs/definition.rb#183 + # pkg:gem/rbs#lib/rbs/definition.rb:183 def map_type_bound(&block); end - # source://rbs//lib/rbs/definition.rb#155 + # pkg:gem/rbs#lib/rbs/definition.rb:155 def members; end - # source://rbs//lib/rbs/definition.rb#147 + # pkg:gem/rbs#lib/rbs/definition.rb:147 def method_types; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#163 + # pkg:gem/rbs#lib/rbs/definition.rb:163 def private?; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#159 + # pkg:gem/rbs#lib/rbs/definition.rb:159 def public?; end - # source://rbs//lib/rbs/definition.rb#167 + # pkg:gem/rbs#lib/rbs/definition.rb:167 def sub(s); end # Returns the value of attribute super_method. # - # source://rbs//lib/rbs/definition.rb#99 + # pkg:gem/rbs#lib/rbs/definition.rb:99 def super_method; end - # source://rbs//lib/rbs/definition.rb#196 + # pkg:gem/rbs#lib/rbs/definition.rb:196 def update(super_method: T.unsafe(nil), defs: T.unsafe(nil), accessibility: T.unsafe(nil), alias_of: T.unsafe(nil), annotations: T.unsafe(nil), alias_member: T.unsafe(nil)); end end -# source://rbs//lib/rbs/definition.rb#31 +# pkg:gem/rbs#lib/rbs/definition.rb:31 class RBS::Definition::Method::TypeDef # @return [TypeDef] a new instance of TypeDef # - # source://rbs//lib/rbs/definition.rb#40 + # pkg:gem/rbs#lib/rbs/definition.rb:40 def initialize(type:, member:, defined_in:, implemented_in:, overload_annotations: T.unsafe(nil)); end - # source://rbs//lib/rbs/definition.rb#50 + # pkg:gem/rbs#lib/rbs/definition.rb:50 def ==(other); end # Returns the value of attribute annotations. # - # source://rbs//lib/rbs/definition.rb#38 + # pkg:gem/rbs#lib/rbs/definition.rb:38 def annotations; end - # source://rbs//lib/rbs/definition.rb#64 + # pkg:gem/rbs#lib/rbs/definition.rb:64 def comment; end # Returns the value of attribute defined_in. # - # source://rbs//lib/rbs/definition.rb#34 + # pkg:gem/rbs#lib/rbs/definition.rb:34 def defined_in; end - # source://rbs//lib/rbs/definition.rb#89 + # pkg:gem/rbs#lib/rbs/definition.rb:89 def each_annotation(&block); end - # source://rbs//lib/rbs/definition.rb#58 + # pkg:gem/rbs#lib/rbs/definition.rb:58 def eql?(other); end - # source://rbs//lib/rbs/definition.rb#60 + # pkg:gem/rbs#lib/rbs/definition.rb:60 def hash; end # Returns the value of attribute implemented_in. # - # source://rbs//lib/rbs/definition.rb#35 + # pkg:gem/rbs#lib/rbs/definition.rb:35 def implemented_in; end # Returns the value of attribute member. # - # source://rbs//lib/rbs/definition.rb#33 + # pkg:gem/rbs#lib/rbs/definition.rb:33 def member; end # Returns the value of attribute member_annotations. # - # source://rbs//lib/rbs/definition.rb#36 + # pkg:gem/rbs#lib/rbs/definition.rb:36 def member_annotations; end # @return [Boolean] # - # source://rbs//lib/rbs/definition.rb#80 + # pkg:gem/rbs#lib/rbs/definition.rb:80 def overload?; end # Returns the value of attribute overload_annotations. # - # source://rbs//lib/rbs/definition.rb#37 + # pkg:gem/rbs#lib/rbs/definition.rb:37 def overload_annotations; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/definition.rb#32 + # pkg:gem/rbs#lib/rbs/definition.rb:32 def type; end - # source://rbs//lib/rbs/definition.rb#73 + # pkg:gem/rbs#lib/rbs/definition.rb:73 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#284 +# pkg:gem/rbs#lib/rbs/definition.rb:284 class RBS::Definition::SingletonAncestors # @return [SingletonAncestors] a new instance of SingletonAncestors # - # source://rbs//lib/rbs/definition.rb#288 + # pkg:gem/rbs#lib/rbs/definition.rb:288 def initialize(type_name:, ancestors:); end # Returns the value of attribute ancestors. # - # source://rbs//lib/rbs/definition.rb#286 + # pkg:gem/rbs#lib/rbs/definition.rb:286 def ancestors; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/definition.rb#285 + # pkg:gem/rbs#lib/rbs/definition.rb:285 def type_name; end end -# source://rbs//lib/rbs/definition.rb#5 +# pkg:gem/rbs#lib/rbs/definition.rb:5 class RBS::Definition::Variable # @return [Variable] a new instance of Variable # - # source://rbs//lib/rbs/definition.rb#11 + # pkg:gem/rbs#lib/rbs/definition.rb:11 def initialize(parent_variable:, type:, declared_in:, source:); end # Returns the value of attribute declared_in. # - # source://rbs//lib/rbs/definition.rb#8 + # pkg:gem/rbs#lib/rbs/definition.rb:8 def declared_in; end # Returns the value of attribute parent_variable. # - # source://rbs//lib/rbs/definition.rb#6 + # pkg:gem/rbs#lib/rbs/definition.rb:6 def parent_variable; end # Returns the value of attribute source. # - # source://rbs//lib/rbs/definition.rb#9 + # pkg:gem/rbs#lib/rbs/definition.rb:9 def source; end - # source://rbs//lib/rbs/definition.rb#18 + # pkg:gem/rbs#lib/rbs/definition.rb:18 def sub(s); end # Returns the value of attribute type. # - # source://rbs//lib/rbs/definition.rb#7 + # pkg:gem/rbs#lib/rbs/definition.rb:7 def type; end end -# source://rbs//lib/rbs/definition_builder.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:6 def ancestor_builder; end - # source://rbs//lib/rbs/definition_builder.rb#172 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:172 def build_instance(type_name); end - # source://rbs//lib/rbs/definition_builder.rb#43 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:43 def build_interface(type_name); end - # source://rbs//lib/rbs/definition_builder.rb#304 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:304 def build_singleton(type_name); end # Builds a definition for singleton without .new method. # - # source://rbs//lib/rbs/definition_builder.rb#234 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:234 def build_singleton0(type_name); end - # source://rbs//lib/rbs/definition_builder.rb#85 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:85 def define_instance(definition, type_name, subst, define_class_vars:); end - # source://rbs//lib/rbs/definition_builder.rb#33 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:33 def define_interface(definition, type_name, subst); end - # source://rbs//lib/rbs/definition_builder.rb#646 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:646 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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:5 def env; end - # source://rbs//lib/rbs/definition_builder.rb#861 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:861 def expand_alias(type_name); end - # source://rbs//lib/rbs/definition_builder.rb#865 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:865 def expand_alias1(type_name); end - # source://rbs//lib/rbs/definition_builder.rb#872 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:872 def expand_alias2(type_name, args); end - # source://rbs//lib/rbs/definition_builder.rb#585 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:585 def import_methods(definition, module_name, module_methods, interfaces_methods, subst, self_type_methods); end - # source://rbs//lib/rbs/definition_builder.rb#547 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:547 def insert_variable(type_name, variables, name:, type:, source:); end # Returns the value of attribute instance_cache. # - # source://rbs//lib/rbs/definition_builder.rb#9 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:12 def interface_cache; end - # source://rbs//lib/rbs/definition_builder.rb#417 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:417 def interface_methods(interface_ancestors); end # Returns the value of attribute method_builder. # - # source://rbs//lib/rbs/definition_builder.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:10 def singleton_cache; end - # source://rbs//lib/rbs/definition_builder.rb#447 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:447 def source_location(source, decl); end - # source://rbs//lib/rbs/definition_builder.rb#66 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:66 def tapp_subst(name, args); end - # source://rbs//lib/rbs/definition_builder.rb#857 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:857 def try_cache(type_name, cache:); end - # source://rbs//lib/rbs/definition_builder.rb#896 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:896 def update(env:, except:, ancestor_builder:); end - # source://rbs//lib/rbs/definition_builder.rb#437 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:437 def validate_params_with(type_params, result:); end # @raise [NoTypeFoundError] # - # source://rbs//lib/rbs/definition_builder.rb#925 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:925 def validate_type_name(name, location); end - # source://rbs//lib/rbs/definition_builder.rb#465 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:465 def validate_type_params(definition, ancestors:, methods:); end - # source://rbs//lib/rbs/definition_builder.rb#914 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:914 def validate_type_presence(type); end - # source://rbs//lib/rbs/definition_builder.rb#557 + # pkg:gem/rbs#lib/rbs/definition_builder.rb:557 def validate_variable(var); end end -# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:151 def env; end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#611 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:611 def fill_ancestor_source(ancestor, name:, source:, &block); end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#439 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:439 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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:154 def instance_ancestors_cache; end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#575 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:575 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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:160 def interface_ancestors_cache; end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#421 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:421 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#350 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:350 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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:153 def one_instance_ancestors_cache; end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#331 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:331 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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:159 def one_interface_ancestors_cache; end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#277 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:277 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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:156 def one_singleton_ancestors_cache; end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#520 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:520 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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/ancestor_builder.rb:29 def each_ancestor(&block); end - # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#86 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:91 def initialize(env:); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#209 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:209 def build_alias(methods, type, member:); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#214 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:214 def build_attribute(methods, type, member:, accessibility:); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#99 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:99 def build_instance(type_name); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#189 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:189 def build_interface(type_name); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#230 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:230 def build_method(methods, type, member:, accessibility:); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#160 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:160 def build_singleton(type_name); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#241 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:241 def each_rbs_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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:88 def singleton_methods; end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#254 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:254 def update(env:, except:); end end -# source://rbs//lib/rbs/definition_builder/method_builder.rb#6 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:30 def initialize(type:); end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:27 def type; end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#35 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:35 def validate!; end end -# source://rbs//lib/rbs/definition_builder/method_builder.rb#7 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:14 def accessibility; end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#10 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:10 def original; end class << self - # source://rbs//lib/rbs/definition_builder/method_builder.rb#22 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:66 def methods; end - # source://rbs//lib/rbs/definition_builder/method_builder.rb#76 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/definition_builder/method_builder.rb:72 def tsort_each_node(&block); end end -# source://rbs//lib/rbs/errors.rb#21 +# pkg:gem/rbs#lib/rbs/errors.rb:21 class RBS::DefinitionError < ::RBS::BaseError; end -# source://rbs//lib/rbs/errors.rb#23 +# pkg:gem/rbs#lib/rbs/errors.rb:23 module RBS::DetailedMessageable - # source://rbs//lib/rbs/errors.rb#24 + # pkg:gem/rbs#lib/rbs/errors.rb:24 def detailed_message(highlight: T.unsafe(nil), **_arg1); end end -# source://rbs//lib/rbs/diff.rb#4 +# pkg:gem/rbs#lib/rbs/diff.rb:4 class RBS::Diff # @return [Diff] a new instance of Diff # - # source://rbs//lib/rbs/diff.rb#5 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/diff.rb:13 def each_diff(&block); end private - # source://rbs//lib/rbs/diff.rb#96 + # pkg:gem/rbs#lib/rbs/diff.rb:96 def build_builder(env); end - # source://rbs//lib/rbs/diff.rb#77 + # pkg:gem/rbs#lib/rbs/diff.rb:77 def build_env(path); end - # source://rbs//lib/rbs/diff.rb#49 + # pkg:gem/rbs#lib/rbs/diff.rb:49 def build_methods(path); end - # source://rbs//lib/rbs/diff.rb#116 + # pkg:gem/rbs#lib/rbs/diff.rb:116 def constant_to_s(constant); end - # source://rbs//lib/rbs/diff.rb#100 + # pkg:gem/rbs#lib/rbs/diff.rb:100 def definition_method_to_s(key, kind, definition_method); end - # source://rbs//lib/rbs/diff.rb#38 + # pkg:gem/rbs#lib/rbs/diff.rb:38 def each_diff_constants(before_constant_children, after_constant_children); end - # source://rbs//lib/rbs/diff.rb#27 + # pkg:gem/rbs#lib/rbs/diff.rb:27 def each_diff_methods(kind, before_methods, after_methods); end end -# source://rbs//lib/rbs/errors.rb#419 +# pkg:gem/rbs#lib/rbs/errors.rb:419 class RBS::DuplicatedDeclarationError < ::RBS::LoadingError # @return [DuplicatedDeclarationError] a new instance of DuplicatedDeclarationError # - # source://rbs//lib/rbs/errors.rb#423 + # pkg:gem/rbs#lib/rbs/errors.rb:423 def initialize(name, *decls); end # Returns the value of attribute decls. # - # source://rbs//lib/rbs/errors.rb#421 + # pkg:gem/rbs#lib/rbs/errors.rb:421 def decls; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/errors.rb#420 + # pkg:gem/rbs#lib/rbs/errors.rb:420 def name; end end -# source://rbs//lib/rbs/errors.rb#292 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:299 def initialize(type:, method_name:, member:); end - # source://rbs//lib/rbs/errors.rb#307 + # pkg:gem/rbs#lib/rbs/errors.rb:307 def location; end # Returns the value of attribute member. # - # source://rbs//lib/rbs/errors.rb#297 + # pkg:gem/rbs#lib/rbs/errors.rb:297 def member; end # Returns the value of attribute method_name. # - # source://rbs//lib/rbs/errors.rb#296 + # pkg:gem/rbs#lib/rbs/errors.rb:296 def method_name; end - # source://rbs//lib/rbs/errors.rb#311 + # pkg:gem/rbs#lib/rbs/errors.rb:311 def qualified_method_name; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/errors.rb#295 + # pkg:gem/rbs#lib/rbs/errors.rb:295 def type; end - # source://rbs//lib/rbs/errors.rb#320 + # pkg:gem/rbs#lib/rbs/errors.rb:320 def type_name; end end -# source://rbs//lib/rbs/errors.rb#251 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:258 def initialize(type:, method_name:, members:); end - # source://rbs//lib/rbs/errors.rb#283 + # pkg:gem/rbs#lib/rbs/errors.rb:283 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/errors.rb#256 + # pkg:gem/rbs#lib/rbs/errors.rb:256 def members; end # Returns the value of attribute method_name. # - # source://rbs//lib/rbs/errors.rb#255 + # pkg:gem/rbs#lib/rbs/errors.rb:255 def method_name; end - # source://rbs//lib/rbs/errors.rb#287 + # pkg:gem/rbs#lib/rbs/errors.rb:287 def other_locations; end - # source://rbs//lib/rbs/errors.rb#270 + # pkg:gem/rbs#lib/rbs/errors.rb:270 def qualified_method_name; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/errors.rb#254 + # pkg:gem/rbs#lib/rbs/errors.rb:254 def type; end - # source://rbs//lib/rbs/errors.rb#279 + # pkg:gem/rbs#lib/rbs/errors.rb:279 def type_name; end end -# source://rbs//lib/rbs/environment.rb#4 +# pkg:gem/rbs#lib/rbs/environment.rb:4 class RBS::Environment # @return [Environment] a new instance of Environment # - # source://rbs//lib/rbs/environment.rb#48 + # pkg:gem/rbs#lib/rbs/environment.rb:48 def initialize; end - # source://rbs//lib/rbs/environment.rb#841 + # pkg:gem/rbs#lib/rbs/environment.rb:841 def absolute_type(resolver, map, type, context:); end - # source://rbs//lib/rbs/environment.rb#836 + # pkg:gem/rbs#lib/rbs/environment.rb:836 def absolute_type_name(resolver, map, type_name, context:); end - # source://rbs//lib/rbs/environment.rb#417 + # pkg:gem/rbs#lib/rbs/environment.rb:417 def add_source(source); end - # source://rbs//lib/rbs/environment.rb#522 + # pkg:gem/rbs#lib/rbs/environment.rb:522 def append_context(context, decl); end - # source://rbs//lib/rbs/environment.rb#852 + # pkg:gem/rbs#lib/rbs/environment.rb:852 def buffers; end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#117 + # pkg:gem/rbs#lib/rbs/environment.rb:117 def class_alias?(name); end # Returns the value of attribute class_alias_decls. # - # source://rbs//lib/rbs/environment.rb#10 + # pkg:gem/rbs#lib/rbs/environment.rb:10 def class_alias_decls; end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#101 + # pkg:gem/rbs#lib/rbs/environment.rb:101 def class_decl?(name); end # Returns the value of attribute class_decls. # - # source://rbs//lib/rbs/environment.rb#5 + # pkg:gem/rbs#lib/rbs/environment.rb:5 def class_decls; end - # source://rbs//lib/rbs/environment.rb#125 + # pkg:gem/rbs#lib/rbs/environment.rb:125 def class_entry(type_name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#97 + # pkg:gem/rbs#lib/rbs/environment.rb:97 def constant_decl?(name); end # Returns the value of attribute constant_decls. # - # source://rbs//lib/rbs/environment.rb#8 + # pkg:gem/rbs#lib/rbs/environment.rb:8 def constant_decls; end - # source://rbs//lib/rbs/environment.rb#173 + # pkg:gem/rbs#lib/rbs/environment.rb:173 def constant_entry(type_name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#93 + # pkg:gem/rbs#lib/rbs/environment.rb:93 def constant_name?(name); end - # source://rbs//lib/rbs/environment.rb#14 + # pkg:gem/rbs#lib/rbs/environment.rb:14 def declarations; end - # source://rbs//lib/rbs/environment.rb#432 + # pkg:gem/rbs#lib/rbs/environment.rb:432 def each_rbs_source(&block); end - # source://rbs//lib/rbs/environment.rb#444 + # pkg:gem/rbs#lib/rbs/environment.rb:444 def each_ruby_source(&block); end # Returns the value of attribute global_decls. # - # source://rbs//lib/rbs/environment.rb#9 + # pkg:gem/rbs#lib/rbs/environment.rb:9 def global_decls; end - # source://rbs//lib/rbs/environment.rb#272 + # pkg:gem/rbs#lib/rbs/environment.rb:272 def insert_rbs_decl(decl, context:, namespace:); end - # source://rbs//lib/rbs/environment.rb#369 + # pkg:gem/rbs#lib/rbs/environment.rb:369 def insert_ruby_decl(decl, context:, namespace:); end - # source://rbs//lib/rbs/environment.rb#847 + # pkg:gem/rbs#lib/rbs/environment.rb:847 def inspect; end # Returns the value of attribute interface_decls. # - # source://rbs//lib/rbs/environment.rb#6 + # pkg:gem/rbs#lib/rbs/environment.rb:6 def interface_decls; end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#75 + # pkg:gem/rbs#lib/rbs/environment.rb:75 def interface_name?(name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#109 + # pkg:gem/rbs#lib/rbs/environment.rb:109 def module_alias?(name); end - # source://rbs//lib/rbs/environment.rb#165 + # pkg:gem/rbs#lib/rbs/environment.rb:165 def module_class_entry(type_name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#105 + # pkg:gem/rbs#lib/rbs/environment.rb:105 def module_decl?(name); end - # source://rbs//lib/rbs/environment.rb#134 + # pkg:gem/rbs#lib/rbs/environment.rb:134 def module_entry(type_name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#83 + # pkg:gem/rbs#lib/rbs/environment.rb:83 def module_name?(name); end - # source://rbs//lib/rbs/environment.rb#231 + # pkg:gem/rbs#lib/rbs/environment.rb:231 def normalize_module_name(name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#235 + # pkg:gem/rbs#lib/rbs/environment.rb:235 def normalize_module_name?(name); end - # source://rbs//lib/rbs/environment.rb#227 + # pkg:gem/rbs#lib/rbs/environment.rb:227 def normalize_type_name(name); end - # source://rbs//lib/rbs/environment.rb#196 + # pkg:gem/rbs#lib/rbs/environment.rb:196 def normalize_type_name!(name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#177 + # pkg:gem/rbs#lib/rbs/environment.rb:177 def normalize_type_name?(name); end - # source://rbs//lib/rbs/environment.rb#143 + # pkg:gem/rbs#lib/rbs/environment.rb:143 def normalized_class_entry(type_name); end - # source://rbs//lib/rbs/environment.rb#169 + # pkg:gem/rbs#lib/rbs/environment.rb:169 def normalized_module_class_entry(type_name); end - # source://rbs//lib/rbs/environment.rb#154 + # pkg:gem/rbs#lib/rbs/environment.rb:154 def normalized_module_entry(type_name); end - # source://rbs//lib/rbs/environment.rb#222 + # pkg:gem/rbs#lib/rbs/environment.rb:222 def normalized_type_name!(name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#209 + # pkg:gem/rbs#lib/rbs/environment.rb:209 def normalized_type_name?(type_name); end - # source://rbs//lib/rbs/environment.rb#531 + # pkg:gem/rbs#lib/rbs/environment.rb:531 def resolve_declaration(resolver, map, decl, context:, prefix:); end - # source://rbs//lib/rbs/environment.rb#722 + # pkg:gem/rbs#lib/rbs/environment.rb:722 def resolve_member(resolver, map, member, context:); end - # source://rbs//lib/rbs/environment.rb#822 + # pkg:gem/rbs#lib/rbs/environment.rb:822 def resolve_method_type(resolver, map, type, context:); end - # source://rbs//lib/rbs/environment.rb#667 + # pkg:gem/rbs#lib/rbs/environment.rb:667 def resolve_ruby_decl(resolver, decl, context:, prefix:); end - # source://rbs//lib/rbs/environment.rb#708 + # pkg:gem/rbs#lib/rbs/environment.rb:708 def resolve_ruby_member(resolver, member, context:); end - # source://rbs//lib/rbs/environment.rb#462 + # pkg:gem/rbs#lib/rbs/environment.rb:462 def resolve_signature(resolver, table, dirs, decls, only: T.unsafe(nil)); end - # source://rbs//lib/rbs/environment.rb#484 + # pkg:gem/rbs#lib/rbs/environment.rb:484 def resolve_type_names(only: T.unsafe(nil)); end - # source://rbs//lib/rbs/environment.rb#830 + # pkg:gem/rbs#lib/rbs/environment.rb:830 def resolve_type_params(resolver, map, params, context:); end - # source://rbs//lib/rbs/environment.rb#516 + # pkg:gem/rbs#lib/rbs/environment.rb:516 def resolver_context(*nesting); end # Returns the value of attribute sources. # - # source://rbs//lib/rbs/environment.rb#12 + # pkg:gem/rbs#lib/rbs/environment.rb:12 def sources; end # Returns the value of attribute type_alias_decls. # - # source://rbs//lib/rbs/environment.rb#7 + # pkg:gem/rbs#lib/rbs/environment.rb:7 def type_alias_decls; end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#79 + # pkg:gem/rbs#lib/rbs/environment.rb:79 def type_alias_name?(name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment.rb#87 + # pkg:gem/rbs#lib/rbs/environment.rb:87 def type_name?(name); end - # source://rbs//lib/rbs/environment.rb#856 + # pkg:gem/rbs#lib/rbs/environment.rb:856 def unload(buffers); end - # source://rbs//lib/rbs/environment.rb#456 + # pkg:gem/rbs#lib/rbs/environment.rb:456 def validate_type_params; end private - # source://rbs//lib/rbs/environment.rb#59 + # pkg:gem/rbs#lib/rbs/environment.rb:59 def initialize_copy(other); end class << self - # source://rbs//lib/rbs/environment.rb#69 + # pkg:gem/rbs#lib/rbs/environment.rb:69 def from_loader(loader); end end end -# source://rbs//lib/rbs/environment.rb#33 +# pkg:gem/rbs#lib/rbs/environment.rb:33 class RBS::Environment::ClassAliasEntry < ::RBS::Environment::SingleEntry; end -# source://rbs//lib/rbs/environment/class_entry.rb#5 +# pkg:gem/rbs#lib/rbs/environment/class_entry.rb:5 class RBS::Environment::ClassEntry # @return [ClassEntry] a new instance of ClassEntry # - # source://rbs//lib/rbs/environment/class_entry.rb#10 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:10 def initialize(name); end - # source://rbs//lib/rbs/environment/class_entry.rb#15 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:15 def <<(context_decl); end # Returns the value of attribute context_decls. # - # source://rbs//lib/rbs/environment/class_entry.rb#8 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:8 def context_decls; end - # source://rbs//lib/rbs/environment/class_entry.rb#21 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:21 def each_decl(&block); end # @return [Boolean] # - # source://rbs//lib/rbs/environment/class_entry.rb#31 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:31 def empty?; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/environment/class_entry.rb#6 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:6 def name; end - # source://rbs//lib/rbs/environment/class_entry.rb#35 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:35 def primary_decl; end - # source://rbs//lib/rbs/environment/class_entry.rb#47 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:47 def type_params; end - # source://rbs//lib/rbs/environment/class_entry.rb#52 + # pkg:gem/rbs#lib/rbs/environment/class_entry.rb:52 def validate_type_params; end end -# source://rbs//lib/rbs/environment.rb#42 +# pkg:gem/rbs#lib/rbs/environment.rb:42 class RBS::Environment::ConstantEntry < ::RBS::Environment::SingleEntry; end -# source://rbs//lib/rbs/environment.rb#45 +# pkg:gem/rbs#lib/rbs/environment.rb:45 class RBS::Environment::GlobalEntry < ::RBS::Environment::SingleEntry; end -# source://rbs//lib/rbs/environment.rb#36 +# pkg:gem/rbs#lib/rbs/environment.rb:36 class RBS::Environment::InterfaceEntry < ::RBS::Environment::SingleEntry; end -# source://rbs//lib/rbs/environment.rb#30 +# pkg:gem/rbs#lib/rbs/environment.rb:30 class RBS::Environment::ModuleAliasEntry < ::RBS::Environment::SingleEntry; end -# source://rbs//lib/rbs/environment/module_entry.rb#5 +# pkg:gem/rbs#lib/rbs/environment/module_entry.rb:5 class RBS::Environment::ModuleEntry # @return [ModuleEntry] a new instance of ModuleEntry # - # source://rbs//lib/rbs/environment/module_entry.rb#10 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:10 def initialize(name); end - # source://rbs//lib/rbs/environment/module_entry.rb#15 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:15 def <<(context_decl); end # Returns the value of attribute context_decls. # - # source://rbs//lib/rbs/environment/module_entry.rb#8 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:8 def context_decls; end - # source://rbs//lib/rbs/environment/module_entry.rb#20 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:20 def each_decl(&block); end # @return [Boolean] # - # source://rbs//lib/rbs/environment/module_entry.rb#30 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:30 def empty?; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/environment/module_entry.rb#6 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:6 def name; end - # source://rbs//lib/rbs/environment/module_entry.rb#34 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:34 def primary_decl; end - # source://rbs//lib/rbs/environment/module_entry.rb#43 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:43 def self_types; end - # source://rbs//lib/rbs/environment/module_entry.rb#38 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:38 def type_params; end - # source://rbs//lib/rbs/environment/module_entry.rb#49 + # pkg:gem/rbs#lib/rbs/environment/module_entry.rb:49 def validate_type_params; end end -# source://rbs//lib/rbs/environment.rb#18 +# pkg:gem/rbs#lib/rbs/environment.rb:18 class RBS::Environment::SingleEntry # @return [SingleEntry] a new instance of SingleEntry # - # source://rbs//lib/rbs/environment.rb#23 + # pkg:gem/rbs#lib/rbs/environment.rb:23 def initialize(name:, decl:, context:); end # Returns the value of attribute context. # - # source://rbs//lib/rbs/environment.rb#20 + # pkg:gem/rbs#lib/rbs/environment.rb:20 def context; end # Returns the value of attribute decl. # - # source://rbs//lib/rbs/environment.rb#21 + # pkg:gem/rbs#lib/rbs/environment.rb:21 def decl; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/environment.rb#19 + # pkg:gem/rbs#lib/rbs/environment.rb:19 def name; end end -# source://rbs//lib/rbs/environment.rb#39 +# pkg:gem/rbs#lib/rbs/environment.rb:39 class RBS::Environment::TypeAliasEntry < ::RBS::Environment::SingleEntry; end -# source://rbs//lib/rbs/environment/use_map.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment/use_map.rb:30 def initialize(table:); end - # source://rbs//lib/rbs/environment/use_map.rb#36 + # pkg:gem/rbs#lib/rbs/environment/use_map.rb:36 def build_map(clause); end - # source://rbs//lib/rbs/environment/use_map.rb#72 + # pkg:gem/rbs#lib/rbs/environment/use_map.rb:72 def resolve(type_name); end # @return [Boolean] # - # source://rbs//lib/rbs/environment/use_map.rb#53 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment/use_map.rb:28 def use_dirs; end end -# source://rbs//lib/rbs/environment/use_map.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment/use_map.rb:7 def children; end - # source://rbs//lib/rbs/environment/use_map.rb#14 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment/use_map.rb:7 def known_types; end end -# source://rbs//lib/rbs/environment_loader.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:24 def dirs; end - # source://rbs//lib/rbs/environment_loader.rb#131 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:131 def each_dir; end - # source://rbs//lib/rbs/environment_loader.rb#154 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:154 def each_signature; end # @return [Boolean] # - # source://rbs//lib/rbs/environment_loader.rb#104 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:23 def libs; end - # source://rbs//lib/rbs/environment_loader.rb#112 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:21 def repository; end - # source://rbs//lib/rbs/environment_loader.rb#65 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:65 def resolve_dependencies(library:, version:); end class << self - # source://rbs//lib/rbs/environment_loader.rb#28 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:28 def gem_sig_path(name, version); end end end -# source://rbs//lib/rbs/environment_loader.rb#26 +# pkg:gem/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 +# pkg:gem/rbs#lib/rbs/environment_loader.rb:17 class RBS::EnvironmentLoader::Library < ::Struct; end -# source://rbs//lib/rbs/environment_loader.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_loader.rb:6 def library; end end -# source://rbs//lib/rbs/environment_walker.rb#4 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:11 def initialize(env:); end - # source://rbs//lib/rbs/environment_walker.rb#16 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:16 def builder; end - # source://rbs//lib/rbs/environment_walker.rb#99 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:99 def each_type_name(type, &block); end - # source://rbs//lib/rbs/environment_walker.rb#105 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:9 def env; end - # source://rbs//lib/rbs/environment_walker.rb#20 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:25 def only_ancestors?; end - # source://rbs//lib/rbs/environment_walker.rb#44 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:44 def tsort_each_child(node, &block); end - # source://rbs//lib/rbs/environment_walker.rb#31 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:31 def tsort_each_node(&block); end end -# source://rbs//lib/rbs/environment_walker.rb#5 +# pkg:gem/rbs#lib/rbs/environment_walker.rb:5 class RBS::EnvironmentWalker::InstanceNode < ::Struct - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def type_name; end - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def type_name=(_); end class << self - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def [](*_arg0); end - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def inspect; end - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def keyword_init?; end - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def members; end - # source://rbs//lib/rbs/environment_walker.rb#5 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:5 def new(*_arg0); end end end -# source://rbs//lib/rbs/environment_walker.rb#6 +# pkg:gem/rbs#lib/rbs/environment_walker.rb:6 class RBS::EnvironmentWalker::SingletonNode < ::Struct - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def type_name; end - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def type_name=(_); end class << self - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def [](*_arg0); end - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def inspect; end - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def keyword_init?; end - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def members; end - # source://rbs//lib/rbs/environment_walker.rb#6 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:6 def new(*_arg0); end end end -# source://rbs//lib/rbs/environment_walker.rb#7 +# pkg:gem/rbs#lib/rbs/environment_walker.rb:7 class RBS::EnvironmentWalker::TypeNameNode < ::Struct - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def type_name; end - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def type_name=(_); end class << self - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def [](*_arg0); end - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def inspect; end - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def keyword_init?; end - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def members; end - # source://rbs//lib/rbs/environment_walker.rb#7 + # pkg:gem/rbs#lib/rbs/environment_walker.rb:7 def new(*_arg0); end end end -# source://rbs//lib/rbs/factory.rb#4 +# pkg:gem/rbs#lib/rbs/factory.rb:4 class RBS::Factory - # source://rbs//lib/rbs/factory.rb#5 + # pkg:gem/rbs#lib/rbs/factory.rb:5 def type_name(string); end end -# source://rbs//lib/rbs/file_finder.rb#4 +# pkg:gem/rbs#lib/rbs/file_finder.rb:4 module RBS::FileFinder class << self - # source://rbs//lib/rbs/file_finder.rb#7 + # pkg:gem/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#407 +# pkg:gem/rbs#lib/rbs/errors.rb:407 class RBS::GenericParameterMismatchError < ::RBS::LoadingError # @return [GenericParameterMismatchError] a new instance of GenericParameterMismatchError # - # source://rbs//lib/rbs/errors.rb#411 + # pkg:gem/rbs#lib/rbs/errors.rb:411 def initialize(name:, decl:, location: T.unsafe(nil)); end # Returns the value of attribute decl. # - # source://rbs//lib/rbs/errors.rb#409 + # pkg:gem/rbs#lib/rbs/errors.rb:409 def decl; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/errors.rb#408 + # pkg:gem/rbs#lib/rbs/errors.rb:408 def name; end end -# source://rbs//lib/rbs/errors.rb#554 +# pkg:gem/rbs#lib/rbs/errors.rb:554 class RBS::InconsistentClassModuleAliasError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [InconsistentClassModuleAliasError] a new instance of InconsistentClassModuleAliasError # - # source://rbs//lib/rbs/errors.rb#559 + # pkg:gem/rbs#lib/rbs/errors.rb:559 def initialize(entry); end # Returns the value of attribute alias_entry. # - # source://rbs//lib/rbs/errors.rb#557 + # pkg:gem/rbs#lib/rbs/errors.rb:557 def alias_entry; end - # source://rbs//lib/rbs/errors.rb#573 + # pkg:gem/rbs#lib/rbs/errors.rb:573 def location; end end -# source://rbs//lib/rbs/errors.rb#187 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:192 def initialize(super_decl); end - # source://rbs//lib/rbs/errors.rb#198 + # pkg:gem/rbs#lib/rbs/errors.rb:198 def location; end # Returns the value of attribute super_decl. # - # source://rbs//lib/rbs/errors.rb#190 + # pkg:gem/rbs#lib/rbs/errors.rb:190 def super_decl; end class << self - # source://rbs//lib/rbs/errors.rb#202 + # pkg:gem/rbs#lib/rbs/errors.rb:202 def check!(super_decl, env:); end end end -# source://rbs//lib/rbs/inline_parser.rb#4 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:4 class RBS::InlineParser class << self - # source://rbs//lib/rbs/inline_parser.rb#34 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:34 def parse(buffer, prism); end end end -# source://rbs//lib/rbs/inline_parser/comment_association.rb#5 +# pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:5 class RBS::InlineParser::CommentAssociation # @return [CommentAssociation] a new instance of CommentAssociation # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#8 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:8 def initialize(blocks); end # Returns the value of attribute associated_blocks. # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:6 def associated_blocks; end # Returns the value of attribute blocks. # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:6 def blocks; end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#84 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:84 def each_enclosed_block(node); end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#104 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:104 def each_unassociated_block; end # Returns the value of attribute end_line_map. # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:6 def end_line_map; end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#47 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:47 def leading_block(node); end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#55 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:55 def leading_block!(node); end # Returns the value of attribute start_line_map. # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:6 def start_line_map; end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#63 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:63 def trailing_block(node); end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#76 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:76 def trailing_block!(node); end class << self - # source://rbs//lib/rbs/inline_parser/comment_association.rb#24 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:24 def build(buffer, result); end end end -# source://rbs//lib/rbs/inline_parser/comment_association.rb#29 +# pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:29 class RBS::InlineParser::CommentAssociation::Reference # @return [Reference] a new instance of Reference # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#32 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:32 def initialize(block, association); end - # source://rbs//lib/rbs/inline_parser/comment_association.rb#37 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:37 def associate!; end # @return [Boolean] # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#42 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:42 def associated?; end # Returns the value of attribute block. # - # source://rbs//lib/rbs/inline_parser/comment_association.rb#30 + # pkg:gem/rbs#lib/rbs/inline_parser/comment_association.rb:30 def block; end end -# source://rbs//lib/rbs/inline_parser.rb#16 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:16 module RBS::InlineParser::Diagnostic; end -# source://rbs//lib/rbs/inline_parser.rb#31 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:31 class RBS::InlineParser::Diagnostic::AnnotationSyntaxError < ::RBS::InlineParser::Diagnostic::Base; end -# source://rbs//lib/rbs/inline_parser.rb#17 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:17 class RBS::InlineParser::Diagnostic::Base # @return [Base] a new instance of Base # - # source://rbs//lib/rbs/inline_parser.rb#20 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:20 def initialize(location, message); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/inline_parser.rb#18 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:18 def location; end # Returns the value of attribute message. # - # source://rbs//lib/rbs/inline_parser.rb#18 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:18 def message; end end -# source://rbs//lib/rbs/inline_parser.rb#27 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:27 class RBS::InlineParser::Diagnostic::NonConstantClassName < ::RBS::InlineParser::Diagnostic::Base; end -# source://rbs//lib/rbs/inline_parser.rb#28 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:28 class RBS::InlineParser::Diagnostic::NonConstantModuleName < ::RBS::InlineParser::Diagnostic::Base; end -# source://rbs//lib/rbs/inline_parser.rb#26 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:26 class RBS::InlineParser::Diagnostic::NotImplementedYet < ::RBS::InlineParser::Diagnostic::Base; end -# source://rbs//lib/rbs/inline_parser.rb#29 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:29 class RBS::InlineParser::Diagnostic::TopLevelMethodDefinition < ::RBS::InlineParser::Diagnostic::Base; end -# source://rbs//lib/rbs/inline_parser.rb#30 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:30 class RBS::InlineParser::Diagnostic::UnusedInlineAnnotation < ::RBS::InlineParser::Diagnostic::Base; end -# source://rbs//lib/rbs/inline_parser.rb#42 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:42 class RBS::InlineParser::Parser < ::Prism::Visitor include ::RBS::AST::Ruby::Helpers::ConstantHelper include ::RBS::AST::Ruby::Helpers::LocationHelper # @return [Parser] a new instance of Parser # - # source://rbs//lib/rbs/inline_parser.rb#48 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:48 def initialize(result); end - # source://rbs//lib/rbs/inline_parser.rb#54 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:54 def buffer; end # Returns the value of attribute comments. # - # source://rbs//lib/rbs/inline_parser.rb#43 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:43 def comments; end - # source://rbs//lib/rbs/inline_parser.rb#58 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:58 def current_module; end - # source://rbs//lib/rbs/inline_parser.rb#62 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:62 def current_module!; end - # source://rbs//lib/rbs/inline_parser.rb#66 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:66 def diagnostics; end - # source://rbs//lib/rbs/inline_parser.rb#171 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:171 def insert_declaration(decl); end # Returns the value of attribute module_nesting. # - # source://rbs//lib/rbs/inline_parser.rb#43 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:43 def module_nesting; end - # source://rbs//lib/rbs/inline_parser.rb#70 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:70 def push_module_nesting(mod); end - # source://rbs//lib/rbs/inline_parser.rb#179 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:179 def report_unused_annotation(*annotations); end - # source://rbs//lib/rbs/inline_parser.rb#194 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:194 def report_unused_block(block); end # Returns the value of attribute result. # - # source://rbs//lib/rbs/inline_parser.rb#43 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:43 def result; end # @return [Boolean] # - # source://rbs//lib/rbs/inline_parser.rb#77 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:77 def skip_node?(node); end - # source://rbs//lib/rbs/inline_parser.rb#88 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:88 def visit_class_node(node); end - # source://rbs//lib/rbs/inline_parser.rb#132 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:132 def visit_def_node(node); end - # source://rbs//lib/rbs/inline_parser.rb#110 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:110 def visit_module_node(node); end end -# source://rbs//lib/rbs/inline_parser.rb#5 +# pkg:gem/rbs#lib/rbs/inline_parser.rb:5 class RBS::InlineParser::Result # @return [Result] a new instance of Result # - # source://rbs//lib/rbs/inline_parser.rb#8 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:8 def initialize(buffer, prism); end # Returns the value of attribute buffer. # - # source://rbs//lib/rbs/inline_parser.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:6 def buffer; end # Returns the value of attribute declarations. # - # source://rbs//lib/rbs/inline_parser.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:6 def declarations; end # Returns the value of attribute diagnostics. # - # source://rbs//lib/rbs/inline_parser.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:6 def diagnostics; end # Returns the value of attribute prism_result. # - # source://rbs//lib/rbs/inline_parser.rb#6 + # pkg:gem/rbs#lib/rbs/inline_parser.rb:6 def prism_result; end end -# source://rbs//lib/rbs/errors.rb#341 +# pkg:gem/rbs#lib/rbs/errors.rb:341 class RBS::InstanceVariableDuplicationError < ::RBS::VariableDuplicationError - # source://rbs//lib/rbs/errors.rb#342 + # pkg:gem/rbs#lib/rbs/errors.rb:342 def kind; end end -# source://rbs//lib/rbs/errors.rb#378 +# pkg:gem/rbs#lib/rbs/errors.rb:378 class RBS::InvalidOverloadMethodError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [InvalidOverloadMethodError] a new instance of InvalidOverloadMethodError # - # source://rbs//lib/rbs/errors.rb#386 + # pkg:gem/rbs#lib/rbs/errors.rb:386 def initialize(type_name:, method_name:, kind:, members:); end # Returns the value of attribute kind. # - # source://rbs//lib/rbs/errors.rb#383 + # pkg:gem/rbs#lib/rbs/errors.rb:383 def kind; end - # source://rbs//lib/rbs/errors.rb#402 + # pkg:gem/rbs#lib/rbs/errors.rb:402 def location; end # Returns the value of attribute members. # - # source://rbs//lib/rbs/errors.rb#384 + # pkg:gem/rbs#lib/rbs/errors.rb:384 def members; end # Returns the value of attribute method_name. # - # source://rbs//lib/rbs/errors.rb#382 + # pkg:gem/rbs#lib/rbs/errors.rb:382 def method_name; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#381 + # pkg:gem/rbs#lib/rbs/errors.rb:381 def type_name; end end -# source://rbs//lib/rbs/errors.rb#67 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:69 def args; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#72 + # pkg:gem/rbs#lib/rbs/errors.rb:72 def location; end # Returns the value of attribute params. # - # source://rbs//lib/rbs/errors.rb#70 + # pkg:gem/rbs#lib/rbs/errors.rb:70 def params; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#68 + # pkg:gem/rbs#lib/rbs/errors.rb:68 def type_name; end # Returns the value of attribute type_params. # - # source://rbs//lib/rbs/errors.rb#71 + # pkg:gem/rbs#lib/rbs/errors.rb:71 def type_params; end class << self - # source://rbs//lib/rbs/errors.rb#83 + # pkg:gem/rbs#lib/rbs/errors.rb:83 def check!(type_name:, args:, params:, location:); end - # source://rbs//lib/rbs/errors.rb#92 + # pkg:gem/rbs#lib/rbs/errors.rb:92 def check2!(env:, type_name:, args:, location:); end end end -# source://rbs//lib/rbs/errors.rb#432 +# pkg:gem/rbs#lib/rbs/errors.rb:432 class RBS::InvalidVarianceAnnotationError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [InvalidVarianceAnnotationError] a new instance of InvalidVarianceAnnotationError # - # source://rbs//lib/rbs/errors.rb#439 + # pkg:gem/rbs#lib/rbs/errors.rb:439 def initialize(type_name:, param:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#437 + # pkg:gem/rbs#lib/rbs/errors.rb:437 def location; end # Returns the value of attribute param. # - # source://rbs//lib/rbs/errors.rb#436 + # pkg:gem/rbs#lib/rbs/errors.rb:436 def param; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#435 + # pkg:gem/rbs#lib/rbs/errors.rb:435 def type_name; end end -# source://rbs//lib/rbs/errors.rb#20 +# pkg:gem/rbs#lib/rbs/errors.rb:20 class RBS::LoadingError < ::RBS::BaseError; end -# source://rbs//lib/rbs/location_aux.rb#4 +# pkg:gem/rbs#lib/rbs.rb:72 class RBS::Location - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def initialize(_arg0, _arg1, _arg2); end - # source://rbs//lib/rbs/location_aux.rb#79 + # pkg:gem/rbs#lib/rbs/location_aux.rb:79 def ==(other); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def [](_arg0); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _add_optional_child(_arg0, _arg1, _arg2); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _add_optional_no_child(_arg0); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _add_required_child(_arg0, _arg1, _arg2); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _end_pos; end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _optional_keys; end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _required_keys; end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _start_pos; end - # source://rbs//lib/rbs/location_aux.rb#110 + # pkg:gem/rbs#lib/rbs/location_aux.rb:110 def add_optional_child(name, range); end - # source://rbs//lib/rbs/location_aux.rb#106 + # pkg:gem/rbs#lib/rbs/location_aux.rb:106 def add_required_child(name, range); end - # source://rbs//lib/rbs/location_aux.rb#27 + # pkg:gem/rbs#lib/rbs/location_aux.rb:27 def aref(_arg0); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def buffer; end - # source://rbs//lib/rbs/location_aux.rb#118 + # pkg:gem/rbs#lib/rbs/location_aux.rb:118 def each_optional_key(&block); end - # source://rbs//lib/rbs/location_aux.rb#126 + # pkg:gem/rbs#lib/rbs/location_aux.rb:126 def each_required_key(&block); end - # source://rbs//lib/rbs/location_aux.rb#55 + # pkg:gem/rbs#lib/rbs/location_aux.rb:55 def end_column; end - # source://rbs//lib/rbs/location_aux.rb#51 + # pkg:gem/rbs#lib/rbs/location_aux.rb:51 def end_line; end - # source://rbs//lib/rbs/location_aux.rb#63 + # pkg:gem/rbs#lib/rbs/location_aux.rb:63 def end_loc; end - # source://rbs//lib/rbs/location_aux.rb#35 + # pkg:gem/rbs#lib/rbs/location_aux.rb:35 def end_pos; end - # source://rbs//lib/rbs/location_aux.rb#5 + # pkg:gem/rbs#lib/rbs/location_aux.rb:5 def inspect; end # @return [Boolean] # - # source://rbs//lib/rbs/location_aux.rb#134 + # pkg:gem/rbs#lib/rbs/location_aux.rb:134 def key?(name); end - # source://rbs//lib/rbs/location_aux.rb#146 + # pkg:gem/rbs#lib/rbs/location_aux.rb:146 def local_location; end - # source://rbs//lib/rbs/location_aux.rb#166 + # pkg:gem/rbs#lib/rbs/location_aux.rb:166 def local_source; end - # source://rbs//lib/rbs/location_aux.rb#39 + # pkg:gem/rbs#lib/rbs/location_aux.rb:39 def name; end # @return [Boolean] # - # source://rbs//lib/rbs/location_aux.rb#138 + # pkg:gem/rbs#lib/rbs/location_aux.rb:138 def optional_key?(name); end - # source://rbs//lib/rbs/location_aux.rb#67 + # pkg:gem/rbs#lib/rbs/location_aux.rb:67 def range; end # @return [Boolean] # - # source://rbs//lib/rbs/location_aux.rb#142 + # pkg:gem/rbs#lib/rbs/location_aux.rb:142 def required_key?(name); end - # source://rbs//lib/rbs/location_aux.rb#71 + # pkg:gem/rbs#lib/rbs/location_aux.rb:71 def source; end - # source://rbs//lib/rbs/location_aux.rb#47 + # pkg:gem/rbs#lib/rbs/location_aux.rb:47 def start_column; end - # source://rbs//lib/rbs/location_aux.rb#43 + # pkg:gem/rbs#lib/rbs/location_aux.rb:43 def start_line; end - # source://rbs//lib/rbs/location_aux.rb#59 + # pkg:gem/rbs#lib/rbs/location_aux.rb:59 def start_loc; end - # source://rbs//lib/rbs/location_aux.rb#31 + # pkg:gem/rbs#lib/rbs/location_aux.rb:31 def start_pos; end - # source://rbs//lib/rbs/location_aux.rb#86 + # pkg:gem/rbs#lib/rbs/location_aux.rb:86 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/location_aux.rb#75 + # pkg:gem/rbs#lib/rbs/location_aux.rb:75 def to_s; end private - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def initialize_copy(_arg0); end class << self - # source://rbs//lib/rbs/location_aux.rb#16 + # pkg:gem/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#102 + # pkg:gem/rbs#lib/rbs/location_aux.rb:102 def to_string(location, default: T.unsafe(nil)); end end end -# source://rbs//lib/rbs/location_aux.rb#29 +# pkg:gem/rbs#lib/rbs/location_aux.rb:29 RBS::Location::WithChildren = RBS::Location -# source://rbs//lib/rbs/locator.rb#4 +# pkg:gem/rbs#lib/rbs/locator.rb:4 class RBS::Locator # @return [Locator] a new instance of Locator # - # source://rbs//lib/rbs/locator.rb#7 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/locator.rb:5 def buffer; end # Returns the value of attribute decls. # - # source://rbs//lib/rbs/locator.rb#5 + # pkg:gem/rbs#lib/rbs/locator.rb:5 def decls; end # Returns the value of attribute dirs. # - # source://rbs//lib/rbs/locator.rb#5 + # pkg:gem/rbs#lib/rbs/locator.rb:5 def dirs; end - # source://rbs//lib/rbs/locator.rb#13 + # pkg:gem/rbs#lib/rbs/locator.rb:13 def find(line:, column:); end - # source://rbs//lib/rbs/locator.rb#29 + # pkg:gem/rbs#lib/rbs/locator.rb:29 def find2(line:, column:); end - # source://rbs//lib/rbs/locator.rb#60 + # pkg:gem/rbs#lib/rbs/locator.rb:60 def find_in_decl(pos, decl:, array:); end - # source://rbs//lib/rbs/locator.rb#42 + # pkg:gem/rbs#lib/rbs/locator.rb:42 def find_in_directive(pos, dir, array); end - # source://rbs//lib/rbs/locator.rb#208 + # pkg:gem/rbs#lib/rbs/locator.rb:208 def find_in_loc(pos, location:, array:); end - # source://rbs//lib/rbs/locator.rb#131 + # pkg:gem/rbs#lib/rbs/locator.rb:131 def find_in_member(pos, member:, array:); end - # source://rbs//lib/rbs/locator.rb#154 + # pkg:gem/rbs#lib/rbs/locator.rb:154 def find_in_method_type(pos, method_type:, array:); end - # source://rbs//lib/rbs/locator.rb#192 + # pkg:gem/rbs#lib/rbs/locator.rb:192 def find_in_type(pos, type:, array:); end - # source://rbs//lib/rbs/locator.rb#172 + # pkg:gem/rbs#lib/rbs/locator.rb:172 def find_in_type_param(pos, type_param:, array:); end - # source://rbs//lib/rbs/locator.rb#235 + # pkg:gem/rbs#lib/rbs/locator.rb:235 def test_loc(pos, location:); end end -# source://rbs//lib/rbs/errors.rb#4 +# pkg:gem/rbs#lib/rbs/errors.rb:4 module RBS::MethodNameHelper - # source://rbs//lib/rbs/errors.rb#5 + # pkg:gem/rbs#lib/rbs/errors.rb:5 def method_name_string; end end -# source://rbs//lib/rbs/method_type.rb#4 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/method_type.rb:10 def initialize(type_params:, type:, block:, location:); end - # source://rbs//lib/rbs/method_type.rb#17 + # pkg:gem/rbs#lib/rbs/method_type.rb:17 def ==(other); end # Returns the value of attribute block. # - # source://rbs//lib/rbs/method_type.rb#7 + # pkg:gem/rbs#lib/rbs/method_type.rb:7 def block; end - # source://rbs//lib/rbs/method_type.rb#86 + # pkg:gem/rbs#lib/rbs/method_type.rb:86 def each_type(&block); end - # source://rbs//lib/rbs/method_type.rb#59 + # pkg:gem/rbs#lib/rbs/method_type.rb:59 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/method_type.rb#127 + # pkg:gem/rbs#lib/rbs/method_type.rb:127 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/method_type.rb#123 + # pkg:gem/rbs#lib/rbs/method_type.rb:123 def has_self_type?; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/method_type.rb#8 + # pkg:gem/rbs#lib/rbs/method_type.rb:8 def location; end - # source://rbs//lib/rbs/method_type.rb#65 + # pkg:gem/rbs#lib/rbs/method_type.rb:65 def map_type(&block); end - # source://rbs//lib/rbs/method_type.rb#74 + # pkg:gem/rbs#lib/rbs/method_type.rb:74 def map_type_bound(&block); end - # source://rbs//lib/rbs/method_type.rb#33 + # pkg:gem/rbs#lib/rbs/method_type.rb:33 def sub(s); end - # source://rbs//lib/rbs/method_type.rb#24 + # pkg:gem/rbs#lib/rbs/method_type.rb:24 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/method_type.rb#100 + # pkg:gem/rbs#lib/rbs/method_type.rb:100 def to_s; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/method_type.rb#6 + # pkg:gem/rbs#lib/rbs/method_type.rb:6 def type; end - # source://rbs//lib/rbs/method_type.rb#119 + # pkg:gem/rbs#lib/rbs/method_type.rb:119 def type_param_names; end # Returns the value of attribute type_params. # - # source://rbs//lib/rbs/method_type.rb#5 + # pkg:gem/rbs#lib/rbs/method_type.rb:5 def type_params; end - # source://rbs//lib/rbs/method_type.rb#50 + # pkg:gem/rbs#lib/rbs/method_type.rb:50 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#131 + # pkg:gem/rbs#lib/rbs/method_type.rb:131 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/errors.rb#468 +# pkg:gem/rbs#lib/rbs/errors.rb:468 class RBS::MixinClassError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [MixinClassError] a new instance of MixinClassError # - # source://rbs//lib/rbs/errors.rb#474 + # pkg:gem/rbs#lib/rbs/errors.rb:474 def initialize(type_name:, member:); end - # source://rbs//lib/rbs/errors.rb#481 + # pkg:gem/rbs#lib/rbs/errors.rb:481 def location; end # Returns the value of attribute member. # - # source://rbs//lib/rbs/errors.rb#472 + # pkg:gem/rbs#lib/rbs/errors.rb:472 def member; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#471 + # pkg:gem/rbs#lib/rbs/errors.rb:471 def type_name; end private - # source://rbs//lib/rbs/errors.rb#493 + # pkg:gem/rbs#lib/rbs/errors.rb:493 def mixin_name; end class << self - # source://rbs//lib/rbs/errors.rb#485 + # pkg:gem/rbs#lib/rbs/errors.rb:485 def check!(type_name:, env:, member:); end end end -# source://rbs//lib/rbs/namespace.rb#4 +# pkg:gem/rbs#lib/rbs/namespace.rb:4 class RBS::Namespace # @return [Namespace] a new instance of Namespace # - # source://rbs//lib/rbs/namespace.rb#7 + # pkg:gem/rbs#lib/rbs/namespace.rb:7 def initialize(path:, absolute:); end - # source://rbs//lib/rbs/namespace.rb#20 + # pkg:gem/rbs#lib/rbs/namespace.rb:20 def +(other); end - # source://rbs//lib/rbs/namespace.rb#59 + # pkg:gem/rbs#lib/rbs/namespace.rb:59 def ==(other); end - # source://rbs//lib/rbs/namespace.rb#47 + # pkg:gem/rbs#lib/rbs/namespace.rb:47 def absolute!; end # @return [Boolean] # - # source://rbs//lib/rbs/namespace.rb#39 + # pkg:gem/rbs#lib/rbs/namespace.rb:39 def absolute?; end - # source://rbs//lib/rbs/namespace.rb#28 + # pkg:gem/rbs#lib/rbs/namespace.rb:28 def append(component); end - # source://rbs//lib/rbs/namespace.rb#101 + # pkg:gem/rbs#lib/rbs/namespace.rb:101 def ascend; end # @return [Boolean] # - # source://rbs//lib/rbs/namespace.rb#55 + # pkg:gem/rbs#lib/rbs/namespace.rb:55 def empty?; end - # source://rbs//lib/rbs/namespace.rb#63 + # pkg:gem/rbs#lib/rbs/namespace.rb:63 def eql?(other); end - # source://rbs//lib/rbs/namespace.rb#65 + # pkg:gem/rbs#lib/rbs/namespace.rb:65 def hash; end - # source://rbs//lib/rbs/namespace.rb#32 + # pkg:gem/rbs#lib/rbs/namespace.rb:32 def parent; end # Returns the value of attribute path. # - # source://rbs//lib/rbs/namespace.rb#5 + # pkg:gem/rbs#lib/rbs/namespace.rb:5 def path; end - # source://rbs//lib/rbs/namespace.rb#51 + # pkg:gem/rbs#lib/rbs/namespace.rb:51 def relative!; end # @return [Boolean] # - # source://rbs//lib/rbs/namespace.rb#43 + # pkg:gem/rbs#lib/rbs/namespace.rb:43 def relative?; end - # source://rbs//lib/rbs/namespace.rb#69 + # pkg:gem/rbs#lib/rbs/namespace.rb:69 def split; end - # source://rbs//lib/rbs/namespace.rb#75 + # pkg:gem/rbs#lib/rbs/namespace.rb:75 def to_s; end - # source://rbs//lib/rbs/namespace.rb#84 + # pkg:gem/rbs#lib/rbs/namespace.rb:84 def to_type_name; end class << self - # source://rbs//lib/rbs/namespace.rb#12 + # pkg:gem/rbs#lib/rbs/namespace.rb:12 def empty; end - # source://rbs//lib/rbs/namespace.rb#93 + # pkg:gem/rbs#lib/rbs/namespace.rb:93 def parse(string); end - # source://rbs//lib/rbs/namespace.rb#16 + # pkg:gem/rbs#lib/rbs/namespace.rb:16 def root; end end end -# source://rbs//lib/rbs/errors.rb#229 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:235 def initialize(type_name:, member:); end - # source://rbs//lib/rbs/errors.rb#242 + # pkg:gem/rbs#lib/rbs/errors.rb:242 def location; end # Returns the value of attribute member. # - # source://rbs//lib/rbs/errors.rb#233 + # pkg:gem/rbs#lib/rbs/errors.rb:233 def member; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#232 + # pkg:gem/rbs#lib/rbs/errors.rb:232 def type_name; end class << self - # source://rbs//lib/rbs/errors.rb#246 + # pkg:gem/rbs#lib/rbs/errors.rb:246 def check!(type_name, env:, member:); end end end -# source://rbs//lib/rbs/errors.rb#210 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:214 def location; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#213 + # pkg:gem/rbs#lib/rbs/errors.rb:213 def type_name; end class << self - # source://rbs//lib/rbs/errors.rb#223 + # pkg:gem/rbs#lib/rbs/errors.rb:223 def check!(self_type, env:); end end end -# source://rbs//lib/rbs/errors.rb#167 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:169 def location; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#168 + # pkg:gem/rbs#lib/rbs/errors.rb:168 def type_name; end class << self - # source://rbs//lib/rbs/errors.rb#178 + # pkg:gem/rbs#lib/rbs/errors.rb:178 def check!(type_name, env:, location:); end end end -# source://rbs//lib/rbs/errors.rb#148 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:152 def location; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#151 + # pkg:gem/rbs#lib/rbs/errors.rb:151 def type_name; end class << self - # source://rbs//lib/rbs/errors.rb#161 + # pkg:gem/rbs#lib/rbs/errors.rb:161 def check!(type_name, env:, location:); end end end -# source://rbs//lib/rbs/errors.rb#525 +# pkg:gem/rbs#lib/rbs/errors.rb:525 class RBS::NonregularTypeAliasError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [NonregularTypeAliasError] a new instance of NonregularTypeAliasError # - # source://rbs//lib/rbs/errors.rb#531 + # pkg:gem/rbs#lib/rbs/errors.rb:531 def initialize(diagnostic:, location:); end # Returns the value of attribute diagnostic. # - # source://rbs//lib/rbs/errors.rb#528 + # pkg:gem/rbs#lib/rbs/errors.rb:528 def diagnostic; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#529 + # pkg:gem/rbs#lib/rbs/errors.rb:529 def location; end end -# source://rbs//lib/rbs/parser/lex_result.rb#4 +# pkg:gem/rbs#lib/rbs.rb:72 class RBS::Parser class << self - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _lex(_arg0, _arg1); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _parse_inline_leading_annotation(_arg0, _arg1, _arg2, _arg3); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _parse_inline_trailing_annotation(_arg0, _arg1, _arg2, _arg3); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _parse_method_type(_arg0, _arg1, _arg2, _arg3, _arg4); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _parse_signature(_arg0, _arg1, _arg2); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _parse_type(_arg0, _arg1, _arg2, _arg3, _arg4); end - # source://rbs//lib/rbs.rb#72 + # pkg:gem/rbs#lib/rbs.rb:72 def _parse_type_params(_arg0, _arg1, _arg2, _arg3); end - # source://rbs//lib/rbs/parser_aux.rb#76 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:76 def buffer(source); end - # source://rbs//lib/rbs/parser_aux.rb#67 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:67 def lex(source); end - # source://rbs//lib/rbs/parser_aux.rb#43 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:43 def magic_comment(buf); end - # source://rbs//lib/rbs/parser_aux.rb#119 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:119 def parse_inline_leading_annotation(source, range, variables: T.unsafe(nil)); end - # source://rbs//lib/rbs/parser_aux.rb#124 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:124 def parse_inline_trailing_annotation(source, range, variables: T.unsafe(nil)); end - # source://rbs//lib/rbs/parser_aux.rb#13 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:18 def parse_signature(source); end - # source://rbs//lib/rbs/parser_aux.rb#8 + # pkg:gem/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 - # source://rbs//lib/rbs/parser_aux.rb#38 + # pkg:gem/rbs#lib/rbs/parser_aux.rb:38 def parse_type_params(source, module_type_params: T.unsafe(nil)); end end end -# source://rbs//lib/rbs/parser_aux.rb#85 +# pkg:gem/rbs#lib/rbs/parser_aux.rb:85 RBS::Parser::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://rbs//lib/rbs/parser/lex_result.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/parser/lex_result.rb:7 def value; end end -# source://rbs//lib/rbs/parser/token.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/parser/token.rb:9 def initialize(type:, location:); end # @return [Boolean] # - # source://rbs//lib/rbs/parser/token.rb#18 + # pkg:gem/rbs#lib/rbs/parser/token.rb:18 def comment?; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/parser/token.rb#7 + # pkg:gem/rbs#lib/rbs/parser/token.rb:7 def location; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/parser/token.rb#6 + # pkg:gem/rbs#lib/rbs/parser/token.rb:6 def type; end - # source://rbs//lib/rbs/parser/token.rb#14 + # pkg:gem/rbs#lib/rbs/parser/token.rb:14 def value; end end -# source://rbs//lib/rbs/errors.rb#51 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:55 def error_message; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#54 + # pkg:gem/rbs#lib/rbs/errors.rb:54 def location; end # Returns the value of attribute token_type. # - # source://rbs//lib/rbs/errors.rb#56 + # pkg:gem/rbs#lib/rbs/errors.rb:56 def token_type; end end -# source://rbs//lib/rbs/prototype/helpers.rb#4 +# pkg:gem/rbs#lib/rbs/prototype/helpers.rb:4 module RBS::Prototype; end -# source://rbs//lib/rbs/prototype/helpers.rb#5 +# pkg:gem/rbs#lib/rbs/prototype/helpers.rb:5 module RBS::Prototype::Helpers private # @return [Boolean] # - # source://rbs//lib/rbs/prototype/helpers.rb#96 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:120 def args_from_node(args_node); end - # source://rbs//lib/rbs/prototype/helpers.rb#8 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:8 def block_from_body(node); end - # source://rbs//lib/rbs/prototype/helpers.rb#84 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:84 def each_child(node, &block); end - # source://rbs//lib/rbs/prototype/helpers.rb#88 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:88 def each_node(nodes); end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/helpers.rb#108 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:108 def keyword_hash?(node); end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/helpers.rb#124 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:124 def symbol_literal_node?(node); end - # source://rbs//lib/rbs/prototype/helpers.rb#135 + # pkg:gem/rbs#lib/rbs/prototype/helpers.rb:135 def untyped; end end -# source://rbs//lib/rbs/prototype/node_usage.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/node_usage.rb:10 def initialize(node); end - # source://rbs//lib/rbs/prototype/node_usage.rb#25 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/node_usage.rb:8 def conditional_nodes; end - # source://rbs//lib/rbs/prototype/node_usage.rb#17 + # pkg:gem/rbs#lib/rbs/prototype/node_usage.rb:17 def each_conditional_node(&block); end end -# source://rbs//lib/rbs/prototype/rb.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:45 def initialize; end - # source://rbs//lib/rbs/prototype/rb.rb#561 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:561 def block_type(node); end - # source://rbs//lib/rbs/prototype/rb.rb#541 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:541 def body_type(node); end - # source://rbs//lib/rbs/prototype/rb.rb#456 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:456 def const_to_name(node, context:); end - # source://rbs//lib/rbs/prototype/rb.rb#433 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:433 def const_to_name!(node, context: T.unsafe(nil)); end - # source://rbs//lib/rbs/prototype/rb.rb#772 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:772 def current_accessibility(decls, index = T.unsafe(nil)); end - # source://rbs//lib/rbs/prototype/rb.rb#49 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:49 def decls; end - # source://rbs//lib/rbs/prototype/rb.rb#812 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:812 def find_def_index_by_name(decls, name); end - # source://rbs//lib/rbs/prototype/rb.rb#536 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:536 def function_return_type_from_body(node); end - # source://rbs//lib/rbs/prototype/rb.rb#478 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:478 def function_type_from_body(node, def_name); end - # source://rbs//lib/rbs/prototype/rb.rb#554 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:554 def if_unless_type(node); end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/rb.rb#808 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:808 def is_accessibility?(decl); end - # source://rbs//lib/rbs/prototype/rb.rb#467 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:467 def literal_to_symbol(node); end - # source://rbs//lib/rbs/prototype/rb.rb#575 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:575 def literal_to_type(node); end # backward compatible # - # source://rbs//lib/rbs/prototype/rb.rb#762 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:762 def node_type(node, default: T.unsafe(nil)); end - # source://rbs//lib/rbs/prototype/rb.rb#719 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:719 def param_type(node, default: T.unsafe(nil)); end - # source://rbs//lib/rbs/prototype/rb.rb#75 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:75 def parse(string); end - # source://rbs//lib/rbs/prototype/rb.rb#764 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:764 def private; end - # source://rbs//lib/rbs/prototype/rb.rb#107 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:107 def process(node, decls:, comments:, context:); end - # source://rbs//lib/rbs/prototype/rb.rb#427 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:427 def process_children(node, decls:, comments:, context:); end - # source://rbs//lib/rbs/prototype/rb.rb#768 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:768 def public; end - # source://rbs//lib/rbs/prototype/rb.rb#699 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:699 def range_element_type(types); end - # source://rbs//lib/rbs/prototype/rb.rb#782 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:782 def remove_unnecessary_accessibility_methods!(decls); end - # source://rbs//lib/rbs/prototype/rb.rb#830 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:830 def sort_members!(decls); end # Returns the value of attribute source_decls. # - # source://rbs//lib/rbs/prototype/rb.rb#42 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:43 def toplevel_members; end - # source://rbs//lib/rbs/prototype/rb.rb#688 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:688 def types_to_union_type(types); end end -# source://rbs//lib/rbs/prototype/rb.rb#8 +# pkg:gem/rbs#lib/rbs/prototype/rb.rb:8 class RBS::Prototype::RB::Context < ::Struct - # source://rbs//lib/rbs/prototype/rb.rb#25 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:25 def attribute_kind; end - # source://rbs//lib/rbs/prototype/rb.rb#33 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:33 def enter_namespace(namespace); end - # source://rbs//lib/rbs/prototype/rb.rb#15 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:15 def method_kind; end - # source://rbs//lib/rbs/prototype/rb.rb#37 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/rb.rb:11 def initial(namespace: T.unsafe(nil)); end end end -# source://rbs//lib/rbs/prototype/rbi.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:12 def initialize; end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/rbi.rb#562 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:562 def call_node?(node, name:, receiver: T.unsafe(nil), args: T.unsafe(nil)); end - # source://rbs//lib/rbs/prototype/rbi.rb#566 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:566 def const_to_name(node); end - # source://rbs//lib/rbs/prototype/rbi.rb#90 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:90 def current_module; end - # source://rbs//lib/rbs/prototype/rbi.rb#94 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:94 def current_module!; end - # source://rbs//lib/rbs/prototype/rbi.rb#46 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:8 def decls; end - # source://rbs//lib/rbs/prototype/rbi.rb#602 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:602 def each_arg(array, &block); end - # source://rbs//lib/rbs/prototype/rbi.rb#616 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:616 def each_child(node); end - # source://rbs//lib/rbs/prototype/rbi.rb#112 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:10 def last_sig; end - # source://rbs//lib/rbs/prototype/rbi.rb#280 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:280 def method_type(args_node, type_node, variables:, overloads:); end # Returns the value of attribute modules. # - # source://rbs//lib/rbs/prototype/rbi.rb#9 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:9 def modules; end - # source://rbs//lib/rbs/prototype/rbi.rb#42 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:42 def nested_name(name); end - # source://rbs//lib/rbs/prototype/rbi.rb#624 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:624 def node_to_hash(node); end - # source://rbs//lib/rbs/prototype/rbi.rb#18 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:18 def parse(string); end - # source://rbs//lib/rbs/prototype/rbi.rb#352 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:352 def parse_params(args_node, args, method_type, variables:, overloads:); end - # source://rbs//lib/rbs/prototype/rbi.rb#106 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:106 def pop_sig; end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/rbi.rb#554 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:554 def proc_type?(type_node); end - # source://rbs//lib/rbs/prototype/rbi.rb#117 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:117 def process(node, comments:, outer: T.unsafe(nil)); end - # source://rbs//lib/rbs/prototype/rbi.rb#52 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:52 def push_class(name, super_class, comment:); end - # source://rbs//lib/rbs/prototype/rbi.rb#71 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:71 def push_module(name, comment:); end - # source://rbs//lib/rbs/prototype/rbi.rb#98 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:98 def push_sig(node); end - # source://rbs//lib/rbs/prototype/rbi.rb#477 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:477 def type_of(type_node, variables:); end - # source://rbs//lib/rbs/prototype/rbi.rb#490 + # pkg:gem/rbs#lib/rbs/prototype/rbi.rb:490 def type_of0(type_node, variables:); end end -# source://rbs//lib/rbs/prototype/runtime/helpers.rb#5 +# pkg:gem/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 + # pkg:gem/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#654 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:654 def block_from_ast_of(method); end - # source://rbs//lib/rbs/prototype/runtime.rb#101 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:101 def builder; end - # source://rbs//lib/rbs/prototype/runtime.rb#109 + # pkg:gem/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#583 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:583 def ensure_outer_module_declarations(mod); end # Returns the value of attribute env. # - # source://rbs//lib/rbs/prototype/runtime.rb#65 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:65 def env; end - # source://rbs//lib/rbs/prototype/runtime.rb#488 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:488 def generate_class(mod); end - # source://rbs//lib/rbs/prototype/runtime.rb#425 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:425 def generate_constants(mod, decls); end - # source://rbs//lib/rbs/prototype/runtime.rb#301 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:301 def generate_methods(mod, module_name, members); end - # source://rbs//lib/rbs/prototype/runtime.rb#565 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:565 def generate_mixin(mod, decl, type_name, type_name_absolute); end - # source://rbs//lib/rbs/prototype/runtime.rb#527 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:527 def generate_module(mod); end - # source://rbs//lib/rbs/prototype/runtime.rb#473 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:473 def generate_super_class(mod); end # Returns the value of attribute merge. # - # source://rbs//lib/rbs/prototype/runtime.rb#66 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:66 def merge; end - # source://rbs//lib/rbs/prototype/runtime.rb#240 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:68 def owners_included; end - # source://rbs//lib/rbs/prototype/runtime.rb#105 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:64 def patterns; end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/runtime.rb#84 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:84 def target?(const); end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/runtime.rb#288 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:288 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 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:67 def todo; end - # source://rbs//lib/rbs/prototype/runtime.rb#97 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:97 def todo_object; end - # source://rbs//lib/rbs/prototype/runtime.rb#637 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:637 def type_args(type_name); end - # source://rbs//lib/rbs/prototype/runtime.rb#645 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:645 def type_params(mod); end private # @return [Boolean] # - # source://rbs//lib/rbs/prototype/runtime.rb#415 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:415 def can_alias?(mod, method); end - # source://rbs//lib/rbs/prototype/runtime.rb#129 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:129 def each_mixined_module(type_name, mod); end - # source://rbs//lib/rbs/prototype/runtime.rb#138 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rbs#lib/rbs/prototype/runtime/helpers.rb:6 module RBS::Prototype::Runtime::Helpers private - # source://rbs//lib/rbs/prototype/runtime/helpers.rb#19 + # pkg:gem/rbs#lib/rbs/prototype/runtime/helpers.rb:19 def const_name(const); end - # source://rbs//lib/rbs/prototype/runtime/helpers.rb#15 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/runtime/helpers.rb:10 def only_name(mod); end - # source://rbs//lib/rbs/prototype/runtime/helpers.rb#37 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/runtime/helpers.rb:53 def untyped; end end -# source://rbs//lib/rbs/prototype/runtime/reflection.rb#6 +# pkg:gem/rbs#lib/rbs/prototype/runtime/reflection.rb:6 module RBS::Prototype::Runtime::Reflection class << self - # source://rbs//lib/rbs/prototype/runtime/reflection.rb#12 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:11 def initialize(builder:); end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/runtime.rb#42 + # pkg:gem/rbs#lib/rbs/prototype/runtime.rb:42 def skip_constant?(module_name:, name:); end # @return [Boolean] # - # source://rbs//lib/rbs/prototype/runtime.rb#33 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/prototype/runtime/value_object_generator.rb:35 def build_s_members; end end -# source://rbs//lib/rdoc_plugin/parser.rb#6 -module RBS::RDocPlugin; end - -# 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 - def initialize(top_level, content); end - - # Returns the value of attribute content. - # - # 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 - def content=(_arg0); end - - # 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 - def parse_class_decl(decl:, context:, outer_name: T.unsafe(nil)); end - - # 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 - def parse_extend_decl(decl:, context:, outer_name: T.unsafe(nil)); end - - # 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 - def parse_member(decl:, context:, outer_name: T.unsafe(nil)); end - - # 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 - def parse_method_decl(decl:, context:, outer_name: T.unsafe(nil)); end - - # 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 - def scan; end - - # Returns the value of attribute top_level. - # - # 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 - def top_level=(_arg0); end - - private - - # source://rbs//lib/rdoc_plugin/parser.rb#149 - def comment_string(with_comment); end - - # source://rbs//lib/rdoc_plugin/parser.rb#143 - def construct_comment(context:, comment:); end - - # source://rbs//lib/rdoc_plugin/parser.rb#154 - def fully_qualified_name(outer_name:, decl:); end -end - -# source://rbs//lib/rbs/errors.rb#448 +# pkg:gem/rbs#lib/rbs/errors.rb:448 class RBS::RecursiveAliasDefinitionError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [RecursiveAliasDefinitionError] a new instance of RecursiveAliasDefinitionError # - # source://rbs//lib/rbs/errors.rb#454 + # pkg:gem/rbs#lib/rbs/errors.rb:454 def initialize(type:, defs:); end # Returns the value of attribute defs. # - # source://rbs//lib/rbs/errors.rb#452 + # pkg:gem/rbs#lib/rbs/errors.rb:452 def defs; end - # source://rbs//lib/rbs/errors.rb#461 + # pkg:gem/rbs#lib/rbs/errors.rb:461 def location; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/errors.rb#451 + # pkg:gem/rbs#lib/rbs/errors.rb:451 def type; end end -# source://rbs//lib/rbs/errors.rb#110 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/errors.rb:114 def initialize(ancestors:, location:); end # Returns the value of attribute ancestors. # - # source://rbs//lib/rbs/errors.rb#111 + # pkg:gem/rbs#lib/rbs/errors.rb:111 def ancestors; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#112 + # pkg:gem/rbs#lib/rbs/errors.rb:112 def location; end class << self - # source://rbs//lib/rbs/errors.rb#134 + # pkg:gem/rbs#lib/rbs/errors.rb:134 def check!(self_ancestor, ancestors:, location:); end end end -# source://rbs//lib/rbs/errors.rb#507 +# pkg:gem/rbs#lib/rbs/errors.rb:507 class RBS::RecursiveTypeAliasError < ::RBS::BaseError include ::RBS::DetailedMessageable # @return [RecursiveTypeAliasError] a new instance of RecursiveTypeAliasError # - # source://rbs//lib/rbs/errors.rb#513 + # pkg:gem/rbs#lib/rbs/errors.rb:513 def initialize(alias_names:, location:); end # Returns the value of attribute alias_names. # - # source://rbs//lib/rbs/errors.rb#510 + # pkg:gem/rbs#lib/rbs/errors.rb:510 def alias_names; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#511 + # pkg:gem/rbs#lib/rbs/errors.rb:511 def location; end - # source://rbs//lib/rbs/errors.rb#520 + # pkg:gem/rbs#lib/rbs/errors.rb:520 def name; end end -# source://rbs//lib/rbs/repository.rb#4 +# pkg:gem/rbs#lib/rbs/repository.rb:4 class RBS::Repository # @return [Repository] a new instance of Repository # - # source://rbs//lib/rbs/repository.rb#74 + # pkg:gem/rbs#lib/rbs/repository.rb:74 def initialize(no_stdlib: T.unsafe(nil)); end - # source://rbs//lib/rbs/repository.rb#98 + # pkg:gem/rbs#lib/rbs/repository.rb:98 def add(dir); end # Returns the value of attribute dirs. # - # source://rbs//lib/rbs/repository.rb#71 + # pkg:gem/rbs#lib/rbs/repository.rb:71 def dirs; end # Returns the value of attribute gems. # - # source://rbs//lib/rbs/repository.rb#72 + # pkg:gem/rbs#lib/rbs/repository.rb:72 def gems; end - # source://rbs//lib/rbs/repository.rb#108 + # pkg:gem/rbs#lib/rbs/repository.rb:108 def lookup(gem, version); end - # source://rbs//lib/rbs/repository.rb#113 + # pkg:gem/rbs#lib/rbs/repository.rb:113 def lookup_path(gem, version); end class << self - # source://rbs//lib/rbs/repository.rb#83 + # pkg:gem/rbs#lib/rbs/repository.rb:83 def default; end - # source://rbs//lib/rbs/repository.rb#87 + # pkg:gem/rbs#lib/rbs/repository.rb:87 def find_best_version(version, candidates); end end end -# source://rbs//lib/rbs/repository.rb#5 +# pkg:gem/rbs#lib/rbs/repository.rb:5 RBS::Repository::DEFAULT_STDLIB_ROOT = T.let(T.unsafe(nil), Pathname) -# source://rbs//lib/rbs/repository.rb#7 +# pkg:gem/rbs#lib/rbs/repository.rb:7 class RBS::Repository::GemRBS # @return [GemRBS] a new instance of GemRBS # - # source://rbs//lib/rbs/repository.rb#11 + # pkg:gem/rbs#lib/rbs/repository.rb:11 def initialize(name:); end # @return [Boolean] # - # source://rbs//lib/rbs/repository.rb#64 + # pkg:gem/rbs#lib/rbs/repository.rb:64 def empty?; end - # source://rbs//lib/rbs/repository.rb#59 + # pkg:gem/rbs#lib/rbs/repository.rb:59 def find_best_version(version); end - # source://rbs//lib/rbs/repository.rb#54 + # pkg:gem/rbs#lib/rbs/repository.rb:54 def latest_version; end - # source://rbs//lib/rbs/repository.rb#22 + # pkg:gem/rbs#lib/rbs/repository.rb:22 def load!; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/repository.rb#8 + # pkg:gem/rbs#lib/rbs/repository.rb:8 def name; end - # source://rbs//lib/rbs/repository.rb#49 + # pkg:gem/rbs#lib/rbs/repository.rb:49 def oldest_version; end # Returns the value of attribute paths. # - # source://rbs//lib/rbs/repository.rb#9 + # pkg:gem/rbs#lib/rbs/repository.rb:9 def paths; end - # source://rbs//lib/rbs/repository.rb#45 + # pkg:gem/rbs#lib/rbs/repository.rb:45 def version_names; end - # source://rbs//lib/rbs/repository.rb#17 + # pkg:gem/rbs#lib/rbs/repository.rb:17 def versions; end end -# source://rbs//lib/rbs/repository.rb#69 +# pkg:gem/rbs#lib/rbs/repository.rb:69 class RBS::Repository::VersionPath < ::Struct - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def gem; end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def gem=(_); end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def path; end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def path=(_); end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def version; end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def version=(_); end class << self - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def [](*_arg0); end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def inspect; end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def keyword_init?; end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def members; end - # source://rbs//lib/rbs/repository.rb#69 + # pkg:gem/rbs#lib/rbs/repository.rb:69 def new(*_arg0); end end end -# source://rbs//lib/rbs/resolver/constant_resolver.rb#4 +# pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:4 module RBS::Resolver; end -# source://rbs//lib/rbs/resolver/constant_resolver.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:86 def child_constants_cache; end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#112 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:112 def children(module_name); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#100 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:100 def constants(context); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#178 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:163 def constants_from_context(context, constants:); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#201 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:86 def context_constants_cache; end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#138 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:138 def load_child_constants(name); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#122 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:122 def load_context_constants(context); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#95 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:95 def resolve(name, context:); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#108 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:85 def table; end end -# source://rbs//lib/rbs/resolver/constant_resolver.rb#6 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:10 def initialize(environment); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#63 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:7 def children_table; end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#67 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:67 def constant(name); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#80 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:80 def constant_of_constant(name, entry); end - # source://rbs//lib/rbs/resolver/constant_resolver.rb#71 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/constant_resolver.rb:7 def toplevel; end end -# source://rbs//lib/rbs/resolver/type_name_resolver.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/type_name_resolver.rb:8 def env; end # @return [Boolean] # - # source://rbs//lib/rbs/resolver/type_name_resolver.rb#84 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/type_name_resolver.rb:51 def partition(type_name); end - # source://rbs//lib/rbs/resolver/type_name_resolver.rb#28 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/resolver/type_name_resolver.rb:21 def try_cache(query); end end -# source://rbs//lib/rbs/source.rb#4 +# pkg:gem/rbs#lib/rbs/source.rb:4 module RBS::Source; end -# source://rbs//lib/rbs/source.rb#5 +# pkg:gem/rbs#lib/rbs/source.rb:5 class RBS::Source::RBS # @return [RBS] a new instance of RBS # - # source://rbs//lib/rbs/source.rb#8 + # pkg:gem/rbs#lib/rbs/source.rb:8 def initialize(buffer, directives, decls); end # Returns the value of attribute buffer. # - # source://rbs//lib/rbs/source.rb#6 + # pkg:gem/rbs#lib/rbs/source.rb:6 def buffer; end # Returns the value of attribute declarations. # - # source://rbs//lib/rbs/source.rb#6 + # pkg:gem/rbs#lib/rbs/source.rb:6 def declarations; end # Returns the value of attribute directives. # - # source://rbs//lib/rbs/source.rb#6 + # pkg:gem/rbs#lib/rbs/source.rb:6 def directives; end - # source://rbs//lib/rbs/source.rb#25 + # pkg:gem/rbs#lib/rbs/source.rb:25 def each_declaration_type_name(names, decl, &block); end - # source://rbs//lib/rbs/source.rb#14 + # pkg:gem/rbs#lib/rbs/source.rb:14 def each_type_name(&block); end end -# source://rbs//lib/rbs/source.rb#52 +# pkg:gem/rbs#lib/rbs/source.rb:52 class RBS::Source::Ruby # @return [Ruby] a new instance of Ruby # - # source://rbs//lib/rbs/source.rb#58 + # pkg:gem/rbs#lib/rbs/source.rb:58 def initialize(buffer, prism, declarations, diagnostics); end # Returns the value of attribute buffer. # - # source://rbs//lib/rbs/source.rb#53 + # pkg:gem/rbs#lib/rbs/source.rb:53 def buffer; end # Returns the value of attribute declarations. # - # source://rbs//lib/rbs/source.rb#55 + # pkg:gem/rbs#lib/rbs/source.rb:55 def declarations; end # Returns the value of attribute diagnostics. # - # source://rbs//lib/rbs/source.rb#56 + # pkg:gem/rbs#lib/rbs/source.rb:56 def diagnostics; end - # source://rbs//lib/rbs/source.rb#76 + # pkg:gem/rbs#lib/rbs/source.rb:76 def each_declaration_type_name(names, decl, &block); end - # source://rbs//lib/rbs/source.rb#65 + # pkg:gem/rbs#lib/rbs/source.rb:65 def each_type_name(&block); end # Returns the value of attribute prism_result. # - # source://rbs//lib/rbs/source.rb#54 + # pkg:gem/rbs#lib/rbs/source.rb:54 def prism_result; end end -# source://rbs//lib/rbs/substitution.rb#4 +# pkg:gem/rbs#lib/rbs/substitution.rb:4 class RBS::Substitution # @return [Substitution] a new instance of Substitution # - # source://rbs//lib/rbs/substitution.rb#12 + # pkg:gem/rbs#lib/rbs/substitution.rb:12 def initialize; end - # source://rbs//lib/rbs/substitution.rb#66 + # pkg:gem/rbs#lib/rbs/substitution.rb:66 def +(other); end - # source://rbs//lib/rbs/substitution.rb#53 + # pkg:gem/rbs#lib/rbs/substitution.rb:53 def [](ty); end - # source://rbs//lib/rbs/substitution.rb#16 + # pkg:gem/rbs#lib/rbs/substitution.rb:16 def add(from:, to:); end - # source://rbs//lib/rbs/substitution.rb#37 + # pkg:gem/rbs#lib/rbs/substitution.rb:37 def apply(ty); end # @return [Boolean] # - # source://rbs//lib/rbs/substitution.rb#8 + # pkg:gem/rbs#lib/rbs/substitution.rb:8 def empty?; end # Returns the value of attribute instance_type. # - # source://rbs//lib/rbs/substitution.rb#6 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/substitution.rb:6 def instance_type=(_arg0); end # Returns the value of attribute mapping. # - # source://rbs//lib/rbs/substitution.rb#5 + # pkg:gem/rbs#lib/rbs/substitution.rb:5 def mapping; end - # source://rbs//lib/rbs/substitution.rb#55 + # pkg:gem/rbs#lib/rbs/substitution.rb:55 def without(*vars); end class << self - # source://rbs//lib/rbs/substitution.rb#20 + # pkg:gem/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 +# pkg:gem/rbs#lib/rbs/subtractor.rb:4 class RBS::Subtractor # @return [Subtractor] a new instance of Subtractor # - # source://rbs//lib/rbs/subtractor.rb#5 + # pkg:gem/rbs#lib/rbs/subtractor.rb:5 def initialize(minuend, subtrahend); end - # source://rbs//lib/rbs/subtractor.rb#10 + # pkg:gem/rbs#lib/rbs/subtractor.rb:10 def call(minuend = T.unsafe(nil), context: T.unsafe(nil)); end private - # source://rbs//lib/rbs/subtractor.rb#178 + # pkg:gem/rbs#lib/rbs/subtractor.rb:178 def absolute_typename(name, context:); end # @return [Boolean] # - # source://rbs//lib/rbs/subtractor.rb#161 + # pkg:gem/rbs#lib/rbs/subtractor.rb:161 def access_modifier?(decl); end # @return [Boolean] # - # source://rbs//lib/rbs/subtractor.rb#118 + # pkg:gem/rbs#lib/rbs/subtractor.rb:118 def cvar_exist?(owner, name); end - # source://rbs//lib/rbs/subtractor.rb#127 + # pkg:gem/rbs#lib/rbs/subtractor.rb:127 def each_member(owner, &block); end - # source://rbs//lib/rbs/subtractor.rb#48 + # pkg:gem/rbs#lib/rbs/subtractor.rb:48 def filter_members(decl, context:); end - # source://rbs//lib/rbs/subtractor.rb#149 + # pkg:gem/rbs#lib/rbs/subtractor.rb:149 def filter_redundant_access_modifiers(decls); end # @return [Boolean] # - # source://rbs//lib/rbs/subtractor.rb#106 + # pkg:gem/rbs#lib/rbs/subtractor.rb:106 def ivar_exist?(owner, name, kind); end # @return [Boolean] # - # source://rbs//lib/rbs/subtractor.rb#60 + # pkg:gem/rbs#lib/rbs/subtractor.rb:60 def member_exist?(owner, member, context:); end # @return [Boolean] # - # source://rbs//lib/rbs/subtractor.rb#89 + # pkg:gem/rbs#lib/rbs/subtractor.rb:89 def method_exist?(owner, method_name, kind); end # @return [Boolean] # - # source://rbs//lib/rbs/subtractor.rb#138 + # pkg:gem/rbs#lib/rbs/subtractor.rb:138 def mixin_exist?(owner, mixin, context:); end - # source://rbs//lib/rbs/subtractor.rb#187 + # pkg:gem/rbs#lib/rbs/subtractor.rb:187 def typename_candidates(name, context:); end - # source://rbs//lib/rbs/subtractor.rb#165 + # pkg:gem/rbs#lib/rbs/subtractor.rb:165 def update_decl(decl, members:); end end -# source://rbs//lib/rbs/errors.rb#367 +# pkg:gem/rbs#lib/rbs/errors.rb:367 class RBS::SuperclassMismatchError < ::RBS::DefinitionError # @return [SuperclassMismatchError] a new instance of SuperclassMismatchError # - # source://rbs//lib/rbs/errors.rb#371 + # pkg:gem/rbs#lib/rbs/errors.rb:371 def initialize(name:, entry:); end # Returns the value of attribute entry. # - # source://rbs//lib/rbs/errors.rb#369 + # pkg:gem/rbs#lib/rbs/errors.rb:369 def entry; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/errors.rb#368 + # pkg:gem/rbs#lib/rbs/errors.rb:368 def name; end end -# source://rbs//lib/rbs/type_alias_dependency.rb#4 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_dependency.rb:14 def initialize(env:); end - # source://rbs//lib/rbs/type_alias_dependency.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_dependency.rb:12 def dependencies; end - # source://rbs//lib/rbs/type_alias_dependency.rb#57 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_dependency.rb:9 def direct_dependencies; end - # source://rbs//lib/rbs/type_alias_dependency.rb#52 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_dependency.rb:5 def env; end - # source://rbs//lib/rbs/type_alias_dependency.rb#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:16 def initialize(env:); end - # source://rbs//lib/rbs/type_alias_regularity.rb#61 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:14 def builder; end # @return [Boolean] # - # source://rbs//lib/rbs/type_alias_regularity.rb#69 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:14 def diagnostics; end - # source://rbs//lib/rbs/type_alias_regularity.rb#110 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:110 def each_alias_type(type, &block); end - # source://rbs//lib/rbs/type_alias_regularity.rb#83 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:14 def env; end # @return [Boolean] # - # source://rbs//lib/rbs/type_alias_regularity.rb#79 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:79 def nonregular?(type_name); end - # source://rbs//lib/rbs/type_alias_regularity.rb#22 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:22 def validate; end - # source://rbs//lib/rbs/type_alias_regularity.rb#39 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:120 def validate(env:); end end end -# source://rbs//lib/rbs/type_alias_regularity.rb#5 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_alias_regularity.rb:6 def type_name; end end -# source://rbs//lib/rbs/type_name.rb#4 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/type_name.rb:9 def initialize(namespace:, name:); end - # source://rbs//lib/rbs/type_name.rb#79 + # pkg:gem/rbs#lib/rbs/type_name.rb:79 def +(other); end - # source://rbs//lib/rbs/type_name.rb#25 + # pkg:gem/rbs#lib/rbs/type_name.rb:25 def ==(other); end - # source://rbs//lib/rbs/type_name.rb#55 + # pkg:gem/rbs#lib/rbs/type_name.rb:55 def absolute!; end # @return [Boolean] # - # source://rbs//lib/rbs/type_name.rb#59 + # pkg:gem/rbs#lib/rbs/type_name.rb:59 def absolute?; end # @return [Boolean] # - # source://rbs//lib/rbs/type_name.rb#51 + # pkg:gem/rbs#lib/rbs/type_name.rb:51 def alias?; end # @return [Boolean] # - # source://rbs//lib/rbs/type_name.rb#47 + # pkg:gem/rbs#lib/rbs/type_name.rb:47 def class?; end - # source://rbs//lib/rbs/type_name.rb#29 + # pkg:gem/rbs#lib/rbs/type_name.rb:29 def eql?(other); end - # source://rbs//lib/rbs/type_name.rb#31 + # pkg:gem/rbs#lib/rbs/type_name.rb:31 def hash; end # @return [Boolean] # - # source://rbs//lib/rbs/type_name.rb#67 + # pkg:gem/rbs#lib/rbs/type_name.rb:67 def interface?; end # Returns the value of attribute kind. # - # source://rbs//lib/rbs/type_name.rb#7 + # pkg:gem/rbs#lib/rbs/type_name.rb:7 def kind; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/type_name.rb#6 + # pkg:gem/rbs#lib/rbs/type_name.rb:6 def name; end # Returns the value of attribute namespace. # - # source://rbs//lib/rbs/type_name.rb#5 + # pkg:gem/rbs#lib/rbs/type_name.rb:5 def namespace; end - # source://rbs//lib/rbs/type_name.rb#63 + # pkg:gem/rbs#lib/rbs/type_name.rb:63 def relative!; end - # source://rbs//lib/rbs/type_name.rb#75 + # pkg:gem/rbs#lib/rbs/type_name.rb:75 def split; end - # source://rbs//lib/rbs/type_name.rb#39 + # pkg:gem/rbs#lib/rbs/type_name.rb:39 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/type_name.rb#43 + # pkg:gem/rbs#lib/rbs/type_name.rb:43 def to_namespace; end - # source://rbs//lib/rbs/type_name.rb#35 + # pkg:gem/rbs#lib/rbs/type_name.rb:35 def to_s; end - # source://rbs//lib/rbs/type_name.rb#71 + # pkg:gem/rbs#lib/rbs/type_name.rb:71 def with_prefix(namespace); end class << self - # source://rbs//lib/rbs/type_name.rb#90 + # pkg:gem/rbs#lib/rbs/type_name.rb:90 def parse(string); end end end -# source://rbs//lib/rbs/errors.rb#605 +# pkg:gem/rbs#lib/rbs/errors.rb:605 class RBS::TypeParamDefaultReferenceError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [TypeParamDefaultReferenceError] a new instance of TypeParamDefaultReferenceError # - # source://rbs//lib/rbs/errors.rb#611 + # pkg:gem/rbs#lib/rbs/errors.rb:611 def initialize(type_param, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#609 + # pkg:gem/rbs#lib/rbs/errors.rb:609 def location; end # Returns the value of attribute type_param. # - # source://rbs//lib/rbs/errors.rb#608 + # pkg:gem/rbs#lib/rbs/errors.rb:608 def type_param; end class << self - # source://rbs//lib/rbs/errors.rb#617 + # pkg:gem/rbs#lib/rbs/errors.rb:617 def check!(type_params); end end end -# source://rbs//lib/rbs/types.rb#4 +# pkg:gem/rbs#lib/rbs/types.rb:4 module RBS::Types; end -# source://rbs//lib/rbs/types.rb#400 +# pkg:gem/rbs#lib/rbs/types.rb:400 class RBS::Types::Alias include ::RBS::Types::Application # @return [Alias] a new instance of Alias # - # source://rbs//lib/rbs/types.rb#405 + # pkg:gem/rbs#lib/rbs/types.rb:405 def initialize(name:, args:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#401 + # pkg:gem/rbs#lib/rbs/types.rb:401 def location; end - # source://rbs//lib/rbs/types.rb#429 + # pkg:gem/rbs#lib/rbs/types.rb:429 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#421 + # pkg:gem/rbs#lib/rbs/types.rb:421 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#415 + # pkg:gem/rbs#lib/rbs/types.rb:415 def sub(s); end - # source://rbs//lib/rbs/types.rb#411 + # pkg:gem/rbs#lib/rbs/types.rb:411 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/types.rb#254 +# pkg:gem/rbs#lib/rbs/types.rb:254 module RBS::Types::Application - # source://rbs//lib/rbs/types.rb#258 + # pkg:gem/rbs#lib/rbs/types.rb:258 def ==(other); end # Returns the value of attribute args. # - # source://rbs//lib/rbs/types.rb#256 + # pkg:gem/rbs#lib/rbs/types.rb:256 def args; end - # source://rbs//lib/rbs/types.rb#284 + # pkg:gem/rbs#lib/rbs/types.rb:284 def each_type(&block); end - # source://rbs//lib/rbs/types.rb#262 + # pkg:gem/rbs#lib/rbs/types.rb:262 def eql?(other); end - # source://rbs//lib/rbs/types.rb#268 + # pkg:gem/rbs#lib/rbs/types.rb:268 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#296 + # pkg:gem/rbs#lib/rbs/types.rb:296 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#292 + # pkg:gem/rbs#lib/rbs/types.rb:292 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#264 + # pkg:gem/rbs#lib/rbs/types.rb:264 def hash; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/types.rb#255 + # pkg:gem/rbs#lib/rbs/types.rb:255 def name; end - # source://rbs//lib/rbs/types.rb#276 + # pkg:gem/rbs#lib/rbs/types.rb:276 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#300 + # pkg:gem/rbs#lib/rbs/types.rb:300 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#41 +# pkg:gem/rbs#lib/rbs/types.rb:41 module RBS::Types::Bases; end -# source://rbs//lib/rbs/types.rb#109 +# pkg:gem/rbs#lib/rbs/types.rb:109 class RBS::Types::Bases::Any < ::RBS::Types::Bases::Base # @return [Any] a new instance of Any # - # source://rbs//lib/rbs/types.rb#110 + # pkg:gem/rbs#lib/rbs/types.rb:110 def initialize(location:, todo: T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#117 + # pkg:gem/rbs#lib/rbs/types.rb:117 def to_s(level = T.unsafe(nil)); end end -# source://rbs//lib/rbs/types.rb#42 +# pkg:gem/rbs#lib/rbs/types.rb:42 class RBS::Types::Bases::Base include ::RBS::Types::NoFreeVariables include ::RBS::Types::NoSubst @@ -6557,140 +6481,140 @@ class RBS::Types::Bases::Base # @return [Base] a new instance of Base # - # source://rbs//lib/rbs/types.rb#45 + # pkg:gem/rbs#lib/rbs/types.rb:45 def initialize(location:); end - # source://rbs//lib/rbs/types.rb#49 + # pkg:gem/rbs#lib/rbs/types.rb:49 def ==(other); end - # source://rbs//lib/rbs/types.rb#57 + # pkg:gem/rbs#lib/rbs/types.rb:57 def eql?(other); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#98 + # pkg:gem/rbs#lib/rbs/types.rb:98 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#94 + # pkg:gem/rbs#lib/rbs/types.rb:94 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#53 + # pkg:gem/rbs#lib/rbs/types.rb:53 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#43 + # pkg:gem/rbs#lib/rbs/types.rb:43 def location; end - # source://rbs//lib/rbs/types.rb#64 + # pkg:gem/rbs#lib/rbs/types.rb:64 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#69 + # pkg:gem/rbs#lib/rbs/types.rb:69 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#102 + # pkg:gem/rbs#lib/rbs/types.rb:102 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#107 +# pkg:gem/rbs#lib/rbs/types.rb:107 class RBS::Types::Bases::Bool < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#123 +# pkg:gem/rbs#lib/rbs/types.rb:123 class RBS::Types::Bases::Bottom < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#130 +# pkg:gem/rbs#lib/rbs/types.rb:130 class RBS::Types::Bases::Class < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#125 +# pkg:gem/rbs#lib/rbs/types.rb:125 class RBS::Types::Bases::Instance < ::RBS::Types::Bases::Base - # source://rbs//lib/rbs/types.rb#126 + # pkg:gem/rbs#lib/rbs/types.rb:126 def sub(s); end end -# source://rbs//lib/rbs/types.rb#121 +# pkg:gem/rbs#lib/rbs/types.rb:121 class RBS::Types::Bases::Nil < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#124 +# pkg:gem/rbs#lib/rbs/types.rb:124 class RBS::Types::Bases::Self < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#122 +# pkg:gem/rbs#lib/rbs/types.rb:122 class RBS::Types::Bases::Top < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#108 +# pkg:gem/rbs#lib/rbs/types.rb:108 class RBS::Types::Bases::Void < ::RBS::Types::Bases::Base; end -# source://rbs//lib/rbs/types.rb#1338 +# pkg:gem/rbs#lib/rbs/types.rb:1338 class RBS::Types::Block # @return [Block] a new instance of Block # - # source://rbs//lib/rbs/types.rb#1344 + # pkg:gem/rbs#lib/rbs/types.rb:1344 def initialize(type:, required:, location: T.unsafe(nil), self_type: T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#1351 + # pkg:gem/rbs#lib/rbs/types.rb:1351 def ==(other); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#1342 + # pkg:gem/rbs#lib/rbs/types.rb:1342 def location; end - # source://rbs//lib/rbs/types.rb#1376 + # pkg:gem/rbs#lib/rbs/types.rb:1376 def map_type(&block); end # Returns the value of attribute required. # - # source://rbs//lib/rbs/types.rb#1340 + # pkg:gem/rbs#lib/rbs/types.rb:1340 def required; end # Returns the value of attribute self_type. # - # source://rbs//lib/rbs/types.rb#1341 + # pkg:gem/rbs#lib/rbs/types.rb:1341 def self_type; end - # source://rbs//lib/rbs/types.rb#1366 + # pkg:gem/rbs#lib/rbs/types.rb:1366 def sub(s); end - # source://rbs//lib/rbs/types.rb#1358 + # pkg:gem/rbs#lib/rbs/types.rb:1358 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs//lib/rbs/types.rb#1339 + # pkg:gem/rbs#lib/rbs/types.rb:1339 def type; end end -# source://rbs//lib/rbs/types.rb#356 +# pkg:gem/rbs#lib/rbs/types.rb:356 class RBS::Types::ClassInstance include ::RBS::Types::Application # @return [ClassInstance] a new instance of ClassInstance # - # source://rbs//lib/rbs/types.rb#361 + # pkg:gem/rbs#lib/rbs/types.rb:361 def initialize(name:, args:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#357 + # pkg:gem/rbs#lib/rbs/types.rb:357 def location; end - # source://rbs//lib/rbs/types.rb#387 + # pkg:gem/rbs#lib/rbs/types.rb:387 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#379 + # pkg:gem/rbs#lib/rbs/types.rb:379 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#371 + # pkg:gem/rbs#lib/rbs/types.rb:371 def sub(s); end - # source://rbs//lib/rbs/types.rb#367 + # pkg:gem/rbs#lib/rbs/types.rb:367 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/types.rb#202 +# pkg:gem/rbs#lib/rbs/types.rb:202 class RBS::Types::ClassSingleton include ::RBS::Types::NoFreeVariables include ::RBS::Types::NoSubst @@ -6698,326 +6622,326 @@ class RBS::Types::ClassSingleton # @return [ClassSingleton] a new instance of ClassSingleton # - # source://rbs//lib/rbs/types.rb#206 + # pkg:gem/rbs#lib/rbs/types.rb:206 def initialize(name:, location:); end - # source://rbs//lib/rbs/types.rb#211 + # pkg:gem/rbs#lib/rbs/types.rb:211 def ==(other); end - # source://rbs//lib/rbs/types.rb#215 + # pkg:gem/rbs#lib/rbs/types.rb:215 def eql?(other); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#245 + # pkg:gem/rbs#lib/rbs/types.rb:245 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#241 + # pkg:gem/rbs#lib/rbs/types.rb:241 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#217 + # pkg:gem/rbs#lib/rbs/types.rb:217 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#204 + # pkg:gem/rbs#lib/rbs/types.rb:204 def location; end - # source://rbs//lib/rbs/types.rb#234 + # pkg:gem/rbs#lib/rbs/types.rb:234 def map_type_name(&_arg0); end # Returns the value of attribute name. # - # source://rbs//lib/rbs/types.rb#203 + # pkg:gem/rbs#lib/rbs/types.rb:203 def name; end - # source://rbs//lib/rbs/types.rb#224 + # pkg:gem/rbs#lib/rbs/types.rb:224 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#228 + # pkg:gem/rbs#lib/rbs/types.rb:228 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#249 + # pkg:gem/rbs#lib/rbs/types.rb:249 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#23 +# pkg:gem/rbs#lib/rbs/types.rb:23 module RBS::Types::EmptyEachType - # source://rbs//lib/rbs/types.rb#24 + # pkg:gem/rbs#lib/rbs/types.rb:24 def each_type; end - # source://rbs//lib/rbs/types.rb#32 + # pkg:gem/rbs#lib/rbs/types.rb:32 def map_type(&block); end end -# source://rbs//lib/rbs/types.rb#905 +# pkg:gem/rbs#lib/rbs/types.rb:905 class RBS::Types::Function # @return [Function] a new instance of Function # - # source://rbs//lib/rbs/types.rb#961 + # pkg:gem/rbs#lib/rbs/types.rb:961 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#972 + # pkg:gem/rbs#lib/rbs/types.rb:972 def ==(other); end - # source://rbs//lib/rbs/types.rb#1043 + # pkg:gem/rbs#lib/rbs/types.rb:1043 def amap(array, &block); end - # source://rbs//lib/rbs/types.rb#1182 + # pkg:gem/rbs#lib/rbs/types.rb:1182 def drop_head; end - # source://rbs//lib/rbs/types.rb#1199 + # pkg:gem/rbs#lib/rbs/types.rb:1199 def drop_tail; end - # source://rbs//lib/rbs/types.rb#1080 + # pkg:gem/rbs#lib/rbs/types.rb:1080 def each_param(&block); end - # source://rbs//lib/rbs/types.rb#1065 + # pkg:gem/rbs#lib/rbs/types.rb:1065 def each_type; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1153 + # pkg:gem/rbs#lib/rbs/types.rb:1153 def empty?; end - # source://rbs//lib/rbs/types.rb#984 + # pkg:gem/rbs#lib/rbs/types.rb:984 def eql?(other); end - # source://rbs//lib/rbs/types.rb#998 + # pkg:gem/rbs#lib/rbs/types.rb:998 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1224 + # pkg:gem/rbs#lib/rbs/types.rb:1224 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1212 + # pkg:gem/rbs#lib/rbs/types.rb:1212 def has_keyword?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1220 + # pkg:gem/rbs#lib/rbs/types.rb:1220 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#986 + # pkg:gem/rbs#lib/rbs/types.rb:986 def hash; end - # source://rbs//lib/rbs/types.rb#1051 + # pkg:gem/rbs#lib/rbs/types.rb:1051 def hmapv(hash, &block); end - # source://rbs//lib/rbs/types.rb#1026 + # pkg:gem/rbs#lib/rbs/types.rb:1026 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#1059 + # pkg:gem/rbs#lib/rbs/types.rb:1059 def map_type_name(&block); end # Returns the value of attribute optional_keywords. # - # source://rbs//lib/rbs/types.rb#957 + # pkg:gem/rbs#lib/rbs/types.rb:957 def optional_keywords; end # Returns the value of attribute optional_positionals. # - # source://rbs//lib/rbs/types.rb#953 + # pkg:gem/rbs#lib/rbs/types.rb:953 def optional_positionals; end - # source://rbs//lib/rbs/types.rb#1163 + # pkg:gem/rbs#lib/rbs/types.rb:1163 def param_to_s; end # Returns the value of attribute required_keywords. # - # source://rbs//lib/rbs/types.rb#956 + # pkg:gem/rbs#lib/rbs/types.rb:956 def required_keywords; end # Returns the value of attribute required_positionals. # - # source://rbs//lib/rbs/types.rb#952 + # pkg:gem/rbs#lib/rbs/types.rb:952 def required_positionals; end # Returns the value of attribute rest_keywords. # - # source://rbs//lib/rbs/types.rb#958 + # pkg:gem/rbs#lib/rbs/types.rb:958 def rest_keywords; end # Returns the value of attribute rest_positionals. # - # source://rbs//lib/rbs/types.rb#954 + # pkg:gem/rbs#lib/rbs/types.rb:954 def rest_positionals; end - # source://rbs//lib/rbs/types.rb#1178 + # pkg:gem/rbs#lib/rbs/types.rb:1178 def return_to_s; end # Returns the value of attribute return_type. # - # source://rbs//lib/rbs/types.rb#959 + # pkg:gem/rbs#lib/rbs/types.rb:959 def return_type; end - # source://rbs//lib/rbs/types.rb#1107 + # pkg:gem/rbs#lib/rbs/types.rb:1107 def sub(s); end - # source://rbs//lib/rbs/types.rb#1094 + # pkg:gem/rbs#lib/rbs/types.rb:1094 def to_json(state = T.unsafe(nil)); end # Returns the value of attribute trailing_positionals. # - # source://rbs//lib/rbs/types.rb#955 + # pkg:gem/rbs#lib/rbs/types.rb:955 def trailing_positionals; end - # source://rbs//lib/rbs/types.rb#1139 + # pkg:gem/rbs#lib/rbs/types.rb:1139 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#1228 + # pkg:gem/rbs#lib/rbs/types.rb:1228 def with_nonreturn_void?; end - # source://rbs//lib/rbs/types.rb#1126 + # pkg:gem/rbs#lib/rbs/types.rb:1126 def with_return_type(type); end class << self - # source://rbs//lib/rbs/types.rb#1113 + # pkg:gem/rbs#lib/rbs/types.rb:1113 def empty(return_type); end end end -# source://rbs//lib/rbs/types.rb#906 +# pkg:gem/rbs#lib/rbs/types.rb:906 class RBS::Types::Function::Param # @return [Param] a new instance of Param # - # source://rbs//lib/rbs/types.rb#911 + # pkg:gem/rbs#lib/rbs/types.rb:911 def initialize(type:, name:, location: T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#917 + # pkg:gem/rbs#lib/rbs/types.rb:917 def ==(other); end - # source://rbs//lib/rbs/types.rb#921 + # pkg:gem/rbs#lib/rbs/types.rb:921 def eql?(other); end - # source://rbs//lib/rbs/types.rb#923 + # pkg:gem/rbs#lib/rbs/types.rb:923 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#909 + # pkg:gem/rbs#lib/rbs/types.rb:909 def location; end - # source://rbs//lib/rbs/types.rb#927 + # pkg:gem/rbs#lib/rbs/types.rb:927 def map_type(&block); end # Returns the value of attribute name. # - # source://rbs//lib/rbs/types.rb#908 + # pkg:gem/rbs#lib/rbs/types.rb:908 def name; end - # source://rbs//lib/rbs/types.rb#935 + # pkg:gem/rbs#lib/rbs/types.rb:935 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#939 + # pkg:gem/rbs#lib/rbs/types.rb:939 def to_s; end # Returns the value of attribute type. # - # source://rbs//lib/rbs/types.rb#907 + # pkg:gem/rbs#lib/rbs/types.rb:907 def type; end end -# source://rbs//lib/rbs/types.rb#312 +# pkg:gem/rbs#lib/rbs/types.rb:312 class RBS::Types::Interface include ::RBS::Types::Application # @return [Interface] a new instance of Interface # - # source://rbs//lib/rbs/types.rb#317 + # pkg:gem/rbs#lib/rbs/types.rb:317 def initialize(name:, args:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#313 + # pkg:gem/rbs#lib/rbs/types.rb:313 def location; end - # source://rbs//lib/rbs/types.rb#343 + # pkg:gem/rbs#lib/rbs/types.rb:343 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#335 + # pkg:gem/rbs#lib/rbs/types.rb:335 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#327 + # pkg:gem/rbs#lib/rbs/types.rb:327 def sub(s); end - # source://rbs//lib/rbs/types.rb#323 + # pkg:gem/rbs#lib/rbs/types.rb:323 def to_json(state = T.unsafe(nil)); end end -# source://rbs//lib/rbs/types.rb#822 +# pkg:gem/rbs#lib/rbs/types.rb:822 class RBS::Types::Intersection # @return [Intersection] a new instance of Intersection # - # source://rbs//lib/rbs/types.rb#826 + # pkg:gem/rbs#lib/rbs/types.rb:826 def initialize(types:, location:); end - # source://rbs//lib/rbs/types.rb#831 + # pkg:gem/rbs#lib/rbs/types.rb:831 def ==(other); end - # source://rbs//lib/rbs/types.rb#869 + # pkg:gem/rbs#lib/rbs/types.rb:869 def each_type(&block); end - # source://rbs//lib/rbs/types.rb#835 + # pkg:gem/rbs#lib/rbs/types.rb:835 def eql?(other); end - # source://rbs//lib/rbs/types.rb#841 + # pkg:gem/rbs#lib/rbs/types.rb:841 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#896 + # pkg:gem/rbs#lib/rbs/types.rb:896 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#892 + # pkg:gem/rbs#lib/rbs/types.rb:892 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#837 + # pkg:gem/rbs#lib/rbs/types.rb:837 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#824 + # pkg:gem/rbs#lib/rbs/types.rb:824 def location; end - # source://rbs//lib/rbs/types.rb#877 + # pkg:gem/rbs#lib/rbs/types.rb:877 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#885 + # pkg:gem/rbs#lib/rbs/types.rb:885 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#853 + # pkg:gem/rbs#lib/rbs/types.rb:853 def sub(s); end - # source://rbs//lib/rbs/types.rb#849 + # pkg:gem/rbs#lib/rbs/types.rb:849 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#860 + # pkg:gem/rbs#lib/rbs/types.rb:860 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://rbs//lib/rbs/types.rb#823 + # pkg:gem/rbs#lib/rbs/types.rb:823 def types; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#900 + # pkg:gem/rbs#lib/rbs/types.rb:900 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#1520 +# pkg:gem/rbs#lib/rbs/types.rb:1520 class RBS::Types::Literal include ::RBS::Types::NoFreeVariables include ::RBS::Types::NoSubst @@ -7026,872 +6950,866 @@ class RBS::Types::Literal # @return [Literal] a new instance of Literal # - # source://rbs//lib/rbs/types.rb#1524 + # pkg:gem/rbs#lib/rbs/types.rb:1524 def initialize(literal:, location:); end - # source://rbs//lib/rbs/types.rb#1529 + # pkg:gem/rbs#lib/rbs/types.rb:1529 def ==(other); end - # source://rbs//lib/rbs/types.rb#1533 + # pkg:gem/rbs#lib/rbs/types.rb:1533 def eql?(other); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1556 + # pkg:gem/rbs#lib/rbs/types.rb:1556 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1552 + # pkg:gem/rbs#lib/rbs/types.rb:1552 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#1535 + # pkg:gem/rbs#lib/rbs/types.rb:1535 def hash; end # Returns the value of attribute literal. # - # source://rbs//lib/rbs/types.rb#1521 + # pkg:gem/rbs#lib/rbs/types.rb:1521 def literal; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#1522 + # pkg:gem/rbs#lib/rbs/types.rb:1522 def location; end - # source://rbs//lib/rbs/types.rb#1544 + # pkg:gem/rbs#lib/rbs/types.rb:1544 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#1548 + # pkg:gem/rbs#lib/rbs/types.rb:1548 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1560 + # pkg:gem/rbs#lib/rbs/types.rb:1560 def with_nonreturn_void?; end class << self - # source://rbs//lib/rbs/types.rb#1580 + # pkg:gem/rbs#lib/rbs/types.rb:1580 def unescape_string(string, is_double_quote); end end end -# source://rbs//lib/rbs/types.rb#1564 +# pkg:gem/rbs#lib/rbs/types.rb:1564 RBS::Types::Literal::TABLE = T.let(T.unsafe(nil), Hash) -# source://rbs//lib/rbs/types.rb#5 +# pkg:gem/rbs#lib/rbs/types.rb:5 module RBS::Types::NoFreeVariables - # source://rbs//lib/rbs/types.rb#6 + # pkg:gem/rbs#lib/rbs/types.rb:6 def free_variables(set = T.unsafe(nil)); end end -# source://rbs//lib/rbs/types.rb#11 +# pkg:gem/rbs#lib/rbs/types.rb:11 module RBS::Types::NoSubst - # source://rbs//lib/rbs/types.rb#12 + # pkg:gem/rbs#lib/rbs/types.rb:12 def sub(s); end end -# source://rbs//lib/rbs/types.rb#17 +# pkg:gem/rbs#lib/rbs/types.rb:17 module RBS::Types::NoTypeName - # source://rbs//lib/rbs/types.rb#18 + # pkg:gem/rbs#lib/rbs/types.rb:18 def map_type_name(&_arg0); end end -# source://rbs//lib/rbs/types.rb#645 +# pkg:gem/rbs#lib/rbs/types.rb:645 class RBS::Types::Optional # @return [Optional] a new instance of Optional # - # source://rbs//lib/rbs/types.rb#649 + # pkg:gem/rbs#lib/rbs/types.rb:649 def initialize(type:, location:); end - # source://rbs//lib/rbs/types.rb#654 + # pkg:gem/rbs#lib/rbs/types.rb:654 def ==(other); end - # source://rbs//lib/rbs/types.rb#692 + # pkg:gem/rbs#lib/rbs/types.rb:692 def each_type; end - # source://rbs//lib/rbs/types.rb#658 + # pkg:gem/rbs#lib/rbs/types.rb:658 def eql?(other); end - # source://rbs//lib/rbs/types.rb#664 + # pkg:gem/rbs#lib/rbs/types.rb:664 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#722 + # pkg:gem/rbs#lib/rbs/types.rb:722 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#718 + # pkg:gem/rbs#lib/rbs/types.rb:718 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#660 + # pkg:gem/rbs#lib/rbs/types.rb:660 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#647 + # pkg:gem/rbs#lib/rbs/types.rb:647 def location; end - # source://rbs//lib/rbs/types.rb#707 + # pkg:gem/rbs#lib/rbs/types.rb:707 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#700 + # pkg:gem/rbs#lib/rbs/types.rb:700 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#672 + # pkg:gem/rbs#lib/rbs/types.rb:672 def sub(s); end - # source://rbs//lib/rbs/types.rb#668 + # pkg:gem/rbs#lib/rbs/types.rb:668 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#678 + # pkg:gem/rbs#lib/rbs/types.rb:678 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs//lib/rbs/types.rb#646 + # pkg:gem/rbs#lib/rbs/types.rb:646 def type; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#726 + # pkg:gem/rbs#lib/rbs/types.rb:726 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#1397 +# pkg:gem/rbs#lib/rbs/types.rb:1397 class RBS::Types::Proc # @return [Proc] a new instance of Proc # - # source://rbs//lib/rbs/types.rb#1403 + # pkg:gem/rbs#lib/rbs/types.rb:1403 def initialize(location:, type:, block:, self_type: T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#1410 + # pkg:gem/rbs#lib/rbs/types.rb:1410 def ==(other); end # Returns the value of attribute block. # - # source://rbs//lib/rbs/types.rb#1399 + # pkg:gem/rbs#lib/rbs/types.rb:1399 def block; end - # source://rbs//lib/rbs/types.rb#1464 + # pkg:gem/rbs#lib/rbs/types.rb:1464 def each_type(&block); end - # source://rbs//lib/rbs/types.rb#1414 + # pkg:gem/rbs#lib/rbs/types.rb:1414 def eql?(other); end - # source://rbs//lib/rbs/types.rb#1420 + # pkg:gem/rbs#lib/rbs/types.rb:1420 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1503 + # pkg:gem/rbs#lib/rbs/types.rb:1503 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1499 + # pkg:gem/rbs#lib/rbs/types.rb:1499 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#1416 + # pkg:gem/rbs#lib/rbs/types.rb:1416 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#1401 + # pkg:gem/rbs#lib/rbs/types.rb:1401 def location; end - # source://rbs//lib/rbs/types.rb#1486 + # pkg:gem/rbs#lib/rbs/types.rb:1486 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#1477 + # pkg:gem/rbs#lib/rbs/types.rb:1477 def map_type_name(&block); end # Returns the value of attribute self_type. # - # source://rbs//lib/rbs/types.rb#1400 + # pkg:gem/rbs#lib/rbs/types.rb:1400 def self_type; end - # source://rbs//lib/rbs/types.rb#1437 + # pkg:gem/rbs#lib/rbs/types.rb:1437 def sub(s); end - # source://rbs//lib/rbs/types.rb#1427 + # pkg:gem/rbs#lib/rbs/types.rb:1427 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#1448 + # pkg:gem/rbs#lib/rbs/types.rb:1448 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute type. # - # source://rbs//lib/rbs/types.rb#1398 + # pkg:gem/rbs#lib/rbs/types.rb:1398 def type; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1507 + # pkg:gem/rbs#lib/rbs/types.rb:1507 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#527 +# pkg:gem/rbs#lib/rbs/types.rb:527 class RBS::Types::Record # @return [Record] a new instance of Record # - # source://rbs//lib/rbs/types.rb#531 + # pkg:gem/rbs#lib/rbs/types.rb:531 def initialize(location:, all_fields: T.unsafe(nil), fields: T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#555 + # pkg:gem/rbs#lib/rbs/types.rb:555 def ==(other); end # Returns the value of attribute all_fields. # - # source://rbs//lib/rbs/types.rb#528 + # pkg:gem/rbs#lib/rbs/types.rb:528 def all_fields; end - # source://rbs//lib/rbs/types.rb#605 + # pkg:gem/rbs#lib/rbs/types.rb:605 def each_type(&block); end - # source://rbs//lib/rbs/types.rb#559 + # pkg:gem/rbs#lib/rbs/types.rb:559 def eql?(other); end # Returns the value of attribute fields. # - # source://rbs//lib/rbs/types.rb#528 + # pkg:gem/rbs#lib/rbs/types.rb:528 def fields; end - # source://rbs//lib/rbs/types.rb#565 + # pkg:gem/rbs#lib/rbs/types.rb:565 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#636 + # pkg:gem/rbs#lib/rbs/types.rb:636 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#632 + # pkg:gem/rbs#lib/rbs/types.rb:632 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#561 + # pkg:gem/rbs#lib/rbs/types.rb:561 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#529 + # pkg:gem/rbs#lib/rbs/types.rb:529 def location; end - # source://rbs//lib/rbs/types.rb#621 + # pkg:gem/rbs#lib/rbs/types.rb:621 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#614 + # pkg:gem/rbs#lib/rbs/types.rb:614 def map_type_name(&block); end # Returns the value of attribute optional_fields. # - # source://rbs//lib/rbs/types.rb#528 + # pkg:gem/rbs#lib/rbs/types.rb:528 def optional_fields; end - # source://rbs//lib/rbs/types.rb#580 + # pkg:gem/rbs#lib/rbs/types.rb:580 def sub(s); end - # source://rbs//lib/rbs/types.rb#576 + # pkg:gem/rbs#lib/rbs/types.rb:576 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#589 + # pkg:gem/rbs#lib/rbs/types.rb:589 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#640 + # pkg:gem/rbs#lib/rbs/types.rb:640 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#1385 +# pkg:gem/rbs#lib/rbs/types.rb:1385 module RBS::Types::SelfTypeBindingHelper private - # source://rbs//lib/rbs/types.rb#1388 + # pkg:gem/rbs#lib/rbs/types.rb:1388 def self_type_binding_to_s(t); end class << self - # source://rbs//lib/rbs/types.rb#1388 + # pkg:gem/rbs#lib/rbs/types.rb:1388 def self_type_binding_to_s(t); end end end -# source://rbs//lib/rbs/types.rb#442 +# pkg:gem/rbs#lib/rbs/types.rb:442 class RBS::Types::Tuple # @return [Tuple] a new instance of Tuple # - # source://rbs//lib/rbs/types.rb#446 + # pkg:gem/rbs#lib/rbs/types.rb:446 def initialize(types:, location:); end - # source://rbs//lib/rbs/types.rb#451 + # pkg:gem/rbs#lib/rbs/types.rb:451 def ==(other); end - # source://rbs//lib/rbs/types.rb#488 + # pkg:gem/rbs#lib/rbs/types.rb:488 def each_type(&block); end - # source://rbs//lib/rbs/types.rb#455 + # pkg:gem/rbs#lib/rbs/types.rb:455 def eql?(other); end - # source://rbs//lib/rbs/types.rb#461 + # pkg:gem/rbs#lib/rbs/types.rb:461 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#518 + # pkg:gem/rbs#lib/rbs/types.rb:518 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#514 + # pkg:gem/rbs#lib/rbs/types.rb:514 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#457 + # pkg:gem/rbs#lib/rbs/types.rb:457 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#444 + # pkg:gem/rbs#lib/rbs/types.rb:444 def location; end - # source://rbs//lib/rbs/types.rb#503 + # pkg:gem/rbs#lib/rbs/types.rb:503 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#496 + # pkg:gem/rbs#lib/rbs/types.rb:496 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#473 + # pkg:gem/rbs#lib/rbs/types.rb:473 def sub(s); end - # source://rbs//lib/rbs/types.rb#469 + # pkg:gem/rbs#lib/rbs/types.rb:469 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#480 + # pkg:gem/rbs#lib/rbs/types.rb:480 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://rbs//lib/rbs/types.rb#443 + # pkg:gem/rbs#lib/rbs/types.rb:443 def types; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#522 + # pkg:gem/rbs#lib/rbs/types.rb:522 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#731 +# pkg:gem/rbs#lib/rbs/types.rb:731 class RBS::Types::Union # @return [Union] a new instance of Union # - # source://rbs//lib/rbs/types.rb#735 + # pkg:gem/rbs#lib/rbs/types.rb:735 def initialize(types:, location:); end - # source://rbs//lib/rbs/types.rb#740 + # pkg:gem/rbs#lib/rbs/types.rb:740 def ==(other); end - # source://rbs//lib/rbs/types.rb#786 + # pkg:gem/rbs#lib/rbs/types.rb:786 def each_type(&block); end - # source://rbs//lib/rbs/types.rb#744 + # pkg:gem/rbs#lib/rbs/types.rb:744 def eql?(other); end - # source://rbs//lib/rbs/types.rb#750 + # pkg:gem/rbs#lib/rbs/types.rb:750 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#813 + # pkg:gem/rbs#lib/rbs/types.rb:813 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#809 + # pkg:gem/rbs#lib/rbs/types.rb:809 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#746 + # pkg:gem/rbs#lib/rbs/types.rb:746 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#733 + # pkg:gem/rbs#lib/rbs/types.rb:733 def location; end - # source://rbs//lib/rbs/types.rb#794 + # pkg:gem/rbs#lib/rbs/types.rb:794 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#802 + # pkg:gem/rbs#lib/rbs/types.rb:802 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#762 + # pkg:gem/rbs#lib/rbs/types.rb:762 def sub(s); end - # source://rbs//lib/rbs/types.rb#758 + # pkg:gem/rbs#lib/rbs/types.rb:758 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#769 + # pkg:gem/rbs#lib/rbs/types.rb:769 def to_s(level = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://rbs//lib/rbs/types.rb#732 + # pkg:gem/rbs#lib/rbs/types.rb:732 def types; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#817 + # pkg:gem/rbs#lib/rbs/types.rb:817 def with_nonreturn_void?; end end -# source://rbs//lib/rbs/types.rb#1241 +# pkg:gem/rbs#lib/rbs/types.rb:1241 class RBS::Types::UntypedFunction # @return [UntypedFunction] a new instance of UntypedFunction # - # source://rbs//lib/rbs/types.rb#1244 + # pkg:gem/rbs#lib/rbs/types.rb:1244 def initialize(return_type:); end - # source://rbs//lib/rbs/types.rb#1326 + # pkg:gem/rbs#lib/rbs/types.rb:1326 def ==(other); end - # source://rbs//lib/rbs/types.rb#1274 + # pkg:gem/rbs#lib/rbs/types.rb:1274 def each_param(&block); end - # source://rbs//lib/rbs/types.rb#1266 + # pkg:gem/rbs#lib/rbs/types.rb:1266 def each_type(&block); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1302 + # pkg:gem/rbs#lib/rbs/types.rb:1302 def empty?; end - # source://rbs//lib/rbs/types.rb#1330 + # pkg:gem/rbs#lib/rbs/types.rb:1330 def eql?(other); end - # source://rbs//lib/rbs/types.rb#1248 + # pkg:gem/rbs#lib/rbs/types.rb:1248 def free_variables(acc = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1310 + # pkg:gem/rbs#lib/rbs/types.rb:1310 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1306 + # pkg:gem/rbs#lib/rbs/types.rb:1306 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#1332 + # pkg:gem/rbs#lib/rbs/types.rb:1332 def hash; end - # source://rbs//lib/rbs/types.rb#1252 + # pkg:gem/rbs#lib/rbs/types.rb:1252 def map_type(&block); end - # source://rbs//lib/rbs/types.rb#1260 + # pkg:gem/rbs#lib/rbs/types.rb:1260 def map_type_name(&block); end - # source://rbs//lib/rbs/types.rb#1318 + # pkg:gem/rbs#lib/rbs/types.rb:1318 def param_to_s; end - # source://rbs//lib/rbs/types.rb#1322 + # pkg:gem/rbs#lib/rbs/types.rb:1322 def return_to_s; end # Returns the value of attribute return_type. # - # source://rbs//lib/rbs/types.rb#1242 + # pkg:gem/rbs#lib/rbs/types.rb:1242 def return_type; end - # source://rbs//lib/rbs/types.rb#1288 + # pkg:gem/rbs#lib/rbs/types.rb:1288 def sub(subst); end - # source://rbs//lib/rbs/types.rb#1282 + # pkg:gem/rbs#lib/rbs/types.rb:1282 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#1298 + # pkg:gem/rbs#lib/rbs/types.rb:1298 def update(return_type: T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#1314 + # pkg:gem/rbs#lib/rbs/types.rb:1314 def with_nonreturn_void?; end - # source://rbs//lib/rbs/types.rb#1294 + # pkg:gem/rbs#lib/rbs/types.rb:1294 def with_return_type(ty); end end -# source://rbs//lib/rbs/types.rb#133 +# pkg:gem/rbs#lib/rbs/types.rb:133 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#139 + # pkg:gem/rbs#lib/rbs/types.rb:139 def initialize(name:, location:); end - # source://rbs//lib/rbs/types.rb#144 + # pkg:gem/rbs#lib/rbs/types.rb:144 def ==(other); end - # source://rbs//lib/rbs/types.rb#148 + # pkg:gem/rbs#lib/rbs/types.rb:148 def eql?(other); end - # source://rbs//lib/rbs/types.rb#154 + # pkg:gem/rbs#lib/rbs/types.rb:154 def free_variables(set = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#193 + # pkg:gem/rbs#lib/rbs/types.rb:193 def has_classish_type?; end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#189 + # pkg:gem/rbs#lib/rbs/types.rb:189 def has_self_type?; end - # source://rbs//lib/rbs/types.rb#150 + # pkg:gem/rbs#lib/rbs/types.rb:150 def hash; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/types.rb#135 + # pkg:gem/rbs#lib/rbs/types.rb:135 def location; end # Returns the value of attribute name. # - # source://rbs//lib/rbs/types.rb#134 + # pkg:gem/rbs#lib/rbs/types.rb:134 def name; end - # source://rbs//lib/rbs/types.rb#164 + # pkg:gem/rbs#lib/rbs/types.rb:164 def sub(s); end - # source://rbs//lib/rbs/types.rb#160 + # pkg:gem/rbs#lib/rbs/types.rb:160 def to_json(state = T.unsafe(nil)); end - # source://rbs//lib/rbs/types.rb#183 + # pkg:gem/rbs#lib/rbs/types.rb:183 def to_s(level = T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/types.rb#197 + # pkg:gem/rbs#lib/rbs/types.rb:197 def with_nonreturn_void?; end class << self - # source://rbs//lib/rbs/types.rb#168 + # pkg:gem/rbs#lib/rbs/types.rb:168 def build(v); end - # source://rbs//lib/rbs/types.rb#178 + # pkg:gem/rbs#lib/rbs/types.rb:178 def fresh(v = T.unsafe(nil)); end end end -# source://rbs//lib/rbs/errors.rb#349 +# pkg:gem/rbs#lib/rbs/errors.rb:349 class RBS::UnknownMethodAliasError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [UnknownMethodAliasError] a new instance of UnknownMethodAliasError # - # source://rbs//lib/rbs/errors.rb#357 + # pkg:gem/rbs#lib/rbs/errors.rb:357 def initialize(type_name:, original_name:, aliased_name:, location:); end # Returns the value of attribute aliased_name. # - # source://rbs//lib/rbs/errors.rb#354 + # pkg:gem/rbs#lib/rbs/errors.rb:354 def aliased_name; end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#355 + # pkg:gem/rbs#lib/rbs/errors.rb:355 def location; end # Returns the value of attribute original_name. # - # source://rbs//lib/rbs/errors.rb#353 + # pkg:gem/rbs#lib/rbs/errors.rb:353 def original_name; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#352 + # pkg:gem/rbs#lib/rbs/errors.rb:352 def type_name; end end -# source://rbs//lib/rbs/version.rb#4 +# pkg:gem/rbs#lib/rbs/version.rb:4 RBS::VERSION = T.let(T.unsafe(nil), String) -# source://rbs//lib/rbs/validator.rb#4 +# pkg:gem/rbs#lib/rbs/validator.rb:4 class RBS::Validator # @return [Validator] a new instance of Validator # - # source://rbs//lib/rbs/validator.rb#9 + # pkg:gem/rbs#lib/rbs/validator.rb:9 def initialize(env:, resolver: T.unsafe(nil)); end - # source://rbs//lib/rbs/validator.rb#15 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/validator.rb:7 def definition_builder; end # Returns the value of attribute env. # - # source://rbs//lib/rbs/validator.rb#5 + # pkg:gem/rbs#lib/rbs/validator.rb:5 def env; end # Returns the value of attribute resolver. # - # source://rbs//lib/rbs/validator.rb#6 + # pkg:gem/rbs#lib/rbs/validator.rb:6 def resolver; end - # source://rbs//lib/rbs/validator.rb#178 + # pkg:gem/rbs#lib/rbs/validator.rb:178 def type_alias_dependency; end - # source://rbs//lib/rbs/validator.rb#182 + # pkg:gem/rbs#lib/rbs/validator.rb:182 def type_alias_regularity; end - # source://rbs//lib/rbs/validator.rb#158 + # pkg:gem/rbs#lib/rbs/validator.rb:158 def validate_class_alias(entry:); end - # source://rbs//lib/rbs/validator.rb#104 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/validator.rb:24 def validate_type(type, context:); end - # source://rbs//lib/rbs/validator.rb#63 + # pkg:gem/rbs#lib/rbs/validator.rb:63 def validate_type_alias(entry:); end - # source://rbs//lib/rbs/validator.rb#120 + # pkg:gem/rbs#lib/rbs/validator.rb:120 def validate_type_params(params, type_name:, location:, method_name: T.unsafe(nil)); end - # source://rbs//lib/rbs/validator.rb#154 + # pkg:gem/rbs#lib/rbs/validator.rb:154 def validate_variable(var); end end -# source://rbs//lib/rbs/errors.rb#325 +# pkg:gem/rbs#lib/rbs/errors.rb:325 class RBS::VariableDuplicationError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [VariableDuplicationError] a new instance of VariableDuplicationError # - # source://rbs//lib/rbs/errors.rb#332 + # pkg:gem/rbs#lib/rbs/errors.rb:332 def initialize(type_name:, variable_name:, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#330 + # pkg:gem/rbs#lib/rbs/errors.rb:330 def location; end # Returns the value of attribute type_name. # - # source://rbs//lib/rbs/errors.rb#328 + # pkg:gem/rbs#lib/rbs/errors.rb:328 def type_name; end # Returns the value of attribute variable_name. # - # source://rbs//lib/rbs/errors.rb#329 + # pkg:gem/rbs#lib/rbs/errors.rb:329 def variable_name; end end -# source://rbs//lib/rbs/variance_calculator.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:76 def builder; end - # source://rbs//lib/rbs/variance_calculator.rb#82 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:82 def env; end - # source://rbs//lib/rbs/variance_calculator.rb#169 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:169 def function(type, result:, context:); end - # source://rbs//lib/rbs/variance_calculator.rb#98 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:98 def in_inherit(name:, args:, variables:); end - # source://rbs//lib/rbs/variance_calculator.rb#86 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:86 def in_method_type(method_type:, variables:); end - # source://rbs//lib/rbs/variance_calculator.rb#110 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:110 def in_type_alias(name:); end - # source://rbs//lib/rbs/variance_calculator.rb#176 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:176 def negate(variance); end - # source://rbs//lib/rbs/variance_calculator.rb#121 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:121 def type(type, result:, context:); end end -# source://rbs//lib/rbs/variance_calculator.rb#5 +# pkg:gem/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 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:8 def initialize(variables:); end # @return [Boolean] # - # source://rbs//lib/rbs/variance_calculator.rb#45 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:45 def compatible?(var, with_annotation:); end - # source://rbs//lib/rbs/variance_calculator.rb#24 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:24 def contravariant(x); end - # source://rbs//lib/rbs/variance_calculator.rb#15 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:15 def covariant(x); end - # source://rbs//lib/rbs/variance_calculator.rb#37 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:37 def each(&block); end # @return [Boolean] # - # source://rbs//lib/rbs/variance_calculator.rb#41 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:41 def include?(name); end # @return [Boolean] # - # source://rbs//lib/rbs/variance_calculator.rb#60 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:60 def incompatible?(params); end - # source://rbs//lib/rbs/variance_calculator.rb#33 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/variance_calculator.rb:6 def result; end end -# source://rbs//lib/rbs/vendorer.rb#4 +# pkg:gem/rbs#lib/rbs/vendorer.rb:4 class RBS::Vendorer # @return [Vendorer] a new instance of Vendorer # - # source://rbs//lib/rbs/vendorer.rb#8 + # pkg:gem/rbs#lib/rbs/vendorer.rb:8 def initialize(vendor_dir:, loader:); end - # source://rbs//lib/rbs/vendorer.rb#21 + # pkg:gem/rbs#lib/rbs/vendorer.rb:21 def clean!; end - # source://rbs//lib/rbs/vendorer.rb#28 + # pkg:gem/rbs#lib/rbs/vendorer.rb:28 def copy!; end - # source://rbs//lib/rbs/vendorer.rb#13 + # pkg:gem/rbs#lib/rbs/vendorer.rb:13 def ensure_dir; end # Returns the value of attribute loader. # - # source://rbs//lib/rbs/vendorer.rb#6 + # pkg:gem/rbs#lib/rbs/vendorer.rb:6 def loader; end # Returns the value of attribute vendor_dir. # - # source://rbs//lib/rbs/vendorer.rb#5 + # pkg:gem/rbs#lib/rbs/vendorer.rb:5 def vendor_dir; end end -# source://rbs//lib/rbs/errors.rb#594 +# pkg:gem/rbs#lib/rbs/errors.rb:594 class RBS::WillSyntaxError < ::RBS::DefinitionError include ::RBS::DetailedMessageable # @return [WillSyntaxError] a new instance of WillSyntaxError # - # source://rbs//lib/rbs/errors.rb#599 + # pkg:gem/rbs#lib/rbs/errors.rb:599 def initialize(message, location:); end # Returns the value of attribute location. # - # source://rbs//lib/rbs/errors.rb#597 + # pkg:gem/rbs#lib/rbs/errors.rb:597 def location; end end -# source://rbs//lib/rbs/writer.rb#4 +# pkg:gem/rbs#lib/rbs/writer.rb:4 class RBS::Writer # @return [Writer] a new instance of Writer # - # source://rbs//lib/rbs/writer.rb#8 + # pkg:gem/rbs#lib/rbs/writer.rb:8 def initialize(out:); end - # source://rbs//lib/rbs/writer.rb#366 + # pkg:gem/rbs#lib/rbs/writer.rb:366 def attribute(kind, attr); end - # source://rbs//lib/rbs/writer.rb#42 + # pkg:gem/rbs#lib/rbs/writer.rb:42 def format_annotation(annotation); end - # source://rbs//lib/rbs/writer.rb#23 + # pkg:gem/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 + # pkg:gem/rbs#lib/rbs/writer.rb:6 def indentation; end - # source://rbs//lib/rbs/writer.rb#293 + # pkg:gem/rbs#lib/rbs/writer.rb:293 def method_name(name); end - # source://rbs//lib/rbs/writer.rb#219 + # pkg:gem/rbs#lib/rbs/writer.rb:219 def name_and_args(name, args); end - # source://rbs//lib/rbs/writer.rb#207 + # pkg:gem/rbs#lib/rbs/writer.rb:207 def name_and_params(name, params); end # Returns the value of attribute out. # - # source://rbs//lib/rbs/writer.rb#5 + # pkg:gem/rbs#lib/rbs/writer.rb:5 def out; end - # source://rbs//lib/rbs/writer.rb#30 + # pkg:gem/rbs#lib/rbs/writer.rb:30 def prefix; end - # source://rbs//lib/rbs/writer.rb#18 + # pkg:gem/rbs#lib/rbs/writer.rb:18 def preserve!(preserve: T.unsafe(nil)); end # @return [Boolean] # - # source://rbs//lib/rbs/writer.rb#14 + # pkg:gem/rbs#lib/rbs/writer.rb:14 def preserve?; end - # source://rbs//lib/rbs/writer.rb#396 + # pkg:gem/rbs#lib/rbs/writer.rb:396 def preserve_empty_line(prev, decl); end - # source://rbs//lib/rbs/writer.rb#229 + # pkg:gem/rbs#lib/rbs/writer.rb:229 def put_lines(lines, leading_spaces:); end - # source://rbs//lib/rbs/writer.rb#34 + # pkg:gem/rbs#lib/rbs/writer.rb:34 def puts(string = T.unsafe(nil)); end - # source://rbs//lib/rbs/writer.rb#79 + # pkg:gem/rbs#lib/rbs/writer.rb:79 def write(contents); end - # source://rbs//lib/rbs/writer.rb#60 + # pkg:gem/rbs#lib/rbs/writer.rb:60 def write_annotation(annotations); end - # source://rbs//lib/rbs/writer.rb#66 + # pkg:gem/rbs#lib/rbs/writer.rb:66 def write_comment(comment); end - # source://rbs//lib/rbs/writer.rb#119 + # pkg:gem/rbs#lib/rbs/writer.rb:119 def write_decl(decl); end - # source://rbs//lib/rbs/writer.rb#314 + # pkg:gem/rbs#lib/rbs/writer.rb:314 def write_def(member); end - # source://rbs//lib/rbs/writer.rb#306 + # pkg:gem/rbs#lib/rbs/writer.rb:306 def write_loc_source(located); end - # source://rbs//lib/rbs/writer.rb#239 + # pkg:gem/rbs#lib/rbs/writer.rb:239 def write_member(member); end - # source://rbs//lib/rbs/writer.rb#102 + # pkg:gem/rbs#lib/rbs/writer.rb:102 def write_use_directive(dir); end end - -# source://rbs//lib/rdoc/discover.rb#8 -class RDoc::Parser::RBS < ::RDoc::Parser - # source://rbs//lib/rdoc/discover.rb#10 - def scan; end -end diff --git a/sorbet/rbi/gems/rdoc@7.0.3.rbi b/sorbet/rbi/gems/rdoc@7.0.3.rbi index 88f224a5c..fb4956a5a 100644 --- a/sorbet/rbi/gems/rdoc@7.0.3.rbi +++ b/sorbet/rbi/gems/rdoc@7.0.3.rbi @@ -5,8 +5,6 @@ # Please instead update this file by running `bin/tapioca gem rdoc`. -module ERB::Escape; end - # RDoc produces documentation for Ruby source files by parsing the source and # extracting the definition for classes, modules, methods, includes and # requires. It associates these with optional documentation contained in an @@ -58,7 +56,7 @@ module ERB::Escape; end # work of Keiju ISHITSUKA of Nippon Rational Inc, who produced the Ruby # parser for irb and the rtags package. # -# source://rdoc//lib/rdoc.rb#56 +# pkg:gem/rdoc#lib/rdoc.rb:56 module RDoc class << self # Searches and returns the directory for settings. @@ -71,12 +69,12 @@ module RDoc # Other than the home directory, the containing directory will be # created automatically. # - # source://rdoc//lib/rdoc.rb#132 + # pkg:gem/rdoc#lib/rdoc.rb:132 def home; end # Loads the best available YAML library. # - # source://rdoc//lib/rdoc.rb#105 + # pkg:gem/rdoc#lib/rdoc.rb:105 def load_yaml; end end end @@ -87,86 +85,86 @@ end # TODO implement Alias as a proxy to a method/attribute, inheriting from # MethodAttr # -# source://rdoc//lib/rdoc/code_object/alias.rb#9 +# pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:9 class RDoc::Alias < ::RDoc::CodeObject # Creates a new Alias with a token stream of +text+ that aliases +old_name+ # to +new_name+, has +comment+ and is a +singleton+ context. # # @return [Alias] a new instance of Alias # - # source://rdoc//lib/rdoc/code_object/alias.rb#37 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:37 def initialize(text, old_name, new_name, comment, singleton: T.unsafe(nil)); end # Order by #singleton then #new_name # - # source://rdoc//lib/rdoc/code_object/alias.rb#50 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:50 def <=>(other); end # HTML fragment reference for this alias # - # source://rdoc//lib/rdoc/code_object/alias.rb#57 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:57 def aref; end # HTML id-friendly version of +#new_name+. # - # source://rdoc//lib/rdoc/code_object/alias.rb#65 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:65 def html_name; end - # source://rdoc//lib/rdoc/code_object/alias.rb#69 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:69 def inspect; end # Aliased method's name # - # source://rdoc//lib/rdoc/code_object/alias.rb#16 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:16 def name; end # '::' for the alias of a singleton method/attribute, '#' for instance-level. # - # source://rdoc//lib/rdoc/code_object/alias.rb#80 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:80 def name_prefix; end # Aliased method's name # - # source://rdoc//lib/rdoc/code_object/alias.rb#14 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:14 def new_name; end # Aliasee method's name # - # source://rdoc//lib/rdoc/code_object/alias.rb#21 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:21 def old_name; end # New name with prefix '::' or '#'. # - # source://rdoc//lib/rdoc/code_object/alias.rb#98 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:98 def pretty_name; end # New name with prefix '::' or '#'. # - # source://rdoc//lib/rdoc/code_object/alias.rb#94 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:94 def pretty_new_name; end # Old name with prefix '::' or '#'. # - # source://rdoc//lib/rdoc/code_object/alias.rb#87 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:87 def pretty_old_name; end # Is this an alias declared in a singleton context? # - # source://rdoc//lib/rdoc/code_object/alias.rb#26 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:26 def singleton; end # Source file token stream # - # source://rdoc//lib/rdoc/code_object/alias.rb#31 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:31 def text; end - # source://rdoc//lib/rdoc/code_object/alias.rb#100 + # pkg:gem/rdoc#lib/rdoc/code_object/alias.rb:100 def to_s; end end # AnyMethod is the base class for objects representing methods # -# source://rdoc//lib/rdoc/code_object/any_method.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:5 class RDoc::AnyMethod < ::RDoc::MethodAttr include ::RDoc::TokenStream @@ -174,39 +172,39 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr # # @return [AnyMethod] a new instance of AnyMethod # - # source://rdoc//lib/rdoc/code_object/any_method.rb#42 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:42 def initialize(text, name, singleton: T.unsafe(nil)); end # Adds +an_alias+ as an alias for this method in +context+. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#55 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:55 def add_alias(an_alias, context = T.unsafe(nil)); end # Prefix for +aref+ is 'method'. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#71 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:71 def aref_prefix; end # The call_seq or the param_seq with method name, if there is no call_seq. # # Use this for displaying a method's argument lists. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#80 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:80 def arglists; end # The C function that implements this method (if it was defined in a C file) # - # source://rdoc//lib/rdoc/code_object/any_method.rb#27 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:27 def c_function; end # The C function that implements this method (if it was defined in a C file) # - # source://rdoc//lib/rdoc/code_object/any_method.rb#27 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:27 def c_function=(_arg0); end # Different ways to call this method # - # source://rdoc//lib/rdoc/code_object/any_method.rb#91 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:91 def call_seq; end # Sets the different ways you can call this method. If an empty +call_seq+ @@ -214,45 +212,45 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr # # See also #param_seq # - # source://rdoc//lib/rdoc/code_object/any_method.rb#107 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:107 def call_seq=(call_seq); end # If true this method uses +super+ to call a superclass version # - # source://rdoc//lib/rdoc/code_object/any_method.rb#35 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:35 def calls_super; end # If true this method uses +super+ to call a superclass version # - # source://rdoc//lib/rdoc/code_object/any_method.rb#35 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:35 def calls_super=(_arg0); end # Don't rename \#initialize to \::new # - # source://rdoc//lib/rdoc/code_object/any_method.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:22 def dont_rename_initialize; end # Don't rename \#initialize to \::new # - # source://rdoc//lib/rdoc/code_object/any_method.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:22 def dont_rename_initialize=(_arg0); end # Whether the method has a call-seq. # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/any_method.rb#116 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:116 def has_call_seq?; end # Loads is_alias_for from the internal name. Returns nil if the alias # cannot be found. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#124 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:124 def is_alias_for; end # Dumps this AnyMethod for use by ri. See also #marshal_load # - # source://rdoc//lib/rdoc/code_object/any_method.rb#142 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:142 def marshal_dump; end # Loads this AnyMethod from +array+. For a loaded AnyMethod the following @@ -261,36 +259,36 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr # * #full_name # * #parent_name # - # source://rdoc//lib/rdoc/code_object/any_method.rb#179 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:179 def marshal_load(array); end # Method name # # If the method has no assigned name, it extracts it from #call_seq. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#228 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:228 def name; end # A list of this method's method and yield parameters. +call-seq+ params # are preferred over parsed method and block params. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#241 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:241 def param_list; end # Pretty parameter list for this method. If the method's parameters were # given by +call-seq+ it is preferred over the parsed values. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#273 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:273 def param_seq; end # The section title of the method (if defined in a C file via +:category:+) # - # source://rdoc//lib/rdoc/code_object/any_method.rb#30 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:30 def section_title; end # The section title of the method (if defined in a C file via +:category:+) # - # source://rdoc//lib/rdoc/code_object/any_method.rb#30 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:30 def section_title=(_arg0); end # Whether to skip the method description, true for methods that have @@ -298,24 +296,24 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/any_method.rb#305 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:305 def skip_description?; end # Sets the store for this method and its referenced code objects. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#312 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:312 def store=(store); end # For methods that +super+, find the superclass method that would be called. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#321 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:321 def superclass_method; end protected # call_seq without deduplication and alias lookup. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#340 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:340 def _call_seq; end private @@ -323,36 +321,36 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr # call_seq with alias examples information removed, if this # method is an alias method. # - # source://rdoc//lib/rdoc/code_object/any_method.rb#350 + # pkg:gem/rdoc#lib/rdoc/code_object/any_method.rb:350 def deduplicate_call_seq(call_seq); end end # An attribute created by \#attr, \#attr_reader, \#attr_writer or # \#attr_accessor # -# source://rdoc//lib/rdoc/code_object/attr.rb#6 +# pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:6 class RDoc::Attr < ::RDoc::MethodAttr # Creates a new Attr with body +text+, +name+, read/write status +rw+ and # +comment+. +singleton+ marks this as a class attribute. # # @return [Attr] a new instance of Attr # - # source://rdoc//lib/rdoc/code_object/attr.rb#25 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:25 def initialize(text, name, rw, comment, singleton: T.unsafe(nil)); end # Attributes are equal when their names, singleton and rw are identical # - # source://rdoc//lib/rdoc/code_object/attr.rb#35 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:35 def ==(other); end # Add +an_alias+ as an attribute in +context+. # - # source://rdoc//lib/rdoc/code_object/attr.rb#45 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:45 def add_alias(an_alias, context); end # The #aref prefix for attributes # - # source://rdoc//lib/rdoc/code_object/attr.rb#58 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:58 def aref_prefix; end # Attributes never call super. See RDoc::AnyMethod#calls_super @@ -360,20 +358,20 @@ class RDoc::Attr < ::RDoc::MethodAttr # An RDoc::Attr can show up in the method list in some situations (see # Gem::ConfigFile) # - # source://rdoc//lib/rdoc/code_object/attr.rb#68 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:68 def calls_super; end # Returns attr_reader, attr_writer or attr_accessor as appropriate. # - # source://rdoc//lib/rdoc/code_object/attr.rb#75 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:75 def definition; end - # source://rdoc//lib/rdoc/code_object/attr.rb#83 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:83 def inspect; end # Dumps this Attr for use by ri. See also #marshal_load # - # source://rdoc//lib/rdoc/code_object/attr.rb#99 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:99 def marshal_dump; end # Loads this Attr from +array+. For a loaded Attr the following @@ -382,23 +380,23 @@ class RDoc::Attr < ::RDoc::MethodAttr # * #full_name # * #parent_name # - # source://rdoc//lib/rdoc/code_object/attr.rb#121 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:121 def marshal_load(array); end - # source://rdoc//lib/rdoc/code_object/attr.rb#148 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:148 def pretty_print(q); end # Is the attribute readable ('R'), writable ('W') or both ('RW')? # - # source://rdoc//lib/rdoc/code_object/attr.rb#19 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:19 def rw; end # Is the attribute readable ('R'), writable ('W') or both ('RW')? # - # source://rdoc//lib/rdoc/code_object/attr.rb#19 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:19 def rw=(_arg0); end - # source://rdoc//lib/rdoc/code_object/attr.rb#159 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:159 def to_s; end # Attributes do not have token streams. @@ -406,14 +404,14 @@ class RDoc::Attr < ::RDoc::MethodAttr # An RDoc::Attr can show up in the method list in some situations (see # Gem::ConfigFile) # - # source://rdoc//lib/rdoc/code_object/attr.rb#169 + # pkg:gem/rdoc#lib/rdoc/code_object/attr.rb:169 def token_stream; end end # ClassModule is the base class for objects representing either a class or a # module. # -# source://rdoc//lib/rdoc/code_object/class_module.rb#6 +# pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:6 class RDoc::ClassModule < ::RDoc::Context # Creates a new ClassModule with +name+ with optional +superclass+ # @@ -421,17 +419,17 @@ class RDoc::ClassModule < ::RDoc::Context # # @return [ClassModule] a new instance of ClassModule # - # source://rdoc//lib/rdoc/code_object/class_module.rb#123 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:123 def initialize(name, superclass = T.unsafe(nil)); end # Adds +comment+ to this ClassModule's list of comments at +location+. This # method is preferred over #comment= since it allows ri data to be updated # across multiple runs. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#138 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:138 def add_comment(comment, location); end - # source://rdoc//lib/rdoc/code_object/class_module.rb#159 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:159 def add_things(my_things, other_things); end # Ancestors list for this ClassModule: the list of included modules @@ -445,23 +443,23 @@ class RDoc::ClassModule < ::RDoc::Context # which is the order suitable for searching methods/attributes # in the ancestors. The superclass, if any, comes last. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#182 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:182 def ancestors; end # HTML fragment reference for this module or class. See # RDoc::NormalClass#aref and RDoc::NormalModule#aref # - # source://rdoc//lib/rdoc/code_object/class_module.rb#194 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:194 def aref; end # @raise [NotImplementedError] # - # source://rdoc//lib/rdoc/code_object/class_module.rb#186 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:186 def aref_prefix; end # Clears the comment. Used by the Ruby parser. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#206 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:206 def clear_comment; end # This method is deprecated, use #add_comment instead. @@ -469,7 +467,7 @@ class RDoc::ClassModule < ::RDoc::Context # Appends +comment+ to the current comment, but separated by a rule. Works # more like +=. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#216 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:216 def comment=(comment); end # An array of `[comment, location]` pairs documenting this class/module. @@ -489,7 +487,7 @@ class RDoc::ClassModule < ::RDoc::Context # - +location+: Only used by #parse to set Document#file, which accepts # both TopLevel (extracts relative_name) and String # - # source://rdoc//lib/rdoc/code_object/class_module.rb#50 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:50 def comment_location; end # An array of `[comment, location]` pairs documenting this class/module. @@ -509,29 +507,29 @@ class RDoc::ClassModule < ::RDoc::Context # - +location+: Only used by #parse to set Document#file, which accepts # both TopLevel (extracts relative_name) and String # - # source://rdoc//lib/rdoc/code_object/class_module.rb#50 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:50 def comment_location=(_arg0); end # Prepares this ClassModule for use by a generator. # # See RDoc::Store#complete # - # source://rdoc//lib/rdoc/code_object/class_module.rb#234 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:234 def complete(min_visibility); end # Constants that are aliases for this class or module # - # source://rdoc//lib/rdoc/code_object/class_module.rb#30 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:30 def constant_aliases; end # Constants that are aliases for this class or module # - # source://rdoc//lib/rdoc/code_object/class_module.rb#30 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:30 def constant_aliases=(_arg0); end # Handy wrapper for marking up this class or module's comment # - # source://rdoc//lib/rdoc/generator/markup.rb#143 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:143 def description; end # Ancestors list for this ClassModule: the list of included modules @@ -547,12 +545,12 @@ class RDoc::ClassModule < ::RDoc::Context # # Ancestors of this class or module only # - # source://rdoc//lib/rdoc/code_object/class_module.rb#201 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:201 def direct_ancestors; end # Does this ClassModule or any of its methods have document_self set? # - # source://rdoc//lib/rdoc/code_object/class_module.rb#246 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:246 def document_self_or_methods; end # Does this class or module have a comment with content or is @@ -560,63 +558,63 @@ class RDoc::ClassModule < ::RDoc::Context # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/class_module.rb#254 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:254 def documented?; end # Iterates the ancestors of this class or module for which an # RDoc::ClassModule exists. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#264 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:264 def each_ancestor; end - # source://rdoc//lib/rdoc/code_object/class_module.rb#879 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:879 def embed_mixins; end # Looks for a symbol in the #ancestors. See Context#find_local_symbol. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#277 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:277 def find_ancestor_local_symbol(symbol); end # Finds a class or module with +name+ in this namespace or its descendants # - # source://rdoc//lib/rdoc/code_object/class_module.rb#289 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:289 def find_class_named(name); end # Return the fully qualified name of this class or module # - # source://rdoc//lib/rdoc/code_object/class_module.rb#302 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:302 def full_name; end # Return array of fully qualified nesting namespaces. # # For example, if full_name is +A::B::C+, this method returns ["A", "A::B", "A::B::C"] # - # source://rdoc//lib/rdoc/code_object/class_module.rb#322 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:322 def fully_qualified_nesting_namespaces; end # Class or module this constant is an alias for # - # source://rdoc//lib/rdoc/code_object/class_module.rb#55 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:55 def is_alias_for; end # Class or module this constant is an alias for # - # source://rdoc//lib/rdoc/code_object/class_module.rb#55 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:55 def is_alias_for=(_arg0); end # TODO: filter included items by #display? # - # source://rdoc//lib/rdoc/code_object/class_module.rb#332 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:332 def marshal_dump; end - # source://rdoc//lib/rdoc/code_object/class_module.rb#378 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:378 def marshal_load(array); end # Merges +class_module+ into this ClassModule. # # The data in +class_module+ is preferred over the receiver. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#468 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:468 def merge(class_module); end # Merges collection +mine+ with +other+ preferring other. +other_files+ is @@ -633,57 +631,57 @@ class RDoc::ClassModule < ::RDoc::Context # end # end # - # source://rdoc//lib/rdoc/code_object/class_module.rb#553 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:553 def merge_collections(mine, other, other_files, &block); end # Merges the comments in this ClassModule with the comments in the other # ClassModule +cm+. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#565 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:565 def merge_sections(cm); end # Does this object represent a module? # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/class_module.rb#604 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:604 def module?; end # Allows overriding the initial name. # # Used for modules and classes that are constant aliases. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#613 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:613 def name=(new_name); end # Name to use to generate the url: # modules and classes that are aliases for another # module or class return the name of the latter. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#658 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:658 def name_for_path; end # Return array of full_name splitted by +::+. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#313 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:313 def nesting_namespaces; end # Returns the classes and modules that are not constants # aliasing another class or module. For use by formatters # only (caches its result). # - # source://rdoc//lib/rdoc/code_object/class_module.rb#667 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:667 def non_aliases; end # Parses +comment_location+ into an RDoc::Markup::Document composed of # multiple RDoc::Markup::Documents with their file set. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#621 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:621 def parse(comment_location); end # Path to this class or module for use with HTML generator output. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#647 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:647 def path; end # Updates the child modules or classes of class/module +parent+ by @@ -693,10 +691,10 @@ class RDoc::ClassModule < ::RDoc::Context # parent.classes_hash and +all_hash+ is ::all_modules_hash or # ::all_classes_hash. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#679 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:679 def remove_nodoc_children; end - # source://rdoc//lib/rdoc/code_object/class_module.rb#693 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:693 def remove_things(my_things, other_files); end # Search record used by RDoc::Generator::JsonIndex @@ -704,29 +702,29 @@ class RDoc::ClassModule < ::RDoc::Context # TODO: Remove this method after dropping the darkfish theme and JsonIndex generator. # Use #search_snippet instead for getting documentation snippets. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#711 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:711 def search_record; end # Returns an HTML snippet of the first comment for search results. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#726 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:726 def search_snippet; end # Sets the store for this class or module and its contained code objects. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#736 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:736 def store=(store); end # Get all super classes of this class in an array. The last element might be # a string if the name is unknown. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#779 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:779 def super_classes; end # Get the superclass of this class. Attempts to retrieve the superclass # object, returns the name if it is not known. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#750 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:750 def superclass; end # Set the superclass of this class to +superclass+ @@ -739,15 +737,15 @@ class RDoc::ClassModule < ::RDoc::Context # # @raise [NoMethodError] # - # source://rdoc//lib/rdoc/code_object/class_module.rb#763 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:763 def superclass=(superclass); end - # source://rdoc//lib/rdoc/code_object/class_module.rb#789 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:789 def to_s; end # 'module' or 'class' # - # source://rdoc//lib/rdoc/code_object/class_module.rb#800 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:800 def type; end # Updates the child modules & classes by replacing the ones that are @@ -764,7 +762,7 @@ class RDoc::ClassModule < ::RDoc::Context # the aliased modules are included in the constants of the class/module, # that are listed separately. # - # source://rdoc//lib/rdoc/code_object/class_module.rb#819 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:819 def update_aliases; end # Deletes from #extends those whose module has been removed from the @@ -772,7 +770,7 @@ class RDoc::ClassModule < ::RDoc::Context # -- # FIXME: like update_includes, extends are not reliably removed # - # source://rdoc//lib/rdoc/code_object/class_module.rb#869 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:869 def update_extends; end # Deletes from #includes those whose module has been removed from the @@ -780,12 +778,12 @@ class RDoc::ClassModule < ::RDoc::Context # -- # FIXME: includes are not reliably removed, see _possible_bug test case # - # source://rdoc//lib/rdoc/code_object/class_module.rb#854 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:854 def update_includes; end private - # source://rdoc//lib/rdoc/code_object/class_module.rb#908 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:908 def prepare_to_embed(code_object, singleton = T.unsafe(nil)); end class << self @@ -794,7 +792,7 @@ class RDoc::ClassModule < ::RDoc::Context # -- # TODO move to RDoc::NormalClass (I think) # - # source://rdoc//lib/rdoc/code_object/class_module.rb#63 + # pkg:gem/rdoc#lib/rdoc/code_object/class_module.rb:63 def from_module(class_type, mod); end end end @@ -825,7 +823,7 @@ end # * RDoc::Include # * RDoc::Extend # -# source://rdoc//lib/rdoc/code_object.rb#29 +# pkg:gem/rdoc#lib/rdoc/code_object.rb:29 class RDoc::CodeObject include ::RDoc::Text include ::RDoc::Generator::Markup @@ -834,17 +832,17 @@ class RDoc::CodeObject # # @return [CodeObject] a new instance of CodeObject # - # source://rdoc//lib/rdoc/code_object.rb#101 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:101 def initialize; end # Our comment # - # source://rdoc//lib/rdoc/code_object.rb#36 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:36 def comment; end # Replaces our comment with +comment+, unless it is empty. # - # source://rdoc//lib/rdoc/code_object.rb#135 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:135 def comment=(comment); end # Should this CodeObject be displayed in output? @@ -857,41 +855,41 @@ class RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object.rb#162 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:162 def display?; end # Do we document our children? # - # source://rdoc//lib/rdoc/code_object.rb#41 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:41 def document_children; end # Enables or disables documentation of this CodeObject's children unless it # has been turned off by :enddoc: # - # source://rdoc//lib/rdoc/code_object.rb#171 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:171 def document_children=(document_children); end # Do we document ourselves? # - # source://rdoc//lib/rdoc/code_object.rb#46 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:46 def document_self; end # Enables or disables documentation of this CodeObject unless it has been # turned off by :enddoc:. If the argument is +nil+ it means the # - # source://rdoc//lib/rdoc/code_object.rb#182 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:182 def document_self=(document_self); end # Does this object have a comment with content or is #received_nodoc true? # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object.rb#193 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:193 def documented?; end # Are we done documenting (ie, did we come across a :enddoc:)? # - # source://rdoc//lib/rdoc/code_object.rb#51 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:51 def done_documenting; end # Turns documentation on/off, and turns on/off #document_self @@ -901,24 +899,24 @@ class RDoc::CodeObject # the object will refuse to turn #document_self or # will have no effect in the current file. # - # source://rdoc//lib/rdoc/code_object.rb#206 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:206 def done_documenting=(value); end # Which file this code object was defined in # - # source://rdoc//lib/rdoc/code_object.rb#56 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:56 def file; end # File name where this CodeObject was found. # # See also RDoc::Context#in_files # - # source://rdoc//lib/rdoc/code_object.rb#218 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:218 def file_name; end # Force documentation of this CodeObject # - # source://rdoc//lib/rdoc/code_object.rb#61 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:61 def force_documentation; end # Force the documentation of this object unless documentation @@ -926,14 +924,14 @@ class RDoc::CodeObject # -- # HACK untested, was assigning to an ivar # - # source://rdoc//lib/rdoc/code_object.rb#230 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:230 def force_documentation=(value); end # Sets the full_name overriding any computed full name. # # Set to +nil+ to clear RDoc's cached value # - # source://rdoc//lib/rdoc/code_object.rb#239 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:239 def full_name=(full_name); end # Use this to ignore a CodeObject and all its children until found again @@ -951,7 +949,7 @@ class RDoc::CodeObject # reopened it should not be displayed. The ignore flag allows this to # occur. # - # source://rdoc//lib/rdoc/code_object.rb#259 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:259 def ignore; end # Has this class been ignored? @@ -960,37 +958,37 @@ class RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object.rb#272 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:272 def ignored?; end # Initializes state for visibility of this CodeObject and its children. # - # source://rdoc//lib/rdoc/code_object.rb#121 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:121 def initialize_visibility; end # Line in #file where this CodeObject was defined # - # source://rdoc//lib/rdoc/code_object.rb#66 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:66 def line; end # Line in #file where this CodeObject was defined # - # source://rdoc//lib/rdoc/code_object.rb#66 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:66 def line=(_arg0); end # Hash of arbitrary metadata for this CodeObject # - # source://rdoc//lib/rdoc/code_object.rb#71 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:71 def metadata; end # When mixed-in to a class, this points to the Context in which it was originally defined. # - # source://rdoc//lib/rdoc/code_object.rb#96 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:96 def mixin_from; end # When mixed-in to a class, this points to the Context in which it was originally defined. # - # source://rdoc//lib/rdoc/code_object.rb#96 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:96 def mixin_from=(_arg0); end # The options instance from the store this CodeObject is attached to, or a @@ -998,63 +996,63 @@ class RDoc::CodeObject # # This is used by Text#snippet # - # source://rdoc//lib/rdoc/code_object.rb#282 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:282 def options; end # Our parent CodeObject. The parent may be missing for classes loaded from # legacy RI data stores. # - # source://rdoc//lib/rdoc/code_object.rb#290 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:290 def parent; end # Sets the parent CodeObject # - # source://rdoc//lib/rdoc/code_object.rb#76 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:76 def parent=(_arg0); end # Name of our parent # - # source://rdoc//lib/rdoc/code_object.rb#312 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:312 def parent_name; end - # source://rdoc//lib/rdoc/code_object.rb#81 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:81 def received_nodoc; end # Records the RDoc::TopLevel (file) where this code object was defined # - # source://rdoc//lib/rdoc/code_object.rb#319 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:319 def record_location(top_level); end # The section this CodeObject is in. Sections allow grouping of constants, # attributes and methods inside a class or module. # - # source://rdoc//lib/rdoc/code_object.rb#329 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:329 def section; end # Set the section this CodeObject is in # - # source://rdoc//lib/rdoc/code_object.rb#86 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:86 def section=(_arg0); end # Enable capture of documentation unless documentation has been # turned off by :enddoc: # - # source://rdoc//lib/rdoc/code_object.rb#339 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:339 def start_doc; end # Disable capture of documentation # - # source://rdoc//lib/rdoc/code_object.rb#351 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:351 def stop_doc; end # The RDoc::Store for this object. # - # source://rdoc//lib/rdoc/code_object.rb#91 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:91 def store; end # Sets the +store+ that contains this CodeObject # - # source://rdoc//lib/rdoc/code_object.rb#361 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:361 def store=(store); end # Use this to suppress a CodeObject and all its children until the next file @@ -1062,7 +1060,7 @@ class RDoc::CodeObject # documentation will be displayed while an ignored item with documentation # may not be displayed. # - # source://rdoc//lib/rdoc/code_object.rb#378 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:378 def suppress; end # Has this class been suppressed? @@ -1071,11 +1069,11 @@ class RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object.rb#391 + # pkg:gem/rdoc#lib/rdoc/code_object.rb:391 def suppressed?; end end -# source://rdoc//lib/rdoc/comment.rb#12 +# pkg:gem/rdoc#lib/rdoc/comment.rb:12 class RDoc::Comment include ::RDoc::Text @@ -1084,28 +1082,28 @@ class RDoc::Comment # # @return [Comment] a new instance of Comment # - # source://rdoc//lib/rdoc/comment.rb#56 + # pkg:gem/rdoc#lib/rdoc/comment.rb:56 def initialize(text = T.unsafe(nil), location = T.unsafe(nil), language = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/comment.rb#74 + # pkg:gem/rdoc#lib/rdoc/comment.rb:74 def ==(other); end # Overrides the content returned by #parse. Use when there is no #text # source for this comment # - # source://rdoc//lib/rdoc/comment.rb#50 + # pkg:gem/rdoc#lib/rdoc/comment.rb:50 def document=(_arg0); end # A comment is empty if its text String is empty. # # @return [Boolean] # - # source://rdoc//lib/rdoc/comment.rb#125 + # pkg:gem/rdoc#lib/rdoc/comment.rb:125 def empty?; end # HACK dubious # - # source://rdoc//lib/rdoc/comment.rb#132 + # pkg:gem/rdoc#lib/rdoc/comment.rb:132 def encode!(encoding); end # Look for a 'call-seq' in the comment to override the normal parameter @@ -1123,70 +1121,70 @@ class RDoc::Comment # # ARGF.to_a(limit) -> array # # ARGF.to_a(sep, limit) -> array # - # source://rdoc//lib/rdoc/comment.rb#95 + # pkg:gem/rdoc#lib/rdoc/comment.rb:95 def extract_call_seq; end # The RDoc::TopLevel this comment was found in # # For duck-typing when merging classes at load time # - # source://rdoc//lib/rdoc/comment.rb#34 + # pkg:gem/rdoc#lib/rdoc/comment.rb:34 def file; end # The format of this comment. Defaults to RDoc::Markup # - # source://rdoc//lib/rdoc/comment.rb#19 + # pkg:gem/rdoc#lib/rdoc/comment.rb:19 def format; end # Sets the format of this comment and resets any parsed document # - # source://rdoc//lib/rdoc/comment.rb#140 + # pkg:gem/rdoc#lib/rdoc/comment.rb:140 def format=(format); end - # source://rdoc//lib/rdoc/comment.rb#145 + # pkg:gem/rdoc#lib/rdoc/comment.rb:145 def inspect; end # Line where this Comment was written # - # source://rdoc//lib/rdoc/comment.rb#29 + # pkg:gem/rdoc#lib/rdoc/comment.rb:29 def line; end # Line where this Comment was written # - # source://rdoc//lib/rdoc/comment.rb#29 + # pkg:gem/rdoc#lib/rdoc/comment.rb:29 def line=(_arg0); end # The RDoc::TopLevel this comment was found in # - # source://rdoc//lib/rdoc/comment.rb#24 + # pkg:gem/rdoc#lib/rdoc/comment.rb:24 def location; end # The RDoc::TopLevel this comment was found in # - # source://rdoc//lib/rdoc/comment.rb#24 + # pkg:gem/rdoc#lib/rdoc/comment.rb:24 def location=(_arg0); end # Normalizes the text. See RDoc::Text#normalize_comment for details # - # source://rdoc//lib/rdoc/comment.rb#154 + # pkg:gem/rdoc#lib/rdoc/comment.rb:154 def normalize; end # Change normalized, when creating already normalized comment. # - # source://rdoc//lib/rdoc/comment.rb#167 + # pkg:gem/rdoc#lib/rdoc/comment.rb:167 def normalized=(value); end # Was this text normalized? # # @return [Boolean] # - # source://rdoc//lib/rdoc/comment.rb#174 + # pkg:gem/rdoc#lib/rdoc/comment.rb:174 def normalized?; end # Parses the comment into an RDoc::Markup::Document. The parsed document is # cached until the text is changed. # - # source://rdoc//lib/rdoc/comment.rb#182 + # pkg:gem/rdoc#lib/rdoc/comment.rb:182 def parse; end # Removes private sections from this comment. Private sections are flush to @@ -1201,12 +1199,12 @@ class RDoc::Comment # * public # */ # - # source://rdoc//lib/rdoc/comment.rb#203 + # pkg:gem/rdoc#lib/rdoc/comment.rb:203 def remove_private; end # The text for this comment # - # source://rdoc//lib/rdoc/comment.rb#39 + # pkg:gem/rdoc#lib/rdoc/comment.rb:39 def text; end # Replaces this comment's text with +text+ and resets the parsed document. @@ -1215,21 +1213,21 @@ class RDoc::Comment # # @raise [RDoc::Error] # - # source://rdoc//lib/rdoc/comment.rb#217 + # pkg:gem/rdoc#lib/rdoc/comment.rb:217 def text=(text); end # The text for this comment # # Alias for text # - # source://rdoc//lib/rdoc/comment.rb#44 + # pkg:gem/rdoc#lib/rdoc/comment.rb:44 def to_s; end # Returns true if this comment is in TomDoc format. # # @return [Boolean] # - # source://rdoc//lib/rdoc/comment.rb#228 + # pkg:gem/rdoc#lib/rdoc/comment.rb:228 def tomdoc?; end private @@ -1237,13 +1235,13 @@ class RDoc::Comment # -- # TODO deep copy @document # - # source://rdoc//lib/rdoc/comment.rb#70 + # pkg:gem/rdoc#lib/rdoc/comment.rb:70 def initialize_copy(copy); end class << self # Create a new parsed comment from a document # - # source://rdoc//lib/rdoc/comment.rb#246 + # pkg:gem/rdoc#lib/rdoc/comment.rb:246 def from_document(document); end # Parse comment, collect directives as an attribute and return [normalized_comment_text, directives_hash] @@ -1269,49 +1267,49 @@ class RDoc::Comment # # private comment # #++ # - # source://rdoc//lib/rdoc/comment.rb#276 + # pkg:gem/rdoc#lib/rdoc/comment.rb:276 def parse(text, filename, line_no, type, &include_callback); end private - # source://rdoc//lib/rdoc/comment.rb#363 + # pkg:gem/rdoc#lib/rdoc/comment.rb:363 def normalize_comment_lines(lines); end - # source://rdoc//lib/rdoc/comment.rb#381 + # pkg:gem/rdoc#lib/rdoc/comment.rb:381 def take_multiline_directive_value_lines(directive, filename, line_no, lines, base_indent_size, indent_regexp, has_param); end end end # There are more, but already handled by RDoc::Parser::C # -# source://rdoc//lib/rdoc/comment.rb#235 +# pkg:gem/rdoc#lib/rdoc/comment.rb:235 RDoc::Comment::COLON_LESS_DIRECTIVES = T.let(T.unsafe(nil), Array) -# source://rdoc//lib/rdoc/comment.rb#237 +# pkg:gem/rdoc#lib/rdoc/comment.rb:237 RDoc::Comment::DIRECTIVE_OR_ESCAPED_DIRECTIV_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rdoc//lib/rdoc/comment.rb#232 +# pkg:gem/rdoc#lib/rdoc/comment.rb:232 RDoc::Comment::MULTILINE_DIRECTIVES = T.let(T.unsafe(nil), Array) # A constant # -# source://rdoc//lib/rdoc/code_object/constant.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:5 class RDoc::Constant < ::RDoc::CodeObject # Creates a new constant with +name+, +value+ and +comment+ # # @return [Constant] a new instance of Constant # - # source://rdoc//lib/rdoc/code_object/constant.rb#32 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:32 def initialize(name, value, comment); end # Constants are ordered by name # - # source://rdoc//lib/rdoc/code_object/constant.rb#47 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:47 def <=>(other); end # Constants are equal when their #parent and #name is the same # - # source://rdoc//lib/rdoc/code_object/constant.rb#56 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:56 def ==(other); end # A constant is documented if it has a comment, or is an alias @@ -1319,30 +1317,30 @@ class RDoc::Constant < ::RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/constant.rb#66 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:66 def documented?; end # Full constant name including namespace # - # source://rdoc//lib/rdoc/code_object/constant.rb#81 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:81 def full_name; end - # source://rdoc//lib/rdoc/code_object/constant.rb#99 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:99 def inspect; end # The module or class this constant is an alias for # - # source://rdoc//lib/rdoc/code_object/constant.rb#88 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:88 def is_alias_for; end # Sets the module or class this is constant is an alias for. # - # source://rdoc//lib/rdoc/code_object/constant.rb#12 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:12 def is_alias_for=(_arg0); end # Dumps this Constant for use by ri. See also #marshal_load # - # source://rdoc//lib/rdoc/code_object/constant.rb#109 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:109 def marshal_dump; end # Loads this Constant from +array+. For a loaded Constant the following @@ -1351,58 +1349,58 @@ class RDoc::Constant < ::RDoc::CodeObject # * #full_name # * #parent_name # - # source://rdoc//lib/rdoc/code_object/constant.rb#135 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:135 def marshal_load(array); end # The constant's name # - # source://rdoc//lib/rdoc/code_object/constant.rb#17 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:17 def name; end # The constant's name # - # source://rdoc//lib/rdoc/code_object/constant.rb#17 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:17 def name=(_arg0); end # Path to this constant for use with HTML generator output. # - # source://rdoc//lib/rdoc/code_object/constant.rb#153 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:153 def path; end - # source://rdoc//lib/rdoc/code_object/constant.rb#166 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:166 def pretty_print(q); end # Returns an HTML snippet of the comment for search results. # - # source://rdoc//lib/rdoc/code_object/constant.rb#160 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:160 def search_snippet; end # Sets the store for this class or module and its contained code objects. # - # source://rdoc//lib/rdoc/code_object/constant.rb#180 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:180 def store=(store); end - # source://rdoc//lib/rdoc/code_object/constant.rb#186 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:186 def to_s; end # The constant's value # - # source://rdoc//lib/rdoc/code_object/constant.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:22 def value; end # The constant's value # - # source://rdoc//lib/rdoc/code_object/constant.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:22 def value=(_arg0); end # The constant's visibility # - # source://rdoc//lib/rdoc/code_object/constant.rb#27 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:27 def visibility; end # The constant's visibility # - # source://rdoc//lib/rdoc/code_object/constant.rb#27 + # pkg:gem/rdoc#lib/rdoc/code_object/constant.rb:27 def visibility=(_arg0); end end @@ -1410,7 +1408,7 @@ end # aliases, requires, and includes. Classes, modules, and files are all # Contexts. # -# source://rdoc//lib/rdoc/code_object/context.rb#7 +# pkg:gem/rdoc#lib/rdoc/code_object/context.rb:7 class RDoc::Context < ::RDoc::CodeObject include ::Comparable @@ -1418,12 +1416,12 @@ class RDoc::Context < ::RDoc::CodeObject # # @return [Context] a new instance of Context # - # source://rdoc//lib/rdoc/code_object/context.rb#123 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:123 def initialize; end # Contexts are sorted by full_name # - # source://rdoc//lib/rdoc/code_object/context.rb#171 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:171 def <=>(other); end # Adds an item of type +klass+ with the given +name+ and +comment+ to the @@ -1431,12 +1429,12 @@ class RDoc::Context < ::RDoc::CodeObject # # Currently only RDoc::Extend and RDoc::Include are supported. # - # source://rdoc//lib/rdoc/code_object/context.rb#183 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:183 def add(klass, name, comment); end # Adds +an_alias+ that is automatically resolved # - # source://rdoc//lib/rdoc/code_object/context.rb#198 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:198 def add_alias(an_alias); end # Adds +attribute+ if not already there. If it is (as method(s) or attribute), @@ -1447,7 +1445,7 @@ class RDoc::Context < ::RDoc::CodeObject # if method +foo+ exists, but attr_accessor :foo will be registered # if method +foo+ exists, but foo= does not. # - # source://rdoc//lib/rdoc/code_object/context.rb#225 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:225 def add_attribute(attribute); end # Adds a class named +given_name+ with +superclass+. @@ -1464,7 +1462,7 @@ class RDoc::Context < ::RDoc::CodeObject # unless it later sees class Container. +add_class+ automatically # upgrades +given_name+ to a class in this case. # - # source://rdoc//lib/rdoc/code_object/context.rb#288 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:288 def add_class(class_type, given_name, superclass = T.unsafe(nil)); end # Adds the class or module +mod+ to the modules or @@ -1473,51 +1471,51 @@ class RDoc::Context < ::RDoc::CodeObject # unless #done_documenting is +true+. Sets the #parent of +mod+ # to +self+, and its #section to #current_section. Returns +mod+. # - # source://rdoc//lib/rdoc/code_object/context.rb#404 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:404 def add_class_or_module(mod, self_hash, all_hash); end # Adds +constant+ if not already there. If it is, updates the comment, # value and/or is_alias_for of the known constant if they were empty/nil. # - # source://rdoc//lib/rdoc/code_object/context.rb#429 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:429 def add_constant(constant); end # Adds extension module +ext+ which should be an RDoc::Extend # - # source://rdoc//lib/rdoc/code_object/context.rb#463 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:463 def add_extend(ext); end # Adds included module +include+ which should be an RDoc::Include # - # source://rdoc//lib/rdoc/code_object/context.rb#454 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:454 def add_include(include); end # Adds +method+ if not already there. If it is (as method or attribute), # updates the comment if it was empty. # - # source://rdoc//lib/rdoc/code_object/context.rb#473 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:473 def add_method(method); end # Adds a module named +name+. If RDoc already knows +name+ is a class then # that class is returned instead. See also #add_class. # - # source://rdoc//lib/rdoc/code_object/context.rb#506 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:506 def add_module(class_type, name); end # Adds an alias from +from+ (a class or module) to +name+ which was defined # in +file+. # - # source://rdoc//lib/rdoc/code_object/context.rb#527 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:527 def add_module_alias(from, from_name, to, file); end # Adds a module by +RDoc::NormalModule+ instance. See also #add_module. # - # source://rdoc//lib/rdoc/code_object/context.rb#519 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:519 def add_module_by_normal_module(mod); end # Adds +require+ to this context's top level # - # source://rdoc//lib/rdoc/code_object/context.rb#568 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:568 def add_require(require); end # Returns a section with +title+, creating it if it doesn't already exist. @@ -1527,17 +1525,17 @@ class RDoc::Context < ::RDoc::CodeObject # # See also RDoc::Context::Section # - # source://rdoc//lib/rdoc/code_object/context.rb#586 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:586 def add_section(title, comment = T.unsafe(nil)); end # Adds +thing+ to the collection +array+ # - # source://rdoc//lib/rdoc/code_object/context.rb#600 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:600 def add_to(array, thing); end # Class/module aliases # - # source://rdoc//lib/rdoc/code_object/context.rb#25 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:25 def aliases; end # Is there any content? @@ -1547,81 +1545,81 @@ class RDoc::Context < ::RDoc::CodeObject # # Includes and extends are also checked unless includes == false. # - # source://rdoc//lib/rdoc/code_object/context.rb#616 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:616 def any_content(includes = T.unsafe(nil)); end # All attr* methods # - # source://rdoc//lib/rdoc/code_object/context.rb#30 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:30 def attributes; end # Block params to be used in the next MethodAttr parsed under this context # - # source://rdoc//lib/rdoc/code_object/context.rb#35 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:35 def block_params; end # Block params to be used in the next MethodAttr parsed under this context # - # source://rdoc//lib/rdoc/code_object/context.rb#35 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:35 def block_params=(_arg0); end # Creates the full name for a child with +name+ # - # source://rdoc//lib/rdoc/code_object/context.rb#632 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:632 def child_name(name); end # Class attributes # - # source://rdoc//lib/rdoc/code_object/context.rb#645 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:645 def class_attributes; end # Class methods # - # source://rdoc//lib/rdoc/code_object/context.rb#652 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:652 def class_method_list; end # Array of classes in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#659 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:659 def classes; end # All classes and modules in this namespace # - # source://rdoc//lib/rdoc/code_object/context.rb#666 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:666 def classes_and_modules; end # Hash of classes keyed by class name # - # source://rdoc//lib/rdoc/code_object/context.rb#673 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:673 def classes_hash; end # Constants defined # - # source://rdoc//lib/rdoc/code_object/context.rb#40 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:40 def constants; end # Hash of registered constants. # - # source://rdoc//lib/rdoc/code_object/context.rb#118 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:118 def constants_hash; end # Current visibility of this line # - # source://rdoc//lib/rdoc/code_object/context.rb#102 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:102 def current_line_visibility=(_arg0); end # The current documentation section that new items will be added to. If # temporary_section is available it will be used. # - # source://rdoc//lib/rdoc/code_object/context.rb#681 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:681 def current_section; end # Sets the current documentation section of documentation # - # source://rdoc//lib/rdoc/code_object/context.rb#45 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:45 def current_section=(_arg0); end - # source://rdoc//lib/rdoc/code_object/context.rb#691 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:691 def display(method_attr); end # Iterator for ancestors for duck-typing. Does nothing. See @@ -1630,17 +1628,17 @@ class RDoc::Context < ::RDoc::CodeObject # This method exists to make it easy to work with Context subclasses that # aren't part of RDoc. # - # source://rdoc//lib/rdoc/code_object/context.rb#706 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:706 def each_ancestor(&_); end # Iterator for classes and modules # - # source://rdoc//lib/rdoc/code_object/context.rb#712 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:712 def each_classmodule(&block); end # Iterator for methods # - # source://rdoc//lib/rdoc/code_object/context.rb#719 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:719 def each_method; end # Iterator for each section's contents sorted by title. The +section+, the @@ -1652,93 +1650,93 @@ class RDoc::Context < ::RDoc::CodeObject # # NOTE: Do not edit collections yielded by this method # - # source://rdoc//lib/rdoc/code_object/context.rb#735 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:735 def each_section; end # Modules this context is extended with # - # source://rdoc//lib/rdoc/code_object/context.rb#60 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:60 def extends; end # Aliases that could not be resolved. # - # source://rdoc//lib/rdoc/code_object/context.rb#92 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:92 def external_aliases; end # Finds an attribute +name+ with singleton value +singleton+. # - # source://rdoc//lib/rdoc/code_object/context.rb#752 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:752 def find_attribute(name, singleton); end # Finds an attribute with +name+ in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#760 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:760 def find_attribute_named(name); end # Finds a class method with +name+ in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#774 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:774 def find_class_method_named(name); end # Finds a constant with +name+ in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#781 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:781 def find_constant_named(name); end # Find a module at a higher scope # - # source://rdoc//lib/rdoc/code_object/context.rb#790 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:790 def find_enclosing_module_named(name); end # Finds an external alias +name+ with singleton value +singleton+. # - # source://rdoc//lib/rdoc/code_object/context.rb#797 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:797 def find_external_alias(name, singleton); end # Finds an external alias with +name+ in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#804 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:804 def find_external_alias_named(name); end # Finds an instance method with +name+ in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#818 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:818 def find_instance_method_named(name); end # Finds a method, constant, attribute, external alias, module or file # named +symbol+ in this context. # - # source://rdoc//lib/rdoc/code_object/context.rb#826 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:826 def find_local_symbol(symbol); end # Finds a method named +name+ with singleton value +singleton+. # - # source://rdoc//lib/rdoc/code_object/context.rb#838 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:838 def find_method(name, singleton); end # Finds a instance or module method with +name+ in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#851 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:851 def find_method_named(name); end # Find a module with +name+ using ruby's scoping rules # - # source://rdoc//lib/rdoc/code_object/context.rb#865 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:865 def find_module_named(name); end # Look up +symbol+, first as a module, then as a local symbol. # - # source://rdoc//lib/rdoc/code_object/context.rb#875 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:875 def find_symbol(symbol); end # Look up a module named +symbol+. # - # source://rdoc//lib/rdoc/code_object/context.rb#882 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:882 def find_symbol_module(symbol); end # The full name for this context. This method is overridden by subclasses. # - # source://rdoc//lib/rdoc/code_object/context.rb#915 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:915 def full_name; end # Does this context and its methods and constants all have documentation? @@ -1747,49 +1745,49 @@ class RDoc::Context < ::RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/context.rb#924 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:924 def fully_documented?; end # URL for this with a +prefix+ # - # source://rdoc//lib/rdoc/code_object/context.rb#934 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:934 def http_url; end # Files this context is found in # - # source://rdoc//lib/rdoc/code_object/context.rb#50 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:50 def in_files; end # Modules this context includes # - # source://rdoc//lib/rdoc/code_object/context.rb#55 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:55 def includes; end # Sets the defaults for methods and so-forth # - # source://rdoc//lib/rdoc/code_object/context.rb#145 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:145 def initialize_methods_etc; end # Instance attributes # - # source://rdoc//lib/rdoc/code_object/context.rb#945 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:945 def instance_attributes; end # Instance methods # -- # TODO remove this later # - # source://rdoc//lib/rdoc/code_object/context.rb#961 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:961 def instance_method_list; end # Instance methods # - # source://rdoc//lib/rdoc/code_object/context.rb#952 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:952 def instance_methods; end # Methods defined in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#65 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:65 def method_list; end # Breaks method_list into a nested hash by type ('class' or @@ -1798,59 +1796,59 @@ class RDoc::Context < ::RDoc::CodeObject # If +section+ is provided only methods in that RDoc::Context::Section will # be returned. # - # source://rdoc//lib/rdoc/code_object/context.rb#973 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:973 def methods_by_type(section = T.unsafe(nil)); end # Hash of registered methods. Attributes are also registered here, # twice if they are RW. # - # source://rdoc//lib/rdoc/code_object/context.rb#108 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:108 def methods_hash; end # Yields AnyMethod and Attr entries matching the list of names in +methods+. # - # source://rdoc//lib/rdoc/code_object/context.rb#996 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:996 def methods_matching(methods, singleton = T.unsafe(nil), &block); end # Array of modules in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#1009 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1009 def modules; end # Hash of modules keyed by module name # - # source://rdoc//lib/rdoc/code_object/context.rb#1016 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1016 def modules_hash; end # Name of this class excluding namespace. See also full_name # - # source://rdoc//lib/rdoc/code_object/context.rb#70 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:70 def name; end # Name to use to generate the url. # #full_name by default. # - # source://rdoc//lib/rdoc/code_object/context.rb#1024 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1024 def name_for_path; end # Changes the visibility for new methods to +visibility+ # - # source://rdoc//lib/rdoc/code_object/context.rb#1031 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1031 def ongoing_visibility=(visibility); end # Params to be used in the next MethodAttr parsed under this context # - # source://rdoc//lib/rdoc/code_object/context.rb#113 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:113 def params; end # Params to be used in the next MethodAttr parsed under this context # - # source://rdoc//lib/rdoc/code_object/context.rb#113 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:113 def params=(_arg0); end # Record +top_level+ as a file +self+ is in. # - # source://rdoc//lib/rdoc/code_object/context.rb#1038 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1038 def record_location(top_level); end # Should we remove this context from the documentation? @@ -1864,80 +1862,80 @@ class RDoc::Context < ::RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/context.rb#1052 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1052 def remove_from_documentation?; end # Removes methods and attributes with a visibility less than +min_visibility+. # -- # TODO mark the visibility of attributes in the template (if not public?) # - # source://rdoc//lib/rdoc/code_object/context.rb#1065 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1065 def remove_invisible(min_visibility); end # Only called when min_visibility == :public or :private # - # source://rdoc//lib/rdoc/code_object/context.rb#1075 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1075 def remove_invisible_in(array, min_visibility); end # Files this context requires # - # source://rdoc//lib/rdoc/code_object/context.rb#75 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:75 def requires; end # Tries to resolve unmatched aliases when a method or attribute has just # been added. # - # source://rdoc//lib/rdoc/code_object/context.rb#1091 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1091 def resolve_aliases(added); end # Returns RDoc::Context::Section objects referenced in this context for use # in a table of contents. # - # source://rdoc//lib/rdoc/code_object/context.rb#1107 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1107 def section_contents; end # Sections in this context # - # source://rdoc//lib/rdoc/code_object/context.rb#1131 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1131 def sections; end - # source://rdoc//lib/rdoc/code_object/context.rb#1135 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1135 def sections_hash; end # Given an array +names+ of constants, set the visibility of each constant to # +visibility+ # - # source://rdoc//lib/rdoc/code_object/context.rb#1160 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1160 def set_constant_visibility_for(names, visibility); end # Sets the current section to a section with +title+. See also #add_section # - # source://rdoc//lib/rdoc/code_object/context.rb#1142 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1142 def set_current_section(title, comment); end # Given an array +methods+ of method names, set the visibility of each to # +visibility+ # - # source://rdoc//lib/rdoc/code_object/context.rb#1150 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1150 def set_visibility_for(methods, visibility, singleton = T.unsafe(nil)); end # Sorts sections alphabetically (default) or in TomDoc fashion (none, # Public, Internal, Deprecated) # - # source://rdoc//lib/rdoc/code_object/context.rb#1171 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1171 def sort_sections; end # Use this section for the next method, attribute or constant added. # - # source://rdoc//lib/rdoc/code_object/context.rb#80 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:80 def temporary_section; end # Use this section for the next method, attribute or constant added. # - # source://rdoc//lib/rdoc/code_object/context.rb#80 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:80 def temporary_section=(_arg0); end - # source://rdoc//lib/rdoc/code_object/context.rb#1187 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1187 def to_s; end # Return the TopLevel that owns us @@ -1945,36 +1943,36 @@ class RDoc::Context < ::RDoc::CodeObject # FIXME we can be 'owned' by several TopLevel (see #record_location & # #in_files) # - # source://rdoc//lib/rdoc/code_object/context.rb#1197 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1197 def top_level; end # Hash old_name => [aliases], for aliases # that haven't (yet) been resolved to a method/attribute. # (Not to be confused with the aliases of the context.) # - # source://rdoc//lib/rdoc/code_object/context.rb#87 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:87 def unmatched_alias_lists; end # Hash old_name => [aliases], for aliases # that haven't (yet) been resolved to a method/attribute. # (Not to be confused with the aliases of the context.) # - # source://rdoc//lib/rdoc/code_object/context.rb#87 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:87 def unmatched_alias_lists=(_arg0); end # Upgrades NormalModule +mod+ in +enclosing+ to a +class_type+ # - # source://rdoc//lib/rdoc/code_object/context.rb#1207 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:1207 def upgrade_to_class(mod, class_type, enclosing); end # Current visibility of this context # - # source://rdoc//lib/rdoc/code_object/context.rb#97 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:97 def visibility; end # Current visibility of this context # - # source://rdoc//lib/rdoc/code_object/context.rb#97 + # pkg:gem/rdoc#lib/rdoc/code_object/context.rb:97 def visibility=(_arg0); end end @@ -1986,7 +1984,7 @@ end # Sections can be referenced multiple times and will be collapsed into a # single section. # -# source://rdoc//lib/rdoc/code_object/context/section.rb#14 +# pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:14 class RDoc::Context::Section include ::RDoc::Text include ::RDoc::Generator::Markup @@ -1995,37 +1993,37 @@ class RDoc::Context::Section # # @return [Section] a new instance of Section # - # source://rdoc//lib/rdoc/code_object/context/section.rb#43 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:43 def initialize(parent, title, comment); end # Sections are equal when they have the same #title # - # source://rdoc//lib/rdoc/code_object/context/section.rb#55 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:55 def ==(other); end # Adds +comment+ to this section # - # source://rdoc//lib/rdoc/code_object/context/section.rb#64 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:64 def add_comment(comment); end # Anchor reference for linking to this section # - # source://rdoc//lib/rdoc/code_object/context/section.rb#75 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:75 def aref; end # Section comment # - # source://rdoc//lib/rdoc/code_object/context/section.rb#23 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:23 def comment; end # Section comments # - # source://rdoc//lib/rdoc/code_object/context/section.rb#28 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:28 def comments; end # Sections are equal when they have the same #title # - # source://rdoc//lib/rdoc/code_object/context/section.rb#59 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:59 def eql?(other); end # Extracts the comment for this section from the original comment block. @@ -2036,71 +2034,71 @@ class RDoc::Context::Section # # :section: The title # # The body # - # source://rdoc//lib/rdoc/code_object/context/section.rb#90 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:90 def extract_comment(comment); end - # source://rdoc//lib/rdoc/code_object/context/section.rb#116 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:116 def hash; end # The files comments in this section come from # - # source://rdoc//lib/rdoc/code_object/context/section.rb#123 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:123 def in_files; end - # source://rdoc//lib/rdoc/code_object/context/section.rb#112 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:112 def inspect; end # Serializes this Section. The title and parsed comment are saved, but not # the section parent which must be restored manually. # - # source://rdoc//lib/rdoc/code_object/context/section.rb#131 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:131 def marshal_dump; end # De-serializes this Section. The section parent must be restored manually. # - # source://rdoc//lib/rdoc/code_object/context/section.rb#142 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:142 def marshal_load(array); end # Context this Section lives in # - # source://rdoc//lib/rdoc/code_object/context/section.rb#33 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:33 def parent; end # Parses +comment_location+ into an RDoc::Markup::Document composed of # multiple RDoc::Markup::Documents with their file set. # - # source://rdoc//lib/rdoc/code_object/context/section.rb#153 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:153 def parse; end # The section's title, or 'Top Section' if the title is nil. # # This is used by the table of contents template so the name is silly. # - # source://rdoc//lib/rdoc/code_object/context/section.rb#162 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:162 def plain_html; end # Removes a comment from this section if it is from the same file as # +comment+ # - # source://rdoc//lib/rdoc/code_object/context/section.rb#170 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:170 def remove_comment(target_comment); end # Section title # - # source://rdoc//lib/rdoc/code_object/context/section.rb#38 + # pkg:gem/rdoc#lib/rdoc/code_object/context/section.rb:38 def title; end end # RDoc::CrossReference is a reusable way to create cross references for names. # -# source://rdoc//lib/rdoc/cross_reference.rb#8 +# pkg:gem/rdoc#lib/rdoc/cross_reference.rb:8 class RDoc::CrossReference # Allows cross-references to be created based on the given +context+ # (RDoc::Context). # # @return [CrossReference] a new instance of CrossReference # - # source://rdoc//lib/rdoc/cross_reference.rb#127 + # pkg:gem/rdoc#lib/rdoc/cross_reference.rb:127 def initialize(context); end # Returns a reference to +name+. @@ -2109,33 +2107,33 @@ class RDoc::CrossReference # returned. If +name+ is escaped +name+ is returned. If +name+ is not # found +text+ is returned. # - # source://rdoc//lib/rdoc/cross_reference.rb#190 + # pkg:gem/rdoc#lib/rdoc/cross_reference.rb:190 def resolve(name, text); end # Returns a method reference to +name+. # - # source://rdoc//lib/rdoc/cross_reference.rb#137 + # pkg:gem/rdoc#lib/rdoc/cross_reference.rb:137 def resolve_method(name); end # Hash of references that have been looked-up to their replacements # - # source://rdoc//lib/rdoc/cross_reference.rb#121 + # pkg:gem/rdoc#lib/rdoc/cross_reference.rb:121 def seen; end # Hash of references that have been looked-up to their replacements # - # source://rdoc//lib/rdoc/cross_reference.rb#121 + # pkg:gem/rdoc#lib/rdoc/cross_reference.rb:121 def seen=(_arg0); end end # Regular expression to match method arguments. # -# source://rdoc//lib/rdoc/cross_reference.rb#28 +# pkg:gem/rdoc#lib/rdoc/cross_reference.rb:28 RDoc::CrossReference::METHOD_ARGS_REGEXP_STR = T.let(T.unsafe(nil), String) # Regular expression to match a single method argument. # -# source://rdoc//lib/rdoc/cross_reference.rb#23 +# pkg:gem/rdoc#lib/rdoc/cross_reference.rb:23 RDoc::CrossReference::METHOD_ARG_REGEXP_STR = T.let(T.unsafe(nil), String) # A subclass of ERB that writes directly to an IO. Credit to Aaron Patterson @@ -2151,48 +2149,48 @@ RDoc::CrossReference::METHOD_ARG_REGEXP_STR = T.let(T.unsafe(nil), String) # # Note that binding must enclose the io you wish to output on. # -# source://rdoc//lib/rdoc/erbio.rb#18 +# pkg:gem/rdoc#lib/rdoc/erbio.rb:18 class RDoc::ERBIO < ::ERB # Defaults +eoutvar+ to 'io', otherwise is identical to ERB's initialize # # @return [ERBIO] a new instance of ERBIO # - # source://rdoc//lib/rdoc/erbio.rb#23 + # pkg:gem/rdoc#lib/rdoc/erbio.rb:23 def initialize(str, trim_mode: T.unsafe(nil), eoutvar: T.unsafe(nil)); end # Instructs +compiler+ how to write to +io_variable+ # - # source://rdoc//lib/rdoc/erbio.rb#30 + # pkg:gem/rdoc#lib/rdoc/erbio.rb:30 def set_eoutvar(compiler, io_variable); end end # Allows an ERB template to be rendered in the context (binding) of an # existing ERB template evaluation. # -# source://rdoc//lib/rdoc/erb_partial.rb#6 +# pkg:gem/rdoc#lib/rdoc/erb_partial.rb:6 class RDoc::ERBPartial < ::ERB # Overrides +compiler+ startup to set the +eoutvar+ to an empty string only # if it isn't already set. # - # source://rdoc//lib/rdoc/erb_partial.rb#12 + # pkg:gem/rdoc#lib/rdoc/erb_partial.rb:12 def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end end # This class is a wrapper around File IO and Encoding that helps RDoc load # files and convert them to the correct encoding. # -# source://rdoc//lib/rdoc/encoding.rb#8 +# pkg:gem/rdoc#lib/rdoc/encoding.rb:8 module RDoc::Encoding class << self # Changes encoding based on +encoding+ without converting and returns new # string # - # source://rdoc//lib/rdoc/encoding.rb#112 + # pkg:gem/rdoc#lib/rdoc/encoding.rb:112 def change_encoding(text, encoding); end # Detects the encoding of +string+ based on the magic comment # - # source://rdoc//lib/rdoc/encoding.rb#92 + # pkg:gem/rdoc#lib/rdoc/encoding.rb:92 def detect_encoding(string); end # Reads the contents of +filename+ and handles any encoding directives in @@ -2204,45 +2202,45 @@ module RDoc::Encoding # If +force_transcode+ is true the document will be transcoded and any # unknown character in the target encoding will be replaced with '?' # - # source://rdoc//lib/rdoc/encoding.rb#32 + # pkg:gem/rdoc#lib/rdoc/encoding.rb:32 def read_file(filename, encoding, force_transcode = T.unsafe(nil)); end # Removes magic comments and shebang # - # source://rdoc//lib/rdoc/encoding.rb#102 + # pkg:gem/rdoc#lib/rdoc/encoding.rb:102 def remove_magic_comment(string); end end end -# source://rdoc//lib/rdoc/encoding.rb#10 +# pkg:gem/rdoc#lib/rdoc/encoding.rb:10 RDoc::Encoding::HEADER_REGEXP = T.let(T.unsafe(nil), Regexp) # Aliki theme for RDoc documentation # # Author: Stan Lo # -# source://rdoc//lib/rdoc/generator/aliki.rb#11 +# pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:11 class RDoc::Generator::Aliki < ::RDoc::Generator::Darkfish # @return [Aliki] a new instance of Aliki # - # source://rdoc//lib/rdoc/generator/aliki.rb#14 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:14 def initialize(store, options); end # Build a search index array for Aliki's searcher. # - # source://rdoc//lib/rdoc/generator/aliki.rb#72 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:72 def build_search_index; end # Generate documentation. Overrides Darkfish to use Aliki's own search index # instead of the JsonIndex generator. # - # source://rdoc//lib/rdoc/generator/aliki.rb#24 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:24 def generate; end # Resolves a URL for use in templates. Absolute URLs are returned unchanged. # Relative URLs are prefixed with rel_prefix to ensure they resolve correctly from any page. # - # source://rdoc//lib/rdoc/generator/aliki.rb#124 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:124 def resolve_url(rel_prefix, url); end # Write the search index as a JavaScript file @@ -2252,29 +2250,29 @@ class RDoc::Generator::Aliki < ::RDoc::Generator::Darkfish # And if we simply inspect the generated pages using file://, which is often the case due to lack of the server mode, # the JSON file will be blocked by the browser. # - # source://rdoc//lib/rdoc/generator/aliki.rb#106 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:106 def write_search_index; end # Copy only the static assets required by the Aliki theme. Unlike Darkfish we # don't ship embedded fonts or image sprites, so limit the asset list to keep # generated documentation lightweight. # - # source://rdoc//lib/rdoc/generator/aliki.rb#49 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:49 def write_style_sheet; end private - # source://rdoc//lib/rdoc/generator/aliki.rb#137 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:137 def build_class_module_entry(klass); end - # source://rdoc//lib/rdoc/generator/aliki.rb#171 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:171 def build_constant_entry(const, parent); end - # source://rdoc//lib/rdoc/generator/aliki.rb#156 + # pkg:gem/rdoc#lib/rdoc/generator/aliki.rb:156 def build_method_entry(method); end end -# source://rdoc//lib/rdoc/generator/darkfish.rb#55 +# pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:55 class RDoc::Generator::Darkfish include ::ERB::Escape include ::ERB::Util @@ -2285,7 +2283,7 @@ class RDoc::Generator::Darkfish # # @return [Darkfish] a new instance of Darkfish # - # source://rdoc//lib/rdoc/generator/darkfish.rb#153 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:153 def initialize(store, options); end # Creates a template from its components and the +body_file+. @@ -2293,172 +2291,172 @@ class RDoc::Generator::Darkfish # For backwards compatibility, if +body_file+ contains "--op from the # options for a full path. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#96 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:96 def base_dir; end # Classes and modules to be used by this generator, not necessarily # displayed. See also #modsort # - # source://rdoc//lib/rdoc/generator/darkfish.rb#102 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:102 def classes; end # Copies static files from the static_path into the output directory # - # source://rdoc//lib/rdoc/generator/darkfish.rb#243 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:243 def copy_static; end # Output progress information if debugging is enabled # - # source://rdoc//lib/rdoc/generator/darkfish.rb#176 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:176 def debug_msg(*msg); end # No files will be written when dry_run is true. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#107 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:107 def dry_run; end # No files will be written when dry_run is true. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#107 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:107 def dry_run=(_arg0); end # Returns an excerpt of the comment for usage in meta description tags # - # source://rdoc//lib/rdoc/generator/darkfish.rb#710 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:710 def excerpt(comment); end # When false the generate methods return a String instead of writing to a # file. The default is true. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#113 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:113 def file_output; end # When false the generate methods return a String instead of writing to a # file. The default is true. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#113 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:113 def file_output=(_arg0); end # Files to be displayed by this generator # - # source://rdoc//lib/rdoc/generator/darkfish.rb#118 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:118 def files; end # Create the directories the generated docs will live in if they don't # already exist. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#185 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:185 def gen_sub_directories; end # Build the initial indices and output objects based on an array of TopLevel # objects containing the extracted information. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#219 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:219 def generate; end - # source://rdoc//lib/rdoc/generator/darkfish.rb#738 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:738 def generate_ancestor_list(ancestors, klass); end # Generates a class file for +klass+ # - # source://rdoc//lib/rdoc/generator/darkfish.rb#316 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:316 def generate_class(klass, template_file = T.unsafe(nil)); end # Generate a documentation file for each class and module # - # source://rdoc//lib/rdoc/generator/darkfish.rb#350 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:350 def generate_class_files; end - # source://rdoc//lib/rdoc/generator/darkfish.rb#764 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:764 def generate_class_index_content(classes, rel_prefix); end - # source://rdoc//lib/rdoc/generator/darkfish.rb#756 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:756 def generate_class_link(klass, rel_prefix); end # Generate a documentation file for each file # - # source://rdoc//lib/rdoc/generator/darkfish.rb#377 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:377 def generate_file_files; end # Generate an index page which lists all the classes which are documented. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#281 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:281 def generate_index; end # Generate a page file for +file+ # - # source://rdoc//lib/rdoc/generator/darkfish.rb#444 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:444 def generate_page(file); end # Generates the 404 page for the RDoc servlet # - # source://rdoc//lib/rdoc/generator/darkfish.rb#471 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:471 def generate_servlet_not_found(message); end # Generates the servlet root page for the RDoc servlet # - # source://rdoc//lib/rdoc/generator/darkfish.rb#502 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:502 def generate_servlet_root(installed); end # Generate an index page which lists all the classes which are documented. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#527 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:527 def generate_table_of_contents; end # Return a list of the documented modules sorted by salience first, then # by name. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#272 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:272 def get_sorted_module_list(classes); end - # source://rdoc//lib/rdoc/generator/darkfish.rb#789 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:789 def group_classes_by_namespace_for_sidebar(classes); end - # source://rdoc//lib/rdoc/generator/darkfish.rb#556 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:556 def install_rdoc_static_file(source, destination, options); end # The JSON index generator for this Darkfish generator # - # source://rdoc//lib/rdoc/generator/darkfish.rb#123 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:123 def json_index; end # Methods to be displayed by this generator # - # source://rdoc//lib/rdoc/generator/darkfish.rb#128 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:128 def methods; end # Sorted list of classes and modules to be displayed by this generator # - # source://rdoc//lib/rdoc/generator/darkfish.rb#133 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:133 def modsort; end # The output directory # - # source://rdoc//lib/rdoc/generator/darkfish.rb#148 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:148 def outputdir; end # Renders the ERb contained in +file_name+ relative to the template # directory and returns the result based on the current context. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#616 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:616 def render(file_name); end # Load and render the erb template in the given +template_file+ and write @@ -2468,64 +2466,64 @@ class RDoc::Generator::Darkfish # # An io will be yielded which must be captured by binding in the caller. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#634 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:634 def render_template(template_file, out_file = T.unsafe(nil)); end # Prepares for generation of output from the current directory # - # source://rdoc//lib/rdoc/generator/darkfish.rb#576 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:576 def setup; end # The RDoc::Store that is the source of the generated content # - # source://rdoc//lib/rdoc/generator/darkfish.rb#138 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:138 def store; end # The directory where the template files live # - # source://rdoc//lib/rdoc/generator/darkfish.rb#143 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:143 def template_dir; end # Retrieves a cache template for +file+, if present, or fills the cache. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#681 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:681 def template_for(file, page = T.unsafe(nil), klass = T.unsafe(nil)); end # Creates the result for +template+ with +context+. If an error is raised a # Pathname +template_file+ will indicate the file where the error occurred. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#668 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:668 def template_result(template, context, template_file); end - # source://rdoc//lib/rdoc/generator/darkfish.rb#772 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:772 def traverse_classes(klasses, grouped_classes, rel_prefix, solo = T.unsafe(nil)); end # Copy over the stylesheet into the appropriate place in the output # directory. # - # source://rdoc//lib/rdoc/generator/darkfish.rb#193 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:193 def write_style_sheet; end private - # source://rdoc//lib/rdoc/generator/darkfish.rb#812 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:812 def generate_nesting_namespaces_breadcrumb(klass, rel_prefix); end - # source://rdoc//lib/rdoc/generator/darkfish.rb#802 + # pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:802 def nesting_namespaces_to_class_modules(klass); end end # :stopdoc: # -# source://rdoc//lib/rdoc/generator/darkfish.rb#704 +# pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:704 RDoc::Generator::Darkfish::ParagraphExcerptRegexpOther = T.let(T.unsafe(nil), Regexp) # use \p/\P{letter} instead of \w/\W in Unicode # -# source://rdoc//lib/rdoc/generator/darkfish.rb#706 +# pkg:gem/rdoc#lib/rdoc/generator/darkfish.rb:706 RDoc::Generator::Darkfish::ParagraphExcerptRegexpUnicode = T.let(T.unsafe(nil), Regexp) -# source://rdoc//lib/rdoc/generator/json_index.rb#77 +# pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:77 class RDoc::Generator::JsonIndex include ::RDoc::Text @@ -2534,53 +2532,53 @@ class RDoc::Generator::JsonIndex # # @return [JsonIndex] a new instance of JsonIndex # - # source://rdoc//lib/rdoc/generator/json_index.rb#92 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:92 def initialize(parent_generator, options); end # Builds the JSON index as a Hash. # - # source://rdoc//lib/rdoc/generator/json_index.rb#108 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:108 def build_index; end # Output progress information if debugging is enabled # - # source://rdoc//lib/rdoc/generator/json_index.rb#121 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:121 def debug_msg(*msg); end # Writes the JSON index to disk # - # source://rdoc//lib/rdoc/generator/json_index.rb#129 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:129 def generate; end # Compress the search_index.js file using gzip # - # source://rdoc//lib/rdoc/generator/json_index.rb#164 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:164 def generate_gzipped; end - # source://rdoc//lib/rdoc/generator/json_index.rb#86 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:86 def index; end # Adds classes and modules to the index # - # source://rdoc//lib/rdoc/generator/json_index.rb#209 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:209 def index_classes; end # Adds methods to the index # - # source://rdoc//lib/rdoc/generator/json_index.rb#228 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:228 def index_methods; end # Adds pages to the index # - # source://rdoc//lib/rdoc/generator/json_index.rb#249 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:249 def index_pages; end - # source://rdoc//lib/rdoc/generator/json_index.rb#266 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:266 def reset(files, classes); end # Removes whitespace and downcases +string+ # - # source://rdoc//lib/rdoc/generator/json_index.rb#280 + # pkg:gem/rdoc#lib/rdoc/generator/json_index.rb:280 def search_string(string); end end @@ -2589,38 +2587,38 @@ end # This module is loaded by generators. It allows RDoc's CodeObject tree to # avoid loading generator code to improve startup time for +ri+. # -# source://rdoc//lib/rdoc/generator/markup.rb#8 +# pkg:gem/rdoc#lib/rdoc/generator/markup.rb:8 module RDoc::Generator::Markup # Generates a relative URL from this object's path to +target_path+ # - # source://rdoc//lib/rdoc/generator/markup.rb#13 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:13 def aref_to(target_path); end # Generates a relative URL from +from_path+ to this object's path # - # source://rdoc//lib/rdoc/generator/markup.rb#20 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:20 def as_href(from_path); end # The preferred URL for this object. # - # source://rdoc//lib/rdoc/generator/markup.rb#61 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:61 def canonical_url; end # Build a webcvs URL starting for the given +url+ with +full_path+ appended # as the destination path. If +url+ contains '%s' +full_path+ will be # will replace the %s using sprintf on the +url+. # - # source://rdoc//lib/rdoc/generator/markup.rb#50 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:50 def cvs_url(url, full_path); end # Handy wrapper for marking up this object's comment # - # source://rdoc//lib/rdoc/generator/markup.rb#27 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:27 def description; end # Creates an RDoc::Markup::ToHtmlCrossref formatter # - # source://rdoc//lib/rdoc/generator/markup.rb#34 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:34 def formatter; end end @@ -2677,184 +2675,184 @@ end # # You edit locale/ja/rdoc.po to translate new messages. # -# source://rdoc//lib/rdoc/generator/pot.rb#56 +# pkg:gem/rdoc#lib/rdoc/generator/pot.rb:56 class RDoc::Generator::POT # Set up a new .pot generator # # @return [POT] a new instance of POT # - # source://rdoc//lib/rdoc/generator/pot.rb#68 + # pkg:gem/rdoc#lib/rdoc/generator/pot.rb:68 def initialize(store, options); end # Writes .pot to disk. # - # source://rdoc//lib/rdoc/generator/pot.rb#76 + # pkg:gem/rdoc#lib/rdoc/generator/pot.rb:76 def generate; end private - # source://rdoc//lib/rdoc/generator/pot.rb#85 + # pkg:gem/rdoc#lib/rdoc/generator/pot.rb:85 def extract_messages; end end # Extracts message from RDoc::Store # -# source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#5 +# pkg:gem/rdoc#lib/rdoc/generator/pot/message_extractor.rb:5 class RDoc::Generator::POT::MessageExtractor # Creates a message extractor for +store+. # # @return [MessageExtractor] a new instance of MessageExtractor # - # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#10 + # pkg:gem/rdoc#lib/rdoc/generator/pot/message_extractor.rb:10 def initialize(store); end # Extracts messages from +store+, stores them into # RDoc::Generator::POT::PO and returns it. # - # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#19 + # pkg:gem/rdoc#lib/rdoc/generator/pot/message_extractor.rb:19 def extract; end private - # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#64 + # pkg:gem/rdoc#lib/rdoc/generator/pot/message_extractor.rb:64 def entry(msgid, options); end - # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#28 + # pkg:gem/rdoc#lib/rdoc/generator/pot/message_extractor.rb:28 def extract_from_klass(klass); end - # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#51 + # pkg:gem/rdoc#lib/rdoc/generator/pot/message_extractor.rb:51 def extract_text(text, comment, location = T.unsafe(nil)); end end # Generates a PO format text # -# source://rdoc//lib/rdoc/generator/pot/po.rb#5 +# pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:5 class RDoc::Generator::POT::PO # Creates an object that represents PO format. # # @return [PO] a new instance of PO # - # source://rdoc//lib/rdoc/generator/pot/po.rb#10 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:10 def initialize; end # Adds a PO entry to the PO. # - # source://rdoc//lib/rdoc/generator/pot/po.rb#18 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:18 def add(entry); end # Returns PO format text for the PO. # - # source://rdoc//lib/rdoc/generator/pot/po.rb#29 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:29 def to_s; end private - # source://rdoc//lib/rdoc/generator/pot/po.rb#40 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:40 def add_header; end - # source://rdoc//lib/rdoc/generator/pot/po.rb#44 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:44 def header_entry; end - # source://rdoc//lib/rdoc/generator/pot/po.rb#73 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po.rb:73 def sort_entries; end end # A PO entry in PO # -# source://rdoc//lib/rdoc/generator/pot/po_entry.rb#5 +# pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:5 class RDoc::Generator::POT::POEntry # Creates a PO entry for +msgid+. Other values can be specified by # +options+. # # @return [POEntry] a new instance of POEntry # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#29 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:29 def initialize(msgid, options = T.unsafe(nil)); end # The comment content extracted from source file # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#17 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:17 def extracted_comment; end # The flags of the PO entry # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#23 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:23 def flags; end # Merges the PO entry with +other_entry+. # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#56 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:56 def merge(other_entry); end # The msgid content # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#8 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:8 def msgid; end # The msgstr content # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#11 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:11 def msgstr; end # The locations where the PO entry is extracted # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#20 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:20 def references; end # Returns the PO entry in PO format. # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#41 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:41 def to_s; end # The comment content created by translator (PO editor) # - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#14 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:14 def translator_comment; end private - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#120 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:120 def escape(string); end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#72 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:72 def format_comment(mark, comment); end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#88 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:88 def format_extracted_comment; end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#102 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:102 def format_flags; end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#109 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:109 def format_message(message); end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#92 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:92 def format_references; end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#84 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:84 def format_translator_comment; end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#137 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:137 def merge_array(array1, array2); end - # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#133 + # pkg:gem/rdoc#lib/rdoc/generator/pot/po_entry.rb:133 def merge_string(string1, string2); end end # Generates ri data files # -# source://rdoc//lib/rdoc/generator/ri.rb#5 +# pkg:gem/rdoc#lib/rdoc/generator/ri.rb:5 class RDoc::Generator::RI # Set up a new ri generator # # @return [RI] a new instance of RI # - # source://rdoc//lib/rdoc/generator/ri.rb#17 + # pkg:gem/rdoc#lib/rdoc/generator/ri.rb:17 def initialize(store, options); end # Writes the parsed data store to disk for use by ri. # - # source://rdoc//lib/rdoc/generator/ri.rb#26 + # pkg:gem/rdoc#lib/rdoc/generator/ri.rb:26 def generate; end end @@ -2865,14 +2863,14 @@ end # * Loads translated messages from .po file. # * Translates a message into the locale. # -# source://rdoc//lib/rdoc/i18n/locale.rb#10 +# pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:10 class RDoc::I18n::Locale # Creates a new locale object for +name+ locale. +name+ must # follow IETF language tag format. # # @return [Locale] a new instance of Locale # - # source://rdoc//lib/rdoc/i18n/locale.rb#48 + # pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:48 def initialize(name); end # Loads translation messages from +locale_directory+/+@name+/rdoc.po @@ -2884,7 +2882,7 @@ class RDoc::I18n::Locale # # Returns +true+ if succeeded, +false+ otherwise. # - # source://rdoc//lib/rdoc/i18n/locale.rb#63 + # pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:63 def load(locale_directory); end # The name of the locale. It uses IETF language tag format @@ -2893,19 +2891,19 @@ class RDoc::I18n::Locale # See also {BCP 47 - Tags for Identifying # Languages}[http://tools.ietf.org/rfc/bcp/bcp47.txt]. # - # source://rdoc//lib/rdoc/i18n/locale.rb#42 + # pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:42 def name; end # Translates the +message+ into locale. If there is no translation # messages for +message+ in locale, +message+ itself is returned. # - # source://rdoc//lib/rdoc/i18n/locale.rb#98 + # pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:98 def translate(message); end class << self # Returns the locale object for +locale_name+. # - # source://rdoc//lib/rdoc/i18n/locale.rb#19 + # pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:19 def [](locale_name); end # Sets the locale object for +locale_name+. @@ -2913,7 +2911,7 @@ class RDoc::I18n::Locale # Normally, this method is not used. This method is useful for # testing. # - # source://rdoc//lib/rdoc/i18n/locale.rb#29 + # pkg:gem/rdoc#lib/rdoc/i18n/locale.rb:29 def []=(locale_name, locale); end end end @@ -2927,13 +2925,13 @@ end # # Wrapped raw text is one of String, RDoc::Comment or Array of them. # -# source://rdoc//lib/rdoc/i18n/text.rb#12 +# pkg:gem/rdoc#lib/rdoc/i18n/text.rb:12 class RDoc::I18n::Text # Creates a new i18n supported text for +raw+ text. # # @return [Text] a new instance of Text # - # source://rdoc//lib/rdoc/i18n/text.rb#17 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:17 def initialize(raw); end # Extracts translation target messages and yields each message. @@ -2946,1331 +2944,1331 @@ class RDoc::I18n::Text # # The above content may be added in the future. # - # source://rdoc//lib/rdoc/i18n/text.rb#32 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:32 def extract_messages; end # Translates raw text into +locale+. # - # source://rdoc//lib/rdoc/i18n/text.rb#44 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:44 def translate(locale); end private - # source://rdoc//lib/rdoc/i18n/text.rb#88 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:88 def each_line(raw, &block); end # @yield [part] # - # source://rdoc//lib/rdoc/i18n/text.rb#101 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:101 def emit_empty_line_event(line, line_no); end - # source://rdoc//lib/rdoc/i18n/text.rb#110 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:110 def emit_paragraph_event(paragraph, paragraph_start_line, line_no, &block); end - # source://rdoc//lib/rdoc/i18n/text.rb#60 + # pkg:gem/rdoc#lib/rdoc/i18n/text.rb:60 def parse(&block); end end -# source://rdoc//lib/rdoc/markdown.rb#182 +# pkg:gem/rdoc#lib/rdoc/markdown.rb:182 class RDoc::Markdown # Creates a new markdown parser that enables the given +extensions+. # # @return [Markdown] a new instance of Markdown # - # source://rdoc//lib/rdoc/markdown.rb#188 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:188 def initialize(extensions = T.unsafe(nil), debug = T.unsafe(nil)); end # Alphanumeric = %literals.Alphanumeric # - # source://rdoc//lib/rdoc/markdown.rb#14588 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14588 def _Alphanumeric; end # AlphanumericAscii = %literals.AlphanumericAscii # - # source://rdoc//lib/rdoc/markdown.rb#14595 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14595 def _AlphanumericAscii; end # AtxHeading = AtxStart:s @Spacechar+ AtxInline+:a (@Sp /#*/ @Sp)? @Newline { RDoc::Markup::Heading.new(s, a.join) } # - # source://rdoc//lib/rdoc/markdown.rb#1213 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1213 def _AtxHeading; end # AtxInline = !@Newline !(@Sp /#*/ @Sp @Newline) Inline # - # source://rdoc//lib/rdoc/markdown.rb#1131 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1131 def _AtxInline; end # AtxStart = < /\#{1,6}/ > { text.length } # - # source://rdoc//lib/rdoc/markdown.rb#1187 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1187 def _AtxStart; end # AutoLink = (AutoLinkUrl | AutoLinkEmail) # - # source://rdoc//lib/rdoc/markdown.rb#11647 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11647 def _AutoLink; end # AutoLinkEmail = "<" "mailto:"? < /[\w+.\/!%~$-]+/i "@" (!@Newline !">" .)+ > ">" { "mailto:#{text}" } # - # source://rdoc//lib/rdoc/markdown.rb#11780 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11780 def _AutoLinkEmail; end # AutoLinkUrl = "<" < /[A-Za-z]+/ "://" (!@Newline !">" .)+ > ">" { text } # - # source://rdoc//lib/rdoc/markdown.rb#11665 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11665 def _AutoLinkUrl; end # BOM = %literals.BOM # - # source://rdoc//lib/rdoc/markdown.rb#14602 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14602 def _BOM; end # BlankLine = @Sp @Newline { "\n" } # - # source://rdoc//lib/rdoc/markdown.rb#14031 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14031 def _BlankLine; end # Block = @BlankLine* (BlockQuote | Verbatim | CodeFence | Table | Note | Reference | HorizontalRule | Heading | OrderedList | BulletList | DefinitionList | HtmlBlock | StyleBlock | Para | Plain) # - # source://rdoc//lib/rdoc/markdown.rb#990 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:990 def _Block; end # BlockQuote = BlockQuoteRaw:a { RDoc::Markup::BlockQuote.new(*a) } # - # source://rdoc//lib/rdoc/markdown.rb#1627 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1627 def _BlockQuote; end # BlockQuoteRaw = @StartList:a (">" " "? Line:l { a << l } (!">" !@BlankLine Line:c { a << c })* (@BlankLine:n { a << n })*)+ { inner_parse a.join } # - # source://rdoc//lib/rdoc/markdown.rb#1650 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1650 def _BlockQuoteRaw; end # Bullet = !HorizontalRule @NonindentSpace /[+*-]/ @Spacechar+ # - # source://rdoc//lib/rdoc/markdown.rb#2215 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2215 def _Bullet; end # BulletList = &Bullet (ListTight | ListLoose):a { RDoc::Markup::List.new(:BULLET, *a) } # - # source://rdoc//lib/rdoc/markdown.rb#2259 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2259 def _BulletList; end # CharEntity = "&" < /[A-Za-z0-9]+/ > ";" { if entity = HTML_ENTITIES[text] then entity.pack 'U*' else "&#{text};" end } # - # source://rdoc//lib/rdoc/markdown.rb#14695 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14695 def _CharEntity; end # Code = (Ticks1 < ((!"`" Nonspacechar)+ | !Ticks1 /`+/ | !Ticks1 (@Spacechar | @Newline !@BlankLine))+ > Ticks1 | Ticks2 < ((!"`" Nonspacechar)+ | !Ticks2 /`+/ | !Ticks2 (@Spacechar | @Newline !@BlankLine))+ > Ticks2 | Ticks3 < ((!"`" Nonspacechar)+ | !Ticks3 /`+/ | !Ticks3 (@Spacechar | @Newline !@BlankLine))+ > Ticks3 | Ticks4 < ((!"`" Nonspacechar)+ | !Ticks4 /`+/ | !Ticks4 (@Spacechar | @Newline !@BlankLine))+ > Ticks4 | Ticks5 < ((!"`" Nonspacechar)+ | !Ticks5 /`+/ | !Ticks5 (@Spacechar | @Newline !@BlankLine))+ > Ticks5) { code text } # - # source://rdoc//lib/rdoc/markdown.rb#12584 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12584 def _Code; end # CodeFence = &{ github? } Ticks3 (@Sp StrChunk:format)? Spnl < ((!"`" Nonspacechar)+ | !Ticks3 /`+/ | Spacechar | @Newline)+ > Ticks3 @Sp @Newline* { verbatim = RDoc::Markup::Verbatim.new text verbatim.format = format.intern if format.instance_of?(String) verbatim } # - # source://rdoc//lib/rdoc/markdown.rb#15564 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15564 def _CodeFence; end # DecEntity = "&#" < /[0-9]+/ > ";" { [text.to_i].pack 'U' } # - # source://rdoc//lib/rdoc/markdown.rb#14659 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14659 def _DecEntity; end # DefinitionList = &{ definition_lists? } DefinitionListItem+:list { RDoc::Markup::List.new :NOTE, *list.flatten } # - # source://rdoc//lib/rdoc/markdown.rb#16225 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16225 def _DefinitionList; end # DefinitionListDefinition = @NonindentSpace ":" @Space Inlines:a @BlankLine+ { paragraph a } # - # source://rdoc//lib/rdoc/markdown.rb#16368 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16368 def _DefinitionListDefinition; end # DefinitionListItem = DefinitionListLabel+:label DefinitionListDefinition+:defns { list_items = [] list_items << RDoc::Markup::ListItem.new(label, defns.shift) list_items.concat defns.map { |defn| RDoc::Markup::ListItem.new nil, defn } unless list_items.empty? list_items } # - # source://rdoc//lib/rdoc/markdown.rb#16269 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16269 def _DefinitionListItem; end # DefinitionListLabel = Inline:label @Sp @Newline { label } # - # source://rdoc//lib/rdoc/markdown.rb#16335 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16335 def _DefinitionListLabel; end # Digit = [0-9] # - # source://rdoc//lib/rdoc/markdown.rb#14574 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14574 def _Digit; end # Doc = BOM? Block*:a { RDoc::Markup::Document.new(*a.compact) } # - # source://rdoc//lib/rdoc/markdown.rb#950 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:950 def _Doc; end # Emph = (EmphStar | EmphUl) # - # source://rdoc//lib/rdoc/markdown.rb#10344 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10344 def _Emph; end # EmphStar = "*" !@Whitespace @StartList:a (!"*" Inline:b { a << b } | StrongStar:b { a << b })+ "*" { emphasis a.join } # - # source://rdoc//lib/rdoc/markdown.rb#10380 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10380 def _EmphStar; end # EmphUl = "_" !@Whitespace @StartList:a (!"_" Inline:b { a << b } | StrongUl:b { a << b })+ "_" { emphasis a.join } # - # source://rdoc//lib/rdoc/markdown.rb#10538 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10538 def _EmphUl; end # EmptyTitle = "" # - # source://rdoc//lib/rdoc/markdown.rb#12159 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12159 def _EmptyTitle; end # Endline = (@LineBreak | @TerminalEndline | @NormalEndline) # - # source://rdoc//lib/rdoc/markdown.rb#9978 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9978 def _Endline; end # Entity = (HexEntity | DecEntity | CharEntity):a { a } # - # source://rdoc//lib/rdoc/markdown.rb#9941 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9941 def _Entity; end # Enumerator = @NonindentSpace [0-9]+ "." @Spacechar+ # - # source://rdoc//lib/rdoc/markdown.rb#2748 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2748 def _Enumerator; end # Eof = !. # - # source://rdoc//lib/rdoc/markdown.rb#14425 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14425 def _Eof; end # EscapedChar = "\\" !@Newline < /[:\\`|*_{}\[\]()#+.!><-]/ > { text } # - # source://rdoc//lib/rdoc/markdown.rb#9902 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9902 def _EscapedChar; end # ExplicitLink = ExplicitLinkWithLabel:a { "{#{a[:label]}}[#{a[:link]}]" } # - # source://rdoc//lib/rdoc/markdown.rb#11197 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11197 def _ExplicitLink; end # ExplicitLinkWithLabel = Label:label "(" @Sp Source:link Spnl Title @Sp ")" { { label: label, link: link } } # - # source://rdoc//lib/rdoc/markdown.rb#11220 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11220 def _ExplicitLinkWithLabel; end # ExtendedSpecialChar = &{ notes? } "^" # - # source://rdoc//lib/rdoc/markdown.rb#15067 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15067 def _ExtendedSpecialChar; end # Heading = (SetextHeading | AtxHeading) # - # source://rdoc//lib/rdoc/markdown.rb#1609 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1609 def _Heading; end # HexEntity = /&#x/i < /[0-9a-fA-F]+/ > ";" { [text.to_i(16)].pack 'U' } # - # source://rdoc//lib/rdoc/markdown.rb#14623 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14623 def _HexEntity; end # HorizontalRule = @NonindentSpace ("*" @Sp "*" @Sp "*" (@Sp "*")* | "-" @Sp "-" @Sp "-" (@Sp "-")* | "_" @Sp "_" @Sp "_" (@Sp "_")*) @Sp @Newline @BlankLine+ { RDoc::Markup::Rule.new 1 } # - # source://rdoc//lib/rdoc/markdown.rb#1993 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1993 def _HorizontalRule; end # HtmlAnchor = HtmlOpenAnchor (HtmlAnchor | !HtmlCloseAnchor .)* HtmlCloseAnchor # - # source://rdoc//lib/rdoc/markdown.rb#3032 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3032 def _HtmlAnchor; end # HtmlAttribute = (AlphanumericAscii | "-")+ Spnl ("=" Spnl (Quoted | (!">" Nonspacechar)+))? Spnl # - # source://rdoc//lib/rdoc/markdown.rb#14156 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14156 def _HtmlAttribute; end # HtmlBlock = < (HtmlBlockInTags | HtmlComment | HtmlBlockSelfClosing | HtmlUnclosed) > @BlankLine+ { if html? then RDoc::Markup::Raw.new text end } # - # source://rdoc//lib/rdoc/markdown.rb#8829 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8829 def _HtmlBlock; end # HtmlBlockAddress = HtmlBlockOpenAddress (HtmlBlockAddress | !HtmlBlockCloseAddress .)* HtmlBlockCloseAddress # - # source://rdoc//lib/rdoc/markdown.rb#3198 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3198 def _HtmlBlockAddress; end # HtmlBlockBlockquote = HtmlBlockOpenBlockquote (HtmlBlockBlockquote | !HtmlBlockCloseBlockquote .)* HtmlBlockCloseBlockquote # - # source://rdoc//lib/rdoc/markdown.rb#3364 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3364 def _HtmlBlockBlockquote; end # HtmlBlockCenter = HtmlBlockOpenCenter (HtmlBlockCenter | !HtmlBlockCloseCenter .)* HtmlBlockCloseCenter # - # source://rdoc//lib/rdoc/markdown.rb#3530 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3530 def _HtmlBlockCenter; end # HtmlBlockCloseAddress = "<" Spnl "/" ("address" | "ADDRESS") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#3146 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3146 def _HtmlBlockCloseAddress; end # HtmlBlockCloseBlockquote = "<" Spnl "/" ("blockquote" | "BLOCKQUOTE") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#3312 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3312 def _HtmlBlockCloseBlockquote; end # HtmlBlockCloseCenter = "<" Spnl "/" ("center" | "CENTER") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#3478 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3478 def _HtmlBlockCloseCenter; end # HtmlBlockCloseDd = "<" Spnl "/" ("dd" | "DD") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#6798 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6798 def _HtmlBlockCloseDd; end # HtmlBlockCloseDir = "<" Spnl "/" ("dir" | "DIR") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#3644 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3644 def _HtmlBlockCloseDir; end # HtmlBlockCloseDiv = "<" Spnl "/" ("div" | "DIV") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#3810 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3810 def _HtmlBlockCloseDiv; end # HtmlBlockCloseDl = "<" Spnl "/" ("dl" | "DL") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#3976 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3976 def _HtmlBlockCloseDl; end # HtmlBlockCloseDt = "<" Spnl "/" ("dt" | "DT") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#6964 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6964 def _HtmlBlockCloseDt; end # HtmlBlockCloseFieldset = "<" Spnl "/" ("fieldset" | "FIELDSET") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#4142 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4142 def _HtmlBlockCloseFieldset; end # HtmlBlockCloseForm = "<" Spnl "/" ("form" | "FORM") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#4308 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4308 def _HtmlBlockCloseForm; end # HtmlBlockCloseFrameset = "<" Spnl "/" ("frameset" | "FRAMESET") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#7130 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7130 def _HtmlBlockCloseFrameset; end # HtmlBlockCloseH1 = "<" Spnl "/" ("h1" | "H1") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#4474 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4474 def _HtmlBlockCloseH1; end # HtmlBlockCloseH2 = "<" Spnl "/" ("h2" | "H2") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#4640 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4640 def _HtmlBlockCloseH2; end # HtmlBlockCloseH3 = "<" Spnl "/" ("h3" | "H3") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#4806 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4806 def _HtmlBlockCloseH3; end # HtmlBlockCloseH4 = "<" Spnl "/" ("h4" | "H4") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#4972 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4972 def _HtmlBlockCloseH4; end # HtmlBlockCloseH5 = "<" Spnl "/" ("h5" | "H5") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#5138 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5138 def _HtmlBlockCloseH5; end # HtmlBlockCloseH6 = "<" Spnl "/" ("h6" | "H6") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#5304 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5304 def _HtmlBlockCloseH6; end # HtmlBlockCloseHead = "<" Spnl "/" ("head" | "HEAD") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#8613 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8613 def _HtmlBlockCloseHead; end # HtmlBlockCloseLi = "<" Spnl "/" ("li" | "LI") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#7296 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7296 def _HtmlBlockCloseLi; end # HtmlBlockCloseMenu = "<" Spnl "/" ("menu" | "MENU") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#5470 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5470 def _HtmlBlockCloseMenu; end # HtmlBlockCloseNoframes = "<" Spnl "/" ("noframes" | "NOFRAMES") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#5636 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5636 def _HtmlBlockCloseNoframes; end # HtmlBlockCloseNoscript = "<" Spnl "/" ("noscript" | "NOSCRIPT") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#5802 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5802 def _HtmlBlockCloseNoscript; end # HtmlBlockCloseOl = "<" Spnl "/" ("ol" | "OL") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#5968 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5968 def _HtmlBlockCloseOl; end # HtmlBlockCloseP = "<" Spnl "/" ("p" | "P") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#6134 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6134 def _HtmlBlockCloseP; end # HtmlBlockClosePre = "<" Spnl "/" ("pre" | "PRE") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#6300 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6300 def _HtmlBlockClosePre; end # HtmlBlockCloseScript = "<" Spnl "/" ("script" | "SCRIPT") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#8458 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8458 def _HtmlBlockCloseScript; end # HtmlBlockCloseTable = "<" Spnl "/" ("table" | "TABLE") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#6466 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6466 def _HtmlBlockCloseTable; end # HtmlBlockCloseTbody = "<" Spnl "/" ("tbody" | "TBODY") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#7462 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7462 def _HtmlBlockCloseTbody; end # HtmlBlockCloseTd = "<" Spnl "/" ("td" | "TD") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#7628 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7628 def _HtmlBlockCloseTd; end # HtmlBlockCloseTfoot = "<" Spnl "/" ("tfoot" | "TFOOT") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#7794 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7794 def _HtmlBlockCloseTfoot; end # HtmlBlockCloseTh = "<" Spnl "/" ("th" | "TH") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#7960 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7960 def _HtmlBlockCloseTh; end # HtmlBlockCloseThead = "<" Spnl "/" ("thead" | "THEAD") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#8126 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8126 def _HtmlBlockCloseThead; end # HtmlBlockCloseTr = "<" Spnl "/" ("tr" | "TR") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#8292 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8292 def _HtmlBlockCloseTr; end # HtmlBlockCloseUl = "<" Spnl "/" ("ul" | "UL") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#6632 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6632 def _HtmlBlockCloseUl; end # HtmlBlockDd = HtmlBlockOpenDd (HtmlBlockDd | !HtmlBlockCloseDd .)* HtmlBlockCloseDd # - # source://rdoc//lib/rdoc/markdown.rb#6850 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6850 def _HtmlBlockDd; end # HtmlBlockDir = HtmlBlockOpenDir (HtmlBlockDir | !HtmlBlockCloseDir .)* HtmlBlockCloseDir # - # source://rdoc//lib/rdoc/markdown.rb#3696 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3696 def _HtmlBlockDir; end # HtmlBlockDiv = HtmlBlockOpenDiv (HtmlBlockDiv | !HtmlBlockCloseDiv .)* HtmlBlockCloseDiv # - # source://rdoc//lib/rdoc/markdown.rb#3862 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3862 def _HtmlBlockDiv; end # HtmlBlockDl = HtmlBlockOpenDl (HtmlBlockDl | !HtmlBlockCloseDl .)* HtmlBlockCloseDl # - # source://rdoc//lib/rdoc/markdown.rb#4028 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4028 def _HtmlBlockDl; end # HtmlBlockDt = HtmlBlockOpenDt (HtmlBlockDt | !HtmlBlockCloseDt .)* HtmlBlockCloseDt # - # source://rdoc//lib/rdoc/markdown.rb#7016 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7016 def _HtmlBlockDt; end # HtmlBlockFieldset = HtmlBlockOpenFieldset (HtmlBlockFieldset | !HtmlBlockCloseFieldset .)* HtmlBlockCloseFieldset # - # source://rdoc//lib/rdoc/markdown.rb#4194 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4194 def _HtmlBlockFieldset; end # HtmlBlockForm = HtmlBlockOpenForm (HtmlBlockForm | !HtmlBlockCloseForm .)* HtmlBlockCloseForm # - # source://rdoc//lib/rdoc/markdown.rb#4360 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4360 def _HtmlBlockForm; end # HtmlBlockFrameset = HtmlBlockOpenFrameset (HtmlBlockFrameset | !HtmlBlockCloseFrameset .)* HtmlBlockCloseFrameset # - # source://rdoc//lib/rdoc/markdown.rb#7182 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7182 def _HtmlBlockFrameset; end # HtmlBlockH1 = HtmlBlockOpenH1 (HtmlBlockH1 | !HtmlBlockCloseH1 .)* HtmlBlockCloseH1 # - # source://rdoc//lib/rdoc/markdown.rb#4526 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4526 def _HtmlBlockH1; end # HtmlBlockH2 = HtmlBlockOpenH2 (HtmlBlockH2 | !HtmlBlockCloseH2 .)* HtmlBlockCloseH2 # - # source://rdoc//lib/rdoc/markdown.rb#4692 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4692 def _HtmlBlockH2; end # HtmlBlockH3 = HtmlBlockOpenH3 (HtmlBlockH3 | !HtmlBlockCloseH3 .)* HtmlBlockCloseH3 # - # source://rdoc//lib/rdoc/markdown.rb#4858 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4858 def _HtmlBlockH3; end # HtmlBlockH4 = HtmlBlockOpenH4 (HtmlBlockH4 | !HtmlBlockCloseH4 .)* HtmlBlockCloseH4 # - # source://rdoc//lib/rdoc/markdown.rb#5024 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5024 def _HtmlBlockH4; end # HtmlBlockH5 = HtmlBlockOpenH5 (HtmlBlockH5 | !HtmlBlockCloseH5 .)* HtmlBlockCloseH5 # - # source://rdoc//lib/rdoc/markdown.rb#5190 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5190 def _HtmlBlockH5; end # HtmlBlockH6 = HtmlBlockOpenH6 (HtmlBlockH6 | !HtmlBlockCloseH6 .)* HtmlBlockCloseH6 # - # source://rdoc//lib/rdoc/markdown.rb#5356 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5356 def _HtmlBlockH6; end # HtmlBlockHead = HtmlBlockOpenHead (!HtmlBlockCloseHead .)* HtmlBlockCloseHead # - # source://rdoc//lib/rdoc/markdown.rb#8665 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8665 def _HtmlBlockHead; end # HtmlBlockInTags = (HtmlAnchor | HtmlBlockAddress | HtmlBlockBlockquote | HtmlBlockCenter | HtmlBlockDir | HtmlBlockDiv | HtmlBlockDl | HtmlBlockFieldset | HtmlBlockForm | HtmlBlockH1 | HtmlBlockH2 | HtmlBlockH3 | HtmlBlockH4 | HtmlBlockH5 | HtmlBlockH6 | HtmlBlockMenu | HtmlBlockNoframes | HtmlBlockNoscript | HtmlBlockOl | HtmlBlockP | HtmlBlockPre | HtmlBlockTable | HtmlBlockUl | HtmlBlockDd | HtmlBlockDt | HtmlBlockFrameset | HtmlBlockLi | HtmlBlockTbody | HtmlBlockTd | HtmlBlockTfoot | HtmlBlockTh | HtmlBlockThead | HtmlBlockTr | HtmlBlockScript | HtmlBlockHead) # - # source://rdoc//lib/rdoc/markdown.rb#8712 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8712 def _HtmlBlockInTags; end # HtmlBlockLi = HtmlBlockOpenLi (HtmlBlockLi | !HtmlBlockCloseLi .)* HtmlBlockCloseLi # - # source://rdoc//lib/rdoc/markdown.rb#7348 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7348 def _HtmlBlockLi; end # HtmlBlockMenu = HtmlBlockOpenMenu (HtmlBlockMenu | !HtmlBlockCloseMenu .)* HtmlBlockCloseMenu # - # source://rdoc//lib/rdoc/markdown.rb#5522 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5522 def _HtmlBlockMenu; end # HtmlBlockNoframes = HtmlBlockOpenNoframes (HtmlBlockNoframes | !HtmlBlockCloseNoframes .)* HtmlBlockCloseNoframes # - # source://rdoc//lib/rdoc/markdown.rb#5688 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5688 def _HtmlBlockNoframes; end # HtmlBlockNoscript = HtmlBlockOpenNoscript (HtmlBlockNoscript | !HtmlBlockCloseNoscript .)* HtmlBlockCloseNoscript # - # source://rdoc//lib/rdoc/markdown.rb#5854 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5854 def _HtmlBlockNoscript; end # HtmlBlockOl = HtmlBlockOpenOl (HtmlBlockOl | !HtmlBlockCloseOl .)* HtmlBlockCloseOl # - # source://rdoc//lib/rdoc/markdown.rb#6020 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6020 def _HtmlBlockOl; end # HtmlBlockOpenAddress = "<" Spnl ("address" | "ADDRESS") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#3090 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3090 def _HtmlBlockOpenAddress; end # HtmlBlockOpenBlockquote = "<" Spnl ("blockquote" | "BLOCKQUOTE") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#3256 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3256 def _HtmlBlockOpenBlockquote; end # HtmlBlockOpenCenter = "<" Spnl ("center" | "CENTER") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#3422 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3422 def _HtmlBlockOpenCenter; end # HtmlBlockOpenDd = "<" Spnl ("dd" | "DD") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#6742 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6742 def _HtmlBlockOpenDd; end # HtmlBlockOpenDir = "<" Spnl ("dir" | "DIR") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#3588 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3588 def _HtmlBlockOpenDir; end # HtmlBlockOpenDiv = "<" Spnl ("div" | "DIV") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#3754 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3754 def _HtmlBlockOpenDiv; end # HtmlBlockOpenDl = "<" Spnl ("dl" | "DL") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#3920 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:3920 def _HtmlBlockOpenDl; end # HtmlBlockOpenDt = "<" Spnl ("dt" | "DT") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#6908 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6908 def _HtmlBlockOpenDt; end # HtmlBlockOpenFieldset = "<" Spnl ("fieldset" | "FIELDSET") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#4086 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4086 def _HtmlBlockOpenFieldset; end # HtmlBlockOpenForm = "<" Spnl ("form" | "FORM") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#4252 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4252 def _HtmlBlockOpenForm; end # HtmlBlockOpenFrameset = "<" Spnl ("frameset" | "FRAMESET") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#7074 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7074 def _HtmlBlockOpenFrameset; end # HtmlBlockOpenH1 = "<" Spnl ("h1" | "H1") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#4418 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4418 def _HtmlBlockOpenH1; end # HtmlBlockOpenH2 = "<" Spnl ("h2" | "H2") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#4584 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4584 def _HtmlBlockOpenH2; end # HtmlBlockOpenH3 = "<" Spnl ("h3" | "H3") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#4750 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4750 def _HtmlBlockOpenH3; end # HtmlBlockOpenH4 = "<" Spnl ("h4" | "H4") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#4916 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:4916 def _HtmlBlockOpenH4; end # HtmlBlockOpenH5 = "<" Spnl ("h5" | "H5") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#5082 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5082 def _HtmlBlockOpenH5; end # HtmlBlockOpenH6 = "<" Spnl ("h6" | "H6") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#5248 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5248 def _HtmlBlockOpenH6; end # HtmlBlockOpenHead = "<" Spnl ("head" | "HEAD") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#8557 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8557 def _HtmlBlockOpenHead; end # HtmlBlockOpenLi = "<" Spnl ("li" | "LI") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#7240 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7240 def _HtmlBlockOpenLi; end # HtmlBlockOpenMenu = "<" Spnl ("menu" | "MENU") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#5414 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5414 def _HtmlBlockOpenMenu; end # HtmlBlockOpenNoframes = "<" Spnl ("noframes" | "NOFRAMES") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#5580 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5580 def _HtmlBlockOpenNoframes; end # HtmlBlockOpenNoscript = "<" Spnl ("noscript" | "NOSCRIPT") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#5746 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5746 def _HtmlBlockOpenNoscript; end # HtmlBlockOpenOl = "<" Spnl ("ol" | "OL") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#5912 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:5912 def _HtmlBlockOpenOl; end # HtmlBlockOpenP = "<" Spnl ("p" | "P") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#6078 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6078 def _HtmlBlockOpenP; end # HtmlBlockOpenPre = "<" Spnl ("pre" | "PRE") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#6244 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6244 def _HtmlBlockOpenPre; end # HtmlBlockOpenScript = "<" Spnl ("script" | "SCRIPT") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#8402 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8402 def _HtmlBlockOpenScript; end # HtmlBlockOpenTable = "<" Spnl ("table" | "TABLE") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#6410 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6410 def _HtmlBlockOpenTable; end # HtmlBlockOpenTbody = "<" Spnl ("tbody" | "TBODY") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#7406 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7406 def _HtmlBlockOpenTbody; end # HtmlBlockOpenTd = "<" Spnl ("td" | "TD") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#7572 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7572 def _HtmlBlockOpenTd; end # HtmlBlockOpenTfoot = "<" Spnl ("tfoot" | "TFOOT") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#7738 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7738 def _HtmlBlockOpenTfoot; end # HtmlBlockOpenTh = "<" Spnl ("th" | "TH") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#7904 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7904 def _HtmlBlockOpenTh; end # HtmlBlockOpenThead = "<" Spnl ("thead" | "THEAD") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#8070 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8070 def _HtmlBlockOpenThead; end # HtmlBlockOpenTr = "<" Spnl ("tr" | "TR") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#8236 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8236 def _HtmlBlockOpenTr; end # HtmlBlockOpenUl = "<" Spnl ("ul" | "UL") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#6576 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6576 def _HtmlBlockOpenUl; end # HtmlBlockP = HtmlBlockOpenP (HtmlBlockP | !HtmlBlockCloseP .)* HtmlBlockCloseP # - # source://rdoc//lib/rdoc/markdown.rb#6186 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6186 def _HtmlBlockP; end # HtmlBlockPre = HtmlBlockOpenPre (HtmlBlockPre | !HtmlBlockClosePre .)* HtmlBlockClosePre # - # source://rdoc//lib/rdoc/markdown.rb#6352 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6352 def _HtmlBlockPre; end # HtmlBlockScript = HtmlBlockOpenScript (!HtmlBlockCloseScript .)* HtmlBlockCloseScript # - # source://rdoc//lib/rdoc/markdown.rb#8510 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8510 def _HtmlBlockScript; end # HtmlBlockSelfClosing = "<" Spnl HtmlBlockType Spnl HtmlAttribute* "/" Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#8957 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8957 def _HtmlBlockSelfClosing; end # HtmlBlockTable = HtmlBlockOpenTable (HtmlBlockTable | !HtmlBlockCloseTable .)* HtmlBlockCloseTable # - # source://rdoc//lib/rdoc/markdown.rb#6518 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6518 def _HtmlBlockTable; end # HtmlBlockTbody = HtmlBlockOpenTbody (HtmlBlockTbody | !HtmlBlockCloseTbody .)* HtmlBlockCloseTbody # - # source://rdoc//lib/rdoc/markdown.rb#7514 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7514 def _HtmlBlockTbody; end # HtmlBlockTd = HtmlBlockOpenTd (HtmlBlockTd | !HtmlBlockCloseTd .)* HtmlBlockCloseTd # - # source://rdoc//lib/rdoc/markdown.rb#7680 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7680 def _HtmlBlockTd; end # HtmlBlockTfoot = HtmlBlockOpenTfoot (HtmlBlockTfoot | !HtmlBlockCloseTfoot .)* HtmlBlockCloseTfoot # - # source://rdoc//lib/rdoc/markdown.rb#7846 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:7846 def _HtmlBlockTfoot; end # HtmlBlockTh = HtmlBlockOpenTh (HtmlBlockTh | !HtmlBlockCloseTh .)* HtmlBlockCloseTh # - # source://rdoc//lib/rdoc/markdown.rb#8012 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8012 def _HtmlBlockTh; end # HtmlBlockThead = HtmlBlockOpenThead (HtmlBlockThead | !HtmlBlockCloseThead .)* HtmlBlockCloseThead # - # source://rdoc//lib/rdoc/markdown.rb#8178 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8178 def _HtmlBlockThead; end # HtmlBlockTr = HtmlBlockOpenTr (HtmlBlockTr | !HtmlBlockCloseTr .)* HtmlBlockCloseTr # - # source://rdoc//lib/rdoc/markdown.rb#8344 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8344 def _HtmlBlockTr; end # HtmlBlockType = ("ADDRESS" | "BLOCKQUOTE" | "CENTER" | "DD" | "DIR" | "DIV" | "DL" | "DT" | "FIELDSET" | "FORM" | "FRAMESET" | "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "HR" | "ISINDEX" | "LI" | "MENU" | "NOFRAMES" | "NOSCRIPT" | "OL" | "P" | "PRE" | "SCRIPT" | "TABLE" | "TBODY" | "TD" | "TFOOT" | "TH" | "THEAD" | "TR" | "UL" | "address" | "blockquote" | "center" | "dd" | "dir" | "div" | "dl" | "dt" | "fieldset" | "form" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "hr" | "isindex" | "li" | "menu" | "noframes" | "noscript" | "ol" | "p" | "pre" | "script" | "table" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr" | "ul") # - # source://rdoc//lib/rdoc/markdown.rb#9012 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9012 def _HtmlBlockType; end # HtmlBlockUl = HtmlBlockOpenUl (HtmlBlockUl | !HtmlBlockCloseUl .)* HtmlBlockCloseUl # - # source://rdoc//lib/rdoc/markdown.rb#6684 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:6684 def _HtmlBlockUl; end # HtmlCloseAnchor = "<" Spnl "/" ("a" | "A") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#2980 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2980 def _HtmlCloseAnchor; end # HtmlComment = "" .)* "-->" # - # source://rdoc//lib/rdoc/markdown.rb#14298 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14298 def _HtmlComment; end # HtmlOpenAnchor = "<" Spnl ("a" | "A") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#2924 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2924 def _HtmlOpenAnchor; end # HtmlTag = "<" Spnl "/"? AlphanumericAscii+ Spnl HtmlAttribute* "/"? Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#14345 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14345 def _HtmlTag; end # HtmlUnclosed = "<" Spnl HtmlUnclosedType Spnl HtmlAttribute* Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#8889 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8889 def _HtmlUnclosed; end # HtmlUnclosedType = ("HR" | "hr") # - # source://rdoc//lib/rdoc/markdown.rb#8939 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:8939 def _HtmlUnclosedType; end # Image = "!" ExplicitLinkWithLabel:a { "rdoc-image:#{a[:link]}:#{a[:label]}" } # - # source://rdoc//lib/rdoc/markdown.rb#11033 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11033 def _Image; end # InStyleTags = StyleOpen (!StyleClose .)* StyleClose # - # source://rdoc//lib/rdoc/markdown.rb#9342 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9342 def _InStyleTags; end # Indent = /\t| / # - # source://rdoc//lib/rdoc/markdown.rb#14743 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14743 def _Indent; end # IndentedLine = Indent Line # - # source://rdoc//lib/rdoc/markdown.rb#14750 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14750 def _IndentedLine; end # Inline = (Str | @Endline | UlOrStarLine | @Space | Strong | Emph | Strike | Image | Link | NoteReference | InlineNote | Code | RawHtml | Entity | EscapedChar | Symbol) # - # source://rdoc//lib/rdoc/markdown.rb#9647 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9647 def _Inline; end # InlineNote = &{ notes? } "^[" @StartList:a (!"]" Inline:l { a << l })+ "]" { ref = [:inline, @note_order.length] @footnotes[ref] = paragraph a note_for ref } # - # source://rdoc//lib/rdoc/markdown.rb#15314 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15314 def _InlineNote; end # Inlines = (!@Endline Inline:i { i } | @Endline:c !(&{ github? } Ticks3 /[^`\n]*$/) &Inline { c })+:chunks @Endline? { chunks } # - # source://rdoc//lib/rdoc/markdown.rb#9426 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9426 def _Inlines; end # Label = "[" (!"^" &{ notes? } | &. &{ !notes? }) @StartList:a (!"]" Inline:l { a << l })* "]" { a.join.gsub(/\s+/, ' ') } # - # source://rdoc//lib/rdoc/markdown.rb#11980 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11980 def _Label; end # Line = @RawLine:a { a } # - # source://rdoc//lib/rdoc/markdown.rb#14821 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14821 def _Line; end # LineBreak = " " @NormalEndline { RDoc::Markup::HardBreak.new } # - # source://rdoc//lib/rdoc/markdown.rb#10103 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10103 def _LineBreak; end # Link = (ExplicitLink | ReferenceLink | AutoLink) # - # source://rdoc//lib/rdoc/markdown.rb#11061 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11061 def _Link; end # ListBlock = !@BlankLine Line:a ListBlockLine*:c { [a, *c] } # - # source://rdoc//lib/rdoc/markdown.rb#2609 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2609 def _ListBlock; end # ListBlockLine = !@BlankLine !(Indent? (Bullet | Enumerator)) !HorizontalRule OptionallyIndentedLine # - # source://rdoc//lib/rdoc/markdown.rb#2854 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2854 def _ListBlockLine; end # ListContinuationBlock = @StartList:a @BlankLine* { a << "\n" } (Indent ListBlock:b { a.concat b })+ { a } # - # source://rdoc//lib/rdoc/markdown.rb#2653 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2653 def _ListContinuationBlock; end # ListItem = (Bullet | Enumerator) @StartList:a ListBlock:b { a << b } (ListContinuationBlock:c { a.push(*c) })* { list_item_from a } # - # source://rdoc//lib/rdoc/markdown.rb#2453 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2453 def _ListItem; end # ListItemTight = (Bullet | Enumerator) ListBlock:a (!@BlankLine ListContinuationBlock:b { a.push(*b) })* !ListContinuationBlock { list_item_from a } # - # source://rdoc//lib/rdoc/markdown.rb#2529 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2529 def _ListItemTight; end # ListLoose = @StartList:a (ListItem:b @BlankLine* { a << b })+ { a } # - # source://rdoc//lib/rdoc/markdown.rb#2365 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2365 def _ListLoose; end # ListTight = ListItemTight+:a @BlankLine* !(Bullet | Enumerator) { a } # - # source://rdoc//lib/rdoc/markdown.rb#2300 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2300 def _ListTight; end # Newline = %literals.Newline # - # source://rdoc//lib/rdoc/markdown.rb#14609 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14609 def _Newline; end # NonblankIndentedLine = !@BlankLine IndentedLine # - # source://rdoc//lib/rdoc/markdown.rb#1882 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1882 def _NonblankIndentedLine; end # NonindentSpace = / {0,3}/ # - # source://rdoc//lib/rdoc/markdown.rb#14736 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14736 def _NonindentSpace; end # Nonspacechar = !@Spacechar !@Newline . # - # source://rdoc//lib/rdoc/markdown.rb#14435 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14435 def _Nonspacechar; end # NormalChar = !(@SpecialChar | @Spacechar | @Newline) . # - # source://rdoc//lib/rdoc/markdown.rb#14536 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14536 def _NormalChar; end # NormalEndline = @Sp @Newline !@BlankLine !">" !AtxStart !(Line /={1,}|-{1,}/ @Newline) { "\n" } # - # source://rdoc//lib/rdoc/markdown.rb#9999 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9999 def _NormalEndline; end # Note = &{ notes? } @NonindentSpace RawNoteReference:ref ":" @Sp @StartList:a RawNoteBlock:i { a.concat i } (&Indent RawNoteBlock:i { a.concat i })* { @footnotes[ref] = paragraph a nil } # - # source://rdoc//lib/rdoc/markdown.rb#15216 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15216 def _Note; end # NoteReference = &{ notes? } RawNoteReference:ref { note_for ref } # - # source://rdoc//lib/rdoc/markdown.rb#15090 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15090 def _NoteReference; end # Notes = (Note | SkipBlock)* # - # source://rdoc//lib/rdoc/markdown.rb#15421 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15421 def _Notes; end # OptionallyIndentedLine = Indent? Line # - # source://rdoc//lib/rdoc/markdown.rb#14771 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14771 def _OptionallyIndentedLine; end # OrderedList = &Enumerator (ListTight | ListLoose):a { RDoc::Markup::List.new(:NUMBER, *a) } # - # source://rdoc//lib/rdoc/markdown.rb#2813 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:2813 def _OrderedList; end # Para = @NonindentSpace Inlines:a @BlankLine+ { paragraph a } # - # source://rdoc//lib/rdoc/markdown.rb#1065 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1065 def _Para; end # Plain = Inlines:a { paragraph a } # - # source://rdoc//lib/rdoc/markdown.rb#1108 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1108 def _Plain; end # Quoted = ("\"" (!"\"" .)* "\"" | "'" (!"'" .)* "'") # - # source://rdoc//lib/rdoc/markdown.rb#14058 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14058 def _Quoted; end # RawHtml = < (HtmlComment | HtmlBlockScript | HtmlTag) > { if html? then text else '' end } # - # source://rdoc//lib/rdoc/markdown.rb#13991 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:13991 def _RawHtml; end # RawLine = (< /[^\r\n]*/ @Newline > | < .+ > @Eof) { text } # - # source://rdoc//lib/rdoc/markdown.rb#14844 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14844 def _RawLine; end # RawNoteBlock = @StartList:a (!@BlankLine !RawNoteReference OptionallyIndentedLine:l { a << l })+ < @BlankLine* > { a << text } { a } # - # source://rdoc//lib/rdoc/markdown.rb#15443 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15443 def _RawNoteBlock; end # RawNoteReference = "[^" < (!@Newline !"]" .)+ > "]" { text } # - # source://rdoc//lib/rdoc/markdown.rb#15120 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15120 def _RawNoteReference; end # RefSrc = < Nonspacechar+ > { text } # - # source://rdoc//lib/rdoc/markdown.rb#12099 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12099 def _RefSrc; end # RefTitle = (RefTitleSingle | RefTitleDouble | RefTitleParens | EmptyTitle) # - # source://rdoc//lib/rdoc/markdown.rb#12135 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12135 def _RefTitle; end # RefTitleDouble = Spnl "\"" < (!("\"" @Sp @Newline | @Newline) .)* > "\"" { text } # - # source://rdoc//lib/rdoc/markdown.rb#12258 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12258 def _RefTitleDouble; end # RefTitleParens = Spnl "(" < (!(")" @Sp @Newline | @Newline) .)* > ")" { text } # - # source://rdoc//lib/rdoc/markdown.rb#12350 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12350 def _RefTitleParens; end # RefTitleSingle = Spnl "'" < (!("'" @Sp @Newline | @Newline) .)* > "'" { text } # - # source://rdoc//lib/rdoc/markdown.rb#12166 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12166 def _RefTitleSingle; end # Reference = @NonindentSpace !"[]" Label:label ":" Spnl RefSrc:link RefTitle @BlankLine+ { # TODO use title reference label, link nil } # - # source://rdoc//lib/rdoc/markdown.rb#11905 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11905 def _Reference; end # ReferenceLink = (ReferenceLinkDouble | ReferenceLinkSingle) # - # source://rdoc//lib/rdoc/markdown.rb#11082 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11082 def _ReferenceLink; end # ReferenceLinkDouble = Label:content < Spnl > !"[]" Label:label { link_to content, label, text } # - # source://rdoc//lib/rdoc/markdown.rb#11100 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11100 def _ReferenceLinkDouble; end # ReferenceLinkSingle = Label:content < (Spnl "[]")? > { link_to content, content, text } # - # source://rdoc//lib/rdoc/markdown.rb#11146 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11146 def _ReferenceLinkSingle; end # References = (Reference | SkipBlock)* # - # source://rdoc//lib/rdoc/markdown.rb#12442 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12442 def _References; end # SetextBottom1 = /={1,}/ @Newline # - # source://rdoc//lib/rdoc/markdown.rb#1323 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1323 def _SetextBottom1; end # SetextBottom2 = /-{1,}/ @Newline # - # source://rdoc//lib/rdoc/markdown.rb#1344 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1344 def _SetextBottom2; end # SetextHeading = (SetextHeading1 | SetextHeading2) # - # source://rdoc//lib/rdoc/markdown.rb#1305 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1305 def _SetextHeading; end # SetextHeading1 = &(@RawLine SetextBottom1) @StartList:a (!@Endline Inline:b { a << b })+ @Sp @Newline SetextBottom1 { RDoc::Markup::Heading.new(1, a.join) } # - # source://rdoc//lib/rdoc/markdown.rb#1365 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1365 def _SetextHeading1; end # SetextHeading2 = &(@RawLine SetextBottom2) @StartList:a (!@Endline Inline:b { a << b })+ @Sp @Newline SetextBottom2 { RDoc::Markup::Heading.new(2, a.join) } # - # source://rdoc//lib/rdoc/markdown.rb#1487 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1487 def _SetextHeading2; end # SkipBlock = (HtmlBlock | (!"#" !SetextBottom1 !SetextBottom2 !@BlankLine @RawLine)+ @BlankLine* | @BlankLine+ | @RawLine) # - # source://rdoc//lib/rdoc/markdown.rb#14923 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14923 def _SkipBlock; end # Source = ("<" < SourceContents > ">" | < SourceContents >) { text } # - # source://rdoc//lib/rdoc/markdown.rb#11279 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11279 def _Source; end # SourceContents = ((!"(" !")" !">" Nonspacechar)+ | "(" SourceContents ")")* # - # source://rdoc//lib/rdoc/markdown.rb#11339 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11339 def _SourceContents; end # Sp = @Spacechar* # - # source://rdoc//lib/rdoc/markdown.rb#14467 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14467 def _Sp; end # Space = @Spacechar+ { " " } # - # source://rdoc//lib/rdoc/markdown.rb#9707 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9707 def _Space; end # Spacechar = %literals.Spacechar # - # source://rdoc//lib/rdoc/markdown.rb#14616 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14616 def _Spacechar; end # SpecialChar = (/[~*_`&\[\]() { text } | < @Spacechar /\*+/ &@Spacechar > { text }) # - # source://rdoc//lib/rdoc/markdown.rb#10190 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10190 def _StarLine; end # StartList = &. { [] } # - # source://rdoc//lib/rdoc/markdown.rb#14797 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:14797 def _StartList; end # Str = @StartList:a < @NormalChar+ > { a = text } (StrChunk:c { a << c })* { a } # - # source://rdoc//lib/rdoc/markdown.rb#9739 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9739 def _Str; end # StrChunk = < (@NormalChar | /_+/ &Alphanumeric)+ > { text } # - # source://rdoc//lib/rdoc/markdown.rb#9812 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9812 def _StrChunk; end # Strike = &{ strike? } "~~" !@Whitespace @StartList:a (!"~~" Inline:b { a << b })+ "~~" { strike a.join } # - # source://rdoc//lib/rdoc/markdown.rb#10922 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10922 def _Strike; end # Strong = (StrongStar | StrongUl) # - # source://rdoc//lib/rdoc/markdown.rb#10696 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10696 def _Strong; end # StrongStar = "**" !@Whitespace @StartList:a (!"**" Inline:b { a << b })+ "**" { strong a.join } # - # source://rdoc//lib/rdoc/markdown.rb#10714 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10714 def _StrongStar; end # StrongUl = "__" !@Whitespace @StartList:a (!"__" Inline:b { a << b })+ "__" { strong a.join } # - # source://rdoc//lib/rdoc/markdown.rb#10818 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10818 def _StrongUl; end # StyleBlock = < InStyleTags > @BlankLine* { if css? then RDoc::Markup::Raw.new text end } # - # source://rdoc//lib/rdoc/markdown.rb#9389 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9389 def _StyleBlock; end # StyleClose = "<" Spnl "/" ("style" | "STYLE") Spnl ">" # - # source://rdoc//lib/rdoc/markdown.rb#9290 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9290 def _StyleClose; end # StyleOpen = "<" Spnl ("style" | "STYLE") Spnl HtmlAttribute* ">" # - # source://rdoc//lib/rdoc/markdown.rb#9234 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:9234 def _StyleOpen; end # Symbol = < @SpecialChar > { text } # - # source://rdoc//lib/rdoc/markdown.rb#10130 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10130 def _Symbol; end # Table = &{ github? } TableHead:header TableLine:line TableRow+:body { table = RDoc::Markup::Table.new(header, line, body) parse_table_cells(table) } # - # source://rdoc//lib/rdoc/markdown.rb#15820 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15820 def _Table; end # TableAlign = < /:?-+:?/ > @Sp { text.start_with?(":") ? (text.end_with?(":") ? :center : :left) : (text.end_with?(":") ? :right : nil) } # - # source://rdoc//lib/rdoc/markdown.rb#16190 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16190 def _TableAlign; end # TableAlign2 = "|" @Sp TableAlign # - # source://rdoc//lib/rdoc/markdown.rb#16164 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16164 def _TableAlign2; end # TableHead = TableItem2+:items "|"? @Newline { items } # - # source://rdoc//lib/rdoc/markdown.rb#15879 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15879 def _TableHead; end # TableItem = < /(?:\\.|[^|\n])+/ > { text.strip.gsub(/\\([|])/, '\1') } # - # source://rdoc//lib/rdoc/markdown.rb#16045 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16045 def _TableItem; end # TableItem2 = "|" TableItem # - # source://rdoc//lib/rdoc/markdown.rb#16024 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16024 def _TableItem2; end # TableLine = ((TableAlign:align1 TableAlign2*:aligns {[align1, *aligns] }):line | TableAlign2+:line) "|"? @Newline { line } # - # source://rdoc//lib/rdoc/markdown.rb#16071 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:16071 def _TableLine; end # TableRow = ((TableItem:item1 TableItem2*:items { [item1, *items] }):row | TableItem2+:row) "|"? @Newline { row } # - # source://rdoc//lib/rdoc/markdown.rb#15931 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:15931 def _TableRow; end # TerminalEndline = @Sp @Newline @Eof # - # source://rdoc//lib/rdoc/markdown.rb#10077 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10077 def _TerminalEndline; end # Ticks1 = "`" !"`" # - # source://rdoc//lib/rdoc/markdown.rb#12464 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12464 def _Ticks1; end # Ticks2 = "``" !"`" # - # source://rdoc//lib/rdoc/markdown.rb#12488 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12488 def _Ticks2; end # Ticks3 = "```" !"`" # - # source://rdoc//lib/rdoc/markdown.rb#12512 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12512 def _Ticks3; end # Ticks4 = "````" !"`" # - # source://rdoc//lib/rdoc/markdown.rb#12536 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12536 def _Ticks4; end # Ticks5 = "`````" !"`" # - # source://rdoc//lib/rdoc/markdown.rb#12560 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:12560 def _Ticks5; end # Title = (TitleSingle | TitleDouble | ""):a { a } # - # source://rdoc//lib/rdoc/markdown.rb#11456 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11456 def _Title; end # TitleDouble = "\"" (!("\"" @Sp (")" | @Newline)) .)* "\"" # - # source://rdoc//lib/rdoc/markdown.rb#11570 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11570 def _TitleDouble; end # TitleSingle = "'" (!("'" @Sp (")" | @Newline)) .)* "'" # - # source://rdoc//lib/rdoc/markdown.rb#11493 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:11493 def _TitleSingle; end # UlLine = (< /_{4,}/ > { text } | < @Spacechar /_+/ &@Spacechar > { text }) # - # source://rdoc//lib/rdoc/markdown.rb#10267 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10267 def _UlLine; end # UlOrStarLine = (UlLine | StarLine):a { a } # - # source://rdoc//lib/rdoc/markdown.rb#10156 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10156 def _UlOrStarLine; end # Verbatim = VerbatimChunk+:a { RDoc::Markup::Verbatim.new(*a.flatten) } # - # source://rdoc//lib/rdoc/markdown.rb#1956 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1956 def _Verbatim; end # VerbatimChunk = @BlankLine*:a NonblankIndentedLine+:b { a.concat b } # - # source://rdoc//lib/rdoc/markdown.rb#1906 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:1906 def _VerbatimChunk; end # Whitespace = (@Spacechar | @Newline) # - # source://rdoc//lib/rdoc/markdown.rb#10362 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:10362 def _Whitespace; end # root = Doc # - # source://rdoc//lib/rdoc/markdown.rb#943 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:943 def _root; end - # source://rdoc//lib/rdoc/markdown.rb#502 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:502 def apply(rule); end - # source://rdoc//lib/rdoc/markdown.rb#468 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:468 def apply_with_args(rule, *args); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def break_on_newline=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def break_on_newline?; end # Wraps `text` in code markup for rdoc inline formatting # - # source://rdoc//lib/rdoc/markdown.rb#888 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:888 def code(text); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def css=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def css?; end - # source://rdoc//lib/rdoc/markdown.rb#250 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:250 def current_character(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown.rb#211 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:211 def current_column(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown.rb#234 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:234 def current_line(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown.rb#259 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:259 def current_pos_info(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def definition_lists=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def definition_lists?; end # Wraps `text` in emphasis for rdoc inline formatting # - # source://rdoc//lib/rdoc/markdown.rb#683 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:683 def emphasis(text); end # :category: Extensions # # Enables or disables the extension with `name` # - # source://rdoc//lib/rdoc/markdown.rb#705 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:705 def extension(name, enable); end # :category: Extensions @@ -4279,65 +4277,65 @@ class RDoc::Markdown # # @return [Boolean] # - # source://rdoc//lib/rdoc/markdown.rb#696 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:696 def extension?(name); end - # source://rdoc//lib/rdoc/markdown.rb#449 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:449 def external_invoke(other, rule, *args); end # Returns the value of attribute failed_rule. # - # source://rdoc//lib/rdoc/markdown.rb#371 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:371 def failed_rule; end # Returns the value of attribute failing_rule_offset. # - # source://rdoc//lib/rdoc/markdown.rb#208 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:208 def failing_rule_offset; end - # source://rdoc//lib/rdoc/markdown.rb#318 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:318 def failure_caret; end - # source://rdoc//lib/rdoc/markdown.rb#323 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:323 def failure_character; end - # source://rdoc//lib/rdoc/markdown.rb#306 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:306 def failure_info; end - # source://rdoc//lib/rdoc/markdown.rb#327 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:327 def failure_oneline; end - # source://rdoc//lib/rdoc/markdown.rb#393 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:393 def get_byte; end - # source://rdoc//lib/rdoc/markdown.rb#271 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:271 def get_line(no); end - # source://rdoc//lib/rdoc/markdown.rb#285 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:285 def get_text(start); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def github=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def github?; end - # source://rdoc//lib/rdoc/markdown.rb#535 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:535 def grow_lr(rule, args, start_pos, m); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def html=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def html?; end # Parses `text` in a clone of this parser. This is used for handling nested # lists the same way as markdown_parser. # - # source://rdoc//lib/rdoc/markdown.rb#717 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:717 def inner_parse(text); end - # source://rdoc//lib/rdoc/markdown.rb#267 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:267 def lines; end # Finds a link reference for `label` and creates a new link to it with @@ -4347,146 +4345,146 @@ class RDoc::Markdown # # @raise [ParseError] # - # source://rdoc//lib/rdoc/markdown.rb#737 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:737 def link_to(content, label = T.unsafe(nil), text = T.unsafe(nil)); end # Creates an RDoc::Markup::ListItem by parsing the `unparsed` content from # the first parsing pass. # - # source://rdoc//lib/rdoc/markdown.rb#754 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:754 def list_item_from(unparsed); end - # source://rdoc//lib/rdoc/markdown.rb#373 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:373 def match_string(str); end # Stores `label` as a note and fills in previously unknown note references. # - # source://rdoc//lib/rdoc/markdown.rb#762 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:762 def note(label); end # Creates a new link for the footnote `reference` and adds the reference to # the note order list for proper display at the end of the document. # - # source://rdoc//lib/rdoc/markdown.rb#776 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:776 def note_for(ref); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def notes=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def notes?; end # Creates an RDoc::Markup::Paragraph from `parts` and including # extension-specific behavior # - # source://rdoc//lib/rdoc/markdown.rb#793 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:793 def paragraph(parts); end # Parses `markdown` into an RDoc::Document # - # source://rdoc//lib/rdoc/markdown.rb#414 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:414 def parse(markdown); end # Parses inline markdown in a single table cell # - # source://rdoc//lib/rdoc/markdown.rb#914 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:914 def parse_cell_inline(text); end # Parses inline markdown in table cells # - # source://rdoc//lib/rdoc/markdown.rb#899 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:899 def parse_table_cells(table); end # The internal kpeg parse method # - # source://rdoc//lib/rdoc/markdown.rb#787 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:787 def peg_parse(rule = T.unsafe(nil)); end # Returns the value of attribute pos. # - # source://rdoc//lib/rdoc/markdown.rb#209 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:209 def pos; end # Sets the attribute pos # # @param value the value to set the attribute pos to. # - # source://rdoc//lib/rdoc/markdown.rb#209 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:209 def pos=(_arg0); end - # source://rdoc//lib/rdoc/markdown.rb#221 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:221 def position_line_offsets; end # @raise [ParseError] # - # source://rdoc//lib/rdoc/markdown.rb#341 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:341 def raise_error; end # Stores `label` as a reference to `link` and fills in previously unknown # link references. # - # source://rdoc//lib/rdoc/markdown.rb#855 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:855 def reference(label, link); end # Returns the value of attribute result. # - # source://rdoc//lib/rdoc/markdown.rb#209 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:209 def result; end # Sets the attribute result # # @param value the value to set the attribute result to. # - # source://rdoc//lib/rdoc/markdown.rb#209 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:209 def result=(_arg0); end - # source://rdoc//lib/rdoc/markdown.rb#383 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:383 def scan(reg); end - # source://rdoc//lib/rdoc/markdown.rb#364 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:364 def set_failed_rule(name); end # Sets the string and current parsing position for the parser. # - # source://rdoc//lib/rdoc/markdown.rb#290 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:290 def set_string(string, pos); end # :stopdoc: # - # source://rdoc//lib/rdoc/markdown.rb#938 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:938 def setup_foreign_grammar; end # Prepares for parsing +str+. If you define a custom initialize you must # call this method before #parse # - # source://rdoc//lib/rdoc/markdown.rb#196 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:196 def setup_parser(str, debug = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown.rb#345 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:345 def show_error(io = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown.rb#297 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:297 def show_pos; end # Wraps `text` in strike markup for rdoc inline formatting # - # source://rdoc//lib/rdoc/markdown.rb#877 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:877 def strike(text); end - # source://rdoc//lib/rdoc/markdown.rb#610 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:610 def strike=(enable); end - # source://rdoc//lib/rdoc/markdown.rb#606 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:606 def strike?; end # Returns the value of attribute string. # - # source://rdoc//lib/rdoc/markdown.rb#207 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:207 def string; end # Wraps `text` in strong markup for rdoc inline formatting # - # source://rdoc//lib/rdoc/markdown.rb#866 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:866 def strong(text); end private @@ -4498,34 +4496,34 @@ class RDoc::Markdown # # @return [Markdown] a new instance of Markdown # - # source://rdoc//lib/rdoc/markdown.rb#663 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:663 def orig_initialize(str, debug = T.unsafe(nil)); end class << self # Creates extension methods for the `name` extension to enable and disable # the extension and to query if they are active. # - # source://rdoc//lib/rdoc/markdown.rb#603 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:603 def extension(name); end # Parses the `markdown` document into an RDoc::Document using the default # extensions. # - # source://rdoc//lib/rdoc/markdown.rb#656 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:656 def parse(markdown); end - # source://rdoc//lib/rdoc/markdown.rb#566 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:566 def rule_info(name, rendered); end end end -# source://rdoc//lib/rdoc/markdown.rb#257 +# pkg:gem/rdoc#lib/rdoc/markdown.rb:257 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 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def char; end # Sets the attribute char @@ -4533,14 +4531,14 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def col; end # Sets the attribute col @@ -4548,14 +4546,14 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # @param value [Object] the value to set the attribute col to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def line; end # Sets the attribute line @@ -4563,14 +4561,14 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # @param value [Object] the value to set the attribute line to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def lno; end # Sets the attribute lno @@ -4578,14 +4576,14 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # @param value [Object] the value to set the attribute lno to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def pos; end # Sets the attribute pos @@ -4593,23 +4591,23 @@ class RDoc::Markdown::KpegPosInfo < ::Struct # @param value [Object] the value to set the attribute pos to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def pos=(_); end class << self - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def [](*_arg0); end - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def inspect; end - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def keyword_init?; end - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def members; end - # source://rdoc//lib/rdoc/markdown.rb#257 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:257 def new(*_arg0); end end end @@ -4620,7 +4618,7 @@ end # Unlike peg-markdown, this set of literals recognizes Unicode alphanumeric # characters, newlines and spaces. # -# source://rdoc//lib/rdoc/markdown/literals.rb#11 +# pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:11 class RDoc::Markdown::Literals # This is distinct from setup_parser so that a standalone parser # can redefine #initialize and still have access to the proper @@ -4628,182 +4626,182 @@ class RDoc::Markdown::Literals # # @return [Literals] a new instance of Literals # - # source://rdoc//lib/rdoc/markdown/literals.rb#17 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:17 def initialize(str, debug = T.unsafe(nil)); end # Alphanumeric = /\p{Word}/ # - # source://rdoc//lib/rdoc/markdown/literals.rb#405 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:405 def _Alphanumeric; end # AlphanumericAscii = /[A-Za-z0-9]/ # - # source://rdoc//lib/rdoc/markdown/literals.rb#412 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:412 def _AlphanumericAscii; end # BOM = "uFEFF" # - # source://rdoc//lib/rdoc/markdown/literals.rb#419 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:419 def _BOM; end # Newline = /\n|\r\n?|\p{Zl}|\p{Zp}/ # - # source://rdoc//lib/rdoc/markdown/literals.rb#426 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:426 def _Newline; end # NonAlphanumeric = /\p{^Word}/ # - # source://rdoc//lib/rdoc/markdown/literals.rb#433 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:433 def _NonAlphanumeric; end # Spacechar = /\t|\p{Zs}/ # - # source://rdoc//lib/rdoc/markdown/literals.rb#440 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:440 def _Spacechar; end - # source://rdoc//lib/rdoc/markdown/literals.rb#331 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:331 def apply(rule); end - # source://rdoc//lib/rdoc/markdown/literals.rb#297 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:297 def apply_with_args(rule, *args); end - # source://rdoc//lib/rdoc/markdown/literals.rb#79 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:79 def current_character(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown/literals.rb#40 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:40 def current_column(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown/literals.rb#63 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:63 def current_line(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown/literals.rb#88 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:88 def current_pos_info(target = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown/literals.rb#278 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:278 def external_invoke(other, rule, *args); end # Returns the value of attribute failed_rule. # - # source://rdoc//lib/rdoc/markdown/literals.rb#200 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:200 def failed_rule; end # Returns the value of attribute failing_rule_offset. # - # source://rdoc//lib/rdoc/markdown/literals.rb#37 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:37 def failing_rule_offset; end - # source://rdoc//lib/rdoc/markdown/literals.rb#147 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:147 def failure_caret; end - # source://rdoc//lib/rdoc/markdown/literals.rb#152 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:152 def failure_character; end - # source://rdoc//lib/rdoc/markdown/literals.rb#135 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:135 def failure_info; end - # source://rdoc//lib/rdoc/markdown/literals.rb#156 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:156 def failure_oneline; end - # source://rdoc//lib/rdoc/markdown/literals.rb#222 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:222 def get_byte; end - # source://rdoc//lib/rdoc/markdown/literals.rb#100 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:100 def get_line(no); end - # source://rdoc//lib/rdoc/markdown/literals.rb#114 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:114 def get_text(start); end - # source://rdoc//lib/rdoc/markdown/literals.rb#364 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:364 def grow_lr(rule, args, start_pos, m); end - # source://rdoc//lib/rdoc/markdown/literals.rb#96 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:96 def lines; end - # source://rdoc//lib/rdoc/markdown/literals.rb#202 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:202 def match_string(str); end - # source://rdoc//lib/rdoc/markdown/literals.rb#243 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:243 def parse(rule = T.unsafe(nil)); end # Returns the value of attribute pos. # - # source://rdoc//lib/rdoc/markdown/literals.rb#38 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:38 def pos; end # Sets the attribute pos # # @param value the value to set the attribute pos to. # - # source://rdoc//lib/rdoc/markdown/literals.rb#38 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:38 def pos=(_arg0); end - # source://rdoc//lib/rdoc/markdown/literals.rb#50 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:50 def position_line_offsets; end # @raise [ParseError] # - # source://rdoc//lib/rdoc/markdown/literals.rb#170 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:170 def raise_error; end # Returns the value of attribute result. # - # source://rdoc//lib/rdoc/markdown/literals.rb#38 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:38 def result; end # Sets the attribute result # # @param value the value to set the attribute result to. # - # source://rdoc//lib/rdoc/markdown/literals.rb#38 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:38 def result=(_arg0); end - # source://rdoc//lib/rdoc/markdown/literals.rb#212 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:212 def scan(reg); end - # source://rdoc//lib/rdoc/markdown/literals.rb#193 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:193 def set_failed_rule(name); end # Sets the string and current parsing position for the parser. # - # source://rdoc//lib/rdoc/markdown/literals.rb#119 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:119 def set_string(string, pos); end # :startdoc: # :stopdoc: # - # source://rdoc//lib/rdoc/markdown/literals.rb#402 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:402 def setup_foreign_grammar; end # Prepares for parsing +str+. If you define a custom initialize you must # call this method before #parse # - # source://rdoc//lib/rdoc/markdown/literals.rb#25 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:25 def setup_parser(str, debug = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown/literals.rb#174 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:174 def show_error(io = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markdown/literals.rb#126 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:126 def show_pos; end # Returns the value of attribute string. # - # source://rdoc//lib/rdoc/markdown/literals.rb#36 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:36 def string; end class << self - # source://rdoc//lib/rdoc/markdown/literals.rb#395 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:395 def rule_info(name, rendered); end end end -# source://rdoc//lib/rdoc/markdown/literals.rb#86 +# pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 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 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def char; end # Sets the attribute char @@ -4811,14 +4809,14 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def col; end # Sets the attribute col @@ -4826,14 +4824,14 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def line; end # Sets the attribute line @@ -4841,14 +4839,14 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def lno; end # Sets the attribute lno @@ -4856,14 +4854,14 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def pos; end # Sets the attribute pos @@ -4871,150 +4869,150 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct # @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 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def pos=(_); end class << self - # source://rdoc//lib/rdoc/markdown/literals.rb#86 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def [](*_arg0); end - # source://rdoc//lib/rdoc/markdown/literals.rb#86 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def inspect; end - # source://rdoc//lib/rdoc/markdown/literals.rb#86 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def keyword_init?; end - # source://rdoc//lib/rdoc/markdown/literals.rb#86 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def members; end - # source://rdoc//lib/rdoc/markdown/literals.rb#86 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:86 def new(*_arg0); end end end -# source://rdoc//lib/rdoc/markdown/literals.rb#257 +# pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:257 class RDoc::Markdown::Literals::MemoEntry # @return [MemoEntry] a new instance of MemoEntry # - # source://rdoc//lib/rdoc/markdown/literals.rb#258 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:258 def initialize(ans, pos); end # Returns the value of attribute ans. # - # source://rdoc//lib/rdoc/markdown/literals.rb#266 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:266 def ans; end # Returns the value of attribute left_rec. # - # source://rdoc//lib/rdoc/markdown/literals.rb#267 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:267 def left_rec; end # Sets the attribute left_rec # # @param value the value to set the attribute left_rec to. # - # source://rdoc//lib/rdoc/markdown/literals.rb#267 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:267 def left_rec=(_arg0); end - # source://rdoc//lib/rdoc/markdown/literals.rb#269 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:269 def move!(ans, pos, result); end # Returns the value of attribute pos. # - # source://rdoc//lib/rdoc/markdown/literals.rb#266 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:266 def pos; end # Returns the value of attribute result. # - # source://rdoc//lib/rdoc/markdown/literals.rb#266 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:266 def result; end # Returns the value of attribute set. # - # source://rdoc//lib/rdoc/markdown/literals.rb#266 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:266 def set; end end -# source://rdoc//lib/rdoc/markdown/literals.rb#386 +# pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:386 class RDoc::Markdown::Literals::RuleInfo # @return [RuleInfo] a new instance of RuleInfo # - # source://rdoc//lib/rdoc/markdown/literals.rb#387 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:387 def initialize(name, rendered); end # Returns the value of attribute name. # - # source://rdoc//lib/rdoc/markdown/literals.rb#392 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:392 def name; end # Returns the value of attribute rendered. # - # source://rdoc//lib/rdoc/markdown/literals.rb#392 + # pkg:gem/rdoc#lib/rdoc/markdown/literals.rb:392 def rendered; end end -# source://rdoc//lib/rdoc/markdown.rb#428 +# pkg:gem/rdoc#lib/rdoc/markdown.rb:428 class RDoc::Markdown::MemoEntry # @return [MemoEntry] a new instance of MemoEntry # - # source://rdoc//lib/rdoc/markdown.rb#429 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:429 def initialize(ans, pos); end # Returns the value of attribute ans. # - # source://rdoc//lib/rdoc/markdown.rb#437 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:437 def ans; end # Returns the value of attribute left_rec. # - # source://rdoc//lib/rdoc/markdown.rb#438 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:438 def left_rec; end # Sets the attribute left_rec # # @param value the value to set the attribute left_rec to. # - # source://rdoc//lib/rdoc/markdown.rb#438 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:438 def left_rec=(_arg0); end - # source://rdoc//lib/rdoc/markdown.rb#440 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:440 def move!(ans, pos, result); end # Returns the value of attribute pos. # - # source://rdoc//lib/rdoc/markdown.rb#437 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:437 def pos; end # Returns the value of attribute result. # - # source://rdoc//lib/rdoc/markdown.rb#437 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:437 def result; end # Returns the value of attribute set. # - # source://rdoc//lib/rdoc/markdown.rb#437 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:437 def set; end end -# source://rdoc//lib/rdoc/markdown.rb#557 +# pkg:gem/rdoc#lib/rdoc/markdown.rb:557 class RDoc::Markdown::RuleInfo # @return [RuleInfo] a new instance of RuleInfo # - # source://rdoc//lib/rdoc/markdown.rb#558 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:558 def initialize(name, rendered); end # Returns the value of attribute name. # - # source://rdoc//lib/rdoc/markdown.rb#563 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:563 def name; end # Returns the value of attribute rendered. # - # source://rdoc//lib/rdoc/markdown.rb#563 + # pkg:gem/rdoc#lib/rdoc/markdown.rb:563 def rendered; end end -# source://rdoc//lib/rdoc/markup.rb#111 +# pkg:gem/rdoc#lib/rdoc/markup.rb:111 class RDoc::Markup # Take a block of text and use various heuristics to determine its # structure (paragraphs, lists, and so on). Invoke an event handler as we @@ -5022,12 +5020,12 @@ class RDoc::Markup # # @return [Markup] a new instance of Markup # - # source://rdoc//lib/rdoc/markup.rb#151 + # pkg:gem/rdoc#lib/rdoc/markup.rb:151 def initialize(attribute_manager = T.unsafe(nil)); end # Add to the sequences recognized as general markup. # - # source://rdoc//lib/rdoc/markup.rb#168 + # pkg:gem/rdoc#lib/rdoc/markup.rb:168 def add_html(tag, name); end # Add to other inline sequences. For example, we could add WikiWords using @@ -5037,31 +5035,31 @@ class RDoc::Markup # # Each wiki word will be presented to the output formatter. # - # source://rdoc//lib/rdoc/markup.rb#180 + # pkg:gem/rdoc#lib/rdoc/markup.rb:180 def add_regexp_handling(pattern, name); end # Add to the sequences used to add formatting to an individual word (such # as *bold*). Matching entries will generate attributes that the output # formatters can recognize by their +name+. # - # source://rdoc//lib/rdoc/markup.rb#161 + # pkg:gem/rdoc#lib/rdoc/markup.rb:161 def add_word_pair(start, stop, name); end # An AttributeManager which handles inline markup. # - # source://rdoc//lib/rdoc/markup.rb#116 + # pkg:gem/rdoc#lib/rdoc/markup.rb:116 def attribute_manager; end # We take +input+, parse it if necessary, then invoke the output +formatter+ # using a Visitor to render the result. # - # source://rdoc//lib/rdoc/markup.rb#188 + # pkg:gem/rdoc#lib/rdoc/markup.rb:188 def convert(input, formatter); end class << self # Parses +str+ into an RDoc::Markup::Document. # - # source://rdoc//lib/rdoc/markup.rb#121 + # pkg:gem/rdoc#lib/rdoc/markup.rb:121 def parse(str); end end end @@ -5069,19 +5067,19 @@ end # An AttrChanger records a change in attributes. It contains a bitmap of the # attributes to turn on, and a bitmap of those to turn off. # -# source://rdoc//lib/rdoc/markup/attr_changer.rb#4 +# pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 class RDoc::Markup::AttrChanger < ::Struct - # source://rdoc//lib/rdoc/markup/attr_changer.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:18 def inspect; end - # source://rdoc//lib/rdoc/markup/attr_changer.rb#14 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def turn_off; end # Sets the attribute turn_off @@ -5089,14 +5087,14 @@ class RDoc::Markup::AttrChanger < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def turn_on; end # Sets the attribute turn_on @@ -5104,59 +5102,59 @@ class RDoc::Markup::AttrChanger < ::Struct # @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 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def turn_on=(_); end class << self - # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def [](*_arg0); end - # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def inspect; end - # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def keyword_init?; end - # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + # pkg:gem/rdoc#lib/rdoc/markup/attr_changer.rb:4 def members; end - # source://rdoc//lib/rdoc/markup/attr_changer.rb#4 + # pkg:gem/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. # -# source://rdoc//lib/rdoc/markup/attr_span.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/attr_span.rb:5 class RDoc::Markup::AttrSpan # Creates a new AttrSpan for +length+ characters # # @return [AttrSpan] a new instance of AttrSpan # - # source://rdoc//lib/rdoc/markup/attr_span.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/attr_span.rb:10 def initialize(length, exclusive); end # Accesses flags for character +n+ # - # source://rdoc//lib/rdoc/markup/attr_span.rb#31 + # pkg:gem/rdoc#lib/rdoc/markup/attr_span.rb:31 def [](n); end # Toggles +bits+ from +start+ to +length+ # - # source://rdoc//lib/rdoc/markup/attr_span.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/attr_span.rb:17 def set_attrs(start, length, bits); end end # Manages changes of attributes in a block of text # -# source://rdoc//lib/rdoc/markup/attribute_manager.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:6 class RDoc::Markup::AttributeManager # Creates a new attribute manager that understands bold, emphasized and # teletype text. # # @return [AttributeManager] a new instance of AttributeManager # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#80 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:80 def initialize; end # Adds a markup class with +name+ for words surrounded by HTML tag +tag+. @@ -5164,7 +5162,7 @@ class RDoc::Markup::AttributeManager # # am.add_html 'em', :EM # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#286 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:286 def add_html(tag, name, exclusive = T.unsafe(nil)); end # Adds a regexp handling for +pattern+ with +name+. A simple URL handler @@ -5172,7 +5170,7 @@ class RDoc::Markup::AttributeManager # # @am.add_regexp_handling(/((https?:)\S+\w)/, :HYPERLINK) # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#298 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:298 def add_regexp_handling(pattern, name, exclusive = T.unsafe(nil)); end # Adds a markup class with +name+ for words wrapped in the +start+ and @@ -5182,196 +5180,196 @@ class RDoc::Markup::AttributeManager # # @raise [ArgumentError] # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#261 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:261 def add_word_pair(start, stop, name, exclusive = T.unsafe(nil)); end # Return an attribute object with the given turn_on and turn_off bits set # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#103 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:103 def attribute(turn_on, turn_off); end # The attributes enabled for this markup object. # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:40 def attributes; end # Changes the current attribute from +current+ to +new+ # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#110 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:110 def change_attribute(current, new); end # Used by the tests to change attributes by name from +current_set+ to # +new_set+ # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#119 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:119 def changed_attribute_by_name(current_set, new_set); end # Map attributes like textto the sequence # \001\002\001\003, where is a per-attribute specific # character # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#154 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:154 def convert_attrs(str, attrs, exclusive = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#160 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:160 def convert_attrs_matching_word_pairs(str, attrs, exclusive); end - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#185 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:185 def convert_attrs_word_pair_map(str, attrs, exclusive); end # Converts HTML tags to RDoc attributes # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#206 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:206 def convert_html(str, attrs, exclusive = T.unsafe(nil)); end # Converts regexp handling sequences to RDoc attributes # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#223 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:223 def convert_regexp_handlings(str, attrs, exclusive = T.unsafe(nil)); end # Copies +start_pos+ to +end_pos+ from the current string # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#135 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:135 def copy_string(start_pos, end_pos); end # Debug method that prints a string along with its attributes # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#329 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:329 def display_attributes; end # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#142 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:142 def exclusive?(attr); end # A bits of exclusive maps # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#74 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:74 def exclusive_bitmap; end # Processes +str+ converting attributes, HTML and regexp handlings # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#307 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:307 def flow(str); end # This maps HTML tags to the corresponding attribute char # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#58 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:58 def html_tags; end # Escapes regexp handling sequences of text to prevent conversion to RDoc # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#239 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:239 def mask_protected_sequences; end # This maps delimiters that occur around words (such as *bold* or +tt+) # where the start and end delimiters and the same. This lets us optimize # the regexp # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#47 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:47 def matching_word_pairs; end # A \ in front of a character that would normally be processed turns off # processing. We do this by turning \< into <#{PROTECT} # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#64 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:64 def protectable; end # And this maps _regexp handling_ sequences to a name. A regexp handling # sequence is something like a WikiWord # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#70 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:70 def regexp_handlings; end # Splits the string into chunks by attribute change # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#354 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:354 def split_into_flow; end # Unescapes regexp handling sequences of text # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#251 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:251 def unmask_protected_sequences; end # And this is used when the delimiters aren't the same. In this case the # hash maps a pattern to the attribute character # - # source://rdoc//lib/rdoc/markup/attribute_manager.rb#53 + # pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:53 def word_pair_map; end end -# source://rdoc//lib/rdoc/markup/attribute_manager.rb#147 +# pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:147 RDoc::Markup::AttributeManager::NON_PRINTING_END = T.let(T.unsafe(nil), String) -# source://rdoc//lib/rdoc/markup/attribute_manager.rb#146 +# pkg:gem/rdoc#lib/rdoc/markup/attribute_manager.rb:146 RDoc::Markup::AttributeManager::NON_PRINTING_START = T.let(T.unsafe(nil), String) # We manage a set of attributes. Each attribute has a symbol name and a bit # value. # -# source://rdoc//lib/rdoc/markup/attributes.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/attributes.rb:6 class RDoc::Markup::Attributes # Creates a new attributes set. # # @return [Attributes] a new instance of Attributes # - # source://rdoc//lib/rdoc/markup/attributes.rb#16 + # pkg:gem/rdoc#lib/rdoc/markup/attributes.rb:16 def initialize; end # Returns a string representation of +bitmap+ # - # source://rdoc//lib/rdoc/markup/attributes.rb#46 + # pkg:gem/rdoc#lib/rdoc/markup/attributes.rb:46 def as_string(bitmap); end # Returns a unique bit for +name+ # - # source://rdoc//lib/rdoc/markup/attributes.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/attributes.rb:29 def bitmap_for(name); end # yields each attribute name in +bitmap+ # - # source://rdoc//lib/rdoc/markup/attributes.rb#60 + # pkg:gem/rdoc#lib/rdoc/markup/attributes.rb:60 def each_name_of(bitmap); end # The regexp handling attribute type. See RDoc::Markup#add_regexp_handling # - # source://rdoc//lib/rdoc/markup/attributes.rb#11 + # pkg:gem/rdoc#lib/rdoc/markup/attributes.rb:11 def regexp_handling; end end # An empty line # -# source://rdoc//lib/rdoc/markup/blank_line.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/blank_line.rb:6 class RDoc::Markup::BlankLine < ::RDoc::Markup::Element # Calls #accept_blank_line on +visitor+ # - # source://rdoc//lib/rdoc/markup/blank_line.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/blank_line.rb:18 def accept(visitor); end - # source://rdoc//lib/rdoc/markup/blank_line.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/blank_line.rb:24 def pretty_print(q); end class << self # RDoc::Markup::BlankLine is a singleton # - # source://rdoc//lib/rdoc/markup/blank_line.rb#11 + # pkg:gem/rdoc#lib/rdoc/markup/blank_line.rb:11 def new; end end end # A quoted section which contains markup items. # -# source://rdoc//lib/rdoc/markup/block_quote.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/block_quote.rb:5 class RDoc::Markup::BlockQuote < ::RDoc::Markup::Raw # Calls #accept_block_quote on +visitor+ # - # source://rdoc//lib/rdoc/markup/block_quote.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/block_quote.rb:10 def accept(visitor); end end # A Document containing lists, headings, paragraphs, etc. # -# source://rdoc//lib/rdoc/markup/document.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/document.rb:5 class RDoc::Markup::Document include ::Enumerable @@ -5379,48 +5377,48 @@ class RDoc::Markup::Document # # @return [Document] a new instance of Document # - # source://rdoc//lib/rdoc/markup/document.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:29 def initialize(*parts); end # Appends +part+ to the document # - # source://rdoc//lib/rdoc/markup/document.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:40 def <<(part); end - # source://rdoc//lib/rdoc/markup/document.rb#56 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:56 def ==(other); end # Runs this document and all its #items through +visitor+ # - # source://rdoc//lib/rdoc/markup/document.rb#65 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:65 def accept(visitor); end # Concatenates the given +parts+ onto the document # - # source://rdoc//lib/rdoc/markup/document.rb#76 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:76 def concat(parts); end # Enumerator for the parts of this document # - # source://rdoc//lib/rdoc/markup/document.rb#83 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:83 def each(&block); end # Does this document have no parts? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/document.rb#90 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:90 def empty?; end # The file this document was created from. See also # RDoc::ClassModule#add_comment # - # source://rdoc//lib/rdoc/markup/document.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:13 def file; end # The file this Document was created from. # - # source://rdoc//lib/rdoc/markup/document.rb#97 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:97 def file=(location); end # When this is a collection of documents (#file is not set and this document @@ -5430,46 +5428,46 @@ class RDoc::Markup::Document # # The information in +other+ is preferred over the receiver # - # source://rdoc//lib/rdoc/markup/document.rb#114 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:114 def merge(other); end # Does this Document contain other Documents? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/document.rb#134 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:134 def merged?; end # If a heading is below the given level it will be omitted from the # table_of_contents # - # source://rdoc//lib/rdoc/markup/document.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:19 def omit_headings_below; end # If a heading is below the given level it will be omitted from the # table_of_contents # - # source://rdoc//lib/rdoc/markup/document.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:19 def omit_headings_below=(_arg0); end # The parts of the Document # - # source://rdoc//lib/rdoc/markup/document.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:24 def parts; end - # source://rdoc//lib/rdoc/markup/document.rb#138 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:138 def pretty_print(q); end # Appends +parts+ to the document # - # source://rdoc//lib/rdoc/markup/document.rb#151 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:151 def push(*parts); end # Returns an Array of headings in the document. # # Require 'rdoc/markup/formatter' before calling this method. # - # source://rdoc//lib/rdoc/markup/document.rb#160 + # pkg:gem/rdoc#lib/rdoc/markup/document.rb:160 def table_of_contents; end end @@ -5477,18 +5475,18 @@ end # # @abstract # -# source://rdoc//lib/rdoc/markup/element.rb#7 +# pkg:gem/rdoc#lib/rdoc/markup/element.rb:7 class RDoc::Markup::Element # @abstract # @raise [NotImplementedError] # - # source://rdoc//lib/rdoc/markup/element.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/element.rb:10 def accept(visitor); end # @abstract # @raise [NotImplementedError] # - # source://rdoc//lib/rdoc/markup/element.rb#16 + # pkg:gem/rdoc#lib/rdoc/markup/element.rb:16 def pretty_print(q); end end @@ -5502,63 +5500,63 @@ end # RDoc::Markup::FormatterTestCase. If you're writing a text-output formatter # use RDoc::Markup::TextFormatterTestCase which provides extra test cases. # -# source://rdoc//lib/rdoc/markup/formatter.rb#13 +# pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:13 class RDoc::Markup::Formatter # Creates a new Formatter # # @return [Formatter] a new instance of Formatter # - # source://rdoc//lib/rdoc/markup/formatter.rb#48 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:48 def initialize(options, markup = T.unsafe(nil)); end # Adds +document+ to the output # - # source://rdoc//lib/rdoc/markup/formatter.rb#69 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:69 def accept_document(document); end # Adds a regexp handling for links of the form rdoc-...: # - # source://rdoc//lib/rdoc/markup/formatter.rb#83 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:83 def add_regexp_handling_RDOCLINK; end # Adds a regexp handling for links of the form {}[] and # [] # - # source://rdoc//lib/rdoc/markup/formatter.rb#91 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:91 def add_regexp_handling_TIDYLINK; end # Add a new set of tags for an attribute. We allow separate start and end # tags for flexibility # - # source://rdoc//lib/rdoc/markup/formatter.rb#105 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:105 def add_tag(name, start, stop); end # Allows +tag+ to be decorated with additional information. # - # source://rdoc//lib/rdoc/markup/formatter.rb#113 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:113 def annotate(tag); end # Marks up +content+ # - # source://rdoc//lib/rdoc/markup/formatter.rb#120 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:120 def convert(content); end # Converts flow items +flow+ # - # source://rdoc//lib/rdoc/markup/formatter.rb#127 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:127 def convert_flow(flow); end # Converts added regexp handlings. See RDoc::Markup#add_regexp_handling # - # source://rdoc//lib/rdoc/markup/formatter.rb#150 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:150 def convert_regexp_handling(target); end # Converts a string to be fancier if desired # - # source://rdoc//lib/rdoc/markup/formatter.rb#176 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:176 def convert_string(string); end - # source://rdoc//lib/rdoc/markup/formatter.rb#225 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:225 def each_attr_tag(attr_mask, reverse = T.unsafe(nil)); end # Use ignore in your subclass to ignore the content of a node. @@ -5568,47 +5566,47 @@ class RDoc::Markup::Formatter # # alias accept_raw ignore # - # source://rdoc//lib/rdoc/markup/formatter.rb#188 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:188 def ignore(*node); end # Are we currently inside tt tags? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/formatter.rb#194 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:194 def in_tt?; end # Turns off tags for +item+ on +res+ # - # source://rdoc//lib/rdoc/markup/formatter.rb#218 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:218 def off_tags(res, item); end # Turns on tags for +item+ on +res+ # - # source://rdoc//lib/rdoc/markup/formatter.rb#208 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:208 def on_tags(res, item); end # Extracts and a scheme, url and an anchor id from +url+ and returns them. # - # source://rdoc//lib/rdoc/markup/formatter.rb#238 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:238 def parse_url(url); end # Is +tag+ a tt tag? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/formatter.rb#268 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:268 def tt?(tag); end # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/formatter.rb#198 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:198 def tt_tag?(attr_mask, reverse = T.unsafe(nil)); end class << self # Converts a target url to one that is relative to a given path # - # source://rdoc//lib/rdoc/markup/formatter.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:24 def gen_relative_url(path, target); end end end @@ -5616,13 +5614,13 @@ 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 +# pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def bit; end # Sets the attribute bit @@ -5630,14 +5628,14 @@ class RDoc::Markup::Formatter::InlineTag < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def off; end # Sets the attribute off @@ -5645,14 +5643,14 @@ class RDoc::Markup::Formatter::InlineTag < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def on; end # Sets the attribute on @@ -5660,46 +5658,46 @@ class RDoc::Markup::Formatter::InlineTag < ::Struct # @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 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def on=(_); end class << self - # source://rdoc//lib/rdoc/markup/formatter.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def [](*_arg0); end - # source://rdoc//lib/rdoc/markup/formatter.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def inspect; end - # source://rdoc//lib/rdoc/markup/formatter.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def keyword_init?; end - # source://rdoc//lib/rdoc/markup/formatter.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/formatter.rb:19 def members; end - # source://rdoc//lib/rdoc/markup/formatter.rb#19 + # pkg:gem/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#6 +# pkg:gem/rdoc#lib/rdoc/markup/hard_break.rb:6 class RDoc::Markup::HardBreak < ::RDoc::Markup::Element - # source://rdoc//lib/rdoc/markup/hard_break.rb#23 + # pkg:gem/rdoc#lib/rdoc/markup/hard_break.rb:23 def ==(other); end # Calls #accept_hard_break on +visitor+ # - # source://rdoc//lib/rdoc/markup/hard_break.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/hard_break.rb:18 def accept(visitor); end - # source://rdoc//lib/rdoc/markup/hard_break.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/hard_break.rb:29 def pretty_print(q); end class << self # RDoc::Markup::HardBreak is a singleton # - # source://rdoc//lib/rdoc/markup/hard_break.rb#11 + # pkg:gem/rdoc#lib/rdoc/markup/hard_break.rb:11 def new; end end end @@ -5716,55 +5714,55 @@ end # ## Heading 2 # ### Heading 3 # -# source://rdoc//lib/rdoc/markup/heading.rb#16 +# pkg:gem/rdoc#lib/rdoc/markup/heading.rb:16 class RDoc::Markup::Heading < ::RDoc::Markup::Element # @return [Heading] a new instance of Heading # - # source://rdoc//lib/rdoc/markup/heading.rb#47 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:47 def initialize(level, text); end - # source://rdoc//lib/rdoc/markup/heading.rb#55 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:55 def ==(other); end - # source://rdoc//lib/rdoc/markup/heading.rb#61 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:61 def accept(visitor); end # An HTML-safe anchor reference for this header. # - # source://rdoc//lib/rdoc/markup/heading.rb#67 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:67 def aref; end # Creates a fully-qualified label which will include the label from +context+. This helps keep ids unique in HTML. # - # source://rdoc//lib/rdoc/markup/heading.rb#73 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:73 def label(context = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markup/heading.rb#21 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:21 def level; end - # source://rdoc//lib/rdoc/markup/heading.rb#21 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:21 def level=(_arg0); end # HTML markup of the text of this label without the surrounding header element. # - # source://rdoc//lib/rdoc/markup/heading.rb#82 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:82 def plain_html; end - # source://rdoc//lib/rdoc/markup/heading.rb#94 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:94 def pretty_print(q); end - # source://rdoc//lib/rdoc/markup/heading.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:18 def text; end class << self # A singleton plain HTML formatter for headings. Used for creating labels for the Table of Contents # - # source://rdoc//lib/rdoc/markup/heading.rb#31 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:31 def to_html; end # A singleton RDoc::Markup::ToLabel formatter for headings. # - # source://rdoc//lib/rdoc/markup/heading.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/heading.rb:25 def to_label; end end end @@ -5774,76 +5772,76 @@ end # # This implementation in incomplete. # -# source://rdoc//lib/rdoc/markup/include.rb#8 +# pkg:gem/rdoc#lib/rdoc/markup/include.rb:8 class RDoc::Markup::Include # Creates a new include that will import +file+ from +include_path+ # # @return [Include] a new instance of Include # - # source://rdoc//lib/rdoc/markup/include.rb#23 + # pkg:gem/rdoc#lib/rdoc/markup/include.rb:23 def initialize(file, include_path); end - # source://rdoc//lib/rdoc/markup/include.rb#28 + # pkg:gem/rdoc#lib/rdoc/markup/include.rb:28 def ==(other); end # The filename to be included, without extension # - # source://rdoc//lib/rdoc/markup/include.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/include.rb:13 def file; end # Directories to search for #file # - # source://rdoc//lib/rdoc/markup/include.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/include.rb:18 def include_path; end - # source://rdoc//lib/rdoc/markup/include.rb#33 + # pkg:gem/rdoc#lib/rdoc/markup/include.rb:33 def pretty_print(q); end end # An Indented Paragraph of text # -# source://rdoc//lib/rdoc/markup/indented_paragraph.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/indented_paragraph.rb:5 class RDoc::Markup::IndentedParagraph < ::RDoc::Markup::Raw # Creates a new IndentedParagraph containing +parts+ indented with +indent+ # spaces # # @return [IndentedParagraph] a new instance of IndentedParagraph # - # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#16 + # pkg:gem/rdoc#lib/rdoc/markup/indented_paragraph.rb:16 def initialize(indent, *parts); end - # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#22 + # pkg:gem/rdoc#lib/rdoc/markup/indented_paragraph.rb:22 def ==(other); end # Calls #accept_indented_paragraph on +visitor+ # - # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/indented_paragraph.rb:29 def accept(visitor); end # The indent in number of spaces # - # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/indented_paragraph.rb:10 def indent; end # Joins the raw paragraph text and converts inline HardBreaks to the # +hard_break+ text followed by the indent. # - # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#37 + # pkg:gem/rdoc#lib/rdoc/markup/indented_paragraph.rb:37 def text(hard_break = T.unsafe(nil)); end end # Formatter dedicated to rendering tidy link labels without mutating the # calling formatter's state. # -# source://rdoc//lib/rdoc/markup/to_html.rb#599 +# pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:599 class RDoc::Markup::LinkLabelToHtml < ::RDoc::Markup::ToHtml # @return [LinkLabelToHtml] a new instance of LinkLabelToHtml # - # source://rdoc//lib/rdoc/markup/to_html.rb#604 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:604 def initialize(options, from_path = T.unsafe(nil)); end class << self - # source://rdoc//lib/rdoc/markup/to_html.rb#600 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:600 def render(label, options, from_path); end end end @@ -5869,62 +5867,62 @@ end # describe multiple terms. See RDoc::Markup::ListItem for how labels and # definition are stored as list items. # -# source://rdoc//lib/rdoc/markup/list.rb#24 +# pkg:gem/rdoc#lib/rdoc/markup/list.rb:24 class RDoc::Markup::List # Creates a new list of +type+ with +items+. Valid list types are: # +:BULLET+, +:LABEL+, +:LALPHA+, +:NOTE+, +:NUMBER+, +:UALPHA+ # # @return [List] a new instance of List # - # source://rdoc//lib/rdoc/markup/list.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:40 def initialize(type = T.unsafe(nil), *items); end # Appends +item+ to the list # - # source://rdoc//lib/rdoc/markup/list.rb#49 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:49 def <<(item); end - # source://rdoc//lib/rdoc/markup/list.rb#53 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:53 def ==(other); end # Runs this list and all its #items through +visitor+ # - # source://rdoc//lib/rdoc/markup/list.rb#62 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:62 def accept(visitor); end # Is the list empty? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/list.rb#75 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:75 def empty?; end # Items in the list # - # source://rdoc//lib/rdoc/markup/list.rb#34 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:34 def items; end # Returns the last item in the list # - # source://rdoc//lib/rdoc/markup/list.rb#82 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:82 def last; end - # source://rdoc//lib/rdoc/markup/list.rb#86 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:86 def pretty_print(q); end # Appends +items+ to the list # - # source://rdoc//lib/rdoc/markup/list.rb#97 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:97 def push(*items); end # The list's type # - # source://rdoc//lib/rdoc/markup/list.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:29 def type; end # The list's type # - # source://rdoc//lib/rdoc/markup/list.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/list.rb:29 def type=(_arg0); end end @@ -5937,77 +5935,77 @@ end # * an Array of Strings for a list item with multiple terms # * nil for an extra description attached to a previously labeled list item # -# source://rdoc//lib/rdoc/markup/list_item.rb#12 +# pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:12 class RDoc::Markup::ListItem # Creates a new ListItem with an optional +label+ containing +parts+ # # @return [ListItem] a new instance of ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#27 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:27 def initialize(label = T.unsafe(nil), *parts); end # Appends +part+ to the ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#36 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:36 def <<(part); end - # source://rdoc//lib/rdoc/markup/list_item.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:40 def ==(other); end # Runs this list item and all its #parts through +visitor+ # - # source://rdoc//lib/rdoc/markup/list_item.rb#49 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:49 def accept(visitor); end # Is the ListItem empty? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/list_item.rb#62 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:62 def empty?; end # The label for the ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:17 def label; end # The label for the ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:17 def label=(_arg0); end # Length of parts in the ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#69 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:69 def length; end # Parts of the ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#22 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:22 def parts; end - # source://rdoc//lib/rdoc/markup/list_item.rb#73 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:73 def pretty_print(q); end # Adds +parts+ to the ListItem # - # source://rdoc//lib/rdoc/markup/list_item.rb#95 + # pkg:gem/rdoc#lib/rdoc/markup/list_item.rb:95 def push(*parts); end end # A Paragraph of text # -# source://rdoc//lib/rdoc/markup/paragraph.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/paragraph.rb:5 class RDoc::Markup::Paragraph < ::RDoc::Markup::Raw # Calls #accept_paragraph on +visitor+ # - # source://rdoc//lib/rdoc/markup/paragraph.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/paragraph.rb:10 def accept(visitor); end # Joins the raw paragraph text and converts inline HardBreaks to the # +hard_break+ text. # - # source://rdoc//lib/rdoc/markup/paragraph.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/paragraph.rb:18 def text(hard_break = T.unsafe(nil)); end end @@ -6025,7 +6023,7 @@ end # To see what markup the Parser implements read RDoc. To see how to use # RDoc markup to format text in your program read RDoc::Markup. # -# source://rdoc//lib/rdoc/markup/parser.rb#19 +# pkg:gem/rdoc#lib/rdoc/markup/parser.rb:19 class RDoc::Markup::Parser include ::RDoc::Text @@ -6033,22 +6031,22 @@ class RDoc::Markup::Parser # # @return [Parser] a new instance of Parser # - # source://rdoc//lib/rdoc/markup/parser.rb#79 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:79 def initialize; end # Builds a Heading of +level+ # - # source://rdoc//lib/rdoc/markup/parser.rb#90 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:90 def build_heading(level); end # Builds a List flush to +margin+ # - # source://rdoc//lib/rdoc/markup/parser.rb#108 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:108 def build_list(margin); end # Builds a Paragraph that is flush to +margin+ # - # source://rdoc//lib/rdoc/markup/parser.rb#208 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:208 def build_paragraph(margin); end # Builds a Verbatim that is indented from +margin+. @@ -6058,22 +6056,22 @@ class RDoc::Markup::Parser # terminated by a newline. Blank lines always consist of a single newline # character, and there is never a single newline at the end of the verbatim. # - # source://rdoc//lib/rdoc/markup/parser.rb#243 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:243 def build_verbatim(margin); end # Enables display of debugging information # - # source://rdoc//lib/rdoc/markup/parser.rb#48 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:48 def debug; end # Enables display of debugging information # - # source://rdoc//lib/rdoc/markup/parser.rb#48 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:48 def debug=(_arg0); end # Pulls the next token from the stream. # - # source://rdoc//lib/rdoc/markup/parser.rb#327 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:327 def get; end # Parses the tokens into an array of RDoc::Markup::XXX objects, @@ -6084,22 +6082,22 @@ class RDoc::Markup::Parser # # Returns +parent+. # - # source://rdoc//lib/rdoc/markup/parser.rb#342 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:342 def parse(parent, indent = T.unsafe(nil)); end # Small hook that is overridden by RDoc::TomDoc # - # source://rdoc//lib/rdoc/markup/parser.rb#406 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:406 def parse_text(parent, indent); end # Returns the next token on the stream without modifying the stream # - # source://rdoc//lib/rdoc/markup/parser.rb#413 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:413 def peek_token; end # Creates the StringScanner # - # source://rdoc//lib/rdoc/markup/parser.rb#468 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:468 def setup_scanner(input); end # Skips the next token if its type is +token_type+. @@ -6108,24 +6106,24 @@ class RDoc::Markup::Parser # # @raise [ParseError] # - # source://rdoc//lib/rdoc/markup/parser.rb#477 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:477 def skip(token_type, error = T.unsafe(nil)); end # Turns text +input+ into a stream of tokens # - # source://rdoc//lib/rdoc/markup/parser.rb#488 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:488 def tokenize(input); end # Token accessor # - # source://rdoc//lib/rdoc/markup/parser.rb#53 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:53 def tokens; end # Returns the current token to the token stream # # @raise [Error] # - # source://rdoc//lib/rdoc/markup/parser.rb#578 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:578 def unget; end class << self @@ -6133,48 +6131,48 @@ class RDoc::Markup::Parser # # Use RDoc::Markup#parse instead of this method. # - # source://rdoc//lib/rdoc/markup/parser.rb#60 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:60 def parse(str); end # Returns a token stream for +str+, for testing # - # source://rdoc//lib/rdoc/markup/parser.rb#70 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:70 def tokenize(str); end end end # A simple wrapper of StringScanner that is aware of the current column and lineno # -# source://rdoc//lib/rdoc/markup/parser.rb#422 +# pkg:gem/rdoc#lib/rdoc/markup/parser.rb:422 class RDoc::Markup::Parser::MyStringScanner # :stopdoc: # # @return [MyStringScanner] a new instance of MyStringScanner # - # source://rdoc//lib/rdoc/markup/parser.rb#425 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:425 def initialize(input); end - # source://rdoc//lib/rdoc/markup/parser.rb#458 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:458 def [](i); end # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/parser.rb#450 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:450 def eos?; end - # source://rdoc//lib/rdoc/markup/parser.rb#454 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:454 def matched; end - # source://rdoc//lib/rdoc/markup/parser.rb#445 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:445 def newline!; end - # source://rdoc//lib/rdoc/markup/parser.rb#441 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:441 def pos; end - # source://rdoc//lib/rdoc/markup/parser.rb#430 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:430 def scan(re); end - # source://rdoc//lib/rdoc/markup/parser.rb#436 + # pkg:gem/rdoc#lib/rdoc/markup/parser.rb:436 def unscan(s); end end @@ -6192,20 +6190,20 @@ end # is attached to. See RDoc::Markup@Directives for the list of built-in # directives. # -# source://rdoc//lib/rdoc/markup/pre_process.rb#17 +# pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:17 class RDoc::Markup::PreProcess # Creates a new pre-processor for +input_file_name+ that will look for # included files in +include_path+ # # @return [PreProcess] a new instance of PreProcess # - # source://rdoc//lib/rdoc/markup/pre_process.rb#78 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:78 def initialize(input_file_name, include_path); end # Look for the given file in the directory containing the current file, # and then in each of the directories specified in the RDOC_INCLUDE path # - # source://rdoc//lib/rdoc/markup/pre_process.rb#332 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:332 def find_include_file(name); end # Look for directives in the given +text+. @@ -6222,7 +6220,7 @@ class RDoc::Markup::PreProcess # directive's parameter is set as metadata on the +code_object+. See # RDoc::CodeObject#metadata for details. # - # source://rdoc//lib/rdoc/markup/pre_process.rb#99 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:99 def handle(text, code_object = T.unsafe(nil), &block); end # Performs the actions described by +directive+ and its parameter +param+. @@ -6235,7 +6233,7 @@ class RDoc::Markup::PreProcess # -- # When 1.8.7 support is ditched prefix can be defaulted to '' # - # source://rdoc//lib/rdoc/markup/pre_process.rb#177 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:177 def handle_directive(prefix, directive, param, code_object = T.unsafe(nil), encoding = T.unsafe(nil)); end # Handles the :include: _filename_ directive. @@ -6252,34 +6250,34 @@ class RDoc::Markup::PreProcess # TODO shift left the whole file content in that case # TODO comment stop/start #-- and #++ in included file must be processed here # - # source://rdoc//lib/rdoc/markup/pre_process.rb#306 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:306 def include_file(name, indent, encoding); end # An RDoc::Options instance that will be filled in with overrides from # directives # - # source://rdoc//lib/rdoc/markup/pre_process.rb#23 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:23 def options; end # An RDoc::Options instance that will be filled in with overrides from # directives # - # source://rdoc//lib/rdoc/markup/pre_process.rb#23 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:23 def options=(_arg0); end # Parse comment and return [normalized_comment_text, directives_hash] # - # source://rdoc//lib/rdoc/markup/pre_process.rb#160 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:160 def parse_comment(text, line_no, type); end # Perform post preocesses to a code object # - # source://rdoc//lib/rdoc/markup/pre_process.rb#152 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:152 def run_post_processes(comment, code_object); end # Apply directives to a code object # - # source://rdoc//lib/rdoc/markup/pre_process.rb#138 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:138 def run_pre_processes(comment_text, code_object, start_line_no, type); end class << self @@ -6287,12 +6285,12 @@ class RDoc::Markup::PreProcess # with the result RDoc::Comment (or text String) and the code object for the # comment (if any). # - # source://rdoc//lib/rdoc/markup/pre_process.rb#30 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:30 def post_process(&block); end # Registered post-processors # - # source://rdoc//lib/rdoc/markup/pre_process.rb#37 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:37 def post_processors; end # Registers +directive+ as one handled by RDoc. If a block is given the @@ -6306,201 +6304,201 @@ class RDoc::Markup::PreProcess # # replace text, etc. # end # - # source://rdoc//lib/rdoc/markup/pre_process.rb#53 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:53 def register(directive, &block); end # Registered directives # - # source://rdoc//lib/rdoc/markup/pre_process.rb#60 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:60 def registered; end # Clears all registered directives and post-processors # - # source://rdoc//lib/rdoc/markup/pre_process.rb#67 + # pkg:gem/rdoc#lib/rdoc/markup/pre_process.rb:67 def reset; end end end # A section of text that is added to the output document as-is # -# source://rdoc//lib/rdoc/markup/raw.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/raw.rb:6 class RDoc::Markup::Raw # Creates a new Raw containing +parts+ # # @return [Raw] a new instance of Raw # - # source://rdoc//lib/rdoc/markup/raw.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:13 def initialize(*parts); end # Appends +text+ # - # source://rdoc//lib/rdoc/markup/raw.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:19 def <<(text); end - # source://rdoc//lib/rdoc/markup/raw.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:24 def ==(other); end # Calls #accept_raw+ on +visitor+ # - # source://rdoc//lib/rdoc/markup/raw.rb#31 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:31 def accept(visitor); end # Appends +other+'s parts # - # source://rdoc//lib/rdoc/markup/raw.rb#37 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:37 def merge(other); end # The component parts of the list # - # source://rdoc//lib/rdoc/markup/raw.rb#9 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:9 def parts; end - # source://rdoc//lib/rdoc/markup/raw.rb#43 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:43 def pretty_print(q); end # Appends +texts+ onto this Paragraph # - # source://rdoc//lib/rdoc/markup/raw.rb#55 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:55 def push(*texts); end # The raw text # - # source://rdoc//lib/rdoc/markup/raw.rb#61 + # pkg:gem/rdoc#lib/rdoc/markup/raw.rb:61 def text; end end # Hold details of a regexp handling sequence # -# source://rdoc//lib/rdoc/markup/regexp_handling.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:5 class RDoc::Markup::RegexpHandling # Creates a new regexp handling sequence of +type+ with +text+ # # @return [RegexpHandling] a new instance of RegexpHandling # - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#20 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:20 def initialize(type, text); end # Regexp handlings are equal when the have the same text and type # - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#27 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:27 def ==(o); end - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#31 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:31 def inspect; end # Regexp handling text # - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#15 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:15 def text; end # Regexp handling text # - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#15 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:15 def text=(_arg0); end - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#36 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:36 def to_s; end # Regexp handling type # - # source://rdoc//lib/rdoc/markup/regexp_handling.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/regexp_handling.rb:10 def type; end end # A horizontal rule with a weight # -# source://rdoc//lib/rdoc/markup/rule.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/rule.rb:5 class RDoc::Markup::Rule < ::Struct # Calls #accept_rule on +visitor+ # - # source://rdoc//lib/rdoc/markup/rule.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/rule.rb:10 def accept(visitor); end - # source://rdoc//lib/rdoc/markup/rule.rb#14 + # pkg:gem/rdoc#lib/rdoc/markup/rule.rb:14 def pretty_print(q); end end # A section of table # -# source://rdoc//lib/rdoc/markup/table.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/table.rb:6 class RDoc::Markup::Table < ::RDoc::Markup::Element # @return [Table] a new instance of Table # - # source://rdoc//lib/rdoc/markup/table.rb#20 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:20 def initialize(header, align, body); end - # source://rdoc//lib/rdoc/markup/table.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:25 def ==(other); end - # source://rdoc//lib/rdoc/markup/table.rb#32 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:32 def accept(visitor); end # Alignments of each column # - # source://rdoc//lib/rdoc/markup/table.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:13 def align; end # Alignments of each column # - # source://rdoc//lib/rdoc/markup/table.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:13 def align=(_arg0); end # Body texts of each column # - # source://rdoc//lib/rdoc/markup/table.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:17 def body; end # Body texts of each column # - # source://rdoc//lib/rdoc/markup/table.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:17 def body=(_arg0); end # Headers of each column # - # source://rdoc//lib/rdoc/markup/table.rb#9 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:9 def header; end # Headers of each column # - # source://rdoc//lib/rdoc/markup/table.rb#9 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:9 def header=(_arg0); end - # source://rdoc//lib/rdoc/markup/table.rb#38 + # pkg:gem/rdoc#lib/rdoc/markup/table.rb:38 def pretty_print(q); end end # Outputs RDoc markup with vibrant ANSI color! # -# source://rdoc//lib/rdoc/markup/to_ansi.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:5 class RDoc::Markup::ToAnsi < ::RDoc::Markup::ToRdoc # Creates a new ToAnsi visitor that is ready to output vibrant ANSI color! # # @return [ToAnsi] a new instance of ToAnsi # - # source://rdoc//lib/rdoc/markup/to_ansi.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:10 def initialize(markup = T.unsafe(nil)); end # Overrides indent width to ensure output lines up correctly. # - # source://rdoc//lib/rdoc/markup/to_ansi.rb#31 + # pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:31 def accept_list_item_end(list_item); end # Adds coloring to note and label list items # - # source://rdoc//lib/rdoc/markup/to_ansi.rb#55 + # pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:55 def accept_list_item_start(list_item); end - # source://rdoc//lib/rdoc/markup/to_ansi.rb#84 + # pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:84 def calculate_text_width(text); end # Maps attributes to ANSI sequences # - # source://rdoc//lib/rdoc/markup/to_ansi.rb#22 + # pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:22 def init_tags; end # Starts accepting with a reset screen # - # source://rdoc//lib/rdoc/markup/to_ansi.rb#91 + # pkg:gem/rdoc#lib/rdoc/markup/to_ansi.rb:91 def start_accepting; end end @@ -6509,53 +6507,53 @@ end # # This formatter won't work on 1.8.6 because it lacks String#chars. # -# source://rdoc//lib/rdoc/markup/to_bs.rb#8 +# pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:8 class RDoc::Markup::ToBs < ::RDoc::Markup::ToRdoc # Returns a new ToBs that is ready for hot backspace action! # # @return [ToBs] a new instance of ToBs # - # source://rdoc//lib/rdoc/markup/to_bs.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:13 def initialize(markup = T.unsafe(nil)); end # Makes heading text bold. # - # source://rdoc//lib/rdoc/markup/to_bs.rb#33 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:33 def accept_heading(heading); end # Prepares the visitor for consuming +list_item+ # - # source://rdoc//lib/rdoc/markup/to_bs.rb#46 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:46 def accept_list_item_start(list_item); end # Turns on or off regexp handling for +convert_string+ # - # source://rdoc//lib/rdoc/markup/to_bs.rb#75 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:75 def annotate(tag); end - # source://rdoc//lib/rdoc/markup/to_bs.rb#68 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:68 def calculate_text_width(text); end # Calls convert_string on the result of convert_regexp_handling # - # source://rdoc//lib/rdoc/markup/to_bs.rb#88 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:88 def convert_regexp_handling(target); end # Adds bold or underline mixed with backspaces # - # source://rdoc//lib/rdoc/markup/to_bs.rb#95 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:95 def convert_string(string); end # Sets a flag that is picked up by #annotate to do the right thing in # #convert_string # - # source://rdoc//lib/rdoc/markup/to_bs.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/to_bs.rb:24 def init_tags; end end # Outputs RDoc markup as HTML. # -# source://rdoc//lib/rdoc/markup/to_html.rb#8 +# pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:8 class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter include ::RDoc::Text @@ -6563,114 +6561,114 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter # # @return [ToHtml] a new instance of ToHtml # - # source://rdoc//lib/rdoc/markup/to_html.rb#46 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:46 def initialize(options, markup = T.unsafe(nil)); end # Adds +blank_line+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#297 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:297 def accept_blank_line(blank_line); end # Adds +block_quote+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#196 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:196 def accept_block_quote(block_quote); end # Adds +heading+ to the output. The headings greater than 6 are trimmed to # level 6. # - # source://rdoc//lib/rdoc/markup/to_html.rb#305 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:305 def accept_heading(heading); end # Finishes consumption of +list+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#268 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:268 def accept_list_end(list); end # Finishes consumption of +list_item+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#290 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:290 def accept_list_item_end(list_item); end # Prepares the visitor for consuming +list_item+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#279 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:279 def accept_list_item_start(list_item); end # Prepares the visitor for consuming +list+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#259 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:259 def accept_list_start(list); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#209 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:209 def accept_paragraph(paragraph); end # Adds +raw+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#328 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:328 def accept_raw(raw); end # Adds +rule+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#252 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:252 def accept_rule(rule); end # Adds +table+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#335 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:335 def accept_table(header, body, aligns); end # Adds +verbatim+ to the output # - # source://rdoc//lib/rdoc/markup/to_html.rb#222 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:222 def accept_verbatim(verbatim); end # The RDoc::CodeObject HTML is being generated for. This is used to # generate namespaced URI fragments # - # source://rdoc//lib/rdoc/markup/to_html.rb#34 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:34 def code_object; end # The RDoc::CodeObject HTML is being generated for. This is used to # generate namespaced URI fragments # - # source://rdoc//lib/rdoc/markup/to_html.rb#34 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:34 def code_object=(_arg0); end # CGI-escapes +text+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#360 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:360 def convert_string(text); end # Returns the generated output # - # source://rdoc//lib/rdoc/markup/to_html.rb#189 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:189 def end_accepting; end # Path to this document for relative links # - # source://rdoc//lib/rdoc/markup/to_html.rb#39 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:39 def from_path; end # Path to this document for relative links # - # source://rdoc//lib/rdoc/markup/to_html.rb#39 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:39 def from_path=(_arg0); end # Generate a link to +url+ with content +text+. Handles the special cases # for img: and link: described under handle_regexp_HYPERLINK # - # source://rdoc//lib/rdoc/markup/to_html.rb#368 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:368 def gen_url(url, text); end - # source://rdoc//lib/rdoc/markup/to_html.rb#86 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:86 def handle_RDOCLINK(url); end # +target+ is a
# - # source://rdoc//lib/rdoc/markup/to_html.rb#119 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:119 def handle_regexp_HARD_BREAK(target); end # +target+ is a potential link. The following schemes are handled: @@ -6684,7 +6682,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter # link::: # Reference to a local file relative to the output directory. # - # source://rdoc//lib/rdoc/markup/to_html.rb#135 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:135 def handle_regexp_HYPERLINK(target); end # +target+ is an rdoc-schemed link that will be converted into a hyperlink. @@ -6695,112 +6693,112 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter # For the +rdoc-label+ scheme the footnote and label prefixes are stripped # when creating a link. All other contents will be linked verbatim. # - # source://rdoc//lib/rdoc/markup/to_html.rb#150 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:150 def handle_regexp_RDOCLINK(target); end # This +target+ is a link where the label is different from the URL # label[url] or {long label}[url] # - # source://rdoc//lib/rdoc/markup/to_html.rb#158 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:158 def handle_regexp_TIDYLINK(target); end # Determines the HTML list element for +list_type+ and +open_tag+ # # @raise [RDoc::Error] # - # source://rdoc//lib/rdoc/markup/to_html.rb#393 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:393 def html_list_name(list_type, open_tag); end - # source://rdoc//lib/rdoc/markup/to_html.rb#27 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:27 def in_list_entry; end # Adds regexp handlings about link notations. # - # source://rdoc//lib/rdoc/markup/to_html.rb#81 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:81 def init_link_notation_regexp_handlings; end # Adds regexp handlings. # - # source://rdoc//lib/rdoc/markup/to_html.rb#71 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:71 def init_regexp_handlings; end # Maps attributes to HTML tags # - # source://rdoc//lib/rdoc/markup/to_html.rb#402 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:402 def init_tags; end - # source://rdoc//lib/rdoc/markup/to_html.rb#28 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:28 def list; end # Returns the HTML end-tag for +list_type+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#428 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:428 def list_end_for(list_type); end # Returns the HTML tag for +list_type+, possible using a label from # +list_item+ # - # source://rdoc//lib/rdoc/markup/to_html.rb#412 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:412 def list_item_start(list_item, list_type); end # Returns true if text is valid ruby syntax # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/to_html.rb#442 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:442 def parseable?(text); end - # source://rdoc//lib/rdoc/markup/to_html.rb#26 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:26 def res; end # Prepares the visitor for HTML generation # - # source://rdoc//lib/rdoc/markup/to_html.rb#180 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:180 def start_accepting; end # Converts +item+ to HTML using RDoc::Text#to_html # - # source://rdoc//lib/rdoc/markup/to_html.rb#456 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:456 def to_html(item); end private - # source://rdoc//lib/rdoc/markup/to_html.rb#482 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:482 def append_flow_fragment(res, fragment); end - # source://rdoc//lib/rdoc/markup/to_html.rb#488 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:488 def append_to_tidy_label(fragment); end - # source://rdoc//lib/rdoc/markup/to_html.rb#516 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:516 def convert_complete_tidy_link(text); end - # source://rdoc//lib/rdoc/markup/to_html.rb#462 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:462 def convert_flow(flow_items); end - # source://rdoc//lib/rdoc/markup/to_html.rb#532 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:532 def emit_tidy_link_fragment(res, fragment); end - # source://rdoc//lib/rdoc/markup/to_html.rb#555 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:555 def extract_tidy_link_parts(text); end - # source://rdoc//lib/rdoc/markup/to_html.rb#540 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:540 def finish_tidy_link(text); end - # source://rdoc//lib/rdoc/markup/to_html.rb#574 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:574 def off_tags(res, item); end - # source://rdoc//lib/rdoc/markup/to_html.rb#567 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:567 def on_tags(res, item); end - # source://rdoc//lib/rdoc/markup/to_html.rb#590 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:590 def render_tidy_link_label(label); end - # source://rdoc//lib/rdoc/markup/to_html.rb#581 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:581 def start_tidy_link(text); end # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/to_html.rb#586 + # pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:586 def tidy_link_capturing?; end end @@ -6809,7 +6807,7 @@ end # Capture 1: the single-word label (no whitespace). # Capture 2: URL text between the brackets. # -# source://rdoc//lib/rdoc/markup/to_html.rb#514 +# pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:514 RDoc::Markup::ToHtml::TIDY_LINK_SINGLE_WORD = T.let(T.unsafe(nil), Regexp) # Matches an entire tidy link with a braced label "{label}[url]". @@ -6818,7 +6816,7 @@ RDoc::Markup::ToHtml::TIDY_LINK_SINGLE_WORD = T.let(T.unsafe(nil), Regexp) # Capture 2: URL text. # Capture 3: trailing content. # -# source://rdoc//lib/rdoc/markup/to_html.rb#498 +# pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:498 RDoc::Markup::ToHtml::TIDY_LINK_WITH_BRACES = T.let(T.unsafe(nil), Regexp) # Matches the tail of a braced tidy link when the opening brace was @@ -6828,17 +6826,17 @@ RDoc::Markup::ToHtml::TIDY_LINK_WITH_BRACES = T.let(T.unsafe(nil), Regexp) # Capture 2: URL text. # Capture 3: trailing content. # -# source://rdoc//lib/rdoc/markup/to_html.rb#507 +# pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:507 RDoc::Markup::ToHtml::TIDY_LINK_WITH_BRACES_TAIL = T.let(T.unsafe(nil), Regexp) -# source://rdoc//lib/rdoc/markup/to_html.rb#66 +# pkg:gem/rdoc#lib/rdoc/markup/to_html.rb:66 RDoc::Markup::ToHtml::URL_CHARACTERS_REGEXP_STR = T.let(T.unsafe(nil), String) # Subclass of the RDoc::Markup::ToHtml class that supports looking up method # names, classes, etc to create links. RDoc::CrossReference is used to # generate those links based on the current context. # -# source://rdoc//lib/rdoc/markup/to_html_crossref.rb#7 +# pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:7 class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml # Creates a new crossref resolver that generates links relative to +context+ # which lives at +from_path+ in the generated files. '#' characters on @@ -6848,32 +6846,32 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml # @raise [ArgumentError] # @return [ToHtmlCrossref] a new instance of ToHtmlCrossref # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#32 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:32 def initialize(options, from_path, context, markup = T.unsafe(nil)); end # RDoc::CodeObject for generating references # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:19 def context; end # RDoc::CodeObject for generating references # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:19 def context=(_arg0); end - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#187 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:187 def convert_flow(flow_items, &block); end # Creates a link to the reference +name+ if the name exists. If +text+ is # given it is used as the link text, otherwise +name+ is used. # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#61 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:61 def cross_reference(name, text = T.unsafe(nil), code = T.unsafe(nil), rdoc_ref: T.unsafe(nil)); end # Generates links for rdoc-ref: scheme URLs and allows # RDoc::Markup::ToHtml to handle other schemes. # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#138 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:138 def gen_url(url, text); end # We're invoked when any text matches the CROSSREF pattern. If we find the @@ -6882,13 +6880,13 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml # example, ToHtml is found, even without the RDoc::Markup:: prefix, # because we look for it in module Markup first. # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#83 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:83 def handle_regexp_CROSSREF(target); end # Handles rdoc-ref: scheme links and allows RDoc::Markup::ToHtml to # handle other schemes. # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#104 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:104 def handle_regexp_HYPERLINK(target); end # +target+ is an rdoc-schemed link that will be converted into a hyperlink. @@ -6898,25 +6896,25 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml # All other contents are handled by # {the superclass}[rdoc-ref:RDoc::Markup::ToHtml#handle_regexp_RDOCLINK] # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#123 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:123 def handle_regexp_RDOCLINK(target); end - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#46 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:46 def init_link_notation_regexp_handlings; end # Creates an HTML link to +name+ with the given +text+. # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#150 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:150 def link(name, text, code = T.unsafe(nil), rdoc_ref: T.unsafe(nil)); end # Should we show '#' characters on method references? # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:24 def show_hash; end # Should we show '#' characters on method references? # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#24 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:24 def show_hash=(_arg0); end private @@ -6925,13 +6923,13 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml # When the candidate occupies the whole span (aside from trailing # punctuation), the tt markup is replaced by the resolved cross-reference. # - # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#231 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_crossref.rb:231 def convert_tt_crossref(flow_items, index); end end # Outputs RDoc markup as paragraphs with inline markup only. # -# source://rdoc//lib/rdoc/markup/to_html_snippet.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:5 class RDoc::Markup::ToHtmlSnippet < ::RDoc::Markup::ToHtml # Creates a new ToHtmlSnippet formatter that will cut off the input on the # next word boundary after the given number of +characters+ or +paragraphs+ @@ -6939,135 +6937,135 @@ class RDoc::Markup::ToHtmlSnippet < ::RDoc::Markup::ToHtml # # @return [ToHtmlSnippet] a new instance of ToHtmlSnippet # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#37 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:37 def initialize(options, characters = T.unsafe(nil), paragraphs = T.unsafe(nil), markup = T.unsafe(nil)); end # Adds +heading+ to the output as a paragraph # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#53 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:53 def accept_heading(heading); end # Finishes consumption of +list_item+ # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#85 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:85 def accept_list_item_end(list_item); end # Prepares the visitor for consuming +list_item+ # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#91 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:91 def accept_list_item_start(list_item); end # Prepares the visitor for consuming +list+ # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#98 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:98 def accept_list_start(list); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#72 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:72 def accept_paragraph(paragraph); end # Raw sections are untrusted and ignored # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#62 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:62 def accept_raw(*node); end # Rules are ignored # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#67 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:67 def accept_rule(*node); end # Adds +verbatim+ to the output # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#107 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:107 def accept_verbatim(verbatim); end # Throws +:done+ when paragraph_limit paragraphs have been encountered # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#198 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:198 def add_paragraph; end # After this many characters the input will be cut off. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:10 def character_limit; end # The number of characters seen so far. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#15 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:15 def characters; end # Marks up +content+ # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#207 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:207 def convert(content); end # Converts flow items +flow+ # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#218 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:218 def convert_flow(flow); end # Returns just the text of +link+, +url+ is only used to determine the link # type. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#171 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:171 def gen_url(url, text); end # Removes escaping from the cross-references in +target+ # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#131 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:131 def handle_regexp_CROSSREF(target); end # +target+ is a
# - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#138 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:138 def handle_regexp_HARD_BREAK(target); end # In snippets, there are no lists # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#191 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:191 def html_list_name(list_type, open_tag); end # Lists are paragraphs, but notes and labels have a separator # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#146 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:146 def list_item_start(list_item, list_type); end # The attribute bitmask # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#20 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:20 def mask; end # Maintains a bitmask to allow HTML elements to be closed properly. See # RDoc::Markup::Formatter. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#264 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:264 def off_tags(res, item); end # Maintains a bitmask to allow HTML elements to be closed properly. See # RDoc::Markup::Formatter. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#254 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:254 def on_tags(res, item); end # After this many paragraphs the input will be cut off. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:25 def paragraph_limit; end # Count of paragraphs found # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#30 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:30 def paragraphs; end # Prepares the visitor for HTML snippet generation # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#122 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:122 def start_accepting; end # Truncates +text+ at the end of the first word after the character_limit. # - # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#273 + # pkg:gem/rdoc#lib/rdoc/markup/to_html_snippet.rb:273 def truncate(text); end end @@ -7078,52 +7076,52 @@ end # This formatter only works on Paragraph instances. Attempting to process # other markup syntax items will not work. # -# source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#10 +# pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:10 class RDoc::Markup::ToJoinedParagraph < ::RDoc::Markup::Formatter # @return [ToJoinedParagraph] a new instance of ToJoinedParagraph # - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#12 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:12 def initialize; end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#35 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:35 def accept_block_quote(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#36 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:36 def accept_heading(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#37 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:37 def accept_list_end(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#38 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:38 def accept_list_item_end(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#39 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:39 def accept_list_item_start(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:40 def accept_list_start(*node); end # Converts the parts of +paragraph+ to a single entry. # - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:25 def accept_paragraph(paragraph); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#41 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:41 def accept_raw(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#42 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:42 def accept_rule(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#44 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:44 def accept_table(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#43 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:43 def accept_verbatim(*node); end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#19 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:19 def end_accepting; end - # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#16 + # pkg:gem/rdoc#lib/rdoc/markup/to_joined_paragraph.rb:16 def start_accepting; end end @@ -7131,615 +7129,615 @@ end # converted to their link part and cross-reference links have the suppression # marks removed (\\SomeClass is converted to SomeClass). # -# source://rdoc//lib/rdoc/markup/to_label.rb#10 +# pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:10 class RDoc::Markup::ToLabel < ::RDoc::Markup::Formatter # Creates a new formatter that will output HTML-safe labels # # @return [ToLabel] a new instance of ToLabel # - # source://rdoc//lib/rdoc/markup/to_label.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:17 def initialize(markup = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/markup/to_label.rb#60 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:60 def accept_blank_line(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#61 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:61 def accept_block_quote(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#62 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:62 def accept_heading(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#63 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:63 def accept_list_end(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#64 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:64 def accept_list_item_end(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#65 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:65 def accept_list_item_start(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#66 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:66 def accept_list_start(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#67 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:67 def accept_paragraph(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#68 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:68 def accept_raw(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#69 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:69 def accept_rule(*node); end - # source://rdoc//lib/rdoc/markup/to_label.rb#70 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:70 def accept_verbatim(*node); end # Converts +text+ to an HTML-safe label # - # source://rdoc//lib/rdoc/markup/to_label.rb#33 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:33 def convert(text); end - # source://rdoc//lib/rdoc/markup/to_label.rb#71 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:71 def end_accepting(*node); end # Converts the CROSSREF +target+ to plain text, removing the suppression # marker, if any # - # source://rdoc//lib/rdoc/markup/to_label.rb#43 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:43 def handle_regexp_CROSSREF(target); end - # source://rdoc//lib/rdoc/markup/to_label.rb#72 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:72 def handle_regexp_HARD_BREAK(*node); end # Converts the TIDYLINK +target+ to just the text part # - # source://rdoc//lib/rdoc/markup/to_label.rb#52 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:52 def handle_regexp_TIDYLINK(target); end - # source://rdoc//lib/rdoc/markup/to_label.rb#12 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:12 def res; end - # source://rdoc//lib/rdoc/markup/to_label.rb#73 + # pkg:gem/rdoc#lib/rdoc/markup/to_label.rb:73 def start_accepting(*node); end end # Outputs parsed markup as Markdown # -# source://rdoc//lib/rdoc/markup/to_markdown.rb#7 +# pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:7 class RDoc::Markup::ToMarkdown < ::RDoc::Markup::ToRdoc # Creates a new formatter that will output Markdown format text # # @return [ToMarkdown] a new instance of ToMarkdown # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#12 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:12 def initialize(markup = T.unsafe(nil)); end # Finishes consumption of `list` # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#47 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:47 def accept_list_end(list); end # Finishes consumption of `list_item` # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#54 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:54 def accept_list_item_end(list_item); end # Prepares the visitor for consuming `list_item` # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#75 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:75 def accept_list_item_start(list_item); end # Prepares the visitor for consuming `list` # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#100 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:100 def accept_list_start(list); end # Adds `rule` to the output # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#117 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:117 def accept_rule(rule); end # Outputs `verbatim` indented 4 columns # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#126 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:126 def accept_verbatim(verbatim); end # Creates a Markdown-style URL from +url+ with +text+. # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#140 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:140 def gen_url(url, text); end # Handles rdoc- type links for footnotes. # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#149 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:149 def handle_rdoc_link(url); end # Adds a newline to the output # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:40 def handle_regexp_HARD_BREAK(target); end # Converts the rdoc-...: links into a Markdown.style links. # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#187 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:187 def handle_regexp_RDOCLINK(target); end # Converts the RDoc markup tidylink into a Markdown.style link. # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#169 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:169 def handle_regexp_TIDYLINK(target); end # Maps attributes to HTML sequences # - # source://rdoc//lib/rdoc/markup/to_markdown.rb#31 + # pkg:gem/rdoc#lib/rdoc/markup/to_markdown.rb:31 def init_tags; end end # Outputs RDoc markup as RDoc markup! (mostly) # -# source://rdoc//lib/rdoc/markup/to_rdoc.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:5 class RDoc::Markup::ToRdoc < ::RDoc::Markup::Formatter # Creates a new formatter that will output (mostly) \RDoc markup # # @return [ToRdoc] a new instance of ToRdoc # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#55 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:55 def initialize(markup = T.unsafe(nil)); end # Adds +blank_line+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#78 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:78 def accept_blank_line(blank_line); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#85 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:85 def accept_block_quote(block_quote); end # Adds +heading+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#100 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:100 def accept_heading(heading); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#212 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:212 def accept_indented_paragraph(paragraph); end # Finishes consumption of +list+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#111 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:111 def accept_list_end(list); end # Finishes consumption of +list_item+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#120 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:120 def accept_list_item_end(list_item); end # Prepares the visitor for consuming +list_item+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#144 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:144 def accept_list_item_start(list_item); end # Prepares the visitor for consuming +list+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#177 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:177 def accept_list_start(list); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#204 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:204 def accept_paragraph(paragraph); end # Adds +raw+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#222 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:222 def accept_raw(raw); end # Adds +rule+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#229 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:229 def accept_rule(rule); end # Adds +table+ to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#252 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:252 def accept_table(header, body, aligns); end # Outputs +verbatim+ indented 2 columns # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#238 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:238 def accept_verbatim(verbatim); end # Applies attribute-specific markup to +text+ using RDoc::AttributeManager # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#288 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:288 def attributes(text); end - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#281 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:281 def calculate_text_width(text); end # Returns the generated output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#296 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:296 def end_accepting; end # Adds a newline to the output # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#312 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:312 def handle_regexp_HARD_BREAK(target); end # Removes preceding \\ from the suppressed crossref +target+ # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#303 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:303 def handle_regexp_SUPPRESSED_CROSSREF(target); end # Current indent amount for output in characters # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#20 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:20 def indent; end # Current indent amount for output in characters # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#20 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:20 def indent=(_arg0); end # Maps attributes to HTML sequences # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#69 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:69 def init_tags; end # Stack of current list indexes for alphabetic and numeric lists # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#30 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:30 def list_index; end # Stack of list types # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#35 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:35 def list_type; end # Stack of list widths for indentation # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#40 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:40 def list_width; end # Prefix for the next list item. See #use_prefix # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#45 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:45 def prefix; end # Output accumulator # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#50 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:50 def res; end # Prepares the visitor for text generation # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#319 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:319 def start_accepting; end # Adds the stored #prefix to the output and clears it. Lists generate a # prefix for later consumption. # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#333 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:333 def use_prefix; end # Output width in characters # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:25 def width; end # Output width in characters # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:25 def width=(_arg0); end # Wraps +text+ to #width # - # source://rdoc//lib/rdoc/markup/to_rdoc.rb#343 + # pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:343 def wrap(text); end end -# source://rdoc//lib/rdoc/markup/to_rdoc.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/to_rdoc.rb:6 RDoc::Markup::ToRdoc::DEFAULT_HEADINGS = T.let(T.unsafe(nil), Hash) # Extracts just the RDoc::Markup::Heading elements from a # RDoc::Markup::Document to help build a table of contents # -# source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:6 class RDoc::Markup::ToTableOfContents < ::RDoc::Markup::Formatter # @return [ToTableOfContents] a new instance of ToTableOfContents # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#27 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:27 def initialize; end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#77 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:77 def accept_blank_line(*node); end # :stopdoc: # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#74 + # pkg:gem/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 # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#36 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:36 def accept_document(document); end # Adds +heading+ to the table of contents # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#45 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:45 def accept_heading(heading); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#80 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:80 def accept_list_end(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#83 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:83 def accept_list_end_bullet(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#82 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:82 def accept_list_item_end(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#81 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:81 def accept_list_item_start(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#84 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:84 def accept_list_start(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#78 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:78 def accept_paragraph(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#75 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:75 def accept_raw(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#76 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:76 def accept_rule(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#85 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:85 def accept_table(*node); end - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#79 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:79 def accept_verbatim(*node); end # Returns the table of contents # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#52 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:52 def end_accepting; end # Omits headings with a level less than the given level. # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:25 def omit_headings_below; end # Omits headings with a level less than the given level. # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:25 def omit_headings_below=(_arg0); end # Output accumulator # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#20 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:20 def res; end # Prepares the visitor for text generation # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#59 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:59 def start_accepting; end # Returns true if +heading+ is below the display threshold # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#67 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:67 def suppressed?(heading); end class << self # Singleton for table-of-contents generation # - # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#13 + # pkg:gem/rdoc#lib/rdoc/markup/to_table_of_contents.rb:13 def to_toc; end end end # This Markup outputter is used for testing purposes. # -# source://rdoc//lib/rdoc/markup/to_test.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:5 class RDoc::Markup::ToTest < ::RDoc::Markup::Formatter - # source://rdoc//lib/rdoc/markup/to_test.rb#55 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:55 def accept_blank_line(blank_line); end - # source://rdoc//lib/rdoc/markup/to_test.rb#59 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:59 def accept_heading(heading); end - # source://rdoc//lib/rdoc/markup/to_test.rb#44 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:44 def accept_list_end(list); end - # source://rdoc//lib/rdoc/markup/to_test.rb#52 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:52 def accept_list_item_end(list_item); end - # source://rdoc//lib/rdoc/markup/to_test.rb#48 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:48 def accept_list_item_start(list_item); end - # source://rdoc//lib/rdoc/markup/to_test.rb#33 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:33 def accept_list_start(list); end - # source://rdoc//lib/rdoc/markup/to_test.rb#21 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:21 def accept_paragraph(paragraph); end - # source://rdoc//lib/rdoc/markup/to_test.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:25 def accept_raw(raw); end - # source://rdoc//lib/rdoc/markup/to_test.rb#63 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:63 def accept_rule(rule); end - # source://rdoc//lib/rdoc/markup/to_test.rb#29 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:29 def accept_verbatim(verbatim); end - # source://rdoc//lib/rdoc/markup/to_test.rb#17 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:17 def end_accepting; end # :section: Visitor # - # source://rdoc//lib/rdoc/markup/to_test.rb#12 + # pkg:gem/rdoc#lib/rdoc/markup/to_test.rb:12 def start_accepting; end end # Extracts sections of text enclosed in plus, tt or code. Used to discover # undocumented parameters. # -# source://rdoc//lib/rdoc/markup/to_tt_only.rb#6 +# pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:6 class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter # Creates a new tt-only formatter. # # @return [ToTtOnly] a new instance of ToTtOnly # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#21 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:21 def initialize(markup = T.unsafe(nil)); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#74 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:74 def accept_blank_line(markup_item); end # Adds tts from +block_quote+ to the output # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#30 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:30 def accept_block_quote(block_quote); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#75 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:75 def accept_heading(markup_item); end # Pops the list type for +list+ from #list_type # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#37 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:37 def accept_list_end(list); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#76 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:76 def accept_list_item_end(markup_item); end # Prepares the visitor for consuming +list_item+ # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#51 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:51 def accept_list_item_start(list_item); end # Pushes the list type for +list+ onto #list_type # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#44 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:44 def accept_list_start(list); end # Adds +paragraph+ to the output # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#63 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:63 def accept_paragraph(paragraph); end # Does nothing to +markup_item+ because it doesn't have any user-built # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#77 + # pkg:gem/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#78 + # pkg:gem/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#79 + # pkg:gem/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 # content # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:71 def do_nothing(markup_item); end # Returns an Array of items that were wrapped in plus, tt or code. # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#107 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:107 def end_accepting; end # Stack of list types # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#11 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:11 def list_type; end # Output accumulator # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#16 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:16 def res; end # Prepares the visitor for gathering tt sections # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#114 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:114 def start_accepting; end # Extracts tt sections from +text+ # - # source://rdoc//lib/rdoc/markup/to_tt_only.rb#84 + # pkg:gem/rdoc#lib/rdoc/markup/to_tt_only.rb:84 def tt_sections(text); end end # A section of verbatim text # -# source://rdoc//lib/rdoc/markup/verbatim.rb#5 +# pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:5 class RDoc::Markup::Verbatim < ::RDoc::Markup::Raw # @return [Verbatim] a new instance of Verbatim # - # source://rdoc//lib/rdoc/markup/verbatim.rb#12 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:12 def initialize(*parts); end - # source://rdoc//lib/rdoc/markup/verbatim.rb#18 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:18 def ==(other); end # Calls #accept_verbatim on +visitor+ # - # source://rdoc//lib/rdoc/markup/verbatim.rb#25 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:25 def accept(visitor); end # Format of this verbatim section # - # source://rdoc//lib/rdoc/markup/verbatim.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:10 def format; end # Format of this verbatim section # - # source://rdoc//lib/rdoc/markup/verbatim.rb#10 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:10 def format=(_arg0); end # Collapses 3+ newlines into two newlines # - # source://rdoc//lib/rdoc/markup/verbatim.rb#32 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:32 def normalize; end - # source://rdoc//lib/rdoc/markup/verbatim.rb#53 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:53 def pretty_print(q); end # Is this verbatim section Ruby code? # # @return [Boolean] # - # source://rdoc//lib/rdoc/markup/verbatim.rb#71 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:71 def ruby?; end # The text of the section # - # source://rdoc//lib/rdoc/markup/verbatim.rb#79 + # pkg:gem/rdoc#lib/rdoc/markup/verbatim.rb:79 def text; end end # Abstract class representing either a method or an attribute. # -# source://rdoc//lib/rdoc/code_object/method_attr.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:5 class RDoc::MethodAttr < ::RDoc::CodeObject include ::Comparable @@ -7750,15 +7748,15 @@ class RDoc::MethodAttr < ::RDoc::CodeObject # # @return [MethodAttr] a new instance of MethodAttr # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#72 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:72 def initialize(text, name, singleton: T.unsafe(nil)); end # Order by #singleton then #name # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#106 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:106 def <=>(other); end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#114 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:114 def ==(other); end # Abstract method. Contexts in their building phase call this @@ -7771,7 +7769,7 @@ class RDoc::MethodAttr < ::RDoc::CodeObject # # @raise [NotImplementedError] # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#202 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:202 def add_alias(an_alias, context); end # Prepend +src+ with line numbers. Relies on the first line of a source @@ -7782,50 +7780,50 @@ class RDoc::MethodAttr < ::RDoc::CodeObject # If it has this comment then line numbers are added to +src+ and the , # line dddd portion of the comment is removed. # - # source://rdoc//lib/rdoc/generator/markup.rb#89 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:89 def add_line_numbers(src); end # Array of other names for this method/attribute # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#32 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:32 def aliases; end # HTML fragment reference for this method # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#209 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:209 def aref; end # Prefix for +aref+, defined by subclasses. # # @raise [NotImplementedError] # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#218 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:218 def aref_prefix; end # The call_seq or the param_seq with method name, if there is no call_seq. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#64 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:64 def arglists; end # Parameters yielded by the called block # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#49 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:49 def block_params; end # Attempts to sanitize the content passed by the Ruby parser: # remove outer parentheses, etc. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#226 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:226 def block_params=(value); end # Different ways to call this method # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#59 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:59 def call_seq; end # Different ways to call this method # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#59 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:59 def call_seq=(_arg0); end # A method/attribute is documented if any of the following is true: @@ -7835,92 +7833,92 @@ class RDoc::MethodAttr < ::RDoc::CodeObject # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#125 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:125 def documented?; end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#171 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:171 def find_method_or_attribute(name); end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#159 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:159 def find_see; end # Full method/attribute name including namespace # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#294 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:294 def full_name; end # HTML id-friendly method/attribute name # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#284 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:284 def html_name; end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#98 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:98 def initialize_visibility; end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#298 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:298 def inspect; end # The method/attribute we're aliasing # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#37 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:37 def is_alias_for; end # The method/attribute we're aliasing # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#37 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:37 def is_alias_for=(_arg0); end # Turns the method's token stream into HTML. # # Prepends line numbers if +options.line_numbers+ is true. # - # source://rdoc//lib/rdoc/generator/markup.rb#113 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:113 def markup_code; end # Name of this method/attribute. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#12 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:12 def name; end # Name of this method/attribute. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#12 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:12 def name=(_arg0); end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#411 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:411 def name_ord_range; end # '::' for a class method/attribute, '#' for an instance method. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#313 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:313 def name_prefix; end # Parameters for this method # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#54 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:54 def params; end # Parameters for this method # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#54 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:54 def params=(_arg0); end # Name of our parent with special handling for un-marshaled methods # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#341 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:341 def parent_name; end # Path to this method for use with HTML generator output. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#334 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:334 def path; end # Method/attribute name with class/instance indicator # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#320 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:320 def pretty_name; end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#345 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:345 def pretty_print(q); end # Used by RDoc::Generator::JsonIndex to create a record for the search @@ -7929,12 +7927,12 @@ class RDoc::MethodAttr < ::RDoc::CodeObject # TODO: Remove this method after dropping the darkfish theme and JsonIndex generator. # Use #search_snippet instead for getting documentation snippets. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#382 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:382 def search_record; end # Returns an HTML snippet of the comment for search results. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#397 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:397 def search_snippet; end # A method/attribute to look at, @@ -7950,87 +7948,87 @@ class RDoc::MethodAttr < ::RDoc::CodeObject # Templates may generate a "see also ..." if this method/attribute # has documentation, and "see ..." if it does not. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#145 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:145 def see; end # Is this a singleton method/attribute? # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:22 def singleton; end # Is this a singleton method/attribute? # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:22 def singleton=(_arg0); end # Sets the store for this class or module and its contained code objects. # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#153 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:153 def store=(store); end # Source file token stream # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#27 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:27 def text; end - # source://rdoc//lib/rdoc/code_object/method_attr.rb#403 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:403 def to_s; end # Type of method/attribute (class or instance) # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#327 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:327 def type; end # public, protected, private # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#17 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:17 def visibility; end # public, protected, private # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#17 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:17 def visibility=(_arg0); end private # Resets cached data for the object so it can be rebuilt by accessor methods # - # source://rdoc//lib/rdoc/code_object/method_attr.rb#94 + # pkg:gem/rdoc#lib/rdoc/code_object/method_attr.rb:94 def initialize_copy(other); end end # A Mixin adds features from a module into another context. RDoc::Include and # RDoc::Extend are both mixins. # -# source://rdoc//lib/rdoc/code_object/mixin.rb#6 +# pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:6 class RDoc::Mixin < ::RDoc::CodeObject # Creates a new Mixin for +name+ with +comment+ # # @return [Mixin] a new instance of Mixin # - # source://rdoc//lib/rdoc/code_object/mixin.rb#16 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:16 def initialize(name, comment); end # Mixins are sorted by name # - # source://rdoc//lib/rdoc/code_object/mixin.rb#26 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:26 def <=>(other); end - # source://rdoc//lib/rdoc/code_object/mixin.rb#32 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:32 def ==(other); end - # source://rdoc//lib/rdoc/code_object/mixin.rb#36 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:36 def eql?(other); end # Full name based on #module # - # source://rdoc//lib/rdoc/code_object/mixin.rb#41 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:41 def full_name; end - # source://rdoc//lib/rdoc/code_object/mixin.rb#46 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:46 def hash; end - # source://rdoc//lib/rdoc/code_object/mixin.rb#50 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:50 def inspect; end # Attempts to locate the included module object. Returns the name if not @@ -8049,90 +8047,90 @@ class RDoc::Mixin < ::RDoc::CodeObject # # As of the beginning of October, 2011, no gem includes nonexistent modules. # - # source://rdoc//lib/rdoc/code_object/mixin.rb#75 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:75 def module; end # Name of included module # - # source://rdoc//lib/rdoc/code_object/mixin.rb#11 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:11 def name; end # Name of included module # - # source://rdoc//lib/rdoc/code_object/mixin.rb#11 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:11 def name=(_arg0); end # Sets the store for this class or module and its contained code objects. # - # source://rdoc//lib/rdoc/code_object/mixin.rb#110 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:110 def store=(store); end - # source://rdoc//lib/rdoc/code_object/mixin.rb#116 + # pkg:gem/rdoc#lib/rdoc/code_object/mixin.rb:116 def to_s; end end # A normal class, neither singleton nor anonymous # -# source://rdoc//lib/rdoc/code_object/normal_class.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:5 class RDoc::NormalClass < ::RDoc::ClassModule # The ancestors of this class including modules. Unlike Module#ancestors, # this class is not included in the result. The result will contain both # RDoc::ClassModules and Strings. # - # source://rdoc//lib/rdoc/code_object/normal_class.rb#12 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:12 def ancestors; end - # source://rdoc//lib/rdoc/code_object/normal_class.rb#24 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:24 def aref_prefix; end # The definition of this class, class MyClassName # - # source://rdoc//lib/rdoc/code_object/normal_class.rb#31 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:31 def definition; end - # source://rdoc//lib/rdoc/code_object/normal_class.rb#35 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:35 def direct_ancestors; end - # source://rdoc//lib/rdoc/code_object/normal_class.rb#39 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:39 def inspect; end - # source://rdoc//lib/rdoc/code_object/normal_class.rb#56 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:56 def pretty_print(q); end - # source://rdoc//lib/rdoc/code_object/normal_class.rb#47 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_class.rb:47 def to_s; end end # A normal module, like NormalClass # -# source://rdoc//lib/rdoc/code_object/normal_module.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:5 class RDoc::NormalModule < ::RDoc::ClassModule - # source://rdoc//lib/rdoc/code_object/normal_module.rb#7 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:7 def aref_prefix; end # The definition of this module, module MyModuleName # - # source://rdoc//lib/rdoc/code_object/normal_module.rb#21 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:21 def definition; end - # source://rdoc//lib/rdoc/code_object/normal_module.rb#11 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:11 def inspect; end # This is a module, returns true # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/normal_module.rb#28 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:28 def module?; end - # source://rdoc//lib/rdoc/code_object/normal_module.rb#32 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:32 def pretty_print(q); end # Modules don't have one, raises NoMethodError # # @raise [NoMethodError] # - # source://rdoc//lib/rdoc/code_object/normal_module.rb#69 + # pkg:gem/rdoc#lib/rdoc/code_object/normal_module.rb:69 def superclass; end end @@ -8205,165 +8203,165 @@ end # Float, TrueClass, FalseClass, Array, Regexp, Date, Time, URI, etc.), # RDoc::Options adds Path, PathArray and Template. # -# source://rdoc//lib/rdoc/options.rb#75 +# pkg:gem/rdoc#lib/rdoc/options.rb:75 class RDoc::Options # @return [Options] a new instance of Options # - # source://rdoc//lib/rdoc/options.rb#396 + # pkg:gem/rdoc#lib/rdoc/options.rb:396 def initialize(loaded_options = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/options.rb#530 + # pkg:gem/rdoc#lib/rdoc/options.rb:530 def ==(other); end # Exclude the default patterns as well if true. # - # source://rdoc//lib/rdoc/options.rb#360 + # pkg:gem/rdoc#lib/rdoc/options.rb:360 def apply_default_exclude; end # Words to be ignored in autolink cross-references # - # source://rdoc//lib/rdoc/options.rb#364 + # pkg:gem/rdoc#lib/rdoc/options.rb:364 def autolink_excluded_words; end # Words to be ignored in autolink cross-references # - # source://rdoc//lib/rdoc/options.rb#364 + # pkg:gem/rdoc#lib/rdoc/options.rb:364 def autolink_excluded_words=(_arg0); end # The preferred root URL for the documentation # - # source://rdoc//lib/rdoc/options.rb#379 + # pkg:gem/rdoc#lib/rdoc/options.rb:379 def canonical_root; end # The preferred root URL for the documentation # - # source://rdoc//lib/rdoc/options.rb#379 + # pkg:gem/rdoc#lib/rdoc/options.rb:379 def canonical_root=(_arg0); end # Character-set for HTML output. #encoding is preferred over #charset # - # source://rdoc//lib/rdoc/options.rb#152 + # pkg:gem/rdoc#lib/rdoc/options.rb:152 def charset; end # Character-set for HTML output. #encoding is preferred over #charset # - # source://rdoc//lib/rdoc/options.rb#152 + # pkg:gem/rdoc#lib/rdoc/options.rb:152 def charset=(_arg0); end # Check that the files on the command line exist # - # source://rdoc//lib/rdoc/options.rb#557 + # pkg:gem/rdoc#lib/rdoc/options.rb:557 def check_files; end # Ensure only one generator is loaded # - # source://rdoc//lib/rdoc/options.rb#578 + # pkg:gem/rdoc#lib/rdoc/options.rb:578 def check_generator; end # The prefix to use for class and module page paths # - # source://rdoc//lib/rdoc/options.rb#369 + # pkg:gem/rdoc#lib/rdoc/options.rb:369 def class_module_path_prefix; end # The prefix to use for class and module page paths # - # source://rdoc//lib/rdoc/options.rb#369 + # pkg:gem/rdoc#lib/rdoc/options.rb:369 def class_module_path_prefix=(_arg0); end # If true, only report on undocumented files # - # source://rdoc//lib/rdoc/options.rb#244 + # pkg:gem/rdoc#lib/rdoc/options.rb:244 def coverage_report; end # If true, only report on undocumented files # - # source://rdoc//lib/rdoc/options.rb#244 + # pkg:gem/rdoc#lib/rdoc/options.rb:244 def coverage_report=(_arg0); end # Set the title, but only if not already set. Used to set the title # from a source file, so that a title set from the command line # will have the priority. # - # source://rdoc//lib/rdoc/options.rb#590 + # pkg:gem/rdoc#lib/rdoc/options.rb:590 def default_title=(string); end # If true, RDoc will not write any files. # - # source://rdoc//lib/rdoc/options.rb#157 + # pkg:gem/rdoc#lib/rdoc/options.rb:157 def dry_run; end # If true, RDoc will not write any files. # - # source://rdoc//lib/rdoc/options.rb#157 + # pkg:gem/rdoc#lib/rdoc/options.rb:157 def dry_run=(_arg0); end # Embed mixin methods, attributes, and constants into class documentation. Set via # +--[no-]embed-mixins+ (Default is +false+.) # - # source://rdoc//lib/rdoc/options.rb#356 + # pkg:gem/rdoc#lib/rdoc/options.rb:356 def embed_mixins; end # Embed mixin methods, attributes, and constants into class documentation. Set via # +--[no-]embed-mixins+ (Default is +false+.) # - # source://rdoc//lib/rdoc/options.rb#356 + # pkg:gem/rdoc#lib/rdoc/options.rb:356 def embed_mixins=(_arg0); end # The output encoding. All input files will be transcoded to this encoding. # # The default encoding is UTF-8. This is set via --encoding. # - # source://rdoc//lib/rdoc/options.rb#164 + # pkg:gem/rdoc#lib/rdoc/options.rb:164 def encoding; end # The output encoding. All input files will be transcoded to this encoding. # # The default encoding is UTF-8. This is set via --encoding. # - # source://rdoc//lib/rdoc/options.rb#164 + # pkg:gem/rdoc#lib/rdoc/options.rb:164 def encoding=(_arg0); end # Create a regexp for #exclude # - # source://rdoc//lib/rdoc/options.rb#618 + # pkg:gem/rdoc#lib/rdoc/options.rb:618 def exclude; end # Files matching this pattern will be excluded # - # source://rdoc//lib/rdoc/options.rb#169 + # pkg:gem/rdoc#lib/rdoc/options.rb:169 def exclude=(_arg0); end # The prefix to use for file page paths # - # source://rdoc//lib/rdoc/options.rb#374 + # pkg:gem/rdoc#lib/rdoc/options.rb:374 def file_path_prefix; end # The prefix to use for file page paths # - # source://rdoc//lib/rdoc/options.rb#374 + # pkg:gem/rdoc#lib/rdoc/options.rb:374 def file_path_prefix=(_arg0); end # The list of files to be processed # - # source://rdoc//lib/rdoc/options.rb#174 + # pkg:gem/rdoc#lib/rdoc/options.rb:174 def files; end # The list of files to be processed # - # source://rdoc//lib/rdoc/options.rb#174 + # pkg:gem/rdoc#lib/rdoc/options.rb:174 def files=(_arg0); end # Completes any unfinished option setup business such as filtering for # existent files, creating a regexp for #exclude and setting a default # #template. # - # source://rdoc//lib/rdoc/options.rb#636 + # pkg:gem/rdoc#lib/rdoc/options.rb:636 def finish; end # Fixes the page_dir to be relative to the root_dir and adds the page_dir to # the files list. # - # source://rdoc//lib/rdoc/options.rb#677 + # pkg:gem/rdoc#lib/rdoc/options.rb:677 def finish_page_dir; end # Custom footer content configuration for themes that support it. @@ -8378,7 +8376,7 @@ class RDoc::Options # "RESOURCES" => {"RDoc" => "https://ruby.github.io/rdoc/", "GitHub" => "https://github.com/ruby/rdoc"} # } # - # source://rdoc//lib/rdoc/options.rb#394 + # pkg:gem/rdoc#lib/rdoc/options.rb:394 def footer_content; end # Custom footer content configuration for themes that support it. @@ -8393,244 +8391,244 @@ class RDoc::Options # "RESOURCES" => {"RDoc" => "https://ruby.github.io/rdoc/", "GitHub" => "https://github.com/ruby/rdoc"} # } # - # source://rdoc//lib/rdoc/options.rb#394 + # pkg:gem/rdoc#lib/rdoc/options.rb:394 def footer_content=(_arg0); end # Create the output even if the output directory does not look # like an rdoc output directory # - # source://rdoc//lib/rdoc/options.rb#180 + # pkg:gem/rdoc#lib/rdoc/options.rb:180 def force_output; end # Create the output even if the output directory does not look # like an rdoc output directory # - # source://rdoc//lib/rdoc/options.rb#180 + # pkg:gem/rdoc#lib/rdoc/options.rb:180 def force_output=(_arg0); end # Scan newer sources than the flag file if true. # - # source://rdoc//lib/rdoc/options.rb#185 + # pkg:gem/rdoc#lib/rdoc/options.rb:185 def force_update; end # Scan newer sources than the flag file if true. # - # source://rdoc//lib/rdoc/options.rb#185 + # pkg:gem/rdoc#lib/rdoc/options.rb:185 def force_update=(_arg0); end # Formatter to mark up text with # - # source://rdoc//lib/rdoc/options.rb#190 + # pkg:gem/rdoc#lib/rdoc/options.rb:190 def formatter; end # Formatter to mark up text with # - # source://rdoc//lib/rdoc/options.rb#190 + # pkg:gem/rdoc#lib/rdoc/options.rb:190 def formatter=(_arg0); end # Description of the output generator (set with the --format option) # - # source://rdoc//lib/rdoc/options.rb#195 + # pkg:gem/rdoc#lib/rdoc/options.rb:195 def generator; end # Description of the output generator (set with the --format option) # - # source://rdoc//lib/rdoc/options.rb#195 + # pkg:gem/rdoc#lib/rdoc/options.rb:195 def generator=(_arg0); end # Returns a properly-space list of generators and their descriptions. # - # source://rdoc//lib/rdoc/options.rb#696 + # pkg:gem/rdoc#lib/rdoc/options.rb:696 def generator_descriptions; end # For #== # - # source://rdoc//lib/rdoc/options.rb#200 + # pkg:gem/rdoc#lib/rdoc/options.rb:200 def generator_name; end # Loaded generator options. Used to prevent --help from loading the same # options multiple times. # - # source://rdoc//lib/rdoc/options.rb#206 + # pkg:gem/rdoc#lib/rdoc/options.rb:206 def generator_options; end # Loaded generator options. Used to prevent --help from loading the same # options multiple times. # - # source://rdoc//lib/rdoc/options.rb#206 + # pkg:gem/rdoc#lib/rdoc/options.rb:206 def generator_options=(_arg0); end # Old rdoc behavior: hyperlink all words that match a method name, # even if not preceded by '#' or '::' # - # source://rdoc//lib/rdoc/options.rb#212 + # pkg:gem/rdoc#lib/rdoc/options.rb:212 def hyperlink_all; end # Old rdoc behavior: hyperlink all words that match a method name, # even if not preceded by '#' or '::' # - # source://rdoc//lib/rdoc/options.rb#212 + # pkg:gem/rdoc#lib/rdoc/options.rb:212 def hyperlink_all=(_arg0); end - # source://rdoc//lib/rdoc/options.rb#406 + # pkg:gem/rdoc#lib/rdoc/options.rb:406 def init_ivars; end - # source://rdoc//lib/rdoc/options.rb#455 + # pkg:gem/rdoc#lib/rdoc/options.rb:455 def init_with(map); end # Include line numbers in the source code # - # source://rdoc//lib/rdoc/options.rb#217 + # pkg:gem/rdoc#lib/rdoc/options.rb:217 def line_numbers; end # Include line numbers in the source code # - # source://rdoc//lib/rdoc/options.rb#217 + # pkg:gem/rdoc#lib/rdoc/options.rb:217 def line_numbers=(_arg0); end # The output locale. # - # source://rdoc//lib/rdoc/options.rb#222 + # pkg:gem/rdoc#lib/rdoc/options.rb:222 def locale; end # The output locale. # - # source://rdoc//lib/rdoc/options.rb#222 + # pkg:gem/rdoc#lib/rdoc/options.rb:222 def locale=(_arg0); end # The directory where locale data live. # - # source://rdoc//lib/rdoc/options.rb#227 + # pkg:gem/rdoc#lib/rdoc/options.rb:227 def locale_dir; end # The directory where locale data live. # - # source://rdoc//lib/rdoc/options.rb#227 + # pkg:gem/rdoc#lib/rdoc/options.rb:227 def locale_dir=(_arg0); end # Name of the file, class or module to display in the initial index page (if # not specified the first file we encounter is used) # - # source://rdoc//lib/rdoc/options.rb#233 + # pkg:gem/rdoc#lib/rdoc/options.rb:233 def main_page; end # Name of the file, class or module to display in the initial index page (if # not specified the first file we encounter is used) # - # source://rdoc//lib/rdoc/options.rb#233 + # pkg:gem/rdoc#lib/rdoc/options.rb:233 def main_page=(_arg0); end # The markup format. # One of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. # See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. # - # source://rdoc//lib/rdoc/options.rb#239 + # pkg:gem/rdoc#lib/rdoc/options.rb:239 def markup; end # The markup format. # One of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. # See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. # - # source://rdoc//lib/rdoc/options.rb#239 + # pkg:gem/rdoc#lib/rdoc/options.rb:239 def markup=(_arg0); end # The name of the output directory # - # source://rdoc//lib/rdoc/options.rb#249 + # pkg:gem/rdoc#lib/rdoc/options.rb:249 def op_dir; end # The name of the output directory # - # source://rdoc//lib/rdoc/options.rb#249 + # pkg:gem/rdoc#lib/rdoc/options.rb:249 def op_dir=(_arg0); end # The OptionParser for this instance # - # source://rdoc//lib/rdoc/options.rb#254 + # pkg:gem/rdoc#lib/rdoc/options.rb:254 def option_parser; end # The OptionParser for this instance # - # source://rdoc//lib/rdoc/options.rb#254 + # pkg:gem/rdoc#lib/rdoc/options.rb:254 def option_parser=(_arg0); end # Output heading decorations? # - # source://rdoc//lib/rdoc/options.rb#258 + # pkg:gem/rdoc#lib/rdoc/options.rb:258 def output_decoration; end # Output heading decorations? # - # source://rdoc//lib/rdoc/options.rb#258 + # pkg:gem/rdoc#lib/rdoc/options.rb:258 def output_decoration=(_arg0); end - # source://rdoc//lib/rdoc/options.rb#491 + # pkg:gem/rdoc#lib/rdoc/options.rb:491 def override(map); end # Directory where guides, FAQ, and other pages not associated with a class # live. You may leave this unset if these are at the root of your project. # - # source://rdoc//lib/rdoc/options.rb#264 + # pkg:gem/rdoc#lib/rdoc/options.rb:264 def page_dir; end # Directory where guides, FAQ, and other pages not associated with a class # live. You may leave this unset if these are at the root of your project. # - # source://rdoc//lib/rdoc/options.rb#264 + # pkg:gem/rdoc#lib/rdoc/options.rb:264 def page_dir=(_arg0); end # Parses command line options. # - # source://rdoc//lib/rdoc/options.rb#722 + # pkg:gem/rdoc#lib/rdoc/options.rb:722 def parse(argv); end # Is RDoc in pipe mode? # - # source://rdoc//lib/rdoc/options.rb#269 + # pkg:gem/rdoc#lib/rdoc/options.rb:269 def pipe; end # Is RDoc in pipe mode? # - # source://rdoc//lib/rdoc/options.rb#269 + # pkg:gem/rdoc#lib/rdoc/options.rb:269 def pipe=(_arg0); end # Don't display progress as we process the files # - # source://rdoc//lib/rdoc/options.rb#1288 + # pkg:gem/rdoc#lib/rdoc/options.rb:1288 def quiet; end # Set quietness to +bool+ # - # source://rdoc//lib/rdoc/options.rb#1295 + # pkg:gem/rdoc#lib/rdoc/options.rb:1295 def quiet=(bool); end # Array of directories to search for files to satisfy an :include: # - # source://rdoc//lib/rdoc/options.rb#274 + # pkg:gem/rdoc#lib/rdoc/options.rb:274 def rdoc_include; end # Array of directories to search for files to satisfy an :include: # - # source://rdoc//lib/rdoc/options.rb#274 + # pkg:gem/rdoc#lib/rdoc/options.rb:274 def rdoc_include=(_arg0); end # Root of the source documentation will be generated for. Set this when # building documentation outside the source directory. Defaults to the # current directory. # - # source://rdoc//lib/rdoc/options.rb#281 + # pkg:gem/rdoc#lib/rdoc/options.rb:281 def root; end # Root of the source documentation will be generated for. Set this when # building documentation outside the source directory. Defaults to the # current directory. # - # source://rdoc//lib/rdoc/options.rb#281 + # pkg:gem/rdoc#lib/rdoc/options.rb:281 def root=(_arg0); end # Removes directories from +path+ that are outside the current directory # - # source://rdoc//lib/rdoc/options.rb#1302 + # pkg:gem/rdoc#lib/rdoc/options.rb:1302 def sanitize_path(path); end # Set up an output generator for the named +generator_name+. @@ -8639,117 +8637,117 @@ class RDoc::Options # the options instance. This allows generators to add custom options or set # default options. # - # source://rdoc//lib/rdoc/options.rb#1329 + # pkg:gem/rdoc#lib/rdoc/options.rb:1329 def setup_generator(generator_name = T.unsafe(nil)); end # Include the '#' at the front of hyperlinked instance method names # - # source://rdoc//lib/rdoc/options.rb#286 + # pkg:gem/rdoc#lib/rdoc/options.rb:286 def show_hash; end # Include the '#' at the front of hyperlinked instance method names # - # source://rdoc//lib/rdoc/options.rb#286 + # pkg:gem/rdoc#lib/rdoc/options.rb:286 def show_hash=(_arg0); end # Indicates if files of test suites should be skipped # - # source://rdoc//lib/rdoc/options.rb#351 + # pkg:gem/rdoc#lib/rdoc/options.rb:351 def skip_tests; end # Indicates if files of test suites should be skipped # - # source://rdoc//lib/rdoc/options.rb#351 + # pkg:gem/rdoc#lib/rdoc/options.rb:351 def skip_tests=(_arg0); end # Directory to copy static files from # - # source://rdoc//lib/rdoc/options.rb#291 + # pkg:gem/rdoc#lib/rdoc/options.rb:291 def static_path; end # Directory to copy static files from # - # source://rdoc//lib/rdoc/options.rb#291 + # pkg:gem/rdoc#lib/rdoc/options.rb:291 def static_path=(_arg0); end # The number of columns in a tab # - # source://rdoc//lib/rdoc/options.rb#296 + # pkg:gem/rdoc#lib/rdoc/options.rb:296 def tab_width; end # The number of columns in a tab # - # source://rdoc//lib/rdoc/options.rb#296 + # pkg:gem/rdoc#lib/rdoc/options.rb:296 def tab_width=(_arg0); end # Template to be used when generating output # - # source://rdoc//lib/rdoc/options.rb#301 + # pkg:gem/rdoc#lib/rdoc/options.rb:301 def template; end # Template to be used when generating output # - # source://rdoc//lib/rdoc/options.rb#301 + # pkg:gem/rdoc#lib/rdoc/options.rb:301 def template=(_arg0); end # Directory the template lives in # - # source://rdoc//lib/rdoc/options.rb#306 + # pkg:gem/rdoc#lib/rdoc/options.rb:306 def template_dir; end # Directory the template lives in # - # source://rdoc//lib/rdoc/options.rb#306 + # pkg:gem/rdoc#lib/rdoc/options.rb:306 def template_dir=(_arg0); end # Finds the template dir for +template+ # - # source://rdoc//lib/rdoc/options.rb#1351 + # pkg:gem/rdoc#lib/rdoc/options.rb:1351 def template_dir_for(template); end # Additional template stylesheets # - # source://rdoc//lib/rdoc/options.rb#311 + # pkg:gem/rdoc#lib/rdoc/options.rb:311 def template_stylesheets; end # Additional template stylesheets # - # source://rdoc//lib/rdoc/options.rb#311 + # pkg:gem/rdoc#lib/rdoc/options.rb:311 def template_stylesheets=(_arg0); end # Documentation title # - # source://rdoc//lib/rdoc/options.rb#316 + # pkg:gem/rdoc#lib/rdoc/options.rb:316 def title; end # Documentation title # - # source://rdoc//lib/rdoc/options.rb#316 + # pkg:gem/rdoc#lib/rdoc/options.rb:316 def title=(_arg0); end # For dumping YAML # - # source://rdoc//lib/rdoc/options.rb#597 + # pkg:gem/rdoc#lib/rdoc/options.rb:597 def to_yaml(*options); end # Should RDoc update the timestamps in the output dir? # - # source://rdoc//lib/rdoc/options.rb#321 + # pkg:gem/rdoc#lib/rdoc/options.rb:321 def update_output_dir; end # Should RDoc update the timestamps in the output dir? # - # source://rdoc//lib/rdoc/options.rb#321 + # pkg:gem/rdoc#lib/rdoc/options.rb:321 def update_output_dir=(_arg0); end # Verbosity, zero means quiet # - # source://rdoc//lib/rdoc/options.rb#326 + # pkg:gem/rdoc#lib/rdoc/options.rb:326 def verbosity; end # Verbosity, zero means quiet # - # source://rdoc//lib/rdoc/options.rb#326 + # pkg:gem/rdoc#lib/rdoc/options.rb:326 def verbosity=(_arg0); end # Minimum visibility of a documented method. One of +:public+, +:protected+, @@ -8758,7 +8756,7 @@ class RDoc::Options # The +:nodoc+ visibility ignores all directives related to visibility. The # directive. # - # source://rdoc//lib/rdoc/options.rb#347 + # pkg:gem/rdoc#lib/rdoc/options.rb:347 def visibility; end # Sets the minimum visibility of a documented method. @@ -8768,43 +8766,43 @@ class RDoc::Options # When +:all+ is passed, visibility is set to +:private+, similarly to # RDOCOPT="--all", see #visibility for more information. # - # source://rdoc//lib/rdoc/options.rb#1368 + # pkg:gem/rdoc#lib/rdoc/options.rb:1368 def visibility=(visibility); end # Displays a warning using Kernel#warn if we're being verbose # - # source://rdoc//lib/rdoc/options.rb#1380 + # pkg:gem/rdoc#lib/rdoc/options.rb:1380 def warn(message); end # Warn if rdoc-ref links can't be resolved # Default is +true+ # - # source://rdoc//lib/rdoc/options.rb#332 + # pkg:gem/rdoc#lib/rdoc/options.rb:332 def warn_missing_rdoc_ref; end # Warn if rdoc-ref links can't be resolved # Default is +true+ # - # source://rdoc//lib/rdoc/options.rb#332 + # pkg:gem/rdoc#lib/rdoc/options.rb:332 def warn_missing_rdoc_ref=(_arg0); end # URL of web cvs frontend # - # source://rdoc//lib/rdoc/options.rb#337 + # pkg:gem/rdoc#lib/rdoc/options.rb:337 def webcvs; end # URL of web cvs frontend # - # source://rdoc//lib/rdoc/options.rb#337 + # pkg:gem/rdoc#lib/rdoc/options.rb:337 def webcvs=(_arg0); end # Writes the YAML file .rdoc_options to the current directory containing the # parsed options. # - # source://rdoc//lib/rdoc/options.rb#1388 + # pkg:gem/rdoc#lib/rdoc/options.rb:1388 def write_options; end - # source://rdoc//lib/rdoc/options.rb#487 + # pkg:gem/rdoc#lib/rdoc/options.rb:487 def yaml_initialize(tag, map); end class << self @@ -8813,12 +8811,12 @@ class RDoc::Options # # @raise [RDoc::Error] # - # source://rdoc//lib/rdoc/options.rb#1402 + # pkg:gem/rdoc#lib/rdoc/options.rb:1402 def load_options; end end end -# source://rdoc//lib/rdoc/options.rb#401 +# pkg:gem/rdoc#lib/rdoc/options.rb:401 RDoc::Options::DEFAULT_EXCLUDE = T.let(T.unsafe(nil), Array) # A parser is simple a class that subclasses RDoc::Parser and implements #scan @@ -8849,7 +8847,7 @@ RDoc::Options::DEFAULT_EXCLUDE = T.let(T.unsafe(nil), Array) # end # end # -# source://rdoc//lib/rdoc/parser.rb#33 +# pkg:gem/rdoc#lib/rdoc/parser.rb:33 class RDoc::Parser # Creates a new Parser storing +top_level+, +file_name+, +content+, # +options+ and +stats+ in instance variables. In +@preprocess+ an @@ -8858,24 +8856,24 @@ class RDoc::Parser # # @return [Parser] a new instance of Parser # - # source://rdoc//lib/rdoc/parser.rb#255 + # pkg:gem/rdoc#lib/rdoc/parser.rb:255 def initialize(top_level, content, options, stats); end # The name of the file being parsed # - # source://rdoc//lib/rdoc/parser.rb#52 + # pkg:gem/rdoc#lib/rdoc/parser.rb:52 def file_name; end # Normalizes tabs in +body+ # - # source://rdoc//lib/rdoc/parser.rb#275 + # pkg:gem/rdoc#lib/rdoc/parser.rb:275 def handle_tab_width(body); end class << self # Alias an extension to another extension. After this call, files ending # "new_ext" will be parsed using the same parser as "old_ext" # - # source://rdoc//lib/rdoc/parser.rb#58 + # pkg:gem/rdoc#lib/rdoc/parser.rb:58 def alias_extension(old_ext, new_ext); end # Determines if the file is a "binary" file which basically means it has @@ -8883,36 +8881,36 @@ class RDoc::Parser # # @return [Boolean] # - # source://rdoc//lib/rdoc/parser.rb#74 + # pkg:gem/rdoc#lib/rdoc/parser.rb:74 def binary?(file); end # Return a parser that can handle a particular extension # - # source://rdoc//lib/rdoc/parser.rb#107 + # pkg:gem/rdoc#lib/rdoc/parser.rb:107 def can_parse(file_name); end # Returns a parser that can handle the extension for +file_name+. This does # not depend upon the file being readable. # - # source://rdoc//lib/rdoc/parser.rb#120 + # pkg:gem/rdoc#lib/rdoc/parser.rb:120 def can_parse_by_name(file_name); end # Returns the file type from the modeline in +file_name+ # - # source://rdoc//lib/rdoc/parser.rb#143 + # pkg:gem/rdoc#lib/rdoc/parser.rb:143 def check_modeline(file_name); end # Finds and instantiates the correct parser for the given +file_name+ and # +content+. # - # source://rdoc//lib/rdoc/parser.rb#169 + # pkg:gem/rdoc#lib/rdoc/parser.rb:169 def for(top_level, content, options, stats); end # Record which file types this parser can understand. # # It is ok to call this multiple times. # - # source://rdoc//lib/rdoc/parser.rb#204 + # pkg:gem/rdoc#lib/rdoc/parser.rb:204 def parse_files_matching(regexp); end # An Array of arrays that maps file extension (or name) regular @@ -8920,12 +8918,12 @@ class RDoc::Parser # # Use parse_files_matching to register a parser's file extensions. # - # source://rdoc//lib/rdoc/parser.rb#45 + # pkg:gem/rdoc#lib/rdoc/parser.rb:45 def parsers; end # Removes an emacs-style modeline from the first line of the document # - # source://rdoc//lib/rdoc/parser.rb#211 + # pkg:gem/rdoc#lib/rdoc/parser.rb:211 def remove_modeline(content); end # If there is a markup: parser_name comment at the front of the @@ -8944,7 +8942,7 @@ class RDoc::Parser # # Any comment style may be used to hide the markup comment. # - # source://rdoc//lib/rdoc/parser.rb#232 + # pkg:gem/rdoc#lib/rdoc/parser.rb:232 def use_markup(content); end # Checks if +file+ is a zip file in disguise. Signatures from @@ -8952,7 +8950,7 @@ class RDoc::Parser # # @return [Boolean] # - # source://rdoc//lib/rdoc/parser.rb#94 + # pkg:gem/rdoc#lib/rdoc/parser.rb:94 def zip?(file); end end end @@ -9071,7 +9069,7 @@ end # * block and return its value. # */ # -# source://rdoc//lib/rdoc/parser/c.rb#119 +# pkg:gem/rdoc#lib/rdoc/parser/c.rb:119 class RDoc::Parser::C < ::RDoc::Parser include ::RDoc::Text @@ -9080,85 +9078,85 @@ class RDoc::Parser::C < ::RDoc::Parser # # @return [C] a new instance of C # - # source://rdoc//lib/rdoc/parser/c.rb#171 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:171 def initialize(top_level, content, options, stats); end # Add alias, either from a direct alias definition, or from two # method that reference the same function. # - # source://rdoc//lib/rdoc/parser/c.rb#250 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:250 def add_alias(var_name, class_obj, old_name, new_name, comment); end # Maps C variable names to names of Ruby classes or modules # - # source://rdoc//lib/rdoc/parser/c.rb#133 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:133 def classes; end # C file the parser is parsing # - # source://rdoc//lib/rdoc/parser/c.rb#138 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:138 def content; end # C file the parser is parsing # - # source://rdoc//lib/rdoc/parser/c.rb#138 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:138 def content=(_arg0); end # Scans #content for rb_define_alias # - # source://rdoc//lib/rdoc/parser/c.rb#222 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:222 def do_aliases; end # Scans #content for rb_attr and rb_define_attr # - # source://rdoc//lib/rdoc/parser/c.rb#261 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:261 def do_attrs; end # Scans #content for boot_defclass # - # source://rdoc//lib/rdoc/parser/c.rb#284 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:284 def do_boot_defclass; end # Scans #content for rb_define_class, boot_defclass, rb_define_class_under # and rb_singleton_class # - # source://rdoc//lib/rdoc/parser/c.rb#296 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:296 def do_classes_and_modules; end # Scans #content for rb_define_variable, rb_define_readonly_variable, # rb_define_const and rb_define_global_const # - # source://rdoc//lib/rdoc/parser/c.rb#394 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:394 def do_constants; end # Scans #content for rb_include_module # - # source://rdoc//lib/rdoc/parser/c.rb#441 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:441 def do_includes; end # Scans #content for rb_define_method, rb_define_singleton_method, # rb_define_module_function, rb_define_private_method, # rb_define_global_function and define_filetest_function # - # source://rdoc//lib/rdoc/parser/c.rb#457 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:457 def do_methods; end # Creates classes and module that were missing were defined due to the file # order being different than the declaration order. # - # source://rdoc//lib/rdoc/parser/c.rb#506 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:506 def do_missing; end # Dependencies from a missing enclosing class to the classes in # missing_dependencies that depend upon it. # - # source://rdoc//lib/rdoc/parser/c.rb#144 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:144 def enclosure_dependencies; end # Finds the comment for an alias on +class_name+ from +new_name+ to # +old_name+ # - # source://rdoc//lib/rdoc/parser/c.rb#522 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:522 def find_alias_comment(class_name, new_name, old_name); end # Finds a comment for rb_define_attr, rb_attr or Document-attr. @@ -9169,17 +9167,17 @@ class RDoc::Parser::C < ::RDoc::Parser # +read+ and +write+ are the read/write flags ('1' or '0'). Either both or # neither must be provided. # - # source://rdoc//lib/rdoc/parser/c.rb#540 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:540 def find_attr_comment(var_name, attr_name, read = T.unsafe(nil), write = T.unsafe(nil)); end # Find the C code corresponding to a Ruby method # - # source://rdoc//lib/rdoc/parser/c.rb#597 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:597 def find_body(class_name, meth_name, meth_obj, file_content, quiet = T.unsafe(nil)); end # Finds a RDoc::NormalClass or RDoc::NormalModule for +raw_name+ # - # source://rdoc//lib/rdoc/parser/c.rb#676 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:676 def find_class(raw_name, name, base_name = T.unsafe(nil)); end # Look for class or module documentation above Init_+class_name+(void), @@ -9207,45 +9205,45 @@ class RDoc::Parser::C < ::RDoc::Parser # */ # VALUE cFoo = rb_define_class("Foo", rb_cObject); # - # source://rdoc//lib/rdoc/parser/c.rb#717 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:717 def find_class_comment(class_name, class_mod); end # Finds a comment matching +type+ and +const_name+ either above the # comment or in the matching Document- section. # - # source://rdoc//lib/rdoc/parser/c.rb#786 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:786 def find_const_comment(type, const_name, class_name = T.unsafe(nil)); end # Handles modifiers in +comment+ and updates +meth_obj+ as appropriate. # - # source://rdoc//lib/rdoc/parser/c.rb#803 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:803 def find_modifiers(comment, meth_obj); end # Finds a Document-method override for +meth_obj+ on +class_name+ # - # source://rdoc//lib/rdoc/parser/c.rb#810 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:810 def find_override_comment(class_name, meth_obj); end # Generate a Ruby-method table # - # source://rdoc//lib/rdoc/parser/c.rb#573 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:573 def gen_body_table(file_content); end # Generate a const table # - # source://rdoc//lib/rdoc/parser/c.rb#749 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:749 def gen_const_table(file_content); end # Creates a new RDoc::Attr +attr_name+ on class +var_name+ that is either # +read+, +write+ or both # - # source://rdoc//lib/rdoc/parser/c.rb#832 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:832 def handle_attr(var_name, attr_name, read, write); end # Creates a new RDoc::NormalClass or RDoc::NormalModule based on +type+ # named +class_name+ in +parent+ which was assigned to the C +var_name+. # - # source://rdoc//lib/rdoc/parser/c.rb#861 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:861 def handle_class_module(var_name, type, class_name, parent, in_module); end # Adds constants. By providing some_value: at the start of the comment you @@ -9257,35 +9255,35 @@ class RDoc::Parser::C < ::RDoc::Parser # Will override INT2FIX(300) with the value +300+ in the output # RDoc. Values may include quotes and escaped colons (\:). # - # source://rdoc//lib/rdoc/parser/c.rb#926 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:926 def handle_constants(type, var_name, const_name, definition); end # Removes #ifdefs that would otherwise confuse us # - # source://rdoc//lib/rdoc/parser/c.rb#976 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:976 def handle_ifdefs_in(body); end # Adds an RDoc::AnyMethod +meth_name+ defined on a class or module assigned # to +var_name+. +type+ is the type of method definition function used. # +singleton_method+ and +module_function+ create a singleton method. # - # source://rdoc//lib/rdoc/parser/c.rb#985 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:985 def handle_method(type, var_name, meth_name, function, param_count, source_file = T.unsafe(nil)); end # Registers a singleton class +sclass_var+ as a singleton of +class_var+ # - # source://rdoc//lib/rdoc/parser/c.rb#1054 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1054 def handle_singleton(sclass_var, class_var); end # Maps C variable names to names of Ruby classes (and singleton classes) # - # source://rdoc//lib/rdoc/parser/c.rb#149 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:149 def known_classes; end # Loads the variable map with the given +name+ from the RDoc::Store, if # present. # - # source://rdoc//lib/rdoc/parser/c.rb#1068 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1068 def load_variable_map(map_name); end # Look for directives in a normal comment block: @@ -9297,55 +9295,55 @@ class RDoc::Parser::C < ::RDoc::Parser # This method modifies the +comment+ # Both :main: and :title: directives are deprecated and will be removed in RDoc 7. # - # source://rdoc//lib/rdoc/parser/c.rb#1098 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1098 def look_for_directives_in(context, comment); end # Classes found while parsing the C file that were not yet registered due to # a missing enclosing class. These are processed by do_missing # - # source://rdoc//lib/rdoc/parser/c.rb#155 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:155 def missing_dependencies; end # Creates a RDoc::Comment instance. # - # source://rdoc//lib/rdoc/parser/c.rb#1221 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1221 def new_comment(text = T.unsafe(nil), location = T.unsafe(nil), language = T.unsafe(nil)); end # Extracts parameters from the +method_body+ and returns a method # parameter string. Follows 1.9.3dev's scan-arg-spec, see README.EXT # - # source://rdoc//lib/rdoc/parser/c.rb#1110 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1110 def rb_scan_args(method_body); end # Removes lines that are commented out that might otherwise get picked up # when scanning for classes and methods # - # source://rdoc//lib/rdoc/parser/c.rb#1193 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1193 def remove_commented_out_lines; end # Extracts the classes, modules, methods, attributes, constants and aliases # from a C file and returns an RDoc::TopLevel for this file # - # source://rdoc//lib/rdoc/parser/c.rb#1201 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:1201 def scan; end # Maps C variable names to names of Ruby singleton classes # - # source://rdoc//lib/rdoc/parser/c.rb#160 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:160 def singleton_classes; end # The TopLevel items in the parsed file belong to # - # source://rdoc//lib/rdoc/parser/c.rb#165 + # pkg:gem/rdoc#lib/rdoc/parser/c.rb:165 def top_level; end end # :stopdoc: # -# source://rdoc//lib/rdoc/parser/c.rb#126 +# pkg:gem/rdoc#lib/rdoc/parser/c.rb:126 RDoc::Parser::C::BOOL_ARG_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rdoc//lib/rdoc/parser/c.rb#127 +# pkg:gem/rdoc#lib/rdoc/parser/c.rb:127 RDoc::Parser::C::TRUE_VALUES = T.let(T.unsafe(nil), Array) # A ChangeLog file parser. @@ -9358,7 +9356,7 @@ RDoc::Parser::C::TRUE_VALUES = T.let(T.unsafe(nil), Array) # {GNU style Change # Log}[http://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html]. # -# source://rdoc//lib/rdoc/parser/changelog.rb#14 +# pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:14 class RDoc::Parser::ChangeLog < ::RDoc::Parser include ::RDoc::Parser::Text @@ -9367,34 +9365,34 @@ class RDoc::Parser::ChangeLog < ::RDoc::Parser # Continued function listings are joined together as a single entry. # Continued descriptions are joined to make a single paragraph. # - # source://rdoc//lib/rdoc/parser/changelog.rb#26 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:26 def continue_entry_body(entry_body, continuation); end # Creates an RDoc::Markup::Document given the +groups+ of ChangeLog entries. # - # source://rdoc//lib/rdoc/parser/changelog.rb#44 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:44 def create_document(groups); end # Returns a list of ChangeLog entries an RDoc::Markup nodes for the given # +entries+. # - # source://rdoc//lib/rdoc/parser/changelog.rb#66 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:66 def create_entries(entries); end # Returns an RDoc::Markup::List containing the given +items+ in the # ChangeLog # - # source://rdoc//lib/rdoc/parser/changelog.rb#83 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:83 def create_items(items); end # Groups +entries+ by date. # - # source://rdoc//lib/rdoc/parser/changelog.rb#103 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:103 def group_entries(entries); end # Parse date in ISO-8601, RFC-2822, or default of Git # - # source://rdoc//lib/rdoc/parser/changelog.rb#119 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:119 def parse_date(date); end # Parses the entries in the ChangeLog. @@ -9411,59 +9409,59 @@ class RDoc::Parser::ChangeLog < ::RDoc::Parser # [ 'README.EXT: Converted to RDoc format', # 'README.EXT.ja: ditto']] # - # source://rdoc//lib/rdoc/parser/changelog.rb#149 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:149 def parse_entries; end # Converts the ChangeLog into an RDoc::Markup::Document # - # source://rdoc//lib/rdoc/parser/changelog.rb#206 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:206 def scan; end end # The extension for Git commit log # -# source://rdoc//lib/rdoc/parser/changelog.rb#223 +# pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:223 module RDoc::Parser::ChangeLog::Git # Returns a list of ChangeLog entries as # RDoc::Parser::ChangeLog::Git::LogEntry list for the given # +entries+. # - # source://rdoc//lib/rdoc/parser/changelog.rb#263 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:263 def create_entries(entries); end # Parses the entries in the Git commit logs # - # source://rdoc//lib/rdoc/parser/changelog.rb#236 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:236 def parse_entries; end # Parses auxiliary info. Currently `base-url` to expand # references is effective. # - # source://rdoc//lib/rdoc/parser/changelog.rb#228 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:228 def parse_info(info); end end -# source://rdoc//lib/rdoc/parser/changelog.rb#272 +# pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:272 RDoc::Parser::ChangeLog::Git::HEADING_LEVEL = T.let(T.unsafe(nil), Integer) -# source://rdoc//lib/rdoc/parser/changelog.rb#271 +# pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @return [LogEntry] a new instance of LogEntry # - # source://rdoc//lib/rdoc/parser/changelog.rb#274 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:274 def initialize(base, commit, author, email, date, contents); end - # source://rdoc//lib/rdoc/parser/changelog.rb#314 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:314 def accept(visitor); end - # source://rdoc//lib/rdoc/parser/changelog.rb#295 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:295 def aref; end # Returns the value of attribute author # # @return [Object] the current value of author # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def author; end # Sets the attribute author @@ -9471,14 +9469,14 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @param value [Object] the value to set the attribute author to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def author=(_); end # Returns the value of attribute base # # @return [Object] the current value of base # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def base; end # Sets the attribute base @@ -9486,14 +9484,14 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @param value [Object] the value to set the attribute base to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def base=(_); end # Returns the value of attribute commit # # @return [Object] the current value of commit # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def commit; end # Sets the attribute commit @@ -9501,14 +9499,14 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @param value [Object] the value to set the attribute commit to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def commit=(_); end # Returns the value of attribute contents # # @return [Object] the current value of contents # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def contents; end # Sets the attribute contents @@ -9516,14 +9514,14 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @param value [Object] the value to set the attribute contents to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def contents=(_); end # Returns the value of attribute date # # @return [Object] the current value of date # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def date; end # Sets the attribute date @@ -9531,14 +9529,14 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @param value [Object] the value to set the attribute date to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def date=(_); end # Returns the value of attribute email # # @return [Object] the current value of email # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def email; end # Sets the attribute email @@ -9546,35 +9544,35 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct # @param value [Object] the value to set the attribute email to. # @return [Object] the newly set value # - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def email=(_); end - # source://rdoc//lib/rdoc/parser/changelog.rb#299 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:299 def label(context = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/parser/changelog.rb#291 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:291 def level; end - # source://rdoc//lib/rdoc/parser/changelog.rb#331 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:331 def pretty_print(q); end - # source://rdoc//lib/rdoc/parser/changelog.rb#303 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:303 def text; end class << self - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def [](*_arg0); end - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def inspect; end - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def keyword_init?; end - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def members; end - # source://rdoc//lib/rdoc/parser/changelog.rb#271 + # pkg:gem/rdoc#lib/rdoc/parser/changelog.rb:271 def new(*_arg0); end end end @@ -9582,72 +9580,72 @@ end # Parse a Markdown format file. The parsed RDoc::Markup::Document is attached # as a file comment. # -# source://rdoc//lib/rdoc/parser/markdown.rb#6 +# pkg:gem/rdoc#lib/rdoc/parser/markdown.rb:6 class RDoc::Parser::Markdown < ::RDoc::Parser include ::RDoc::Parser::Text # Creates an Markdown-format TopLevel for the given file. # - # source://rdoc//lib/rdoc/parser/markdown.rb#15 + # pkg:gem/rdoc#lib/rdoc/parser/markdown.rb:15 def scan; end end # Parse a RD format file. The parsed RDoc::Markup::Document is attached as a # file comment. # -# source://rdoc//lib/rdoc/parser/rd.rb#6 +# pkg:gem/rdoc#lib/rdoc/parser/rd.rb:6 class RDoc::Parser::RD < ::RDoc::Parser include ::RDoc::Parser::Text # Creates an rd-format TopLevel for the given file. # - # source://rdoc//lib/rdoc/parser/rd.rb#15 + # pkg:gem/rdoc#lib/rdoc/parser/rd.rb:15 def scan; end end # Wrapper for Ripper lex states # -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#7 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:7 class RDoc::Parser::RipperStateLex # New lexer for +code+. # # @return [RipperStateLex] a new instance of RipperStateLex # - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#278 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:278 def initialize(code); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#27 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:27 def get_squashed_tk; end private - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#168 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:168 def get_embdoc_tk(tk); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#177 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:177 def get_heredoc_tk(heredoc_name, indent); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#252 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:252 def get_op_tk(tk); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#150 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:150 def get_regexp_tk(tk); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#123 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:123 def get_string_tk(tk); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#76 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:76 def get_symbol_tk(tk); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#214 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:214 def get_words_tk(tk); end # @return [Boolean] # - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#202 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:202 def heredoc_end?(name, indent, tk); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#196 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:196 def retrieve_heredoc_info(tk); end class << self @@ -9655,48 +9653,48 @@ class RDoc::Parser::RipperStateLex # # @return [Boolean] # - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#299 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:299 def end?(token); end # Returns tokens parsed from +code+. # - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#286 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:286 def parse(code); end end end -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#14 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:14 RDoc::Parser::RipperStateLex::EXPR_ARG = T.let(T.unsafe(nil), Integer) -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#12 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:12 RDoc::Parser::RipperStateLex::EXPR_END = T.let(T.unsafe(nil), Integer) -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:13 RDoc::Parser::RipperStateLex::EXPR_ENDFN = T.let(T.unsafe(nil), Integer) -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#15 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:15 RDoc::Parser::RipperStateLex::EXPR_FNAME = T.let(T.unsafe(nil), Integer) -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#17 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:17 class RDoc::Parser::RipperStateLex::InnerStateLex < ::Ripper::Filter # @return [InnerStateLex] a new instance of InnerStateLex # - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#18 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:18 def initialize(code); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#22 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:22 def on_default(event, tok, data); end end # :stopdoc: # -# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 +# pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 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 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def char_no; end # Sets the attribute char_no @@ -9704,14 +9702,14 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def kind; end # Sets the attribute kind @@ -9719,14 +9717,14 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def line_no; end # Sets the attribute line_no @@ -9734,14 +9732,14 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def state; end # Sets the attribute state @@ -9749,14 +9747,14 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def text; end # Sets the attribute text @@ -9764,23 +9762,23 @@ class RDoc::Parser::RipperStateLex::Token < ::Struct # @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 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def text=(_); end class << self - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def [](*_arg0); end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def inspect; end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def keyword_init?; end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def members; end - # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#10 + # pkg:gem/rdoc#lib/rdoc/parser/ripper_state_lex.rb:10 def new(*_arg0); end end end @@ -9914,7 +9912,7 @@ end # Note that by default, the :method: directive will be ignored if there is a # standard rdocable item following it. # -# source://rdoc//lib/rdoc/parser/ruby.rb#153 +# pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:153 class RDoc::Parser::Ruby < ::RDoc::Parser include ::RDoc::TokenStream include ::RDoc::Parser::RubyTools @@ -9923,56 +9921,56 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # @return [Ruby] a new instance of Ruby # - # source://rdoc//lib/rdoc/parser/ruby.rb#173 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:173 def initialize(top_level, content, options, stats); end # Look for the first comment in a file that isn't a shebang line. # - # source://rdoc//lib/rdoc/parser/ruby.rb#245 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:245 def collect_first_comment; end # Consumes trailing whitespace from the token stream # - # source://rdoc//lib/rdoc/parser/ruby.rb#288 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:288 def consume_trailing_spaces; end # Creates a new attribute in +container+ with +name+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#295 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:295 def create_attr(container, single, name, rw, comment); end # Creates a module alias in +container+ at +rhs_name+ (or at the top-level # for "::") with the name from +constant+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#309 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:309 def create_module_alias(container, constant, rhs_name); end # Aborts with +msg+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#322 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:322 def error(msg); end # Looks for a true or false token. # - # source://rdoc//lib/rdoc/parser/ruby.rb#331 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:331 def get_bool; end # Look for the name of a class of module (optionally with a leading :: or # with :: separated named) and return the ultimate name, the associated # container, and the given name (with the ::). # - # source://rdoc//lib/rdoc/parser/ruby.rb#349 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:349 def get_class_or_module(container, ignore_constants = T.unsafe(nil)); end # Return a superclass, which can be either a constant of an expression # - # source://rdoc//lib/rdoc/parser/ruby.rb#432 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:432 def get_class_specification; end # Parse a constant, which might be qualified by one or more class or module # names # - # source://rdoc//lib/rdoc/parser/ruby.rb#465 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:465 def get_constant; end # Little hack going on here. In the statement: @@ -9982,28 +9980,28 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # We see the RPAREN as the next token, so we need to exit early. This still # won't catch all cases (such as "a = yield + 1" # - # source://rdoc//lib/rdoc/parser/ruby.rb#567 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:567 def get_end_token(tk); end # Get an included module that may be surrounded by parens # - # source://rdoc//lib/rdoc/parser/ruby.rb#482 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:482 def get_included_module_with_optional_parens; end # Retrieves the method container for a singleton method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#587 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:587 def get_method_container(container, name_t); end # Extracts a name or symbol from the token stream. # - # source://rdoc//lib/rdoc/parser/ruby.rb#630 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:630 def get_symbol_or_name; end # Retrieves the read token stream and replaces +pattern+ with +replacement+ # using gsub. If the result is only a ";" returns an empty string. # - # source://rdoc//lib/rdoc/parser/ruby.rb#203 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:203 def get_tkread_clean(pattern, replacement); end # Extracts the visibility information for the visibility token +tk+ @@ -10013,7 +10011,7 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # +singleton+ if the methods following should be converted to singleton # methods. # - # source://rdoc//lib/rdoc/parser/ruby.rb#217 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:217 def get_visibility_information(tk, single); end # Look for directives in a normal comment block: @@ -10023,108 +10021,108 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # This routine modifies its +comment+ parameter. # - # source://rdoc//lib/rdoc/parser/ruby.rb#670 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:670 def look_for_directives_in(container, comment); end # Adds useful info about the parser to +message+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#690 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:690 def make_message(message); end # Creates a comment with the correct format # - # source://rdoc//lib/rdoc/parser/ruby.rb#702 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:702 def new_comment(comment, line_no = T.unsafe(nil)); end # Parses an +alias+ in +context+ with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#771 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:771 def parse_alias(context, single, tk, comment); end # Creates an RDoc::Attr for the name following +tk+, setting the comment to # +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#713 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:713 def parse_attr(context, single, tk, comment); end # Creates an RDoc::Attr for each attribute listed after +tk+, setting the # comment for each to +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#742 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:742 def parse_attr_accessor(context, single, tk, comment); end # Extracts call parameters from the token stream. # - # source://rdoc//lib/rdoc/parser/ruby.rb#811 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:811 def parse_call_parameters(tk); end # Parses a class in +context+ with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#854 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:854 def parse_class(container, single, tk, comment); end # Parses and creates a regular class # - # source://rdoc//lib/rdoc/parser/ruby.rb#888 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:888 def parse_class_regular(container, declaration_context, single, name_t, given_name, comment); end # Parses a singleton class in +container+ with the given +name+ and # +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#928 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:928 def parse_class_singleton(container, name, comment); end # Generates an RDoc::Method or RDoc::Attr from +comment+ by looking for # \:method: or :attr: directives in +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1093 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1093 def parse_comment(container, tk, comment); end # Parse a comment that is describing an attribute in +container+ with the # given +name+ and +comment+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1121 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1121 def parse_comment_attr(container, type, name, comment); end - # source://rdoc//lib/rdoc/parser/ruby.rb#1133 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1133 def parse_comment_ghost(container, text, name, column, line_no, comment); end # Creates an RDoc::Method on +container+ from +comment+ if there is a # Signature section in the comment # - # source://rdoc//lib/rdoc/parser/ruby.rb#1172 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1172 def parse_comment_tomdoc(container, tk, comment); end # Parses a constant in +context+ with +comment+. If +ignore_constants+ is # true, no found constants will be added to RDoc. # - # source://rdoc//lib/rdoc/parser/ruby.rb#967 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:967 def parse_constant(container, tk, comment, ignore_constants = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/parser/ruby.rb#1034 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1034 def parse_constant_body(container, constant, is_array_or_hash); end # Parses a Module#private_constant or Module#public_constant call from +tk+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2109 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2109 def parse_constant_visibility(container, single, tk); end # Parses an +include+ or +extend+, indicated by the +klass+ and adds it to # +container+ # with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1207 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1207 def parse_extend_or_include(klass, container, comment); end # Parses identifiers that can create new methods or change visibility. # # Returns true if the comment was not consumed. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1245 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1245 def parse_identifier(container, single, tk, comment); end # Parses an +included+ with a block feature of ActiveSupport::Concern. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1227 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1227 def parse_included_with_activesupport_concern(container, comment); end # Parses a meta-programmed attribute and creates an RDoc::Attr. @@ -10155,34 +10153,34 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # end # - # source://rdoc//lib/rdoc/parser/ruby.rb#1309 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1309 def parse_meta_attr(context, single, tk, comment); end # Parses a meta-programmed method # - # source://rdoc//lib/rdoc/parser/ruby.rb#1343 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1343 def parse_meta_method(container, single, tk, comment); end # Parses the name of a metaprogrammed method. +comment+ is used to # determine the name while +tk+ is used in an error message if the name # cannot be determined. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1388 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1388 def parse_meta_method_name(comment, tk); end # Parses the parameters and block for a meta-programmed method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1412 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1412 def parse_meta_method_params(container, single, meth, tk, comment); end # Parses a normal method defined by +def+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1444 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1444 def parse_method(container, single, tk, comment); end # Parses a method that needs to be ignored. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1528 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1528 def parse_method_dummy(container); end # Parses the name of a method in +container+. @@ -10190,25 +10188,25 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # Returns the method name, the container it is in (for def Foo.name) and if # it is a singleton or regular method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1541 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1541 def parse_method_name(container); end # For the given +container+ and initial name token +name_t+ the method name # is parsed from the token stream for a regular method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1568 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1568 def parse_method_name_regular(container, name_t); end # For the given +container+ and initial name token +name_t+ the method name # and the new +container+ (if necessary) are parsed from the token stream # for a singleton method. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1586 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1586 def parse_method_name_singleton(container, name_t); end # Extracts +yield+ parameters from +method+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1630 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1630 def parse_method_or_yield_parameters(method = T.unsafe(nil), modifiers = T.unsafe(nil)); end # Capture the method's parameters. Along the way, look for a comment @@ -10218,69 +10216,69 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # and add this as the block_params for the method # - # source://rdoc//lib/rdoc/parser/ruby.rb#1697 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1697 def parse_method_parameters(method); end # Parses the parameters and body of +meth+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1498 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1498 def parse_method_params_and_body(container, single, meth, added_container); end # Parses an RDoc::NormalModule in +container+ with +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1712 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1712 def parse_module(container, single, tk, comment); end # Parses an RDoc::Require in +context+ containing +comment+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#1734 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1734 def parse_require(context, comment); end # Parses a rescue # - # source://rdoc//lib/rdoc/parser/ruby.rb#1755 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1755 def parse_rescue; end # The core of the Ruby parser. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1786 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1786 def parse_statements(container, single = T.unsafe(nil), current_method = T.unsafe(nil), comment = T.unsafe(nil)); end # Parse up to +no+ symbol arguments # - # source://rdoc//lib/rdoc/parser/ruby.rb#1977 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1977 def parse_symbol_arg(no = T.unsafe(nil)); end # Parses up to +no+ symbol arguments surrounded by () and places them in # +args+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#1992 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1992 def parse_symbol_arg_paren(no); end # Parses up to +no+ symbol arguments separated by spaces and places them in # +args+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2020 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2020 def parse_symbol_arg_space(no, tk); end # Returns symbol text from the next token # - # source://rdoc//lib/rdoc/parser/ruby.rb#2051 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2051 def parse_symbol_in_arg; end # Parses statements in the top-level +container+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2068 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2068 def parse_top_level_statements(container); end # Determines the visibility in +container+ from +tk+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2086 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2086 def parse_visibility(container, single, tk); end # Determines the block parameter for +context+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2125 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2125 def parse_yield(context, single, tk, method); end # Directives are modifier comments that can appear after class, module, or @@ -10295,7 +10293,7 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # the name is in +allowed+. A directive can be found anywhere up to the end # of the current line. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2146 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2146 def read_directive(allowed); end # Handles directives following the definition for +context+ (any @@ -10303,144 +10301,144 @@ class RDoc::Parser::Ruby < ::RDoc::Parser # # See also RDoc::Markup::PreProcess#handle_directive # - # source://rdoc//lib/rdoc/parser/ruby.rb#2178 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2178 def read_documentation_modifiers(context, allowed); end # Records the location of this +container+ in the file for this parser and # adds it to the list of classes and modules in the file. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2197 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2197 def record_location(container); end # Retrieve comment body without =begin/=end # - # source://rdoc//lib/rdoc/parser/ruby.rb#1775 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:1775 def retrieve_comment_body(tk); end # Scans this Ruby file for Ruby constructs # - # source://rdoc//lib/rdoc/parser/ruby.rb#2209 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2209 def scan; end # skip the var [in] part of a 'for' statement # - # source://rdoc//lib/rdoc/parser/ruby.rb#2297 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2297 def skip_for_variable; end # Skips the next method in +container+ # - # source://rdoc//lib/rdoc/parser/ruby.rb#2308 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2308 def skip_method(container); end # while, until, and for have an optional do # - # source://rdoc//lib/rdoc/parser/ruby.rb#2256 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2256 def skip_optional_do_after_expression; end # Skip opening parentheses and yield the block. # Skip closing parentheses too when exists. # - # source://rdoc//lib/rdoc/parser/ruby.rb#410 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:410 def skip_parentheses(&block); end # Skip spaces until a comment is found # - # source://rdoc//lib/rdoc/parser/ruby.rb#2317 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2317 def skip_tkspace_comment(skip_nl = T.unsafe(nil)); end # Marks containers between +container+ and +ancestor+ as ignored # - # source://rdoc//lib/rdoc/parser/ruby.rb#655 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:655 def suppress_parents(container, ancestor); end # Return +true+ if +tk+ is a newline. # # @return [Boolean] # - # source://rdoc//lib/rdoc/parser/ruby.rb#195 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:195 def tk_nl?(tk); end # Updates visibility in +container+ from +vis_type+ and +vis+. # - # source://rdoc//lib/rdoc/parser/ruby.rb#2329 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2329 def update_visibility(container, vis_type, vis, singleton); end # Prints +message+ to +$stderr+ unless we're being quiet # - # source://rdoc//lib/rdoc/parser/ruby.rb#2374 + # pkg:gem/rdoc#lib/rdoc/parser/ruby.rb:2374 def warn(message); end end # Collection of methods for writing parsers # -# source://rdoc//lib/rdoc/parser/ruby_tools.rb#5 +# pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:5 module RDoc::Parser::RubyTools # Adds a token listener +obj+, but you should probably use token_listener # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#10 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:10 def add_token_listener(obj); end # Fetches the next token from the scanner # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#18 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:18 def get_tk; end # Reads and returns all tokens up to one of +tokens+. Leaves the matched # token in the token list. # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#50 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:50 def get_tk_until(*tokens); end # Retrieves a String representation of the read tokens # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#71 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:71 def get_tkread; end # Peek equivalent for get_tkread # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#80 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:80 def peek_read; end # Peek at the next token, but don't remove it from the stream # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#87 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:87 def peek_tk; end # Removes the token listener +obj+ # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#95 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:95 def remove_token_listener(obj); end # Resets the tools # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#102 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:102 def reset; end # Skips whitespace tokens including newlines # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#113 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:113 def skip_tkspace; end # Skips whitespace tokens excluding newlines # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#127 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:127 def skip_tkspace_without_nl; end # Has +obj+ listen to tokens # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#141 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:141 def token_listener(obj); end # Returns +tk+ to the scanner # - # source://rdoc//lib/rdoc/parser/ruby_tools.rb#151 + # pkg:gem/rdoc#lib/rdoc/parser/ruby_tools.rb:151 def unget_tk(tk); end end # Parse a non-source file. We basically take the whole thing as one big # comment. # -# source://rdoc//lib/rdoc/parser/simple.rb#6 +# pkg:gem/rdoc#lib/rdoc/parser/simple.rb:6 class RDoc::Parser::Simple < ::RDoc::Parser include ::RDoc::Parser::Text @@ -10448,30 +10446,30 @@ class RDoc::Parser::Simple < ::RDoc::Parser # # @return [Simple] a new instance of Simple # - # source://rdoc//lib/rdoc/parser/simple.rb#17 + # pkg:gem/rdoc#lib/rdoc/parser/simple.rb:17 def initialize(top_level, content, options, stats); end - # source://rdoc//lib/rdoc/parser/simple.rb#12 + # pkg:gem/rdoc#lib/rdoc/parser/simple.rb:12 def content; end # Removes the encoding magic comment from +text+ # - # source://rdoc//lib/rdoc/parser/simple.rb#41 + # pkg:gem/rdoc#lib/rdoc/parser/simple.rb:41 def remove_coding_comment(text); end # Extract the file contents and attach them to the TopLevel as a comment # - # source://rdoc//lib/rdoc/parser/simple.rb#29 + # pkg:gem/rdoc#lib/rdoc/parser/simple.rb:29 def scan; end end -# source://rdoc//lib/rdoc/rd.rb#72 +# pkg:gem/rdoc#lib/rdoc/rd.rb:72 class RDoc::RD class << self # Parses +rd+ source and returns an RDoc::Markup::Document. If the # =begin or =end lines are missing they will be added. # - # source://rdoc//lib/rdoc/rd.rb#78 + # pkg:gem/rdoc#lib/rdoc/rd.rb:78 def parse(rd); end end end @@ -10479,347 +10477,347 @@ end # RD format parser for headings, paragraphs, lists, verbatim sections that # exist as blocks. # -# source://rdoc//lib/rdoc/rd/block_parser.rb#660 +# pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:660 class RDoc::RD::BlockParser < ::Racc::Parser # Creates a new RDoc::RD::BlockParser. Use #parse to parse an rd-format # document. # # @return [BlockParser] a new instance of BlockParser # - # source://rdoc//lib/rdoc/rd/block_parser.rb#695 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:695 def initialize; end # reduce 0 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1330 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1330 def _reduce_1(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1372 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1372 def _reduce_10(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1377 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1377 def _reduce_11(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1382 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1382 def _reduce_12(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1390 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1390 def _reduce_13(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1396 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1396 def _reduce_14(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1403 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1403 def _reduce_15(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1408 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1408 def _reduce_16(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1413 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1413 def _reduce_17(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1424 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1424 def _reduce_18(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1435 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1435 def _reduce_19(val, _values, result); end # @raise [ParseError] # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1335 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1335 def _reduce_2(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1441 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1441 def _reduce_20(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1447 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1447 def _reduce_21(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1453 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1453 def _reduce_22(val, _values, result); end # reduce 26 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1469 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1469 def _reduce_27(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1475 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1475 def _reduce_28(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1481 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1481 def _reduce_29(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1340 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1340 def _reduce_3(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1487 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1487 def _reduce_30(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1492 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1492 def _reduce_31(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1497 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1497 def _reduce_32(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1503 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1503 def _reduce_33(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1508 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1508 def _reduce_34(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1513 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1513 def _reduce_35(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1519 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1519 def _reduce_36(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1525 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1525 def _reduce_37(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1530 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1530 def _reduce_38(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1535 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1535 def _reduce_39(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1345 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1345 def _reduce_4(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1541 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1541 def _reduce_40(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1547 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1547 def _reduce_41(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1552 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1552 def _reduce_42(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1557 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1557 def _reduce_43(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1565 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1565 def _reduce_44(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1571 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1571 def _reduce_45(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1576 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1576 def _reduce_46(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1581 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1581 def _reduce_47(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1587 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1587 def _reduce_48(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1593 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1593 def _reduce_49(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1350 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1350 def _reduce_5(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1599 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1599 def _reduce_50(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1605 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1605 def _reduce_51(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1611 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1611 def _reduce_52(val, _values, result); end # reduce 53 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1618 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1618 def _reduce_54(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1623 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1623 def _reduce_55(val, _values, result); end # reduce 56 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1630 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1630 def _reduce_57(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1355 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1355 def _reduce_6(val, _values, result); end # reduce 61 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1643 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1643 def _reduce_62(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1649 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1649 def _reduce_63(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1655 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1655 def _reduce_64(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1661 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1661 def _reduce_65(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1667 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1667 def _reduce_66(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1673 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1673 def _reduce_67(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1678 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1678 def _reduce_68(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1683 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1683 def _reduce_69(val, _values, result); end # reduce 70 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1690 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1690 def _reduce_71(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1695 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1695 def _reduce_72(val, _values, result); end # reduce 7 omitted # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1362 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1362 def _reduce_8(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1367 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1367 def _reduce_9(val, _values, result); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#1700 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1700 def _reduce_none(val, _values, result); end # Adds footnote +content+ to the document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1045 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1045 def add_footnote(content); end # Adds label +label+ to the document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1059 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1059 def add_label(label); end # Retrieves the content of +values+ as a single String # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1028 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1028 def content(values); end # Footnotes for this document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#679 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:679 def footnotes; end # Path to find included files in # - # source://rdoc//lib/rdoc/rd/block_parser.rb#689 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:689 def include_path; end # Path to find included files in # - # source://rdoc//lib/rdoc/rd/block_parser.rb#689 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:689 def include_path=(_arg0); end # Labels for items in this document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#684 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:684 def labels; end # Current line number # - # source://rdoc//lib/rdoc/rd/block_parser.rb#983 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:983 def line_index; end # Returns the next token from the document # - # source://rdoc//lib/rdoc/rd/block_parser.rb#751 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:751 def next_token; end # Raises a ParseError when invalid formatting is found # # @raise [ParseError] # - # source://rdoc//lib/rdoc/rd/block_parser.rb#967 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:967 def on_error(et, ev, _values); end # Creates a paragraph for +value+ # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1035 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1035 def paragraph(value); end # Parses +src+ and returns an RDoc::Markup::Document. # - # source://rdoc//lib/rdoc/rd/block_parser.rb#707 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:707 def parse(src); end private # Cuts off excess whitespace in +src+ # - # source://rdoc//lib/rdoc/rd/block_parser.rb#931 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:931 def cut_off(src); end # Formats line numbers +line_numbers+ prettily # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1019 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1019 def format_line_num(*line_numbers); end # Retrieves the content for +file+ from the include_path # - # source://rdoc//lib/rdoc/rd/block_parser.rb#1000 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1000 def get_included(file); end # Yields to the given block if +indent+ matches the current indent, otherwise # an indentation token is processed. # - # source://rdoc//lib/rdoc/rd/block_parser.rb#913 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:913 def if_current_indent_equal(indent); end # Parses subtree +src+ # - # source://rdoc//lib/rdoc/rd/block_parser.rb#990 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:990 def parse_subtree(src); end - # source://rdoc//lib/rdoc/rd/block_parser.rb#958 + # pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:958 def set_term_to_element(parent, term); end end -# source://rdoc//lib/rdoc/rd/block_parser.rb#1324 +# pkg:gem/rdoc#lib/rdoc/rd/block_parser.rb:1324 RDoc::RD::BlockParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # Inline keeps track of markup and labels to create proper links. # -# source://rdoc//lib/rdoc/rd/inline.rb#5 +# pkg:gem/rdoc#lib/rdoc/rd/inline.rb:5 class RDoc::RD::Inline # Initializes the Inline with +rdoc+ and +inline+ # # @return [Inline] a new instance of Inline # - # source://rdoc//lib/rdoc/rd/inline.rb#34 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:34 def initialize(rdoc, reference); end - # source://rdoc//lib/rdoc/rd/inline.rb#42 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:42 def ==(other); end # Appends +more+ to this inline. +more+ may be a String or another Inline. # - # source://rdoc//lib/rdoc/rd/inline.rb#50 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:50 def append(more); end - # source://rdoc//lib/rdoc/rd/inline.rb#65 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:65 def inspect; end # The markup of this reference in RDoc format # - # source://rdoc//lib/rdoc/rd/inline.rb#15 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:15 def rdoc; end # The text of the reference # - # source://rdoc//lib/rdoc/rd/inline.rb#10 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:10 def reference; end # The markup of this reference in RDoc format # - # source://rdoc//lib/rdoc/rd/inline.rb#69 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:69 def to_s; end class << self @@ -10828,241 +10826,241 @@ class RDoc::RD::Inline # +rdoc+ may be another Inline or a String. If +reference+ is not given it # will use the text from +rdoc+. # - # source://rdoc//lib/rdoc/rd/inline.rb#23 + # pkg:gem/rdoc#lib/rdoc/rd/inline.rb:23 def new(rdoc, reference = T.unsafe(nil)); end end end # RD format parser for inline markup such as emphasis, links, footnotes, etc. # -# source://rdoc//lib/rdoc/rd/inline_parser.rb#661 +# pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:661 class RDoc::RD::InlineParser < ::Racc::Parser # Creates a new parser for inline markup in the rd format. The +block_parser+ # is used to for footnotes and labels in the inline text. # # @return [InlineParser] a new instance of InlineParser # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#734 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:734 def initialize(block_parser); end # reduce 100 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1746 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1746 def _reduce_101(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1753 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1753 def _reduce_102(val, _values, result); end # reduce 108 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1771 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1771 def _reduce_109(val, _values, result); end # reduce 110 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1778 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1778 def _reduce_111(val, _values, result); end # reduce 112 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1786 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1786 def _reduce_113(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1791 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1791 def _reduce_114(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1796 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1796 def _reduce_115(val, _values, result); end # reduce 12 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1409 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1409 def _reduce_13(val, _values, result); end # reduce 135 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1841 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1841 def _reduce_136(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1416 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1416 def _reduce_14(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1423 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1423 def _reduce_15(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1430 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1430 def _reduce_16(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1437 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1437 def _reduce_17(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1445 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1445 def _reduce_18(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1451 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1451 def _reduce_19(val, _values, result); end # reduce 1 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1381 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1381 def _reduce_2(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1459 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1459 def _reduce_20(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1465 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1465 def _reduce_21(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1474 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1474 def _reduce_22(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1480 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1480 def _reduce_23(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1486 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1486 def _reduce_24(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1492 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1492 def _reduce_25(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1501 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1501 def _reduce_26(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1507 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1507 def _reduce_27(val, _values, result); end # reduce 28 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1516 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1516 def _reduce_29(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1386 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1386 def _reduce_3(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1521 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1521 def _reduce_30(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1526 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1526 def _reduce_31(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1532 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1532 def _reduce_32(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1538 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1538 def _reduce_33(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1544 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1544 def _reduce_34(val, _values, result); end # reduce 35 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1552 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1552 def _reduce_36(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1557 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1557 def _reduce_37(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1562 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1562 def _reduce_38(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1568 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1568 def _reduce_39(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1574 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1574 def _reduce_40(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1580 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1580 def _reduce_41(val, _values, result); end # reduce 42 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1588 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1588 def _reduce_43(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1594 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1594 def _reduce_44(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1600 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1600 def _reduce_45(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1606 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1606 def _reduce_46(val, _values, result); end # reduce 56 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1632 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1632 def _reduce_57(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1638 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1638 def _reduce_58(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1644 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1644 def _reduce_59(val, _values, result); end - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1650 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1650 def _reduce_60(val, _values, result); end # reduce 61 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1657 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1657 def _reduce_62(val, _values, result); end # reduce 63 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1665 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1665 def _reduce_64(val, _values, result); end # reduce 77 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1697 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1697 def _reduce_78(val, _values, result); end # reduce 137 omitted # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#1848 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1848 def _reduce_none(val, _values, result); end # Creates a new RDoc::RD::Inline for the +rdoc+ markup and the raw +reference+ # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#883 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:883 def inline(rdoc, reference = T.unsafe(nil)); end # Returns the next token from the inline text # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#752 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:752 def next_token; end # Returns words following an error # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#872 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:872 def next_words_on_error; end # Raises a ParseError when invalid formatting is found # # @raise [ParseError] # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#832 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:832 def on_error(et, ev, values); end # Parses the +inline+ text from RD format into RDoc format. # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#741 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:741 def parse(inline); end # Returns words before the error # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#849 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:849 def prev_words_on_error(ev); end private # Returns the last line of +src+ # - # source://rdoc//lib/rdoc/rd/inline_parser.rb#860 + # pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:860 def last_line(src); end end -# source://rdoc//lib/rdoc/rd/inline_parser.rb#1373 +# pkg:gem/rdoc#lib/rdoc/rd/inline_parser.rb:1373 RDoc::RD::InlineParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # This is the driver for generating RDoc output. It handles file parsing and @@ -11084,14 +11082,14 @@ RDoc::RD::InlineParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) # Where +argv+ is an array of strings, each corresponding to an argument you'd # give rdoc on the command line. See rdoc --help for details. # -# source://rdoc//lib/rdoc/rdoc.rb#29 +# pkg:gem/rdoc#lib/rdoc/rdoc.rb:29 class RDoc::RDoc # Creates a new RDoc::RDoc instance. Call #document to parse files and # generate documentation. # # @return [RDoc] a new instance of RDoc # - # source://rdoc//lib/rdoc/rdoc.rb#100 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:100 def initialize; end # Generates documentation or a coverage report depending upon the settings @@ -11107,52 +11105,52 @@ class RDoc::RDoc # By default, output will be stored in a directory called "doc" below the # current directory, so make sure you're somewhere writable before invoking. # - # source://rdoc//lib/rdoc/rdoc.rb#443 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:443 def document(options); end # Report an error message and exit # # @raise [RDoc::Error] # - # source://rdoc//lib/rdoc/rdoc.rb#113 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:113 def error(msg); end # Gathers a set of parseable files from the files and directories listed in # +files+. # - # source://rdoc//lib/rdoc/rdoc.rb#121 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:121 def gather_files(files); end # Generates documentation for +file_info+ (from #parse_files) into the # output dir using the generator selected # by the RDoc options # - # source://rdoc//lib/rdoc/rdoc.rb#502 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:502 def generate; end # Generator instance used for creating output # - # source://rdoc//lib/rdoc/rdoc.rb#52 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:52 def generator; end # Generator instance used for creating output # - # source://rdoc//lib/rdoc/rdoc.rb#52 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:52 def generator=(_arg0); end # Turns RDoc from stdin into HTML # - # source://rdoc//lib/rdoc/rdoc.rb#142 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:142 def handle_pipe; end # Installs a siginfo handler that prints the current filename. # - # source://rdoc//lib/rdoc/rdoc.rb#157 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:157 def install_siginfo_handler; end # Hash of files and their last modified times. # - # source://rdoc//lib/rdoc/rdoc.rb#57 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:57 def last_modified; end # Return a list of the files to be processed in a directory. We know that @@ -11160,7 +11158,7 @@ class RDoc::RDoc # files. However we may well contain subdirectories which must be tested # for .document files. # - # source://rdoc//lib/rdoc/rdoc.rb#314 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:314 def list_files_in_directory(dir); end # Given a list of files and directories, create a list of all the Ruby @@ -11174,105 +11172,105 @@ class RDoc::RDoc # The effect of this is that if you want a file with a non-standard # extension parsed, you must name it explicitly. # - # source://rdoc//lib/rdoc/rdoc.rb#266 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:266 def normalized_file_list(relative_files, force_doc = T.unsafe(nil), exclude_pattern = T.unsafe(nil)); end # RDoc options # - # source://rdoc//lib/rdoc/rdoc.rb#62 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:62 def options; end # RDoc options # - # source://rdoc//lib/rdoc/rdoc.rb#62 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:62 def options=(_arg0); end # Return the path name of the flag file in an output directory. # - # source://rdoc//lib/rdoc/rdoc.rb#231 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:231 def output_flag_file(op_dir); end # The .document file contains a list of file and directory name patterns, # representing candidates for documentation. It may also contain comments # (starting with '#') # - # source://rdoc//lib/rdoc/rdoc.rb#240 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:240 def parse_dot_doc_file(in_dir, filename); end # Parses +filename+ and returns an RDoc::TopLevel # - # source://rdoc//lib/rdoc/rdoc.rb#323 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:323 def parse_file(filename); end # Parse each file on the command line, recursively entering directories. # - # source://rdoc//lib/rdoc/rdoc.rb#394 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:394 def parse_files(files); end # Removes a siginfo handler and replaces the previous # - # source://rdoc//lib/rdoc/rdoc.rb#522 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:522 def remove_siginfo_handler; end # Removes file extensions known to be unparseable from +files+ and TAGS # files for emacs and vim. # - # source://rdoc//lib/rdoc/rdoc.rb#421 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:421 def remove_unparseable(files); end # Create an output dir if it doesn't exist. If it does exist, but doesn't # contain the flag file created.rid then we refuse to use it, as # we may clobber some manually generated documentation # - # source://rdoc//lib/rdoc/rdoc.rb#170 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:170 def setup_output_dir(dir, force); end # Accessor for statistics. Available after each call to parse_files # - # source://rdoc//lib/rdoc/rdoc.rb#67 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:67 def stats; end # The current documentation store # - # source://rdoc//lib/rdoc/rdoc.rb#72 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:72 def store; end # The current documentation store # - # source://rdoc//lib/rdoc/rdoc.rb#72 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:72 def store=(_arg0); end # Update the flag file in an output directory. # - # source://rdoc//lib/rdoc/rdoc.rb#214 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:214 def update_output_dir(op_dir, time, last = T.unsafe(nil)); end class << self # Add +klass+ that can generate output after parsing # - # source://rdoc//lib/rdoc/rdoc.rb#77 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:77 def add_generator(klass); end # Active RDoc::RDoc instance # - # source://rdoc//lib/rdoc/rdoc.rb#85 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:85 def current; end # Sets the active RDoc::RDoc instance # - # source://rdoc//lib/rdoc/rdoc.rb#92 + # pkg:gem/rdoc#lib/rdoc/rdoc.rb:92 def current=(rdoc); end end end # List of directory names skipped if test suites should be skipped # -# source://rdoc//lib/rdoc/rdoc.rb#46 +# pkg:gem/rdoc#lib/rdoc/rdoc.rb:46 RDoc::RDoc::TEST_SUITE_DIRECTORY_NAMES = T.let(T.unsafe(nil), Array) # List of directory names always skipped # -# source://rdoc//lib/rdoc/rdoc.rb#41 +# pkg:gem/rdoc#lib/rdoc/rdoc.rb:41 RDoc::RDoc::UNCONDITIONALLY_SKIPPED_DIRECTORIES = T.let(T.unsafe(nil), Array) # The RI driver implements the command-line ri tool. @@ -11290,135 +11288,135 @@ RDoc::RDoc::UNCONDITIONALLY_SKIPPED_DIRECTORIES = T.let(T.unsafe(nil), Array) # * Colorized output # * Merging output from multiple RI data sources # -# source://rdoc//lib/rdoc/ri/driver.rb#25 +# pkg:gem/rdoc#lib/rdoc/ri/driver.rb:25 class RDoc::RI::Driver # Creates a new driver using +initial_options+ from ::process_args # # @return [Driver] a new instance of Driver # - # source://rdoc//lib/rdoc/ri/driver.rb#402 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:402 def initialize(initial_options = T.unsafe(nil)); end # Adds paths for undocumented classes +also_in+ to +out+ # - # source://rdoc//lib/rdoc/ri/driver.rb#441 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:441 def add_also_in(out, also_in); end # Adds a class header to +out+ for class +name+ which is described in # +classes+. # - # source://rdoc//lib/rdoc/ri/driver.rb#458 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:458 def add_class(out, name, classes); end # Adds +extends+ to +out+ # - # source://rdoc//lib/rdoc/ri/driver.rb#485 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:485 def add_extends(out, extends); end # Adds a list of +extensions+ to this module of the given +type+ to +out+. # add_includes and add_extends call this, so you should use those directly. # - # source://rdoc//lib/rdoc/ri/driver.rb#493 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:493 def add_extension_modules(out, type, extensions); end # Renders multiple included +modules+ from +store+ to +out+. # - # source://rdoc//lib/rdoc/ri/driver.rb#511 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:511 def add_extension_modules_multiple(out, store, modules); end # Adds a single extension module +include+ from +store+ to +out+ # - # source://rdoc//lib/rdoc/ri/driver.rb#538 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:538 def add_extension_modules_single(out, store, include); end # Adds "(from ...)" to +out+ for +store+ # - # source://rdoc//lib/rdoc/ri/driver.rb#478 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:478 def add_from(out, store); end # Adds +includes+ to +out+ # - # source://rdoc//lib/rdoc/ri/driver.rb#552 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:552 def add_includes(out, includes); end # Looks up the method +name+ and adds it to +out+ # - # source://rdoc//lib/rdoc/ri/driver.rb#559 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:559 def add_method(out, name); end # Adds documentation for all methods in +klass+ to +out+ # - # source://rdoc//lib/rdoc/ri/driver.rb#567 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:567 def add_method_documentation(out, klass); end # Adds a list of +methods+ to +out+ with a heading of +name+ # - # source://rdoc//lib/rdoc/ri/driver.rb#580 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:580 def add_method_list(out, methods, name); end # Returns ancestor classes of +klass+ # - # source://rdoc//lib/rdoc/ri/driver.rb#600 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:600 def ancestors_of(klass); end - # source://rdoc//lib/rdoc/ri/driver.rb#946 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:946 def check_did_you_mean; end # For RubyGems backwards compatibility # - # source://rdoc//lib/rdoc/ri/driver.rb#631 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:631 def class_cache; end # Builds a RDoc::Markup::Document from +found+, +klasess+ and +includes+ # - # source://rdoc//lib/rdoc/ri/driver.rb#637 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:637 def class_document(name, found, klasses, includes, extends); end # Adds the class +comment+ to +out+. # - # source://rdoc//lib/rdoc/ri/driver.rb#660 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:660 def class_document_comment(out, document); end # Adds the constants from +klass+ to the Document +out+. # - # source://rdoc//lib/rdoc/ri/driver.rb#680 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:680 def class_document_constants(out, klass); end # Hash mapping a known class or module to the stores it can be loaded from # - # source://rdoc//lib/rdoc/ri/driver.rb#704 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:704 def classes; end # Returns the stores wherein +name+ is found along with the classes, # extends and includes that match it # - # source://rdoc//lib/rdoc/ri/driver.rb#724 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:724 def classes_and_includes_and_extends_for(name); end # Completes +name+ based on the caches. For Readline # - # source://rdoc//lib/rdoc/ri/driver.rb#749 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:749 def complete(name); end - # source://rdoc//lib/rdoc/ri/driver.rb#760 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:760 def complete_klass(name, klass, selector, method, completions); end - # source://rdoc//lib/rdoc/ri/driver.rb#779 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:779 def complete_method(name, klass, selector, completions); end # Converts +document+ to text and writes it to the pager # - # source://rdoc//lib/rdoc/ri/driver.rb#807 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:807 def display(document); end # Outputs formatted RI data for class +name+. Groups undocumented classes # - # source://rdoc//lib/rdoc/ri/driver.rb#820 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:820 def display_class(name); end # Outputs formatted RI data for method +name+ # - # source://rdoc//lib/rdoc/ri/driver.rb#836 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:836 def display_method(name); end # Outputs formatted RI data for the class or method +name+. @@ -11426,42 +11424,42 @@ class RDoc::RI::Driver # Returns true if +name+ was found, false if it was not an alternative could # be guessed, raises an error if +name+ couldn't be guessed. # - # source://rdoc//lib/rdoc/ri/driver.rb#852 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:852 def display_name(name); end # Displays each name in +name+ # - # source://rdoc//lib/rdoc/ri/driver.rb#881 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:881 def display_names(names); end # Outputs formatted RI data for page +name+. # - # source://rdoc//lib/rdoc/ri/driver.rb#892 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:892 def display_page(name); end # Outputs a formatted RI page list for the pages in +store+. # - # source://rdoc//lib/rdoc/ri/driver.rb#923 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:923 def display_page_list(store, pages = T.unsafe(nil), search = T.unsafe(nil)); end # Expands abbreviated klass +klass+ into a fully-qualified class. "Zl::Da" # will be expanded to Zlib::DataError. # - # source://rdoc//lib/rdoc/ri/driver.rb#967 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:967 def expand_class(klass); end # Expands the class portion of +name+ into a fully-qualified class. See # #expand_class. # - # source://rdoc//lib/rdoc/ri/driver.rb#985 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:985 def expand_name(name); end - # source://rdoc//lib/rdoc/ri/driver.rb#1534 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1534 def expand_rdoc_refs_at_the_bottom(out); end # Filters the methods in +found+ trying to find a match for +name+. # - # source://rdoc//lib/rdoc/ri/driver.rb#1001 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1001 def filter_methods(found, name); end # Yields items matching +name+ including the store they were found in, the @@ -11469,7 +11467,7 @@ class RDoc::RI::Driver # types of methods to look up (from #method_type), and the method name being # searched for # - # source://rdoc//lib/rdoc/ri/driver.rb#1019 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1019 def find_methods(name); end # Finds a store that matches +name+ which can be the name of a gem, "ruby", @@ -11479,73 +11477,73 @@ class RDoc::RI::Driver # # @raise [RDoc::RI::Driver::NotFoundError] # - # source://rdoc//lib/rdoc/ri/driver.rb#1065 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1065 def find_store(name); end # Creates a new RDoc::Markup::Formatter. If a formatter is given with -f, # use it. If we're outputting to a pager, use bs, otherwise ansi. # - # source://rdoc//lib/rdoc/ri/driver.rb#1082 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1082 def formatter(io); end # Runs ri interactively using Readline if it is available. # - # source://rdoc//lib/rdoc/ri/driver.rb#1095 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1095 def interactive; end # Lists classes known to ri starting with +names+. If +names+ is empty all # known classes are shown. # - # source://rdoc//lib/rdoc/ri/driver.rb#1134 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1134 def list_known_classes(names = T.unsafe(nil)); end # Returns an Array of methods matching +name+ # - # source://rdoc//lib/rdoc/ri/driver.rb#1166 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1166 def list_methods_matching(name); end # Loads RI data for method +name+ on +klass+ from +store+. +type+ and # +cache+ indicate if it is a class or instance method. # - # source://rdoc//lib/rdoc/ri/driver.rb#1205 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1205 def load_method(store, cache, klass, type, name); end # Returns an Array of RI data for methods matching +name+ # - # source://rdoc//lib/rdoc/ri/driver.rb#1229 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1229 def load_methods_matching(name); end # Returns a filtered list of methods matching +name+ # - # source://rdoc//lib/rdoc/ri/driver.rb#1250 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1250 def lookup_method(name); end # Builds a RDoc::Markup::Document from +found+, +klasses+ and +includes+ # - # source://rdoc//lib/rdoc/ri/driver.rb#1275 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1275 def method_document(out, name, filtered); end # Returns the type of method (:both, :instance, :class) for +selector+ # - # source://rdoc//lib/rdoc/ri/driver.rb#1291 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1291 def method_type(selector); end # Returns a regular expression for +name+ that will match an # RDoc::AnyMethod's name. # - # source://rdoc//lib/rdoc/ri/driver.rb#1303 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1303 def name_regexp(name); end # Paginates output through a pager program. # - # source://rdoc//lib/rdoc/ri/driver.rb#1317 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1317 def page; end # Are we using a pager? # # @return [Boolean] # - # source://rdoc//lib/rdoc/ri/driver.rb#1335 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1335 def paging?; end # Extracts the class, selector and method name parts from +name+ like @@ -11554,126 +11552,126 @@ class RDoc::RI::Driver # NOTE: Given Foo::Bar, Bar is considered a class even though it may be a # method # - # source://rdoc//lib/rdoc/ri/driver.rb#1346 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1346 def parse_name(name); end # Renders the +klass+ from +store+ to +out+. If the klass has no # documentable items the class is added to +also_in+ instead. # - # source://rdoc//lib/rdoc/ri/driver.rb#1378 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1378 def render_class(out, store, klass, also_in); end - # source://rdoc//lib/rdoc/ri/driver.rb#1408 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1408 def render_method(out, store, method, name); end - # source://rdoc//lib/rdoc/ri/driver.rb#1428 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1428 def render_method_arguments(out, arglists); end - # source://rdoc//lib/rdoc/ri/driver.rb#1437 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1437 def render_method_comment(out, method, alias_for = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/ri/driver.rb#1455 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1455 def render_method_superclass(out, method); end # Looks up and displays ri data according to the options given. # - # source://rdoc//lib/rdoc/ri/driver.rb#1467 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1467 def run; end # Sets up a pager program to pass output through. Tries the RI_PAGER and # PAGER environment variables followed by pager, less then more. # - # source://rdoc//lib/rdoc/ri/driver.rb#1487 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1487 def setup_pager; end # Show all method documentation following a class or module # - # source://rdoc//lib/rdoc/ri/driver.rb#62 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:62 def show_all; end # Show all method documentation following a class or module # - # source://rdoc//lib/rdoc/ri/driver.rb#62 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:62 def show_all=(_arg0); end # Starts a WEBrick server for ri. # - # source://rdoc//lib/rdoc/ri/driver.rb#1513 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1513 def start_server; end # An RDoc::RI::Store for each entry in the RI path # - # source://rdoc//lib/rdoc/ri/driver.rb#67 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:67 def stores; end # An RDoc::RI::Store for each entry in the RI path # - # source://rdoc//lib/rdoc/ri/driver.rb#67 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:67 def stores=(_arg0); end # Controls the user of the pager vs $stdout # - # source://rdoc//lib/rdoc/ri/driver.rb#72 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:72 def use_stdout; end # Controls the user of the pager vs $stdout # - # source://rdoc//lib/rdoc/ri/driver.rb#72 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:72 def use_stdout=(_arg0); end class << self # Default options for ri # - # source://rdoc//lib/rdoc/ri/driver.rb#77 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:77 def default_options; end # Dump +data_path+ using pp # - # source://rdoc//lib/rdoc/ri/driver.rb#99 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:99 def dump(data_path); end # Parses +argv+ and returns a Hash of options # - # source://rdoc//lib/rdoc/ri/driver.rb#110 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:110 def process_args(argv); end # Runs the ri command line executable using +argv+ # - # source://rdoc//lib/rdoc/ri/driver.rb#387 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:387 def run(argv = T.unsafe(nil)); end end end # Raised when a name isn't found in the ri data stores # -# source://rdoc//lib/rdoc/ri/driver.rb#35 +# pkg:gem/rdoc#lib/rdoc/ri/driver.rb:35 class RDoc::RI::Driver::NotFoundError < ::RDoc::RI::Driver::Error # @return [NotFoundError] a new instance of NotFoundError # - # source://rdoc//lib/rdoc/ri/driver.rb#37 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:37 def initialize(klass, suggestion_proc = T.unsafe(nil)); end - # source://rdoc//lib/rdoc/ri/driver.rb#49 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:49 def message; end # Name that wasn't found # - # source://rdoc//lib/rdoc/ri/driver.rb#45 + # pkg:gem/rdoc#lib/rdoc/ri/driver.rb:45 def name; end end -# source://rdoc//lib/rdoc/ri/driver.rb#1532 +# pkg:gem/rdoc#lib/rdoc/ri/driver.rb:1532 RDoc::RI::Driver::RDOC_REFS_REGEXP = T.let(T.unsafe(nil), Regexp) # For RubyGems backwards compatibility # -# source://rdoc//lib/rdoc/ri/formatter.rb#5 +# pkg:gem/rdoc#lib/rdoc/ri/formatter.rb:5 module RDoc::RI::Formatter; end # The directories where ri data lives. Paths can be enumerated via ::each, or # queried individually via ::system_dir, ::site_dir, ::home_dir and ::gem_dir. # -# source://rdoc//lib/rdoc/ri/paths.rb#8 +# pkg:gem/rdoc#lib/rdoc/ri/paths.rb:8 module RDoc::RI::Paths class << self # Iterates over each selected path yielding the directory and type. @@ -11690,12 +11688,12 @@ module RDoc::RI::Paths # # @yield [system_dir, :system] # - # source://rdoc//lib/rdoc/ri/paths.rb#33 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:33 def each(system = T.unsafe(nil), site = T.unsafe(nil), home = T.unsafe(nil), gems = T.unsafe(nil), *extra_dirs); end # The ri directory for the gem with +gem_name+. # - # source://rdoc//lib/rdoc/ri/paths.rb#55 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:55 def gem_dir(name, version); end # The latest installed gems' ri directories. +filter+ can be :all or @@ -11704,7 +11702,7 @@ module RDoc::RI::Paths # A +filter+ :all includes all versions of gems and includes gems without # ri documentation. # - # source://rdoc//lib/rdoc/ri/paths.rb#70 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:70 def gemdirs(filter = T.unsafe(nil)); end # The location of the rdoc data in the user's home directory. @@ -11713,7 +11711,7 @@ module RDoc::RI::Paths # libraries distributed via RubyGems. ri data is rarely generated into this # directory. # - # source://rdoc//lib/rdoc/ri/paths.rb#115 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:115 def home_dir; end # Returns existing directories from the selected documentation directories @@ -11721,7 +11719,7 @@ module RDoc::RI::Paths # # See also ::each # - # source://rdoc//lib/rdoc/ri/paths.rb#125 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:125 def path(system = T.unsafe(nil), site = T.unsafe(nil), home = T.unsafe(nil), gems = T.unsafe(nil), *extra_dirs); end # Returns selected documentation directories including nonexistent @@ -11729,7 +11727,7 @@ module RDoc::RI::Paths # # See also ::each # - # source://rdoc//lib/rdoc/ri/paths.rb#137 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:137 def raw_path(system, site, home, gems, *extra_dirs); end # The location of ri data installed into the site dir. @@ -11738,7 +11736,7 @@ module RDoc::RI::Paths # libraries predating RubyGems. It is unlikely to contain any content for # modern Ruby installations. # - # source://rdoc//lib/rdoc/ri/paths.rb#154 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:154 def site_dir; end # The location of the built-in ri data. @@ -11749,72 +11747,72 @@ module RDoc::RI::Paths # package manager or Ruby installer for details. You can also use the # rdoc-data gem to install system ri data for common versions of Ruby. # - # source://rdoc//lib/rdoc/ri/paths.rb#167 + # pkg:gem/rdoc#lib/rdoc/ri/paths.rb:167 def system_dir; end end end -# source://rdoc//lib/rdoc/ri/store.rb#4 +# pkg:gem/rdoc#lib/rdoc/ri/store.rb:4 RDoc::RI::Store = RDoc::Store # A file loaded by \#require # -# source://rdoc//lib/rdoc/code_object/require.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/require.rb:5 class RDoc::Require < ::RDoc::CodeObject # Creates a new Require that loads +name+ with +comment+ # # @return [Require] a new instance of Require # - # source://rdoc//lib/rdoc/code_object/require.rb#15 + # pkg:gem/rdoc#lib/rdoc/code_object/require.rb:15 def initialize(name, comment); end - # source://rdoc//lib/rdoc/code_object/require.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/require.rb:22 def inspect; end # Name of the required file # - # source://rdoc//lib/rdoc/code_object/require.rb#10 + # pkg:gem/rdoc#lib/rdoc/code_object/require.rb:10 def name; end # Name of the required file # - # source://rdoc//lib/rdoc/code_object/require.rb#10 + # pkg:gem/rdoc#lib/rdoc/code_object/require.rb:10 def name=(_arg0); end - # source://rdoc//lib/rdoc/code_object/require.rb#31 + # pkg:gem/rdoc#lib/rdoc/code_object/require.rb:31 def to_s; end # The RDoc::TopLevel corresponding to this require, or +nil+ if not found. # - # source://rdoc//lib/rdoc/code_object/require.rb#38 + # pkg:gem/rdoc#lib/rdoc/code_object/require.rb:38 def top_level; end end # A singleton class # -# source://rdoc//lib/rdoc/code_object/single_class.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/single_class.rb:5 class RDoc::SingleClass < ::RDoc::ClassModule # Adds the superclass to the included modules. # - # source://rdoc//lib/rdoc/code_object/single_class.rb#10 + # pkg:gem/rdoc#lib/rdoc/code_object/single_class.rb:10 def ancestors; end - # source://rdoc//lib/rdoc/code_object/single_class.rb#14 + # pkg:gem/rdoc#lib/rdoc/code_object/single_class.rb:14 def aref_prefix; end # The definition of this singleton class, class << MyClassName # - # source://rdoc//lib/rdoc/code_object/single_class.rb#21 + # pkg:gem/rdoc#lib/rdoc/code_object/single_class.rb:21 def definition; end - # source://rdoc//lib/rdoc/code_object/single_class.rb#25 + # pkg:gem/rdoc#lib/rdoc/code_object/single_class.rb:25 def pretty_print(q); end end # RDoc statistics collector which prints a summary and report of a project's # documentation totals. # -# source://rdoc//lib/rdoc/stats.rb#6 +# pkg:gem/rdoc#lib/rdoc/stats.rb:6 class RDoc::Stats include ::RDoc::Text @@ -11823,58 +11821,58 @@ class RDoc::Stats # # @return [Stats] a new instance of Stats # - # source://rdoc//lib/rdoc/stats.rb#29 + # pkg:gem/rdoc#lib/rdoc/stats.rb:29 def initialize(store, num_files, verbosity = T.unsafe(nil)); end # Records the parsing of an alias +as+. # - # source://rdoc//lib/rdoc/stats.rb#52 + # pkg:gem/rdoc#lib/rdoc/stats.rb:52 def add_alias(as); end # Records the parsing of an attribute +attribute+ # - # source://rdoc//lib/rdoc/stats.rb#59 + # pkg:gem/rdoc#lib/rdoc/stats.rb:59 def add_attribute(attribute); end # Records the parsing of a class +klass+ # - # source://rdoc//lib/rdoc/stats.rb#66 + # pkg:gem/rdoc#lib/rdoc/stats.rb:66 def add_class(klass); end # Records the parsing of +constant+ # - # source://rdoc//lib/rdoc/stats.rb#73 + # pkg:gem/rdoc#lib/rdoc/stats.rb:73 def add_constant(constant); end # Records the parsing of +file+ # - # source://rdoc//lib/rdoc/stats.rb#80 + # pkg:gem/rdoc#lib/rdoc/stats.rb:80 def add_file(file); end # Records the parsing of +method+ # - # source://rdoc//lib/rdoc/stats.rb#88 + # pkg:gem/rdoc#lib/rdoc/stats.rb:88 def add_method(method); end # Records the parsing of a module +mod+ # - # source://rdoc//lib/rdoc/stats.rb#95 + # pkg:gem/rdoc#lib/rdoc/stats.rb:95 def add_module(mod); end # Call this to mark the beginning of parsing for display purposes # - # source://rdoc//lib/rdoc/stats.rb#102 + # pkg:gem/rdoc#lib/rdoc/stats.rb:102 def begin_adding; end # Calculates documentation totals and percentages for classes, modules, # constants, attributes and methods. # - # source://rdoc//lib/rdoc/stats.rb#110 + # pkg:gem/rdoc#lib/rdoc/stats.rb:110 def calculate; end # Output level for the coverage report # - # source://rdoc//lib/rdoc/stats.rb#13 + # pkg:gem/rdoc#lib/rdoc/stats.rb:13 def coverage_level; end # Sets coverage report level. Accepted values are: @@ -11883,22 +11881,22 @@ class RDoc::Stats # 0:: Classes, modules, constants, attributes, methods # 1:: Level 0 + method parameters # - # source://rdoc//lib/rdoc/stats.rb#158 + # pkg:gem/rdoc#lib/rdoc/stats.rb:158 def coverage_level=(level); end # Returns the length and number of undocumented items in +collection+. # - # source://rdoc//lib/rdoc/stats.rb#167 + # pkg:gem/rdoc#lib/rdoc/stats.rb:167 def doc_stats(collection); end # Call this to mark the end of parsing for display purposes # - # source://rdoc//lib/rdoc/stats.rb#175 + # pkg:gem/rdoc#lib/rdoc/stats.rb:175 def done_adding; end # Count of files parsed during parsing # - # source://rdoc//lib/rdoc/stats.rb#18 + # pkg:gem/rdoc#lib/rdoc/stats.rb:18 def files_so_far; end # The documentation status of this project. +true+ when 100%, +false+ when @@ -11908,164 +11906,164 @@ class RDoc::Stats # # @return [Boolean] # - # source://rdoc//lib/rdoc/stats.rb#185 + # pkg:gem/rdoc#lib/rdoc/stats.rb:185 def fully_documented?; end # A report that says you did a great job! # - # source://rdoc//lib/rdoc/stats.rb#192 + # pkg:gem/rdoc#lib/rdoc/stats.rb:192 def great_job; end # Total number of files found # - # source://rdoc//lib/rdoc/stats.rb#23 + # pkg:gem/rdoc#lib/rdoc/stats.rb:23 def num_files; end # Calculates the percentage of items documented. # - # source://rdoc//lib/rdoc/stats.rb#204 + # pkg:gem/rdoc#lib/rdoc/stats.rb:204 def percent_doc; end # Returns a report on which items are not documented # - # source://rdoc//lib/rdoc/stats.rb#218 + # pkg:gem/rdoc#lib/rdoc/stats.rb:218 def report; end # Returns a report on undocumented attributes in ClassModule +cm+ # - # source://rdoc//lib/rdoc/stats.rb#259 + # pkg:gem/rdoc#lib/rdoc/stats.rb:259 def report_attributes(cm); end # Returns a report on undocumented items in ClassModule +cm+ # - # source://rdoc//lib/rdoc/stats.rb#277 + # pkg:gem/rdoc#lib/rdoc/stats.rb:277 def report_class_module(cm); end # Returns a report on undocumented constants in ClassModule +cm+ # - # source://rdoc//lib/rdoc/stats.rb#329 + # pkg:gem/rdoc#lib/rdoc/stats.rb:329 def report_constants(cm); end # Returns a report on undocumented methods in ClassModule +cm+ # - # source://rdoc//lib/rdoc/stats.rb#351 + # pkg:gem/rdoc#lib/rdoc/stats.rb:351 def report_methods(cm); end # Returns a summary of the collected statistics. # - # source://rdoc//lib/rdoc/stats.rb#389 + # pkg:gem/rdoc#lib/rdoc/stats.rb:389 def summary; end # Determines which parameters in +method+ were not documented. Returns a # total parameter count and an Array of undocumented methods. # - # source://rdoc//lib/rdoc/stats.rb#439 + # pkg:gem/rdoc#lib/rdoc/stats.rb:439 def undoc_params(method); end end # Stats printer that prints just the files being documented with a progress # bar # -# source://rdoc//lib/rdoc/stats/normal.rb#13 +# pkg:gem/rdoc#lib/rdoc/stats/normal.rb:13 class RDoc::Stats::Normal < ::RDoc::Stats::Quiet - # source://rdoc//lib/rdoc/stats/normal.rb#15 + # pkg:gem/rdoc#lib/rdoc/stats/normal.rb:15 def begin_adding; end - # source://rdoc//lib/rdoc/stats/normal.rb#54 + # pkg:gem/rdoc#lib/rdoc/stats/normal.rb:54 def done_adding; end # Prints a file with a progress bar # - # source://rdoc//lib/rdoc/stats/normal.rb#23 + # pkg:gem/rdoc#lib/rdoc/stats/normal.rb:23 def print_file(files_so_far, filename); end end # Stats printer that prints nothing # -# source://rdoc//lib/rdoc/stats/quiet.rb#5 +# pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:5 class RDoc::Stats::Quiet # Creates a new Quiet that will print nothing # # @return [Quiet] a new instance of Quiet # - # source://rdoc//lib/rdoc/stats/quiet.rb#10 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:10 def initialize(num_files); end # Prints a message at the beginning of parsing # - # source://rdoc//lib/rdoc/stats/quiet.rb#17 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:17 def begin_adding(*_arg0); end # Prints when RDoc is done # - # source://rdoc//lib/rdoc/stats/quiet.rb#57 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:57 def done_adding(*_arg0); end # Prints when an alias is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#22 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:22 def print_alias(*_arg0); end # Prints when an attribute is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#27 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:27 def print_attribute(*_arg0); end # Prints when a class is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#32 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:32 def print_class(*_arg0); end # Prints when a constant is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#37 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:37 def print_constant(*_arg0); end # Prints when a file is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#42 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:42 def print_file(*_arg0); end # Prints when a method is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#47 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:47 def print_method(*_arg0); end # Prints when a module is added # - # source://rdoc//lib/rdoc/stats/quiet.rb#52 + # pkg:gem/rdoc#lib/rdoc/stats/quiet.rb:52 def print_module(*_arg0); end end # Stats printer that prints everything documented, including the documented # status # -# source://rdoc//lib/rdoc/stats/verbose.rb#6 +# pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:6 class RDoc::Stats::Verbose < ::RDoc::Stats::Normal # Returns a marker for RDoc::CodeObject +co+ being undocumented # - # source://rdoc//lib/rdoc/stats/verbose.rb#11 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:11 def nodoc(co); end - # source://rdoc//lib/rdoc/stats/verbose.rb#15 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:15 def print_alias(as); end - # source://rdoc//lib/rdoc/stats/verbose.rb#19 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:19 def print_attribute(attribute); end - # source://rdoc//lib/rdoc/stats/verbose.rb#23 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:23 def print_class(klass); end - # source://rdoc//lib/rdoc/stats/verbose.rb#27 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:27 def print_constant(constant); end - # source://rdoc//lib/rdoc/stats/verbose.rb#31 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:31 def print_file(files_so_far, file); end - # source://rdoc//lib/rdoc/stats/verbose.rb#36 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:36 def print_method(method); end - # source://rdoc//lib/rdoc/stats/verbose.rb#40 + # pkg:gem/rdoc#lib/rdoc/stats/verbose.rb:40 def print_module(mod); end end @@ -12089,118 +12087,118 @@ end # -- # TODO need to prune classes # -# source://rdoc//lib/rdoc/store.rb#25 +# pkg:gem/rdoc#lib/rdoc/store.rb:25 class RDoc::Store # Creates a new Store of +type+ that will load or save to +path+ # # @return [Store] a new instance of Store # - # source://rdoc//lib/rdoc/store.rb#123 + # pkg:gem/rdoc#lib/rdoc/store.rb:123 def initialize(options, path: T.unsafe(nil), type: T.unsafe(nil)); end # Adds +module+ as an enclosure (namespace) for the given +variable+ for C # files. # - # source://rdoc//lib/rdoc/store.rb#165 + # pkg:gem/rdoc#lib/rdoc/store.rb:165 def add_c_enclosure(variable, namespace); end # Adds C variables from an RDoc::Parser::C # - # source://rdoc//lib/rdoc/store.rb#172 + # pkg:gem/rdoc#lib/rdoc/store.rb:172 def add_c_variables(c_parser); end # Adds the file with +name+ as an RDoc::TopLevel to the store. Returns the # created RDoc::TopLevel. # - # source://rdoc//lib/rdoc/store.rb#184 + # pkg:gem/rdoc#lib/rdoc/store.rb:184 def add_file(absolute_name, relative_name: T.unsafe(nil), parser: T.unsafe(nil)); end # Returns all classes discovered by RDoc # - # source://rdoc//lib/rdoc/store.rb#220 + # pkg:gem/rdoc#lib/rdoc/store.rb:220 def all_classes; end # Returns all classes and modules discovered by RDoc # - # source://rdoc//lib/rdoc/store.rb#227 + # pkg:gem/rdoc#lib/rdoc/store.rb:227 def all_classes_and_modules; end # All TopLevels known to RDoc # - # source://rdoc//lib/rdoc/store.rb#234 + # pkg:gem/rdoc#lib/rdoc/store.rb:234 def all_files; end # Returns all modules discovered by RDoc # - # source://rdoc//lib/rdoc/store.rb#241 + # pkg:gem/rdoc#lib/rdoc/store.rb:241 def all_modules; end # Ancestors cache accessor. Maps a klass name to an Array of its ancestors # in this store. If Foo in this store inherits from Object, Kernel won't be # listed (it will be included from ruby's ri store). # - # source://rdoc//lib/rdoc/store.rb#250 + # pkg:gem/rdoc#lib/rdoc/store.rb:250 def ancestors; end # Attributes cache accessor. Maps a class to an Array of its attributes. # - # source://rdoc//lib/rdoc/store.rb#257 + # pkg:gem/rdoc#lib/rdoc/store.rb:257 def attributes; end # Maps C variables to class or module names for each parsed C file. # - # source://rdoc//lib/rdoc/store.rb#80 + # pkg:gem/rdoc#lib/rdoc/store.rb:80 def c_class_variables; end # Stores the name of the C variable a class belongs to. This helps wire up # classes defined from C across files. # - # source://rdoc//lib/rdoc/store.rb#73 + # pkg:gem/rdoc#lib/rdoc/store.rb:73 def c_enclosure_classes; end - # source://rdoc//lib/rdoc/store.rb#75 + # pkg:gem/rdoc#lib/rdoc/store.rb:75 def c_enclosure_names; end # Maps C variables to singleton class names for each parsed C file. # - # source://rdoc//lib/rdoc/store.rb#85 + # pkg:gem/rdoc#lib/rdoc/store.rb:85 def c_singleton_class_variables; end # The contents of the Store # - # source://rdoc//lib/rdoc/store.rb#108 + # pkg:gem/rdoc#lib/rdoc/store.rb:108 def cache; end # Path to the cache file # - # source://rdoc//lib/rdoc/store.rb#264 + # pkg:gem/rdoc#lib/rdoc/store.rb:264 def cache_path; end # Path to the ri data for +klass_name+ # - # source://rdoc//lib/rdoc/store.rb#271 + # pkg:gem/rdoc#lib/rdoc/store.rb:271 def class_file(klass_name); end # Class methods cache accessor. Maps a class to an Array of its class # methods (not full name). # - # source://rdoc//lib/rdoc/store.rb#280 + # pkg:gem/rdoc#lib/rdoc/store.rb:280 def class_methods; end # Path where data for +klass_name+ will be stored (methods or class data) # - # source://rdoc//lib/rdoc/store.rb#287 + # pkg:gem/rdoc#lib/rdoc/store.rb:287 def class_path(klass_name); end # Hash of all classes known to RDoc # - # source://rdoc//lib/rdoc/store.rb#294 + # pkg:gem/rdoc#lib/rdoc/store.rb:294 def classes_hash; end # Removes empty items and ensures item in each collection are unique and # sorted # - # source://rdoc//lib/rdoc/store.rb#302 + # pkg:gem/rdoc#lib/rdoc/store.rb:302 def clean_cache_collection(collection); end # Prepares the RDoc code object tree for use by a generator. @@ -12218,68 +12216,68 @@ class RDoc::Store # # See also RDoc::Context#remove_from_documentation? # - # source://rdoc//lib/rdoc/store.rb#330 + # pkg:gem/rdoc#lib/rdoc/store.rb:330 def complete(min_visibility); end # If true this Store will not write any files # - # source://rdoc//lib/rdoc/store.rb#90 + # pkg:gem/rdoc#lib/rdoc/store.rb:90 def dry_run; end # If true this Store will not write any files # - # source://rdoc//lib/rdoc/store.rb#90 + # pkg:gem/rdoc#lib/rdoc/store.rb:90 def dry_run=(_arg0); end # The encoding of the contents in the Store # - # source://rdoc//lib/rdoc/store.rb#113 + # pkg:gem/rdoc#lib/rdoc/store.rb:113 def encoding; end # The encoding of the contents in the Store # - # source://rdoc//lib/rdoc/store.rb#113 + # pkg:gem/rdoc#lib/rdoc/store.rb:113 def encoding=(_arg0); end # Hash of all files known to RDoc # - # source://rdoc//lib/rdoc/store.rb#370 + # pkg:gem/rdoc#lib/rdoc/store.rb:370 def files_hash; end # Finds the enclosure (namespace) for the given C +variable+. # - # source://rdoc//lib/rdoc/store.rb#377 + # pkg:gem/rdoc#lib/rdoc/store.rb:377 def find_c_enclosure(variable); end # Finds the class with +name+ in all discovered classes # - # source://rdoc//lib/rdoc/store.rb#402 + # pkg:gem/rdoc#lib/rdoc/store.rb:402 def find_class_named(name); end # Finds the class with +name+ starting in namespace +from+ # - # source://rdoc//lib/rdoc/store.rb#409 + # pkg:gem/rdoc#lib/rdoc/store.rb:409 def find_class_named_from(name, from); end # Finds the class or module with +name+ # - # source://rdoc//lib/rdoc/store.rb#427 + # pkg:gem/rdoc#lib/rdoc/store.rb:427 def find_class_or_module(name); end # Finds the file with +name+ in all discovered files # - # source://rdoc//lib/rdoc/store.rb#435 + # pkg:gem/rdoc#lib/rdoc/store.rb:435 def find_file_named(name); end # Finds the module with +name+ in all discovered modules # - # source://rdoc//lib/rdoc/store.rb#442 + # pkg:gem/rdoc#lib/rdoc/store.rb:442 def find_module_named(name); end # Returns the RDoc::TopLevel that is a text file and has the given # +file_name+ # - # source://rdoc//lib/rdoc/store.rb#450 + # pkg:gem/rdoc#lib/rdoc/store.rb:450 def find_text_page(file_name); end # Finds unique classes/modules defined in +all_hash+, @@ -12288,7 +12286,7 @@ class RDoc::Store # -- # TODO aliases should be registered by Context#add_module_alias # - # source://rdoc//lib/rdoc/store.rb#463 + # pkg:gem/rdoc#lib/rdoc/store.rb:463 def find_unique(all_hash); end # Fixes the erroneous BasicObject < Object in 1.9. @@ -12299,147 +12297,147 @@ class RDoc::Store # We fix BasicObject right away if we are running in a Ruby # version >= 1.9. # - # source://rdoc//lib/rdoc/store.rb#482 + # pkg:gem/rdoc#lib/rdoc/store.rb:482 def fix_basic_object_inheritance; end # Friendly rendition of #path # - # source://rdoc//lib/rdoc/store.rb#491 + # pkg:gem/rdoc#lib/rdoc/store.rb:491 def friendly_path; end - # source://rdoc//lib/rdoc/store.rb#503 + # pkg:gem/rdoc#lib/rdoc/store.rb:503 def inspect; end # Instance methods cache accessor. Maps a class to an Array of its # instance methods (not full name). # - # source://rdoc//lib/rdoc/store.rb#511 + # pkg:gem/rdoc#lib/rdoc/store.rb:511 def instance_methods; end # Loads all items from this store into memory. This recreates a # documentation tree for use by a generator # - # source://rdoc//lib/rdoc/store.rb#519 + # pkg:gem/rdoc#lib/rdoc/store.rb:519 def load_all; end # Loads cache file for this store # - # source://rdoc//lib/rdoc/store.rb#567 + # pkg:gem/rdoc#lib/rdoc/store.rb:567 def load_cache; end # Loads ri data for +klass_name+ and hooks it up to this store. # - # source://rdoc//lib/rdoc/store.rb#606 + # pkg:gem/rdoc#lib/rdoc/store.rb:606 def load_class(klass_name); end # Loads ri data for +klass_name+ # - # source://rdoc//lib/rdoc/store.rb#624 + # pkg:gem/rdoc#lib/rdoc/store.rb:624 def load_class_data(klass_name); end # Loads ri data for +method_name+ in +klass_name+ # - # source://rdoc//lib/rdoc/store.rb#637 + # pkg:gem/rdoc#lib/rdoc/store.rb:637 def load_method(klass_name, method_name); end # Loads ri data for +page_name+ # - # source://rdoc//lib/rdoc/store.rb#653 + # pkg:gem/rdoc#lib/rdoc/store.rb:653 def load_page(page_name); end # Gets the main page for this RDoc store. This page is used as the root of # the RDoc server. # - # source://rdoc//lib/rdoc/store.rb#669 + # pkg:gem/rdoc#lib/rdoc/store.rb:669 def main; end # Sets the main page for this RDoc store. # - # source://rdoc//lib/rdoc/store.rb#676 + # pkg:gem/rdoc#lib/rdoc/store.rb:676 def main=(page); end # Converts the variable => ClassModule map +variables+ from a C parser into # a variable => class name map. # - # source://rdoc//lib/rdoc/store.rb#684 + # pkg:gem/rdoc#lib/rdoc/store.rb:684 def make_variable_map(variables); end # Path to the ri data for +method_name+ in +klass_name+ # - # source://rdoc//lib/rdoc/store.rb#697 + # pkg:gem/rdoc#lib/rdoc/store.rb:697 def method_file(klass_name, method_name); end # Modules cache accessor. An Array of all the module (and class) names in # the store. # - # source://rdoc//lib/rdoc/store.rb#711 + # pkg:gem/rdoc#lib/rdoc/store.rb:711 def module_names; end # Hash of all modules known to RDoc # - # source://rdoc//lib/rdoc/store.rb#718 + # pkg:gem/rdoc#lib/rdoc/store.rb:718 def modules_hash; end # Returns the value of attribute options. # - # source://rdoc//lib/rdoc/store.rb#97 + # pkg:gem/rdoc#lib/rdoc/store.rb:97 def options; end # Returns the RDoc::TopLevel that is a file and has the given +name+ # - # source://rdoc//lib/rdoc/store.rb#725 + # pkg:gem/rdoc#lib/rdoc/store.rb:725 def page(name); end # Path to the ri data for +page_name+ # - # source://rdoc//lib/rdoc/store.rb#734 + # pkg:gem/rdoc#lib/rdoc/store.rb:734 def page_file(page_name); end # Path this store reads or writes # - # source://rdoc//lib/rdoc/store.rb#95 + # pkg:gem/rdoc#lib/rdoc/store.rb:95 def path; end # Path this store reads or writes # - # source://rdoc//lib/rdoc/store.rb#95 + # pkg:gem/rdoc#lib/rdoc/store.rb:95 def path=(_arg0); end # Removes from +all_hash+ the contexts that are nodoc or have no content. # # See RDoc::Context#remove_from_documentation? # - # source://rdoc//lib/rdoc/store.rb#745 + # pkg:gem/rdoc#lib/rdoc/store.rb:745 def remove_nodoc(all_hash); end # Make sure any references to C variable names are resolved to the corresponding class. # - # source://rdoc//lib/rdoc/store.rb#200 + # pkg:gem/rdoc#lib/rdoc/store.rb:200 def resolve_c_superclasses; end # Saves all entries in the store # - # source://rdoc//lib/rdoc/store.rb#755 + # pkg:gem/rdoc#lib/rdoc/store.rb:755 def save; end # Writes the cache file for this store # - # source://rdoc//lib/rdoc/store.rb#780 + # pkg:gem/rdoc#lib/rdoc/store.rb:780 def save_cache; end # Writes the ri data for +klass+ (or module) # - # source://rdoc//lib/rdoc/store.rb#807 + # pkg:gem/rdoc#lib/rdoc/store.rb:807 def save_class(klass); end # Writes the ri data for +method+ on +klass+ # - # source://rdoc//lib/rdoc/store.rb#881 + # pkg:gem/rdoc#lib/rdoc/store.rb:881 def save_method(klass, method); end # Writes the ri data for +page+ # - # source://rdoc//lib/rdoc/store.rb#904 + # pkg:gem/rdoc#lib/rdoc/store.rb:904 def save_page(page); end # Source of the contents of this store. @@ -12450,98 +12448,98 @@ class RDoc::Store # ri directory the store is "site". For other stores the source is the # #path. # - # source://rdoc//lib/rdoc/store.rb#930 + # pkg:gem/rdoc#lib/rdoc/store.rb:930 def source; end # Gets the title for this RDoc store. This is used as the title in each # page on the RDoc server # - # source://rdoc//lib/rdoc/store.rb#944 + # pkg:gem/rdoc#lib/rdoc/store.rb:944 def title; end # Sets the title page for this RDoc store. # - # source://rdoc//lib/rdoc/store.rb#951 + # pkg:gem/rdoc#lib/rdoc/store.rb:951 def title=(title); end # Type of ri datastore this was loaded from. See RDoc::RI::Driver, # RDoc::RI::Paths. # - # source://rdoc//lib/rdoc/store.rb#103 + # pkg:gem/rdoc#lib/rdoc/store.rb:103 def type; end # Type of ri datastore this was loaded from. See RDoc::RI::Driver, # RDoc::RI::Paths. # - # source://rdoc//lib/rdoc/store.rb#103 + # pkg:gem/rdoc#lib/rdoc/store.rb:103 def type=(_arg0); end # Returns the unique classes discovered by RDoc. # # ::complete must have been called prior to using this method. # - # source://rdoc//lib/rdoc/store.rb#960 + # pkg:gem/rdoc#lib/rdoc/store.rb:960 def unique_classes; end # Returns the unique classes and modules discovered by RDoc. # ::complete must have been called prior to using this method. # - # source://rdoc//lib/rdoc/store.rb#968 + # pkg:gem/rdoc#lib/rdoc/store.rb:968 def unique_classes_and_modules; end # Returns the unique modules discovered by RDoc. # ::complete must have been called prior to using this method. # - # source://rdoc//lib/rdoc/store.rb#976 + # pkg:gem/rdoc#lib/rdoc/store.rb:976 def unique_modules; end # The lazy constants alias will be discovered in passing # - # source://rdoc//lib/rdoc/store.rb#118 + # pkg:gem/rdoc#lib/rdoc/store.rb:118 def unmatched_constant_alias; end # Sets the parser of +absolute_name+, unless it from a source code file. # - # source://rdoc//lib/rdoc/store.rb#211 + # pkg:gem/rdoc#lib/rdoc/store.rb:211 def update_parser_of_file(absolute_name, parser); end private - # source://rdoc//lib/rdoc/store.rb#981 + # pkg:gem/rdoc#lib/rdoc/store.rb:981 def marshal_load(file); end end -# source://rdoc//lib/rdoc/store.rb#985 +# pkg:gem/rdoc#lib/rdoc/store.rb:985 RDoc::Store::MarshalFilter = T.let(T.unsafe(nil), Proc) # Raised when a stored file for a class, module, page or method is missing. # -# source://rdoc//lib/rdoc/store.rb#36 +# pkg:gem/rdoc#lib/rdoc/store.rb:36 class RDoc::Store::MissingFileError < ::RDoc::Store::Error # Creates a new MissingFileError for the missing +file+ for the given # +name+ that should have been in the +store+. # # @return [MissingFileError] a new instance of MissingFileError # - # source://rdoc//lib/rdoc/store.rb#57 + # pkg:gem/rdoc#lib/rdoc/store.rb:57 def initialize(store, file, name); end # The file the #name should be saved as # - # source://rdoc//lib/rdoc/store.rb#46 + # pkg:gem/rdoc#lib/rdoc/store.rb:46 def file; end - # source://rdoc//lib/rdoc/store.rb#63 + # pkg:gem/rdoc#lib/rdoc/store.rb:63 def message; end # The name of the object the #file would be loaded from # - # source://rdoc//lib/rdoc/store.rb#51 + # pkg:gem/rdoc#lib/rdoc/store.rb:51 def name; end # The store the file should exist in # - # source://rdoc//lib/rdoc/store.rb#41 + # pkg:gem/rdoc#lib/rdoc/store.rb:41 def store; end end @@ -12604,7 +12602,7 @@ end # This will create the tasks :rdoc, :rdoc:clean, # :rdoc:force, and :rdoc:coverage. # -# source://rdoc//lib/rdoc/task.rb#99 +# pkg:gem/rdoc#lib/rdoc/task.rb:99 class RDoc::Task < ::Rake::TaskLib # Create an RDoc task with the given name. See the RDoc::Task class overview # for documentation. @@ -12613,273 +12611,273 @@ class RDoc::Task < ::Rake::TaskLib # @yield [_self] # @yieldparam _self [RDoc::Task] the object that the method was called on # - # source://rdoc//lib/rdoc/task.rb#157 + # pkg:gem/rdoc#lib/rdoc/task.rb:157 def initialize(name = T.unsafe(nil)); end # The block passed to this method will be called just before running the # RDoc generator. It is allowed to modify RDoc::Task attributes inside the # block. # - # source://rdoc//lib/rdoc/task.rb#287 + # pkg:gem/rdoc#lib/rdoc/task.rb:287 def before_running_rdoc(&block); end # Ensures that +names+ only includes names for the :rdoc, :clobber_rdoc and # :rerdoc. If other names are given an ArgumentError is raised. # - # source://rdoc//lib/rdoc/task.rb#173 + # pkg:gem/rdoc#lib/rdoc/task.rb:173 def check_names(names); end # Task description for the clobber rdoc task or its renamed equivalent # - # source://rdoc//lib/rdoc/task.rb#187 + # pkg:gem/rdoc#lib/rdoc/task.rb:187 def clobber_task_description; end # Task description for the coverage task or its renamed description # - # source://rdoc//lib/rdoc/task.rb#308 + # pkg:gem/rdoc#lib/rdoc/task.rb:308 def coverage_task_description; end # Sets default task values # - # source://rdoc//lib/rdoc/task.rb#194 + # pkg:gem/rdoc#lib/rdoc/task.rb:194 def defaults; end # Create the tasks defined by this task lib. # - # source://rdoc//lib/rdoc/task.rb#223 + # pkg:gem/rdoc#lib/rdoc/task.rb:223 def define; end # Whether to run the rdoc process as an external shell (default is false) # - # source://rdoc//lib/rdoc/task.rb#151 + # pkg:gem/rdoc#lib/rdoc/task.rb:151 def external; end # Whether to run the rdoc process as an external shell (default is false) # - # source://rdoc//lib/rdoc/task.rb#151 + # pkg:gem/rdoc#lib/rdoc/task.rb:151 def external=(_arg0); end # Name of format generator (--format) used by rdoc. (defaults to # rdoc's default) # - # source://rdoc//lib/rdoc/task.rb#136 + # pkg:gem/rdoc#lib/rdoc/task.rb:136 def generator; end # Name of format generator (--format) used by rdoc. (defaults to # rdoc's default) # - # source://rdoc//lib/rdoc/task.rb#136 + # pkg:gem/rdoc#lib/rdoc/task.rb:136 def generator=(_arg0); end # All source is inline now. This method is deprecated # - # source://rdoc//lib/rdoc/task.rb#208 + # pkg:gem/rdoc#lib/rdoc/task.rb:208 def inline_source; end # All source is inline now. This method is deprecated # - # source://rdoc//lib/rdoc/task.rb#216 + # pkg:gem/rdoc#lib/rdoc/task.rb:216 def inline_source=(value); end # Name of file to be used as the main, top level file of the RDoc. (default # is none) # - # source://rdoc//lib/rdoc/task.rb#125 + # pkg:gem/rdoc#lib/rdoc/task.rb:125 def main; end # Name of file to be used as the main, top level file of the RDoc. (default # is none) # - # source://rdoc//lib/rdoc/task.rb#125 + # pkg:gem/rdoc#lib/rdoc/task.rb:125 def main=(_arg0); end # The markup format; one of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. # See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. # - # source://rdoc//lib/rdoc/task.rb#109 + # pkg:gem/rdoc#lib/rdoc/task.rb:109 def markup; end # The markup format; one of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+. # See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats]. # - # source://rdoc//lib/rdoc/task.rb#109 + # pkg:gem/rdoc#lib/rdoc/task.rb:109 def markup=(_arg0); end # Name of the main, top level task. (default is :rdoc) # - # source://rdoc//lib/rdoc/task.rb#104 + # pkg:gem/rdoc#lib/rdoc/task.rb:104 def name; end # Name of the main, top level task. (default is :rdoc) # - # source://rdoc//lib/rdoc/task.rb#104 + # pkg:gem/rdoc#lib/rdoc/task.rb:104 def name=(_arg0); end # List of options that will be supplied to RDoc # - # source://rdoc//lib/rdoc/task.rb#271 + # pkg:gem/rdoc#lib/rdoc/task.rb:271 def option_list; end # Additional list of options to be passed rdoc. (default is []) # - # source://rdoc//lib/rdoc/task.rb#146 + # pkg:gem/rdoc#lib/rdoc/task.rb:146 def options; end # Additional list of options to be passed rdoc. (default is []) # - # source://rdoc//lib/rdoc/task.rb#146 + # pkg:gem/rdoc#lib/rdoc/task.rb:146 def options=(_arg0); end # Name of directory to receive the html output files. (default is "html") # - # source://rdoc//lib/rdoc/task.rb#114 + # pkg:gem/rdoc#lib/rdoc/task.rb:114 def rdoc_dir; end # Name of directory to receive the html output files. (default is "html") # - # source://rdoc//lib/rdoc/task.rb#114 + # pkg:gem/rdoc#lib/rdoc/task.rb:114 def rdoc_dir=(_arg0); end # List of files to be included in the rdoc generation. (default is []) # - # source://rdoc//lib/rdoc/task.rb#141 + # pkg:gem/rdoc#lib/rdoc/task.rb:141 def rdoc_files; end # List of files to be included in the rdoc generation. (default is []) # - # source://rdoc//lib/rdoc/task.rb#141 + # pkg:gem/rdoc#lib/rdoc/task.rb:141 def rdoc_files=(_arg0); end # Task description for the rdoc task or its renamed equivalent # - # source://rdoc//lib/rdoc/task.rb#294 + # pkg:gem/rdoc#lib/rdoc/task.rb:294 def rdoc_task_description; end # Task description for the rerdoc task or its renamed description # - # source://rdoc//lib/rdoc/task.rb#301 + # pkg:gem/rdoc#lib/rdoc/task.rb:301 def rerdoc_task_description; end # Name of template to be used by rdoc. (defaults to rdoc's default) # - # source://rdoc//lib/rdoc/task.rb#130 + # pkg:gem/rdoc#lib/rdoc/task.rb:130 def template; end # Name of template to be used by rdoc. (defaults to rdoc's default) # - # source://rdoc//lib/rdoc/task.rb#130 + # pkg:gem/rdoc#lib/rdoc/task.rb:130 def template=(_arg0); end # Title of RDoc documentation. (defaults to rdoc's default) # - # source://rdoc//lib/rdoc/task.rb#119 + # pkg:gem/rdoc#lib/rdoc/task.rb:119 def title; end # Title of RDoc documentation. (defaults to rdoc's default) # - # source://rdoc//lib/rdoc/task.rb#119 + # pkg:gem/rdoc#lib/rdoc/task.rb:119 def title=(_arg0); end private - # source://rdoc//lib/rdoc/task.rb#325 + # pkg:gem/rdoc#lib/rdoc/task.rb:325 def clobber_task_name; end - # source://rdoc//lib/rdoc/task.rb#339 + # pkg:gem/rdoc#lib/rdoc/task.rb:339 def coverage_task_name; end - # source://rdoc//lib/rdoc/task.rb#314 + # pkg:gem/rdoc#lib/rdoc/task.rb:314 def rdoc_target; end - # source://rdoc//lib/rdoc/task.rb#318 + # pkg:gem/rdoc#lib/rdoc/task.rb:318 def rdoc_task_name; end - # source://rdoc//lib/rdoc/task.rb#332 + # pkg:gem/rdoc#lib/rdoc/task.rb:332 def rerdoc_task_name; end end # Methods for manipulating comment text # -# source://rdoc//lib/rdoc/text.rb#11 +# pkg:gem/rdoc#lib/rdoc/text.rb:11 module RDoc::Text # Flush +text+ left based on the shortest line # - # source://rdoc//lib/rdoc/text.rb#82 + # pkg:gem/rdoc#lib/rdoc/text.rb:82 def flush_left(text); end # The language for this text. This affects stripping comments # markers. # - # source://rdoc//lib/rdoc/text.rb#17 + # pkg:gem/rdoc#lib/rdoc/text.rb:17 def language; end # The language for this text. This affects stripping comments # markers. # - # source://rdoc//lib/rdoc/text.rb#17 + # pkg:gem/rdoc#lib/rdoc/text.rb:17 def language=(_arg0); end # Convert a string in markup format into HTML. # # Requires the including class to implement #formatter # - # source://rdoc//lib/rdoc/text.rb#101 + # pkg:gem/rdoc#lib/rdoc/text.rb:101 def markup(text); end # Strips hashes, expands tabs then flushes +text+ to the left # - # source://rdoc//lib/rdoc/text.rb#117 + # pkg:gem/rdoc#lib/rdoc/text.rb:117 def normalize_comment(text); end # Normalizes +text+ then builds a RDoc::Markup::Document from it # - # source://rdoc//lib/rdoc/text.rb#135 + # pkg:gem/rdoc#lib/rdoc/text.rb:135 def parse(text, format = T.unsafe(nil)); end # The first +limit+ characters of +text+ as HTML # - # source://rdoc//lib/rdoc/text.rb#149 + # pkg:gem/rdoc#lib/rdoc/text.rb:149 def snippet(text, limit = T.unsafe(nil)); end # Strips leading # characters from +text+ # - # source://rdoc//lib/rdoc/text.rb#158 + # pkg:gem/rdoc#lib/rdoc/text.rb:158 def strip_hashes(text); end # Strips leading and trailing \n characters from +text+ # - # source://rdoc//lib/rdoc/text.rb#170 + # pkg:gem/rdoc#lib/rdoc/text.rb:170 def strip_newlines(text); end # Strips /* */ style comments # - # source://rdoc//lib/rdoc/text.rb#177 + # pkg:gem/rdoc#lib/rdoc/text.rb:177 def strip_stars(text); end - # source://rdoc//lib/rdoc/text.rb#200 + # pkg:gem/rdoc#lib/rdoc/text.rb:200 def to_html(text); end # Wraps +txt+ to +line_len+ # - # source://rdoc//lib/rdoc/text.rb#287 + # pkg:gem/rdoc#lib/rdoc/text.rb:287 def wrap(txt, line_len = T.unsafe(nil)); end private # Expands tab characters in +text+ to eight spaces # - # source://rdoc//lib/rdoc/text.rb#63 + # pkg:gem/rdoc#lib/rdoc/text.rb:63 def expand_tabs(text); end class << self # Transcodes +character+ to +encoding+ with a +fallback+ character. # - # source://rdoc//lib/rdoc/text.rb#55 + # pkg:gem/rdoc#lib/rdoc/text.rb:55 def encode_fallback(character, encoding, fallback); end # Expands tab characters in +text+ to eight spaces # - # source://rdoc//lib/rdoc/text.rb#63 + # pkg:gem/rdoc#lib/rdoc/text.rb:63 def expand_tabs(text); end end end @@ -12887,7 +12885,7 @@ end # Character class to be separated by a space when concatenating # lines. # -# source://rdoc//lib/rdoc/text.rb#320 +# pkg:gem/rdoc#lib/rdoc/text.rb:320 RDoc::Text::SPACE_SEPARATED_LETTER_CLASS = T.let(T.unsafe(nil), Regexp) # A TokenStream is a list of tokens, gathered during the parse of some entity @@ -12896,48 +12894,48 @@ RDoc::Text::SPACE_SEPARATED_LETTER_CLASS = T.let(T.unsafe(nil), Regexp) # outside, you use such an object by calling the start_collecting_tokens # method, followed by calls to add_token and pop_token. # -# source://rdoc//lib/rdoc/token_stream.rb#10 +# pkg:gem/rdoc#lib/rdoc/token_stream.rb:10 module RDoc::TokenStream # Adds one +token+ to the collected tokens # - # source://rdoc//lib/rdoc/token_stream.rb#85 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:85 def add_token(token); end # Adds +tokens+ to the collected tokens # - # source://rdoc//lib/rdoc/token_stream.rb#78 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:78 def add_tokens(tokens); end # Starts collecting tokens # - # source://rdoc//lib/rdoc/token_stream.rb#93 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:93 def collect_tokens(language); end # Remove the last token from the collected tokens # - # source://rdoc//lib/rdoc/token_stream.rb#103 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:103 def pop_token; end # Returns the source language of the token stream as a string # # Returns 'c' or 'ruby' # - # source://rdoc//lib/rdoc/token_stream.rb#126 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:126 def source_language; end # Starts collecting tokens # - # source://rdoc//lib/rdoc/token_stream.rb#98 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:98 def start_collecting_tokens(language); end # Current token stream # - # source://rdoc//lib/rdoc/token_stream.rb#110 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:110 def token_stream; end # Returns a string representation of the token stream # - # source://rdoc//lib/rdoc/token_stream.rb#117 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:117 def tokens_to_s; end class << self @@ -12945,7 +12943,7 @@ module RDoc::TokenStream # elements. Some tokens types are wrapped in spans # with the given class names. Other token types are not wrapped in spans. # - # source://rdoc//lib/rdoc/token_stream.rb#17 + # pkg:gem/rdoc#lib/rdoc/token_stream.rb:17 def to_html(token_stream); end end end @@ -12982,13 +12980,13 @@ end # This class is documented in TomDoc format. Since this is a subclass of the # RDoc markup parser there isn't much to see here, unfortunately. # -# source://rdoc//lib/rdoc/tom_doc.rb#36 +# pkg:gem/rdoc#lib/rdoc/tom_doc.rb:36 class RDoc::TomDoc < ::RDoc::Markup::Parser # Public: Creates a new TomDoc parser. See also RDoc::Markup::parse # # @return [TomDoc] a new instance of TomDoc # - # source://rdoc//lib/rdoc/tom_doc.rb#124 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:124 def initialize; end # Internal: Builds a heading from the token stream @@ -12997,7 +12995,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns an RDoc::Markup::Heading # - # source://rdoc//lib/rdoc/tom_doc.rb#137 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:137 def build_heading(level); end # Internal: Builds a paragraph from the token stream @@ -13006,7 +13004,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns an RDoc::Markup::Paragraph. # - # source://rdoc//lib/rdoc/tom_doc.rb#167 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:167 def build_paragraph(margin); end # Internal: Builds a verbatim from the token stream. A verbatim in the @@ -13017,12 +13015,12 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns an RDoc::Markup::Verbatim # - # source://rdoc//lib/rdoc/tom_doc.rb#153 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:153 def build_verbatim(margin); end # Detects a section change to "Returns" and adds a heading # - # source://rdoc//lib/rdoc/tom_doc.rb#207 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:207 def parse_text(parent, indent); end # Internal: Turns text into an Array of tokens @@ -13031,12 +13029,12 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns self. # - # source://rdoc//lib/rdoc/tom_doc.rb#225 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:225 def tokenize(text); end # Internal: Token accessor # - # source://rdoc//lib/rdoc/tom_doc.rb#40 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:40 def tokens; end class << self @@ -13045,7 +13043,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns nothing. # - # source://rdoc//lib/rdoc/tom_doc.rb#47 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:47 def add_post_processor; end # Public: Parses TomDoc from text @@ -13063,7 +13061,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns an RDoc::Markup::Document representing the TomDoc format. # - # source://rdoc//lib/rdoc/tom_doc.rb#78 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:78 def parse(text); end # Internal: Extracts the Signature section's method signature @@ -13073,14 +13071,14 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser # # Returns a String containing the signature and nil if not # - # source://rdoc//lib/rdoc/tom_doc.rb#94 + # pkg:gem/rdoc#lib/rdoc/tom_doc.rb:94 def signature(comment); end end end # A TopLevel context is a representation of the contents of a single file # -# source://rdoc//lib/rdoc/code_object/top_level.rb#5 +# pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:5 class RDoc::TopLevel < ::RDoc::Context # Creates a new TopLevel for the file at +absolute_name+. If documentation # is being generated outside the source dir +relative_name+ is relative to @@ -13088,71 +13086,71 @@ class RDoc::TopLevel < ::RDoc::Context # # @return [TopLevel] a new instance of TopLevel # - # source://rdoc//lib/rdoc/code_object/top_level.rb#46 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:46 def initialize(absolute_name, relative_name = T.unsafe(nil)); end # An RDoc::TopLevel is equal to another with the same relative_name # - # source://rdoc//lib/rdoc/code_object/top_level.rb#76 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:76 def ==(other); end # Absolute name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#17 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:17 def absolute_name; end # Absolute name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#17 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:17 def absolute_name=(_arg0); end # Adds +an_alias+ to +Object+ instead of +self+. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#85 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:85 def add_alias(an_alias); end # Adds +constant+ to +Object+ instead of +self+. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#94 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:94 def add_constant(constant); end # Adds +include+ to +Object+ instead of +self+. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#103 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:103 def add_include(include); end # Adds +method+ to +Object+ instead of +self+. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#112 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:112 def add_method(method); end # Adds class or module +mod+. Used in the building phase # by the Ruby parser. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#122 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:122 def add_to_classes_or_modules(mod); end # Base name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#22 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:22 def base_name; end # All the classes or modules that were declared in # this file. These are assigned to either +#classes_hash+ # or +#modules_hash+ once we know what they really are. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#34 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:34 def classes_or_modules; end # Returns a URL for this source file on some web repository. Use the -W # command line option to set. # - # source://rdoc//lib/rdoc/generator/markup.rb#161 + # pkg:gem/rdoc#lib/rdoc/generator/markup.rb:161 def cvs_url; end # An RDoc::TopLevel is equal to another with the same relative_name # - # source://rdoc//lib/rdoc/code_object/top_level.rb#80 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:80 def eql?(other); end # See RDoc::TopLevel::find_class_or_module @@ -13160,91 +13158,91 @@ class RDoc::TopLevel < ::RDoc::Context # TODO Why do we search through all classes/modules found, not just the # ones of this instance? # - # source://rdoc//lib/rdoc/code_object/top_level.rb#134 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:134 def find_class_or_module(name); end # Finds a class or module named +symbol+ # - # source://rdoc//lib/rdoc/code_object/top_level.rb#141 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:141 def find_local_symbol(symbol); end # Finds a module or class with +name+ # - # source://rdoc//lib/rdoc/code_object/top_level.rb#148 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:148 def find_module_named(name); end # Returns the relative name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#155 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:155 def full_name; end # An RDoc::TopLevel has the same hash as another with the same # relative_name # - # source://rdoc//lib/rdoc/code_object/top_level.rb#163 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:163 def hash; end # URL for this with a +prefix+ # - # source://rdoc//lib/rdoc/code_object/top_level.rb#170 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:170 def http_url; end - # source://rdoc//lib/rdoc/code_object/top_level.rb#174 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:174 def inspect; end # Dumps this TopLevel for use by ri. See also #marshal_load # - # source://rdoc//lib/rdoc/code_object/top_level.rb#186 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:186 def marshal_dump; end # Loads this TopLevel from +array+. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#198 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:198 def marshal_load(array); end # Base name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#126 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:126 def name; end # Returns the NormalClass "Object", creating it if not found. # # Records +self+ as a location in "Object". # - # source://rdoc//lib/rdoc/code_object/top_level.rb#210 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:210 def object_class; end # Base name of this file without the extension # - # source://rdoc//lib/rdoc/code_object/top_level.rb#27 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:27 def page_name; end # The parser class that processed this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#39 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:39 def parser; end # Sets the parser for this toplevel context, also the store. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#67 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:67 def parser=(val); end # Path to this file for use with HTML generator output. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#221 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:221 def path; end - # source://rdoc//lib/rdoc/code_object/top_level.rb#227 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:227 def pretty_print(q); end # Relative name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#12 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:12 def relative_name; end # Relative name of this file # - # source://rdoc//lib/rdoc/code_object/top_level.rb#12 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:12 def relative_name=(_arg0); end # Search record used by RDoc::Generator::JsonIndex @@ -13252,28 +13250,28 @@ class RDoc::TopLevel < ::RDoc::Context # TODO: Remove this method after dropping the darkfish theme and JsonIndex generator. # Use #search_snippet instead for getting documentation snippets. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#244 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:244 def search_record; end # Returns an HTML snippet of the comment for search results. # - # source://rdoc//lib/rdoc/code_object/top_level.rb#261 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:261 def search_snippet; end # Is this TopLevel from a text file instead of a source code file? # # @return [Boolean] # - # source://rdoc//lib/rdoc/code_object/top_level.rb#270 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:270 def text?; end - # source://rdoc//lib/rdoc/code_object/top_level.rb#274 + # pkg:gem/rdoc#lib/rdoc/code_object/top_level.rb:274 def to_s; end end # :stopdoc: # -# source://rdoc//lib/rdoc/task.rb#346 +# pkg:gem/rdoc#lib/rdoc/task.rb:346 module Rake extend ::FileUtils::StreamUtils_ extend ::FileUtils @@ -13281,5 +13279,5 @@ end # For backwards compatibility # -# source://rdoc//lib/rdoc/task.rb#351 +# pkg:gem/rdoc#lib/rdoc/task.rb:351 Rake::RDocTask = RDoc::Task diff --git a/sorbet/rbi/gems/redis-client@0.26.2.rbi b/sorbet/rbi/gems/redis-client@0.26.2.rbi index 5759394db..bdbfca5b9 100644 --- a/sorbet/rbi/gems/redis-client@0.26.2.rbi +++ b/sorbet/rbi/gems/redis-client@0.26.2.rbi @@ -12,1436 +12,1436 @@ module Process extend ::ActiveSupport::ForkTracker::CoreExt end -# source://redis-client//lib/redis_client/version.rb#3 +# pkg:gem/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#247 + # pkg:gem/redis-client#lib/redis_client.rb:247 def initialize(config, **_arg1); end - # source://redis-client//lib/redis_client.rb#395 + # pkg:gem/redis-client#lib/redis_client.rb:395 def blocking_call(timeout, *command, **kwargs); end - # source://redis-client//lib/redis_client.rb#415 + # pkg:gem/redis-client#lib/redis_client.rb:415 def blocking_call_v(timeout, command); end - # source://redis-client//lib/redis_client.rb#335 + # pkg:gem/redis-client#lib/redis_client.rb:335 def call(*command, **kwargs); end - # source://redis-client//lib/redis_client.rb#365 + # pkg:gem/redis-client#lib/redis_client.rb:365 def call_once(*command, **kwargs); end - # source://redis-client//lib/redis_client.rb#380 + # pkg:gem/redis-client#lib/redis_client.rb:380 def call_once_v(command); end - # source://redis-client//lib/redis_client.rb#350 + # pkg:gem/redis-client#lib/redis_client.rb:350 def call_v(command); end - # source://redis-client//lib/redis_client.rb#475 + # pkg:gem/redis-client#lib/redis_client.rb:475 def close; end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#471 + # pkg:gem/redis-client#lib/redis_client.rb:471 def connected?; end - # source://redis-client//lib/redis_client.rb#272 + # pkg:gem/redis-client#lib/redis_client.rb:272 def db; end - # source://redis-client//lib/redis_client.rb#480 + # pkg:gem/redis-client#lib/redis_client.rb:480 def disable_reconnection(&block); end - # source://redis-client//lib/redis_client.rb#276 + # pkg:gem/redis-client#lib/redis_client.rb:276 def host; end - # source://redis-client//lib/redis_client.rb#453 + # pkg:gem/redis-client#lib/redis_client.rb:453 def hscan(key, *args, **kwargs, &block); end - # source://redis-client//lib/redis_client.rb#264 + # pkg:gem/redis-client#lib/redis_client.rb:264 def id; end - # source://redis-client//lib/redis_client.rb#255 + # pkg:gem/redis-client#lib/redis_client.rb:255 def inspect; end - # source://redis-client//lib/redis_client.rb#327 + # pkg:gem/redis-client#lib/redis_client.rb:327 def measure_round_trip_delay; end - # source://redis-client//lib/redis_client.rb#502 + # pkg:gem/redis-client#lib/redis_client.rb:502 def multi(watch: T.unsafe(nil), &block); end - # source://redis-client//lib/redis_client.rb#292 + # pkg:gem/redis-client#lib/redis_client.rb:292 def password; end - # source://redis-client//lib/redis_client.rb#284 + # pkg:gem/redis-client#lib/redis_client.rb:284 def path; end # @yield [pipeline] # - # source://redis-client//lib/redis_client.rb#484 + # pkg:gem/redis-client#lib/redis_client.rb:484 def pipelined(exception: T.unsafe(nil)); end - # source://redis-client//lib/redis_client.rb#280 + # pkg:gem/redis-client#lib/redis_client.rb:280 def port; end - # source://redis-client//lib/redis_client.rb#321 + # pkg:gem/redis-client#lib/redis_client.rb:321 def pubsub; end - # source://redis-client//lib/redis_client.rb#311 + # pkg:gem/redis-client#lib/redis_client.rb:311 def read_timeout=(timeout); end - # source://redis-client//lib/redis_client.rb#435 + # pkg:gem/redis-client#lib/redis_client.rb:435 def scan(*args, **kwargs, &block); end - # source://redis-client//lib/redis_client.rb#260 + # pkg:gem/redis-client#lib/redis_client.rb:260 def server_url; end - # source://redis-client//lib/redis_client.rb#296 + # pkg:gem/redis-client#lib/redis_client.rb:296 def size; end - # source://redis-client//lib/redis_client.rb#444 + # pkg:gem/redis-client#lib/redis_client.rb:444 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#303 + # pkg:gem/redis-client#lib/redis_client.rb:303 def then(_options = T.unsafe(nil)); end - # source://redis-client//lib/redis_client.rb#268 + # pkg:gem/redis-client#lib/redis_client.rb:268 def timeout; end - # source://redis-client//lib/redis_client.rb#305 + # pkg:gem/redis-client#lib/redis_client.rb:305 def timeout=(timeout); end - # source://redis-client//lib/redis_client.rb#288 + # pkg:gem/redis-client#lib/redis_client.rb:288 def username; end # @yield [_self] # @yieldparam _self [RedisClient] the object that the method was called on # - # source://redis-client//lib/redis_client.rb#300 + # pkg:gem/redis-client#lib/redis_client.rb:300 def with(_options = T.unsafe(nil)); end - # source://redis-client//lib/redis_client.rb#316 + # pkg:gem/redis-client#lib/redis_client.rb:316 def write_timeout=(timeout); end - # source://redis-client//lib/redis_client.rb#462 + # pkg:gem/redis-client#lib/redis_client.rb:462 def zscan(key, *args, **kwargs, &block); end private # @yield [transaction] # - # source://redis-client//lib/redis_client.rb#709 + # pkg:gem/redis-client#lib/redis_client.rb:709 def build_transaction; end - # source://redis-client//lib/redis_client.rb#806 + # pkg:gem/redis-client#lib/redis_client.rb:806 def connect; end - # source://redis-client//lib/redis_client.rb#743 + # pkg:gem/redis-client#lib/redis_client.rb:743 def ensure_connected(retryable: T.unsafe(nil)); end - # source://redis-client//lib/redis_client.rb#798 + # pkg:gem/redis-client#lib/redis_client.rb:798 def raw_connection; end - # source://redis-client//lib/redis_client.rb#717 + # pkg:gem/redis-client#lib/redis_client.rb:717 def scan_list(cursor_index, command, &block); end - # source://redis-client//lib/redis_client.rb#727 + # pkg:gem/redis-client#lib/redis_client.rb:727 def scan_pairs(cursor_index, command); end class << self - # source://redis-client//lib/redis_client.rb#224 + # pkg:gem/redis-client#lib/redis_client.rb:224 def config(**kwargs); end - # source://redis-client//lib/redis_client.rb#33 + # pkg:gem/redis-client#lib/redis_client.rb:33 def default_driver; end - # source://redis-client//lib/redis_client.rb#45 + # pkg:gem/redis-client#lib/redis_client.rb:45 def default_driver=(name); end - # source://redis-client//lib/redis_client.rb#22 + # pkg:gem/redis-client#lib/redis_client.rb:22 def driver(name); end - # source://redis-client//lib/redis_client.rb#232 + # pkg:gem/redis-client#lib/redis_client.rb:232 def new(arg = T.unsafe(nil), **kwargs); end - # source://redis-client//lib/redis_client.rb#49 + # pkg:gem/redis-client#lib/redis_client.rb:49 def now; end - # source://redis-client//lib/redis_client.rb#53 + # pkg:gem/redis-client#lib/redis_client.rb:53 def now_ms; end - # source://redis-client//lib/redis_client.rb#240 + # pkg:gem/redis-client#lib/redis_client.rb:240 def register(middleware); end - # source://redis-client//lib/redis_client.rb#18 + # pkg:gem/redis-client#lib/redis_client.rb:18 def register_driver(name, &block); end - # source://redis-client//lib/redis_client.rb#228 + # pkg:gem/redis-client#lib/redis_client.rb:228 def sentinel(**kwargs); end end end -# source://redis-client//lib/redis_client.rb#199 +# pkg:gem/redis-client#lib/redis_client.rb:199 class RedisClient::AuthenticationError < ::RedisClient::CommandError; end -# source://redis-client//lib/redis_client/middlewares.rb#4 +# pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/middlewares.rb:7 def initialize(client); end # @yield [command] # - # source://redis-client//lib/redis_client/middlewares.rb#15 + # pkg:gem/redis-client#lib/redis_client/middlewares.rb:15 def call(command, _config); end # @yield [command] # - # source://redis-client//lib/redis_client/middlewares.rb#18 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/middlewares.rb:5 def client; end - # source://redis-client//lib/redis_client/middlewares.rb#11 + # pkg:gem/redis-client#lib/redis_client/middlewares.rb:11 def connect(_config); end end -# source://redis-client//lib/redis_client.rb#152 +# pkg:gem/redis-client#lib/redis_client.rb:152 class RedisClient::CannotConnectError < ::RedisClient::ConnectionError; end -# source://redis-client//lib/redis_client.rb#159 +# pkg:gem/redis-client#lib/redis_client.rb:159 class RedisClient::CheckoutTimeoutError < ::RedisClient::TimeoutError; end -# source://redis-client//lib/redis_client/circuit_breaker.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:21 def error_timeout; end - # source://redis-client//lib/redis_client/circuit_breaker.rb#34 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:21 def success_threshold; end private - # source://redis-client//lib/redis_client/circuit_breaker.rb#80 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:80 def record_error; end - # source://redis-client//lib/redis_client/circuit_breaker.rb#95 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:95 def record_success; end - # source://redis-client//lib/redis_client/circuit_breaker.rb#65 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:65 def refresh_state; end end -# source://redis-client//lib/redis_client/circuit_breaker.rb#5 +# pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:5 module RedisClient::CircuitBreaker::Middleware - # source://redis-client//lib/redis_client/circuit_breaker.rb#10 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:10 def call(_command, config); end - # source://redis-client//lib/redis_client/circuit_breaker.rb#14 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/circuit_breaker.rb:6 def connect(config); end end -# source://redis-client//lib/redis_client/circuit_breaker.rb#19 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#178 +# pkg:gem/redis-client#lib/redis_client.rb:178 class RedisClient::CommandError < ::RedisClient::Error include ::RedisClient::HasCommand include ::RedisClient::HasCode include ::RedisClient::Final class << self - # source://redis-client//lib/redis_client.rb#184 + # pkg:gem/redis-client#lib/redis_client.rb:184 def parse(error_message); end end end -# source://redis-client//lib/redis_client.rb#213 +# pkg:gem/redis-client#lib/redis_client.rb:213 RedisClient::CommandError::ERRORS = T.let(T.unsafe(nil), Hash) -# source://redis-client//lib/redis_client.rb#63 +# pkg:gem/redis-client#lib/redis_client.rb:63 module RedisClient::Common - # source://redis-client//lib/redis_client.rb#67 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client.rb:65 def read_timeout=(_arg0); end - # source://redis-client//lib/redis_client.rb#83 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client.rb:65 def write_timeout=(_arg0); end end -# source://redis-client//lib/redis_client/config.rb#7 +# pkg:gem/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#191 + # pkg:gem/redis-client#lib/redis_client/config.rb:191 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), db: T.unsafe(nil), **kwargs); end # Returns the value of attribute host. # - # source://redis-client//lib/redis_client/config.rb#189 + # pkg:gem/redis-client#lib/redis_client/config.rb:189 def host; end # Returns the value of attribute path. # - # source://redis-client//lib/redis_client/config.rb#189 + # pkg:gem/redis-client#lib/redis_client/config.rb:189 def path; end # Returns the value of attribute port. # - # source://redis-client//lib/redis_client/config.rb#189 + # pkg:gem/redis-client#lib/redis_client/config.rb:189 def port; end # Returns the value of attribute server_key. # - # source://redis-client//lib/redis_client/config.rb#189 + # pkg:gem/redis-client#lib/redis_client/config.rb:189 def server_key; end end -# source://redis-client//lib/redis_client/config.rb#14 +# pkg:gem/redis-client#lib/redis_client/config.rb:14 module RedisClient::Config::Common - # source://redis-client//lib/redis_client/config.rb#21 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/config.rb:15 def connect_timeout; end - # source://redis-client//lib/redis_client/config.rb#89 + # pkg:gem/redis-client#lib/redis_client/config.rb:89 def connection_prelude; end # Returns the value of attribute custom. # - # source://redis-client//lib/redis_client/config.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/config.rb:15 def middlewares_stack; end - # source://redis-client//lib/redis_client/config.rb#139 + # pkg:gem/redis-client#lib/redis_client/config.rb:139 def new_client(**kwargs); end - # source://redis-client//lib/redis_client/config.rb#134 + # pkg:gem/redis-client#lib/redis_client/config.rb:134 def new_pool(**kwargs); end - # source://redis-client//lib/redis_client/config.rb#118 + # pkg:gem/redis-client#lib/redis_client/config.rb:118 def password; end # Returns the value of attribute protocol. # - # source://redis-client//lib/redis_client/config.rb#15 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/config.rb:15 def read_timeout; end # @return [Boolean] # - # source://redis-client//lib/redis_client/config.rb#126 + # pkg:gem/redis-client#lib/redis_client/config.rb:126 def resolved?; end # @return [Boolean] # - # source://redis-client//lib/redis_client/config.rb#143 + # pkg:gem/redis-client#lib/redis_client/config.rb:143 def retriable?(attempt); end # @return [Boolean] # - # source://redis-client//lib/redis_client/config.rb#147 + # pkg:gem/redis-client#lib/redis_client/config.rb:147 def retry_connecting?(attempt, _error); end # @return [Boolean] # - # source://redis-client//lib/redis_client/config.rb#130 + # pkg:gem/redis-client#lib/redis_client/config.rb:130 def sentinel?; end - # source://redis-client//lib/redis_client/config.rb#165 + # pkg:gem/redis-client#lib/redis_client/config.rb:165 def server_url; end # Returns the value of attribute ssl. # - # source://redis-client//lib/redis_client/config.rb#15 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/config.rb:19 def ssl?; end - # source://redis-client//lib/redis_client/config.rb#159 + # pkg:gem/redis-client#lib/redis_client/config.rb:159 def ssl_context; end # Returns the value of attribute ssl_params. # - # source://redis-client//lib/redis_client/config.rb#15 + # pkg:gem/redis-client#lib/redis_client/config.rb:15 def ssl_params; end - # source://redis-client//lib/redis_client/config.rb#122 + # pkg:gem/redis-client#lib/redis_client/config.rb:122 def username; end # Returns the value of attribute write_timeout. # - # source://redis-client//lib/redis_client/config.rb#15 + # pkg:gem/redis-client#lib/redis_client/config.rb:15 def write_timeout; end end -# source://redis-client//lib/redis_client/config.rb#12 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#151 +# pkg:gem/redis-client#lib/redis_client.rb:151 class RedisClient::ConnectionError < ::RedisClient::Error; end -# source://redis-client//lib/redis_client/connection_mixin.rb#4 +# pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:4 module RedisClient::ConnectionMixin - # source://redis-client//lib/redis_client/connection_mixin.rb#8 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:8 def initialize(config); end - # source://redis-client//lib/redis_client/connection_mixin.rb#34 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:34 def call(command, timeout); end - # source://redis-client//lib/redis_client/connection_mixin.rb#49 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:49 def call_pipelined(commands, timeouts, exception: T.unsafe(nil)); end - # source://redis-client//lib/redis_client/connection_mixin.rb#20 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:20 def close; end # Returns the value of attribute config. # - # source://redis-client//lib/redis_client/connection_mixin.rb#6 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:6 def config; end - # source://redis-client//lib/redis_client/connection_mixin.rb#100 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:100 def connection_error(message); end - # source://redis-client//lib/redis_client/connection_mixin.rb#85 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:85 def connection_timeout(timeout); end - # source://redis-client//lib/redis_client/connection_mixin.rb#94 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:94 def protocol_error(message); end - # source://redis-client//lib/redis_client/connection_mixin.rb#15 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:15 def reconnect; end # Returns the value of attribute retry_attempt. # - # source://redis-client//lib/redis_client/connection_mixin.rb#5 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:5 def retry_attempt; end # Sets the attribute retry_attempt # # @param value the value to set the attribute retry_attempt to. # - # source://redis-client//lib/redis_client/connection_mixin.rb#5 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:5 def retry_attempt=(_arg0); end - # source://redis-client//lib/redis_client/connection_mixin.rb#25 + # pkg:gem/redis-client#lib/redis_client/connection_mixin.rb:25 def revalidate; end end -# source://redis-client//lib/redis_client/decorator.rb#4 +# pkg:gem/redis-client#lib/redis_client/decorator.rb:4 module RedisClient::Decorator class << self - # source://redis-client//lib/redis_client/decorator.rb#6 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:6 def create(commands_mixin); end end end -# source://redis-client//lib/redis_client/decorator.rb#37 +# pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:40 def initialize(_client); end - # source://redis-client//lib/redis_client/decorator.rb#59 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:59 def close(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def config; end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def connect_timeout; end - # source://redis-client//lib/redis_client/decorator.rb#76 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:76 def connect_timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#59 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:59 def hscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def id; end - # source://redis-client//lib/redis_client/decorator.rb#54 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:54 def multi(**kwargs); end - # source://redis-client//lib/redis_client/decorator.rb#50 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:50 def pipelined(exception: T.unsafe(nil)); end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def pubsub; end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def read_timeout; end - # source://redis-client//lib/redis_client/decorator.rb#76 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:76 def read_timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#59 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:59 def scan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def size; end - # source://redis-client//lib/redis_client/decorator.rb#59 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:59 def sscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#76 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:76 def timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#45 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:45 def with(*args, **_arg1); end - # source://redis-client//lib/redis_client/decorator.rb#68 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:68 def write_timeout; end - # source://redis-client//lib/redis_client/decorator.rb#76 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:76 def write_timeout=(value); end - # source://redis-client//lib/redis_client/decorator.rb#59 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:59 def zscan(*args, **_arg1, &block); end end -# source://redis-client//lib/redis_client/decorator.rb#18 +# pkg:gem/redis-client#lib/redis_client/decorator.rb:18 module RedisClient::Decorator::CommandsMixin - # source://redis-client//lib/redis_client/decorator.rb#19 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:19 def initialize(client); end - # source://redis-client//lib/redis_client/decorator.rb#24 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:24 def blocking_call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#24 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:24 def blocking_call_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#24 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:24 def call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#24 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:24 def call_once(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#24 + # pkg:gem/redis-client#lib/redis_client/decorator.rb:24 def call_once_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/decorator.rb#24 + # pkg:gem/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 +# pkg:gem/redis-client#lib/redis_client/decorator.rb:33 class RedisClient::Decorator::Pipeline include ::RedisClient::Decorator::CommandsMixin end -# source://redis-client//lib/redis_client.rb#137 +# pkg:gem/redis-client#lib/redis_client.rb:137 class RedisClient::Error < ::StandardError include ::RedisClient::HasConfig include ::RedisClient::Retriable class << self - # source://redis-client//lib/redis_client.rb#141 + # pkg:gem/redis-client#lib/redis_client.rb:141 def with_config(message, config = T.unsafe(nil)); end end end -# source://redis-client//lib/redis_client.rb#154 +# pkg:gem/redis-client#lib/redis_client.rb:154 class RedisClient::FailoverError < ::RedisClient::ConnectionError; end -# source://redis-client//lib/redis_client.rb#120 +# pkg:gem/redis-client#lib/redis_client.rb:120 module RedisClient::Final - # source://redis-client//lib/redis_client.rb#121 + # pkg:gem/redis-client#lib/redis_client.rb:121 def _set_retry_attempt(_retry_attempt); end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#132 + # pkg:gem/redis-client#lib/redis_client.rb:132 def final?; end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#128 + # pkg:gem/redis-client#lib/redis_client.rb:128 def retriable?; end - # source://redis-client//lib/redis_client.rb#124 + # pkg:gem/redis-client#lib/redis_client.rb:124 def retry_attempt; end end -# source://redis-client//lib/redis_client.rb#169 +# pkg:gem/redis-client#lib/redis_client.rb:169 module RedisClient::HasCode - # source://redis-client//lib/redis_client.rb#172 + # pkg:gem/redis-client#lib/redis_client.rb:172 def initialize(message = T.unsafe(nil), code = T.unsafe(nil)); end # Returns the value of attribute code. # - # source://redis-client//lib/redis_client.rb#170 + # pkg:gem/redis-client#lib/redis_client.rb:170 def code; end end -# source://redis-client//lib/redis_client.rb#161 +# pkg:gem/redis-client#lib/redis_client.rb:161 module RedisClient::HasCommand - # source://redis-client//lib/redis_client.rb#164 + # pkg:gem/redis-client#lib/redis_client.rb:164 def _set_command(command); end # Returns the value of attribute command. # - # source://redis-client//lib/redis_client.rb#162 + # pkg:gem/redis-client#lib/redis_client.rb:162 def command; end end -# source://redis-client//lib/redis_client.rb#88 +# pkg:gem/redis-client#lib/redis_client.rb:88 module RedisClient::HasConfig - # source://redis-client//lib/redis_client.rb#91 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client.rb:89 def config; end - # source://redis-client//lib/redis_client.rb#95 + # pkg:gem/redis-client#lib/redis_client.rb:95 def message; end end -# source://redis-client//lib/redis_client.rb#209 +# pkg:gem/redis-client#lib/redis_client.rb:209 class RedisClient::MasterDownError < ::RedisClient::ConnectionError include ::RedisClient::HasCommand include ::RedisClient::HasCode end -# source://redis-client//lib/redis_client/middlewares.rb#21 +# pkg:gem/redis-client#lib/redis_client/middlewares.rb:21 class RedisClient::Middlewares < ::RedisClient::BasicMiddleware; end -# source://redis-client//lib/redis_client.rb#583 +# pkg:gem/redis-client#lib/redis_client.rb:583 class RedisClient::Multi # @return [Multi] a new instance of Multi # - # source://redis-client//lib/redis_client.rb#584 + # pkg:gem/redis-client#lib/redis_client.rb:584 def initialize(command_builder); end - # source://redis-client//lib/redis_client.rb#626 + # pkg:gem/redis-client#lib/redis_client.rb:626 def _blocks; end - # source://redis-client//lib/redis_client.rb#646 + # pkg:gem/redis-client#lib/redis_client.rb:646 def _coerce!(results); end - # source://redis-client//lib/redis_client.rb#622 + # pkg:gem/redis-client#lib/redis_client.rb:622 def _commands; end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#634 + # pkg:gem/redis-client#lib/redis_client.rb:634 def _empty?; end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#642 + # pkg:gem/redis-client#lib/redis_client.rb:642 def _retryable?; end - # source://redis-client//lib/redis_client.rb#630 + # pkg:gem/redis-client#lib/redis_client.rb:630 def _size; end - # source://redis-client//lib/redis_client.rb#638 + # pkg:gem/redis-client#lib/redis_client.rb:638 def _timeouts; end - # source://redis-client//lib/redis_client.rb#592 + # pkg:gem/redis-client#lib/redis_client.rb:592 def call(*command, **kwargs, &block); end - # source://redis-client//lib/redis_client.rb#606 + # pkg:gem/redis-client#lib/redis_client.rb:606 def call_once(*command, **kwargs, &block); end - # source://redis-client//lib/redis_client.rb#614 + # pkg:gem/redis-client#lib/redis_client.rb:614 def call_once_v(command, &block); end - # source://redis-client//lib/redis_client.rb#599 + # pkg:gem/redis-client#lib/redis_client.rb:599 def call_v(command, &block); end end -# source://redis-client//lib/redis_client.rb#203 +# pkg:gem/redis-client#lib/redis_client.rb:203 class RedisClient::NoScriptError < ::RedisClient::CommandError; end -# source://redis-client//lib/redis_client.rb#202 +# pkg:gem/redis-client#lib/redis_client.rb:202 class RedisClient::OutOfMemoryError < ::RedisClient::CommandError; end -# source://redis-client//lib/redis_client/pid_cache.rb#4 +# pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/pid_cache.rb:10 def pid; end - # source://redis-client//lib/redis_client/pid_cache.rb#12 + # pkg:gem/redis-client#lib/redis_client/pid_cache.rb:12 def update!; end end end -# source://redis-client//lib/redis_client/pid_cache.rb#18 +# pkg:gem/redis-client#lib/redis_client/pid_cache.rb:18 module RedisClient::PIDCache::CoreExt - # source://redis-client//lib/redis_client/pid_cache.rb#19 + # pkg:gem/redis-client#lib/redis_client/pid_cache.rb:19 def _fork; end end -# source://redis-client//lib/redis_client.rb#200 +# pkg:gem/redis-client#lib/redis_client.rb:200 class RedisClient::PermissionError < ::RedisClient::CommandError; end -# source://redis-client//lib/redis_client.rb#662 +# pkg:gem/redis-client#lib/redis_client.rb:662 class RedisClient::Pipeline < ::RedisClient::Multi # @return [Pipeline] a new instance of Pipeline # - # source://redis-client//lib/redis_client.rb#663 + # pkg:gem/redis-client#lib/redis_client.rb:663 def initialize(_command_builder); end - # source://redis-client//lib/redis_client.rb#694 + # pkg:gem/redis-client#lib/redis_client.rb:694 def _coerce!(results); end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#690 + # pkg:gem/redis-client#lib/redis_client.rb:690 def _empty?; end - # source://redis-client//lib/redis_client.rb#686 + # pkg:gem/redis-client#lib/redis_client.rb:686 def _timeouts; end - # source://redis-client//lib/redis_client.rb#668 + # pkg:gem/redis-client#lib/redis_client.rb:668 def blocking_call(timeout, *command, **kwargs, &block); end - # source://redis-client//lib/redis_client.rb#677 + # pkg:gem/redis-client#lib/redis_client.rb:677 def blocking_call_v(timeout, command, &block); end end -# source://redis-client//lib/redis_client/pooled.rb#6 +# pkg:gem/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 + # pkg:gem/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#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def blocking_call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def blocking_call_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def call(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def call_once(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def call_once_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def call_v(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#37 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:37 def close; end - # source://redis-client//lib/redis_client/pooled.rb#64 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:64 def hscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def multi(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def pipelined(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#55 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:55 def pubsub(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#64 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:64 def scan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#48 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:48 def size; end - # source://redis-client//lib/redis_client/pooled.rb#64 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:64 def sscan(*args, **_arg1, &block); end - # source://redis-client//lib/redis_client/pooled.rb#35 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:35 def then(options = T.unsafe(nil)); end - # source://redis-client//lib/redis_client/pooled.rb#25 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:25 def with(options = T.unsafe(nil)); end - # source://redis-client//lib/redis_client/pooled.rb#64 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:64 def zscan(*args, **_arg1, &block); end private - # source://redis-client//lib/redis_client/pooled.rb#82 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:82 def new_pool; end - # source://redis-client//lib/redis_client/pooled.rb#78 + # pkg:gem/redis-client#lib/redis_client/pooled.rb:78 def pool; end end -# source://redis-client//lib/redis_client/pooled.rb#7 +# pkg:gem/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#148 +# pkg:gem/redis-client#lib/redis_client.rb:148 class RedisClient::ProtocolError < ::RedisClient::Error; end -# source://redis-client//lib/redis_client.rb#546 +# pkg:gem/redis-client#lib/redis_client.rb:546 class RedisClient::PubSub # @return [PubSub] a new instance of PubSub # - # source://redis-client//lib/redis_client.rb#547 + # pkg:gem/redis-client#lib/redis_client.rb:547 def initialize(raw_connection, command_builder); end - # source://redis-client//lib/redis_client.rb#552 + # pkg:gem/redis-client#lib/redis_client.rb:552 def call(*command, **kwargs); end - # source://redis-client//lib/redis_client.rb#557 + # pkg:gem/redis-client#lib/redis_client.rb:557 def call_v(command); end - # source://redis-client//lib/redis_client.rb#562 + # pkg:gem/redis-client#lib/redis_client.rb:562 def close; end - # source://redis-client//lib/redis_client.rb#568 + # pkg:gem/redis-client#lib/redis_client.rb:568 def next_event(timeout = T.unsafe(nil)); end private # Returns the value of attribute raw_connection. # - # source://redis-client//lib/redis_client.rb#580 + # pkg:gem/redis-client#lib/redis_client.rb:580 def raw_connection; end end -# source://redis-client//lib/redis_client/ruby_connection/resp3.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#205 +# pkg:gem/redis-client#lib/redis_client.rb:205 class RedisClient::ReadOnlyError < ::RedisClient::ConnectionError include ::RedisClient::HasCommand include ::RedisClient::HasCode end -# source://redis-client//lib/redis_client.rb#157 +# pkg:gem/redis-client#lib/redis_client.rb:157 class RedisClient::ReadTimeoutError < ::RedisClient::TimeoutError; end -# source://redis-client//lib/redis_client.rb#102 +# pkg:gem/redis-client#lib/redis_client.rb:102 module RedisClient::Retriable - # source://redis-client//lib/redis_client.rb#103 + # pkg:gem/redis-client#lib/redis_client.rb:103 def _set_retry_attempt(retry_attempt); end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#115 + # pkg:gem/redis-client#lib/redis_client.rb:115 def final?; end # @return [Boolean] # - # source://redis-client//lib/redis_client.rb#111 + # pkg:gem/redis-client#lib/redis_client.rb:111 def retriable?; end - # source://redis-client//lib/redis_client.rb#107 + # pkg:gem/redis-client#lib/redis_client.rb:107 def retry_attempt; end end -# source://redis-client//lib/redis_client/ruby_connection/buffered_io.rb#6 +# pkg:gem/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#43 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:43 def initialize(config, connect_timeout:, read_timeout:, write_timeout:); end - # source://redis-client//lib/redis_client/ruby_connection.rb#55 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:55 def close; end # @return [Boolean] # - # source://redis-client//lib/redis_client/ruby_connection.rb#51 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:51 def connected?; end - # source://redis-client//lib/redis_client/ruby_connection.rb#107 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:107 def measure_round_trip_delay; end - # source://redis-client//lib/redis_client/ruby_connection.rb#95 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:95 def read(timeout = T.unsafe(nil)); end - # source://redis-client//lib/redis_client/ruby_connection.rb#60 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:60 def read_timeout=(timeout); end - # source://redis-client//lib/redis_client/ruby_connection.rb#70 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:70 def write(command); end - # source://redis-client//lib/redis_client/ruby_connection.rb#83 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:83 def write_multi(commands); end - # source://redis-client//lib/redis_client/ruby_connection.rb#65 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:65 def write_timeout=(timeout); end private - # source://redis-client//lib/redis_client/ruby_connection.rb#115 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:115 def connect; end # unknown # - # source://redis-client//lib/redis_client/ruby_connection.rb#179 + # pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:179 def enable_socket_keep_alive(socket); end class << self - # source://redis-client//lib/redis_client/ruby_connection.rb#14 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#164 +# pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:164 RedisClient::RubyConnection::KEEP_ALIVE_INTERVAL = T.let(T.unsafe(nil), Integer) -# source://redis-client//lib/redis_client/ruby_connection.rb#166 +# pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:166 RedisClient::RubyConnection::KEEP_ALIVE_PROBES = T.let(T.unsafe(nil), Integer) # Longer than hiredis defaults # -# source://redis-client//lib/redis_client/ruby_connection.rb#165 +# pkg:gem/redis-client#lib/redis_client/ruby_connection.rb:165 RedisClient::RubyConnection::KEEP_ALIVE_TTL = T.let(T.unsafe(nil), Integer) -# source://redis-client//lib/redis_client/ruby_connection.rb#41 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#110 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:110 def check_role!(role); end - # source://redis-client//lib/redis_client/sentinel_config.rb#89 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:89 def host; end # Returns the value of attribute name. # - # source://redis-client//lib/redis_client/sentinel_config.rb#10 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:10 def name; end - # source://redis-client//lib/redis_client/sentinel_config.rb#97 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:97 def path; end - # source://redis-client//lib/redis_client/sentinel_config.rb#93 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:93 def port; end - # source://redis-client//lib/redis_client/sentinel_config.rb#79 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:79 def reset; end # @return [Boolean] # - # source://redis-client//lib/redis_client/sentinel_config.rb#124 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:124 def resolved?; end # @return [Boolean] # - # source://redis-client//lib/redis_client/sentinel_config.rb#101 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:101 def retry_connecting?(attempt, error); end # @return [Boolean] # - # source://redis-client//lib/redis_client/sentinel_config.rb#106 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:106 def sentinel?; end - # source://redis-client//lib/redis_client/sentinel_config.rb#73 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:73 def sentinels; end - # source://redis-client//lib/redis_client/sentinel_config.rb#85 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:85 def server_key; end private - # source://redis-client//lib/redis_client/sentinel_config.rb#143 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:143 def config; end - # source://redis-client//lib/redis_client/sentinel_config.rb#190 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:190 def each_sentinel; end - # source://redis-client//lib/redis_client/sentinel_config.rb#216 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:216 def refresh_sentinels(sentinel_client); end - # source://redis-client//lib/redis_client/sentinel_config.rb#153 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:153 def resolve_master; end - # source://redis-client//lib/redis_client/sentinel_config.rb#172 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:172 def resolve_replica; end - # source://redis-client//lib/redis_client/sentinel_config.rb#168 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:168 def sentinel_client(sentinel_config); end - # source://redis-client//lib/redis_client/sentinel_config.rb#132 + # pkg:gem/redis-client#lib/redis_client/sentinel_config.rb:132 def sentinels_to_configs(sentinels); end end -# source://redis-client//lib/redis_client/sentinel_config.rb#8 +# pkg:gem/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 +# pkg:gem/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#156 +# pkg:gem/redis-client#lib/redis_client.rb:156 class RedisClient::TimeoutError < ::RedisClient::ConnectionError; end -# source://redis-client//lib/redis_client/url_config.rb#6 +# pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:9 def initialize(url); end - # source://redis-client//lib/redis_client/url_config.rb#30 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:30 def db; end - # source://redis-client//lib/redis_client/url_config.rb#56 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:56 def host; end - # source://redis-client//lib/redis_client/url_config.rb#48 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:48 def password; end - # source://redis-client//lib/redis_client/url_config.rb#62 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:62 def path; end - # source://redis-client//lib/redis_client/url_config.rb#68 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:68 def port; end # @return [Boolean] # - # source://redis-client//lib/redis_client/url_config.rb#26 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:7 def url; end - # source://redis-client//lib/redis_client/url_config.rb#44 + # pkg:gem/redis-client#lib/redis_client/url_config.rb:44 def username; end end -# source://redis-client//lib/redis_client.rb#149 +# pkg:gem/redis-client#lib/redis_client.rb:149 class RedisClient::UnsupportedServer < ::RedisClient::Error; end -# source://redis-client//lib/redis_client/version.rb#4 +# pkg:gem/redis-client#lib/redis_client/version.rb:4 RedisClient::VERSION = T.let(T.unsafe(nil), String) -# source://redis-client//lib/redis_client.rb#158 +# pkg:gem/redis-client#lib/redis_client.rb:158 class RedisClient::WriteTimeoutError < ::RedisClient::TimeoutError; end -# source://redis-client//lib/redis_client.rb#201 +# pkg:gem/redis-client#lib/redis_client.rb:201 class RedisClient::WrongTypeError < ::RedisClient::CommandError; end diff --git a/sorbet/rbi/gems/redis@5.4.0.rbi b/sorbet/rbi/gems/redis@5.4.0.rbi index b9a8bc353..6df4110a1 100644 --- a/sorbet/rbi/gems/redis@5.4.0.rbi +++ b/sorbet/rbi/gems/redis@5.4.0.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem redis`. -# source://redis//lib/redis/errors.rb#3 +# pkg:gem/redis#lib/redis/errors.rb:3 class Redis include ::Redis::Commands::Bitmaps include ::Redis::Commands::Cluster @@ -45,192 +45,192 @@ class Redis # @param options [Hash] # @return [Redis] a new client instance # - # source://redis//lib/redis.rb#63 + # pkg:gem/redis#lib/redis.rb:63 def initialize(options = T.unsafe(nil)); end - # source://redis//lib/redis.rb#98 + # pkg:gem/redis#lib/redis.rb:98 def _client; end # Disconnect the client as quickly and silently as possible. # - # source://redis//lib/redis.rb#88 + # pkg:gem/redis#lib/redis.rb:88 def close; end # Test whether or not the client is connected # # @return [Boolean] # - # source://redis//lib/redis.rb#83 + # pkg:gem/redis#lib/redis.rb:83 def connected?; end - # source://redis//lib/redis.rb#122 + # pkg:gem/redis#lib/redis.rb:122 def connection; end # Disconnect the client as quickly and silently as possible. # - # source://redis//lib/redis.rb#92 + # pkg:gem/redis#lib/redis.rb:92 def disconnect!; end - # source://redis//lib/redis.rb#118 + # pkg:gem/redis#lib/redis.rb:118 def dup; end - # source://redis//lib/redis.rb#110 + # pkg:gem/redis#lib/redis.rb:110 def id; end - # source://redis//lib/redis.rb#114 + # pkg:gem/redis#lib/redis.rb:114 def inspect; end - # source://redis//lib/redis.rb#102 + # pkg:gem/redis#lib/redis.rb:102 def pipelined(exception: T.unsafe(nil)); end # @yield [_self] # @yieldparam _self [Redis] the object that the method was called on # - # source://redis//lib/redis.rb#94 + # pkg:gem/redis#lib/redis.rb:94 def with; end # Run code without the client reconnecting # - # source://redis//lib/redis.rb#78 + # pkg:gem/redis#lib/redis.rb:78 def without_reconnect(&block); end private - # source://redis//lib/redis.rb#164 + # pkg:gem/redis#lib/redis.rb:164 def _subscription(method, timeout, channels, block); end - # source://redis//lib/redis.rb#134 + # pkg:gem/redis#lib/redis.rb:134 def initialize_client(options); end - # source://redis//lib/redis.rb#158 + # pkg:gem/redis#lib/redis.rb:158 def send_blocking_command(command, timeout, &block); end - # source://redis//lib/redis.rb#150 + # pkg:gem/redis#lib/redis.rb:150 def send_command(command, &block); end - # source://redis//lib/redis.rb#146 + # pkg:gem/redis#lib/redis.rb:146 def synchronize; end class << self - # source://redis//lib/redis.rb#14 + # pkg:gem/redis#lib/redis.rb:14 def deprecate!(message); end # Returns the value of attribute raise_deprecations. # - # source://redis//lib/redis.rb#12 + # pkg:gem/redis#lib/redis.rb:12 def raise_deprecations; end # Sets the attribute raise_deprecations # # @param value the value to set the attribute raise_deprecations to. # - # source://redis//lib/redis.rb#12 + # pkg:gem/redis#lib/redis.rb:12 def raise_deprecations=(_arg0); end # Returns the value of attribute silence_deprecations. # - # source://redis//lib/redis.rb#12 + # pkg:gem/redis#lib/redis.rb:12 def silence_deprecations; end # Sets the attribute silence_deprecations # # @param value the value to set the attribute silence_deprecations to. # - # source://redis//lib/redis.rb#12 + # pkg:gem/redis#lib/redis.rb:12 def silence_deprecations=(_arg0); end end end -# source://redis//lib/redis.rb#8 +# pkg:gem/redis#lib/redis.rb:8 Redis::BASE_PATH = T.let(T.unsafe(nil), String) # Base error for connection related errors. # -# source://redis//lib/redis/errors.rb#33 +# pkg:gem/redis#lib/redis/errors.rb:33 class Redis::BaseConnectionError < ::Redis::BaseError; end # Base error for all redis-rb errors. # -# source://redis//lib/redis/errors.rb#5 +# pkg:gem/redis#lib/redis/errors.rb:5 class Redis::BaseError < ::StandardError; end # Raised when connection to a Redis server cannot be made. # -# source://redis//lib/redis/errors.rb#37 +# pkg:gem/redis#lib/redis/errors.rb:37 class Redis::CannotConnectError < ::Redis::BaseConnectionError; end -# source://redis//lib/redis/client.rb#6 +# pkg:gem/redis#lib/redis/client.rb:6 class Redis::Client < ::RedisClient - # source://redis//lib/redis/client.rb#95 + # pkg:gem/redis#lib/redis/client.rb:95 def blocking_call_v(timeout, command, &block); end - # source://redis//lib/redis/client.rb#89 + # pkg:gem/redis#lib/redis/client.rb:89 def call_v(command, &block); end - # source://redis//lib/redis/client.rb#60 + # pkg:gem/redis#lib/redis/client.rb:60 def db; end - # source://redis//lib/redis/client.rb#64 + # pkg:gem/redis#lib/redis/client.rb:64 def host; end - # source://redis//lib/redis/client.rb#48 + # pkg:gem/redis#lib/redis/client.rb:48 def id; end - # source://redis//lib/redis/client.rb#120 + # pkg:gem/redis#lib/redis/client.rb:120 def inherit_socket!; end - # source://redis//lib/redis/client.rb#114 + # pkg:gem/redis#lib/redis/client.rb:114 def multi(watch: T.unsafe(nil)); end - # source://redis//lib/redis/client.rb#80 + # pkg:gem/redis#lib/redis/client.rb:80 def password; end - # source://redis//lib/redis/client.rb#72 + # pkg:gem/redis#lib/redis/client.rb:72 def path; end - # source://redis//lib/redis/client.rb#108 + # pkg:gem/redis#lib/redis/client.rb:108 def pipelined(exception: T.unsafe(nil)); end - # source://redis//lib/redis/client.rb#68 + # pkg:gem/redis#lib/redis/client.rb:68 def port; end - # source://redis//lib/redis/client.rb#52 + # pkg:gem/redis#lib/redis/client.rb:52 def server_url; end - # source://redis//lib/redis/client.rb#56 + # pkg:gem/redis#lib/redis/client.rb:56 def timeout; end - # source://redis//lib/redis/client.rb#76 + # pkg:gem/redis#lib/redis/client.rb:76 def username; end class << self - # source://redis//lib/redis/client.rb#22 + # pkg:gem/redis#lib/redis/client.rb:22 def config(**kwargs); end - # source://redis//lib/redis/client.rb#26 + # pkg:gem/redis#lib/redis/client.rb:26 def sentinel(**kwargs); end # @raise [redis_error] # - # source://redis//lib/redis/client.rb#30 + # pkg:gem/redis#lib/redis/client.rb:30 def translate_error!(error, mapping: T.unsafe(nil)); end private - # source://redis//lib/redis/client.rb#37 + # pkg:gem/redis#lib/redis/client.rb:37 def translate_error_class(error_class, mapping: T.unsafe(nil)); end end end -# source://redis//lib/redis/client.rb#7 +# pkg:gem/redis#lib/redis/client.rb:7 Redis::Client::ERROR_MAPPING = T.let(T.unsafe(nil), Hash) # Raised by the client when command execution returns an error reply. # -# source://redis//lib/redis/errors.rb#20 +# pkg:gem/redis#lib/redis/errors.rb:20 class Redis::CommandError < ::Redis::BaseError; end -# source://redis//lib/redis/commands/bitmaps.rb#4 +# pkg:gem/redis#lib/redis/commands/bitmaps.rb:4 module Redis::Commands include ::Redis::Commands::Bitmaps include ::Redis::Commands::Cluster @@ -258,7 +258,7 @@ module Redis::Commands # # Redis error replies are raised as Ruby exceptions. # - # source://redis//lib/redis/commands.rb#204 + # pkg:gem/redis#lib/redis/commands.rb:204 def call(*command, &block); end # Interact with the sentinel command (masters, master, slaves, failover) @@ -267,16 +267,16 @@ module Redis::Commands # @param subcommand [String] e.g. `masters`, `master`, `slaves` # @return [Array, Hash, String] depends on subcommand # - # source://redis//lib/redis/commands.rb#213 + # pkg:gem/redis#lib/redis/commands.rb:213 def sentinel(subcommand, *args); end private - # source://redis//lib/redis/commands.rb#235 + # pkg:gem/redis#lib/redis/commands.rb:235 def method_missing(*command); end end -# source://redis//lib/redis/commands/bitmaps.rb#5 +# pkg:gem/redis#lib/redis/commands/bitmaps.rb:5 module Redis::Commands::Bitmaps # Count the number of set bits in a range of the string value stored at key. # @@ -287,7 +287,7 @@ module Redis::Commands::Bitmaps # @param stop [Integer] stop index # @return [Integer] the number of bits set to 1 # - # source://redis//lib/redis/commands/bitmaps.rb#33 + # pkg:gem/redis#lib/redis/commands/bitmaps.rb:33 def bitcount(key, start = T.unsafe(nil), stop = T.unsafe(nil), scale: T.unsafe(nil)); end # Perform a bitwise operation between strings and store the resulting string in a key. @@ -297,7 +297,7 @@ module Redis::Commands::Bitmaps # @param operation [String] e.g. `and`, `or`, `xor`, `not` # @return [Integer] the length of the string stored in `destkey` # - # source://redis//lib/redis/commands/bitmaps.rb#45 + # pkg:gem/redis#lib/redis/commands/bitmaps.rb:45 def bitop(operation, destkey, *keys); end # Return the position of the first bit set to 1 or 0 in a string. @@ -312,7 +312,7 @@ module Redis::Commands::Bitmaps # @return [Integer] the position of the first 1/0 bit. # -1 if looking for 1 and it is not found or start and stop are given. # - # source://redis//lib/redis/commands/bitmaps.rb#62 + # pkg:gem/redis#lib/redis/commands/bitmaps.rb:62 def bitpos(key, bit, start = T.unsafe(nil), stop = T.unsafe(nil), scale: T.unsafe(nil)); end # Returns the bit value at offset in the string value stored at key. @@ -321,7 +321,7 @@ module Redis::Commands::Bitmaps # @param offset [Integer] bit offset # @return [Integer] `0` or `1` # - # source://redis//lib/redis/commands/bitmaps.rb#21 + # pkg:gem/redis#lib/redis/commands/bitmaps.rb:21 def getbit(key, offset); end # Sets or clears the bit at offset in the string value stored at key. @@ -331,7 +331,7 @@ module Redis::Commands::Bitmaps # @param value [Integer] bit value `0` or `1` # @return [Integer] the original bit value stored at `offset` # - # source://redis//lib/redis/commands/bitmaps.rb#12 + # pkg:gem/redis#lib/redis/commands/bitmaps.rb:12 def setbit(key, offset, value); end end @@ -339,20 +339,20 @@ end # where the method call will return nil. Propagate the nil instead of falsely # returning false. # -# source://redis//lib/redis/commands.rb#42 +# pkg:gem/redis#lib/redis/commands.rb:42 Redis::Commands::Boolify = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#46 +# pkg:gem/redis#lib/redis/commands.rb:46 Redis::Commands::BoolifySet = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands/cluster.rb#5 +# pkg:gem/redis#lib/redis/commands/cluster.rb:5 module Redis::Commands::Cluster # Sends `ASKING` command to random node and returns its reply. # # @return [String] `'OK'` # @see https://redis.io/topics/cluster-spec#ask-redirection ASK redirection # - # source://redis//lib/redis/commands/cluster.rb#23 + # pkg:gem/redis#lib/redis/commands/cluster.rb:23 def asking; end # Sends `CLUSTER *` command to random node and returns its reply. @@ -362,11 +362,11 @@ module Redis::Commands::Cluster # @return [Object] depends on the subcommand # @see https://redis.io/commands#cluster Reference of cluster command # - # source://redis//lib/redis/commands/cluster.rb#14 + # pkg:gem/redis#lib/redis/commands/cluster.rb:14 def cluster(subcommand, *args); end end -# source://redis//lib/redis/commands/connection.rb#5 +# pkg:gem/redis#lib/redis/commands/connection.rb:5 module Redis::Commands::Connection # Authenticate to the server. # @@ -375,7 +375,7 @@ module Redis::Commands::Connection # @return [String] `OK` # @see https://redis.io/commands/auth AUTH command # - # source://redis//lib/redis/commands/connection.rb#12 + # pkg:gem/redis#lib/redis/commands/connection.rb:12 def auth(*args); end # Echo the given string. @@ -383,7 +383,7 @@ module Redis::Commands::Connection # @param value [String] # @return [String] # - # source://redis//lib/redis/commands/connection.rb#28 + # pkg:gem/redis#lib/redis/commands/connection.rb:28 def echo(value); end # Ping the server. @@ -391,14 +391,14 @@ module Redis::Commands::Connection # @param message [optional, String] # @return [String] `PONG` # - # source://redis//lib/redis/commands/connection.rb#20 + # pkg:gem/redis#lib/redis/commands/connection.rb:20 def ping(message = T.unsafe(nil)); end # Close the connection. # # @return [String] `OK` # - # source://redis//lib/redis/commands/connection.rb#43 + # pkg:gem/redis#lib/redis/commands/connection.rb:43 def quit; end # Change the selected database for the current connection. @@ -406,23 +406,23 @@ module Redis::Commands::Connection # @param db [Integer] zero-based index of the DB to use (0 to 15) # @return [String] `OK` # - # source://redis//lib/redis/commands/connection.rb#36 + # pkg:gem/redis#lib/redis/commands/connection.rb:36 def select(db); end end -# source://redis//lib/redis/commands.rb#112 +# pkg:gem/redis#lib/redis/commands.rb:112 Redis::Commands::EMPTY_STREAM_RESPONSE = T.let(T.unsafe(nil), Array) -# source://redis//lib/redis/commands.rb#73 +# pkg:gem/redis#lib/redis/commands.rb:73 Redis::Commands::Floatify = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#86 +# pkg:gem/redis#lib/redis/commands.rb:86 Redis::Commands::FloatifyPair = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#90 +# pkg:gem/redis#lib/redis/commands.rb:90 Redis::Commands::FloatifyPairs = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands/geo.rb#5 +# pkg:gem/redis#lib/redis/commands/geo.rb:5 module Redis::Commands::Geo # Adds the specified geospatial items (latitude, longitude, name) to the specified key # @@ -430,7 +430,7 @@ module Redis::Commands::Geo # @param member [Array] arguemnts for member or members: longitude, latitude, name # @return [Integer] number of elements added to the sorted set # - # source://redis//lib/redis/commands/geo.rb#11 + # pkg:gem/redis#lib/redis/commands/geo.rb:11 def geoadd(key, *member); end # Returns the distance between two members of a geospatial index @@ -440,7 +440,7 @@ module Redis::Commands::Geo # @param unit ['m', 'km', 'mi', 'ft'] # @return [String, nil] returns distance in spefied unit if both members present, nil otherwise. # - # source://redis//lib/redis/commands/geo.rb#70 + # pkg:gem/redis#lib/redis/commands/geo.rb:70 def geodist(key, member1, member2, unit = T.unsafe(nil)); end # Returns geohash string representing position for specified members of the specified key. @@ -449,7 +449,7 @@ module Redis::Commands::Geo # @param member [String, Array] one member or array of members # @return [Array] returns array containg geohash string if member is present, nil otherwise # - # source://redis//lib/redis/commands/geo.rb#20 + # pkg:gem/redis#lib/redis/commands/geo.rb:20 def geohash(key, member); end # Returns longitude and latitude of members of a geospatial index @@ -459,7 +459,7 @@ module Redis::Commands::Geo # @return [Array, nil>] returns array of elements, where each # element is either array of longitude and latitude or nil # - # source://redis//lib/redis/commands/geo.rb#60 + # pkg:gem/redis#lib/redis/commands/geo.rb:60 def geopos(key, member); end # Query a sorted set representing a geospatial index to fetch members matching a @@ -472,7 +472,7 @@ module Redis::Commands::Geo # or the farthest to the nearest relative to the center # @return [Array] may be changed with `options` # - # source://redis//lib/redis/commands/geo.rb#33 + # pkg:gem/redis#lib/redis/commands/geo.rb:33 def georadius(*args, **geoptions); end # Query a sorted set representing a geospatial index to fetch members matching a @@ -485,16 +485,16 @@ module Redis::Commands::Geo # to the nearest relative to the center # @return [Array] may be changed with `options` # - # source://redis//lib/redis/commands/geo.rb#48 + # pkg:gem/redis#lib/redis/commands/geo.rb:48 def georadiusbymember(*args, **geoptions); end private - # source://redis//lib/redis/commands/geo.rb#76 + # pkg:gem/redis#lib/redis/commands/geo.rb:76 def _geoarguments(*args, options: T.unsafe(nil), sort: T.unsafe(nil), count: T.unsafe(nil)); end end -# source://redis//lib/redis/commands/hashes.rb#5 +# pkg:gem/redis#lib/redis/commands/hashes.rb:5 module Redis::Commands::Hashes # Delete one or more hash fields. # @@ -502,7 +502,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Integer] the number of fields that were removed from the hash # - # source://redis//lib/redis/commands/hashes.rb#156 + # pkg:gem/redis#lib/redis/commands/hashes.rb:156 def hdel(key, *fields); end # Determine if a hash field exists. @@ -511,7 +511,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Boolean] whether or not the field exists in the hash # - # source://redis//lib/redis/commands/hashes.rb#166 + # pkg:gem/redis#lib/redis/commands/hashes.rb:166 def hexists(key, field); end # Get the value of a hash field. @@ -520,7 +520,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [String] # - # source://redis//lib/redis/commands/hashes.rb#74 + # pkg:gem/redis#lib/redis/commands/hashes.rb:74 def hget(key, field); end # Get all the fields and values in a hash. @@ -528,7 +528,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Hash] # - # source://redis//lib/redis/commands/hashes.rb#210 + # pkg:gem/redis#lib/redis/commands/hashes.rb:210 def hgetall(key); end # Increment the integer value of a hash field by the given integer number. @@ -538,7 +538,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Integer] value of the field after incrementing it # - # source://redis//lib/redis/commands/hashes.rb#176 + # pkg:gem/redis#lib/redis/commands/hashes.rb:176 def hincrby(key, field, increment); end # Increment the numeric value of a hash field by the given float number. @@ -548,7 +548,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Float] value of the field after incrementing it # - # source://redis//lib/redis/commands/hashes.rb#186 + # pkg:gem/redis#lib/redis/commands/hashes.rb:186 def hincrbyfloat(key, field, increment); end # Get all the fields in a hash. @@ -556,7 +556,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Array] # - # source://redis//lib/redis/commands/hashes.rb#194 + # pkg:gem/redis#lib/redis/commands/hashes.rb:194 def hkeys(key); end # Get the number of fields in a hash. @@ -564,7 +564,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Integer] number of fields in the hash # - # source://redis//lib/redis/commands/hashes.rb#10 + # pkg:gem/redis#lib/redis/commands/hashes.rb:10 def hlen(key); end # Get the values of all the given hash fields. @@ -577,7 +577,7 @@ module Redis::Commands::Hashes # @return [Array] an array of values for the specified fields # @see #mapped_hmget # - # source://redis//lib/redis/commands/hashes.rb#89 + # pkg:gem/redis#lib/redis/commands/hashes.rb:89 def hmget(key, *fields, &blk); end # Set one or more hash values. @@ -590,7 +590,7 @@ module Redis::Commands::Hashes # @return [String] `"OK"` # @see #mapped_hmset # - # source://redis//lib/redis/commands/hashes.rb#50 + # pkg:gem/redis#lib/redis/commands/hashes.rb:50 def hmset(key, *attrs); end # Get one or more random fields from a hash. @@ -612,7 +612,7 @@ module Redis::Commands::Hashes # - when `count` is specified and `:with_values` is not specified, an array of field names # - when `:with_values` is specified, an array with `[field, value]` pairs # - # source://redis//lib/redis/commands/hashes.rb#138 + # pkg:gem/redis#lib/redis/commands/hashes.rb:138 def hrandfield(key, count = T.unsafe(nil), withvalues: T.unsafe(nil), with_values: T.unsafe(nil)); end # Scan a hash @@ -626,7 +626,7 @@ module Redis::Commands::Hashes # - `:count => Integer`: return count keys at most per iteration # @return [String, Array<[String, String]>] the next cursor and all found keys # - # source://redis//lib/redis/commands/hashes.rb#227 + # pkg:gem/redis#lib/redis/commands/hashes.rb:227 def hscan(key, cursor, **options); end # Scan a hash @@ -640,7 +640,7 @@ module Redis::Commands::Hashes # - `:count => Integer`: return count keys at most per iteration # @return [Enumerator] an enumerator for all found keys # - # source://redis//lib/redis/commands/hashes.rb#246 + # pkg:gem/redis#lib/redis/commands/hashes.rb:246 def hscan_each(key, **options, &block); end # Set one or more hash values. @@ -652,7 +652,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Integer] The number of fields that were added to the hash # - # source://redis//lib/redis/commands/hashes.rb#23 + # pkg:gem/redis#lib/redis/commands/hashes.rb:23 def hset(key, *attrs); end # Set the value of a hash field, only if the field does not exist. @@ -662,7 +662,7 @@ module Redis::Commands::Hashes # @param value [String] # @return [Boolean] whether or not the field was **added** to the hash # - # source://redis//lib/redis/commands/hashes.rb#35 + # pkg:gem/redis#lib/redis/commands/hashes.rb:35 def hsetnx(key, field, value); end # Get all the values in a hash. @@ -670,7 +670,7 @@ module Redis::Commands::Hashes # @param key [String] # @return [Array] # - # source://redis//lib/redis/commands/hashes.rb#202 + # pkg:gem/redis#lib/redis/commands/hashes.rb:202 def hvals(key); end # Get the values of all the given hash fields. @@ -683,7 +683,7 @@ module Redis::Commands::Hashes # @return [Hash] a hash mapping the specified fields to their values # @see #hmget # - # source://redis//lib/redis/commands/hashes.rb#105 + # pkg:gem/redis#lib/redis/commands/hashes.rb:105 def mapped_hmget(key, *fields); end # Set one or more hash values. @@ -696,47 +696,47 @@ module Redis::Commands::Hashes # @return [String] `"OK"` # @see #hmset # - # source://redis//lib/redis/commands/hashes.rb#65 + # pkg:gem/redis#lib/redis/commands/hashes.rb:65 def mapped_hmset(key, hash); end end -# source://redis//lib/redis/commands.rb#57 +# pkg:gem/redis#lib/redis/commands.rb:57 Redis::Commands::Hashify = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#157 +# pkg:gem/redis#lib/redis/commands.rb:157 Redis::Commands::HashifyClusterNodeInfo = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#186 +# pkg:gem/redis#lib/redis/commands.rb:186 Redis::Commands::HashifyClusterNodes = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#190 +# pkg:gem/redis#lib/redis/commands.rb:190 Redis::Commands::HashifyClusterSlaves = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#172 +# pkg:gem/redis#lib/redis/commands.rb:172 Redis::Commands::HashifyClusterSlots = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#96 +# pkg:gem/redis#lib/redis/commands.rb:96 Redis::Commands::HashifyInfo = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#121 +# pkg:gem/redis#lib/redis/commands.rb:121 Redis::Commands::HashifyStreamAutoclaim = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#130 +# pkg:gem/redis#lib/redis/commands.rb:130 Redis::Commands::HashifyStreamAutoclaimJustId = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#115 +# pkg:gem/redis#lib/redis/commands.rb:115 Redis::Commands::HashifyStreamEntries = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#146 +# pkg:gem/redis#lib/redis/commands.rb:146 Redis::Commands::HashifyStreamPendingDetails = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#137 +# pkg:gem/redis#lib/redis/commands.rb:137 Redis::Commands::HashifyStreamPendings = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#103 +# pkg:gem/redis#lib/redis/commands.rb:103 Redis::Commands::HashifyStreams = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands/hyper_log_log.rb#5 +# pkg:gem/redis#lib/redis/commands/hyper_log_log.rb:5 module Redis::Commands::HyperLogLog # Add one or more members to a HyperLogLog structure. # @@ -744,7 +744,7 @@ module Redis::Commands::HyperLogLog # @param member [String, Array] one member, or array of members # @return [Boolean] true if at least 1 HyperLogLog internal register was altered. false otherwise. # - # source://redis//lib/redis/commands/hyper_log_log.rb#11 + # pkg:gem/redis#lib/redis/commands/hyper_log_log.rb:11 def pfadd(key, member); end # Get the approximate cardinality of members added to HyperLogLog structure. @@ -755,7 +755,7 @@ module Redis::Commands::HyperLogLog # @param keys [String, Array] # @return [Integer] # - # source://redis//lib/redis/commands/hyper_log_log.rb#22 + # pkg:gem/redis#lib/redis/commands/hyper_log_log.rb:22 def pfcount(*keys); end # Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of @@ -765,11 +765,11 @@ module Redis::Commands::HyperLogLog # @param source_key [String, Array] source key, or array of keys # @return [Boolean] # - # source://redis//lib/redis/commands/hyper_log_log.rb#32 + # pkg:gem/redis#lib/redis/commands/hyper_log_log.rb:32 def pfmerge(dest_key, *source_key); end end -# source://redis//lib/redis/commands/keys.rb#5 +# pkg:gem/redis#lib/redis/commands/keys.rb:5 module Redis::Commands::Keys # Copy a value from one key to another. # @@ -795,7 +795,7 @@ module Redis::Commands::Keys # @param source [String] # @return [Boolean] whether the key was copied or not # - # source://redis//lib/redis/commands/keys.rb#349 + # pkg:gem/redis#lib/redis/commands/keys.rb:349 def copy(source, destination, db: T.unsafe(nil), replace: T.unsafe(nil)); end # Delete one or more keys. @@ -803,7 +803,7 @@ module Redis::Commands::Keys # @param keys [String, Array] # @return [Integer] number of keys that were deleted # - # source://redis//lib/redis/commands/keys.rb#252 + # pkg:gem/redis#lib/redis/commands/keys.rb:252 def del(*keys); end # Return a serialized version of the value stored at a key. @@ -811,7 +811,7 @@ module Redis::Commands::Keys # @param key [String] # @return [String] serialized_value # - # source://redis//lib/redis/commands/keys.rb#203 + # pkg:gem/redis#lib/redis/commands/keys.rb:203 def dump(key); end # Determine how many of the keys exists. @@ -819,7 +819,7 @@ module Redis::Commands::Keys # @param keys [String, Array] # @return [Integer] # - # source://redis//lib/redis/commands/keys.rb#271 + # pkg:gem/redis#lib/redis/commands/keys.rb:271 def exists(*keys); end # Determine if any of the keys exists. @@ -827,7 +827,7 @@ module Redis::Commands::Keys # @param keys [String, Array] # @return [Boolean] # - # source://redis//lib/redis/commands/keys.rb#279 + # pkg:gem/redis#lib/redis/commands/keys.rb:279 def exists?(*keys); end # Set a key's time to live in seconds. @@ -840,7 +840,7 @@ module Redis::Commands::Keys # @param seconds [Integer] time to live # @return [Boolean] whether the timeout was set or not # - # source://redis//lib/redis/commands/keys.rb#82 + # pkg:gem/redis#lib/redis/commands/keys.rb:82 def expire(key, seconds, nx: T.unsafe(nil), xx: T.unsafe(nil), gt: T.unsafe(nil), lt: T.unsafe(nil)); end # Set the expiration for a key as a UNIX timestamp. @@ -853,7 +853,7 @@ module Redis::Commands::Keys # @param unix_time [Integer] expiry time specified as a UNIX timestamp # @return [Boolean] whether the timeout was set or not # - # source://redis//lib/redis/commands/keys.rb#102 + # pkg:gem/redis#lib/redis/commands/keys.rb:102 def expireat(key, unix_time, nx: T.unsafe(nil), xx: T.unsafe(nil), gt: T.unsafe(nil), lt: T.unsafe(nil)); end # Get a key's expiry time specified as number of seconds from UNIX Epoch @@ -861,7 +861,7 @@ module Redis::Commands::Keys # @param key [String] # @return [Integer] expiry time specified as number of seconds from UNIX Epoch # - # source://redis//lib/redis/commands/keys.rb#116 + # pkg:gem/redis#lib/redis/commands/keys.rb:116 def expiretime(key); end # Find all keys matching the given pattern. @@ -871,7 +871,7 @@ module Redis::Commands::Keys # @param pattern [String] # @return [Array] # - # source://redis//lib/redis/commands/keys.rb#291 + # pkg:gem/redis#lib/redis/commands/keys.rb:291 def keys(pattern = T.unsafe(nil)); end # Transfer a key from the connected instance to another instance. @@ -885,7 +885,7 @@ module Redis::Commands::Keys # - `:replace => Boolean`: Replace existing key on the remote instance. # @return [String] `"OK"` # - # source://redis//lib/redis/commands/keys.rb#234 + # pkg:gem/redis#lib/redis/commands/keys.rb:234 def migrate(key, options); end # Move a key to another database. @@ -907,10 +907,10 @@ module Redis::Commands::Keys # @param key [String] # @return [Boolean] whether the key was moved or not # - # source://redis//lib/redis/commands/keys.rb#320 + # pkg:gem/redis#lib/redis/commands/keys.rb:320 def move(key, db); end - # source://redis//lib/redis/commands/keys.rb#357 + # pkg:gem/redis#lib/redis/commands/keys.rb:357 def object(*args); end # Remove the expiration from a key. @@ -918,7 +918,7 @@ module Redis::Commands::Keys # @param key [String] # @return [Boolean] whether the timeout was removed or not # - # source://redis//lib/redis/commands/keys.rb#68 + # pkg:gem/redis#lib/redis/commands/keys.rb:68 def persist(key); end # Set a key's time to live in milliseconds. @@ -931,7 +931,7 @@ module Redis::Commands::Keys # - `:lt => true`: Set expiry only when the new expiry is less than current one. # @return [Boolean] whether the timeout was set or not # - # source://redis//lib/redis/commands/keys.rb#146 + # pkg:gem/redis#lib/redis/commands/keys.rb:146 def pexpire(key, milliseconds, nx: T.unsafe(nil), xx: T.unsafe(nil), gt: T.unsafe(nil), lt: T.unsafe(nil)); end # Set the expiration for a key as number of milliseconds from UNIX Epoch. @@ -944,7 +944,7 @@ module Redis::Commands::Keys # - `:lt => true`: Set expiry only when the new expiry is less than current one. # @return [Boolean] whether the timeout was set or not # - # source://redis//lib/redis/commands/keys.rb#166 + # pkg:gem/redis#lib/redis/commands/keys.rb:166 def pexpireat(key, ms_unix_time, nx: T.unsafe(nil), xx: T.unsafe(nil), gt: T.unsafe(nil), lt: T.unsafe(nil)); end # Get a key's expiry time specified as number of milliseconds from UNIX Epoch @@ -952,7 +952,7 @@ module Redis::Commands::Keys # @param key [String] # @return [Integer] expiry time specified as number of milliseconds from UNIX Epoch # - # source://redis//lib/redis/commands/keys.rb#180 + # pkg:gem/redis#lib/redis/commands/keys.rb:180 def pexpiretime(key); end # Get the time to live (in milliseconds) for a key. @@ -968,14 +968,14 @@ module Redis::Commands::Keys # @param key [String] # @return [Integer] remaining time to live in milliseconds # - # source://redis//lib/redis/commands/keys.rb#195 + # pkg:gem/redis#lib/redis/commands/keys.rb:195 def pttl(key); end # Return a random key from the keyspace. # # @return [String] # - # source://redis//lib/redis/commands/keys.rb#364 + # pkg:gem/redis#lib/redis/commands/keys.rb:364 def randomkey; end # Rename a key. If the new key already exists it is overwritten. @@ -984,7 +984,7 @@ module Redis::Commands::Keys # @param old_name [String] # @return [String] `OK` # - # source://redis//lib/redis/commands/keys.rb#373 + # pkg:gem/redis#lib/redis/commands/keys.rb:373 def rename(old_name, new_name); end # Rename a key, only if the new key does not exist. @@ -993,7 +993,7 @@ module Redis::Commands::Keys # @param old_name [String] # @return [Boolean] whether the key was renamed or not # - # source://redis//lib/redis/commands/keys.rb#382 + # pkg:gem/redis#lib/redis/commands/keys.rb:382 def renamenx(old_name, new_name); end # Create a key using the serialized value, previously obtained using DUMP. @@ -1005,7 +1005,7 @@ module Redis::Commands::Keys # @raise [Redis::CommandError] # @return [String] `"OK"` # - # source://redis//lib/redis/commands/keys.rb#216 + # pkg:gem/redis#lib/redis/commands/keys.rb:216 def restore(key, ttl, serialized_value, replace: T.unsafe(nil)); end # Scan the keyspace @@ -1027,7 +1027,7 @@ module Redis::Commands::Keys # - `:type => String`: return keys only of the given type # @return [String, Array] the next cursor and all found keys # - # source://redis//lib/redis/commands/keys.rb#27 + # pkg:gem/redis#lib/redis/commands/keys.rb:27 def scan(cursor, **options); end # Scan the keyspace @@ -1050,7 +1050,7 @@ module Redis::Commands::Keys # - `:type => String`: return keys only of the given type # @return [Enumerator] an enumerator for all found keys # - # source://redis//lib/redis/commands/keys.rb#53 + # pkg:gem/redis#lib/redis/commands/keys.rb:53 def scan_each(**options, &block); end # Sort the elements in a list, set or sorted set. @@ -1075,7 +1075,7 @@ module Redis::Commands::Keys # element specified in `:get` # - when `:store` is specified, the number of elements in the stored result # - # source://redis//lib/redis/commands/keys.rb#411 + # pkg:gem/redis#lib/redis/commands/keys.rb:411 def sort(key, by: T.unsafe(nil), limit: T.unsafe(nil), get: T.unsafe(nil), order: T.unsafe(nil), store: T.unsafe(nil)); end # Get the time to live (in seconds) for a key. @@ -1091,7 +1091,7 @@ module Redis::Commands::Keys # @param key [String] # @return [Integer] remaining time to live in seconds. # - # source://redis//lib/redis/commands/keys.rb#132 + # pkg:gem/redis#lib/redis/commands/keys.rb:132 def ttl(key); end # Determine the type stored at key. @@ -1099,7 +1099,7 @@ module Redis::Commands::Keys # @param key [String] # @return [String] `string`, `list`, `set`, `zset`, `hash` or `none` # - # source://redis//lib/redis/commands/keys.rb#441 + # pkg:gem/redis#lib/redis/commands/keys.rb:441 def type(key); end # Unlink one or more keys. @@ -1107,16 +1107,16 @@ module Redis::Commands::Keys # @param keys [String, Array] # @return [Integer] number of keys that were unlinked # - # source://redis//lib/redis/commands/keys.rb#263 + # pkg:gem/redis#lib/redis/commands/keys.rb:263 def unlink(*keys); end private - # source://redis//lib/redis/commands/keys.rb#447 + # pkg:gem/redis#lib/redis/commands/keys.rb:447 def _scan(command, cursor, args, match: T.unsafe(nil), count: T.unsafe(nil), type: T.unsafe(nil), &block); end end -# source://redis//lib/redis/commands/lists.rb#5 +# pkg:gem/redis#lib/redis/commands/lists.rb:5 module Redis::Commands::Lists # Remove the first/last element in a list and append/prepend it # to another list and return it, or block until one is available. @@ -1137,7 +1137,7 @@ module Redis::Commands::Lists # e.g. 'LEFT' - from head, 'RIGHT' - from tail # @return [nil, String] the element, or nil when the source key does not exist or the timeout expired # - # source://redis//lib/redis/commands/lists.rb#55 + # pkg:gem/redis#lib/redis/commands/lists.rb:55 def blmove(source, destination, where_source, where_destination, timeout: T.unsafe(nil)); end # Pops one or more elements from the first non-empty list key from the list @@ -1152,7 +1152,7 @@ module Redis::Commands::Lists # @raise [ArgumentError] # @return [Array>] list of popped elements or nil # - # source://redis//lib/redis/commands/lists.rb#205 + # pkg:gem/redis#lib/redis/commands/lists.rb:205 def blmpop(timeout, *keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Remove and get the first element in a list, or block until one is available. @@ -1173,7 +1173,7 @@ module Redis::Commands::Lists # @return [nil, [String, String]] - `nil` when the operation timed out # - tuple of the list that was popped from and element was popped otherwise # - # source://redis//lib/redis/commands/lists.rb#150 + # pkg:gem/redis#lib/redis/commands/lists.rb:150 def blpop(*args); end # Remove and get the last element in a list, or block until one is available. @@ -1185,7 +1185,7 @@ module Redis::Commands::Lists # - tuple of the list that was popped from and element was popped otherwise # @see #blpop # - # source://redis//lib/redis/commands/lists.rb#166 + # pkg:gem/redis#lib/redis/commands/lists.rb:166 def brpop(*args); end # Pop a value from a list, push it to another list and return it; or block @@ -1197,7 +1197,7 @@ module Redis::Commands::Lists # @return [nil, String] - `nil` when the operation timed out # - the element was popped and pushed otherwise # - # source://redis//lib/redis/commands/lists.rb#181 + # pkg:gem/redis#lib/redis/commands/lists.rb:181 def brpoplpush(source, destination, timeout: T.unsafe(nil)); end # Get an element from a list by its index. @@ -1206,7 +1206,7 @@ module Redis::Commands::Lists # @param key [String] # @return [String] # - # source://redis//lib/redis/commands/lists.rb#245 + # pkg:gem/redis#lib/redis/commands/lists.rb:245 def lindex(key, index); end # Insert an element before or after another element in a list. @@ -1218,7 +1218,7 @@ module Redis::Commands::Lists # @return [Integer] length of the list after the insert operation, or `-1` # when the element `pivot` was not found # - # source://redis//lib/redis/commands/lists.rb#257 + # pkg:gem/redis#lib/redis/commands/lists.rb:257 def linsert(key, where, pivot, value); end # Get the length of a list. @@ -1226,7 +1226,7 @@ module Redis::Commands::Lists # @param key [String] # @return [Integer] # - # source://redis//lib/redis/commands/lists.rb#10 + # pkg:gem/redis#lib/redis/commands/lists.rb:10 def llen(key); end # Remove the first/last element in a list, append/prepend it to another list and return it. @@ -1241,7 +1241,7 @@ module Redis::Commands::Lists # e.g. 'LEFT' - from head, 'RIGHT' - from tail # @return [nil, String] the element, or nil when the source key does not exist # - # source://redis//lib/redis/commands/lists.rb#27 + # pkg:gem/redis#lib/redis/commands/lists.rb:27 def lmove(source, destination, where_source, where_destination); end # Pops one or more elements from the first non-empty list key from the list @@ -1256,7 +1256,7 @@ module Redis::Commands::Lists # @raise [ArgumentError] # @return [Array>] list of popped elements or nil # - # source://redis//lib/redis/commands/lists.rb#231 + # pkg:gem/redis#lib/redis/commands/lists.rb:231 def lmpop(*keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Remove and get the first elements in a list. @@ -1265,7 +1265,7 @@ module Redis::Commands::Lists # @param key [String] # @return [nil, String, Array] the values of the first elements # - # source://redis//lib/redis/commands/lists.rb#103 + # pkg:gem/redis#lib/redis/commands/lists.rb:103 def lpop(key, count = T.unsafe(nil)); end # Prepend one or more values to a list, creating the list if it doesn't exist @@ -1274,7 +1274,7 @@ module Redis::Commands::Lists # @param value [String, Array] string value, or array of string values to push # @return [Integer] the length of the list after the push operation # - # source://redis//lib/redis/commands/lists.rb#67 + # pkg:gem/redis#lib/redis/commands/lists.rb:67 def lpush(key, value); end # Prepend a value to a list, only if the list exists. @@ -1283,7 +1283,7 @@ module Redis::Commands::Lists # @param value [String] # @return [Integer] the length of the list after the push operation # - # source://redis//lib/redis/commands/lists.rb#76 + # pkg:gem/redis#lib/redis/commands/lists.rb:76 def lpushx(key, value); end # Get a range of elements from a list. @@ -1293,7 +1293,7 @@ module Redis::Commands::Lists # @param stop [Integer] stop index # @return [Array] # - # source://redis//lib/redis/commands/lists.rb#267 + # pkg:gem/redis#lib/redis/commands/lists.rb:267 def lrange(key, start, stop); end # Remove elements from a list. @@ -1306,7 +1306,7 @@ module Redis::Commands::Lists # @param value [String] # @return [Integer] the number of removed elements # - # source://redis//lib/redis/commands/lists.rb#280 + # pkg:gem/redis#lib/redis/commands/lists.rb:280 def lrem(key, count, value); end # Set the value of an element in a list by its index. @@ -1316,7 +1316,7 @@ module Redis::Commands::Lists # @param value [String] # @return [String] `OK` # - # source://redis//lib/redis/commands/lists.rb#290 + # pkg:gem/redis#lib/redis/commands/lists.rb:290 def lset(key, index, value); end # Trim a list to the specified range. @@ -1326,7 +1326,7 @@ module Redis::Commands::Lists # @param stop [Integer] stop index # @return [String] `OK` # - # source://redis//lib/redis/commands/lists.rb#300 + # pkg:gem/redis#lib/redis/commands/lists.rb:300 def ltrim(key, start, stop); end # Remove and get the last elements in a list. @@ -1335,7 +1335,7 @@ module Redis::Commands::Lists # @param key [String] # @return [nil, String, Array] the values of the last elements # - # source://redis//lib/redis/commands/lists.rb#114 + # pkg:gem/redis#lib/redis/commands/lists.rb:114 def rpop(key, count = T.unsafe(nil)); end # Remove the last element in a list, append it to another list and return it. @@ -1344,7 +1344,7 @@ module Redis::Commands::Lists # @param source [String] source key # @return [nil, String] the element, or nil when the source key does not exist # - # source://redis//lib/redis/commands/lists.rb#125 + # pkg:gem/redis#lib/redis/commands/lists.rb:125 def rpoplpush(source, destination); end # Append one or more values to a list, creating the list if it doesn't exist @@ -1353,7 +1353,7 @@ module Redis::Commands::Lists # @param value [String, Array] string value, or array of string values to push # @return [Integer] the length of the list after the push operation # - # source://redis//lib/redis/commands/lists.rb#85 + # pkg:gem/redis#lib/redis/commands/lists.rb:85 def rpush(key, value); end # Append a value to a list, only if the list exists. @@ -1362,31 +1362,31 @@ module Redis::Commands::Lists # @param value [String] # @return [Integer] the length of the list after the push operation # - # source://redis//lib/redis/commands/lists.rb#94 + # pkg:gem/redis#lib/redis/commands/lists.rb:94 def rpushx(key, value); end private - # source://redis//lib/redis/commands/lists.rb#306 + # pkg:gem/redis#lib/redis/commands/lists.rb:306 def _bpop(cmd, args, &blk); end - # source://redis//lib/redis/commands/lists.rb#323 + # pkg:gem/redis#lib/redis/commands/lists.rb:323 def _normalize_move_wheres(where_source, where_destination); end end -# source://redis//lib/redis/commands.rb#194 +# pkg:gem/redis#lib/redis/commands.rb:194 Redis::Commands::Noop = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands.rb#65 +# pkg:gem/redis#lib/redis/commands.rb:65 Redis::Commands::Pairify = T.let(T.unsafe(nil), Proc) -# source://redis//lib/redis/commands/pubsub.rb#5 +# pkg:gem/redis#lib/redis/commands/pubsub.rb:5 module Redis::Commands::Pubsub # Listen for messages published to channels matching the given patterns. # See the [Redis Server PSUBSCRIBE documentation](https://redis.io/docs/latest/commands/psubscribe/) # for further details # - # source://redis//lib/redis/commands/pubsub.rb#34 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:34 def psubscribe(*channels, &block); end # Listen for messages published to channels matching the given patterns. @@ -1394,71 +1394,71 @@ module Redis::Commands::Pubsub # See the [Redis Server PSUBSCRIBE documentation](https://redis.io/docs/latest/commands/psubscribe/) # for further details # - # source://redis//lib/redis/commands/pubsub.rb#42 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:42 def psubscribe_with_timeout(timeout, *channels, &block); end # Post a message to a channel. # - # source://redis//lib/redis/commands/pubsub.rb#7 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:7 def publish(channel, message); end # Inspect the state of the Pub/Sub subsystem. # Possible subcommands: channels, numsub, numpat. # - # source://redis//lib/redis/commands/pubsub.rb#55 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:55 def pubsub(subcommand, *args); end # Stop listening for messages posted to channels matching the given patterns. # See the [Redis Server PUNSUBSCRIBE documentation](https://redis.io/docs/latest/commands/punsubscribe/) # for further details # - # source://redis//lib/redis/commands/pubsub.rb#49 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:49 def punsubscribe(*channels); end # Post a message to a channel in a shard. # - # source://redis//lib/redis/commands/pubsub.rb#60 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:60 def spublish(channel, message); end # Listen for messages published to the given channels in a shard. # - # source://redis//lib/redis/commands/pubsub.rb#65 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:65 def ssubscribe(*channels, &block); end # Listen for messages published to the given channels in a shard. # Throw a timeout error if there is no messages for a timeout period. # - # source://redis//lib/redis/commands/pubsub.rb#71 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:71 def ssubscribe_with_timeout(timeout, *channels, &block); end # Listen for messages published to the given channels. # - # source://redis//lib/redis/commands/pubsub.rb#16 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:16 def subscribe(*channels, &block); end # Listen for messages published to the given channels. Throw a timeout error # if there is no messages for a timeout period. # - # source://redis//lib/redis/commands/pubsub.rb#22 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:22 def subscribe_with_timeout(timeout, *channels, &block); end # @return [Boolean] # - # source://redis//lib/redis/commands/pubsub.rb#11 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:11 def subscribed?; end # Stop listening for messages posted to the given channels in a shard. # - # source://redis//lib/redis/commands/pubsub.rb#76 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:76 def sunsubscribe(*channels); end # Stop listening for messages posted to the given channels. # - # source://redis//lib/redis/commands/pubsub.rb#27 + # pkg:gem/redis#lib/redis/commands/pubsub.rb:27 def unsubscribe(*channels); end end -# source://redis//lib/redis/commands/scripting.rb#5 +# pkg:gem/redis#lib/redis/commands/scripting.rb:5 module Redis::Commands::Scripting # Evaluate Lua script. # @@ -1479,7 +1479,7 @@ module Redis::Commands::Scripting # @see #evalsha # @see #script # - # source://redis//lib/redis/commands/scripting.rb#71 + # pkg:gem/redis#lib/redis/commands/scripting.rb:71 def eval(*args); end # Evaluate Lua script by its SHA. @@ -1501,7 +1501,7 @@ module Redis::Commands::Scripting # @see #eval # @see #script # - # source://redis//lib/redis/commands/scripting.rb#96 + # pkg:gem/redis#lib/redis/commands/scripting.rb:96 def evalsha(*args); end # Control remote script registry. @@ -1527,29 +1527,29 @@ module Redis::Commands::Scripting # @see #eval # @see #evalsha # - # source://redis//lib/redis/commands/scripting.rb#30 + # pkg:gem/redis#lib/redis/commands/scripting.rb:30 def script(subcommand, *args); end private - # source://redis//lib/redis/commands/scripting.rb#102 + # pkg:gem/redis#lib/redis/commands/scripting.rb:102 def _eval(cmd, args); end end -# source://redis//lib/redis/commands/server.rb#5 +# pkg:gem/redis#lib/redis/commands/server.rb:5 module Redis::Commands::Server # Asynchronously rewrite the append-only file. # # @return [String] `OK` # - # source://redis//lib/redis/commands/server.rb#9 + # pkg:gem/redis#lib/redis/commands/server.rb:9 def bgrewriteaof; end # Asynchronously save the dataset to disk. # # @return [String] `OK` # - # source://redis//lib/redis/commands/server.rb#16 + # pkg:gem/redis#lib/redis/commands/server.rb:16 def bgsave; end # Manage client connections. @@ -1557,7 +1557,7 @@ module Redis::Commands::Server # @param subcommand [String, Symbol] e.g. `kill`, `list`, `getname`, `setname` # @return [String, Hash] depends on subcommand # - # source://redis//lib/redis/commands/server.rb#39 + # pkg:gem/redis#lib/redis/commands/server.rb:39 def client(subcommand, *args); end # Get or set server configuration parameters. @@ -1566,17 +1566,17 @@ module Redis::Commands::Server # @return [String, Hash] string reply, or hash when retrieving more than one # property with `CONFIG GET` # - # source://redis//lib/redis/commands/server.rb#25 + # pkg:gem/redis#lib/redis/commands/server.rb:25 def config(action, *args); end # Return the number of keys in the selected database. # # @return [Integer] # - # source://redis//lib/redis/commands/server.rb#55 + # pkg:gem/redis#lib/redis/commands/server.rb:55 def dbsize; end - # source://redis//lib/redis/commands/server.rb#183 + # pkg:gem/redis#lib/redis/commands/server.rb:183 def debug(*args); end # Remove all keys from all databases. @@ -1584,7 +1584,7 @@ module Redis::Commands::Server # @param options [Hash] - `:async => Boolean`: async flush (default: false) # @return [String] `OK` # - # source://redis//lib/redis/commands/server.rb#64 + # pkg:gem/redis#lib/redis/commands/server.rb:64 def flushall(options = T.unsafe(nil)); end # Remove all keys from the current database. @@ -1592,7 +1592,7 @@ module Redis::Commands::Server # @param options [Hash] - `:async => Boolean`: async flush (default: false) # @return [String] `OK` # - # source://redis//lib/redis/commands/server.rb#77 + # pkg:gem/redis#lib/redis/commands/server.rb:77 def flushdb(options = T.unsafe(nil)); end # Get information and statistics about the server. @@ -1600,14 +1600,14 @@ module Redis::Commands::Server # @param cmd [String, Symbol] e.g. "commandstats" # @return [Hash] # - # source://redis//lib/redis/commands/server.rb#89 + # pkg:gem/redis#lib/redis/commands/server.rb:89 def info(cmd = T.unsafe(nil)); end # Get the UNIX time stamp of the last successful save to disk. # # @return [Integer] # - # source://redis//lib/redis/commands/server.rb#110 + # pkg:gem/redis#lib/redis/commands/server.rb:110 def lastsave; end # Listen for all requests received by the server in real time. @@ -1617,24 +1617,24 @@ module Redis::Commands::Server # @yield a block to be called for every line of output # @yieldparam line [String] timestamp and command that was executed # - # source://redis//lib/redis/commands/server.rb#120 + # pkg:gem/redis#lib/redis/commands/server.rb:120 def monitor; end # Synchronously save the dataset to disk. # # @return [String] # - # source://redis//lib/redis/commands/server.rb#133 + # pkg:gem/redis#lib/redis/commands/server.rb:133 def save; end # Synchronously save the dataset to disk and then shut down the server. # - # source://redis//lib/redis/commands/server.rb#138 + # pkg:gem/redis#lib/redis/commands/server.rb:138 def shutdown; end # Make the server a slave of another instance, or promote it as master. # - # source://redis//lib/redis/commands/server.rb#150 + # pkg:gem/redis#lib/redis/commands/server.rb:150 def slaveof(host, port); end # Interact with the slowlog (get, len, reset) @@ -1643,12 +1643,12 @@ module Redis::Commands::Server # @param subcommand [String] e.g. `get`, `len`, `reset` # @return [Array, Integer, String] depends on subcommand # - # source://redis//lib/redis/commands/server.rb#159 + # pkg:gem/redis#lib/redis/commands/server.rb:159 def slowlog(subcommand, length = T.unsafe(nil)); end # Internal command used for replication. # - # source://redis//lib/redis/commands/server.rb#166 + # pkg:gem/redis#lib/redis/commands/server.rb:166 def sync; end # Return the server time. @@ -1658,11 +1658,11 @@ module Redis::Commands::Server # @return [Array] tuple of seconds since UNIX epoch and # microseconds in the current second # - # source://redis//lib/redis/commands/server.rb#177 + # pkg:gem/redis#lib/redis/commands/server.rb:177 def time; end end -# source://redis//lib/redis/commands/sets.rb#5 +# pkg:gem/redis#lib/redis/commands/sets.rb:5 module Redis::Commands::Sets # Add one or more members to a set. # @@ -1670,7 +1670,7 @@ module Redis::Commands::Sets # @param member [String, Array] one member, or array of members # @return [Integer] The number of members that were successfully added # - # source://redis//lib/redis/commands/sets.rb#19 + # pkg:gem/redis#lib/redis/commands/sets.rb:19 def sadd(key, *members); end # Add one or more members to a set. @@ -1679,7 +1679,7 @@ module Redis::Commands::Sets # @param member [String, Array] one member, or array of members # @return [Boolean] Wether at least one member was successfully added. # - # source://redis//lib/redis/commands/sets.rb#29 + # pkg:gem/redis#lib/redis/commands/sets.rb:29 def sadd?(key, *members); end # Get the number of members in a set. @@ -1687,7 +1687,7 @@ module Redis::Commands::Sets # @param key [String] # @return [Integer] # - # source://redis//lib/redis/commands/sets.rb#10 + # pkg:gem/redis#lib/redis/commands/sets.rb:10 def scard(key); end # Subtract multiple sets. @@ -1695,7 +1695,7 @@ module Redis::Commands::Sets # @param keys [String, Array] keys pointing to sets to subtract # @return [Array] members in the difference # - # source://redis//lib/redis/commands/sets.rb#123 + # pkg:gem/redis#lib/redis/commands/sets.rb:123 def sdiff(*keys); end # Subtract multiple sets and store the resulting set in a key. @@ -1704,7 +1704,7 @@ module Redis::Commands::Sets # @param keys [String, Array] keys pointing to sets to subtract # @return [Integer] number of elements in the resulting set # - # source://redis//lib/redis/commands/sets.rb#133 + # pkg:gem/redis#lib/redis/commands/sets.rb:133 def sdiffstore(destination, *keys); end # Intersect multiple sets. @@ -1712,7 +1712,7 @@ module Redis::Commands::Sets # @param keys [String, Array] keys pointing to sets to intersect # @return [Array] members in the intersection # - # source://redis//lib/redis/commands/sets.rb#142 + # pkg:gem/redis#lib/redis/commands/sets.rb:142 def sinter(*keys); end # Intersect multiple sets and store the resulting set in a key. @@ -1721,7 +1721,7 @@ module Redis::Commands::Sets # @param keys [String, Array] keys pointing to sets to intersect # @return [Integer] number of elements in the resulting set # - # source://redis//lib/redis/commands/sets.rb#152 + # pkg:gem/redis#lib/redis/commands/sets.rb:152 def sinterstore(destination, *keys); end # Determine if a given value is a member of a set. @@ -1730,7 +1730,7 @@ module Redis::Commands::Sets # @param member [String] # @return [Boolean] # - # source://redis//lib/redis/commands/sets.rb#95 + # pkg:gem/redis#lib/redis/commands/sets.rb:95 def sismember(key, member); end # Get all the members in a set. @@ -1738,7 +1738,7 @@ module Redis::Commands::Sets # @param key [String] # @return [Array] # - # source://redis//lib/redis/commands/sets.rb#115 + # pkg:gem/redis#lib/redis/commands/sets.rb:115 def smembers(key); end # Determine if multiple values are members of a set. @@ -1747,7 +1747,7 @@ module Redis::Commands::Sets # @param members [String, Array] # @return [Array] # - # source://redis//lib/redis/commands/sets.rb#104 + # pkg:gem/redis#lib/redis/commands/sets.rb:104 def smismember(key, *members); end # Move a member from one set to another. @@ -1757,7 +1757,7 @@ module Redis::Commands::Sets # @param source [String] source key # @return [Boolean] # - # source://redis//lib/redis/commands/sets.rb#86 + # pkg:gem/redis#lib/redis/commands/sets.rb:86 def smove(source, destination, member); end # Remove and return one or more random member from a set. @@ -1766,7 +1766,7 @@ module Redis::Commands::Sets # @param key [String] # @return [String] # - # source://redis//lib/redis/commands/sets.rb#59 + # pkg:gem/redis#lib/redis/commands/sets.rb:59 def spop(key, count = T.unsafe(nil)); end # Get one or more random members from a set. @@ -1775,7 +1775,7 @@ module Redis::Commands::Sets # @param key [String] # @return [String] # - # source://redis//lib/redis/commands/sets.rb#72 + # pkg:gem/redis#lib/redis/commands/sets.rb:72 def srandmember(key, count = T.unsafe(nil)); end # Remove one or more members from a set. @@ -1784,7 +1784,7 @@ module Redis::Commands::Sets # @param member [String, Array] one member, or array of members # @return [Integer] The number of members that were successfully removed # - # source://redis//lib/redis/commands/sets.rb#39 + # pkg:gem/redis#lib/redis/commands/sets.rb:39 def srem(key, *members); end # Remove one or more members from a set. @@ -1793,7 +1793,7 @@ module Redis::Commands::Sets # @param member [String, Array] one member, or array of members # @return [Boolean] Wether at least one member was successfully removed. # - # source://redis//lib/redis/commands/sets.rb#49 + # pkg:gem/redis#lib/redis/commands/sets.rb:49 def srem?(key, *members); end # Scan a set @@ -1807,7 +1807,7 @@ module Redis::Commands::Sets # - `:count => Integer`: return count keys at most per iteration # @return [String, Array] the next cursor and all found members # - # source://redis//lib/redis/commands/sets.rb#189 + # pkg:gem/redis#lib/redis/commands/sets.rb:189 def sscan(key, cursor, **options); end # Scan a set @@ -1821,7 +1821,7 @@ module Redis::Commands::Sets # - `:count => Integer`: return count keys at most per iteration # @return [Enumerator] an enumerator for all keys in the set # - # source://redis//lib/redis/commands/sets.rb#206 + # pkg:gem/redis#lib/redis/commands/sets.rb:206 def sscan_each(key, **options, &block); end # Add multiple sets. @@ -1829,7 +1829,7 @@ module Redis::Commands::Sets # @param keys [String, Array] keys pointing to sets to unify # @return [Array] members in the union # - # source://redis//lib/redis/commands/sets.rb#161 + # pkg:gem/redis#lib/redis/commands/sets.rb:161 def sunion(*keys); end # Add multiple sets and store the resulting set in a key. @@ -1838,11 +1838,11 @@ module Redis::Commands::Sets # @param keys [String, Array] keys pointing to sets to unify # @return [Integer] number of elements in the resulting set # - # source://redis//lib/redis/commands/sets.rb#171 + # pkg:gem/redis#lib/redis/commands/sets.rb:171 def sunionstore(destination, *keys); end end -# source://redis//lib/redis/commands/sorted_sets.rb#5 +# pkg:gem/redis#lib/redis/commands/sorted_sets.rb:5 module Redis::Commands::SortedSets # Removes and returns up to count members with scores in the sorted set stored at key. # @@ -1855,7 +1855,7 @@ module Redis::Commands::SortedSets # @raise [ArgumentError] # @return [Array>] list of popped elements and scores # - # source://redis//lib/redis/commands/sorted_sets.rb#188 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:188 def bzmpop(timeout, *keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Removes and returns up to count members with the highest scores in the sorted set stored at keys, @@ -1870,7 +1870,7 @@ module Redis::Commands::SortedSets # @return [Array] a touple of key, member and score # @return [nil] when no element could be popped and the timeout expired # - # source://redis//lib/redis/commands/sorted_sets.rb#251 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:251 def bzpopmax(*args); end # Removes and returns up to count members with the lowest scores in the sorted set stored at keys, @@ -1885,7 +1885,7 @@ module Redis::Commands::SortedSets # @return [Array] a touple of key, member and score # @return [nil] when no element could be popped and the timeout expired # - # source://redis//lib/redis/commands/sorted_sets.rb#272 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:272 def bzpopmin(*args); end # Add one or more members to a sorted set, or update the score for members @@ -1919,7 +1919,7 @@ module Redis::Commands::SortedSets # - `Float` when option :incr is specified, holding the score of the member # after incrementing it. # - # source://redis//lib/redis/commands/sorted_sets.rb#53 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:53 def zadd(key, *args, nx: T.unsafe(nil), xx: T.unsafe(nil), lt: T.unsafe(nil), gt: T.unsafe(nil), ch: T.unsafe(nil), incr: T.unsafe(nil)); end # Get the number of members in a sorted set. @@ -1930,7 +1930,7 @@ module Redis::Commands::SortedSets # @param key [String] # @return [Integer] # - # source://redis//lib/redis/commands/sorted_sets.rb#14 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:14 def zcard(key); end # Count the members in a sorted set with scores within the given values. @@ -1948,7 +1948,7 @@ module Redis::Commands::SortedSets # - exclusive minimum score is specified by prefixing `(` # @return [Integer] number of members in within the specified range # - # source://redis//lib/redis/commands/sorted_sets.rb#712 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:712 def zcount(key, min, max); end # Return the difference between the first and all successive input sorted sets @@ -1968,7 +1968,7 @@ module Redis::Commands::SortedSets # @return [Array, Array<[String, Float]>] - when `:with_scores` is not specified, an array of members # - when `:with_scores` is specified, an array with `[member, score]` pairs # - # source://redis//lib/redis/commands/sorted_sets.rb#821 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:821 def zdiff(*keys, with_scores: T.unsafe(nil)); end # Compute the difference between the first and all successive input sorted sets @@ -1983,7 +1983,7 @@ module Redis::Commands::SortedSets # @param keys [Array] source keys # @return [Integer] number of elements in the resulting sorted set # - # source://redis//lib/redis/commands/sorted_sets.rb#837 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:837 def zdiffstore(*args, **_arg1); end # Increment the score of a member in a sorted set. @@ -1996,7 +1996,7 @@ module Redis::Commands::SortedSets # @param member [String] # @return [Float] score of the member after incrementing it # - # source://redis//lib/redis/commands/sorted_sets.rb#86 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:86 def zincrby(key, increment, member); end # Return the intersection of multiple sorted sets @@ -2015,7 +2015,7 @@ module Redis::Commands::SortedSets # @return [Array, Array<[String, Float]>] - when `:with_scores` is not specified, an array of members # - when `:with_scores` is specified, an array with `[member, score]` pairs # - # source://redis//lib/redis/commands/sorted_sets.rb#735 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:735 def zinter(*args, **_arg1); end # Intersect multiple sorted sets and store the resulting sorted set in a new @@ -2031,7 +2031,7 @@ module Redis::Commands::SortedSets # - `:aggregate => String`: aggregate function to use (sum, min, max) # @return [Integer] number of elements in the resulting sorted set # - # source://redis//lib/redis/commands/sorted_sets.rb#754 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:754 def zinterstore(*args, **_arg1); end # Count the members, with the same score in a sorted set, within the given lexicographical range. @@ -2049,7 +2049,7 @@ module Redis::Commands::SortedSets # - exclusive minimum is specified by prefixing `[` # @return [Integer] number of members within the specified lexicographical range # - # source://redis//lib/redis/commands/sorted_sets.rb#543 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:543 def zlexcount(key, min, max); end # Removes and returns up to count members with scores in the sorted set stored at key. @@ -2063,7 +2063,7 @@ module Redis::Commands::SortedSets # @raise [ArgumentError] # @return [Array>] list of popped elements and scores # - # source://redis//lib/redis/commands/sorted_sets.rb#220 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:220 def zmpop(*keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Get the scores associated with the given members in a sorted set. @@ -2075,7 +2075,7 @@ module Redis::Commands::SortedSets # @param members [String, Array] # @return [Array] scores of the members # - # source://redis//lib/redis/commands/sorted_sets.rb#300 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:300 def zmscore(key, *members); end # Removes and returns up to count members with the highest scores in the sorted set stored at key. @@ -2089,7 +2089,7 @@ module Redis::Commands::SortedSets # @return [Array] element and score pair if count is not specified # @return [Array>] list of popped elements and scores # - # source://redis//lib/redis/commands/sorted_sets.rb#138 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:138 def zpopmax(key, count = T.unsafe(nil)); end # Removes and returns up to count members with the lowest scores in the sorted set stored at key. @@ -2103,7 +2103,7 @@ module Redis::Commands::SortedSets # @return [Array] element and score pair if count is not specified # @return [Array>] list of popped elements and scores # - # source://redis//lib/redis/commands/sorted_sets.rb#161 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:161 def zpopmin(key, count = T.unsafe(nil)); end # Get one or more random members from a sorted set. @@ -2125,7 +2125,7 @@ module Redis::Commands::SortedSets # - when `count` is specified and `:with_scores` is not specified, an array of members # - when `:with_scores` is specified, an array with `[member, score]` pairs # - # source://redis//lib/redis/commands/sorted_sets.rb#328 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:328 def zrandmember(key, count = T.unsafe(nil), withscores: T.unsafe(nil), with_scores: T.unsafe(nil)); end # Return a range of members in a sorted set, by index, score or lexicographical ordering. @@ -2148,7 +2148,7 @@ module Redis::Commands::SortedSets # @return [Array, Array<[String, Float]>] - when `:with_scores` is not specified, an array of members # - when `:with_scores` is specified, an array with `[member, score]` pairs # - # source://redis//lib/redis/commands/sorted_sets.rb#367 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:367 def zrange(key, start, stop, byscore: T.unsafe(nil), by_score: T.unsafe(nil), bylex: T.unsafe(nil), by_lex: T.unsafe(nil), rev: T.unsafe(nil), limit: T.unsafe(nil), withscores: T.unsafe(nil), with_scores: T.unsafe(nil)); end # Return a range of members with the same score in a sorted set, by lexicographical ordering @@ -2168,7 +2168,7 @@ module Redis::Commands::SortedSets # `count` members # @return [Array, Array<[String, Float]>] # - # source://redis//lib/redis/commands/sorted_sets.rb#568 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:568 def zrangebylex(key, min, max, limit: T.unsafe(nil)); end # Return a range of members in a sorted set, by score. @@ -2193,7 +2193,7 @@ module Redis::Commands::SortedSets # @return [Array, Array<[String, Float]>] - when `:with_scores` is not specified, an array of members # - when `:with_scores` is specified, an array with `[member, score]` pairs # - # source://redis//lib/redis/commands/sorted_sets.rb#628 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:628 def zrangebyscore(key, min, max, withscores: T.unsafe(nil), with_scores: T.unsafe(nil), limit: T.unsafe(nil)); end # Select a range of members in a sorted set, by index, score or lexicographical ordering @@ -2208,7 +2208,7 @@ module Redis::Commands::SortedSets # @return [Integer] the number of elements in the resulting sorted set # @see #zrange # - # source://redis//lib/redis/commands/sorted_sets.rb#409 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:409 def zrangestore(dest_key, src_key, start, stop, byscore: T.unsafe(nil), by_score: T.unsafe(nil), bylex: T.unsafe(nil), by_lex: T.unsafe(nil), rev: T.unsafe(nil), limit: T.unsafe(nil)); end # Determine the index of a member in a sorted set. @@ -2224,7 +2224,7 @@ module Redis::Commands::SortedSets # @return [Integer, [Integer, Float]] - when `:with_score` is not specified, an Integer # - when `:with_score` is specified, a `[rank, score]` pair # - # source://redis//lib/redis/commands/sorted_sets.rb#470 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:470 def zrank(key, member, withscore: T.unsafe(nil), with_score: T.unsafe(nil)); end # Remove one or more members from a sorted set. @@ -2241,7 +2241,7 @@ module Redis::Commands::SortedSets # - `Integer` when an array of pairs is specified, holding the number of # members that were removed to the sorted set # - # source://redis//lib/redis/commands/sorted_sets.rb#107 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:107 def zrem(key, member); end # Remove all members in a sorted set within the given indexes. @@ -2257,7 +2257,7 @@ module Redis::Commands::SortedSets # @param stop [Integer] stop index # @return [Integer] number of members that were removed # - # source://redis//lib/redis/commands/sorted_sets.rb#521 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:521 def zremrangebyrank(key, start, stop); end # Remove all members in a sorted set within the given scores. @@ -2275,7 +2275,7 @@ module Redis::Commands::SortedSets # - exclusive minimum score is specified by prefixing `(` # @return [Integer] number of members that were removed # - # source://redis//lib/redis/commands/sorted_sets.rb#691 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:691 def zremrangebyscore(key, min, max); end # Return a range of members in a sorted set, by index, with scores ordered @@ -2289,7 +2289,7 @@ module Redis::Commands::SortedSets # # => ["b", "a"] # @see #zrange # - # source://redis//lib/redis/commands/sorted_sets.rb#444 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:444 def zrevrange(key, start, stop, withscores: T.unsafe(nil), with_scores: T.unsafe(nil)); end # Return a range of members with the same score in a sorted set, by reversed lexicographical ordering. @@ -2303,7 +2303,7 @@ module Redis::Commands::SortedSets # # => ["abbygail", "abby"] # @see #zrangebylex # - # source://redis//lib/redis/commands/sorted_sets.rb#590 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:590 def zrevrangebylex(key, max, min, limit: T.unsafe(nil)); end # Return a range of members in a sorted set, by score, with scores ordered @@ -2320,7 +2320,7 @@ module Redis::Commands::SortedSets # # => ["b", "a"] # @see #zrangebyscore # - # source://redis//lib/redis/commands/sorted_sets.rb#658 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:658 def zrevrangebyscore(key, max, min, withscores: T.unsafe(nil), with_scores: T.unsafe(nil), limit: T.unsafe(nil)); end # Determine the index of a member in a sorted set, with scores ordered from @@ -2337,7 +2337,7 @@ module Redis::Commands::SortedSets # @return [Integer, [Integer, Float]] - when `:with_score` is not specified, an Integer # - when `:with_score` is specified, a `[rank, score]` pair # - # source://redis//lib/redis/commands/sorted_sets.rb#497 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:497 def zrevrank(key, member, withscore: T.unsafe(nil), with_score: T.unsafe(nil)); end # Scan a sorted set @@ -2352,7 +2352,7 @@ module Redis::Commands::SortedSets # @return [String, Array<[String, Float]>] the next cursor and all found # members and scores # - # source://redis//lib/redis/commands/sorted_sets.rb#856 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:856 def zscan(key, cursor, **options); end # Scan a sorted set @@ -2366,7 +2366,7 @@ module Redis::Commands::SortedSets # - `:count => Integer`: return count keys at most per iteration # @return [Enumerator] an enumerator for all found scores and members # - # source://redis//lib/redis/commands/sorted_sets.rb#875 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:875 def zscan_each(key, **options, &block); end # Get the score associated with the given member in a sorted set. @@ -2378,7 +2378,7 @@ module Redis::Commands::SortedSets # @param member [String] # @return [Float] score of the member # - # source://redis//lib/redis/commands/sorted_sets.rb#287 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:287 def zscore(key, member); end # Return the union of multiple sorted sets @@ -2397,7 +2397,7 @@ module Redis::Commands::SortedSets # @return [Array, Array<[String, Float]>] - when `:with_scores` is not specified, an array of members # - when `:with_scores` is specified, an array with `[member, score]` pairs # - # source://redis//lib/redis/commands/sorted_sets.rb#778 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:778 def zunion(*args, **_arg1); end # Add multiple sorted sets and store the resulting sorted set in a new key. @@ -2412,19 +2412,19 @@ module Redis::Commands::SortedSets # - `:aggregate => String`: aggregate function to use (sum, min, max, ...) # @return [Integer] number of elements in the resulting sorted set # - # source://redis//lib/redis/commands/sorted_sets.rb#796 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:796 def zunionstore(*args, **_arg1); end private - # source://redis//lib/redis/commands/sorted_sets.rb#888 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:888 def _zsets_operation(cmd, *keys, weights: T.unsafe(nil), aggregate: T.unsafe(nil), with_scores: T.unsafe(nil)); end - # source://redis//lib/redis/commands/sorted_sets.rb#907 + # pkg:gem/redis#lib/redis/commands/sorted_sets.rb:907 def _zsets_operation_store(cmd, destination, keys, weights: T.unsafe(nil), aggregate: T.unsafe(nil)); end end -# source://redis//lib/redis/commands/streams.rb#5 +# pkg:gem/redis#lib/redis/commands/streams.rb:5 module Redis::Commands::Streams # Removes one or multiple entries from the pending entries list of a stream consumer group. # @@ -2439,7 +2439,7 @@ module Redis::Commands::Streams # @param key [String] the stream key # @return [Integer] the number of entries successfully acknowledged # - # source://redis//lib/redis/commands/streams.rb#273 + # pkg:gem/redis#lib/redis/commands/streams.rb:273 def xack(key, group, *ids); end # Add new entry to the stream. @@ -2458,7 +2458,7 @@ module Redis::Commands::Streams # @param opts [Hash] several options for `XADD` command # @return [String] the entry id # - # source://redis//lib/redis/commands/streams.rb#50 + # pkg:gem/redis#lib/redis/commands/streams.rb:50 def xadd(key, entry, approximate: T.unsafe(nil), maxlen: T.unsafe(nil), minid: T.unsafe(nil), nomkstream: T.unsafe(nil), id: T.unsafe(nil)); end # Transfers ownership of pending stream entries that match the specified criteria. @@ -2482,7 +2482,7 @@ module Redis::Commands::Streams # @return [Hash{String => Hash}] the entries successfully claimed # @return [Array] the entry ids successfully claimed if justid option is `true` # - # source://redis//lib/redis/commands/streams.rb#343 + # pkg:gem/redis#lib/redis/commands/streams.rb:343 def xautoclaim(key, group, consumer, min_idle_time, start, count: T.unsafe(nil), justid: T.unsafe(nil)); end # Changes the ownership of a pending entry @@ -2515,7 +2515,7 @@ module Redis::Commands::Streams # @return [Hash{String => Hash}] the entries successfully claimed # @return [Array] the entry ids successfully claimed if justid option is `true` # - # source://redis//lib/redis/commands/streams.rb#310 + # pkg:gem/redis#lib/redis/commands/streams.rb:310 def xclaim(key, group, consumer, min_idle_time, *ids, **opts); end # Delete entries by entry ids. @@ -2528,7 +2528,7 @@ module Redis::Commands::Streams # @param key [String] the stream key # @return [Integer] the number of entries actually deleted # - # source://redis//lib/redis/commands/streams.rb#113 + # pkg:gem/redis#lib/redis/commands/streams.rb:113 def xdel(key, *ids); end # Manages the consumer group of the stream. @@ -2550,7 +2550,7 @@ module Redis::Commands::Streams # @return [String] `OK` if subcommand is `create` or `setid` # @return [Integer] effected count if subcommand is `destroy` or `delconsumer` # - # source://redis//lib/redis/commands/streams.rb#221 + # pkg:gem/redis#lib/redis/commands/streams.rb:221 def xgroup(subcommand, key, group, id_or_consumer = T.unsafe(nil), mkstream: T.unsafe(nil)); end # Returns the stream information each subcommand. @@ -2568,7 +2568,7 @@ module Redis::Commands::Streams # @return [Array] information of the consumer groups if subcommand is `groups` # @return [Array] information of the consumers if subcommand is `consumers` # - # source://redis//lib/redis/commands/streams.rb#22 + # pkg:gem/redis#lib/redis/commands/streams.rb:22 def xinfo(subcommand, key, group = T.unsafe(nil)); end # Returns the number of entries inside a stream. @@ -2578,7 +2578,7 @@ module Redis::Commands::Streams # @param key [String] the stream key # @return [Integer] the number of entries # - # source://redis//lib/redis/commands/streams.rb#172 + # pkg:gem/redis#lib/redis/commands/streams.rb:172 def xlen(key); end # Fetches not acknowledging pending entries @@ -2602,7 +2602,7 @@ module Redis::Commands::Streams # @return [Hash] the summary of pending entries # @return [Array] the pending entries details if options were specified # - # source://redis//lib/redis/commands/streams.rb#375 + # pkg:gem/redis#lib/redis/commands/streams.rb:375 def xpending(key, group, *args, idle: T.unsafe(nil)); end # Fetches entries of the stream in ascending order. @@ -2621,7 +2621,7 @@ module Redis::Commands::Streams # @param start [String] first entry id of range, default value is `-` # @return [Array>] the ids and entries pairs # - # source://redis//lib/redis/commands/streams.rb#135 + # pkg:gem/redis#lib/redis/commands/streams.rb:135 def xrange(key, start = T.unsafe(nil), range_end = T.unsafe(nil), count: T.unsafe(nil)); end # Fetches entries from one or multiple streams. Optionally blocking. @@ -2640,7 +2640,7 @@ module Redis::Commands::Streams # @param keys [Array] one or multiple stream keys # @return [Hash{String => Hash{String => Hash}}] the entries # - # source://redis//lib/redis/commands/streams.rb#193 + # pkg:gem/redis#lib/redis/commands/streams.rb:193 def xread(keys, ids, count: T.unsafe(nil), block: T.unsafe(nil)); end # Fetches a subset of the entries from one or multiple streams related with the consumer group. @@ -2666,7 +2666,7 @@ module Redis::Commands::Streams # @param opts [Hash] several options for `XREADGROUP` command # @return [Hash{String => Hash{String => Hash}}] the entries # - # source://redis//lib/redis/commands/streams.rb#251 + # pkg:gem/redis#lib/redis/commands/streams.rb:251 def xreadgroup(group, consumer, keys, ids, count: T.unsafe(nil), block: T.unsafe(nil), noack: T.unsafe(nil)); end # Fetches entries of the stream in descending order. @@ -2684,7 +2684,7 @@ module Redis::Commands::Streams # @param start [String] last entry id of range, default value is `-` # @return [Array>] the ids and entries pairs # - # source://redis//lib/redis/commands/streams.rb#158 + # pkg:gem/redis#lib/redis/commands/streams.rb:158 def xrevrange(key, range_end = T.unsafe(nil), start = T.unsafe(nil), count: T.unsafe(nil)); end # Trims older entries of the stream if needed. @@ -2699,16 +2699,16 @@ module Redis::Commands::Streams # @overload xtrim # @return [Integer] the number of entries actually deleted # - # source://redis//lib/redis/commands/streams.rb#92 + # pkg:gem/redis#lib/redis/commands/streams.rb:92 def xtrim(key, len_or_id, strategy: T.unsafe(nil), approximate: T.unsafe(nil), limit: T.unsafe(nil)); end private - # source://redis//lib/redis/commands/streams.rb#392 + # pkg:gem/redis#lib/redis/commands/streams.rb:392 def _xread(args, keys, ids, blocking_timeout_msec); end end -# source://redis//lib/redis/commands/strings.rb#5 +# pkg:gem/redis#lib/redis/commands/strings.rb:5 module Redis::Commands::Strings # Append a value to a key. # @@ -2716,7 +2716,7 @@ module Redis::Commands::Strings # @param value [String] value to append # @return [Integer] length of the string after appending # - # source://redis//lib/redis/commands/strings.rb#255 + # pkg:gem/redis#lib/redis/commands/strings.rb:255 def append(key, value); end # Decrement the integer value of a key by one. @@ -2727,7 +2727,7 @@ module Redis::Commands::Strings # @param key [String] # @return [Integer] value after decrementing it # - # source://redis//lib/redis/commands/strings.rb#14 + # pkg:gem/redis#lib/redis/commands/strings.rb:14 def decr(key); end # Decrement the integer value of a key by the given number. @@ -2739,7 +2739,7 @@ module Redis::Commands::Strings # @param key [String] # @return [Integer] value after decrementing it # - # source://redis//lib/redis/commands/strings.rb#27 + # pkg:gem/redis#lib/redis/commands/strings.rb:27 def decrby(key, decrement); end # Get the value of a key. @@ -2747,7 +2747,7 @@ module Redis::Commands::Strings # @param key [String] # @return [String] # - # source://redis//lib/redis/commands/strings.rb#190 + # pkg:gem/redis#lib/redis/commands/strings.rb:190 def get(key); end # Get the value of key and delete the key. This command is similar to GET, @@ -2757,7 +2757,7 @@ module Redis::Commands::Strings # @return [String] the old value stored in the key, or `nil` if the key # did not exist # - # source://redis//lib/redis/commands/strings.rb#275 + # pkg:gem/redis#lib/redis/commands/strings.rb:275 def getdel(key); end # Get the value of key and optionally set its expiration. GETEX is similar to @@ -2774,7 +2774,7 @@ module Redis::Commands::Strings # - `:persist => true`: Remove the time to live associated with the key. # @return [String] The value of key, or nil when key does not exist. # - # source://redis//lib/redis/commands/strings.rb#293 + # pkg:gem/redis#lib/redis/commands/strings.rb:293 def getex(key, ex: T.unsafe(nil), px: T.unsafe(nil), exat: T.unsafe(nil), pxat: T.unsafe(nil), persist: T.unsafe(nil)); end # Get a substring of the string stored at a key. @@ -2785,7 +2785,7 @@ module Redis::Commands::Strings # the end of the string # @return [Integer] `0` or `1` # - # source://redis//lib/redis/commands/strings.rb#246 + # pkg:gem/redis#lib/redis/commands/strings.rb:246 def getrange(key, start, stop); end # Set the string value of a key and return its old value. @@ -2795,7 +2795,7 @@ module Redis::Commands::Strings # @return [String] the old value stored in the key, or `nil` if the key # did not exist # - # source://redis//lib/redis/commands/strings.rb#265 + # pkg:gem/redis#lib/redis/commands/strings.rb:265 def getset(key, value); end # Increment the integer value of a key by one. @@ -2806,7 +2806,7 @@ module Redis::Commands::Strings # @param key [String] # @return [Integer] value after incrementing it # - # source://redis//lib/redis/commands/strings.rb#39 + # pkg:gem/redis#lib/redis/commands/strings.rb:39 def incr(key); end # Increment the integer value of a key by the given integer number. @@ -2818,7 +2818,7 @@ module Redis::Commands::Strings # @param key [String] # @return [Integer] value after incrementing it # - # source://redis//lib/redis/commands/strings.rb#52 + # pkg:gem/redis#lib/redis/commands/strings.rb:52 def incrby(key, increment); end # Increment the numeric value of a key by the given float number. @@ -2830,7 +2830,7 @@ module Redis::Commands::Strings # @param key [String] # @return [Float] value after incrementing it # - # source://redis//lib/redis/commands/strings.rb#65 + # pkg:gem/redis#lib/redis/commands/strings.rb:65 def incrbyfloat(key, increment); end # Get the values of all the given keys. @@ -2842,7 +2842,7 @@ module Redis::Commands::Strings # @return [Hash] a hash mapping the specified keys to their values # @see #mget # - # source://redis//lib/redis/commands/strings.rb#219 + # pkg:gem/redis#lib/redis/commands/strings.rb:219 def mapped_mget(*keys); end # Set one or more values. @@ -2854,7 +2854,7 @@ module Redis::Commands::Strings # @return [String] `"OK"` # @see #mset # - # source://redis//lib/redis/commands/strings.rb#154 + # pkg:gem/redis#lib/redis/commands/strings.rb:154 def mapped_mset(hash); end # Set one or more values, only if none of the keys exist. @@ -2866,7 +2866,7 @@ module Redis::Commands::Strings # @return [Boolean] whether or not all values were set # @see #msetnx # - # source://redis//lib/redis/commands/strings.rb#182 + # pkg:gem/redis#lib/redis/commands/strings.rb:182 def mapped_msetnx(hash); end # Get the values of all the given keys. @@ -2878,7 +2878,7 @@ module Redis::Commands::Strings # @return [Array] an array of values for the specified keys # @see #mapped_mget # - # source://redis//lib/redis/commands/strings.rb#204 + # pkg:gem/redis#lib/redis/commands/strings.rb:204 def mget(*keys, &blk); end # Set one or more values. @@ -2890,7 +2890,7 @@ module Redis::Commands::Strings # @return [String] `"OK"` # @see #mapped_mset # - # source://redis//lib/redis/commands/strings.rb#140 + # pkg:gem/redis#lib/redis/commands/strings.rb:140 def mset(*args); end # Set one or more values, only if none of the keys exist. @@ -2902,7 +2902,7 @@ module Redis::Commands::Strings # @return [Boolean] whether or not all values were set # @see #mapped_msetnx # - # source://redis//lib/redis/commands/strings.rb#168 + # pkg:gem/redis#lib/redis/commands/strings.rb:168 def msetnx(*args); end # Set the time to live in milliseconds of a key. @@ -2912,7 +2912,7 @@ module Redis::Commands::Strings # @param value [String] # @return [String] `"OK"` # - # source://redis//lib/redis/commands/strings.rb#117 + # pkg:gem/redis#lib/redis/commands/strings.rb:117 def psetex(key, ttl, value); end # Set the string value of a key. @@ -2929,7 +2929,7 @@ module Redis::Commands::Strings # @param value [String] # @return [String, Boolean] `"OK"` or true, false if `:nx => true` or `:xx => true` # - # source://redis//lib/redis/commands/strings.rb#83 + # pkg:gem/redis#lib/redis/commands/strings.rb:83 def set(key, value, ex: T.unsafe(nil), px: T.unsafe(nil), exat: T.unsafe(nil), pxat: T.unsafe(nil), nx: T.unsafe(nil), xx: T.unsafe(nil), keepttl: T.unsafe(nil), get: T.unsafe(nil)); end # Set the time to live in seconds of a key. @@ -2939,7 +2939,7 @@ module Redis::Commands::Strings # @param value [String] # @return [String] `"OK"` # - # source://redis//lib/redis/commands/strings.rb#107 + # pkg:gem/redis#lib/redis/commands/strings.rb:107 def setex(key, ttl, value); end # Set the value of a key, only if the key does not exist. @@ -2948,7 +2948,7 @@ module Redis::Commands::Strings # @param value [String] # @return [Boolean] whether the key was set or not # - # source://redis//lib/redis/commands/strings.rb#126 + # pkg:gem/redis#lib/redis/commands/strings.rb:126 def setnx(key, value); end # Overwrite part of a string at key starting at the specified offset. @@ -2958,7 +2958,7 @@ module Redis::Commands::Strings # @param value [String] # @return [Integer] length of the string after it was modified # - # source://redis//lib/redis/commands/strings.rb#235 + # pkg:gem/redis#lib/redis/commands/strings.rb:235 def setrange(key, offset, value); end # Get the length of the value stored in a key. @@ -2967,11 +2967,11 @@ module Redis::Commands::Strings # @return [Integer] the length of the value stored in the key, or 0 # if the key does not exist # - # source://redis//lib/redis/commands/strings.rb#309 + # pkg:gem/redis#lib/redis/commands/strings.rb:309 def strlen(key); end end -# source://redis//lib/redis/commands/transactions.rb#5 +# pkg:gem/redis#lib/redis/commands/transactions.rb:5 module Redis::Commands::Transactions # Discard all commands issued after MULTI. # @@ -2979,7 +2979,7 @@ module Redis::Commands::Transactions # @see #exec # @see #multi # - # source://redis//lib/redis/commands/transactions.rb#110 + # pkg:gem/redis#lib/redis/commands/transactions.rb:110 def discard; end # Execute all commands issued after MULTI. @@ -2991,7 +2991,7 @@ module Redis::Commands::Transactions # @see #discard # @see #multi # - # source://redis//lib/redis/commands/transactions.rb#100 + # pkg:gem/redis#lib/redis/commands/transactions.rb:100 def exec; end # Mark the start of a transaction block. @@ -3008,7 +3008,7 @@ module Redis::Commands::Transactions # and written to the server upon returning from it # @yieldparam multi [Redis] `self` # - # source://redis//lib/redis/commands/transactions.rb#23 + # pkg:gem/redis#lib/redis/commands/transactions.rb:23 def multi; end # Forget about all watched keys. @@ -3017,7 +3017,7 @@ module Redis::Commands::Transactions # @see #multi # @see #watch # - # source://redis//lib/redis/commands/transactions.rb#86 + # pkg:gem/redis#lib/redis/commands/transactions.rb:86 def unwatch; end # Watch the given keys to determine execution of the MULTI/EXEC block. @@ -3048,532 +3048,532 @@ module Redis::Commands::Transactions # @see #multi # @see #unwatch # - # source://redis//lib/redis/commands/transactions.rb#61 + # pkg:gem/redis#lib/redis/commands/transactions.rb:61 def watch(*keys); end end # soft-deprecated # We added this back for older sidekiq releases # -# source://redis//lib/redis.rb#27 +# pkg:gem/redis#lib/redis.rb:27 module Redis::Connection class << self - # source://redis//lib/redis.rb#29 + # pkg:gem/redis#lib/redis.rb:29 def drivers; end end end # Raised when connection to a Redis server is lost. # -# source://redis//lib/redis/errors.rb#41 +# pkg:gem/redis#lib/redis/errors.rb:41 class Redis::ConnectionError < ::Redis::BaseConnectionError; end -# source://redis//lib/redis.rb#9 +# pkg:gem/redis#lib/redis.rb:9 class Redis::Deprecated < ::StandardError; end -# source://redis//lib/redis/distributed.rb#6 +# pkg:gem/redis#lib/redis/distributed.rb:6 class Redis::Distributed # @return [Distributed] a new instance of Distributed # - # source://redis//lib/redis/distributed.rb#20 + # pkg:gem/redis#lib/redis/distributed.rb:20 def initialize(node_configs, options = T.unsafe(nil)); end - # source://redis//lib/redis/distributed.rb#410 + # pkg:gem/redis#lib/redis/distributed.rb:410 def [](key); end - # source://redis//lib/redis/distributed.rb#414 + # pkg:gem/redis#lib/redis/distributed.rb:414 def []=(key, value); end - # source://redis//lib/redis/distributed.rb#476 + # pkg:gem/redis#lib/redis/distributed.rb:476 def _bpop(cmd, args); end - # source://redis//lib/redis/distributed.rb#1042 + # pkg:gem/redis#lib/redis/distributed.rb:1042 def _eval(cmd, args); end - # source://redis//lib/redis/distributed.rb#41 + # pkg:gem/redis#lib/redis/distributed.rb:41 def add_node(options); end # Append a value to a key. # - # source://redis//lib/redis/distributed.rb#378 + # pkg:gem/redis#lib/redis/distributed.rb:378 def append(key, value); end # Asynchronously save the dataset to disk. # - # source://redis//lib/redis/distributed.rb#74 + # pkg:gem/redis#lib/redis/distributed.rb:74 def bgsave; end # Count the number of set bits in a range of the string value stored at key. # - # source://redis//lib/redis/distributed.rb#383 + # pkg:gem/redis#lib/redis/distributed.rb:383 def bitcount(key, start = T.unsafe(nil), stop = T.unsafe(nil), scale: T.unsafe(nil)); end # Perform a bitwise operation between strings and store the resulting string in a key. # - # source://redis//lib/redis/distributed.rb#388 + # pkg:gem/redis#lib/redis/distributed.rb:388 def bitop(operation, destkey, *keys); end # Return the position of the first bit set to 1 or 0 in a string. # - # source://redis//lib/redis/distributed.rb#396 + # pkg:gem/redis#lib/redis/distributed.rb:396 def bitpos(key, bit, start = T.unsafe(nil), stop = T.unsafe(nil), scale: T.unsafe(nil)); end # Remove the first/last element in a list and append/prepend it # to another list and return it, or block until one is available. # - # source://redis//lib/redis/distributed.rb#432 + # pkg:gem/redis#lib/redis/distributed.rb:432 def blmove(source, destination, where_source, where_destination, timeout: T.unsafe(nil)); end # Iterate over keys, blocking and removing elements from the first non empty liist found. # - # source://redis//lib/redis/distributed.rb#556 + # pkg:gem/redis#lib/redis/distributed.rb:556 def blmpop(timeout, *keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Remove and get the first element in a list, or block until one is # available. # - # source://redis//lib/redis/distributed.rb#495 + # pkg:gem/redis#lib/redis/distributed.rb:495 def blpop(*args); end # Remove and get the last element in a list, or block until one is # available. # - # source://redis//lib/redis/distributed.rb#513 + # pkg:gem/redis#lib/redis/distributed.rb:513 def brpop(*args); end # Pop a value from a list, push it to another list and return it; or block # until one is available. # - # source://redis//lib/redis/distributed.rb#519 + # pkg:gem/redis#lib/redis/distributed.rb:519 def brpoplpush(source, destination, **options); end # Iterate over keys, blocking and removing members from the first non empty sorted set found. # - # source://redis//lib/redis/distributed.rb#722 + # pkg:gem/redis#lib/redis/distributed.rb:722 def bzmpop(timeout, *keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end - # source://redis//lib/redis/distributed.rb#499 + # pkg:gem/redis#lib/redis/distributed.rb:499 def bzpopmax(*args); end - # source://redis//lib/redis/distributed.rb#505 + # pkg:gem/redis#lib/redis/distributed.rb:505 def bzpopmin(*args); end - # source://redis//lib/redis/distributed.rb#69 + # pkg:gem/redis#lib/redis/distributed.rb:69 def close; end # Copy a value from one key to another. # - # source://redis//lib/redis/distributed.rb#226 + # pkg:gem/redis#lib/redis/distributed.rb:226 def copy(source, destination, **options); end # Return the number of keys in the selected database. # - # source://redis//lib/redis/distributed.rb#79 + # pkg:gem/redis#lib/redis/distributed.rb:79 def dbsize; end # Decrement the integer value of a key by one. # - # source://redis//lib/redis/distributed.rb#266 + # pkg:gem/redis#lib/redis/distributed.rb:266 def decr(key); end # Decrement the integer value of a key by the given number. # - # source://redis//lib/redis/distributed.rb#271 + # pkg:gem/redis#lib/redis/distributed.rb:271 def decrby(key, decrement); end # Delete a key. # - # source://redis//lib/redis/distributed.rb#179 + # pkg:gem/redis#lib/redis/distributed.rb:179 def del(*args); end # Discard all commands issued after MULTI. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#1009 + # pkg:gem/redis#lib/redis/distributed.rb:1009 def discard; end # Return a serialized version of the value stored at a key. # - # source://redis//lib/redis/distributed.rb#164 + # pkg:gem/redis#lib/redis/distributed.rb:164 def dump(key); end - # source://redis//lib/redis/distributed.rb#1069 + # pkg:gem/redis#lib/redis/distributed.rb:1069 def dup; end # Echo the given string. # - # source://redis//lib/redis/distributed.rb#60 + # pkg:gem/redis#lib/redis/distributed.rb:60 def echo(value); end # Evaluate Lua script. # - # source://redis//lib/redis/distributed.rb#1056 + # pkg:gem/redis#lib/redis/distributed.rb:1056 def eval(*args); end # Evaluate Lua script by its SHA. # - # source://redis//lib/redis/distributed.rb#1061 + # pkg:gem/redis#lib/redis/distributed.rb:1061 def evalsha(*args); end # Execute all commands issued after MULTI. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#1000 + # pkg:gem/redis#lib/redis/distributed.rb:1000 def exec; end # Determine if a key exists. # - # source://redis//lib/redis/distributed.rb#197 + # pkg:gem/redis#lib/redis/distributed.rb:197 def exists(*args); end # Determine if any of the keys exists. # # @return [Boolean] # - # source://redis//lib/redis/distributed.rb#206 + # pkg:gem/redis#lib/redis/distributed.rb:206 def exists?(*args); end # Set a key's time to live in seconds. # - # source://redis//lib/redis/distributed.rb#124 + # pkg:gem/redis#lib/redis/distributed.rb:124 def expire(key, seconds, **kwargs); end # Set the expiration for a key as a UNIX timestamp. # - # source://redis//lib/redis/distributed.rb#129 + # pkg:gem/redis#lib/redis/distributed.rb:129 def expireat(key, unix_time, **kwargs); end # Get the expiration for a key as a UNIX timestamp. # - # source://redis//lib/redis/distributed.rb#134 + # pkg:gem/redis#lib/redis/distributed.rb:134 def expiretime(key); end # Remove all keys from all databases. # - # source://redis//lib/redis/distributed.rb#84 + # pkg:gem/redis#lib/redis/distributed.rb:84 def flushall; end # Remove all keys from the current database. # - # source://redis//lib/redis/distributed.rb#89 + # pkg:gem/redis#lib/redis/distributed.rb:89 def flushdb; end # Get the value of a key. # - # source://redis//lib/redis/distributed.rb#329 + # pkg:gem/redis#lib/redis/distributed.rb:329 def get(key); end # Returns the bit value at offset in the string value stored at key. # - # source://redis//lib/redis/distributed.rb#373 + # pkg:gem/redis#lib/redis/distributed.rb:373 def getbit(key, offset); end # Get the value of a key and delete it. # - # source://redis//lib/redis/distributed.rb#334 + # pkg:gem/redis#lib/redis/distributed.rb:334 def getdel(key); end # Get the value of a key and sets its time to live based on options. # - # source://redis//lib/redis/distributed.rb#339 + # pkg:gem/redis#lib/redis/distributed.rb:339 def getex(key, **options); end # Get a substring of the string stored at a key. # - # source://redis//lib/redis/distributed.rb#363 + # pkg:gem/redis#lib/redis/distributed.rb:363 def getrange(key, start, stop); end # Set the string value of a key and return its old value. # - # source://redis//lib/redis/distributed.rb#401 + # pkg:gem/redis#lib/redis/distributed.rb:401 def getset(key, value); end # Delete one or more hash fields. # - # source://redis//lib/redis/distributed.rb#886 + # pkg:gem/redis#lib/redis/distributed.rb:886 def hdel(key, *fields); end # Determine if a hash field exists. # - # source://redis//lib/redis/distributed.rb#892 + # pkg:gem/redis#lib/redis/distributed.rb:892 def hexists(key, field); end # Get the value of a hash field. # - # source://redis//lib/redis/distributed.rb#866 + # pkg:gem/redis#lib/redis/distributed.rb:866 def hget(key, field); end # Get all the fields and values in a hash. # - # source://redis//lib/redis/distributed.rb#917 + # pkg:gem/redis#lib/redis/distributed.rb:917 def hgetall(key); end # Increment the integer value of a hash field by the given integer number. # - # source://redis//lib/redis/distributed.rb#897 + # pkg:gem/redis#lib/redis/distributed.rb:897 def hincrby(key, field, increment); end # Increment the numeric value of a hash field by the given float number. # - # source://redis//lib/redis/distributed.rb#902 + # pkg:gem/redis#lib/redis/distributed.rb:902 def hincrbyfloat(key, field, increment); end # Get all the fields in a hash. # - # source://redis//lib/redis/distributed.rb#907 + # pkg:gem/redis#lib/redis/distributed.rb:907 def hkeys(key); end # Get the number of fields in a hash. # - # source://redis//lib/redis/distributed.rb#842 + # pkg:gem/redis#lib/redis/distributed.rb:842 def hlen(key); end # Get the values of all the given hash fields. # - # source://redis//lib/redis/distributed.rb#871 + # pkg:gem/redis#lib/redis/distributed.rb:871 def hmget(key, *fields); end # Set multiple hash fields to multiple values. # - # source://redis//lib/redis/distributed.rb#857 + # pkg:gem/redis#lib/redis/distributed.rb:857 def hmset(key, *attrs); end - # source://redis//lib/redis/distributed.rb#881 + # pkg:gem/redis#lib/redis/distributed.rb:881 def hrandfield(key, count = T.unsafe(nil), **options); end # Set multiple hash fields to multiple values. # - # source://redis//lib/redis/distributed.rb#847 + # pkg:gem/redis#lib/redis/distributed.rb:847 def hset(key, *attrs); end # Set the value of a hash field, only if the field does not exist. # - # source://redis//lib/redis/distributed.rb#852 + # pkg:gem/redis#lib/redis/distributed.rb:852 def hsetnx(key, field, value); end # Get all the values in a hash. # - # source://redis//lib/redis/distributed.rb#912 + # pkg:gem/redis#lib/redis/distributed.rb:912 def hvals(key); end # Increment the integer value of a key by one. # - # source://redis//lib/redis/distributed.rb#276 + # pkg:gem/redis#lib/redis/distributed.rb:276 def incr(key); end # Increment the integer value of a key by the given integer number. # - # source://redis//lib/redis/distributed.rb#281 + # pkg:gem/redis#lib/redis/distributed.rb:281 def incrby(key, increment); end # Increment the numeric value of a key by the given float number. # - # source://redis//lib/redis/distributed.rb#286 + # pkg:gem/redis#lib/redis/distributed.rb:286 def incrbyfloat(key, increment); end # Get information and statistics about the server. # - # source://redis//lib/redis/distributed.rb#94 + # pkg:gem/redis#lib/redis/distributed.rb:94 def info(cmd = T.unsafe(nil)); end - # source://redis//lib/redis/distributed.rb#1065 + # pkg:gem/redis#lib/redis/distributed.rb:1065 def inspect; end # Find all keys matching the given pattern. # - # source://redis//lib/redis/distributed.rb#216 + # pkg:gem/redis#lib/redis/distributed.rb:216 def keys(glob = T.unsafe(nil)); end # Get the UNIX time stamp of the last successful save to disk. # - # source://redis//lib/redis/distributed.rb#99 + # pkg:gem/redis#lib/redis/distributed.rb:99 def lastsave; end # Get an element from a list by its index. # - # source://redis//lib/redis/distributed.rb#526 + # pkg:gem/redis#lib/redis/distributed.rb:526 def lindex(key, index); end # Insert an element before or after another element in a list. # - # source://redis//lib/redis/distributed.rb#531 + # pkg:gem/redis#lib/redis/distributed.rb:531 def linsert(key, where, pivot, value); end # Get the length of a list. # - # source://redis//lib/redis/distributed.rb#419 + # pkg:gem/redis#lib/redis/distributed.rb:419 def llen(key); end # Remove the first/last element in a list, append/prepend it to another list and return it. # - # source://redis//lib/redis/distributed.rb#424 + # pkg:gem/redis#lib/redis/distributed.rb:424 def lmove(source, destination, where_source, where_destination); end # Iterate over keys, removing elements from the first non list found. # - # source://redis//lib/redis/distributed.rb#563 + # pkg:gem/redis#lib/redis/distributed.rb:563 def lmpop(*keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Remove and get the first elements in a list. # - # source://redis//lib/redis/distributed.rb#459 + # pkg:gem/redis#lib/redis/distributed.rb:459 def lpop(key, count = T.unsafe(nil)); end # Prepend one or more values to a list. # - # source://redis//lib/redis/distributed.rb#439 + # pkg:gem/redis#lib/redis/distributed.rb:439 def lpush(key, value); end # Prepend a value to a list, only if the list exists. # - # source://redis//lib/redis/distributed.rb#444 + # pkg:gem/redis#lib/redis/distributed.rb:444 def lpushx(key, value); end # Get a range of elements from a list. # - # source://redis//lib/redis/distributed.rb#536 + # pkg:gem/redis#lib/redis/distributed.rb:536 def lrange(key, start, stop); end # Remove elements from a list. # - # source://redis//lib/redis/distributed.rb#541 + # pkg:gem/redis#lib/redis/distributed.rb:541 def lrem(key, count, value); end # Set the value of an element in a list by its index. # - # source://redis//lib/redis/distributed.rb#546 + # pkg:gem/redis#lib/redis/distributed.rb:546 def lset(key, index, value); end # Trim a list to the specified range. # - # source://redis//lib/redis/distributed.rb#551 + # pkg:gem/redis#lib/redis/distributed.rb:551 def ltrim(key, start, stop); end - # source://redis//lib/redis/distributed.rb#876 + # pkg:gem/redis#lib/redis/distributed.rb:876 def mapped_hmget(key, *fields); end - # source://redis//lib/redis/distributed.rb#861 + # pkg:gem/redis#lib/redis/distributed.rb:861 def mapped_hmset(key, hash); end # Get the values of all the given keys as a Hash. # - # source://redis//lib/redis/distributed.rb#350 + # pkg:gem/redis#lib/redis/distributed.rb:350 def mapped_mget(*keys); end # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#315 + # pkg:gem/redis#lib/redis/distributed.rb:315 def mapped_mset(_hash); end # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#324 + # pkg:gem/redis#lib/redis/distributed.rb:324 def mapped_msetnx(_hash); end # Get the values of all the given keys as an Array. # - # source://redis//lib/redis/distributed.rb#344 + # pkg:gem/redis#lib/redis/distributed.rb:344 def mget(*keys); end # Transfer a key from the connected instance to another instance. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#174 + # pkg:gem/redis#lib/redis/distributed.rb:174 def migrate(_key, _options); end # Listen for all requests received by the server in real time. # # @raise [NotImplementedError] # - # source://redis//lib/redis/distributed.rb#104 + # pkg:gem/redis#lib/redis/distributed.rb:104 def monitor; end # Move a key to another database. # - # source://redis//lib/redis/distributed.rb#221 + # pkg:gem/redis#lib/redis/distributed.rb:221 def move(key, db); end # Set multiple keys to multiple values. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#311 + # pkg:gem/redis#lib/redis/distributed.rb:311 def mset(*_arg0); end # Set multiple keys to multiple values, only if none of the keys exist. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#320 + # pkg:gem/redis#lib/redis/distributed.rb:320 def msetnx(*_arg0); end # Mark the start of a transaction block. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#993 + # pkg:gem/redis#lib/redis/distributed.rb:993 def multi(&block); end # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#30 + # pkg:gem/redis#lib/redis/distributed.rb:30 def node_for(key); end - # source://redis//lib/redis/distributed.rb#37 + # pkg:gem/redis#lib/redis/distributed.rb:37 def nodes; end # Remove the expiration from a key. # - # source://redis//lib/redis/distributed.rb#119 + # pkg:gem/redis#lib/redis/distributed.rb:119 def persist(key); end # Set a key's time to live in milliseconds. # - # source://redis//lib/redis/distributed.rb#144 + # pkg:gem/redis#lib/redis/distributed.rb:144 def pexpire(key, milliseconds, **kwarg); end # Set the expiration for a key as number of milliseconds from UNIX Epoch. # - # source://redis//lib/redis/distributed.rb#149 + # pkg:gem/redis#lib/redis/distributed.rb:149 def pexpireat(key, ms_unix_time, **kwarg); end # Get the expiration for a key as number of milliseconds from UNIX Epoch. # - # source://redis//lib/redis/distributed.rb#154 + # pkg:gem/redis#lib/redis/distributed.rb:154 def pexpiretime(key); end # Add one or more members to a HyperLogLog structure. # - # source://redis//lib/redis/distributed.rb#1023 + # pkg:gem/redis#lib/redis/distributed.rb:1023 def pfadd(key, member); end # Get the approximate cardinality of members added to HyperLogLog structure. # - # source://redis//lib/redis/distributed.rb#1028 + # pkg:gem/redis#lib/redis/distributed.rb:1028 def pfcount(*keys); end # Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of # the observed Sets of the source HyperLogLog structures. # - # source://redis//lib/redis/distributed.rb#1036 + # pkg:gem/redis#lib/redis/distributed.rb:1036 def pfmerge(dest_key, *source_key); end # Ping the server. # - # source://redis//lib/redis/distributed.rb#55 + # pkg:gem/redis#lib/redis/distributed.rb:55 def ping; end # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#988 + # pkg:gem/redis#lib/redis/distributed.rb:988 def pipelined; end # Set the time to live in milliseconds of a key. # - # source://redis//lib/redis/distributed.rb#301 + # pkg:gem/redis#lib/redis/distributed.rb:301 def psetex(key, ttl, value); end # Listen for messages published to channels matching the given patterns. @@ -3582,17 +3582,17 @@ class Redis::Distributed # # @raise [NotImplementedError] # - # source://redis//lib/redis/distributed.rb#953 + # pkg:gem/redis#lib/redis/distributed.rb:953 def psubscribe(*channels, &block); end # Get the time to live (in milliseconds) for a key. # - # source://redis//lib/redis/distributed.rb#159 + # pkg:gem/redis#lib/redis/distributed.rb:159 def pttl(key); end # Post a message to a channel. # - # source://redis//lib/redis/distributed.rb#922 + # pkg:gem/redis#lib/redis/distributed.rb:922 def publish(channel, message); end # Stop listening for messages posted to channels matching the given @@ -3602,452 +3602,452 @@ class Redis::Distributed # # @raise [NotImplementedError] # - # source://redis//lib/redis/distributed.rb#961 + # pkg:gem/redis#lib/redis/distributed.rb:961 def punsubscribe(*channels); end # Close the connection. # - # source://redis//lib/redis/distributed.rb#65 + # pkg:gem/redis#lib/redis/distributed.rb:65 def quit; end # Return a random key from the keyspace. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#233 + # pkg:gem/redis#lib/redis/distributed.rb:233 def randomkey; end # Rename a key. # - # source://redis//lib/redis/distributed.rb#238 + # pkg:gem/redis#lib/redis/distributed.rb:238 def rename(old_name, new_name); end # Rename a key, only if the new key does not exist. # - # source://redis//lib/redis/distributed.rb#245 + # pkg:gem/redis#lib/redis/distributed.rb:245 def renamenx(old_name, new_name); end # Create a key using the serialized value, previously obtained using DUMP. # - # source://redis//lib/redis/distributed.rb#169 + # pkg:gem/redis#lib/redis/distributed.rb:169 def restore(key, ttl, serialized_value, **options); end # Returns the value of attribute ring. # - # source://redis//lib/redis/distributed.rb#18 + # pkg:gem/redis#lib/redis/distributed.rb:18 def ring; end # Remove and get the last elements in a list. # - # source://redis//lib/redis/distributed.rb#464 + # pkg:gem/redis#lib/redis/distributed.rb:464 def rpop(key, count = T.unsafe(nil)); end # Remove the last element in a list, append it to another list and return # it. # - # source://redis//lib/redis/distributed.rb#470 + # pkg:gem/redis#lib/redis/distributed.rb:470 def rpoplpush(source, destination); end # Append one or more values to a list. # - # source://redis//lib/redis/distributed.rb#449 + # pkg:gem/redis#lib/redis/distributed.rb:449 def rpush(key, value); end # Append a value to a list, only if the list exists. # - # source://redis//lib/redis/distributed.rb#454 + # pkg:gem/redis#lib/redis/distributed.rb:454 def rpushx(key, value); end # Add one or more members to a set. # - # source://redis//lib/redis/distributed.rb#575 + # pkg:gem/redis#lib/redis/distributed.rb:575 def sadd(key, *members); end # Add one or more members to a set. # # @return [Boolean] # - # source://redis//lib/redis/distributed.rb#580 + # pkg:gem/redis#lib/redis/distributed.rb:580 def sadd?(key, *members); end # Synchronously save the dataset to disk. # - # source://redis//lib/redis/distributed.rb#109 + # pkg:gem/redis#lib/redis/distributed.rb:109 def save; end # Get the number of members in a set. # - # source://redis//lib/redis/distributed.rb#570 + # pkg:gem/redis#lib/redis/distributed.rb:570 def scard(key); end # Control remote script registry. # - # source://redis//lib/redis/distributed.rb#1018 + # pkg:gem/redis#lib/redis/distributed.rb:1018 def script(subcommand, *args); end # Subtract multiple sets. # - # source://redis//lib/redis/distributed.rb#637 + # pkg:gem/redis#lib/redis/distributed.rb:637 def sdiff(*keys); end # Subtract multiple sets and store the resulting set in a key. # - # source://redis//lib/redis/distributed.rb#645 + # pkg:gem/redis#lib/redis/distributed.rb:645 def sdiffstore(destination, *keys); end # Change the selected database for the current connection. # - # source://redis//lib/redis/distributed.rb#50 + # pkg:gem/redis#lib/redis/distributed.rb:50 def select(db); end # Set the string value of a key. # - # source://redis//lib/redis/distributed.rb#291 + # pkg:gem/redis#lib/redis/distributed.rb:291 def set(key, value, **options); end # Sets or clears the bit at offset in the string value stored at key. # - # source://redis//lib/redis/distributed.rb#368 + # pkg:gem/redis#lib/redis/distributed.rb:368 def setbit(key, offset, value); end # Set the time to live in seconds of a key. # - # source://redis//lib/redis/distributed.rb#296 + # pkg:gem/redis#lib/redis/distributed.rb:296 def setex(key, ttl, value); end # Set the value of a key, only if the key does not exist. # - # source://redis//lib/redis/distributed.rb#306 + # pkg:gem/redis#lib/redis/distributed.rb:306 def setnx(key, value); end # Overwrite part of a string at key starting at the specified offset. # - # source://redis//lib/redis/distributed.rb#358 + # pkg:gem/redis#lib/redis/distributed.rb:358 def setrange(key, offset, value); end # Intersect multiple sets. # - # source://redis//lib/redis/distributed.rb#653 + # pkg:gem/redis#lib/redis/distributed.rb:653 def sinter(*keys); end # Intersect multiple sets and store the resulting set in a key. # - # source://redis//lib/redis/distributed.rb#661 + # pkg:gem/redis#lib/redis/distributed.rb:661 def sinterstore(destination, *keys); end # Determine if a given value is a member of a set. # - # source://redis//lib/redis/distributed.rb#612 + # pkg:gem/redis#lib/redis/distributed.rb:612 def sismember(key, member); end # Get all the members in a set. # - # source://redis//lib/redis/distributed.rb#622 + # pkg:gem/redis#lib/redis/distributed.rb:622 def smembers(key); end # Determine if multiple values are members of a set. # - # source://redis//lib/redis/distributed.rb#617 + # pkg:gem/redis#lib/redis/distributed.rb:617 def smismember(key, *members); end # Move a member from one set to another. # - # source://redis//lib/redis/distributed.rb#605 + # pkg:gem/redis#lib/redis/distributed.rb:605 def smove(source, destination, member); end # Sort the elements in a list, set or sorted set. # - # source://redis//lib/redis/distributed.rb#252 + # pkg:gem/redis#lib/redis/distributed.rb:252 def sort(key, **options); end # Remove and return a random member from a set. # - # source://redis//lib/redis/distributed.rb#595 + # pkg:gem/redis#lib/redis/distributed.rb:595 def spop(key, count = T.unsafe(nil)); end # Get a random member from a set. # - # source://redis//lib/redis/distributed.rb#600 + # pkg:gem/redis#lib/redis/distributed.rb:600 def srandmember(key, count = T.unsafe(nil)); end # Remove one or more members from a set. # - # source://redis//lib/redis/distributed.rb#585 + # pkg:gem/redis#lib/redis/distributed.rb:585 def srem(key, *members); end # Remove one or more members from a set. # # @return [Boolean] # - # source://redis//lib/redis/distributed.rb#590 + # pkg:gem/redis#lib/redis/distributed.rb:590 def srem?(key, *members); end # Scan a set # - # source://redis//lib/redis/distributed.rb#627 + # pkg:gem/redis#lib/redis/distributed.rb:627 def sscan(key, cursor, **options); end # Scan a set and return an enumerator # - # source://redis//lib/redis/distributed.rb#632 + # pkg:gem/redis#lib/redis/distributed.rb:632 def sscan_each(key, **options, &block); end # Get the length of the value stored in a key. # - # source://redis//lib/redis/distributed.rb#406 + # pkg:gem/redis#lib/redis/distributed.rb:406 def strlen(key); end # Listen for messages published to the given channels. # - # source://redis//lib/redis/distributed.rb#931 + # pkg:gem/redis#lib/redis/distributed.rb:931 def subscribe(channel, *channels, &block); end # @return [Boolean] # - # source://redis//lib/redis/distributed.rb#926 + # pkg:gem/redis#lib/redis/distributed.rb:926 def subscribed?; end # Add multiple sets. # - # source://redis//lib/redis/distributed.rb#669 + # pkg:gem/redis#lib/redis/distributed.rb:669 def sunion(*keys); end # Add multiple sets and store the resulting set in a key. # - # source://redis//lib/redis/distributed.rb#677 + # pkg:gem/redis#lib/redis/distributed.rb:677 def sunionstore(destination, *keys); end # Get server time: an UNIX timestamp and the elapsed microseconds in the current second. # - # source://redis//lib/redis/distributed.rb#114 + # pkg:gem/redis#lib/redis/distributed.rb:114 def time; end # Get the time to live (in seconds) for a key. # - # source://redis//lib/redis/distributed.rb#139 + # pkg:gem/redis#lib/redis/distributed.rb:139 def ttl(key); end # Determine the type stored at key. # - # source://redis//lib/redis/distributed.rb#261 + # pkg:gem/redis#lib/redis/distributed.rb:261 def type(key); end # Unlink keys. # - # source://redis//lib/redis/distributed.rb#188 + # pkg:gem/redis#lib/redis/distributed.rb:188 def unlink(*args); end # Stop listening for messages posted to the given channels. # # @raise [SubscriptionError] # - # source://redis//lib/redis/distributed.rb#944 + # pkg:gem/redis#lib/redis/distributed.rb:944 def unsubscribe(*channels); end # Forget about all watched keys. # # @raise [CannotDistribute] # - # source://redis//lib/redis/distributed.rb#980 + # pkg:gem/redis#lib/redis/distributed.rb:980 def unwatch; end # Watch the given keys to determine execution of the MULTI/EXEC block. # - # source://redis//lib/redis/distributed.rb#966 + # pkg:gem/redis#lib/redis/distributed.rb:966 def watch(*keys, &block); end # Add one or more members to a sorted set, or update the score for members # that already exist. # - # source://redis//lib/redis/distributed.rb#691 + # pkg:gem/redis#lib/redis/distributed.rb:691 def zadd(key, *args, **_arg2); end # Get the number of members in a sorted set. # - # source://redis//lib/redis/distributed.rb#685 + # pkg:gem/redis#lib/redis/distributed.rb:685 def zcard(key); end # Get the number of members in a particular score range. # - # source://redis//lib/redis/distributed.rb#787 + # pkg:gem/redis#lib/redis/distributed.rb:787 def zcount(key, min, max); end # Return the difference between the first and all successive input sorted sets. # - # source://redis//lib/redis/distributed.rb#825 + # pkg:gem/redis#lib/redis/distributed.rb:825 def zdiff(*keys, **options); end # Compute the difference between the first and all successive input sorted sets # and store the resulting sorted set in a new key. # - # source://redis//lib/redis/distributed.rb#834 + # pkg:gem/redis#lib/redis/distributed.rb:834 def zdiffstore(destination, *keys, **options); end # Increment the score of a member in a sorted set. # - # source://redis//lib/redis/distributed.rb#697 + # pkg:gem/redis#lib/redis/distributed.rb:697 def zincrby(key, increment, member); end # Get the intersection of multiple sorted sets # - # source://redis//lib/redis/distributed.rb#792 + # pkg:gem/redis#lib/redis/distributed.rb:792 def zinter(*keys, **options); end # Intersect multiple sorted sets and store the resulting sorted set in a new # key. # - # source://redis//lib/redis/distributed.rb#801 + # pkg:gem/redis#lib/redis/distributed.rb:801 def zinterstore(destination, *keys, **options); end # Iterate over keys, removing members from the first non empty sorted set found. # - # source://redis//lib/redis/distributed.rb#729 + # pkg:gem/redis#lib/redis/distributed.rb:729 def zmpop(*keys, modifier: T.unsafe(nil), count: T.unsafe(nil)); end # Get the scores associated with the given members in a sorted set. # - # source://redis//lib/redis/distributed.rb#717 + # pkg:gem/redis#lib/redis/distributed.rb:717 def zmscore(key, *members); end # Get one or more random members from a sorted set. # - # source://redis//lib/redis/distributed.rb#712 + # pkg:gem/redis#lib/redis/distributed.rb:712 def zrandmember(key, count = T.unsafe(nil), **options); end # Return a range of members in a sorted set, by index, score or lexicographical ordering. # - # source://redis//lib/redis/distributed.rb#736 + # pkg:gem/redis#lib/redis/distributed.rb:736 def zrange(key, start, stop, **options); end # Return a range of members in a sorted set, by score. # - # source://redis//lib/redis/distributed.rb#771 + # pkg:gem/redis#lib/redis/distributed.rb:771 def zrangebyscore(key, min, max, **options); end # Select a range of members in a sorted set, by index, score or lexicographical ordering # and store the resulting sorted set in a new key. # - # source://redis//lib/redis/distributed.rb#742 + # pkg:gem/redis#lib/redis/distributed.rb:742 def zrangestore(dest_key, src_key, start, stop, **options); end # Determine the index of a member in a sorted set. # - # source://redis//lib/redis/distributed.rb#755 + # pkg:gem/redis#lib/redis/distributed.rb:755 def zrank(key, member, **options); end # Remove one or more members from a sorted set. # - # source://redis//lib/redis/distributed.rb#702 + # pkg:gem/redis#lib/redis/distributed.rb:702 def zrem(key, member); end # Remove all members in a sorted set within the given indexes. # - # source://redis//lib/redis/distributed.rb#766 + # pkg:gem/redis#lib/redis/distributed.rb:766 def zremrangebyrank(key, start, stop); end # Remove all members in a sorted set within the given scores. # - # source://redis//lib/redis/distributed.rb#782 + # pkg:gem/redis#lib/redis/distributed.rb:782 def zremrangebyscore(key, min, max); end # Return a range of members in a sorted set, by index, with scores ordered # from high to low. # - # source://redis//lib/redis/distributed.rb#750 + # pkg:gem/redis#lib/redis/distributed.rb:750 def zrevrange(key, start, stop, **options); end # Return a range of members in a sorted set, by score, with scores ordered # from high to low. # - # source://redis//lib/redis/distributed.rb#777 + # pkg:gem/redis#lib/redis/distributed.rb:777 def zrevrangebyscore(key, max, min, **options); end # Determine the index of a member in a sorted set, with scores ordered from # high to low. # - # source://redis//lib/redis/distributed.rb#761 + # pkg:gem/redis#lib/redis/distributed.rb:761 def zrevrank(key, member, **options); end # Get the score associated with the given member in a sorted set. # - # source://redis//lib/redis/distributed.rb#707 + # pkg:gem/redis#lib/redis/distributed.rb:707 def zscore(key, member); end # Return the union of multiple sorted sets. # - # source://redis//lib/redis/distributed.rb#809 + # pkg:gem/redis#lib/redis/distributed.rb:809 def zunion(*keys, **options); end # Add multiple sorted sets and store the resulting sorted set in a new key. # - # source://redis//lib/redis/distributed.rb#817 + # pkg:gem/redis#lib/redis/distributed.rb:817 def zunionstore(destination, *keys, **options); end protected # @yield [node_for(keys.first)] # - # source://redis//lib/redis/distributed.rb#1090 + # pkg:gem/redis#lib/redis/distributed.rb:1090 def ensure_same_node(command, keys); end - # source://redis//lib/redis/distributed.rb#1085 + # pkg:gem/redis#lib/redis/distributed.rb:1085 def key_tag(key); end - # source://redis//lib/redis/distributed.rb#1081 + # pkg:gem/redis#lib/redis/distributed.rb:1081 def node_index_for(key); end - # source://redis//lib/redis/distributed.rb#1075 + # pkg:gem/redis#lib/redis/distributed.rb:1075 def on_each_node(command, *args); end end -# source://redis//lib/redis/distributed.rb#7 +# pkg:gem/redis#lib/redis/distributed.rb:7 class Redis::Distributed::CannotDistribute < ::RuntimeError # @return [CannotDistribute] a new instance of CannotDistribute # - # source://redis//lib/redis/distributed.rb#8 + # pkg:gem/redis#lib/redis/distributed.rb:8 def initialize(command); end - # source://redis//lib/redis/distributed.rb#12 + # pkg:gem/redis#lib/redis/distributed.rb:12 def message; end end -# source://redis//lib/redis/pipeline.rb#80 +# pkg:gem/redis#lib/redis/pipeline.rb:80 class Redis::Future < ::BasicObject # @return [Future] a new instance of Future # - # source://redis//lib/redis/pipeline.rb#83 + # pkg:gem/redis#lib/redis/pipeline.rb:83 def initialize(command, coerce, exception); end - # source://redis//lib/redis/pipeline.rb#94 + # pkg:gem/redis#lib/redis/pipeline.rb:94 def _set(object); end - # source://redis//lib/redis/pipeline.rb#108 + # pkg:gem/redis#lib/redis/pipeline.rb:108 def class; end - # source://redis//lib/redis/pipeline.rb#90 + # pkg:gem/redis#lib/redis/pipeline.rb:90 def inspect; end # @return [Boolean] # - # source://redis//lib/redis/pipeline.rb#104 + # pkg:gem/redis#lib/redis/pipeline.rb:104 def is_a?(other); end - # source://redis//lib/redis/pipeline.rb#99 + # pkg:gem/redis#lib/redis/pipeline.rb:99 def value; end end -# source://redis//lib/redis/pipeline.rb#81 +# pkg:gem/redis#lib/redis/pipeline.rb:81 Redis::Future::FutureNotReady = T.let(T.unsafe(nil), Redis::FutureNotReady) -# source://redis//lib/redis/pipeline.rb#74 +# pkg:gem/redis#lib/redis/pipeline.rb:74 class Redis::FutureNotReady < ::RuntimeError # @return [FutureNotReady] a new instance of FutureNotReady # - # source://redis//lib/redis/pipeline.rb#75 + # pkg:gem/redis#lib/redis/pipeline.rb:75 def initialize; end end -# source://redis//lib/redis/hash_ring.rb#7 +# pkg:gem/redis#lib/redis/hash_ring.rb:7 class Redis::HashRing # nodes is a list of objects that have a proper to_s representation. # replicas indicates how many virtual points should be used pr. node, @@ -4055,79 +4055,79 @@ class Redis::HashRing # # @return [HashRing] a new instance of HashRing # - # source://redis//lib/redis/hash_ring.rb#15 + # pkg:gem/redis#lib/redis/hash_ring.rb:15 def initialize(nodes = T.unsafe(nil), replicas = T.unsafe(nil)); end # Adds a `node` to the hash ring (including a number of replicas). # - # source://redis//lib/redis/hash_ring.rb#26 + # pkg:gem/redis#lib/redis/hash_ring.rb:26 def add_node(node); end # get the node in the hash ring for this key # - # source://redis//lib/redis/hash_ring.rb#46 + # pkg:gem/redis#lib/redis/hash_ring.rb:46 def get_node(key); end - # source://redis//lib/redis/hash_ring.rb#52 + # pkg:gem/redis#lib/redis/hash_ring.rb:52 def iter_nodes(key); end # Returns the value of attribute nodes. # - # source://redis//lib/redis/hash_ring.rb#10 + # pkg:gem/redis#lib/redis/hash_ring.rb:10 def nodes; end - # source://redis//lib/redis/hash_ring.rb#36 + # pkg:gem/redis#lib/redis/hash_ring.rb:36 def remove_node(node); end # Returns the value of attribute replicas. # - # source://redis//lib/redis/hash_ring.rb#10 + # pkg:gem/redis#lib/redis/hash_ring.rb:10 def replicas; end # Returns the value of attribute ring. # - # source://redis//lib/redis/hash_ring.rb#10 + # pkg:gem/redis#lib/redis/hash_ring.rb:10 def ring; end # Returns the value of attribute sorted_keys. # - # source://redis//lib/redis/hash_ring.rb#10 + # pkg:gem/redis#lib/redis/hash_ring.rb:10 def sorted_keys; end private # Find the closest index in HashRing with value <= the given value # - # source://redis//lib/redis/hash_ring.rb#73 + # pkg:gem/redis#lib/redis/hash_ring.rb:73 def binary_search(ary, value); end - # source://redis//lib/redis/hash_ring.rb#64 + # pkg:gem/redis#lib/redis/hash_ring.rb:64 def hash_for(key); end - # source://redis//lib/redis/hash_ring.rb#68 + # pkg:gem/redis#lib/redis/hash_ring.rb:68 def server_hash_for(key); end end # this is the default in libmemcached # -# source://redis//lib/redis/hash_ring.rb#8 +# pkg:gem/redis#lib/redis/hash_ring.rb:8 Redis::HashRing::POINTS_PER_SERVER = T.let(T.unsafe(nil), Integer) # Raised when the connection was inherited by a child process. # -# source://redis//lib/redis/errors.rb#49 +# pkg:gem/redis#lib/redis/errors.rb:49 class Redis::InheritedError < ::Redis::BaseConnectionError; end # Raised when client options are invalid. # -# source://redis//lib/redis/errors.rb#57 +# pkg:gem/redis#lib/redis/errors.rb:57 class Redis::InvalidClientOptionError < ::Redis::BaseError; end -# source://redis//lib/redis/pipeline.rb#59 +# pkg:gem/redis#lib/redis/pipeline.rb:59 class Redis::MultiConnection < ::Redis::PipelinedConnection # @raise [Redis::BaseError] # - # source://redis//lib/redis/pipeline.rb#60 + # pkg:gem/redis#lib/redis/pipeline.rb:60 def multi; end private @@ -4136,28 +4136,28 @@ class Redis::MultiConnection < ::Redis::PipelinedConnection # It shouldn't be done though. # https://redis.io/commands/blpop/#blpop-inside-a-multi--exec-transaction # - # source://redis//lib/redis/pipeline.rb#69 + # pkg:gem/redis#lib/redis/pipeline.rb:69 def send_blocking_command(command, _timeout, &block); end end -# source://redis//lib/redis/pipeline.rb#113 +# pkg:gem/redis#lib/redis/pipeline.rb:113 class Redis::MultiFuture < ::Redis::Future # @return [MultiFuture] a new instance of MultiFuture # - # source://redis//lib/redis/pipeline.rb#114 + # pkg:gem/redis#lib/redis/pipeline.rb:114 def initialize(futures); end - # source://redis//lib/redis/pipeline.rb#120 + # pkg:gem/redis#lib/redis/pipeline.rb:120 def _set(replies); end end -# source://redis//lib/redis/errors.rb#29 +# pkg:gem/redis#lib/redis/errors.rb:29 class Redis::OutOfMemoryError < ::Redis::CommandError; end -# source://redis//lib/redis/errors.rb#23 +# pkg:gem/redis#lib/redis/errors.rb:23 class Redis::PermissionError < ::Redis::CommandError; end -# source://redis//lib/redis/pipeline.rb#6 +# pkg:gem/redis#lib/redis/pipeline.rb:6 class Redis::PipelinedConnection include ::Redis::Commands::Bitmaps include ::Redis::Commands::Cluster @@ -4179,163 +4179,163 @@ class Redis::PipelinedConnection # @return [PipelinedConnection] a new instance of PipelinedConnection # - # source://redis//lib/redis/pipeline.rb#9 + # pkg:gem/redis#lib/redis/pipeline.rb:9 def initialize(pipeline, futures = T.unsafe(nil), exception: T.unsafe(nil)); end # Returns the value of attribute db. # - # source://redis//lib/redis/pipeline.rb#7 + # pkg:gem/redis#lib/redis/pipeline.rb:7 def db; end # Sets the attribute db # # @param value the value to set the attribute db to. # - # source://redis//lib/redis/pipeline.rb#7 + # pkg:gem/redis#lib/redis/pipeline.rb:7 def db=(_arg0); end # @yield [transaction] # - # source://redis//lib/redis/pipeline.rb#21 + # pkg:gem/redis#lib/redis/pipeline.rb:21 def multi; end # @yield [_self] # @yieldparam _self [Redis::PipelinedConnection] the object that the method was called on # - # source://redis//lib/redis/pipeline.rb#17 + # pkg:gem/redis#lib/redis/pipeline.rb:17 def pipelined; end private - # source://redis//lib/redis/pipeline.rb#49 + # pkg:gem/redis#lib/redis/pipeline.rb:49 def send_blocking_command(command, timeout, &block); end - # source://redis//lib/redis/pipeline.rb#40 + # pkg:gem/redis#lib/redis/pipeline.rb:40 def send_command(command, &block); end # @yield [_self] # @yieldparam _self [Redis::PipelinedConnection] the object that the method was called on # - # source://redis//lib/redis/pipeline.rb#36 + # pkg:gem/redis#lib/redis/pipeline.rb:36 def synchronize; end end # Raised by the connection when a protocol error occurs. # -# source://redis//lib/redis/errors.rb#9 +# pkg:gem/redis#lib/redis/errors.rb:9 class Redis::ProtocolError < ::Redis::BaseError # @return [ProtocolError] a new instance of ProtocolError # - # source://redis//lib/redis/errors.rb#10 + # pkg:gem/redis#lib/redis/errors.rb:10 def initialize(reply_type); end end # Generally raised during Redis failover scenarios # -# source://redis//lib/redis/errors.rb#53 +# pkg:gem/redis#lib/redis/errors.rb:53 class Redis::ReadOnlyError < ::Redis::BaseConnectionError; end -# source://redis//lib/redis.rb#37 +# pkg:gem/redis#lib/redis.rb:37 Redis::SERVER_URL_OPTIONS = T.let(T.unsafe(nil), Array) -# source://redis//lib/redis/subscribe.rb#4 +# pkg:gem/redis#lib/redis/subscribe.rb:4 class Redis::SubscribedClient # @return [SubscribedClient] a new instance of SubscribedClient # - # source://redis//lib/redis/subscribe.rb#5 + # pkg:gem/redis#lib/redis/subscribe.rb:5 def initialize(client); end - # source://redis//lib/redis/subscribe.rb#10 + # pkg:gem/redis#lib/redis/subscribe.rb:10 def call_v(command); end - # source://redis//lib/redis/subscribe.rb#52 + # pkg:gem/redis#lib/redis/subscribe.rb:52 def close; end - # source://redis//lib/redis/subscribe.rb#24 + # pkg:gem/redis#lib/redis/subscribe.rb:24 def psubscribe(*channels, &block); end - # source://redis//lib/redis/subscribe.rb#28 + # pkg:gem/redis#lib/redis/subscribe.rb:28 def psubscribe_with_timeout(timeout, *channels, &block); end - # source://redis//lib/redis/subscribe.rb#44 + # pkg:gem/redis#lib/redis/subscribe.rb:44 def punsubscribe(*channels); end - # source://redis//lib/redis/subscribe.rb#32 + # pkg:gem/redis#lib/redis/subscribe.rb:32 def ssubscribe(*channels, &block); end - # source://redis//lib/redis/subscribe.rb#36 + # pkg:gem/redis#lib/redis/subscribe.rb:36 def ssubscribe_with_timeout(timeout, *channels, &block); end - # source://redis//lib/redis/subscribe.rb#16 + # pkg:gem/redis#lib/redis/subscribe.rb:16 def subscribe(*channels, &block); end - # source://redis//lib/redis/subscribe.rb#20 + # pkg:gem/redis#lib/redis/subscribe.rb:20 def subscribe_with_timeout(timeout, *channels, &block); end - # source://redis//lib/redis/subscribe.rb#48 + # pkg:gem/redis#lib/redis/subscribe.rb:48 def sunsubscribe(*channels); end - # source://redis//lib/redis/subscribe.rb#40 + # pkg:gem/redis#lib/redis/subscribe.rb:40 def unsubscribe(*channels); end protected - # source://redis//lib/redis/subscribe.rb#58 + # pkg:gem/redis#lib/redis/subscribe.rb:58 def subscription(start, stop, channels, block, timeout = T.unsafe(nil)); end end -# source://redis//lib/redis/subscribe.rb#82 +# pkg:gem/redis#lib/redis/subscribe.rb:82 class Redis::Subscription # @return [Subscription] a new instance of Subscription # @yield [_self] # @yieldparam _self [Redis::Subscription] the object that the method was called on # - # source://redis//lib/redis/subscribe.rb#85 + # pkg:gem/redis#lib/redis/subscribe.rb:85 def initialize; end # Returns the value of attribute callbacks. # - # source://redis//lib/redis/subscribe.rb#83 + # pkg:gem/redis#lib/redis/subscribe.rb:83 def callbacks; end - # source://redis//lib/redis/subscribe.rb#98 + # pkg:gem/redis#lib/redis/subscribe.rb:98 def message(&block); end - # source://redis//lib/redis/subscribe.rb#110 + # pkg:gem/redis#lib/redis/subscribe.rb:110 def pmessage(&block); end - # source://redis//lib/redis/subscribe.rb#102 + # pkg:gem/redis#lib/redis/subscribe.rb:102 def psubscribe(&block); end - # source://redis//lib/redis/subscribe.rb#106 + # pkg:gem/redis#lib/redis/subscribe.rb:106 def punsubscribe(&block); end - # source://redis//lib/redis/subscribe.rb#122 + # pkg:gem/redis#lib/redis/subscribe.rb:122 def smessage(&block); end - # source://redis//lib/redis/subscribe.rb#114 + # pkg:gem/redis#lib/redis/subscribe.rb:114 def ssubscribe(&block); end - # source://redis//lib/redis/subscribe.rb#90 + # pkg:gem/redis#lib/redis/subscribe.rb:90 def subscribe(&block); end - # source://redis//lib/redis/subscribe.rb#118 + # pkg:gem/redis#lib/redis/subscribe.rb:118 def sunsubscribe(&block); end - # source://redis//lib/redis/subscribe.rb#94 + # pkg:gem/redis#lib/redis/subscribe.rb:94 def unsubscribe(&block); end end -# source://redis//lib/redis/errors.rb#60 +# pkg:gem/redis#lib/redis/errors.rb:60 class Redis::SubscriptionError < ::Redis::BaseError; end # Raised when performing I/O times out. # -# source://redis//lib/redis/errors.rb#45 +# pkg:gem/redis#lib/redis/errors.rb:45 class Redis::TimeoutError < ::Redis::BaseConnectionError; end -# source://redis//lib/redis/version.rb#4 +# pkg:gem/redis#lib/redis/version.rb:4 Redis::VERSION = T.let(T.unsafe(nil), String) -# source://redis//lib/redis/errors.rb#26 +# pkg:gem/redis#lib/redis/errors.rb:26 class Redis::WrongTypeError < ::Redis::CommandError; end diff --git a/sorbet/rbi/gems/regexp_parser@2.11.3.rbi b/sorbet/rbi/gems/regexp_parser@2.11.3.rbi index ff116f2c6..ff44a2474 100644 --- a/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +++ b/sorbet/rbi/gems/regexp_parser@2.11.3.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#3 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:3 module Regexp::Expression; end -# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/alternation.rb:7 class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation - # source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/alternation.rb:10 def alternatives; end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:11 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#132 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:132 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/alternation.rb:8 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#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/alternation.rb:5 class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#12 + # pkg:gem/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#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:4 module Regexp::Expression::Anchor; end -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#20 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:20 Regexp::Expression::Anchor::BOL = Regexp::Expression::Anchor::BeginningOfLine -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:22 Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:5 class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:149 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:7 class Regexp::Expression::Anchor::BeginningOfLine < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#13 + # pkg:gem/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#10 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:10 class Regexp::Expression::Anchor::BeginningOfString < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#14 + # pkg:gem/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#21 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:21 Regexp::Expression::Anchor::EOL = Regexp::Expression::Anchor::EndOfLine -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#23 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:23 Regexp::Expression::Anchor::EOS = Regexp::Expression::Anchor::EndOfString -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#24 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:24 Regexp::Expression::Anchor::EOSobEOL = Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:8 class Regexp::Expression::Anchor::EndOfLine < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#15 + # pkg:gem/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#11 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:11 class Regexp::Expression::Anchor::EndOfString < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#16 + # pkg:gem/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#13 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:13 class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#17 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:17 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#18 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:18 class Regexp::Expression::Anchor::MatchStart < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:18 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#16 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:16 class Regexp::Expression::Anchor::NonWordBoundary < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:19 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:15 def negative?; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/anchor.rb:15 class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#20 + # pkg:gem/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#66 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:66 module Regexp::Expression::Assertion; end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#67 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:67 class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:149 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#69 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:69 class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#21 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:21 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#72 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:72 class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#22 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:22 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#70 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:70 class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:23 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#16 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:16 def negative?; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#73 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:73 class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:24 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#17 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:17 def negative?; end end # alias for symmetry between token symbol and Expression class name # -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#57 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:57 Regexp::Expression::Backref = Regexp::Expression::Backreference -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:4 module Regexp::Expression::Backreference; end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:5 class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#157 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:157 def match_length; end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#142 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:142 def referential?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#17 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:17 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#21 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:21 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:25 def human_name; end # Returns the value of attribute name. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:18 def name; end # Returns the value of attribute name. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:19 def reference; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#33 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:33 class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:26 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:45 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#48 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:48 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#46 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:46 def recursion_level; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:7 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#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:11 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:27 def human_name; end # Returns the value of attribute number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#8 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:8 def number; end # Returns the value of attribute number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:9 def reference; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#32 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:32 class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#29 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:29 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:34 class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#30 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:30 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#36 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:36 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#39 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:39 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#37 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:37 def recursion_level; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#27 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:27 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#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:28 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#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:28 def effective_number=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:28 def human_name; end # Returns the value of attribute effective_number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#29 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/backreference.rb:29 def reference; end end -# source://regexp_parser//lib/regexp_parser/expression/base.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:4 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#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:7 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#13 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match.rb:13 def =~(string, offset = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:30 def a?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#27 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:27 def ascii_classes?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#76 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:76 def attributes; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:10 def case_insensitive?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def conditional_level; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def conditional_level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def custom_to_s_handling; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def custom_to_s_handling=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:25 def d?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#22 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:22 def default_classes?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:20 def extended?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#16 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:16 def free_spacing?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/base.rb#49 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:49 def greedy?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#13 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:13 def i?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:14 def ignore_case?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/base.rb#56 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:56 def lazy?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def level; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def level=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:8 def m?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match.rb:10 def match(string, offset = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match.rb:5 def match?(string); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match.rb:8 def matches?(string); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:5 def multiline?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def nesting_level; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def options; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def options=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def parent; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def parent=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/base.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:58 def possessive?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def pre_quantifier_decorations; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def pre_quantifier_decorations=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def quantifier; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:19 def quantify(*args); end # Deprecated. Prefer `#repetitions` which has a more uniform interface. # - # source://regexp_parser//lib/regexp_parser/expression/base.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:28 def quantity; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/base.rb#53 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:53 def reluctant?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#33 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:33 def repetitions; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def set_level; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 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#100 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/strfregexp.rb:100 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,691 +506,691 @@ 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#39 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/strfregexp.rb:39 def strfregexp(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def te; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def te=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def text; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def text=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#62 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:62 def to_h; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:11 def to_re(format = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def token; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def token=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def ts; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def ts=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def type; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:5 def type=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#35 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:35 def u?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:32 def unicode_classes?; end - # source://regexp_parser//lib/regexp_parser/expression/base.rb#23 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/base.rb:23 def unquantified_clone; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/options.rb:19 def x?; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:4 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#8 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:8 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:18 def close; end # Returns the value of attribute closed. # - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:5 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#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:5 def closed=(_arg0); end # Returns the value of attribute closed. # - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:6 def closed?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#14 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:14 def negate; end # Returns the value of attribute negative. # - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:5 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#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:5 def negative=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:18 def negative?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:17 def parts; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/intersection.rb:5 class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expression::Sequence - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31 + # pkg:gem/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#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/intersection.rb:7 class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::SequenceOperation - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:32 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/intersection.rb:8 Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::CharacterSet::IntersectedSequence -# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/range.rb:5 class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/range.rb:10 def <<(exp); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#16 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/range.rb:16 def complete?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#33 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:33 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:18 def parts; end - # source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set/range.rb:6 def ts; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:4 module Regexp::Expression::CharacterType; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:7 class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:34 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:5 class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:19 def negative?; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:8 class Regexp::Expression::CharacterType::Digit < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#17 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:17 class Regexp::Expression::CharacterType::ExtendedGrapheme < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:10 class Regexp::Expression::CharacterType::Hex < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#16 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:16 class Regexp::Expression::CharacterType::Linebreak < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:9 class Regexp::Expression::CharacterType::NonDigit < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:11 class Regexp::Expression::CharacterType::NonHex < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:15 class Regexp::Expression::CharacterType::NonSpace < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:13 class Regexp::Expression::CharacterType::NonWord < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#14 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:14 class Regexp::Expression::CharacterType::Space < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_type.rb:12 class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterType::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/free_space.rb:10 class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#35 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:35 def human_name; end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#132 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:132 def comment?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:4 module Regexp::Expression::Conditional; end -# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#20 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:20 class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:36 def human_name; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:11 class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#37 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:37 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:149 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#14 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:14 def reference; end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#143 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:143 def referential?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:22 class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#23 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:23 def <<(exp); end # @raise [TooManyBranches] # - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#27 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:27 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#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:32 def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#43 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:43 def branches; end - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#39 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:39 def condition; end - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:34 def condition=(exp); end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#38 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:38 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#132 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:132 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:19 def parts; end - # source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#47 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:47 def reference; end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#144 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:144 def referential?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:5 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#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/conditional.rb:6 def initialize; end end # alias for symmetry between Token::* and Expression::* # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#32 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:32 Regexp::Expression::Escape = Regexp::Expression::EscapeSequence -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:4 module Regexp::Expression::EscapeSequence; end -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#25 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:25 class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base private - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#48 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:48 def control_sequence_to_s(control_sequence); end - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#53 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:53 def meta_char_to_codepoint(meta_char); end end # \e # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:7 class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#4 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:4 def codepoint; end end # \b # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:8 class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:5 def codepoint; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:5 class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_char.rb#4 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_char.rb:4 def char; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end end # \a # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:9 class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:6 def codepoint; end end # e.g. \u000A # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#20 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:20 class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:18 def codepoint; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:22 class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:28 def char; end - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#36 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:36 def chars; end - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:32 def codepoint; end - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#40 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:40 def codepoints; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#166 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:166 def match_length; end end # e.g. \cB # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#26 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:26 class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#60 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:60 def codepoint; end end # \f # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:10 class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:7 def codepoint; end end # e.g. \x0A # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#19 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:19 class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#17 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:17 def codepoint; end end # e.g. \j, \@, \😀 (ineffectual escapes) # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#16 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:16 class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#13 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:13 def codepoint; end end # e.g. \M-Z # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#27 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:27 class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#66 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:66 def codepoint; end end # e.g. \M-\cX # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#28 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:28 class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#72 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:72 def codepoint; end end # \n # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:11 class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#8 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:8 def codepoint; end end # e.g. \012 # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#18 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:18 class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:15 def codepoint; end end # \r # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:12 class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:9 def codepoint; end end # \t # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:13 class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:10 def codepoint; end end # e.g. \xE2\x82\xAC # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#23 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:23 class Regexp::Expression::EscapeSequence::UTF8Hex < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#21 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:21 def codepoint; end end # \v # -# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#14 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/escape_sequence.rb:14 class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/escape_sequence_codepoint.rb:11 def codepoint; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/free_space.rb:4 class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:149 def match_length; end # @raise [Regexp::Parser::Error] # - # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/free_space.rb:5 def quantify(*_args); end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#137 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:137 def decorative?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:4 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#21 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:21 class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#174 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:174 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:22 class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:5 class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#20 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:20 def parts; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#42 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:42 class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#39 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:39 def human_name; end # Returns the value of attribute number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#44 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:44 def identifier; end # Returns the value of attribute number. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#43 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:43 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#43 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:43 def number=(_arg0); end # Returns the value of attribute number_at_level. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#43 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:43 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#43 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:43 def number_at_level=(_arg0); end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#128 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:128 def capturing?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#62 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:62 class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#22 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:22 def parts; end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#133 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:133 def comment?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#138 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:138 def decorative?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#47 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:47 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#51 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:51 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#40 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:40 def human_name; end # Returns the value of attribute name. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:49 def identifier; end # Returns the value of attribute name. # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#48 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:48 def name; end private - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#56 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:56 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#25 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:25 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#26 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:26 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#26 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:26 def option_changes=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#33 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:33 def quantify(*args); end private - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:28 def initialize_copy(orig); end end -# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:8 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#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:11 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#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:9 def implicit=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#16 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/group.rb:16 def implicit?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:21 def parts; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/keep.rb:4 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#7 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/keep.rb:7 class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#41 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:41 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#149 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:149 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/literal.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/literal.rb:4 class Regexp::Expression::Literal < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#42 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:42 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#107 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:107 def match_length; end end -# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#87 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:87 Regexp::Expression::MatchLength = Regexp::MatchLength -# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/posix_class.rb:12 Regexp::Expression::Nonposixclass = Regexp::Expression::PosixClass -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#120 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:120 Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty -# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/posix_class.rb:4 class Regexp::Expression::PosixClass < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/posix_class.rb:5 def name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#20 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:20 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#11 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/posix_class.rb:11 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#119 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:119 Regexp::Expression::Property = Regexp::Expression::UnicodeProperty # TODO: in v3.0.0, maybe put Shared back into Base, and inherit from Base and @@ -1198,160 +1198,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#8 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:8 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#13 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:13 def initialize(*args); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def conditional_level; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def conditional_level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def custom_to_s_handling; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def custom_to_s_handling=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:32 def greedy?; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#38 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:38 def lazy?; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def level; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#44 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:44 def max; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#40 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:40 def min; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#48 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:48 def mode; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def nesting_level; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def options; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def options=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def parent; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def parent=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:32 def possessive?; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def pre_quantifier_decorations; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def pre_quantifier_decorations=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def quantifier; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#32 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:32 def reluctant?; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def set_level; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def set_level=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def te; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def te=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def text; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def text=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#21 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:21 def to_h; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def token; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def token=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def ts; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def ts=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def type; end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:9 def type=(_arg0); end private - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#54 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:54 def deprecated_old_init(token, text, _min, _max, _mode = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#66 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:66 def derived_data; end end -# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/quantifier.rb:11 Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/referenced_expressions.rb:4 module Regexp::Expression::ReferencedExpressions - # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/referenced_expressions.rb:7 def referenced_expression; end # Returns the value of attribute referenced_expressions. # - # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/referenced_expressions.rb:5 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#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/referenced_expressions.rb:5 def referenced_expressions=(_arg0); end private - # source://regexp_parser//lib/regexp_parser/expression/methods/referenced_expressions.rb#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/referenced_expressions.rb:11 def initialize_copy(orig); end end -# source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/root.rb:4 class Regexp::Expression::Root < ::Regexp::Expression::Subexpression - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#43 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:43 def human_name; end class << self - # source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/root.rb:5 def build(options = T.unsafe(nil)); end end end @@ -1363,52 +1363,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#10 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence.rb:10 class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression - # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#29 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence.rb:29 def quantify(token, *args); end - # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#25 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence.rb:25 def ts; end class << self - # source://regexp_parser//lib/regexp_parser/expression/sequence.rb#12 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence.rb:12 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#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:5 class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression - # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#14 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:14 def <<(exp); end - # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:18 def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:7 def operands; end - # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:8 def operator; end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#24 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:24 def parts; end - # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:6 def sequences; end - # source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/sequence_operation.rb:10 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#24 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/character_set.rb:24 Regexp::Expression::Set = Regexp::Expression::CharacterSet -# source://regexp_parser//lib/regexp_parser/expression/shared.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:4 module Regexp::Expression::Shared mixes_in_class_methods ::Regexp::Expression::Shared::ClassMethods @@ -1417,7 +1417,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#103 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:103 def ==(other); end # Deep-compare two expressions for equality. @@ -1425,25 +1425,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#110 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:110 def ===(other); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#53 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:53 def base_length; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#126 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:126 def capturing?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:99 def coded_offset; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#130 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:130 def comment?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#135 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:135 def decorative?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#49 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:49 def ends_at(include_quantifier = T.unsafe(nil)); end # Deep-compare two expressions for equality. @@ -1451,18 +1451,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#111 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:111 def eql?(other); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#57 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:57 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#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:6 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/printing.rb:5 def inspect; end # Test if this expression has the given test_token, and optionally a given @@ -1485,25 +1485,25 @@ module Regexp::Expression::Shared # # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#38 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:38 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#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:10 def negated?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:5 def negative?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#103 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:103 def nesting_level=(lvl); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#95 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:95 def offset; end # Test if this expression matches an entry in the given scope spec. @@ -1542,50 +1542,50 @@ module Regexp::Expression::Shared # # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#77 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:77 def one_of?(scope, top = T.unsafe(nil)); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#113 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:113 def optional?; end # default implementation # - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:6 def parts; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#87 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:87 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#14 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/printing.rb:14 def pretty_print(q); end # Called by pretty_print (ruby/pp) and #inspect. # - # source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#19 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/printing.rb:19 def pretty_print_instance_variables; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#117 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:117 def quantified?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#109 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:109 def quantifier=(qtf); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#91 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:91 def quantifier_affix(expression_format = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#140 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:140 def referential?; end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#45 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:45 def starts_at; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#122 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:122 def terminal?; end # #to_s reproduces the original source, as an unparser would. @@ -1601,7 +1601,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#74 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:74 def to_s(format = T.unsafe(nil)); end # #to_s reproduces the original source, as an unparser would. @@ -1617,10 +1617,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#85 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:85 def to_str(format = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#39 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/construct.rb:39 def token_class; end # Test if this expression has the given test_type, which can be either @@ -1634,83 +1634,83 @@ module Regexp::Expression::Shared # # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:15 def type?(test_type); end private - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#20 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:20 def init_from_token_and_options(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#34 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:34 def initialize_copy(orig); end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#12 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:12 def intersperse(expressions, separator); end class << self # @private # - # source://regexp_parser//lib/regexp_parser/expression/shared.rb#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:7 def included(mod); end end end # filled in ./methods/*.rb # -# source://regexp_parser//lib/regexp_parser/expression/shared.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/shared.rb:5 module Regexp::Expression::Shared::ClassMethods - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#127 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:127 def capturing?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#131 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:131 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#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/construct.rb:7 def construct(params = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#17 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/construct.rb:17 def construct_defaults; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#136 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:136 def decorative?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#141 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:141 def referential?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#123 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:123 def terminal?; end - # source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#27 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/construct.rb:27 def token_class; end end -# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:4 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#9 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:9 def initialize(token, options = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#22 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:22 def <<(exp); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def [](*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def at(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#35 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:35 def dig(*indices); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def each(*args, &block); end # Traverses the expression, passing each recursive child to the @@ -1718,68 +1718,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#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/traverse.rb:10 def each_expression(include_self = T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def empty?(*args, &block); end # Returns the value of attribute expressions. # - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:7 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#7 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:7 def expressions=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#52 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:52 def extract_quantifier_target(quantifier_description); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/traverse.rb:58 def flat_map(include_self = T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def index(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#120 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:120 def inner_match_length; end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def join(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def last(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def length(*args, &block); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#113 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:113 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#23 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/parts.rb:23 def parts; end - # source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#114 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/strfregexp.rb:114 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#104 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/strfregexp.rb:104 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#41 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:41 def te; end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#45 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:45 def to_h; end # Traverses the subexpression (depth-first, pre-order) and calls the given @@ -1795,10 +1795,10 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # # Returns self. # - # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#34 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/traverse.rb:34 def traverse(include_self = T.unsafe(nil), &block); end - # source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:28 def values_at(*args, &block); end # Traverses the subexpression (depth-first, pre-order) and calls the given @@ -1814,285 +1814,285 @@ class Regexp::Expression::Subexpression < ::Regexp::Expression::Base # # Returns self. # - # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#53 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/traverse.rb:53 def walk(include_self = T.unsafe(nil), &block); end protected - # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#68 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/traverse.rb:68 def each_expression_with_index(&block); end - # source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#75 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/traverse.rb:75 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#15 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/subexpression.rb:15 def initialize_copy(orig); end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#124 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/tests.rb:124 def terminal?; end end end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:4 module Regexp::Expression::UnicodeProperty; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#110 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:110 class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:15 class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#16 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:16 class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#33 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:33 class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#17 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:17 class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#34 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:34 class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:5 class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#99 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:99 def match_length; end - # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:6 def name; end - # source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#21 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/negative.rb:21 def negative?; end - # source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:10 def shortcut; end end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#18 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:18 class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#111 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:111 class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#19 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:19 class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#99 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:99 module Regexp::Expression::UnicodeProperty::Codepoint; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#102 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:102 class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#100 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:100 class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#103 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:103 class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#104 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:104 class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#106 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:106 class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#105 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:105 class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#107 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:107 class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#112 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:112 class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#20 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:20 class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#113 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:113 class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#114 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:114 class Regexp::Expression::UnicodeProperty::Enumerated < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#21 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:21 class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#36 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:36 module Regexp::Expression::UnicodeProperty::Letter; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#39 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:39 class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#37 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:37 class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#40 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:40 class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#42 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:42 class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#44 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:44 class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#45 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:45 class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#43 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:43 class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#41 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:41 class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:22 class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#48 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:48 module Regexp::Expression::UnicodeProperty::Mark; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#51 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:51 class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#49 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:49 class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#52 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:52 class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#55 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:55 class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#53 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:53 class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#54 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:54 class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#31 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:31 class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#58 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:58 module Regexp::Expression::UnicodeProperty::Number; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#61 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:61 class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#59 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:59 class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#62 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:62 class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#63 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:63 class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#64 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:64 class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#23 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:23 class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#24 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:24 class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#67 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:67 module Regexp::Expression::UnicodeProperty::Punctuation; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#70 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:70 class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#68 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:68 class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#74 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:74 class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#71 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:71 class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#72 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:72 class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#76 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:76 class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#75 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:75 class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#73 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:73 class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#77 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:77 class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#115 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:115 class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#80 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:80 module Regexp::Expression::UnicodeProperty::Separator; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#83 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:83 class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#81 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:81 class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#85 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:85 class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#86 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:86 class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#84 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:84 class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#25 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:25 class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#89 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:89 module Regexp::Expression::UnicodeProperty::Symbol; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#92 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:92 class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#90 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:90 class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#94 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:94 class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#93 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:93 class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#95 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:95 class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#96 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:96 class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#26 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:26 class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#27 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:27 class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#29 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:29 class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#28 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/unicode_property.rb:28 class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end -# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/free_space.rb:13 class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace - # source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#44 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/human_name.rb:44 def human_name; end - # source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#14 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/classes/free_space.rb:14 def merge(exp); end end @@ -2101,569 +2101,569 @@ 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#7 +# pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:7 class Regexp::Lexer - # source://regexp_parser//lib/regexp_parser/lexer.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:73 def emit(token); end - # source://regexp_parser//lib/regexp_parser/lexer.rb#22 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:22 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#93 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:93 def ascend(type, token); end # Returns the value of attribute block. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#145 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:145 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#125 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:125 def break_literal(token); end # Returns the value of attribute collect_tokens. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def collect_tokens=(_arg0); end # Returns the value of attribute conditional_nesting. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def conditional_nesting=(_arg0); end - # source://regexp_parser//lib/regexp_parser/lexer.rb#108 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:108 def descend(type, token); end - # source://regexp_parser//lib/regexp_parser/lexer.rb#164 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:164 def merge_condition(current, last); end # Returns the value of attribute nesting. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def nesting=(_arg0); end # Returns the value of attribute preprev_token. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def preprev_token=(_arg0); end # Returns the value of attribute prev_token. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def prev_token=(_arg0); end # Returns the value of attribute set_nesting. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def set_nesting=(_arg0); end # Returns the value of attribute shift. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def shift=(_arg0); end # Returns the value of attribute tokens. # - # source://regexp_parser//lib/regexp_parser/lexer.rb#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 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#89 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:89 def tokens=(_arg0); end class << self - # source://regexp_parser//lib/regexp_parser/lexer.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:18 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#84 + # pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:84 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#14 +# pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:14 Regexp::Lexer::CLOSING_TOKENS = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/lexer.rb#16 +# pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:16 Regexp::Lexer::CONDITION_TOKENS = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/lexer.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/lexer.rb:9 Regexp::Lexer::OPENING_TOKENS = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:3 class Regexp::MatchLength include ::Enumerable # @return [MatchLength] a new instance of MatchLength # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#11 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:11 def initialize(exp, opts = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#26 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:26 def each(opts = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#37 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:37 def endless_each; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#46 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:46 def fixed?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#42 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:42 def include?(length); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#62 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:62 def inspect; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#54 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:54 def max; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#50 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:50 def min; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:58 def minmax; end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#67 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:67 def to_re; end private # Returns the value of attribute base_max. # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 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#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 def base_max=(_arg0); end # Returns the value of attribute base_min. # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 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#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 def base_min=(_arg0); end # Returns the value of attribute exp_class. # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 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#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 def exp_class=(_arg0); end # Returns the value of attribute max_rep. # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 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#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 def max_rep=(_arg0); end # Returns the value of attribute min_rep. # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 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#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 def min_rep=(_arg0); end # Returns the value of attribute reify. # - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 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#73 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:73 def reify=(_arg0); end - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#76 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:76 def test_regexp; end class << self - # source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#6 + # pkg:gem/regexp_parser#lib/regexp_parser/expression/methods/match_length.rb:6 def of(obj); end end end -# source://regexp_parser//lib/regexp_parser/version.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/version.rb:4 class Regexp::Parser include ::Regexp::Expression - # source://regexp_parser//lib/regexp_parser/parser.rb#27 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:27 def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end private - # source://regexp_parser//lib/regexp_parser/parser.rb#577 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:577 def active_opts; end - # source://regexp_parser//lib/regexp_parser/parser.rb#101 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:101 def anchor(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#264 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:264 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#584 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:584 def assign_referenced_expressions; end - # source://regexp_parser//lib/regexp_parser/parser.rb#229 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:229 def backref(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#204 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:204 def captured_group_count_at_level; end # Returns the value of attribute captured_group_counts. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def captured_group_counts=(_arg0); end - # source://regexp_parser//lib/regexp_parser/parser.rb#573 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:573 def close_completed_character_set_range; end - # source://regexp_parser//lib/regexp_parser/parser.rb#212 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:212 def close_group; end - # source://regexp_parser//lib/regexp_parser/parser.rb#541 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:541 def close_set; end - # source://regexp_parser//lib/regexp_parser/parser.rb#271 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:271 def conditional(token); end # Returns the value of attribute conditional_nesting. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def conditional_nesting=(_arg0); end - # source://regexp_parser//lib/regexp_parser/parser.rb#208 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:208 def count_captured_group; end # @yield [node] # - # source://regexp_parser//lib/regexp_parser/parser.rb#218 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:218 def decrease_nesting; end - # source://regexp_parser//lib/regexp_parser/parser.rb#307 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:307 def escape(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#62 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:62 def extract_options(input, options); end - # source://regexp_parser//lib/regexp_parser/parser.rb#352 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:352 def free_space(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#116 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:116 def group(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#512 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:512 def increase_group_level(exp); end - # source://regexp_parser//lib/regexp_parser/parser.rb#552 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:552 def intersection(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#363 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:363 def keep(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#367 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:367 def literal(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#371 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:371 def meta(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#537 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:537 def negate_set; end - # source://regexp_parser//lib/regexp_parser/parser.rb#301 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:301 def nest(exp); end - # source://regexp_parser//lib/regexp_parser/parser.rb#296 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:296 def nest_conditional(exp); end # Returns the value of attribute nesting. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def nesting=(_arg0); end # Returns the value of attribute node. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def node=(_arg0); end - # source://regexp_parser//lib/regexp_parser/parser.rb#167 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:167 def open_group(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#530 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:530 def open_set(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#132 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:132 def options_group(token); end # Returns the value of attribute options_stack. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def options_stack=(_arg0); end - # source://regexp_parser//lib/regexp_parser/parser.rb#78 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:78 def parse_token(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#393 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:393 def posixclass(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#400 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:400 def property(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#482 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:482 def quantifier(token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#545 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:545 def range(token); end # Returns the value of attribute root. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def root=(_arg0); end - # source://regexp_parser//lib/regexp_parser/parser.rb#382 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:382 def sequence_operation(klass, token); end - # source://regexp_parser//lib/regexp_parser/parser.rb#518 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:518 def set(token); end # Returns the value of attribute switching_options. # - # source://regexp_parser//lib/regexp_parser/parser.rb#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 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#58 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:58 def switching_options=(_arg0); end - # source://regexp_parser//lib/regexp_parser/parser.rb#200 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:200 def total_captured_group_count; end - # source://regexp_parser//lib/regexp_parser/parser.rb#556 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:556 def type(token); end class << self - # source://regexp_parser//lib/regexp_parser/parser.rb#23 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:23 def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end end end -# source://regexp_parser//lib/regexp_parser/parser.rb#130 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:130 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#5 +# pkg:gem/regexp_parser#lib/regexp_parser/error.rb:5 class Regexp::Parser::Error < ::StandardError; end -# source://regexp_parser//lib/regexp_parser/parser.rb#129 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:129 Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/parser.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:9 class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end -# source://regexp_parser//lib/regexp_parser/parser.rb#397 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:397 Regexp::Parser::UP = Regexp::Expression::UnicodeProperty -# source://regexp_parser//lib/regexp_parser/parser.rb#398 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:398 Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty -# source://regexp_parser//lib/regexp_parser/parser.rb#17 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:17 class Regexp::Parser::UnknownTokenError < ::Regexp::Parser::ParserError # @return [UnknownTokenError] a new instance of UnknownTokenError # - # source://regexp_parser//lib/regexp_parser/parser.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:18 def initialize(type, token); end end -# source://regexp_parser//lib/regexp_parser/parser.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:11 class Regexp::Parser::UnknownTokenTypeError < ::Regexp::Parser::ParserError # @return [UnknownTokenTypeError] a new instance of UnknownTokenTypeError # - # source://regexp_parser//lib/regexp_parser/parser.rb#12 + # pkg:gem/regexp_parser#lib/regexp_parser/parser.rb:12 def initialize(type, token); end end -# source://regexp_parser//lib/regexp_parser/version.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/version.rb:5 Regexp::Parser::VERSION = T.let(T.unsafe(nil), String) -# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/scanner_error.rb:5 class Regexp::Scanner # only public for #||= to work on ruby <= 2.5 # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2509 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2509 def capturing_group_count; end # only public for #||= to work on ruby <= 2.5 # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2509 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2509 def capturing_group_count=(_arg0); end # Emits an array with the details of the scanned pattern # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2484 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2484 def emit(type, token, text); end # only public for #||= to work on ruby <= 2.5 # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2509 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2509 def literal_run; end # only public for #||= to work on ruby <= 2.5 # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2509 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2509 def literal_run=(_arg0); end # @raise [PrematureEndError] # - # source://regexp_parser//lib/regexp_parser/scanner.rb#24 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:24 def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end private @@ -2671,180 +2671,180 @@ 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#2555 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2555 def append_literal(data, ts, te); end # Returns the value of attribute block. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def block=(_arg0); end # Returns the value of attribute char_pos. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def char_pos=(_arg0); end # Returns the value of attribute collect_tokens. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def collect_tokens=(_arg0); end # Returns the value of attribute conditional_stack. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def conditional_stack=(_arg0); end # Copy from ts to te from data as text # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2549 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2549 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#2560 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2560 def emit_literal; end - # source://regexp_parser//lib/regexp_parser/scanner.rb#2595 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2595 def emit_meta_control_sequence(data, ts, te, token); end - # source://regexp_parser//lib/regexp_parser/scanner.rb#2566 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2566 def emit_options(text); end - # source://regexp_parser//lib/regexp_parser/scanner.rb#2520 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2520 def extract_encoding(input_object, options); end # Returns the value of attribute free_spacing. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def free_spacing=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2528 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2528 def free_spacing?(input_object, options); end # Returns the value of attribute group_depth. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def group_depth=(_arg0); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2540 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2540 def in_group?; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2544 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2544 def in_set?; end # Returns the value of attribute prev_token. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def prev_token=(_arg0); end # Returns the value of attribute regexp_encoding. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def regexp_encoding; end # Sets the attribute regexp_encoding # # @param value the value to set the attribute regexp_encoding to. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def regexp_encoding=(_arg0); end # Returns the value of attribute set_depth. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def set_depth=(_arg0); end # Returns the value of attribute spacing_stack. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def spacing_stack=(_arg0); end # Returns the value of attribute tokens. # - # source://regexp_parser//lib/regexp_parser/scanner.rb#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 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#2513 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2513 def tokens=(_arg0); end class << self - # source://regexp_parser//lib/regexp_parser/scanner.rb#2469 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2469 def long_prop_map; end - # source://regexp_parser//lib/regexp_parser/scanner.rb#2473 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2473 def parse_prop_map(name); end # Scans the given regular expression text, or Regexp object and collects the @@ -2854,108 +2854,108 @@ class Regexp::Scanner # This method may raise errors if a syntax error is encountered. # -------------------------------------------------------------------------- # - # source://regexp_parser//lib/regexp_parser/scanner.rb#20 + # pkg:gem/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#2465 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2465 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#46 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:46 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#47 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:47 def initialize(what, reason); end end # Invalid group. Used for named groups. # -# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#31 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:31 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#32 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:32 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#39 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:39 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#40 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:40 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#24 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:24 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#25 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:25 def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end end # Use each_with_object for required_ruby_version >= 2.2,or #to_h for >= 2.6 # -# source://regexp_parser//lib/regexp_parser/scanner.rb#2478 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner.rb:2478 Regexp::Scanner::POSIX_CLASSES = T.let(T.unsafe(nil), Hash) # Unexpected end of pattern # -# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/premature_end_error.rb:5 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#6 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/premature_end_error.rb:6 def initialize(where = T.unsafe(nil)); end end # General scanner error (catch all) # -# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/scanner_error.rb:7 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#60 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:60 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#61 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:61 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#53 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:53 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#54 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:54 def initialize(name, _); end end # Base for all scanner validation errors # -# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:5 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#7 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:7 def for(type, problem, reason = T.unsafe(nil)); end - # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#11 + # pkg:gem/regexp_parser#lib/regexp_parser/scanner/errors/validation_error.rb:11 def types; end end end @@ -2963,65 +2963,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#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax.rb:5 module Regexp::Syntax private - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#63 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:63 def comparable(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#46 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:46 def const_missing(const_name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#53 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:53 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#24 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:24 def for(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:28 def new(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#59 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:59 def specified_versions; end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#34 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:34 def supported?(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#38 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:38 def version_class(version); end class << self - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#63 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:63 def comparable(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#46 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:46 def const_missing(const_name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#53 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:53 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#24 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:24 def for(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:28 def new(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#59 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:59 def specified_versions; end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#34 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:34 def supported?(name); end - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#38 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:38 def version_class(version); end end end @@ -3030,19 +3030,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#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/any.rb:7 class Regexp::Syntax::Any < ::Regexp::Syntax::Base class << self # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/syntax/any.rb#10 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/any.rb:10 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#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:11 class Regexp::Syntax::Base include ::Regexp::Syntax::Token @@ -3050,834 +3050,834 @@ class Regexp::Syntax::Base # # @return [Base] a new instance of Base # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#101 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:101 def initialize; end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#106 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:106 def method_missing(name, *args); end private # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#117 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:117 def respond_to_missing?(name, include_private = T.unsafe(nil)); end class << self - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#48 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:48 def added_features; end # @raise [NotImplementedError] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#46 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:46 def check!(type, token); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#36 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:36 def check?(type, token); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#28 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:28 def excludes(type, tokens); end # Returns the value of attribute features. # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:15 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#15 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:15 def features=(_arg0); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#38 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:38 def implementations(type); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#23 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:23 def implements(type, tokens); end # @raise [NotImplementedError] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#42 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:42 def implements!(type, token); end # @return [Boolean] # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#33 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:33 def implements?(type, token); end # automatically inherit features through the syntax class hierarchy # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:18 def inherited(subclass); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#56 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:56 def normalize(type, token); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#76 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:76 def normalize_backref(type, token); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#67 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:67 def normalize_group(type, token); end - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#52 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:52 def removed_features; end end end -# source://regexp_parser//lib/regexp_parser/syntax/versions.rb#10 -Regexp::Syntax::CURRENT = Regexp::Syntax::V3_2_0 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions.rb:10 +Regexp::Syntax::CURRENT = Regexp::Syntax::V3_5_0 -# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:8 class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError # @return [InvalidVersionNameError] a new instance of InvalidVersionNameError # - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#9 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:9 def initialize(name); end end -# source://regexp_parser//lib/regexp_parser/syntax/base.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:4 class Regexp::Syntax::NotImplementedError < ::Regexp::Syntax::SyntaxError # @return [NotImplementedError] a new instance of NotImplementedError # - # source://regexp_parser//lib/regexp_parser/syntax/base.rb#5 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/base.rb:5 def initialize(syntax, type, token); end end -# source://regexp_parser//lib/regexp_parser/syntax.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax.rb:6 class Regexp::Syntax::SyntaxError < ::Regexp::Parser::Error; end -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:5 module Regexp::Syntax::Token; end -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#44 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:44 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#17 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:17 module Regexp::Syntax::Token::Alternation; end -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#18 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:18 Regexp::Syntax::Token::Alternation::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#19 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:19 Regexp::Syntax::Token::Alternation::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:5 module Regexp::Syntax::Token::Anchor; end -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:11 Regexp::Syntax::Token::Anchor::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:6 Regexp::Syntax::Token::Anchor::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:7 Regexp::Syntax::Token::Anchor::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:9 Regexp::Syntax::Token::Anchor::MatchStart = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:8 Regexp::Syntax::Token::Anchor::String = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/anchor.rb:12 Regexp::Syntax::Token::Anchor::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/assertion.rb:5 module Regexp::Syntax::Token::Assertion; end -# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/assertion.rb:9 Regexp::Syntax::Token::Assertion::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/assertion.rb:6 Regexp::Syntax::Token::Assertion::Lookahead = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/assertion.rb:7 Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/assertion.rb:10 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#33 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:33 Regexp::Syntax::Token::Backref = Regexp::Syntax::Token::Backreference -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:5 module Regexp::Syntax::Token::Backreference; end -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#17 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:17 Regexp::Syntax::Token::Backreference::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:9 Regexp::Syntax::Token::Backreference::Name = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:8 Regexp::Syntax::Token::Backreference::Number = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:7 Regexp::Syntax::Token::Backreference::NumberRef = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:6 Regexp::Syntax::Token::Backreference::Plain = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:11 Regexp::Syntax::Token::Backreference::RecursionLevel = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#18 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:18 Regexp::Syntax::Token::Backreference::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:13 Regexp::Syntax::Token::Backreference::V1_8_6 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:15 Regexp::Syntax::Token::Backreference::V1_9_1 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_set.rb:5 module Regexp::Syntax::Token::CharacterSet; end -# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_set.rb:9 Regexp::Syntax::Token::CharacterSet::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_set.rb:6 Regexp::Syntax::Token::CharacterSet::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_set.rb:7 Regexp::Syntax::Token::CharacterSet::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_set.rb:10 Regexp::Syntax::Token::CharacterSet::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:5 module Regexp::Syntax::Token::CharacterType; end -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:12 Regexp::Syntax::Token::CharacterType::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:6 Regexp::Syntax::Token::CharacterType::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:10 Regexp::Syntax::Token::CharacterType::Clustered = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:7 Regexp::Syntax::Token::CharacterType::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:8 Regexp::Syntax::Token::CharacterType::Hex = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_type.rb:13 Regexp::Syntax::Token::CharacterType::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/conditional.rb:5 module Regexp::Syntax::Token::Conditional; end -# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/conditional.rb:11 Regexp::Syntax::Token::Conditional::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/conditional.rb:8 Regexp::Syntax::Token::Conditional::Condition = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/conditional.rb:6 Regexp::Syntax::Token::Conditional::Delimiters = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/conditional.rb:9 Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/conditional.rb:13 Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:5 module Regexp::Syntax::Token::Escape; end -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:10 Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#26 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:26 Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:6 Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:8 Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:22 Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:15 Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#24 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:24 Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#27 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:27 Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:13 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#33 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/escape.rb:33 Regexp::Syntax::Token::EscapeSequence = Regexp::Syntax::Token::Escape -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:13 module Regexp::Syntax::Token::FreeSpace; end -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#14 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:14 Regexp::Syntax::Token::FreeSpace::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:15 Regexp::Syntax::Token::FreeSpace::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:5 module Regexp::Syntax::Token::Group; end -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#19 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:19 Regexp::Syntax::Token::Group::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:10 Regexp::Syntax::Token::Group::Atomic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:6 Regexp::Syntax::Token::Group::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:12 Regexp::Syntax::Token::Group::Comment = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:7 Regexp::Syntax::Token::Group::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:9 Regexp::Syntax::Token::Group::Named = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:11 Regexp::Syntax::Token::Group::Passive = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#20 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:20 Regexp::Syntax::Token::Group::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#14 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:14 Regexp::Syntax::Token::Group::V1_8_6 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#17 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/group.rb:17 Regexp::Syntax::Token::Group::V2_4_1 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/keep.rb:5 module Regexp::Syntax::Token::Keep; end -# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/keep.rb:8 Regexp::Syntax::Token::Keep::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/keep.rb:6 Regexp::Syntax::Token::Keep::Mark = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/keep.rb:9 Regexp::Syntax::Token::Keep::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:8 module Regexp::Syntax::Token::Literal; end -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:9 Regexp::Syntax::Token::Literal::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:10 Regexp::Syntax::Token::Literal::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:6 Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash) -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:5 module Regexp::Syntax::Token::Meta; end -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#10 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:10 Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#7 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:7 Regexp::Syntax::Token::Meta::Alternation = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:6 Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:8 Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/meta.rb:11 Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/posix_class.rb:5 module Regexp::Syntax::Token::PosixClass; end -# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/posix_class.rb:11 Regexp::Syntax::Token::PosixClass::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#9 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/posix_class.rb:9 Regexp::Syntax::Token::PosixClass::Extensions = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/posix_class.rb:13 Regexp::Syntax::Token::PosixClass::NonType = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/posix_class.rb:6 Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/posix_class.rb:12 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#764 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:764 Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:5 module Regexp::Syntax::Token::Quantifier; end -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#31 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:31 Regexp::Syntax::Token::Quantifier::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:6 Regexp::Syntax::Token::Quantifier::Greedy = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#24 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:24 Regexp::Syntax::Token::Quantifier::Interval = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#28 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:28 Regexp::Syntax::Token::Quantifier::IntervalAll = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#26 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:26 Regexp::Syntax::Token::Quantifier::IntervalPossessive = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#25 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:25 Regexp::Syntax::Token::Quantifier::IntervalReluctant = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#18 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:18 Regexp::Syntax::Token::Quantifier::Possessive = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#12 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:12 Regexp::Syntax::Token::Quantifier::Reluctant = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#32 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:32 Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#30 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/quantifier.rb:30 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#16 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/character_set.rb:16 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#22 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:22 module Regexp::Syntax::Token::SubexpressionCall; end -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#26 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:26 Regexp::Syntax::Token::SubexpressionCall::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#23 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:23 Regexp::Syntax::Token::SubexpressionCall::Name = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#24 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/backreference.rb:24 Regexp::Syntax::Token::SubexpressionCall::Number = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token.rb#45 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token.rb:45 Regexp::Syntax::Token::Types = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:5 module Regexp::Syntax::Token::UnicodeProperty; end -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#68 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:68 Regexp::Syntax::Token::UnicodeProperty::Age = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#42 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:42 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#46 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:46 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#48 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:48 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#50 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:50 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#52 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:52 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#54 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:54 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#56 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:56 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#58 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:58 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#60 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:60 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#62 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:62 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#64 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:64 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#66 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:66 Regexp::Syntax::Token::UnicodeProperty::Age_V3_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#754 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:754 Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:15 module Regexp::Syntax::Token::UnicodeProperty::Category; end -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#38 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:38 Regexp::Syntax::Token::UnicodeProperty::Category::All = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#35 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:35 Regexp::Syntax::Token::UnicodeProperty::Category::Codepoint = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#16 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:16 Regexp::Syntax::Token::UnicodeProperty::Category::Letter = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#19 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:19 Regexp::Syntax::Token::UnicodeProperty::Category::Mark = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#22 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:22 Regexp::Syntax::Token::UnicodeProperty::Category::Number = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#25 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:25 Regexp::Syntax::Token::UnicodeProperty::Category::Punctuation = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#32 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:32 Regexp::Syntax::Token::UnicodeProperty::Category::Separator = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#29 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:29 Regexp::Syntax::Token::UnicodeProperty::Category::Symbol = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#8 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:8 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#11 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:11 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#143 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:143 Regexp::Syntax::Token::UnicodeProperty::Derived = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#70 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:70 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#124 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:124 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#129 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:129 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#133 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:133 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#137 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:137 Regexp::Syntax::Token::UnicodeProperty::Derived_V3_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#738 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:738 Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#708 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:708 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#716 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:716 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#736 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:736 Regexp::Syntax::Token::UnicodeProperty::Enumerated = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#720 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:720 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#757 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:757 Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:13 Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#342 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:342 Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#145 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:145 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#241 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:241 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#247 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:247 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#257 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:257 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#283 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:283 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#292 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:292 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#301 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:301 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#308 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:308 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#318 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:318 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#325 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:325 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#332 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:332 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#756 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:756 Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:706 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#344 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:344 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#443 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:443 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#571 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:571 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#606 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:606 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#619 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:619 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#633 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:633 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#643 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:643 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#657 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:657 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#669 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:669 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#680 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:680 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#702 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:702 Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#740 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:740 Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#741 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:741 Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#742 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:742 Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#743 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:743 Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#744 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:744 Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#745 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:745 Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#746 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:746 Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#747 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:747 Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#748 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:748 Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#749 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:749 Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#750 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:750 Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#751 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:751 Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#752 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/token/unicode_property.rb:752 Regexp::Syntax::Token::UnicodeProperty::V3_5_0 = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#14 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:14 class Regexp::Syntax::UnknownSyntaxNameError < ::Regexp::Syntax::SyntaxError # @return [UnknownSyntaxNameError] a new instance of UnknownSyntaxNameError # - # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:15 def initialize(name); end end -# source://regexp_parser//lib/regexp_parser/syntax/versions/1.8.6.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/1.8.6.rb:3 class Regexp::Syntax::V1_8_6 < ::Regexp::Syntax::Base; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.1.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/1.9.1.rb:3 class Regexp::Syntax::V1_9_1 < ::Regexp::Syntax::V1_8_6; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.3.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/1.9.3.rb:3 class Regexp::Syntax::V1_9_3 < ::Regexp::Syntax::V1_9_1; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.0.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.0.0.rb:3 class Regexp::Syntax::V2_0_0 < ::Regexp::Syntax::V1_9_3; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.2.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.2.0.rb:3 class Regexp::Syntax::V2_2_0 < ::Regexp::Syntax::V2_0_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.3.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.3.0.rb:3 class Regexp::Syntax::V2_3_0 < ::Regexp::Syntax::V2_2_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.4.0.rb:3 class Regexp::Syntax::V2_4_0 < ::Regexp::Syntax::V2_3_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.1.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.4.1.rb:3 class Regexp::Syntax::V2_4_1 < ::Regexp::Syntax::V2_4_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.5.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.5.0.rb:3 class Regexp::Syntax::V2_5_0 < ::Regexp::Syntax::V2_4_1; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.6.0.rb:3 class Regexp::Syntax::V2_6_0 < ::Regexp::Syntax::V2_5_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.2.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.6.2.rb:3 class Regexp::Syntax::V2_6_2 < ::Regexp::Syntax::V2_6_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.3.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/2.6.3.rb:3 class Regexp::Syntax::V2_6_3 < ::Regexp::Syntax::V2_6_2; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/3.1.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/3.1.0.rb:3 class Regexp::Syntax::V3_1_0 < ::Regexp::Syntax::V2_6_3; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/3.2.0.rb#3 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/3.2.0.rb:3 class Regexp::Syntax::V3_2_0 < ::Regexp::Syntax::V3_1_0; end -# source://regexp_parser//lib/regexp_parser/syntax/versions/3.5.0.rb#1 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/versions/3.5.0.rb:1 class Regexp::Syntax::V3_5_0 < ::Regexp::Syntax::V3_2_0; end -# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#6 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:6 Regexp::Syntax::VERSION_CONST_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:4 Regexp::Syntax::VERSION_FORMAT = T.let(T.unsafe(nil), String) -# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#5 +# pkg:gem/regexp_parser#lib/regexp_parser/syntax/version_lookup.rb:5 Regexp::Syntax::VERSION_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://regexp_parser//lib/regexp_parser/token.rb#4 +# pkg:gem/regexp_parser#lib/regexp_parser/token.rb:4 Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array) -# source://regexp_parser//lib/regexp_parser/token.rb#15 +# pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 class Regexp::Token < ::Struct - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def conditional_level; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def conditional_level=(_); end - # source://regexp_parser//lib/regexp_parser/token.rb#22 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:22 def length; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def level; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def level=(_); end # Returns the value of attribute next. # - # source://regexp_parser//lib/regexp_parser/token.rb#16 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:16 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#16 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:16 def next=(_arg0); end - # source://regexp_parser//lib/regexp_parser/token.rb#18 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:18 def offset; end # Returns the value of attribute previous. # - # source://regexp_parser//lib/regexp_parser/token.rb#16 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:16 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#16 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:16 def previous=(_arg0); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def set_level; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def set_level=(_); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def te; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def te=(_); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def text; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def text=(_); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def token; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def token=(_); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def ts; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def ts=(_); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def type; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def type=(_); end class << self - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def [](*_arg0); end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def inspect; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def keyword_init?; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def members; end - # source://regexp_parser//lib/regexp_parser/token.rb#15 + # pkg:gem/regexp_parser#lib/regexp_parser/token.rb:15 def new(*_arg0); end end end diff --git a/sorbet/rbi/gems/reline@0.6.3.rbi b/sorbet/rbi/gems/reline@0.6.3.rbi index 477be4f0c..f564872aa 100644 --- a/sorbet/rbi/gems/reline@0.6.3.rbi +++ b/sorbet/rbi/gems/reline@0.6.3.rbi @@ -5,547 +5,547 @@ # Please instead update this file by running `bin/tapioca gem reline`. -# source://reline//lib/reline/version.rb#1 +# pkg:gem/reline#lib/reline/version.rb:1 module Reline extend ::Forwardable extend ::SingleForwardable - # source://reline//lib/reline.rb#466 - def eof?(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:466 + def eof?(*_arg0, **_arg1, &_arg2); end private - # source://reline//lib/reline.rb#455 - def readline(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:455 + def readline(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#487 - def readmultiline(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:487 + def readmultiline(*_arg0, **_arg1, &_arg2); end class << self - # source://reline//lib/reline.rb#483 - def add_dialog_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:483 + def add_dialog_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#480 - def ambiguous_width(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:480 + def ambiguous_width(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def auto_indent_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def auto_indent_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def auto_indent_proc=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def auto_indent_proc=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#485 - def autocompletion(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:485 + def autocompletion(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#485 - def autocompletion=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:485 + def autocompletion=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def basic_quote_characters(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def basic_quote_characters(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def basic_quote_characters=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def basic_quote_characters=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def basic_word_break_characters(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def basic_word_break_characters(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def basic_word_break_characters=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def basic_word_break_characters=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completer_quote_characters(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completer_quote_characters(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completer_quote_characters=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completer_quote_characters=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completer_word_break_characters(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completer_word_break_characters(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completer_word_break_characters=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completer_word_break_characters=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completion_append_character(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completion_append_character(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completion_append_character=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completion_append_character=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#453 - def completion_case_fold(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:453 + def completion_case_fold(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#453 - def completion_case_fold=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:453 + def completion_case_fold=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completion_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completion_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def completion_proc=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def completion_proc=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#454 - def completion_quote_character(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:454 + def completion_quote_character(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#494 + # pkg:gem/reline#lib/reline.rb:494 def core; end - # source://reline//lib/reline.rb#467 - def delete_text(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:467 + def delete_text(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#484 - def dialog_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:484 + def dialog_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def dig_perfect_match_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def dig_perfect_match_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def dig_perfect_match_proc=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def dig_perfect_match_proc=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#440 - def emacs_editing_mode(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:440 + def emacs_editing_mode(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#479 - def emacs_editing_mode?(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:479 + def emacs_editing_mode?(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#490 + # pkg:gem/reline#lib/reline.rb:490 def encoding_system_needs; end - # source://reline//lib/reline.rb#465 - def eof?(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:465 + def eof?(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def filename_quote_characters(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def filename_quote_characters(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def filename_quote_characters=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def filename_quote_characters=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#464 - def get_screen_size(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:464 + def get_screen_size(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#439 - def input=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:439 + def input=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#472 + # pkg:gem/reline#lib/reline.rb:472 def insert_text(text); end - # source://reline//lib/reline.rb#481 - def last_incremental_search(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:481 + def last_incremental_search(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#482 - def last_incremental_search=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:482 + def last_incremental_search=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#468 - def line_buffer(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:468 + def line_buffer(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#514 + # pkg:gem/reline#lib/reline.rb:514 def line_editor; end - # source://reline//lib/reline.rb#439 - def output=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:439 + def output=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def output_modifier_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def output_modifier_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def output_modifier_proc=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def output_modifier_proc=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#469 - def point(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:469 + def point(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#470 - def point=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:470 + def point=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def pre_input_hook(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def pre_input_hook(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def pre_input_hook=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def pre_input_hook=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def prompt_proc(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def prompt_proc(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def prompt_proc=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def prompt_proc=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#452 - def readline(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:452 + def readline(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#446 - def readmultiline(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:446 + def readmultiline(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#478 - def redisplay(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:478 + def redisplay(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def special_prefixes(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def special_prefixes(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#437 - def special_prefixes=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:437 + def special_prefixes=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#510 + # pkg:gem/reline#lib/reline.rb:510 def ungetc(c); end - # source://reline//lib/reline.rb#440 - def vi_editing_mode(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:440 + def vi_editing_mode(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#479 - def vi_editing_mode?(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:479 + def vi_editing_mode?(*_arg0, **_arg1, &_arg2); end end end -# source://reline//lib/reline/io/ansi.rb#4 +# pkg:gem/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#22 + # pkg:gem/reline#lib/reline/io/ansi.rb:22 def initialize; end # @return [Boolean] # - # source://reline//lib/reline/io/ansi.rb#211 + # pkg:gem/reline#lib/reline/io/ansi.rb:211 def both_tty?; end - # source://reline//lib/reline/io/ansi.rb#223 + # pkg:gem/reline#lib/reline/io/ansi.rb:223 def buffered_output; end - # source://reline//lib/reline/io/ansi.rb#271 + # pkg:gem/reline#lib/reline/io/ansi.rb:271 def clear_screen; end - # source://reline//lib/reline/io/ansi.rb#206 + # pkg:gem/reline#lib/reline/io/ansi.rb:206 def cursor_pos; end - # source://reline//lib/reline/io/ansi.rb#304 + # pkg:gem/reline#lib/reline/io/ansi.rb:304 def deprep(otio); end # @return [Boolean] # - # source://reline//lib/reline/io/ansi.rb#159 + # pkg:gem/reline#lib/reline/io/ansi.rb:159 def empty_buffer?; end - # source://reline//lib/reline/io/ansi.rb#30 + # pkg:gem/reline#lib/reline/io/ansi.rb:30 def encoding; end - # source://reline//lib/reline/io/ansi.rb#259 + # pkg:gem/reline#lib/reline/io/ansi.rb:259 def erase_after_cursor; end - # source://reline//lib/reline/io/ansi.rb#170 + # pkg:gem/reline#lib/reline/io/ansi.rb:170 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#151 + # pkg:gem/reline#lib/reline/io/ansi.rb:151 def getc(timeout_second); end - # source://reline//lib/reline/io/ansi.rb#251 + # pkg:gem/reline#lib/reline/io/ansi.rb:251 def hide_cursor; end # @return [Boolean] # - # source://reline//lib/reline/io/ansi.rb#155 + # pkg:gem/reline#lib/reline/io/ansi.rb:155 def in_pasting?; end - # source://reline//lib/reline/io/ansi.rb#116 + # pkg:gem/reline#lib/reline/io/ansi.rb:116 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#20 + # pkg:gem/reline#lib/reline/io/ansi.rb:20 def input=(_arg0); end - # source://reline//lib/reline/io/ansi.rb#231 + # pkg:gem/reline#lib/reline/io/ansi.rb:231 def move_cursor_column(x); end - # source://reline//lib/reline/io/ansi.rb#243 + # pkg:gem/reline#lib/reline/io/ansi.rb:243 def move_cursor_down(x); end - # source://reline//lib/reline/io/ansi.rb#235 + # pkg:gem/reline#lib/reline/io/ansi.rb:235 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#20 + # pkg:gem/reline#lib/reline/io/ansi.rb:20 def output=(_arg0); end - # source://reline//lib/reline/io/ansi.rb#298 + # pkg:gem/reline#lib/reline/io/ansi.rb:298 def prep; end - # source://reline//lib/reline/io/ansi.rb#139 + # pkg:gem/reline#lib/reline/io/ansi.rb:139 def read_bracketed_paste; end - # source://reline//lib/reline/io/ansi.rb#291 + # pkg:gem/reline#lib/reline/io/ansi.rb:291 def read_single_char(timeout_second); 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#265 + # pkg:gem/reline#lib/reline/io/ansi.rb:265 def scroll_down(x); end - # source://reline//lib/reline/io/ansi.rb#56 + # pkg:gem/reline#lib/reline/io/ansi.rb:56 def set_bracketed_paste_key_bindings(config); end - # source://reline//lib/reline/io/ansi.rb#37 + # pkg:gem/reline#lib/reline/io/ansi.rb:37 def set_default_key_bindings(config); end - # source://reline//lib/reline/io/ansi.rb#62 + # pkg:gem/reline#lib/reline/io/ansi.rb:62 def set_default_key_bindings_ansi_cursor(config); end - # source://reline//lib/reline/io/ansi.rb#87 + # pkg:gem/reline#lib/reline/io/ansi.rb:87 def set_default_key_bindings_comprehensive_list(config); end - # source://reline//lib/reline/io/ansi.rb#180 + # pkg:gem/reline#lib/reline/io/ansi.rb:180 def set_screen_size(rows, columns); end - # source://reline//lib/reline/io/ansi.rb#276 + # pkg:gem/reline#lib/reline/io/ansi.rb:276 def set_winch_handler(&handler); end - # source://reline//lib/reline/io/ansi.rb#255 + # pkg:gem/reline#lib/reline/io/ansi.rb:255 def show_cursor; end - # source://reline//lib/reline/io/ansi.rb#166 + # pkg:gem/reline#lib/reline/io/ansi.rb:166 def ungetc(c); end - # source://reline//lib/reline/io/ansi.rb#108 + # pkg:gem/reline#lib/reline/io/ansi.rb:108 def with_raw_input; end - # source://reline//lib/reline/io/ansi.rb#215 + # pkg:gem/reline#lib/reline/io/ansi.rb:215 def write(string); end private - # source://reline//lib/reline/io/ansi.rb#187 + # pkg:gem/reline#lib/reline/io/ansi.rb:187 def cursor_pos_internal(timeout:); end end -# source://reline//lib/reline/io/ansi.rb#5 +# pkg:gem/reline#lib/reline/io/ansi.rb:5 Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash) -# source://reline//lib/reline/io/ansi.rb#138 +# pkg:gem/reline#lib/reline/io/ansi.rb:138 Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String) -# source://reline//lib/reline/io/ansi.rb#137 +# pkg:gem/reline#lib/reline/io/ansi.rb:137 Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String) -# source://reline//lib/reline/config.rb#1 +# pkg:gem/reline#lib/reline/config.rb:1 class Reline::Config # @return [Config] a new instance of Config # - # source://reline//lib/reline/config.rb#31 + # pkg:gem/reline#lib/reline/config.rb:31 def initialize; end - # source://reline//lib/reline/config.rb#162 + # pkg:gem/reline#lib/reline/config.rb:162 def add_default_key_binding(keystroke, target); end - # source://reline//lib/reline/config.rb#158 + # pkg:gem/reline#lib/reline/config.rb:158 def add_default_key_binding_by_keymap(keymap, keystroke, target); end - # source://reline//lib/reline/config.rb#147 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/config.rb:29 def autocompletion=(_arg0); end - # source://reline//lib/reline/config.rb#319 + # pkg:gem/reline#lib/reline/config.rb:319 def bind_key(key, value); end - # source://reline//lib/reline/config.rb#252 + # pkg:gem/reline#lib/reline/config.rb:252 def bind_variable(name, value, raw_value); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def completion_ignore_case; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def completion_ignore_case=(_arg0); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def convert_meta; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def convert_meta=(_arg0); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def disable_completion; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def disable_completion=(_arg0); end - # source://reline//lib/reline/config.rb#72 + # pkg:gem/reline#lib/reline/config.rb:72 def editing_mode; end - # source://reline//lib/reline/config.rb#76 + # pkg:gem/reline#lib/reline/config.rb:76 def editing_mode=(val); end # @return [Boolean] # - # source://reline//lib/reline/config.rb#80 + # pkg:gem/reline#lib/reline/config.rb:80 def editing_mode_is?(*val); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def emacs_mode_string; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def emacs_mode_string=(_arg0); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def enable_bracketed_paste; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def enable_bracketed_paste=(_arg0); end - # source://reline//lib/reline/config.rb#217 + # pkg:gem/reline#lib/reline/config.rb:217 def handle_directive(directive, file, no, if_stack); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def history_size; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def history_size=(_arg0); end - # source://reline//lib/reline/config.rb#92 + # pkg:gem/reline#lib/reline/config.rb:92 def inputrc_path; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def isearch_terminators; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def isearch_terminators=(_arg0); end - # source://reline//lib/reline/config.rb#142 + # pkg:gem/reline#lib/reline/config.rb:142 def key_bindings; end - # source://reline//lib/reline/config.rb#338 + # pkg:gem/reline#lib/reline/config.rb:338 def key_notation_to_code(notation); end - # source://reline//lib/reline/config.rb#84 + # pkg:gem/reline#lib/reline/config.rb:84 def keymap; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def keyseq_timeout; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def keyseq_timeout=(_arg0); end # @return [Boolean] # - # source://reline//lib/reline/config.rb#88 + # pkg:gem/reline#lib/reline/config.rb:88 def loaded?; end - # source://reline//lib/reline/config.rb#324 + # pkg:gem/reline#lib/reline/config.rb:324 def parse_key_binding(key, func_name); end - # source://reline//lib/reline/config.rb#364 + # pkg:gem/reline#lib/reline/config.rb:364 def parse_keyseq(str); end - # source://reline//lib/reline/config.rb#122 + # pkg:gem/reline#lib/reline/config.rb:122 def read(file = T.unsafe(nil)); end - # source://reline//lib/reline/config.rb#166 + # pkg:gem/reline#lib/reline/config.rb:166 def read_lines(lines, file = T.unsafe(nil)); end - # source://reline//lib/reline/config.rb#370 + # pkg:gem/reline#lib/reline/config.rb:370 def reload; end - # source://reline//lib/reline/config.rb#35 + # pkg:gem/reline#lib/reline/config.rb:35 def reset; end - # source://reline//lib/reline/config.rb#154 + # pkg:gem/reline#lib/reline/config.rb:154 def reset_oneshot_key_bindings; end - # source://reline//lib/reline/config.rb#42 + # pkg:gem/reline#lib/reline/config.rb:42 def reset_variables; end - # source://reline//lib/reline/config.rb#314 + # pkg:gem/reline#lib/reline/config.rb:314 def retrieve_string(str); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def show_all_if_ambiguous; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def show_all_if_ambiguous=(_arg0); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def show_mode_in_prompt; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/config.rb:2 def test_mode; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def vi_cmd_mode_string; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def vi_cmd_mode_string=(_arg0); end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def vi_ins_mode_string; end - # source://reline//lib/reline/config.rb#26 + # pkg:gem/reline#lib/reline/config.rb:26 def vi_ins_mode_string=(_arg0); end private - # source://reline//lib/reline/config.rb#118 + # pkg:gem/reline#lib/reline/config.rb:118 def default_inputrc_path; end # @return [Boolean] # - # source://reline//lib/reline/config.rb#375 + # pkg:gem/reline#lib/reline/config.rb:375 def seven_bit_encoding?(encoding); end end -# source://reline//lib/reline/config.rb#6 +# pkg:gem/reline#lib/reline/config.rb:6 class Reline::Config::InvalidInputrc < ::RuntimeError # Returns the value of attribute file. # - # source://reline//lib/reline/config.rb#7 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/config.rb:7 def file=(_arg0); end # Returns the value of attribute lineno. # - # source://reline//lib/reline/config.rb#7 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/config.rb:7 def lineno=(_arg0); end end -# source://reline//lib/reline/config.rb#4 +# pkg:gem/reline#lib/reline/config.rb:4 Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://reline//lib/reline/config.rb#10 +# pkg:gem/reline#lib/reline/config.rb:10 Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline/config.rb#24 +# pkg:gem/reline#lib/reline/config.rb:24 Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#40 +# pkg:gem/reline#lib/reline.rb:40 class Reline::Core extend ::Forwardable @@ -553,223 +553,223 @@ class Reline::Core # @yield [_self] # @yieldparam _self [Reline::Core] the object that the method was called on # - # source://reline//lib/reline.rb#68 + # pkg:gem/reline#lib/reline.rb:68 def initialize; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#162 + # pkg:gem/reline#lib/reline.rb:162 def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end - # source://reline//lib/reline.rb#407 + # pkg:gem/reline#lib/reline.rb:407 def ambiguous_width; end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def auto_indent_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#147 + # pkg:gem/reline#lib/reline.rb:147 def auto_indent_proc=(p); end - # source://reline//lib/reline.rb#64 - def autocompletion(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:64 + def autocompletion(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#64 - def autocompletion=(*args, **_arg1, &block); end + # pkg:gem/reline#lib/reline.rb:64 + def autocompletion=(*_arg0, **_arg1, &_arg2); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def basic_quote_characters; end - # source://reline//lib/reline.rb#104 + # pkg:gem/reline#lib/reline.rb:104 def basic_quote_characters=(v); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def basic_word_break_characters; end - # source://reline//lib/reline.rb#96 + # pkg:gem/reline#lib/reline.rb:96 def basic_word_break_characters=(v); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def completer_quote_characters; end - # source://reline//lib/reline.rb#108 + # pkg:gem/reline#lib/reline.rb:108 def completer_quote_characters=(v); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def completer_word_break_characters; end - # source://reline//lib/reline.rb#100 + # pkg:gem/reline#lib/reline.rb:100 def completer_word_break_characters=(v); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def completion_append_character; end - # source://reline//lib/reline.rb#84 + # pkg:gem/reline#lib/reline.rb:84 def completion_append_character=(val); end - # source://reline//lib/reline.rb#124 + # pkg:gem/reline#lib/reline.rb:124 def completion_case_fold; end - # source://reline//lib/reline.rb#120 + # pkg:gem/reline#lib/reline.rb:120 def completion_case_fold=(v); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def completion_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#132 + # pkg:gem/reline#lib/reline.rb:132 def completion_proc=(p); end - # source://reline//lib/reline.rb#128 + # pkg:gem/reline#lib/reline.rb:128 def completion_quote_character; end # Returns the value of attribute config. # - # source://reline//lib/reline.rb#57 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:57 def config=(_arg0); end - # source://reline//lib/reline.rb#172 + # pkg:gem/reline#lib/reline.rb:172 def dialog_proc(name_sym); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def dig_perfect_match_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#156 + # pkg:gem/reline#lib/reline.rb:156 def dig_perfect_match_proc=(p); end - # source://reline//lib/reline.rb#194 + # pkg:gem/reline#lib/reline.rb:194 def emacs_editing_mode; end # @return [Boolean] # - # source://reline//lib/reline.rb#203 + # pkg:gem/reline#lib/reline.rb:203 def emacs_editing_mode?; end - # source://reline//lib/reline.rb#80 + # pkg:gem/reline#lib/reline.rb:80 def encoding; end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def filename_quote_characters; end - # source://reline//lib/reline.rb#112 + # pkg:gem/reline#lib/reline.rb:112 def filename_quote_characters=(v); end - # source://reline//lib/reline.rb#207 + # pkg:gem/reline#lib/reline.rb:207 def get_screen_size; end # @raise [TypeError] # - # source://reline//lib/reline.rb#176 + # pkg:gem/reline#lib/reline.rb:176 def input=(val); end - # source://reline//lib/reline.rb#76 + # pkg:gem/reline#lib/reline.rb:76 def io_gate; end # Returns the value of attribute key_stroke. # - # source://reline//lib/reline.rb#58 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:58 def key_stroke=(_arg0); end # Returns the value of attribute last_incremental_search. # - # source://reline//lib/reline.rb#60 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:60 def last_incremental_search=(_arg0); end # Returns the value of attribute line_editor. # - # source://reline//lib/reline.rb#59 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:59 def line_editor=(_arg0); end # Returns the value of attribute output. # - # source://reline//lib/reline.rb#61 + # pkg:gem/reline#lib/reline.rb:61 def output; end # @raise [TypeError] # - # source://reline//lib/reline.rb#183 + # pkg:gem/reline#lib/reline.rb:183 def output=(val); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def output_modifier_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#137 + # pkg:gem/reline#lib/reline.rb:137 def output_modifier_proc=(p); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def pre_input_hook; end - # source://reline//lib/reline.rb#152 + # pkg:gem/reline#lib/reline.rb:152 def pre_input_hook=(p); end - # source://reline//lib/reline.rb#55 + # pkg:gem/reline#lib/reline.rb:55 def prompt_proc; end # @raise [ArgumentError] # - # source://reline//lib/reline.rb#142 + # pkg:gem/reline#lib/reline.rb:142 def prompt_proc=(p); end - # source://reline//lib/reline.rb#276 + # pkg:gem/reline#lib/reline.rb:276 def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end - # source://reline//lib/reline.rb#250 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:55 def special_prefixes; end - # source://reline//lib/reline.rb#116 + # pkg:gem/reline#lib/reline.rb:116 def special_prefixes=(v); end - # source://reline//lib/reline.rb#189 + # pkg:gem/reline#lib/reline.rb:189 def vi_editing_mode; end # @return [Boolean] # - # source://reline//lib/reline.rb#199 + # pkg:gem/reline#lib/reline.rb:199 def vi_editing_mode?; end private - # source://reline//lib/reline.rb#293 + # pkg:gem/reline#lib/reline.rb:293 def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end - # source://reline//lib/reline.rb#412 + # pkg:gem/reline#lib/reline.rb:412 def may_req_ambiguous_char_width; end # GNU Readline watis for "keyseq-timeout" milliseconds when the input is @@ -779,20 +779,20 @@ 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#377 + # pkg:gem/reline#lib/reline.rb:377 def read_io(keyseq_timeout, &block); end end -# source://reline//lib/reline.rb#41 +# pkg:gem/reline#lib/reline.rb:41 Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#161 +# pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:161 def context; end # Sets the attribute context @@ -800,14 +800,14 @@ class Reline::Core::DialogProc < ::Struct # @param value [Object] the value to set the attribute context to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#161 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:161 def dialog_proc; end # Sets the attribute dialog_proc @@ -815,34 +815,34 @@ class Reline::Core::DialogProc < ::Struct # @param value [Object] the value to set the attribute dialog_proc to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#161 + # pkg:gem/reline#lib/reline.rb:161 def dialog_proc=(_); end class << self - # source://reline//lib/reline.rb#161 + # pkg:gem/reline#lib/reline.rb:161 def [](*_arg0); end - # source://reline//lib/reline.rb#161 + # pkg:gem/reline#lib/reline.rb:161 def inspect; end - # source://reline//lib/reline.rb#161 + # pkg:gem/reline#lib/reline.rb:161 def keyword_init?; end - # source://reline//lib/reline.rb#161 + # pkg:gem/reline#lib/reline.rb:161 def members; end - # source://reline//lib/reline.rb#161 + # pkg:gem/reline#lib/reline.rb:161 def new(*_arg0); end end end -# source://reline//lib/reline.rb#28 +# pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:28 def x; end # Sets the attribute x @@ -850,14 +850,14 @@ class Reline::CursorPos < ::Struct # @param value [Object] the value to set the attribute x to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#28 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:28 def y; end # Sets the attribute y @@ -865,40 +865,40 @@ class Reline::CursorPos < ::Struct # @param value [Object] the value to set the attribute y to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#28 + # pkg:gem/reline#lib/reline.rb:28 def y=(_); end class << self - # source://reline//lib/reline.rb#28 + # pkg:gem/reline#lib/reline.rb:28 def [](*_arg0); end - # source://reline//lib/reline.rb#28 + # pkg:gem/reline#lib/reline.rb:28 def inspect; end - # source://reline//lib/reline.rb#28 + # pkg:gem/reline#lib/reline.rb:28 def keyword_init?; end - # source://reline//lib/reline.rb#28 + # pkg:gem/reline#lib/reline.rb:28 def members; end - # source://reline//lib/reline.rb#28 + # pkg:gem/reline#lib/reline.rb:28 def new(*_arg0); end end end -# source://reline//lib/reline.rb#248 +# pkg:gem/reline#lib/reline.rb:248 Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#211 +# pkg:gem/reline#lib/reline.rb:211 Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc) -# source://reline//lib/reline.rb#29 +# pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def bg_color; end # Sets the attribute bg_color @@ -906,14 +906,14 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute bg_color to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def contents; end # Sets the attribute contents @@ -921,14 +921,14 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute contents to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def face; end # Sets the attribute face @@ -936,14 +936,14 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute face to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def height; end # Sets the attribute height @@ -951,14 +951,14 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute height to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def pos; end # Sets the attribute pos @@ -966,14 +966,14 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute pos to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def scrollbar; end # Sets the attribute scrollbar @@ -981,14 +981,14 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute scrollbar to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:29 def width; end # Sets the attribute width @@ -996,284 +996,284 @@ class Reline::DialogRenderInfo < ::Struct # @param value [Object] the value to set the attribute width to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#29 + # pkg:gem/reline#lib/reline.rb:29 def width=(_); end class << self - # source://reline//lib/reline.rb#29 + # pkg:gem/reline#lib/reline.rb:29 def [](*_arg0); end - # source://reline//lib/reline.rb#29 + # pkg:gem/reline#lib/reline.rb:29 def inspect; end - # source://reline//lib/reline.rb#29 + # pkg:gem/reline#lib/reline.rb:29 def keyword_init?; end - # source://reline//lib/reline.rb#29 + # pkg:gem/reline#lib/reline.rb:29 def members; end - # source://reline//lib/reline.rb#29 + # pkg:gem/reline#lib/reline.rb:29 def new(*_arg0); end end end -# source://reline//lib/reline/io/dumb.rb#3 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/io/dumb.rb:8 def initialize(encoding: T.unsafe(nil)); end - # source://reline//lib/reline/io/dumb.rb#49 + # pkg:gem/reline#lib/reline/io/dumb.rb:49 def buffered_output; end - # source://reline//lib/reline/io/dumb.rb#101 + # pkg:gem/reline#lib/reline/io/dumb.rb:101 def clear_screen; end - # source://reline//lib/reline/io/dumb.rb#76 + # pkg:gem/reline#lib/reline/io/dumb.rb:76 def cursor_pos; end - # source://reline//lib/reline/io/dumb.rb#118 + # pkg:gem/reline#lib/reline/io/dumb.rb:118 def deprep(otio); end # @return [Boolean] # - # source://reline//lib/reline/io/dumb.rb#17 + # pkg:gem/reline#lib/reline/io/dumb.rb:17 def dumb?; end - # source://reline//lib/reline/io/dumb.rb#21 + # pkg:gem/reline#lib/reline/io/dumb.rb:21 def encoding; end - # source://reline//lib/reline/io/dumb.rb#95 + # pkg:gem/reline#lib/reline/io/dumb.rb:95 def erase_after_cursor; end - # source://reline//lib/reline/io/dumb.rb#72 + # pkg:gem/reline#lib/reline/io/dumb.rb:72 def get_screen_size; end - # source://reline//lib/reline/io/dumb.rb#53 + # pkg:gem/reline#lib/reline/io/dumb.rb:53 def getc(_timeout_second); end - # source://reline//lib/reline/io/dumb.rb#80 + # pkg:gem/reline#lib/reline/io/dumb.rb:80 def hide_cursor; end # @return [Boolean] # - # source://reline//lib/reline/io/dumb.rb#111 + # pkg:gem/reline#lib/reline/io/dumb.rb:111 def in_pasting?; end - # source://reline//lib/reline/io/dumb.rb#37 + # pkg:gem/reline#lib/reline/io/dumb.rb:37 def input=(val); end - # source://reline//lib/reline/io/dumb.rb#86 + # pkg:gem/reline#lib/reline/io/dumb.rb:86 def move_cursor_column(val); end - # source://reline//lib/reline/io/dumb.rb#92 + # pkg:gem/reline#lib/reline/io/dumb.rb:92 def move_cursor_down(val); end - # source://reline//lib/reline/io/dumb.rb#89 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/io/dumb.rb:6 def output=(_arg0); end - # source://reline//lib/reline/io/dumb.rb#115 + # pkg:gem/reline#lib/reline/io/dumb.rb:115 def prep; end - # source://reline//lib/reline/io/dumb.rb#98 + # pkg:gem/reline#lib/reline/io/dumb.rb:98 def scroll_down(val); end - # source://reline//lib/reline/io/dumb.rb#34 + # pkg:gem/reline#lib/reline/io/dumb.rb:34 def set_default_key_bindings(_); end - # source://reline//lib/reline/io/dumb.rb#104 + # pkg:gem/reline#lib/reline/io/dumb.rb:104 def set_screen_size(rows, columns); end - # source://reline//lib/reline/io/dumb.rb#108 + # pkg:gem/reline#lib/reline/io/dumb.rb:108 def set_winch_handler(&handler); end - # source://reline//lib/reline/io/dumb.rb#83 + # pkg:gem/reline#lib/reline/io/dumb.rb:83 def show_cursor; end - # source://reline//lib/reline/io/dumb.rb#68 + # pkg:gem/reline#lib/reline/io/dumb.rb:68 def ungetc(c); end - # source://reline//lib/reline/io/dumb.rb#41 + # pkg:gem/reline#lib/reline/io/dumb.rb:41 def with_raw_input; end - # source://reline//lib/reline/io/dumb.rb#45 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/reline#lib/reline.rb:15 Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped) -# source://reline//lib/reline/face.rb#3 +# pkg:gem/reline#lib/reline/face.rb:3 class Reline::Face class << self - # source://reline//lib/reline/face.rb#169 + # pkg:gem/reline#lib/reline/face.rb:169 def [](name); end - # source://reline//lib/reline/face.rb#173 + # pkg:gem/reline#lib/reline/face.rb:173 def config(name, &block); end - # source://reline//lib/reline/face.rb#178 + # pkg:gem/reline#lib/reline/face.rb:178 def configs; end - # source://reline//lib/reline/face.rb#164 + # pkg:gem/reline#lib/reline/face.rb:164 def force_truecolor; end - # source://reline//lib/reline/face.rb#182 + # pkg:gem/reline#lib/reline/face.rb:182 def load_initial_configs; end - # source://reline//lib/reline/face.rb#195 + # pkg:gem/reline#lib/reline/face.rb:195 def reset_to_initial_configs; end # @return [Boolean] # - # source://reline//lib/reline/face.rb#160 + # pkg:gem/reline#lib/reline/face.rb:160 def truecolor?; end end end -# source://reline//lib/reline/face.rb#58 +# pkg:gem/reline#lib/reline/face.rb:58 class Reline::Face::Config # @return [Config] a new instance of Config # - # source://reline//lib/reline/face.rb#62 + # pkg:gem/reline#lib/reline/face.rb:62 def initialize(name, &block); end - # source://reline//lib/reline/face.rb#84 + # pkg:gem/reline#lib/reline/face.rb:84 def [](name); end - # source://reline//lib/reline/face.rb#72 + # pkg:gem/reline#lib/reline/face.rb:72 def define(name, **values); end # Returns the value of attribute definition. # - # source://reline//lib/reline/face.rb#70 + # pkg:gem/reline#lib/reline/face.rb:70 def definition; end - # source://reline//lib/reline/face.rb#77 + # pkg:gem/reline#lib/reline/face.rb:77 def reconfigure; end private - # source://reline//lib/reline/face.rb#126 + # pkg:gem/reline#lib/reline/face.rb:126 def format_to_sgr(ordered_values); end # @return [Boolean] # - # source://reline//lib/reline/face.rb#153 + # pkg:gem/reline#lib/reline/face.rb:153 def rgb_expression?(color); end - # source://reline//lib/reline/face.rb#90 + # pkg:gem/reline#lib/reline/face.rb:90 def sgr_rgb(key, value); end - # source://reline//lib/reline/face.rb#108 + # pkg:gem/reline#lib/reline/face.rb:108 def sgr_rgb_256color(key, value); end - # source://reline//lib/reline/face.rb#99 + # pkg:gem/reline#lib/reline/face.rb:99 def sgr_rgb_truecolor(key, value); end end -# source://reline//lib/reline/face.rb#59 +# pkg:gem/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 +# pkg:gem/reline#lib/reline/face.rb:60 Reline::Face::Config::RESET_SGR = T.let(T.unsafe(nil), String) -# source://reline//lib/reline/face.rb#4 +# pkg:gem/reline#lib/reline/face.rb:4 Reline::Face::SGR_PARAMETERS = T.let(T.unsafe(nil), Hash) -# source://reline//lib/reline.rb#527 +# pkg:gem/reline#lib/reline.rb:527 Reline::HISTORY = T.let(T.unsafe(nil), Reline::History) -# source://reline//lib/reline/history.rb#1 +# pkg:gem/reline#lib/reline/history.rb:1 class Reline::History < ::Array # @return [History] a new instance of History # - # source://reline//lib/reline/history.rb#2 + # pkg:gem/reline#lib/reline/history.rb:2 def initialize(config); end - # source://reline//lib/reline/history.rb#52 + # pkg:gem/reline#lib/reline/history.rb:52 def <<(val); end - # source://reline//lib/reline/history.rb#15 + # pkg:gem/reline#lib/reline/history.rb:15 def [](index); end - # source://reline//lib/reline/history.rb#20 + # pkg:gem/reline#lib/reline/history.rb:20 def []=(index, val); end - # source://reline//lib/reline/history.rb#25 + # pkg:gem/reline#lib/reline/history.rb:25 def concat(*val); end - # source://reline//lib/reline/history.rb#10 + # pkg:gem/reline#lib/reline/history.rb:10 def delete_at(index); end - # source://reline//lib/reline/history.rb#31 + # pkg:gem/reline#lib/reline/history.rb:31 def push(*val); end - # source://reline//lib/reline/history.rb#6 + # pkg:gem/reline#lib/reline/history.rb:6 def to_s; end private # @raise [IndexError] # - # source://reline//lib/reline/history.rb#62 + # pkg:gem/reline#lib/reline/history.rb:62 def check_index(index); end end -# source://reline//lib/reline/io.rb#3 +# pkg:gem/reline#lib/reline/io.rb:3 class Reline::IO # @return [Boolean] # - # source://reline//lib/reline/io.rb#27 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/io.rb:40 def read_single_char(timeout_second); end - # source://reline//lib/reline/io.rb#35 + # pkg:gem/reline#lib/reline/io.rb:35 def reset_color_sequence; end # @return [Boolean] # - # source://reline//lib/reline/io.rb#31 + # pkg:gem/reline#lib/reline/io.rb:31 def win?; end class << self - # source://reline//lib/reline/io.rb#6 + # pkg:gem/reline#lib/reline/io.rb:6 def decide_io_gate; end end end -# source://reline//lib/reline.rb#520 +# pkg:gem/reline#lib/reline.rb:520 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 +# pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:22 def char; end # Sets the attribute char @@ -1281,21 +1281,21 @@ class Reline::Key < ::Struct # @param value [Object] the value to set the attribute char to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def char=(_); end # For dialog_proc `key.match?(dialog.name)` # # @return [Boolean] # - # source://reline//lib/reline.rb#24 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:22 def method_symbol; end # Sets the attribute method_symbol @@ -1303,14 +1303,14 @@ class Reline::Key < ::Struct # @param value [Object] the value to set the attribute method_symbol to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#22 + # pkg:gem/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 + # pkg:gem/reline#lib/reline.rb:22 def unused_boolean; end # Sets the attribute unused_boolean @@ -1318,208 +1318,208 @@ class Reline::Key < ::Struct # @param value [Object] the value to set the attribute unused_boolean to. # @return [Object] the newly set value # - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def unused_boolean=(_); end class << self - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def [](*_arg0); end - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def inspect; end - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def keyword_init?; end - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def members; end - # source://reline//lib/reline.rb#22 + # pkg:gem/reline#lib/reline.rb:22 def new(*_arg0); end end end -# source://reline//lib/reline/key_actor/base.rb#1 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/key_actor/base.rb:2 def initialize(mappings = T.unsafe(nil)); end - # source://reline//lib/reline/key_actor/base.rb#18 + # pkg:gem/reline#lib/reline/key_actor/base.rb:18 def add(key, func); end - # source://reline//lib/reline/key_actor/base.rb#8 + # pkg:gem/reline#lib/reline/key_actor/base.rb:8 def add_mappings(mappings); end - # source://reline//lib/reline/key_actor/base.rb#33 + # pkg:gem/reline#lib/reline/key_actor/base.rb:33 def clear; end - # source://reline//lib/reline/key_actor/base.rb#29 + # pkg:gem/reline#lib/reline/key_actor/base.rb:29 def get(key); end # @return [Boolean] # - # source://reline//lib/reline/key_actor/base.rb#25 + # pkg:gem/reline#lib/reline/key_actor/base.rb:25 def matching?(key); end end -# source://reline//lib/reline/key_actor/composite.rb#1 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/key_actor/composite.rb:2 def initialize(key_actors); end - # source://reline//lib/reline/key_actor/composite.rb#10 + # pkg:gem/reline#lib/reline/key_actor/composite.rb:10 def get(key); end # @return [Boolean] # - # source://reline//lib/reline/key_actor/composite.rb#6 + # pkg:gem/reline#lib/reline/key_actor/composite.rb:6 def matching?(key); end end -# source://reline//lib/reline/key_actor/emacs.rb#2 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/key_stroke.rb:6 def encoding=(_arg0); end - # source://reline//lib/reline/key_stroke.rb#44 + # pkg:gem/reline#lib/reline/key_stroke.rb:44 def expand(input); end - # source://reline//lib/reline/key_stroke.rb#22 + # pkg:gem/reline#lib/reline/key_stroke.rb:22 def match_status(input); end private - # source://reline//lib/reline/key_stroke.rb#116 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/reline#lib/reline/key_stroke.rb:20 Reline::KeyStroke::UNMATCHED = T.let(T.unsafe(nil), Symbol) -# source://reline//lib/reline/kill_ring.rb#1 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/kill_ring.rb:61 def initialize(max = T.unsafe(nil)); end - # source://reline//lib/reline/kill_ring.rb#68 + # pkg:gem/reline#lib/reline/kill_ring.rb:68 def append(string, before_p = T.unsafe(nil)); end - # source://reline//lib/reline/kill_ring.rb#116 + # pkg:gem/reline#lib/reline/kill_ring.rb:116 def each; end - # source://reline//lib/reline/kill_ring.rb#83 + # pkg:gem/reline#lib/reline/kill_ring.rb:83 def process; end - # source://reline//lib/reline/kill_ring.rb#96 + # pkg:gem/reline#lib/reline/kill_ring.rb:96 def yank; end - # source://reline//lib/reline/kill_ring.rb#106 + # pkg:gem/reline#lib/reline/kill_ring.rb:106 def yank_pop; end end -# source://reline//lib/reline/kill_ring.rb#21 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/kill_ring.rb:25 def initialize(max = T.unsafe(nil)); end - # source://reline//lib/reline/kill_ring.rb#31 + # pkg:gem/reline#lib/reline/kill_ring.rb:31 def <<(point); end # @return [Boolean] # - # source://reline//lib/reline/kill_ring.rb#56 + # pkg:gem/reline#lib/reline/kill_ring.rb:56 def empty?; end # Returns the value of attribute head. # - # source://reline//lib/reline/kill_ring.rb#23 + # pkg:gem/reline#lib/reline/kill_ring.rb:23 def head; end # Returns the value of attribute size. # - # source://reline//lib/reline/kill_ring.rb#22 + # pkg:gem/reline#lib/reline/kill_ring.rb:22 def size; end end -# source://reline//lib/reline/kill_ring.rb#11 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/kill_ring.rb:12 def initialize(str); end - # source://reline//lib/reline/kill_ring.rb#16 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def backward; end # Sets the attribute backward @@ -1527,14 +1527,14 @@ class Reline::KillRing::RingPoint < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def forward; end # Sets the attribute forward @@ -1542,14 +1542,14 @@ class Reline::KillRing::RingPoint < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def str; end # Sets the attribute str @@ -1557,409 +1557,409 @@ class Reline::KillRing::RingPoint < ::Struct # @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 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def str=(_); end class << self - # source://reline//lib/reline/kill_ring.rb#11 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def [](*_arg0); end - # source://reline//lib/reline/kill_ring.rb#11 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def inspect; end - # source://reline//lib/reline/kill_ring.rb#11 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def keyword_init?; end - # source://reline//lib/reline/kill_ring.rb#11 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def members; end - # source://reline//lib/reline/kill_ring.rb#11 + # pkg:gem/reline#lib/reline/kill_ring.rb:11 def new(*_arg0); end end end -# source://reline//lib/reline/kill_ring.rb#6 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:73 def initialize(config); end - # source://reline//lib/reline/line_editor.rb#685 + # pkg:gem/reline#lib/reline/line_editor.rb:685 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:8 def byte_pointer; end - # source://reline//lib/reline/line_editor.rb#1234 + # pkg:gem/reline#lib/reline/line_editor.rb:1234 def byte_pointer=(val); end - # source://reline//lib/reline/line_editor.rb#398 + # pkg:gem/reline#lib/reline/line_editor.rb:398 def calculate_overlay_levels(overlay_levels); end - # source://reline//lib/reline/line_editor.rb#1074 + # pkg:gem/reline#lib/reline/line_editor.rb:1074 def call_completion_proc(pre, target, post, quote); end - # source://reline//lib/reline/line_editor.rb#1081 + # pkg:gem/reline#lib/reline/line_editor.rb:1081 def call_completion_proc_with_checking_args(pre, target, post); end - # source://reline//lib/reline/line_editor.rb#446 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:10 def completion_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#1175 + # pkg:gem/reline#lib/reline/line_editor.rb:1175 def confirm_multiline_termination; end # Returns the value of attribute confirm_multiline_termination_proc. # - # source://reline//lib/reline/line_editor.rb#9 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:9 def confirm_multiline_termination_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#304 + # pkg:gem/reline#lib/reline/line_editor.rb:304 def current_byte_pointer_cursor; end - # source://reline//lib/reline/line_editor.rb#1124 + # pkg:gem/reline#lib/reline/line_editor.rb:1124 def current_line; end - # source://reline//lib/reline/line_editor.rb#1200 + # pkg:gem/reline#lib/reline/line_editor.rb:1200 def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#867 + # pkg:gem/reline#lib/reline/line_editor.rb:867 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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:15 def dig_perfect_match_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#794 + # pkg:gem/reline#lib/reline/line_editor.rb:794 def editing_mode; end - # source://reline//lib/reline/line_editor.rb#84 + # pkg:gem/reline#lib/reline/line_editor.rb:84 def encoding; end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#220 + # pkg:gem/reline#lib/reline/line_editor.rb:220 def eof?; end - # source://reline//lib/reline/line_editor.rb#216 + # pkg:gem/reline#lib/reline/line_editor.rb:216 def finalize; end - # source://reline//lib/reline/line_editor.rb#1254 + # pkg:gem/reline#lib/reline/line_editor.rb:1254 def finish; end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#1250 + # pkg:gem/reline#lib/reline/line_editor.rb:1250 def finished?; end - # source://reline//lib/reline/line_editor.rb#168 + # pkg:gem/reline#lib/reline/line_editor.rb:168 def handle_signal; end - # source://reline//lib/reline/line_editor.rb#1006 + # pkg:gem/reline#lib/reline/line_editor.rb:1006 def input_key(key); end - # source://reline//lib/reline/line_editor.rb#1180 + # pkg:gem/reline#lib/reline/line_editor.rb:1180 def insert_multiline_text(text); end - # source://reline//lib/reline/line_editor.rb#1190 + # pkg:gem/reline#lib/reline/line_editor.rb:1190 def insert_text(text); end - # source://reline//lib/reline/line_editor.rb#80 + # pkg:gem/reline#lib/reline/line_editor.rb:80 def io_gate; end - # source://reline//lib/reline/line_editor.rb#1120 + # pkg:gem/reline#lib/reline/line_editor.rb:1120 def line; end - # source://reline//lib/reline/line_editor.rb#351 + # pkg:gem/reline#lib/reline/line_editor.rb:351 def modified_lines; end - # source://reline//lib/reline/line_editor.rb#273 + # pkg:gem/reline#lib/reline/line_editor.rb:273 def multiline_off; end - # source://reline//lib/reline/line_editor.rb#269 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:12 def output_modifier_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#357 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:13 def prompt_proc=(_arg0); end - # source://reline//lib/reline/line_editor.rb#1051 + # pkg:gem/reline#lib/reline/line_editor.rb:1051 def push_undo_redo(modified); end - # source://reline//lib/reline/line_editor.rb#473 + # pkg:gem/reline#lib/reline/line_editor.rb:473 def render; end - # source://reline//lib/reline/line_editor.rb#461 + # pkg:gem/reline#lib/reline/line_editor.rb:461 def render_finished; end - # source://reline//lib/reline/line_editor.rb#406 + # pkg:gem/reline#lib/reline/line_editor.rb:406 def render_line_differential(old_items, new_items); end - # source://reline//lib/reline/line_editor.rb#557 + # pkg:gem/reline#lib/reline/line_editor.rb:557 def rerender; end - # source://reline//lib/reline/line_editor.rb#141 + # pkg:gem/reline#lib/reline/line_editor.rb:141 def reset(prompt = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#261 + # pkg:gem/reline#lib/reline/line_editor.rb:261 def reset_line; end - # source://reline//lib/reline/line_editor.rb#224 + # pkg:gem/reline#lib/reline/line_editor.rb:224 def reset_variables(prompt = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#553 + # pkg:gem/reline#lib/reline/line_editor.rb:553 def rest_height(wrapped_cursor_y); end - # source://reline//lib/reline/line_editor.rb#1139 + # pkg:gem/reline#lib/reline/line_editor.rb:1139 def retrieve_completion_block; end - # source://reline//lib/reline/line_editor.rb#363 + # pkg:gem/reline#lib/reline/line_editor.rb:363 def screen_height; end - # source://reline//lib/reline/line_editor.rb#371 + # pkg:gem/reline#lib/reline/line_editor.rb:371 def screen_scroll_top; end - # source://reline//lib/reline/line_editor.rb#367 + # pkg:gem/reline#lib/reline/line_editor.rb:367 def screen_width; end - # source://reline//lib/reline/line_editor.rb#1064 + # pkg:gem/reline#lib/reline/line_editor.rb:1064 def scroll_into_view; end - # source://reline//lib/reline/line_editor.rb#1128 + # pkg:gem/reline#lib/reline/line_editor.rb:1128 def set_current_line(line, byte_pointer = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#88 + # pkg:gem/reline#lib/reline/line_editor.rb:88 def set_pasting_state(in_pasting); end - # source://reline//lib/reline/line_editor.rb#207 + # pkg:gem/reline#lib/reline/line_editor.rb:207 def set_signal_handlers; end - # source://reline//lib/reline/line_editor.rb#996 + # pkg:gem/reline#lib/reline/line_editor.rb:996 def update(key); end - # source://reline//lib/reline/line_editor.rb#453 + # pkg:gem/reline#lib/reline/line_editor.rb:453 def update_dialogs(key = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#549 + # pkg:gem/reline#lib/reline/line_editor.rb:549 def upper_space_height(wrapped_cursor_y); end - # source://reline//lib/reline/line_editor.rb#1242 + # pkg:gem/reline#lib/reline/line_editor.rb:1242 def whole_buffer; end - # source://reline//lib/reline/line_editor.rb#1238 + # pkg:gem/reline#lib/reline/line_editor.rb:1238 def whole_lines; end - # source://reline//lib/reline/line_editor.rb#343 + # pkg:gem/reline#lib/reline/line_editor.rb:343 def with_cache(key, *deps); end - # source://reline//lib/reline/line_editor.rb#949 + # pkg:gem/reline#lib/reline/line_editor.rb:949 def wrap_method_call(method_symbol, key, with_operator); end # Calculate cursor position in word wrapped content. # - # source://reline//lib/reline/line_editor.rb#437 + # pkg:gem/reline#lib/reline/line_editor.rb:437 def wrapped_cursor_position; end - # source://reline//lib/reline/line_editor.rb#375 + # pkg:gem/reline#lib/reline/line_editor.rb:375 def wrapped_prompt_and_input_lines; end private # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#939 + # pkg:gem/reline#lib/reline/line_editor.rb:939 def argumentable?(method_obj); end - # source://reline//lib/reline/line_editor.rb#1413 + # pkg:gem/reline#lib/reline/line_editor.rb:1413 def backward_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1700 + # pkg:gem/reline#lib/reline/line_editor.rb:1700 def backward_delete_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1838 + # pkg:gem/reline#lib/reline/line_editor.rb:1838 def backward_kill_word(key); end - # source://reline//lib/reline/line_editor.rb#1818 + # pkg:gem/reline#lib/reline/line_editor.rb:1818 def backward_word(key); end - # source://reline//lib/reline/line_editor.rb#1652 + # pkg:gem/reline#lib/reline/line_editor.rb:1652 def beginning_of_history(key); end - # source://reline//lib/reline/line_editor.rb#1422 + # pkg:gem/reline#lib/reline/line_editor.rb:1422 def beginning_of_line(key); end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#1246 + # pkg:gem/reline#lib/reline/line_editor.rb:1246 def buffer_empty?; end - # source://reline//lib/reline/line_editor.rb#1265 + # pkg:gem/reline#lib/reline/line_editor.rb:1265 def byteinsert(str, byte_pointer, other); end - # source://reline//lib/reline/line_editor.rb#1259 + # pkg:gem/reline#lib/reline/line_editor.rb:1259 def byteslice!(str, byte_pointer, size); end - # source://reline//lib/reline/line_editor.rb#308 + # pkg:gem/reline#lib/reline/line_editor.rb:308 def calculate_nearest_cursor(cursor); end - # source://reline//lib/reline/line_editor.rb#1272 + # pkg:gem/reline#lib/reline/line_editor.rb:1272 def calculate_width(str, allow_escape_code = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1878 + # pkg:gem/reline#lib/reline/line_editor.rb:1878 def capitalize_word(key); end - # source://reline//lib/reline/line_editor.rb#95 + # pkg:gem/reline#lib/reline/line_editor.rb:95 def check_mode_string; end - # source://reline//lib/reline/line_editor.rb#109 + # pkg:gem/reline#lib/reline/line_editor.rb:109 def check_multiline_prompt(buffer, mode_string); end - # source://reline//lib/reline/line_editor.rb#972 + # pkg:gem/reline#lib/reline/line_editor.rb:972 def cleanup_waiting; end - # source://reline//lib/reline/line_editor.rb#544 + # pkg:gem/reline#lib/reline/line_editor.rb:544 def clear_rendered_screen_cache; end - # source://reline//lib/reline/line_editor.rb#1802 + # pkg:gem/reline#lib/reline/line_editor.rb:1802 def clear_screen(key); end - # source://reline//lib/reline/line_editor.rb#1292 + # pkg:gem/reline#lib/reline/line_editor.rb:1292 def complete(_key); end - # source://reline//lib/reline/line_editor.rb#1310 + # pkg:gem/reline#lib/reline/line_editor.rb:1310 def completion_journey_move(direction); end - # source://reline//lib/reline/line_editor.rb#1326 + # pkg:gem/reline#lib/reline/line_editor.rb:1326 def completion_journey_up(_key); end - # source://reline//lib/reline/line_editor.rb#1916 + # pkg:gem/reline#lib/reline/line_editor.rb:1916 def copy_for_vi(text); end - # source://reline//lib/reline/line_editor.rb#1764 + # pkg:gem/reline#lib/reline/line_editor.rb:1764 def delete_char(key); end - # source://reline//lib/reline/line_editor.rb#1778 + # pkg:gem/reline#lib/reline/line_editor.rb:1778 def delete_char_or_list(key); end - # source://reline//lib/reline/line_editor.rb#696 + # pkg:gem/reline#lib/reline/line_editor.rb:696 def dialog_range(dialog, dialog_y); end - # source://reline//lib/reline/line_editor.rb#1891 + # pkg:gem/reline#lib/reline/line_editor.rb:1891 def downcase_word(key); end - # source://reline//lib/reline/line_editor.rb#2169 + # pkg:gem/reline#lib/reline/line_editor.rb:2169 def ed_argument_digit(key); end - # source://reline//lib/reline/line_editor.rb#1649 + # pkg:gem/reline#lib/reline/line_editor.rb:1649 def ed_beginning_of_history(key); end - # source://reline//lib/reline/line_editor.rb#1796 + # pkg:gem/reline#lib/reline/line_editor.rb:1796 def ed_clear_screen(key); end - # source://reline//lib/reline/line_editor.rb#2115 + # pkg:gem/reline#lib/reline/line_editor.rb:2115 def ed_delete_next_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2027 + # pkg:gem/reline#lib/reline/line_editor.rb:2027 def ed_delete_prev_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1830 + # pkg:gem/reline#lib/reline/line_editor.rb:1830 def ed_delete_prev_word(key); end - # source://reline//lib/reline/line_editor.rb#1370 + # pkg:gem/reline#lib/reline/line_editor.rb:1370 def ed_digit(key); end - # source://reline//lib/reline/line_editor.rb#1654 + # pkg:gem/reline#lib/reline/line_editor.rb:1654 def ed_end_of_history(key); end - # source://reline//lib/reline/line_editor.rb#1681 + # pkg:gem/reline#lib/reline/line_editor.rb:1681 def ed_force_submit(_key); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -1976,7 +1976,7 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1353 + # pkg:gem/reline#lib/reline/line_editor.rb:1353 def ed_insert(str); end # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+, @@ -1985,66 +1985,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#1707 + # pkg:gem/reline#lib/reline/line_editor.rb:1707 def ed_kill_line(key); end - # source://reline//lib/reline/line_editor.rb#1419 + # pkg:gem/reline#lib/reline/line_editor.rb:1419 def ed_move_to_beg(key); end - # source://reline//lib/reline/line_editor.rb#1432 + # pkg:gem/reline#lib/reline/line_editor.rb:1432 def ed_move_to_end(key); end - # source://reline//lib/reline/line_editor.rb#1659 + # pkg:gem/reline#lib/reline/line_editor.rb:1659 def ed_newline(key); end - # source://reline//lib/reline/line_editor.rb#1389 + # pkg:gem/reline#lib/reline/line_editor.rb:1389 def ed_next_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1632 + # pkg:gem/reline#lib/reline/line_editor.rb:1632 def ed_next_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1402 + # pkg:gem/reline#lib/reline/line_editor.rb:1402 def ed_prev_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1615 + # pkg:gem/reline#lib/reline/line_editor.rb:1615 def ed_prev_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1812 + # pkg:gem/reline#lib/reline/line_editor.rb:1812 def ed_prev_word(key); end - # source://reline//lib/reline/line_editor.rb#1578 + # pkg:gem/reline#lib/reline/line_editor.rb:1578 def ed_search_next_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1563 + # pkg:gem/reline#lib/reline/line_editor.rb:1563 def ed_search_prev_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1840 + # pkg:gem/reline#lib/reline/line_editor.rb:1840 def ed_transpose_chars(key); end - # source://reline//lib/reline/line_editor.rb#1857 + # pkg:gem/reline#lib/reline/line_editor.rb:1857 def ed_transpose_words(key); end # do nothing # - # source://reline//lib/reline/line_editor.rb#1332 + # pkg:gem/reline#lib/reline/line_editor.rb:1332 def ed_unassigned(key); end - # source://reline//lib/reline/line_editor.rb#1870 + # pkg:gem/reline#lib/reline/line_editor.rb:1870 def em_capitol_case(key); end - # source://reline//lib/reline/line_editor.rb#1751 + # pkg:gem/reline#lib/reline/line_editor.rb:1751 def em_delete(key); end - # source://reline//lib/reline/line_editor.rb#1820 + # pkg:gem/reline#lib/reline/line_editor.rb:1820 def em_delete_next_word(key); end - # source://reline//lib/reline/line_editor.rb#1766 + # pkg:gem/reline#lib/reline/line_editor.rb:1766 def em_delete_or_list(key); end - # source://reline//lib/reline/line_editor.rb#1686 + # pkg:gem/reline#lib/reline/line_editor.rb:1686 def em_delete_prev_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2310 + # pkg:gem/reline#lib/reline/line_editor.rb:2310 def em_exchange_mark(key); end # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the @@ -2052,87 +2052,87 @@ 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#1743 + # pkg:gem/reline#lib/reline/line_editor.rb:1743 def em_kill_line(key); end - # source://reline//lib/reline/line_editor.rb#1906 + # pkg:gem/reline#lib/reline/line_editor.rb:1906 def em_kill_region(key); end - # source://reline//lib/reline/line_editor.rb#1880 + # pkg:gem/reline#lib/reline/line_editor.rb:1880 def em_lower_case(key); end - # source://reline//lib/reline/line_editor.rb#1804 + # pkg:gem/reline#lib/reline/line_editor.rb:1804 def em_next_word(key); end - # source://reline//lib/reline/line_editor.rb#2305 + # pkg:gem/reline#lib/reline/line_editor.rb:2305 def em_set_mark(key); end - # source://reline//lib/reline/line_editor.rb#1893 + # pkg:gem/reline#lib/reline/line_editor.rb:1893 def em_upper_case(key); end - # source://reline//lib/reline/line_editor.rb#1780 + # pkg:gem/reline#lib/reline/line_editor.rb:1780 def em_yank(key); end - # source://reline//lib/reline/line_editor.rb#1786 + # pkg:gem/reline#lib/reline/line_editor.rb:1786 def em_yank_pop(key); end - # source://reline//lib/reline/line_editor.rb#2318 + # pkg:gem/reline#lib/reline/line_editor.rb:2318 def emacs_editing_mode(key); end - # source://reline//lib/reline/line_editor.rb#1657 + # pkg:gem/reline#lib/reline/line_editor.rb:1657 def end_of_history(key); end - # source://reline//lib/reline/line_editor.rb#1435 + # pkg:gem/reline#lib/reline/line_editor.rb:1435 def end_of_line(key); end - # source://reline//lib/reline/line_editor.rb#2316 + # pkg:gem/reline#lib/reline/line_editor.rb:2316 def exchange_point_and_mark(key); end - # source://reline//lib/reline/line_editor.rb#802 + # pkg:gem/reline#lib/reline/line_editor.rb:802 def filter_normalize_candidates(target, list); end - # source://reline//lib/reline/line_editor.rb#1400 + # pkg:gem/reline#lib/reline/line_editor.rb:1400 def forward_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1551 + # pkg:gem/reline#lib/reline/line_editor.rb:1551 def forward_search_history(key); end - # source://reline//lib/reline/line_editor.rb#1810 + # pkg:gem/reline#lib/reline/line_editor.rb:1810 def forward_word(key); end - # source://reline//lib/reline/line_editor.rb#1437 + # pkg:gem/reline#lib/reline/line_editor.rb:1437 def generate_searcher(direction); end - # source://reline//lib/reline/line_editor.rb#185 + # pkg:gem/reline#lib/reline/line_editor.rb:185 def handle_interrupted; end - # source://reline//lib/reline/line_editor.rb#173 + # pkg:gem/reline#lib/reline/line_editor.rb:173 def handle_resized; end - # source://reline//lib/reline/line_editor.rb#1576 + # pkg:gem/reline#lib/reline/line_editor.rb:1576 def history_search_backward(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1591 + # pkg:gem/reline#lib/reline/line_editor.rb:1591 def history_search_forward(key, arg: T.unsafe(nil)); end # @return [Boolean] # - # source://reline//lib/reline/line_editor.rb#943 + # pkg:gem/reline#lib/reline/line_editor.rb:943 def inclusive?(method_obj); end - # source://reline//lib/reline/line_editor.rb#1514 + # pkg:gem/reline#lib/reline/line_editor.rb:1514 def incremental_search_history(direction); end - # source://reline//lib/reline/line_editor.rb#277 + # pkg:gem/reline#lib/reline/line_editor.rb:277 def insert_new_line(cursor_line, next_line); end - # source://reline//lib/reline/line_editor.rb#1378 + # pkg:gem/reline#lib/reline/line_editor.rb:1378 def insert_raw_char(str, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1276 + # pkg:gem/reline#lib/reline/line_editor.rb:1276 def key_delete(key); end - # source://reline//lib/reline/line_editor.rb#1284 + # pkg:gem/reline#lib/reline/line_editor.rb:1284 def key_newline(key); end # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+, @@ -2141,7 +2141,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#1716 + # pkg:gem/reline#lib/reline/line_editor.rb:1716 def kill_line(key); end # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the @@ -2149,82 +2149,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#1749 + # pkg:gem/reline#lib/reline/line_editor.rb:1749 def kill_whole_line(key); end - # source://reline//lib/reline/line_editor.rb#1828 + # pkg:gem/reline#lib/reline/line_editor.rb:1828 def kill_word(key); end - # source://reline//lib/reline/line_editor.rb#798 + # pkg:gem/reline#lib/reline/line_editor.rb:798 def menu(list); end - # source://reline//lib/reline/line_editor.rb#1318 + # pkg:gem/reline#lib/reline/line_editor.rb:1318 def menu_complete(_key); end - # source://reline//lib/reline/line_editor.rb#1322 + # pkg:gem/reline#lib/reline/line_editor.rb:1322 def menu_complete_backward(_key); end - # source://reline//lib/reline/line_editor.rb#786 + # pkg:gem/reline#lib/reline/line_editor.rb:786 def modify_lines(before, complete); end - # source://reline//lib/reline/line_editor.rb#880 + # pkg:gem/reline#lib/reline/line_editor.rb:880 def move_completed_list(direction); end - # source://reline//lib/reline/line_editor.rb#1593 + # pkg:gem/reline#lib/reline/line_editor.rb:1593 def move_history(history_pointer, line:, cursor:); end - # source://reline//lib/reline/line_editor.rb#2326 + # pkg:gem/reline#lib/reline/line_editor.rb:2326 def move_undo_redo(direction); end - # source://reline//lib/reline/line_editor.rb#1647 + # pkg:gem/reline#lib/reline/line_editor.rb:1647 def next_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#825 + # pkg:gem/reline#lib/reline/line_editor.rb:825 def perform_completion(preposing, target, postposing, quote, list); end - # source://reline//lib/reline/line_editor.rb#2345 + # pkg:gem/reline#lib/reline/line_editor.rb:2345 def prev_action_state_value(type); end - # source://reline//lib/reline/line_editor.rb#1630 + # pkg:gem/reline#lib/reline/line_editor.rb:1630 def previous_history(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1103 + # pkg:gem/reline#lib/reline/line_editor.rb:1103 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#1334 + # pkg:gem/reline#lib/reline/line_editor.rb:1334 def process_insert(force: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#983 + # pkg:gem/reline#lib/reline/line_editor.rb:983 def process_key(key, method_symbol); end - # source://reline//lib/reline/line_editor.rb#2353 + # pkg:gem/reline#lib/reline/line_editor.rb:2353 def re_read_init_file(_key); end - # source://reline//lib/reline/line_editor.rb#2341 + # pkg:gem/reline#lib/reline/line_editor.rb:2341 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#507 + # pkg:gem/reline#lib/reline/line_editor.rb:507 def render_differential(new_lines, new_cursor_x, new_cursor_y); end - # source://reline//lib/reline/line_editor.rb#892 + # pkg:gem/reline#lib/reline/line_editor.rb:892 def retrieve_completion_journey_state; end - # source://reline//lib/reline/line_editor.rb#1546 + # pkg:gem/reline#lib/reline/line_editor.rb:1546 def reverse_search_history(key); end - # source://reline//lib/reline/line_editor.rb#907 + # pkg:gem/reline#lib/reline/line_editor.rb:907 def run_for_operators(key, method_symbol); end - # source://reline//lib/reline/line_editor.rb#1553 + # pkg:gem/reline#lib/reline/line_editor.rb:1553 def search_history(prefix, pointer_range); end - # source://reline//lib/reline/line_editor.rb#2216 + # pkg:gem/reline#lib/reline/line_editor.rb:2216 def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2263 + # pkg:gem/reline#lib/reline/line_editor.rb:2263 def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters) @@ -2241,25 +2241,25 @@ class Reline::LineEditor # million. # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself. # - # source://reline//lib/reline/line_editor.rb#1368 + # pkg:gem/reline#lib/reline/line_editor.rb:1368 def self_insert(str); end - # source://reline//lib/reline/line_editor.rb#2308 + # pkg:gem/reline#lib/reline/line_editor.rb:2308 def set_mark(key); end - # source://reline//lib/reline/line_editor.rb#2349 + # pkg:gem/reline#lib/reline/line_editor.rb:2349 def set_next_action_state(type, value); end - # source://reline//lib/reline/line_editor.rb#300 + # pkg:gem/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#1855 + # pkg:gem/reline#lib/reline/line_editor.rb:1855 def transpose_chars(key); end - # source://reline//lib/reline/line_editor.rb#1868 + # pkg:gem/reline#lib/reline/line_editor.rb:1868 def transpose_words(key); end - # source://reline//lib/reline/line_editor.rb#2337 + # pkg:gem/reline#lib/reline/line_editor.rb:2337 def undo(_key); end # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the @@ -2268,75 +2268,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#1737 + # pkg:gem/reline#lib/reline/line_editor.rb:1737 def unix_line_discard(key); end - # source://reline//lib/reline/line_editor.rb#1914 + # pkg:gem/reline#lib/reline/line_editor.rb:1914 def unix_word_rubout(key); end - # source://reline//lib/reline/line_editor.rb#1904 + # pkg:gem/reline#lib/reline/line_editor.rb:1904 def upcase_word(key); end - # source://reline//lib/reline/line_editor.rb#702 + # pkg:gem/reline#lib/reline/line_editor.rb:702 def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1926 + # pkg:gem/reline#lib/reline/line_editor.rb:1926 def vi_add(key); end - # source://reline//lib/reline/line_editor.rb#2022 + # pkg:gem/reline#lib/reline/line_editor.rb:2022 def vi_add_at_eol(key); end - # source://reline//lib/reline/line_editor.rb#2041 + # pkg:gem/reline#lib/reline/line_editor.rb:2041 def vi_change_meta(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2053 + # pkg:gem/reline#lib/reline/line_editor.rb:2053 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#1719 + # pkg:gem/reline#lib/reline/line_editor.rb:1719 def vi_change_to_eol(key); end - # source://reline//lib/reline/line_editor.rb#1931 + # pkg:gem/reline#lib/reline/line_editor.rb:1931 def vi_command_mode(key); end - # source://reline//lib/reline/line_editor.rb#2059 + # pkg:gem/reline#lib/reline/line_editor.rb:2059 def vi_delete_meta(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2070 + # pkg:gem/reline#lib/reline/line_editor.rb:2070 def vi_delete_meta_confirm(byte_pointer_diff); end - # source://reline//lib/reline/line_editor.rb#2003 + # pkg:gem/reline#lib/reline/line_editor.rb:2003 def vi_delete_prev_char(key); end - # source://reline//lib/reline/line_editor.rb#2322 + # pkg:gem/reline#lib/reline/line_editor.rb:2322 def vi_editing_mode(key); end - # source://reline//lib/reline/line_editor.rb#1988 + # pkg:gem/reline#lib/reline/line_editor.rb:1988 def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2112 + # pkg:gem/reline#lib/reline/line_editor.rb:2112 def vi_end_of_transmission(key); end - # source://reline//lib/reline/line_editor.rb#1955 + # pkg:gem/reline#lib/reline/line_editor.rb:1955 def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2113 + # pkg:gem/reline#lib/reline/line_editor.rb:2113 def vi_eof_maybe(key); end - # source://reline//lib/reline/line_editor.rb#1415 + # pkg:gem/reline#lib/reline/line_editor.rb:1415 def vi_first_print(key); end - # source://reline//lib/reline/line_editor.rb#2138 + # pkg:gem/reline#lib/reline/line_editor.rb:2138 def vi_histedit(key); end - # source://reline//lib/reline/line_editor.rb#1922 + # pkg:gem/reline#lib/reline/line_editor.rb:1922 def vi_insert(key); end - # source://reline//lib/reline/line_editor.rb#2017 + # pkg:gem/reline#lib/reline/line_editor.rb:2017 def vi_insert_at_bol(key); end - # source://reline//lib/reline/line_editor.rb#2296 + # pkg:gem/reline#lib/reline/line_editor.rb:2296 def vi_join_lines(key, arg: T.unsafe(nil)); end # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the @@ -2345,86 +2345,86 @@ 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#1730 + # pkg:gem/reline#lib/reline/line_editor.rb:1730 def vi_kill_line_prev(key); end - # source://reline//lib/reline/line_editor.rb#2104 + # pkg:gem/reline#lib/reline/line_editor.rb:2104 def vi_list_or_eof(key); end - # source://reline//lib/reline/line_editor.rb#1935 + # pkg:gem/reline#lib/reline/line_editor.rb:1935 def vi_movement_mode(key); end - # source://reline//lib/reline/line_editor.rb#1970 + # pkg:gem/reline#lib/reline/line_editor.rb:1970 def vi_next_big_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2208 + # pkg:gem/reline#lib/reline/line_editor.rb:2208 def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1937 + # pkg:gem/reline#lib/reline/line_editor.rb:1937 def vi_next_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2159 + # pkg:gem/reline#lib/reline/line_editor.rb:2159 def vi_paste_next(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2150 + # pkg:gem/reline#lib/reline/line_editor.rb:2150 def vi_paste_prev(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1979 + # pkg:gem/reline#lib/reline/line_editor.rb:1979 def vi_prev_big_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2255 + # pkg:gem/reline#lib/reline/line_editor.rb:2255 def vi_prev_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1946 + # pkg:gem/reline#lib/reline/line_editor.rb:1946 def vi_prev_word(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2184 + # pkg:gem/reline#lib/reline/line_editor.rb:2184 def vi_replace_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#1548 + # pkg:gem/reline#lib/reline/line_editor.rb:1548 def vi_search_next(key); end - # source://reline//lib/reline/line_editor.rb#1543 + # pkg:gem/reline#lib/reline/line_editor.rb:1543 def vi_search_prev(key); end - # source://reline//lib/reline/line_editor.rb#2175 + # pkg:gem/reline#lib/reline/line_editor.rb:2175 def vi_to_column(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2131 + # pkg:gem/reline#lib/reline/line_editor.rb:2131 def vi_to_history_line(key); end - # source://reline//lib/reline/line_editor.rb#2212 + # pkg:gem/reline#lib/reline/line_editor.rb:2212 def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2259 + # pkg:gem/reline#lib/reline/line_editor.rb:2259 def vi_to_prev_char(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2082 + # pkg:gem/reline#lib/reline/line_editor.rb:2082 def vi_yank(key, arg: T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#2093 + # pkg:gem/reline#lib/reline/line_editor.rb:2093 def vi_yank_confirm(byte_pointer_diff); end - # source://reline//lib/reline/line_editor.rb#1424 + # pkg:gem/reline#lib/reline/line_editor.rb:1424 def vi_zero(key); end - # source://reline//lib/reline/line_editor.rb#1784 + # pkg:gem/reline#lib/reline/line_editor.rb:1784 def yank(key); end - # source://reline//lib/reline/line_editor.rb#1794 + # pkg:gem/reline#lib/reline/line_editor.rb:1794 def yank_pop(key); end end -# source://reline//lib/reline/line_editor.rb#980 +# pkg:gem/reline#lib/reline/line_editor.rb:980 Reline::LineEditor::ARGUMENT_DIGIT_METHODS = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline/line_editor.rb#45 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def line_index; end # Sets the attribute line_index @@ -2432,14 +2432,14 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def list; end # Sets the attribute list @@ -2447,14 +2447,14 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def pointer; end # Sets the attribute pointer @@ -2462,14 +2462,14 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def post; end # Sets the attribute post @@ -2477,14 +2477,14 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def pre; end # Sets the attribute pre @@ -2492,14 +2492,14 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def target; end # Sets the attribute target @@ -2507,200 +2507,200 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct # @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 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def target=(_); end class << self - # source://reline//lib/reline/line_editor.rb#45 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def [](*_arg0); end - # source://reline//lib/reline/line_editor.rb#45 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def inspect; end - # source://reline//lib/reline/line_editor.rb#45 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def keyword_init?; end - # source://reline//lib/reline/line_editor.rb#45 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def members; end - # source://reline//lib/reline/line_editor.rb#45 + # pkg:gem/reline#lib/reline/line_editor.rb:45 def new(*_arg0); end end end -# source://reline//lib/reline/line_editor.rb#38 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#694 +# pkg:gem/reline#lib/reline/line_editor.rb:694 Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer) -# source://reline//lib/reline/line_editor.rb#640 +# pkg:gem/reline#lib/reline/line_editor.rb:640 class Reline::LineEditor::Dialog # @return [Dialog] a new instance of Dialog # - # source://reline//lib/reline/line_editor.rb#644 + # pkg:gem/reline#lib/reline/line_editor.rb:644 def initialize(name, config, proc_scope); end - # source://reline//lib/reline/line_editor.rb#668 + # pkg:gem/reline#lib/reline/line_editor.rb:668 def call(key); end # Returns the value of attribute column. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def column; end # Sets the attribute column # # @param value the value to set the attribute column to. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def column=(_arg0); end # Returns the value of attribute contents. # - # source://reline//lib/reline/line_editor.rb#641 + # pkg:gem/reline#lib/reline/line_editor.rb:641 def contents; end - # source://reline//lib/reline/line_editor.rb#661 + # pkg:gem/reline#lib/reline/line_editor.rb:661 def contents=(contents); end # Returns the value of attribute name. # - # source://reline//lib/reline/line_editor.rb#641 + # pkg:gem/reline#lib/reline/line_editor.rb:641 def name; end # Returns the value of attribute pointer. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def pointer; end # Sets the attribute pointer # # @param value the value to set the attribute pointer to. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def pointer=(_arg0); end # Returns the value of attribute scroll_top. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 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#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def scroll_top=(_arg0); end - # source://reline//lib/reline/line_editor.rb#653 + # pkg:gem/reline#lib/reline/line_editor.rb:653 def set_cursor_pos(col, row); end # Returns the value of attribute trap_key. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 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#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def trap_key=(_arg0); end # Returns the value of attribute vertical_offset. # - # source://reline//lib/reline/line_editor.rb#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 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#642 + # pkg:gem/reline#lib/reline/line_editor.rb:642 def vertical_offset=(_arg0); end # Returns the value of attribute width. # - # source://reline//lib/reline/line_editor.rb#641 + # pkg:gem/reline#lib/reline/line_editor.rb:641 def width; end - # source://reline//lib/reline/line_editor.rb#657 + # pkg:gem/reline#lib/reline/line_editor.rb:657 def width=(v); end end -# source://reline//lib/reline/line_editor.rb#561 +# pkg:gem/reline#lib/reline/line_editor.rb:561 class Reline::LineEditor::DialogProcScope # @return [DialogProcScope] a new instance of DialogProcScope # - # source://reline//lib/reline/line_editor.rb#564 + # pkg:gem/reline#lib/reline/line_editor.rb:564 def initialize(line_editor, config, proc_to_exec, context); end - # source://reline//lib/reline/line_editor.rb#635 + # pkg:gem/reline#lib/reline/line_editor.rb:635 def call; end - # source://reline//lib/reline/line_editor.rb#581 + # pkg:gem/reline#lib/reline/line_editor.rb:581 def call_completion_proc_with_checking_args(pre, target, post); end - # source://reline//lib/reline/line_editor.rb#627 + # pkg:gem/reline#lib/reline/line_editor.rb:627 def completion_journey_data; end - # source://reline//lib/reline/line_editor.rb#631 + # pkg:gem/reline#lib/reline/line_editor.rb:631 def config; end - # source://reline//lib/reline/line_editor.rb#572 + # pkg:gem/reline#lib/reline/line_editor.rb:572 def context; end - # source://reline//lib/reline/line_editor.rb#606 + # pkg:gem/reline#lib/reline/line_editor.rb:606 def cursor_pos; end - # source://reline//lib/reline/line_editor.rb#589 + # pkg:gem/reline#lib/reline/line_editor.rb:589 def dialog; end - # source://reline//lib/reline/line_editor.rb#610 + # pkg:gem/reline#lib/reline/line_editor.rb:610 def just_cursor_moving; end - # source://reline//lib/reline/line_editor.rb#602 + # pkg:gem/reline#lib/reline/line_editor.rb:602 def key; end - # source://reline//lib/reline/line_editor.rb#622 + # pkg:gem/reline#lib/reline/line_editor.rb:622 def preferred_dialog_height; end - # source://reline//lib/reline/line_editor.rb#576 + # pkg:gem/reline#lib/reline/line_editor.rb:576 def retrieve_completion_block(_unused = T.unsafe(nil)); end - # source://reline//lib/reline/line_editor.rb#618 + # pkg:gem/reline#lib/reline/line_editor.rb:618 def screen_height; end - # source://reline//lib/reline/line_editor.rb#614 + # pkg:gem/reline#lib/reline/line_editor.rb:614 def screen_width; end - # source://reline//lib/reline/line_editor.rb#593 + # pkg:gem/reline#lib/reline/line_editor.rb:593 def set_cursor_pos(col, row); end - # source://reline//lib/reline/line_editor.rb#585 + # pkg:gem/reline#lib/reline/line_editor.rb:585 def set_dialog(dialog); end - # source://reline//lib/reline/line_editor.rb#598 + # pkg:gem/reline#lib/reline/line_editor.rb:598 def set_key(key); end end -# source://reline//lib/reline/line_editor.rb#562 +# pkg:gem/reline#lib/reline/line_editor.rb:562 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#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def list; end # Sets the attribute list @@ -2708,14 +2708,14 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # @param value [Object] the value to set the attribute list to. # @return [Object] the newly set value # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def list=(_); end # Returns the value of attribute pointer # # @return [Object] the current value of pointer # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def pointer; end # Sets the attribute pointer @@ -2723,14 +2723,14 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # @param value [Object] the value to set the attribute pointer to. # @return [Object] the newly set value # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def pointer=(_); end # Returns the value of attribute postposing # # @return [Object] the current value of postposing # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def postposing; end # Sets the attribute postposing @@ -2738,14 +2738,14 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # @param value [Object] the value to set the attribute postposing to. # @return [Object] the newly set value # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def postposing=(_); end # Returns the value of attribute preposing # # @return [Object] the current value of preposing # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def preposing; end # Sets the attribute preposing @@ -2753,59 +2753,59 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct # @param value [Object] the value to set the attribute preposing to. # @return [Object] the newly set value # - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def preposing=(_); end class << self - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def [](*_arg0); end - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def inspect; end - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def keyword_init?; end - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def members; end - # source://reline//lib/reline/line_editor.rb#562 + # pkg:gem/reline#lib/reline/line_editor.rb:562 def new(*_arg0); end end end -# source://reline//lib/reline/line_editor.rb#1050 +# pkg:gem/reline#lib/reline/line_editor.rb:1050 Reline::LineEditor::MAX_UNDO_REDO_HISTORY_SIZE = T.let(T.unsafe(nil), Integer) -# source://reline//lib/reline/line_editor.rb#71 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:51 def initialize(list); end - # source://reline//lib/reline/line_editor.rb#55 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:49 def list; end end -# source://reline//lib/reline/line_editor.rb#46 +# pkg:gem/reline#lib/reline/line_editor.rb:46 Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline/line_editor.rb#43 +# pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def base_y; end # Sets the attribute base_y @@ -2813,14 +2813,14 @@ class Reline::LineEditor::RenderedScreen < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def cursor_y; end # Sets the attribute cursor_y @@ -2828,14 +2828,14 @@ class Reline::LineEditor::RenderedScreen < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def lines; end # Sets the attribute lines @@ -2843,153 +2843,153 @@ class Reline::LineEditor::RenderedScreen < ::Struct # @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 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def lines=(_); end class << self - # source://reline//lib/reline/line_editor.rb#43 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def [](*_arg0); end - # source://reline//lib/reline/line_editor.rb#43 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def inspect; end - # source://reline//lib/reline/line_editor.rb#43 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def keyword_init?; end - # source://reline//lib/reline/line_editor.rb#43 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def members; end - # source://reline//lib/reline/line_editor.rb#43 + # pkg:gem/reline#lib/reline/line_editor.rb:43 def new(*_arg0); end end end -# source://reline//lib/reline/line_editor.rb#17 +# pkg:gem/reline#lib/reline/line_editor.rb:17 Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline/line_editor.rb#981 +# pkg:gem/reline#lib/reline/line_editor.rb:981 Reline::LineEditor::VI_WAITING_ACCEPT_METHODS = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline.rb#16 +# pkg:gem/reline#lib/reline.rb:16 Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped) -# source://reline//lib/reline/unicode.rb#1 +# pkg:gem/reline#lib/reline/unicode.rb:1 class Reline::Unicode class << self - # source://reline//lib/reline/unicode.rb#104 + # pkg:gem/reline#lib/reline/unicode.rb:104 def calculate_width(str, allow_escape_code = T.unsafe(nil)); end - # source://reline//lib/reline/unicode.rb#393 + # pkg:gem/reline#lib/reline/unicode.rb:393 def common_prefix(list, ignore_case: T.unsafe(nil)); end - # source://reline//lib/reline/unicode.rb#75 + # pkg:gem/reline#lib/reline/unicode.rb:75 def east_asian_width(ord); end - # source://reline//lib/reline/unicode.rb#298 + # pkg:gem/reline#lib/reline/unicode.rb:298 def ed_transpose_words(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#284 + # pkg:gem/reline#lib/reline/unicode.rb:284 def em_backward_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#291 + # pkg:gem/reline#lib/reline/unicode.rb:291 def em_big_backward_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#270 + # pkg:gem/reline#lib/reline/unicode.rb:270 def em_forward_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#277 + # pkg:gem/reline#lib/reline/unicode.rb:277 def em_forward_word_with_capitalization(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#44 + # pkg:gem/reline#lib/reline/unicode.rb:44 def escape_for_print(str); end - # source://reline//lib/reline/unicode.rb#81 + # pkg:gem/reline#lib/reline/unicode.rb:81 def get_mbchar_width(mbchar); end - # source://reline//lib/reline/unicode.rb#256 + # pkg:gem/reline#lib/reline/unicode.rb:256 def get_next_mbchar_size(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#261 + # pkg:gem/reline#lib/reline/unicode.rb:261 def get_prev_mbchar_size(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#57 + # pkg:gem/reline#lib/reline/unicode.rb:57 def safe_encode(str, encoding); end # @return [Boolean] # - # source://reline//lib/reline/unicode.rb#418 + # pkg:gem/reline#lib/reline/unicode.rb:418 def space_character?(s); end # This method is used by IRB # - # source://reline//lib/reline/unicode.rb#131 + # pkg:gem/reline#lib/reline/unicode.rb:131 def split_by_width(str, max_width); end - # source://reline//lib/reline/unicode.rb#136 + # pkg:gem/reline#lib/reline/unicode.rb:136 def split_line_by_width(str, max_width, encoding = T.unsafe(nil), offset: T.unsafe(nil)); end - # source://reline//lib/reline/unicode.rb#178 + # pkg:gem/reline#lib/reline/unicode.rb:178 def strip_non_printing_start_end(prompt); end - # source://reline//lib/reline/unicode.rb#187 + # pkg:gem/reline#lib/reline/unicode.rb:187 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#183 + # pkg:gem/reline#lib/reline/unicode.rb:183 def take_range(str, start_col, max_width); end - # source://reline//lib/reline/unicode.rb#384 + # pkg:gem/reline#lib/reline/unicode.rb:384 def vi_backward_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#339 + # pkg:gem/reline#lib/reline/unicode.rb:339 def vi_big_backward_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#329 + # pkg:gem/reline#lib/reline/unicode.rb:329 def vi_big_forward_end_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#322 + # pkg:gem/reline#lib/reline/unicode.rb:322 def vi_big_forward_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#406 + # pkg:gem/reline#lib/reline/unicode.rb:406 def vi_first_print(line); end - # source://reline//lib/reline/unicode.rb#366 + # pkg:gem/reline#lib/reline/unicode.rb:366 def vi_forward_end_word(line, byte_pointer); end - # source://reline//lib/reline/unicode.rb#346 + # pkg:gem/reline#lib/reline/unicode.rb:346 def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end # @return [Boolean] # - # source://reline//lib/reline/unicode.rb#412 + # pkg:gem/reline#lib/reline/unicode.rb:412 def word_character?(s); end end end -# source://reline//lib/reline/unicode.rb#40 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/reline#lib/reline/unicode/east_asian_width.rb:5 Reline::Unicode::EastAsianWidth::CHUNK_WIDTH = T.let(T.unsafe(nil), Array) -# source://reline//lib/reline/unicode.rb#2 +# pkg:gem/reline#lib/reline/unicode.rb:2 Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash) -# source://reline//lib/reline/unicode.rb#39 +# pkg:gem/reline#lib/reline/unicode.rb:39 Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String) -# source://reline//lib/reline/unicode.rb#38 +# pkg:gem/reline#lib/reline/unicode.rb:38 Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String) -# source://reline//lib/reline/unicode.rb#41 +# pkg:gem/reline#lib/reline/unicode.rb:41 Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://reline//lib/reline/unicode.rb#42 +# pkg:gem/reline#lib/reline/unicode.rb:42 Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp) -# source://reline//lib/reline/version.rb#2 +# pkg:gem/reline#lib/reline/version.rb:2 Reline::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/require-hooks@0.2.2.rbi b/sorbet/rbi/gems/require-hooks@0.2.2.rbi index a1b3d289f..f860eb8d5 100644 --- a/sorbet/rbi/gems/require-hooks@0.2.2.rbi +++ b/sorbet/rbi/gems/require-hooks@0.2.2.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem require-hooks`. -# source://require-hooks//lib/require-hooks/api.rb#3 +# pkg:gem/require-hooks#lib/require-hooks/api.rb:3 module RequireHooks class << self # Define a block to wrap the code loading. @@ -17,10 +17,10 @@ module RequireHooks # block.call.tap { puts "Loaded #{path}" } # end # - # source://require-hooks//lib/require-hooks/api.rb#71 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:71 def around_load(patterns: T.unsafe(nil), exclude_patterns: T.unsafe(nil), &block); end - # source://require-hooks//lib/require-hooks/api.rb#107 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:107 def context_for(path); end # This hook should be used to manually compile byte code to be loaded by the VM. @@ -38,19 +38,19 @@ module RequireHooks # end # end # - # source://require-hooks//lib/require-hooks/api.rb#103 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:103 def hijack_load(patterns: T.unsafe(nil), exclude_patterns: T.unsafe(nil), &block); end # Returns the value of attribute print_warnings. # - # source://require-hooks//lib/require-hooks/api.rb#61 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:61 def print_warnings; end # Sets the attribute print_warnings # # @param value the value to set the attribute print_warnings to. # - # source://require-hooks//lib/require-hooks/api.rb#61 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:61 def print_warnings=(_arg0); end # Define hooks to perform source-to-source transformations. @@ -62,46 +62,46 @@ module RequireHooks # RequireHooks.source_transform do |path, source| # end # - # source://require-hooks//lib/require-hooks/api.rb#85 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:85 def source_transform(patterns: T.unsafe(nil), exclude_patterns: T.unsafe(nil), &block); end end end -# source://require-hooks//lib/require-hooks/api.rb#8 +# pkg:gem/require-hooks#lib/require-hooks/api.rb:8 class RequireHooks::Context # @return [Context] a new instance of Context # - # source://require-hooks//lib/require-hooks/api.rb#9 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:9 def initialize(around_load, source_transform, hijack_load); end # @return [Boolean] # - # source://require-hooks//lib/require-hooks/api.rb#15 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:15 def empty?; end # @return [Boolean] # - # source://require-hooks//lib/require-hooks/api.rb#23 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:23 def hijack?; end - # source://require-hooks//lib/require-hooks/api.rb#37 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:37 def perform_source_transform(path); end - # source://require-hooks//lib/require-hooks/api.rb#27 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:27 def run_around_load_callbacks(path); end # @return [Boolean] # - # source://require-hooks//lib/require-hooks/api.rb#19 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:19 def source_transform?; end - # source://require-hooks//lib/require-hooks/api.rb#49 + # pkg:gem/require-hooks#lib/require-hooks/api.rb:49 def try_hijack_load(path, source); end end -# source://require-hooks//lib/require-hooks/mode/load_iseq.rb#4 +# pkg:gem/require-hooks#lib/require-hooks/mode/load_iseq.rb:4 module RequireHooks::LoadIseq - # source://require-hooks//lib/require-hooks/mode/load_iseq.rb#5 + # pkg:gem/require-hooks#lib/require-hooks/mode/load_iseq.rb:5 def load_iseq(path); end end diff --git a/sorbet/rbi/gems/rexml@3.4.4.rbi b/sorbet/rbi/gems/rexml@3.4.4.rbi index f8e102481..8dcbaf946 100644 --- a/sorbet/rbi/gems/rexml@3.4.4.rbi +++ b/sorbet/rbi/gems/rexml@3.4.4.rbi @@ -17,7 +17,7 @@ # AttlistDecls onto an intuitive Ruby interface, let me know. I'm desperate # for anything to make DTDs more palateable. # -# source://rexml//lib/rexml/attlistdecl.rb#18 +# pkg:gem/rexml#lib/rexml/attlistdecl.rb:18 class REXML::AttlistDecl < ::REXML::Child include ::Enumerable @@ -29,24 +29,24 @@ class REXML::AttlistDecl < ::REXML::Child # # @return [AttlistDecl] a new instance of AttlistDecl # - # source://rexml//lib/rexml/attlistdecl.rb#29 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:29 def initialize(source); end # Access the attlist attribute/value pairs. # value = attlist_decl[ attribute_name ] # - # source://rexml//lib/rexml/attlistdecl.rb#38 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:38 def [](key); end # Iterate over the key/value pairs: # attlist_decl.each { |attribute_name, attribute_value| ... } # - # source://rexml//lib/rexml/attlistdecl.rb#50 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:50 def each(&block); end # What is this? Got me. # - # source://rexml//lib/rexml/attlistdecl.rb#22 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:22 def element_name; end # Whether an attlist declaration includes the given attribute definition @@ -54,15 +54,15 @@ class REXML::AttlistDecl < ::REXML::Child # # @return [Boolean] # - # source://rexml//lib/rexml/attlistdecl.rb#44 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:44 def include?(key); end - # source://rexml//lib/rexml/attlistdecl.rb#59 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:59 def node_type; end # Write out exactly what we got in. # - # source://rexml//lib/rexml/attlistdecl.rb#55 + # pkg:gem/rexml#lib/rexml/attlistdecl.rb:55 def write(out, indent = T.unsafe(nil)); end end @@ -71,7 +71,7 @@ end # namespaces. General users of REXML will not interact with the # Attribute class much. # -# source://rexml//lib/rexml/attribute.rb#10 +# pkg:gem/rexml#lib/rexml/attribute.rb:10 class REXML::Attribute include ::REXML::Node include ::REXML::XMLTokens @@ -102,29 +102,29 @@ class REXML::Attribute # # @return [Attribute] a new instance of Attribute # - # source://rexml//lib/rexml/attribute.rb#42 + # pkg:gem/rexml#lib/rexml/attribute.rb:42 def initialize(first, second = T.unsafe(nil), parent = T.unsafe(nil)); end # Returns true if other is an Attribute and has the same name and value, # false otherwise. # - # source://rexml//lib/rexml/attribute.rb#106 + # pkg:gem/rexml#lib/rexml/attribute.rb:106 def ==(other); end # Returns a copy of this attribute # - # source://rexml//lib/rexml/attribute.rb#161 + # pkg:gem/rexml#lib/rexml/attribute.rb:161 def clone; end - # source://rexml//lib/rexml/attribute.rb#132 + # pkg:gem/rexml#lib/rexml/attribute.rb:132 def doctype; end - # source://rexml//lib/rexml/attribute.rb#205 + # pkg:gem/rexml#lib/rexml/attribute.rb:205 def document; end # The element to which this attribute belongs # - # source://rexml//lib/rexml/attribute.rb#15 + # pkg:gem/rexml#lib/rexml/attribute.rb:15 def element; end # Sets the element of which this object is an attribute. Normally, this @@ -132,15 +132,15 @@ class REXML::Attribute # # Returns this attribute # - # source://rexml//lib/rexml/attribute.rb#169 + # pkg:gem/rexml#lib/rexml/attribute.rb:169 def element=(element); end # Creates (and returns) a hash from both the name and value # - # source://rexml//lib/rexml/attribute.rb#111 + # pkg:gem/rexml#lib/rexml/attribute.rb:111 def hash; end - # source://rexml//lib/rexml/attribute.rb#195 + # pkg:gem/rexml#lib/rexml/attribute.rb:195 def inspect; end # Returns the namespace URL, if defined, or nil otherwise @@ -165,16 +165,16 @@ class REXML::Attribute # e.add_attribute("a", "b") # e.attribute("a").namespace # => "" # - # source://rexml//lib/rexml/attribute.rb#95 + # pkg:gem/rexml#lib/rexml/attribute.rb:95 def namespace(arg = T.unsafe(nil)); end - # source://rexml//lib/rexml/attribute.rb#191 + # pkg:gem/rexml#lib/rexml/attribute.rb:191 def node_type; end # The normalized value of this attribute. That is, the attribute with # entities intact. # - # source://rexml//lib/rexml/attribute.rb#155 + # pkg:gem/rexml#lib/rexml/attribute.rb:155 def normalized=(new_normalized); end # Returns the namespace of the attribute. @@ -187,19 +187,19 @@ class REXML::Attribute # a = Attribute.new( "x", "y" ) # a.prefix # -> "" # - # source://rexml//lib/rexml/attribute.rb#70 + # pkg:gem/rexml#lib/rexml/attribute.rb:70 def prefix; end # Removes this Attribute from the tree, and returns true if successful # # This method is usually not called directly. # - # source://rexml//lib/rexml/attribute.rb#182 + # pkg:gem/rexml#lib/rexml/attribute.rb:182 def remove; end # Returns the attribute value, with entities replaced # - # source://rexml//lib/rexml/attribute.rb#137 + # pkg:gem/rexml#lib/rexml/attribute.rb:137 def to_s; end # Returns this attribute out as XML source, expanding the name @@ -209,28 +209,28 @@ class REXML::Attribute # b = Attribute.new( "ns:x", "y" ) # b.to_string # -> "ns:x='y'" # - # source://rexml//lib/rexml/attribute.rb#121 + # pkg:gem/rexml#lib/rexml/attribute.rb:121 def to_string; end # Returns the UNNORMALIZED value of this attribute. That is, entities # have been expanded to their values # - # source://rexml//lib/rexml/attribute.rb#146 + # pkg:gem/rexml#lib/rexml/attribute.rb:146 def value; end # Writes this attribute (EG, puts 'key="value"' to the output) # - # source://rexml//lib/rexml/attribute.rb#187 + # pkg:gem/rexml#lib/rexml/attribute.rb:187 def write(output, indent = T.unsafe(nil)); end - # source://rexml//lib/rexml/attribute.rb#201 + # pkg:gem/rexml#lib/rexml/attribute.rb:201 def xpath; end end # A class that defines the set of Attributes of an Element and provides # operations for accessing elements in that set. # -# source://rexml//lib/rexml/element.rb#2131 +# pkg:gem/rexml#lib/rexml/element.rb:2131 class REXML::Attributes < ::Hash # :call-seq: # new(element) @@ -251,7 +251,7 @@ class REXML::Attributes < ::Hash # # @return [Attributes] a new instance of Attributes # - # source://rexml//lib/rexml/element.rb#2150 + # pkg:gem/rexml#lib/rexml/element.rb:2150 def initialize(element); end # :call-seq: @@ -274,7 +274,7 @@ class REXML::Attributes < ::Hash # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3' # attrs.include?('baz') # => true # - # source://rexml//lib/rexml/element.rb#2520 + # pkg:gem/rexml#lib/rexml/element.rb:2520 def <<(attribute); end # :call-seq: @@ -298,7 +298,7 @@ class REXML::Attributes < ::Hash # # Related: get_attribute (returns an \Attribute object). # - # source://rexml//lib/rexml/element.rb#2175 + # pkg:gem/rexml#lib/rexml/element.rb:2175 def [](name); end # :call-seq: @@ -324,7 +324,7 @@ class REXML::Attributes < ::Hash # attrs['baz:att'] = nil # attrs.include?('baz:att') # => false # - # source://rexml//lib/rexml/element.rb#2358 + # pkg:gem/rexml#lib/rexml/element.rb:2358 def []=(name, value); end # :call-seq: @@ -347,7 +347,7 @@ class REXML::Attributes < ::Hash # attrs.add(REXML::Attribute.new('baz', '3')) # => baz='3' # attrs.include?('baz') # => true # - # source://rexml//lib/rexml/element.rb#2516 + # pkg:gem/rexml#lib/rexml/element.rb:2516 def add(attribute); end # :call-seq: @@ -378,7 +378,7 @@ class REXML::Attributes < ::Hash # attrs.delete(attr) # => # => # attrs.delete(attr) # => # => # - # source://rexml//lib/rexml/element.rb#2471 + # pkg:gem/rexml#lib/rexml/element.rb:2471 def delete(attribute); end # :call-seq: @@ -397,7 +397,7 @@ class REXML::Attributes < ::Hash # attrs = ele.attributes # attrs.delete_all('att') # => [att='<'] # - # source://rexml//lib/rexml/element.rb#2538 + # pkg:gem/rexml#lib/rexml/element.rb:2538 def delete_all(name); end # :call-seq: @@ -422,7 +422,7 @@ class REXML::Attributes < ::Hash # ["bar:att", "2"] # ["att", "<"] # - # source://rexml//lib/rexml/element.rb#2276 + # pkg:gem/rexml#lib/rexml/element.rb:2276 def each; end # :call-seq: @@ -447,7 +447,7 @@ class REXML::Attributes < ::Hash # [REXML::Attribute, bar:att='2'] # [REXML::Attribute, att='<'] # - # source://rexml//lib/rexml/element.rb#2243 + # pkg:gem/rexml#lib/rexml/element.rb:2243 def each_attribute; end # :call-seq: @@ -469,7 +469,7 @@ class REXML::Attributes < ::Hash # attrs.get_attribute('att') # => att='<' # attrs.get_attribute('nosuch') # => nil # - # source://rexml//lib/rexml/element.rb#2302 + # pkg:gem/rexml#lib/rexml/element.rb:2302 def get_attribute(name); end # :call-seq: @@ -489,7 +489,7 @@ class REXML::Attributes < ::Hash # attrs.get_attribute_ns('http://foo', 'att') # => foo:att='1' # attrs.get_attribute_ns('http://foo', 'nosuch') # => nil # - # source://rexml//lib/rexml/element.rb#2564 + # pkg:gem/rexml#lib/rexml/element.rb:2564 def get_attribute_ns(namespace, name); end # :call-seq: @@ -506,7 +506,7 @@ class REXML::Attributes < ::Hash # ele = d.root.elements['//ele'] # => # ele.attributes.length # => 3 # - # source://rexml//lib/rexml/element.rb#2214 + # pkg:gem/rexml#lib/rexml/element.rb:2214 def length; end # :call-seq: @@ -518,7 +518,7 @@ class REXML::Attributes < ::Hash # d = REXML::Document.new(xml_string) # d.root.attributes.namespaces # => {"xmlns"=>"foo", "x"=>"bar", "y"=>"twee"} # - # source://rexml//lib/rexml/element.rb#2426 + # pkg:gem/rexml#lib/rexml/element.rb:2426 def namespaces; end # :call-seq: @@ -532,7 +532,7 @@ class REXML::Attributes < ::Hash # d = REXML::Document.new(xml_string) # d.root.attributes.prefixes # => ["x", "y"] # - # source://rexml//lib/rexml/element.rb#2400 + # pkg:gem/rexml#lib/rexml/element.rb:2400 def prefixes; end # :call-seq: @@ -549,7 +549,7 @@ class REXML::Attributes < ::Hash # ele = d.root.elements['//ele'] # => # ele.attributes.length # => 3 # - # source://rexml//lib/rexml/element.rb#2219 + # pkg:gem/rexml#lib/rexml/element.rb:2219 def size; end # :call-seq: @@ -568,11 +568,11 @@ class REXML::Attributes < ::Hash # attrs = ele.attributes.to_a # => [foo:att='1', bar:att='2', att='<'] # attrs.first.class # => REXML::Attribute # - # source://rexml//lib/rexml/element.rb#2196 + # pkg:gem/rexml#lib/rexml/element.rb:2196 def to_a; end end -# source://rexml//lib/rexml/cdata.rb#5 +# pkg:gem/rexml#lib/rexml/cdata.rb:5 class REXML::CData < ::REXML::Text # Constructor. CData is data between # @@ -583,7 +583,7 @@ class REXML::CData < ::REXML::Text # # @return [CData] a new instance of CData # - # source://rexml//lib/rexml/cdata.rb#16 + # pkg:gem/rexml#lib/rexml/cdata.rb:16 def initialize(first, whitespace = T.unsafe(nil), parent = T.unsafe(nil)); end # Make a copy of this object @@ -593,7 +593,7 @@ class REXML::CData < ::REXML::Text # d = c.clone # d.to_s # -> "Some text" # - # source://rexml//lib/rexml/cdata.rb#26 + # pkg:gem/rexml#lib/rexml/cdata.rb:26 def clone; end # Returns the content of this CData object @@ -602,10 +602,10 @@ class REXML::CData < ::REXML::Text # c = CData.new( "Some text" ) # c.to_s # -> "Some text" # - # source://rexml//lib/rexml/cdata.rb#35 + # pkg:gem/rexml#lib/rexml/cdata.rb:35 def to_s; end - # source://rexml//lib/rexml/cdata.rb#39 + # pkg:gem/rexml#lib/rexml/cdata.rb:39 def value; end # == DEPRECATED @@ -626,7 +626,7 @@ class REXML::CData < ::REXML::Text # c = CData.new( " Some text " ) # c.write( $stdout ) #-> # - # source://rexml//lib/rexml/cdata.rb#60 + # pkg:gem/rexml#lib/rexml/cdata.rb:60 def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end end @@ -634,7 +634,7 @@ end # contains methods to support that. Most user code will not use this # class directly. # -# source://rexml//lib/rexml/child.rb#9 +# pkg:gem/rexml#lib/rexml/child.rb:9 class REXML::Child include ::REXML::Node @@ -646,21 +646,21 @@ class REXML::Child # # @return [Child] a new instance of Child # - # source://rexml//lib/rexml/child.rb#18 + # pkg:gem/rexml#lib/rexml/child.rb:18 def initialize(parent = T.unsafe(nil)); end # This doesn't yet handle encodings # - # source://rexml//lib/rexml/child.rb#90 + # pkg:gem/rexml#lib/rexml/child.rb:90 def bytes; end # Returns:: the document this child belongs to, or nil if this child # belongs to no document # - # source://rexml//lib/rexml/child.rb#85 + # pkg:gem/rexml#lib/rexml/child.rb:85 def document; end - # source://rexml//lib/rexml/child.rb#58 + # pkg:gem/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 @@ -671,12 +671,12 @@ class REXML::Child # b.next_sibling = c # # => # - # source://rexml//lib/rexml/child.rb#68 + # pkg:gem/rexml#lib/rexml/child.rb:68 def next_sibling=(other); end # The Parent of this object # - # source://rexml//lib/rexml/child.rb#11 + # pkg:gem/rexml#lib/rexml/child.rb:11 def parent; end # Sets the parent of this child to the supplied argument. @@ -688,10 +688,10 @@ class REXML::Child # to the new parent. # Returns:: The parent added # - # source://rexml//lib/rexml/child.rb#52 + # pkg:gem/rexml#lib/rexml/child.rb:52 def parent=(other); end - # source://rexml//lib/rexml/child.rb#59 + # pkg:gem/rexml#lib/rexml/child.rb:59 def previous_sibling; end # Sets the previous sibling of this child. This can be used to insert a @@ -702,14 +702,14 @@ class REXML::Child # b.previous_sibling = c # # => # - # source://rexml//lib/rexml/child.rb#79 + # pkg:gem/rexml#lib/rexml/child.rb:79 def previous_sibling=(other); end # Removes this child from the parent. # # Returns:: self # - # source://rexml//lib/rexml/child.rb#37 + # pkg:gem/rexml#lib/rexml/child.rb:37 def remove; end # Replaces this object with another object. Basically, calls @@ -717,13 +717,13 @@ class REXML::Child # # Returns:: self # - # source://rexml//lib/rexml/child.rb#29 + # pkg:gem/rexml#lib/rexml/child.rb:29 def replace_with(child); end end # Represents an XML comment; that is, text between \ # -# source://rexml//lib/rexml/comment.rb#7 +# pkg:gem/rexml#lib/rexml/comment.rb:7 class REXML::Comment < ::REXML::Child include ::Comparable @@ -737,40 +737,40 @@ class REXML::Comment < ::REXML::Child # @param second If the first argument is a Source, this argument # @return [Comment] a new instance of Comment # - # source://rexml//lib/rexml/comment.rb#24 + # pkg:gem/rexml#lib/rexml/comment.rb:24 def initialize(first, second = T.unsafe(nil)); end # Compares this Comment to another; the contents of the comment are used # in the comparison. # - # source://rexml//lib/rexml/comment.rb#63 + # pkg:gem/rexml#lib/rexml/comment.rb:63 def <=>(other); end # Compares this Comment to another; the contents of the comment are used # in the comparison. # - # source://rexml//lib/rexml/comment.rb#70 + # pkg:gem/rexml#lib/rexml/comment.rb:70 def ==(other); end - # source://rexml//lib/rexml/comment.rb#33 + # pkg:gem/rexml#lib/rexml/comment.rb:33 def clone; end - # source://rexml//lib/rexml/comment.rb#75 + # pkg:gem/rexml#lib/rexml/comment.rb:75 def node_type; end # The content text # - # source://rexml//lib/rexml/comment.rb#14 + # pkg:gem/rexml#lib/rexml/comment.rb:14 def string; end # The content text # - # source://rexml//lib/rexml/comment.rb#14 + # pkg:gem/rexml#lib/rexml/comment.rb:14 def string=(_arg0); end # The content text # - # source://rexml//lib/rexml/comment.rb#58 + # pkg:gem/rexml#lib/rexml/comment.rb:58 def to_s; end # == DEPRECATED @@ -787,30 +787,30 @@ class REXML::Comment < ::REXML::Child # ie_hack:: # Needed for conformity to the child API, but not used by this class. # - # source://rexml//lib/rexml/comment.rb#50 + # pkg:gem/rexml#lib/rexml/comment.rb:50 def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end end -# source://rexml//lib/rexml/xpath_parser.rb#11 +# pkg:gem/rexml#lib/rexml/xpath_parser.rb:11 module REXML::DClonable; end # This is an abstract class. You never use this directly; it serves as a # parent class for the specific declarations. # -# source://rexml//lib/rexml/doctype.rb#238 +# pkg:gem/rexml#lib/rexml/doctype.rb:238 class REXML::Declaration < ::REXML::Child # @return [Declaration] a new instance of Declaration # - # source://rexml//lib/rexml/doctype.rb#239 + # pkg:gem/rexml#lib/rexml/doctype.rb:239 def initialize(src); end - # source://rexml//lib/rexml/doctype.rb#244 + # pkg:gem/rexml#lib/rexml/doctype.rb:244 def to_s; end # == DEPRECATED # See REXML::Formatters # - # source://rexml//lib/rexml/doctype.rb#251 + # pkg:gem/rexml#lib/rexml/doctype.rb:251 def write(output, indent); end end @@ -818,7 +818,7 @@ end # ... >. DOCTYPES can be used to declare the DTD of a document, as well as # being used to declare entities used in the document. # -# source://rexml//lib/rexml/doctype.rb#51 +# pkg:gem/rexml#lib/rexml/doctype.rb:51 class REXML::DocType < ::REXML::Parent include ::REXML::XMLTokens @@ -837,52 +837,52 @@ class REXML::DocType < ::REXML::Parent # # @return [DocType] a new instance of DocType # - # source://rexml//lib/rexml/doctype.rb#80 + # pkg:gem/rexml#lib/rexml/doctype.rb:80 def initialize(first, parent = T.unsafe(nil)); end - # source://rexml//lib/rexml/doctype.rb#181 + # pkg:gem/rexml#lib/rexml/doctype.rb:181 def add(child); end - # source://rexml//lib/rexml/doctype.rb#125 + # pkg:gem/rexml#lib/rexml/doctype.rb:125 def attribute_of(element, attribute); end - # source://rexml//lib/rexml/doctype.rb#115 + # pkg:gem/rexml#lib/rexml/doctype.rb:115 def attributes_of(element); end - # source://rexml//lib/rexml/doctype.rb#135 + # pkg:gem/rexml#lib/rexml/doctype.rb:135 def clone; end - # source://rexml//lib/rexml/doctype.rb#173 + # pkg:gem/rexml#lib/rexml/doctype.rb:173 def context; end # name is the name of the doctype # external_id is the referenced DTD, if given # - # source://rexml//lib/rexml/doctype.rb#66 + # pkg:gem/rexml#lib/rexml/doctype.rb:66 def entities; end - # source://rexml//lib/rexml/doctype.rb#177 + # pkg:gem/rexml#lib/rexml/doctype.rb:177 def entity(name); end # name is the name of the doctype # external_id is the referenced DTD, if given # - # source://rexml//lib/rexml/doctype.rb#66 + # pkg:gem/rexml#lib/rexml/doctype.rb:66 def external_id; end # name is the name of the doctype # external_id is the referenced DTD, if given # - # source://rexml//lib/rexml/doctype.rb#66 + # pkg:gem/rexml#lib/rexml/doctype.rb:66 def name; end # name is the name of the doctype # external_id is the referenced DTD, if given # - # source://rexml//lib/rexml/doctype.rb#66 + # pkg:gem/rexml#lib/rexml/doctype.rb:66 def namespaces; end - # source://rexml//lib/rexml/doctype.rb#111 + # pkg:gem/rexml#lib/rexml/doctype.rb:111 def node_type; end # Retrieves a named notation. Only notations declared in the internal @@ -890,7 +890,7 @@ class REXML::DocType < ::REXML::Parent # # Method contributed by Henrik Martensson # - # source://rexml//lib/rexml/doctype.rb#225 + # pkg:gem/rexml#lib/rexml/doctype.rb:225 def notation(name); end # This method returns a list of notations that have been declared in the @@ -899,7 +899,7 @@ class REXML::DocType < ::REXML::Parent # # Method contributed by Henrik Martensson # - # source://rexml//lib/rexml/doctype.rb#217 + # pkg:gem/rexml#lib/rexml/doctype.rb:217 def notations; end # This method retrieves the public identifier identifying the document's @@ -907,14 +907,14 @@ class REXML::DocType < ::REXML::Parent # # Method contributed by Henrik Martensson # - # source://rexml//lib/rexml/doctype.rb#191 + # pkg:gem/rexml#lib/rexml/doctype.rb:191 def public; end # This method retrieves the system identifier identifying the document's DTD # # Method contributed by Henrik Martensson # - # source://rexml//lib/rexml/doctype.rb#203 + # pkg:gem/rexml#lib/rexml/doctype.rb:203 def system; end # output:: @@ -928,7 +928,7 @@ class REXML::DocType < ::REXML::Parent # ie_hack:: # Ignored # - # source://rexml//lib/rexml/doctype.rb#149 + # pkg:gem/rexml#lib/rexml/doctype.rb:149 def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end end @@ -950,7 +950,7 @@ end # and in particular, the # {tasks page for documents}[../doc/rexml/tasks/tocs/document_toc_rdoc.html]. # -# source://rexml//lib/rexml/document.rb#35 +# pkg:gem/rexml#lib/rexml/document.rb:35 class REXML::Document < ::REXML::Element # :call-seq: # new(string = nil, context = {}) -> new_document @@ -1004,7 +1004,7 @@ class REXML::Document < ::REXML::Element # # @return [Document] a new instance of Document # - # source://rexml//lib/rexml/document.rb#92 + # pkg:gem/rexml#lib/rexml/document.rb:92 def initialize(source = T.unsafe(nil), context = T.unsafe(nil)); end # :call-seq: @@ -1041,7 +1041,7 @@ class REXML::Document < ::REXML::Element # d.add(REXML::Element.new('foo')) # d.to_s # => "" # - # source://rexml//lib/rexml/document.rb#205 + # pkg:gem/rexml#lib/rexml/document.rb:205 def <<(child); end # :call-seq: @@ -1078,7 +1078,7 @@ class REXML::Document < ::REXML::Element # d.add(REXML::Element.new('foo')) # d.to_s # => "" # - # source://rexml//lib/rexml/document.rb#174 + # pkg:gem/rexml#lib/rexml/document.rb:174 def add(child); end # :call-seq: @@ -1088,7 +1088,7 @@ class REXML::Document < ::REXML::Element # # REXML::Element.add_element(name_or_element, attributes) # - # source://rexml//lib/rexml/document.rb#213 + # pkg:gem/rexml#lib/rexml/document.rb:213 def add_element(arg = T.unsafe(nil), arg2 = T.unsafe(nil)); end # :call-seq: @@ -1097,7 +1097,7 @@ class REXML::Document < ::REXML::Element # Returns the new document resulting from executing # Document.new(self). See Document.new. # - # source://rexml//lib/rexml/document.rb#124 + # pkg:gem/rexml#lib/rexml/document.rb:124 def clone; end # :call-seq: @@ -1110,10 +1110,10 @@ class REXML::Document < ::REXML::Element # d = REXML::Document.new('') # d.doctype.class # => nil # - # source://rexml//lib/rexml/document.rb#245 + # pkg:gem/rexml#lib/rexml/document.rb:245 def doctype; end - # source://rexml//lib/rexml/document.rb#448 + # pkg:gem/rexml#lib/rexml/document.rb:448 def document; end # :call-seq: @@ -1126,31 +1126,31 @@ class REXML::Document < ::REXML::Element # d = REXML::Document.new('') # d.encoding # => "UTF-8" # - # source://rexml//lib/rexml/document.rb#294 + # pkg:gem/rexml#lib/rexml/document.rb:294 def encoding; end # Returns the value of attribute entity_expansion_count. # - # source://rexml//lib/rexml/document.rb#437 + # pkg:gem/rexml#lib/rexml/document.rb:437 def entity_expansion_count; end # Sets the attribute entity_expansion_limit # # @param value the value to set the attribute entity_expansion_limit to. # - # source://rexml//lib/rexml/document.rb#438 + # pkg:gem/rexml#lib/rexml/document.rb:438 def entity_expansion_limit=(_arg0); end # Returns the value of attribute entity_expansion_text_limit. # - # source://rexml//lib/rexml/document.rb#439 + # pkg:gem/rexml#lib/rexml/document.rb:439 def entity_expansion_text_limit; end # Sets the attribute entity_expansion_text_limit # # @param value the value to set the attribute entity_expansion_text_limit to. # - # source://rexml//lib/rexml/document.rb#439 + # pkg:gem/rexml#lib/rexml/document.rb:439 def entity_expansion_text_limit=(_arg0); end # :call-seq: @@ -1158,7 +1158,7 @@ class REXML::Document < ::REXML::Element # # Returns an empty string. # - # source://rexml//lib/rexml/document.rb#133 + # pkg:gem/rexml#lib/rexml/document.rb:133 def expanded_name; end # :call-seq: @@ -1168,7 +1168,7 @@ class REXML::Document < ::REXML::Element # d = doc_type # d ? d.name : "UNDEFINED" # - # source://rexml//lib/rexml/document.rb#138 + # pkg:gem/rexml#lib/rexml/document.rb:138 def name; end # :call-seq: @@ -1176,10 +1176,10 @@ class REXML::Document < ::REXML::Element # # Returns the symbol +:document+. # - # source://rexml//lib/rexml/document.rb#114 + # pkg:gem/rexml#lib/rexml/document.rb:114 def node_type; end - # source://rexml//lib/rexml/document.rb#441 + # pkg:gem/rexml#lib/rexml/document.rb:441 def record_entity_expansion; end # :call-seq: @@ -1192,7 +1192,7 @@ class REXML::Document < ::REXML::Element # d = REXML::Document.new('') # d.root # => nil # - # source://rexml//lib/rexml/document.rb#229 + # pkg:gem/rexml#lib/rexml/document.rb:229 def root; end # :call-seq: @@ -1208,7 +1208,7 @@ class REXML::Document < ::REXML::Element # # @return [Boolean] # - # source://rexml//lib/rexml/document.rb#309 + # pkg:gem/rexml#lib/rexml/document.rb:309 def stand_alone?; end # :call-seq: @@ -1222,7 +1222,7 @@ class REXML::Document < ::REXML::Element # d = REXML::Document.new('') # d.version # => "1.0" # - # source://rexml//lib/rexml/document.rb#279 + # pkg:gem/rexml#lib/rexml/document.rb:279 def version; end # :call-seq: @@ -1281,7 +1281,7 @@ class REXML::Document < ::REXML::Element # instead of encoding in XML declaration. # Defaults to nil. It means encoding in XML declaration is used. # - # source://rexml//lib/rexml/document.rb#369 + # pkg:gem/rexml#lib/rexml/document.rb:369 def write(*arguments); end # :call-seq: @@ -1297,30 +1297,30 @@ class REXML::Document < ::REXML::Element # d.xml_decl.class # => REXML::XMLDecl # d.xml_decl.to_s # => "" # - # source://rexml//lib/rexml/document.rb#262 + # pkg:gem/rexml#lib/rexml/document.rb:262 def xml_decl; end private - # source://rexml//lib/rexml/document.rb#467 + # pkg:gem/rexml#lib/rexml/document.rb:467 def build(source); end # New document level cache is created and available in this block. # This API is thread unsafe. Users can't change this document in this block. # - # source://rexml//lib/rexml/document.rb#458 + # pkg:gem/rexml#lib/rexml/document.rb:458 def enable_cache; end # Returns the value of attribute namespaces_cache. # - # source://rexml//lib/rexml/document.rb#454 + # pkg:gem/rexml#lib/rexml/document.rb:454 def namespaces_cache; end # Sets the attribute namespaces_cache # # @param value the value to set the attribute namespaces_cache to. # - # source://rexml//lib/rexml/document.rb#454 + # pkg:gem/rexml#lib/rexml/document.rb:454 def namespaces_cache=(_arg0); end class << self @@ -1328,31 +1328,31 @@ class REXML::Document < ::REXML::Element # # Deprecated. Use REXML::Security.entity_expansion_limit= instead. # - # source://rexml//lib/rexml/document.rb#419 + # pkg:gem/rexml#lib/rexml/document.rb:419 def entity_expansion_limit; end # Set the entity expansion limit. By default the limit is set to 10000. # # Deprecated. Use REXML::Security.entity_expansion_limit= instead. # - # source://rexml//lib/rexml/document.rb#412 + # pkg:gem/rexml#lib/rexml/document.rb:412 def entity_expansion_limit=(val); end # Get the entity expansion limit. By default the limit is set to 10240. # # Deprecated. Use REXML::Security.entity_expansion_text_limit instead. # - # source://rexml//lib/rexml/document.rb#433 + # pkg:gem/rexml#lib/rexml/document.rb:433 def entity_expansion_text_limit; end # Set the entity expansion limit. By default the limit is set to 10240. # # Deprecated. Use REXML::Security.entity_expansion_text_limit= instead. # - # source://rexml//lib/rexml/document.rb#426 + # pkg:gem/rexml#lib/rexml/document.rb:426 def entity_expansion_text_limit=(val); end - # source://rexml//lib/rexml/document.rb#405 + # pkg:gem/rexml#lib/rexml/document.rb:405 def parse_stream(source, listener); end end end @@ -1618,7 +1618,7 @@ end # #attributes:: Returns the REXML::Attributes object for the element. # #context:: Returns or sets the context hash for the element. # -# source://rexml//lib/rexml/element.rb#271 +# pkg:gem/rexml#lib/rexml/element.rb:271 class REXML::Element < ::REXML::Parent include ::REXML::XMLTokens include ::REXML::Namespace @@ -1661,7 +1661,7 @@ class REXML::Element < ::REXML::Parent # # @return [Element] a new instance of Element # - # source://rexml//lib/rexml/element.rb#319 + # pkg:gem/rexml#lib/rexml/element.rb:319 def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil)); end # :call-seq: @@ -1703,7 +1703,7 @@ class REXML::Element < ::REXML::Parent # root[:attr] # => "value" # root[:nosuch] # => nil # - # source://rexml//lib/rexml/element.rb#1238 + # pkg:gem/rexml#lib/rexml/element.rb:1238 def [](name_or_index); end # :call-seq: @@ -1732,7 +1732,7 @@ class REXML::Element < ::REXML::Parent # e.add_attribute(a) # => attr='VALUE' # e['attr'] # => "VALUE" # - # source://rexml//lib/rexml/element.rb#1336 + # pkg:gem/rexml#lib/rexml/element.rb:1336 def add_attribute(key, value = T.unsafe(nil)); end # :call-seq: @@ -1758,7 +1758,7 @@ class REXML::Element < ::REXML::Parent # a = [['foo' => 'bar'], ['baz' => 'bat']] # e.add_attributes(a) # - # source://rexml//lib/rexml/element.rb#1367 + # pkg:gem/rexml#lib/rexml/element.rb:1367 def add_attributes(hash); end # :call-seq: @@ -1795,7 +1795,7 @@ class REXML::Element < ::REXML::Parent # e0.add_element(e1, {'bat' => '0', 'bam' => '1'}) # e0[1] # => # - # source://rexml//lib/rexml/element.rb#725 + # pkg:gem/rexml#lib/rexml/element.rb:725 def add_element(element, attrs = T.unsafe(nil)); end # :call-seq: @@ -1816,7 +1816,7 @@ class REXML::Element < ::REXML::Parent # e.add_namespace('baz', 'bat') # e.namespaces # => {"xmlns"=>"bar", "baz"=>"bat"} # - # source://rexml//lib/rexml/element.rb#648 + # pkg:gem/rexml#lib/rexml/element.rb:648 def add_namespace(prefix, uri = T.unsafe(nil)); end # :call-seq: @@ -1858,7 +1858,7 @@ class REXML::Element < ::REXML::Parent # a.add_text(REXML::Text.new('baz')) # a.to_a # => ["foo", , "bar", "baz", "baz"] # - # source://rexml//lib/rexml/element.rb#1139 + # pkg:gem/rexml#lib/rexml/element.rb:1139 def add_text(text); end # :call-seq: @@ -1890,13 +1890,13 @@ class REXML::Element < ::REXML::Parent # document.root.attribute("x") # => x='x' # document.root.attribute("x", "a") # => a:x='a:x' # - # source://rexml//lib/rexml/element.rb#1279 + # pkg:gem/rexml#lib/rexml/element.rb:1279 def attribute(name, namespace = T.unsafe(nil)); end # Mechanisms for accessing attributes and child elements of this # element. # - # source://rexml//lib/rexml/element.rb#278 + # pkg:gem/rexml#lib/rexml/element.rb:278 def attributes; end # :call-seq: @@ -1915,7 +1915,7 @@ class REXML::Element < ::REXML::Parent # cds.frozen? # => true # cds.map {|cd| cd.class } # => [REXML::CData, REXML::CData] # - # source://rexml//lib/rexml/element.rb#1411 + # pkg:gem/rexml#lib/rexml/element.rb:1411 def cdatas; end # :call-seq: @@ -1928,7 +1928,7 @@ class REXML::Element < ::REXML::Parent # e.add_attributes({'bar' => 0, 'baz' => 1}) # e.clone # => # - # source://rexml//lib/rexml/element.rb#383 + # pkg:gem/rexml#lib/rexml/element.rb:383 def clone; end # :call-seq: @@ -1948,19 +1948,19 @@ class REXML::Element < ::REXML::Parent # cs.map {|c| c.class } # => [REXML::Comment, REXML::Comment] # cs.map {|c| c.to_s } # => ["foo", "bar"] # - # source://rexml//lib/rexml/element.rb#1432 + # pkg:gem/rexml#lib/rexml/element.rb:1432 def comments; end # The context holds information about the processing environment, such as # whitespace handling. # - # source://rexml//lib/rexml/element.rb#281 + # pkg:gem/rexml#lib/rexml/element.rb:281 def context; end # The context holds information about the processing environment, such as # whitespace handling. # - # source://rexml//lib/rexml/element.rb#281 + # pkg:gem/rexml#lib/rexml/element.rb:281 def context=(_arg0); end # :call-seq: @@ -1974,7 +1974,7 @@ class REXML::Element < ::REXML::Parent # e.delete_attribute('bar') # => # e.delete_attribute('bar') # => nil # - # source://rexml//lib/rexml/element.rb#1386 + # pkg:gem/rexml#lib/rexml/element.rb:1386 def delete_attribute(key); end # :call-seq: @@ -2014,7 +2014,7 @@ class REXML::Element < ::REXML::Parent # a.delete_element('//c') # => # a.delete_element('//c') # => nil # - # source://rexml//lib/rexml/element.rb#771 + # pkg:gem/rexml#lib/rexml/element.rb:771 def delete_element(element); end # :call-seq: @@ -2039,7 +2039,7 @@ class REXML::Element < ::REXML::Parent # d.root.delete_namespace('nosuch') # d.to_s # => "" # - # source://rexml//lib/rexml/element.rb#680 + # pkg:gem/rexml#lib/rexml/element.rb:680 def delete_namespace(namespace = T.unsafe(nil)); end # :call-seq: @@ -2063,7 +2063,7 @@ class REXML::Element < ::REXML::Parent # # Related: #root, #root_node. # - # source://rexml//lib/rexml/element.rb#475 + # pkg:gem/rexml#lib/rexml/element.rb:475 def document; end # :call-seq: @@ -2082,7 +2082,7 @@ class REXML::Element < ::REXML::Parent # ... # # - # source://rexml//lib/rexml/element.rb#923 + # pkg:gem/rexml#lib/rexml/element.rb:923 def each_element(xpath = T.unsafe(nil), &block); end # :call-seq: @@ -2134,7 +2134,7 @@ class REXML::Element < ::REXML::Parent # # # - # source://rexml//lib/rexml/element.rb#840 + # pkg:gem/rexml#lib/rexml/element.rb:840 def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end # :call-seq: @@ -2184,13 +2184,13 @@ class REXML::Element < ::REXML::Parent # # ... # - # source://rexml//lib/rexml/element.rb#897 + # pkg:gem/rexml#lib/rexml/element.rb:897 def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end # Mechanisms for accessing attributes and child elements of this # element. # - # source://rexml//lib/rexml/element.rb#278 + # pkg:gem/rexml#lib/rexml/element.rb:278 def elements; end # :call-seq: @@ -2208,7 +2208,7 @@ class REXML::Element < ::REXML::Parent # d = REXML::Document.new(xml_string) # d.root.get_elements('//a') # => [ ... , ] # - # source://rexml//lib/rexml/element.rb#942 + # pkg:gem/rexml#lib/rexml/element.rb:942 def get_elements(xpath); end # :call-seq: @@ -2228,7 +2228,7 @@ class REXML::Element < ::REXML::Parent # # d.root.get_text(1) # => "this is bold!" # - # source://rexml//lib/rexml/element.rb#1045 + # pkg:gem/rexml#lib/rexml/element.rb:1045 def get_text(path = T.unsafe(nil)); end # :call-seq: @@ -2243,7 +2243,7 @@ class REXML::Element < ::REXML::Parent # # @return [Boolean] # - # source://rexml//lib/rexml/element.rb#1306 + # pkg:gem/rexml#lib/rexml/element.rb:1306 def has_attributes?; end # :call-seq: @@ -2260,7 +2260,7 @@ class REXML::Element < ::REXML::Parent # # @return [Boolean] # - # source://rexml//lib/rexml/element.rb#787 + # pkg:gem/rexml#lib/rexml/element.rb:787 def has_elements?; end # :call-seq: @@ -2277,7 +2277,7 @@ class REXML::Element < ::REXML::Parent # # @return [Boolean] # - # source://rexml//lib/rexml/element.rb#995 + # pkg:gem/rexml#lib/rexml/element.rb:995 def has_text?; end # :call-seq: @@ -2287,7 +2287,7 @@ class REXML::Element < ::REXML::Parent # # See {Element Context}[../doc/rexml/context_rdoc.html]. # - # source://rexml//lib/rexml/element.rb#512 + # pkg:gem/rexml#lib/rexml/element.rb:512 def ignore_whitespace_nodes; end # :call-seq: @@ -2311,7 +2311,7 @@ class REXML::Element < ::REXML::Parent # e.add_element(REXML::Element.new('baz')) # e.inspect # => " ... " # - # source://rexml//lib/rexml/element.rb#358 + # pkg:gem/rexml#lib/rexml/element.rb:358 def inspect; end # :call-seq: @@ -2331,7 +2331,7 @@ class REXML::Element < ::REXML::Parent # is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction] # is.map {|i| i.to_s } # => ["", ""] # - # source://rexml//lib/rexml/element.rb#1453 + # pkg:gem/rexml#lib/rexml/element.rb:1453 def instructions; end # :call-seq: @@ -2354,7 +2354,7 @@ class REXML::Element < ::REXML::Parent # b.namespace('y') # => "2" # b.namespace('nosuch') # => nil # - # source://rexml//lib/rexml/element.rb#619 + # pkg:gem/rexml#lib/rexml/element.rb:619 def namespace(prefix = T.unsafe(nil)); end # :call-seq: @@ -2376,7 +2376,7 @@ class REXML::Element < ::REXML::Parent # d.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"} # d.elements['//c'].namespaces # => {"x"=>"1", "y"=>"2", "z"=>"3"} # - # source://rexml//lib/rexml/element.rb#590 + # pkg:gem/rexml#lib/rexml/element.rb:590 def namespaces; end # :call-seq: @@ -2389,7 +2389,7 @@ class REXML::Element < ::REXML::Parent # d.root.elements['b'].next_element #-> # d.root.elements['c'].next_element #-> nil # - # source://rexml//lib/rexml/element.rb#956 + # pkg:gem/rexml#lib/rexml/element.rb:956 def next_element; end # :call-seq: @@ -2401,7 +2401,7 @@ class REXML::Element < ::REXML::Parent # a = d.root # => # a.node_type # => :element # - # source://rexml//lib/rexml/element.rb#1160 + # pkg:gem/rexml#lib/rexml/element.rb:1160 def node_type; end # :call-seq: @@ -2423,7 +2423,7 @@ class REXML::Element < ::REXML::Parent # d.elements['//b'].prefixes # => ["x", "y"] # d.elements['//c'].prefixes # => ["x", "y", "z"] # - # source://rexml//lib/rexml/element.rb#564 + # pkg:gem/rexml#lib/rexml/element.rb:564 def prefixes; end # :call-seq: @@ -2436,7 +2436,7 @@ class REXML::Element < ::REXML::Parent # d.root.elements['c'].previous_element #-> # d.root.elements['b'].previous_element #-> nil # - # source://rexml//lib/rexml/element.rb#972 + # pkg:gem/rexml#lib/rexml/element.rb:972 def previous_element; end # :call-seq: @@ -2449,7 +2449,7 @@ class REXML::Element < ::REXML::Parent # The evaluation is tested against +expanded_name+, and so is namespace # sensitive. # - # source://rexml//lib/rexml/element.rb#532 + # pkg:gem/rexml#lib/rexml/element.rb:532 def raw; end # :call-seq: @@ -2469,7 +2469,7 @@ class REXML::Element < ::REXML::Parent # # Related: #root_node, #document. # - # source://rexml//lib/rexml/element.rb#443 + # pkg:gem/rexml#lib/rexml/element.rb:443 def root; end # :call-seq: @@ -2507,7 +2507,7 @@ class REXML::Element < ::REXML::Parent # # Related: #root, #document. # - # source://rexml//lib/rexml/element.rb#422 + # pkg:gem/rexml#lib/rexml/element.rb:422 def root_node; end # :call-seq: @@ -2534,7 +2534,7 @@ class REXML::Element < ::REXML::Parent # Note also that the text note is retrieved by method get_text, # and so is always normalized text. # - # source://rexml//lib/rexml/element.rb#1023 + # pkg:gem/rexml#lib/rexml/element.rb:1023 def text(path = T.unsafe(nil)); end # :call-seq: @@ -2562,7 +2562,7 @@ class REXML::Element < ::REXML::Parent # # d.root.text = nil #-> '' # - # source://rexml//lib/rexml/element.rb#1081 + # pkg:gem/rexml#lib/rexml/element.rb:1081 def text=(text); end # :call-seq: @@ -2577,7 +2577,7 @@ class REXML::Element < ::REXML::Parent # ts.map {|t| t.class } # => [REXML::Text, REXML::Text] # ts.map {|t| t.to_s } # => ["text", "more"] # - # source://rexml//lib/rexml/element.rb#1469 + # pkg:gem/rexml#lib/rexml/element.rb:1469 def texts; end # :call-seq: @@ -2591,7 +2591,7 @@ class REXML::Element < ::REXML::Parent # The evaluation is tested against the element's +expanded_name+, # and so is namespace-sensitive. # - # source://rexml//lib/rexml/element.rb#489 + # pkg:gem/rexml#lib/rexml/element.rb:489 def whitespace; end # == DEPRECATED @@ -2617,7 +2617,7 @@ class REXML::Element < ::REXML::Parent # doc.write( out ) #-> doc is written to the string 'out' # doc.write( $stdout ) #-> doc written to the console # - # source://rexml//lib/rexml/element.rb#1495 + # pkg:gem/rexml#lib/rexml/element.rb:1495 def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end # :call-seq: @@ -2640,28 +2640,28 @@ class REXML::Element < ::REXML::Parent # e = REXML::Element.new('foo') # e.xpath # => "foo" # - # source://rexml//lib/rexml/element.rb#1184 + # pkg:gem/rexml#lib/rexml/element.rb:1184 def xpath; end private - # source://rexml//lib/rexml/element.rb#1519 + # pkg:gem/rexml#lib/rexml/element.rb:1519 def __to_xpath_helper(node); end - # source://rexml//lib/rexml/element.rb#1511 + # pkg:gem/rexml#lib/rexml/element.rb:1511 def calculate_namespaces; end # A private helper method # - # source://rexml//lib/rexml/element.rb#1534 + # pkg:gem/rexml#lib/rexml/element.rb:1534 def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end end -# source://rexml//lib/rexml/doctype.rb#257 +# pkg:gem/rexml#lib/rexml/doctype.rb:257 class REXML::ElementDecl < ::REXML::Declaration # @return [ElementDecl] a new instance of ElementDecl # - # source://rexml//lib/rexml/doctype.rb#258 + # pkg:gem/rexml#lib/rexml/doctype.rb:258 def initialize(src); end end @@ -2707,7 +2707,7 @@ end # elements = d.root.elements # elements # => # ... > # -# source://rexml//lib/rexml/element.rb#1589 +# pkg:gem/rexml#lib/rexml/element.rb:1589 class REXML::Elements include ::Enumerable @@ -2724,7 +2724,7 @@ class REXML::Elements # # @return [Elements] a new instance of Elements # - # source://rexml//lib/rexml/element.rb#1602 + # pkg:gem/rexml#lib/rexml/element.rb:1602 def initialize(parent); end # :call-seq: @@ -2789,7 +2789,7 @@ class REXML::Elements # element.parent # => ... # element.context # => {:raw=>:all} # - # source://rexml//lib/rexml/element.rb#1927 + # pkg:gem/rexml#lib/rexml/element.rb:1927 def <<(element = T.unsafe(nil)); end # :call-seq: @@ -2845,7 +2845,7 @@ class REXML::Elements # eles[4, 'book'] # => ... # eles[5, 'book'] # => nil # - # source://rexml//lib/rexml/element.rb#1674 + # pkg:gem/rexml#lib/rexml/element.rb:1674 def [](index, name = T.unsafe(nil)); end # :call-seq: @@ -2884,7 +2884,7 @@ class REXML::Elements # eles[50] = REXML::Text.new('bar') # => "bar" # eles.size # => 5 # - # source://rexml//lib/rexml/element.rb#1725 + # pkg:gem/rexml#lib/rexml/element.rb:1725 def []=(index, element); end # :call-seq: @@ -2949,7 +2949,7 @@ class REXML::Elements # element.parent # => ... # element.context # => {:raw=>:all} # - # source://rexml//lib/rexml/element.rb#1915 + # pkg:gem/rexml#lib/rexml/element.rb:1915 def add(element = T.unsafe(nil)); end # :call-seq: @@ -2969,7 +2969,7 @@ class REXML::Elements # xpath = '//book [@category="web"]' # elements.collect(xpath) {|element| element.size } # => [17, 9] # - # source://rexml//lib/rexml/element.rb#1978 + # pkg:gem/rexml#lib/rexml/element.rb:1978 def collect(xpath = T.unsafe(nil)); end # :call-seq: @@ -3013,7 +3013,7 @@ class REXML::Elements # elements.delete('//book [@category="children"]') # => ... # elements.delete('//nosuch') # => nil # - # source://rexml//lib/rexml/element.rb#1815 + # pkg:gem/rexml#lib/rexml/element.rb:1815 def delete(element); end # :call-seq: @@ -3033,7 +3033,7 @@ class REXML::Elements # elements.size # => 0 # elements.delete_all('//book') # => [] # - # source://rexml//lib/rexml/element.rb#1841 + # pkg:gem/rexml#lib/rexml/element.rb:1841 def delete_all(xpath); end # :call-seq: @@ -3064,7 +3064,7 @@ class REXML::Elements # ... # ... # - # source://rexml//lib/rexml/element.rb#1957 + # pkg:gem/rexml#lib/rexml/element.rb:1957 def each(xpath = T.unsafe(nil)); end # :call-seq: @@ -3079,7 +3079,7 @@ class REXML::Elements # # @return [Boolean] # - # source://rexml//lib/rexml/element.rb#1745 + # pkg:gem/rexml#lib/rexml/element.rb:1745 def empty?; end # :call-seq: @@ -3096,7 +3096,7 @@ class REXML::Elements # elements.index(ele_4) # => 3 # elements.index(ele_3) # => -1 # - # source://rexml//lib/rexml/element.rb#1763 + # pkg:gem/rexml#lib/rexml/element.rb:1763 def index(element); end # :call-seq: @@ -3176,7 +3176,7 @@ class REXML::Elements # total += element.size # end # => 26 # - # source://rexml//lib/rexml/element.rb#2063 + # pkg:gem/rexml#lib/rexml/element.rb:2063 def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end # :call-seq: @@ -3190,7 +3190,7 @@ class REXML::Elements # elements = REXML::Elements.new(d.root) # elements.parent == d.root # => true # - # source://rexml//lib/rexml/element.rb#1617 + # pkg:gem/rexml#lib/rexml/element.rb:1617 def parent; end # :call-seq: @@ -3202,7 +3202,7 @@ class REXML::Elements # d.root.elements.size # => 3 # Three elements. # d.root.size # => 6 # Three elements plus three text nodes.. # - # source://rexml//lib/rexml/element.rb#2087 + # pkg:gem/rexml#lib/rexml/element.rb:2087 def size; end # :call-seq: @@ -3223,40 +3223,40 @@ class REXML::Elements # # elements.to_a('//c') # => [] # - # source://rexml//lib/rexml/element.rb#2111 + # pkg:gem/rexml#lib/rexml/element.rb:2111 def to_a(xpath = T.unsafe(nil)); end private # Private helper class. Removes quotes from quoted strings # - # source://rexml//lib/rexml/element.rb#2119 + # pkg:gem/rexml#lib/rexml/element.rb:2119 def literalize(name); end end -# source://rexml//lib/rexml/encoding.rb#4 +# pkg:gem/rexml#lib/rexml/encoding.rb:4 module REXML::Encoding - # source://rexml//lib/rexml/encoding.rb#26 + # pkg:gem/rexml#lib/rexml/encoding.rb:26 def decode(string); end - # source://rexml//lib/rexml/encoding.rb#22 + # pkg:gem/rexml#lib/rexml/encoding.rb:22 def encode(string); end # ID ---> Encoding name # - # source://rexml//lib/rexml/encoding.rb#6 + # pkg:gem/rexml#lib/rexml/encoding.rb:6 def encoding; end - # source://rexml//lib/rexml/encoding.rb#7 + # pkg:gem/rexml#lib/rexml/encoding.rb:7 def encoding=(encoding); end private - # source://rexml//lib/rexml/encoding.rb#31 + # pkg:gem/rexml#lib/rexml/encoding.rb:31 def find_encoding(name); end end -# source://rexml//lib/rexml/entity.rb#7 +# pkg:gem/rexml#lib/rexml/entity.rb:7 class REXML::Entity < ::REXML::Child include ::REXML::XMLTokens @@ -3272,54 +3272,54 @@ class REXML::Entity < ::REXML::Child # # @return [Entity] a new instance of Entity # - # source://rexml//lib/rexml/entity.rb#34 + # pkg:gem/rexml#lib/rexml/entity.rb:34 def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil)); end # Returns the value of attribute external. # - # source://rexml//lib/rexml/entity.rb#23 + # pkg:gem/rexml#lib/rexml/entity.rb:23 def external; end # Returns the value of attribute name. # - # source://rexml//lib/rexml/entity.rb#23 + # pkg:gem/rexml#lib/rexml/entity.rb:23 def name; end # Returns the value of attribute ndata. # - # source://rexml//lib/rexml/entity.rb#23 + # pkg:gem/rexml#lib/rexml/entity.rb:23 def ndata; end # Returns the value of this entity unprocessed -- raw. This is the # normalized value; that is, with all %ent; and &ent; entities intact # - # source://rexml//lib/rexml/entity.rb#86 + # pkg:gem/rexml#lib/rexml/entity.rb:86 def normalized; end # Returns the value of attribute pubid. # - # source://rexml//lib/rexml/entity.rb#23 + # pkg:gem/rexml#lib/rexml/entity.rb:23 def pubid; end # Returns the value of attribute ref. # - # source://rexml//lib/rexml/entity.rb#23 + # pkg:gem/rexml#lib/rexml/entity.rb:23 def ref; end # Returns this entity as a string. See write(). # - # source://rexml//lib/rexml/entity.rb#120 + # pkg:gem/rexml#lib/rexml/entity.rb:120 def to_s; end # Evaluates to the unnormalized value of this entity; that is, replacing # &ent; entities. # - # source://rexml//lib/rexml/entity.rb#73 + # pkg:gem/rexml#lib/rexml/entity.rb:73 def unnormalized; end # Returns the value of attribute value. # - # source://rexml//lib/rexml/entity.rb#23 + # pkg:gem/rexml#lib/rexml/entity.rb:23 def value; end # Write out a fully formed, correct entity definition (assuming the Entity @@ -3331,7 +3331,7 @@ class REXML::Entity < ::REXML::Child # indent:: # *DEPRECATED* and ignored # - # source://rexml//lib/rexml/entity.rb#98 + # pkg:gem/rexml#lib/rexml/entity.rb:98 def write(out, indent = T.unsafe(nil)); end class << self @@ -3340,26 +3340,26 @@ class REXML::Entity < ::REXML::Child # # @return [Boolean] # - # source://rexml//lib/rexml/entity.rb#67 + # pkg:gem/rexml#lib/rexml/entity.rb:67 def matches?(string); end end end -# source://rexml//lib/rexml/doctype.rb#263 +# pkg:gem/rexml#lib/rexml/doctype.rb:263 class REXML::ExternalEntity < ::REXML::Child # @return [ExternalEntity] a new instance of ExternalEntity # - # source://rexml//lib/rexml/doctype.rb#264 + # pkg:gem/rexml#lib/rexml/doctype.rb:264 def initialize(src); end - # source://rexml//lib/rexml/doctype.rb#268 + # pkg:gem/rexml#lib/rexml/doctype.rb:268 def to_s; end - # source://rexml//lib/rexml/doctype.rb#271 + # pkg:gem/rexml#lib/rexml/doctype.rb:271 def write(output, indent); end end -# source://rexml//lib/rexml/formatters/default.rb#5 +# pkg:gem/rexml#lib/rexml/formatters/default.rb:5 class REXML::Formatters::Default # Prints out the XML document with no formatting -- except if ie_hack is # set. @@ -3370,7 +3370,7 @@ class REXML::Formatters::Default # # @return [Default] a new instance of Default # - # source://rexml//lib/rexml/formatters/default.rb#12 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:12 def initialize(ie_hack = T.unsafe(nil)); end # Writes the node to some output. @@ -3381,27 +3381,27 @@ class REXML::Formatters::Default # A class implementing <<. Pass in an Output object to # change the output encoding. # - # source://rexml//lib/rexml/formatters/default.rb#23 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:23 def write(node, output); end protected - # source://rexml//lib/rexml/formatters/default.rb#98 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:98 def write_cdata(node, output); end - # source://rexml//lib/rexml/formatters/default.rb#92 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:92 def write_comment(node, output); end - # source://rexml//lib/rexml/formatters/default.rb#61 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:61 def write_document(node, output); end - # source://rexml//lib/rexml/formatters/default.rb#65 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:65 def write_element(node, output); end - # source://rexml//lib/rexml/formatters/default.rb#104 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:104 def write_instruction(node, output); end - # source://rexml//lib/rexml/formatters/default.rb#88 + # pkg:gem/rexml#lib/rexml/formatters/default.rb:88 def write_text(node, output); end end @@ -3410,7 +3410,7 @@ end # # TODO: Add an option to print attributes on new lines # -# source://rexml//lib/rexml/formatters/pretty.rb#10 +# pkg:gem/rexml#lib/rexml/formatters/pretty.rb:10 class REXML::Formatters::Pretty < ::REXML::Formatters::Default # Create a new pretty printer. # @@ -3427,54 +3427,54 @@ class REXML::Formatters::Pretty < ::REXML::Formatters::Default # # @return [Pretty] a new instance of Pretty # - # source://rexml//lib/rexml/formatters/pretty.rb#30 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:30 def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil)); end # If compact is set to true, then the formatter will attempt to use as # little space as possible # - # source://rexml//lib/rexml/formatters/pretty.rb#14 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:14 def compact; end # If compact is set to true, then the formatter will attempt to use as # little space as possible # - # source://rexml//lib/rexml/formatters/pretty.rb#14 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:14 def compact=(_arg0); end # The width of a page. Used for formatting text # - # source://rexml//lib/rexml/formatters/pretty.rb#16 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:16 def width; end # The width of a page. Used for formatting text # - # source://rexml//lib/rexml/formatters/pretty.rb#16 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:16 def width=(_arg0); end protected - # source://rexml//lib/rexml/formatters/pretty.rb#102 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:102 def write_cdata(node, output); end - # source://rexml//lib/rexml/formatters/pretty.rb#97 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:97 def write_comment(node, output); end - # source://rexml//lib/rexml/formatters/pretty.rb#107 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:107 def write_document(node, output); end - # source://rexml//lib/rexml/formatters/pretty.rb#39 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:39 def write_element(node, output); end - # source://rexml//lib/rexml/formatters/pretty.rb#88 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:88 def write_text(node, output); end private - # source://rexml//lib/rexml/formatters/pretty.rb#124 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:124 def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end - # source://rexml//lib/rexml/formatters/pretty.rb#129 + # pkg:gem/rexml#lib/rexml/formatters/pretty.rb:129 def wrap(string, width); end end @@ -3486,84 +3486,84 @@ end # Therefore, in XML, "local-name()" is identical (and actually becomes) # "local_name()" # -# source://rexml//lib/rexml/functions.rb#10 +# pkg:gem/rexml#lib/rexml/functions.rb:10 module REXML::Functions class << self - # source://rexml//lib/rexml/functions.rb#317 + # pkg:gem/rexml#lib/rexml/functions.rb:317 def boolean(object = T.unsafe(nil)); end - # source://rexml//lib/rexml/functions.rb#417 + # pkg:gem/rexml#lib/rexml/functions.rb:417 def ceiling(number); end - # source://rexml//lib/rexml/functions.rb#370 + # pkg:gem/rexml#lib/rexml/functions.rb:370 def compare_language(lang1, lang2); end - # source://rexml//lib/rexml/functions.rb#190 + # pkg:gem/rexml#lib/rexml/functions.rb:190 def concat(*objects); end # Fixed by Mike Stok # - # source://rexml//lib/rexml/functions.rb#204 + # pkg:gem/rexml#lib/rexml/functions.rb:204 def contains(string, test); end - # source://rexml//lib/rexml/functions.rb#38 + # pkg:gem/rexml#lib/rexml/functions.rb:38 def context=(value); end # Returns the size of the given list of nodes. # - # source://rexml//lib/rexml/functions.rb#60 + # pkg:gem/rexml#lib/rexml/functions.rb:60 def count(node_set); end # UNTESTED # - # source://rexml//lib/rexml/functions.rb#347 + # pkg:gem/rexml#lib/rexml/functions.rb:347 def false; end - # source://rexml//lib/rexml/functions.rb#413 + # pkg:gem/rexml#lib/rexml/functions.rb:413 def floor(number); end # Helper method. # - # source://rexml//lib/rexml/functions.rb#87 + # pkg:gem/rexml#lib/rexml/functions.rb:87 def get_namespace(node_set = T.unsafe(nil)); end # Since REXML is non-validating, this method is not implemented as it # requires a DTD # - # source://rexml//lib/rexml/functions.rb#66 + # pkg:gem/rexml#lib/rexml/functions.rb:66 def id(object); end # UNTESTED # - # source://rexml//lib/rexml/functions.rb#352 + # pkg:gem/rexml#lib/rexml/functions.rb:352 def lang(language); end # Returns the last node of the given list of nodes. # - # source://rexml//lib/rexml/functions.rb#51 + # pkg:gem/rexml#lib/rexml/functions.rb:51 def last; end - # source://rexml//lib/rexml/functions.rb#69 + # pkg:gem/rexml#lib/rexml/functions.rb:69 def local_name(node_set = T.unsafe(nil)); end - # source://rexml//lib/rexml/functions.rb#80 + # pkg:gem/rexml#lib/rexml/functions.rb:80 def name(node_set = T.unsafe(nil)); end - # source://rexml//lib/rexml/functions.rb#35 + # pkg:gem/rexml#lib/rexml/functions.rb:35 def namespace_context; end - # source://rexml//lib/rexml/functions.rb#33 + # pkg:gem/rexml#lib/rexml/functions.rb:33 def namespace_context=(x); end - # source://rexml//lib/rexml/functions.rb#76 + # pkg:gem/rexml#lib/rexml/functions.rb:76 def namespace_uri(node_set = T.unsafe(nil)); end - # source://rexml//lib/rexml/functions.rb#265 + # pkg:gem/rexml#lib/rexml/functions.rb:265 def normalize_space(string = T.unsafe(nil)); end # UNTESTED # - # source://rexml//lib/rexml/functions.rb#337 + # pkg:gem/rexml#lib/rexml/functions.rb:337 def not(object); end # a string that consists of optional whitespace followed by an optional @@ -3580,27 +3580,27 @@ module REXML::Functions # an object of a type other than the four basic types is converted to a # number in a way that is dependent on that type # - # source://rexml//lib/rexml/functions.rb#387 + # pkg:gem/rexml#lib/rexml/functions.rb:387 def number(object = T.unsafe(nil)); end - # source://rexml//lib/rexml/functions.rb#55 + # pkg:gem/rexml#lib/rexml/functions.rb:55 def position; end - # source://rexml//lib/rexml/functions.rb#432 + # pkg:gem/rexml#lib/rexml/functions.rb:432 def processing_instruction(node); end - # source://rexml//lib/rexml/functions.rb#421 + # pkg:gem/rexml#lib/rexml/functions.rb:421 def round(number); end - # source://rexml//lib/rexml/functions.rb#436 + # pkg:gem/rexml#lib/rexml/functions.rb:436 def send(name, *args); end - # source://rexml//lib/rexml/functions.rb#26 + # pkg:gem/rexml#lib/rexml/functions.rb:26 def singleton_method_added(name); end # Fixed by Mike Stok # - # source://rexml//lib/rexml/functions.rb#199 + # pkg:gem/rexml#lib/rexml/functions.rb:199 def starts_with(string, test); end # A node-set is converted to a string by returning the string-value of the @@ -3639,12 +3639,12 @@ module REXML::Functions # An object of a type other than the four basic types is converted to a # string in a way that is dependent on that type. # - # source://rexml//lib/rexml/functions.rb#138 + # pkg:gem/rexml#lib/rexml/functions.rb:138 def string(object = T.unsafe(nil)); end # UNTESTED # - # source://rexml//lib/rexml/functions.rb#261 + # pkg:gem/rexml#lib/rexml/functions.rb:261 def string_length(string); end # A node-set is converted to a string by @@ -3653,45 +3653,45 @@ module REXML::Functions # node-set that is first in document order. # If the node-set is empty, an empty string is returned. # - # source://rexml//lib/rexml/functions.rb#178 + # pkg:gem/rexml#lib/rexml/functions.rb:178 def string_value(o); end # Take equal portions of Mike Stok and Sean Russell; mix # vigorously, and pour into a tall, chilled glass. Serves 10,000. # - # source://rexml//lib/rexml/functions.rb#228 + # pkg:gem/rexml#lib/rexml/functions.rb:228 def substring(string, start, length = T.unsafe(nil)); end # Kouhei fixed this too # - # source://rexml//lib/rexml/functions.rb#220 + # pkg:gem/rexml#lib/rexml/functions.rb:220 def substring_after(string, test); end # Kouhei fixed this # - # source://rexml//lib/rexml/functions.rb#209 + # pkg:gem/rexml#lib/rexml/functions.rb:209 def substring_before(string, test); end - # source://rexml//lib/rexml/functions.rb#408 + # pkg:gem/rexml#lib/rexml/functions.rb:408 def sum(nodes); end - # source://rexml//lib/rexml/functions.rb#40 + # pkg:gem/rexml#lib/rexml/functions.rb:40 def text; end # This is entirely Mike Stok's beast # - # source://rexml//lib/rexml/functions.rb#275 + # pkg:gem/rexml#lib/rexml/functions.rb:275 def translate(string, tr1, tr2); end # UNTESTED # - # source://rexml//lib/rexml/functions.rb#342 + # pkg:gem/rexml#lib/rexml/functions.rb:342 def true; end - # source://rexml//lib/rexml/functions.rb#36 + # pkg:gem/rexml#lib/rexml/functions.rb:36 def variables; end - # source://rexml//lib/rexml/functions.rb#34 + # pkg:gem/rexml#lib/rexml/functions.rb:34 def variables=(x); end end end @@ -3699,55 +3699,55 @@ end # A Source that wraps an IO. See the Source class for method # documentation # -# source://rexml//lib/rexml/source.rb#220 +# pkg:gem/rexml#lib/rexml/source.rb:220 class REXML::IOSource < ::REXML::Source # block_size has been deprecated # # @return [IOSource] a new instance of IOSource # - # source://rexml//lib/rexml/source.rb#224 + # pkg:gem/rexml#lib/rexml/source.rb:224 def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end # @return the current line in the source # - # source://rexml//lib/rexml/source.rb#329 + # pkg:gem/rexml#lib/rexml/source.rb:329 def current_line; end # @return [Boolean] # - # source://rexml//lib/rexml/source.rb#324 + # pkg:gem/rexml#lib/rexml/source.rb:324 def empty?; end - # source://rexml//lib/rexml/source.rb#284 + # pkg:gem/rexml#lib/rexml/source.rb:284 def ensure_buffer; end - # source://rexml//lib/rexml/source.rb#288 + # pkg:gem/rexml#lib/rexml/source.rb:288 def match(pattern, cons = T.unsafe(nil)); end # @return [Boolean] # - # source://rexml//lib/rexml/source.rb#307 + # pkg:gem/rexml#lib/rexml/source.rb:307 def match?(pattern, cons = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#245 + # pkg:gem/rexml#lib/rexml/source.rb:245 def read(term = T.unsafe(nil), min_bytes = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#266 + # pkg:gem/rexml#lib/rexml/source.rb:266 def read_until(term); end private - # source://rexml//lib/rexml/source.rb#376 + # pkg:gem/rexml#lib/rexml/source.rb:376 def encoding_updated; end - # source://rexml//lib/rexml/source.rb#351 + # pkg:gem/rexml#lib/rexml/source.rb:351 def readline(term = T.unsafe(nil)); end end # Represents an XML Instruction; IE, # TODO: Add parent arg (3rd arg) to constructor # -# source://rexml//lib/rexml/instruction.rb#9 +# pkg:gem/rexml#lib/rexml/instruction.rb:9 class REXML::Instruction < ::REXML::Child # Constructs a new Instruction # the target of this instruction is set to this. If an Instruction, @@ -3760,70 +3760,70 @@ class REXML::Instruction < ::REXML::Child # @param target can be one of a number of things. If String, then # @return [Instruction] a new instance of Instruction # - # source://rexml//lib/rexml/instruction.rb#25 + # pkg:gem/rexml#lib/rexml/instruction.rb:25 def initialize(target, content = T.unsafe(nil)); end # of the other matches the target and content of this object. # # @return true if other is an Instruction, and the content and target # - # source://rexml//lib/rexml/instruction.rb#65 + # pkg:gem/rexml#lib/rexml/instruction.rb:65 def ==(other); end - # source://rexml//lib/rexml/instruction.rb#44 + # pkg:gem/rexml#lib/rexml/instruction.rb:44 def clone; end # target is the "name" of the Instruction; IE, the "tag" in # content is everything else. # - # source://rexml//lib/rexml/instruction.rb#15 + # pkg:gem/rexml#lib/rexml/instruction.rb:15 def content; end # target is the "name" of the Instruction; IE, the "tag" in # content is everything else. # - # source://rexml//lib/rexml/instruction.rb#15 + # pkg:gem/rexml#lib/rexml/instruction.rb:15 def content=(_arg0); end - # source://rexml//lib/rexml/instruction.rb#75 + # pkg:gem/rexml#lib/rexml/instruction.rb:75 def inspect; end - # source://rexml//lib/rexml/instruction.rb#71 + # pkg:gem/rexml#lib/rexml/instruction.rb:71 def node_type; end # target is the "name" of the Instruction; IE, the "tag" in # content is everything else. # - # source://rexml//lib/rexml/instruction.rb#15 + # pkg:gem/rexml#lib/rexml/instruction.rb:15 def target; end # target is the "name" of the Instruction; IE, the "tag" in # content is everything else. # - # source://rexml//lib/rexml/instruction.rb#15 + # pkg:gem/rexml#lib/rexml/instruction.rb:15 def target=(_arg0); end # == DEPRECATED # See the rexml/formatters package # - # source://rexml//lib/rexml/instruction.rb#51 + # pkg:gem/rexml#lib/rexml/instruction.rb:51 def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end end -# source://rexml//lib/rexml/light/node.rb#5 +# pkg:gem/rexml#lib/rexml/light/node.rb:5 module REXML::Light; end # Represents a tagged XML element. Elements are characterized by # having children, attributes, and names, and can themselves be # children. # -# source://rexml//lib/rexml/light/node.rb#9 +# pkg:gem/rexml#lib/rexml/light/node.rb:9 class REXML::Light::Node # Create a new element. # # @return [Node] a new instance of Node # - # source://rexml//lib/rexml/light/node.rb#13 + # pkg:gem/rexml#lib/rexml/light/node.rb:13 def initialize(node = T.unsafe(nil)); end # Append a child to this element, optionally under a provided namespace. @@ -3831,255 +3831,255 @@ class REXML::Light::Node # object. Otherwise, the element argument is a string, the namespace (if # provided) is the namespace the element is created in. # - # source://rexml//lib/rexml/light/node.rb#114 + # pkg:gem/rexml#lib/rexml/light/node.rb:114 def <<(element); end - # source://rexml//lib/rexml/light/node.rb#90 + # pkg:gem/rexml#lib/rexml/light/node.rb:90 def =~(path); end - # source://rexml//lib/rexml/light/node.rb#78 + # pkg:gem/rexml#lib/rexml/light/node.rb:78 def [](reference, ns = T.unsafe(nil)); end # Doesn't handle namespaces yet # - # source://rexml//lib/rexml/light/node.rb#95 + # pkg:gem/rexml#lib/rexml/light/node.rb:95 def []=(reference, ns, value = T.unsafe(nil)); end - # source://rexml//lib/rexml/light/node.rb#143 + # pkg:gem/rexml#lib/rexml/light/node.rb:143 def children; end - # source://rexml//lib/rexml/light/node.rb#36 + # pkg:gem/rexml#lib/rexml/light/node.rb:36 def each; end # @return [Boolean] # - # source://rexml//lib/rexml/light/node.rb#139 + # pkg:gem/rexml#lib/rexml/light/node.rb:139 def has_name?(name, namespace = T.unsafe(nil)); end - # source://rexml//lib/rexml/light/node.rb#54 + # pkg:gem/rexml#lib/rexml/light/node.rb:54 def local_name; end - # source://rexml//lib/rexml/light/node.rb#59 + # pkg:gem/rexml#lib/rexml/light/node.rb:59 def local_name=(name_str); end - # source://rexml//lib/rexml/light/node.rb#40 + # pkg:gem/rexml#lib/rexml/light/node.rb:40 def name; end - # source://rexml//lib/rexml/light/node.rb#44 + # pkg:gem/rexml#lib/rexml/light/node.rb:44 def name=(name_str, ns = T.unsafe(nil)); end - # source://rexml//lib/rexml/light/node.rb#67 + # pkg:gem/rexml#lib/rexml/light/node.rb:67 def namespace(prefix = T.unsafe(nil)); end - # source://rexml//lib/rexml/light/node.rb#71 + # pkg:gem/rexml#lib/rexml/light/node.rb:71 def namespace=(namespace); end - # source://rexml//lib/rexml/light/node.rb#125 + # pkg:gem/rexml#lib/rexml/light/node.rb:125 def node_type; end - # source://rexml//lib/rexml/light/node.rb#147 + # pkg:gem/rexml#lib/rexml/light/node.rb:147 def parent; end - # source://rexml//lib/rexml/light/node.rb#50 + # pkg:gem/rexml#lib/rexml/light/node.rb:50 def parent=(node); end - # source://rexml//lib/rexml/light/node.rb#63 + # pkg:gem/rexml#lib/rexml/light/node.rb:63 def prefix(namespace = T.unsafe(nil)); end - # source://rexml//lib/rexml/light/node.rb#134 + # pkg:gem/rexml#lib/rexml/light/node.rb:134 def root; end - # source://rexml//lib/rexml/light/node.rb#28 + # pkg:gem/rexml#lib/rexml/light/node.rb:28 def size; end - # source://rexml//lib/rexml/light/node.rb#129 + # pkg:gem/rexml#lib/rexml/light/node.rb:129 def text=(foo); end - # source://rexml//lib/rexml/light/node.rb#151 + # pkg:gem/rexml#lib/rexml/light/node.rb:151 def to_s; end private - # source://rexml//lib/rexml/light/node.rb#164 + # pkg:gem/rexml#lib/rexml/light/node.rb:164 def namespace_of(node, prefix = T.unsafe(nil)); end - # source://rexml//lib/rexml/light/node.rb#157 + # pkg:gem/rexml#lib/rexml/light/node.rb:157 def namesplit; end - # source://rexml//lib/rexml/light/node.rb#176 + # pkg:gem/rexml#lib/rexml/light/node.rb:176 def prefix_of(node, namespace = T.unsafe(nil)); end end -# source://rexml//lib/rexml/light/node.rb#10 +# pkg:gem/rexml#lib/rexml/light/node.rb:10 REXML::Light::Node::NAMESPLIT = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/light/node.rb#11 +# pkg:gem/rexml#lib/rexml/light/node.rb:11 REXML::Light::Node::PARENTS = T.let(T.unsafe(nil), Array) # Adds named attributes to an object. # -# source://rexml//lib/rexml/namespace.rb#7 +# pkg:gem/rexml#lib/rexml/namespace.rb:7 module REXML::Namespace include ::REXML::XMLTokens # The name of the object, valid if set # - # source://rexml//lib/rexml/namespace.rb#9 + # pkg:gem/rexml#lib/rexml/namespace.rb:9 def expanded_name; end # Fully expand the name, even if the prefix wasn't specified in the # source file. # - # source://rexml//lib/rexml/namespace.rb#57 + # pkg:gem/rexml#lib/rexml/namespace.rb:57 def fully_expanded_name; end # Compares names optionally WITH namespaces # # @return [Boolean] # - # source://rexml//lib/rexml/namespace.rb#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rexml#lib/rexml/namespace.rb:9 def name; end # Sets the name and the expanded name # - # source://rexml//lib/rexml/namespace.rb#17 + # pkg:gem/rexml#lib/rexml/namespace.rb:17 def name=(name); end # The expanded name of the object, valid if name is set # - # source://rexml//lib/rexml/namespace.rb#11 + # pkg:gem/rexml#lib/rexml/namespace.rb:11 def prefix; end # The expanded name of the object, valid if name is set # - # source://rexml//lib/rexml/namespace.rb#11 + # pkg:gem/rexml#lib/rexml/namespace.rb:11 def prefix=(_arg0); end end -# source://rexml//lib/rexml/namespace.rb#13 +# pkg:gem/rexml#lib/rexml/namespace.rb:13 REXML::Namespace::NAME_WITHOUT_NAMESPACE = T.let(T.unsafe(nil), Regexp) # Represents a node in the tree. Nodes are never encountered except as # superclasses of other objects. Nodes have siblings. # -# source://rexml//lib/rexml/node.rb#9 +# pkg:gem/rexml#lib/rexml/node.rb:9 module REXML::Node # Visit all subnodes of +self+ recursively # - # source://rexml//lib/rexml/node.rb#54 + # pkg:gem/rexml#lib/rexml/node.rb:54 def each_recursive(&block); end # Find (and return) first subnode (recursively) for which the block # evaluates to true. Returns +nil+ if none was found. # - # source://rexml//lib/rexml/node.rb#67 + # pkg:gem/rexml#lib/rexml/node.rb:67 def find_first_recursive(&block); end - # source://rexml//lib/rexml/node.rb#39 + # pkg:gem/rexml#lib/rexml/node.rb:39 def indent(to, ind); end # Returns the position that +self+ holds in its parent's array, indexed # from 1. # - # source://rexml//lib/rexml/node.rb#76 + # pkg:gem/rexml#lib/rexml/node.rb:76 def index_in_parent; end # @return the next sibling (nil if unset) # - # source://rexml//lib/rexml/node.rb#11 + # pkg:gem/rexml#lib/rexml/node.rb:11 def next_sibling_node; end # @return [Boolean] # - # source://rexml//lib/rexml/node.rb#48 + # pkg:gem/rexml#lib/rexml/node.rb:48 def parent?; end # @return the previous sibling (nil if unset) # - # source://rexml//lib/rexml/node.rb#17 + # pkg:gem/rexml#lib/rexml/node.rb:17 def previous_sibling_node; end # indent:: # *DEPRECATED* This parameter is now ignored. See the formatters in the # REXML::Formatters package for changing the output style. # - # source://rexml//lib/rexml/node.rb#27 + # pkg:gem/rexml#lib/rexml/node.rb:27 def to_s(indent = T.unsafe(nil)); end end -# source://rexml//lib/rexml/doctype.rb#276 +# pkg:gem/rexml#lib/rexml/doctype.rb:276 class REXML::NotationDecl < ::REXML::Child # @return [NotationDecl] a new instance of NotationDecl # - # source://rexml//lib/rexml/doctype.rb#278 + # pkg:gem/rexml#lib/rexml/doctype.rb:278 def initialize(name, middle, pub, sys); end # This method retrieves the name of the notation. # # Method contributed by Henrik Martensson # - # source://rexml//lib/rexml/doctype.rb#302 + # pkg:gem/rexml#lib/rexml/doctype.rb:302 def name; end # Returns the value of attribute public. # - # source://rexml//lib/rexml/doctype.rb#277 + # pkg:gem/rexml#lib/rexml/doctype.rb:277 def public; end # Sets the attribute public # # @param value the value to set the attribute public to. # - # source://rexml//lib/rexml/doctype.rb#277 + # pkg:gem/rexml#lib/rexml/doctype.rb:277 def public=(_arg0); end # Returns the value of attribute system. # - # source://rexml//lib/rexml/doctype.rb#277 + # pkg:gem/rexml#lib/rexml/doctype.rb:277 def system; end # Sets the attribute system # # @param value the value to set the attribute system to. # - # source://rexml//lib/rexml/doctype.rb#277 + # pkg:gem/rexml#lib/rexml/doctype.rb:277 def system=(_arg0); end - # source://rexml//lib/rexml/doctype.rb#286 + # pkg:gem/rexml#lib/rexml/doctype.rb:286 def to_s; end - # source://rexml//lib/rexml/doctype.rb#295 + # pkg:gem/rexml#lib/rexml/doctype.rb:295 def write(output, indent = T.unsafe(nil)); end end -# source://rexml//lib/rexml/output.rb#5 +# pkg:gem/rexml#lib/rexml/output.rb:5 class REXML::Output include ::REXML::Encoding # @return [Output] a new instance of Output # - # source://rexml//lib/rexml/output.rb#10 + # pkg:gem/rexml#lib/rexml/output.rb:10 def initialize(real_IO, encd = T.unsafe(nil)); end - # source://rexml//lib/rexml/output.rb#22 + # pkg:gem/rexml#lib/rexml/output.rb:22 def <<(content); end # Returns the value of attribute encoding. # - # source://rexml//lib/rexml/output.rb#8 + # pkg:gem/rexml#lib/rexml/output.rb:8 def encoding; end - # source://rexml//lib/rexml/output.rb#26 + # pkg:gem/rexml#lib/rexml/output.rb:26 def to_s; end end @@ -4087,7 +4087,7 @@ end # class is never encountered except as the superclass for some other # object. # -# source://rexml//lib/rexml/parent.rb#8 +# pkg:gem/rexml#lib/rexml/parent.rb:8 class REXML::Parent < ::REXML::Child include ::Enumerable @@ -4096,17 +4096,17 @@ class REXML::Parent < ::REXML::Child # @param parent if supplied, will be set as the parent of this object # @return [Parent] a new instance of Parent # - # source://rexml//lib/rexml/parent.rb#13 + # pkg:gem/rexml#lib/rexml/parent.rb:13 def initialize(parent = T.unsafe(nil)); end - # source://rexml//lib/rexml/parent.rb#25 + # pkg:gem/rexml#lib/rexml/parent.rb:25 def <<(object); end # Fetches a child at a given index # # @param index the Integer index of the child to fetch # - # source://rexml//lib/rexml/parent.rb#57 + # pkg:gem/rexml#lib/rexml/parent.rb:57 def [](index); end # Set an index entry. See Array.[]= @@ -4116,37 +4116,37 @@ class REXML::Parent < ::REXML::Child # @param opt either the object to set, or an Integer length # @return the parent (self) # - # source://rexml//lib/rexml/parent.rb#70 + # pkg:gem/rexml#lib/rexml/parent.rb:70 def []=(*args); end - # source://rexml//lib/rexml/parent.rb#18 + # pkg:gem/rexml#lib/rexml/parent.rb:18 def add(object); end - # source://rexml//lib/rexml/parent.rb#160 + # pkg:gem/rexml#lib/rexml/parent.rb:160 def children; end # Deeply clones this object. This creates a complete duplicate of this # Parent, including all descendants. # - # source://rexml//lib/rexml/parent.rb#148 + # pkg:gem/rexml#lib/rexml/parent.rb:148 def deep_clone; end - # source://rexml//lib/rexml/parent.rb#32 + # pkg:gem/rexml#lib/rexml/parent.rb:32 def delete(object); end - # source://rexml//lib/rexml/parent.rb#47 + # pkg:gem/rexml#lib/rexml/parent.rb:47 def delete_at(index); end - # source://rexml//lib/rexml/parent.rb#43 + # pkg:gem/rexml#lib/rexml/parent.rb:43 def delete_if(&block); end - # source://rexml//lib/rexml/parent.rb#39 + # pkg:gem/rexml#lib/rexml/parent.rb:39 def each(&block); end - # source://rexml//lib/rexml/parent.rb#61 + # pkg:gem/rexml#lib/rexml/parent.rb:61 def each_child(&block); end - # source://rexml//lib/rexml/parent.rb#51 + # pkg:gem/rexml#lib/rexml/parent.rb:51 def each_index(&block); end # Fetches the index of a given child @@ -4155,7 +4155,7 @@ class REXML::Parent < ::REXML::Child # @param child the child to get the index of # @return the index of the child, or nil if the object is not a child # - # source://rexml//lib/rexml/parent.rb#123 + # pkg:gem/rexml#lib/rexml/parent.rb:123 def index(child); end # Inserts an child after another child @@ -4167,7 +4167,7 @@ class REXML::Parent < ::REXML::Child # @param child2 the child to insert # @return the parent (self) # - # source://rexml//lib/rexml/parent.rb#102 + # pkg:gem/rexml#lib/rexml/parent.rb:102 def insert_after(child1, child2); end # Inserts an child before another child @@ -4179,20 +4179,20 @@ class REXML::Parent < ::REXML::Child # @param child2 the child to insert # @return the parent (self) # - # source://rexml//lib/rexml/parent.rb#82 + # pkg:gem/rexml#lib/rexml/parent.rb:82 def insert_before(child1, child2); end # @return the number of children of this parent # - # source://rexml//lib/rexml/parent.rb#134 + # pkg:gem/rexml#lib/rexml/parent.rb:134 def length; end # @return [Boolean] # - # source://rexml//lib/rexml/parent.rb#162 + # pkg:gem/rexml#lib/rexml/parent.rb:162 def parent?; end - # source://rexml//lib/rexml/parent.rb#24 + # pkg:gem/rexml#lib/rexml/parent.rb:24 def push(object); end # Replaces one child with another, making sure the nodelist is correct @@ -4201,74 +4201,74 @@ class REXML::Parent < ::REXML::Child # @param replacement the child to insert into the nodelist (must be a # @param to_replace the child to replace (must be a Child) # - # source://rexml//lib/rexml/parent.rb#140 + # pkg:gem/rexml#lib/rexml/parent.rb:140 def replace_child(to_replace, replacement); end # @return the number of children of this parent # - # source://rexml//lib/rexml/parent.rb#130 + # pkg:gem/rexml#lib/rexml/parent.rb:130 def size; end - # source://rexml//lib/rexml/parent.rb#115 + # pkg:gem/rexml#lib/rexml/parent.rb:115 def to_a; end - # source://rexml//lib/rexml/parent.rb#27 + # pkg:gem/rexml#lib/rexml/parent.rb:27 def unshift(object); end end -# source://rexml//lib/rexml/parseexception.rb#3 +# pkg:gem/rexml#lib/rexml/parseexception.rb:3 class REXML::ParseException < ::RuntimeError # @return [ParseException] a new instance of ParseException # - # source://rexml//lib/rexml/parseexception.rb#6 + # pkg:gem/rexml#lib/rexml/parseexception.rb:6 def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil)); end - # source://rexml//lib/rexml/parseexception.rb#49 + # pkg:gem/rexml#lib/rexml/parseexception.rb:49 def context; end # Returns the value of attribute continued_exception. # - # source://rexml//lib/rexml/parseexception.rb#4 + # pkg:gem/rexml#lib/rexml/parseexception.rb:4 def continued_exception; end # Sets the attribute continued_exception # # @param value the value to set the attribute continued_exception to. # - # source://rexml//lib/rexml/parseexception.rb#4 + # pkg:gem/rexml#lib/rexml/parseexception.rb:4 def continued_exception=(_arg0); end - # source://rexml//lib/rexml/parseexception.rb#44 + # pkg:gem/rexml#lib/rexml/parseexception.rb:44 def line; end # Returns the value of attribute parser. # - # source://rexml//lib/rexml/parseexception.rb#4 + # pkg:gem/rexml#lib/rexml/parseexception.rb:4 def parser; end # Sets the attribute parser # # @param value the value to set the attribute parser to. # - # source://rexml//lib/rexml/parseexception.rb#4 + # pkg:gem/rexml#lib/rexml/parseexception.rb:4 def parser=(_arg0); end - # source://rexml//lib/rexml/parseexception.rb#39 + # pkg:gem/rexml#lib/rexml/parseexception.rb:39 def position; end # Returns the value of attribute source. # - # source://rexml//lib/rexml/parseexception.rb#4 + # pkg:gem/rexml#lib/rexml/parseexception.rb:4 def source; end # Sets the attribute source # # @param value the value to set the attribute source to. # - # source://rexml//lib/rexml/parseexception.rb#4 + # pkg:gem/rexml#lib/rexml/parseexception.rb:4 def source=(_arg0); end - # source://rexml//lib/rexml/parseexception.rb#13 + # pkg:gem/rexml#lib/rexml/parseexception.rb:13 def to_s; end end @@ -4292,55 +4292,55 @@ end # # Nat Price gave me some good ideas for the API. # -# source://rexml//lib/rexml/parsers/baseparser.rb#57 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:57 class REXML::Parsers::BaseParser # @return [BaseParser] a new instance of BaseParser # - # source://rexml//lib/rexml/parsers/baseparser.rb#164 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:164 def initialize(source); end - # source://rexml//lib/rexml/parsers/baseparser.rb#175 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:175 def add_listener(listener); end # Returns true if there are no more events # # @return [Boolean] # - # source://rexml//lib/rexml/parsers/baseparser.rb#210 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:210 def empty?; end - # source://rexml//lib/rexml/parsers/baseparser.rb#537 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:537 def entity(reference, entities); end # Returns the value of attribute entity_expansion_count. # - # source://rexml//lib/rexml/parsers/baseparser.rb#180 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:180 def entity_expansion_count; end # Sets the attribute entity_expansion_limit # # @param value the value to set the attribute entity_expansion_limit to. # - # source://rexml//lib/rexml/parsers/baseparser.rb#181 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:181 def entity_expansion_limit=(_arg0); end # Sets the attribute entity_expansion_text_limit # # @param value the value to set the attribute entity_expansion_text_limit to. # - # source://rexml//lib/rexml/parsers/baseparser.rb#182 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:182 def entity_expansion_text_limit=(_arg0); end # Returns true if there are more events. Synonymous with !empty? # # @return [Boolean] # - # source://rexml//lib/rexml/parsers/baseparser.rb#215 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:215 def has_next?; end # Escapes all possible entities # - # source://rexml//lib/rexml/parsers/baseparser.rb#548 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:548 def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end # Peek at the +depth+ event in the stack. The first element on the stack @@ -4350,183 +4350,183 @@ class REXML::Parsers::BaseParser # event, so you can effectively pre-parse the entire document (pull the # entire thing into memory) using this method. # - # source://rexml//lib/rexml/parsers/baseparser.rb#231 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:231 def peek(depth = T.unsafe(nil)); end - # source://rexml//lib/rexml/parsers/baseparser.rb#200 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:200 def position; end # Returns the next event. This is a +PullEvent+ object. # - # source://rexml//lib/rexml/parsers/baseparser.rb#246 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:246 def pull; end - # source://rexml//lib/rexml/parsers/baseparser.rb#189 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:189 def reset; end # Returns the value of attribute source. # - # source://rexml//lib/rexml/parsers/baseparser.rb#179 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:179 def source; end - # source://rexml//lib/rexml/parsers/baseparser.rb#184 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:184 def stream=(source); end # Unescapes all possible entities # - # source://rexml//lib/rexml/parsers/baseparser.rb#564 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:564 def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end # Push an event back on the head of the stream. This method # has (theoretically) infinite depth. # - # source://rexml//lib/rexml/parsers/baseparser.rb#221 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:221 def unshift(token); end private - # source://rexml//lib/rexml/parsers/baseparser.rb#613 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:613 def add_namespace(prefix, uri); end # @return [Boolean] # - # source://rexml//lib/rexml/parsers/baseparser.rb#646 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:646 def need_source_encoding_update?(xml_declaration_encoding); end - # source://rexml//lib/rexml/parsers/baseparser.rb#652 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:652 def normalize_xml_declaration_encoding(xml_declaration_encoding); end - # source://rexml//lib/rexml/parsers/baseparser.rb#849 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:849 def parse_attribute_value_with_equal(name); end - # source://rexml//lib/rexml/parsers/baseparser.rb#868 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:868 def parse_attributes(prefixes); end - # source://rexml//lib/rexml/parsers/baseparser.rb#669 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:669 def parse_id(base_error_message, accept_external_id:, accept_public_id:); end - # source://rexml//lib/rexml/parsers/baseparser.rb#697 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:697 def parse_id_invalid_details(accept_external_id:, accept_public_id:); end - # source://rexml//lib/rexml/parsers/baseparser.rb#656 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:656 def parse_name(base_error_message); end - # source://rexml//lib/rexml/parsers/baseparser.rb#628 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:628 def pop_namespaces_restore; end - # source://rexml//lib/rexml/parsers/baseparser.rb#735 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:735 def process_comment; end - # source://rexml//lib/rexml/parsers/baseparser.rb#747 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:747 def process_instruction; end - # source://rexml//lib/rexml/parsers/baseparser.rb#256 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:256 def pull_event; end - # source://rexml//lib/rexml/parsers/baseparser.rb#622 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:622 def push_namespaces_restore; end - # source://rexml//lib/rexml/parsers/baseparser.rb#639 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:639 def record_entity_expansion(delta = T.unsafe(nil)); end - # source://rexml//lib/rexml/parsers/baseparser.rb#835 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:835 def scan_quote; end - # source://rexml//lib/rexml/parsers/baseparser.rb#769 + # pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:769 def xml_declaration; end end -# source://rexml//lib/rexml/parsers/baseparser.rb#130 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:130 REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#131 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:131 REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#132 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:132 REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#143 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:143 module REXML::Parsers::BaseParser::Private; end -# source://rexml//lib/rexml/parsers/baseparser.rb#148 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:148 REXML::Parsers::BaseParser::Private::ATTLISTDECL_END = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#153 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:153 REXML::Parsers::BaseParser::Private::CARRIAGE_RETURN_NEWLINE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#154 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:154 REXML::Parsers::BaseParser::Private::CHARACTER_REFERENCES = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#146 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:146 REXML::Parsers::BaseParser::Private::CLOSE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#155 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:155 REXML::Parsers::BaseParser::Private::DEFAULT_ENTITIES_PATTERNS = T.let(T.unsafe(nil), Hash) -# source://rexml//lib/rexml/parsers/baseparser.rb#152 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:152 REXML::Parsers::BaseParser::Private::ENTITYDECL_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#147 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:147 REXML::Parsers::BaseParser::Private::EQUAL_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#150 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:150 REXML::Parsers::BaseParser::Private::GEDECL_PATTERN = T.let(T.unsafe(nil), String) -# source://rexml//lib/rexml/parsers/baseparser.rb#149 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:149 REXML::Parsers::BaseParser::Private::NAME_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#151 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:151 REXML::Parsers::BaseParser::Private::PEDECL_PATTERN = T.let(T.unsafe(nil), String) -# source://rexml//lib/rexml/parsers/baseparser.rb#144 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:144 REXML::Parsers::BaseParser::Private::PEREFERENCE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#145 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:145 REXML::Parsers::BaseParser::Private::TAG_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#160 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:160 REXML::Parsers::BaseParser::Private::XML_PREFIXED_NAMESPACE = T.let(T.unsafe(nil), String) -# source://rexml//lib/rexml/parsers/baseparser.rb#66 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:66 REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#65 +# pkg:gem/rexml#lib/rexml/parsers/baseparser.rb:65 REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String) -# source://rexml//lib/rexml/parsers/streamparser.rb#6 +# pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:6 class REXML::Parsers::StreamParser # @return [StreamParser] a new instance of StreamParser # - # source://rexml//lib/rexml/parsers/streamparser.rb#7 + # pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:7 def initialize(source, listener); end - # source://rexml//lib/rexml/parsers/streamparser.rb#13 + # pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:13 def add_listener(listener); end - # source://rexml//lib/rexml/parsers/streamparser.rb#17 + # pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:17 def entity_expansion_count; end - # source://rexml//lib/rexml/parsers/streamparser.rb#21 + # pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:21 def entity_expansion_limit=(limit); end - # source://rexml//lib/rexml/parsers/streamparser.rb#25 + # pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:25 def entity_expansion_text_limit=(limit); end - # source://rexml//lib/rexml/parsers/streamparser.rb#29 + # pkg:gem/rexml#lib/rexml/parsers/streamparser.rb:29 def parse; end end -# source://rexml//lib/rexml/parsers/treeparser.rb#7 +# pkg:gem/rexml#lib/rexml/parsers/treeparser.rb:7 class REXML::Parsers::TreeParser # @return [TreeParser] a new instance of TreeParser # - # source://rexml//lib/rexml/parsers/treeparser.rb#8 + # pkg:gem/rexml#lib/rexml/parsers/treeparser.rb:8 def initialize(source, build_context = T.unsafe(nil)); end - # source://rexml//lib/rexml/parsers/treeparser.rb#13 + # pkg:gem/rexml#lib/rexml/parsers/treeparser.rb:13 def add_listener(listener); end - # source://rexml//lib/rexml/parsers/treeparser.rb#17 + # pkg:gem/rexml#lib/rexml/parsers/treeparser.rb:17 def parse; end end @@ -4535,48 +4535,48 @@ end # There is strange, dark magic at work in this code. Beware. Go back! Go # back while you still can! # -# source://rexml//lib/rexml/parsers/xpathparser.rb#12 +# pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:12 class REXML::Parsers::XPathParser include ::REXML::XMLTokens - # source://rexml//lib/rexml/parsers/xpathparser.rb#42 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:42 def abbreviate(path_or_parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#132 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:132 def expand(path_or_parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#16 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:16 def namespaces=(namespaces); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#21 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:21 def parse(path); end # For backward compatibility # - # source://rexml//lib/rexml/parsers/xpathparser.rb#221 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:221 def preciate_to_string(parsed, &block); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#36 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:36 def predicate(path); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#174 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:174 def predicate_to_path(parsed, &block); end private - # source://rexml//lib/rexml/parsers/xpathparser.rb#505 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:505 def AdditiveExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#438 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:438 def AndExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#457 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:457 def EqualityExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#608 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:608 def FilterExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#663 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:663 def FunctionCall(rest, parsed); end # LocationPath @@ -4584,54 +4584,54 @@ class REXML::Parsers::XPathParser # | '/' RelativeLocationPath? # | '//' RelativeLocationPath # - # source://rexml//lib/rexml/parsers/xpathparser.rb#243 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:243 def LocationPath(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#528 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:528 def MultiplicativeExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#343 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:343 def NodeTest(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#419 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:419 def OrExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#590 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:590 def PathExpr(path, parsed); end # Filters the supplied nodeset on the predicate(s) # - # source://rexml//lib/rexml/parsers/xpathparser.rb#395 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:395 def Predicate(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#626 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:626 def PrimaryExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#480 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:480 def RelationalExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#267 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:267 def RelativeLocationPath(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#553 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:553 def UnaryExpr(path, parsed); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#571 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:571 def UnionExpr(path, parsed); end # get_group( '[foo]bar' ) -> ['bar', '[foo]'] # - # source://rexml//lib/rexml/parsers/xpathparser.rb#676 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:676 def get_group(string); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#694 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:694 def parse_args(string); end - # source://rexml//lib/rexml/parsers/xpathparser.rb#224 + # pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:224 def quote_literal(literal); end end -# source://rexml//lib/rexml/parsers/xpathparser.rb#339 +# pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:339 REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp) # Returns a 1-1 map of the nodeset @@ -4645,41 +4645,41 @@ REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp) # | PI '(' LITERAL ')' PI # | '[' expr ']' Predicate # -# source://rexml//lib/rexml/parsers/xpathparser.rb#338 +# pkg:gem/rexml#lib/rexml/parsers/xpathparser.rb:338 REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/doctype.rb#10 +# pkg:gem/rexml#lib/rexml/doctype.rb:10 class REXML::ReferenceWriter # @return [ReferenceWriter] a new instance of ReferenceWriter # - # source://rexml//lib/rexml/doctype.rb#11 + # pkg:gem/rexml#lib/rexml/doctype.rb:11 def initialize(id_type, public_id_literal, system_literal, context = T.unsafe(nil)); end - # source://rexml//lib/rexml/doctype.rb#25 + # pkg:gem/rexml#lib/rexml/doctype.rb:25 def write(output); end end -# source://rexml//lib/rexml/security.rb#3 +# pkg:gem/rexml#lib/rexml/security.rb:3 module REXML::Security class << self # Get the entity expansion limit. By default the limit is set to 10000. # - # source://rexml//lib/rexml/security.rb#12 + # pkg:gem/rexml#lib/rexml/security.rb:12 def entity_expansion_limit; end # Set the entity expansion limit. By default the limit is set to 10000. # - # source://rexml//lib/rexml/security.rb#7 + # pkg:gem/rexml#lib/rexml/security.rb:7 def entity_expansion_limit=(val); end # Get the entity expansion limit. By default the limit is set to 10240. # - # source://rexml//lib/rexml/security.rb#24 + # pkg:gem/rexml#lib/rexml/security.rb:24 def entity_expansion_text_limit; end # Set the entity expansion limit. By default the limit is set to 10240. # - # source://rexml//lib/rexml/security.rb#19 + # pkg:gem/rexml#lib/rexml/security.rb:19 def entity_expansion_text_limit=(val); end end end @@ -4687,7 +4687,7 @@ end # A Source can be searched for patterns, and wraps buffers and other # objects and provides consumption of text # -# source://rexml//lib/rexml/source.rb#61 +# pkg:gem/rexml#lib/rexml/source.rb:61 class REXML::Source include ::REXML::Encoding @@ -4698,102 +4698,102 @@ class REXML::Source # @param encoding if non-null, sets the encoding of the source to this # @return [Source] a new instance of Source # - # source://rexml//lib/rexml/source.rb#88 + # pkg:gem/rexml#lib/rexml/source.rb:88 def initialize(arg, encoding = T.unsafe(nil)); end # The current buffer (what we're going to read next) # - # source://rexml//lib/rexml/source.rb#101 + # pkg:gem/rexml#lib/rexml/source.rb:101 def buffer; end - # source://rexml//lib/rexml/source.rb#111 + # pkg:gem/rexml#lib/rexml/source.rb:111 def buffer_encoding=(encoding); end # @return the current line in the source # - # source://rexml//lib/rexml/source.rb#180 + # pkg:gem/rexml#lib/rexml/source.rb:180 def current_line; end - # source://rexml//lib/rexml/source.rb#105 + # pkg:gem/rexml#lib/rexml/source.rb:105 def drop_parsed_content; end # @return [Boolean] true if the Source is exhausted # - # source://rexml//lib/rexml/source.rb#175 + # pkg:gem/rexml#lib/rexml/source.rb:175 def empty?; end # Returns the value of attribute encoding. # - # source://rexml//lib/rexml/source.rb#65 + # pkg:gem/rexml#lib/rexml/source.rb:65 def encoding; end # Inherited from Encoding # Overridden to support optimized en/decoding # - # source://rexml//lib/rexml/source.rb#117 + # pkg:gem/rexml#lib/rexml/source.rb:117 def encoding=(enc); end - # source://rexml//lib/rexml/source.rb#135 + # pkg:gem/rexml#lib/rexml/source.rb:135 def ensure_buffer; end # The line number of the last consumed text # - # source://rexml//lib/rexml/source.rb#64 + # pkg:gem/rexml#lib/rexml/source.rb:64 def line; end - # source://rexml//lib/rexml/source.rb#138 + # pkg:gem/rexml#lib/rexml/source.rb:138 def match(pattern, cons = T.unsafe(nil)); end # @return [Boolean] # - # source://rexml//lib/rexml/source.rb#146 + # pkg:gem/rexml#lib/rexml/source.rb:146 def match?(pattern, cons = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#166 + # pkg:gem/rexml#lib/rexml/source.rb:166 def peek_byte; end - # source://rexml//lib/rexml/source.rb#158 + # pkg:gem/rexml#lib/rexml/source.rb:158 def position; end - # source://rexml//lib/rexml/source.rb#162 + # pkg:gem/rexml#lib/rexml/source.rb:162 def position=(pos); end - # source://rexml//lib/rexml/source.rb#122 + # pkg:gem/rexml#lib/rexml/source.rb:122 def read(term = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#125 + # pkg:gem/rexml#lib/rexml/source.rb:125 def read_until(term); end - # source://rexml//lib/rexml/source.rb#170 + # pkg:gem/rexml#lib/rexml/source.rb:170 def scan_byte; end - # source://rexml//lib/rexml/source.rb#154 + # pkg:gem/rexml#lib/rexml/source.rb:154 def skip_spaces; end private - # source://rexml//lib/rexml/source.rb#189 + # pkg:gem/rexml#lib/rexml/source.rb:189 def detect_encoding; end - # source://rexml//lib/rexml/source.rb#207 + # pkg:gem/rexml#lib/rexml/source.rb:207 def encoding_updated; end end -# source://rexml//lib/rexml/source.rb#67 +# pkg:gem/rexml#lib/rexml/source.rb:67 module REXML::Source::Private; end -# source://rexml//lib/rexml/source.rb#70 +# pkg:gem/rexml#lib/rexml/source.rb:70 REXML::Source::Private::PRE_DEFINED_TERM_PATTERNS = T.let(T.unsafe(nil), Hash) -# source://rexml//lib/rexml/source.rb#69 +# pkg:gem/rexml#lib/rexml/source.rb:69 REXML::Source::Private::SCANNER_RESET_SIZE = T.let(T.unsafe(nil), Integer) -# source://rexml//lib/rexml/source.rb#68 +# pkg:gem/rexml#lib/rexml/source.rb:68 REXML::Source::Private::SPACES_PATTERN = T.let(T.unsafe(nil), Regexp) # Generates Source-s. USE THIS CLASS. # -# source://rexml//lib/rexml/source.rb#38 +# pkg:gem/rexml#lib/rexml/source.rb:38 class REXML::SourceFactory class << self # Generates a Source object @@ -4801,14 +4801,14 @@ class REXML::SourceFactory # @param arg Either a String, or an IO # @return a Source, or nil if a bad argument was given # - # source://rexml//lib/rexml/source.rb#42 + # pkg:gem/rexml#lib/rexml/source.rb:42 def create_from(arg); end end end # Represents text nodes in an XML document # -# source://rexml//lib/rexml/text.rb#11 +# pkg:gem/rexml#lib/rexml/text.rb:11 class REXML::Text < ::REXML::Child include ::Comparable @@ -4851,7 +4851,7 @@ class REXML::Text < ::REXML::Child # # @return [Text] a new instance of Text # - # source://rexml//lib/rexml/text.rb#79 + # pkg:gem/rexml#lib/rexml/text.rb:79 def initialize(arg, respect_whitespace = T.unsafe(nil), parent = T.unsafe(nil), raw = T.unsafe(nil), entity_filter = T.unsafe(nil), illegal = T.unsafe(nil)); end # Appends text to this text node. The text is appended in the +raw+ mode @@ -4860,46 +4860,46 @@ class REXML::Text < ::REXML::Child # +returns+ the text itself to enable method chain like # 'text << "XXX" << "YYY"'. # - # source://rexml//lib/rexml/text.rb#189 + # pkg:gem/rexml#lib/rexml/text.rb:189 def <<(to_append); end # +other+ a String or a Text # +returns+ the result of (to_s <=> arg.to_s) # - # source://rexml//lib/rexml/text.rb#198 + # pkg:gem/rexml#lib/rexml/text.rb:198 def <=>(other); end - # source://rexml//lib/rexml/text.rb#179 + # pkg:gem/rexml#lib/rexml/text.rb:179 def clone; end - # source://rexml//lib/rexml/text.rb#202 + # pkg:gem/rexml#lib/rexml/text.rb:202 def doctype; end # @return [Boolean] # - # source://rexml//lib/rexml/text.rb#174 + # pkg:gem/rexml#lib/rexml/text.rb:174 def empty?; end - # source://rexml//lib/rexml/text.rb#271 + # pkg:gem/rexml#lib/rexml/text.rb:271 def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end - # source://rexml//lib/rexml/text.rb#225 + # pkg:gem/rexml#lib/rexml/text.rb:225 def inspect; end - # source://rexml//lib/rexml/text.rb#170 + # pkg:gem/rexml#lib/rexml/text.rb:170 def node_type; end - # source://rexml//lib/rexml/text.rb#110 + # pkg:gem/rexml#lib/rexml/text.rb:110 def parent=(parent); end # If +raw+ is true, then REXML leaves the value alone # - # source://rexml//lib/rexml/text.rb#21 + # pkg:gem/rexml#lib/rexml/text.rb:21 def raw; end # If +raw+ is true, then REXML leaves the value alone # - # source://rexml//lib/rexml/text.rb#21 + # pkg:gem/rexml#lib/rexml/text.rb:21 def raw=(_arg0); end # Returns the string value of this text node. This string is always @@ -4916,7 +4916,7 @@ class REXML::Text < ::REXML::Child # u = Text.new( "sean russell", false, nil, true ) # u.to_s #-> "sean russell" # - # source://rexml//lib/rexml/text.rb#220 + # pkg:gem/rexml#lib/rexml/text.rb:220 def to_s; end # Returns the string value of this text. This is the text without @@ -4933,7 +4933,7 @@ class REXML::Text < ::REXML::Child # u = Text.new( "sean russell", false, nil, true ) # u.value #-> "sean russell" # - # source://rexml//lib/rexml/text.rb#242 + # pkg:gem/rexml#lib/rexml/text.rb:242 def value; end # Sets the contents of this text node. This expects the text to be @@ -4944,16 +4944,16 @@ class REXML::Text < ::REXML::Child # e[0].value = "bar" # bar # e[0].value = "" # <a> # - # source://rexml//lib/rexml/text.rb#254 + # pkg:gem/rexml#lib/rexml/text.rb:254 def value=(val); end - # source://rexml//lib/rexml/text.rb#260 + # pkg:gem/rexml#lib/rexml/text.rb:260 def wrap(string, width, addnewline = T.unsafe(nil)); end # == DEPRECATED # See REXML::Formatters # - # source://rexml//lib/rexml/text.rb#288 + # pkg:gem/rexml#lib/rexml/text.rb:288 def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end # Writes out text, substituting special characters beforehand. @@ -4971,124 +4971,124 @@ class REXML::Text < ::REXML::Child # } # puts ascOut # - # source://rexml//lib/rexml/text.rb#318 + # pkg:gem/rexml#lib/rexml/text.rb:318 def write_with_substitution(out, input); end # FIXME # This probably won't work properly # - # source://rexml//lib/rexml/text.rb#300 + # pkg:gem/rexml#lib/rexml/text.rb:300 def xpath; end private - # source://rexml//lib/rexml/text.rb#331 + # pkg:gem/rexml#lib/rexml/text.rb:331 def clear_cache; end class << self # check for illegal characters # - # source://rexml//lib/rexml/text.rb#116 + # pkg:gem/rexml#lib/rexml/text.rb:116 def check(string, pattern, doctype = T.unsafe(nil)); end - # source://rexml//lib/rexml/text.rb#401 + # pkg:gem/rexml#lib/rexml/text.rb:401 def expand(ref, doctype, filter); end # Escapes all possible entities # - # source://rexml//lib/rexml/text.rb#363 + # pkg:gem/rexml#lib/rexml/text.rb:363 def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end # Reads text, substituting entities # - # source://rexml//lib/rexml/text.rb#337 + # pkg:gem/rexml#lib/rexml/text.rb:337 def read_with_substitution(input, illegal = T.unsafe(nil)); end # Unescapes all possible entities # - # source://rexml//lib/rexml/text.rb#387 + # pkg:gem/rexml#lib/rexml/text.rb:387 def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil), entity_expansion_text_limit: T.unsafe(nil)); end end end -# source://rexml//lib/rexml/undefinednamespaceexception.rb#4 +# pkg:gem/rexml#lib/rexml/undefinednamespaceexception.rb:4 class REXML::UndefinedNamespaceException < ::REXML::ParseException # @return [UndefinedNamespaceException] a new instance of UndefinedNamespaceException # - # source://rexml//lib/rexml/undefinednamespaceexception.rb#5 + # pkg:gem/rexml#lib/rexml/undefinednamespaceexception.rb:5 def initialize(prefix, source, parser); end end -# source://rexml//lib/rexml/validation/validationexception.rb#4 +# pkg:gem/rexml#lib/rexml/validation/validationexception.rb:4 class REXML::Validation::ValidationException < ::RuntimeError # @return [ValidationException] a new instance of ValidationException # - # source://rexml//lib/rexml/validation/validationexception.rb#5 + # pkg:gem/rexml#lib/rexml/validation/validationexception.rb:5 def initialize(msg); end end # NEEDS DOCUMENTATION # -# source://rexml//lib/rexml/xmldecl.rb#8 +# pkg:gem/rexml#lib/rexml/xmldecl.rb:8 class REXML::XMLDecl < ::REXML::Child include ::REXML::Encoding # @return [XMLDecl] a new instance of XMLDecl # - # source://rexml//lib/rexml/xmldecl.rb#20 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:20 def initialize(version = T.unsafe(nil), encoding = T.unsafe(nil), standalone = T.unsafe(nil)); end - # source://rexml//lib/rexml/xmldecl.rb#56 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:56 def ==(other); end - # source://rexml//lib/rexml/xmldecl.rb#39 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:39 def clone; end - # source://rexml//lib/rexml/xmldecl.rb#102 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:102 def dowrite; end - # source://rexml//lib/rexml/xmldecl.rb#76 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:76 def encoding=(enc); end - # source://rexml//lib/rexml/xmldecl.rb#106 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:106 def inspect; end - # source://rexml//lib/rexml/xmldecl.rb#69 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:69 def node_type; end - # source://rexml//lib/rexml/xmldecl.rb#98 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:98 def nowrite; end - # source://rexml//lib/rexml/xmldecl.rb#74 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:74 def old_enc=(encoding); end # Returns the value of attribute standalone. # - # source://rexml//lib/rexml/xmldecl.rb#73 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:73 def stand_alone?; end # Returns the value of attribute standalone. # - # source://rexml//lib/rexml/xmldecl.rb#17 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:17 def standalone; end # Sets the attribute standalone # # @param value the value to set the attribute standalone to. # - # source://rexml//lib/rexml/xmldecl.rb#17 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:17 def standalone=(_arg0); end # Returns the value of attribute version. # - # source://rexml//lib/rexml/xmldecl.rb#17 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:17 def version; end # Sets the attribute version # # @param value the value to set the attribute version to. # - # source://rexml//lib/rexml/xmldecl.rb#17 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:17 def version=(_arg0); end # indent:: @@ -5098,25 +5098,25 @@ class REXML::XMLDecl < ::REXML::Child # ie_hack:: # Ignored # - # source://rexml//lib/rexml/xmldecl.rb#49 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:49 def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end # Returns the value of attribute writeencoding. # - # source://rexml//lib/rexml/xmldecl.rb#18 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:18 def writeencoding; end # Returns the value of attribute writethis. # - # source://rexml//lib/rexml/xmldecl.rb#18 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:18 def writethis; end - # source://rexml//lib/rexml/xmldecl.rb#63 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:63 def xmldecl(version, encoding, standalone); end private - # source://rexml//lib/rexml/xmldecl.rb#111 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:111 def content(enc); end class << self @@ -5126,14 +5126,14 @@ class REXML::XMLDecl < ::REXML::Child # # Note that XML 1.1 documents *must* include an XML declaration # - # source://rexml//lib/rexml/xmldecl.rb#92 + # pkg:gem/rexml#lib/rexml/xmldecl.rb:92 def default; end end end # Wrapper class. Use this class to access the XPath functions. # -# source://rexml//lib/rexml/xpath.rb#7 +# pkg:gem/rexml#lib/rexml/xpath.rb:7 class REXML::XPath include ::REXML::Functions @@ -5157,7 +5157,7 @@ class REXML::XPath # XPath.each( node, '/book/publisher/text()=$publisher', {}, {"publisher"=>"O'Reilly"}) \ # {|el| ... } # - # source://rexml//lib/rexml/xpath.rb#55 + # pkg:gem/rexml#lib/rexml/xpath.rb:55 def each(element, path = T.unsafe(nil), namespaces = T.unsafe(nil), variables = T.unsafe(nil), options = T.unsafe(nil), &block); end # Finds and returns the first node that matches the supplied xpath. @@ -5178,36 +5178,36 @@ class REXML::XPath # XPath.first( node, "a/x:b", { "x"=>"http://doofus" } ) # XPath.first( node, '/book/publisher/text()=$publisher', {}, {"publisher"=>"O'Reilly"}) # - # source://rexml//lib/rexml/xpath.rb#31 + # pkg:gem/rexml#lib/rexml/xpath.rb:31 def first(element, path = T.unsafe(nil), namespaces = T.unsafe(nil), variables = T.unsafe(nil), options = T.unsafe(nil)); end # Returns an array of nodes matching a given XPath. # - # source://rexml//lib/rexml/xpath.rb#62 + # pkg:gem/rexml#lib/rexml/xpath.rb:62 def match(element, path = T.unsafe(nil), namespaces = T.unsafe(nil), variables = T.unsafe(nil), options = T.unsafe(nil)); end end end # @private # -# source://rexml//lib/rexml/xpath_parser.rb#965 +# pkg:gem/rexml#lib/rexml/xpath_parser.rb:965 class REXML::XPathNode # @return [XPathNode] a new instance of XPathNode # - # source://rexml//lib/rexml/xpath_parser.rb#967 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:967 def initialize(node, context = T.unsafe(nil)); end # Returns the value of attribute context. # - # source://rexml//lib/rexml/xpath_parser.rb#966 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:966 def context; end - # source://rexml//lib/rexml/xpath_parser.rb#976 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:976 def position; end # Returns the value of attribute raw_node. # - # source://rexml//lib/rexml/xpath_parser.rb#966 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:966 def raw_node; end end @@ -5216,16 +5216,16 @@ end # There is strange, dark magic at work in this code. Beware. Go back! Go # back while you still can! # -# source://rexml//lib/rexml/xpath_parser.rb#54 +# pkg:gem/rexml#lib/rexml/xpath_parser.rb:54 class REXML::XPathParser include ::REXML::XMLTokens # @return [XPathParser] a new instance of XPathParser # - # source://rexml//lib/rexml/xpath_parser.rb#60 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:60 def initialize(strict: T.unsafe(nil)); end - # source://rexml//lib/rexml/xpath_parser.rb#107 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:107 def []=(variable_name, value); end # Performs a depth-first (document order) XPath search, and returns the @@ -5233,66 +5233,66 @@ class REXML::XPathParser # # FIXME: This method is incomplete! # - # source://rexml//lib/rexml/xpath_parser.rb#116 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:116 def first(path_stack, node); end - # source://rexml//lib/rexml/xpath_parser.rb#97 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:97 def get_first(path, node); end - # source://rexml//lib/rexml/xpath_parser.rb#153 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:153 def match(path_stack, node); end - # source://rexml//lib/rexml/xpath_parser.rb#69 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:69 def namespaces=(namespaces = T.unsafe(nil)); end - # source://rexml//lib/rexml/xpath_parser.rb#79 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:79 def parse(path, node); end - # source://rexml//lib/rexml/xpath_parser.rb#102 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:102 def predicate(path, node); end - # source://rexml//lib/rexml/xpath_parser.rb#74 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:74 def variables=(vars = T.unsafe(nil)); end private - # source://rexml//lib/rexml/xpath_parser.rb#781 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:781 def child(nodeset); end - # source://rexml//lib/rexml/xpath_parser.rb#922 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:922 def compare(a, operator, b); end - # source://rexml//lib/rexml/xpath_parser.rb#687 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:687 def descendant(nodeset, include_self); end - # source://rexml//lib/rexml/xpath_parser.rb#698 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:698 def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end - # source://rexml//lib/rexml/xpath_parser.rb#944 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:944 def each_unnode(nodeset); end - # source://rexml//lib/rexml/xpath_parser.rb#646 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:646 def enter(tag, *args); end - # source://rexml//lib/rexml/xpath_parser.rb#821 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:821 def equality_relational_compare(set1, op, set2); end - # source://rexml//lib/rexml/xpath_parser.rb#596 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:596 def evaluate_predicate(expression, nodesets); end # Expr takes a stack of path elements and a set of nodes (either a Parent # or an Array and returns an Array of matching nodes # - # source://rexml//lib/rexml/xpath_parser.rb#186 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:186 def expr(path_stack, nodeset, context = T.unsafe(nil)); end - # source://rexml//lib/rexml/xpath_parser.rb#587 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:587 def filter_nodeset(nodeset); end - # source://rexml//lib/rexml/xpath_parser.rb#754 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:754 def following(node); end - # source://rexml//lib/rexml/xpath_parser.rb#765 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:765 def following_node_of(node); end # Returns a String namespace for a node, given a prefix @@ -5301,22 +5301,22 @@ class REXML::XPathParser # 1. Use the supplied namespace mapping first. # 2. If no mapping was supplied, use the context node to look up the namespace # - # source://rexml//lib/rexml/xpath_parser.rb#174 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:174 def get_namespace(node, prefix); end - # source://rexml//lib/rexml/xpath_parser.rb#651 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:651 def leave(tag, *args); end - # source://rexml//lib/rexml/xpath_parser.rb#771 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:771 def next_sibling_node(node); end - # source://rexml//lib/rexml/xpath_parser.rb#488 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:488 def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end - # source://rexml//lib/rexml/xpath_parser.rb#808 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:808 def norm(b); end - # source://rexml//lib/rexml/xpath_parser.rb#896 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:896 def normalize_compare_values(a, operator, b); end # Builds a nodeset of all of the preceding nodes of the supplied node, @@ -5324,10 +5324,10 @@ class REXML::XPathParser # preceding:: includes every element in the document that precedes this node, # except for ancestors # - # source://rexml//lib/rexml/xpath_parser.rb#717 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:717 def preceding(node); end - # source://rexml//lib/rexml/xpath_parser.rb#739 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:739 def preceding_node_of(node); end # Reorders an array of nodes so that they are in document order @@ -5339,26 +5339,26 @@ class REXML::XPathParser # I wouldn't have to do this. Maybe add a document IDX for each node? # Problems with mutable documents. Or, rewrite everything. # - # source://rexml//lib/rexml/xpath_parser.rb#664 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:664 def sort(array_of_nodes, order); end - # source://rexml//lib/rexml/xpath_parser.rb#452 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:452 def step(path_stack, any_type: T.unsafe(nil), order: T.unsafe(nil)); end # @return [Boolean] # - # source://rexml//lib/rexml/xpath_parser.rb#165 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:165 def strict?; end - # source://rexml//lib/rexml/xpath_parser.rb#639 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:639 def trace(*args); end - # source://rexml//lib/rexml/xpath_parser.rb#956 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:956 def unnode(nodeset); end - # source://rexml//lib/rexml/xpath_parser.rb#883 + # pkg:gem/rexml#lib/rexml/xpath_parser.rb:883 def value_type(value); end end -# source://rexml//lib/rexml/xpath_parser.rb#58 +# pkg:gem/rexml#lib/rexml/xpath_parser.rb:58 REXML::XPathParser::DEBUG = T.let(T.unsafe(nil), FalseClass) diff --git a/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi b/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi index 993241356..880d9feba 100644 --- a/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi +++ b/sorbet/rbi/gems/rubocop-ast@1.48.0.rbi @@ -9,12 +9,12 @@ class Parser::Source::Range include ::RuboCop::AST::Ext::Range end -# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#3 +# pkg:gem/rubocop-ast#lib/rubocop/ast/ext/range.rb:3 module RuboCop; end # ... # -# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#4 +# pkg:gem/rubocop-ast#lib/rubocop/ast/ext/range.rb:4 module RuboCop::AST extend ::RuboCop::AST::RuboCopCompatibility end @@ -23,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/alias_node.rb:12 def old_identifier; end end @@ -44,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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/and_asgn_node.rb:12 def operator; end end @@ -58,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 +# pkg:gem/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 @@ -68,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 + # pkg:gem/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. @@ -76,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/and_node.rb:24 def inverse_operator; end end @@ -85,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/arg_node.rb:13 def name; end end @@ -113,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/args_node.rb:8 class RuboCop::AST::ArgsNode < ::RuboCop::AST::Node include ::RuboCop::AST::CollectionNode @@ -124,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 + # pkg:gem/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. @@ -143,7 +143,7 @@ class RuboCop::AST::ArgsNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/args_node.rb#24 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/args_node.rb:24 def empty_and_without_delimiters?; end end @@ -151,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 +# pkg:gem/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 @@ -160,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 + # pkg:gem/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. @@ -169,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 + # pkg:gem/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. @@ -178,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 + # pkg:gem/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 + # pkg:gem/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://rubocop-ast//lib/rubocop/ast/node/array_node.rb#18 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#15 + # pkg:gem/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 + # pkg:gem/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#23 + # pkg:gem/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`, `complex`... # -# source://rubocop-ast//lib/rubocop/ast/node/mixin/basic_literal_node.rb#7 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -260,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/binary_operator_node.rb:18 def rhs; end end @@ -285,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:11 class RuboCop::AST::BlockNode < ::RuboCop::AST::Node include ::RuboCop::AST::MethodIdentifierPredicates @@ -294,7 +294,7 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # # @return [Array] # - # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#62 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:62 def argument_list; end # The arguments of this block. @@ -304,42 +304,42 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node # # @return [Array] # - # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:50 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#89 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:89 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#75 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:75 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#96 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:96 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#124 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:124 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#110 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:110 def delimiters; end # A shorthand for getting the first argument of this block. @@ -348,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#31 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:31 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#103 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:103 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#147 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:147 def lambda?; end # A shorthand for getting the last argument of this block. @@ -371,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#40 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:40 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#82 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:82 def method_name; end # Checks whether this is a multiline block. This is overridden here @@ -386,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#140 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:140 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#117 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:117 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#22 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:22 def send_node; end # Checks whether this is a single line block. This is overridden here @@ -408,33 +408,33 @@ 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#132 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:132 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#154 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:154 def void_context?; end private - # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#160 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:160 def numbered_arguments; end end -# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#14 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:14 RuboCop::AST::BlockNode::IT_BLOCK_ARGUMENT = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#16 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/block_node.rb:16 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 +# pkg:gem/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 @@ -452,7 +452,7 @@ end # parser = Parser::Ruby25.new(builder) # root_node = parser.parse(buffer) # -# source://rubocop-ast//lib/rubocop/ast/builder.rb#129 +# pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:129 class RuboCop::AST::Builder < ::Parser::Builders::Default include ::RuboCop::AST::BuilderExtensions end @@ -461,14 +461,14 @@ end # # @api private # -# source://rubocop-ast//lib/rubocop/ast/builder.rb#7 +# pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:7 module RuboCop::AST::BuilderExtensions # Generates {Node} from the given information. # # @api private # @return [Node] the generated node # - # source://rubocop-ast//lib/rubocop/ast/builder.rb#101 + # pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:101 def n(type, children, source_map); end # Overwrite the base method to allow strings with invalid encoding @@ -476,34 +476,34 @@ module RuboCop::AST::BuilderExtensions # # @api private # - # source://rubocop-ast//lib/rubocop/ast/builder.rb#107 + # pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:107 def string_value(token); end private # @api private # - # source://rubocop-ast//lib/rubocop/ast/builder.rb#113 + # pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:113 def node_klass(type); end class << self # @api private # @private # - # source://rubocop-ast//lib/rubocop/ast/builder.rb#8 + # pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:8 def included(base); end end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/builder.rb#14 +# pkg:gem/rubocop-ast#lib/rubocop/ast/builder.rb:14 RuboCop::AST::BuilderExtensions::NODE_MAP = T.let(T.unsafe(nil), Hash) # A parser builder, based on the one provided by prism, # which is capable of emitting AST for more recent Rubies. # -# source://rubocop-ast//lib/rubocop/ast/builder_prism.rb#7 +# pkg:gem/rubocop-ast#lib/rubocop/ast/builder_prism.rb:7 class RuboCop::AST::BuilderPrism < ::Prism::Translation::Parser::Builder include ::RuboCop::AST::BuilderExtensions end @@ -512,7 +512,7 @@ end # 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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/case_match_node.rb:8 class RuboCop::AST::CaseMatchNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode @@ -522,19 +522,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/case_match_node.rb:59 def else?; end # Returns the else branch of the `case` statement, if any. @@ -543,21 +543,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/case_match_node.rb:14 def keyword; end end @@ -565,7 +565,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/case_node.rb:8 class RuboCop::AST::CaseNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConditionalNode @@ -575,19 +575,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/case_node.rb:55 def else?; end # Returns the else branch of the `case` statement, if any. @@ -595,21 +595,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/case_node.rb:30 def when_branches; end end @@ -617,7 +617,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/casgn_node.rb:8 class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConstantNode @@ -625,20 +625,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/casgn_node.rb:17 def expression; end - # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#12 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/casgn_node.rb:12 def lhs; end - # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#11 + # pkg:gem/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#20 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/casgn_node.rb:20 def rhs; end end @@ -646,453 +646,456 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:6 module RuboCop::AST::CollectionNode extend ::RuboCop::SimpleForwardable - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def &(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def *(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def +(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def -(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def <<(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def []=(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def all?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def any?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def append(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def assoc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def bsearch(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def bsearch_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def chain(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def chunk(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def chunk_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def clear(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def collect(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def collect!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def collect_concat(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def combination(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def compact(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def compact!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def concat(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def count(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def cycle(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def deconstruct(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def delete_at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def delete_if(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def detect(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def difference(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def dig(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def drop(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def drop_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def each_cons(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def each_entry(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def each_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def each_slice(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/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/node/mixin/collection_node.rb#13 + # pkg:gem/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/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def empty?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def entries(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def fetch(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def fetch_values(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def fill(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def filter(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def filter!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def filter_map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def find(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def find_all(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def find_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def first(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def flat_map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def flatten(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def flatten!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def grep(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def grep_v(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def group_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def include?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def inject(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def insert(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def intersect?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def intersection(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def join(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def keep_if(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def last(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def lazy(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def length(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def map!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def max(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def max_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def member?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def min(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def min_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def minmax(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def minmax_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def none?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def one?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def pack(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def partition(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def permutation(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def place(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def pop(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def prepend(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def product(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def push(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def rassoc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def reduce(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def reject(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def reject!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def repeated_combination(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def repeated_permutation(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def reverse(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def reverse!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def reverse_each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 + def rfind(*_arg0, **_arg1, &_arg2); end + + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def rindex(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def rotate(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def rotate!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def sample(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def select(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def select!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def shelljoin(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def shift(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def shuffle!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def size(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def slice(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def slice!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def slice_after(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def slice_before(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def slice_when(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def sort(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def sort!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def sort_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def sort_by!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def sum(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def take(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def take_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def tally(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def to_ary(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def to_set(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def transpose(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def union(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def uniq(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def uniq!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def unshift(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def values_at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:13 def zip(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13 + # pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/collection_node.rb:9 RuboCop::AST::CollectionNode::ARRAY_METHODS = T.let(T.unsafe(nil), Array) # A node extension for `complex` nodes. This will be used in place of a plain # node when the builder constructs the AST, making its methods available to # all `complex` nodes within RuboCop. # -# source://rubocop-ast//lib/rubocop/ast/node/complex_node.rb#8 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/complex_node.rb:8 class RuboCop::AST::ComplexNode < ::RuboCop::AST::Node include ::RuboCop::AST::BasicLiteralNode include ::RuboCop::AST::NumericNode @@ -1103,7 +1106,7 @@ end # 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 +# pkg:gem/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 @@ -1112,7 +1115,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 + # pkg:gem/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 @@ -1120,7 +1123,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 + # pkg:gem/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 @@ -1128,20 +1131,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/const_node.rb:6 class RuboCop::AST::ConstNode < ::RuboCop::AST::Node include ::RuboCop::AST::ConstantNode end @@ -1149,18 +1152,18 @@ end # Common functionality for nodes that deal with constants: # `const`, `casgn`. # -# source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#7 +# pkg:gem/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 + # pkg:gem/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#24 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/constant_node.rb:24 def class_name?; end # Yield nodes for the namespace @@ -1170,29 +1173,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/constant_node.rb:14 def short_name; end end @@ -1200,11 +1203,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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/csend_node.rb:9 def send_type?; end end @@ -1212,7 +1215,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 +# pkg:gem/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 @@ -1224,14 +1227,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/def_node.rb:40 def arguments; end # The body of the method definition. @@ -1241,33 +1244,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/def_node.rb:15 def void_context?; end end @@ -1275,30 +1278,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 +# pkg:gem/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://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#16 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/defined_node.rb:16 def arguments; end - # source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#12 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/descendence.rb:38 def child_nodes; end # Returns an array of descendant nodes. @@ -1306,7 +1309,7 @@ module RuboCop::AST::Descendence # # @return [Array] an array of descendant nodes # - # source://rubocop-ast//lib/rubocop/ast/node/mixin/descendence.rb#72 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/descendence.rb:72 def descendants; end # Calls the given block for each child node. @@ -1321,7 +1324,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 + # pkg:gem/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. @@ -1334,7 +1337,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 + # pkg:gem/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 @@ -1351,12 +1354,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/descendence.rb:107 def visit_descendants(types, &block); end end @@ -1364,9 +1367,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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/dstr_node.rb:9 def value; end end @@ -1374,28 +1377,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 +# pkg:gem/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#16 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/ensure_node.rb:16 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#33 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/ensure_node.rb:33 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#40 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/ensure_node.rb:40 def rescue_node; end # Checks whether this node body is a void context. @@ -1403,19 +1406,19 @@ 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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/ensure_node.rb:48 def void_context?; end end -# source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#9 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/ensure_node.rb:9 RuboCop::AST::EnsureNode::DEPRECATION_WARNING_LOCATION_CACHE = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/ext/range.rb#5 +# pkg:gem/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 +# pkg:gem/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. # @@ -1431,7 +1434,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/ext/range.rb:20 def line_span(exclude_end: T.unsafe(nil)); end end @@ -1439,7 +1442,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 +# pkg:gem/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 @@ -1449,41 +1452,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/for_node.rb:34 def variable; end # Checks whether this node body is a void context. @@ -1491,7 +1494,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/for_node.rb:27 def void_context?; end end @@ -1514,28 +1517,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/hash_element_node.rb:61 def delimiter_delta(other); end # Returns the key of this `hash` element. @@ -1543,7 +1546,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 + # pkg:gem/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. @@ -1553,7 +1556,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 + # pkg:gem/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`. @@ -1562,7 +1565,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/hash_element_node.rb:32 def same_line?(other); end # Returns the value of this `hash` element. @@ -1570,7 +1573,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 + # pkg:gem/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. @@ -1578,53 +1581,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#108 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/hash_element_node.rb:108 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 + # pkg:gem/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#119 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/hash_element_node.rb:119 def keyword_splat?; end # Returns the value of attribute second. # - # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#98 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/hash_element_node.rb:100 def valid_argument_types?; end end @@ -1632,13 +1635,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 +# pkg:gem/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 + # pkg:gem/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. @@ -1648,7 +1651,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 + # pkg:gem/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. @@ -1658,7 +1661,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 + # pkg:gem/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. @@ -1668,7 +1671,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 + # pkg:gem/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. @@ -1677,7 +1680,7 @@ class RuboCop::AST::HashNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#22 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/hash_node.rb:22 def empty?; end # Returns an array of all the keys in the `hash` literal. @@ -1685,7 +1688,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 + # pkg:gem/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 @@ -1694,7 +1697,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 + # pkg:gem/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. @@ -1704,7 +1707,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 + # pkg:gem/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 @@ -1715,7 +1718,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 + # pkg:gem/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. @@ -1723,7 +1726,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/hash_node.rb:72 def values; end end @@ -1731,7 +1734,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 +# pkg:gem/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 @@ -1740,12 +1743,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/if_node.rb:171 def each_branch(&block); end # Checks whether the `if` node has an `else` clause. @@ -1754,7 +1757,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 + # pkg:gem/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 @@ -1764,7 +1767,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 + # pkg:gem/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 @@ -1772,7 +1775,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 + # pkg:gem/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 @@ -1780,7 +1783,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 + # pkg:gem/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 @@ -1788,7 +1791,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 + # pkg:gem/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 @@ -1798,7 +1801,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 + # pkg:gem/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` @@ -1807,7 +1810,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 + # pkg:gem/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 @@ -1815,7 +1818,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 + # pkg:gem/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 @@ -1824,7 +1827,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 + # pkg:gem/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 @@ -1833,7 +1836,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/if_node.rb:97 def nested_conditional?; end # Custom destructuring method. This is used to normalize the branches @@ -1841,21 +1844,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -1863,7 +1866,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/if_node.rb:24 def unless?; end end @@ -1871,34 +1874,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/in_pattern_node.rb:26 def then?; end end @@ -1917,7 +1920,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 +# pkg:gem/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 @@ -1928,19 +1931,19 @@ class RuboCop::AST::IndexNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/index_node.rb#29 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/index_node.rb:34 def method_name; end private @@ -1949,7 +1952,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/index_node.rb:43 def first_argument_index; end end @@ -1970,7 +1973,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 +# pkg:gem/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 @@ -1981,19 +1984,19 @@ class RuboCop::AST::IndexasgnNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/indexasgn_node.rb#31 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/indexasgn_node.rb:36 def method_name; end private @@ -2002,7 +2005,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/indexasgn_node.rb:45 def first_argument_index; end end @@ -2010,7 +2013,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 +# pkg:gem/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 @@ -2020,28 +2023,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/keyword_begin_node.rb:37 def rescue_node; end end @@ -2049,7 +2052,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/keyword_splat_node.rb:8 class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node include ::RuboCop::AST::HashElementNode @@ -2058,7 +2061,7 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node # # @return [false] # - # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#26 + # pkg:gem/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 @@ -2066,14 +2069,14 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node # # @return [false] # - # source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#18 + # pkg:gem/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 + # pkg:gem/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 @@ -2081,18 +2084,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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: @@ -2114,7 +2117,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 +# pkg:gem/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 @@ -2125,45 +2128,45 @@ class RuboCop::AST::LambdaNode < ::RuboCop::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/lambda_node.rb#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/lambda_node.rb:60 def first_argument_index; end end @@ -2171,11 +2174,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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/masgn_node.rb:16 def assignments; end # The RHS (right hand side) of the multiple assignment. This returns @@ -2187,17 +2190,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/masgn_node.rb:21 def names; end # The RHS (right hand side) of the multiple assignment. This returns @@ -2209,7 +2212,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#42 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/masgn_node.rb:42 def rhs; end # In contrast to `expression`, `values` always returns a Ruby array @@ -2221,14 +2224,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/masgn_node.rb:58 def multiple_rhs?; end end @@ -2236,7 +2239,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 +# pkg:gem/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 @@ -2245,10 +2248,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 + # pkg:gem/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#272 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:272 def adjacent_def_modifier?(param0 = T.unsafe(nil)); end # Checks whether this node is an arithmetic operation @@ -2256,14 +2259,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 + # pkg:gem/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#110 + # pkg:gem/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 @@ -2272,10 +2275,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 + # pkg:gem/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#277 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:277 def bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end # Checks whether this is a binary operation. @@ -2285,14 +2288,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#247 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:247 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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:167 def block_literal?; end # The `block`, `numblock`, or `itblock` node associated with this method dispatch, if any. @@ -2300,7 +2303,7 @@ module RuboCop::AST::MethodDispatchNode # @return [BlockNode, nil] the `block`, `numblock`, or `itblock` node associated with this # method call or `nil` # - # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#46 + # pkg:gem/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 @@ -2309,7 +2312,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 + # pkg:gem/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 @@ -2318,7 +2321,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 + # pkg:gem/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. @@ -2330,7 +2333,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 + # pkg:gem/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. @@ -2342,7 +2345,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 + # pkg:gem/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 @@ -2353,7 +2356,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 + # pkg:gem/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 @@ -2361,7 +2364,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 + # pkg:gem/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`, @@ -2369,10 +2372,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 + # pkg:gem/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#256 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:256 def in_macro_scope?(param0 = T.unsafe(nil)); end # Checks whether this is a lambda. Some versions of parser parses @@ -2380,7 +2383,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#212 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:212 def lambda?; end # Checks whether this is a lambda literal (stabby lambda.) @@ -2390,7 +2393,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#223 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:223 def lambda_literal?; end # Checks whether the dispatched method is a macro method. A macro method @@ -2400,14 +2403,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 + # pkg:gem/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 + # pkg:gem/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 @@ -2416,17 +2419,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 + # pkg:gem/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#282 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:282 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 + # pkg:gem/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 @@ -2434,14 +2437,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 + # pkg:gem/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 + # pkg:gem/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 @@ -2449,14 +2452,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 + # pkg:gem/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 + # pkg:gem/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` @@ -2465,7 +2468,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:91 def special_modifier?; end # Checks whether this is a unary operation. @@ -2475,14 +2478,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#234 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_dispatch_node.rb:234 def unary_operation?; end end -# source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#12 +# pkg:gem/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 +# pkg:gem/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: @@ -2490,20 +2493,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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, @@ -2511,35 +2514,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/method_identifier_predicates.rb:149 def enumerator_method?; end # Checks whether the method name matches the argument. @@ -2547,128 +2550,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`) @@ -2677,21 +2680,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/modifier_node.rb:12 def modifier_form?; end end @@ -2699,20 +2702,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/module_node.rb:12 def identifier; end end @@ -2720,7 +2723,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 +# pkg:gem/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 @@ -2742,7 +2745,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:21 class RuboCop::AST::Node < ::Parser::AST::Node include ::RuboCop::AST::Sexp include ::RuboCop::AST::Descendence @@ -2751,19 +2754,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#155 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:155 def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def __ENCODING___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def __FILE___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def __LINE___type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def alias_type?; end # Returns an array of ancestor nodes. @@ -2771,198 +2774,198 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] an array of ancestor nodes # - # source://rubocop-ast//lib/rubocop/ast/node.rb#320 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:320 def ancestors; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def and_asgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def and_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#549 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:549 def any_block_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#529 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:529 def any_def_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#553 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:553 def any_match_pattern_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#557 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:557 def any_str_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#561 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:561 def any_sym_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def arg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def arg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def args_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#525 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:525 def argument?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#533 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:533 def argument_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def array_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def array_pattern_with_tail_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def array_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#477 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:477 def assignment?; end # Some cops treat the shovel operator as a kind of assignment. # - # source://rubocop-ast//lib/rubocop/ast/node.rb#427 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:427 def assignment_or_similar?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def back_ref_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#481 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:481 def basic_conditional?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#435 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:435 def basic_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def begin_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def block_pass_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def block_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def blockarg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def blockarg_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#537 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:537 def boolean_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def break_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#517 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:517 def call_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def case_match_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def case_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def casgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def cbase_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#521 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:521 def chained?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#609 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:609 def class_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#627 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:627 def class_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def class_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#217 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:217 def complete!; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#222 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:222 def complete?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def complex_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#485 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:485 def conditional?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#366 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:366 def const_name; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def const_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def const_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def csend_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def cvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def cvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def def_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#386 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:386 def defined_module; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#391 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:391 def defined_module_name; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def defined_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def defs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def dstr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def dsym_type?; end # Calls the given block for each ancestor node from parent to root. @@ -2975,169 +2978,169 @@ 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#308 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:308 def each_ancestor(*types, &block); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def eflipflop_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def empty_else_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#421 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:421 def empty_source?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def ensure_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#469 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:469 def equals_asgn?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def erange_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def false_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#443 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:443 def falsey_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def find_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#334 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:334 def first_line; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def float_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def for_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def forward_arg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def forward_args_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def forwarded_args_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def forwarded_kwrestarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def forwarded_restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#606 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:606 def global_const?(param0 = T.unsafe(nil), param1); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#565 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:565 def guard_clause?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def gvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def gvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def hash_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def hash_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def ident_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def if_guard_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def if_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def iflipflop_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#451 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:451 def immutable_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def in_match_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def in_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def index_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def indexasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def int_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def irange_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def itarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def itblock_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def ivar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def ivasgn_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#498 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:498 def keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwbegin_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwnilarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwoptarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwrestarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def kwsplat_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#600 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:600 def lambda?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#603 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:603 def lambda_or_proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def lambda_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#338 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:338 def last_line; end # Use is discouraged, this is a potentially slow method and can lead @@ -3145,7 +3148,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Node, nil] the left (aka previous) sibling # - # source://rubocop-ast//lib/rubocop/ast/node.rb#260 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:260 def left_sibling; end # Use is discouraged, this is a potentially slow method and can lead @@ -3153,22 +3156,22 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the left (aka previous) siblings # - # source://rubocop-ast//lib/rubocop/ast/node.rb#270 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:270 def left_siblings; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#342 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:342 def line_count; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#431 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:431 def literal?; end # Shortcut to safely check if a location is present # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#573 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:573 def loc?(which_loc); end # Shortcut to safely test a particular location, even if @@ -3176,86 +3179,86 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#581 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:581 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#494 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:494 def loop_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def lvar_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def lvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def masgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_alt_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_as_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_current_line_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#588 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:588 def match_guard_clause?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_nil_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_pattern_p_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_pattern_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_rest_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_var_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_with_lvasgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def match_with_trailing_comma_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def mlhs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#634 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:634 def module_definition?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def module_type?; end # Predicates # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#413 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:413 def multiline?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#447 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:447 def mutable_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#765 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:765 def new_class_or_module_block?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def next_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def nil_type?; end # Common destructuring method. This can be used to normalize @@ -3265,98 +3268,98 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the different parts of the ndde # - # source://rubocop-ast//lib/rubocop/ast/node.rb#291 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:291 def node_parts; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#348 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:348 def nonempty_line_count; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def not_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def nth_ref_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def numargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def numblock_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#541 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:541 def numeric_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def objc_kwarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def objc_restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def objc_varargs_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def op_asgn_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#509 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:509 def operator_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def optarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def or_asgn_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def or_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 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#199 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:199 def parent; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#208 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:208 def parent?; end # Searching the AST # - # source://rubocop-ast//lib/rubocop/ast/node.rb#397 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:397 def parent_module_name; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#513 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:513 def parenthesized_call?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def pin_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#489 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:489 def post_condition_loop?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def postexe_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def preexe_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#593 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:593 def proc?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def procarg0_type?; end # Some expressions are evaluated for their value, some for their side @@ -3369,60 +3372,60 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#677 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:677 def pure?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#545 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:545 def range_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def rational_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#359 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:359 def receiver(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#138 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:138 def recursive_basic_literal?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#138 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:138 def recursive_literal?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def redo_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#465 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:465 def reference?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def regexp_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def regopt_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def resbody_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def rescue_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def restarg_expr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def restarg_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def retry_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def return_type?; end # Use is discouraged, this is a potentially slow method and can lead @@ -3430,7 +3433,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Node, nil] the right (aka next) sibling # - # source://rubocop-ast//lib/rubocop/ast/node.rb#251 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:251 def right_sibling; end # Use is discouraged, this is a potentially slow method and can lead @@ -3438,18 +3441,18 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Array] the right (aka next) siblings # - # source://rubocop-ast//lib/rubocop/ast/node.rb#279 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:279 def right_siblings; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#213 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:213 def root?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def sclass_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def self_type?; end # Most nodes are of 'send' type, so this method is defined @@ -3457,15 +3460,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#192 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:192 def send_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def shadowarg_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#473 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:473 def shorthand_asgn?; end # Returns the index of the receiver node in its siblings. (Sibling index @@ -3474,58 +3477,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#244 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:244 def sibling_index; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#417 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:417 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#326 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:326 def source; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#352 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:352 def source_length; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#330 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:330 def source_range; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#505 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:505 def special_keyword?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def splat_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#364 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:364 def str_content(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def str_type?; end # @deprecated Use `:class_constructor?` # - # source://rubocop-ast//lib/rubocop/ast/node.rb#622 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:622 def struct_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def super_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def sym_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def true_type?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#439 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:439 def truthy_literal?; end # Determine if the node is one of several node types in a single query @@ -3534,19 +3537,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#174 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:174 def type?(*types); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def undef_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def unless_guard_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def until_post_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def until_type?; end # Override `AST::Node#updated` so that `AST::Processor` does not try to @@ -3555,7 +3558,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#233 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:233 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 @@ -3568,199 +3571,199 @@ class RuboCop::AST::Node < ::Parser::AST::Node # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#647 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:647 def value_used?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#461 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:461 def variable?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def when_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def while_post_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def while_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def xstr_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def yield_type?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:183 def zsuper_type?; end protected - # source://rubocop-ast//lib/rubocop/ast/node.rb#203 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:203 def parent=(node); end private # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#704 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:704 def begin_value_used?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#715 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:715 def case_if_value_used?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#377 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:377 def defined_module0(param0 = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#709 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:709 def for_value_used?; end - # source://rubocop-ast//lib/rubocop/ast/node.rb#751 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:751 def parent_module_name_for_block(ancestor); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#739 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:739 def parent_module_name_for_sclass(sclass_node); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#726 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:726 def parent_module_name_part(node); end - # source://rubocop-ast//lib/rubocop/ast/node.rb#695 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:695 def visit_ancestors(types); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node.rb#721 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:721 def while_until_value_used?; end class << self private - # source://rubocop-ast//lib/rubocop/ast/node.rb#134 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:134 def def_recursive_literal_predicate(kind); end end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/node.rb#55 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#84 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:84 RuboCop::AST::Node::EMPTY_CHILDREN = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/node.rb#85 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:85 RuboCop::AST::Node::EMPTY_PROPERTIES = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop-ast//lib/rubocop/ast/node.rb#50 +# pkg:gem/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 +# pkg:gem/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#89 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:89 RuboCop::AST::Node::GROUP_FOR_TYPE = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop-ast//lib/rubocop/ast/node.rb#47 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#80 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:80 RuboCop::AST::Node::LITERAL_RECURSIVE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node.rb#81 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node.rb:81 RuboCop::AST::Node::LITERAL_RECURSIVE_TYPES = T.let(T.unsafe(nil), Set) # @api private # -# source://rubocop-ast//lib/rubocop/ast/node.rb#64 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3782,68 +3785,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 +# pkg:gem/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#78 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:78 def initialize(str, compiler: T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#91 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:91 def ==(other); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#108 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:108 def as_json(_options = T.unsafe(nil)); end # Returns the value of attribute ast. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#74 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:74 def ast; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#76 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:76 def captures(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#112 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:112 def encode_with(coder); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#94 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:94 def eql?(other); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#120 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:120 def freeze; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#116 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:116 def init_with(coder); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#104 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:104 def marshal_dump; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#100 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:100 def marshal_load(pattern); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#86 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:86 def match(*args, **rest, &block); end # Returns the value of attribute match_code. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#74 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:74 def match_code; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#76 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:76 def named_parameters(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute pattern. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#74 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:74 def pattern; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#76 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:76 def positional_parameters(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#96 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:96 def to_s; end class << self @@ -3851,7 +3854,7 @@ class RuboCop::AST::NodePattern # # @yield [element] # - # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#60 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:60 def descend(element, &block); end end end @@ -3861,51 +3864,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/comment.rb:14 def initialize(range); end # Compares comments. Two comments are equal if they @@ -3914,27 +3917,27 @@ class RuboCop::AST::NodePattern::Comment # @param other [Object] # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#31 + # pkg:gem/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 + # pkg:gem/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#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/comment.rb:20 def text; end end @@ -3944,79 +3947,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 +# pkg:gem/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#16 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:16 def initialize; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#25 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:25 def bind(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute binding. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#14 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:14 def binding; end # Returns the value of attribute captures. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#14 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:14 def captures; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:43 def compile_as_atom(node); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#47 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:47 def compile_as_node_pattern(node, **options); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#51 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:51 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#39 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:39 def each_union(enum, &block); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#75 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:75 def freeze; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#32 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:32 def named_parameter(name); end # Returns the value of attribute named_parameters. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#14 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:14 def named_parameters; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#71 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:71 def next_capture; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#55 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:55 def parser; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#27 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:27 def positional_parameter(number); end # Returns the value of attribute positional_parameters. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#14 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:14 def positional_parameters; end # Utilities # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#61 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:61 def with_temp_variables(*names, &block); end private - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#82 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:82 def enforce_same_captures(enum); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#97 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler.rb:97 def new_capture; end end @@ -4026,145 +4029,145 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#24 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#26 + # pkg:gem/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 + # pkg:gem/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#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#118 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:118 def initialize; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#131 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:131 def comments(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:123 def named_parameters; end # Returns the value of attribute node_ids. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#35 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:35 def node_ids; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#127 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:127 def parser; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#131 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:131 def tokens(*_arg0, **_arg1, &_arg2); end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#38 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:38 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#98 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:98 def initialize(pattern, compiler: T.unsafe(nil)); end # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:96 def compiler; end # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:96 def node_pattern; end # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:96 def pattern; end # @api private # @return [Node] the Ruby AST # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#105 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:105 def test(ruby, trace: T.unsafe(nil)); end private # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#113 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:113 def ruby_ast(ruby); end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#39 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:39 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#94 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:94 RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Compiler = RuboCop::AST::NodePattern::Compiler::Debug # Result of a NodePattern run against a particular AST @@ -4172,25 +4175,25 @@ RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Compiler = RuboCop::AST:: # # @api private # -# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 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#58 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:58 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#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:50 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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def colorizer; end # Sets the attribute colorizer @@ -4198,26 +4201,26 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # @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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 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#68 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:68 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#76 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:76 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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def returned; end # Sets the attribute returned @@ -4225,14 +4228,14 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # @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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def ruby_ast; end # Sets the attribute ruby_ast @@ -4240,14 +4243,14 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # @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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def trace; end # Sets the attribute trace @@ -4255,71 +4258,71 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct # @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#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def trace=(_); end private # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#89 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:89 def ast; end # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#83 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:83 def color_map_for(node, color); end class << self - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def [](*_arg0); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def inspect; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def keyword_init?; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def members; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:48 def new(*_arg0); end end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#134 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:134 module RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#135 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:135 def do_compile; end private # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#145 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:145 def node_id; end # @api private # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#141 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:141 def tracer(kind); end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#151 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:151 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#156 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:156 class RuboCop::AST::NodePattern::Compiler::Debug::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler include ::RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler end @@ -4327,24 +4330,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 +# pkg:gem/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 + # pkg:gem/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#19 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:19 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#30 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:30 def matched?(node_id); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#25 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/debug.rb:25 def success(node_id); end end @@ -4355,89 +4358,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb:45 def visit_wildcard; end end @@ -4450,7 +4453,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 +# pkg:gem/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. @@ -4458,109 +4461,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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/sequence_subcompiler.rb#59 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -4568,47 +4571,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -4617,50 +4620,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#54 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:54 class RuboCop::AST::NodePattern::Invalid < ::StandardError; end # Lexer class for `NodePattern` @@ -4668,164 +4671,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#55 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 # @@ -4835,7 +4838,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 + # pkg:gem/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, @@ -4845,70 +4848,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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -4917,218 +4920,218 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:63 def matches_within_set?; end # @return [Integer] nb of captures that this node will emit # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#52 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:18 def rest?; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#77 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:57 def variadic?; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#73 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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/node_pattern/node.rb#98 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:100 def capture?; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#108 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:104 def nb_captures; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#255 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:255 RuboCop::AST::NodePattern::Node::MAP = T.let(T.unsafe(nil), Hash) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#11 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:155 def arity; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#145 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:169 def arity; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#173 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:208 def arity; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#213 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:224 def arity; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#231 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:231 def in_sequence_head; end # Each child in a union must contain the same number # of captures. Only one branch ends up capturing. # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#249 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/node.rb:249 def nb_captures; end end @@ -5138,149 +5141,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 +# pkg:gem/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 + # pkg:gem/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#333 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:333 def _reduce_10(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#337 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:337 def _reduce_11(val, _values); end # reduce 12 omitted # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#343 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:343 def _reduce_13(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#347 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:347 def _reduce_14(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#351 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:351 def _reduce_15(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#355 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:355 def _reduce_16(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#359 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:359 def _reduce_17(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#363 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:363 def _reduce_18(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#367 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:367 def _reduce_19(val, _values); end # reduce 1 omitted # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#301 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:301 def _reduce_2(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#371 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:371 def _reduce_20(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#375 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:375 def _reduce_21(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#379 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:379 def _reduce_22(val, _values); end # reduce 24 omitted # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#387 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:387 def _reduce_25(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#393 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:393 def _reduce_26(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#305 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:305 def _reduce_3(val, _values); end # reduce 32 omitted # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#413 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:413 def _reduce_33(val, _values); end # reduce 36 omitted # - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#423 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:423 def _reduce_37(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#427 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:427 def _reduce_38(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#431 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:431 def _reduce_39(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#309 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:309 def _reduce_4(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#435 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:435 def _reduce_40(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#439 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:439 def _reduce_41(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#443 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:443 def _reduce_42(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#447 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:447 def _reduce_43(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#451 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:451 def _reduce_44(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#455 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:455 def _reduce_45(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#459 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:459 def _reduce_46(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#313 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:313 def _reduce_5(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#317 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:317 def _reduce_6(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#321 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:321 def _reduce_7(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#325 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:325 def _reduce_8(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#329 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:329 def _reduce_9(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#463 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:463 def _reduce_none(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:46 def emit_atom(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:46 def emit_call(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:46 def emit_capture(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:46 def emit_list(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:46 def emit_unary_op(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:40 def inspect; end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#48 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.rb:48 def next_token(*_arg0, **_arg1, &_arg2); end # (Similar API to `parser` gem) @@ -5289,532 +5292,532 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#293 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:293 RuboCop::AST::NodePattern::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#243 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/parser.racc.rb:243 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:31 def [](set); end - # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#15 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:10 RuboCop::AST::NodePattern::Sets::SET_ANY_NONE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:10 RuboCop::AST::NodePattern::Sets::SET_EXPECT_EXPECT_ANY_INSTANCE_OF = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:10 RuboCop::AST::NodePattern::Sets::SET_EXTEND_INCLUDE = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:10 RuboCop::AST::NodePattern::Sets::SET_INTEGER_BIGDECIMAL_COMPLEX_RATIONAL = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:10 RuboCop::AST::NodePattern::Sets::SET_IS_A_KIND_OF = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern/sets.rb:10 RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#56 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node_pattern.rb:56 RuboCop::AST::NodePattern::VAR = T.let(T.unsafe(nil), String) # Common functionality for primitive numeric nodes: `int`, `float`, `rational`, `complex`... # -# source://rubocop-ast//lib/rubocop/ast/node/mixin/numeric_node.rb#6 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/numeric_node.rb:6 module RuboCop::AST::NumericNode # Checks whether this is literal has a sign. # @@ -5823,55 +5826,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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#35 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/op_asgn_node.rb:35 def rhs; end end @@ -5879,13 +5882,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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/or_asgn_node.rb:12 def operator; end end @@ -5893,7 +5896,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 +# pkg:gem/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 @@ -5903,7 +5906,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 + # pkg:gem/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. @@ -5911,7 +5914,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/or_node.rb:24 def inverse_operator; end end @@ -5919,7 +5922,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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/pair_node.rb:8 class RuboCop::AST::PairNode < ::RuboCop::AST::Node include ::RuboCop::AST::HashElementNode @@ -5927,7 +5930,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 + # pkg:gem/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 @@ -5936,14 +5939,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/pair_node.rb:23 def hash_rocket?; end # Returns the inverse delimiter of the `pair` as a string. @@ -5951,34 +5954,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -5987,13 +5990,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 +# pkg:gem/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 + # pkg:gem/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, @@ -6001,7 +6004,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 + # pkg:gem/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. @@ -6010,7 +6013,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 + # pkg:gem/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. @@ -6019,7 +6022,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 + # pkg:gem/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. @@ -6027,7 +6030,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:15 def parenthesized?; end # Checks whether any argument of the node is a splat @@ -6035,7 +6038,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#52 + # pkg:gem/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 @@ -6043,7 +6046,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:48 def splat_argument?; end end @@ -6052,20 +6055,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#84 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:84 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#90 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:90 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#120 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:120 def arguments?; end # A shorthand for getting the first argument of the node. @@ -6074,7 +6077,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#104 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:104 def first_argument; end # A shorthand for getting the last argument of the node. @@ -6083,70 +6086,70 @@ 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#113 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:113 def last_argument; end end -# source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#87 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:87 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 +# pkg:gem/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#70 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/parameterized_node.rb:70 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 +# pkg:gem/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#32 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/predicate_operator_node.rb:32 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#25 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/predicate_operator_node.rb:25 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#39 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/predicate_operator_node.rb:39 def semantic_operator?; end end -# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#8 +# pkg:gem/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#17 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/predicate_operator_node.rb:17 RuboCop::AST::PredicateOperatorNode::LOGICAL_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#12 +# pkg:gem/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 +# pkg:gem/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#19 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/predicate_operator_node.rb:19 RuboCop::AST::PredicateOperatorNode::SEMANTIC_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#14 +# pkg:gem/rubocop-ast#lib/rubocop/ast/node/mixin/predicate_operator_node.rb:14 RuboCop::AST::PredicateOperatorNode::SEMANTIC_OR = T.let(T.unsafe(nil), String) # A `Prism` interface's class that provides a fixed `Prism::ParseLexResult` instead of parsing. @@ -6155,14 +6158,14 @@ RuboCop::AST::PredicateOperatorNode::SEMANTIC_OR = T.let(T.unsafe(nil), String) # rather than parsing the source code. When the parse result is already available externally, # such as in Ruby LSP, the Prism parsing process can be bypassed. # -# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#12 +# pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:12 class RuboCop::AST::PrismPreparsed # @return [PrismPreparsed] a new instance of PrismPreparsed # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:13 def initialize(prism_result); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#23 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:23 def parse_lex(_source, **_prism_options); end end @@ -6170,13 +6173,13 @@ 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/procarg0_node.rb#8 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/procarg0_node.rb:12 def name; end end @@ -6184,42 +6187,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#31 +# pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:31 class RuboCop::AST::ProcessedSource # @return [ProcessedSource] a new instance of ProcessedSource # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#49 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:49 def initialize(source, ruby_version, path = T.unsafe(nil), parser_engine: T.unsafe(nil), prism_result: T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#91 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:91 def [](*args); end # Returns the value of attribute ast. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def ast; end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#69 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:69 def ast_with_comments; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#130 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:130 def blank?; end # Returns the value of attribute buffer. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def buffer; end # Raw source checksum for tracking infinite loops. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#102 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:102 def checksum; end # @return [Comment, nil] the comment at that line, if any. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#135 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:135 def comment_at_line(line); end # Consider using `each_comment_in_lines` instead @@ -6227,206 +6230,206 @@ 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#161 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:161 def commented?(source_range); end # Returns the value of attribute comments. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 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#165 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:165 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#157 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:157 def contains_comment?(source_range); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#179 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:179 def current_line(token); end # Returns the value of attribute diagnostics. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def diagnostics; end # @deprecated Use `comments.each` # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:107 def each_comment(&block); end # Enumerates on the comments contained with the given `line_range` # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#145 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:145 def each_comment_in_lines(line_range); end # @deprecated Use `tokens.each` # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#117 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:117 def each_token(&block); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#126 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:126 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#112 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:112 def find_comment(&block); end # @deprecated Use `tokens.find` # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#122 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:122 def find_token(&block); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#200 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:200 def first_token_of(range_or_node); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#183 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:183 def following_line(token); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#204 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:204 def last_token_of(range_or_node); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#187 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:187 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#140 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:140 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#77 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:77 def lines; end # Returns the value of attribute parser_engine. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def parser_engine; end # Returns the value of attribute parser_error. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def parser_error; end # Returns the value of attribute path. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def path; end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#175 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:175 def preceding_line(token); end # Returns the value of attribute raw_source. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def raw_source; end # Returns the value of attribute ruby_version. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 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#211 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:211 def sorted_tokens; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#169 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:169 def start_with?(string); end # Returns the value of attribute tokens. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:41 def tokens; end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#194 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:194 def tokens_within(range_or_node); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#95 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:95 def valid_syntax?; end private - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#333 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:333 def builder_class(parser_engine); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#218 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:218 def comment_index; end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#343 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:343 def create_parser(ruby_version, parser_engine, prism_result); end # The Parser gem does not support Ruby 3.5 or later. # It is also not fully compatible with Ruby 3.4 but for # now respects using parser for backwards compatibility. # - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#389 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:389 def default_parser_engine(ruby_version); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#397 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:397 def first_token_index(range_or_node); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#402 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:402 def last_token_index(range_or_node); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#372 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:372 def normalize_parser_engine(parser_engine, ruby_version); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#224 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:224 def parse(source, ruby_version, parser_engine, prism_result); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#260 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:260 def parser_class(ruby_version, parser_engine); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#407 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:407 def source_range(range_or_node); end - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#243 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:243 def tokenize(parser); end class << self - # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#44 + # pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:44 def from_file(path, ruby_version, parser_engine: T.unsafe(nil)); end end end -# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#35 +# pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:35 RuboCop::AST::ProcessedSource::INVALID_LEVELS = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#38 +# pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:38 RuboCop::AST::ProcessedSource::PARSER_ENGINES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#33 +# pkg:gem/rubocop-ast#lib/rubocop/ast/processed_source.rb:33 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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/range_node.rb:9 def begin; end - # source://rubocop-ast//lib/rubocop/ast/node/range_node.rb#13 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/range_node.rb:13 def end; end end @@ -6434,7 +6437,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 +# pkg:gem/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 @@ -6444,128 +6447,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/resbody_node.rb:19 def exceptions; end end @@ -6573,13 +6576,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 +# pkg:gem/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 + # pkg:gem/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. @@ -6588,14 +6591,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/rescue_node.rb:44 def else?; end # Returns the else branch of the exception handling statement, if any. @@ -6603,14 +6606,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/rescue_node.rb:19 def resbody_branches; end end @@ -6618,7 +6621,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 +# pkg:gem/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 @@ -6628,37 +6631,37 @@ end # # @api private # -# source://rubocop-ast//lib/rubocop/ast/rubocop_compatibility.rb#8 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/self_class_node.rb:12 def identifier; end end @@ -6666,24 +6669,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/send_node.rb:24 def first_argument_index; end end @@ -6692,11 +6695,11 @@ end # # @see https://www.rubydoc.info/gems/ast/AST/Sexp # -# source://rubocop-ast//lib/rubocop/ast/sexp.rb#9 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/sexp.rb:11 def s(type, *children); end end @@ -6704,23 +6707,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 +# pkg:gem/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#26 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/str_node.rb:26 def character_literal?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#22 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/str_node.rb:22 def double_quoted?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#30 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/str_node.rb:30 def heredoc?; end # Checks whether the string literal is delimited by percent brackets. @@ -6730,29 +6733,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#45 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/str_node.rb:45 def percent_literal?(type = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#18 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/str_node.rb:18 def single_quoted?; end end -# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#11 +# pkg:gem/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 +# pkg:gem/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://rubocop-ast//lib/rubocop/ast/node/super_node.rb#20 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/super_node.rb:20 def arguments; end # Custom destructuring method. This can be used to normalize @@ -6760,7 +6763,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/super_node.rb:16 def node_parts; end end @@ -6768,166 +6771,166 @@ 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 +# pkg:gem/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 +# pkg:gem/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#18 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:18 def initialize(pos, type, text); end - # source://rubocop-ast//lib/rubocop/ast/token.rb#33 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:33 def begin_pos; end - # source://rubocop-ast//lib/rubocop/ast/token.rb#29 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:29 def column; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#102 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:102 def comma?; end # Type Predicates # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#58 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:58 def comment?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#106 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:106 def dot?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#118 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:118 def end?; end - # source://rubocop-ast//lib/rubocop/ast/token.rb#37 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:37 def end_pos; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#122 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:122 def equal_sign?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#66 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:66 def left_array_bracket?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#82 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:82 def left_brace?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#74 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:74 def left_bracket?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#86 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:86 def left_curly_brace?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#94 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:94 def left_parens?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#70 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:70 def left_ref_bracket?; end - # source://rubocop-ast//lib/rubocop/ast/token.rb#25 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:25 def line; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#126 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:126 def new_line?; end # Returns the value of attribute pos. # - # source://rubocop-ast//lib/rubocop/ast/token.rb#10 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:10 def pos; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#110 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:110 def regexp_dots?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#114 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:114 def rescue_modifier?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#78 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:78 def right_bracket?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#90 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:90 def right_curly_brace?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#98 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:98 def right_parens?; end # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#62 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:62 def semicolon?; end # Checks if there is whitespace after token # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#46 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:46 def space_after?; end # Checks if there is whitespace before token # # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/token.rb#51 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:51 def space_before?; end # Returns the value of attribute text. # - # source://rubocop-ast//lib/rubocop/ast/token.rb#10 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:10 def text; end - # source://rubocop-ast//lib/rubocop/ast/token.rb#41 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:41 def to_s; end # Returns the value of attribute type. # - # source://rubocop-ast//lib/rubocop/ast/token.rb#10 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:10 def type; end class << self - # source://rubocop-ast//lib/rubocop/ast/token.rb#12 + # pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:12 def from_parser_token(parser_token); end end end -# source://rubocop-ast//lib/rubocop/ast/token.rb#8 +# pkg:gem/rubocop-ast#lib/rubocop/ast/token.rb:8 RuboCop::AST::Token::LEFT_CURLY_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop-ast//lib/rubocop/ast/token.rb#7 +# pkg:gem/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. @@ -6935,430 +6938,430 @@ 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 +# pkg:gem/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#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on___ENCODING__(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on___FILE__(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on___LINE__(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_alias(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_and(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_and_asgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_arg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_arg_expr(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_args(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_array(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_array_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_array_pattern_with_tail(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_back_ref(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_begin(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_block(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_block_pass(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_blockarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_break(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_case(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_case_match(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_casgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_cbase(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_class(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_complex(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_const(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_const_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_csend(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_cvar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_cvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_def(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_defined?(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_defs(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_dstr(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_dsym(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_eflipflop(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_empty_else(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_ensure(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_erange(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_false(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_find_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_float(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_for(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_forward_arg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_forward_args(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_forwarded_args(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_forwarded_kwrestarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_forwarded_restarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_gvar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_gvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_hash(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_hash_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_if(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_if_guard(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_iflipflop(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_in_match(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_in_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_index(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_indexasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_int(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_irange(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_itblock(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_ivar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_ivasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwargs(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwbegin(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwnilarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwoptarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwrestarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_kwsplat(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_lambda(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_lvar(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_lvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_masgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_alt(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_as(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_current_line(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_nil_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_pattern(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_pattern_p(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_rest(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_var(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_with_lvasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_match_with_trailing_comma(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_mlhs(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_module(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_mrasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_next(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_nil(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_not(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_nth_ref(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_numblock(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_op_asgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_optarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_or(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_or_asgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_pair(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_pin(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_postexe(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_preexe(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_procarg0(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_rasgn(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_rational(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_redo(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_regexp(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_regopt(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_resbody(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_rescue(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_restarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_retry(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_return(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_sclass(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_self(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_send(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_shadowarg(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_splat(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_str(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_super(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_sym(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_true(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_undef(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_unless_guard(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_until(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_until_post(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_when(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:43 def on_while(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_while_post(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_xstr(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_yield(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:50 def on_zsuper(node); end - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#17 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:17 def walk(node); end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/traversal.rb#25 +# pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:25 module RuboCop::AST::Traversal::CallbackCompiler # @api private # - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#54 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:54 def body(child_node_types, expected_children_count); end # @api private # - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#68 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:68 def children_count_check_code(range); end # @api private # - # source://rubocop-ast//lib/rubocop/ast/traversal.rb#38 + # pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:38 def def_callback(type, *child_node_types, expected_children_count: T.unsafe(nil), body: T.unsafe(nil)); end end # @api private # -# source://rubocop-ast//lib/rubocop/ast/traversal.rb#26 +# pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:26 RuboCop::AST::Traversal::CallbackCompiler::SEND = T.let(T.unsafe(nil), String) # How a particular child node should be visited. For example, if a child node @@ -7367,27 +7370,27 @@ RuboCop::AST::Traversal::CallbackCompiler::SEND = T.let(T.unsafe(nil), String) # # @api private # -# source://rubocop-ast//lib/rubocop/ast/traversal.rb#32 +# pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:32 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 +# pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:12 class RuboCop::AST::Traversal::DebugError < ::RuntimeError; end -# source://rubocop-ast//lib/rubocop/ast/traversal.rb#110 +# pkg:gem/rubocop-ast#lib/rubocop/ast/traversal.rb:110 RuboCop::AST::Traversal::NO_CHILD_NODES = T.let(T.unsafe(nil), Set) -# source://rubocop-ast//lib/rubocop/ast/traversal.rb#15 +# pkg:gem/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 +# pkg:gem/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 @@ -7396,7 +7399,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/until_node.rb:30 def do?; end # Returns the inverse keyword of the `until` node as a string. @@ -7404,14 +7407,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/until_node.rb:15 def keyword; end end @@ -7419,57 +7422,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 +# pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/var_node.rb:10 def name; end end -# source://rubocop-ast//lib/rubocop/ast/version.rb#5 +# pkg:gem/rubocop-ast#lib/rubocop/ast/version.rb:5 module RuboCop::AST::Version; end -# source://rubocop-ast//lib/rubocop/ast/version.rb#6 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/when_node.rb:35 def then?; end end @@ -7477,7 +7480,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 +# pkg:gem/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 @@ -7486,7 +7489,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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/while_node.rb:30 def do?; end # Returns the inverse keyword of the `while` node as a string. @@ -7494,14 +7497,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 + # pkg:gem/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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/while_node.rb:15 def keyword; end end @@ -7509,13 +7512,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 +# pkg:gem/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://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#20 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/yield_node.rb:20 def arguments; end # Custom destructuring method. This can be used to normalize @@ -7523,7 +7526,7 @@ 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 + # pkg:gem/rubocop-ast#lib/rubocop/ast/node/yield_node.rb:16 def node_parts; end end @@ -7533,8 +7536,8 @@ class RuboCop::ConfigValidator; end # Similar to `Forwardable#def_delegators`, but simpler & faster # -# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#5 +# pkg:gem/rubocop-ast#lib/rubocop/ast/utilities/simple_forwardable.rb:5 module RuboCop::SimpleForwardable - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#6 + # pkg:gem/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.8.0.rbi b/sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi index afef6c8d0..3f9f13427 100644 --- a/sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi +++ b/sorbet/rbi/gems/rubocop-rspec@3.8.0.rbi @@ -5,17 +5,17 @@ # Please instead update this file by running `bin/tapioca gem rubocop-rspec`. -# source://rubocop-rspec//lib/rubocop/rspec.rb#3 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -31,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -65,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -106,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -141,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/base.rb:13 def inherited(subclass); end end end @@ -211,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -236,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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(...)`. @@ -270,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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(...)`. @@ -318,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -355,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#68 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/be_nil.rb:68 def check_be_nil_style(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#60 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/be_nil.rb:60 def check_be_style(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#31 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -402,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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)`. @@ -470,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#133 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:133 def autocorrect(corrector, node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#140 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:140 def autocorrect_compound(corrector, node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#120 + # pkg:gem/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#150 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:150 def insert_operator(corrector, node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#124 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:124 def message(change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#128 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:128 def message_compound(change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#174 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:174 def negated_matcher; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#178 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:178 def preferred_method; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#104 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:104 def register_offense(node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#163 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:163 def remove_by_zero(corrector, node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#159 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/change_by_zero.rb:159 def replace_node(node, change_node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#67 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -556,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/comments_help.rb:23 def start_line_position(node); end end @@ -643,26 +643,26 @@ end # # good # it { is_expected.to contain_exactly(content, *array) } # -# source://rubocop-rspec//lib/rubocop/cop/rspec/contain_exactly.rb#23 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -686,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -758,41 +758,41 @@ RuboCop::Cop::RSpec::ContextMethod::MSG = T.let(T.unsafe(nil), String) # # - for # @see http://www.betterspecs.org/#contexts # -# source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#61 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/context_wording.rb:99 def message; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/context_wording.rb#87 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -825,39 +825,39 @@ RuboCop::Cop::RSpec::ContextWording::MSG_MATCH = T.let(T.unsafe(nil), String) # # - request # # - controller # -# source://rubocop-rspec//lib/rubocop/cop/rspec/describe_class.rb#37 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -874,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/describe_method.rb:23 RuboCop::Cop::RSpec::DescribeMethod::MSG = T.let(T.unsafe(nil), String) # Avoid describing symbols. @@ -912,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -988,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#76 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:76 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#85 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:85 def common_instance_exec_closure?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#108 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:108 def contains_described_class?(param0); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#103 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:103 def described_constant(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#111 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:111 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#96 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:96 def rspec_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#100 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:100 def scope_changing_syntax?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#147 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:147 def allowed?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#128 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:128 def autocorrect(corrector, match); end # @example @@ -1033,7 +1033,7 @@ class RuboCop::Cop::RSpec::DescribedClass < ::RuboCop::Cop::RSpec::Base # @param namespace [Array] # @return [Array] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#213 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:213 def collapse_namespace(namespace, const); end # @example @@ -1043,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#230 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:230 def const_name(node); end # @yield [node] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#138 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:138 def find_usage(node, &block); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#198 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:198 def full_const_name(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#151 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:151 def message(offense); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#176 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:176 def offensive?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#184 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:184 def offensive_described_class?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#172 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:172 def only_static_constants?; end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#160 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:160 def scope_change?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#166 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:166 def skippable_block?(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#81 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:81 RuboCop::Cop::RSpec::DescribedClass::DESCRIBED_CLASS = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/described_class.rb#82 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/described_class.rb:82 RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String) # Avoid opening modules and defining specs within them. @@ -1105,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1170,19 +1170,19 @@ RuboCop::Cop::RSpec::DescribedClassModuleWrapping::MSG = T.let(T.unsafe(nil), St # # ... # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#59 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/dialect.rb:59 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#68 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/dialect.rb:68 def on_send(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#66 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/dialect.rb:66 def rspec_method?(param0 = T.unsafe(nil)); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/dialect.rb#63 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/dialect.rb:63 RuboCop::Cop::RSpec::Dialect::MSG = T.let(T.unsafe(nil), String) # Avoid duplicated metadata. @@ -1194,30 +1194,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1252,7 +1252,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 +# pkg:gem/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 @@ -1266,7 +1266,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 + # pkg:gem/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 @@ -1282,7 +1282,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 + # pkg:gem/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 @@ -1295,7 +1295,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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/empty_example_group.rb:130 def examples?(param0 = T.unsafe(nil)); end # Match examples or examples inside blocks @@ -1307,7 +1307,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 + # pkg:gem/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 @@ -1323,34 +1323,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1373,19 +1373,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1424,40 +1424,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1480,18 +1480,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1508,18 +1508,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1568,7 +1568,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 +# pkg:gem/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 @@ -1576,21 +1576,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 + # pkg:gem/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#70 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1605,7 +1605,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 +# pkg:gem/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 @@ -1613,11 +1613,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 + # pkg:gem/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 +# pkg:gem/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 @@ -1625,25 +1625,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/empty_line_separation.rb:41 def offending_loc(last_line); end end @@ -1656,22 +1656,22 @@ end # # good # describe 'Something' # -# source://rubocop-rspec//lib/rubocop/cop/rspec/empty_metadata.rb#14 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1685,21 +1685,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -1711,27 +1711,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -1784,20 +1784,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1850,31 +1850,31 @@ RuboCop::Cop::RSpec::ExampleLength::LABEL = T.let(T.unsafe(nil), String) # # good # it { is_expected.to be_good } # -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_without_description.rb#59 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -1915,70 +1915,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#60 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:60 class RuboCop::Cop::RSpec::ExampleWording < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#74 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:74 def it_description(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#81 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:81 def on_block(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#98 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:98 def add_wording_offense(node, message); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#145 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:145 def custom_transform; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#108 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:108 def docstring(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#149 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:149 def ignored_words; end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#153 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:153 def insufficient_docstring?(description_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#157 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:157 def insufficient_examples; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#162 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:162 def preprocess(message); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#118 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:118 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#134 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:134 def text(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#71 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:71 RuboCop::Cop::RSpec::ExampleWording::IT_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#66 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:66 RuboCop::Cop::RSpec::ExampleWording::MSG_INSUFFICIENT_DESCRIPTION = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#65 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:65 RuboCop::Cop::RSpec::ExampleWording::MSG_IT = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#63 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:63 RuboCop::Cop::RSpec::ExampleWording::MSG_SHOULD = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#64 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:64 RuboCop::Cop::RSpec::ExampleWording::MSG_WILL = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#69 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:69 RuboCop::Cop::RSpec::ExampleWording::SHOULD_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#70 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/example_wording.rb:70 RuboCop::Cop::RSpec::ExampleWording::WILL_PREFIX = T.let(T.unsafe(nil), Regexp) # Checks for excessive whitespace in example descriptions. @@ -2000,14 +2000,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/excessive_docstring_spacing.rb:39 def on_send(node); end private @@ -2015,31 +2015,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -2060,21 +2060,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -2082,31 +2082,31 @@ class RuboCop::Cop::RSpec::ExpectActual < ::RuboCop::Cop::RSpec::Base # # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_actual.rb#90 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -2134,31 +2134,31 @@ RuboCop::Cop::RSpec::ExpectActual::SKIPPED_MATCHERS = T.let(T.unsafe(nil), Array # expect { run }.to change { Foo.bar(:count) } # expect { run }.to change { user.reload.name } # -# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#51 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:51 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#60 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:60 def expect_change_with_arguments(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#65 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:65 def expect_change_with_block(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#91 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:91 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#79 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:79 def on_send(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#55 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:55 RuboCop::Cop::RSpec::ExpectChange::MSG_BLOCK = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#56 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:56 RuboCop::Cop::RSpec::ExpectChange::MSG_CALL = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/expect_change.rb#57 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_change.rb:57 RuboCop::Cop::RSpec::ExpectChange::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Do not use `expect` in hooks such as `before`. @@ -2179,24 +2179,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#40 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -2212,21 +2212,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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`. @@ -2241,9 +2241,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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/expect_output.rb:22 def on_gvasgn(node); end private @@ -2258,89 +2258,89 @@ class RuboCop::Cop::RSpec::ExpectOutput < ::RuboCop::Cop::RSpec::Base # # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/expect_output.rb#40 + # pkg:gem/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 +# pkg:gem/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#129 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:129 module RuboCop::Cop::RSpec::ExplicitHelper include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#188 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:188 def predicate_matcher?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#201 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:201 def predicate_matcher_block?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#143 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:143 def allowed_explicit_matchers; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#147 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:147 def check_explicit(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#225 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:225 def corrector_explicit(corrector, to_node, actual, matcher, block_child); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#183 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:183 def heredoc_argument?(matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#219 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:219 def message_explicit(matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#232 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:232 def move_predicate(corrector, actual, matcher, block_child); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#210 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:210 def predicate_matcher_name?(name); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#170 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:170 def replaceable_matcher?(matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#259 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:259 def replacement_matcher(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#242 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:242 def to_predicate_method(matcher); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#179 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:179 def uncorrectable_matcher?(node, matcher); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#135 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:135 RuboCop::Cop::RSpec::ExplicitHelper::BUILT_IN_MATCHERS = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#133 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:133 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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/final_end_location.rb:8 def final_end_location(start_node); end end @@ -2384,39 +2384,39 @@ end # # bad (does not support autocorrection) # focus 'test' do; end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#46 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/focus.rb:75 def on_send(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#108 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/focus.rb:108 def correct_send(corrector, focus); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#89 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/focus.rb:89 def on_focused_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#95 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/focus.rb:95 def on_metadata(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#101 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/focus.rb:101 def with_surrounding(focus); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#50 +# pkg:gem/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 +2472,47 @@ RuboCop::Cop::RSpec::Focus::MSG = T.let(T.unsafe(nil), String) # # ... # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/hook_argument.rb#61 +# pkg:gem/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 + # pkg:gem/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#91 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +2534,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#47 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +2578,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +2607,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +2659,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#69 + # pkg:gem/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 + # pkg:gem/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#78 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_expect.rb:78 def range_for_is_expected(source_map); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#94 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +2750,74 @@ RuboCop::Cop::RSpec::ImplicitExpect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # is_expected.to be_truthy # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#65 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#167 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:167 def example_of(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#143 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:143 def implicit_subject_in_non_its?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#147 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:147 def implicit_subject_in_non_its_and_non_single_line?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#151 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:151 def implicit_subject_in_non_its_and_non_single_statement?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#126 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:126 def invalid?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#155 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:155 def its?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#117 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:117 def message(_node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#159 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:159 def single_line?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#163 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:163 def single_statement?(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#69 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/implicit_subject.rb:73 RuboCop::Cop::RSpec::ImplicitSubject::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for usage of `include_examples`. @@ -2836,18 +2836,18 @@ RuboCop::Cop::RSpec::ImplicitSubject::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # # good # it_behaves_like 'examples' # -# source://rubocop-rspec//lib/rubocop/cop/rspec/include_examples.rb#73 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/include_examples.rb:73 class RuboCop::Cop::RSpec::IncludeExamples < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec//lib/rubocop/cop/rspec/include_examples.rb#80 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/include_examples.rb:80 def on_send(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/include_examples.rb#76 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/include_examples.rb:76 RuboCop::Cop::RSpec::IncludeExamples::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/include_examples.rb#78 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/include_examples.rb:78 RuboCop::Cop::RSpec::IncludeExamples::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Do not set up test data using indexes (e.g., `item_1`, `item_2`). @@ -2888,123 +2888,123 @@ RuboCop::Cop::RSpec::IncludeExamples::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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#107 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/indexed_let.rb:107 def allowed_identifiers; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#101 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/indexed_let.rb:101 def cop_config_patterns_values; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#81 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/indexed_let.rb:81 def filter_indexed_lets(candidates); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#90 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/indexed_let.rb:90 def indexed_let?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#97 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/indexed_let.rb:97 def let_name_stripped_index(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#78 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/indexed_let.rb:78 RuboCop::Cop::RSpec::IndexedLet::INDEX_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#51 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#45 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:45 def be_bool?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#50 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:50 def be_boolthy?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#31 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:31 def predicate_in_actual?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#54 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:54 def boolean_matcher?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#40 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:40 def cannot_replace_predicate?(send_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#16 + # pkg:gem/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#66 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:66 def message_inflected(predicate); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#62 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:62 def predicate?(sym); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#89 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:89 def remove_predicate(corrector, predicate); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#100 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:100 def rewrite_matcher(corrector, predicate, matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#72 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:72 def to_predicate_matcher(name); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#111 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:111 def true?(to_symbol, matcher); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#11 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/inside_example_group.rb:11 def inside_example_group?(node); end end @@ -3023,26 +3023,26 @@ end # expect(foo).to have_received(:bar) # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/instance_spy.rb#21 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -3086,39 +3086,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -3136,24 +3136,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3171,27 +3171,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3207,50 +3207,50 @@ 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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:19 class RuboCop::Cop::RSpec::IteratedExpectation < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#26 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:26 def each?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#35 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:35 def each_numblock?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#42 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:42 def expectation?(param0 = T.unsafe(nil), param1); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#46 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:46 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#52 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:52 def on_numblock(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#60 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:60 def check_offense(node, argument); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#88 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:88 def only_expectations?(body, arg); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#84 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:84 def single_expectation?(body, arg); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#73 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:73 def single_expectation_replacement(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#80 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:80 def uses_argument_in_matcher?(node, argument); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/iterated_expectation.rb#22 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/iterated_expectation.rb:22 RuboCop::Cop::RSpec::IteratedExpectation::MSG = T.let(T.unsafe(nil), String) # Enforce that subject is the first definition in the test. @@ -3280,35 +3280,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -3399,37 +3399,37 @@ 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 +# pkg:gem/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 + # pkg:gem/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#108 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_constant_declaration.rb:108 def on_class(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#115 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_constant_declaration.rb:115 def on_module(node); end private # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#128 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_constant_declaration.rb:128 def explicit_namespace?(namespace); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#124 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_constant_declaration.rb:124 def inside_describe_block?(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_constant_declaration.rb#98 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 local variables from outer scopes used inside examples. @@ -3491,54 +3491,54 @@ RuboCop::Cop::RSpec::LeakyConstantDeclaration::MSG_MODULE = T.let(T.unsafe(nil), # # it_behaves_like examples, another_argument # -# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#65 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:65 class RuboCop::Cop::RSpec::LeakyLocalVariable < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#83 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:83 def after_leaving_scope(scope, _variable_table); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#70 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:70 def example_method?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#75 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:75 def includes_method?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#114 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:114 def allowed_includes_arguments?(node, argument); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#103 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:103 def allowed_reference?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#89 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:89 def check_references(variable); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#127 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:127 def example_scope?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#132 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:132 def inside_describe_block?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#123 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:123 def part_of_example_scope?(node); end class << self - # source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#79 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:79 def joining_forces; end end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/leaky_local_variable.rb#66 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/leaky_local_variable.rb:66 RuboCop::Cop::RSpec::LeakyLocalVariable::MSG = T.let(T.unsafe(nil), String) # Checks for `let` definitions that come after an example. @@ -3569,47 +3569,47 @@ RuboCop::Cop::RSpec::LeakyLocalVariable::MSG = T.let(T.unsafe(nil), String) # expect(some).to be # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/let_before_examples.rb#33 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -3646,45 +3646,45 @@ RuboCop::Cop::RSpec::LetBeforeExamples::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#40 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:40 class RuboCop::Cop::RSpec::LetSetup < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#44 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:44 def example_or_shared_group_or_including?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#52 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:52 def let_bang(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#60 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:60 def method_called?(param0, param1); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#62 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:62 def on_block(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#80 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:80 def child_let_bang(node, &block); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#94 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:94 def outer_let_bang?(ancestor_node, method_name); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#86 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:86 def overrides_outer_let_bang?(node, method_name); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#72 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:72 def unused_let_bang(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/let_setup.rb#41 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/let_setup.rb:41 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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/location_help.rb:7 module RuboCop::Cop::RSpec::LocationHelp private @@ -3694,7 +3694,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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/location_help.rb:15 def arguments_with_whitespace(node); end # @example @@ -3703,7 +3703,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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/location_help.rb:26 def block_with_whitespace(node); end class << self @@ -3713,7 +3713,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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/location_help.rb:15 def arguments_with_whitespace(node); end # @example @@ -3722,7 +3722,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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/location_help.rb:26 def block_with_whitespace(node); end end end @@ -3747,26 +3747,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3779,16 +3779,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3811,31 +3811,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3864,72 +3864,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/metadata.rb:49 def on_metadata_arguments(metadata_arguments); end end @@ -3952,80 +3952,80 @@ end # # good # describe 'Something', :a # -# source://rubocop-rspec//lib/rubocop/cop/rspec/metadata_style.rb#25 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/metadata_style.rb:183 def remove_symbol(corrector, node); end end @@ -4046,13 +4046,13 @@ end # describe "A feature example" do # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/missing_example_group_argument.rb#23 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4071,25 +4071,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -4112,15 +4112,15 @@ RuboCop::Cop::RSpec::MissingExpectationTargetMethod::RESTRICT_ON_SEND = T.let(T. # end # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_describes.rb#26 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4181,50 +4181,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/multiple_expectations.rb:86 def expect?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#75 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -4303,45 +4303,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 +# pkg:gem/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-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#89 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4389,32 +4389,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4490,65 +4490,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/named_subject.rb:127 def always?; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/named_subject.rb#117 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/namespace.rb:7 module RuboCop::Cop::RSpec::Namespace private @@ -4557,7 +4557,7 @@ module RuboCop::Cop::RSpec::Namespace # @param node [RuboCop::AST::Node] # @return [Array] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/mixin/namespace.rb#14 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/namespace.rb:14 def namespace(node); end end @@ -4645,48 +4645,48 @@ end # end # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#94 +# pkg:gem/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-rspec//lib/rubocop/cop/rspec/nested_groups.rb#105 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -4739,7 +4739,7 @@ RuboCop::Cop::RSpec::NestedGroups::MSG = T.let(T.unsafe(nil), String) # # - ^expect_ # # - ^assert_ # -# source://rubocop-rspec//lib/rubocop/cop/rspec/no_expectation_example.rb#58 +# pkg:gem/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 @@ -4747,33 +4747,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#98 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4799,27 +4799,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -4841,29 +4841,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4895,36 +4895,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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending.rb:61 def on_send(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending.rb#54 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -4981,50 +4981,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 +# pkg:gem/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#81 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:81 def metadata_without_reason?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#96 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:96 def on_send(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#92 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:92 def skipped_by_example_group_method?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#71 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:71 def skipped_by_example_method?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#76 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:76 def skipped_by_example_method_with_block?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#63 + # pkg:gem/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#117 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:117 def block_node_example_group?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#129 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:129 def on_pending_by_metadata(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#145 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:145 def on_skipped_by_example_group_method(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#135 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:135 def on_skipped_by_example_method(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#123 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:123 def on_skipped_by_in_example_method(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#110 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/pending_without_reason.rb:110 def parent_node(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/pending_without_reason.rb#60 +# pkg:gem/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. @@ -5073,21 +5073,21 @@ RuboCop::Cop::RSpec::PendingWithoutReason::MSG = T.let(T.unsafe(nil), String) # # also good - It checks "true" strictly. # expect(foo.something?).to be(true) # -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#322 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:322 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#343 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:343 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#330 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:330 def on_send(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#328 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/predicate_matcher.rb:328 RuboCop::Cop::RSpec::PredicateMatcher::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for `once` and `twice` receive counts matchers usage. @@ -5109,38 +5109,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_counts.rb:30 RuboCop::Cop::RSpec::ReceiveCounts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Prefer `receive_messages` over multiple `receive`s on the same object. @@ -5163,73 +5163,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#154 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_messages.rb:154 def requires_quotes?(value); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_messages.rb#91 + # pkg:gem/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 +# pkg:gem/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`. @@ -5249,34 +5249,34 @@ RuboCop::Cop::RSpec::ReceiveMessages::MSG = T.let(T.unsafe(nil), String) # # not flagged by this cop # allow(foo).to receive(:bar).never # -# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#23 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:23 class RuboCop::Cop::RSpec::ReceiveNever < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#32 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:32 def expect_to_receive?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#29 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:29 def method_on_stub?(param0); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#42 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:42 def on_send(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#59 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:59 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#53 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:53 def used_with_expect?(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#25 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:25 RuboCop::Cop::RSpec::ReceiveNever::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/receive_never.rb#26 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/receive_never.rb:26 RuboCop::Cop::RSpec::ReceiveNever::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Remove redundant `around` hook. @@ -5289,35 +5289,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -5333,31 +5333,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -5372,21 +5372,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -5425,29 +5425,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -5462,30 +5462,30 @@ 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 +# pkg:gem/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#22 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/repeated_example.rb:22 def on_block(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#49 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/repeated_example.rb:49 def add_offenses_for_repeated_group(repeated_examples); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#41 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/repeated_example.rb:41 def build_example_signature(example); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#56 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/repeated_example.rb:56 def extract_other_lines(examples_group, current_example); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#32 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/repeated_example.rb:32 def find_repeated_examples(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#66 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/repeated_example.rb:66 def message(other_lines); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/repeated_example.rb#19 +# pkg:gem/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. @@ -5527,41 +5527,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -5603,35 +5603,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -5676,41 +5676,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -5739,11 +5739,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 +# pkg:gem/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 + # pkg:gem/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 @@ -5759,31 +5759,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -5815,127 +5815,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -5961,20 +5961,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -6004,31 +6004,31 @@ RuboCop::Cop::RSpec::ScatteredLet::MSG = T.let(T.unsafe(nil), String) # around { |example| before2; example.call; after2 } # end # -# source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#33 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:33 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#41 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:41 def on_block(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#84 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:84 def autocorrect(corrector, first_occurrence, occurrence); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#69 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:69 def lines_msg(numbers); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#77 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:77 def message(occurrences, occurrence); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#56 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:56 def repeated_hooks(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/scattered_setup.rb#38 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/scattered_setup.rb:38 RuboCop::Cop::RSpec::ScatteredSetup::MSG = T.let(T.unsafe(nil), String) # Checks for proper shared_context and shared_examples usage. @@ -6077,38 +6077,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6146,70 +6146,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/shared_examples.rb:108 def node; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#118 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/shared_examples.rb:88 def node; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/shared_examples.rb#98 + # pkg:gem/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 +# pkg:gem/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. @@ -6225,51 +6225,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6292,28 +6292,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 +# pkg:gem/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 + # pkg:gem/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#36 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/skip_or_pending.rb:7 module RuboCop::Cop::RSpec::SkipOrPending extend ::RuboCop::AST::NodePattern::Macros @@ -6330,10 +6330,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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/mixin/skip_or_pending.rb:11 def skipped_in_metadata?(param0 = T.unsafe(nil)); end end @@ -6356,47 +6356,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -6429,92 +6429,92 @@ RuboCop::Cop::RSpec::SortMetadata::MSG = T.let(T.unsafe(nil), String) # # good # my_class_spec.rb # describe MyClass, '#method' # -# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#41 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:41 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#49 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:49 def example_group_arguments(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#54 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:54 def metadata_key_value(param0); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#56 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:56 def on_top_level_example_group(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#161 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:161 def camel_to_snake_case(string); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#134 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:134 def correct_path_pattern(class_name, arguments); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#165 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:165 def custom_transform; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#115 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:115 def ensure_correct_file_path(send_node, class_name, arguments); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#151 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:151 def expected_path(constant); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#177 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:177 def filename_ends_with?(pattern); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#147 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:147 def ignore?(method_name); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#173 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:173 def ignore_metadata; end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#126 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:126 def ignore_metadata?(arguments); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#169 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:169 def ignore_methods?; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#101 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:101 def inflector; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#141 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:141 def name_pattern(method_name); end end # Inflector module that uses ActiveSupport for advanced inflection rules # -# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#69 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:69 module RuboCop::Cop::RSpec::SpecFilePathFormat::ActiveSupportInflector class << self - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#70 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:70 def call(string); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#74 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:74 def prepare_availability(config); end end end # Inflector module that uses basic regex-based conversion # -# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#92 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:92 module RuboCop::Cop::RSpec::SpecFilePathFormat::DefaultInflector class << self - # source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#93 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:93 def call(string); end end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/spec_file_path_format.rb#46 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/spec_file_path_format.rb:46 RuboCop::Cop::RSpec::SpecFilePathFormat::MSG = T.let(T.unsafe(nil), String) # Checks that spec file paths suffix are consistent and well-formed. @@ -6531,23 +6531,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -6560,9 +6560,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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/stubbed_mock.rb:43 def configured_response?(param0 = T.unsafe(nil)); end # Match expectation @@ -6576,7 +6576,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 + # pkg:gem/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 @@ -6590,7 +6590,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 + # pkg:gem/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 @@ -6604,7 +6604,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 + # pkg:gem/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 @@ -6616,7 +6616,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 + # pkg:gem/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 @@ -6626,7 +6626,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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/stubbed_mock.rb:94 def matcher_with_return_block(param0 = T.unsafe(nil)); end # Match message expectation matcher @@ -6640,28 +6640,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6680,24 +6680,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6741,13 +6741,13 @@ RuboCop::Cop::RSpec::SubjectDeclaration::MSG_REDUNDANT = T.let(T.unsafe(nil), St # @see https://penelope.zone/2015/12/27/introducing-rspec-smells-and-where-to-find-them.html#smell-1-stubjec # @see https://robots.thoughtbot.com/don-t-stub-the-system-under-test # -# source://rubocop-rspec//lib/rubocop/cop/rspec/subject_stub.rb#50 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/subject_stub.rb:80 def let?(param0 = T.unsafe(nil)); end # Match `allow` and `expect(...).to receive` @@ -6760,13 +6760,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/subject_stub.rb:115 def on_top_level_group(node); end # Find a named or unnamed subject definition @@ -6782,58 +6782,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -6877,23 +6877,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -6923,45 +6923,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6983,28 +6983,28 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#62 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/variable_definition.rb:62 def style_offense?(variable); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/variable_definition.rb#32 +# pkg:gem/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. @@ -7039,7 +7039,7 @@ RuboCop::Cop::RSpec::VariableDefinition::MSG = T.let(T.unsafe(nil), String) # subject(:user_name_1) { 'Adam' } # let(:user_name_2) { 'Adam' } # -# source://rubocop-rspec//lib/rubocop/cop/rspec/variable_name.rb#41 +# pkg:gem/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 @@ -7048,16 +7048,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -7080,24 +7080,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -7159,31 +7159,31 @@ 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#70 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:70 class RuboCop::Cop::RSpec::VerifiedDoubles < ::RuboCop::Cop::RSpec::Base - # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#79 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:79 def on_send(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#75 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:75 def unverified_double(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#94 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:94 def hash?(arg); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#90 + # pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:90 def symbol?(name); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#71 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:71 RuboCop::Cop::RSpec::VerifiedDoubles::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-rspec//lib/rubocop/cop/rspec/verified_doubles.rb#72 +# pkg:gem/rubocop-rspec#lib/rubocop/cop/rspec/verified_doubles.rb:72 RuboCop::Cop::RSpec::VerifiedDoubles::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks void `expect()`. @@ -7195,40 +7195,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -7240,54 +7240,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/align_let_brace.rb:6 class RuboCop::RSpec::AlignLetBrace include ::RuboCop::RSpec::Language include ::RuboCop::PathUtil @@ -7295,85 +7295,85 @@ class RuboCop::RSpec::AlignLetBrace # @return [AlignLetBrace] a new instance of AlignLetBrace # - # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#10 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/align_let_brace.rb:60 def root; end - # source://rubocop-rspec//lib/rubocop/rspec/align_let_brace.rb#53 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/align_let_brace.rb:60 def token; end end # Wrapper for RSpec DSL methods # -# source://rubocop-rspec//lib/rubocop/rspec/concept.rb#6 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/concept.rb:10 def initialize(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#18 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/concept.rb:18 def ==(other); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#14 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/concept.rb:14 def eql?(other); end - # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#20 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/concept.rb:20 def hash; end - # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#24 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/concept.rb:30 def node; end end -# source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#5 +# pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/corrector/move_node.rb:7 class RuboCop::RSpec::Corrector::MoveNode include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::RSpec::FinalEndLocation @@ -7381,94 +7381,94 @@ class RuboCop::RSpec::Corrector::MoveNode # @return [MoveNode] a new instance of MoveNode # - # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#14 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/corrector/move_node.rb:12 def corrector; end - # source://rubocop-rspec//lib/rubocop/rspec/corrector/move_node.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/example.rb:6 class RuboCop::RSpec::Example < ::RuboCop::RSpec::Concept - # source://rubocop-rspec//lib/rubocop/rspec/example.rb#28 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example.rb:28 def definition; end - # source://rubocop-rspec//lib/rubocop/rspec/example.rb#16 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example.rb:16 def doc_string; end - # source://rubocop-rspec//lib/rubocop/rspec/example.rb#8 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example.rb:24 def implementation; end - # source://rubocop-rspec//lib/rubocop/rspec/example.rb#20 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example_group.rb:28 def examples; end - # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#34 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example_group.rb:34 def hooks; end - # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#20 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example_group.rb:24 def subjects; end private - # source://rubocop-rspec//lib/rubocop/rspec/example_group.rb#56 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/example_group.rb:56 def find_all(node, predicate); end # Recursively search for predicate within the current scope @@ -7479,53 +7479,53 @@ 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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:24 def example?; end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#8 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:18 def knowable_scope?; end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#38 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:38 def metadata; end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#14 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:14 def name; end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#28 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:28 def scope; end private - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#76 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:76 def scope_argument; end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#72 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:72 def scope_name; end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#51 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:51 def transform_metadata(meta); end - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#66 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:66 def transform_true(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/hook.rb#47 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/hook.rb:47 def valid_scope?(node); end end @@ -7539,302 +7539,302 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:49 def example?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#28 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:52 def hook?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#65 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:65 def include?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#57 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:57 def let?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#22 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:22 def rspec?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#33 + # pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:37 def spec_group?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#73 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:73 def subject?(param0 = T.unsafe(nil)); end class << self # Returns the value of attribute config. # - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#18 + # pkg:gem/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 + # pkg:gem/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#207 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:207 module RuboCop::RSpec::Language::ALL class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#208 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:208 def all(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#75 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:75 module RuboCop::RSpec::Language::ErrorMatchers class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#76 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:76 def all(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#81 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:81 module RuboCop::RSpec::Language::ExampleGroups class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#83 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:83 def all(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#93 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:93 def focused(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#89 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:89 def regular(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#97 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:97 def skipped(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#103 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:103 module RuboCop::RSpec::Language::Examples class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#105 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:105 def all(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#116 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:116 def focused(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#124 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:124 def pending(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#112 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:112 def regular(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#120 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:120 def skipped(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#130 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:130 module RuboCop::RSpec::Language::Expectations class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#131 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:131 def all(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#136 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:136 module RuboCop::RSpec::Language::Helpers class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#137 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:137 def all(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#148 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:148 module RuboCop::RSpec::Language::HookScopes class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#150 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:150 def all(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#149 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:149 RuboCop::RSpec::Language::HookScopes::ALL = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#142 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:142 module RuboCop::RSpec::Language::Hooks class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#143 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:143 def all(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#155 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:155 module RuboCop::RSpec::Language::Includes class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#157 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:157 def all(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#166 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:166 def context(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#162 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:162 def examples(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#172 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:172 module RuboCop::RSpec::Language::Runners class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#175 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:175 def all(element = T.unsafe(nil)); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#173 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:173 RuboCop::RSpec::Language::Runners::ALL = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#183 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:183 module RuboCop::RSpec::Language::SharedGroups class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#185 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:185 def all(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#194 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:194 def context(element); end - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#190 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:190 def examples(element); end end end -# source://rubocop-rspec//lib/rubocop/rspec/language.rb#200 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:200 module RuboCop::RSpec::Language::Subjects class << self - # source://rubocop-rspec//lib/rubocop/rspec/language.rb#201 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/language.rb:201 def all(element); end end end # RuboCop RSpec specific extensions of RuboCop::AST::Node # -# source://rubocop-rspec//lib/rubocop/rspec/node.rb#6 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/node.rb:9 def recursive_literal_or_const?; end end # A plugin that integrates RuboCop RSpec with RuboCop's plugin system. # -# source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#8 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/plugin.rb:8 class RuboCop::RSpec::Plugin < ::LintRoller::Plugin # :nocov: # - # source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#10 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/plugin.rb:10 def about; end - # source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#24 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/plugin.rb:24 def rules(_context); end # :nocov: # # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#20 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/plugin.rb:20 def supported?(context); end end # Version information for the RSpec RuboCop plugin. # -# source://rubocop-rspec//lib/rubocop/rspec/version.rb#6 +# pkg:gem/rubocop-rspec#lib/rubocop/rspec/version.rb:6 module RuboCop::RSpec::Version; end -# source://rubocop-rspec//lib/rubocop/rspec/version.rb#7 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:14 def initialize(text, ignore:, replace:); end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#20 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:20 def rewrite; end private - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#78 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:78 def append_suffix(word, suffix); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#63 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:63 def ignored_word?(word); end # Returns the value of attribute ignores. # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#37 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:37 def ignores; end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#49 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:49 def remove_should_and_pluralize; end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:39 def replace_prefix(pattern, replacement); end # Returns the value of attribute replacements. # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#37 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:37 def replacements; end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#67 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:67 def substitute(word); end # Returns the value of attribute text. # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#37 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:37 def text; end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#45 + # pkg:gem/rubocop-rspec#lib/rubocop/rspec/wording.rb:45 def uppercase?(word); end end -# source://rubocop-rspec//lib/rubocop/rspec/wording.rb#11 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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.11.0.rbi b/sorbet/rbi/gems/rubocop-sorbet@0.11.0.rbi index 368858ccf..47e1c7696 100644 --- a/sorbet/rbi/gems/rubocop-sorbet@0.11.0.rbi +++ b/sorbet/rbi/gems/rubocop-sorbet@0.11.0.rbi @@ -5,13 +5,13 @@ # Please instead update this file by running `bin/tapioca gem rubocop-sorbet`. -# source://rubocop-sorbet//lib/rubocop/sorbet/version.rb#3 +# pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/version.rb:3 module RuboCop; end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#4 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:4 module RuboCop::Cop; end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#5 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:5 module RuboCop::Cop::Sorbet; end # Disallows using `.override(allow_incompatible: true)`. @@ -28,31 +28,31 @@ module RuboCop::Cop::Sorbet; end # # good # sig.override # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#21 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:21 class RuboCop::Cop::Sorbet::AllowIncompatibleOverride < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#55 + # pkg:gem/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#72 + # pkg:gem/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 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:49 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#41 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:41 def override?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#36 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:36 def sig?(param0); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:27 def sig_dot_override?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#22 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:22 RuboCop::Cop::Sorbet::AllowIncompatibleOverride::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb#24 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/allow_incompatible_override.rb:24 RuboCop::Cop::Sorbet::AllowIncompatibleOverride::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows binding the return value of `T.any`, `T.all`, `T.enum` @@ -66,20 +66,20 @@ RuboCop::Cop::Sorbet::AllowIncompatibleOverride::RESTRICT_ON_SEND = T.let(T.unsa # # good # FooOrBar = T.type_alias { T.any(Foo, Bar) } # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:18 class RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#65 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:65 def on_casgn(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#48 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:48 def requires_type_alias?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#38 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:38 def type_alias_with_block?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#29 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:29 def type_alias_without_block(param0 = T.unsafe(nil)); end private @@ -96,14 +96,14 @@ class RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias < ::RuboCop::Cop::Ba # (send (send (send (send (send (send nil :a) :b) :c) :d) :e) :f) # ^^^^^^^^^^^^^^^^^^^^^^^ # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#98 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:98 def send_leaf(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#21 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:21 RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/binding_constant_without_type_alias.rb:23 RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias::WITHOUT_BLOCK_MSG = T.let(T.unsafe(nil), String) # Disallow defining methods in blocks, to prevent running into issues @@ -155,67 +155,67 @@ RuboCop::Cop::Sorbet::BindingConstantWithoutTypeAlias::WITHOUT_BLOCK_MSG = T.let # end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#55 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:55 class RuboCop::Cop::Sorbet::BlockMethodDefinition < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#62 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:62 def activesupport_concern_class_methods_block?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#71 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:71 def module_extends_activesupport_concern?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#80 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:80 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#94 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:94 def on_numblock(node); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#186 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:186 def adjust_for_closing_parenthesis(end_pos); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#106 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:106 def autocorrect_method_in_block(corrector, node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#198 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:198 def closing_parenthesis_follows(source); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#175 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:175 def find_end_position_with_arguments(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#182 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:182 def find_end_position_without_arguments(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#167 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:167 def find_method_signature_end_position(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#143 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:143 def handle_method_without_body(node, indent); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#161 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:161 def handle_multiline_method_without_body(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#155 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:155 def handle_single_line_method(node, indent); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#98 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:98 def in_activesupport_concern_class_methods_block?(node); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#151 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:151 def single_line_method?(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#132 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:132 def transform_args_to_block_args(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/block_method_definition.rb#59 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/block_method_definition.rb:59 RuboCop::Cop::Sorbet::BlockMethodDefinition::MSG = T.let(T.unsafe(nil), String) # Checks for the a mistaken variant of the "obsolete memoization pattern" that used to be required @@ -247,7 +247,7 @@ RuboCop::Cop::Sorbet::BlockMethodDefinition::MSG = T.let(T.unsafe(nil), String) # end # @see Sorbet/ObsoleteStrictMemoization # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb#42 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb:42 class RuboCop::Cop::Sorbet::BuggyObsoleteStrictMemoization < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MatchRange @@ -257,19 +257,19 @@ class RuboCop::Cop::Sorbet::BuggyObsoleteStrictMemoization < ::RuboCop::Cop::Bas extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb#55 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb:55 def buggy_legacy_memoization_pattern?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb#66 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb:66 def on_begin(node); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb#77 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb:77 def relevant_file?(file); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb#51 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/buggy_obsolete_strict_memoization.rb:51 RuboCop::Cop::Sorbet::BuggyObsoleteStrictMemoization::MSG = T.let(T.unsafe(nil), String) # Ensures that callback conditionals are bound to the right type @@ -302,15 +302,15 @@ RuboCop::Cop::Sorbet::BuggyObsoleteStrictMemoization::MSG = T.let(T.unsafe(nil), # end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#36 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/callback_conditionals_binding.rb:36 class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#82 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/callback_conditionals_binding.rb:82 def argumentless_unbound_callable_callback_conditional?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#92 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/callback_conditionals_binding.rb:92 def on_send(node); end private @@ -318,14 +318,14 @@ class RuboCop::Cop::Sorbet::CallbackConditionalsBinding < ::RuboCop::Cop::Base # Find the immediately enclosing class or module name. # Returns `nil`` if the immediate parent (skipping begin if present) is not a class or module. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#129 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/callback_conditionals_binding.rb:129 def immediately_enclosing_module_name(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#40 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/callback_conditionals_binding.rb:40 RuboCop::Cop::Sorbet::CallbackConditionalsBinding::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/callback_conditionals_binding.rb#42 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/callback_conditionals_binding.rb:42 RuboCop::Cop::Sorbet::CallbackConditionalsBinding::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Ensure type parameters used in generic methods are always capitalized. @@ -340,36 +340,36 @@ RuboCop::Cop::Sorbet::CallbackConditionalsBinding::RESTRICT_ON_SEND = T.let(T.un # sig { type_parameters(:X).params(a: T.type_parameter(:X)).void } # def foo(a: 1); end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:17 class RuboCop::Cop::Sorbet::CapitalizedTypeParameters < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#51 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:51 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#47 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:47 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:35 def on_signature(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#31 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:31 def t_type_parameter?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#26 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:26 def type_parameters?(param0 = T.unsafe(nil)); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#57 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:57 def check_type_parameters_case(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#21 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:21 RuboCop::Cop::Sorbet::CapitalizedTypeParameters::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/capitalized_type_parameters.rb:23 RuboCop::Cop::Sorbet::CapitalizedTypeParameters::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows the usage of `checked(true)`. This usage could cause @@ -386,19 +386,19 @@ RuboCop::Cop::Sorbet::CapitalizedTypeParameters::RESTRICT_ON_SEND = T.let(T.unsa # # good # sig { void } # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb:19 class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Sorbet::SignatureHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb:24 def offending_node(param0); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb:35 def on_signature(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb#28 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/checked_true_in_signature.rb:28 RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), String) # Disallows the calls that are used to get constants fom Strings @@ -430,19 +430,19 @@ RuboCop::Cop::Sorbet::CheckedTrueInSignature::MESSAGE = T.let(T.unsafe(nil), Str # # good # { "User" => User }.fetch(class_name) # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#36 +# pkg:gem/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#50 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/constants_from_strings.rb:50 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#47 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/constants_from_strings.rb:47 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#37 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/constants_from_strings.rb:37 RuboCop::Cop::Sorbet::ConstantsFromStrings::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/constants_from_strings.rb#40 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/constants_from_strings.rb:40 RuboCop::Cop::Sorbet::ConstantsFromStrings::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for blank lines after signatures. @@ -457,33 +457,33 @@ RuboCop::Cop::Sorbet::ConstantsFromStrings::RESTRICT_ON_SEND = T.let(T.unsafe(ni # sig { void } # def foo; end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:17 class RuboCop::Cop::Sorbet::EmptyLineAfterSig < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#33 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:33 def on_signature(sig); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#25 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:25 def sig_or_signable_method_definition?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#62 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:62 def contains_only_rubocop_directives?(range); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#66 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:66 def lines_between(node1, node2, buffer: T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#58 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:58 def next_sibling(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb#22 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/empty_line_after_sig.rb:22 RuboCop::Cop::Sorbet::EmptyLineAfterSig::MSG = T.let(T.unsafe(nil), String) # Checks that the Sorbet sigil comes as the first magic comment in the file, after the encoding comment if any. @@ -507,42 +507,42 @@ RuboCop::Cop::Sorbet::EmptyLineAfterSig::MSG = T.let(T.unsafe(nil), String) # Only `(en)?coding`, `typed`, `warn_indent` and `frozen_string_literal` magic comments are considered, # other comments or magic comments are left in the same place. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#32 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:32 class RuboCop::Cop::Sorbet::EnforceSigilOrder < ::RuboCop::Cop::Sorbet::ValidSigil include ::RuboCop::Cop::RangeHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:35 def on_new_investigation; end protected - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#93 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:93 def autocorrect(corrector); end # checks # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#70 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:70 def check_magic_comments_order(tokens); end # Get all the tokens in `processed_source` that match `MAGIC_REGEX` # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#62 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:62 def extract_magic_comments(processed_source); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#46 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:46 RuboCop::Cop::Sorbet::EnforceSigilOrder::CODING_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#48 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:48 RuboCop::Cop::Sorbet::EnforceSigilOrder::FROZEN_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#47 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:47 RuboCop::Cop::Sorbet::EnforceSigilOrder::INDENT_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#57 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:57 RuboCop::Cop::Sorbet::EnforceSigilOrder::MAGIC_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb#50 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_sigil_order.rb:50 RuboCop::Cop::Sorbet::EnforceSigilOrder::PREFERRED_ORDER = T.let(T.unsafe(nil), Hash) # Checks that every method definition and attribute accessor has a Sorbet signature. @@ -566,229 +566,229 @@ RuboCop::Cop::Sorbet::EnforceSigilOrder::PREFERRED_ORDER = T.let(T.unsafe(nil), # * `ReturnTypePlaceholder`: placeholders used for return types (default: 'T.untyped') # * `Style`: signature style to enforce - 'sig' for sig blocks, 'rbs' for RBS comments, 'both' to allow either (default: 'sig') # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:26 class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#33 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:33 def accessor?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#37 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:37 def on_def(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#41 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:41 def on_defs(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#53 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:53 def on_new_investigation; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#45 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:45 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#49 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:49 def on_signature(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#59 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:59 def scope(node); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#154 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:154 def add_accessor_parameter_if_needed(suggest, symbol, method); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#176 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:176 def allow_rbs?; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#113 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:113 def autocorrect_with_signature_type(corrector, node, type); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#68 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:68 def check_node(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#119 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:119 def create_signature_suggestion(node, type); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#168 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:168 def param_type_placeholder; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#146 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:146 def populate_accessor_suggestion(suggest, node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#136 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:136 def populate_method_definition_suggestion(suggest, node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#128 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:128 def populate_signature_suggestion(suggest, node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#109 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:109 def rbs_checker; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#172 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:172 def return_type_placeholder; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#160 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:160 def set_void_return_for_writer(suggest, method); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#105 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:105 def sig_checker; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#180 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:180 def signature_style; end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#164 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:164 def writer_or_accessor?(method); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#209 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:209 class RuboCop::Cop::Sorbet::EnforceSignatures::RBSSignatureChecker < ::RuboCop::Cop::Sorbet::EnforceSignatures::SignatureChecker - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#212 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:212 def signature_node(node); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#225 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:225 def find_non_send_ancestor(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#210 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:210 RuboCop::Cop::Sorbet::EnforceSignatures::RBSSignatureChecker::RBS_COMMENT_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#285 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:285 class RuboCop::Cop::Sorbet::EnforceSignatures::RBSSuggestion # @return [RBSSuggestion] a new instance of RBSSuggestion # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#288 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:288 def initialize(indent); end # Returns the value of attribute has_block. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#286 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:286 def has_block; end # Sets the attribute has_block # # @param value the value to set the attribute has_block to. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#286 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:286 def has_block=(_arg0); end # Returns the value of attribute params. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#286 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:286 def params; end # Sets the attribute params # # @param value the value to set the attribute params to. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#286 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:286 def params=(_arg0); end # Returns the value of attribute returns. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#286 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:286 def returns; end # Sets the attribute returns # # @param value the value to set the attribute returns to. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#286 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:286 def returns=(_arg0); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#295 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:295 def to_autocorrect; end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#301 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:301 def generate_signature; end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#231 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:231 class RuboCop::Cop::Sorbet::EnforceSignatures::SigSignatureChecker < ::RuboCop::Cop::Sorbet::EnforceSignatures::SignatureChecker # @return [SigSignatureChecker] a new instance of SigSignatureChecker # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#232 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:232 def initialize(processed_source); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#245 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:245 def clear_signature(scope); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#241 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:241 def on_signature(node, scope); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#237 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:237 def signature_node(scope); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#250 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:250 class RuboCop::Cop::Sorbet::EnforceSignatures::SigSuggestion # @return [SigSuggestion] a new instance of SigSuggestion # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#253 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:253 def initialize(indent, param_placeholder, return_placeholder); end # Returns the value of attribute params. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#251 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:251 def params; end # Sets the attribute params # # @param value the value to set the attribute params to. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#251 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:251 def params=(_arg0); end # Returns the value of attribute returns. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#251 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:251 def returns; end # Sets the attribute returns # # @param value the value to set the attribute returns to. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#251 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:251 def returns=(_arg0); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#261 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:261 def to_autocorrect; end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#267 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:267 def generate_params; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#274 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:274 def generate_return; end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#195 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:195 class RuboCop::Cop::Sorbet::EnforceSignatures::SignatureChecker # @return [SignatureChecker] a new instance of SignatureChecker # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#196 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:196 def initialize(processed_source); end protected - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#204 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:204 def preceding_comments(node); end # Returns the value of attribute processed_source. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#202 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:202 def processed_source; end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb#30 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/enforce_signatures.rb:30 RuboCop::Cop::Sorbet::EnforceSignatures::VALID_STYLES = T.let(T.unsafe(nil), Array) # Checks that there is only one Sorbet sigil in a given file @@ -807,27 +807,27 @@ RuboCop::Cop::Sorbet::EnforceSignatures::VALID_STYLES = T.let(T.unsafe(nil), Arr # # Other comments or magic comments are left in place. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb:26 class RuboCop::Cop::Sorbet::EnforceSingleSigil < ::RuboCop::Cop::Sorbet::ValidSigil include ::RuboCop::Cop::RangeHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb#29 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb:29 def on_new_investigation; end protected - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb#50 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb:50 def autocorrect(corrector); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb#44 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/enforce_single_sigil.rb:44 def extract_all_sigils(processed_source); end end # Makes the Sorbet `false` sigil mandatory in all files. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/false_sigil.rb#10 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/false_sigil.rb:10 class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/false_sigil.rb#11 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/false_sigil.rb:11 def minimum_strictness; end end @@ -850,21 +850,21 @@ end # end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#24 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb:24 class RuboCop::Cop::Sorbet::ForbidComparableTEnum < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::TEnum - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#32 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb:32 def mix_in_comparable?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#36 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb:36 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#27 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb:27 RuboCop::Cop::Sorbet::ForbidComparableTEnum::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb#29 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/forbid_comparable_t_enum.rb:29 RuboCop::Cop::Sorbet::ForbidComparableTEnum::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Ensures RBI shims do not include a call to extend T::Sig @@ -887,22 +887,22 @@ RuboCop::Cop::Sorbet::ForbidComparableTEnum::RESTRICT_ON_SEND = T.let(T.unsafe(n # def foo; end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb#25 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb:25 class RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb#33 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb:33 def extend_t_sig_or_helpers?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb#37 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb:37 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb#29 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb:29 RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb#30 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_extend_t_sig_helpers_in_shims.rb:30 RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Correct `send` expressions in include statements by constant literals. @@ -926,35 +926,35 @@ RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T # include Polaris::Engine.helpers # ``` # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#29 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:29 class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#36 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:36 def dynamic_inclusion?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#40 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:40 def on_send(node); end private # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#52 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:52 def neither_const_nor_self?(node); end # Returns true if the node is within a module declaration that is not anonymous. # # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#57 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:57 def within_onymous_module?(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#32 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:32 RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_include_const_literal.rb#33 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_include_const_literal.rb:33 RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check that code does not call `mixes_in_class_methods` from Sorbet `T::Helpers`. @@ -985,22 +985,22 @@ RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::RESTRICT_ON_SEND = T.let(T.unsa # end # ``` # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb#33 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb:33 class RuboCop::Cop::Sorbet::ForbidMixesInClassMethods < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb#38 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb:38 def mixes_in_class_methods?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb#45 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb:45 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb#42 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb:42 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb#34 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb:34 RuboCop::Cop::Sorbet::ForbidMixesInClassMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb#35 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_mixes_in_class_methods.rb:35 RuboCop::Cop::Sorbet::ForbidMixesInClassMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Makes sure that RBI files are always located under the defined allowed paths. @@ -1019,16 +1019,16 @@ RuboCop::Cop::Sorbet::ForbidMixesInClassMethods::RESTRICT_ON_SEND = T.let(T.unsa # # sorbet/rbi/some_file.rbi # # sorbet/rbi/any/path/for/file.rbi # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_rbi_outside_of_allowed_paths.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_rbi_outside_of_allowed_paths.rb:23 class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_rbi_outside_of_allowed_paths.rb#26 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_rbi_outside_of_allowed_paths.rb:26 def on_new_investigation; end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/forbid_rbi_outside_of_allowed_paths.rb#48 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/forbid_rbi_outside_of_allowed_paths.rb:48 def allowed_paths; end end @@ -1048,15 +1048,15 @@ end # def foo; end # ``` # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig.rb:23 class RuboCop::Cop::Sorbet::ForbidSig < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig.rb#28 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig.rb:28 def on_signature(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig.rb:26 RuboCop::Cop::Sorbet::ForbidSig::MSG = T.let(T.unsafe(nil), String) # Check that definitions do not use a `sig` block. @@ -1075,15 +1075,15 @@ RuboCop::Cop::Sorbet::ForbidSig::MSG = T.let(T.unsafe(nil), String) # def foo; end # ``` # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig_with_runtime.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig_with_runtime.rb:23 class RuboCop::Cop::Sorbet::ForbidSigWithRuntime < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig_with_runtime.rb#28 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig_with_runtime.rb:28 def on_signature(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig_with_runtime.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig_with_runtime.rb:26 RuboCop::Cop::Sorbet::ForbidSigWithRuntime::MSG = T.let(T.unsafe(nil), String) # Check that `sig` is used instead of `T::Sig::WithoutRuntime.sig`. @@ -1102,16 +1102,16 @@ RuboCop::Cop::Sorbet::ForbidSigWithRuntime::MSG = T.let(T.unsafe(nil), String) # def foo; end # ``` # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig_without_runtime.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig_without_runtime.rb:23 class RuboCop::Cop::Sorbet::ForbidSigWithoutRuntime < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig_without_runtime.rb#29 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig_without_runtime.rb:29 def on_signature(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/forbid_sig_without_runtime.rb#27 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/forbid_sig_without_runtime.rb:27 RuboCop::Cop::Sorbet::ForbidSigWithoutRuntime::MSG = T.let(T.unsafe(nil), String) # Correct superclass `send` expressions by constant literals. @@ -1133,16 +1133,16 @@ RuboCop::Cop::Sorbet::ForbidSigWithoutRuntime::MSG = T.let(T.unsafe(nil), String # class ApiClientEligibility < Struct.new(:api_client, :match_results, :shop) # ``` # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb#28 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb:28 class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb#32 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb:32 def dynamic_superclass?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb#36 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb:36 def on_class(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb#29 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_superclass_const_literal.rb:29 RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral::MSG = T.let(T.unsafe(nil), String) # Disallows using `T.absurd` anywhere. @@ -1155,22 +1155,22 @@ RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral::MSG = T.let(T.unsafe(nil), S # # good # x #: absurd # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_absurd.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_absurd.rb:17 class RuboCop::Cop::Sorbet::ForbidTAbsurd < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_absurd.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_absurd.rb:27 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_absurd.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_absurd.rb:24 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_absurd.rb#22 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_absurd.rb:22 def t_absurd?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_absurd.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_absurd.rb:18 RuboCop::Cop::Sorbet::ForbidTAbsurd::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_absurd.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_absurd.rb:19 RuboCop::Cop::Sorbet::ForbidTAbsurd::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Detect and autocorrect `T.any(..., NilClass, ...)` to `T.nilable(...)` @@ -1187,32 +1187,32 @@ RuboCop::Cop::Sorbet::ForbidTAbsurd::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # T.nilable(String) # T.nilable(T.any(Symbol, String)) # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:19 class RuboCop::Cop::Sorbet::ForbidTAnyWithNil < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#31 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:31 def nil_const_node?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#48 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:48 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:35 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#26 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:26 def t_any_call?(param0 = T.unsafe(nil)); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#52 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:52 def build_replacement(non_nil_args); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#22 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:22 RuboCop::Cop::Sorbet::ForbidTAnyWithNil::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_any_with_nil.rb:23 RuboCop::Cop::Sorbet::ForbidTAnyWithNil::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows using `T.bind` anywhere. @@ -1225,22 +1225,22 @@ RuboCop::Cop::Sorbet::ForbidTAnyWithNil::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # # good # #: self as Integer # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_bind.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_bind.rb:17 class RuboCop::Cop::Sorbet::ForbidTBind < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_bind.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_bind.rb:27 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_bind.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_bind.rb:24 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_bind.rb#22 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_bind.rb:22 def t_bind?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_bind.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_bind.rb:18 RuboCop::Cop::Sorbet::ForbidTBind::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_bind.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_bind.rb:19 RuboCop::Cop::Sorbet::ForbidTBind::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows using `T.cast` anywhere. @@ -1253,22 +1253,22 @@ RuboCop::Cop::Sorbet::ForbidTBind::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # good # foo #: as Integer # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_cast.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_cast.rb:17 class RuboCop::Cop::Sorbet::ForbidTCast < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_cast.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_cast.rb:27 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_cast.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_cast.rb:24 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_cast.rb#22 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_cast.rb:22 def t_cast?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_cast.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_cast.rb:18 RuboCop::Cop::Sorbet::ForbidTCast::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_cast.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_cast.rb:19 RuboCop::Cop::Sorbet::ForbidTCast::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallow using `T::Enum`. @@ -1290,16 +1290,16 @@ RuboCop::Cop::Sorbet::ForbidTCast::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # C = "c" # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_enum.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_enum.rb:26 class RuboCop::Cop::Sorbet::ForbidTEnum < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_enum.rb#34 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_enum.rb:34 def on_class(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_enum.rb#30 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_enum.rb:30 def t_enum?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_enum.rb#27 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_enum.rb:27 RuboCop::Cop::Sorbet::ForbidTEnum::MSG = T.let(T.unsafe(nil), String) # Forbids `extend T::Helpers` and `include T::Helpers` in classes and modules. @@ -1323,22 +1323,22 @@ RuboCop::Cop::Sorbet::ForbidTEnum::MSG = T.let(T.unsafe(nil), String) # class Example # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_helpers.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_helpers.rb:26 class RuboCop::Cop::Sorbet::ForbidTHelpers < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_helpers.rb#40 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_helpers.rb:40 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_helpers.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_helpers.rb:35 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_helpers.rb#31 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_helpers.rb:31 def t_helpers?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_helpers.rb#27 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_helpers.rb:27 RuboCop::Cop::Sorbet::ForbidTHelpers::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_helpers.rb#28 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_helpers.rb:28 RuboCop::Cop::Sorbet::ForbidTHelpers::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows using `T.let` anywhere. @@ -1351,22 +1351,22 @@ RuboCop::Cop::Sorbet::ForbidTHelpers::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # # good # foo #: Integer # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_let.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_let.rb:17 class RuboCop::Cop::Sorbet::ForbidTLet < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_let.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_let.rb:27 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_let.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_let.rb:24 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_let.rb#22 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_let.rb:22 def t_let?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_let.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_let.rb:18 RuboCop::Cop::Sorbet::ForbidTLet::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_let.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_let.rb:19 RuboCop::Cop::Sorbet::ForbidTLet::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows using `T.must` anywhere. @@ -1379,22 +1379,22 @@ RuboCop::Cop::Sorbet::ForbidTLet::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # foo #: as !nil # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_must.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_must.rb:17 class RuboCop::Cop::Sorbet::ForbidTMust < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_must.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_must.rb:27 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_must.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_must.rb:24 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_must.rb#22 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_must.rb:22 def t_must?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_must.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_must.rb:18 RuboCop::Cop::Sorbet::ForbidTMust::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_must.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_must.rb:19 RuboCop::Cop::Sorbet::ForbidTMust::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Forbids `extend T::Sig` and `include T::Sig` in classes and modules. @@ -1418,22 +1418,22 @@ RuboCop::Cop::Sorbet::ForbidTMust::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # class Example # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_sig.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_sig.rb:26 class RuboCop::Cop::Sorbet::ForbidTSig < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_sig.rb#40 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_sig.rb:40 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_sig.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_sig.rb:35 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_sig.rb#31 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_sig.rb:31 def t_sig?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_sig.rb#27 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_sig.rb:27 RuboCop::Cop::Sorbet::ForbidTSig::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_sig.rb#28 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_sig.rb:28 RuboCop::Cop::Sorbet::ForbidTSig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallow using `T::Struct` and `T::Props`. @@ -1467,131 +1467,131 @@ RuboCop::Cop::Sorbet::ForbidTSig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # def some_method; end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#38 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:38 class RuboCop::Cop::Sorbet::ForbidTStruct < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::CommentsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#169 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:169 def on_class(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#210 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:210 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#167 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:167 def t_props?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#162 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:162 def t_struct?(param0 = T.unsafe(nil)); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#218 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:218 def initialize_method(indent, props); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#258 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:258 def previous_line_blank?(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#47 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:47 RuboCop::Cop::Sorbet::ForbidTStruct::MSG_PROPS = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#46 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:46 RuboCop::Cop::Sorbet::ForbidTStruct::MSG_STRUCT = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#104 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:104 class RuboCop::Cop::Sorbet::ForbidTStruct::Property # @return [Property] a new instance of Property # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#107 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:107 def initialize(node, kind, name, type, default:, factory:); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#123 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:123 def attr_accessor; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#119 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:119 def attr_sig; end # Returns the value of attribute default. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:105 def default; end # Returns the value of attribute factory. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:105 def factory; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#144 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:144 def initialize_assign; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#131 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:131 def initialize_param; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#127 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:127 def initialize_sig_param; end # Returns the value of attribute kind. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:105 def kind; end # Returns the value of attribute name. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:105 def name; end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#151 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:151 def nilable?; end # Returns the value of attribute node. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#105 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:105 def node; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#155 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:155 def type; end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#44 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:44 RuboCop::Cop::Sorbet::ForbidTStruct::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # This class walks down the class body of a T::Struct and collects all the properties that will need to be # translated into `attr_reader` and `attr_accessor` methods. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#51 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:51 class RuboCop::Cop::Sorbet::ForbidTStruct::TStructWalker include ::RuboCop::AST::Traversal extend ::RuboCop::AST::NodePattern::Macros # @return [TStructWalker] a new instance of TStructWalker # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#57 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:57 def initialize; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#63 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:63 def extend_t_sig?(param0 = T.unsafe(nil)); end # Returns the value of attribute has_extend_t_sig. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#55 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:55 def has_extend_t_sig; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#72 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:72 def on_send(node); end # Returns the value of attribute props. # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#55 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:55 def props; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_struct.rb#68 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_struct.rb:68 def t_struct_prop?(param0 = T.unsafe(nil)); end end @@ -1605,19 +1605,19 @@ end # # good # #: type string_or_integer = Integer | String # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_type_alias.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_type_alias.rb:17 class RuboCop::Cop::Sorbet::ForbidTTypeAlias < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_type_alias.rb#23 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_type_alias.rb:23 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_type_alias.rb#26 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_type_alias.rb:26 def on_numblock(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_type_alias.rb#21 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_type_alias.rb:21 def t_type_alias?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_type_alias.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_type_alias.rb:18 RuboCop::Cop::Sorbet::ForbidTTypeAlias::MSG = T.let(T.unsafe(nil), String) # Disallows using `T.unsafe` anywhere. @@ -1630,22 +1630,22 @@ RuboCop::Cop::Sorbet::ForbidTTypeAlias::MSG = T.let(T.unsafe(nil), String) # # good # foo # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_unsafe.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_unsafe.rb:17 class RuboCop::Cop::Sorbet::ForbidTUnsafe < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_unsafe.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_unsafe.rb:27 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_unsafe.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_unsafe.rb:24 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_unsafe.rb#22 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_unsafe.rb:22 def t_unsafe?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_unsafe.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_unsafe.rb:18 RuboCop::Cop::Sorbet::ForbidTUnsafe::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_unsafe.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_unsafe.rb:19 RuboCop::Cop::Sorbet::ForbidTUnsafe::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows using `T.untyped` anywhere. @@ -1660,19 +1660,19 @@ RuboCop::Cop::Sorbet::ForbidTUnsafe::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # sig { params(my_argument: String).void } # def foo(my_argument); end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_untyped.rb#20 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_untyped.rb:20 class RuboCop::Cop::Sorbet::ForbidTUntyped < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_untyped.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_untyped.rb:27 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_untyped.rb#25 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_untyped.rb:25 def t_untyped?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_untyped.rb#21 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_untyped.rb:21 RuboCop::Cop::Sorbet::ForbidTUntyped::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_t_untyped.rb#22 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_t_untyped.rb:22 RuboCop::Cop::Sorbet::ForbidTUntyped::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Disallows defining type aliases that contain shapes @@ -1692,19 +1692,19 @@ RuboCop::Cop::Sorbet::ForbidTUntyped::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#24 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb:24 class RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#36 + # pkg:gem/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#40 + # pkg:gem/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 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb:28 def shape_type_alias?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb#25 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_type_aliased_shapes.rb:25 RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes::MSG = T.let(T.unsafe(nil), String) # Disallows use of `T.untyped` or `T.nilable(T.untyped)` @@ -1724,49 +1724,49 @@ RuboCop::Cop::Sorbet::ForbidTypeAliasedShapes::MSG = T.let(T.unsafe(nil), String # prop :bar, T.nilable(String) # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#25 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:25 class RuboCop::Cop::Sorbet::ForbidUntypedStructProps < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#54 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:54 def on_class(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#44 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:44 def subclass_of_t_struct?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#39 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:39 def t_nilable_untyped(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#29 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:29 def t_struct(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#34 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:34 def t_untyped(param0 = T.unsafe(nil)); end # Search for untyped prop/const declarations and capture their types # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#50 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:50 def untyped_props(param0); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb#26 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/forbid_untyped_struct_props.rb:26 RuboCop::Cop::Sorbet::ForbidUntypedStructProps::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb#6 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb:6 module RuboCop::Cop::Sorbet::GemVersionAnnotationHelper - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb#9 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb:9 def gem_version_annotations; end private # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb#17 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb:17 def gem_version_annotation?(comment); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb#21 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb:21 def gem_versions(comment); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb#7 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/gem_version_annotation_helper.rb:7 RuboCop::Cop::Sorbet::GemVersionAnnotationHelper::VERSION_PREFIX = T.let(T.unsafe(nil), String) # Makes the Sorbet typed sigil mandatory in all files. @@ -1779,19 +1779,19 @@ RuboCop::Cop::Sorbet::GemVersionAnnotationHelper::VERSION_PREFIX = T.let(T.unsaf # If a `SuggestedStrictness` level is specified, it will be used in autocorrect. # If a `MinimumStrictness` level is specified, it will be used in offense messages and autocorrect. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/has_sigil.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/has_sigil.rb:18 class RuboCop::Cop::Sorbet::HasSigil < ::RuboCop::Cop::Sorbet::ValidSigil # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/has_sigil.rb#19 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/has_sigil.rb:19 def require_sigil_on_all_files?; end end # Makes the Sorbet `ignore` sigil mandatory in all files. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb#10 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb:10 class RuboCop::Cop::Sorbet::IgnoreSigil < ::RuboCop::Cop::Sorbet::HasSigil - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb#11 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/ignore_sigil.rb:11 def minimum_strictness; end end @@ -1818,28 +1818,28 @@ end # @note Since the arity of aliased methods is not checked, false positives may result. # @see https://docs.ruby-lang.org/en/master/implicit_conversion_rdoc.html # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#31 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/implicit_conversion_method.rb:31 class RuboCop::Cop::Sorbet::ImplicitConversionMethod < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#37 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/implicit_conversion_method.rb:37 def on_alias(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#42 + # pkg:gem/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#48 + # pkg:gem/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 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/implicit_conversion_method.rb:50 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#32 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/implicit_conversion_method.rb:32 RuboCop::Cop::Sorbet::ImplicitConversionMethod::IMPLICIT_CONVERSION_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#33 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/implicit_conversion_method.rb:33 RuboCop::Cop::Sorbet::ImplicitConversionMethod::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/implicit_conversion_method.rb#35 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/implicit_conversion_method.rb:35 RuboCop::Cop::Sorbet::ImplicitConversionMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the ordering of keyword arguments required by @@ -1857,16 +1857,16 @@ RuboCop::Cop::Sorbet::ImplicitConversionMethod::RESTRICT_ON_SEND = T.let(T.unsaf # sig { params(b: String, a: Integer).void } # def foo(b:, a: 1); end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#20 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb:20 class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#23 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb:23 def on_signature(node); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb#34 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/keyword_argument_ordering.rb:34 def check_order_for_kwoptargs(parameters); end end @@ -1889,30 +1889,30 @@ end # end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#24 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb:24 class RuboCop::Cop::Sorbet::MultipleTEnumValues < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::TEnum - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#30 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb:30 def enums_block?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#40 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb:40 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#34 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb:34 def on_class(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb#27 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/t_enum/multiple_t_enum_values.rb:27 RuboCop::Cop::Sorbet::MultipleTEnumValues::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#8 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb:8 module RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb:18 def on_assignment(value); end class << self - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#10 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb:10 def prepended(base); end end end @@ -1945,7 +1945,7 @@ end # @foo ||= T.let(Foo.new, T.nilable(Foo)) # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb#37 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb:37 class RuboCop::Cop::Sorbet::ObsoleteStrictMemoization < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::MatchRange @@ -1955,19 +1955,19 @@ class RuboCop::Cop::Sorbet::ObsoleteStrictMemoization < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb#51 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb:51 def legacy_memoization_pattern?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb#62 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb:62 def on_begin(node); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb#86 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb:86 def relevant_file?(file); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb#47 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/obsolete_strict_memoization.rb:47 RuboCop::Cop::Sorbet::ObsoleteStrictMemoization::MSG = T.let(T.unsafe(nil), String) # Forbids the use of redundant `extend T::Sig`. Only for use in @@ -1988,22 +1988,22 @@ RuboCop::Cop::Sorbet::ObsoleteStrictMemoization::MSG = T.let(T.unsafe(nil), Stri # def no_op; end # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb#28 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb:28 class RuboCop::Cop::Sorbet::RedundantExtendTSig < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb#36 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb:36 def extend_t_sig?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb#40 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb:40 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb#32 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb:32 RuboCop::Cop::Sorbet::RedundantExtendTSig::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb#33 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/redundant_extend_t_sig.rb:33 RuboCop::Cop::Sorbet::RedundantExtendTSig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of Ruby Refinements library. Refinements add @@ -2034,16 +2034,16 @@ RuboCop::Cop::Sorbet::RedundantExtendTSig::RESTRICT_ON_SEND = T.let(T.unsafe(nil # bar.using(Date) # end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/refinement.rb#34 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/refinement.rb:34 class RuboCop::Cop::Sorbet::Refinement < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/refinement.rb#38 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/refinement.rb:38 def on_send(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/refinement.rb#35 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/refinement.rb:35 RuboCop::Cop::Sorbet::Refinement::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/refinement.rb#36 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/refinement.rb:36 RuboCop::Cop::Sorbet::Refinement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Suggests using `grep` over `select` when using it only for type narrowing. @@ -2058,24 +2058,24 @@ RuboCop::Cop::Sorbet::Refinement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # # good # strings_or_integers.grep(String) # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/select_by_is_a.rb#19 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/select_by_is_a.rb:19 class RuboCop::Cop::Sorbet::SelectByIsA < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/select_by_is_a.rb#58 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/select_by_is_a.rb:58 def on_csend(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/select_by_is_a.rb#43 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/select_by_is_a.rb:43 def on_send(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/select_by_is_a.rb#26 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/select_by_is_a.rb:26 def type_narrowing_select?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/select_by_is_a.rb#22 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/select_by_is_a.rb:22 RuboCop::Cop::Sorbet::SelectByIsA::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/select_by_is_a.rb#23 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/select_by_is_a.rb:23 RuboCop::Cop::Sorbet::SelectByIsA::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the correct order of `sig` builder methods. @@ -2097,56 +2097,56 @@ RuboCop::Cop::Sorbet::SelectByIsA::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # # good # sig { params(x: Integer).returns(Integer) } # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#24 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/signature_build_order.rb:24 class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#33 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/signature_build_order.rb:33 def on_signature(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#29 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/signature_build_order.rb:29 def root_call(param0); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#96 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/signature_build_order.rb:96 def builder_method_indexes; end # Split foo.bar.baz into [foo, foo.bar, foo.bar.baz] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#83 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/signature_build_order.rb:83 def call_chain(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/signature_build_order.rb#70 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/signature_build_order.rb:70 def expected_source(expected_calls_and_indexes); end end # Mixin for writing cops for signatures, providing a `signature?` node matcher and an `on_signature` trigger. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#7 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:7 module RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#16 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:16 def bare_sig?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#42 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:42 def on_block(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#46 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:46 def on_numblock(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#48 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:48 def on_signature(_node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#25 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:25 def sig_with_runtime?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#34 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:34 def sig_without_runtime?(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/signature_help.rb#11 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/signature_help.rb:11 def signature?(param0 = T.unsafe(nil)); end end @@ -2162,23 +2162,23 @@ end # # good # module SomeModule; end # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb:17 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#30 + # pkg:gem/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 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb:22 def on_module(node); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#34 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb:34 def convert_newlines_to_semicolons(source); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb#20 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi/single_line_rbi_class_module_definitions.rb:20 RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions::MSG = T.let(T.unsafe(nil), String) # Makes the Sorbet `strict` sigil mandatory in all files. @@ -2194,92 +2194,92 @@ RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions::MSG = T.let(T.unsafe( # # good # # typed: strict # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/strict_sigil.rb#25 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/strict_sigil.rb:25 class RuboCop::Cop::Sorbet::StrictSigil < ::RuboCop::Cop::Sorbet::HasSigil - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/strict_sigil.rb#26 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/strict_sigil.rb:26 def minimum_strictness; end end # Makes the Sorbet `strong` sigil mandatory in all files. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/strong_sigil.rb#10 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/strong_sigil.rb:10 class RuboCop::Cop::Sorbet::StrongSigil < ::RuboCop::Cop::Sorbet::HasSigil - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/strong_sigil.rb#11 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/strong_sigil.rb:11 def minimum_strictness; end end # Mixing for writing cops that deal with `T::Enum`s # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#7 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/t_enum.rb:7 module RuboCop::Cop::Sorbet::TEnum extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#9 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/t_enum.rb:9 def initialize(*_arg0); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#23 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/t_enum.rb:23 def after_class(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#19 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/t_enum.rb:19 def on_class(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#15 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/t_enum.rb:15 def t_enum?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/t_enum.rb#29 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/t_enum.rb:29 def in_t_enum_class?; end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#6 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:6 module RuboCop::Cop::Sorbet::TargetSorbetVersion mixes_in_class_methods ::RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#28 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:28 def enabled_for_sorbet_static_version?; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#44 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:44 def read_sorbet_static_version_from_bundler_lock_file; end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:24 def sorbet_enabled?; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#35 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:35 def target_sorbet_static_version_from_bundler_lock_file; end class << self # @private # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#8 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:8 def included(target); end end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#13 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:13 module RuboCop::Cop::Sorbet::TargetSorbetVersion::ClassMethods # Sets the version of the Sorbet static type checker required by this cop # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#15 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:15 def minimum_target_sorbet_static_version(version); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb#19 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/mixin/target_sorbet_version.rb:19 def supports_target_sorbet_static_version?(version); end end # Makes the Sorbet `true` sigil mandatory in all files. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/true_sigil.rb#10 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/true_sigil.rb:10 class RuboCop::Cop::Sorbet::TrueSigil < ::RuboCop::Cop::Sorbet::HasSigil - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/true_sigil.rb#11 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/true_sigil.rb:11 def minimum_strictness; end end @@ -2293,16 +2293,16 @@ end # # good # FooOrBar = T.type_alias { T.any(Foo, Bar) } # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/type_alias_name.rb#17 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/type_alias_name.rb:17 class RuboCop::Cop::Sorbet::TypeAliasName < ::RuboCop::Cop::Base - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/type_alias_name.rb#32 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/type_alias_name.rb:32 def on_casgn(node); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/type_alias_name.rb#21 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/type_alias_name.rb:21 def underscored_type_alias?(param0 = T.unsafe(nil)); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/type_alias_name.rb#18 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/type_alias_name.rb:18 RuboCop::Cop::Sorbet::TypeAliasName::MSG = T.let(T.unsafe(nil), String) # Checks that gem versions in RBI annotations are properly formatted per the Bundler gem specification. @@ -2320,25 +2320,25 @@ RuboCop::Cop::Sorbet::TypeAliasName::MSG = T.let(T.unsafe(nil), String) # # good # # @version <= 4.3-preview # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb#21 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb:21 class RuboCop::Cop::Sorbet::ValidGemVersionAnnotations < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::GemVersionAnnotationHelper - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb#27 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb:27 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb#50 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb:50 def valid_version?(version_string); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb#24 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb:24 RuboCop::Cop::Sorbet::ValidGemVersionAnnotations::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb#25 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/rbi_versioning/valid_gem_version_annotations.rb:25 RuboCop::Cop::Sorbet::ValidGemVersionAnnotations::VALID_OPERATORS = T.let(T.unsafe(nil), Array) # Checks that every Ruby file contains a valid Sorbet sigil. @@ -2355,76 +2355,76 @@ RuboCop::Cop::Sorbet::ValidGemVersionAnnotations::VALID_OPERATORS = T.let(T.unsa # If a `SuggestedStrictness` level is specified, it will be used in autocorrect. # Otherwise, if a `MinimumStrictness` level is specified, it will be used in offense messages and autocorrect. # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#21 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:21 class RuboCop::Cop::Sorbet::ValidSigil < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:24 def on_new_investigation; end protected - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#169 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:169 def autocorrect(corrector); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#110 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:110 def check_double_commented_sigil(sigil, strictness); end # checks # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#59 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:59 def check_sigil_present(sigil); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#137 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:137 def check_strictness_level(sigil, strictness); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#98 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:98 def check_strictness_not_empty(sigil, strictness); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#125 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:125 def check_strictness_valid(sigil, strictness); end # Default is `nil` # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#203 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:203 def exact_strictness; end # extraction # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#47 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:47 def extract_sigil(processed_source); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#53 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:53 def extract_strictness(sigil); end # Default is `nil` # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#197 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:197 def minimum_strictness; end # Default is `false` # # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#186 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:186 def require_sigil_on_all_files?; end # Default is `'false'` # - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#191 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:191 def suggested_strictness; end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#76 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:76 def suggested_strictness_level; end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#43 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:43 RuboCop::Cop::Sorbet::ValidSigil::INVALID_SIGIL_MSG = T.let(T.unsafe(nil), String) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#42 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:42 RuboCop::Cop::Sorbet::ValidSigil::SIGIL_REGEX = T.let(T.unsafe(nil), Regexp) -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/sigils/valid_sigil.rb#41 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/sigils/valid_sigil.rb:41 RuboCop::Cop::Sorbet::ValidSigil::STRICTNESS_LEVELS = T.let(T.unsafe(nil), Array) # Disallows the usage of `.void.checked(:tests)`. @@ -2453,25 +2453,25 @@ RuboCop::Cop::Sorbet::ValidSigil::STRICTNESS_LEVELS = T.let(T.unsafe(nil), Array # sig { returns(T.anything).checked(:tests) } # sig { void.checked(:never) } # -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#31 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb:31 class RuboCop::Cop::Sorbet::VoidCheckedTests < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::Sorbet::SignatureHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#37 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb:37 def checked_tests(param0); end - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#58 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb:58 def on_signature(node); end private - # source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#48 + # pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb:48 def top_level_void(node); end end -# source://rubocop-sorbet//lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb#41 +# pkg:gem/rubocop-sorbet#lib/rubocop/cop/sorbet/signatures/void_checked_tests.rb:41 RuboCop::Cop::Sorbet::VoidCheckedTests::MESSAGE = T.let(T.unsafe(nil), String) module RuboCop::Cop::Style; end @@ -2480,27 +2480,27 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base include ::RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour end -# source://rubocop-sorbet//lib/rubocop/sorbet/version.rb#4 +# pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/version.rb:4 module RuboCop::Sorbet; end -# source://rubocop-sorbet//lib/rubocop/sorbet.rb#11 +# pkg:gem/rubocop-sorbet#lib/rubocop/sorbet.rb:11 class RuboCop::Sorbet::Error < ::StandardError; end # A plugin that integrates RuboCop Sorbet with RuboCop's plugin system. # -# source://rubocop-sorbet//lib/rubocop/sorbet/plugin.rb#10 +# pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/plugin.rb:10 class RuboCop::Sorbet::Plugin < ::LintRoller::Plugin - # source://rubocop-sorbet//lib/rubocop/sorbet/plugin.rb#11 + # pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/plugin.rb:11 def about; end - # source://rubocop-sorbet//lib/rubocop/sorbet/plugin.rb#24 + # pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/plugin.rb:24 def rules(_context); end # @return [Boolean] # - # source://rubocop-sorbet//lib/rubocop/sorbet/plugin.rb#20 + # pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/plugin.rb:20 def supported?(context); end end -# source://rubocop-sorbet//lib/rubocop/sorbet/version.rb#5 +# pkg:gem/rubocop-sorbet#lib/rubocop/sorbet/version.rb:5 RuboCop::Sorbet::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/rubocop@1.81.7.rbi b/sorbet/rbi/gems/rubocop@1.81.7.rbi index 120b1a168..a51d3885d 100644 --- a/sorbet/rbi/gems/rubocop@1.81.7.rbi +++ b/sorbet/rbi/gems/rubocop@1.81.7.rbi @@ -25,9 +25,10 @@ class Regexp::Expression::Quantifier include ::RuboCop::Ext::RegexpParser::Expression::Base end -# source://rubocop//lib/rubocop/version.rb#3 +# pkg:gem/rubocop#lib/rubocop/version.rb:3 module RuboCop; end +# pkg:gem/rubocop#lib/rubocop/ast_aliases.rb:6 class RuboCop::AST::ProcessedSource include ::RuboCop::Ext::ProcessedSource end @@ -40,12 +41,12 @@ end # # @api private # -# source://rubocop//lib/rubocop/arguments_env.rb#6 +# pkg:gem/rubocop#lib/rubocop/arguments_env.rb:6 class RuboCop::ArgumentsEnv class << self # @api private # - # source://rubocop//lib/rubocop/arguments_env.rb#7 + # pkg:gem/rubocop#lib/rubocop/arguments_env.rb:7 def read_as_arguments; end end end @@ -54,12 +55,12 @@ end # # @api private # -# source://rubocop//lib/rubocop/arguments_file.rb#6 +# pkg:gem/rubocop#lib/rubocop/arguments_file.rb:6 class RuboCop::ArgumentsFile class << self # @api private # - # source://rubocop//lib/rubocop/arguments_file.rb#7 + # pkg:gem/rubocop#lib/rubocop/arguments_file.rb:7 def read_as_arguments; end end end @@ -67,21 +68,21 @@ end # The CLI is a class responsible of handling all the command line interface # logic. # -# source://rubocop//lib/rubocop/cli.rb#8 +# pkg:gem/rubocop#lib/rubocop/cli.rb:8 class RuboCop::CLI # @return [CLI] a new instance of CLI # - # source://rubocop//lib/rubocop/cli.rb#24 + # pkg:gem/rubocop#lib/rubocop/cli.rb:24 def initialize; end # Returns the value of attribute config_store. # - # source://rubocop//lib/rubocop/cli.rb#22 + # pkg:gem/rubocop#lib/rubocop/cli.rb:22 def config_store; end # Returns the value of attribute options. # - # source://rubocop//lib/rubocop/cli.rb#22 + # pkg:gem/rubocop#lib/rubocop/cli.rb:22 def options; end # Entry point for the application logic. Here we @@ -93,55 +94,55 @@ class RuboCop::CLI # @param args [Array] command line arguments # @return [Integer] UNIX exit code # - # source://rubocop//lib/rubocop/cli.rb#39 + # pkg:gem/rubocop#lib/rubocop/cli.rb:39 def run(args = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cli.rb#162 + # pkg:gem/rubocop#lib/rubocop/cli.rb:162 def act_on_options; end - # source://rubocop//lib/rubocop/cli.rb#209 + # pkg:gem/rubocop#lib/rubocop/cli.rb:209 def apply_default_formatter; end - # source://rubocop//lib/rubocop/cli.rb#131 + # pkg:gem/rubocop#lib/rubocop/cli.rb:131 def execute_runners; end - # source://rubocop//lib/rubocop/cli.rb#193 + # pkg:gem/rubocop#lib/rubocop/cli.rb:193 def handle_editor_mode; end # @raise [Finished] # - # source://rubocop//lib/rubocop/cli.rb#198 + # pkg:gem/rubocop#lib/rubocop/cli.rb:198 def handle_exiting_options; end - # source://rubocop//lib/rubocop/cli.rb#150 + # pkg:gem/rubocop#lib/rubocop/cli.rb:150 def parallel_by_default!; end - # source://rubocop//lib/rubocop/cli.rb#86 + # pkg:gem/rubocop#lib/rubocop/cli.rb:86 def profile_if_needed; end - # source://rubocop//lib/rubocop/cli.rb#223 + # pkg:gem/rubocop#lib/rubocop/cli.rb:223 def report_pending_cops; end - # source://rubocop//lib/rubocop/cli.rb#119 + # pkg:gem/rubocop#lib/rubocop/cli.rb:119 def require_gem(name); end - # source://rubocop//lib/rubocop/cli.rb#127 + # pkg:gem/rubocop#lib/rubocop/cli.rb:127 def run_command(name); end - # source://rubocop//lib/rubocop/cli.rb#180 + # pkg:gem/rubocop#lib/rubocop/cli.rb:180 def set_options_to_config_loader; end - # source://rubocop//lib/rubocop/cli.rb#188 + # pkg:gem/rubocop#lib/rubocop/cli.rb:188 def set_options_to_pending_cops_reporter; end - # source://rubocop//lib/rubocop/cli.rb#139 + # pkg:gem/rubocop#lib/rubocop/cli.rb:139 def suggest_extensions; end # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/cli.rb#143 + # pkg:gem/rubocop#lib/rubocop/cli.rb:143 def validate_options_vs_config; end end @@ -149,21 +150,21 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command.rb#7 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command.rb:10 def run(env, name); end private # @api private # - # source://rubocop//lib/rubocop/cli/command.rb#16 + # pkg:gem/rubocop#lib/rubocop/cli/command.rb:16 def class_for(name); end end end @@ -172,81 +173,81 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -255,108 +256,108 @@ class RuboCop::CLI::Command::AutoGenerateConfig < ::RuboCop::CLI::Command::Base # # @api private # - # source://rubocop//lib/rubocop/cli/command/auto_generate_config.rb#80 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/base.rb:26 def initialize(env); end # @api private # - # source://rubocop//lib/rubocop/cli/command/base.rb#9 + # pkg:gem/rubocop#lib/rubocop/cli/command/base.rb:9 def env; end class << self # @api private # - # source://rubocop//lib/rubocop/cli/command/base.rb#21 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/base.rb:14 def command_name; end # @api private # - # source://rubocop//lib/rubocop/cli/command/base.rb#14 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/base.rb:16 def inherited(subclass); end end end @@ -365,50 +366,50 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/execute_runner.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/execute_runner.rb:42 def with_redirect; end end @@ -416,35 +417,35 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/execute_runner.rb#12 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/lsp.rb:11 def run; end end @@ -453,67 +454,67 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/show_cops.rb#9 +# pkg:gem/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#24 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:24 def initialize(env); end # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#39 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:39 def run; end private # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#89 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:89 def config_lines(cop); end # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#85 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:85 def cops_of_department(cops, department); end # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#45 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:45 def print_available_cops; end # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#68 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:68 def print_cop_details(cops); end # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#56 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:56 def print_cops_of_department(registry, department, show_all); end # @api private # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#77 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:77 def selected_cops_of_department(cops, department); end end # @api private # -# source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 +# pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 class RuboCop::CLI::Command::ShowCops::ExactMatcher < ::Struct # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#13 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:13 def match?(name); end # Returns the value of attribute pattern # # @return [Object] the current value of pattern # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def pattern; end # Sets the attribute pattern @@ -521,42 +522,42 @@ class RuboCop::CLI::Command::ShowCops::ExactMatcher < ::Struct # @param value [Object] the value to set the attribute pattern to. # @return [Object] the newly set value # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def pattern=(_); end class << self - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def [](*_arg0); end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def inspect; end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def keyword_init?; end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def members; end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#12 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:12 def new(*_arg0); end end end # @api private # -# source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 +# pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 class RuboCop::CLI::Command::ShowCops::WildcardMatcher < ::Struct # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#19 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:19 def match?(name); end # Returns the value of attribute pattern # # @return [Object] the current value of pattern # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def pattern; end # Sets the attribute pattern @@ -564,23 +565,23 @@ class RuboCop::CLI::Command::ShowCops::WildcardMatcher < ::Struct # @param value [Object] the value to set the attribute pattern to. # @return [Object] the newly set value # - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def pattern=(_); end class << self - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def [](*_arg0); end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def inspect; end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def keyword_init?; end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def members; end - # source://rubocop//lib/rubocop/cli/command/show_cops.rb#18 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_cops.rb:18 def new(*_arg0); end end end @@ -590,34 +591,34 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/show_docs_url.rb#9 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/show_docs_url.rb:42 def registry_hash; end end @@ -628,89 +629,89 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#11 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:69 def current_formatter; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#117 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:117 def dependent_gems; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#87 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:87 def extensions; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#109 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:109 def installed_and_not_loaded_extensions; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#91 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:91 def installed_extensions; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#121 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:121 def installed_gems; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#99 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:99 def loaded_extensions; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#113 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:113 def lockfile; end # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#95 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#125 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:125 def puts(*args); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#30 + # pkg:gem/rubocop#lib/rubocop/cli/command/suggest_extensions.rb:30 def skip?; end end @@ -718,84 +719,84 @@ end # # @api private # -# source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#13 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/command/version.rb:11 def run; end end -# source://rubocop//lib/rubocop/cli.rb#13 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/environment.rb:10 def initialize(options, config_store, paths); end # @api private # - # source://rubocop//lib/rubocop/cli/environment.rb#8 + # pkg:gem/rubocop#lib/rubocop/cli/environment.rb:8 def config_store; end # @api private # - # source://rubocop//lib/rubocop/cli/environment.rb#8 + # pkg:gem/rubocop#lib/rubocop/cli/environment.rb:8 def options; end # @api private # - # source://rubocop//lib/rubocop/cli/environment.rb#8 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cli/environment.rb:17 def run(name); end end -# source://rubocop//lib/rubocop/cli.rb#20 +# pkg:gem/rubocop#lib/rubocop/cli.rb:20 class RuboCop::CLI::Finished < ::StandardError; end -# source://rubocop//lib/rubocop/cli.rb#11 +# pkg:gem/rubocop#lib/rubocop/cli.rb:11 RuboCop::CLI::STATUS_ERROR = T.let(T.unsafe(nil), Integer) -# source://rubocop//lib/rubocop/cli.rb#12 +# pkg:gem/rubocop#lib/rubocop/cli.rb:12 RuboCop::CLI::STATUS_INTERRUPTED = T.let(T.unsafe(nil), Integer) -# source://rubocop//lib/rubocop/cli.rb#10 +# pkg:gem/rubocop#lib/rubocop/cli.rb:10 RuboCop::CLI::STATUS_OFFENSES = T.let(T.unsafe(nil), Integer) -# source://rubocop//lib/rubocop/cli.rb#9 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cache_config.rb:6 class RuboCop::CacheConfig class << self # @api private # - # source://rubocop//lib/rubocop/cache_config.rb#7 + # pkg:gem/rubocop#lib/rubocop/cache_config.rb:7 def root_dir; end end end @@ -804,22 +805,22 @@ end # # @api private # -# source://rubocop//lib/rubocop/cached_data.rb#8 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cached_data.rb:9 def initialize(filename); end # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#13 + # pkg:gem/rubocop#lib/rubocop/cached_data.rb:13 def from_json(text); end # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#17 + # pkg:gem/rubocop#lib/rubocop/cached_data.rb:17 def to_json(offenses); end private @@ -828,22 +829,22 @@ class RuboCop::CachedData # # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#47 + # pkg:gem/rubocop#lib/rubocop/cached_data.rb:47 def deserialize_offenses(offenses); end # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#54 + # pkg:gem/rubocop#lib/rubocop/cached_data.rb:54 def location_from_source_buffer(offense); end # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#40 + # pkg:gem/rubocop#lib/rubocop/cached_data.rb:40 def message(offense); end # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#23 + # pkg:gem/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 @@ -852,139 +853,139 @@ class RuboCop::CachedData # # @api private # - # source://rubocop//lib/rubocop/cached_data.rb#67 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:34 def initialize(processed_source); end # @return [Boolean] # - # source://rubocop//lib/rubocop/comment_config.rb#63 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:63 def comment_only_line?(line_number); end - # source://rubocop//lib/rubocop/comment_config.rb#32 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:32 def config(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/comment_config.rb#51 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:51 def cop_disabled_line_ranges; end # @return [Boolean] # - # source://rubocop//lib/rubocop/comment_config.rb#39 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:47 def cop_opted_in?(cop); end - # source://rubocop//lib/rubocop/comment_config.rb#55 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:30 def processed_source; end - # source://rubocop//lib/rubocop/comment_config.rb#32 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:32 def registry(*_arg0, **_arg1, &_arg2); end private - # source://rubocop//lib/rubocop/comment_config.rb#96 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:96 def analyze; end - # source://rubocop//lib/rubocop/comment_config.rb#124 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:124 def analyze_cop(analysis, directive); end - # source://rubocop//lib/rubocop/comment_config.rb#144 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:144 def analyze_disabled(analysis, directive); end - # source://rubocop//lib/rubocop/comment_config.rb#155 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:155 def analyze_rest(analysis, directive); end - # source://rubocop//lib/rubocop/comment_config.rb#135 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:135 def analyze_single_line(analysis, directive); end - # source://rubocop//lib/rubocop/comment_config.rb#164 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:164 def cop_line_ranges(analysis); end - # source://rubocop//lib/rubocop/comment_config.rb#170 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:170 def each_directive; end - # source://rubocop//lib/rubocop/comment_config.rb#69 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:69 def extra_enabled_comments_with_names(extras:, names:); end - # source://rubocop//lib/rubocop/comment_config.rb#190 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:204 def handle_switch(directive, names, extras); end - # source://rubocop//lib/rubocop/comment_config.rb#115 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:115 def inject_disabled_cops_directives(analyses); end - # source://rubocop//lib/rubocop/comment_config.rb#183 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:183 def non_comment_token_line_numbers; end - # source://rubocop//lib/rubocop/comment_config.rb#83 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:83 def opt_in_cops; end - # source://rubocop//lib/rubocop/comment_config.rb#179 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:179 def qualified_cop_name(cop_name); end end -# source://rubocop//lib/rubocop/comment_config.rb#9 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:16 def loc; end # Returns the value of attribute text. # - # source://rubocop//lib/rubocop/comment_config.rb#16 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:16 def text; end end -# source://rubocop//lib/rubocop/comment_config.rb#19 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def line; end # Sets the attribute line @@ -992,34 +993,34 @@ class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Expression < :: # @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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def line=(_); end class << self - # source://rubocop//lib/rubocop/comment_config.rb#19 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def [](*_arg0); end - # source://rubocop//lib/rubocop/comment_config.rb#19 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def inspect; end - # source://rubocop//lib/rubocop/comment_config.rb#19 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def keyword_init?; end - # source://rubocop//lib/rubocop/comment_config.rb#19 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def members; end - # source://rubocop//lib/rubocop/comment_config.rb#19 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:19 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/comment_config.rb#18 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def expression; end # Sets the attribute expression @@ -1027,34 +1028,34 @@ class RuboCop::CommentConfig::ConfigDisabledCopDirectiveComment::Loc < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def expression=(_); end class << self - # source://rubocop//lib/rubocop/comment_config.rb#18 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def [](*_arg0); end - # source://rubocop//lib/rubocop/comment_config.rb#18 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def inspect; end - # source://rubocop//lib/rubocop/comment_config.rb#18 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def keyword_init?; end - # source://rubocop//lib/rubocop/comment_config.rb#18 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def members; end - # source://rubocop//lib/rubocop/comment_config.rb#18 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:18 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/comment_config.rb#28 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def line_ranges; end # Sets the attribute line_ranges @@ -1062,14 +1063,14 @@ class RuboCop::CommentConfig::CopAnalysis < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def start_line_number; end # Sets the attribute start_line_number @@ -1077,23 +1078,23 @@ class RuboCop::CommentConfig::CopAnalysis < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def start_line_number=(_); end class << self - # source://rubocop//lib/rubocop/comment_config.rb#28 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def [](*_arg0); end - # source://rubocop//lib/rubocop/comment_config.rb#28 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def inspect; end - # source://rubocop//lib/rubocop/comment_config.rb#28 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def keyword_init?; end - # source://rubocop//lib/rubocop/comment_config.rb#28 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def members; end - # source://rubocop//lib/rubocop/comment_config.rb#28 + # pkg:gem/rubocop#lib/rubocop/comment_config.rb:28 def new(*_arg0); end end end @@ -1104,7 +1105,7 @@ end # during a run of the rubocop program, if files in several # directories are inspected. # -# source://rubocop//lib/rubocop/config.rb#12 +# pkg:gem/rubocop#lib/rubocop/config.rb:12 class RuboCop::Config include ::RuboCop::PathUtil include ::RuboCop::FileFinder @@ -1112,26 +1113,26 @@ class RuboCop::Config # @return [Config] a new instance of Config # - # source://rubocop//lib/rubocop/config.rb#31 + # pkg:gem/rubocop#lib/rubocop/config.rb:31 def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def []=(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#212 + # pkg:gem/rubocop#lib/rubocop/config.rb:212 def active_support_extensions_enabled?; end - # source://rubocop//lib/rubocop/config.rb#127 + # pkg:gem/rubocop#lib/rubocop/config.rb:127 def add_excludes_from_higher_level(highest_config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#239 + # pkg:gem/rubocop#lib/rubocop/config.rb:239 def allowed_camel_case_file?(file); end # Paths specified in configuration files starting with .rubocop are @@ -1140,74 +1141,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#283 + # pkg:gem/rubocop#lib/rubocop/config.rb:283 def base_dir_for_path_parameters; end # @return [String, nil] # - # source://rubocop//lib/rubocop/config.rb#313 + # pkg:gem/rubocop#lib/rubocop/config.rb:313 def bundler_lock_file_path; end - # source://rubocop//lib/rubocop/config.rb#85 + # pkg:gem/rubocop#lib/rubocop/config.rb:85 def check; end # @api private # @return [Boolean] whether config for this badge has 'Include' or 'Exclude' keys # - # source://rubocop//lib/rubocop/config.rb#180 + # pkg:gem/rubocop#lib/rubocop/config.rb:180 def clusivity_config_for_badge?(badge); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#200 + # pkg:gem/rubocop#lib/rubocop/config.rb:200 def cop_enabled?(name); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#139 + # pkg:gem/rubocop#lib/rubocop/config.rb:139 def deprecation_check; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def dig(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#204 + # pkg:gem/rubocop#lib/rubocop/config.rb:204 def disabled_new_cops?; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def each_key(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#208 + # pkg:gem/rubocop#lib/rubocop/config.rb:208 def enabled_new_cops?; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def fetch(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#261 + # pkg:gem/rubocop#lib/rubocop/config.rb:261 def file_to_exclude?(file); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#220 + # pkg:gem/rubocop#lib/rubocop/config.rb:220 def file_to_include?(file); end - # source://rubocop//lib/rubocop/config.rb#196 + # pkg:gem/rubocop#lib/rubocop/config.rb:196 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#166 + # pkg:gem/rubocop#lib/rubocop/config.rb:166 def for_badge(badge); end # Note: the 'Enabled' attribute is calculated according to the department's @@ -1215,7 +1216,7 @@ class RuboCop::Config # # @return [Config] for the given cop / cop name. # - # source://rubocop//lib/rubocop/config.rb#153 + # pkg:gem/rubocop#lib/rubocop/config.rb:153 def for_cop(cop); end # Note: the 'Enabled' attribute will be present only if specified @@ -1223,7 +1224,7 @@ class RuboCop::Config # # @return [Config] for the given department name. # - # source://rubocop//lib/rubocop/config.rb#191 + # pkg:gem/rubocop#lib/rubocop/config.rb:191 def for_department(department_name); end # If the given cop is enabled, returns its configuration hash. @@ -1231,63 +1232,63 @@ class RuboCop::Config # # @return [Config, Hash] for the given cop / cop name. # - # source://rubocop//lib/rubocop/config.rb#160 + # pkg:gem/rubocop#lib/rubocop/config.rb:160 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#338 + # pkg:gem/rubocop#lib/rubocop/config.rb:338 def gem_versions_in_target; end - # source://rubocop//lib/rubocop/config.rb#342 + # pkg:gem/rubocop#lib/rubocop/config.rb:342 def inspect; end # True if this is a config file that is shipped with RuboCop # # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#110 + # pkg:gem/rubocop#lib/rubocop/config.rb:110 def internal?; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def key?(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def keys(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#81 + # pkg:gem/rubocop#lib/rubocop/config.rb:81 def loaded_features; end # Returns the value of attribute loaded_path. # - # source://rubocop//lib/rubocop/config.rb#21 + # pkg:gem/rubocop#lib/rubocop/config.rb:21 def loaded_path; end - # source://rubocop//lib/rubocop/config.rb#77 + # pkg:gem/rubocop#lib/rubocop/config.rb:77 def loaded_plugins; end - # source://rubocop//lib/rubocop/config.rb#115 + # pkg:gem/rubocop#lib/rubocop/config.rb:115 def make_excludes_absolute; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def merge(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#293 + # pkg:gem/rubocop#lib/rubocop/config.rb:293 def parser_engine; end - # source://rubocop//lib/rubocop/config.rb#274 + # pkg:gem/rubocop#lib/rubocop/config.rb:274 def path_relative_to_config(path); end - # source://rubocop//lib/rubocop/config.rb#270 + # pkg:gem/rubocop#lib/rubocop/config.rb:270 def patterns_to_exclude; end - # source://rubocop//lib/rubocop/config.rb#266 + # pkg:gem/rubocop#lib/rubocop/config.rb:266 def patterns_to_include; end - # source://rubocop//lib/rubocop/config.rb#324 + # pkg:gem/rubocop#lib/rubocop/config.rb:324 def pending_cops; end # Returns true if there's a chance that an Include pattern matches hidden @@ -1295,89 +1296,89 @@ class RuboCop::Config # # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#253 + # pkg:gem/rubocop#lib/rubocop/config.rb:253 def possibly_include_hidden?; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#105 + # pkg:gem/rubocop#lib/rubocop/config.rb:105 def signature; end - # source://rubocop//lib/rubocop/config.rb#308 + # pkg:gem/rubocop#lib/rubocop/config.rb:308 def smart_loaded_path; end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#216 + # pkg:gem/rubocop#lib/rubocop/config.rb:216 def string_literals_frozen_by_default?; end - # source://rubocop//lib/rubocop/config.rb#297 + # pkg:gem/rubocop#lib/rubocop/config.rb:297 def target_rails_version; end - # source://rubocop//lib/rubocop/config.rb#99 + # pkg:gem/rubocop#lib/rubocop/config.rb:99 def target_ruby_version(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def to_hash(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#101 + # pkg:gem/rubocop#lib/rubocop/config.rb:101 def to_s; end - # source://rubocop//lib/rubocop/config.rb#97 + # pkg:gem/rubocop#lib/rubocop/config.rb:97 def transform_values(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#99 + # pkg:gem/rubocop#lib/rubocop/config.rb:99 def validate(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#92 + # pkg:gem/rubocop#lib/rubocop/config.rb:92 def validate_after_resolution; end private - # source://rubocop//lib/rubocop/config.rb#392 + # pkg:gem/rubocop#lib/rubocop/config.rb:392 def department_of(qualified_cop_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#380 + # pkg:gem/rubocop#lib/rubocop/config.rb:380 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#367 + # pkg:gem/rubocop#lib/rubocop/config.rb:367 def gem_version_to_major_minor_float(gem_version); end - # source://rubocop//lib/rubocop/config.rb#373 + # pkg:gem/rubocop#lib/rubocop/config.rb:373 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#354 + # pkg:gem/rubocop#lib/rubocop/config.rb:354 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#349 + # pkg:gem/rubocop#lib/rubocop/config.rb:349 def target_rails_version_from_bundler_lock_file; end class << self - # source://rubocop//lib/rubocop/config.rb#23 + # pkg:gem/rubocop#lib/rubocop/config.rb:23 def create(hash, path, check: T.unsafe(nil)); end end end -# source://rubocop//lib/rubocop/config.rb#17 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def metadata; end # Sets the attribute metadata @@ -1385,14 +1386,14 @@ class RuboCop::Config::CopConfig < ::Struct # @param value [Object] the value to set the attribute metadata to. # @return [Object] the newly set value # - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def name; end # Sets the attribute name @@ -1400,45 +1401,45 @@ class RuboCop::Config::CopConfig < ::Struct # @param value [Object] the value to set the attribute name to. # @return [Object] the newly set value # - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def name=(_); end class << self - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def [](*_arg0); end - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def inspect; end - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def keyword_init?; end - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def members; end - # source://rubocop//lib/rubocop/config.rb#17 + # pkg:gem/rubocop#lib/rubocop/config.rb:17 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/config.rb#20 +# pkg:gem/rubocop#lib/rubocop/config.rb:20 RuboCop::Config::DEFAULT_RAILS_VERSION = T.let(T.unsafe(nil), Float) -# source://rubocop//lib/rubocop/config.rb#19 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 @@ -1446,66 +1447,66 @@ class RuboCop::ConfigFinder # # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#26 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:26 def project_root; end # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#17 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:17 def project_root=(_arg0); end private # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#69 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:69 def expand_path(path); end # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#40 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:40 def find_project_dotfile(target_dir); end # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#32 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:32 def find_project_root; end # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#44 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:44 def find_project_root_dot_config; end # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#54 + # pkg:gem/rubocop#lib/rubocop/config_finder.rb:54 def find_user_dotfile; end # @api private # - # source://rubocop//lib/rubocop/config_finder.rb#62 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -1514,12 +1515,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 +# pkg:gem/rubocop#lib/rubocop/config_loader.rb:17 class RuboCop::ConfigLoader extend ::RuboCop::FileFinder class << self - # source://rubocop//lib/rubocop/config_loader.rb#132 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:132 def add_excludes_from_files(config, config_file); end # Used to add features that were required inside a config or from @@ -1527,7 +1528,7 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#206 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:206 def add_loaded_features(loaded_features); end # Used to add plugins that were required inside a config or from @@ -1535,13 +1536,13 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#199 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:199 def add_loaded_plugins(loaded_plugins); end - # source://rubocop//lib/rubocop/config_loader.rb#85 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:85 def add_missing_namespaces(path, hash); end - # source://rubocop//lib/rubocop/config_loader.rb#33 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:33 def clear_options; end # Returns the path of .rubocop.yml searching upwards in the @@ -1550,90 +1551,90 @@ 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#113 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:113 def configuration_file_for(target_dir); end - # source://rubocop//lib/rubocop/config_loader.rb#117 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:117 def configuration_from_file(config_file, check: T.unsafe(nil)); end # Returns the value of attribute debug. # - # source://rubocop//lib/rubocop/config_loader.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 def debug; end # Sets the attribute debug # # @param value the value to set the attribute debug to. # - # source://rubocop//lib/rubocop/config_loader.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 def debug=(_arg0); end # Returns the value of attribute debug. # - # source://rubocop//lib/rubocop/config_loader.rb#30 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:30 def debug?; end - # source://rubocop//lib/rubocop/config_loader.rb#142 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:142 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#27 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:27 def default_configuration=(_arg0); end # Returns the value of attribute disable_pending_cops. # - # source://rubocop//lib/rubocop/config_loader.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 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#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 def disable_pending_cops=(_arg0); end # Returns the value of attribute enable_pending_cops. # - # source://rubocop//lib/rubocop/config_loader.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 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#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 def enable_pending_cops=(_arg0); end # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop//lib/rubocop/config_loader.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 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#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 def ignore_parent_exclusion=(_arg0); end # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop//lib/rubocop/config_loader.rb#31 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:31 def ignore_parent_exclusion?; end # Returns the value of attribute ignore_unrecognized_cops. # - # source://rubocop//lib/rubocop/config_loader.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 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#25 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:25 def ignore_unrecognized_cops=(_arg0); end # This API is primarily intended for testing and documenting plugins. @@ -1641,35 +1642,35 @@ class RuboCop::ConfigLoader # so this API is usually not needed. It is intended to be used only when implementing tests # that do not use `rubocop/rspec/support`. # - # source://rubocop//lib/rubocop/config_loader.rb#154 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:154 def inject_defaults!(config_yml_path); end - # source://rubocop//lib/rubocop/config_loader.rb#45 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:45 def load_file(file, check: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/config_loader.rb#70 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:70 def load_yaml_configuration(absolute_path); end # Returns the value of attribute loaded_features. # - # source://rubocop//lib/rubocop/config_loader.rb#28 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:28 def loaded_features; end # Returns the value of attribute loaded_plugins. # - # source://rubocop//lib/rubocop/config_loader.rb#28 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:28 def loaded_plugins; 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#104 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:104 def merge(base_hash, derived_hash); end # Merges the given configuration with the default one. # - # source://rubocop//lib/rubocop/config_loader.rb#192 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:192 def merge_with_default(config, config_file, unset_nil: T.unsafe(nil)); end # Returns the path RuboCop inferred as the root of the project. No file @@ -1677,49 +1678,49 @@ class RuboCop::ConfigLoader # # @deprecated Use `RuboCop::ConfigFinder.project_root` instead. # - # source://rubocop//lib/rubocop/config_loader.rb#182 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:182 def project_root; end private - # source://rubocop//lib/rubocop/config_loader.rb#220 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:220 def check_duplication(yaml_code, absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#212 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:212 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#240 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:240 def read_file(absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#216 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:216 def resolver; end - # source://rubocop//lib/rubocop/config_loader.rb#246 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:246 def yaml_tree_to_hash(yaml_tree); end - # source://rubocop//lib/rubocop/config_loader.rb#256 + # pkg:gem/rubocop#lib/rubocop/config_loader.rb:256 def yaml_tree_to_hash!(yaml_tree); end end end -# source://rubocop//lib/rubocop/config_loader.rb#20 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/config_loader.rb:18 RuboCop::ConfigLoader::DOTFILE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/config_loader.rb#19 +# pkg:gem/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#10 +# pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:10 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 @@ -1728,7 +1729,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#64 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:64 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, @@ -1738,7 +1739,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#118 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:118 def merge(base_hash, derived_hash, **opts); end # Merges the given configuration with the default one. If @@ -1749,7 +1750,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#94 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:94 def merge_with_default(config, config_file, unset_nil:); end # An `Enabled: true` setting in user configuration for a cop overrides an @@ -1757,7 +1758,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#138 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:138 def override_department_setting_for_cops(base_hash, derived_hash); end # If a cop was previously explicitly enabled, but then superseded by the @@ -1765,170 +1766,170 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#155 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:155 def override_enabled_for_disabled_departments(base_hash, derived_hash); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#38 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:38 def resolve_inheritance(path, hash, file, debug); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#74 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:74 def resolve_inheritance_from_gems(hash); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#11 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:11 def resolve_plugins(rubocop_config, plugins); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#18 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:18 def resolve_requires(path, hash); end private # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#234 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:234 def base_configs(path, inherit_from, file); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#202 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:202 def determine_inherit_mode(hash, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#171 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:171 def disabled?(hash, department); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#175 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:175 def duplicate_setting?(base_hash, derived_hash, key, inherited_file); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#196 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:196 def duplicate_setting_warning(opts, key); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#293 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:293 def gem_config_path(gem_name, relative_config_path); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#271 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:271 def handle_disabled_by_default(config, new_default_configuration); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#246 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:246 def inherited_file(path, inherit_from, file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#230 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:230 def merge_hashes?(base_hash, derived_hash, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#267 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:267 def remote_config?(file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#222 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:222 def should_merge?(mode, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#226 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:226 def should_override?(mode, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#208 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:208 def should_union?(derived_hash, base_hash, root_mode, key); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#289 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:289 def transform(config, &block); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#184 + # pkg:gem/rubocop#lib/rubocop/config_loader_resolver.rb:184 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 +# pkg:gem/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 +# pkg:gem/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#66 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:66 def initialize(config); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion.rb#84 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:84 def deprecated_cop_name?(name); end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#79 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:79 def legacy_cop_names; end # @api private # @raise [ValidationError] # - # source://rubocop//lib/rubocop/config_obsoletion.rb#72 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:72 def reject_obsolete!; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#21 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:21 def rules; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#21 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:21 def warnings; end private # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#151 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:151 def cop_rules; end # Cop rules are keyed by the name of the original cop # # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#112 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:112 def load_cop_rules(rules); end # Parameter rules may apply to multiple cops and multiple parameters @@ -1937,7 +1938,7 @@ class RuboCop::ConfigObsoletion # # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#125 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:125 def load_parameter_rules(rules); end # Default rules for obsoletions are in config/obsoletion.yml @@ -1945,142 +1946,142 @@ class RuboCop::ConfigObsoletion # # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#92 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:92 def load_rules; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#138 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:138 def obsoletions; end class << self # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion.rb#45 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:45 def deprecated_cop_name?(name); end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#49 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:49 def deprecated_names_for(cop); end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#24 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:24 def files; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#24 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:24 def files=(_arg0); end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#26 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:26 def global; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#40 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:40 def legacy_cop_names; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#30 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:30 def reset!; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion.rb#36 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion.rb:36 def rules_cache_key; end end end # @api private # -# source://rubocop//lib/rubocop/config_obsoletion.rb#8 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/cop_rule.rb:19 def message; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#8 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/cop_rule.rb:28 def violated?; end # Cop rules currently can only be failures, not warnings @@ -2088,13 +2089,13 @@ class RuboCop::ConfigObsoletion::CopRule < ::RuboCop::ConfigObsoletion::Rule # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion/cop_rule.rb#24 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/cop_rule.rb:24 def warning?; end end # @api private # -# source://rubocop//lib/rubocop/config_obsoletion.rb#7 +# pkg:gem/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 @@ -2102,130 +2103,130 @@ RuboCop::ConfigObsoletion::DEFAULT_RULES_FILE = T.let(T.unsafe(nil), String) # # @api private # -# source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/extracted_cop.rb:9 def department; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#9 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/extracted_cop.rb:9 def gem; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/extracted_cop.rb#23 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/extracted_cop.rb:41 def plugin_loaded?; end end # @api private # -# source://rubocop//lib/rubocop/config_obsoletion.rb#18 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/parameter_rule.rb:8 def cop; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#8 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/parameter_rule.rb:8 def metadata; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#8 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/parameter_rule.rb:39 def alternative; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/parameter_rule.rb:47 def reason; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/parameter_rule.rb#51 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/parameter_rule.rb:51 def severity; end end @@ -2234,45 +2235,45 @@ end # # @api private # -# source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/removed_cop.rb:9 def metadata; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/removed_cop.rb:36 def alternatives; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/removed_cop.rb#32 + # pkg:gem/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 +# pkg:gem/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 @@ -2280,33 +2281,33 @@ RuboCop::ConfigObsoletion::RemovedCop::BASE_MESSAGE = T.let(T.unsafe(nil), Strin # # @api private # -# source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#8 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:11 def initialize(config, old_name, name_or_hash); end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#9 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:9 def metadata; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#9 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:9 def new_name; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#23 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:23 def rule_message; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#27 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:27 def warning?; end private @@ -2314,17 +2315,17 @@ class RuboCop::ConfigObsoletion::RenamedCop < ::RuboCop::ConfigObsoletion::CopRu # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#33 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:33 def moved?; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#44 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:44 def severity; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/renamed_cop.rb#40 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/renamed_cop.rb:40 def verb; end end @@ -2332,12 +2333,12 @@ end # # @api private # -# source://rubocop//lib/rubocop/config_obsoletion/rule.rb#7 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/rule.rb:8 def initialize(config); end # Does this rule relate to cops? @@ -2345,7 +2346,7 @@ class RuboCop::ConfigObsoletion::Rule # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#13 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/rule.rb:13 def cop_rule?; end # Does this rule relate to parameters? @@ -2353,31 +2354,31 @@ class RuboCop::ConfigObsoletion::Rule # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#18 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/rule.rb:22 def violated?; end private # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#28 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/rule.rb:28 def config; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#36 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/rule.rb:36 def smart_loaded_path; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/rule.rb#30 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/rule.rb:30 def to_sentence(collection, connector: T.unsafe(nil)); end end @@ -2386,29 +2387,29 @@ end # # @api private # -# source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#8 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/split_cop.rb:9 def metadata; end # @api private # - # source://rubocop//lib/rubocop/config_obsoletion/split_cop.rb#16 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_obsoletion/split_cop.rb:22 def alternatives; end end @@ -2416,114 +2417,114 @@ end # # @api private # -# source://rubocop//lib/rubocop/config_regeneration.rb#6 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_regeneration.rb:12 def options; end private # @api private # - # source://rubocop//lib/rubocop/config_regeneration.rb#29 + # pkg:gem/rubocop#lib/rubocop/config_regeneration.rb:29 def generation_command; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_regeneration.rb#25 + # pkg:gem/rubocop#lib/rubocop/config_regeneration.rb:25 def todo_exists?; end end # @api private # -# source://rubocop//lib/rubocop/config_regeneration.rb#7 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:10 def initialize; end - # source://rubocop//lib/rubocop/config_store.rb#28 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:28 def apply_options!(options); 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#57 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:57 def for(file_or_dir); end - # source://rubocop//lib/rubocop/config_store.rb#66 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:66 def for_dir(dir); end - # source://rubocop//lib/rubocop/config_store.rb#47 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:47 def for_file(file); end - # source://rubocop//lib/rubocop/config_store.rb#51 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:51 def for_pwd; end - # source://rubocop//lib/rubocop/config_store.rb#38 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:38 def force_default_config!; end - # source://rubocop//lib/rubocop/config_store.rb#33 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:33 def options_config=(options_config); end - # source://rubocop//lib/rubocop/config_store.rb#42 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:42 def unvalidated; end # Returns the value of attribute validated. # - # source://rubocop//lib/rubocop/config_store.rb#7 + # pkg:gem/rubocop#lib/rubocop/config_store.rb:7 def validated; end # Returns the value of attribute validated. # - # source://rubocop//lib/rubocop/config_store.rb#8 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:28 def initialize(config); end - # source://rubocop//lib/rubocop/config_validator.rb#26 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:26 def for_all_cops(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config_validator.rb#26 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:26 def smart_loaded_path(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config_validator.rb#65 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:65 def target_ruby_version; end - # source://rubocop//lib/rubocop/config_validator.rb#34 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:34 def validate; end # Validations that should only be run after all config resolving has @@ -2532,195 +2533,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 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:61 def validate_after_resolution; end private # @raise [ValidationError] # - # source://rubocop//lib/rubocop/config_validator.rb#100 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:100 def alert_about_unrecognized_cops(invalid_cop_names); end - # source://rubocop//lib/rubocop/config_validator.rb#263 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:73 def check_obsoletions; end # @raise [ValidationError] # - # source://rubocop//lib/rubocop/config_validator.rb#80 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:80 def check_target_ruby; end - # source://rubocop//lib/rubocop/config_validator.rb#205 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:205 def each_invalid_parameter(cop_name); end - # source://rubocop//lib/rubocop/config_validator.rb#116 + # pkg:gem/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#284 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:284 def param_error_message(parent, key, value, supposed_values); end - # source://rubocop//lib/rubocop/config_validator.rb#252 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:252 def reject_conflicting_safe_settings; end # @raise [ValidationError] # - # source://rubocop//lib/rubocop/config_validator.rb#243 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:243 def reject_mutually_exclusive_defaults; end - # source://rubocop//lib/rubocop/config_validator.rb#139 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:139 def suggestion(name); end # Returns the value of attribute target_ruby. # - # source://rubocop//lib/rubocop/config_validator.rb#71 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:71 def target_ruby; end - # source://rubocop//lib/rubocop/config_validator.rb#217 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:217 def validate_enforced_styles(valid_cop_names); end # @raise [ValidationError] # - # source://rubocop//lib/rubocop/config_validator.rb#166 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:166 def validate_new_cops_parameter; end - # source://rubocop//lib/rubocop/config_validator.rb#191 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:191 def validate_parameter_names(valid_cop_names); end - # source://rubocop//lib/rubocop/config_validator.rb#177 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:177 def validate_parameter_shape(valid_cop_names); end - # source://rubocop//lib/rubocop/config_validator.rb#237 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:237 def validate_support_and_has_list(name, formats, valid); end # @raise [ValidationError] # - # source://rubocop//lib/rubocop/config_validator.rb#155 + # pkg:gem/rubocop#lib/rubocop/config_validator.rb:155 def validate_syntax_cop; end end # @api private # -# source://rubocop//lib/rubocop/config_validator.rb#11 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:7 module RuboCop::Cop::Alignment private - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#26 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:12 def column_delta; end - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:14 def configured_indentation_width; end # @api public # - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:58 def display_column(range); end # @api private # - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#45 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:69 def end_of_line_comment(line); end - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:18 def indentation(node); end - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#22 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:22 def offset(node); end # @api private # - # source://rubocop//lib/rubocop/cop/mixin/alignment.rb#78 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:64 def within?(inner, outer); end end -# source://rubocop//lib/rubocop/cop/mixin/alignment.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/alignment.rb:8 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:13 def processed_source; end private - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:116 def alignment_column(align_to); end - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:43 def autocorrect_line(corrector, line_begin_pos, expr, column_delta, taboo_ranges); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:84 def block_comment_within?(expr); end - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:90 def calculate_range(expr, line_begin_pos, column_delta); end # Some special kinds of string literals are not composed of literal @@ -2731,39 +2732,39 @@ class RuboCop::Cop::AlignmentCorrector # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:78 def delimited_string_literal?(node); end - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:102 def each_line(expr); end - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:63 def inside_string_range(node); end - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:57 def inside_string_ranges(node); end - # source://rubocop//lib/rubocop/cop/correctors/alignment_corrector.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/alignment_corrector.rb:110 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_identifiers.rb:9 def allowed_identifier?(name); end - # source://rubocop//lib/rubocop/cop/mixin/allowed_identifiers.rb#13 + # pkg:gem/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 +# pkg:gem/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 @@ -2771,337 +2772,337 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_methods.rb:27 def allowed_methods; end - # source://rubocop//lib/rubocop/cop/mixin/allowed_methods.rb#35 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_pattern.rb:10 def allowed_line?(line); end - # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_pattern.rb:42 def allowed_patterns; end - # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#58 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_pattern.rb:21 def ignored_line?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#29 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_pattern.rb:34 def matches_ignored_pattern?(line); end end # This module encapsulates the ability to allow certain receivers in a cop. # -# source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#6 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_receivers.rb:7 def allowed_receiver?(receiver); end - # source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#29 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/allowed_receivers.rb:29 def allowed_receivers; end - # source://rubocop//lib/rubocop/cop/mixin/allowed_receivers.rb#13 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:11 def initialize(name, origin, badges); end end -# source://rubocop//lib/rubocop/cop/registry.rb#8 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/annotation_comment.rb:7 def comment; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#21 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/annotation_comment.rb:37 def keywords; end - # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/annotation_comment.rb:51 def regex; end - # source://rubocop//lib/rubocop/cop/mixin/annotation_comment.rb#39 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:6 module RuboCop::Cop::AutocorrectLogic # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#7 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:7 def autocorrect?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:31 def autocorrect_enabled?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:15 def autocorrect_requested?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#11 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:19 def correctable?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:23 def disable_uncorrectable?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:27 def safe_autocorrect?; end private - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:51 def disable_offense(offense_range); end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:139 def disable_offense_at_end_of_line(range); end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:147 def disable_offense_before_and_after(range_by_lines); end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#77 + # pkg:gem/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#143 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:143 def eol_comment; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:85 def eol_comment_would_be_inside_literal?(offense_range, literal_range); end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:100 def heredoc_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:92 def line_with_eol_comment_too_long?(range); end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:135 def max_line_length; end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:63 def multiline_ranges(offense_range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:112 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#125 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:125 def range_by_lines(range); end - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:116 def range_of_first_line(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:108 def string_continuation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:96 def surrounding_heredoc?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/autocorrect_logic.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/autocorrect_logic.rb:104 def surrounding_percent_array?(node); end end @@ -3113,61 +3114,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:34 def initialize(class_name_parts); end - # source://rubocop//lib/rubocop/cop/badge.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:13 def department_name; end - # source://rubocop//lib/rubocop/cop/badge.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:44 def eql?(other); end - # source://rubocop//lib/rubocop/cop/badge.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:46 def hash; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/badge.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:51 def match?(other); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/badge.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:59 def qualified?; end - # source://rubocop//lib/rubocop/cop/badge.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:55 def to_s; end - # source://rubocop//lib/rubocop/cop/badge.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:63 def with_department(department); end class << self - # source://rubocop//lib/rubocop/cop/badge.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:27 def camel_case(name_part); end - # source://rubocop//lib/rubocop/cop/badge.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:15 def for(class_name); end - # source://rubocop//lib/rubocop/cop/badge.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/badge.rb:23 def parse(identifier); end end end @@ -3201,7 +3202,7 @@ end # Private methods are not meant for custom cops consumption, # nor are any instance variables. # -# source://rubocop//lib/rubocop/cop/base.rb#34 +# pkg:gem/rubocop#lib/rubocop/cop/base.rb:34 class RuboCop::Cop::Base include ::RuboCop::AST::Sexp include ::RuboCop::PathUtil @@ -3214,18 +3215,18 @@ class RuboCop::Cop::Base # @return [Base] a new instance of Base # - # source://rubocop//lib/rubocop/cop/base.rb#156 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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) @@ -3233,55 +3234,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:43 def config; end - # source://rubocop//lib/rubocop/cop/base.rb#252 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:252 def config_to_allow_offenses; end - # source://rubocop//lib/rubocop/cop/base.rb#256 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:363 def contextual_autocorrect?; end # Configuration Helpers # - # source://rubocop//lib/rubocop/cop/base.rb#246 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:246 def cop_config; end - # source://rubocop//lib/rubocop/cop/base.rb#238 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:238 def cop_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#295 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:295 def excluded_file?(file); end # This method should be overridden when a cop's behavior depends @@ -3300,172 +3301,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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:234 def external_dependency_checksum; end - # source://rubocop//lib/rubocop/cop/base.rb#367 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:183 def message(_range = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/base.rb#242 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:300 def parse(source, path = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/base.rb#270 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:43 def processed_source; end # Called between investigations # # @api private # - # source://rubocop//lib/rubocop/cop/base.rb#306 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:306 def ready; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#286 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:286 def relevant_file?(file); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#282 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:266 def target_gem_version(gem_name); end - # source://rubocop//lib/rubocop/cop/base.rb#274 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:274 def target_rails_version; end - # source://rubocop//lib/rubocop/cop/base.rb#260 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:260 def target_ruby_version; end private - # source://rubocop//lib/rubocop/cop/base.rb#485 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:485 def annotate(message); end - # source://rubocop//lib/rubocop/cop/base.rb#379 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:379 def apply_correction(corrector); end # @return [Symbol] offense status # - # source://rubocop//lib/rubocop/cop/base.rb#449 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:408 def complete_investigation; end # @return [Symbol, Corrector] offense status # - # source://rubocop//lib/rubocop/cop/base.rb#423 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:423 def correct(range); end - # source://rubocop//lib/rubocop/cop/base.rb#393 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:393 def current_corrector; end # Reserved for Commissioner: # - # source://rubocop//lib/rubocop/cop/base.rb#385 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:385 def current_offense_locations; end - # source://rubocop//lib/rubocop/cop/base.rb#397 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:397 def current_offenses; end - # source://rubocop//lib/rubocop/cop/base.rb#389 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:389 def currently_disabled_lines; end - # source://rubocop//lib/rubocop/cop/base.rb#513 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:513 def custom_severity; end - # source://rubocop//lib/rubocop/cop/base.rb#509 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:509 def default_severity; end - # source://rubocop//lib/rubocop/cop/base.rb#463 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:463 def disable_uncorrectable(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#499 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:499 def enabled_line?(line_number); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#491 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:481 def find_message(range, message); end - # source://rubocop//lib/rubocop/cop/base.rb#505 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:505 def find_severity(_range, severity); end - # source://rubocop//lib/rubocop/cop/base.rb#526 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:526 def range_for_original(range); end - # source://rubocop//lib/rubocop/cop/base.rb#470 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:418 def reset_investigation; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#534 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:438 def use_corrector(range, corrector); end class << self @@ -3475,23 +3476,23 @@ class RuboCop::Cop::Base # @api public # @return [Array] # - # source://rubocop//lib/rubocop/cop/base.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:59 def autocorrect_incompatible_with; end # Naming # - # source://rubocop//lib/rubocop/cop/base.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:93 def badge; end # @api private # - # source://rubocop//lib/rubocop/cop/base.rb#329 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:329 def callbacks_needed; end - # source://rubocop//lib/rubocop/cop/base.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:97 def cop_name; end - # source://rubocop//lib/rubocop/cop/base.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:101 def department; end # Returns a url to view this cops documentation online. @@ -3502,32 +3503,32 @@ class RuboCop::Cop::Base # @api public # @return [String, nil] # - # source://rubocop//lib/rubocop/cop/base.rb#70 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:138 def gem_requirements; end # @private # - # source://rubocop//lib/rubocop/cop/base.rb#74 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:118 def joining_forces; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:105 def lint?; end # Returns true if the cop name or the cop namespace matches any of the @@ -3535,7 +3536,7 @@ class RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:111 def match?(given_names); end # Register a version requirement for the given gem name. @@ -3550,7 +3551,7 @@ class RuboCop::Cop::Base # # https://guides.rubygems.org/patterns/#declaring-dependencies # - # source://rubocop//lib/rubocop/cop/base.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:151 def requires_gem(gem_name, *version_requirements); end # Returns if class supports autocorrect. @@ -3558,7 +3559,7 @@ class RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:87 def support_autocorrect?; end # Override if your cop should be called repeatedly for multiple investigations @@ -3571,30 +3572,30 @@ class RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/base.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:129 def support_multiple_source?; end private - # source://rubocop//lib/rubocop/cop/base.rb#401 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:401 def restrict_on_send; end end end -# source://rubocop//lib/rubocop/cop/base.rb#405 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def cop; end # Sets the attribute cop @@ -3602,14 +3603,14 @@ class RuboCop::Cop::Base::InvestigationReport < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def corrector; end # Sets the attribute corrector @@ -3617,14 +3618,14 @@ class RuboCop::Cop::Base::InvestigationReport < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def offenses; end # Sets the attribute offenses @@ -3632,14 +3633,14 @@ class RuboCop::Cop::Base::InvestigationReport < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def processed_source; end # Sets the attribute processed_source @@ -3647,33 +3648,33 @@ class RuboCop::Cop::Base::InvestigationReport < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def processed_source=(_); end class << self - # source://rubocop//lib/rubocop/cop/base.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/base.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def inspect; end - # source://rubocop//lib/rubocop/cop/base.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/base.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/base.rb:48 def members; end - # source://rubocop//lib/rubocop/cop/base.rb#48 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -3709,36 +3710,36 @@ module RuboCop::Cop::Bundler; end # gem 'rubocop', '~> 0.90.0' # end # -# source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#39 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/duplicated_gem.rb:58 def gem_declarations(param0); end - # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#45 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/duplicated_gem.rb:67 def conditional_declaration?(nodes); end - # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/duplicated_gem.rb:60 def duplicated_gem_nodes; end - # source://rubocop//lib/rubocop/cop/bundler/duplicated_gem.rb#81 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -3793,35 +3794,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/duplicated_group.rb:66 def group_declarations(param0); end - # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#68 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/duplicated_group.rb:82 def duplicated_group_nodes; end - # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#105 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/duplicated_group.rb:115 def group_attributes(node); end - # source://rubocop//lib/rubocop/cop/bundler/duplicated_group.rb#94 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -3898,43 +3899,43 @@ RuboCop::Cop::Bundler::DuplicatedGroup::SOURCE_BLOCK_NAMES = T.let(T.unsafe(nil) # # Helpers for the foo things. # gem 'foo' # -# source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#83 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/gem_comment.rb:130 def ignored_gem?(node); end # The args node1 & node2 may represent a RuboCop::AST::Node @@ -3942,15 +3943,15 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#116 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -3958,7 +3959,7 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#152 + # pkg:gem/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, @@ -3966,26 +3967,26 @@ class RuboCop::Cop::Bundler::GemComment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/bundler/gem_comment.rb#145 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -4010,66 +4011,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/gem_filename.rb:96 def gems_rb_required?; end - # source://rubocop//lib/rubocop/cop/bundler/gem_filename.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -4118,74 +4119,74 @@ RuboCop::Cop::Bundler::GemFilename::MSG_GEMS_RB_REQUIRED = T.let(T.unsafe(nil), # # good # gem 'rubocop', tag: 'v1.17.0' # -# source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#53 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/gem_version.rb:86 def allowed_gem?(node); end - # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/gem_version.rb:118 def forbidden_style?; end - # source://rubocop//lib/rubocop/cop/bundler/gem_version.rb#94 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -4221,31 +4222,31 @@ RuboCop::Cop::Bundler::GemVersion::VERSION_SPECIFICATION_REGEX = T.let(T.unsafe( # # good # source 'http://rubygems.org' # use only if HTTPS is unavailable # -# source://rubocop//lib/rubocop/cop/bundler/insecure_protocol_source.rb#41 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -4276,67 +4277,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/bundler/ordered_gems.rb:64 def gem_declarations(param0); end - # source://rubocop//lib/rubocop/cop/bundler/ordered_gems.rb#43 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:6 module RuboCop::Cop::CheckAssignment - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:17 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:13 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#11 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:11 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#12 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:12 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#10 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:10 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#7 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:7 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:14 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:15 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/mixin/check_assignment.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_assignment.rb:27 def extract_rhs(node); end end end @@ -4381,9 +4382,9 @@ end # # (Note: Passes may not happen exactly in this sequence.) # -# source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#44 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/check_line_breakable.rb:45 def extract_breakable_node(node, max); end private @@ -4391,69 +4392,69 @@ module RuboCop::Cop::CheckLineBreakable # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#202 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -4461,580 +4462,580 @@ module RuboCop::Cop::CheckLineBreakable # # @api private # - # source://rubocop//lib/rubocop/cop/mixin/check_line_breakable.rb#103 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/code_length.rb:6 module RuboCop::Cop::CodeLength extend ::RuboCop::ExcludeLimit - # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#11 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/code_length.rb:11 def max=(value); end private - # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/code_length.rb:58 def location(node); end - # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#19 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/code_length.rb:19 def max_length; end - # source://rubocop//lib/rubocop/cop/mixin/code_length.rb#15 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/comments_help.rb:14 def contains_comments?(node); end - # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/comments_help.rb:60 def buffer; end - # source://rubocop//lib/rubocop/cop/mixin/comments_help.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:42 def errors; end # @return [InvestigationReport] # - # source://rubocop//lib/rubocop/cop/commissioner.rb#79 + # pkg:gem/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#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on___ENCODING__(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on___FILE__(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on___LINE__(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_alias(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_and(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_arg_expr(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_args(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_array(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_array_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_array_pattern_with_tail(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_back_ref(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_block(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_block_pass(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_blockarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_break(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_case(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_case_match(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_cbase(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_class(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_complex(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_const(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_const_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_cvar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_def(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_defined?(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_dstr(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_dsym(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_eflipflop(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_empty_else(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_erange(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_false(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_find_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_float(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_for(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_forward_arg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_forward_args(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_forwarded_args(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_forwarded_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_forwarded_restarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_gvar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_hash_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_if(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_if_guard(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_iflipflop(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_in_match(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_in_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_index(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_indexasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_int(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_irange(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_ivar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwargs(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwnilarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_kwsplat(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_lambda(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_lvar(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_alt(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_as(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_current_line(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_nil_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_pattern(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_pattern_p(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_rest(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_var(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_with_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_match_with_trailing_comma(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_mlhs(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_module(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_next(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_nil(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_not(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_nth_ref(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_optarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_or(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_or_asgn(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_pair(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_pin(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_postexe(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_preexe(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_procarg0(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_rational(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_redo(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_regexp(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_regopt(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_resbody(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_restarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_retry(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_return(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_sclass(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_self(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_send(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_shadowarg(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_splat(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_str(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_super(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_sym(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_true(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_undef(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_unless_guard(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_until(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_when(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_while(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_while_post(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_xstr(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_yield(node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:67 def on_zsuper(node); end private - # source://rubocop//lib/rubocop/cop/commissioner.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:98 def begin_investigation(processed_source, offset:, original:); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:121 def build_callbacks(cops); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:116 def initialize_callbacks; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:159 def invoke(callback, cops); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:163 def invoke_with_argument(callback, cops, arg); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:112 def reset; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#131 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:149 def restricted_map(callbacks); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:104 def trigger_responding_cops(callback, node); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#139 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:170 def with_cop_error_handling(cop, node = T.unsafe(nil)); end end @@ -5044,13 +5045,13 @@ end # Immutable # Consider creation API private # -# source://rubocop//lib/rubocop/cop/commissioner.rb#18 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def cop_reports; end # Sets the attribute cop_reports @@ -5058,20 +5059,20 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def cop_reports=(_); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#19 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:19 def cops; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#27 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def errors; end # Sets the attribute errors @@ -5079,23 +5080,23 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def errors=(_); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:35 def merge(investigation); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:31 def offenses; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#23 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def processed_source; end # Sets the attribute processed_source @@ -5103,115 +5104,115 @@ class RuboCop::Cop::Commissioner::InvestigationReport < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def processed_source=(_); end class << self - # source://rubocop//lib/rubocop/cop/commissioner.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/commissioner.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def inspect; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def members; end - # source://rubocop//lib/rubocop/cop/commissioner.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/commissioner.rb:18 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/cop/commissioner.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#73 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 @@ -5219,15 +5220,15 @@ module RuboCop::Cop::ConfigurableFormatting # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/configurable_formatting.rb#30 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/configurable_formatting.rb:24 def valid_name?(node, name, given_style = T.unsafe(nil)); end end @@ -5236,157 +5237,157 @@ end # # @deprecated Use `exclude_limit ` instead. # -# source://rubocop//lib/rubocop/cop/mixin/configurable_max.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/configurable_max.rb:8 module RuboCop::Cop::ConfigurableMax private - # source://rubocop//lib/rubocop/cop/mixin/configurable_max.rb#11 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/configurable_max.rb:11 def max=(value); end - # source://rubocop//lib/rubocop/cop/mixin/configurable_max.rb#23 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/cop.rb:11 class RuboCop::Cop::Cop < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/cop.rb#73 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:105 def corrections; end - # source://rubocop//lib/rubocop/cop/cop.rb#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:96 def support_autocorrect?; end private - # source://rubocop//lib/rubocop/cop/cop.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:147 def apply_correction(corrector); end # Override Base # - # source://rubocop//lib/rubocop/cop/cop.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:143 def callback_argument(_range); end - # source://rubocop//lib/rubocop/cop/cop.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:164 def correction_lambda; end - # source://rubocop//lib/rubocop/cop/cop.rb#170 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:152 def emulate_v0_callsequence(corrector); end - # source://rubocop//lib/rubocop/cop/cop.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:183 def range_for_original(range); end - # source://rubocop//lib/rubocop/cop/cop.rb#177 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:56 def all; end # @private # - # source://rubocop//lib/rubocop/cop/cop.rb#25 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:25 def inherited(_subclass); end - # source://rubocop//lib/rubocop/cop/cop.rb#37 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:47 def registry; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/cop.rb#33 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:33 def support_autocorrect?; end end end # @deprecated # -# source://rubocop//lib/rubocop/cop/cop.rb#17 +# pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 class RuboCop::Cop::Cop::Correction < ::Struct - # source://rubocop//lib/rubocop/cop/cop.rb#18 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def cop; end # Sets the attribute cop @@ -5394,14 +5395,14 @@ class RuboCop::Cop::Cop::Correction < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def lambda; end # Sets the attribute lambda @@ -5409,14 +5410,14 @@ class RuboCop::Cop::Cop::Correction < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def node; end # Sets the attribute node @@ -5424,23 +5425,23 @@ class RuboCop::Cop::Cop::Correction < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def node=(_); end class << self - # source://rubocop//lib/rubocop/cop/cop.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/cop.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def inspect; end - # source://rubocop//lib/rubocop/cop/cop.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/cop.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def members; end - # source://rubocop//lib/rubocop/cop/cop.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/cop.rb:17 def new(*_arg0); end end end @@ -5452,7 +5453,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 +# pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:11 class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # corrector = Corrector.new(cop) # @@ -5460,7 +5461,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 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:32 def initialize(source); end # Removes `size` characters from the beginning of the given range. @@ -5470,7 +5471,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 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:63 def remove_leading(node_or_range, size); end # Removes `size` characters prior to the source range. @@ -5478,7 +5479,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 + # pkg:gem/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. @@ -5488,12 +5489,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 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:75 def remove_trailing(node_or_range, size); end # Legacy # - # source://rubocop//lib/rubocop/cop/corrector.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:45 def rewrite; end # Swaps sources at the given ranges. @@ -5501,176 +5502,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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:119 def check_range_validity(node_or_range); end - # source://rubocop//lib/rubocop/cop/corrector.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:104 def to_range(node_or_range); end - # source://rubocop//lib/rubocop/cop/corrector.rb#123 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/corrector.rb:15 def source_buffer(source); end end end # noop # -# source://rubocop//lib/rubocop/cop/corrector.rb#12 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:6 module RuboCop::Cop::Documentation private # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#25 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:57 def builtin?(cop_class); end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:47 def default_base_url; end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:52 def default_extension; end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#10 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:10 def department_to_basename(department); end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:36 def extension_for(cop_class, config); end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:57 def builtin?(cop_class); end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:47 def default_base_url; end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:52 def default_extension; end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#10 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:10 def department_to_basename(department); end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/documentation.rb:36 def extension_for(cop_class, config); end # @api private # - # source://rubocop//lib/rubocop/cop/documentation.rb#15 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -5678,7 +5679,7 @@ module RuboCop::Cop::DocumentationComment # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/documentation_comment.rb:31 def precede?(node1, node2); end # The args node1 & node2 may represent a RuboCop::AST::Node @@ -5686,21 +5687,21 @@ module RuboCop::Cop::DocumentationComment # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/documentation_comment.rb#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/duplication.rb:6 module RuboCop::Cop::Duplication private @@ -5710,7 +5711,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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/duplication.rb:31 def consecutive_duplicates(collection); end # Returns all duplicates, including the first instance of the duplicated @@ -5719,7 +5720,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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/duplication.rb:22 def duplicates(collection); end # Whether the `collection` contains any duplicates. @@ -5727,7 +5728,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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/duplication.rb:13 def duplicates?(collection); end # Returns a hash of grouped duplicates. The key will be the first @@ -5737,133 +5738,133 @@ 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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:6 module RuboCop::Cop::EndKeywordAlignment include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp private - # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:49 def add_offense_for_misalignment(node, align_with); end - # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#19 + # pkg:gem/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 + # pkg:gem/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#69 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:69 def line_break_before_keyword?(whole_expression, rhs); end - # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#34 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:34 def matching_ranges(end_loc, align_ranges); end - # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:40 def start_line_range(node); end - # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:59 def style_parameter_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/end_keyword_alignment.rb:63 def variable_alignment?(whole_expression, rhs, end_alignment_style); end end -# source://rubocop//lib/rubocop/cop/mixin/end_keyword_alignment.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/endless_method_rewriter.rb:19 def arguments(node, missing = T.unsafe(nil)); end end @@ -5878,23 +5879,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/enforce_superclass.rb:16 def included(base); end end end @@ -5902,228 +5903,228 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#62 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/for_to_each_corrector.rb:62 def collection_end; end # Returns the value of attribute collection_node. # - # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 + # pkg:gem/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#36 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/for_to_each_corrector.rb:36 def collection_source; end - # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#27 + # pkg:gem/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#50 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/for_to_each_corrector.rb:50 def end_range; end # Returns the value of attribute for_node. # - # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 + # pkg:gem/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#58 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/for_to_each_corrector.rb:58 def keyword_begin; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/for_to_each_corrector.rb:44 def requires_parentheses?; end # Returns the value of attribute variable_node. # - # source://rubocop//lib/rubocop/cop/correctors/for_to_each_corrector.rb#25 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/correctors/for_to_each_corrector.rb:9 RuboCop::Cop::ForToEachCorrector::CORRECTION = T.let(T.unsafe(nil), String) # This module encapsulates the ability to forbid certain identifiers in a cop. # -# source://rubocop//lib/rubocop/cop/mixin/forbidden_identifiers.rb#6 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_identifiers.rb:6 module RuboCop::Cop::ForbiddenIdentifiers # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/forbidden_identifiers.rb#9 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_identifiers.rb:9 def forbidden_identifier?(name); end - # source://rubocop//lib/rubocop/cop/mixin/forbidden_identifiers.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_identifiers.rb:15 def forbidden_identifiers; end end # if a variable starts with a sigil it will be removed # -# source://rubocop//lib/rubocop/cop/mixin/forbidden_identifiers.rb#7 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_identifiers.rb:7 RuboCop::Cop::ForbiddenIdentifiers::SIGILS = T.let(T.unsafe(nil), String) # This module encapsulates the ability to forbid certain patterns in a cop. # -# source://rubocop//lib/rubocop/cop/mixin/forbidden_pattern.rb#6 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_pattern.rb:6 module RuboCop::Cop::ForbiddenPattern # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/forbidden_pattern.rb#7 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_pattern.rb:7 def forbidden_pattern?(name); end - # source://rubocop//lib/rubocop/cop/mixin/forbidden_pattern.rb#11 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/forbidden_pattern.rb:11 def forbidden_patterns; end end # A scaffold for concrete forces. # -# source://rubocop//lib/rubocop/cop/force.rb#6 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:17 def cops; end - # source://rubocop//lib/rubocop/cop/force.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:50 def investigate(_processed_source); end - # source://rubocop//lib/rubocop/cop/force.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:36 def name; end - # source://rubocop//lib/rubocop/cop/force.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:40 def run_hook(method_name, *args); end class << self - # source://rubocop//lib/rubocop/cop/force.rb#19 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:19 def all; end - # source://rubocop//lib/rubocop/cop/force.rb#28 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:28 def force_name; end # @private # - # source://rubocop//lib/rubocop/cop/force.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:23 def inherited(subclass); end end end # @api private # -# source://rubocop//lib/rubocop/cop/force.rb#8 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/force.rb:11 def initialize(joining_cop); end # @api private # - # source://rubocop//lib/rubocop/cop/force.rb#9 + # pkg:gem/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 +# pkg:gem/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#41 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:41 def frozen_heredoc?(node); end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#20 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:20 def frozen_string_literal?(node); end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:14 def frozen_string_literal_comment_exists?; end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:77 def frozen_string_literal_specified?; end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:71 def frozen_string_literals_disabled?; end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:43 def frozen_string_literals_enabled?; end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:87 def leading_comment_lines; end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:83 def leading_magic_comments; end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:36 def uninterpolated_heredoc?(node); end - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#30 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:30 def uninterpolated_string?(node); end class << self # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:14 def frozen_string_literal_comment_exists?; end end end -# source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#9 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:9 RuboCop::Cop::FrozenStringLiteral::FROZEN_STRING_LITERAL_ENABLED = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/mixin/frozen_string_literal.rb#10 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/frozen_string_literal.rb:10 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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -6141,18 +6142,18 @@ module RuboCop::Cop::Gemspec; end # spec.add_dependency('rubocop') # end # -# source://rubocop//lib/rubocop/cop/gemspec/add_runtime_dependency.rb#21 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/gemspec/add_runtime_dependency.rb:26 RuboCop::Cop::Gemspec::AddRuntimeDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Use consistent style for Gemspec attributes assignment. @@ -6206,23 +6207,23 @@ RuboCop::Cop::Gemspec::AddRuntimeDependency::RESTRICT_ON_SEND = T.let(T.unsafe(n # spec.authors[2] = 'author-2' # end # -# source://rubocop//lib/rubocop/cop/gemspec/attribute_assignment.rb#57 +# pkg:gem/rubocop#lib/rubocop/cop/gemspec/attribute_assignment.rb:57 class RuboCop::Cop::Gemspec::AttributeAssignment < ::RuboCop::Cop::Base include ::RuboCop::Cop::GemspecHelp - # source://rubocop//lib/rubocop/cop/gemspec/attribute_assignment.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/attribute_assignment.rb:62 def on_new_investigation; end private - # source://rubocop//lib/rubocop/cop/gemspec/attribute_assignment.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/attribute_assignment.rb:77 def source_assignments(ast); end - # source://rubocop//lib/rubocop/cop/gemspec/attribute_assignment.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/attribute_assignment.rb:84 def source_indexed_assignments(ast); end end -# source://rubocop//lib/rubocop/cop/gemspec/attribute_assignment.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/gemspec/attribute_assignment.rb:60 RuboCop::Cop::Gemspec::AttributeAssignment::MSG = T.let(T.unsafe(nil), String) # Enforce that gem dependency version specifications or a commit reference (branch, @@ -6271,90 +6272,90 @@ RuboCop::Cop::Gemspec::AttributeAssignment::MSG = T.let(T.unsafe(nil), String) # spec.add_development_dependency 'parser', '>= 2.3.3.1', '< 3.0' # end # -# source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#53 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/dependency_version.rb:96 def allowed_gem?(node); end - # source://rubocop//lib/rubocop/cop/gemspec/dependency_version.rb#100 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6379,32 +6380,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -6469,34 +6470,34 @@ RuboCop::Cop::Gemspec::DeprecatedAttributeAssignment::MSG = T.let(T.unsafe(nil), # # Gemfile # gem "bar" # -# source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#70 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/development_dependencies.rb:101 def message(_range); end end -# source://rubocop//lib/rubocop/cop/gemspec/development_dependencies.rb#73 +# pkg:gem/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 +# pkg:gem/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 @@ -6543,33 +6544,33 @@ RuboCop::Cop::Gemspec::DevelopmentDependencies::RESTRICT_ON_SEND = T.let(T.unsaf # spec.metadata["key"] = "value" # end # -# source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#50 +# pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:50 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#57 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:57 def on_new_investigation; end private - # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:83 def duplicated_assignment_method_nodes; end - # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:91 def duplicated_indexed_assignment_method_nodes; end - # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:66 def process_assignment_method_nodes; end - # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:74 def process_indexed_assignment_method_nodes; end - # source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:98 def register_offense(node, assignment, line_of_first_occurrence); end end -# source://rubocop//lib/rubocop/cop/gemspec/duplicated_assignment.rb#54 +# pkg:gem/rubocop#lib/rubocop/cop/gemspec/duplicated_assignment.rb:54 RuboCop::Cop::Gemspec::DuplicatedAssignment::MSG = T.let(T.unsafe(nil), String) # Dependencies in the gemspec should be alphabetically sorted. @@ -6626,27 +6627,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/ordered_dependencies.rb:95 def dependency_declarations(param0); end - # source://rubocop//lib/rubocop/cop/gemspec/ordered_dependencies.rb#69 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -6706,45 +6707,45 @@ 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 +# pkg:gem/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 + # pkg:gem/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#78 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:78 def metadata_assignment(param0); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:95 def on_block(node); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:86 def rubygems_mfa_required(param0); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:91 def true_string?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:123 def autocorrect(corrector, node, block_var, metadata); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:153 def change_value(corrector, value); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:133 def correct_metadata(corrector, metadata); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:141 def insert_mfa_required(corrector, node, block_var); end - # source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/gemspec/require_mfa.rb:116 def mfa_value(metadata_value); end end -# source://rubocop//lib/rubocop/cop/gemspec/require_mfa.rb#67 +# pkg:gem/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 @@ -6797,41 +6798,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -6856,48 +6857,48 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#30 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/gemspec_help.rb:30 def assignment_method_declarations(param0); end - # source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#20 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/gemspec_help.rb:20 def gem_specification(param0); end - # source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#10 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/gemspec_help.rb:10 def gem_specification?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/gemspec_help.rb:36 def indexed_assignment_method_declarations(param0); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/gemspec_help.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/gemspec_help.rb:45 def match_block_variable_name?(receiver_name); end end @@ -6908,243 +6909,243 @@ end # # @api private # -# source://rubocop//lib/rubocop/cop/generator.rb#10 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:152 def todo; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:127 def write_source; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:131 def write_spec; end private # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:166 def badge; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:189 def generate(template); end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:181 def generated_source; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:185 def generated_spec; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:166 def output; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#214 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:214 def snake_case(camel_case_string); end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#204 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:204 def source_path; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/generator.rb:194 def spec_path; end # @api private # - # source://rubocop//lib/rubocop/cop/generator.rb#168 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/generator/configuration_injector.rb:39 def badge; end - # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/generator/configuration_injector.rb:49 def find_target_line; end - # source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#45 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/generator/configuration_injector.rb:39 def version_added; end end -# source://rubocop//lib/rubocop/cop/generator/configuration_injector.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:13 def deltas_for_first_pair(first_pair); end private - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#34 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:45 def value_delta(pair); end end @@ -7152,200 +7153,200 @@ 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#146 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:146 class RuboCop::Cop::HashAlignmentStyles::KeywordSplatAlignment - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:147 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#121 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:121 class RuboCop::Cop::HashAlignmentStyles::SeparatorAlignment include ::RuboCop::Cop::HashAlignmentStyles::ValueAlignment - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:124 def deltas_for_first_pair(_first_pair); end private - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:134 def hash_rocket_delta(first_pair, current_pair); end - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:130 def key_delta(first_pair, current_pair); end - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:138 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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:81 class RuboCop::Cop::HashAlignmentStyles::TableAlignment include ::RuboCop::Cop::HashAlignmentStyles::ValueAlignment - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:84 def deltas_for_first_pair(first_pair); end private - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:98 def hash_rocket_delta(first_pair, current_pair); end - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:94 def key_delta(first_pair, current_pair); end - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:115 def max_delimiter_width(hash_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:111 def max_key_width(hash_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_alignment_styles.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_alignment_styles.rb:103 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:7 module RuboCop::Cop::HashShorthandSyntax - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#32 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:32 def on_hash_for_mixed_shorthand(hash_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:44 def on_pair(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:144 def brackets?(method_dispatch_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:174 def breakdown_value_types_of_hash(hash_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:121 def def_node_that_require_parentheses(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:203 def each_omittable_value_pair(hash_value_type_breakdown, &block); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#199 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:199 def each_omitted_value_pair(hash_value_type_breakdown, &block); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:99 def enforced_shorthand_syntax; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:136 def find_ancestor_method_dispatch_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:186 def hash_with_mixed_shorthand_syntax?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:190 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#194 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:194 def ignore_explicit_omissible_hash_shorthand_syntax?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:93 def ignore_hash_shorthand_syntax?(pair_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:87 def ignore_mixed_hash_shorthand_syntax?(hash_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:159 def last_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:167 def method_dispatch_as_argument?(method_dispatch_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#207 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:207 def mixed_shorthand_syntax_check(hash_value_type_breakdown); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#223 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:223 def no_mixed_shorthand_syntax_check(hash_value_type_breakdown); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:67 def register_offense(node, message, replacement); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:103 def require_hash_value?(hash_key_source, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:112 def require_hash_value_for_around_hash_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:148 def use_element_of_hash_literal_as_receiver?(ancestor, parent); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:153 def use_modifier_form_without_parenthesized_method_call?(ancestor); end end -# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#12 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#14 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 class RuboCop::Cop::HashShorthandSyntax::DefNode < ::Struct - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:23 def first_argument; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:27 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#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def node; end # Sets the attribute node @@ -7353,226 +7354,226 @@ class RuboCop::Cop::HashShorthandSyntax::DefNode < ::Struct # @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#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def node=(_); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:15 def selector; end class << self - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def inspect; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def members; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_shorthand_syntax.rb:14 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#9 +# pkg:gem/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 +# pkg:gem/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/HashExcept and Style/HashSlice cops. # It registers an offense on methods with blocks that are equivalent # to Hash#except or Hash#slice. # -# source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#9 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:9 module RuboCop::Cop::HashSubset include ::RuboCop::Cop::RangeHelp extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#21 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:21 def block_with_first_arg_check?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:47 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:36 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:181 def decorate_source(value); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:189 def except_key(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:168 def except_key_source(key); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:160 def extract_body_if_negated(body); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:59 def extract_offense(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:69 def extracts_hash_subset?(block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:138 def included?(body, negated); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:146 def not_included?(body, negated); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:197 def offense_range(node); end # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:55 def preferred_method_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:95 def range_include?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:150 def safe_to_register_offense?(block, except_key); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:123 def semantically_except_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:134 def semantically_slice_method?(node); end # @raise [NotImplementedError] # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:51 def semantically_subset_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:88 def slices_key?(send_node, method, key_arg, value_arg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:115 def supported_subset_method?(method); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:107 def using_value_variable?(send_node, value_arg); end end -# source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#16 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:16 RuboCop::Cop::HashSubset::ACTIVE_SUPPORT_SUBSET_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#18 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:18 RuboCop::Cop::HashSubset::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#13 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:13 RuboCop::Cop::HashSubset::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#15 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_subset.rb:15 RuboCop::Cop::HashSubset::SUBSET_METHODS = T.let(T.unsafe(nil), Array) # Common functionality for Style/HashTransformKeys and # Style/HashTransformValues # -# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#7 +# pkg:gem/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#87 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:87 def array_receiver?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:91 def on_block(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:108 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:101 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:182 def execute_correction(corrector, node, correction); end # @abstract # @raise [NotImplementedError] # @return [Captures] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:157 def extract_captures(_match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:134 def handle_possible_offense(node, match, match_desc); end # @abstract # @raise [NotImplementedError] # @return [String] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:164 def new_method_name; end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:115 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#120 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:120 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#125 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:125 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#130 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:130 def on_bad_to_h(_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:168 def prepare_correction(node); end end # Internal helper class to hold autocorrect data # -# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def block_node; end # Sets the attribute block_node @@ -7580,14 +7581,14 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # @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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def leading; end # Sets the attribute leading @@ -7595,14 +7596,14 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # @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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def match; end # Sets the attribute match @@ -7610,26 +7611,26 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # @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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def match=(_); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:72 def set_new_arg_name(transformed_argname, corrector); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:76 def set_new_body_expression(transforming_body_expr, corrector); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:62 def set_new_method_name(new_method_name, corrector); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:56 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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def trailing; end # Sets the attribute trailing @@ -7637,58 +7638,58 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # @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#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def trailing=(_); end class << self - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#32 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:32 def from_each_with_object(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:36 def from_hash_brackets_map(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:40 def from_map_to_h(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:52 def from_to_h(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def inspect; end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def members; end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:31 def new(*_arg0); end end end # Internal helper class to hold match data # -# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:14 def noop_transformation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#19 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:19 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#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def transformed_argname; end # Sets the attribute transformed_argname @@ -7696,14 +7697,14 @@ class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @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#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 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#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def transforming_body_expr; end # Sets the attribute transforming_body_expr @@ -7711,14 +7712,14 @@ class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @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#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 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#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def unchanged_body_expr; end # Sets the attribute unchanged_body_expr @@ -7726,145 +7727,145 @@ class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @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#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def unchanged_body_expr=(_); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:23 def use_transformed_argname?; end class << self - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def inspect; end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def members; end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/hash_transform_method.rb:13 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#10 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:6 module RuboCop::Cop::Heredoc - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:14 def on_dstr(node); end # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:17 def on_heredoc(_node); end - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#9 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:9 def on_str(node); end - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:15 def on_xstr(node); end private - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#28 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:28 def delimiter_string(node); end - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#34 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:34 def heredoc_type(node); end - # source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/heredoc.rb:23 def indent_level(str); end end -# source://rubocop//lib/rubocop/cop/mixin/heredoc.rb#7 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/if_then_corrector.rb:20 def indentation; end - # source://rubocop//lib/rubocop/cop/correctors/if_then_corrector.rb#22 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/ignored_node.rb:6 module RuboCop::Cop::IgnoredNode - # source://rubocop//lib/rubocop/cop/ignored_node.rb#7 + # pkg:gem/rubocop#lib/rubocop/cop/ignored_node.rb:7 def ignore_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/ignored_node.rb#24 + # pkg:gem/rubocop#lib/rubocop/cop/ignored_node.rb:24 def ignored_node?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/ignored_node.rb#11 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/integer_node.rb:6 module RuboCop::Cop::IntegerNode private - # source://rubocop//lib/rubocop/cop/mixin/integer_node.rb#9 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/integer_node.rb:9 def integer_part(node); end end @@ -7872,112 +7873,112 @@ end # # @abstract Subclasses are expected to implement {#on_interpolation}. # -# source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/interpolation.rb:8 module RuboCop::Cop::Interpolation - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#9 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/interpolation.rb:9 def on_dstr(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#14 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/interpolation.rb:14 def on_dsym(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/interpolation.rb:17 def on_node_with_interpolations(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/interpolation.rb:15 def on_regexp(node); end - # source://rubocop//lib/rubocop/cop/mixin/interpolation.rb#13 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -8009,50 +8010,50 @@ module RuboCop::Cop::Layout; end # def smooth; end # end # -# source://rubocop//lib/rubocop/cop/layout/access_modifier_indentation.rb#35 +# pkg:gem/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#50 + # pkg:gem/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 + # pkg:gem/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#49 + # pkg:gem/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#48 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 call are aligned. @@ -8094,70 +8095,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 +# pkg:gem/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#63 + # pkg:gem/rubocop#lib/rubocop/cop/layout/argument_alignment.rb:63 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#54 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/argument_alignment.rb:115 def fixed_indentation?; end - # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/layout/argument_alignment.rb:71 def flattened_arguments(node); end - # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#111 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/argument_alignment.rb:100 def multiple_arguments?(node); end - # source://rubocop//lib/rubocop/cop/layout/argument_alignment.rb#134 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -8190,38 +8191,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/array_alignment.rb:55 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#67 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/array_alignment.rb:63 def fixed_indentation?; end - # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/layout/array_alignment.rb:59 def message(_range); end - # source://rubocop//lib/rubocop/cop/layout/array_alignment.rb#78 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -8243,7 +8244,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 +# pkg:gem/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 @@ -8251,17 +8252,17 @@ class RuboCop::Cop::Layout::AssignmentIndentation < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/layout/assignment_indentation.rb:43 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/assignment_indentation.rb#34 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -8298,29 +8299,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -8381,89 +8382,89 @@ RuboCop::Cop::Layout::BeginEndAlignment::MSG = T.let(T.unsafe(nil), String) # baz # end # -# source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#66 +# pkg:gem/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 + # pkg:gem/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#84 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:84 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:89 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:88 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:91 def style_parameter_name; end private - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#247 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:247 def add_space_before(corrector, loc, delta); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:224 def alt_start_msg(start_loc, source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:146 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:97 def block_end_align_target(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:115 def check_block_alignment(start_node, block_node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:197 def compute_do_source_line_column(node, end_loc); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#239 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:239 def compute_start_col(ancestor_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:111 def disqualified_parent?(parent, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:107 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#192 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:192 def find_lhs_node(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:163 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#234 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:234 def format_source_line_column(source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:216 def loc_to_source_line_column(loc); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:128 def register_offense(block_node, start_loc, end_loc, do_source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#251 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:251 def remove_space_before(corrector, end_pos, delta); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#173 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:173 def start_for_block_node(block_node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_alignment.rb:180 def start_for_line_node(block_node); end end -# source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#71 +# pkg:gem/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 @@ -8488,36 +8489,36 @@ RuboCop::Cop::Layout::BlockAlignment::MSG = T.let(T.unsafe(nil), String) # foo(i) # } # -# source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#27 +# pkg:gem/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 + # pkg:gem/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#46 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_end_newline.rb:46 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#45 + # pkg:gem/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#67 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_end_newline.rb:67 def last_heredoc_argument(node); end - # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_end_newline.rb:63 def message(node); end - # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_end_newline.rb:77 def offense_range(node); end - # source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/layout/block_end_newline.rb:50 def register_offense(node, offense_range); end end -# source://rubocop//lib/rubocop/cop/layout/block_end_newline.rb#31 +# pkg:gem/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 @@ -8625,59 +8626,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/case_indentation.rb:146 def enforced_style_end?; end - # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#169 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/case_indentation.rb:161 def indent_one_step?; end - # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/layout/case_indentation.rb:165 def indentation_width; end - # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#207 + # pkg:gem/rubocop#lib/rubocop/cop/layout/case_indentation.rb:207 def replacement(node); end - # source://rubocop//lib/rubocop/cop/layout/case_indentation.rb#200 + # pkg:gem/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 +# pkg:gem/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: @@ -8844,7 +8845,7 @@ RuboCop::Cop::Layout::CaseIndentation::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/layout/class_structure.rb#177 +# pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:177 class RuboCop::Cop::Layout::ClassStructure < ::RuboCop::Cop::Base include ::RuboCop::Cop::VisibilityHelp include ::RuboCop::Cop::CommentsHelp @@ -8853,35 +8854,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#193 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:193 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#204 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:204 def on_sclass(class_node); end private # Autocorrect by swapping between two nodes autocorrecting them # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#209 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:209 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#340 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:340 def begin_pos_with_comment(node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#363 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:363 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#375 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:375 def categories; end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#269 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:269 def class_elements(class_node); end # Classifies a node to match with something in the {expected_order} @@ -8893,21 +8894,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#229 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:229 def classify(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#306 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:306 def dynamic_constant?(node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#330 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:330 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#369 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:369 def expected_order; end # Categorize a node according to the {expected_order} @@ -8917,51 +8918,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#247 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:247 def find_category(node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#359 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:359 def find_heredoc(node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#297 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:297 def humanize_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#281 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:281 def ignore?(node, classification); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#288 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:288 def ignore_for_autocorrect?(node, sibling); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#324 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:324 def marked_as_private_constant?(node, name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#314 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:314 def private_constant?(node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#355 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:355 def start_line_position(node); end - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#260 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:260 def walk_over_nested_class_definition(class_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/class_structure.rb#351 + # pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:351 def whole_line_comment_at_line?(line); end end -# source://rubocop//lib/rubocop/cop/layout/class_structure.rb#182 +# pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:182 RuboCop::Cop::Layout::ClassStructure::HUMANIZED_NODE_TYPE = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/layout/class_structure.rb#189 +# pkg:gem/rubocop#lib/rubocop/cop/layout/class_structure.rb:189 RuboCop::Cop::Layout::ClassStructure::MSG = T.let(T.unsafe(nil), String) # Checks the indentation of here document closings. @@ -9006,53 +9007,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -9119,67 +9120,67 @@ RuboCop::Cop::Layout::ClosingHeredocIndentation::SIMPLE_HEREDOC = T.let(T.unsafe # y: 2 # ) # -# source://rubocop//lib/rubocop/cop/layout/closing_parenthesis_indentation.rb#71 +# pkg:gem/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 + # pkg:gem/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#82 + # pkg:gem/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 + # pkg:gem/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#91 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -9223,20 +9224,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/comment_indentation.rb:61 def autocorrect(corrector, comment); end - # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#88 + # pkg:gem/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 @@ -9244,13 +9245,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/comment_indentation.rb:145 def correct_indentation(next_line); end # Returns true if: @@ -9260,37 +9261,37 @@ class RuboCop::Cop::Layout::CommentIndentation < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#121 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/comment_indentation.rb:156 def less_indented?(line); end - # source://rubocop//lib/rubocop/cop/layout/comment_indentation.rb#140 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -9309,30 +9310,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/condition_position.rb:27 def on_if(node); end - # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/layout/condition_position.rb:36 def on_until(node); end - # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#33 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/condition_position.rb:40 def check(node); end - # source://rubocop//lib/rubocop/cop/layout/condition_position.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/layout/condition_position.rb:54 def message(condition); end end -# source://rubocop//lib/rubocop/cop/layout/condition_position.rb#25 +# pkg:gem/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 @@ -9365,29 +9366,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 +# pkg:gem/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 + # pkg:gem/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#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -9409,60 +9410,60 @@ RuboCop::Cop::Layout::DefEndAlignment::MSG = T.let(T.unsafe(nil), String) # something. # method # -# source://rubocop//lib/rubocop/cop/layout/dot_position.rb#25 +# pkg:gem/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#45 + # pkg:gem/rubocop#lib/rubocop/cop/layout/dot_position.rb:45 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#34 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/dot_position.rb:122 def heredoc?(node); end - # source://rubocop//lib/rubocop/cop/layout/dot_position.rb#114 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/dot_position.rb:30 def autocorrect_incompatible_with; end end end @@ -9494,7 +9495,7 @@ end # code # end # -# source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#32 +# pkg:gem/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 @@ -9503,46 +9504,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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/else_alignment.rb:57 def on_case(node); end - # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/else_alignment.rb:147 def assignment_node(node); end - # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/layout/else_alignment.rb:71 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/else_alignment.rb#106 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/layout/else_alignment.rb:38 RuboCop::Cop::Layout::ElseAlignment::MSG = T.let(T.unsafe(nil), String) # Checks empty comment. @@ -9598,51 +9599,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_comment.rb:137 def allow_margin_comment?; end - # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_comment.rb:97 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_comment.rb:129 def comment_text(comment); end - # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#108 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_comment.rb:85 def investigate(comments); end - # source://rubocop//lib/rubocop/cop/layout/empty_comment.rb#145 + # pkg:gem/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 +# pkg:gem/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. @@ -9694,81 +9695,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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:`: @@ -9776,22 +9777,22 @@ class RuboCop::Cop::Layout::EmptyLineAfterGuardClause < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_after_guard_clause.rb#208 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -9812,17 +9813,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -9834,14 +9835,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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -9892,57 +9893,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#73 + # pkg:gem/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#80 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -10049,15 +10050,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#114 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:114 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#151 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:151 def autocorrect(corrector, prev_def, node, count); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:136 def check_defs(nodes); end # We operate on `begin` nodes, instead of using `OnMethodDef`, @@ -10066,100 +10067,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#129 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:129 def on_begin(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#305 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:305 def allowance_range?; end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#287 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:287 def autocorrect_insert_lines(corrector, newline_pos, count); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#280 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:280 def autocorrect_remove_lines(corrector, newline_pos, count); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#242 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:242 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#180 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:180 def candidate?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:206 def class_candidate?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#272 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:272 def def_end(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:170 def def_location(correction_node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#262 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:262 def def_start(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:187 def empty_line_between_macros; end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#276 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:276 def end_loc(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#220 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:220 def expected_lines; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#238 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:238 def line_count_allowed?(count); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#254 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:254 def lines_between_defs(first_def_node, second_def_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:191 def macro_candidate?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#250 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:250 def maximum_empty_lines; end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#214 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:214 def message(node, count: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#202 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:202 def method_candidate?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#246 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:246 def minimum_empty_lines; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:210 def module_candidate?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#229 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:229 def multiple_blank_lines_groups?(first_def_node, second_def_node); end - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#294 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:294 def node_type(node); end class << self - # source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:120 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/layout/empty_line_between_defs.rb#118 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_line_between_defs.rb:118 RuboCop::Cop::Layout::EmptyLineBetweenDefs::MSG = T.let(T.unsafe(nil), String) # Checks for two or more consecutive blank lines. @@ -10177,34 +10178,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines.rb:25 RuboCop::Cop::Layout::EmptyLines::MSG = T.let(T.unsafe(nil), String) # Checks for an empty line after a module inclusion method (`extend`, @@ -10231,55 +10232,55 @@ RuboCop::Cop::Layout::EmptyLines::MSG = T.let(T.unsafe(nil), String) # prepend Qux # end # -# source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#30 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:30 class RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:40 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:85 def allowed_method?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:54 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:69 def enable_directive_comment?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:75 def line_empty?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:65 def next_line_empty_or_enable_directive_comment?(line); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:93 def next_line_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#79 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:79 def require_empty_line?(node); end end -# source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#36 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:36 RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::MODULE_INCLUSION_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#34 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:34 RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb#38 +# pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_after_module_inclusion.rb:38 RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Access modifiers should be surrounded by blank lines. @@ -10318,7 +10319,7 @@ RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::RESTRICT_ON_SEND = T.let(T # def baz; end # end # -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#43 +# pkg:gem/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 @@ -10326,129 +10327,129 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#86 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:86 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#71 + # pkg:gem/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#85 + # pkg:gem/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 + # pkg:gem/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#88 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:88 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:116 def allowed_only_before_style?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:171 def block_start?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:177 def body_end?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:165 def class_def?(line); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:125 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#161 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:161 def empty_lines_around?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:105 def expected_empty_lines?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#230 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:230 def inside_block?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:187 def message(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:196 def message_for_around_style(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:206 def message_for_only_before_style(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:183 def next_empty_line_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:151 def next_line_empty?(last_send_line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:157 def next_line_empty_and_exists?(last_send_line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#234 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:234 def no_empty_lines_around_block_body?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:144 def previous_line_empty?(send_line); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:140 def previous_line_ignoring_comments(processed_source, send_line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:224 def should_insert_line_after?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb:216 def should_insert_line_before?(node); end end -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#48 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -10486,34 +10487,34 @@ RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::RESTRICT_ON_SEND = T.let(T # x: y # ) # -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#41 +# pkg:gem/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#57 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_arguments.rb:47 def on_send(node); end private # @yield [range.source_buffer.line_range(range.last_line - 1).adjust(end_pos: 1)] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_arguments.rb:73 def empty_range_for_starting_point(start); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_arguments.rb:65 def extra_lines(node, &block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_arguments.rb#61 + # pkg:gem/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 +# pkg:gem/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. @@ -10570,60 +10571,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -10643,23 +10644,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -10680,105 +10681,105 @@ 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 +# pkg:gem/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 + # pkg:gem/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#37 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_block_body.rb:37 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_block_body.rb#36 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -10838,21 +10839,21 @@ RuboCop::Cop::Layout::EmptyLinesAroundBody::MSG_MISSING = T.let(T.unsafe(nil), S # end # end # -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_class_body.rb#67 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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` @@ -10911,55 +10912,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 +# pkg:gem/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#71 + # pkg:gem/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 + # pkg:gem/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#70 + # pkg:gem/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 + # pkg:gem/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#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -10980,34 +10981,34 @@ RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords::MSG = T.let(T.u # # end # -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#23 +# pkg:gem/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 + # pkg:gem/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#39 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_method_body.rb:39 def on_defs(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_method_body.rb:47 def offending_endless_method?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_method_body.rb:52 def register_offense_for_endless_method(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/layout/empty_lines_around_method_body.rb:43 def style; end end -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#27 +# pkg:gem/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 @@ -11049,18 +11050,18 @@ RuboCop::Cop::Layout::EmptyLinesAroundMethodBody::KIND = T.let(T.unsafe(nil), St # end # end # -# source://rubocop//lib/rubocop/cop/layout/empty_lines_around_module_body.rb#47 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -11133,7 +11134,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 +# pkg:gem/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 @@ -11141,54 +11142,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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:111 def on_case(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#118 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:83 def on_class(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:99 def on_if(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:95 def on_module(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:87 def on_sclass(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:107 def on_until(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#103 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:167 def alignment_node(node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#184 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:122 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/end_alignment.rb#137 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/end_alignment.rb:158 def check_other_alignment(node); end end @@ -11224,34 +11225,34 @@ end # puts 'Hello' # Return character is CR+LF on Windows. # puts 'Hello' # Return character is LF on other than Windows. # -# source://rubocop//lib/rubocop/cop/layout/end_of_line.rb#40 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -11280,78 +11281,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/extra_spacing.rb:103 def aligned_tok?(token); end - # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#159 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/extra_spacing.rb:72 def check_assignment(token); end - # source://rubocop//lib/rubocop/cop/layout/extra_spacing.rb#81 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -11491,85 +11492,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 +# pkg:gem/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 + # pkg:gem/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#165 + # pkg:gem/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 + # pkg:gem/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#166 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -11647,54 +11648,54 @@ RuboCop::Cop::Layout::FirstArgumentIndentation::MSG = T.let(T.unsafe(nil), Strin # :its_like_this # ]) # -# source://rubocop//lib/rubocop/cop/layout/first_array_element_indentation.rb#82 +# pkg:gem/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 + # pkg:gem/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#104 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -11732,28 +11733,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -11861,62 +11862,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 +# pkg:gem/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#133 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -11957,23 +11958,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -12039,30 +12040,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 +# pkg:gem/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#94 + # pkg:gem/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 + # pkg:gem/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#95 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -12113,26 +12114,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 +# pkg:gem/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 + # pkg:gem/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#65 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -12172,40 +12173,40 @@ RuboCop::Cop::Layout::FirstMethodParameterLineBreak::MSG = T.let(T.unsafe(nil), # 123 # end # -# source://rubocop//lib/rubocop/cop/layout/first_parameter_indentation.rb#44 +# pkg:gem/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 + # pkg:gem/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#59 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -12371,7 +12372,7 @@ RuboCop::Cop::Layout::FirstParameterIndentation::MSG = T.let(T.unsafe(nil), Stri # do_something(foo: 1, # bar: 2) # -# source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#178 +# pkg:gem/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 @@ -12379,117 +12380,117 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base # Returns the value of attribute column_deltas. # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:218 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#218 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:218 def column_deltas=(_arg0); end # Returns the value of attribute offenses_by. # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:218 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#218 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:218 def offenses_by=(_arg0); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#204 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:204 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:208 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#195 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:195 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#205 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:205 def on_super(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:206 def on_yield(node); end private - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#264 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:264 def add_offenses; end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#370 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:370 def adjust(corrector, delta, range); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#299 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:299 def alignment_for(pair); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#313 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:313 def alignment_for_colons; end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#309 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:309 def alignment_for_hash_rockets; end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#234 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:234 def argument_before_hash(hash_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#222 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:222 def autocorrect_incompatible_with_other_cops?(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#282 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:282 def check_delta(delta, node:, alignment:); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:245 def check_pairs(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#336 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:336 def correct_key_value(corrector, delta, key, value, separator); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#332 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:332 def correct_no_value(corrector, key_delta, key); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#317 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:317 def correct_node(corrector, node, delta); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#383 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:383 def enforce_first_argument_with_fixed_indentation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#379 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:379 def good_alignment?(column_deltas); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#290 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:290 def ignore_hash_argument?(node); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#352 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:352 def new_alignment(key); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#272 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:272 def register_offenses_with_format(offenses, format); end - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:240 def reset!; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#388 + # pkg:gem/rubocop#lib/rubocop/cop/layout/hash_alignment.rb:388 def same_line?(node1, node2); end end -# source://rubocop//lib/rubocop/cop/layout/hash_alignment.rb#183 +# pkg:gem/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 +# pkg:gem/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 @@ -12539,23 +12540,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 +# pkg:gem/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#78 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb:272 def add_correct_external_trailing_comma(node, corrector); end # Autocorrection note: @@ -12585,115 +12586,115 @@ class RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis < ::RuboCop::Cop:: # third_array_value, # ] # - # source://rubocop//lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb#108 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -12714,77 +12715,77 @@ RuboCop::Cop::Layout::HeredocArgumentClosingParenthesis::MSG = T.let(T.unsafe(ni # something # RUBY # -# source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#24 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/heredoc_indentation.rb:155 def heredoc_body(node); end - # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#159 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/heredoc_indentation.rb:126 def indented_body(node); end - # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#133 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/heredoc_indentation.rb:103 def longest_line(lines); end - # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/layout/heredoc_indentation.rb:111 def max_line_length; end - # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#69 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/heredoc_indentation.rb:107 def unlimited_heredoc_length?; end - # source://rubocop//lib/rubocop/cop/layout/heredoc_indentation.rb#87 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -12902,21 +12903,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_consistency.rb:128 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#132 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_consistency.rb:138 def autocorrect(corrector, node); end # Not all nodes define `bare_access_modifier?` (for example, @@ -12925,27 +12926,27 @@ class RuboCop::Cop::Layout::IndentationConsistency < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#145 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_consistency.rb:172 def check(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_consistency.rb#187 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -12976,43 +12977,43 @@ RuboCop::Cop::Layout::IndentationConsistency::MSG = T.let(T.unsafe(nil), String) # bar # end # -# source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#34 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_style.rb:58 def autocorrect(corrector, range); end - # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#82 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_style.rb:109 def message(_node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_style.rb#92 + # pkg:gem/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 +# pkg:gem/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. @@ -13053,7 +13054,7 @@ RuboCop::Cop::Layout::IndentationStyle::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#44 +# pkg:gem/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 @@ -13063,129 +13064,129 @@ 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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:81 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:139 def on_case(case_node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:147 def on_case_match(case_match); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:96 def on_class(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:120 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:122 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:127 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:69 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:67 def on_for(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:157 def on_if(node, base = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:94 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:73 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:103 def on_module(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:93 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:64 def on_resbody(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:60 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:102 def on_sclass(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:105 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:137 def on_until(node, base = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:129 def on_while(node, base = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:228 def access_modifier_indentation_style; end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:166 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:236 def check_assignment(node, rhs); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#256 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:256 def check_if(node, body, else_clause, base_loc); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#269 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:269 def check_indentation(base_loc, body_node, style = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:170 def check_members(base, members); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:194 def check_members_for_indented_internal_methods_style(members); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:200 def check_members_for_normal_style(base, members); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#341 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:341 def check_rescue?(rescue_node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#377 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:377 def configured_indentation_width; end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:208 def each_member(members); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:232 def indentation_consistency_style; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#324 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:324 def indentation_to_check?(base_loc, body_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#220 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:220 def indented_internal_methods_style?; end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#381 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:381 def leftmost_modifier_of(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#303 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:303 def message(configured_indentation_width, indentation, name); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#360 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:360 def offending_range(body_node, indentation); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#279 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:279 def offense(body_node, indentation, style); end # Returns true if the given node is within another node that has @@ -13193,29 +13194,29 @@ class RuboCop::Cop::Layout::IndentationWidth < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#314 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:314 def other_offense_in_same_range?(node); end - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:182 def select_check_member(member); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#345 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:345 def skip_check?(base_loc, body_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:224 def special_modifier?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#368 + # pkg:gem/rubocop#lib/rubocop/cop/layout/indentation_width.rb:368 def starts_with_access_modifier?(body_node); end end -# source://rubocop//lib/rubocop/cop/layout/indentation_width.rb#52 +# pkg:gem/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 @@ -13232,26 +13233,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -13341,96 +13342,96 @@ RuboCop::Cop::Layout::InitialIndentation::MSG = T.let(T.unsafe(nil), String) # # name = 'John' #: String # -# source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#101 +# pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:101 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#107 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:107 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#161 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:161 def allow_doxygen_comment?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:169 def allow_gemfile_ruby_comment?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:185 def allow_rbs_inline_annotation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:193 def allow_steep_annotation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:131 def allowed_on_first_line?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:165 def doxygen_comment_style?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#173 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:173 def gemfile?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:181 def gemfile_ruby_comment?(comment); end - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:127 def hash_mark(expr); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:157 def rackup_config_file?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:153 def rackup_options?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:189 def rbs_inline_annotation?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:177 def ruby_comment_in_gemfile?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:135 def shebang?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:139 def shebang_continuation?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:197 def steep_annotation?(comment); end end -# source://rubocop//lib/rubocop/cop/layout/leading_comment_space.rb#105 +# pkg:gem/rubocop#lib/rubocop/cop/layout/leading_comment_space.rb:105 RuboCop::Cop::Layout::LeadingCommentSpace::MSG = T.let(T.unsafe(nil), String) # Checks for unnecessary leading blank lines at the beginning @@ -13458,15 +13459,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -13506,48 +13507,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_continuation_leading_space.rb:133 def trailing_offense_range(end_of_first_line, matches); end class << self @@ -13557,21 +13558,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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -13598,58 +13599,58 @@ RuboCop::Cop::Layout::LineContinuationLeadingSpace::TRAILING_STYLE_OFFENSE = T.l # 'b' \ # 'c' # -# source://rubocop//lib/rubocop/cop/layout/line_continuation_spacing.rb#30 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_continuation_spacing.rb:140 def space_style?; end end @@ -13719,50 +13720,50 @@ end # 'in two parts' # } # -# source://rubocop//lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb#74 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -13821,7 +13822,7 @@ RuboCop::Cop::Layout::LineEndStringConcatenationIndentation::PARENT_TYPES_FOR_IN # baz: "0000000000", # } # -# source://rubocop//lib/rubocop/cop/layout/line_length.rb#63 +# pkg:gem/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 @@ -13830,114 +13831,114 @@ class RuboCop::Cop::Layout::LineLength < ::RuboCop::Cop::Base include ::RuboCop::Cop::LineLengthHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:70 def max=(value); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:91 def on_array(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:74 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:94 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:95 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:96 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:84 def on_dstr(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:92 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:104 def on_investigation_end; end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:78 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:98 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:77 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:88 def on_potential_breakable_node(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:93 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:80 def on_str(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#310 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:310 def allow_heredoc?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#318 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:318 def allow_string_split?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#385 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:385 def allowed_combination?(line, uri_range, qualified_name_range); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#314 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:314 def allowed_heredoc; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:267 def allowed_line?(line, line_index); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:182 def breakable_block_range(block_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#397 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:397 def breakable_dstr?(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#231 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:231 def breakable_dstr_begin_position(node); end # Returns the value of attribute breakable_range. # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:112 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#112 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:112 def breakable_range=(_arg0); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:190 def breakable_range_after_semicolon(semicolon_token); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:236 def breakable_range_by_line_index; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#173 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:173 def breakable_string?(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:240 def breakable_string_delimiters; end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:203 def breakable_string_position(node); end # Locate where to break a string that is too long, ensuring that escape characters @@ -13945,84 +13946,84 @@ 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#215 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:215 def breakable_string_range(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#352 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:352 def check_directive_line(line, line_index); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:135 def check_for_breakable_block(block_node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:158 def check_for_breakable_dstr(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:114 def check_for_breakable_node(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:127 def check_for_breakable_semicolons(processed_source); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:146 def check_for_breakable_str(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#255 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:255 def check_line(line, line_index); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#369 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:369 def check_line_for_exemptions(line, line_index); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#295 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:295 def excess_range(uri_range, line, line_index); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#322 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:322 def extract_heredocs(ast); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#244 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:244 def heredocs; end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#248 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:248 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#413 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:413 def largest_possible_string(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#341 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:341 def line_in_heredoc?(line_number); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#332 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:332 def line_in_permitted_heredoc?(line_number); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#306 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:306 def max; end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#379 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:379 def range_if_applicable(line, type); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#345 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:345 def receiver_contains_heredoc?(node); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#277 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:277 def register_offense(loc, line, line_index, length: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#273 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:273 def shebang?(line, line_index); end - # source://rubocop//lib/rubocop/cop/layout/line_length.rb#402 + # pkg:gem/rubocop#lib/rubocop/cop/layout/line_length.rb:402 def string_delimiter(node); end end -# source://rubocop//lib/rubocop/cop/layout/line_length.rb#72 +# pkg:gem/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 @@ -14109,26 +14110,26 @@ RuboCop::Cop::Layout::LineLength::MSG = T.let(T.unsafe(nil), String) # :b # ] # -# source://rubocop//lib/rubocop/cop/layout/multiline_array_brace_layout.rb#91 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -14170,23 +14171,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -14240,35 +14241,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -14317,66 +14318,66 @@ RuboCop::Cop::Layout::MultilineAssignmentLayout::SAME_LINE_OFFENSE = T.let(T.uns # bar(i) # } # -# source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#51 +# pkg:gem/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 + # pkg:gem/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#72 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:72 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#71 + # pkg:gem/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#99 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:99 def add_offense_for_expression(node, expr, msg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:76 def args_on_beginning_line?(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:106 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:121 def autocorrect_arguments(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:131 def autocorrect_body(corrector, node, block_body); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:143 def block_arg_string(node, args); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:91 def characters_needed_for_space_and_pipes(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:155 def include_trailing_comma?(args); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:80 def line_break_necessary_in_args?(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_block_layout.rb:84 def needed_length_for_args(node); end end -# source://rubocop//lib/rubocop/cop/layout/multiline_block_layout.rb#56 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -14463,26 +14464,26 @@ RuboCop::Cop::Layout::MultilineBlockLayout::PIPE_SIZE = T.let(T.unsafe(nil), Int # b: 2 # } # -# source://rubocop//lib/rubocop/cop/layout/multiline_hash_brace_layout.rb#91 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -14523,28 +14524,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -14619,26 +14620,26 @@ RuboCop::Cop::Layout::MultilineHashKeyLineBreaks::MSG = T.let(T.unsafe(nil), Str # } # ) # -# source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#80 +# pkg:gem/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#102 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb:102 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#86 + # pkg:gem/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#106 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb:106 def ignore_last_element?; end end -# source://rubocop//lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb#84 +# pkg:gem/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 @@ -14725,44 +14726,44 @@ RuboCop::Cop::Layout::MultilineMethodArgumentLineBreaks::MSG = T.let(T.unsafe(ni # b # ) # -# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#91 +# pkg:gem/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#112 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:112 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#109 + # pkg:gem/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#116 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:116 def children(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:120 def ignored_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb:124 def single_line_ignoring_receiver?(node); end end -# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb#103 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -14807,7 +14808,7 @@ RuboCop::Cop::Layout::MultilineMethodCallBraceLayout::SAME_LINE_MESSAGE = T.let( # .b # .c # -# source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#49 +# pkg:gem/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 @@ -14816,92 +14817,92 @@ class RuboCop::Cop::Layout::MultilineMethodCallIndentation < ::RuboCop::Cop::Bas # @raise [ValidationError] # - # source://rubocop//lib/rubocop/cop/layout/multiline_method_call_indentation.rb#55 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_call_indentation.rb:163 def syntactic_alignment_base(lhs, rhs); end end @@ -15001,29 +15002,29 @@ end # ) # end # -# source://rubocop//lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb#103 +# pkg:gem/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 + # pkg:gem/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#124 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -15075,26 +15076,26 @@ RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout::SAME_LINE_MESSAGE = # }) # end # -# source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#57 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb:63 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb:68 def on_defs(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb:72 def ignore_last_element?; end end -# source://rubocop//lib/rubocop/cop/layout/multiline_method_parameter_line_breaks.rb#61 +# pkg:gem/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 @@ -15135,49 +15136,49 @@ RuboCop::Cop::Layout::MultilineMethodParameterLineBreaks::MSG = T.let(T.unsafe(n # something_else # end # -# source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:45 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#51 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:51 def on_and(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:55 def on_or(node); end # @raise [ValidationError] # - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:59 def validate_config; end private - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:70 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:80 def check_and_or(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:113 def message(node, lhs, rhs); end - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:85 def offending_range(node, lhs, rhs, given_style); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:74 def relevant_node?(node); end - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:124 def right_hand_side(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/multiline_operation_indentation.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/layout/multiline_operation_indentation.rb:98 def should_align?(node, rhs, given_style); end end @@ -15245,41 +15246,41 @@ end # 123 # end # -# source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#70 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/parameter_alignment.rb:80 def on_def(node); end - # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#85 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/parameter_alignment.rb:89 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#101 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/parameter_alignment.rb:97 def fixed_indentation?; end - # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/layout/parameter_alignment.rb:93 def message(_node); end - # source://rubocop//lib/rubocop/cop/layout/parameter_alignment.rb#112 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -15323,71 +15324,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#49 +# pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:49 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#70 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:70 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:56 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:60 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:78 def check_assignment(node, _rhs); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:108 def configured_to_not_be_inspected?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:125 def convertible_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:74 def end_with_percent_blank_string?(processed_source); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:102 def index_access_call_chained?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:91 def offense?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:115 def other_cop_takes_precedence?(node); end - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:84 def register_offense(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:98 def require_backslash?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:121 def single_line_block_chain_enabled?; end end -# source://rubocop//lib/rubocop/cop/layout/redundant_line_break.rb#54 +# pkg:gem/rubocop#lib/rubocop/cop/layout/redundant_line_break.rb:54 RuboCop::Cop::Layout::RedundantLineBreak::MSG = T.let(T.unsafe(nil), String) # Checks whether the rescue and ensure keywords are aligned @@ -15409,89 +15410,89 @@ 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 +# pkg:gem/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#39 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:39 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:43 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:35 def on_resbody(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:185 def access_modifier?(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:163 def access_modifier_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:149 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#136 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:136 def aligned_with_line_break_method?(ancestor_node, node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:194 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#116 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:116 def alignment_node(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:95 def alignment_source(node, starting_loc); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:132 def ancestor_node(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:155 def assignment_node(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:72 def autocorrect(corrector, node, alignment_location); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:210 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#56 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:56 def check(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:82 def format_message(alignment_node, alignment_loc, kw_loc); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:172 def modifier?(node); end - # source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:178 def whitespace_range(node); end end -# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/layout/rescue_ensure_alignment.rb:33 RuboCop::Cop::Layout::RescueEnsureAlignment::ALTERNATIVE_ACCESS_MODIFIERS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/layout/rescue_ensure_alignment.rb#32 +# pkg:gem/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#29 +# pkg:gem/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 @@ -15510,37 +15511,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 +# pkg:gem/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#36 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -15554,28 +15555,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -15590,22 +15591,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_after_comma.rb:32 def before_semicolon?(token); end end @@ -15621,19 +15622,19 @@ end # def func(x) end # def method=(y) end # -# source://rubocop//lib/rubocop/cop/layout/space_after_method_name.rb#17 +# pkg:gem/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 + # pkg:gem/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#35 + # pkg:gem/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 +# pkg:gem/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 `!`. @@ -15645,26 +15646,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -15676,27 +15677,27 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_after_semicolon.rb:23 def kind(token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_after_semicolon.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_after_semicolon.rb:27 def space_missing?(token1, token2); end - # source://rubocop//lib/rubocop/cop/layout/space_after_semicolon.rb#18 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_after_semicolon.rb:18 def space_style_before_rcurly; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_after_semicolon.rb#33 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_after_semicolon.rb:33 def semicolon_sequence?(token, next_token); end end @@ -15721,59 +15722,59 @@ end # {}.each { | x, y | puts x } # ->( x, y ) { puts x } # -# source://rubocop//lib/rubocop/cop/layout/space_around_block_parameters.rb#27 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_block_parameters.rb:52 def style_parameter_name; end end @@ -15801,42 +15802,42 @@ end # # do something... # end # -# source://rubocop//lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb#30 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -15865,193 +15866,193 @@ RuboCop::Cop::Layout::SpaceAroundEqualsInParameterDefault::MSG = T.let(T.unsafe( # # return (foo + bar) # -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#32 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:32 class RuboCop::Cop::Layout::SpaceAroundKeyword < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:46 def on_and(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:50 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:54 def on_break(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:58 def on_case(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:62 def on_case_match(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#162 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:162 def on_defined?(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:66 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:70 def on_for(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:74 def on_if(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:78 def on_if_guard(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:82 def on_in_pattern(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:86 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#91 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:91 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#98 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:98 def on_match_pattern_p(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:102 def on_next(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:106 def on_or(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:110 def on_postexe(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:114 def on_preexe(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:118 def on_resbody(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:122 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:126 def on_return(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:130 def on_send(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:134 def on_super(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:142 def on_unless_guard(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:146 def on_until(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:150 def on_when(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:154 def on_while(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:158 def on_yield(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:138 def on_zsuper(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#241 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:241 def accept_left_parenthesis?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:245 def accept_left_square_bracket?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#249 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:249 def accept_namespace_operator?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#234 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:234 def accepted_opening_delimiter?(range, char); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:168 def check(node, locations, begin_keyword = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:183 def check_begin(node, range, begin_keyword); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:189 def check_end(node, range, begin_keyword); end - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#202 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:202 def check_keyword(node, range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:198 def do?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#257 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:257 def namespace_operator?(range, pos); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#261 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:261 def preceded_by_operator?(node, _range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#253 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:253 def safe_navigation_call?(range, pos); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#223 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:223 def space_after_missing?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:216 def space_before_missing?(range); end end -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#41 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:41 RuboCop::Cop::Layout::SpaceAroundKeyword::ACCEPT_LEFT_PAREN = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#42 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:42 RuboCop::Cop::Layout::SpaceAroundKeyword::ACCEPT_LEFT_SQUARE_BRACKET = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#43 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:43 RuboCop::Cop::Layout::SpaceAroundKeyword::ACCEPT_NAMESPACE_OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#38 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:38 RuboCop::Cop::Layout::SpaceAroundKeyword::DO = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#36 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:36 RuboCop::Cop::Layout::SpaceAroundKeyword::MSG_AFTER = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#35 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:35 RuboCop::Cop::Layout::SpaceAroundKeyword::MSG_BEFORE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#40 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:40 RuboCop::Cop::Layout::SpaceAroundKeyword::NAMESPACE_OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#44 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:44 RuboCop::Cop::Layout::SpaceAroundKeyword::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/layout/space_around_keyword.rb#39 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_keyword.rb:39 RuboCop::Cop::Layout::SpaceAroundKeyword::SAFE_NAVIGATION = T.let(T.unsafe(nil), String) # Checks method call operators to not have spaces around them. @@ -16085,39 +16086,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 +# pkg:gem/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 + # pkg:gem/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#51 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -16176,159 +16177,159 @@ RuboCop::Cop::Layout::SpaceAroundMethodCallOperator::SPACES_REGEXP = T.let(T.uns # # good # 1 / 48r # -# source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#67 +# pkg:gem/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#163 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:163 def on_and(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:171 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#115 + # pkg:gem/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 + # pkg:gem/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#165 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:165 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#124 + # pkg:gem/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#168 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:168 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:169 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#92 + # pkg:gem/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#167 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:167 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:164 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:166 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:154 def on_match_alt(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:158 def on_match_as(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#148 + # pkg:gem/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#172 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:172 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#162 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:162 def on_or(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:170 def on_or_asgn(node); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#84 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#266 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:266 def align_hash_cop_config; end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#205 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:205 def autocorrect(corrector, range, right_operand); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:186 def check_operator(type, operator, right_operand); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#219 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:219 def enclose_operator_with_space(corrector, range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#246 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:246 def excess_leading_space?(type, operator, with_space); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#261 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:261 def excess_trailing_space?(right_operand, with_space); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#287 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:287 def force_equal_sign_alignment?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#270 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:270 def hash_table_style?; end # @yield [msg] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:200 def offense(type, operator, with_space, right_operand); end - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:232 def offense_message(type, operator, with_space, right_operand); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:182 def operator_with_regular_syntax?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#176 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:176 def regular_operator?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#291 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:291 def should_not_have_surrounding_space?(operator, right_operand); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#277 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:277 def space_around_exponent_operator?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#281 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_around_operators.rb:281 def space_around_slash_operator?(right_operand); end class << self - # source://rubocop//lib/rubocop/cop/layout/space_around_operators.rb#76 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -16367,67 +16368,67 @@ 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 +# pkg:gem/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 + # pkg:gem/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#80 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:80 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#79 + # pkg:gem/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#134 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:134 def autocorrect(corrector, range); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:154 def block_delimiters_style; end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:84 def check_empty(left_brace, space_plus_brace, used_style); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:110 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#150 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:150 def conflict_with_block_delimiters?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:158 def empty_braces?(loc); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:102 def handle_different_styles_for_empty_braces(used_style); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:125 def space_detected(left_brace, space_plus_brace); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:118 def space_missing(left_brace); end - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_block_braces.rb:141 def style_for_empty_braces; end class << self - # source://rubocop//lib/rubocop/cop/layout/space_before_block_braces.rb#52 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -16441,19 +16442,19 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_brackets.rb:24 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/layout/space_before_brackets.rb#21 +# pkg:gem/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 +# pkg:gem/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. @@ -16469,13 +16470,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_comma.rb:23 def kind(token); end end @@ -16489,15 +16490,15 @@ end # # good # 1 + 1 # this operation does ... # -# source://rubocop//lib/rubocop/cop/layout/space_before_comment.rb#15 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -16518,42 +16519,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 +# pkg:gem/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#47 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -16565,13 +16566,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_before_semicolon.rb:18 def kind(token); end end @@ -16591,41 +16592,41 @@ end # # good # a = -> (x, y) { x + y } # -# source://rubocop//lib/rubocop/cop/layout/space_in_lambda_literal.rb#22 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -16696,89 +16697,89 @@ 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#78 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:78 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#86 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:86 def on_array(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:102 def on_array_pattern(node); end private - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:124 def array_brackets(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:110 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:232 def compact(corrector, bracket, side); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:218 def compact_corrections(corrector, node, left, right); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:210 def compact_offense(node, token, side: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:172 def compact_offenses(node, left, right, start_ok, end_ok); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:133 def empty_config; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:141 def end_has_own_line?(token); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:106 def find_node_with_brackets(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:148 def index_for(node, token); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#156 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:156 def issue_offenses(node, left, right, start_ok, end_ok); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:152 def line_and_column_for(token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:193 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#204 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:204 def next_to_bracket?(token, side: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:168 def next_to_comment?(node, token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:137 def next_to_newline?(node, token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:185 def qualifies_for_compact?(node, token, side: T.unsafe(nil)); end end -# source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#84 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:84 RuboCop::Cop::Layout::SpaceInsideArrayLiteralBrackets::EMPTY_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb#83 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb:83 RuboCop::Cop::Layout::SpaceInsideArrayLiteralBrackets::MSG = T.let(T.unsafe(nil), String) # Checks for unnecessary additional spaces inside array percent literals @@ -16794,29 +16795,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -16885,80 +16886,80 @@ 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 +# pkg:gem/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 + # pkg:gem/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#106 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:106 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#105 + # pkg:gem/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#127 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:127 def adjacent_braces(left_brace, right_brace); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:166 def aligned_braces?(inner, right_brace, column); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:135 def braces_with_contents_inside(node, inner); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:110 def check_inside(node, left_brace, right_brace); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:142 def check_left_brace(inner, left_brace, args_delimiter); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:150 def check_right_brace(node, inner, left_brace, right_brace, single_line); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:170 def inner_last_space_count(inner); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#162 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:162 def multiline_block?(left_brace, right_brace); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#227 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:227 def no_space(begin_pos, end_pos, msg); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:174 def no_space_inside_left_brace(left_brace, args_delimiter); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#243 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:243 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#206 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:206 def pipe?(args_delimiter); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#235 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:235 def space(begin_pos, end_pos, msg); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:191 def space_inside_left_brace(left_brace, args_delimiter); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:210 def space_inside_right_brace(inner, right_brace, column); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#258 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:258 def style_for_empty_braces; end class << self - # source://rubocop//lib/rubocop/cop/layout/space_inside_block_braces.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_block_braces.rb:85 def autocorrect_incompatible_with; end end end @@ -17029,68 +17030,68 @@ end # foo = { # } # -# source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#76 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:76 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#84 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:84 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:92 def on_hash_pattern(node); end private - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:144 def ambiguous_or_unexpected_style_detected(style, is_match); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:136 def autocorrect(corrector, range); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:96 def check(token1, token2); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:191 def check_whitespace_only_hash(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#209 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:209 def enforce_no_space_style_for_empty_braces?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:111 def expect_space?(token1, token2); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:124 def incorrect_style_detected(token1, token2, expect_space, is_empty_braces); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:157 def message(brace, is_empty_braces, expect_space); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:152 def offense?(token1, expect_space); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:203 def range_inside_hash(node); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:183 def range_of_space_to_the_left(range); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#175 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:175 def range_of_space_to_the_right(range); end - # source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:167 def space_range(token_range); end end -# source://rubocop//lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb#82 +# pkg:gem/rubocop#lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb:82 RuboCop::Cop::Layout::SpaceInsideHashLiteralBraces::MSG = T.let(T.unsafe(nil), String) # Checks for spaces inside ordinary round parentheses. @@ -17142,61 +17143,61 @@ RuboCop::Cop::Layout::SpaceInsideHashLiteralBraces::MSG = T.let(T.unsafe(nil), S # g = ( a + 3 ) # y() # -# source://rubocop//lib/rubocop/cop/layout/space_inside_parens.rb#57 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -17230,44 +17231,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -17285,23 +17286,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -17354,44 +17355,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -17409,7 +17410,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 +# pkg:gem/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 @@ -17417,19 +17418,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -17465,31 +17466,31 @@ RuboCop::Cop::Layout::SpaceInsideStringInterpolation::MSG = T.let(T.unsafe(nil), # class Foo; end # # EOF # -# source://rubocop//lib/rubocop/cop/layout/trailing_empty_lines.rb#40 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/trailing_empty_lines.rb:67 def offense_detected(buffer, wanted_blank_lines, blank_lines, whitespace_at_end); end end @@ -17527,103 +17528,103 @@ end # x = 0 # RUBY # -# source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#42 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/trailing_whitespace.rb:57 def on_heredoc(_node); end - # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#49 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/trailing_whitespace.rb:112 def extract_heredocs(ast); end - # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#103 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/layout/trailing_whitespace.rb:108 def heredocs; end - # source://rubocop//lib/rubocop/cop/layout/trailing_whitespace.rb#125 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/legacy/corrections_proxy.rb:9 def initialize(corrector); end - # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#13 + # pkg:gem/rubocop#lib/rubocop/cop/legacy/corrections_proxy.rb:13 def <<(callable); end - # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#21 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/legacy/corrections_proxy.rb:31 def corrector; end private - # source://rubocop//lib/rubocop/cop/legacy/corrections_proxy.rb#35 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/correctors/line_break_corrector.rb:7 class RuboCop::Cop::LineBreakCorrector extend ::RuboCop::Cop::Alignment extend ::RuboCop::Cop::TrailingBody @@ -17631,38 +17632,38 @@ class RuboCop::Cop::LineBreakCorrector extend ::RuboCop::Cop::Util class << self - # source://rubocop//lib/rubocop/cop/correctors/line_break_corrector.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:6 module RuboCop::Cop::LineLengthHelp include ::RuboCop::Cop::Alignment @@ -17670,66 +17671,66 @@ module RuboCop::Cop::LineLengthHelp # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#28 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:28 def allow_qualified_name?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#24 + # pkg:gem/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#32 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:32 def allowed_position?(line, range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#15 + # pkg:gem/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#85 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:85 def extend_end_position(line, end_position); end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:40 def find_excessive_range(line, type); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#11 + # pkg:gem/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#72 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:72 def indentation_difference(line); end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:36 def line_length(line); end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:127 def line_length_without_directive(line); end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:64 def match_qualified_names(string); end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:56 def match_uris(string); end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:116 def qualified_name_regexp; end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:101 def tab_indentation_width; end - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:106 def uri_regexp; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/line_length_help.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/line_length_help.rb:120 def valid_uri?(uri_ish_string); end end -# source://rubocop//lib/rubocop/cop/mixin/unused_argument.rb#5 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/unused_argument.rb:5 module RuboCop::Cop::Lint; end # Checks for mistyped shorthand assignments. @@ -17747,41 +17748,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_assignment.rb:30 def on_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_assignment.rb:40 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_assignment.rb:40 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_assignment.rb:40 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_assignment.rb:40 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#40 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_assignment.rb:44 def rhs(node); end end -# source://rubocop//lib/rubocop/cop/lint/ambiguous_assignment.rb#28 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -17826,38 +17827,38 @@ RuboCop::Cop::Lint::AmbiguousAssignment::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsaf # # bad # expect { do_something }.to change { object.attribute } # -# source://rubocop//lib/rubocop/cop/lint/ambiguous_block_association.rb#52 +# pkg:gem/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#75 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -17876,44 +17877,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_operator.rb:80 def message(diagnostic); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_operator.rb#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -17941,50 +17942,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -18035,41 +18036,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#62 +# pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:62 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#77 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:77 def on_erange(node); end - # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:68 def on_irange(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:87 def acceptable?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:95 def acceptable_call?(node); end # @yield [range.begin] # - # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:81 def each_boundary(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:107 def require_parentheses_for_method_chain?; end end -# source://rubocop//lib/rubocop/cop/lint/ambiguous_range.rb#66 +# pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_range.rb:66 RuboCop::Cop::Lint::AmbiguousRange::MSG = T.let(T.unsafe(nil), String) # Checks for ambiguous regexp literals in the first argument of @@ -18089,33 +18090,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/lint/ambiguous_regexp_literal.rb:25 RuboCop::Cop::Lint::AmbiguousRegexpLiteral::MSG = T.let(T.unsafe(nil), String) # Checks for an array literal interpolated inside a regexp. @@ -18149,55 +18150,55 @@ RuboCop::Cop::Lint::AmbiguousRegexpLiteral::MSG = T.let(T.unsafe(nil), String) # # bad - construct a regexp rather than interpolate an array of identifiers # /#{[foo, bar]}/ # -# source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#41 +# pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:41 class RuboCop::Cop::Lint::ArrayLiteralInRegexp < ::RuboCop::Cop::Base include ::RuboCop::Cop::Interpolation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:53 def on_interpolation(begin_node); end private - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:106 def alternation_for(values); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:67 def array_of_literal_values?(node); end - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:92 def array_values(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:98 def character_class?(values); end - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:102 def character_class_for(values); end - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:110 def escape_values(values); end - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:71 def register_array_of_literal_values(begin_node, node); end - # source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:87 def register_array_of_nonliteral_values(node); end end -# source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:45 RuboCop::Cop::Lint::ArrayLiteralInRegexp::LITERAL_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#49 +# pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:49 RuboCop::Cop::Lint::ArrayLiteralInRegexp::MSG_ALTERNATION = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#48 +# pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:48 RuboCop::Cop::Lint::ArrayLiteralInRegexp::MSG_CHARACTER_CLASS = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/array_literal_in_regexp.rb#50 +# pkg:gem/rubocop#lib/rubocop/cop/lint/array_literal_in_regexp.rb:50 RuboCop::Cop::Lint::ArrayLiteralInRegexp::MSG_UNKNOWN = T.let(T.unsafe(nil), String) # Checks for assignments in the conditions of @@ -18229,51 +18230,51 @@ RuboCop::Cop::Lint::ArrayLiteralInRegexp::MSG_UNKNOWN = T.let(T.unsafe(nil), Str # do_something # end # -# source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#41 +# pkg:gem/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 + # pkg:gem/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#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:68 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:67 def on_while(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:80 def allowed_construct?(asgn_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:84 def conditional_assignment?(asgn_node); end - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:72 def message(_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:88 def skip_children?(asgn_node); end - # source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/lint/assignment_in_condition.rb:94 def traverse_node(node, &block); end end -# source://rubocop//lib/rubocop/cop/lint/assignment_in_condition.rb#53 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -18287,21 +18288,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -18333,22 +18334,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 +# pkg:gem/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 + # pkg:gem/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#62 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -18368,23 +18369,23 @@ RuboCop::Cop::Lint::BinaryOperatorWithIdenticalOperands::RESTRICT_ON_SEND = T.le # # good # false # -# source://rubocop//lib/rubocop/cop/lint/boolean_symbol.rb#27 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -18420,23 +18421,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#38 +# pkg:gem/rubocop#lib/rubocop/cop/lint/circular_argument_reference.rb:38 class RuboCop::Cop::Lint::CircularArgumentReference < ::RuboCop::Cop::Base extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/lint/circular_argument_reference.rb:43 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/lint/circular_argument_reference.rb:47 def on_optarg(node); end private - # source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/lint/circular_argument_reference.rb:53 def check_for_circular_argument_references(arg_name, arg_value); end end -# source://rubocop//lib/rubocop/cop/lint/circular_argument_reference.rb#41 +# pkg:gem/rubocop#lib/rubocop/cop/lint/circular_argument_reference.rb:41 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 @@ -18496,32 +18497,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#90 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 =>``. @@ -18544,24 +18545,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -18623,54 +18624,54 @@ RuboCop::Cop::Lint::ConstantOverwrittenInRescue::MSG = T.let(T.unsafe(nil), Stri # X = :bar # end # -# source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#65 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:76 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:84 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#71 + # pkg:gem/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#135 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:135 def ancestor_namespaces(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:142 def constant_names; end - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:131 def constant_namespaces(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#98 + # pkg:gem/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#111 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:111 def freeze_method?(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:115 def fully_qualified_constant_name(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_reassignment.rb:127 def fully_qualified_name_for(namespaces, constant); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/constant_reassignment.rb#102 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -18727,29 +18728,29 @@ RuboCop::Cop::Lint::ConstantReassignment::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # # good # User::Login # -# source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#62 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_resolution.rb:70 def on_const(node); end - # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_resolution.rb:78 def const_name?(name); end - # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/lint/constant_resolution.rb:87 def ignored_names; end end -# source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#63 +# pkg:gem/rubocop#lib/rubocop/cop/lint/constant_resolution.rb:63 RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String) # are strictly formatted. @@ -18788,30 +18789,30 @@ RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String) # # good # # rubocop:disable Layout/LineLength -- comment # -# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:45 class RuboCop::Cop::Lint::CopDirectiveSyntax < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:54 def on_new_investigation; end private - # source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:68 def offense_message(directive_comment); end end -# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#46 +# pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:46 RuboCop::Cop::Lint::CopDirectiveSyntax::COMMON_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#49 +# pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:49 RuboCop::Cop::Lint::CopDirectiveSyntax::INVALID_MODE_NAME_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#51 +# pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:51 RuboCop::Cop::Lint::CopDirectiveSyntax::MALFORMED_COP_NAMES_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#50 +# pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:50 RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_COP_NAME_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#48 +# pkg:gem/rubocop#lib/rubocop/cop/lint/cop_directive_syntax.rb:48 RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_MODE_NAME_MSG = T.let(T.unsafe(nil), String) # Checks for debug calls (such as `debugger` or `binding.pry`) that should @@ -18881,50 +18882,50 @@ RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_MODE_NAME_MSG = T.let(T.unsafe(n # # require 'my_debugger/start' # -# source://rubocop//lib/rubocop/cop/lint/debugger.rb#74 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:78 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:136 def assumed_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:115 def assumed_usage_context?(node); end - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:125 def chained_method_name(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:104 def debugger_method?(send_node); end - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:90 def debugger_methods; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:108 def debugger_require?(send_node); end - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:97 def debugger_requires; end - # source://rubocop//lib/rubocop/cop/lint/debugger.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/lint/debugger.rb:86 def message(node); end end -# source://rubocop//lib/rubocop/cop/lint/debugger.rb#76 +# pkg:gem/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 +# pkg:gem/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. @@ -18955,45 +18956,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -19030,29 +19031,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/deprecated_constants.rb:82 def deprecated_constants; end - # source://rubocop//lib/rubocop/cop/lint/deprecated_constants.rb#72 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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` @@ -19079,54 +19080,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#133 + # pkg:gem/rubocop#lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb:133 def build_cipher_arguments(node, algorithm_name, no_arguments); end - # source://rubocop//lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb#93 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -19149,26 +19150,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -19178,11 +19179,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 + # pkg:gem/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 +# pkg:gem/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 @@ -19275,68 +19276,68 @@ RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor::MSG = T.let(T.unsafe(nil # else 250 # end # -# source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#99 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_branch.rb:102 def on_branching_statement(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_branch.rb:110 def on_case(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#111 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_branch.rb:114 def on_if(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#112 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_branch.rb:163 def literal_branch?(branch); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_branch.rb#122 + # pkg:gem/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 +# pkg:gem/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 @@ -19360,13 +19361,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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'. @@ -19386,13 +19387,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -19408,15 +19409,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -19441,25 +19442,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -19546,20 +19547,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -19654,92 +19655,92 @@ RuboCop::Cop::Lint::DuplicateMatchPattern::MSG = T.let(T.unsafe(nil), String) # delegate :foo, to: :bar # end # -# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#100 +# pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:100 class RuboCop::Cop::Lint::DuplicateMethods < ::RuboCop::Cop::Base # @return [DuplicateMethods] a new instance of DuplicateMethods # - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:105 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:145 def alias_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:150 def delegate_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:131 def method_alias?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:135 def on_alias(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:111 def on_def(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:119 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:160 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:158 def sym_name(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#179 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:179 def check_const_receiver(node, name, const_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:186 def check_self_receiver(node, name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:208 def delegate_prefix(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#296 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:296 def found_attr(node, args, readable: T.unsafe(nil), writable: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:224 def found_instance_method(node, name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#247 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:247 def found_method(node, method_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#237 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:237 def found_sclass_method(node, name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#220 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:220 def hash_value(node, key); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#274 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:274 def location(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#306 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:306 def lookup_constant(node, const_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:193 def message_for_dup(node, method_name, key); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#266 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:266 def method_key(node, method_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#282 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:282 def on_attr(node, attr_name, args); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:198 def on_delegate(node, method_names); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#324 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:324 def qualified_name(enclosing, namespace, mod_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#338 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:338 def source_location(node); end end -# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#101 +# pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:101 RuboCop::Cop::Lint::DuplicateMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#102 +# pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_methods.rb:102 RuboCop::Cop::Lint::DuplicateMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for duplicate elements in `Regexp` character classes. @@ -19758,28 +19759,28 @@ 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 +# pkg:gem/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#35 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb:35 def each_repeated_character_class_element_loc(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb:27 def on_regexp(node); end private - # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb:52 def group_expressions(node, expressions); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb:73 def interpolation_locs(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb:60 def skip_expression?(expr); end # Since we blank interpolations with a space for every char of the interpolation, we would @@ -19788,11 +19789,11 @@ class RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement < ::RuboCop::Cop: # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb:67 def within_interpolation?(node, child); end end -# source://rubocop//lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb#25 +# pkg:gem/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) # Checks for duplicate ``require``s and ``require_relative``s. @@ -19811,28 +19812,28 @@ RuboCop::Cop::Lint::DuplicateRegexpCharacterClassElement::MSG_REPEATED_ELEMENT = # require 'foo' # require_relative 'foo' # -# source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#26 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_require.rb:39 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/lint/duplicate_require.rb:45 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_require.rb#35 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -19857,15 +19858,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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`. @@ -19902,29 +19903,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 +# pkg:gem/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#71 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -19942,22 +19943,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 +# pkg:gem/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 + # pkg:gem/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#36 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -19996,28 +19997,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/else_layout.rb:59 def check(node); end - # source://rubocop//lib/rubocop/cop/lint/else_layout.rb#69 + # pkg:gem/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 +# pkg:gem/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. @@ -20073,30 +20074,30 @@ RuboCop::Cop::Lint::ElseLayout::MSG = T.let(T.unsafe(nil), String) # # Proc.new { } # -# source://rubocop//lib/rubocop/cop/lint/empty_block.rb#63 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -20163,26 +20164,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_class.rb:76 def on_class(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_class.rb#81 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -20242,48 +20243,48 @@ RuboCop::Cop::Lint::EmptyClass::METACLASS_MSG = T.let(T.unsafe(nil), String) # # noop # end # -# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#65 +# pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:65 class RuboCop::Cop::Lint::EmptyConditionalBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:71 def on_if(node); end private - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:125 def branch_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:94 def can_simplify_conditional?(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:133 def deletion_range(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:121 def else_branch?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:113 def empty_if_branch?(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:108 def flip_orphaned_else(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:86 def offense_range(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:98 def remove_empty_branch(corrector, node); end end -# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#69 +# pkg:gem/rubocop#lib/rubocop/cop/lint/empty_conditional_body.rb:69 RuboCop::Cop::Lint::EmptyConditionalBody::MSG = T.let(T.unsafe(nil), String) # Checks for empty `ensure` blocks. @@ -20316,15 +20317,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -20345,20 +20346,20 @@ RuboCop::Cop::Lint::EmptyEnsure::MSG = T.let(T.unsafe(nil), String) # bar # end # -# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#23 +# pkg:gem/rubocop#lib/rubocop/cop/lint/empty_expression.rb:23 class RuboCop::Cop::Lint::EmptyExpression < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#26 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_expression.rb:26 def on_begin(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#34 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_expression.rb:34 def empty_expression?(begin_node); end end -# source://rubocop//lib/rubocop/cop/lint/empty_expression.rb#24 +# pkg:gem/rubocop#lib/rubocop/cop/lint/empty_expression.rb:24 RuboCop::Cop::Lint::EmptyExpression::MSG = T.let(T.unsafe(nil), String) # Enforces that Ruby source files are not empty. @@ -20376,30 +20377,30 @@ RuboCop::Cop::Lint::EmptyExpression::MSG = T.let(T.unsafe(nil), String) # # good # # File consisting only of comments # -# source://rubocop//lib/rubocop/cop/lint/empty_file.rb#23 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_file.rb:32 def offending?; end end -# source://rubocop//lib/rubocop/cop/lint/empty_file.rb#24 +# pkg:gem/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. @@ -20439,16 +20440,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -20461,23 +20462,23 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_interpolation.rb:21 def on_interpolation(begin_node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_interpolation.rb#33 + # pkg:gem/rubocop#lib/rubocop/cop/lint/empty_interpolation.rb:33 def in_percent_literal_array?(begin_node); end end -# source://rubocop//lib/rubocop/cop/lint/empty_interpolation.rb#19 +# pkg:gem/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. @@ -20517,15 +20518,15 @@ RuboCop::Cop::Lint::EmptyInterpolation::MSG = T.let(T.unsafe(nil), String) # # noop # end # -# source://rubocop//lib/rubocop/cop/lint/empty_when.rb#45 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -20565,13 +20566,13 @@ RuboCop::Cop::Lint::EmptyWhen::MSG = T.let(T.unsafe(nil), String) # cleanup # end # -# source://rubocop//lib/rubocop/cop/lint/ensure_return.rb#42 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -20629,48 +20630,48 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#115 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -20693,16 +20694,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/flip_flop.rb:32 def on_eflipflop(node); end - # source://rubocop//lib/rubocop/cop/lint/flip_flop.rb#28 + # pkg:gem/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 +# pkg:gem/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. @@ -20753,59 +20754,59 @@ 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#54 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:54 class RuboCop::Cop::Lint::FloatComparison < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:78 def on_case(node); end - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:76 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:65 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:90 def float?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:111 def float_send?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:105 def literal_safe?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:122 def numeric_returning_method?(node); end end -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:59 RuboCop::Cop::Lint::FloatComparison::EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#61 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:61 RuboCop::Cop::Lint::FloatComparison::FLOAT_INSTANCE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:60 RuboCop::Cop::Lint::FloatComparison::FLOAT_RETURNING_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#57 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:57 RuboCop::Cop::Lint::FloatComparison::MSG_CASE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#55 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:55 RuboCop::Cop::Lint::FloatComparison::MSG_EQUALITY = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#56 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:56 RuboCop::Cop::Lint::FloatComparison::MSG_INEQUALITY = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#63 +# pkg:gem/rubocop#lib/rubocop/cop/lint/float_comparison.rb:63 RuboCop::Cop::Lint::FloatComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Identifies `Float` literals which are, like, really really really @@ -20820,13 +20821,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -20851,120 +20852,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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` @@ -20984,22 +20985,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 +# pkg:gem/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 + # pkg:gem/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#44 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -21025,21 +21026,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -21067,77 +21068,77 @@ RuboCop::Cop::Lint::HashNewWithKeywordArgumentsAsDefault::RESTRICT_ON_SEND = T.l # bar # SQL # -# source://rubocop//lib/rubocop/cop/lint/heredoc_method_call_position.rb#31 +# pkg:gem/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#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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`. @@ -21154,21 +21155,21 @@ RuboCop::Cop::Lint::HeredocMethodCallPosition::MSG = T.let(T.unsafe(nil), String # foo.equal?(bar) # !foo.equal?(baz) # -# source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#20 +# pkg:gem/rubocop#lib/rubocop/cop/lint/identity_comparison.rb:20 class RuboCop::Cop::Lint::IdentityComparison < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/lint/identity_comparison.rb:27 def object_id_comparison(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/lint/identity_comparison.rb:35 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#23 +# pkg:gem/rubocop#lib/rubocop/cop/lint/identity_comparison.rb:23 RuboCop::Cop::Lint::IdentityComparison::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/identity_comparison.rb#24 +# pkg:gem/rubocop#lib/rubocop/cop/lint/identity_comparison.rb:24 RuboCop::Cop::Lint::IdentityComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for implicit string concatenation of string literals @@ -21187,45 +21188,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -21252,31 +21253,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -21315,49 +21316,49 @@ RuboCop::Cop::Lint::IncompatibleIoSelectWithFiberScheduler::RESTRICT_ON_SEND = T # end # end # -# source://rubocop//lib/rubocop/cop/lint/ineffective_access_modifier.rb#41 +# pkg:gem/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 + # pkg:gem/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#55 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -21389,46 +21390,46 @@ RuboCop::Cop::Lint::IneffectiveAccessModifier::MSG = T.let(T.unsafe(nil), String # # C = Class.new(StandardError) # -# source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#40 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/inherit_exception.rb:59 def on_class(node); end - # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#70 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/inherit_exception.rb:83 def message(node); end - # source://rubocop//lib/rubocop/cop/lint/inherit_exception.rb#99 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -21441,30 +21442,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -21488,24 +21489,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -21530,21 +21531,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -21580,87 +21581,87 @@ 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#38 +# pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:38 class RuboCop::Cop::Lint::LiteralAsCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:174 def message(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:45 def on_and(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:137 def on_case(case_node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:154 def on_case_match(case_match_node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:69 def on_if(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:57 def on_or(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:168 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:107 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:122 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:77 def on_while(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:92 def on_while_post(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:189 def basic_literal?(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#221 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:221 def check_case(case_node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:180 def check_for_literal(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:201 def check_node(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#230 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:230 def condition(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:245 def condition_evaluation?(node, cond); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#254 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:254 def correct_if_node(node, cond); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:211 def handle_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:197 def primitive_array?(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#238 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:238 def when_conditions_range(when_node); end end -# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#42 +# pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:42 RuboCop::Cop::Lint::LiteralAsCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#43 +# pkg:gem/rubocop#lib/rubocop/cop/lint/literal_as_condition.rb:43 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`. @@ -21692,39 +21693,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 +# pkg:gem/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 + # pkg:gem/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#52 + # pkg:gem/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#51 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -21740,84 +21741,84 @@ 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#18 +# pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:18 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#28 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:28 def on_interpolation(begin_node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:72 def array_in_regexp?(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:78 def autocorrected_value(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:145 def autocorrected_value_for_array(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:151 def autocorrected_value_for_hash(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:121 def autocorrected_value_for_string(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:129 def autocorrected_value_for_symbol(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#162 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:162 def autocorrected_value_in_hash(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:136 def autocorrected_value_in_hash_for_symbol(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#192 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:192 def ends_heredoc_line?(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:100 def handle_special_regexp_chars(begin_node, value); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:200 def in_array_percent_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:57 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#183 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:183 def prints_as_self?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:188 def space_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:67 def special_keyword?(node); end end -# source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#25 +# pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:25 RuboCop::Cop::Lint::LiteralInInterpolation::COMPOSITE = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/literal_in_interpolation.rb#24 +# pkg:gem/rubocop#lib/rubocop/cop/lint/literal_in_interpolation.rb:24 RuboCop::Cop::Lint::LiteralInInterpolation::MSG = T.let(T.unsafe(nil), String) # Checks for uses of `begin...end while/until something`. @@ -21854,29 +21855,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/loop.rb:53 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/lint/loop.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/lint/loop.rb:49 def on_while_post(node); end private - # source://rubocop//lib/rubocop/cop/lint/loop.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/lint/loop.rb:73 def build_break_line(node); end - # source://rubocop//lib/rubocop/cop/lint/loop.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/lint/loop.rb:69 def keyword_and_condition_range(node); end - # source://rubocop//lib/rubocop/cop/lint/loop.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/lint/loop.rb:59 def register_offense(node); end end -# source://rubocop//lib/rubocop/cop/lint/loop.rb#47 +# pkg:gem/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 @@ -21922,39 +21923,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#55 +# pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:55 class RuboCop::Cop::Lint::MissingCopEnableDirective < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp - # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:61 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#79 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:79 def acceptable_range?(cop, line_range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:113 def department_enabled?(cop, comment); end - # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:73 def each_missing_enable; end - # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:96 def max_range; end - # source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:100 def message(cop, comment, type = T.unsafe(nil)); end end -# source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#58 +# pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:58 RuboCop::Cop::Lint::MissingCopEnableDirective::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/missing_cop_enable_directive.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/lint/missing_cop_enable_directive.rb:59 RuboCop::Cop::Lint::MissingCopEnableDirective::MSG_BOUND = T.let(T.unsafe(nil), String) # Checks for the presence of constructors and lifecycle callbacks @@ -22035,64 +22036,64 @@ RuboCop::Cop::Lint::MissingCopEnableDirective::MSG_BOUND = T.let(T.unsafe(nil), # end # end # -# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#85 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_super.rb:105 def on_def(node); end - # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#115 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_super.rb:149 def allowed_class?(node); end - # source://rubocop//lib/rubocop/cop/lint/missing_super.rb#153 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/missing_super.rb:123 def offender?(node); end end -# source://rubocop//lib/rubocop/cop/lint/missing_super.rb#96 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -22110,57 +22111,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 +# pkg:gem/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 + # pkg:gem/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#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -22181,13 +22182,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -22205,27 +22206,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -22309,42 +22310,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#111 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -22373,36 +22374,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -22421,24 +22422,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#33 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -22473,19 +22474,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 +# pkg:gem/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 + # pkg:gem/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#49 + # pkg:gem/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#48 + # pkg:gem/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 +# pkg:gem/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. @@ -22521,98 +22522,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -22665,68 +22666,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -22764,31 +22765,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -22849,78 +22850,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 +# pkg:gem/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#110 + # pkg:gem/rubocop#lib/rubocop/cop/lint/number_conversion.rb:110 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/lint/number_conversion.rb:106 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#92 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/number_conversion.rb:194 def ignored_class?(name); end - # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/lint/number_conversion.rb:190 def ignored_classes; end - # source://rubocop//lib/rubocop/cop/lint/number_conversion.rb#159 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -22947,19 +22948,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -23002,37 +23003,37 @@ 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 +# pkg:gem/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#57 + # pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:57 def abbreviated_assignment_with_constant_result?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:68 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:70 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:60 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:53 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#81 + # pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:81 def constant_result?(lhs, operation, rhs); end end -# source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#49 +# pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:49 RuboCop::Cop::Lint::NumericOperationWithConstantResult::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb#50 +# pkg:gem/rubocop#lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb:50 RuboCop::Cop::Lint::NumericOperationWithConstantResult::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for unintended or-assignment to a constant. @@ -23049,15 +23050,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -23083,24 +23084,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -23118,66 +23119,66 @@ 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 +# pkg:gem/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#64 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:64 def after_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#55 + # pkg:gem/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#72 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:72 def on_in_pattern(node); end - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#51 + # pkg:gem/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 + # pkg:gem/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#78 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:78 def on_nth_ref(node); end - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:66 def on_when(node); end private - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:103 def check_regexp(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:123 def nth_ref_receiver?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:114 def regexp_first_argument?(send_node); end - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:94 def regexp_patterns(in_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/lint/out_of_range_regexp_ref.rb:119 def regexp_receiver?(send_node); end end -# source://rubocop//lib/rubocop/cop/lint/out_of_range_regexp_ref.rb#39 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -23193,52 +23194,52 @@ 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 +# pkg:gem/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#35 + # pkg:gem/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 + # pkg:gem/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#56 + # pkg:gem/rubocop#lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb:56 def chained_calls?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb:52 def compound_range?(first_arg); end - # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb:81 def space_range(expr, space_length); end - # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb:65 def spaces_before_left_parenthesis(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb:61 def ternary_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#39 + # pkg:gem/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#47 + # pkg:gem/rubocop#lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb:47 def valid_first_argument?(first_arg); end end -# source://rubocop//lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb#22 +# pkg:gem/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")` @@ -23255,36 +23256,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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)` @@ -23301,35 +23302,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 raise `Exception` or @@ -23375,37 +23376,37 @@ RuboCop::Cop::Lint::PercentSymbolArray::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#53 +# pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:53 class RuboCop::Cop::Lint::RaiseException < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:60 def exception?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:65 def exception_new_with_message?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:70 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:104 def allow_implicit_namespaces; end - # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:76 def check(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:92 def implicit_namespace?(node); end end -# source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#56 +# pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:56 RuboCop::Cop::Lint::RaiseException::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/raise_exception.rb#57 +# pkg:gem/rubocop#lib/rubocop/cop/lint/raise_exception.rb:57 RuboCop::Cop::Lint::RaiseException::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `rand(1)` calls. @@ -23422,24 +23423,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/rand_one.rb:28 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/rand_one.rb#24 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/rand_one.rb:36 def message(node); end end -# source://rubocop//lib/rubocop/cop/lint/rand_one.rb#20 +# pkg:gem/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 +# pkg:gem/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 @@ -23460,159 +23461,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -23641,54 +23642,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -23710,29 +23711,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -23764,48 +23765,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -23836,32 +23837,32 @@ RuboCop::Cop::Lint::RedundantRegexpQuantifiers::MSG_REDUNDANT_QUANTIFIER = T.let # # good # require 'unloaded_feature' # -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:33 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#47 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:47 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:42 def redundant_require_statement?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:66 def redundant_feature?(feature_name); end end -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#37 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:37 RuboCop::Cop::Lint::RedundantRequireStatement::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#38 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:38 RuboCop::Cop::Lint::RedundantRequireStatement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#39 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_require_statement.rb:39 RuboCop::Cop::Lint::RedundantRequireStatement::RUBY_22_LOADED_FEATURES = T.let(T.unsafe(nil), Array) # Checks for redundant safe navigation calls. @@ -23994,70 +23995,70 @@ RuboCop::Cop::Lint::RedundantRequireStatement::RUBY_22_LOADED_FEATURES = T.let(T # foo&.bar # end # -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#145 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:145 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#166 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:166 def conversion_with_default?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:178 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:200 def on_or(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#161 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:161 def respond_to_nil_specific_method?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#252 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:252 def additional_nil_methods; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:216 def assume_receiver_instance_exists?(receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:233 def check?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#244 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:244 def condition?(parent, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#222 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:222 def guaranteed_instance?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#248 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:248 def infer_non_nil_receiver?; end end -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#158 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:158 RuboCop::Cop::Lint::RedundantSafeNavigation::GUARANTEED_INSTANCE_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#149 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:149 RuboCop::Cop::Lint::RedundantSafeNavigation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#150 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:150 RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_LITERAL = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#151 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:151 RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_NON_NIL = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#154 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:154 RuboCop::Cop::Lint::RedundantSafeNavigation::NIL_SPECIFIC_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/lint/redundant_safe_navigation.rb#156 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_safe_navigation.rb:156 RuboCop::Cop::Lint::RedundantSafeNavigation::SNAKE_CASE = T.let(T.unsafe(nil), Regexp) # Checks for unneeded usages of splat expansion. @@ -24123,88 +24124,88 @@ RuboCop::Cop::Lint::RedundantSafeNavigation::SNAKE_CASE = T.let(T.unsafe(nil), R # # good # do_something(*%w[foo bar baz]) # -# source://rubocop//lib/rubocop/cop/lint/redundant_splat_expansion.rb#71 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -24224,33 +24225,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 uses of `to_s`, `to_sym`, `to_i`, `to_f`, `to_d`, `to_r`, `to_c`, @@ -24327,109 +24328,109 @@ RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(n # foo.inspect # foo.to_json # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#80 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:80 class RuboCop::Cop::Lint::RedundantTypeConversion < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:160 def array_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:145 def bigdecimal_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:155 def complex_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:184 def exception_false_keyword_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:140 def float_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:168 def hash_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:135 def integer_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#205 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:205 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:189 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:150 def rational_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:177 def set_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:127 def string_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:122 def type_constructor?(param0 = T.unsafe(nil), param1); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#247 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:247 def chained_conversion?(node, receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#253 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:253 def chained_to_typed_method?(node, receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#234 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:234 def constructor?(node, receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#241 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:241 def constructor_suppresses_exceptions?(receiver); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#215 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:215 def find_receiver(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#209 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:209 def hash_or_set_with_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:228 def literal_receiver?(node, receiver); end end # Maps each conversion method to the pattern matcher for that type's constructors # Not every type has a constructor, for instance Symbol. # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#100 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:100 RuboCop::Cop::Lint::RedundantTypeConversion::CONSTRUCTOR_MAPPING = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#116 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:116 RuboCop::Cop::Lint::RedundantTypeConversion::CONVERSION_METHODS = T.let(T.unsafe(nil), Set) # Maps conversion methods to the node types for the literals of that type # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#86 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:86 RuboCop::Cop::Lint::RedundantTypeConversion::LITERAL_NODE_TYPES = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#83 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:83 RuboCop::Cop::Lint::RedundantTypeConversion::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#117 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:117 RuboCop::Cop::Lint::RedundantTypeConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Methods that already are expected to return a given type, which makes a further # conversion redundant. # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#114 +# pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_type_conversion.rb:114 RuboCop::Cop::Lint::RedundantTypeConversion::TYPED_METHODS = T.let(T.unsafe(nil), Hash) # Checks for redundant `with_index`. @@ -24455,36 +24456,36 @@ RuboCop::Cop::Lint::RedundantTypeConversion::TYPED_METHODS = T.let(T.unsafe(nil) # v # end # -# source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#29 +# pkg:gem/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 + # pkg:gem/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#56 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_index.rb:56 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#55 + # pkg:gem/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#61 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_index.rb:61 def redundant_with_index?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_index.rb:73 def message(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_index.rb:81 def with_index_range(send); end end -# source://rubocop//lib/rubocop/cop/lint/redundant_with_index.rb#33 +# pkg:gem/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 +# pkg:gem/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`. @@ -24510,36 +24511,36 @@ 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 +# pkg:gem/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 + # pkg:gem/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#52 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_object.rb:52 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#51 + # pkg:gem/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#57 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_object.rb:57 def redundant_with_object?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_object.rb:68 def message(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/lint/redundant_with_object.rb:76 def with_object_range(send); end end -# source://rubocop//lib/rubocop/cop/lint/redundant_with_object.rb#33 +# pkg:gem/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 +# pkg:gem/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. @@ -24564,18 +24565,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -24592,15 +24593,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -24624,26 +24625,26 @@ RuboCop::Cop::Lint::RegexpAsCondition::MSG = T.let(T.unsafe(nil), String) # # ... # end # -# source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#26 +# pkg:gem/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#40 + # pkg:gem/rubocop#lib/rubocop/cop/lint/require_parentheses.rb:40 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/require_parentheses.rb#31 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -24680,16 +24681,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 +# pkg:gem/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#53 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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`. @@ -24707,29 +24708,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -24750,18 +24751,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 +# pkg:gem/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 + # pkg:gem/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#32 + # pkg:gem/rubocop#lib/rubocop/cop/lint/rescue_exception.rb:32 def targets_exception?(rescue_arg_node); end end -# source://rubocop//lib/rubocop/cop/lint/rescue_exception.rb#24 +# pkg:gem/rubocop#lib/rubocop/cop/lint/rescue_exception.rb:24 RuboCop::Cop::Lint::RescueException::MSG = T.let(T.unsafe(nil), String) # Checks for arguments to `rescue` that will result in a `TypeError` @@ -24796,32 +24797,32 @@ RuboCop::Cop::Lint::RescueException::MSG = T.let(T.unsafe(nil), String) # baz # end # -# source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#37 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/rescue_type.rb:56 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#44 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/rescue_type.rb:65 def correction(*exceptions); end - # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/lint/rescue_type.rb:76 def invalid_exceptions(exceptions); end - # source://rubocop//lib/rubocop/cop/lint/rescue_type.rb#72 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -24851,18 +24852,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 +# pkg:gem/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#38 + # pkg:gem/rubocop#lib/rubocop/cop/lint/return_in_void_context.rb:38 def on_return(return_node); end end -# source://rubocop//lib/rubocop/cop/lint/return_in_void_context.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/lint/return_in_void_context.rb:33 RuboCop::Cop::Lint::ReturnInVoidContext::MSG = T.let(T.unsafe(nil), String) # Returning out of these methods only exits the block itself. # -# source://rubocop//lib/rubocop/cop/lint/return_in_void_context.rb#36 +# pkg:gem/rubocop#lib/rubocop/cop/lint/return_in_void_context.rb:36 RuboCop::Cop::Lint::ReturnInVoidContext::SCOPE_CHANGING_METHODS = T.let(T.unsafe(nil), Array) # The safe navigation operator returns nil if the receiver is @@ -24882,17 +24883,17 @@ RuboCop::Cop::Lint::ReturnInVoidContext::SCOPE_CHANGING_METHODS = T.let(T.unsafe # x&.foo&.bar # x&.foo || bar # -# source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#22 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/safe_navigation_chain.rb:40 def on_send(node); end private @@ -24901,41 +24902,41 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#108 + # pkg:gem/rubocop#lib/rubocop/cop/lint/safe_navigation_chain.rb:108 def operator_inside_collection_literal?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/safe_navigation_chain.rb#99 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -24973,63 +24974,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 +# pkg:gem/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 + # pkg:gem/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#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -25048,18 +25049,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -25089,31 +25090,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/script_permission.rb:55 def autocorrect; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/script_permission.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/lint/script_permission.rb:59 def executable?(processed_source); end - # source://rubocop//lib/rubocop/cop/lint/script_permission.rb#66 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/lint/script_permission.rb:37 RuboCop::Cop::Lint::ScriptPermission::SHEBANG = T.let(T.unsafe(nil), String) # Checks for self-assignments. @@ -25143,71 +25144,71 @@ RuboCop::Cop::Lint::ScriptPermission::SHEBANG = T.let(T.unsafe(nil), String) # hash['foo'] = hash['foo'] #: Integer # obj.attr = obj.attr #: Integer # -# source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#34 +# pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:34 class RuboCop::Cop::Lint::SelfAssignment < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:87 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:67 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:53 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:64 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:65 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:63 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:55 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:75 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:82 def on_or_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:44 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:134 def allow_rbs_inline_annotation?; end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:119 def handle_attribute_assignment(node); end - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:107 def handle_key_assignment(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:91 def multiple_self_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:130 def rbs_inline_annotation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:102 def rhs_matches_lhs?(rhs, lhs); end end -# source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#37 +# pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:37 RuboCop::Cop::Lint::SelfAssignment::ASSIGNMENT_TYPE_TO_RHS_TYPE = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/lint/self_assignment.rb#35 +# pkg:gem/rubocop#lib/rubocop/cop/lint/self_assignment.rb:35 RuboCop::Cop::Lint::SelfAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for `send`, `public_send`, and `__send__` methods @@ -25240,41 +25241,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -25335,19 +25336,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_argument.rb:161 def argument_references(argument); end # Find the first argument assignment, which doesn't reference the @@ -25355,37 +25356,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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_argument.rb:82 def check_argument(argument); end # Check whether the given node is always executed or not # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_argument.rb:152 def conditional_assignment?(node, stop_search_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_argument.rb:171 def ignore_implicit_references?; end - # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_argument.rb:144 def reference_pos(node); end - # source://rubocop//lib/rubocop/cop/lint/shadowed_argument.rb#95 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -25443,48 +25444,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_exception.rb:119 def evaluate_exceptions(group); end - # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#152 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowed_exception.rb:84 def offense_range(rescues); end - # source://rubocop//lib/rubocop/cop/lint/shadowed_exception.rb#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -25528,44 +25529,44 @@ RuboCop::Cop::Lint::ShadowedException::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#46 +# pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:46 class RuboCop::Cop::Lint::ShadowingOuterLocalVariable < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:58 def before_declaring_variable(variable, variable_table); end - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:50 def ractor_block?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:101 def find_conditional_node_from_ascendant(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:108 def node_or_its_ascendant_conditional?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:77 def same_conditions_node_different_branch?(variable, outer_local_variable); end - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:91 def variable_node(variable); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:73 def variable_used_in_declaration_of_outer?(variable, outer_local_variable); end class << self - # source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:54 def joining_forces; end end end -# source://rubocop//lib/rubocop/cop/lint/shadowing_outer_local_variable.rb#47 +# pkg:gem/rubocop#lib/rubocop/cop/lint/shadowing_outer_local_variable.rb:47 RuboCop::Cop::Lint::ShadowingOuterLocalVariable::MSG = T.let(T.unsafe(nil), String) # Checks for `Hash` creation with a mutable default value. @@ -25610,22 +25611,22 @@ 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 +# pkg:gem/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#64 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shared_mutable_default.rb:64 def capacity_keyword_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#53 + # pkg:gem/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#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/shared_mutable_default.rb:68 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/lint/shared_mutable_default.rb#48 +# pkg:gem/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 +# pkg:gem/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 @@ -25646,25 +25647,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -25763,25 +25764,25 @@ RuboCop::Cop::Lint::StructNewOverride::STRUCT_METHOD_NAMES = T.let(T.unsafe(nil) # # good # do_something rescue nil # -# source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#105 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception.rb:106 RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String) # Checks for cases where exceptions unrelated to the numeric constructors `Integer()`, @@ -25808,38 +25809,38 @@ RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String) # # good # Integer(arg, exception: false) # -# source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#41 +# pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:41 class RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:56 def begin_numeric_constructor_rescue_nil(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:75 def constructor_receiver?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:49 def numeric_constructor_rescue_nil(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:65 def numeric_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:82 def on_rescue(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:103 def expected_exception_classes_only?(exception_classes); end end -# source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#46 +# pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:46 RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion::EXPECTED_EXCEPTION_CLASSES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb:45 RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion::MSG = T.let(T.unsafe(nil), String) # Checks for uses of literal strings converted to @@ -25902,86 +25903,86 @@ RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion::MSG = T.let(T.unsafe( # 'c-d': 3 # } # -# source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#68 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/symbol_conversion.rb:105 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/lint/symbol_conversion.rb:78 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/symbol_conversion.rb#88 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/syntax.rb:11 def on_other_file; end private - # source://rubocop//lib/rubocop/cop/lint/syntax.rb#22 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/syntax.rb:32 def add_offense_from_error(error); end - # source://rubocop//lib/rubocop/cop/lint/syntax.rb#37 + # pkg:gem/rubocop#lib/rubocop/cop/lint/syntax.rb:37 def beautify_message(message); end - # source://rubocop//lib/rubocop/cop/lint/syntax.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/lint/syntax.rb:43 def find_severity(_range, _severity); end end -# source://rubocop//lib/rubocop/cop/lint/syntax.rb#9 +# pkg:gem/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, @@ -26005,37 +26006,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -26063,15 +26064,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -26085,16 +26086,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -26103,16 +26104,16 @@ class RuboCop::Cop::Lint::TopLevelReturnWithArgument < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/top_level_return_with_argument.rb#42 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -26139,21 +26140,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -26193,20 +26194,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -26245,28 +26246,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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`) @@ -26293,32 +26294,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -26351,40 +26352,40 @@ 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 +# pkg:gem/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 + # pkg:gem/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#56 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unexpected_block_arity.rb:56 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#55 + # pkg:gem/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#64 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unexpected_block_arity.rb:64 def acceptable?(node); end - # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unexpected_block_arity.rb:76 def arg_count(node); end - # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unexpected_block_arity.rb:72 def expected_arity(method); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unexpected_block_arity.rb:68 def included_method?(name); end - # source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unexpected_block_arity.rb:60 def methods; end end -# source://rubocop//lib/rubocop/cop/lint/unexpected_block_arity.rb#42 +# pkg:gem/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. @@ -26398,18 +26399,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -26472,27 +26473,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#122 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb:70 def reduce_with_block?(param0 = T.unsafe(nil)); end private @@ -26504,31 +26505,31 @@ class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#191 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -26536,7 +26537,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 + # pkg:gem/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 @@ -26544,14 +26545,14 @@ class RuboCop::Cop::Lint::UnmodifiedReduceAccumulator < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb#183 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -26581,67 +26582,67 @@ RuboCop::Cop::Lint::UnmodifiedReduceAccumulator::MSG_INDEX = T.let(T.unsafe(nil) # do_something # end # -# source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#32 +# pkg:gem/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 + # pkg:gem/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#48 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:48 def after_block(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:71 def flow_command?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:52 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:41 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:46 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:62 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:45 def on_numblock(node); end private - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:105 def check_case(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:99 def check_if(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:81 def flow_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:120 def instance_eval_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:66 def redefinable_flow_method?(method); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:115 def register_redefinition(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_code.rb:124 def report_on_flow_command?(node); end end -# source://rubocop//lib/rubocop/cop/lint/unreachable_code.rb#33 +# pkg:gem/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. @@ -26724,90 +26725,90 @@ 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 +# pkg:gem/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#142 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:142 def break_command?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:100 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:98 def on_for(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:105 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:104 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:95 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#97 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:92 def on_while(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#96 + # pkg:gem/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#152 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:152 def break_statement?(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:118 def check(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#175 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:175 def check_case(node); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:169 def check_if(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#200 + # pkg:gem/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#109 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:109 def loop_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:189 def preceded_by_continue_statement?(break_statement); end - # source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unreachable_loop.rb:129 def statements(node); end end -# source://rubocop//lib/rubocop/cop/lint/unreachable_loop.rb#90 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/unused_argument.rb:16 def check_argument(variable); end end @@ -26856,7 +26857,7 @@ end # # good # do_something { |unused| } # -# source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#55 +# pkg:gem/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 @@ -26865,65 +26866,65 @@ class RuboCop::Cop::Lint::UnusedBlockArgument < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/unused_block_argument.rb#162 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unused_block_argument.rb:59 def joining_forces; end end end @@ -26986,40 +26987,40 @@ end # fail "TODO" # end # -# source://rubocop//lib/rubocop/cop/lint/unused_method_argument.rb#70 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/unused_method_argument.rb:84 def joining_forces; end end end @@ -27053,28 +27054,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#34 +# pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:34 class RuboCop::Cop::Lint::UriEscapeUnescape < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:59 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:53 def uri_escape_unescape?(param0 = T.unsafe(nil)); end end -# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#35 +# pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:35 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#40 +# pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:40 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#49 +# pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:49 RuboCop::Cop::Lint::UriEscapeUnescape::METHOD_NAMES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#46 +# pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:46 RuboCop::Cop::Lint::UriEscapeUnescape::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/uri_escape_unescape.rb#50 +# pkg:gem/rubocop#lib/rubocop/cop/lint/uri_escape_unescape.rb:50 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. @@ -27100,21 +27101,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/uri_regexp.rb:40 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/uri_regexp.rb#36 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -27243,98 +27244,98 @@ 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#133 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:133 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#184 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:184 def class_or_instance_eval?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#179 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:179 def dynamic_method_definition?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:154 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:145 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:139 def on_class(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:152 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:142 def on_module(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:151 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:143 def on_sclass(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:174 def static_method_definition?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:200 def access_modifier?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#302 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:302 def any_context_creating_methods?(child); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#275 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:275 def any_method_definition?(child); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:167 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#214 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:214 def check_child_nodes(node, unused, cur_vis); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#244 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:244 def check_new_visibility(node, unused, new_vis, cur_vis); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:188 def check_node(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#204 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:204 def check_scope(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:233 def check_send_node(node, cur_vis, unused); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#296 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:296 def eval_call?(child); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#265 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:265 def included_block?(block_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#269 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:269 def method_definition?(child); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#292 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:292 def start_of_new_scope?(child); end end -# source://rubocop//lib/rubocop/cop/lint/useless_access_modifier.rb#137 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_access_modifier.rb:137 RuboCop::Cop::Lint::UselessAccessModifier::MSG = T.let(T.unsafe(nil), String) # Checks for every useless assignment to local variable in every @@ -27372,83 +27373,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 +# pkg:gem/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 + # pkg:gem/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#167 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:167 def autocorrect(corrector, assignment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:106 def chained_assignment?(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#56 + # pkg:gem/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#151 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:151 def collect_variable_like_names(scope); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#82 + # pkg:gem/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#112 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:112 def message_specification(assignment, variable); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:122 def multiple_assignment_message(variable_name); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:88 def offense_range(assignment); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:127 def operator_assignment_message(scope, assignment); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:184 def remove_exception_assignment_part(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:208 def remove_local_variable_assignment_part(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:197 def remove_trailing_character_from_operator(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:193 def rename_variable_with_underscore(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:201 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#141 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:141 def return_value_node_of_scope(scope); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:96 def sequential_assignment?(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:134 def similar_name_message(variable); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:160 def variable_like_method_invocation?(node); end class << self - # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#47 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_assignment.rb:45 RuboCop::Cop::Lint::UselessAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for useless constant scoping. Private constants must be defined using @@ -27477,28 +27478,28 @@ RuboCop::Cop::Lint::UselessAssignment::MSG = T.let(T.unsafe(nil), String) # PUBLIC_CONST = 42 # If private scope is not intended. # end # -# source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#32 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_constant_scoping.rb:32 class RuboCop::Cop::Lint::UselessConstantScoping < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_constant_scoping.rb:40 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_constant_scoping.rb:36 def private_constants(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_constant_scoping.rb:49 def after_private_modifier?(left_siblings); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_constant_scoping.rb:59 def private_constantize?(right_siblings, const_value); end end -# source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_constant_scoping.rb:33 RuboCop::Cop::Lint::UselessConstantScoping::MSG = T.let(T.unsafe(nil), String) # Checks for usage of method `fetch` or `Array.new` with default value argument @@ -27530,32 +27531,32 @@ RuboCop::Cop::Lint::UselessConstantScoping::MSG = T.let(T.unsafe(nil), String) # # good # Rails.cache.fetch(name, options) { block } # -# source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#50 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:50 class RuboCop::Cop::Lint::UselessDefaultValueArgument < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedReceivers extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:59 def default_value_argument_and_block(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:80 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:69 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:84 def hash_without_braces?(node); end end -# source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#54 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:54 RuboCop::Cop::Lint::UselessDefaultValueArgument::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/useless_default_value_argument.rb#56 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_default_value_argument.rb:56 RuboCop::Cop::Lint::UselessDefaultValueArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for calls to `defined?` with strings or symbols as the argument. @@ -27595,18 +27596,18 @@ RuboCop::Cop::Lint::UselessDefaultValueArgument::RESTRICT_ON_SEND = T.let(T.unsa # 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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -27631,15 +27632,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -27670,35 +27671,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 +# pkg:gem/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 + # pkg:gem/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#53 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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: @@ -27727,37 +27728,37 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:54 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:56 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:44 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:42 def useless_abbreviated_assignment?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:39 def useless_operation?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:69 def useless?(operation, number); end end -# source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#35 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:35 RuboCop::Cop::Lint::UselessNumericOperation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/useless_numeric_operation.rb#36 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_numeric_operation.rb:36 RuboCop::Cop::Lint::UselessNumericOperation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for useless OR (`||` and `or`) expressions. @@ -27820,24 +27821,24 @@ RuboCop::Cop::Lint::UselessNumericOperation::RESTRICT_ON_SEND = T.let(T.unsafe(n # # x&.to_s or fallback # -# source://rubocop//lib/rubocop/cop/lint/useless_or.rb#66 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_or.rb:66 class RuboCop::Cop::Lint::UselessOr < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/lint/useless_or.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_or.rb:78 def on_or(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_or.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_or.rb:74 def truthy_return_value_method?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/useless_or.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_or.rb:91 def report_offense(or_node, truthy_node); end end -# source://rubocop//lib/rubocop/cop/lint/useless_or.rb#67 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_or.rb:67 RuboCop::Cop::Lint::UselessOr::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/useless_or.rb#69 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_or.rb:69 RuboCop::Cop::Lint::UselessOr::TRUTHY_RETURN_VALUE_METHODS = T.let(T.unsafe(nil), Set) # Checks for useless ``rescue``s, which only reraise rescued exceptions. @@ -27883,28 +27884,28 @@ RuboCop::Cop::Lint::UselessOr::TRUTHY_RETURN_VALUE_METHODS = T.let(T.unsafe(nil) # # noop # end # -# source://rubocop//lib/rubocop/cop/lint/useless_rescue.rb#49 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -27967,14 +27968,14 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_ruby2_keywords.rb:79 def on_send(node); end private @@ -27983,23 +27984,23 @@ class RuboCop::Cop::Lint::UselessRuby2Keywords < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/useless_ruby2_keywords.rb#118 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -28020,68 +28021,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 +# pkg:gem/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 + # pkg:gem/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#54 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_setter_call.rb:88 def scan(node, &block); end end @@ -28100,101 +28101,101 @@ end # do_something # do_something(1) # -# source://rubocop//lib/rubocop/cop/lint/useless_times.rb#24 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_times.rb:46 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#32 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/lint/useless_times.rb:106 def own_line?(node); end - # source://rubocop//lib/rubocop/cop/lint/useless_times.rb#76 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/lint/useless_times.rb:29 RuboCop::Cop::Lint::UselessTimes::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#6 +# pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:6 module RuboCop::Cop::Lint::Utils; end # Utility class that checks if the receiver can't be nil. # -# source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:8 class RuboCop::Cop::Lint::Utils::NilReceiverChecker # @return [NilReceiverChecker] a new instance of NilReceiverChecker # - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#11 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:11 def initialize(receiver, additional_nil_methods); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:17 def cant_be_nil?; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#24 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:24 def _cant_be_nil?(node, receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:108 def else_branch?(node); end - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:112 def find_top_if(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:81 def non_nil_method?(method_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:86 def sole_condition_of_parent_if?(node); end end -# source://rubocop//lib/rubocop/cop/lint/utils/nil_receiver_checker.rb#9 +# pkg:gem/rubocop#lib/rubocop/cop/lint/utils/nil_receiver_checker.rb:9 RuboCop::Cop::Lint::Utils::NilReceiverChecker::NIL_METHODS = T.let(T.unsafe(nil), Set) # Checks for operators, variables, literals, lambda, proc and nonmutating @@ -28250,130 +28251,130 @@ RuboCop::Cop::Lint::Utils::NilReceiverChecker::NIL_METHODS = T.let(T.unsafe(nil) # do_something(some_array) # end # -# source://rubocop//lib/rubocop/cop/lint/void.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:59 class RuboCop::Cop::Lint::Void < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/void.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:97 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:87 def on_block(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:102 def on_ensure(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:95 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:100 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:94 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#269 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:269 def all_keys_entirely_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#273 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:273 def all_values_entirely_literal?(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#247 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:247 def autocorrect_nonmutating_send(corrector, node, suggestion); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:240 def autocorrect_void_expression(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#227 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:227 def autocorrect_void_op(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:108 def check_begin(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#212 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:212 def check_ensure(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:122 def check_expression(expr); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:170 def check_literal(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:194 def check_nonmutating(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:178 def check_self(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:152 def check_var(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:186 def check_void_expression(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:136 def check_void_op(node, &block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#256 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:256 def entirely_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#220 + # pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:220 def in_void_context?(node); end end -# source://rubocop//lib/rubocop/cop/lint/void.rb#72 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:72 RuboCop::Cop::Lint::Void::BINARY_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/void.rb#66 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:66 RuboCop::Cop::Lint::Void::CONST_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/void.rb#69 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:69 RuboCop::Cop::Lint::Void::EXPRESSION_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/void.rb#67 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:67 RuboCop::Cop::Lint::Void::LIT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/void.rb#82 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:82 RuboCop::Cop::Lint::Void::METHODS_REPLACEABLE_BY_EACH = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/void.rb#84 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:84 RuboCop::Cop::Lint::Void::NONMUTATING_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/void.rb#75 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:75 RuboCop::Cop::Lint::Void::NONMUTATING_METHODS_WITH_BANG_VERSION = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/void.rb#70 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:70 RuboCop::Cop::Lint::Void::NONMUTATING_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/void.rb#74 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:74 RuboCop::Cop::Lint::Void::OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/void.rb#64 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:64 RuboCop::Cop::Lint::Void::OP_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/void.rb#68 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:68 RuboCop::Cop::Lint::Void::SELF_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/void.rb#73 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:73 RuboCop::Cop::Lint::Void::UNARY_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/void.rb#65 +# pkg:gem/rubocop#lib/rubocop/cop/lint/void.rb:65 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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/match_range.rb:6 module RuboCop::Cop::MatchRange include ::RuboCop::Cop::RangeHelp @@ -28382,12 +28383,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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/match_range.rb:18 def match_range(range, match); end end @@ -28402,7 +28403,7 @@ end # ).annotate('message') # @see #initialize # -# source://rubocop//lib/rubocop/cop/message_annotator.rb#15 +# pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:15 class RuboCop::Cop::MessageAnnotator # @option cop_config # @option cop_config @@ -28423,7 +28424,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 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:47 def initialize(config, cop_name, cop_config, options); end # Returns the annotated message, @@ -28431,74 +28432,74 @@ class RuboCop::Cop::MessageAnnotator # # @return [String] annotated message # - # source://rubocop//lib/rubocop/cop/message_annotator.rb#58 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:16 def options; end - # source://rubocop//lib/rubocop/cop/message_annotator.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:68 def urls; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/message_annotator.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:115 def debug?; end - # source://rubocop//lib/rubocop/cop/message_annotator.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:128 def details; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/message_annotator.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:119 def display_cop_names?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/message_annotator.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:98 def display_style_guide?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/message_annotator.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:111 def extra_details?; end - # source://rubocop//lib/rubocop/cop/message_annotator.rb#102 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:91 def style_guide_base_url; end - # source://rubocop//lib/rubocop/cop/message_annotator.rb#74 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/message_annotator.rb:21 def style_guide_urls; end end end @@ -28507,7 +28508,7 @@ end # # @api private # -# source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/method_complexity.rb:8 module RuboCop::Cop::MethodComplexity include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern @@ -28515,72 +28516,72 @@ module RuboCop::Cop::MethodComplexity extend ::RuboCop::AST::NodePattern::Macros extend ::RuboCop::ExcludeLimit - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#38 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_complexity.rb:38 def define_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#22 + # pkg:gem/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#33 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_complexity.rb:33 def on_itblock(node); end # @api private # - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#32 + # pkg:gem/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#43 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_complexity.rb:43 def check_complexity(node, method_name); end # @api private # - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_complexity.rb:62 def complexity(body); end # @api private # - # source://rubocop//lib/rubocop/cop/mixin/method_complexity.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_complexity.rb:74 def location(node); end end # Common code for cops that deal with preferred methods. # -# source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#6 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/method_preference.rb:6 module RuboCop::Cop::MethodPreference private - # source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#25 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_preference.rb:25 def default_cop_config; end - # source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#9 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/method_preference.rb:9 def preferred_method(method); end - # source://rubocop//lib/rubocop/cop/mixin/method_preference.rb#13 + # pkg:gem/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 +# pkg:gem/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 @@ -28616,7 +28617,7 @@ module RuboCop::Cop::Metrics; end # render 'pages/search/page' # end # -# source://rubocop//lib/rubocop/cop/metrics/abc_size.rb#39 +# pkg:gem/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 @@ -28625,11 +28626,11 @@ class RuboCop::Cop::Metrics::AbcSize < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/metrics/abc_size.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/abc_size.rb:47 def complexity(node); end end -# source://rubocop//lib/rubocop/cop/metrics/abc_size.rb#42 +# pkg:gem/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. @@ -28671,33 +28672,33 @@ RuboCop::Cop::Metrics::AbcSize::MSG = T.let(T.unsafe(nil), String) # ) # end # 4 points # -# source://rubocop//lib/rubocop/cop/metrics/block_length.rb#45 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_length.rb:52 def on_block(node); end - # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_length.rb:60 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_length.rb:59 def on_numblock(node); end private - # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_length.rb:82 def cop_label; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/metrics/block_length.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_length.rb:64 def method_receiver_excluded?(node); end end -# source://rubocop//lib/rubocop/cop/metrics/block_length.rb#50 +# pkg:gem/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. @@ -28709,44 +28710,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 +# pkg:gem/rubocop#lib/rubocop/cop/metrics/block_nesting.rb:14 class RuboCop::Cop::Metrics::BlockNesting < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_nesting.rb:17 def max=(value); end - # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#19 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_nesting.rb:66 def count_modifier_forms?; end - # source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/block_nesting.rb:58 def message(max); end end -# source://rubocop//lib/rubocop/cop/metrics/block_nesting.rb#15 +# pkg:gem/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. @@ -28783,25 +28784,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/class_length.rb:53 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/class_length.rb:43 def on_class(node); end - # source://rubocop//lib/rubocop/cop/metrics/class_length.rb#47 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/class_length.rb:63 def message(length, max_length); end end @@ -28849,33 +28850,33 @@ 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 +# pkg:gem/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#60 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/collection_literal_length.rb:60 def on_array(node); end - # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/collection_literal_length.rb:63 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/collection_literal_length.rb:65 def on_index(node); end - # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/collection_literal_length.rb:71 def on_send(node); end - # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/collection_literal_length.rb:56 def set_const?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/collection_literal_length.rb:77 def collection_threshold; end end -# source://rubocop//lib/rubocop/cop/metrics/collection_literal_length.rb#51 +# pkg:gem/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 +# pkg:gem/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 @@ -28908,7 +28909,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 +# pkg:gem/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 @@ -28918,19 +28919,19 @@ class RuboCop::Cop::Metrics::CyclomaticComplexity < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/metrics/cyclomatic_complexity.rb#45 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -28970,39 +28971,39 @@ RuboCop::Cop::Metrics::CyclomaticComplexity::MSG = T.let(T.unsafe(nil), String) # ) # end # 4 points # -# source://rubocop//lib/rubocop/cop/metrics/method_length.rb#43 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/method_length.rb:57 def on_block(node); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/method_length.rb:50 def on_def(node); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/method_length.rb:55 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/method_length.rb:66 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#65 + # pkg:gem/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#74 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/method_length.rb:74 def allowed?(method_name); end - # source://rubocop//lib/rubocop/cop/metrics/method_length.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/method_length.rb:70 def cop_label; end end -# source://rubocop//lib/rubocop/cop/metrics/method_length.rb#48 +# pkg:gem/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. @@ -29037,22 +29038,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/module_length.rb:45 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/metrics/module_length.rb#41 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/module_length.rb:56 def message(length, max_length); end end @@ -29115,53 +29116,53 @@ end # def foo(a = 1, b = 2, c = 3) # end # -# source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#70 +# pkg:gem/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 + # pkg:gem/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/metrics/parameter_lists.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:71 def max=(value); end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#72 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:104 def on_args(node); end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:90 def on_def(node); end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:102 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#81 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:141 def count_keyword_args?; end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:137 def max_optional_parameters; end - # source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/parameter_lists.rb:133 def max_params; end end -# source://rubocop//lib/rubocop/cop/metrics/parameter_lists.rb#74 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -29188,21 +29189,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -29212,7 +29213,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 +# pkg:gem/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 @@ -29221,68 +29222,68 @@ class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator # @return [AbcSizeCalculator] a new instance of AbcSizeCalculator # - # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#34 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/abc_size_calculator.rb:42 def calculate; end - # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#76 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/abc_size_calculator.rb:65 def else_branch?(node); end - # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#51 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/abc_size_calculator.rb:30 def calculate(node, discount_repeated_attributes: T.unsafe(nil)); end end end @@ -29291,19 +29292,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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/code_length_calculator.rb:8 class RuboCop::Cop::Metrics::Utils::CodeLengthCalculator include ::RuboCop::PathUtil include ::RuboCop::Cop::Util @@ -29311,106 +29312,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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. @@ -29418,18 +29419,18 @@ module RuboCop::Cop::Metrics::Utils::IteratingBlock # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/metrics/utils/iterating_block.rb#53 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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: @@ -29450,7 +29451,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 +# pkg:gem/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 @@ -29459,29 +29460,29 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#37 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:37 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:68 def attribute_call?(param0 = T.unsafe(nil)); end # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:60 def calculate_node(node); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:50 def discount_repeated_attributes?; end # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:54 def evaluate_branch_nodes(node); end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:99 def root_node?(param0 = T.unsafe(nil)); end private @@ -29489,7 +29490,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:73 def discount_repeated_attribute?(send_node); end # Returns the "known_attributes" for the `node` by walking the receiver tree @@ -29500,25 +29501,25 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:110 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 + # pkg:gem/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#87 + # pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:87 def update_repeated_attribute(node); end end # @api private # -# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#29 +# pkg:gem/rubocop#lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb:29 RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount::VAR_SETTER_TO_GETTER = T.let(T.unsafe(nil), Hash) # Identifies repetitions `&.` on the same variable: @@ -29530,183 +29531,183 @@ RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount::VAR_SETTER_TO_GETTER = # # @api private # -# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb#15 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/migration/department_name.rb:43 def disable_comment_offset; end - # source://rubocop//lib/rubocop/cop/migration/department_name.rb#73 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:7 module RuboCop::Cop::MultilineExpressionIndentation - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#25 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:25 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#14 + # pkg:gem/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#132 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:132 def argument_in_method_call(node, kind); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:188 def assignment_rhs(node); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:67 def check(range, node, lhs, rhs); end # The correct indentation of `node` is usually `IndentationWidth`, with @@ -29726,37 +29727,37 @@ module RuboCop::Cop::MultilineExpressionIndentation # bar # normal indentation, not special # ``` # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:57 def correct_indentation(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:160 def disqualified_rhs?(candidate, ancestor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#202 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:202 def grouped_expression?(node); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:75 def incorrect_style_detected(range, node, lhs, rhs); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:87 def indentation(node); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:124 def indented_keyword_expression(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:206 def inside_arg_list_parentheses?(node, ancestor); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:101 def keyword_message_tail(node); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:109 def kw_node_with_special_indentation(node); end # In a chain of method calls, we regard the top call node as the base @@ -29765,23 +29766,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#34 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:34 def left_hand_side(lhs); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:196 def not_for_this_cop?(node); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:91 def operation_description(node, rhs); end - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:146 def part_of_assignment_rhs(node, candidate); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:184 def part_of_block_body?(candidate, block_node); end # Returns true if `node` is a conditional whose `body` and `condition` @@ -29789,51 +29790,51 @@ module RuboCop::Cop::MultilineExpressionIndentation # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#215 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:215 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#176 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:176 def valid_method_rhs_candidate?(candidate, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:165 def valid_rhs?(candidate, ancestor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:180 def valid_rhs_candidate?(candidate, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#219 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/multiline_expression_indentation.rb:219 def within_node?(inner, outer); end end -# source://rubocop//lib/rubocop/cop/mixin/multiline_expression_indentation.rb#11 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb:7 class RuboCop::Cop::MultilineLiteralBraceCorrector include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::MultilineLiteralBraceLayout @@ -29841,60 +29842,60 @@ class RuboCop::Cop::MultilineLiteralBraceCorrector # @return [MultilineLiteralBraceCorrector] a new instance of MultilineLiteralBraceCorrector # - # source://rubocop//lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb:11 def correct(corrector, node, processed_source); end end end @@ -29902,28 +29903,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -29931,22 +29932,22 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#98 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -29976,7 +29977,7 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#126 + # pkg:gem/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 @@ -29986,7 +29987,7 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#26 + # pkg:gem/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 @@ -29994,11 +29995,11 @@ module RuboCop::Cop::MultilineLiteralBraceLayout # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb#92 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/naming/accessor_method_name.rb:5 module RuboCop::Cop::Naming; end # Avoid prefixing accessor method names with `get_` or `set_`. @@ -30034,39 +30035,39 @@ module RuboCop::Cop::Naming; end # def set_value # end # -# source://rubocop//lib/rubocop/cop/naming/accessor_method_name.rb#38 +# pkg:gem/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 + # pkg:gem/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#50 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -30114,31 +30115,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -30152,31 +30153,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -30226,42 +30227,42 @@ RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.uns # bar(&block) # end # -# source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#54 +# pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:54 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#68 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:68 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:87 def on_defs(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:118 def anonymous_block_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:101 def block_argument_name_matched?(block_pass_node, last_argument); end - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:150 def block_forwarding_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:91 def expected_block_forwarding_style?(node, last_argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:122 def explicit_block_argument?(node); end # Ruby 3.3.0 had a bug where accessing an anonymous block argument inside of a block @@ -30270,29 +30271,29 @@ class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:110 def invalidates_syntax?(block_pass_node); end - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:126 def register_offense(block_argument, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:142 def use_block_argument_as_local_variable?(node, last_argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:114 def use_kwarg_in_method_definition?(node); end class << self - # source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:64 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/naming/block_forwarding.rb#62 +# pkg:gem/rubocop#lib/rubocop/cop/naming/block_forwarding.rb:62 RuboCop::Cop::Naming::BlockForwarding::MSG = T.let(T.unsafe(nil), String) # Checks block parameter names for how descriptive they @@ -30328,11 +30329,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/block_parameter_name.rb:41 def on_block(node); end end @@ -30360,16 +30361,16 @@ end # class module_parent::MyModule # end # -# source://rubocop//lib/rubocop/cop/naming/class_and_module_camel_case.rb#29 +# pkg:gem/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 + # pkg:gem/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#41 + # pkg:gem/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 +# pkg:gem/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 @@ -30387,47 +30388,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -30462,116 +30463,116 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:54 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#47 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:167 def defined_struct(node); end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#124 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:136 def filename_good?(basename); end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#145 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:163 def find_definition(node); end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:204 def match_acronym?(expected, name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#90 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:86 def matching_definition?(file_path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:172 def namespace_matches?(node, namespace, expected); end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#98 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:104 def other_message(basename); end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:186 def partial_matcher!(expected); end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#75 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/file_name.rb:128 def regex; end - # source://rubocop//lib/rubocop/cop/naming/file_name.rb#238 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -30598,30 +30599,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -30645,25 +30646,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -30731,106 +30732,106 @@ RuboCop::Cop::Naming::HeredocDelimiterNaming::MSG = T.let(T.unsafe(nil), String) # # good # allowlist_users = %w(user1 user2) # -# source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#74 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:126 def check_token?(type); end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#252 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:274 def format_suggestions(suggestions); end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:206 def investigate_filepath; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:100 def investigate_tokens; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:240 def mask_input(str); end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#289 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:130 def preprocess_check_config; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:144 def preprocess_flagged_terms; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:267 def preprocess_suggestions(suggestions); end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#188 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def position; end # Sets the attribute position @@ -30838,14 +30839,14 @@ class RuboCop::Cop::Naming::InclusiveLanguage::WordLocation < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def word; end # Sets the attribute word @@ -30853,23 +30854,23 @@ class RuboCop::Cop::Naming::InclusiveLanguage::WordLocation < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def word=(_); end class << self - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def inspect; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def members; end - # source://rubocop//lib/rubocop/cop/naming/inclusive_language.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/naming/inclusive_language.rb:82 def new(*_arg0); end end end @@ -31009,58 +31010,58 @@ end # @_foo = calculate_expensive_thing # end # -# source://rubocop//lib/rubocop/cop/naming/memoized_instance_variable_name.rb#148 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -31153,7 +31154,7 @@ RuboCop::Cop::Naming::MemoizedInstanceVariableName::UNDERSCORE_REQUIRED = T.let( # def release_v1; end # def api_gen1; end # -# source://rubocop//lib/rubocop/cop/naming/method_name.rb#99 +# pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:99 class RuboCop::Cop::Naming::MethodName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::ConfigurableFormatting @@ -31163,75 +31164,75 @@ class RuboCop::Cop::Naming::MethodName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ForbiddenIdentifiers include ::RuboCop::Cop::ForbiddenPattern - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:122 def define_data?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:119 def new_struct?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:149 def on_alias(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:138 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:147 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:124 def on_send(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:116 def str_name(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:113 def sym_name(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:232 def attr_name(name_item); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:208 def forbidden_name?(name); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#176 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:176 def handle_alias_method(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:183 def handle_attr_accessor(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:170 def handle_define_data(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:157 def handle_define_method(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:198 def handle_method_name(node, name); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:163 def handle_new_struct(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#247 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:247 def message(style); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:236 def range_position(node); end - # source://rubocop//lib/rubocop/cop/naming/method_name.rb#213 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:213 def register_forbidden_name(node); end end -# source://rubocop//lib/rubocop/cop/naming/method_name.rb#106 +# pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:106 RuboCop::Cop::Naming::MethodName::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/naming/method_name.rb#107 +# pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:107 RuboCop::Cop::Naming::MethodName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/naming/method_name.rb#109 +# pkg:gem/rubocop#lib/rubocop/cop/naming/method_name.rb:109 RuboCop::Cop::Naming::MethodName::OPERATOR_METHODS = T.let(T.unsafe(nil), Set) # Checks method parameter names for how descriptive they @@ -31275,14 +31276,14 @@ RuboCop::Cop::Naming::MethodName::OPERATOR_METHODS = T.let(T.unsafe(nil), Set) # do_stuff(age_a, height_b, gender_c) # end # -# source://rubocop//lib/rubocop/cop/naming/method_parameter_name.rb#46 +# pkg:gem/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 + # pkg:gem/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#54 + # pkg:gem/rubocop#lib/rubocop/cop/naming/method_parameter_name.rb:54 def on_defs(node); end end @@ -31415,90 +31416,90 @@ end # bar? # end # -# source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#140 +# pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:140 class RuboCop::Cop::Naming::PredicateMethod < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::AllowedPattern - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:147 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:159 def on_defs(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:172 def acceptable?(return_values); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:201 def all_return_values_boolean?(return_values); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#302 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:302 def allow_bang_methods?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:163 def allowed?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#296 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:296 def allowed_bang_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#266 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:266 def and_or?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:208 def boolean_return?(value); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#292 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:292 def conservative?; end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#270 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:270 def extract_and_or_clauses(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#277 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:277 def extract_conditional_branches(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#235 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:235 def extract_return_value(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#248 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:248 def last_value(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#214 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:214 def method_returning_boolean?(value); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#221 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:221 def potential_non_predicate?(return_values); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#254 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:254 def process_return_values(return_values); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:188 def return_values(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:182 def unknown_method_call?(value); end # If a method ending in `?` is known to not return a boolean value, @@ -31507,17 +31508,17 @@ class RuboCop::Cop::Naming::PredicateMethod < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#309 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:309 def wayward_predicate?(name); end - # source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#313 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:313 def wayward_predicates; end end -# source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#145 +# pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:145 RuboCop::Cop::Naming::PredicateMethod::MSG_NON_PREDICATE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/naming/predicate_method.rb#144 +# pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_method.rb:144 RuboCop::Cop::Naming::PredicateMethod::MSG_PREDICATE = T.let(T.unsafe(nil), String) # Checks that predicate method names end with a question mark and @@ -31610,60 +31611,60 @@ RuboCop::Cop::Naming::PredicateMethod::MSG_PREDICATE = T.let(T.unsafe(nil), Stri # def odd?(value) # end # -# source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#103 +# pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:103 class RuboCop::Cop::Naming::PredicatePrefix < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:107 def dynamic_method_define(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:126 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:139 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:113 def on_send(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:154 def sorbet_return_type(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:141 def validate_config; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:164 def allowed_method_name?(method_name, prefix); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:172 def expected_name(method_name, prefix); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:186 def forbidden_prefixes; end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:182 def message(method_name, new_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:198 def method_definition_macro?(macro_name); end - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:190 def predicate_prefixes; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:158 def sorbet_sig?(node, return_type: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_prefix.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/naming/predicate_prefix.rb:194 def use_sorbet_sigs?; end end @@ -31721,52 +31722,52 @@ end # # do something # end # -# source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#61 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb:64 RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String) # Checks that the configured style (snake_case or camelCase) is used for all variable names. @@ -31810,7 +31811,7 @@ RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), # @@release_v1 = true # $release_v1 = true # -# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#52 +# pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:52 class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedIdentifiers include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -31820,67 +31821,67 @@ class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ForbiddenIdentifiers include ::RuboCop::Cop::ForbiddenPattern - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:78 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:84 def on_blockarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:77 def on_cvasgn(node); end # Only forbidden names are checked for global variable assignment # - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:88 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:76 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:82 def on_kwarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:81 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:83 def on_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:85 def on_lvar(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:66 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#79 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:79 def on_optarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:80 def on_restarg(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:62 def valid_name?(node, name, given_style = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:97 def forbidden_name?(name); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:101 def message(style); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:105 def register_forbidden_name(node); end end -# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:59 RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/naming/variable_name.rb:60 RuboCop::Cop::Naming::VariableName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String) # Makes sure that all numbered variables use the @@ -31972,7 +31973,7 @@ RuboCop::Cop::Naming::VariableName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String) # # def some_method_1(arg_1); end # -# source://rubocop//lib/rubocop/cop/naming/variable_number.rb#103 +# pkg:gem/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 @@ -31980,64 +31981,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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:114 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:122 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:125 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:131 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:123 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:121 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:120 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_number.rb#133 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/naming/variable_number.rb:142 def message(style); end end -# source://rubocop//lib/rubocop/cop/naming/variable_number.rb#108 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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: @@ -32045,29 +32046,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/nil_methods.rb:14 def nil_methods; end - # source://rubocop//lib/rubocop/cop/mixin/nil_methods.rb#18 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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` @@ -32076,28 +32077,28 @@ class RuboCop::Cop::Offense # @api public # @return [Integer] comparison result # - # source://rubocop//lib/rubocop/cop/offense.rb#229 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:210 def ==(other); end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:159 def column; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:169 def column_length; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:193 def column_range; end # @api public @@ -32105,82 +32106,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#216 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:216 def eql?(other); end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:178 def first_line; end - # source://rubocop//lib/rubocop/cop/offense.rb#218 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:141 def highlighted_area; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:188 def last_column; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:183 def last_line; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#154 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:28 def location; end # @api public @@ -32188,7 +32189,7 @@ class RuboCop::Cop::Offense # 'Line is too long. [90/80]' # @return [String] human-readable message # - # source://rubocop//lib/rubocop/cop/offense.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:39 def message; end # Internally we use column number that start at 0, but when @@ -32197,48 +32198,48 @@ class RuboCop::Cop::Offense # # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#202 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:17 def severity; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:164 def source_line; end # @api private # - # source://rubocop//lib/rubocop/cop/offense.rb#53 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:147 def to_s; end end # @api private # -# source://rubocop//lib/rubocop/cop/offense.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def begin_pos; end # Sets the attribute begin_pos @@ -32246,14 +32247,14 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def column; end # Sets the attribute column @@ -32261,17 +32262,17 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def column=(_); end - # source://rubocop//lib/rubocop/cop/offense.rb#69 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def end_pos; end # Sets the attribute end_pos @@ -32279,38 +32280,38 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:66 def last_line; end - # source://rubocop//lib/rubocop/cop/offense.rb#76 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def line; end # Sets the attribute line @@ -32318,17 +32319,17 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def line=(_); end - # source://rubocop//lib/rubocop/cop/offense.rb#73 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def source_line; end # Sets the attribute source_line @@ -32336,38 +32337,38 @@ class RuboCop::Cop::Offense::PseudoSourceRange < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def source_line=(_); end class << self - # source://rubocop//lib/rubocop/cop/offense.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/offense.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def inspect; end - # source://rubocop//lib/rubocop/cop/offense.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/offense.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/offense.rb:63 def members; end - # source://rubocop//lib/rubocop/cop/offense.rb#63 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/correctors/ordered_gem_corrector.rb:6 class RuboCop::Cop::OrderedGemCorrector extend ::RuboCop::Cop::OrderedGemNode extend ::RuboCop::Cop::RangeHelp @@ -32375,20 +32376,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/ordered_gem_corrector.rb:26 def declaration_with_comment(node); end end end @@ -32396,147 +32397,147 @@ end # Common functionality for Bundler/OrderedGems and # Gemspec/OrderedDependencies. # -# source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#7 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/ordered_gem_node.rb:23 def case_insensitive_out_of_order?(string_a, string_b); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/ordered_gem_node.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/parentheses.rb:6 module RuboCop::Cop::Parentheses private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/parentheses.rb#9 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#77 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:77 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#67 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:67 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#44 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:44 def handle_orphaned_comma(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:83 def heredoc?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:31 def next_char_is_question_mark?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:35 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#54 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:54 def parens_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/correctors/parentheses_corrector.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/parentheses_corrector.rb:27 def ternary_condition?(node); end end end # Common functionality for handling percent arrays. # -# source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#6 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/percent_array.rb:26 def allowed_bracket_array?(node); end # @param elements [Array] # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#83 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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. @@ -32546,7 +32547,7 @@ module RuboCop::Cop::PercentArray # foo %i[bar baz] { qux } # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#14 + # pkg:gem/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. @@ -32556,7 +32557,7 @@ module RuboCop::Cop::PercentArray # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/percent_array.rb:98 def whitespace_between(node); end # Provides leading whitespace for building a bracketed array. @@ -32566,7 +32567,7 @@ module RuboCop::Cop::PercentArray # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/percent_array.rb:111 def whitespace_leading(node); end # Provides trailing whitespace for building a bracketed array. @@ -32576,269 +32577,269 @@ module RuboCop::Cop::PercentArray # @param node [RuboCop::AST::ArrayNode] # @return [String] # - # source://rubocop//lib/rubocop/cop/mixin/percent_array.rb#120 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/percent_literal.rb:11 def percent_literal?(node); end - # source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#17 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/percent_literal.rb:17 def process(node, *types); end - # source://rubocop//lib/rubocop/cop/mixin/percent_literal.rb#27 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/percent_literal_corrector.rb:9 def config; end - # source://rubocop//lib/rubocop/cop/correctors/percent_literal_corrector.rb#16 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:8 module RuboCop::Cop::PrecedingFollowingAlignment private - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#79 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:79 def aligned_comment_lines; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:102 def aligned_equals_operator?(range, lineno); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:133 def aligned_identical?(range, line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:90 def aligned_operator?(range, line, lineno); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:86 def aligned_token?(range, line, lineno); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:43 def aligned_with_adjacent_line?(range, predicate); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:61 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#51 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:51 def aligned_with_any_line_range?(line_ranges, range, &predicate); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:125 def aligned_with_append_operator?(range, token); end - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:137 def aligned_with_equals_sign(token, line_range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:65 def aligned_with_line?(line_nos, range, indent = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#23 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:23 def aligned_with_operator?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:119 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#29 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:29 def aligned_with_preceding_equals_operator(token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#19 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:19 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#37 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:37 def aligned_with_subsequent_equals_operator(token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:94 def aligned_words?(range, line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#15 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:15 def allow_for_alignment?; end - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:152 def assignment_lines; end - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#156 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:156 def assignment_tokens; end - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#176 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:176 def relevant_assignment_lines(line_range); end - # source://rubocop//lib/rubocop/cop/mixin/preceding_following_alignment.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:203 def remove_equals_in_def(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#11 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/preceding_following_alignment.rb:11 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preferred_delimiters.rb:7 def config; end - # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#17 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/preferred_delimiters.rb:30 def preferred_delimiters; end - # source://rubocop//lib/rubocop/cop/mixin/preferred_delimiters.rb#45 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/punctuation_corrector.rb:16 def swap_comma(corrector, range); end end end @@ -32850,11 +32851,11 @@ 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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:6 module RuboCop::Cop::RangeHelp private - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:152 def add_range(range1, range2); end # A range containing the first to the last argument @@ -32866,19 +32867,19 @@ module RuboCop::Cop::RangeHelp # baz { |x, y:, z:| } # ^^^^^^^^^ # - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:45 def arguments_range(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:93 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#33 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:33 def contents_range(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:111 def directions(side); end # Returns the column attribute of the range, except if the range is on @@ -32886,154 +32887,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#103 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:103 def effective_column(range); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:120 def final_pos(src, pos, increment, continuations, newlines, whitespace); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:128 def move_pos(src, pos, step, condition, regexp); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:134 def move_pos_str(src, pos, step, condition, needle); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:49 def range_between(start_pos, end_pos); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:84 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#145 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:145 def range_with_comments(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:141 def range_with_comments_and_lines(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:53 def range_with_surrounding_comma(range, side = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:67 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#12 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:12 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#7 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:7 RuboCop::Cop::RangeHelp::BYTE_ORDER_MARK = T.let(T.unsafe(nil), Integer) -# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/range_help.rb:8 module RuboCop::Cop::RangeHelp::NOT_GIVEN; end # Common functionality for handling Rational literals. # -# source://rubocop//lib/rubocop/cop/mixin/rational_literal.rb#6 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:232 def ==(other); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/registry.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:97 def contains_cop_matching?(names); end - # source://rubocop//lib/rubocop/cop/registry.rb#179 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:179 def cops; end - # source://rubocop//lib/rubocop/cop/registry.rb#224 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:93 def department?(name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/registry.rb#147 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:72 def departments; end - # source://rubocop//lib/rubocop/cop/registry.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:193 def disabled(config); end - # source://rubocop//lib/rubocop/cop/registry.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:67 def dismiss(cop); end - # source://rubocop//lib/rubocop/cop/registry.rb#247 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:247 def each(&block); end - # source://rubocop//lib/rubocop/cop/registry.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:189 def enabled(config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/registry.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:197 def enabled?(cop, config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/registry.rb#213 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:213 def enabled_pending_cop?(cop_cfg, config); end - # source://rubocop//lib/rubocop/cop/registry.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:260 def find_cops_by_directive(directive); end - # source://rubocop//lib/rubocop/cop/registry.rb#265 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:265 def freeze; end - # source://rubocop//lib/rubocop/cop/registry.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:184 def length; end - # source://rubocop//lib/rubocop/cop/registry.rb#220 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:220 def names; end - # source://rubocop//lib/rubocop/cop/registry.rb#228 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:49 def options; end - # source://rubocop//lib/rubocop/cop/registry.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:151 def print_warning(name, path); end # Convert a user provided cop name into a properly namespaced name @@ -33061,79 +33062,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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:166 def qualify_badge(badge); end - # source://rubocop//lib/rubocop/cop/registry.rb#243 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:243 def select(&block); end - # source://rubocop//lib/rubocop/cop/registry.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:236 def sort!; end # @return [Hash{String => Array}] # - # source://rubocop//lib/rubocop/cop/registry.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:174 def to_h; end - # source://rubocop//lib/rubocop/cop/registry.rb#159 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:84 def without_department(department); end private - # source://rubocop//lib/rubocop/cop/registry.rb#283 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:283 def clear_enrollment_queue; end - # source://rubocop//lib/rubocop/cop/registry.rb#279 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:279 def initialize_copy(reg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/registry.rb#312 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:312 def registered?(badge); end - # source://rubocop//lib/rubocop/cop/registry.rb#299 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:299 def resolve_badge(given_badge, real_badge, source_path, warn: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/registry.rb#295 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:295 def with(cops); end class << self - # source://rubocop//lib/rubocop/cop/registry.rb#22 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:22 def all; end # Returns the value of attribute global. # - # source://rubocop//lib/rubocop/cop/registry.rb#274 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:274 def global; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/registry.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:44 def qualified_cop?(name); end - # source://rubocop//lib/rubocop/cop/registry.rb#26 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:26 def qualified_cop_name(name, origin, warn: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/registry.rb#40 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/registry.rb:32 def with_temporary_global(temp_global = T.unsafe(nil)); end end end @@ -33141,67 +33142,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/require_library.rb:33 def on_send(node); end - # source://rubocop//lib/rubocop/cop/mixin/require_library.rb#24 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/rescue_node.rb:6 module RuboCop::Cop::RescueNode - # source://rubocop//lib/rubocop/cop/mixin/rescue_node.rb#7 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/rescue_node.rb:20 def rescued_exceptions(resbody); end end @@ -33209,28 +33210,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/security/compound_hash.rb:5 module RuboCop::Cop::Security; end # Checks for implementations of the `hash` method which combine @@ -33254,56 +33255,56 @@ module RuboCop::Cop::Security; end # [@foo, @bar].hash # end # -# source://rubocop//lib/rubocop/cop/security/compound_hash.rb#30 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#103 + # pkg:gem/rubocop#lib/rubocop/cop/security/compound_hash.rb:103 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/security/compound_hash.rb:104 def on_op_asgn(node); end - # source://rubocop//lib/rubocop/cop/security/compound_hash.rb#88 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -33316,19 +33317,19 @@ RuboCop::Cop::Security::CompoundHash::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar # binding.eval(something) # Kernel.eval(something) # -# source://rubocop//lib/rubocop/cop/security/eval.rb#15 +# pkg:gem/rubocop#lib/rubocop/cop/security/eval.rb:15 class RuboCop::Cop::Security::Eval < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/security/eval.rb#20 + # pkg:gem/rubocop#lib/rubocop/cop/security/eval.rb:20 def eval?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/security/eval.rb#24 + # pkg:gem/rubocop#lib/rubocop/cop/security/eval.rb:24 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/security/eval.rb#16 +# pkg:gem/rubocop#lib/rubocop/cop/security/eval.rb:16 RuboCop::Cop::Security::Eval::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/security/eval.rb#17 +# pkg:gem/rubocop#lib/rubocop/cop/security/eval.rb:17 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`, @@ -33351,18 +33352,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -33397,21 +33398,21 @@ RuboCop::Cop::Security::IoMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # JSON.load('{}', create_additions: true) # JSON.load('{}', create_additions: false) # -# source://rubocop//lib/rubocop/cop/security/json_load.rb#44 +# pkg:gem/rubocop#lib/rubocop/cop/security/json_load.rb:44 class RuboCop::Cop::Security::JSONLoad < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/security/json_load.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/security/json_load.rb:51 def insecure_json_load(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/security/json_load.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/security/json_load.rb:59 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/security/json_load.rb#47 +# pkg:gem/rubocop#lib/rubocop/cop/security/json_load.rb:47 RuboCop::Cop::Security::JSONLoad::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/security/json_load.rb#48 +# pkg:gem/rubocop#lib/rubocop/cop/security/json_load.rb:48 RuboCop::Cop::Security::JSONLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of Marshal class methods which have @@ -33429,19 +33430,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -33473,51 +33474,51 @@ RuboCop::Cop::Security::MarshalLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # URI.open("http://example.com") # URI.parse(url).open # -# source://rubocop//lib/rubocop/cop/security/open.rb#38 +# pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:38 class RuboCop::Cop::Security::Open < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/security/open.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:47 def on_send(node); end - # source://rubocop//lib/rubocop/cop/security/open.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:43 def open?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/security/open.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:76 def composite_string?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/security/open.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:84 def concatenated_string?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/security/open.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:80 def interpolated_string?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/security/open.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:58 def safe?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/security/open.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:68 def safe_argument?(argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/security/open.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:72 def simple_string?(node); end end -# source://rubocop//lib/rubocop/cop/security/open.rb#39 +# pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:39 RuboCop::Cop::Security::Open::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/security/open.rb#40 +# pkg:gem/rubocop#lib/rubocop/cop/security/open.rb:40 RuboCop::Cop::Security::Open::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for the use of YAML class methods which have @@ -33536,27 +33537,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/security/yaml_load.rb:40 def on_send(node); end - # source://rubocop//lib/rubocop/cop/security/yaml_load.rb#36 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/severity.rb:6 class RuboCop::Cop::Severity include ::Comparable @@ -33564,217 +33565,217 @@ class RuboCop::Cop::Severity # @raise [ArgumentError] # @return [Severity] a new instance of Severity # - # source://rubocop//lib/rubocop/cop/severity.rb#30 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:30 def initialize(name_or_code); end - # source://rubocop//lib/rubocop/cop/severity.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:62 def <=>(other); end - # source://rubocop//lib/rubocop/cop/severity.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:50 def ==(other); end - # source://rubocop//lib/rubocop/cop/severity.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:42 def code; end - # source://rubocop//lib/rubocop/cop/severity.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:58 def hash; end - # source://rubocop//lib/rubocop/cop/severity.rb#46 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:22 def name; end - # source://rubocop//lib/rubocop/cop/severity.rb#38 + # pkg:gem/rubocop#lib/rubocop/cop/severity.rb:38 def to_s; end class << self - # source://rubocop//lib/rubocop/cop/severity.rb#24 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/correctors/space_corrector.rb:10 def processed_source; end - # source://rubocop//lib/rubocop/cop/correctors/space_corrector.rb#24 + # pkg:gem/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 +# pkg:gem/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#85 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:85 def code_after(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:109 def comment_disables_cop?(comment); end - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:77 def first_line_comment(node); end - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#57 + # pkg:gem/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 + # pkg:gem/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#103 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:103 def max_line_length; end - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:71 def method_source(if_body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#37 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#65 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:65 def omitted_value_in_last_hash_arg?(if_body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:91 def parenthesize?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/statement_modifier.rb#11 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/statement_modifier.rb:50 def to_modifier_form(node); end end @@ -33783,59 +33784,59 @@ end # adding offenses for the faulty string nodes, and with filtering out # nodes. # -# source://rubocop//lib/rubocop/cop/mixin/string_help.rb#9 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/string_help.rb:9 module RuboCop::Cop::StringHelp - # source://rubocop//lib/rubocop/cop/mixin/string_help.rb#26 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/string_help.rb:26 def on_regexp(node); end - # source://rubocop//lib/rubocop/cop/mixin/string_help.rb#10 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -33956,130 +33957,130 @@ module RuboCop::Cop::Style; end # # end # -# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#135 +# pkg:gem/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#167 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:167 def access_modifier_with_alias_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#161 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:161 def access_modifier_with_attr?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:154 def access_modifier_with_symbol?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:172 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#263 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:263 def access_modifier_is_inlined?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:267 def access_modifier_is_not_inlined?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#234 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:234 def allow_modifiers_on_alias_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#230 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:230 def allow_modifiers_on_attrs?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#226 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:226 def allow_modifiers_on_symbols?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:187 def allowed?(node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#195 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:195 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#204 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:204 def autocorrect_group_style(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:211 def autocorrect_inline_style(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#248 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:248 def correctable_group_offense?(node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#356 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:356 def def_source(node, def_nodes); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#310 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:310 def find_argument_less_modifier_node(node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#291 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:291 def find_corresponding_def_nodes(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#255 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:255 def group_style?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#259 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:259 def inline_style?; end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#340 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:340 def insert_inline_modifier(corrector, node, modifier_name); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#281 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:281 def message(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#238 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:238 def offense?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#222 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:222 def percent_symbol_array?(node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#350 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:350 def remove_modifier_node_within_begin(corrector, modifier_node, begin_node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#344 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:344 def remove_nodes(corrector, *nodes); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#324 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:324 def replace_defs(corrector, node, def_nodes); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#271 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:271 def right_siblings_same_inline_method?(node); end - # source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#318 + # pkg:gem/rubocop#lib/rubocop/cop/style/access_modifier_declarations.rb:318 def select_grouped_def_nodes(node); end end -# source://rubocop//lib/rubocop/cop/style/access_modifier_declarations.rb#141 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -34128,88 +34129,88 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:62 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:70 def on_module(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#69 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:85 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:74 def check(send_node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:125 def class_send_elements(class_node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:182 def group_accessors(node, accessors); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:102 def groupable_accessor?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:145 def groupable_sibling_accessor?(node, sibling); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:152 def groupable_sibling_accessors(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:137 def grouped_style?; end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:158 def message(send_node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:163 def preferred_accessors(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:97 def previous_line_comment?(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:203 def range_with_trailing_argument_comment(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:188 def separate_accessors(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:141 def separated_style?; end # Group after constants # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/style/accessor_grouping.rb:177 def skip_for_grouping?(node); end end -# source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#59 +# pkg:gem/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 +# pkg:gem/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` @@ -34236,73 +34237,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:52 def on_alias(node); end - # source://rubocop//lib/rubocop/cop/style/alias.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:41 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/alias.rb#86 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:80 def alias_method_possible?(node); end - # source://rubocop//lib/rubocop/cop/style/alias.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:66 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/alias.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:125 def bareword?(sym_node); end - # source://rubocop//lib/rubocop/cop/style/alias.rb#129 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:148 def identifier(node); end - # source://rubocop//lib/rubocop/cop/style/alias.rb#114 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/alias.rb:97 def scope_type(node); end end -# source://rubocop//lib/rubocop/cop/style/alias.rb#35 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -34329,31 +34330,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -34389,31 +34390,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:51 def on_and(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:56 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:54 def on_or(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:61 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:62 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:59 def on_while(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:60 def on_while_post(node); end private @@ -34423,40 +34424,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:143 def correctable_send?(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#135 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:91 def message(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/and_or.rb:85 def on_conditionals(node); end - # source://rubocop//lib/rubocop/cop/style/and_or.rb#66 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -34588,27 +34589,27 @@ RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String) # block_only(&) # end # -# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#141 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:141 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#159 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:159 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#179 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:179 def on_defs(node); end private - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:201 def add_forward_all_offenses(node, send_classifications, forwardable_args); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#379 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:379 def add_parens_if_missing(node, corrector); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#230 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:230 def add_post_ruby_32_offenses(def_node, send_classifications, forwardable_args); end # Checks if forwarding is uses both in blocks and outside of blocks. @@ -34617,7 +34618,7 @@ class RuboCop::Cop::Style::ArgumentsForwarding < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#312 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:312 def all_forwarding_offenses_correctable?(send_classifications); end # Ruby 3.3.0 had a bug where accessing an anonymous block argument inside of a block @@ -34626,215 +34627,215 @@ class RuboCop::Cop::Style::ArgumentsForwarding < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#323 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:323 def allow_anonymous_forwarding_in_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#371 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:371 def allow_only_rest_arguments?; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#367 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:367 def arguments_range(node, first_node); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#280 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:280 def classification_and_forwards(def_node, send_node, referenced_lvars, forwardable_args); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#265 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:265 def classify_send_nodes(def_node, send_nodes, referenced_lvars, forwardable_args); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#558 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:558 def explicit_block_name?; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:183 def extract_forwardable_args(args); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#225 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:225 def forward_all_first_argument(node); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#255 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:255 def non_splat_or_block_pass_lvar_references(body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#195 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:195 def only_forwards_all?(send_classifications); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:187 def redundant_forwardable_named_args(restarg, kwrestarg, blockarg); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#299 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:299 def redundant_named_arg(arg, config_name, keyword); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#357 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:357 def register_forward_all_offense(def_or_send, send_or_arguments, rest_or_splat); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#330 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:330 def register_forward_args_offense(def_arguments_or_send, rest_arg_or_splat); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#346 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:346 def register_forward_block_arg_offense(add_parens, def_arguments_or_send, block_arg); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#338 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:338 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#375 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:375 def use_anonymous_forwarding?; end class << self - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:155 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#151 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:151 RuboCop::Cop::Style::ArgumentsForwarding::ARGS_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#153 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:153 RuboCop::Cop::Style::ArgumentsForwarding::BLOCK_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#148 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:148 RuboCop::Cop::Style::ArgumentsForwarding::FORWARDING_LVAR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#150 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:150 RuboCop::Cop::Style::ArgumentsForwarding::FORWARDING_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#152 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:152 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#387 +# pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:387 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#416 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:416 def initialize(def_node, send_node, referenced_lvars, forwardable_args, **config); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#444 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:444 def classification; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#400 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:400 def def_all_anonymous_args?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#394 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:394 def extract_forwarded_kwrest_arg(param0 = T.unsafe(nil), param1); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#438 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:438 def forwarded_block_arg; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#397 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:397 def forwarded_block_arg?(param0 = T.unsafe(nil), param1); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#432 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:432 def forwarded_kwrest_arg; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#426 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:426 def forwarded_rest_arg; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:391 def forwarded_rest_arg?(param0 = T.unsafe(nil), param1); end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#409 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:409 def send_all_anonymous_args?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#529 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:529 def additional_kwargs?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#525 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:525 def additional_kwargs_or_forwarded_kwargs?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#539 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:539 def allow_offense_for_no_block?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#510 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:510 def any_arg_referenced?; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#494 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:494 def arguments; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#459 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:459 def can_forward_all?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#533 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:533 def forward_additional_kwargs?; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#490 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:490 def forwarded_rest_and_kwrest_args; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#552 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:552 def missing_rest_arg_or_kwrest_arg?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#543 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:543 def no_additional_args?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#518 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:518 def no_post_splat_args?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#486 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:486 def offensive_block_forwarding?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#506 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:506 def referenced_block_arg?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#502 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:502 def referenced_kwrest_arg?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#498 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:498 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#471 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:471 def ruby_30_or_lower_optarg?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#475 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:475 def ruby_32_only_anonymous_forwarding?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#482 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:482 def ruby_32_or_higher_missing_rest_or_kwest?; end - # source://rubocop//lib/rubocop/cop/style/arguments_forwarding.rb#514 + # pkg:gem/rubocop#lib/rubocop/cop/style/arguments_forwarding.rb:514 def target_ruby_version; end end @@ -34853,27 +34854,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_coercion.rb:63 def on_array(node); end - # source://rubocop//lib/rubocop/cop/style/array_coercion.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_coercion.rb:74 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/array_coercion.rb#53 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -34892,37 +34893,37 @@ 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 +# pkg:gem/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#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_first_last.rb:52 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#35 + # pkg:gem/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#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_first_last.rb:74 def brace_method?(node); end - # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_first_last.rb:61 def find_offense_range(node); end - # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_first_last.rb:69 def innermost_braces_node(node); end - # source://rubocop//lib/rubocop/cop/style/array_first_last.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_first_last.rb:56 def preferred_value(node, value); end end -# source://rubocop//lib/rubocop/cop/style/array_first_last.rb#31 +# pkg:gem/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 +# pkg:gem/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. @@ -34996,73 +34997,73 @@ 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#82 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:82 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#119 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:119 def any_none_block_intersection(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:94 def bad_intersection_check?(param0 = T.unsafe(nil), param1); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:105 def intersection_size_check?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:154 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:152 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:164 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:163 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:142 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:168 def bad_intersection?(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#173 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:173 def bad_intersection_predicates; end - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:185 def register_offense(node, replacement); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/array_intersect.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:181 def straight?(method_name); end end -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#89 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:89 RuboCop::Cop::Style::ArrayIntersect::ACTIVE_SUPPORT_PREDICATES = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#91 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:91 RuboCop::Cop::Style::ArrayIntersect::ARRAY_SIZE_METHODS = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#137 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:137 RuboCop::Cop::Style::ArrayIntersect::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#139 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:139 RuboCop::Cop::Style::ArrayIntersect::NEGATED_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#88 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:88 RuboCop::Cop::Style::ArrayIntersect::PREDICATES = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#140 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:140 RuboCop::Cop::Style::ArrayIntersect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/array_intersect.rb#138 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect.rb:138 RuboCop::Cop::Style::ArrayIntersect::STRAIGHT_METHODS = T.let(T.unsafe(nil), Array) # Use `include?(element)` instead of `intersect?([element])`. @@ -35074,24 +35075,24 @@ RuboCop::Cop::Style::ArrayIntersect::STRAIGHT_METHODS = T.let(T.unsafe(nil), Arr # # good # array.include?(element) # -# source://rubocop//lib/rubocop/cop/style/array_intersect_with_single_element.rb#17 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect_with_single_element.rb:17 class RuboCop::Cop::Style::ArrayIntersectWithSingleElement < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/array_intersect_with_single_element.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect_with_single_element.rb:43 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect_with_single_element.rb#29 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect_with_single_element.rb:29 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/array_intersect_with_single_element.rb#25 + # pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect_with_single_element.rb:25 def single_element(param0 = T.unsafe(nil)); end end -# source://rubocop//lib/rubocop/cop/style/array_intersect_with_single_element.rb#20 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect_with_single_element.rb:20 RuboCop::Cop::Style::ArrayIntersectWithSingleElement::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/array_intersect_with_single_element.rb#22 +# pkg:gem/rubocop#lib/rubocop/cop/style/array_intersect_with_single_element.rb:22 RuboCop::Cop::Style::ArrayIntersectWithSingleElement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for uses of "*" as a substitute for _join_. @@ -35108,48 +35109,48 @@ RuboCop::Cop::Style::ArrayIntersectWithSingleElement::RESTRICT_ON_SEND = T.let(T # # good # %w(foo bar baz).join(",") # -# source://rubocop//lib/rubocop/cop/style/array_join.rb#20 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -35163,43 +35164,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/attr.rb:37 def allowed_context?(node); end - # source://rubocop//lib/rubocop/cop/style/attr.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/attr.rb:47 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/attr.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/attr.rb:43 def define_attr_method?(node); end - # source://rubocop//lib/rubocop/cop/style/attr.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/attr.rb:59 def message(node); end - # source://rubocop//lib/rubocop/cop/style/attr.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/style/attr.rb:63 def replacement_method(node); end end -# source://rubocop//lib/rubocop/cop/style/attr.rb#21 +# pkg:gem/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 +# pkg:gem/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 @@ -35224,26 +35225,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -35265,37 +35266,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -35304,13 +35305,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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` @@ -35328,7 +35329,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 +# pkg:gem/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 @@ -35337,54 +35338,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 + # pkg:gem/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#70 + # pkg:gem/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#69 + # pkg:gem/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 + # pkg:gem/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#50 + # pkg:gem/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 + # pkg:gem/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#49 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -35392,79 +35393,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/bisected_attr_accessor/macro.rb:15 def macro?(node); end end end @@ -35491,36 +35492,36 @@ end # # good # variable.nobits?(flags) # -# source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#32 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/bitwise_predicate.rb:74 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/style/bitwise_predicate.rb:95 def preferred_method(node); end end -# source://rubocop//lib/rubocop/cop/style/bitwise_predicate.rb#36 +# pkg:gem/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 +# pkg:gem/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). @@ -35536,30 +35537,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_comments.rb:48 def parts(comment); end end -# source://rubocop//lib/rubocop/cop/style/block_comments.rb#24 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/block_comments.rb:23 RuboCop::Cop::Style::BlockComments::MSG = T.let(T.unsafe(nil), String) # Checks for uses of braces or do/end around single line or @@ -35716,7 +35717,7 @@ RuboCop::Cop::Style::BlockComments::MSG = T.let(T.unsafe(nil), String) # # also good # collection.each do |element| puts element end # -# source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#168 +# pkg:gem/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 @@ -35724,210 +35725,210 @@ 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#200 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:200 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:198 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:211 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:210 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#183 + # pkg:gem/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#484 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:484 def array_or_range?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#215 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:215 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#488 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:488 def begin_required?(block_node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#243 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:243 def braces_for_chaining_message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#429 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:429 def braces_for_chaining_style?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#255 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:255 def braces_required_message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#406 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:406 def braces_required_method?(method_name); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#410 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:410 def braces_required_methods; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#439 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:439 def braces_style?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#443 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:443 def correction_would_break_code?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#331 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:331 def end_of_chain(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#453 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:453 def functional_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#449 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:449 def functional_method?(method_name); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#349 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:349 def get_blocks(node, &block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#414 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:414 def line_count_based_block_style?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#225 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:225 def line_count_based_message(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#259 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:259 def message(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#307 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:307 def move_comment_before_block(corrector, comment, block_node, closing_brace); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#461 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:461 def procedural_method?(method_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#457 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:457 def procedural_oneliners_may_have_braces?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#374 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:374 def proper_block_style?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#338 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:338 def remove_trailing_whitespace(corrector, range, comment); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#270 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:270 def replace_braces_with_do_end(corrector, loc); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#286 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:286 def replace_do_end_with_braces(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#386 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:386 def require_do_end?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#477 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:477 def return_value_of_scope?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#465 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:465 def return_value_used?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#418 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:418 def semantic_block_style?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:233 def semantic_message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#494 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:494 def single_argument_operator_method?(node); end - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#321 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:321 def source_range_before_comment(range, comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#393 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:393 def special_method?(method_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#399 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:399 def special_method_proper_block_style?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#303 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:303 def whitespace_after?(range, length = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#299 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:299 def whitespace_before?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#344 + # pkg:gem/rubocop#lib/rubocop/cop/style/block_delimiters.rb:344 def with_block?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/block_delimiters.rb#179 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#622 +# pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:622 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#627 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:627 def correct(corrector, cop, node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#637 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:637 def move_assignment_inside_condition(corrector, node); end private - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#657 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:657 def extract_branches(case_node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#651 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:651 def extract_tail_branches(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#667 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:667 def move_branch_inside_condition(corrector, branch, condition, assignment, column); end end end @@ -35957,43 +35958,43 @@ end # # good # self.class === something # -# source://rubocop//lib/rubocop/cop/style/case_equality.rb#40 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/case_equality.rb:52 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/case_equality.rb#50 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/case_equality.rb:65 def offending_receiver?(node); end - # source://rubocop//lib/rubocop/cop/style/case_equality.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/case_equality.rb:72 def replacement(lhs, rhs); end - # source://rubocop//lib/rubocop/cop/style/case_equality.rb#100 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -36034,91 +36035,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -36140,33 +36141,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/character_literal.rb:28 RuboCop::Cop::Style::CharacterLiteral::MSG = T.let(T.unsafe(nil), String) # Checks that namespaced classes and modules are defined with a consistent style. @@ -36199,96 +36200,96 @@ RuboCop::Cop::Style::CharacterLiteral::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:45 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#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:54 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:60 def on_module(node); end private - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:103 def add_trailing_end(corrector, node, padding); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:203 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#192 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:192 def check_compact_style(node, body); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:184 def check_nested_style(node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:174 def check_style(node, body, style); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:108 def compact_definition(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:129 def compact_identifier_name(node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:114 def compact_node(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#213 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:213 def compact_node_name?(node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:119 def compact_replacement(node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:160 def leading_spaces(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#209 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:209 def needs_compacting?(body); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:76 def nest_definition(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:66 def nest_or_compact(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:135 def remove_end(corrector, body); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:85 def replace_namespace_keyword(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:164 def spaces_size(spaces_string); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:94 def split_on_double_colon(corrector, node, padding); end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#217 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:217 def style_for_classes; end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#221 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:221 def style_for_modules; end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:169 def tab_indentation_width; end - # source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:148 def unindent(corrector, node); end end -# source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#52 +# pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:52 RuboCop::Cop::Style::ClassAndModuleChildren::COMPACT_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/class_and_module_children.rb#51 +# pkg:gem/rubocop#lib/rubocop/cop/style/class_and_module_children.rb:51 RuboCop::Cop::Style::ClassAndModuleChildren::NESTED_MSG = T.let(T.unsafe(nil), String) # Enforces consistent use of `Object#is_a?` or `Object#kind_of?`. @@ -36310,25 +36311,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_check.rb:45 def message(node); end - # source://rubocop//lib/rubocop/cop/style/class_check.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_check.rb:43 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/class_check.rb#33 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -36369,53 +36370,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -36436,23 +36437,23 @@ RuboCop::Cop::Style::ClassEqualityComparison::RESTRICT_ON_SEND = T.let(T.unsafe( # end # end # -# source://rubocop//lib/rubocop/cop/style/class_methods.rb#23 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_methods.rb:28 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/class_methods.rb#37 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -36509,7 +36510,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 +# pkg:gem/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 @@ -36517,46 +36518,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -36601,19 +36602,19 @@ RuboCop::Cop::Style::ClassMethodsDefinitions::MSG_SCLASS = T.let(T.unsafe(nil), # end # end # -# source://rubocop//lib/rubocop/cop/style/class_vars.rb#48 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/class_vars.rb:52 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/class_vars.rb#56 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -36643,58 +36644,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 +# pkg:gem/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 + # pkg:gem/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#101 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_compact.rb:101 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_compact.rb:90 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#65 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_compact.rb:106 def offense_range(node); end - # source://rubocop//lib/rubocop/cop/style/collection_compact.rb#137 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -36729,47 +36730,47 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:49 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:60 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:53 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:52 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:55 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:64 def check_method_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:73 def implicit_block?(node); end - # source://rubocop//lib/rubocop/cop/style/collection_methods.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:81 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#87 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:87 def methods_accepting_symbol; end end -# source://rubocop//lib/rubocop/cop/style/collection_methods.rb#47 +# pkg:gem/rubocop#lib/rubocop/cop/style/collection_methods.rb:47 RuboCop::Cop::Style::CollectionMethods::MSG = T.let(T.unsafe(nil), String) # Prefer `Enumerable` predicate methods over expressions with `count`. @@ -36822,38 +36823,38 @@ RuboCop::Cop::Style::CollectionMethods::MSG = T.let(T.unsafe(nil), String) # # good # x.many? # -# source://rubocop//lib/rubocop/cop/style/collection_querying.rb#96 +# pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:96 class RuboCop::Cop::Style::CollectionQuerying < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/collection_querying.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:115 def count_predicate(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/collection_querying.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:132 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/collection_querying.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:159 def removal_range(node); end - # source://rubocop//lib/rubocop/cop/style/collection_querying.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:149 def replacement_method(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/collection_querying.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:153 def replacement_supported?(method_name); end end -# source://rubocop//lib/rubocop/cop/style/collection_querying.rb#100 +# pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:100 RuboCop::Cop::Style::CollectionQuerying::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/collection_querying.rb#104 +# pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:104 RuboCop::Cop::Style::CollectionQuerying::REPLACEMENTS = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/style/collection_querying.rb#102 +# pkg:gem/rubocop#lib/rubocop/cop/style/collection_querying.rb:102 RuboCop::Cop::Style::CollectionQuerying::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for methods invoked via the `::` operator instead @@ -36870,23 +36871,23 @@ RuboCop::Cop::Style::CollectionQuerying::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # FileUtils.rmdir(dir) # Marshal.dump(obj) # -# source://rubocop//lib/rubocop/cop/style/colon_method_call.rb#20 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 `::` @@ -36905,15 +36906,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -36935,45 +36936,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_defined.rb:62 def namespaces(nodes); end - # source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_defined.rb:49 def terms(node); end end -# source://rubocop//lib/rubocop/cop/style/combinable_defined.rb#28 +# pkg:gem/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 +# pkg:gem/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 @@ -37028,47 +37029,47 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:68 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:85 def on_for(node); end - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:83 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#82 + # pkg:gem/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#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:96 def collection_looping_method?(node); end - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:113 def combine_with_left_sibling(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:120 def correct_end_of_block(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:101 def same_collection_looping_block?(node, sibling); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/combinable_loops.rb:109 def same_collection_looping_for?(node, sibling); end end -# source://rubocop//lib/rubocop/cop/style/combinable_loops.rb#65 +# pkg:gem/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. @@ -37140,75 +37141,75 @@ RuboCop::Cop::Style::CombinableLoops::MSG = T.let(T.unsafe(nil), String) # ln -s bar.example.yml bar.example # ) # -# source://rubocop//lib/rubocop/cop/style/command_literal.rb#78 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/command_literal.rb:159 def backtick_literal?(node); end - # source://rubocop//lib/rubocop/cop/style/command_literal.rb#97 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/command_literal.rb:171 def default_delimiter; end - # source://rubocop//lib/rubocop/cop/style/command_literal.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/style/command_literal.rb:154 def node_body(node); end - # source://rubocop//lib/rubocop/cop/style/command_literal.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/command_literal.rb:163 def preferred_delimiter; end - # source://rubocop//lib/rubocop/cop/style/command_literal.rb#175 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -37266,51 +37267,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/comment_annotation.rb:110 def annotation_range(annotation); end - # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#114 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/comment_annotation.rb:106 def inline_comment?(comment); end - # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/style/comment_annotation.rb:124 def keywords; end - # source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#87 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/comment_annotation.rb:120 def requires_colon?; end end -# source://rubocop//lib/rubocop/cop/style/comment_annotation.rb#71 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -37346,63 +37347,63 @@ 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 +# pkg:gem/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#65 + # pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:65 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:88 def offensive?(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:101 def rbs_inline_annotation?(line, comment); end - # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:75 def register_offense(comment, matched_keyword); end - # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:97 def source_line(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:112 def steep_annotation?(comment); end end -# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#54 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:61 RuboCop::Cop::Style::CommentedKeyword::METHOD_OR_END_DEFINITIONS = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#49 +# pkg:gem/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 +# pkg:gem/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#63 +# pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:63 RuboCop::Cop::Style::CommentedKeyword::STEEP_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/style/commented_keyword.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/style/commented_keyword.rb:60 RuboCop::Cop::Style::CommentedKeyword::SUBCLASS_DEFINITION = T.let(T.unsafe(nil), Regexp) # Checks for logical comparison which can be replaced with `Comparable#between?`. @@ -37422,26 +37423,26 @@ RuboCop::Cop::Style::CommentedKeyword::SUBCLASS_DEFINITION = T.let(T.unsafe(nil) # # good # x.between?(min, max) # -# source://rubocop//lib/rubocop/cop/style/comparable_between.rb#26 +# pkg:gem/rubocop#lib/rubocop/cop/style/comparable_between.rb:26 class RuboCop::Cop::Style::ComparableBetween < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/comparable_between.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/comparable_between.rb:41 def logical_comparison_between_by_max_first?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/comparable_between.rb#32 + # pkg:gem/rubocop#lib/rubocop/cop/style/comparable_between.rb:32 def logical_comparison_between_by_min_first?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/comparable_between.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/comparable_between.rb:49 def on_and(node); end private - # source://rubocop//lib/rubocop/cop/style/comparable_between.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/style/comparable_between.rb:65 def register_offense(node, min_and_value, max_and_value); end end -# source://rubocop//lib/rubocop/cop/style/comparable_between.rb#29 +# pkg:gem/rubocop#lib/rubocop/cop/style/comparable_between.rb:29 RuboCop::Cop::Style::ComparableBetween::MSG = T.let(T.unsafe(nil), String) # Enforces the use of `Comparable#clamp` instead of comparison by minimum and maximum. @@ -37473,42 +37474,42 @@ RuboCop::Cop::Style::ComparableBetween::MSG = T.let(T.unsafe(nil), String) # # good # x.clamp(low, high) # -# source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#35 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/comparable_clamp.rb:78 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/comparable_clamp.rb#100 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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])` @@ -37526,37 +37527,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 +# pkg:gem/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#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/concat_array_literals.rb:31 RuboCop::Cop::Style::ConcatArrayLiterals::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for `if` and `case` statements where each branch is used for @@ -37652,7 +37653,7 @@ RuboCop::Cop::Style::ConcatArrayLiterals::RESTRICT_ON_SEND = T.let(T.unsafe(nil) # 2 # end # -# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#207 +# pkg:gem/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 @@ -37661,88 +37662,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:260 def on_case(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#270 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:232 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:232 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:232 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#246 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:246 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:232 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:232 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:232 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#232 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#385 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:385 def allowed_statements?(branches); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#307 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:307 def allowed_ternary?(assignment); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#315 + # pkg:gem/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#362 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:362 def assignment_types_match?(*nodes); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#377 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:377 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#300 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:300 def candidate_node?(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#282 + # pkg:gem/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#368 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:368 def check_node(node, branches); end # If `Layout/LineLength` is enabled, we do not want to introduce an @@ -37755,86 +37756,86 @@ class RuboCop::Cop::Style::ConditionalAssignment < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#401 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:401 def correction_exceeds_line_limit?(node, branches); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#432 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:432 def include_ternary?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#355 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:355 def lhs_all_match?(branches); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#420 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:420 def line_length_cop_enabled?; end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#413 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:413 def longest_line(node, assignment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#409 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:409 def longest_line_exceeds_line_limit?(node, assignment); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#424 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:424 def max_line_length; end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#339 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:339 def move_assignment_inside_condition(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#329 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:329 def move_assignment_outside_condition(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#428 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:428 def single_line_conditions_only?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#351 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:351 def ternary_condition?(node); end end -# source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#215 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 @@ -37842,84 +37843,84 @@ 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:51 def indent(cop, source); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:36 def lhs(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#32 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#439 +# pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:439 module RuboCop::Cop::Style::ConditionalCorrectorHelper - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#477 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:477 def assignment(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#506 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:506 def correct_branches(corrector, branches); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#483 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:483 def correct_if_branches(corrector, cop, node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#441 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:441 def remove_whitespace_in_branches(corrector, branch, condition, column); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#493 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:493 def replace_branch_assignment(corrector, branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#462 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:462 def same_line?(node1, node2); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#466 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:466 def white_space_range(node, column); end end @@ -37962,87 +37963,87 @@ end # MyClass = Struct.new() # end # -# source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#47 +# pkg:gem/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#56 + # pkg:gem/rubocop#lib/rubocop/cop/style/constant_visibility.rb:56 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/constant_visibility.rb:52 def visibility_declaration_for(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/constant_visibility.rb:74 def class_or_module_scope?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/constant_visibility.rb:66 def ignore_modules?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/constant_visibility.rb:70 def module?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/constant_visibility.rb:86 def visibility_declaration?(node); end end -# source://rubocop//lib/rubocop/cop/style/constant_visibility.rb#48 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/copyright.rb:28 def on_new_investigation; end private - # source://rubocop//lib/rubocop/cop/style/copyright.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/style/copyright.rb:45 def autocorrect(corrector); end - # source://rubocop//lib/rubocop/cop/style/copyright.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/style/copyright.rb:56 def autocorrect_notice; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/copyright.rb#86 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/copyright.rb:72 def insert_notice_before(processed_source); end - # source://rubocop//lib/rubocop/cop/style/copyright.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/copyright.rb:52 def notice; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/copyright.rb#93 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/copyright.rb:60 def verify_autocorrect_notice!; end end -# source://rubocop//lib/rubocop/cop/style/copyright.rb#26 +# pkg:gem/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 +# pkg:gem/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. @@ -38069,28 +38070,28 @@ RuboCop::Cop::Style::Copyright::MSG = T.let(T.unsafe(nil), String) # Person.ancestors # # => [Person, Data, (...)] # -# source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/style/data_inheritance.rb:33 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#55 + # pkg:gem/rubocop#lib/rubocop/cop/style/data_inheritance.rb:55 def data_define?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/data_inheritance.rb:43 def on_class(node); end private - # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/style/data_inheritance.rb:62 def correct_parent(parent, corrector); end - # source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/data_inheritance.rb:72 def range_for_empty_class_body(class_node, data_define); end end -# source://rubocop//lib/rubocop/cop/style/data_inheritance.rb#38 +# pkg:gem/rubocop#lib/rubocop/cop/style/data_inheritance.rb:38 RuboCop::Cop::Style::DataInheritance::MSG = T.let(T.unsafe(nil), String) # Checks for consistent usage of the `DateTime` class over the @@ -38130,40 +38131,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/date_time.rb:78 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/date_time.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/date_time.rb:70 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/date_time.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/date_time.rb:82 def disallow_coercion?; end end -# source://rubocop//lib/rubocop/cop/style/date_time.rb#52 +# pkg:gem/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 +# pkg:gem/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, @@ -38202,26 +38203,26 @@ 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#41 +# pkg:gem/rubocop#lib/rubocop/cop/style/def_with_parentheses.rb:41 class RuboCop::Cop::Style::DefWithParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/def_with_parentheses.rb:47 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/style/def_with_parentheses.rb:55 def on_defs(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/def_with_parentheses.rb:59 def parentheses_required?(node, arguments_range); end end -# source://rubocop//lib/rubocop/cop/style/def_with_parentheses.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/style/def_with_parentheses.rb:45 RuboCop::Cop::Style::DefWithParentheses::MSG = T.let(T.unsafe(nil), String) # Checks for chained `dig` calls that can be collapsed into a single `dig`. @@ -38238,38 +38239,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 +# pkg:gem/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#44 + # pkg:gem/rubocop#lib/rubocop/cop/style/dig_chain.rb:44 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#33 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/dig_chain.rb:64 def invalid_arguments?(arguments); end - # source://rubocop//lib/rubocop/cop/style/dig_chain.rb#74 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -38286,29 +38287,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/dir.rb:44 def file_keyword?(node); end end -# source://rubocop//lib/rubocop/cop/style/dir.rb#25 +# pkg:gem/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 +# pkg:gem/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. @@ -38323,27 +38324,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/dir_empty.rb:48 def bang(node); end end -# source://rubocop//lib/rubocop/cop/style/dir_empty.rb#22 +# pkg:gem/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 +# pkg:gem/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. @@ -38369,34 +38370,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -38471,54 +38472,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -38585,71 +38586,71 @@ RuboCop::Cop::Style::DocumentDynamicEvalDefinition::RESTRICT_ON_SEND = T.let(T.u # end # end # -# source://rubocop//lib/rubocop/cop/style/documentation.rb#72 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:94 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/documentation.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:100 def on_module(node); end - # source://rubocop//lib/rubocop/cop/style/documentation.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:82 def outer_module(param0); end private - # source://rubocop//lib/rubocop/cop/style/documentation.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:174 def allowed_constants; end - # source://rubocop//lib/rubocop/cop/style/documentation.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:106 def check(node, body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/documentation.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:147 def compact_namespace?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/documentation.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:143 def constant_allowed?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/documentation.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:139 def constant_declaration?(node); end - # source://rubocop//lib/rubocop/cop/style/documentation.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:178 def identifier(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/documentation.rb#123 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:129 def namespace?(node); end - # source://rubocop//lib/rubocop/cop/style/documentation.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:170 def nodoc(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/documentation.rb#166 + # pkg:gem/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 @@ -38657,19 +38658,19 @@ class RuboCop::Cop::Style::Documentation < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/documentation.rb#156 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation.rb:186 def qualify_const(node); end end -# source://rubocop//lib/rubocop/cop/style/documentation.rb#76 +# pkg:gem/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. @@ -38772,41 +38773,41 @@ RuboCop::Cop::Style::Documentation::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/style/documentation_method.rb#109 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation_method.rb:120 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#126 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/documentation_method.rb:146 def allowed_methods; end - # source://rubocop//lib/rubocop/cop/style/documentation_method.rb#130 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -38827,15 +38828,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -38882,56 +38883,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -38953,31 +38954,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -38994,21 +38995,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:43 def on_numblock(node); end private @@ -39018,41 +39019,41 @@ class RuboCop::Cop::Style::EachWithObject < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:101 def accumulator_param_assigned_to?(body, args); end - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#69 + # pkg:gem/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#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:83 def autocorrect_numblock(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:120 def first_argument_returned?(args, return_value); end - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:113 def return_value(body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:128 def return_value_occupies_whole_line?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:95 def simple_method_arg?(method_arg); end - # source://rubocop//lib/rubocop/cop/style/each_with_object.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/style/each_with_object.rb:132 def whole_line_expression(node); end end -# source://rubocop//lib/rubocop/cop/style/each_with_object.rb#24 +# pkg:gem/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 +# pkg:gem/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 @@ -39074,22 +39075,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -39125,36 +39126,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -39274,67 +39275,67 @@ RuboCop::Cop::Style::EmptyCaseCondition::NOT_SUPPORTED_PARENT_TYPES = T.let(T.un # statement # end # -# source://rubocop//lib/rubocop/cop/style/empty_else.rb#127 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_else.rb:141 def on_case(node); end - # source://rubocop//lib/rubocop/cop/style/empty_else.rb#137 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_else.rb:196 def autocorrect_forbidden?(type); end - # source://rubocop//lib/rubocop/cop/style/empty_else.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_else.rb:189 def base_node(node); end - # source://rubocop//lib/rubocop/cop/style/empty_else.rb#147 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_else.rb:158 def empty_style?; end - # source://rubocop//lib/rubocop/cop/style/empty_else.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_else.rb:200 def missing_else_style; end - # source://rubocop//lib/rubocop/cop/style/empty_else.rb#168 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_else.rb:154 def nil_style?; end end -# source://rubocop//lib/rubocop/cop/style/empty_else.rb#135 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -39367,18 +39368,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -39395,22 +39396,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -39433,79 +39434,79 @@ RuboCop::Cop::Style::EmptyLambdaParameter::MSG = T.let(T.unsafe(nil), String) # h = {} # s = '' # -# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#25 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:25 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#38 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:38 def array_node(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:47 def array_with_block(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#58 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:58 def array_with_index(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:41 def hash_node(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:50 def hash_with_block(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:66 def hash_with_index(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:73 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:44 def str_node(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:122 def correction(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:93 def first_argument_unparenthesized?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:140 def frozen_strings?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:113 def offense_array_node?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:117 def offense_hash_node?(node); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:83 def offense_message(node); end - # source://rubocop//lib/rubocop/cop/style/empty_literal.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:100 def replacement_range(node); end end -# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#31 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:31 RuboCop::Cop::Style::EmptyLiteral::ARR_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#32 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:32 RuboCop::Cop::Style::EmptyLiteral::HASH_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#35 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:35 RuboCop::Cop::Style::EmptyLiteral::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/empty_literal.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_literal.rb:33 RuboCop::Cop::Style::EmptyLiteral::STR_MSG = T.let(T.unsafe(nil), String) # Checks for the formatting of empty method definitions. @@ -39549,61 +39550,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:54 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/empty_method.rb#65 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:73 def correct_style?(node); end - # source://rubocop//lib/rubocop/cop/style/empty_method.rb#77 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:107 def expanded_style?; end - # source://rubocop//lib/rubocop/cop/style/empty_method.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:89 def joint(node); end - # source://rubocop//lib/rubocop/cop/style/empty_method.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:111 def max_line_length; end - # source://rubocop//lib/rubocop/cop/style/empty_method.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:69 def message(_range); end end -# source://rubocop//lib/rubocop/cop/style/empty_method.rb#51 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_method.rb:52 RuboCop::Cop::Style::EmptyMethod::MSG_EXPANDED = T.let(T.unsafe(nil), String) # Checks for empty strings being assigned inside string interpolation. @@ -39639,40 +39640,40 @@ RuboCop::Cop::Style::EmptyMethod::MSG_EXPANDED = T.let(T.unsafe(nil), String) # # good # "#{'foo' unless condition}" # -# source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#40 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:40 class RuboCop::Cop::Style::EmptyStringInsideInterpolation < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::Interpolation extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:49 def on_interpolation(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:86 def empty_branch_outcome?(branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:82 def empty_else_outcome?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:78 def empty_if_outcome?(node); end - # source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:92 def ternary_style_autocorrect(node, outcome, condition); end end -# source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#46 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:46 RuboCop::Cop::Style::EmptyStringInsideInterpolation::MSG_TERNARY = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/empty_string_inside_interpolation.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/style/empty_string_inside_interpolation.rb:45 RuboCop::Cop::Style::EmptyStringInsideInterpolation::MSG_TRAILING_CONDITIONAL = T.let(T.unsafe(nil), String) # Checks ensures source files have no utf-8 encoding comments. @@ -39683,35 +39684,35 @@ RuboCop::Cop::Style::EmptyStringInsideInterpolation::MSG_TRAILING_CONDITIONAL = # # coding: UTF-8 # # -*- coding: UTF-8 -*- # -# source://rubocop//lib/rubocop/cop/style/encoding.rb#12 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/encoding.rb:20 def on_new_investigation; end private - # source://rubocop//lib/rubocop/cop/style/encoding.rb#32 + # pkg:gem/rubocop#lib/rubocop/cop/style/encoding.rb:32 def comments; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/encoding.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/encoding.rb:43 def offense?(comment); end - # source://rubocop//lib/rubocop/cop/style/encoding.rb#47 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/encoding.rb:18 RuboCop::Cop::Style::Encoding::SHEBANG = T.let(T.unsafe(nil), String) # Checks for END blocks. @@ -39723,15 +39724,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/end_block.rb:18 RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String) # Checks for endless methods. @@ -39856,71 +39857,71 @@ RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String) # .baz # end # -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#132 +# pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:132 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#146 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:146 def on_def(node); end private - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:224 def arguments(node, missing = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:228 def can_be_made_endless?(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:208 def correct_to_multiline(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:218 def endless_replacement(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:163 def handle_allow_style(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#195 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:195 def handle_disallow_style(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:186 def handle_require_always_style(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:172 def handle_require_single_line_style(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:240 def modifier_offset(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#232 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:232 def too_long_when_made_endless?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:201 def use_heredoc?(node); end end -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#140 +# pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:140 RuboCop::Cop::Style::EndlessMethod::CORRECTION_STYLES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#141 +# pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:141 RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#142 +# pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:142 RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#144 +# pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:144 RuboCop::Cop::Style::EndlessMethod::MSG_REQUIRE_ALWAYS = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#143 +# pkg:gem/rubocop#lib/rubocop/cop/style/endless_method.rb:143 RuboCop::Cop::Style::EndlessMethod::MSG_REQUIRE_SINGLE = T.let(T.unsafe(nil), String) # Checks for consistent usage of `ENV['HOME']`. If `nil` is used as @@ -39938,21 +39939,21 @@ RuboCop::Cop::Style::EndlessMethod::MSG_REQUIRE_SINGLE = T.let(T.unsafe(nil), St # # good # ENV.fetch('HOME', default) # -# source://rubocop//lib/rubocop/cop/style/env_home.rb#31 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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` @@ -40006,92 +40007,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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?` @@ -40107,26 +40108,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -40148,34 +40149,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 +# pkg:gem/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 + # pkg:gem/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#52 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -40215,62 +40216,62 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#100 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -40308,64 +40309,64 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#160 + # pkg:gem/rubocop#lib/rubocop/cop/style/explicit_block_argument.rb:160 def block_body_range(block_node, send_node); end - # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/style/explicit_block_argument.rb:153 def build_new_arguments_for_zsuper(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/explicit_block_argument.rb#125 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -40420,40 +40421,40 @@ RuboCop::Cop::Style::ExplicitBlockArgument::MSG = T.let(T.unsafe(nil), String) # 1.17e6 # 3.14 # -# source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#60 +# pkg:gem/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#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:69 def on_float(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:80 def engineering?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:91 def integral?(node); end - # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:111 def message(_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:96 def offense?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:75 def scientific?(node); end end -# source://rubocop//lib/rubocop/cop/style/exponential_notation.rb#63 +# pkg:gem/rubocop#lib/rubocop/cop/style/exponential_notation.rb:63 RuboCop::Cop::Style::ExponentialNotation::MESSAGES = T.let(T.unsafe(nil), Hash) # Suggests `ENV.fetch` for the replacement of `ENV[]`. @@ -40487,14 +40488,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#38 +# pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:38 class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:46 def env_with_bracket?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:50 def on_send(node); end private @@ -40509,12 +40510,12 @@ class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:128 def allowable_use?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:71 def allowed_var?(node); end # The following are allowed cases: @@ -40524,35 +40525,35 @@ class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:136 def assigned?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:63 def default_to_nil?; 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#112 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:112 def message_chained_with_dot?(node); end - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:149 def new_code(name_node); end - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:67 def offense_message; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:107 def offensive?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:143 def or_lhs?(node); end # Avoid offending in the following cases: @@ -40560,32 +40561,32 @@ class RuboCop::Cop::Style::FetchEnvVar < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:103 def partial_matched?(node, condition); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:76 def used_as_flag?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:83 def used_if_condition_in_body?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:92 def used_in_condition?(node, condition); end end -# source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#42 +# pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:42 RuboCop::Cop::Style::FetchEnvVar::MSG_WITHOUT_NIL = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#41 +# pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:41 RuboCop::Cop::Style::FetchEnvVar::MSG_WITH_NIL = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/fetch_env_var.rb#43 +# pkg:gem/rubocop#lib/rubocop/cop/style/fetch_env_var.rb:43 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. @@ -40604,27 +40605,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_empty.rb:62 def bang(node); end end -# source://rubocop//lib/rubocop/cop/style/file_empty.rb#31 +# pkg:gem/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 +# pkg:gem/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 @@ -40655,33 +40656,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_null.rb:51 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/style/file_null.rb#61 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -40713,49 +40714,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_read.rb:66 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/file_read.rb#57 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -40784,31 +40785,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -40843,24 +40844,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_write.rb:82 def evidence(node); end - # source://rubocop//lib/rubocop/cop/style/file_write.rb#49 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_write.rb:69 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/file_write.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_write.rb:60 def send_write?(param0 = T.unsafe(nil)); end private @@ -40868,31 +40869,31 @@ class RuboCop::Cop::Style::FileWrite < ::RuboCop::Cop::Base # @return [Boolean] # @yield [content] # - # source://rubocop//lib/rubocop/cop/style/file_write.rb#92 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/file_write.rb:120 def heredoc?(write_node); end - # source://rubocop//lib/rubocop/cop/style/file_write.rb#125 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -40932,59 +40933,59 @@ RuboCop::Cop::Style::FileWrite::TRUNCATING_WRITE_MODES = T.let(T.unsafe(nil), Se # a.to_f / b # a / b.to_f # -# source://rubocop//lib/rubocop/cop/style/float_division.rb#56 +# pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:56 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#82 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:82 def any_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:78 def both_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:74 def left_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:98 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:91 def regexp_last_match?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:70 def right_coerce?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:86 def to_f_method?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/float_division.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:139 def add_to_f_method(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:148 def correct_from_slash_to_fdiv(corrector, node, receiver, argument); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:159 def extract_receiver_source(node); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:135 def message(_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/float_division.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:117 def offense_condition?(node); end - # source://rubocop//lib/rubocop/cop/style/float_division.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:143 def remove_to_f_method(corrector, send_node); end end -# source://rubocop//lib/rubocop/cop/style/float_division.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:60 RuboCop::Cop::Style::FloatDivision::MESSAGES = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/style/float_division.rb#67 +# pkg:gem/rubocop#lib/rubocop/cop/style/float_division.rb:67 RuboCop::Cop::Style::FloatDivision::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Looks for uses of the `for` keyword or `each` method. The @@ -41021,38 +41022,38 @@ RuboCop::Cop::Style::FloatDivision::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # end # end # -# source://rubocop//lib/rubocop/cop/style/for.rb#45 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/for.rb:64 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/for.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/style/for.rb:53 def on_for(node); end - # source://rubocop//lib/rubocop/cop/style/for.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/for.rb:80 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/for.rb#79 + # pkg:gem/rubocop#lib/rubocop/cop/style/for.rb:79 def on_numblock(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/for.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/style/for.rb:84 def suspect_enumerable?(node); end end -# source://rubocop//lib/rubocop/cop/style/for.rb#49 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -41097,55 +41098,55 @@ RuboCop::Cop::Style::For::PREFER_FOR = T.let(T.unsafe(nil), String) # # good # puts sprintf('%10s', 'foo') # -# source://rubocop//lib/rubocop/cop/style/format_string.rb#50 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string.rb:74 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/format_string.rb#70 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string.rb:102 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/format_string.rb#118 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string.rb:88 def autocorrectable?(node); end - # source://rubocop//lib/rubocop/cop/style/format_string.rb#145 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string.rb:94 def message(detected_style); end - # source://rubocop//lib/rubocop/cop/style/format_string.rb#98 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 tokens within a format string. @@ -41240,76 +41241,76 @@ RuboCop::Cop::Style::FormatString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array # sprintf("%{greeting}", greeting: 'Hello') # "%{greeting}" % { greeting: 'Hello' } # -# source://rubocop//lib/rubocop/cop/style/format_string_token.rb#107 +# pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:107 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#128 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:128 def format_string_in_typical_context?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:113 def on_str(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:178 def allowed_string?(node, detected_style); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:236 def allowed_unannotated?(detections); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#161 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:161 def autocorrect_sequence(corrector, detected_sequence, token_range); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:146 def check_sequence(detected_sequence, token_range); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#226 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:226 def collect_detections(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#249 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:249 def conservative?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:157 def correctable_sequence?(detected_type); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:135 def format_string_token?(node); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:245 def max_unannotated_placeholders_allowed; end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:183 def message(detected_style); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:188 def message_text(style); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:203 def str_contents(source_map); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#213 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:213 def token_ranges(contents); end - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:197 def tokens(str_node, &block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/format_string_token.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/style/format_string_token.rb:139 def use_allowed_method?(node); end end @@ -41384,7 +41385,7 @@ end # # ... # end # -# source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#84 +# pkg:gem/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 @@ -41392,70 +41393,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#215 + # pkg:gem/rubocop#lib/rubocop/cop/style/frozen_string_literal_comment.rb:215 def following_comment; end - # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#152 + # pkg:gem/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#197 + # pkg:gem/rubocop#lib/rubocop/cop/style/frozen_string_literal_comment.rb:197 def insert_comment(corrector); end - # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#137 + # pkg:gem/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#207 + # pkg:gem/rubocop#lib/rubocop/cop/style/frozen_string_literal_comment.rb:207 def line_range(line); end - # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#158 + # pkg:gem/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 + # pkg:gem/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#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/frozen_string_literal_comment.rb:211 def preceding_comment; end - # source://rubocop//lib/rubocop/cop/style/frozen_string_literal_comment.rb#186 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -41485,34 +41486,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#37 +# pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:37 class RuboCop::Cop::Style::GlobalStdStream < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:45 def const_to_gvar_assignment?(param0 = T.unsafe(nil), param1); end - # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:49 def on_const(node); end private - # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:73 def gvar_name(const_name); end - # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:65 def message(const_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:69 def namespaced?(node); end end -# source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#40 +# pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:40 RuboCop::Cop::Style::GlobalStdStream::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/global_std_stream.rb#42 +# pkg:gem/rubocop#lib/rubocop/cop/style/global_std_stream.rb:42 RuboCop::Cop::Style::GlobalStdStream::STD_STREAMS = T.let(T.unsafe(nil), Set) # Looks for uses of global variables. @@ -41532,33 +41533,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_vars.rb:72 def check(node); end - # source://rubocop//lib/rubocop/cop/style/global_vars.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_vars.rb:64 def on_gvar(node); end - # source://rubocop//lib/rubocop/cop/style/global_vars.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/global_vars.rb:68 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/global_vars.rb#56 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -41667,7 +41668,7 @@ RuboCop::Cop::Style::GlobalVars::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/style/guard_clause.rb#114 +# pkg:gem/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 @@ -41676,97 +41677,97 @@ 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 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:132 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:123 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:130 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:140 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:138 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#137 + # pkg:gem/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#276 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:276 def accepted_form?(node, ending: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#286 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:286 def accepted_if?(node, ending); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#313 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:313 def allowed_consecutive_conditionals?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#266 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:266 def and_or_guard_clause?(guard_clause); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#297 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:297 def assigned_lvar_used_in_if_branch?(node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:211 def autocorrect(corrector, node, condition, replacement, guard); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#237 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:237 def autocorrect_heredoc_argument(corrector, node, heredoc_branch, leave_branch, guard); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:160 def check_ending_body(body); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:171 def check_ending_if(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:181 def consecutive_conditionals?(parent, node); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#258 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:258 def guard_clause_source(guard_clause); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:233 def heredoc?(argument); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#249 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:249 def range_of_branch_to_remove(node, guard); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:189 def register_offense(node, scope_exiting_keyword, conditional_keyword, guard = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#309 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:309 def remove_whole_lines(corrector, range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#271 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:271 def too_long_for_single_line?(node, example); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/guard_clause.rb#280 + # pkg:gem/rubocop#lib/rubocop/cop/style/guard_clause.rb:280 def trivial?(node); end end -# source://rubocop//lib/rubocop/cop/style/guard_clause.rb#120 +# pkg:gem/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 @@ -41794,42 +41795,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_as_last_array_item.rb:89 def remove_last_element_trailing_comma(corrector, node); end end @@ -41859,62 +41860,62 @@ end # # good # Hash[*ary] # -# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#44 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#145 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:145 def allowed_splat_argument?; end - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:138 def args_to_hash(args); end - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:123 def multi_argument(node); end - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:95 def register_offense_for_hash(node, hash_argument); end - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:104 def register_offense_for_zip_method(node, zip_method); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:114 def requires_parens?(node); end - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:72 def single_argument(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_conversion.rb:89 def use_zip_method_without_argument?(first_argument); end end -# source://rubocop//lib/rubocop/cop/style/hash_conversion.rb#49 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -41942,102 +41943,102 @@ 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 +# pkg:gem/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#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:80 def check_unused_block_args(node, key, value); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#51 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#101 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:101 def on_block_pass(node); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:77 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#76 + # pkg:gem/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#184 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:184 def check_argument(variable); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:208 def correct_args(node, corrector); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:194 def correct_implicit(node, corrector, method_name); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#199 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:199 def correct_key_value_each(node, corrector); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:180 def format_message(method_name, current); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:109 def handleable?(node); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#215 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:215 def kv_range(outer_node); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:140 def message(prefer, method_name, unused_code); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:146 def register_each_args_offense(node, message, prefer, unused_range); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:117 def register_kv_offense(target, method); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:153 def register_kv_with_block_pass_offense(node, target, method); end - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:171 def root_receiver(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:128 def unused_block_arg_exist?(node, block_arg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:164 def use_array_converter_method_as_preceding?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_each_methods.rb:190 def used?(arg); end end -# source://rubocop//lib/rubocop/cop/style/hash_each_methods.rb#43 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -42089,7 +42090,7 @@ 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#61 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_except.rb:61 class RuboCop::Cop::Style::HashExcept < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::HashSubset @@ -42098,12 +42099,12 @@ class RuboCop::Cop::Style::HashExcept < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/style/hash_except.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_except.rb:74 def preferred_method_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_except.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_except.rb:70 def semantically_subset_method?(node); end end @@ -42137,38 +42138,38 @@ end # # ok - not handled by the cop since the final `fetch` value is non-nil # hash.fetch('foo', {}).fetch('bar', {}) # -# source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#40 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:40 class RuboCop::Cop::Style::HashFetchChain < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector extend ::RuboCop::Cop::TargetRubyVersion - # source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:50 def diggable?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:70 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:54 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:84 def inspect_chain(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:74 def last_fetch_non_nil?(node); end - # source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:97 def replacement(arguments); end end -# source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#44 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:44 RuboCop::Cop::Style::HashFetchChain::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/hash_fetch_chain.rb#45 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_fetch_chain.rb:45 RuboCop::Cop::Style::HashFetchChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for places where `case-when` represents a simple 1:1 @@ -42203,25 +42204,25 @@ RuboCop::Cop::Style::HashFetchChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr # 'http://au.example.com' # end # -# source://rubocop//lib/rubocop/cop/style/hash_like_case.rb#39 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_like_case.rb:42 RuboCop::Cop::Style::HashLikeCase::MSG = T.let(T.unsafe(nil), String) # Checks for usages of `Hash#reject`, `Hash#select`, and `Hash#filter` methods @@ -42273,7 +42274,7 @@ RuboCop::Cop::Style::HashLikeCase::MSG = T.let(T.unsafe(nil), String) # # good # {foo: 1, bar: 2, baz: 3}.slice(:bar) # -# source://rubocop//lib/rubocop/cop/style/hash_slice.rb#61 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_slice.rb:61 class RuboCop::Cop::Style::HashSlice < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::HashSubset @@ -42282,12 +42283,12 @@ class RuboCop::Cop::Style::HashSlice < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/style/hash_slice.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_slice.rb:74 def preferred_method_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_slice.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_slice.rb:70 def semantically_subset_method?(node); end end @@ -42412,87 +42413,87 @@ end # {a: 1, b: 2} # {:c => 3, 'd' => 4} # -# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#134 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:134 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#189 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:189 def alternative_style; end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:167 def hash_rockets_check(pairs); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:181 def no_mixed_keys_check(pairs); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:145 def on_hash(node); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:163 def ruby19_check(pairs); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:171 def ruby19_no_mixed_keys_check(pairs); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#221 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:221 def acceptable_19_syntax_symbol?(sym_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#278 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:278 def argument_without_space?(node); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#200 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:200 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#284 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:284 def autocorrect_hash_rockets(corrector, pair_node); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#293 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:293 def autocorrect_no_mixed_keys(corrector, pair_node); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#257 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:257 def autocorrect_ruby19(corrector, pair_node); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#242 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:242 def check(pairs, delim, msg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#301 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:301 def force_hash_rockets?(pairs); end - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#270 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:270 def range_for_autocorrect_ruby19(pair_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:210 def sym_indices?(pairs); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#214 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:214 def word_symbol_pair?(pair); end end -# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#140 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:140 RuboCop::Cop::Style::HashSyntax::MSG_19 = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#142 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:142 RuboCop::Cop::Style::HashSyntax::MSG_HASH_ROCKETS = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#141 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:141 RuboCop::Cop::Style::HashSyntax::MSG_NO_MIXED_KEYS = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/hash_syntax.rb#143 +# pkg:gem/rubocop#lib/rubocop/cop/style/hash_syntax.rb:143 RuboCop::Cop::Style::HashSyntax::NO_MIXED_KEYS_STYLES = T.let(T.unsafe(nil), Array) # Looks for uses of `+_.each_with_object({}) {...}+`, @@ -42513,30 +42514,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_transform_keys.rb:89 def new_method_name; end end @@ -42556,30 +42557,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/hash_transform_values.rb:87 def new_method_name; end end @@ -42670,91 +42671,91 @@ end # do_z # end # -# source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#110 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:193 def check_expressions(node, expressions, insert_position); end - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:218 def correct_assignment(corrector, node, expression, insert_position); end - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:228 def correct_no_assignment(corrector, node, expression, insert_position); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#173 + # pkg:gem/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#252 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:252 def expand_elses(branch); end - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:267 def head(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:236 def last_child_of_parent?(node); end - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#246 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:246 def message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#242 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:242 def single_child_branch?(branch_node); end - # source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#263 + # pkg:gem/rubocop#lib/rubocop/cop/style/identical_conditional_branches.rb:263 def tail(node); end end -# source://rubocop//lib/rubocop/cop/style/identical_conditional_branches.rb#114 +# pkg:gem/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#575 +# pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:575 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#580 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:580 def correct(corrector, cop, node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#584 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:584 def move_assignment_inside_condition(corrector, node); end private - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#598 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:598 def extract_tail_branches(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#605 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:605 def move_branch_inside_condition(corrector, branch, condition, assignment, column); end end end @@ -42812,48 +42813,48 @@ end # action_b # end # -# source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#61 +# pkg:gem/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 + # pkg:gem/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#146 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:146 def allow_if_modifier?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:142 def allow_if_modifier_in_else_branch?(else_branch); end - # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#87 + # pkg:gem/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#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:111 def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); end - # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:102 def correct_to_elsif_from_modifier_form(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:131 def find_end_range(node); end - # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:138 def if_condition_range(node, condition); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_inside_else.rb:127 def then?(node); end end -# source://rubocop//lib/rubocop/cop/style/if_inside_else.rb#65 +# pkg:gem/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 @@ -42925,7 +42926,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#74 +# pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:74 class RuboCop::Cop::Style::IfUnlessModifier < ::RuboCop::Cop::Base include ::RuboCop::Cop::Alignment include ::RuboCop::Cop::LineLengthHelp @@ -42935,130 +42936,130 @@ 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#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:92 def on_if(node); end private - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:189 def allowed_patterns; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#258 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:258 def another_statement_on_same_line?(node); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:150 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#312 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:312 def comment_on_node_line(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:124 def defined_argument_is_undefined?(if_node, defined_node); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:116 def defined_nodes(condition); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:112 def endless_method?(body); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#299 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:299 def extract_heredoc_from(last_argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#242 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:242 def line_length_enabled_at_line?(line); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:142 def message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#246 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:246 def named_capture_in_condition?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#250 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:250 def non_eligible_node?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#254 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:254 def non_simple_if_unless?(node); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:134 def pattern_matching_nodes(condition); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#316 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:316 def remove_comment(corrector, _node, comment); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#306 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:306 def remove_heredoc(corrector, heredoc); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:159 def replacement_for_modifier_form(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#292 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:292 def to_modifier_form_with_move_comment(node, indentation, comment); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#272 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:272 def to_normal_form(node, indentation); end - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#280 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:280 def to_normal_form_with_heredoc(node, indentation, heredoc); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:183 def too_long_due_to_comment_after_modifier?(node, comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:178 def too_long_due_to_modifier?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:233 def too_long_line_based_on_allow_qualified_name?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:224 def too_long_line_based_on_allow_uri?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#207 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:207 def too_long_line_based_on_config?(range, line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:216 def too_long_line_based_on_ignore_cop_directives?(range, line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:194 def too_long_single_line?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:87 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#82 +# pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:82 RuboCop::Cop::Style::IfUnlessModifier::MSG_USE_MODIFIER = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/if_unless_modifier.rb#85 +# pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier.rb:85 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 @@ -43081,18 +43082,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 +# pkg:gem/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#32 + # pkg:gem/rubocop#lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb:32 def on_if(node); end end -# source://rubocop//lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb#29 +# pkg:gem/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. @@ -43145,61 +43146,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -43212,62 +43213,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -43282,19 +43283,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -43312,24 +43313,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -43345,71 +43346,71 @@ RuboCop::Cop::Style::InPatternThen::MSG = T.let(T.unsafe(nil), String) # work # end # -# source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#23 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/infinite_loop.rb:44 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#49 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/infinite_loop.rb:40 def on_while(node); end - # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#48 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/infinite_loop.rb:70 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/infinite_loop.rb:103 def modifier_replacement(node); end - # source://rubocop//lib/rubocop/cop/style/infinite_loop.rb#114 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -43427,13 +43428,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/inline_comment.rb:21 RuboCop::Cop::Style::InlineComment::MSG = T.let(T.unsafe(nil), String) # Checks for usages of not (`not` or `!`) called on a method @@ -43469,69 +43470,69 @@ RuboCop::Cop::Style::InlineComment::MSG = T.let(T.unsafe(nil), String) # f != 1 # end # -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#43 +# pkg:gem/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#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:70 def inverse_block?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:61 def inverse_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:92 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:90 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:109 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:108 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:78 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:180 def camel_case_constant?(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:122 def correct_inverse_block(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:113 def correct_inverse_method(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:129 def correct_inverse_selector(block, corrector); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:184 def dot_range(loc); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:163 def end_parentheses(node, method_call); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:151 def inverse_blocks; end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:146 def inverse_methods; end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:194 def message(method, inverse); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:155 def negated?(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:159 def not_to_receiver(node, method_call); end # When comparing classes, `!(Integer < Numeric)` is not the same as @@ -43539,42 +43540,42 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#175 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:175 def possible_class_hierarchy_check?(lhs, rhs, method); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:188 def remove_end_parenthesis(corrector, node, method, method_call); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:167 def safe_navigation_incompatible?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:56 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#52 +# pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:52 RuboCop::Cop::Style::InverseMethods::CAMEL_CASE = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#48 +# pkg:gem/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#50 +# pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:50 RuboCop::Cop::Style::InverseMethods::EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#47 +# pkg:gem/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#51 +# pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:51 RuboCop::Cop::Style::InverseMethods::NEGATED_EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#54 +# pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:54 RuboCop::Cop::Style::InverseMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#49 +# pkg:gem/rubocop#lib/rubocop/cop/style/inverse_methods.rb:49 RuboCop::Cop::Style::InverseMethods::SAFE_NAVIGATION_INCOMPATIBLE_METHODS = T.let(T.unsafe(nil), Array) # Checks for usages of `unless` which can be replaced by `if` with inverted condition. @@ -43619,45 +43620,45 @@ RuboCop::Cop::Style::InverseMethods::SAFE_NAVIGATION_INCOMPATIBLE_METHODS = T.le # # good (if) # foo if !condition # -# source://rubocop//lib/rubocop/cop/style/invertible_unless_condition.rb#53 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -43674,54 +43675,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/ip_addresses.rb:55 def potential_ip?(str); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/ip_addresses.rb#68 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/ip_addresses.rb:25 RuboCop::Cop::Style::IpAddresses::MSG = T.let(T.unsafe(nil), String) # Checks for local variables and method parameters named `it`, @@ -43794,34 +43795,34 @@ RuboCop::Cop::Style::IpAddresses::MSG = T.let(T.unsafe(nil), String) # def foo(&block) # end # -# source://rubocop//lib/rubocop/cop/style/it_assignment.rb#75 +# pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:75 class RuboCop::Cop::Style::ItAssignment < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:83 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:86 def on_blockarg(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:87 def on_kwarg(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:88 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:89 def on_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:78 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:84 def on_optarg(node); end - # source://rubocop//lib/rubocop/cop/style/it_assignment.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:85 def on_restarg(node); end end -# source://rubocop//lib/rubocop/cop/style/it_assignment.rb#76 +# pkg:gem/rubocop#lib/rubocop/cop/style/it_assignment.rb:76 RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for blocks with one argument where `it` block parameter can be used. @@ -43868,34 +43869,34 @@ RuboCop::Cop::Style::ItAssignment::MSG = T.let(T.unsafe(nil), String) # block { do_something(it) } # block { |named_param| do_something(named_param) } # -# source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#53 +# pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:53 class RuboCop::Cop::Style::ItBlockParameter < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::TargetRubyVersion extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:64 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:94 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:81 def on_numblock(node); end private - # source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:111 def find_block_variables(node, block_argument_name); end end -# source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:59 RuboCop::Cop::Style::ItBlockParameter::MSG_AVOID_IT_PARAMETER = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:60 RuboCop::Cop::Style::ItBlockParameter::MSG_AVOID_IT_PARAMETER_MULTILINE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/it_block_parameter.rb#58 +# pkg:gem/rubocop#lib/rubocop/cop/style/it_block_parameter.rb:58 RuboCop::Cop::Style::ItBlockParameter::MSG_USE_IT_PARAMETER = T.let(T.unsafe(nil), String) # When passing an existing hash as keyword arguments, provide additional arguments @@ -43913,23 +43914,23 @@ RuboCop::Cop::Style::ItBlockParameter::MSG_USE_IT_PARAMETER = T.let(T.unsafe(nil # some_method(**opts, foo: true) # some_method(**opts, **other_opts) # -# source://rubocop//lib/rubocop/cop/style/keyword_arguments_merging.rb#21 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -43960,27 +43961,27 @@ 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 +# pkg:gem/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 + # pkg:gem/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#64 + # pkg:gem/rubocop#lib/rubocop/cop/style/keyword_parameters_order.rb:64 def append_newline_to_last_kwoptarg(arguments, corrector); end - # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/style/keyword_parameters_order.rb:55 def autocorrect(corrector, node, defining_node, kwarg_nodes); end - # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/keyword_parameters_order.rb:72 def remove_kwargs(kwarg_nodes, corrector); end end -# source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#38 +# pkg:gem/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 @@ -44025,50 +44026,50 @@ RuboCop::Cop::Style::KeywordParametersOrder::MSG = T.let(T.unsafe(nil), String) # x # end # -# source://rubocop//lib/rubocop/cop/style/lambda.rb#49 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:64 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:80 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#79 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:79 def on_numblock(node); end private - # source://rubocop//lib/rubocop/cop/style/lambda.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:116 def arguments_with_whitespace(node); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:105 def autocorrect_method_to_literal(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:120 def lambda_arg_string(args); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:90 def message(node, selector); end - # source://rubocop//lib/rubocop/cop/style/lambda.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:96 def message_line_modifier(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/lambda.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda.rb:84 def offending_selector?(node, selector); end end -# source://rubocop//lib/rubocop/cop/style/lambda.rb#53 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -44086,42 +44087,42 @@ RuboCop::Cop::Style::Lambda::OFFENDING_SELECTORS = T.let(T.unsafe(nil), Hash) # # good # lambda.call(x, y) # -# source://rubocop//lib/rubocop/cop/style/lambda_call.rb#21 +# pkg:gem/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#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda_call.rb:47 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#28 + # pkg:gem/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#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda_call.rb:73 def explicit_style?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda_call.rb:69 def implicit_style?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda_call.rb:51 def offense?(node); end - # source://rubocop//lib/rubocop/cop/style/lambda_call.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/style/lambda_call.rb:55 def prefer(node); end end -# source://rubocop//lib/rubocop/cop/style/lambda_call.rb#25 +# pkg:gem/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 +# pkg:gem/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 @@ -44140,83 +44141,83 @@ 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 +# pkg:gem/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 + # pkg:gem/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#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:80 def autocorrect(corrector, operator_range); end - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#57 + # pkg:gem/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#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:107 def eligible_next_successor?(next_successor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:103 def eligible_operator?(operator); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:111 def eligible_predecessor?(predecessor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:99 def eligible_successor?(successor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:93 def eligible_token_set?(predecessor, operator, successor); end - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:72 def register_offense(operator); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:130 def standard_string_literal?(token); end - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/style/line_end_concatenation.rb:115 def token_after_last_string(successor, base_index); end class << self - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#47 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -44303,133 +44304,133 @@ RuboCop::Cop::Style::LineEndConcatenation::SIMPLE_STRING_TOKEN_TYPE = T.let(T.un # # good # # frozen-string-literal: TRUE # -# source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#97 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/magic_comment_format.rb:125 def directives; end - # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/style/magic_comment_format.rb:116 def loc(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#116 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -44470,58 +44471,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 +# pkg:gem/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 + # pkg:gem/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#92 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -44572,86 +44573,86 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#130 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:130 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#129 + # pkg:gem/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 + # pkg:gem/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#214 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:214 def correct_push_node(corrector, push_node); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:224 def correct_return_value_handling(corrector, block, dest_var); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:157 def dest_used_only_for_mapping?(block, dest_var, asgn); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:151 def find_closest_assignment(block, dest_var); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:134 def find_dest_var(block); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:182 def new_method_name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:142 def offending_empty_array_tap?(node, dest_var); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:165 def register_offense(block, dest_var, asgn); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:201 def remove_assignment(corrector, asgn); end - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:208 def remove_tap(corrector, node, block_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_into_array.rb:188 def return_value_used?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/map_into_array.rb#105 + # pkg:gem/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 +# pkg:gem/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 @@ -44674,39 +44675,39 @@ 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 +# pkg:gem/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#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_hash.rb:49 def destructuring_argument(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#41 + # pkg:gem/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#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_hash.rb:66 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_hash.rb:57 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_hash.rb:71 def autocorrect(corrector, to_h, map); end class << self - # source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_hash.rb:53 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/map_to_hash.rb#37 +# pkg:gem/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 +# pkg:gem/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 @@ -44725,30 +44726,30 @@ 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 +# pkg:gem/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 + # pkg:gem/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#50 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_set.rb:50 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/map_to_set.rb#41 + # pkg:gem/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#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/map_to_set.rb:54 def autocorrect(corrector, to_set, map); end end -# source://rubocop//lib/rubocop/cop/style/map_to_set.rb#30 +# pkg:gem/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 +# pkg:gem/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 @@ -44953,7 +44954,7 @@ RuboCop::Cop::Style::MapToSet::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # bar :baz # end # -# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#220 +# pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:220 class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::AllowedMethods @@ -44963,37 +44964,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#238 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:238 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#235 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:235 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#239 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:239 def on_yield(node); end private - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#243 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:243 def args_begin(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#251 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:251 def args_end(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#255 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:255 def args_parenthesized?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses.rb#231 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses.rb:231 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 +# pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:9 module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses include ::RuboCop::Cop::RangeHelp @@ -45001,115 +45002,115 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#80 + # pkg:gem/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#191 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:191 def allowed_chained_call_with_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:187 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 + # pkg:gem/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#200 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:200 def ambiguous_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:180 def ambiguous_range_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#230 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:230 def assigned_before?(node, target); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#238 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:238 def assignment_in_condition?(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#34 + # pkg:gem/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#162 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:162 def call_as_argument_or_chain?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:155 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 + # pkg:gem/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#119 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:119 def call_in_logical_operators?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:167 def call_in_match_pattern?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:128 def call_in_optional_arguments?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:132 def call_in_single_line_inheritance?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:137 def call_with_ambiguous_arguments?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:151 def call_with_braced_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#248 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:248 def forwards_anonymous_rest_arguments?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:216 def hash_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#173 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:173 def hash_literal_in_arguments?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#50 + # pkg:gem/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#234 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:234 def inside_string_interpolation?(node); end # Require hash value omission be enclosed in parentheses to prevent the following issue: @@ -45117,106 +45118,106 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#64 + # pkg:gem/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 + # pkg:gem/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#212 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:212 def logical_operator?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#220 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:220 def regexp_slash_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#55 + # pkg:gem/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#204 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:204 def splat?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#76 + # pkg:gem/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 + # pkg:gem/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#208 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:208 def ternary_if?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb:224 def unary_literal?(node); end end -# source://rubocop//lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb#13 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -45240,41 +45241,41 @@ RuboCop::Cop::Style::MethodCallWithArgsParentheses::RequireParentheses::REQUIRE_ # # good # object.foo() # -# source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#29 +# pkg:gem/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#48 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:48 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#37 + # pkg:gem/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#67 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:67 def allowed_method_name?(name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:97 def any_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:63 def default_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:59 def ineligible_node?(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:114 def offense_range(node); end # Respects `Lint/ItWithoutArgumentsInBlock` cop and the following Ruby 3.3's warning: @@ -45285,24 +45286,24 @@ class RuboCop::Cop::Style::MethodCallWithoutArgsParentheses < ::RuboCop::Cop::Ba # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:89 def parenthesized_it_method_in_block?(node); end - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:52 def register_offense(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:71 def same_name_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#110 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_call_without_args_parentheses.rb:110 def variable_in_mass_assignment?(variable_name, node); end end -# source://rubocop//lib/rubocop/cop/style/method_call_without_args_parentheses.rb#34 +# pkg:gem/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 @@ -45324,27 +45325,27 @@ 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 +# pkg:gem/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 + # pkg:gem/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#51 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_called_on_do_end_block.rb:51 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_called_on_do_end_block.rb:39 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#38 + # pkg:gem/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#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/method_called_on_do_end_block.rb:41 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/style/method_called_on_do_end_block.rb#27 +# pkg:gem/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 @@ -45437,54 +45438,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 +# pkg:gem/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 + # pkg:gem/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#122 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -45499,32 +45500,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max.rb:22 def on_array(node); end - # source://rubocop//lib/rubocop/cop/style/min_max.rb#33 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max.rb:55 def argument_range(node); end - # source://rubocop//lib/rubocop/cop/style/min_max.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max.rb:42 def message(offender, receiver); end - # source://rubocop//lib/rubocop/cop/style/min_max.rb#46 + # pkg:gem/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 +# pkg:gem/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. @@ -45554,36 +45555,36 @@ 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 +# pkg:gem/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#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max_comparison.rb:47 def comparison_condition(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max_comparison.rb:54 def on_if(node); end private - # source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max_comparison.rb:80 def autocorrect(corrector, node, replacement); end - # source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/min_max_comparison.rb:72 def preferred_method(operator, lhs, rhs, if_branch, else_branch); end end -# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#44 +# pkg:gem/rubocop#lib/rubocop/cop/style/min_max_comparison.rb:44 RuboCop::Cop::Style::MinMaxComparison::COMPARISON_OPERATORS = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#42 +# pkg:gem/rubocop#lib/rubocop/cop/style/min_max_comparison.rb:42 RuboCop::Cop::Style::MinMaxComparison::GREATER_OPERATORS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/min_max_comparison.rb#43 +# pkg:gem/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 +# pkg:gem/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. @@ -45678,64 +45679,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/missing_else.rb:115 def on_case(node); end - # source://rubocop//lib/rubocop/cop/style/missing_else.rb#121 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/missing_else.rb:161 def case_style?; end - # source://rubocop//lib/rubocop/cop/style/missing_else.rb#127 + # pkg:gem/rubocop#lib/rubocop/cop/style/missing_else.rb:127 def check(node); end - # source://rubocop//lib/rubocop/cop/style/missing_else.rb#179 + # pkg:gem/rubocop#lib/rubocop/cop/style/missing_else.rb:179 def empty_else_config; end - # source://rubocop//lib/rubocop/cop/style/missing_else.rb#173 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/missing_else.rb:157 def if_style?; end - # source://rubocop//lib/rubocop/cop/style/missing_else.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/style/missing_else.rb:135 def message_template; end - # source://rubocop//lib/rubocop/cop/style/missing_else.rb#169 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -45786,23 +45787,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 +# pkg:gem/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 + # pkg:gem/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#63 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -45832,55 +45833,55 @@ RuboCop::Cop::Style::MissingRespondToMissing::MSG = T.let(T.unsafe(nil), String) # include Bar # end # -# source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#33 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/mixin_grouping.rb:40 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#49 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/mixin_grouping.rb:64 def check(send_node); end - # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/mixin_grouping.rb:110 def grouped_style?; end - # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#53 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/mixin_grouping.rb:114 def separated_style?; end - # source://rubocop//lib/rubocop/cop/style/mixin_grouping.rb#104 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -45921,22 +45922,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -46023,48 +46024,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/module_function.rb:112 def on_module(node); end - # source://rubocop//lib/rubocop/cop/style/module_function.rb#110 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/module_function.rb:155 def check_forbidden(nodes); end - # source://rubocop//lib/rubocop/cop/style/module_function.rb#141 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/module_function.rb:162 def message(_range); end end -# source://rubocop//lib/rubocop/cop/style/module_function.rb#100 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -46087,21 +46088,21 @@ 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 +# pkg:gem/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 + # pkg:gem/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#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_block_chain.rb:47 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_block_chain.rb#46 + # pkg:gem/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 +# pkg:gem/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. @@ -46116,26 +46117,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 +# pkg:gem/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 + # pkg:gem/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#45 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_if_modifier.rb:45 def indented_body(body, node); end - # source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#37 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_if_modifier.rb:37 def to_normal_if(node); end end -# source://rubocop//lib/rubocop/cop/style/multiline_if_modifier.rb#22 +# pkg:gem/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. @@ -46152,27 +46153,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -46199,13 +46200,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_in_pattern_then.rb:39 def on_in_pattern(node); end private @@ -46214,11 +46215,11 @@ class RuboCop::Cop::Style::MultilineInPatternThen < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/multiline_in_pattern_then.rb#51 + # pkg:gem/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 +# pkg:gem/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. @@ -46248,39 +46249,39 @@ RuboCop::Cop::Style::MultilineInPatternThen::MSG = T.let(T.unsafe(nil), String) # baz # end # -# source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#33 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_memoization.rb:56 def message(_node); end - # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#41 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_memoization.rb:62 def bad_rhs?(rhs); end - # source://rubocop//lib/rubocop/cop/style/multiline_memoization.rb#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -46298,47 +46299,47 @@ 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 +# pkg:gem/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 + # pkg:gem/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#37 + # pkg:gem/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#42 + # pkg:gem/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#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_method_signature.rb:73 def closing_line(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_method_signature.rb:77 def correction_exceeds_max_line_length?(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_method_signature.rb:85 def definition_width(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_method_signature.rb:81 def indentation_width(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#65 + # pkg:gem/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#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_method_signature.rb:89 def max_line_length; end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_method_signature.rb:69 def opening_line(node); end end -# source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#25 +# pkg:gem/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. @@ -46371,48 +46372,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -46440,12 +46441,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiline_when_then.rb:37 def on_when(node); end private @@ -46454,11 +46455,11 @@ class RuboCop::Cop::Style::MultilineWhenThen < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/multiline_when_then.rb#49 + # pkg:gem/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 +# pkg:gem/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 @@ -46503,59 +46504,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiple_comparison.rb:74 def on_or(node); end - # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#64 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiple_comparison.rb:132 def comparison?(node); end - # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiple_comparison.rb:158 def comparisons_threshold; end - # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#97 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiple_comparison.rb:124 def nested_comparison?(node); end - # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiple_comparison.rb:116 def offense_range(values); end - # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#144 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/multiple_comparison.rb:136 def simple_comparison(node); end - # source://rubocop//lib/rubocop/cop/style/multiple_comparison.rb#120 + # pkg:gem/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 +# pkg:gem/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 @@ -46627,72 +46628,72 @@ RuboCop::Cop::Style::MultipleComparison::MSG = T.let(T.unsafe(nil), String) # end # end.freeze # -# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#83 +# pkg:gem/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//lib/rubocop/cop/style/mutable_constant.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/mutable_constant.rb:140 def on_assignment(value); end - # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/mutable_constant.rb:216 def splat_value(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/style/mutable_constant.rb:168 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#157 + # pkg:gem/rubocop#lib/rubocop/cop/style/mutable_constant.rb:157 def check(value); end - # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#207 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -46700,35 +46701,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/mutable_constant.rb:91 def recent_shareable_value?(node); end end end @@ -46797,23 +46798,23 @@ end # # bar if !foo # -# source://rubocop//lib/rubocop/cop/style/negated_if.rb#71 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/negated_if.rb:92 def correct_style?(node); end - # source://rubocop//lib/rubocop/cop/style/negated_if.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/negated_if.rb:88 def message(node); end end @@ -46841,69 +46842,69 @@ end # # good # x ? do_something_else : do_something # -# source://rubocop//lib/rubocop/cop/style/negated_if_else_condition.rb#30 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -46960,23 +46961,23 @@ RuboCop::Cop::Style::NegatedIfElseCondition::NEGATED_EQUALITY_METHODS = T.let(T. # # good # bar unless !foo # -# source://rubocop//lib/rubocop/cop/style/negated_unless.rb#61 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/negated_unless.rb:82 def correct_style?(node); end - # source://rubocop//lib/rubocop/cop/style/negated_unless.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/negated_unless.rb:78 def message(node); end end @@ -47000,15 +47001,15 @@ end # bar while foo # bar while !foo && baz # -# source://rubocop//lib/rubocop/cop/style/negated_while.rb#25 +# pkg:gem/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#36 + # pkg:gem/rubocop#lib/rubocop/cop/style/negated_while.rb:36 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/negated_while.rb#29 + # pkg:gem/rubocop#lib/rubocop/cop/style/negated_while.rb:29 def on_while(node); end end @@ -47023,31 +47024,31 @@ end # # good # File.dirname(path, 2) # -# source://rubocop//lib/rubocop/cop/style/nested_file_dirname.rb#17 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -47061,55 +47062,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 +# pkg:gem/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#26 + # pkg:gem/rubocop#lib/rubocop/cop/style/nested_modifier.rb:26 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#25 + # pkg:gem/rubocop#lib/rubocop/cop/style/nested_modifier.rb:25 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#22 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/nested_modifier.rb:42 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#30 + # pkg:gem/rubocop#lib/rubocop/cop/style/nested_modifier.rb:30 def check(node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#65 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/nested_modifier.rb:38 def modifier?(node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#51 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/nested_modifier.rb:94 def requires_parens?(node); end - # source://rubocop//lib/rubocop/cop/style/nested_modifier.rb#71 + # pkg:gem/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 +# pkg:gem/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 @@ -47129,40 +47130,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 +# pkg:gem/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#47 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -47178,27 +47179,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -47273,129 +47274,129 @@ RuboCop::Cop::Style::NestedTernaryOperator::MSG = T.let(T.unsafe(nil), String) # puts a if a == 1 # end # -# source://rubocop//lib/rubocop/cop/style/next.rb#81 +# pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:81 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#100 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:100 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:113 def on_for(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:107 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:94 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/style/next.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:106 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:112 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:109 def on_while(node); end private - # source://rubocop//lib/rubocop/cop/style/next.rb#249 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:249 def actual_indent(lines, buffer); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#271 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:271 def allowed_consecutive_conditionals?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:148 def allowed_modifier_if?(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:191 def autocorrect_block(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:181 def autocorrect_modifier(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:117 def check(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:206 def cond_range(node, cond); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:267 def consecutive_conditionals?(if_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#225 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:225 def end_followed_by_whitespace_only?(source_buffer, end_pos); end - # source://rubocop//lib/rubocop/cop/style/next.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:216 def end_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:134 def ends_with_condition?(body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#164 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:164 def exit_body_type?(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#253 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:253 def heredoc_lines(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#156 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:156 def if_else_children?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:160 def if_without_else?(node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#176 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:176 def offense_location(offense_node); end - # source://rubocop//lib/rubocop/cop/style/next.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:170 def offense_node(body); end # Adjust indentation of `lines` to match `node` # - # source://rubocop//lib/rubocop/cop/style/next.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:240 def reindent(lines, node, corrector); end - # source://rubocop//lib/rubocop/cop/style/next.rb#260 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:260 def reindent_line(corrector, lineno, delta, buffer); end - # source://rubocop//lib/rubocop/cop/style/next.rb#229 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:229 def reindentable_lines(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/next.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:140 def simple_if_without_break?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/next.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:90 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/next.rb#88 +# pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:88 RuboCop::Cop::Style::Next::EXIT_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/next.rb#87 +# pkg:gem/rubocop#lib/rubocop/cop/style/next.rb:87 RuboCop::Cop::Style::Next::MSG = T.let(T.unsafe(nil), String) # Checks for comparison of something with nil using `==` and @@ -47422,43 +47423,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/nil_comparison.rb:47 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/nil_comparison.rb:69 def message(_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/style/nil_comparison.rb:81 def prefer_comparison?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/nil_comparison.rb:73 def style_check?(node, &block); end end -# source://rubocop//lib/rubocop/cop/style/nil_comparison.rb#36 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -47490,24 +47491,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -47546,74 +47547,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#84 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 `!`. @@ -47626,43 +47627,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/not.rb:32 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/not.rb#60 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/not.rb:50 def opposite_method?(child); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/not.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/not.rb:54 def requires_parens?(child); end end -# source://rubocop//lib/rubocop/cop/style/not.rb#20 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -47685,19 +47686,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -47715,32 +47716,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 +# pkg:gem/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/style/numbered_parameters_limit.rb#27 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -47773,77 +47774,77 @@ RuboCop::Cop::Style::NumberedParametersLimit::NUMBERED_PARAMETER_PATTERN = T.let # num = 0b10101 # num = 1234 # -# source://rubocop//lib/rubocop/cop/style/numeric_literal_prefix.rb#36 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -47880,54 +47881,54 @@ RuboCop::Cop::Style::NumericLiteralPrefix::OCTAL_ZERO_ONLY_REGEX = T.let(T.unsaf # # bad # 10_000_00 # typical representation of $10,000 in cents # -# source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#43 +# pkg:gem/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/style/numeric_literals.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_literals.rb:54 def min_digits=(value); end - # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_literals.rb:60 def on_float(node); end - # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#56 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_literals.rb:118 def allowed_numbers; end - # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#122 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_literals.rb:122 def allowed_patterns; end - # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#66 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_literals.rb:93 def format_number(node); end - # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_literals.rb:114 def min_digits; end - # source://rubocop//lib/rubocop/cop/style/numeric_literals.rb#82 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 (`==`, @@ -47992,67 +47993,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_predicate.rb:90 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#169 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_predicate.rb:111 def check(node); end - # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#154 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_predicate.rb:154 def invert; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#162 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_predicate.rb:162 def negated?(node); end - # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/numeric_predicate.rb:134 def parenthesized_source(node); end - # source://rubocop//lib/rubocop/cop/style/numeric_predicate.rb#124 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -48073,45 +48074,45 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:35 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/object_then.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:48 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/object_then.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:41 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/object_then.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:40 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/object_then.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:43 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/object_then.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:52 def check_method_node(node); end - # source://rubocop//lib/rubocop/cop/style/object_then.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:70 def message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/object_then.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/object_then.rb:66 def preferred_method?(node); end end -# source://rubocop//lib/rubocop/cop/style/object_then.rb#32 +# pkg:gem/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 +# pkg:gem/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. @@ -48158,71 +48159,71 @@ 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 +# pkg:gem/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#62 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:62 def on_normal_if_unless(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:108 def always_multiline?; end - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:90 def autocorrect(corrector, node, multiline); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:112 def cannot_replace_to_ternary?(node); end - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:126 def expr_replacement(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:147 def keyword_with_changed_precedence?(node); end - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:84 def message(node, multiline); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:140 def method_call_with_changed_precedence?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:80 def multiline?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:132 def requires_parentheses?(node); end - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:98 def ternary_correction(node); end - # source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:118 def ternary_replacement(node); end end -# source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:60 RuboCop::Cop::Style::OneLineConditional::MSG_MULTILINE = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#58 +# pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:58 RuboCop::Cop::Style::OneLineConditional::MSG_SUFFIX = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/one_line_conditional.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/style/one_line_conditional.rb:59 RuboCop::Cop::Style::OneLineConditional::MSG_TERNARY = T.let(T.unsafe(nil), String) # Flags uses of `OpenStruct`, as it is now officially discouraged @@ -48247,23 +48248,23 @@ RuboCop::Cop::Style::OneLineConditional::MSG_TERNARY = T.let(T.unsafe(nil), Stri # test_double = double # allow(test_double).to receive(:a).and_return('b') # -# source://rubocop//lib/rubocop/cop/style/open_struct_use.rb#44 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -48280,43 +48281,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -48335,31 +48336,31 @@ RuboCop::Cop::Style::OperatorMethodCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # # ... # end # -# source://rubocop//lib/rubocop/cop/style/option_hash.rb#22 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/option_hash.rb:30 def on_args(node); end - # source://rubocop//lib/rubocop/cop/style/option_hash.rb#26 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/option_hash.rb:39 def allowlist; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/option_hash.rb#48 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -48377,21 +48378,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/optional_arguments.rb:45 def argument_positions(arguments); end - # source://rubocop//lib/rubocop/cop/style/optional_arguments.rb#33 + # pkg:gem/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 +# pkg:gem/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 @@ -48420,23 +48421,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 +# pkg:gem/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 + # pkg:gem/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#52 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -48463,44 +48464,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 +# pkg:gem/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#65 + # pkg:gem/rubocop#lib/rubocop/cop/style/or_assignment.rb:65 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/style/or_assignment.rb:66 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/style/or_assignment.rb:51 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/style/or_assignment.rb:64 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/style/or_assignment.rb:57 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#35 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/or_assignment.rb:70 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/or_assignment.rb#80 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -48521,15 +48522,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#23 +# pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:23 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#110 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:110 def implicit_self_getter?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#29 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:29 def on_masgn(node); end private @@ -48538,49 +48539,49 @@ 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#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:103 def add_self_to_getters(right_elements); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:62 def allowed_lhs?(elements); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#56 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:56 def allowed_masign?(lhs_elements, rhs_elements); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:68 def allowed_rhs?(node); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:76 def assignment_corrector(node, rhs, order); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:49 def autocorrect(corrector, node, rhs); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:92 def find_valid_order(left_elements, right_elements); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:186 def modifier_statement?(node); end end # Topologically sorts the assignments with Kahn's algorithm. # https://en.wikipedia.org/wiki/Topological_sorting#Kahn's_algorithm # -# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#114 +# pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:114 class RuboCop::Cop::Style::ParallelAssignment::AssignmentSorter extend ::RuboCop::AST::NodePattern::Macros # @return [AssignmentSorter] a new instance of AssignmentSorter # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:126 def initialize(assignments); end # `lhs` is an assignment method call like `obj.attr=` or `ary[idx]=`. @@ -48588,124 +48589,124 @@ class RuboCop::Cop::Style::ParallelAssignment::AssignmentSorter # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#173 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:173 def accesses?(rhs, lhs); end # Returns all the assignments which must come after `assignment` # (due to dependencies on the previous value of the assigned var) # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:152 def dependencies_for_assignment(assignment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:166 def dependency?(lhs, rhs); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:124 def matching_calls(param0, param1, param2); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:130 def tsort; end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:121 def uses_var?(param0, param1); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:118 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#193 +# pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:193 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#198 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:198 def initialize(node, rhs, modifier, config, new_elements); end # Returns the value of attribute config. # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:196 def config; end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:206 def correction; end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:210 def correction_range; end # Returns the value of attribute node. # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:196 def node; end # Returns the value of attribute rescue_result. # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:196 def rescue_result; end # Returns the value of attribute rhs. # - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:196 def rhs; end protected - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#216 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:216 def assignment; end private - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#237 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:237 def cop_config; end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:233 def extract_sources(node); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#222 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:222 def source(node, loc); end end -# source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#27 +# pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:27 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#279 +# pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:279 class RuboCop::Cop::Style::ParallelAssignment::ModifierCorrector < ::RuboCop::Cop::Style::ParallelAssignment::GenericCorrector - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#280 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:280 def correction; end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#289 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:289 def correction_range; end private - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#295 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:295 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#244 +# pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:244 class RuboCop::Cop::Style::ParallelAssignment::RescueCorrector < ::RuboCop::Cop::Style::ParallelAssignment::GenericCorrector - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:245 def correction; end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#256 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:256 def correction_range; end private - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:267 def begin_correction(rescue_result); end - # source://rubocop//lib/rubocop/cop/style/parallel_assignment.rb#262 + # pkg:gem/rubocop#lib/rubocop/cop/style/parallel_assignment.rb:262 def def_correction(rescue_result); end end @@ -48755,56 +48756,56 @@ end # # good # foo unless (bar = baz) # -# source://rubocop//lib/rubocop/cop/style/parentheses_around_condition.rb#56 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#71 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/parentheses_around_condition.rb:103 def semicolon_separated_expressions?(first_exp, rest_exps); end end @@ -48829,65 +48830,65 @@ end # # bad # %I(alpha beta) # -# source://rubocop//lib/rubocop/cop/style/percent_literal_delimiters.rb#26 +# pkg:gem/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 + # pkg:gem/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#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/percent_literal_delimiters.rb:78 def uses_preferred_delimiter?(node, type); end end @@ -48913,37 +48914,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -48957,17 +48958,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/perl_backrefs.rb:25 def on_gvar(node); end - # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#29 + # pkg:gem/rubocop#lib/rubocop/cop/style/perl_backrefs.rb:29 def on_nth_ref(node); end private @@ -48976,14 +48977,14 @@ class RuboCop::Cop::Style::PerlBackrefs < ::RuboCop::Cop::Base # @private # @return [String] # - # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#99 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/perl_backrefs.rb:38 def derived_from_braceless_interpolation?(node); end # @param node [RuboCop::AST::Node] @@ -48991,38 +48992,38 @@ class RuboCop::Cop::Style::PerlBackrefs < ::RuboCop::Cop::Base # @private # @return [String] # - # source://rubocop//lib/rubocop/cop/style/perl_backrefs.rb#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -49048,38 +49049,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 +# pkg:gem/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#52 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -49092,24 +49093,24 @@ 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 +# pkg:gem/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#24 + # pkg:gem/rubocop#lib/rubocop/cop/style/proc.rb:24 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/proc.rb#33 + # pkg:gem/rubocop#lib/rubocop/cop/style/proc.rb:33 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/proc.rb#32 + # pkg:gem/rubocop#lib/rubocop/cop/style/proc.rb:32 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/proc.rb#22 + # pkg:gem/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 +# pkg:gem/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. @@ -49139,55 +49140,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/quoted_symbols.rb:106 def alternative_style; end - # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/quoted_symbols.rb:71 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#88 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/quoted_symbols.rb:110 def quoted?(sym_node); end - # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/style/quoted_symbols.rb:99 def style; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/quoted_symbols.rb#114 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -49228,59 +49229,59 @@ RuboCop::Cop::Style::QuotedSymbols::MSG_SINGLE = T.let(T.unsafe(nil), String) # raise MyWrappedError.new(obj) # raise MyWrappedError.new(obj), 'message' # -# source://rubocop//lib/rubocop/cop/style/raise_args.rb#47 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/raise_args.rb:98 def check_compact(node); end - # source://rubocop//lib/rubocop/cop/style/raise_args.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/raise_args.rb:114 def check_exploded(node); end - # source://rubocop//lib/rubocop/cop/style/raise_args.rb#72 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -49304,53 +49305,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -49395,45 +49396,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 +# pkg:gem/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#76 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_argument.rb:76 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_argument.rb#64 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -49455,26 +49456,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 calls of `Array#flatten`. @@ -49490,24 +49491,24 @@ RuboCop::Cop::Style::RedundantArrayConstructor::RESTRICT_ON_SEND = T.let(T.unsaf # # good # x.join # -# source://rubocop//lib/rubocop/cop/style/redundant_array_flatten.rb#26 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_array_flatten.rb:26 class RuboCop::Cop::Style::RedundantArrayFlatten < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_array_flatten.rb#34 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_array_flatten.rb:34 def flatten_join?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_array_flatten.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_array_flatten.rb:46 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_array_flatten.rb#38 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_array_flatten.rb:38 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_array_flatten.rb#29 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_array_flatten.rb:29 RuboCop::Cop::Style::RedundantArrayFlatten::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/redundant_array_flatten.rb#31 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_array_flatten.rb:31 RuboCop::Cop::Style::RedundantArrayFlatten::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant assignment before returning. @@ -49544,44 +49545,44 @@ RuboCop::Cop::Style::RedundantArrayFlatten::RESTRICT_ON_SEND = T.let(T.unsafe(ni # end # end # -# source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#40 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_assignment.rb:50 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_assignment.rb:53 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_assignment.rb:58 def check_branch(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_assignment.rb#79 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -49644,115 +49645,115 @@ RuboCop::Cop::Style::RedundantAssignment::MSG = T.let(T.unsafe(nil), String) # end # end # -# source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#65 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:76 def offensive_kwbegins(param0); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:111 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:94 def on_case(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:97 def on_case_match(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:80 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:86 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:88 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:121 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:123 def on_kwbegin(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:120 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:109 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:99 def on_while(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:131 def allowable_kwbegin?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#205 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:205 def begin_block_has_multiline_statements?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#197 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:197 def condition_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:211 def contain_rescue_or_ensure?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:190 def correct_modifier_form_after_multiline_begin_block(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:201 def empty_begin?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:228 def inspect_branches(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:138 def register_offense(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#167 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:167 def remove_begin(corrector, offense_range, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:155 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#177 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:177 def restore_removed_comments(corrector, offense_range, node, first_child); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:184 def use_modifier_form_after_multiline_begin_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:224 def valid_begin_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#217 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_begin.rb:217 def valid_context_using_only_begin?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/redundant_begin.rb#71 + # pkg:gem/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 +# pkg:gem/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. @@ -49767,27 +49768,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -49848,14 +49849,14 @@ RuboCop::Cop::Style::RedundantCapitalW::MSG = T.let(T.unsafe(nil), String) # # good # num.nonzero? ? true : false # -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#65 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:65 class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:77 def on_if(node); end private @@ -49865,127 +49866,127 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#225 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:225 def argument_with_operator?(argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#202 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:202 def asgn_type?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:97 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#192 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:192 def branches_have_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:206 def branches_have_method?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#312 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:312 def correct_ternary(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#259 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:259 def else_source(else_branch, arithmetic_operation); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#285 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:285 def else_source_if_has_assignment(else_branch); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#275 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:275 def else_source_if_has_method(else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#181 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:181 def if_branch_is_true_type_and_else_is_not?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#241 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:241 def if_source(if_branch, arithmetic_operation); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#295 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:295 def make_ternary_form(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:89 def message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:118 def offense?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:111 def range_of_offense(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:126 def redundant_condition?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#327 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:327 def require_braces?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#320 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:320 def require_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#219 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:219 def same_method?(if_branch, else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#213 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:213 def single_argument_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:142 def synonymous_condition_and_branch?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#331 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:331 def use_arithmetic_operation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:138 def use_hash_key_access?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:134 def use_hash_key_assignment?(else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:130 def use_if_branch?(else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#335 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:335 def without_argument_parentheses_method?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#233 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:233 def wrap_arguments_with_parens(condition); end end -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#73 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:73 RuboCop::Cop::Style::RedundantCondition::ARGUMENT_WITH_OPERATOR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#71 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:71 RuboCop::Cop::Style::RedundantCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#72 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_condition.rb:72 RuboCop::Cop::Style::RedundantCondition::REDUNDANT_CONDITION = T.let(T.unsafe(nil), String) # Checks for redundant returning of true/false in conditionals. @@ -50010,41 +50011,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_conditional.rb:36 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#56 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_conditional.rb:65 def offense?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_conditional.rb#71 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -50085,38 +50086,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -50130,30 +50131,30 @@ 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 +# pkg:gem/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#26 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_current_directory_in_path.rb:26 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_current_directory_in_path.rb:42 def redundant_path_length(path); end end -# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#23 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_current_directory_in_path.rb:23 RuboCop::Cop::Style::RedundantCurrentDirectoryInPath::CURRENT_DIRECTORY_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#21 +# pkg:gem/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#24 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_current_directory_in_path.rb:24 RuboCop::Cop::Style::RedundantCurrentDirectoryInPath::REDUNDANT_CURRENT_DIRECTORY_PREFIX = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/style/redundant_current_directory_in_path.rb#22 +# pkg:gem/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. @@ -50172,54 +50173,54 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb:107 def convert_to_new_arguments(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb:119 def mergeable?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb#81 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -50246,41 +50247,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 +# pkg:gem/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#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_each.rb:59 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#43 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_each.rb:96 def message(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_each.rb:86 def range(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_each.rb#64 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -50300,49 +50301,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_exception.rb:57 def fix_compact(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_exception.rb:39 def fix_exploded(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#65 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_exception.rb:65 def replaced_compact(message); end - # source://rubocop//lib/rubocop/cop/style/redundant_exception.rb#47 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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)`. @@ -50373,49 +50374,49 @@ 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 +# pkg:gem/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 + # pkg:gem/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#81 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:81 def rails_cache?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:48 def redundant_fetch_block_candidate?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:96 def build_bad_method(send, body); end - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:89 def build_good_method(send, body); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:103 def check_for_constant?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:107 def check_for_string?; end - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:85 def fetch_range(send, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_fetch_block.rb:74 def should_not_check?(send, body); end end -# source://rubocop//lib/rubocop/cop/style/redundant_fetch_block.rb#45 +# pkg:gem/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 @@ -50439,27 +50440,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -50501,41 +50502,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 +# pkg:gem/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#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_filter_chain.rb:59 RuboCop::Cop::Style::RedundantFilterChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for calls to `Kernel#format` or `Kernel#sprintf` that are redundant. @@ -50570,94 +50571,94 @@ RuboCop::Cop::Style::RedundantFilterChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil # # good # 'foo bar' # -# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#54 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:54 class RuboCop::Cop::Style::RedundantFormat < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:73 def complex_number?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:78 def find_hash_value_node(param0, param1); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#63 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:63 def format_without_additional_args?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:90 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:68 def rational_number?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:83 def splatted_arguments?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:138 def all_fields_literal?(string, arguments); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:245 def argument_value(argument); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#241 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:241 def argument_values(arguments); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#277 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:277 def complex_value(complex_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:109 def detect_unnecessary_fields(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#263 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:263 def dsym_value(dsym_node); end # Escape any control characters in the string (eg. `\t` or `\n` become `\\t` or `\\n`) # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#237 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:237 def escape_control_chars(string); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:169 def find_argument(sequence, arguments, hash); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#212 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:212 def float?(argument); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#267 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:267 def hash_value(hash_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#208 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:208 def integer?(argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:184 def matching_argument?(sequence, argument); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:105 def message(node, prefer); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#202 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:202 def numeric?(argument); end # Add correct quotes to the formatted string, preferring retaining the existing # quotes if possible. # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:218 def quote(string, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#273 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:273 def rational_value(rational_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:121 def register_all_fields_literal(node, string, arguments); end # If the sequence has a variable (`*`) width, it cannot be autocorrected @@ -50665,17 +50666,17 @@ class RuboCop::Cop::Style::RedundantFormat < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#161 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:161 def unknown_variable_width?(sequence, arguments); end end -# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#60 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:60 RuboCop::Cop::Style::RedundantFormat::ACCEPTABLE_LITERAL_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#57 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:57 RuboCop::Cop::Style::RedundantFormat::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#59 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_format.rb:59 RuboCop::Cop::Style::RedundantFormat::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Checks for uses of `Object#freeze` on immutable objects. @@ -50692,32 +50693,32 @@ RuboCop::Cop::Style::RedundantFormat::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Se # # good # CONST = 1 # -# source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#19 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_freeze.rb:26 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#57 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_freeze.rb:39 def immutable_literal?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_freeze.rb#48 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -50743,26 +50744,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -50857,48 +50858,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_initialize.rb:147 def forwards?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_initialize.rb#137 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -50914,73 +50915,73 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:49 def on_dstr(node); end private - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#131 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:131 def autocorrect_other(corrector, embedded_node, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:114 def autocorrect_single_variable_interpolation(corrector, embedded_node, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:108 def autocorrect_variable_interpolation(corrector, embedded_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:104 def embedded_in_percent_array?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:100 def implicit_concatenation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:92 def interpolation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:141 def require_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:68 def single_interpolation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#83 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:83 def single_variable_interpolation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:75 def use_match_pattern?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation.rb:96 def variable_interpolation?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/redundant_interpolation.rb#45 + # pkg:gem/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 +# pkg:gem/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 @@ -50998,20 +50999,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb:28 RuboCop::Cop::Style::RedundantInterpolationUnfreeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for redundant line continuation. @@ -51075,61 +51076,61 @@ RuboCop::Cop::Style::RedundantInterpolationUnfreeze::RESTRICT_ON_SEND = T.let(T. # some_method \ # (argument) # -# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#67 +# pkg:gem/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#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:86 def on_new_investigation; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:218 def argument_is_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:184 def argument_newline?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:163 def code_ends_with_continuation?(last_line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:111 def ends_with_uncommented_backslash?(range); end - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:198 def find_node_for_line(last_line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:169 def inside_string_literal?(range, token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:124 def inside_string_literal_or_method_with_argument?(range); end - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:151 def inspect_end_of_ruby_code_line_continuation; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:135 def leading_dot_method_chain_with_blank_line?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#225 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:225 def method_call_with_arguments?(node); end # A method call without parentheses such as the following cannot remove `\`: @@ -51139,54 +51140,54 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:177 def method_with_argument?(line_range, current_token, next_token); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#141 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:141 def redundant_line_continuation?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:103 def require_line_continuation?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#204 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:204 def same_line?(node, line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#229 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:229 def start_with_arithmetic_operator?(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:120 def string_concatenation?(source_line); end end -# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#74 +# pkg:gem/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#81 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:81 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 +# pkg:gem/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#84 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_line_continuation.rb:84 RuboCop::Cop::Style::RedundantLineContinuation::ARITHMETIC_OPERATOR_TOKENS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#72 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -51199,207 +51200,207 @@ 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 +# pkg:gem/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#31 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:31 def allowed_pin_operator?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#332 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:332 def first_send_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#337 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:337 def first_super_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#342 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:342 def first_yield_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#190 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:190 def interpolation?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#33 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:33 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#28 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:28 def rescue?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#23 + # pkg:gem/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#216 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:216 def allow_in_multiline_conditions?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:68 def allowed_ancestor?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:61 def allowed_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:73 def allowed_multiple_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:82 def allowed_ternary?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#192 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:192 def argument_of_parenthesized_method_call?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#346 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:346 def call_chain_starts_with_int?(begin_node, send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#220 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:220 def call_node?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:138 def check(begin_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#224 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:224 def check_send(begin_node, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#236 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:236 def check_unary(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#259 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:259 def disallowed_literal?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#269 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:269 def disallowed_one_line_pattern_matching?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#352 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:352 def do_end_block_in_method_chain?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:109 def empty_parentheses?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#153 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:153 def find_offense_message(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:114 def first_arg_begins_with_hash_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#321 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:321 def first_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#54 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:54 def ignore_syntax?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:123 def in_pattern_matching_in_method_argument?(begin_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#255 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:255 def keyword_ancestor?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#289 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:289 def keyword_with_redundant_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:95 def like_method_argument_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:210 def method_call_parentheses_required?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#302 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:302 def method_call_with_redundant_parentheses?(begin_node, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#130 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:130 def method_chain_begins_with_hash_literal(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#102 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:102 def multiline_control_flow_statements?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#245 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:245 def offense(node, msg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:201 def oneline_rescue_parentheses_required?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#317 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:317 def only_begin_arg?(args); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#45 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:45 def parens_allowed?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#278 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:278 def raised_to_power_negative_numeric?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#310 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:310 def singular_parenthesized_parent?(begin_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#251 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:251 def suspect_unary?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:88 def ternary_parentheses_required?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_parentheses.rb:41 def variable?(node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#20 +# pkg:gem/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. @@ -51416,80 +51417,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -51522,41 +51523,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 +# pkg:gem/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#61 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_argument.rb:70 def preferred_argument(regexp_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#92 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_argument.rb:92 def replacement(regexp_node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_regexp_argument.rb#43 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -51584,59 +51585,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -51653,21 +51654,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -51700,56 +51701,56 @@ RuboCop::Cop::Style::RedundantRegexpConstructor::RESTRICT_ON_SEND = T.let(T.unsa # # good # /[+\-]\d/ # -# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#35 +# pkg:gem/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#46 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:46 def on_regexp(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#61 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:61 def allowed_escape?(node, char, index, within_character_class); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:78 def char_class_begins_or_ends_with_escaped_hyphen?(node, index); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:94 def delimiter?(node, char); end - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:106 def each_escape(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#118 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:118 def escape_range_at_index(node, index); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:100 def requires_escape_to_avoid_interpolation?(char_before_escape, escaped_char); end end -# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#41 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#44 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_regexp_escape.rb:44 RuboCop::Cop::Style::RedundantRegexpEscape::INTERPOLATION_SIGILS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/redundant_regexp_escape.rb#39 +# pkg:gem/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. @@ -51799,82 +51800,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_return.rb:69 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_return.rb:72 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#63 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_return.rb:110 def check_branch(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_return.rb#144 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_return.rb:179 def message(node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_return.rb#59 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -51917,94 +51918,94 @@ 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 +# pkg:gem/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 + # pkg:gem/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#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:74 def on_and_asgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:87 def on_args(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:119 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:91 def on_blockarg(node); end # Using self.x to distinguish from local variable x # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:82 def on_def(node); end # Using self.x to distinguish from local variable x # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:85 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:126 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:103 def on_in_pattern(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:124 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:99 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:95 def on_masgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:123 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:76 def on_op_asgn(node); end # Assignment of self.x # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:68 def on_or_asgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:107 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:138 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:137 def on_while(node); end private - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#193 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:193 def add_lhs_to_local_variables_scopes(rhs, lhs); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#201 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:201 def add_masgn_lhs_variables(rhs, lhs); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#207 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:207 def add_match_var_scopes(in_pattern_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:142 def add_scope(node, local_variables = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:187 def allow_self(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:148 def allowed_send_node?(node); end # Respects `Lint/ItWithoutArgumentsInBlock` cop and the following Ruby 3.3's warning: @@ -52015,30 +52016,30 @@ class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:163 def it_method_in_block?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#179 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:179 def on_argument(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self.rb:171 def regular_method_call?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/redundant_self.rb#56 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -52057,55 +52058,55 @@ RuboCop::Cop::Style::RedundantSelf::MSG = T.let(T.unsafe(nil), String) # # good # foo.concat(ary) # -# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#27 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:27 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#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:86 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:74 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:75 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:73 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:59 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:77 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:49 def redundant_self_assignment?(param0 = T.unsafe(nil), param1, param2); end private - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#100 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:100 def correction_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:90 def method_returning_self?(method_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:94 def redundant_assignment?(node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#41 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:41 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#34 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:34 RuboCop::Cop::Style::RedundantSelfAssignment::METHODS_RETURNING_SELF = T.let(T.unsafe(nil), Set) -# source://rubocop//lib/rubocop/cop/style/redundant_self_assignment.rb#31 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_self_assignment.rb:31 RuboCop::Cop::Style::RedundantSelfAssignment::MSG = T.let(T.unsafe(nil), String) # Checks for places where conditional branch makes redundant self-assignment. @@ -52127,43 +52128,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -52212,18 +52213,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 +# pkg:gem/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#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:111 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:104 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:88 def redundant_sort?(param0 = T.unsafe(nil)); end private @@ -52231,52 +52232,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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:193 def accessor_start(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#183 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:183 def arg_node(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#187 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:187 def arg_value(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#148 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:166 def base(accessor, arg); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#115 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort.rb:174 def suffix(sorter); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort.rb#162 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -52292,42 +52293,42 @@ 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 +# pkg:gem/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#26 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:26 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:46 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#36 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:36 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:59 def redundant_sort_by_block(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:69 def redundant_sort_by_itblock(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#64 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:64 def redundant_sort_by_numblock(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#73 + # pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:73 def sort_by_range(send, node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#22 +# pkg:gem/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#24 +# pkg:gem/rubocop#lib/rubocop/cop/style/redundant_sort_by.rb:24 RuboCop::Cop::Style::RedundantSortBy::MSG_ITBLOCK = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/redundant_sort_by.rb#23 +# pkg:gem/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. @@ -52362,95 +52363,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -52537,94 +52538,94 @@ RuboCop::Cop::Style::RedundantStringEscape::MSG = T.let(T.unsafe(nil), String) # (baz) # /x # -# source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#93 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/regexp_literal.rb:140 def contains_slash?(node); end - # source://rubocop//lib/rubocop/cop/style/regexp_literal.rb#170 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -52684,46 +52685,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/require_order.rb:123 def search_node(node); end - # source://rubocop//lib/rubocop/cop/style/require_order.rb#127 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -52761,39 +52762,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/rescue_modifier.rb:52 def on_resbody(node); end private - # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/rescue_modifier.rb:71 def correct_rescue_block(corrector, node, parenthesized); end - # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/style/rescue_modifier.rb:98 def heredoc_end(node); end - # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#88 + # pkg:gem/rubocop#lib/rubocop/cop/style/rescue_modifier.rb:88 def indentation_and_offset(node, parenthesized); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/rescue_modifier.rb#66 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -52863,35 +52864,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -52923,46 +52924,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/return_nil.rb:48 def on_return(node); end - # source://rubocop//lib/rubocop/cop/style/return_nil.rb#46 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/return_nil.rb:80 def correct_style?(node); end - # source://rubocop//lib/rubocop/cop/style/return_nil.rb#76 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -53022,48 +53023,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 +# pkg:gem/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 + # pkg:gem/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#90 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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` @@ -53143,7 +53144,7 @@ RuboCop::Cop::Style::ReturnNilInPredicateMethodDefinition::MSG = T.let(T.unsafe( # foo ? foo[idx] = v : nil # Ignored `foo&.[]=(idx, v)` due to unclear readability benefit. # foo ? foo * 42 : nil # Ignored `foo&.*(42)` due to unclear readability benefit. # -# source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#93 +# pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:93 class RuboCop::Cop::Style::SafeNavigation < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::NilMethods @@ -53151,146 +53152,146 @@ 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#140 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:140 def and_inside_begin?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:134 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#108 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:108 def modifier_if_safe_navigation_candidate(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#137 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:137 def not_nil_check?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:165 def on_and(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#146 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:146 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:143 def strip_begin(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:123 def ternary_safe_navigation_candidate(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#408 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:408 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#304 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:304 def allowed_if_condition?(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#235 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:235 def and_parts(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#400 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:400 def begin_range(node, method_call); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#359 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:359 def chain_length(method_chain, method); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#217 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:217 def collect_and_clauses(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#285 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:285 def comments(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#229 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:229 def concat_nodes(nodes, and_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#264 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:264 def dotless_operator_call?(method_call); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#272 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:272 def dotless_operator_method?(method_call); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#404 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:404 def end_range(node, method_call); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#323 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:323 def extract_common_parts(method_chain, checked_variable); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#256 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:256 def extract_if_body(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#308 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:308 def extract_parts_from_if(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#331 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:331 def find_matching_receiver_invocation(method_chain, checked_variable); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:211 def find_method_chain(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#278 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:278 def handle_comments(corrector, node, method_call); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#345 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:345 def matching_call_nodes?(left, right); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#341 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:341 def matching_nodes?(left, right); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#421 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:421 def max_chain_length; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#396 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:396 def method_called?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#388 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:388 def negated?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#242 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:242 def offending_node?(node, lhs_receiver, rhs, rhs_receiver); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#291 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:291 def relevant_comment_ranges(node); end - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:194 def report_offense(node, rhs, rhs_receiver, *removal_ranges, offense_range: T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#379 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:379 def unsafe_method?(node, send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#367 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:367 def unsafe_method_used?(node, method_chain, method); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#252 + # pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:252 def use_var_only_in_unless_modifier?(node, variable); end end -# source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#101 +# pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:101 RuboCop::Cop::Style::SafeNavigation::LOGIC_JUMP_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/safe_navigation.rb#99 +# pkg:gem/rubocop#lib/rubocop/cop/style/safe_navigation.rb:99 RuboCop::Cop::Style::SafeNavigation::MSG = T.let(T.unsafe(nil), String) # Enforces safe navigation chains length to not exceed the configured maximum. @@ -53313,21 +53314,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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`, @@ -53355,58 +53356,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 +# pkg:gem/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#55 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:55 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:41 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#37 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:138 def extract_source(args); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#116 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:59 def offensive?(method, method_args); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:96 def range_size(range_node); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:129 def sample_arg(method, method_args); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/style/sample.rb:70 def sample_size(method_args); end - # source://rubocop//lib/rubocop/cop/style/sample.rb#79 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -53440,74 +53441,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 +# pkg:gem/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#82 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:82 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#68 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:68 def creates_hash?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:77 def env_const?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:107 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#91 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:91 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#58 + # pkg:gem/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#137 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:137 def extract_send_node(block_node); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#151 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:151 def find_regexp(node, block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:163 def match_predicate_without_receiver?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#147 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:147 def opposite?(regexp_method_send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:111 def receiver_allowed?(node); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:125 def register_offense(node, block_node, regexp, replacement); end - # source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/style/select_by_regexp.rb:117 def replacement(regexp_method_send_node, node); end end -# source://rubocop//lib/rubocop/cop/style/select_by_regexp.rb#49 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -53520,52 +53521,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/self_assignment.rb:33 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#29 + # pkg:gem/rubocop#lib/rubocop/cop/style/self_assignment.rb:29 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/self_assignment.rb:70 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/self_assignment.rb#84 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -53590,81 +53591,81 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:45 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:39 def on_new_investigation; end private - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#64 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:70 def each_semicolon; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:107 def exist_semicolon_after_left_curly_brace?(tokens); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#111 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:111 def exist_semicolon_after_left_lambda_curly_brace?(tokens); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#119 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:119 def exist_semicolon_after_left_string_interpolation_brace?(tokens); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#103 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:103 def exist_semicolon_before_right_curly_brace?(tokens); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#115 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:115 def exist_semicolon_before_right_string_interpolation_brace?(tokens); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:149 def expressions_per_line(exprs); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#163 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:163 def find_node(nodes, token_before_semicolon); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#155 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:155 def find_semicolon_positions(line); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:169 def range_nodes; end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#124 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:124 def register_semicolon(line, column, after_expression, token_before_semicolon = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:85 def semicolon_position(tokens); end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:80 def tokens_for_lines; end - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:177 def value_omission_pair_nodes; end class << self - # source://rubocop//lib/rubocop/cop/style/semicolon.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/style/semicolon.rb:35 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/semicolon.rb#33 +# pkg:gem/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. @@ -53678,19 +53679,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 +# pkg:gem/rubocop#lib/rubocop/cop/style/send.rb:16 class RuboCop::Cop::Style::Send < ::RuboCop::Cop::Base - # source://rubocop//lib/rubocop/cop/style/send.rb#25 + # pkg:gem/rubocop#lib/rubocop/cop/style/send.rb:25 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/send.rb#20 + # pkg:gem/rubocop#lib/rubocop/cop/style/send.rb:20 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/style/send.rb#17 +# pkg:gem/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 +# pkg:gem/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. @@ -53734,43 +53735,43 @@ RuboCop::Cop::Style::Send::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # obj.__send__(:method_name) # obj.__send__('method_name') # -# source://rubocop//lib/rubocop/cop/style/send_with_literal_method_name.rb#54 +# pkg:gem/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#86 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`. @@ -53873,61 +53874,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/signal_exception.rb:122 def on_rescue(node); end - # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#133 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/signal_exception.rb:187 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#166 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/signal_exception.rb:148 def custom_fail_defined?; end - # source://rubocop//lib/rubocop/cop/style/signal_exception.rb#209 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -53953,29 +53954,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -54004,50 +54005,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -54077,32 +54078,32 @@ 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 +# pkg:gem/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 + # pkg:gem/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#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/single_line_do_end_block.rb:59 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#58 + # pkg:gem/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#63 + # pkg:gem/rubocop#lib/rubocop/cop/style/single_line_do_end_block.rb:63 def do_line(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#72 + # pkg:gem/rubocop#lib/rubocop/cop/style/single_line_do_end_block.rb:72 def single_line_blocks_preferred?; end end -# source://rubocop//lib/rubocop/cop/style/single_line_do_end_block.rb#37 +# pkg:gem/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. @@ -54131,65 +54132,65 @@ RuboCop::Cop::Style::SingleLineDoEndBlock::MSG = T.let(T.unsafe(nil), String) # # good # def no_op; end # -# source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#34 +# pkg:gem/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 + # pkg:gem/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#48 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#139 + # pkg:gem/rubocop#lib/rubocop/cop/style/single_line_methods.rb:139 def disallow_endless_method_style?; end - # source://rubocop//lib/rubocop/cop/style/single_line_methods.rb#104 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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`, @@ -54219,59 +54220,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 +# pkg:gem/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#94 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -54316,92 +54317,92 @@ 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 +# pkg:gem/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 + # pkg:gem/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#197 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:197 def add_parentheses?(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#176 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:176 def add_parentheses_if_needed(condition); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#238 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:238 def allow_modifier?; end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:81 def assigned_variables(condition); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#205 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:205 def assignment_in_and?(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#98 + # pkg:gem/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#106 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:106 def autocorrect_outer_condition_basic(corrector, node, if_branch); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:150 def autocorrect_outer_condition_modify_form(corrector, node, if_branch); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#168 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:168 def chainable_condition(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:133 def correct_for_basic_condition_style(corrector, node, if_branch); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#159 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:159 def correct_for_comment(corrector, node, if_branch); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#123 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:123 def correct_for_guard_condition_style(corrector, node, if_branch); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:117 def correct_node(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#89 + # pkg:gem/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#192 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:192 def parenthesize_method?(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#218 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:218 def parenthesized_and(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:228 def parenthesized_and_clause(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#211 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:211 def parenthesized_method_arguments(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/style/sole_nested_conditional.rb:74 def use_variable_assignment_in_condition?(condition, if_branch); end class << self - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#55 + # pkg:gem/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 +# pkg:gem/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. @@ -54478,88 +54479,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/style/special_global_vars.rb:138 RuboCop::Cop::Style::SpecialGlobalVars::STYLE_VARS_MAP = T.let(T.unsafe(nil), Hash) # Checks for parentheses around stabby lambda arguments. @@ -54578,50 +54579,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -54659,46 +54660,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -54712,35 +54713,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/stderr_puts.rb:32 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#25 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/stderr_puts.rb:47 def stderr_gvar?(sym); end - # source://rubocop//lib/rubocop/cop/style/stderr_puts.rb#51 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -54753,25 +54754,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 +# pkg:gem/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#38 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_chars.rb:38 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/string_chars.rb#29 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -54816,77 +54817,77 @@ 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 +# pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:53 class RuboCop::Cop::Style::StringConcatenation < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#67 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:67 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:71 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:60 def string_concatenation?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:149 def adjust_str(part); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#114 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:114 def collect_parts(node, parts = T.unsafe(nil)); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:139 def corrected_ancestor?(node); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#106 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:106 def find_topmost_plus_node(node); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:166 def handle_quotes(parts); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#133 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:133 def heredoc?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#96 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:96 def line_end_concatenation?(node); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#176 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:176 def mode; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:125 def plus_node?(node); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#84 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:84 def register_offense(topmost_plus_node, parts); end - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:143 def replacement(parts); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:172 def single_quoted?(str_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:129 def uncorrectable?(part); end end -# source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#56 +# pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:56 RuboCop::Cop::Style::StringConcatenation::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/string_concatenation.rb#57 +# pkg:gem/rubocop#lib/rubocop/cop/style/string_concatenation.rb:57 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 @@ -54899,21 +54900,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -54939,65 +54940,65 @@ RuboCop::Cop::Style::StringHashKeys::MSG = T.let(T.unsafe(nil), String) # 'Just text' # "Wait! What's #{this}!" # -# source://rubocop//lib/rubocop/cop/style/string_literals.rb#29 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_literals.rb:61 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/string_literals.rb#105 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_literals.rb:101 def consistent_multiline?; end - # source://rubocop//lib/rubocop/cop/style/string_literals.rb#75 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_literals.rb:97 def offense?(node); end - # source://rubocop//lib/rubocop/cop/style/string_literals.rb#65 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -55036,31 +55037,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_literals_in_interpolation.rb:66 def offense?(node); end end @@ -55076,19 +55077,19 @@ end # 'name'.to_sym # 'var'.preferred_method # -# source://rubocop//lib/rubocop/cop/style/string_methods.rb#17 +# pkg:gem/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#32 + # pkg:gem/rubocop#lib/rubocop/cop/style/string_methods.rb:32 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/string_methods.rb#23 + # pkg:gem/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 +# pkg:gem/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 @@ -55102,25 +55103,25 @@ RuboCop::Cop::Style::StringMethods::MSG = T.let(T.unsafe(nil), String) # # good # 'abc'.strip # -# source://rubocop//lib/rubocop/cop/style/strip.rb#16 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/strip.rb:24 def lstrip_rstrip(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/strip.rb#41 + # pkg:gem/rubocop#lib/rubocop/cop/style/strip.rb:41 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/strip.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/style/strip.rb:31 def on_send(node); end end -# source://rubocop//lib/rubocop/cop/style/strip.rb#20 +# pkg:gem/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 +# pkg:gem/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`. Inheriting from `Struct.new` @@ -55147,27 +55148,27 @@ RuboCop::Cop::Style::Strip::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Person.ancestors # # => [Person, Struct, (...)] # -# source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#33 +# pkg:gem/rubocop#lib/rubocop/cop/style/struct_inheritance.rb:33 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#40 + # pkg:gem/rubocop#lib/rubocop/cop/style/struct_inheritance.rb:40 def on_class(node); end - # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/style/struct_inheritance.rb:52 def struct_constructor?(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#59 + # pkg:gem/rubocop#lib/rubocop/cop/style/struct_inheritance.rb:59 def correct_parent(parent, corrector); end - # source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#69 + # pkg:gem/rubocop#lib/rubocop/cop/style/struct_inheritance.rb:69 def range_for_empty_class_body(class_node, struct_new); end end -# source://rubocop//lib/rubocop/cop/style/struct_inheritance.rb#37 +# pkg:gem/rubocop#lib/rubocop/cop/style/struct_inheritance.rb:37 RuboCop::Cop::Style::StructInheritance::MSG = T.let(T.unsafe(nil), String) # Checks for redundant argument forwarding when calling super with arguments identical to @@ -55233,28 +55234,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 +# pkg:gem/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#77 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:77 def on_super(super_node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#125 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:125 def argument_list_size_differs?(def_args, super_args, super_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#107 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:107 def arguments_identical?(def_node, super_node, def_args, super_args); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#180 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:180 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 @@ -55262,51 +55263,51 @@ class RuboCop::Cop::Style::SuperArguments < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:194 def block_reassigned?(def_node, block_arg_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:134 def block_sends_to_super?(super_node, parent_node = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#95 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:95 def find_def_node(super_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#205 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:205 def forward_arg_same?(def_arg, super_arg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#160 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:160 def keyword_arg_same?(def_arg, super_arg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#170 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:170 def keyword_rest_arg_same?(def_arg, super_arg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#143 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:143 def positional_arg_same?(def_arg, super_arg); end - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#150 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:150 def positional_rest_arg_same(def_arg, super_arg); end - # source://rubocop//lib/rubocop/cop/style/super_arguments.rb#209 + # pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:209 def preprocess_super_args(super_args); end end -# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#71 +# pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:71 RuboCop::Cop::Style::SuperArguments::ASSIGN_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#73 +# pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:73 RuboCop::Cop::Style::SuperArguments::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/super_arguments.rb#74 +# pkg:gem/rubocop#lib/rubocop/cop/style/super_arguments.rb:74 RuboCop::Cop::Style::SuperArguments::MSG_INLINE_BLOCK = T.let(T.unsafe(nil), String) # Enforces the presence of parentheses in `super` containing arguments. @@ -55321,15 +55322,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -55343,66 +55344,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:30 def on_asgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:43 def on_casgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:43 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:43 def on_gvasgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:43 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#43 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:47 def allowed_assignment?(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#93 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:81 def lhs(node); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#66 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/swap_values.rb:75 def replacement(x_assign); end - # source://rubocop//lib/rubocop/cop/style/swap_values.rb#89 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -55439,7 +55440,7 @@ RuboCop::Cop::Style::SwapValues::SIMPLE_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), # # bad (contains () with spaces) # %i(foo \( \)) # -# source://rubocop//lib/rubocop/cop/style/symbol_array.rb#40 +# pkg:gem/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 @@ -55448,60 +55449,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -55514,15 +55515,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -55587,7 +55588,7 @@ RuboCop::Cop::Style::SymbolLiteral::MSG = T.let(T.unsafe(nil), String) # # bad # something.map { |s| s.upcase } # -# source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#140 +# pkg:gem/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 @@ -55597,126 +55598,126 @@ class RuboCop::Cop::Style::SymbolProc < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:191 def destructuring_block_argument?(argument_node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#171 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:171 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#189 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:189 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:188 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#152 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#276 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:276 def allow_comments?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#272 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:272 def allow_if_method_has_argument?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#206 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:206 def allowed_method_name?(name); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#219 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:219 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#249 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:249 def autocorrect_lambda_block(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:240 def autocorrect_with_args(corrector, node, args, method_name); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#227 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:227 def autocorrect_without_args(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#262 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:262 def begin_pos_for_replacement(node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#257 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:257 def block_range_with_space(node); end - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:210 def register_offense(node, method_name, block_method_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#202 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:202 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#198 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:198 def unsafe_hash_usage?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/style/symbol_proc.rb:166 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/symbol_proc.rb#149 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#515 +# pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:515 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#520 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:520 def correct(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#524 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:524 def move_assignment_inside_condition(corrector, node); end private - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#538 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:538 def correction(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#551 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:551 def element_assignment?(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#555 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:555 def extract_branches(node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#568 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:568 def move_branch_inside_condition(corrector, branch, assignment); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#563 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:563 def remove_parentheses(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/conditional_assignment.rb#542 + # pkg:gem/rubocop#lib/rubocop/cop/style/conditional_assignment.rb:542 def ternary(node); end end end @@ -55768,7 +55769,7 @@ end # foo = bar.baz? ? a : b # foo = (bar && baz) ? a : b # -# source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#57 +# pkg:gem/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 @@ -55776,20 +55777,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -55797,31 +55798,31 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#131 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 @@ -55829,68 +55830,68 @@ class RuboCop::Cop::Style::TernaryParentheses < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/ternary_parentheses.rb#141 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -55935,41 +55936,41 @@ 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 +# pkg:gem/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#80 + # pkg:gem/rubocop#lib/rubocop/cop/style/top_level_method_definition.rb:80 def define_method_block?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#60 + # pkg:gem/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 + # pkg:gem/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#57 + # pkg:gem/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#67 + # pkg:gem/rubocop#lib/rubocop/cop/style/top_level_method_definition.rb:67 def on_itblock(node); end - # source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#66 + # pkg:gem/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#58 + # pkg:gem/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#71 + # pkg:gem/rubocop#lib/rubocop/cop/style/top_level_method_definition.rb:71 def top_level_method_definition?(node); end end -# source://rubocop//lib/rubocop/cop/style/top_level_method_definition.rb#48 +# pkg:gem/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 +# pkg:gem/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. @@ -55984,20 +55985,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 +# pkg:gem/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 + # pkg:gem/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#37 + # pkg:gem/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 +# pkg:gem/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. @@ -56025,20 +56026,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 +# pkg:gem/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 + # pkg:gem/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#51 + # pkg:gem/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 +# pkg:gem/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. @@ -56053,17 +56054,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -56199,21 +56200,21 @@ RuboCop::Cop::Style::TrailingBodyOnModule::MSG = T.let(T.unsafe(nil), String) # 2 # ) # -# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#141 +# pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_arguments.rb:141 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#156 + # pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_arguments.rb:156 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#149 + # pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_arguments.rb:149 def on_send(node); end class << self - # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_arguments.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_arguments.rb:145 def autocorrect_incompatible_with; end end end @@ -56335,14 +56336,14 @@ end # 2 # ] # -# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#125 +# pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_array_literal.rb:125 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#129 + # pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_array_literal.rb:129 def on_array(node); end end @@ -56384,36 +56385,36 @@ end # foo + bar # end # -# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_block_args.rb#62 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -56537,14 +56538,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#129 +# pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb:129 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#133 + # pkg:gem/rubocop#lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb:133 def on_hash(node); end end @@ -56578,27 +56579,27 @@ end # end # end # -# source://rubocop//lib/rubocop/cop/style/trailing_method_end_statement.rb#36 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -56624,62 +56625,62 @@ RuboCop::Cop::Style::TrailingMethodEndStatement::MSG = T.let(T.unsafe(nil), Stri # # good # a, b, _something = foo() # -# source://rubocop//lib/rubocop/cop/style/trailing_underscore_variable.rb#31 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -56766,115 +56767,115 @@ RuboCop::Cop::Style::TrailingUnderscoreVariable::UNDERSCORE = T.let(T.unsafe(nil # @foo # end # -# source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#98 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/trivial_accessors.rb:104 def on_def(node); end - # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#111 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/trivial_accessors.rb:200 def allowed_writer?(node); end - # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/style/trivial_accessors.rb:142 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#234 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/trivial_accessors.rb:208 def names_match?(node); end - # source://rubocop//lib/rubocop/cop/style/trivial_accessors.rb#129 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -56894,21 +56895,21 @@ 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 +# pkg:gem/rubocop#lib/rubocop/cop/style/unless_else.rb:22 class RuboCop::Cop::Style::UnlessElse < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/unless_else.rb#27 + # pkg:gem/rubocop#lib/rubocop/cop/style/unless_else.rb:27 def on_if(node); end - # source://rubocop//lib/rubocop/cop/style/unless_else.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/style/unless_else.rb:44 def range_between_condition_and_else(node); end - # source://rubocop//lib/rubocop/cop/style/unless_else.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/style/unless_else.rb:50 def range_between_else_and_end(node); end end -# source://rubocop//lib/rubocop/cop/style/unless_else.rb#25 +# pkg:gem/rubocop#lib/rubocop/cop/style/unless_else.rb:25 RuboCop::Cop::Style::UnlessElse::MSG = T.let(T.unsafe(nil), String) # Checks for the use of logical operators in an `unless` condition. @@ -56955,44 +56956,44 @@ RuboCop::Cop::Style::UnlessElse::MSG = T.let(T.unsafe(nil), String) # return unless a or b or c # return unless a? # -# source://rubocop//lib/rubocop/cop/style/unless_logical_operators.rb#50 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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` @@ -57009,30 +57010,30 @@ RuboCop::Cop::Style::UnlessLogicalOperators::FORBID_MIXED_LOGICAL_OPERATORS = T. # # good # 'foo'.unpack1('h*') # -# source://rubocop//lib/rubocop/cop/style/unpack_first.rb#20 +# pkg:gem/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#49 + # pkg:gem/rubocop#lib/rubocop/cop/style/unpack_first.rb:49 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#37 + # pkg:gem/rubocop#lib/rubocop/cop/style/unpack_first.rb:37 def on_send(node); end - # source://rubocop//lib/rubocop/cop/style/unpack_first.rb#30 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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"). @@ -57048,24 +57049,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/variable_interpolation.rb:34 def message(range); end - # source://rubocop//lib/rubocop/cop/style/variable_interpolation.rb#38 + # pkg:gem/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 +# pkg:gem/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. @@ -57083,15 +57084,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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -57118,18 +57119,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 +# pkg:gem/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#43 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 @@ -57161,21 +57162,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#34 +# pkg:gem/rubocop#lib/rubocop/cop/style/while_until_modifier.rb:34 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#47 + # pkg:gem/rubocop#lib/rubocop/cop/style/while_until_modifier.rb:47 def on_until(node); end - # source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#40 + # pkg:gem/rubocop#lib/rubocop/cop/style/while_until_modifier.rb:40 def on_while(node); end end -# source://rubocop//lib/rubocop/cop/style/while_until_modifier.rb#38 +# pkg:gem/rubocop#lib/rubocop/cop/style/while_until_modifier.rb:38 RuboCop::Cop::Style::WhileUntilModifier::MSG = T.let(T.unsafe(nil), String) # Checks for array literals made up of word-like @@ -57242,7 +57243,7 @@ RuboCop::Cop::Style::WhileUntilModifier::MSG = T.let(T.unsafe(nil), String) # ['forty two', 'Forty Two'] # ] # -# source://rubocop//lib/rubocop/cop/style/word_array.rb#71 +# pkg:gem/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 @@ -57250,59 +57251,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 + # pkg:gem/rubocop#lib/rubocop/cop/style/word_array.rb:94 def on_array(node); end - # source://rubocop//lib/rubocop/cop/style/word_array.rb#85 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -57326,26 +57327,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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, @@ -57397,105 +57398,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/yoda_condition.rb:149 def constant_portion?(node); end - # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#142 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/yoda_condition.rb:177 def interpolation?(node); end - # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#138 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/yoda_condition.rb:173 def program_name?(name); end - # source://rubocop//lib/rubocop/cop/style/yoda_condition.rb#157 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 `*`, `+`, `&`, `|`, @@ -57527,44 +57528,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/yoda_expression.rb:47 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#51 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/style/yoda_expression.rb:82 def offended_ancestor?(node); end - # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/style/yoda_expression.rb:86 def offended_nodes; end - # source://rubocop//lib/rubocop/cop/style/yoda_expression.rb#78 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -57593,7 +57594,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 +# pkg:gem/rubocop#lib/rubocop/cop/style/zero_length_predicate.rb:37 class RuboCop::Cop::Style::ZeroLengthPredicate < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector @@ -57601,57 +57602,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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/surrounding_space.rb:6 module RuboCop::Cop::SurroundingSpace include ::RuboCop::Cop::RangeHelp @@ -57659,98 +57660,98 @@ module RuboCop::Cop::SurroundingSpace # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#110 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/surrounding_space.rb:33 def on_new_investigation; end - # source://rubocop//lib/rubocop/cop/mixin/surrounding_space.rb#78 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/target_ruby_version.rb:23 def support_target_ruby_version?(version); end end @@ -57762,164 +57763,164 @@ end # first the ones needed for autocorrection (if any), then the rest # (unless autocorrections happened). # -# source://rubocop//lib/rubocop/cop/team.rb#13 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:72 def autocorrect?; end # Returns the value of attribute cops. # - # source://rubocop//lib/rubocop/cop/team.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:57 def cops; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/team.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:76 def debug?; end # Returns the value of attribute errors. # - # source://rubocop//lib/rubocop/cop/team.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:57 def errors; end - # source://rubocop//lib/rubocop/cop/team.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:128 def external_dependency_checksum; end # @deprecated # - # source://rubocop//lib/rubocop/cop/team.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:120 def forces; end - # source://rubocop//lib/rubocop/cop/team.rb#82 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:82 def inspect_file(processed_source); end # @return [Commissioner::InvestigationReport] # - # source://rubocop//lib/rubocop/cop/team.rb#91 + # pkg:gem/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 + # pkg:gem/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#59 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:57 def warnings; end private - # source://rubocop//lib/rubocop/cop/team.rb#139 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:139 def autocorrect(processed_source, report, original:, offset:); end - # source://rubocop//lib/rubocop/cop/team.rb#203 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:203 def autocorrect_report(report, offset:, original:); end - # source://rubocop//lib/rubocop/cop/team.rb#158 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:158 def be_ready; end - # source://rubocop//lib/rubocop/cop/team.rb#209 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:209 def collate_corrections(report, offset:, original:); end - # source://rubocop//lib/rubocop/cop/team.rb#225 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:225 def each_corrector(report); end - # source://rubocop//lib/rubocop/cop/team.rb#277 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:277 def handle_error(error, location, cop); end - # source://rubocop//lib/rubocop/cop/team.rb#269 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:269 def handle_warning(error, location); end # @return [Commissioner::InvestigationReport] # - # source://rubocop//lib/rubocop/cop/team.rb#172 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:172 def investigate_partial(cops, processed_source, offset:, original:); end - # source://rubocop//lib/rubocop/cop/team.rb#252 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:252 def process_errors(file, errors); end - # source://rubocop//lib/rubocop/cop/team.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:166 def reset; end # @return [Array] # - # source://rubocop//lib/rubocop/cop/team.rb#178 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:178 def roundup_relevant_cops(processed_source); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/team.rb#194 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:194 def support_target_rails_version?(cop); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/team.rb#188 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:188 def support_target_ruby_version?(cop); end - # source://rubocop//lib/rubocop/cop/team.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/team.rb:240 def suppress_clobbering; end - # source://rubocop//lib/rubocop/cop/team.rb#246 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_body.rb:7 def trailing_body?(node); end end # Common methods shared by Style/TrailingCommaInArguments, # Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral # -# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#8 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:8 module RuboCop::Cop::TrailingComma include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -57932,68 +57933,68 @@ module RuboCop::Cop::TrailingComma # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:109 def allowed_multiline_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#182 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:182 def any_heredoc?(items); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#174 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:174 def autocorrect_range(item); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:148 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#87 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:87 def brackets?(node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#20 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:20 def check(node, items, kind, begin_pos, end_pos); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#38 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:38 def check_comma(node, kind, comma_pos); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#44 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:44 def check_literal(node, kind); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#31 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:31 def comma_offset(items, range); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:113 def elements(node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#55 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:55 def extra_avoid_comma_info; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#186 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:186 def heredoc?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#204 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:204 def heredoc_send?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#81 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:81 def inside_comment?(range, comma_offset); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#142 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:142 def last_item_precedes_newline?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#98 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:98 def method_name_and_arguments_on_same_line?(node); end # Returns true if the round/square/curly brackets of the given node are @@ -58002,248 +58003,248 @@ module RuboCop::Cop::TrailingComma # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#94 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:94 def multiline?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:128 def no_elements_on_same_line?(node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:134 def node_end_location(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#138 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:138 def on_same_line?(range1, range2); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#162 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:162 def put_comma(items, kind); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:68 def should_have_comma?(style, node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#16 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:16 def style_parameter_name; end end -# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#12 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/trailing_comma.rb:12 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 +# pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:6 module RuboCop::Cop::UncommunicativeName - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#12 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:95 def allow_nums; end - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:87 def allowed_names; end - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#78 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:91 def forbidden_names; end - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#83 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:74 def long_enough?(name); end - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#99 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:99 def min_length; end - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#53 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:53 def name_type(node); end - # source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#60 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/uncommunicative_name.rb:49 def uppercase?(name); end end -# source://rubocop//lib/rubocop/cop/mixin/uncommunicative_name.rb#7 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/util.rb:7 module RuboCop::Cop::Util include ::RuboCop::PathUtil private - # source://rubocop//lib/rubocop/cop/util.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:39 def add_parentheses(node, corrector); end - # source://rubocop//lib/rubocop/cop/util.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:60 def any_descendant?(node, *types); end - # source://rubocop//lib/rubocop/cop/util.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:75 def args_begin(node); end - # source://rubocop//lib/rubocop/cop/util.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:87 def args_end(node); end - # source://rubocop//lib/rubocop/cop/util.rb#108 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:22 def comment_lines?(node); end - # source://rubocop//lib/rubocop/cop/util.rb#206 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:134 def double_quotes_required?(string); end - # source://rubocop//lib/rubocop/cop/util.rb#148 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:118 def first_part_of_call_chain(node); end - # source://rubocop//lib/rubocop/cop/util.rb#210 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:210 def include_or_equal?(source, target); end - # source://rubocop//lib/rubocop/cop/util.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:185 def indent(node, offset: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/util.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:165 def interpret_string_escapes(string); end - # source://rubocop//lib/rubocop/cop/util.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:169 def line(node_or_range); end - # source://rubocop//lib/rubocop/cop/util.rb#30 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:30 def line_range(node); end - # source://rubocop//lib/rubocop/cop/util.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:144 def needs_escaping?(string); end - # source://rubocop//lib/rubocop/cop/util.rb#91 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:34 def parentheses?(node); end - # source://rubocop//lib/rubocop/cop/util.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:196 def parse_regexp(text); end - # source://rubocop//lib/rubocop/cop/util.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:177 def same_line?(node1, node2); end - # source://rubocop//lib/rubocop/cop/util.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:152 def to_string_literal(string); end - # source://rubocop//lib/rubocop/cop/util.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:191 def to_supported_styles(enforced_style); end - # source://rubocop//lib/rubocop/cop/util.rb#161 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:39 def add_parentheses(node, corrector); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/util.rb#60 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:60 def any_descendant?(node, *types); end - # source://rubocop//lib/rubocop/cop/util.rb#75 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:75 def args_begin(node); end - # source://rubocop//lib/rubocop/cop/util.rb#87 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:87 def args_end(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/util.rb#108 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:22 def comment_lines?(node); end # If converting a string to Ruby string literal source code, must @@ -58251,115 +58252,115 @@ module RuboCop::Cop::Util # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/util.rb#134 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:134 def double_quotes_required?(string); end - # source://rubocop//lib/rubocop/cop/util.rb#148 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:118 def first_part_of_call_chain(node); end - # source://rubocop//lib/rubocop/cop/util.rb#185 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:185 def indent(node, offset: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/util.rb#165 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:165 def interpret_string_escapes(string); end - # source://rubocop//lib/rubocop/cop/util.rb#169 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:169 def line(node_or_range); end - # source://rubocop//lib/rubocop/cop/util.rb#30 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:30 def line_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/util.rb#144 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:144 def needs_escaping?(string); end # @yield [sexp] # - # source://rubocop//lib/rubocop/cop/util.rb#91 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:34 def parentheses?(node); end - # source://rubocop//lib/rubocop/cop/util.rb#196 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:196 def parse_regexp(text); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/util.rb#177 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:177 def same_line?(node1, node2); end - # source://rubocop//lib/rubocop/cop/util.rb#152 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:152 def to_string_literal(string); end - # source://rubocop//lib/rubocop/cop/util.rb#191 + # pkg:gem/rubocop#lib/rubocop/cop/util.rb:191 def to_supported_styles(enforced_style); end - # source://rubocop//lib/rubocop/cop/util.rb#161 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#104 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:104 def initialize(string); end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#108 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:108 def format_sequences; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#120 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:120 def max_digit_dollar_num; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#116 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:116 def named_interpolation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:112 def valid?; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:132 def mixed_formats?; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#126 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:126 def parse; end end @@ -58367,10 +58368,10 @@ end # avoid a bug in Ruby 3.2.0 # See: https://bugs.ruby-lang.org/issues/19379 # -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#11 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:11 RuboCop::Cop::Utils::FormatString::DIGIT_DOLLAR = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:13 RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # The syntax of a format sequence is as follows. @@ -58387,113 +58388,113 @@ 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#47 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:47 class RuboCop::Cop::Utils::FormatString::FormatSequence # @return [FormatSequence] a new instance of FormatSequence # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#50 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:50 def initialize(match); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#66 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:66 def annotated?; end # Returns the value of attribute arg_number. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def arg_number; end # Number of arguments required for the format sequence # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:85 def arity; end # Returns the value of attribute begin_pos. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def begin_pos; end # Returns the value of attribute end_pos. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def end_pos; end # Returns the value of attribute flags. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def flags; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#89 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:89 def max_digit_dollar_num; end # Returns the value of attribute name. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:62 def percent?; end # Returns the value of attribute precision. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def precision; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#93 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:93 def style; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#70 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:70 def template?; end # Returns the value of attribute type. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def type; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#74 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:74 def variable_width?; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#78 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:78 def variable_width_argument_number; end # Returns the value of attribute width. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 + # pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:48 def width; end end -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#12 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:12 RuboCop::Cop::Utils::FormatString::INTERPOLATION = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#19 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:19 RuboCop::Cop::Utils::FormatString::NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#15 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:15 RuboCop::Cop::Utils::FormatString::NUMBER = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#14 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:14 RuboCop::Cop::Utils::FormatString::NUMBER_ARG = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#17 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:17 RuboCop::Cop::Utils::FormatString::PRECISION = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#22 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:22 RuboCop::Cop::Utils::FormatString::SEQUENCE = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#20 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:20 RuboCop::Cop::Utils::FormatString::TEMPLATE_NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#18 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:18 RuboCop::Cop::Utils::FormatString::TYPE = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#16 +# pkg:gem/rubocop#lib/rubocop/cop/utils/format_string.rb:16 RuboCop::Cop::Utils::FormatString::WIDTH = T.let(T.unsafe(nil), Regexp) # This force provides a way to track local variables and scopes of Ruby. @@ -58519,65 +58520,65 @@ RuboCop::Cop::Utils::FormatString::WIDTH = T.let(T.unsafe(nil), Regexp) # # @api private # -# source://rubocop//lib/rubocop/cop/variable_force.rb#27 +# pkg:gem/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#81 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:81 def investigate(processed_source); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#90 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:90 def process_node(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#76 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:76 def variable_table; end private - # source://rubocop//lib/rubocop/cop/variable_force.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:391 def after_declaring_variable(arg); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:391 def after_entering_scope(arg); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:391 def after_leaving_scope(arg); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:391 def before_declaring_variable(arg); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:391 def before_entering_scope(arg); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#391 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:391 def before_leaving_scope(arg); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#352 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:352 def descendant_reference(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#342 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:342 def each_descendant_reference(loop_node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#327 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:327 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#99 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:99 def inspect_variables_in_scope(scope_node); end # Mark last assignments which are referenced in the same loop @@ -58586,251 +58587,251 @@ class RuboCop::Cop::VariableForce < ::RuboCop::Cop::Force # # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#309 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:309 def mark_assignments_as_referenced_in_loop(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#132 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:132 def node_handler_method_name(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#105 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:105 def process_children(origin_node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#240 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:240 def process_loop(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#184 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:184 def process_pattern_match_variable(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#166 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:166 def process_regexp_named_captures(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#260 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:260 def process_rescue(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#279 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:279 def process_scope(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#298 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:298 def process_send(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#148 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:148 def process_variable_assignment(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#136 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:136 def process_variable_declaration(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#228 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:228 def process_variable_multiple_assignment(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#198 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:198 def process_variable_operator_assignment(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#235 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:235 def process_variable_referencing(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#271 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:271 def process_zero_arity_super(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#363 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:363 def reference_assignments(loop_assignments, loop_node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#192 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:192 def regexp_captured_names(node); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force.rb#374 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:374 def scanned_node?(node); end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#378 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:378 def scanned_nodes; end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:113 def skip_children!; end # @api private # - # source://rubocop//lib/rubocop/cop/variable_force.rb#292 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:292 def twisted_nodes(node); end end # @api private # -# source://rubocop//lib/rubocop/cop/variable_force.rb#35 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:80 def for_assignment?; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#91 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:68 def multiple_assignment?; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#31 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:12 def node; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#86 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:86 def operator; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#62 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:12 def reassigned; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#44 + # pkg:gem/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#15 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:15 def reassigned?; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#39 + # pkg:gem/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 + # pkg:gem/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#14 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:12 def references; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#54 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:74 def rest_assignment?; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:35 def scope; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#50 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:12 def variable; end private - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#145 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:145 def find_multiple_assignment_node(grandparent_node); end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#135 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:135 def for_assignment_node; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#112 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:112 def multiple_assignment_node; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#104 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:104 def operator_assignment_node; end - # source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#128 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/assignment.rb:128 def rest_assignment_node; end end -# source://rubocop//lib/rubocop/cop/variable_force/assignment.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def node; end # Sets the attribute node @@ -58838,52 +58839,52 @@ class RuboCop::Cop::VariableForce::AssignmentReference < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def node=(_); end class << self - # source://rubocop//lib/rubocop/cop/variable_force.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def inspect; end - # source://rubocop//lib/rubocop/cop/variable_force.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/variable_force.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def members; end - # source://rubocop//lib/rubocop/cop/variable_force.rb#68 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:68 def new(*_arg0); end end end # @api private # -# source://rubocop//lib/rubocop/cop/variable_force.rb#74 +# pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:74 RuboCop::Cop::VariableForce::BRANCH_NODES = T.let(T.unsafe(nil), Array) # Namespace for branch classes for each control structure. # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#7 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def left_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def right_body?; end end @@ -58907,27 +58908,27 @@ end # do_something # no branch # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def child_node; end # Sets the attribute child_node @@ -58935,47 +58936,47 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def child_node=(_); end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#70 + # pkg:gem/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 + # pkg:gem/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#127 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:104 def exclusive_with?(other); end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#129 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:129 def hash; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#96 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:100 def may_run_incompletely?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#74 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def scope; end # Sets the attribute scope @@ -58983,47 +58984,47 @@ class RuboCop::Cop::VariableForce::Branch::Base < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def scope=(_); end private - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#135 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#43 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:43 def classes; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#56 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:47 def inherited(subclass); end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def inspect; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def members; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#42 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:42 def new(*_arg0); end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#52 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:52 def type; end end end -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#325 +# pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:325 RuboCop::Cop::VariableForce::Branch::CLASSES_BY_TYPE = T.let(T.unsafe(nil), Hash) # case target @@ -59032,20 +59033,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:224 def always_run?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def else_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def target?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def when_clause?; end end @@ -59055,20 +59056,20 @@ end # else_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#234 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:239 def always_run?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def else_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def in_pattern?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def target?; end end @@ -59078,34 +59079,34 @@ end # ensure_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#314 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:320 def always_run?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def ensure_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:286 def may_run_incompletely?; end end @@ -59113,20 +59114,20 @@ end # loop_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#247 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:252 def always_run?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def collection?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def element?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def loop_body?; end end @@ -59142,40 +59143,40 @@ end # truthy_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#166 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def conditional_clause?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def falsey_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def left_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def right_body?; end end @@ -59186,38 +59187,38 @@ end # else_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#297 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:304 def always_run?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def else_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def main_body?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:146 def conditional_clause?; end end @@ -59225,14 +59226,14 @@ end # loop_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#187 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def conditional_clause?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def loop_body?; end end @@ -59240,14 +59241,14 @@ end # loop_body # end until conditional_clause # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#207 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def conditional_clause?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def loop_body?; end end @@ -59255,14 +59256,14 @@ end # loop_body # end # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#177 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def conditional_clause?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def loop_body?; end end @@ -59270,90 +59271,90 @@ end # loop_body # end while conditional_clause # -# source://rubocop//lib/rubocop/cop/variable_force/branch.rb#197 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branch.rb:57 def conditional_clause?; end - # source://rubocop//lib/rubocop/cop/variable_force/branch.rb#57 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/cop/variable_force/branchable.rb:8 module RuboCop::Cop::VariableForce::Branchable - # source://rubocop//lib/rubocop/cop/variable_force/branchable.rb#9 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/branchable.rb:9 def branch; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/branchable.rb#15 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#117 +# pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:117 RuboCop::Cop::VariableForce::NODE_HANDLER_METHOD_NAMES = T.let(T.unsafe(nil), Hash) # @api private # -# source://rubocop//lib/rubocop/cop/variable_force.rb#43 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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`: @@ -59373,222 +59374,222 @@ class RuboCop::Cop::VariableForce::Reference # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/reference.rb#41 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/reference.rb:14 def scope; end end -# source://rubocop//lib/rubocop/cop/variable_force/reference.rb#10 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/scope.rb:22 def initialize(node); end - # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#35 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/scope.rb:35 def ==(other); end - # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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#20 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/scope.rb:20 def naked_top_level?; end - # source://rubocop//lib/rubocop/cop/variable_force/scope.rb#39 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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#105 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:105 def argument?; end - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#31 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:11 def assignments; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#113 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:113 def block_argument?; end - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#85 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:85 def capture_with_block!; end # Returns the value of attribute captured_by_block. # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 + # pkg:gem/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#13 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:11 def declaration_node; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#121 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:121 def explicit_block_local_variable?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#77 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:77 def in_modifier_conditional?(assignment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#117 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:117 def keyword_argument?; end - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#39 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:39 def mark_last_as_reassigned!(assignment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#109 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:109 def method_argument?; end # Returns the value of attribute name. # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:11 def name; end - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#51 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:51 def reference!(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#46 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:46 def referenced?; end # Returns the value of attribute references. # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#11 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:11 def scope; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#101 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:101 def should_be_unused?; end # This is a convenient way to check whether the variable is used @@ -59602,28 +59603,28 @@ class RuboCop::Cop::VariableForce::Variable # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/variable_force/variable.rb#97 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force/variable.rb:97 def used?; end end -# source://rubocop//lib/rubocop/cop/variable_force/variable.rb#9 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def name; end # Sets the attribute name @@ -59631,23 +59632,23 @@ class RuboCop::Cop::VariableForce::VariableReference < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def name=(_); end class << self - # source://rubocop//lib/rubocop/cop/variable_force.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/variable_force.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def inspect; end - # source://rubocop//lib/rubocop/cop/variable_force.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def keyword_init?; end - # source://rubocop//lib/rubocop/cop/variable_force.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def members; end - # source://rubocop//lib/rubocop/cop/variable_force.rb#62 + # pkg:gem/rubocop#lib/rubocop/cop/variable_force.rb:62 def new(*_arg0); end end end @@ -59658,336 +59659,336 @@ 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/mixin/visibility_help.rb:15 def node_visibility(node); end - # source://rubocop//lib/rubocop/cop/mixin/visibility_help.rb#39 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:7 class RuboCop::DirectiveComment # @return [DirectiveComment] a new instance of DirectiveComment # - # source://rubocop//lib/rubocop/directive_comment.rb#46 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:46 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#115 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:115 def all_cops?; end # Returns the value of attribute comment. # - # source://rubocop//lib/rubocop/directive_comment.rb#44 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:44 def comment; end # Returns array of specified in this directive cop names # - # source://rubocop//lib/rubocop/directive_comment.rb#120 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:120 def cop_names; end # Returns the value of attribute cop_registry. # - # source://rubocop//lib/rubocop/directive_comment.rb#44 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:44 def cop_registry; end # Returns the value of attribute cops. # - # source://rubocop//lib/rubocop/directive_comment.rb#44 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:44 def cops; end # Returns array of specified in this directive department names # when all department disabled # - # source://rubocop//lib/rubocop/directive_comment.rb#131 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:131 def department_names; end - # source://rubocop//lib/rubocop/directive_comment.rb#145 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:145 def directive_count; end # Checks if this directive disables cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#95 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:95 def disabled?; end # Checks if this directive disables all cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#110 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:110 def disabled_all?; end # Checks if this directive enables cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#100 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:100 def enabled?; end # Checks if this directive enables all cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#105 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:105 def enabled_all?; end # Checks if directive departments include cop # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#136 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:136 def in_directive_department?(cop); end # Returns line number for directive # - # source://rubocop//lib/rubocop/directive_comment.rb#150 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:150 def line_number; end # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#59 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:59 def malformed?; end # Checks if this directive contains all the given cop names # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#77 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:77 def match?(cop_names); end # Returns match captures to directive comment pattern # - # source://rubocop//lib/rubocop/directive_comment.rb#90 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:90 def match_captures; end # Checks if the directive comment is missing a cop name # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#67 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:67 def missing_cop_name?; end # Returns the value of attribute mode. # - # source://rubocop//lib/rubocop/directive_comment.rb#44 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:44 def mode; end # Checks if cop department has already used in directive comment # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#141 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:141 def overridden_by_department?(cop); end - # source://rubocop//lib/rubocop/directive_comment.rb#81 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:81 def range; end # Returns an array of cops for this directive comment, without resolving departments # - # source://rubocop//lib/rubocop/directive_comment.rb#125 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:125 def raw_cop_names; end # Checks if this directive relates to single line # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#72 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:72 def single_line?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#54 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:54 def start_with_marker?; end private - # source://rubocop//lib/rubocop/directive_comment.rb#167 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:167 def all_cop_names; end - # source://rubocop//lib/rubocop/directive_comment.rb#171 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:171 def cop_names_for_department(department); end # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#163 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:163 def department?(name); end - # source://rubocop//lib/rubocop/directive_comment.rb#176 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:176 def exclude_lint_department_cops(cops); end - # source://rubocop//lib/rubocop/directive_comment.rb#156 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:156 def parsed_cop_names; end class << self - # source://rubocop//lib/rubocop/directive_comment.rb#40 + # pkg:gem/rubocop#lib/rubocop/directive_comment.rb:40 def before_comment(line); end end end # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#21 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:21 RuboCop::DirectiveComment::AVAILABLE_MODES = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#19 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#29 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:29 RuboCop::DirectiveComment::DIRECTIVE_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#27 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:27 RuboCop::DirectiveComment::DIRECTIVE_HEADER_PATTERN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#23 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:23 RuboCop::DirectiveComment::DIRECTIVE_MARKER_PATTERN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#25 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:25 RuboCop::DirectiveComment::DIRECTIVE_MARKER_REGEXP = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#9 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:13 RuboCop::DirectiveComment::LINT_SYNTAX_COP = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#36 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:36 RuboCop::DirectiveComment::MALFORMED_DIRECTIVE_WITHOUT_COP_NAME_REGEXP = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#34 +# pkg:gem/rubocop#lib/rubocop/directive_comment.rb:34 RuboCop::DirectiveComment::TRAILING_COMMENT_MARKER = T.let(T.unsafe(nil), String) # An Error exception is different from an Offense with severity 'error' @@ -59995,125 +59996,125 @@ RuboCop::DirectiveComment::TRAILING_COMMENT_MARKER = 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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/error.rb:21 def cause; end - # source://rubocop//lib/rubocop/error.rb#27 + # pkg:gem/rubocop#lib/rubocop/error.rb:27 def column; end # Returns the value of attribute cop. # - # source://rubocop//lib/rubocop/error.rb#21 + # pkg:gem/rubocop#lib/rubocop/error.rb:21 def cop; end - # source://rubocop//lib/rubocop/error.rb#23 + # pkg:gem/rubocop#lib/rubocop/error.rb:23 def line; end - # source://rubocop//lib/rubocop/error.rb#31 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/cop/exclude_limit.rb:22 def transform(parameter_name); end end -# source://rubocop//lib/rubocop/ext/comment.rb#4 +# pkg:gem/rubocop#lib/rubocop/ext/comment.rb:4 module RuboCop::Ext; end # Extensions to `Parser::Source::Comment`. # -# source://rubocop//lib/rubocop/ext/comment.rb#6 +# pkg:gem/rubocop#lib/rubocop/ext/comment.rb:6 module RuboCop::Ext::Comment - # source://rubocop//lib/rubocop/ext/comment.rb#7 + # pkg:gem/rubocop#lib/rubocop/ext/comment.rb:7 def source; end - # source://rubocop//lib/rubocop/ext/comment.rb#11 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/ext/processed_source.rb:6 module RuboCop::Ext::ProcessedSource - # source://rubocop//lib/rubocop/ext/processed_source.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/ext/processed_source.rb:7 def config=(_arg0); end - # source://rubocop//lib/rubocop/ext/processed_source.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/ext/regexp_node.rb:6 module RuboCop::Ext::RegexpNode - # source://rubocop//lib/rubocop/ext/regexp_node.rb#18 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_node.rb:18 def assign_properties(*_arg0); end - # source://rubocop//lib/rubocop/ext/regexp_node.rb#31 + # pkg:gem/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` @@ -60121,38 +60122,38 @@ module RuboCop::Ext::RegexpNode # # @return [Regexp::Expression::Root, nil] # - # source://rubocop//lib/rubocop/ext/regexp_node.rb#16 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_node.rb:16 def parsed_tree; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/ext/regexp_node.rb#43 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_node.rb:43 def named_capturing?(exp, event, named); end - # source://rubocop//lib/rubocop/ext/regexp_node.rb#50 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_node.rb:50 def with_interpolations_blanked; end end -# source://rubocop//lib/rubocop/ext/regexp_node.rb#7 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/ext/regexp_parser.rb:6 module RuboCop::Ext::RegexpParser; end -# source://rubocop//lib/rubocop/ext/regexp_parser.rb#20 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_parser.rb:26 def expression; end # E.g. @@ -60165,62 +60166,62 @@ module RuboCop::Ext::RegexpParser::Expression::Base # # Please open issue if you need other locations # - # source://rubocop//lib/rubocop/ext/regexp_parser.rb#44 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_parser.rb:23 def origin=(_arg0); end private - # source://rubocop//lib/rubocop/ext/regexp_parser.rb#50 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/ext/regexp_parser.rb:62 module RuboCop::Ext::RegexpParser::Expression::CharacterSet - # source://rubocop//lib/rubocop/ext/regexp_parser.rb#63 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/ext/regexp_parser.rb:9 def quantifier; end end @@ -60237,19 +60238,19 @@ end # # @api private # -# source://rubocop//lib/rubocop/feature_loader.rb#16 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/feature_loader.rb:27 def initialize(config_directory_path:, feature:); end # @api private # - # source://rubocop//lib/rubocop/feature_loader.rb#32 + # pkg:gem/rubocop#lib/rubocop/feature_loader.rb:32 def load; end private @@ -60257,39 +60258,39 @@ class RuboCop::FeatureLoader # @api private # @return [String] # - # source://rubocop//lib/rubocop/feature_loader.rb#55 + # pkg:gem/rubocop#lib/rubocop/feature_loader.rb:55 def namespaced_feature; end # @api private # @return [String] # - # source://rubocop//lib/rubocop/feature_loader.rb#60 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/feature_loader.rb:70 def relative(feature); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/feature_loader.rb#75 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/feature_loader.rb:86 def target; end class << self @@ -60297,7 +60298,7 @@ class RuboCop::FeatureLoader # @param config_directory_path [String] # @param feature [String] # - # source://rubocop//lib/rubocop/feature_loader.rb#20 + # pkg:gem/rubocop#lib/rubocop/feature_loader.rb:20 def load(config_directory_path:, feature:); end end end @@ -60306,39 +60307,39 @@ end # # @api private # -# source://rubocop//lib/rubocop/file_finder.rb#8 +# pkg:gem/rubocop#lib/rubocop/file_finder.rb:8 module RuboCop::FileFinder # @api private # - # source://rubocop//lib/rubocop/file_finder.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/file_finder.rb:10 def root_level; end # @api private # - # source://rubocop//lib/rubocop/file_finder.rb#10 + # pkg:gem/rubocop#lib/rubocop/file_finder.rb:10 def root_level=(_arg0); end end end @@ -60355,45 +60356,45 @@ end # # @api private # -# source://rubocop//lib/rubocop/file_patterns.rb#14 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/file_patterns.rb:21 def initialize(patterns); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/file_patterns.rb#27 + # pkg:gem/rubocop#lib/rubocop/file_patterns.rb:27 def match?(path); end private # @api private # - # source://rubocop//lib/rubocop/file_patterns.rb#33 + # pkg:gem/rubocop#lib/rubocop/file_patterns.rb:33 def partition_patterns(patterns); end class << self # @api private # - # source://rubocop//lib/rubocop/file_patterns.rb#17 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/auto_gen_config_formatter.rb:7 def finished(inspected_files); end end @@ -60433,13 +60434,13 @@ end # * `#file_finished` # * `#finished` # -# source://rubocop//lib/rubocop/formatter/base_formatter.rb#41 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/base_formatter.rb:63 def initialize(output, options = T.unsafe(nil)); end # Invoked at the end of inspecting each files. @@ -60450,7 +60451,7 @@ class RuboCop::Formatter::BaseFormatter # @return [void] # @see RuboCop::Cop::Offense # - # source://rubocop//lib/rubocop/formatter/base_formatter.rb#104 + # pkg:gem/rubocop#lib/rubocop/formatter/base_formatter.rb:104 def file_finished(file, offenses); end # Invoked at the beginning of inspecting each files. @@ -60460,7 +60461,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 + # pkg:gem/rubocop#lib/rubocop/formatter/base_formatter.rb:89 def file_started(file, options); end # Invoked after all files are inspected or interrupted by user. @@ -60471,20 +60472,20 @@ class RuboCop::Formatter::BaseFormatter # unless RuboCop is interrupted by user. # @return [void] # - # source://rubocop//lib/rubocop/formatter/base_formatter.rb#116 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/base_formatter.rb:50 def output; end # Invoked once before any files are inspected. @@ -60493,7 +60494,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 + # pkg:gem/rubocop#lib/rubocop/formatter/base_formatter.rb:76 def started(target_files); end end @@ -60501,109 +60502,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/clang_style_formatter.rb:37 def report_line(location); end - # source://rubocop//lib/rubocop/formatter/clang_style_formatter.rb#17 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:8 module RuboCop::Formatter::Colorizable - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def black(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def blue(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#21 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:21 def colorize(string, *args); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def cyan(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def green(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def magenta(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#9 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:9 def rainbow; end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def red(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/colorizable.rb:35 def white(string); end - # source://rubocop//lib/rubocop/formatter/colorizable.rb#35 + # pkg:gem/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 +# pkg:gem/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#43 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:43 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#56 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:56 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#49 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:49 def file_started(_file, options); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#64 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:64 def finished(_inspected_files); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#85 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:85 def auto_gen_enforced_style?; end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#89 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:89 def command; end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#181 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:181 def cop_config_params(default_cfg, cfg); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#199 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:199 def default_config(cop_name); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#243 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:243 def excludes(offending_files, cop_name, parent); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#214 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:214 def filtered_config(cfg); end # Returns true if the given arr include the given elm or if any of the @@ -60611,124 +60612,124 @@ class RuboCop::Formatter::DisabledConfigFormatter < ::RuboCop::Formatter::BaseFo # # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#291 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:291 def include_or_match?(arr, elm); end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#264 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:264 def merge_mode_for_exclude?(cfg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#285 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:285 def no_exclude_limit?; end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#118 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:118 def output_cop(cop_name, offense_count); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#153 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:153 def output_cop_comments(output_buffer, cfg, cop_name, offense_count); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#203 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:203 def output_cop_config(output_buffer, cfg, cop_name); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#185 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:185 def output_cop_param_comments(output_buffer, params, default_cfg); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#233 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:233 def output_exclude_list(output_buffer, offending_files, cop_name); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#268 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:268 def output_exclude_path(output_buffer, exclude_path, parent); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#222 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:222 def output_offending_files(output_buffer, cfg, cop_name); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#112 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:112 def output_offenses; end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#281 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:281 def safe_autocorrect?(config); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#132 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:132 def set_max(cfg, cop_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#141 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:141 def should_set_max?(cop_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#81 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:81 def show_offense_counts?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#77 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:77 def show_timestamp?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#173 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:173 def supports_safe_autocorrect?(cop_class, default_cfg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#177 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:177 def supports_unsafe_autocorrect?(cop_class, default_cfg); end - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#108 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:108 def timestamp; end class << self # Returns the value of attribute config_to_allow_offenses. # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#40 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:40 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#40 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:40 def config_to_allow_offenses=(_arg0); end # Returns the value of attribute detected_styles. # - # source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#40 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:40 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#40 + # pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:40 def detected_styles=(_arg0); end end end -# source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#20 +# pkg:gem/rubocop#lib/rubocop/formatter/disabled_config_formatter.rb:20 RuboCop::Formatter::DisabledConfigFormatter::EXCLUDED_CONFIG_KEYS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/formatter/disabled_config_formatter.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/emacs_style_formatter.rb:24 def message(offense); end end @@ -60740,9 +60741,9 @@ end # /some/file # /some/other/file # -# source://rubocop//lib/rubocop/formatter/file_list_formatter.rb#12 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/file_list_formatter.rb:13 def file_finished(file, offenses); end end @@ -60750,50 +60751,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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:40 def initialize(options = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#56 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:68 def close_output_files; end - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#51 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:51 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#45 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:45 def file_started(file, options); end - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:35 def finished(*args); end - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#35 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:35 def started(*args); end private - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#87 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:87 def builtin_formatter_class(specified_key); end - # source://rubocop//lib/rubocop/formatter/formatter_set.rb#105 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/formatter_set.rb:76 def formatter_class(formatter_type); end end -# source://rubocop//lib/rubocop/formatter/formatter_set.rb#11 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 @@ -60801,119 +60802,119 @@ 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/fuubar_style_formatter.rb:14 def initialize(*output); end - # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#51 + # pkg:gem/rubocop#lib/rubocop/formatter/fuubar_style_formatter.rb:51 def count_stats(offenses); end - # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#40 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/fuubar_style_formatter.rb:71 def progressbar_color; end - # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#20 + # pkg:gem/rubocop#lib/rubocop/formatter/fuubar_style_formatter.rb:20 def started(target_files); end - # source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#61 + # pkg:gem/rubocop#lib/rubocop/formatter/fuubar_style_formatter.rb:61 def with_color; end end -# source://rubocop//lib/rubocop/formatter/fuubar_style_formatter.rb#12 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/github_actions_formatter.rb:18 def finished(_inspected_files); end - # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#10 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/github_actions_formatter.rb:29 def github_escape(string); end - # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#41 + # pkg:gem/rubocop#lib/rubocop/formatter/github_actions_formatter.rb:41 def github_severity(offense); end - # source://rubocop//lib/rubocop/formatter/github_actions_formatter.rb#33 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:27 def files; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#44 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:44 def finished(inspected_files); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#50 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:50 def render_html; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#35 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:148 def binding; end end -# source://rubocop//lib/rubocop/formatter/html_formatter.rb#138 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def alpha; end # Sets the attribute alpha @@ -60921,14 +60922,14 @@ class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def blue; end # Sets the attribute blue @@ -60936,17 +60937,17 @@ class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def blue=(_); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#19 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def green; end # Sets the attribute green @@ -60954,14 +60955,14 @@ class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def red; end # Sets the attribute red @@ -60969,98 +60970,98 @@ class RuboCop::Formatter::HTMLFormatter::Color < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def red=(_); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#15 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:15 def to_s; end class << self - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def [](*_arg0); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def inspect; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def keyword_init?; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def members; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#14 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:14 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/formatter/html_formatter.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:71 def initialize(files, summary); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#118 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:78 def binding; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#83 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:83 def decorated_message(offense); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#114 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:69 def files; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#94 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:94 def highlight_source_tag(offense); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#87 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:87 def highlighted_source_line(offense); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#110 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:110 def possible_ellipses(location); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#126 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:126 def render_css; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#105 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:105 def source_after_highlight(offense); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#100 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:69 def summary; end end -# source://rubocop//lib/rubocop/formatter/html_formatter.rb#67 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def offenses; end # Sets the attribute offenses @@ -61068,14 +61069,14 @@ class RuboCop::Formatter::HTMLFormatter::FileOffenses < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def path; end # Sets the attribute path @@ -61083,34 +61084,34 @@ class RuboCop::Formatter::HTMLFormatter::FileOffenses < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def path=(_); end class << self - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def [](*_arg0); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def inspect; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def keyword_init?; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def members; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#25 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:25 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def inspected_files; end # Sets the attribute inspected_files @@ -61118,14 +61119,14 @@ class RuboCop::Formatter::HTMLFormatter::Summary < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def offense_count; end # Sets the attribute offense_count @@ -61133,14 +61134,14 @@ class RuboCop::Formatter::HTMLFormatter::Summary < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def target_files; end # Sets the attribute target_files @@ -61148,48 +61149,48 @@ class RuboCop::Formatter::HTMLFormatter::Summary < ::Struct # @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 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def target_files=(_); end class << self - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def [](*_arg0); end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def inspect; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def keyword_init?; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def members; end - # source://rubocop//lib/rubocop/formatter/html_formatter.rb#24 + # pkg:gem/rubocop#lib/rubocop/formatter/html_formatter.rb:24 def new(*_arg0); end end end -# source://rubocop//lib/rubocop/formatter/html_formatter.rb#11 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/json_formatter.rb:22 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/json_formatter.rb#27 + # pkg:gem/rubocop#lib/rubocop/formatter/json_formatter.rb:27 def finished(inspected_files); end - # source://rubocop//lib/rubocop/formatter/json_formatter.rb#42 + # pkg:gem/rubocop#lib/rubocop/formatter/json_formatter.rb:42 def hash_for_file(file, offenses); end # TODO: Consider better solution for Offense#real_column. @@ -61197,163 +61198,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 + # pkg:gem/rubocop#lib/rubocop/formatter/json_formatter.rb:64 def hash_for_location(offense); end - # source://rubocop//lib/rubocop/formatter/json_formatter.rb#49 + # pkg:gem/rubocop#lib/rubocop/formatter/json_formatter.rb:49 def hash_for_offense(offense); end - # source://rubocop//lib/rubocop/formatter/json_formatter.rb#32 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/json_formatter.rb:11 def output_hash; end - # source://rubocop//lib/rubocop/formatter/json_formatter.rb#18 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/junit_formatter.rb:32 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#51 + # pkg:gem/rubocop#lib/rubocop/formatter/junit_formatter.rb:51 def finished(_inspected_files); end private - # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#106 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/junit_formatter.rb:94 def classname_attribute_value(file); end - # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#81 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/junit_formatter.rb:101 def reset_count; end - # source://rubocop//lib/rubocop/formatter/junit_formatter.rb#118 + # pkg:gem/rubocop#lib/rubocop/formatter/junit_formatter.rb:118 def xml_escape(string); end end -# source://rubocop//lib/rubocop/formatter/junit_formatter.rb#16 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/junit_formatter.rb:133 def type; end end -# source://rubocop//lib/rubocop/formatter/junit_formatter.rb#122 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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#12 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:12 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#22 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:22 def file_finished(file, offenses); end # Returns the value of attribute files. # - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#10 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:10 def files; end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#27 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:27 def finished(inspected_files); end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#18 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:18 def started(target_files); end # Returns the value of attribute summary. # - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#10 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:10 def summary; end private - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#74 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:74 def possible_ellipses(location); end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#34 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:34 def render_markdown; end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#68 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:68 def write_code(offense); end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#62 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:62 def write_context(offense); end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#43 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:43 def write_file_messages; end - # source://rubocop//lib/rubocop/formatter/markdown_formatter.rb#55 + # pkg:gem/rubocop#lib/rubocop/formatter/markdown_formatter.rb:55 def write_heading(file); end end @@ -61367,32 +61368,32 @@ end # -- # 29 Total in 5 files # -# source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#16 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/offense_count_formatter.rb:17 def offense_counts; end - # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#73 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/offense_count_formatter.rb:19 def started(target_files); end - # source://rubocop//lib/rubocop/formatter/offense_count_formatter.rb#77 + # pkg:gem/rubocop#lib/rubocop/formatter/offense_count_formatter.rb:77 def total_offense_count(offense_counts); end end @@ -61402,99 +61403,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 +# pkg:gem/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#20 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:20 def initialize(output, options = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#51 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:51 def cols; end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#38 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:38 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#34 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:34 def file_started(_file, _options); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#44 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:44 def next_step(offenses); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#65 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:65 def pacdots(number); end # Returns the value of attribute progress_line. # - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#13 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:13 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#13 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:13 def progress_line=(_arg0); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#27 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:27 def started(target_files); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#69 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:69 def step(character); end - # source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#58 + # pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:58 def update_progress_line; end end -# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#15 +# pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:15 RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer) -# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#16 +# pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:16 RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#18 +# pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:18 RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter) -# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#17 +# pkg:gem/rubocop#lib/rubocop/formatter/pacman_formatter.rb:17 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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/progress_formatter.rb:24 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#33 + # pkg:gem/rubocop#lib/rubocop/formatter/progress_formatter.rb:33 def finished(inspected_files); end - # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#50 + # pkg:gem/rubocop#lib/rubocop/formatter/progress_formatter.rb:50 def report_file_as_mark(offenses); end - # source://rubocop//lib/rubocop/formatter/progress_formatter.rb#18 + # pkg:gem/rubocop#lib/rubocop/formatter/progress_formatter.rb:18 def started(target_files); end end -# source://rubocop//lib/rubocop/formatter/progress_formatter.rb#11 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/formatter/quiet_formatter.rb:7 class RuboCop::Formatter::QuietFormatter < ::RuboCop::Formatter::SimpleTextFormatter - # source://rubocop//lib/rubocop/formatter/quiet_formatter.rb#8 + # pkg:gem/rubocop#lib/rubocop/formatter/quiet_formatter.rb:8 def report_summary(file_count, offense_count, correction_count, correctable_count); end end @@ -61502,119 +61503,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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:36 def finished(inspected_files); end - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#43 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:85 def annotate_message(msg); end - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#80 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:73 def count_stats(offenses); end - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#89 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:89 def message(offense); end end -# source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#14 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:123 def summary; end private - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#160 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:160 def correctable; end - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#153 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:153 def corrections; end - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#142 + # pkg:gem/rubocop#lib/rubocop/formatter/simple_text_formatter.rb:142 def files; end - # source://rubocop//lib/rubocop/formatter/simple_text_formatter.rb#146 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:7 class RuboCop::Formatter::TapFormatter < ::RuboCop::Formatter::ClangStyleFormatter - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#14 + # pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:14 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#8 + # pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:8 def started(target_files); end private - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#62 + # pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:62 def annotate_message(msg); end - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#66 + # pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:66 def message(offense); end - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#39 + # pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:39 def report_highlighted_area(highlighted_area); end - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#29 + # pkg:gem/rubocop#lib/rubocop/formatter/tap_formatter.rb:29 def report_line(location); end - # source://rubocop//lib/rubocop/formatter/tap_formatter.rb#46 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/formatter/text_util.rb:6 module RuboCop::Formatter::TextUtil private - # source://rubocop//lib/rubocop/formatter/text_util.rb#9 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/text_util.rb:9 def pluralize(number, thing, options = T.unsafe(nil)); end end end @@ -61629,38 +61630,38 @@ end # -- # 29 Total in 2 files # -# source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#16 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/worst_offenders_formatter.rb:17 def offense_counts; end - # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#55 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/formatter/worst_offenders_formatter.rb:19 def started(target_files); end - # source://rubocop//lib/rubocop/formatter/worst_offenders_formatter.rb#59 + # pkg:gem/rubocop#lib/rubocop/formatter/worst_offenders_formatter.rb:59 def total_offense_count(offense_counts); end end -# source://rubocop//lib/rubocop/options.rb#8 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/lsp.rb:5 module RuboCop::LSP private @@ -61668,21 +61669,21 @@ module RuboCop::LSP # # @return [void] # - # source://rubocop//lib/rubocop/lsp.rb#25 + # pkg:gem/rubocop#lib/rubocop/lsp.rb:25 def disable(&block); end # Enable LSP. # # @return [void] # - # source://rubocop//lib/rubocop/lsp.rb#18 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/lsp.rb:11 def enabled?; end class << self @@ -61690,21 +61691,21 @@ module RuboCop::LSP # # @return [void] # - # source://rubocop//lib/rubocop/lsp.rb#25 + # pkg:gem/rubocop#lib/rubocop/lsp.rb:25 def disable(&block); end # Enable LSP. # # @return [void] # - # source://rubocop//lib/rubocop/lsp.rb#18 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/lsp.rb:11 def enabled?; end end end @@ -61714,13 +61715,13 @@ end # # @api private # -# source://rubocop//lib/rubocop/lockfile.rb#15 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:17 def initialize(lockfile_path = T.unsafe(nil)); end # Gems that the bundle directly depends on. @@ -61728,7 +61729,7 @@ class RuboCop::Lockfile # @api private # @return [Array, nil] # - # source://rubocop//lib/rubocop/lockfile.rb#29 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:29 def dependencies; end # Returns the locked versions of gems from this lockfile. @@ -61737,7 +61738,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 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:49 def gem_versions(include_transitive_dependencies: T.unsafe(nil)); end # All activated gems, including transitive dependencies. @@ -61745,7 +61746,7 @@ class RuboCop::Lockfile # @api private # @return [Array, nil] # - # source://rubocop//lib/rubocop/lockfile.rb#37 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:37 def gems; end # Whether this lockfile includes the named gem, directly or indirectly. @@ -61754,7 +61755,7 @@ class RuboCop::Lockfile # @param name [String] # @return [Boolean] # - # source://rubocop//lib/rubocop/lockfile.rb#65 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:65 def includes_gem?(name); end private @@ -61762,13 +61763,13 @@ class RuboCop::Lockfile # @api private # @return [Bundler::LockfileParser, nil] # - # source://rubocop//lib/rubocop/lockfile.rb#72 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:72 def parser; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/lockfile.rb#85 + # pkg:gem/rubocop#lib/rubocop/lockfile.rb:85 def use_bundler_lock_parser?; end end @@ -61776,21 +61777,21 @@ end # # @abstract parent of three different magic comment handlers # -# source://rubocop//lib/rubocop/magic_comment.rb#7 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:32 def initialize(comment); end # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#36 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:36 def any?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#104 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:104 def encoding_specified?; end # Expose the `frozen_string_literal` value coerced to a boolean if possible. @@ -61799,7 +61800,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 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:86 def frozen_string_literal; end # Does the magic comment enable the frozen string literal feature. @@ -61810,53 +61811,53 @@ class RuboCop::MagicComment # # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#55 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:77 def shareable_constant_value_specified?; end - # source://rubocop//lib/rubocop/magic_comment.rb#115 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:111 def typed_specified?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#43 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:43 def valid?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#59 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:59 def valid_literal_value?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#63 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:63 def valid_shareable_constant_value?; end private @@ -61867,12 +61868,12 @@ class RuboCop::MagicComment # @return [String] if pattern matched # @return [nil] otherwise # - # source://rubocop//lib/rubocop/magic_comment.rb#131 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:131 def extract(pattern); end # @return [Boolean] # - # source://rubocop//lib/rubocop/magic_comment.rb#121 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:121 def specified?(value); end class << self @@ -61881,7 +61882,7 @@ class RuboCop::MagicComment # @param comment [String] # @return [RuboCop::MagicComment] # - # source://rubocop//lib/rubocop/magic_comment.rb#23 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:23 def parse(comment); end end end @@ -61890,14 +61891,14 @@ end # # @abstract # -# source://rubocop//lib/rubocop/magic_comment.rb#138 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:138 class RuboCop::MagicComment::EditorComment < ::RuboCop::MagicComment - # source://rubocop//lib/rubocop/magic_comment.rb#139 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:144 def without(type); end private @@ -61908,14 +61909,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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:174 def tokens; end end @@ -61930,38 +61931,38 @@ end # @see https://github.com/ruby/ruby/blob/3f306dc/parse.y#L6873-L6892 Emacs handling in parse.y # @see https://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html # -# source://rubocop//lib/rubocop/magic_comment.rb#190 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:190 class RuboCop::MagicComment::EmacsComment < ::RuboCop::MagicComment::EditorComment - # source://rubocop//lib/rubocop/magic_comment.rb#196 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:196 def new_frozen_string_literal(value); end private - # source://rubocop//lib/rubocop/magic_comment.rb#202 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:202 def extract_frozen_string_literal; end - # source://rubocop//lib/rubocop/magic_comment.rb#206 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:206 def extract_shareable_constant_value; end # Emacs comments cannot specify Sorbet typechecking behavior. # - # source://rubocop//lib/rubocop/magic_comment.rb#211 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:211 def extract_typed; end end -# source://rubocop//lib/rubocop/magic_comment.rb#192 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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. @@ -61977,19 +61978,19 @@ RuboCop::MagicComment::KEYWORDS = T.let(T.unsafe(nil), Hash) # comment1.frozen_string_literal # => true # comment1.encoding # => nil # -# source://rubocop//lib/rubocop/magic_comment.rb#265 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:265 class RuboCop::MagicComment::SimpleComment < ::RuboCop::MagicComment # Match `encoding` or `coding` # - # source://rubocop//lib/rubocop/magic_comment.rb#269 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:269 def encoding; end - # source://rubocop//lib/rubocop/magic_comment.rb#282 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:282 def new_frozen_string_literal(value); end # Rewrite the comment without a given token type # - # source://rubocop//lib/rubocop/magic_comment.rb#274 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:274 def without(type); end private @@ -62003,24 +62004,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#295 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:295 def extract_frozen_string_literal; end - # source://rubocop//lib/rubocop/magic_comment.rb#299 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:299 def extract_shareable_constant_value; end - # source://rubocop//lib/rubocop/magic_comment.rb#303 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:303 def extract_typed; end end -# source://rubocop//lib/rubocop/magic_comment.rb#266 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:266 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 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:10 RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), String) # Wrapper for Vim style magic comments. @@ -62032,7 +62033,7 @@ RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), String) # # comment.encoding # => 'ascii-8bit' # -# source://rubocop//lib/rubocop/magic_comment.rb#222 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:222 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 @@ -62043,99 +62044,99 @@ class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment # # does nothing # # vim: foo=bar, fileencoding=ascii-8bit # - # source://rubocop//lib/rubocop/magic_comment.rb#238 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:238 def encoding; end # Vim comments cannot specify Sorbet typechecking behavior. # - # source://rubocop//lib/rubocop/magic_comment.rb#249 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:249 def extract_typed; end # Vim comments cannot specify frozen string literal behavior. # - # source://rubocop//lib/rubocop/magic_comment.rb#243 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:243 def frozen_string_literal; end # Vim comments cannot specify shareable constant values behavior. # - # source://rubocop//lib/rubocop/magic_comment.rb#246 + # pkg:gem/rubocop#lib/rubocop/magic_comment.rb:246 def shareable_constant_value; end end -# source://rubocop//lib/rubocop/magic_comment.rb#224 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:224 RuboCop::MagicComment::VimComment::FORMAT = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/magic_comment.rb#227 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:227 RuboCop::MagicComment::VimComment::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/magic_comment.rb#226 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:226 RuboCop::MagicComment::VimComment::OPERATOR = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/magic_comment.rb#223 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:223 RuboCop::MagicComment::VimComment::REGEXP = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/magic_comment.rb#225 +# pkg:gem/rubocop#lib/rubocop/magic_comment.rb:225 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 +# pkg:gem/rubocop#lib/rubocop/name_similarity.rb:6 module RuboCop::NameSimilarity private # @api private # - # source://rubocop//lib/rubocop/name_similarity.rb#9 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/ast_aliases.rb:5 RuboCop::NodePattern = RuboCop::AST::NodePattern -# source://rubocop//lib/rubocop/options.rb#10 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/options.rb:22 def initialize; end # @api private # - # source://rubocop//lib/rubocop/options.rb#27 + # pkg:gem/rubocop#lib/rubocop/options.rb:27 def parse(command_line_args); end private # @api private # - # source://rubocop//lib/rubocop/options.rb#229 + # pkg:gem/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: @@ -62147,67 +62148,67 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#140 + # pkg:gem/rubocop#lib/rubocop/options.rb:140 def add_autocorrection_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#205 + # pkg:gem/rubocop#lib/rubocop/options.rb:205 def add_cache_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#73 + # pkg:gem/rubocop#lib/rubocop/options.rb:73 def add_check_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#163 + # pkg:gem/rubocop#lib/rubocop/options.rb:163 def add_config_generation_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#181 + # pkg:gem/rubocop#lib/rubocop/options.rb:181 def add_cop_selection_csv_option(option, opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#241 + # pkg:gem/rubocop#lib/rubocop/options.rb:241 def add_general_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#212 + # pkg:gem/rubocop#lib/rubocop/options.rb:212 def add_lsp_option(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#105 + # pkg:gem/rubocop#lib/rubocop/options.rb:105 def add_output_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#254 + # pkg:gem/rubocop#lib/rubocop/options.rb:254 def add_profile_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#218 + # pkg:gem/rubocop#lib/rubocop/options.rb:218 def add_server_options(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#196 + # pkg:gem/rubocop#lib/rubocop/options.rb:196 def add_severity_option(opts); end # @api private # - # source://rubocop//lib/rubocop/options.rb#53 + # pkg:gem/rubocop#lib/rubocop/options.rb:53 def define_options; end # @api private # - # source://rubocop//lib/rubocop/options.rb#264 + # pkg:gem/rubocop#lib/rubocop/options.rb:264 def handle_deprecated_option(old_option, new_option); end # Finds the option in `args` starting with -- and converts it to a symbol, @@ -62215,7 +62216,7 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#298 + # pkg:gem/rubocop#lib/rubocop/options.rb:298 def long_opt_symbol(args); end # Sets a value in the @options hash, based on the given long option and its @@ -62223,22 +62224,22 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#287 + # pkg:gem/rubocop#lib/rubocop/options.rb:287 def option(opts, *args); end # @api private # - # source://rubocop//lib/rubocop/options.rb#303 + # pkg:gem/rubocop#lib/rubocop/options.rb:303 def plugin_feature(file); end # @api private # - # source://rubocop//lib/rubocop/options.rb#269 + # pkg:gem/rubocop#lib/rubocop/options.rb:269 def rainbow; end # @api private # - # source://rubocop//lib/rubocop/options.rb#309 + # pkg:gem/rubocop#lib/rubocop/options.rb:309 def require_feature(file); end # Creates a section of options in order to separate them visually when @@ -62246,148 +62247,148 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#279 + # pkg:gem/rubocop#lib/rubocop/options.rb:279 def section(opts, heading, &_block); end end # @api private # -# source://rubocop//lib/rubocop/options.rb#20 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#512 +# pkg:gem/rubocop#lib/rubocop/options.rb:512 module RuboCop::OptionsHelp; end # @api private # -# source://rubocop//lib/rubocop/options.rb#514 +# pkg:gem/rubocop#lib/rubocop/options.rb:514 RuboCop::OptionsHelp::FORMATTER_OPTION_LIST = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop//lib/rubocop/options.rb#513 +# pkg:gem/rubocop#lib/rubocop/options.rb:513 RuboCop::OptionsHelp::MAX_EXCL = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/options.rb#516 +# pkg:gem/rubocop#lib/rubocop/options.rb:516 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#327 +# pkg:gem/rubocop#lib/rubocop/options.rb:327 class RuboCop::OptionsValidator # @api private # @return [OptionsValidator] a new instance of OptionsValidator # - # source://rubocop//lib/rubocop/options.rb#365 + # pkg:gem/rubocop#lib/rubocop/options.rb:365 def initialize(options); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/options.rb#486 + # pkg:gem/rubocop#lib/rubocop/options.rb:486 def boolean_or_empty_cache?; end # @api private # - # source://rubocop//lib/rubocop/options.rb#456 + # pkg:gem/rubocop#lib/rubocop/options.rb:456 def disable_parallel_when_invalid_option_combo; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/options.rb#482 + # pkg:gem/rubocop#lib/rubocop/options.rb:482 def except_syntax?; end # @api private # - # source://rubocop//lib/rubocop/options.rb#490 + # pkg:gem/rubocop#lib/rubocop/options.rb:490 def incompatible_options; end # @api private # - # source://rubocop//lib/rubocop/options.rb#469 + # pkg:gem/rubocop#lib/rubocop/options.rb:469 def invalid_arguments_for_parallel; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/options.rb#477 + # pkg:gem/rubocop#lib/rubocop/options.rb:477 def only_includes_redundant_disable?; end # @api private # - # source://rubocop//lib/rubocop/options.rb#397 + # pkg:gem/rubocop#lib/rubocop/options.rb:397 def validate_auto_gen_config; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#442 + # pkg:gem/rubocop#lib/rubocop/options.rb:442 def validate_autocorrect; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#502 + # pkg:gem/rubocop#lib/rubocop/options.rb:502 def validate_cache_enabled_for_cache_root; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#374 + # pkg:gem/rubocop#lib/rubocop/options.rb:374 def validate_compatibility; end # @api private # - # source://rubocop//lib/rubocop/options.rb#369 + # pkg:gem/rubocop#lib/rubocop/options.rb:369 def validate_cop_options; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#418 + # pkg:gem/rubocop#lib/rubocop/options.rb:418 def validate_display_only_correctable_and_autocorrect; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#410 + # pkg:gem/rubocop#lib/rubocop/options.rb:410 def validate_display_only_failed; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#427 + # pkg:gem/rubocop#lib/rubocop/options.rb:427 def validate_display_only_failed_and_display_only_correctable; end # @api private # @raise [OptionParser::MissingArgument] # - # source://rubocop//lib/rubocop/options.rb#494 + # pkg:gem/rubocop#lib/rubocop/options.rb:494 def validate_exclude_limit_option; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#436 + # pkg:gem/rubocop#lib/rubocop/options.rb:436 def validate_lsp_and_editor_mode; end class << self @@ -62396,58 +62397,58 @@ class RuboCop::OptionsValidator # # @api private # - # source://rubocop//lib/rubocop/options.rb#334 + # pkg:gem/rubocop#lib/rubocop/options.rb:334 def validate_cop_list(names); end private # @api private # - # source://rubocop//lib/rubocop/options.rb#351 + # pkg:gem/rubocop#lib/rubocop/options.rb:351 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 +# pkg:gem/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#83 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:83 def absolute?(path); end # Returns true for a glob # - # source://rubocop//lib/rubocop/path_util.rb#88 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:88 def glob?(path); end - # source://rubocop//lib/rubocop/path_util.rb#118 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:118 def hidden_dir?(path); end - # source://rubocop//lib/rubocop/path_util.rb#101 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:101 def hidden_file?(path); end - # source://rubocop//lib/rubocop/path_util.rb#92 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:92 def hidden_file_in_not_hidden_dir?(pattern, path); end - # source://rubocop//lib/rubocop/path_util.rb#55 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:55 def match_path?(pattern, path); end # Loose check to reduce memory allocations # - # source://rubocop//lib/rubocop/path_util.rb#108 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:108 def maybe_hidden_file?(path); end - # source://rubocop//lib/rubocop/path_util.rb#13 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:13 def relative_path(path, base_dir = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/path_util.rb#31 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:31 def remote_file?(uri); end - # source://rubocop//lib/rubocop/path_util.rb#38 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:38 def smart_path(path); end class << self @@ -62455,72 +62456,72 @@ module RuboCop::PathUtil # # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#83 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:83 def absolute?(path); end # Returns true for a glob # # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#88 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:88 def glob?(path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#118 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:118 def hidden_dir?(path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#101 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:101 def hidden_file?(path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#92 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:92 def hidden_file_in_not_hidden_dir?(pattern, path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#55 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:55 def match_path?(pattern, path); end # Loose check to reduce memory allocations # # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#108 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:108 def maybe_hidden_file?(path); end - # source://rubocop//lib/rubocop/path_util.rb#13 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:7 def relative_paths_cache=(_arg0); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#31 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:31 def remote_file?(uri); end - # source://rubocop//lib/rubocop/path_util.rb#38 + # pkg:gem/rubocop#lib/rubocop/path_util.rb:38 def smart_path(path); end end end -# source://rubocop//lib/rubocop/path_util.rb#105 +# pkg:gem/rubocop#lib/rubocop/path_util.rb:105 RuboCop::PathUtil::HIDDEN_FILE_PATTERN = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/path_util.rb#35 +# pkg:gem/rubocop#lib/rubocop/path_util.rb:35 RuboCop::PathUtil::SMART_PATH_CACHE = T.let(T.unsafe(nil), Hash) # Reports information about pending cops that are not explicitly configured. @@ -62530,50 +62531,50 @@ RuboCop::PathUtil::SMART_PATH_CACHE = T.let(T.unsafe(nil), Hash) # It provides a centralized way to determine whether such warnings should be shown, # based on global flags or configuration settings. # -# source://rubocop//lib/rubocop/pending_cops_reporter.rb#10 +# pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:10 class RuboCop::PendingCopsReporter class << self # Returns the value of attribute disable_pending_cops. # - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#20 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:20 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/pending_cops_reporter.rb#20 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:20 def disable_pending_cops=(_arg0); end # Returns the value of attribute enable_pending_cops. # - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#20 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:20 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/pending_cops_reporter.rb#20 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:20 def enable_pending_cops=(_arg0); end - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#22 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:22 def warn_if_needed(config); end private - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#31 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:31 def pending_cops_only_qualified(pending_cops); end # @return [Boolean] # - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#35 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:35 def possible_new_cops?(config); end - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#40 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:40 def warn_on_pending_cops(pending_cops); end - # source://rubocop//lib/rubocop/pending_cops_reporter.rb#48 + # pkg:gem/rubocop#lib/rubocop/pending_cops_reporter.rb:48 def warn_pending_cop(cop); end end end @@ -62581,12 +62582,12 @@ end # This module provides information on the platform that RuboCop is being run # on. # -# source://rubocop//lib/rubocop/platform.rb#6 +# pkg:gem/rubocop#lib/rubocop/platform.rb:6 module RuboCop::Platform class << self # @return [Boolean] # - # source://rubocop//lib/rubocop/platform.rb#7 + # pkg:gem/rubocop#lib/rubocop/platform.rb:7 def windows?; end end end @@ -62596,25 +62597,25 @@ end # # @api private # -# source://rubocop//lib/rubocop/plugin/not_supported_error.rb#4 +# pkg:gem/rubocop#lib/rubocop/plugin/not_supported_error.rb:4 module RuboCop::Plugin class << self # @api private # - # source://rubocop//lib/rubocop/plugin.rb#37 + # pkg:gem/rubocop#lib/rubocop/plugin.rb:37 def integrate_plugins(rubocop_config, plugins); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/plugin.rb#22 + # pkg:gem/rubocop#lib/rubocop/plugin.rb:22 def plugin_capable?(feature_name); end end end # @api private # -# source://rubocop//lib/rubocop/plugin.rb#11 +# pkg:gem/rubocop#lib/rubocop/plugin.rb:11 RuboCop::Plugin::BUILTIN_INTERNAL_PLUGINS = T.let(T.unsafe(nil), Hash) # A class for integrating plugin configurations into RuboCop. @@ -62622,34 +62623,34 @@ RuboCop::Plugin::BUILTIN_INTERNAL_PLUGINS = T.let(T.unsafe(nil), Hash) # # @api private # -# source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#11 +# pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:11 class RuboCop::Plugin::ConfigurationIntegrator class << self # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#13 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:13 def integrate_plugins_into_rubocop_config(rubocop_config, plugins); end private # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#44 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:44 def combine_rubocop_configs(default_config, runner_context, plugins); end # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#27 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:27 def create_context(rubocop_config); end # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#81 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:81 def fake_out_rubocop_default_configuration(default_config); end # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#92 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:92 def load_plugin_rubocop_config(plugin, runner_context); end # This is how we ensure "first-in wins": plugins can override AllCops settings that are @@ -62663,52 +62664,52 @@ class RuboCop::Plugin::ConfigurationIntegrator # # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#118 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:118 def merge_all_cop_settings(existing_all_cops, new_all_cops, already_configured_keys); end # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#67 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:67 def merge_plugin_config_into_all_cops!(rubocop_config, plugin_config); end # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#71 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:71 def merge_plugin_config_into_default_config!(default_config, plugin_config); end # @api private # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#137 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:137 def resolver; end # @api private # @raise [Plugin::NotSupportedError] # - # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#37 + # pkg:gem/rubocop#lib/rubocop/plugin/configuration_integrator.rb:37 def validate_plugins!(plugins, runner_context); end end end # @api private # -# source://rubocop//lib/rubocop/plugin.rb#18 +# pkg:gem/rubocop#lib/rubocop/plugin.rb:18 RuboCop::Plugin::INTERNAL_AFFAIRS_PLUGIN_NAME = T.let(T.unsafe(nil), String) # An exception raised when a plugin fails to load. # # @api private # -# source://rubocop//lib/rubocop/plugin/load_error.rb#7 +# pkg:gem/rubocop#lib/rubocop/plugin/load_error.rb:7 class RuboCop::Plugin::LoadError < ::RuboCop::Error # @api private # @return [LoadError] a new instance of LoadError # - # source://rubocop//lib/rubocop/plugin/load_error.rb#8 + # pkg:gem/rubocop#lib/rubocop/plugin/load_error.rb:8 def initialize(plugin_name); end # @api private # - # source://rubocop//lib/rubocop/plugin/load_error.rb#14 + # pkg:gem/rubocop#lib/rubocop/plugin/load_error.rb:14 def message; end end @@ -62716,72 +62717,72 @@ end # # @api private # -# source://rubocop//lib/rubocop/plugin/loader.rb#10 +# pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:10 class RuboCop::Plugin::Loader class << self # @api private # - # source://rubocop//lib/rubocop/plugin/loader.rb#20 + # pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:20 def load(plugins); end private # @api private # - # source://rubocop//lib/rubocop/plugin/loader.rb#70 + # pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:70 def constantize(plugin_name, plugin_config); end # @api private # - # source://rubocop//lib/rubocop/plugin/loader.rb#61 + # pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:61 def constantize_plugin_from(plugin_name, plugin_config); end # @api private # - # source://rubocop//lib/rubocop/plugin/loader.rb#90 + # pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:90 def constantize_plugin_from_gemspec_metadata(plugin_name); end # @api private # - # source://rubocop//lib/rubocop/plugin/loader.rb#34 + # pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:34 def normalize(plugin_configs); end # @api private # - # source://rubocop//lib/rubocop/plugin/loader.rb#86 + # pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:86 def require_plugin(require_path); end end end # @api private # -# source://rubocop//lib/rubocop/plugin/loader.rb#12 +# pkg:gem/rubocop#lib/rubocop/plugin/loader.rb:12 RuboCop::Plugin::Loader::DEFAULT_PLUGIN_CONFIG = T.let(T.unsafe(nil), Hash) # An exception raised when a plugin is not supported by the RuboCop engine. # # @api private # -# source://rubocop//lib/rubocop/plugin/not_supported_error.rb#7 +# pkg:gem/rubocop#lib/rubocop/plugin/not_supported_error.rb:7 class RuboCop::Plugin::NotSupportedError < ::RuboCop::Error # @api private # @return [NotSupportedError] a new instance of NotSupportedError # - # source://rubocop//lib/rubocop/plugin/not_supported_error.rb#8 + # pkg:gem/rubocop#lib/rubocop/plugin/not_supported_error.rb:8 def initialize(unsupported_plugins); end # @api private # - # source://rubocop//lib/rubocop/plugin/not_supported_error.rb#14 + # pkg:gem/rubocop#lib/rubocop/plugin/not_supported_error.rb:14 def message; end end # @api private # -# source://rubocop//lib/rubocop/plugin.rb#19 +# pkg:gem/rubocop#lib/rubocop/plugin.rb:19 RuboCop::Plugin::OBSOLETE_INTERNAL_AFFAIRS_PLUGIN_NAME = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/ast_aliases.rb#6 +# pkg:gem/rubocop#lib/rubocop/ast_aliases.rb:6 RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource # Provides a custom rake task. @@ -62792,124 +62793,124 @@ 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 +# pkg:gem/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#18 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:18 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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:15 def patterns=(_arg0); end # Returns the value of attribute plugins. # - # source://rubocop//lib/rubocop/rake_task.rb#15 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:15 def plugins; end # Sets the attribute plugins # # @param value the value to set the attribute plugins to. # - # source://rubocop//lib/rubocop/rake_task.rb#15 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:15 def plugins=(_arg0); end # Returns the value of attribute requires. # - # source://rubocop//lib/rubocop/rake_task.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:15 def verbose=(_arg0); end private - # source://rubocop//lib/rubocop/rake_task.rb#56 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:56 def full_options; end - # source://rubocop//lib/rubocop/rake_task.rb#36 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:36 def perform(option); end - # source://rubocop//lib/rubocop/rake_task.rb#45 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:45 def run_cli(verbose, options); end - # source://rubocop//lib/rubocop/rake_task.rb#64 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:64 def setup_ivars(name); end - # source://rubocop//lib/rubocop/rake_task.rb#75 + # pkg:gem/rubocop#lib/rubocop/rake_task.rb:75 def setup_subtasks(name, *args, &task_block); end end @@ -62917,118 +62918,118 @@ end # # @api private # -# source://rubocop//lib/rubocop/remote_config.rb#9 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:14 def initialize(url, base_dir); end # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#23 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:23 def file; end # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#36 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:36 def inherit_from_remote(file, path); end # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#10 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:10 def uri; end private # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#99 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:99 def cache_name_from_uri; end # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#82 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:82 def cache_path; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/remote_config.rb#86 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:86 def cache_path_exists?; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/remote_config.rb#90 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:90 def cache_path_expired?; end # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#105 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:105 def cloned_url; end # @api private # @yield [request] # - # source://rubocop//lib/rubocop/remote_config.rb#57 + # pkg:gem/rubocop#lib/rubocop/remote_config.rb:57 def generate_request(uri); end # @api private # - # source://rubocop//lib/rubocop/remote_config.rb#66 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:87 def initialize(file, team, options, config_store, cache_root_override = T.unsafe(nil)); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/result_cache.rb#100 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:100 def debug?; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#108 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:108 def load; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#85 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:85 def path; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#113 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:113 def save(offenses); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/result_cache.rb#104 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:104 def valid?; end private @@ -63036,7 +63037,7 @@ class RuboCop::ResultCache # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/result_cache.rb#146 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:146 def any_symlink?(path); end # We combine team and options into a single "context" checksum to avoid @@ -63046,17 +63047,17 @@ class RuboCop::ResultCache # # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#231 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:231 def context_checksum(team, options); end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#189 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:189 def digest(path); end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#157 + # pkg:gem/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 @@ -63065,37 +63066,37 @@ class RuboCop::ResultCache # # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#222 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:222 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 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:174 def rubocop_checksum; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#200 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:200 def rubocop_extra_features; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/result_cache.rb#142 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:75 def cache_root(config_store, cache_root_override = T.unsafe(nil)); end # Remove old files so that the cache doesn't grow too big. When the @@ -63107,220 +63108,220 @@ class RuboCop::ResultCache # # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#28 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:28 def cleanup(config_store, verbose, cache_root_override = T.unsafe(nil)); end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#170 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:170 def inhibit_cleanup; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#170 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:170 def inhibit_cleanup=(_arg0); end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#42 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:42 def rubocop_required_features; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#42 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:42 def rubocop_required_features=(_arg0); end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#170 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:170 def source_checksum; end # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#170 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:170 def source_checksum=(_arg0); end private # @api private # - # source://rubocop//lib/rubocop/result_cache.rb#65 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/result_cache.rb:52 def remove_oldest_files(files, dirs, rubocop_cache_dir, verbose); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/result_cache.rb#48 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/runner.rb:8 class RuboCop::Runner # @return [Runner] a new instance of Runner # - # source://rubocop//lib/rubocop/runner.rb#59 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/runner.rb:57 def aborting=(_arg0); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#83 + # pkg:gem/rubocop#lib/rubocop/runner.rb:83 def aborting?; end # Returns the value of attribute errors. # - # source://rubocop//lib/rubocop/runner.rb#56 + # pkg:gem/rubocop#lib/rubocop/runner.rb:56 def errors; end - # source://rubocop//lib/rubocop/runner.rb#67 + # pkg:gem/rubocop#lib/rubocop/runner.rb:67 def run(paths); end # Returns the value of attribute warnings. # - # source://rubocop//lib/rubocop/runner.rb#56 + # pkg:gem/rubocop#lib/rubocop/runner.rb:56 def warnings; end private - # source://rubocop//lib/rubocop/runner.rb#199 + # pkg:gem/rubocop#lib/rubocop/runner.rb:199 def add_redundant_disables(file, offenses, source); end - # source://rubocop//lib/rubocop/runner.rb#173 + # pkg:gem/rubocop#lib/rubocop/runner.rb:173 def cached_result(file, team); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#253 + # pkg:gem/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#333 + # pkg:gem/rubocop#lib/rubocop/runner.rb:333 def check_for_infinite_loop(processed_source, offenses_by_iteration); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#225 + # pkg:gem/rubocop#lib/rubocop/runner.rb:225 def check_for_redundant_disables?(source); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#435 + # pkg:gem/rubocop#lib/rubocop/runner.rb:435 def considered_failure?(offense); end - # source://rubocop//lib/rubocop/runner.rb#472 + # pkg:gem/rubocop#lib/rubocop/runner.rb:472 def default_config(cop_name); end - # source://rubocop//lib/rubocop/runner.rb#275 + # pkg:gem/rubocop#lib/rubocop/runner.rb:275 def do_inspection_loop(file); end - # source://rubocop//lib/rubocop/runner.rb#133 + # pkg:gem/rubocop#lib/rubocop/runner.rb:133 def each_inspected_file(files); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#239 + # pkg:gem/rubocop#lib/rubocop/runner.rb:239 def except_redundant_cop_disable_directive?; end - # source://rubocop//lib/rubocop/runner.rb#362 + # pkg:gem/rubocop#lib/rubocop/runner.rb:362 def extract_ruby_sources(processed_source); end - # source://rubocop//lib/rubocop/runner.rb#248 + # pkg:gem/rubocop#lib/rubocop/runner.rb:248 def file_finished(file, offenses); end - # source://rubocop//lib/rubocop/runner.rb#177 + # pkg:gem/rubocop#lib/rubocop/runner.rb:177 def file_offense_cache(file); end - # source://rubocop//lib/rubocop/runner.rb#165 + # pkg:gem/rubocop#lib/rubocop/runner.rb:165 def file_offenses(file); end - # source://rubocop//lib/rubocop/runner.rb#243 + # pkg:gem/rubocop#lib/rubocop/runner.rb:243 def file_started(file); end - # source://rubocop//lib/rubocop/runner.rb#415 + # pkg:gem/rubocop#lib/rubocop/runner.rb:415 def filter_cop_classes(cop_classes, config); end - # source://rubocop//lib/rubocop/runner.rb#104 + # pkg:gem/rubocop#lib/rubocop/runner.rb:104 def find_target_files(paths); end - # source://rubocop//lib/rubocop/runner.rb#426 + # pkg:gem/rubocop#lib/rubocop/runner.rb:426 def formatter_set; end - # source://rubocop//lib/rubocop/runner.rb#487 + # pkg:gem/rubocop#lib/rubocop/runner.rb:487 def get_processed_source(file, prism_result); end - # source://rubocop//lib/rubocop/runner.rb#347 + # pkg:gem/rubocop#lib/rubocop/runner.rb:347 def inspect_file(processed_source, team = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/runner.rb#115 + # pkg:gem/rubocop#lib/rubocop/runner.rb:115 def inspect_files(files); end - # source://rubocop//lib/rubocop/runner.rb#308 + # pkg:gem/rubocop#lib/rubocop/runner.rb:308 def iterate_until_no_changes(source, offenses_by_iteration); end - # source://rubocop//lib/rubocop/runner.rb#148 + # pkg:gem/rubocop#lib/rubocop/runner.rb:148 def list_files(paths); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#468 + # pkg:gem/rubocop#lib/rubocop/runner.rb:468 def mark_as_safe_by_config?(config); end - # source://rubocop//lib/rubocop/runner.rb#476 + # pkg:gem/rubocop#lib/rubocop/runner.rb:476 def minimum_severity_to_fail; end - # source://rubocop//lib/rubocop/runner.rb#376 + # pkg:gem/rubocop#lib/rubocop/runner.rb:376 def mobilize_team(processed_source); end - # source://rubocop//lib/rubocop/runner.rb#381 + # pkg:gem/rubocop#lib/rubocop/runner.rb:381 def mobilized_cop_classes(config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#444 + # pkg:gem/rubocop#lib/rubocop/runner.rb:444 def offense_displayed?(offense); end - # source://rubocop//lib/rubocop/runner.rb#456 + # pkg:gem/rubocop#lib/rubocop/runner.rb:456 def offenses_to_report(offenses); end - # source://rubocop//lib/rubocop/runner.rb#152 + # pkg:gem/rubocop#lib/rubocop/runner.rb:152 def process_file(file); end - # source://rubocop//lib/rubocop/runner.rb#405 + # pkg:gem/rubocop#lib/rubocop/runner.rb:405 def qualify_option_cop_names; end # @yield [cop] # - # source://rubocop//lib/rubocop/runner.rb#231 + # pkg:gem/rubocop#lib/rubocop/runner.rb:231 def redundant_cop_disable_directive(file); end - # source://rubocop//lib/rubocop/runner.rb#265 + # pkg:gem/rubocop#lib/rubocop/runner.rb:265 def save_in_cache(cache, offenses); end # A Cop::Team instance is stateful and may change when inspecting. @@ -63328,41 +63329,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#519 + # pkg:gem/rubocop#lib/rubocop/runner.rb:519 def standby_team(config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#422 + # pkg:gem/rubocop#lib/rubocop/runner.rb:422 def style_guide_cops_only?(config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/runner.rb#460 + # pkg:gem/rubocop#lib/rubocop/runner.rb:460 def supports_safe_autocorrect?(offense); end # @yield [team] # - # source://rubocop//lib/rubocop/runner.rb#214 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/runner.rb:91 def warm_cache(target_files); end class << self # @return [Array<#call>] # - # source://rubocop//lib/rubocop/runner.rb#29 + # pkg:gem/rubocop#lib/rubocop/runner.rb:29 def ruby_extractors; end private # @return [#call] # - # source://rubocop//lib/rubocop/runner.rb#36 + # pkg:gem/rubocop#lib/rubocop/runner.rb:36 def default_ruby_extractor; end end end @@ -63370,71 +63371,71 @@ end # An exception indicating that the inspection loop got stuck correcting # offenses back and forth. # -# source://rubocop//lib/rubocop/runner.rb#11 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/runner.rb:12 def offenses; end end # @api private # -# source://rubocop//lib/rubocop/runner.rb#49 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/string_interpreter.rb:7 class RuboCop::StringInterpreter class << self - # source://rubocop//lib/rubocop/string_interpreter.rb#24 + # pkg:gem/rubocop#lib/rubocop/string_interpreter.rb:24 def interpret(string); end private - # source://rubocop//lib/rubocop/string_interpreter.rb#51 + # pkg:gem/rubocop#lib/rubocop/string_interpreter.rb:51 def interpret_hex(escape); end - # source://rubocop//lib/rubocop/string_interpreter.rb#55 + # pkg:gem/rubocop#lib/rubocop/string_interpreter.rb:55 def interpret_octal(escape); end - # source://rubocop//lib/rubocop/string_interpreter.rb#33 + # pkg:gem/rubocop#lib/rubocop/string_interpreter.rb:33 def interpret_string_escape(escape); end - # source://rubocop//lib/rubocop/string_interpreter.rb#43 + # pkg:gem/rubocop#lib/rubocop/string_interpreter.rb:43 def interpret_unicode(escape); end end end -# source://rubocop//lib/rubocop/string_interpreter.rb#8 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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, @@ -63443,7 +63444,7 @@ class RuboCop::TargetFinder # @api private # @return [Array] array of file paths # - # source://rubocop//lib/rubocop/target_finder.rb#17 + # pkg:gem/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 @@ -63453,7 +63454,7 @@ class RuboCop::TargetFinder # # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#60 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:60 def find_files(base_dir, flags); end # Finds all Ruby source files under the current or other supplied directory. A Ruby source file @@ -63467,183 +63468,183 @@ class RuboCop::TargetFinder # ruby source files # @return [Array] Array of filenames # - # source://rubocop//lib/rubocop/target_finder.rb#41 + # pkg:gem/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#124 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:124 def all_cops_include; end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#110 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:110 def combined_exclude_glob_patterns(base_dir); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#177 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:177 def configured_include?(file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#213 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:213 def debug?; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#217 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:217 def fail_fast?; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#205 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:205 def force_exclusion?; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#82 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:82 def hidden_path?(path); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#209 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:209 def ignore_parent_exclusion?; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#150 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:150 def included_file?(file); end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#196 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:196 def order; end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#128 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:128 def process_explicit_path(path, mode); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#181 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:181 def ruby_executable?(file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#162 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:162 def ruby_extension?(file); end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#166 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:166 def ruby_extensions; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#154 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:154 def ruby_file?(file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#173 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:173 def ruby_filename?(file); end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#117 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:117 def ruby_filenames; end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#192 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:192 def ruby_interpreters(file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#158 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:158 def stdin?; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_finder.rb#102 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:102 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#75 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:75 def to_inspect?(file, base_dir_config); end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#86 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:86 def wanted_dir_patterns(base_dir, exclude_pattern, flags); end # @api private # - # source://rubocop//lib/rubocop/target_finder.rb#139 + # pkg:gem/rubocop#lib/rubocop/target_finder.rb:139 def without_excluded(files); end end # @api private # -# source://rubocop//lib/rubocop/target_finder.rb#7 +# pkg:gem/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 +# pkg:gem/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#282 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:282 def initialize(config); end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#298 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:298 def rubocop_version_with_support; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#286 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:286 def source; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/target_ruby.rb#294 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:294 def supported?; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#290 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:290 def version; end class << self # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#267 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:267 def supported_versions; end end end @@ -63652,47 +63653,47 @@ end # # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#214 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:214 class RuboCop::TargetRuby::BundlerLockFile < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#215 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:215 def name; end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#248 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:248 def bundler_lock_file_path; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#221 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:221 def find_version; end end # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#8 +# pkg:gem/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#255 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:255 class RuboCop::TargetRuby::Default < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#256 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:256 def name; end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#262 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:262 def find_version; end end @@ -63700,80 +63701,80 @@ end # # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#67 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:82 def name; end - # source://rubocop//lib/rubocop/target_ruby.rb#71 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:71 def required_ruby_version(param0); end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#146 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:146 def find_minimal_known_ruby(right_hand_side); end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#88 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:88 def find_version; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#98 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:98 def gemspec_filepath; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#142 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:142 def version_from_array(array); end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#112 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:112 def version_from_gemspec_file(file); end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#130 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:130 def version_from_right_hand_side(right_hand_side); end end # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#7 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:53 class RuboCop::TargetRuby::RuboCopConfig < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#54 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:54 def name; end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#60 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:60 def find_version; end end @@ -63782,18 +63783,18 @@ end # # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#39 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:39 class RuboCop::TargetRuby::RuboCopEnvVar < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#40 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:40 def name; end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#46 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:46 def find_version; end end @@ -63801,76 +63802,76 @@ end # # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#160 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:160 class RuboCop::TargetRuby::RubyVersionFile < ::RuboCop::TargetRuby::Source # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#164 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:164 def name; end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#170 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:170 def filename; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#178 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:178 def find_version; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#174 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:174 def pattern; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#185 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:185 def version_file; end end # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#161 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:161 RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_FILENAME = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#162 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:162 RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp) # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#271 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:271 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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:27 def initialize(config); end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#25 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:25 def name; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#32 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:32 def to_s; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#25 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:25 def version; end end @@ -63879,70 +63880,70 @@ end # # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#193 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:193 class RuboCop::TargetRuby::ToolVersionsFile < ::RuboCop::TargetRuby::RubyVersionFile # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#197 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:197 def name; end private # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#203 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:203 def filename; end # @api private # - # source://rubocop//lib/rubocop/target_ruby.rb#207 + # pkg:gem/rubocop#lib/rubocop/target_ruby.rb:207 def pattern; end end # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#194 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:194 RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_FILENAME = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/target_ruby.rb#195 +# pkg:gem/rubocop#lib/rubocop/target_ruby.rb:195 RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/ast_aliases.rb#7 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/util.rb:5 module RuboCop::Util class << self - # source://rubocop//lib/rubocop/util.rb#6 + # pkg:gem/rubocop#lib/rubocop/util.rb:6 def silence_warnings; end end end -# source://rubocop//lib/rubocop/error.rb#10 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/version.rb:5 module RuboCop::Version class << self # @api private # - # source://rubocop//lib/rubocop/version.rb#121 + # pkg:gem/rubocop#lib/rubocop/version.rb:121 def config_for_pwd(env); end # @api private # - # source://rubocop//lib/rubocop/version.rb#151 + # pkg:gem/rubocop#lib/rubocop/version.rb:151 def document_version; end # @api private # - # source://rubocop//lib/rubocop/version.rb#74 + # pkg:gem/rubocop#lib/rubocop/version.rb:74 def extension_versions(env); end # Returns feature version in one of two ways: @@ -63952,51 +63953,51 @@ module RuboCop::Version # # @api private # - # source://rubocop//lib/rubocop/version.rb#135 + # pkg:gem/rubocop#lib/rubocop/version.rb:135 def feature_version(feature); end # @api private # - # source://rubocop//lib/rubocop/version.rb#57 + # pkg:gem/rubocop#lib/rubocop/version.rb:57 def parser_version(target_ruby_version); end # @api private # - # source://rubocop//lib/rubocop/version.rb#156 + # pkg:gem/rubocop#lib/rubocop/version.rb:156 def server_mode; end # @api private # - # source://rubocop//lib/rubocop/version.rb#112 + # pkg:gem/rubocop#lib/rubocop/version.rb:112 def target_ruby_version(env); end # @api private # - # source://rubocop//lib/rubocop/version.rb#52 + # pkg:gem/rubocop#lib/rubocop/version.rb:52 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#26 + # pkg:gem/rubocop#lib/rubocop/version.rb:26 def version(debug: T.unsafe(nil), env: T.unsafe(nil)); end end end -# source://rubocop//lib/rubocop/version.rb#15 +# pkg:gem/rubocop#lib/rubocop/version.rb:15 RuboCop::Version::CANONICAL_FEATURE_NAMES = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/version.rb#19 +# pkg:gem/rubocop#lib/rubocop/version.rb:19 RuboCop::Version::EXTENSION_PATH_NAMES = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/version.rb#13 +# pkg:gem/rubocop#lib/rubocop/version.rb:13 RuboCop::Version::MINIMUM_PARSABLE_PRISM_VERSION = T.let(T.unsafe(nil), Float) -# source://rubocop//lib/rubocop/version.rb#8 +# pkg:gem/rubocop#lib/rubocop/version.rb:8 RuboCop::Version::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/version.rb#6 +# pkg:gem/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' @@ -64005,42 +64006,42 @@ 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 +# pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/yaml_duplication_checker.rb:6 module RuboCop::YAMLDuplicationChecker class << self # @api private # - # source://rubocop//lib/rubocop/yaml_duplication_checker.rb#7 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/rubocop#lib/rubocop/yaml_duplication_checker.rb:15 def initialize(&block); end # @api private # - # source://rubocop//lib/rubocop/yaml_duplication_checker.rb#20 + # pkg:gem/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 +# pkg:gem/rubocop#lib/rubocop/core_ext/string.rb:4 class String include ::Comparable @@ -64053,6 +64054,6 @@ class String # ' test'.blank? #=> false # @return [Boolean] true is the string is blank, false otherwise # - # source://rubocop//lib/rubocop/core_ext/string.rb#15 + # pkg:gem/rubocop#lib/rubocop/core_ext/string.rb:15 def blank?; end end diff --git a/sorbet/rbi/gems/ruby-lsp-rails@0.4.8.rbi b/sorbet/rbi/gems/ruby-lsp-rails@0.4.8.rbi index 2cf0d43d0..c7e25299b 100644 --- a/sorbet/rbi/gems/ruby-lsp-rails@0.4.8.rbi +++ b/sorbet/rbi/gems/ruby-lsp-rails@0.4.8.rbi @@ -5,32 +5,32 @@ # Please instead update this file by running `bin/tapioca gem ruby-lsp-rails`. -# source://ruby-lsp-rails//lib/ruby_lsp_rails/version.rb#4 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp_rails/version.rb:4 module RubyLsp; end -# source://ruby-lsp-rails//lib/ruby_lsp_rails/version.rb#5 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp_rails/version.rb:5 module RubyLsp::Rails; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/active_support_test_case_helper.rb#6 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/active_support_test_case_helper.rb:6 module RubyLsp::Rails::ActiveSupportTestCaseHelper - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/active_support_test_case_helper.rb#8 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/active_support_test_case_helper.rb:8 sig { params(node: ::Prism::CallNode).returns(T.nilable(::String)) } def extract_test_case_name(node); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#22 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:22 class RubyLsp::Rails::Addon < ::RubyLsp::Addon - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#26 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:26 sig { void } def initialize; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#63 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:63 sig { override.params(global_state: ::RubyLsp::GlobalState, outgoing_queue: ::Thread::Queue).void } def activate(global_state, outgoing_queue); end # Creates a new CodeLens listener. This method is invoked on every CodeLens request # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#106 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:106 sig do override .params( @@ -41,7 +41,7 @@ class RubyLsp::Rails::Addon < ::RubyLsp::Addon end def create_code_lens_listener(response_builder, uri, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#136 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:136 sig do override .params( @@ -53,7 +53,7 @@ class RubyLsp::Rails::Addon < ::RubyLsp::Addon end def create_completion_listener(response_builder, node_context, dispatcher, uri); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#128 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:128 sig do override .params( @@ -65,7 +65,7 @@ class RubyLsp::Rails::Addon < ::RubyLsp::Addon end def create_definition_listener(response_builder, uri, node_context, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#91 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:91 sig do override .params( @@ -76,7 +76,7 @@ class RubyLsp::Rails::Addon < ::RubyLsp::Addon end def create_discover_tests_listener(response_builder, dispatcher, uri); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#122 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:122 sig do override .params( @@ -86,7 +86,7 @@ class RubyLsp::Rails::Addon < ::RubyLsp::Addon end def create_document_symbol_listener(response_builder, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#114 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:114 sig do override .params( @@ -97,66 +97,66 @@ class RubyLsp::Rails::Addon < ::RubyLsp::Addon end def create_hover_listener(response_builder, node_context, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#79 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:79 sig { override.void } def deactivate; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#162 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:162 sig { override.params(title: ::String).void } def handle_window_show_message_response(title); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#156 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:156 sig { override.returns(::String) } def name; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#57 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:57 sig { returns(::RubyLsp::Rails::RunnerClient) } def rails_runner_client; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#99 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:99 sig { override.params(items: T::Array[T::Hash[::Symbol, T.untyped]]).returns(T::Array[::String]) } def resolve_test_commands(items); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#85 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:85 sig { override.returns(::String) } def version; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#141 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:141 sig { params(changes: T::Array[{uri: ::String, type: ::Integer}]).void } def workspace_did_change_watched_files(changes); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#189 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:189 sig { params(id: ::String, title: ::String, percentage: T.nilable(::Integer), message: T.nilable(::String)).void } def begin_progress(id, title, percentage: T.unsafe(nil), message: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#214 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:214 sig { params(id: ::String).void } def end_progress(id); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#250 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:250 sig { returns(::LanguageServer::Protocol::Interface::FileSystemWatcher) } def fixture_file_watcher; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#258 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:258 sig { void } def offer_to_run_pending_migrations; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#221 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:221 sig { params(global_state: ::RubyLsp::GlobalState, outgoing_queue: ::Thread::Queue).void } def register_additional_file_watchers(global_state:, outgoing_queue:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#207 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:207 sig { params(id: ::String, percentage: T.nilable(::Integer), message: T.nilable(::String)).void } def report_progress(id, percentage: T.unsafe(nil), message: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#242 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:242 sig { returns(::LanguageServer::Protocol::Interface::FileSystemWatcher) } def structure_sql_file_watcher; end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/addon.rb#23 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/addon.rb:23 RubyLsp::Rails::Addon::RUN_MIGRATIONS_TITLE = T.let(T.unsafe(nil), String) # ![CodeLens demo](../../code_lens.gif) @@ -227,12 +227,12 @@ RubyLsp::Rails::Addon::RUN_MIGRATIONS_TITLE = T.let(T.unsafe(nil), String) # # Note: Complex routing configurations may not be supported. # -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#74 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:74 class RubyLsp::Rails::CodeLens include ::RubyLsp::Requests::Support::Common include ::RubyLsp::Rails::ActiveSupportTestCaseHelper - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#79 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:79 sig do params( client: ::RubyLsp::Rails::RunnerClient, @@ -244,111 +244,111 @@ class RubyLsp::Rails::CodeLens end def initialize(client, global_state, response_builder, uri, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#100 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:100 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#133 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:133 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#158 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:158 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end # Although uncommon, Rails tests can be written with the classic "def test_name" syntax. # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#114 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:114 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#171 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:171 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#176 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:176 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#191 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:191 sig { params(node: ::Prism::DefNode).void } def add_jump_to_view(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#253 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:253 sig { params(node: ::Prism::Node, name: ::String, command: ::String).void } def add_migrate_code_lens(node, name:, command:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#219 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:219 sig { params(node: ::Prism::DefNode).void } def add_route_code_lens_to_action(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#266 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:266 sig { params(node: ::Prism::Node, name: ::String, command: ::String, kind: ::Symbol).void } def add_test_code_lens(node, name:, command:, kind:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#183 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:183 sig { returns(T.nilable(T::Boolean)) } def controller?; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#241 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:241 sig { returns(::String) } def migrate_command; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#246 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:246 sig { returns(T.nilable(::String)) } def migration_version; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/code_lens.rb#236 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/code_lens.rb:236 sig { returns(::String) } def test_command; end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#10 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:10 module RubyLsp::Rails::Common requires_ancestor { RubyLsp::Rails::ServerComponent } - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#97 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:97 sig { params(id: ::String, title: ::String, percentage: T.nilable(::Integer), message: T.nilable(::String)).void } def begin_progress(id, title, percentage: T.unsafe(nil), message: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#140 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:140 sig { params(id: ::String).void } def end_progress(id); end # Log a message to the editor's output panel. The type is the number of the message type, which can be found in # the specification https://microsoft.github.io/language-server-protocol/specification/#messageType # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#47 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:47 sig { params(message: ::String, type: ::Integer).void } def log_message(message, type: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#123 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:123 sig { params(id: ::String, percentage: T.nilable(::Integer), message: T.nilable(::String)).void } def report_progress(id, percentage: T.unsafe(nil), message: T.unsafe(nil)); end # Sends an error result to a request, if the request failed. DO NOT INVOKE THIS METHOD FOR NOTIFICATIONS! Use # `log_message` instead, otherwise the client/server communication will go out of sync # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#54 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:54 sig { params(message: ::String).void } def send_error_response(message); end # Sends a result back to the client # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#60 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:60 sig { params(result: T.nilable(T::Hash[T.any(::String, ::Symbol), T.untyped])).void } def send_result(result); end # Handle possible errors for a notification. This should only be used for notifications, which means messages that # do not return a response back to the client. Errors are logged to the editor's output panel # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#83 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:83 sig { params(notification_name: ::String, block: T.proc.void).void } def with_notification_error_handling(notification_name, &block); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#153 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:153 sig do params( id: ::String, @@ -363,7 +363,7 @@ module RubyLsp::Rails::Common # Handle possible errors for a request. This should only be used for requests, which means messages that return a # response back to the client. Errors are returned as an error object back to the client # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#67 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:67 sig { params(request_name: ::String, block: T.proc.void).void } def with_request_error_handling(request_name, &block); end @@ -371,33 +371,33 @@ module RubyLsp::Rails::Common # Write a response message back to the client # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#166 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:166 sig { params(message: T::Hash[T.any(::String, ::Symbol), T.untyped]).void } def send_message(message); end # Write a notification to the client to be transmitted to the editor # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#173 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:173 sig { params(message: T::Hash[T.any(::String, ::Symbol), T.untyped]).void } def send_notification(message); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#15 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:15 class RubyLsp::Rails::Common::Progress - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#17 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:17 sig { params(stderr: T.any(::IO, ::StringIO), id: ::String, supports_progress: T::Boolean).void } def initialize(stderr, id, supports_progress); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#24 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:24 sig { params(percentage: T.nilable(::Integer), message: T.nilable(::String)).void } def report(percentage: T.unsafe(nil), message: T.unsafe(nil)); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/completion.rb#6 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/completion.rb:6 class RubyLsp::Rails::Completion include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/completion.rb#11 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/completion.rb:11 sig do override .params( @@ -410,17 +410,17 @@ class RubyLsp::Rails::Completion end def initialize(client, response_builder, node_context, dispatcher, uri); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/completion.rb#22 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/completion.rb:22 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/completion.rb#35 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/completion.rb:35 sig { params(node: ::Prism::CallNode, receiver: ::Prism::ConstantReadNode).void } def handle_active_record_where_completions(node:, receiver:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/completion.rb#66 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/completion.rb:66 sig { params(arguments: T::Array[::Prism::Node]).returns(T::Hash[::String, ::Prism::Node]) } def index_call_node_args(arguments:); end end @@ -450,11 +450,11 @@ end # - If using `constraints`, the route can only be found if the constraints are met. # - Changes to routes won't be picked up until the server is restarted. # -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#30 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:30 class RubyLsp::Rails::Definition include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#34 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:34 sig do params( client: ::RubyLsp::Rails::RunnerClient, @@ -466,37 +466,37 @@ class RubyLsp::Rails::Definition end def initialize(client, response_builder, node_context, index, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#55 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:55 sig { params(node: T.any(::Prism::StringNode, ::Prism::SymbolNode)).void } def handle_possible_dsl(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#72 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:72 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#50 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:50 sig { params(node: ::Prism::StringNode).void } def on_string_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#45 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:45 sig { params(node: ::Prism::SymbolNode).void } def on_symbol_node_enter(node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#133 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:133 sig { params(name: ::String).void } def collect_definitions(name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#106 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:106 sig { params(node: ::Prism::CallNode).void } def handle_association(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#87 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:87 sig { params(node: ::Prism::CallNode).void } def handle_callback(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/definition.rb#123 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/definition.rb:123 sig { params(node: ::Prism::CallNode).void } def handle_route(node); end end @@ -507,42 +507,42 @@ end # request allows users to navigate between associations, validations, callbacks and ActiveSupport test cases with # VS Code's "Go to Symbol" feature. # -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#11 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:11 class RubyLsp::Rails::DocumentSymbol include ::RubyLsp::Requests::Support::Common include ::RubyLsp::Rails::ActiveSupportTestCaseHelper - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#16 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:16 sig { params(response_builder: RubyLsp::ResponseBuilders::DocumentSymbol, dispatcher: ::Prism::Dispatcher).void } def initialize(response_builder, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#31 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:31 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#62 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:62 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#67 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:67 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#72 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:72 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#77 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:77 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#84 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:84 sig { params(node: T.any(::Prism::ClassNode, ::Prism::ModuleNode)).void } def add_to_namespace_stack(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#217 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:217 sig do params( name: ::String, @@ -552,19 +552,19 @@ class RubyLsp::Rails::DocumentSymbol end def append_document_symbol(name:, range:, selection_range:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#94 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:94 sig { params(node: ::Prism::CallNode, message: ::String).void } def handle_all_arg_types(node, message); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#197 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:197 sig { params(node: ::Prism::CallNode, message: ::String).void } def handle_class_arg_types(node, message); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#166 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:166 sig { params(node: ::Prism::CallNode, message: ::String).void } def handle_symbol_and_string_arg_types(node, message); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb#89 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/document_symbol.rb:89 sig { params(node: T.any(::Prism::ClassNode, ::Prism::ModuleNode)).void } def remove_from_namespace_stack(node); end end @@ -581,11 +581,11 @@ end # # ^ hovering here will show information about the User model # ``` # -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#17 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:17 class RubyLsp::Rails::Hover include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#21 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:21 sig do params( client: ::RubyLsp::Rails::RunnerClient, @@ -597,125 +597,125 @@ class RubyLsp::Rails::Hover end def initialize(client, response_builder, node_context, global_state, dispatcher); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#36 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:36 sig { params(node: ::Prism::ConstantPathNode).void } def on_constant_path_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#46 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:46 sig { params(node: ::Prism::ConstantReadNode).void } def on_constant_read_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#55 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:55 sig { params(node: ::Prism::SymbolNode).void } def on_symbol_node_enter(node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#108 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:108 sig { params(default_value: ::String, type: ::String).returns(::String) } def format_default(default_value, type); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#62 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:62 sig { params(name: ::String).void } def generate_column_content(name); end # Copied from `RubyLsp::Listeners::Hover#generate_hover` # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#153 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:153 sig { params(name: ::String).void } def generate_hover(name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#135 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:135 sig { params(node: ::Prism::CallNode).void } def handle_association(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/hover.rb#120 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/hover.rb:120 sig { params(node: ::Prism::SymbolNode).void } def handle_possible_dsl(node); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#240 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:240 class RubyLsp::Rails::IOWrapper < ::SimpleDelegator - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#247 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:247 sig { params(args: T.untyped).void } def print(*args); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#242 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:242 sig { params(args: T.untyped).void } def puts(*args); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#254 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:254 sig { params(message: T.untyped).void } def log(message); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb#6 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb:6 class RubyLsp::Rails::IndexingEnhancement < ::RubyIndexer::Enhancement - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb#9 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb:9 sig { override.params(call_node: ::Prism::CallNode).void } def on_call_node_enter(call_node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb#26 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb:26 sig { override.params(call_node: ::Prism::CallNode).void } def on_call_node_leave(call_node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb#35 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb:35 sig { params(owner: ::RubyIndexer::Entry::Namespace, call_node: ::Prism::CallNode).void } def handle_association(owner, call_node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb#89 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb:89 sig { params(owner: ::RubyIndexer::Entry::Namespace, call_node: ::Prism::CallNode).void } def handle_class_methods(owner, call_node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb#64 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/indexing_enhancement.rb:64 sig { params(owner: ::RubyIndexer::Entry::Namespace, call_node: ::Prism::CallNode).void } def handle_concern_extend(owner, call_node); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#366 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:366 class RubyLsp::Rails::NullClient < ::RubyLsp::Rails::RunnerClient - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#368 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:368 sig { void } def initialize; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#390 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:390 sig { returns(T::Boolean) } def connected?; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#385 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:385 sig { override.returns(::String) } def rails_root; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#373 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:373 sig { override.void } def shutdown; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#379 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:379 sig { override.returns(T::Boolean) } def stopped?; end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#397 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:397 sig { params(message: ::String, type: ::Integer).void } def log_message(message, type: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#409 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:409 sig { override.returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def read_response; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#403 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:403 sig { override.params(request: ::String, params: T.untyped).void } def send_message(request, **params); end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#6 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:6 class RubyLsp::Rails::RailsTestStyle < ::RubyLsp::Listeners::TestDiscovery - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#54 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:54 sig do params( response_builder: RubyLsp::ResponseBuilders::TestCollection, @@ -726,77 +726,77 @@ class RubyLsp::Rails::RailsTestStyle < ::RubyLsp::Listeners::TestDiscovery end def initialize(response_builder, global_state, dispatcher, uri); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#106 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:106 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#67 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:67 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#88 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:88 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#126 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:126 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#94 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:94 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#100 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:100 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#149 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:149 sig { params(node: ::Prism::Node, test_name: ::String).void } def add_test_item(node, test_name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#138 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:138 sig { params(attached_ancestors: T::Array[::String], fully_qualified_name: ::String).returns(T::Boolean) } def declarative_minitest?(attached_ancestors, fully_qualified_name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#165 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:165 sig { returns(T.any(::RubyLsp::Requests::Support::TestItem, RubyLsp::ResponseBuilders::TestCollection)) } def last_test_group; end class << self - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#11 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:11 sig { params(items: T::Array[T::Hash[::Symbol, T.untyped]]).returns(T::Array[::String]) } def resolve_test_commands(items); end end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb#7 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/rails_test_style.rb:7 RubyLsp::Rails::RailsTestStyle::BASE_COMMAND = T.let(T.unsafe(nil), String) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#9 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:9 class RubyLsp::Rails::RunnerClient - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#51 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:51 sig { params(outgoing_queue: ::Thread::Queue, global_state: ::RubyLsp::GlobalState).void } def initialize(outgoing_queue, global_state); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#147 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:147 sig { params(model_name: ::String, association_name: ::String).returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def association_target(model_name:, association_name:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#259 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:259 sig { returns(T::Boolean) } def connected?; end # Delegates a notification to a server add-on # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#185 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:185 sig { params(server_addon_name: ::String, request_name: ::String, params: T.untyped).void } def delegate_notification(server_addon_name:, request_name:, **params); end # Delegates a request to a server add-on # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#219 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:219 sig do params( server_addon_name: ::String, @@ -806,90 +806,90 @@ class RubyLsp::Rails::RunnerClient end def delegate_request(server_addon_name:, request_name:, **params); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#136 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:136 sig { params(name: ::String).returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def model(name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#195 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:195 sig { returns(T.nilable(::String)) } def pending_migrations_message; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#48 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:48 sig { returns(::String) } def rails_root; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#125 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:125 sig { params(server_addon_path: ::String).void } def register_server_addon(server_addon_path); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#173 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:173 sig { params(controller: ::String, action: ::String).returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def route(controller:, action:); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#162 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:162 sig { params(name: ::String).returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def route_location(name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#207 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:207 sig { returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def run_migrations; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#243 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:243 sig { void } def shutdown; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#254 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:254 sig { returns(T::Boolean) } def stopped?; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#231 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:231 sig { void } def trigger_reload; end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#317 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:317 sig { void } def force_kill; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#326 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:326 sig { params(message: ::String, type: ::Integer).void } def log_message(message, type: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#266 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:266 sig { params(request: ::String, params: T.untyped).returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def make_request(request, **params); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#333 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:333 sig { returns(T.nilable(::Integer)) } def read_content_length; end # Read a server notification from stderr. Only intended to be used by notifier thread # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#345 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:345 sig { returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def read_notification; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#291 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:291 sig { overridable.returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def read_response; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#277 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:277 sig { overridable.params(request: ::String, params: T.untyped).void } def send_message(request, **params); end # Notifications are like messages, but one-way, with no response sent back. # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#273 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:273 sig { params(request: ::String, params: T.untyped).void } def send_notification(request, **params); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#359 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:359 sig { params(global_state: ::RubyLsp::GlobalState).returns(::String) } def server_relevant_capabilities(global_state); end class << self - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#12 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:12 sig do params( outgoing_queue: ::Thread::Queue, @@ -900,20 +900,20 @@ class RubyLsp::Rails::RunnerClient end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#45 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:45 class RubyLsp::Rails::RunnerClient::EmptyMessageError < ::RubyLsp::Rails::RunnerClient::MessageError; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#43 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:43 class RubyLsp::Rails::RunnerClient::InitializationError < ::StandardError; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#44 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/runner_client.rb:44 class RubyLsp::Rails::RunnerClient::MessageError < ::StandardError; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#262 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:262 class RubyLsp::Rails::Server < ::RubyLsp::Rails::ServerComponent include ::RubyLsp::Rails::Common - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#266 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:266 sig do params( stdout: T.any(::IO, ::StringIO), @@ -924,17 +924,17 @@ class RubyLsp::Rails::Server < ::RubyLsp::Rails::ServerComponent end def initialize(stdout: T.unsafe(nil), stderr: T.unsafe(nil), override_default_output_device: T.unsafe(nil), capabilities: T.unsafe(nil)); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#304 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:304 sig { params(request: ::String, params: T::Hash[T.any(::String, ::Symbol), T.untyped]).void } def execute(request, params); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#289 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:289 sig { void } def start; end private - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#443 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:443 sig { params(const: T.nilable(::Module)).returns(T::Boolean) } def active_record_model?(const); end @@ -943,31 +943,31 @@ class RubyLsp::Rails::Server < ::RubyLsp::Rails::ServerComponent # the file watcher implementation. Instead, we clear the hooks to prevent the registered file watchers from being # instantiated # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#491 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:491 sig { void } def clear_file_system_resolver_hooks; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#500 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:500 sig { params(model: T.class_of(ActiveRecord::Base)).returns(T::Array[::String]) } def collect_model_foreign_keys(model); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#510 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:510 sig { params(model: T.class_of(ActiveRecord::Base)).returns(T::Array[T::Hash[::Symbol, T.untyped]]) } def collect_model_indexes(model); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#523 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:523 sig { params(model: T.class_of(ActiveRecord::Base)).returns(T::Boolean) } def database_supports_indexing?(model); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#478 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:478 sig { void } def load_routes; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#455 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:455 sig { returns(T.nilable(::String)) } def pending_migrations_message; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#429 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:429 sig do params( params: T::Hash[T.any(::String, ::Symbol), T.untyped] @@ -975,11 +975,11 @@ class RubyLsp::Rails::Server < ::RubyLsp::Rails::ServerComponent end def resolve_association_target(params); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#410 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:410 sig { params(model_name: ::String).returns(T.nilable(T::Hash[T.any(::String, ::Symbol), T.untyped])) } def resolve_database_info_from_model(model_name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#356 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:356 sig do params( requirements: T::Hash[T.any(::String, ::Symbol), T.untyped] @@ -987,41 +987,41 @@ class RubyLsp::Rails::Server < ::RubyLsp::Rails::ServerComponent end def resolve_route_info(requirements); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#404 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:404 sig { params(name: ::String).returns(T.nilable(T::Hash[T.any(::String, ::Symbol), T.untyped])) } def route_location(name); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#466 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:466 sig { returns(T::Hash[T.any(::String, ::Symbol), T.untyped]) } def run_migrations; end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#197 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:197 class RubyLsp::Rails::ServerAddon < ::RubyLsp::Rails::ServerComponent include ::RubyLsp::Rails::Common # @raise [NotImplementedError] # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#235 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:235 sig { params(request: ::String, params: T::Hash[T.any(::String, ::Symbol), T.untyped]).returns(T.untyped) } def execute(request, params); end # @raise [NotImplementedError] # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#230 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:230 sig { returns(::String) } def name; end class << self # Delegate `request` with `params` to the server add-on with the given `name` # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#214 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:214 sig { params(name: ::String, request: ::String, params: T::Hash[T.any(::String, ::Symbol), T.untyped]).void } def delegate(name, request, params); end # Instantiate all server addons and store them in a hash for easy access after we have discovered the classes # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#220 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:220 sig do params( stdout: T.any(::IO, ::StringIO), @@ -1034,15 +1034,15 @@ class RubyLsp::Rails::ServerAddon < ::RubyLsp::Rails::ServerComponent # We keep track of runtime server add-ons the same way we track other add-ons, by storing classes that inherit # from the base one # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#207 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:207 sig { params(child: T.class_of(RubyLsp::Rails::ServerAddon)).void } def inherited(child); end end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#179 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:179 class RubyLsp::Rails::ServerComponent - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#190 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:190 sig do params( stdout: T.any(::IO, ::StringIO), @@ -1052,56 +1052,56 @@ class RubyLsp::Rails::ServerComponent end def initialize(stdout, stderr, capabilities); end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#187 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:187 sig { returns(T::Hash[T.any(::String, ::Symbol), T.untyped]) } def capabilities; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#184 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:184 sig { returns(T.any(::IO, ::StringIO)) } def stderr; end - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/server.rb#181 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/server.rb:181 sig { returns(T.any(::IO, ::StringIO)) } def stdout; end end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/associations.rb#6 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/associations.rb:6 module RubyLsp::Rails::Support; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/associations.rb#7 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/associations.rb:7 module RubyLsp::Rails::Support::Associations; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/associations.rb#8 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/associations.rb:8 RubyLsp::Rails::Support::Associations::ALL = T.let(T.unsafe(nil), Array) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb#7 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb:7 module RubyLsp::Rails::Support::Callbacks; end -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb#64 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb:64 RubyLsp::Rails::Support::Callbacks::ALL = T.let(T.unsafe(nil), Array) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb#34 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb:34 RubyLsp::Rails::Support::Callbacks::CONTROLLERS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb#49 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb:49 RubyLsp::Rails::Support::Callbacks::JOBS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb#58 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb:58 RubyLsp::Rails::Support::Callbacks::MAILBOX = T.let(T.unsafe(nil), Array) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb#8 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/callbacks.rb:8 RubyLsp::Rails::Support::Callbacks::MODELS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/location_builder.rb#7 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/location_builder.rb:7 class RubyLsp::Rails::Support::LocationBuilder class << self # @raise [ArgumentError] # - # source://ruby-lsp-rails//lib/ruby_lsp/ruby_lsp_rails/support/location_builder.rb#10 + # pkg:gem/ruby-lsp-rails#lib/ruby_lsp/ruby_lsp_rails/support/location_builder.rb:10 sig { params(location_string: ::String).returns(::LanguageServer::Protocol::Interface::Location) } def line_location_from_s(location_string); end end end -# source://ruby-lsp-rails//lib/ruby_lsp_rails/version.rb#6 +# pkg:gem/ruby-lsp-rails#lib/ruby_lsp_rails/version.rb:6 RubyLsp::Rails::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/ruby-lsp@0.26.4.rbi b/sorbet/rbi/gems/ruby-lsp@0.26.4.rbi index bccaf0413..eff785f71 100644 --- a/sorbet/rbi/gems/ruby-lsp@0.26.4.rbi +++ b/sorbet/rbi/gems/ruby-lsp@0.26.4.rbi @@ -5,41 +5,41 @@ # Please instead update this file by running `bin/tapioca gem ruby-lsp`. -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#4 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:4 module RubyIndexer; end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:5 class RubyIndexer::Configuration - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:21 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#175 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:175 sig { params(config: T::Hash[::String, T.untyped]).void } def apply_config(config); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:18 sig { returns(::Encoding) } def encoding; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:18 def encoding=(_arg0); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#59 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:59 sig { returns(T::Array[::URI::Generic]) } def indexable_uris; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#170 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:170 sig { returns(::Regexp) } def magic_comment_regex; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:15 sig { params(workspace_path: ::String).returns(::String) } def workspace_path=(workspace_path); end private - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#203 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:203 sig { returns(T::Array[::String]) } def initial_excluded_gems; end @@ -47,27 +47,27 @@ class RubyIndexer::Configuration # `test_helper.rb` or `test_case.rb`. Also takes into consideration the possibility of finding these files under # fixtures or inside gem source code if the bundle path points to a directory inside the workspace # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#257 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:257 sig { params(path: ::String, bundle_path: T.nilable(::String)).returns(T::Boolean) } def test_files_ignored_from_exclusion?(path, bundle_path); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#264 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:264 sig { returns(T::Array[::String]) } def top_level_directories; end # @raise [ArgumentError] # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#188 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:188 sig { params(config: T::Hash[::String, T.untyped]).void } def validate_config!(config); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/configuration.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/configuration.rb:6 RubyIndexer::Configuration::CONFIGURATION_SCHEMA = T.let(T.unsafe(nil), Hash) -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:5 class RubyIndexer::DeclarationListener - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:13 sig do params( index: ::RubyIndexer::Index, @@ -79,7 +79,7 @@ class RubyIndexer::DeclarationListener end def initialize(index, dispatcher, parse_result, uri, collect_comments: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#504 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:504 sig do params( name_or_nesting: T.any(::String, T::Array[::String]), @@ -91,7 +91,7 @@ class RubyIndexer::DeclarationListener end def add_class(name_or_nesting, full_location, name_location, parent_class_name: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#472 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:472 sig do params( name: ::String, @@ -103,7 +103,7 @@ class RubyIndexer::DeclarationListener end def add_method(name, node_location, signatures, visibility: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#488 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:488 sig do params( name: ::String, @@ -114,165 +114,165 @@ class RubyIndexer::DeclarationListener end def add_module(name, full_location, name_location, comments: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#539 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:539 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def current_owner; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:10 sig { returns(T::Array[::String]) } def indexing_errors; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#431 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:431 sig { params(node: ::Prism::AliasMethodNode).void } def on_alias_method_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#251 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:251 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#292 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:292 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#77 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:77 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#109 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:109 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#447 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:447 sig { params(node: ::Prism::ClassVariableAndWriteNode).void } def on_class_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#452 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:452 sig { params(node: ::Prism::ClassVariableOperatorWriteNode).void } def on_class_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#457 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:457 sig { params(node: ::Prism::ClassVariableOrWriteNode).void } def on_class_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#462 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:462 sig { params(node: ::Prism::ClassVariableTargetNode).void } def on_class_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#467 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:467 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#239 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:239 sig { params(node: ::Prism::ConstantAndWriteNode).void } def on_constant_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#245 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:245 sig { params(node: ::Prism::ConstantOperatorWriteNode).void } def on_constant_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#233 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:233 sig { params(node: ::Prism::ConstantOrWriteNode).void } def on_constant_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#217 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:217 sig { params(node: ::Prism::ConstantPathAndWriteNode).void } def on_constant_path_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#207 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:207 sig { params(node: ::Prism::ConstantPathOperatorWriteNode).void } def on_constant_path_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#197 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:197 sig { params(node: ::Prism::ConstantPathOrWriteNode).void } def on_constant_path_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#187 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:187 sig { params(node: ::Prism::ConstantPathWriteNode).void } def on_constant_path_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#227 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:227 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#313 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:313 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#372 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:372 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#381 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:381 sig { params(node: ::Prism::GlobalVariableAndWriteNode).void } def on_global_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#386 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:386 sig { params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def on_global_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#391 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:391 sig { params(node: ::Prism::GlobalVariableOrWriteNode).void } def on_global_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#396 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:396 sig { params(node: ::Prism::GlobalVariableTargetNode).void } def on_global_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#401 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:401 sig { params(node: ::Prism::GlobalVariableWriteNode).void } def on_global_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#411 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:411 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#416 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:416 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#421 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:421 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#426 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:426 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#406 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:406 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#114 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:114 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#120 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:120 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#167 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:167 sig { params(node: ::Prism::MultiWriteNode).void } def on_multi_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#125 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:125 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#162 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:162 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#532 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:532 sig { void } def pop_namespace_stack; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#522 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:522 sig { params(block: T.proc.params(index: ::RubyIndexer::Index, base: ::RubyIndexer::Entry::Namespace).void).void } def register_included_hook(&block); end private - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#670 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:670 sig do params( node: T.any(::Prism::ConstantAndWriteNode, ::Prism::ConstantOperatorWriteNode, ::Prism::ConstantOrWriteNode, ::Prism::ConstantPathAndWriteNode, ::Prism::ConstantPathOperatorWriteNode, ::Prism::ConstantPathOrWriteNode, ::Prism::ConstantPathTargetNode, ::Prism::ConstantPathWriteNode, ::Prism::ConstantTargetNode, ::Prism::ConstantWriteNode), @@ -282,35 +282,35 @@ class RubyIndexer::DeclarationListener end def add_constant(node, name, value = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1027 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:1027 sig { params(short_name: ::String, entry: ::RubyIndexer::Entry::Namespace).void } def advance_namespace_stack(short_name, entry); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#721 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:721 sig { params(node: ::Prism::Node).returns(T.nilable(::String)) } def collect_comments(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#752 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:752 sig { params(line: ::Integer).returns(T::Boolean) } def comment_exists_at?(line); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#935 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:935 sig { returns(::RubyIndexer::VisibilityScope) } def current_visibility_scope; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#757 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:757 sig { params(name: ::String).returns(::String) } def fully_qualify_name(name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#631 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:631 sig { params(node: ::Prism::CallNode).void } def handle_alias_method(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#766 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:766 sig { params(node: ::Prism::CallNode, reader: T::Boolean, writer: T::Boolean).void } def handle_attribute(node, reader:, writer:); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#559 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:559 sig do params( node: T.any(::Prism::ClassVariableAndWriteNode, ::Prism::ClassVariableOperatorWriteNode, ::Prism::ClassVariableOrWriteNode, ::Prism::ClassVariableTargetNode, ::Prism::ClassVariableWriteNode), @@ -319,7 +319,7 @@ class RubyIndexer::DeclarationListener end def handle_class_variable(node, loc); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#546 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:546 sig do params( node: T.any(::Prism::GlobalVariableAndWriteNode, ::Prism::GlobalVariableOperatorWriteNode, ::Prism::GlobalVariableOrWriteNode, ::Prism::GlobalVariableTargetNode, ::Prism::GlobalVariableWriteNode), @@ -328,7 +328,7 @@ class RubyIndexer::DeclarationListener end def handle_global_variable(node, loc); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#584 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:584 sig do params( node: T.any(::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableTargetNode, ::Prism::InstanceVariableWriteNode), @@ -337,34 +337,34 @@ class RubyIndexer::DeclarationListener end def handle_instance_variable(node, loc); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#845 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:845 sig { params(node: ::Prism::CallNode).void } def handle_module_function(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#811 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:811 sig { params(node: ::Prism::CallNode, operation: ::Symbol).void } def handle_module_operation(node, operation); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#896 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:896 sig { params(node: ::Prism::CallNode).void } def handle_private_class_method(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#606 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:606 sig { params(node: ::Prism::CallNode).void } def handle_private_constant(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1045 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:1045 sig { params(node: ::Prism::CallNode, visibility: ::Symbol).void } def handle_visibility_change(node, visibility); end # Returns the last name in the stack not as we found it, but in terms of declared constants. For example, if the # last entry in the stack is a compact namespace like `Foo::Bar`, then the last name is `Bar` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1037 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:1037 sig { returns(T.nilable(::String)) } def last_name_in_stack; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#940 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:940 sig do params( parameters_node: T.nilable(::Prism::ParametersNode) @@ -372,28 +372,28 @@ class RubyIndexer::DeclarationListener end def list_params(parameters_node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1002 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:1002 sig { params(node: T.nilable(::Prism::Node)).returns(T.nilable(::Symbol)) } def parameter_name(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1068 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:1068 sig { params(node: ::Prism::CallNode).returns(T::Array[::String]) } def string_or_symbol_argument_values(node); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:7 RubyIndexer::DeclarationListener::BASIC_OBJECT_NESTING = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb:6 RubyIndexer::DeclarationListener::OBJECT_NESTING = T.let(T.unsafe(nil), Array) # @abstract # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:5 class RubyIndexer::Enhancement abstract! - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#32 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:32 sig { params(listener: ::RubyIndexer::DeclarationListener).void } def initialize(listener); end @@ -401,34 +401,34 @@ class RubyIndexer::Enhancement # register for an included callback, similar to what `ActiveSupport::Concern` does in order to auto-extend the # `ClassMethods` modules # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:41 sig { overridable.params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#45 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:45 sig { overridable.params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end class << self - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:20 sig { params(listener: ::RubyIndexer::DeclarationListener).returns(T::Array[::RubyIndexer::Enhancement]) } def all(listener); end # Only available for testing purposes # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#26 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:26 sig { void } def clear; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/enhancement.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/enhancement.rb:14 sig { params(child: T::Class[::RubyIndexer::Enhancement]).void } def inherited(child); end end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:5 class RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:21 sig do params( name: ::String, @@ -439,81 +439,81 @@ class RubyIndexer::Entry end def initialize(name, uri, location, comments); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#61 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:61 sig { returns(::String) } def comments; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#45 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:45 sig { returns(::String) } def file_name; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#56 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:56 sig { returns(T.nilable(::String)) } def file_path; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:13 sig { returns(::RubyIndexer::Location) } def location; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#7 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:7 sig { returns(::String) } def name; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:15 def name_location(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#40 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:40 sig { returns(T::Boolean) } def private?; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#35 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:35 sig { returns(T::Boolean) } def protected?; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:30 sig { returns(T::Boolean) } def public?; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:10 sig { returns(::URI::Generic) } def uri; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:18 sig { returns(::Symbol) } def visibility; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:18 def visibility=(_arg0); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#335 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:335 class RubyIndexer::Entry::Accessor < ::RubyIndexer::Entry::Member - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#338 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:338 sig { override.returns(T::Array[::RubyIndexer::Entry::Signature]) } def signatures; end end # A block method parameter, e.g. `def foo(&block)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#266 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:266 class RubyIndexer::Entry::BlockParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#278 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:278 sig { override.returns(::Symbol) } def decorated_name; end class << self - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#271 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:271 sig { returns(::RubyIndexer::Entry::BlockParameter) } def anonymous; end end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#267 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:267 RubyIndexer::Entry::BlockParameter::DEFAULT_NAME = T.let(T.unsafe(nil), Symbol) -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#163 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:163 class RubyIndexer::Entry::Class < ::RubyIndexer::Entry::Namespace - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#170 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:170 sig do params( nesting: T::Array[::String], @@ -526,23 +526,23 @@ class RubyIndexer::Entry::Class < ::RubyIndexer::Entry::Namespace end def initialize(nesting, uri, location, name_location, comments, parent_class); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#177 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:177 sig { override.returns(::Integer) } def ancestor_hash; end # The unresolved name of the parent class. This may return `nil`, which indicates the lack of an explicit parent # and therefore ::Object is the correct parent class # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#167 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:167 sig { returns(T.nilable(::String)) } def parent_class; end end # Represents a class variable e.g.: @@a = 1 # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#413 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:413 class RubyIndexer::Entry::ClassVariable < ::RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#418 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:418 sig do params( name: ::String, @@ -554,49 +554,49 @@ class RubyIndexer::Entry::ClassVariable < ::RubyIndexer::Entry end def initialize(name, uri, location, comments, owner); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#415 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:415 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def owner; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#191 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:191 class RubyIndexer::Entry::Constant < ::RubyIndexer::Entry; end # Alias represents a resolved alias, which points to an existing constant target # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#391 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:391 class RubyIndexer::Entry::ConstantAlias < ::RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#396 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:396 sig { params(target: ::String, unresolved_alias: ::RubyIndexer::Entry::UnresolvedConstantAlias).void } def initialize(target, unresolved_alias); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#393 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:393 sig { returns(::String) } def target; end end # A forwarding method parameter, e.g. `def foo(...)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#284 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:284 class RubyIndexer::Entry::ForwardingParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#286 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:286 sig { void } def initialize; end end # Represents a global variable e.g.: $DEBUG # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#410 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:410 class RubyIndexer::Entry::GlobalVariable < ::RubyIndexer::Entry; end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#115 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:115 class RubyIndexer::Entry::Include < ::RubyIndexer::Entry::ModuleOperation; end # Represents an instance variable e.g.: @a = 1 # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#425 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:425 class RubyIndexer::Entry::InstanceVariable < ::RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#430 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:430 sig do params( name: ::String, @@ -608,39 +608,39 @@ class RubyIndexer::Entry::InstanceVariable < ::RubyIndexer::Entry end def initialize(name, uri, location, comments, owner); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#427 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:427 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def owner; end end # An required keyword method parameter, e.g. `def foo(a:)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#226 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:226 class RubyIndexer::Entry::KeywordParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#229 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:229 sig { override.returns(::Symbol) } def decorated_name; end end # A keyword rest method parameter, e.g. `def foo(**a)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#255 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:255 class RubyIndexer::Entry::KeywordRestParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#260 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:260 sig { override.returns(::Symbol) } def decorated_name; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#256 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:256 RubyIndexer::Entry::KeywordRestParameter::DEFAULT_NAME = T.let(T.unsafe(nil), Symbol) # @abstract # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#292 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:292 class RubyIndexer::Entry::Member < ::RubyIndexer::Entry abstract! - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#301 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:301 sig do params( name: ::String, @@ -653,29 +653,29 @@ class RubyIndexer::Entry::Member < ::RubyIndexer::Entry end def initialize(name, uri, location, comments, visibility, owner); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#314 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:314 sig { returns(::String) } def decorated_parameters; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#322 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:322 sig { returns(::String) } def formatted_signatures; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#298 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:298 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def owner; end # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#309 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:309 sig { abstract.returns(T::Array[::RubyIndexer::Entry::Signature]) } def signatures; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#347 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:347 class RubyIndexer::Entry::Method < ::RubyIndexer::Entry::Member - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#357 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:357 sig do params( name: ::String, @@ -692,20 +692,20 @@ class RubyIndexer::Entry::Method < ::RubyIndexer::Entry::Member # Returns the location of the method name, excluding parameters or the body # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#354 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:354 sig { returns(::RubyIndexer::Location) } def name_location; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#350 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:350 sig { override.returns(T::Array[::RubyIndexer::Entry::Signature]) } def signatures; end end # A method alias is a resolved alias entry that points to the exact method target it refers to # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#457 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:457 class RubyIndexer::Entry::MethodAlias < ::RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#465 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:465 sig do params( target: T.any(::RubyIndexer::Entry::Member, ::RubyIndexer::Entry::MethodAlias), @@ -714,52 +714,52 @@ class RubyIndexer::Entry::MethodAlias < ::RubyIndexer::Entry end def initialize(target, unresolved_alias); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#482 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:482 sig { returns(::String) } def decorated_parameters; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#487 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:487 sig { returns(::String) } def formatted_signatures; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#462 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:462 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def owner; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#492 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:492 sig { returns(T::Array[::RubyIndexer::Entry::Signature]) } def signatures; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#459 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:459 sig { returns(T.any(::RubyIndexer::Entry::Member, ::RubyIndexer::Entry::MethodAlias)) } def target; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#160 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:160 class RubyIndexer::Entry::Module < ::RubyIndexer::Entry::Namespace; end # @abstract # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#101 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:101 class RubyIndexer::Entry::ModuleOperation abstract! - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#110 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:110 sig { params(module_name: ::String).void } def initialize(module_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#107 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:107 sig { returns(::String) } def module_name; end end # @abstract # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#118 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:118 class RubyIndexer::Entry::Namespace < ::RubyIndexer::Entry abstract! - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#131 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:131 sig do params( nesting: T::Array[::String], @@ -771,11 +771,11 @@ class RubyIndexer::Entry::Namespace < ::RubyIndexer::Entry end def initialize(nesting, uri, location, name_location, comments); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#155 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:155 sig { returns(::Integer) } def ancestor_hash; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:142 sig { returns(T::Array[::String]) } def mixin_operation_module_names; end @@ -783,99 +783,99 @@ class RubyIndexer::Entry::Namespace < ::RubyIndexer::Entry # code. Maintaining the order is essential to linearize ancestors the right way when a module is both included # and prepended # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#150 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:150 sig { returns(T::Array[::RubyIndexer::Entry::ModuleOperation]) } def mixin_operations; end # Returns the location of the constant name, excluding the parent class or the body # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#128 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:128 sig { returns(::RubyIndexer::Location) } def name_location; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#124 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:124 sig { returns(T::Array[::String]) } def nesting; end end # An optional keyword method parameter, e.g. `def foo(a: 123)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#235 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:235 class RubyIndexer::Entry::OptionalKeywordParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#238 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:238 sig { override.returns(::Symbol) } def decorated_name; end end # An optional method parameter, e.g. `def foo(a = 123)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#217 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:217 class RubyIndexer::Entry::OptionalParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#220 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:220 sig { override.returns(::Symbol) } def decorated_name; end end # @abstract # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#194 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:194 class RubyIndexer::Entry::Parameter abstract! - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#207 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:207 sig { params(name: ::Symbol).void } def initialize(name:); end # Name includes just the name of the parameter, excluding symbols like splats # Decorated name is the parameter name including the splat or block prefix, e.g.: `*foo`, `**foo` or `&block` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#204 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:204 def decorated_name(*args, **_arg1, &blk); end # Name includes just the name of the parameter, excluding symbols like splats # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#201 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:201 sig { returns(::Symbol) } def name; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#116 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:116 class RubyIndexer::Entry::Prepend < ::RubyIndexer::Entry::ModuleOperation; end # A required method parameter, e.g. `def foo(a)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#213 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:213 class RubyIndexer::Entry::RequiredParameter < ::RubyIndexer::Entry::Parameter; end # A rest method parameter, e.g. `def foo(*a)` # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#244 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:244 class RubyIndexer::Entry::RestParameter < ::RubyIndexer::Entry::Parameter - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#249 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:249 sig { override.returns(::Symbol) } def decorated_name; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#245 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:245 RubyIndexer::Entry::RestParameter::DEFAULT_NAME = T.let(T.unsafe(nil), Symbol) # Ruby doesn't support method overloading, so a method will have only one signature. # However RBS can represent the concept of method overloading, with different return types based on the arguments # passed, so we need to store all the signatures. # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#500 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:500 class RubyIndexer::Entry::Signature - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#505 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:505 sig { params(parameters: T::Array[::RubyIndexer::Entry::Parameter]).void } def initialize(parameters); end # Returns a string with the decorated names of the parameters of this member. E.g.: `(a, b = 1, c: 2)` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#511 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:511 sig { returns(::String) } def format; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#596 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:596 sig { params(args: T.nilable(T::Array[::Prism::Node]), names: T::Array[::Symbol]).returns(T::Boolean) } def keyword_arguments_match?(args, names); end @@ -895,15 +895,15 @@ class RubyIndexer::Entry::Signature # foo(1, 2) # ``` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#531 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:531 sig { params(arguments: T::Array[::Prism::Node]).returns(T::Boolean) } def matches?(arguments); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#502 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:502 sig { returns(T::Array[::RubyIndexer::Entry::Parameter]) } def parameters; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#583 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:583 sig do params( positional_args: T::Array[::Prism::Node], @@ -916,9 +916,9 @@ class RubyIndexer::Entry::Signature def positional_arguments_match?(positional_args, forwarding_arguments, keyword_args, min_pos, max_pos); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#182 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:182 class RubyIndexer::Entry::SingletonClass < ::RubyIndexer::Entry::Class - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#184 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:184 sig do params( location: ::RubyIndexer::Location, @@ -940,9 +940,9 @@ end # target in [rdoc-ref:Index#resolve]. If the right hand side contains a constant that doesn't exist, then it's not # possible to resolve the alias and it will remain an UnresolvedAlias until the right hand side constant exists # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#374 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:374 class RubyIndexer::Entry::UnresolvedConstantAlias < ::RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#382 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:382 sig do params( target: ::String, @@ -955,11 +955,11 @@ class RubyIndexer::Entry::UnresolvedConstantAlias < ::RubyIndexer::Entry end def initialize(target, nesting, name, uri, location, comments); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#379 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:379 sig { returns(T::Array[::String]) } def nesting; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#376 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:376 sig { returns(::String) } def target; end end @@ -968,9 +968,9 @@ end # example, if we have `alias a b`, we create an unresolved alias for `a` because we aren't sure immediate what `b` # is referring to # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#439 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:439 class RubyIndexer::Entry::UnresolvedMethodAlias < ::RubyIndexer::Entry - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#447 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:447 sig do params( new_name: ::String, @@ -983,45 +983,45 @@ class RubyIndexer::Entry::UnresolvedMethodAlias < ::RubyIndexer::Entry end def initialize(new_name, old_name, owner, uri, location, comments); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#441 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:441 sig { returns(::String) } def new_name; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#441 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:441 def old_name; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/entry.rb#444 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/entry.rb:444 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def owner; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:5 class RubyIndexer::Index - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#52 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:52 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#137 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:137 sig { params(fully_qualified_name: ::String).returns(T.nilable(T::Array[::RubyIndexer::Entry])) } def [](fully_qualified_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#122 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:122 sig { params(entry: ::RubyIndexer::Entry, skip_prefix_tree: T::Boolean).void } def add(entry, skip_prefix_tree: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#634 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:634 sig { params(name: ::String, owner_name: ::String).returns(T::Array[::RubyIndexer::Entry::ClassVariable]) } def class_variable_completion_candidates(name, owner_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#683 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:683 sig { void } def clear_ancestors; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:14 sig { returns(::RubyIndexer::Configuration) } def configuration; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#270 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:270 sig do params( name: ::String, @@ -1030,15 +1030,15 @@ class RubyIndexer::Index end def constant_completion_candidates(name, nesting); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#92 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:92 sig { params(uri: ::URI::Generic, skip_require_paths_tree: T::Boolean).void } def delete(uri, skip_require_paths_tree: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#688 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:688 sig { returns(T::Boolean) } def empty?; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#731 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:731 sig do type_parameters(:T) .params( @@ -1048,14 +1048,14 @@ class RubyIndexer::Index end def entries_for(uri, type = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#708 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:708 sig { params(name: ::String).returns(::RubyIndexer::Entry::SingletonClass) } def existing_or_new_singleton_class(name); end # Searches for a constant based on an unqualified name and returns the first possible match regardless of whether # there are more possible matching entries # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#149 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:149 sig do params( name: ::String @@ -1074,13 +1074,13 @@ class RubyIndexer::Index # `Something::Else`, then we first discover `Something::Else::Baz`. But `Something::Else::Baz` might contain other # aliases, so we have to invoke `follow_aliased_namespace` again to check until we only return a real name # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#424 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:424 sig { params(name: ::String, seen_names: T::Array[::String]).returns(::String) } def follow_aliased_namespace(name, seen_names = T.unsafe(nil)); end # Fuzzy searches index entries based on Jaro-Winkler similarity. If no query is provided, all entries are returned # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#199 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:199 sig do params( query: T.nilable(::String), @@ -1094,7 +1094,7 @@ class RubyIndexer::Index # consumer of this API has to handle deleting and inserting/updating entries in the index instead of passing the # document's source (used to handle unsaved changes to files) # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#650 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:650 sig do params( uri: ::URI::Generic, @@ -1108,7 +1108,7 @@ class RubyIndexer::Index # indexing progress. That block is invoked with the current progress percentage and should return `true` to continue # indexing or `false` to stop indexing. # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#357 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:357 sig do params( uris: T::Array[::URI::Generic], @@ -1119,26 +1119,26 @@ class RubyIndexer::Index # Indexes a File URI by reading the contents from disk # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#405 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:405 sig { params(uri: ::URI::Generic, collect_comments: T::Boolean).void } def index_file(uri, collect_comments: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#383 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:383 sig { params(uri: ::URI::Generic, source: ::String, collect_comments: T::Boolean).void } def index_single(uri, source, collect_comments: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#698 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:698 sig { params(name: ::String).returns(T::Boolean) } def indexed?(name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:17 sig { returns(T::Boolean) } def initial_indexing_completed; end # Returns a list of possible candidates for completion of instance variables for a given owner name. The name must # include the `@` prefix # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#604 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:604 sig do params( name: ::String, @@ -1147,7 +1147,7 @@ class RubyIndexer::Index end def instance_variable_completion_candidates(name, owner_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#703 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:703 sig { returns(::Integer) } def length; end @@ -1162,11 +1162,11 @@ class RubyIndexer::Index # # @raise [NonExistingNamespaceError] # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#501 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:501 sig { params(fully_qualified_name: ::String).returns(T::Array[::String]) } def linearized_ancestors_of(fully_qualified_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#227 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:227 sig do params( name: T.nilable(::String), @@ -1175,7 +1175,7 @@ class RubyIndexer::Index end def method_completion_candidates(name, receiver_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#693 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:693 sig { returns(T::Array[::String]) } def names; end @@ -1193,7 +1193,7 @@ class RubyIndexer::Index # ] # ``` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#179 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:179 sig do params( query: ::String, @@ -1204,7 +1204,7 @@ class RubyIndexer::Index # Register an included `hook` that will be executed when `module_name` is included into any namespace # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#87 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:87 sig do params( module_name: ::String, @@ -1221,7 +1221,7 @@ class RubyIndexer::Index # seen_names: this parameter should not be used by consumers of the api. It is used to avoid infinite recursion when # resolving circular references # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#321 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:321 sig do params( name: ::String, @@ -1231,7 +1231,7 @@ class RubyIndexer::Index end def resolve(name, nesting, seen_names = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#591 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:591 sig do params( variable_name: ::String, @@ -1243,7 +1243,7 @@ class RubyIndexer::Index # Resolves an instance variable name for a given owner name. This method will linearize the ancestors of the owner # and find inherited instance variables as well # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#580 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:580 sig do params( variable_name: ::String, @@ -1256,7 +1256,7 @@ class RubyIndexer::Index # as it is used only internally to prevent infinite loops when resolving circular aliases # Returns `nil` if the method does not exist on that receiver # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#463 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:463 sig do params( method_name: ::String, @@ -1267,7 +1267,7 @@ class RubyIndexer::Index end def resolve_method(method_name, receiver_name, seen_names = T.unsafe(nil), inherited_only: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:142 sig { params(query: ::String).returns(T::Array[::URI::Generic]) } def search_require_paths(query); end @@ -1278,13 +1278,13 @@ class RubyIndexer::Index # with `A::B::A::B::Foo`. This method will remove any redundant parts from the final name based on the reference and # the nesting # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#1016 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:1016 sig { params(name: ::String, nesting: T::Array[::String]).returns(::String) } def build_non_redundant_full_name(name, nesting); end # Tries to return direct entry from index then non seen canonicalized alias or nil # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#1038 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:1038 sig do params( full_name: ::String, @@ -1293,7 +1293,7 @@ class RubyIndexer::Index end def direct_or_aliased_constant(full_name, seen_names); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#974 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:974 sig do params( name: T.nilable(::String), @@ -1305,7 +1305,7 @@ class RubyIndexer::Index # Linearize mixins for an array of namespace entries. This method will mutate the `ancestors` array with the # linearized ancestors of the mixins # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#787 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:787 sig do params( ancestors: T::Array[::String], @@ -1318,7 +1318,7 @@ class RubyIndexer::Index # Linearize the superclass of a given namespace (including modules with the implicit `Module` superclass). This # method will mutate the `ancestors` array with the linearized ancestors of the superclass # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#829 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:829 sig do params( ancestors: T::Array[::String], @@ -1334,11 +1334,11 @@ class RubyIndexer::Index # Always returns the linearized ancestors for the attached class, regardless of whether `name` refers to a singleton # or attached namespace # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#743 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:743 sig { params(name: ::String).returns(T::Array[::String]) } def linearized_attached_ancestors(name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#952 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:952 sig do params( name: ::String, @@ -1348,7 +1348,7 @@ class RubyIndexer::Index end def lookup_ancestor_chain(name, nesting, seen_names); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#932 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:932 sig do params( name: ::String, @@ -1361,7 +1361,7 @@ class RubyIndexer::Index # Attempts to resolve an UnresolvedAlias into a resolved Alias. If the unresolved alias is pointing to a constant # that doesn't exist, then we return the same UnresolvedAlias # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#905 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:905 sig do params( entry: ::RubyIndexer::Entry::UnresolvedConstantAlias, @@ -1373,7 +1373,7 @@ class RubyIndexer::Index # Attempt to resolve a given unresolved method alias. This method returns the resolved alias if we managed to # identify the target or the same unresolved alias entry if we couldn't # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#1056 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:1056 sig do params( entry: ::RubyIndexer::Entry::UnresolvedMethodAlias, @@ -1385,7 +1385,7 @@ class RubyIndexer::Index # Runs the registered included hooks # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#757 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:757 sig { params(fully_qualified_name: ::String, nesting: T::Array[::String]).void } def run_included_hooks(fully_qualified_name, nesting); end @@ -1394,14 +1394,14 @@ class RubyIndexer::Index # references that may be included anywhere in the name or nesting where that # constant was found # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:24 sig { params(stack: T::Array[::String], name: T.nilable(::String)).returns(T::Array[::String]) } def actual_nesting(stack, name); end # Returns the unresolved name for a constant reference including all parts of a constant path, or `nil` if the # constant contains dynamic or incomplete parts # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#40 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:40 sig { params(node: ::Prism::Node).returns(T.nilable(::String)) } def constant_name(node); end end @@ -1409,43 +1409,43 @@ end # The minimum Jaro-Winkler similarity score for an entry to be considered a match for a given fuzzy search query # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:11 RubyIndexer::Index::ENTRY_SIMILARITY_THRESHOLD = T.let(T.unsafe(nil), Float) -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:8 class RubyIndexer::Index::IndexNotEmptyError < ::StandardError; end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:7 class RubyIndexer::Index::NonExistingNamespaceError < ::StandardError; end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/index.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/index.rb:6 class RubyIndexer::Index::UnresolvableAliasError < ::StandardError; end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:5 class RubyIndexer::Location - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:22 sig { params(start_line: ::Integer, end_line: ::Integer, start_column: ::Integer, end_column: ::Integer).void } def initialize(start_line, end_line, start_column, end_column); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:30 sig { params(other: T.any(::Prism::Location, ::RubyIndexer::Location)).returns(T::Boolean) } def ==(other); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:19 def end_column; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:19 def end_line; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:19 def start_column; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:19 sig { returns(::Integer) } def start_line; end class << self - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/location.rb#8 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/location.rb:8 sig do params( prism_location: ::Prism::Location, @@ -1487,26 +1487,26 @@ end # # See https://en.wikipedia.org/wiki/Trie for more information # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#35 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:35 class RubyIndexer::PrefixTree extend T::Generic Value = type_member - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:41 sig { void } def initialize; end # Deletes the entry identified by `key` from the tree. Notice that a partial match will still delete all entries # that match it. For example, if the tree contains `foo` and we ask to delete `fo`, then `foo` will be deleted # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#79 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:79 sig { params(key: ::String).void } def delete(key); end # Inserts a `value` using the given `key` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#62 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:62 sig { params(key: ::String, value: Value).void } def insert(key, value); end @@ -1515,7 +1515,7 @@ class RubyIndexer::PrefixTree # Notice that if the `Value` is an array, this method will return an array of arrays, where each entry is the array # of values for a given match # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#53 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:53 sig { params(prefix: ::String).returns(T::Array[Value]) } def search(prefix); end @@ -1523,69 +1523,69 @@ class RubyIndexer::PrefixTree # Find a node that matches the given `key` # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#99 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:99 sig { params(key: ::String).returns(T.nilable(RubyIndexer::PrefixTree::Node[Value])) } def find_node(key); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#112 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:112 class RubyIndexer::PrefixTree::Node extend T::Generic Value = type_member - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#133 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:133 sig { params(key: ::String, value: Value, parent: T.nilable(RubyIndexer::PrefixTree::Node[Value])).void } def initialize(key, value, parent = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#118 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:118 sig { returns(T::Hash[::String, RubyIndexer::PrefixTree::Node[Value]]) } def children; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:142 sig { returns(T::Array[Value]) } def collect; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#121 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:121 sig { returns(::String) } def key; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#127 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:127 sig { returns(T::Boolean) } def leaf; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#127 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:127 def leaf=(_arg0); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#130 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:130 sig { returns(T.nilable(RubyIndexer::PrefixTree::Node[Value])) } def parent; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#124 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:124 sig { returns(Value) } def value; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb#124 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/prefix_tree.rb:124 def value=(_arg0); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:5 class RubyIndexer::RBSIndexer - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:9 sig { params(index: ::RubyIndexer::Index).void } def initialize(index); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:14 sig { void } def index_ruby_core; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:24 sig { params(pathname: ::Pathname, declarations: T::Array[::RBS::AST::Declarations::Base]).void } def process_signature(pathname, declarations); end private - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#88 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:88 sig do params( declaration: T.any(::RBS::AST::Declarations::Class, ::RBS::AST::Declarations::Module), @@ -1594,7 +1594,7 @@ class RubyIndexer::RBSIndexer end def add_declaration_mixins_to_entry(declaration, entry); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#286 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:286 sig do params( declaration: T.any(::RBS::AST::Declarations::Class, ::RBS::AST::Declarations::Constant, ::RBS::AST::Declarations::Global, ::RBS::AST::Declarations::Module, ::RBS::AST::Members::Alias, ::RBS::AST::Members::MethodDefinition) @@ -1602,7 +1602,7 @@ class RubyIndexer::RBSIndexer end def comments_to_string(declaration); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#48 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:48 sig do params( declaration: T.any(::RBS::AST::Declarations::Class, ::RBS::AST::Declarations::Module), @@ -1626,7 +1626,7 @@ class RubyIndexer::RBSIndexer # # And we need to handle their nesting differently. # - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#243 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:243 sig do params( declaration: ::RBS::AST::Declarations::Constant, @@ -1636,31 +1636,31 @@ class RubyIndexer::RBSIndexer end def handle_constant(declaration, nesting, uri); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#254 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:254 sig { params(declaration: ::RBS::AST::Declarations::Global, pathname: ::Pathname).void } def handle_global_variable(declaration, pathname); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#104 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:104 sig { params(member: ::RBS::AST::Members::MethodDefinition, owner: ::RubyIndexer::Entry::Namespace).void } def handle_method(member, owner); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#269 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:269 sig { params(member: ::RBS::AST::Members::Alias, owner_entry: ::RubyIndexer::Entry::Namespace).void } def handle_signature_alias(member, owner_entry); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#154 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:154 sig { params(function: ::RBS::Types::Function).returns(T::Array[::RubyIndexer::Entry::Parameter]) } def parse_arguments(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#33 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:33 sig { params(declaration: ::RBS::AST::Declarations::Base, pathname: ::Pathname).void } def process_declaration(declaration, pathname); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#213 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:213 sig { params(function: ::RBS::Types::Function).returns(T::Array[::RubyIndexer::Entry::OptionalKeywordParameter]) } def process_optional_keywords(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#133 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:133 sig do params( overload: ::RBS::AST::Members::MethodDefinition::Overload @@ -1668,41 +1668,41 @@ class RubyIndexer::RBSIndexer end def process_overload(overload); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#166 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:166 sig { params(function: ::RBS::Types::Function).returns(T::Array[::RubyIndexer::Entry::RequiredParameter]) } def process_required_and_optional_positionals(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#206 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:206 sig { params(function: ::RBS::Types::Function).returns(T::Array[::RubyIndexer::Entry::KeywordParameter]) } def process_required_keywords(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#220 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:220 sig { params(function: ::RBS::Types::Function).returns(::RubyIndexer::Entry::KeywordRestParameter) } def process_rest_keywords(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#197 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:197 sig { params(function: ::RBS::Types::Function).returns(::RubyIndexer::Entry::RestParameter) } def process_rest_positionals(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#190 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:190 sig { params(function: ::RBS::Types::Function).returns(T::Array[::RubyIndexer::Entry::OptionalParameter]) } def process_trailing_positionals(function); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#125 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:125 sig { params(member: ::RBS::AST::Members::MethodDefinition).returns(T::Array[::RubyIndexer::Entry::Signature]) } def signatures(member); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:78 sig { params(rbs_location: ::RBS::Location).returns(::RubyIndexer::Location) } def to_ruby_indexer_location(rbs_location); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb:6 RubyIndexer::RBSIndexer::HAS_UNTYPED_FUNCTION = T.let(T.unsafe(nil), TrueClass) -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:5 class RubyIndexer::ReferenceFinder - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#67 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:67 sig do params( target: ::RubyIndexer::ReferenceFinder::Target, @@ -1714,184 +1714,184 @@ class RubyIndexer::ReferenceFinder end def initialize(target, index, dispatcher, uri, include_declarations: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#286 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:286 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#115 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:115 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#120 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:120 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#228 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:228 sig { params(node: ::Prism::ConstantAndWriteNode).void } def on_constant_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#233 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:233 sig { params(node: ::Prism::ConstantOperatorWriteNode).void } def on_constant_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#223 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:223 sig { params(node: ::Prism::ConstantOrWriteNode).void } def on_constant_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#207 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:207 sig { params(node: ::Prism::ConstantPathAndWriteNode).void } def on_constant_path_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#148 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:148 sig { params(node: ::Prism::ConstantPathNode).void } def on_constant_path_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#196 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:196 sig { params(node: ::Prism::ConstantPathOperatorWriteNode).void } def on_constant_path_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#185 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:185 sig { params(node: ::Prism::ConstantPathOrWriteNode).void } def on_constant_path_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#174 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:174 sig { params(node: ::Prism::ConstantPathWriteNode).void } def on_constant_path_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#156 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:156 sig { params(node: ::Prism::ConstantReadNode).void } def on_constant_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#218 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:218 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#238 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:238 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#249 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:249 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#266 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:266 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#271 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:271 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#276 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:276 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#256 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:256 sig { params(node: ::Prism::InstanceVariableReadNode).void } def on_instance_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#281 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:281 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#261 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:261 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#125 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:125 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#130 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:130 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#164 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:164 sig { params(node: ::Prism::MultiWriteNode).void } def on_multi_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#135 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:135 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#143 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:143 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#108 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:108 sig { returns(T::Array[::RubyIndexer::ReferenceFinder::Reference]) } def references; end private - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#299 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:299 sig { params(name: ::String, location: ::Prism::Location).void } def collect_constant_references(name, location); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#328 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:328 sig { params(name: ::String, location: ::Prism::Location, declaration: T::Boolean).void } def collect_instance_variable_references(name, location, declaration); end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:11 class RubyIndexer::ReferenceFinder::ConstTarget < ::RubyIndexer::ReferenceFinder::Target - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:16 sig { params(fully_qualified_name: ::String).void } def initialize(fully_qualified_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:13 sig { returns(::String) } def fully_qualified_name; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#33 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:33 class RubyIndexer::ReferenceFinder::InstanceVariableTarget < ::RubyIndexer::ReferenceFinder::Target - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:41 sig { params(name: ::String, owner_ancestors: T::Array[::String]).void } def initialize(name, owner_ancestors); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#35 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:35 sig { returns(::String) } def name; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#38 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:38 sig { returns(T::Array[::String]) } def owner_ancestors; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#22 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:22 class RubyIndexer::ReferenceFinder::MethodTarget < ::RubyIndexer::ReferenceFinder::Target - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:27 sig { params(method_name: ::String).void } def initialize(method_name); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:24 sig { returns(::String) } def method_name; end end -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#48 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:48 class RubyIndexer::ReferenceFinder::Reference - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#59 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:59 sig { params(name: ::String, location: ::Prism::Location, declaration: T::Boolean).void } def initialize(name, location, declaration:); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#56 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:56 sig { returns(T::Boolean) } def declaration; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#53 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:53 sig { returns(::Prism::Location) } def location; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#50 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:50 sig { returns(::String) } def name; end end # @abstract # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb:6 class RubyIndexer::ReferenceFinder::Target abstract! end @@ -1899,35 +1899,35 @@ end # Represents the visibility scope in a Ruby namespace. This keeps track of whether methods are in a public, private or # protected section, and whether they are module functions. # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:7 class RubyIndexer::VisibilityScope - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:27 sig { params(visibility: ::Symbol, module_func: T::Boolean).void } def initialize(visibility: T.unsafe(nil), module_func: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:24 sig { returns(T::Boolean) } def module_func; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:21 sig { returns(::Symbol) } def visibility; end class << self - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:10 sig { returns(T.attached_class) } def module_function_scope; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/visibility_scope.rb:15 sig { returns(T.attached_class) } def public_scope; end end end -# source://ruby-lsp//lib/ruby-lsp.rb#4 +# pkg:gem/ruby-lsp#lib/ruby-lsp.rb:4 module RubyLsp; end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#34 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:34 class RubyLsp::AbstractMethodInvokedError < ::StandardError; end # To register an add-on, inherit from this class and implement both `name` and `activate` @@ -1950,11 +1950,11 @@ class RubyLsp::AbstractMethodInvokedError < ::StandardError; end # # @abstract # -# source://ruby-lsp//lib/ruby_lsp/addon.rb#22 +# pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:22 class RubyLsp::Addon abstract! - # source://ruby-lsp//lib/ruby_lsp/addon.rb#171 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:171 sig { void } def initialize; end @@ -1964,17 +1964,17 @@ class RubyLsp::Addon # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#203 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:203 sig { abstract.params(global_state: ::RubyLsp::GlobalState, outgoing_queue: ::Thread::Queue).void } def activate(global_state, outgoing_queue); end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#176 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:176 sig { params(error: ::StandardError).returns(T.self_type) } def add_error(error); end # Creates a new CodeLens listener. This method is invoked on every CodeLens request # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#241 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:241 sig do overridable .params( @@ -1987,7 +1987,7 @@ class RubyLsp::Addon # Creates a new Completion listener. This method is invoked on every Completion request # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#265 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:265 sig do overridable .params( @@ -2001,7 +2001,7 @@ class RubyLsp::Addon # Creates a new Definition listener. This method is invoked on every Definition request # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#260 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:260 sig do overridable .params( @@ -2015,7 +2015,7 @@ class RubyLsp::Addon # Creates a new Discover Tests listener. This method is invoked on every DiscoverTests request # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#270 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:270 sig do overridable .params( @@ -2028,7 +2028,7 @@ class RubyLsp::Addon # Creates a new DocumentSymbol listener. This method is invoked on every DocumentSymbol request # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#251 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:251 sig do overridable .params( @@ -2040,7 +2040,7 @@ class RubyLsp::Addon # Creates a new Hover listener. This method is invoked on every Hover request # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#246 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:246 sig do overridable .params( @@ -2051,7 +2051,7 @@ class RubyLsp::Addon end def create_hover_listener(response_builder, node_context, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#255 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:255 sig do overridable .params( @@ -2067,19 +2067,19 @@ class RubyLsp::Addon # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#211 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:211 sig { abstract.void } def deactivate; end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#182 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:182 sig { returns(T::Boolean) } def error?; end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#195 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:195 sig { returns(::String) } def errors_details; end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#187 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:187 sig { returns(::String) } def formatted_errors; end @@ -2088,7 +2088,7 @@ class RubyLsp::Addon # the response # https://microsoft.github.io/language-server-protocol/specification#window_showMessageRequest # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#236 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:236 sig { overridable.params(title: ::String).void } def handle_window_show_message_response(title); end @@ -2097,14 +2097,14 @@ class RubyLsp::Addon # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#218 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:218 sig { abstract.returns(::String) } def name; end # Resolves the minimal set of commands required to execute the requested tests. Add-ons are responsible for only # handling items related to the framework they add support for and have discovered themselves # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#276 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:276 sig { overridable.params(items: T::Array[T::Hash[::Symbol, T.untyped]]).returns(T::Array[::String]) } def resolve_test_commands(items); end @@ -2114,20 +2114,20 @@ class RubyLsp::Addon # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#226 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:226 sig { abstract.returns(::String) } def version; end class << self - # source://ruby-lsp//lib/ruby_lsp/addon.rb#44 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:44 sig { returns(T::Array[T.class_of(RubyLsp::Addon)]) } def addon_classes; end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#38 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:38 sig { returns(T::Array[::RubyLsp::Addon]) } def addons; end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#38 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:38 def addons=(_arg0); end # Depend on a specific version of the Ruby LSP. This method should only be used if the add-on is distributed in a @@ -2144,15 +2144,15 @@ class RubyLsp::Addon # end # ``` # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#160 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:160 sig { params(version_constraints: ::String).void } def depend_on_ruby_lsp!(*version_constraints); end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:41 sig { returns(T::Array[::RubyLsp::Addon]) } def file_watcher_addons; end - # source://ruby-lsp//lib/ruby_lsp/addon.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:41 def file_watcher_addons=(_arg0); end # Get a reference to another add-on object by name and version. If an add-on exports an API that can be used by @@ -2164,19 +2164,19 @@ class RubyLsp::Addon # # @raise [AddonNotFoundError] # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#128 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:128 sig { params(addon_name: ::String, version_constraints: ::String).returns(::RubyLsp::Addon) } def get(addon_name, *version_constraints); end # Automatically track and instantiate add-on classes # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#48 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:48 sig { params(child_class: T.class_of(RubyLsp::Addon)).void } def inherited(child_class); end # Discovers and loads all add-ons. Returns a list of errors when trying to require add-ons # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#55 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:55 sig do params( global_state: ::RubyLsp::GlobalState, @@ -2188,97 +2188,97 @@ class RubyLsp::Addon # Unloads all add-ons. Only intended to be invoked once when shutting down the Ruby LSP server # - # source://ruby-lsp//lib/ruby_lsp/addon.rb#114 + # pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:114 sig { void } def unload_addons; end end end -# source://ruby-lsp//lib/ruby_lsp/addon.rb#32 +# pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:32 class RubyLsp::Addon::AddonNotFoundError < ::StandardError; end -# source://ruby-lsp//lib/ruby_lsp/addon.rb#34 +# pkg:gem/ruby-lsp#lib/ruby_lsp/addon.rb:34 class RubyLsp::Addon::IncompatibleApiError < ::StandardError; end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#36 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:36 RubyLsp::BUNDLE_COMPOSE_FAILED_CODE = T.let(T.unsafe(nil), Integer) # Used to indicate that a request shouldn't return a response # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:11 RubyLsp::BUNDLE_PATH = T.let(T.unsafe(nil), String) # @abstract # -# source://ruby-lsp//lib/ruby_lsp/base_server.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:5 class RubyLsp::BaseServer abstract! - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#11 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:11 sig { params(options: T.untyped).void } def initialize(**options); end # This method is only intended to be used in tests! Pops the latest response that would be sent to the client # - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#108 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:108 sig { returns(T.untyped) } def pop_response; end # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#120 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:120 sig { abstract.params(message: T::Hash[::Symbol, T.untyped]).void } def process_message(message); end # This method is only intended to be used in tests! Pushes a message to the incoming queue directly # - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#114 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:114 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def push_message(message); end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#130 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:130 sig { void } def run_shutdown; end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:41 sig { void } def start; end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#125 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:125 sig { returns(T.nilable(T::Boolean)) } def test_mode?; end private - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#151 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:151 sig { params(id: ::Integer, message: ::String, type: ::Integer).void } def fail_request_and_notify(id, message, type: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#166 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:166 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def handle_incoming_message(message); end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#157 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:157 sig { returns(::Thread) } def new_worker; end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#197 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:197 sig { params(id: ::Integer).void } def send_empty_response(id); end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#202 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:202 sig { params(message: ::String, type: ::Integer).void } def send_log_message(message, type: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#186 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:186 sig { params(message: T.any(::RubyLsp::Error, ::RubyLsp::Notification, ::RubyLsp::Request, ::RubyLsp::Result)).void } def send_message(message); end # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/base_server.rb#146 + # pkg:gem/ruby-lsp#lib/ruby_lsp/base_server.rb:146 sig { abstract.void } def shutdown; end end @@ -2286,41 +2286,41 @@ end # This class stores all client capabilities that the Ruby LSP and its add-ons depend on to ensure that we're # not enabling functionality unsupported by the editor connecting to the server # -# source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:7 class RubyLsp::ClientCapabilities - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:17 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#44 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:44 sig { params(capabilities: T::Hash[::Symbol, T.untyped]).void } def apply_client_capabilities(capabilities); end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:9 def supports_code_lens_refresh; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:9 def supports_diagnostic_refresh; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:9 def supports_progress; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#72 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:72 sig { returns(T::Boolean) } def supports_rename?; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:9 def supports_request_delegation; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:9 sig { returns(T::Boolean) } def supports_watching_files; end - # source://ruby-lsp//lib/ruby_lsp/client_capabilities.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/client_capabilities.rb:9 def window_show_message_supports_extra_properties; end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:7 RubyLsp::Constant = LanguageServer::Protocol::Constant # Request delegation for embedded languages is not yet standardized into the language server specification. Here we @@ -2328,18 +2328,18 @@ RubyLsp::Constant = LanguageServer::Protocol::Constant # language server for the host language. The support for delegation is custom built on the client side, so each editor # needs to implement their own until this becomes a part of the spec # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#28 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:28 class RubyLsp::DelegateRequestError < ::StandardError; end # A custom error code that clients can use to handle delegate requests. This is past the range of error codes listed # by the specification to avoid conflicting with other error types # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#31 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:31 RubyLsp::DelegateRequestError::CODE = T.let(T.unsafe(nil), Integer) # @abstract # -# source://ruby-lsp//lib/ruby_lsp/document.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:5 class RubyLsp::Document extend T::Generic @@ -2347,15 +2347,15 @@ class RubyLsp::Document ParseResultType = type_member - # source://ruby-lsp//lib/ruby_lsp/document.rb#43 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:43 sig { params(source: ::String, version: ::Integer, uri: ::URI::Generic, global_state: ::RubyLsp::GlobalState).void } def initialize(source:, version:, uri:, global_state:); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#63 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:63 sig { params(other: RubyLsp::Document[T.untyped]).returns(T::Boolean) } def ==(other); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#74 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:74 sig do type_parameters(:T) .params( @@ -2365,23 +2365,23 @@ class RubyLsp::Document end def cache_fetch(request_name, &block); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#89 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:89 sig { params(request_name: ::String).returns(T.untyped) } def cache_get(request_name); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#84 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:84 sig { type_parameters(:T).params(request_name: ::String, value: T.type_parameter(:T)).returns(T.type_parameter(:T)) } def cache_set(request_name, value); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#94 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:94 sig { params(request_name: ::String).void } def clear_cache(request_name); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:34 sig { returns(::Encoding) } def encoding; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#147 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:147 sig do params( start_pos: T::Hash[::Symbol, T.untyped], @@ -2393,11 +2393,11 @@ class RubyLsp::Document # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/document.rb#69 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:69 sig { abstract.returns(::Symbol) } def language_id; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#37 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:37 sig { returns(T.nilable(::RubyLsp::Document::Edit)) } def last_edit; end @@ -2406,89 +2406,89 @@ class RubyLsp::Document # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/document.rb#131 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:131 sig { abstract.returns(T::Boolean) } def parse!; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:22 sig { returns(ParseResultType) } def parse_result; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:142 sig { returns(T::Boolean) } def past_expensive_limit?; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#99 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:99 sig { params(edits: T::Array[T::Hash[::Symbol, T.untyped]], version: ::Integer).void } def push_edits(edits, version:); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#40 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:40 sig { returns(T.any(::LanguageServer::Protocol::Interface::SemanticTokens, ::Object)) } def semantic_tokens; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#40 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:40 def semantic_tokens=(_arg0); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#25 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:25 sig { returns(::String) } def source; end # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/document.rb#137 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:137 sig { abstract.returns(T::Boolean) } def syntax_error?; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#31 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:31 sig { returns(::URI::Generic) } def uri; end - # source://ruby-lsp//lib/ruby_lsp/document.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:28 sig { returns(::Integer) } def version; end private - # source://ruby-lsp//lib/ruby_lsp/document.rb#157 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:157 sig { returns(::RubyLsp::Document::Scanner) } def create_scanner; end end -# source://ruby-lsp//lib/ruby_lsp/document.rb#184 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:184 class RubyLsp::Document::Delete < ::RubyLsp::Document::Edit; end -# source://ruby-lsp//lib/ruby_lsp/document.rb#19 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:19 RubyLsp::Document::EMPTY_CACHE = T.let(T.unsafe(nil), Object) # @abstract # -# source://ruby-lsp//lib/ruby_lsp/document.rb#168 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:168 class RubyLsp::Document::Edit abstract! - # source://ruby-lsp//lib/ruby_lsp/document.rb#177 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:177 sig { params(range: T::Hash[::Symbol, T.untyped]).void } def initialize(range); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#174 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:174 sig { returns(T::Hash[::Symbol, T.untyped]) } def range; end end -# source://ruby-lsp//lib/ruby_lsp/document.rb#182 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:182 class RubyLsp::Document::Insert < ::RubyLsp::Document::Edit; end -# source://ruby-lsp//lib/ruby_lsp/document.rb#14 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:14 class RubyLsp::Document::InvalidLocationError < ::StandardError; end # This maximum number of characters for providing expensive features, like semantic highlighting and diagnostics. # This is the same number used by the TypeScript extension in VS Code # -# source://ruby-lsp//lib/ruby_lsp/document.rb#18 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:18 RubyLsp::Document::MAXIMUM_CHARACTERS_FOR_EXPENSIVE_FEATURES = T.let(T.unsafe(nil), Integer) -# source://ruby-lsp//lib/ruby_lsp/document.rb#183 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:183 class RubyLsp::Document::Replace < ::RubyLsp::Document::Edit; end # Parent class for all position scanners. Scanners are used to translate a position given by the editor into a @@ -2498,11 +2498,11 @@ class RubyLsp::Document::Replace < ::RubyLsp::Document::Edit; end # # @abstract # -# source://ruby-lsp//lib/ruby_lsp/document.rb#190 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:190 class RubyLsp::Document::Scanner abstract! - # source://ruby-lsp//lib/ruby_lsp/document.rb#200 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:200 sig { void } def initialize; end @@ -2512,96 +2512,96 @@ class RubyLsp::Document::Scanner # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/document.rb#209 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:209 sig { abstract.params(position: T::Hash[::Symbol, T.untyped]).returns(::Integer) } def find_char_position(position); end end -# source://ruby-lsp//lib/ruby_lsp/document.rb#195 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:195 RubyLsp::Document::Scanner::LINE_BREAK = T.let(T.unsafe(nil), Integer) # After character 0xFFFF, UTF-16 considers characters to have length 2 and we have to account for that # -# source://ruby-lsp//lib/ruby_lsp/document.rb#197 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:197 RubyLsp::Document::Scanner::SURROGATE_PAIR_START = T.let(T.unsafe(nil), Integer) # For the UTF-16 encoding, positions correspond to UTF-16 code units, which count characters beyond the surrogate # pair as length 2 # -# source://ruby-lsp//lib/ruby_lsp/document.rb#278 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:278 class RubyLsp::Document::Utf16Scanner < ::RubyLsp::Document::Scanner - # source://ruby-lsp//lib/ruby_lsp/document.rb#280 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:280 sig { params(source: ::String).void } def initialize(source); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#287 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:287 sig { override.params(position: T::Hash[::Symbol, T.untyped]).returns(::Integer) } def find_char_position(position); end end # For the UTF-32 encoding, positions correspond directly to codepoints # -# source://ruby-lsp//lib/ruby_lsp/document.rb#326 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:326 class RubyLsp::Document::Utf32Scanner < ::RubyLsp::Document::Scanner - # source://ruby-lsp//lib/ruby_lsp/document.rb#328 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:328 sig { params(source: ::String).void } def initialize(source); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#335 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:335 sig { override.params(position: T::Hash[::Symbol, T.untyped]).returns(::Integer) } def find_char_position(position); end end # For the UTF-8 encoding, positions correspond to bytes # -# source://ruby-lsp//lib/ruby_lsp/document.rb#215 +# pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:215 class RubyLsp::Document::Utf8Scanner < ::RubyLsp::Document::Scanner - # source://ruby-lsp//lib/ruby_lsp/document.rb#217 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:217 sig { params(source: ::String).void } def initialize(source); end - # source://ruby-lsp//lib/ruby_lsp/document.rb#225 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:225 sig { override.params(position: T::Hash[::Symbol, T.untyped]).returns(::Integer) } def find_char_position(position); end private - # source://ruby-lsp//lib/ruby_lsp/document.rb#263 + # pkg:gem/ruby-lsp#lib/ruby_lsp/document.rb:263 sig { params(byte: ::Integer).returns(::Integer) } def character_byte_length(byte); end end -# source://ruby-lsp//lib/ruby_lsp/erb_document.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:5 class RubyLsp::ERBDocument < ::RubyLsp::Document extend T::Generic ParseResultType = type_member { { fixed: Prism::ParseLexResult } } - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:17 sig { params(source: ::String, version: ::Integer, uri: ::URI::Generic, global_state: ::RubyLsp::GlobalState).void } def initialize(source:, version:, uri:, global_state:); end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#43 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:43 sig { returns(::Prism::ProgramNode) } def ast; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:14 sig { returns(T.any(::Prism::CodeUnitsCache, T.proc.params(arg0: ::Integer).returns(::Integer))) } def code_units_cache; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#11 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:11 sig { returns(::String) } def host_language_source; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#72 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:72 sig { params(char_position: ::Integer).returns(T.nilable(T::Boolean)) } def inside_host_language?(char_position); end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#55 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:55 sig { override.returns(::Symbol) } def language_id; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#60 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:60 sig do params( position: T::Hash[::Symbol, T.untyped], @@ -2610,225 +2610,225 @@ class RubyLsp::ERBDocument < ::RubyLsp::Document end def locate_node(position, node_types: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:28 sig { override.returns(T::Boolean) } def parse!; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#49 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:49 sig { override.returns(T::Boolean) } def syntax_error?; end end -# source://ruby-lsp//lib/ruby_lsp/erb_document.rb#77 +# pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:77 class RubyLsp::ERBDocument::ERBScanner - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#82 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:82 sig { params(source: ::String).void } def initialize(source); end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#79 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:79 def host_language; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#79 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:79 sig { returns(::String) } def ruby; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#91 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:91 sig { void } def scan; end private - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#175 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:175 sig { returns(::String) } def next_char; end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#164 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:164 sig { params(char: ::String).void } def push_char(char); end - # source://ruby-lsp//lib/ruby_lsp/erb_document.rb#101 + # pkg:gem/ruby-lsp#lib/ruby_lsp/erb_document.rb:101 sig { void } def scan_char; end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#203 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:203 class RubyLsp::Error - # source://ruby-lsp//lib/ruby_lsp/utils.rb#211 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:211 sig { params(id: ::Integer, code: ::Integer, message: ::String, data: T.nilable(T::Hash[::Symbol, T.untyped])).void } def initialize(id:, code:, message:, data: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#208 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:208 sig { returns(::Integer) } def code; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#205 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:205 sig { returns(::String) } def message; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#219 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:219 sig { returns(T::Hash[::Symbol, T.untyped]) } def to_hash; end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#16 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:16 RubyLsp::GEMFILE_NAME = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/utils.rb#21 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:21 RubyLsp::GUESSED_TYPES_URL = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/global_state.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:5 class RubyLsp::GlobalState - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#37 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:37 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#88 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:88 sig { returns(T.nilable(::RubyLsp::Requests::Support::Formatter)) } def active_formatter; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#93 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:93 sig { returns(T::Array[::RubyLsp::Requests::Support::Formatter]) } def active_linters; end # Applies the options provided by the editor and returns an array of notifications to send back to the client # - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#99 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:99 sig { params(options: T::Hash[::Symbol, T.untyped]).returns(T::Array[::RubyLsp::Notification]) } def apply_options(options); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:28 sig { returns(::RubyLsp::ClientCapabilities) } def client_capabilities; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#203 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:203 sig { params(flag: ::Symbol).returns(T.nilable(T::Boolean)) } def enabled_feature?(flag); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:19 sig { returns(::Encoding) } def encoding; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#213 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:213 sig { returns(::String) } def encoding_name; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#198 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:198 sig { params(feature_name: ::Symbol).returns(T.nilable(::RubyLsp::RequestConfig)) } def feature_configuration(feature_name); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:10 sig { returns(::String) } def formatter; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:10 def formatter=(_arg0); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:13 sig { returns(T::Boolean) } def has_type_checker; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:16 sig { returns(::RubyIndexer::Index) } def index; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#83 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:83 sig { params(identifier: ::String, instance: ::RubyLsp::Requests::Support::Formatter).void } def register_formatter(identifier, instance); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:78 sig { params(addon_name: ::String).returns(T.nilable(T::Hash[::Symbol, T.untyped])) } def settings_for_addon(addon_name); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#225 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:225 sig { returns(T::Boolean) } def supports_watching_files; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#73 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:73 sig { type_parameters(:T).params(block: T.proc.returns(T.type_parameter(:T))).returns(T.type_parameter(:T)) } def synchronize(&block); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:34 sig { returns(T.nilable(::String)) } def telemetry_machine_id; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#7 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:7 sig { returns(::String) } def test_library; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:22 sig { returns(T::Boolean) } def top_level_bundle; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#25 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:25 sig { returns(::RubyLsp::TypeInferrer) } def type_inferrer; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#208 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:208 sig { returns(::String) } def workspace_path; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#31 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:31 sig { returns(::URI::Generic) } def workspace_uri; end private - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#288 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:288 sig { returns(T::Boolean) } def bin_rails_present; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#232 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:232 sig { params(direct_dependencies: T::Array[::String], all_dependencies: T::Array[::String]).returns(::String) } def detect_formatter(direct_dependencies, all_dependencies); end # Try to detect if there are linters in the project's dependencies. For auto-detection, we always only consider a # single linter. To have multiple linters running, the user must configure them manually # - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#248 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:248 sig { params(dependencies: T::Array[::String], all_dependencies: T::Array[::String]).returns(T::Array[::String]) } def detect_linters(dependencies, all_dependencies); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#259 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:259 sig { params(dependencies: T::Array[::String]).returns(::String) } def detect_test_library(dependencies); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#279 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:279 sig { params(dependencies: T::Array[::String]).returns(T::Boolean) } def detect_typechecker(dependencies); end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#293 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:293 sig { returns(T::Boolean) } def dot_rubocop_yml_present; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#315 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:315 sig { returns(T::Array[::String]) } def gather_direct_and_indirect_dependencies; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#298 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:298 sig { returns(T::Array[::String]) } def gather_direct_dependencies; end - # source://ruby-lsp//lib/ruby_lsp/global_state.rb#308 + # pkg:gem/ruby-lsp#lib/ruby_lsp/global_state.rb:308 sig { returns(T::Array[::String]) } def gemspec_dependencies; end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:6 RubyLsp::Interface = LanguageServer::Protocol::Interface # A map of keyword => short documentation to be displayed on hover or completion # -# source://ruby-lsp//lib/ruby_lsp/static_docs.rb#16 +# pkg:gem/ruby-lsp#lib/ruby_lsp/static_docs.rb:16 RubyLsp::KEYWORD_DOCS = T.let(T.unsafe(nil), Hash) -# source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:7 module RubyLsp::Listeners; end -# source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:8 class RubyLsp::Listeners::CodeLens include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:22 sig do params( response_builder: RubyLsp::ResponseBuilders::CollectionResponseBuilder[::LanguageServer::Protocol::Interface::CodeLens], @@ -2839,53 +2839,53 @@ class RubyLsp::Listeners::CodeLens end def initialize(response_builder, global_state, uri, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#124 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:124 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#152 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:152 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#50 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:50 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#70 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:70 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#82 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:82 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#105 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:105 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#110 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:110 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#119 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:119 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#271 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:271 sig { params(node: ::Prism::CallNode, kind: ::Symbol).void } def add_spec_code_lens(node, kind:); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#164 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:164 sig { params(node: ::Prism::Node, name: ::String, command: ::String, kind: ::Symbol, id: ::String).void } def add_test_code_lens(node, name:, command:, kind:, id: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#309 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:309 sig { params(group_stack: T::Array[::String], method_name: T.nilable(::String)).returns(::String) } def generate_fully_qualified_id(group_stack:, method_name: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#228 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:228 sig do params( group_stack: T::Array[::String], @@ -2895,7 +2895,7 @@ class RubyLsp::Listeners::CodeLens end def generate_minitest_command(group_stack, method_name, spec_name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#210 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:210 sig do params( group_stack: T::Array[::String], @@ -2905,28 +2905,28 @@ class RubyLsp::Listeners::CodeLens end def generate_test_command(group_stack: T.unsafe(nil), spec_name: T.unsafe(nil), method_name: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#259 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:259 sig { params(group_stack: T::Array[::String], method_name: T.nilable(::String)).returns(::String) } def generate_test_unit_command(group_stack, method_name); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#17 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:17 RubyLsp::Listeners::CodeLens::ACCESS_MODIFIERS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:11 RubyLsp::Listeners::CodeLens::BASE_COMMAND = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#19 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:19 RubyLsp::Listeners::CodeLens::DYNAMIC_REFERENCE_MARKER = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/listeners/code_lens.rb#18 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/code_lens.rb:18 RubyLsp::Listeners::CodeLens::SUPPORTED_TEST_LIBRARIES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:6 class RubyLsp::Listeners::Completion include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#54 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:54 sig do params( response_builder: RubyLsp::ResponseBuilders::CollectionResponseBuilder[::LanguageServer::Protocol::Interface::CompletionItem], @@ -2940,105 +2940,105 @@ class RubyLsp::Listeners::Completion end def initialize(response_builder, global_state, node_context, sorbet_level, dispatcher, uri, trigger_character); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#143 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:143 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#247 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:247 sig { params(node: ::Prism::ClassVariableAndWriteNode).void } def on_class_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#252 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:252 sig { params(node: ::Prism::ClassVariableOperatorWriteNode).void } def on_class_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#257 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:257 sig { params(node: ::Prism::ClassVariableOrWriteNode).void } def on_class_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#267 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:267 sig { params(node: ::Prism::ClassVariableReadNode).void } def on_class_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#262 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:262 sig { params(node: ::Prism::ClassVariableTargetNode).void } def on_class_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#272 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:272 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end # Handle completion on namespaced constant references (e.g. `Foo::Bar`) # - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#125 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:125 sig { params(node: ::Prism::ConstantPathNode).void } def on_constant_path_node_enter(node); end # Handle completion on regular constant references (e.g. `Bar`) # - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#100 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:100 sig { params(node: ::Prism::ConstantReadNode).void } def on_constant_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#187 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:187 sig { params(node: ::Prism::GlobalVariableAndWriteNode).void } def on_global_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#192 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:192 sig { params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def on_global_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#197 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:197 sig { params(node: ::Prism::GlobalVariableOrWriteNode).void } def on_global_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#202 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:202 sig { params(node: ::Prism::GlobalVariableReadNode).void } def on_global_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#207 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:207 sig { params(node: ::Prism::GlobalVariableTargetNode).void } def on_global_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#212 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:212 sig { params(node: ::Prism::GlobalVariableWriteNode).void } def on_global_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#227 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:227 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#232 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:232 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#237 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:237 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#217 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:217 sig { params(node: ::Prism::InstanceVariableReadNode).void } def on_instance_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#242 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:242 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#222 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:222 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#574 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:574 sig { params(node: ::Prism::CallNode, name: ::String).void } def add_keyword_completions(node, name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#552 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:552 sig { params(node: ::Prism::CallNode, name: ::String).void } def add_local_completions(node, name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#594 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:594 sig do params( label: ::String, @@ -3047,7 +3047,7 @@ class RubyLsp::Listeners::Completion end def build_completion(label, node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#609 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:609 sig do params( real_name: ::String, @@ -3059,31 +3059,31 @@ class RubyLsp::Listeners::Completion end def build_entry_completion(real_name, incomplete_name, range, entries, top_level); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#478 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:478 sig { params(node: ::Prism::CallNode, name: ::String).void } def complete_methods(node, name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#424 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:424 sig { params(node: ::Prism::CallNode).void } def complete_require(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#443 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:443 sig { params(node: ::Prism::CallNode).void } def complete_require_relative(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#279 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:279 sig { params(name: ::String, range: ::LanguageServer::Protocol::Interface::Range).void } def constant_path_completion(name, range); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#359 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:359 sig { params(name: ::String, location: ::Prism::Location).void } def handle_class_variable_completion(name, location); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#336 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:336 sig { params(name: ::String, location: ::Prism::Location).void } def handle_global_variable_completion(name, location); end - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#390 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:390 sig { params(name: ::String, location: ::Prism::Location).void } def handle_instance_variable_completion(name, location); end @@ -3102,19 +3102,19 @@ class RubyLsp::Listeners::Completion # end # ``` # - # source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#698 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:698 sig { params(entry_name: ::String).returns(T::Boolean) } def top_level?(entry_name); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/completion.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/completion.rb:9 RubyLsp::Listeners::Completion::KEYWORDS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:6 class RubyLsp::Listeners::Definition include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:12 sig do params( response_builder: RubyLsp::ResponseBuilders::CollectionResponseBuilder[T.any(::LanguageServer::Protocol::Interface::Location, ::LanguageServer::Protocol::Interface::LocationLink)], @@ -3128,133 +3128,133 @@ class RubyLsp::Listeners::Definition end def initialize(response_builder, global_state, language_id, uri, node_context, dispatcher, sorbet_level); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#95 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:95 sig { params(node: ::Prism::BlockArgumentNode).void } def on_block_argument_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#54 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:54 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#192 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:192 sig { params(node: ::Prism::ClassVariableAndWriteNode).void } def on_class_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#197 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:197 sig { params(node: ::Prism::ClassVariableOperatorWriteNode).void } def on_class_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#202 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:202 sig { params(node: ::Prism::ClassVariableOrWriteNode).void } def on_class_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#212 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:212 sig { params(node: ::Prism::ClassVariableReadNode).void } def on_class_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#207 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:207 sig { params(node: ::Prism::ClassVariableTargetNode).void } def on_class_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#217 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:217 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#106 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:106 sig { params(node: ::Prism::ConstantPathNode).void } def on_constant_path_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#114 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:114 sig { params(node: ::Prism::ConstantReadNode).void } def on_constant_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#187 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:187 sig { params(node: ::Prism::ForwardingSuperNode).void } def on_forwarding_super_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#122 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:122 sig { params(node: ::Prism::GlobalVariableAndWriteNode).void } def on_global_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#127 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:127 sig { params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def on_global_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#132 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:132 sig { params(node: ::Prism::GlobalVariableOrWriteNode).void } def on_global_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#137 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:137 sig { params(node: ::Prism::GlobalVariableReadNode).void } def on_global_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:142 sig { params(node: ::Prism::GlobalVariableTargetNode).void } def on_global_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#147 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:147 sig { params(node: ::Prism::GlobalVariableWriteNode).void } def on_global_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#162 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:162 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#167 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:167 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#172 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:172 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#152 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:152 sig { params(node: ::Prism::InstanceVariableReadNode).void } def on_instance_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#177 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:177 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#157 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:157 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#73 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:73 sig { params(node: ::Prism::StringNode).void } def on_string_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#182 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:182 sig { params(node: ::Prism::SuperNode).void } def on_super_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#84 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:84 sig { params(node: ::Prism::SymbolNode).void } def on_symbol_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#379 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:379 sig { params(value: ::String).void } def find_in_index(value); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#368 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:368 sig { params(node: ::Prism::CallNode).void } def handle_autoload_definition(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#258 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:258 sig { params(name: ::String).void } def handle_class_variable_definition(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#239 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:239 sig { params(name: ::String).void } def handle_global_variable_definition(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#276 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:276 sig { params(name: ::String).void } def handle_instance_variable_definition(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#303 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:303 sig do params( message: ::String, @@ -3264,23 +3264,23 @@ class RubyLsp::Listeners::Definition end def handle_method_definition(message, receiver_type, inherited_only: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#331 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:331 sig { params(node: ::Prism::StringNode, message: ::Symbol).void } def handle_require_definition(node, message); end - # source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#224 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:224 sig { void } def handle_super_node_definition; end end -# source://ruby-lsp//lib/ruby_lsp/listeners/definition.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/definition.rb:9 RubyLsp::Listeners::Definition::MAX_NUMBER_OF_DEFINITION_CANDIDATES_WITHOUT_RECEIVER = T.let(T.unsafe(nil), Integer) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:6 class RubyLsp::Listeners::DocumentHighlight include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#71 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:71 sig do params( response_builder: RubyLsp::ResponseBuilders::CollectionResponseBuilder[::LanguageServer::Protocol::Interface::DocumentHighlight], @@ -3292,280 +3292,280 @@ class RubyLsp::Listeners::DocumentHighlight end def initialize(response_builder, target, parent, dispatcher, position); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#573 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:573 sig { params(node: ::Prism::BeginNode).void } def on_begin_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#559 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:559 sig { params(node: ::Prism::BlockNode).void } def on_block_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#231 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:231 sig { params(node: ::Prism::BlockParameterNode).void } def on_block_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#169 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:169 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#517 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:517 sig { params(node: ::Prism::CaseNode).void } def on_case_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#245 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:245 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#419 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:419 sig { params(node: ::Prism::ClassVariableAndWriteNode).void } def on_class_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#412 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:412 sig { params(node: ::Prism::ClassVariableOperatorWriteNode).void } def on_class_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#405 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:405 sig { params(node: ::Prism::ClassVariableOrWriteNode).void } def on_class_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#291 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:291 sig { params(node: ::Prism::ClassVariableReadNode).void } def on_class_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#217 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:217 sig { params(node: ::Prism::ClassVariableTargetNode).void } def on_class_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#398 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:398 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#475 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:475 sig { params(node: ::Prism::ConstantAndWriteNode).void } def on_constant_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#440 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:440 sig { params(node: ::Prism::ConstantOperatorWriteNode).void } def on_constant_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#433 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:433 sig { params(node: ::Prism::ConstantOrWriteNode).void } def on_constant_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#319 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:319 sig { params(node: ::Prism::ConstantPathAndWriteNode).void } def on_constant_path_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#270 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:270 sig { params(node: ::Prism::ConstantPathNode).void } def on_constant_path_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#326 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:326 sig { params(node: ::Prism::ConstantPathOperatorWriteNode).void } def on_constant_path_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#312 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:312 sig { params(node: ::Prism::ConstantPathOrWriteNode).void } def on_constant_path_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#203 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:203 sig { params(node: ::Prism::ConstantPathTargetNode).void } def on_constant_path_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#305 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:305 sig { params(node: ::Prism::ConstantPathWriteNode).void } def on_constant_path_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#277 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:277 sig { params(node: ::Prism::ConstantReadNode).void } def on_constant_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#210 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:210 sig { params(node: ::Prism::ConstantTargetNode).void } def on_constant_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#426 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:426 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#180 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:180 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#538 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:538 sig { params(node: ::Prism::ForNode).void } def on_for_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#496 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:496 sig { params(node: ::Prism::GlobalVariableAndWriteNode).void } def on_global_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#503 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:503 sig { params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def on_global_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#489 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:489 sig { params(node: ::Prism::GlobalVariableOrWriteNode).void } def on_global_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#298 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:298 sig { params(node: ::Prism::GlobalVariableReadNode).void } def on_global_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#189 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:189 sig { params(node: ::Prism::GlobalVariableTargetNode).void } def on_global_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#482 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:482 sig { params(node: ::Prism::GlobalVariableWriteNode).void } def on_global_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#545 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:545 sig { params(node: ::Prism::IfNode).void } def on_if_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#461 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:461 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#468 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:468 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#454 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:454 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#284 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:284 sig { params(node: ::Prism::InstanceVariableReadNode).void } def on_instance_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#196 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:196 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#447 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:447 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#369 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:369 sig { params(node: ::Prism::KeywordRestParameterNode).void } def on_keyword_rest_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#566 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:566 sig { params(node: ::Prism::LambdaNode).void } def on_lambda_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#377 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:377 sig { params(node: ::Prism::LocalVariableAndWriteNode).void } def on_local_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#384 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:384 sig { params(node: ::Prism::LocalVariableOperatorWriteNode).void } def on_local_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#391 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:391 sig { params(node: ::Prism::LocalVariableOrWriteNode).void } def on_local_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#263 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:263 sig { params(node: ::Prism::LocalVariableReadNode).void } def on_local_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#224 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:224 sig { params(node: ::Prism::LocalVariableTargetNode).void } def on_local_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#333 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:333 sig { params(node: ::Prism::LocalVariableWriteNode).void } def on_local_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#254 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:254 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#347 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:347 sig { params(node: ::Prism::OptionalKeywordParameterNode).void } def on_optional_keyword_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#362 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:362 sig { params(node: ::Prism::OptionalParameterNode).void } def on_optional_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#340 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:340 sig { params(node: ::Prism::RequiredKeywordParameterNode).void } def on_required_keyword_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#238 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:238 sig { params(node: ::Prism::RequiredParameterNode).void } def on_required_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#354 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:354 sig { params(node: ::Prism::RestParameterNode).void } def on_rest_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#510 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:510 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#552 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:552 sig { params(node: ::Prism::UnlessNode).void } def on_unless_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#531 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:531 sig { params(node: ::Prism::UntilNode).void } def on_until_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#524 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:524 sig { params(node: ::Prism::WhileNode).void } def on_while_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#587 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:587 sig { params(kind: ::Integer, location: ::Prism::Location).void } def add_highlight(kind, location); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#620 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:620 sig { params(keyword_loc: T.nilable(::Prism::Location), end_loc: T.nilable(::Prism::Location)).void } def add_matching_end_highlights(keyword_loc, end_loc); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#630 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:630 sig { params(location: ::Prism::Location).returns(T::Boolean) } def covers_target_position?(location); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#582 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:582 sig { params(node: ::Prism::Node, classes: T::Array[T.class_of(Prism::Node)]).returns(T.nilable(T::Boolean)) } def matches?(node, classes); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#592 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:592 sig { params(node: T.nilable(::Prism::Node)).returns(T.nilable(::String)) } def node_value(node); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#45 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:45 RubyLsp::Listeners::DocumentHighlight::CLASS_VARIABLE_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#27 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:27 RubyLsp::Listeners::DocumentHighlight::CONSTANT_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#36 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:36 RubyLsp::Listeners::DocumentHighlight::CONSTANT_PATH_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:9 RubyLsp::Listeners::DocumentHighlight::GLOBAL_VARIABLE_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#18 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:18 RubyLsp::Listeners::DocumentHighlight::INSTANCE_VARIABLE_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_highlight.rb#54 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_highlight.rb:54 RubyLsp::Listeners::DocumentHighlight::LOCAL_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:9 class RubyLsp::Listeners::DocumentLink include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#53 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:53 sig do params( response_builder: RubyLsp::ResponseBuilders::CollectionResponseBuilder[::LanguageServer::Protocol::Interface::DocumentLink], @@ -3576,37 +3576,37 @@ class RubyLsp::Listeners::DocumentLink end def initialize(response_builder, uri, comments, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#80 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:80 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#95 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:95 sig { params(node: ::Prism::ConstantPathWriteNode).void } def on_constant_path_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#90 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:90 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#75 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:75 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#85 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:85 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#102 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:102 sig { params(node: ::Prism::Node).void } def extract_document_link(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#127 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:127 sig { params(uri_string: ::String).returns(T.nilable([::String, ::String])) } def parse_package_url(uri_string); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#149 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:149 sig { params(uri_string: ::String).returns(T.nilable([::String, ::String])) } def parse_source_uri(uri_string); end @@ -3615,25 +3615,25 @@ class RubyLsp::Listeners::DocumentLink # 2. The version in the RBI file name # 3. The version from the gemspec # - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#177 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:177 sig { params(version: T.nilable(::String), gem_name: T.nilable(::String)).returns(T.nilable(::String)) } def resolve_version(version, gem_name); end class << self - # source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:18 sig { returns(T::Hash[::String, T::Hash[::String, T::Hash[::String, ::String]]]) } def gem_paths; end end end -# source://ruby-lsp//lib/ruby_lsp/listeners/document_link.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_link.rb:12 RubyLsp::Listeners::DocumentLink::GEM_TO_VERSION_MAP = T.let(T.unsafe(nil), Hash) -# source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:6 class RubyLsp::Listeners::DocumentSymbol include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:12 sig do params( response_builder: RubyLsp::ResponseBuilders::DocumentSymbol, @@ -3643,117 +3643,117 @@ class RubyLsp::Listeners::DocumentSymbol end def initialize(response_builder, uri, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#310 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:310 sig { params(node: ::Prism::AliasMethodNode).void } def on_alias_method_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#81 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:81 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#95 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:95 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#49 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:49 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#59 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:59 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#250 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:250 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#164 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:164 sig { params(node: ::Prism::ConstantAndWriteNode).void } def on_constant_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#174 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:174 sig { params(node: ::Prism::ConstantOperatorWriteNode).void } def on_constant_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#154 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:154 sig { params(node: ::Prism::ConstantOrWriteNode).void } def on_constant_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#124 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:124 sig { params(node: ::Prism::ConstantPathAndWriteNode).void } def on_constant_path_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#144 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:144 sig { params(node: ::Prism::ConstantPathOperatorWriteNode).void } def on_constant_path_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#134 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:134 sig { params(node: ::Prism::ConstantPathOrWriteNode).void } def on_constant_path_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#194 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:194 sig { params(node: ::Prism::ConstantPathTargetNode).void } def on_constant_path_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#104 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:104 sig { params(node: ::Prism::ConstantPathWriteNode).void } def on_constant_path_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#184 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:184 sig { params(node: ::Prism::ConstantTargetNode).void } def on_constant_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#114 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:114 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#219 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:219 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#204 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:204 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#300 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:300 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#280 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:280 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#290 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:290 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#270 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:270 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#260 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:260 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#209 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:209 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#245 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:245 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#64 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:64 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#76 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:76 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_leave(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#328 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:328 sig do params( name: ::String, @@ -3764,35 +3764,35 @@ class RubyLsp::Listeners::DocumentSymbol end def create_document_symbol(name:, kind:, range_location:, selection_range_location:); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#377 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:377 sig { params(node: ::Prism::CallNode).void } def handle_alias_method(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#344 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:344 sig { params(node: ::Prism::CallNode).void } def handle_attr_accessor(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#410 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:410 sig { params(node: ::Prism::CallNode).void } def handle_rake_namespace(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#436 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:436 sig { params(node: ::Prism::CallNode).void } def handle_rake_task(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#471 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:471 sig { returns(T::Boolean) } def rake?; end end -# source://ruby-lsp//lib/ruby_lsp/listeners/document_symbol.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/document_symbol.rb:9 RubyLsp::Listeners::DocumentSymbol::ATTR_ACCESSORS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:6 class RubyLsp::Listeners::FoldingRanges include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:10 sig do params( response_builder: RubyLsp::ResponseBuilders::CollectionResponseBuilder[::LanguageServer::Protocol::Interface::FoldingRange], @@ -3802,134 +3802,134 @@ class RubyLsp::Listeners::FoldingRanges end def initialize(response_builder, comments, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#44 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:44 sig { void } def finalize_response!; end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:78 sig { params(node: ::Prism::ArrayNode).void } def on_array_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#148 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:148 sig { params(node: ::Prism::BeginNode).void } def on_begin_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#83 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:83 sig { params(node: ::Prism::BlockNode).void } def on_block_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#168 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:168 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#93 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:93 sig { params(node: ::Prism::CaseMatchNode).void } def on_case_match_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#88 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:88 sig { params(node: ::Prism::CaseNode).void } def on_case_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#98 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:98 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#153 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:153 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#138 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:138 sig { params(node: ::Prism::ElseNode).void } def on_else_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#143 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:143 sig { params(node: ::Prism::EnsureNode).void } def on_ensure_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#108 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:108 sig { params(node: ::Prism::ForNode).void } def on_for_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#113 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:113 sig { params(node: ::Prism::HashNode).void } def on_hash_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#50 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:50 sig { params(node: ::Prism::IfNode).void } def on_if_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#55 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:55 sig { params(node: ::Prism::InNode).void } def on_in_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#70 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:70 sig { params(node: ::Prism::InterpolatedStringNode).void } def on_interpolated_string_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#181 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:181 sig { params(node: ::Prism::LambdaNode).void } def on_lambda_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#103 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:103 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#60 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:60 sig { params(node: ::Prism::RescueNode).void } def on_rescue_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#118 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:118 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#123 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:123 sig { params(node: ::Prism::UnlessNode).void } def on_unless_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#128 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:128 sig { params(node: ::Prism::UntilNode).void } def on_until_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#65 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:65 sig { params(node: ::Prism::WhenNode).void } def on_when_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#133 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:133 sig { params(node: ::Prism::WhileNode).void } def on_while_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#252 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:252 sig { params(start_line: ::Integer, end_line: ::Integer).void } def add_lines_range(start_line, end_line); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#246 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:246 sig { params(node: ::Prism::Node).void } def add_simple_range(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#235 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:235 sig { params(node: T.any(::Prism::IfNode, ::Prism::InNode, ::Prism::RescueNode, ::Prism::WhenNode)).void } def add_statements_range(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#206 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:206 sig { void } def emit_requires_range; end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#188 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:188 sig { void } def push_comment_ranges; end - # source://ruby-lsp//lib/ruby_lsp/listeners/folding_ranges.rb#221 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/folding_ranges.rb:221 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def require?(node); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:6 class RubyLsp::Listeners::Hover include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#47 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:47 sig do params( response_builder: RubyLsp::ResponseBuilders::Hover, @@ -3942,168 +3942,168 @@ class RubyLsp::Listeners::Hover end def initialize(response_builder, global_state, uri, node_context, dispatcher, sorbet_level); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#90 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:90 sig { params(node: ::Prism::BreakNode).void } def on_break_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#140 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:140 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#225 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:225 sig { params(node: ::Prism::ClassVariableAndWriteNode).void } def on_class_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#230 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:230 sig { params(node: ::Prism::ClassVariableOperatorWriteNode).void } def on_class_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#235 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:235 sig { params(node: ::Prism::ClassVariableOrWriteNode).void } def on_class_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#245 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:245 sig { params(node: ::Prism::ClassVariableReadNode).void } def on_class_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#240 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:240 sig { params(node: ::Prism::ClassVariableTargetNode).void } def on_class_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#250 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:250 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#130 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:130 sig { params(node: ::Prism::ConstantPathNode).void } def on_constant_path_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#113 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:113 sig { params(node: ::Prism::ConstantReadNode).void } def on_constant_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#123 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:123 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#215 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:215 sig { params(node: ::Prism::ForwardingSuperNode).void } def on_forwarding_super_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#150 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:150 sig { params(node: ::Prism::GlobalVariableAndWriteNode).void } def on_global_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#155 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:155 sig { params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def on_global_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#160 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:160 sig { params(node: ::Prism::GlobalVariableOrWriteNode).void } def on_global_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#165 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:165 sig { params(node: ::Prism::GlobalVariableReadNode).void } def on_global_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#170 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:170 sig { params(node: ::Prism::GlobalVariableTargetNode).void } def on_global_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#175 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:175 sig { params(node: ::Prism::GlobalVariableWriteNode).void } def on_global_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#190 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:190 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#195 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:195 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#200 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:200 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#180 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:180 sig { params(node: ::Prism::InstanceVariableReadNode).void } def on_instance_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#205 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:205 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#185 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:185 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#108 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:108 sig { params(node: ::Prism::InterpolatedStringNode).void } def on_interpolated_string_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#95 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:95 sig { params(node: ::Prism::StringNode).void } def on_string_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#210 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:210 sig { params(node: ::Prism::SuperNode).void } def on_super_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#220 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:220 sig { params(node: ::Prism::YieldNode).void } def on_yield_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#388 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:388 sig { params(node: ::Prism::CallNode).void } def generate_gem_hover(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#257 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:257 sig { params(node: T.any(::Prism::InterpolatedStringNode, ::Prism::StringNode)).void } def generate_heredoc_hover(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#372 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:372 sig { params(name: ::String, location: ::Prism::Location).void } def generate_hover(name, location); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#357 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:357 sig { params(name: ::String).void } def handle_class_variable_hover(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#347 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:347 sig { params(name: ::String).void } def handle_global_variable_hover(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#328 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:328 sig { params(name: ::String).void } def handle_instance_variable_hover(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#282 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:282 sig { params(keyword: ::String).void } def handle_keyword_documentation(keyword); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#305 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:305 sig { params(message: ::String, inherited_only: T::Boolean).void } def handle_method_hover(message, inherited_only: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#294 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:294 sig { void } def handle_super_node_hover; end end -# source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#41 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:41 RubyLsp::Listeners::Hover::ALLOWED_REMOTE_PROVIDERS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/hover.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/hover.rb:9 RubyLsp::Listeners::Hover::ALLOWED_TARGETS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/inlay_hints.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/inlay_hints.rb:6 class RubyLsp::Listeners::InlayHints include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/inlay_hints.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/inlay_hints.rb:12 sig do params( global_state: ::RubyLsp::GlobalState, @@ -4113,23 +4113,23 @@ class RubyLsp::Listeners::InlayHints end def initialize(global_state, response_builder, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/listeners/inlay_hints.rb#37 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/inlay_hints.rb:37 sig { params(node: ::Prism::ImplicitNode).void } def on_implicit_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/inlay_hints.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/inlay_hints.rb:22 sig { params(node: ::Prism::RescueNode).void } def on_rescue_node_enter(node); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/inlay_hints.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/inlay_hints.rb:9 RubyLsp::Listeners::InlayHints::RESCUE_STRING_LENGTH = T.let(T.unsafe(nil), Integer) -# source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:6 class RubyLsp::Listeners::SemanticHighlighting include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:18 sig do params( dispatcher: ::Prism::Dispatcher, @@ -4138,132 +4138,132 @@ class RubyLsp::Listeners::SemanticHighlighting end def initialize(dispatcher, response_builder); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#121 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:121 sig { params(node: ::Prism::BlockLocalVariableNode).void } def on_block_local_variable_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#111 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:111 sig { params(node: ::Prism::BlockNode).void } def on_block_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#116 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:116 sig { params(node: ::Prism::BlockNode).void } def on_block_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#126 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:126 sig { params(node: ::Prism::BlockParameterNode).void } def on_block_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#57 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:57 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#219 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:219 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#101 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:101 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#106 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:106 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#279 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:279 sig { params(node: ::Prism::ImplicitNode).void } def on_implicit_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#284 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:284 sig { params(node: ::Prism::ImplicitNode).void } def on_implicit_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:142 sig { params(node: ::Prism::KeywordRestParameterNode).void } def on_keyword_rest_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#189 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:189 sig { params(node: ::Prism::LocalVariableAndWriteNode).void } def on_local_variable_and_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#195 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:195 sig { params(node: ::Prism::LocalVariableOperatorWriteNode).void } def on_local_variable_operator_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#201 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:201 sig { params(node: ::Prism::LocalVariableOrWriteNode).void } def on_local_variable_or_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#175 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:175 sig { params(node: ::Prism::LocalVariableReadNode).void } def on_local_variable_read_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#207 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:207 sig { params(node: ::Prism::LocalVariableTargetNode).void } def on_local_variable_target_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#169 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:169 sig { params(node: ::Prism::LocalVariableWriteNode).void } def on_local_variable_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#86 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:86 sig { params(node: ::Prism::MatchWriteNode).void } def on_match_write_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#96 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:96 sig { params(node: ::Prism::MatchWriteNode).void } def on_match_write_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#258 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:258 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#137 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:137 sig { params(node: ::Prism::OptionalKeywordParameterNode).void } def on_optional_keyword_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#148 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:148 sig { params(node: ::Prism::OptionalParameterNode).void } def on_optional_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#132 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:132 sig { params(node: ::Prism::RequiredKeywordParameterNode).void } def on_required_keyword_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#153 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:153 sig { params(node: ::Prism::RequiredParameterNode).void } def on_required_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#158 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:158 sig { params(node: ::Prism::RestParameterNode).void } def on_rest_parameter_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#164 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:164 sig { params(node: ::Prism::SelfNode).void } def on_self_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#298 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:298 sig { params(node: ::Prism::CallNode).void } def process_regexp_locals(node); end # Textmate provides highlighting for a subset of these special Ruby-specific methods. We want to utilize that # highlighting, so we avoid making a semantic token for it. # - # source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#293 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:293 sig { params(method_name: ::String).returns(T::Boolean) } def special_method?(method_name); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/semantic_highlighting.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/semantic_highlighting.rb:9 RubyLsp::Listeners::SemanticHighlighting::SPECIAL_RUBY_METHODS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/signature_help.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/signature_help.rb:6 class RubyLsp::Listeners::SignatureHelp include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/listeners/signature_help.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/signature_help.rb:10 sig do params( response_builder: RubyLsp::ResponseBuilders::SignatureHelp, @@ -4275,13 +4275,13 @@ class RubyLsp::Listeners::SignatureHelp end def initialize(response_builder, global_state, node_context, dispatcher, sorbet_level); end - # source://ruby-lsp//lib/ruby_lsp/listeners/signature_help.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/signature_help.rb:21 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/signature_help.rb#62 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/signature_help.rb:62 sig do params( node: ::Prism::CallNode, @@ -4290,7 +4290,7 @@ class RubyLsp::Listeners::SignatureHelp end def determine_active_signature_and_parameter(node, signatures); end - # source://ruby-lsp//lib/ruby_lsp/listeners/signature_help.rb#90 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/signature_help.rb:90 sig do params( signatures: T::Array[::RubyIndexer::Entry::Signature], @@ -4303,9 +4303,9 @@ class RubyLsp::Listeners::SignatureHelp def generate_signatures(signatures, method_name, methods, title, extra_links); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:6 class RubyLsp::Listeners::SpecStyle < ::RubyLsp::Listeners::TestDiscovery - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:21 sig do params( response_builder: RubyLsp::ResponseBuilders::TestCollection, @@ -4316,87 +4316,87 @@ class RubyLsp::Listeners::SpecStyle < ::RubyLsp::Listeners::TestDiscovery end def initialize(response_builder, global_state, dispatcher, uri); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#60 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:60 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#70 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:70 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#35 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:35 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#42 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:42 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#48 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:48 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#54 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:54 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#160 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:160 sig { params(arg: ::Prism::Node).returns(T.nilable(::String)) } def extract_argument_content(arg); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#138 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:138 sig { params(node: ::Prism::CallNode).returns(T.nilable(::String)) } def extract_description(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#149 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:149 sig { params(node: ::Prism::CallNode).returns(::String) } def extract_it_description(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#85 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:85 sig { params(node: ::Prism::CallNode).void } def handle_describe(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#117 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:117 sig { params(node: ::Prism::CallNode).void } def handle_example(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#226 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:226 sig { returns(T::Boolean) } def in_spec_context?; end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#174 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:174 sig { returns(T.nilable(T.any(::RubyLsp::Requests::Support::TestItem, RubyLsp::ResponseBuilders::TestCollection))) } def latest_group; end end -# source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#17 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:17 class RubyLsp::Listeners::SpecStyle::ClassGroup < ::RubyLsp::Listeners::SpecStyle::Group; end -# source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#18 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:18 class RubyLsp::Listeners::SpecStyle::DescribeGroup < ::RubyLsp::Listeners::SpecStyle::Group; end -# source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:7 class RubyLsp::Listeners::SpecStyle::Group - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:12 sig { params(id: ::String).void } def initialize(id); end - # source://ruby-lsp//lib/ruby_lsp/listeners/spec_style.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/spec_style.rb:9 sig { returns(::String) } def id; end end # @abstract # -# source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:6 class RubyLsp::Listeners::TestDiscovery include ::RubyLsp::Requests::Support::Common abstract! - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:16 sig do params( response_builder: RubyLsp::ResponseBuilders::TestCollection, @@ -4406,29 +4406,29 @@ class RubyLsp::Listeners::TestDiscovery end def initialize(response_builder, global_state, uri); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:41 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#25 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:25 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#35 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:35 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#66 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:66 sig { params(node: ::Prism::ClassNode, fully_qualified_name: ::String).returns(T::Array[::String]) } def calc_attached_ancestors(node, fully_qualified_name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#61 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:61 sig { params(name: T.nilable(::String)).returns(::String) } def calc_fully_qualified_name(name); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#90 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:90 sig do params( node: T.any(::Prism::CallNode, ::Prism::ConstantPathNode, ::Prism::ConstantPathTargetNode, ::Prism::ConstantReadNode, ::Prism::MissingNode) @@ -4436,11 +4436,11 @@ class RubyLsp::Listeners::TestDiscovery end def name_with_dynamic_reference(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#49 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:49 sig { params(dispatcher: ::Prism::Dispatcher, events: ::Symbol).void } def register_events(dispatcher, *events); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#96 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:96 sig do params( node: ::Prism::ClassNode, @@ -4450,12 +4450,12 @@ class RubyLsp::Listeners::TestDiscovery def with_test_ancestor_tracking(node, &block); end end -# source://ruby-lsp//lib/ruby_lsp/listeners/test_discovery.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_discovery.rb:13 RubyLsp::Listeners::TestDiscovery::DYNAMIC_REFERENCE_MARKER = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:6 class RubyLsp::Listeners::TestStyle < ::RubyLsp::Listeners::TestDiscovery - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#159 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:159 sig do params( response_builder: RubyLsp::ResponseBuilders::TestCollection, @@ -4466,54 +4466,54 @@ class RubyLsp::Listeners::TestStyle < ::RubyLsp::Listeners::TestDiscovery end def initialize(response_builder, global_state, dispatcher, uri); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#238 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:238 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#246 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:246 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#175 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:175 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#198 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:198 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#216 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:216 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#204 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:204 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#210 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:210 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#257 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:257 sig { returns(T.any(::RubyLsp::Requests::Support::TestItem, RubyLsp::ResponseBuilders::TestCollection)) } def last_test_group; end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#263 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:263 sig { params(attached_ancestors: T::Array[::String], fully_qualified_name: ::String).returns(T::Boolean) } def non_declarative_minitest?(attached_ancestors, fully_qualified_name); end class << self # Resolves the minimal set of commands required to execute the requested tests # - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:10 sig { params(items: T::Array[T::Hash[::Symbol, T.untyped]]).returns(T::Array[::String]) } def resolve_test_commands(items); end private - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#96 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:96 sig do params( file_path: ::String, @@ -4522,7 +4522,7 @@ class RubyLsp::Listeners::TestStyle < ::RubyLsp::Listeners::TestDiscovery end def handle_minitest_groups(file_path, groups_and_examples); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#123 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:123 sig do params( file_path: ::String, @@ -4531,77 +4531,77 @@ class RubyLsp::Listeners::TestStyle < ::RubyLsp::Listeners::TestDiscovery end def handle_test_unit_groups(file_path, groups_and_examples); end - # source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#91 + # pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:91 sig { params(path: ::String).returns(T::Boolean) } def spec?(path); end end end -# source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#156 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:156 RubyLsp::Listeners::TestStyle::ACCESS_MODIFIERS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#149 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:149 RubyLsp::Listeners::TestStyle::BASE_COMMAND = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#155 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:155 RubyLsp::Listeners::TestStyle::COMMAND = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#147 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:147 RubyLsp::Listeners::TestStyle::MINITEST_REPORTER_PATH = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/listeners/test_style.rb#148 +# pkg:gem/ruby-lsp#lib/ruby_lsp/listeners/test_style.rb:148 RubyLsp::Listeners::TestStyle::TEST_UNIT_REPORTER_PATH = T.let(T.unsafe(nil), String) # A notification to be sent to the client # # @abstract # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#39 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:39 class RubyLsp::Message abstract! - # source://ruby-lsp//lib/ruby_lsp/utils.rb#51 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:51 sig { params(method: ::String, params: ::Object).void } def initialize(method:, params:); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#45 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:45 sig { returns(::String) } def method; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#48 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:48 sig { returns(::Object) } def params; end # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/utils.rb#58 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:58 sig { abstract.returns(T::Hash[::Symbol, T.untyped]) } def to_hash; end end # Reads JSON RPC messages from the given IO in a loop # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#313 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:313 class RubyLsp::MessageReader - # source://ruby-lsp//lib/ruby_lsp/utils.rb#315 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:315 sig { params(io: ::IO).void } def initialize(io); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#320 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:320 sig { params(block: T.proc.params(arg0: T::Hash[::Symbol, T.untyped]).void).void } def each_message(&block); end end # Writes JSON RPC messages to the given IO # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#329 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:329 class RubyLsp::MessageWriter - # source://ruby-lsp//lib/ruby_lsp/utils.rb#331 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:331 sig { params(io: ::IO).void } def initialize(io); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#336 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:336 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def write(message); end end @@ -4609,9 +4609,9 @@ end # This class allows listeners to access contextual information about a node in the AST, such as its parent, # its namespace nesting, and the surrounding CallNode (e.g. a method call). # -# source://ruby-lsp//lib/ruby_lsp/node_context.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:7 class RubyLsp::NodeContext - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:21 sig do params( node: T.nilable(::Prism::Node), @@ -4622,36 +4622,36 @@ class RubyLsp::NodeContext end def initialize(node, parent, nesting_nodes, call_node); end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:15 sig { returns(T.nilable(::Prism::CallNode)) } def call_node; end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#33 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:33 sig { returns(::String) } def fully_qualified_name; end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#38 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:38 sig { returns(T::Array[::Symbol]) } def locals_for_scope; end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:12 sig { returns(T::Array[::String]) } def nesting; end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:9 sig { returns(T.nilable(::Prism::Node)) } def node; end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:9 def parent; end - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:18 sig { returns(T.nilable(::String)) } def surrounding_method; end private - # source://ruby-lsp//lib/ruby_lsp/node_context.rb#56 + # pkg:gem/ruby-lsp#lib/ruby_lsp/node_context.rb:56 sig do params( nodes: T::Array[T.any(::Prism::BlockNode, ::Prism::ClassNode, ::Prism::DefNode, ::Prism::LambdaNode, ::Prism::ModuleNode, ::Prism::ProgramNode, ::Prism::SingletonClassNode)] @@ -4660,14 +4660,14 @@ class RubyLsp::NodeContext def handle_nesting_nodes(nodes); end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#63 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:63 class RubyLsp::Notification < ::RubyLsp::Message - # source://ruby-lsp//lib/ruby_lsp/utils.rb#142 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:142 sig { override.returns(T::Hash[::Symbol, T.untyped]) } def to_hash; end class << self - # source://ruby-lsp//lib/ruby_lsp/utils.rb#90 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:90 sig do params( id: ::String, @@ -4678,11 +4678,11 @@ class RubyLsp::Notification < ::RubyLsp::Message end def progress_begin(id, title, percentage: T.unsafe(nil), message: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#121 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:121 sig { params(id: ::String).returns(::RubyLsp::Notification) } def progress_end(id); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#106 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:106 sig do params( id: ::String, @@ -4692,7 +4692,7 @@ class RubyLsp::Notification < ::RubyLsp::Message end def progress_report(id, percentage: T.unsafe(nil), message: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#132 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:132 sig do params( uri: ::String, @@ -4702,21 +4702,21 @@ class RubyLsp::Notification < ::RubyLsp::Message end def publish_diagnostics(uri, diagnostics, version: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#82 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:82 sig { params(data: T::Hash[::Symbol, T.untyped]).returns(::RubyLsp::Notification) } def telemetry(data); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#74 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:74 sig { params(message: ::String, type: ::Integer).returns(::RubyLsp::Notification) } def window_log_message(message, type: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#66 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:66 sig { params(message: ::String, type: ::Integer).returns(::RubyLsp::Notification) } def window_show_message(message, type: T.unsafe(nil)); end end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#47 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:47 class RubyLsp::PackageURL # Constructs a package URL from its components # @@ -4729,72 +4729,72 @@ class RubyLsp::PackageURL # @raise [ArgumentError] # @return [PackageURL] a new instance of PackageURL # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#84 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:84 def initialize(type:, name:, namespace: T.unsafe(nil), version: T.unsafe(nil), qualifiers: T.unsafe(nil), subpath: T.unsafe(nil)); end # Returns an array containing the # scheme, type, namespace, name, version, qualifiers, and subpath components # of the package URL. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#403 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:403 def deconstruct; end # Returns a hash containing the # scheme, type, namespace, name, version, qualifiers, and subpath components # of the package URL. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#410 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:410 def deconstruct_keys(_keys); end # The name of the package. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#65 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:65 def name; end # A name prefix, specific to the type of package. # For example, an npm scope, a Docker image owner, or a GitHub user. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#62 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:62 def namespace; end # Extra qualifying data for a package, specific to the type of package. # For example, the operating system or architecture. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#72 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:72 def qualifiers; end # The URL scheme, which has a constant value of `"pkg"`. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#53 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:53 def scheme; end # An extra subpath within a package, relative to the package root. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#75 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:75 def subpath; end # Returns a hash containing the # scheme, type, namespace, name, version, qualifiers, and subpath components # of the package URL. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#258 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:258 def to_h; end # Returns a string representation of the package URL. # Package URL representations are created according to the instructions from # https://github.com/package-url/purl-spec/blob/0b1559f76b79829e789c4f20e6d832c7314762c5/PURL-SPECIFICATION.rst#how-to-build-purl-string-from-its-components. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#273 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:273 def to_s; end # The package type or protocol, such as `"gem"`, `"npm"`, and `"github"`. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#58 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:58 def type; end # The version of the package. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#68 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:68 def version; end class << self @@ -4804,7 +4804,7 @@ class RubyLsp::PackageURL # @raise [InvalidPackageURL] If the string is not a valid package URL. # @return [PackageURL] # - # source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#100 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:100 def parse(string); end end end @@ -4813,44 +4813,44 @@ end # # @see #parse # -# source://ruby-lsp//lib/ruby_lsp/requests/support/package_url.rb#50 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/package_url.rb:50 class RubyLsp::PackageURL::InvalidPackageURL < ::ArgumentError; end -# source://ruby-lsp//lib/ruby_lsp/rbs_document.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/rbs_document.rb:5 class RubyLsp::RBSDocument < ::RubyLsp::Document extend T::Generic ParseResultType = type_member { { fixed: T::Array[::RBS::AST::Declarations::Base] } } - # source://ruby-lsp//lib/ruby_lsp/rbs_document.rb#11 + # pkg:gem/ruby-lsp#lib/ruby_lsp/rbs_document.rb:11 sig { params(source: ::String, version: ::Integer, uri: ::URI::Generic, global_state: ::RubyLsp::GlobalState).void } def initialize(source:, version:, uri:, global_state:); end - # source://ruby-lsp//lib/ruby_lsp/rbs_document.rb#40 + # pkg:gem/ruby-lsp#lib/ruby_lsp/rbs_document.rb:40 sig { override.returns(::Symbol) } def language_id; end - # source://ruby-lsp//lib/ruby_lsp/rbs_document.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/rbs_document.rb:18 sig { override.returns(T::Boolean) } def parse!; end - # source://ruby-lsp//lib/ruby_lsp/rbs_document.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/rbs_document.rb:34 sig { override.returns(T::Boolean) } def syntax_error?; end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#154 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:154 class RubyLsp::Request < ::RubyLsp::Message - # source://ruby-lsp//lib/ruby_lsp/utils.rb#184 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:184 sig { params(id: T.any(::Integer, ::String), method: ::String, params: ::Object).void } def initialize(id:, method:, params:); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#191 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:191 sig { override.returns(T::Hash[::Symbol, T.untyped]) } def to_hash; end class << self - # source://ruby-lsp//lib/ruby_lsp/utils.rb#157 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:157 sig do params( id: ::Integer, @@ -4865,33 +4865,33 @@ end # A request configuration, to turn on/off features # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#252 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:252 class RubyLsp::RequestConfig - # source://ruby-lsp//lib/ruby_lsp/utils.rb#254 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:254 sig { params(configuration: T::Hash[::Symbol, T::Boolean]).void } def initialize(configuration); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#259 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:259 sig { params(feature: ::Symbol).returns(T.nilable(T::Boolean)) } def enabled?(feature); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#264 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:264 sig { params(hash: T::Hash[::Symbol, T::Boolean]).void } def merge!(hash); end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/selection_range.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/selection_range.rb:5 module RubyLsp::Requests; end # The [code action resolve](https://microsoft.github.io/language-server-protocol/specification#codeAction_resolve) # request is used to to resolve the edit field for a given code action, if it is not already provided in the # textDocument/codeAction response. We can use it for scenarios that require more computation such as refactoring. # -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:9 class RubyLsp::Requests::CodeActionResolve < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:21 sig do params( document: RubyLsp::RubyDocument, @@ -4903,17 +4903,17 @@ class RubyLsp::Requests::CodeActionResolve < ::RubyLsp::Requests::Request # @raise [EmptySelectionError] # - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:30 sig { override.returns(::LanguageServer::Protocol::Interface::CodeAction) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#346 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:346 sig { returns(::LanguageServer::Protocol::Interface::CodeAction) } def create_attribute_accessor; end - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#277 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:277 sig do params( range: T::Hash[::Symbol, T.untyped], @@ -4922,58 +4922,58 @@ class RubyLsp::Requests::CodeActionResolve < ::RubyLsp::Requests::Request end def create_text_edit(range, new_text); end - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#288 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:288 sig { params(node: ::Prism::BlockNode, indentation: T.nilable(::String)).returns(::String) } def recursively_switch_nested_block_styles(node, indentation); end # @raise [EmptySelectionError] # - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#201 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:201 sig { returns(::LanguageServer::Protocol::Interface::CodeAction) } def refactor_method; end # @raise [EmptySelectionError] # - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#94 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:94 sig { returns(::LanguageServer::Protocol::Interface::CodeAction) } def refactor_variable; end - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#317 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:317 sig { params(body: ::Prism::Node, indentation: T.nilable(::String)).returns(::String) } def switch_block_body(body, indentation); end # @raise [EmptySelectionError] # - # source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#52 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:52 sig { returns(::LanguageServer::Protocol::Interface::CodeAction) } def switch_block_style; end end -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#15 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:15 class RubyLsp::Requests::CodeActionResolve::CodeActionError < ::StandardError; end -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#16 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:16 class RubyLsp::Requests::CodeActionResolve::EmptySelectionError < ::RubyLsp::Requests::CodeActionResolve::CodeActionError; end -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#17 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:17 class RubyLsp::Requests::CodeActionResolve::InvalidTargetRangeError < ::RubyLsp::Requests::CodeActionResolve::CodeActionError; end -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:13 RubyLsp::Requests::CodeActionResolve::NEW_METHOD_NAME = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:12 RubyLsp::Requests::CodeActionResolve::NEW_VARIABLE_NAME = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_action_resolve.rb#18 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_action_resolve.rb:18 class RubyLsp::Requests::CodeActionResolve::UnknownCodeActionError < ::RubyLsp::Requests::CodeActionResolve::CodeActionError; end # The [code actions](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction) # request informs the editor of RuboCop quick fixes that can be applied. These are accessible by hovering over a # specific diagnostic. # -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:9 class RubyLsp::Requests::CodeActions < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#37 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:37 sig do params( document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument), @@ -4983,51 +4983,51 @@ class RubyLsp::Requests::CodeActions < ::RubyLsp::Requests::Request end def initialize(document, range, context); end - # source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#47 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:47 sig { override.returns(T.nilable(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::CodeAction]))) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#80 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:80 sig { returns(T::Array[::LanguageServer::Protocol::Interface::CodeAction]) } def attribute_actions; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:28 sig { returns(::LanguageServer::Protocol::Interface::CodeActionRegistrationOptions) } def provider; end end end -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#15 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:15 RubyLsp::Requests::CodeActions::CREATE_ATTRIBUTE_ACCESSOR = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:13 RubyLsp::Requests::CodeActions::CREATE_ATTRIBUTE_READER = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#14 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:14 RubyLsp::Requests::CodeActions::CREATE_ATTRIBUTE_WRITER = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:11 RubyLsp::Requests::CodeActions::EXTRACT_TO_METHOD_TITLE = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:10 RubyLsp::Requests::CodeActions::EXTRACT_TO_VARIABLE_TITLE = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#17 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:17 RubyLsp::Requests::CodeActions::INSTANCE_VARIABLE_NODES = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/requests/code_actions.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_actions.rb:12 RubyLsp::Requests::CodeActions::TOGGLE_BLOCK_STYLE_TITLE = T.let(T.unsafe(nil), String) # The # [code lens](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeLens) # request informs the editor of runnable commands such as testing and debugging. # -# source://ruby-lsp//lib/ruby_lsp/requests/code_lens.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_lens.rb:13 class RubyLsp::Requests::CodeLens < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/code_lens.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_lens.rb:22 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5037,12 +5037,12 @@ class RubyLsp::Requests::CodeLens < ::RubyLsp::Requests::Request end def initialize(global_state, document, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/code_lens.rb#55 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_lens.rb:55 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::CodeLens]) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/code_lens.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/code_lens.rb:16 sig { returns(::LanguageServer::Protocol::Interface::CodeLensOptions) } def provider; end end @@ -5051,9 +5051,9 @@ end # The [completion](https://microsoft.github.io/language-server-protocol/specification#textDocument_completion) # suggests possible completions according to what the developer is typing. # -# source://ruby-lsp//lib/ruby_lsp/requests/completion.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion.rb:10 class RubyLsp::Requests::Completion < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/completion.rb#25 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion.rb:25 sig do params( document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument), @@ -5065,12 +5065,12 @@ class RubyLsp::Requests::Completion < ::RubyLsp::Requests::Request end def initialize(document, global_state, params, sorbet_level, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/completion.rb#93 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion.rb:93 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::CompletionItem]) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/completion.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion.rb:13 sig { returns(::LanguageServer::Protocol::Interface::CompletionOptions) } def provider; end end @@ -5087,21 +5087,21 @@ end # At most 10 definitions are included, to ensure low latency during request processing and rendering the completion # item. # -# source://ruby-lsp//lib/ruby_lsp/requests/completion_resolve.rb#16 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion_resolve.rb:16 class RubyLsp::Requests::CompletionResolve < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/completion_resolve.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion_resolve.rb:24 sig { params(global_state: ::RubyLsp::GlobalState, item: T::Hash[::Symbol, T.untyped]).void } def initialize(global_state, item); end - # source://ruby-lsp//lib/ruby_lsp/requests/completion_resolve.rb#32 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion_resolve.rb:32 sig { override.returns(T::Hash[::Symbol, T.untyped]) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/completion_resolve.rb#82 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion_resolve.rb:82 sig { params(item: T::Hash[::Symbol, T.untyped]).returns(T::Hash[::Symbol, T.untyped]) } def keyword_resolve(item); end end @@ -5109,16 +5109,16 @@ end # set a limit on the number of documentation entries returned, to avoid rendering performance issues # https://github.com/Shopify/ruby-lsp/pull/1798 # -# source://ruby-lsp//lib/ruby_lsp/requests/completion_resolve.rb#21 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/completion_resolve.rb:21 RubyLsp::Requests::CompletionResolve::MAX_DOCUMENTATION_ENTRIES = T.let(T.unsafe(nil), Integer) # The [definition # request](https://microsoft.github.io/language-server-protocol/specification#textDocument_definition) jumps to the # definition of the symbol under the cursor. # -# source://ruby-lsp//lib/ruby_lsp/requests/definition.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/definition.rb:11 class RubyLsp::Requests::Definition < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/definition.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/definition.rb:13 sig do params( document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument), @@ -5130,7 +5130,7 @@ class RubyLsp::Requests::Definition < ::RubyLsp::Requests::Request end def initialize(document, global_state, position, dispatcher, sorbet_level); end - # source://ruby-lsp//lib/ruby_lsp/requests/definition.rb#95 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/definition.rb:95 sig do override .returns(T::Array[T.any(::LanguageServer::Protocol::Interface::Location, ::LanguageServer::Protocol::Interface::LocationLink)]) @@ -5139,7 +5139,7 @@ class RubyLsp::Requests::Definition < ::RubyLsp::Requests::Request private - # source://ruby-lsp//lib/ruby_lsp/requests/definition.rb#103 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/definition.rb:103 sig { params(position: T::Hash[::Symbol, T.untyped], target: T.nilable(::Prism::Node)).returns(T::Boolean) } def position_outside_target?(position, target); end end @@ -5148,28 +5148,28 @@ end # [diagnostics](https://microsoft.github.io/language-server-protocol/specification#textDocument_publishDiagnostics) # request informs the editor of RuboCop offenses for a given file. # -# source://ruby-lsp//lib/ruby_lsp/requests/diagnostics.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/diagnostics.rb:9 class RubyLsp::Requests::Diagnostics < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/diagnostics.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/diagnostics.rb:22 sig { params(global_state: ::RubyLsp::GlobalState, document: RubyLsp::RubyDocument).void } def initialize(global_state, document); end - # source://ruby-lsp//lib/ruby_lsp/requests/diagnostics.rb#31 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/diagnostics.rb:31 sig { override.returns(T.nilable(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::Diagnostic]))) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/diagnostics.rb#74 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/diagnostics.rb:74 sig { returns(T::Array[::LanguageServer::Protocol::Interface::Diagnostic]) } def syntax_error_diagnostics; end - # source://ruby-lsp//lib/ruby_lsp/requests/diagnostics.rb#51 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/diagnostics.rb:51 sig { returns(T::Array[::LanguageServer::Protocol::Interface::Diagnostic]) } def syntax_warning_diagnostics; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/diagnostics.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/diagnostics.rb:12 sig { returns(::LanguageServer::Protocol::Interface::DiagnosticRegistrationOptions) } def provider; end end @@ -5178,11 +5178,11 @@ end # This is a custom request to ask the server to parse a test file and discover all available examples in it. Add-ons # can augment the behavior through listeners, allowing them to handle discovery for different frameworks # -# source://ruby-lsp//lib/ruby_lsp/requests/discover_tests.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/discover_tests.rb:12 class RubyLsp::Requests::DiscoverTests < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/discover_tests.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/discover_tests.rb:16 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5192,7 +5192,7 @@ class RubyLsp::Requests::DiscoverTests < ::RubyLsp::Requests::Request end def initialize(global_state, document, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/discover_tests.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/discover_tests.rb:27 sig { override.returns(T::Array[::RubyLsp::Requests::Support::TestItem]) } def perform; end end @@ -5205,9 +5205,9 @@ end # For writable elements like constants or variables, their read/write occurrences should be highlighted differently. # This is achieved by sending different "kind" attributes to the editor (2 for read and 3 for write). # -# source://ruby-lsp//lib/ruby_lsp/requests/document_highlight.rb#15 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_highlight.rb:15 class RubyLsp::Requests::DocumentHighlight < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/document_highlight.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_highlight.rb:17 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5218,7 +5218,7 @@ class RubyLsp::Requests::DocumentHighlight < ::RubyLsp::Requests::Request end def initialize(global_state, document, position, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/document_highlight.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_highlight.rb:41 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::DocumentHighlight]) } def perform; end end @@ -5227,18 +5227,18 @@ end # makes `# source://PATH_TO_FILE#line` comments in a Ruby/RBI file clickable if the file exists. # When the user clicks the link, it'll open that location. # -# source://ruby-lsp//lib/ruby_lsp/requests/document_link.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_link.rb:11 class RubyLsp::Requests::DocumentLink < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/document_link.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_link.rb:20 sig { params(uri: ::URI::Generic, comments: T::Array[::Prism::Comment], dispatcher: ::Prism::Dispatcher).void } def initialize(uri, comments, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/document_link.rb#29 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_link.rb:29 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::DocumentLink]) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/document_link.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_link.rb:14 sig { returns(::LanguageServer::Protocol::Interface::DocumentLinkOptions) } def provider; end end @@ -5252,18 +5252,18 @@ end # In VS Code, symbol search known as 'Go To Symbol in Editor' and can be accessed with Ctrl/Cmd-Shift-O, # or by opening the command palette and inserting an `@` symbol. # -# source://ruby-lsp//lib/ruby_lsp/requests/document_symbol.rb#15 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_symbol.rb:15 class RubyLsp::Requests::DocumentSymbol < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/document_symbol.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_symbol.rb:24 sig { params(uri: ::URI::Generic, dispatcher: ::Prism::Dispatcher).void } def initialize(uri, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/document_symbol.rb#36 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_symbol.rb:36 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol]) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/document_symbol.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/document_symbol.rb:18 sig { returns(::LanguageServer::Protocol::Interface::DocumentSymbolOptions) } def provider; end end @@ -5272,18 +5272,18 @@ end # The [folding ranges](https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange) # request informs the editor of the ranges where and how code can be folded. # -# source://ruby-lsp//lib/ruby_lsp/requests/folding_ranges.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/folding_ranges.rb:10 class RubyLsp::Requests::FoldingRanges < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/folding_ranges.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/folding_ranges.rb:19 sig { params(comments: T::Array[::Prism::Comment], dispatcher: ::Prism::Dispatcher).void } def initialize(comments, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/folding_ranges.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/folding_ranges.rb:28 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::FoldingRange]) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/folding_ranges.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/folding_ranges.rb:13 sig { returns(::TrueClass) } def provider; end end @@ -5293,24 +5293,24 @@ end # request uses RuboCop to fix auto-correctable offenses in the document. This requires enabling format on save and # registering the ruby-lsp as the Ruby formatter. # -# source://ruby-lsp//lib/ruby_lsp/requests/formatting.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/formatting.rb:9 class RubyLsp::Requests::Formatting < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/formatting.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/formatting.rb:20 sig { params(global_state: ::RubyLsp::GlobalState, document: RubyLsp::RubyDocument).void } def initialize(global_state, document); end - # source://ruby-lsp//lib/ruby_lsp/requests/formatting.rb#29 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/formatting.rb:29 sig { override.returns(T.nilable(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::TextEdit]))) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/formatting.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/formatting.rb:14 sig { returns(::TrueClass) } def provider; end end end -# source://ruby-lsp//lib/ruby_lsp/requests/formatting.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/formatting.rb:10 class RubyLsp::Requests::Formatting::Error < ::StandardError; end # GoTo Relevant File is a custom [LSP @@ -5318,13 +5318,13 @@ class RubyLsp::Requests::Formatting::Error < ::StandardError; end # that navigates to the relevant file for the current document. # Currently, it supports source code file <> test file navigation. # -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:10 class RubyLsp::Requests::GoToRelevantFile < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:21 sig { params(path: ::String, workspace_path: ::String).void } def initialize(path, workspace_path); end - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:30 sig { override.returns(T::Array[::String]) } def perform; end @@ -5337,58 +5337,58 @@ class RubyLsp::Requests::GoToRelevantFile < ::RubyLsp::Requests::Request # it by the size of union between two sets (in our case the elements in each set # would be the parts of the path separated by path divider.) # - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#119 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:119 sig { params(candidates: T::Array[::String]).returns(T::Array[::String]) } def find_most_similar_with_jaccard(candidates); end - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#37 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:37 sig { returns(T::Array[::String]) } def find_relevant_paths; end - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#134 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:134 sig { params(path: ::String).returns(T::Set[::String]) } def get_dir_parts(path); end - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#84 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:84 sig { returns(T::Array[::String]) } def relevant_filename_patterns; end # Determine the search roots based on the closest test directories. # This scopes the search to reduce the number of files that need to be checked. # - # source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#52 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:52 sig { returns(::String) } def search_root; end end -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:11 RubyLsp::Requests::GoToRelevantFile::TEST_KEYWORDS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#15 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:15 RubyLsp::Requests::GoToRelevantFile::TEST_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#17 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:17 RubyLsp::Requests::GoToRelevantFile::TEST_PREFIX_GLOB = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:13 RubyLsp::Requests::GoToRelevantFile::TEST_PREFIX_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#18 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:18 RubyLsp::Requests::GoToRelevantFile::TEST_SUFFIX_GLOB = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/go_to_relevant_file.rb#14 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/go_to_relevant_file.rb:14 RubyLsp::Requests::GoToRelevantFile::TEST_SUFFIX_PATTERN = T.let(T.unsafe(nil), Regexp) # The [hover request](https://microsoft.github.io/language-server-protocol/specification#textDocument_hover) # displays the documentation for the symbol currently under the cursor. # -# source://ruby-lsp//lib/ruby_lsp/requests/hover.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/hover.rb:10 class RubyLsp::Requests::Hover < ::RubyLsp::Requests::Request extend T::Generic ResponseType = type_member { { fixed: T.nilable(::LanguageServer::Protocol::Interface::Hover) } } - # source://ruby-lsp//lib/ruby_lsp/requests/hover.rb#23 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/hover.rb:23 sig do params( document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument), @@ -5400,22 +5400,22 @@ class RubyLsp::Requests::Hover < ::RubyLsp::Requests::Request end def initialize(document, global_state, position, dispatcher, sorbet_level); end - # source://ruby-lsp//lib/ruby_lsp/requests/hover.rb#64 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/hover.rb:64 sig { override.returns(ResponseType) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/hover.rb#89 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/hover.rb:89 sig { params(position: T::Hash[::Symbol, T.untyped], target: T.nilable(::Prism::Node)).returns(T::Boolean) } def position_outside_target?(position, target); end - # source://ruby-lsp//lib/ruby_lsp/requests/hover.rb#82 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/hover.rb:82 sig { params(parent: T.nilable(::Prism::Node), target: T.nilable(::Prism::Node)).returns(T::Boolean) } def should_refine_target?(parent, target); end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/hover.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/hover.rb:17 sig { returns(::LanguageServer::Protocol::Interface::HoverOptions) } def provider; end end @@ -5425,9 +5425,9 @@ end # are labels added directly in the code that explicitly show the user something that might # otherwise just be implied. # -# source://ruby-lsp//lib/ruby_lsp/requests/inlay_hints.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/inlay_hints.rb:11 class RubyLsp::Requests::InlayHints < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/inlay_hints.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/inlay_hints.rb:20 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5437,12 +5437,12 @@ class RubyLsp::Requests::InlayHints < ::RubyLsp::Requests::Request end def initialize(global_state, document, dispatcher); end - # source://ruby-lsp//lib/ruby_lsp/requests/inlay_hints.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/inlay_hints.rb:30 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::InlayHint]) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/inlay_hints.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/inlay_hints.rb:14 sig { returns(::LanguageServer::Protocol::Interface::InlayHintOptions) } def provider; end end @@ -5451,9 +5451,9 @@ end # The [on type formatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_onTypeFormatting) # request formats code as the user is typing. For example, automatically adding `end` to class definitions. # -# source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:8 class RubyLsp::Requests::OnTypeFormatting < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:27 sig do params( document: RubyLsp::RubyDocument, @@ -5464,71 +5464,71 @@ class RubyLsp::Requests::OnTypeFormatting < ::RubyLsp::Requests::Request end def initialize(document, position, trigger_character, client_name); end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#43 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:43 sig { override.returns(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::TextEdit])) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#151 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:151 sig { params(text: ::String, position: T::Hash[::Symbol, T.untyped]).void } def add_edit_with_text(text, position = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#198 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:198 sig { void } def auto_indent_after_end_keyword; end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#185 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:185 sig { params(line: ::String).returns(::Integer) } def find_indentation(line); end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#146 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:146 sig { params(spaces: ::String).void } def handle_comment_line(spaces); end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#108 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:108 sig { void } def handle_curly_brace; end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#138 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:138 sig { params(delimiter: ::String).void } def handle_heredoc_end(delimiter); end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#77 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:77 sig { void } def handle_pipe; end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#116 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:116 sig { void } def handle_statement_end; end - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#164 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:164 sig { params(line: ::Integer, character: ::Integer).void } def move_cursor_to(line, character); end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#11 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:11 sig { returns(::LanguageServer::Protocol::Interface::DocumentOnTypeFormattingRegistrationOptions) } def provider; end end end -# source://ruby-lsp//lib/ruby_lsp/requests/on_type_formatting.rb#20 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/on_type_formatting.rb:20 RubyLsp::Requests::OnTypeFormatting::END_REGEXES = T.let(T.unsafe(nil), Array) # The # [prepare_rename](https://microsoft.github.io/language-server-protocol/specification#textDocument_prepareRename) # # request checks the validity of a rename operation at a given location. # -# source://ruby-lsp//lib/ruby_lsp/requests/prepare_rename.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_rename.rb:9 class RubyLsp::Requests::PrepareRename < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/prepare_rename.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_rename.rb:13 sig { params(document: RubyLsp::RubyDocument, position: T::Hash[::Symbol, T.untyped]).void } def initialize(document, position); end - # source://ruby-lsp//lib/ruby_lsp/requests/prepare_rename.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_rename.rb:21 sig { override.returns(T.nilable(::LanguageServer::Protocol::Interface::Range)) } def perform; end end @@ -5539,11 +5539,11 @@ end # # Currently only supports supertypes due to a limitation of the index. # -# source://ruby-lsp//lib/ruby_lsp/requests/prepare_type_hierarchy.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_type_hierarchy.rb:11 class RubyLsp::Requests::PrepareTypeHierarchy < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/prepare_type_hierarchy.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_type_hierarchy.rb:22 sig do params( document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument), @@ -5553,12 +5553,12 @@ class RubyLsp::Requests::PrepareTypeHierarchy < ::RubyLsp::Requests::Request end def initialize(document, index, position); end - # source://ruby-lsp//lib/ruby_lsp/requests/prepare_type_hierarchy.rb#32 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_type_hierarchy.rb:32 sig { override.returns(T.nilable(T::Array[::LanguageServer::Protocol::Interface::TypeHierarchyItem])) } def perform; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/prepare_type_hierarchy.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/prepare_type_hierarchy.rb:16 sig { returns(::LanguageServer::Protocol::Interface::TypeHierarchyOptions) } def provider; end end @@ -5567,9 +5567,9 @@ end # The [range formatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_rangeFormatting) # is used to format a selection or to format on paste. # -# source://ruby-lsp//lib/ruby_lsp/requests/range_formatting.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/range_formatting.rb:8 class RubyLsp::Requests::RangeFormatting < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/range_formatting.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/range_formatting.rb:10 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5579,7 +5579,7 @@ class RubyLsp::Requests::RangeFormatting < ::RubyLsp::Requests::Request end def initialize(global_state, document, params); end - # source://ruby-lsp//lib/ruby_lsp/requests/range_formatting.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/range_formatting.rb:20 sig { override.returns(T.nilable(T::Array[::LanguageServer::Protocol::Interface::TextEdit])) } def perform; end end @@ -5588,11 +5588,11 @@ end # [references](https://microsoft.github.io/language-server-protocol/specification#textDocument_references) # request finds all references for the selected symbol. # -# source://ruby-lsp//lib/ruby_lsp/requests/references.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/references.rb:9 class RubyLsp::Requests::References < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/references.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/references.rb:13 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5603,13 +5603,13 @@ class RubyLsp::Requests::References < ::RubyLsp::Requests::Request end def initialize(global_state, store, document, params); end - # source://ruby-lsp//lib/ruby_lsp/requests/references.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/references.rb:24 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::Location]) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/references.rb#115 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/references.rb:115 sig do params( target: ::RubyIndexer::ReferenceFinder::Target, @@ -5619,7 +5619,7 @@ class RubyLsp::Requests::References < ::RubyLsp::Requests::Request end def collect_references(target, parse_result, uri); end - # source://ruby-lsp//lib/ruby_lsp/requests/references.rb#85 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/references.rb:85 sig do params( target_node: T.any(::Prism::CallNode, ::Prism::ConstantPathNode, ::Prism::ConstantPathTargetNode, ::Prism::ConstantReadNode, ::Prism::DefNode, ::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableReadNode, ::Prism::InstanceVariableTargetNode, ::Prism::InstanceVariableWriteNode), @@ -5633,11 +5633,11 @@ end # [rename](https://microsoft.github.io/language-server-protocol/specification#textDocument_rename) # request renames all instances of a symbol in a document. # -# source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:9 class RubyLsp::Requests::Rename < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:22 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5648,13 +5648,13 @@ class RubyLsp::Requests::Rename < ::RubyLsp::Requests::Request end def initialize(global_state, store, document, params); end - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#33 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:33 sig { override.returns(T.nilable(::LanguageServer::Protocol::Interface::WorkspaceEdit)) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#167 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:167 sig do params( name: ::String, @@ -5663,7 +5663,7 @@ class RubyLsp::Requests::Rename < ::RubyLsp::Requests::Request end def adjust_reference_for_edit(name, reference); end - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#156 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:156 sig do params( target: ::RubyIndexer::ReferenceFinder::Target, @@ -5674,7 +5674,7 @@ class RubyLsp::Requests::Rename < ::RubyLsp::Requests::Request end def collect_changes(target, ast, name, uri); end - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#93 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:93 sig do params( fully_qualified_name: ::String, @@ -5683,7 +5683,7 @@ class RubyLsp::Requests::Rename < ::RubyLsp::Requests::Request end def collect_file_renames(fully_qualified_name, document_changes); end - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#129 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:129 sig do params( target: ::RubyIndexer::ReferenceFinder::Target, @@ -5692,30 +5692,30 @@ class RubyLsp::Requests::Rename < ::RubyLsp::Requests::Request end def collect_text_edits(target, name); end - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#177 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:177 sig { params(constant_name: ::String).returns(::String) } def file_from_constant_name(constant_name); end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:16 sig { returns(::LanguageServer::Protocol::Interface::RenameOptions) } def provider; end end end -# source://ruby-lsp//lib/ruby_lsp/requests/rename.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/rename.rb:12 class RubyLsp::Requests::Rename::InvalidNameError < ::StandardError; end # @abstract # -# source://ruby-lsp//lib/ruby_lsp/requests/request.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:6 class RubyLsp::Requests::Request abstract! # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/requests/request.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:15 sig { abstract.returns(T.untyped) } def perform; end @@ -5723,20 +5723,20 @@ class RubyLsp::Requests::Request # Checks if a location covers a position # - # source://ruby-lsp//lib/ruby_lsp/requests/request.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:34 sig { params(location: ::Prism::Location, position: T.untyped).returns(T::Boolean) } def cover?(location, position); end # Checks if a given location covers the position requested # - # source://ruby-lsp//lib/ruby_lsp/requests/request.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:78 sig { params(location: T.nilable(::Prism::Location), position: T::Hash[::Symbol, T.untyped]).returns(T::Boolean) } def covers_position?(location, position); end # Signals to the client that the request should be delegated to the language server server for the host language # in ERB files # - # source://ruby-lsp//lib/ruby_lsp/requests/request.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:24 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5757,7 +5757,7 @@ class RubyLsp::Requests::Request # #^ Going to definition here should go to Foo # ``` # - # source://ruby-lsp//lib/ruby_lsp/requests/request.rb#61 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:61 sig do params( target: ::Prism::Node, @@ -5768,7 +5768,7 @@ class RubyLsp::Requests::Request def determine_target(target, parent, position); end end -# source://ruby-lsp//lib/ruby_lsp/requests/request.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/request.rb:11 class RubyLsp::Requests::Request::InvalidFormatter < ::StandardError; end # The [selection ranges](https://microsoft.github.io/language-server-protocol/specification#textDocument_selectionRange) @@ -5779,15 +5779,15 @@ class RubyLsp::Requests::Request::InvalidFormatter < ::StandardError; end # # Note that if using VSCode Neovim, you will need to be in Insert mode for this to work correctly. # -# source://ruby-lsp//lib/ruby_lsp/requests/selection_ranges.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/selection_ranges.rb:13 class RubyLsp::Requests::SelectionRanges < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/selection_ranges.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/selection_ranges.rb:17 sig { params(document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument)).void } def initialize(document); end - # source://ruby-lsp//lib/ruby_lsp/requests/selection_ranges.rb#26 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/selection_ranges.rb:26 sig { override.returns(T.all(::Object, T::Array[::RubyLsp::Requests::Support::SelectionRange])) } def perform; end end @@ -5796,9 +5796,9 @@ end # highlighting](https://microsoft.github.io/language-server-protocol/specification#textDocument_semanticTokens) # request informs the editor of the correct token types to provide consistent and accurate highlighting for themes. # -# source://ruby-lsp//lib/ruby_lsp/requests/semantic_highlighting.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/semantic_highlighting.rb:11 class RubyLsp::Requests::SemanticHighlighting < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/semantic_highlighting.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/semantic_highlighting.rb:78 sig do params( global_state: ::RubyLsp::GlobalState, @@ -5810,7 +5810,7 @@ class RubyLsp::Requests::SemanticHighlighting < ::RubyLsp::Requests::Request end def initialize(global_state, dispatcher, document, previous_result_id, range: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/requests/semantic_highlighting.rb#96 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/semantic_highlighting.rb:96 sig do override .returns(T.any(::LanguageServer::Protocol::Interface::SemanticTokens, ::LanguageServer::Protocol::Interface::SemanticTokensDelta)) @@ -5821,7 +5821,7 @@ class RubyLsp::Requests::SemanticHighlighting < ::RubyLsp::Requests::Request # The compute_delta method receives the current semantic tokens and the previous semantic tokens and then tries # to compute the smallest possible semantic token edit that will turn previous into current # - # source://ruby-lsp//lib/ruby_lsp/requests/semantic_highlighting.rb#29 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/semantic_highlighting.rb:29 sig do params( current_tokens: T::Array[::Integer], @@ -5831,11 +5831,11 @@ class RubyLsp::Requests::SemanticHighlighting < ::RubyLsp::Requests::Request end def compute_delta(current_tokens, previous_tokens, result_id); end - # source://ruby-lsp//lib/ruby_lsp/requests/semantic_highlighting.rb#67 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/semantic_highlighting.rb:67 sig { returns(::Integer) } def next_result_id; end - # source://ruby-lsp//lib/ruby_lsp/requests/semantic_highlighting.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/semantic_highlighting.rb:14 sig { returns(::LanguageServer::Protocol::Interface::SemanticTokensRegistrationOptions) } def provider; end end @@ -5845,19 +5845,19 @@ end # request](https://microsoft.github.io/language-server-protocol/specification#requestMessage) that displays the AST # for the current document or for the current selection in a new tab. # -# source://ruby-lsp//lib/ruby_lsp/requests/show_syntax_tree.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/show_syntax_tree.rb:9 class RubyLsp::Requests::ShowSyntaxTree < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/show_syntax_tree.rb#11 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/show_syntax_tree.rb:11 sig { params(document: RubyLsp::RubyDocument, range: T.nilable(T::Hash[::Symbol, T.untyped])).void } def initialize(document, range); end - # source://ruby-lsp//lib/ruby_lsp/requests/show_syntax_tree.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/show_syntax_tree.rb:20 sig { override.returns(::String) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/show_syntax_tree.rb#31 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/show_syntax_tree.rb:31 sig { returns(::String) } def ast_for_range; end end @@ -5866,9 +5866,9 @@ end # request](https://microsoft.github.io/language-server-protocol/specification#textDocument_signatureHelp) displays # information about the parameters of a method as you type an invocation. # -# source://ruby-lsp//lib/ruby_lsp/requests/signature_help.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/signature_help.rb:11 class RubyLsp::Requests::SignatureHelp < ::RubyLsp::Requests::Request - # source://ruby-lsp//lib/ruby_lsp/requests/signature_help.rb#23 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/signature_help.rb:23 sig do params( document: T.any(RubyLsp::ERBDocument, RubyLsp::RubyDocument), @@ -5881,7 +5881,7 @@ class RubyLsp::Requests::SignatureHelp < ::RubyLsp::Requests::Request end def initialize(document, global_state, position, context, dispatcher, sorbet_level); end - # source://ruby-lsp//lib/ruby_lsp/requests/signature_help.rb#46 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/signature_help.rb:46 sig { override.returns(T.nilable(::LanguageServer::Protocol::Interface::SignatureHelp)) } def perform; end @@ -5894,7 +5894,7 @@ class RubyLsp::Requests::SignatureHelp < ::RubyLsp::Requests::Request # # In that case, we want to provide signature help for `foo` and not `another_method_call`. # - # source://ruby-lsp//lib/ruby_lsp/requests/signature_help.rb#62 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/signature_help.rb:62 sig do params( target: T.nilable(::Prism::Node), @@ -5904,46 +5904,46 @@ class RubyLsp::Requests::SignatureHelp < ::RubyLsp::Requests::Request end def adjust_for_nested_target(target, parent, position); end - # source://ruby-lsp//lib/ruby_lsp/requests/signature_help.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/signature_help.rb:78 sig { params(node: ::Prism::Node, position: T::Hash[::Symbol, T.untyped]).returns(T::Boolean) } def node_covers?(node, position); end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/signature_help.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/signature_help.rb:14 sig { returns(::LanguageServer::Protocol::Interface::SignatureHelpOptions) } def provider; end end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/selection_range.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/selection_range.rb:6 module RubyLsp::Requests::Support; end -# source://ruby-lsp//lib/ruby_lsp/requests/support/annotation.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/annotation.rb:7 class RubyLsp::Requests::Support::Annotation - # source://ruby-lsp//lib/ruby_lsp/requests/support/annotation.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/annotation.rb:9 sig { params(arity: T.any(::Integer, T::Range[::Integer]), receiver: T::Boolean).void } def initialize(arity:, receiver: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/annotation.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/annotation.rb:15 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def match?(node); end private - # source://ruby-lsp//lib/ruby_lsp/requests/support/annotation.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/annotation.rb:28 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def arity_matches?(node); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/annotation.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/annotation.rb:22 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def receiver_matches?(node); end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:7 module RubyLsp::Requests::Support::Common requires_ancestor { Kernel } - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#71 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:71 sig do params( title: ::String, @@ -5953,7 +5953,7 @@ module RubyLsp::Requests::Support::Common end def categorized_markdown_from_index_entries(title, entries, max_entries = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#120 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:120 sig do params( node: T.any(::Prism::CallNode, ::Prism::ConstantPathNode, ::Prism::ConstantPathTargetNode, ::Prism::ConstantReadNode, ::Prism::MissingNode) @@ -5961,7 +5961,7 @@ module RubyLsp::Requests::Support::Common end def constant_name(node); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#41 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:41 sig do params( node: ::Prism::Node, @@ -5977,15 +5977,15 @@ module RubyLsp::Requests::Support::Common # name. For example, for `Foo::Bar::Baz`, this method will invoke the block with `Foo`, then `Bar` and finally # `Baz`. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#137 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:137 sig { params(node: ::Prism::Node, block: T.proc.params(part: ::Prism::Node).void).void } def each_constant_path_part(node, &block); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#147 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:147 sig { params(entry: ::RubyIndexer::Entry).returns(::Integer) } def kind_for_entry(entry); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#104 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:104 sig do params( title: ::String, @@ -5996,15 +5996,15 @@ module RubyLsp::Requests::Support::Common end def markdown_from_index_entries(title, entries, max_entries = T.unsafe(nil), extra_links: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#125 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:125 sig { params(node: T.any(::Prism::ClassNode, ::Prism::ModuleNode)).returns(T.nilable(::String)) } def namespace_constant_name(node); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#56 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:56 sig { params(file_path: ::String).returns(T.nilable(T::Boolean)) } def not_in_dependencies?(file_path); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:30 sig do params( location: T.any(::Prism::Location, ::RubyIndexer::Location) @@ -6012,25 +6012,25 @@ module RubyLsp::Requests::Support::Common end def range_from_location(location); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:17 sig { params(node: ::Prism::Node).returns(::LanguageServer::Protocol::Interface::Range) } def range_from_node(node); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/common.rb#65 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/common.rb:65 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def self_receiver?(node); end end # Empty module to avoid the runtime component. This is an interface defined in sorbet/rbi/shims/ruby_lsp.rbi # -# source://ruby-lsp//lib/ruby_lsp/requests/support/formatter.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/formatter.rb:8 module RubyLsp::Requests::Support::Formatter interface! # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/requests/support/formatter.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/formatter.rb:27 sig do abstract .params( @@ -6043,14 +6043,14 @@ module RubyLsp::Requests::Support::Formatter # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/requests/support/formatter.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/formatter.rb:15 sig { abstract.params(uri: ::URI::Generic, document: RubyLsp::RubyDocument).returns(T.nilable(::String)) } def run_formatting(uri, document); end # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/requests/support/formatter.rb#21 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/formatter.rb:21 sig do abstract .params( @@ -6062,40 +6062,40 @@ module RubyLsp::Requests::Support::Formatter def run_range_formatting(uri, source, base_indentation); end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#34 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:34 class RubyLsp::Requests::Support::InternalRuboCopError < ::StandardError - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#42 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:42 sig { params(rubocop_error: T.any(::RuboCop::ErrorWithAnalyzedFileLocation, ::StandardError)).void } def initialize(rubocop_error); end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#35 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:35 RubyLsp::Requests::Support::InternalRuboCopError::MESSAGE = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:7 class RubyLsp::Requests::Support::RuboCopDiagnostic # TODO: avoid passing document once we have alternative ways to get at # encoding and file source # - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:27 sig { params(document: RubyLsp::RubyDocument, offense: ::RuboCop::Cop::Offense, uri: ::URI::Generic).void } def initialize(document, offense, uri); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:34 sig { returns(T::Array[::LanguageServer::Protocol::Interface::CodeAction]) } def to_lsp_code_actions; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#44 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:44 sig { params(config: ::RuboCop::Config).returns(::LanguageServer::Protocol::Interface::Diagnostic) } def to_lsp_diagnostic(config); end private - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#99 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:99 sig { returns(::LanguageServer::Protocol::Interface::CodeAction) } def autocorrect_action; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#86 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:86 sig { params(config: ::RuboCop::Config).returns(T.nilable(::LanguageServer::Protocol::Interface::CodeDescription)) } def code_description(config); end @@ -6103,50 +6103,50 @@ class RubyLsp::Requests::Support::RuboCopDiagnostic # as `correctable?` to prevent annoying changes while typing. Instead check if # a corrector is present. If it is, then that means some code transformation can be applied. # - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#193 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:193 sig { returns(T::Boolean) } def correctable?; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#132 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:132 sig { returns(::LanguageServer::Protocol::Interface::CodeAction) } def disable_line_action; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#174 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:174 sig { params(line: ::String).returns(::Integer) } def length_of_line(line); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#151 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:151 sig { returns(T::Array[::LanguageServer::Protocol::Interface::TextEdit]) } def line_disable_comment; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#74 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:74 sig { returns(::String) } def message; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#119 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:119 sig { returns(T::Array[::LanguageServer::Protocol::Interface::TextEdit]) } def offense_replacements; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#81 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:81 sig { returns(T.nilable(::Integer)) } def severity; end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#17 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:17 RubyLsp::Requests::Support::RuboCopDiagnostic::ENHANCED_DOC_URL = T.let(T.unsafe(nil), TrueClass) -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_diagnostic.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_diagnostic.rb:8 RubyLsp::Requests::Support::RuboCopDiagnostic::RUBOCOP_TO_LSP_SEVERITY = T.let(T.unsafe(nil), Hash) -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_formatter.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_formatter.rb:11 class RubyLsp::Requests::Support::RuboCopFormatter include ::RubyLsp::Requests::Support::Formatter - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_formatter.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_formatter.rb:15 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_formatter.rb#40 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_formatter.rb:40 sig do override .params( @@ -6156,13 +6156,13 @@ class RubyLsp::Requests::Support::RuboCopFormatter end def run_diagnostic(uri, document); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_formatter.rb#23 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_formatter.rb:23 sig { override.params(uri: ::URI::Generic, document: RubyLsp::RubyDocument).returns(T.nilable(::String)) } def run_formatting(uri, document); end # RuboCop does not support range formatting # - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_formatter.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_formatter.rb:34 sig do override .params( @@ -6174,64 +6174,64 @@ class RubyLsp::Requests::Support::RuboCopFormatter def run_range_formatting(uri, source, base_indentation); end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#54 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:54 class RubyLsp::Requests::Support::RuboCopRunner < ::RuboCop::Runner - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#79 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:79 sig { params(args: ::String).void } def initialize(*args); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#68 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:68 sig { returns(::RuboCop::Config) } def config_for_working_directory; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#128 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:128 sig { returns(::String) } def formatted_source; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#65 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:65 sig { returns(T::Array[::RuboCop::Cop::Offense]) } def offenses; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#97 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:97 sig { params(path: ::String, contents: ::String, prism_result: ::Prism::ParseLexResult).void } def run(path, contents, prism_result); end private - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#149 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:149 sig { params(_file: ::String, offenses: T::Array[::RuboCop::Cop::Offense]).void } def file_finished(_file, offenses); end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#134 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:134 sig { params(cop_name: ::String).returns(T.nilable(T.class_of(RuboCop::Cop::Base))) } def find_cop_by_name(cop_name); end private - # source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#141 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:141 sig { returns(T::Hash[::String, [T.class_of(RuboCop::Cop::Base)]]) } def cop_registry; end end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#55 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:55 class RubyLsp::Requests::Support::RuboCopRunner::ConfigurationError < ::StandardError; end -# source://ruby-lsp//lib/ruby_lsp/requests/support/rubocop_runner.rb#57 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/rubocop_runner.rb:57 RubyLsp::Requests::Support::RuboCopRunner::DEFAULT_ARGS = T.let(T.unsafe(nil), Array) -# source://ruby-lsp//lib/ruby_lsp/requests/support/selection_range.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/selection_range.rb:7 class RubyLsp::Requests::Support::SelectionRange < ::LanguageServer::Protocol::Interface::SelectionRange - # source://ruby-lsp//lib/ruby_lsp/requests/support/selection_range.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/selection_range.rb:9 sig { params(position: T::Hash[::Symbol, T.untyped]).returns(T::Boolean) } def cover?(position); end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/sorbet.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/sorbet.rb:7 class RubyLsp::Requests::Support::Sorbet class << self - # source://ruby-lsp//lib/ruby_lsp/requests/support/sorbet.rb#39 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/sorbet.rb:39 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def annotation?(node); end end @@ -6243,9 +6243,9 @@ end # Note: this test item object can only represent test groups or examples discovered inside files. It cannot be # used to represent test files, directories or workspaces # -# source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:12 class RubyLsp::Requests::Support::TestItem - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#23 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:23 sig do params( id: ::String, @@ -6257,34 +6257,34 @@ class RubyLsp::Requests::Support::TestItem end def initialize(id, label, uri, range, framework:); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#38 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:38 sig { params(id: ::String).returns(T.nilable(::RubyLsp::Requests::Support::TestItem)) } def [](id); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#33 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:33 sig { params(item: ::RubyLsp::Requests::Support::TestItem).void } def add(item); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#43 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:43 sig { returns(T::Array[::RubyLsp::Requests::Support::TestItem]) } def children; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:14 sig { returns(::String) } def id; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:14 def label; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#20 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:20 sig { returns(::LanguageServer::Protocol::Interface::Range) } def range; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#48 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:48 sig { returns(T::Hash[::Symbol, T.untyped]) } def to_hash; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/test_item.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/test_item.rb:17 sig { returns(::URI::Generic) } def uri; end end @@ -6293,21 +6293,21 @@ end # request](https://microsoft.github.io/language-server-protocol/specification#typeHierarchy_supertypes) # displays the list of ancestors (supertypes) for the selected type. # -# source://ruby-lsp//lib/ruby_lsp/requests/type_hierarchy_supertypes.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/type_hierarchy_supertypes.rb:9 class RubyLsp::Requests::TypeHierarchySupertypes < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/type_hierarchy_supertypes.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/type_hierarchy_supertypes.rb:13 sig { params(index: ::RubyIndexer::Index, item: T::Hash[::Symbol, T.untyped]).void } def initialize(index, item); end - # source://ruby-lsp//lib/ruby_lsp/requests/type_hierarchy_supertypes.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/type_hierarchy_supertypes.rb:22 sig { override.returns(T.nilable(T::Array[::LanguageServer::Protocol::Interface::TypeHierarchyItem])) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/type_hierarchy_supertypes.rb#63 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/type_hierarchy_supertypes.rb:63 sig { params(entry: ::RubyIndexer::Entry).returns(::LanguageServer::Protocol::Interface::TypeHierarchyItem) } def hierarchy_item(entry); end end @@ -6316,134 +6316,134 @@ end # request allows fuzzy searching declarations in the entire project. On VS Code, use CTRL/CMD + T to search for # symbols. # -# source://ruby-lsp//lib/ruby_lsp/requests/workspace_symbol.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/workspace_symbol.rb:9 class RubyLsp::Requests::WorkspaceSymbol < ::RubyLsp::Requests::Request include ::RubyLsp::Requests::Support::Common - # source://ruby-lsp//lib/ruby_lsp/requests/workspace_symbol.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/workspace_symbol.rb:13 sig { params(global_state: ::RubyLsp::GlobalState, query: T.nilable(::String)).void } def initialize(global_state, query); end - # source://ruby-lsp//lib/ruby_lsp/requests/workspace_symbol.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/workspace_symbol.rb:22 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::WorkspaceSymbol]) } def perform; end private - # source://ruby-lsp//lib/ruby_lsp/requests/workspace_symbol.rb#50 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/workspace_symbol.rb:50 sig { returns(T::Array[::RubyIndexer::Entry]) } def fuzzy_search; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/response_builder.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/response_builder.rb:5 module RubyLsp::ResponseBuilders; end -# source://ruby-lsp//lib/ruby_lsp/response_builders/collection_response_builder.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/collection_response_builder.rb:6 class RubyLsp::ResponseBuilders::CollectionResponseBuilder < ::RubyLsp::ResponseBuilders::ResponseBuilder extend T::Generic ResponseType = type_member { { upper: Object } } - # source://ruby-lsp//lib/ruby_lsp/response_builders/collection_response_builder.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/collection_response_builder.rb:12 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/collection_response_builder.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/collection_response_builder.rb:18 sig { params(item: ResponseType).void } def <<(item); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/collection_response_builder.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/collection_response_builder.rb:24 sig { override.returns(T::Array[ResponseType]) } def response; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:6 class RubyLsp::ResponseBuilders::DocumentSymbol < ::RubyLsp::ResponseBuilders::ResponseBuilder extend T::Generic ResponseType = type_member { { fixed: T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol] } } - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:22 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#32 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:32 def <<(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#42 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:42 sig do returns(T.any(::LanguageServer::Protocol::Interface::DocumentSymbol, ::RubyLsp::ResponseBuilders::DocumentSymbol::SymbolHierarchyRoot)) end def last; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#35 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:35 sig { returns(T.nilable(::LanguageServer::Protocol::Interface::DocumentSymbol)) } def pop; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:28 sig { params(symbol: ::LanguageServer::Protocol::Interface::DocumentSymbol).void } def push(symbol); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#48 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:48 sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol]) } def response; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:11 class RubyLsp::ResponseBuilders::DocumentSymbol::SymbolHierarchyRoot - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#16 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:16 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/document_symbol.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/document_symbol.rb:13 sig { returns(T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol]) } def children; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/hover.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/hover.rb:6 class RubyLsp::ResponseBuilders::Hover < ::RubyLsp::ResponseBuilders::ResponseBuilder extend T::Generic ResponseType = type_member { { fixed: String } } - # source://ruby-lsp//lib/ruby_lsp/response_builders/hover.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/hover.rb:12 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/hover.rb#31 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/hover.rb:31 sig { returns(T::Boolean) } def empty?; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/hover.rb#23 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/hover.rb:23 sig { params(content: ::String, category: ::Symbol).void } def push(content, category:); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/hover.rb#37 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/hover.rb:37 sig { override.returns(ResponseType) } def response; end end # @abstract # -# source://ruby-lsp//lib/ruby_lsp/response_builders/response_builder.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/response_builder.rb:6 class RubyLsp::ResponseBuilders::ResponseBuilder abstract! # @abstract # @raise [AbstractMethodInvokedError] # - # source://ruby-lsp//lib/ruby_lsp/response_builders/response_builder.rb#13 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/response_builder.rb:13 sig { abstract.returns(T.anything) } def response; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:6 class RubyLsp::ResponseBuilders::SemanticHighlighting < ::RubyLsp::ResponseBuilders::ResponseBuilder extend T::Generic ResponseType = type_member { { fixed: LanguageServer::Protocol::Interface::SemanticTokens } } - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#53 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:53 sig do params( code_units_cache: T.any(::Prism::CodeUnitsCache, T.proc.params(arg0: ::Integer).returns(::Integer)) @@ -6451,26 +6451,26 @@ class RubyLsp::ResponseBuilders::SemanticHighlighting < ::RubyLsp::ResponseBuild end def initialize(code_units_cache); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#60 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:60 sig { params(location: ::Prism::Location, type: ::Symbol, modifiers: T::Array[::Symbol]).void } def add_token(location, type, modifiers = T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#85 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:85 sig { returns(T.nilable(::RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticToken)) } def last; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#76 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:76 sig { params(location: ::Prism::Location).returns(T::Boolean) } def last_token_matches?(location); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#91 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:91 sig { override.returns(T::Array[::RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticToken]) } def response; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#95 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:95 class RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticToken - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#112 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:112 sig do params( start_line: ::Integer, @@ -6482,51 +6482,51 @@ class RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticToken end def initialize(start_line:, start_code_unit_column:, length:, type:, modifier:); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#103 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:103 sig { returns(::Integer) } def length; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#109 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:109 sig { returns(T::Array[::Integer]) } def modifier; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#129 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:129 sig { params(modifier_symbols: T::Array[::Symbol]).void } def replace_modifier(modifier_symbols); end # @raise [UndefinedTokenType] # - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#121 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:121 sig { params(type_symbol: ::Symbol).void } def replace_type(type_symbol); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#100 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:100 sig { returns(::Integer) } def start_code_unit_column; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#97 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:97 sig { returns(::Integer) } def start_line; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#106 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:106 sig { returns(::Integer) } def type; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#139 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:139 class RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticTokenEncoder - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#141 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:141 sig { void } def initialize; end # For more information on how each number is calculated, read: # https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens # - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#172 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:172 sig { params(token: ::RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticToken).returns(T::Array[::Integer]) } def compute_delta(token); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#147 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:147 sig do params( tokens: T::Array[::RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticToken] @@ -6539,114 +6539,114 @@ class RubyLsp::ResponseBuilders::SemanticHighlighting::SemanticTokenEncoder # 0b1000000000, as :default_library is the 10th bit according # to the token modifiers index map. # - # source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#194 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:194 sig { params(modifiers: T::Array[::Integer]).returns(::Integer) } def encode_modifiers(modifiers); end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#39 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:39 RubyLsp::ResponseBuilders::SemanticHighlighting::TOKEN_MODIFIERS = T.let(T.unsafe(nil), Hash) -# source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:13 RubyLsp::ResponseBuilders::SemanticHighlighting::TOKEN_TYPES = T.let(T.unsafe(nil), Hash) -# source://ruby-lsp//lib/ruby_lsp/response_builders/semantic_highlighting.rb#11 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/semantic_highlighting.rb:11 class RubyLsp::ResponseBuilders::SemanticHighlighting::UndefinedTokenType < ::StandardError; end -# source://ruby-lsp//lib/ruby_lsp/response_builders/signature_help.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/signature_help.rb:6 class RubyLsp::ResponseBuilders::SignatureHelp < ::RubyLsp::ResponseBuilders::ResponseBuilder extend T::Generic ResponseType = type_member { { fixed: T.nilable(::LanguageServer::Protocol::Interface::SignatureHelp) } } - # source://ruby-lsp//lib/ruby_lsp/response_builders/signature_help.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/signature_help.rb:12 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/signature_help.rb#18 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/signature_help.rb:18 sig { params(signature_help: ResponseType).void } def replace(signature_help); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/signature_help.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/signature_help.rb:24 sig { override.returns(ResponseType) } def response; end end -# source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:6 class RubyLsp::ResponseBuilders::TestCollection < ::RubyLsp::ResponseBuilders::ResponseBuilder extend T::Generic ResponseType = type_member { { fixed: RubyLsp::Requests::Support::TestItem } } - # source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:15 sig { void } def initialize; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#52 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:52 sig { params(id: ::String).returns(T.nilable(ResponseType)) } def [](id); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#22 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:22 sig { params(item: ResponseType).void } def add(item); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:27 sig { params(item: ResponseType).void } def add_code_lens(item); end - # source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:12 sig { returns(T::Array[::LanguageServer::Protocol::Interface::CodeLens]) } def code_lens; end - # source://ruby-lsp//lib/ruby_lsp/response_builders/test_collection.rb#58 + # pkg:gem/ruby-lsp#lib/ruby_lsp/response_builders/test_collection.rb:58 sig { override.returns(T::Array[ResponseType]) } def response; end end # The final result of running a request before its IO is finalized # -# source://ruby-lsp//lib/ruby_lsp/utils.rb#232 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:232 class RubyLsp::Result - # source://ruby-lsp//lib/ruby_lsp/utils.rb#240 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:240 sig { params(id: ::Integer, response: T.untyped).void } def initialize(id:, response:); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#237 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:237 sig { returns(::Integer) } def id; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#234 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:234 sig { returns(T.untyped) } def response; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#246 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:246 sig { returns(T::Hash[::Symbol, T.untyped]) } def to_hash; end end -# source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:5 class RubyLsp::RubyDocument < ::RubyLsp::Document extend T::Generic ParseResultType = type_member { { fixed: Prism::ParseLexResult } } - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#123 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:123 sig { params(source: ::String, version: ::Integer, uri: ::URI::Generic, global_state: ::RubyLsp::GlobalState).void } def initialize(source:, version:, uri:, global_state:); end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#141 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:141 sig { returns(::Prism::ProgramNode) } def ast; end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#120 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:120 sig { returns(T.any(::Prism::CodeUnitsCache, T.proc.params(arg0: ::Integer).returns(::Integer))) } def code_units_cache; end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#153 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:153 sig { override.returns(::Symbol) } def language_id; end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#158 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:158 sig do params( range: T::Hash[::Symbol, T.untyped], @@ -6655,7 +6655,7 @@ class RubyLsp::RubyDocument < ::RubyLsp::Document end def locate_first_within_range(range, node_types: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#186 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:186 sig do params( position: T::Hash[::Symbol, T.untyped], @@ -6664,30 +6664,30 @@ class RubyLsp::RubyDocument < ::RubyLsp::Document end def locate_node(position, node_types: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#131 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:131 sig { override.returns(T::Boolean) } def parse!; end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#198 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:198 sig { returns(T::Boolean) } def should_index?; end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#147 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:147 sig { override.returns(T::Boolean) } def syntax_error?; end private - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#209 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:209 sig { returns(T::Boolean) } def last_edit_may_change_declarations?; end - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#223 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:223 sig { params(position: T::Hash[::Symbol, ::Integer]).returns(T::Boolean) } def position_may_impact_declarations?(position); end class << self - # source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#28 + # pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:28 sig do params( node: ::Prism::Node, @@ -6700,83 +6700,83 @@ class RubyLsp::RubyDocument < ::RubyLsp::Document end end -# source://ruby-lsp//lib/ruby_lsp/ruby_document.rb#10 +# pkg:gem/ruby-lsp#lib/ruby_lsp/ruby_document.rb:10 RubyLsp::RubyDocument::METHODS_THAT_CHANGE_DECLARATIONS = T.let(T.unsafe(nil), Array) # The path to the `static_docs` directory, where we keep long-form static documentation # -# source://ruby-lsp//lib/ruby_lsp/static_docs.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/static_docs.rb:6 RubyLsp::STATIC_DOCS_PATH = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/scope.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:5 class RubyLsp::Scope - # source://ruby-lsp//lib/ruby_lsp/scope.rb#10 + # pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:10 sig { params(parent: T.nilable(::RubyLsp::Scope)).void } def initialize(parent = T.unsafe(nil)); end # Add a new local to this scope. The types should only be `:parameter` or `:variable` # - # source://ruby-lsp//lib/ruby_lsp/scope.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:19 sig { params(name: T.any(::String, ::Symbol), type: ::Symbol).void } def add(name, type); end - # source://ruby-lsp//lib/ruby_lsp/scope.rb#24 + # pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:24 sig { params(name: T.any(::String, ::Symbol)).returns(T.nilable(::RubyLsp::Scope::Local)) } def lookup(name); end - # source://ruby-lsp//lib/ruby_lsp/scope.rb#7 + # pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:7 sig { returns(T.nilable(::RubyLsp::Scope)) } def parent; end end -# source://ruby-lsp//lib/ruby_lsp/scope.rb#33 +# pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:33 class RubyLsp::Scope::Local - # source://ruby-lsp//lib/ruby_lsp/scope.rb#38 + # pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:38 sig { params(type: ::Symbol).void } def initialize(type); end - # source://ruby-lsp//lib/ruby_lsp/scope.rb#35 + # pkg:gem/ruby-lsp#lib/ruby_lsp/scope.rb:35 sig { returns(::Symbol) } def type; end end -# source://ruby-lsp//lib/ruby_lsp/server.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:5 class RubyLsp::Server < ::RubyLsp::BaseServer # Only for testing # - # source://ruby-lsp//lib/ruby_lsp/server.rb#8 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:8 sig { returns(::RubyLsp::GlobalState) } def global_state; end - # source://ruby-lsp//lib/ruby_lsp/server.rb#167 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:167 sig { params(include_project_addons: T::Boolean).void } def load_addons(include_project_addons: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:12 sig { override.params(message: T::Hash[::Symbol, T.untyped]).void } def process_message(message); end # Process responses to requests that were sent to the client # - # source://ruby-lsp//lib/ruby_lsp/server.rb#159 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:159 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def process_response(message); end private - # source://ruby-lsp//lib/ruby_lsp/server.rb#1276 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1276 sig { params(id: ::String, title: ::String, percentage: ::Integer).void } def begin_progress(id, title, percentage: T.unsafe(nil)); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1306 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1306 sig { void } def check_formatter_is_available; end - # source://ruby-lsp//lib/ruby_lsp/server.rb#856 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:856 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def code_action_resolve(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1505 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1505 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def code_lens_resolve(message); end @@ -6784,40 +6784,40 @@ class RubyLsp::Server < ::RubyLsp::BaseServer # method returns the created thread is to that we can join it in tests and avoid flakiness. The implementation is # not supposed to rely on the return of this method # - # source://ruby-lsp//lib/ruby_lsp/server.rb#1380 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1380 sig { params(message: T::Hash[::Symbol, T.untyped]).returns(T.nilable(::Thread)) } def compose_bundle(message); end # Returns internal state information for debugging purposes # - # source://ruby-lsp//lib/ruby_lsp/server.rb#1449 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1449 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def diagnose_state(message); end # Discovers all available test groups and examples in a given file taking into consideration the merged response of # all add-ons # - # source://ruby-lsp//lib/ruby_lsp/server.rb#1469 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1469 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def discover_tests(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1296 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1296 sig { params(id: ::String).void } def end_progress(id); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1140 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1140 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def experimental_go_to_relevant_file(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1092 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1092 sig { params(uri: ::URI::Generic).void } def handle_rubocop_config_change(uri); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1065 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1065 sig { params(index: ::RubyIndexer::Index, file_path: ::String, change_type: ::Integer).void } def handle_ruby_file_change(index, file_path, change_type); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1426 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1426 sig do params( log: ::String, @@ -6826,223 +6826,223 @@ class RubyLsp::Server < ::RubyLsp::BaseServer end def launch_bundle_compose(log, &block); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1228 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1228 sig { void } def perform_initial_indexing; end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1324 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1324 sig { params(indexing_options: T.nilable(T::Hash[::Symbol, T.untyped])).void } def process_indexing_configuration(indexing_options); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1289 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1289 sig { params(id: ::String, percentage: ::Integer).void } def progress(id, percentage); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1490 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1490 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def resolve_test_commands(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#446 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:446 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def run_combined_requests(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#200 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:200 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def run_initialize(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#338 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:338 sig { void } def run_initialized; end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1223 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1223 sig { override.void } def shutdown; end - # source://ruby-lsp//lib/ruby_lsp/server.rb#789 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:789 sig { params(document: RubyLsp::Document[T.untyped]).returns(::RubyLsp::SorbetLevel) } def sorbet_level(document); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#834 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:834 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_code_action(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#514 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:514 def text_document_code_lens(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#917 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:917 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_completion(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#942 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:942 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_completion_item_resolve(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#987 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:987 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_definition(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#873 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:873 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_diagnostic(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#412 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:412 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_did_change(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#403 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:403 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_did_close(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#366 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:366 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_did_open(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#669 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:669 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_document_highlight(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#513 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:513 def text_document_document_link(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#512 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:512 def text_document_document_symbol(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#515 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:515 def text_document_folding_range(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#621 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:621 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_formatting(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#708 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:708 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_hover(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#801 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:801 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_inlay_hint(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#685 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:685 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_on_type_formatting(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#753 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:753 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_prepare_rename(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1159 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1159 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_prepare_type_hierarchy(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#593 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:593 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_range_formatting(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#771 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:771 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_references(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#733 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:733 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_rename(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#420 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:420 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_selection_range(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#539 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:539 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_semantic_tokens_delta(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#518 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:518 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_semantic_tokens_full(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#564 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:564 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_semantic_tokens_range(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1121 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1121 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_show_syntax_tree(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#961 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:961 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def text_document_signature_help(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1187 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1187 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def type_hierarchy_subtypes(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1178 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1178 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def type_hierarchy_supertypes(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1413 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1413 sig { void } def update_server; end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1365 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1365 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def window_show_message_request(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1194 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1194 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def workspace_dependencies(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1012 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1012 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def workspace_did_change_watched_files(message); end - # source://ruby-lsp//lib/ruby_lsp/server.rb#1108 + # pkg:gem/ruby-lsp#lib/ruby_lsp/server.rb:1108 sig { params(message: T::Hash[::Symbol, T.untyped]).void } def workspace_symbol(message); end end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#269 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:269 class RubyLsp::SorbetLevel - # source://ruby-lsp//lib/ruby_lsp/utils.rb#278 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:278 sig { params(sigil: T.nilable(::String)).void } def initialize(sigil); end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#297 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:297 sig { returns(T::Boolean) } def false?; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#294 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:294 sig { returns(T::Boolean) } def ignore?; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#306 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:306 sig { returns(T::Boolean) } def none?; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#303 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:303 sig { returns(T::Boolean) } def strict?; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#300 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:300 sig { returns(T::Boolean) } def true?; end - # source://ruby-lsp//lib/ruby_lsp/utils.rb#309 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:309 sig { returns(T::Boolean) } def true_or_higher?; end class << self - # source://ruby-lsp//lib/ruby_lsp/utils.rb#272 + # pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:272 sig { returns(::RubyLsp::SorbetLevel) } def ignore; end end end -# source://ruby-lsp//lib/ruby_lsp/store.rb#5 +# pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:5 class RubyLsp::Store - # source://ruby-lsp//lib/ruby_lsp/store.rb#12 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:12 sig { params(global_state: ::RubyLsp::GlobalState).void } def initialize(global_state); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#90 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:90 sig do type_parameters(:T) .params( @@ -7053,42 +7053,42 @@ class RubyLsp::Store end def cache_fetch(uri, request_name, &block); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#63 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:63 sig { void } def clear; end - # source://ruby-lsp//lib/ruby_lsp/store.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:9 sig { returns(::String) } def client_name; end - # source://ruby-lsp//lib/ruby_lsp/store.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:9 def client_name=(_arg0); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#73 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:73 sig { params(uri: ::URI::Generic).void } def delete(uri); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#83 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:83 sig { params(block: T.proc.params(uri: ::String, document: RubyLsp::Document[T.untyped]).void).void } def each(&block); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#68 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:68 sig { returns(T::Boolean) } def empty?; end - # source://ruby-lsp//lib/ruby_lsp/store.rb#19 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:19 sig { params(uri: ::URI::Generic).returns(RubyLsp::Document[T.untyped]) } def get(uri); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#78 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:78 sig { params(uri: ::URI::Generic).returns(T::Boolean) } def key?(uri); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#57 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:57 sig { params(uri: ::URI::Generic, edits: T::Array[T::Hash[::Symbol, T.untyped]], version: ::Integer).void } def push_edits(uri:, edits:, version:); end - # source://ruby-lsp//lib/ruby_lsp/store.rb#45 + # pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:45 sig do params( uri: ::URI::Generic, @@ -7100,27 +7100,27 @@ class RubyLsp::Store def set(uri:, source:, version:, language_id:); end end -# source://ruby-lsp//lib/ruby_lsp/store.rb#6 +# pkg:gem/ruby-lsp#lib/ruby_lsp/store.rb:6 class RubyLsp::Store::NonExistingDocumentError < ::StandardError; end -# source://ruby-lsp//lib/ruby_lsp/utils.rb#22 +# pkg:gem/ruby-lsp#lib/ruby_lsp/utils.rb:22 RubyLsp::TEST_PATH_PATTERN = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_lsp/test_helper.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/test_helper.rb:7 module RubyLsp::TestHelper requires_ancestor { Kernel } - # source://ruby-lsp//lib/ruby_lsp/test_helper.rb#63 + # pkg:gem/ruby-lsp#lib/ruby_lsp/test_helper.rb:63 def pop_log_notification(message_queue, type); end - # source://ruby-lsp//lib/ruby_lsp/test_helper.rb#71 + # pkg:gem/ruby-lsp#lib/ruby_lsp/test_helper.rb:71 def pop_message(outgoing_queue, &block); end - # source://ruby-lsp//lib/ruby_lsp/test_helper.rb#52 + # pkg:gem/ruby-lsp#lib/ruby_lsp/test_helper.rb:52 sig { params(server: ::RubyLsp::Server).returns(::RubyLsp::Result) } def pop_result(server); end - # source://ruby-lsp//lib/ruby_lsp/test_helper.rb#15 + # pkg:gem/ruby-lsp#lib/ruby_lsp/test_helper.rb:15 sig do type_parameters(:T) .params( @@ -7134,25 +7134,25 @@ module RubyLsp::TestHelper def with_server(source = T.unsafe(nil), uri = T.unsafe(nil), stub_no_typechecker: T.unsafe(nil), load_addons: T.unsafe(nil), &block); end end -# source://ruby-lsp//lib/ruby_lsp/test_helper.rb#12 +# pkg:gem/ruby-lsp#lib/ruby_lsp/test_helper.rb:12 class RubyLsp::TestHelper::TestError < ::StandardError; end # A minimalistic type checker to try to resolve types that can be inferred without requiring a type system or # annotations # -# source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:7 class RubyLsp::TypeInferrer - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#9 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:9 sig { params(index: ::RubyIndexer::Index).void } def initialize(index); end - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#14 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:14 sig { params(node_context: ::RubyLsp::NodeContext).returns(T.nilable(::RubyLsp::TypeInferrer::Type)) } def infer_receiver_type(node_context); end private - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#116 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:116 sig do params( raw_receiver: ::String, @@ -7161,7 +7161,7 @@ class RubyLsp::TypeInferrer end def guess_type(raw_receiver, nesting); end - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#33 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:33 sig do params( node: ::Prism::CallNode, @@ -7170,66 +7170,64 @@ class RubyLsp::TypeInferrer end def infer_receiver_for_call_node(node, node_context); end - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#149 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:149 sig { params(node_context: ::RubyLsp::NodeContext).returns(T.nilable(::RubyLsp::TypeInferrer::Type)) } def infer_receiver_for_class_variables(node_context); end - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#132 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:132 sig { params(node_context: ::RubyLsp::NodeContext).returns(::RubyLsp::TypeInferrer::Type) } def self_receiver_handling(node_context); end end # A type that was guessed based on the receiver raw name # -# source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#188 +# pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:188 class RubyLsp::TypeInferrer::GuessedType < ::RubyLsp::TypeInferrer::Type; end # A known type # -# source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#168 +# pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:168 class RubyLsp::TypeInferrer::Type - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#173 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:173 sig { params(name: ::String).void } def initialize(name); end # Returns the attached version of this type by removing the `` part from its name # - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#179 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:179 sig { returns(::RubyLsp::TypeInferrer::Type) } def attached; end - # source://ruby-lsp//lib/ruby_lsp/type_inferrer.rb#170 + # pkg:gem/ruby-lsp#lib/ruby_lsp/type_inferrer.rb:170 sig { returns(::String) } def name; end end -# source://ruby-lsp//lib/ruby-lsp.rb#5 +# pkg:gem/ruby-lsp#lib/ruby-lsp.rb:5 RubyLsp::VERSION = T.let(T.unsafe(nil), String) -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#7 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:7 class URI::Generic - include ::URI::RFC2396_REGEXP - - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#47 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:47 sig { params(load_path_entry: ::String).void } def add_require_path_from_load_entry(load_path_entry); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#70 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:70 def full_path(*args, **_arg1, &blk); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#44 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:44 sig { returns(T.nilable(::String)) } def require_path; end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#44 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:44 def require_path=(_arg0); end - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#55 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:55 sig { returns(T.nilable(::String)) } def to_standardized_path; end class << self - # source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#17 + # pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:17 sig do params( path: ::String, @@ -7244,37 +7242,37 @@ end # NOTE: We also define this in the shim # -# source://ruby-lsp//lib/ruby_indexer/lib/ruby_indexer/uri.rb#13 +# pkg:gem/ruby-lsp#lib/ruby_indexer/lib/ruby_indexer/uri.rb:13 URI::Generic::PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) # Must be kept in sync with the one in Tapioca # -# source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#8 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:8 class URI::Source < ::URI::File - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#57 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:57 sig { params(v: T.nilable(::String)).returns(T::Boolean) } def check_host(v); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#25 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:25 def gem_name; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#30 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:30 sig { returns(T.nilable(::String)) } def gem_version; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#27 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:27 def line_number; end - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#47 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:47 sig { params(v: T.nilable(::String)).void } def set_path(v); end - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#69 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:69 sig { returns(::String) } def to_s; end class << self - # source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#34 + # pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:34 sig do params( gem_name: ::String, @@ -7287,7 +7285,7 @@ class URI::Source < ::URI::File end end -# source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#9 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:9 URI::Source::COMPONENT = T.let(T.unsafe(nil), Array) # `uri` for Ruby 3.4 switched the default parser from RFC2396 to RFC3986. The new parser emits a deprecation @@ -7296,5 +7294,5 @@ URI::Source::COMPONENT = T.let(T.unsafe(nil), Array) # handling to select a parser that doesn't emit deprecations. While it was backported to Ruby 3.1, users may # have the uri gem in their own bundle and thus not use a compatible version. # -# source://ruby-lsp//lib/ruby_lsp/requests/support/source_uri.rb#22 +# pkg:gem/ruby-lsp#lib/ruby_lsp/requests/support/source_uri.rb:22 URI::Source::PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) diff --git a/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi b/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi index 7300ec966..802939e6d 100644 --- a/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +++ b/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi @@ -5,900 +5,900 @@ # Please instead update this file by running `bin/tapioca gem ruby-progressbar`. -# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:4 class ProgressBar class << self - # source://ruby-progressbar//lib/ruby-progressbar.rb#9 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar.rb:9 def create(*args); end end end -# source://ruby-progressbar//lib/ruby-progressbar/base.rb#17 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:17 class ProgressBar::Base extend ::Forwardable # @return [Base] a new instance of Base # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#45 + # pkg:gem/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 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:36 + def clear(*_arg0, **_arg1, &_arg2); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#137 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:137 def decrement; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#92 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:92 def finish; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#129 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:129 def finished?; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#209 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:209 def format(other); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#203 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:203 def format=(other); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#141 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:141 def increment; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#199 + # pkg:gem/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 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:36 + def log(*_arg0, **_arg1, &_arg2); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#102 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:102 def pause; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#127 + # pkg:gem/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 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:41 + def progress(*_arg0, **_arg1, &_arg2); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#145 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:145 def progress=(new_progress); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#153 + # pkg:gem/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 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:36 + def refresh(*_arg0, **_arg1, &_arg2); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#157 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:157 def remainder_mark=(mark); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#114 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:114 def reset; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#110 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:110 def resume; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#87 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:87 def start(options = T.unsafe(nil)); end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#133 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:133 def started?; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#106 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:106 def stop; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#123 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:123 def stopped?; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#161 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:161 def title; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#165 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:165 def title=(title); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#176 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:176 def to_h; end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#169 + # pkg:gem/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 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:41 + def total(*_arg0, **_arg1, &_arg2); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#149 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:149 def total=(new_total); end protected # Returns the value of attribute autofinish. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def autofinish; end # Sets the attribute autofinish # # @param value the value to set the attribute autofinish to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def autofinish=(_arg0); end # Returns the value of attribute autostart. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def autostart; end # Sets the attribute autostart # # @param value the value to set the attribute autostart to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def autostart=(_arg0); end # Returns the value of attribute bar_component. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def bar_component; end # Sets the attribute bar_component # # @param value the value to set the attribute bar_component to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def bar_component=(_arg0); end # Returns the value of attribute finished. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def finished; end # Sets the attribute finished # # @param value the value to set the attribute finished to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def finished=(_arg0); end # Returns the value of attribute output. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def output; end # Sets the attribute output # # @param value the value to set the attribute output to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def output=(_arg0); end # Returns the value of attribute percentage_component. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def percentage_component; end # Sets the attribute percentage_component # # @param value the value to set the attribute percentage_component to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def percentage_component=(_arg0); end # Returns the value of attribute progressable. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def progressable; end # Sets the attribute progressable # # @param value the value to set the attribute progressable to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def progressable=(_arg0); end # Returns the value of attribute projector. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def projector; end # Sets the attribute projector # # @param value the value to set the attribute projector to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def projector=(_arg0); end # Returns the value of attribute rate_component. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def rate_component; end # Sets the attribute rate_component # # @param value the value to set the attribute rate_component to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def rate_component=(_arg0); end # Returns the value of attribute time_component. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def time_component; end # Sets the attribute time_component # # @param value the value to set the attribute time_component to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def time_component=(_arg0); end # Returns the value of attribute timer. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def timer; end # Sets the attribute timer # # @param value the value to set the attribute timer to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def timer=(_arg0); end # Returns the value of attribute title_component. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def title_component; end # Sets the attribute title_component # # @param value the value to set the attribute title_component to. # - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#213 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:213 def title_component=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/base.rb#226 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:226 def update_progress(*args); end end -# source://ruby-progressbar//lib/ruby-progressbar/base.rb#28 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:28 ProgressBar::Base::RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/base.rb#21 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/base.rb:21 ProgressBar::Base::SMOOTHING_DEPRECATION_WARNING = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#2 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:2 module ProgressBar::Calculators; end -# source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:3 class ProgressBar::Calculators::Length # @return [Length] a new instance of Length # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:8 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#25 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:25 def calculate_length; end # Returns the value of attribute current_length. # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:5 def current_length; end # Sets the attribute current_length # # @param value the value to set the attribute current_length to. # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:5 def current_length=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#14 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:14 def length; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#18 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:18 def length_changed?; end # Returns the value of attribute length_override. # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:4 def length_override; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#33 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:33 def length_override=(other); end # Returns the value of attribute output. # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:5 def output; end # Sets the attribute output # # @param value the value to set the attribute output to. # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:5 def output=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#29 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:29 def reset_length; end private - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#56 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:56 def dynamic_width; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#85 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:85 def dynamic_width_stty; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#89 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:89 def dynamic_width_tput; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#76 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:76 def dynamic_width_via_io_object; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#71 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:71 def dynamic_width_via_output_stream_object; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#81 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:81 def dynamic_width_via_system_calls; end - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#43 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:43 def terminal_width; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/calculators/length.rb#93 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/calculators/length.rb:93 def unix?; end end -# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:5 module ProgressBar::Components; end -# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:6 class ProgressBar::Components::Bar # @return [Bar] a new instance of Bar # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#17 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:17 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#35 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:35 def bar(length); end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#63 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:63 def bar_with_percentage(length); end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#41 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:41 def complete_bar(length); end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#47 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:47 def complete_bar_with_percentage(length); end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#53 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:53 def incomplete_space(length); end # Returns the value of attribute length. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def length; end # Sets the attribute length # # @param value the value to set the attribute length to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def length=(_arg0); end # Returns the value of attribute progress. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def progress; end # Sets the attribute progress # # @param value the value to set the attribute progress to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def progress=(_arg0); end # Returns the value of attribute progress_mark. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def progress_mark; end # Sets the attribute progress_mark # # @param value the value to set the attribute progress_mark to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def progress_mark=(_arg0); end # Returns the value of attribute remainder_mark. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def remainder_mark; end # Sets the attribute remainder_mark # # @param value the value to set the attribute remainder_mark to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def remainder_mark=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#25 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:25 def to_s(options = T.unsafe(nil)); end # Returns the value of attribute upa_steps. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def upa_steps; end # Sets the attribute upa_steps # # @param value the value to set the attribute upa_steps to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:11 def upa_steps=(_arg0); end private - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#91 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:91 def completed_length; end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#81 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:81 def incomplete_string; end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#71 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:71 def integrated_percentage_complete_string; end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#77 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:77 def standard_complete_string; end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#95 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:95 def unknown_progress_frame; end - # source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#85 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:85 def unknown_string; end end -# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#7 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:7 ProgressBar::Components::Bar::DEFAULT_PROGRESS_MARK = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#8 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:8 ProgressBar::Components::Bar::DEFAULT_REMAINDER_MARK = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#9 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/bar.rb:9 ProgressBar::Components::Bar::DEFAULT_UPA_STEPS = T.let(T.unsafe(nil), Array) -# source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:3 class ProgressBar::Components::Percentage # @return [Percentage] a new instance of Percentage # - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#6 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:6 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#14 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:14 def justified_percentage; end - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#22 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:22 def justified_percentage_with_precision; end - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#10 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:10 def percentage; end - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#18 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:18 def percentage_with_precision; end # Returns the value of attribute progress. # - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:4 def progress; end # Sets the attribute progress # # @param value the value to set the attribute progress to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/percentage.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/percentage.rb:4 def progress=(_arg0); end end -# source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:3 class ProgressBar::Components::Rate # @return [Rate] a new instance of Rate # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:8 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute progress. # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:4 def progress; end # Sets the attribute progress # # @param value the value to set the attribute progress to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:4 def progress=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#14 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:14 def rate_of_change(format_string = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#20 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:20 def rate_of_change_with_precision; end # Returns the value of attribute rate_scale. # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:4 def rate_scale; end # Sets the attribute rate_scale # # @param value the value to set the attribute rate_scale to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:4 def rate_scale=(_arg0); end # Returns the value of attribute timer. # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:4 def timer; end # Sets the attribute timer # # @param value the value to set the attribute timer to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:4 def timer=(_arg0); end private - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#30 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:30 def base_rate; end - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#34 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:34 def elapsed_seconds; end - # source://ruby-progressbar//lib/ruby-progressbar/components/rate.rb#26 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/rate.rb:26 def scaled_rate; end end -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:6 class ProgressBar::Components::Time # @return [Time] a new instance of Time # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#21 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:21 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#31 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:31 def elapsed_with_label; end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#47 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:47 def estimated_wall_clock; end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#43 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:43 def estimated_with_friendly_oob; end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#27 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:27 def estimated_with_label(out_of_bounds_time_format = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#35 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:35 def estimated_with_no_oob; end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#39 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:39 def estimated_with_unknown_oob; end protected # Returns the value of attribute progress. # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:60 def progress; end # Sets the attribute progress # # @param value the value to set the attribute progress to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:60 def progress=(_arg0); end # Returns the value of attribute projector. # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:60 def projector; end # Sets the attribute projector # # @param value the value to set the attribute projector to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:60 def projector=(_arg0); end # Returns the value of attribute timer. # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:60 def timer; end # Sets the attribute timer # # @param value the value to set the attribute timer to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:60 def timer=(_arg0); end private - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#80 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:80 def elapsed; end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#66 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:66 def estimated(out_of_bounds_time_format); end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#94 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:94 def estimated_seconds_remaining; end - # source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#88 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:88 def estimated_with_elapsed_fallback(out_of_bounds_time_format); end end -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#14 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:14 ProgressBar::Components::Time::ELAPSED_LABEL = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#13 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:13 ProgressBar::Components::Time::ESTIMATED_LABEL = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#12 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:12 ProgressBar::Components::Time::NO_TIME_ELAPSED_TEXT = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#11 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:11 ProgressBar::Components::Time::OOB_FRIENDLY_TIME_TEXT = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#9 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:9 ProgressBar::Components::Time::OOB_LIMIT_IN_HOURS = T.let(T.unsafe(nil), Integer) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#16 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:16 ProgressBar::Components::Time::OOB_TEXT_TO_FORMAT = T.let(T.unsafe(nil), Hash) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#8 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:8 ProgressBar::Components::Time::OOB_TIME_FORMATS = T.let(T.unsafe(nil), Array) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#10 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:10 ProgressBar::Components::Time::OOB_UNKNOWN_TIME_TEXT = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#7 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:7 ProgressBar::Components::Time::TIME_FORMAT = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/time.rb#15 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/time.rb:15 ProgressBar::Components::Time::WALL_CLOCK_FORMAT = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/title.rb:3 class ProgressBar::Components::Title # @return [Title] a new instance of Title # - # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/title.rb:8 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute title. # - # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#6 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/title.rb:6 def title; end # Sets the attribute title # # @param value the value to set the attribute title to. # - # source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#6 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/title.rb:6 def title=(_arg0); end end -# source://ruby-progressbar//lib/ruby-progressbar/components/title.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/components/title.rb:4 ProgressBar::Components::Title::DEFAULT_TITLE = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#2 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/formatter.rb:2 module ProgressBar::Format; end -# source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/formatter.rb:3 class ProgressBar::Format::Formatter class << self - # source://ruby-progressbar//lib/ruby-progressbar/format/formatter.rb#4 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/formatter.rb:4 def process(format_string, max_length, bar); end end end -# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:3 class ProgressBar::Format::Molecule # @return [Molecule] a new instance of Molecule # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#33 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:33 def initialize(letter); end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#38 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:38 def bar_molecule?; end - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#46 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:46 def full_key; end # Returns the value of attribute key. # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:30 def key; end # Sets the attribute key # # @param value the value to set the attribute key to. # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:30 def key=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#50 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:50 def lookup_value(environment, length = T.unsafe(nil)); end # Returns the value of attribute method_name. # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:30 def method_name; end # Sets the attribute method_name # # @param value the value to set the attribute method_name to. # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#30 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:30 def method_name=(_arg0); end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#42 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:42 def non_bar_molecule?; end end -# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#28 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:28 ProgressBar::Format::Molecule::BAR_MOLECULES = T.let(T.unsafe(nil), Array) -# source://ruby-progressbar//lib/ruby-progressbar/format/molecule.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/molecule.rb:4 ProgressBar::Format::Molecule::MOLECULES = T.let(T.unsafe(nil), Hash) -# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:5 class ProgressBar::Format::String < ::String - # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#13 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:13 def bar_molecule_placeholder_length; end - # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#21 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:21 def bar_molecules; end - # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#9 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:9 def displayable_length; end - # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#25 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:25 def molecules; end - # source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#17 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:17 def non_bar_molecules; end end -# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#7 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:7 ProgressBar::Format::String::ANSI_SGR_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://ruby-progressbar//lib/ruby-progressbar/format/string.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/format/string.rb:6 ProgressBar::Format::String::MOLECULE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://ruby-progressbar//lib/ruby-progressbar/errors/invalid_progress_error.rb#2 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/errors/invalid_progress_error.rb:2 class ProgressBar::InvalidProgressError < ::RuntimeError; end -# source://ruby-progressbar//lib/ruby-progressbar/output.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:5 class ProgressBar::Output # @return [Output] a new instance of Output # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#10 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:10 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#37 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:37 def clear_string; end - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#41 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:41 def length; end - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#30 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:30 def log(string); end - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#50 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:50 def refresh(options = T.unsafe(nil)); end # Returns the value of attribute stream. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:8 def stream; end # Sets the attribute stream # # @param value the value to set the attribute stream to. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:8 def stream=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#45 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:45 def with_refresh; end protected # Returns the value of attribute bar. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:60 def bar; end # Sets the attribute bar # # @param value the value to set the attribute bar to. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:60 def bar=(_arg0); end # Returns the value of attribute length_calculator. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:60 def length_calculator; end # Sets the attribute length_calculator # # @param value the value to set the attribute length_calculator to. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:60 def length_calculator=(_arg0); end # Returns the value of attribute throttle. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:60 def throttle; end # Sets the attribute throttle # # @param value the value to set the attribute throttle to. # - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#60 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:60 def throttle=(_arg0); end private - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#66 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:66 def print_and_flush; end class << self - # source://ruby-progressbar//lib/ruby-progressbar/output.rb#20 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:20 def detect(options = T.unsafe(nil)); end end end -# source://ruby-progressbar//lib/ruby-progressbar/output.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/output.rb:6 ProgressBar::Output::DEFAULT_OUTPUT_STREAM = T.let(T.unsafe(nil), IO) -# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:4 module ProgressBar::Outputs; end -# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:5 class ProgressBar::Outputs::NonTty < ::ProgressBar::Output - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#18 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:18 def bar_update_string; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:8 def clear; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#28 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:28 def default_format; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#38 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:38 def eol; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#14 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:14 def last_update_length; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#36 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:36 def refresh_with_format_change(*_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#32 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:32 def resolve_format(*_arg0); end protected @@ -907,198 +907,198 @@ class ProgressBar::Outputs::NonTty < ::ProgressBar::Output # # @param value the value to set the attribute last_update_length to. # - # source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#44 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:44 def last_update_length=(_arg0); end end -# source://ruby-progressbar//lib/ruby-progressbar/outputs/non_tty.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/non_tty.rb:6 ProgressBar::Outputs::NonTty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:5 class ProgressBar::Outputs::Tty < ::ProgressBar::Output - # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#15 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:15 def bar_update_string; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#10 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:10 def clear; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#19 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:19 def default_format; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#27 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:27 def eol; end - # source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#8 + # pkg:gem/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 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:23 def resolve_format(other_format); end end -# source://ruby-progressbar//lib/ruby-progressbar/outputs/tty.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/outputs/tty.rb:6 ProgressBar::Outputs::Tty::DEFAULT_FORMAT_STRING = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:4 class ProgressBar::Progress # @return [Progress] a new instance of Progress # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#12 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:12 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#104 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:104 def absolute; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#41 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:41 def decrement; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#23 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:23 def finish; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#27 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:27 def finished?; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#31 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:31 def increment; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#85 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:85 def none?; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#73 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:73 def percentage_completed; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#97 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:97 def percentage_completed_with_precision; end # Returns the value of attribute progress. # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:8 def progress; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#55 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:55 def progress=(new_progress); end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#51 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:51 def reset; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#18 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:18 def start(options = T.unsafe(nil)); end # Returns the value of attribute starting_position. # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:10 def starting_position; end # Sets the attribute starting_position # # @param value the value to set the attribute starting_position to. # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#10 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:10 def starting_position=(_arg0); end # Returns the value of attribute total. # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:8 def total; end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#64 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:64 def total=(new_total); end - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#93 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:93 def total_with_unknown_indicator; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/progress.rb#89 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:89 def unknown?; end end -# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:6 ProgressBar::Progress::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer) -# source://ruby-progressbar//lib/ruby-progressbar/progress.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/progress.rb:5 ProgressBar::Progress::DEFAULT_TOTAL = T.let(T.unsafe(nil), Integer) -# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projector.rb:4 class ProgressBar::Projector class << self - # source://ruby-progressbar//lib/ruby-progressbar/projector.rb#10 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projector.rb:10 def from_type(name); end end end -# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projector.rb:5 ProgressBar::Projector::DEFAULT_PROJECTOR = ProgressBar::Projectors::SmoothedAverage -# source://ruby-progressbar//lib/ruby-progressbar/projector.rb#6 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projector.rb:6 ProgressBar::Projector::NAME_TO_PROJECTOR_MAP = T.let(T.unsafe(nil), Hash) -# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#2 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:2 module ProgressBar::Projectors; end -# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:3 class ProgressBar::Projectors::SmoothedAverage # @return [SmoothedAverage] a new instance of SmoothedAverage # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:11 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#24 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:24 def decrement; end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#28 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:28 def increment; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#52 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:52 def none?; end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#32 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:32 def progress; end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#42 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:42 def progress=(new_progress); end # Returns the value of attribute projection. # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#9 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:9 def projection; end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#38 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:38 def reset; end # Returns the value of attribute samples. # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:7 def samples; end # Sets the attribute samples # # @param value the value to set the attribute samples to. # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:7 def samples=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#19 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:19 def start(options = T.unsafe(nil)); end # Returns the value of attribute strength. # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:7 def strength; end # Sets the attribute strength # # @param value the value to set the attribute strength to. # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#7 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:7 def strength=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#36 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:36 def total=(_new_total); end protected @@ -1107,212 +1107,212 @@ class ProgressBar::Projectors::SmoothedAverage # # @param value the value to set the attribute projection to. # - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#62 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:62 def projection=(_arg0); end private - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#66 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:66 def absolute; end class << self - # source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#56 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:56 def calculate(current_projection, new_value, rate); end end end -# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#5 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:5 ProgressBar::Projectors::SmoothedAverage::DEFAULT_BEGINNING_POSITION = T.let(T.unsafe(nil), Integer) -# source://ruby-progressbar//lib/ruby-progressbar/projectors/smoothed_average.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/projectors/smoothed_average.rb:4 ProgressBar::Projectors::SmoothedAverage::DEFAULT_STRENGTH = T.let(T.unsafe(nil), Float) -# source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#2 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/refinements/progress_enumerator.rb:2 module ProgressBar::Refinements; end -# source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/refinements/progress_enumerator.rb:3 module ProgressBar::Refinements::Enumerator; end -# source://ruby-progressbar//lib/ruby-progressbar/refinements/progress_enumerator.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/refinements/progress_enumerator.rb:4 ProgressBar::Refinements::Enumerator::ARITY_ERROR_MESSAGE = T.let(T.unsafe(nil), String) -# source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#2 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:2 class ProgressBar::Throttle # @return [Throttle] a new instance of Throttle # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:8 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#15 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:15 def choke(options = T.unsafe(nil)); end # Returns the value of attribute rate. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def rate; end # Sets the attribute rate # # @param value the value to set the attribute rate to. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def rate=(_arg0); end # Returns the value of attribute started_at. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def started_at; end # Sets the attribute started_at # # @param value the value to set the attribute started_at to. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def started_at=(_arg0); end # Returns the value of attribute stopped_at. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def stopped_at; end # Sets the attribute stopped_at # # @param value the value to set the attribute stopped_at to. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def stopped_at=(_arg0); end # Returns the value of attribute timer. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def timer; end # Sets the attribute timer # # @param value the value to set the attribute timer to. # - # source://ruby-progressbar//lib/ruby-progressbar/throttle.rb#3 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/throttle.rb:3 def timer=(_arg0); end end -# source://ruby-progressbar//lib/ruby-progressbar/time.rb#3 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:3 class ProgressBar::Time # @return [Time] a new instance of Time # - # source://ruby-progressbar//lib/ruby-progressbar/time.rb#11 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:11 def initialize(time = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/time.rb#15 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:15 def now; end - # source://ruby-progressbar//lib/ruby-progressbar/time.rb#19 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:19 def unmocked_time_method; end protected # Returns the value of attribute time. # - # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:27 def time; end # Sets the attribute time # # @param value the value to set the attribute time to. # - # source://ruby-progressbar//lib/ruby-progressbar/time.rb#27 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:27 def time=(_arg0); end end -# source://ruby-progressbar//lib/ruby-progressbar/time.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/time.rb:4 ProgressBar::Time::TIME_MOCKING_LIBRARY_METHODS = T.let(T.unsafe(nil), Array) -# source://ruby-progressbar//lib/ruby-progressbar/timer.rb#4 +# pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:4 class ProgressBar::Timer # @return [Timer] a new instance of Timer # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#8 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:8 def initialize(options = T.unsafe(nil)); end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#67 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:67 def divide_seconds(seconds); end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#57 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:57 def elapsed_seconds; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#63 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:63 def elapsed_whole_seconds; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#31 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:31 def now; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#23 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:23 def pause; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#43 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:43 def reset; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#48 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:48 def reset?; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#52 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:52 def restart; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#27 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:27 def resume; end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#12 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:12 def start; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#35 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:35 def started?; end # Returns the value of attribute started_at. # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:5 def started_at; end # Sets the attribute started_at # # @param value the value to set the attribute started_at to. # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:5 def started_at=(_arg0); end - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#17 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:17 def stop; end # @return [Boolean] # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#39 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:39 def stopped?; end # Returns the value of attribute stopped_at. # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:5 def stopped_at; end # Sets the attribute stopped_at # # @param value the value to set the attribute stopped_at to. # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#5 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:5 def stopped_at=(_arg0); end protected # Returns the value of attribute time. # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:76 def time; end # Sets the attribute time # # @param value the value to set the attribute time to. # - # source://ruby-progressbar//lib/ruby-progressbar/timer.rb#76 + # pkg:gem/ruby-progressbar#lib/ruby-progressbar/timer.rb:76 def time=(_arg0); end end diff --git a/sorbet/rbi/gems/securerandom@0.4.1.rbi b/sorbet/rbi/gems/securerandom@0.4.1.rbi index 9fb733435..a82259201 100644 --- a/sorbet/rbi/gems/securerandom@0.4.1.rbi +++ b/sorbet/rbi/gems/securerandom@0.4.1.rbi @@ -40,7 +40,7 @@ # If a secure random number generator is not available, # +NotImplementedError+ is raised. # -# source://securerandom//lib/securerandom.rb#41 +# pkg:gem/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 + # pkg:gem/securerandom#lib/securerandom.rb:50 def bytes(n); end - # source://securerandom//lib/securerandom.rb#84 + # pkg:gem/securerandom#lib/securerandom.rb:84 def gen_random(n); end private # Implementation using OpenSSL # - # source://securerandom//lib/securerandom.rb#65 + # pkg:gem/securerandom#lib/securerandom.rb:65 def gen_random_openssl(n); end # Implementation using system random device # - # source://securerandom//lib/securerandom.rb#70 + # pkg:gem/securerandom#lib/securerandom.rb:70 def gen_random_urandom(n); end end end # The version # -# source://securerandom//lib/securerandom.rb#44 +# pkg:gem/securerandom#lib/securerandom.rb:44 SecureRandom::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/shopify-money@3.2.5.rbi b/sorbet/rbi/gems/shopify-money@3.2.5.rbi index 31d735ac9..e9c622470 100644 --- a/sorbet/rbi/gems/shopify-money@3.2.5.rbi +++ b/sorbet/rbi/gems/shopify-money@3.2.5.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem shopify-money`. -# source://shopify-money//lib/money/deprecations.rb#4 +# pkg:gem/shopify-money#lib/money/deprecations.rb:4 ACTIVE_SUPPORT_DEFINED = T.let(T.unsafe(nil), String) class ActiveRecord::Base @@ -18,10 +18,10 @@ class ActiveRecord::Base extend ::ActiveRecord::SignedId::DeprecateSignedIdVerifierSecret end -# source://shopify-money//lib/money/deprecations.rb#5 +# pkg:gem/shopify-money#lib/money/deprecations.rb:5 DEPRECATION_STACKTRACE_LENGTH = T.let(T.unsafe(nil), Integer) -# source://shopify-money//lib/money/version.rb#3 +# pkg:gem/shopify-money#lib/money/version.rb:3 class Money include ::Comparable extend ::Forwardable @@ -29,46 +29,46 @@ class Money # @raise [ArgumentError] # @return [Money] a new instance of Money # - # source://shopify-money//lib/money/money.rb#136 + # pkg:gem/shopify-money#lib/money/money.rb:136 def initialize(value, currency); end # @raise [ArgumentError] # - # source://shopify-money//lib/money/money.rb#185 + # pkg:gem/shopify-money#lib/money/money.rb:185 def *(other); end - # source://shopify-money//lib/money/money.rb#171 + # pkg:gem/shopify-money#lib/money/money.rb:171 def +(other); end - # source://shopify-money//lib/money/money.rb#178 + # pkg:gem/shopify-money#lib/money/money.rb:178 def -(other); end - # source://shopify-money//lib/money/money.rb#160 + # pkg:gem/shopify-money#lib/money/money.rb:160 def -@; end - # source://shopify-money//lib/money/money.rb#192 + # pkg:gem/shopify-money#lib/money/money.rb:192 def /(other); end - # source://shopify-money//lib/money/money.rb#164 + # pkg:gem/shopify-money#lib/money/money.rb:164 def <=>(other); end - # source://shopify-money//lib/money/money.rb#200 + # pkg:gem/shopify-money#lib/money/money.rb:200 def ==(other); end - # source://shopify-money//lib/money/money.rb#283 + # pkg:gem/shopify-money#lib/money/money.rb:283 def abs; end # @see Money::Allocator#allocate # - # source://shopify-money//lib/money/money.rb#309 + # pkg:gem/shopify-money#lib/money/money.rb:309 def allocate(splits, strategy = T.unsafe(nil)); end # @see Money::Allocator#allocate_max_amounts # - # source://shopify-money//lib/money/money.rb#314 + # pkg:gem/shopify-money#lib/money/money.rb:314 def allocate_max_amounts(maximums); end - # source://shopify-money//lib/money/money.rb#274 + # pkg:gem/shopify-money#lib/money/money.rb:274 def as_json(options = T.unsafe(nil)); end # Calculate the splits evenly without losing pennies. @@ -81,7 +81,7 @@ class Money # @param number [2] of parties. # @return [Hash] # - # source://shopify-money//lib/money/money.rb#341 + # pkg:gem/shopify-money#lib/money/money.rb:341 def calculate_splits(num); end # Clamps the value to be within the specified minimum and maximum. Returns @@ -94,64 +94,64 @@ class Money # Money.new(120, "CAD").clamp(0, 100) #=> Money.new(100, "CAD") # @raise [ArgumentError] # - # source://shopify-money//lib/money/money.rb#353 + # pkg:gem/shopify-money#lib/money/money.rb:353 def clamp(min, max); end # @raise [TypeError] # - # source://shopify-money//lib/money/money.rb#211 + # pkg:gem/shopify-money#lib/money/money.rb:211 def coerce(other); end - # source://shopify-money//lib/money/money.rb#216 + # pkg:gem/shopify-money#lib/money/money.rb:216 def convert_currency(exchange_rate, new_currency); end # Returns the value of attribute currency. # - # source://shopify-money//lib/money/money.rb#12 + # pkg:gem/shopify-money#lib/money/money.rb:12 def currency; end - # source://shopify-money//lib/money/money.rb#147 + # pkg:gem/shopify-money#lib/money/money.rb:147 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#205 + # pkg:gem/shopify-money#lib/money/money.rb:205 def eql?(other); end - # source://shopify-money//lib/money/money.rb#289 + # pkg:gem/shopify-money#lib/money/money.rb:289 def floor; end # @raise [ArgumentError] # - # source://shopify-money//lib/money/money.rb#301 + # pkg:gem/shopify-money#lib/money/money.rb:301 def fraction(rate); end - # source://shopify-money//lib/money/money.rb#14 - def hash(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def hash(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/money.rb#143 + # pkg:gem/shopify-money#lib/money/money.rb:143 def init_with(coder); end - # source://shopify-money//lib/money/money.rb#196 + # pkg:gem/shopify-money#lib/money/money.rb:196 def inspect; end - # source://shopify-money//lib/money/money.rb#14 - def negative?(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def negative?(*_arg0, **_arg1, &_arg2); end # @return [Boolean] # - # source://shopify-money//lib/money/money.rb#156 + # pkg:gem/shopify-money#lib/money/money.rb:156 def no_currency?; end - # source://shopify-money//lib/money/money.rb#14 - def nonzero?(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def nonzero?(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/money.rb#14 - def positive?(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def positive?(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/money.rb#295 + # pkg:gem/shopify-money#lib/money/money.rb:295 def round(ndigits = T.unsafe(nil)); end # Split money amongst parties evenly without losing pennies. @@ -161,128 +161,128 @@ class Money # @param number [2] of parties. # @return [Enumerable] # - # source://shopify-money//lib/money/money.rb#326 + # pkg:gem/shopify-money#lib/money/money.rb:326 def split(num); end - # source://shopify-money//lib/money/money.rb#152 + # pkg:gem/shopify-money#lib/money/money.rb:152 def subunits(format: T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#237 + # pkg:gem/shopify-money#lib/money/money.rb:237 def to_d; end - # source://shopify-money//lib/money/money.rb#14 - def to_f(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def to_f(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/money.rb#264 + # pkg:gem/shopify-money#lib/money/money.rb:264 def to_formatted_s(style = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#241 + # pkg:gem/shopify-money#lib/money/money.rb:241 def to_fs(style = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#281 + # pkg:gem/shopify-money#lib/money/money.rb:281 def to_h(options = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#14 - def to_i(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def to_i(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/money.rb#266 + # pkg:gem/shopify-money#lib/money/money.rb:266 def to_json(options = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#220 + # pkg:gem/shopify-money#lib/money/money.rb:220 def to_money(new_currency = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#263 + # pkg:gem/shopify-money#lib/money/money.rb:263 def to_s(style = T.unsafe(nil)); end # Returns the value of attribute value. # - # source://shopify-money//lib/money/money.rb#12 + # pkg:gem/shopify-money#lib/money/money.rb:12 def value; end - # source://shopify-money//lib/money/money.rb#14 - def zero?(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:14 + def zero?(*_arg0, **_arg1, &_arg2); end private - # source://shopify-money//lib/money/money.rb#368 + # pkg:gem/shopify-money#lib/money/money.rb:368 def arithmetic(other); end - # source://shopify-money//lib/money/money.rb#395 + # pkg:gem/shopify-money#lib/money/money.rb:395 def calculated_currency(other); end - # source://shopify-money//lib/money/money.rb#385 + # pkg:gem/shopify-money#lib/money/money.rb:385 def ensure_compatible_currency(other_currency, msg); end class << self - # source://shopify-money//lib/money/deprecations.rb#7 + # pkg:gem/shopify-money#lib/money/deprecations.rb:7 def active_support_deprecator; end - # source://shopify-money//lib/money/deprecations.rb#24 + # pkg:gem/shopify-money#lib/money/deprecations.rb:24 def caller_stack; end - # source://shopify-money//lib/money/money.rb#52 + # pkg:gem/shopify-money#lib/money/money.rb:52 def config; end - # source://shopify-money//lib/money/money.rb#56 + # pkg:gem/shopify-money#lib/money/money.rb:56 def configure(&block); end - # source://shopify-money//lib/money/money.rb#60 + # pkg:gem/shopify-money#lib/money/money.rb:60 def current_currency; end - # source://shopify-money//lib/money/money.rb#64 + # pkg:gem/shopify-money#lib/money/money.rb:64 def current_currency=(value); end - # source://shopify-money//lib/money/money.rb#42 - def default_currency(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:42 + def default_currency(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/money.rb#42 - def default_currency=(*args, **_arg1, &block); end + # pkg:gem/shopify-money#lib/money/money.rb:42 + def default_currency=(*_arg0, **_arg1, &_arg2); end - # source://shopify-money//lib/money/deprecations.rb#14 + # pkg:gem/shopify-money#lib/money/deprecations.rb:14 def deprecate(message); end - # source://shopify-money//lib/money/money.rb#88 + # pkg:gem/shopify-money#lib/money/money.rb:88 def from_amount(value = T.unsafe(nil), currency = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#99 + # pkg:gem/shopify-money#lib/money/money.rb:99 def from_hash(hash); end - # source://shopify-money//lib/money/money.rb#94 + # pkg:gem/shopify-money#lib/money/money.rb:94 def from_json(string); end - # source://shopify-money//lib/money/money.rb#90 + # pkg:gem/shopify-money#lib/money/money.rb:90 def from_subunits(subunits, currency_iso, format: T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#75 + # pkg:gem/shopify-money#lib/money/money.rb:75 def new(value = T.unsafe(nil), currency = T.unsafe(nil)); end - # source://shopify-money//lib/money/money.rb#104 + # pkg:gem/shopify-money#lib/money/money.rb:104 def rational(money1, money2); end - # source://shopify-money//lib/money/money.rb#48 + # pkg:gem/shopify-money#lib/money/money.rb:48 def with_config(**configs, &block); end - # source://shopify-money//lib/money/money.rb#68 + # pkg:gem/shopify-money#lib/money/money.rb:68 def with_currency(currency, &block); end - # source://shopify-money//lib/money/money.rb#44 + # pkg:gem/shopify-money#lib/money/money.rb:44 def without_legacy_deprecations(&block); end private - # source://shopify-money//lib/money/money.rb#113 + # pkg:gem/shopify-money#lib/money/money.rb:113 def new_from_money(amount, currency); end end end -# source://shopify-money//lib/money/allocator.rb#7 +# pkg:gem/shopify-money#lib/money/allocator.rb:7 class Money::Allocator < ::SimpleDelegator # @return [Allocator] a new instance of Allocator # - # source://shopify-money//lib/money/allocator.rb#8 + # pkg:gem/shopify-money#lib/money/allocator.rb:8 def initialize(money); end - # source://shopify-money//lib/money/allocator.rb#60 + # pkg:gem/shopify-money#lib/money/allocator.rb:60 def allocate(splits, strategy = T.unsafe(nil)); end # Allocates money between different parties up to the maximum amounts specified. @@ -305,22 +305,22 @@ class Money::Allocator < ::SimpleDelegator # 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#111 + # pkg:gem/shopify-money#lib/money/allocator.rb:111 def allocate_max_amounts(maximums); end private # @return [Boolean] # - # source://shopify-money//lib/money/allocator.rb#170 + # pkg:gem/shopify-money#lib/money/allocator.rb:170 def all_rational?(splits); end # @raise [ArgumentError] # - # source://shopify-money//lib/money/allocator.rb#152 + # pkg:gem/shopify-money#lib/money/allocator.rb:152 def amounts_from_splits(allocations, splits, subunits_to_split = T.unsafe(nil)); end - # source://shopify-money//lib/money/allocator.rb#141 + # pkg:gem/shopify-money#lib/money/allocator.rb:141 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. @@ -329,327 +329,327 @@ class Money::Allocator < ::SimpleDelegator # 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#179 + # pkg:gem/shopify-money#lib/money/allocator.rb:179 def rank_by_nearest(amounts); end end -# source://shopify-money//lib/money/allocator.rb#12 +# pkg:gem/shopify-money#lib/money/allocator.rb:12 Money::Allocator::ONE = T.let(T.unsafe(nil), BigDecimal) -# source://shopify-money//lib/money/config.rb#4 +# pkg:gem/shopify-money#lib/money/config.rb:4 class Money::Config # @return [Config] a new instance of Config # - # source://shopify-money//lib/money/config.rb#78 + # pkg:gem/shopify-money#lib/money/config.rb:78 def initialize; end # Returns the value of attribute default_currency. # - # source://shopify-money//lib/money/config.rb#47 + # pkg:gem/shopify-money#lib/money/config.rb:47 def currency; end - # source://shopify-money//lib/money/config.rb#60 + # pkg:gem/shopify-money#lib/money/config.rb:60 def currency=(value); end # Returns the value of attribute default_currency. # - # source://shopify-money//lib/money/config.rb#46 + # pkg:gem/shopify-money#lib/money/config.rb:46 def default_currency; end - # source://shopify-money//lib/money/config.rb#49 + # pkg:gem/shopify-money#lib/money/config.rb:49 def default_currency=(value); end # Returns the value of attribute default_subunit_format. # - # source://shopify-money//lib/money/config.rb#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def default_subunit_format; end # Sets the attribute default_subunit_format # # @param value the value to set the attribute default_subunit_format to. # - # source://shopify-money//lib/money/config.rb#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def default_subunit_format=(_arg0); end # Returns the value of attribute experimental_crypto_currencies. # - # source://shopify-money//lib/money/config.rb#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def experimental_crypto_currencies; end - # source://shopify-money//lib/money/config.rb#74 + # pkg:gem/shopify-money#lib/money/config.rb:74 def experimental_crypto_currencies!; end # Sets the attribute experimental_crypto_currencies # # @param value the value to set the attribute experimental_crypto_currencies to. # - # source://shopify-money//lib/money/config.rb#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def experimental_crypto_currencies=(_arg0); end - # source://shopify-money//lib/money/config.rb#62 + # pkg:gem/shopify-money#lib/money/config.rb:62 def legacy_default_currency!; end # Returns the value of attribute legacy_deprecations. # - # source://shopify-money//lib/money/config.rb#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def legacy_deprecations; end - # source://shopify-money//lib/money/config.rb#66 + # pkg:gem/shopify-money#lib/money/config.rb:66 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#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def legacy_deprecations=(_arg0); end # Returns the value of attribute legacy_json_format. # - # source://shopify-money//lib/money/config.rb#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def legacy_json_format; end - # source://shopify-money//lib/money/config.rb#70 + # pkg:gem/shopify-money#lib/money/config.rb:70 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#44 + # pkg:gem/shopify-money#lib/money/config.rb:44 def legacy_json_format=(_arg0); end class << self - # source://shopify-money//lib/money/config.rb#20 + # pkg:gem/shopify-money#lib/money/config.rb:20 def configure_current(**configs, &block); end - # source://shopify-money//lib/money/config.rb#12 + # pkg:gem/shopify-money#lib/money/config.rb:12 def current; end - # source://shopify-money//lib/money/config.rb#16 + # pkg:gem/shopify-money#lib/money/config.rb:16 def current=(config); end - # source://shopify-money//lib/money/config.rb#8 + # pkg:gem/shopify-money#lib/money/config.rb:8 def global; end - # source://shopify-money//lib/money/config.rb#32 + # pkg:gem/shopify-money#lib/money/config.rb:32 def reset_current; end private - # source://shopify-money//lib/money/config.rb#39 + # pkg:gem/shopify-money#lib/money/config.rb:39 def thread_local_config; end end end -# source://shopify-money//lib/money/config.rb#5 +# pkg:gem/shopify-money#lib/money/config.rb:5 Money::Config::CONFIG_THREAD = T.let(T.unsafe(nil), Symbol) -# source://shopify-money//lib/money/converters/factory.rb#4 +# pkg:gem/shopify-money#lib/money/converters/factory.rb:4 module Money::Converters class << self - # source://shopify-money//lib/money/converters/factory.rb#14 + # pkg:gem/shopify-money#lib/money/converters/factory.rb:14 def for(format); end - # source://shopify-money//lib/money/converters/factory.rb#10 + # pkg:gem/shopify-money#lib/money/converters/factory.rb:10 def register(key, klass); end - # source://shopify-money//lib/money/converters/factory.rb#6 + # pkg:gem/shopify-money#lib/money/converters/factory.rb:6 def subunit_converters; end end end -# source://shopify-money//lib/money/converters/converter.rb#5 +# pkg:gem/shopify-money#lib/money/converters/converter.rb:5 class Money::Converters::Converter - # source://shopify-money//lib/money/converters/converter.rb#11 + # pkg:gem/shopify-money#lib/money/converters/converter.rb:11 def from_subunits(subunits, currency); end # @raise [ArgumentError] # - # source://shopify-money//lib/money/converters/converter.rb#6 + # pkg:gem/shopify-money#lib/money/converters/converter.rb:6 def to_subunits(money); end protected # @raise [NotImplementedError] # - # source://shopify-money//lib/money/converters/converter.rb#19 + # pkg:gem/shopify-money#lib/money/converters/converter.rb:19 def subunit_to_unit(currency); end end -# source://shopify-money//lib/money/converters/iso4217_converter.rb#5 +# pkg:gem/shopify-money#lib/money/converters/iso4217_converter.rb:5 class Money::Converters::Iso4217Converter < ::Money::Converters::Converter - # source://shopify-money//lib/money/converters/iso4217_converter.rb#6 + # pkg:gem/shopify-money#lib/money/converters/iso4217_converter.rb:6 def subunit_to_unit(currency); end end -# source://shopify-money//lib/money/converters/legacy_dollars_converter.rb#5 +# pkg:gem/shopify-money#lib/money/converters/legacy_dollars_converter.rb:5 class Money::Converters::LegacyDollarsConverter < ::Money::Converters::Converter - # source://shopify-money//lib/money/converters/legacy_dollars_converter.rb#6 + # pkg:gem/shopify-money#lib/money/converters/legacy_dollars_converter.rb:6 def subunit_to_unit(currency); end end -# source://shopify-money//lib/money/converters/stripe_converter.rb#5 +# pkg:gem/shopify-money#lib/money/converters/stripe_converter.rb:5 class Money::Converters::StripeConverter < ::Money::Converters::Iso4217Converter - # source://shopify-money//lib/money/converters/stripe_converter.rb#31 + # pkg:gem/shopify-money#lib/money/converters/stripe_converter.rb:31 def subunit_to_unit(currency); end end -# source://shopify-money//lib/money/converters/stripe_converter.rb#6 +# pkg:gem/shopify-money#lib/money/converters/stripe_converter.rb:6 Money::Converters::StripeConverter::SUBUNIT_TO_UNIT = T.let(T.unsafe(nil), Hash) -# source://shopify-money//lib/money/currency/loader.rb#6 +# pkg:gem/shopify-money#lib/money/currency/loader.rb:6 class Money::Currency # @raise [UnknownCurrency] # @return [Currency] a new instance of Currency # - # source://shopify-money//lib/money/currency.rb#50 + # pkg:gem/shopify-money#lib/money/currency.rb:50 def initialize(currency_iso); end # @return [Boolean] # - # source://shopify-money//lib/money/currency.rb#82 + # pkg:gem/shopify-money#lib/money/currency.rb:82 def ==(other); end # @return [Boolean] # - # source://shopify-money//lib/money/currency.rb#78 + # pkg:gem/shopify-money#lib/money/currency.rb:78 def compatible?(other); end # Returns the value of attribute decimal_mark. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def decimal_mark; end # Returns the value of attribute disambiguate_symbol. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def disambiguate_symbol; end # @return [Boolean] # - # source://shopify-money//lib/money/currency.rb#70 + # pkg:gem/shopify-money#lib/money/currency.rb:70 def eql?(other); end - # source://shopify-money//lib/money/currency.rb#74 + # pkg:gem/shopify-money#lib/money/currency.rb:74 def hash; end # Returns the value of attribute iso_code. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def iso_code; end # Returns the value of attribute iso_numeric. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def iso_numeric; end # Returns the value of attribute minor_units. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def minor_units; end # Returns the value of attribute name. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def name; end # Returns the value of attribute smallest_denomination. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def smallest_denomination; end # Returns the value of attribute subunit_symbol. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def subunit_symbol; end # Returns the value of attribute subunit_to_unit. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def subunit_to_unit; end # Returns the value of attribute symbol. # - # source://shopify-money//lib/money/currency.rb#39 + # pkg:gem/shopify-money#lib/money/currency.rb:39 def symbol; end # Returns the value of attribute iso_code. # - # source://shopify-money//lib/money/currency.rb#83 + # pkg:gem/shopify-money#lib/money/currency.rb:83 def to_s; end class << self - # source://shopify-money//lib/money/currency.rb#30 + # pkg:gem/shopify-money#lib/money/currency.rb:30 def crypto_currencies; end - # source://shopify-money//lib/money/currency.rb#26 + # pkg:gem/shopify-money#lib/money/currency.rb:26 def currencies; end - # source://shopify-money//lib/money/currency.rb#20 + # pkg:gem/shopify-money#lib/money/currency.rb:20 def find(currency_iso); end # @raise [UnknownCurrency] # - # source://shopify-money//lib/money/currency.rb#18 + # pkg:gem/shopify-money#lib/money/currency.rb:18 def find!(currency_iso); end # @raise [UnknownCurrency] # - # source://shopify-money//lib/money/currency.rb#13 + # pkg:gem/shopify-money#lib/money/currency.rb:13 def new(currency_iso); end - # source://shopify-money//lib/money/currency.rb#34 + # pkg:gem/shopify-money#lib/money/currency.rb:34 def reset_loaded_currencies; end end end -# source://shopify-money//lib/money/currency/loader.rb#7 +# pkg:gem/shopify-money#lib/money/currency/loader.rb:7 module Money::Currency::Loader class << self - # source://shopify-money//lib/money/currency/loader.rb#19 + # pkg:gem/shopify-money#lib/money/currency/loader.rb:19 def load_crypto_currencies; end - # source://shopify-money//lib/money/currency/loader.rb#11 + # pkg:gem/shopify-money#lib/money/currency/loader.rb:11 def load_currencies; end private - # source://shopify-money//lib/money/currency/loader.rb#27 + # pkg:gem/shopify-money#lib/money/currency/loader.rb:27 def deep_deduplicate!(data); end end end -# source://shopify-money//lib/money/currency/loader.rb#8 +# pkg:gem/shopify-money#lib/money/currency/loader.rb:8 Money::Currency::Loader::CURRENCY_DATA_PATH = T.let(T.unsafe(nil), String) -# source://shopify-money//lib/money/currency.rb#10 +# pkg:gem/shopify-money#lib/money/currency.rb:10 class Money::Currency::UnknownCurrency < ::ArgumentError; end -# source://shopify-money//lib/money/errors.rb#4 +# pkg:gem/shopify-money#lib/money/errors.rb:4 class Money::Error < ::StandardError; end -# source://shopify-money//lib/money/helpers.rb#6 +# pkg:gem/shopify-money#lib/money/helpers.rb:6 module Money::Helpers extend ::Money::Helpers - # source://shopify-money//lib/money/helpers.rb#36 + # pkg:gem/shopify-money#lib/money/helpers.rb:36 def value_to_currency(currency); end - # source://shopify-money//lib/money/helpers.rb#12 + # pkg:gem/shopify-money#lib/money/helpers.rb:12 def value_to_decimal(num); end end -# source://shopify-money//lib/money/helpers.rb#9 +# pkg:gem/shopify-money#lib/money/helpers.rb:9 Money::Helpers::DECIMAL_ZERO = T.let(T.unsafe(nil), BigDecimal) -# source://shopify-money//lib/money/helpers.rb#10 +# pkg:gem/shopify-money#lib/money/helpers.rb:10 Money::Helpers::MAX_DECIMAL = T.let(T.unsafe(nil), Integer) -# source://shopify-money//lib/money/errors.rb#7 +# pkg:gem/shopify-money#lib/money/errors.rb:7 class Money::IncompatibleCurrencyError < ::Money::Error; end -# source://shopify-money//lib/money/money.rb#10 +# pkg:gem/shopify-money#lib/money/money.rb:10 Money::NULL_CURRENCY = T.let(T.unsafe(nil), Money::NullCurrency) # A placeholder currency for instances where no actual currency is available, @@ -682,92 +682,92 @@ Money::NULL_CURRENCY = T.let(T.unsafe(nil), Money::NullCurrency) # Money.new(0, Money::NULL_CURRENCY) + Money.new(5, 'CAD') # #=> # # -# source://shopify-money//lib/money/null_currency.rb#35 +# pkg:gem/shopify-money#lib/money/null_currency.rb:35 class Money::NullCurrency # @return [NullCurrency] a new instance of NullCurrency # - # source://shopify-money//lib/money/null_currency.rb#47 + # pkg:gem/shopify-money#lib/money/null_currency.rb:47 def initialize; end # @return [Boolean] # - # source://shopify-money//lib/money/null_currency.rb#73 + # pkg:gem/shopify-money#lib/money/null_currency.rb:73 def ==(other); end # @return [Boolean] # - # source://shopify-money//lib/money/null_currency.rb#61 + # pkg:gem/shopify-money#lib/money/null_currency.rb:61 def compatible?(other); end # Returns the value of attribute decimal_mark. # - # source://shopify-money//lib/money/null_currency.rb#36 + # pkg:gem/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 + # pkg:gem/shopify-money#lib/money/null_currency.rb:36 def disambiguate_symbol; end # @return [Boolean] # - # source://shopify-money//lib/money/null_currency.rb#65 + # pkg:gem/shopify-money#lib/money/null_currency.rb:65 def eql?(other); end # Returns the value of attribute iso_code. # - # source://shopify-money//lib/money/null_currency.rb#36 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/shopify-money#lib/money/null_currency.rb:36 def symbol; end - # source://shopify-money//lib/money/null_currency.rb#69 + # pkg:gem/shopify-money#lib/money/null_currency.rb:69 def to_s; end end -# source://shopify-money//lib/money/parser/fuzzy.rb#4 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:4 module Money::Parser; end -# source://shopify-money//lib/money/parser/accounting.rb#5 +# pkg:gem/shopify-money#lib/money/parser/accounting.rb:5 class Money::Parser::Accounting < ::Money::Parser::Fuzzy - # source://shopify-money//lib/money/parser/accounting.rb#6 + # pkg:gem/shopify-money#lib/money/parser/accounting.rb:6 def parse(input, currency = T.unsafe(nil), **options); end end -# source://shopify-money//lib/money/parser/fuzzy.rb#5 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:5 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 @@ -781,76 +781,76 @@ class Money::Parser::Fuzzy # @raise [MoneyFormatError] # @return [Money] # - # source://shopify-money//lib/money/parser/fuzzy.rb#75 + # pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:75 def parse(input, currency = T.unsafe(nil), strict: T.unsafe(nil)); end private - # source://shopify-money//lib/money/parser/fuzzy.rb#83 + # pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:83 def extract_amount_from_string(input, currency, strict); end # @return [Boolean] # - # source://shopify-money//lib/money/parser/fuzzy.rb#141 + # pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:141 def last_digits_decimals?(digits, marks, currency); end - # source://shopify-money//lib/money/parser/fuzzy.rb#130 + # pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:130 def normalize_number(number, marks, currency); end class << self - # source://shopify-money//lib/money/parser/fuzzy.rb#61 + # pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:61 def parse(input, currency = T.unsafe(nil), **options); end end end # 1,1123,4567.89 # -# source://shopify-money//lib/money/parser/fuzzy.rb#52 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:52 Money::Parser::Fuzzy::CHINESE_NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) # 1.234.567,89 # -# source://shopify-money//lib/money/parser/fuzzy.rb#31 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:31 Money::Parser::Fuzzy::COMMA_DECIMAL_REGEX = T.let(T.unsafe(nil), Regexp) # 1,234,567.89 # -# source://shopify-money//lib/money/parser/fuzzy.rb#21 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:21 Money::Parser::Fuzzy::DOT_DECIMAL_REGEX = T.let(T.unsafe(nil), Regexp) -# source://shopify-money//lib/money/parser/fuzzy.rb#10 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:10 Money::Parser::Fuzzy::ESCAPED_MARKS = T.let(T.unsafe(nil), String) -# source://shopify-money//lib/money/parser/fuzzy.rb#13 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:13 Money::Parser::Fuzzy::ESCAPED_NON_COMMA_MARKS = T.let(T.unsafe(nil), String) -# source://shopify-money//lib/money/parser/fuzzy.rb#12 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:12 Money::Parser::Fuzzy::ESCAPED_NON_DOT_MARKS = T.let(T.unsafe(nil), String) -# source://shopify-money//lib/money/parser/fuzzy.rb#11 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:11 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#41 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:41 Money::Parser::Fuzzy::INDIAN_NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) -# source://shopify-money//lib/money/parser/fuzzy.rb#8 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:8 Money::Parser::Fuzzy::MARKS = T.let(T.unsafe(nil), Array) -# source://shopify-money//lib/money/parser/fuzzy.rb#6 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:6 class Money::Parser::Fuzzy::MoneyFormatError < ::ArgumentError; end -# source://shopify-money//lib/money/parser/fuzzy.rb#15 +# pkg:gem/shopify-money#lib/money/parser/fuzzy.rb:15 Money::Parser::Fuzzy::NUMERIC_REGEX = T.let(T.unsafe(nil), Regexp) -# source://shopify-money//lib/money/parser/locale_aware.rb#5 +# pkg:gem/shopify-money#lib/money/parser/locale_aware.rb:5 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#11 + # pkg:gem/shopify-money#lib/money/parser/locale_aware.rb:11 def decimal_separator_resolver; end # Set the default +Proc+ to determine the current locale decimal separator. @@ -859,7 +859,7 @@ class Money::Parser::LocaleAware # Money::Parser::LocaleAware.decimal_separator_resolver = # ->() { MyFormattingLibrary.current_locale.decimal.separator } # - # source://shopify-money//lib/money/parser/locale_aware.rb#18 + # pkg:gem/shopify-money#lib/money/parser/locale_aware.rb:18 def decimal_separator_resolver=(_arg0); end # Parses an input string, normalizing some non-ASCII characters to their equivalent ASCII, then discarding any @@ -873,12 +873,12 @@ class Money::Parser::LocaleAware # @raise [ArgumentError] # @return [Money, nil] # - # source://shopify-money//lib/money/parser/locale_aware.rb#29 + # pkg:gem/shopify-money#lib/money/parser/locale_aware.rb:29 def parse(input, currency, strict: T.unsafe(nil), decimal_separator: T.unsafe(nil)); end end end -# source://shopify-money//lib/money/parser/simple.rb#5 +# pkg:gem/shopify-money#lib/money/parser/simple.rb:5 class Money::Parser::Simple class << self # Parses an input string using BigDecimal, it always expects a dot character as a decimal separator and @@ -891,74 +891,74 @@ class Money::Parser::Simple # @param strict [Boolean] # @return [Money, nil] # - # source://shopify-money//lib/money/parser/simple.rb#17 + # pkg:gem/shopify-money#lib/money/parser/simple.rb:17 def parse(input, currency, strict: T.unsafe(nil)); end end end -# source://shopify-money//lib/money/parser/simple.rb#6 +# pkg:gem/shopify-money#lib/money/parser/simple.rb:6 Money::Parser::Simple::SIGNED_DECIMAL_MATCHER = T.let(T.unsafe(nil), Regexp) -# source://shopify-money//lib/money/railtie.rb#4 +# pkg:gem/shopify-money#lib/money/railtie.rb:4 class Money::Railtie < ::Rails::Railtie; end -# source://shopify-money//lib/money/money.rb#16 +# pkg:gem/shopify-money#lib/money/money.rb:16 class Money::ReverseOperationProxy include ::Comparable # @return [ReverseOperationProxy] a new instance of ReverseOperationProxy # - # source://shopify-money//lib/money/money.rb#19 + # pkg:gem/shopify-money#lib/money/money.rb:19 def initialize(value); end - # source://shopify-money//lib/money/money.rb#35 + # pkg:gem/shopify-money#lib/money/money.rb:35 def *(other); end - # source://shopify-money//lib/money/money.rb#27 + # pkg:gem/shopify-money#lib/money/money.rb:27 def +(other); end - # source://shopify-money//lib/money/money.rb#31 + # pkg:gem/shopify-money#lib/money/money.rb:31 def -(other); end - # source://shopify-money//lib/money/money.rb#23 + # pkg:gem/shopify-money#lib/money/money.rb:23 def <=>(other); end end -# source://shopify-money//lib/money/splitter.rb#4 +# pkg:gem/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 + # pkg:gem/shopify-money#lib/money/splitter.rb:7 def initialize(money, num); end - # source://shopify-money//lib/money/splitter.rb#72 + # pkg:gem/shopify-money#lib/money/splitter.rb:72 def [](index); end - # source://shopify-money//lib/money/splitter.rb#91 + # pkg:gem/shopify-money#lib/money/splitter.rb:91 def each(&block); end - # source://shopify-money//lib/money/splitter.rb#33 + # pkg:gem/shopify-money#lib/money/splitter.rb:33 def first(count = T.unsafe(nil)); end - # source://shopify-money//lib/money/splitter.rb#52 + # pkg:gem/shopify-money#lib/money/splitter.rb:52 def last(count = T.unsafe(nil)); end - # source://shopify-money//lib/money/splitter.rb#99 + # pkg:gem/shopify-money#lib/money/splitter.rb:99 def reverse; end - # source://shopify-money//lib/money/splitter.rb#83 + # pkg:gem/shopify-money#lib/money/splitter.rb:83 def reverse_each(&block); end - # source://shopify-money//lib/money/splitter.rb#105 + # pkg:gem/shopify-money#lib/money/splitter.rb:105 def size; end - # source://shopify-money//lib/money/splitter.rb#16 + # pkg:gem/shopify-money#lib/money/splitter.rb:16 def split; end - # source://shopify-money//lib/money/splitter.rb#31 + # pkg:gem/shopify-money#lib/money/splitter.rb:31 def to_ary(*_arg0); end protected @@ -967,164 +967,164 @@ class Money::Splitter # # @param value the value to set the attribute split to. # - # source://shopify-money//lib/money/splitter.rb#14 + # pkg:gem/shopify-money#lib/money/splitter.rb:14 def split=(_arg0); end end -# source://shopify-money//lib/money/version.rb#4 +# pkg:gem/shopify-money#lib/money/version.rb:4 Money::VERSION = T.let(T.unsafe(nil), String) -# source://shopify-money//lib/money_column/active_record_hooks.rb#3 +# pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:3 module MoneyColumn; end -# source://shopify-money//lib/money_column/active_record_hooks.rb#8 +# pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:8 module MoneyColumn::ActiveRecordHooks mixes_in_class_methods ::MoneyColumn::ActiveRecordHooks::ClassMethods - # source://shopify-money//lib/money_column/active_record_hooks.rb#13 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:13 def reload(*_arg0); end private - # source://shopify-money//lib/money_column/active_record_hooks.rb#116 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:116 def _assign_attributes(new_attributes); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#25 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:25 def clear_money_column_cache; end - # source://shopify-money//lib/money_column/active_record_hooks.rb#29 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:29 def init_internals; end - # source://shopify-money//lib/money_column/active_record_hooks.rb#18 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:18 def initialize_dup(*_arg0); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#82 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:82 def read_currency_column(currency_column); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#34 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:34 def read_money_attribute(column); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#102 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:102 def validate_currency_compatibility!(column, money, currency_column); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#91 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:91 def validate_hardcoded_currency_compatibility!(column, money, expected_currency); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#64 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:64 def write_currency(column, money, options); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#47 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:47 def write_money_attribute(column, money); end class << self # @private # - # source://shopify-money//lib/money_column/active_record_hooks.rb#9 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:9 def included(base); end end end -# source://shopify-money//lib/money_column/active_record_hooks.rb#123 +# pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:123 module MoneyColumn::ActiveRecordHooks::ClassMethods - # source://shopify-money//lib/money_column/active_record_hooks.rb#126 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:126 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#124 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:124 def money_column_options; end private - # source://shopify-money//lib/money_column/active_record_hooks.rb#176 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:176 def clear_cache_on_currency_change(currency_column); end - # source://shopify-money//lib/money_column/active_record_hooks.rb#185 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:185 def inherited(subclass); end # @raise [ArgumentError] # - # source://shopify-money//lib/money_column/active_record_hooks.rb#159 + # pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:159 def normalize_money_column_options(options); end end -# source://shopify-money//lib/money_column/active_record_type.rb#4 +# pkg:gem/shopify-money#lib/money_column/active_record_type.rb:4 class MoneyColumn::ActiveRecordType < ::ActiveModel::Type::Decimal - # source://shopify-money//lib/money_column/active_record_type.rb#5 + # pkg:gem/shopify-money#lib/money_column/active_record_type.rb:5 def serialize(money); end end -# source://shopify-money//lib/money_column/active_record_hooks.rb#6 +# pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:6 class MoneyColumn::CurrencyMismatchError < ::MoneyColumn::Error; end -# source://shopify-money//lib/money_column/active_record_hooks.rb#5 +# pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:5 class MoneyColumn::CurrencyReadOnlyError < ::MoneyColumn::Error; end -# source://shopify-money//lib/money_column/active_record_hooks.rb#4 +# pkg:gem/shopify-money#lib/money_column/active_record_hooks.rb:4 class MoneyColumn::Error < ::StandardError; end -# source://shopify-money//lib/money_column/railtie.rb#4 +# pkg:gem/shopify-money#lib/money_column/railtie.rb:4 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#6 +# pkg:gem/shopify-money#lib/money/core_extensions.rb:6 class Numeric include ::Comparable - # source://shopify-money//lib/money/core_extensions.rb#7 + # pkg:gem/shopify-money#lib/money/core_extensions.rb:7 def to_money(currency = T.unsafe(nil)); end end -# source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#3 +# pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:3 module RuboCop; end -# source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#4 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:6 class RuboCop::Cop::Money::MissingCurrency < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#23 + # pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:23 def money_new(param0 = T.unsafe(nil)); end - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#63 + # pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:63 def on_csend(node); end - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#35 + # pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:35 def on_send(node); end - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#31 + # pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:31 def to_money_block?(param0 = T.unsafe(nil)); end - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#27 + # pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:27 def to_money_without_currency?(param0 = T.unsafe(nil)); end private - # source://shopify-money//lib/rubocop/cop/money/missing_currency.rb#67 + # pkg:gem/shopify-money#lib/rubocop/cop/money/missing_currency.rb:67 def replacement_currency; end end -# source://shopify-money//lib/rubocop/cop/money/zero_money.rb#6 +# pkg:gem/shopify-money#lib/rubocop/cop/money/zero_money.rb:6 class RuboCop::Cop::Money::ZeroMoney < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#31 + # pkg:gem/shopify-money#lib/rubocop/cop/money/zero_money.rb:31 def money_zero(param0 = T.unsafe(nil)); end - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#35 + # pkg:gem/shopify-money#lib/rubocop/cop/money/zero_money.rb:35 def on_send(node); end private - # source://shopify-money//lib/rubocop/cop/money/zero_money.rb#50 + # pkg:gem/shopify-money#lib/rubocop/cop/money/zero_money.rb:50 def replacement_currency(currency_arg); end end @@ -1147,7 +1147,7 @@ end # # good when configured with `ReplacementCurrency: CAD` # Money.new(0, 'CAD') # -# source://shopify-money//lib/rubocop/cop/money/zero_money.rb#29 +# pkg:gem/shopify-money#lib/rubocop/cop/money/zero_money.rb:29 RuboCop::Cop::Money::ZeroMoney::MSG = T.let(T.unsafe(nil), String) # Allows Writing of '100'.to_money for +String+ types @@ -1155,10 +1155,10 @@ RuboCop::Cop::Money::ZeroMoney::MSG = T.let(T.unsafe(nil), String) # '100'.to_money => # # '100.37'.to_money => # # -# source://shopify-money//lib/money/core_extensions.rb#16 +# pkg:gem/shopify-money#lib/money/core_extensions.rb:16 class String include ::Comparable - # source://shopify-money//lib/money/core_extensions.rb#17 + # pkg:gem/shopify-money#lib/money/core_extensions.rb:17 def to_money(currency = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/sidekiq@8.1.0.rbi b/sorbet/rbi/gems/sidekiq@8.1.0.rbi index 9b7db8ac8..9bb695168 100644 --- a/sorbet/rbi/gems/sidekiq@8.1.0.rbi +++ b/sorbet/rbi/gems/sidekiq@8.1.0.rbi @@ -5,43 +5,43 @@ # Please instead update this file by running `bin/tapioca gem sidekiq`. -# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#36 +# pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:36 module ActiveJob; end class ActiveJob::Base; end -# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#37 +# pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:37 module ActiveJob::QueueAdapters; end -# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#47 +# pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:47 class ActiveJob::QueueAdapters::SidekiqAdapter < ::ActiveJob::QueueAdapters::AbstractAdapter - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#63 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:63 def enqueue(job); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#58 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:58 def enqueue_after_transaction_commit?; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#79 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:79 def enqueue_all(jobs); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#71 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:71 def enqueue_at(job, timestamp); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#111 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:111 def stopping?; end end -# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#115 +# pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:115 ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper = Sidekiq::ActiveJob::Wrapper # Use `Sidekiq.transactional_push!` in your sidekiq.rb initializer # -# source://sidekiq//lib/sidekiq/version.rb#3 +# pkg:gem/sidekiq#lib/sidekiq/version.rb:3 module Sidekiq class << self # @yield [default_configuration] # - # source://sidekiq//lib/sidekiq.rb#141 + # pkg:gem/sidekiq#lib/sidekiq.rb:141 def configure_client; end # Creates a Sidekiq::Config instance that is more tuned for embedding @@ -63,137 +63,137 @@ module Sidekiq # # @yield [cfg] # - # source://sidekiq//lib/sidekiq.rb#129 + # pkg:gem/sidekiq#lib/sidekiq.rb:129 def configure_embed(&block); end # @yield [default_configuration] # - # source://sidekiq//lib/sidekiq.rb#102 + # pkg:gem/sidekiq#lib/sidekiq.rb:102 def configure_server(&block); end - # source://sidekiq//lib/sidekiq.rb#90 + # pkg:gem/sidekiq#lib/sidekiq.rb:90 def default_configuration; end - # source://sidekiq//lib/sidekiq.rb#86 + # pkg:gem/sidekiq#lib/sidekiq.rb:86 def default_job_options; end - # source://sidekiq//lib/sidekiq.rb#82 + # pkg:gem/sidekiq#lib/sidekiq.rb:82 def default_job_options=(hash); end - # source://sidekiq//lib/sidekiq.rb#58 + # pkg:gem/sidekiq#lib/sidekiq.rb:58 def dump_json(object); end # @return [Boolean] # - # source://sidekiq//lib/sidekiq.rb#66 + # pkg:gem/sidekiq#lib/sidekiq.rb:66 def ent?; end - # source://sidekiq//lib/sidekiq.rb#107 + # pkg:gem/sidekiq#lib/sidekiq.rb:107 def freeze!; end - # source://sidekiq//lib/sidekiq/version.rb#7 + # pkg:gem/sidekiq#lib/sidekiq/version.rb:7 def gem_version; end - # source://sidekiq//lib/sidekiq.rb#54 + # pkg:gem/sidekiq#lib/sidekiq.rb:54 def load_json(string); end - # source://sidekiq//lib/sidekiq.rb#98 + # pkg:gem/sidekiq#lib/sidekiq.rb:98 def loader; end - # source://sidekiq//lib/sidekiq.rb#94 + # pkg:gem/sidekiq#lib/sidekiq.rb:94 def logger; end # @return [Boolean] # - # source://sidekiq//lib/sidekiq.rb#62 + # pkg:gem/sidekiq#lib/sidekiq.rb:62 def pro?; end - # source://sidekiq//lib/sidekiq.rb#74 + # pkg:gem/sidekiq#lib/sidekiq.rb:74 def redis(&block); end - # source://sidekiq//lib/sidekiq.rb#70 + # pkg:gem/sidekiq#lib/sidekiq.rb:70 def redis_pool; end # @return [Boolean] # - # source://sidekiq//lib/sidekiq.rb#50 + # pkg:gem/sidekiq#lib/sidekiq.rb:50 def server?; end - # source://sidekiq//lib/sidekiq.rb#78 + # pkg:gem/sidekiq#lib/sidekiq.rb:78 def strict_args!(mode = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#46 + # pkg:gem/sidekiq#lib/sidekiq/transaction_aware_client.rb:46 def transactional_push!; end - # source://sidekiq//lib/sidekiq.rb#46 + # pkg:gem/sidekiq#lib/sidekiq.rb:46 def ❨╯°□°❩╯︵┻━┻; end end end -# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#8 +# pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:8 module Sidekiq::ActiveJob; end -# source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#10 +# pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:10 class Sidekiq::ActiveJob::Wrapper include ::Sidekiq::Job include ::Sidekiq::Job::Options extend ::Sidekiq::Job::Options::ClassMethods extend ::Sidekiq::Job::ClassMethods - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#13 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:13 def perform(job_data); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_options_hash; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_options_hash=(_arg0); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retries_exhausted_block; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retries_exhausted_block=(_arg0); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retry_in_block; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retry_in_block=(_arg0); end class << self - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_options_hash; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_options_hash=(val); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retries_exhausted_block; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retries_exhausted_block=(val); end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retry_in_block; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def sidekiq_retry_in_block=(val); end private - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def __synchronized_sidekiq_options_hash; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def __synchronized_sidekiq_retries_exhausted_block; end - # source://sidekiq//lib/active_job/queue_adapters/sidekiq_adapter.rb#11 + # pkg:gem/sidekiq#lib/active_job/queue_adapters/sidekiq_adapter.rb:11 def __synchronized_sidekiq_retry_in_block; end end end -# source://sidekiq//lib/sidekiq/client.rb#8 +# pkg:gem/sidekiq#lib/sidekiq/client.rb:8 class Sidekiq::Client include ::Sidekiq::JobUtil @@ -211,14 +211,14 @@ class Sidekiq::Client # @param pool [ConnectionPool] explicit Redis pool to use # @return [Client] a new instance of Client # - # source://sidekiq//lib/sidekiq/client.rb#45 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:64 def cancel!(jid); end # Define client-side middleware: @@ -232,7 +232,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 + # pkg:gem/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: @@ -259,7 +259,7 @@ class Sidekiq::Client # Example: # push('queue' => 'my_queue', 'class' => MyJob, 'args' => ['foo', 1, :bat => 'bar']) # - # source://sidekiq//lib/sidekiq/client.rb#101 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:101 def push(item); end # Push a large number of jobs to Redis. This method cuts out the redis @@ -284,27 +284,27 @@ class Sidekiq::Client # # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/client.rb#134 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:134 def push_bulk(items); end # Returns the value of attribute redis_pool. # - # source://sidekiq//lib/sidekiq/client.rb#31 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:31 def redis_pool=(_arg0); end private - # source://sidekiq//lib/sidekiq/client.rb#277 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:277 def atomic_push(conn, payloads); end - # source://sidekiq//lib/sidekiq/client.rb#253 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:253 def raw_push(payloads); end class << self @@ -316,31 +316,31 @@ class Sidekiq::Client # # Messages are enqueued to the 'default' queue. # - # source://sidekiq//lib/sidekiq/client.rb#218 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:218 def enqueue(klass, *args); end # Example usage: # Sidekiq::Client.enqueue_in(3.minutes, MyJob, 'foo', 1, :bat => 'bar') # - # source://sidekiq//lib/sidekiq/client.rb#246 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:246 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#225 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:225 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#232 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:232 def enqueue_to_in(queue, interval, klass, *args); end - # source://sidekiq//lib/sidekiq/client.rb#202 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:202 def push(item); end - # source://sidekiq//lib/sidekiq/client.rb#206 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:206 def push_bulk(*_arg0, **_arg1, &_arg2); end # Allows sharding of jobs across any number of Redis instances. All jobs @@ -356,37 +356,37 @@ 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#192 + # pkg:gem/sidekiq#lib/sidekiq/client.rb:192 def via(pool); end end end # no difference for now # -# source://sidekiq//lib/sidekiq/middleware/modules.rb#22 +# pkg:gem/sidekiq#lib/sidekiq/middleware/modules.rb:22 Sidekiq::ClientMiddleware = Sidekiq::ServerMiddleware # Sidekiq::Component provides a set of utility methods depending only # on Sidekiq::Config. It assumes a config instance is available at @config. # -# source://sidekiq//lib/sidekiq/component.rb#24 +# pkg:gem/sidekiq#lib/sidekiq/component.rb:24 module Sidekiq::Component - # source://sidekiq//lib/sidekiq/component.rb#25 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:25 def config; end - # source://sidekiq//lib/sidekiq/component.rb#118 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:118 def default_tag(dir = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/component.rb#79 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:79 def fire_event(event, options = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/component.rb#75 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:75 def handle_exception(ex, ctx = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/component.rb#63 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:63 def hostname; end - # source://sidekiq//lib/sidekiq/component.rb#71 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:71 def identity; end # When you have a large tree of components, the `inspect` output @@ -394,54 +394,54 @@ module Sidekiq::Component # references everywhere. We avoid calling `inspect` on more complex # state and use `to_s` instead to keep output manageable, #6553 # - # source://sidekiq//lib/sidekiq/component.rb#100 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:100 def inspect; end - # source://sidekiq//lib/sidekiq/component.rb#51 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:51 def logger; end # used for time difference and relative comparisons, not persistence. # - # source://sidekiq//lib/sidekiq/component.rb#33 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:33 def mono_ms; end - # source://sidekiq//lib/sidekiq/component.rb#67 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:67 def process_nonce; end # This is epoch milliseconds, appropriate for persistence # - # source://sidekiq//lib/sidekiq/component.rb#28 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:28 def real_ms; end - # source://sidekiq//lib/sidekiq/component.rb#55 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:55 def redis(&block); end - # source://sidekiq//lib/sidekiq/component.rb#44 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:44 def safe_thread(name, priority: T.unsafe(nil), &block); end - # source://sidekiq//lib/sidekiq/component.rb#59 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:59 def tid; end - # source://sidekiq//lib/sidekiq/component.rb#37 + # pkg:gem/sidekiq#lib/sidekiq/component.rb:37 def watchdog(last_words); end end # Sidekiq::Config represents the global configuration for an instance of Sidekiq. # -# source://sidekiq//lib/sidekiq/config.rb#8 +# pkg:gem/sidekiq#lib/sidekiq/config.rb:8 class Sidekiq::Config extend ::Forwardable # @return [Config] a new instance of Config # - # source://sidekiq//lib/sidekiq/config.rb#63 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:63 def initialize(options = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/config.rb#71 - def [](*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def [](*_arg0, **_arg1, &_arg2); end - # source://sidekiq//lib/sidekiq/config.rb#71 - def []=(*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def []=(*_arg0, **_arg1, &_arg2); end # How frequently Redis should be checked by a random Sidekiq process for # scheduled and retriable jobs. Each individual process will take turns by @@ -449,33 +449,33 @@ class Sidekiq::Config # # See sidekiq/scheduled.rb for an in-depth explanation of this value # - # source://sidekiq//lib/sidekiq/config.rb#251 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:251 def average_scheduled_poll_interval=(interval); end # register a new queue processing subsystem # # @yield [cap] # - # source://sidekiq//lib/sidekiq/config.rb#134 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:134 def capsule(name); end # Returns the value of attribute capsules. # - # source://sidekiq//lib/sidekiq/config.rb#72 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:72 def capsules; end # @yield [@client_chain] # - # source://sidekiq//lib/sidekiq/config.rb#117 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:117 def client_middleware; end - # source://sidekiq//lib/sidekiq/config.rb#91 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:91 def concurrency; end # LEGACY: edits the default capsule # config.concurrency = 5 # - # source://sidekiq//lib/sidekiq/config.rb#87 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:87 def concurrency=(val); end # Death handlers are called when all retries for a job have been exhausted and @@ -487,14 +487,14 @@ class Sidekiq::Config # end # end # - # source://sidekiq//lib/sidekiq/config.rb#242 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:242 def death_handlers; end - # source://sidekiq//lib/sidekiq/config.rb#129 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:129 def default_capsule(&block); end - # source://sidekiq//lib/sidekiq/config.rb#71 - def dig(*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def dig(*_arg0, **_arg1, &_arg2); end # Register a proc to handle any error which occurs within the Sidekiq process. # @@ -504,47 +504,47 @@ class Sidekiq::Config # # The default error handler logs errors to @logger. # - # source://sidekiq//lib/sidekiq/config.rb#262 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:262 def error_handlers; end - # source://sidekiq//lib/sidekiq/config.rb#71 - def fetch(*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def fetch(*_arg0, **_arg1, &_arg2); end - # source://sidekiq//lib/sidekiq/config.rb#227 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:227 def freeze!; end # INTERNAL USE ONLY # - # source://sidekiq//lib/sidekiq/config.rb#306 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:306 def handle_exception(ex, ctx = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/config.rb#71 - def has_key?(*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def has_key?(*_arg0, **_arg1, &_arg2); end - # source://sidekiq//lib/sidekiq/config.rb#75 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:75 def inspect; end - # source://sidekiq//lib/sidekiq/config.rb#71 - def key?(*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def key?(*_arg0, **_arg1, &_arg2); end - # source://sidekiq//lib/sidekiq/config.rb#157 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:157 def local_redis_pool; end - # source://sidekiq//lib/sidekiq/config.rb#280 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:280 def logger; end - # source://sidekiq//lib/sidekiq/config.rb#291 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:291 def logger=(logger); end # find a singleton # - # source://sidekiq//lib/sidekiq/config.rb#219 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:219 def lookup(name, default_class = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/config.rb#71 - def merge!(*args, **_arg1, &block); end + # pkg:gem/sidekiq#lib/sidekiq/config.rb:71 + def merge!(*_arg0, **_arg1, &_arg2); end - # source://sidekiq//lib/sidekiq/config.rb#163 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:163 def new_redis_pool(size, name = T.unsafe(nil)); end # Register a block to run at a point in the Sidekiq lifecycle. @@ -558,10 +558,10 @@ class Sidekiq::Config # # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/config.rb#274 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:274 def on(event, &block); end - # source://sidekiq//lib/sidekiq/config.rb#113 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:113 def queues; end # Edit the default capsule. @@ -575,78 +575,78 @@ 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#109 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:109 def queues=(val); end - # source://sidekiq//lib/sidekiq/config.rb#149 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:149 def reap_idle_redis_connections(timeout = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/config.rb#185 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:185 def redis; end # All capsules must use the same Redis configuration # - # source://sidekiq//lib/sidekiq/config.rb#145 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:145 def redis=(hash); end - # source://sidekiq//lib/sidekiq/config.rb#169 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:169 def redis_info; end - # source://sidekiq//lib/sidekiq/config.rb#153 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:153 def redis_pool; end # register global singletons which can be accessed elsewhere # - # source://sidekiq//lib/sidekiq/config.rb#208 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:208 def register(name, instance); end # @yield [@server_chain] # - # source://sidekiq//lib/sidekiq/config.rb#123 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:123 def server_middleware; end # Returns the value of attribute thread_priority. # - # source://sidekiq//lib/sidekiq/config.rb#73 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:73 def thread_priority; end # Sets the attribute thread_priority # # @param value the value to set the attribute thread_priority to. # - # source://sidekiq//lib/sidekiq/config.rb#73 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:73 def thread_priority=(_arg0); end - # source://sidekiq//lib/sidekiq/config.rb#81 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:81 def to_json(*_arg0); end - # source://sidekiq//lib/sidekiq/config.rb#95 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:95 def total_concurrency; end private - # source://sidekiq//lib/sidekiq/config.rb#300 + # pkg:gem/sidekiq#lib/sidekiq/config.rb:300 def parameter_size(handler); end end -# source://sidekiq//lib/sidekiq/config.rb#11 +# pkg:gem/sidekiq#lib/sidekiq/config.rb:11 Sidekiq::Config::DEFAULTS = T.let(T.unsafe(nil), Hash) -# source://sidekiq//lib/sidekiq/config.rb#43 +# pkg:gem/sidekiq#lib/sidekiq/config.rb:43 Sidekiq::Config::ERROR_HANDLER = T.let(T.unsafe(nil), Proc) -# source://sidekiq//lib/sidekiq/logger.rb#7 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:7 module Sidekiq::Context class << self - # source://sidekiq//lib/sidekiq/logger.rb#20 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:20 def add(k, v); end - # source://sidekiq//lib/sidekiq/logger.rb#16 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:16 def current; end - # source://sidekiq//lib/sidekiq/logger.rb#8 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:8 def with(hash); end end end @@ -666,10 +666,10 @@ end # cfg.thread_priority = 0 # end # -# source://sidekiq//lib/sidekiq/component.rb#19 +# pkg:gem/sidekiq#lib/sidekiq/component.rb:19 Sidekiq::DEFAULT_THREAD_PRIORITY = T.let(T.unsafe(nil), Integer) -# source://sidekiq//lib/sidekiq/iterable_job.rb#34 +# pkg:gem/sidekiq#lib/sidekiq/iterable_job.rb:34 module Sidekiq::IterableJob include ::Sidekiq::Job::Options include ::Sidekiq::Job @@ -682,7 +682,7 @@ module Sidekiq::IterableJob class << self # @private # - # source://sidekiq//lib/sidekiq/iterable_job.rb#35 + # pkg:gem/sidekiq#lib/sidekiq/iterable_job.rb:35 def included(base); end end end @@ -724,7 +724,7 @@ end # this reason, we don't implement `perform_later` as our call semantics # are very different. # -# source://sidekiq//lib/sidekiq/job.rb#44 +# pkg:gem/sidekiq#lib/sidekiq/job.rb:44 module Sidekiq::Job include ::Sidekiq::Job::Options @@ -733,39 +733,39 @@ module Sidekiq::Job # This attribute is implementation-specific and not a public API # - # source://sidekiq//lib/sidekiq/job.rb#163 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:163 def _context=(_arg0); end # @return [Boolean] # - # source://sidekiq//lib/sidekiq/job.rb#176 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:176 def interrupted?; end # Returns the value of attribute jid. # - # source://sidekiq//lib/sidekiq/job.rb#160 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:160 def jid=(_arg0); end - # source://sidekiq//lib/sidekiq/job.rb#172 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:172 def logger; end class << self # @private # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job.rb#165 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:165 def included(base); end end end @@ -808,38 +808,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#277 +# pkg:gem/sidekiq#lib/sidekiq/job.rb:277 module Sidekiq::Job::ClassMethods - # source://sidekiq//lib/sidekiq/job.rb#380 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:380 def build_client; end # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job.rb#365 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:365 def client_push(item); end # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job.rb#278 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:278 def delay(*args); end # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job.rb#282 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:282 def delay_for(*args); end # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job.rb#286 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:286 def delay_until(*args); end - # source://sidekiq//lib/sidekiq/job.rb#298 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:298 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#346 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:346 def perform_at(interval, *args); end # Push a large number of jobs to Redis, while limiting the batch of @@ -861,29 +861,29 @@ module Sidekiq::Job::ClassMethods # # SomeJob.perform_bulk([[1], [2], [3]]) # - # source://sidekiq//lib/sidekiq/job.rb#328 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:328 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#334 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:334 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#303 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:303 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#306 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:306 def perform_sync(*args); end - # source://sidekiq//lib/sidekiq/job.rb#290 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:290 def queue_as(q); end - # source://sidekiq//lib/sidekiq/job.rb#294 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:294 def set(options); end # Allows customization for this type of Job. @@ -899,14 +899,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#361 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:361 def sidekiq_options(opts = T.unsafe(nil)); end end -# source://sidekiq//lib/sidekiq/job/iterable.rb#7 +# pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:7 class Sidekiq::Job::Interrupted < ::RuntimeError; end -# source://sidekiq//lib/sidekiq/job/iterable/active_record_enumerator.rb#5 +# pkg:gem/sidekiq#lib/sidekiq/job/iterable/active_record_enumerator.rb:5 module Sidekiq::Job::Iterable include ::Sidekiq::Job::Iterable::Enumerators @@ -914,17 +914,17 @@ module Sidekiq::Job::Iterable # @api private # - # source://sidekiq//lib/sidekiq/job/iterable.rb#26 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:26 def initialize; end - # source://sidekiq//lib/sidekiq/job/iterable.rb#43 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:43 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#88 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:88 def around_iteration; end # The enumerator to be iterated over. @@ -933,29 +933,29 @@ module Sidekiq::Job::Iterable # implement an override for this method. # @return [Enumerator] # - # source://sidekiq//lib/sidekiq/job/iterable.rb#121 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:121 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#55 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:55 def cancel!; end # @return [Boolean] # - # source://sidekiq//lib/sidekiq/job/iterable.rb#69 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:69 def cancelled?; end # Access to the current object while iterating. # This value is not reset so the latest element is # explicitly available to cleanup/complete callbacks. # - # source://sidekiq//lib/sidekiq/job/iterable.rb#41 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:41 def current_object; end - # source://sidekiq//lib/sidekiq/job/iterable.rb#73 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:73 def cursor; end # The action to be performed on each item from the enumerator. @@ -964,128 +964,128 @@ module Sidekiq::Job::Iterable # implement an override for this method. # @return [void] # - # source://sidekiq//lib/sidekiq/job/iterable.rb#132 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:132 def each_iteration(*_arg0); end - # source://sidekiq//lib/sidekiq/job/iterable.rb#136 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:136 def iteration_key; end # A hook to override that will be called when the job is cancelled. # - # source://sidekiq//lib/sidekiq/job/iterable.rb#106 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:106 def on_cancel; end # A hook to override that will be called when the job finished iterating. # - # source://sidekiq//lib/sidekiq/job/iterable.rb#111 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:111 def on_complete; end # A hook to override that will be called when the job resumes iterating. # - # source://sidekiq//lib/sidekiq/job/iterable.rb#94 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:94 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#81 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:81 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#101 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:101 def on_stop; end # @api private # - # source://sidekiq//lib/sidekiq/job/iterable.rb#141 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:141 def perform(*args); end private - # source://sidekiq//lib/sidekiq/job/iterable.rb#261 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:261 def assert_enumerator!(enum); end - # source://sidekiq//lib/sidekiq/job/iterable.rb#298 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:298 def cleanup; end - # source://sidekiq//lib/sidekiq/job/iterable.rb#183 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:183 def fetch_previous_iteration_state; end - # source://sidekiq//lib/sidekiq/job/iterable.rb#281 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:281 def flush_state; end - # source://sidekiq//lib/sidekiq/job/iterable.rb#305 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:305 def handle_completed(completed); end # @return [Boolean] # - # source://sidekiq//lib/sidekiq/job/iterable.rb#179 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:179 def is_cancelled?; end # one month # - # source://sidekiq//lib/sidekiq/job/iterable.rb#198 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:198 def iterate_with_enumerator(enumerator, arguments); end - # source://sidekiq//lib/sidekiq/job/iterable.rb#317 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:317 def mono_now; end # @raise [Interrupted] # - # source://sidekiq//lib/sidekiq/job/iterable.rb#254 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:254 def reenqueue_iteration_job; end # @return [Boolean] # - # source://sidekiq//lib/sidekiq/job/iterable.rb#276 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:276 def should_interrupt?; end - # source://sidekiq//lib/sidekiq/job/iterable.rb#244 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:244 def verify_iteration_time(time_limit); end class << self # @api private # @private # - # source://sidekiq//lib/sidekiq/job/iterable.rb#13 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable/active_record_enumerator.rb:46 def relations_size; end end @@ -1093,48 +1093,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#50 +# pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:50 Sidekiq::Job::Iterable::CANCELLATION_PERIOD = T.let(T.unsafe(nil), String) # @api private # -# source://sidekiq//lib/sidekiq/job/iterable.rb#18 +# pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:18 module Sidekiq::Job::Iterable::ClassMethods # @api private # - # source://sidekiq//lib/sidekiq/job/iterable.rb#19 + # pkg:gem/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 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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. @@ -1154,7 +1154,7 @@ module Sidekiq::Job::Iterable::Enumerators # end # @see #active_record_records_enumerator # - # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#68 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable/enumerators.rb:68 def active_record_batches_enumerator(relation, cursor:, **options); end # Builds Enumerator from `ActiveRecord::Relation`. @@ -1174,7 +1174,7 @@ module Sidekiq::Job::Iterable::Enumerators # @param relation [ActiveRecord::Relation] relation to iterate # @return [ActiveRecordEnumerator] # - # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#46 + # pkg:gem/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, @@ -1195,7 +1195,7 @@ module Sidekiq::Job::Iterable::Enumerators # end # @see #active_record_records_enumerator # - # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#90 + # pkg:gem/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. @@ -1207,7 +1207,7 @@ module Sidekiq::Job::Iterable::Enumerators # @raise [ArgumentError] # @return [Enumerator] # - # source://sidekiq//lib/sidekiq/job/iterable/enumerators.rb#20 + # pkg:gem/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. @@ -1226,7 +1226,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 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable/enumerators.rb:129 def csv_batches_enumerator(csv, cursor:, **options); end # Builds Enumerator from a CSV file. @@ -1243,42 +1243,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 + # pkg:gem/sidekiq#lib/sidekiq/job/iterable/enumerators.rb:109 def csv_enumerator(csv, cursor:); end end # seconds # -# source://sidekiq//lib/sidekiq/job/iterable.rb#193 +# pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:193 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#196 +# pkg:gem/sidekiq#lib/sidekiq/job/iterable.rb:196 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 +# pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:49 def included(base); end end end -# source://sidekiq//lib/sidekiq/job.rb#56 +# pkg:gem/sidekiq#lib/sidekiq/job.rb:56 module Sidekiq::Job::Options::ClassMethods - # source://sidekiq//lib/sidekiq/job.rb#88 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:88 def get_sidekiq_options; end - # source://sidekiq//lib/sidekiq/job.rb#92 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:92 def sidekiq_class_attribute(*attrs); end # Allows customization for this type of Job. @@ -1293,118 +1293,118 @@ 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 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:71 def sidekiq_options(opts = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/job.rb#84 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:84 def sidekiq_retries_exhausted(&block); end - # source://sidekiq//lib/sidekiq/job.rb#80 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:80 def sidekiq_retry_in(&block); end end -# source://sidekiq//lib/sidekiq/job.rb#57 +# pkg:gem/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 +# pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:187 def initialize(klass, opts); end - # source://sidekiq//lib/sidekiq/job.rb#205 + # pkg:gem/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#263 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:263 def perform_at(interval, *args); end - # source://sidekiq//lib/sidekiq/job.rb#253 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:253 def perform_bulk(args, **options); end # +interval+ must be a timestamp, numeric or something that acts # numeric (like an activesupport time interval). # - # source://sidekiq//lib/sidekiq/job.rb#260 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:260 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 + # pkg:gem/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#251 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:251 def perform_sync(*args); end - # source://sidekiq//lib/sidekiq/job.rb#197 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:197 def set(options); end private - # source://sidekiq//lib/sidekiq/job.rb#267 + # pkg:gem/sidekiq#lib/sidekiq/job.rb:267 def at(interval); end end -# source://sidekiq//lib/sidekiq/job_util.rb#7 +# pkg:gem/sidekiq#lib/sidekiq/job_util.rb:7 module Sidekiq::JobUtil # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job_util.rb#43 + # pkg:gem/sidekiq#lib/sidekiq/job_util.rb:43 def normalize_item(item); end - # source://sidekiq//lib/sidekiq/job_util.rb#69 + # pkg:gem/sidekiq#lib/sidekiq/job_util.rb:69 def normalized_hash(item_class); end - # source://sidekiq//lib/sidekiq/job_util.rb#65 + # pkg:gem/sidekiq#lib/sidekiq/job_util.rb:65 def now_in_millis; end # @raise [ArgumentError] # - # source://sidekiq//lib/sidekiq/job_util.rb#12 + # pkg:gem/sidekiq#lib/sidekiq/job_util.rb:12 def validate(item); end - # source://sidekiq//lib/sidekiq/job_util.rb#21 + # pkg:gem/sidekiq#lib/sidekiq/job_util.rb:21 def verify_json(item); end private # @return [Boolean] # - # source://sidekiq//lib/sidekiq/job_util.rb#109 + # pkg:gem/sidekiq#lib/sidekiq/job_util.rb:109 def json_unsafe?(item); end end -# source://sidekiq//lib/sidekiq/job_util.rb#80 +# pkg:gem/sidekiq#lib/sidekiq/job_util.rb:80 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 +# pkg:gem/sidekiq#lib/sidekiq/job_util.rb:10 Sidekiq::JobUtil::TRANSIENT_ATTRIBUTES = T.let(T.unsafe(nil), Array) -# source://sidekiq//lib/sidekiq.rb#44 +# pkg:gem/sidekiq#lib/sidekiq.rb:44 Sidekiq::LICENSE = T.let(T.unsafe(nil), String) -# source://sidekiq//lib/sidekiq/loader.rb#4 +# pkg:gem/sidekiq#lib/sidekiq/loader.rb:4 class Sidekiq::Loader include ::Sidekiq::Component # @return [Loader] a new instance of Loader # - # source://sidekiq//lib/sidekiq/loader.rb#7 + # pkg:gem/sidekiq#lib/sidekiq/loader.rb:7 def initialize(cfg = T.unsafe(nil)); end # Declares a block that will be executed when a Sidekiq component is fully @@ -1415,7 +1415,7 @@ class Sidekiq::Loader # # extend the sidekiq API # end # - # source://sidekiq//lib/sidekiq/loader.rb#22 + # pkg:gem/sidekiq#lib/sidekiq/loader.rb:22 def on_load(name, &block); end # Executes all blocks registered to +name+ via on_load. @@ -1424,53 +1424,53 @@ class Sidekiq::Loader # # In the case of the above example, it will execute all hooks registered for +:api+. # - # source://sidekiq//lib/sidekiq/loader.rb#44 + # pkg:gem/sidekiq#lib/sidekiq/loader.rb:44 def run_load_hooks(name); end end -# source://sidekiq//lib/sidekiq/logger.rb#25 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:25 class Sidekiq::Logger < ::Logger; end -# source://sidekiq//lib/sidekiq/logger.rb#26 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:26 module Sidekiq::Logger::Formatters; end -# source://sidekiq//lib/sidekiq/logger.rb#27 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:27 class Sidekiq::Logger::Formatters::Base < ::Logger::Formatter - # source://sidekiq//lib/sidekiq/logger.rb#40 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:40 def format_context(ctxt = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/logger.rb#36 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:36 def tid; end end -# source://sidekiq//lib/sidekiq/logger.rb#28 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:28 Sidekiq::Logger::Formatters::Base::COLORS = T.let(T.unsafe(nil), Hash) -# source://sidekiq//lib/sidekiq/logger.rb#70 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:70 class Sidekiq::Logger::Formatters::JSON < ::Sidekiq::Logger::Formatters::Base - # source://sidekiq//lib/sidekiq/logger.rb#71 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:71 def call(severity, time, program_name, message); end end -# source://sidekiq//lib/sidekiq/logger.rb#58 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:58 class Sidekiq::Logger::Formatters::Plain < ::Sidekiq::Logger::Formatters::Base - # source://sidekiq//lib/sidekiq/logger.rb#59 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:59 def call(severity, time, program_name, message); end end -# source://sidekiq//lib/sidekiq/logger.rb#52 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:52 class Sidekiq::Logger::Formatters::Pretty < ::Sidekiq::Logger::Formatters::Base - # source://sidekiq//lib/sidekiq/logger.rb#53 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:53 def call(severity, time, program_name, message); end end -# source://sidekiq//lib/sidekiq/logger.rb#64 +# pkg:gem/sidekiq#lib/sidekiq/logger.rb:64 class Sidekiq::Logger::Formatters::WithoutTimestamp < ::Sidekiq::Logger::Formatters::Pretty - # source://sidekiq//lib/sidekiq/logger.rb#65 + # pkg:gem/sidekiq#lib/sidekiq/logger.rb:65 def call(severity, time, program_name, message); end end -# source://sidekiq//lib/sidekiq/version.rb#5 +# pkg:gem/sidekiq#lib/sidekiq/version.rb:5 Sidekiq::MAJOR = T.let(T.unsafe(nil), Integer) # Middleware is code configured to run before/after @@ -1546,10 +1546,10 @@ Sidekiq::MAJOR = T.let(T.unsafe(nil), Integer) # end # end # -# source://sidekiq//lib/sidekiq/middleware/chain.rb#79 +# pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:79 module Sidekiq::Middleware; end -# source://sidekiq//lib/sidekiq/middleware/chain.rb#80 +# pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:80 class Sidekiq::Middleware::Chain include ::Enumerable @@ -1558,7 +1558,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 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:89 def initialize(config = T.unsafe(nil)); end # Add the given middleware to the end of the chain. @@ -1570,75 +1570,75 @@ class Sidekiq::Middleware::Chain # @param *args [Array] Set of arguments to pass to every instance of your middleware # @param klass [Class] Your middleware class # - # source://sidekiq//lib/sidekiq/middleware/chain.rb#119 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:119 def add(klass, *args); end - # source://sidekiq//lib/sidekiq/middleware/chain.rb#163 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:163 def clear; end - # source://sidekiq//lib/sidekiq/middleware/chain.rb#99 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:155 def empty?; end - # source://sidekiq//lib/sidekiq/middleware/chain.rb#95 + # pkg:gem/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 + # pkg:gem/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#152 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:107 def remove(klass); end - # source://sidekiq//lib/sidekiq/middleware/chain.rb#159 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:159 def retrieve; end private - # source://sidekiq//lib/sidekiq/middleware/chain.rb#178 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:178 def traverse(chain, index, args, &block); end end @@ -1646,231 +1646,231 @@ end # # @api private # -# source://sidekiq//lib/sidekiq/middleware/chain.rb#191 +# pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:194 def initialize(config, klass, *args); end # @api private # - # source://sidekiq//lib/sidekiq/middleware/chain.rb#192 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:192 def klass; end # @api private # - # source://sidekiq//lib/sidekiq/middleware/chain.rb#200 + # pkg:gem/sidekiq#lib/sidekiq/middleware/chain.rb:200 def make_new; end end -# source://sidekiq//lib/sidekiq.rb#43 +# pkg:gem/sidekiq#lib/sidekiq.rb:43 Sidekiq::NAME = T.let(T.unsafe(nil), String) -# source://sidekiq//lib/sidekiq/rails.rb#10 +# pkg:gem/sidekiq#lib/sidekiq/rails.rb:10 class Sidekiq::Rails < ::Rails::Engine; end -# source://sidekiq//lib/sidekiq/rails.rb#11 +# pkg:gem/sidekiq#lib/sidekiq/rails.rb:11 class Sidekiq::Rails::Reloader - # source://sidekiq//lib/sidekiq/rails.rb#12 + # pkg:gem/sidekiq#lib/sidekiq/rails.rb:12 def initialize(app = T.unsafe(nil)); end - # source://sidekiq//lib/sidekiq/rails.rb#16 + # pkg:gem/sidekiq#lib/sidekiq/rails.rb:16 def call; end - # source://sidekiq//lib/sidekiq/rails.rb#23 + # pkg:gem/sidekiq#lib/sidekiq/rails.rb:23 def inspect; end - # source://sidekiq//lib/sidekiq/rails.rb#27 + # pkg:gem/sidekiq#lib/sidekiq/rails.rb:27 def to_hash; end end -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#7 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:7 class Sidekiq::RedisClientAdapter # @return [RedisClientAdapter] a new instance of RedisClientAdapter # - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#62 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:62 def initialize(options); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#78 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:78 def new_client; end private - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#84 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:84 def client_opts(options); end end -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#8 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:8 Sidekiq::RedisClientAdapter::BaseError = RedisClient::Error -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#9 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:9 Sidekiq::RedisClientAdapter::CommandError = RedisClient::CommandError -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#54 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:54 class Sidekiq::RedisClientAdapter::CompatClient < ::RedisClient::Decorator::Client include ::Sidekiq::RedisClientAdapter::CompatMethods - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#57 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:57 def config; end end -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#54 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:54 class Sidekiq::RedisClientAdapter::CompatClient::Pipeline < ::RedisClient::Decorator::Pipeline include ::Sidekiq::RedisClientAdapter::CompatMethods end -# source://sidekiq//lib/sidekiq/redis_client_adapter.rb#14 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:14 module Sidekiq::RedisClientAdapter::CompatMethods - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def bitfield(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def bitfield_ro(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def del(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#19 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:19 def evalsha(sha, keys, argv); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def exists(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def expire(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def flushdb(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def get(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hdel(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hget(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hgetall(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hincrby(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hlen(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hmget(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hset(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def hsetnx(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def incr(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def incrby(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#15 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:15 def info; end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def lindex(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def llen(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def lmove(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def lpop(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def lpush(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def lrange(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def lrem(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def mget(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def mset(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def ping(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def pttl(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def publish(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def rpop(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def rpush(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def sadd(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def scard(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def script(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def set(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def sismember(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def smembers(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def srem(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def ttl(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def type(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def unlink(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zadd(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zcard(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zincrby(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zrange(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zrem(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zremrangebyrank(*args, **kwargs); end - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#34 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:34 def zremrangebyscore(*args, **kwargs); end private @@ -1878,12 +1878,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#43 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:43 def method_missing(*args, **_arg1, &block); end # @return [Boolean] # - # source://sidekiq//lib/sidekiq/redis_client_adapter.rb#49 + # pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:49 def respond_to_missing?(name, include_private = T.unsafe(nil)); end end @@ -1891,34 +1891,34 @@ 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#26 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:26 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#12 +# pkg:gem/sidekiq#lib/sidekiq/redis_client_adapter.rb:12 Sidekiq::RedisClientAdapter::DEPRECATED_COMMANDS = T.let(T.unsafe(nil), Set) -# source://sidekiq//lib/sidekiq/redis_connection.rb#8 +# pkg:gem/sidekiq#lib/sidekiq/redis_connection.rb:8 module Sidekiq::RedisConnection class << self - # source://sidekiq//lib/sidekiq/redis_connection.rb#10 + # pkg:gem/sidekiq#lib/sidekiq/redis_connection.rb:10 def create(options = T.unsafe(nil)); end private - # source://sidekiq//lib/sidekiq/redis_connection.rb#52 + # pkg:gem/sidekiq#lib/sidekiq/redis_connection.rb:52 def deep_symbolize_keys(object); end - # source://sidekiq//lib/sidekiq/redis_connection.rb#92 + # pkg:gem/sidekiq#lib/sidekiq/redis_connection.rb:92 def determine_redis_provider; end - # source://sidekiq//lib/sidekiq/redis_connection.rb#65 + # pkg:gem/sidekiq#lib/sidekiq/redis_connection.rb:65 def scrub(options); end # Wrap hard-coded passwords in a Proc to avoid logging the value # - # source://sidekiq//lib/sidekiq/redis_connection.rb#44 + # pkg:gem/sidekiq#lib/sidekiq/redis_connection.rb:44 def wrap(pwd); end end end @@ -1926,27 +1926,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 +# pkg:gem/sidekiq#lib/sidekiq/middleware/modules.rb:6 module Sidekiq::ServerMiddleware # Returns the value of attribute config. # - # source://sidekiq//lib/sidekiq/middleware/modules.rb#7 + # pkg:gem/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 + # pkg:gem/sidekiq#lib/sidekiq/middleware/modules.rb:7 def config=(_arg0); end - # source://sidekiq//lib/sidekiq/middleware/modules.rb#12 + # pkg:gem/sidekiq#lib/sidekiq/middleware/modules.rb:12 def logger; end - # source://sidekiq//lib/sidekiq/middleware/modules.rb#16 + # pkg:gem/sidekiq#lib/sidekiq/middleware/modules.rb:16 def redis(&block); end - # source://sidekiq//lib/sidekiq/middleware/modules.rb#8 + # pkg:gem/sidekiq#lib/sidekiq/middleware/modules.rb:8 def redis_pool; end end @@ -1957,33 +1957,33 @@ end # otherwise Ruby's Thread#kill will commit. See #377. # DO NOT RESCUE THIS ERROR IN YOUR JOBS # -# source://sidekiq//lib/sidekiq.rb#151 +# pkg:gem/sidekiq#lib/sidekiq.rb:151 class Sidekiq::Shutdown < ::Interrupt; end -# source://sidekiq//lib/sidekiq/transaction_aware_client.rb#7 +# pkg:gem/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 + # pkg:gem/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#18 + # pkg:gem/sidekiq#lib/sidekiq/transaction_aware_client.rb:18 def batching?; end - # source://sidekiq//lib/sidekiq/transaction_aware_client.rb#22 + # pkg:gem/sidekiq#lib/sidekiq/transaction_aware_client.rb:22 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#37 + # pkg:gem/sidekiq#lib/sidekiq/transaction_aware_client.rb:37 def push_bulk(items); end end -# source://sidekiq//lib/sidekiq/version.rb#4 +# pkg:gem/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. @@ -1995,5 +1995,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 +# pkg:gem/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 329c1086b..78c7ddf1f 100644 --- a/sorbet/rbi/gems/smart_properties@1.17.0.rbi +++ b/sorbet/rbi/gems/smart_properties@1.17.0.rbi @@ -24,7 +24,7 @@ # :required => true # @see ClassMethods#property More information on how to configure properties # -# source://smart_properties//lib/smart_properties.rb#23 +# pkg:gem/smart_properties#lib/smart_properties.rb:23 module SmartProperties mixes_in_class_methods ::SmartProperties::ClassMethods @@ -37,13 +37,13 @@ module SmartProperties # @raise [SmartProperties::ConstructorArgumentForwardingError] when unknown arguments were supplied that could not be processed by the super class initializer either. # @raise [SmartProperties::InitializationError] when incorrect values were supplied or required values weren't been supplied. # - # source://smart_properties//lib/smart_properties.rb#127 + # pkg:gem/smart_properties#lib/smart_properties.rb:127 def initialize(*args, &block); end - # source://smart_properties//lib/smart_properties.rb#165 + # pkg:gem/smart_properties#lib/smart_properties.rb:165 def [](name); end - # source://smart_properties//lib/smart_properties.rb#172 + # pkg:gem/smart_properties#lib/smart_properties.rb:172 def []=(name, value); end class << self @@ -54,51 +54,51 @@ module SmartProperties # # @param base [Class] the class this module is included in # - # source://smart_properties//lib/smart_properties.rb#110 + # pkg:gem/smart_properties#lib/smart_properties.rb:110 def included(base); end end end -# source://smart_properties//lib/smart_properties/errors.rb#5 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:5 class SmartProperties::AssignmentError < ::SmartProperties::Error # @return [AssignmentError] a new instance of AssignmentError # - # source://smart_properties//lib/smart_properties/errors.rb#9 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:9 def initialize(sender, property, message); end # Returns the value of attribute property. # - # source://smart_properties//lib/smart_properties/errors.rb#7 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:7 def property; end # Sets the attribute property # # @param value the value to set the attribute property to. # - # source://smart_properties//lib/smart_properties/errors.rb#7 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:7 def property=(_arg0); end # Returns the value of attribute sender. # - # source://smart_properties//lib/smart_properties/errors.rb#6 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:6 def sender; end # Sets the attribute sender # # @param value the value to set the attribute sender to. # - # source://smart_properties//lib/smart_properties/errors.rb#6 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:6 def sender=(_arg0); end end -# source://smart_properties//lib/smart_properties.rb#24 +# pkg:gem/smart_properties#lib/smart_properties.rb:24 module SmartProperties::ClassMethods # Returns a class's smart properties. This includes the properties that # have been defined in the parent classes. # # @return [Hash] A map of property names to property instances. # - # source://smart_properties//lib/smart_properties.rb#31 + # pkg:gem/smart_properties#lib/smart_properties.rb:31 def properties; end protected @@ -141,336 +141,336 @@ module SmartProperties::ClassMethods # @param options [Hash] the list of options used to configure the property # @return [Property] The defined property. # - # source://smart_properties//lib/smart_properties.rb#82 + # pkg:gem/smart_properties#lib/smart_properties.rb:82 def property(name, **options); end - # source://smart_properties//lib/smart_properties.rb#87 + # pkg:gem/smart_properties#lib/smart_properties.rb:87 def property!(name, **options); end end -# source://smart_properties//lib/smart_properties/errors.rb#3 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:3 class SmartProperties::ConfigurationError < ::SmartProperties::Error; end -# source://smart_properties//lib/smart_properties/errors.rb#16 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:16 class SmartProperties::ConstructorArgumentForwardingError < ::SmartProperties::Error # @return [ConstructorArgumentForwardingError] a new instance of ConstructorArgumentForwardingError # - # source://smart_properties//lib/smart_properties/errors.rb#17 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:17 def initialize(positional_arguments, keyword_arguments); end private - # source://smart_properties//lib/smart_properties/errors.rb#33 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:33 def generate_description(argument_type, argument_number); end end -# source://smart_properties//lib/smart_properties/errors.rb#2 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:2 class SmartProperties::Error < ::ArgumentError; end -# source://smart_properties//lib/smart_properties/errors.rb#95 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:95 class SmartProperties::InitializationError < ::SmartProperties::Error # @return [InitializationError] a new instance of InitializationError # - # source://smart_properties//lib/smart_properties/errors.rb#99 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:99 def initialize(sender, properties); end # Returns the value of attribute properties. # - # source://smart_properties//lib/smart_properties/errors.rb#97 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:97 def properties; end # Sets the attribute properties # # @param value the value to set the attribute properties to. # - # source://smart_properties//lib/smart_properties/errors.rb#97 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:97 def properties=(_arg0); end # Returns the value of attribute sender. # - # source://smart_properties//lib/smart_properties/errors.rb#96 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:96 def sender; end # Sets the attribute sender # # @param value the value to set the attribute sender to. # - # source://smart_properties//lib/smart_properties/errors.rb#96 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:96 def sender=(_arg0); end - # source://smart_properties//lib/smart_properties/errors.rb#110 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:110 def to_hash; end end -# source://smart_properties//lib/smart_properties/errors.rb#62 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:62 class SmartProperties::InvalidValueError < ::SmartProperties::AssignmentError # @return [InvalidValueError] a new instance of InvalidValueError # - # source://smart_properties//lib/smart_properties/errors.rb#65 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:65 def initialize(sender, property, value); end - # source://smart_properties//lib/smart_properties/errors.rb#80 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:80 def to_hash; end # Returns the value of attribute value. # - # source://smart_properties//lib/smart_properties/errors.rb#63 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:63 def value; end # Sets the attribute value # # @param value the value to set the attribute value to. # - # source://smart_properties//lib/smart_properties/errors.rb#63 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:63 def value=(_arg0); end private - # source://smart_properties//lib/smart_properties/errors.rb#86 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:86 def accepter_message(sender, property); end end -# source://smart_properties//lib/smart_properties/errors.rb#45 +# pkg:gem/smart_properties#lib/smart_properties/errors.rb:45 class SmartProperties::MissingValueError < ::SmartProperties::AssignmentError # @return [MissingValueError] a new instance of MissingValueError # - # source://smart_properties//lib/smart_properties/errors.rb#46 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:46 def initialize(sender, property); end - # source://smart_properties//lib/smart_properties/errors.rb#57 + # pkg:gem/smart_properties#lib/smart_properties/errors.rb:57 def to_hash; end end -# source://smart_properties//lib/smart_properties.rb#94 +# pkg:gem/smart_properties#lib/smart_properties.rb:94 module SmartProperties::ModuleMethods - # source://smart_properties//lib/smart_properties.rb#95 + # pkg:gem/smart_properties#lib/smart_properties.rb:95 def included(target); end end -# source://smart_properties//lib/smart_properties/property.rb#2 +# pkg:gem/smart_properties#lib/smart_properties/property.rb:2 class SmartProperties::Property # @return [Property] a new instance of Property # - # source://smart_properties//lib/smart_properties/property.rb#17 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:17 def initialize(name, **attrs); end # Returns the value of attribute accepter. # - # source://smart_properties//lib/smart_properties/property.rb#8 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:8 def accepter; end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#78 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:78 def accepts?(value, scope); end - # source://smart_properties//lib/smart_properties/property.rb#62 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:62 def convert(scope, value); end # Returns the value of attribute converter. # - # source://smart_properties//lib/smart_properties/property.rb#7 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:7 def converter; end - # source://smart_properties//lib/smart_properties/property.rb#74 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:74 def default(scope); end - # source://smart_properties//lib/smart_properties/property.rb#98 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:98 def define(klass); end - # source://smart_properties//lib/smart_properties/property.rb#136 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:136 def get(scope); end # Returns the value of attribute instance_variable_name. # - # source://smart_properties//lib/smart_properties/property.rb#10 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:10 def instance_variable_name; end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#49 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:49 def missing?(scope); end # Returns the value of attribute name. # - # source://smart_properties//lib/smart_properties/property.rb#6 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:6 def name; end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#45 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:45 def optional?(scope); end # @raise [MissingValueError] # - # source://smart_properties//lib/smart_properties/property.rb#89 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:89 def prepare(scope, value); end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#53 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:53 def present?(scope); end # Returns the value of attribute reader. # - # source://smart_properties//lib/smart_properties/property.rb#9 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:9 def reader; end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#41 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:41 def required?(scope); end - # source://smart_properties//lib/smart_properties/property.rb#122 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:122 def set(scope, value); end - # source://smart_properties//lib/smart_properties/property.rb#126 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:126 def set_default(scope); end - # source://smart_properties//lib/smart_properties/property.rb#141 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:141 def to_h; end # Returns the value of attribute writable. # - # source://smart_properties//lib/smart_properties/property.rb#11 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:11 def writable; end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#57 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:57 def writable?; end private # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property.rb#155 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:155 def null_object?(object); end class << self - # source://smart_properties//lib/smart_properties/property.rb#13 + # pkg:gem/smart_properties#lib/smart_properties/property.rb:13 def define(scope, name, **options); end end end -# source://smart_properties//lib/smart_properties/property.rb#4 +# pkg:gem/smart_properties#lib/smart_properties/property.rb:4 SmartProperties::Property::ALLOWED_DEFAULT_CLASSES = T.let(T.unsafe(nil), Array) -# source://smart_properties//lib/smart_properties/property.rb#3 +# pkg:gem/smart_properties#lib/smart_properties/property.rb:3 SmartProperties::Property::MODULE_REFERENCE = T.let(T.unsafe(nil), Symbol) -# source://smart_properties//lib/smart_properties/property_collection.rb#2 +# pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:2 class SmartProperties::PropertyCollection include ::Enumerable # @return [PropertyCollection] a new instance of PropertyCollection # - # source://smart_properties//lib/smart_properties/property_collection.rb#23 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:23 def initialize; end - # source://smart_properties//lib/smart_properties/property_collection.rb#37 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:37 def [](name); end - # source://smart_properties//lib/smart_properties/property_collection.rb#29 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:29 def []=(name, value); end - # source://smart_properties//lib/smart_properties/property_collection.rb#53 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:53 def each(&block); end # @return [Boolean] # - # source://smart_properties//lib/smart_properties/property_collection.rb#41 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:41 def key?(name); end - # source://smart_properties//lib/smart_properties/property_collection.rb#45 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:45 def keys; end # Returns the value of attribute parent. # - # source://smart_properties//lib/smart_properties/property_collection.rb#5 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:5 def parent; end - # source://smart_properties//lib/smart_properties/property_collection.rb#62 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:62 def register(child); end - # source://smart_properties//lib/smart_properties/property_collection.rb#58 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:58 def to_hash; end - # source://smart_properties//lib/smart_properties/property_collection.rb#49 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:49 def values; end protected # Returns the value of attribute children. # - # source://smart_properties//lib/smart_properties/property_collection.rb#70 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:70 def children; end # Sets the attribute children # # @param value the value to set the attribute children to. # - # source://smart_properties//lib/smart_properties/property_collection.rb#70 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:70 def children=(_arg0); end # Returns the value of attribute collection. # - # source://smart_properties//lib/smart_properties/property_collection.rb#71 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:71 def collection; end # Sets the attribute collection # # @param value the value to set the attribute collection to. # - # source://smart_properties//lib/smart_properties/property_collection.rb#71 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:71 def collection=(_arg0); end # Returns the value of attribute collection_with_parent_collection. # - # source://smart_properties//lib/smart_properties/property_collection.rb#72 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:72 def collection_with_parent_collection; end # Sets the attribute collection_with_parent_collection # # @param value the value to set the attribute collection_with_parent_collection to. # - # source://smart_properties//lib/smart_properties/property_collection.rb#72 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:72 def collection_with_parent_collection=(_arg0); end - # source://smart_properties//lib/smart_properties/property_collection.rb#74 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:74 def notify_children; end - # source://smart_properties//lib/smart_properties/property_collection.rb#78 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:78 def refresh(parent_collection); end class << self - # source://smart_properties//lib/smart_properties/property_collection.rb#7 + # pkg:gem/smart_properties#lib/smart_properties/property_collection.rb:7 def for(scope); end end end -# source://smart_properties//lib/smart_properties/version.rb#2 +# pkg:gem/smart_properties#lib/smart_properties/version.rb:2 SmartProperties::VERSION = T.let(T.unsafe(nil), String) -# source://smart_properties//lib/smart_properties/validations.rb#4 +# pkg:gem/smart_properties#lib/smart_properties/validations.rb:4 module SmartProperties::Validations; end -# source://smart_properties//lib/smart_properties/validations/ancestor.rb#4 +# pkg:gem/smart_properties#lib/smart_properties/validations/ancestor.rb:4 class SmartProperties::Validations::Ancestor include ::SmartProperties extend ::SmartProperties::ClassMethods - # source://smart_properties//lib/smart_properties/validations/ancestor.rb#13 + # pkg:gem/smart_properties#lib/smart_properties/validations/ancestor.rb:13 def to_proc; end - # source://smart_properties//lib/smart_properties/validations/ancestor.rb#18 + # pkg:gem/smart_properties#lib/smart_properties/validations/ancestor.rb:18 def to_s; end - # source://smart_properties//lib/smart_properties/validations/ancestor.rb#9 + # pkg:gem/smart_properties#lib/smart_properties/validations/ancestor.rb:9 def validate(klass); end class << self - # source://smart_properties//lib/smart_properties/validations/ancestor.rb#23 + # pkg:gem/smart_properties#lib/smart_properties/validations/ancestor.rb:23 def must_be(*_arg0); end end end diff --git a/sorbet/rbi/gems/spoom@1.7.11.rbi b/sorbet/rbi/gems/spoom@1.7.11.rbi index d3edf97df..9d639299e 100644 --- a/sorbet/rbi/gems/spoom@1.7.11.rbi +++ b/sorbet/rbi/gems/spoom@1.7.11.rbi @@ -11,16 +11,16 @@ # This is an autogenerated file for types exported from the `spoom` gem. # Please instead update this file by running `bundle exec spoom srb sigs export`. -# source://spoom//lib/spoom.rb#7 +# pkg:gem/spoom#lib/spoom.rb:7 module Spoom class << self - # source://spoom//lib/spoom/parse.rb#11 + # pkg:gem/spoom#lib/spoom/parse.rb:11 sig { params(ruby: ::String, file: ::String).returns([::Prism::Node, T::Array[::Prism::Comment]]) } def parse_ruby(ruby, file:); end end end -# source://spoom//lib/spoom/bundler_helper.rb#5 +# pkg:gem/spoom#lib/spoom/bundler_helper.rb:5 module Spoom::BundlerHelper class << self # Generate a gem requirement for the given gem name, using that gem's version in the "real" current bundle. @@ -30,44 +30,44 @@ module Spoom::BundlerHelper # # Given `"foo"`, returns a string like 'gem "foo", "= 1.2.3"', suitable for inserting into a Gemfile. # - # source://spoom//lib/spoom/bundler_helper.rb#16 + # pkg:gem/spoom#lib/spoom/bundler_helper.rb:16 sig { params(gem_name: ::String).returns(::String) } def gem_requirement_from_real_bundle(gem_name); end end end -# source://spoom//lib/spoom/cli/helper.rb#9 +# pkg:gem/spoom#lib/spoom/cli/helper.rb:9 module Spoom::Cli; end -# source://spoom//lib/spoom/cli/deadcode.rb#8 +# pkg:gem/spoom#lib/spoom/cli/deadcode.rb:8 class Spoom::Cli::Deadcode < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/deadcode.rb#51 + # pkg:gem/spoom#lib/spoom/cli/deadcode.rb:51 sig { params(paths: ::String).void } def deadcode(*paths); end - # source://spoom//lib/spoom/cli.rb#71 + # pkg:gem/spoom#lib/spoom/cli.rb:71 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/deadcode.rb#153 + # pkg:gem/spoom#lib/spoom/cli/deadcode.rb:153 def remove(location_string); end end -# source://spoom//lib/spoom/cli/helper.rb#11 +# pkg:gem/spoom#lib/spoom/cli/helper.rb:11 module Spoom::Cli::Helper include ::Spoom::Colorize requires_ancestor { Thor } - # source://spoom//lib/spoom/cli/helper.rb#146 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:146 sig { params(string: ::String).returns(::String) } def blue(string); end # Collect files from `paths`, defaulting to `exec_path` # - # source://spoom//lib/spoom/cli/helper.rb#82 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:82 sig { params(paths: T::Array[::String], include_rbi_files: T::Boolean).returns(T::Array[::String]) } def collect_files(paths, include_rbi_files: T.unsafe(nil)); end @@ -75,57 +75,57 @@ module Spoom::Cli::Helper # # @return [Boolean] # - # source://spoom//lib/spoom/cli/helper.rb#110 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:110 sig { returns(T::Boolean) } def color?; end # Colorize a string if `color?` # - # source://spoom//lib/spoom/cli/helper.rb#139 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:139 sig { params(string: ::String, color: ::Spoom::Color).returns(::String) } def colorize(string, *color); end # Returns the context at `--path` (by default the current working directory) # - # source://spoom//lib/spoom/cli/helper.rb#55 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:55 sig { returns(::Spoom::Context) } def context; end # Raise if `spoom` is not ran inside a context with a `sorbet/config` file # - # source://spoom//lib/spoom/cli/helper.rb#61 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:61 sig { returns(::Spoom::Context) } def context_requiring_sorbet!; end - # source://spoom//lib/spoom/cli/helper.rb#151 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:151 sig { params(string: ::String).returns(::String) } def cyan(string); end # Return the path specified through `--path` # - # source://spoom//lib/spoom/cli/helper.rb#76 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:76 sig { returns(::String) } def exec_path; end - # source://spoom//lib/spoom/cli/helper.rb#156 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:156 sig { params(string: ::String).returns(::String) } def gray(string); end - # source://spoom//lib/spoom/cli/helper.rb#161 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:161 sig { params(string: ::String).returns(::String) } def green(string); end - # source://spoom//lib/spoom/cli/helper.rb#115 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:115 sig { params(string: ::String).returns(::String) } def highlight(string); end - # source://spoom//lib/spoom/cli/helper.rb#166 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:166 sig { params(string: ::String).returns(::String) } def red(string); end # Print `message` on `$stdout` # - # source://spoom//lib/spoom/cli/helper.rb#16 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:16 sig { params(message: ::String).void } def say(message); end @@ -133,7 +133,7 @@ module Spoom::Cli::Helper # # The message is prefixed by a status (default: `Error`). # - # source://spoom//lib/spoom/cli/helper.rb#29 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:29 sig { params(message: ::String, status: T.nilable(::String), nl: T::Boolean).void } def say_error(message, status: T.unsafe(nil), nl: T.unsafe(nil)); end @@ -141,284 +141,284 @@ module Spoom::Cli::Helper # # The message is prefixed by a status (default: `Warning`). # - # source://spoom//lib/spoom/cli/helper.rb#43 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:43 sig { params(message: ::String, status: T.nilable(::String), nl: T::Boolean).void } def say_warning(message, status: T.unsafe(nil), nl: T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/helper.rb#171 + # pkg:gem/spoom#lib/spoom/cli/helper.rb:171 sig { params(string: ::String).returns(::String) } def yellow(string); end end -# source://spoom//lib/spoom/cli.rb#12 +# pkg:gem/spoom#lib/spoom/cli.rb:12 class Spoom::Cli::Main < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli.rb#100 + # pkg:gem/spoom#lib/spoom/cli.rb:100 def __print_version; end - # source://spoom//lib/spoom/cli.rb#57 + # pkg:gem/spoom#lib/spoom/cli.rb:57 sig { params(directory: ::String).void } def bump(directory = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli.rb#64 + # pkg:gem/spoom#lib/spoom/cli.rb:64 def coverage(*args); end - # source://spoom//lib/spoom/cli.rb#71 + # pkg:gem/spoom#lib/spoom/cli.rb:71 def deadcode(*args); end - # source://spoom//lib/spoom/cli.rb#74 + # pkg:gem/spoom#lib/spoom/cli.rb:74 def lsp(*args); end - # source://spoom//lib/spoom/cli.rb#21 + # pkg:gem/spoom#lib/spoom/cli.rb:21 def srb(*args); end - # source://spoom//lib/spoom/cli.rb#93 + # pkg:gem/spoom#lib/spoom/cli.rb:93 def tc(*paths_to_select); end class << self # @return [Boolean] # - # source://spoom//lib/spoom/cli.rb#107 + # pkg:gem/spoom#lib/spoom/cli.rb:107 def exit_on_failure?; end end end -# source://spoom//lib/spoom/cli.rb#80 +# pkg:gem/spoom#lib/spoom/cli.rb:80 Spoom::Cli::Main::SORT_CODE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli.rb#82 +# pkg:gem/spoom#lib/spoom/cli.rb:82 Spoom::Cli::Main::SORT_ENUM = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/cli.rb#81 +# pkg:gem/spoom#lib/spoom/cli.rb:81 Spoom::Cli::Main::SORT_LOC = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli/srb/assertions.rb#6 +# pkg:gem/spoom#lib/spoom/cli/srb/assertions.rb:6 module Spoom::Cli::Srb; end -# source://spoom//lib/spoom/cli/srb/assertions.rb#7 +# pkg:gem/spoom#lib/spoom/cli/srb/assertions.rb:7 class Spoom::Cli::Srb::Assertions < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb.rb#17 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:17 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/assertions.rb#42 + # pkg:gem/spoom#lib/spoom/cli/srb/assertions.rb:42 def transform_files(files, &block); end - # source://spoom//lib/spoom/cli/srb/assertions.rb#18 + # pkg:gem/spoom#lib/spoom/cli/srb/assertions.rb:18 def translate(*paths); end end -# source://spoom//lib/spoom/cli/srb/bump.rb#10 +# pkg:gem/spoom#lib/spoom/cli/srb/bump.rb:10 class Spoom::Cli::Srb::Bump < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb/bump.rb#49 + # pkg:gem/spoom#lib/spoom/cli/srb/bump.rb:49 sig { params(directory: ::String).void } def bump(directory = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb.rb#20 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:20 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/bump.rb#170 + # pkg:gem/spoom#lib/spoom/cli/srb/bump.rb:170 def print_changes(files, command:, from: T.unsafe(nil), to: T.unsafe(nil), dry: T.unsafe(nil), path: T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/bump.rb#192 + # pkg:gem/spoom#lib/spoom/cli/srb/bump.rb:192 def undo_changes(files, from_strictness); end end -# source://spoom//lib/spoom/cli/srb/coverage.rb#10 +# pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:10 class Spoom::Cli::Srb::Coverage < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb/coverage.rb#199 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:199 def bundle_install(path, sha); end - # source://spoom//lib/spoom/cli/srb.rb#23 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:23 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/coverage.rb#211 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:211 def message_no_data(file); end - # source://spoom//lib/spoom/cli/srb/coverage.rb#174 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:174 def open(file = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/coverage.rb#190 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:190 def parse_time(string, option); end - # source://spoom//lib/spoom/cli/srb/coverage.rb#143 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:143 def report; end - # source://spoom//lib/spoom/cli/srb/coverage.rb#21 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:21 def snapshot; end - # source://spoom//lib/spoom/cli/srb/coverage.rb#43 + # pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:43 def timeline; end end -# source://spoom//lib/spoom/cli/srb/coverage.rb#13 +# pkg:gem/spoom#lib/spoom/cli/srb/coverage.rb:13 Spoom::Cli::Srb::Coverage::DATA_DIR = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli/srb/lsp.rb#11 +# pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:11 class Spoom::Cli::Srb::LSP < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#45 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:45 def defs(file, line, col); end # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#55 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:55 def find(query); end - # source://spoom//lib/spoom/cli/srb.rb#26 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:26 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 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:31 def hover(file, line, col); end # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#16 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:16 def list; end - # source://spoom//lib/spoom/cli/srb/lsp.rb#104 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:104 def lsp_client; end # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#75 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:75 def refs(file, line, col); end - # source://spoom//lib/spoom/cli/srb/lsp.rb#127 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:127 def run(&block); end # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#85 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:85 def sigs(file, line, col); end - # source://spoom//lib/spoom/cli/srb/lsp.rb#119 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:119 def symbol_printer; end # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#65 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:65 def symbols(file); end - # source://spoom//lib/spoom/cli/srb/lsp.rb#152 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:152 def to_uri(path); end # TODO: options, filter, limit, kind etc.. filter rbi # - # source://spoom//lib/spoom/cli/srb/lsp.rb#95 + # pkg:gem/spoom#lib/spoom/cli/srb/lsp.rb:95 def types(file, line, col); end end -# source://spoom//lib/spoom/cli/srb.rb#15 +# pkg:gem/spoom#lib/spoom/cli/srb.rb:15 class Spoom::Cli::Srb::Main < ::Thor - # source://spoom//lib/spoom/cli/srb.rb#17 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:17 def assertions(*args); end - # source://spoom//lib/spoom/cli/srb.rb#20 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:20 def bump(*args); end - # source://spoom//lib/spoom/cli/srb.rb#23 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:23 def coverage(*args); end - # source://spoom//lib/spoom/cli.rb#21 + # pkg:gem/spoom#lib/spoom/cli.rb:21 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb.rb#26 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:26 def lsp(*args); end - # source://spoom//lib/spoom/cli/srb.rb#29 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:29 def metrics(*args); end - # source://spoom//lib/spoom/cli/srb.rb#32 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:32 def sigs(*args); end - # source://spoom//lib/spoom/cli/srb.rb#35 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:35 def tc(*args); end end -# source://spoom//lib/spoom/cli/srb/metrics.rb#7 +# pkg:gem/spoom#lib/spoom/cli/srb/metrics.rb:7 class Spoom::Cli::Srb::Metrics < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb.rb#29 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:29 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/metrics.rb#14 + # pkg:gem/spoom#lib/spoom/cli/srb/metrics.rb:14 def show(*paths); end end -# source://spoom//lib/spoom/cli/srb/sigs.rb#9 +# pkg:gem/spoom#lib/spoom/cli/srb/sigs.rb:9 class Spoom::Cli::Srb::Sigs < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb/sigs.rb#226 + # pkg:gem/spoom#lib/spoom/cli/srb/sigs.rb:226 def exec(context, command); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#95 + # pkg:gem/spoom#lib/spoom/cli/srb/sigs.rb:95 def export(output_path = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb.rb#32 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:32 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#76 + # pkg:gem/spoom#lib/spoom/cli/srb/sigs.rb:76 def strip(*paths); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#203 + # pkg:gem/spoom#lib/spoom/cli/srb/sigs.rb:203 def transform_files(files, &block); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#25 + # pkg:gem/spoom#lib/spoom/cli/srb/sigs.rb:25 def translate(*paths); end end -# source://spoom//lib/spoom/cli/srb/tc.rb#7 +# pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:7 class Spoom::Cli::Srb::Tc < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb/tc.rb#147 + # pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:147 def colorize_message(message); end - # source://spoom//lib/spoom/cli/srb/tc.rb#138 + # pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:138 def format_error(error, format); end - # source://spoom//lib/spoom/cli/srb.rb#35 + # pkg:gem/spoom#lib/spoom/cli/srb.rb:35 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/tc.rb#28 + # pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:28 def tc(*paths_to_select); end end -# source://spoom//lib/spoom/cli/srb/tc.rb#16 +# pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:16 Spoom::Cli::Srb::Tc::DEFAULT_FORMAT = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli/srb/tc.rb#12 +# pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:12 Spoom::Cli::Srb::Tc::SORT_CODE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli/srb/tc.rb#14 +# pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:14 Spoom::Cli::Srb::Tc::SORT_ENUM = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/cli/srb/tc.rb#13 +# pkg:gem/spoom#lib/spoom/cli/srb/tc.rb:13 Spoom::Cli::Srb::Tc::SORT_LOC = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/colors.rb#5 +# pkg:gem/spoom#lib/spoom/colors.rb:5 class Spoom::Color < ::T::Enum enums do BLACK = new @@ -441,14 +441,14 @@ class Spoom::Color < ::T::Enum YELLOW = new end - # source://spoom//lib/spoom/colors.rb#30 + # pkg:gem/spoom#lib/spoom/colors.rb:30 sig { returns(::String) } def ansi_code; end end -# source://spoom//lib/spoom/colors.rb#35 +# pkg:gem/spoom#lib/spoom/colors.rb:35 module Spoom::Colorize - # source://spoom//lib/spoom/colors.rb#37 + # pkg:gem/spoom#lib/spoom/colors.rb:37 sig { params(string: ::String, color: ::Spoom::Color).returns(::String) } def set_color(string, *color); end end @@ -458,7 +458,7 @@ end # A context maps to a directory in the file system. # It is used to manipulate files and run commands in the context of this directory. # -# source://spoom//lib/spoom/context/bundle.rb#5 +# pkg:gem/spoom#lib/spoom/context/bundle.rb:5 class Spoom::Context include ::Spoom::Context::Bundle include ::Spoom::Context::Exec @@ -473,13 +473,13 @@ class Spoom::Context # # @return [Context] a new instance of Context # - # source://spoom//lib/spoom/context.rb#47 + # pkg:gem/spoom#lib/spoom/context.rb:47 sig { params(absolute_path: ::String).void } def initialize(absolute_path); end # The absolute path to the directory this context is about # - # source://spoom//lib/spoom/context.rb#40 + # pkg:gem/spoom#lib/spoom/context.rb:40 sig { returns(::String) } def absolute_path; end @@ -489,7 +489,7 @@ class Spoom::Context # `name` is used as prefix to the temporary directory name. # The directory will be created if it doesn't exist. # - # source://spoom//lib/spoom/context.rb#33 + # pkg:gem/spoom#lib/spoom/context.rb:33 sig { params(name: T.nilable(::String)).returns(T.attached_class) } def mktmp!(name = T.unsafe(nil)); end end @@ -497,25 +497,25 @@ end # Bundle features for a context # -# source://spoom//lib/spoom/context/bundle.rb#8 +# pkg:gem/spoom#lib/spoom/context/bundle.rb:8 module Spoom::Context::Bundle requires_ancestor { Spoom::Context } # Run a command with `bundle` in this context directory # - # source://spoom//lib/spoom/context/bundle.rb#29 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:29 sig { params(command: ::String, version: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def bundle(command, version: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Run a command `bundle exec` in this context directory # - # source://spoom//lib/spoom/context/bundle.rb#42 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:42 sig { params(command: ::String, version: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def bundle_exec(command, version: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Run `bundle install` in this context directory # - # source://spoom//lib/spoom/context/bundle.rb#36 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:36 sig { params(version: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def bundle_install!(version: T.unsafe(nil), capture_err: T.unsafe(nil)); end @@ -523,59 +523,59 @@ module Spoom::Context::Bundle # # Returns `nil` if `gem` cannot be found in the Gemfile. # - # source://spoom//lib/spoom/context/bundle.rb#58 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:58 sig { params(gem: ::String).returns(T.nilable(::Gem::Version)) } def gem_version_from_gemfile_lock(gem); end - # source://spoom//lib/spoom/context/bundle.rb#47 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:47 sig { returns(T::Hash[::String, ::Bundler::LazySpecification]) } def gemfile_lock_specs; end # Read the contents of the Gemfile in this context directory # - # source://spoom//lib/spoom/context/bundle.rb#11 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:11 sig { returns(T.nilable(::String)) } def read_gemfile; end # Read the contents of the Gemfile.lock in this context directory # - # source://spoom//lib/spoom/context/bundle.rb#17 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:17 sig { returns(T.nilable(::String)) } def read_gemfile_lock; end # Set the `contents` of the Gemfile in this context directory # - # source://spoom//lib/spoom/context/bundle.rb#23 + # pkg:gem/spoom#lib/spoom/context/bundle.rb:23 sig { params(contents: ::String, append: T::Boolean).void } def write_gemfile!(contents, append: T.unsafe(nil)); end end # Execution features for a context # -# source://spoom//lib/spoom/context/exec.rb#28 +# pkg:gem/spoom#lib/spoom/context/exec.rb:28 module Spoom::Context::Exec requires_ancestor { Spoom::Context } # Run a command in this context directory # - # source://spoom//lib/spoom/context/exec.rb#31 + # pkg:gem/spoom#lib/spoom/context/exec.rb:31 sig { params(command: ::String, capture_err: T::Boolean).returns(::Spoom::ExecResult) } def exec(command, capture_err: T.unsafe(nil)); end end # File System features for a context # -# source://spoom//lib/spoom/context/file_system.rb#8 +# pkg:gem/spoom#lib/spoom/context/file_system.rb:8 module Spoom::Context::FileSystem requires_ancestor { Spoom::Context } # Returns the absolute path to `relative_path` in the context's directory # - # source://spoom//lib/spoom/context/file_system.rb#11 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:11 sig { params(relative_path: ::String).returns(::String) } def absolute_path_to(relative_path); end - # source://spoom//lib/spoom/context/file_system.rb#47 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:47 sig do params( allow_extensions: T::Array[::String], @@ -589,7 +589,7 @@ module Spoom::Context::FileSystem # # Warning: it will `rm -rf` the context directory on the file system. # - # source://spoom//lib/spoom/context/file_system.rb#99 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:99 sig { void } def destroy!; end @@ -597,7 +597,7 @@ module Spoom::Context::FileSystem # # @return [Boolean] # - # source://spoom//lib/spoom/context/file_system.rb#17 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:17 sig { returns(T::Boolean) } def exist?; end @@ -605,31 +605,31 @@ module Spoom::Context::FileSystem # # @return [Boolean] # - # source://spoom//lib/spoom/context/file_system.rb#59 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:59 sig { params(relative_path: ::String).returns(T::Boolean) } def file?(relative_path); end # List all files in this context matching `pattern` # - # source://spoom//lib/spoom/context/file_system.rb#30 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:30 sig { params(pattern: ::String).returns(T::Array[::String]) } def glob(pattern = T.unsafe(nil)); end # List all files at the top level of this context directory # - # source://spoom//lib/spoom/context/file_system.rb#38 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:38 sig { returns(T::Array[::String]) } def list; end # Create the context directory at `absolute_path` # - # source://spoom//lib/spoom/context/file_system.rb#23 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:23 sig { void } def mkdir!; end # Move the file or directory from `from_relative_path` to `to_relative_path` # - # source://spoom//lib/spoom/context/file_system.rb#89 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:89 sig { params(from_relative_path: ::String, to_relative_path: ::String).void } def move!(from_relative_path, to_relative_path); end @@ -637,13 +637,13 @@ module Spoom::Context::FileSystem # # Will raise if the file doesn't exist. # - # source://spoom//lib/spoom/context/file_system.rb#67 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:67 sig { params(relative_path: ::String).returns(::String) } def read(relative_path); end # Remove the path at `relative_path` (recursive + force) in this context directory # - # source://spoom//lib/spoom/context/file_system.rb#83 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:83 sig { params(relative_path: ::String).void } def remove!(relative_path); end @@ -651,50 +651,50 @@ module Spoom::Context::FileSystem # # Append to the file if `append` is true. # - # source://spoom//lib/spoom/context/file_system.rb#75 + # pkg:gem/spoom#lib/spoom/context/file_system.rb:75 sig { params(relative_path: ::String, contents: ::String, append: T::Boolean).void } def write!(relative_path, contents = T.unsafe(nil), append: T.unsafe(nil)); end end # Git features for a context # -# source://spoom//lib/spoom/context/git.rb#32 +# pkg:gem/spoom#lib/spoom/context/git.rb:32 module Spoom::Context::Git requires_ancestor { Spoom::Context } # Run a command prefixed by `git` in this context directory # - # source://spoom//lib/spoom/context/git.rb#35 + # pkg:gem/spoom#lib/spoom/context/git.rb:35 sig { params(command: ::String).returns(::Spoom::ExecResult) } def git(command); end # Run `git checkout` in this context directory # - # source://spoom//lib/spoom/context/git.rb#54 + # pkg:gem/spoom#lib/spoom/context/git.rb:54 sig { params(ref: ::String).returns(::Spoom::ExecResult) } def git_checkout!(ref: T.unsafe(nil)); end # Run `git checkout -b ` in this context directory # - # source://spoom//lib/spoom/context/git.rb#60 + # pkg:gem/spoom#lib/spoom/context/git.rb:60 sig { params(branch_name: ::String, ref: T.nilable(::String)).returns(::Spoom::ExecResult) } def git_checkout_new_branch!(branch_name, ref: T.unsafe(nil)); end # Run `git add . && git commit` in this context directory # - # source://spoom//lib/spoom/context/git.rb#70 + # pkg:gem/spoom#lib/spoom/context/git.rb:70 sig { params(message: ::String, time: ::Time, allow_empty: T::Boolean).returns(::Spoom::ExecResult) } def git_commit!(message: T.unsafe(nil), time: T.unsafe(nil), allow_empty: T.unsafe(nil)); end # Get the current git branch in this context directory # - # source://spoom//lib/spoom/context/git.rb#81 + # pkg:gem/spoom#lib/spoom/context/git.rb:81 sig { returns(T.nilable(::String)) } def git_current_branch; end # Run `git diff` in this context directory # - # source://spoom//lib/spoom/context/git.rb#90 + # pkg:gem/spoom#lib/spoom/context/git.rb:90 sig { params(arg: ::String).returns(::Spoom::ExecResult) } def git_diff(*arg); end @@ -703,27 +703,27 @@ module Spoom::Context::Git # Warning: passing a branch will run `git init -b ` which is only available in git 2.28+. # In older versions, use `git_init!` followed by `git("checkout -b ")`. # - # source://spoom//lib/spoom/context/git.rb#44 + # pkg:gem/spoom#lib/spoom/context/git.rb:44 sig { params(branch: T.nilable(::String)).returns(::Spoom::ExecResult) } def git_init!(branch: T.unsafe(nil)); end # Get the last commit in the currently checked out branch # - # source://spoom//lib/spoom/context/git.rb#96 + # pkg:gem/spoom#lib/spoom/context/git.rb:96 sig { params(short_sha: T::Boolean).returns(T.nilable(::Spoom::Git::Commit)) } def git_last_commit(short_sha: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/git.rb#107 + # pkg:gem/spoom#lib/spoom/context/git.rb:107 sig { params(arg: ::String).returns(::Spoom::ExecResult) } def git_log(*arg); end # Run `git push ` in this context directory # - # source://spoom//lib/spoom/context/git.rb#113 + # pkg:gem/spoom#lib/spoom/context/git.rb:113 sig { params(remote: ::String, ref: ::String, force: T::Boolean).returns(::Spoom::ExecResult) } def git_push!(remote, ref, force: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/git.rb#118 + # pkg:gem/spoom#lib/spoom/context/git.rb:118 sig { params(arg: ::String).returns(::Spoom::ExecResult) } def git_show(*arg); end @@ -731,14 +731,14 @@ module Spoom::Context::Git # # @return [Boolean] # - # source://spoom//lib/spoom/context/git.rb#124 + # pkg:gem/spoom#lib/spoom/context/git.rb:124 sig { params(path: ::String).returns(T::Boolean) } def git_workdir_clean?(path: T.unsafe(nil)); end end # Sorbet features for a context # -# source://spoom//lib/spoom/context/sorbet.rb#8 +# pkg:gem/spoom#lib/spoom/context/sorbet.rb:8 module Spoom::Context::Sorbet requires_ancestor { Spoom::Context } @@ -746,53 +746,53 @@ module Spoom::Context::Sorbet # # @return [Boolean] # - # source://spoom//lib/spoom/context/sorbet.rb#103 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:103 sig { returns(T::Boolean) } def has_sorbet_config?; end # Read the strictness sigil from the file at `relative_path` (returns `nil` if no sigil) # - # source://spoom//lib/spoom/context/sorbet.rb#126 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:126 sig { params(relative_path: ::String).returns(T.nilable(::String)) } def read_file_strictness(relative_path); end # Read the contents of `sorbet/config` in this context directory # - # source://spoom//lib/spoom/context/sorbet.rb#114 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:114 sig { returns(::String) } def read_sorbet_config; end - # source://spoom//lib/spoom/context/sorbet.rb#108 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:108 sig { returns(::Spoom::Sorbet::Config) } def sorbet_config; end # Get the commit introducing the `sorbet/config` file # - # source://spoom//lib/spoom/context/sorbet.rb#132 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:132 sig { returns(T.nilable(::Spoom::Git::Commit)) } def sorbet_intro_commit; end # Get the commit removing the `sorbet/config` file # - # source://spoom//lib/spoom/context/sorbet.rb#144 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:144 sig { returns(T.nilable(::Spoom::Git::Commit)) } def sorbet_removal_commit; end # Run `bundle exec srb` in this context directory # - # source://spoom//lib/spoom/context/sorbet.rb#11 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:11 sig { params(arg: ::String, sorbet_bin: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def srb(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end # List all files typechecked by Sorbet from its `config` # - # source://spoom//lib/spoom/context/sorbet.rb#55 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:55 sig { params(with_config: T.nilable(::Spoom::Sorbet::Config), include_rbis: T::Boolean).returns(T::Array[::String]) } def srb_files(with_config: T.unsafe(nil), include_rbis: T.unsafe(nil)); end # List all files typechecked by Sorbet from its `config` that matches `strictness` # - # source://spoom//lib/spoom/context/sorbet.rb#88 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:88 sig do params( strictness: ::String, @@ -802,7 +802,7 @@ module Spoom::Context::Sorbet end def srb_files_with_strictness(strictness, with_config: T.unsafe(nil), include_rbis: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/sorbet.rb#35 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:35 sig do params( arg: ::String, @@ -812,22 +812,22 @@ module Spoom::Context::Sorbet end def srb_metrics(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/sorbet.rb#29 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:29 sig { params(arg: ::String, sorbet_bin: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def srb_tc(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/sorbet.rb#94 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:94 sig { params(arg: ::String, sorbet_bin: T.nilable(::String), capture_err: T::Boolean).returns(T.nilable(::String)) } def srb_version(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Set the `contents` of `sorbet/config` in this context directory # - # source://spoom//lib/spoom/context/sorbet.rb#120 + # pkg:gem/spoom#lib/spoom/context/sorbet.rb:120 sig { params(contents: ::String, append: T::Boolean).void } def write_sorbet_config!(contents, append: T.unsafe(nil)); end end -# source://spoom//lib/spoom/counters.rb#6 +# pkg:gem/spoom#lib/spoom/counters.rb:6 class Spoom::Counters < ::Hash extend T::Generic @@ -837,27 +837,27 @@ class Spoom::Counters < ::Hash # @return [Counters] a new instance of Counters # - # source://spoom//lib/spoom/counters.rb#8 + # pkg:gem/spoom#lib/spoom/counters.rb:8 sig { void } def initialize; end - # source://spoom//lib/spoom/counters.rb#18 + # pkg:gem/spoom#lib/spoom/counters.rb:18 sig { params(key: ::String).returns(::Integer) } def [](key); end - # source://spoom//lib/spoom/counters.rb#13 + # pkg:gem/spoom#lib/spoom/counters.rb:13 sig { params(key: ::String).void } def increment(key); end end -# source://spoom//lib/spoom/coverage/snapshot.rb#5 +# pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:5 module Spoom::Coverage class << self - # source://spoom//lib/spoom/coverage.rb#101 + # pkg:gem/spoom#lib/spoom/coverage.rb:101 sig { params(context: ::Spoom::Context).returns(::Spoom::FileTree) } def file_tree(context); end - # source://spoom//lib/spoom/coverage.rb#81 + # pkg:gem/spoom#lib/spoom/coverage.rb:81 sig do params( context: ::Spoom::Context, @@ -867,7 +867,7 @@ module Spoom::Coverage end def report(context, snapshots, palette:); end - # source://spoom//lib/spoom/coverage.rb#14 + # pkg:gem/spoom#lib/spoom/coverage.rb:14 sig do params( context: ::Spoom::Context, @@ -879,57 +879,57 @@ module Spoom::Coverage end end -# source://spoom//lib/spoom/coverage/report.rb#81 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:81 module Spoom::Coverage::Cards; end -# source://spoom//lib/spoom/coverage/report.rb#82 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:82 class Spoom::Coverage::Cards::Card < ::Spoom::Coverage::Template # @return [Card] a new instance of Card # - # source://spoom//lib/spoom/coverage/report.rb#89 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:89 sig { params(template: ::String, title: T.nilable(::String), body: T.nilable(::String)).void } def initialize(template: T.unsafe(nil), title: T.unsafe(nil), body: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#86 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:86 def body; end - # source://spoom//lib/spoom/coverage/report.rb#86 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:86 sig { returns(T.nilable(::String)) } def title; end end -# source://spoom//lib/spoom/coverage/report.rb#83 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:83 Spoom::Coverage::Cards::Card::TEMPLATE = T.let(T.unsafe(nil), String) # @abstract # -# source://spoom//lib/spoom/coverage/report.rb#97 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:97 class Spoom::Coverage::Cards::Erb < ::Spoom::Coverage::Cards::Card abstract! # @return [Erb] a new instance of Erb # - # source://spoom//lib/spoom/coverage/report.rb#99 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:99 sig { void } def initialize; end # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/coverage/report.rb#109 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:109 sig { abstract.returns(::String) } def erb; end - # source://spoom//lib/spoom/coverage/report.rb#103 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:103 sig { override.returns(::String) } def html; end end -# source://spoom//lib/spoom/coverage/report.rb#140 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:140 class Spoom::Coverage::Cards::Map < ::Spoom::Coverage::Cards::Card # @return [Map] a new instance of Map # - # source://spoom//lib/spoom/coverage/report.rb#147 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:147 sig do params( file_tree: ::Spoom::FileTree, @@ -941,118 +941,118 @@ class Spoom::Coverage::Cards::Map < ::Spoom::Coverage::Cards::Card def initialize(file_tree:, nodes_strictnesses:, nodes_strictness_scores:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#112 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:112 class Spoom::Coverage::Cards::Snapshot < ::Spoom::Coverage::Cards::Card # @return [Snapshot] a new instance of Snapshot # - # source://spoom//lib/spoom/coverage/report.rb#119 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:119 sig { params(snapshot: ::Spoom::Coverage::Snapshot, title: ::String).void } def initialize(snapshot:, title: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#130 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:130 sig { returns(::Spoom::Coverage::D3::Pie::Calls) } def pie_calls; end - # source://spoom//lib/spoom/coverage/report.rb#125 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:125 sig { returns(::Spoom::Coverage::D3::Pie::Sigils) } def pie_sigils; end - # source://spoom//lib/spoom/coverage/report.rb#135 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:135 sig { returns(::Spoom::Coverage::D3::Pie::Sigs) } def pie_sigs; end - # source://spoom//lib/spoom/coverage/report.rb#116 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:116 sig { returns(::Spoom::Coverage::Snapshot) } def snapshot; end end -# source://spoom//lib/spoom/coverage/report.rb#113 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:113 Spoom::Coverage::Cards::Snapshot::TEMPLATE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/report.rb#209 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:209 class Spoom::Coverage::Cards::SorbetIntro < ::Spoom::Coverage::Cards::Erb # @return [SorbetIntro] a new instance of SorbetIntro # - # source://spoom//lib/spoom/coverage/report.rb#211 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:211 sig { params(sorbet_intro_commit: T.nilable(::String), sorbet_intro_date: T.nilable(::Time)).void } def initialize(sorbet_intro_commit: T.unsafe(nil), sorbet_intro_date: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#218 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:218 sig { override.returns(::String) } def erb; end end -# source://spoom//lib/spoom/coverage/report.rb#160 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:160 class Spoom::Coverage::Cards::Timeline < ::Spoom::Coverage::Cards::Card # @return [Timeline] a new instance of Timeline # - # source://spoom//lib/spoom/coverage/report.rb#162 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:162 sig { params(title: ::String, timeline: ::Spoom::Coverage::D3::Timeline).void } def initialize(title:, timeline:); end end -# source://spoom//lib/spoom/coverage/report.rb#173 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:173 class Spoom::Coverage::Cards::Timeline::Calls < ::Spoom::Coverage::Cards::Timeline # @return [Calls] a new instance of Calls # - # source://spoom//lib/spoom/coverage/report.rb#175 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:175 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#187 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:187 class Spoom::Coverage::Cards::Timeline::RBIs < ::Spoom::Coverage::Cards::Timeline # @return [RBIs] a new instance of RBIs # - # source://spoom//lib/spoom/coverage/report.rb#189 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:189 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#201 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:201 class Spoom::Coverage::Cards::Timeline::Runtimes < ::Spoom::Coverage::Cards::Timeline # @return [Runtimes] a new instance of Runtimes # - # source://spoom//lib/spoom/coverage/report.rb#203 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:203 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#166 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:166 class Spoom::Coverage::Cards::Timeline::Sigils < ::Spoom::Coverage::Cards::Timeline # @return [Sigils] a new instance of Sigils # - # source://spoom//lib/spoom/coverage/report.rb#168 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:168 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#180 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:180 class Spoom::Coverage::Cards::Timeline::Sigs < ::Spoom::Coverage::Cards::Timeline # @return [Sigs] a new instance of Sigs # - # source://spoom//lib/spoom/coverage/report.rb#182 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:182 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#194 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:194 class Spoom::Coverage::Cards::Timeline::Versions < ::Spoom::Coverage::Cards::Timeline # @return [Versions] a new instance of Versions # - # source://spoom//lib/spoom/coverage/report.rb#196 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:196 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/d3/base.rb#6 +# pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:6 module Spoom::Coverage::D3 class << self - # source://spoom//lib/spoom/coverage/d3.rb#59 + # pkg:gem/spoom#lib/spoom/coverage/d3.rb:59 sig { params(palette: ::Spoom::Coverage::D3::ColorPalette).returns(::String) } def header_script(palette); end - # source://spoom//lib/spoom/coverage/d3.rb#19 + # pkg:gem/spoom#lib/spoom/coverage/d3.rb:19 sig { returns(::String) } def header_style; end end @@ -1060,83 +1060,83 @@ end # @abstract # -# source://spoom//lib/spoom/coverage/d3/base.rb#8 +# pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:8 class Spoom::Coverage::D3::Base abstract! # @return [Base] a new instance of Base # - # source://spoom//lib/spoom/coverage/d3/base.rb#13 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:13 sig { params(id: ::String, data: T.untyped).void } def initialize(id, data); end - # source://spoom//lib/spoom/coverage/d3/base.rb#31 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:31 sig { returns(::String) } def html; end - # source://spoom//lib/spoom/coverage/d3/base.rb#10 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:10 sig { returns(::String) } def id; end # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/coverage/d3/base.rb#45 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:45 sig { abstract.returns(::String) } def script; end - # source://spoom//lib/spoom/coverage/d3/base.rb#39 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:39 sig { returns(::String) } def tooltip; end class << self - # source://spoom//lib/spoom/coverage/d3/base.rb#25 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:25 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/base.rb#20 + # pkg:gem/spoom#lib/spoom/coverage/d3/base.rb:20 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3.rb#12 +# pkg:gem/spoom#lib/spoom/coverage/d3.rb:12 Spoom::Coverage::D3::COLOR_FALSE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/d3.rb#11 +# pkg:gem/spoom#lib/spoom/coverage/d3.rb:11 Spoom::Coverage::D3::COLOR_IGNORE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/d3.rb#14 +# pkg:gem/spoom#lib/spoom/coverage/d3.rb:14 Spoom::Coverage::D3::COLOR_STRICT = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/d3.rb#15 +# pkg:gem/spoom#lib/spoom/coverage/d3.rb:15 Spoom::Coverage::D3::COLOR_STRONG = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/d3.rb#13 +# pkg:gem/spoom#lib/spoom/coverage/d3.rb:13 Spoom::Coverage::D3::COLOR_TRUE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/d3/circle_map.rb#9 +# pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:9 class Spoom::Coverage::D3::CircleMap < ::Spoom::Coverage::D3::Base - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#58 + # pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:58 sig { override.returns(::String) } def script; end class << self - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#38 + # pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:38 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#12 + # pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:12 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3/circle_map.rb#147 +# pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:147 class Spoom::Coverage::D3::CircleMap::Sigils < ::Spoom::Coverage::D3::CircleMap # @return [Sigils] a new instance of Sigils # - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#154 + # pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:154 sig do params( id: ::String, @@ -1147,12 +1147,12 @@ class Spoom::Coverage::D3::CircleMap::Sigils < ::Spoom::Coverage::D3::CircleMap end def initialize(id, file_tree, nodes_strictnesses, nodes_scores); end - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#161 + # pkg:gem/spoom#lib/spoom/coverage/d3/circle_map.rb:161 sig { params(node: ::Spoom::FileTree::Node).returns(T::Hash[::Symbol, T.untyped]) } def tree_node_to_json(node); end end -# source://spoom//lib/spoom/coverage/d3.rb#101 +# pkg:gem/spoom#lib/spoom/coverage/d3.rb:101 class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :ignore, ::String prop :false, ::String @@ -1163,305 +1163,305 @@ end # @abstract # -# source://spoom//lib/spoom/coverage/d3/pie.rb#10 +# pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:10 class Spoom::Coverage::D3::Pie < ::Spoom::Coverage::D3::Base abstract! # @return [Pie] a new instance of Pie # - # source://spoom//lib/spoom/coverage/d3/pie.rb#12 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:12 sig { params(id: ::String, title: ::String, data: T.untyped).void } def initialize(id, title, data); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#51 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:51 sig { override.returns(::String) } def script; end class << self - # source://spoom//lib/spoom/coverage/d3/pie.rb#37 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:37 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/pie.rb#19 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:19 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3/pie.rb#135 +# pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:135 class Spoom::Coverage::D3::Pie::Calls < ::Spoom::Coverage::D3::Pie # @return [Calls] a new instance of Calls # - # source://spoom//lib/spoom/coverage/d3/pie.rb#137 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:137 sig { params(id: ::String, title: ::String, snapshot: ::Spoom::Coverage::Snapshot).void } def initialize(id, title, snapshot); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#143 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:143 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/pie.rb#118 +# pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:118 class Spoom::Coverage::D3::Pie::Sigils < ::Spoom::Coverage::D3::Pie # @return [Sigils] a new instance of Sigils # - # source://spoom//lib/spoom/coverage/d3/pie.rb#120 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:120 sig { params(id: ::String, title: ::String, snapshot: ::Spoom::Coverage::Snapshot).void } def initialize(id, title, snapshot); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#126 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:126 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/pie.rb#152 +# pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:152 class Spoom::Coverage::D3::Pie::Sigs < ::Spoom::Coverage::D3::Pie # @return [Sigs] a new instance of Sigs # - # source://spoom//lib/spoom/coverage/d3/pie.rb#154 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:154 sig { params(id: ::String, title: ::String, snapshot: ::Spoom::Coverage::Snapshot).void } def initialize(id, title, snapshot); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#164 + # pkg:gem/spoom#lib/spoom/coverage/d3/pie.rb:164 sig { override.returns(::String) } def tooltip; end end # @abstract # -# source://spoom//lib/spoom/coverage/d3/timeline.rb#10 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:10 class Spoom::Coverage::D3::Timeline < ::Spoom::Coverage::D3::Base abstract! # @return [Timeline] a new instance of Timeline # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#12 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:12 sig { params(id: ::String, data: T.untyped, keys: T::Array[::String]).void } def initialize(id, data, keys); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#183 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:183 sig { params(y: ::String, color: ::String, curve: ::String).returns(::String) } def area(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#199 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:199 sig { params(y: ::String, color: ::String, curve: ::String).returns(::String) } def line(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#122 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:122 sig { abstract.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#213 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:213 sig { params(y: ::String).returns(::String) } def points(y:); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#96 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:96 sig { override.returns(::String) } def script; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#125 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:125 sig { returns(::String) } def x_scale; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#141 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:141 sig { returns(::String) } def x_ticks; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#154 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:154 sig { params(min: ::String, max: ::String, ticks: ::String).returns(::String) } def y_scale(min:, max:, ticks:); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#170 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:170 sig { params(ticks: ::String, format: ::String, padding: ::Integer).returns(::String) } def y_ticks(ticks:, format:, padding:); end class << self - # source://spoom//lib/spoom/coverage/d3/timeline.rb#73 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:73 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#19 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:19 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#442 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:442 class Spoom::Coverage::D3::Timeline::Calls < ::Spoom::Coverage::D3::Timeline::Stacked # @return [Calls] a new instance of Calls # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#444 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:444 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#459 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:459 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#497 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:497 class Spoom::Coverage::D3::Timeline::RBIs < ::Spoom::Coverage::D3::Timeline::Stacked # @return [RBIs] a new instance of RBIs # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#499 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:499 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#570 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:570 sig { override.params(y: ::String, color: ::String, curve: ::String).returns(::String) } def line(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#611 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:611 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#529 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:529 sig { override.returns(::String) } def script; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#514 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:514 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#278 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:278 class Spoom::Coverage::D3::Timeline::Runtimes < ::Spoom::Coverage::D3::Timeline # @return [Runtimes] a new instance of Runtimes # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#280 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:280 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#307 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:307 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#293 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:293 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#416 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:416 class Spoom::Coverage::D3::Timeline::Sigils < ::Spoom::Coverage::D3::Timeline::Stacked # @return [Sigils] a new instance of Sigils # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#418 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:418 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#433 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:433 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#468 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:468 class Spoom::Coverage::D3::Timeline::Sigs < ::Spoom::Coverage::D3::Timeline::Stacked # @return [Sigs] a new instance of Sigs # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#470 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:470 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#488 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:488 sig { override.returns(::String) } def tooltip; end end # @abstract # -# source://spoom//lib/spoom/coverage/d3/timeline.rb#326 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:326 class Spoom::Coverage::D3::Timeline::Stacked < ::Spoom::Coverage::D3::Timeline abstract! - # source://spoom//lib/spoom/coverage/d3/timeline.rb#383 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:383 sig { override.params(y: ::String, color: ::String, curve: ::String).returns(::String) } def line(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#371 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:371 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#329 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:329 sig { override.returns(::String) } def script; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#228 +# pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:228 class Spoom::Coverage::D3::Timeline::Versions < ::Spoom::Coverage::D3::Timeline # @return [Versions] a new instance of Versions # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#230 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:230 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#259 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:259 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#244 + # pkg:gem/spoom#lib/spoom/coverage/d3/timeline.rb:244 sig { override.returns(::String) } def tooltip; end end # @abstract # -# source://spoom//lib/spoom/coverage/report.rb#35 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:35 class Spoom::Coverage::Page < ::Spoom::Coverage::Template abstract! # @return [Page] a new instance of Page # - # source://spoom//lib/spoom/coverage/report.rb#45 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:45 sig { params(title: ::String, palette: ::Spoom::Coverage::D3::ColorPalette, template: ::String).void } def initialize(title:, palette:, template: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#67 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:67 sig { returns(::String) } def body_html; end # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/coverage/report.rb#73 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:73 sig { abstract.returns(T::Array[::Spoom::Coverage::Cards::Card]) } def cards; end - # source://spoom//lib/spoom/coverage/report.rb#76 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:76 sig { returns(::String) } def footer_html; end - # source://spoom//lib/spoom/coverage/report.rb#62 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:62 sig { returns(::String) } def header_html; end - # source://spoom//lib/spoom/coverage/report.rb#57 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:57 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/report.rb#52 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:52 sig { returns(::String) } def header_style; end - # source://spoom//lib/spoom/coverage/report.rb#42 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:42 sig { returns(::Spoom::Coverage::D3::ColorPalette) } def palette; end - # source://spoom//lib/spoom/coverage/report.rb#39 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:39 sig { returns(::String) } def title; end end -# source://spoom//lib/spoom/coverage/report.rb#36 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:36 Spoom::Coverage::Page::TEMPLATE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/report.rb#229 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:229 class Spoom::Coverage::Report < ::Spoom::Coverage::Page # @return [Report] a new instance of Report # - # source://spoom//lib/spoom/coverage/report.rb#240 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:240 sig do params( project_name: ::String, @@ -1476,16 +1476,16 @@ class Spoom::Coverage::Report < ::Spoom::Coverage::Page end def initialize(project_name:, palette:, snapshots:, file_tree:, nodes_strictnesses:, nodes_strictness_scores:, sorbet_intro_commit: T.unsafe(nil), sorbet_intro_date: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#274 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:274 sig { override.returns(T::Array[::Spoom::Coverage::Cards::Card]) } def cards; end - # source://spoom//lib/spoom/coverage/report.rb#262 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:262 sig { override.returns(::String) } def header_html; end end -# source://spoom//lib/spoom/coverage/snapshot.rb#6 +# pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:6 class Spoom::Coverage::Snapshot < ::T::Struct prop :timestamp, ::Integer, default: T.unsafe(nil) prop :version_static, T.nilable(::String), default: T.unsafe(nil) @@ -1507,20 +1507,20 @@ class Spoom::Coverage::Snapshot < ::T::Struct prop :methods_without_sig_excluding_rbis, ::Integer, default: T.unsafe(nil) prop :sigils_excluding_rbis, T::Hash[::String, ::Integer], default: T.unsafe(nil) - # source://spoom//lib/spoom/coverage/snapshot.rb#31 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:31 sig { params(out: T.any(::IO, ::StringIO), colors: T::Boolean, indent_level: ::Integer).void } def print(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/snapshot.rb#37 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:37 sig { params(arg: T.untyped).returns(::String) } def to_json(*arg); end class << self - # source://spoom//lib/spoom/coverage/snapshot.rb#43 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:43 sig { params(json: ::String).returns(::Spoom::Coverage::Snapshot) } def from_json(json); end - # source://spoom//lib/spoom/coverage/snapshot.rb#48 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:48 sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end end @@ -1528,29 +1528,29 @@ end # The strictness name as found in the Sorbet metrics file # -# source://spoom//lib/spoom/coverage/snapshot.rb#28 +# pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:28 Spoom::Coverage::Snapshot::STRICTNESSES = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/coverage/snapshot.rb#91 +# pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:91 class Spoom::Coverage::SnapshotPrinter < ::Spoom::Printer - # source://spoom//lib/spoom/coverage/snapshot.rb#93 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:93 sig { params(snapshot: ::Spoom::Coverage::Snapshot).void } def print_snapshot(snapshot); end private - # source://spoom//lib/spoom/coverage/snapshot.rb#152 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:152 sig { params(value: T.nilable(::Integer), total: T.nilable(::Integer)).returns(::String) } def percent(value, total); end - # source://spoom//lib/spoom/coverage/snapshot.rb#141 + # pkg:gem/spoom#lib/spoom/coverage/snapshot.rb:141 sig { params(hash: T::Hash[::String, ::Integer], total: ::Integer).void } def print_map(hash, total); end end # @abstract # -# source://spoom//lib/spoom/coverage/report.rb#11 +# pkg:gem/spoom#lib/spoom/coverage/report.rb:11 class Spoom::Coverage::Template abstract! @@ -1558,45 +1558,45 @@ class Spoom::Coverage::Template # # @return [Template] a new instance of Template # - # source://spoom//lib/spoom/coverage/report.rb#14 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:14 sig { params(template: ::String).void } def initialize(template:); end - # source://spoom//lib/spoom/coverage/report.rb#19 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:19 sig { returns(::String) } def erb; end - # source://spoom//lib/spoom/coverage/report.rb#29 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:29 sig { returns(::Binding) } def get_binding; end - # source://spoom//lib/spoom/coverage/report.rb#24 + # pkg:gem/spoom#lib/spoom/coverage/report.rb:24 sig { returns(::String) } def html; end end -# source://spoom//lib/spoom/deadcode/erb.rb#27 +# pkg:gem/spoom#lib/spoom/deadcode/erb.rb:27 module Spoom::Deadcode class << self - # source://spoom//lib/spoom/deadcode/plugins.rb#67 + # pkg:gem/spoom#lib/spoom/deadcode/plugins.rb:67 sig { params(context: ::Spoom::Context).returns(T::Array[T.class_of(Spoom::Deadcode::Plugins::Base)]) } def load_custom_plugins(context); end - # source://spoom//lib/spoom/deadcode/plugins.rb#53 + # pkg:gem/spoom#lib/spoom/deadcode/plugins.rb:53 sig { params(context: ::Spoom::Context).returns(T::Set[T.class_of(Spoom::Deadcode::Plugins::Base)]) } def plugins_from_gemfile_lock(context); end end end -# source://spoom//lib/spoom/deadcode/plugins.rb#26 +# pkg:gem/spoom#lib/spoom/deadcode/plugins.rb:26 Spoom::Deadcode::DEFAULT_CUSTOM_PLUGINS_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/deadcode/plugins.rb#28 +# pkg:gem/spoom#lib/spoom/deadcode/plugins.rb:28 Spoom::Deadcode::DEFAULT_PLUGINS = T.let(T.unsafe(nil), Set) # A definition is a class, module, method, constant, etc. being defined in the code # -# source://spoom//lib/spoom/deadcode/definition.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/definition.rb:7 class Spoom::Deadcode::Definition < ::T::Struct const :kind, ::Spoom::Deadcode::Definition::Kind const :name, ::String @@ -1604,74 +1604,74 @@ class Spoom::Deadcode::Definition < ::T::Struct const :location, ::Spoom::Location const :status, ::Spoom::Deadcode::Definition::Status, default: T.unsafe(nil) - # source://spoom//lib/spoom/deadcode/definition.rb#76 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:76 sig { void } def alive!; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#71 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:71 sig { returns(T::Boolean) } def alive?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#39 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:39 sig { returns(T::Boolean) } def attr_reader?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#44 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:44 sig { returns(T::Boolean) } def attr_writer?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#49 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:49 sig { returns(T::Boolean) } def class?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#54 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:54 sig { returns(T::Boolean) } def constant?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#81 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:81 sig { returns(T::Boolean) } def dead?; end - # source://spoom//lib/spoom/deadcode/definition.rb#91 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:91 sig { void } def ignored!; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#86 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:86 sig { returns(T::Boolean) } def ignored?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#59 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:59 sig { returns(T::Boolean) } def method?; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/definition.rb#64 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:64 sig { returns(T::Boolean) } def module?; end - # source://spoom//lib/spoom/deadcode/definition.rb#98 + # pkg:gem/spoom#lib/spoom/deadcode/definition.rb:98 sig { params(args: T.untyped).returns(::String) } def to_json(*args); end end -# source://spoom//lib/spoom/deadcode/definition.rb#8 +# pkg:gem/spoom#lib/spoom/deadcode/definition.rb:8 class Spoom::Deadcode::Definition::Kind < ::T::Enum enums do AttrReader = new @@ -1683,7 +1683,7 @@ class Spoom::Deadcode::Definition::Kind < ::T::Enum end end -# source://spoom//lib/spoom/deadcode/definition.rb#19 +# pkg:gem/spoom#lib/spoom/deadcode/definition.rb:19 class Spoom::Deadcode::Definition::Status < ::T::Enum enums do ALIVE = new @@ -1694,69 +1694,69 @@ end # Custom engine to handle ERB templates as used by Rails # -# source://spoom//lib/spoom/deadcode/erb.rb#29 +# pkg:gem/spoom#lib/spoom/deadcode/erb.rb:29 class Spoom::Deadcode::ERB < ::Erubi::Engine # @return [ERB] a new instance of ERB # - # source://spoom//lib/spoom/deadcode/erb.rb#31 + # pkg:gem/spoom#lib/spoom/deadcode/erb.rb:31 sig { params(input: T.untyped, properties: T.untyped).void } def initialize(input, properties = T.unsafe(nil)); end private - # source://spoom//lib/spoom/deadcode/erb.rb#84 + # pkg:gem/spoom#lib/spoom/deadcode/erb.rb:84 sig { override.params(code: T.untyped).void } def add_code(code); end - # source://spoom//lib/spoom/deadcode/erb.rb#66 + # pkg:gem/spoom#lib/spoom/deadcode/erb.rb:66 sig { override.params(indicator: T.untyped, code: T.untyped).void } def add_expression(indicator, code); end - # source://spoom//lib/spoom/deadcode/erb.rb#91 + # pkg:gem/spoom#lib/spoom/deadcode/erb.rb:91 sig { override.params(_: T.untyped).void } def add_postamble(_); end - # source://spoom//lib/spoom/deadcode/erb.rb#47 + # pkg:gem/spoom#lib/spoom/deadcode/erb.rb:47 sig { override.params(text: T.untyped).void } def add_text(text); end - # source://spoom//lib/spoom/deadcode/erb.rb#97 + # pkg:gem/spoom#lib/spoom/deadcode/erb.rb:97 sig { params(src: T.untyped).void } def flush_newline_if_pending(src); end end -# source://spoom//lib/spoom/deadcode/erb.rb#62 +# pkg:gem/spoom#lib/spoom/deadcode/erb.rb:62 Spoom::Deadcode::ERB::BLOCK_EXPR = T.let(T.unsafe(nil), Regexp) -# source://spoom//lib/spoom/deadcode/index.rb#6 +# pkg:gem/spoom#lib/spoom/deadcode/index.rb:6 class Spoom::Deadcode::Index # @return [Index] a new instance of Index # - # source://spoom//lib/spoom/deadcode/index.rb#25 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:25 sig { params(model: ::Spoom::Model).void } def initialize(model); end - # source://spoom//lib/spoom/deadcode/index.rb#215 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:215 sig { returns(T::Array[::Spoom::Deadcode::Definition]) } def all_definitions; end - # source://spoom//lib/spoom/deadcode/index.rb#220 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:220 sig { returns(T::Array[::Spoom::Model::Reference]) } def all_references; end - # source://spoom//lib/spoom/deadcode/index.rb#95 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:95 sig { params(plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def apply_plugins!(plugins); end - # source://spoom//lib/spoom/deadcode/index.rb#75 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:75 sig { params(definition: ::Spoom::Deadcode::Definition).void } def define(definition); end - # source://spoom//lib/spoom/deadcode/index.rb#19 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:19 sig { returns(T::Hash[::String, T::Array[::Spoom::Deadcode::Definition]]) } def definitions; end - # source://spoom//lib/spoom/deadcode/index.rb#210 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:210 sig { params(name: ::String).returns(T::Array[::Spoom::Deadcode::Definition]) } def definitions_for_name(name); end @@ -1764,57 +1764,57 @@ class Spoom::Deadcode::Index # # To be called once all the files have been indexed and all the definitions and references discovered. # - # source://spoom//lib/spoom/deadcode/index.rb#118 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:118 sig { void } def finalize!; end - # source://spoom//lib/spoom/deadcode/index.rb#90 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:90 sig { params(symbol_def: ::Spoom::Model::SymbolDef).void } def ignore(symbol_def); end - # source://spoom//lib/spoom/deadcode/index.rb#46 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:46 sig { params(erb: ::String, file: ::String, plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def index_erb(erb, file:, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/index.rb#35 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:35 sig { params(file: ::String, plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def index_file(file, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/index.rb#51 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:51 sig { params(rb: ::String, file: ::String, plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def index_ruby(rb, file:, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/index.rb#16 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:16 sig { returns(::Spoom::Model) } def model; end - # source://spoom//lib/spoom/deadcode/index.rb#80 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:80 sig { params(name: ::String, location: ::Spoom::Location).void } def reference_constant(name, location); end - # source://spoom//lib/spoom/deadcode/index.rb#85 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:85 sig { params(name: ::String, location: ::Spoom::Location).void } def reference_method(name, location); end - # source://spoom//lib/spoom/deadcode/index.rb#22 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:22 sig { returns(T::Hash[::String, T::Array[::Spoom::Model::Reference]]) } def references; end end -# source://spoom//lib/spoom/deadcode/index.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/index.rb:7 class Spoom::Deadcode::Index::Error < ::Spoom::Error # @return [Error] a new instance of Error # - # source://spoom//lib/spoom/deadcode/index.rb#9 + # pkg:gem/spoom#lib/spoom/deadcode/index.rb:9 sig { params(message: ::String, parent: ::Exception).void } def initialize(message, parent:); end end -# source://spoom//lib/spoom/deadcode/indexer.rb#6 +# pkg:gem/spoom#lib/spoom/deadcode/indexer.rb:6 class Spoom::Deadcode::Indexer < ::Spoom::Visitor # @return [Indexer] a new instance of Indexer # - # source://spoom//lib/spoom/deadcode/indexer.rb#14 + # pkg:gem/spoom#lib/spoom/deadcode/indexer.rb:14 sig do params( path: ::String, @@ -1824,142 +1824,142 @@ class Spoom::Deadcode::Indexer < ::Spoom::Visitor end def initialize(path, index, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/indexer.rb#11 + # pkg:gem/spoom#lib/spoom/deadcode/indexer.rb:11 sig { returns(::Spoom::Deadcode::Index) } def index; end - # source://spoom//lib/spoom/deadcode/indexer.rb#8 + # pkg:gem/spoom#lib/spoom/deadcode/indexer.rb:8 sig { returns(::String) } def path; end - # source://spoom//lib/spoom/deadcode/indexer.rb#26 + # pkg:gem/spoom#lib/spoom/deadcode/indexer.rb:26 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end end -# source://spoom//lib/spoom/deadcode/plugins.rb#33 +# pkg:gem/spoom#lib/spoom/deadcode/plugins.rb:33 Spoom::Deadcode::PLUGINS_FOR_GEM = T.let(T.unsafe(nil), Hash) -# source://spoom//lib/spoom/deadcode/plugins/base.rb#8 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:8 module Spoom::Deadcode::Plugins; end -# source://spoom//lib/spoom/deadcode/plugins/action_mailer.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/action_mailer.rb:7 class Spoom::Deadcode::Plugins::ActionMailer < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/action_mailer.rb#10 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/action_mailer.rb:10 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/action_mailer_preview.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/action_mailer_preview.rb:7 class Spoom::Deadcode::Plugins::ActionMailerPreview < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/action_mailer_preview.rb#12 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/action_mailer_preview.rb:12 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end end -# source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/actionpack.rb:7 class Spoom::Deadcode::Plugins::ActionPack < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#27 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/actionpack.rb:27 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end - # source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#36 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/actionpack.rb:36 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#10 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/actionpack.rb:10 Spoom::Deadcode::Plugins::ActionPack::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_job.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_job.rb:7 class Spoom::Deadcode::Plugins::ActiveJob < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_job.rb#22 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/active_job.rb:22 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/active_job.rb#11 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_job.rb:11 Spoom::Deadcode::Plugins::ActiveJob::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_model.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_model.rb:7 class Spoom::Deadcode::Plugins::ActiveModel < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_model.rb#13 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/active_model.rb:13 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_record.rb:7 class Spoom::Deadcode::Plugins::ActiveRecord < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_record.rb#69 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/active_record.rb:69 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#61 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_record.rb:61 Spoom::Deadcode::Plugins::ActiveRecord::ARRAY_METHODS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#18 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_record.rb:18 Spoom::Deadcode::Plugins::ActiveRecord::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#44 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_record.rb:44 Spoom::Deadcode::Plugins::ActiveRecord::CALLBACK_CONDITIONS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#49 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_record.rb:49 Spoom::Deadcode::Plugins::ActiveRecord::CRUD_METHODS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_support.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_support.rb:7 class Spoom::Deadcode::Plugins::ActiveSupport < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_support.rb#23 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/active_support.rb:23 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/active_support.rb#19 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/active_support.rb:19 Spoom::Deadcode::Plugins::ActiveSupport::SETUP_AND_TEARDOWN_METHODS = T.let(T.unsafe(nil), Array) # @abstract # -# source://spoom//lib/spoom/deadcode/plugins/base.rb#10 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:10 class Spoom::Deadcode::Plugins::Base abstract! # @return [Base] a new instance of Base # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#126 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:126 sig { params(index: ::Spoom::Deadcode::Index).void } def initialize(index); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#123 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:123 sig { returns(::Spoom::Deadcode::Index) } def index; end # Do not override this method, use `on_define_accessor` instead. # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#152 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:152 sig { params(definition: ::Spoom::Model::Attr).void } def internal_on_define_accessor(definition); end # Do not override this method, use `on_define_class` instead. # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#176 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:176 sig { params(definition: ::Spoom::Model::Class).void } def internal_on_define_class(definition); end # Do not override this method, use `on_define_constant` instead. # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#206 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:206 sig { params(definition: ::Spoom::Model::Constant).void } def internal_on_define_constant(definition); end # Do not override this method, use `on_define_method` instead. # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#232 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:232 sig { params(definition: ::Spoom::Model::Method).void } def internal_on_define_method(definition); end # Do not override this method, use `on_define_module` instead. # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#258 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:258 sig { params(definition: ::Spoom::Model::Module).void } def internal_on_define_module(definition); end @@ -1977,7 +1977,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#146 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:146 sig { params(definition: ::Spoom::Model::Attr).void } def on_define_accessor(definition); end @@ -1995,7 +1995,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#170 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:170 sig { params(definition: ::Spoom::Model::Class).void } def on_define_class(definition); end @@ -2013,7 +2013,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#200 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:200 sig { params(definition: ::Spoom::Model::Constant).void } def on_define_constant(definition); end @@ -2031,7 +2031,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#226 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:226 sig { params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end @@ -2049,7 +2049,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#252 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:252 sig { params(definition: ::Spoom::Model::Module).void } def on_define_module(definition); end @@ -2067,63 +2067,63 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#278 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:278 sig { params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end private - # source://spoom//lib/spoom/deadcode/plugins/base.rb#346 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:346 sig { params(name: ::String).returns(::String) } def camelize(name); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#295 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:295 sig { params(name: T.nilable(::String)).returns(T::Boolean) } def ignored_class_name?(name); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#314 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:314 sig { params(name: ::String).returns(T::Boolean) } def ignored_constant_name?(name); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#319 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:319 sig { params(name: ::String).returns(T::Boolean) } def ignored_method_name?(name); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#324 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:324 sig { params(name: ::String).returns(T::Boolean) } def ignored_module_name?(name); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#329 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:329 sig { params(name: ::String, names_variable: ::Symbol, patterns_variable: ::Symbol).returns(T::Boolean) } def ignored_name?(name, names_variable, patterns_variable); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#302 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:302 sig { params(definition: ::Spoom::Model::Class).returns(T::Boolean) } def ignored_subclass?(definition); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#334 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:334 sig { params(const: ::Symbol).returns(T::Set[::String]) } def names(const); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#339 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:339 sig { params(const: ::Symbol).returns(T::Array[::Regexp]) } def patterns(const); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#287 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:287 sig { params(definition: ::Spoom::Model::Namespace, superclass_name: ::String).returns(T::Boolean) } def subclass_of?(definition, superclass_name); end @@ -2142,7 +2142,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#46 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:46 sig { params(names: T.any(::Regexp, ::String)).void } def ignore_classes_inheriting_from(*names); end @@ -2160,7 +2160,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#28 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:28 sig { params(names: T.any(::Regexp, ::String)).void } def ignore_classes_named(*names); end @@ -2178,7 +2178,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#64 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:64 sig { params(names: T.any(::Regexp, ::String)).void } def ignore_constants_named(*names); end @@ -2196,7 +2196,7 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#82 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:82 sig { params(names: T.any(::Regexp, ::String)).void } def ignore_methods_named(*names); end @@ -2214,13 +2214,13 @@ class Spoom::Deadcode::Plugins::Base # end # ~~~ # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#100 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:100 sig { params(names: T.any(::Regexp, ::String)).void } def ignore_modules_named(*names); end private - # source://spoom//lib/spoom/deadcode/plugins/base.rb#107 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/base.rb:107 sig do params( names: T::Array[T.any(::Regexp, ::String)], @@ -2232,31 +2232,31 @@ class Spoom::Deadcode::Plugins::Base end end -# source://spoom//lib/spoom/deadcode/plugins/graphql.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/graphql.rb:7 class Spoom::Deadcode::Plugins::GraphQL < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/graphql.rb#27 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/graphql.rb:27 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/minitest.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/minitest.rb:7 class Spoom::Deadcode::Plugins::Minitest < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#21 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/minitest.rb:21 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end - # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#28 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/minitest.rb:28 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/namespaces.rb:7 class Spoom::Deadcode::Plugins::Namespaces < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#10 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/namespaces.rb:10 sig { override.params(definition: ::Spoom::Model::Class).void } def on_define_class(definition); end - # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#16 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/namespaces.rb:16 sig { override.params(definition: ::Spoom::Model::Module).void } def on_define_module(definition); end @@ -2264,21 +2264,21 @@ class Spoom::Deadcode::Plugins::Namespaces < ::Spoom::Deadcode::Plugins::Base # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#23 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/namespaces.rb:23 sig { params(symbol_def: ::Spoom::Model::Namespace).returns(T::Boolean) } def used_as_namespace?(symbol_def); end end -# source://spoom//lib/spoom/deadcode/plugins/rspec.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/rspec.rb:7 class Spoom::Deadcode::Plugins::RSpec < ::Spoom::Deadcode::Plugins::Base; end -# source://spoom//lib/spoom/deadcode/plugins/rails.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/rails.rb:7 class Spoom::Deadcode::Plugins::Rails < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/rails.rb#12 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/rails.rb:12 sig { override.params(definition: ::Spoom::Model::Class).void } def on_define_class(definition); end - # source://spoom//lib/spoom/deadcode/plugins/rails.rb#18 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/rails.rb:18 sig { override.params(definition: ::Spoom::Model::Module).void } def on_define_module(definition); end @@ -2286,48 +2286,48 @@ class Spoom::Deadcode::Plugins::Rails < ::Spoom::Deadcode::Plugins::Base # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/rails.rb#25 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/rails.rb:25 sig { params(symbol_def: ::Spoom::Model::Namespace).returns(T::Boolean) } def file_is_helper?(symbol_def); end end -# source://spoom//lib/spoom/deadcode/plugins/rake.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/rake.rb:7 class Spoom::Deadcode::Plugins::Rake < ::Spoom::Deadcode::Plugins::Base; end -# source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/rubocop.rb:7 class Spoom::Deadcode::Plugins::Rubocop < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#17 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/rubocop.rb:17 sig { override.params(definition: ::Spoom::Model::Constant).void } def on_define_constant(definition); end - # source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#26 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/rubocop.rb:26 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end end -# source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#8 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/rubocop.rb:8 Spoom::Deadcode::Plugins::Rubocop::RUBOCOP_CONSTANTS = T.let(T.unsafe(nil), Set) -# source://spoom//lib/spoom/deadcode/plugins/ruby.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/ruby.rb:7 class Spoom::Deadcode::Plugins::Ruby < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#23 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/ruby.rb:23 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end private - # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#45 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/ruby.rb:45 sig { params(send: ::Spoom::Deadcode::Send, node: ::Prism::Node).void } def reference_symbol_as_constant(send, node); end end -# source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/sorbet.rb:7 class Spoom::Deadcode::Plugins::Sorbet < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#10 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/sorbet.rb:10 sig { override.params(definition: ::Spoom::Model::Constant).void } def on_define_constant(definition); end - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#16 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/sorbet.rb:16 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end @@ -2335,45 +2335,45 @@ class Spoom::Deadcode::Plugins::Sorbet < ::Spoom::Deadcode::Plugins::Base # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#34 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/sorbet.rb:34 sig { params(definition: ::Spoom::Model::Constant).returns(T::Boolean) } def sorbet_enum_constant?(definition); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#29 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/sorbet.rb:29 sig { params(definition: ::Spoom::Model::Constant).returns(T::Boolean) } def sorbet_type_member?(definition); end end -# source://spoom//lib/spoom/deadcode/plugins/thor.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/plugins/thor.rb:7 class Spoom::Deadcode::Plugins::Thor < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/thor.rb#12 + # pkg:gem/spoom#lib/spoom/deadcode/plugins/thor.rb:12 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end end -# source://spoom//lib/spoom/deadcode/remover.rb#6 +# pkg:gem/spoom#lib/spoom/deadcode/remover.rb:6 class Spoom::Deadcode::Remover # @return [Remover] a new instance of Remover # - # source://spoom//lib/spoom/deadcode/remover.rb#10 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:10 sig { params(context: ::Spoom::Context).void } def initialize(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#15 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:15 sig { params(kind: T.nilable(::Spoom::Deadcode::Definition::Kind), location: ::Spoom::Location).returns(::String) } def remove_location(kind, location); end end -# source://spoom//lib/spoom/deadcode/remover.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/remover.rb:7 class Spoom::Deadcode::Remover::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/deadcode/remover.rb#366 +# pkg:gem/spoom#lib/spoom/deadcode/remover.rb:366 class Spoom::Deadcode::Remover::NodeContext # @return [NodeContext] a new instance of NodeContext # - # source://spoom//lib/spoom/deadcode/remover.rb#377 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:377 sig do params( source: ::String, @@ -2384,108 +2384,108 @@ class Spoom::Deadcode::Remover::NodeContext end def initialize(source, comments, node, nesting); end - # source://spoom//lib/spoom/deadcode/remover.rb#491 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:491 sig { params(node: ::Prism::Node).returns(T::Array[::Prism::Comment]) } def attached_comments(node); end - # source://spoom//lib/spoom/deadcode/remover.rb#519 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:519 sig { returns(T.nilable(::Prism::CallNode)) } def attached_sig; end - # source://spoom//lib/spoom/deadcode/remover.rb#506 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:506 sig { returns(T::Array[::Prism::Node]) } def attached_sigs; end - # source://spoom//lib/spoom/deadcode/remover.rb#368 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:368 sig { returns(T::Hash[::Integer, ::Prism::Comment]) } def comments; end - # source://spoom//lib/spoom/deadcode/remover.rb#479 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:479 sig { params(start_line: ::Integer, end_line: ::Integer).returns(T::Array[::Prism::Comment]) } def comments_between_lines(start_line, end_line); end - # source://spoom//lib/spoom/deadcode/remover.rb#374 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:374 sig { returns(T::Array[::Prism::Node]) } def nesting; end - # source://spoom//lib/spoom/deadcode/remover.rb#374 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:374 def nesting=(_arg0); end - # source://spoom//lib/spoom/deadcode/remover.rb#429 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:429 sig { returns(T.nilable(::Prism::Node)) } def next_node; end # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#418 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:418 sig { returns(T::Array[::Prism::Node]) } def next_nodes; end - # source://spoom//lib/spoom/deadcode/remover.rb#371 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:371 sig { returns(::Prism::Node) } def node; end # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#393 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:393 sig { returns(::Spoom::Deadcode::Remover::NodeContext) } def parent_context; end # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#385 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:385 sig { returns(::Prism::Node) } def parent_node; end - # source://spoom//lib/spoom/deadcode/remover.rb#413 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:413 sig { returns(T.nilable(::Prism::Node)) } def previous_node; end # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#402 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:402 sig { returns(T::Array[::Prism::Node]) } def previous_nodes; end - # source://spoom//lib/spoom/deadcode/remover.rb#434 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:434 sig { returns(T.nilable(::Spoom::Deadcode::Remover::NodeContext)) } def sclass_context; end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/remover.rb#467 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:467 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def sorbet_extend_sig?(node); end # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/remover.rb#462 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:462 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def sorbet_signature?(node); end end -# source://spoom//lib/spoom/deadcode/remover.rb#534 +# pkg:gem/spoom#lib/spoom/deadcode/remover.rb:534 class Spoom::Deadcode::Remover::NodeFinder < ::Spoom::Visitor # @return [NodeFinder] a new instance of NodeFinder # - # source://spoom//lib/spoom/deadcode/remover.rb#599 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:599 sig { params(location: ::Spoom::Location, kind: T.nilable(::Spoom::Deadcode::Definition::Kind)).void } def initialize(location, kind); end - # source://spoom//lib/spoom/deadcode/remover.rb#593 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:593 sig { returns(T.nilable(::Prism::Node)) } def node; end - # source://spoom//lib/spoom/deadcode/remover.rb#596 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:596 sig { returns(T::Array[::Prism::Node]) } def nodes_nesting; end - # source://spoom//lib/spoom/deadcode/remover.rb#609 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:609 sig { override.params(node: T.nilable(::Prism::Node)).void } def visit(node); end class << self - # source://spoom//lib/spoom/deadcode/remover.rb#537 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:537 sig do params( source: ::String, @@ -2497,17 +2497,17 @@ class Spoom::Deadcode::Remover::NodeFinder < ::Spoom::Visitor # @return [Boolean] # - # source://spoom//lib/spoom/deadcode/remover.rb#568 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:568 sig { params(node: ::Prism::Node, kind: ::Spoom::Deadcode::Definition::Kind).returns(T::Boolean) } def node_match_kind?(node, kind); end end end -# source://spoom//lib/spoom/deadcode/remover.rb#27 +# pkg:gem/spoom#lib/spoom/deadcode/remover.rb:27 class Spoom::Deadcode::Remover::NodeRemover # @return [NodeRemover] a new instance of NodeRemover # - # source://spoom//lib/spoom/deadcode/remover.rb#32 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:32 sig do params( source: ::String, @@ -2517,37 +2517,37 @@ class Spoom::Deadcode::Remover::NodeRemover end def initialize(source, kind, location); end - # source://spoom//lib/spoom/deadcode/remover.rb#42 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:42 sig { void } def apply_edit; end - # source://spoom//lib/spoom/deadcode/remover.rb#29 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:29 sig { returns(::String) } def new_source; end private - # source://spoom//lib/spoom/deadcode/remover.rb#151 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:151 sig { params(context: ::Spoom::Deadcode::Remover::NodeContext).void } def delete_attr_accessor(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#325 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:325 sig { params(start_char: ::Integer, end_char: ::Integer).void } def delete_chars(start_char, end_char); end - # source://spoom//lib/spoom/deadcode/remover.rb#69 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:69 sig { params(context: ::Spoom::Deadcode::Remover::NodeContext).void } def delete_constant_assignment(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#318 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:318 sig { params(start_line: ::Integer, end_line: ::Integer).void } def delete_lines(start_line, end_line); end - # source://spoom//lib/spoom/deadcode/remover.rb#255 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:255 sig { params(context: ::Spoom::Deadcode::Remover::NodeContext).void } def delete_node_and_comments_and_sigs(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#212 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:212 sig do params( node: ::Prism::Node, @@ -2557,11 +2557,11 @@ class Spoom::Deadcode::Remover::NodeRemover end def insert_accessor(node, send_context, was_removed:); end - # source://spoom//lib/spoom/deadcode/remover.rb#330 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:330 sig { params(start_char: ::Integer, end_char: ::Integer, replacement: ::String).void } def replace_chars(start_char, end_char, replacement); end - # source://spoom//lib/spoom/deadcode/remover.rb#335 + # pkg:gem/spoom#lib/spoom/deadcode/remover.rb:335 sig do params( node: ::Prism::CallNode, @@ -2574,7 +2574,7 @@ end # An abstraction to simplify handling of Prism::CallNode nodes. # -# source://spoom//lib/spoom/deadcode/send.rb#7 +# pkg:gem/spoom#lib/spoom/deadcode/send.rb:7 class Spoom::Deadcode::Send < ::T::Struct const :node, ::Prism::CallNode const :name, ::String @@ -2583,7 +2583,7 @@ class Spoom::Deadcode::Send < ::T::Struct const :block, T.nilable(::Prism::Node), default: T.unsafe(nil) const :location, ::Spoom::Location - # source://spoom//lib/spoom/deadcode/send.rb#16 + # pkg:gem/spoom#lib/spoom/deadcode/send.rb:16 sig do type_parameters(:T) .params( @@ -2593,27 +2593,27 @@ class Spoom::Deadcode::Send < ::T::Struct end def each_arg(arg_type, &block); end - # source://spoom//lib/spoom/deadcode/send.rb#23 + # pkg:gem/spoom#lib/spoom/deadcode/send.rb:23 sig { params(block: T.proc.params(key: ::Prism::Node, value: T.nilable(::Prism::Node)).void).void } def each_arg_assoc(&block); end end -# source://spoom//lib/spoom.rb#10 +# pkg:gem/spoom#lib/spoom.rb:10 class Spoom::Error < ::StandardError; end -# source://spoom//lib/spoom/context/exec.rb#7 +# pkg:gem/spoom#lib/spoom/context/exec.rb:7 class Spoom::ExecResult < ::T::Struct const :out, ::String const :err, T.nilable(::String) const :status, T::Boolean const :exit_code, ::Integer - # source://spoom//lib/spoom/context/exec.rb#14 + # pkg:gem/spoom#lib/spoom/context/exec.rb:14 sig { returns(::String) } def to_s; end end -# source://spoom//lib/spoom/file_collector.rb#5 +# pkg:gem/spoom#lib/spoom/file_collector.rb:5 class Spoom::FileCollector # Initialize a new file collector # @@ -2626,7 +2626,7 @@ class Spoom::FileCollector # # @return [FileCollector] a new instance of FileCollector # - # source://spoom//lib/spoom/file_collector.rb#18 + # pkg:gem/spoom#lib/spoom/file_collector.rb:18 sig do params( allow_extensions: T::Array[::String], @@ -2636,56 +2636,56 @@ class Spoom::FileCollector end def initialize(allow_extensions: T.unsafe(nil), allow_mime_types: T.unsafe(nil), exclude_patterns: T.unsafe(nil)); end - # source://spoom//lib/spoom/file_collector.rb#7 + # pkg:gem/spoom#lib/spoom/file_collector.rb:7 sig { returns(T::Array[::String]) } def files; end - # source://spoom//lib/spoom/file_collector.rb#31 + # pkg:gem/spoom#lib/spoom/file_collector.rb:31 sig { params(path: ::String).void } def visit_path(path); end - # source://spoom//lib/spoom/file_collector.rb#26 + # pkg:gem/spoom#lib/spoom/file_collector.rb:26 sig { params(paths: T::Array[::String]).void } def visit_paths(paths); end private - # source://spoom//lib/spoom/file_collector.rb#48 + # pkg:gem/spoom#lib/spoom/file_collector.rb:48 sig { params(path: ::String).returns(::String) } def clean_path(path); end # @return [Boolean] # - # source://spoom//lib/spoom/file_collector.rb#65 + # pkg:gem/spoom#lib/spoom/file_collector.rb:65 sig { params(path: ::String).returns(T::Boolean) } def excluded_file?(path); end # @return [Boolean] # - # source://spoom//lib/spoom/file_collector.rb#80 + # pkg:gem/spoom#lib/spoom/file_collector.rb:80 sig { params(path: ::String).returns(T::Boolean) } def excluded_path?(path); end - # source://spoom//lib/spoom/file_collector.rb#89 + # pkg:gem/spoom#lib/spoom/file_collector.rb:89 sig { params(path: ::String).returns(T.nilable(::String)) } def mime_type_for(path); end - # source://spoom//lib/spoom/file_collector.rb#60 + # pkg:gem/spoom#lib/spoom/file_collector.rb:60 sig { params(path: ::String).void } def visit_directory(path); end - # source://spoom//lib/spoom/file_collector.rb#53 + # pkg:gem/spoom#lib/spoom/file_collector.rb:53 sig { params(path: ::String).void } def visit_file(path); end end # Build a file hierarchy from a set of file paths. # -# source://spoom//lib/spoom/file_tree.rb#6 +# pkg:gem/spoom#lib/spoom/file_tree.rb:6 class Spoom::FileTree # @return [FileTree] a new instance of FileTree # - # source://spoom//lib/spoom/file_tree.rb#8 + # pkg:gem/spoom#lib/spoom/file_tree.rb:8 sig { params(paths: T::Enumerable[::String]).void } def initialize(paths = T.unsafe(nil)); end @@ -2693,121 +2693,121 @@ class Spoom::FileTree # # This will create all nodes until the root of `path`. # - # source://spoom//lib/spoom/file_tree.rb#23 + # pkg:gem/spoom#lib/spoom/file_tree.rb:23 sig { params(path: ::String).returns(::Spoom::FileTree::Node) } def add_path(path); end # Add all `paths` to the tree # - # source://spoom//lib/spoom/file_tree.rb#15 + # pkg:gem/spoom#lib/spoom/file_tree.rb:15 sig { params(paths: T::Enumerable[::String]).void } def add_paths(paths); end # All the nodes in this tree # - # source://spoom//lib/spoom/file_tree.rb#43 + # pkg:gem/spoom#lib/spoom/file_tree.rb:43 sig { returns(T::Array[::Spoom::FileTree::Node]) } def nodes; end # Return a map of typing scores for each node in the tree # - # source://spoom//lib/spoom/file_tree.rb#57 + # pkg:gem/spoom#lib/spoom/file_tree.rb:57 sig { params(context: ::Spoom::Context).returns(T::Hash[::Spoom::FileTree::Node, ::Float]) } def nodes_strictness_scores(context); end # All the paths in this tree # - # source://spoom//lib/spoom/file_tree.rb#51 + # pkg:gem/spoom#lib/spoom/file_tree.rb:51 sig { returns(T::Array[::String]) } def paths; end # Return a map of typing scores for each path in the tree # - # source://spoom//lib/spoom/file_tree.rb#65 + # pkg:gem/spoom#lib/spoom/file_tree.rb:65 sig { params(context: ::Spoom::Context).returns(T::Hash[::String, ::Float]) } def paths_strictness_scores(context); end - # source://spoom//lib/spoom/file_tree.rb#70 + # pkg:gem/spoom#lib/spoom/file_tree.rb:70 sig { params(out: T.any(::IO, ::StringIO), colors: T::Boolean).void } def print(out: T.unsafe(nil), colors: T.unsafe(nil)); end # All root nodes # - # source://spoom//lib/spoom/file_tree.rb#37 + # pkg:gem/spoom#lib/spoom/file_tree.rb:37 sig { returns(T::Array[::Spoom::FileTree::Node]) } def roots; end end # A visitor that collects all the nodes in a tree # -# source://spoom//lib/spoom/file_tree.rb#116 +# pkg:gem/spoom#lib/spoom/file_tree.rb:116 class Spoom::FileTree::CollectNodes < ::Spoom::FileTree::Visitor # @return [CollectNodes] a new instance of CollectNodes # - # source://spoom//lib/spoom/file_tree.rb#121 + # pkg:gem/spoom#lib/spoom/file_tree.rb:121 sig { void } def initialize; end - # source://spoom//lib/spoom/file_tree.rb#118 + # pkg:gem/spoom#lib/spoom/file_tree.rb:118 sig { returns(T::Array[::Spoom::FileTree::Node]) } def nodes; end - # source://spoom//lib/spoom/file_tree.rb#128 + # pkg:gem/spoom#lib/spoom/file_tree.rb:128 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end end # A visitor that collects the typing score of each node in a tree # -# source://spoom//lib/spoom/file_tree.rb#157 +# pkg:gem/spoom#lib/spoom/file_tree.rb:157 class Spoom::FileTree::CollectScores < ::Spoom::FileTree::CollectStrictnesses # @return [CollectScores] a new instance of CollectScores # - # source://spoom//lib/spoom/file_tree.rb#162 + # pkg:gem/spoom#lib/spoom/file_tree.rb:162 sig { params(context: ::Spoom::Context).void } def initialize(context); end - # source://spoom//lib/spoom/file_tree.rb#159 + # pkg:gem/spoom#lib/spoom/file_tree.rb:159 sig { returns(T::Hash[::Spoom::FileTree::Node, ::Float]) } def scores; end - # source://spoom//lib/spoom/file_tree.rb#170 + # pkg:gem/spoom#lib/spoom/file_tree.rb:170 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end private - # source://spoom//lib/spoom/file_tree.rb#179 + # pkg:gem/spoom#lib/spoom/file_tree.rb:179 sig { params(node: ::Spoom::FileTree::Node).returns(::Float) } def node_score(node); end - # source://spoom//lib/spoom/file_tree.rb#188 + # pkg:gem/spoom#lib/spoom/file_tree.rb:188 sig { params(strictness: T.nilable(::String)).returns(::Float) } def strictness_score(strictness); end end # A visitor that collects the strictness of each node in a tree # -# source://spoom//lib/spoom/file_tree.rb#135 +# pkg:gem/spoom#lib/spoom/file_tree.rb:135 class Spoom::FileTree::CollectStrictnesses < ::Spoom::FileTree::Visitor # @return [CollectStrictnesses] a new instance of CollectStrictnesses # - # source://spoom//lib/spoom/file_tree.rb#140 + # pkg:gem/spoom#lib/spoom/file_tree.rb:140 sig { params(context: ::Spoom::Context).void } def initialize(context); end - # source://spoom//lib/spoom/file_tree.rb#137 + # pkg:gem/spoom#lib/spoom/file_tree.rb:137 sig { returns(T::Hash[::Spoom::FileTree::Node, T.nilable(::String)]) } def strictnesses; end - # source://spoom//lib/spoom/file_tree.rb#148 + # pkg:gem/spoom#lib/spoom/file_tree.rb:148 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end end # A node representing either a file or a directory inside a FileTree # -# source://spoom//lib/spoom/file_tree.rb#76 +# pkg:gem/spoom#lib/spoom/file_tree.rb:76 class Spoom::FileTree::Node < ::T::Struct const :parent, T.nilable(::Spoom::FileTree::Node) const :name, ::String @@ -2815,7 +2815,7 @@ class Spoom::FileTree::Node < ::T::Struct # Full path to this node from root # - # source://spoom//lib/spoom/file_tree.rb#88 + # pkg:gem/spoom#lib/spoom/file_tree.rb:88 sig { returns(::String) } def path; end end @@ -2824,11 +2824,11 @@ end # # See `FileTree#print` # -# source://spoom//lib/spoom/file_tree.rb#201 +# pkg:gem/spoom#lib/spoom/file_tree.rb:201 class Spoom::FileTree::Printer < ::Spoom::FileTree::Visitor # @return [Printer] a new instance of Printer # - # source://spoom//lib/spoom/file_tree.rb#203 + # pkg:gem/spoom#lib/spoom/file_tree.rb:203 sig do params( strictnesses: T::Hash[::Spoom::FileTree::Node, T.nilable(::String)], @@ -2838,13 +2838,13 @@ class Spoom::FileTree::Printer < ::Spoom::FileTree::Visitor end def initialize(strictnesses, out: T.unsafe(nil), colors: T.unsafe(nil)); end - # source://spoom//lib/spoom/file_tree.rb#212 + # pkg:gem/spoom#lib/spoom/file_tree.rb:212 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end private - # source://spoom//lib/spoom/file_tree.rb#237 + # pkg:gem/spoom#lib/spoom/file_tree.rb:237 sig { params(strictness: T.nilable(::String)).returns(::Spoom::Color) } def strictness_color(strictness); end end @@ -2853,92 +2853,92 @@ end # # @abstract # -# source://spoom//lib/spoom/file_tree.rb#98 +# pkg:gem/spoom#lib/spoom/file_tree.rb:98 class Spoom::FileTree::Visitor abstract! - # source://spoom//lib/spoom/file_tree.rb#105 + # pkg:gem/spoom#lib/spoom/file_tree.rb:105 sig { params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end - # source://spoom//lib/spoom/file_tree.rb#110 + # pkg:gem/spoom#lib/spoom/file_tree.rb:110 sig { params(nodes: T::Array[::Spoom::FileTree::Node]).void } def visit_nodes(nodes); end - # source://spoom//lib/spoom/file_tree.rb#100 + # pkg:gem/spoom#lib/spoom/file_tree.rb:100 sig { params(tree: ::Spoom::FileTree).void } def visit_tree(tree); end end -# source://spoom//lib/spoom/context/git.rb#5 +# pkg:gem/spoom#lib/spoom/context/git.rb:5 module Spoom::Git; end -# source://spoom//lib/spoom/context/git.rb#6 +# pkg:gem/spoom#lib/spoom/context/git.rb:6 class Spoom::Git::Commit < ::T::Struct const :sha, ::String const :time, ::Time - # source://spoom//lib/spoom/context/git.rb#23 + # pkg:gem/spoom#lib/spoom/context/git.rb:23 sig { returns(::Integer) } def timestamp; end class << self # Parse a line formatted as `%h %at` into a `Commit` # - # source://spoom//lib/spoom/context/git.rb#10 + # pkg:gem/spoom#lib/spoom/context/git.rb:10 sig { params(string: ::String).returns(T.nilable(::Spoom::Git::Commit)) } def parse_line(string); end end end -# source://spoom//lib/spoom/sorbet/lsp/base.rb#5 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:5 module Spoom::LSP; end -# source://spoom//lib/spoom/sorbet/lsp.rb#13 +# pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:13 class Spoom::LSP::Client # @return [Client] a new instance of Client # - # source://spoom//lib/spoom/sorbet/lsp.rb#15 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:15 sig { params(sorbet_bin: ::String, sorbet_args: ::String, path: ::String).void } def initialize(sorbet_bin, *sorbet_args, path: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/lsp.rb#227 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:227 sig { void } def close; end - # source://spoom//lib/spoom/sorbet/lsp.rb#129 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:129 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T::Array[::Spoom::LSP::Location]) } def definitions(uri, line, column); end - # source://spoom//lib/spoom/sorbet/lsp.rb#210 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:210 sig { params(uri: ::String).returns(T::Array[::Spoom::LSP::DocumentSymbol]) } def document_symbols(uri); end - # source://spoom//lib/spoom/sorbet/lsp.rb#87 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:87 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T.nilable(::Spoom::LSP::Hover)) } def hover(uri, line, column); end - # source://spoom//lib/spoom/sorbet/lsp.rb#25 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:25 sig { returns(::Integer) } def next_id; end # @raise [Error::AlreadyOpen] # - # source://spoom//lib/spoom/sorbet/lsp.rb#70 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:70 sig { params(workspace_path: ::String).void } def open(workspace_path); end - # source://spoom//lib/spoom/sorbet/lsp.rb#52 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:52 sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) } def read; end # @raise [Error::BadHeaders] # - # source://spoom//lib/spoom/sorbet/lsp.rb#41 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:41 sig { returns(T.nilable(::String)) } def read_raw; end - # source://spoom//lib/spoom/sorbet/lsp.rb#171 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:171 sig do params( uri: ::String, @@ -2949,28 +2949,28 @@ class Spoom::LSP::Client end def references(uri, line, column, include_decl = T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/lsp.rb#35 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:35 sig { params(message: ::Spoom::LSP::Message).returns(T.nilable(T::Hash[T.untyped, T.untyped])) } def send(message); end - # source://spoom//lib/spoom/sorbet/lsp.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:30 sig { params(json_string: ::String).void } def send_raw(json_string); end - # source://spoom//lib/spoom/sorbet/lsp.rb#108 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:108 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T::Array[::Spoom::LSP::SignatureHelp]) } def signatures(uri, line, column); end - # source://spoom//lib/spoom/sorbet/lsp.rb#195 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:195 sig { params(query: ::String).returns(T::Array[::Spoom::LSP::DocumentSymbol]) } def symbols(query); end - # source://spoom//lib/spoom/sorbet/lsp.rb#150 + # pkg:gem/spoom#lib/spoom/sorbet/lsp.rb:150 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T::Array[::Spoom::LSP::Location]) } def type_definitions(uri, line, column); end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#165 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:165 class Spoom::LSP::Diagnostic < ::T::Struct include ::Spoom::LSP::PrintableSymbol @@ -2979,22 +2979,22 @@ class Spoom::LSP::Diagnostic < ::T::Struct const :message, ::String const :information, ::Object - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#187 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:187 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#192 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:192 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#175 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:175 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#197 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:197 class Spoom::LSP::DocumentSymbol < ::T::Struct include ::Spoom::LSP::PrintableSymbol @@ -3005,99 +3005,99 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct const :range, T.nilable(::Spoom::LSP::Range) const :children, T::Array[::Spoom::LSP::DocumentSymbol] - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#223 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:223 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#255 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:255 sig { returns(::String) } def kind_string; end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#250 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:250 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#209 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:209 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#259 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:259 Spoom::LSP::DocumentSymbol::SYMBOL_KINDS = T.let(T.unsafe(nil), Hash) -# source://spoom//lib/spoom/sorbet/lsp/errors.rb#6 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:6 class Spoom::LSP::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/sorbet/lsp/errors.rb#7 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:7 class Spoom::LSP::Error::AlreadyOpen < ::Spoom::LSP::Error; end -# source://spoom//lib/spoom/sorbet/lsp/errors.rb#8 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:8 class Spoom::LSP::Error::BadHeaders < ::Spoom::LSP::Error; end -# source://spoom//lib/spoom/sorbet/lsp/errors.rb#10 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:10 class Spoom::LSP::Error::Diagnostics < ::Spoom::LSP::Error # @return [Diagnostics] a new instance of Diagnostics # - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#28 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:28 sig { params(uri: ::String, diagnostics: T::Array[::Spoom::LSP::Diagnostic]).void } def initialize(uri, diagnostics); end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#15 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:15 sig { returns(T::Array[::Spoom::LSP::Diagnostic]) } def diagnostics; end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#12 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:12 sig { returns(::String) } def uri; end class << self - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#19 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:19 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Error::Diagnostics) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#16 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:16 class Spoom::LSP::Hover < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :contents, ::String const :range, T.nilable(T::Range[T.untyped]) - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#34 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:34 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#40 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:40 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#24 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:24 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#103 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:103 class Spoom::LSP::Location < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :uri, ::String const :range, ::Spoom::LSP::Range - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#121 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:121 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#127 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:127 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#111 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:111 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end end @@ -3107,19 +3107,19 @@ end # # The language server protocol always uses `"2.0"` as the `jsonrpc` version. # -# source://spoom//lib/spoom/sorbet/lsp/base.rb#12 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:12 class Spoom::LSP::Message # @return [Message] a new instance of Message # - # source://spoom//lib/spoom/sorbet/lsp/base.rb#14 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:14 sig { void } def initialize; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#19 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:19 sig { returns(T::Hash[T.untyped, T.untyped]) } def as_json; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#27 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:27 sig { params(args: T.untyped).returns(::String) } def to_json(*args); end end @@ -3128,74 +3128,74 @@ end # # A processed notification message must not send a response back. They work like events. # -# source://spoom//lib/spoom/sorbet/lsp/base.rb#54 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:54 class Spoom::LSP::Notification < ::Spoom::LSP::Message # @return [Notification] a new instance of Notification # - # source://spoom//lib/spoom/sorbet/lsp/base.rb#62 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:62 sig { params(method: ::String, params: T::Hash[T.untyped, T.untyped]).void } def initialize(method, params); end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#56 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:56 sig { returns(::String) } def method; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#59 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:59 sig { returns(T::Hash[T.untyped, T.untyped]) } def params; end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#45 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:45 class Spoom::LSP::Position < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :line, ::Integer const :char, ::Integer - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#63 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:63 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#68 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:68 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#53 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:53 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#10 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:10 module Spoom::LSP::PrintableSymbol interface! # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#13 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:13 sig { abstract.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#73 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:73 class Spoom::LSP::Range < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :start, ::Spoom::LSP::Position const :end, ::Spoom::LSP::Position - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#91 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:91 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#98 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:98 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#81 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:81 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end end @@ -3205,47 +3205,47 @@ end # # Every processed request must send a response back to the sender of the request. # -# source://spoom//lib/spoom/sorbet/lsp/base.rb#35 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:35 class Spoom::LSP::Request < ::Spoom::LSP::Message # @return [Request] a new instance of Request # - # source://spoom//lib/spoom/sorbet/lsp/base.rb#43 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:43 sig { params(id: ::Integer, method: ::String, params: T::Hash[T.untyped, T.untyped]).void } def initialize(id, method, params); end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#37 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:37 sig { returns(::Integer) } def id; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#40 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/base.rb:40 sig { returns(T::Hash[T.untyped, T.untyped]) } def params; end end -# source://spoom//lib/spoom/sorbet/lsp/errors.rb#36 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:36 class Spoom::LSP::ResponseError < ::Spoom::LSP::Error # @return [ResponseError] a new instance of ResponseError # - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#55 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:55 sig { params(code: ::Integer, message: ::String, data: T::Hash[T.untyped, T.untyped]).void } def initialize(code, message, data); end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#38 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:38 sig { returns(::Integer) } def code; end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#41 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:41 sig { returns(T::Hash[T.untyped, T.untyped]) } def data; end class << self - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#45 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/errors.rb:45 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::ResponseError) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#132 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:132 class Spoom::LSP::SignatureHelp < ::T::Struct include ::Spoom::LSP::PrintableSymbol @@ -3253,26 +3253,26 @@ class Spoom::LSP::SignatureHelp < ::T::Struct const :doc, ::Object const :params, T::Array[T.untyped] - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#152 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:152 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#160 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:160 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#141 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:141 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#289 +# pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:289 class Spoom::LSP::SymbolPrinter < ::Spoom::Printer # @return [SymbolPrinter] a new instance of SymbolPrinter # - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#297 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:297 sig do params( out: T.any(::IO, ::StringIO), @@ -3283,42 +3283,42 @@ class Spoom::LSP::SymbolPrinter < ::Spoom::Printer end def initialize(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil), prefix: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#319 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:319 sig { params(uri: ::String).returns(::String) } def clean_uri(uri); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#294 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:294 sig { returns(T.nilable(::String)) } def prefix; end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#294 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:294 def prefix=(_arg0); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#327 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:327 sig { params(objects: T::Array[::Spoom::LSP::PrintableSymbol]).void } def print_list(objects); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#307 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:307 sig { params(object: T.nilable(::Spoom::LSP::PrintableSymbol)).void } def print_object(object); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#314 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:314 sig { params(objects: T::Array[::Spoom::LSP::PrintableSymbol]).void } def print_objects(objects); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#291 + # pkg:gem/spoom#lib/spoom/sorbet/lsp/structures.rb:291 sig { returns(T::Set[::Integer]) } def seen; end end -# source://spoom//lib/spoom/location.rb#5 +# pkg:gem/spoom#lib/spoom/location.rb:5 class Spoom::Location include ::Comparable # @raise [LocationError] # @return [Location] a new instance of Location # - # source://spoom//lib/spoom/location.rb#61 + # pkg:gem/spoom#lib/spoom/location.rb:61 sig do params( file: ::String, @@ -3330,58 +3330,58 @@ class Spoom::Location end def initialize(file, start_line: T.unsafe(nil), start_column: T.unsafe(nil), end_line: T.unsafe(nil), end_column: T.unsafe(nil)); end - # source://spoom//lib/spoom/location.rb#95 + # pkg:gem/spoom#lib/spoom/location.rb:95 sig { override.params(other: ::BasicObject).returns(T.nilable(::Integer)) } def <=>(other); end - # source://spoom//lib/spoom/location.rb#58 + # pkg:gem/spoom#lib/spoom/location.rb:58 def end_column; end - # source://spoom//lib/spoom/location.rb#58 + # pkg:gem/spoom#lib/spoom/location.rb:58 def end_line; end - # source://spoom//lib/spoom/location.rb#55 + # pkg:gem/spoom#lib/spoom/location.rb:55 sig { returns(::String) } def file; end # @return [Boolean] # - # source://spoom//lib/spoom/location.rb#81 + # pkg:gem/spoom#lib/spoom/location.rb:81 sig { params(other: ::Spoom::Location).returns(T::Boolean) } def include?(other); end - # source://spoom//lib/spoom/location.rb#58 + # pkg:gem/spoom#lib/spoom/location.rb:58 def start_column; end - # source://spoom//lib/spoom/location.rb#58 + # pkg:gem/spoom#lib/spoom/location.rb:58 sig { returns(T.nilable(::Integer)) } def start_line; end - # source://spoom//lib/spoom/location.rb#118 + # pkg:gem/spoom#lib/spoom/location.rb:118 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/location.rb#43 + # pkg:gem/spoom#lib/spoom/location.rb:43 sig { params(file: ::String, location: ::Prism::Location).returns(::Spoom::Location) } def from_prism(file, location); end # @raise [LocationError] # - # source://spoom//lib/spoom/location.rb#12 + # pkg:gem/spoom#lib/spoom/location.rb:12 sig { params(location_string: ::String).returns(::Spoom::Location) } def from_string(location_string); end end end -# source://spoom//lib/spoom/location.rb#8 +# pkg:gem/spoom#lib/spoom/location.rb:8 class Spoom::Location::LocationError < ::Spoom::Error; end -# source://spoom//lib/spoom/model/model.rb#5 +# pkg:gem/spoom#lib/spoom/model/model.rb:5 class Spoom::Model # @return [Model] a new instance of Model # - # source://spoom//lib/spoom/model/model.rb#240 + # pkg:gem/spoom#lib/spoom/model/model.rb:240 sig { void } def initialize; end @@ -3391,11 +3391,11 @@ class Spoom::Model # # @raise [Error] # - # source://spoom//lib/spoom/model/model.rb#249 + # pkg:gem/spoom#lib/spoom/model/model.rb:249 sig { params(full_name: ::String).returns(::Spoom::Model::Symbol) } def [](full_name); end - # source://spoom//lib/spoom/model/model.rb#298 + # pkg:gem/spoom#lib/spoom/model/model.rb:298 sig { void } def finalize!; end @@ -3403,121 +3403,121 @@ class Spoom::Model # # If the symbol already exists, it will be returned. # - # source://spoom//lib/spoom/model/model.rb#260 + # pkg:gem/spoom#lib/spoom/model/model.rb:260 sig { params(full_name: ::String).returns(::Spoom::Model::Symbol) } def register_symbol(full_name); end - # source://spoom//lib/spoom/model/model.rb#265 + # pkg:gem/spoom#lib/spoom/model/model.rb:265 sig { params(full_name: ::String, context: ::Spoom::Model::Symbol).returns(::Spoom::Model::Symbol) } def resolve_symbol(full_name, context:); end - # source://spoom//lib/spoom/model/model.rb#292 + # pkg:gem/spoom#lib/spoom/model/model.rb:292 sig { params(symbol: ::Spoom::Model::Symbol).returns(T::Array[::Spoom::Model::Symbol]) } def subtypes(symbol); end - # source://spoom//lib/spoom/model/model.rb#286 + # pkg:gem/spoom#lib/spoom/model/model.rb:286 sig { params(symbol: ::Spoom::Model::Symbol).returns(T::Array[::Spoom::Model::Symbol]) } def supertypes(symbol); end # All the symbols registered in this model # - # source://spoom//lib/spoom/model/model.rb#234 + # pkg:gem/spoom#lib/spoom/model/model.rb:234 sig { returns(T::Hash[::String, ::Spoom::Model::Symbol]) } def symbols; end - # source://spoom//lib/spoom/model/model.rb#237 + # pkg:gem/spoom#lib/spoom/model/model.rb:237 sig { returns(Spoom::Poset[::Spoom::Model::Symbol]) } def symbols_hierarchy; end private - # source://spoom//lib/spoom/model/model.rb#305 + # pkg:gem/spoom#lib/spoom/model/model.rb:305 sig { void } def compute_symbols_hierarchy!; end end # @abstract # -# source://spoom//lib/spoom/model/model.rb#188 +# pkg:gem/spoom#lib/spoom/model/model.rb:188 class Spoom::Model::Attr < ::Spoom::Model::Property abstract! end -# source://spoom//lib/spoom/model/model.rb#193 +# pkg:gem/spoom#lib/spoom/model/model.rb:193 class Spoom::Model::AttrAccessor < ::Spoom::Model::Attr; end -# source://spoom//lib/spoom/model/model.rb#191 +# pkg:gem/spoom#lib/spoom/model/model.rb:191 class Spoom::Model::AttrReader < ::Spoom::Model::Attr; end -# source://spoom//lib/spoom/model/model.rb#192 +# pkg:gem/spoom#lib/spoom/model/model.rb:192 class Spoom::Model::AttrWriter < ::Spoom::Model::Attr; end # Populate a Model by visiting the nodes from a Ruby file # -# source://spoom//lib/spoom/model/builder.rb#7 +# pkg:gem/spoom#lib/spoom/model/builder.rb:7 class Spoom::Model::Builder < ::Spoom::Model::NamespaceVisitor # @return [Builder] a new instance of Builder # - # source://spoom//lib/spoom/model/builder.rb#9 + # pkg:gem/spoom#lib/spoom/model/builder.rb:9 sig { params(model: ::Spoom::Model, file: ::String).void } def initialize(model, file); end - # source://spoom//lib/spoom/model/builder.rb#159 + # pkg:gem/spoom#lib/spoom/model/builder.rb:159 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/model/builder.rb#23 + # pkg:gem/spoom#lib/spoom/model/builder.rb:23 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/model/builder.rb#76 + # pkg:gem/spoom#lib/spoom/model/builder.rb:76 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://spoom//lib/spoom/model/builder.rb#99 + # pkg:gem/spoom#lib/spoom/model/builder.rb:99 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://spoom//lib/spoom/model/builder.rb#138 + # pkg:gem/spoom#lib/spoom/model/builder.rb:138 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://spoom//lib/spoom/model/builder.rb#58 + # pkg:gem/spoom#lib/spoom/model/builder.rb:58 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/model/builder.rb#115 + # pkg:gem/spoom#lib/spoom/model/builder.rb:115 sig { override.params(node: ::Prism::MultiWriteNode).void } def visit_multi_write_node(node); end - # source://spoom//lib/spoom/model/builder.rb#40 + # pkg:gem/spoom#lib/spoom/model/builder.rb:40 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end private - # source://spoom//lib/spoom/model/builder.rb#250 + # pkg:gem/spoom#lib/spoom/model/builder.rb:250 sig { returns(T::Array[::Spoom::Model::Sig]) } def collect_sigs; end - # source://spoom//lib/spoom/model/builder.rb#245 + # pkg:gem/spoom#lib/spoom/model/builder.rb:245 sig { returns(::Spoom::Model::Visibility) } def current_visibility; end - # source://spoom//lib/spoom/model/builder.rb#262 + # pkg:gem/spoom#lib/spoom/model/builder.rb:262 sig { params(node: ::Prism::Node).returns(T::Array[::Spoom::Model::Comment]) } def node_comments(node); end - # source://spoom//lib/spoom/model/builder.rb#257 + # pkg:gem/spoom#lib/spoom/model/builder.rb:257 sig { params(node: ::Prism::Node).returns(::Spoom::Location) } def node_location(node); end end -# source://spoom//lib/spoom/model/model.rb#128 +# pkg:gem/spoom#lib/spoom/model/model.rb:128 class Spoom::Model::Class < ::Spoom::Model::Namespace # @return [Class] a new instance of Class # - # source://spoom//lib/spoom/model/model.rb#139 + # pkg:gem/spoom#lib/spoom/model/model.rb:139 sig do params( symbol: ::Spoom::Model::Symbol, @@ -3529,36 +3529,36 @@ class Spoom::Model::Class < ::Spoom::Model::Namespace end def initialize(symbol, owner:, location:, superclass_name: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#130 + # pkg:gem/spoom#lib/spoom/model/model.rb:130 sig { returns(T.nilable(::String)) } def superclass_name; end - # source://spoom//lib/spoom/model/model.rb#130 + # pkg:gem/spoom#lib/spoom/model/model.rb:130 def superclass_name=(_arg0); end end -# source://spoom//lib/spoom/model/model.rb#8 +# pkg:gem/spoom#lib/spoom/model/model.rb:8 class Spoom::Model::Comment # @return [Comment] a new instance of Comment # - # source://spoom//lib/spoom/model/model.rb#16 + # pkg:gem/spoom#lib/spoom/model/model.rb:16 sig { params(string: ::String, location: ::Spoom::Location).void } def initialize(string, location); end - # source://spoom//lib/spoom/model/model.rb#13 + # pkg:gem/spoom#lib/spoom/model/model.rb:13 sig { returns(::Spoom::Location) } def location; end - # source://spoom//lib/spoom/model/model.rb#10 + # pkg:gem/spoom#lib/spoom/model/model.rb:10 sig { returns(::String) } def string; end end -# source://spoom//lib/spoom/model/model.rb#148 +# pkg:gem/spoom#lib/spoom/model/model.rb:148 class Spoom::Model::Constant < ::Spoom::Model::SymbolDef # @return [Constant] a new instance of Constant # - # source://spoom//lib/spoom/model/model.rb#153 + # pkg:gem/spoom#lib/spoom/model/model.rb:153 sig do params( symbol: ::Spoom::Model::Symbol, @@ -3570,56 +3570,56 @@ class Spoom::Model::Constant < ::Spoom::Model::SymbolDef end def initialize(symbol, owner:, location:, value:, comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#150 + # pkg:gem/spoom#lib/spoom/model/model.rb:150 sig { returns(::String) } def value; end end -# source://spoom//lib/spoom/model/model.rb#6 +# pkg:gem/spoom#lib/spoom/model/model.rb:6 class Spoom::Model::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/model/model.rb#217 +# pkg:gem/spoom#lib/spoom/model/model.rb:217 class Spoom::Model::Extend < ::Spoom::Model::Mixin; end -# source://spoom//lib/spoom/model/model.rb#215 +# pkg:gem/spoom#lib/spoom/model/model.rb:215 class Spoom::Model::Include < ::Spoom::Model::Mixin; end -# source://spoom//lib/spoom/model/model.rb#185 +# pkg:gem/spoom#lib/spoom/model/model.rb:185 class Spoom::Model::Method < ::Spoom::Model::Property; end # A mixin (include, prepend, extend) to a namespace # # @abstract # -# source://spoom//lib/spoom/model/model.rb#205 +# pkg:gem/spoom#lib/spoom/model/model.rb:205 class Spoom::Model::Mixin abstract! # @return [Mixin] a new instance of Mixin # - # source://spoom//lib/spoom/model/model.rb#210 + # pkg:gem/spoom#lib/spoom/model/model.rb:210 sig { params(name: ::String).void } def initialize(name); end - # source://spoom//lib/spoom/model/model.rb#207 + # pkg:gem/spoom#lib/spoom/model/model.rb:207 sig { returns(::String) } def name; end end -# source://spoom//lib/spoom/model/model.rb#146 +# pkg:gem/spoom#lib/spoom/model/model.rb:146 class Spoom::Model::Module < ::Spoom::Model::Namespace; end # A class or module # # @abstract # -# source://spoom//lib/spoom/model/model.rb#110 +# pkg:gem/spoom#lib/spoom/model/model.rb:110 class Spoom::Model::Namespace < ::Spoom::Model::SymbolDef abstract! # @return [Namespace] a new instance of Namespace # - # source://spoom//lib/spoom/model/model.rb#118 + # pkg:gem/spoom#lib/spoom/model/model.rb:118 sig do params( symbol: ::Spoom::Model::Symbol, @@ -3630,46 +3630,46 @@ class Spoom::Model::Namespace < ::Spoom::Model::SymbolDef end def initialize(symbol, owner:, location:, comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#112 + # pkg:gem/spoom#lib/spoom/model/model.rb:112 sig { returns(T::Array[::Spoom::Model::SymbolDef]) } def children; end - # source://spoom//lib/spoom/model/model.rb#115 + # pkg:gem/spoom#lib/spoom/model/model.rb:115 sig { returns(T::Array[::Spoom::Model::Mixin]) } def mixins; end end # @abstract # -# source://spoom//lib/spoom/model/namespace_visitor.rb#7 +# pkg:gem/spoom#lib/spoom/model/namespace_visitor.rb:7 class Spoom::Model::NamespaceVisitor < ::Spoom::Visitor abstract! # @return [NamespaceVisitor] a new instance of NamespaceVisitor # - # source://spoom//lib/spoom/model/namespace_visitor.rb#9 + # pkg:gem/spoom#lib/spoom/model/namespace_visitor.rb:9 sig { void } def initialize; end - # source://spoom//lib/spoom/model/namespace_visitor.rb#17 + # pkg:gem/spoom#lib/spoom/model/namespace_visitor.rb:17 sig { override.params(node: T.nilable(::Prism::Node)).void } def visit(node); end end -# source://spoom//lib/spoom/model/model.rb#216 +# pkg:gem/spoom#lib/spoom/model/model.rb:216 class Spoom::Model::Prepend < ::Spoom::Model::Mixin; end # A method or an attribute accessor # # @abstract # -# source://spoom//lib/spoom/model/model.rb#162 +# pkg:gem/spoom#lib/spoom/model/model.rb:162 class Spoom::Model::Property < ::Spoom::Model::SymbolDef abstract! # @return [Property] a new instance of Property # - # source://spoom//lib/spoom/model/model.rb#177 + # pkg:gem/spoom#lib/spoom/model/model.rb:177 sig do params( symbol: ::Spoom::Model::Symbol, @@ -3682,11 +3682,11 @@ class Spoom::Model::Property < ::Spoom::Model::SymbolDef end def initialize(symbol, owner:, location:, visibility:, sigs: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#167 + # pkg:gem/spoom#lib/spoom/model/model.rb:167 sig { returns(T::Array[::Spoom::Model::Sig]) } def sigs; end - # source://spoom//lib/spoom/model/model.rb#164 + # pkg:gem/spoom#lib/spoom/model/model.rb:164 sig { returns(::Spoom::Model::Visibility) } def visibility; end end @@ -3696,7 +3696,7 @@ end # Constants could be classes, modules, or actual constants. # Methods could be accessors, instance or class methods, aliases, etc. # -# source://spoom//lib/spoom/model/reference.rb#10 +# pkg:gem/spoom#lib/spoom/model/reference.rb:10 class Spoom::Model::Reference < ::T::Struct const :kind, ::Spoom::Model::Reference::Kind const :name, ::String @@ -3704,28 +3704,28 @@ class Spoom::Model::Reference < ::T::Struct # @return [Boolean] # - # source://spoom//lib/spoom/model/reference.rb#35 + # pkg:gem/spoom#lib/spoom/model/reference.rb:35 sig { returns(T::Boolean) } def constant?; end # @return [Boolean] # - # source://spoom//lib/spoom/model/reference.rb#40 + # pkg:gem/spoom#lib/spoom/model/reference.rb:40 sig { returns(T::Boolean) } def method?; end class << self - # source://spoom//lib/spoom/model/reference.rb#20 + # pkg:gem/spoom#lib/spoom/model/reference.rb:20 sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def constant(name, location); end - # source://spoom//lib/spoom/model/reference.rb#25 + # pkg:gem/spoom#lib/spoom/model/reference.rb:25 sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def method(name, location); end end end -# source://spoom//lib/spoom/model/reference.rb#11 +# pkg:gem/spoom#lib/spoom/model/reference.rb:11 class Spoom::Model::Reference::Kind < ::T::Enum enums do Constant = new @@ -3735,137 +3735,137 @@ end # Visit a file to collect all the references to constants and methods # -# source://spoom//lib/spoom/model/references_visitor.rb#7 +# pkg:gem/spoom#lib/spoom/model/references_visitor.rb:7 class Spoom::Model::ReferencesVisitor < ::Spoom::Visitor # @return [ReferencesVisitor] a new instance of ReferencesVisitor # - # source://spoom//lib/spoom/model/references_visitor.rb#12 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:12 sig { params(file: ::String).void } def initialize(file); end - # source://spoom//lib/spoom/model/references_visitor.rb#9 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:9 sig { returns(T::Array[::Spoom::Model::Reference]) } def references; end - # source://spoom//lib/spoom/model/references_visitor.rb#21 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:21 sig { override.params(node: ::Prism::AliasMethodNode).void } def visit_alias_method_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#27 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:27 sig { override.params(node: ::Prism::AndNode).void } def visit_and_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#34 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:34 sig { override.params(node: ::Prism::BlockArgumentNode).void } def visit_block_argument_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#46 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:46 sig { override.params(node: ::Prism::CallAndWriteNode).void } def visit_call_and_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#73 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:73 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#55 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:55 sig { override.params(node: ::Prism::CallOperatorWriteNode).void } def visit_call_operator_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#64 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:64 sig { override.params(node: ::Prism::CallOrWriteNode).void } def visit_call_or_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#91 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:91 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#98 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:98 sig { override.params(node: ::Prism::ConstantAndWriteNode).void } def visit_constant_and_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#105 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:105 sig { override.params(node: ::Prism::ConstantOperatorWriteNode).void } def visit_constant_operator_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#112 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:112 sig { override.params(node: ::Prism::ConstantOrWriteNode).void } def visit_constant_or_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#119 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:119 sig { override.params(node: ::Prism::ConstantPathNode).void } def visit_constant_path_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#126 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:126 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#133 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:133 sig { override.params(node: ::Prism::ConstantReadNode).void } def visit_constant_read_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#139 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:139 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#145 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:145 sig { override.params(node: ::Prism::LocalVariableAndWriteNode).void } def visit_local_variable_and_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#154 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:154 sig { override.params(node: ::Prism::LocalVariableOperatorWriteNode).void } def visit_local_variable_operator_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#163 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:163 sig { override.params(node: ::Prism::LocalVariableOrWriteNode).void } def visit_local_variable_or_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#172 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:172 sig { override.params(node: ::Prism::LocalVariableWriteNode).void } def visit_local_variable_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#179 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:179 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#185 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:185 sig { override.params(node: ::Prism::MultiWriteNode).void } def visit_multi_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#197 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:197 sig { override.params(node: ::Prism::OrNode).void } def visit_or_node(node); end private - # source://spoom//lib/spoom/model/references_visitor.rb#215 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:215 sig { params(node: ::Prism::Node).returns(::Spoom::Location) } def node_location(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#205 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:205 sig { params(name: ::String, node: ::Prism::Node).void } def reference_constant(name, node); end - # source://spoom//lib/spoom/model/references_visitor.rb#210 + # pkg:gem/spoom#lib/spoom/model/references_visitor.rb:210 sig { params(name: ::String, node: ::Prism::Node).void } def reference_method(name, node); end end # A Sorbet signature (sig block) # -# source://spoom//lib/spoom/model/model.rb#220 +# pkg:gem/spoom#lib/spoom/model/model.rb:220 class Spoom::Model::Sig # @return [Sig] a new instance of Sig # - # source://spoom//lib/spoom/model/model.rb#225 + # pkg:gem/spoom#lib/spoom/model/model.rb:225 sig { params(string: ::String).void } def initialize(string); end - # source://spoom//lib/spoom/model/model.rb#222 + # pkg:gem/spoom#lib/spoom/model/model.rb:222 sig { returns(::String) } def string; end end -# source://spoom//lib/spoom/model/model.rb#126 +# pkg:gem/spoom#lib/spoom/model/model.rb:126 class Spoom::Model::SingletonClass < ::Spoom::Model::Namespace; end # A Symbol is a uniquely named entity in the Ruby codebase @@ -3874,33 +3874,33 @@ class Spoom::Model::SingletonClass < ::Spoom::Model::Namespace; end # Sometimes a symbol can have multiple definitions of different types, # e.g. `foo` method can be defined both as a method and as an attribute accessor. # -# source://spoom//lib/spoom/model/model.rb#27 +# pkg:gem/spoom#lib/spoom/model/model.rb:27 class Spoom::Model::Symbol # @return [Symbol] a new instance of Symbol # - # source://spoom//lib/spoom/model/model.rb#37 + # pkg:gem/spoom#lib/spoom/model/model.rb:37 sig { params(full_name: ::String).void } def initialize(full_name); end # The definitions of this symbol (where it exists in the code) # - # source://spoom//lib/spoom/model/model.rb#34 + # pkg:gem/spoom#lib/spoom/model/model.rb:34 sig { returns(T::Array[::Spoom::Model::SymbolDef]) } def definitions; end # The full, unique name of this symbol # - # source://spoom//lib/spoom/model/model.rb#30 + # pkg:gem/spoom#lib/spoom/model/model.rb:30 sig { returns(::String) } def full_name; end # The short name of this symbol # - # source://spoom//lib/spoom/model/model.rb#44 + # pkg:gem/spoom#lib/spoom/model/model.rb:44 sig { returns(::String) } def name; end - # source://spoom//lib/spoom/model/model.rb#49 + # pkg:gem/spoom#lib/spoom/model/model.rb:49 sig { returns(::String) } def to_s; end end @@ -3912,13 +3912,13 @@ end # # @abstract # -# source://spoom//lib/spoom/model/model.rb#67 +# pkg:gem/spoom#lib/spoom/model/model.rb:67 class Spoom::Model::SymbolDef abstract! # @return [SymbolDef] a new instance of SymbolDef # - # source://spoom//lib/spoom/model/model.rb#85 + # pkg:gem/spoom#lib/spoom/model/model.rb:85 sig do params( symbol: ::Spoom::Model::Symbol, @@ -3931,49 +3931,49 @@ class Spoom::Model::SymbolDef # The comments associated with this definition # - # source://spoom//lib/spoom/model/model.rb#82 + # pkg:gem/spoom#lib/spoom/model/model.rb:82 sig { returns(T::Array[::Spoom::Model::Comment]) } def comments; end # The full name of the symbol this definition belongs to # - # source://spoom//lib/spoom/model/model.rb#97 + # pkg:gem/spoom#lib/spoom/model/model.rb:97 sig { returns(::String) } def full_name; end # The actual code location of this definition # - # source://spoom//lib/spoom/model/model.rb#78 + # pkg:gem/spoom#lib/spoom/model/model.rb:78 sig { returns(::Spoom::Location) } def location; end # The short name of the symbol this definition belongs to # - # source://spoom//lib/spoom/model/model.rb#103 + # pkg:gem/spoom#lib/spoom/model/model.rb:103 sig { returns(::String) } def name; end # The enclosing namespace this definition belongs to # - # source://spoom//lib/spoom/model/model.rb#74 + # pkg:gem/spoom#lib/spoom/model/model.rb:74 sig { returns(T.nilable(::Spoom::Model::Namespace)) } def owner; end # The symbol this definition belongs to # - # source://spoom//lib/spoom/model/model.rb#70 + # pkg:gem/spoom#lib/spoom/model/model.rb:70 sig { returns(::Spoom::Model::Symbol) } def symbol; end end -# source://spoom//lib/spoom/model/model.rb#54 +# pkg:gem/spoom#lib/spoom/model/model.rb:54 class Spoom::Model::UnresolvedSymbol < ::Spoom::Model::Symbol - # source://spoom//lib/spoom/model/model.rb#57 + # pkg:gem/spoom#lib/spoom/model/model.rb:57 sig { override.returns(::String) } def to_s; end end -# source://spoom//lib/spoom/model/model.rb#195 +# pkg:gem/spoom#lib/spoom/model/model.rb:195 class Spoom::Model::Visibility < ::T::Enum enums do Private = new @@ -3982,7 +3982,7 @@ class Spoom::Model::Visibility < ::T::Enum end end -# source://spoom//lib/spoom/parse.rb#7 +# pkg:gem/spoom#lib/spoom/parse.rb:7 class Spoom::ParseError < ::Spoom::Error; end # A Poset is a set of elements with a partial order relation. @@ -3990,7 +3990,7 @@ class Spoom::ParseError < ::Spoom::Error; end # The partial order relation is a binary relation that is reflexive, antisymmetric, and transitive. # It can be used to represent a hierarchy of classes or modules, the dependencies between gems, etc. # -# source://spoom//lib/spoom/poset.rb#10 +# pkg:gem/spoom#lib/spoom/poset.rb:10 class Spoom::Poset extend T::Generic @@ -3998,7 +3998,7 @@ class Spoom::Poset # @return [Poset] a new instance of Poset # - # source://spoom//lib/spoom/poset.rb#14 + # pkg:gem/spoom#lib/spoom/poset.rb:14 sig { void } def initialize; end @@ -4008,7 +4008,7 @@ class Spoom::Poset # # @raise [Error] # - # source://spoom//lib/spoom/poset.rb#22 + # pkg:gem/spoom#lib/spoom/poset.rb:22 sig { params(value: E).returns(Spoom::Poset::Element[E]) } def [](value); end @@ -4018,13 +4018,13 @@ class Spoom::Poset # Adds the elements if they don't exist. # If the direct edge already exists, nothing is done. # - # source://spoom//lib/spoom/poset.rb#50 + # pkg:gem/spoom#lib/spoom/poset.rb:50 sig { params(from: E, to: E).void } def add_direct_edge(from, to); end # Add an element to the POSet # - # source://spoom//lib/spoom/poset.rb#31 + # pkg:gem/spoom#lib/spoom/poset.rb:31 sig { params(value: E).returns(Spoom::Poset::Element[E]) } def add_element(value); end @@ -4032,7 +4032,7 @@ class Spoom::Poset # # @return [Boolean] # - # source://spoom//lib/spoom/poset.rb#97 + # pkg:gem/spoom#lib/spoom/poset.rb:97 sig { params(from: E, to: E).returns(T::Boolean) } def direct_edge?(from, to); end @@ -4040,7 +4040,7 @@ class Spoom::Poset # # @return [Boolean] # - # source://spoom//lib/spoom/poset.rb#88 + # pkg:gem/spoom#lib/spoom/poset.rb:88 sig { params(from: E, to: E).returns(T::Boolean) } def edge?(from, to); end @@ -4048,26 +4048,26 @@ class Spoom::Poset # # @return [Boolean] # - # source://spoom//lib/spoom/poset.rb#40 + # pkg:gem/spoom#lib/spoom/poset.rb:40 sig { params(value: E).returns(T::Boolean) } def element?(value); end # Show the POSet as a DOT graph using xdot (used for debugging) # - # source://spoom//lib/spoom/poset.rb#103 + # pkg:gem/spoom#lib/spoom/poset.rb:103 sig { params(direct: T::Boolean, transitive: T::Boolean).void } def show_dot(direct: T.unsafe(nil), transitive: T.unsafe(nil)); end # Return the POSet as a DOT graph # - # source://spoom//lib/spoom/poset.rb#112 + # pkg:gem/spoom#lib/spoom/poset.rb:112 sig { params(direct: T::Boolean, transitive: T::Boolean).returns(::String) } def to_dot(direct: T.unsafe(nil), transitive: T.unsafe(nil)); end end # An element in a POSet # -# source://spoom//lib/spoom/poset.rb#133 +# pkg:gem/spoom#lib/spoom/poset.rb:133 class Spoom::Poset::Element include ::Comparable extend T::Generic @@ -4076,107 +4076,107 @@ class Spoom::Poset::Element # @return [Element] a new instance of Element # - # source://spoom//lib/spoom/poset.rb#145 + # pkg:gem/spoom#lib/spoom/poset.rb:145 sig { params(value: E).void } def initialize(value); end - # source://spoom//lib/spoom/poset.rb#154 + # pkg:gem/spoom#lib/spoom/poset.rb:154 sig { params(other: T.untyped).returns(T.nilable(::Integer)) } def <=>(other); end # Direct and indirect ancestors of this element # - # source://spoom//lib/spoom/poset.rb#173 + # pkg:gem/spoom#lib/spoom/poset.rb:173 sig { returns(T::Array[E]) } def ancestors; end # Direct children of this element # - # source://spoom//lib/spoom/poset.rb#179 + # pkg:gem/spoom#lib/spoom/poset.rb:179 sig { returns(T::Array[E]) } def children; end # Direct and indirect descendants of this element # - # source://spoom//lib/spoom/poset.rb#185 + # pkg:gem/spoom#lib/spoom/poset.rb:185 sig { returns(T::Array[E]) } def descendants; end # Edges (direct and indirect) from this element to other elements in the same POSet # - # source://spoom//lib/spoom/poset.rb#142 + # pkg:gem/spoom#lib/spoom/poset.rb:142 def dfroms; end # Edges (direct and indirect) from this element to other elements in the same POSet # - # source://spoom//lib/spoom/poset.rb#142 + # pkg:gem/spoom#lib/spoom/poset.rb:142 sig { returns(T::Set[Spoom::Poset::Element[E]]) } def dtos; end # Edges (direct and indirect) from this element to other elements in the same POSet # - # source://spoom//lib/spoom/poset.rb#142 + # pkg:gem/spoom#lib/spoom/poset.rb:142 def froms; end # Direct parents of this element # - # source://spoom//lib/spoom/poset.rb#167 + # pkg:gem/spoom#lib/spoom/poset.rb:167 sig { returns(T::Array[E]) } def parents; end # Edges (direct and indirect) from this element to other elements in the same POSet # - # source://spoom//lib/spoom/poset.rb#142 + # pkg:gem/spoom#lib/spoom/poset.rb:142 def tos; end # The value held by this element # - # source://spoom//lib/spoom/poset.rb#138 + # pkg:gem/spoom#lib/spoom/poset.rb:138 sig { returns(E) } def value; end end -# source://spoom//lib/spoom/poset.rb#11 +# pkg:gem/spoom#lib/spoom/poset.rb:11 class Spoom::Poset::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/printer.rb#7 +# pkg:gem/spoom#lib/spoom/printer.rb:7 class Spoom::Printer include ::Spoom::Colorize # @return [Printer] a new instance of Printer # - # source://spoom//lib/spoom/printer.rb#14 + # pkg:gem/spoom#lib/spoom/printer.rb:14 sig { params(out: T.any(::IO, ::StringIO), colors: T::Boolean, indent_level: ::Integer).void } def initialize(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil)); end # Colorize `string` with color if `@colors` # - # source://spoom//lib/spoom/printer.rb#75 + # pkg:gem/spoom#lib/spoom/printer.rb:75 sig { params(string: ::String, color: ::Spoom::Color).returns(::String) } def colorize(string, *color); end # Decrease indent level # - # source://spoom//lib/spoom/printer.rb#28 + # pkg:gem/spoom#lib/spoom/printer.rb:28 sig { void } def dedent; end # Increase indent level # - # source://spoom//lib/spoom/printer.rb#22 + # pkg:gem/spoom#lib/spoom/printer.rb:22 sig { void } def indent; end - # source://spoom//lib/spoom/printer.rb#11 + # pkg:gem/spoom#lib/spoom/printer.rb:11 sig { returns(T.any(::IO, ::StringIO)) } def out; end - # source://spoom//lib/spoom/printer.rb#11 + # pkg:gem/spoom#lib/spoom/printer.rb:11 def out=(_arg0); end # Print `string` into `out` # - # source://spoom//lib/spoom/printer.rb#34 + # pkg:gem/spoom#lib/spoom/printer.rb:34 sig { params(string: T.nilable(::String)).void } def print(string); end @@ -4184,106 +4184,106 @@ class Spoom::Printer # # Does not use colors unless `@colors`. # - # source://spoom//lib/spoom/printer.rb#44 + # pkg:gem/spoom#lib/spoom/printer.rb:44 sig { params(string: T.nilable(::String), color: ::Spoom::Color).void } def print_colored(string, *color); end # Print `string` with indent and newline # - # source://spoom//lib/spoom/printer.rb#59 + # pkg:gem/spoom#lib/spoom/printer.rb:59 sig { params(string: T.nilable(::String)).void } def printl(string); end # Print a new line into `out` # - # source://spoom//lib/spoom/printer.rb#53 + # pkg:gem/spoom#lib/spoom/printer.rb:53 sig { void } def printn; end # Print an indent space into `out` # - # source://spoom//lib/spoom/printer.rb#69 + # pkg:gem/spoom#lib/spoom/printer.rb:69 sig { void } def printt; end end -# source://spoom//lib/spoom/rbs.rb#5 +# pkg:gem/spoom#lib/spoom/rbs.rb:5 module Spoom::RBS; end -# source://spoom//lib/spoom/rbs.rb#71 +# pkg:gem/spoom#lib/spoom/rbs.rb:71 class Spoom::RBS::Annotation < ::Spoom::RBS::Comment; end -# source://spoom//lib/spoom/rbs.rb#57 +# pkg:gem/spoom#lib/spoom/rbs.rb:57 class Spoom::RBS::Comment # @return [Comment] a new instance of Comment # - # source://spoom//lib/spoom/rbs.rb#65 + # pkg:gem/spoom#lib/spoom/rbs.rb:65 sig { params(string: ::String, location: ::Prism::Location).void } def initialize(string, location); end - # source://spoom//lib/spoom/rbs.rb#62 + # pkg:gem/spoom#lib/spoom/rbs.rb:62 sig { returns(::Prism::Location) } def location; end - # source://spoom//lib/spoom/rbs.rb#59 + # pkg:gem/spoom#lib/spoom/rbs.rb:59 sig { returns(::String) } def string; end end -# source://spoom//lib/spoom/rbs.rb#6 +# pkg:gem/spoom#lib/spoom/rbs.rb:6 class Spoom::RBS::Comments # @return [Comments] a new instance of Comments # - # source://spoom//lib/spoom/rbs.rb#14 + # pkg:gem/spoom#lib/spoom/rbs.rb:14 sig { void } def initialize; end - # source://spoom//lib/spoom/rbs.rb#8 + # pkg:gem/spoom#lib/spoom/rbs.rb:8 sig { returns(T::Array[::Spoom::RBS::Annotation]) } def annotations; end - # source://spoom//lib/spoom/rbs.rb#25 + # pkg:gem/spoom#lib/spoom/rbs.rb:25 sig { returns(T::Array[::Spoom::RBS::Annotation]) } def class_annotations; end # @return [Boolean] # - # source://spoom//lib/spoom/rbs.rb#20 + # pkg:gem/spoom#lib/spoom/rbs.rb:20 sig { returns(T::Boolean) } def empty?; end - # source://spoom//lib/spoom/rbs.rb#39 + # pkg:gem/spoom#lib/spoom/rbs.rb:39 sig { returns(T::Array[::Spoom::RBS::Annotation]) } def method_annotations; end - # source://spoom//lib/spoom/rbs.rb#11 + # pkg:gem/spoom#lib/spoom/rbs.rb:11 sig { returns(T::Array[::Spoom::RBS::Signature]) } def signatures; end end -# source://spoom//lib/spoom/rbs.rb#75 +# pkg:gem/spoom#lib/spoom/rbs.rb:75 module Spoom::RBS::ExtractRBSComments - # source://spoom//lib/spoom/rbs.rb#77 + # pkg:gem/spoom#lib/spoom/rbs.rb:77 sig { params(node: ::Prism::Node).returns(::Spoom::RBS::Comments) } def node_rbs_comments(node); end end -# source://spoom//lib/spoom/rbs.rb#72 +# pkg:gem/spoom#lib/spoom/rbs.rb:72 class Spoom::RBS::Signature < ::Spoom::RBS::Comment; end -# source://spoom//lib/spoom/rbs.rb#73 +# pkg:gem/spoom#lib/spoom/rbs.rb:73 class Spoom::RBS::TypeAlias < ::Spoom::RBS::Comment; end -# source://spoom//lib/spoom.rb#8 +# pkg:gem/spoom#lib/spoom.rb:8 Spoom::SPOOM_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/config.rb#5 +# pkg:gem/spoom#lib/spoom/sorbet/config.rb:5 module Spoom::Sorbet; end -# source://spoom//lib/spoom/sorbet.rb#33 +# pkg:gem/spoom#lib/spoom/sorbet.rb:33 Spoom::Sorbet::BIN_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#30 +# pkg:gem/spoom#lib/spoom/sorbet.rb:30 Spoom::Sorbet::CONFIG_PATH = T.let(T.unsafe(nil), String) # Parse Sorbet config files @@ -4307,35 +4307,35 @@ Spoom::Sorbet::CONFIG_PATH = T.let(T.unsafe(nil), String) # puts config.ignore # "c" # ``` # -# source://spoom//lib/spoom/sorbet/config.rb#26 +# pkg:gem/spoom#lib/spoom/sorbet/config.rb:26 class Spoom::Sorbet::Config # @return [Config] a new instance of Config # - # source://spoom//lib/spoom/sorbet/config.rb#36 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:36 sig { void } def initialize; end - # source://spoom//lib/spoom/sorbet/config.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:30 def allowed_extensions; end - # source://spoom//lib/spoom/sorbet/config.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:30 def allowed_extensions=(_arg0); end - # source://spoom//lib/spoom/sorbet/config.rb#44 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:44 sig { returns(::Spoom::Sorbet::Config) } def copy; end - # source://spoom//lib/spoom/sorbet/config.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:30 def ignore; end - # source://spoom//lib/spoom/sorbet/config.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:30 def ignore=(_arg0); end - # source://spoom//lib/spoom/sorbet/config.rb#33 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:33 sig { returns(T::Boolean) } def no_stdlib; end - # source://spoom//lib/spoom/sorbet/config.rb#33 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:33 def no_stdlib=(_arg0); end # Returns self as a string of options that can be passed to Sorbet @@ -4351,79 +4351,79 @@ class Spoom::Sorbet::Config # puts config.options_string # "/foo /bar --ignore /baz --allowed-extension .rb" # ~~~ # - # source://spoom//lib/spoom/sorbet/config.rb#66 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:66 sig { returns(::String) } def options_string; end - # source://spoom//lib/spoom/sorbet/config.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:30 sig { returns(T::Array[::String]) } def paths; end - # source://spoom//lib/spoom/sorbet/config.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:30 def paths=(_arg0); end class << self - # source://spoom//lib/spoom/sorbet/config.rb#77 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:77 sig { params(sorbet_config_path: ::String).returns(::Spoom::Sorbet::Config) } def parse_file(sorbet_config_path); end - # source://spoom//lib/spoom/sorbet/config.rb#82 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:82 sig { params(sorbet_config: ::String).returns(::Spoom::Sorbet::Config) } def parse_string(sorbet_config); end private - # source://spoom//lib/spoom/sorbet/config.rb#143 + # pkg:gem/spoom#lib/spoom/sorbet/config.rb:143 sig { params(line: ::String).returns(::String) } def parse_option(line); end end end -# source://spoom//lib/spoom/sorbet/config.rb#27 +# pkg:gem/spoom#lib/spoom/sorbet/config.rb:27 Spoom::Sorbet::Config::DEFAULT_ALLOWED_EXTENSIONS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/sorbet.rb#15 +# pkg:gem/spoom#lib/spoom/sorbet.rb:15 class Spoom::Sorbet::Error < ::Spoom::Error # @return [Error] a new instance of Error # - # source://spoom//lib/spoom/sorbet.rb#23 + # pkg:gem/spoom#lib/spoom/sorbet.rb:23 sig { params(message: ::String, result: ::Spoom::ExecResult).void } def initialize(message, result); end - # source://spoom//lib/spoom/sorbet.rb#20 + # pkg:gem/spoom#lib/spoom/sorbet.rb:20 sig { returns(::Spoom::ExecResult) } def result; end end -# source://spoom//lib/spoom/sorbet.rb#16 +# pkg:gem/spoom#lib/spoom/sorbet.rb:16 class Spoom::Sorbet::Error::Killed < ::Spoom::Sorbet::Error; end -# source://spoom//lib/spoom/sorbet.rb#17 +# pkg:gem/spoom#lib/spoom/sorbet.rb:17 class Spoom::Sorbet::Error::Segfault < ::Spoom::Sorbet::Error; end -# source://spoom//lib/spoom/sorbet/errors.rb#8 +# pkg:gem/spoom#lib/spoom/sorbet/errors.rb:8 module Spoom::Sorbet::Errors class << self - # source://spoom//lib/spoom/sorbet/errors.rb#13 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:13 sig { params(errors: T::Array[::Spoom::Sorbet::Errors::Error]).returns(T::Array[::Spoom::Sorbet::Errors::Error]) } def sort_errors_by_code(errors); end - # source://spoom//lib/spoom/sorbet/errors.rb#18 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:18 sig { params(errors: T::Array[::Spoom::Sorbet::Errors::Error]).returns(::REXML::Document) } def to_junit_xml(errors); end end end -# source://spoom//lib/spoom/sorbet/errors.rb#9 +# pkg:gem/spoom#lib/spoom/sorbet/errors.rb:9 Spoom::Sorbet::Errors::DEFAULT_ERROR_URL_BASE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/errors.rb#149 +# pkg:gem/spoom#lib/spoom/sorbet/errors.rb:149 class Spoom::Sorbet::Errors::Error include ::Comparable # @return [Error] a new instance of Error # - # source://spoom//lib/spoom/sorbet/errors.rb#166 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:166 sig do params( file: T.nilable(::String), @@ -4437,54 +4437,54 @@ class Spoom::Sorbet::Errors::Error # By default errors are sorted by location # - # source://spoom//lib/spoom/sorbet/errors.rb#177 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:177 sig { params(other: T.untyped).returns(::Integer) } def <=>(other); end - # source://spoom//lib/spoom/sorbet/errors.rb#156 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:156 def code; end - # source://spoom//lib/spoom/sorbet/errors.rb#153 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:153 sig { returns(T.nilable(::String)) } def file; end # Other files associated with the error # - # source://spoom//lib/spoom/sorbet/errors.rb#163 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:163 sig { returns(T::Set[::String]) } def files_from_error_sections; end - # source://spoom//lib/spoom/sorbet/errors.rb#156 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:156 sig { returns(T.nilable(::Integer)) } def line; end - # source://spoom//lib/spoom/sorbet/errors.rb#153 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:153 def message; end - # source://spoom//lib/spoom/sorbet/errors.rb#159 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:159 sig { returns(T::Array[::String]) } def more; end - # source://spoom//lib/spoom/sorbet/errors.rb#189 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:189 sig { returns(::REXML::Element) } def to_junit_xml_element; end - # source://spoom//lib/spoom/sorbet/errors.rb#184 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:184 sig { returns(::String) } def to_s; end end # Parse errors from Sorbet output # -# source://spoom//lib/spoom/sorbet/errors.rb#47 +# pkg:gem/spoom#lib/spoom/sorbet/errors.rb:47 class Spoom::Sorbet::Errors::Parser # @return [Parser] a new instance of Parser # - # source://spoom//lib/spoom/sorbet/errors.rb#67 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:67 sig { params(error_url_base: ::String).void } def initialize(error_url_base: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/errors.rb#74 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:74 sig { params(output: ::String).returns(T::Array[::Spoom::Sorbet::Errors::Error]) } def parse(output); end @@ -4492,56 +4492,56 @@ class Spoom::Sorbet::Errors::Parser # @raise [ParseError] # - # source://spoom//lib/spoom/sorbet/errors.rb#138 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:138 sig { params(line: ::String).void } def append_error(line); end # @raise [ParseError] # - # source://spoom//lib/spoom/sorbet/errors.rb#130 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:130 sig { void } def close_error; end - # source://spoom//lib/spoom/sorbet/errors.rb#97 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:97 sig { params(error_url_base: ::String).returns(::Regexp) } def error_line_match_regexp(error_url_base); end - # source://spoom//lib/spoom/sorbet/errors.rb#114 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:114 sig { params(line: ::String).returns(T.nilable(::Spoom::Sorbet::Errors::Error)) } def match_error_line(line); end # @raise [ParseError] # - # source://spoom//lib/spoom/sorbet/errors.rb#123 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:123 sig { params(error: ::Spoom::Sorbet::Errors::Error).void } def open_error(error); end class << self - # source://spoom//lib/spoom/sorbet/errors.rb#60 + # pkg:gem/spoom#lib/spoom/sorbet/errors.rb:60 sig { params(output: ::String, error_url_base: ::String).returns(T::Array[::Spoom::Sorbet::Errors::Error]) } def parse_string(output, error_url_base: T.unsafe(nil)); end end end -# source://spoom//lib/spoom/sorbet/errors.rb#50 +# pkg:gem/spoom#lib/spoom/sorbet/errors.rb:50 Spoom::Sorbet::Errors::Parser::HEADER = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/sorbet/errors.rb#48 +# pkg:gem/spoom#lib/spoom/sorbet/errors.rb:48 class Spoom::Sorbet::Errors::Parser::ParseError < ::Spoom::Error; end -# source://spoom//lib/spoom/sorbet.rb#31 +# pkg:gem/spoom#lib/spoom/sorbet.rb:31 Spoom::Sorbet::GEM_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#32 +# pkg:gem/spoom#lib/spoom/sorbet.rb:32 Spoom::Sorbet::GEM_VERSION = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#35 +# pkg:gem/spoom#lib/spoom/sorbet.rb:35 Spoom::Sorbet::KILLED_CODE = T.let(T.unsafe(nil), Integer) -# source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#6 +# pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:6 module Spoom::Sorbet::Metrics class << self - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#9 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:9 sig { params(files: T::Array[::String]).returns(Spoom::Counters) } def collect_code_metrics(files); end end @@ -4557,55 +4557,55 @@ end # On the other hand, the metrics file is a snapshot of the metrics at type checking time and knows about # is calls are typed, how many assertions are done, etc. # -# source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#34 +# pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:34 class Spoom::Sorbet::Metrics::CodeMetricsVisitor < ::Spoom::Visitor include ::Spoom::RBS::ExtractRBSComments # @return [CodeMetricsVisitor] a new instance of CodeMetricsVisitor # - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#38 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:38 sig { params(counters: Spoom::Counters).void } def initialize(counters); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#49 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:49 sig { override.params(node: T.nilable(::Prism::Node)).void } def visit(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#124 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:124 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#75 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:75 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#99 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:99 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#83 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:83 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#91 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:91 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end private - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#213 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:213 sig { returns(T::Array[::Prism::CallNode]) } def collect_last_srb_sigs; end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#220 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:220 sig { params(node: T.any(::Prism::ClassNode, ::Prism::ModuleNode, ::Prism::SingletonClassNode)).returns(::String) } def node_key(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#167 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:167 sig { params(node: ::Prism::CallNode).void } def visit_attr_accessor(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#151 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:151 sig do params( node: T.any(::Prism::ClassNode, ::Prism::ModuleNode, ::Prism::SingletonClassNode), @@ -4614,75 +4614,75 @@ class Spoom::Sorbet::Metrics::CodeMetricsVisitor < ::Spoom::Visitor end def visit_scope(node, &block); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#187 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:187 sig { params(node: ::Prism::CallNode).void } def visit_sig(node); end - # source://spoom//lib/spoom/sorbet/metrics/code_metrics_visitor.rb#197 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/code_metrics_visitor.rb:197 sig { params(node: ::Prism::CallNode).void } def visit_type_member(node); end end -# source://spoom//lib/spoom/sorbet/metrics/metrics_file_parser.rb#9 +# pkg:gem/spoom#lib/spoom/sorbet/metrics/metrics_file_parser.rb:9 module Spoom::Sorbet::Metrics::MetricsFileParser class << self - # source://spoom//lib/spoom/sorbet/metrics/metrics_file_parser.rb#14 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/metrics_file_parser.rb:14 sig { params(path: ::String, prefix: ::String).returns(T::Hash[::String, ::Integer]) } def parse_file(path, prefix = T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/metrics/metrics_file_parser.rb#24 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/metrics_file_parser.rb:24 sig { params(obj: T::Hash[::String, T.untyped], prefix: ::String).returns(Spoom::Counters) } def parse_hash(obj, prefix = T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/metrics/metrics_file_parser.rb#19 + # pkg:gem/spoom#lib/spoom/sorbet/metrics/metrics_file_parser.rb:19 sig { params(string: ::String, prefix: ::String).returns(T::Hash[::String, ::Integer]) } def parse_string(string, prefix = T.unsafe(nil)); end end end -# source://spoom//lib/spoom/sorbet/metrics/metrics_file_parser.rb#10 +# pkg:gem/spoom#lib/spoom/sorbet/metrics/metrics_file_parser.rb:10 Spoom::Sorbet::Metrics::MetricsFileParser::DEFAULT_PREFIX = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#36 +# pkg:gem/spoom#lib/spoom/sorbet.rb:36 Spoom::Sorbet::SEGFAULT_CODE = T.let(T.unsafe(nil), Integer) -# source://spoom//lib/spoom/sorbet/sigils.rb#9 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:9 module Spoom::Sorbet::Sigils class << self # changes the sigil in the file at the passed path to the specified new strictness # - # source://spoom//lib/spoom/sorbet/sigils.rb#65 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:65 sig { params(path: T.any(::Pathname, ::String), new_strictness: ::String).returns(T::Boolean) } def change_sigil_in_file(path, new_strictness); end # changes the sigil to have a new strictness in a list of files # - # source://spoom//lib/spoom/sorbet/sigils.rb#76 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:76 sig { params(path_list: T::Array[::String], new_strictness: ::String).returns(T::Array[::String]) } def change_sigil_in_files(path_list, new_strictness); end # returns a string containing the strictness of a sigil in a file at the passed path # * returns nil if no sigil # - # source://spoom//lib/spoom/sorbet/sigils.rb#56 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:56 sig { params(path: T.any(::Pathname, ::String)).returns(T.nilable(::String)) } def file_strictness(path); end # returns the full sigil comment string for the passed strictness # - # source://spoom//lib/spoom/sorbet/sigils.rb#31 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:31 sig { params(strictness: ::String).returns(::String) } def sigil_string(strictness); end # returns the strictness of a sigil in the passed file content string (nil if no sigil) # - # source://spoom//lib/spoom/sorbet/sigils.rb#43 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:43 sig { params(content: ::String).returns(T.nilable(::String)) } def strictness_in_content(content); end # returns a string which is the passed content but with the sigil updated to a new strictness # - # source://spoom//lib/spoom/sorbet/sigils.rb#49 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:49 sig { params(content: ::String, new_strictness: ::String).returns(::String) } def update_sigil(content, new_strictness); end @@ -4690,50 +4690,50 @@ module Spoom::Sorbet::Sigils # # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/sigils.rb#37 + # pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:37 sig { params(strictness: ::String).returns(T::Boolean) } def valid_strictness?(strictness); end end end -# source://spoom//lib/spoom/sorbet/sigils.rb#26 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:26 Spoom::Sorbet::Sigils::SIGIL_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://spoom//lib/spoom/sorbet/sigils.rb#11 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:11 Spoom::Sorbet::Sigils::STRICTNESS_FALSE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#10 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:10 Spoom::Sorbet::Sigils::STRICTNESS_IGNORE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#15 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:15 Spoom::Sorbet::Sigils::STRICTNESS_INTERNAL = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#13 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:13 Spoom::Sorbet::Sigils::STRICTNESS_STRICT = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#14 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:14 Spoom::Sorbet::Sigils::STRICTNESS_STRONG = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#12 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:12 Spoom::Sorbet::Sigils::STRICTNESS_TRUE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#17 +# pkg:gem/spoom#lib/spoom/sorbet/sigils.rb:17 Spoom::Sorbet::Sigils::VALID_STRICTNESS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/sorbet/translate/translator.rb#6 +# pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:6 module Spoom::Sorbet::Translate class << self # Converts all the RBS comments in the given Ruby code to `sig` nodes. # It also handles type members and class annotations. # - # source://spoom//lib/spoom/sorbet/translate.rb#57 + # pkg:gem/spoom#lib/spoom/sorbet/translate.rb:57 sig { params(ruby_contents: ::String, file: ::String, max_line_length: T.nilable(::Integer)).returns(::String) } def rbs_comments_to_sorbet_sigs(ruby_contents, file:, max_line_length: T.unsafe(nil)); end # Converts all `T.let` and `T.cast` nodes to RBS comments in the given Ruby code. # It also handles type members and class annotations. # - # source://spoom//lib/spoom/sorbet/translate.rb#72 + # pkg:gem/spoom#lib/spoom/sorbet/translate.rb:72 sig do params( ruby_contents: ::String, @@ -4750,7 +4750,7 @@ module Spoom::Sorbet::Translate # Converts all `sig` nodes to RBS comments in the given Ruby code. # It also handles type members and class annotations. # - # source://spoom//lib/spoom/sorbet/translate.rb#37 + # pkg:gem/spoom#lib/spoom/sorbet/translate.rb:37 sig do params( ruby_contents: ::String, @@ -4767,46 +4767,46 @@ module Spoom::Sorbet::Translate # Deletes all `sig` nodes from the given Ruby code. # It doesn't handle type members and class annotations. # - # source://spoom//lib/spoom/sorbet/translate.rb#22 + # pkg:gem/spoom#lib/spoom/sorbet/translate.rb:22 sig { params(ruby_contents: ::String, file: ::String).returns(::String) } def strip_sorbet_sigs(ruby_contents, file:); end end end -# source://spoom//lib/spoom/sorbet/translate.rb#16 +# pkg:gem/spoom#lib/spoom/sorbet/translate.rb:16 class Spoom::Sorbet::Translate::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#7 +# pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:7 class Spoom::Sorbet::Translate::RBSCommentsToSorbetSigs < ::Spoom::Sorbet::Translate::Translator include ::Spoom::RBS::ExtractRBSComments # @return [RBSCommentsToSorbetSigs] a new instance of RBSCommentsToSorbetSigs # - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#11 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:11 sig { params(ruby_contents: ::String, file: ::String, max_line_length: T.nilable(::Integer)).void } def initialize(ruby_contents, file:, max_line_length: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#59 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:59 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#29 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:29 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#53 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:53 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#37 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:37 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#19 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:19 sig { override.params(node: ::Prism::ProgramNode).void } def visit_program_node(node); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#45 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:45 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end @@ -4814,7 +4814,7 @@ class Spoom::Sorbet::Translate::RBSCommentsToSorbetSigs < ::Spoom::Sorbet::Trans # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#273 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:273 sig do params( node: T.any(::Prism::ClassNode, ::Prism::ModuleNode, ::Prism::SingletonClassNode), @@ -4823,38 +4823,38 @@ class Spoom::Sorbet::Translate::RBSCommentsToSorbetSigs < ::Spoom::Sorbet::Trans end def already_extends?(node, constant_regex); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#151 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:151 sig { params(node: T.any(::Prism::ClassNode, ::Prism::ModuleNode, ::Prism::SingletonClassNode)).void } def apply_class_annotations(node); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#249 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:249 sig { params(annotations: T::Array[::Spoom::RBS::Annotation], sig: ::RBI::Sig).void } def apply_member_annotations(annotations, sig); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#325 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:325 sig { params(comments: T::Array[::Prism::Comment]).void } def apply_type_aliases(comments); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#289 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:289 sig { params(comments: T::Array[::Prism::Comment]).returns(T::Array[::Spoom::RBS::TypeAlias]) } def collect_type_aliases(comments); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#115 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:115 sig { params(def_node: ::Prism::DefNode, comments: ::Spoom::RBS::Comments).void } def rewrite_def(def_node, comments); end - # source://spoom//lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb#77 + # pkg:gem/spoom#lib/spoom/sorbet/translate/rbs_comments_to_sorbet_sigs.rb:77 sig { params(node: ::Prism::CallNode).void } def visit_attr(node); end end # Translates Sorbet assertions to RBS comments. # -# source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#8 +# pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:8 class Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments < ::Spoom::Sorbet::Translate::Translator # @return [SorbetAssertionsToRBSComments] a new instance of SorbetAssertionsToRBSComments # - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#20 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:20 sig do params( ruby_contents: ::String, @@ -4868,11 +4868,11 @@ class Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments < ::Spoom::Sorbet: end def initialize(ruby_contents, file:, translate_t_let: T.unsafe(nil), translate_t_cast: T.unsafe(nil), translate_t_bind: T.unsafe(nil), translate_t_must: T.unsafe(nil), translate_t_unsafe: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#49 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:49 sig { override.params(node: ::Prism::IfNode).void } def visit_if_node(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#40 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:40 sig { override.params(node: ::Prism::StatementsNode).void } def visit_statements_node(node); end @@ -4880,22 +4880,22 @@ class Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments < ::Spoom::Sorbet: # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#176 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:176 sig { params(node: ::Prism::Node).returns(T::Boolean) } def at_end_of_line?(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#118 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:118 sig { params(call: ::Prism::CallNode).returns(::String) } def build_rbs_annotation(call); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#216 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:216 sig { params(assign: ::Prism::Node, value: ::Prism::Node).returns(::String) } def dedent_value(assign, value); end # Extract any trailing comment after the node # Returns [comment_text, comment_end_offset] or [nil, nil] if no comment or RBS annotation # - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#196 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:196 sig { params(node: ::Prism::Node).returns([T.nilable(::String), T.nilable(::Integer)]) } def extract_trailing_comment(node); end @@ -4903,11 +4903,11 @@ class Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments < ::Spoom::Sorbet: # # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#185 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:185 sig { params(node: ::Prism::Node).returns(T::Boolean) } def has_rbs_annotation?(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#71 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:71 sig { params(node: ::Prism::Node).returns(T::Boolean) } def maybe_translate_assertion(node); end @@ -4915,7 +4915,7 @@ class Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments < ::Spoom::Sorbet: # # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#143 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:143 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t?(node); end @@ -4923,22 +4923,22 @@ class Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments < ::Spoom::Sorbet: # # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#156 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:156 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def translatable_annotation?(node); end end -# source://spoom//lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb#9 +# pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_assertions_to_rbs_comments.rb:9 Spoom::Sorbet::Translate::SorbetAssertionsToRBSComments::LINE_BREAK = T.let(T.unsafe(nil), Integer) # Converts all `sig` nodes to RBS comments in the given Ruby code. # It also handles type members and class annotations. # -# source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#9 +# pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:9 class Spoom::Sorbet::Translate::SorbetSigsToRBSComments < ::Spoom::Sorbet::Translate::Translator # @return [SorbetSigsToRBSComments] a new instance of SorbetSigsToRBSComments # - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#19 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:19 sig do params( ruby_contents: ::String, @@ -4952,33 +4952,33 @@ class Spoom::Sorbet::Translate::SorbetSigsToRBSComments < ::Spoom::Sorbet::Trans end def initialize(ruby_contents, file:, positional_names:, max_line_length: T.unsafe(nil), translate_generics: T.unsafe(nil), translate_helpers: T.unsafe(nil), translate_abstract_methods: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#100 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:100 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#46 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:46 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#119 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:119 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#64 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:64 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#52 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:52 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#58 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:58 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end private - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#233 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:233 sig do params( parent: T.any(::Prism::ClassNode, ::Prism::ModuleNode, ::Prism::SingletonClassNode), @@ -4987,45 +4987,45 @@ class Spoom::Sorbet::Translate::SorbetSigsToRBSComments < ::Spoom::Sorbet::Trans end def apply_class_annotation(parent, node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#277 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:277 sig { params(sigs: T::Array[[::Prism::CallNode, ::RBI::Sig]]).void } def apply_member_annotations(sigs); end # @raise [Error] # - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#313 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:313 sig { params(node: ::Prism::ConstantWriteNode).returns(::String) } def build_type_member_string(node); end # Collects the last signatures visited and clears the current list # - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#384 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:384 sig { returns(T::Array[[::Prism::CallNode, ::RBI::Sig]]) } def collect_last_sigs; end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#371 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:371 sig { void } def delete_extend_t_generics; end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#359 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:359 sig { void } def delete_extend_t_helpers; end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#391 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:391 sig { params(indent: ::Integer, block: T.proc.params(arg0: ::RBI::RBSPrinter).void).returns(::String) } def rbs_print(indent, &block); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#191 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:191 sig { params(node: ::Prism::CallNode).void } def visit_attr(node); end # @raise [Error] # - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#215 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:215 sig { params(node: ::Prism::CallNode).void } def visit_extend(node); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#138 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:138 sig do params( node: T.any(::Prism::ClassNode, ::Prism::ModuleNode, ::Prism::SingletonClassNode), @@ -5034,7 +5034,7 @@ class Spoom::Sorbet::Translate::SorbetSigsToRBSComments < ::Spoom::Sorbet::Trans end def visit_scope(node, &block); end - # source://spoom//lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb#179 + # pkg:gem/spoom#lib/spoom/sorbet/translate/sorbet_sigs_to_rbs_comments.rb:179 sig { params(node: ::Prism::CallNode).void } def visit_sig(node); end end @@ -5042,48 +5042,48 @@ end # Deletes all `sig` nodes from the given Ruby code. # It doesn't handle type members and class annotations. # -# source://spoom//lib/spoom/sorbet/translate/strip_sorbet_sigs.rb#9 +# pkg:gem/spoom#lib/spoom/sorbet/translate/strip_sorbet_sigs.rb:9 class Spoom::Sorbet::Translate::StripSorbetSigs < ::Spoom::Sorbet::Translate::Translator - # source://spoom//lib/spoom/sorbet/translate/strip_sorbet_sigs.rb#12 + # pkg:gem/spoom#lib/spoom/sorbet/translate/strip_sorbet_sigs.rb:12 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end end # @abstract # -# source://spoom//lib/spoom/sorbet/translate/translator.rb#8 +# pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:8 class Spoom::Sorbet::Translate::Translator < ::Spoom::Visitor abstract! # @return [Translator] a new instance of Translator # - # source://spoom//lib/spoom/sorbet/translate/translator.rb#10 + # pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:10 sig { params(ruby_contents: ::String, file: ::String).void } def initialize(ruby_contents, file:); end - # source://spoom//lib/spoom/sorbet/translate/translator.rb#30 + # pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:30 sig { returns(::String) } def rewrite; end private - # source://spoom//lib/spoom/sorbet/translate/translator.rb#55 + # pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:55 sig { params(offset: ::Integer).returns(::Integer) } def adjust_to_line_end(offset); end - # source://spoom//lib/spoom/sorbet/translate/translator.rb#49 + # pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:49 sig { params(offset: ::Integer).returns(::Integer) } def adjust_to_line_start(offset); end # Consume the next blank line if any # - # source://spoom//lib/spoom/sorbet/translate/translator.rb#62 + # pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:62 sig { params(offset: ::Integer).returns(::Integer) } def adjust_to_new_line(offset); end # @return [Boolean] # - # source://spoom//lib/spoom/sorbet/translate/translator.rb#39 + # pkg:gem/spoom#lib/spoom/sorbet/translate/translator.rb:39 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def sorbet_sig?(node); end end @@ -5109,770 +5109,770 @@ end # puts bytes.pack("C*") # => "def bar; end\ndef baz; end" # ``` # -# source://spoom//lib/spoom/source/rewriter.rb#25 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:25 module Spoom::Source; end -# source://spoom//lib/spoom/source/rewriter.rb#114 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:114 class Spoom::Source::Delete < ::Spoom::Source::Edit # @return [Delete] a new instance of Delete # - # source://spoom//lib/spoom/source/rewriter.rb#119 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:119 sig { params(from: ::Integer, to: ::Integer).void } def initialize(from, to); end # @raise [PositionError] # - # source://spoom//lib/spoom/source/rewriter.rb#128 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:128 sig { override.params(bytes: T::Array[T.untyped]).void } def apply(bytes); end - # source://spoom//lib/spoom/source/rewriter.rb#116 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:116 sig { returns(::Integer) } def from; end - # source://spoom//lib/spoom/source/rewriter.rb#137 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:137 sig { override.returns([::Integer, ::Integer]) } def range; end - # source://spoom//lib/spoom/source/rewriter.rb#116 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:116 def to; end - # source://spoom//lib/spoom/source/rewriter.rb#143 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:143 sig { override.returns(::String) } def to_s; end end # @abstract # -# source://spoom//lib/spoom/source/rewriter.rb#29 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:29 class Spoom::Source::Edit abstract! # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/source/rewriter.rb#32 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:32 sig { abstract.params(bytes: T::Array[::Integer]).void } def apply(bytes); end # @abstract # @raise [NotImplementedError] # - # source://spoom//lib/spoom/source/rewriter.rb#36 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:36 sig { abstract.returns([::Integer, ::Integer]) } def range; end end -# source://spoom//lib/spoom/source/rewriter.rb#39 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:39 class Spoom::Source::Insert < ::Spoom::Source::Edit # @return [Insert] a new instance of Insert # - # source://spoom//lib/spoom/source/rewriter.rb#47 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:47 sig { params(position: ::Integer, text: ::String).void } def initialize(position, text); end # @raise [PositionError] # - # source://spoom//lib/spoom/source/rewriter.rb#56 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:56 sig { override.params(bytes: T::Array[::Integer]).void } def apply(bytes); end - # source://spoom//lib/spoom/source/rewriter.rb#41 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:41 sig { returns(::Integer) } def position; end - # source://spoom//lib/spoom/source/rewriter.rb#65 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:65 sig { override.returns([::Integer, ::Integer]) } def range; end - # source://spoom//lib/spoom/source/rewriter.rb#44 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:44 sig { returns(::String) } def text; end - # source://spoom//lib/spoom/source/rewriter.rb#71 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:71 sig { override.returns(::String) } def to_s; end end -# source://spoom//lib/spoom/source/rewriter.rb#26 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:26 class Spoom::Source::PositionError < ::Spoom::Error; end -# source://spoom//lib/spoom/source/rewriter.rb#76 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:76 class Spoom::Source::Replace < ::Spoom::Source::Edit # @return [Replace] a new instance of Replace # - # source://spoom//lib/spoom/source/rewriter.rb#84 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:84 sig { params(from: ::Integer, to: ::Integer, text: ::String).void } def initialize(from, to, text); end # @raise [PositionError] # - # source://spoom//lib/spoom/source/rewriter.rb#94 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:94 sig { override.params(bytes: T::Array[::Integer]).void } def apply(bytes); end - # source://spoom//lib/spoom/source/rewriter.rb#78 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:78 sig { returns(::Integer) } def from; end - # source://spoom//lib/spoom/source/rewriter.rb#103 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:103 sig { override.returns([::Integer, ::Integer]) } def range; end - # source://spoom//lib/spoom/source/rewriter.rb#81 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:81 sig { returns(::String) } def text; end - # source://spoom//lib/spoom/source/rewriter.rb#78 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:78 def to; end - # source://spoom//lib/spoom/source/rewriter.rb#109 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:109 sig { override.returns(::String) } def to_s; end end -# source://spoom//lib/spoom/source/rewriter.rb#148 +# pkg:gem/spoom#lib/spoom/source/rewriter.rb:148 class Spoom::Source::Rewriter # @return [Rewriter] a new instance of Rewriter # - # source://spoom//lib/spoom/source/rewriter.rb#150 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:150 sig { void } def initialize; end - # source://spoom//lib/spoom/source/rewriter.rb#155 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:155 sig { params(other: ::Spoom::Source::Edit).void } def <<(other); end - # source://spoom//lib/spoom/source/rewriter.rb#160 + # pkg:gem/spoom#lib/spoom/source/rewriter.rb:160 sig { params(bytes: T::Array[::Integer]).void } def rewrite!(bytes); end end -# source://spoom//lib/spoom/timeline.rb#5 +# pkg:gem/spoom#lib/spoom/timeline.rb:5 class Spoom::Timeline # @return [Timeline] a new instance of Timeline # - # source://spoom//lib/spoom/timeline.rb#7 + # pkg:gem/spoom#lib/spoom/timeline.rb:7 sig { params(context: ::Spoom::Context, from: ::Time, to: ::Time).void } def initialize(context, from, to); end # Return one commit for each date in `dates` # - # source://spoom//lib/spoom/timeline.rb#34 + # pkg:gem/spoom#lib/spoom/timeline.rb:34 sig { params(dates: T::Array[::Time]).returns(T::Array[::Spoom::Git::Commit]) } def commits_for_dates(dates); end # Return all months between `from` and `to` # - # source://spoom//lib/spoom/timeline.rb#21 + # pkg:gem/spoom#lib/spoom/timeline.rb:21 sig { returns(T::Array[::Time]) } def months; end # Return one commit for each month between `from` and `to` # - # source://spoom//lib/spoom/timeline.rb#15 + # pkg:gem/spoom#lib/spoom/timeline.rb:15 sig { returns(T::Array[::Spoom::Git::Commit]) } def ticks; end end -# source://spoom//lib/spoom/version.rb#5 +# pkg:gem/spoom#lib/spoom/version.rb:5 Spoom::VERSION = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/visitor.rb#7 +# pkg:gem/spoom#lib/spoom/visitor.rb:7 class Spoom::Visitor < ::Prism::Visitor - # source://spoom//lib/spoom/visitor.rb#16 + # pkg:gem/spoom#lib/spoom/visitor.rb:16 sig { override.params(node: ::Prism::AliasGlobalVariableNode).void } def visit_alias_global_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#22 + # pkg:gem/spoom#lib/spoom/visitor.rb:22 sig { override.params(node: ::Prism::AliasMethodNode).void } def visit_alias_method_node(node); end - # source://spoom//lib/spoom/visitor.rb#28 + # pkg:gem/spoom#lib/spoom/visitor.rb:28 sig { override.params(node: ::Prism::AlternationPatternNode).void } def visit_alternation_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#34 + # pkg:gem/spoom#lib/spoom/visitor.rb:34 sig { override.params(node: ::Prism::AndNode).void } def visit_and_node(node); end - # source://spoom//lib/spoom/visitor.rb#40 + # pkg:gem/spoom#lib/spoom/visitor.rb:40 sig { override.params(node: ::Prism::ArgumentsNode).void } def visit_arguments_node(node); end - # source://spoom//lib/spoom/visitor.rb#46 + # pkg:gem/spoom#lib/spoom/visitor.rb:46 sig { override.params(node: ::Prism::ArrayNode).void } def visit_array_node(node); end - # source://spoom//lib/spoom/visitor.rb#52 + # pkg:gem/spoom#lib/spoom/visitor.rb:52 sig { override.params(node: ::Prism::ArrayPatternNode).void } def visit_array_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#58 + # pkg:gem/spoom#lib/spoom/visitor.rb:58 sig { override.params(node: ::Prism::AssocNode).void } def visit_assoc_node(node); end - # source://spoom//lib/spoom/visitor.rb#64 + # pkg:gem/spoom#lib/spoom/visitor.rb:64 sig { override.params(node: ::Prism::AssocSplatNode).void } def visit_assoc_splat_node(node); end - # source://spoom//lib/spoom/visitor.rb#70 + # pkg:gem/spoom#lib/spoom/visitor.rb:70 sig { override.params(node: ::Prism::BackReferenceReadNode).void } def visit_back_reference_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#76 + # pkg:gem/spoom#lib/spoom/visitor.rb:76 sig { override.params(node: ::Prism::BeginNode).void } def visit_begin_node(node); end - # source://spoom//lib/spoom/visitor.rb#82 + # pkg:gem/spoom#lib/spoom/visitor.rb:82 sig { override.params(node: ::Prism::BlockArgumentNode).void } def visit_block_argument_node(node); end - # source://spoom//lib/spoom/visitor.rb#88 + # pkg:gem/spoom#lib/spoom/visitor.rb:88 sig { override.params(node: ::Prism::BlockLocalVariableNode).void } def visit_block_local_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#94 + # pkg:gem/spoom#lib/spoom/visitor.rb:94 sig { override.params(node: ::Prism::BlockNode).void } def visit_block_node(node); end - # source://spoom//lib/spoom/visitor.rb#100 + # pkg:gem/spoom#lib/spoom/visitor.rb:100 sig { override.params(node: ::Prism::BlockParameterNode).void } def visit_block_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#106 + # pkg:gem/spoom#lib/spoom/visitor.rb:106 sig { override.params(node: ::Prism::BlockParametersNode).void } def visit_block_parameters_node(node); end - # source://spoom//lib/spoom/visitor.rb#112 + # pkg:gem/spoom#lib/spoom/visitor.rb:112 sig { override.params(node: ::Prism::BreakNode).void } def visit_break_node(node); end - # source://spoom//lib/spoom/visitor.rb#118 + # pkg:gem/spoom#lib/spoom/visitor.rb:118 sig { override.params(node: ::Prism::CallAndWriteNode).void } def visit_call_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#124 + # pkg:gem/spoom#lib/spoom/visitor.rb:124 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/visitor.rb#130 + # pkg:gem/spoom#lib/spoom/visitor.rb:130 sig { override.params(node: ::Prism::CallOperatorWriteNode).void } def visit_call_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#136 + # pkg:gem/spoom#lib/spoom/visitor.rb:136 sig { override.params(node: ::Prism::CallOrWriteNode).void } def visit_call_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#142 + # pkg:gem/spoom#lib/spoom/visitor.rb:142 sig { override.params(node: ::Prism::CallTargetNode).void } def visit_call_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#148 + # pkg:gem/spoom#lib/spoom/visitor.rb:148 sig { override.params(node: ::Prism::CapturePatternNode).void } def visit_capture_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#154 + # pkg:gem/spoom#lib/spoom/visitor.rb:154 sig { override.params(node: ::Prism::CaseMatchNode).void } def visit_case_match_node(node); end - # source://spoom//lib/spoom/visitor.rb#160 + # pkg:gem/spoom#lib/spoom/visitor.rb:160 sig { override.params(node: ::Prism::CaseNode).void } def visit_case_node(node); end - # source://spoom//lib/spoom/visitor.rb#10 + # pkg:gem/spoom#lib/spoom/visitor.rb:10 sig { override.params(node: ::Prism::Node).void } def visit_child_nodes(node); end - # source://spoom//lib/spoom/visitor.rb#166 + # pkg:gem/spoom#lib/spoom/visitor.rb:166 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/visitor.rb#172 + # pkg:gem/spoom#lib/spoom/visitor.rb:172 sig { override.params(node: ::Prism::ClassVariableAndWriteNode).void } def visit_class_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#178 + # pkg:gem/spoom#lib/spoom/visitor.rb:178 sig { override.params(node: ::Prism::ClassVariableOperatorWriteNode).void } def visit_class_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#184 + # pkg:gem/spoom#lib/spoom/visitor.rb:184 sig { override.params(node: ::Prism::ClassVariableOrWriteNode).void } def visit_class_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#190 + # pkg:gem/spoom#lib/spoom/visitor.rb:190 sig { override.params(node: ::Prism::ClassVariableReadNode).void } def visit_class_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#196 + # pkg:gem/spoom#lib/spoom/visitor.rb:196 sig { override.params(node: ::Prism::ClassVariableTargetNode).void } def visit_class_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#202 + # pkg:gem/spoom#lib/spoom/visitor.rb:202 sig { override.params(node: ::Prism::ClassVariableWriteNode).void } def visit_class_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#208 + # pkg:gem/spoom#lib/spoom/visitor.rb:208 sig { override.params(node: ::Prism::ConstantAndWriteNode).void } def visit_constant_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#214 + # pkg:gem/spoom#lib/spoom/visitor.rb:214 sig { override.params(node: ::Prism::ConstantOperatorWriteNode).void } def visit_constant_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#220 + # pkg:gem/spoom#lib/spoom/visitor.rb:220 sig { override.params(node: ::Prism::ConstantOrWriteNode).void } def visit_constant_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#226 + # pkg:gem/spoom#lib/spoom/visitor.rb:226 sig { override.params(node: ::Prism::ConstantPathAndWriteNode).void } def visit_constant_path_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#232 + # pkg:gem/spoom#lib/spoom/visitor.rb:232 sig { override.params(node: ::Prism::ConstantPathNode).void } def visit_constant_path_node(node); end - # source://spoom//lib/spoom/visitor.rb#238 + # pkg:gem/spoom#lib/spoom/visitor.rb:238 sig { override.params(node: ::Prism::ConstantPathOperatorWriteNode).void } def visit_constant_path_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#244 + # pkg:gem/spoom#lib/spoom/visitor.rb:244 sig { override.params(node: ::Prism::ConstantPathOrWriteNode).void } def visit_constant_path_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#250 + # pkg:gem/spoom#lib/spoom/visitor.rb:250 sig { override.params(node: ::Prism::ConstantPathTargetNode).void } def visit_constant_path_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#256 + # pkg:gem/spoom#lib/spoom/visitor.rb:256 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#262 + # pkg:gem/spoom#lib/spoom/visitor.rb:262 sig { override.params(node: ::Prism::ConstantReadNode).void } def visit_constant_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#268 + # pkg:gem/spoom#lib/spoom/visitor.rb:268 sig { override.params(node: ::Prism::ConstantTargetNode).void } def visit_constant_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#274 + # pkg:gem/spoom#lib/spoom/visitor.rb:274 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#280 + # pkg:gem/spoom#lib/spoom/visitor.rb:280 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://spoom//lib/spoom/visitor.rb#286 + # pkg:gem/spoom#lib/spoom/visitor.rb:286 sig { override.params(node: ::Prism::DefinedNode).void } def visit_defined_node(node); end - # source://spoom//lib/spoom/visitor.rb#292 + # pkg:gem/spoom#lib/spoom/visitor.rb:292 sig { override.params(node: ::Prism::ElseNode).void } def visit_else_node(node); end - # source://spoom//lib/spoom/visitor.rb#298 + # pkg:gem/spoom#lib/spoom/visitor.rb:298 sig { override.params(node: ::Prism::EmbeddedStatementsNode).void } def visit_embedded_statements_node(node); end - # source://spoom//lib/spoom/visitor.rb#304 + # pkg:gem/spoom#lib/spoom/visitor.rb:304 sig { override.params(node: ::Prism::EmbeddedVariableNode).void } def visit_embedded_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#310 + # pkg:gem/spoom#lib/spoom/visitor.rb:310 sig { override.params(node: ::Prism::EnsureNode).void } def visit_ensure_node(node); end - # source://spoom//lib/spoom/visitor.rb#316 + # pkg:gem/spoom#lib/spoom/visitor.rb:316 sig { override.params(node: ::Prism::FalseNode).void } def visit_false_node(node); end - # source://spoom//lib/spoom/visitor.rb#322 + # pkg:gem/spoom#lib/spoom/visitor.rb:322 sig { override.params(node: ::Prism::FindPatternNode).void } def visit_find_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#328 + # pkg:gem/spoom#lib/spoom/visitor.rb:328 sig { override.params(node: ::Prism::FlipFlopNode).void } def visit_flip_flop_node(node); end - # source://spoom//lib/spoom/visitor.rb#334 + # pkg:gem/spoom#lib/spoom/visitor.rb:334 sig { override.params(node: ::Prism::FloatNode).void } def visit_float_node(node); end - # source://spoom//lib/spoom/visitor.rb#340 + # pkg:gem/spoom#lib/spoom/visitor.rb:340 sig { override.params(node: ::Prism::ForNode).void } def visit_for_node(node); end - # source://spoom//lib/spoom/visitor.rb#346 + # pkg:gem/spoom#lib/spoom/visitor.rb:346 sig { override.params(node: ::Prism::ForwardingArgumentsNode).void } def visit_forwarding_arguments_node(node); end - # source://spoom//lib/spoom/visitor.rb#352 + # pkg:gem/spoom#lib/spoom/visitor.rb:352 sig { override.params(node: ::Prism::ForwardingParameterNode).void } def visit_forwarding_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#358 + # pkg:gem/spoom#lib/spoom/visitor.rb:358 sig { override.params(node: ::Prism::ForwardingSuperNode).void } def visit_forwarding_super_node(node); end - # source://spoom//lib/spoom/visitor.rb#364 + # pkg:gem/spoom#lib/spoom/visitor.rb:364 sig { override.params(node: ::Prism::GlobalVariableAndWriteNode).void } def visit_global_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#370 + # pkg:gem/spoom#lib/spoom/visitor.rb:370 sig { override.params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def visit_global_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#376 + # pkg:gem/spoom#lib/spoom/visitor.rb:376 sig { override.params(node: ::Prism::GlobalVariableOrWriteNode).void } def visit_global_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#382 + # pkg:gem/spoom#lib/spoom/visitor.rb:382 sig { override.params(node: ::Prism::GlobalVariableReadNode).void } def visit_global_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#388 + # pkg:gem/spoom#lib/spoom/visitor.rb:388 sig { override.params(node: ::Prism::GlobalVariableTargetNode).void } def visit_global_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#394 + # pkg:gem/spoom#lib/spoom/visitor.rb:394 sig { override.params(node: ::Prism::GlobalVariableWriteNode).void } def visit_global_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#400 + # pkg:gem/spoom#lib/spoom/visitor.rb:400 sig { override.params(node: ::Prism::HashNode).void } def visit_hash_node(node); end - # source://spoom//lib/spoom/visitor.rb#406 + # pkg:gem/spoom#lib/spoom/visitor.rb:406 sig { override.params(node: ::Prism::HashPatternNode).void } def visit_hash_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#412 + # pkg:gem/spoom#lib/spoom/visitor.rb:412 sig { override.params(node: ::Prism::IfNode).void } def visit_if_node(node); end - # source://spoom//lib/spoom/visitor.rb#418 + # pkg:gem/spoom#lib/spoom/visitor.rb:418 sig { override.params(node: ::Prism::ImaginaryNode).void } def visit_imaginary_node(node); end - # source://spoom//lib/spoom/visitor.rb#424 + # pkg:gem/spoom#lib/spoom/visitor.rb:424 sig { override.params(node: ::Prism::ImplicitNode).void } def visit_implicit_node(node); end - # source://spoom//lib/spoom/visitor.rb#430 + # pkg:gem/spoom#lib/spoom/visitor.rb:430 sig { override.params(node: ::Prism::ImplicitRestNode).void } def visit_implicit_rest_node(node); end - # source://spoom//lib/spoom/visitor.rb#436 + # pkg:gem/spoom#lib/spoom/visitor.rb:436 sig { override.params(node: ::Prism::InNode).void } def visit_in_node(node); end - # source://spoom//lib/spoom/visitor.rb#442 + # pkg:gem/spoom#lib/spoom/visitor.rb:442 sig { override.params(node: ::Prism::IndexAndWriteNode).void } def visit_index_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#448 + # pkg:gem/spoom#lib/spoom/visitor.rb:448 sig { override.params(node: ::Prism::IndexOperatorWriteNode).void } def visit_index_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#454 + # pkg:gem/spoom#lib/spoom/visitor.rb:454 sig { override.params(node: ::Prism::IndexOrWriteNode).void } def visit_index_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#460 + # pkg:gem/spoom#lib/spoom/visitor.rb:460 sig { override.params(node: ::Prism::IndexTargetNode).void } def visit_index_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#466 + # pkg:gem/spoom#lib/spoom/visitor.rb:466 sig { override.params(node: ::Prism::InstanceVariableAndWriteNode).void } def visit_instance_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#472 + # pkg:gem/spoom#lib/spoom/visitor.rb:472 sig { override.params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def visit_instance_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#478 + # pkg:gem/spoom#lib/spoom/visitor.rb:478 sig { override.params(node: ::Prism::InstanceVariableOrWriteNode).void } def visit_instance_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#484 + # pkg:gem/spoom#lib/spoom/visitor.rb:484 sig { override.params(node: ::Prism::InstanceVariableReadNode).void } def visit_instance_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#490 + # pkg:gem/spoom#lib/spoom/visitor.rb:490 sig { override.params(node: ::Prism::InstanceVariableTargetNode).void } def visit_instance_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#496 + # pkg:gem/spoom#lib/spoom/visitor.rb:496 sig { override.params(node: ::Prism::InstanceVariableWriteNode).void } def visit_instance_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#502 + # pkg:gem/spoom#lib/spoom/visitor.rb:502 sig { override.params(node: ::Prism::IntegerNode).void } def visit_integer_node(node); end - # source://spoom//lib/spoom/visitor.rb#508 + # pkg:gem/spoom#lib/spoom/visitor.rb:508 sig { override.params(node: ::Prism::InterpolatedMatchLastLineNode).void } def visit_interpolated_match_last_line_node(node); end - # source://spoom//lib/spoom/visitor.rb#514 + # pkg:gem/spoom#lib/spoom/visitor.rb:514 sig { override.params(node: ::Prism::InterpolatedRegularExpressionNode).void } def visit_interpolated_regular_expression_node(node); end - # source://spoom//lib/spoom/visitor.rb#520 + # pkg:gem/spoom#lib/spoom/visitor.rb:520 sig { override.params(node: ::Prism::InterpolatedStringNode).void } def visit_interpolated_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#526 + # pkg:gem/spoom#lib/spoom/visitor.rb:526 sig { override.params(node: ::Prism::InterpolatedSymbolNode).void } def visit_interpolated_symbol_node(node); end - # source://spoom//lib/spoom/visitor.rb#532 + # pkg:gem/spoom#lib/spoom/visitor.rb:532 sig { override.params(node: ::Prism::InterpolatedXStringNode).void } def visit_interpolated_x_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#538 + # pkg:gem/spoom#lib/spoom/visitor.rb:538 sig { override.params(node: ::Prism::KeywordHashNode).void } def visit_keyword_hash_node(node); end - # source://spoom//lib/spoom/visitor.rb#544 + # pkg:gem/spoom#lib/spoom/visitor.rb:544 sig { override.params(node: ::Prism::KeywordRestParameterNode).void } def visit_keyword_rest_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#550 + # pkg:gem/spoom#lib/spoom/visitor.rb:550 sig { override.params(node: ::Prism::LambdaNode).void } def visit_lambda_node(node); end - # source://spoom//lib/spoom/visitor.rb#556 + # pkg:gem/spoom#lib/spoom/visitor.rb:556 sig { override.params(node: ::Prism::LocalVariableAndWriteNode).void } def visit_local_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#562 + # pkg:gem/spoom#lib/spoom/visitor.rb:562 sig { override.params(node: ::Prism::LocalVariableOperatorWriteNode).void } def visit_local_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#568 + # pkg:gem/spoom#lib/spoom/visitor.rb:568 sig { override.params(node: ::Prism::LocalVariableOrWriteNode).void } def visit_local_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#574 + # pkg:gem/spoom#lib/spoom/visitor.rb:574 sig { override.params(node: ::Prism::LocalVariableReadNode).void } def visit_local_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#580 + # pkg:gem/spoom#lib/spoom/visitor.rb:580 sig { override.params(node: ::Prism::LocalVariableTargetNode).void } def visit_local_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#586 + # pkg:gem/spoom#lib/spoom/visitor.rb:586 sig { override.params(node: ::Prism::LocalVariableWriteNode).void } def visit_local_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#592 + # pkg:gem/spoom#lib/spoom/visitor.rb:592 sig { override.params(node: ::Prism::MatchLastLineNode).void } def visit_match_last_line_node(node); end - # source://spoom//lib/spoom/visitor.rb#598 + # pkg:gem/spoom#lib/spoom/visitor.rb:598 sig { override.params(node: ::Prism::MatchPredicateNode).void } def visit_match_predicate_node(node); end - # source://spoom//lib/spoom/visitor.rb#604 + # pkg:gem/spoom#lib/spoom/visitor.rb:604 sig { override.params(node: ::Prism::MatchRequiredNode).void } def visit_match_required_node(node); end - # source://spoom//lib/spoom/visitor.rb#610 + # pkg:gem/spoom#lib/spoom/visitor.rb:610 sig { override.params(node: ::Prism::MatchWriteNode).void } def visit_match_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#616 + # pkg:gem/spoom#lib/spoom/visitor.rb:616 sig { override.params(node: ::Prism::MissingNode).void } def visit_missing_node(node); end - # source://spoom//lib/spoom/visitor.rb#622 + # pkg:gem/spoom#lib/spoom/visitor.rb:622 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/visitor.rb#628 + # pkg:gem/spoom#lib/spoom/visitor.rb:628 sig { override.params(node: ::Prism::MultiTargetNode).void } def visit_multi_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#634 + # pkg:gem/spoom#lib/spoom/visitor.rb:634 sig { override.params(node: ::Prism::MultiWriteNode).void } def visit_multi_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#640 + # pkg:gem/spoom#lib/spoom/visitor.rb:640 sig { override.params(node: ::Prism::NextNode).void } def visit_next_node(node); end - # source://spoom//lib/spoom/visitor.rb#646 + # pkg:gem/spoom#lib/spoom/visitor.rb:646 sig { override.params(node: ::Prism::NilNode).void } def visit_nil_node(node); end - # source://spoom//lib/spoom/visitor.rb#652 + # pkg:gem/spoom#lib/spoom/visitor.rb:652 sig { override.params(node: ::Prism::NoKeywordsParameterNode).void } def visit_no_keywords_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#658 + # pkg:gem/spoom#lib/spoom/visitor.rb:658 sig { override.params(node: ::Prism::NumberedParametersNode).void } def visit_numbered_parameters_node(node); end - # source://spoom//lib/spoom/visitor.rb#664 + # pkg:gem/spoom#lib/spoom/visitor.rb:664 sig { override.params(node: ::Prism::NumberedReferenceReadNode).void } def visit_numbered_reference_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#670 + # pkg:gem/spoom#lib/spoom/visitor.rb:670 sig { override.params(node: ::Prism::OptionalKeywordParameterNode).void } def visit_optional_keyword_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#676 + # pkg:gem/spoom#lib/spoom/visitor.rb:676 sig { override.params(node: ::Prism::OptionalParameterNode).void } def visit_optional_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#682 + # pkg:gem/spoom#lib/spoom/visitor.rb:682 sig { override.params(node: ::Prism::OrNode).void } def visit_or_node(node); end - # source://spoom//lib/spoom/visitor.rb#688 + # pkg:gem/spoom#lib/spoom/visitor.rb:688 sig { override.params(node: ::Prism::ParametersNode).void } def visit_parameters_node(node); end - # source://spoom//lib/spoom/visitor.rb#694 + # pkg:gem/spoom#lib/spoom/visitor.rb:694 sig { override.params(node: ::Prism::ParenthesesNode).void } def visit_parentheses_node(node); end - # source://spoom//lib/spoom/visitor.rb#700 + # pkg:gem/spoom#lib/spoom/visitor.rb:700 sig { override.params(node: ::Prism::PinnedExpressionNode).void } def visit_pinned_expression_node(node); end - # source://spoom//lib/spoom/visitor.rb#706 + # pkg:gem/spoom#lib/spoom/visitor.rb:706 sig { override.params(node: ::Prism::PinnedVariableNode).void } def visit_pinned_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#712 + # pkg:gem/spoom#lib/spoom/visitor.rb:712 sig { override.params(node: ::Prism::PostExecutionNode).void } def visit_post_execution_node(node); end - # source://spoom//lib/spoom/visitor.rb#718 + # pkg:gem/spoom#lib/spoom/visitor.rb:718 sig { override.params(node: ::Prism::PreExecutionNode).void } def visit_pre_execution_node(node); end - # source://spoom//lib/spoom/visitor.rb#724 + # pkg:gem/spoom#lib/spoom/visitor.rb:724 sig { override.params(node: ::Prism::ProgramNode).void } def visit_program_node(node); end - # source://spoom//lib/spoom/visitor.rb#730 + # pkg:gem/spoom#lib/spoom/visitor.rb:730 sig { override.params(node: ::Prism::RangeNode).void } def visit_range_node(node); end - # source://spoom//lib/spoom/visitor.rb#736 + # pkg:gem/spoom#lib/spoom/visitor.rb:736 sig { override.params(node: ::Prism::RationalNode).void } def visit_rational_node(node); end - # source://spoom//lib/spoom/visitor.rb#742 + # pkg:gem/spoom#lib/spoom/visitor.rb:742 sig { override.params(node: ::Prism::RedoNode).void } def visit_redo_node(node); end - # source://spoom//lib/spoom/visitor.rb#748 + # pkg:gem/spoom#lib/spoom/visitor.rb:748 sig { override.params(node: ::Prism::RegularExpressionNode).void } def visit_regular_expression_node(node); end - # source://spoom//lib/spoom/visitor.rb#754 + # pkg:gem/spoom#lib/spoom/visitor.rb:754 sig { override.params(node: ::Prism::RequiredKeywordParameterNode).void } def visit_required_keyword_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#760 + # pkg:gem/spoom#lib/spoom/visitor.rb:760 sig { override.params(node: ::Prism::RequiredParameterNode).void } def visit_required_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#766 + # pkg:gem/spoom#lib/spoom/visitor.rb:766 sig { override.params(node: ::Prism::RescueModifierNode).void } def visit_rescue_modifier_node(node); end - # source://spoom//lib/spoom/visitor.rb#772 + # pkg:gem/spoom#lib/spoom/visitor.rb:772 sig { override.params(node: ::Prism::RescueNode).void } def visit_rescue_node(node); end - # source://spoom//lib/spoom/visitor.rb#778 + # pkg:gem/spoom#lib/spoom/visitor.rb:778 sig { override.params(node: ::Prism::RestParameterNode).void } def visit_rest_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#784 + # pkg:gem/spoom#lib/spoom/visitor.rb:784 sig { override.params(node: ::Prism::RetryNode).void } def visit_retry_node(node); end - # source://spoom//lib/spoom/visitor.rb#790 + # pkg:gem/spoom#lib/spoom/visitor.rb:790 sig { override.params(node: ::Prism::ReturnNode).void } def visit_return_node(node); end - # source://spoom//lib/spoom/visitor.rb#796 + # pkg:gem/spoom#lib/spoom/visitor.rb:796 sig { override.params(node: ::Prism::SelfNode).void } def visit_self_node(node); end - # source://spoom//lib/spoom/visitor.rb#802 + # pkg:gem/spoom#lib/spoom/visitor.rb:802 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end - # source://spoom//lib/spoom/visitor.rb#808 + # pkg:gem/spoom#lib/spoom/visitor.rb:808 sig { override.params(node: ::Prism::SourceEncodingNode).void } def visit_source_encoding_node(node); end - # source://spoom//lib/spoom/visitor.rb#814 + # pkg:gem/spoom#lib/spoom/visitor.rb:814 sig { override.params(node: ::Prism::SourceFileNode).void } def visit_source_file_node(node); end - # source://spoom//lib/spoom/visitor.rb#820 + # pkg:gem/spoom#lib/spoom/visitor.rb:820 sig { override.params(node: ::Prism::SourceLineNode).void } def visit_source_line_node(node); end - # source://spoom//lib/spoom/visitor.rb#826 + # pkg:gem/spoom#lib/spoom/visitor.rb:826 sig { override.params(node: ::Prism::SplatNode).void } def visit_splat_node(node); end - # source://spoom//lib/spoom/visitor.rb#832 + # pkg:gem/spoom#lib/spoom/visitor.rb:832 sig { override.params(node: ::Prism::StatementsNode).void } def visit_statements_node(node); end - # source://spoom//lib/spoom/visitor.rb#838 + # pkg:gem/spoom#lib/spoom/visitor.rb:838 sig { override.params(node: ::Prism::StringNode).void } def visit_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#844 + # pkg:gem/spoom#lib/spoom/visitor.rb:844 sig { override.params(node: ::Prism::SuperNode).void } def visit_super_node(node); end - # source://spoom//lib/spoom/visitor.rb#850 + # pkg:gem/spoom#lib/spoom/visitor.rb:850 sig { override.params(node: ::Prism::SymbolNode).void } def visit_symbol_node(node); end - # source://spoom//lib/spoom/visitor.rb#856 + # pkg:gem/spoom#lib/spoom/visitor.rb:856 sig { override.params(node: ::Prism::TrueNode).void } def visit_true_node(node); end - # source://spoom//lib/spoom/visitor.rb#862 + # pkg:gem/spoom#lib/spoom/visitor.rb:862 sig { override.params(node: ::Prism::UndefNode).void } def visit_undef_node(node); end - # source://spoom//lib/spoom/visitor.rb#868 + # pkg:gem/spoom#lib/spoom/visitor.rb:868 sig { override.params(node: ::Prism::UnlessNode).void } def visit_unless_node(node); end - # source://spoom//lib/spoom/visitor.rb#874 + # pkg:gem/spoom#lib/spoom/visitor.rb:874 sig { override.params(node: ::Prism::UntilNode).void } def visit_until_node(node); end - # source://spoom//lib/spoom/visitor.rb#880 + # pkg:gem/spoom#lib/spoom/visitor.rb:880 sig { override.params(node: ::Prism::WhenNode).void } def visit_when_node(node); end - # source://spoom//lib/spoom/visitor.rb#886 + # pkg:gem/spoom#lib/spoom/visitor.rb:886 sig { override.params(node: ::Prism::WhileNode).void } def visit_while_node(node); end - # source://spoom//lib/spoom/visitor.rb#892 + # pkg:gem/spoom#lib/spoom/visitor.rb:892 sig { override.params(node: ::Prism::XStringNode).void } def visit_x_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#898 + # pkg:gem/spoom#lib/spoom/visitor.rb:898 sig { override.params(node: ::Prism::YieldNode).void } def visit_yield_node(node); end end diff --git a/sorbet/rbi/gems/sprockets@4.2.2.rbi b/sorbet/rbi/gems/sprockets@4.2.2.rbi index 14579a946..c035440ea 100644 --- a/sorbet/rbi/gems/sprockets@4.2.2.rbi +++ b/sorbet/rbi/gems/sprockets@4.2.2.rbi @@ -7,7 +7,7 @@ # Define some basic Sprockets error classes # -# source://sprockets//lib/sprockets/version.rb#2 +# pkg:gem/sprockets#lib/sprockets/version.rb:2 module Sprockets extend ::Sprockets::Utils extend ::Sprockets::URIUtils @@ -48,18 +48,18 @@ end # with it's full fingerprint. This is done and then # added to the original asset as a comment at the bottom. # -# source://sprockets//lib/sprockets/add_source_map_comment_to_asset_processor.rb#28 +# pkg:gem/sprockets#lib/sprockets/add_source_map_comment_to_asset_processor.rb:28 class Sprockets::AddSourceMapCommentToAssetProcessor class << self - # source://sprockets//lib/sprockets/add_source_map_comment_to_asset_processor.rb#29 + # pkg:gem/sprockets#lib/sprockets/add_source_map_comment_to_asset_processor.rb:29 def call(input); end end end -# source://sprockets//lib/sprockets/errors.rb#5 +# pkg:gem/sprockets#lib/sprockets/errors.rb:5 class Sprockets::ArgumentError < ::Sprockets::Error; end -# source://sprockets//lib/sprockets/asset.rb#6 +# pkg:gem/sprockets#lib/sprockets/asset.rb:6 class Sprockets::Asset # Private: Initialize Asset wrapper from attributes Hash. # @@ -72,7 +72,7 @@ class Sprockets::Asset # # @return [Asset] a new instance of Asset # - # source://sprockets//lib/sprockets/asset.rb#17 + # pkg:gem/sprockets#lib/sprockets/asset.rb:17 def initialize(attributes = T.unsafe(nil)); end # Public: Compare assets. @@ -83,34 +83,34 @@ class Sprockets::Asset # # @return [Boolean] # - # source://sprockets//lib/sprockets/asset.rb#210 + # pkg:gem/sprockets#lib/sprockets/asset.rb:210 def ==(other); end # Public: Returns String base64 digest of source. # - # source://sprockets//lib/sprockets/asset.rb#152 + # pkg:gem/sprockets#lib/sprockets/asset.rb:152 def base64digest; end # Public: Returns Integer length of source. # - # source://sprockets//lib/sprockets/asset.rb#123 + # pkg:gem/sprockets#lib/sprockets/asset.rb:123 def bytesize; end # Public: Get charset of source. # # Returns a String charset name or nil if binary. # - # source://sprockets//lib/sprockets/asset.rb#115 + # pkg:gem/sprockets#lib/sprockets/asset.rb:115 def charset; end # Public: Returns String MIME type of asset. Returns nil if type is unknown. # - # source://sprockets//lib/sprockets/asset.rb#82 + # pkg:gem/sprockets#lib/sprockets/asset.rb:82 def content_type; end # Public: Returns String byte digest of source. # - # source://sprockets//lib/sprockets/asset.rb#126 + # pkg:gem/sprockets#lib/sprockets/asset.rb:126 def digest; end # Public: Return logical path with digest spliced in. @@ -119,7 +119,7 @@ class Sprockets::Asset # # Returns String. # - # source://sprockets//lib/sprockets/asset.rb#66 + # pkg:gem/sprockets#lib/sprockets/asset.rb:66 def digest_path; end # Public: Add enumerator to allow `Asset` instances to be used as Rack @@ -132,12 +132,12 @@ class Sprockets::Asset # # @yield [to_s] # - # source://sprockets//lib/sprockets/asset.rb#168 + # pkg:gem/sprockets#lib/sprockets/asset.rb:168 def each; end # Private: Return the version of the environment where the asset was generated. # - # source://sprockets//lib/sprockets/asset.rb#131 + # pkg:gem/sprockets#lib/sprockets/asset.rb:131 def environment_version; end # Public: Compare assets. @@ -148,24 +148,24 @@ class Sprockets::Asset # # @return [Boolean] # - # source://sprockets//lib/sprockets/asset.rb#207 + # pkg:gem/sprockets#lib/sprockets/asset.rb:207 def eql?(other); end # Public: ETag String of Asset. # - # source://sprockets//lib/sprockets/asset.rb#141 + # pkg:gem/sprockets#lib/sprockets/asset.rb:141 def etag; end # Public: Returns String path of asset. # - # source://sprockets//lib/sprockets/asset.rb#47 + # pkg:gem/sprockets#lib/sprockets/asset.rb:47 def filename; end # Public: Return load path + logical path with digest spliced in. # # Returns String. # - # source://sprockets//lib/sprockets/asset.rb#77 + # pkg:gem/sprockets#lib/sprockets/asset.rb:77 def full_digest_path; end # Public: Implements Object#hash so Assets can be used as a Hash key or @@ -173,36 +173,36 @@ class Sprockets::Asset # # Returns Integer hash of the id. # - # source://sprockets//lib/sprockets/asset.rb#198 + # pkg:gem/sprockets#lib/sprockets/asset.rb:198 def hash; end # Public: Returns String hexdigest of source. # - # source://sprockets//lib/sprockets/asset.rb#136 + # pkg:gem/sprockets#lib/sprockets/asset.rb:136 def hexdigest; end # Internal: Unique asset object ID. # # Returns a String. # - # source://sprockets//lib/sprockets/asset.rb#52 + # pkg:gem/sprockets#lib/sprockets/asset.rb:52 def id; end # Public: Pretty inspect # # Returns String. # - # source://sprockets//lib/sprockets/asset.rb#190 + # pkg:gem/sprockets#lib/sprockets/asset.rb:190 def inspect; end # Public: A "named information" URL for subresource integrity. # - # source://sprockets//lib/sprockets/asset.rb#157 + # pkg:gem/sprockets#lib/sprockets/asset.rb:157 def integrity; end # Public: Returns Integer length of source. # - # source://sprockets//lib/sprockets/asset.rb#120 + # pkg:gem/sprockets#lib/sprockets/asset.rb:120 def length; end # Public: Get all externally linked asset filenames from asset. @@ -211,12 +211,12 @@ class Sprockets::Asset # # Returns Set of String asset URIs. # - # source://sprockets//lib/sprockets/asset.rb#89 + # pkg:gem/sprockets#lib/sprockets/asset.rb:89 def links; end # Returns the value of attribute logical_path. # - # source://sprockets//lib/sprockets/asset.rb#7 + # pkg:gem/sprockets#lib/sprockets/asset.rb:7 def logical_path; end # Public: Metadata accumulated from pipeline process. @@ -227,28 +227,28 @@ class Sprockets::Asset # # Returns Hash. # - # source://sprockets//lib/sprockets/asset.rb#44 + # pkg:gem/sprockets#lib/sprockets/asset.rb:44 def metadata; end # Public: Return `String` of concatenated source. # # Returns String. # - # source://sprockets//lib/sprockets/asset.rb#96 + # pkg:gem/sprockets#lib/sprockets/asset.rb:96 def source; end # Internal: Return all internal instance variables as a hash. # # Returns a Hash. # - # source://sprockets//lib/sprockets/asset.rb#33 + # pkg:gem/sprockets#lib/sprockets/asset.rb:33 def to_hash; end # Public: Alias for #source. # # Returns String. # - # source://sprockets//lib/sprockets/asset.rb#108 + # pkg:gem/sprockets#lib/sprockets/asset.rb:108 def to_s; end # Public: Internal URI to lookup asset by. @@ -257,7 +257,7 @@ class Sprockets::Asset # # Returns URI. # - # source://sprockets//lib/sprockets/asset.rb#59 + # pkg:gem/sprockets#lib/sprockets/asset.rb:59 def uri; end # Deprecated: Save asset to disk. @@ -266,46 +266,46 @@ class Sprockets::Asset # # Returns nothing. # - # source://sprockets//lib/sprockets/asset.rb#177 + # pkg:gem/sprockets#lib/sprockets/asset.rb:177 def write_to(filename); end end -# source://sprockets//lib/sprockets/autoload.rb#3 +# pkg:gem/sprockets#lib/sprockets/autoload.rb:3 module Sprockets::Autoload; end -# source://sprockets//lib/sprockets/babel_processor.rb#8 +# pkg:gem/sprockets#lib/sprockets/babel_processor.rb:8 class Sprockets::BabelProcessor # @return [BabelProcessor] a new instance of BabelProcessor # - # source://sprockets//lib/sprockets/babel_processor.rb#25 + # pkg:gem/sprockets#lib/sprockets/babel_processor.rb:25 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/babel_processor.rb#23 + # pkg:gem/sprockets#lib/sprockets/babel_processor.rb:23 def cache_key; end - # source://sprockets//lib/sprockets/babel_processor.rb#40 + # pkg:gem/sprockets#lib/sprockets/babel_processor.rb:40 def call(input); end class << self - # source://sprockets//lib/sprockets/babel_processor.rb#19 + # pkg:gem/sprockets#lib/sprockets/babel_processor.rb:19 def cache_key; end - # source://sprockets//lib/sprockets/babel_processor.rb#15 + # pkg:gem/sprockets#lib/sprockets/babel_processor.rb:15 def call(input); end - # source://sprockets//lib/sprockets/babel_processor.rb#11 + # pkg:gem/sprockets#lib/sprockets/babel_processor.rb:11 def instance; end end end -# source://sprockets//lib/sprockets/babel_processor.rb#9 +# pkg:gem/sprockets#lib/sprockets/babel_processor.rb:9 Sprockets::BabelProcessor::VERSION = T.let(T.unsafe(nil), String) # `Base` class for `Environment` and `CachedEnvironment`. # -# source://sprockets//lib/sprockets/base.rb#32 +# pkg:gem/sprockets#lib/sprockets/base.rb:32 class Sprockets::Base include ::Sprockets::SourceMapUtils include ::Sprockets::Utils @@ -334,12 +334,12 @@ class Sprockets::Base # # environment['application.js'] # - # source://sprockets//lib/sprockets/base.rb#118 + # pkg:gem/sprockets#lib/sprockets/base.rb:118 def [](*args, **options); end # Get persistent cache store # - # source://sprockets//lib/sprockets/base.rb#41 + # pkg:gem/sprockets#lib/sprockets/base.rb:41 def cache; end # Set persistent cache store @@ -348,20 +348,20 @@ class Sprockets::Base # setters. Either `get(key)`/`set(key, value)`, # `[key]`/`[key]=value`, `read(key)`/`write(key, value)`. # - # source://sprockets//lib/sprockets/base.rb#48 + # pkg:gem/sprockets#lib/sprockets/base.rb:48 def cache=(cache); end # Return an `CachedEnvironment`. Must be implemented by the subclass. # # @raise [NotImplementedError] # - # source://sprockets//lib/sprockets/base.rb#53 + # pkg:gem/sprockets#lib/sprockets/base.rb:53 def cached; end - # source://sprockets//lib/sprockets/base.rb#139 + # pkg:gem/sprockets#lib/sprockets/base.rb:139 def compress_from_root(uri); end - # source://sprockets//lib/sprockets/base.rb#143 + # pkg:gem/sprockets#lib/sprockets/base.rb:143 def expand_from_root(uri); end # Internal: Compute digest for path. @@ -370,40 +370,40 @@ class Sprockets::Base # # Returns a String digest or nil. # - # source://sprockets//lib/sprockets/base.rb#63 + # pkg:gem/sprockets#lib/sprockets/base.rb:63 def file_digest(path); end # @yield [asset] # - # source://sprockets//lib/sprockets/base.rb#85 + # pkg:gem/sprockets#lib/sprockets/base.rb:85 def find_all_linked_assets(*args); end # Find asset by logical path or expanded path. # - # source://sprockets//lib/sprockets/base.rb#78 + # pkg:gem/sprockets#lib/sprockets/base.rb:78 def find_asset(*args, **options); end # Find asset by logical path or expanded path. # # If the asset is not found an error will be raised. # - # source://sprockets//lib/sprockets/base.rb#125 + # pkg:gem/sprockets#lib/sprockets/base.rb:125 def find_asset!(*args); end # Return an `CachedEnvironment`. Must be implemented by the subclass. # # @raise [NotImplementedError] # - # source://sprockets//lib/sprockets/base.rb#56 + # pkg:gem/sprockets#lib/sprockets/base.rb:56 def index; end # Pretty inspect # - # source://sprockets//lib/sprockets/base.rb#133 + # pkg:gem/sprockets#lib/sprockets/base.rb:133 def inspect; end end -# source://sprockets//lib/sprockets/bower.rb#5 +# pkg:gem/sprockets#lib/sprockets/bower.rb:5 module Sprockets::Bower # Internal: Read bower.json's main directive. # @@ -412,7 +412,7 @@ module Sprockets::Bower # # Returns nothing. # - # source://sprockets//lib/sprockets/bower.rb#48 + # pkg:gem/sprockets#lib/sprockets/bower.rb:48 def read_bower_main(dirname, filename); end # Internal: Override resolve_alternates to install bower.json behavior. @@ -422,7 +422,7 @@ module Sprockets::Bower # # Returns candidate filenames. # - # source://sprockets//lib/sprockets/bower.rb#17 + # pkg:gem/sprockets#lib/sprockets/bower.rb:17 def resolve_alternates(load_path, logical_path); end end @@ -430,7 +430,7 @@ end # # https://github.com/bower/json/blob/0.4.0/lib/json.js#L7 # -# source://sprockets//lib/sprockets/bower.rb#9 +# pkg:gem/sprockets#lib/sprockets/bower.rb:9 Sprockets::Bower::POSSIBLE_BOWER_JSONS = T.let(T.unsafe(nil), Array) # Internal: Bundle processor takes a single file asset and prepends all the @@ -443,10 +443,10 @@ Sprockets::Bower::POSSIBLE_BOWER_JSONS = T.let(T.unsafe(nil), Array) # # Also see DirectiveProcessor. # -# source://sprockets//lib/sprockets/bundle.rb#16 +# pkg:gem/sprockets#lib/sprockets/bundle.rb:16 class Sprockets::Bundle class << self - # source://sprockets//lib/sprockets/bundle.rb#17 + # pkg:gem/sprockets#lib/sprockets/bundle.rb:17 def call(input); end # Internal: Removes uri from required if it's already included as an alias. @@ -455,7 +455,7 @@ class Sprockets::Bundle # # Returns deduped set of uris # - # source://sprockets//lib/sprockets/bundle.rb#61 + # pkg:gem/sprockets#lib/sprockets/bundle.rb:61 def dedup(required); end # Internal: Run bundle reducers on set of Assets producing a reduced @@ -467,7 +467,7 @@ class Sprockets::Bundle # # Returns reduced asset metadata Hash. # - # source://sprockets//lib/sprockets/bundle.rb#80 + # pkg:gem/sprockets#lib/sprockets/bundle.rb:80 def process_bundle_reducers(input, assets, reducers); end end end @@ -512,7 +512,7 @@ end # # The options hash is passed to the underlying cache implementation. # -# source://sprockets//lib/sprockets/cache.rb#45 +# pkg:gem/sprockets#lib/sprockets/cache.rb:45 class Sprockets::Cache # Internal: Wrap a backend cache store. # @@ -523,14 +523,14 @@ class Sprockets::Cache # # @return [Cache] a new instance of Cache # - # source://sprockets//lib/sprockets/cache.rb#68 + # pkg:gem/sprockets#lib/sprockets/cache.rb:68 def initialize(cache = T.unsafe(nil), logger = T.unsafe(nil)); end # Public: Clear cache # # Returns truthy on success, potentially raises exception on failure # - # source://sprockets//lib/sprockets/cache.rb#156 + # pkg:gem/sprockets#lib/sprockets/cache.rb:156 def clear(options = T.unsafe(nil)); end # Public: Prefer API to retrieve and set values in the cache store. @@ -545,7 +545,7 @@ class Sprockets::Cache # # Returns a JSON serializable object. # - # source://sprockets//lib/sprockets/cache.rb#85 + # pkg:gem/sprockets#lib/sprockets/cache.rb:85 def fetch(key); end # Public: Low level API to retrieve item directly from the backend cache @@ -560,14 +560,14 @@ class Sprockets::Cache # # Returns a JSON serializable object or nil if there was a cache miss. # - # source://sprockets//lib/sprockets/cache.rb#115 + # pkg:gem/sprockets#lib/sprockets/cache.rb:115 def get(key, local = T.unsafe(nil)); end # Public: Pretty inspect # # Returns String. # - # source://sprockets//lib/sprockets/cache.rb#149 + # pkg:gem/sprockets#lib/sprockets/cache.rb:149 def inspect; end # Public: Low level API to set item directly to the backend cache store. @@ -583,7 +583,7 @@ class Sprockets::Cache # # Returns the value argument. # - # source://sprockets//lib/sprockets/cache.rb#140 + # pkg:gem/sprockets#lib/sprockets/cache.rb:140 def set(key, value, local = T.unsafe(nil)); end private @@ -597,21 +597,21 @@ class Sprockets::Cache # # Returns a String with a length less than 250 characters. # - # source://sprockets//lib/sprockets/cache.rb#170 + # pkg:gem/sprockets#lib/sprockets/cache.rb:170 def expand_key(key); end - # source://sprockets//lib/sprockets/cache.rb#196 + # pkg:gem/sprockets#lib/sprockets/cache.rb:196 def get_cache_wrapper(cache); end # Internal: Show first 100 characters of cache key for logging purposes. # # Returns a String with a length less than 100 characters. # - # source://sprockets//lib/sprockets/cache.rb#181 + # pkg:gem/sprockets#lib/sprockets/cache.rb:181 def peek_key(key); end class << self - # source://sprockets//lib/sprockets/cache.rb#56 + # pkg:gem/sprockets#lib/sprockets/cache.rb:56 def default_logger; end end end @@ -626,7 +626,7 @@ end # # ActiveSupport::Cache::FileStore # -# source://sprockets//lib/sprockets/cache/file_store.rb#20 +# pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:20 class Sprockets::Cache::FileStore # Public: Initialize the cache store. # @@ -638,7 +638,7 @@ class Sprockets::Cache::FileStore # # @return [FileStore] a new instance of FileStore # - # source://sprockets//lib/sprockets/cache/file_store.rb#42 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:42 def initialize(root, max_size = T.unsafe(nil), logger = T.unsafe(nil)); end # Public: Clear the cache @@ -651,7 +651,7 @@ class Sprockets::Cache::FileStore # # Returns true # - # source://sprockets//lib/sprockets/cache/file_store.rb#139 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:139 def clear(options = T.unsafe(nil)); end # Public: Retrieve value from cache. @@ -662,14 +662,14 @@ class Sprockets::Cache::FileStore # # Returns Object or nil or the value is not set. # - # source://sprockets//lib/sprockets/cache/file_store.rb#56 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:56 def get(key); end # Public: Pretty inspect # # Returns String. # - # source://sprockets//lib/sprockets/cache/file_store.rb#126 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:126 def inspect; end # Public: Set a key and value in the cache. @@ -681,12 +681,12 @@ class Sprockets::Cache::FileStore # # Returns Object value. # - # source://sprockets//lib/sprockets/cache/file_store.rb#85 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:85 def set(key, value); end private - # source://sprockets//lib/sprockets/cache/file_store.rb#166 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:166 def compute_size(caches); end # Internal: Get all cache files along with stats. @@ -694,19 +694,19 @@ class Sprockets::Cache::FileStore # Returns an Array of [String filename, File::Stat] pairs sorted by # mtime. # - # source://sprockets//lib/sprockets/cache/file_store.rb#152 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:152 def find_caches; end - # source://sprockets//lib/sprockets/cache/file_store.rb#183 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:183 def gc!; end - # source://sprockets//lib/sprockets/cache/file_store.rb#176 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:176 def safe_open(path, &block); end - # source://sprockets//lib/sprockets/cache/file_store.rb#170 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:170 def safe_stat(fn); end - # source://sprockets//lib/sprockets/cache/file_store.rb#162 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:162 def size; end class << self @@ -714,43 +714,43 @@ class Sprockets::Cache::FileStore # # Returns a Logger. # - # source://sprockets//lib/sprockets/cache/file_store.rb#29 + # pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:29 def default_logger; end end end # Internal: Default key limit for store. # -# source://sprockets//lib/sprockets/cache/file_store.rb#22 +# pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:22 Sprockets::Cache::FileStore::DEFAULT_MAX_SIZE = T.let(T.unsafe(nil), Integer) -# source://sprockets//lib/sprockets/cache/file_store.rb#23 +# pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:23 Sprockets::Cache::FileStore::EXCLUDED_DIRS = T.let(T.unsafe(nil), Array) -# source://sprockets//lib/sprockets/cache/file_store.rb#24 +# pkg:gem/sprockets#lib/sprockets/cache/file_store.rb:24 Sprockets::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array) -# source://sprockets//lib/sprockets/cache.rb#221 +# pkg:gem/sprockets#lib/sprockets/cache.rb:221 class Sprockets::Cache::GetWrapper < ::Sprockets::Cache::Wrapper - # source://sprockets//lib/sprockets/cache.rb#230 + # pkg:gem/sprockets#lib/sprockets/cache.rb:230 def clear(options = T.unsafe(nil)); end - # source://sprockets//lib/sprockets/cache.rb#222 + # pkg:gem/sprockets#lib/sprockets/cache.rb:222 def get(key); end - # source://sprockets//lib/sprockets/cache.rb#226 + # pkg:gem/sprockets#lib/sprockets/cache.rb:226 def set(key, value); end end -# source://sprockets//lib/sprockets/cache.rb#241 +# pkg:gem/sprockets#lib/sprockets/cache.rb:241 class Sprockets::Cache::HashWrapper < ::Sprockets::Cache::Wrapper - # source://sprockets//lib/sprockets/cache.rb#250 + # pkg:gem/sprockets#lib/sprockets/cache.rb:250 def clear(options = T.unsafe(nil)); end - # source://sprockets//lib/sprockets/cache.rb#242 + # pkg:gem/sprockets#lib/sprockets/cache.rb:242 def get(key); end - # source://sprockets//lib/sprockets/cache.rb#246 + # pkg:gem/sprockets#lib/sprockets/cache.rb:246 def set(key, value); end end @@ -764,7 +764,7 @@ end # # ActiveSupport::Cache::MemoryStore # -# source://sprockets//lib/sprockets/cache/memory_store.rb#14 +# pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:14 class Sprockets::Cache::MemoryStore # Public: Initialize the cache store. # @@ -773,14 +773,14 @@ class Sprockets::Cache::MemoryStore # # @return [MemoryStore] a new instance of MemoryStore # - # source://sprockets//lib/sprockets/cache/memory_store.rb#22 + # pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:22 def initialize(max_size = T.unsafe(nil)); end # Public: Clear the cache # # Returns true # - # source://sprockets//lib/sprockets/cache/memory_store.rb#76 + # pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:76 def clear(options = T.unsafe(nil)); end # Public: Retrieve value from cache. @@ -791,14 +791,14 @@ class Sprockets::Cache::MemoryStore # # Returns Object or nil or the value is not set. # - # source://sprockets//lib/sprockets/cache/memory_store.rb#35 + # pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:35 def get(key); end # Public: Pretty inspect # # Returns String. # - # source://sprockets//lib/sprockets/cache/memory_store.rb#67 + # pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:67 def inspect; end # Public: Set a key and value in the cache. @@ -810,13 +810,13 @@ class Sprockets::Cache::MemoryStore # # Returns Object value. # - # source://sprockets//lib/sprockets/cache/memory_store.rb#55 + # pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:55 def set(key, value); end end # Internal: Default key limit for store. # -# source://sprockets//lib/sprockets/cache/memory_store.rb#16 +# pkg:gem/sprockets#lib/sprockets/cache/memory_store.rb:16 Sprockets::Cache::MemoryStore::DEFAULT_MAX_SIZE = T.let(T.unsafe(nil), Integer) # Public: A compatible cache store that doesn't store anything. Used by @@ -830,13 +830,13 @@ Sprockets::Cache::MemoryStore::DEFAULT_MAX_SIZE = T.let(T.unsafe(nil), Integer) # # ActiveSupport::Cache::NullStore # -# source://sprockets//lib/sprockets/cache/null_store.rb#15 +# pkg:gem/sprockets#lib/sprockets/cache/null_store.rb:15 class Sprockets::Cache::NullStore # Public: Simulate clearing the cache # # Returns true # - # source://sprockets//lib/sprockets/cache/null_store.rb#49 + # pkg:gem/sprockets#lib/sprockets/cache/null_store.rb:49 def clear(options = T.unsafe(nil)); end # Public: Simulate a cache miss. @@ -847,14 +847,14 @@ class Sprockets::Cache::NullStore # # Returns nil. # - # source://sprockets//lib/sprockets/cache/null_store.rb#23 + # pkg:gem/sprockets#lib/sprockets/cache/null_store.rb:23 def get(key); end # Public: Pretty inspect # # Returns String. # - # source://sprockets//lib/sprockets/cache/null_store.rb#42 + # pkg:gem/sprockets#lib/sprockets/cache/null_store.rb:42 def inspect; end # Public: Simulate setting a value in the cache. @@ -866,22 +866,22 @@ class Sprockets::Cache::NullStore # # Returns Object value. # - # source://sprockets//lib/sprockets/cache/null_store.rb#35 + # pkg:gem/sprockets#lib/sprockets/cache/null_store.rb:35 def set(key, value); end end -# source://sprockets//lib/sprockets/cache.rb#176 +# pkg:gem/sprockets#lib/sprockets/cache.rb:176 Sprockets::Cache::PEEK_SIZE = T.let(T.unsafe(nil), Integer) -# source://sprockets//lib/sprockets/cache.rb#256 +# pkg:gem/sprockets#lib/sprockets/cache.rb:256 class Sprockets::Cache::ReadWriteWrapper < ::Sprockets::Cache::Wrapper - # source://sprockets//lib/sprockets/cache.rb#265 + # pkg:gem/sprockets#lib/sprockets/cache.rb:265 def clear(options = T.unsafe(nil)); end - # source://sprockets//lib/sprockets/cache.rb#257 + # pkg:gem/sprockets#lib/sprockets/cache.rb:257 def get(key); end - # source://sprockets//lib/sprockets/cache.rb#261 + # pkg:gem/sprockets#lib/sprockets/cache.rb:261 def set(key, value); end end @@ -889,10 +889,10 @@ end # unless the cache format radically changes. Will be bump on major version # releases though. # -# source://sprockets//lib/sprockets/cache.rb#54 +# pkg:gem/sprockets#lib/sprockets/cache.rb:54 Sprockets::Cache::VERSION = T.let(T.unsafe(nil), String) -# source://sprockets//lib/sprockets/cache.rb#218 +# pkg:gem/sprockets#lib/sprockets/cache.rb:218 class Sprockets::Cache::Wrapper < ::Struct; end # `CachedEnvironment` is a special cached version of `Environment`. @@ -905,46 +905,46 @@ class Sprockets::Cache::Wrapper < ::Struct; end # `CachedEnvironment` should not be initialized directly. Instead use # `Environment#cached`. # -# source://sprockets//lib/sprockets/cached_environment.rb#14 +# pkg:gem/sprockets#lib/sprockets/cached_environment.rb:14 class Sprockets::CachedEnvironment < ::Sprockets::Base # @return [CachedEnvironment] a new instance of CachedEnvironment # - # source://sprockets//lib/sprockets/cached_environment.rb#15 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:15 def initialize(environment); end # No-op return self as cached environment. # - # source://sprockets//lib/sprockets/cached_environment.rb#27 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:27 def cached; end # Internal: Cache Environment#entries # - # source://sprockets//lib/sprockets/cached_environment.rb#33 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:33 def entries(path); end # No-op return self as cached environment. # - # source://sprockets//lib/sprockets/cached_environment.rb#30 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:30 def index; end # Internal: Cache Environment#load # - # source://sprockets//lib/sprockets/cached_environment.rb#43 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:43 def load(uri); end # Internal: Cache Environment#processor_cache_key # - # source://sprockets//lib/sprockets/cached_environment.rb#48 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:48 def processor_cache_key(str); end # Internal: Cache Environment#resolve_dependency # - # source://sprockets//lib/sprockets/cached_environment.rb#53 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:53 def resolve_dependency(str); end # Internal: Cache Environment#stat # - # source://sprockets//lib/sprockets/cached_environment.rb#38 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:38 def stat(path); end private @@ -954,7 +954,7 @@ class Sprockets::CachedEnvironment < ::Sprockets::Base # # @raise [RuntimeError] # - # source://sprockets//lib/sprockets/cached_environment.rb#60 + # pkg:gem/sprockets#lib/sprockets/cached_environment.rb:60 def config=(config); end end @@ -970,38 +970,38 @@ end # environment.register_bundle_processor 'application/javascript', # Sprockets::ClosureCompressor.new({ ... }) # -# source://sprockets//lib/sprockets/closure_compressor.rb#18 +# pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:18 class Sprockets::ClosureCompressor # @return [ClosureCompressor] a new instance of ClosureCompressor # - # source://sprockets//lib/sprockets/closure_compressor.rb#38 + # pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:38 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/closure_compressor.rb#36 + # pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:36 def cache_key; end - # source://sprockets//lib/sprockets/closure_compressor.rb#43 + # pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:43 def call(input); end class << self - # source://sprockets//lib/sprockets/closure_compressor.rb#32 + # pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:32 def cache_key; end - # source://sprockets//lib/sprockets/closure_compressor.rb#28 + # pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:28 def call(input); end # Public: Return singleton instance with default options. # # Returns ClosureCompressor object. # - # source://sprockets//lib/sprockets/closure_compressor.rb#24 + # pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:24 def instance; end end end -# source://sprockets//lib/sprockets/closure_compressor.rb#19 +# pkg:gem/sprockets#lib/sprockets/closure_compressor.rb:19 Sprockets::ClosureCompressor::VERSION = T.let(T.unsafe(nil), String) # Processor engine class for the CoffeeScript compiler. @@ -1011,40 +1011,40 @@ Sprockets::ClosureCompressor::VERSION = T.let(T.unsafe(nil), String) # # https://github.com/rails/ruby-coffee-script # -# source://sprockets//lib/sprockets/coffee_script_processor.rb#13 +# pkg:gem/sprockets#lib/sprockets/coffee_script_processor.rb:13 module Sprockets::CoffeeScriptProcessor class << self - # source://sprockets//lib/sprockets/coffee_script_processor.rb#16 + # pkg:gem/sprockets#lib/sprockets/coffee_script_processor.rb:16 def cache_key; end - # source://sprockets//lib/sprockets/coffee_script_processor.rb#20 + # pkg:gem/sprockets#lib/sprockets/coffee_script_processor.rb:20 def call(input); end end end -# source://sprockets//lib/sprockets/coffee_script_processor.rb#14 +# pkg:gem/sprockets#lib/sprockets/coffee_script_processor.rb:14 Sprockets::CoffeeScriptProcessor::VERSION = T.let(T.unsafe(nil), String) # `Compressing` is an internal mixin whose public methods are exposed on # the `Environment` and `CachedEnvironment` classes. # -# source://sprockets//lib/sprockets/compressing.rb#7 +# pkg:gem/sprockets#lib/sprockets/compressing.rb:7 module Sprockets::Compressing include ::Sprockets::Utils - # source://sprockets//lib/sprockets/compressing.rb#10 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:10 def compressors; end # Return CSS compressor or nil if none is set # - # source://sprockets//lib/sprockets/compressing.rb#40 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:40 def css_compressor; end # Assign a compressor to run on `text/css` assets. # # The compressor object must respond to `compress`. # - # source://sprockets//lib/sprockets/compressing.rb#49 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:49 def css_compressor=(compressor); end # Public: Enable or disable the creation of Gzip files. @@ -1060,26 +1060,26 @@ module Sprockets::Compressing # # environment.gzip = :zopfli # - # source://sprockets//lib/sprockets/compressing.rb#116 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:116 def gzip=(gzip); end # Public: Checks if Gzip is enabled. # # @return [Boolean] # - # source://sprockets//lib/sprockets/compressing.rb#94 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:94 def gzip?; end # Return JS compressor or nil if none is set # - # source://sprockets//lib/sprockets/compressing.rb#67 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:67 def js_compressor; end # Assign a compressor to run on `application/javascript` assets. # # The compressor object must respond to `compress`. # - # source://sprockets//lib/sprockets/compressing.rb#76 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:76 def js_compressor=(compressor); end # Public: Register a new compressor `klass` at `sym` for `mime_type`. @@ -1101,18 +1101,18 @@ module Sprockets::Compressing # # Returns nothing. # - # source://sprockets//lib/sprockets/compressing.rb#32 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:32 def register_compressor(mime_type, sym, klass); end # Public: Checks if Gzip is disabled. # # @return [Boolean] # - # source://sprockets//lib/sprockets/compressing.rb#99 + # pkg:gem/sprockets#lib/sprockets/compressing.rb:99 def skip_gzip?; end end -# source://sprockets//lib/sprockets/configuration.rb#12 +# pkg:gem/sprockets#lib/sprockets/configuration.rb:12 module Sprockets::Configuration include ::Sprockets::Utils include ::Sprockets::URIUtils @@ -1131,12 +1131,12 @@ module Sprockets::Configuration # Returns the value of attribute config. # - # source://sprockets//lib/sprockets/configuration.rb#21 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:21 def config; end # @raise [TypeError] # - # source://sprockets//lib/sprockets/configuration.rb#23 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:23 def config=(config); end # This class maybe mutated and mixed in with custom helpers. @@ -1146,14 +1146,14 @@ module Sprockets::Configuration # def asset_url; end # end # - # source://sprockets//lib/sprockets/configuration.rb#77 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:77 def context_class; end # Public: Returns a `Digest` implementation class. # # Defaults to `Digest::SHA256`. # - # source://sprockets//lib/sprockets/configuration.rb#56 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:56 def digest_class; end # Deprecated: Assign a `Digest` implementation class. This maybe any Ruby @@ -1162,20 +1162,20 @@ module Sprockets::Configuration # # environment.digest_class = Digest::SHA512 # - # source://sprockets//lib/sprockets/configuration.rb#66 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:66 def digest_class=(klass); end - # source://sprockets//lib/sprockets/configuration.rb#15 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:15 def initialize_configuration(parent); end # Get and set `Logger` instance. # - # source://sprockets//lib/sprockets/configuration.rb#29 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:29 def logger; end # Get and set `Logger` instance. # - # source://sprockets//lib/sprockets/configuration.rb#29 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:29 def logger=(_arg0); end # The `Environment#version` is a custom value used for manually @@ -1189,18 +1189,18 @@ module Sprockets::Configuration # It would be wise to increment this value anytime you make a # configuration change to the `Environment` object. # - # source://sprockets//lib/sprockets/configuration.rb#41 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:41 def version; end # Assign an environment version. # # environment.version = '2.0' # - # source://sprockets//lib/sprockets/configuration.rb#49 + # pkg:gem/sprockets#lib/sprockets/configuration.rb:49 def version=(version); end end -# source://sprockets//lib/sprockets/errors.rb#6 +# pkg:gem/sprockets#lib/sprockets/errors.rb:6 class Sprockets::ContentTypeMismatch < ::Sprockets::Error; end # They are typically accessed by ERB templates. You can mix in custom helpers @@ -1217,11 +1217,11 @@ class Sprockets::ContentTypeMismatch < ::Sprockets::Error; end # The `Context` also collects dependencies declared by # assets. See `DirectiveProcessor` for an example of this. # -# source://sprockets//lib/sprockets/context.rb#21 +# pkg:gem/sprockets#lib/sprockets/context.rb:21 class Sprockets::Context # @return [Context] a new instance of Context # - # source://sprockets//lib/sprockets/context.rb#42 + # pkg:gem/sprockets#lib/sprockets/context.rb:42 def initialize(input); end # Returns a `data:` URI with the contents of the asset at the specified @@ -1235,7 +1235,7 @@ class Sprockets::Context # # $('').attr('src', '<%= asset_data_uri 'avatar.jpg' %>') # - # source://sprockets//lib/sprockets/context.rb#201 + # pkg:gem/sprockets#lib/sprockets/context.rb:201 def asset_data_uri(path); end # Expands logical path to full url to asset. @@ -1247,12 +1247,12 @@ class Sprockets::Context # # @raise [NotImplementedError] # - # source://sprockets//lib/sprockets/context.rb#216 + # pkg:gem/sprockets#lib/sprockets/context.rb:216 def asset_path(path, options = T.unsafe(nil)); end # Expand logical audio asset path. # - # source://sprockets//lib/sprockets/context.rb#241 + # pkg:gem/sprockets#lib/sprockets/context.rb:241 def audio_path(path); end # Returns content type of file @@ -1260,7 +1260,7 @@ class Sprockets::Context # 'application/javascript' # 'text/css' # - # source://sprockets//lib/sprockets/context.rb#88 + # pkg:gem/sprockets#lib/sprockets/context.rb:88 def content_type; end # `depend_on` allows you to state a dependency on a file without @@ -1270,7 +1270,7 @@ class Sprockets::Context # the dependency file will invalidate the cache of the # source file. # - # source://sprockets//lib/sprockets/context.rb#128 + # pkg:gem/sprockets#lib/sprockets/context.rb:128 def depend_on(path); end # `depend_on_asset` allows you to state an asset dependency @@ -1281,7 +1281,7 @@ class Sprockets::Context # file. Unlike `depend_on`, this will recursively include # the target asset's dependencies. # - # source://sprockets//lib/sprockets/context.rb#144 + # pkg:gem/sprockets#lib/sprockets/context.rb:144 def depend_on_asset(path); end # `depend_on_env` allows you to state a dependency on an environment @@ -1290,35 +1290,35 @@ class Sprockets::Context # This is used for caching purposes. Any changes in the value of the # environment variable will invalidate the cache of the source file. # - # source://sprockets//lib/sprockets/context.rb#153 + # pkg:gem/sprockets#lib/sprockets/context.rb:153 def depend_on_env(key); end - # source://sprockets//lib/sprockets/context.rb#64 + # pkg:gem/sprockets#lib/sprockets/context.rb:64 def env_proxy; end # Returns the value of attribute environment. # - # source://sprockets//lib/sprockets/context.rb#40 + # pkg:gem/sprockets#lib/sprockets/context.rb:40 def environment; end # Returns the value of attribute filename. # - # source://sprockets//lib/sprockets/context.rb#40 + # pkg:gem/sprockets#lib/sprockets/context.rb:40 def filename; end # Expand logical font asset path. # - # source://sprockets//lib/sprockets/context.rb#246 + # pkg:gem/sprockets#lib/sprockets/context.rb:246 def font_path(path); end # Expand logical image asset path. # - # source://sprockets//lib/sprockets/context.rb#231 + # pkg:gem/sprockets#lib/sprockets/context.rb:231 def image_path(path); end # Expand logical javascript asset path. # - # source://sprockets//lib/sprockets/context.rb#251 + # pkg:gem/sprockets#lib/sprockets/context.rb:251 def javascript_path(path); end # `link_asset` declares an external dependency on an asset without directly @@ -1327,7 +1327,7 @@ class Sprockets::Context # # Returns an Asset or nil. # - # source://sprockets//lib/sprockets/context.rb#184 + # pkg:gem/sprockets#lib/sprockets/context.rb:184 def link_asset(path); end # Public: Load Asset by AssetURI and track it as a dependency. @@ -1336,7 +1336,7 @@ class Sprockets::Context # # Returns Asset. # - # source://sprockets//lib/sprockets/context.rb#116 + # pkg:gem/sprockets#lib/sprockets/context.rb:116 def load(uri); end # Returns the environment path that contains the file. @@ -1345,7 +1345,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 + # pkg:gem/sprockets#lib/sprockets/context.rb:73 def load_path; end # Returns logical path without any file extensions. @@ -1353,10 +1353,10 @@ class Sprockets::Context # 'app/javascripts/application.js' # # => 'application' # - # source://sprockets//lib/sprockets/context.rb#81 + # pkg:gem/sprockets#lib/sprockets/context.rb:81 def logical_path; end - # source://sprockets//lib/sprockets/context.rb#57 + # pkg:gem/sprockets#lib/sprockets/context.rb:57 def metadata; end # `require_asset` declares `path` as a dependency of the file. The @@ -1368,7 +1368,7 @@ class Sprockets::Context # # <%= require_asset "#{framework}.js" %> # - # source://sprockets//lib/sprockets/context.rb#166 + # pkg:gem/sprockets#lib/sprockets/context.rb:166 def require_asset(path); end # Public: Given a logical path, `resolve` will find and return an Asset URI. @@ -1386,7 +1386,7 @@ class Sprockets::Context # # Returns an Asset URI String. # - # source://sprockets//lib/sprockets/context.rb#104 + # pkg:gem/sprockets#lib/sprockets/context.rb:104 def resolve(path, **kargs); end # Returns the environment path that contains the file. @@ -1395,37 +1395,37 @@ class Sprockets::Context # current file is `app/javascripts/foo/bar.js`, `load_path` would # return `app/javascripts`. # - # source://sprockets//lib/sprockets/context.rb#74 + # pkg:gem/sprockets#lib/sprockets/context.rb:74 def root_path; end # `stub_asset` blacklists `path` from being included in the bundle. # `path` must be an asset which may or may not already be included # in the bundle. # - # source://sprockets//lib/sprockets/context.rb#174 + # pkg:gem/sprockets#lib/sprockets/context.rb:174 def stub_asset(path); end # Expand logical stylesheet asset path. # - # source://sprockets//lib/sprockets/context.rb#256 + # pkg:gem/sprockets#lib/sprockets/context.rb:256 def stylesheet_path(path); end # Expand logical video asset path. # - # source://sprockets//lib/sprockets/context.rb#236 + # pkg:gem/sprockets#lib/sprockets/context.rb:236 def video_path(path); end protected # Returns a Base64-encoded data URI. # - # source://sprockets//lib/sprockets/context.rb#272 + # pkg:gem/sprockets#lib/sprockets/context.rb:272 def base64_asset_data_uri(asset); end # Un-escapes characters in the given URI-escaped string that do not need # escaping in "-quoted data URIs. # - # source://sprockets//lib/sprockets/context.rb#297 + # pkg:gem/sprockets#lib/sprockets/context.rb:297 def optimize_quoted_uri_escapes!(escaped); end # Optimizes an SVG for being URI-escaped. @@ -1435,38 +1435,38 @@ class Sprockets::Context # * Removes comments, meta, doctype, and newlines. # * Collapses whitespace. # - # source://sprockets//lib/sprockets/context.rb#283 + # pkg:gem/sprockets#lib/sprockets/context.rb:283 def optimize_svg_for_uri_escaping!(svg); end # Returns a URI-encoded data URI (always "-quoted). # - # source://sprockets//lib/sprockets/context.rb#263 + # pkg:gem/sprockets#lib/sprockets/context.rb:263 def svg_asset_data_uri(asset); end end # Internal: Proxy for ENV that keeps track of the environment variables used # -# source://sprockets//lib/sprockets/context.rb#23 +# pkg:gem/sprockets#lib/sprockets/context.rb:23 class Sprockets::Context::ENVProxy < ::SimpleDelegator # @return [ENVProxy] a new instance of ENVProxy # - # source://sprockets//lib/sprockets/context.rb#24 + # pkg:gem/sprockets#lib/sprockets/context.rb:24 def initialize(context); end - # source://sprockets//lib/sprockets/context.rb#29 + # pkg:gem/sprockets#lib/sprockets/context.rb:29 def [](key); end - # source://sprockets//lib/sprockets/context.rb#34 + # pkg:gem/sprockets#lib/sprockets/context.rb:34 def fetch(key, *_arg1); end end -# source://sprockets//lib/sprockets/errors.rb#9 +# pkg:gem/sprockets#lib/sprockets/errors.rb:9 class Sprockets::ConversionError < ::Sprockets::NotFound; end # `Dependencies` is an internal mixin whose public methods are exposed on the # `Environment` and `CachedEnvironment` classes. # -# source://sprockets//lib/sprockets/dependencies.rb#9 +# pkg:gem/sprockets#lib/sprockets/dependencies.rb:9 module Sprockets::Dependencies include ::Sprockets::URIUtils include ::Sprockets::PathUtils @@ -1479,7 +1479,7 @@ module Sprockets::Dependencies # # Returns nothing. # - # source://sprockets//lib/sprockets/dependencies.rb#48 + # pkg:gem/sprockets#lib/sprockets/dependencies.rb:48 def add_dependency(uri); end # Public: Add environmental dependency inherited by all assets. @@ -1488,14 +1488,14 @@ module Sprockets::Dependencies # # Returns nothing. # - # source://sprockets//lib/sprockets/dependencies.rb#53 + # pkg:gem/sprockets#lib/sprockets/dependencies.rb:53 def depend_on(uri); end # Public: Default set of dependency URIs for assets. # # Returns Set of String URIs. # - # source://sprockets//lib/sprockets/dependencies.rb#25 + # pkg:gem/sprockets#lib/sprockets/dependencies.rb:25 def dependencies; end # Public: Mapping dependency schemes to resolver functions. @@ -1505,7 +1505,7 @@ module Sprockets::Dependencies # # Returns Hash. # - # source://sprockets//lib/sprockets/dependencies.rb#18 + # pkg:gem/sprockets#lib/sprockets/dependencies.rb:18 def dependency_resolvers; end # Public: Register new dependency URI resolver. @@ -1517,21 +1517,21 @@ module Sprockets::Dependencies # # Returns nothing. # - # source://sprockets//lib/sprockets/dependencies.rb#37 + # pkg:gem/sprockets#lib/sprockets/dependencies.rb:37 def register_dependency_resolver(scheme, &block); end # Internal: Resolve dependency URIs. # # Returns resolved Object. # - # source://sprockets//lib/sprockets/dependencies.rb#58 + # pkg:gem/sprockets#lib/sprockets/dependencies.rb:58 def resolve_dependency(str); end end # Internal: Hash functions and digest related utilities. Mixed into # Environment. # -# source://sprockets//lib/sprockets/digest_utils.rb#9 +# pkg:gem/sprockets#lib/sprockets/digest_utils.rb:9 module Sprockets::DigestUtils extend ::Sprockets::DigestUtils @@ -1543,7 +1543,7 @@ module Sprockets::DigestUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/digest_utils.rb#185 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:185 def already_digested?(name); end # Internal: Detect digest class hash algorithm for digest bytes. @@ -1552,7 +1552,7 @@ module Sprockets::DigestUtils # # Returns Digest::Base or nil. # - # source://sprockets//lib/sprockets/digest_utils.rb#32 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:32 def detect_digest_class(bytes); end # Internal: Generate a hexdigest for a nested JSON serializable object. @@ -1564,14 +1564,14 @@ module Sprockets::DigestUtils # # Returns a String digest of the object. # - # source://sprockets//lib/sprockets/digest_utils.rb#87 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:87 def digest(obj); end # Internal: Default digest class. # # Returns a Digest::Base subclass. # - # source://sprockets//lib/sprockets/digest_utils.rb#15 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:15 def digest_class; end # Internal: Generate a hexdigest for a nested JSON serializable object. @@ -1582,7 +1582,7 @@ module Sprockets::DigestUtils # # Returns a String digest of the object. # - # source://sprockets//lib/sprockets/digest_utils.rb#98 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:98 def hexdigest(obj); end # Public: Generate hash for use in the `integrity` attribute of an asset tag @@ -1592,7 +1592,7 @@ module Sprockets::DigestUtils # # Returns a String or nil if hash algorithm is incompatible. # - # source://sprockets//lib/sprockets/digest_utils.rb#176 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:176 def hexdigest_integrity_uri(hexdigest); end # Public: Generate hash for use in the `integrity` attribute of an asset tag @@ -1602,7 +1602,7 @@ module Sprockets::DigestUtils # # Returns a String or nil if hash algorithm is incompatible. # - # source://sprockets//lib/sprockets/digest_utils.rb#154 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:154 def integrity_uri(digest); end # Internal: Pack a binary digest to a base64 encoded string. @@ -1611,7 +1611,7 @@ module Sprockets::DigestUtils # # Returns base64 String. # - # source://sprockets//lib/sprockets/digest_utils.rb#125 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:125 def pack_base64digest(bin); end # Internal: Pack a binary digest to a hex encoded string. @@ -1620,7 +1620,7 @@ module Sprockets::DigestUtils # # Returns hex String. # - # source://sprockets//lib/sprockets/digest_utils.rb#107 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:107 def pack_hexdigest(bin); end # Internal: Pack a binary digest to a urlsafe base64 encoded string. @@ -1629,7 +1629,7 @@ module Sprockets::DigestUtils # # Returns urlsafe base64 String. # - # source://sprockets//lib/sprockets/digest_utils.rb#134 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:134 def pack_urlsafe_base64digest(bin); end # Internal: Unpack a hex encoded digest string into binary bytes. @@ -1638,26 +1638,26 @@ module Sprockets::DigestUtils # # Returns binary String. # - # source://sprockets//lib/sprockets/digest_utils.rb#116 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:116 def unpack_hexdigest(hex); end private - # source://sprockets//lib/sprockets/digest_utils.rb#190 + # pkg:gem/sprockets#lib/sprockets/digest_utils.rb:190 def build_digest(obj); end end -# source://sprockets//lib/sprockets/digest_utils.rb#36 +# pkg:gem/sprockets#lib/sprockets/digest_utils.rb:36 Sprockets::DigestUtils::ADD_VALUE_TO_DIGEST = T.let(T.unsafe(nil), Hash) # Internal: Maps digest bytesize to the digest class. # -# source://sprockets//lib/sprockets/digest_utils.rb#20 +# pkg:gem/sprockets#lib/sprockets/digest_utils.rb:20 Sprockets::DigestUtils::DIGEST_SIZES = T.let(T.unsafe(nil), Hash) # Internal: Maps digest class to the CSP hash algorithm name. # -# source://sprockets//lib/sprockets/digest_utils.rb#142 +# pkg:gem/sprockets#lib/sprockets/digest_utils.rb:142 Sprockets::DigestUtils::HASH_ALGORITHMS = T.let(T.unsafe(nil), Hash) # The `DirectiveProcessor` is responsible for parsing and evaluating @@ -1691,17 +1691,17 @@ Sprockets::DigestUtils::HASH_ALGORITHMS = T.let(T.unsafe(nil), Hash) # # env.register_processor('text/css', MyProcessor) # -# source://sprockets//lib/sprockets/directive_processor.rb#37 +# pkg:gem/sprockets#lib/sprockets/directive_processor.rb:37 class Sprockets::DirectiveProcessor # @return [DirectiveProcessor] a new instance of DirectiveProcessor # - # source://sprockets//lib/sprockets/directive_processor.rb#60 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:60 def initialize(comments: T.unsafe(nil)); end - # source://sprockets//lib/sprockets/directive_processor.rb#68 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:68 def _call(input); end - # source://sprockets//lib/sprockets/directive_processor.rb#64 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:64 def call(input); end protected @@ -1713,7 +1713,7 @@ class Sprockets::DirectiveProcessor # Directives in comments after the first non-whitespace line # of code will not be processed. # - # source://sprockets//lib/sprockets/directive_processor.rb#104 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:104 def compile_header_pattern(comments); end # Returns an Array of directive structures. Each structure @@ -1723,7 +1723,7 @@ class Sprockets::DirectiveProcessor # # [[1, "require", "foo"], [2, "require", "bar"]] # - # source://sprockets//lib/sprockets/directive_processor.rb#141 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:141 def extract_directives(header); end # Allows you to state a dependency on an asset without including @@ -1737,7 +1737,7 @@ class Sprockets::DirectiveProcessor # # //= depend_on_asset "bar.js" # - # source://sprockets//lib/sprockets/directive_processor.rb#284 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:284 def process_depend_on_asset_directive(path); end # Allows you to state a dependency on a file without @@ -1752,7 +1752,7 @@ class Sprockets::DirectiveProcessor # # //= depend_on "foo.png" # - # source://sprockets//lib/sprockets/directive_processor.rb#269 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:269 def process_depend_on_directive(path); end # Allows you to state a dependency on a relative directory @@ -1767,7 +1767,7 @@ class Sprockets::DirectiveProcessor # # //= depend_on_directory ./data # - # source://sprockets//lib/sprockets/directive_processor.rb#300 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:300 def process_depend_on_directory_directive(path = T.unsafe(nil), accept = T.unsafe(nil)); end # Gathers comment directives in the source and processes them. @@ -1792,7 +1792,7 @@ class Sprockets::DirectiveProcessor # env.unregister_processor('text/css', Sprockets::DirectiveProcessor) # env.register_processor('text/css', DirectiveProcessor) # - # source://sprockets//lib/sprockets/directive_processor.rb#186 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:186 def process_directives(directives); end # Declares a linked dependency on the target asset. @@ -1803,7 +1803,7 @@ class Sprockets::DirectiveProcessor # # /*= link "logo.png" */ # - # source://sprockets//lib/sprockets/directive_processor.rb#326 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:326 def process_link_directive(path); end # `link_directory` links all the files inside a single @@ -1817,7 +1817,7 @@ class Sprockets::DirectiveProcessor # # //= link_directory "./scripts" .js # - # source://sprockets//lib/sprockets/directive_processor.rb#342 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:342 def process_link_directory_directive(path = T.unsafe(nil), accept = T.unsafe(nil)); end # `link_tree` links all the nested files in a directory. @@ -1830,7 +1830,7 @@ class Sprockets::DirectiveProcessor # # //= link_tree "./styles" .css # - # source://sprockets//lib/sprockets/directive_processor.rb#358 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:358 def process_link_tree_directive(path = T.unsafe(nil), accept = T.unsafe(nil)); end # The `require` directive functions similar to Ruby's own `require`. @@ -1851,7 +1851,7 @@ class Sprockets::DirectiveProcessor # # //= require "./bar" # - # source://sprockets//lib/sprockets/directive_processor.rb#215 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:215 def process_require_directive(path); end # `require_directory` requires all the files inside a single @@ -1860,7 +1860,7 @@ class Sprockets::DirectiveProcessor # # //= require_directory "./javascripts" # - # source://sprockets//lib/sprockets/directive_processor.rb#242 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:242 def process_require_directory_directive(path = T.unsafe(nil)); end # `require_self` causes the body of the current file to be inserted @@ -1873,7 +1873,7 @@ class Sprockets::DirectiveProcessor # *= require_tree . # */ # - # source://sprockets//lib/sprockets/directive_processor.rb#229 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:229 def process_require_self_directive; end # `require_tree` requires all the nested files in a directory. @@ -1881,10 +1881,10 @@ class Sprockets::DirectiveProcessor # # //= require_tree "./public" # - # source://sprockets//lib/sprockets/directive_processor.rb#252 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:252 def process_require_tree_directive(path = T.unsafe(nil)); end - # source://sprockets//lib/sprockets/directive_processor.rb#118 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:118 def process_source(source); end # Allows dependency to be excluded from the asset bundle. @@ -1895,37 +1895,37 @@ class Sprockets::DirectiveProcessor # # //= stub "jquery" # - # source://sprockets//lib/sprockets/directive_processor.rb#314 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:314 def process_stub_directive(path); end private - # source://sprockets//lib/sprockets/directive_processor.rb#365 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:365 def expand_accept_shorthand(accept); end - # source://sprockets//lib/sprockets/directive_processor.rb#399 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:399 def expand_relative_dirname(directive, path); end - # source://sprockets//lib/sprockets/directive_processor.rb#383 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:383 def link_paths(paths, deps, accept); end - # source://sprockets//lib/sprockets/directive_processor.rb#377 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:377 def require_paths(paths, deps); end - # source://sprockets//lib/sprockets/directive_processor.rb#420 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:420 def resolve(path, **kargs); end - # source://sprockets//lib/sprockets/directive_processor.rb#389 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:389 def resolve_paths(paths, deps, **kargs); end - # source://sprockets//lib/sprockets/directive_processor.rb#415 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:415 def to_load(uri); end class << self - # source://sprockets//lib/sprockets/directive_processor.rb#56 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:56 def call(input); end - # source://sprockets//lib/sprockets/directive_processor.rb#51 + # pkg:gem/sprockets#lib/sprockets/directive_processor.rb:51 def instance; end end end @@ -1939,43 +1939,43 @@ end # //= require foo # //= require "foo" # -# source://sprockets//lib/sprockets/directive_processor.rb#47 +# pkg:gem/sprockets#lib/sprockets/directive_processor.rb:47 Sprockets::DirectiveProcessor::DIRECTIVE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://sprockets//lib/sprockets/base.rb#20 +# pkg:gem/sprockets#lib/sprockets/base.rb:20 class Sprockets::DoubleLinkError < ::Sprockets::Error # @return [DoubleLinkError] a new instance of DoubleLinkError # - # source://sprockets//lib/sprockets/base.rb#21 + # pkg:gem/sprockets#lib/sprockets/base.rb:21 def initialize(parent_filename:, logical_path:, last_filename:, filename:); end end -# source://sprockets//lib/sprockets/erb_processor.rb#4 +# pkg:gem/sprockets#lib/sprockets/erb_processor.rb:4 class Sprockets::ERBProcessor # @return [ERBProcessor] a new instance of ERBProcessor # - # source://sprockets//lib/sprockets/erb_processor.rb#16 + # pkg:gem/sprockets#lib/sprockets/erb_processor.rb:16 def initialize(&block); end - # source://sprockets//lib/sprockets/erb_processor.rb#20 + # pkg:gem/sprockets#lib/sprockets/erb_processor.rb:20 def call(input); end private # @return [Boolean] # - # source://sprockets//lib/sprockets/erb_processor.rb#39 + # pkg:gem/sprockets#lib/sprockets/erb_processor.rb:39 def keyword_constructor?; end class << self - # source://sprockets//lib/sprockets/erb_processor.rb#12 + # pkg:gem/sprockets#lib/sprockets/erb_processor.rb:12 def call(input); end # Public: Return singleton instance with default options. # # Returns ERBProcessor object. # - # source://sprockets//lib/sprockets/erb_processor.rb#8 + # pkg:gem/sprockets#lib/sprockets/erb_processor.rb:8 def instance; end end end @@ -1987,10 +1987,10 @@ end # https://github.com/sstephenson/ruby-eco # https://github.com/sstephenson/eco # -# source://sprockets//lib/sprockets/eco_processor.rb#12 +# pkg:gem/sprockets#lib/sprockets/eco_processor.rb:12 module Sprockets::EcoProcessor class << self - # source://sprockets//lib/sprockets/eco_processor.rb#15 + # pkg:gem/sprockets#lib/sprockets/eco_processor.rb:15 def cache_key; end # Compile template data with Eco compiler. @@ -2000,12 +2000,12 @@ module Sprockets::EcoProcessor # # # => "function(...) {...}" # - # source://sprockets//lib/sprockets/eco_processor.rb#26 + # pkg:gem/sprockets#lib/sprockets/eco_processor.rb:26 def call(input); end end end -# source://sprockets//lib/sprockets/eco_processor.rb#13 +# pkg:gem/sprockets#lib/sprockets/eco_processor.rb:13 Sprockets::EcoProcessor::VERSION = T.let(T.unsafe(nil), String) # Processor engine class for the EJS compiler. Depends on the `ejs` gem. @@ -2014,10 +2014,10 @@ Sprockets::EcoProcessor::VERSION = T.let(T.unsafe(nil), String) # # https://github.com/sstephenson/ruby-ejs # -# source://sprockets//lib/sprockets/ejs_processor.rb#11 +# pkg:gem/sprockets#lib/sprockets/ejs_processor.rb:11 module Sprockets::EjsProcessor class << self - # source://sprockets//lib/sprockets/ejs_processor.rb#14 + # pkg:gem/sprockets#lib/sprockets/ejs_processor.rb:14 def cache_key; end # Compile template data with EJS compiler. @@ -2027,18 +2027,18 @@ module Sprockets::EjsProcessor # # # => "function(obj){...}" # - # source://sprockets//lib/sprockets/ejs_processor.rb#25 + # pkg:gem/sprockets#lib/sprockets/ejs_processor.rb:25 def call(input); end end end -# source://sprockets//lib/sprockets/ejs_processor.rb#12 +# pkg:gem/sprockets#lib/sprockets/ejs_processor.rb:12 Sprockets::EjsProcessor::VERSION = T.let(T.unsafe(nil), String) # Internal: HTTP transport encoding and charset detecting related functions. # Mixed into Environment. # -# source://sprockets//lib/sprockets/encoding_utils.rb#8 +# pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:8 module Sprockets::EncodingUtils extend ::Sprockets::EncodingUtils @@ -2048,7 +2048,7 @@ module Sprockets::EncodingUtils # # Returns a encoded String # - # source://sprockets//lib/sprockets/encoding_utils.rb#72 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:72 def base64(str); end # Internal: Use Charlock Holmes to detect encoding. @@ -2057,7 +2057,7 @@ module Sprockets::EncodingUtils # # Returns encoded String. # - # source://sprockets//lib/sprockets/encoding_utils.rb#121 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:121 def charlock_detect(str); end # Public: Use deflate to compress data. @@ -2066,7 +2066,7 @@ module Sprockets::EncodingUtils # # Returns a compressed String # - # source://sprockets//lib/sprockets/encoding_utils.rb#18 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:18 def deflate(str); end # Public: Basic string detecter. @@ -2078,7 +2078,7 @@ module Sprockets::EncodingUtils # # Returns encoded String. # - # source://sprockets//lib/sprockets/encoding_utils.rb#99 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:99 def detect(str); end # Public: Detect and strip @charset from CSS style sheet. @@ -2087,7 +2087,7 @@ module Sprockets::EncodingUtils # # Returns a encoded String. # - # source://sprockets//lib/sprockets/encoding_utils.rb#177 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:177 def detect_css(str); end # Public: Detect charset from HTML document. @@ -2099,7 +2099,7 @@ module Sprockets::EncodingUtils # # Returns a encoded String. # - # source://sprockets//lib/sprockets/encoding_utils.rb#244 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:244 def detect_html(str); end # Public: Detect Unicode string. @@ -2110,7 +2110,7 @@ module Sprockets::EncodingUtils # # Returns encoded String. # - # source://sprockets//lib/sprockets/encoding_utils.rb#138 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:138 def detect_unicode(str); end # Public: Detect and strip BOM from possible unicode string. @@ -2120,7 +2120,7 @@ module Sprockets::EncodingUtils # Returns UTF 8/16/32 encoded String without BOM or the original String if # no BOM was present. # - # source://sprockets//lib/sprockets/encoding_utils.rb#156 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:156 def detect_unicode_bom(str); end # Public: Use gzip to compress data. @@ -2129,7 +2129,7 @@ module Sprockets::EncodingUtils # # Returns a compressed String # - # source://sprockets//lib/sprockets/encoding_utils.rb#58 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:58 def gzip(str); end # Internal: Scan binary CSS string for @charset encoding name. @@ -2138,7 +2138,7 @@ module Sprockets::EncodingUtils # # Returns encoding String name or nil. # - # source://sprockets//lib/sprockets/encoding_utils.rb#207 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:207 def scan_css_charset(str); end # Internal: Unmarshal optionally deflated data. @@ -2151,29 +2151,29 @@ module Sprockets::EncodingUtils # # Returns unmarshaled Object or raises an Exception. # - # source://sprockets//lib/sprockets/encoding_utils.rb#38 + # pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:38 def unmarshaled_deflated(str, window_bits = T.unsafe(nil)); end end # Internal: Mapping unicode encodings to byte order markers. # -# source://sprockets//lib/sprockets/encoding_utils.rb#83 +# pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:83 Sprockets::EncodingUtils::BOM = T.let(T.unsafe(nil), Hash) # Internal: Shorthand aliases for detecter functions. # -# source://sprockets//lib/sprockets/encoding_utils.rb#80 +# pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:80 Sprockets::EncodingUtils::CHARSET_DETECT = T.let(T.unsafe(nil), Hash) -# source://sprockets//lib/sprockets/encoding_utils.rb#200 +# pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:200 Sprockets::EncodingUtils::CHARSET_SIZE = T.let(T.unsafe(nil), Integer) # Internal: @charset bytes # -# source://sprockets//lib/sprockets/encoding_utils.rb#199 +# pkg:gem/sprockets#lib/sprockets/encoding_utils.rb:199 Sprockets::EncodingUtils::CHARSET_START = T.let(T.unsafe(nil), Array) -# source://sprockets//lib/sprockets/environment.rb#7 +# pkg:gem/sprockets#lib/sprockets/environment.rb:7 class Sprockets::Environment < ::Sprockets::Base # `Environment` should be initialized with your application's root # directory. This should be the same as your Rails or Rack root. @@ -2184,7 +2184,7 @@ class Sprockets::Environment < ::Sprockets::Base # @yield [_self] # @yieldparam _self [Sprockets::Environment] the object that the method was called on # - # source://sprockets//lib/sprockets/environment.rb#13 + # pkg:gem/sprockets#lib/sprockets/environment.rb:13 def initialize(root = T.unsafe(nil)); end # Returns a cached version of the environment. @@ -2193,16 +2193,16 @@ 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 + # pkg:gem/sprockets#lib/sprockets/environment.rb:25 def cached; end - # source://sprockets//lib/sprockets/environment.rb#38 + # pkg:gem/sprockets#lib/sprockets/environment.rb:38 def find_all_linked_assets(*args, &block); end - # source://sprockets//lib/sprockets/environment.rb#30 + # pkg:gem/sprockets#lib/sprockets/environment.rb:30 def find_asset(*args, **options); end - # source://sprockets//lib/sprockets/environment.rb#34 + # pkg:gem/sprockets#lib/sprockets/environment.rb:34 def find_asset!(*args); end # Returns a cached version of the environment. @@ -2211,17 +2211,17 @@ 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#28 + # pkg:gem/sprockets#lib/sprockets/environment.rb:28 def index; end - # source://sprockets//lib/sprockets/environment.rb#42 + # pkg:gem/sprockets#lib/sprockets/environment.rb:42 def load(*args); end end -# source://sprockets//lib/sprockets/errors.rb#4 +# pkg:gem/sprockets#lib/sprockets/errors.rb:4 class Sprockets::Error < ::StandardError; end -# source://sprockets//lib/sprockets/exporters/base.rb#2 +# pkg:gem/sprockets#lib/sprockets/exporters/base.rb:2 module Sprockets::Exporters; end # Convenience class for all exporters to inherit from @@ -2231,7 +2231,7 @@ module Sprockets::Exporters; end # writes the asset to it's destination. The Exporters::Zlib class # writes a gzip copy of the asset to disk. # -# source://sprockets//lib/sprockets/exporters/base.rb#9 +# pkg:gem/sprockets#lib/sprockets/exporters/base.rb:9 class Sprockets::Exporters::Base # Public: Creates new instance # @@ -2248,12 +2248,12 @@ class Sprockets::Exporters::Base # # @return [Base] a new instance of Base # - # source://sprockets//lib/sprockets/exporters/base.rb#24 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:24 def initialize(asset: T.unsafe(nil), environment: T.unsafe(nil), directory: T.unsafe(nil)); end # Returns the value of attribute asset. # - # source://sprockets//lib/sprockets/exporters/base.rb#10 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:10 def asset; end # Public: Contains logic for writing "exporting" asset to disk @@ -2262,17 +2262,17 @@ class Sprockets::Exporters::Base # `call` method. This method takes no arguments and should only use # elements passed in via initialize or stored in `setup`. # - # source://sprockets//lib/sprockets/exporters/base.rb#55 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:55 def call; end # Returns the value of attribute directory. # - # source://sprockets//lib/sprockets/exporters/base.rb#10 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:10 def directory; end # Returns the value of attribute environment. # - # source://sprockets//lib/sprockets/exporters/base.rb#10 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:10 def environment; end # Public: Callback that is executed after initialization @@ -2280,7 +2280,7 @@ class Sprockets::Exporters::Base # Any setup that needs to be done can be performed in the +setup+ # method. It will be called immediately after initialization. # - # source://sprockets//lib/sprockets/exporters/base.rb#36 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:36 def setup; end # Public: Handles logic for skipping exporter and notifying logger @@ -2293,12 +2293,12 @@ class Sprockets::Exporters::Base # # @return [Boolean] # - # source://sprockets//lib/sprockets/exporters/base.rb#46 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:46 def skip?(logger); end # Returns the value of attribute target. # - # source://sprockets//lib/sprockets/exporters/base.rb#10 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:10 def target; end # Public: Yields a file that can be written to with the input @@ -2306,57 +2306,57 @@ class Sprockets::Exporters::Base # `filename`. Defaults to the `target`. Method # is safe to use in forked or threaded environments. # - # source://sprockets//lib/sprockets/exporters/base.rb#63 + # pkg:gem/sprockets#lib/sprockets/exporters/base.rb:63 def write(filename = T.unsafe(nil)); end end # Writes a an asset file to disk # -# source://sprockets//lib/sprockets/exporters/file_exporter.rb#6 +# pkg:gem/sprockets#lib/sprockets/exporters/file_exporter.rb:6 class Sprockets::Exporters::FileExporter < ::Sprockets::Exporters::Base - # source://sprockets//lib/sprockets/exporters/file_exporter.rb#17 + # pkg:gem/sprockets#lib/sprockets/exporters/file_exporter.rb:17 def call; end # @return [Boolean] # - # source://sprockets//lib/sprockets/exporters/file_exporter.rb#7 + # pkg:gem/sprockets#lib/sprockets/exporters/file_exporter.rb:7 def skip?(logger); end end # Generates a `.gz` file using the zlib algorithm built into # Ruby's standard library. # -# source://sprockets//lib/sprockets/exporters/zlib_exporter.rb#8 +# pkg:gem/sprockets#lib/sprockets/exporters/zlib_exporter.rb:8 class Sprockets::Exporters::ZlibExporter < ::Sprockets::Exporters::Base - # source://sprockets//lib/sprockets/exporters/zlib_exporter.rb#26 + # pkg:gem/sprockets#lib/sprockets/exporters/zlib_exporter.rb:26 def call; end - # source://sprockets//lib/sprockets/exporters/zlib_exporter.rb#9 + # pkg:gem/sprockets#lib/sprockets/exporters/zlib_exporter.rb:9 def setup; end # @return [Boolean] # - # source://sprockets//lib/sprockets/exporters/zlib_exporter.rb#14 + # pkg:gem/sprockets#lib/sprockets/exporters/zlib_exporter.rb:14 def skip?(logger); end end # Generates a `.gz` file using the zopfli algorithm from the # Zopfli gem. # -# source://sprockets//lib/sprockets/exporters/zopfli_exporter.rb#7 +# pkg:gem/sprockets#lib/sprockets/exporters/zopfli_exporter.rb:7 class Sprockets::Exporters::ZopfliExporter < ::Sprockets::Exporters::ZlibExporter - # source://sprockets//lib/sprockets/exporters/zopfli_exporter.rb#8 + # pkg:gem/sprockets#lib/sprockets/exporters/zopfli_exporter.rb:8 def setup; end end # `Exporting` is an internal mixin whose public methods are exposed on # the `Environment` and `CachedEnvironment` classes. # -# source://sprockets//lib/sprockets/exporting.rb#4 +# pkg:gem/sprockets#lib/sprockets/exporting.rb:4 module Sprockets::Exporting # Public: Checks if concurrent exporting is allowed # - # source://sprockets//lib/sprockets/exporting.rb#59 + # pkg:gem/sprockets#lib/sprockets/exporting.rb:59 def export_concurrent; end # Public: Enable or disable the concurrently exporting files @@ -2365,12 +2365,12 @@ module Sprockets::Exporting # # environment.export_concurrent = false # - # source://sprockets//lib/sprockets/exporting.rb#69 + # pkg:gem/sprockets#lib/sprockets/exporting.rb:69 def export_concurrent=(export_concurrent); end # Exporters are ran on the assets:precompile task # - # source://sprockets//lib/sprockets/exporting.rb#6 + # pkg:gem/sprockets#lib/sprockets/exporting.rb:6 def exporters; end # Public: Registers a new Exporter `klass` for `mime_type`. @@ -2383,7 +2383,7 @@ module Sprockets::Exporting # This ensures that `Sprockets::Exporters::File` will always execute before # `Sprockets::Exporters::Zlib` # - # source://sprockets//lib/sprockets/exporting.rb#19 + # pkg:gem/sprockets#lib/sprockets/exporting.rb:19 def register_exporter(mime_types, klass = T.unsafe(nil)); end # Public: Remove Exporting processor `klass` for `mime_type`. @@ -2396,23 +2396,23 @@ module Sprockets::Exporting # # Does not remove any exporters that depend on `klass`. # - # source://sprockets//lib/sprockets/exporting.rb#38 + # pkg:gem/sprockets#lib/sprockets/exporting.rb:38 def unregister_exporter(mime_types, exporter = T.unsafe(nil)); end end -# source://sprockets//lib/sprockets/errors.rb#10 +# pkg:gem/sprockets#lib/sprockets/errors.rb:10 class Sprockets::FileNotFound < ::Sprockets::NotFound; end -# source://sprockets//lib/sprockets/errors.rb#11 +# pkg:gem/sprockets#lib/sprockets/errors.rb:11 class Sprockets::FileOutsidePaths < ::Sprockets::NotFound; end # Internal: The first processor in the pipeline that reads the file into # memory and passes it along as `input[:data]`. # -# source://sprockets//lib/sprockets/file_reader.rb#7 +# pkg:gem/sprockets#lib/sprockets/file_reader.rb:7 class Sprockets::FileReader class << self - # source://sprockets//lib/sprockets/file_reader.rb#8 + # pkg:gem/sprockets#lib/sprockets/file_reader.rb:8 def call(input); end end end @@ -2420,7 +2420,7 @@ end # Internal: HTTP URI utilities. Many adapted from Rack::Utils. Mixed into # Environment. # -# source://sprockets//lib/sprockets/http_utils.rb#5 +# pkg:gem/sprockets#lib/sprockets/http_utils.rb:5 module Sprockets::HTTPUtils extend ::Sprockets::HTTPUtils @@ -2431,7 +2431,7 @@ module Sprockets::HTTPUtils # # Returns the matched mime type String from available Array or nil. # - # source://sprockets//lib/sprockets/http_utils.rb#129 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:129 def find_best_mime_type_match(q_value_header, available); end # Internal: Find the best qvalue match from an Array of available options. @@ -2440,7 +2440,7 @@ module Sprockets::HTTPUtils # # Returns the matched String from available Array or nil. # - # source://sprockets//lib/sprockets/http_utils.rb#107 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:107 def find_best_q_match(q_values, available, &matcher); end # Internal: Find the all qvalue match from an Array of available mime type @@ -2450,7 +2450,7 @@ module Sprockets::HTTPUtils # # Returns Array of matched mime type Strings from available Array or []. # - # source://sprockets//lib/sprockets/http_utils.rb#117 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:117 def find_mime_type_matches(q_value_header, available); end # Internal: Find all qvalue matches from an Array of available options. @@ -2459,7 +2459,7 @@ module Sprockets::HTTPUtils # # Returns Array of matched Strings from available Array or []. # - # source://sprockets//lib/sprockets/http_utils.rb#74 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:74 def find_q_matches(q_values, available, &matcher); end # Public: Test mime type against mime range. @@ -2473,7 +2473,7 @@ module Sprockets::HTTPUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/http_utils.rb#16 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:16 def match_mime_type?(value, matcher); end # Public: Return values from Hash where the key matches the mime type. @@ -2483,7 +2483,7 @@ module Sprockets::HTTPUtils # # Returns Array of Object values. # - # source://sprockets//lib/sprockets/http_utils.rb#28 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:28 def match_mime_type_keys(hash, mime_type); end # Internal: Parse Accept header quality values. @@ -2507,38 +2507,38 @@ module Sprockets::HTTPUtils # # Returns an Array of [String, Float]. # - # source://sprockets//lib/sprockets/http_utils.rb#58 + # pkg:gem/sprockets#lib/sprockets/http_utils.rb:58 def parse_q_values(values); end end -# source://sprockets//lib/sprockets/jsminc_compressor.rb#6 +# pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:6 class Sprockets::JSMincCompressor # @return [JSMincCompressor] a new instance of JSMincCompressor # - # source://sprockets//lib/sprockets/jsminc_compressor.rb#23 + # pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:23 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/jsminc_compressor.rb#21 + # pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:21 def cache_key; end - # source://sprockets//lib/sprockets/jsminc_compressor.rb#28 + # pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:28 def call(input); end class << self - # source://sprockets//lib/sprockets/jsminc_compressor.rb#17 + # pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:17 def cache_key; end - # source://sprockets//lib/sprockets/jsminc_compressor.rb#13 + # pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:13 def call(input); end - # source://sprockets//lib/sprockets/jsminc_compressor.rb#9 + # pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:9 def instance; end end end -# source://sprockets//lib/sprockets/jsminc_compressor.rb#7 +# pkg:gem/sprockets#lib/sprockets/jsminc_compressor.rb:7 Sprockets::JSMincCompressor::VERSION = T.let(T.unsafe(nil), String) # Public: JST transformer. @@ -2559,28 +2559,28 @@ Sprockets::JSMincCompressor::VERSION = T.let(T.unsafe(nil), String) # 'application/javascript+function', # 'application/javascript', JstProcessor.new(namespace: 'App.templates') # -# source://sprockets//lib/sprockets/jst_processor.rb#21 +# pkg:gem/sprockets#lib/sprockets/jst_processor.rb:21 class Sprockets::JstProcessor # @return [JstProcessor] a new instance of JstProcessor # - # source://sprockets//lib/sprockets/jst_processor.rb#37 + # pkg:gem/sprockets#lib/sprockets/jst_processor.rb:37 def initialize(namespace: T.unsafe(nil)); end - # source://sprockets//lib/sprockets/jst_processor.rb#41 + # pkg:gem/sprockets#lib/sprockets/jst_processor.rb:41 def call(input); end class << self - # source://sprockets//lib/sprockets/jst_processor.rb#33 + # pkg:gem/sprockets#lib/sprockets/jst_processor.rb:33 def call(input); end - # source://sprockets//lib/sprockets/jst_processor.rb#22 + # pkg:gem/sprockets#lib/sprockets/jst_processor.rb:22 def default_namespace; end # Public: Return singleton instance with default options. # # Returns JstProcessor object. # - # source://sprockets//lib/sprockets/jst_processor.rb#29 + # pkg:gem/sprockets#lib/sprockets/jst_processor.rb:29 def instance; end end end @@ -2588,7 +2588,7 @@ end # The loader phase takes a asset URI location and returns a constructed Asset # object. # -# source://sprockets//lib/sprockets/loader.rb#19 +# pkg:gem/sprockets#lib/sprockets/loader.rb:19 module Sprockets::Loader include ::Sprockets::URIUtils include ::Sprockets::Utils @@ -2610,7 +2610,7 @@ module Sprockets::Loader # # Returns Asset. # - # source://sprockets//lib/sprockets/loader.rb#31 + # pkg:gem/sprockets#lib/sprockets/loader.rb:31 def load(uri); end private @@ -2622,13 +2622,13 @@ module Sprockets::Loader # This method converts all "compressed" paths to absolute paths. # Returns a hash of values representing an asset # - # source://sprockets//lib/sprockets/loader.rb#111 + # pkg:gem/sprockets#lib/sprockets/loader.rb:111 def asset_from_cache(key); end - # source://sprockets//lib/sprockets/loader.rb#67 + # pkg:gem/sprockets#lib/sprockets/loader.rb:67 def compress_key_from_hash(hash, key); end - # source://sprockets//lib/sprockets/loader.rb#87 + # pkg:gem/sprockets#lib/sprockets/loader.rb:87 def expand_key_from_hash(hash, key); end # Internal: Retrieves an asset based on its digest @@ -2664,7 +2664,7 @@ module Sprockets::Loader # When this happens the dependencies for the returned asset are added to the "history", and older # entries are removed if the "history" is above `limit`. # - # source://sprockets//lib/sprockets/loader.rb#325 + # pkg:gem/sprockets#lib/sprockets/loader.rb:325 def fetch_asset_from_dependency_cache(unloaded, limit = T.unsafe(nil)); end # Internal: Loads an asset and saves it to cache @@ -2674,7 +2674,7 @@ module Sprockets::Loader # This method is only called when the given unloaded asset could not be # successfully pulled from cache. # - # source://sprockets//lib/sprockets/loader.rb#139 + # pkg:gem/sprockets#lib/sprockets/loader.rb:139 def load_from_unloaded(unloaded); end # Internal: Resolve set of dependency URIs. @@ -2695,7 +2695,7 @@ module Sprockets::Loader # # Returns array of resolved dependencies # - # source://sprockets//lib/sprockets/loader.rb#289 + # pkg:gem/sprockets#lib/sprockets/loader.rb:289 def resolve_dependencies(uris); end # Internal: Save a given asset to the cache @@ -2706,7 +2706,7 @@ module Sprockets::Loader # This method converts all absolute paths to "compressed" paths # which are relative if they're in the root. # - # source://sprockets//lib/sprockets/loader.rb#239 + # pkg:gem/sprockets#lib/sprockets/loader.rb:239 def store_asset(asset, unloaded); end end @@ -2720,7 +2720,7 @@ end # that don't have sprockets loaded. See `#assets` and `#files` for more # information about the structure. # -# source://sprockets//lib/sprockets/manifest.rb#19 +# pkg:gem/sprockets#lib/sprockets/manifest.rb:19 class Sprockets::Manifest include ::Sprockets::ManifestUtils @@ -2734,7 +2734,7 @@ class Sprockets::Manifest # # @return [Manifest] a new instance of Manifest # - # source://sprockets//lib/sprockets/manifest.rb#32 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:32 def initialize(*args); end # Returns internal assets mapping. Keys are logical paths which @@ -2745,7 +2745,7 @@ class Sprockets::Manifest # { "application.js" => "application-2e8e9a7c6b0aafa0c9bdeec90ea30213.js", # "jquery.js" => "jquery-ae0908555a245f8266f77df5a8edca2e.js" } # - # source://sprockets//lib/sprockets/manifest.rb#91 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:91 def assets; end # Cleanup old assets in the compile directory. By default it will @@ -2758,12 +2758,12 @@ class Sprockets::Manifest # To only keep files created within the last 10 minutes, set count=0 and # age=600. # - # source://sprockets//lib/sprockets/manifest.rb#246 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:246 def clean(count = T.unsafe(nil), age = T.unsafe(nil)); end # Wipe directive # - # source://sprockets//lib/sprockets/manifest.rb#269 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:269 def clobber; end # Compile asset to directory. The asset is written to a @@ -2773,27 +2773,27 @@ class Sprockets::Manifest # # compile("application.js") # - # source://sprockets//lib/sprockets/manifest.rb#161 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:161 def compile(*args); end # Returns the value of attribute directory. # - # source://sprockets//lib/sprockets/manifest.rb#81 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:81 def dir; end # Returns the value of attribute directory. # - # source://sprockets//lib/sprockets/manifest.rb#80 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:80 def directory; end # Returns the value of attribute environment. # - # source://sprockets//lib/sprockets/manifest.rb#22 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:22 def environment; end # Returns String path to manifest.json file. # - # source://sprockets//lib/sprockets/manifest.rb#77 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:77 def filename; end # Returns internal file directory listing. Keys are filenames @@ -2809,26 +2809,26 @@ class Sprockets::Manifest # 'mtime' => "2011-12-13T21:47:08-06:00", # 'digest' => "2e8e9a7c6b0aafa0c9bdeec90ea30213" } } # - # source://sprockets//lib/sprockets/manifest.rb#108 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:108 def files; end # Public: Find all assets matching pattern set in environment. # # Returns Enumerator of Assets. # - # source://sprockets//lib/sprockets/manifest.rb#115 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:115 def find(*args, &block); end # Public: Find the source of assets by paths. # # Returns Enumerator of assets file content. # - # source://sprockets//lib/sprockets/manifest.rb#139 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:139 def find_sources(*args); end # Returns String path to manifest.json file. # - # source://sprockets//lib/sprockets/manifest.rb#78 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:78 def path; end # Removes file from directory and from manifest. `filename` must @@ -2836,17 +2836,17 @@ class Sprockets::Manifest # # manifest.remove("application-2e8e9a7c6b0aafa0c9bdeec90ea30213.js") # - # source://sprockets//lib/sprockets/manifest.rb#216 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:216 def remove(filename); end # Persist manifest back to FS # - # source://sprockets//lib/sprockets/manifest.rb#278 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:278 def save; end private - # source://sprockets//lib/sprockets/manifest.rb#335 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:335 def executor; end # Given an asset, finds all exporters that @@ -2861,22 +2861,22 @@ class Sprockets::Manifest # end # # puts array => [Exporters::FileExporter, Exporters::ZlibExporter] # - # source://sprockets//lib/sprockets/manifest.rb#299 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:299 def exporters_for_asset(asset); end - # source://sprockets//lib/sprockets/manifest.rb#317 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:317 def json_decode(obj); end - # source://sprockets//lib/sprockets/manifest.rb#321 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:321 def json_encode(obj); end - # source://sprockets//lib/sprockets/manifest.rb#325 + # pkg:gem/sprockets#lib/sprockets/manifest.rb:325 def logger; end end # Public: Manifest utilities. # -# source://sprockets//lib/sprockets/manifest_utils.rb#7 +# pkg:gem/sprockets#lib/sprockets/manifest_utils.rb:7 module Sprockets::ManifestUtils extend ::Sprockets::ManifestUtils @@ -2891,7 +2891,7 @@ module Sprockets::ManifestUtils # # Returns String filename. # - # source://sprockets//lib/sprockets/manifest_utils.rb#37 + # pkg:gem/sprockets#lib/sprockets/manifest_utils.rb:37 def find_directory_manifest(dirname, logger = T.unsafe(nil)); end # Public: Generate a new random manifest path. @@ -2906,14 +2906,14 @@ module Sprockets::ManifestUtils # # Return String path. # - # source://sprockets//lib/sprockets/manifest_utils.rb#23 + # pkg:gem/sprockets#lib/sprockets/manifest_utils.rb:23 def generate_manifest_path; end end -# source://sprockets//lib/sprockets/manifest_utils.rb#10 +# pkg:gem/sprockets#lib/sprockets/manifest_utils.rb:10 Sprockets::ManifestUtils::MANIFEST_RE = T.let(T.unsafe(nil), Regexp) -# source://sprockets//lib/sprockets/mime.rb#7 +# pkg:gem/sprockets#lib/sprockets/mime.rb:7 module Sprockets::Mime include ::Sprockets::Utils include ::Sprockets::HTTPUtils @@ -2931,7 +2931,7 @@ module Sprockets::Mime # # Returns Hash. # - # source://sprockets//lib/sprockets/mime.rb#34 + # pkg:gem/sprockets#lib/sprockets/mime.rb:34 def mime_exts; end # Internal: Get detecter function for MIME type. @@ -2940,7 +2940,7 @@ module Sprockets::Mime # # Returns Proc detector or nil if none is available. # - # source://sprockets//lib/sprockets/mime.rb#71 + # pkg:gem/sprockets#lib/sprockets/mime.rb:71 def mime_type_charset_detecter(mime_type); end # Public: Mapping of MIME type Strings to properties Hash. @@ -2952,7 +2952,7 @@ module Sprockets::Mime # # Returns Hash. # - # source://sprockets//lib/sprockets/mime.rb#18 + # pkg:gem/sprockets#lib/sprockets/mime.rb:18 def mime_types; end # Public: Read file on disk with MIME type specific encoding. @@ -2963,7 +2963,7 @@ module Sprockets::Mime # Returns String file contents transcoded to UTF-8 or in its external # encoding. # - # source://sprockets//lib/sprockets/mime.rb#86 + # pkg:gem/sprockets#lib/sprockets/mime.rb:86 def read_file(filename, content_type = T.unsafe(nil)); end # Public: Register a new mime type. @@ -2975,17 +2975,17 @@ module Sprockets::Mime # # Returns nothing. # - # source://sprockets//lib/sprockets/mime.rb#46 + # pkg:gem/sprockets#lib/sprockets/mime.rb:46 def register_mime_type(mime_type, extensions: T.unsafe(nil), charset: T.unsafe(nil)); end end -# source://sprockets//lib/sprockets/errors.rb#8 +# pkg:gem/sprockets#lib/sprockets/errors.rb:8 class Sprockets::NotFound < ::Sprockets::Error; end -# source://sprockets//lib/sprockets/errors.rb#7 +# pkg:gem/sprockets#lib/sprockets/errors.rb:7 class Sprockets::NotImplementedError < ::Sprockets::Error; end -# source://sprockets//lib/sprockets/npm.rb#5 +# pkg:gem/sprockets#lib/sprockets/npm.rb:5 module Sprockets::Npm # Internal: Read package.json's main and style directives. # @@ -2996,7 +2996,7 @@ module Sprockets::Npm # # @yield [File.expand_path(package['style'], dirname)] # - # source://sprockets//lib/sprockets/npm.rb#39 + # pkg:gem/sprockets#lib/sprockets/npm.rb:39 def read_package_directives(dirname, filename); end # Internal: Override resolve_alternates to install package.json behavior. @@ -3006,7 +3006,7 @@ module Sprockets::Npm # # Returns candidate filenames. # - # source://sprockets//lib/sprockets/npm.rb#12 + # pkg:gem/sprockets#lib/sprockets/npm.rb:12 def resolve_alternates(load_path, logical_path); end end @@ -3035,7 +3035,7 @@ end # resolve_dependencies(deps) # # => "\x03\x04\x05" # -# source://sprockets//lib/sprockets/path_dependency_utils.rb#32 +# pkg:gem/sprockets#lib/sprockets/path_dependency_utils.rb:32 module Sprockets::PathDependencyUtils include ::Sprockets::PathUtils include ::Sprockets::URIUtils @@ -3049,7 +3049,7 @@ module Sprockets::PathDependencyUtils # # Returns an Array of entry names and a Set of dependency URIs. # - # source://sprockets//lib/sprockets/path_dependency_utils.rb#44 + # pkg:gem/sprockets#lib/sprockets/path_dependency_utils.rb:44 def entries_with_dependencies(path); end # Internal: List directory filenames and associated Stats under a @@ -3061,7 +3061,7 @@ module Sprockets::PathDependencyUtils # # Returns an Array of filenames and a Set of dependency URIs. # - # source://sprockets//lib/sprockets/path_dependency_utils.rb#56 + # pkg:gem/sprockets#lib/sprockets/path_dependency_utils.rb:56 def stat_directory_with_dependencies(dir); end # Internal: List directory filenames and associated Stats under an entire @@ -3073,13 +3073,13 @@ module Sprockets::PathDependencyUtils # # Returns an Array of filenames and a Set of dependency URIs. # - # source://sprockets//lib/sprockets/path_dependency_utils.rb#68 + # pkg:gem/sprockets#lib/sprockets/path_dependency_utils.rb:68 def stat_sorted_tree_with_dependencies(dir); end end # Internal: Crossover of path and digest utilities functions. # -# source://sprockets//lib/sprockets/path_digest_utils.rb#7 +# pkg:gem/sprockets#lib/sprockets/path_digest_utils.rb:7 module Sprockets::PathDigestUtils include ::Sprockets::PathUtils include ::Sprockets::DigestUtils @@ -3090,7 +3090,7 @@ module Sprockets::PathDigestUtils # # Returns String digest bytes or nil. # - # source://sprockets//lib/sprockets/path_digest_utils.rb#33 + # pkg:gem/sprockets#lib/sprockets/path_digest_utils.rb:33 def file_digest(path); end # Internal: Compute digest for a set of paths. @@ -3099,7 +3099,7 @@ module Sprockets::PathDigestUtils # # Returns String digest bytes. # - # source://sprockets//lib/sprockets/path_digest_utils.rb#44 + # pkg:gem/sprockets#lib/sprockets/path_digest_utils.rb:44 def files_digest(paths); end # Internal: Compute digest for file stat. @@ -3109,7 +3109,7 @@ module Sprockets::PathDigestUtils # # Returns String digest bytes. # - # source://sprockets//lib/sprockets/path_digest_utils.rb#16 + # pkg:gem/sprockets#lib/sprockets/path_digest_utils.rb:16 def stat_digest(path, stat); end end @@ -3118,7 +3118,7 @@ end # Probably would be called FileUtils, but that causes namespace annoyances # when code actually wants to reference ::FileUtils. # -# source://sprockets//lib/sprockets/path_utils.rb#7 +# pkg:gem/sprockets#lib/sprockets/path_utils.rb:7 module Sprockets::PathUtils extend ::Sprockets::PathUtils @@ -3127,7 +3127,7 @@ module Sprockets::PathUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/path_utils.rb#83 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:83 def absolute_path?(path); end # Public: Write to a file atomically. Useful for situations where you @@ -3139,7 +3139,7 @@ module Sprockets::PathUtils # # Returns nothing. # - # source://sprockets//lib/sprockets/path_utils.rb#348 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:348 def atomic_write(filename); end # Public: Like `File.directory?`. @@ -3150,7 +3150,7 @@ module Sprockets::PathUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/path_utils.rb#42 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:42 def directory?(path); end # Public: A version of `Dir.entries` that filters out `.` files and `~` @@ -3160,7 +3160,7 @@ module Sprockets::PathUtils # # Returns an empty `Array` if the directory does not exist. # - # source://sprockets//lib/sprockets/path_utils.rb#56 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:56 def entries(path); end # Public: Like `File.file?`. @@ -3171,7 +3171,7 @@ module Sprockets::PathUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/path_utils.rb#29 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:29 def file?(path); end # Internal: Match paths in a directory against available extensions. @@ -3188,7 +3188,7 @@ module Sprockets::PathUtils # # Returns an Array of [String path, Object value] matches. # - # source://sprockets//lib/sprockets/path_utils.rb#231 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:231 def find_matching_path_for_extensions(path, basename, extensions); end # Internal: Find target basename checking upwards from path. @@ -3199,7 +3199,7 @@ module Sprockets::PathUtils # # Returns String filename or nil. # - # source://sprockets//lib/sprockets/path_utils.rb#273 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:273 def find_upwards(basename, path, root = T.unsafe(nil)); end # Public: Joins path to base path. @@ -3214,7 +3214,7 @@ module Sprockets::PathUtils # # Returns string path starting from base and ending at path # - # source://sprockets//lib/sprockets/path_utils.rb#127 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:127 def join(base, path); end # Internal: Match path extnames against available extensions. @@ -3224,7 +3224,7 @@ module Sprockets::PathUtils # # Returns [String extname, Object value] or nil nothing matched. # - # source://sprockets//lib/sprockets/path_utils.rb#202 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:202 def match_path_extname(path, extensions); end # Internal: Get path's extensions. @@ -3233,7 +3233,7 @@ module Sprockets::PathUtils # # Returns an Array of String extnames. # - # source://sprockets//lib/sprockets/path_utils.rb#192 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:192 def path_extnames(path); end # Internal: Returns all parents for path @@ -3243,7 +3243,7 @@ module Sprockets::PathUtils # # Returns an Array of String paths. # - # source://sprockets//lib/sprockets/path_utils.rb#252 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:252 def path_parents(path, root = T.unsafe(nil)); end # Internal: Detect root path and base for file in a set of paths. @@ -3253,7 +3253,7 @@ module Sprockets::PathUtils # # Returns [String root, String path] # - # source://sprockets//lib/sprockets/path_utils.rb#178 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:178 def paths_split(paths, filename); end # Public: Check if path is explicitly relative. @@ -3265,7 +3265,7 @@ module Sprockets::PathUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/path_utils.rb#100 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:100 def relative_path?(path); end # Public: Get relative path from `start` to `dest`. @@ -3275,7 +3275,7 @@ module Sprockets::PathUtils # # Returns relative String path from `start` to `dest` # - # source://sprockets//lib/sprockets/path_utils.rb#110 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:110 def relative_path_from(start, dest); end # Public: Sets pipeline for path @@ -3294,7 +3294,7 @@ module Sprockets::PathUtils # # Returns string path with pipeline parsed in # - # source://sprockets//lib/sprockets/path_utils.rb#146 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:146 def set_pipeline(path, mime_exts, pipeline_exts, pipeline); end # Internal: Get relative path for root path and subpath. @@ -3305,7 +3305,7 @@ module Sprockets::PathUtils # Returns relative String path if subpath is a subpath of path, or nil if # subpath is outside of path. # - # source://sprockets//lib/sprockets/path_utils.rb#162 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:162 def split_subpath(path, subpath); end # Public: Like `File.stat`. @@ -3314,7 +3314,7 @@ module Sprockets::PathUtils # # Returns nil if the file does not exist. # - # source://sprockets//lib/sprockets/path_utils.rb#16 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:16 def stat(path); end # Public: Stat all the files under a directory. @@ -3323,7 +3323,7 @@ module Sprockets::PathUtils # # Returns an Enumerator of [path, stat]. # - # source://sprockets//lib/sprockets/path_utils.rb#286 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:286 def stat_directory(dir); end # Public: Recursive stat all the files under a directory in alphabetical @@ -3333,7 +3333,7 @@ module Sprockets::PathUtils # # Returns an Enumerator of [path, stat]. # - # source://sprockets//lib/sprockets/path_utils.rb#324 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:324 def stat_sorted_tree(dir, &block); end # Public: Recursive stat all the files under a directory. @@ -3342,14 +3342,14 @@ module Sprockets::PathUtils # # Returns an Enumerator of [path, stat]. # - # source://sprockets//lib/sprockets/path_utils.rb#304 + # pkg:gem/sprockets#lib/sprockets/path_utils.rb:304 def stat_tree(dir, &block); end end -# source://sprockets//lib/sprockets/path_utils.rb#91 +# pkg:gem/sprockets#lib/sprockets/path_utils.rb:91 Sprockets::PathUtils::SEPARATOR_PATTERN = T.let(T.unsafe(nil), String) -# source://sprockets//lib/sprockets/paths.rb#6 +# pkg:gem/sprockets#lib/sprockets/paths.rb:6 module Sprockets::Paths include ::Sprockets::Utils include ::Sprockets::PathUtils @@ -3358,7 +3358,7 @@ module Sprockets::Paths # # Paths at the beginning of the `Array` have a higher priority. # - # source://sprockets//lib/sprockets/paths.rb#47 + # pkg:gem/sprockets#lib/sprockets/paths.rb:47 def append_path(path); end # Clear all paths and start fresh. @@ -3367,28 +3367,28 @@ module Sprockets::Paths # completely wipe the paths list and reappend them in the order # you want. # - # source://sprockets//lib/sprockets/paths.rb#59 + # pkg:gem/sprockets#lib/sprockets/paths.rb:59 def clear_paths; end # Public: Iterate over every file under all load paths. # # Returns Enumerator if no block is given. # - # source://sprockets//lib/sprockets/paths.rb#68 + # pkg:gem/sprockets#lib/sprockets/paths.rb:68 def each_file; end # Returns an `Array` of path `String`s. # # These paths will be used for asset logical path lookups. # - # source://sprockets//lib/sprockets/paths.rb#30 + # pkg:gem/sprockets#lib/sprockets/paths.rb:30 def paths; end # Prepend a `path` to the `paths` list. # # Paths at the end of the `Array` have the least priority. # - # source://sprockets//lib/sprockets/paths.rb#37 + # pkg:gem/sprockets#lib/sprockets/paths.rb:37 def prepend_path(path); end # Returns `Environment` root. @@ -3396,7 +3396,7 @@ module Sprockets::Paths # All relative paths are expanded with root as its base. To be # useful set this to your applications root directory. (`Rails.root`) # - # source://sprockets//lib/sprockets/paths.rb#13 + # pkg:gem/sprockets#lib/sprockets/paths.rb:13 def root; end private @@ -3405,11 +3405,11 @@ module Sprockets::Paths # # Only the initializer should change the root. # - # source://sprockets//lib/sprockets/paths.rb#20 + # pkg:gem/sprockets#lib/sprockets/paths.rb:20 def root=(path); end end -# source://sprockets//lib/sprockets/preprocessors/default_source_map.rb#3 +# pkg:gem/sprockets#lib/sprockets/preprocessors/default_source_map.rb:3 module Sprockets::Preprocessors; end # Private: Adds a default map to assets when one is not present @@ -3419,21 +3419,21 @@ module Sprockets::Preprocessors; end # Because other generators run after might depend on having a valid source map # available. # -# source://sprockets//lib/sprockets/preprocessors/default_source_map.rb#10 +# pkg:gem/sprockets#lib/sprockets/preprocessors/default_source_map.rb:10 class Sprockets::Preprocessors::DefaultSourceMap - # source://sprockets//lib/sprockets/preprocessors/default_source_map.rb#11 + # pkg:gem/sprockets#lib/sprockets/preprocessors/default_source_map.rb:11 def call(input); end private - # source://sprockets//lib/sprockets/preprocessors/default_source_map.rb#38 + # pkg:gem/sprockets#lib/sprockets/preprocessors/default_source_map.rb:38 def default_mappings(lines); end end # `Processing` is an internal mixin whose public methods are exposed on # the `Environment` and `CachedEnvironment` classes. # -# source://sprockets//lib/sprockets/processing.rb#11 +# pkg:gem/sprockets#lib/sprockets/processing.rb:11 module Sprockets::Processing include ::Sprockets::Utils include ::Sprockets::URIUtils @@ -3442,27 +3442,27 @@ module Sprockets::Processing # Bundle Processors are ran on concatenated assets rather than # individual files. # - # source://sprockets//lib/sprockets/processing.rb#95 + # pkg:gem/sprockets#lib/sprockets/processing.rb:95 def bundle_processors; end - # source://sprockets//lib/sprockets/processing.rb#14 + # pkg:gem/sprockets#lib/sprockets/processing.rb:14 def pipelines; end # Postprocessors are ran after Preprocessors and Engine processors. # - # source://sprockets//lib/sprockets/processing.rb#39 + # pkg:gem/sprockets#lib/sprockets/processing.rb:39 def postprocessors; end # Preprocessors are ran before Postprocessors and Engine # processors. # - # source://sprockets//lib/sprockets/processing.rb#33 + # pkg:gem/sprockets#lib/sprockets/processing.rb:33 def preprocessors; end # Preprocessors are ran before Postprocessors and Engine # processors. # - # source://sprockets//lib/sprockets/processing.rb#36 + # pkg:gem/sprockets#lib/sprockets/processing.rb:36 def processors; end # Public: Register bundle metadata reducer function. @@ -3482,7 +3482,7 @@ module Sprockets::Processing # # Returns nothing. # - # source://sprockets//lib/sprockets/processing.rb#137 + # pkg:gem/sprockets#lib/sprockets/processing.rb:137 def register_bundle_metadata_reducer(mime_type, key, *args, &block); end # Registers a new Bundle Processor `klass` for `mime_type`. @@ -3495,12 +3495,12 @@ module Sprockets::Processing # input[:data].gsub(...) # end # - # source://sprockets//lib/sprockets/processing.rb#109 + # pkg:gem/sprockets#lib/sprockets/processing.rb:109 def register_bundle_processor(*args, &block); end # Registers a pipeline that will be called by `call_processor` method. # - # source://sprockets//lib/sprockets/processing.rb#19 + # pkg:gem/sprockets#lib/sprockets/processing.rb:19 def register_pipeline(name, proc = T.unsafe(nil), &block); end # Registers a new Postprocessor `klass` for `mime_type`. @@ -3513,7 +3513,7 @@ module Sprockets::Processing # input[:data].gsub(...) # end # - # source://sprockets//lib/sprockets/processing.rb#69 + # pkg:gem/sprockets#lib/sprockets/processing.rb:69 def register_postprocessor(*args, &block); end # Registers a new Preprocessor `klass` for `mime_type`. @@ -3526,7 +3526,7 @@ module Sprockets::Processing # input[:data].gsub(...) # end # - # source://sprockets//lib/sprockets/processing.rb#53 + # pkg:gem/sprockets#lib/sprockets/processing.rb:53 def register_preprocessor(*args, &block); end # Registers a new Preprocessor `klass` for `mime_type`. @@ -3539,60 +3539,60 @@ module Sprockets::Processing # input[:data].gsub(...) # end # - # source://sprockets//lib/sprockets/processing.rb#57 + # pkg:gem/sprockets#lib/sprockets/processing.rb:57 def register_processor(*args, &block); end # Remove Bundle Processor `klass` for `mime_type`. # # unregister_bundle_processor 'application/javascript', Sprockets::DirectiveProcessor # - # source://sprockets//lib/sprockets/processing.rb#117 + # pkg:gem/sprockets#lib/sprockets/processing.rb:117 def unregister_bundle_processor(*args); end # Remove Postprocessor `klass` for `mime_type`. # # unregister_postprocessor 'text/css', Sprockets::DirectiveProcessor # - # source://sprockets//lib/sprockets/processing.rb#88 + # pkg:gem/sprockets#lib/sprockets/processing.rb:88 def unregister_postprocessor(*args); end # Remove Preprocessor `klass` for `mime_type`. # # unregister_preprocessor 'text/css', Sprockets::DirectiveProcessor # - # source://sprockets//lib/sprockets/processing.rb#78 + # pkg:gem/sprockets#lib/sprockets/processing.rb:78 def unregister_preprocessor(*args); end # Remove Preprocessor `klass` for `mime_type`. # # unregister_preprocessor 'text/css', Sprockets::DirectiveProcessor # - # source://sprockets//lib/sprockets/processing.rb#82 + # pkg:gem/sprockets#lib/sprockets/processing.rb:82 def unregister_processor(*args); end protected - # source://sprockets//lib/sprockets/processing.rb#168 + # pkg:gem/sprockets#lib/sprockets/processing.rb:168 def build_processors_uri(type, file_type, pipeline); end - # source://sprockets//lib/sprockets/processing.rb#186 + # pkg:gem/sprockets#lib/sprockets/processing.rb:186 def default_processors_for(type, file_type); end - # source://sprockets//lib/sprockets/processing.rb#177 + # pkg:gem/sprockets#lib/sprockets/processing.rb:177 def processors_for(type, file_type, pipeline); end - # source://sprockets//lib/sprockets/processing.rb#162 + # pkg:gem/sprockets#lib/sprockets/processing.rb:162 def resolve_processors_cache_key_uri(uri); end - # source://sprockets//lib/sprockets/processing.rb#195 + # pkg:gem/sprockets#lib/sprockets/processing.rb:195 def self_processors_for(type, file_type); end private - # source://sprockets//lib/sprockets/processing.rb#212 + # pkg:gem/sprockets#lib/sprockets/processing.rb:212 def register_config_processor(type, mime_type, processor = T.unsafe(nil), &block); end - # source://sprockets//lib/sprockets/processing.rb#221 + # pkg:gem/sprockets#lib/sprockets/processing.rb:221 def unregister_config_processor(type, mime_type, processor); end end @@ -3609,7 +3609,7 @@ end # Unfortunately, this means that processors can not compose via ordinary # function composition. The composition helpers here can help. # -# source://sprockets//lib/sprockets/processor_utils.rb#17 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:17 module Sprockets::ProcessorUtils extend ::Sprockets::ProcessorUtils @@ -3620,7 +3620,7 @@ module Sprockets::ProcessorUtils # # Returns a Hash with :data and other processor metadata key/values. # - # source://sprockets//lib/sprockets/processor_utils.rb#80 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:80 def call_processor(processor, input); end # Public: Invoke list of processors in right to left order. @@ -3635,7 +3635,7 @@ module Sprockets::ProcessorUtils # # Returns a Hash with :data and other processor metadata key/values. # - # source://sprockets//lib/sprockets/processor_utils.rb#61 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:61 def call_processors(processors, input); end # Public: Compose processors in right to left order. @@ -3644,7 +3644,7 @@ module Sprockets::ProcessorUtils # # Returns a composed Proc. # - # source://sprockets//lib/sprockets/processor_utils.rb#46 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:46 def compose_processors(*processors); end # Internal: Get processor defined cached key. @@ -3653,7 +3653,7 @@ module Sprockets::ProcessorUtils # # Returns JSON serializable key or nil. # - # source://sprockets//lib/sprockets/processor_utils.rb#101 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:101 def processor_cache_key(processor); end # Internal: Get combined cache keys for set of processors. @@ -3662,7 +3662,7 @@ module Sprockets::ProcessorUtils # # Returns Array of JSON serializable keys. # - # source://sprockets//lib/sprockets/processor_utils.rb#110 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:110 def processors_cache_keys(processors); end # Internal: Validate returned result of calling a processor pipeline and @@ -3672,58 +3672,58 @@ module Sprockets::ProcessorUtils # # Returns result or raises a TypeError. # - # source://sprockets//lib/sprockets/processor_utils.rb#152 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:152 def validate_processor_result!(result); end end -# source://sprockets//lib/sprockets/processor_utils.rb#20 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:20 class Sprockets::ProcessorUtils::CompositeProcessor < ::Struct - # source://sprockets//lib/sprockets/processor_utils.rb#36 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:36 def cache_key; end - # source://sprockets//lib/sprockets/processor_utils.rb#32 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:32 def call(input); end class << self - # source://sprockets//lib/sprockets/processor_utils.rb#24 + # pkg:gem/sprockets#lib/sprockets/processor_utils.rb:24 def create(processors); end end end -# source://sprockets//lib/sprockets/processor_utils.rb#22 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:22 Sprockets::ProcessorUtils::CompositeProcessor::PLURAL = T.let(T.unsafe(nil), Proc) -# source://sprockets//lib/sprockets/processor_utils.rb#21 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:21 Sprockets::ProcessorUtils::CompositeProcessor::SINGULAR = T.let(T.unsafe(nil), Proc) # Internal: Set of all nested compound metadata types that can nest values. # -# source://sprockets//lib/sprockets/processor_utils.rb#126 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:126 Sprockets::ProcessorUtils::VALID_METADATA_COMPOUND_TYPES = T.let(T.unsafe(nil), Set) # Internal: Hash of all nested compound metadata types that can nest values. # -# source://sprockets//lib/sprockets/processor_utils.rb#139 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:139 Sprockets::ProcessorUtils::VALID_METADATA_COMPOUND_TYPES_HASH = T.let(T.unsafe(nil), Hash) # Internal: Set of all allowed metadata types. # -# source://sprockets//lib/sprockets/processor_utils.rb#144 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:144 Sprockets::ProcessorUtils::VALID_METADATA_TYPES = T.let(T.unsafe(nil), Set) # Internal: Set of all "simple" value types allowed to be returned in # processor metadata. # -# source://sprockets//lib/sprockets/processor_utils.rb#116 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:116 Sprockets::ProcessorUtils::VALID_METADATA_VALUE_TYPES = T.let(T.unsafe(nil), Set) # Internal: Hash of all "simple" value types allowed to be returned in # processor metadata. # -# source://sprockets//lib/sprockets/processor_utils.rb#134 +# pkg:gem/sprockets#lib/sprockets/processor_utils.rb:134 Sprockets::ProcessorUtils::VALID_METADATA_VALUE_TYPES_HASH = T.let(T.unsafe(nil), Hash) -# source://sprockets//lib/sprockets/resolve.rb#8 +# pkg:gem/sprockets#lib/sprockets/resolve.rb:8 module Sprockets::Resolve include ::Sprockets::PathUtils include ::Sprockets::URIUtils @@ -3744,13 +3744,13 @@ module Sprockets::Resolve # # The String Asset URI is returned or nil if no results are found. # - # source://sprockets//lib/sprockets/resolve.rb#24 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:24 def resolve(path, load_paths: T.unsafe(nil), accept: T.unsafe(nil), pipeline: T.unsafe(nil), base_path: T.unsafe(nil)); end # Public: Same as resolve() but raises a FileNotFound exception instead of # nil if no assets are found. # - # source://sprockets//lib/sprockets/resolve.rb#46 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:46 def resolve!(path, **kargs); end protected @@ -3769,7 +3769,7 @@ module Sprockets::Resolve # [["*/*", 1.0]] # [] # - # source://sprockets//lib/sprockets/resolve.rb#279 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:279 def parse_accept_options(mime_type, explicit_type); end # Internal: Finds a file in a set of given paths @@ -3783,13 +3783,13 @@ module Sprockets::Resolve # # Returns Array. Filename, type, path_pipeline, deps, index_alias # - # source://sprockets//lib/sprockets/resolve.rb#92 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:92 def resolve_absolute_path(paths, filename, accept); end - # source://sprockets//lib/sprockets/resolve.rb#291 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:291 def resolve_alternates(load_path, logical_name); end - # source://sprockets//lib/sprockets/resolve.rb#257 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:257 def resolve_alts_under_path(load_path, logical_name, mime_exts); end # Internal: Finds an asset given a URI @@ -3800,7 +3800,7 @@ module Sprockets::Resolve # # Returns Array. Contains a String uri and Set of dependencies # - # source://sprockets//lib/sprockets/resolve.rb#77 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:77 def resolve_asset_uri(uri); end # Internal: Finds candidate index files in a given path @@ -3816,7 +3816,7 @@ module Sprockets::Resolve # # Returns Array. First element is an Array of hashes or empty, second is a String # - # source://sprockets//lib/sprockets/resolve.rb#239 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:239 def resolve_index_under_path(load_path, logical_name, mime_exts); end # Internal: Finds a file in a set of given paths @@ -3832,7 +3832,7 @@ module Sprockets::Resolve # # Returns Array. Filename, type, path_pipeline, deps, index_alias # - # source://sprockets//lib/sprockets/resolve.rb#142 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:142 def resolve_logical_path(paths, logical_path, accept); end # Internal: Finds candidate files on a given path @@ -3848,7 +3848,7 @@ module Sprockets::Resolve # # Returns Array. First element is an Array of hashes or empty, second is a String # - # source://sprockets//lib/sprockets/resolve.rb#217 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:217 def resolve_main_under_path(load_path, logical_name, mime_exts); end # Internal: Finds a relative file in a set of given paths @@ -3863,7 +3863,7 @@ module Sprockets::Resolve # # Returns Array. Filename, type, path_pipeline, deps, index_alias # - # source://sprockets//lib/sprockets/resolve.rb#120 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:120 def resolve_relative_path(paths, path, dirname, accept); end # Internal: Finds a file in a set of given paths @@ -3880,7 +3880,7 @@ module Sprockets::Resolve # # Returns Array. Filename, type, dependencies, and index_alias # - # source://sprockets//lib/sprockets/resolve.rb#176 + # pkg:gem/sprockets#lib/sprockets/resolve.rb:176 def resolve_under_paths(paths, logical_name, accepts); end end @@ -3896,38 +3896,38 @@ end # environment.register_bundle_processor 'text/css', # Sprockets::SassCompressor.new({ ... }) # -# source://sprockets//lib/sprockets/sass_compressor.rb#19 +# pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:19 class Sprockets::SassCompressor # @return [SassCompressor] a new instance of SassCompressor # - # source://sprockets//lib/sprockets/sass_compressor.rb#39 + # pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:39 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/sass_compressor.rb#37 + # pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:37 def cache_key; end - # source://sprockets//lib/sprockets/sass_compressor.rb#49 + # pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:49 def call(input); end class << self - # source://sprockets//lib/sprockets/sass_compressor.rb#33 + # pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:33 def cache_key; end - # source://sprockets//lib/sprockets/sass_compressor.rb#29 + # pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:29 def call(input); end # Public: Return singleton instance with default options. # # Returns SassCompressor object. # - # source://sprockets//lib/sprockets/sass_compressor.rb#25 + # pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:25 def instance; end end end -# source://sprockets//lib/sprockets/sass_compressor.rb#20 +# pkg:gem/sprockets#lib/sprockets/sass_compressor.rb:20 Sprockets::SassCompressor::VERSION = T.let(T.unsafe(nil), String) # Public: Sass CSS minifier. @@ -3942,25 +3942,25 @@ Sprockets::SassCompressor::VERSION = T.let(T.unsafe(nil), String) # environment.register_bundle_processor 'text/css', # Sprockets::SasscCompressor.new({ ... }) # -# source://sprockets//lib/sprockets/sassc_compressor.rb#18 +# pkg:gem/sprockets#lib/sprockets/sassc_compressor.rb:18 class Sprockets::SasscCompressor # @return [SasscCompressor] a new instance of SasscCompressor # - # source://sprockets//lib/sprockets/sassc_compressor.rb#30 + # pkg:gem/sprockets#lib/sprockets/sassc_compressor.rb:30 def initialize(options = T.unsafe(nil)); end - # source://sprockets//lib/sprockets/sassc_compressor.rb#39 + # pkg:gem/sprockets#lib/sprockets/sassc_compressor.rb:39 def call(input); end class << self - # source://sprockets//lib/sprockets/sassc_compressor.rb#26 + # pkg:gem/sprockets#lib/sprockets/sassc_compressor.rb:26 def call(input); end # Public: Return singleton instance with default options. # # Returns SasscCompressor object. # - # source://sprockets//lib/sprockets/sassc_compressor.rb#22 + # pkg:gem/sprockets#lib/sprockets/sassc_compressor.rb:22 def instance; end end end @@ -3972,47 +3972,47 @@ end # https://github.com/sass/sassc-ruby # https://github.com/sass/sassc-rails # -# source://sprockets//lib/sprockets/sassc_processor.rb#15 +# pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:15 class Sprockets::SasscProcessor # @return [SasscProcessor] a new instance of SasscProcessor # - # source://sprockets//lib/sprockets/sassc_processor.rb#40 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:40 def initialize(options = T.unsafe(nil), &block); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/sassc_processor.rb#38 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:38 def cache_key; end - # source://sprockets//lib/sprockets/sassc_processor.rb#52 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:52 def call(input); end private - # source://sprockets//lib/sprockets/sassc_processor.rb#273 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:273 def engine_options(input, context); end - # source://sprockets//lib/sprockets/sassc_processor.rb#78 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:78 def merge_options(options); end class << self - # source://sprockets//lib/sprockets/sassc_processor.rb#34 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:34 def cache_key; end - # source://sprockets//lib/sprockets/sassc_processor.rb#30 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:30 def call(input); end # Public: Return singleton instance with default options. # # Returns SasscProcessor object. # - # source://sprockets//lib/sprockets/sassc_processor.rb#26 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:26 def instance; end # Internal: Defines default sass syntax to use. Exposed so the ScsscProcessor # may override it. # - # source://sprockets//lib/sprockets/sassc_processor.rb#19 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:19 def syntax; end end end @@ -4028,7 +4028,7 @@ end # end # end # -# source://sprockets//lib/sprockets/sassc_processor.rb#100 +# pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:100 module Sprockets::SasscProcessor::Functions # Public: Generate a data URI for asset path. # @@ -4036,7 +4036,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#243 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:243 def asset_data_url(path); end # Public: Generate a url for asset path. @@ -4049,7 +4049,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#110 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:110 def asset_path(path, options = T.unsafe(nil)); end # Public: Generate a asset url() link. @@ -4058,7 +4058,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#126 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:126 def asset_url(path, options = T.unsafe(nil)); end # Public: Generate url for audio path. @@ -4067,7 +4067,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#171 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:171 def audio_path(path); end # Public: Generate a audio url() link. @@ -4076,7 +4076,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#180 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:180 def audio_url(path); end # Public: Generate url for font path. @@ -4085,7 +4085,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#189 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:189 def font_path(path); end # Public: Generate a font url() link. @@ -4094,7 +4094,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#198 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:198 def font_url(path); end # Public: Generate url for image path. @@ -4103,7 +4103,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#135 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:135 def image_path(path); end # Public: Generate a image url() link. @@ -4112,7 +4112,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#144 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:144 def image_url(path); end # Public: Generate url for javascript path. @@ -4121,7 +4121,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#207 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:207 def javascript_path(path); end # Public: Generate a javascript url() link. @@ -4130,7 +4130,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#216 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:216 def javascript_url(path); end # Public: Generate url for stylesheet path. @@ -4139,7 +4139,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#225 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:225 def stylesheet_path(path); end # Public: Generate a stylesheet url() link. @@ -4148,7 +4148,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#234 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:234 def stylesheet_url(path); end # Public: Generate url for video path. @@ -4157,7 +4157,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#153 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:153 def video_path(path); end # Public: Generate a video url() link. @@ -4166,7 +4166,7 @@ module Sprockets::SasscProcessor::Functions # # Returns a SassC::Script::Value::String. # - # source://sprockets//lib/sprockets/sassc_processor.rb#162 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:162 def video_url(path); end protected @@ -4176,28 +4176,28 @@ module Sprockets::SasscProcessor::Functions # # Returns a Context instance. # - # source://sprockets//lib/sprockets/sassc_processor.rb#267 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:267 def sprockets_context; end # Public: Mutatable set of dependencies. # # Returns a Set. # - # source://sprockets//lib/sprockets/sassc_processor.rb#259 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:259 def sprockets_dependencies; end # Public: The Environment. # # Returns Sprockets::Environment. # - # source://sprockets//lib/sprockets/sassc_processor.rb#252 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:252 def sprockets_environment; end end -# source://sprockets//lib/sprockets/sassc_processor.rb#292 +# pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:292 class Sprockets::ScsscProcessor < ::Sprockets::SasscProcessor class << self - # source://sprockets//lib/sprockets/sassc_processor.rb#293 + # pkg:gem/sprockets#lib/sprockets/sassc_processor.rb:293 def syntax; end end end @@ -4206,7 +4206,7 @@ end # `CachedEnvironment` that provides a Rack compatible `call` # interface and url generation helpers. # -# source://sprockets//lib/sprockets/server.rb#10 +# pkg:gem/sprockets#lib/sprockets/server.rb:10 module Sprockets::Server # `call` implements the Rack 1.x specification which accepts an # `env` Hash and returns a three item tuple with the status code, @@ -4222,70 +4222,70 @@ module Sprockets::Server # A request for `"/assets/foo/bar.js"` will search your # environment for `"foo/bar.js"`. # - # source://sprockets//lib/sprockets/server.rb#37 + # pkg:gem/sprockets#lib/sprockets/server.rb:37 def call(env); end private # Returns a 400 Forbidden response tuple # - # source://sprockets//lib/sprockets/server.rb#159 + # pkg:gem/sprockets#lib/sprockets/server.rb:159 def bad_request_response(env); end - # source://sprockets//lib/sprockets/server.rb#267 + # pkg:gem/sprockets#lib/sprockets/server.rb:267 def cache_headers(env, etag); end # Returns a CSS response that hides all elements on the page and # displays the exception # - # source://sprockets//lib/sprockets/server.rb#207 + # pkg:gem/sprockets#lib/sprockets/server.rb:207 def css_exception_response(exception); end # Escape special characters for use inside a CSS content("...") string # - # source://sprockets//lib/sprockets/server.rb#259 + # pkg:gem/sprockets#lib/sprockets/server.rb:259 def escape_css_content(content); end # @return [Boolean] # - # source://sprockets//lib/sprockets/server.rb#132 + # pkg:gem/sprockets#lib/sprockets/server.rb:132 def forbidden_request?(path); end # Returns a 403 Forbidden response tuple # - # source://sprockets//lib/sprockets/server.rb#168 + # pkg:gem/sprockets#lib/sprockets/server.rb:168 def forbidden_response(env); end # @return [Boolean] # - # source://sprockets//lib/sprockets/server.rb#140 + # pkg:gem/sprockets#lib/sprockets/server.rb:140 def head_request?(env); end - # source://sprockets//lib/sprockets/server.rb#288 + # pkg:gem/sprockets#lib/sprockets/server.rb:288 def headers(env, asset, length); end # Returns a JavaScript response that re-throws a Ruby exception # in the browser # - # source://sprockets//lib/sprockets/server.rb#199 + # pkg:gem/sprockets#lib/sprockets/server.rb:199 def javascript_exception_response(exception); end - # source://sprockets//lib/sprockets/server.rb#185 + # pkg:gem/sprockets#lib/sprockets/server.rb:185 def method_not_allowed_response; end # Returns a 404 Not Found response tuple # - # source://sprockets//lib/sprockets/server.rb#177 + # pkg:gem/sprockets#lib/sprockets/server.rb:177 def not_found_response(env); end # Returns a 304 Not Modified response tuple # - # source://sprockets//lib/sprockets/server.rb#154 + # pkg:gem/sprockets#lib/sprockets/server.rb:154 def not_modified_response(env, etag); end # Returns a 200 OK response tuple # - # source://sprockets//lib/sprockets/server.rb#145 + # pkg:gem/sprockets#lib/sprockets/server.rb:145 def ok_response(asset, env); end # Gets ETag fingerprint. @@ -4293,22 +4293,22 @@ module Sprockets::Server # "foo-0aa2105d29558f3eb790d411d7d8fb66.js" # # => "0aa2105d29558f3eb790d411d7d8fb66" # - # source://sprockets//lib/sprockets/server.rb#311 + # pkg:gem/sprockets#lib/sprockets/server.rb:311 def path_fingerprint(path); end - # source://sprockets//lib/sprockets/server.rb#189 + # pkg:gem/sprockets#lib/sprockets/server.rb:189 def precondition_failed_response(env); end end # Supported HTTP request methods. # -# source://sprockets//lib/sprockets/server.rb#12 +# pkg:gem/sprockets#lib/sprockets/server.rb:12 Sprockets::Server::ALLOWED_REQUEST_METHODS = T.let(T.unsafe(nil), Set) -# source://sprockets//lib/sprockets/server.rb#20 +# pkg:gem/sprockets#lib/sprockets/server.rb:20 Sprockets::Server::VARY = T.let(T.unsafe(nil), String) -# source://sprockets//lib/sprockets/server.rb#19 +# pkg:gem/sprockets#lib/sprockets/server.rb:19 Sprockets::Server::X_CASCADE = T.let(T.unsafe(nil), String) # The purpose of this class is to generate a source map file @@ -4330,18 +4330,18 @@ Sprockets::Server::X_CASCADE = T.let(T.unsafe(nil), String) # "mappings": "AAAA,GAAIA" # } # -# source://sprockets//lib/sprockets/source_map_processor.rb#25 +# pkg:gem/sprockets#lib/sprockets/source_map_processor.rb:25 class Sprockets::SourceMapProcessor class << self - # source://sprockets//lib/sprockets/source_map_processor.rb#26 + # pkg:gem/sprockets#lib/sprockets/source_map_processor.rb:26 def call(input); end - # source://sprockets//lib/sprockets/source_map_processor.rb#54 + # pkg:gem/sprockets#lib/sprockets/source_map_processor.rb:54 def original_content_type(source_map_content_type, error_when_not_found: T.unsafe(nil)); end end end -# source://sprockets//lib/sprockets/source_map_utils.rb#6 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:6 module Sprockets::SourceMapUtils extend ::Sprockets::SourceMapUtils @@ -4352,7 +4352,7 @@ module Sprockets::SourceMapUtils # # Returns mapping Hash object. # - # source://sprockets//lib/sprockets/source_map_utils.rb#273 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:273 def bsearch_mappings(mappings, offset, from = T.unsafe(nil), to = T.unsafe(nil)); end # Public: Combine two separate source map transformations into a single @@ -4369,7 +4369,7 @@ module Sprockets::SourceMapUtils # # Returns a source map hash. # - # source://sprockets//lib/sprockets/source_map_utils.rb#156 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:156 def combine_source_maps(first, second); end # Public: Compare two source map offsets. @@ -4381,7 +4381,7 @@ module Sprockets::SourceMapUtils # # Returns -1 if a < b, 0 if a == b and 1 if a > b. # - # source://sprockets//lib/sprockets/source_map_utils.rb#254 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:254 def compare_source_offsets(a, b); end # Public: Concatenate two source maps. @@ -4399,7 +4399,7 @@ module Sprockets::SourceMapUtils # # Returns a new source map hash. # - # source://sprockets//lib/sprockets/source_map_utils.rb#73 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:73 def concat_source_maps(a, b); end # Public: Decompress source map @@ -4421,7 +4421,7 @@ module Sprockets::SourceMapUtils # # Returns an uncompressed source map hash # - # source://sprockets//lib/sprockets/source_map_utils.rb#192 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:192 def decode_source_map(map); end # Public: Decode VLQ mappings and match up sources and symbol names. @@ -4432,7 +4432,7 @@ module Sprockets::SourceMapUtils # # Returns an Array of Mappings. # - # source://sprockets//lib/sprockets/source_map_utils.rb#297 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:297 def decode_vlq_mappings(str, sources: T.unsafe(nil), names: T.unsafe(nil)); end # Public: Compress source map @@ -4452,7 +4452,7 @@ module Sprockets::SourceMapUtils # # Returns a compressed source map hash according to source map spec v3 # - # source://sprockets//lib/sprockets/source_map_utils.rb#235 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:235 def encode_source_map(map); end # Public: Encode mappings Hash into a VLQ encoded String. @@ -4463,7 +4463,7 @@ module Sprockets::SourceMapUtils # # Returns a VLQ encoded String. # - # source://sprockets//lib/sprockets/source_map_utils.rb#346 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:346 def encode_vlq_mappings(mappings, sources: T.unsafe(nil), names: T.unsafe(nil)); end # Public: Transpose source maps into a standard format @@ -4495,7 +4495,7 @@ module Sprockets::SourceMapUtils # # "names" => [..], # #} # - # source://sprockets//lib/sprockets/source_map_utils.rb#37 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:37 def format_source_map(map, input); end # Public: Converts source map to index map @@ -4528,7 +4528,7 @@ module Sprockets::SourceMapUtils # ] # } # - # source://sprockets//lib/sprockets/source_map_utils.rb#129 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:129 def make_index_map(map); end # Public: Decode a VLQ string. @@ -4537,7 +4537,7 @@ module Sprockets::SourceMapUtils # # Returns an Array of Integers. # - # source://sprockets//lib/sprockets/source_map_utils.rb#429 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:429 def vlq_decode(str); end # Public: Decode a VLQ string into mapping numbers. @@ -4546,7 +4546,7 @@ module Sprockets::SourceMapUtils # # Returns an two dimensional Array of Integers. # - # source://sprockets//lib/sprockets/source_map_utils.rb#470 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:470 def vlq_decode_mappings(str); end # Public: Encode a list of numbers into a compact VLQ string. @@ -4555,7 +4555,7 @@ module Sprockets::SourceMapUtils # # Returns a VLQ String. # - # source://sprockets//lib/sprockets/source_map_utils.rb#408 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:408 def vlq_encode(ary); end # Public: Encode a mapping array into a compact VLQ string. @@ -4564,20 +4564,20 @@ module Sprockets::SourceMapUtils # # Returns a VLQ encoded String separated by , and ;. # - # source://sprockets//lib/sprockets/source_map_utils.rb#457 + # pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:457 def vlq_encode_mappings(ary); end end -# source://sprockets//lib/sprockets/source_map_utils.rb#400 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:400 Sprockets::SourceMapUtils::BASE64_DIGITS = T.let(T.unsafe(nil), Array) -# source://sprockets//lib/sprockets/source_map_utils.rb#401 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:401 Sprockets::SourceMapUtils::BASE64_VALUES = T.let(T.unsafe(nil), Hash) -# source://sprockets//lib/sprockets/source_map_utils.rb#396 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:396 Sprockets::SourceMapUtils::VLQ_BASE = T.let(T.unsafe(nil), Integer) -# source://sprockets//lib/sprockets/source_map_utils.rb#397 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:397 Sprockets::SourceMapUtils::VLQ_BASE_MASK = T.let(T.unsafe(nil), Integer) # Public: Base64 VLQ encoding @@ -4591,13 +4591,13 @@ Sprockets::SourceMapUtils::VLQ_BASE_MASK = T.let(T.unsafe(nil), Integer) # https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit # https://github.com/mozilla/source-map/blob/master/lib/source-map/base64-vlq.js # -# source://sprockets//lib/sprockets/source_map_utils.rb#395 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:395 Sprockets::SourceMapUtils::VLQ_BASE_SHIFT = T.let(T.unsafe(nil), Integer) -# source://sprockets//lib/sprockets/source_map_utils.rb#398 +# pkg:gem/sprockets#lib/sprockets/source_map_utils.rb:398 Sprockets::SourceMapUtils::VLQ_CONTINUATION_BIT = T.let(T.unsafe(nil), Integer) -# source://sprockets//lib/sprockets/transformers.rb#7 +# pkg:gem/sprockets#lib/sprockets/transformers.rb:7 module Sprockets::Transformers include ::Sprockets::Utils include ::Sprockets::ProcessorUtils @@ -4611,7 +4611,7 @@ module Sprockets::Transformers # # Returns Processor. # - # source://sprockets//lib/sprockets/transformers.rb#115 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:115 def compose_transformers(transformers, types, preprocessors, postprocessors); end # Internal: Expand accept type list to include possible transformed types. @@ -4625,7 +4625,7 @@ module Sprockets::Transformers # # Returns an expanded Array of q values. # - # source://sprockets//lib/sprockets/transformers.rb#97 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:97 def expand_transform_accepts(parsed_accepts); end # Public: Register a transformer from and to a mime type. @@ -4643,7 +4643,7 @@ module Sprockets::Transformers # # Returns nothing. # - # source://sprockets//lib/sprockets/transformers.rb#38 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:38 def register_transformer(from, to, proc); end # Internal: Register transformer for existing type adding a suffix. @@ -4655,7 +4655,7 @@ module Sprockets::Transformers # # Returns nothing. # - # source://sprockets//lib/sprockets/transformers.rb#53 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:53 def register_transformer_suffix(types, type_format, extname, processor); end # Internal: Resolve target mime type that the source type should be @@ -4677,7 +4677,7 @@ module Sprockets::Transformers # # Returns String mime type or nil is no type satisfied the accept value. # - # source://sprockets//lib/sprockets/transformers.rb#83 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:83 def resolve_transform_type(type, accept); end # Public: Two level mapping of a source mime type to a target mime type. @@ -4688,25 +4688,25 @@ module Sprockets::Transformers # } # } # - # source://sprockets//lib/sprockets/transformers.rb#18 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:18 def transformers; end private - # source://sprockets//lib/sprockets/transformers.rb#131 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:131 def compose_transformer_list(transformers, preprocessors, postprocessors); end - # source://sprockets//lib/sprockets/transformers.rb#147 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:147 def compute_transformers!(registered_transformers); end end -# source://sprockets//lib/sprockets/transformers.rb#22 +# pkg:gem/sprockets#lib/sprockets/transformers.rb:22 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 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def from; end # Sets the attribute from @@ -4714,14 +4714,14 @@ class Sprockets::Transformers::Transformer < ::Struct # @param value [Object] the value to set the attribute from to. # @return [Object] the newly set value # - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/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 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def proc; end # Sets the attribute proc @@ -4729,14 +4729,14 @@ class Sprockets::Transformers::Transformer < ::Struct # @param value [Object] the value to set the attribute proc to. # @return [Object] the newly set value # - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/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 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def to; end # Sets the attribute to @@ -4744,30 +4744,30 @@ class Sprockets::Transformers::Transformer < ::Struct # @param value [Object] the value to set the attribute to to. # @return [Object] the newly set value # - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def to=(_); end class << self - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def [](*_arg0); end - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def inspect; end - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def keyword_init?; end - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def members; end - # source://sprockets//lib/sprockets/transformers.rb#22 + # pkg:gem/sprockets#lib/sprockets/transformers.rb:22 def new(*_arg0); end end end # Internal: used to "expand" and "compress" values for storage # -# source://sprockets//lib/sprockets/uri_tar.rb#6 +# pkg:gem/sprockets#lib/sprockets/uri_tar.rb:6 class Sprockets::URITar # Internal: Initialize object for compression or expansion # @@ -4776,7 +4776,7 @@ class Sprockets::URITar # # @return [URITar] a new instance of URITar # - # source://sprockets//lib/sprockets/uri_tar.rb#13 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:13 def initialize(uri, env); end # Internal: Tells us if we are using an absolute path @@ -4787,7 +4787,7 @@ class Sprockets::URITar # # @return [Boolean] # - # source://sprockets//lib/sprockets/uri_tar.rb#44 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:44 def absolute_path?; end # Internal: Converts full uri to a "compressed" uri @@ -4800,7 +4800,7 @@ class Sprockets::URITar # # Returns String # - # source://sprockets//lib/sprockets/uri_tar.rb#35 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:35 def compress; end # Internal: Returns "compressed" path @@ -4813,7 +4813,7 @@ class Sprockets::URITar # # Returns String # - # source://sprockets//lib/sprockets/uri_tar.rb#84 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:84 def compressed_path; end # Internal: Convert a "compressed" uri to an absolute path @@ -4829,22 +4829,22 @@ class Sprockets::URITar # # Returns String # - # source://sprockets//lib/sprockets/uri_tar.rb#60 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:60 def expand; end # Returns the value of attribute path. # - # source://sprockets//lib/sprockets/uri_tar.rb#7 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:7 def path; end # Returns the value of attribute root. # - # source://sprockets//lib/sprockets/uri_tar.rb#7 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:7 def root; end # Returns the value of attribute scheme. # - # source://sprockets//lib/sprockets/uri_tar.rb#7 + # pkg:gem/sprockets#lib/sprockets/uri_tar.rb:7 def scheme; end end @@ -4864,7 +4864,7 @@ end # # pipeline - String name of pipeline. # -# source://sprockets//lib/sprockets/uri_utils.rb#21 +# pkg:gem/sprockets#lib/sprockets/uri_utils.rb:21 module Sprockets::URIUtils extend ::Sprockets::URIUtils @@ -4880,7 +4880,7 @@ module Sprockets::URIUtils # # Returns String URI. # - # source://sprockets//lib/sprockets/uri_utils.rb#117 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:117 def build_asset_uri(path, params = T.unsafe(nil)); end # Internal: Build file-digest dependency URI. @@ -4894,7 +4894,7 @@ module Sprockets::URIUtils # # Returns String URI. # - # source://sprockets//lib/sprockets/uri_utils.rb#151 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:151 def build_file_digest_uri(path); end # Internal: Serialize hash of params into query string. @@ -4903,21 +4903,21 @@ module Sprockets::URIUtils # # Returns String query or nil if empty. # - # source://sprockets//lib/sprockets/uri_utils.rb#160 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:160 def encode_uri_query_params(params); end # Internal: Join file: URI component parts into String. # # Returns String. # - # source://sprockets//lib/sprockets/uri_utils.rb#65 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:65 def join_file_uri(scheme, host, path, query); end # Internal: Join URI component parts into String. # # Returns String. # - # source://sprockets//lib/sprockets/uri_utils.rb#39 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:39 def join_uri(scheme, userinfo, host, port, registry, path, opaque, query, fragment); end # Internal: Parse Asset URI. @@ -4931,7 +4931,7 @@ module Sprockets::URIUtils # # Returns String path and Hash of symbolized parameters. # - # source://sprockets//lib/sprockets/uri_utils.rb#96 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:96 def parse_asset_uri(uri); end # Internal: Parse file-digest dependency URI. @@ -4945,7 +4945,7 @@ module Sprockets::URIUtils # # Returns String path. # - # source://sprockets//lib/sprockets/uri_utils.rb#131 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:131 def parse_file_digest_uri(uri); end # Internal: Parse query string into hash of params @@ -4954,7 +4954,7 @@ module Sprockets::URIUtils # # Return Hash of params. # - # source://sprockets//lib/sprockets/uri_utils.rb#185 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:185 def parse_uri_query_params(query); end # Internal: Parse file: URI into component parts. @@ -4963,7 +4963,7 @@ module Sprockets::URIUtils # # Returns [scheme, host, path, query]. # - # source://sprockets//lib/sprockets/uri_utils.rb#48 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:48 def split_file_uri(uri); end # Internal: Parse URI into component parts. @@ -4972,7 +4972,7 @@ module Sprockets::URIUtils # # Returns Array of components. # - # source://sprockets//lib/sprockets/uri_utils.rb#32 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:32 def split_uri(uri); end # Internal: Check if String is a valid Asset URI. @@ -4983,51 +4983,51 @@ module Sprockets::URIUtils # # @return [Boolean] # - # source://sprockets//lib/sprockets/uri_utils.rb#79 + # pkg:gem/sprockets#lib/sprockets/uri_utils.rb:79 def valid_asset_uri?(str); end end -# source://sprockets//lib/sprockets/uri_utils.rb#24 +# pkg:gem/sprockets#lib/sprockets/uri_utils.rb:24 Sprockets::URIUtils::URI_PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser) -# source://sprockets//lib/sprockets/uglifier_compressor.rb#19 +# pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:19 class Sprockets::UglifierCompressor # @return [UglifierCompressor] a new instance of UglifierCompressor # - # source://sprockets//lib/sprockets/uglifier_compressor.rb#39 + # pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:39 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/uglifier_compressor.rb#37 + # pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:37 def cache_key; end - # source://sprockets//lib/sprockets/uglifier_compressor.rb#46 + # pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:46 def call(input); end class << self - # source://sprockets//lib/sprockets/uglifier_compressor.rb#33 + # pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:33 def cache_key; end - # source://sprockets//lib/sprockets/uglifier_compressor.rb#29 + # pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:29 def call(input); end # Public: Return singleton instance with default options. # # Returns UglifierCompressor object. # - # source://sprockets//lib/sprockets/uglifier_compressor.rb#25 + # pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:25 def instance; end end end -# source://sprockets//lib/sprockets/uglifier_compressor.rb#20 +# pkg:gem/sprockets#lib/sprockets/uglifier_compressor.rb:20 Sprockets::UglifierCompressor::VERSION = T.let(T.unsafe(nil), String) # Internal: Used to parse and store the URI to an unloaded asset # Generates keys used to store and retrieve items from cache # -# source://sprockets//lib/sprockets/unloaded_asset.rb#8 +# pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:8 class Sprockets::UnloadedAsset # Internal: Initialize object for generating cache keys # @@ -5044,7 +5044,7 @@ class Sprockets::UnloadedAsset # # @return [UnloadedAsset] a new instance of UnloadedAsset # - # source://sprockets//lib/sprockets/unloaded_asset.rb#22 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:22 def initialize(uri, env); end # Internal: Key of asset @@ -5055,12 +5055,12 @@ class Sprockets::UnloadedAsset # # Returns a String. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#77 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:77 def asset_key; end # Returns the value of attribute compressed_path. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#29 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:29 def compressed_path; end # Public: Dependency History key @@ -5087,7 +5087,7 @@ class Sprockets::UnloadedAsset # # Returns a String. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#104 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:104 def dependency_history_key; end # Internal: Digest key @@ -5100,7 +5100,7 @@ class Sprockets::UnloadedAsset # # Returns a String. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#117 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:117 def digest_key(digest); end # Internal: File digest key @@ -5110,7 +5110,7 @@ class Sprockets::UnloadedAsset # # Returns a String. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#127 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:127 def file_digest_key(stat); end # Internal: Full file path without schema @@ -5126,7 +5126,7 @@ class Sprockets::UnloadedAsset # # Returns a String. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#43 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:43 def filename; end # Internal: Hash of param values @@ -5143,12 +5143,12 @@ class Sprockets::UnloadedAsset # # Returns a Hash. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#63 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:63 def params; end # Returns the value of attribute uri. # - # source://sprockets//lib/sprockets/unloaded_asset.rb#29 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:29 def uri; end private @@ -5157,14 +5157,14 @@ class Sprockets::UnloadedAsset # # Returns Array with filename and params hash # - # source://sprockets//lib/sprockets/unloaded_asset.rb#135 + # pkg:gem/sprockets#lib/sprockets/unloaded_asset.rb:135 def load_file_params; end end # Internal: Utils, we didn't know where else to put it! Functions may # eventually be shuffled into more specific drawers. # -# source://sprockets//lib/sprockets/utils.rb#7 +# pkg:gem/sprockets#lib/sprockets/utils.rb:7 module Sprockets::Utils extend ::Sprockets::Utils @@ -5176,7 +5176,7 @@ module Sprockets::Utils # # Returns buf String. # - # source://sprockets//lib/sprockets/utils.rb#100 + # pkg:gem/sprockets#lib/sprockets/utils.rb:100 def concat_javascript_sources(buf, source); end # Internal: Post-order Depth-First search algorithm. @@ -5189,7 +5189,7 @@ module Sprockets::Utils # # Returns a Set of nodes. # - # source://sprockets//lib/sprockets/utils.rb#165 + # pkg:gem/sprockets#lib/sprockets/utils.rb:165 def dfs(initial); end # Internal: Post-order Depth-First search algorithm that gathers all paths @@ -5203,7 +5203,7 @@ module Sprockets::Utils # # Returns an Array of node Arrays. # - # source://sprockets//lib/sprockets/utils.rb#192 + # pkg:gem/sprockets#lib/sprockets/utils.rb:192 def dfs_paths(path); end # Internal: Check if object can safely be .dup'd. @@ -5216,7 +5216,7 @@ module Sprockets::Utils # # @return [Boolean] # - # source://sprockets//lib/sprockets/utils.rb#17 + # pkg:gem/sprockets#lib/sprockets/utils.rb:17 def duplicable?(obj); end # Internal: Duplicate and store key/value on new frozen hash. @@ -5237,7 +5237,7 @@ module Sprockets::Utils # # Returns duplicated frozen Hash. # - # source://sprockets//lib/sprockets/utils.rb#61 + # pkg:gem/sprockets#lib/sprockets/utils.rb:61 def hash_reassoc(hash, key_a, key_b = T.unsafe(nil), &block); end # Internal: Duplicate and store key/value on new frozen hash. @@ -5249,7 +5249,7 @@ module Sprockets::Utils # # Returns Hash. # - # source://sprockets//lib/sprockets/utils.rb#34 + # pkg:gem/sprockets#lib/sprockets/utils.rb:34 def hash_reassoc1(hash, key); end # Internal: Inject into target module for the duration of the block. @@ -5258,7 +5258,7 @@ module Sprockets::Utils # # Returns result of block. # - # source://sprockets//lib/sprockets/utils.rb#129 + # pkg:gem/sprockets#lib/sprockets/utils.rb:129 def module_include(base, mod); end # Internal: Check if string has a trailing semicolon. @@ -5269,22 +5269,22 @@ module Sprockets::Utils # # @return [Boolean] # - # source://sprockets//lib/sprockets/utils.rb#79 + # pkg:gem/sprockets#lib/sprockets/utils.rb:79 def string_end_with_semicolon?(str); end end -# source://sprockets//lib/sprockets/utils/gzip.rb#4 +# pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:4 class Sprockets::Utils::Gzip # Private: Generates a gzipped file based off of reference file. # # @return [Gzip] a new instance of Gzip # - # source://sprockets//lib/sprockets/utils/gzip.rb#43 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:43 def initialize(asset, archiver: T.unsafe(nil)); end # Returns the value of attribute archiver. # - # source://sprockets//lib/sprockets/utils/gzip.rb#40 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:40 def archiver; end # Private: Returns whether or not an asset can be compressed. @@ -5298,7 +5298,7 @@ class Sprockets::Utils::Gzip # # @return [Boolean] # - # source://sprockets//lib/sprockets/utils/gzip.rb#68 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:68 def can_compress?; end # Private: Opposite of `can_compress?`. @@ -5307,12 +5307,12 @@ class Sprockets::Utils::Gzip # # @return [Boolean] # - # source://sprockets//lib/sprockets/utils/gzip.rb#80 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:80 def cannot_compress?; end # Returns the value of attribute charset. # - # source://sprockets//lib/sprockets/utils/gzip.rb#40 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:40 def charset; end # Private: Generates a gzipped file based off of reference asset. @@ -5323,24 +5323,24 @@ class Sprockets::Utils::Gzip # # Returns nothing. # - # source://sprockets//lib/sprockets/utils/gzip.rb#91 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:91 def compress(file, target); end # Returns the value of attribute content_type. # - # source://sprockets//lib/sprockets/utils/gzip.rb#40 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:40 def content_type; end # Returns the value of attribute source. # - # source://sprockets//lib/sprockets/utils/gzip.rb#40 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:40 def source; end end # What non-text mime types should we compress? This list comes from: # https://www.fastly.com/blog/new-gzip-settings-and-deciding-what-compress # -# source://sprockets//lib/sprockets/utils/gzip.rb#52 +# pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:52 Sprockets::Utils::Gzip::COMPRESSABLE_MIME_TYPES = T.let(T.unsafe(nil), Hash) # Private: Generates a gzipped file based off of reference asset. @@ -5351,10 +5351,10 @@ Sprockets::Utils::Gzip::COMPRESSABLE_MIME_TYPES = T.let(T.unsafe(nil), Hash) # writes contents to the `file` passed in. Sets `mtime` of # written file to passed in `mtime` # -# source://sprockets//lib/sprockets/utils/gzip.rb#12 +# pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:12 module Sprockets::Utils::Gzip::ZlibArchiver class << self - # source://sprockets//lib/sprockets/utils/gzip.rb#13 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:13 def call(file, source, mtime); end end end @@ -5367,21 +5367,21 @@ end # writes contents to the `file` passed in. Sets `mtime` of # written file to passed in `mtime` # -# source://sprockets//lib/sprockets/utils/gzip.rb#30 +# pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:30 module Sprockets::Utils::Gzip::ZopfliArchiver class << self - # source://sprockets//lib/sprockets/utils/gzip.rb#31 + # pkg:gem/sprockets#lib/sprockets/utils/gzip.rb:31 def call(file, source, mtime); end end end -# source://sprockets//lib/sprockets/utils.rb#121 +# pkg:gem/sprockets#lib/sprockets/utils.rb:121 Sprockets::Utils::MODULE_INCLUDE_MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://sprockets//lib/sprockets/utils.rb#71 +# pkg:gem/sprockets#lib/sprockets/utils.rb:71 Sprockets::Utils::WHITESPACE_ORDINALS = T.let(T.unsafe(nil), Hash) -# source://sprockets//lib/sprockets/version.rb#3 +# pkg:gem/sprockets#lib/sprockets/version.rb:3 Sprockets::VERSION = T.let(T.unsafe(nil), String) # Public: YUI compressor. @@ -5396,36 +5396,36 @@ Sprockets::VERSION = T.let(T.unsafe(nil), String) # environment.register_bundle_processor 'application/javascript', # Sprockets::YUICompressor.new(munge: true) # -# source://sprockets//lib/sprockets/yui_compressor.rb#18 +# pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:18 class Sprockets::YUICompressor # @return [YUICompressor] a new instance of YUICompressor # - # source://sprockets//lib/sprockets/yui_compressor.rb#38 + # pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:38 def initialize(options = T.unsafe(nil)); end # Returns the value of attribute cache_key. # - # source://sprockets//lib/sprockets/yui_compressor.rb#36 + # pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:36 def cache_key; end - # source://sprockets//lib/sprockets/yui_compressor.rb#43 + # pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:43 def call(input); end class << self - # source://sprockets//lib/sprockets/yui_compressor.rb#32 + # pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:32 def cache_key; end - # source://sprockets//lib/sprockets/yui_compressor.rb#28 + # pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:28 def call(input); end # Public: Return singleton instance with default options. # # Returns YUICompressor object. # - # source://sprockets//lib/sprockets/yui_compressor.rb#24 + # pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:24 def instance; end end end -# source://sprockets//lib/sprockets/yui_compressor.rb#19 +# pkg:gem/sprockets#lib/sprockets/yui_compressor.rb:19 Sprockets::YUICompressor::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/sqlite3@2.5.0.rbi b/sorbet/rbi/gems/sqlite3@2.9.0.rbi similarity index 73% rename from sorbet/rbi/gems/sqlite3@2.5.0.rbi rename to sorbet/rbi/gems/sqlite3@2.9.0.rbi index 3d19b841f..ee0e7113e 100644 --- a/sorbet/rbi/gems/sqlite3@2.5.0.rbi +++ b/sorbet/rbi/gems/sqlite3@2.9.0.rbi @@ -12,62 +12,64 @@ module Process extend ::ActiveSupport::ForkTracker::CoreExt end -# source://sqlite3//lib/sqlite3/constants.rb#1 +# pkg:gem/sqlite3#lib/sqlite3.rb:4 module SQLite3 class << self - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def libversion; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def sqlcipher?; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def status(*_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def threadsafe; end # Was sqlite3 compiled with thread safety on? # # @return [Boolean] # - # source://sqlite3//lib/sqlite3.rb#14 + # pkg:gem/sqlite3#lib/sqlite3.rb:14 def threadsafe?; end end end -# source://sqlite3//lib/sqlite3/errors.rb#43 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:43 class SQLite3::AbortException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#81 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:81 class SQLite3::AuthorizationException < ::SQLite3::Exception; end +# pkg:gem/sqlite3#lib/sqlite3.rb:4 class SQLite3::Backup - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def initialize(_arg0, _arg1, _arg2, _arg3); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def finish; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def pagecount; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def remaining; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def step(_arg0); end end +# pkg:gem/sqlite3#lib/sqlite3.rb:4 class SQLite3::Blob < ::String; end -# source://sqlite3//lib/sqlite3/errors.rb#45 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:45 class SQLite3::BusyException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#63 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:63 class SQLite3::CantOpenException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/constants.rb#2 +# pkg:gem/sqlite3#lib/sqlite3.rb:4 module SQLite3::Constants; end # CAPI3REF: Fundamental Datatypes @@ -84,22 +86,22 @@ module SQLite3::Constants; end # # These constants are codes for each of those types. # -# source://sqlite3//lib/sqlite3/constants.rb#39 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:39 module SQLite3::Constants::ColumnType; end -# source://sqlite3//lib/sqlite3/constants.rb#43 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:43 SQLite3::Constants::ColumnType::BLOB = T.let(T.unsafe(nil), Integer) -# source://sqlite3//lib/sqlite3/constants.rb#41 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:41 SQLite3::Constants::ColumnType::FLOAT = T.let(T.unsafe(nil), Integer) -# source://sqlite3//lib/sqlite3/constants.rb#40 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:40 SQLite3::Constants::ColumnType::INTEGER = T.let(T.unsafe(nil), Integer) -# source://sqlite3//lib/sqlite3/constants.rb#44 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:44 SQLite3::Constants::ColumnType::NULL = T.let(T.unsafe(nil), Integer) -# source://sqlite3//lib/sqlite3/constants.rb#42 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:42 SQLite3::Constants::ColumnType::TEXT = T.let(T.unsafe(nil), Integer) # CAPI3REF: Result Codes @@ -109,165 +111,167 @@ 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 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:55 module SQLite3::Constants::ErrorCode; end # Callback routine requested an abort # -# source://sqlite3//lib/sqlite3/constants.rb#65 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:113 SQLite3::Constants::ErrorCode::WARNING = T.let(T.unsafe(nil), Integer) +# pkg:gem/sqlite3#lib/sqlite3.rb:4 module SQLite3::Constants::Open; end + SQLite3::Constants::Open::AUTOPROXY = T.let(T.unsafe(nil), Integer) SQLite3::Constants::Open::CREATE = T.let(T.unsafe(nil), Integer) SQLite3::Constants::Open::DELETEONCLOSE = T.let(T.unsafe(nil), Integer) @@ -290,38 +294,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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:184 SQLite3::Constants::Optimize::LIMIT_ANALYZE = T.let(T.unsafe(nil), Integer) # CAPI3REF: Status Parameters @@ -329,12 +333,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 +# pkg:gem/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 +# pkg:gem/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 @@ -342,7 +346,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 +# pkg:gem/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 @@ -351,7 +355,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 +# pkg:gem/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 @@ -360,42 +364,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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:146 SQLite3::Constants::Status::SCRATCH_USED = T.let(T.unsafe(nil), Integer) # CAPI3REF: Text Encodings @@ -403,43 +407,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 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:9 module SQLite3::Constants::TextRep; end # Deprecated # -# source://sqlite3//lib/sqlite3/constants.rb#19 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3/constants.rb:11 SQLite3::Constants::TextRep::UTF8 = T.let(T.unsafe(nil), Integer) -# source://sqlite3//lib/sqlite3/errors.rb#73 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:73 class SQLite3::ConstraintException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#57 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:57 class SQLite3::CorruptException < ::SQLite3::Exception; end # == Overview @@ -516,8 +520,9 @@ class SQLite3::CorruptException < ::SQLite3::Exception; end # extensions: # - .sqlpkg/nalgeon/crypto/crypto.so # a filesystem path # - <%= SQLean::UUID.to_path %> # or ruby code returning a path +# - SQLean::Crypto # Rails 8.1+ accepts the name of a constant that responds to `to_path` # -# source://sqlite3//lib/sqlite3/database.rb#86 +# pkg:gem/sqlite3#lib/sqlite3.rb:4 class SQLite3::Database include ::SQLite3::Pragmas @@ -543,7 +548,7 @@ class SQLite3::Database # # @return [Database] a new instance of Database # - # source://sqlite3//lib/sqlite3/database.rb#141 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:142 def initialize(file, options = T.unsafe(nil), zvfs = T.unsafe(nil)); end # Installs (or removes) a block that will be invoked for every access @@ -551,19 +556,19 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:207 def authorizer(&block); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def authorizer=(_arg0); end # Given a statement, return a result set. # This is not intended for general consumption # - # source://sqlite3//lib/sqlite3/database.rb#789 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:790 def build_result_set(stmt); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def busy_handler(*_arg0); end # Sets a #busy_handler that releases the GVL between retries, @@ -571,30 +576,30 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:693 def busy_handler_timeout=(milliseconds); end - # source://sqlite3//lib/sqlite3/database.rb#386 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:387 def busy_timeout(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def busy_timeout=(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def changes; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def close; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def closed?; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def collation(_arg0, _arg1); end # Returns the value of attribute collations. # - # source://sqlite3//lib/sqlite3/database.rb#87 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:88 def collations; end # Commits the current transaction. If there is no current transaction, @@ -602,10 +607,10 @@ class SQLite3::Database # to allow it to be used in idioms like # abort? and rollback or commit. # - # source://sqlite3//lib/sqlite3/database.rb#668 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:669 def commit; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def complete?(_arg0); end # Creates a new aggregate function for use in SQL statements. Aggregate @@ -645,7 +650,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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:457 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 @@ -696,7 +701,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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:555 def create_aggregate_handler(handler); end # Creates a new function for use in SQL statements. It will be added as @@ -723,7 +728,7 @@ class SQLite3::Database # # puts db.get_first_value( "select maim(name) from table" ) # - # source://sqlite3//lib/sqlite3/database.rb#411 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:412 def create_function(name, arity, text_rep = T.unsafe(nil), &block); end # Define an aggregate function named +name+ using a object template @@ -737,29 +742,29 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:592 def define_aggregator(name, aggregator); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def define_function(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def define_function_with_flags(_arg0, _arg1); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def enable_load_extension(_arg0); end # call-seq: db.encoding # # Fetch the encoding set on this database # - # source://sqlite3//lib/sqlite3/database.rb#198 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:199 def encoding; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def errcode; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def errmsg; end # Executes the given SQL statement. If additional parameters are given, @@ -777,7 +782,7 @@ class SQLite3::Database # See also #execute2, #query, and #execute_batch for additional ways of # executing statements. # - # source://sqlite3//lib/sqlite3/database.rb#247 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:248 def execute(sql, bind_vars = T.unsafe(nil), &block); end # Executes the given SQL statement, exactly as with #execute. However, the @@ -791,7 +796,7 @@ class SQLite3::Database # See also #execute, #query, and #execute_batch for additional ways of # executing statements. # - # source://sqlite3//lib/sqlite3/database.rb#272 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:273 def execute2(sql, *bind_vars); end # Executes all SQL statements in the given string. By contrast, the other @@ -805,7 +810,7 @@ class SQLite3::Database # See also #execute_batch2 for additional ways of # executing statements. # - # source://sqlite3//lib/sqlite3/database.rb#296 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:297 def execute_batch(sql, bind_vars = T.unsafe(nil)); end # Executes all SQL statements in the given string. By contrast, the other @@ -822,17 +827,17 @@ class SQLite3::Database # See also #execute_batch for additional ways of # executing statements. # - # source://sqlite3//lib/sqlite3/database.rb#329 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:330 def execute_batch2(sql, &block); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def extended_result_codes=(_arg0); end # Returns the filename for the database named +db_name+. +db_name+ defaults # to "main". Main return `nil` or an empty string if the database is # temporary or in-memory. # - # source://sqlite3//lib/sqlite3/database.rb#229 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:230 def filename(db_name = T.unsafe(nil)); end # A convenience method for obtaining the first row of a result set, and @@ -840,7 +845,7 @@ class SQLite3::Database # # See also #get_first_value. # - # source://sqlite3//lib/sqlite3/database.rb#368 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:369 def get_first_row(sql, *bind_vars); end # A convenience method for obtaining the first value of the first row of a @@ -849,18 +854,18 @@ class SQLite3::Database # # See also #get_first_row. # - # source://sqlite3//lib/sqlite3/database.rb#377 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:378 def get_first_value(sql, *bind_vars); end # @raise [TypeError] # - # source://sqlite3//lib/sqlite3/database.rb#737 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:738 def initialize_extensions(extensions); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def interrupt; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def last_insert_row_id; end # call-seq: @@ -884,7 +889,7 @@ class SQLite3::Database # # db.load_extension(SQLean::VSV) # - # source://sqlite3//lib/sqlite3/database.rb#728 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:729 def load_extension(extension_specifier); end # Returns a Statement object representing the given SQL. This does not @@ -892,7 +897,7 @@ class SQLite3::Database # # The Statement can then be executed using Statement#execute. # - # source://sqlite3//lib/sqlite3/database.rb#215 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:216 def prepare(sql); end # This is a convenience method for creating a statement, binding @@ -907,7 +912,7 @@ class SQLite3::Database # with a block, +close+ will be invoked implicitly when the block # terminates. # - # source://sqlite3//lib/sqlite3/database.rb#351 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:352 def query(sql, bind_vars = T.unsafe(nil)); end # Returns +true+ if the database has been open in readonly mode @@ -915,19 +920,19 @@ class SQLite3::Database # # @return [Boolean] # - # source://sqlite3//lib/sqlite3/database.rb#684 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:685 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:120 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:120 def results_as_hash=(_arg0); end # Rolls the current transaction back. If there is no current transaction, @@ -935,16 +940,16 @@ class SQLite3::Database # to allow it to be used in idioms like # abort? and rollback or commit. # - # source://sqlite3//lib/sqlite3/database.rb#677 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:678 def rollback; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def statement_timeout=(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def total_changes; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def trace(*_arg0); end # Begins a new transaction. Note that nested transactions are not allowed @@ -966,36 +971,36 @@ class SQLite3::Database # transaction explicitly, either by calling #commit, or by calling # #rollback. # - # source://sqlite3//lib/sqlite3/database.rb#645 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:646 def transaction(mode = T.unsafe(nil)); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def transaction_active?; end private - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def db_filename(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def define_aggregator2(_arg0, _arg1); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def disable_quirk_mode; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def discard; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def exec_batch(_arg0, _arg1); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def load_extension_internal(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def open16(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def open_v2(_arg0, _arg1, _arg2); end class << self @@ -1003,14 +1008,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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:96 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:113 def quote(string); end end end @@ -1024,7 +1029,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 +# pkg:gem/sqlite3#lib/sqlite3/database.rb:762 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 @@ -1033,131 +1038,131 @@ class SQLite3::Database::FunctionProxy # # @return [FunctionProxy] a new instance of FunctionProxy # - # source://sqlite3//lib/sqlite3/database.rb#768 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:769 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:776 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 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:782 def []=(key, value); end # Returns the value of attribute result. # - # source://sqlite3//lib/sqlite3/database.rb#762 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:763 def result; end # Sets the attribute result # # @param value the value to set the attribute result to. # - # source://sqlite3//lib/sqlite3/database.rb#762 + # pkg:gem/sqlite3#lib/sqlite3/database.rb:763 def result=(_arg0); end end -# source://sqlite3//lib/sqlite3/errors.rb#67 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:67 class SQLite3::EmptyException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#4 +# pkg:gem/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 + # pkg:gem/sqlite3#lib/sqlite3/errors.rb:6 def code; end - # source://sqlite3//lib/sqlite3/errors.rb#15 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/sqlite3#lib/sqlite3/errors.rb:13 def sql_offset; end private - # source://sqlite3//lib/sqlite3/errors.rb#19 + # pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3/fork_safety.rb:7 module SQLite3::ForkSafety class << self - # source://sqlite3//lib/sqlite3/fork_safety.rb#33 + # pkg:gem/sqlite3#lib/sqlite3/fork_safety.rb:33 def discard; end - # source://sqlite3//lib/sqlite3/fork_safety.rb#23 + # pkg:gem/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 + # pkg:gem/sqlite3#lib/sqlite3/fork_safety.rb:59 def suppress_warnings!; end - # source://sqlite3//lib/sqlite3/fork_safety.rb#27 + # pkg:gem/sqlite3#lib/sqlite3/fork_safety.rb:27 def track(database); end end end -# source://sqlite3//lib/sqlite3/fork_safety.rb#8 +# pkg:gem/sqlite3#lib/sqlite3/fork_safety.rb:8 module SQLite3::ForkSafety::CoreExt - # source://sqlite3//lib/sqlite3/fork_safety.rb#9 + # pkg:gem/sqlite3#lib/sqlite3/fork_safety.rb:9 def _fork; end end -# source://sqlite3//lib/sqlite3/errors.rb#83 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:83 class SQLite3::FormatException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#61 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:61 class SQLite3::FullException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/resultset.rb#93 +# pkg:gem/sqlite3#lib/sqlite3/resultset.rb:93 class SQLite3::HashResultSet < ::SQLite3::ResultSet - # source://sqlite3//lib/sqlite3/resultset.rb#94 + # pkg:gem/sqlite3#lib/sqlite3/resultset.rb:94 def next; end end -# source://sqlite3//lib/sqlite3/errors.rb#55 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:55 class SQLite3::IOException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#39 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:39 class SQLite3::InternalException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#53 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:53 class SQLite3::InterruptException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#47 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:47 class SQLite3::LockedException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#49 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:49 class SQLite3::MemoryException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#75 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:75 class SQLite3::MismatchException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#77 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:77 class SQLite3::MisuseException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#87 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:87 class SQLite3::NotADatabaseException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#59 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:59 class SQLite3::NotFoundException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#41 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:41 class SQLite3::PermissionException < ::SQLite3::Exception; end # This module is intended for inclusion solely by the Database class. It @@ -1166,228 +1171,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 +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:11 module SQLite3::Pragmas - # source://sqlite3//lib/sqlite3/pragmas.rb#101 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:143 def application_id; end - # source://sqlite3//lib/sqlite3/pragmas.rb#105 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:147 def application_id=(integer); end - # source://sqlite3//lib/sqlite3/pragmas.rb#109 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:151 def auto_vacuum; end - # source://sqlite3//lib/sqlite3/pragmas.rb#113 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:155 def auto_vacuum=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#117 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:159 def automatic_index; end - # source://sqlite3//lib/sqlite3/pragmas.rb#121 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:163 def automatic_index=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#125 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:167 def busy_timeout; end - # source://sqlite3//lib/sqlite3/pragmas.rb#129 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:171 def busy_timeout=(milliseconds); end - # source://sqlite3//lib/sqlite3/pragmas.rb#133 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:175 def cache_size; end - # source://sqlite3//lib/sqlite3/pragmas.rb#137 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:179 def cache_size=(size); end - # source://sqlite3//lib/sqlite3/pragmas.rb#141 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:183 def cache_spill; end - # source://sqlite3//lib/sqlite3/pragmas.rb#145 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:187 def cache_spill=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#149 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:191 def case_sensitive_like=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#153 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:195 def cell_size_check; end - # source://sqlite3//lib/sqlite3/pragmas.rb#157 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:199 def cell_size_check=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#161 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:203 def checkpoint_fullfsync; end - # source://sqlite3//lib/sqlite3/pragmas.rb#165 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:207 def checkpoint_fullfsync=(mode); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#169 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:211 def collation_list(&block); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#173 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:215 def compile_options(&block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#177 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:219 def count_changes; end - # source://sqlite3//lib/sqlite3/pragmas.rb#181 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:223 def count_changes=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#185 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:227 def data_version; end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#189 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:231 def database_list(&block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#193 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:235 def default_cache_size; end - # source://sqlite3//lib/sqlite3/pragmas.rb#197 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:239 def default_cache_size=(size); end - # source://sqlite3//lib/sqlite3/pragmas.rb#201 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:243 def default_synchronous; end - # source://sqlite3//lib/sqlite3/pragmas.rb#205 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:247 def default_synchronous=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#209 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:251 def default_temp_store; end - # source://sqlite3//lib/sqlite3/pragmas.rb#213 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:255 def default_temp_store=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#217 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:259 def defer_foreign_keys; end - # source://sqlite3//lib/sqlite3/pragmas.rb#221 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:263 def defer_foreign_keys=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#225 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:267 def encoding; end - # source://sqlite3//lib/sqlite3/pragmas.rb#229 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:271 def encoding=(mode); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#233 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:275 def foreign_key_check(*table, &block); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#237 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:279 def foreign_key_list(table, &block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#241 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:283 def foreign_keys; end - # source://sqlite3//lib/sqlite3/pragmas.rb#245 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:287 def foreign_keys=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#249 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:291 def freelist_count; end - # source://sqlite3//lib/sqlite3/pragmas.rb#253 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:295 def full_column_names; end - # source://sqlite3//lib/sqlite3/pragmas.rb#257 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:299 def full_column_names=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#261 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:303 def fullfsync; end - # source://sqlite3//lib/sqlite3/pragmas.rb#265 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:307 def fullfsync=(mode); end # Returns +true+ or +false+ depending on the value of the named pragma. # - # source://sqlite3//lib/sqlite3/pragmas.rb#11 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:13 def get_boolean_pragma(name); end # Return the value of the given pragma. # - # source://sqlite3//lib/sqlite3/pragmas.rb#51 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:53 def get_enum_pragma(name); end # Returns the value of the given pragma as an integer. # - # source://sqlite3//lib/sqlite3/pragmas.rb#69 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:80 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 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:43 def get_query_pragma(name, *params, &block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#269 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:311 def ignore_check_constraints=(mode); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#273 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:315 def incremental_vacuum(pages, &block); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#277 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:319 def index_info(index, &block); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#281 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:323 def index_list(table, &block); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#285 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:327 def index_xinfo(index, &block); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#289 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:331 def integrity_check(*num_errors, &block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#293 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:335 def journal_mode; end - # source://sqlite3//lib/sqlite3/pragmas.rb#297 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:339 def journal_mode=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#301 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:343 def journal_size_limit; end - # source://sqlite3//lib/sqlite3/pragmas.rb#305 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:347 def journal_size_limit=(size); end - # source://sqlite3//lib/sqlite3/pragmas.rb#309 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:351 def legacy_file_format; end - # source://sqlite3//lib/sqlite3/pragmas.rb#313 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:355 def legacy_file_format=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#317 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:359 def locking_mode; end - # source://sqlite3//lib/sqlite3/pragmas.rb#321 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:363 def locking_mode=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#325 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:367 def max_page_count; end - # source://sqlite3//lib/sqlite3/pragmas.rb#329 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:371 def max_page_count=(size); end - # source://sqlite3//lib/sqlite3/pragmas.rb#333 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:375 def mmap_size; end - # source://sqlite3//lib/sqlite3/pragmas.rb#337 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:379 def mmap_size=(size); end # Attempt to optimize the database. @@ -1397,73 +1402,73 @@ module SQLite3::Pragmas # # See https://www.sqlite.org/pragma.html#pragma_optimize for more information. # - # source://sqlite3//lib/sqlite3/pragmas.rb#347 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:389 def optimize(bitmask = T.unsafe(nil)); end - # source://sqlite3//lib/sqlite3/pragmas.rb#355 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:397 def page_count; end - # source://sqlite3//lib/sqlite3/pragmas.rb#359 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:401 def page_size; end - # source://sqlite3//lib/sqlite3/pragmas.rb#363 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:405 def page_size=(size); end - # source://sqlite3//lib/sqlite3/pragmas.rb#367 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:409 def parser_trace=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#371 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:413 def query_only; end - # source://sqlite3//lib/sqlite3/pragmas.rb#375 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:417 def query_only=(mode); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#379 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:421 def quick_check(*num_errors, &block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#383 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:425 def read_uncommitted; end - # source://sqlite3//lib/sqlite3/pragmas.rb#387 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:429 def read_uncommitted=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#391 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:433 def recursive_triggers; end - # source://sqlite3//lib/sqlite3/pragmas.rb#395 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:437 def recursive_triggers=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#399 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:441 def reverse_unordered_selects; end - # source://sqlite3//lib/sqlite3/pragmas.rb#403 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:445 def reverse_unordered_selects=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#407 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:449 def schema_cookie; end - # source://sqlite3//lib/sqlite3/pragmas.rb#411 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:453 def schema_cookie=(cookie); end - # source://sqlite3//lib/sqlite3/pragmas.rb#415 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:457 def schema_version; end - # source://sqlite3//lib/sqlite3/pragmas.rb#419 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:461 def schema_version=(version); end - # source://sqlite3//lib/sqlite3/pragmas.rb#423 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:465 def secure_delete; end - # source://sqlite3//lib/sqlite3/pragmas.rb#427 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:469 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 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:20 def set_boolean_pragma(name, mode); end # Set the value of the given pragma to +mode+. The +mode+ parameter must @@ -1472,158 +1477,161 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:62 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 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:86 def set_int_pragma(name, value); end - # source://sqlite3//lib/sqlite3/pragmas.rb#431 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:473 def short_column_names; end - # source://sqlite3//lib/sqlite3/pragmas.rb#435 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:477 def short_column_names=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#439 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:481 def shrink_memory; end - # source://sqlite3//lib/sqlite3/pragmas.rb#443 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:485 def soft_heap_limit; end - # source://sqlite3//lib/sqlite3/pragmas.rb#447 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:489 def soft_heap_limit=(mode); end # :yields: row # - # source://sqlite3//lib/sqlite3/pragmas.rb#451 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:493 def stats(&block); end - # source://sqlite3//lib/sqlite3/pragmas.rb#455 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:497 def synchronous; end - # source://sqlite3//lib/sqlite3/pragmas.rb#459 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:501 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 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:580 def table_info(table); end - # source://sqlite3//lib/sqlite3/pragmas.rb#463 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:505 def temp_store; end - # source://sqlite3//lib/sqlite3/pragmas.rb#467 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:509 def temp_store=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#471 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:513 def threads; end - # source://sqlite3//lib/sqlite3/pragmas.rb#475 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:517 def threads=(count); end - # source://sqlite3//lib/sqlite3/pragmas.rb#479 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:521 def user_cookie; end - # source://sqlite3//lib/sqlite3/pragmas.rb#483 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:525 def user_cookie=(cookie); end - # source://sqlite3//lib/sqlite3/pragmas.rb#487 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:529 def user_version; end - # source://sqlite3//lib/sqlite3/pragmas.rb#491 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:533 def user_version=(version); end - # source://sqlite3//lib/sqlite3/pragmas.rb#495 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:537 def vdbe_addoptrace=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#499 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:541 def vdbe_debug=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#503 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:545 def vdbe_listing=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#507 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:549 def vdbe_trace; end - # source://sqlite3//lib/sqlite3/pragmas.rb#511 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:553 def vdbe_trace=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#515 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:557 def wal_autocheckpoint; end - # source://sqlite3//lib/sqlite3/pragmas.rb#519 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:561 def wal_autocheckpoint=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#523 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:565 def wal_checkpoint; end - # source://sqlite3//lib/sqlite3/pragmas.rb#527 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:569 def wal_checkpoint=(mode); end - # source://sqlite3//lib/sqlite3/pragmas.rb#531 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:573 def writable_schema=(mode); end private + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:613 + def set_string_pragma(pragma_name, value, valid_values); end + # Since SQLite 3.3.8, the table_info pragma has returned the default # value of the row as a quoted SQL value. This method essentially # unquotes those values. # - # source://sqlite3//lib/sqlite3/pragmas.rb#588 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:637 def tweak_default(hash); end # Compares two version strings # - # source://sqlite3//lib/sqlite3/pragmas.rb#572 + # pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:621 def version_compare(v1, v2); end end # The enumeration of valid auto vacuum modes. # -# source://sqlite3//lib/sqlite3/pragmas.rb#86 -SQLite3::Pragmas::AUTO_VACUUM_MODES = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:105 +SQLite3::Pragmas::AUTO_VACUUM_MODES = T.let(T.unsafe(nil), Hash) # The list of valid encodings. # -# source://sqlite3//lib/sqlite3/pragmas.rb#96 -SQLite3::Pragmas::ENCODINGS = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:128 +SQLite3::Pragmas::ENCODINGS = T.let(T.unsafe(nil), Hash) # The list of valid journaling modes. # -# source://sqlite3//lib/sqlite3/pragmas.rb#89 -SQLite3::Pragmas::JOURNAL_MODES = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:112 +SQLite3::Pragmas::JOURNAL_MODES = T.let(T.unsafe(nil), Hash) # The list of valid locking modes. # -# source://sqlite3//lib/sqlite3/pragmas.rb#93 -SQLite3::Pragmas::LOCKING_MODES = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:122 +SQLite3::Pragmas::LOCKING_MODES = T.let(T.unsafe(nil), Hash) # The enumeration of valid synchronous modes. # -# source://sqlite3//lib/sqlite3/pragmas.rb#80 -SQLite3::Pragmas::SYNCHRONOUS_MODES = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:91 +SQLite3::Pragmas::SYNCHRONOUS_MODES = T.let(T.unsafe(nil), Hash) # The enumeration of valid temp store modes. # -# source://sqlite3//lib/sqlite3/pragmas.rb#83 -SQLite3::Pragmas::TEMP_STORE_MODES = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:98 +SQLite3::Pragmas::TEMP_STORE_MODES = T.let(T.unsafe(nil), Hash) # The list of valid WAL checkpoints. # -# source://sqlite3//lib/sqlite3/pragmas.rb#99 -SQLite3::Pragmas::WAL_CHECKPOINTS = T.let(T.unsafe(nil), Array) +# pkg:gem/sqlite3#lib/sqlite3/pragmas.rb:136 +SQLite3::Pragmas::WAL_CHECKPOINTS = T.let(T.unsafe(nil), Hash) -# source://sqlite3//lib/sqlite3/errors.rb#65 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:65 class SQLite3::ProtocolException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#85 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:85 class SQLite3::RangeException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#51 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:51 class SQLite3::ReadOnlyException < ::SQLite3::Exception; end # The ResultSet object encapsulates the enumerability of a query's output. @@ -1631,7 +1639,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 +# pkg:gem/sqlite3#lib/sqlite3/resultset.rb:9 class SQLite3::ResultSet include ::Enumerable @@ -1640,45 +1648,45 @@ class SQLite3::ResultSet # # @return [ResultSet] a new instance of ResultSet # - # source://sqlite3//lib/sqlite3/resultset.rb#14 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/sqlite3#lib/sqlite3/resultset.rb:27 def eof?; end # Obtain the next row from the cursor. If there are no more rows to be @@ -1693,43 +1701,43 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/resultset.rb:42 def next; end # Return the next row as a hash # - # source://sqlite3//lib/sqlite3/resultset.rb#85 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/sqlite3#lib/sqlite3/resultset.rb:75 def types; end end -# source://sqlite3//lib/sqlite3/errors.rb#37 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:37 class SQLite3::SQLException < ::SQLite3::Exception; end SQLite3::SQLITE_LOADED_VERSION = T.let(T.unsafe(nil), String) SQLite3::SQLITE_PACKAGED_LIBRARIES = T.let(T.unsafe(nil), TrueClass) -SQLite3::SQLITE_PRECOMPILED_LIBRARIES = T.let(T.unsafe(nil), FalseClass) +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 +# pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3.rb:4 class SQLite3::Statement include ::Enumerable @@ -1743,7 +1751,7 @@ class SQLite3::Statement # @raise [ArgumentError] # @return [Statement] a new instance of Statement # - # source://sqlite3//lib/sqlite3/statement.rb#28 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:28 def initialize(db, sql); end # Returns true if the statement is currently active, meaning it has an @@ -1751,13 +1759,13 @@ class SQLite3::Statement # # @return [Boolean] # - # source://sqlite3//lib/sqlite3/statement.rb#111 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:111 def active?; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def bind_param(_arg0, _arg1); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def bind_parameter_count; end # Binds the given variables to the corresponding placeholders in the SQL @@ -1774,38 +1782,38 @@ class SQLite3::Statement # See also #execute, #bind_param, Statement#bind_param, and # Statement#bind_params. # - # source://sqlite3//lib/sqlite3/statement.rb#52 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:52 def bind_params(*bind_vars); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def clear_bindings!; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def close; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def closed?; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def column_count; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def column_decltype(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def column_name(_arg0); end # Return an array of the column names for this statement. Note 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#118 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:118 def columns; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def done?; end - # source://sqlite3//lib/sqlite3/statement.rb#123 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:123 def each; end # Execute the statement. This creates a new ResultSet object for the @@ -1825,7 +1833,7 @@ class SQLite3::Statement # # @yield [results] # - # source://sqlite3//lib/sqlite3/statement.rb#78 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:78 def execute(*bind_vars); end # Execute the statement. If no block was given, this returns an array of @@ -1843,32 +1851,35 @@ class SQLite3::Statement # # See also #bind_params, #execute. # - # source://sqlite3//lib/sqlite3/statement.rb#104 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:104 def execute!(*bind_vars, &block); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def expanded_sql; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def memused; end # 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 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:142 def must_be_open!; end + # pkg:gem/sqlite3#lib/sqlite3.rb:4 + def named_params; 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 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:20 def remainder; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def reset!; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def sql; end # Returns a Hash containing information about the statement. @@ -1891,17 +1902,17 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:167 def stat(key = T.unsafe(nil)); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def step; end # Return an array of the data types for each column in this statement. Note # 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 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:134 def types; end private @@ -1910,78 +1921,78 @@ 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 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:180 def get_metadata; end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def prepare(_arg0, _arg1); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def stat_for(_arg0); end - # source://sqlite3//lib/sqlite3.rb#6 + # pkg:gem/sqlite3#lib/sqlite3.rb:4 def stats_as_hash; end end -# source://sqlite3//lib/sqlite3/errors.rb#71 +# pkg:gem/sqlite3#lib/sqlite3/errors.rb:71 class SQLite3::TooBigException < ::SQLite3::Exception; end -# source://sqlite3//lib/sqlite3/errors.rb#79 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/sqlite3#lib/sqlite3/version_info.rb:3 SQLite3::VERSION_INFO = T.let(T.unsafe(nil), Hash) -# source://sqlite3//lib/sqlite3/value.rb#4 +# pkg:gem/sqlite3#lib/sqlite3/value.rb:4 class SQLite3::Value # @return [Value] a new instance of Value # - # source://sqlite3//lib/sqlite3/value.rb#7 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:7 def initialize(db, handle); end # Returns the value of attribute handle. # - # source://sqlite3//lib/sqlite3/value.rb#5 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:5 def handle; end - # source://sqlite3//lib/sqlite3/value.rb#20 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:20 def length(utf16 = T.unsafe(nil)); end # @return [Boolean] # - # source://sqlite3//lib/sqlite3/value.rb#12 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:12 def null?; end - # source://sqlite3//lib/sqlite3/value.rb#16 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:16 def to_blob; end - # source://sqlite3//lib/sqlite3/value.rb#28 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:28 def to_f; end - # source://sqlite3//lib/sqlite3/value.rb#32 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:32 def to_i; end - # source://sqlite3//lib/sqlite3/value.rb#36 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:36 def to_int64; end - # source://sqlite3//lib/sqlite3/value.rb#40 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:40 def to_s(utf16 = T.unsafe(nil)); end - # source://sqlite3//lib/sqlite3/value.rb#44 + # pkg:gem/sqlite3#lib/sqlite3/value.rb:44 def type; end end -# source://sqlite3//lib/sqlite3/statement.rb#4 +# pkg:gem/sqlite3#lib/sqlite3/statement.rb:4 class String include ::Comparable - # source://sqlite3//lib/sqlite3/statement.rb#5 + # pkg:gem/sqlite3#lib/sqlite3/statement.rb:5 def to_blob; end end diff --git a/sorbet/rbi/gems/state_machines@0.100.4.rbi b/sorbet/rbi/gems/state_machines@0.100.4.rbi index f0ee27833..fd3e1fd18 100644 --- a/sorbet/rbi/gems/state_machines@0.100.4.rbi +++ b/sorbet/rbi/gems/state_machines@0.100.4.rbi @@ -13,13 +13,13 @@ end # transitions. This helper adds support for defining this type of # functionality on any Ruby class. # -# source://state_machines//lib/state_machines/version.rb#3 +# pkg:gem/state_machines#lib/state_machines/version.rb:3 module StateMachines; end # Matches any given value. Since there is no configuration for this type of # matcher, it must be used as a singleton. # -# source://state_machines//lib/state_machines/matcher.rb#25 +# pkg:gem/state_machines#lib/state_machines/matcher.rb:25 class StateMachines::AllMatcher < ::StateMachines::Matcher include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -33,12 +33,12 @@ class StateMachines::AllMatcher < ::StateMachines::Matcher # matcher.matches?(:parked) # => false # matcher.matches?(:first_gear) # => true # - # source://state_machines//lib/state_machines/matcher.rb#35 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:35 def -(other); end # A human-readable description of this matcher. Always "all". # - # source://state_machines//lib/state_machines/matcher.rb#51 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:51 def description; end # Generates a blacklist matcher based on the given set of values @@ -49,28 +49,28 @@ class StateMachines::AllMatcher < ::StateMachines::Matcher # matcher.matches?(:parked) # => false # matcher.matches?(:first_gear) # => true # - # source://state_machines//lib/state_machines/matcher.rb#38 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:38 def except(other); end # Always returns the given set of values # - # source://state_machines//lib/state_machines/matcher.rb#46 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:46 def filter(values); end # Always returns true # # @return [Boolean] # - # source://state_machines//lib/state_machines/matcher.rb#41 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:41 def matches?(_value, _context = T.unsafe(nil)); end class << self private - # source://state_machines//lib/state_machines/matcher.rb#26 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:26 def allocate; end - # source://state_machines//lib/state_machines/matcher.rb#26 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:26 def new(*_arg0); end end end @@ -78,50 +78,50 @@ end # Represents a collection of transitions that were generated from attribute- # based events # -# source://state_machines//lib/state_machines/transition_collection.rb#215 +# pkg:gem/state_machines#lib/state_machines/transition_collection.rb:215 class StateMachines::AttributeTransitionCollection < ::StateMachines::TransitionCollection # @return [AttributeTransitionCollection] a new instance of AttributeTransitionCollection # - # source://state_machines//lib/state_machines/transition_collection.rb#216 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:216 def initialize(transitions = T.unsafe(nil), options = T.unsafe(nil)); end private # Tracks that before callbacks have now completed # - # source://state_machines//lib/state_machines/transition_collection.rb#266 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:266 def persist; end # Resets callback tracking # - # source://state_machines//lib/state_machines/transition_collection.rb#272 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:272 def reset; end # Resets the event attribute so it can be re-evaluated if attempted again # - # source://state_machines//lib/state_machines/transition_collection.rb#278 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:278 def rollback; end # Hooks into running transition callbacks so that event / event transition # attributes can be properly updated # - # source://state_machines//lib/state_machines/transition_collection.rb#224 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:224 def run_callbacks(index = T.unsafe(nil)); end end # Matches everything but a specific set of values # -# source://state_machines//lib/state_machines/matcher.rb#77 +# pkg:gem/state_machines#lib/state_machines/matcher.rb:77 class StateMachines::BlacklistMatcher < ::StateMachines::Matcher # A human-readable description of this matcher # - # source://state_machines//lib/state_machines/matcher.rb#97 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:97 def description; end # Finds all values that are *not* within the blacklist configured for this # matcher # - # source://state_machines//lib/state_machines/matcher.rb#92 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:92 def filter(values); end # Checks whether the given value exists outside the blacklist configured @@ -135,7 +135,7 @@ class StateMachines::BlacklistMatcher < ::StateMachines::Matcher # # @return [Boolean] # - # source://state_machines//lib/state_machines/matcher.rb#86 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:86 def matches?(value, _context = T.unsafe(nil)); end end @@ -144,7 +144,7 @@ end # state of the transition match, in addition to if/unless conditionals for # an object's state. # -# source://state_machines//lib/state_machines/branch.rb#10 +# pkg:gem/state_machines#lib/state_machines/branch.rb:10 class StateMachines::Branch include ::StateMachines::EvalHelpers @@ -152,7 +152,7 @@ class StateMachines::Branch # # @return [Branch] a new instance of Branch # - # source://state_machines//lib/state_machines/branch.rb#33 + # pkg:gem/state_machines#lib/state_machines/branch.rb:33 def initialize(options = T.unsafe(nil)); end # Determines whether the given object / query matches the requirements @@ -182,20 +182,20 @@ class StateMachines::Branch # # @return [Boolean] # - # source://state_machines//lib/state_machines/branch.rb#99 + # pkg:gem/state_machines#lib/state_machines/branch.rb:99 def =~(object, query = T.unsafe(nil)); end - # source://state_machines//lib/state_machines/branch.rb#136 + # pkg:gem/state_machines#lib/state_machines/branch.rb:136 def draw(graph, event, valid_states, io = T.unsafe(nil)); end # The requirement for verifying the event being matched # - # source://state_machines//lib/state_machines/branch.rb#20 + # pkg:gem/state_machines#lib/state_machines/branch.rb:20 def event_requirement; end # The condition that must be met on an object # - # source://state_machines//lib/state_machines/branch.rb#14 + # pkg:gem/state_machines#lib/state_machines/branch.rb:14 def if_condition; end # A list of all of the states known to this branch. This will pull states @@ -203,7 +203,7 @@ class StateMachines::Branch # * +from+ / +except_from+ # * +to+ / +except_to+ # - # source://state_machines//lib/state_machines/branch.rb#30 + # pkg:gem/state_machines#lib/state_machines/branch.rb:30 def known_states; end # Attempts to match the given object / query against the set of requirements @@ -234,7 +234,7 @@ class StateMachines::Branch # branch.match(object, :on => :ignite) # => {:to => ..., :from => ..., :on => ...} # branch.match(object, :on => :park) # => nil # - # source://state_machines//lib/state_machines/branch.rb#128 + # pkg:gem/state_machines#lib/state_machines/branch.rb:128 def match(object, query = T.unsafe(nil), event_args = T.unsafe(nil)); end # Determines whether the given object / query matches the requirements @@ -263,18 +263,18 @@ class StateMachines::Branch # # @return [Boolean] # - # source://state_machines//lib/state_machines/branch.rb#94 + # pkg:gem/state_machines#lib/state_machines/branch.rb:94 def matches?(object, query = T.unsafe(nil)); end # One or more requirements for verifying the states being matched. All # requirements contain a mapping of {:from => matcher, :to => matcher}. # - # source://state_machines//lib/state_machines/branch.rb#24 + # pkg:gem/state_machines#lib/state_machines/branch.rb:24 def state_requirements; end # The condition that must *not* be met on an object # - # source://state_machines//lib/state_machines/branch.rb#17 + # pkg:gem/state_machines#lib/state_machines/branch.rb:17 def unless_condition; end protected @@ -283,25 +283,25 @@ class StateMachines::Branch # whitelist nor a blacklist option is specified, then an AllMatcher is # built. # - # source://state_machines//lib/state_machines/branch.rb#145 + # pkg:gem/state_machines#lib/state_machines/branch.rb:145 def build_matcher(options, whitelist_option, blacklist_option); end # Verifies that the event requirement matches the given query # - # source://state_machines//lib/state_machines/branch.rb#173 + # pkg:gem/state_machines#lib/state_machines/branch.rb:173 def match_event(query); end # Verifies that all configured requirements (event and state) match the # given query. If a match is found, then a hash containing the # event/state requirements that passed will be returned; otherwise, nil. # - # source://state_machines//lib/state_machines/branch.rb#164 + # pkg:gem/state_machines#lib/state_machines/branch.rb:164 def match_query(query); end # Verifies that the state requirements match the given query. If a # matching requirement is found, then it is returned. # - # source://state_machines//lib/state_machines/branch.rb#179 + # pkg:gem/state_machines#lib/state_machines/branch.rb:179 def match_states(query); end # Verifies that the conditionals for this branch evaluate to true for the @@ -309,7 +309,7 @@ class StateMachines::Branch # # @return [Boolean] # - # source://state_machines//lib/state_machines/branch.rb#193 + # pkg:gem/state_machines#lib/state_machines/branch.rb:193 def matches_conditions?(object, query, event_args = T.unsafe(nil)); end # Verifies that an option in the given query matches the values required @@ -317,24 +317,24 @@ class StateMachines::Branch # # @return [Boolean] # - # source://state_machines//lib/state_machines/branch.rb#187 + # pkg:gem/state_machines#lib/state_machines/branch.rb:187 def matches_requirement?(query, option, requirement); end private # @raise [ArgumentError] # - # source://state_machines//lib/state_machines/branch.rb#236 + # pkg:gem/state_machines#lib/state_machines/branch.rb:236 def check_state(object, machine_name, state_name); end - # source://state_machines//lib/state_machines/branch.rb#219 + # pkg:gem/state_machines#lib/state_machines/branch.rb:219 def validate_and_check_state_guards(object, guards); end end # Callbacks represent hooks into objects that allow logic to be triggered # before, after, or around a specific set of transitions. # -# source://state_machines//lib/state_machines/callback.rb#9 +# pkg:gem/state_machines#lib/state_machines/callback.rb:9 class StateMachines::Callback include ::StateMachines::EvalHelpers @@ -356,7 +356,7 @@ class StateMachines::Callback # @raise [ArgumentError] # @return [Callback] a new instance of Callback # - # source://state_machines//lib/state_machines/callback.rb#125 + # pkg:gem/state_machines#lib/state_machines/callback.rb:125 def initialize(type, *args, &block); end # The branch that determines whether or not this callback can be invoked @@ -365,7 +365,7 @@ class StateMachines::Callback # # See StateMachines::Branch for more information. # - # source://state_machines//lib/state_machines/callback.rb#109 + # pkg:gem/state_machines#lib/state_machines/callback.rb:109 def branch; end # Runs the callback as long as the transition context matches the branch @@ -375,13 +375,13 @@ class StateMachines::Callback # If a terminator has been configured and it matches the result from the # evaluated method, then the callback chain should be halted. # - # source://state_machines//lib/state_machines/callback.rb#159 + # pkg:gem/state_machines#lib/state_machines/callback.rb:159 def call(object, context = T.unsafe(nil), *_arg2, &_arg3); end # Gets a list of the states known to this callback by looking at the # branch's known states # - # source://state_machines//lib/state_machines/callback.rb#149 + # pkg:gem/state_machines#lib/state_machines/callback.rb:149 def known_states; end # An optional block for determining whether to cancel the callback chain @@ -412,7 +412,7 @@ class StateMachines::Callback # end # end # - # source://state_machines//lib/state_machines/callback.rb#102 + # pkg:gem/state_machines#lib/state_machines/callback.rb:102 def terminator; end # The type of callback chain this callback is for. This can be one of the @@ -422,7 +422,7 @@ class StateMachines::Callback # * +around+ # * +failure+ # - # source://state_machines//lib/state_machines/callback.rb#73 + # pkg:gem/state_machines#lib/state_machines/callback.rb:73 def type; end # The type of callback chain this callback is for. This can be one of the @@ -432,7 +432,7 @@ class StateMachines::Callback # * +around+ # * +failure+ # - # source://state_machines//lib/state_machines/callback.rb#73 + # pkg:gem/state_machines#lib/state_machines/callback.rb:73 def type=(_arg0); end private @@ -440,7 +440,7 @@ class StateMachines::Callback # Generates a method that can be bound to the object being transitioned # when the callback is invoked # - # source://state_machines//lib/state_machines/callback.rb#204 + # pkg:gem/state_machines#lib/state_machines/callback.rb:204 def bound_method(block); end # Runs all of the methods configured for this callback. @@ -453,7 +453,7 @@ class StateMachines::Callback # order. The callback will only halt if the resulting value from the # method passes the terminator. # - # source://state_machines//lib/state_machines/callback.rb#179 + # pkg:gem/state_machines#lib/state_machines/callback.rb:179 def run_methods(object, context = T.unsafe(nil), index = T.unsafe(nil), *args, &block); end class << self @@ -502,7 +502,7 @@ class StateMachines::Callback # end # end # - # source://state_machines//lib/state_machines/callback.rb#57 + # pkg:gem/state_machines#lib/state_machines/callback.rb:57 def bind_to_object; end # Determines whether to automatically bind the callback to the object @@ -550,7 +550,7 @@ class StateMachines::Callback # end # end # - # source://state_machines//lib/state_machines/callback.rb#57 + # pkg:gem/state_machines#lib/state_machines/callback.rb:57 def bind_to_object=(_arg0); end # The application-wide terminator to use for callbacks when not @@ -559,7 +559,7 @@ class StateMachines::Callback # # See StateMachines::Callback#terminator for more information. # - # source://state_machines//lib/state_machines/callback.rb#64 + # pkg:gem/state_machines#lib/state_machines/callback.rb:64 def terminator; end # The application-wide terminator to use for callbacks when not @@ -568,12 +568,12 @@ class StateMachines::Callback # # See StateMachines::Callback#terminator for more information. # - # source://state_machines//lib/state_machines/callback.rb#64 + # pkg:gem/state_machines#lib/state_machines/callback.rb:64 def terminator=(_arg0); end end end -# source://state_machines//lib/state_machines/extensions.rb#4 +# pkg:gem/state_machines#lib/state_machines/extensions.rb:4 module StateMachines::ClassMethods # Gets the current list of state machines defined for this class. This # class-level attribute acts like an inheritable attribute. The attribute @@ -584,34 +584,34 @@ module StateMachines::ClassMethods # # Vehicle.state_machines # => {:state => #} # - # source://state_machines//lib/state_machines/extensions.rb#19 + # pkg:gem/state_machines#lib/state_machines/extensions.rb:19 def state_machines; end class << self - # source://state_machines//lib/state_machines/extensions.rb#5 + # pkg:gem/state_machines#lib/state_machines/extensions.rb:5 def extended(base); end end end # An error occurred during a state machine invocation # -# source://state_machines//lib/state_machines/error.rb#5 +# pkg:gem/state_machines#lib/state_machines/error.rb:5 class StateMachines::Error < ::StandardError # @return [Error] a new instance of Error # - # source://state_machines//lib/state_machines/error.rb#9 + # pkg:gem/state_machines#lib/state_machines/error.rb:9 def initialize(object, message = T.unsafe(nil)); end # The object that failed # - # source://state_machines//lib/state_machines/error.rb#7 + # pkg:gem/state_machines#lib/state_machines/error.rb:7 def object; end end # Provides a set of helper methods for evaluating methods within the context # of an object. # -# source://state_machines//lib/state_machines/eval_helpers.rb#8 +# pkg:gem/state_machines#lib/state_machines/eval_helpers.rb:8 module StateMachines::EvalHelpers # Evaluates one of several different types of methods within the context # of the given object. Methods can be one of the following types: @@ -677,7 +677,7 @@ module StateMachines::EvalHelpers # guard = lambda {|obj, *args| obj.valid? && args[0] == :force } # evaluate_method_with_event_args(object, guard, [:force]) # => calls guard.call(object, :force) # - # source://state_machines//lib/state_machines/eval_helpers.rb#72 + # pkg:gem/state_machines#lib/state_machines/eval_helpers.rb:72 def evaluate_method(object, method, *args, **_arg3, &block); end # Evaluates a guard method with support for event arguments passed to transitions. @@ -703,7 +703,7 @@ module StateMachines::EvalHelpers # guard = lambda {|obj, *args| obj.valid? && args[0] != :skip } # evaluate_method_with_event_args(object, guard, [:skip]) # => calls guard.call(object, :skip) # - # source://state_machines//lib/state_machines/eval_helpers.rb#160 + # pkg:gem/state_machines#lib/state_machines/eval_helpers.rb:160 def evaluate_method_with_event_args(object, method, event_args = T.unsafe(nil)); end private @@ -711,7 +711,7 @@ module StateMachines::EvalHelpers # Validates string input before eval to prevent code injection # This is a basic safety check - not foolproof security # - # source://state_machines//lib/state_machines/eval_helpers.rb#215 + # pkg:gem/state_machines#lib/state_machines/eval_helpers.rb:215 def validate_eval_string(method_string); end end @@ -719,7 +719,7 @@ end # another. The state that an attribute is transitioned to depends on the # branches configured for the event. # -# source://state_machines//lib/state_machines/event.rb#9 +# pkg:gem/state_machines#lib/state_machines/event.rb:9 class StateMachines::Event include ::StateMachines::MatcherHelpers @@ -730,13 +730,13 @@ class StateMachines::Event # # @return [Event] a new instance of Event # - # source://state_machines//lib/state_machines/event.rb#36 + # pkg:gem/state_machines#lib/state_machines/event.rb:36 def initialize(machine, name, options = T.unsafe(nil), human_name: T.unsafe(nil), **extra_options); end # The list of branches that determine what state this event transitions # objects to when fired # - # source://state_machines//lib/state_machines/event.rb#26 + # pkg:gem/state_machines#lib/state_machines/event.rb:26 def branches; end # Determines whether any transitions can be performed for this event based @@ -750,16 +750,16 @@ class StateMachines::Event # # @return [Boolean] # - # source://state_machines//lib/state_machines/event.rb#122 + # pkg:gem/state_machines#lib/state_machines/event.rb:122 def can_fire?(object, requirements = T.unsafe(nil)); end # Evaluates the given block within the context of this event. This simply # provides a DSL-like syntax for defining transitions. # - # source://state_machines//lib/state_machines/event.rb#82 + # pkg:gem/state_machines#lib/state_machines/event.rb:82 def context(&_arg0); end - # source://state_machines//lib/state_machines/event.rb#199 + # pkg:gem/state_machines#lib/state_machines/event.rb:199 def draw(graph, options = T.unsafe(nil), io = T.unsafe(nil)); end # Attempts to perform the next available transition on the given object. @@ -769,18 +769,18 @@ class StateMachines::Event # Any additional arguments are passed to the StateMachines::Transition#perform # instance method. # - # source://state_machines//lib/state_machines/event.rb#168 + # pkg:gem/state_machines#lib/state_machines/event.rb:168 def fire(object, *event_args); end # Transforms the event name into a more human-readable format, such as # "turn on" instead of "turn_on" # - # source://state_machines//lib/state_machines/event.rb#76 + # pkg:gem/state_machines#lib/state_machines/event.rb:76 def human_name(klass = T.unsafe(nil)); end # The human-readable name for the event # - # source://state_machines//lib/state_machines/event.rb#22 + # pkg:gem/state_machines#lib/state_machines/event.rb:22 def human_name=(_arg0); end # Generates a nicely formatted description of this event's contents. @@ -791,39 +791,39 @@ class StateMachines::Event # event.transition all - :idling => :parked, :idling => same # event # => # :parked, :idling => same]> # - # source://state_machines//lib/state_machines/event.rb#210 + # pkg:gem/state_machines#lib/state_machines/event.rb:210 def inspect; end # A list of all of the states known to this event using the configured # branches/transitions as the source # - # source://state_machines//lib/state_machines/event.rb#30 + # pkg:gem/state_machines#lib/state_machines/event.rb:30 def known_states; end # The state machine for which this event is defined # - # source://state_machines//lib/state_machines/event.rb#13 + # pkg:gem/state_machines#lib/state_machines/event.rb:13 def machine; end # The state machine for which this event is defined # - # source://state_machines//lib/state_machines/event.rb#13 + # pkg:gem/state_machines#lib/state_machines/event.rb:13 def machine=(_arg0); end # The name of the event # - # source://state_machines//lib/state_machines/event.rb#16 + # pkg:gem/state_machines#lib/state_machines/event.rb:16 def name; end # Marks the object as invalid and runs any failure callbacks associated with # this event. This should get called anytime this event fails to transition. # - # source://state_machines//lib/state_machines/event.rb#181 + # pkg:gem/state_machines#lib/state_machines/event.rb:181 def on_failure(object, *args); end # The fully-qualified name of the event, scoped by the machine's namespace # - # source://state_machines//lib/state_machines/event.rb#19 + # pkg:gem/state_machines#lib/state_machines/event.rb:19 def qualified_name; end # Resets back to the initial state of the event, with no branches / known @@ -831,7 +831,7 @@ class StateMachines::Event # where you either are re-using an existing state machine implementation # or are subclassing machines. # - # source://state_machines//lib/state_machines/event.rb#194 + # pkg:gem/state_machines#lib/state_machines/event.rb:194 def reset; end # Creates a new transition that determines what to change the current state @@ -853,7 +853,7 @@ class StateMachines::Event # # @raise [ArgumentError] # - # source://state_machines//lib/state_machines/event.rb#102 + # pkg:gem/state_machines#lib/state_machines/event.rb:102 def transition(options); end # Finds and builds the next transition that can be performed on the given @@ -869,7 +869,7 @@ class StateMachines::Event # # Event arguments are passed to guard conditions if they accept multiple parameters. # - # source://state_machines//lib/state_machines/event.rb#138 + # pkg:gem/state_machines#lib/state_machines/event.rb:138 def transition_for(object, requirements = T.unsafe(nil), *event_args); end protected @@ -877,7 +877,7 @@ class StateMachines::Event # Add the various instance methods that can transition the object using # the current event # - # source://state_machines//lib/state_machines/event.rb#224 + # pkg:gem/state_machines#lib/state_machines/event.rb:224 def add_actions; end private @@ -885,17 +885,17 @@ class StateMachines::Event # Creates a copy of this event in addition to the list of associated # branches to prevent conflicts across events within a class hierarchy. # - # source://state_machines//lib/state_machines/event.rb#68 + # pkg:gem/state_machines#lib/state_machines/event.rb:68 def initialize_copy(orig); end end # Represents a collection of events in a state machine # -# source://state_machines//lib/state_machines/event_collection.rb#5 +# pkg:gem/state_machines#lib/state_machines/event_collection.rb:5 class StateMachines::EventCollection < ::StateMachines::NodeCollection # @return [EventCollection] a new instance of EventCollection # - # source://state_machines//lib/state_machines/event_collection.rb#6 + # pkg:gem/state_machines#lib/state_machines/event_collection.rb:6 def initialize(machine); end # Gets the transition that should be performed for the event stored in the @@ -928,7 +928,7 @@ class StateMachines::EventCollection < ::StateMachines::NodeCollection # vehicle.state_event = 'ignite' # events.attribute_transition_for(vehicle) # => # # - # source://state_machines//lib/state_machines/event_collection.rb#116 + # pkg:gem/state_machines#lib/state_machines/event_collection.rb:116 def attribute_transition_for(object, invalidate = T.unsafe(nil)); end # Gets the list of transitions that can be run on the given object. @@ -968,7 +968,7 @@ class StateMachines::EventCollection < ::StateMachines::NodeCollection # # Search for explicit transitions regardless of the current state # events.transitions_for(vehicle, :from => :parked) # => [#] # - # source://state_machines//lib/state_machines/event_collection.rb#83 + # pkg:gem/state_machines#lib/state_machines/event_collection.rb:83 def transitions_for(object, requirements = T.unsafe(nil)); end # Gets the list of events that can be fired on the given object. @@ -1005,32 +1005,32 @@ class StateMachines::EventCollection < ::StateMachines::NodeCollection # vehicle.state = 'idling' # events.valid_for(vehicle) # => [# :parked]>] # - # source://state_machines//lib/state_machines/event_collection.rb#43 + # pkg:gem/state_machines#lib/state_machines/event_collection.rb:43 def valid_for(object, requirements = T.unsafe(nil)); end private - # source://state_machines//lib/state_machines/event_collection.rb#145 + # pkg:gem/state_machines#lib/state_machines/event_collection.rb:145 def match(requirements); end end # Represents a type of module that defines instance / class methods for a # state machine # -# source://state_machines//lib/state_machines/helper_module.rb#6 +# pkg:gem/state_machines#lib/state_machines/helper_module.rb:6 class StateMachines::HelperModule < ::Module # @return [HelperModule] a new instance of HelperModule # - # source://state_machines//lib/state_machines/helper_module.rb#7 + # pkg:gem/state_machines#lib/state_machines/helper_module.rb:7 def initialize(machine, kind); end # Provides a human-readable description of the module # - # source://state_machines//lib/state_machines/helper_module.rb#13 + # pkg:gem/state_machines#lib/state_machines/helper_module.rb:13 def to_s; end end -# source://state_machines//lib/state_machines/extensions.rb#24 +# pkg:gem/state_machines#lib/state_machines/extensions.rb:24 module StateMachines::InstanceMethods # Runs one or more events in parallel. All events will run through the # following steps: @@ -1110,7 +1110,7 @@ module StateMachines::InstanceMethods # vehicle.state # => "idling" # vehicle.alarm_state # => "off" # - # source://state_machines//lib/state_machines/extensions.rb#102 + # pkg:gem/state_machines#lib/state_machines/extensions.rb:102 def fire_events(*events); end # Run one or more events in parallel. If any event fails to run, then @@ -1147,39 +1147,39 @@ module StateMachines::InstanceMethods # # vehicle.fire_events!(:ignite, :disable_alarm) # => StateMachines::InvalidParallelTransition: Cannot run events in parallel: ignite, disable_alarm # - # source://state_machines//lib/state_machines/extensions.rb#139 + # pkg:gem/state_machines#lib/state_machines/extensions.rb:139 def fire_events!(*events); end protected - # source://state_machines//lib/state_machines/extensions.rb#146 + # pkg:gem/state_machines#lib/state_machines/extensions.rb:146 def initialize_state_machines(options = T.unsafe(nil), &_arg1); end end # An invalid integration was registered # -# source://state_machines//lib/state_machines/error.rb#44 +# pkg:gem/state_machines#lib/state_machines/error.rb:44 class StateMachines::IntegrationError < ::StandardError; end # An invalid integration was specified # -# source://state_machines//lib/state_machines/error.rb#17 +# pkg:gem/state_machines#lib/state_machines/error.rb:17 class StateMachines::IntegrationNotFound < ::StateMachines::Error # @return [IntegrationNotFound] a new instance of IntegrationNotFound # - # source://state_machines//lib/state_machines/error.rb#18 + # pkg:gem/state_machines#lib/state_machines/error.rb:18 def initialize(name); end - # source://state_machines//lib/state_machines/error.rb#34 + # pkg:gem/state_machines#lib/state_machines/error.rb:34 def error_message; end - # source://state_machines//lib/state_machines/error.rb#30 + # pkg:gem/state_machines#lib/state_machines/error.rb:30 def no_integrations; end - # source://state_machines//lib/state_machines/error.rb#22 + # pkg:gem/state_machines#lib/state_machines/error.rb:22 def valid_integrations; end - # source://state_machines//lib/state_machines/error.rb#26 + # pkg:gem/state_machines#lib/state_machines/error.rb:26 def valid_integrations_name; end end @@ -1202,7 +1202,7 @@ end # built-in integrations for more information about how to define additional # integrations. # -# source://state_machines//lib/state_machines/integrations.rb#22 +# pkg:gem/state_machines#lib/state_machines/integrations.rb:22 module StateMachines::Integrations class << self # Finds an integration with the given name. If the integration cannot be @@ -1214,7 +1214,7 @@ module StateMachines::Integrations # StateMachines::Integrations.find_by_name(:active_record) # => StateMachines::Integrations::ActiveRecord # StateMachines::Integrations.find_by_name(:invalid) # => StateMachines::IntegrationNotFound: :invalid is an invalid integration # - # source://state_machines//lib/state_machines/integrations.rb#98 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:98 def find_by_name(name); end # Gets a list of all of the available integrations for use. @@ -1227,7 +1227,7 @@ module StateMachines::Integrations # StateMachines::Integrations.integrations # # => [StateMachines::Integrations::ActiveModel] # - # source://state_machines//lib/state_machines/integrations.rb#50 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:50 def integrations; end # Gets a list of all of the available integrations for use. @@ -1240,7 +1240,7 @@ module StateMachines::Integrations # StateMachines::Integrations.integrations # # => [StateMachines::Integrations::ActiveModel] # - # source://state_machines//lib/state_machines/integrations.rb#52 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:52 def list; end # Attempts to find an integration that matches the given class. This will @@ -1264,7 +1264,7 @@ module StateMachines::Integrations # StateMachines::Integrations.match(ActiveModelVehicle) # => StateMachines::Integrations::ActiveModel # StateMachines::Integrations.match(ActiveRecordVehicle) # => StateMachines::Integrations::ActiveRecord # - # source://state_machines//lib/state_machines/integrations.rb#74 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:74 def match(klass); end # Attempts to find an integration that matches the given list of ancestors. @@ -1276,153 +1276,153 @@ module StateMachines::Integrations # StateMachines::Integrations.match_ancestors([]) # => nil # StateMachines::Integrations.match_ancestors([ActiveRecord::Base]) # => StateMachines::Integrations::ActiveModel # - # source://state_machines//lib/state_machines/integrations.rb#86 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:86 def match_ancestors(ancestors); end # Register integration # - # source://state_machines//lib/state_machines/integrations.rb#27 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:27 def register(name_or_module); end - # source://state_machines//lib/state_machines/integrations.rb#37 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:37 def reset; end private - # source://state_machines//lib/state_machines/integrations.rb#104 + # pkg:gem/state_machines#lib/state_machines/integrations.rb:104 def add(integration); end end end # Provides a set of base helpers for managing individual integrations # -# source://state_machines//lib/state_machines/integrations/base.rb#6 +# pkg:gem/state_machines#lib/state_machines/integrations/base.rb:6 module StateMachines::Integrations::Base mixes_in_class_methods ::StateMachines::Integrations::Base::ClassMethods class << self - # source://state_machines//lib/state_machines/integrations/base.rb#44 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:44 def included(base); end end end -# source://state_machines//lib/state_machines/integrations/base.rb#7 +# pkg:gem/state_machines#lib/state_machines/integrations/base.rb:7 module StateMachines::Integrations::Base::ClassMethods # The default options to use for state machines using this integration # - # source://state_machines//lib/state_machines/integrations/base.rb#9 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:9 def defaults; end # The name of the integration # - # source://state_machines//lib/state_machines/integrations/base.rb#12 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:12 def integration_name; end # Additional options that this integration adds to the state machine. # Integrations can override this method to specify additional valid options. # - # source://state_machines//lib/state_machines/integrations/base.rb#39 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:39 def integration_options; end # Whether the integration should be used for the given class. # # @return [Boolean] # - # source://state_machines//lib/state_machines/integrations/base.rb#28 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:28 def matches?(klass); end # Whether the integration should be used for the given list of ancestors. # # @return [Boolean] # - # source://state_machines//lib/state_machines/integrations/base.rb#33 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:33 def matches_ancestors?(ancestors); end # The list of ancestor names that cause this integration to matched. # - # source://state_machines//lib/state_machines/integrations/base.rb#23 + # pkg:gem/state_machines#lib/state_machines/integrations/base.rb:23 def matching_ancestors; end end # A method was called in an invalid state context # -# source://state_machines//lib/state_machines/error.rb#113 +# pkg:gem/state_machines#lib/state_machines/error.rb:113 class StateMachines::InvalidContext < ::StateMachines::Error; end # An invalid event was specified # -# source://state_machines//lib/state_machines/error.rb#48 +# pkg:gem/state_machines#lib/state_machines/error.rb:48 class StateMachines::InvalidEvent < ::StateMachines::Error # @return [InvalidEvent] a new instance of InvalidEvent # - # source://state_machines//lib/state_machines/error.rb#52 + # pkg:gem/state_machines#lib/state_machines/error.rb:52 def initialize(object, event_name); end # The event that was attempted to be run # - # source://state_machines//lib/state_machines/error.rb#50 + # pkg:gem/state_machines#lib/state_machines/error.rb:50 def event; end end # A set of transition failed to run in parallel # -# source://state_machines//lib/state_machines/error.rb#101 +# pkg:gem/state_machines#lib/state_machines/error.rb:101 class StateMachines::InvalidParallelTransition < ::StateMachines::Error # @return [InvalidParallelTransition] a new instance of InvalidParallelTransition # - # source://state_machines//lib/state_machines/error.rb#105 + # pkg:gem/state_machines#lib/state_machines/error.rb:105 def initialize(object, events); end # The set of events that failed the transition(s) # - # source://state_machines//lib/state_machines/error.rb#103 + # pkg:gem/state_machines#lib/state_machines/error.rb:103 def events; end end # An invalid transition was attempted # -# source://state_machines//lib/state_machines/error.rb#60 +# pkg:gem/state_machines#lib/state_machines/error.rb:60 class StateMachines::InvalidTransition < ::StateMachines::Error # @return [InvalidTransition] a new instance of InvalidTransition # - # source://state_machines//lib/state_machines/error.rb#67 + # pkg:gem/state_machines#lib/state_machines/error.rb:67 def initialize(object, machine, event); end # The event that triggered the failed transition # - # source://state_machines//lib/state_machines/error.rb#80 + # pkg:gem/state_machines#lib/state_machines/error.rb:80 def event; end # The current state value for the machine # - # source://state_machines//lib/state_machines/error.rb#65 + # pkg:gem/state_machines#lib/state_machines/error.rb:65 def from; end # The name for the current state # - # source://state_machines//lib/state_machines/error.rb#90 + # pkg:gem/state_machines#lib/state_machines/error.rb:90 def from_name; end # The machine attempting to be transitioned # - # source://state_machines//lib/state_machines/error.rb#62 + # pkg:gem/state_machines#lib/state_machines/error.rb:62 def machine; end # The fully-qualified name of the event that triggered the failed transition # - # source://state_machines//lib/state_machines/error.rb#85 + # pkg:gem/state_machines#lib/state_machines/error.rb:85 def qualified_event; end # The fully-qualified name for the current state # - # source://state_machines//lib/state_machines/error.rb#95 + # pkg:gem/state_machines#lib/state_machines/error.rb:95 def qualified_from_name; end end # Matches a loopback of two values within a context. Since there is no # configuration for this type of matcher, it must be used as a singleton. # -# source://state_machines//lib/state_machines/matcher.rb#104 +# pkg:gem/state_machines#lib/state_machines/matcher.rb:104 class StateMachines::LoopbackMatcher < ::StateMachines::Matcher include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -1430,7 +1430,7 @@ class StateMachines::LoopbackMatcher < ::StateMachines::Matcher # A human-readable description of this matcher. Always "same". # - # source://state_machines//lib/state_machines/matcher.rb#120 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:120 def description; end # Checks whether the given value matches what the value originally was. @@ -1444,16 +1444,16 @@ class StateMachines::LoopbackMatcher < ::StateMachines::Matcher # # @return [Boolean] # - # source://state_machines//lib/state_machines/matcher.rb#115 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:115 def matches?(value, context); end class << self private - # source://state_machines//lib/state_machines/matcher.rb#105 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:105 def allocate; end - # source://state_machines//lib/state_machines/matcher.rb#105 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:105 def new(*_arg0); end end end @@ -1857,7 +1857,7 @@ end # machine's behavior, refer to all constants defined under the # StateMachines::Integrations namespace. # -# source://state_machines//lib/state_machines/machine/class_methods.rb#4 +# pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:4 class StateMachines::Machine include ::StateMachines::Machine::AsyncExtensions include ::StateMachines::EvalHelpers @@ -1878,7 +1878,7 @@ class StateMachines::Machine # The action to invoke when an object transitions # - # source://state_machines//lib/state_machines/machine.rb#469 + # pkg:gem/state_machines#lib/state_machines/machine.rb:469 def action; end # Determines whether an action hook was defined for firing attribute-based @@ -1886,7 +1886,7 @@ class StateMachines::Machine # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine.rb#1615 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1615 def action_hook?(self_only = T.unsafe(nil)); end # Creates a callback that will be invoked *after* a transition failures to @@ -1918,7 +1918,7 @@ class StateMachines::Machine # end # end # - # source://state_machines//lib/state_machines/machine.rb#1483 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1483 def after_failure(*args, **options, &_arg2); end # Creates a callback that will be invoked *after* a transition is @@ -1927,7 +1927,7 @@ class StateMachines::Machine # See +before_transition+ for a description of the possible configurations # for defining callbacks. # - # source://state_machines//lib/state_machines/machine.rb#1378 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1378 def after_transition(*args, **options, &_arg2); end # Creates a callback that will be invoked *around* a transition so long as @@ -1986,7 +1986,7 @@ class StateMachines::Machine # See +before_transition+ for a description of the possible configurations # for defining callbacks. # - # source://state_machines//lib/state_machines/machine.rb#1444 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1444 def around_transition(*args, **options, &_arg2); end # Creates a callback that will be invoked *before* a transition is @@ -2195,14 +2195,14 @@ class StateMachines::Machine # As can be seen, any number of transitions can be created using various # combinations of configuration options. # - # source://state_machines//lib/state_machines/machine.rb#1362 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1362 def before_transition(*args, **options, &_arg2); end # The callbacks to invoke before/after a transition is performed # # Maps :before => callbacks and :after => callbacks # - # source://state_machines//lib/state_machines/machine.rb#466 + # pkg:gem/state_machines#lib/state_machines/machine.rb:466 def callbacks; end # Defines a new helper method in an instance or class scope with the given @@ -2242,64 +2242,64 @@ class StateMachines::Machine # end # end_eval # - # source://state_machines//lib/state_machines/machine.rb#552 + # pkg:gem/state_machines#lib/state_machines/machine.rb:552 def define_helper(scope, method, *_arg2, **_arg3, &block); end - # source://state_machines//lib/state_machines/machine.rb#1609 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1609 def draw(**_arg0); end # Gets a description of the errors for the given object. This is used to # provide more detailed information when an InvalidTransition exception is # raised. # - # source://state_machines//lib/state_machines/machine.rb#1569 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1569 def errors_for(_object); end # The events that trigger transitions. These are sorted, by default, in # the order in which they were defined. # - # source://state_machines//lib/state_machines/machine.rb#450 + # pkg:gem/state_machines#lib/state_machines/machine.rb:450 def events; end # Generates the message to use when invalidating the given object after # failing to transition on a specific event # - # source://state_machines//lib/state_machines/machine.rb#1580 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1580 def generate_message(name, values = T.unsafe(nil)); end # Marks the given object as invalid with the given message. # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine.rb#1564 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1564 def invalidate(_object, _attribute, _message, _values = T.unsafe(nil)); end # The name of the machine, used for scoping methods generated for the # machine as a whole (not states or events) # - # source://state_machines//lib/state_machines/machine.rb#446 + # pkg:gem/state_machines#lib/state_machines/machine.rb:446 def name; end # An identifier that forces all methods (including state predicates and # event methods) to be generated with the value prefixed or suffixed, # depending on the context. # - # source://state_machines//lib/state_machines/machine.rb#474 + # pkg:gem/state_machines#lib/state_machines/machine.rb:474 def namespace; end # The class that the machine is defined in # - # source://state_machines//lib/state_machines/machine.rb#442 + # pkg:gem/state_machines#lib/state_machines/machine.rb:442 def owner_class; end - # source://state_machines//lib/state_machines/machine.rb#1605 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1605 def renderer; end # Resets any errors previously added when invalidating the given object. # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine.rb#1576 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1576 def reset(_object); end # A list of all of the states known to this state machine. This will pull @@ -2312,12 +2312,12 @@ class StateMachines::Machine # # These are sorted, by default, in the order in which they were referenced. # - # source://state_machines//lib/state_machines/machine.rb#461 + # pkg:gem/state_machines#lib/state_machines/machine.rb:461 def states; end # Whether the machine will use transactions when firing events # - # source://state_machines//lib/state_machines/machine.rb#477 + # pkg:gem/state_machines#lib/state_machines/machine.rb:477 def use_transactions; end # Runs a transaction, rolling back any changes if the yielded block fails. @@ -2326,20 +2326,20 @@ class StateMachines::Machine # default, this will not run any transactions since the changes aren't # taking place within the context of a database. # - # source://state_machines//lib/state_machines/machine.rb#1597 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1597 def within_transaction(object, &_arg1); end protected # Runs additional initialization hooks. By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine.rb#1622 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1622 def after_initialize; end # Gets the initial attribute value defined by the owner class (outside of # the machine's definition). By default, this is always nil. # - # source://state_machines//lib/state_machines/machine.rb#1636 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1636 def owner_class_attribute_default; end # Checks whether the given state matches the attribute default specified @@ -2347,16 +2347,16 @@ class StateMachines::Machine # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine.rb#1642 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1642 def owner_class_attribute_default_matches?(state); end # Always yields # - # source://state_machines//lib/state_machines/machine.rb#1630 + # pkg:gem/state_machines#lib/state_machines/machine.rb:1630 def transaction(_object); end end -# source://state_machines//lib/state_machines/machine/action_hooks.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/action_hooks.rb:5 module StateMachines::Machine::ActionHooks protected @@ -2367,13 +2367,13 @@ module StateMachines::Machine::ActionHooks # action must be defined in an ancestor of the owner classs in order for # it to be the action hook. # - # source://state_machines//lib/state_machines/machine/action_hooks.rb#48 + # pkg:gem/state_machines#lib/state_machines/machine/action_hooks.rb:48 def action_hook; end # Adds helper methods for automatically firing events when an action # is invoked # - # source://state_machines//lib/state_machines/machine/action_hooks.rb#17 + # pkg:gem/state_machines#lib/state_machines/machine/action_hooks.rb:17 def define_action_helpers; end # Determines whether action helpers should be defined for this machine. @@ -2382,27 +2382,27 @@ module StateMachines::Machine::ActionHooks # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/action_hooks.rb#11 + # pkg:gem/state_machines#lib/state_machines/machine/action_hooks.rb:11 def define_action_helpers?; end # Hooks directly into actions by defining the same method in an included # module. As a result, when the action gets invoked, any state events # defined for the object will get run. Method visibility is preserved. # - # source://state_machines//lib/state_machines/machine/action_hooks.rb#27 + # pkg:gem/state_machines#lib/state_machines/machine/action_hooks.rb:27 def define_action_hook; end end # AsyncMode extensions for the Machine class # Provides async-aware methods while maintaining backward compatibility # -# source://state_machines//lib/state_machines/machine/async_extensions.rb#10 +# pkg:gem/state_machines#lib/state_machines/machine/async_extensions.rb:10 module StateMachines::Machine::AsyncExtensions # Check if this specific machine instance has async mode enabled # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/async_extensions.rb#63 + # pkg:gem/state_machines#lib/state_machines/machine/async_extensions.rb:63 def async_mode_enabled?; end # Configure this specific machine instance for async mode @@ -2418,63 +2418,63 @@ module StateMachines::Machine::AsyncExtensions # end # end # - # source://state_machines//lib/state_machines/machine/async_extensions.rb#25 + # pkg:gem/state_machines#lib/state_machines/machine/async_extensions.rb:25 def configure_async_mode!(enabled = T.unsafe(nil)); end # Thread-safe version of state reading # - # source://state_machines//lib/state_machines/machine/async_extensions.rb#68 + # pkg:gem/state_machines#lib/state_machines/machine/async_extensions.rb:68 def read_safely(object, attribute, ivar = T.unsafe(nil)); end # Thread-safe callback execution for async operations # - # source://state_machines//lib/state_machines/machine/async_extensions.rb#78 + # pkg:gem/state_machines#lib/state_machines/machine/async_extensions.rb:78 def run_callbacks_safely(type, object, context, transition); end # Thread-safe version of state writing # - # source://state_machines//lib/state_machines/machine/async_extensions.rb#73 + # pkg:gem/state_machines#lib/state_machines/machine/async_extensions.rb:73 def write_safely(object, attribute, value, ivar = T.unsafe(nil)); end end -# source://state_machines//lib/state_machines/machine/callbacks.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/callbacks.rb:5 module StateMachines::Machine::Callbacks # Creates a callback that will be invoked after a transition has failed # to be performed. # - # source://state_machines//lib/state_machines/machine/callbacks.rb#47 + # pkg:gem/state_machines#lib/state_machines/machine/callbacks.rb:47 def after_failure(*args, **options, &_arg2); end # Creates a callback that will be invoked *after* a transition is # performed so long as the given requirements match the transition. # - # source://state_machines//lib/state_machines/machine/callbacks.rb#21 + # pkg:gem/state_machines#lib/state_machines/machine/callbacks.rb:21 def after_transition(*args, **options, &_arg2); end # Creates a callback that will be invoked *around* a transition so long # as the given requirements match the transition. # - # source://state_machines//lib/state_machines/machine/callbacks.rb#34 + # pkg:gem/state_machines#lib/state_machines/machine/callbacks.rb:34 def around_transition(*args, **options, &_arg2); end # Creates a callback that will be invoked *before* a transition is # performed so long as the given requirements match the transition. # - # source://state_machines//lib/state_machines/machine/callbacks.rb#8 + # pkg:gem/state_machines#lib/state_machines/machine/callbacks.rb:8 def before_transition(*args, **options, &_arg2); end end -# source://state_machines//lib/state_machines/machine/class_methods.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:5 module StateMachines::Machine::ClassMethods - # source://state_machines//lib/state_machines/machine/class_methods.rb#55 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:55 def default_messages; end - # source://state_machines//lib/state_machines/machine/class_methods.rb#63 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:63 def default_messages=(messages); end # @raise [NotImplementedError] # - # source://state_machines//lib/state_machines/machine/class_methods.rb#47 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:47 def draw(*_arg0); end # Attempts to find or create a state machine for the given class. For @@ -2489,66 +2489,66 @@ module StateMachines::Machine::ClassMethods # superclasses, then a copy of that machine will be created and stored # in the new owner class (the original will remain unchanged). # - # source://state_machines//lib/state_machines/machine/class_methods.rb#17 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:17 def find_or_create(owner_class, *args, &_arg2); end # Default messages to use for validation errors in ORM integrations # Thread-safe access via atomic operations on simple values # - # source://state_machines//lib/state_machines/machine/class_methods.rb#53 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:53 def ignore_method_conflicts; end # Default messages to use for validation errors in ORM integrations # Thread-safe access via atomic operations on simple values # - # source://state_machines//lib/state_machines/machine/class_methods.rb#53 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:53 def ignore_method_conflicts=(_arg0); end - # source://state_machines//lib/state_machines/machine/class_methods.rb#77 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:77 def renderer; end # Sets the attribute renderer # # @param value the value to set the attribute renderer to. # - # source://state_machines//lib/state_machines/machine/class_methods.rb#75 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:75 def renderer=(_arg0); end - # source://state_machines//lib/state_machines/machine/class_methods.rb#68 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:68 def replace_messages(message_hash); end private # Deep freezes a hash and all its string values for thread safety # - # source://state_machines//lib/state_machines/machine/class_methods.rb#86 + # pkg:gem/state_machines#lib/state_machines/machine/class_methods.rb:86 def deep_freeze_hash(hash); end end -# source://state_machines//lib/state_machines/machine/configuration.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/configuration.rb:5 module StateMachines::Machine::Configuration # Initializes a new state machine with the given configuration. # - # source://state_machines//lib/state_machines/machine/configuration.rb#7 + # pkg:gem/state_machines#lib/state_machines/machine/configuration.rb:7 def initialize(owner_class, *args, &_arg2); end # Gets the attribute name for the given machine scope. # - # source://state_machines//lib/state_machines/machine/configuration.rb#131 + # pkg:gem/state_machines#lib/state_machines/machine/configuration.rb:131 def attribute(name = T.unsafe(nil)); end # Sets the initial state of the machine. This can be either the static name # of a state or a lambda block which determines the initial state at # creation time. # - # source://state_machines//lib/state_machines/machine/configuration.rb#109 + # pkg:gem/state_machines#lib/state_machines/machine/configuration.rb:109 def initial_state=(new_initial_state); end # Sets the class which is the owner of this state machine. Any methods # generated by states, events, or other parts of the machine will be defined # on the given owner class. # - # source://state_machines//lib/state_machines/machine/configuration.rb#81 + # pkg:gem/state_machines#lib/state_machines/machine/configuration.rb:81 def owner_class=(klass); end private @@ -2557,29 +2557,29 @@ module StateMachines::Machine::Configuration # event/states/callback, so that the modifications to those collections do # not affect the original machine. # - # source://state_machines//lib/state_machines/machine/configuration.rb#66 + # pkg:gem/state_machines#lib/state_machines/machine/configuration.rb:66 def initialize_copy(orig); end end -# source://state_machines//lib/state_machines/machine/event_methods.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/event_methods.rb:5 module StateMachines::Machine::EventMethods # Defines one or more events for the machine and the transitions that can # be performed when those events are run. # - # source://state_machines//lib/state_machines/machine/event_methods.rb#8 + # pkg:gem/state_machines#lib/state_machines/machine/event_methods.rb:8 def event(*names, &_arg1); end # Defines one or more events for the machine and the transitions that can # be performed when those events are run. # - # source://state_machines//lib/state_machines/machine/event_methods.rb#37 + # pkg:gem/state_machines#lib/state_machines/machine/event_methods.rb:37 def on(*names, &_arg1); end # Gets the list of all possible transition paths from the current state to # the given target state. If multiple target states are provided, then # this will return all possible paths to those states. # - # source://state_machines//lib/state_machines/machine/event_methods.rb#54 + # pkg:gem/state_machines#lib/state_machines/machine/event_methods.rb:54 def paths_for(object, requirements = T.unsafe(nil)); end # Creates a new transition that determines what to change the current state @@ -2587,103 +2587,103 @@ module StateMachines::Machine::EventMethods # # @raise [ArgumentError] # - # source://state_machines//lib/state_machines/machine/event_methods.rb#41 + # pkg:gem/state_machines#lib/state_machines/machine/event_methods.rb:41 def transition(options); end end -# source://state_machines//lib/state_machines/machine/helper_generators.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:5 module StateMachines::Machine::HelperGenerators protected # Adds helper methods for getting information about this state machine's # events # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#51 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:51 def define_event_helpers; end # Adds helper methods for interacting with the state machine, including # for states, events, and transitions # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#10 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:10 def define_helpers; end # Adds helper methods for accessing naming information about states and # events on the owner class # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#102 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:102 def define_name_helpers; end # Adds helper methods for getting information about this state machine's # available transition paths # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#93 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:93 def define_path_helpers; end # Adds reader/writer methods for accessing the state attribute # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#31 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:31 def define_state_accessor; end # Defines the initial values for state machine attributes. Static values # are set prior to the original initialize method and dynamic values are # set *after* the initialize method in case it is dependent on it. # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#22 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:22 def define_state_initializer; end # Adds predicate method to the owner class for determining the name of the # current state # - # source://state_machines//lib/state_machines/machine/helper_generators.rb#40 + # pkg:gem/state_machines#lib/state_machines/machine/helper_generators.rb:40 def define_state_predicate; end end -# source://state_machines//lib/state_machines/machine/integration.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/integration.rb:5 module StateMachines::Machine::Integration # Gets a description of the errors for the given object. This is used to # provide more detailed information when an InvalidTransition exception is # raised. # - # source://state_machines//lib/state_machines/machine/integration.rb#14 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:14 def errors_for(_object); end # Generates a user-friendly name for the given message. # - # source://state_machines//lib/state_machines/machine/integration.rb#24 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:24 def generate_message(name, values = T.unsafe(nil)); end # Marks the given object as invalid with the given message. # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine/integration.rb#9 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:9 def invalidate(_object, _attribute, _message, _values = T.unsafe(nil)); end # Resets any errors previously added when invalidating the given object. # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine/integration.rb#21 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:21 def reset(_object); end # Runs a transaction, yielding the given block. # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine/integration.rb#31 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:31 def within_transaction(object, &_arg1); end protected # Runs additional initialization hooks. By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine/integration.rb#42 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:42 def after_initialize; end # Gets the initial attribute value defined by the owner class (outside of # the machine's definition). By default, this is always nil. # - # source://state_machines//lib/state_machines/machine/integration.rb#51 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:51 def owner_class_attribute_default; end # Checks whether the given state matches the attribute default specified @@ -2691,12 +2691,12 @@ module StateMachines::Machine::Integration # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/integration.rb#57 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:57 def owner_class_attribute_default_matches?(state); end # Always yields # - # source://state_machines//lib/state_machines/machine/integration.rb#45 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:45 def transaction(_object); end private @@ -2704,53 +2704,53 @@ module StateMachines::Machine::Integration # Gets the default messages that can be used in the machine for invalid # transitions. # - # source://state_machines//lib/state_machines/machine/integration.rb#65 + # pkg:gem/state_machines#lib/state_machines/machine/integration.rb:65 def default_messages; end end -# source://state_machines//lib/state_machines/machine/parsing.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/parsing.rb:5 module StateMachines::Machine::Parsing private # Adds a new transition callback of the given type. # - # source://state_machines//lib/state_machines/machine/parsing.rb#31 + # pkg:gem/state_machines#lib/state_machines/machine/parsing.rb:31 def add_callback(type, options, &_arg2); end # Tracks the given set of events in the list of all known events for # this machine # - # source://state_machines//lib/state_machines/machine/parsing.rb#60 + # pkg:gem/state_machines#lib/state_machines/machine/parsing.rb:60 def add_events(new_events); end # Tracks the given set of states in the list of all known states for # this machine # - # source://state_machines//lib/state_machines/machine/parsing.rb#39 + # pkg:gem/state_machines#lib/state_machines/machine/parsing.rb:39 def add_states(new_states); end # Parses callback arguments for backward compatibility with both positional # and keyword argument styles. Supports Ruby 3.2+ keyword arguments while # maintaining full backward compatibility with the legacy API. # - # source://state_machines//lib/state_machines/machine/parsing.rb#11 + # pkg:gem/state_machines#lib/state_machines/machine/parsing.rb:11 def parse_callback_arguments(args, options); end end -# source://state_machines//lib/state_machines/machine/rendering.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/rendering.rb:5 module StateMachines::Machine::Rendering # Generates a visual representation of this machine for a given format. # - # source://state_machines//lib/state_machines/machine/rendering.rb#12 + # pkg:gem/state_machines#lib/state_machines/machine/rendering.rb:12 def draw(**_arg0); end # Gets the renderer for this machine. # - # source://state_machines//lib/state_machines/machine/rendering.rb#7 + # pkg:gem/state_machines#lib/state_machines/machine/rendering.rb:7 def renderer; end end -# source://state_machines//lib/state_machines/machine/scoping.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/scoping.rb:5 module StateMachines::Machine::Scoping protected @@ -2759,7 +2759,7 @@ module StateMachines::Machine::Scoping # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine/scoping.rb#35 + # pkg:gem/state_machines#lib/state_machines/machine/scoping.rb:35 def create_with_scope(name); end # Creates a scope for finding objects *without* a particular value or @@ -2767,7 +2767,7 @@ module StateMachines::Machine::Scoping # # By default, this is a no-op. # - # source://state_machines//lib/state_machines/machine/scoping.rb#41 + # pkg:gem/state_machines#lib/state_machines/machine/scoping.rb:41 def create_without_scope(name); end # Defines the with/without scope helpers for this attribute. Both the @@ -2776,24 +2776,24 @@ module StateMachines::Machine::Scoping # automatically determined by either calling +pluralize+ on the attribute # name or adding an "s" to the end of the name. # - # source://state_machines//lib/state_machines/machine/scoping.rb#13 + # pkg:gem/state_machines#lib/state_machines/machine/scoping.rb:13 def define_scopes(custom_plural = T.unsafe(nil)); end end -# source://state_machines//lib/state_machines/machine/state_methods.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:5 module StateMachines::Machine::StateMethods # Whether a dynamic initial state is being used in the machine # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/state_methods.rb#14 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:14 def dynamic_initial_state?; end # Gets the initial state of the machine for the given object. If a dynamic # initial state was configured for this machine, then the object will be # passed into the lambda block to help determine the actual state. # - # source://state_machines//lib/state_machines/machine/state_methods.rb#9 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:9 def initial_state(object); end # Initializes the state on the given object. Initial values are only set if @@ -2805,27 +2805,27 @@ module StateMachines::Machine::StateMethods # * :to - A hash to set the initial value in instead of writing # directly to the object # - # source://state_machines//lib/state_machines/machine/state_methods.rb#26 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:26 def initialize_state(object, options = T.unsafe(nil)); end # Customizes the definition of one or more states in the machine. # - # source://state_machines//lib/state_machines/machine/state_methods.rb#73 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:73 def other_states(*names, &_arg1); end # Gets the current value stored in the given object's attribute. # - # source://state_machines//lib/state_machines/machine/state_methods.rb#76 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:76 def read(object, attribute, ivar = T.unsafe(nil)); end # Customizes the definition of one or more states in the machine. # - # source://state_machines//lib/state_machines/machine/state_methods.rb#40 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:40 def state(*names, &_arg1); end # Sets a new value in the given object's attribute. # - # source://state_machines//lib/state_machines/machine/state_methods.rb#86 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:86 def write(object, attribute, value, ivar = T.unsafe(nil)); end protected @@ -2835,18 +2835,18 @@ module StateMachines::Machine::StateMethods # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/state_methods.rb#95 + # pkg:gem/state_machines#lib/state_machines/machine/state_methods.rb:95 def initialize_state?(object); end end -# source://state_machines//lib/state_machines/machine/utilities.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:5 module StateMachines::Machine::Utilities protected # Adds sibling machine configurations to the current machine. This # will add states from other machines that have the same attribute. # - # source://state_machines//lib/state_machines/machine/utilities.rb#77 + # pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:77 def add_sibling_machine_configs; end # Looks up the ancestor class that has the given method defined. This @@ -2855,7 +2855,7 @@ module StateMachines::Machine::Utilities # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/utilities.rb#23 + # pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:23 def owner_class_ancestor_has_method?(scope, method); end # Determines whether the given method is defined in the owner class or @@ -2863,19 +2863,19 @@ module StateMachines::Machine::Utilities # # @return [Boolean] # - # source://state_machines//lib/state_machines/machine/utilities.rb#52 + # pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:52 def owner_class_has_method?(scope, method); end # Pluralizes the given word using #pluralize (if available) or simply # adding an "s" to the end of the word # - # source://state_machines//lib/state_machines/machine/utilities.rb#59 + # pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:59 def pluralize(word); end # Generates the results for the given scope based on one or more states to # filter by # - # source://state_machines//lib/state_machines/machine/utilities.rb#70 + # pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:70 def run_scope(scope, machine, klass, states); end # Looks up other machines that have been defined in the owner class and @@ -2885,34 +2885,34 @@ module StateMachines::Machine::Utilities # changes made to the sibling machines only affect this class and not any # base class that may have originally defined the machine. # - # source://state_machines//lib/state_machines/machine/utilities.rb#14 + # pkg:gem/state_machines#lib/state_machines/machine/utilities.rb:14 def sibling_machines; end end -# source://state_machines//lib/state_machines/machine/validation.rb#5 +# pkg:gem/state_machines#lib/state_machines/machine/validation.rb:5 module StateMachines::Machine::Validation private # Validates string input before eval to prevent code injection # This is a basic safety check - not foolproof security # - # source://state_machines//lib/state_machines/machine/validation.rb#24 + # pkg:gem/state_machines#lib/state_machines/machine/validation.rb:24 def validate_eval_string(method_string); end end # Frozen constant to avoid repeated array allocations # -# source://state_machines//lib/state_machines/machine/validation.rb#7 +# pkg:gem/state_machines#lib/state_machines/machine/validation.rb:7 StateMachines::Machine::Validation::DANGEROUS_PATTERNS = T.let(T.unsafe(nil), Array) # Represents a collection of state machines for a class # -# source://state_machines//lib/state_machines/machine_collection.rb#7 +# pkg:gem/state_machines#lib/state_machines/machine_collection.rb:7 class StateMachines::MachineCollection < ::Hash # Runs one or more events in parallel on the given object. See # StateMachines::InstanceMethods#fire_events for more information. # - # source://state_machines//lib/state_machines/machine_collection.rb#52 + # pkg:gem/state_machines#lib/state_machines/machine_collection.rb:52 def fire_events(object, *events); end # Initializes the state of each machine in the given object. This can allow @@ -2934,7 +2934,7 @@ class StateMachines::MachineCollection < ::Hash # * :to - A hash to write the initialized state to instead of # writing to the object. Default is to write directly to the object. # - # source://state_machines//lib/state_machines/machine_collection.rb#26 + # pkg:gem/state_machines#lib/state_machines/machine_collection.rb:26 def initialize_states(object, options = T.unsafe(nil), attributes = T.unsafe(nil)); end # Builds the collection of transitions for all event attributes defined on @@ -2943,16 +2943,16 @@ class StateMachines::MachineCollection < ::Hash # # These should only be fired as a result of the action being run. # - # source://state_machines//lib/state_machines/machine_collection.rb#84 + # pkg:gem/state_machines#lib/state_machines/machine_collection.rb:84 def transitions(object, action, options = T.unsafe(nil)); end protected - # source://state_machines//lib/state_machines/machine_collection.rb#94 + # pkg:gem/state_machines#lib/state_machines/machine_collection.rb:94 def resolve_use_transactions; end end -# source://state_machines//lib/state_machines/macro_methods.rb#7 +# pkg:gem/state_machines#lib/state_machines/macro_methods.rb:7 module StateMachines::MacroMethods # Creates a new state machine with the given name. The default name, if not # specified, is :state. @@ -3465,7 +3465,7 @@ module StateMachines::MacroMethods # and the individual integration docs for information about the actual # scopes that are generated. # - # source://state_machines//lib/state_machines/macro_methods.rb#518 + # pkg:gem/state_machines#lib/state_machines/macro_methods.rb:518 def state_machine(*_arg0, &_arg1); end end @@ -3473,30 +3473,30 @@ end # for a value. The algorithm that actually determines the match depends on # the matcher in use. # -# source://state_machines//lib/state_machines/matcher.rb#7 +# pkg:gem/state_machines#lib/state_machines/matcher.rb:7 class StateMachines::Matcher # Creates a new matcher for querying against the given set of values # # @return [Matcher] a new instance of Matcher # - # source://state_machines//lib/state_machines/matcher.rb#12 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:12 def initialize(values = T.unsafe(nil)); end # Generates a subset of values that exists in both the set of values being # filtered and the values configured for the matcher # - # source://state_machines//lib/state_machines/matcher.rb#18 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:18 def filter(values); end # The list of values against which queries are matched # - # source://state_machines//lib/state_machines/matcher.rb#9 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:9 def values; end end # Provides a set of helper methods for generating matchers # -# source://state_machines//lib/state_machines/matcher_helpers.rb#5 +# pkg:gem/state_machines#lib/state_machines/matcher_helpers.rb:5 module StateMachines::MatcherHelpers # Represents a state that matches all known states in a machine. # @@ -3523,7 +3523,7 @@ module StateMachines::MatcherHelpers # * +stalled+ # * +idling+ # - # source://state_machines//lib/state_machines/matcher_helpers.rb#30 + # pkg:gem/state_machines#lib/state_machines/matcher_helpers.rb:30 def all; end # Represents a state that matches all known states in a machine. @@ -3551,7 +3551,7 @@ module StateMachines::MatcherHelpers # * +stalled+ # * +idling+ # - # source://state_machines//lib/state_machines/matcher_helpers.rb#33 + # pkg:gem/state_machines#lib/state_machines/matcher_helpers.rb:33 def any; end # Represents a state that matches the original +from+ state. This is useful @@ -3572,7 +3572,7 @@ module StateMachines::MatcherHelpers # # transition :idling => :idling, :first_gear => :first_gear # - # source://state_machines//lib/state_machines/matcher_helpers.rb#52 + # pkg:gem/state_machines#lib/state_machines/matcher_helpers.rb:52 def same; end end @@ -3580,7 +3580,7 @@ end # Nodes will not differentiate between the String and Symbol versions of the # values being indexed. # -# source://state_machines//lib/state_machines/node_collection.rb#9 +# pkg:gem/state_machines#lib/state_machines/node_collection.rb:9 class StateMachines::NodeCollection include ::Enumerable @@ -3594,14 +3594,14 @@ class StateMachines::NodeCollection # # @return [NodeCollection] a new instance of NodeCollection # - # source://state_machines//lib/state_machines/node_collection.rb#22 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:22 def initialize(machine, options = T.unsafe(nil)); end # Adds a new node to the collection. By doing so, this will also add it to # the configured indices. This will also evaluate any existings contexts # that match the new node. # - # source://state_machines//lib/state_machines/node_collection.rb#90 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:90 def <<(node); end # Gets the node indexed by the given key. By default, this will look up the @@ -3615,7 +3615,7 @@ class StateMachines::NodeCollection # # If the key cannot be found, then nil will be returned. # - # source://state_machines//lib/state_machines/node_collection.rb#147 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:147 def [](key, index_name = T.unsafe(nil)); end # Gets the node at the given index. @@ -3627,19 +3627,19 @@ class StateMachines::NodeCollection # states.at(0).name # => :parked # states.at(1).name # => :idling # - # source://state_machines//lib/state_machines/node_collection.rb#133 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:133 def at(index); end # Appends a group of nodes to the collection # - # source://state_machines//lib/state_machines/node_collection.rb#98 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:98 def concat(nodes); end # Tracks a context that should be evaluated for any nodes that get added # which match the given set of nodes. Matchers can be used so that the # context can get added once and evaluated after multiple adds. # - # source://state_machines//lib/state_machines/node_collection.rb#77 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:77 def context(nodes, &block); end # Calls the block once for each element in self, passing that element as a @@ -3654,7 +3654,7 @@ class StateMachines::NodeCollection # # parked -- idling -- # - # source://state_machines//lib/state_machines/node_collection.rb#120 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:120 def each(&_arg0); end # Gets the node indexed by the given key. By default, this will look up the @@ -3670,35 +3670,35 @@ class StateMachines::NodeCollection # # collection['invalid', :value] # => IndexError: "invalid" is an invalid value # - # source://state_machines//lib/state_machines/node_collection.rb#166 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:166 def fetch(key, index_name = T.unsafe(nil)); end # Gets the set of unique keys for the given index # - # source://state_machines//lib/state_machines/node_collection.rb#70 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:70 def keys(index_name = T.unsafe(nil)); end # Gets the number of nodes in this collection # - # source://state_machines//lib/state_machines/node_collection.rb#65 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:65 def length; end # The machine associated with the nodes # - # source://state_machines//lib/state_machines/node_collection.rb#13 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:13 def machine; end # Changes the current machine associated with the collection. In turn, this # will change the state machine associated with each node in the collection. # - # source://state_machines//lib/state_machines/node_collection.rb#59 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:59 def machine=(new_machine); end # Updates the indexed keys for the given node. If the node's attribute # has changed since it was added to the collection, the old indexed keys # will be replaced with the updated ones. # - # source://state_machines//lib/state_machines/node_collection.rb#105 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:105 def update(node); end protected @@ -3706,13 +3706,13 @@ class StateMachines::NodeCollection # Adds the given key / node combination to an index, including the string # and symbol versions of the index # - # source://state_machines//lib/state_machines/node_collection.rb#187 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:187 def add_to_index(name, key, node); end # Evaluates the given context for a particular node. This will only # evaluate the context if the node matches. # - # source://state_machines//lib/state_machines/node_collection.rb#222 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:222 def eval_context(context, node); end # Gets the given index. If the index does not exist, then an ArgumentError @@ -3720,31 +3720,31 @@ class StateMachines::NodeCollection # # @raise [ArgumentError] # - # source://state_machines//lib/state_machines/node_collection.rb#174 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:174 def index(name); end # Removes the given key from an index, including the string and symbol # versions of the index # - # source://state_machines//lib/state_machines/node_collection.rb#195 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:195 def remove_from_index(name, key); end # Determines whether the given value can be converted to a symbol # # @return [Boolean] # - # source://state_machines//lib/state_machines/node_collection.rb#216 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:216 def to_sym?(value); end # Updates the node for the given index, including the string and symbol # versions of the index # - # source://state_machines//lib/state_machines/node_collection.rb#203 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:203 def update_index(name, node); end # Gets the value for the given attribute on the node # - # source://state_machines//lib/state_machines/node_collection.rb#181 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:181 def value(node, attribute); end private @@ -3752,7 +3752,7 @@ class StateMachines::NodeCollection # Creates a copy of this collection such that modifications don't affect # the original collection # - # source://state_machines//lib/state_machines/node_collection.rb#40 + # pkg:gem/state_machines#lib/state_machines/node_collection.rb:40 def initialize_copy(orig); end end @@ -3760,7 +3760,7 @@ end # Module for validating options without monkey-patching Hash # Provides the same functionality as the Hash monkey patch but in a cleaner way # -# source://state_machines//lib/state_machines/options_validator.rb#7 +# pkg:gem/state_machines#lib/state_machines/options_validator.rb:7 module StateMachines::OptionsValidator class << self # Validates that at most one of the exclusive keys is present in the options hash @@ -3770,7 +3770,7 @@ module StateMachines::OptionsValidator # @param options [Hash] The options hash to validate # @raise [ArgumentError] If more than one exclusive key is found # - # source://state_machines//lib/state_machines/options_validator.rb#33 + # pkg:gem/state_machines#lib/state_machines/options_validator.rb:33 def assert_exclusive_keys!(options, *exclusive_keys, caller_info: T.unsafe(nil)); end # Validates that all keys in the options hash are in the list of valid keys @@ -3780,7 +3780,7 @@ module StateMachines::OptionsValidator # @param valid_keys [Array] List of valid key names # @raise [ArgumentError] If any invalid keys are found # - # source://state_machines//lib/state_machines/options_validator.rb#15 + # pkg:gem/state_machines#lib/state_machines/options_validator.rb:15 def assert_valid_keys!(options, *valid_keys, caller_info: T.unsafe(nil)); end # Helper method for backwards compatibility - allows gradual migration @@ -3790,7 +3790,7 @@ module StateMachines::OptionsValidator # @param valid_keys [Array] Valid keys # @return [Hash] The same options hash (for chaining) # - # source://state_machines//lib/state_machines/options_validator.rb#66 + # pkg:gem/state_machines#lib/state_machines/options_validator.rb:66 def validate_and_return(options, *valid_keys); end # Validates options using a more convenient interface that works with both @@ -3801,7 +3801,7 @@ module StateMachines::OptionsValidator # @param valid_keys [Array] List of valid key names # @return [Proc] A validation proc that can be called with options # - # source://state_machines//lib/state_machines/options_validator.rb#50 + # pkg:gem/state_machines#lib/state_machines/options_validator.rb:50 def validator(valid_keys: T.unsafe(nil), exclusive_key_groups: T.unsafe(nil), caller_info: T.unsafe(nil)); end end end @@ -3810,7 +3810,7 @@ end # object. Paths can walk to new transitions, revealing all of the possible # branches that can be encountered in the object's state machine. # -# source://state_machines//lib/state_machines/path.rb#9 +# pkg:gem/state_machines#lib/state_machines/path.rb:9 class StateMachines::Path < ::Array # Creates a new transition path for the given object. Initially this is an # empty path. In order to start walking the path, it must be populated with @@ -3823,7 +3823,7 @@ class StateMachines::Path < ::Array # # @return [Path] a new instance of Path # - # source://state_machines//lib/state_machines/path.rb#24 + # pkg:gem/state_machines#lib/state_machines/path.rb:24 def initialize(object, machine, options = T.unsafe(nil)); end # Determines whether or not this path has completed. A path is considered @@ -3834,7 +3834,7 @@ class StateMachines::Path < ::Array # # @return [Boolean] # - # source://state_machines//lib/state_machines/path.rb#87 + # pkg:gem/state_machines#lib/state_machines/path.rb:87 def complete?; end # Lists all of the events that can be fired through this path. @@ -3843,12 +3843,12 @@ class StateMachines::Path < ::Array # # path.events # => [:park, :ignite, :shift_up, ...] # - # source://state_machines//lib/state_machines/path.rb#72 + # pkg:gem/state_machines#lib/state_machines/path.rb:72 def events; end # The initial state name for this path # - # source://state_machines//lib/state_machines/path.rb#39 + # pkg:gem/state_machines#lib/state_machines/path.rb:39 def from_name; end # Lists all of the from states that can be reached through this path. @@ -3857,23 +3857,23 @@ class StateMachines::Path < ::Array # # path.to_states # => [:parked, :idling, :first_gear, ...] # - # source://state_machines//lib/state_machines/path.rb#48 + # pkg:gem/state_machines#lib/state_machines/path.rb:48 def from_states; end # The state machine this path is walking # - # source://state_machines//lib/state_machines/path.rb#14 + # pkg:gem/state_machines#lib/state_machines/path.rb:14 def machine; end # The object whose state machine is being walked # - # source://state_machines//lib/state_machines/path.rb#11 + # pkg:gem/state_machines#lib/state_machines/path.rb:11 def object; end # The end state name for this path. If a target state was specified for # the path, then that will be returned if the path is complete. # - # source://state_machines//lib/state_machines/path.rb#54 + # pkg:gem/state_machines#lib/state_machines/path.rb:54 def to_name; end # Lists all of the to states that can be reached through this path. @@ -3882,13 +3882,13 @@ class StateMachines::Path < ::Array # # path.to_states # => [:parked, :idling, :first_gear, ...] # - # source://state_machines//lib/state_machines/path.rb#63 + # pkg:gem/state_machines#lib/state_machines/path.rb:63 def to_states; end # Walks down the next transitions at the end of this path. This will only # walk down paths that are considered valid. # - # source://state_machines//lib/state_machines/path.rb#78 + # pkg:gem/state_machines#lib/state_machines/path.rb:78 def walk; end private @@ -3900,10 +3900,10 @@ class StateMachines::Path < ::Array # # @return [Boolean] # - # source://state_machines//lib/state_machines/path.rb#113 + # pkg:gem/state_machines#lib/state_machines/path.rb:113 def can_walk_to?(transition); end - # source://state_machines//lib/state_machines/path.rb#33 + # pkg:gem/state_machines#lib/state_machines/path.rb:33 def initialize_copy(orig); end # Determines whether the given transition has been recently walked down in @@ -3912,25 +3912,25 @@ class StateMachines::Path < ::Array # # @return [Boolean] # - # source://state_machines//lib/state_machines/path.rb#101 + # pkg:gem/state_machines#lib/state_machines/path.rb:101 def recently_walked?(transition); end # Calculates the number of times the given state has been walked to # - # source://state_machines//lib/state_machines/path.rb#94 + # pkg:gem/state_machines#lib/state_machines/path.rb:94 def times_walked_to(state); end # Get the next set of transitions that can be walked to starting from the # end of this path # - # source://state_machines//lib/state_machines/path.rb#119 + # pkg:gem/state_machines#lib/state_machines/path.rb:119 def transitions; end end # Represents a collection of paths that are generated based on a set of # requirements regarding what states to start and end on # -# source://state_machines//lib/state_machines/path_collection.rb#8 +# pkg:gem/state_machines#lib/state_machines/path_collection.rb:8 class StateMachines::PathCollection < ::Array # Creates a new collection of paths with the given requirements. # @@ -3943,7 +3943,7 @@ class StateMachines::PathCollection < ::Array # # @return [PathCollection] a new instance of PathCollection # - # source://state_machines//lib/state_machines/path_collection.rb#29 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:29 def initialize(object, machine, options = T.unsafe(nil)); end # Lists all of the events that can be fired through the paths in this @@ -3953,12 +3953,12 @@ class StateMachines::PathCollection < ::Array # # paths.events # => [:park, :ignite, :shift_up, ...] # - # source://state_machines//lib/state_machines/path_collection.rb#69 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:69 def events; end # The initial state to start each path from # - # source://state_machines//lib/state_machines/path_collection.rb#16 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:16 def from_name; end # Lists all of the states that can be transitioned from through the paths in @@ -3968,22 +3968,22 @@ class StateMachines::PathCollection < ::Array # # paths.from_states # => [:parked, :idling, :first_gear, ...] # - # source://state_machines//lib/state_machines/path_collection.rb#49 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:49 def from_states; end # The state machine these path are walking # - # source://state_machines//lib/state_machines/path_collection.rb#13 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:13 def machine; end # The object whose state machine is being walked # - # source://state_machines//lib/state_machines/path_collection.rb#10 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:10 def object; end # The target state for each path # - # source://state_machines//lib/state_machines/path_collection.rb#19 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:19 def to_name; end # Lists all of the states that can be transitioned to through the paths in @@ -3993,91 +3993,91 @@ class StateMachines::PathCollection < ::Array # # paths.to_states # => [:idling, :first_gear, :second_gear, ...] # - # source://state_machines//lib/state_machines/path_collection.rb#59 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:59 def to_states; end private # Gets the initial set of paths to walk # - # source://state_machines//lib/state_machines/path_collection.rb#76 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:76 def initial_paths; end # Walks down the given path. Each new path that matches the configured # requirements will be added to this collection. # - # source://state_machines//lib/state_machines/path_collection.rb#86 + # pkg:gem/state_machines#lib/state_machines/path_collection.rb:86 def walk(path); end end # Module to extend Fiber instances for pausable state tracking # -# source://state_machines//lib/state_machines/transition.rb#5 +# pkg:gem/state_machines#lib/state_machines/transition.rb:5 module StateMachines::PausableFiber # Returns the value of attribute state_machine_fiber_pausable. # - # source://state_machines//lib/state_machines/transition.rb#6 + # pkg:gem/state_machines#lib/state_machines/transition.rb:6 def state_machine_fiber_pausable; end # Sets the attribute state_machine_fiber_pausable # # @param value the value to set the attribute state_machine_fiber_pausable to. # - # source://state_machines//lib/state_machines/transition.rb#6 + # pkg:gem/state_machines#lib/state_machines/transition.rb:6 def state_machine_fiber_pausable=(_arg0); end end -# source://state_machines//lib/state_machines/stdio_renderer.rb#4 +# pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:4 module StateMachines::STDIORenderer private - # source://state_machines//lib/state_machines/stdio_renderer.rb#31 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:31 def draw_branch(branch, _graph, _event, options: T.unsafe(nil), io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#11 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:11 def draw_class(machine:, io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#26 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:26 def draw_event(event, _graph, options: T.unsafe(nil), io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#41 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:41 def draw_events(machine:, io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#5 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:5 def draw_machine(machine, io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#61 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:61 def draw_requirement(requirement); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#36 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:36 def draw_state(state, _graph, options: T.unsafe(nil), io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#15 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:15 def draw_states(machine:, io: T.unsafe(nil)); end class << self - # source://state_machines//lib/state_machines/stdio_renderer.rb#31 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:31 def draw_branch(branch, _graph, _event, options: T.unsafe(nil), io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#11 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:11 def draw_class(machine:, io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#26 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:26 def draw_event(event, _graph, options: T.unsafe(nil), io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#41 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:41 def draw_events(machine:, io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#5 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:5 def draw_machine(machine, io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#61 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:61 def draw_requirement(requirement); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#36 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:36 def draw_state(state, _graph, options: T.unsafe(nil), io: T.unsafe(nil)); end - # source://state_machines//lib/state_machines/stdio_renderer.rb#15 + # pkg:gem/state_machines#lib/state_machines/stdio_renderer.rb:15 def draw_states(machine:, io: T.unsafe(nil)); end end end @@ -4091,7 +4091,7 @@ end # StateMachines::Machine#state for more information about how state-driven # behavior can be utilized. # -# source://state_machines//lib/state_machines/state.rb#14 +# pkg:gem/state_machines#lib/state_machines/state.rb:14 class StateMachines::State # Creates a new state within the context of the given machine. # @@ -4109,17 +4109,17 @@ class StateMachines::State # # @return [State] a new instance of State # - # source://state_machines//lib/state_machines/state.rb#56 + # pkg:gem/state_machines#lib/state_machines/state.rb:56 def initialize(machine, name, options = T.unsafe(nil), initial: T.unsafe(nil), value: T.unsafe(nil), cache: T.unsafe(nil), if: T.unsafe(nil), human_name: T.unsafe(nil), **extra_options); end # Whether this state's value should be cached after being evaluated # - # source://state_machines//lib/state_machines/state.rb#33 + # pkg:gem/state_machines#lib/state_machines/state.rb:33 def cache; end # Whether this state's value should be cached after being evaluated # - # source://state_machines//lib/state_machines/state.rb#33 + # pkg:gem/state_machines#lib/state_machines/state.rb:33 def cache=(_arg0); end # Calls a method defined in this state's context on the given object. All @@ -4128,7 +4128,7 @@ class StateMachines::State # If the method has never been defined for this state, then a NoMethodError # will be raised. # - # source://state_machines//lib/state_machines/state.rb#243 + # pkg:gem/state_machines#lib/state_machines/state.rb:243 def call(object, method, *args, &_arg3); end # Defines a context for the state which will be enabled on instances of @@ -4137,12 +4137,12 @@ class StateMachines::State # This can be called multiple times. Each time a new context is created, # a new module will be included in the owner class. # - # source://state_machines//lib/state_machines/state.rb#205 + # pkg:gem/state_machines#lib/state_machines/state.rb:205 def context(&_arg0); end # The list of methods that have been defined in this state's context # - # source://state_machines//lib/state_machines/state.rb#232 + # pkg:gem/state_machines#lib/state_machines/state.rb:232 def context_methods; end # Generates a human-readable description of this state's name / value: @@ -4159,10 +4159,10 @@ class StateMachines::State # * :human_name - Whether to use this state's human name in the # description or just the internal name # - # source://state_machines//lib/state_machines/state.rb#151 + # pkg:gem/state_machines#lib/state_machines/state.rb:151 def description(options = T.unsafe(nil)); end - # source://state_machines//lib/state_machines/state.rb#265 + # pkg:gem/state_machines#lib/state_machines/state.rb:265 def draw(graph, options = T.unsafe(nil), io = T.unsafe(nil)); end # Determines whether there are any states that can be transitioned to from @@ -4172,33 +4172,33 @@ class StateMachines::State # # @return [Boolean] # - # source://state_machines//lib/state_machines/state.rb#122 + # pkg:gem/state_machines#lib/state_machines/state.rb:122 def final?; end # Transforms the state name into a more human-readable format, such as # "first gear" instead of "first_gear" # - # source://state_machines//lib/state_machines/state.rb#134 + # pkg:gem/state_machines#lib/state_machines/state.rb:134 def human_name(klass = T.unsafe(nil)); end # The human-readable name for the state # - # source://state_machines//lib/state_machines/state.rb#26 + # pkg:gem/state_machines#lib/state_machines/state.rb:26 def human_name=(_arg0); end # Whether or not this state is the initial state to use for new objects # - # source://state_machines//lib/state_machines/state.rb#36 + # pkg:gem/state_machines#lib/state_machines/state.rb:36 def initial; end # Whether or not this state is the initial state to use for new objects # - # source://state_machines//lib/state_machines/state.rb#36 + # pkg:gem/state_machines#lib/state_machines/state.rb:36 def initial=(_arg0); end # Whether or not this state is the initial state to use for new objects # - # source://state_machines//lib/state_machines/state.rb#37 + # pkg:gem/state_machines#lib/state_machines/state.rb:37 def initial?; end # Generates a nicely formatted description of this state's contents. @@ -4208,27 +4208,27 @@ class StateMachines::State # state = StateMachines::State.new(machine, :parked, :value => 1, :initial => true) # state # => # # - # source://state_machines//lib/state_machines/state.rb#275 + # pkg:gem/state_machines#lib/state_machines/state.rb:275 def inspect; end # The state machine for which this state is defined # - # source://state_machines//lib/state_machines/state.rb#16 + # pkg:gem/state_machines#lib/state_machines/state.rb:16 def machine; end - # source://state_machines//lib/state_machines/state.rb#113 + # pkg:gem/state_machines#lib/state_machines/state.rb:113 def machine=(machine); end # A custom lambda block for determining whether a given value matches this # state # - # source://state_machines//lib/state_machines/state.rb#41 + # pkg:gem/state_machines#lib/state_machines/state.rb:41 def matcher; end # A custom lambda block for determining whether a given value matches this # state # - # source://state_machines//lib/state_machines/state.rb#41 + # pkg:gem/state_machines#lib/state_machines/state.rb:41 def matcher=(_arg0); end # Determines whether this state matches the given value. If no matcher is @@ -4249,18 +4249,18 @@ class StateMachines::State # # @return [Boolean] # - # source://state_machines//lib/state_machines/state.rb#196 + # pkg:gem/state_machines#lib/state_machines/state.rb:196 def matches?(other_value); end # The unique identifier for the state used in event and callback definitions # - # source://state_machines//lib/state_machines/state.rb#19 + # pkg:gem/state_machines#lib/state_machines/state.rb:19 def name; end # The fully-qualified identifier for the state, scoped by the machine's # namespace # - # source://state_machines//lib/state_machines/state.rb#23 + # pkg:gem/state_machines#lib/state_machines/state.rb:23 def qualified_name; end # The value that represents this state. This will optionally evaluate the @@ -4273,13 +4273,13 @@ class StateMachines::State # State.new(machine, :parked, :value => lambda {Time.now}).value # => Tue Jan 01 00:00:00 UTC 2008 # State.new(machine, :parked, :value => lambda {Time.now}).value(false) # => # - # source://state_machines//lib/state_machines/state.rb#167 + # pkg:gem/state_machines#lib/state_machines/state.rb:167 def value(eval = T.unsafe(nil)); end # The value that is written to a machine's attribute when an object # transitions into this state # - # source://state_machines//lib/state_machines/state.rb#30 + # pkg:gem/state_machines#lib/state_machines/state.rb:30 def value=(_arg0); end private @@ -4287,38 +4287,38 @@ class StateMachines::State # Adds a predicate method to the owner class so long as a name has # actually been configured for the state # - # source://state_machines//lib/state_machines/state.rb#289 + # pkg:gem/state_machines#lib/state_machines/state.rb:289 def add_predicate; end # Should the value be cached after it's evaluated for the first time? # # @return [Boolean] # - # source://state_machines//lib/state_machines/state.rb#283 + # pkg:gem/state_machines#lib/state_machines/state.rb:283 def cache_value?; end # Generates the name of the method containing the actual implementation # - # source://state_machines//lib/state_machines/state.rb#304 + # pkg:gem/state_machines#lib/state_machines/state.rb:304 def context_name_for(method); end # Creates a copy of this state, excluding the context to prevent conflicts # across different machines. # - # source://state_machines//lib/state_machines/state.rb#108 + # pkg:gem/state_machines#lib/state_machines/state.rb:108 def initialize_copy(orig); end - # source://state_machines//lib/state_machines/state.rb#308 + # pkg:gem/state_machines#lib/state_machines/state.rb:308 def warn_about_method_conflict(method, defined_in); end end # Represents a collection of states in a state machine # -# source://state_machines//lib/state_machines/state_collection.rb#5 +# pkg:gem/state_machines#lib/state_machines/state_collection.rb:5 class StateMachines::StateCollection < ::StateMachines::NodeCollection # @return [StateCollection] a new instance of StateCollection # - # source://state_machines//lib/state_machines/state_collection.rb#6 + # pkg:gem/state_machines#lib/state_machines/state_collection.rb:6 def initialize(machine); end # Gets the order in which states should be displayed based on where they @@ -4332,7 +4332,7 @@ class StateMachines::StateCollection < ::StateMachines::NodeCollection # # This order will determine how the GraphViz visualizations are rendered. # - # source://state_machines//lib/state_machines/state_collection.rb#93 + # pkg:gem/state_machines#lib/state_machines/state_collection.rb:93 def by_priority; end # Determines the current state of the given object as configured by this @@ -4358,7 +4358,7 @@ class StateMachines::StateCollection < ::StateMachines::NodeCollection # vehicle.state = 'invalid' # states.match(vehicle) # => nil # - # source://state_machines//lib/state_machines/state_collection.rb#55 + # pkg:gem/state_machines#lib/state_machines/state_collection.rb:55 def match(object); end # Determines the current state of the given object as configured by this @@ -4381,7 +4381,7 @@ class StateMachines::StateCollection < ::StateMachines::NodeCollection # vehicle.state = 'invalid' # states.match!(vehicle) # => ArgumentError: "invalid" is not a known state value # - # source://state_machines//lib/state_machines/state_collection.rb#79 + # pkg:gem/state_machines#lib/state_machines/state_collection.rb:79 def match!(object); end # Determines whether the given object is in a specific state. If the @@ -4406,14 +4406,14 @@ class StateMachines::StateCollection < ::StateMachines::NodeCollection # # @return [Boolean] # - # source://state_machines//lib/state_machines/state_collection.rb#29 + # pkg:gem/state_machines#lib/state_machines/state_collection.rb:29 def matches?(object, name); end private # Gets the value for the given attribute on the node # - # source://state_machines//lib/state_machines/state_collection.rb#109 + # pkg:gem/state_machines#lib/state_machines/state_collection.rb:109 def value(node, attribute); end end @@ -4468,7 +4468,7 @@ end # vehicle.simulate = true # vehicle.moving? # => false # -# source://state_machines//lib/state_machines/state_context.rb#56 +# pkg:gem/state_machines#lib/state_machines/state_context.rb:56 class StateMachines::StateContext < ::Module include ::StateMachines::EvalHelpers @@ -4476,22 +4476,22 @@ class StateMachines::StateContext < ::Module # # @return [StateContext] a new instance of StateContext # - # source://state_machines//lib/state_machines/state_context.rb#66 + # pkg:gem/state_machines#lib/state_machines/state_context.rb:66 def initialize(state); end # The state machine for which this context's state is defined # - # source://state_machines//lib/state_machines/state_context.rb#60 + # pkg:gem/state_machines#lib/state_machines/state_context.rb:60 def machine; end # Hooks in condition-merging to methods that don't exist in this module # - # source://state_machines//lib/state_machines/state_context.rb#100 + # pkg:gem/state_machines#lib/state_machines/state_context.rb:100 def method_missing(*args, &_arg1); end # The state that must be present in an object for this context to be active # - # source://state_machines//lib/state_machines/state_context.rb#63 + # pkg:gem/state_machines#lib/state_machines/state_context.rb:63 def state; end # Creates a new transition that determines what to change the current state @@ -4513,78 +4513,78 @@ class StateMachines::StateContext < ::Module # # @raise [ArgumentError] # - # source://state_machines//lib/state_machines/state_context.rb#91 + # pkg:gem/state_machines#lib/state_machines/state_context.rb:91 def transition(options); end end # Cross-platform syntax validation for eval strings # Supports CRuby, JRuby, TruffleRuby via pluggable backends # -# source://state_machines//lib/state_machines/syntax_validator.rb#8 +# pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:8 module StateMachines::SyntaxValidator private # Lazily pick the best backend for this platform # Prefer RubyVM for performance on CRuby, fallback to Ripper for compatibility # - # source://state_machines//lib/state_machines/syntax_validator.rb#19 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:19 def backend; end # Public API: raises SyntaxError if code is invalid # - # source://state_machines//lib/state_machines/syntax_validator.rb#10 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:10 def validate!(code, filename = T.unsafe(nil)); end class << self # Lazily pick the best backend for this platform # Prefer RubyVM for performance on CRuby, fallback to Ripper for compatibility # - # source://state_machines//lib/state_machines/syntax_validator.rb#26 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:26 def backend; end # Public API: raises SyntaxError if code is invalid # - # source://state_machines//lib/state_machines/syntax_validator.rb#13 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:13 def validate!(code, filename = T.unsafe(nil)); end end end # Universal Ruby backend via Ripper # -# source://state_machines//lib/state_machines/syntax_validator.rb#44 +# pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:44 module StateMachines::SyntaxValidator::RipperBackend private - # source://state_machines//lib/state_machines/syntax_validator.rb#45 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:45 def validate!(code, filename); end class << self - # source://state_machines//lib/state_machines/syntax_validator.rb#54 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:54 def validate!(code, filename); end end end # MRI backend using RubyVM::InstructionSequence # -# source://state_machines//lib/state_machines/syntax_validator.rb#29 +# pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:29 module StateMachines::SyntaxValidator::RubyVmBackend private # @return [Boolean] # - # source://state_machines//lib/state_machines/syntax_validator.rb#30 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:30 def available?; end - # source://state_machines//lib/state_machines/syntax_validator.rb#35 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:35 def validate!(code, filename); end class << self # @return [Boolean] # - # source://state_machines//lib/state_machines/syntax_validator.rb#33 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:33 def available?; end - # source://state_machines//lib/state_machines/syntax_validator.rb#40 + # pkg:gem/state_machines#lib/state_machines/syntax_validator.rb:40 def validate!(code, filename); end end end @@ -4596,41 +4596,41 @@ end # * A starting state # * An ending state # -# source://state_machines//lib/state_machines/transition.rb#15 +# pkg:gem/state_machines#lib/state_machines/transition.rb:15 class StateMachines::Transition # Creates a new, specific transition # # @return [Transition] a new instance of Transition # - # source://state_machines//lib/state_machines/transition.rb#39 + # pkg:gem/state_machines#lib/state_machines/transition.rb:39 def initialize(object, machine, event, from_name, to_name, read_state = T.unsafe(nil)); end # Determines equality of transitions by testing whether the object, states, # and event involved in the transition are equal # - # source://state_machines//lib/state_machines/transition.rb#298 + # pkg:gem/state_machines#lib/state_machines/transition.rb:298 def ==(other); end # The action that will be run when this transition is performed # - # source://state_machines//lib/state_machines/transition.rb#64 + # pkg:gem/state_machines#lib/state_machines/transition.rb:64 def action; end # The arguments passed in to the event that triggered the transition # (does not include the +run_action+ boolean argument if specified) # - # source://state_machines//lib/state_machines/transition.rb#30 + # pkg:gem/state_machines#lib/state_machines/transition.rb:30 def args; end # The arguments passed in to the event that triggered the transition # (does not include the +run_action+ boolean argument if specified) # - # source://state_machines//lib/state_machines/transition.rb#30 + # pkg:gem/state_machines#lib/state_machines/transition.rb:30 def args=(_arg0); end # The attribute which this transition's machine is defined for # - # source://state_machines//lib/state_machines/transition.rb#59 + # pkg:gem/state_machines#lib/state_machines/transition.rb:59 def attribute; end # A hash of all the core attributes defined for this transition with their @@ -4642,37 +4642,37 @@ class StateMachines::Transition # transition = StateMachines::Transition.new(Vehicle.new, machine, :ignite, :parked, :idling) # transition.attributes # => {:object => #, :attribute => :state, :event => :ignite, :from => 'parked', :to => 'idling'} # - # source://state_machines//lib/state_machines/transition.rb#140 + # pkg:gem/state_machines#lib/state_machines/transition.rb:140 def attributes; end # The event that triggered the transition # - # source://state_machines//lib/state_machines/transition.rb#69 + # pkg:gem/state_machines#lib/state_machines/transition.rb:69 def event; end # The original state value *before* the transition # - # source://state_machines//lib/state_machines/transition.rb#23 + # pkg:gem/state_machines#lib/state_machines/transition.rb:23 def from; end # The state name *before* the transition # - # source://state_machines//lib/state_machines/transition.rb#84 + # pkg:gem/state_machines#lib/state_machines/transition.rb:84 def from_name; end # The human-readable name of the event that triggered the transition # - # source://state_machines//lib/state_machines/transition.rb#79 + # pkg:gem/state_machines#lib/state_machines/transition.rb:79 def human_event; end # The human-readable state name *before* the transition # - # source://state_machines//lib/state_machines/transition.rb#94 + # pkg:gem/state_machines#lib/state_machines/transition.rb:94 def human_from_name; end # The new human-readable state name *after* the transition # - # source://state_machines//lib/state_machines/transition.rb#109 + # pkg:gem/state_machines#lib/state_machines/transition.rb:109 def human_to_name; end # Generates a nicely formatted description of this transitions's contents. @@ -4682,7 +4682,7 @@ class StateMachines::Transition # transition = StateMachines::Transition.new(object, machine, :ignite, :parked, :idling) # transition # => # # - # source://state_machines//lib/state_machines/transition.rb#313 + # pkg:gem/state_machines#lib/state_machines/transition.rb:313 def inspect; end # Does this transition represent a loopback (i.e. the from and to state @@ -4696,17 +4696,17 @@ class StateMachines::Transition # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition.rb#121 + # pkg:gem/state_machines#lib/state_machines/transition.rb:121 def loopback?; end # The state machine for which this transition is defined # - # source://state_machines//lib/state_machines/transition.rb#20 + # pkg:gem/state_machines#lib/state_machines/transition.rb:20 def machine; end # The object being transitioned # - # source://state_machines//lib/state_machines/transition.rb#17 + # pkg:gem/state_machines#lib/state_machines/transition.rb:17 def object; end # Checks whether this transition is currently paused. @@ -4714,7 +4714,7 @@ class StateMachines::Transition # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition.rb#319 + # pkg:gem/state_machines#lib/state_machines/transition.rb:319 def paused?; end # Runs the actual transition and any before/after callbacks associated @@ -4738,7 +4738,7 @@ class StateMachines::Transition # transition.perform(Time.now, false) # => Passes in additional arguments and only sets the state attribute # transition.perform(Time.now, run_action: false) # => Passes in additional arguments and only sets the state attribute # - # source://state_machines//lib/state_machines/transition.rb#164 + # pkg:gem/state_machines#lib/state_machines/transition.rb:164 def perform(*args); end # Transitions the current value of the state to that specified by the @@ -4761,33 +4761,33 @@ class StateMachines::Transition # # vehicle.state # => 'idling' # - # source://state_machines//lib/state_machines/transition.rb#250 + # pkg:gem/state_machines#lib/state_machines/transition.rb:250 def persist; end # The fully-qualified name of the event that triggered the transition # - # source://state_machines//lib/state_machines/transition.rb#74 + # pkg:gem/state_machines#lib/state_machines/transition.rb:74 def qualified_event; end # The fully-qualified state name *before* the transition # - # source://state_machines//lib/state_machines/transition.rb#89 + # pkg:gem/state_machines#lib/state_machines/transition.rb:89 def qualified_from_name; end # The new fully-qualified state name *after* the transition # - # source://state_machines//lib/state_machines/transition.rb#104 + # pkg:gem/state_machines#lib/state_machines/transition.rb:104 def qualified_to_name; end # Resets any tracking of which callbacks have already been run and whether # the state has already been persisted # - # source://state_machines//lib/state_machines/transition.rb#288 + # pkg:gem/state_machines#lib/state_machines/transition.rb:288 def reset; end # The result of invoking the action associated with the machine # - # source://state_machines//lib/state_machines/transition.rb#33 + # pkg:gem/state_machines#lib/state_machines/transition.rb:33 def result; end # Checks whether this transition has a paused fiber that can be resumed. @@ -4798,7 +4798,7 @@ class StateMachines::Transition # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition.rb#328 + # pkg:gem/state_machines#lib/state_machines/transition.rb:328 def resumable?; end # Manually resumes the execution of a previously paused callback. @@ -4806,7 +4806,7 @@ class StateMachines::Transition # false if there was no paused fiber, and raises an exception if the # transition was halted. # - # source://state_machines//lib/state_machines/transition.rb#336 + # pkg:gem/state_machines#lib/state_machines/transition.rb:336 def resume!(&block); end # Rolls back changes made to the object's state via this transition. This @@ -4834,7 +4834,7 @@ class StateMachines::Transition # transition.rollback # vehicle.state # => "parked" # - # source://state_machines//lib/state_machines/transition.rb#281 + # pkg:gem/state_machines#lib/state_machines/transition.rb:281 def rollback; end # Runs the before / after callbacks for this transition. If a block is @@ -4849,22 +4849,22 @@ class StateMachines::Transition # This will return true if all before callbacks gets executed. After # callbacks will not have an effect on the result. # - # source://state_machines//lib/state_machines/transition.rb#198 + # pkg:gem/state_machines#lib/state_machines/transition.rb:198 def run_callbacks(options = T.unsafe(nil), &block); end # The new state value *after* the transition # - # source://state_machines//lib/state_machines/transition.rb#26 + # pkg:gem/state_machines#lib/state_machines/transition.rb:26 def to; end # The new state name *after* the transition # - # source://state_machines//lib/state_machines/transition.rb#99 + # pkg:gem/state_machines#lib/state_machines/transition.rb:99 def to_name; end # Whether the transition is only existing temporarily for the object # - # source://state_machines//lib/state_machines/transition.rb#36 + # pkg:gem/state_machines#lib/state_machines/transition.rb:36 def transient=(_arg0); end # Is this transition existing for a short period only? If this is set, it @@ -4873,14 +4873,14 @@ class StateMachines::Transition # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition.rb#128 + # pkg:gem/state_machines#lib/state_machines/transition.rb:128 def transient?; end # Runs a block within a transaction for the object being transitioned. # By default, transactions are a no-op unless otherwise defined by the # machine's integration. # - # source://state_machines//lib/state_machines/transition.rb#183 + # pkg:gem/state_machines#lib/state_machines/transition.rb:183 def within_transaction(&_arg0); end private @@ -4899,7 +4899,7 @@ class StateMachines::Transition # exception will not bubble up to the caller since +after+ callbacks # should never halt the execution of a +perform+. # - # source://state_machines//lib/state_machines/transition.rb#569 + # pkg:gem/state_machines#lib/state_machines/transition.rb:569 def after; end # Runs the machine's +before+ callbacks for this transition. Only @@ -4909,7 +4909,7 @@ class StateMachines::Transition # Once the callbacks are run, they cannot be run again until this transition # is reset. # - # source://state_machines//lib/state_machines/transition.rb#508 + # pkg:gem/state_machines#lib/state_machines/transition.rb:508 def before(complete = T.unsafe(nil), index = T.unsafe(nil), &block); end # Gets a hash of the context defining this unique transition (including @@ -4921,7 +4921,7 @@ class StateMachines::Transition # transition = StateMachines::Transition.new(Vehicle.new, machine, :ignite, :parked, :idling) # transition.context # => {:on => :ignite, :from => :parked, :to => :idling} # - # source://state_machines//lib/state_machines/transition.rb#592 + # pkg:gem/state_machines#lib/state_machines/transition.rb:592 def context; end # Runs a block that may get paused. If the block doesn't pause, then @@ -4934,20 +4934,20 @@ class StateMachines::Transition # Options: # * :fiber - Whether to use fiber-based execution (default: true) # - # source://state_machines//lib/state_machines/transition.rb#360 + # pkg:gem/state_machines#lib/state_machines/transition.rb:360 def pausable(options = T.unsafe(nil)); end # Pauses the current callback execution. This should only occur within # around callbacks when the remainder of the callback will be executed at # a later point in time. # - # source://state_machines//lib/state_machines/transition.rb#482 + # pkg:gem/state_machines#lib/state_machines/transition.rb:482 def pause; end end # Represents a collection of transitions in a state machine # -# source://state_machines//lib/state_machines/transition_collection.rb#7 +# pkg:gem/state_machines#lib/state_machines/transition_collection.rb:7 class StateMachines::TransitionCollection < ::Array # Creates a new collection of transitions that can be run in parallel. Each # transition *must* be for a different attribute. @@ -4960,12 +4960,12 @@ class StateMachines::TransitionCollection < ::Array # @raise [ArgumentError] # @return [TransitionCollection] a new instance of TransitionCollection # - # source://state_machines//lib/state_machines/transition_collection.rb#27 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:27 def initialize(transitions = T.unsafe(nil), options = T.unsafe(nil)); end # Options passed to the collection # - # source://state_machines//lib/state_machines/transition_collection.rb#18 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:18 def options; end # Runs each of the collection's transitions in parallel. @@ -4980,27 +4980,27 @@ class StateMachines::TransitionCollection < ::Array # If a block is passed to this method, that block will be called instead # of invoking each transition's action. # - # source://state_machines//lib/state_machines/transition_collection.rb#62 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:62 def perform(&block); end # Whether to skip running the action for each transition's machine # - # source://state_machines//lib/state_machines/transition_collection.rb#9 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:9 def skip_actions; end # Whether to skip running the after callbacks # - # source://state_machines//lib/state_machines/transition_collection.rb#12 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:12 def skip_after; end # Whether transitions should wrapped around a transaction block # - # source://state_machines//lib/state_machines/transition_collection.rb#15 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:15 def use_transactions; end protected - # source://state_machines//lib/state_machines/transition_collection.rb#90 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:90 def results; end private @@ -5008,36 +5008,36 @@ class StateMachines::TransitionCollection < ::Array # Gets the list of actions to run. If configured to skip actions, then # this will return an empty collection. # - # source://state_machines//lib/state_machines/transition_collection.rb#116 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:116 def actions; end # Wraps the given block with a rescue handler so that any exceptions that # occur will automatically result in the transition rolling back any changes # that were made to the object involved. # - # source://state_machines//lib/state_machines/transition_collection.rb#192 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:192 def catch_exceptions; end # Gets the object being transitioned # - # source://state_machines//lib/state_machines/transition_collection.rb#110 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:110 def object; end # Transitions the current value of the object's states to those specified by # each transition # - # source://state_machines//lib/state_machines/transition_collection.rb#163 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:163 def persist; end # Resets any information tracked from previous attempts to perform the # collection # - # source://state_machines//lib/state_machines/transition_collection.rb#129 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:129 def reset; end # Rolls back changes made to the object's states via each transition # - # source://state_machines//lib/state_machines/transition_collection.rb#185 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:185 def rollback; end # Runs the actions for each transition. If a block is given method, then it @@ -5045,7 +5045,7 @@ class StateMachines::TransitionCollection < ::Array # # The results of the actions will be used to determine #success?. # - # source://state_machines//lib/state_machines/transition_collection.rb#171 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:171 def run_actions; end # Runs each transition's callbacks recursively. Once all before callbacks @@ -5054,7 +5054,7 @@ class StateMachines::TransitionCollection < ::Array # # If any transition fails to run its callbacks, :halt will be thrown. # - # source://state_machines//lib/state_machines/transition_collection.rb#139 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:139 def run_callbacks(index = T.unsafe(nil), &block); end # Did each transition perform successfully? This will only be true if the @@ -5064,7 +5064,7 @@ class StateMachines::TransitionCollection < ::Array # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition_collection.rb#105 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:105 def success?; end # Determines whether an event attribute be used to trigger the transitions @@ -5073,7 +5073,7 @@ class StateMachines::TransitionCollection < ::Array # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition_collection.rb#123 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:123 def use_event_attributes?; end # Is this a valid set of transitions? If the collection was creating with @@ -5082,26 +5082,26 @@ class StateMachines::TransitionCollection < ::Array # # @return [Boolean] # - # source://state_machines//lib/state_machines/transition_collection.rb#97 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:97 def valid?; end # Runs a block within a transaction for the object being transitioned. If # transactions are disabled, then this is a no-op. # - # source://state_machines//lib/state_machines/transition_collection.rb#201 + # pkg:gem/state_machines#lib/state_machines/transition_collection.rb:201 def within_transaction; end end -# source://state_machines//lib/state_machines/version.rb#4 +# pkg:gem/state_machines#lib/state_machines/version.rb:4 StateMachines::VERSION = T.let(T.unsafe(nil), String) # Matches a specific set of values # -# source://state_machines//lib/state_machines/matcher.rb#57 +# pkg:gem/state_machines#lib/state_machines/matcher.rb:57 class StateMachines::WhitelistMatcher < ::StateMachines::Matcher # A human-readable description of this matcher # - # source://state_machines//lib/state_machines/matcher.rb#71 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:71 def description; end # Checks whether the given value exists within the whitelist configured @@ -5115,6 +5115,6 @@ class StateMachines::WhitelistMatcher < ::StateMachines::Matcher # # @return [Boolean] # - # source://state_machines//lib/state_machines/matcher.rb#66 + # pkg:gem/state_machines#lib/state_machines/matcher.rb:66 def matches?(value, _context = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/thor@1.5.0.rbi b/sorbet/rbi/gems/thor@1.5.0.rbi index 4e6af3738..802f9b974 100644 --- a/sorbet/rbi/gems/thor@1.5.0.rbi +++ b/sorbet/rbi/gems/thor@1.5.0.rbi @@ -5,14 +5,14 @@ # Please instead update this file by running `bin/tapioca gem thor`. -# source://thor//lib/thor/shell/lcs_diff.rb#1 +# pkg:gem/thor#lib/thor/shell/lcs_diff.rb:1 module LCSDiff protected # Overwrite show_diff to show diff with colors if Diff::LCS is # available. # - # source://thor//lib/thor/shell/lcs_diff.rb#6 + # pkg:gem/thor#lib/thor/shell/lcs_diff.rb:6 def show_diff(destination, content); end private @@ -22,14 +22,14 @@ module LCSDiff # # @return [Boolean] # - # source://thor//lib/thor/shell/lcs_diff.rb#37 + # pkg:gem/thor#lib/thor/shell/lcs_diff.rb:37 def diff_lcs_loaded?; end - # source://thor//lib/thor/shell/lcs_diff.rb#21 + # pkg:gem/thor#lib/thor/shell/lcs_diff.rb:21 def output_diff_line(diff); end end -# source://thor//lib/thor/command.rb#1 +# pkg:gem/thor#lib/thor/command.rb:1 class Thor include ::Thor::Base include ::Thor::Invocation @@ -37,15 +37,15 @@ class Thor extend ::Thor::Base::ClassMethods extend ::Thor::Invocation::ClassMethods - # source://thor//lib/thor.rb#663 + # pkg:gem/thor#lib/thor.rb:663 def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://thor//lib/thor.rb#678 + # pkg:gem/thor#lib/thor.rb:678 def tree; end private - # source://thor//lib/thor.rb#684 + # pkg:gem/thor#lib/thor.rb:684 def build_command_tree(klass, indent); end class << self @@ -86,7 +86,7 @@ class Thor # # Then it is required either only one of "--one" or "--two". # - # source://thor//lib/thor.rb#250 + # pkg:gem/thor#lib/thor.rb:250 def at_least_one(*args, &block); end # Extend check unknown options to accept a hash of conditions. @@ -94,14 +94,14 @@ class Thor # === Parameters # options: A hash containing :only and/or :except keys # - # source://thor//lib/thor.rb#350 + # pkg:gem/thor#lib/thor.rb:350 def check_unknown_options!(options = T.unsafe(nil)); end # Overwrite check_unknown_options? to take subcommands and options into account. # # @return [Boolean] # - # source://thor//lib/thor.rb#363 + # pkg:gem/thor#lib/thor.rb:363 def check_unknown_options?(config); end # Checks if a specified command exists. @@ -114,7 +114,7 @@ class Thor # # @return [Boolean] # - # source://thor//lib/thor.rb#449 + # pkg:gem/thor#lib/thor.rb:449 def command_exists?(command_name); end # Prints help information for the given command. @@ -123,7 +123,7 @@ class Thor # shell # command_name # - # source://thor//lib/thor.rb#258 + # pkg:gem/thor#lib/thor.rb:258 def command_help(shell, command_name); end # Sets the default command when thor is executed without an explicit command to be called. @@ -131,7 +131,7 @@ class Thor # ==== Parameters # meth:: name of the default command # - # source://thor//lib/thor.rb#21 + # pkg:gem/thor#lib/thor.rb:21 def default_command(meth = T.unsafe(nil)); end # Sets the default command when thor is executed without an explicit command to be called. @@ -139,10 +139,10 @@ class Thor # ==== Parameters # meth:: name of the default command # - # source://thor//lib/thor.rb#28 + # pkg:gem/thor#lib/thor.rb:28 def default_task(meth = T.unsafe(nil)); end - # source://thor//lib/thor/base.rb#27 + # pkg:gem/thor#lib/thor/base.rb:27 def deprecation_warning(message); end # Defines the usage and the description of the next command. @@ -152,7 +152,7 @@ class Thor # description # options # - # source://thor//lib/thor.rb#54 + # pkg:gem/thor#lib/thor.rb:54 def desc(usage, description, options = T.unsafe(nil)); end # Disable the check for required options for the given commands. @@ -162,12 +162,12 @@ class Thor # ==== Parameters # Symbol ...:: A list of commands that should be affected. # - # source://thor//lib/thor.rb#434 + # pkg:gem/thor#lib/thor.rb:434 def disable_required_check!(*command_names); end # @return [Boolean] # - # source://thor//lib/thor.rb#438 + # pkg:gem/thor#lib/thor.rb:438 def disable_required_check?(command); end # Adds and declares option group for exclusive options in the @@ -196,7 +196,7 @@ class Thor # If you give "--one" and "--two" at the same time ExclusiveArgumentsError # will be raised. # - # source://thor//lib/thor.rb#207 + # pkg:gem/thor#lib/thor.rb:207 def exclusive(*args, &block); end # Prints help information for this class. @@ -204,7 +204,7 @@ class Thor # ==== Parameters # shell # - # source://thor//lib/thor.rb#288 + # pkg:gem/thor#lib/thor.rb:288 def help(shell, subcommand = T.unsafe(nil)); end # Defines the long description of the next command. @@ -219,7 +219,7 @@ class Thor # long description # options # - # source://thor//lib/thor.rb#78 + # pkg:gem/thor#lib/thor.rb:78 def long_desc(long_description, options = T.unsafe(nil)); end # Maps an input to a command. If you define: @@ -235,7 +235,7 @@ class Thor # ==== Parameters # Hash[String|Array => Symbol]:: Maps the string or the strings in the array to the given command. # - # source://thor//lib/thor.rb#101 + # pkg:gem/thor#lib/thor.rb:101 def map(mappings = T.unsafe(nil), **kw); end # Adds and declares option group for required at least one of options in the @@ -275,7 +275,7 @@ class Thor # # Then it is required either only one of "--one" or "--two". # - # source://thor//lib/thor.rb#246 + # pkg:gem/thor#lib/thor.rb:246 def method_at_least_one(*args, &block); end # Adds and declares option group for exclusive options in the @@ -304,7 +304,7 @@ class Thor # If you give "--one" and "--two" at the same time ExclusiveArgumentsError # will be raised. # - # source://thor//lib/thor.rb#203 + # pkg:gem/thor#lib/thor.rb:203 def method_exclusive(*args, &block); end # Adds an option to the set of method options. If :for is given as option, @@ -333,7 +333,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 + # pkg:gem/thor#lib/thor.rb:163 def method_option(name, options = T.unsafe(nil)); end # Declares the options for the next command to be declared. @@ -343,7 +343,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 + # pkg:gem/thor#lib/thor.rb:129 def method_options(options = T.unsafe(nil)); end # Adds an option to the set of method options. If :for is given as option, @@ -372,7 +372,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#175 + # pkg:gem/thor#lib/thor.rb:175 def option(name, options = T.unsafe(nil)); end # Declares the options for the next command to be declared. @@ -382,7 +382,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#135 + # pkg:gem/thor#lib/thor.rb:135 def options(options = T.unsafe(nil)); end # Allows for custom "Command" package naming. @@ -391,17 +391,17 @@ class Thor # name # options # - # source://thor//lib/thor.rb#12 + # pkg:gem/thor#lib/thor.rb:12 def package_name(name, _ = T.unsafe(nil)); end # Returns commands ready to be printed. # - # source://thor//lib/thor.rb#309 + # pkg:gem/thor#lib/thor.rb:309 def printable_commands(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end # Returns commands ready to be printed. # - # source://thor//lib/thor.rb#318 + # pkg:gem/thor#lib/thor.rb:318 def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end # Registers another Thor subclass as a command. @@ -412,7 +412,7 @@ class Thor # usage:: Short usage for the subcommand # description:: Description for the subcommand # - # source://thor//lib/thor.rb#37 + # pkg:gem/thor#lib/thor.rb:37 def register(klass, subcommand_name, usage, description, options = T.unsafe(nil)); end # Stop parsing of options as soon as an unknown option or a regular @@ -453,27 +453,27 @@ class Thor # ==== Parameters # Symbol ...:: A list of commands that should be affected. # - # source://thor//lib/thor.rb#420 + # pkg:gem/thor#lib/thor.rb:420 def stop_on_unknown_option!(*command_names); end # @return [Boolean] # - # source://thor//lib/thor.rb#424 + # pkg:gem/thor#lib/thor.rb:424 def stop_on_unknown_option?(command); end - # source://thor//lib/thor.rb#329 + # pkg:gem/thor#lib/thor.rb:329 def subcommand(subcommand, subcommand_class); end - # source://thor//lib/thor.rb#325 + # pkg:gem/thor#lib/thor.rb:325 def subcommand_classes; end - # source://thor//lib/thor.rb#320 + # pkg:gem/thor#lib/thor.rb:320 def subcommands; end - # source://thor//lib/thor.rb#344 + # pkg:gem/thor#lib/thor.rb:344 def subtask(subcommand, subcommand_class); end - # source://thor//lib/thor.rb#323 + # pkg:gem/thor#lib/thor.rb:323 def subtasks; end # Prints help information for the given command. @@ -482,7 +482,7 @@ class Thor # shell # command_name # - # source://thor//lib/thor.rb#281 + # pkg:gem/thor#lib/thor.rb:281 def task_help(shell, command_name); end protected @@ -492,48 +492,48 @@ class Thor # the command that is going to be invoked and a boolean which indicates if # the namespace should be displayed as arguments. # - # source://thor//lib/thor.rb#546 + # pkg:gem/thor#lib/thor.rb:546 def banner(command, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://thor//lib/thor.rb#552 + # pkg:gem/thor#lib/thor.rb:552 def baseclass; end - # source://thor//lib/thor.rb#560 + # pkg:gem/thor#lib/thor.rb:560 def create_command(meth); end - # source://thor//lib/thor.rb#584 + # pkg:gem/thor#lib/thor.rb:584 def create_task(meth); end # help command has the required check disabled by default. # - # source://thor//lib/thor.rb#478 + # pkg:gem/thor#lib/thor.rb:478 def disable_required_check; end # The method responsible for dispatching given the args. # # @yield [instance] # - # source://thor//lib/thor.rb#505 + # pkg:gem/thor#lib/thor.rb:505 def dispatch(meth, given_args, given_opts, config); end - # source://thor//lib/thor.rb#556 + # pkg:gem/thor#lib/thor.rb:556 def dynamic_command_class; end # this is the logic that takes the command name passed in by the user # and determines whether it is an unambiguous substrings of a command or # alias name. # - # source://thor//lib/thor.rb#626 + # pkg:gem/thor#lib/thor.rb:626 def find_command_possibilities(meth); end # this is the logic that takes the command name passed in by the user # and determines whether it is an unambiguous substrings of a command or # alias name. # - # source://thor//lib/thor.rb#639 + # pkg:gem/thor#lib/thor.rb:639 def find_task_possibilities(meth); end - # source://thor//lib/thor.rb#586 + # pkg:gem/thor#lib/thor.rb:586 def initialize_added; end # Returns this class at least one of required options array set. @@ -541,7 +541,7 @@ class Thor # ==== Returns # Array[Array[Thor::Option.name]] # - # source://thor//lib/thor.rb#469 + # pkg:gem/thor#lib/thor.rb:469 def method_at_least_one_option_names; end # Returns this class exclusive options array set. @@ -549,7 +549,7 @@ class Thor # ==== Returns # Array[Array[Thor::Option.name]] # - # source://thor//lib/thor.rb#460 + # pkg:gem/thor#lib/thor.rb:460 def method_exclusive_option_names; end # receives a (possibly nil) command name and returns a name that is in @@ -562,7 +562,7 @@ class Thor # # @raise [AmbiguousTaskError] # - # source://thor//lib/thor.rb#605 + # pkg:gem/thor#lib/thor.rb:605 def normalize_command_name(meth); end # receives a (possibly nil) command name and returns a name that is in @@ -575,23 +575,23 @@ class Thor # # @raise [AmbiguousTaskError] # - # source://thor//lib/thor.rb#621 + # pkg:gem/thor#lib/thor.rb:621 def normalize_task_name(meth); end - # source://thor//lib/thor.rb#493 + # pkg:gem/thor#lib/thor.rb:493 def print_at_least_one_required_options(shell, command = T.unsafe(nil)); end - # source://thor//lib/thor.rb#482 + # pkg:gem/thor#lib/thor.rb:482 def print_exclusive_options(shell, command = T.unsafe(nil)); end # Retrieve the command name from given args. # - # source://thor//lib/thor.rb#592 + # pkg:gem/thor#lib/thor.rb:592 def retrieve_command_name(args); end # Retrieve the command name from given args. # - # source://thor//lib/thor.rb#596 + # pkg:gem/thor#lib/thor.rb:596 def retrieve_task_name(args); end # Sort the commands, lexicographically by default. @@ -599,21 +599,21 @@ class Thor # Can be overridden in the subclass to change the display order of the # commands. # - # source://thor//lib/thor.rb#653 + # pkg:gem/thor#lib/thor.rb:653 def sort_commands!(list); end - # source://thor//lib/thor.rb#473 + # pkg:gem/thor#lib/thor.rb:473 def stop_on_unknown_option; end - # source://thor//lib/thor.rb#641 + # pkg:gem/thor#lib/thor.rb:641 def subcommand_help(cmd); end - # source://thor//lib/thor.rb#647 + # pkg:gem/thor#lib/thor.rb:647 def subtask_help(cmd); end end end -# source://thor//lib/thor/actions/empty_directory.rb#2 +# pkg:gem/thor#lib/thor/actions/empty_directory.rb:2 module Thor::Actions mixes_in_class_methods ::Thor::Actions::ClassMethods @@ -626,12 +626,12 @@ module Thor::Actions # # destination_root:: The root directory needed for some actions. # - # source://thor//lib/thor/actions.rb#72 + # pkg:gem/thor#lib/thor/actions.rb:72 def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end # Wraps an action object and call it accordingly to the thor class behavior. # - # source://thor//lib/thor/actions.rb#89 + # pkg:gem/thor#lib/thor/actions.rb:89 def action(instance); end # Create a new file relative to the destination root with the given data, @@ -651,7 +651,7 @@ module Thor::Actions # # create_file "config/apache.conf", "your apache config" # - # source://thor//lib/thor/actions/create_file.rb#27 + # pkg:gem/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. @@ -666,7 +666,7 @@ module Thor::Actions # # create_link "config/apache.conf", "/etc/apache.conf" # - # source://thor//lib/thor/actions/create_link.rb#22 + # pkg:gem/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. @@ -684,7 +684,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#197 + # pkg:gem/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. @@ -702,7 +702,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#192 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:192 def append_to_file(path, *args, &block); end # Loads an external file and execute it in the instance binding. @@ -717,19 +717,19 @@ module Thor::Actions # # apply "recipes/jquery.rb" # - # source://thor//lib/thor/actions.rb#216 + # pkg:gem/thor#lib/thor/actions.rb:216 def apply(path, config = T.unsafe(nil)); end # Returns the value of attribute behavior. # - # source://thor//lib/thor/actions.rb#10 + # pkg:gem/thor#lib/thor/actions.rb:10 def behavior; end # Sets the attribute behavior # # @param value the value to set the attribute behavior to. # - # source://thor//lib/thor/actions.rb#10 + # pkg:gem/thor#lib/thor/actions.rb:10 def behavior=(_arg0); end # Changes the mode of the given file or directory. @@ -743,7 +743,7 @@ module Thor::Actions # # chmod "script/server", 0755 # - # source://thor//lib/thor/actions/file_manipulation.rb#145 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:145 def chmod(path, mode, config = T.unsafe(nil)); end # Comment all lines matching a given regex. It will leave the space @@ -759,7 +759,7 @@ module Thor::Actions # # comment_lines 'config/initializers/session_store.rb', /cookie_store/ # - # source://thor//lib/thor/actions/file_manipulation.rb#333 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:333 def comment_lines(path, flag, *args); end # Copies the file from the relative source to the relative destination. If @@ -777,7 +777,7 @@ module Thor::Actions # # copy_file "doc/README" # - # source://thor//lib/thor/actions/file_manipulation.rb#20 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:20 def copy_file(source, *args, &block); end # Create a new file relative to the destination root with the given data, @@ -797,7 +797,7 @@ module Thor::Actions # # create_file "config/apache.conf", "your apache config" # - # source://thor//lib/thor/actions/create_file.rb#22 + # pkg:gem/thor#lib/thor/actions/create_file.rb:22 def create_file(destination, *args, &block); end # Create a new file relative to the destination root from the given source. @@ -812,18 +812,18 @@ module Thor::Actions # # create_link "config/apache.conf", "/etc/apache.conf" # - # source://thor//lib/thor/actions/create_link.rb#17 + # pkg:gem/thor#lib/thor/actions/create_link.rb:17 def create_link(destination, *args); end # Returns the root for this thor class (also aliased as destination root). # - # source://thor//lib/thor/actions.rb#99 + # pkg:gem/thor#lib/thor/actions.rb:99 def destination_root; end # Sets the root for this thor class. Relatives path are added to the # directory where the script was invoked and expanded. # - # source://thor//lib/thor/actions.rb#106 + # pkg:gem/thor#lib/thor/actions.rb:106 def destination_root=(root); end # Copies recursively the files from source directory to root directory. @@ -870,7 +870,7 @@ module Thor::Actions # directory "doc" # directory "doc", "docs", :recursive => false # - # source://thor//lib/thor/actions/directory.rb#49 + # pkg:gem/thor#lib/thor/actions/directory.rb:49 def directory(source, *args, &block); end # Creates an empty directory. @@ -883,14 +883,14 @@ module Thor::Actions # # empty_directory "doc" # - # source://thor//lib/thor/actions/empty_directory.rb#13 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:13 def empty_directory(destination, config = T.unsafe(nil)); end # Receives a file or directory and search for it in the source paths. # # @raise [Error] # - # source://thor//lib/thor/actions.rb#133 + # pkg:gem/thor#lib/thor/actions.rb:133 def find_in_source_paths(file); end # Gets the content at the given address and places it at the given relative @@ -916,7 +916,7 @@ module Thor::Actions # content.split("\n").first # end # - # source://thor//lib/thor/actions/file_manipulation.rb#81 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:81 def get(source, *args, &block); end # Run a regular expression replacement on a file. @@ -936,7 +936,7 @@ module Thor::Actions # match << " no more. Use thor!" # end # - # source://thor//lib/thor/actions/file_manipulation.rb#291 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:291 def gsub_file(path, flag, *args, &block); end # Run a regular expression replacement on a file, raising an error if the @@ -957,12 +957,12 @@ module Thor::Actions # match << " no more. Use thor!" # end # - # source://thor//lib/thor/actions/file_manipulation.rb#263 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:263 def gsub_file!(path, flag, *args, &block); end # Goes to the root and execute the given block. # - # source://thor//lib/thor/actions.rb#200 + # pkg:gem/thor#lib/thor/actions.rb:200 def in_root; end # Injects text right after the class definition. Since it depends on @@ -982,7 +982,7 @@ module Thor::Actions # " filter_parameter :password\n" # end # - # source://thor//lib/thor/actions/file_manipulation.rb#216 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:216 def inject_into_class(path, klass, *args, &block); end # Injects the given content into a file. Different from gsub_file, this @@ -1004,7 +1004,7 @@ module Thor::Actions # gems.split(" ").map{ |gem| " config.gem :#{gem}" }.join("\n") # end # - # source://thor//lib/thor/actions/inject_into_file.rb#64 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:64 def inject_into_file(destination, *args, &block); end # Injects the given content into a file, raising an error if the contents of @@ -1026,7 +1026,7 @@ module Thor::Actions # gems.split(" ").map{ |gem| " config.gem :#{gem}" }.join("\n") # end # - # source://thor//lib/thor/actions/inject_into_file.rb#35 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:35 def inject_into_file!(destination, *args, &block); end # Injects text right after the module definition. Since it depends on @@ -1046,7 +1046,7 @@ module Thor::Actions # " def help; 'help'; end\n" # end # - # source://thor//lib/thor/actions/file_manipulation.rb#239 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:239 def inject_into_module(path, module_name, *args, &block); end # Injects the given content into a file. Different from gsub_file, this @@ -1068,7 +1068,7 @@ module Thor::Actions # gems.split(" ").map{ |gem| " config.gem :#{gem}" }.join("\n") # end # - # source://thor//lib/thor/actions/inject_into_file.rb#56 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:56 def insert_into_file(destination, *args, &block); end # Injects the given content into a file, raising an error if the contents of @@ -1090,7 +1090,7 @@ module Thor::Actions # gems.split(" ").map{ |gem| " config.gem :#{gem}" }.join("\n") # end # - # source://thor//lib/thor/actions/inject_into_file.rb#26 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:26 def insert_into_file!(destination, *args, &block); end # Do something in the root or on a provided subfolder. If a relative path @@ -1104,7 +1104,7 @@ module Thor::Actions # dir:: the directory to move to. # config:: give :verbose => true to log and use padding. # - # source://thor//lib/thor/actions.rb#170 + # pkg:gem/thor#lib/thor/actions.rb:170 def inside(dir = T.unsafe(nil), config = T.unsafe(nil), &block); end # Links the file from the relative source to the relative destination. If @@ -1121,7 +1121,7 @@ module Thor::Actions # # link_file "doc/README" # - # source://thor//lib/thor/actions/file_manipulation.rb#50 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:50 def link_file(source, *args); end # Prepend text to a file. Since it depends on insert_into_file, it's reversible. @@ -1139,7 +1139,7 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#175 + # pkg:gem/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. @@ -1157,13 +1157,13 @@ module Thor::Actions # 'config.gem "rspec"' # end # - # source://thor//lib/thor/actions/file_manipulation.rb#170 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:170 def prepend_to_file(path, *args, &block); end # Returns the given path relative to the absolute root (ie, root where # the script started). # - # source://thor//lib/thor/actions.rb#114 + # pkg:gem/thor#lib/thor/actions.rb:114 def relative_to_original_destination_root(path, remove_dot = T.unsafe(nil)); end # Removes a file at the given location. @@ -1177,7 +1177,7 @@ module Thor::Actions # remove_file 'README' # remove_file 'app/controllers/application_controller.rb' # - # source://thor//lib/thor/actions/file_manipulation.rb#360 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:360 def remove_dir(path, config = T.unsafe(nil)); end # Removes a file at the given location. @@ -1191,7 +1191,7 @@ module Thor::Actions # remove_file 'README' # remove_file 'app/controllers/application_controller.rb' # - # source://thor//lib/thor/actions/file_manipulation.rb#350 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:350 def remove_file(path, config = T.unsafe(nil)); end # Executes a command returning the contents of the command. @@ -1207,7 +1207,7 @@ module Thor::Actions # run('ln -s ~/edge rails') # end # - # source://thor//lib/thor/actions.rb#248 + # pkg:gem/thor#lib/thor/actions.rb:248 def run(command, config = T.unsafe(nil)); end # Executes a ruby script (taking into account WIN32 platform quirks). @@ -1216,12 +1216,12 @@ module Thor::Actions # command:: the command to be executed. # config:: give :verbose => false to not log the status. # - # source://thor//lib/thor/actions.rb#285 + # pkg:gem/thor#lib/thor/actions.rb:285 def run_ruby_script(command, config = T.unsafe(nil)); end # Holds source paths in instance so they can be manipulated. # - # source://thor//lib/thor/actions.rb#127 + # pkg:gem/thor#lib/thor/actions.rb:127 def source_paths; end # Gets an ERB template at the relative source, executes it and makes a copy @@ -1239,7 +1239,7 @@ module Thor::Actions # # template "doc/README" # - # source://thor//lib/thor/actions/file_manipulation.rb#117 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:117 def template(source, *args, &block); end # Run a thor command. A hash of options can be given and it's converted to @@ -1260,7 +1260,7 @@ module Thor::Actions # thor :list, :all => true, :substring => 'rails' # #=> thor list --all --substring=rails # - # source://thor//lib/thor/actions.rb#308 + # pkg:gem/thor#lib/thor/actions.rb:308 def thor(command, *args); end # Uncomment all lines matching a given regex. Preserves indentation before @@ -1275,47 +1275,47 @@ module Thor::Actions # # uncomment_lines 'config/initializers/session_store.rb', /active_record/ # - # source://thor//lib/thor/actions/file_manipulation.rb#314 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:314 def uncomment_lines(path, flag, *args); end protected - # source://thor//lib/thor/actions.rb#329 + # pkg:gem/thor#lib/thor/actions.rb:329 def _cleanup_options_and_set(options, key); end # Allow current root to be shared between invocations. # - # source://thor//lib/thor/actions.rb#325 + # pkg:gem/thor#lib/thor/actions.rb:325 def _shared_configuration; end private - # source://thor//lib/thor/actions/file_manipulation.rb#385 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:385 def actually_gsub_file(path, flag, args, error_on_no_change, &block); end - # source://thor//lib/thor/actions/file_manipulation.rb#371 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:371 def capture(*args); end - # source://thor//lib/thor/actions/file_manipulation.rb#367 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:367 def concat(string); end # Returns the value of attribute output_buffer. # - # source://thor//lib/thor/actions/file_manipulation.rb#362 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:362 def output_buffer; end # Sets the attribute output_buffer # # @param value the value to set the attribute output_buffer to. # - # source://thor//lib/thor/actions/file_manipulation.rb#362 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:362 def output_buffer=(_arg0); end - # source://thor//lib/thor/actions/file_manipulation.rb#375 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:375 def with_output_buffer(buf = T.unsafe(nil)); end class << self - # source://thor//lib/thor/actions.rb#12 + # pkg:gem/thor#lib/thor/actions.rb:12 def included(base); end end end @@ -1323,24 +1323,24 @@ end # Thor::Actions#capture depends on what kind of buffer is used in ERB. # Thus CapturableERB fixes ERB to use String buffer. # -# source://thor//lib/thor/actions/file_manipulation.rb#398 +# pkg:gem/thor#lib/thor/actions/file_manipulation.rb:398 class Thor::Actions::CapturableERB < ::ERB - # source://thor//lib/thor/actions/file_manipulation.rb#399 + # pkg:gem/thor#lib/thor/actions/file_manipulation.rb:399 def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end end -# source://thor//lib/thor/actions.rb#17 +# pkg:gem/thor#lib/thor/actions.rb:17 module Thor::Actions::ClassMethods # Add runtime options that help actions execution. # - # source://thor//lib/thor/actions.rb#48 + # pkg:gem/thor#lib/thor/actions.rb:48 def add_runtime_options!; end # Hold source paths for one Thor instance. source_paths_for_search is the # method responsible to gather source_paths from this current class, # inherited paths and the source root. # - # source://thor//lib/thor/actions.rb#22 + # pkg:gem/thor#lib/thor/actions.rb:22 def source_paths; end # Returns the source paths in the following order: @@ -1349,26 +1349,26 @@ module Thor::Actions::ClassMethods # 2) Source root # 3) Parents source paths # - # source://thor//lib/thor/actions.rb#38 + # pkg:gem/thor#lib/thor/actions.rb:38 def source_paths_for_search; end # Stores and return the source root for this class # - # source://thor//lib/thor/actions.rb#27 + # pkg:gem/thor#lib/thor/actions.rb:27 def source_root(path = T.unsafe(nil)); end end # CreateFile is a subset of Template, which instead of rendering a file with # ERB, it gets the content from the user. # -# source://thor//lib/thor/actions/create_file.rb#32 +# pkg:gem/thor#lib/thor/actions/create_file.rb:32 class Thor::Actions::CreateFile < ::Thor::Actions::EmptyDirectory # @return [CreateFile] a new instance of CreateFile # - # source://thor//lib/thor/actions/create_file.rb#35 + # pkg:gem/thor#lib/thor/actions/create_file.rb:35 def initialize(base, destination, data, config = T.unsafe(nil)); end - # source://thor//lib/thor/actions/create_file.rb#33 + # pkg:gem/thor#lib/thor/actions/create_file.rb:33 def data; end # Checks if the content of the file at the destination is identical to the rendered result. @@ -1378,15 +1378,15 @@ class Thor::Actions::CreateFile < ::Thor::Actions::EmptyDirectory # # @return [Boolean] # - # source://thor//lib/thor/actions/create_file.rb#45 + # pkg:gem/thor#lib/thor/actions/create_file.rb:45 def identical?; end - # source://thor//lib/thor/actions/create_file.rb#60 + # pkg:gem/thor#lib/thor/actions/create_file.rb:60 def invoke!; end # Holds the content to be added to the file. # - # source://thor//lib/thor/actions/create_file.rb#52 + # pkg:gem/thor#lib/thor/actions/create_file.rb:52 def render; end protected @@ -1395,33 +1395,33 @@ class Thor::Actions::CreateFile < ::Thor::Actions::EmptyDirectory # # @return [Boolean] # - # source://thor//lib/thor/actions/create_file.rb#100 + # pkg:gem/thor#lib/thor/actions/create_file.rb:100 def force_on_collision?; end # If force is true, run the action, otherwise check if it's not being # skipped. If both are false, show the file_collision menu, if the menu # returns true, force it, otherwise skip. # - # source://thor//lib/thor/actions/create_file.rb#86 + # pkg:gem/thor#lib/thor/actions/create_file.rb:86 def force_or_skip_or_conflict(force, skip, &block); end # Now on conflict we check if the file is identical or not. # - # source://thor//lib/thor/actions/create_file.rb#73 + # pkg:gem/thor#lib/thor/actions/create_file.rb:73 def on_conflict_behavior(&block); end end # CreateLink is a subset of CreateFile, which instead of taking a block of # data, just takes a source string from the user. # -# source://thor//lib/thor/actions/create_link.rb#27 +# pkg:gem/thor#lib/thor/actions/create_link.rb:27 class Thor::Actions::CreateLink < ::Thor::Actions::CreateFile - # source://thor//lib/thor/actions/create_link.rb#28 + # pkg:gem/thor#lib/thor/actions/create_link.rb:28 def data; end # @return [Boolean] # - # source://thor//lib/thor/actions/create_link.rb#56 + # pkg:gem/thor#lib/thor/actions/create_link.rb:56 def exists?; end # Checks if the content of the file at the destination is identical to the rendered result. @@ -1431,44 +1431,44 @@ class Thor::Actions::CreateLink < ::Thor::Actions::CreateFile # # @return [Boolean] # - # source://thor//lib/thor/actions/create_link.rb#35 + # pkg:gem/thor#lib/thor/actions/create_link.rb:35 def identical?; end - # source://thor//lib/thor/actions/create_link.rb#40 + # pkg:gem/thor#lib/thor/actions/create_link.rb:40 def invoke!; end end -# source://thor//lib/thor/actions/directory.rb#55 +# pkg:gem/thor#lib/thor/actions/directory.rb:55 class Thor::Actions::Directory < ::Thor::Actions::EmptyDirectory # @return [Directory] a new instance of Directory # - # source://thor//lib/thor/actions/directory.rb#58 + # pkg:gem/thor#lib/thor/actions/directory.rb:58 def initialize(base, source, destination = T.unsafe(nil), config = T.unsafe(nil), &block); end - # source://thor//lib/thor/actions/directory.rb#64 + # pkg:gem/thor#lib/thor/actions/directory.rb:64 def invoke!; end - # source://thor//lib/thor/actions/directory.rb#69 + # pkg:gem/thor#lib/thor/actions/directory.rb:69 def revoke!; end # Returns the value of attribute source. # - # source://thor//lib/thor/actions/directory.rb#56 + # pkg:gem/thor#lib/thor/actions/directory.rb:56 def source; end protected - # source://thor//lib/thor/actions/directory.rb#75 + # pkg:gem/thor#lib/thor/actions/directory.rb:75 def execute!; end - # source://thor//lib/thor/actions/directory.rb#99 + # pkg:gem/thor#lib/thor/actions/directory.rb:99 def file_level_lookup(previous_lookup); end - # source://thor//lib/thor/actions/directory.rb#103 + # pkg:gem/thor#lib/thor/actions/directory.rb:103 def files(lookup); end end -# source://thor//lib/thor/actions/empty_directory.rb#23 +# pkg:gem/thor#lib/thor/actions/empty_directory.rb:23 class Thor::Actions::EmptyDirectory # Initializes given the source and destination. # @@ -1480,16 +1480,16 @@ class Thor::Actions::EmptyDirectory # # @return [EmptyDirectory] a new instance of EmptyDirectory # - # source://thor//lib/thor/actions/empty_directory.rb#34 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:34 def initialize(base, destination, config = T.unsafe(nil)); end - # source://thor//lib/thor/actions/empty_directory.rb#24 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:24 def base; end - # source://thor//lib/thor/actions/empty_directory.rb#24 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:24 def config; end - # source://thor//lib/thor/actions/empty_directory.rb#24 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:24 def destination; end # Checks if the destination file already exists. @@ -1499,19 +1499,19 @@ class Thor::Actions::EmptyDirectory # # @return [Boolean] # - # source://thor//lib/thor/actions/empty_directory.rb#45 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:45 def exists?; end - # source://thor//lib/thor/actions/empty_directory.rb#24 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:24 def given_destination; end - # source://thor//lib/thor/actions/empty_directory.rb#49 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:49 def invoke!; end - # source://thor//lib/thor/actions/empty_directory.rb#24 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:24 def relative_destination; end - # source://thor//lib/thor/actions/empty_directory.rb#56 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:56 def revoke!; end protected @@ -1527,7 +1527,7 @@ class Thor::Actions::EmptyDirectory # # The method referenced can be either public or private. # - # source://thor//lib/thor/actions/empty_directory.rb#103 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:103 def convert_encoded_instructions(filename); end # Sets the absolute destination value from a relative destination value. @@ -1544,191 +1544,191 @@ class Thor::Actions::EmptyDirectory # relative_destination #=> bar/baz # given_destination #=> baz # - # source://thor//lib/thor/actions/empty_directory.rb#85 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:85 def destination=(destination); end # Receives a hash of options and just execute the block if some # conditions are met. # - # source://thor//lib/thor/actions/empty_directory.rb#113 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:113 def invoke_with_conflict_check(&block); end # What to do when the destination file already exists. # - # source://thor//lib/thor/actions/empty_directory.rb#132 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:132 def on_conflict_behavior; end - # source://thor//lib/thor/actions/empty_directory.rb#126 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:126 def on_file_clash_behavior; end # Shortcut for pretend. # # @return [Boolean] # - # source://thor//lib/thor/actions/empty_directory.rb#67 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:67 def pretend?; end # Shortcut to say_status shell method. # - # source://thor//lib/thor/actions/empty_directory.rb#138 + # pkg:gem/thor#lib/thor/actions/empty_directory.rb:138 def say_status(status, color); end end -# source://thor//lib/thor/actions/inject_into_file.rb#66 +# pkg:gem/thor#lib/thor/actions/inject_into_file.rb:66 class Thor::Actions::InjectIntoFile < ::Thor::Actions::EmptyDirectory # @return [InjectIntoFile] a new instance of InjectIntoFile # - # source://thor//lib/thor/actions/inject_into_file.rb#69 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:69 def initialize(base, destination, data, config); end # Returns the value of attribute behavior. # - # source://thor//lib/thor/actions/inject_into_file.rb#67 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:67 def behavior; end # Returns the value of attribute flag. # - # source://thor//lib/thor/actions/inject_into_file.rb#67 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:67 def flag; end - # source://thor//lib/thor/actions/inject_into_file.rb#83 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:83 def invoke!; end # Returns the value of attribute replacement. # - # source://thor//lib/thor/actions/inject_into_file.rb#67 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:67 def replacement; end - # source://thor//lib/thor/actions/inject_into_file.rb#107 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:107 def revoke!; end protected - # source://thor//lib/thor/actions/inject_into_file.rb#143 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:143 def content; end # Adds the content to the file. # - # source://thor//lib/thor/actions/inject_into_file.rb#153 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:153 def replace!(regexp, string, force); end # @return [Boolean] # - # source://thor//lib/thor/actions/inject_into_file.rb#147 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:147 def replacement_present?; end - # source://thor//lib/thor/actions/inject_into_file.rb#123 + # pkg:gem/thor#lib/thor/actions/inject_into_file.rb:123 def say_status(behavior, warning: T.unsafe(nil), color: T.unsafe(nil)); end end -# source://thor//lib/thor/actions/inject_into_file.rb#5 +# pkg:gem/thor#lib/thor/actions/inject_into_file.rb:5 Thor::Actions::WARNINGS = T.let(T.unsafe(nil), Hash) -# source://thor//lib/thor/error.rb#57 +# pkg:gem/thor#lib/thor/error.rb:57 class Thor::AmbiguousCommandError < ::Thor::Error; end -# source://thor//lib/thor/error.rb#59 +# pkg:gem/thor#lib/thor/error.rb:59 Thor::AmbiguousTaskError = Thor::AmbiguousCommandError -# source://thor//lib/thor/parser/argument.rb#2 +# pkg:gem/thor#lib/thor/parser/argument.rb:2 class Thor::Argument # @raise [ArgumentError] # @return [Argument] a new instance of Argument # - # source://thor//lib/thor/parser/argument.rb#8 + # pkg:gem/thor#lib/thor/parser/argument.rb:8 def initialize(name, options = T.unsafe(nil)); end # Returns the value of attribute banner. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def banner; end # Returns the value of attribute default. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def default; end # Returns the value of attribute description. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def description; end # Returns the value of attribute enum. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def enum; end - # source://thor//lib/thor/parser/argument.rb#52 + # pkg:gem/thor#lib/thor/parser/argument.rb:52 def enum_to_s; end # Returns the value of attribute name. # - # source://thor//lib/thor/parser/argument.rb#6 + # pkg:gem/thor#lib/thor/parser/argument.rb:6 def human_name; end # Returns the value of attribute name. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def name; end - # source://thor//lib/thor/parser/argument.rb#27 + # pkg:gem/thor#lib/thor/parser/argument.rb:27 def print_default; end # Returns the value of attribute required. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def required; end # @return [Boolean] # - # source://thor//lib/thor/parser/argument.rb#39 + # pkg:gem/thor#lib/thor/parser/argument.rb:39 def required?; end # @return [Boolean] # - # source://thor//lib/thor/parser/argument.rb#43 + # pkg:gem/thor#lib/thor/parser/argument.rb:43 def show_default?; end # Returns the value of attribute type. # - # source://thor//lib/thor/parser/argument.rb#5 + # pkg:gem/thor#lib/thor/parser/argument.rb:5 def type; end - # source://thor//lib/thor/parser/argument.rb#35 + # pkg:gem/thor#lib/thor/parser/argument.rb:35 def usage; end protected - # source://thor//lib/thor/parser/argument.rb#71 + # pkg:gem/thor#lib/thor/parser/argument.rb:71 def default_banner; end # @return [Boolean] # - # source://thor//lib/thor/parser/argument.rb#67 + # pkg:gem/thor#lib/thor/parser/argument.rb:67 def valid_type?(type); end # @raise [ArgumentError] # - # source://thor//lib/thor/parser/argument.rb#62 + # pkg:gem/thor#lib/thor/parser/argument.rb:62 def validate!; end end -# source://thor//lib/thor/parser/argument.rb#3 +# pkg:gem/thor#lib/thor/parser/argument.rb:3 Thor::Argument::VALID_TYPES = T.let(T.unsafe(nil), Array) -# source://thor//lib/thor/parser/arguments.rb#2 +# pkg:gem/thor#lib/thor/parser/arguments.rb:2 class Thor::Arguments # Takes an array of Thor::Argument objects. # # @return [Arguments] a new instance of Arguments # - # source://thor//lib/thor/parser/arguments.rb#26 + # pkg:gem/thor#lib/thor/parser/arguments.rb:26 def initialize(arguments = T.unsafe(nil)); end - # source://thor//lib/thor/parser/arguments.rb#40 + # pkg:gem/thor#lib/thor/parser/arguments.rb:40 def parse(args); end - # source://thor//lib/thor/parser/arguments.rb#53 + # pkg:gem/thor#lib/thor/parser/arguments.rb:53 def remaining; end private @@ -1737,22 +1737,22 @@ class Thor::Arguments # # @raise [RequiredArgumentMissingError] # - # source://thor//lib/thor/parser/arguments.rb#186 + # pkg:gem/thor#lib/thor/parser/arguments.rb:186 def check_requirement!; end # @return [Boolean] # - # source://thor//lib/thor/parser/arguments.rb#84 + # pkg:gem/thor#lib/thor/parser/arguments.rb:84 def current_is_value?; end # @return [Boolean] # - # source://thor//lib/thor/parser/arguments.rb#64 + # pkg:gem/thor#lib/thor/parser/arguments.rb:64 def last?; end # @return [Boolean] # - # source://thor//lib/thor/parser/arguments.rb#59 + # pkg:gem/thor#lib/thor/parser/arguments.rb:59 def no_or_skip?(arg); end # Runs through the argument array getting all strings until no string is @@ -1764,7 +1764,7 @@ class Thor::Arguments # # ["a", "b", "c"] # - # source://thor//lib/thor/parser/arguments.rb#118 + # pkg:gem/thor#lib/thor/parser/arguments.rb:118 def parse_array(name); end # Runs through the argument array getting strings that contains ":" and @@ -1776,14 +1776,14 @@ class Thor::Arguments # # { "name" => "string", "age" => "integer" } # - # source://thor//lib/thor/parser/arguments.rb#97 + # pkg:gem/thor#lib/thor/parser/arguments.rb:97 def parse_hash(name); end # Check if the peek is numeric format and return a Float or Integer. # Check if the peek is included in enum if enum is provided. # Otherwise raises an error. # - # source://thor//lib/thor/parser/arguments.rb#139 + # pkg:gem/thor#lib/thor/parser/arguments.rb:139 def parse_numeric(name); end # Parse string: @@ -1791,42 +1791,42 @@ class Thor::Arguments # for --no-string-arg, nil # Check if the peek is included in enum if enum is provided. Otherwise raises an error. # - # source://thor//lib/thor/parser/arguments.rb#158 + # pkg:gem/thor#lib/thor/parser/arguments.rb:158 def parse_string(name); end - # source://thor//lib/thor/parser/arguments.rb#68 + # pkg:gem/thor#lib/thor/parser/arguments.rb:68 def peek; end - # source://thor//lib/thor/parser/arguments.rb#72 + # pkg:gem/thor#lib/thor/parser/arguments.rb:72 def shift; end - # source://thor//lib/thor/parser/arguments.rb#76 + # pkg:gem/thor#lib/thor/parser/arguments.rb:76 def unshift(arg); end # Raises an error if the switch is an enum and the values aren't included on it. # - # source://thor//lib/thor/parser/arguments.rb#172 + # pkg:gem/thor#lib/thor/parser/arguments.rb:172 def validate_enum_value!(name, value, message); end class << self - # source://thor//lib/thor/parser/arguments.rb#19 + # pkg:gem/thor#lib/thor/parser/arguments.rb:19 def parse(*args); end # Receives an array of args and returns two arrays, one with arguments # and one with switches. # - # source://thor//lib/thor/parser/arguments.rb#8 + # pkg:gem/thor#lib/thor/parser/arguments.rb:8 def split(args); end end end -# source://thor//lib/thor/parser/arguments.rb#3 +# pkg:gem/thor#lib/thor/parser/arguments.rb:3 Thor::Arguments::NUMERIC = T.let(T.unsafe(nil), Regexp) -# source://thor//lib/thor/error.rb#104 +# pkg:gem/thor#lib/thor/error.rb:104 class Thor::AtLeastOneRequiredArgumentError < ::Thor::InvocationError; end -# source://thor//lib/thor/shell.rb#4 +# pkg:gem/thor#lib/thor/shell.rb:4 module Thor::Base include ::Thor::Invocation include ::Thor::Shell @@ -1850,66 +1850,66 @@ module Thor::Base # # config:: Configuration for this Thor class. # - # source://thor//lib/thor/base.rb#54 + # pkg:gem/thor#lib/thor/base.rb:54 def initialize(args = T.unsafe(nil), local_options = T.unsafe(nil), config = T.unsafe(nil)); end # Returns the value of attribute args. # - # source://thor//lib/thor/base.rb#36 + # pkg:gem/thor#lib/thor/base.rb:36 def args; end # Sets the attribute args # # @param value the value to set the attribute args to. # - # source://thor//lib/thor/base.rb#36 + # pkg:gem/thor#lib/thor/base.rb:36 def args=(_arg0); end # Returns the value of attribute options. # - # source://thor//lib/thor/base.rb#36 + # pkg:gem/thor#lib/thor/base.rb:36 def options; end # Sets the attribute options # # @param value the value to set the attribute options to. # - # source://thor//lib/thor/base.rb#36 + # pkg:gem/thor#lib/thor/base.rb:36 def options=(_arg0); end # Returns the value of attribute parent_options. # - # source://thor//lib/thor/base.rb#36 + # pkg:gem/thor#lib/thor/base.rb:36 def parent_options; end # Sets the attribute parent_options # # @param value the value to set the attribute parent_options to. # - # source://thor//lib/thor/base.rb#36 + # pkg:gem/thor#lib/thor/base.rb:36 def parent_options=(_arg0); end class << self - # source://thor//lib/thor/base.rb#117 + # pkg:gem/thor#lib/thor/base.rb:117 def included(base); end # Whenever a class inherits from Thor or Thor::Group, we should track the # class and the file on Thor::Base. This is the method responsible for it. # - # source://thor//lib/thor/base.rb#145 + # pkg:gem/thor#lib/thor/base.rb:145 def register_klass_file(klass); end # Returns the shell used in all Thor classes. If you are in a Unix platform # it will use a colored log, otherwise it will use a basic one without color. # - # source://thor//lib/thor/shell.rb#11 + # pkg:gem/thor#lib/thor/shell.rb:11 def shell; end # Sets the attribute shell # # @param value the value to set the attribute shell to. # - # source://thor//lib/thor/shell.rb#6 + # pkg:gem/thor#lib/thor/shell.rb:6 def shell=(_arg0); end # Returns the files where the subclasses are kept. @@ -1917,7 +1917,7 @@ module Thor::Base # ==== Returns # Hash[path => Class] # - # source://thor//lib/thor/base.rb#138 + # pkg:gem/thor#lib/thor/base.rb:138 def subclass_files; end # Returns the classes that inherits from Thor or Thor::Group. @@ -1925,12 +1925,12 @@ module Thor::Base # ==== Returns # Array[Class] # - # source://thor//lib/thor/base.rb#129 + # pkg:gem/thor#lib/thor/base.rb:129 def subclasses; end end end -# source://thor//lib/thor/base.rb#154 +# pkg:gem/thor#lib/thor/base.rb:154 module Thor::Base::ClassMethods # Returns the commands for this Thor class and all subclasses. # @@ -1938,7 +1938,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#483 + # pkg:gem/thor#lib/thor/base.rb:483 def all_commands; end # Returns the commands for this Thor class and all subclasses. @@ -1947,13 +1947,13 @@ 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#487 + # pkg:gem/thor#lib/thor/base.rb:487 def all_tasks; end # If you want to use defaults that don't match the type of an option, # either specify `check_default_type: false` or call `allow_incompatible_default_type!` # - # source://thor//lib/thor/base.rb#190 + # pkg:gem/thor#lib/thor/base.rb:190 def allow_incompatible_default_type!; end # Adds an argument to the class and creates an attr_accessor for it. @@ -1991,7 +1991,7 @@ module Thor::Base::ClassMethods # ==== Errors # ArgumentError:: Raised if you supply a required argument after a non required one. # - # source://thor//lib/thor/base.rb#262 + # pkg:gem/thor#lib/thor/base.rb:262 def argument(name, options = T.unsafe(nil)); end # Returns this class arguments, looking up in the ancestors chain. @@ -1999,40 +1999,40 @@ module Thor::Base::ClassMethods # ==== Returns # Array[Thor::Argument] # - # source://thor//lib/thor/base.rb#294 + # pkg:gem/thor#lib/thor/base.rb:294 def arguments; end - # source://thor//lib/thor/base.rb#163 + # pkg:gem/thor#lib/thor/base.rb:163 def attr_accessor(*_arg0); end - # source://thor//lib/thor/base.rb#155 + # pkg:gem/thor#lib/thor/base.rb:155 def attr_reader(*_arg0); end - # source://thor//lib/thor/base.rb#159 + # pkg:gem/thor#lib/thor/base.rb:159 def attr_writer(*_arg0); end - # source://thor//lib/thor/base.rb#194 + # pkg:gem/thor#lib/thor/base.rb:194 def check_default_type; end # If you want to raise an error when the default value of an option does not match # the type call check_default_type! # This will be the default; for compatibility a deprecation warning is issued if necessary. # - # source://thor//lib/thor/base.rb#184 + # pkg:gem/thor#lib/thor/base.rb:184 def check_default_type!; end - # source://thor//lib/thor/base.rb#173 + # pkg:gem/thor#lib/thor/base.rb:173 def check_unknown_options; end # If you want to raise an error for unknown options, call check_unknown_options! # This is disabled by default to allow dynamic invocations. # - # source://thor//lib/thor/base.rb#169 + # pkg:gem/thor#lib/thor/base.rb:169 def check_unknown_options!; end # @return [Boolean] # - # source://thor//lib/thor/base.rb#177 + # pkg:gem/thor#lib/thor/base.rb:177 def check_unknown_options?(config); end # Adds and declares option group for required at least one of options in the @@ -2065,7 +2065,7 @@ module Thor::Base::ClassMethods # # Then it is required either only one of "--one" or "--two". # - # source://thor//lib/thor/base.rb#393 + # pkg:gem/thor#lib/thor/base.rb:393 def class_at_least_one(*args, &block); end # Returns this class at least one of required options array set, looking up in the ancestors chain. @@ -2073,7 +2073,7 @@ module Thor::Base::ClassMethods # ==== Returns # Array[Array[Thor::Option.name]] # - # source://thor//lib/thor/base.rb#412 + # pkg:gem/thor#lib/thor/base.rb:412 def class_at_least_one_option_names; end # Adds and declares option group for exclusive options in the @@ -2098,7 +2098,7 @@ module Thor::Base::ClassMethods # If you give "--one" and "--two" at the same time ExclusiveArgumentsError # will be raised. # - # source://thor//lib/thor/base.rb#358 + # pkg:gem/thor#lib/thor/base.rb:358 def class_exclusive(*args, &block); end # Returns this class exclusive options array set, looking up in the ancestors chain. @@ -2106,7 +2106,7 @@ module Thor::Base::ClassMethods # ==== Returns # Array[Array[Thor::Option.name]] # - # source://thor//lib/thor/base.rb#403 + # pkg:gem/thor#lib/thor/base.rb:403 def class_exclusive_option_names; end # Adds an option to the set of class options @@ -2125,7 +2125,7 @@ module Thor::Base::ClassMethods # :banner:: -- String to show on usage notes. # :hide:: -- If you want to hide this option from the help. # - # source://thor//lib/thor/base.rb#329 + # pkg:gem/thor#lib/thor/base.rb:329 def class_option(name, options = T.unsafe(nil)); end # Adds a bunch of options to the set of class options. @@ -2137,7 +2137,7 @@ module Thor::Base::ClassMethods # ==== Parameters # Hash[Symbol => Object] # - # source://thor//lib/thor/base.rb#307 + # pkg:gem/thor#lib/thor/base.rb:307 def class_options(options = T.unsafe(nil)); end # Returns the commands for this Thor class. @@ -2146,7 +2146,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#472 + # pkg:gem/thor#lib/thor/base.rb:472 def commands; end # If true, option set will not suspend the execution of the command when @@ -2154,14 +2154,14 @@ module Thor::Base::ClassMethods # # @return [Boolean] # - # source://thor//lib/thor/base.rb#208 + # pkg:gem/thor#lib/thor/base.rb:208 def disable_required_check?(command_name); end # A flag that makes the process exit with status 1 if any error happens. # # @return [Boolean] # - # source://thor//lib/thor/base.rb#629 + # pkg:gem/thor#lib/thor/base.rb:629 def exit_on_failure?; end # Defines the group. This is used when thor list is invoked so you can specify @@ -2170,22 +2170,22 @@ module Thor::Base::ClassMethods # ==== Parameters # name # - # source://thor//lib/thor/base.rb#458 + # pkg:gem/thor#lib/thor/base.rb:458 def group(name = T.unsafe(nil)); end # @raise [InvocationError] # - # source://thor//lib/thor/base.rb#619 + # pkg:gem/thor#lib/thor/base.rb:619 def handle_argument_error(command, error, args, arity); end # @raise [UndefinedCommandError] # - # source://thor//lib/thor/base.rb#614 + # pkg:gem/thor#lib/thor/base.rb:614 def handle_no_command_error(command, has_namespace = T.unsafe(nil)); end # @raise [UndefinedCommandError] # - # source://thor//lib/thor/base.rb#617 + # pkg:gem/thor#lib/thor/base.rb:617 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 @@ -2210,7 +2210,7 @@ module Thor::Base::ClassMethods # # thor :my_command # - # source://thor//lib/thor/base.rb#567 + # pkg:gem/thor#lib/thor/base.rb:567 def namespace(name = T.unsafe(nil)); end # All methods defined inside the given block are not added as commands. @@ -2232,15 +2232,15 @@ module Thor::Base::ClassMethods # remove_command :this_is_not_a_command # end # - # source://thor//lib/thor/base.rb#531 + # pkg:gem/thor#lib/thor/base.rb:531 def no_commands(&block); end # @return [Boolean] # - # source://thor//lib/thor/base.rb#541 + # pkg:gem/thor#lib/thor/base.rb:541 def no_commands?; end - # source://thor//lib/thor/base.rb#537 + # pkg:gem/thor#lib/thor/base.rb:537 def no_commands_context; end # All methods defined inside the given block are not added as commands. @@ -2262,7 +2262,7 @@ module Thor::Base::ClassMethods # remove_command :this_is_not_a_command # end # - # source://thor//lib/thor/base.rb#535 + # pkg:gem/thor#lib/thor/base.rb:535 def no_tasks(&block); end # Allows to use private methods from parent in child classes as commands. @@ -2275,7 +2275,7 @@ module Thor::Base::ClassMethods # public_command :foo # public_command :foo, :bar, :baz # - # source://thor//lib/thor/base.rb#607 + # pkg:gem/thor#lib/thor/base.rb:607 def public_command(*names); end # Allows to use private methods from parent in child classes as commands. @@ -2288,7 +2288,7 @@ module Thor::Base::ClassMethods # public_command :foo # public_command :foo, :bar, :baz # - # source://thor//lib/thor/base.rb#612 + # pkg:gem/thor#lib/thor/base.rb:612 def public_task(*names); end # Removes a previous defined argument. If :undefine is given, undefine @@ -2302,7 +2302,7 @@ module Thor::Base::ClassMethods # remove_argument :foo # remove_argument :foo, :bar, :baz, :undefine => true # - # source://thor//lib/thor/base.rb#427 + # pkg:gem/thor#lib/thor/base.rb:427 def remove_argument(*names); end # Removes a previous defined class option. @@ -2315,7 +2315,7 @@ module Thor::Base::ClassMethods # remove_class_option :foo # remove_class_option :foo, :bar, :baz # - # source://thor//lib/thor/base.rb#446 + # pkg:gem/thor#lib/thor/base.rb:446 def remove_class_option(*names); end # Removes a given command from this Thor class. This is usually done if you @@ -2330,7 +2330,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#501 + # pkg:gem/thor#lib/thor/base.rb:501 def remove_command(*names); end # Removes a given command from this Thor class. This is usually done if you @@ -2345,7 +2345,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#510 + # pkg:gem/thor#lib/thor/base.rb:510 def remove_task(*names); end # Parses the command and options from the given args, instantiate the class @@ -2356,7 +2356,7 @@ module Thor::Base::ClassMethods # script = MyScript.new(args, options, config) # script.invoke(:command, first_arg, second_arg, third_arg) # - # source://thor//lib/thor/base.rb#583 + # pkg:gem/thor#lib/thor/base.rb:583 def start(given_args = T.unsafe(nil), config = T.unsafe(nil)); end # If true, option parsing is suspended as soon as an unknown option or a @@ -2365,22 +2365,22 @@ module Thor::Base::ClassMethods # # @return [Boolean] # - # source://thor//lib/thor/base.rb#202 + # pkg:gem/thor#lib/thor/base.rb:202 def stop_on_unknown_option?(command_name); end - # source://thor//lib/thor/base.rb#219 + # pkg:gem/thor#lib/thor/base.rb:219 def strict_args_position; end # If you want only strict string args (useful when cascading thor classes), # call strict_args_position! This is disabled by default to allow dynamic # invocations. # - # source://thor//lib/thor/base.rb#215 + # pkg:gem/thor#lib/thor/base.rb:215 def strict_args_position!; end # @return [Boolean] # - # source://thor//lib/thor/base.rb#223 + # pkg:gem/thor#lib/thor/base.rb:223 def strict_args_position?(config); end # Returns the commands for this Thor class. @@ -2389,7 +2389,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#475 + # pkg:gem/thor#lib/thor/base.rb:475 def tasks; end protected @@ -2397,12 +2397,12 @@ module Thor::Base::ClassMethods # SIGNATURE: Sets the baseclass. This is where the superclass lookup # finishes. # - # source://thor//lib/thor/base.rb#778 + # pkg:gem/thor#lib/thor/base.rb:778 def baseclass; end # The basename of the program invoking the thor class. # - # source://thor//lib/thor/base.rb#772 + # pkg:gem/thor#lib/thor/base.rb:772 def basename; end # Build an option and adds it to the given scope. @@ -2412,7 +2412,7 @@ module Thor::Base::ClassMethods # options:: Described in both class_option and method_option. # scope:: Options hash that is being built up # - # source://thor//lib/thor/base.rb#689 + # pkg:gem/thor#lib/thor/base.rb:689 def build_option(name, options, scope); end # Receives a hash of options, parse them and add to the scope. This is a @@ -2423,187 +2423,187 @@ module Thor::Base::ClassMethods # ==== Parameters # Hash[Symbol => Object] # - # source://thor//lib/thor/base.rb#700 + # pkg:gem/thor#lib/thor/base.rb:700 def build_options(options, scope); end # Get target(method_options or class_options) options # of before and after by block evaluation. # - # source://thor//lib/thor/base.rb#809 + # pkg:gem/thor#lib/thor/base.rb:809 def built_option_names(target, opt = T.unsafe(nil), &block); end # Prints the class options per group. If an option does not belong to # any group, it's printed as Class option. # - # source://thor//lib/thor/base.rb#639 + # pkg:gem/thor#lib/thor/base.rb:639 def class_options_help(shell, groups = T.unsafe(nil)); end # Get command scope member by name. # - # source://thor//lib/thor/base.rb#817 + # pkg:gem/thor#lib/thor/base.rb:817 def command_scope_member(name, options = T.unsafe(nil)); end # 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#783 + # pkg:gem/thor#lib/thor/base.rb:783 def create_command(meth); end # 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#785 + # pkg:gem/thor#lib/thor/base.rb:785 def create_task(meth); end # SIGNATURE: The hook invoked by start. # # @raise [NotImplementedError] # - # source://thor//lib/thor/base.rb#793 + # pkg:gem/thor#lib/thor/base.rb:793 def dispatch(command, given_args, given_opts, config); end # Finds a command with the given name. If the command belongs to the current # class, just return it, otherwise dup it and add the fresh copy to the # current command hash. # - # source://thor//lib/thor/base.rb#709 + # pkg:gem/thor#lib/thor/base.rb:709 def find_and_refresh_command(name); end # Finds a command with the given name. If the command belongs to the current # class, just return it, otherwise dup it and add the fresh copy to the # current command hash. # - # source://thor//lib/thor/base.rb#718 + # pkg:gem/thor#lib/thor/base.rb:718 def find_and_refresh_task(name); end # Retrieves a value from superclass. If it reaches the baseclass, # returns default. # - # source://thor//lib/thor/base.rb#750 + # pkg:gem/thor#lib/thor/base.rb:750 def from_superclass(method, default = T.unsafe(nil)); end # Every time someone inherits from a Thor class, register the klass # and file into baseclass. # - # source://thor//lib/thor/base.rb#722 + # pkg:gem/thor#lib/thor/base.rb:722 def inherited(klass); end # SIGNATURE: Defines behavior when the initialize method is added to the # class. # - # source://thor//lib/thor/base.rb#789 + # pkg:gem/thor#lib/thor/base.rb:789 def initialize_added; end # Raises an error if the word given is a Thor reserved word. # # @return [Boolean] # - # source://thor//lib/thor/base.rb#678 + # pkg:gem/thor#lib/thor/base.rb:678 def is_thor_reserved_word?(word, type); end # Fire this callback whenever a method is added. Added methods are # tracked as commands by invoking the create_command method. # - # source://thor//lib/thor/base.rb#730 + # pkg:gem/thor#lib/thor/base.rb:730 def method_added(meth); end # Receives a set of options and print them. # - # source://thor//lib/thor/base.rb#657 + # pkg:gem/thor#lib/thor/base.rb:657 def print_options(shell, options, group_name = T.unsafe(nil)); end # Register a relation of options for target(method_option/class_option) # by args and block. # - # source://thor//lib/thor/base.rb#799 + # pkg:gem/thor#lib/thor/base.rb:799 def register_options_relation_for(target, relation, *args, &block); end end -# source://thor//lib/thor/command.rb#2 +# pkg:gem/thor#lib/thor/command.rb:2 class Thor::Command < ::Struct # @return [Command] a new instance of Command # - # source://thor//lib/thor/command.rb#5 + # pkg:gem/thor#lib/thor/command.rb:5 def initialize(name, description, long_description, wrap_long_description, usage, options = T.unsafe(nil), options_relation = T.unsafe(nil)); end # Returns the formatted usage by injecting given required arguments # and required options into the given usage. # - # source://thor//lib/thor/command.rb#42 + # pkg:gem/thor#lib/thor/command.rb:42 def formatted_usage(klass, namespace = T.unsafe(nil), subcommand = T.unsafe(nil)); end # @return [Boolean] # - # source://thor//lib/thor/command.rb#15 + # pkg:gem/thor#lib/thor/command.rb:15 def hidden?; end - # source://thor//lib/thor/command.rb#70 + # pkg:gem/thor#lib/thor/command.rb:70 def method_at_least_one_option_names; end - # source://thor//lib/thor/command.rb#66 + # pkg:gem/thor#lib/thor/command.rb:66 def method_exclusive_option_names; end # By default, a command invokes a method in the thor class. You can change this # implementation to create custom commands. # - # source://thor//lib/thor/command.rb#21 + # pkg:gem/thor#lib/thor/command.rb:21 def run(instance, args = T.unsafe(nil)); end protected # @return [Boolean] # - # source://thor//lib/thor/command.rb#114 + # pkg:gem/thor#lib/thor/command.rb:114 def handle_argument_error?(instance, error, caller); end # @return [Boolean] # - # source://thor//lib/thor/command.rb#121 + # pkg:gem/thor#lib/thor/command.rb:121 def handle_no_method_error?(instance, error, caller); end # @return [Boolean] # - # source://thor//lib/thor/command.rb#104 + # pkg:gem/thor#lib/thor/command.rb:104 def local_method?(instance, name); end # @return [Boolean] # - # source://thor//lib/thor/command.rb#87 + # pkg:gem/thor#lib/thor/command.rb:87 def not_debugging?(instance); end # @return [Boolean] # - # source://thor//lib/thor/command.rb#100 + # pkg:gem/thor#lib/thor/command.rb:100 def private_method?(instance); end # Given a target, checks if this class name is a public method. # # @return [Boolean] # - # source://thor//lib/thor/command.rb#96 + # pkg:gem/thor#lib/thor/command.rb:96 def public_method?(instance); end # Add usage with required arguments # - # source://thor//lib/thor/command.rb#77 + # pkg:gem/thor#lib/thor/command.rb:77 def required_arguments_for(klass, usage); end - # source://thor//lib/thor/command.rb#91 + # pkg:gem/thor#lib/thor/command.rb:91 def required_options; end - # source://thor//lib/thor/command.rb#109 + # pkg:gem/thor#lib/thor/command.rb:109 def sans_backtrace(backtrace, caller); end private - # source://thor//lib/thor/command.rb#9 + # pkg:gem/thor#lib/thor/command.rb:9 def initialize_copy(other); end end -# source://thor//lib/thor/command.rb#3 +# pkg:gem/thor#lib/thor/command.rb:3 Thor::Command::FILE_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#2 +# pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:2 module Thor::CoreExt; end # A hash with indifferent access and magic predicates. @@ -2614,62 +2614,62 @@ module Thor::CoreExt; end # hash['foo'] #=> 'bar' # hash.foo? #=> true # -# source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#11 +# pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:11 class Thor::CoreExt::HashWithIndifferentAccess < ::Hash # @return [HashWithIndifferentAccess] a new instance of HashWithIndifferentAccess # - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#12 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:12 def initialize(hash = T.unsafe(nil)); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#19 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:19 def [](key); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#23 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:23 def []=(key, value); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#27 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:27 def delete(key); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#31 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:31 def except(*keys); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#37 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:37 def fetch(key, *args); end # @return [Boolean] # - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#45 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:45 def key?(key); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#53 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:53 def merge(other); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#57 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:57 def merge!(other); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#72 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:72 def replace(other_hash); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#64 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:64 def reverse_merge(other); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#68 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:68 def reverse_merge!(other_hash); end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#41 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:41 def slice(*keys); end # Convert to a Hash with String keys. # - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#77 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:77 def to_hash; end - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#49 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:49 def values_at(*indices); end protected - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#83 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:83 def convert_key(key); end # Magic predicates. For instance: @@ -2678,33 +2678,33 @@ class Thor::CoreExt::HashWithIndifferentAccess < ::Hash # options.shebang # => "/usr/lib/local/ruby" # options.test_framework?(:rspec) # => options[:test_framework] == :rspec # - # source://thor//lib/thor/core_ext/hash_with_indifferent_access.rb#93 + # pkg:gem/thor#lib/thor/core_ext/hash_with_indifferent_access.rb:93 def method_missing(method, *args); end end -# source://thor//lib/thor/error.rb#3 +# pkg:gem/thor#lib/thor/error.rb:3 module Thor::Correctable - # source://thor//lib/thor/error.rb#8 + # pkg:gem/thor#lib/thor/error.rb:8 def corrections; end - # source://thor//lib/thor/error.rb#4 + # pkg:gem/thor#lib/thor/error.rb:4 def to_s; end end # A dynamic command that handles method missing scenarios. # -# source://thor//lib/thor/command.rb#137 +# pkg:gem/thor#lib/thor/command.rb:137 class Thor::DynamicCommand < ::Thor::Command # @return [DynamicCommand] a new instance of DynamicCommand # - # source://thor//lib/thor/command.rb#138 + # pkg:gem/thor#lib/thor/command.rb:138 def initialize(name, options = T.unsafe(nil)); end - # source://thor//lib/thor/command.rb#142 + # pkg:gem/thor#lib/thor/command.rb:142 def run(instance, args = T.unsafe(nil)); end end -# source://thor//lib/thor/command.rb#150 +# pkg:gem/thor#lib/thor/command.rb:150 Thor::DynamicTask = Thor::DynamicCommand # Thor::Error is raised when it's caused by wrong usage of thor classes. Those @@ -2714,10 +2714,10 @@ Thor::DynamicTask = Thor::DynamicCommand # overwrites a thor keyword, SHOULD NOT raise a Thor::Error. This way, we # ensure that developer errors are shown with full backtrace. # -# source://thor//lib/thor/error.rb#20 +# pkg:gem/thor#lib/thor/error.rb:20 class Thor::Error < ::StandardError; end -# source://thor//lib/thor/error.rb#101 +# pkg:gem/thor#lib/thor/error.rb:101 class Thor::ExclusiveArgumentError < ::Thor::InvocationError; end # Thor has a special class called Thor::Group. The main difference to Thor class @@ -2725,7 +2725,7 @@ class Thor::ExclusiveArgumentError < ::Thor::InvocationError; end # invocations to be done at the class method, which are not available to Thor # commands. # -# source://thor//lib/thor/group.rb#7 +# pkg:gem/thor#lib/thor/group.rb:7 class Thor::Group include ::Thor::Base include ::Thor::Invocation @@ -2738,14 +2738,14 @@ class Thor::Group # Shortcut to invoke with padding and block handling. Use internally by # invoke and invoke_from_option class methods. # - # source://thor//lib/thor/group.rb#276 + # pkg:gem/thor#lib/thor/group.rb:276 def _invoke_for_class_method(klass, command = T.unsafe(nil), *args, &block); end class << self # Overwrite class options help to allow invoked generators options to be # shown recursively when invoking a generator. # - # source://thor//lib/thor/group.rb#161 + # pkg:gem/thor#lib/thor/group.rb:161 def class_options_help(shell, groups = T.unsafe(nil)); end # Checks if a specified command exists. @@ -2758,7 +2758,7 @@ class Thor::Group # # @return [Boolean] # - # source://thor//lib/thor/group.rb#221 + # pkg:gem/thor#lib/thor/group.rb:221 def command_exists?(command_name); end # The description for this Thor::Group. If none is provided, but a source root @@ -2768,19 +2768,19 @@ class Thor::Group # ==== Parameters # description:: The description for this Thor::Group. # - # source://thor//lib/thor/group.rb#16 + # pkg:gem/thor#lib/thor/group.rb:16 def desc(description = T.unsafe(nil)); end # Get invocations array and merge options from invocations. Those # options are added to group_options hash. Options that already exists # in base_options are not added twice. # - # source://thor//lib/thor/group.rb#172 + # pkg:gem/thor#lib/thor/group.rb:172 def get_options_from_invocations(group_options, base_options); end # @raise [error] # - # source://thor//lib/thor/group.rb#207 + # pkg:gem/thor#lib/thor/group.rb:207 def handle_argument_error(command, error, _args, arity); end # Prints help information. @@ -2788,17 +2788,17 @@ class Thor::Group # ==== Options # short:: When true, shows only usage. # - # source://thor//lib/thor/group.rb#29 + # pkg:gem/thor#lib/thor/group.rb:29 def help(shell); end # Stores invocation blocks used on invoke_from_option. # - # source://thor//lib/thor/group.rb#45 + # pkg:gem/thor#lib/thor/group.rb:45 def invocation_blocks; end # Stores invocations for this class merging with superclass values. # - # source://thor//lib/thor/group.rb#39 + # pkg:gem/thor#lib/thor/group.rb:39 def invocations; end # Invoke the given namespace or class given. It adds an instance @@ -2808,7 +2808,7 @@ class Thor::Group # The namespace/class given will have its options showed on the help # usage. Check invoke_from_option for more information. # - # source://thor//lib/thor/group.rb#56 + # pkg:gem/thor#lib/thor/group.rb:56 def invoke(*names, &block); end # Invoke a thor class based on the value supplied by the user to the @@ -2841,17 +2841,17 @@ class Thor::Group # invoked. The block receives two parameters, an instance of the current # class and the klass to be invoked. # - # source://thor//lib/thor/group.rb#110 + # pkg:gem/thor#lib/thor/group.rb:110 def invoke_from_option(*names, &block); end # Returns commands ready to be printed. # - # source://thor//lib/thor/group.rb#199 + # pkg:gem/thor#lib/thor/group.rb:199 def printable_commands(*_arg0); end # Returns commands ready to be printed. # - # source://thor//lib/thor/group.rb#205 + # pkg:gem/thor#lib/thor/group.rb:205 def printable_tasks(*_arg0); end # Remove a previously added invocation. @@ -2860,7 +2860,7 @@ class Thor::Group # # remove_invocation :test_framework # - # source://thor//lib/thor/group.rb#149 + # pkg:gem/thor#lib/thor/group.rb:149 def remove_invocation(*names); end protected @@ -2868,67 +2868,67 @@ class Thor::Group # The banner for this class. You can customize it if you are invoking the # thor class by another ways which is not the Thor::Runner. # - # source://thor//lib/thor/group.rb#249 + # pkg:gem/thor#lib/thor/group.rb:249 def banner; end - # source://thor//lib/thor/group.rb#259 + # pkg:gem/thor#lib/thor/group.rb:259 def baseclass; end - # source://thor//lib/thor/group.rb#263 + # pkg:gem/thor#lib/thor/group.rb:263 def create_command(meth); end - # source://thor//lib/thor/group.rb#267 + # pkg:gem/thor#lib/thor/group.rb:267 def create_task(meth); end # The method responsible for dispatching given the args. # # @yield [instance] # - # source://thor//lib/thor/group.rb#228 + # pkg:gem/thor#lib/thor/group.rb:228 def dispatch(command, given_args, given_opts, config); end # Represents the whole class as a command. # - # source://thor//lib/thor/group.rb#254 + # pkg:gem/thor#lib/thor/group.rb:254 def self_command; end # Represents the whole class as a command. # - # source://thor//lib/thor/group.rb#257 + # pkg:gem/thor#lib/thor/group.rb:257 def self_task; end end end # Shortcuts for help and tree commands. # -# source://thor//lib/thor/base.rb#17 +# pkg:gem/thor#lib/thor/base.rb:17 Thor::HELP_MAPPINGS = T.let(T.unsafe(nil), Array) # A command that is hidden in help messages but still invocable. # -# source://thor//lib/thor/command.rb#129 +# pkg:gem/thor#lib/thor/command.rb:129 class Thor::HiddenCommand < ::Thor::Command # @return [Boolean] # - # source://thor//lib/thor/command.rb#130 + # pkg:gem/thor#lib/thor/command.rb:130 def hidden?; end end -# source://thor//lib/thor/command.rb#134 +# pkg:gem/thor#lib/thor/command.rb:134 Thor::HiddenTask = Thor::HiddenCommand -# source://thor//lib/thor/invocation.rb#2 +# pkg:gem/thor#lib/thor/invocation.rb:2 module Thor::Invocation mixes_in_class_methods ::Thor::Invocation::ClassMethods # Make initializer aware of invocations and the initialization args. # - # source://thor//lib/thor/invocation.rb#23 + # pkg:gem/thor#lib/thor/invocation.rb:23 def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil), &block); end # Make the current command chain accessible with in a Thor-(sub)command # - # source://thor//lib/thor/invocation.rb#30 + # pkg:gem/thor#lib/thor/invocation.rb:30 def current_command_chain; end # Receives a name and invokes it. The name can be a string (either "command" or @@ -2999,34 +2999,34 @@ module Thor::Invocation # # invoke Rspec::RR, [], :style => :foo # - # source://thor//lib/thor/invocation.rb#102 + # pkg:gem/thor#lib/thor/invocation.rb:102 def invoke(name = T.unsafe(nil), *args); end # Invoke all commands for the current instance. # - # source://thor//lib/thor/invocation.rb#133 + # pkg:gem/thor#lib/thor/invocation.rb:133 def invoke_all; end # Invoke the given command if the given args. # - # source://thor//lib/thor/invocation.rb#122 + # pkg:gem/thor#lib/thor/invocation.rb:122 def invoke_command(command, *args); end # Invoke the given command if the given args. # - # source://thor//lib/thor/invocation.rb#130 + # pkg:gem/thor#lib/thor/invocation.rb:130 def invoke_task(command, *args); end # Invokes using shell padding. # - # source://thor//lib/thor/invocation.rb#138 + # pkg:gem/thor#lib/thor/invocation.rb:138 def invoke_with_padding(*args); end protected # Initialize klass using values stored in the @_initializer. # - # source://thor//lib/thor/invocation.rb#166 + # pkg:gem/thor#lib/thor/invocation.rb:166 def _parse_initialization_options(args, opts, config); end # This method simply retrieves the class and command to be invoked. @@ -3034,7 +3034,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 + # pkg:gem/thor#lib/thor/invocation.rb:153 def _retrieve_class_and_command(name, sent_command = T.unsafe(nil)); end # This method simply retrieves the class and command to be invoked. @@ -3042,260 +3042,260 @@ 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#163 + # pkg:gem/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. # - # source://thor//lib/thor/invocation.rb#145 + # pkg:gem/thor#lib/thor/invocation.rb:145 def _shared_configuration; end class << self - # source://thor//lib/thor/invocation.rb#3 + # pkg:gem/thor#lib/thor/invocation.rb:3 def included(base); end end end -# source://thor//lib/thor/invocation.rb#8 +# pkg:gem/thor#lib/thor/invocation.rb:8 module Thor::Invocation::ClassMethods # This method is responsible for receiving a name and find the proper # class and command for it. The key is an optional parameter which is # available only in class methods invocations (i.e. in Thor::Group). # - # source://thor//lib/thor/invocation.rb#12 + # pkg:gem/thor#lib/thor/invocation.rb:12 def prepare_for_invocation(key, name); end end # Raised when a command was found, but not invoked properly. # -# source://thor//lib/thor/error.rb#62 +# pkg:gem/thor#lib/thor/error.rb:62 class Thor::InvocationError < ::Thor::Error; end -# source://thor//lib/thor/line_editor/basic.rb#2 +# pkg:gem/thor#lib/thor/line_editor/basic.rb:2 module Thor::LineEditor class << self - # source://thor//lib/thor/line_editor.rb#10 + # pkg:gem/thor#lib/thor/line_editor.rb:10 def best_available; end - # source://thor//lib/thor/line_editor.rb#6 + # pkg:gem/thor#lib/thor/line_editor.rb:6 def readline(prompt, options = T.unsafe(nil)); end end end -# source://thor//lib/thor/line_editor/basic.rb#3 +# pkg:gem/thor#lib/thor/line_editor/basic.rb:3 class Thor::LineEditor::Basic # @return [Basic] a new instance of Basic # - # source://thor//lib/thor/line_editor/basic.rb#10 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:10 def initialize(prompt, options); end # Returns the value of attribute options. # - # source://thor//lib/thor/line_editor/basic.rb#4 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:4 def options; end # Returns the value of attribute prompt. # - # source://thor//lib/thor/line_editor/basic.rb#4 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:4 def prompt; end - # source://thor//lib/thor/line_editor/basic.rb#15 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:15 def readline; end private # @return [Boolean] # - # source://thor//lib/thor/line_editor/basic.rb#32 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:32 def echo?; end - # source://thor//lib/thor/line_editor/basic.rb#22 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:22 def get_input; end class << self # @return [Boolean] # - # source://thor//lib/thor/line_editor/basic.rb#6 + # pkg:gem/thor#lib/thor/line_editor/basic.rb:6 def available?; end end end -# source://thor//lib/thor/line_editor/readline.rb#3 +# pkg:gem/thor#lib/thor/line_editor/readline.rb:3 class Thor::LineEditor::Readline < ::Thor::LineEditor::Basic - # source://thor//lib/thor/line_editor/readline.rb#13 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:13 def readline; end private # @return [Boolean] # - # source://thor//lib/thor/line_editor/readline.rb#28 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:28 def add_to_history?; end - # source://thor//lib/thor/line_editor/readline.rb#42 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:42 def completion_options; end - # source://thor//lib/thor/line_editor/readline.rb#32 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:32 def completion_proc; end # @return [Boolean] # - # source://thor//lib/thor/line_editor/readline.rb#46 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:46 def use_path_completion?; end class << self # @return [Boolean] # - # source://thor//lib/thor/line_editor/readline.rb#4 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:4 def available?; end end end -# source://thor//lib/thor/line_editor/readline.rb#50 +# pkg:gem/thor#lib/thor/line_editor/readline.rb:50 class Thor::LineEditor::Readline::PathCompletion # @return [PathCompletion] a new instance of PathCompletion # - # source://thor//lib/thor/line_editor/readline.rb#54 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:54 def initialize(text); end - # source://thor//lib/thor/line_editor/readline.rb#58 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:58 def matches; end private - # source://thor//lib/thor/line_editor/readline.rb#68 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:68 def absolute_matches; end - # source://thor//lib/thor/line_editor/readline.rb#82 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:82 def base_path; end - # source://thor//lib/thor/line_editor/readline.rb#78 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:78 def glob_pattern; end - # source://thor//lib/thor/line_editor/readline.rb#64 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:64 def relative_matches; end # Returns the value of attribute text. # - # source://thor//lib/thor/line_editor/readline.rb#51 + # pkg:gem/thor#lib/thor/line_editor/readline.rb:51 def text; end end -# source://thor//lib/thor/error.rb#98 +# pkg:gem/thor#lib/thor/error.rb:98 class Thor::MalformattedArgumentError < ::Thor::InvocationError; end -# source://thor//lib/thor/nested_context.rb#2 +# pkg:gem/thor#lib/thor/nested_context.rb:2 class Thor::NestedContext # @return [NestedContext] a new instance of NestedContext # - # source://thor//lib/thor/nested_context.rb#3 + # pkg:gem/thor#lib/thor/nested_context.rb:3 def initialize; end - # source://thor//lib/thor/nested_context.rb#7 + # pkg:gem/thor#lib/thor/nested_context.rb:7 def enter; end # @return [Boolean] # - # source://thor//lib/thor/nested_context.rb#15 + # pkg:gem/thor#lib/thor/nested_context.rb:15 def entered?; end private - # source://thor//lib/thor/nested_context.rb#25 + # pkg:gem/thor#lib/thor/nested_context.rb:25 def pop; end - # source://thor//lib/thor/nested_context.rb#21 + # pkg:gem/thor#lib/thor/nested_context.rb:21 def push; end end -# source://thor//lib/thor/parser/option.rb#2 +# pkg:gem/thor#lib/thor/parser/option.rb:2 class Thor::Option < ::Thor::Argument # @return [Option] a new instance of Option # - # source://thor//lib/thor/parser/option.rb#7 + # pkg:gem/thor#lib/thor/parser/option.rb:7 def initialize(name, options = T.unsafe(nil)); end # Returns the value of attribute aliases. # - # source://thor//lib/thor/parser/option.rb#3 + # pkg:gem/thor#lib/thor/parser/option.rb:3 def aliases; end - # source://thor//lib/thor/parser/option.rb#99 + # pkg:gem/thor#lib/thor/parser/option.rb:99 def aliases_for_usage; end - # source://thor//lib/thor/parser/option.rb#117 + # pkg:gem/thor#lib/thor/parser/option.rb:117 def array?; end - # source://thor//lib/thor/parser/option.rb#117 + # pkg:gem/thor#lib/thor/parser/option.rb:117 def boolean?; end # Returns the value of attribute group. # - # source://thor//lib/thor/parser/option.rb#3 + # pkg:gem/thor#lib/thor/parser/option.rb:3 def group; end - # source://thor//lib/thor/parser/option.rb#117 + # pkg:gem/thor#lib/thor/parser/option.rb:117 def hash?; end # Returns the value of attribute hide. # - # source://thor//lib/thor/parser/option.rb#3 + # pkg:gem/thor#lib/thor/parser/option.rb:3 def hide; end - # source://thor//lib/thor/parser/option.rb#79 + # pkg:gem/thor#lib/thor/parser/option.rb:79 def human_name; end # Returns the value of attribute lazy_default. # - # source://thor//lib/thor/parser/option.rb#3 + # pkg:gem/thor#lib/thor/parser/option.rb:3 def lazy_default; end - # source://thor//lib/thor/parser/option.rb#117 + # pkg:gem/thor#lib/thor/parser/option.rb:117 def numeric?; end # Returns the value of attribute repeatable. # - # source://thor//lib/thor/parser/option.rb#3 + # pkg:gem/thor#lib/thor/parser/option.rb:3 def repeatable; end # @return [Boolean] # - # source://thor//lib/thor/parser/option.rb#107 + # pkg:gem/thor#lib/thor/parser/option.rb:107 def show_default?; end - # source://thor//lib/thor/parser/option.rb#117 + # pkg:gem/thor#lib/thor/parser/option.rb:117 def string?; end - # source://thor//lib/thor/parser/option.rb#75 + # pkg:gem/thor#lib/thor/parser/option.rb:75 def switch_name; end - # source://thor//lib/thor/parser/option.rb#83 + # pkg:gem/thor#lib/thor/parser/option.rb:83 def usage(padding = T.unsafe(nil)); end protected - # source://thor//lib/thor/parser/option.rb#168 + # pkg:gem/thor#lib/thor/parser/option.rb:168 def dasherize(str); end # @return [Boolean] # - # source://thor//lib/thor/parser/option.rb#160 + # pkg:gem/thor#lib/thor/parser/option.rb:160 def dasherized?; end - # source://thor//lib/thor/parser/option.rb#164 + # pkg:gem/thor#lib/thor/parser/option.rb:164 def undasherize(str); end # @raise [ArgumentError] # - # source://thor//lib/thor/parser/option.rb#126 + # pkg:gem/thor#lib/thor/parser/option.rb:126 def validate!; end - # source://thor//lib/thor/parser/option.rb#131 + # pkg:gem/thor#lib/thor/parser/option.rb:131 def validate_default_type!; end private - # source://thor//lib/thor/parser/option.rb#174 + # pkg:gem/thor#lib/thor/parser/option.rb:174 def normalize_aliases(aliases); end class << self @@ -3326,15 +3326,15 @@ class Thor::Option < ::Thor::Argument # # By default all options are optional, unless :required is given. # - # source://thor//lib/thor/parser/option.rb#45 + # pkg:gem/thor#lib/thor/parser/option.rb:45 def parse(key, value); end end end -# source://thor//lib/thor/parser/option.rb#5 +# pkg:gem/thor#lib/thor/parser/option.rb:5 Thor::Option::VALID_TYPES = T.let(T.unsafe(nil), Array) -# source://thor//lib/thor/parser/options.rb#2 +# pkg:gem/thor#lib/thor/parser/options.rb:2 class Thor::Options < ::Thor::Arguments # Takes a hash of Thor::Option and a hash with defaults. # @@ -3343,38 +3343,38 @@ class Thor::Options < ::Thor::Arguments # # @return [Options] a new instance of Options # - # source://thor//lib/thor/parser/options.rb#32 + # pkg:gem/thor#lib/thor/parser/options.rb:32 def initialize(hash_options = T.unsafe(nil), defaults = T.unsafe(nil), stop_on_unknown = T.unsafe(nil), disable_required_check = T.unsafe(nil), relations = T.unsafe(nil)); end - # source://thor//lib/thor/parser/options.rb#156 + # pkg:gem/thor#lib/thor/parser/options.rb:156 def check_at_least_one!; end - # source://thor//lib/thor/parser/options.rb#144 + # pkg:gem/thor#lib/thor/parser/options.rb:144 def check_exclusive!; end # @raise [UnknownArgumentError] # - # source://thor//lib/thor/parser/options.rb#168 + # pkg:gem/thor#lib/thor/parser/options.rb:168 def check_unknown!; end - # source://thor//lib/thor/parser/options.rb#89 + # pkg:gem/thor#lib/thor/parser/options.rb:89 def parse(args); end - # source://thor//lib/thor/parser/options.rb#65 + # pkg:gem/thor#lib/thor/parser/options.rb:65 def peek; end - # source://thor//lib/thor/parser/options.rb#61 + # pkg:gem/thor#lib/thor/parser/options.rb:61 def remaining; end - # source://thor//lib/thor/parser/options.rb#79 + # pkg:gem/thor#lib/thor/parser/options.rb:79 def shift; end - # source://thor//lib/thor/parser/options.rb#84 + # pkg:gem/thor#lib/thor/parser/options.rb:84 def unshift(arg, is_value: T.unsafe(nil)); end protected - # source://thor//lib/thor/parser/options.rb#189 + # pkg:gem/thor#lib/thor/parser/options.rb:189 def assign_result!(option, result); end # Check if the current value in peek is a registered switch. @@ -3384,79 +3384,79 @@ class Thor::Options < ::Thor::Arguments # # @return [Boolean] # - # source://thor//lib/thor/parser/options.rb#203 + # pkg:gem/thor#lib/thor/parser/options.rb:203 def current_is_switch?; end # @return [Boolean] # - # source://thor//lib/thor/parser/options.rb#215 + # pkg:gem/thor#lib/thor/parser/options.rb:215 def current_is_switch_formatted?; end # @return [Boolean] # - # source://thor//lib/thor/parser/options.rb#225 + # pkg:gem/thor#lib/thor/parser/options.rb:225 def current_is_value?; end # Option names changes to swith name or human name # - # source://thor//lib/thor/parser/options.rb#179 + # pkg:gem/thor#lib/thor/parser/options.rb:179 def names_to_switch_names(names = T.unsafe(nil)); end # Check if the given argument is actually a shortcut. # - # source://thor//lib/thor/parser/options.rb#244 + # pkg:gem/thor#lib/thor/parser/options.rb:244 def normalize_switch(arg); end # Parse boolean values which can be given as --foo=true or --foo for true values, or # --foo=false, --no-foo or --skip-foo for false values. # - # source://thor//lib/thor/parser/options.rb#256 + # pkg:gem/thor#lib/thor/parser/options.rb:256 def parse_boolean(switch); end # Parse the value at the peek analyzing if it requires an input or not. # - # source://thor//lib/thor/parser/options.rb#274 + # pkg:gem/thor#lib/thor/parser/options.rb:274 def parse_peek(switch, option); end # @return [Boolean] # - # source://thor//lib/thor/parser/options.rb#248 + # pkg:gem/thor#lib/thor/parser/options.rb:248 def parsing_options?; end # @return [Boolean] # - # source://thor//lib/thor/parser/options.rb#230 + # pkg:gem/thor#lib/thor/parser/options.rb:230 def switch?(arg); end - # source://thor//lib/thor/parser/options.rb#234 + # pkg:gem/thor#lib/thor/parser/options.rb:234 def switch_option(arg); end class << self # Receives a hash and makes it switches. # - # source://thor//lib/thor/parser/options.rb#11 + # pkg:gem/thor#lib/thor/parser/options.rb:11 def to_switches(options); end end end -# source://thor//lib/thor/parser/options.rb#5 +# pkg:gem/thor#lib/thor/parser/options.rb:5 Thor::Options::EQ_RE = T.let(T.unsafe(nil), Regexp) -# source://thor//lib/thor/parser/options.rb#3 +# pkg:gem/thor#lib/thor/parser/options.rb:3 Thor::Options::LONG_RE = T.let(T.unsafe(nil), Regexp) -# source://thor//lib/thor/parser/options.rb#8 +# pkg:gem/thor#lib/thor/parser/options.rb:8 Thor::Options::OPTS_END = T.let(T.unsafe(nil), String) -# source://thor//lib/thor/parser/options.rb#7 +# pkg:gem/thor#lib/thor/parser/options.rb:7 Thor::Options::SHORT_NUM = T.let(T.unsafe(nil), Regexp) -# source://thor//lib/thor/parser/options.rb#4 +# pkg:gem/thor#lib/thor/parser/options.rb:4 Thor::Options::SHORT_RE = T.let(T.unsafe(nil), Regexp) # Allow either -x -v or -xv style for single char args # -# source://thor//lib/thor/parser/options.rb#6 +# pkg:gem/thor#lib/thor/parser/options.rb:6 Thor::Options::SHORT_SQ_RE = T.let(T.unsafe(nil), Regexp) # Adds a compatibility layer to your Thor classes which allows you to use @@ -3474,7 +3474,7 @@ Thor::Options::SHORT_SQ_RE = T.let(T.unsafe(nil), Regexp) # end # end # -# source://thor//lib/thor/rake_compat.rb#20 +# pkg:gem/thor#lib/thor/rake_compat.rb:20 module Thor::RakeCompat include ::FileUtils::StreamUtils_ include ::FileUtils @@ -3484,21 +3484,21 @@ module Thor::RakeCompat class << self # @private # - # source://thor//lib/thor/rake_compat.rb#27 + # pkg:gem/thor#lib/thor/rake_compat.rb:27 def included(base); end - # source://thor//lib/thor/rake_compat.rb#23 + # pkg:gem/thor#lib/thor/rake_compat.rb:23 def rake_classes; end end end -# source://thor//lib/thor/error.rb#95 +# pkg:gem/thor#lib/thor/error.rb:95 class Thor::RequiredArgumentMissingError < ::Thor::InvocationError; end -# source://thor//lib/thor/util.rb#4 +# pkg:gem/thor#lib/thor/util.rb:4 module Thor::Sandbox; end -# source://thor//lib/thor/shell.rb#23 +# pkg:gem/thor#lib/thor/shell.rb:23 module Thor::Shell # Add shell to initialize config values. # @@ -3513,81 +3513,81 @@ module Thor::Shell # # MyScript.new [1.0], { :foo => :bar }, :shell => Thor::Shell::Basic.new # - # source://thor//lib/thor/shell.rb#44 + # pkg:gem/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#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def ask(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def error(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def file_collision(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def no?(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def print_in_columns(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def print_table(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def print_wrapped(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def say(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def say_error(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def say_status(*args, &block); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/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, # it gets a default shell from Thor::Base.shell. # - # source://thor//lib/thor/shell.rb#52 + # pkg:gem/thor#lib/thor/shell.rb:52 def shell; end # Sets the attribute shell # # @param value the value to set the attribute shell to. # - # source://thor//lib/thor/shell.rb#25 + # pkg:gem/thor#lib/thor/shell.rb:25 def shell=(_arg0); end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def terminal_width(*args, &block); end # Yields the given block with padding. # - # source://thor//lib/thor/shell.rb#66 + # pkg:gem/thor#lib/thor/shell.rb:66 def with_padding; end - # source://thor//lib/thor/shell.rb#58 + # pkg:gem/thor#lib/thor/shell.rb:58 def yes?(*args, &block); end protected # Allow shell to be shared between invocations. # - # source://thor//lib/thor/shell.rb#77 + # pkg:gem/thor#lib/thor/shell.rb:77 def _shared_configuration; end end -# source://thor//lib/thor/shell/basic.rb#7 +# pkg:gem/thor#lib/thor/shell/basic.rb:7 class Thor::Shell::Basic # Initialize base, mute and padding to nil. # # @return [Basic] a new instance of Basic # - # source://thor//lib/thor/shell/basic.rb#13 + # pkg:gem/thor#lib/thor/shell/basic.rb:13 def initialize; end # Asks something to the user and receives a response. @@ -3620,19 +3620,19 @@ class Thor::Shell::Basic # # ask("Where should the file be saved?", :path => true) # - # source://thor//lib/thor/shell/basic.rb#80 + # pkg:gem/thor#lib/thor/shell/basic.rb:80 def ask(statement, *args); end # Returns the value of attribute base. # - # source://thor//lib/thor/shell/basic.rb#8 + # pkg:gem/thor#lib/thor/shell/basic.rb:8 def base; end # Sets the attribute base # # @param value the value to set the attribute base to. # - # source://thor//lib/thor/shell/basic.rb#8 + # pkg:gem/thor#lib/thor/shell/basic.rb:8 def base=(_arg0); end # Called if something goes wrong during the execution. This is used by Thor @@ -3640,7 +3640,7 @@ class Thor::Shell::Basic # wrong, you can always raise an exception. If you raise a Thor::Error, it # will be rescued and wrapped in the method below. # - # source://thor//lib/thor/shell/basic.rb#251 + # pkg:gem/thor#lib/thor/shell/basic.rb:251 def error(statement); end # Deals with file collision and returns true if the file should be @@ -3651,24 +3651,24 @@ class Thor::Shell::Basic # destination:: the destination file to solve conflicts # block:: an optional block that returns the value to be used in diff and merge # - # source://thor//lib/thor/shell/basic.rb#207 + # pkg:gem/thor#lib/thor/shell/basic.rb:207 def file_collision(destination); end # Sets the output padding while executing a block and resets it. # - # source://thor//lib/thor/shell/basic.rb#43 + # pkg:gem/thor#lib/thor/shell/basic.rb:43 def indent(count = T.unsafe(nil)); end # Mute everything that's inside given block # - # source://thor//lib/thor/shell/basic.rb#22 + # pkg:gem/thor#lib/thor/shell/basic.rb:22 def mute; end # Check if base is muted # # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#31 + # pkg:gem/thor#lib/thor/shell/basic.rb:31 def mute?; end # Asks the user a question and returns true if the user replies "n" or @@ -3676,17 +3676,17 @@ class Thor::Shell::Basic # # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#156 + # pkg:gem/thor#lib/thor/shell/basic.rb:156 def no?(statement, color = T.unsafe(nil)); end # Returns the value of attribute padding. # - # source://thor//lib/thor/shell/basic.rb#9 + # pkg:gem/thor#lib/thor/shell/basic.rb:9 def padding; end # Sets the output padding, not allowing less than zero values. # - # source://thor//lib/thor/shell/basic.rb#37 + # pkg:gem/thor#lib/thor/shell/basic.rb:37 def padding=(value); end # Prints values in columns @@ -3694,7 +3694,7 @@ class Thor::Shell::Basic # ==== Parameters # Array[String, String, ...] # - # source://thor//lib/thor/shell/basic.rb#165 + # pkg:gem/thor#lib/thor/shell/basic.rb:165 def print_in_columns(array); end # Prints a table. @@ -3707,7 +3707,7 @@ class Thor::Shell::Basic # colwidth:: Force the first column to colwidth spaces wide. # borders:: Adds ascii borders. # - # source://thor//lib/thor/shell/basic.rb#180 + # pkg:gem/thor#lib/thor/shell/basic.rb:180 def print_table(array, options = T.unsafe(nil)); end # Prints a long string, word-wrapping the text to the current width of the @@ -3719,7 +3719,7 @@ class Thor::Shell::Basic # ==== Options # indent:: Indent each line of the printed paragraph by indent value. # - # source://thor//lib/thor/shell/basic.rb#194 + # pkg:gem/thor#lib/thor/shell/basic.rb:194 def print_wrapped(message, options = T.unsafe(nil)); end # Say (print) something to the user. If the sentence ends with a whitespace @@ -3729,7 +3729,7 @@ class Thor::Shell::Basic # ==== Example # say("I know you knew that.") # - # source://thor//lib/thor/shell/basic.rb#98 + # pkg:gem/thor#lib/thor/shell/basic.rb:98 def say(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end # Say (print) an error to the user. If the sentence ends with a whitespace @@ -3739,7 +3739,7 @@ class Thor::Shell::Basic # ==== Example # say_error("error: something went wrong") # - # source://thor//lib/thor/shell/basic.rb#115 + # pkg:gem/thor#lib/thor/shell/basic.rb:115 def say_error(message = T.unsafe(nil), color = T.unsafe(nil), force_new_line = T.unsafe(nil)); end # Say a status with the given color and appends the message. Since this @@ -3747,13 +3747,13 @@ class Thor::Shell::Basic # in log_status, avoiding the message from being shown. If a Symbol is # given in log_status, it's used as the color. # - # source://thor//lib/thor/shell/basic.rb#130 + # pkg:gem/thor#lib/thor/shell/basic.rb:130 def say_status(status, message, log_status = T.unsafe(nil)); end # Apply color to the given string with optional bold. Disabled in the # Thor::Shell::Basic class. # - # source://thor//lib/thor/shell/basic.rb#258 + # pkg:gem/thor#lib/thor/shell/basic.rb:258 def set_color(string, *_arg1); end # Asks the user a question and returns true if the user replies "y" or @@ -3761,72 +3761,72 @@ class Thor::Shell::Basic # # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#149 + # pkg:gem/thor#lib/thor/shell/basic.rb:149 def yes?(statement, color = T.unsafe(nil)); end protected - # source://thor//lib/thor/shell/basic.rb#360 + # pkg:gem/thor#lib/thor/shell/basic.rb:360 def answer_match(possibilities, answer, case_insensitive); end - # source://thor//lib/thor/shell/basic.rb#347 + # pkg:gem/thor#lib/thor/shell/basic.rb:347 def ask_filtered(statement, color, options); end - # source://thor//lib/thor/shell/basic.rb#330 + # pkg:gem/thor#lib/thor/shell/basic.rb:330 def ask_simply(statement, color, options); end # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#269 + # pkg:gem/thor#lib/thor/shell/basic.rb:269 def can_display_colors?; end - # source://thor//lib/thor/shell/basic.rb#384 + # pkg:gem/thor#lib/thor/shell/basic.rb:384 def diff_tool; end - # source://thor//lib/thor/shell/basic.rb#296 + # pkg:gem/thor#lib/thor/shell/basic.rb:296 def file_collision_help(block_given); end # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#286 + # pkg:gem/thor#lib/thor/shell/basic.rb:286 def is?(value); end - # source://thor//lib/thor/shell/basic.rb#273 + # pkg:gem/thor#lib/thor/shell/basic.rb:273 def lookup_color(color); end - # source://thor//lib/thor/shell/basic.rb#368 + # pkg:gem/thor#lib/thor/shell/basic.rb:368 def merge(destination, content); end - # source://thor//lib/thor/shell/basic.rb#377 + # pkg:gem/thor#lib/thor/shell/basic.rb:377 def merge_tool; end - # source://thor//lib/thor/shell/basic.rb#264 + # pkg:gem/thor#lib/thor/shell/basic.rb:264 def prepare_message(message, *color); end # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#322 + # pkg:gem/thor#lib/thor/shell/basic.rb:322 def quiet?; end - # source://thor//lib/thor/shell/basic.rb#313 + # pkg:gem/thor#lib/thor/shell/basic.rb:313 def show_diff(destination, content); end - # source://thor//lib/thor/shell/basic.rb#282 + # pkg:gem/thor#lib/thor/shell/basic.rb:282 def stderr; end - # source://thor//lib/thor/shell/basic.rb#278 + # pkg:gem/thor#lib/thor/shell/basic.rb:278 def stdout; end # @return [Boolean] # - # source://thor//lib/thor/shell/basic.rb#326 + # pkg:gem/thor#lib/thor/shell/basic.rb:326 def unix?; end end # Inherit from Thor::Shell::Basic and add set_color behavior. Check # Thor::Shell::Basic to see all available methods. # -# source://thor//lib/thor/shell/color.rb#11 +# pkg:gem/thor#lib/thor/shell/color.rb:11 class Thor::Shell::Color < ::Thor::Shell::Basic include ::LCSDiff @@ -3862,142 +3862,142 @@ class Thor::Shell::Color < ::Thor::Shell::Basic # :on_cyan # :on_white # - # source://thor//lib/thor/shell/color.rb#84 + # pkg:gem/thor#lib/thor/shell/color.rb:84 def set_color(string, *colors); end protected # @return [Boolean] # - # source://thor//lib/thor/shell/color.rb#112 + # pkg:gem/thor#lib/thor/shell/color.rb:112 def are_colors_disabled?; end # @return [Boolean] # - # source://thor//lib/thor/shell/color.rb#108 + # pkg:gem/thor#lib/thor/shell/color.rb:108 def are_colors_supported?; end # @return [Boolean] # - # source://thor//lib/thor/shell/color.rb#104 + # pkg:gem/thor#lib/thor/shell/color.rb:104 def can_display_colors?; end end # Set the terminal's foreground ANSI color to black. # -# source://thor//lib/thor/shell/color.rb#20 +# pkg:gem/thor#lib/thor/shell/color.rb:20 Thor::Shell::Color::BLACK = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to blue. # -# source://thor//lib/thor/shell/color.rb#28 +# pkg:gem/thor#lib/thor/shell/color.rb:28 Thor::Shell::Color::BLUE = T.let(T.unsafe(nil), String) # The start of an ANSI bold sequence. # -# source://thor//lib/thor/shell/color.rb#17 +# pkg:gem/thor#lib/thor/shell/color.rb:17 Thor::Shell::Color::BOLD = T.let(T.unsafe(nil), String) # Embed in a String to clear all previous ANSI sequences. # -# source://thor//lib/thor/shell/color.rb#15 +# pkg:gem/thor#lib/thor/shell/color.rb:15 Thor::Shell::Color::CLEAR = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to cyan. # -# source://thor//lib/thor/shell/color.rb#32 +# pkg:gem/thor#lib/thor/shell/color.rb:32 Thor::Shell::Color::CYAN = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to green. # -# source://thor//lib/thor/shell/color.rb#24 +# pkg:gem/thor#lib/thor/shell/color.rb:24 Thor::Shell::Color::GREEN = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to magenta. # -# source://thor//lib/thor/shell/color.rb#30 +# pkg:gem/thor#lib/thor/shell/color.rb:30 Thor::Shell::Color::MAGENTA = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to black. # -# source://thor//lib/thor/shell/color.rb#37 +# pkg:gem/thor#lib/thor/shell/color.rb:37 Thor::Shell::Color::ON_BLACK = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to blue. # -# source://thor//lib/thor/shell/color.rb#45 +# pkg:gem/thor#lib/thor/shell/color.rb:45 Thor::Shell::Color::ON_BLUE = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to cyan. # -# source://thor//lib/thor/shell/color.rb#49 +# pkg:gem/thor#lib/thor/shell/color.rb:49 Thor::Shell::Color::ON_CYAN = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to green. # -# source://thor//lib/thor/shell/color.rb#41 +# pkg:gem/thor#lib/thor/shell/color.rb:41 Thor::Shell::Color::ON_GREEN = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to magenta. # -# source://thor//lib/thor/shell/color.rb#47 +# pkg:gem/thor#lib/thor/shell/color.rb:47 Thor::Shell::Color::ON_MAGENTA = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to red. # -# source://thor//lib/thor/shell/color.rb#39 +# pkg:gem/thor#lib/thor/shell/color.rb:39 Thor::Shell::Color::ON_RED = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to white. # -# source://thor//lib/thor/shell/color.rb#51 +# pkg:gem/thor#lib/thor/shell/color.rb:51 Thor::Shell::Color::ON_WHITE = T.let(T.unsafe(nil), String) # Set the terminal's background ANSI color to yellow. # -# source://thor//lib/thor/shell/color.rb#43 +# pkg:gem/thor#lib/thor/shell/color.rb:43 Thor::Shell::Color::ON_YELLOW = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to red. # -# source://thor//lib/thor/shell/color.rb#22 +# pkg:gem/thor#lib/thor/shell/color.rb:22 Thor::Shell::Color::RED = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to white. # -# source://thor//lib/thor/shell/color.rb#34 +# pkg:gem/thor#lib/thor/shell/color.rb:34 Thor::Shell::Color::WHITE = T.let(T.unsafe(nil), String) # Set the terminal's foreground ANSI color to yellow. # -# source://thor//lib/thor/shell/color.rb#26 +# pkg:gem/thor#lib/thor/shell/color.rb:26 Thor::Shell::Color::YELLOW = T.let(T.unsafe(nil), String) -# source://thor//lib/thor/shell/column_printer.rb#5 +# pkg:gem/thor#lib/thor/shell/column_printer.rb:5 class Thor::Shell::ColumnPrinter # @return [ColumnPrinter] a new instance of ColumnPrinter # - # source://thor//lib/thor/shell/column_printer.rb#8 + # pkg:gem/thor#lib/thor/shell/column_printer.rb:8 def initialize(stdout, options = T.unsafe(nil)); end # Returns the value of attribute options. # - # source://thor//lib/thor/shell/column_printer.rb#6 + # pkg:gem/thor#lib/thor/shell/column_printer.rb:6 def options; end - # source://thor//lib/thor/shell/column_printer.rb#14 + # pkg:gem/thor#lib/thor/shell/column_printer.rb:14 def print(array); end # Returns the value of attribute stdout. # - # source://thor//lib/thor/shell/column_printer.rb#6 + # pkg:gem/thor#lib/thor/shell/column_printer.rb:6 def stdout; end end # Inherit from Thor::Shell::Basic and add set_color behavior. Check # Thor::Shell::Basic to see all available methods. # -# source://thor//lib/thor/shell/html.rb#9 +# pkg:gem/thor#lib/thor/shell/html.rb:9 class Thor::Shell::HTML < ::Thor::Shell::Basic include ::LCSDiff @@ -4010,7 +4010,7 @@ class Thor::Shell::HTML < ::Thor::Shell::Basic # # @raise [NotImplementedError] # - # source://thor//lib/thor/shell/html.rb#73 + # pkg:gem/thor#lib/thor/shell/html.rb:73 def ask(statement, color = T.unsafe(nil)); end # Set color by using a string or one of the defined constants. If a third @@ -4018,265 +4018,265 @@ class Thor::Shell::HTML < ::Thor::Shell::Basic # on Highline implementation and it automatically appends CLEAR to the end # of the returned String. # - # source://thor//lib/thor/shell/html.rb#54 + # pkg:gem/thor#lib/thor/shell/html.rb:54 def set_color(string, *colors); end protected # @return [Boolean] # - # source://thor//lib/thor/shell/html.rb#79 + # pkg:gem/thor#lib/thor/shell/html.rb:79 def can_display_colors?; end end # Set the terminal's foreground HTML color to black. # -# source://thor//lib/thor/shell/html.rb#16 +# pkg:gem/thor#lib/thor/shell/html.rb:16 Thor::Shell::HTML::BLACK = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to blue. # -# source://thor//lib/thor/shell/html.rb#24 +# pkg:gem/thor#lib/thor/shell/html.rb:24 Thor::Shell::HTML::BLUE = T.let(T.unsafe(nil), String) # The start of an HTML bold sequence. # -# source://thor//lib/thor/shell/html.rb#13 +# pkg:gem/thor#lib/thor/shell/html.rb:13 Thor::Shell::HTML::BOLD = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to cyan. # -# source://thor//lib/thor/shell/html.rb#28 +# pkg:gem/thor#lib/thor/shell/html.rb:28 Thor::Shell::HTML::CYAN = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to green. # -# source://thor//lib/thor/shell/html.rb#20 +# pkg:gem/thor#lib/thor/shell/html.rb:20 Thor::Shell::HTML::GREEN = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to magenta. # -# source://thor//lib/thor/shell/html.rb#26 +# pkg:gem/thor#lib/thor/shell/html.rb:26 Thor::Shell::HTML::MAGENTA = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to black. # -# source://thor//lib/thor/shell/html.rb#33 +# pkg:gem/thor#lib/thor/shell/html.rb:33 Thor::Shell::HTML::ON_BLACK = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to blue. # -# source://thor//lib/thor/shell/html.rb#41 +# pkg:gem/thor#lib/thor/shell/html.rb:41 Thor::Shell::HTML::ON_BLUE = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to cyan. # -# source://thor//lib/thor/shell/html.rb#45 +# pkg:gem/thor#lib/thor/shell/html.rb:45 Thor::Shell::HTML::ON_CYAN = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to green. # -# source://thor//lib/thor/shell/html.rb#37 +# pkg:gem/thor#lib/thor/shell/html.rb:37 Thor::Shell::HTML::ON_GREEN = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to magenta. # -# source://thor//lib/thor/shell/html.rb#43 +# pkg:gem/thor#lib/thor/shell/html.rb:43 Thor::Shell::HTML::ON_MAGENTA = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to red. # -# source://thor//lib/thor/shell/html.rb#35 +# pkg:gem/thor#lib/thor/shell/html.rb:35 Thor::Shell::HTML::ON_RED = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to white. # -# source://thor//lib/thor/shell/html.rb#47 +# pkg:gem/thor#lib/thor/shell/html.rb:47 Thor::Shell::HTML::ON_WHITE = T.let(T.unsafe(nil), String) # Set the terminal's background HTML color to yellow. # -# source://thor//lib/thor/shell/html.rb#39 +# pkg:gem/thor#lib/thor/shell/html.rb:39 Thor::Shell::HTML::ON_YELLOW = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to red. # -# source://thor//lib/thor/shell/html.rb#18 +# pkg:gem/thor#lib/thor/shell/html.rb:18 Thor::Shell::HTML::RED = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to white. # -# source://thor//lib/thor/shell/html.rb#30 +# pkg:gem/thor#lib/thor/shell/html.rb:30 Thor::Shell::HTML::WHITE = T.let(T.unsafe(nil), String) # Set the terminal's foreground HTML color to yellow. # -# source://thor//lib/thor/shell/html.rb#22 +# pkg:gem/thor#lib/thor/shell/html.rb:22 Thor::Shell::HTML::YELLOW = T.let(T.unsafe(nil), String) -# source://thor//lib/thor/shell.rb#24 +# pkg:gem/thor#lib/thor/shell.rb:24 Thor::Shell::SHELL_DELEGATED_METHODS = T.let(T.unsafe(nil), Array) -# source://thor//lib/thor/shell/table_printer.rb#6 +# pkg:gem/thor#lib/thor/shell/table_printer.rb:6 class Thor::Shell::TablePrinter < ::Thor::Shell::ColumnPrinter # @return [TablePrinter] a new instance of TablePrinter # - # source://thor//lib/thor/shell/table_printer.rb#9 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:9 def initialize(stdout, options = T.unsafe(nil)); end - # source://thor//lib/thor/shell/table_printer.rb#18 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:18 def print(array); end private - # source://thor//lib/thor/shell/table_printer.rb#72 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:72 def format_cell(column, row_size, index); end - # source://thor//lib/thor/shell/table_printer.rb#113 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:113 def indentation; end - # source://thor//lib/thor/shell/table_printer.rb#47 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:47 def prepare(array); end - # source://thor//lib/thor/shell/table_printer.rb#96 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:96 def print_border_separator; end - # source://thor//lib/thor/shell/table_printer.rb#103 + # pkg:gem/thor#lib/thor/shell/table_printer.rb:103 def truncate(string); end end -# source://thor//lib/thor/shell/table_printer.rb#7 +# pkg:gem/thor#lib/thor/shell/table_printer.rb:7 Thor::Shell::TablePrinter::BORDER_SEPARATOR = T.let(T.unsafe(nil), Symbol) -# source://thor//lib/thor/shell/terminal.rb#3 +# pkg:gem/thor#lib/thor/shell/terminal.rb:3 module Thor::Shell::Terminal class << self - # source://thor//lib/thor/shell/terminal.rb#9 + # pkg:gem/thor#lib/thor/shell/terminal.rb:9 def terminal_width; end # @return [Boolean] # - # source://thor//lib/thor/shell/terminal.rb#20 + # pkg:gem/thor#lib/thor/shell/terminal.rb:20 def unix?; end private # Calculate the dynamic width of the terminal # - # source://thor//lib/thor/shell/terminal.rb#27 + # pkg:gem/thor#lib/thor/shell/terminal.rb:27 def dynamic_width; end - # source://thor//lib/thor/shell/terminal.rb#31 + # pkg:gem/thor#lib/thor/shell/terminal.rb:31 def dynamic_width_stty; end - # source://thor//lib/thor/shell/terminal.rb#35 + # pkg:gem/thor#lib/thor/shell/terminal.rb:35 def dynamic_width_tput; end end end -# source://thor//lib/thor/shell/terminal.rb#4 +# pkg:gem/thor#lib/thor/shell/terminal.rb:4 Thor::Shell::Terminal::DEFAULT_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer) -# source://thor//lib/thor/shell/wrapped_printer.rb#6 +# pkg:gem/thor#lib/thor/shell/wrapped_printer.rb:6 class Thor::Shell::WrappedPrinter < ::Thor::Shell::ColumnPrinter - # source://thor//lib/thor/shell/wrapped_printer.rb#7 + # pkg:gem/thor#lib/thor/shell/wrapped_printer.rb:7 def print(message); end end -# source://thor//lib/thor/base.rb#24 +# pkg:gem/thor#lib/thor/base.rb:24 Thor::TEMPLATE_EXTNAME = T.let(T.unsafe(nil), String) # Thor methods that should not be overwritten by the user. # -# source://thor//lib/thor/base.rb#21 +# pkg:gem/thor#lib/thor/base.rb:21 Thor::THOR_RESERVED_WORDS = T.let(T.unsafe(nil), Array) -# source://thor//lib/thor/base.rb#18 +# pkg:gem/thor#lib/thor/base.rb:18 Thor::TREE_MAPPINGS = T.let(T.unsafe(nil), Array) -# source://thor//lib/thor/command.rb#126 +# pkg:gem/thor#lib/thor/command.rb:126 Thor::Task = Thor::Command # Raised when a command was not found. # -# source://thor//lib/thor/error.rb#24 +# pkg:gem/thor#lib/thor/error.rb:24 class Thor::UndefinedCommandError < ::Thor::Error include ::Thor::Correctable # @return [UndefinedCommandError] a new instance of UndefinedCommandError # - # source://thor//lib/thor/error.rb#43 + # pkg:gem/thor#lib/thor/error.rb:43 def initialize(command, all_commands, namespace); end # Returns the value of attribute all_commands. # - # source://thor//lib/thor/error.rb#41 + # pkg:gem/thor#lib/thor/error.rb:41 def all_commands; end # Returns the value of attribute command. # - # source://thor//lib/thor/error.rb#41 + # pkg:gem/thor#lib/thor/error.rb:41 def command; end end -# source://thor//lib/thor/error.rb#25 +# pkg:gem/thor#lib/thor/error.rb:25 class Thor::UndefinedCommandError::SpellChecker # @return [SpellChecker] a new instance of SpellChecker # - # source://thor//lib/thor/error.rb#28 + # pkg:gem/thor#lib/thor/error.rb:28 def initialize(error); end - # source://thor//lib/thor/error.rb#32 + # pkg:gem/thor#lib/thor/error.rb:32 def corrections; end # Returns the value of attribute error. # - # source://thor//lib/thor/error.rb#26 + # pkg:gem/thor#lib/thor/error.rb:26 def error; end - # source://thor//lib/thor/error.rb#36 + # pkg:gem/thor#lib/thor/error.rb:36 def spell_checker; end end -# source://thor//lib/thor/error.rb#55 +# pkg:gem/thor#lib/thor/error.rb:55 Thor::UndefinedTaskError = Thor::UndefinedCommandError -# source://thor//lib/thor/error.rb#65 +# pkg:gem/thor#lib/thor/error.rb:65 class Thor::UnknownArgumentError < ::Thor::Error include ::Thor::Correctable # @return [UnknownArgumentError] a new instance of UnknownArgumentError # - # source://thor//lib/thor/error.rb#85 + # pkg:gem/thor#lib/thor/error.rb:85 def initialize(switches, unknown); end # Returns the value of attribute switches. # - # source://thor//lib/thor/error.rb#83 + # pkg:gem/thor#lib/thor/error.rb:83 def switches; end # Returns the value of attribute unknown. # - # source://thor//lib/thor/error.rb#83 + # pkg:gem/thor#lib/thor/error.rb:83 def unknown; end end -# source://thor//lib/thor/error.rb#66 +# pkg:gem/thor#lib/thor/error.rb:66 class Thor::UnknownArgumentError::SpellChecker # @return [SpellChecker] a new instance of SpellChecker # - # source://thor//lib/thor/error.rb#69 + # pkg:gem/thor#lib/thor/error.rb:69 def initialize(error); end - # source://thor//lib/thor/error.rb#73 + # pkg:gem/thor#lib/thor/error.rb:73 def corrections; end # Returns the value of attribute error. # - # source://thor//lib/thor/error.rb#67 + # pkg:gem/thor#lib/thor/error.rb:67 def error; end - # source://thor//lib/thor/error.rb#78 + # pkg:gem/thor#lib/thor/error.rb:78 def spell_checker; end end @@ -4290,7 +4290,7 @@ end # # Thor::Util.load_thorfile("~/.thor/foo") # -# source://thor//lib/thor/util.rb#17 +# pkg:gem/thor#lib/thor/util.rb:17 module Thor::Util class << self # Receives a string and convert it to camel case. camel_case returns CamelCase. @@ -4301,7 +4301,7 @@ module Thor::Util # ==== Returns # String # - # source://thor//lib/thor/util.rb#104 + # pkg:gem/thor#lib/thor/util.rb:104 def camel_case(str); end # Returns a string that has had any glob characters escaped. @@ -4317,7 +4317,7 @@ module Thor::Util # ==== Returns # String # - # source://thor//lib/thor/util.rb#264 + # pkg:gem/thor#lib/thor/util.rb:264 def escape_globs(path); end # Returns a string that has had any HTML characters escaped. @@ -4332,7 +4332,7 @@ module Thor::Util # ==== Returns # String # - # source://thor//lib/thor/util.rb#280 + # pkg:gem/thor#lib/thor/util.rb:280 def escape_html(string); end # Receives a namespace and search for it in the Thor::Base subclasses. @@ -4340,7 +4340,7 @@ module Thor::Util # ==== Parameters # namespace:: The namespace to search for. # - # source://thor//lib/thor/util.rb#24 + # pkg:gem/thor#lib/thor/util.rb:24 def find_by_namespace(namespace); end # Receives a namespace and tries to retrieve a Thor or Thor::Group class @@ -4365,7 +4365,7 @@ module Thor::Util # ==== Parameters # namespace # - # source://thor//lib/thor/util.rb#131 + # pkg:gem/thor#lib/thor/util.rb:131 def find_class_and_command_by_namespace(namespace, fallback = T.unsafe(nil)); end # Receives a namespace and tries to retrieve a Thor or Thor::Group class @@ -4390,18 +4390,18 @@ module Thor::Util # ==== Parameters # namespace # - # source://thor//lib/thor/util.rb#148 + # pkg:gem/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. # - # source://thor//lib/thor/util.rb#213 + # pkg:gem/thor#lib/thor/util.rb:213 def globs_for(path); end # Receives a path and load the thor file in the path. The file is evaluated # inside the sandbox to avoid namespacing conflicts. # - # source://thor//lib/thor/util.rb#153 + # pkg:gem/thor#lib/thor/util.rb:153 def load_thorfile(path, content = T.unsafe(nil), debug = T.unsafe(nil)); end # Receives a constant and converts it to a Thor namespace. Since Thor @@ -4418,7 +4418,7 @@ module Thor::Util # ==== Returns # String:: If we receive Foo::Bar::Baz it returns "foo:bar:baz" # - # source://thor//lib/thor/util.rb#43 + # pkg:gem/thor#lib/thor/util.rb:43 def namespace_from_thor_class(constant); end # Given the contents, evaluate it inside the sandbox and returns the @@ -4430,13 +4430,13 @@ module Thor::Util # ==== Returns # Array[Object] # - # source://thor//lib/thor/util.rb#58 + # pkg:gem/thor#lib/thor/util.rb:58 def namespaces_in_content(contents, file = T.unsafe(nil)); end # Return the path to the ruby interpreter taking into account multiple # installations and windows extensions. # - # source://thor//lib/thor/util.rb#221 + # pkg:gem/thor#lib/thor/util.rb:221 def ruby_command; end # Receives a string and convert it to snake case. SnakeCase returns snake_case. @@ -4447,17 +4447,17 @@ module Thor::Util # ==== Returns # String # - # source://thor//lib/thor/util.rb#90 + # pkg:gem/thor#lib/thor/util.rb:90 def snake_case(str); end # Returns the thor classes declared inside the given class. # - # source://thor//lib/thor/util.rb#74 + # pkg:gem/thor#lib/thor/util.rb:74 def thor_classes_in(klass); end # Returns the root where thor files are located, depending on the OS. # - # source://thor//lib/thor/util.rb#192 + # pkg:gem/thor#lib/thor/util.rb:192 def thor_root; end # Returns the files in the thor root. On Windows thor_root will be something @@ -4467,10 +4467,10 @@ module Thor::Util # # If we don't #gsub the \ character, Dir.glob will fail. # - # source://thor//lib/thor/util.rb#203 + # pkg:gem/thor#lib/thor/util.rb:203 def thor_root_glob; end - # source://thor//lib/thor/util.rb#168 + # pkg:gem/thor#lib/thor/util.rb:168 def user_home; end end end diff --git a/sorbet/rbi/gems/timeout@0.4.3.rbi b/sorbet/rbi/gems/timeout@0.4.3.rbi index 945bd0ea9..71ade3653 100644 --- a/sorbet/rbi/gems/timeout@0.4.3.rbi +++ b/sorbet/rbi/gems/timeout@0.4.3.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem timeout`. -# source://timeout//lib/timeout.rb#21 +# pkg:gem/timeout#lib/timeout.rb:21 module Timeout private @@ -38,11 +38,11 @@ module Timeout # # @raise [ArgumentError] # - # source://timeout//lib/timeout.rb#167 + # pkg:gem/timeout#lib/timeout.rb:167 def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end class << self - # source://timeout//lib/timeout.rb#124 + # pkg:gem/timeout#lib/timeout.rb:124 def ensure_timeout_thread_created; end # Perform an operation in a block, raising an error if it takes longer than @@ -74,84 +74,84 @@ module Timeout # # @raise [ArgumentError] # - # source://timeout//lib/timeout.rb#197 + # pkg:gem/timeout#lib/timeout.rb:197 def timeout(sec, klass = T.unsafe(nil), message = T.unsafe(nil), &block); end private - # source://timeout//lib/timeout.rb#94 + # pkg:gem/timeout#lib/timeout.rb:94 def create_timeout_thread; end end end # :stopdoc: # -# source://timeout//lib/timeout.rb#47 +# pkg:gem/timeout#lib/timeout.rb:47 Timeout::CONDVAR = T.let(T.unsafe(nil), Thread::ConditionVariable) # Raised by Timeout.timeout when the block times out. # -# source://timeout//lib/timeout.rb#33 +# pkg:gem/timeout#lib/timeout.rb:33 class Timeout::Error < ::RuntimeError class << self - # source://timeout//lib/timeout.rb#34 + # pkg:gem/timeout#lib/timeout.rb:34 def handle_timeout(message); end end end # Internal error raised to when a timeout is triggered. # -# source://timeout//lib/timeout.rb#26 +# pkg:gem/timeout#lib/timeout.rb:26 class Timeout::ExitException < ::Exception - # source://timeout//lib/timeout.rb#27 + # pkg:gem/timeout#lib/timeout.rb:27 def exception(*_arg0); end end # We keep a private reference so that time mocking libraries won't break # Timeout. # -# source://timeout//lib/timeout.rb#136 +# pkg:gem/timeout#lib/timeout.rb:136 Timeout::GET_TIME = T.let(T.unsafe(nil), Method) -# source://timeout//lib/timeout.rb#48 +# pkg:gem/timeout#lib/timeout.rb:48 Timeout::QUEUE = T.let(T.unsafe(nil), Thread::Queue) -# source://timeout//lib/timeout.rb#49 +# pkg:gem/timeout#lib/timeout.rb:49 Timeout::QUEUE_MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://timeout//lib/timeout.rb#54 +# pkg:gem/timeout#lib/timeout.rb:54 class Timeout::Request # @return [Request] a new instance of Request # - # source://timeout//lib/timeout.rb#57 + # pkg:gem/timeout#lib/timeout.rb:57 def initialize(thread, timeout, exception_class, message); end # Returns the value of attribute deadline. # - # source://timeout//lib/timeout.rb#55 + # pkg:gem/timeout#lib/timeout.rb:55 def deadline; end # @return [Boolean] # - # source://timeout//lib/timeout.rb#67 + # pkg:gem/timeout#lib/timeout.rb:67 def done?; end # @return [Boolean] # - # source://timeout//lib/timeout.rb#73 + # pkg:gem/timeout#lib/timeout.rb:73 def expired?(now); end - # source://timeout//lib/timeout.rb#86 + # pkg:gem/timeout#lib/timeout.rb:86 def finished; end - # source://timeout//lib/timeout.rb#77 + # pkg:gem/timeout#lib/timeout.rb:77 def interrupt; end end -# source://timeout//lib/timeout.rb#50 +# pkg:gem/timeout#lib/timeout.rb:50 Timeout::TIMEOUT_THREAD_MUTEX = T.let(T.unsafe(nil), Thread::Mutex) # The version # -# source://timeout//lib/timeout.rb#23 +# pkg:gem/timeout#lib/timeout.rb:23 Timeout::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/tsort@0.2.0.rbi b/sorbet/rbi/gems/tsort@0.2.0.rbi index b3078cf1b..b0e88e088 100644 --- a/sorbet/rbi/gems/tsort@0.2.0.rbi +++ b/sorbet/rbi/gems/tsort@0.2.0.rbi @@ -119,7 +119,7 @@ # R. E. Tarjan, "Depth First Search and Linear Graph Algorithms", # SIAM Journal on Computing, Vol. 1, No. 2, pp. 146-160, June 1972. # -# source://tsort//lib/tsort.rb#124 +# pkg:gem/tsort#lib/tsort.rb:124 module TSort # The iterator version of the #strongly_connected_components method. # obj.each_strongly_connected_component is similar to @@ -150,7 +150,7 @@ module TSort # # [2, 3] # # [1] # - # source://tsort//lib/tsort.rb#316 + # pkg:gem/tsort#lib/tsort.rb:316 def each_strongly_connected_component(&block); end # Iterates over strongly connected component in the subgraph reachable from @@ -179,7 +179,7 @@ module TSort # #=> [4] # # [2, 3] # - # source://tsort//lib/tsort.rb#386 + # pkg:gem/tsort#lib/tsort.rb:386 def each_strongly_connected_component_from(node, id_map = T.unsafe(nil), stack = T.unsafe(nil), &block); end # Returns strongly connected components as an array of arrays of nodes. @@ -201,7 +201,7 @@ module TSort # graph = G.new({1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}) # p graph.strongly_connected_components #=> [[4], [2, 3], [1]] # - # source://tsort//lib/tsort.rb#257 + # pkg:gem/tsort#lib/tsort.rb:257 def strongly_connected_components; end # Returns a topologically sorted array of nodes. @@ -225,7 +225,7 @@ module TSort # graph = G.new({1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}) # p graph.tsort # raises TSort::Cyclic # - # source://tsort//lib/tsort.rb#152 + # pkg:gem/tsort#lib/tsort.rb:152 def tsort; end # The iterator version of the #tsort method. @@ -251,7 +251,7 @@ module TSort # # 3 # # 1 # - # source://tsort//lib/tsort.rb#205 + # pkg:gem/tsort#lib/tsort.rb:205 def tsort_each(&block); end # Should be implemented by a extended class. @@ -260,7 +260,7 @@ module TSort # # @raise [NotImplementedError] # - # source://tsort//lib/tsort.rb#452 + # pkg:gem/tsort#lib/tsort.rb:452 def tsort_each_child(node); end # Should be implemented by a extended class. @@ -269,7 +269,7 @@ module TSort # # @raise [NotImplementedError] # - # source://tsort//lib/tsort.rb#444 + # pkg:gem/tsort#lib/tsort.rb:444 def tsort_each_node; end class << self @@ -296,7 +296,7 @@ module TSort # # [2, 3] # # [1] # - # source://tsort//lib/tsort.rb#345 + # pkg:gem/tsort#lib/tsort.rb:345 def each_strongly_connected_component(each_node, each_child); end # Iterates over strongly connected components in a graph. @@ -320,7 +320,7 @@ module TSort # # [2, 3] # # [1] # - # source://tsort//lib/tsort.rb#411 + # pkg:gem/tsort#lib/tsort.rb:411 def each_strongly_connected_component_from(node, each_child, id_map = T.unsafe(nil), stack = T.unsafe(nil)); end # Returns strongly connected components as an array of arrays of nodes. @@ -343,7 +343,7 @@ module TSort # p TSort.strongly_connected_components(each_node, each_child) # #=> [[4], [2, 3], [1]] # - # source://tsort//lib/tsort.rb#283 + # pkg:gem/tsort#lib/tsort.rb:283 def strongly_connected_components(each_node, each_child); end # Returns a topologically sorted array of nodes. @@ -366,7 +366,7 @@ module TSort # each_child = lambda {|n, &b| g[n].each(&b) } # p TSort.tsort(each_node, each_child) # raises TSort::Cyclic # - # source://tsort//lib/tsort.rb#178 + # pkg:gem/tsort#lib/tsort.rb:178 def tsort(each_node, each_child); end # The iterator version of the TSort.tsort method. @@ -384,10 +384,10 @@ module TSort # # 3 # # 1 # - # source://tsort//lib/tsort.rb#226 + # pkg:gem/tsort#lib/tsort.rb:226 def tsort_each(each_node, each_child); end end end -# source://tsort//lib/tsort.rb#126 +# pkg:gem/tsort#lib/tsort.rb:126 TSort::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 57e669e51..e2d1692df 100644 --- a/sorbet/rbi/gems/tzinfo@2.0.6.rbi +++ b/sorbet/rbi/gems/tzinfo@2.0.6.rbi @@ -7,7 +7,7 @@ # The top level module for TZInfo. # -# source://tzinfo//lib/tzinfo.rb#5 +# pkg:gem/tzinfo#lib/tzinfo.rb:5 module TZInfo class << self # Instructs the current {DataSource} to load all timezone and country data @@ -18,7 +18,7 @@ module TZInfo # performance and to avoid flushing the constant cache every time a new # timezone or country is loaded from {DataSources::RubyDataSource}. # - # source://tzinfo//lib/tzinfo.rb#14 + # pkg:gem/tzinfo#lib/tzinfo.rb:14 def eager_load!; end end end @@ -33,7 +33,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#129 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:129 class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # Initializes a new {AbsoluteDayOfYearTransitionRule}. # @@ -46,7 +46,7 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul # @raise [ArgumentError] if `day` is less than 0 or greater than 365. # @return [AbsoluteDayOfYearTransitionRule] a new instance of AbsoluteDayOfYearTransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#130 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:130 def initialize(day, transition_at = T.unsafe(nil)); end # Determines if this {AbsoluteDayOfYearTransitionRule} is equal to another @@ -57,7 +57,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 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:153 def ==(r); end # Determines if this {AbsoluteDayOfYearTransitionRule} is equal to another @@ -68,18 +68,18 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul # with the same {transition_at} and day as this # {AbsoluteDayOfYearTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#156 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:156 def eql?(r); end # @return [Boolean] `true` if the day specified by this transition is the # first in the year (a day number of 0), otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#137 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:137 def is_always_first_day_of_year?; end # @return [Boolean] `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#142 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:142 def is_always_last_day_of_year?; end protected @@ -93,13 +93,13 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul # @return [Time] midnight local time on the day specified by the rule for # the given offset and year. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#168 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:168 def get_day(offset, year); end # @return [Array] an `Array` of parameters that will influence the output of # {hash}. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#173 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:173 def hash_args; end end @@ -113,7 +113,7 @@ end # and {Timezone#period_for_local} when using an ambiguous time and not # specifying how to resolve the ambiguity. # -# source://tzinfo//lib/tzinfo/timezone.rb#16 +# pkg:gem/tzinfo#lib/tzinfo/timezone.rb:16 class TZInfo::AmbiguousTime < ::StandardError; end # A set of rules that define when transitions occur in time zones with @@ -121,7 +121,7 @@ class TZInfo::AmbiguousTime < ::StandardError; end # # @private # -# source://tzinfo//lib/tzinfo/annual_rules.rb#9 +# pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:9 class TZInfo::AnnualRules # Initializes a new {AnnualRules} instance. # @@ -135,31 +135,31 @@ class TZInfo::AnnualRules # daylight savings time is not in force. # @return [AnnualRules] a new instance of AnnualRules # - # source://tzinfo//lib/tzinfo/annual_rules.rb#36 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:36 def initialize(std_offset, dst_offset, dst_start_rule, dst_end_rule); end # @return [TransitionRule] the rule that determines when daylight savings # time ends. # - # source://tzinfo//lib/tzinfo/annual_rules.rb#24 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:24 def dst_end_rule; end # @return [TimezoneOffset] the offset that applies when daylight savings # time is in force. # - # source://tzinfo//lib/tzinfo/annual_rules.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:16 def dst_offset; end # @return [TransitionRule] the rule that determines when daylight savings # time starts. # - # source://tzinfo//lib/tzinfo/annual_rules.rb#20 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:20 def dst_start_rule; end # @return [TimezoneOffset] the standard offset that applies when daylight # savings time is not in force. # - # source://tzinfo//lib/tzinfo/annual_rules.rb#12 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:12 def std_offset; end # Returns the transitions between standard and daylight savings time for a @@ -169,7 +169,7 @@ class TZInfo::AnnualRules # @param year [Integer] the year to calculate transitions for. # @return [Array] the transitions for the year. # - # source://tzinfo//lib/tzinfo/annual_rules.rb#49 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:49 def transitions(year); end private @@ -182,7 +182,7 @@ class TZInfo::AnnualRules # @param year [Integer] the year when the transition occurs. # @return [TimezoneTransition] the transition determined by the rule. # - # source://tzinfo//lib/tzinfo/annual_rules.rb#65 + # pkg:gem/tzinfo#lib/tzinfo/annual_rules.rb:65 def apply_rule(rule, from_offset, to_offset, year); end end @@ -190,11 +190,11 @@ end # # @private # -# source://tzinfo//lib/tzinfo/string_deduper.rb#50 +# pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:50 class TZInfo::ConcurrentStringDeduper < ::TZInfo::StringDeduper protected - # source://tzinfo//lib/tzinfo/string_deduper.rb#53 + # pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:53 def create_hash(&block); end end @@ -215,7 +215,7 @@ end # needs. It is not intended to take or endorse any position on legal or # territorial claims. # -# source://tzinfo//lib/tzinfo/country.rb#26 +# pkg:gem/tzinfo#lib/tzinfo/country.rb:26 class TZInfo::Country include ::Comparable @@ -229,7 +229,7 @@ class TZInfo::Country # instance upon. # @return [Country] a new instance of Country # - # source://tzinfo//lib/tzinfo/country.rb#72 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:72 def initialize(info); end # Compares this {Country} with another based on their {code}. @@ -239,7 +239,7 @@ class TZInfo::Country # `self` and +1 if `c` is greater than `self`, or `nil` if `c` is not an # instance of {Country}. # - # source://tzinfo//lib/tzinfo/country.rb#162 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:162 def <=>(c); end # Matches `regexp` against the {code} of this {Country}. @@ -249,7 +249,7 @@ class TZInfo::Country # @return [Integer] the position the match starts, or `nil` if there is no # match. # - # source://tzinfo//lib/tzinfo/country.rb#185 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:185 def =~(regexp); end # Returns a serialized representation of this {Country}. This method is @@ -258,41 +258,41 @@ class TZInfo::Country # @param limit [Integer] the maximum depth to dump - ignored. # @return [String] a serialized representation of this {Country}. # - # source://tzinfo//lib/tzinfo/country.rb#194 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:194 def _dump(limit); end # @return [String] the ISO 3166-1 alpha-2 country code. # - # source://tzinfo//lib/tzinfo/country.rb#77 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:77 def code; end # @param c [Object] an `Object` to compare this {Country} with. # @return [Boolean] `true` if `c` is an instance of {Country} and has the # same code as `self`, otherwise `false`. # - # source://tzinfo//lib/tzinfo/country.rb#170 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:170 def eql?(c); end # @return [Integer] a hash based on the {code}. # - # source://tzinfo//lib/tzinfo/country.rb#175 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:175 def hash; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/country.rb#94 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:94 def inspect; end # @return [String] the name of the country. # - # source://tzinfo//lib/tzinfo/country.rb#82 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:82 def name; end # @return [String] a `String` representation of this {Country} (the name of # the country). # - # source://tzinfo//lib/tzinfo/country.rb#88 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:88 def to_s; end # Returns an `Array` containing the identifier for each time zone observed @@ -309,7 +309,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 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:111 def zone_identifiers; end # Returns a frozen `Array` containing a {CountryTimezone} instance for each @@ -329,7 +329,7 @@ class TZInfo::Country # @return [Array] a frozen `Array` containing a # {CountryTimezone} instance for each time zone observed by the country. # - # source://tzinfo//lib/tzinfo/country.rb#152 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:152 def zone_info; end # Returns an `Array` containing the identifier for each time zone observed @@ -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#114 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:114 def zone_names; end # Returns An `Array` containing a {Timezone} instance for each time zone @@ -366,7 +366,7 @@ class TZInfo::Country # @return [Array] an `Array` containing a {Timezone} instance for # each time zone observed by the country. # - # source://tzinfo//lib/tzinfo/country.rb#132 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:132 def zones; end class << self @@ -377,19 +377,19 @@ class TZInfo::Country # @param data [String] a serialized representation of a {Country}. # @return [Country] the result of converting `data` back into a {Country}. # - # source://tzinfo//lib/tzinfo/country.rb#204 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:204 def _load(data); end # @return [Array] an `Array` containing one {Country} instance # for each defined country. # - # source://tzinfo//lib/tzinfo/country.rb#52 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:52 def all; end # @return [Array] an `Array` containing all the valid ISO 3166-1 # alpha-2 country codes. # - # source://tzinfo//lib/tzinfo/country.rb#46 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:46 def all_codes; end # Gets a {Country} by its ISO 3166-1 alpha-2 code. @@ -403,14 +403,14 @@ class TZInfo::Country # @return [Country] a {Country} instance representing the ISO-3166-1 # country identified by the `code` parameter. # - # source://tzinfo//lib/tzinfo/country.rb#40 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:40 def get(code); end private # @return [DataSource] the current DataSource. # - # source://tzinfo//lib/tzinfo/country.rb#59 + # pkg:gem/tzinfo#lib/tzinfo/country.rb:59 def data_source; end end end @@ -419,12 +419,12 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#62 +# pkg:gem/tzinfo#lib/tzinfo/format1/country_index_definition.rb:62 TZInfo::CountryIndexDefinition = TZInfo::Format1::CountryIndexDefinition # Information about a time zone used by a {Country}. # -# source://tzinfo//lib/tzinfo/country_timezone.rb#5 +# pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:5 class TZInfo::CountryTimezone # Creates a new {CountryTimezone}. # @@ -439,7 +439,7 @@ class TZInfo::CountryTimezone # @param longitude [Rational] the longitude of the time zone. # @return [CountryTimezone] a new instance of CountryTimezone # - # source://tzinfo//lib/tzinfo/country_timezone.rb#44 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:44 def initialize(identifier, latitude, longitude, description = T.unsafe(nil)); end # Tests if the given object is equal to the current instance (has the same @@ -448,7 +448,7 @@ class TZInfo::CountryTimezone # @param ct [Object] the object to be compared. # @return [TrueClass] `true` if `ct` is equal to the current instance. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#72 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:72 def ==(ct); end # A description of this time zone in relation to the country, e.g. "Eastern @@ -456,13 +456,13 @@ class TZInfo::CountryTimezone # # @return [String] an optional description of the time zone. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#31 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:31 def description; end # @return [String] the {description} if present, otherwise a human-readable # representation of the identifier (using {Timezone#friendly_identifier}). # - # source://tzinfo//lib/tzinfo/country_timezone.rb#63 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:63 def description_or_friendly_identifier; end # Tests if the given object is equal to the current instance (has the same @@ -471,19 +471,19 @@ class TZInfo::CountryTimezone # @param ct [Object] the object to be compared. # @return [Boolean] `true` if `ct` is equal to the current instance. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#83 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:83 def eql?(ct); end # {longitude} and {description}. # # @return [Integer] a hash based on the {identifier}, {latitude}, # - # source://tzinfo//lib/tzinfo/country_timezone.rb#89 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:89 def hash; end # @return [String] the identifier of the {Timezone} being described. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#7 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:7 def identifier; end # The latitude of this time zone in degrees. Positive numbers are degrees @@ -494,7 +494,7 @@ class TZInfo::CountryTimezone # # @return [Rational] the latitude in degrees. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:16 def latitude; end # The longitude of this time zone in degrees. Positive numbers are degrees @@ -505,7 +505,7 @@ class TZInfo::CountryTimezone # # @return [Rational] the longitude in degrees. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#25 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:25 def longitude; end # Returns the associated {Timezone}. @@ -515,7 +515,7 @@ class TZInfo::CountryTimezone # # @return [Timezone] the associated {Timezone}. # - # source://tzinfo//lib/tzinfo/country_timezone.rb#57 + # pkg:gem/tzinfo#lib/tzinfo/country_timezone.rb:57 def timezone; end end @@ -530,14 +530,14 @@ end # {linked_timezone_identifiers}, {load_country_info} and {country_codes} # methods. # -# source://tzinfo//lib/tzinfo/data_source.rb#29 +# pkg:gem/tzinfo#lib/tzinfo/data_source.rb:29 class TZInfo::DataSource # Initializes a new {DataSource} instance. Typically only called via # subclasses of {DataSource}. # # @return [DataSource] a new instance of DataSource # - # source://tzinfo//lib/tzinfo/data_source.rb#166 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:166 def initialize; end # Returns a frozen `Array` of all the available ISO 3166-1 alpha-2 country @@ -546,7 +546,7 @@ class TZInfo::DataSource # @return [Array] a frozen `Array` of all the available ISO 3166-1 # alpha-2 country codes. # - # source://tzinfo//lib/tzinfo/data_source.rb#246 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:246 def country_codes; end # Returns a frozen `Array` of all the available time zone identifiers for @@ -556,7 +556,7 @@ class TZInfo::DataSource # @return [Array] a frozen `Array` of all the available time zone # identifiers for data time zones. # - # source://tzinfo//lib/tzinfo/data_source.rb#218 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:218 def data_timezone_identifiers; end # Loads all timezone and country data into memory. @@ -565,7 +565,7 @@ class TZInfo::DataSource # performance and to avoid flushing the constant cache every time a new # timezone or country is loaded from {DataSources::RubyDataSource}. # - # source://tzinfo//lib/tzinfo/data_source.rb#255 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:255 def eager_load!; end # @param code [String] an ISO 3166-1 alpha-2 country code. @@ -574,7 +574,7 @@ class TZInfo::DataSource # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance # for the given ISO 3166-1 alpha-2 country code. # - # source://tzinfo//lib/tzinfo/data_source.rb#237 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:237 def get_country_info(code); end # Returns a {DataSources::TimezoneInfo} instance for the given identifier. @@ -592,13 +592,13 @@ class TZInfo::DataSource # @return [DataSources::TimezoneInfo] a {DataSources::TimezoneInfo} instance # for a given identifier. # - # source://tzinfo//lib/tzinfo/data_source.rb#184 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:184 def get_timezone_info(identifier); end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/data_source.rb#268 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:268 def inspect; end # Returns a frozen `Array` of all the available time zone identifiers that @@ -608,18 +608,18 @@ class TZInfo::DataSource # @return [Array] a frozen `Array` of all the available time zone # identifiers that are links to other time zones. # - # source://tzinfo//lib/tzinfo/data_source.rb#228 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:228 def linked_timezone_identifiers; end # @return [Array] a frozen `Array`` of all the available time zone # identifiers. The identifiers are sorted according to `String#<=>`. # - # source://tzinfo//lib/tzinfo/data_source.rb#204 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:204 def timezone_identifiers; end # @return [String] a description of the {DataSource}. # - # source://tzinfo//lib/tzinfo/data_source.rb#262 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:262 def to_s; end protected @@ -630,7 +630,7 @@ class TZInfo::DataSource # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance # for the given ISO 3166-1 alpha-2 country code. # - # source://tzinfo//lib/tzinfo/data_source.rb#294 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:294 def load_country_info(code); end # Returns a {DataSources::TimezoneInfo} instance for the given time zone @@ -645,7 +645,7 @@ class TZInfo::DataSource # @return [DataSources::TimezoneInfo] a {DataSources::TimezoneInfo} instance # for the given time zone identifier. # - # source://tzinfo//lib/tzinfo/data_source.rb#285 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:285 def load_timezone_info(identifier); end # Looks up a given code in the given hash of code to @@ -662,13 +662,13 @@ class TZInfo::DataSource # @return [DataSources::CountryInfo] the {DataSources::CountryInfo} instance # corresponding to `code`. # - # source://tzinfo//lib/tzinfo/data_source.rb#337 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:337 def lookup_country_info(hash, code, encoding = T.unsafe(nil)); end # @return [Encoding] the `Encoding` used by the `String` instances returned # by {data_timezone_identifiers} and {linked_timezone_identifiers}. # - # source://tzinfo//lib/tzinfo/data_source.rb#300 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:300 def timezone_identifier_encoding; end # Checks that the given identifier is a valid time zone identifier (can be @@ -683,7 +683,7 @@ class TZInfo::DataSource # @return [String] the `String` instance equivalent to `identifier` from # {timezone_identifiers}. # - # source://tzinfo//lib/tzinfo/data_source.rb#315 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:315 def validate_timezone_identifier(identifier); end private @@ -699,7 +699,7 @@ class TZInfo::DataSource # @return [Array] an `Array` containing all valid time zone # identifiers. # - # source://tzinfo//lib/tzinfo/data_source.rb#366 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:366 def build_timezone_identifiers; end # If the given `identifier` is contained within the {timezone_identifiers} @@ -712,7 +712,7 @@ class TZInfo::DataSource # @return [String] the `String` instance representing `identifier` from # {timezone_identifiers} if found, or `nil` if not found. # - # source://tzinfo//lib/tzinfo/data_source.rb#382 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:382 def find_timezone_identifier(identifier); end # Raises {InvalidDataSource} to indicate that a method has not been @@ -720,7 +720,7 @@ class TZInfo::DataSource # # @raise [InvalidDataSource] always. # - # source://tzinfo//lib/tzinfo/data_source.rb#352 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:352 def raise_invalid_data_source(method_name); end # Tries an operation using `string` directly. If the operation fails, the @@ -739,13 +739,13 @@ class TZInfo::DataSource # @yieldreturn [Object] The result of the operation. Must be truthy if # successful. # - # source://tzinfo//lib/tzinfo/data_source.rb#436 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:436 def try_with_encoding(string, encoding); end class << self # @return [DataSource] the currently selected source of data. # - # source://tzinfo//lib/tzinfo/data_source.rb#42 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:42 def get; end # Sets the currently selected data source for time zone and country data. @@ -814,7 +814,7 @@ class TZInfo::DataSource # @raise [ArgumentError] if `data_source_or_type` is not `:ruby`, # `:zoneinfo` or an instance of {DataSource}. # - # source://tzinfo//lib/tzinfo/data_source.rb#127 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:127 def set(data_source_or_type, *args); end private @@ -824,7 +824,7 @@ class TZInfo::DataSource # # @return [DataSource] the newly created default {DataSource} instance. # - # source://tzinfo//lib/tzinfo/data_source.rb#145 + # pkg:gem/tzinfo#lib/tzinfo/data_source.rb:145 def create_default_data_source; end end end @@ -833,18 +833,18 @@ end # `'tzinfo/data'` cannot be found on the load path and no valid zoneinfo # directory can be found on the system). # -# source://tzinfo//lib/tzinfo/data_source.rb#16 +# pkg:gem/tzinfo#lib/tzinfo/data_source.rb:16 class TZInfo::DataSourceNotFound < ::StandardError; end # {DataSource} implementations and classes used by {DataSource} # implementations. # -# source://tzinfo//lib/tzinfo/data_sources.rb#6 +# pkg:gem/tzinfo#lib/tzinfo/data_sources.rb:6 module TZInfo::DataSources; end # Represents a data time zone defined by a constantly observed offset. # -# source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:7 class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSources::DataTimezoneInfo # Initializes a new {ConstantOffsetDataTimezoneInfo}. # @@ -856,26 +856,26 @@ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSource # @raise [ArgumentError] if `identifier` or `constant_offset` is `nil`. # @return [ConstantOffsetDataTimezoneInfo] a new instance of ConstantOffsetDataTimezoneInfo # - # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#19 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:19 def initialize(identifier, constant_offset); end # @return [TimezoneOffset] the offset that is constantly observed. # - # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#9 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:9 def constant_offset; end # @param timestamp [Timestamp] ignored. # @return [TimezonePeriod] an unbounded {TimezonePeriod} for the time # zone's constantly observed offset. # - # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#28 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:28 def period_for(timestamp); end # @param local_timestamp [Timestamp] ignored. # @return [Array] an `Array` containing a single unbounded # {TimezonePeriod} for the time zone's constantly observed offset. # - # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#35 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:35 def periods_for_local(local_timestamp); end # @param from_timestamp [Timestamp] ignored. @@ -883,7 +883,7 @@ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSource # @return [Array] an empty `Array`, since there are no transitions in time # zones that observe a constant offset. # - # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#43 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:43 def transitions_up_to(to_timestamp, from_timestamp = T.unsafe(nil)); end private @@ -891,14 +891,14 @@ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSource # @return [TimezonePeriod] an unbounded {TimezonePeriod} with the constant # offset of this timezone. # - # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#51 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:51 def constant_period; end end # Represents a country and references to its time zones as returned by a # {DataSource}. # -# source://tzinfo//lib/tzinfo/data_sources/country_info.rb#8 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/country_info.rb:8 class TZInfo::DataSources::CountryInfo # Initializes a new {CountryInfo}. The passed in `code`, `name` and # `zones` instances will be frozen. @@ -910,28 +910,28 @@ class TZInfo::DataSources::CountryInfo # @raise [ArgumentError] if `code`, `name` or `zones` is `nil`. # @return [CountryInfo] a new instance of CountryInfo # - # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#26 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/country_info.rb:26 def initialize(code, name, zones); end # @return [String] the ISO 3166-1 alpha-2 country code. # - # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#10 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/country_info.rb:10 def code; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#37 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/country_info.rb:37 def inspect; end # @return [String] the name of the country. # - # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#13 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/country_info.rb:13 def name; end # @return [Array] the time zones observed in the country. # - # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/country_info.rb:16 def zones; end end @@ -941,12 +941,12 @@ end # # @abstract Data sources return instances of {DataTimezoneInfo} subclasses. # -# source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/data_timezone_info.rb:11 class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInfo # @return [DataTimezone] a new {DataTimezone} instance for the time zone # represented by this {DataTimezoneInfo}. # - # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#76 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/data_timezone_info.rb:76 def create_timezone; end # @param timestamp [Timestamp] a {Timestamp} with a specified @@ -956,7 +956,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf # @return [TimezonePeriod] the {TimezonePeriod} observed at the time # specified by `timestamp`. # - # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#18 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/data_timezone_info.rb:18 def period_for(timestamp); end # Returns an `Array` containing the {TimezonePeriod TimezonePeriods} that @@ -972,7 +972,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf # {TimezonePeriod TimezonePeriods} that could be observed at the local # time specified by `local_timestamp`. # - # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#34 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/data_timezone_info.rb:34 def periods_for_local(local_timestamp); end # Returns an `Array` of {TimezoneTransition} instances representing the @@ -1008,7 +1008,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf # instances representing the times where the UTC offset of the time zone # changes. # - # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#70 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/data_timezone_info.rb:70 def transitions_up_to(to_timestamp, from_timestamp = T.unsafe(nil)); end private @@ -1020,7 +1020,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf # # @raise [NotImplementedError] # - # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#86 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/data_timezone_info.rb:86 def raise_not_implemented(method_name); end end @@ -1029,7 +1029,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#12 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:12 class TZInfo::DataSources::InvalidPosixTimeZone < ::StandardError; end # An {InvalidZoneinfoDirectory} exception is raised if {ZoneinfoDataSource} @@ -1038,19 +1038,19 @@ class TZInfo::DataSources::InvalidPosixTimeZone < ::StandardError; end # files, a country code index file named iso3166.tab and a time zone index # file named zone1970.tab or zone.tab. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:11 class TZInfo::DataSources::InvalidZoneinfoDirectory < ::StandardError; end # An {InvalidZoneinfoFile} exception is raised if an attempt is made to load # an invalid zoneinfo file. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#8 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:8 class TZInfo::DataSources::InvalidZoneinfoFile < ::StandardError; end # Represents a time zone that is defined as a link to or alias of another # zone. # -# source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/linked_timezone_info.rb:7 class TZInfo::DataSources::LinkedTimezoneInfo < ::TZInfo::DataSources::TimezoneInfo # Initializes a new {LinkedTimezoneInfo}. The passed in `identifier` and # `link_to_identifier` instances will be frozen. @@ -1063,20 +1063,20 @@ class TZInfo::DataSources::LinkedTimezoneInfo < ::TZInfo::DataSources::TimezoneI # @raise [ArgumentError] if `identifier` or `link_to_identifier` are # @return [LinkedTimezoneInfo] a new instance of LinkedTimezoneInfo # - # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#20 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/linked_timezone_info.rb:20 def initialize(identifier, link_to_identifier); end # @return [LinkedTimezone] a new {LinkedTimezone} instance for the time # zone represented by this {LinkedTimezoneInfo}. # - # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#28 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/linked_timezone_info.rb:28 def create_timezone; end # (that this zone links to or is an alias for). # # @return [String] the identifier of the time zone that provides the data # - # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#10 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/linked_timezone_info.rb:10 def link_to_identifier; end end @@ -1085,7 +1085,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#20 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:20 class TZInfo::DataSources::PosixTimeZoneParser # Initializes a new {PosixTimeZoneParser}. # @@ -1093,7 +1093,7 @@ class TZInfo::DataSources::PosixTimeZoneParser # to dedupe abbreviations. # @return [PosixTimeZoneParser] a new instance of PosixTimeZoneParser # - # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#25 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:25 def initialize(string_deduper); end # Parses a POSIX-style TZ string. @@ -1104,7 +1104,7 @@ class TZInfo::DataSources::PosixTimeZoneParser # @return [Object] either a {TimezoneOffset} for a constantly applied # offset or an {AnnualRules} instance representing the rules. # - # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#36 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:36 def parse(tz_string); end private @@ -1117,7 +1117,7 @@ class TZInfo::DataSources::PosixTimeZoneParser # @raise [InvalidPosixTimeZone] if the pattern does not match the input. # @return [String] the result of the scan. # - # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#169 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:169 def check_scan(s, pattern); end # Returns an offset in seconds from hh:mm:ss values. The value can be @@ -1131,7 +1131,7 @@ class TZInfo::DataSources::PosixTimeZoneParser # 59. # @return [Integer] the offset. # - # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#132 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:132 def get_offset_from_hms(h, m, s); end # Returns the seconds from midnight from hh:mm:ss values. Hours can exceed @@ -1146,7 +1146,7 @@ class TZInfo::DataSources::PosixTimeZoneParser # 59. # @return [Integer] the number of seconds after midnight. # - # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#153 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:153 def get_seconds_after_midnight_from_hms(h, m, s); end # Parses a rule. @@ -1156,7 +1156,7 @@ class TZInfo::DataSources::PosixTimeZoneParser # @raise [InvalidPosixTimeZone] if the rule is not valid. # @return [TransitionRule] the parsed rule. # - # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#92 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/posix_time_zone_parser.rb:92 def parse_rule(s, type); end end @@ -1169,7 +1169,7 @@ end # # TZInfo::DataSource.set(:ruby) # -# source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#20 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:20 class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # Initializes a new {RubyDataSource} instance. # @@ -1177,7 +1177,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # (i.e. `require 'tzinfo/data'` failed). # @return [RubyDataSource] a new instance of RubyDataSource # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#34 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:34 def initialize; end # Returns a frozen `Array` of all the available ISO 3166-1 alpha-2 country @@ -1186,7 +1186,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # @return [Array] a frozen `Array` of all the available ISO 3166-1 # alpha-2 country codes. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#28 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:28 def country_codes; end # Returns a frozen `Array` of all the available time zone identifiers for @@ -1196,13 +1196,13 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # @return [Array] a frozen `Array` of all the available time zone # identifiers for data time zones. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#22 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:22 def data_timezone_identifiers; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#72 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:72 def inspect; end # Returns a frozen `Array` of all the available time zone identifiers that @@ -1212,12 +1212,12 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # @return [Array] a frozen `Array` of all the available time zone # identifiers that are links to other time zones. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#25 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:25 def linked_timezone_identifiers; end # @return [String] a description of the {DataSource}. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#67 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:67 def to_s; end protected @@ -1228,7 +1228,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance # for the given ISO 3166-1 alpha-2 country code. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#104 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:104 def load_country_info(code); end # Returns a {TimezoneInfo} instance for the given time zone identifier. @@ -1242,7 +1242,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # @return [TimezoneInfo] a {TimezoneInfo} instance for the given time zone # identifier. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#88 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:88 def load_timezone_info(identifier); end private @@ -1251,7 +1251,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # # @param file [Array] a relative path to a file to be required. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#128 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:128 def require_data(*file); end # Requires a zone definition by its identifier (split on /). @@ -1259,20 +1259,20 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource # @param identifier [Array] the component parts of a time zone # identifier (split on /). This must have already been validated. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#114 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:114 def require_definition(identifier); end # Requires an index by its name. # # @param name [String] an index name. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#121 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:121 def require_index(name); end # @return [String] a `String` containing TZInfo::Data version infomation # for inclusion in the #to_s and #inspect output. # - # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#134 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:134 def version_info; end end @@ -1280,14 +1280,14 @@ end # not be found (i.e. `require 'tzinfo/data'` failed) when selecting the Ruby # data source. # -# source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#9 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/ruby_data_source.rb:9 class TZInfo::DataSources::TZInfoDataNotFound < ::StandardError; end # Represents a time zone defined by a data source. # # @abstract Data sources return instances of {TimezoneInfo} subclasses. # -# source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#9 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/timezone_info.rb:9 class TZInfo::DataSources::TimezoneInfo # Initializes a new TimezoneInfo. The passed in `identifier` instance will # be frozen. @@ -1296,24 +1296,24 @@ class TZInfo::DataSources::TimezoneInfo # @raise [ArgumentError] if `identifier` is `nil`. # @return [TimezoneInfo] a new instance of TimezoneInfo # - # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#18 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/timezone_info.rb:18 def initialize(identifier); end # @return [Timezone] a new {Timezone} instance for the time zone # represented by this {TimezoneInfo}. # - # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#31 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/timezone_info.rb:31 def create_timezone; end # @return [String] the identifier of the time zone. # - # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#11 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/timezone_info.rb:11 def identifier; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#25 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/timezone_info.rb:25 def inspect; end private @@ -1324,14 +1324,14 @@ class TZInfo::DataSources::TimezoneInfo # overridden. # @raise NotImplementedError always. # - # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#42 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/timezone_info.rb:42 def raise_not_implemented(method_name); end end # Represents a data time zone defined by a list of transitions that change # the locally observed time. # -# source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#8 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:8 class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::DataTimezoneInfo # Initializes a new {TransitionsDataTimezoneInfo}. # @@ -1353,7 +1353,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources:: # @raise [ArgumentError] if `transitions` is an empty `Array`. # @return [TransitionsDataTimezoneInfo] a new instance of TransitionsDataTimezoneInfo # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#31 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:31 def initialize(identifier, transitions); end # @param timestamp [Timestamp] a {Timestamp} with a specified @@ -1363,7 +1363,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources:: # @return [TimezonePeriod] the {TimezonePeriod} observed at the time # specified by `timestamp`. # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#39 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:39 def period_for(timestamp); end # Returns an `Array` containing the {TimezonePeriod TimezonePeriods} that @@ -1379,13 +1379,13 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources:: # {TimezonePeriod TimezonePeriods} that could be observed at the local # time specified by `local_timestamp`. # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#70 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:70 def periods_for_local(local_timestamp); end # @return [Array] the transitions that define this # time zone in order of ascending timestamp. # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#11 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:11 def transitions; end # Returns an `Array` of {TimezoneTransition} instances representing the @@ -1421,7 +1421,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources:: # instances representing the times where the UTC offset of the time zone # changes. # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#111 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:111 def transitions_up_to(to_timestamp, from_timestamp = T.unsafe(nil)); end private @@ -1442,7 +1442,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources:: # transitions. In all other cases, the result of the block must be # `false`. # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#159 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:159 def find_minimum_transition(&block); end # Determines if a transition occurs at or after a given {Timestamp}, @@ -1453,7 +1453,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources:: # @return [Boolean] `true` if `transition` occurs at or after `timestamp`, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#207 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/transitions_data_timezone_info.rb:207 def transition_on_or_after_timestamp?(transition, timestamp); end end @@ -1504,7 +1504,7 @@ end # 2038-01-19 03:14:07. Any queries falling after this time may be # inaccurate. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#68 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:68 class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # Initializes a new {ZoneinfoDataSource}. # @@ -1539,7 +1539,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # by searching. # @return [ZoneinfoDataSource] a new instance of ZoneinfoDataSource # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#237 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:237 def initialize(zoneinfo_dir = T.unsafe(nil), alternate_iso3166_tab_path = T.unsafe(nil)); end # Returns a frozen `Array` of all the available ISO 3166-1 alpha-2 country @@ -1548,7 +1548,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] a frozen `Array` of all the available ISO 3166-1 # alpha-2 country codes. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#204 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:204 def country_codes; end # Returns a frozen `Array` of all the available time zone identifiers. The @@ -1557,13 +1557,13 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] a frozen `Array` of all the available time zone # identifiers. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#271 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:271 def data_timezone_identifiers; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#290 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:290 def inspect; end # Returns an empty `Array`. There is no information about linked/aliased @@ -1572,17 +1572,17 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # # @return [Array] an empty `Array`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#280 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:280 def linked_timezone_identifiers; end # @return [String] a description of the {DataSource}. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#285 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:285 def to_s; end # @return [String] the zoneinfo directory being used. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#201 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:201 def zoneinfo_dir; end protected @@ -1593,7 +1593,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance # for the given ISO 3166-1 alpha-2 country code. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#326 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:326 def load_country_info(code); end # Returns a {TimezoneInfo} instance for the given time zone identifier. @@ -1607,7 +1607,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [TimezoneInfo] a {TimezoneInfo} instance for the given time zone # identifier. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#306 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:306 def load_timezone_info(identifier); end private @@ -1621,7 +1621,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Rational] the result of converting from degrees, minutes and # seconds to a `Rational`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#579 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:579 def dms_to_rational(sign, degrees, minutes, seconds = T.unsafe(nil)); end # Recursively enumerate a directory of time zones. @@ -1635,7 +1635,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @yieldparam path [Array] the path of a time zone file as an # `Array` of path components. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#434 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:434 def enum_timezones(dir, exclude = T.unsafe(nil), &block); end # Finds a zoneinfo directory using {search_path} and @@ -1644,7 +1644,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] an `Array` containing the iso3166.tab and # zone.tab paths if a zoneinfo directory was found, otherwise `nil`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#389 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:389 def find_zoneinfo_dir; end # Uses the iso3166.tab and zone1970.tab or zone.tab files to return a Hash @@ -1655,7 +1655,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Hash] a mapping from ISO 3166-1 alpha-2 # country codes to {CountryInfo} instances. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#463 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:463 def load_countries(iso3166_tab_path, zone_tab_path); end # Scans @zoneinfo_dir and returns an `Array` of available time zone @@ -1664,7 +1664,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] an `Array` containing all the time zone # identifiers found. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#414 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:414 def load_timezone_identifiers; end # Attempts to resolve the path to a tab file given its standard names and @@ -1677,7 +1677,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @param zoneinfo_path [String] the path to a zoneinfo directory. # @return [String] the path to the tab file. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#372 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:372 def resolve_tab_path(zoneinfo_path, standard_names, tab_name); end # Validates a zoneinfo directory and returns the paths to the iso3166.tab @@ -1694,7 +1694,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] an `Array` containing the iso3166.tab and # zone.tab paths if the directory is valid, otherwise `nil`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#345 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:345 def validate_zoneinfo_dir(path, iso3166_tab_path = T.unsafe(nil)); end class << self @@ -1710,7 +1710,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] an `Array` of paths to check in order to # locate an iso3166.tab file. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#156 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:156 def alternate_iso3166_tab_search_path; end # Sets the paths to check to locate an alternate iso3166.tab file if one @@ -1727,7 +1727,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # list of paths to check as either an `Array` of `String` or a # `File::PATH_SEPARATOR` separated `String`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#173 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:173 def alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path); end # An `Array` of directories that will be checked to find the system @@ -1741,7 +1741,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # @return [Array] an `Array` of directories to check in order to # find the system zoneinfo directory. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#123 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:123 def search_path; end # Sets the directories to be checked when locating the system zoneinfo @@ -1759,7 +1759,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # check as either an `Array` of `String` or a `File::PATH_SEPARATOR` # separated `String`. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#141 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:141 def search_path=(search_path); end private @@ -1773,19 +1773,19 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource # `String`. # @return [Array] the processed path. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#187 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:187 def process_search_path(path, default); end end end # The default value of {ZoneinfoDataSource.alternate_iso3166_tab_search_path}. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#74 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:74 TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH = T.let(T.unsafe(nil), Array) # The default value of {ZoneinfoDataSource.search_path}. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#70 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:70 TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_SEARCH_PATH = T.let(T.unsafe(nil), Array) # Files and directories in the top level zoneinfo directory that will be @@ -1800,7 +1800,7 @@ TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_SEARCH_PATH = T.let(T.unsafe(ni # - src is a directory containing the tzdata source included on Solaris. # - timeconfig is a symlink included on Slackware. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#88 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:88 TZInfo::DataSources::ZoneinfoDataSource::EXCLUDED_FILENAMES = T.let(T.unsafe(nil), Array) # A {ZoneinfoDirectoryNotFound} exception is raised if no valid zoneinfo @@ -1809,12 +1809,12 @@ TZInfo::DataSources::ZoneinfoDataSource::EXCLUDED_FILENAMES = T.let(T.unsafe(nil # contains time zone files, a country code index file named iso3166.tab and # a time zone index file named zone1970.tab or zone.tab. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#19 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_data_source.rb:19 class TZInfo::DataSources::ZoneinfoDirectoryNotFound < ::StandardError; end # Reads compiled zoneinfo TZif (\0, 2 or 3) files. # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#12 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:12 class TZInfo::DataSources::ZoneinfoReader # Initializes a new {ZoneinfoReader}. # @@ -1824,7 +1824,7 @@ class TZInfo::DataSources::ZoneinfoReader # to dedupe abbreviations. # @return [ZoneinfoReader] a new instance of ZoneinfoReader # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#25 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:25 def initialize(posix_tz_parser, string_deduper); end # Reads a zoneinfo structure from the given path. Returns either a @@ -1839,7 +1839,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [Object] either a {TimezoneOffset} or an `Array` of # {TimezoneTransition}s. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#41 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:41 def read(file_path); end private @@ -1862,7 +1862,7 @@ class TZInfo::DataSources::ZoneinfoReader # generated transition does not match the offset of the last defined # transition. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#311 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:311 def apply_rules_with_transitions(file, transitions, offsets, rules); end # Apply the rules from the TZ string when there were no defined @@ -1880,7 +1880,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [Object] either a {TimezoneOffset} or an `Array` of # {TimezoneTransition}s. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#199 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:199 def apply_rules_without_transitions(file, first_offset, rules); end # Reads the given number of bytes from the given file and checks that the @@ -1892,7 +1892,7 @@ class TZInfo::DataSources::ZoneinfoReader # match the number requested. # @return [String] the bytes that were read. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#76 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:76 def check_read(file, bytes); end # Zoneinfo files don't include the offset from standard time (std_offset) @@ -1904,7 +1904,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [Integer] the index of the offset to be used prior to the first # transition. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#94 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:94 def derive_offsets(transitions, offsets); end # Finds an offset that is equivalent to the one specified in the given @@ -1915,7 +1915,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [TimezoneOffset] the matching offset from `offsets` or `nil` # if not found. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#233 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:233 def find_existing_offset(offsets, offset); end # Translates an unsigned 32-bit integer (as returned by unpack) to signed @@ -1924,7 +1924,7 @@ class TZInfo::DataSources::ZoneinfoReader # @param long [Integer] an unsigned 32-bit integer. # @return [Integer] {long} translated to signed 32-bit. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#52 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:52 def make_signed_int32(long); end # Translates a pair of unsigned 32-bit integers (as returned by unpack, @@ -1935,7 +1935,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [Integer] {high} and {low} combined and translated to signed # 64-bit. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#63 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:63 def make_signed_int64(high, low); end # Determines if the offset from a transition matches the offset from a @@ -1947,7 +1947,7 @@ class TZInfo::DataSources::ZoneinfoReader # @param rule_offset [TimezoneOffset] an offset from a rule. # @return [Boolean] whether the offsets match. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#179 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:179 def offset_matches_rule?(offset, rule_offset); end # Parses a zoneinfo file and returns either a {TimezoneOffset} that is @@ -1958,7 +1958,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [Object] either a {TimezoneOffset} or an `Array` of # {TimezoneTransition}s. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#343 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:343 def parse(file); end # Returns a new AnnualRules instance with standard and daylight savings @@ -1975,7 +1975,7 @@ class TZInfo::DataSources::ZoneinfoReader # either {AnnualRules#std_offset std_offset} or {AnnualRules#dst_offset # dst_offset} could be found. # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#250 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:250 def replace_with_existing_offsets(offsets, annual_rules); end # Validates the offset indicated to be observed by the rules before the @@ -1996,7 +1996,7 @@ class TZInfo::DataSources::ZoneinfoReader # @return [TimezoneTransition] the last defined transition (either the # original instance or a replacement). # - # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#278 + # pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:278 def validate_and_fix_last_defined_transition_offset(file, last_defined, first_rule_offset); end end @@ -2004,13 +2004,13 @@ end # # @private # -# source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#16 +# pkg:gem/tzinfo#lib/tzinfo/data_sources/zoneinfo_reader.rb:16 TZInfo::DataSources::ZoneinfoReader::GENERATE_UP_TO = T.let(T.unsafe(nil), Integer) # Represents time zones that are defined by rules that set out when # transitions occur. # -# source://tzinfo//lib/tzinfo/data_timezone.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/data_timezone.rb:7 class TZInfo::DataTimezone < ::TZInfo::InfoTimezone # Returns the canonical {Timezone} instance for this {DataTimezone}. # @@ -2018,7 +2018,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone # # @return [Timezone] `self`. # - # source://tzinfo//lib/tzinfo/data_timezone.rb#40 + # pkg:gem/tzinfo#lib/tzinfo/data_timezone.rb:40 def canonical_zone; end # Returns the {TimezonePeriod} that is valid at a given time. @@ -2032,7 +2032,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone # offset. # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`. # - # source://tzinfo//lib/tzinfo/data_timezone.rb#9 + # pkg:gem/tzinfo#lib/tzinfo/data_timezone.rb:9 def period_for(time); end # Returns the set of {TimezonePeriod}s that are valid for the given @@ -2055,7 +2055,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone # @return [Array] the set of {TimezonePeriod}s that are # valid at `local_time`. # - # source://tzinfo//lib/tzinfo/data_timezone.rb#17 + # pkg:gem/tzinfo#lib/tzinfo/data_timezone.rb:17 def periods_for_local(local_time); end # Returns an `Array` of {TimezoneTransition} instances representing the @@ -2083,7 +2083,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone # `to` and, if specified, at or later than `from`. Transitions are ordered # by when they occur, from earliest to latest. # - # source://tzinfo//lib/tzinfo/data_timezone.rb#23 + # pkg:gem/tzinfo#lib/tzinfo/data_timezone.rb:23 def transitions_up_to(to, from = T.unsafe(nil)); end end @@ -2100,14 +2100,14 @@ end # results of arithmetic operations will always maintain the same offset from # UTC (`offset`). The associated {TimezoneOffset} will aways be cleared. # -# source://tzinfo//lib/tzinfo/datetime_with_offset.rb#19 +# pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:19 class TZInfo::DateTimeWithOffset < ::DateTime include ::TZInfo::WithOffset # An overridden version of `DateTime#downto` that clears the associated # {TimezoneOffset} of the returned or yielded instances. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#61 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:61 def downto(min); end # An overridden version of `DateTime#england` that preserves the associated @@ -2115,7 +2115,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime # # @return [DateTime] # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#75 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:75 def england; end # An overridden version of `DateTime#gregorian` that preserves the @@ -2123,7 +2123,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime # # @return [DateTime] # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#85 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:85 def gregorian; end # An overridden version of `DateTime#italy` that preserves the associated @@ -2131,7 +2131,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime # # @return [DateTime] # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#95 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:95 def italy; end # An overridden version of `DateTime#julian` that preserves the associated @@ -2139,7 +2139,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime # # @return [DateTime] # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#105 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:105 def julian; end # An overridden version of `DateTime#new_start` that preserves the @@ -2147,7 +2147,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime # # @return [DateTime] # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#115 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:115 def new_start(start = T.unsafe(nil)); end # Sets the associated {TimezoneOffset}. @@ -2159,19 +2159,19 @@ class TZInfo::DateTimeWithOffset < ::DateTime # equal `self.offset * 86400`. # @return [DateTimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#34 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:34 def set_timezone_offset(timezone_offset); end # An overridden version of `DateTime#step` that clears the associated # {TimezoneOffset} of the returned or yielded instances. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#121 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:121 def step(limit, step = T.unsafe(nil)); end # @return [TimezoneOffset] the {TimezoneOffset} associated with this # instance. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#24 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:24 def timezone_offset; end # An overridden version of `DateTime#to_time` that, if there is an @@ -2182,13 +2182,13 @@ class TZInfo::DateTimeWithOffset < ::DateTime # {TimeWithOffset} representation of this {DateTimeWithOffset}, otherwise # a `Time` representation. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#48 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:48 def to_time; end # An overridden version of `DateTime#upto` that clears the associated # {TimezoneOffset} of the returned or yielded instances. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#133 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:133 def upto(max); end protected @@ -2197,7 +2197,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime # # @return [DateTimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#148 + # pkg:gem/tzinfo#lib/tzinfo/datetime_with_offset.rb:148 def clear_timezone_offset; end end @@ -2206,7 +2206,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#339 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:339 class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # Initializes a new {DayOfMonthTransitionRule}. # @@ -2226,7 +2226,7 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # @raise [ArgumentError] if `week` is not an `Integer`. # @return [DayOfMonthTransitionRule] a new instance of DayOfMonthTransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#340 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:340 def initialize(month, week, day_of_week, transition_at = T.unsafe(nil)); end # Determines if this {DayOfMonthTransitionRule} is equal to another @@ -2237,7 +2237,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 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:353 def ==(r); end # Determines if this {DayOfMonthTransitionRule} is equal to another @@ -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#356 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:356 def eql?(r); end protected @@ -2262,19 +2262,19 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # @return [Time] midnight local time on the day specified by the rule for # the given offset and year. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#372 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:372 def get_day(offset, year); end # @return [Array] an `Array` of parameters that will influence the output of # {hash}. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#386 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:386 def hash_args; end # @return [Integer] the day the week starts on for a month starting on a # Sunday. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#362 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:362 def offset_start; end end @@ -2284,7 +2284,7 @@ end # @abstract # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#273 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:273 class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule # Initializes a new {DayOfWeekTransitionRule}. # @@ -2300,7 +2300,7 @@ class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule # @raise [ArgumentError] if `month` is less than 1 or greater than 12. # @return [DayOfWeekTransitionRule] a new instance of DayOfWeekTransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#274 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:274 def initialize(month, day_of_week, transition_at); end # Determines if this {DayOfWeekTransitionRule} is equal to another @@ -2311,7 +2311,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 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:299 def ==(r); end # Determines if this {DayOfWeekTransitionRule} is equal to another @@ -2322,35 +2322,35 @@ 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#302 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:302 def eql?(r); end # @return [Boolean] `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#283 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:283 def is_always_first_day_of_year?; end # @return [Boolean] `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#288 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:288 def is_always_last_day_of_year?; end protected # @return [Integer] the day of the week (0 to 6 for Sunday to Monday). # - # source://tzinfo//lib/tzinfo/transition_rule.rb#310 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:310 def day_of_week; end # @return [Array] an `Array` of parameters that will influence the output of # {hash}. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#313 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:313 def hash_args; end # @return [Integer] the month of the year (1 to 12). # - # source://tzinfo//lib/tzinfo/transition_rule.rb#307 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:307 def month; end end @@ -2360,7 +2360,7 @@ end # @abstract # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#81 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:81 class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule # Initializes a new {DayOfYearTransitionRule}. # @@ -2372,7 +2372,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule # @raise [ArgumentError] if `day` is not an `Integer`. # @return [DayOfYearTransitionRule] a new instance of DayOfYearTransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#82 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:82 def initialize(day, transition_at); end # Determines if this {DayOfYearTransitionRule} is equal to another instance. @@ -2382,7 +2382,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule # same {transition_at} and day as this {DayOfYearTransitionRule}, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#94 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:94 def ==(r); end # Determines if this {DayOfYearTransitionRule} is equal to another instance. @@ -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#97 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:97 def eql?(r); end protected @@ -2400,12 +2400,12 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule # @return [Array] an `Array` of parameters that will influence the output of # {hash}. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#105 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:105 def hash_args; end # @return [Integer] the day multipled by the number of seconds in a day. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#102 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:102 def seconds; end end @@ -2413,7 +2413,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/format1.rb:7 module TZInfo::Format1; end # Instances of {Format1::CountryDefiner} are yielded to the format 1 version @@ -2422,13 +2422,13 @@ module TZInfo::Format1; end # # @private # -# source://tzinfo//lib/tzinfo/format1/country_definer.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/format1/country_definer.rb:11 class TZInfo::Format1::CountryDefiner < ::TZInfo::Format2::CountryDefiner # Initializes a new {CountryDefiner}. # # @return [CountryDefiner] a new instance of CountryDefiner # - # source://tzinfo//lib/tzinfo/format1/country_definer.rb#12 + # pkg:gem/tzinfo#lib/tzinfo/format1/country_definer.rb:12 def initialize(identifier_deduper, description_deduper); end end @@ -2439,7 +2439,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/format1/country_index_definition.rb:11 module TZInfo::Format1::CountryIndexDefinition mixes_in_class_methods ::TZInfo::Format1::CountryIndexDefinition::ClassMethods @@ -2449,7 +2449,7 @@ module TZInfo::Format1::CountryIndexDefinition # # @param base [Module] the includee. # - # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/format1/country_index_definition.rb:16 def append_features(base); end end end @@ -2458,13 +2458,13 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#25 +# pkg:gem/tzinfo#lib/tzinfo/format1/country_index_definition.rb:25 module TZInfo::Format1::CountryIndexDefinition::ClassMethods # @return [Hash] a frozen `Hash` # of all the countries that have been defined in the index keyed by # their codes. # - # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#29 + # pkg:gem/tzinfo#lib/tzinfo/format1/country_index_definition.rb:29 def countries; end private @@ -2476,7 +2476,7 @@ module TZInfo::Format1::CountryIndexDefinition::ClassMethods # @yield [definer] (optional) to obtain the time zones for the country. # @yieldparam definer [CountryDefiner] a {CountryDefiner} instance. # - # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#42 + # pkg:gem/tzinfo#lib/tzinfo/format1/country_index_definition.rb:42 def country(code, name); end end @@ -2486,7 +2486,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_definer.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definer.rb:11 class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner # Defines an offset. # @@ -2501,7 +2501,7 @@ class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner # @raise [ArgumentError] if another offset has already been defined with # the given id. # - # source://tzinfo//lib/tzinfo/format1/timezone_definer.rb#26 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definer.rb:26 def offset(id, utc_offset, std_offset, abbreviation); end # Defines a transition to a given offset. @@ -2533,7 +2533,7 @@ class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner # 4th parameter and the denominator as the 5th parameter. This style of # definition is not used in released versions of TZInfo::Data. # - # source://tzinfo//lib/tzinfo/format1/timezone_definer.rb#58 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definer.rb:58 def transition(year, month, offset_id, timestamp_value, datetime_numerator = T.unsafe(nil), datetime_denominator = T.unsafe(nil)); end end @@ -2542,7 +2542,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#9 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definition.rb:9 module TZInfo::Format1::TimezoneDefinition mixes_in_class_methods ::TZInfo::Format2::TimezoneDefinition::ClassMethods mixes_in_class_methods ::TZInfo::Format1::TimezoneDefinition::ClassMethods @@ -2552,7 +2552,7 @@ module TZInfo::Format1::TimezoneDefinition # # @param base [Module] the includee. # - # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#13 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definition.rb:13 def append_features(base); end end end @@ -2561,7 +2561,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#22 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definition.rb:22 module TZInfo::Format1::TimezoneDefinition::ClassMethods private @@ -2569,7 +2569,7 @@ module TZInfo::Format1::TimezoneDefinition::ClassMethods # # @return the class to be instantiated and yielded by # - # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#27 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definition.rb:27 def timezone_definer_class; end end @@ -2579,7 +2579,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#10 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:10 module TZInfo::Format1::TimezoneIndexDefinition mixes_in_class_methods ::TZInfo::Format1::TimezoneIndexDefinition::ClassMethods @@ -2589,7 +2589,7 @@ module TZInfo::Format1::TimezoneIndexDefinition # # @param base [Module] the includee. # - # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#15 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:15 def append_features(base); end end end @@ -2598,20 +2598,20 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#28 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:28 module TZInfo::Format1::TimezoneIndexDefinition::ClassMethods # @return [Array] a frozen `Array` containing the identifiers of # all data time zones. Identifiers are sorted according to # `String#<=>`. # - # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#32 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:32 def data_timezones; end # @return [Array] a frozen `Array` containing the identifiers of # all linked time zones. Identifiers are sorted according to # `String#<=>`. # - # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#42 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:42 def linked_timezones; end private @@ -2620,14 +2620,14 @@ module TZInfo::Format1::TimezoneIndexDefinition::ClassMethods # # @param identifier [String] the time zone identifier. # - # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#63 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:63 def linked_timezone(identifier); end # Adds a data time zone to the index. # # @param identifier [String] the time zone identifier. # - # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#54 + # pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:54 def timezone(identifier); end end @@ -2635,7 +2635,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/format2.rb:7 module TZInfo::Format2; end # Instances of {Format2::CountryDefiner} are yielded to the format 2 version @@ -2644,7 +2644,7 @@ module TZInfo::Format2; end # # @private # -# source://tzinfo//lib/tzinfo/format2/country_definer.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/format2/country_definer.rb:11 class TZInfo::Format2::CountryDefiner # Initializes a new {CountryDefiner}. # @@ -2657,18 +2657,18 @@ class TZInfo::Format2::CountryDefiner # unique reference. # @return [CountryDefiner] a new instance of CountryDefiner # - # source://tzinfo//lib/tzinfo/format2/country_definer.rb#24 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_definer.rb:24 def initialize(shared_timezones, identifier_deduper, description_deduper); end # @overload timezone # @overload timezone # - # source://tzinfo//lib/tzinfo/format2/country_definer.rb#46 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_definer.rb:46 def timezone(identifier_or_reference, latitude_numerator = T.unsafe(nil), latitude_denominator = T.unsafe(nil), longitude_numerator = T.unsafe(nil), longitude_denominator = T.unsafe(nil), description = T.unsafe(nil)); end # @return [Array] the time zones observed in the country. # - # source://tzinfo//lib/tzinfo/format2/country_definer.rb#13 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_definer.rb:13 def timezones; end end @@ -2678,7 +2678,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#10 +# pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definer.rb:10 class TZInfo::Format2::CountryIndexDefiner # Initializes a new {CountryIndexDefiner}. # @@ -2688,13 +2688,13 @@ class TZInfo::Format2::CountryIndexDefiner # use when deduping time zone identifiers. # @return [CountryIndexDefiner] a new instance of CountryIndexDefiner # - # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#21 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definer.rb:21 def initialize(identifier_deduper, description_deduper); end # @return [Hash] a `Hash` of all the countries that # have been defined in the index keyed by their codes. # - # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#13 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definer.rb:13 def countries; end # Defines a country. @@ -2706,7 +2706,7 @@ class TZInfo::Format2::CountryIndexDefiner # @yieldparam definer [CountryDefiner] a {CountryDefiner} # instance that should be used to specify the time zones of the country. # - # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#56 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definer.rb:56 def country(code, name); end # Defines a time zone shared by many countries with an reference for @@ -2721,7 +2721,7 @@ class TZInfo::Format2::CountryIndexDefiner # @param longitude_numerator [Integer] the numerator of the longitude. # @param reference [Symbol] a unique reference for the time zone. # - # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#39 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definer.rb:39 def timezone(reference, identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = T.unsafe(nil)); end end @@ -2732,7 +2732,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definition.rb:11 module TZInfo::Format2::CountryIndexDefinition mixes_in_class_methods ::TZInfo::Format2::CountryIndexDefinition::ClassMethods @@ -2742,7 +2742,7 @@ module TZInfo::Format2::CountryIndexDefinition # # @param base [Module] the includee. # - # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definition.rb:16 def append_features(base); end end end @@ -2751,13 +2751,13 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#25 +# pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definition.rb:25 module TZInfo::Format2::CountryIndexDefinition::ClassMethods # @return [Hash] a frozen `Hash` # of all the countries that have been defined in the index keyed by # their codes. # - # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#29 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definition.rb:29 def countries; end private @@ -2768,7 +2768,7 @@ module TZInfo::Format2::CountryIndexDefinition::ClassMethods # @yieldparam definer [CountryIndexDefiner] a {CountryIndexDefiner} # instance that should be used to define the index. # - # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#38 + # pkg:gem/tzinfo#lib/tzinfo/format2/country_index_definition.rb:38 def country_index; end end @@ -2778,7 +2778,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:11 class TZInfo::Format2::TimezoneDefiner # Initializes a new TimezoneDefiner. # @@ -2786,7 +2786,7 @@ class TZInfo::Format2::TimezoneDefiner # when deduping abbreviations. # @return [TimezoneDefiner] a new instance of TimezoneDefiner # - # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#20 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:20 def initialize(string_deduper); end # Returns the first offset to be defined or `nil` if no offsets have been @@ -2796,7 +2796,7 @@ class TZInfo::Format2::TimezoneDefiner # @return [TimezoneOffset] the first offset to be defined or `nil` if no # offsets have been defined. # - # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#32 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:32 def first_offset; end # Defines an offset. @@ -2812,7 +2812,7 @@ class TZInfo::Format2::TimezoneDefiner # @raise [ArgumentError] if another offset has already been defined with # the given id. # - # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#49 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:49 def offset(id, base_utc_offset, std_offset, abbreviation); end # Defines the rules that will be used for handling instants after the last @@ -2824,7 +2824,7 @@ class TZInfo::Format2::TimezoneDefiner # Support for subsequent rules will be added in a future version of TZInfo # and the rules will be included in format 2 releases of TZInfo::Data. # - # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#90 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:90 def subsequent_rules(*args); end # Defines a transition to a given offset. @@ -2841,13 +2841,13 @@ class TZInfo::Format2::TimezoneDefiner # @raise [ArgumentError] if `timestamp_value` is not greater than the # `timestamp_value` of the previously defined transition. # - # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#74 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:74 def transition(offset_id, timestamp_value); end # @return [Array] the defined transitions of the time # zone. # - # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#14 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definer.rb:14 def transitions; end end @@ -2856,7 +2856,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#9 +# pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:9 module TZInfo::Format2::TimezoneDefinition mixes_in_class_methods ::TZInfo::Format2::TimezoneDefinition::ClassMethods @@ -2865,7 +2865,7 @@ module TZInfo::Format2::TimezoneDefinition # # @param base [Module] the includee. # - # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#13 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:13 def append_features(base); end end end @@ -2874,11 +2874,11 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#21 +# pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:21 module TZInfo::Format2::TimezoneDefinition::ClassMethods # @return [TimezoneInfo] the last time zone to be defined. # - # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#23 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:23 def get; end private @@ -2890,7 +2890,7 @@ module TZInfo::Format2::TimezoneDefinition::ClassMethods # @param link_to_identifier [String] the identifier the new time zone # links to (is an alias for). # - # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#64 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:64 def linked_timezone(identifier, link_to_identifier); end # Defines a data time zone. @@ -2900,13 +2900,13 @@ module TZInfo::Format2::TimezoneDefinition::ClassMethods # @yieldparam definer [Object] an instance of the class returned by # {#timezone_definer_class}, typically {TimezoneDefiner}. # - # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#41 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:41 def timezone(identifier); end # @return [Class] the class to be instantiated and yielded by # {#timezone}. # - # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#31 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_definition.rb:31 def timezone_definer_class; end end @@ -2915,7 +2915,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#9 +# pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definer.rb:9 class TZInfo::Format2::TimezoneIndexDefiner # Initializes a new TimezoneDefiner. # @@ -2923,31 +2923,31 @@ class TZInfo::Format2::TimezoneIndexDefiner # when deduping identifiers. # @return [TimezoneIndexDefiner] a new instance of TimezoneIndexDefiner # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#20 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definer.rb:20 def initialize(string_deduper); end # Adds a data time zone to the index. # # @param identifier [String] the time zone identifier. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#29 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definer.rb:29 def data_timezone(identifier); end # @return [Array] the identifiers of all data time zones. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#11 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definer.rb:11 def data_timezones; end # Adds a linked time zone to the index. # # @param identifier [String] the time zone identifier. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#38 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definer.rb:38 def linked_timezone(identifier); end # @return [Array] the identifiers of all linked time zones. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#14 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definer.rb:14 def linked_timezones; end end @@ -2957,7 +2957,7 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#10 +# pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definition.rb:10 module TZInfo::Format2::TimezoneIndexDefinition mixes_in_class_methods ::TZInfo::Format2::TimezoneIndexDefinition::ClassMethods @@ -2967,7 +2967,7 @@ module TZInfo::Format2::TimezoneIndexDefinition # # @param base [Module] the includee. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#15 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definition.rb:15 def append_features(base); end end end @@ -2976,20 +2976,20 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#29 +# pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definition.rb:29 module TZInfo::Format2::TimezoneIndexDefinition::ClassMethods # @return [Array] a frozen `Array` containing the identifiers of # all data time zones. Identifiers are sorted according to # `String#<=>`. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#33 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definition.rb:33 def data_timezones; end # @return [Array] a frozen `Array` containing the identifiers of # all linked time zones. Identifiers are sorted according to # `String#<=>`. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#38 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definition.rb:38 def linked_timezones; end # Defines the index. @@ -2999,7 +2999,7 @@ module TZInfo::Format2::TimezoneIndexDefinition::ClassMethods # @yieldparam definer [TimezoneIndexDefiner] a {TimezoneIndexDefiner} # instance that should be used to define the index. # - # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#46 + # pkg:gem/tzinfo#lib/tzinfo/format2/timezone_index_definition.rb:46 def timezone_index; end end @@ -3007,7 +3007,7 @@ end # # @abstract # -# source://tzinfo//lib/tzinfo/info_timezone.rb#8 +# pkg:gem/tzinfo#lib/tzinfo/info_timezone.rb:8 class TZInfo::InfoTimezone < ::TZInfo::Timezone # Initializes a new {InfoTimezone}. # @@ -3019,13 +3019,13 @@ class TZInfo::InfoTimezone < ::TZInfo::Timezone # data for this {InfoTimezone}. # @return [InfoTimezone] a new instance of InfoTimezone # - # source://tzinfo//lib/tzinfo/info_timezone.rb#17 + # pkg:gem/tzinfo#lib/tzinfo/info_timezone.rb:17 def initialize(info); end # @return [String] the identifier of the time zone, for example, # `"Europe/Paris"`. # - # source://tzinfo//lib/tzinfo/info_timezone.rb#23 + # pkg:gem/tzinfo#lib/tzinfo/info_timezone.rb:23 def identifier; end protected @@ -3033,26 +3033,26 @@ class TZInfo::InfoTimezone < ::TZInfo::Timezone # @return [DataSources::TimezoneInfo] the {DataSources::TimezoneInfo} this # {InfoTimezone} is based on. # - # source://tzinfo//lib/tzinfo/info_timezone.rb#31 + # pkg:gem/tzinfo#lib/tzinfo/info_timezone.rb:31 def info; end end # {InvalidCountryCode} is raised by {Country#get} if the code given is not a # valid ISO 3166-1 alpha-2 code. # -# source://tzinfo//lib/tzinfo/country.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/country.rb:7 class TZInfo::InvalidCountryCode < ::StandardError; end # {InvalidDataSource} is raised if the selected {DataSource} doesn't implement # one of the required methods. # -# source://tzinfo//lib/tzinfo/data_source.rb#10 +# pkg:gem/tzinfo#lib/tzinfo/data_source.rb:10 class TZInfo::InvalidDataSource < ::StandardError; end # {InvalidTimezoneIdentifier} is raised by {Timezone.get} if the identifier # given is not valid. # -# source://tzinfo//lib/tzinfo/timezone.rb#26 +# pkg:gem/tzinfo#lib/tzinfo/timezone.rb:26 class TZInfo::InvalidTimezoneIdentifier < ::StandardError; end # Defines transitions that occur on the one-based nth Julian day of the year. @@ -3062,7 +3062,7 @@ class TZInfo::InvalidTimezoneIdentifier < ::StandardError; end # # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#185 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:185 class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # Initializes a new {JulianDayOfYearTransitionRule}. # @@ -3075,7 +3075,7 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # @raise [ArgumentError] if `day` is less than 1 or greater than 365. # @return [JulianDayOfYearTransitionRule] a new instance of JulianDayOfYearTransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#202 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:202 def initialize(day, transition_at = T.unsafe(nil)); end # Determines if this {JulianDayOfYearTransitionRule} is equal to another @@ -3086,7 +3086,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 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:226 def ==(r); end # Determines if this {JulianDayOfYearTransitionRule} is equal to another @@ -3097,19 +3097,19 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # the same {transition_at} and day as this # {JulianDayOfYearTransitionRule}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#229 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:229 def eql?(r); end # @return [Boolean] `true` if the day specified by this transition is the # first in the year (a day number of 1), otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#209 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:209 def is_always_first_day_of_year?; end # @return [Boolean] `true` if the day specified by this transition is the # last in the year (a day number of 365), otherwise `false`. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#215 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:215 def is_always_last_day_of_year?; end protected @@ -3123,24 +3123,24 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule # @return [Time] midnight local time on the day specified by the rule for # the given offset and year. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#241 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:241 def get_day(offset, year); end # @return [Array] an `Array` of parameters that will influence the output of # {hash}. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#250 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:250 def hash_args; end end # The 60 days in seconds. # -# source://tzinfo//lib/tzinfo/transition_rule.rb#186 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:186 TZInfo::JulianDayOfYearTransitionRule::LEAP = T.let(T.unsafe(nil), Integer) # The length of a non-leap year in seconds. # -# source://tzinfo//lib/tzinfo/transition_rule.rb#190 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:190 TZInfo::JulianDayOfYearTransitionRule::YEAR = T.let(T.unsafe(nil), Integer) # A rule that transitions on the last occurrence of a particular day of week @@ -3148,7 +3148,7 @@ TZInfo::JulianDayOfYearTransitionRule::YEAR = T.let(T.unsafe(nil), Integer) # # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#408 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:408 class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # Initializes a new {LastDayOfMonthTransitionRule}. # @@ -3164,7 +3164,7 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # @raise [ArgumentError] if `month` is less than 1 or greater than 12. # @return [LastDayOfMonthTransitionRule] a new instance of LastDayOfMonthTransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#409 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:409 def initialize(month, day_of_week, transition_at = T.unsafe(nil)); end # Determines if this {LastDayOfMonthTransitionRule} is equal to another @@ -3175,7 +3175,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 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:420 def ==(r); end # Determines if this {LastDayOfMonthTransitionRule} is equal to another @@ -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#423 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:423 def eql?(r); end protected @@ -3200,14 +3200,14 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule # @return [Time] midnight local time on the day specified by the rule for # the given offset and year. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#435 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:435 def get_day(offset, year); end end # Represents time zones that are defined as a link to or alias for another # time zone. # -# source://tzinfo//lib/tzinfo/linked_timezone.rb#6 +# pkg:gem/tzinfo#lib/tzinfo/linked_timezone.rb:6 class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone # Initializes a new {LinkedTimezone}. # @@ -3219,7 +3219,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone # that will be used as the source of data for this {LinkedTimezone}. # @return [LinkedTimezone] a new instance of LinkedTimezone # - # source://tzinfo//lib/tzinfo/linked_timezone.rb#15 + # pkg:gem/tzinfo#lib/tzinfo/linked_timezone.rb:15 def initialize(info); end # Returns the canonical {Timezone} instance for this {LinkedTimezone}. @@ -3228,7 +3228,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone # # @return [Timezone] the canonical {Timezone} instance for this {Timezone}. # - # source://tzinfo//lib/tzinfo/linked_timezone.rb#40 + # pkg:gem/tzinfo#lib/tzinfo/linked_timezone.rb:40 def canonical_zone; end # Returns the {TimezonePeriod} that is valid at a given time. @@ -3242,7 +3242,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone # offset. # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`. # - # source://tzinfo//lib/tzinfo/linked_timezone.rb#21 + # pkg:gem/tzinfo#lib/tzinfo/linked_timezone.rb:21 def period_for(time); end # Returns the set of {TimezonePeriod}s that are valid for the given @@ -3265,7 +3265,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone # @return [Array] the set of {TimezonePeriod}s that are # valid at `local_time`. # - # source://tzinfo//lib/tzinfo/linked_timezone.rb#26 + # pkg:gem/tzinfo#lib/tzinfo/linked_timezone.rb:26 def periods_for_local(local_time); end # Returns an `Array` of {TimezoneTransition} instances representing the @@ -3293,14 +3293,14 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone # `to` and, if specified, at or later than `from`. Transitions are ordered # by when they occur, from earliest to latest. # - # source://tzinfo//lib/tzinfo/linked_timezone.rb#31 + # pkg:gem/tzinfo#lib/tzinfo/linked_timezone.rb:31 def transitions_up_to(to, from = T.unsafe(nil)); end end # Represents the infinite period of time in a time zone that constantly # observes the same offset from UTC (has an unbounded start and end). # -# source://tzinfo//lib/tzinfo/offset_timezone_period.rb#6 +# pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:6 class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod # Initializes an {OffsetTimezonePeriod}. # @@ -3308,7 +3308,7 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod # @raise [ArgumentError] if `offset` is `nil`. # @return [OffsetTimezonePeriod] a new instance of OffsetTimezonePeriod # - # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#11 + # pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:11 def initialize(offset); end # Determines if this {OffsetTimezonePeriod} is equal to another instance. @@ -3317,13 +3317,13 @@ 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 + # pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:32 def ==(p); end # @return [TimezoneTransition] the transition that defines the end of this # {TimezonePeriod}, always `nil` for {OffsetTimezonePeriod}. # - # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#23 + # pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:23 def end_transition; end # Determines if this {OffsetTimezonePeriod} is equal to another instance. @@ -3332,35 +3332,35 @@ 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#35 + # pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:35 def eql?(p); end # @return [Integer] a hash based on {offset}. # - # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#38 + # pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:38 def hash; end # @return [TimezoneTransition] the transition that defines the start of this # {TimezonePeriod}, always `nil` for {OffsetTimezonePeriod}. # - # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#17 + # pkg:gem/tzinfo#lib/tzinfo/offset_timezone_period.rb:17 def start_transition; end end # {PeriodNotFound} is raised to indicate that no {TimezonePeriod} matching a # given time could be found. # -# source://tzinfo//lib/tzinfo/timezone.rb#21 +# pkg:gem/tzinfo#lib/tzinfo/timezone.rb:21 class TZInfo::PeriodNotFound < ::StandardError; end # Methods to support different versions of Ruby. # # @private # -# source://tzinfo//lib/tzinfo/ruby_core_support.rb#6 +# pkg:gem/tzinfo#lib/tzinfo/ruby_core_support.rb:6 module TZInfo::RubyCoreSupport class << self - # source://tzinfo//lib/tzinfo/ruby_core_support.rb#17 + # pkg:gem/tzinfo#lib/tzinfo/ruby_core_support.rb:17 def untaint(o); end end end @@ -3370,20 +3370,20 @@ end # # @private # -# source://tzinfo//lib/tzinfo/string_deduper.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:11 class TZInfo::StringDeduper # Initializes a new {StringDeduper}. # # @return [StringDeduper] a new instance of StringDeduper # - # source://tzinfo//lib/tzinfo/string_deduper.rb#20 + # pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:20 def initialize; end # @param string [String] the string to deduplicate. # @return [bool] `string` if it is frozen, otherwise a frozen, possibly # pre-existing copy of `string`. # - # source://tzinfo//lib/tzinfo/string_deduper.rb#30 + # pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:30 def dedupe(string); end protected @@ -3393,7 +3393,7 @@ class TZInfo::StringDeduper # @param block [Proc] Default value block to be passed to `Hash.new`. # @return [Hash] a `Hash` to store pooled `String` instances. # - # source://tzinfo//lib/tzinfo/string_deduper.rb#41 + # pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:41 def create_hash(&block); end class << self @@ -3401,7 +3401,7 @@ class TZInfo::StringDeduper # {StringDeduper}. This instance is safe for use in concurrently # executing threads. # - # source://tzinfo//lib/tzinfo/string_deduper.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:16 def global; end end end @@ -3418,7 +3418,7 @@ end # arithmetic operations will always maintain the same offset from UTC # (`utc_offset`). The associated {TimezoneOffset} will aways be cleared. # -# source://tzinfo//lib/tzinfo/time_with_offset.rb#16 +# pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:16 class TZInfo::TimeWithOffset < ::Time include ::TZInfo::WithOffset @@ -3429,7 +3429,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 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:43 def dst?; end # An overridden version of `Time#getlocal` that clears the associated @@ -3439,7 +3439,7 @@ class TZInfo::TimeWithOffset < ::Time # @return [Time] a representation of the {TimeWithOffset} using either the # local time zone or the given offset. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#55 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:55 def getlocal(*args); end # An overridden version of `Time#gmtime` that clears the associated @@ -3447,7 +3447,7 @@ class TZInfo::TimeWithOffset < ::Time # # @return [TimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#69 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:69 def gmtime; end # An overridden version of `Time#dst?` that, if there is an associated @@ -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#47 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:47 def isdst; end # An overridden version of `Time#localtime` that clears the associated @@ -3465,7 +3465,7 @@ class TZInfo::TimeWithOffset < ::Time # # @return [TimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#79 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:79 def localtime(*args); end # An overridden version of `Time#round` that, if there is an associated @@ -3473,7 +3473,7 @@ class TZInfo::TimeWithOffset < ::Time # # @return [Time] the rounded time. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#89 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:89 def round(ndigits = T.unsafe(nil)); end # Marks this {TimeWithOffset} as a local time with the UTC offset of a given @@ -3484,13 +3484,13 @@ class TZInfo::TimeWithOffset < ::Time # @raise [ArgumentError] if `timezone_offset` is `nil`. # @return [TimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#30 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:30 def set_timezone_offset(timezone_offset); end # @return [TimezoneOffset] the {TimezoneOffset} associated with this # instance. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#21 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:21 def timezone_offset; end # An overridden version of `Time#to_a`. The `isdst` (index 8) and `zone` @@ -3499,7 +3499,7 @@ class TZInfo::TimeWithOffset < ::Time # # @return [Array] an `Array` representation of the {TimeWithOffset}. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#98 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:98 def to_a; end # An overridden version of `Time#to_datetime` that, if there is an @@ -3510,7 +3510,7 @@ class TZInfo::TimeWithOffset < ::Time # {DateTimeWithOffset} representation of this {TimeWithOffset}, otherwise # a `Time` representation. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#135 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:135 def to_datetime; end # An overridden version of `Time#utc` that clears the associated @@ -3518,7 +3518,7 @@ class TZInfo::TimeWithOffset < ::Time # # @return [TimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#110 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:110 def utc; end # An overridden version of `Time#zone` that, if there is an associated @@ -3529,7 +3529,7 @@ class TZInfo::TimeWithOffset < ::Time # associated {TimezoneOffset}, or the result from `Time#zone` if there is # no such offset. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#123 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:123 def zone; end protected @@ -3538,7 +3538,7 @@ class TZInfo::TimeWithOffset < ::Time # # @return [TimeWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/time_with_offset.rb#149 + # pkg:gem/tzinfo#lib/tzinfo/time_with_offset.rb:149 def clear_timezone_offset; end end @@ -3549,7 +3549,7 @@ end # distinguish between a local time with a zero offset and a time specified # explicitly as UTC. # -# source://tzinfo//lib/tzinfo/timestamp.rb#11 +# pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:11 class TZInfo::Timestamp include ::Comparable @@ -3572,7 +3572,7 @@ class TZInfo::Timestamp # than 0 or greater than or equal to 1. # @return [Timestamp] a new instance of Timestamp # - # source://tzinfo//lib/tzinfo/timestamp.rb#344 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:344 def initialize(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end # Compares this {Timestamp} with another. @@ -3587,7 +3587,7 @@ class TZInfo::Timestamp # that does have a defined UTC offset. Returns `nil` if `t` is not a # {Timestamp}. # - # source://tzinfo//lib/tzinfo/timestamp.rb#454 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:454 def <=>(t); end # Adds a number of seconds to the {Timestamp} value, setting the UTC offset @@ -3604,22 +3604,22 @@ class TZInfo::Timestamp # {Timestamp} value as a new {Timestamp} instance with the chosen # `utc_offset`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#372 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:372 def add_and_set_utc_offset(seconds, utc_offset); end - # source://tzinfo//lib/tzinfo/timestamp.rb#464 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:464 def eql?(_arg0); end # @return [Integer] a hash based on the value, sub-second and whether there # is a defined UTC offset. # - # source://tzinfo//lib/tzinfo/timestamp.rb#468 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:468 def hash; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#474 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:474 def inspect; end # Formats this {Timestamp} according to the directives in the given format @@ -3630,14 +3630,14 @@ class TZInfo::Timestamp # @raise [ArgumentError] if `format` is not specified. # @return [String] the formatted {Timestamp}. # - # source://tzinfo//lib/tzinfo/timestamp.rb#426 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:426 def strftime(format); end # @return [Numeric] the fraction of a second elapsed since timestamp as # either a `Rational` or the `Integer` 0. Always greater than or equal to # 0 and less than 1. # - # source://tzinfo//lib/tzinfo/timestamp.rb#321 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:321 def sub_second; end # Converts this {Timestamp} to a Gregorian `DateTime`. @@ -3646,7 +3646,7 @@ class TZInfo::Timestamp # {Timestamp}. If the UTC offset of this {Timestamp} is not specified, a # UTC `DateTime` will be returned. # - # source://tzinfo//lib/tzinfo/timestamp.rb#406 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:406 def to_datetime; end # Converts this {Timestamp} to an `Integer` number of seconds since @@ -3655,12 +3655,12 @@ class TZInfo::Timestamp # @return [Integer] an `Integer` representation of this {Timestamp} (the # number of seconds since 1970-01-01 00:00:00 UTC ignoring leap seconds). # - # source://tzinfo//lib/tzinfo/timestamp.rb#415 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:415 def to_i; end # @return [String] a `String` representation of this {Timestamp}. # - # source://tzinfo//lib/tzinfo/timestamp.rb#432 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:432 def to_s; end # Converts this {Timestamp} to a `Time`. @@ -3669,33 +3669,33 @@ class TZInfo::Timestamp # offset of this {Timestamp} is not specified, a UTC `Time` will be # returned. # - # source://tzinfo//lib/tzinfo/timestamp.rb#391 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:391 def to_time; end # @return [Timestamp] a UTC {Timestamp} equivalent to this instance. Returns # `self` if {#utc? self.utc?} is `true`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#381 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:381 def utc; end # @return [Boolean] `true` if this {Timestamp} represents UTC, `false` if # the {Timestamp} wasn't specified as UTC or `nil` if the {Timestamp} has # no specified offset. # - # source://tzinfo//lib/tzinfo/timestamp.rb#355 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:355 def utc?; end # @return [Integer] the offset from UTC in seconds or `nil` if the # {Timestamp} doesn't have a specified offset. # - # source://tzinfo//lib/tzinfo/timestamp.rb#325 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:325 def utc_offset; end # @return [Integer] the number of seconds since 1970-01-01 00:00:00 UTC # ignoring leap seconds (i.e. each day is treated as if it were 86,400 # seconds long). # - # source://tzinfo//lib/tzinfo/timestamp.rb#316 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:316 def value; end protected @@ -3706,7 +3706,7 @@ class TZInfo::Timestamp # @param klass [Class] the class to instantiate. # @private # - # source://tzinfo//lib/tzinfo/timestamp.rb#496 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:496 def new_datetime(klass = T.unsafe(nil)); end # Creates a new instance of a `Time` or `Time`-like class matching the @@ -3715,7 +3715,7 @@ class TZInfo::Timestamp # @param klass [Class] the class to instantiate. # @private # - # source://tzinfo//lib/tzinfo/timestamp.rb#486 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:486 def new_time(klass = T.unsafe(nil)); end private @@ -3733,7 +3733,7 @@ class TZInfo::Timestamp # @param value [Integer] the number of seconds since 1970-01-01 00:00:00 UTC # ignoring leap seconds. # - # source://tzinfo//lib/tzinfo/timestamp.rb#538 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:538 def initialize!(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end # Converts the {sub_second} value to a `String` suitable for appending to @@ -3741,7 +3741,7 @@ class TZInfo::Timestamp # # @return [String] a `String` representation of {sub_second}. # - # source://tzinfo//lib/tzinfo/timestamp.rb#518 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:518 def sub_second_to_s; end # Converts the value and sub-seconds to a `String`, adding on the given @@ -3750,7 +3750,7 @@ class TZInfo::Timestamp # @param offset [Integer] the offset to add to the value. # @return [String] the value and sub-seconds. # - # source://tzinfo//lib/tzinfo/timestamp.rb#510 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:510 def value_and_sub_second_to_s(offset = T.unsafe(nil)); end class << self @@ -3790,7 +3790,7 @@ class TZInfo::Timestamp # @return [Timestamp] a new {Timestamp} representing the specified # (proleptic Gregorian calendar) date and time. # - # source://tzinfo//lib/tzinfo/timestamp.rb#55 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:55 def create(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end # When used without a block, returns a {Timestamp} representation of a @@ -3825,7 +3825,7 @@ class TZInfo::Timestamp # @yieldreturn [Timestamp] a {Timestamp} to be converted back to the type # of `value`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#112 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:112 def for(value, offset = T.unsafe(nil)); end # Creates a new UTC {Timestamp}. @@ -3841,7 +3841,7 @@ class TZInfo::Timestamp # @raise [RangeError] if `sub_second` is a `Rational` but that is less # than 0 or greater than or equal to 1. # - # source://tzinfo//lib/tzinfo/timestamp.rb#172 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:172 def utc(value, sub_second = T.unsafe(nil)); end private @@ -3856,7 +3856,7 @@ class TZInfo::Timestamp # offset of the result (`:utc`, `nil` or an `Integer`). # @return [Timestamp] the {Timestamp} representation of `datetime`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#231 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:231 def for_datetime(datetime, ignore_offset, target_utc_offset); end # Creates a {Timestamp} that represents a given `Time`, optionally @@ -3868,7 +3868,7 @@ class TZInfo::Timestamp # @param time [Time] a `Time`. # @return [Timestamp] the {Timestamp} representation of `time`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#206 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:206 def for_time(time, ignore_offset, target_utc_offset); end # Creates a {Timestamp} that represents a given `Time`-like object, @@ -3881,7 +3881,7 @@ class TZInfo::Timestamp # @param time_like [Object] a `Time`-like object. # @return [Timestamp] the {Timestamp} representation of `time_like`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#296 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:296 def for_time_like(time_like, ignore_offset, target_utc_offset); end # Returns a {Timestamp} that represents another {Timestamp}, optionally @@ -3896,7 +3896,7 @@ class TZInfo::Timestamp # @param timestamp [Timestamp] a {Timestamp}. # @return [Timestamp] a [Timestamp] representation of `timestamp`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#256 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:256 def for_timestamp(timestamp, ignore_offset, target_utc_offset); end # Determines if an object is like a `Time` (for the purposes of converting @@ -3906,7 +3906,7 @@ class TZInfo::Timestamp # @return [Boolean] `true` if the object is `Time`-like, otherwise # `false`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#283 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:283 def is_time_like?(value); end # Constructs a new instance of `self` (i.e. {Timestamp} or a subclass of @@ -3924,7 +3924,7 @@ class TZInfo::Timestamp # UTC ignoring leap seconds. # @return [Timestamp] a new instance of `self`. # - # source://tzinfo//lib/tzinfo/timestamp.rb#192 + # pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:192 def new!(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end end end @@ -3932,7 +3932,7 @@ end # The Unix epoch (1970-01-01 00:00:00 UTC) as a chronological Julian day # number. # -# source://tzinfo//lib/tzinfo/timestamp.rb#16 +# pkg:gem/tzinfo#lib/tzinfo/timestamp.rb:16 TZInfo::Timestamp::JD_EPOCH = T.let(T.unsafe(nil), Integer) # A subclass of {Timestamp} used to represent local times. @@ -3943,7 +3943,7 @@ TZInfo::Timestamp::JD_EPOCH = T.let(T.unsafe(nil), Integer) # the result). Once the {TimezoneOffset} has been cleared, # {TimestampWithOffset} behaves identically to {Timestamp}. # -# source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#12 +# pkg:gem/tzinfo#lib/tzinfo/timestamp_with_offset.rb:12 class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp include ::TZInfo::WithOffset @@ -3957,13 +3957,13 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp # `self.utc_offset`. # @return [TimestampWithOffset] `self`. # - # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#47 + # pkg:gem/tzinfo#lib/tzinfo/timestamp_with_offset.rb:47 def set_timezone_offset(timezone_offset); end # @return [TimezoneOffset] the {TimezoneOffset} associated with this # instance. # - # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#17 + # pkg:gem/tzinfo#lib/tzinfo/timestamp_with_offset.rb:17 def timezone_offset; end # An overridden version of {Timestamp#to_datetime}, if there is an @@ -3974,7 +3974,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp # {DateTimeWithOffset} representation of this {TimestampWithOffset}, # otherwise a `DateTime` representation. # - # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#76 + # pkg:gem/tzinfo#lib/tzinfo/timestamp_with_offset.rb:76 def to_datetime; end # An overridden version of {Timestamp#to_time} that, if there is an @@ -3984,7 +3984,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp # {TimeWithOffset} representation of this {TimestampWithOffset}, otherwise # a `Time` representation. # - # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#60 + # pkg:gem/tzinfo#lib/tzinfo/timestamp_with_offset.rb:60 def to_time; end class << self @@ -4003,7 +4003,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp # `timezone_offset` parameter and {timezone_offset timezone_offset} set to # the `timezone_offset` parameter. # - # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#32 + # pkg:gem/tzinfo#lib/tzinfo/timestamp_with_offset.rb:32 def set_timezone_offset(timestamp, timezone_offset); end end end @@ -4054,7 +4054,7 @@ end # {LinkedTimezone}. The {get_proxy} method and other methods returning # collections of time zones return instances of {TimezoneProxy}. # -# source://tzinfo//lib/tzinfo/timezone.rb#80 +# pkg:gem/tzinfo#lib/tzinfo/timezone.rb:80 class TZInfo::Timezone include ::Comparable @@ -4065,7 +4065,7 @@ class TZInfo::Timezone # `self` and +1 if `tz` is greater than `self`, or `nil` if `tz` is not an # instance of {Timezone}. # - # source://tzinfo//lib/tzinfo/timezone.rb#1105 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1105 def <=>(tz); end # Matches `regexp` against the {identifier} of this {Timezone}. @@ -4075,7 +4075,7 @@ class TZInfo::Timezone # @return [Integer] the position the match starts, or `nil` if there is no # match. # - # source://tzinfo//lib/tzinfo/timezone.rb#1128 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1128 def =~(regexp); end # Returns a serialized representation of this {Timezone}. This method is @@ -4084,7 +4084,7 @@ class TZInfo::Timezone # @param limit [Integer] the maximum depth to dump - ignored. # @return [String] a serialized representation of this {Timezone}. # - # source://tzinfo//lib/tzinfo/timezone.rb#1137 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1137 def _dump(limit); end # @param time [Object] a `Time`, `DateTime` or `Timestamp`. @@ -4093,7 +4093,7 @@ class TZInfo::Timezone # offset. # @return [String] the abbreviation of this {Timezone} at the given time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1051 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1051 def abbr(time = T.unsafe(nil)); end # @param time [Object] a `Time`, `DateTime` or `Timestamp`. @@ -4102,7 +4102,7 @@ class TZInfo::Timezone # offset. # @return [String] the abbreviation of this {Timezone} at the given time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1048 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1048 def abbreviation(time = T.unsafe(nil)); end # Returns the base offset from UTC in seconds at the given time. This does @@ -4124,7 +4124,7 @@ class TZInfo::Timezone # offset. # @return [Integer] the base offset from UTC in seconds at the given time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1081 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1081 def base_utc_offset(time = T.unsafe(nil)); end # Returns the canonical identifier of this time zone. @@ -4134,7 +4134,7 @@ class TZInfo::Timezone # # @return [String] the canonical identifier of this time zone. # - # source://tzinfo//lib/tzinfo/timezone.rb#987 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:987 def canonical_identifier; end # Returns the canonical {Timezone} instance for this {Timezone}. @@ -4176,12 +4176,12 @@ class TZInfo::Timezone # # @return [Timezone] the canonical {Timezone} instance for this {Timezone}. # - # source://tzinfo//lib/tzinfo/timezone.rb#412 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:412 def canonical_zone; end # @return [TimezonePeriod] the current {TimezonePeriod} for the time zone. # - # source://tzinfo//lib/tzinfo/timezone.rb#997 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:997 def current_period; end # Returns the current local time and {TimezonePeriod} for the time zone as @@ -4192,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#1018 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1018 def current_period_and_time; end # Returns the current local time and {TimezonePeriod} for the time zone as @@ -4203,7 +4203,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 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1008 def current_time_and_period; end # @param time [Object] a `Time`, `DateTime` or `Timestamp`. @@ -4213,14 +4213,14 @@ class TZInfo::Timezone # @return [Boolean] whether daylight savings time is in effect at the given # time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1059 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1059 def dst?(time = T.unsafe(nil)); end # @param tz [Object] an `Object` to compare this {Timezone} with. # @return [Boolean] `true` if `tz` is an instance of {Timezone} and has the # same {identifier} as `self`, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone.rb#1113 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1113 def eql?(tz); end # Returns {identifier}, modified to make it more readable. Set @@ -4238,24 +4238,24 @@ class TZInfo::Timezone # (typically a region name) should be omitted. # @return [String] the modified identifier. # - # source://tzinfo//lib/tzinfo/timezone.rb#277 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:277 def friendly_identifier(skip_first_part = T.unsafe(nil)); end # @return [Integer] a hash based on the {identifier}. # - # source://tzinfo//lib/tzinfo/timezone.rb#1118 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1118 def hash; end # @return [String] the identifier of the time zone, for example, # `"Europe/Paris"`. # - # source://tzinfo//lib/tzinfo/timezone.rb#241 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:241 def identifier; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/timezone.rb#259 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:259 def inspect; end # Creates a `DateTime` object based on the given (Gregorian calendar) date @@ -4344,7 +4344,7 @@ class TZInfo::Timezone # ambiguity unresolved: an empty `Array`, an `Array` containing more than # one {TimezonePeriod}, or `nil`. # - # source://tzinfo//lib/tzinfo/timezone.rb#831 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:831 def local_datetime(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), dst = T.unsafe(nil), &block); end # Creates a `Time` object based on the given (Gregorian calendar) date and @@ -4432,7 +4432,7 @@ class TZInfo::Timezone # ambiguity unresolved: an empty `Array`, an `Array` containing more than # one {TimezonePeriod}, or `nil`. # - # source://tzinfo//lib/tzinfo/timezone.rb#743 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:743 def local_time(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), dst = T.unsafe(nil), &block); end # Creates a {Timestamp} object based on the given (Gregorian calendar) date @@ -4520,7 +4520,7 @@ class TZInfo::Timezone # ambiguity unresolved: an empty `Array`, an `Array` containing more than # one {TimezonePeriod}, or `nil`. # - # source://tzinfo//lib/tzinfo/timezone.rb#919 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:919 def local_timestamp(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), dst = T.unsafe(nil), &block); end # Converts a local time for the time zone to UTC. @@ -4589,18 +4589,18 @@ class TZInfo::Timezone # ambiguity unresolved: an empty `Array`, an `Array` containing more than # one {TimezonePeriod}, or `nil`. # - # source://tzinfo//lib/tzinfo/timezone.rb#645 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:645 def local_to_utc(local_time, dst = T.unsafe(nil)); end # @return [String] the identifier of the time zone, for example, # `"Europe/Paris"`. # - # source://tzinfo//lib/tzinfo/timezone.rb#247 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:247 def name; end # @return [TimeWithOffset] the current local time in the time zone. # - # source://tzinfo//lib/tzinfo/timezone.rb#992 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:992 def now; end # Returns the observed offset from UTC in seconds at the given time. This @@ -4613,7 +4613,7 @@ class TZInfo::Timezone # @return [Integer] the observed offset from UTC in seconds at the given # time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1094 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1094 def observed_utc_offset(time = T.unsafe(nil)); end # Returns the unique offsets used by the time zone up to a given time (`to`) @@ -4638,7 +4638,7 @@ class TZInfo::Timezone # `to` and, if specified, at or later than `from`. Offsets may be returned # in any order. # - # source://tzinfo//lib/tzinfo/timezone.rb#947 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:947 def offsets_up_to(to, from = T.unsafe(nil)); end # Returns the {TimezonePeriod} that is valid at a given time. @@ -4652,7 +4652,7 @@ class TZInfo::Timezone # offset. # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`. # - # source://tzinfo//lib/tzinfo/timezone.rb#319 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:319 def period_for(time); end # Returns the {TimezonePeriod} that is valid at the given local time. @@ -4720,7 +4720,7 @@ class TZInfo::Timezone # ambiguity unresolved: an empty `Array`, an `Array` containing more than # one {TimezonePeriod}, or `nil`. # - # source://tzinfo//lib/tzinfo/timezone.rb#494 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:494 def period_for_local(local_time, dst = T.unsafe(nil)); end # Returns the {TimezonePeriod} that is valid at a given time. @@ -4733,7 +4733,7 @@ class TZInfo::Timezone # @raise [ArgumentError] if `utc_time` is `nil`. # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `utc_time`. # - # source://tzinfo//lib/tzinfo/timezone.rb#425 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:425 def period_for_utc(utc_time); end # Returns the set of {TimezonePeriod}s that are valid for the given @@ -4756,7 +4756,7 @@ class TZInfo::Timezone # @return [Array] the set of {TimezonePeriod}s that are # valid at `local_time`. # - # source://tzinfo//lib/tzinfo/timezone.rb#342 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:342 def periods_for_local(local_time); end # Converts a time to local time for the time zone and returns a `String` @@ -4779,7 +4779,7 @@ class TZInfo::Timezone # offset. # @return [String] the formatted local time. # - # source://tzinfo//lib/tzinfo/timezone.rb#1039 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1039 def strftime(format, time = T.unsafe(nil)); end # Converts a time to the local time for the time zone. @@ -4800,12 +4800,12 @@ class TZInfo::Timezone # @return [Object] the local equivalent of `time` as a {TimeWithOffset}, # {DateTimeWithOffset} or {TimestampWithOffset}. # - # source://tzinfo//lib/tzinfo/timezone.rb#548 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:548 def to_local(time); end # @return [String] {identifier}, modified to make it more readable. # - # source://tzinfo//lib/tzinfo/timezone.rb#253 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:253 def to_s; end # Returns an `Array` of {TimezoneTransition} instances representing the @@ -4833,7 +4833,7 @@ class TZInfo::Timezone # `to` and, if specified, at or later than `from`. Transitions are ordered # by when they occur, from earliest to latest. # - # source://tzinfo//lib/tzinfo/timezone.rb#370 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:370 def transitions_up_to(to, from = T.unsafe(nil)); end # Returns the observed offset from UTC in seconds at the given time. This @@ -4846,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#1097 + # pkg:gem/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. @@ -4866,7 +4866,7 @@ class TZInfo::Timezone # @return [Object] the local equivalent of `utc_time` as a {TimeWithOffset}, # {DateTimeWithOffset} or {TimestampWithOffset}. # - # source://tzinfo//lib/tzinfo/timezone.rb#572 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:572 def utc_to_local(utc_time); end private @@ -4875,7 +4875,7 @@ class TZInfo::Timezone # # @raise [UnknownTimezone] always. # - # source://tzinfo//lib/tzinfo/timezone.rb#1156 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1156 def raise_unknown_timezone; end class << self @@ -4886,7 +4886,7 @@ class TZInfo::Timezone # @param data [String] a serialized representation of a {Timezone}. # @return [Timezone] the result of converting `data` back into a {Timezone}. # - # source://tzinfo//lib/tzinfo/timezone.rb#1147 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:1147 def _load(data); end # Returns an `Array` of all the available time zones. @@ -4896,7 +4896,7 @@ class TZInfo::Timezone # # @return [Array] all available time zones. # - # source://tzinfo//lib/tzinfo/timezone.rb#151 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:151 def all; end # Returns an `Array` of the identifiers of all the time zones that are @@ -4910,7 +4910,7 @@ class TZInfo::Timezone # # @return [Array] an `Array` of the identifiers of all the time # - # source://tzinfo//lib/tzinfo/timezone.rb#219 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:219 def all_country_zone_identifiers; end # Returns an `Array` of all the time zones that are observed by at least @@ -4923,14 +4923,14 @@ class TZInfo::Timezone # @return [Array] an `Array` of all the time zones that are # observed by at least one {Country}. # - # source://tzinfo//lib/tzinfo/timezone.rb#206 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:206 def all_country_zones; end # time zones that are defined by offsets and transitions. # # @return [Array] an `Array` of the identifiers of all available # - # source://tzinfo//lib/tzinfo/timezone.rb#175 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:175 def all_data_zone_identifiers; end # Returns an `Array` of all the available time zones that are @@ -4942,20 +4942,20 @@ class TZInfo::Timezone # @return [Array] an `Array` of all the available time zones # that are defined by offsets and transitions. # - # source://tzinfo//lib/tzinfo/timezone.rb#169 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:169 def all_data_zones; end # @return [Array] an `Array` containing the identifiers of all the # available time zones. # - # source://tzinfo//lib/tzinfo/timezone.rb#157 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:157 def all_identifiers; end # time zones that are defined as links to / aliases for other time zones. # # @return [Array] an `Array` of the identifiers of all available # - # source://tzinfo//lib/tzinfo/timezone.rb#193 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:193 def all_linked_zone_identifiers; end # Returns an `Array` of all the available time zones that are @@ -4967,7 +4967,7 @@ class TZInfo::Timezone # @return [Array] an `Array` of all the available time zones # that are defined as links to / aliases for other time zones. # - # source://tzinfo//lib/tzinfo/timezone.rb#187 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:187 def all_linked_zones; end # Returns the default value of the optional `dst` parameter of the @@ -4981,7 +4981,7 @@ class TZInfo::Timezone # {local_to_utc} and {period_for_local} methods (`nil`, `true` or # `false`). # - # source://tzinfo//lib/tzinfo/timezone.rb#110 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:110 def default_dst; end # Sets the default value of the optional `dst` parameter of the @@ -4990,7 +4990,7 @@ class TZInfo::Timezone # # @param value [Boolean] `nil`, `true` or `false`. # - # source://tzinfo//lib/tzinfo/timezone.rb#96 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:96 def default_dst=(value); end # Returns a time zone by its IANA Time Zone Database identifier (e.g. @@ -5007,7 +5007,7 @@ class TZInfo::Timezone # @raise [InvalidTimezoneIdentifier] if the `identifier` is not valid. # @return [Timezone] the {Timezone} with the given `identifier`. # - # source://tzinfo//lib/tzinfo/timezone.rb#127 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:127 def get(identifier); end # Returns a proxy for the time zone with the given identifier. This allows @@ -5021,14 +5021,14 @@ class TZInfo::Timezone # @return [TimezoneProxy] a proxy for the time zone with the given # `identifier`. # - # source://tzinfo//lib/tzinfo/timezone.rb#141 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:141 def get_proxy(identifier); end private # @return [DataSource] the current DataSource. # - # source://tzinfo//lib/tzinfo/timezone.rb#234 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:234 def data_source; end # @param identifiers [Enumerable] an `Enumerable` of time zone @@ -5036,7 +5036,7 @@ class TZInfo::Timezone # @return [Array] an `Array` of {TimezoneProxy} # instances corresponding to the given identifiers. # - # source://tzinfo//lib/tzinfo/timezone.rb#229 + # pkg:gem/tzinfo#lib/tzinfo/timezone.rb:229 def get_proxies(identifiers); end end end @@ -5045,19 +5045,19 @@ end # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#37 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_definition.rb:37 TZInfo::TimezoneDefinition = TZInfo::Format1::TimezoneDefinition # Alias used by TZInfo::Data format 1 releases. # # @private # -# source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#75 +# pkg:gem/tzinfo#lib/tzinfo/format1/timezone_index_definition.rb:75 TZInfo::TimezoneIndexDefinition = TZInfo::Format1::TimezoneIndexDefinition # Represents an offset from UTC observed by a time zone. # -# source://tzinfo//lib/tzinfo/timezone_offset.rb#6 +# pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:6 class TZInfo::TimezoneOffset # Initializes a new {TimezoneOffset}. # @@ -5070,7 +5070,7 @@ class TZInfo::TimezoneOffset # @param std_offset [Integer] the offset from standard time in seconds. # @return [TimezoneOffset] a new instance of TimezoneOffset # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#62 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:62 def initialize(base_utc_offset, std_offset, abbreviation); end # Determines if this {TimezoneOffset} is equal to another instance. @@ -5080,7 +5080,7 @@ class TZInfo::TimezoneOffset # {utc_offset}, {std_offset} and {abbreviation} as this {TimezoneOffset}, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#84 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:84 def ==(toi); end # The abbreviation that identifies this offset. For example GMT @@ -5088,7 +5088,7 @@ class TZInfo::TimezoneOffset # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#51 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:51 def abbr; end # The abbreviation that identifies this offset. For example GMT @@ -5096,7 +5096,7 @@ class TZInfo::TimezoneOffset # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#50 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:50 def abbreviation; end # Returns the base offset from UTC in seconds (`observed_utc_offset - @@ -5114,7 +5114,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#21 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:21 def base_utc_offset; end # Determines if daylight savings is in effect (i.e. if {std_offset} is @@ -5122,7 +5122,7 @@ class TZInfo::TimezoneOffset # # @return [Boolean] `true` if {std_offset} is non-zero, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#74 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:74 def dst?; end # Determines if this {TimezoneOffset} is equal to another instance. @@ -5132,19 +5132,19 @@ class TZInfo::TimezoneOffset # {utc_offset}, {std_offset} and {abbreviation} as this {TimezoneOffset}, # otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#95 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:95 def eql?(toi); end # @return [Integer] a hash based on {utc_offset}, {std_offset} and # {abbreviation}. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#101 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:101 def hash; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#107 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:107 def inspect; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5152,7 +5152,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#43 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:43 def observed_utc_offset; end # Returns the offset from the time zone's standard time in seconds @@ -5169,7 +5169,7 @@ class TZInfo::TimezoneOffset # @return [Integer] the offset from the time zone's standard time in # seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#37 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:37 def std_offset; end # Returns the base offset from UTC in seconds (`observed_utc_offset - @@ -5187,7 +5187,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#22 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:22 def utc_offset; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5195,7 +5195,7 @@ class TZInfo::TimezoneOffset # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_offset.rb#44 + # pkg:gem/tzinfo#lib/tzinfo/timezone_offset.rb:44 def utc_total_offset; end end @@ -5209,7 +5209,7 @@ end # @abstract Time zone period data will returned as an instance of one of the # subclasses of {TimezonePeriod}. # -# source://tzinfo//lib/tzinfo/timezone_period.rb#14 +# pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:14 class TZInfo::TimezonePeriod # Initializes a {TimezonePeriod}. # @@ -5218,7 +5218,7 @@ class TZInfo::TimezonePeriod # @raise [ArgumentError] if `offset` is `nil`. # @return [TimezonePeriod] a new instance of TimezonePeriod # - # source://tzinfo//lib/tzinfo/timezone_period.rb#23 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:23 def initialize(offset); end # The abbreviation that identifies this offset. For example GMT @@ -5226,7 +5226,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#83 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:83 def abbr; end # The abbreviation that identifies this offset. For example GMT @@ -5234,7 +5234,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#80 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:80 def abbreviation; end # Returns the base offset from UTC in seconds (`observed_utc_offset - @@ -5252,7 +5252,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#54 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:54 def base_utc_offset; end # Determines if daylight savings is in effect (i.e. if {std_offset} is @@ -5260,13 +5260,13 @@ class TZInfo::TimezonePeriod # # @return [Boolean] `true` if {std_offset} is non-zero, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#99 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:99 def dst?; end # @return [TimezoneTransition] the transition that defines the end of this # {TimezonePeriod} (`nil` if the end is unbounded). # - # source://tzinfo//lib/tzinfo/timezone_period.rb#36 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:36 def end_transition; end # Returns the UTC end time of the period or `nil` if the end of the period @@ -5279,7 +5279,7 @@ class TZInfo::TimezonePeriod # @return [Timestamp] the UTC end time of the period or `nil` if the end of # the period is unbounded. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#125 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:125 def ends_at; end # Returns the local end time of the period or `nil` if the end of the period @@ -5292,7 +5292,7 @@ class TZInfo::TimezonePeriod # @return [TimestampWithOffset] the local end time of the period or `nil` if # the end of the period is unbounded. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#151 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:151 def local_ends_at; end # Returns the local start time of the period or `nil` if the start of the @@ -5305,7 +5305,7 @@ class TZInfo::TimezonePeriod # @return [TimestampWithOffset] the local start time of the period or `nil` # if the start of the period is unbounded. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#138 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:138 def local_starts_at; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5313,18 +5313,18 @@ class TZInfo::TimezonePeriod # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#90 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:90 def observed_utc_offset; end # @return [TimezoneOffset] the offset that applies in the period of time. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#16 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:16 def offset; end # @return [TimezoneTransition] the transition that defines the start of this # {TimezonePeriod} (`nil` if the start is unbounded). # - # source://tzinfo//lib/tzinfo/timezone_period.rb#30 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:30 def start_transition; end # Returns the UTC start time of the period or `nil` if the start of the @@ -5337,7 +5337,7 @@ class TZInfo::TimezonePeriod # @return [Timestamp] the UTC start time of the period or `nil` if the start # of the period is unbounded. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#112 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:112 def starts_at; end # Returns the offset from the time zone's standard time in seconds @@ -5354,7 +5354,7 @@ class TZInfo::TimezonePeriod # @return [Integer] the offset from the time zone's standard time in # seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#72 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:72 def std_offset; end # Returns the base offset from UTC in seconds (`observed_utc_offset - @@ -5372,7 +5372,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the base offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#57 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:57 def utc_offset; end # Returns the observed offset from UTC in seconds (`base_utc_offset + @@ -5380,7 +5380,7 @@ class TZInfo::TimezonePeriod # # @return [Integer] the observed offset from UTC in seconds. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#93 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:93 def utc_total_offset; end # The abbreviation that identifies this offset. For example GMT @@ -5388,7 +5388,7 @@ class TZInfo::TimezonePeriod # # @return [String] the abbreviation that identifies this offset. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#84 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:84 def zone_identifier; end private @@ -5398,21 +5398,21 @@ class TZInfo::TimezonePeriod # # @raise [NotImplementedError] always. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#161 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:161 def raise_not_implemented(method_name); end # @param transition [TimezoneTransition] a transition or `nil`. # @return [Timestamp] the {Timestamp} representing when a transition occurs, # or `nil` if `transition` is `nil`. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#168 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:168 def timestamp(transition); end # @param transition [TimezoneTransition] a transition or `nil`. # @return [TimestampWithOffset] a {Timestamp} representing when a transition # occurs with offset set to {#offset}, or `nil` if `transition` is `nil`. # - # source://tzinfo//lib/tzinfo/timezone_period.rb#175 + # pkg:gem/tzinfo#lib/tzinfo/timezone_period.rb:175 def timestamp_with_offset(transition); end end @@ -5427,7 +5427,7 @@ end # real {Timezone} will be loaded is loaded. If the proxy's identifier was not # valid, then an exception will be raised at this point. # -# source://tzinfo//lib/tzinfo/timezone_proxy.rb#15 +# pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:15 class TZInfo::TimezoneProxy < ::TZInfo::Timezone # Initializes a new {TimezoneProxy}. # @@ -5438,7 +5438,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # identifier. # @return [TimezoneProxy] a new instance of TimezoneProxy # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#23 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:23 def initialize(identifier); end # Returns a serialized representation of this {TimezoneProxy}. This method @@ -5448,7 +5448,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # [String] a serialized representation of this {TimezoneProxy}. # @return [String] a serialized representation of this {TimezoneProxy}. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#60 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:60 def _dump(limit); end # Returns the canonical {Timezone} instance for this {Timezone}. @@ -5490,13 +5490,13 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # # @return [Timezone] the canonical {Timezone} instance for this {Timezone}. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#50 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:50 def canonical_zone; end # @return [String] the identifier of the time zone, for example, # `"Europe/Paris"`. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#30 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:30 def identifier; end # Returns the {TimezonePeriod} that is valid at a given time. @@ -5510,7 +5510,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # offset. # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#35 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:35 def period_for(time); end # Returns the set of {TimezonePeriod}s that are valid for the given @@ -5533,7 +5533,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # @return [Array] the set of {TimezonePeriod}s that are # valid at `local_time`. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#40 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:40 def periods_for_local(local_time); end # Returns an `Array` of {TimezoneTransition} instances representing the @@ -5561,7 +5561,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # `to` and, if specified, at or later than `from`. Transitions are ordered # by when they occur, from earliest to latest. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#45 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:45 def transitions_up_to(to, from = T.unsafe(nil)); end private @@ -5572,7 +5572,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # # @return [Timezone] the real {Timezone} instance being proxied. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#82 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:82 def real_timezone; end class << self @@ -5584,7 +5584,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone # @return [TimezoneProxy] the result of converting `data` back into a # {TimezoneProxy}. # - # source://tzinfo//lib/tzinfo/timezone_proxy.rb#71 + # pkg:gem/tzinfo#lib/tzinfo/timezone_proxy.rb:71 def _load(data); end end end @@ -5592,7 +5592,7 @@ end # Represents a transition from one observed UTC offset ({TimezoneOffset} to # another for a time zone. # -# source://tzinfo//lib/tzinfo/timezone_transition.rb#7 +# pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:7 class TZInfo::TimezoneTransition # Initializes a new {TimezoneTransition}. # @@ -5607,7 +5607,7 @@ class TZInfo::TimezoneTransition # (i.e. each day is treated as if it were 86,400 seconds long). # @return [TimezoneTransition] a new instance of TimezoneTransition # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#34 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:34 def initialize(offset, previous_offset, timestamp_value); end # Determines if this {TimezoneTransition} is equal to another instance. @@ -5617,7 +5617,7 @@ class TZInfo::TimezoneTransition # {offset}, {previous_offset} and {timestamp_value} as this # {TimezoneTransition}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#86 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:86 def ==(tti); end # Returns a {Timestamp} instance representing the UTC time when this @@ -5629,7 +5629,7 @@ class TZInfo::TimezoneTransition # # @return [Timestamp] the UTC time when this transition occurs. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#48 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:48 def at; end # Determines if this {TimezoneTransition} is equal to another instance. @@ -5639,13 +5639,13 @@ class TZInfo::TimezoneTransition # {offset}, {previous_offset} and {timestamp_value} as this # {TimezoneTransition}, otherwise `false`. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#90 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:90 def eql?(tti); end # @return [Integer] a hash based on {offset}, {previous_offset} and # {timestamp_value}. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#94 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:94 def hash; end # Returns a {TimestampWithOffset} instance representing the local time when @@ -5659,7 +5659,7 @@ class TZInfo::TimezoneTransition # @return [TimestampWithOffset] the local time when this transition causes # the previous observance to end. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#62 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:62 def local_end_at; end # Returns a {TimestampWithOffset} instance representing the local time when @@ -5673,17 +5673,17 @@ class TZInfo::TimezoneTransition # @return [TimestampWithOffset] the local time when this transition causes # the next observance to start. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#76 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:76 def local_start_at; end # @return [TimezoneOffset] the offset this transition changes to. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#9 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:9 def offset; end # @return [TimezoneOffset] the offset this transition changes from. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#12 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:12 def previous_offset; end # When this transition occurs as an `Integer` number of seconds since @@ -5694,7 +5694,7 @@ class TZInfo::TimezoneTransition # @return [Integer] when this transition occurs as a number of seconds since # 1970-01-01 00:00:00 UTC ignoring leap seconds. # - # source://tzinfo//lib/tzinfo/timezone_transition.rb#21 + # pkg:gem/tzinfo#lib/tzinfo/timezone_transition.rb:21 def timestamp_value; end end @@ -5704,7 +5704,7 @@ end # @abstract # @private # -# source://tzinfo//lib/tzinfo/transition_rule.rb#10 +# pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:10 class TZInfo::TransitionRule # Initializes a new {TransitionRule}. # @@ -5713,7 +5713,7 @@ class TZInfo::TransitionRule # @raise [ArgumentError] if `transition_at` is not an `Integer`. # @return [TransitionRule] a new instance of TransitionRule # - # source://tzinfo//lib/tzinfo/transition_rule.rb#25 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:25 def initialize(transition_at); end # Determines if this {TransitionRule} is equal to another instance. @@ -5722,7 +5722,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 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:47 def ==(r); end # Calculates the time of the transition from a given offset on a given year. @@ -5733,7 +5733,7 @@ class TZInfo::TransitionRule # time). # @return [TimestampWithOffset] the time at which the transition occurs. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#37 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:37 def at(offset, year); end # Determines if this {TransitionRule} is equal to another instance. @@ -5742,13 +5742,13 @@ 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#50 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:50 def eql?(r); end # @return [Integer] a hash based on {hash_args} (defaulting to # {transition_at}). # - # source://tzinfo//lib/tzinfo/transition_rule.rb#54 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:54 def hash; end # Returns the number of seconds after midnight local time on the day @@ -5759,7 +5759,7 @@ class TZInfo::TransitionRule # @return [Integer] the time in seconds after midnight local time at which # the transition occurs. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#18 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:18 def transition_at; end protected @@ -5767,7 +5767,7 @@ class TZInfo::TransitionRule # @return [Array] an `Array` of parameters that will influence the output of # {hash}. # - # source://tzinfo//lib/tzinfo/transition_rule.rb#62 + # pkg:gem/tzinfo#lib/tzinfo/transition_rule.rb:62 def hash_args; end end @@ -5775,7 +5775,7 @@ end # applies. The period of time is bounded at at least one end, either having a # start transition, end transition or both start and end transitions. # -# source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#8 +# pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:8 class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod # Initializes a {TransitionsTimezonePeriod}. # @@ -5789,7 +5789,7 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod # `nil`. # @return [TransitionsTimezonePeriod] a new instance of TransitionsTimezonePeriod # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#27 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:27 def initialize(start_transition, end_transition); end # Determines if this {TransitionsTimezonePeriod} is equal to another @@ -5800,13 +5800,13 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod # same {offset}, {start_transition} and {end_transition}, otherwise # `false`. # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#47 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:47 def ==(p); end # @return [TimezoneTransition] the transition that defines the end of this # {TimezonePeriod} (`nil` if the end is unbounded). # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#15 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:15 def end_transition; end # Determines if this {TransitionsTimezonePeriod} is equal to another @@ -5817,24 +5817,24 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod # same {offset}, {start_transition} and {end_transition}, otherwise # `false`. # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#50 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:50 def eql?(p); end # @return [Integer] a hash based on {start_transition} and {end_transition}. # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#53 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:53 def hash; end # @return [String] the internal object state as a programmer-readable # `String`. # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#59 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:59 def inspect; end # @return [TimezoneTransition] the transition that defines the start of this # {TimezonePeriod} (`nil` if the start is unbounded). # - # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#11 + # pkg:gem/tzinfo#lib/tzinfo/transitions_timezone_period.rb:11 def start_transition; end end @@ -5854,13 +5854,13 @@ end # # @private # -# source://tzinfo//lib/tzinfo/string_deduper.rb#90 +# pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:90 class TZInfo::UnaryMinusGlobalStringDeduper # @param string [String] the string to deduplicate. # @return [bool] `string` if it is frozen, otherwise a frozen, possibly # pre-existing copy of `string`. # - # source://tzinfo//lib/tzinfo/string_deduper.rb#94 + # pkg:gem/tzinfo#lib/tzinfo/string_deduper.rb:94 def dedupe(string); end end @@ -5868,12 +5868,12 @@ end # {Timezone} that was created directly. To obtain {Timezone} instances the # {Timezone.get} method should be used instead. # -# source://tzinfo//lib/tzinfo/timezone.rb#32 +# pkg:gem/tzinfo#lib/tzinfo/timezone.rb:32 class TZInfo::UnknownTimezone < ::StandardError; end # The TZInfo version number. # -# source://tzinfo//lib/tzinfo/version.rb#6 +# pkg:gem/tzinfo#lib/tzinfo/version.rb:6 TZInfo::VERSION = T.let(T.unsafe(nil), String) # The {WithOffset} module is included in {TimeWithOffset}, @@ -5882,7 +5882,7 @@ TZInfo::VERSION = T.let(T.unsafe(nil), String) # the {TimezoneOffset#abbreviation abbreviation} of the {TimezoneOffset} # associated with a local time. # -# source://tzinfo//lib/tzinfo/with_offset.rb#10 +# pkg:gem/tzinfo#lib/tzinfo/with_offset.rb:10 module TZInfo::WithOffset # Overrides the `Time`, `DateTime` or {Timestamp} version of `strftime`, # replacing `%Z` with the {TimezoneOffset#abbreviation abbreviation} of the @@ -5895,7 +5895,7 @@ module TZInfo::WithOffset # @raise [ArgumentError] if `format` is `nil`. # @return [String] the formatted time. # - # source://tzinfo//lib/tzinfo/with_offset.rb#21 + # pkg:gem/tzinfo#lib/tzinfo/with_offset.rb:21 def strftime(format); end protected @@ -5914,6 +5914,6 @@ module TZInfo::WithOffset # @yieldreturn [Object] the result of the calculation performed if there is # an associated {TimezoneOffset}. # - # source://tzinfo//lib/tzinfo/with_offset.rb#56 + # pkg:gem/tzinfo#lib/tzinfo/with_offset.rb:56 def if_timezone_offset(result = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi b/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi index 630217309..691fb27c2 100644 --- a/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +++ b/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi @@ -5,81 +5,81 @@ # Please instead update this file by running `bin/tapioca gem unicode-display_width`. -# source://unicode-display_width//lib/unicode/display_width/constants.rb#3 +# pkg:gem/unicode-display_width#lib/unicode/display_width/constants.rb:3 module Unicode; end -# source://unicode-display_width//lib/unicode/display_width/constants.rb#4 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/unicode-display_width#lib/unicode/display_width.rb:235 def get_config(**kwargs); end - # source://unicode-display_width//lib/unicode/display_width.rb#243 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 + # pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#5 +# pkg:gem/unicode-display_width#lib/unicode/display_width/emoji_support.rb:5 module Unicode::DisplayWidth::EmojiSupport class << self - # source://unicode-display_width//lib/unicode/display_width/emoji_support.rb#18 + # pkg:gem/unicode-display_width#lib/unicode/display_width/emoji_support.rb:18 def _recommended; end # 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#14 + # pkg:gem/unicode-display_width#lib/unicode/display_width/emoji_support.rb:14 def recommended; end end end -# source://unicode-display_width//lib/unicode/display_width.rb#28 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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.2.0.rbi b/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi index 8c9c9fba8..462b10a24 100644 --- a/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +++ b/sorbet/rbi/gems/unicode-emoji@4.2.0.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 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:3 module Unicode; end -# source://unicode-emoji//lib/unicode/emoji/constants.rb#4 +# pkg:gem/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 + # pkg:gem/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,231 +24,231 @@ 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 + # pkg:gem/unicode-emoji#lib/unicode/emoji.rb:68 def properties(char); end private - # source://unicode-emoji//lib/unicode/emoji.rb#88 + # pkg:gem/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#32 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:32 Unicode::Emoji::CANCEL_TAG = T.let(T.unsafe(nil), Integer) -# source://unicode-emoji//lib/unicode/emoji/constants.rb#8 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:8 Unicode::Emoji::CLDR_VERSION = T.let(T.unsafe(nil), String) -# source://unicode-emoji//lib/unicode/emoji/constants.rb#9 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:9 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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#38 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:38 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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#29 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:29 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#23 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:23 Unicode::Emoji::EMOJI_VARIATION_SELECTOR = T.let(T.unsafe(nil), Integer) -# source://unicode-emoji//lib/unicode/emoji/constants.rb#6 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#10 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:10 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 +# pkg:gem/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 +# pkg:gem/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#13 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:13 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 +# pkg:gem/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 +# pkg:gem/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_native/regex.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex.rb:6 Unicode::Emoji::REGEX = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_basic.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_basic.rb:6 Unicode::Emoji::REGEX_BASIC = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_emoji_keycap.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_emoji_keycap.rb:6 Unicode::Emoji::REGEX_EMOJI_KEYCAP = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_include_mqe.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_include_mqe.rb:6 Unicode::Emoji::REGEX_INCLUDE_MQE = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_include_mqe_uqe.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/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_native/regex_include_text.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_include_text.rb:6 Unicode::Emoji::REGEX_INCLUDE_TEXT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_picto.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_picto.rb:6 Unicode::Emoji::REGEX_PICTO = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_picto_no_emoji.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/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_native/regex_possible.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_possible.rb:6 Unicode::Emoji::REGEX_POSSIBLE = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_prop_component.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_prop_component.rb:6 Unicode::Emoji::REGEX_PROP_COMPONENT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_prop_emoji.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_prop_emoji.rb:6 Unicode::Emoji::REGEX_PROP_EMOJI = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_prop_modifier.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_prop_modifier.rb:6 Unicode::Emoji::REGEX_PROP_MODIFIER = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_prop_modifier_base.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/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_native/regex_prop_presentation.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_prop_presentation.rb:6 Unicode::Emoji::REGEX_PROP_PRESENTATION = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_text.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_text.rb:6 Unicode::Emoji::REGEX_TEXT = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_text_presentation.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_text_presentation.rb:6 Unicode::Emoji::REGEX_TEXT_PRESENTATION = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_valid.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_valid.rb:6 Unicode::Emoji::REGEX_VALID = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_valid_include_text.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/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_native/regex_well_formed.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/regex_well_formed.rb:6 Unicode::Emoji::REGEX_WELL_FORMED = T.let(T.unsafe(nil), Regexp) -# source://unicode-emoji//lib/unicode/emoji/generated_native/regex_well_formed_include_text.rb#6 +# pkg:gem/unicode-emoji#lib/unicode/emoji/generated_native/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#44 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:44 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#35 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:35 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 +# pkg:gem/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#26 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:26 Unicode::Emoji::TEXT_VARIATION_SELECTOR = T.let(T.unsafe(nil), Integer) -# source://unicode-emoji//lib/unicode/emoji/constants.rb#7 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:7 Unicode::Emoji::UNICODE_VERSION = T.let(T.unsafe(nil), String) # The list of valid regions # -# source://unicode-emoji//lib/unicode/emoji/lazy_constants.rb#45 +# pkg:gem/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 +# pkg:gem/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 +# pkg:gem/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#48 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:48 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#41 +# pkg:gem/unicode-emoji#lib/unicode/emoji/constants.rb:41 Unicode::Emoji::ZWJ = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/uri@1.1.1.rbi b/sorbet/rbi/gems/uri@1.1.1.rbi index 14059e69a..37cc13abf 100644 --- a/sorbet/rbi/gems/uri@1.1.1.rbi +++ b/sorbet/rbi/gems/uri@1.1.1.rbi @@ -7,7 +7,7 @@ # module URI # -# source://uri//lib/uri/common.rb#895 +# pkg:gem/uri#lib/uri/common.rb:895 module Kernel private @@ -24,7 +24,7 @@ module Kernel # # You must require 'uri' to use this method. # - # source://uri//lib/uri/common.rb#911 + # pkg:gem/uri#lib/uri/common.rb:911 def URI(uri); end class << self @@ -41,20 +41,20 @@ module Kernel # # You must require 'uri' to use this method. # - # source://uri//lib/uri/common.rb#921 + # pkg:gem/uri#lib/uri/common.rb:921 def URI(uri); end end end -# source://uri//lib/uri.rb#90 +# pkg:gem/uri#lib/uri.rb:90 module URI class << self - # source://uri//lib/uri/common.rb#50 + # pkg:gem/uri#lib/uri/common.rb:50 def const_missing(const); end # Like URI.decode_www_form_component, except that '+' is preserved. # - # source://uri//lib/uri/common.rb#441 + # pkg:gem/uri#lib/uri/common.rb:441 def decode_uri_component(str, enc = T.unsafe(nil)); end # Returns name/value pairs derived from the given string +str+, @@ -92,7 +92,7 @@ module URI # # @raise [ArgumentError] # - # source://uri//lib/uri/common.rb#620 + # pkg:gem/uri#lib/uri/common.rb:620 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+. @@ -125,13 +125,13 @@ module URI # # Related: URI.decode_uri_component (preserves '+'). # - # source://uri//lib/uri/common.rb#430 + # pkg:gem/uri#lib/uri/common.rb:430 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//lib/uri/common.rb#436 + # pkg:gem/uri#lib/uri/common.rb:436 def encode_uri_component(str, enc = T.unsafe(nil)); end # Returns a URL-encoded string derived from the given @@ -232,7 +232,7 @@ module URI # URI.encode_www_form({foo: [0, 1], bar: 2}) # # => "foo=0&foo=1&bar=2" # - # source://uri//lib/uri/common.rb#567 + # pkg:gem/uri#lib/uri/common.rb:567 def encode_www_form(enum, enc = T.unsafe(nil)); end # Returns a URL-encoded string derived from the given string +str+. @@ -272,7 +272,7 @@ module URI # # Related: URI.encode_uri_component (encodes ' ' as '%20'). # - # source://uri//lib/uri/common.rb#397 + # pkg:gem/uri#lib/uri/common.rb:397 def encode_www_form_component(str, enc = T.unsafe(nil)); end # == Synopsis @@ -298,7 +298,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//lib/uri/common.rb#301 + # pkg:gem/uri#lib/uri/common.rb:301 def extract(str, schemes = T.unsafe(nil), &block); end # Returns a new object constructed from the given +scheme+, +arguments+, @@ -317,13 +317,13 @@ module URI # URI.for('foo', *values, default: URI::HTTP) # # => # # - # source://uri//lib/uri/common.rb#187 + # pkg:gem/uri#lib/uri/common.rb:187 def for(scheme, *arguments, default: T.unsafe(nil)); end # return encoding or nil # http://encoding.spec.whatwg.org/#concept-encoding-get # - # source://uri//lib/uri/common.rb#890 + # pkg:gem/uri#lib/uri/common.rb:890 def get_encoding(label); end # Merges the given URI strings +str+ @@ -349,7 +349,7 @@ module URI # URI.join('http://example.com', '/foo/', 'bar') # # => # # - # source://uri//lib/uri/common.rb#273 + # pkg:gem/uri#lib/uri/common.rb:273 def join(*str); end # Returns a new \URI object constructed from the given string +uri+: @@ -362,12 +362,12 @@ module URI # It's recommended to first URI::RFC2396_PARSER.escape string +uri+ # if it may contain invalid URI characters. # - # source://uri//lib/uri/common.rb#246 + # pkg:gem/uri#lib/uri/common.rb:246 def parse(uri); end # Set the default parser instance. # - # source://uri//lib/uri/common.rb#29 + # pkg:gem/uri#lib/uri/common.rb:29 def parser=(parser = T.unsafe(nil)); end # == Synopsis @@ -401,7 +401,7 @@ module URI # p $& # end # - # source://uri//lib/uri/common.rb#338 + # pkg:gem/uri#lib/uri/common.rb:338 def regexp(schemes = T.unsafe(nil)); end # Registers the given +klass+ as the class to be instantiated @@ -413,7 +413,7 @@ module URI # Note that after calling String#upcase on +scheme+, it must be a valid # constant name. # - # source://uri//lib/uri/common.rb#143 + # pkg:gem/uri#lib/uri/common.rb:143 def register_scheme(scheme, klass); end # Returns a hash of the defined schemes: @@ -431,7 +431,7 @@ module URI # # Related: URI.register_scheme. # - # source://uri//lib/uri/common.rb#161 + # pkg:gem/uri#lib/uri/common.rb:161 def scheme_list; end # Returns a 9-element array representing the parts of the \URI @@ -452,7 +452,7 @@ module URI # ["query", "tag=networking&order=newest"], # ["fragment", "top"]] # - # source://uri//lib/uri/common.rb#232 + # pkg:gem/uri#lib/uri/common.rb:232 def split(uri); end private @@ -462,13 +462,13 @@ module URI # # @raise [ArgumentError] # - # source://uri//lib/uri/common.rb#463 + # pkg:gem/uri#lib/uri/common.rb:463 def _decode_uri_component(regexp, str, enc); end # Returns a string derived from the given string +str+ with # URI-encoded characters matching +regexp+ according to +table+. # - # source://uri//lib/uri/common.rb#447 + # pkg:gem/uri#lib/uri/common.rb:447 def _encode_uri_component(regexp, table, str, enc); end end end @@ -480,7 +480,7 @@ end # is a good summary about the de facto spec. # https://datatracker.ietf.org/doc/html/draft-hoffman-ftp-uri-04 # -# source://uri//lib/uri/ftp.rb#22 +# pkg:gem/uri#lib/uri/ftp.rb:22 class URI::FTP < ::URI::Generic # == Description # @@ -496,10 +496,10 @@ class URI::FTP < ::URI::Generic # @raise [InvalidURIError] # @return [FTP] a new instance of FTP # - # source://uri//lib/uri/ftp.rb#133 + # pkg:gem/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//lib/uri/ftp.rb#214 + # pkg:gem/uri#lib/uri/ftp.rb:214 def merge(oth); end # Returns the path from an FTP URI. @@ -519,19 +519,19 @@ class URI::FTP < ::URI::Generic # # This method will then return "/pub/ruby". # - # source://uri//lib/uri/ftp.rb#240 + # pkg:gem/uri#lib/uri/ftp.rb:240 def path; end # Returns a String representation of the URI::FTP. # - # source://uri//lib/uri/ftp.rb#251 + # pkg:gem/uri#lib/uri/ftp.rb:251 def to_s; end # typecode accessor. # # See URI::FTP::COMPONENT. # - # source://uri//lib/uri/ftp.rb#161 + # pkg:gem/uri#lib/uri/ftp.rb:161 def typecode; end # == Args @@ -556,21 +556,21 @@ class URI::FTP < ::URI::Generic # uri # #=> # # - # source://uri//lib/uri/ftp.rb#208 + # pkg:gem/uri#lib/uri/ftp.rb:208 def typecode=(typecode); end protected # Private setter for the path of the URI::FTP. # - # source://uri//lib/uri/ftp.rb#245 + # pkg:gem/uri#lib/uri/ftp.rb:245 def set_path(v); end # Private setter for the typecode +v+. # # See also URI::FTP.typecode=. # - # source://uri//lib/uri/ftp.rb#180 + # pkg:gem/uri#lib/uri/ftp.rb:180 def set_typecode(v); end private @@ -578,7 +578,7 @@ class URI::FTP < ::URI::Generic # Validates typecode +v+, # returns +true+ or +false+. # - # source://uri//lib/uri/ftp.rb#166 + # pkg:gem/uri#lib/uri/ftp.rb:166 def check_typecode(v); end class << self @@ -610,64 +610,64 @@ class URI::FTP < ::URI::Generic # :path => 'ruby/src'}) # uri2.to_s # => "ftp://ftp.example.com/ruby/src" # - # source://uri//lib/uri/ftp.rb#96 + # pkg:gem/uri#lib/uri/ftp.rb:96 def build(args); end - # source://uri//lib/uri/ftp.rb#47 + # pkg:gem/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 +# pkg:gem/uri#lib/uri/file.rb:10 class URI::File < ::URI::Generic # raise InvalidURIError # # @raise [URI::InvalidURIError] # - # source://uri//lib/uri/file.rb#82 + # pkg:gem/uri#lib/uri/file.rb:82 def check_password(user); end # raise InvalidURIError # # @raise [URI::InvalidURIError] # - # source://uri//lib/uri/file.rb#77 + # pkg:gem/uri#lib/uri/file.rb:77 def check_user(user); end # raise InvalidURIError # # @raise [URI::InvalidURIError] # - # source://uri//lib/uri/file.rb#72 + # pkg:gem/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//lib/uri/file.rb#62 + # pkg:gem/uri#lib/uri/file.rb:62 def set_host(v); end # do nothing # - # source://uri//lib/uri/file.rb#95 + # pkg:gem/uri#lib/uri/file.rb:95 def set_password(v); end # do nothing # - # source://uri//lib/uri/file.rb#68 + # pkg:gem/uri#lib/uri/file.rb:68 def set_port(v); end # do nothing # - # source://uri//lib/uri/file.rb#91 + # pkg:gem/uri#lib/uri/file.rb:91 def set_user(v); end # do nothing # - # source://uri//lib/uri/file.rb#87 + # pkg:gem/uri#lib/uri/file.rb:87 def set_userinfo(v); end class << self @@ -700,19 +700,19 @@ class URI::File < ::URI::Generic # uri3 = URI::File.build({:path => URI::RFC2396_PARSER.escape('/path/my file.txt')}) # uri3.to_s # => "file:///path/my%20file.txt" # - # source://uri//lib/uri/file.rb#53 + # pkg:gem/uri#lib/uri/file.rb:53 def build(args); end end end # An Array of the available components for URI::File. # -# source://uri//lib/uri/file.rb#17 +# pkg:gem/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//lib/uri/file.rb#12 +# pkg:gem/uri#lib/uri/file.rb:12 URI::File::DEFAULT_PORT = T.let(T.unsafe(nil), T.untyped) class URI::GID < ::URI::Generic; end @@ -720,7 +720,7 @@ 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 +# pkg:gem/uri#lib/uri/generic.rb:21 class URI::Generic include ::URI @@ -755,7 +755,7 @@ class URI::Generic # # @return [Generic] a new instance of Generic # - # source://uri//lib/uri/generic.rb#169 + # pkg:gem/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 @@ -776,7 +776,7 @@ class URI::Generic # # => "http://my.example.com/main.rbx?page=1" # merge # - # source://uri//lib/uri/generic.rb#1164 + # pkg:gem/uri#lib/uri/generic.rb:1164 def +(oth); end # == Args @@ -796,32 +796,32 @@ class URI::Generic # uri.route_from('http://my.example.com') # #=> # # - # source://uri//lib/uri/generic.rb#1294 + # pkg:gem/uri#lib/uri/generic.rb:1294 def -(oth); end # Compares two URIs. # - # source://uri//lib/uri/generic.rb#1399 + # pkg:gem/uri#lib/uri/generic.rb:1399 def ==(oth); end # Returns true if URI has a scheme (e.g. http:// or https://) specified. # # @return [Boolean] # - # source://uri//lib/uri/generic.rb#994 + # pkg:gem/uri#lib/uri/generic.rb:994 def absolute; end # Returns true if URI has a scheme (e.g. http:// or https://) specified. # # @return [Boolean] # - # source://uri//lib/uri/generic.rb#987 + # pkg:gem/uri#lib/uri/generic.rb:987 def absolute?; end # Returns the authority info (array of user, password, host and # port), if any is set. Or returns +nil+. # - # source://uri//lib/uri/generic.rb#579 + # pkg:gem/uri#lib/uri/generic.rb:579 def authority; end # == Args @@ -842,34 +842,34 @@ class URI::Generic # uri.coerce("http://foo.com") # #=> [#, #] # - # source://uri//lib/uri/generic.rb#1478 + # pkg:gem/uri#lib/uri/generic.rb:1478 def coerce(oth); end # Components of the URI in the order. # - # source://uri//lib/uri/generic.rb#313 + # pkg:gem/uri#lib/uri/generic.rb:313 def component; end # Returns the password component after URI decoding. # - # source://uri//lib/uri/generic.rb#589 + # pkg:gem/uri#lib/uri/generic.rb:589 def decoded_password; end # Returns the user component after URI decoding. # - # source://uri//lib/uri/generic.rb#584 + # pkg:gem/uri#lib/uri/generic.rb:584 def decoded_user; end # Returns default port. # - # source://uri//lib/uri/generic.rb#39 + # pkg:gem/uri#lib/uri/generic.rb:39 def default_port; end # Compares with _oth_ for Hash. # # @return [Boolean] # - # source://uri//lib/uri/generic.rb#1413 + # pkg:gem/uri#lib/uri/generic.rb:1413 def eql?(oth); end # Returns a proxy URI. @@ -890,14 +890,14 @@ class URI::Generic # # @raise [BadURIError] # - # source://uri//lib/uri/generic.rb#1504 + # pkg:gem/uri#lib/uri/generic.rb:1504 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//lib/uri/generic.rb#283 + # pkg:gem/uri#lib/uri/generic.rb:283 def fragment; end # Checks the fragment +v+ component against the +parser+ Regexp for :FRAGMENT. @@ -921,12 +921,12 @@ class URI::Generic # uri.fragment = "time=1305212086" # uri.to_s #=> "http://my.example.com/?id=25#time=1305212086" # - # source://uri//lib/uri/generic.rb#944 + # pkg:gem/uri#lib/uri/generic.rb:944 def fragment=(v); end # Returns the hash value. # - # source://uri//lib/uri/generic.rb#1408 + # pkg:gem/uri#lib/uri/generic.rb:1408 def hash; end # Returns true if URI is hierarchical. @@ -949,7 +949,7 @@ class URI::Generic # # @return [Boolean] # - # source://uri//lib/uri/generic.rb#976 + # pkg:gem/uri#lib/uri/generic.rb:976 def hierarchical?; end # Returns the host component of the URI. @@ -972,7 +972,7 @@ class URI::Generic # URI("http://[::1]/bar/baz").host #=> "[::1]" # URI("http://[::1]/bar/baz").hostname #=> "::1" # - # source://uri//lib/uri/generic.rb#243 + # pkg:gem/uri#lib/uri/generic.rb:243 def host; end # == Args @@ -995,7 +995,7 @@ class URI::Generic # uri.host = "foo.com" # uri.to_s #=> "http://foo.com" # - # source://uri//lib/uri/generic.rb#652 + # pkg:gem/uri#lib/uri/generic.rb:652 def host=(v); end # Extract the host part of the URI and unwrap brackets for IPv6 addresses. @@ -1007,7 +1007,7 @@ class URI::Generic # uri.hostname #=> "::1" # uri.host #=> "[::1]" # - # source://uri//lib/uri/generic.rb#668 + # pkg:gem/uri#lib/uri/generic.rb:668 def hostname; end # Sets the host part of the URI as the argument with brackets for IPv6 addresses. @@ -1022,10 +1022,10 @@ class URI::Generic # If the argument seems to be an IPv6 address, # it is wrapped with brackets. # - # source://uri//lib/uri/generic.rb#685 + # pkg:gem/uri#lib/uri/generic.rb:685 def hostname=(v); end - # source://uri//lib/uri/generic.rb#1455 + # pkg:gem/uri#lib/uri/generic.rb:1455 def inspect; end # == Args @@ -1045,7 +1045,7 @@ class URI::Generic # uri.merge("/main.rbx?page=1") # # => "http://my.example.com/main.rbx?page=1" # - # source://uri//lib/uri/generic.rb#1124 + # pkg:gem/uri#lib/uri/generic.rb:1124 def merge(oth); end # == Args @@ -1065,7 +1065,7 @@ class URI::Generic # uri.merge!("/main.rbx?page=1") # uri.to_s # => "http://my.example.com/main.rbx?page=1" # - # source://uri//lib/uri/generic.rb#1096 + # pkg:gem/uri#lib/uri/generic.rb:1096 def merge!(oth); end # Returns normalized URI. @@ -1080,12 +1080,12 @@ class URI::Generic # * scheme and host are converted to lowercase, # * an empty path component is set to "/". # - # source://uri//lib/uri/generic.rb#1331 + # pkg:gem/uri#lib/uri/generic.rb:1331 def normalize; end # Destructive version of #normalize. # - # source://uri//lib/uri/generic.rb#1340 + # pkg:gem/uri#lib/uri/generic.rb:1340 def normalize!; end # Returns the opaque part of the URI. @@ -1097,7 +1097,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//lib/uri/generic.rb#277 + # pkg:gem/uri#lib/uri/generic.rb:277 def opaque; end # == Args @@ -1112,19 +1112,19 @@ class URI::Generic # # See also URI::Generic.check_opaque. # - # source://uri//lib/uri/generic.rb#916 + # pkg:gem/uri#lib/uri/generic.rb:916 def opaque=(v); end # Returns the parser to be used. # # Unless the +parser+ is defined, DEFAULT_PARSER is used. # - # source://uri//lib/uri/generic.rb#289 + # pkg:gem/uri#lib/uri/generic.rb:289 def parser; end # Returns the password component (without URI decoding). # - # source://uri//lib/uri/generic.rb#573 + # pkg:gem/uri#lib/uri/generic.rb:573 def password; end # == Args @@ -1147,14 +1147,14 @@ class URI::Generic # uri.password = "V3ry_S3nsit1ve" # uri.to_s #=> "http://john:V3ry_S3nsit1ve@my.example.com" # - # source://uri//lib/uri/generic.rb#498 + # pkg:gem/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//lib/uri/generic.rb#260 + # pkg:gem/uri#lib/uri/generic.rb:260 def path; end # == Args @@ -1177,7 +1177,7 @@ class URI::Generic # uri.path = "/faq/" # uri.to_s #=> "http://my.example.com/faq/" # - # source://uri//lib/uri/generic.rb#830 + # pkg:gem/uri#lib/uri/generic.rb:830 def path=(v); end # Returns the port component of the URI. @@ -1185,7 +1185,7 @@ class URI::Generic # URI("http://foo/bar/baz").port #=> 80 # URI("http://foo:8080/bar/baz").port #=> 8080 # - # source://uri//lib/uri/generic.rb#250 + # pkg:gem/uri#lib/uri/generic.rb:250 def port; end # == Args @@ -1208,14 +1208,14 @@ class URI::Generic # uri.port = 8080 # uri.to_s #=> "http://my.example.com:8080" # - # source://uri//lib/uri/generic.rb#743 + # pkg:gem/uri#lib/uri/generic.rb:743 def port=(v); end # Returns the query component of the URI. # # URI("http://foo/bar/baz?search=FooBar").query #=> "search=FooBar" # - # source://uri//lib/uri/generic.rb#266 + # pkg:gem/uri#lib/uri/generic.rb:266 def query; end # == Args @@ -1237,22 +1237,22 @@ class URI::Generic # # @raise [InvalidURIError] # - # source://uri//lib/uri/generic.rb#854 + # pkg:gem/uri#lib/uri/generic.rb:854 def query=(v); end - # source://uri//lib/uri/generic.rb#252 + # pkg:gem/uri#lib/uri/generic.rb:252 def registry; end # @raise [InvalidURIError] # - # source://uri//lib/uri/generic.rb#760 + # pkg:gem/uri#lib/uri/generic.rb:760 def registry=(v); end # Returns true if URI does not have a scheme (e.g. http:// or https://) specified. # # @return [Boolean] # - # source://uri//lib/uri/generic.rb#999 + # pkg:gem/uri#lib/uri/generic.rb:999 def relative?; end # == Args @@ -1272,7 +1272,7 @@ class URI::Generic # uri.route_from('http://my.example.com') # #=> # # - # source://uri//lib/uri/generic.rb#1274 + # pkg:gem/uri#lib/uri/generic.rb:1274 def route_from(oth); end # == Args @@ -1292,14 +1292,14 @@ class URI::Generic # uri.route_to('http://my.example.com/main.rbx?page=1') # #=> # # - # source://uri//lib/uri/generic.rb#1314 + # pkg:gem/uri#lib/uri/generic.rb:1314 def route_to(oth); end # Returns the scheme component of the URI. # # URI("http://foo/bar/baz").scheme #=> "http" # - # source://uri//lib/uri/generic.rb#221 + # pkg:gem/uri#lib/uri/generic.rb:221 def scheme; end # == Args @@ -1322,7 +1322,7 @@ class URI::Generic # uri.scheme = "https" # uri.to_s #=> "https://my.example.com" # - # source://uri//lib/uri/generic.rb#360 + # pkg:gem/uri#lib/uri/generic.rb:360 def scheme=(v); end # == Args @@ -1342,22 +1342,22 @@ class URI::Generic # uri.select(:userinfo, :host, :path) # # => ["myuser:mypass", "my.example.com", "/test.rbx"] # - # source://uri//lib/uri/generic.rb#1444 + # pkg:gem/uri#lib/uri/generic.rb:1444 def select(*components); end # Constructs String from URI. # - # source://uri//lib/uri/generic.rb#1355 + # pkg:gem/uri#lib/uri/generic.rb:1355 def to_s; end # Constructs String from URI. # - # source://uri//lib/uri/generic.rb#1394 + # pkg:gem/uri#lib/uri/generic.rb:1394 def to_str; end # Returns the user component (without URI decoding). # - # source://uri//lib/uri/generic.rb#568 + # pkg:gem/uri#lib/uri/generic.rb:568 def user; end # == Args @@ -1380,84 +1380,84 @@ class URI::Generic # uri.user = "sam" # uri.to_s #=> "http://sam:V3ry_S3nsit1ve@my.example.com" # - # source://uri//lib/uri/generic.rb#471 + # pkg:gem/uri#lib/uri/generic.rb:471 def user=(user); end # Returns the userinfo, either as 'user' or 'user:password'. # - # source://uri//lib/uri/generic.rb#557 + # pkg:gem/uri#lib/uri/generic.rb:557 def userinfo; end # Sets userinfo, argument is string like 'name:pass'. # - # source://uri//lib/uri/generic.rb#441 + # pkg:gem/uri#lib/uri/generic.rb:441 def userinfo=(userinfo); end protected # Returns an Array of the components defined from the COMPONENT Array. # - # source://uri//lib/uri/generic.rb#1420 + # pkg:gem/uri#lib/uri/generic.rb:1420 def component_ary; end # Protected setter for the authority info (+user+, +password+, +host+ # and +port+). If +port+ is +nil+, +default_port+ will be set. # - # source://uri//lib/uri/generic.rb#627 + # pkg:gem/uri#lib/uri/generic.rb:627 def set_authority(user, password, host, port = T.unsafe(nil)); end # Protected setter for the host component +v+. # # See also URI::Generic.host=. # - # source://uri//lib/uri/generic.rb#619 + # pkg:gem/uri#lib/uri/generic.rb:619 def set_host(v); end # Protected setter for the opaque component +v+. # # See also URI::Generic.opaque=. # - # source://uri//lib/uri/generic.rb#898 + # pkg:gem/uri#lib/uri/generic.rb:898 def set_opaque(v); end # Protected setter for the password component +v+. # # See also URI::Generic.password=. # - # source://uri//lib/uri/generic.rb#534 + # pkg:gem/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//lib/uri/generic.rb#804 + # pkg:gem/uri#lib/uri/generic.rb:804 def set_path(v); end # Protected setter for the port component +v+. # # See also URI::Generic.port=. # - # source://uri//lib/uri/generic.rb#716 + # pkg:gem/uri#lib/uri/generic.rb:716 def set_port(v); end # @raise [InvalidURIError] # - # source://uri//lib/uri/generic.rb#755 + # pkg:gem/uri#lib/uri/generic.rb:755 def set_registry(v); end # Protected setter for the scheme component +v+. # # See also URI::Generic.scheme=. # - # source://uri//lib/uri/generic.rb#334 + # pkg:gem/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//lib/uri/generic.rb#524 + # pkg:gem/uri#lib/uri/generic.rb:524 def set_user(v); end # Protected setter for the +user+ component, and +password+ if available @@ -1465,7 +1465,7 @@ class URI::Generic # # See also URI::Generic.userinfo=. # - # source://uri//lib/uri/generic.rb#509 + # pkg:gem/uri#lib/uri/generic.rb:509 def set_userinfo(user, password = T.unsafe(nil)); end private @@ -1476,7 +1476,7 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a host component defined. # - # source://uri//lib/uri/generic.rb#600 + # pkg:gem/uri#lib/uri/generic.rb:600 def check_host(v); end # Checks the opaque +v+ component for RFC2396 compliance and @@ -1485,7 +1485,7 @@ class URI::Generic # Can not have a host, port, user, or path component defined, # with an opaque component defined. # - # source://uri//lib/uri/generic.rb#876 + # pkg:gem/uri#lib/uri/generic.rb:876 def check_opaque(v); end # Checks the password +v+ component for RFC2396 compliance @@ -1494,7 +1494,7 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a user component defined. # - # source://uri//lib/uri/generic.rb#417 + # pkg:gem/uri#lib/uri/generic.rb:417 def check_password(v, user = T.unsafe(nil)); end # Checks the path +v+ component for RFC2396 compliance @@ -1504,7 +1504,7 @@ class URI::Generic # Can not have a opaque component defined, # with a path component defined. # - # source://uri//lib/uri/generic.rb#772 + # pkg:gem/uri#lib/uri/generic.rb:772 def check_path(v); end # Checks the port +v+ component for RFC2396 compliance @@ -1513,17 +1513,17 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a port component defined. # - # source://uri//lib/uri/generic.rb#697 + # pkg:gem/uri#lib/uri/generic.rb:697 def check_port(v); end # @raise [InvalidURIError] # - # source://uri//lib/uri/generic.rb#750 + # pkg:gem/uri#lib/uri/generic.rb:750 def check_registry(v); end # Checks the scheme +v+ component against the +parser+ Regexp for :SCHEME. # - # source://uri//lib/uri/generic.rb#320 + # pkg:gem/uri#lib/uri/generic.rb:320 def check_scheme(v); end # Checks the user +v+ component for RFC2396 compliance @@ -1532,7 +1532,7 @@ class URI::Generic # Can not have a registry or opaque component defined, # with a user component defined. # - # source://uri//lib/uri/generic.rb#393 + # pkg:gem/uri#lib/uri/generic.rb:393 def check_user(v); end # Checks the +user+ and +password+. @@ -1543,44 +1543,44 @@ class URI::Generic # # See also URI::Generic.check_user, URI::Generic.check_password. # - # source://uri//lib/uri/generic.rb#375 + # pkg:gem/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//lib/uri/generic.rb#551 + # pkg:gem/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//lib/uri/generic.rb#1015 + # pkg:gem/uri#lib/uri/generic.rb:1015 def merge_path(base, rel); end # Replaces self by other URI object. # - # source://uri//lib/uri/generic.rb#299 + # pkg:gem/uri#lib/uri/generic.rb:299 def replace!(oth); end # :stopdoc: # - # source://uri//lib/uri/generic.rb#1206 + # pkg:gem/uri#lib/uri/generic.rb:1206 def route_from0(oth); end # :stopdoc: # - # source://uri//lib/uri/generic.rb#1167 + # pkg:gem/uri#lib/uri/generic.rb:1167 def route_from_path(src, dst); end # Returns an Array of the path split on '/'. # - # source://uri//lib/uri/generic.rb#1006 + # pkg:gem/uri#lib/uri/generic.rb:1006 def split_path(path); end # Returns the userinfo +ui+ as [user, password] # if properly formatted as 'user:password'. # - # source://uri//lib/uri/generic.rb#542 + # pkg:gem/uri#lib/uri/generic.rb:542 def split_userinfo(ui); end class << self @@ -1595,7 +1595,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//lib/uri/generic.rb#116 + # pkg:gem/uri#lib/uri/generic.rb:116 def build(args); end # == Synopsis @@ -1608,25 +1608,25 @@ class URI::Generic # URI::Generic::build. But, if exception URI::InvalidComponentError is raised, # then it does URI::RFC2396_PARSER.escape all URI components and tries again. # - # source://uri//lib/uri/generic.rb#78 + # pkg:gem/uri#lib/uri/generic.rb:78 def build2(args); end # Components of the URI in the order. # - # source://uri//lib/uri/generic.rb#57 + # pkg:gem/uri#lib/uri/generic.rb:57 def component; end # Returns default port. # - # source://uri//lib/uri/generic.rb#32 + # pkg:gem/uri#lib/uri/generic.rb:32 def default_port; end # @return [Boolean] # - # source://uri//lib/uri/generic.rb#1570 + # pkg:gem/uri#lib/uri/generic.rb:1570 def use_proxy?(hostname, addr, port, no_proxy); end - # source://uri//lib/uri/generic.rb#63 + # pkg:gem/uri#lib/uri/generic.rb:63 def use_registry; end end end @@ -1638,7 +1638,7 @@ end # supported in Internet Explorer 5 and 6, before the MS04-004 security # update. See . # -# source://uri//lib/uri/http.rb#22 +# pkg:gem/uri#lib/uri/http.rb:22 class URI::HTTP < ::URI::Generic # == Description # @@ -1652,12 +1652,12 @@ 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//lib/uri/http.rb#109 + # pkg:gem/uri#lib/uri/http.rb:109 def authority; end # Do not allow empty host names, as they are not allowed by RFC 3986. # - # source://uri//lib/uri/http.rb#65 + # pkg:gem/uri#lib/uri/http.rb:65 def check_host(v); end # == Description @@ -1673,7 +1673,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//lib/uri/http.rb#131 + # pkg:gem/uri#lib/uri/http.rb:131 def origin; end # == Description @@ -1688,7 +1688,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//lib/uri/http.rb#89 + # pkg:gem/uri#lib/uri/http.rb:89 def request_uri; end class << self @@ -1715,14 +1715,14 @@ class URI::HTTP < ::URI::Generic # Currently, if passed userinfo components this method generates # invalid HTTP URIs as per RFC 1738. # - # source://uri//lib/uri/http.rb#59 + # pkg:gem/uri#lib/uri/http.rb:59 def build(args); end end end # :stopdoc: # -# source://uri//lib/uri/common.rb#166 +# pkg:gem/uri#lib/uri/common.rb:166 URI::INITIAL_SCHEMES = T.let(T.unsafe(nil), Hash) # LDAP URI SCHEMA (described in RFC2255). @@ -1730,7 +1730,7 @@ URI::INITIAL_SCHEMES = T.let(T.unsafe(nil), Hash) # ldap:///[?[?[?[?]]]] # ++ # -# source://uri//lib/uri/ldap.rb#23 +# pkg:gem/uri#lib/uri/ldap.rb:23 class URI::LDAP < ::URI::Generic # == Description # @@ -1749,47 +1749,47 @@ class URI::LDAP < ::URI::Generic # # @return [LDAP] a new instance of LDAP # - # source://uri//lib/uri/ldap.rb#108 + # pkg:gem/uri#lib/uri/ldap.rb:108 def initialize(*arg); end # Returns attributes. # - # source://uri//lib/uri/ldap.rb#178 + # pkg:gem/uri#lib/uri/ldap.rb:178 def attributes; end # Setter for attributes +val+. # - # source://uri//lib/uri/ldap.rb#191 + # pkg:gem/uri#lib/uri/ldap.rb:191 def attributes=(val); end # Returns dn. # - # source://uri//lib/uri/ldap.rb#159 + # pkg:gem/uri#lib/uri/ldap.rb:159 def dn; end # Setter for dn +val+. # - # source://uri//lib/uri/ldap.rb#172 + # pkg:gem/uri#lib/uri/ldap.rb:172 def dn=(val); end # Returns extensions. # - # source://uri//lib/uri/ldap.rb#235 + # pkg:gem/uri#lib/uri/ldap.rb:235 def extensions; end # Setter for extensions +val+. # - # source://uri//lib/uri/ldap.rb#248 + # pkg:gem/uri#lib/uri/ldap.rb:248 def extensions=(val); end # Returns filter. # - # source://uri//lib/uri/ldap.rb#216 + # pkg:gem/uri#lib/uri/ldap.rb:216 def filter; end # Setter for filter +val+. # - # source://uri//lib/uri/ldap.rb#229 + # pkg:gem/uri#lib/uri/ldap.rb:229 def filter=(val); end # Checks if URI has a path. @@ -1797,64 +1797,64 @@ class URI::LDAP < ::URI::Generic # # @return [Boolean] # - # source://uri//lib/uri/ldap.rb#255 + # pkg:gem/uri#lib/uri/ldap.rb:255 def hierarchical?; end # Returns scope. # - # source://uri//lib/uri/ldap.rb#197 + # pkg:gem/uri#lib/uri/ldap.rb:197 def scope; end # Setter for scope +val+. # - # source://uri//lib/uri/ldap.rb#210 + # pkg:gem/uri#lib/uri/ldap.rb:210 def scope=(val); end protected # Private setter for attributes +val+. # - # source://uri//lib/uri/ldap.rb#183 + # pkg:gem/uri#lib/uri/ldap.rb:183 def set_attributes(val); end # Private setter for dn +val+. # - # source://uri//lib/uri/ldap.rb#164 + # pkg:gem/uri#lib/uri/ldap.rb:164 def set_dn(val); end # Private setter for extensions +val+. # - # source://uri//lib/uri/ldap.rb#240 + # pkg:gem/uri#lib/uri/ldap.rb:240 def set_extensions(val); end # Private setter for filter +val+. # - # source://uri//lib/uri/ldap.rb#221 + # pkg:gem/uri#lib/uri/ldap.rb:221 def set_filter(val); end # Private setter for scope +val+. # - # source://uri//lib/uri/ldap.rb#202 + # pkg:gem/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//lib/uri/ldap.rb#146 + # pkg:gem/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//lib/uri/ldap.rb#120 + # pkg:gem/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//lib/uri/ldap.rb#128 + # pkg:gem/uri#lib/uri/ldap.rb:128 def parse_query; end class << self @@ -1879,14 +1879,14 @@ class URI::LDAP < ::URI::Generic # uri = URI::LDAP.build(["ldap.example.com", nil, # "/dc=example;dc=com", "query", nil, nil, nil]) # - # source://uri//lib/uri/ldap.rb#74 + # pkg:gem/uri#lib/uri/ldap.rb:74 def build(args); end end end # RFC6068, the mailto URL scheme. # -# source://uri//lib/uri/mailto.rb#17 +# pkg:gem/uri#lib/uri/mailto.rb:17 class URI::MailTo < ::URI::Generic include ::URI::RFC2396_REGEXP @@ -1900,27 +1900,27 @@ class URI::MailTo < ::URI::Generic # # @return [MailTo] a new instance of MailTo # - # source://uri//lib/uri/mailto.rb#132 + # pkg:gem/uri#lib/uri/mailto.rb:132 def initialize(*arg); end # E-mail headers set by the URL, as an Array of Arrays. # - # source://uri//lib/uri/mailto.rb#166 + # pkg:gem/uri#lib/uri/mailto.rb:166 def headers; end # Setter for headers +v+. # - # source://uri//lib/uri/mailto.rb#232 + # pkg:gem/uri#lib/uri/mailto.rb:232 def headers=(v); end # The primary e-mail address of the URL, as a String. # - # source://uri//lib/uri/mailto.rb#163 + # pkg:gem/uri#lib/uri/mailto.rb:163 def to; end # Setter for to +v+. # - # source://uri//lib/uri/mailto.rb#200 + # pkg:gem/uri#lib/uri/mailto.rb:200 def to=(v); end # Returns the RFC822 e-mail text equivalent of the URL, as a String. @@ -1933,7 +1933,7 @@ class URI::MailTo < ::URI::Generic # uri.to_mailtext # # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n" # - # source://uri//lib/uri/mailto.rb#268 + # pkg:gem/uri#lib/uri/mailto.rb:268 def to_mailtext; end # Returns the RFC822 e-mail text equivalent of the URL, as a String. @@ -1946,24 +1946,24 @@ class URI::MailTo < ::URI::Generic # uri.to_mailtext # # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n" # - # source://uri//lib/uri/mailto.rb#289 + # pkg:gem/uri#lib/uri/mailto.rb:289 def to_rfc822text; end # Constructs String from URI. # - # source://uri//lib/uri/mailto.rb#239 + # pkg:gem/uri#lib/uri/mailto.rb:239 def to_s; end protected # Private setter for headers +v+. # - # source://uri//lib/uri/mailto.rb#221 + # pkg:gem/uri#lib/uri/mailto.rb:221 def set_headers(v); end # Private setter for to +v+. # - # source://uri//lib/uri/mailto.rb#194 + # pkg:gem/uri#lib/uri/mailto.rb:194 def set_to(v); end private @@ -1971,12 +1971,12 @@ class URI::MailTo < ::URI::Generic # Checks the headers +v+ component against either # * HEADER_REGEXP # - # source://uri//lib/uri/mailto.rb#208 + # pkg:gem/uri#lib/uri/mailto.rb:208 def check_headers(v); end # Checks the to +v+ component. # - # source://uri//lib/uri/mailto.rb#169 + # pkg:gem/uri#lib/uri/mailto.rb:169 def check_to(v); end class << self @@ -2006,19 +2006,19 @@ 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//lib/uri/mailto.rb#85 + # pkg:gem/uri#lib/uri/mailto.rb:85 def build(args); end end end -# source://uri//lib/uri/common.rb#34 +# pkg:gem/uri#lib/uri/common.rb:34 URI::PARSER = T.let(T.unsafe(nil), URI::RFC3986_Parser) # 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 +# pkg:gem/uri#lib/uri/rfc2396_parser.rb:64 class URI::RFC2396_Parser include ::URI::RFC2396_REGEXP @@ -2055,7 +2055,7 @@ class URI::RFC2396_Parser # # @return [RFC2396_Parser] a new instance of RFC2396_Parser # - # source://uri//lib/uri/rfc2396_parser.rb#99 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:99 def initialize(opts = T.unsafe(nil)); end # :call-seq: @@ -2074,7 +2074,7 @@ class URI::RFC2396_Parser # Constructs a safe String from +str+, removing unsafe characters, # replacing them with codes. # - # source://uri//lib/uri/rfc2396_parser.rb#286 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:286 def escape(str, unsafe = T.unsafe(nil)); end # :call-seq: @@ -2097,10 +2097,10 @@ class URI::RFC2396_Parser # # See also #make_regexp. # - # source://uri//lib/uri/rfc2396_parser.rb#248 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:248 def extract(str, schemes = T.unsafe(nil)); end - # source://uri//lib/uri/rfc2396_parser.rb#325 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:325 def inspect; end # == Args @@ -2112,13 +2112,13 @@ class URI::RFC2396_Parser # # Attempts to parse and merge a set of URIs. # - # source://uri//lib/uri/rfc2396_parser.rb#222 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:222 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//lib/uri/rfc2396_parser.rb#261 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:261 def make_regexp(schemes = T.unsafe(nil)); end # == Args @@ -2136,26 +2136,26 @@ class URI::RFC2396_Parser # URI::RFC2396_PARSER.parse("ldap://ldap.example.com/dc=example?user=john") # #=> # # - # source://uri//lib/uri/rfc2396_parser.rb#208 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:208 def parse(uri); end # The Hash of patterns. # # See also #initialize_pattern. # - # source://uri//lib/uri/rfc2396_parser.rb#112 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:112 def pattern; end # The Hash of Regexp. # # See also #initialize_regexp. # - # source://uri//lib/uri/rfc2396_parser.rb#117 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:117 def regexp; end # Returns a split URI against +regexp[:ABS_URI]+. # - # source://uri//lib/uri/rfc2396_parser.rb#120 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:120 def split(uri); end # :call-seq: @@ -2173,7 +2173,7 @@ class URI::RFC2396_Parser # # Removes escapes from +str+. # - # source://uri//lib/uri/rfc2396_parser.rb#317 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:317 def unescape(str, escaped = T.unsafe(nil)); end private @@ -2181,169 +2181,169 @@ class URI::RFC2396_Parser # Returns +uri+ as-is if it is URI, or convert it to URI if it is # a String. # - # source://uri//lib/uri/rfc2396_parser.rb#528 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:528 def convert_to_uri(uri); end # Constructs the default Hash of patterns. # - # source://uri//lib/uri/rfc2396_parser.rb#337 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:337 def initialize_pattern(opts = T.unsafe(nil)); end # Constructs the default Hash of Regexp's. # - # source://uri//lib/uri/rfc2396_parser.rb#495 + # pkg:gem/uri#lib/uri/rfc2396_parser.rb:495 def initialize_regexp(pattern); end end -# source://uri//lib/uri/rfc2396_parser.rb#323 +# pkg:gem/uri#lib/uri/rfc2396_parser.rb:323 URI::RFC2396_Parser::TO_S = T.let(T.unsafe(nil), UnboundMethod) -# source://uri//lib/uri/rfc3986_parser.rb#3 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:3 class URI::RFC3986_Parser # @return [RFC3986_Parser] a new instance of RFC3986_Parser # - # source://uri//lib/uri/rfc3986_parser.rb#73 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:73 def initialize; end # Compatibility for RFC2396 parser # - # source://uri//lib/uri/rfc3986_parser.rb#156 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:156 def escape(str, unsafe = T.unsafe(nil)); end # Compatibility for RFC2396 parser # - # source://uri//lib/uri/rfc3986_parser.rb#144 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:144 def extract(str, schemes = T.unsafe(nil), &block); end - # source://uri//lib/uri/rfc3986_parser.rb#169 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:169 def inspect; end - # source://uri//lib/uri/rfc3986_parser.rb#138 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:138 def join(*uris); end # Compatibility for RFC2396 parser # - # source://uri//lib/uri/rfc3986_parser.rb#150 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:150 def make_regexp(schemes = T.unsafe(nil)); end - # source://uri//lib/uri/rfc3986_parser.rb#134 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:134 def parse(uri); end # Returns the value of attribute regexp. # - # source://uri//lib/uri/rfc3986_parser.rb#71 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:71 def regexp; end - # source://uri//lib/uri/rfc3986_parser.rb#77 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:77 def split(uri); end # Compatibility for RFC2396 parser # - # source://uri//lib/uri/rfc3986_parser.rb#162 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:162 def unescape(str, escaped = T.unsafe(nil)); end private - # source://uri//lib/uri/rfc3986_parser.rb#194 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:194 def convert_to_uri(uri); end - # source://uri//lib/uri/rfc3986_parser.rb#180 + # pkg:gem/uri#lib/uri/rfc3986_parser.rb:180 def default_regexp; end end -# source://uri//lib/uri/rfc3986_parser.rb#33 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:33 URI::RFC3986_Parser::FRAGMENT = T.let(T.unsafe(nil), String) # URI defined in RFC3986 # -# source://uri//lib/uri/rfc3986_parser.rb#5 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:5 URI::RFC3986_Parser::HOST = T.let(T.unsafe(nil), Regexp) -# source://uri//lib/uri/rfc3986_parser.rb#54 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:54 URI::RFC3986_Parser::RFC3986_relative_ref = T.let(T.unsafe(nil), Regexp) -# source://uri//lib/uri/rfc3986_parser.rb#30 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:30 URI::RFC3986_Parser::SCHEME = T.let(T.unsafe(nil), String) -# source://uri//lib/uri/rfc3986_parser.rb#31 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:31 URI::RFC3986_Parser::SEG = T.let(T.unsafe(nil), String) -# source://uri//lib/uri/rfc3986_parser.rb#32 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:32 URI::RFC3986_Parser::SEG_NC = T.let(T.unsafe(nil), String) -# source://uri//lib/uri/rfc3986_parser.rb#28 +# pkg:gem/uri#lib/uri/rfc3986_parser.rb:28 URI::RFC3986_Parser::USERINFO = T.let(T.unsafe(nil), Regexp) -# source://uri//lib/uri/common.rb#97 +# pkg:gem/uri#lib/uri/common.rb:97 module URI::Schemes class << self # Use Lo category chars as escaped chars for TruffleRuby, which # does not allow Symbol categories as identifiers. # - # source://uri//lib/uri/common.rb#104 + # pkg:gem/uri#lib/uri/common.rb:104 def escape(name); end - # source://uri//lib/uri/common.rb#115 + # pkg:gem/uri#lib/uri/common.rb:115 def find(name); end - # source://uri//lib/uri/common.rb#126 + # pkg:gem/uri#lib/uri/common.rb:126 def list; end - # source://uri//lib/uri/common.rb#119 + # pkg:gem/uri#lib/uri/common.rb:119 def register(name, klass); end - # source://uri//lib/uri/common.rb#111 + # pkg:gem/uri#lib/uri/common.rb:111 def unescape(name); end end end -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::FILE = URI::File -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::FTP = URI::FTP -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::GID = URI::GID -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::HTTP = URI::HTTP -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::HTTPS = URI::HTTPS -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::LDAP = URI::LDAP -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::LDAPS = URI::LDAPS -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::MAILTO = URI::MailTo -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::SOURCE = URI::Source -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::WS = URI::WS -# source://uri//lib/uri/common.rb#123 +# pkg:gem/uri#lib/uri/common.rb:123 URI::Schemes::WSS = URI::WSS class URI::Source < ::URI::File; end -# source://uri//lib/uri/common.rb#347 +# pkg:gem/uri#lib/uri/common.rb:347 URI::TBLENCURICOMP_ = T.let(T.unsafe(nil), Hash) -# source://uri//lib/uri/common.rb#65 +# pkg:gem/uri#lib/uri/common.rb:65 module URI::Util private - # source://uri//lib/uri/common.rb#66 + # pkg:gem/uri#lib/uri/common.rb:66 def make_components_hash(klass, array_hash); end class << self - # source://uri//lib/uri/common.rb#94 + # pkg:gem/uri#lib/uri/common.rb:94 def make_components_hash(klass, array_hash); end end end @@ -2355,7 +2355,7 @@ end # supported in Internet Explorer 5 and 6, before the MS04-004 security # update. See . # -# source://uri//lib/uri/ws.rb#22 +# pkg:gem/uri#lib/uri/ws.rb:22 class URI::WS < ::URI::Generic # == Description # @@ -2369,7 +2369,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//lib/uri/ws.rb#74 + # pkg:gem/uri#lib/uri/ws.rb:74 def request_uri; end class << self @@ -2394,7 +2394,7 @@ class URI::WS < ::URI::Generic # Currently, if passed userinfo components this method generates # invalid WS URIs as per RFC 1738. # - # source://uri//lib/uri/ws.rb#56 + # pkg:gem/uri#lib/uri/ws.rb:56 def build(args); end end end @@ -2403,10 +2403,10 @@ end # than 'ws:'. Other than that, WSS URIs are identical to WS URIs; # see URI::WS. # -# source://uri//lib/uri/wss.rb#17 +# pkg:gem/uri#lib/uri/wss.rb:17 class URI::WSS < ::URI::WS; end # A Default port of 443 for URI::WSS # -# source://uri//lib/uri/wss.rb#19 +# pkg:gem/uri#lib/uri/wss.rb:19 URI::WSS::DEFAULT_PORT = T.let(T.unsafe(nil), Integer) diff --git a/sorbet/rbi/gems/webmock@3.26.1.rbi b/sorbet/rbi/gems/webmock@3.26.1.rbi index 0ba0dccbd..518a9f62e 100644 --- a/sorbet/rbi/gems/webmock@3.26.1.rbi +++ b/sorbet/rbi/gems/webmock@3.26.1.rbi @@ -5,220 +5,220 @@ # Please instead update this file by running `bin/tapioca gem webmock`. -# source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#18 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http_response.rb:18 module Net::WebMockHTTPResponse - # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#19 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http_response.rb:19 def read_body(dest = T.unsafe(nil), &block); end end -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#224 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:224 class StubSocket # @return [StubSocket] a new instance of StubSocket # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#228 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:228 def initialize(*args); end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#236 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:236 def close; end # @return [Boolean] # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#232 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:232 def closed?; end # Returns the value of attribute continue_timeout. # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:226 def continue_timeout; end # Sets the attribute continue_timeout # # @param value the value to set the attribute continue_timeout to. # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:226 def continue_timeout=(_arg0); end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#244 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:244 def io; end # Returns the value of attribute read_timeout. # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:226 def read_timeout; end # Sets the attribute read_timeout # # @param value the value to set the attribute read_timeout to. # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:226 def read_timeout=(_arg0); end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#241 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:241 def readuntil(*args); end # Returns the value of attribute write_timeout. # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:226 def write_timeout; end # Sets the attribute write_timeout # # @param value the value to set the attribute write_timeout to. # - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#226 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:226 def write_timeout=(_arg0); end end -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#248 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:248 class StubSocket::StubIO - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#253 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:253 def cipher; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#250 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:250 def peer_cert; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#251 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:251 def peeraddr; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#249 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:249 def setsockopt(*args); end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#252 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:252 def ssl_version; end end -# source://webmock//lib/webmock/deprecation.rb#3 +# pkg:gem/webmock#lib/webmock/deprecation.rb:3 module WebMock include ::WebMock::API extend ::WebMock::API - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def after_request(*args, &block); end - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def allow_net_connect!(*args, &block); end - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def disable_net_connect!(*args, &block); end - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def net_connect_allowed?(*args, &block); end - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def registered_request?(*args, &block); end - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def reset_callbacks(*args, &block); end - # source://webmock//lib/webmock/webmock.rb#168 + # pkg:gem/webmock#lib/webmock/webmock.rb:168 def reset_webmock(*args, &block); end class << self - # source://webmock//lib/webmock/webmock.rb#143 + # pkg:gem/webmock#lib/webmock/webmock.rb:143 def after_request(options = T.unsafe(nil), &block); end - # source://webmock//lib/webmock/webmock.rb#46 + # pkg:gem/webmock#lib/webmock/webmock.rb:46 def allow_net_connect!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#30 + # pkg:gem/webmock#lib/webmock/webmock.rb:30 def disable!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#51 + # pkg:gem/webmock#lib/webmock/webmock.rb:51 def disable_net_connect!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#60 + # pkg:gem/webmock#lib/webmock/webmock.rb:60 def disallow_net_connect!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#38 + # pkg:gem/webmock#lib/webmock/webmock.rb:38 def enable!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#59 + # pkg:gem/webmock#lib/webmock/webmock.rb:59 def enable_net_connect!(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/webmock.rb#155 + # pkg:gem/webmock#lib/webmock/webmock.rb:155 def globally_stub_request(order = T.unsafe(nil), &block); end - # source://webmock//lib/webmock/webmock.rb#109 + # pkg:gem/webmock#lib/webmock/webmock.rb:109 def hide_body_diff!; end - # source://webmock//lib/webmock/webmock.rb#117 + # pkg:gem/webmock#lib/webmock/webmock.rb:117 def hide_stubbing_instructions!; end # @private # - # source://webmock//lib/webmock/webmock.rb#5 + # pkg:gem/webmock#lib/webmock/webmock.rb:5 def included(clazz); end # @return [Boolean] # - # source://webmock//lib/webmock/webmock.rb#63 + # pkg:gem/webmock#lib/webmock/webmock.rb:63 def net_connect_allowed?(uri = T.unsafe(nil)); end # @return [Boolean] # - # source://webmock//lib/webmock/webmock.rb#85 + # pkg:gem/webmock#lib/webmock/webmock.rb:85 def net_connect_explicit_allowed?(allowed, uri = T.unsafe(nil)); end # @return [Boolean] # - # source://webmock//lib/webmock/webmock.rb#75 + # pkg:gem/webmock#lib/webmock/webmock.rb:75 def net_http_connect_on_start?(uri); end - # source://webmock//lib/webmock/webmock.rb#151 + # pkg:gem/webmock#lib/webmock/webmock.rb:151 def print_executed_requests; end # @return [Boolean] # - # source://webmock//lib/webmock/webmock.rb#147 + # pkg:gem/webmock#lib/webmock/webmock.rb:147 def registered_request?(request_signature); end - # source://webmock//lib/webmock/webmock.rb#23 + # pkg:gem/webmock#lib/webmock/webmock.rb:23 def request(method, uri); end - # source://webmock//lib/webmock/webmock.rb#129 + # pkg:gem/webmock#lib/webmock/webmock.rb:129 def reset!; end - # source://webmock//lib/webmock/webmock.rb#139 + # pkg:gem/webmock#lib/webmock/webmock.rb:139 def reset_callbacks; end - # source://webmock//lib/webmock/webmock.rb#134 + # pkg:gem/webmock#lib/webmock/webmock.rb:134 def reset_webmock; end - # source://webmock//lib/webmock/webmock.rb#105 + # pkg:gem/webmock#lib/webmock/webmock.rb:105 def show_body_diff!; end # @return [Boolean] # - # source://webmock//lib/webmock/webmock.rb#113 + # pkg:gem/webmock#lib/webmock/webmock.rb:113 def show_body_diff?; end - # source://webmock//lib/webmock/webmock.rb#121 + # pkg:gem/webmock#lib/webmock/webmock.rb:121 def show_stubbing_instructions!; end # @return [Boolean] # - # source://webmock//lib/webmock/webmock.rb#125 + # pkg:gem/webmock#lib/webmock/webmock.rb:125 def show_stubbing_instructions?; end - # source://webmock//lib/webmock/webmock.rb#26 + # pkg:gem/webmock#lib/webmock/webmock.rb:26 def version; end end end -# source://webmock//lib/webmock/api.rb#4 +# pkg:gem/webmock#lib/webmock/api.rb:4 module WebMock::API extend ::WebMock::API - # source://webmock//lib/webmock/api.rb#14 + # pkg:gem/webmock#lib/webmock/api.rb:14 def a_request(method, uri); end - # source://webmock//lib/webmock/api.rb#31 + # pkg:gem/webmock#lib/webmock/api.rb:31 def assert_not_requested(*args, &block); end - # source://webmock//lib/webmock/api.rb#22 + # pkg:gem/webmock#lib/webmock/api.rb:22 def assert_requested(*args, &block); end - # source://webmock//lib/webmock/api.rb#59 + # pkg:gem/webmock#lib/webmock/api.rb:59 def hash_excluding(*args); end # Similar to RSpec::Mocks::ArgumentMatchers#hash_including() @@ -232,109 +232,109 @@ module WebMock::API # object.should_receive(:message).with(hash_including(:key)) # object.should_receive(:message).with(hash_including(:key, :key2 => val2)) # - # source://webmock//lib/webmock/api.rb#51 + # pkg:gem/webmock#lib/webmock/api.rb:51 def hash_including(*args); end - # source://webmock//lib/webmock/api.rb#39 + # pkg:gem/webmock#lib/webmock/api.rb:39 def refute_requested(*args, &block); end - # source://webmock//lib/webmock/api.rb#67 + # pkg:gem/webmock#lib/webmock/api.rb:67 def remove_request_stub(stub); end - # source://webmock//lib/webmock/api.rb#71 + # pkg:gem/webmock#lib/webmock/api.rb:71 def reset_executed_requests!; end - # source://webmock//lib/webmock/api.rb#12 + # pkg:gem/webmock#lib/webmock/api.rb:12 def stub_http_request(method, uri); end - # source://webmock//lib/webmock/api.rb#7 + # pkg:gem/webmock#lib/webmock/api.rb:7 def stub_request(method, uri); end private # this is a based on RSpec::Mocks::ArgumentMatchers#anythingize_lonely_keys # - # source://webmock//lib/webmock/api.rb#104 + # pkg:gem/webmock#lib/webmock/api.rb:104 def anythingize_lonely_keys(*args); end - # source://webmock//lib/webmock/api.rb#95 + # pkg:gem/webmock#lib/webmock/api.rb:95 def assert_request_not_requested(request, options = T.unsafe(nil)); end - # source://webmock//lib/webmock/api.rb#86 + # pkg:gem/webmock#lib/webmock/api.rb:86 def assert_request_requested(request, options = T.unsafe(nil)); end - # source://webmock//lib/webmock/api.rb#77 + # pkg:gem/webmock#lib/webmock/api.rb:77 def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end class << self - # source://webmock//lib/webmock/api.rb#19 + # pkg:gem/webmock#lib/webmock/api.rb:19 def request(method, uri); end end end -# source://webmock//lib/webmock/assertion_failure.rb#4 +# pkg:gem/webmock#lib/webmock/assertion_failure.rb:4 class WebMock::AssertionFailure class << self # Returns the value of attribute error_class. # - # source://webmock//lib/webmock/assertion_failure.rb#7 + # pkg:gem/webmock#lib/webmock/assertion_failure.rb:7 def error_class; end # Sets the attribute error_class # # @param value the value to set the attribute error_class to. # - # source://webmock//lib/webmock/assertion_failure.rb#7 + # pkg:gem/webmock#lib/webmock/assertion_failure.rb:7 def error_class=(_arg0); end # @raise [@error_class] # - # source://webmock//lib/webmock/assertion_failure.rb#8 + # pkg:gem/webmock#lib/webmock/assertion_failure.rb:8 def failure(message); end end end -# source://webmock//lib/webmock/request_pattern.rb#255 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:255 class WebMock::BodyPattern include ::WebMock::RSpecMatcherDetector # @return [BodyPattern] a new instance of BodyPattern # - # source://webmock//lib/webmock/request_pattern.rb#273 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:273 def initialize(pattern); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#283 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:283 def matches?(body, content_type = T.unsafe(nil)); end # Returns the value of attribute pattern. # - # source://webmock//lib/webmock/request_pattern.rb#271 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:271 def pattern; end - # source://webmock//lib/webmock/request_pattern.rb#300 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:300 def to_s; end private - # source://webmock//lib/webmock/request_pattern.rb#324 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:324 def assert_non_multipart_body(content_type); end - # source://webmock//lib/webmock/request_pattern.rb#306 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:306 def body_as_hash(body, content_type); end - # source://webmock//lib/webmock/request_pattern.rb#319 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:319 def body_format(content_type); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#383 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:383 def empty_string?(string); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#363 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:363 def matching_body_array?(query_parameters, pattern, content_type); end # Compare two hashes for equality @@ -359,47 +359,47 @@ class WebMock::BodyPattern # @return [Boolean] true if the paramaters match the comparison # hash, false if not. # - # source://webmock//lib/webmock/request_pattern.rb#353 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:353 def matching_body_hashes?(query_parameters, pattern, content_type); end - # source://webmock//lib/webmock/request_pattern.rb#375 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:375 def matching_values(actual, expected, content_type); end - # source://webmock//lib/webmock/request_pattern.rb#387 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:387 def normalize_hash(hash); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#391 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:391 def url_encoded_body?(content_type); end end -# source://webmock//lib/webmock/request_pattern.rb#258 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:258 WebMock::BodyPattern::BODY_FORMATS = T.let(T.unsafe(nil), Hash) -# source://webmock//lib/webmock/callback_registry.rb#4 +# pkg:gem/webmock#lib/webmock/callback_registry.rb:4 class WebMock::CallbackRegistry class << self - # source://webmock//lib/webmock/callback_registry.rb#7 + # pkg:gem/webmock#lib/webmock/callback_registry.rb:7 def add_callback(options, block); end # @return [Boolean] # - # source://webmock//lib/webmock/callback_registry.rb#32 + # pkg:gem/webmock#lib/webmock/callback_registry.rb:32 def any_callbacks?; end - # source://webmock//lib/webmock/callback_registry.rb#11 + # pkg:gem/webmock#lib/webmock/callback_registry.rb:11 def callbacks; end - # source://webmock//lib/webmock/callback_registry.rb#15 + # pkg:gem/webmock#lib/webmock/callback_registry.rb:15 def invoke_callbacks(options, request_signature, response); end - # source://webmock//lib/webmock/callback_registry.rb#28 + # pkg:gem/webmock#lib/webmock/callback_registry.rb:28 def reset; end end end -# source://webmock//lib/webmock/config.rb#4 +# pkg:gem/webmock#lib/webmock/config.rb:4 class WebMock::Config include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -407,183 +407,183 @@ class WebMock::Config # @return [Config] a new instance of Config # - # source://webmock//lib/webmock/config.rb#7 + # pkg:gem/webmock#lib/webmock/config.rb:7 def initialize; end # Returns the value of attribute allow. # - # source://webmock//lib/webmock/config.rb#14 + # pkg:gem/webmock#lib/webmock/config.rb:14 def allow; end # Sets the attribute allow # # @param value the value to set the attribute allow to. # - # source://webmock//lib/webmock/config.rb#14 + # pkg:gem/webmock#lib/webmock/config.rb:14 def allow=(_arg0); end # Returns the value of attribute allow_localhost. # - # source://webmock//lib/webmock/config.rb#13 + # pkg:gem/webmock#lib/webmock/config.rb:13 def allow_localhost; end # Sets the attribute allow_localhost # # @param value the value to set the attribute allow_localhost to. # - # source://webmock//lib/webmock/config.rb#13 + # pkg:gem/webmock#lib/webmock/config.rb:13 def allow_localhost=(_arg0); end # Returns the value of attribute allow_net_connect. # - # source://webmock//lib/webmock/config.rb#12 + # pkg:gem/webmock#lib/webmock/config.rb:12 def allow_net_connect; end # Sets the attribute allow_net_connect # # @param value the value to set the attribute allow_net_connect to. # - # source://webmock//lib/webmock/config.rb#12 + # pkg:gem/webmock#lib/webmock/config.rb:12 def allow_net_connect=(_arg0); end # Returns the value of attribute net_http_connect_on_start. # - # source://webmock//lib/webmock/config.rb#15 + # pkg:gem/webmock#lib/webmock/config.rb:15 def net_http_connect_on_start; end # Sets the attribute net_http_connect_on_start # # @param value the value to set the attribute net_http_connect_on_start to. # - # source://webmock//lib/webmock/config.rb#15 + # pkg:gem/webmock#lib/webmock/config.rb:15 def net_http_connect_on_start=(_arg0); end # Returns the value of attribute query_values_notation. # - # source://webmock//lib/webmock/config.rb#17 + # pkg:gem/webmock#lib/webmock/config.rb:17 def query_values_notation; end # Sets the attribute query_values_notation # # @param value the value to set the attribute query_values_notation to. # - # source://webmock//lib/webmock/config.rb#17 + # pkg:gem/webmock#lib/webmock/config.rb:17 def query_values_notation=(_arg0); end # Returns the value of attribute show_body_diff. # - # source://webmock//lib/webmock/config.rb#18 + # pkg:gem/webmock#lib/webmock/config.rb:18 def show_body_diff; end # Sets the attribute show_body_diff # # @param value the value to set the attribute show_body_diff to. # - # source://webmock//lib/webmock/config.rb#18 + # pkg:gem/webmock#lib/webmock/config.rb:18 def show_body_diff=(_arg0); end # Returns the value of attribute show_stubbing_instructions. # - # source://webmock//lib/webmock/config.rb#16 + # pkg:gem/webmock#lib/webmock/config.rb:16 def show_stubbing_instructions; end # Sets the attribute show_stubbing_instructions # # @param value the value to set the attribute show_stubbing_instructions to. # - # source://webmock//lib/webmock/config.rb#16 + # pkg:gem/webmock#lib/webmock/config.rb:16 def show_stubbing_instructions=(_arg0); end class << self private - # source://webmock//lib/webmock/config.rb#5 + # pkg:gem/webmock#lib/webmock/config.rb:5 def allocate; end - # source://webmock//lib/webmock/config.rb#5 + # pkg:gem/webmock#lib/webmock/config.rb:5 def new(*_arg0); end end end -# source://webmock//lib/webmock/deprecation.rb#4 +# pkg:gem/webmock#lib/webmock/deprecation.rb:4 class WebMock::Deprecation class << self - # source://webmock//lib/webmock/deprecation.rb#6 + # pkg:gem/webmock#lib/webmock/deprecation.rb:6 def warning(message); end end end -# source://webmock//lib/webmock/response.rb#149 +# pkg:gem/webmock#lib/webmock/response.rb:149 class WebMock::DynamicResponse < ::WebMock::Response # @return [DynamicResponse] a new instance of DynamicResponse # - # source://webmock//lib/webmock/response.rb#152 + # pkg:gem/webmock#lib/webmock/response.rb:152 def initialize(responder); end - # source://webmock//lib/webmock/response.rb#156 + # pkg:gem/webmock#lib/webmock/response.rb:156 def evaluate(request_signature); end # Returns the value of attribute responder. # - # source://webmock//lib/webmock/response.rb#150 + # pkg:gem/webmock#lib/webmock/response.rb:150 def responder; end # Sets the attribute responder # # @param value the value to set the attribute responder to. # - # source://webmock//lib/webmock/response.rb#150 + # pkg:gem/webmock#lib/webmock/response.rb:150 def responder=(_arg0); end end -# source://webmock//lib/webmock/util/hash_validator.rb#4 +# pkg:gem/webmock#lib/webmock/util/hash_validator.rb:4 class WebMock::HashValidator # @return [HashValidator] a new instance of HashValidator # - # source://webmock//lib/webmock/util/hash_validator.rb#5 + # pkg:gem/webmock#lib/webmock/util/hash_validator.rb:5 def initialize(hash); end # This code is based on https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/keys.rb # - # source://webmock//lib/webmock/util/hash_validator.rb#10 + # pkg:gem/webmock#lib/webmock/util/hash_validator.rb:10 def validate_keys(*valid_keys); end end -# source://webmock//lib/webmock/request_pattern.rb#396 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:396 class WebMock::HeadersPattern # @return [HeadersPattern] a new instance of HeadersPattern # - # source://webmock//lib/webmock/request_pattern.rb#397 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:397 def initialize(pattern); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#401 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:401 def matches?(headers); end - # source://webmock//lib/webmock/request_pattern.rb#417 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:417 def pp_to_s; end - # source://webmock//lib/webmock/request_pattern.rb#413 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:413 def to_s; end private # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#423 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:423 def empty_headers?(headers); end end -# source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#4 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter.rb:4 class WebMock::HttpLibAdapter class << self - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#5 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter.rb:5 def adapter_for(lib); end end end -# source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#4 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:4 class WebMock::HttpLibAdapterRegistry include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -591,94 +591,94 @@ class WebMock::HttpLibAdapterRegistry # @return [HttpLibAdapterRegistry] a new instance of HttpLibAdapterRegistry # - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#9 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:9 def initialize; end - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#17 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:17 def each_adapter(&block); end # Returns the value of attribute http_lib_adapters. # - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:7 def http_lib_adapters; end # Sets the attribute http_lib_adapters # # @param value the value to set the attribute http_lib_adapters to. # - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:7 def http_lib_adapters=(_arg0); end - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#13 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:13 def register(lib, adapter); end class << self private - # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#5 + # pkg:gem/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 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb:5 def new(*_arg0); end end end -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#10 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:10 module WebMock::HttpLibAdapters; end -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#11 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:11 class WebMock::HttpLibAdapters::NetHttpAdapter < ::WebMock::HttpLibAdapter class << self - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#27 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:27 def disable!; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#18 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:18 def enable!; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#46 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:46 def remove_silently(mod, const); end end end # This will be removed in Ruby 3.5. In Ruby 3.4, const_remove will warn. # -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#16 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:16 WebMock::HttpLibAdapters::NetHttpAdapter::HAS_LEGACY_CONSTANT = T.let(T.unsafe(nil), TrueClass) -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#14 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:14 WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP = Net::HTTP -# source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#4 +# pkg:gem/webmock#lib/webmock/matchers/hash_argument_matcher.rb:4 module WebMock::Matchers; end # this is a based on RSpec::Mocks::ArgumentMatchers::AnyArgMatcher # -# source://webmock//lib/webmock/matchers/any_arg_matcher.rb#6 +# pkg:gem/webmock#lib/webmock/matchers/any_arg_matcher.rb:6 class WebMock::Matchers::AnyArgMatcher # @return [AnyArgMatcher] a new instance of AnyArgMatcher # - # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#7 + # pkg:gem/webmock#lib/webmock/matchers/any_arg_matcher.rb:7 def initialize(ignore); end - # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#10 + # pkg:gem/webmock#lib/webmock/matchers/any_arg_matcher.rb:10 def ==(other); end end # Base class for Hash matchers # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb # -# source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#7 +# pkg:gem/webmock#lib/webmock/matchers/hash_argument_matcher.rb:7 class WebMock::Matchers::HashArgumentMatcher # @return [HashArgumentMatcher] a new instance of HashArgumentMatcher # - # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#8 + # pkg:gem/webmock#lib/webmock/matchers/hash_argument_matcher.rb:8 def initialize(expected); end - # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#12 + # pkg:gem/webmock#lib/webmock/matchers/hash_argument_matcher.rb:12 def ==(_actual, &block); end class << self - # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#18 + # pkg:gem/webmock#lib/webmock/matchers/hash_argument_matcher.rb:18 def from_rspec_matcher(matcher); end end end @@ -686,320 +686,320 @@ end # this is a based on RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb # -# source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#7 +# pkg:gem/webmock#lib/webmock/matchers/hash_excluding_matcher.rb:7 class WebMock::Matchers::HashExcludingMatcher < ::WebMock::Matchers::HashArgumentMatcher - # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#8 + # pkg:gem/webmock#lib/webmock/matchers/hash_excluding_matcher.rb:8 def ==(actual); end - # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#12 + # pkg:gem/webmock#lib/webmock/matchers/hash_excluding_matcher.rb:12 def inspect; end end # this is a based on RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb # -# source://webmock//lib/webmock/matchers/hash_including_matcher.rb#7 +# pkg:gem/webmock#lib/webmock/matchers/hash_including_matcher.rb:7 class WebMock::Matchers::HashIncludingMatcher < ::WebMock::Matchers::HashArgumentMatcher - # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#8 + # pkg:gem/webmock#lib/webmock/matchers/hash_including_matcher.rb:8 def ==(actual); end - # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#14 + # pkg:gem/webmock#lib/webmock/matchers/hash_including_matcher.rb:14 def inspect; end end -# source://webmock//lib/webmock/request_pattern.rb#98 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:98 class WebMock::MethodPattern # @return [MethodPattern] a new instance of MethodPattern # - # source://webmock//lib/webmock/request_pattern.rb#99 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:99 def initialize(pattern); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#103 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:103 def matches?(method); end - # source://webmock//lib/webmock/request_pattern.rb#107 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:107 def to_s; end end -# source://webmock//lib/webmock/errors.rb#5 +# pkg:gem/webmock#lib/webmock/errors.rb:5 class WebMock::NetConnectNotAllowedError < ::Exception # @return [NetConnectNotAllowedError] a new instance of NetConnectNotAllowedError # - # source://webmock//lib/webmock/errors.rb#6 + # pkg:gem/webmock#lib/webmock/errors.rb:6 def initialize(request_signature); end end -# source://webmock//lib/webmock/http_lib_adapters/net_http.rb#258 +# pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:258 module WebMock::NetHTTPUtility class << self - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#297 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:297 def check_right_http_connection; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#288 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:288 def get_uri(net_http, path = T.unsafe(nil)); end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#301 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:301 def puts_warning_for_right_http_if_needed; end - # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#260 + # pkg:gem/webmock#lib/webmock/http_lib_adapters/net_http.rb:260 def request_signature_from_request(net_http, request, body = T.unsafe(nil)); end end end -# source://webmock//lib/webmock/request_pattern.rb#5 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:5 module WebMock::RSpecMatcherDetector # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#10 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:10 def rSpecHashExcludingMatcher?(matcher); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#6 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:6 def rSpecHashIncludingMatcher?(matcher); end end -# source://webmock//lib/webmock/rack_response.rb#4 +# pkg:gem/webmock#lib/webmock/rack_response.rb:4 class WebMock::RackResponse < ::WebMock::Response # @return [RackResponse] a new instance of RackResponse # - # source://webmock//lib/webmock/rack_response.rb#5 + # pkg:gem/webmock#lib/webmock/rack_response.rb:5 def initialize(app); end - # source://webmock//lib/webmock/rack_response.rb#21 + # pkg:gem/webmock#lib/webmock/rack_response.rb:21 def body_from_rack_response(response); end - # source://webmock//lib/webmock/rack_response.rb#28 + # pkg:gem/webmock#lib/webmock/rack_response.rb:28 def build_rack_env(request); end - # source://webmock//lib/webmock/rack_response.rb#9 + # pkg:gem/webmock#lib/webmock/rack_response.rb:9 def evaluate(request); end - # source://webmock//lib/webmock/rack_response.rb#65 + # pkg:gem/webmock#lib/webmock/rack_response.rb:65 def session; end - # source://webmock//lib/webmock/rack_response.rb#69 + # pkg:gem/webmock#lib/webmock/rack_response.rb:69 def session_options; end end -# source://webmock//lib/webmock/request_body_diff.rb#7 +# pkg:gem/webmock#lib/webmock/request_body_diff.rb:7 class WebMock::RequestBodyDiff # @return [RequestBodyDiff] a new instance of RequestBodyDiff # - # source://webmock//lib/webmock/request_body_diff.rb#9 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:9 def initialize(request_signature, request_stub); end - # source://webmock//lib/webmock/request_body_diff.rb#14 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:14 def body_diff; end private # @return [Boolean] # - # source://webmock//lib/webmock/request_body_diff.rb#57 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:57 def parseable_json?(body_pattern); end # Returns the value of attribute request_signature. # - # source://webmock//lib/webmock/request_body_diff.rb#20 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:20 def request_signature; end - # source://webmock//lib/webmock/request_body_diff.rb#33 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:33 def request_signature_body_hash; end # @return [Boolean] # - # source://webmock//lib/webmock/request_body_diff.rb#25 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:25 def request_signature_diffable?; end # @return [Boolean] # - # source://webmock//lib/webmock/request_body_diff.rb#49 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:49 def request_signature_parseable_json?; end # Returns the value of attribute request_stub. # - # source://webmock//lib/webmock/request_body_diff.rb#20 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:20 def request_stub; end - # source://webmock//lib/webmock/request_body_diff.rb#43 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:43 def request_stub_body; end - # source://webmock//lib/webmock/request_body_diff.rb#37 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:37 def request_stub_body_hash; end # @return [Boolean] # - # source://webmock//lib/webmock/request_body_diff.rb#29 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:29 def request_stub_diffable?; end # @return [Boolean] # - # source://webmock//lib/webmock/request_body_diff.rb#53 + # pkg:gem/webmock#lib/webmock/request_body_diff.rb:53 def request_stub_parseable_json?; end end -# source://webmock//lib/webmock/request_execution_verifier.rb#4 +# pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:4 class WebMock::RequestExecutionVerifier # @return [RequestExecutionVerifier] a new instance of RequestExecutionVerifier # - # source://webmock//lib/webmock/request_execution_verifier.rb#8 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:8 def initialize(request_pattern = T.unsafe(nil), expected_times_executed = T.unsafe(nil), at_least_times_executed = T.unsafe(nil), at_most_times_executed = T.unsafe(nil)); end # Returns the value of attribute at_least_times_executed. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def at_least_times_executed; end # Sets the attribute at_least_times_executed # # @param value the value to set the attribute at_least_times_executed to. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def at_least_times_executed=(_arg0); end # Returns the value of attribute at_most_times_executed. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def at_most_times_executed; end # Sets the attribute at_most_times_executed # # @param value the value to set the attribute at_most_times_executed to. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def at_most_times_executed=(_arg0); end - # source://webmock//lib/webmock/request_execution_verifier.rb#38 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:38 def description; end # @return [Boolean] # - # source://webmock//lib/webmock/request_execution_verifier.rb#28 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:28 def does_not_match?; end # Returns the value of attribute expected_times_executed. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def expected_times_executed; end # Sets the attribute expected_times_executed # # @param value the value to set the attribute expected_times_executed to. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def expected_times_executed=(_arg0); end - # source://webmock//lib/webmock/request_execution_verifier.rb#42 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:42 def failure_message; end - # source://webmock//lib/webmock/request_execution_verifier.rb#46 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:46 def failure_message_when_negated; end # @return [Boolean] # - # source://webmock//lib/webmock/request_execution_verifier.rb#15 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:15 def matches?; end # Returns the value of attribute request_pattern. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def request_pattern; end # Sets the attribute request_pattern # # @param value the value to set the attribute request_pattern to. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def request_pattern=(_arg0); end # Returns the value of attribute times_executed. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def times_executed; end # Sets the attribute times_executed # # @param value the value to set the attribute times_executed to. # - # source://webmock//lib/webmock/request_execution_verifier.rb#6 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:6 def times_executed=(_arg0); end private - # source://webmock//lib/webmock/request_execution_verifier.rb#56 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:56 def failure_message_phrase(is_negated = T.unsafe(nil)); end - # source://webmock//lib/webmock/request_execution_verifier.rb#62 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:62 def quantity_phrase(is_negated = T.unsafe(nil)); end - # source://webmock//lib/webmock/request_execution_verifier.rb#74 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:74 def times(times); end class << self - # source://webmock//lib/webmock/request_execution_verifier.rb#50 + # pkg:gem/webmock#lib/webmock/request_execution_verifier.rb:50 def executed_requests_message; end end end -# source://webmock//lib/webmock/request_pattern.rb#15 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:15 class WebMock::RequestPattern # @return [RequestPattern] a new instance of RequestPattern # - # source://webmock//lib/webmock/request_pattern.rb#19 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:19 def initialize(method, uri, options = T.unsafe(nil)); end # Returns the value of attribute body_pattern. # - # source://webmock//lib/webmock/request_pattern.rb#17 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:17 def body_pattern; end # Returns the value of attribute headers_pattern. # - # source://webmock//lib/webmock/request_pattern.rb#17 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:17 def headers_pattern; end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#35 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:35 def matches?(request_signature); end # Returns the value of attribute method_pattern. # - # source://webmock//lib/webmock/request_pattern.rb#17 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:17 def method_pattern; end - # source://webmock//lib/webmock/request_pattern.rb#45 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:45 def to_s; end # Returns the value of attribute uri_pattern. # - # source://webmock//lib/webmock/request_pattern.rb#17 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:17 def uri_pattern; end # @raise [ArgumentError] # - # source://webmock//lib/webmock/request_pattern.rb#28 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:28 def with(options = T.unsafe(nil), &block); end private - # source://webmock//lib/webmock/request_pattern.rb#57 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:57 def assign_options(options); end - # source://webmock//lib/webmock/request_pattern.rb#80 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:80 def create_uri_pattern(uri); end - # source://webmock//lib/webmock/request_pattern.rb#66 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:66 def set_basic_auth_as_headers!(options); end - # source://webmock//lib/webmock/request_pattern.rb#74 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:74 def validate_basic_auth!(basic_auth); end end -# source://webmock//lib/webmock/request_registry.rb#5 +# pkg:gem/webmock#lib/webmock/request_registry.rb:5 class WebMock::RequestRegistry include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -1007,348 +1007,348 @@ class WebMock::RequestRegistry # @return [RequestRegistry] a new instance of RequestRegistry # - # source://webmock//lib/webmock/request_registry.rb#10 + # pkg:gem/webmock#lib/webmock/request_registry.rb:10 def initialize; end # Returns the value of attribute requested_signatures. # - # source://webmock//lib/webmock/request_registry.rb#8 + # pkg:gem/webmock#lib/webmock/request_registry.rb:8 def requested_signatures; end # Sets the attribute requested_signatures # # @param value the value to set the attribute requested_signatures to. # - # source://webmock//lib/webmock/request_registry.rb#8 + # pkg:gem/webmock#lib/webmock/request_registry.rb:8 def requested_signatures=(_arg0); end - # source://webmock//lib/webmock/request_registry.rb#14 + # pkg:gem/webmock#lib/webmock/request_registry.rb:14 def reset!; end - # source://webmock//lib/webmock/request_registry.rb#18 + # pkg:gem/webmock#lib/webmock/request_registry.rb:18 def times_executed(request_pattern); end - # source://webmock//lib/webmock/request_registry.rb#24 + # pkg:gem/webmock#lib/webmock/request_registry.rb:24 def to_s; end class << self private - # source://webmock//lib/webmock/request_registry.rb#6 + # pkg:gem/webmock#lib/webmock/request_registry.rb:6 def allocate; end - # source://webmock//lib/webmock/request_registry.rb#6 + # pkg:gem/webmock#lib/webmock/request_registry.rb:6 def new(*_arg0); end end end -# source://webmock//lib/webmock/request_signature.rb#5 +# pkg:gem/webmock#lib/webmock/request_signature.rb:5 class WebMock::RequestSignature # @return [RequestSignature] a new instance of RequestSignature # - # source://webmock//lib/webmock/request_signature.rb#10 + # pkg:gem/webmock#lib/webmock/request_signature.rb:10 def initialize(method, uri, options = T.unsafe(nil)); end # @return [Boolean] # - # source://webmock//lib/webmock/request_signature.rb#37 + # pkg:gem/webmock#lib/webmock/request_signature.rb:37 def ==(other); end # Returns the value of attribute body. # - # source://webmock//lib/webmock/request_signature.rb#7 + # pkg:gem/webmock#lib/webmock/request_signature.rb:7 def body; end # Sets the attribute body # # @param value the value to set the attribute body to. # - # source://webmock//lib/webmock/request_signature.rb#7 + # pkg:gem/webmock#lib/webmock/request_signature.rb:7 def body=(_arg0); end # @return [Boolean] # - # source://webmock//lib/webmock/request_signature.rb#34 + # pkg:gem/webmock#lib/webmock/request_signature.rb:34 def eql?(other); end - # source://webmock//lib/webmock/request_signature.rb#30 + # pkg:gem/webmock#lib/webmock/request_signature.rb:30 def hash; end # Returns the value of attribute headers. # - # source://webmock//lib/webmock/request_signature.rb#8 + # pkg:gem/webmock#lib/webmock/request_signature.rb:8 def headers; end - # source://webmock//lib/webmock/request_signature.rb#26 + # pkg:gem/webmock#lib/webmock/request_signature.rb:26 def headers=(headers); end # @return [Boolean] # - # source://webmock//lib/webmock/request_signature.rb#43 + # pkg:gem/webmock#lib/webmock/request_signature.rb:43 def json_headers?; end # Returns the value of attribute method. # - # source://webmock//lib/webmock/request_signature.rb#7 + # pkg:gem/webmock#lib/webmock/request_signature.rb:7 def method; end # Sets the attribute method # # @param value the value to set the attribute method to. # - # source://webmock//lib/webmock/request_signature.rb#7 + # pkg:gem/webmock#lib/webmock/request_signature.rb:7 def method=(_arg0); end - # source://webmock//lib/webmock/request_signature.rb#16 + # pkg:gem/webmock#lib/webmock/request_signature.rb:16 def to_s; end # Returns the value of attribute uri. # - # source://webmock//lib/webmock/request_signature.rb#7 + # pkg:gem/webmock#lib/webmock/request_signature.rb:7 def uri; end # Sets the attribute uri # # @param value the value to set the attribute uri to. # - # source://webmock//lib/webmock/request_signature.rb#7 + # pkg:gem/webmock#lib/webmock/request_signature.rb:7 def uri=(_arg0); end # @return [Boolean] # - # source://webmock//lib/webmock/request_signature.rb#39 + # pkg:gem/webmock#lib/webmock/request_signature.rb:39 def url_encoded?; end private - # source://webmock//lib/webmock/request_signature.rb#49 + # pkg:gem/webmock#lib/webmock/request_signature.rb:49 def assign_options(options); end end -# source://webmock//lib/webmock/request_signature_snippet.rb#6 +# pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:6 class WebMock::RequestSignatureSnippet # @return [RequestSignatureSnippet] a new instance of RequestSignatureSnippet # - # source://webmock//lib/webmock/request_signature_snippet.rb#10 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:10 def initialize(request_signature); end # Returns the value of attribute request_signature. # - # source://webmock//lib/webmock/request_signature_snippet.rb#8 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:8 def request_signature; end # Returns the value of attribute request_stub. # - # source://webmock//lib/webmock/request_signature_snippet.rb#8 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:8 def request_stub; end - # source://webmock//lib/webmock/request_signature_snippet.rb#22 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:22 def request_stubs; end - # source://webmock//lib/webmock/request_signature_snippet.rb#15 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:15 def stubbing_instructions; end private - # source://webmock//lib/webmock/request_signature_snippet.rb#35 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:35 def add_body_diff(stub, text); end - # source://webmock//lib/webmock/request_signature_snippet.rb#54 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:54 def pretty_print_to_string(string_to_print); end - # source://webmock//lib/webmock/request_signature_snippet.rb#45 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:45 def request_params; end - # source://webmock//lib/webmock/request_signature_snippet.rb#40 + # pkg:gem/webmock#lib/webmock/request_signature_snippet.rb:40 def signature_stub_body_diff(stub); end end -# source://webmock//lib/webmock/request_stub.rb#4 +# pkg:gem/webmock#lib/webmock/request_stub.rb:4 class WebMock::RequestStub # @return [RequestStub] a new instance of RequestStub # - # source://webmock//lib/webmock/request_stub.rb#8 + # pkg:gem/webmock#lib/webmock/request_stub.rb:8 def initialize(method, uri); end - # source://webmock//lib/webmock/request_stub.rb#71 + # pkg:gem/webmock#lib/webmock/request_stub.rb:71 def and_raise(*exceptions); end - # source://webmock//lib/webmock/request_stub.rb#27 + # pkg:gem/webmock#lib/webmock/request_stub.rb:27 def and_return(*response_hashes, &block); end # @raise [ArgumentError] # - # source://webmock//lib/webmock/request_stub.rb#59 + # pkg:gem/webmock#lib/webmock/request_stub.rb:59 def and_return_json(*response_hashes); end - # source://webmock//lib/webmock/request_stub.rb#77 + # pkg:gem/webmock#lib/webmock/request_stub.rb:77 def and_timeout; end # @return [Boolean] # - # source://webmock//lib/webmock/request_stub.rb#90 + # pkg:gem/webmock#lib/webmock/request_stub.rb:90 def has_responses?; end # @return [Boolean] # - # source://webmock//lib/webmock/request_stub.rb#108 + # pkg:gem/webmock#lib/webmock/request_stub.rb:108 def matches?(request_signature); end # Returns the value of attribute request_pattern. # - # source://webmock//lib/webmock/request_stub.rb#6 + # pkg:gem/webmock#lib/webmock/request_stub.rb:6 def request_pattern; end # Sets the attribute request_pattern # # @param value the value to set the attribute request_pattern to. # - # source://webmock//lib/webmock/request_stub.rb#6 + # pkg:gem/webmock#lib/webmock/request_stub.rb:6 def request_pattern=(_arg0); end - # source://webmock//lib/webmock/request_stub.rb#79 + # pkg:gem/webmock#lib/webmock/request_stub.rb:79 def response; end - # source://webmock//lib/webmock/request_stub.rb#94 + # pkg:gem/webmock#lib/webmock/request_stub.rb:94 def then; end - # source://webmock//lib/webmock/request_stub.rb#98 + # pkg:gem/webmock#lib/webmock/request_stub.rb:98 def times(number); end - # source://webmock//lib/webmock/request_stub.rb#61 + # pkg:gem/webmock#lib/webmock/request_stub.rb:61 def to_rack(app, options = T.unsafe(nil)); end - # source://webmock//lib/webmock/request_stub.rb#65 + # pkg:gem/webmock#lib/webmock/request_stub.rb:65 def to_raise(*exceptions); end - # source://webmock//lib/webmock/request_stub.rb#19 + # pkg:gem/webmock#lib/webmock/request_stub.rb:19 def to_return(*response_hashes, &block); end # @raise [ArgumentError] # - # source://webmock//lib/webmock/request_stub.rb#29 + # pkg:gem/webmock#lib/webmock/request_stub.rb:29 def to_return_json(*response_hashes); end - # source://webmock//lib/webmock/request_stub.rb#112 + # pkg:gem/webmock#lib/webmock/request_stub.rb:112 def to_s; end - # source://webmock//lib/webmock/request_stub.rb#73 + # pkg:gem/webmock#lib/webmock/request_stub.rb:73 def to_timeout; end - # source://webmock//lib/webmock/request_stub.rb#14 + # pkg:gem/webmock#lib/webmock/request_stub.rb:14 def with(params = T.unsafe(nil), &block); end class << self - # source://webmock//lib/webmock/request_stub.rb#116 + # pkg:gem/webmock#lib/webmock/request_stub.rb:116 def from_request_signature(signature); end end end -# source://webmock//lib/webmock/response.rb#17 +# pkg:gem/webmock#lib/webmock/response.rb:17 class WebMock::Response # @return [Response] a new instance of Response # - # source://webmock//lib/webmock/response.rb#18 + # pkg:gem/webmock#lib/webmock/response.rb:18 def initialize(options = T.unsafe(nil)); end - # source://webmock//lib/webmock/response.rb#97 + # pkg:gem/webmock#lib/webmock/response.rb:97 def ==(other); end - # source://webmock//lib/webmock/response.rb#40 + # pkg:gem/webmock#lib/webmock/response.rb:40 def body; end - # source://webmock//lib/webmock/response.rb#44 + # pkg:gem/webmock#lib/webmock/response.rb:44 def body=(body); end - # source://webmock//lib/webmock/response.rb#88 + # pkg:gem/webmock#lib/webmock/response.rb:88 def evaluate(request_signature); end - # source://webmock//lib/webmock/response.rb#58 + # pkg:gem/webmock#lib/webmock/response.rb:58 def exception; end - # source://webmock//lib/webmock/response.rb#62 + # pkg:gem/webmock#lib/webmock/response.rb:62 def exception=(exception); end - # source://webmock//lib/webmock/response.rb#29 + # pkg:gem/webmock#lib/webmock/response.rb:29 def headers; end - # source://webmock//lib/webmock/response.rb#33 + # pkg:gem/webmock#lib/webmock/response.rb:33 def headers=(headers); end - # source://webmock//lib/webmock/response.rb#78 + # pkg:gem/webmock#lib/webmock/response.rb:78 def options=(options); end # @raise [@exception] # - # source://webmock//lib/webmock/response.rb#70 + # pkg:gem/webmock#lib/webmock/response.rb:70 def raise_error_if_any; end - # source://webmock//lib/webmock/response.rb#74 + # pkg:gem/webmock#lib/webmock/response.rb:74 def should_timeout; end - # source://webmock//lib/webmock/response.rb#50 + # pkg:gem/webmock#lib/webmock/response.rb:50 def status; end - # source://webmock//lib/webmock/response.rb#54 + # pkg:gem/webmock#lib/webmock/response.rb:54 def status=(status); end private - # source://webmock//lib/webmock/response.rb#115 + # pkg:gem/webmock#lib/webmock/response.rb:115 def assert_valid_body!; end - # source://webmock//lib/webmock/response.rb#128 + # pkg:gem/webmock#lib/webmock/response.rb:128 def read_raw_response(io); end - # source://webmock//lib/webmock/response.rb#107 + # pkg:gem/webmock#lib/webmock/response.rb:107 def stringify_body!; end end -# source://webmock//lib/webmock/response.rb#145 +# pkg:gem/webmock#lib/webmock/response.rb:145 class WebMock::Response::InvalidBody < ::StandardError; end -# source://webmock//lib/webmock/response.rb#7 +# pkg:gem/webmock#lib/webmock/response.rb:7 class WebMock::ResponseFactory class << self - # source://webmock//lib/webmock/response.rb#8 + # pkg:gem/webmock#lib/webmock/response.rb:8 def response_for(options); end end end -# source://webmock//lib/webmock/responses_sequence.rb#5 +# pkg:gem/webmock#lib/webmock/responses_sequence.rb:5 class WebMock::ResponsesSequence # @return [ResponsesSequence] a new instance of ResponsesSequence # - # source://webmock//lib/webmock/responses_sequence.rb#9 + # pkg:gem/webmock#lib/webmock/responses_sequence.rb:9 def initialize(responses); end # @return [Boolean] # - # source://webmock//lib/webmock/responses_sequence.rb#15 + # pkg:gem/webmock#lib/webmock/responses_sequence.rb:15 def end?; end - # source://webmock//lib/webmock/responses_sequence.rb#19 + # pkg:gem/webmock#lib/webmock/responses_sequence.rb:19 def next_response; end # Returns the value of attribute times_to_repeat. # - # source://webmock//lib/webmock/responses_sequence.rb#7 + # pkg:gem/webmock#lib/webmock/responses_sequence.rb:7 def times_to_repeat; end # Sets the attribute times_to_repeat # # @param value the value to set the attribute times_to_repeat to. # - # source://webmock//lib/webmock/responses_sequence.rb#7 + # pkg:gem/webmock#lib/webmock/responses_sequence.rb:7 def times_to_repeat=(_arg0); end private - # source://webmock//lib/webmock/responses_sequence.rb#31 + # pkg:gem/webmock#lib/webmock/responses_sequence.rb:31 def increase_position; end end -# source://webmock//lib/webmock/stub_registry.rb#5 +# pkg:gem/webmock#lib/webmock/stub_registry.rb:5 class WebMock::StubRegistry include ::Singleton::SingletonInstanceMethods include ::Singleton @@ -1356,300 +1356,300 @@ class WebMock::StubRegistry # @return [StubRegistry] a new instance of StubRegistry # - # source://webmock//lib/webmock/stub_registry.rb#10 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:10 def initialize; end - # source://webmock//lib/webmock/stub_registry.rb#14 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:14 def global_stubs; end - # source://webmock//lib/webmock/stub_registry.rb#22 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:22 def register_global_stub(order = T.unsafe(nil), &block); end - # source://webmock//lib/webmock/stub_registry.rb#50 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:50 def register_request_stub(stub); end # @return [Boolean] # - # source://webmock//lib/webmock/stub_registry.rb#61 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:61 def registered_request?(request_signature); end - # source://webmock//lib/webmock/stub_registry.rb#55 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:55 def remove_request_stub(stub); end # Returns the value of attribute request_stubs. # - # source://webmock//lib/webmock/stub_registry.rb#8 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:8 def request_stubs; end # Sets the attribute request_stubs # # @param value the value to set the attribute request_stubs to. # - # source://webmock//lib/webmock/stub_registry.rb#8 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:8 def request_stubs=(_arg0); end - # source://webmock//lib/webmock/stub_registry.rb#18 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:18 def reset!; end - # source://webmock//lib/webmock/stub_registry.rb#65 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:65 def response_for_request(request_signature); end private - # source://webmock//lib/webmock/stub_registry.rb#79 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:79 def evaluate_response_for_request(response, request_signature); end - # source://webmock//lib/webmock/stub_registry.rb#72 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:72 def request_stub_for(request_signature); end class << self private - # source://webmock//lib/webmock/stub_registry.rb#6 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:6 def allocate; end - # source://webmock//lib/webmock/stub_registry.rb#6 + # pkg:gem/webmock#lib/webmock/stub_registry.rb:6 def new(*_arg0); end end end -# source://webmock//lib/webmock/stub_request_snippet.rb#4 +# pkg:gem/webmock#lib/webmock/stub_request_snippet.rb:4 class WebMock::StubRequestSnippet # @return [StubRequestSnippet] a new instance of StubRequestSnippet # - # source://webmock//lib/webmock/stub_request_snippet.rb#5 + # pkg:gem/webmock#lib/webmock/stub_request_snippet.rb:5 def initialize(request_stub); end - # source://webmock//lib/webmock/stub_request_snippet.rb#9 + # pkg:gem/webmock#lib/webmock/stub_request_snippet.rb:9 def body_pattern; end - # source://webmock//lib/webmock/stub_request_snippet.rb#13 + # pkg:gem/webmock#lib/webmock/stub_request_snippet.rb:13 def to_s(with_response = T.unsafe(nil)); end end -# source://webmock//lib/webmock/request_pattern.rb#180 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:180 class WebMock::URIAddressablePattern < ::WebMock::URIPattern - # source://webmock//lib/webmock/request_pattern.rb#181 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:181 def add_query_params(query_params); end private # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#206 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:206 def matches_with_variations?(uri); end - # source://webmock//lib/webmock/request_pattern.rb#202 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:202 def pattern_inspect; end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#192 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:192 def pattern_matches?(uri); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#218 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:218 def template_matches_uri?(template, uri); end end -# source://webmock//lib/webmock/request_pattern.rb#164 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:164 class WebMock::URICallablePattern < ::WebMock::URIPattern private # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#167 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:167 def pattern_matches?(uri); end end -# source://webmock//lib/webmock/request_pattern.rb#113 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:113 class WebMock::URIPattern include ::WebMock::RSpecMatcherDetector # @return [URIPattern] a new instance of URIPattern # - # source://webmock//lib/webmock/request_pattern.rb#116 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:116 def initialize(pattern); end - # source://webmock//lib/webmock/request_pattern.rb#128 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:128 def add_query_params(query_params); end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#143 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:143 def matches?(uri); end - # source://webmock//lib/webmock/request_pattern.rb#147 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:147 def to_s; end private - # source://webmock//lib/webmock/request_pattern.rb#155 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:155 def pattern_inspect; end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#159 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:159 def query_params_matches?(uri); end end -# source://webmock//lib/webmock/request_pattern.rb#172 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:172 class WebMock::URIRegexpPattern < ::WebMock::URIPattern private # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#175 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:175 def pattern_matches?(uri); end end -# source://webmock//lib/webmock/request_pattern.rb#225 +# pkg:gem/webmock#lib/webmock/request_pattern.rb:225 class WebMock::URIStringPattern < ::WebMock::URIPattern - # source://webmock//lib/webmock/request_pattern.rb#226 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:226 def add_query_params(query_params); end private - # source://webmock//lib/webmock/request_pattern.rb#249 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:249 def pattern_inspect; end # @return [Boolean] # - # source://webmock//lib/webmock/request_pattern.rb#237 + # pkg:gem/webmock#lib/webmock/request_pattern.rb:237 def pattern_matches?(uri); end end -# source://webmock//lib/webmock/util/query_mapper.rb#3 +# pkg:gem/webmock#lib/webmock/util/query_mapper.rb:3 module WebMock::Util; end -# source://webmock//lib/webmock/util/hash_counter.rb#7 +# pkg:gem/webmock#lib/webmock/util/hash_counter.rb:7 class WebMock::Util::HashCounter # @return [HashCounter] a new instance of HashCounter # - # source://webmock//lib/webmock/util/hash_counter.rb#10 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:10 def initialize; end - # source://webmock//lib/webmock/util/hash_counter.rb#38 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:38 def each(&block); end - # source://webmock//lib/webmock/util/hash_counter.rb#24 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:24 def get(key); end # Returns the value of attribute hash. # - # source://webmock//lib/webmock/util/hash_counter.rb#8 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:8 def hash; end # Sets the attribute hash # # @param value the value to set the attribute hash to. # - # source://webmock//lib/webmock/util/hash_counter.rb#8 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:8 def hash=(_arg0); end - # source://webmock//lib/webmock/util/hash_counter.rb#17 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:17 def put(key, num = T.unsafe(nil)); end - # source://webmock//lib/webmock/util/hash_counter.rb#30 + # pkg:gem/webmock#lib/webmock/util/hash_counter.rb:30 def select(&block); end end -# source://webmock//lib/webmock/util/hash_keys_stringifier.rb#5 +# pkg:gem/webmock#lib/webmock/util/hash_keys_stringifier.rb:5 class WebMock::Util::HashKeysStringifier class << self - # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#7 + # pkg:gem/webmock#lib/webmock/util/hash_keys_stringifier.rb:7 def stringify_keys!(arg, options = T.unsafe(nil)); end end end -# source://webmock//lib/webmock/util/headers.rb#7 +# pkg:gem/webmock#lib/webmock/util/headers.rb:7 class WebMock::Util::Headers class << self - # source://webmock//lib/webmock/util/headers.rb#59 + # pkg:gem/webmock#lib/webmock/util/headers.rb:59 def basic_auth_header(*credentials); end - # source://webmock//lib/webmock/util/headers.rb#55 + # pkg:gem/webmock#lib/webmock/util/headers.rb:55 def decode_userinfo_from_header(header); end - # source://webmock//lib/webmock/util/headers.rb#13 + # pkg:gem/webmock#lib/webmock/util/headers.rb:13 def normalize_headers(headers); end - # source://webmock//lib/webmock/util/headers.rb#64 + # pkg:gem/webmock#lib/webmock/util/headers.rb:64 def normalize_name(name); end - # source://webmock//lib/webmock/util/headers.rb#40 + # pkg:gem/webmock#lib/webmock/util/headers.rb:40 def pp_headers_string(headers); end - # source://webmock//lib/webmock/util/headers.rb#26 + # pkg:gem/webmock#lib/webmock/util/headers.rb:26 def sorted_headers_string(headers); end end end -# source://webmock//lib/webmock/util/headers.rb#11 +# pkg:gem/webmock#lib/webmock/util/headers.rb:11 WebMock::Util::Headers::JOIN = T.let(T.unsafe(nil), String) -# source://webmock//lib/webmock/util/headers.rb#10 +# pkg:gem/webmock#lib/webmock/util/headers.rb:10 WebMock::Util::Headers::NONSTANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String) -# source://webmock//lib/webmock/util/headers.rb#9 +# pkg:gem/webmock#lib/webmock/util/headers.rb:9 WebMock::Util::Headers::STANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String) -# source://webmock//lib/webmock/util/parsers/parse_error.rb#3 +# pkg:gem/webmock#lib/webmock/util/parsers/parse_error.rb:3 module WebMock::Util::Parsers; end -# source://webmock//lib/webmock/util/parsers/json.rb#15 +# pkg:gem/webmock#lib/webmock/util/parsers/json.rb:15 class WebMock::Util::Parsers::JSON class << self # Ensure that ":" and "," are always followed by a space # - # source://webmock//lib/webmock/util/parsers/json.rb#30 + # pkg:gem/webmock#lib/webmock/util/parsers/json.rb:30 def convert_json_to_yaml(json); end - # source://webmock//lib/webmock/util/parsers/json.rb#16 + # pkg:gem/webmock#lib/webmock/util/parsers/json.rb:16 def parse(json); end - # source://webmock//lib/webmock/util/parsers/json.rb#25 + # pkg:gem/webmock#lib/webmock/util/parsers/json.rb:25 def unescape(str); end end end -# source://webmock//lib/webmock/util/parsers/parse_error.rb#4 +# pkg:gem/webmock#lib/webmock/util/parsers/parse_error.rb:4 class WebMock::Util::Parsers::ParseError < ::StandardError; end -# source://webmock//lib/webmock/util/parsers/xml.rb#7 +# pkg:gem/webmock#lib/webmock/util/parsers/xml.rb:7 class WebMock::Util::Parsers::XML class << self - # source://webmock//lib/webmock/util/parsers/xml.rb#8 + # pkg:gem/webmock#lib/webmock/util/parsers/xml.rb:8 def parse(xml); end end end -# source://webmock//lib/webmock/util/query_mapper.rb#4 +# pkg:gem/webmock#lib/webmock/util/query_mapper.rb:4 class WebMock::Util::QueryMapper class << self - # source://webmock//lib/webmock/util/query_mapper.rb#81 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:81 def collect_query_hash(query_array, empty_accumulator, options); end - # source://webmock//lib/webmock/util/query_mapper.rb#74 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:74 def collect_query_parts(query); end - # source://webmock//lib/webmock/util/query_mapper.rb#221 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:221 def dehash(hash); end - # source://webmock//lib/webmock/util/query_mapper.rb#106 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:106 def fill_accumulator_for_dot(accumulator, key, value); end - # source://webmock//lib/webmock/util/query_mapper.rb#95 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:95 def fill_accumulator_for_flat(accumulator, key, value); end - # source://webmock//lib/webmock/util/query_mapper.rb#102 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:102 def fill_accumulator_for_flat_array(accumulator, key, value); end - # source://webmock//lib/webmock/util/query_mapper.rb#125 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:125 def fill_accumulator_for_subscript(accumulator, key, value); end - # source://webmock//lib/webmock/util/query_mapper.rb#63 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:63 def normalize_query_hash(query_hash, empty_accumulator, options); end # Converts the query component to a Hash value. @@ -1682,12 +1682,12 @@ class WebMock::Util::QueryMapper # @param [Symbol] [Hash] a customizable set of options # @return [Hash, Array] The query string parsed as a Hash or Array object. # - # source://webmock//lib/webmock/util/query_mapper.rb#42 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:42 def query_to_values(query, options = T.unsafe(nil)); end # new_query_values have form [['key1', 'value1'], ['key2', 'value2']] # - # source://webmock//lib/webmock/util/query_mapper.rb#247 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:247 def to_query(parent, value, options = T.unsafe(nil)); end # Sets the query component for this URI from a Hash object. @@ -1696,122 +1696,122 @@ class WebMock::Util::QueryMapper # # @param new_query_values [Hash, #to_hash, Array] The new query values. # - # source://webmock//lib/webmock/util/query_mapper.rb#179 + # pkg:gem/webmock#lib/webmock/util/query_mapper.rb:179 def values_to_query(new_query_values, options = T.unsafe(nil)); end end end -# source://webmock//lib/webmock/util/uri.rb#7 +# pkg:gem/webmock#lib/webmock/util/uri.rb:7 class WebMock::Util::URI class << self - # source://webmock//lib/webmock/util/uri.rb#67 + # pkg:gem/webmock#lib/webmock/util/uri.rb:67 def encode_unsafe_chars_in_userinfo(userinfo); end - # source://webmock//lib/webmock/util/uri.rb#28 + # pkg:gem/webmock#lib/webmock/util/uri.rb:28 def heuristic_parse(uri); end # @return [Boolean] # - # source://webmock//lib/webmock/util/uri.rb#71 + # pkg:gem/webmock#lib/webmock/util/uri.rb:71 def is_uri_localhost?(uri); end - # source://webmock//lib/webmock/util/uri.rb#32 + # pkg:gem/webmock#lib/webmock/util/uri.rb:32 def normalize_uri(uri); end - # source://webmock//lib/webmock/util/uri.rb#78 + # pkg:gem/webmock#lib/webmock/util/uri.rb:78 def sort_query_values(query_values); end - # source://webmock//lib/webmock/util/uri.rb#59 + # pkg:gem/webmock#lib/webmock/util/uri.rb:59 def strip_default_port_from_uri_string(uri_string); end - # source://webmock//lib/webmock/util/uri.rb#89 + # pkg:gem/webmock#lib/webmock/util/uri.rb:89 def uris_encoded_and_unencoded(uris); end - # source://webmock//lib/webmock/util/uri.rb#83 + # pkg:gem/webmock#lib/webmock/util/uri.rb:83 def uris_with_inferred_port_and_without(uris); end - # source://webmock//lib/webmock/util/uri.rb#98 + # pkg:gem/webmock#lib/webmock/util/uri.rb:98 def uris_with_scheme_and_without(uris); end - # source://webmock//lib/webmock/util/uri.rb#104 + # pkg:gem/webmock#lib/webmock/util/uri.rb:104 def uris_with_trailing_slash_and_without(uris); end - # source://webmock//lib/webmock/util/uri.rb#38 + # pkg:gem/webmock#lib/webmock/util/uri.rb:38 def variations_of_uri_as_strings(uri_object, only_with_scheme: T.unsafe(nil)); end end end -# source://webmock//lib/webmock/util/uri.rb#12 +# pkg:gem/webmock#lib/webmock/util/uri.rb:12 WebMock::Util::URI::ADDRESSABLE_URIS = T.let(T.unsafe(nil), Hash) -# source://webmock//lib/webmock/util/uri.rb#8 +# pkg:gem/webmock#lib/webmock/util/uri.rb:8 module WebMock::Util::URI::CharacterClasses; end -# source://webmock//lib/webmock/util/uri.rb#9 +# pkg:gem/webmock#lib/webmock/util/uri.rb:9 WebMock::Util::URI::CharacterClasses::USERINFO = T.let(T.unsafe(nil), String) -# source://webmock//lib/webmock/util/uri.rb#16 +# pkg:gem/webmock#lib/webmock/util/uri.rb:16 WebMock::Util::URI::NORMALIZED_URIS = T.let(T.unsafe(nil), Hash) -# source://webmock//lib/webmock/util/values_stringifier.rb#3 +# pkg:gem/webmock#lib/webmock/util/values_stringifier.rb:3 class WebMock::Util::ValuesStringifier class << self - # source://webmock//lib/webmock/util/values_stringifier.rb#4 + # pkg:gem/webmock#lib/webmock/util/values_stringifier.rb:4 def stringify_values(value); end end end -# source://webmock//lib/webmock/version.rb#4 +# pkg:gem/webmock#lib/webmock/version.rb:4 WebMock::VERSION = T.let(T.unsafe(nil), String) -# source://webmock//lib/webmock/util/version_checker.rb#28 +# pkg:gem/webmock#lib/webmock/util/version_checker.rb:28 class WebMock::VersionChecker # @return [VersionChecker] a new instance of VersionChecker # - # source://webmock//lib/webmock/util/version_checker.rb#29 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:29 def initialize(library_name, library_version, min_patch_level, max_minor_version = T.unsafe(nil), unsupported_versions = T.unsafe(nil)); end - # source://webmock//lib/webmock/util/version_checker.rb#45 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:45 def check_version!; end private - # source://webmock//lib/webmock/util/version_checker.rb#109 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:109 def colorize(text, color_code); end - # source://webmock//lib/webmock/util/version_checker.rb#86 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:86 def compare_version; end - # source://webmock//lib/webmock/util/version_checker.rb#105 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:105 def parse_version(version); end # @return [Boolean] # - # source://webmock//lib/webmock/util/version_checker.rb#57 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:57 def too_high?; end # @return [Boolean] # - # source://webmock//lib/webmock/util/version_checker.rb#53 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:53 def too_low?; end # @return [Boolean] # - # source://webmock//lib/webmock/util/version_checker.rb#61 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:61 def unsupported_version?; end - # source://webmock//lib/webmock/util/version_checker.rb#98 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:98 def version_requirement; end - # source://webmock//lib/webmock/util/version_checker.rb#70 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:70 def warn_about_too_high; end - # source://webmock//lib/webmock/util/version_checker.rb#65 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:65 def warn_about_too_low; end - # source://webmock//lib/webmock/util/version_checker.rb#76 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:76 def warn_about_unsupported_version; end - # source://webmock//lib/webmock/util/version_checker.rb#82 + # pkg:gem/webmock#lib/webmock/util/version_checker.rb:82 def warn_in_red(text); 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 90bbae548..e68d26b82 100644 --- a/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +++ b/sorbet/rbi/gems/websocket-driver@0.7.6.rbi @@ -5,151 +5,151 @@ # Please instead update this file by running `bin/tapioca gem websocket-driver`. -# source://websocket-driver//lib/websocket/driver.rb#16 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:16 module WebSocket; end -# source://websocket-driver//lib/websocket/driver.rb#19 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:19 class WebSocket::Driver include ::WebSocket::Driver::EventEmitter # @return [Driver] a new instance of Driver # - # source://websocket-driver//lib/websocket/driver.rb#72 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:72 def initialize(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver.rb#90 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:90 def add_extension(extension); end - # source://websocket-driver//lib/websocket/driver.rb#123 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:123 def binary(message); end - # source://websocket-driver//lib/websocket/driver.rb#135 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:135 def close(reason = T.unsafe(nil), code = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver.rb#127 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:127 def ping(*args); end - # source://websocket-driver//lib/websocket/driver.rb#131 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:131 def pong(*args); end # Returns the value of attribute protocol. # - # source://websocket-driver//lib/websocket/driver.rb#70 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:70 def protocol; end # Returns the value of attribute ready_state. # - # source://websocket-driver//lib/websocket/driver.rb#70 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:70 def ready_state; end - # source://websocket-driver//lib/websocket/driver.rb#94 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:94 def set_header(name, value); end - # source://websocket-driver//lib/websocket/driver.rb#100 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:100 def start; end - # source://websocket-driver//lib/websocket/driver.rb#85 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:85 def state; end - # source://websocket-driver//lib/websocket/driver.rb#118 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:118 def text(message); end private - # source://websocket-driver//lib/websocket/driver.rb#156 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:156 def fail(type, message); end - # source://websocket-driver//lib/websocket/driver.rb#144 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:144 def fail_handshake(error); end - # source://websocket-driver//lib/websocket/driver.rb#162 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:162 def open; end - # source://websocket-driver//lib/websocket/driver.rb#169 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:169 def queue(message); end class << self - # source://websocket-driver//lib/websocket/driver.rb#174 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:174 def client(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver.rb#198 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:198 def encode(data, encoding = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver.rb#213 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:213 def host_header(uri); end - # source://websocket-driver//lib/websocket/driver.rb#182 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:182 def rack(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver.rb#178 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:178 def server(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver.rb#221 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:221 def validate_options(options, valid_keys); end # @return [Boolean] # - # source://websocket-driver//lib/websocket/driver.rb#229 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:229 def websocket?(env); end end end -# source://websocket-driver//lib/websocket/driver/client.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/client.rb:4 class WebSocket::Driver::Client < ::WebSocket::Driver::Hybi # @return [Client] a new instance of Client # - # source://websocket-driver//lib/websocket/driver/client.rb#13 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:13 def initialize(socket, options = T.unsafe(nil)); end # Returns the value of attribute headers. # - # source://websocket-driver//lib/websocket/driver/client.rb#11 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:11 def headers; end - # source://websocket-driver//lib/websocket/driver/client.rb#60 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:60 def parse(chunk); end - # source://websocket-driver//lib/websocket/driver/client.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:49 def proxy(origin, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/client.rb#53 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:53 def start; end # Returns the value of attribute status. # - # source://websocket-driver//lib/websocket/driver/client.rb#11 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:11 def status; end - # source://websocket-driver//lib/websocket/driver/client.rb#45 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:45 def version; end private - # source://websocket-driver//lib/websocket/driver/client.rb#86 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:86 def fail_handshake(message); end - # source://websocket-driver//lib/websocket/driver/client.rb#77 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:77 def handshake_request; end - # source://websocket-driver//lib/websocket/driver/client.rb#93 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:93 def validate_handshake; end class << self - # source://websocket-driver//lib/websocket/driver/client.rb#7 + # pkg:gem/websocket-driver#lib/websocket/driver/client.rb:7 def generate_key; end end end -# source://websocket-driver//lib/websocket/driver/client.rb#5 +# pkg:gem/websocket-driver#lib/websocket/driver/client.rb:5 WebSocket::Driver::Client::VALID_SCHEMES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver.rb#53 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:53 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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def code; end # Sets the attribute code @@ -157,14 +157,14 @@ class WebSocket::Driver::CloseEvent < ::Struct # @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 + # pkg:gem/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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def reason; end # Sets the attribute reason @@ -172,509 +172,509 @@ class WebSocket::Driver::CloseEvent < ::Struct # @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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def reason=(_); end class << self - # source://websocket-driver//lib/websocket/driver.rb#53 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def [](*_arg0); end - # source://websocket-driver//lib/websocket/driver.rb#53 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def inspect; end - # source://websocket-driver//lib/websocket/driver.rb#53 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def keyword_init?; end - # source://websocket-driver//lib/websocket/driver.rb#53 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def members; end - # source://websocket-driver//lib/websocket/driver.rb#53 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:53 def new(*_arg0); end end end -# source://websocket-driver//lib/websocket/driver.rb#57 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:57 class WebSocket::Driver::ConfigurationError < ::ArgumentError; end -# source://websocket-driver//lib/websocket/driver.rb#48 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:48 class WebSocket::Driver::ConnectEvent < ::Struct class << self - # source://websocket-driver//lib/websocket/driver.rb#48 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:48 def [](*_arg0); end - # source://websocket-driver//lib/websocket/driver.rb#48 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:48 def inspect; end - # source://websocket-driver//lib/websocket/driver.rb#48 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:48 def keyword_init?; end - # source://websocket-driver//lib/websocket/driver.rb#48 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:48 def members; end - # source://websocket-driver//lib/websocket/driver.rb#48 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:48 def new(*_arg0); end end end -# source://websocket-driver//lib/websocket/driver/draft75.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:4 class WebSocket::Driver::Draft75 < ::WebSocket::Driver # @return [Draft75] a new instance of Draft75 # - # source://websocket-driver//lib/websocket/driver/draft75.rb#5 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:5 def initialize(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/draft75.rb#21 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:21 def close(reason = T.unsafe(nil), code = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/draft75.rb#73 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:73 def frame(buffer, type = T.unsafe(nil), error_type = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/draft75.rb#28 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:28 def parse(chunk); end - # source://websocket-driver//lib/websocket/driver/draft75.rb#17 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:17 def version; end private - # source://websocket-driver//lib/websocket/driver/draft75.rb#82 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:82 def handshake_response; end - # source://websocket-driver//lib/websocket/driver/draft75.rb#88 + # pkg:gem/websocket-driver#lib/websocket/driver/draft75.rb:88 def parse_leading_byte(octet); end end -# source://websocket-driver//lib/websocket/driver/draft76.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:4 class WebSocket::Driver::Draft76 < ::WebSocket::Driver::Draft75 # @return [Draft76] a new instance of Draft76 # - # source://websocket-driver//lib/websocket/driver/draft76.rb#7 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:7 def initialize(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/draft76.rb#31 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:31 def close(reason = T.unsafe(nil), code = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/draft76.rb#25 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:25 def start; end - # source://websocket-driver//lib/websocket/driver/draft76.rb#21 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:21 def version; end private # @raise [ProtocolError] # - # source://websocket-driver//lib/websocket/driver/draft76.rb#41 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:41 def handshake_response; end - # source://websocket-driver//lib/websocket/driver/draft76.rb#66 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:66 def handshake_signature; end - # source://websocket-driver//lib/websocket/driver/draft76.rb#88 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:88 def number_from_key(key); end - # source://websocket-driver//lib/websocket/driver/draft76.rb#81 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:81 def parse_leading_byte(octet); end - # source://websocket-driver//lib/websocket/driver/draft76.rb#73 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:73 def send_handshake_body; end - # source://websocket-driver//lib/websocket/driver/draft76.rb#93 + # pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:93 def spaces_in_key(key); end end -# source://websocket-driver//lib/websocket/driver/draft76.rb#5 +# pkg:gem/websocket-driver#lib/websocket/driver/draft76.rb:5 WebSocket::Driver::Draft76::BODY_SIZE = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/event_emitter.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:4 module WebSocket::Driver::EventEmitter - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#5 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:5 def initialize; end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#9 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:9 def add_listener(event, callable = T.unsafe(nil), &block); end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#37 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:37 def emit(event, *args); end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#43 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:43 def listener_count(event); end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#48 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:48 def listeners(event); end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#15 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:15 def on(event, callable = T.unsafe(nil), &block); end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#29 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:29 def remove_all_listeners(event = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/event_emitter.rb#23 + # pkg:gem/websocket-driver#lib/websocket/driver/event_emitter.rb:23 def remove_listener(event, callable = T.unsafe(nil), &block); end end -# source://websocket-driver//lib/websocket/driver/headers.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:4 class WebSocket::Driver::Headers # @return [Headers] a new instance of Headers # - # source://websocket-driver//lib/websocket/driver/headers.rb#7 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:7 def initialize(received = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/headers.rb#20 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:20 def [](name); end - # source://websocket-driver//lib/websocket/driver/headers.rb#24 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:24 def []=(name, value); end - # source://websocket-driver//lib/websocket/driver/headers.rb#15 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:15 def clear; end - # source://websocket-driver//lib/websocket/driver/headers.rb#31 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:31 def inspect; end - # source://websocket-driver//lib/websocket/driver/headers.rb#35 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:35 def to_h; end - # source://websocket-driver//lib/websocket/driver/headers.rb#39 + # pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:39 def to_s; end end -# source://websocket-driver//lib/websocket/driver/headers.rb#5 +# pkg:gem/websocket-driver#lib/websocket/driver/headers.rb:5 WebSocket::Driver::Headers::ALLOWED_DUPLICATES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/hybi.rb#6 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:6 class WebSocket::Driver::Hybi < ::WebSocket::Driver # @return [Hybi] a new instance of Hybi # - # source://websocket-driver//lib/websocket/driver/hybi.rb#59 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:59 def initialize(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#86 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:86 def add_extension(extension); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#129 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:129 def binary(message); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#142 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:142 def close(reason = T.unsafe(nil), code = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#159 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:159 def frame(buffer, type = T.unsafe(nil), code = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#91 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:91 def parse(chunk); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#133 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:133 def ping(message = T.unsafe(nil), &callback); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#138 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:138 def pong(message = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#82 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:82 def version; end private - # source://websocket-driver//lib/websocket/driver/hybi.rb#336 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:336 def check_frame_length; end - # source://websocket-driver//lib/websocket/driver/hybi.rb#347 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:347 def emit_frame(buffer); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#395 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:395 def emit_message; end - # source://websocket-driver//lib/websocket/driver/hybi.rb#270 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:270 def fail(type, message); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#232 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:232 def handshake_response; end - # source://websocket-driver//lib/websocket/driver/hybi.rb#325 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:325 def parse_extended_length(buffer); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#308 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:308 def parse_length(octet); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#275 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:275 def parse_opcode(octet); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#196 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:196 def send_frame(frame); end - # source://websocket-driver//lib/websocket/driver/hybi.rb#258 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:258 def shutdown(code, reason, error = T.unsafe(nil)); end class << self - # source://websocket-driver//lib/websocket/driver/hybi.rb#12 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:12 def generate_accept(key); end end end -# source://websocket-driver//lib/websocket/driver/hybi.rb#19 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:19 WebSocket::Driver::Hybi::BYTE = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#53 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:53 WebSocket::Driver::Hybi::DEFAULT_ERROR_CODE = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#40 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:40 WebSocket::Driver::Hybi::ERRORS = T.let(T.unsafe(nil), Hash) -# source://websocket-driver//lib/websocket/driver/hybi.rb#52 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:52 WebSocket::Driver::Hybi::ERROR_CODES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/hybi.rb#20 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:20 WebSocket::Driver::Hybi::FIN = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi/frame.rb#5 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:5 class WebSocket::Driver::Hybi::Frame # Returns the value of attribute final. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def final; end # Sets the attribute final # # @param value the value to set the attribute final to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def final=(_arg0); end # Returns the value of attribute length. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def length; end # Sets the attribute length # # @param value the value to set the attribute length to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def length=(_arg0); end # Returns the value of attribute length_bytes. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def length_bytes; end # Sets the attribute length_bytes # # @param value the value to set the attribute length_bytes to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def length_bytes=(_arg0); end # Returns the value of attribute masked. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def masked; end # Sets the attribute masked # # @param value the value to set the attribute masked to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def masked=(_arg0); end # Returns the value of attribute masking_key. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def masking_key; end # Sets the attribute masking_key # # @param value the value to set the attribute masking_key to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def masking_key=(_arg0); end # Returns the value of attribute opcode. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def opcode; end # Sets the attribute opcode # # @param value the value to set the attribute opcode to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def opcode=(_arg0); end # Returns the value of attribute payload. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def payload; end # Sets the attribute payload # # @param value the value to set the attribute payload to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def payload=(_arg0); end # Returns the value of attribute rsv1. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def rsv1; end # Sets the attribute rsv1 # # @param value the value to set the attribute rsv1 to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def rsv1=(_arg0); end # Returns the value of attribute rsv2. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def rsv2; end # Sets the attribute rsv2 # # @param value the value to set the attribute rsv2 to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def rsv2=(_arg0); end # Returns the value of attribute rsv3. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def rsv3; end # Sets the attribute rsv3 # # @param value the value to set the attribute rsv3 to. # - # source://websocket-driver//lib/websocket/driver/hybi/frame.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/frame.rb:6 def rsv3=(_arg0); end end -# source://websocket-driver//lib/websocket/driver/hybi.rb#17 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:17 WebSocket::Driver::Hybi::GUID = T.let(T.unsafe(nil), String) -# source://websocket-driver//lib/websocket/driver/hybi.rb#25 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:25 WebSocket::Driver::Hybi::LENGTH = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#20 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:20 WebSocket::Driver::Hybi::MASK = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#55 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:55 WebSocket::Driver::Hybi::MAX_RESERVED_ERROR = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#37 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:37 WebSocket::Driver::Hybi::MESSAGE_OPCODES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/hybi.rb#54 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:54 WebSocket::Driver::Hybi::MIN_RESERVED_ERROR = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi/message.rb#5 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:5 class WebSocket::Driver::Hybi::Message # @return [Message] a new instance of Message # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#12 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:12 def initialize; end - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#20 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:20 def <<(frame); end # Returns the value of attribute data. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def data; end # Sets the attribute data # # @param value the value to set the attribute data to. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def data=(_arg0); end # Returns the value of attribute opcode. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def opcode; end # Sets the attribute opcode # # @param value the value to set the attribute opcode to. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def opcode=(_arg0); end # Returns the value of attribute rsv1. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def rsv1; end # Sets the attribute rsv1 # # @param value the value to set the attribute rsv1 to. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def rsv1=(_arg0); end # Returns the value of attribute rsv2. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def rsv2; end # Sets the attribute rsv2 # # @param value the value to set the attribute rsv2 to. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def rsv2=(_arg0); end # Returns the value of attribute rsv3. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def rsv3; end # Sets the attribute rsv3 # # @param value the value to set the attribute rsv3 to. # - # source://websocket-driver//lib/websocket/driver/hybi/message.rb#6 + # pkg:gem/websocket-driver#lib/websocket/driver/hybi/message.rb:6 def rsv3=(_arg0); end end -# source://websocket-driver//lib/websocket/driver/hybi.rb#24 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:24 WebSocket::Driver::Hybi::OPCODE = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#27 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:27 WebSocket::Driver::Hybi::OPCODES = T.let(T.unsafe(nil), Hash) -# source://websocket-driver//lib/websocket/driver/hybi.rb#36 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:36 WebSocket::Driver::Hybi::OPCODE_CODES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/hybi.rb#38 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:38 WebSocket::Driver::Hybi::OPENING_OPCODES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/hybi.rb#57 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:57 WebSocket::Driver::Hybi::PACK_FORMATS = T.let(T.unsafe(nil), Hash) -# source://websocket-driver//lib/websocket/driver/hybi.rb#21 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:21 WebSocket::Driver::Hybi::RSV1 = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#22 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:22 WebSocket::Driver::Hybi::RSV2 = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#23 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:23 WebSocket::Driver::Hybi::RSV3 = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver/hybi.rb#16 +# pkg:gem/websocket-driver#lib/websocket/driver/hybi.rb:16 WebSocket::Driver::Hybi::VERSION = T.let(T.unsafe(nil), String) -# source://websocket-driver//lib/websocket/driver.rb#44 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:44 WebSocket::Driver::MAX_LENGTH = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver.rb#50 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:50 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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def data; end # Sets the attribute data @@ -682,57 +682,57 @@ class WebSocket::Driver::MessageEvent < ::Struct # @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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def data=(_); end class << self - # source://websocket-driver//lib/websocket/driver.rb#50 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def [](*_arg0); end - # source://websocket-driver//lib/websocket/driver.rb#50 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def inspect; end - # source://websocket-driver//lib/websocket/driver.rb#50 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def keyword_init?; end - # source://websocket-driver//lib/websocket/driver.rb#50 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def members; end - # source://websocket-driver//lib/websocket/driver.rb#50 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:50 def new(*_arg0); end end end -# source://websocket-driver//lib/websocket/driver.rb#49 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:49 class WebSocket::Driver::OpenEvent < ::Struct class << self - # source://websocket-driver//lib/websocket/driver.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:49 def [](*_arg0); end - # source://websocket-driver//lib/websocket/driver.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:49 def inspect; end - # source://websocket-driver//lib/websocket/driver.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:49 def keyword_init?; end - # source://websocket-driver//lib/websocket/driver.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:49 def members; end - # source://websocket-driver//lib/websocket/driver.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:49 def new(*_arg0); end end end -# source://websocket-driver//lib/websocket/driver.rb#45 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:45 WebSocket::Driver::PORTS = T.let(T.unsafe(nil), Hash) -# source://websocket-driver//lib/websocket/driver.rb#51 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:51 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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def data; end # Sets the attribute data @@ -740,34 +740,34 @@ class WebSocket::Driver::PingEvent < ::Struct # @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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def data=(_); end class << self - # source://websocket-driver//lib/websocket/driver.rb#51 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def [](*_arg0); end - # source://websocket-driver//lib/websocket/driver.rb#51 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def inspect; end - # source://websocket-driver//lib/websocket/driver.rb#51 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def keyword_init?; end - # source://websocket-driver//lib/websocket/driver.rb#51 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def members; end - # source://websocket-driver//lib/websocket/driver.rb#51 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:51 def new(*_arg0); end end end -# source://websocket-driver//lib/websocket/driver.rb#52 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:52 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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def data; end # Sets the attribute data @@ -775,202 +775,202 @@ class WebSocket::Driver::PongEvent < ::Struct # @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 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def data=(_); end class << self - # source://websocket-driver//lib/websocket/driver.rb#52 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def [](*_arg0); end - # source://websocket-driver//lib/websocket/driver.rb#52 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def inspect; end - # source://websocket-driver//lib/websocket/driver.rb#52 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def keyword_init?; end - # source://websocket-driver//lib/websocket/driver.rb#52 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def members; end - # source://websocket-driver//lib/websocket/driver.rb#52 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:52 def new(*_arg0); end end end -# source://websocket-driver//lib/websocket/driver.rb#55 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:55 class WebSocket::Driver::ProtocolError < ::StandardError; end -# source://websocket-driver//lib/websocket/driver/proxy.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:4 class WebSocket::Driver::Proxy include ::WebSocket::Driver::EventEmitter # @return [Proxy] a new instance of Proxy # - # source://websocket-driver//lib/websocket/driver/proxy.rb#9 + # pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:9 def initialize(client, origin, options); end # Returns the value of attribute headers. # - # source://websocket-driver//lib/websocket/driver/proxy.rb#7 + # pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:7 def headers; end - # source://websocket-driver//lib/websocket/driver/proxy.rb#49 + # pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:49 def parse(chunk); end - # source://websocket-driver//lib/websocket/driver/proxy.rb#31 + # pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:31 def set_header(name, value); end - # source://websocket-driver//lib/websocket/driver/proxy.rb#37 + # pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:37 def start; end # Returns the value of attribute status. # - # source://websocket-driver//lib/websocket/driver/proxy.rb#7 + # pkg:gem/websocket-driver#lib/websocket/driver/proxy.rb:7 def status; end end -# source://websocket-driver//lib/websocket/driver.rb#46 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:46 WebSocket::Driver::STATES = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/server.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/server.rb:4 class WebSocket::Driver::Server < ::WebSocket::Driver # @return [Server] a new instance of Server # - # source://websocket-driver//lib/websocket/driver/server.rb#7 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:7 def initialize(socket, options = T.unsafe(nil)); end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def add_extension(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def binary(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def close(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#13 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:13 def env; end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def frame(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#43 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:43 def parse(chunk); end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def ping(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#38 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:38 def protocol; end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def set_header(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def start(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#27 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:27 def text(*args, &block); end - # source://websocket-driver//lib/websocket/driver/server.rb#17 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:17 def url; end - # source://websocket-driver//lib/websocket/driver/server.rb#38 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:38 def version; end - # source://websocket-driver//lib/websocket/driver/server.rb#60 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:60 def write(buffer); end private - # source://websocket-driver//lib/websocket/driver/server.rb#66 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:66 def fail_request(message); end - # source://websocket-driver//lib/websocket/driver/server.rb#71 + # pkg:gem/websocket-driver#lib/websocket/driver/server.rb:71 def open; end end -# source://websocket-driver//lib/websocket/driver/server.rb#5 +# pkg:gem/websocket-driver#lib/websocket/driver/server.rb:5 WebSocket::Driver::Server::EVENTS = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/driver/stream_reader.rb#4 +# pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:4 class WebSocket::Driver::StreamReader # @return [StreamReader] a new instance of StreamReader # - # source://websocket-driver//lib/websocket/driver/stream_reader.rb#8 + # pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:8 def initialize; end - # source://websocket-driver//lib/websocket/driver/stream_reader.rb#30 + # pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:30 def each_byte; end - # source://websocket-driver//lib/websocket/driver/stream_reader.rb#13 + # pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:13 def put(chunk); end # Read bytes from the data: # - # source://websocket-driver//lib/websocket/driver/stream_reader.rb#19 + # pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:19 def read(length); end private - # source://websocket-driver//lib/websocket/driver/stream_reader.rb#41 + # pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:41 def prune; end end # Try to minimise the number of reallocations done: # -# source://websocket-driver//lib/websocket/driver/stream_reader.rb#6 +# pkg:gem/websocket-driver#lib/websocket/driver/stream_reader.rb:6 WebSocket::Driver::StreamReader::MINIMUM_AUTOMATIC_PRUNE_OFFSET = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/driver.rb#56 +# pkg:gem/websocket-driver#lib/websocket/driver.rb:56 class WebSocket::Driver::URIError < ::ArgumentError; end -# source://websocket-driver//lib/websocket/http.rb#2 +# pkg:gem/websocket-driver#lib/websocket/http.rb:2 module WebSocket::HTTP class << self - # source://websocket-driver//lib/websocket/http.rb#10 + # pkg:gem/websocket-driver#lib/websocket/http.rb:10 def normalize_header(name); end end end -# source://websocket-driver//lib/websocket/http/headers.rb#4 +# pkg:gem/websocket-driver#lib/websocket/http/headers.rb:4 module WebSocket::HTTP::Headers - # source://websocket-driver//lib/websocket/http/headers.rb#40 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:40 def initialize; end # @return [Boolean] # - # source://websocket-driver//lib/websocket/http/headers.rb#47 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:47 def complete?; end # @return [Boolean] # - # source://websocket-driver//lib/websocket/http/headers.rb#51 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:51 def error?; end # Returns the value of attribute headers. # - # source://websocket-driver//lib/websocket/http/headers.rb#38 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:38 def headers; end - # source://websocket-driver//lib/websocket/http/headers.rb#55 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:55 def parse(chunk); end private - # source://websocket-driver//lib/websocket/http/headers.rb#84 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:84 def complete; end - # source://websocket-driver//lib/websocket/http/headers.rb#88 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:88 def error; end - # source://websocket-driver//lib/websocket/http/headers.rb#92 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:92 def header_line(line); end - # source://websocket-driver//lib/websocket/http/headers.rb#106 + # pkg:gem/websocket-driver#lib/websocket/http/headers.rb:106 def string_buffer; end end -# source://websocket-driver//lib/websocket/http/headers.rb#6 +# pkg:gem/websocket-driver#lib/websocket/http/headers.rb:6 WebSocket::HTTP::Headers::CR = T.let(T.unsafe(nil), Integer) # RFC 2616 grammar rules: @@ -1000,69 +1000,70 @@ WebSocket::HTTP::Headers::CR = T.let(T.unsafe(nil), Integer) # / DIGIT / ALPHA # ; any VCHAR, except delimiters # -# source://websocket-driver//lib/websocket/http/headers.rb#36 +# pkg:gem/websocket-driver#lib/websocket/http/headers.rb:36 WebSocket::HTTP::Headers::HEADER_LINE = T.let(T.unsafe(nil), Regexp) -# source://websocket-driver//lib/websocket/http/headers.rb#7 +# pkg:gem/websocket-driver#lib/websocket/http/headers.rb:7 WebSocket::HTTP::Headers::LF = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/http/headers.rb#5 +# pkg:gem/websocket-driver#lib/websocket/http/headers.rb:5 WebSocket::HTTP::Headers::MAX_LINE_LENGTH = T.let(T.unsafe(nil), Integer) -# source://websocket-driver//lib/websocket/http/request.rb#4 +# pkg:gem/websocket-driver#lib/websocket/http/request.rb:4 class WebSocket::HTTP::Request include ::WebSocket::HTTP::Headers # Returns the value of attribute env. # - # source://websocket-driver//lib/websocket/http/request.rb#11 + # pkg:gem/websocket-driver#lib/websocket/http/request.rb:11 def env; end private - # source://websocket-driver//lib/websocket/http/request.rb#29 + # pkg:gem/websocket-driver#lib/websocket/http/request.rb:29 def complete; end - # source://websocket-driver//lib/websocket/http/request.rb#15 + # pkg:gem/websocket-driver#lib/websocket/http/request.rb:15 def start_line(line); end end -# source://websocket-driver//lib/websocket/http/request.rb#7 +# pkg:gem/websocket-driver#lib/websocket/http/request.rb:7 WebSocket::HTTP::Request::REQUEST_LINE = T.let(T.unsafe(nil), Regexp) -# source://websocket-driver//lib/websocket/http/request.rb#8 +# pkg:gem/websocket-driver#lib/websocket/http/request.rb:8 WebSocket::HTTP::Request::REQUEST_TARGET = T.let(T.unsafe(nil), Regexp) -# source://websocket-driver//lib/websocket/http/request.rb#9 +# pkg:gem/websocket-driver#lib/websocket/http/request.rb:9 WebSocket::HTTP::Request::RESERVED_HEADERS = T.let(T.unsafe(nil), Array) -# source://websocket-driver//lib/websocket/http/response.rb#4 +# pkg:gem/websocket-driver#lib/websocket/http/response.rb:4 class WebSocket::HTTP::Response include ::WebSocket::HTTP::Headers - # source://websocket-driver//lib/websocket/http/response.rb#11 + # pkg:gem/websocket-driver#lib/websocket/http/response.rb:11 def [](name); end - # source://websocket-driver//lib/websocket/http/response.rb#15 + # pkg:gem/websocket-driver#lib/websocket/http/response.rb:15 def body; end # Returns the value of attribute code. # - # source://websocket-driver//lib/websocket/http/response.rb#9 + # pkg:gem/websocket-driver#lib/websocket/http/response.rb:9 def code; end private - # source://websocket-driver//lib/websocket/http/response.rb#21 + # pkg:gem/websocket-driver#lib/websocket/http/response.rb:21 def start_line(line); end end -# source://websocket-driver//lib/websocket/http/response.rb#7 +# pkg:gem/websocket-driver#lib/websocket/http/response.rb:7 WebSocket::HTTP::Response::STATUS_LINE = T.let(T.unsafe(nil), Regexp) +# pkg:gem/websocket-driver#lib/websocket/driver.rb:25 module WebSocket::Mask class << self - # source://websocket-driver//lib/websocket/driver.rb#25 + # pkg:gem/websocket-driver#lib/websocket/driver.rb:25 def mask(_arg0, _arg1); 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 dcc32f700..5ccc6a04f 100644 --- a/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +++ b/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi @@ -5,113 +5,111 @@ # Please instead update this file by running `bin/tapioca gem websocket-extensions`. -# source://websocket-extensions//lib/websocket/extensions.rb#1 +# pkg:gem/websocket-extensions#lib/websocket/extensions.rb:1 module WebSocket; end -# source://websocket-extensions//lib/websocket/extensions.rb#2 +# pkg:gem/websocket-extensions#lib/websocket/extensions.rb:2 class WebSocket::Extensions # @return [Extensions] a new instance of Extensions # - # source://websocket-extensions//lib/websocket/extensions.rb#10 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:10 def initialize; end - # source://websocket-extensions//lib/websocket/extensions.rb#75 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:75 def activate(header); end - # source://websocket-extensions//lib/websocket/extensions.rb#19 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:19 def add(ext); end - # source://websocket-extensions//lib/websocket/extensions.rb#157 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:157 def close; end - # source://websocket-extensions//lib/websocket/extensions.rb#48 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:48 def generate_offer; end - # source://websocket-extensions//lib/websocket/extensions.rb#100 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:100 def generate_response(header); end - # source://websocket-extensions//lib/websocket/extensions.rb#137 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:137 def process_incoming_message(message); end - # source://websocket-extensions//lib/websocket/extensions.rb#147 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:147 def process_outgoing_message(message); end - # source://websocket-extensions//lib/websocket/extensions.rb#120 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:120 def valid_frame_rsv(frame); end - # source://websocket-extensions//lib/websocket/extensions.rb#135 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:135 def valid_frame_rsv?(frame); end private - # source://websocket-extensions//lib/websocket/extensions.rb#167 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:167 def reserve(ext); end # @return [Boolean] # - # source://websocket-extensions//lib/websocket/extensions.rb#173 + # pkg:gem/websocket-extensions#lib/websocket/extensions.rb:173 def reserved?(ext); end end -# source://websocket-extensions//lib/websocket/extensions.rb#6 +# pkg:gem/websocket-extensions#lib/websocket/extensions.rb:6 class WebSocket::Extensions::ExtensionError < ::ArgumentError; end -# source://websocket-extensions//lib/websocket/extensions.rb#8 +# pkg:gem/websocket-extensions#lib/websocket/extensions.rb:8 WebSocket::Extensions::MESSAGE_OPCODES = T.let(T.unsafe(nil), Array) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#83 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:83 class WebSocket::Extensions::Offers # @return [Offers] a new instance of Offers # - # source://websocket-extensions//lib/websocket/extensions/parser.rb#84 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:84 def initialize; end - # source://websocket-extensions//lib/websocket/extensions/parser.rb#101 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:101 def by_name(name); end - # source://websocket-extensions//lib/websocket/extensions/parser.rb#95 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:95 def each_offer(&block); end - # source://websocket-extensions//lib/websocket/extensions/parser.rb#89 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:89 def push(name, params); end - # source://websocket-extensions//lib/websocket/extensions/parser.rb#105 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:105 def to_a; end end -# source://websocket-extensions//lib/websocket/extensions/parser.rb#6 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:6 class WebSocket::Extensions::Parser class << self - # source://websocket-extensions//lib/websocket/extensions/parser.rb#17 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:17 def parse_header(header); end - # source://websocket-extensions//lib/websocket/extensions/parser.rb#60 + # pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:60 def serialize_params(name, params); end end end -# source://websocket-extensions//lib/websocket/extensions/parser.rb#11 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:11 WebSocket::Extensions::Parser::EXT = T.let(T.unsafe(nil), Regexp) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#12 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:12 WebSocket::Extensions::Parser::EXT_LIST = T.let(T.unsafe(nil), Regexp) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#8 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:8 WebSocket::Extensions::Parser::NOTOKEN = T.let(T.unsafe(nil), Regexp) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#13 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:13 WebSocket::Extensions::Parser::NUMBER = T.let(T.unsafe(nil), Regexp) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#10 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:10 WebSocket::Extensions::Parser::PARAM = T.let(T.unsafe(nil), Regexp) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#15 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:15 class WebSocket::Extensions::Parser::ParseError < ::ArgumentError; end -# source://websocket-extensions//lib/websocket/extensions/parser.rb#9 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:9 WebSocket::Extensions::Parser::QUOTED = T.let(T.unsafe(nil), Regexp) -# source://websocket-extensions//lib/websocket/extensions/parser.rb#7 +# pkg:gem/websocket-extensions#lib/websocket/extensions/parser.rb:7 WebSocket::Extensions::Parser::TOKEN = T.let(T.unsafe(nil), Regexp) - -module WebSocket::Mask; end diff --git a/sorbet/rbi/gems/xpath@3.2.0.rbi b/sorbet/rbi/gems/xpath@3.2.0.rbi index aaecf5009..587166d4b 100644 --- a/sorbet/rbi/gems/xpath@3.2.0.rbi +++ b/sorbet/rbi/gems/xpath@3.2.0.rbi @@ -5,7 +5,7 @@ # Please instead update this file by running `bin/tapioca gem xpath`. -# source://xpath//lib/xpath/dsl.rb#3 +# pkg:gem/xpath#lib/xpath/dsl.rb:3 module XPath include ::XPath::DSL extend ::XPath::DSL @@ -14,466 +14,466 @@ module XPath # @yield [_self] # @yieldparam _self [XPath] the object that the method was called on # - # source://xpath//lib/xpath.rb#15 + # pkg:gem/xpath#lib/xpath.rb:15 def generate; end end end -# source://xpath//lib/xpath/dsl.rb#4 +# pkg:gem/xpath#lib/xpath/dsl.rb:4 module XPath::DSL - # source://xpath//lib/xpath/dsl.rb#101 + # pkg:gem/xpath#lib/xpath/dsl.rb:101 def !(*args); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def !=(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def %(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def &(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def *(rhs); end - # source://xpath//lib/xpath/dsl.rb#65 + # pkg:gem/xpath#lib/xpath/dsl.rb:65 def +(*expressions); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def /(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def <(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def <=(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def ==(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def >(rhs); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def >=(rhs); end - # source://xpath//lib/xpath/dsl.rb#52 + # pkg:gem/xpath#lib/xpath/dsl.rb:52 def [](expression); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def ancestor(*element_names); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def ancestor_or_self(*element_names); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def and(rhs); end - # source://xpath//lib/xpath/dsl.rb#21 + # pkg:gem/xpath#lib/xpath/dsl.rb:21 def anywhere(*expressions); end - # source://xpath//lib/xpath/dsl.rb#25 + # pkg:gem/xpath#lib/xpath/dsl.rb:25 def attr(expression); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def attribute(*element_names); end - # source://xpath//lib/xpath/dsl.rb#17 + # pkg:gem/xpath#lib/xpath/dsl.rb:17 def axis(name, *element_names); end - # source://xpath//lib/xpath/dsl.rb#58 + # pkg:gem/xpath#lib/xpath/dsl.rb:58 def binary_operator(name, rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def boolean(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def ceiling(*args); end - # source://xpath//lib/xpath/dsl.rb#13 + # pkg:gem/xpath#lib/xpath/dsl.rb:13 def child(*expressions); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def concat(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def contains(*args); end - # source://xpath//lib/xpath/dsl.rb#147 + # pkg:gem/xpath#lib/xpath/dsl.rb:147 def contains_word(word); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def count(*args); end - # source://xpath//lib/xpath/dsl.rb#33 + # pkg:gem/xpath#lib/xpath/dsl.rb:33 def css(selector); end - # source://xpath//lib/xpath/dsl.rb#5 + # pkg:gem/xpath#lib/xpath/dsl.rb:5 def current; end - # source://xpath//lib/xpath/dsl.rb#9 + # pkg:gem/xpath#lib/xpath/dsl.rb:9 def descendant(*expressions); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def descendant_or_self(*element_names); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def divide(rhs); end - # source://xpath//lib/xpath/dsl.rb#143 + # pkg:gem/xpath#lib/xpath/dsl.rb:143 def ends_with(suffix); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def equals(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def false(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def floor(*args); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def following(*element_names); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def following_sibling(*element_names); end - # source://xpath//lib/xpath/dsl.rb#37 + # pkg:gem/xpath#lib/xpath/dsl.rb:37 def function(name, *arguments); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def gt(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def gte(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def id(*args); end - # source://xpath//lib/xpath/dsl.rb#99 + # pkg:gem/xpath#lib/xpath/dsl.rb:99 def inverse(*args); end - # source://xpath//lib/xpath/dsl.rb#54 + # pkg:gem/xpath#lib/xpath/dsl.rb:54 def is(expression); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def lang(*args); end - # source://xpath//lib/xpath/dsl.rb#67 + # pkg:gem/xpath#lib/xpath/dsl.rb:67 def last; end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def local_name(*args); end - # source://xpath//lib/xpath/dsl.rb#154 + # pkg:gem/xpath#lib/xpath/dsl.rb:154 def lowercase; end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def lt(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def lte(rhs); end - # source://xpath//lib/xpath/dsl.rb#41 + # pkg:gem/xpath#lib/xpath/dsl.rb:41 def method(name, *arguments); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def minus(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def mod(rhs); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def multiply(rhs); end - # source://xpath//lib/xpath/dsl.rb#103 + # pkg:gem/xpath#lib/xpath/dsl.rb:103 def n(*args); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def namespace(*element_names); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def namespace_uri(*args); end - # source://xpath//lib/xpath/dsl.rb#166 + # pkg:gem/xpath#lib/xpath/dsl.rb:166 def next_sibling(*expressions); end - # source://xpath//lib/xpath/dsl.rb#102 + # pkg:gem/xpath#lib/xpath/dsl.rb:102 def normalize(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def normalize_space(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def not(*args); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def not_equals(rhs); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def number(*args); end - # source://xpath//lib/xpath/dsl.rb#162 + # pkg:gem/xpath#lib/xpath/dsl.rb:162 def one_of(*expressions); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def or(rhs); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def parent(*element_names); end - # source://xpath//lib/xpath/dsl.rb#122 + # pkg:gem/xpath#lib/xpath/dsl.rb:122 def plus(rhs); end - # source://xpath//lib/xpath/dsl.rb#71 + # pkg:gem/xpath#lib/xpath/dsl.rb:71 def position; end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def preceding(*element_names); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def preceding_sibling(*element_names); end - # source://xpath//lib/xpath/dsl.rb#170 + # pkg:gem/xpath#lib/xpath/dsl.rb:170 def previous_sibling(*expressions); end - # source://xpath//lib/xpath/dsl.rb#95 + # pkg:gem/xpath#lib/xpath/dsl.rb:95 def qname; end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def round(*args); end - # source://xpath//lib/xpath/dsl.rb#136 + # pkg:gem/xpath#lib/xpath/dsl.rb:136 def self(*element_names); end - # source://xpath//lib/xpath/dsl.rb#141 + # pkg:gem/xpath#lib/xpath/dsl.rb:141 def self_axis(*element_names); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def starts_with(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def string(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def string_length(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def substring(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def substring_after(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def substring_before(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def sum(*args); end - # source://xpath//lib/xpath/dsl.rb#29 + # pkg:gem/xpath#lib/xpath/dsl.rb:29 def text; end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def translate(*args); end - # source://xpath//lib/xpath/dsl.rb#90 + # pkg:gem/xpath#lib/xpath/dsl.rb:90 def true(*args); end - # source://xpath//lib/xpath/dsl.rb#62 + # pkg:gem/xpath#lib/xpath/dsl.rb:62 def union(*expressions); end - # source://xpath//lib/xpath/dsl.rb#158 + # pkg:gem/xpath#lib/xpath/dsl.rb:158 def uppercase; end - # source://xpath//lib/xpath/dsl.rb#45 + # pkg:gem/xpath#lib/xpath/dsl.rb:45 def where(expression); end - # source://xpath//lib/xpath/dsl.rb#125 + # pkg:gem/xpath#lib/xpath/dsl.rb:125 def |(rhs); end - # source://xpath//lib/xpath/dsl.rb#100 + # pkg:gem/xpath#lib/xpath/dsl.rb:100 def ~(*args); end end -# source://xpath//lib/xpath/dsl.rb#128 +# pkg:gem/xpath#lib/xpath/dsl.rb:128 XPath::DSL::AXES = T.let(T.unsafe(nil), Array) -# source://xpath//lib/xpath/dsl.rb#152 +# pkg:gem/xpath#lib/xpath/dsl.rb:152 XPath::DSL::LOWERCASE_LETTERS = T.let(T.unsafe(nil), String) -# source://xpath//lib/xpath/dsl.rb#75 +# pkg:gem/xpath#lib/xpath/dsl.rb:75 XPath::DSL::METHODS = T.let(T.unsafe(nil), Array) -# source://xpath//lib/xpath/dsl.rb#105 +# pkg:gem/xpath#lib/xpath/dsl.rb:105 XPath::DSL::OPERATORS = T.let(T.unsafe(nil), Array) -# source://xpath//lib/xpath/dsl.rb#151 +# pkg:gem/xpath#lib/xpath/dsl.rb:151 XPath::DSL::UPPERCASE_LETTERS = T.let(T.unsafe(nil), String) -# source://xpath//lib/xpath/expression.rb#4 +# pkg:gem/xpath#lib/xpath/expression.rb:4 class XPath::Expression include ::XPath::DSL # @return [Expression] a new instance of Expression # - # source://xpath//lib/xpath/expression.rb#8 + # pkg:gem/xpath#lib/xpath/expression.rb:8 def initialize(expression, *arguments); end # Returns the value of attribute arguments. # - # source://xpath//lib/xpath/expression.rb#5 + # pkg:gem/xpath#lib/xpath/expression.rb:5 def arguments; end # Sets the attribute arguments # # @param value the value to set the attribute arguments to. # - # source://xpath//lib/xpath/expression.rb#5 + # pkg:gem/xpath#lib/xpath/expression.rb:5 def arguments=(_arg0); end - # source://xpath//lib/xpath/expression.rb#13 + # pkg:gem/xpath#lib/xpath/expression.rb:13 def current; end # Returns the value of attribute expression. # - # source://xpath//lib/xpath/expression.rb#5 + # pkg:gem/xpath#lib/xpath/expression.rb:5 def expression; end # Sets the attribute expression # # @param value the value to set the attribute expression to. # - # source://xpath//lib/xpath/expression.rb#5 + # pkg:gem/xpath#lib/xpath/expression.rb:5 def expression=(_arg0); end - # source://xpath//lib/xpath/expression.rb#20 + # pkg:gem/xpath#lib/xpath/expression.rb:20 def to_s(type = T.unsafe(nil)); end - # source://xpath//lib/xpath/expression.rb#17 + # pkg:gem/xpath#lib/xpath/expression.rb:17 def to_xpath(type = T.unsafe(nil)); end end -# source://xpath//lib/xpath/literal.rb#4 +# pkg:gem/xpath#lib/xpath/literal.rb:4 class XPath::Literal # @return [Literal] a new instance of Literal # - # source://xpath//lib/xpath/literal.rb#6 + # pkg:gem/xpath#lib/xpath/literal.rb:6 def initialize(value); end # Returns the value of attribute value. # - # source://xpath//lib/xpath/literal.rb#5 + # pkg:gem/xpath#lib/xpath/literal.rb:5 def value; end end -# source://xpath//lib/xpath/renderer.rb#4 +# pkg:gem/xpath#lib/xpath/renderer.rb:4 class XPath::Renderer # @return [Renderer] a new instance of Renderer # - # source://xpath//lib/xpath/renderer.rb#9 + # pkg:gem/xpath#lib/xpath/renderer.rb:9 def initialize(type); end - # source://xpath//lib/xpath/renderer.rb#55 + # pkg:gem/xpath#lib/xpath/renderer.rb:55 def anywhere(element_names); end - # source://xpath//lib/xpath/renderer.rb#63 + # pkg:gem/xpath#lib/xpath/renderer.rb:63 def attribute(current, name); end - # source://xpath//lib/xpath/renderer.rb#51 + # pkg:gem/xpath#lib/xpath/renderer.rb:51 def axis(current, name, element_names); end - # source://xpath//lib/xpath/renderer.rb#71 + # pkg:gem/xpath#lib/xpath/renderer.rb:71 def binary_operator(name, left, right); end - # source://xpath//lib/xpath/renderer.rb#47 + # pkg:gem/xpath#lib/xpath/renderer.rb:47 def child(current, element_names); end - # source://xpath//lib/xpath/renderer.rb#18 + # pkg:gem/xpath#lib/xpath/renderer.rb:18 def convert_argument(argument); end - # source://xpath//lib/xpath/renderer.rb#95 + # pkg:gem/xpath#lib/xpath/renderer.rb:95 def css(current, selector); end - # source://xpath//lib/xpath/renderer.rb#43 + # pkg:gem/xpath#lib/xpath/renderer.rb:43 def descendant(current, element_names); end - # source://xpath//lib/xpath/renderer.rb#106 + # pkg:gem/xpath#lib/xpath/renderer.rb:106 def function(name, *arguments); end - # source://xpath//lib/xpath/renderer.rb#75 + # pkg:gem/xpath#lib/xpath/renderer.rb:75 def is(one, two); end - # source://xpath//lib/xpath/renderer.rb#91 + # pkg:gem/xpath#lib/xpath/renderer.rb:91 def literal(node); end - # source://xpath//lib/xpath/renderer.rb#13 + # pkg:gem/xpath#lib/xpath/renderer.rb:13 def render(node); end - # source://xpath//lib/xpath/renderer.rb#28 + # pkg:gem/xpath#lib/xpath/renderer.rb:28 def string_literal(string); end - # source://xpath//lib/xpath/renderer.rb#87 + # pkg:gem/xpath#lib/xpath/renderer.rb:87 def text(current); end - # source://xpath//lib/xpath/renderer.rb#39 + # pkg:gem/xpath#lib/xpath/renderer.rb:39 def this_node; end - # source://xpath//lib/xpath/renderer.rb#102 + # pkg:gem/xpath#lib/xpath/renderer.rb:102 def union(*expressions); end - # source://xpath//lib/xpath/renderer.rb#83 + # pkg:gem/xpath#lib/xpath/renderer.rb:83 def variable(name); end - # source://xpath//lib/xpath/renderer.rb#59 + # pkg:gem/xpath#lib/xpath/renderer.rb:59 def where(on, condition); end private # @return [Boolean] # - # source://xpath//lib/xpath/renderer.rb#122 + # pkg:gem/xpath#lib/xpath/renderer.rb:122 def valid_xml_name?(name); end - # source://xpath//lib/xpath/renderer.rb#112 + # pkg:gem/xpath#lib/xpath/renderer.rb:112 def with_element_conditions(expression, element_names); end class << self - # source://xpath//lib/xpath/renderer.rb#5 + # pkg:gem/xpath#lib/xpath/renderer.rb:5 def render(node, type); end end end -# source://xpath//lib/xpath/union.rb#4 +# pkg:gem/xpath#lib/xpath/union.rb:4 class XPath::Union include ::Enumerable # @return [Union] a new instance of Union # - # source://xpath//lib/xpath/union.rb#10 + # pkg:gem/xpath#lib/xpath/union.rb:10 def initialize(*expressions); end # Returns the value of attribute expressions. # - # source://xpath//lib/xpath/union.rb#8 + # pkg:gem/xpath#lib/xpath/union.rb:8 def arguments; end - # source://xpath//lib/xpath/union.rb#18 + # pkg:gem/xpath#lib/xpath/union.rb:18 def each(&block); end - # source://xpath//lib/xpath/union.rb#14 + # pkg:gem/xpath#lib/xpath/union.rb:14 def expression; end # Returns the value of attribute expressions. # - # source://xpath//lib/xpath/union.rb#7 + # pkg:gem/xpath#lib/xpath/union.rb:7 def expressions; end - # source://xpath//lib/xpath/union.rb#22 + # pkg:gem/xpath#lib/xpath/union.rb:22 def method_missing(*args); end - # source://xpath//lib/xpath/union.rb#29 + # pkg:gem/xpath#lib/xpath/union.rb:29 def to_s(type = T.unsafe(nil)); end - # source://xpath//lib/xpath/union.rb#26 + # pkg:gem/xpath#lib/xpath/union.rb:26 def to_xpath(type = T.unsafe(nil)); end end diff --git a/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi b/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi index ac59d98a6..8ac93f5ca 100644 --- a/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +++ b/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi @@ -11,19 +11,19 @@ end # Types are documentation # -# source://yard-sorbet//lib/yard-sorbet/version.rb#5 +# pkg:gem/yard-sorbet#lib/yard-sorbet/version.rb:5 module YARDSorbet; end # Extract & re-add directives to a docstring # -# source://yard-sorbet//lib/yard-sorbet/directives.rb#6 +# pkg:gem/yard-sorbet#lib/yard-sorbet/directives.rb:6 module YARDSorbet::Directives class << self - # source://yard-sorbet//lib/yard-sorbet/directives.rb#21 + # pkg:gem/yard-sorbet#lib/yard-sorbet/directives.rb:21 sig { params(docstring: ::String, directives: T::Array[::String]).void } def add_directives(docstring, directives); end - # source://yard-sorbet//lib/yard-sorbet/directives.rb#10 + # pkg:gem/yard-sorbet#lib/yard-sorbet/directives.rb:10 sig { params(docstring: T.nilable(::String)).returns([::YARD::Docstring, T::Array[::String]]) } def extract_directives(docstring); end end @@ -33,41 +33,41 @@ end # # @see https://rubydoc.info/gems/yard/YARD/Handlers/Base YARD Base Handler documentation # -# source://yard-sorbet//lib/yard-sorbet/handlers.rb#7 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers.rb:7 module YARDSorbet::Handlers; end # Applies an `@abstract` tag to `abstract!`/`interface!` modules (if not alerady present). # -# source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#7 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/abstract_dsl_handler.rb:7 class YARDSorbet::Handlers::AbstractDSLHandler < ::YARD::Handlers::Ruby::Base - # source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#21 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/abstract_dsl_handler.rb:21 sig { void } def process; end end # Extra text for class namespaces # -# source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#18 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/abstract_dsl_handler.rb:18 YARDSorbet::Handlers::AbstractDSLHandler::CLASS_TAG_TEXT = T.let(T.unsafe(nil), String) # The text accompanying the `@abstract` tag. # # @see https://github.com/lsegal/yard/blob/main/templates/default/docstring/html/abstract.erb The `@abstract` tag template # -# source://yard-sorbet//lib/yard-sorbet/handlers/abstract_dsl_handler.rb#16 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/abstract_dsl_handler.rb:16 YARDSorbet::Handlers::AbstractDSLHandler::TAG_TEXT = T.let(T.unsafe(nil), String) # Handle `enums` calls, registering enum values as constants # -# source://yard-sorbet//lib/yard-sorbet/handlers/enums_handler.rb#7 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/enums_handler.rb:7 class YARDSorbet::Handlers::EnumsHandler < ::YARD::Handlers::Ruby::Base - # source://yard-sorbet//lib/yard-sorbet/handlers/enums_handler.rb#14 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/enums_handler.rb:14 sig { void } def process; end private - # source://yard-sorbet//lib/yard-sorbet/handlers/enums_handler.rb#29 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/enums_handler.rb:29 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) } def const_assign_node?(node); end end @@ -76,15 +76,15 @@ end # # @see https://sorbet.org/docs/abstract#interfaces-and-the-included-hook Sorbet `mixes_in_class_methods` documentation # -# source://yard-sorbet//lib/yard-sorbet/handlers/include_handler.rb#9 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/include_handler.rb:9 class YARDSorbet::Handlers::IncludeHandler < ::YARD::Handlers::Ruby::Base - # source://yard-sorbet//lib/yard-sorbet/handlers/include_handler.rb#16 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/include_handler.rb:16 sig { void } def process; end private - # source://yard-sorbet//lib/yard-sorbet/handlers/include_handler.rb#28 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/include_handler.rb:28 sig { returns(::YARD::CodeObjects::NamespaceObject) } def included_in; end end @@ -93,14 +93,14 @@ end # # @see https://sorbet.org/docs/abstract#interfaces-and-the-included-hook Sorbet `mixes_in_class_methods` documentation # -# source://yard-sorbet//lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb#9 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb:9 class YARDSorbet::Handlers::MixesInClassMethodsHandler < ::YARD::Handlers::Ruby::Base - # source://yard-sorbet//lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb#21 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb:21 sig { void } def process; end class << self - # source://yard-sorbet//lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb#18 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/mixes_in_class_methods_handler.rb:18 sig { params(code_obj: ::String).returns(T.nilable(T::Array[::String])) } def mixed_in_class_methods(code_obj); end end @@ -108,18 +108,18 @@ end # A YARD Handler for Sorbet type declarations # -# source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#7 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:7 class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base # Swap the method definition docstring and the sig docstring. # Parse relevant parts of the `sig` and include them as well. # - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#24 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:24 sig { void } def process; end private - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#73 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:73 sig { params(method_objects: T::Array[::YARD::CodeObjects::MethodObject]).void } def document_attrs(method_objects); end @@ -127,11 +127,11 @@ class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base # declaration. This is to avoid needing to rewrite the source code to separate merged and unmerged attr* # declarations. # - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#60 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:60 sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Boolean) } def merged_into_attr?(attr_node); end - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#76 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:76 sig do params( attach_to: T.any(::YARD::CodeObjects::MethodObject, ::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode), @@ -141,30 +141,30 @@ class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base end def parse_node(attach_to, docstring, include_params: T.unsafe(nil)); end - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#97 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:97 sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void } def parse_params(node, docstring); end - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#107 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:107 sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void } def parse_return(node, docstring); end - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#85 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:85 sig { params(docstring: ::YARD::Docstring, include_params: T::Boolean).void } def parse_sig(docstring, include_params: T.unsafe(nil)); end - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#50 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:50 sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).void } def process_attr(attr_node); end - # source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#36 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:36 sig { params(def_node: ::YARD::Parser::Ruby::MethodDefinitionNode).void } def process_def(def_node); end end # YARD types that can have docstrings attached to them # -# source://yard-sorbet//lib/yard-sorbet/handlers/sig_handler.rb#14 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/sig_handler.rb:14 YARDSorbet::Handlers::SigHandler::Documentable = T.type_alias { T.any(::YARD::CodeObjects::MethodObject, ::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) } # Class-level handler that folds all `const` and `prop` declarations into the constructor documentation @@ -172,15 +172,15 @@ YARDSorbet::Handlers::SigHandler::Documentable = T.type_alias { T.any(::YARD::Co # # @note this module is included in `YARD::Handlers::Ruby::ClassHandler` # -# source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#10 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_class_handler.rb:10 module YARDSorbet::Handlers::StructClassHandler - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#14 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_class_handler.rb:14 sig { void } def process; end private - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#50 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_class_handler.rb:50 sig do params( object: ::YARD::CodeObjects::MethodObject, @@ -193,11 +193,11 @@ module YARDSorbet::Handlers::StructClassHandler # Create a virtual `initialize` method with all the `prop`/`const` arguments # - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#30 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_class_handler.rb:30 sig { params(props: T::Array[::YARDSorbet::TStructProp], class_ns: ::YARD::CodeObjects::ClassObject).void } def process_t_struct_props(props, class_ns); end - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_class_handler.rb#60 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_class_handler.rb:60 sig { params(props: T::Array[::YARDSorbet::TStructProp]).returns(T::Array[[::String, T.nilable(::String)]]) } def to_object_parameters(props); end end @@ -205,9 +205,9 @@ end # Handles all `const`/`prop` calls, creating accessor methods, and compiles them for later usage at the class level # in creating a constructor # -# source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#8 +# pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:8 class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#15 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:15 sig { void } def process; end @@ -215,42 +215,42 @@ class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base # Add the source and docstring to the method object # - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#28 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:28 sig { params(object: ::YARD::CodeObjects::MethodObject, prop: ::YARDSorbet::TStructProp).void } def decorate_object(object, prop); end - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#38 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:38 sig { returns(T::Boolean) } def immutable?; end - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#42 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:42 sig { params(kwd: ::String).returns(T.nilable(::String)) } def kw_arg(kwd); end - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#45 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:45 sig { params(name: ::String).returns(::YARDSorbet::TStructProp) } def make_prop(name); end - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#56 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:56 sig { returns(T::Array[::YARD::Parser::Ruby::AstNode]) } def params; end # Register the field explicitly as an attribute. # - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#60 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:60 sig { params(object: ::YARD::CodeObjects::MethodObject, name: ::String).void } def register_attrs(object, name); end # Store the prop for use in the constructor definition # - # source://yard-sorbet//lib/yard-sorbet/handlers/struct_prop_handler.rb#68 + # pkg:gem/yard-sorbet#lib/yard-sorbet/handlers/struct_prop_handler.rb:68 sig { params(prop: ::YARDSorbet::TStructProp).void } def update_state(prop); end end # Helper methods for working with `YARD` AST Nodes # -# source://yard-sorbet//lib/yard-sorbet/node_utils.rb#6 +# pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:6 module YARDSorbet::NodeUtils class << self # Traverse AST nodes in breadth-first order @@ -258,7 +258,7 @@ module YARDSorbet::NodeUtils # @note This will skip over some node types. # @yield [YARD::Parser::Ruby::AstNode] # - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#21 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:21 sig do params( node: ::YARD::Parser::Ruby::AstNode, @@ -267,19 +267,19 @@ module YARDSorbet::NodeUtils end def bfs_traverse(node, &_blk); end - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#31 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:31 sig { params(node: ::YARD::Parser::Ruby::AstNode).void } def delete_node(node); end # Enqueue the eligible children of a node in the BFS queue # - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#35 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:35 sig { params(queue: ::Thread::Queue, node: ::YARD::Parser::Ruby::AstNode).void } def enqueue_children(queue, node); end # Gets the node that a sorbet `sig` can be attached do, bypassing visisbility modifiers and the like # - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#48 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:48 sig do params( node: ::YARD::Parser::Ruby::AstNode @@ -291,17 +291,17 @@ module YARDSorbet::NodeUtils # # @raise [IndexError] if the node does not have an adjacent sibling (ascending) # - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#53 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:53 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::YARD::Parser::Ruby::AstNode) } def sibling_node(node); end - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#60 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:60 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) } def sigable_node?(node); end # @see https://github.com/lsegal/yard/blob/main/lib/yard/handlers/ruby/attribute_handler.rb YARD::Handlers::Ruby::AttributeHandler.validated_attribute_names # - # source://yard-sorbet//lib/yard-sorbet/node_utils.rb#71 + # pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:71 sig { params(attr_node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) } def validated_attribute_names(attr_node); end end @@ -309,69 +309,69 @@ end # Command node types that can have type signatures # -# source://yard-sorbet//lib/yard-sorbet/node_utils.rb#10 +# pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:10 YARDSorbet::NodeUtils::ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Array) # Skip these method contents during BFS node traversal, they can have their own nested types via `T.Proc` # -# source://yard-sorbet//lib/yard-sorbet/node_utils.rb#12 +# pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:12 YARDSorbet::NodeUtils::SKIP_METHOD_CONTENTS = T.let(T.unsafe(nil), Array) # Node types that can have type signatures # -# source://yard-sorbet//lib/yard-sorbet/node_utils.rb#14 +# pkg:gem/yard-sorbet#lib/yard-sorbet/node_utils.rb:14 YARDSorbet::NodeUtils::SigableNode = T.type_alias { T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) } # Translate `sig` type syntax to `YARD` type syntax. # -# source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#6 +# pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:6 module YARDSorbet::SigToYARD class << self # @see https://yardoc.org/types.html # - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#23 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:23 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) } def convert(node); end private - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#58 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:58 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::String) } def build_generic_type(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#67 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:67 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) } def convert_aref(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#79 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:79 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) } def convert_array(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#87 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:87 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) } def convert_collection(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#94 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:94 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) } def convert_hash(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#102 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:102 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) } def convert_list(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#28 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:28 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) } def convert_node(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#40 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:40 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) } def convert_node_type(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#107 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:107 sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) } def convert_t_method(node); end - # source://yard-sorbet//lib/yard-sorbet/sig_to_yard.rb#118 + # pkg:gem/yard-sorbet#lib/yard-sorbet/sig_to_yard.rb:118 sig { params(node: ::YARD::Parser::Ruby::AstNode).returns([::String]) } def convert_unknown(node); end end @@ -379,7 +379,7 @@ end # Used to store the details of a `T::Struct` `prop` definition # -# source://yard-sorbet//lib/yard-sorbet/t_struct_prop.rb#6 +# pkg:gem/yard-sorbet#lib/yard-sorbet/t_struct_prop.rb:6 class YARDSorbet::TStructProp < ::T::Struct const :default, T.nilable(::String) const :doc, ::String @@ -390,10 +390,10 @@ end # Helper methods for working with `YARD` tags # -# source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#6 +# pkg:gem/yard-sorbet#lib/yard-sorbet/tag_utils.rb:6 module YARDSorbet::TagUtils class << self - # source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#16 + # pkg:gem/yard-sorbet#lib/yard-sorbet/tag_utils.rb:16 sig do params( docstring: ::YARD::Docstring, @@ -405,7 +405,7 @@ module YARDSorbet::TagUtils # Create or update a `YARD` tag with type information # - # source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#28 + # pkg:gem/yard-sorbet#lib/yard-sorbet/tag_utils.rb:28 sig do params( docstring: ::YARD::Docstring, @@ -421,10 +421,10 @@ end # The `void` return type, as a constant to reduce array allocations # -# source://yard-sorbet//lib/yard-sorbet/tag_utils.rb#10 +# pkg:gem/yard-sorbet#lib/yard-sorbet/tag_utils.rb:10 YARDSorbet::TagUtils::VOID_RETURN_TYPE = T.let(T.unsafe(nil), Array) # {https://rubygems.org/gems/yard-sorbet Version history} # -# source://yard-sorbet//lib/yard-sorbet/version.rb#7 +# pkg:gem/yard-sorbet#lib/yard-sorbet/version.rb:7 YARDSorbet::VERSION = T.let(T.unsafe(nil), String) diff --git a/sorbet/rbi/gems/yard@0.9.37.rbi b/sorbet/rbi/gems/yard@0.9.37.rbi index c309cbb26..fabb592a9 100644 --- a/sorbet/rbi/gems/yard@0.9.37.rbi +++ b/sorbet/rbi/gems/yard@0.9.37.rbi @@ -5,13 +5,13 @@ # Please instead update this file by running `bin/tapioca gem yard`. -# source://yard//lib/yard.rb#61 +# pkg:gem/yard#lib/yard.rb:61 ::RUBY18 = T.let(T.unsafe(nil), FalseClass) -# source://yard//lib/yard.rb#62 +# pkg:gem/yard#lib/yard.rb:62 ::RUBY19 = T.let(T.unsafe(nil), TrueClass) -# source://yard//lib/yard/core_ext/array.rb#2 +# pkg:gem/yard#lib/yard/core_ext/array.rb:2 class Array include ::Enumerable @@ -28,11 +28,11 @@ class Array # @see Insertion#after # @see Insertion#before # - # source://yard//lib/yard/core_ext/array.rb#15 + # pkg:gem/yard#lib/yard/core_ext/array.rb:15 def place(*values); end end -# source://yard//lib/yard/core_ext/file.rb#4 +# pkg:gem/yard#lib/yard/core_ext/file.rb:4 class File < ::IO class << self # Cleans a path by removing extraneous '..', '.' and '/' characters @@ -43,7 +43,7 @@ class File < ::IO # @param rel_root [Boolean] allows relative path above root value # @return [String] the sanitized path # - # source://yard//lib/yard/core_ext/file.rb#37 + # pkg:gem/yard#lib/yard/core_ext/file.rb:37 def cleanpath(path, rel_root = T.unsafe(nil)); end # Forces opening a file (for writing) by first creating the file's directory @@ -51,7 +51,7 @@ class File < ::IO # @param file [String] the filename to open # @since 0.5.2 # - # source://yard//lib/yard/core_ext/file.rb#57 + # pkg:gem/yard#lib/yard/core_ext/file.rb:57 def open!(file, *args, &block); end # Reads a file with binary encoding @@ -59,7 +59,7 @@ class File < ::IO # @return [String] the ascii-8bit encoded data # @since 0.5.3 # - # source://yard//lib/yard/core_ext/file.rb#66 + # pkg:gem/yard#lib/yard/core_ext/file.rb:66 def read_binary(file); end # Turns a path +to+ into a relative path from starting @@ -72,25 +72,25 @@ class File < ::IO # @param to [String] the final path that should be made relative. # @return [String] the relative path from +from+ to +to+. # - # source://yard//lib/yard/core_ext/file.rb#19 + # pkg:gem/yard#lib/yard/core_ext/file.rb:19 def relative_path(from, to); end end end -# source://yard//lib/yard/core_ext/file.rb#5 +# pkg:gem/yard#lib/yard/core_ext/file.rb:5 File::RELATIVE_PARENTDIR = T.let(T.unsafe(nil), String) -# source://yard//lib/yard/core_ext/file.rb#6 +# pkg:gem/yard#lib/yard/core_ext/file.rb:6 File::RELATIVE_SAMEDIR = T.let(T.unsafe(nil), String) # :stopdoc: # -# source://yard//lib/yard/rubygems/backports/gem.rb#2 +# pkg:gem/yard#lib/yard/rubygems/backports/gem.rb:2 module Gem class << self # Returns the Gem::SourceIndex of specifications that are in the Gem.path # - # source://yard//lib/yard/rubygems/backports/gem.rb#6 + # pkg:gem/yard#lib/yard/rubygems/backports/gem.rb:6 def source_index; end end end @@ -98,7 +98,7 @@ end # Cache is an alias for SourceIndex to allow older YAMLized source index # objects to load properly. # -# source://yard//lib/yard/rubygems/backports/source_index.rb#363 +# pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:363 Gem::Cache = Gem::SourceIndex # The SourceIndex object indexes all the gems available from a @@ -111,7 +111,7 @@ Gem::Cache = Gem::SourceIndex # constant Gem::Cache is an alias for this class to allow old # YAMLized source index objects to load properly. # -# source://yard//lib/yard/rubygems/backports/source_index.rb#21 +# pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:21 class Gem::SourceIndex include ::Enumerable @@ -123,79 +123,79 @@ class Gem::SourceIndex # # @return [SourceIndex] a new instance of SourceIndex # - # source://yard//lib/yard/rubygems/backports/source_index.rb#102 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:102 def initialize(specifications = T.unsafe(nil)); end - # source://yard//lib/yard/rubygems/backports/source_index.rb#348 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:348 def ==(other); end # Add a gem specification to the source index. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#193 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:193 def add_spec(gem_spec, name = T.unsafe(nil)); end # Add gem specifications to the source index. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#202 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:202 def add_specs(*gem_specs); end # TODO: remove method # - # source://yard//lib/yard/rubygems/backports/source_index.rb#109 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:109 def all_gems; end - # source://yard//lib/yard/rubygems/backports/source_index.rb#352 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:352 def dump; end # Iterate over the specifications in the source index. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#218 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:218 def each(&block); end # Find a gem by an exact match on the short name. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#256 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:256 def find_name(gem_name, requirement = T.unsafe(nil)); end # The signature for the given gem specification. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#242 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:242 def gem_signature(gem_full_name); end - # source://yard//lib/yard/rubygems/backports/source_index.rb#34 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:34 def gems; end # The signature for the source index. Changes in the signature indicate a # change in the index. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#233 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:233 def index_signature; end # Returns an Array specifications for the latest released versions # of each gem in this index. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#143 + # pkg:gem/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#251 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:251 def length; end # Reconstruct the source index from the specifications in +spec_dirs+. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#124 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:124 def load_gems_in(*spec_dirs); end # Returns an Array of Gem::Specifications that are not up to date. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#330 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:330 def outdated; end - # source://yard//lib/yard/rubygems/backports/source_index.rb#113 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:113 def prerelease_gems; end # An array including only the prerelease gemspecs # - # source://yard//lib/yard/rubygems/backports/source_index.rb#179 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:179 def prerelease_specs; end # Replaces the gems in the source index from specifications in the @@ -203,20 +203,20 @@ class Gem::SourceIndex # this source index wasn't created from a directory (via from_gems_in or # from_installed_gems, or having spec_dirs set). # - # source://yard//lib/yard/rubygems/backports/source_index.rb#322 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:322 def refresh!; end - # source://yard//lib/yard/rubygems/backports/source_index.rb#117 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:117 def released_gems; end # An array including only the released gemspecs # - # source://yard//lib/yard/rubygems/backports/source_index.rb#186 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:186 def released_specs; end # Remove a gem specification named +full_name+. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#211 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:211 def remove_spec(full_name); end # Search for a gem by Gem::Dependency +gem_pattern+. If +only_platform+ @@ -227,32 +227,32 @@ class Gem::SourceIndex # +gem_pattern+, and a Gem::Requirement for +platform_only+. This # behavior is deprecated and will be removed. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#270 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:270 def search(gem_pattern, platform_only = T.unsafe(nil)); end - # source://yard//lib/yard/rubygems/backports/source_index.rb#248 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:248 def size; end # Directories to use to refresh this SourceIndex when calling refresh! # - # source://yard//lib/yard/rubygems/backports/source_index.rb#39 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:39 def spec_dirs; end # Directories to use to refresh this SourceIndex when calling refresh! # - # source://yard//lib/yard/rubygems/backports/source_index.rb#39 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:39 def spec_dirs=(_arg0); end # The gem specification given a full gem spec name. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#225 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:225 def specification(full_name); end class << self # Creates a new SourceIndex from the ruby format gem specifications in # +spec_dirs+. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#80 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:80 def from_gems_in(*spec_dirs); end # Factory method to construct a source index instance for a given @@ -267,66 +267,66 @@ class Gem::SourceIndex # return:: # SourceIndex instance # - # source://yard//lib/yard/rubygems/backports/source_index.rb#61 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:61 def from_installed_gems(*deprecated); end # Returns a list of directories from Gem.path that contain specifications. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#72 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:72 def installed_spec_directories; end # Loads a ruby-format specification from +file_name+ and returns the # loaded spec. # - # source://yard//lib/yard/rubygems/backports/source_index.rb#90 + # pkg:gem/yard#lib/yard/rubygems/backports/source_index.rb:90 def load_specification(file_name); end end end -# source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#17 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:17 class IRB::SLex # @return [SLex] a new instance of SLex # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#25 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:25 def initialize; end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#60 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:60 def create(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#29 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:29 def def_rule(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil), &block); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#36 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:36 def def_rules(*tokens, &block); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#77 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:77 def inspect; end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#64 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:64 def match(token); end # need a check? # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#51 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:51 def postproc(token); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#45 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:45 def preproc(token, proc); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#56 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:56 def search(token); end end -# source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#18 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:18 IRB::SLex::DOUT = T.let(T.unsafe(nil), IRB::Notifier::CompositeNotifier) -# source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#20 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:20 IRB::SLex::D_DEBUG = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier) -# source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#21 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:21 IRB::SLex::D_DETAIL = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier) -# source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#19 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:19 IRB::SLex::D_WARN = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier) # ---------------------------------------------------------------------- @@ -335,17 +335,17 @@ IRB::SLex::D_WARN = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier) # # ---------------------------------------------------------------------- # -# source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#86 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:86 class IRB::SLex::Node # if postproc is nil, this node is an abstract node. # if postproc is non-nil, this node is a real node. # # @return [Node] a new instance of Node # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#89 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:89 def initialize(preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#113 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:113 def create_subnode(chrs, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end # chrs: String @@ -353,37 +353,37 @@ class IRB::SLex::Node # io must have getc()/ungetc(); and ungetc() must be # able to be called arbitrary number of times. # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#161 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:161 def match(chrs, op = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#198 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:198 def match_io(io, op = T.unsafe(nil)); end # Returns the value of attribute postproc. # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#96 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:96 def postproc; end # Sets the attribute postproc # # @param value the value to set the attribute postproc to. # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#96 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:96 def postproc=(_arg0); end # Returns the value of attribute preproc. # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#95 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:95 def preproc; end # Sets the attribute preproc # # @param value the value to set the attribute preproc to. # - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#95 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:95 def preproc=(_arg0); end - # source://yard//lib/yard/parser/ruby/legacy/irb/slex.rb#98 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/irb/slex.rb:98 def search(chrs, opt = T.unsafe(nil)); end end @@ -393,7 +393,7 @@ end # @example # Insertion.new([1, 2, 3], 4).before(3) # => [1, 2, 4, 3] # -# source://yard//lib/yard/core_ext/insertion.rb#7 +# pkg:gem/yard#lib/yard/core_ext/insertion.rb:7 class Insertion # Creates an insertion object on a list with a value to be # inserted. To finalize the insertion, call {#before} or @@ -403,7 +403,7 @@ class Insertion # @param value [Object] the value to insert # @return [Insertion] a new instance of Insertion # - # source://yard//lib/yard/core_ext/insertion.rb#14 + # pkg:gem/yard#lib/yard/core_ext/insertion.rb:14 def initialize(list, value); end # Inserts the value after +val+. @@ -413,14 +413,14 @@ class Insertion # @param recursive [Boolean] look inside sublists # @param val [Object] the object the value will be inserted after # - # source://yard//lib/yard/core_ext/insertion.rb#30 + # pkg:gem/yard#lib/yard/core_ext/insertion.rb:30 def after(val, recursive = T.unsafe(nil)); end # Alias for {#after} with +recursive+ set to true # # @since 0.6.0 # - # source://yard//lib/yard/core_ext/insertion.rb#38 + # pkg:gem/yard#lib/yard/core_ext/insertion.rb:38 def after_any(val); end # Inserts the value before +val+ @@ -428,14 +428,14 @@ class Insertion # @param recursive [Boolean] look inside sublists # @param val [Object] the object the value will be inserted before # - # source://yard//lib/yard/core_ext/insertion.rb#22 + # pkg:gem/yard#lib/yard/core_ext/insertion.rb:22 def before(val, recursive = T.unsafe(nil)); end # Alias for {#before} with +recursive+ set to true # # @since 0.6.0 # - # source://yard//lib/yard/core_ext/insertion.rb#34 + # pkg:gem/yard#lib/yard/core_ext/insertion.rb:34 def before_any(val); end private @@ -448,11 +448,11 @@ class Insertion # should be placed # @param val [Object] the value to insert # - # source://yard//lib/yard/core_ext/insertion.rb#49 + # pkg:gem/yard#lib/yard/core_ext/insertion.rb:49 def insertion(val, rel, recursive = T.unsafe(nil), list = T.unsafe(nil)); end end -# source://yard//lib/yard/core_ext/module.rb#2 +# pkg:gem/yard#lib/yard/core_ext/module.rb:2 class Module # Returns the class name of a full module namespace path # @@ -460,7 +460,7 @@ class Module # module A::B::C; class_name end # => "C" # @return [String] the last part of a module path # - # source://yard//lib/yard/core_ext/module.rb#8 + # pkg:gem/yard#lib/yard/core_ext/module.rb:8 def class_name; end end @@ -470,10 +470,10 @@ class Object < ::BasicObject private - # source://yard//lib/yard/globals.rb#8 + # pkg:gem/yard#lib/yard/globals.rb:8 def P(namespace, name = T.unsafe(nil), type = T.unsafe(nil)); end - # source://yard//lib/yard/globals.rb#20 + # pkg:gem/yard#lib/yard/globals.rb:20 def log; end end @@ -481,38 +481,38 @@ end # # @deprecated Use {YARD.ruby18?} or {YARD.ruby19?} instead. # -# source://yard//lib/yard.rb#61 +# pkg:gem/yard#lib/yard.rb:61 RUBY18 = T.let(T.unsafe(nil), FalseClass) -# source://yard//lib/yard.rb#62 +# pkg:gem/yard#lib/yard.rb:62 RUBY19 = T.let(T.unsafe(nil), TrueClass) # @private # -# source://yard//lib/yard/server/rack_adapter.rb#93 +# pkg:gem/yard#lib/yard/server/rack_adapter.rb:93 class Rack::Request - # source://yard//lib/yard/server/rack_adapter.rb#95 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:95 def query; end # Returns the value of attribute version_supplied. # - # source://yard//lib/yard/server/rack_adapter.rb#94 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:94 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/rack_adapter.rb#94 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:94 def version_supplied=(_arg0); end # @return [Boolean] # - # source://yard//lib/yard/server/rack_adapter.rb#96 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:96 def xhr?; end end -# source://yard//lib/yard/core_ext/string.rb#2 +# pkg:gem/yard#lib/yard/core_ext/string.rb:2 class String include ::Comparable @@ -522,14 +522,14 @@ class String # # @return [Array] an array representing the tokens # - # source://yard//lib/yard/core_ext/string.rb#8 + # pkg:gem/yard#lib/yard/core_ext/string.rb:8 def shell_split; end end # A subclass of Hash where all keys are converted into Symbols, and # optionally, all String values are converted into Symbols. # -# source://yard//lib/yard/core_ext/symbol_hash.rb#4 +# pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:4 class SymbolHash < ::Hash # Creates a new SymbolHash object # @@ -537,7 +537,7 @@ class SymbolHash < ::Hash # if this is set to +true+. # @return [SymbolHash] a new instance of SymbolHash # - # source://yard//lib/yard/core_ext/symbol_hash.rb#9 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:9 def initialize(symbolize_value = T.unsafe(nil)); end # Accessed a symbolized key @@ -545,7 +545,7 @@ class SymbolHash < ::Hash # @param key [#to_sym] the key to access # @return [Object] the value associated with the key # - # source://yard//lib/yard/core_ext/symbol_hash.rb#49 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:49 def [](key); end # Assigns a value to a symbolized key @@ -554,7 +554,7 @@ class SymbolHash < ::Hash # @param value [Object] the value to be assigned. If this is a String and # values are set to be symbolized, it will be converted into a Symbol. # - # source://yard//lib/yard/core_ext/symbol_hash.rb#42 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:42 def []=(key, value); end # Deleted a key and value associated with it @@ -562,7 +562,7 @@ class SymbolHash < ::Hash # @param key [#to_sym] the key to delete # @return [void] # - # source://yard//lib/yard/core_ext/symbol_hash.rb#54 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:54 def delete(key); end # Tests if a symbolized key exists @@ -570,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#60 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:60 def has_key?(key); end # Tests if a symbolized key exists @@ -578,7 +578,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 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:59 def key?(key); end # Merges the contents of another hash into a new SymbolHash object @@ -586,7 +586,7 @@ class SymbolHash < ::Hash # @param hash [Hash] the hash of objects to copy # @return [SymbolHash] a new SymbolHash containing the merged data # - # source://yard//lib/yard/core_ext/symbol_hash.rb#74 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:74 def merge(hash); end # Updates the object with the contents of another Hash object. @@ -595,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#68 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:68 def merge!(hash); end # Updates the object with the contents of another Hash object. @@ -604,14 +604,14 @@ 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 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:67 def update(hash); end class << self # @overload [] # @overload [] # - # source://yard//lib/yard/core_ext/symbol_hash.rb#28 + # pkg:gem/yard#lib/yard/core_ext/symbol_hash.rb:28 def [](*hsh); end end end @@ -621,7 +621,7 @@ end # # This file is automatically required by RubyGems 1.9 and newer. # -# source://yard//lib/yard.rb#2 +# pkg:gem/yard#lib/yard.rb:2 module YARD class << self # Loads gems that match the name 'yard-*' (recommended) or 'yard_*' except @@ -631,7 +631,7 @@ module YARD # @deprecated Use {Config.load_plugins} # @return [Boolean] true if all plugins loaded successfully, false otherwise. # - # source://yard//lib/yard.rb#31 + # pkg:gem/yard#lib/yard.rb:31 def load_plugins; end # An alias to {Parser::SourceParser}'s parsing method @@ -640,7 +640,7 @@ module YARD # YARD.parse('lib/**/*.rb') # @see Parser::SourceParser.parse # - # source://yard//lib/yard.rb#20 + # pkg:gem/yard#lib/yard.rb:20 def parse(*args); end # An alias to {Parser::SourceParser}'s parsing method @@ -649,44 +649,44 @@ module YARD # YARD.parse_string('class Foo; end') # @see Parser::SourceParser.parse_string # - # source://yard//lib/yard.rb#27 + # pkg:gem/yard#lib/yard.rb:27 def parse_string(*args); end # @return [Boolean] whether YARD is being run in Ruby 1.8 mode # - # source://yard//lib/yard.rb#44 + # pkg:gem/yard#lib/yard.rb:44 def ruby18?; end # @return [Boolean] whether YARD is being run in Ruby 1.9 mode # - # source://yard//lib/yard.rb#47 + # pkg:gem/yard#lib/yard.rb:47 def ruby19?; end # @return [Boolean] whether YARD is being run in Ruby 2.0 # - # source://yard//lib/yard.rb#50 + # pkg:gem/yard#lib/yard.rb:50 def ruby2?; end # @return [Boolean] whether YARD is being run in Ruby 3.1 # - # source://yard//lib/yard.rb#56 + # pkg:gem/yard#lib/yard.rb:56 def ruby31?; end # @return [Boolean] whether YARD is being run in Ruby 3.0 # - # source://yard//lib/yard.rb#53 + # pkg:gem/yard#lib/yard.rb:53 def ruby3?; end # @return [Boolean] whether YARD is being run inside of Windows # - # source://yard//lib/yard.rb#34 + # pkg:gem/yard#lib/yard.rb:34 def windows?; end end end # Namespace for command-line interface components # -# source://yard//lib/yard/autoload.rb#6 +# pkg:gem/yard#lib/yard/autoload.rb:6 module YARD::CLI; end # Abstract base class for CLI utilities. Provides some helper methods for @@ -695,11 +695,11 @@ module YARD::CLI; end # @abstract # @since 0.6.0 # -# source://yard//lib/yard/cli/command.rb#11 +# pkg:gem/yard#lib/yard/cli/command.rb:11 class YARD::CLI::Command # @since 0.6.0 # - # source://yard//lib/yard/cli/command.rb#16 + # pkg:gem/yard#lib/yard/cli/command.rb:16 def description; end protected @@ -710,7 +710,7 @@ class YARD::CLI::Command # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/cli/command.rb#24 + # pkg:gem/yard#lib/yard/cli/command.rb:24 def common_options(opts); end # Loads a Ruby script. If Config.options[:safe_mode] is enabled, @@ -719,7 +719,7 @@ class YARD::CLI::Command # @param file [String] the path to the script to load # @since 0.6.2 # - # source://yard//lib/yard/cli/command.rb#68 + # pkg:gem/yard#lib/yard/cli/command.rb:68 def load_script(file); end # Parses the option and gracefully handles invalid switches @@ -730,7 +730,7 @@ class YARD::CLI::Command # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/cli/command.rb#55 + # pkg:gem/yard#lib/yard/cli/command.rb:55 def parse_options(opts, args); end # Callback when an unrecognize option is parsed @@ -739,7 +739,7 @@ class YARD::CLI::Command # option parser # @since 0.6.0 # - # source://yard//lib/yard/cli/command.rb#80 + # pkg:gem/yard#lib/yard/cli/command.rb:80 def unrecognized_option(err); end class << self @@ -748,7 +748,7 @@ class YARD::CLI::Command # @see #run # @since 0.6.0 # - # source://yard//lib/yard/cli/command.rb#14 + # pkg:gem/yard#lib/yard/cli/command.rb:14 def run(*args); end end end @@ -773,11 +773,11 @@ end # @see commands # @see default_command # -# source://yard//lib/yard/cli/command_parser.rb#23 +# pkg:gem/yard#lib/yard/cli/command_parser.rb:23 class YARD::CLI::CommandParser # @return [CommandParser] a new instance of CommandParser # - # source://yard//lib/yard/cli/command_parser.rb#56 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:56 def initialize; end # Runs the {Command} object matching the command name of the first @@ -785,47 +785,47 @@ class YARD::CLI::CommandParser # # @return [void] # - # source://yard//lib/yard/cli/command_parser.rb#63 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:63 def run(*args); end private - # source://yard//lib/yard/cli/command_parser.rb#80 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:80 def commands; end - # source://yard//lib/yard/cli/command_parser.rb#82 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:82 def list_commands; end class << self # @return [Hash{Symbol => Command}] the mapping of command names to # command classes to parse the user command. # - # source://yard//lib/yard/cli/command_parser.rb#27 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:27 def commands; end # @return [Hash{Symbol => Command}] the mapping of command names to # command classes to parse the user command. # - # source://yard//lib/yard/cli/command_parser.rb#27 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:27 def commands=(_arg0); end # @return [Symbol] the default command name to use when no options # are specified or # - # source://yard//lib/yard/cli/command_parser.rb#31 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:31 def default_command; end # @return [Symbol] the default command name to use when no options # are specified or # - # source://yard//lib/yard/cli/command_parser.rb#31 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:31 def default_command=(_arg0); end # Convenience method to create a new CommandParser and call {#run} # # @return [void] # - # source://yard//lib/yard/cli/command_parser.rb#54 + # pkg:gem/yard#lib/yard/cli/command_parser.rb:54 def run(*args); end end end @@ -834,133 +834,133 @@ end # # @since 0.6.2 # -# source://yard//lib/yard/cli/config.rb#6 +# pkg:gem/yard#lib/yard/cli/config.rb:6 class YARD::CLI::Config < ::YARD::CLI::Command # @return [Config] a new instance of Config # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#26 + # pkg:gem/yard#lib/yard/cli/config.rb:26 def initialize; end # @return [Boolean] whether to append values to existing key # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#20 + # pkg:gem/yard#lib/yard/cli/config.rb:20 def append; end # @return [Boolean] whether to append values to existing key # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#20 + # pkg:gem/yard#lib/yard/cli/config.rb:20 def append=(_arg0); end # @return [Boolean] whether the value being set should be inside a list # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#17 + # pkg:gem/yard#lib/yard/cli/config.rb:17 def as_list; end # @return [Boolean] whether the value being set should be inside a list # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#17 + # pkg:gem/yard#lib/yard/cli/config.rb:17 def as_list=(_arg0); end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#36 + # pkg:gem/yard#lib/yard/cli/config.rb:36 def description; end # @return [String, nil] command to use when configuring ~/.gemrc file. # If the string is nil, configuration should not occur. # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#24 + # pkg:gem/yard#lib/yard/cli/config.rb:24 def gem_install_cmd; end # @return [String, nil] command to use when configuring ~/.gemrc file. # If the string is nil, configuration should not occur. # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#24 + # pkg:gem/yard#lib/yard/cli/config.rb:24 def gem_install_cmd=(_arg0); end # @return [Symbol, nil] the key to view/edit, if any # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#8 + # pkg:gem/yard#lib/yard/cli/config.rb:8 def key; end # @return [Symbol, nil] the key to view/edit, if any # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#8 + # pkg:gem/yard#lib/yard/cli/config.rb:8 def key=(_arg0); end # @return [Boolean] whether to reset the {#key} # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#14 + # pkg:gem/yard#lib/yard/cli/config.rb:14 def reset; end # @return [Boolean] whether to reset the {#key} # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#14 + # pkg:gem/yard#lib/yard/cli/config.rb:14 def reset=(_arg0); end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#40 + # pkg:gem/yard#lib/yard/cli/config.rb:40 def run(*args); end # @return [Array, nil] the list of values to set (or single value), if modifying # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#11 + # pkg:gem/yard#lib/yard/cli/config.rb:11 def values; end # @return [Array, nil] the list of values to set (or single value), if modifying # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#11 + # pkg:gem/yard#lib/yard/cli/config.rb:11 def values=(_arg0); end private # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#57 + # pkg:gem/yard#lib/yard/cli/config.rb:57 def configure_gemrc; end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#111 + # pkg:gem/yard#lib/yard/cli/config.rb:111 def encode_value(value); end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#103 + # pkg:gem/yard#lib/yard/cli/config.rb:103 def encode_values; end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#97 + # pkg:gem/yard#lib/yard/cli/config.rb:97 def list_configuration; end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#78 + # pkg:gem/yard#lib/yard/cli/config.rb:78 def modify_item; end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#120 + # pkg:gem/yard#lib/yard/cli/config.rb:120 def optparse(*args); end # @since 0.6.2 # - # source://yard//lib/yard/cli/config.rb#92 + # pkg:gem/yard#lib/yard/cli/config.rb:92 def view_item; end end @@ -969,84 +969,84 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/cli/diff.rb#11 +# pkg:gem/yard#lib/yard/cli/diff.rb:11 class YARD::CLI::Diff < ::YARD::CLI::Command # @return [Diff] a new instance of Diff # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#12 + # pkg:gem/yard#lib/yard/cli/diff.rb:12 def initialize; end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#24 + # pkg:gem/yard#lib/yard/cli/diff.rb:24 def description; end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#28 + # pkg:gem/yard#lib/yard/cli/diff.rb:28 def run(*args); end private # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#83 + # pkg:gem/yard#lib/yard/cli/diff.rb:83 def added_objects(registry1, registry2); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#78 + # pkg:gem/yard#lib/yard/cli/diff.rb:78 def all_objects; end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#233 + # pkg:gem/yard#lib/yard/cli/diff.rb:233 def cleanup(gemfile); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#175 + # pkg:gem/yard#lib/yard/cli/diff.rb:175 def expand_and_parse(gemfile, io); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#187 + # pkg:gem/yard#lib/yard/cli/diff.rb:187 def expand_gem(gemfile, io); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#181 + # pkg:gem/yard#lib/yard/cli/diff.rb:181 def generate_yardoc(dir); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#118 + # pkg:gem/yard#lib/yard/cli/diff.rb:118 def load_gem_data(gemfile); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#102 + # pkg:gem/yard#lib/yard/cli/diff.rb:102 def load_git_commit(commit); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#87 + # pkg:gem/yard#lib/yard/cli/diff.rb:87 def modified_objects(registry1, registry2); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#239 + # pkg:gem/yard#lib/yard/cli/diff.rb:239 def optparse(*args); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#98 + # pkg:gem/yard#lib/yard/cli/diff.rb:98 def removed_objects(registry1, registry2); end # @since 0.6.0 # - # source://yard//lib/yard/cli/diff.rb#225 + # pkg:gem/yard#lib/yard/cli/diff.rb:225 def require_rubygems; end end @@ -1054,28 +1054,28 @@ end # # @since 0.8.6 # -# source://yard//lib/yard/cli/display.rb#6 +# pkg:gem/yard#lib/yard/cli/display.rb:6 class YARD::CLI::Display < ::YARD::CLI::Yardoc # @return [Display] a new instance of Display # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#9 + # pkg:gem/yard#lib/yard/cli/display.rb:9 def initialize(*args); end # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#7 + # pkg:gem/yard#lib/yard/cli/display.rb:7 def description; end # @return [String] the output data for all formatted objects # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#27 + # pkg:gem/yard#lib/yard/cli/display.rb:27 def format_objects; end # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#61 + # pkg:gem/yard#lib/yard/cli/display.rb:61 def output_options(opts); end # Parses commandline options. @@ -1083,7 +1083,7 @@ class YARD::CLI::Display < ::YARD::CLI::Yardoc # @param args [Array] each tokenized argument # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#46 + # pkg:gem/yard#lib/yard/cli/display.rb:46 def parse_arguments(*args); end # Runs the commandline utility, parsing arguments and displaying an object @@ -1093,28 +1093,28 @@ class YARD::CLI::Display < ::YARD::CLI::Yardoc # @return [void] # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#21 + # pkg:gem/yard#lib/yard/cli/display.rb:21 def run(*args); end # @since 0.8.6 # - # source://yard//lib/yard/cli/display.rb#33 + # pkg:gem/yard#lib/yard/cli/display.rb:33 def wrap_layout(contents); end end # @since 0.6.0 # -# source://yard//lib/yard/cli/gems.rb#5 +# pkg:gem/yard#lib/yard/cli/gems.rb:5 class YARD::CLI::Gems < ::YARD::CLI::Command # @return [Gems] a new instance of Gems # @since 0.6.0 # - # source://yard//lib/yard/cli/gems.rb#6 + # pkg:gem/yard#lib/yard/cli/gems.rb:6 def initialize; end # @since 0.6.0 # - # source://yard//lib/yard/cli/gems.rb#11 + # pkg:gem/yard#lib/yard/cli/gems.rb:11 def description; end # Runs the commandline utility, parsing arguments and generating @@ -1124,28 +1124,28 @@ class YARD::CLI::Gems < ::YARD::CLI::Command # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/cli/gems.rb#18 + # pkg:gem/yard#lib/yard/cli/gems.rb:18 def run(*args); end private # @since 0.6.0 # - # source://yard//lib/yard/cli/gems.rb#47 + # pkg:gem/yard#lib/yard/cli/gems.rb:47 def add_gems(gems); end # Builds .yardoc files for all non-existing gems # # @since 0.6.0 # - # source://yard//lib/yard/cli/gems.rb#27 + # pkg:gem/yard#lib/yard/cli/gems.rb:27 def build_gems; end # Parses options # # @since 0.6.0 # - # source://yard//lib/yard/cli/gems.rb#61 + # pkg:gem/yard#lib/yard/cli/gems.rb:61 def optparse(*args); end end @@ -1155,26 +1155,26 @@ end # @see Graph#run # @since 0.6.0 # -# source://yard//lib/yard/cli/graph.rb#24 +# pkg:gem/yard#lib/yard/cli/graph.rb:24 class YARD::CLI::Graph < ::YARD::CLI::YardoptsCommand # Creates a new instance of the command-line utility # # @return [Graph] a new instance of Graph # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#34 + # pkg:gem/yard#lib/yard/cli/graph.rb:34 def initialize; end # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#42 + # pkg:gem/yard#lib/yard/cli/graph.rb:42 def description; end # The set of objects to include in the graph. # # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#31 + # pkg:gem/yard#lib/yard/cli/graph.rb:31 def objects; end # The options parsed out of the commandline. @@ -1183,7 +1183,7 @@ class YARD::CLI::Graph < ::YARD::CLI::YardoptsCommand # # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#28 + # pkg:gem/yard#lib/yard/cli/graph.rb:28 def options; end # Runs the command-line utility. @@ -1194,7 +1194,7 @@ class YARD::CLI::Graph < ::YARD::CLI::YardoptsCommand # @param args [Array] each tokenized argument # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#52 + # pkg:gem/yard#lib/yard/cli/graph.rb:52 def run(*args); end private @@ -1204,55 +1204,55 @@ class YARD::CLI::Graph < ::YARD::CLI::YardoptsCommand # @param args [Array] each tokenized argument # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#69 + # pkg:gem/yard#lib/yard/cli/graph.rb:69 def optparse(*args); end # @since 0.6.0 # - # source://yard//lib/yard/cli/graph.rb#65 + # pkg:gem/yard#lib/yard/cli/graph.rb:65 def unrecognized_option(err); end end # Options to pass to the {Graph} CLI. # -# source://yard//lib/yard/cli/graph.rb#5 +# pkg:gem/yard#lib/yard/cli/graph.rb:5 class YARD::CLI::GraphOptions < ::YARD::Templates::TemplateOptions # @return [String] any contents to pass to the digraph # - # source://yard//lib/yard/cli/graph.rb#16 + # pkg:gem/yard#lib/yard/cli/graph.rb:16 def contents; end # @return [String] any contents to pass to the digraph # - # source://yard//lib/yard/cli/graph.rb#16 + # pkg:gem/yard#lib/yard/cli/graph.rb:16 def contents=(_arg0); end # @return [Boolean] whether to show the object dependencies # - # source://yard//lib/yard/cli/graph.rb#13 + # pkg:gem/yard#lib/yard/cli/graph.rb:13 def dependencies; end # @return [Boolean] whether to show the object dependencies # - # source://yard//lib/yard/cli/graph.rb#13 + # pkg:gem/yard#lib/yard/cli/graph.rb:13 def dependencies=(_arg0); end # @return [:dot] the default output format # - # source://yard//lib/yard/cli/graph.rb#7 + # pkg:gem/yard#lib/yard/cli/graph.rb:7 def format; end - # source://yard//lib/yard/cli/graph.rb#7 + # pkg:gem/yard#lib/yard/cli/graph.rb:7 def format=(_arg0); end # @return [Boolean] whether to list the full class diagram # - # source://yard//lib/yard/cli/graph.rb#10 + # pkg:gem/yard#lib/yard/cli/graph.rb:10 def full; end # @return [Boolean] whether to list the full class diagram # - # source://yard//lib/yard/cli/graph.rb#10 + # pkg:gem/yard#lib/yard/cli/graph.rb:10 def full=(_arg0); end end @@ -1260,16 +1260,16 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/cli/help.rb#6 +# pkg:gem/yard#lib/yard/cli/help.rb:6 class YARD::CLI::Help < ::YARD::CLI::Command # @since 0.6.0 # - # source://yard//lib/yard/cli/help.rb#7 + # pkg:gem/yard#lib/yard/cli/help.rb:7 def description; end # @since 0.6.0 # - # source://yard//lib/yard/cli/help.rb#9 + # pkg:gem/yard#lib/yard/cli/help.rb:9 def run(*args); end end @@ -1281,42 +1281,42 @@ end # @since 0.8.0 # @todo Support msgminit and msgmerge features? # -# source://yard//lib/yard/cli/i18n.rb#13 +# pkg:gem/yard#lib/yard/cli/i18n.rb:13 class YARD::CLI::I18n < ::YARD::CLI::Yardoc # @return [I18n] a new instance of I18n # @since 0.8.0 # - # source://yard//lib/yard/cli/i18n.rb#14 + # pkg:gem/yard#lib/yard/cli/i18n.rb:14 def initialize; end # @since 0.8.0 # - # source://yard//lib/yard/cli/i18n.rb#19 + # pkg:gem/yard#lib/yard/cli/i18n.rb:19 def description; end # @since 0.8.0 # - # source://yard//lib/yard/cli/i18n.rb#23 + # pkg:gem/yard#lib/yard/cli/i18n.rb:23 def run(*args); end private # @since 0.8.0 # - # source://yard//lib/yard/cli/i18n.rb#44 + # pkg:gem/yard#lib/yard/cli/i18n.rb:44 def general_options(opts); end # @since 0.8.0 # - # source://yard//lib/yard/cli/i18n.rb#61 + # pkg:gem/yard#lib/yard/cli/i18n.rb:61 def generate_pot(relative_base_path); end end # Lists all constant and method names in the codebase. Uses {Yardoc} --list. # -# source://yard//lib/yard/cli/list.rb#5 +# pkg:gem/yard#lib/yard/cli/list.rb:5 class YARD::CLI::List < ::YARD::CLI::Command - # source://yard//lib/yard/cli/list.rb#6 + # pkg:gem/yard#lib/yard/cli/list.rb:6 def description; end # Runs the commandline utility, parsing arguments and displaying a @@ -1325,7 +1325,7 @@ class YARD::CLI::List < ::YARD::CLI::Command # @param args [Array] the list of arguments. # @return [void] # - # source://yard//lib/yard/cli/list.rb#13 + # pkg:gem/yard#lib/yard/cli/list.rb:13 def run(*args); end end @@ -1333,11 +1333,11 @@ end # # @since 0.8.6 # -# source://yard//lib/yard/cli/markup_types.rb#6 +# pkg:gem/yard#lib/yard/cli/markup_types.rb:6 class YARD::CLI::MarkupTypes < ::YARD::CLI::Command # @since 0.8.6 # - # source://yard//lib/yard/cli/markup_types.rb#7 + # pkg:gem/yard#lib/yard/cli/markup_types.rb:7 def description; end # Runs the commandline utility, parsing arguments and displaying a @@ -1347,7 +1347,7 @@ class YARD::CLI::MarkupTypes < ::YARD::CLI::Command # @return [void] # @since 0.8.6 # - # source://yard//lib/yard/cli/markup_types.rb#14 + # pkg:gem/yard#lib/yard/cli/markup_types.rb:14 def run(*args); end end @@ -1355,113 +1355,113 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/cli/server.rb#7 +# pkg:gem/yard#lib/yard/cli/server.rb:7 class YARD::CLI::Server < ::YARD::CLI::Command # Creates a new instance of the Server command line utility # # @return [Server] a new instance of Server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#29 + # pkg:gem/yard#lib/yard/cli/server.rb:29 def initialize; end # @return [YARD::Server::Adapter] the adapter to use for loading the web server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#18 + # pkg:gem/yard#lib/yard/cli/server.rb:18 def adapter; end # @return [YARD::Server::Adapter] the adapter to use for loading the web server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#18 + # pkg:gem/yard#lib/yard/cli/server.rb:18 def adapter=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#41 + # pkg:gem/yard#lib/yard/cli/server.rb:41 def description; end # @return [Hash] a list of library names and yardoc files to serve # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#15 + # pkg:gem/yard#lib/yard/cli/server.rb:15 def libraries; end # @return [Hash] a list of library names and yardoc files to serve # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#15 + # pkg:gem/yard#lib/yard/cli/server.rb:15 def libraries=(_arg0); end # @return [Hash] a list of options to pass to the doc server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#9 + # pkg:gem/yard#lib/yard/cli/server.rb:9 def options; end # @return [Hash] a list of options to pass to the doc server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#9 + # pkg:gem/yard#lib/yard/cli/server.rb:9 def options=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#45 + # pkg:gem/yard#lib/yard/cli/server.rb:45 def run(*args); end # @return [Array] a list of scripts to load # @since 0.6.2 # - # source://yard//lib/yard/cli/server.rb#22 + # pkg:gem/yard#lib/yard/cli/server.rb:22 def scripts; end # @return [Array] a list of scripts to load # @since 0.6.2 # - # source://yard//lib/yard/cli/server.rb#22 + # pkg:gem/yard#lib/yard/cli/server.rb:22 def scripts=(_arg0); end # @return [Hash] a list of options to pass to the web server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#12 + # pkg:gem/yard#lib/yard/cli/server.rb:12 def server_options; end # @return [Hash] a list of options to pass to the web server # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#12 + # pkg:gem/yard#lib/yard/cli/server.rb:12 def server_options=(_arg0); end # @return [Array] a list of template paths to register # @since 0.6.2 # - # source://yard//lib/yard/cli/server.rb#26 + # pkg:gem/yard#lib/yard/cli/server.rb:26 def template_paths; end # @return [Array] a list of template paths to register # @since 0.6.2 # - # source://yard//lib/yard/cli/server.rb#26 + # pkg:gem/yard#lib/yard/cli/server.rb:26 def template_paths=(_arg0); end private # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#131 + # pkg:gem/yard#lib/yard/cli/server.rb:131 def add_gems; end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#140 + # pkg:gem/yard#lib/yard/cli/server.rb:140 def add_gems_from_gemfile(gemfile = T.unsafe(nil)); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#76 + # pkg:gem/yard#lib/yard/cli/server.rb:76 def add_libraries(args); end # @param dir [String, nil] The argument provided on the CLI after the @@ -1471,43 +1471,43 @@ class YARD::CLI::Server < ::YARD::CLI::Command # @return [LibraryVersion, nil] # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#115 + # pkg:gem/yard#lib/yard/cli/server.rb:115 def create_library_version_if_yardopts_exist(library, dir); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#249 + # pkg:gem/yard#lib/yard/cli/server.rb:249 def extract_db_from_options_file(options_file); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#239 + # pkg:gem/yard#lib/yard/cli/server.rb:239 def generate_doc_for_first_time(libver); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#56 + # pkg:gem/yard#lib/yard/cli/server.rb:56 def load_scripts; end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#60 + # pkg:gem/yard#lib/yard/cli/server.rb:60 def load_template_paths; end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#156 + # pkg:gem/yard#lib/yard/cli/server.rb:156 def optparse(*args); end # @since 0.6.0 # - # source://yard//lib/yard/cli/server.rb#66 + # pkg:gem/yard#lib/yard/cli/server.rb:66 def select_adapter; end end # @since 0.6.0 # -# source://yard//lib/yard/cli/stats.rb#5 +# pkg:gem/yard#lib/yard/cli/stats.rb:5 class YARD::CLI::Stats < ::YARD::CLI::Yardoc include ::YARD::Templates::Helpers::BaseHelper @@ -1515,7 +1515,7 @@ class YARD::CLI::Stats < ::YARD::CLI::Yardoc # @return [Stats] a new instance of Stats # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#18 + # pkg:gem/yard#lib/yard/cli/stats.rb:18 def initialize(parse = T.unsafe(nil)); end # @return [Array] all the parsed objects in the registry, @@ -1523,12 +1523,12 @@ class YARD::CLI::Stats < ::YARD::CLI::Yardoc # on the arguments passed to the command. # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#108 + # pkg:gem/yard#lib/yard/cli/stats.rb:108 def all_objects; end # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#25 + # pkg:gem/yard#lib/yard/cli/stats.rb:25 def description; end # Prints a statistic to standard out. This method is optimized for @@ -1542,19 +1542,19 @@ class YARD::CLI::Stats < ::YARD::CLI::Yardoc # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#162 + # pkg:gem/yard#lib/yard/cli/stats.rb:162 def output(name, data, undoc = T.unsafe(nil)); end # @return [Boolean] whether to parse and load registry # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#15 + # pkg:gem/yard#lib/yard/cli/stats.rb:15 def parse; end # @return [Boolean] whether to parse and load registry # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#15 + # pkg:gem/yard#lib/yard/cli/stats.rb:15 def parse=(_arg0); end # Prints statistics for different object types @@ -1564,14 +1564,14 @@ class YARD::CLI::Stats < ::YARD::CLI::Yardoc # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#54 + # pkg:gem/yard#lib/yard/cli/stats.rb:54 def print_statistics; end # Prints list of undocumented objects # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#79 + # pkg:gem/yard#lib/yard/cli/stats.rb:79 def print_undocumented_objects; end # Runs the commandline utility, parsing arguments and generating @@ -1581,56 +1581,56 @@ class YARD::CLI::Stats < ::YARD::CLI::Yardoc # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#34 + # pkg:gem/yard#lib/yard/cli/stats.rb:34 def run(*args); end # Statistics for attributes # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#135 + # pkg:gem/yard#lib/yard/cli/stats.rb:135 def stats_for_attributes; end # Statistics for classes # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#125 + # pkg:gem/yard#lib/yard/cli/stats.rb:125 def stats_for_classes; end # Statistics for constants # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#130 + # pkg:gem/yard#lib/yard/cli/stats.rb:130 def stats_for_constants; end # Statistics for files # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#113 + # pkg:gem/yard#lib/yard/cli/stats.rb:113 def stats_for_files; end # Statistics for methods # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#144 + # pkg:gem/yard#lib/yard/cli/stats.rb:144 def stats_for_methods; end # Statistics for modules # # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#120 + # pkg:gem/yard#lib/yard/cli/stats.rb:120 def stats_for_modules; end private # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#199 + # pkg:gem/yard#lib/yard/cli/stats.rb:199 def general_options(opts); end # Parses commandline options. @@ -1638,12 +1638,12 @@ class YARD::CLI::Stats < ::YARD::CLI::Yardoc # @param args [Array] each tokenized argument # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#185 + # pkg:gem/yard#lib/yard/cli/stats.rb:185 def optparse(*args); end # @since 0.6.0 # - # source://yard//lib/yard/cli/stats.rb#176 + # pkg:gem/yard#lib/yard/cli/stats.rb:176 def type_statistics(type); end end @@ -1653,19 +1653,19 @@ end # @see #print_statistics # @since 0.6.0 # -# source://yard//lib/yard/cli/stats.rb#12 +# pkg:gem/yard#lib/yard/cli/stats.rb:12 YARD::CLI::Stats::STATS_ORDER = T.let(T.unsafe(nil), Array) # A tool to view documentation in the console like `ri` # -# source://yard//lib/yard/cli/yri.rb#7 +# pkg:gem/yard#lib/yard/cli/yri.rb:7 class YARD::CLI::YRI < ::YARD::CLI::Command # @return [YRI] a new instance of YRI # - # source://yard//lib/yard/cli/yri.rb#31 + # pkg:gem/yard#lib/yard/cli/yri.rb:31 def initialize; end - # source://yard//lib/yard/cli/yri.rb#41 + # pkg:gem/yard#lib/yard/cli/yri.rb:41 def description; end # Runs the command-line utility. @@ -1674,7 +1674,7 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # YRI.new.run('String#reverse') # @param args [Array] each tokenized argument # - # source://yard//lib/yard/cli/yri.rb#50 + # pkg:gem/yard#lib/yard/cli/yri.rb:50 def run(*args); end protected @@ -1683,7 +1683,7 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # # @return [void] # - # source://yard//lib/yard/cli/yri.rb#85 + # pkg:gem/yard#lib/yard/cli/yri.rb:85 def cache_object(name, path); end # Locates an object by name starting in the cached paths and then @@ -1693,13 +1693,13 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # @return [CodeObjects::Base] an object if found # @return [nil] if no object is found # - # source://yard//lib/yard/cli/yri.rb#113 + # pkg:gem/yard#lib/yard/cli/yri.rb:113 def find_object(name); end # @param object [CodeObjects::Base] the object to print. # @return [String] the formatted output for an object. # - # source://yard//lib/yard/cli/yri.rb#98 + # pkg:gem/yard#lib/yard/cli/yri.rb:98 def print_object(object); end # Prints the command usage @@ -1707,7 +1707,7 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # @return [void] # @since 0.5.6 # - # source://yard//lib/yard/cli/yri.rb#78 + # pkg:gem/yard#lib/yard/cli/yri.rb:78 def print_usage; end private @@ -1716,28 +1716,28 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # # @since 0.5.1 # - # source://yard//lib/yard/cli/yri.rb#181 + # pkg:gem/yard#lib/yard/cli/yri.rb:181 def add_default_paths; end # Adds all RubyGems yardoc files to search paths # # @return [void] # - # source://yard//lib/yard/cli/yri.rb#161 + # pkg:gem/yard#lib/yard/cli/yri.rb:161 def add_gem_paths; end # Loads {CACHE_FILE} # # @return [void] # - # source://yard//lib/yard/cli/yri.rb#151 + # pkg:gem/yard#lib/yard/cli/yri.rb:151 def load_cache; end # Parses commandline options. # # @param args [Array] each tokenized argument # - # source://yard//lib/yard/cli/yri.rb#190 + # pkg:gem/yard#lib/yard/cli/yri.rb:190 def optparse(*args); end # Tries to load the object with name. If successful, caches the object @@ -1749,7 +1749,7 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # @param name [String] the object path # @return [void] # - # source://yard//lib/yard/cli/yri.rb#143 + # pkg:gem/yard#lib/yard/cli/yri.rb:143 def try_load_object(name, cache_path); end class << self @@ -1757,7 +1757,7 @@ class YARD::CLI::YRI < ::YARD::CLI::Command # # @see #run # - # source://yard//lib/yard/cli/yri.rb#29 + # pkg:gem/yard#lib/yard/cli/yri.rb:29 def run(*args); end end end @@ -1765,7 +1765,7 @@ end # The location in {YARD::CONFIG_DIR} where the YRI cache file is loaded # from. # -# source://yard//lib/yard/cli/yri.rb#10 +# pkg:gem/yard#lib/yard/cli/yri.rb:10 YARD::CLI::YRI::CACHE_FILE = T.let(T.unsafe(nil), String) # Default search paths that should be loaded dynamically into YRI. These paths @@ -1777,7 +1777,7 @@ YARD::CLI::YRI::CACHE_FILE = T.let(T.unsafe(nil), String) # @return [Array] a list of extra search paths # @since 0.6.0 # -# source://yard//lib/yard/cli/yri.rb#25 +# pkg:gem/yard#lib/yard/cli/yri.rb:25 YARD::CLI::YRI::DEFAULT_SEARCH_PATHS = T.let(T.unsafe(nil), Array) # A file containing all paths, delimited by newlines, to search for @@ -1785,17 +1785,17 @@ YARD::CLI::YRI::DEFAULT_SEARCH_PATHS = T.let(T.unsafe(nil), Array) # # @since 0.5.1 # -# source://yard//lib/yard/cli/yri.rb#15 +# pkg:gem/yard#lib/yard/cli/yri.rb:15 YARD::CLI::YRI::SEARCH_PATHS_FILE = T.let(T.unsafe(nil), String) -# source://yard//lib/yard/cli/yardoc.rb#145 +# pkg:gem/yard#lib/yard/cli/yardoc.rb:145 class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # Creates a new instance of the commandline utility # # @return [Yardoc] a new instance of Yardoc # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#207 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:207 def initialize; end # The list of all objects to process. Override this method to change @@ -1805,7 +1805,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of code objects to process # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#330 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:330 def all_objects; end # Keep track of which APIs are to be shown @@ -1813,7 +1813,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of APIs # @since 0.8.1 # - # source://yard//lib/yard/cli/yardoc.rb#180 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:180 def apis; end # Keep track of which APIs are to be shown @@ -1821,84 +1821,84 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of APIs # @since 0.8.1 # - # source://yard//lib/yard/cli/yardoc.rb#180 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:180 def apis=(_arg0); end # @return [Array] a list of assets to copy after generation # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#197 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:197 def assets; end # @return [Array] a list of assets to copy after generation # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#197 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:197 def assets=(_arg0); end # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#234 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:234 def description; end # @return [Array] list of excluded paths (regexp matches) # @since 0.5.3 # - # source://yard//lib/yard/cli/yardoc.rb#155 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:155 def excluded; end # @return [Array] list of excluded paths (regexp matches) # @since 0.5.3 # - # source://yard//lib/yard/cli/yardoc.rb#155 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:155 def excluded=(_arg0); end # @return [Boolean] whether yard exits with error status code if a warning occurs # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#204 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:204 def fail_on_warning; end # @return [Boolean] whether yard exits with error status code if a warning occurs # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#204 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:204 def fail_on_warning=(_arg0); end # @return [Array] list of Ruby source files to process # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#151 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:151 def files; end # @return [Array] list of Ruby source files to process # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#151 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:151 def files=(_arg0); end # @return [Boolean] whether to generate output # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#166 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:166 def generate; end # @return [Boolean] whether to generate output # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#166 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:166 def generate=(_arg0); end # @return [Boolean] whether markup option was specified # @since 0.7.0 # - # source://yard//lib/yard/cli/yardoc.rb#201 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:201 def has_markup; end # @return [Boolean] whether markup option was specified # @since 0.7.0 # - # source://yard//lib/yard/cli/yardoc.rb#201 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:201 def has_markup=(_arg0); end # Keep track of which APIs are to be hidden @@ -1906,7 +1906,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of APIs to be hidden # @since 0.8.7 # - # source://yard//lib/yard/cli/yardoc.rb#185 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:185 def hidden_apis; end # Keep track of which APIs are to be hidden @@ -1914,38 +1914,38 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of APIs to be hidden # @since 0.8.7 # - # source://yard//lib/yard/cli/yardoc.rb#185 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:185 def hidden_apis=(_arg0); end # @return [Array] a list of tags to hide from templates # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#189 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:189 def hidden_tags; end # @return [Array] a list of tags to hide from templates # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#189 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:189 def hidden_tags=(_arg0); end # @return [Boolean] whether to print a list of objects # @since 0.5.5 # - # source://yard//lib/yard/cli/yardoc.rb#170 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:170 def list; end # @return [Boolean] whether to print a list of objects # @since 0.5.5 # - # source://yard//lib/yard/cli/yardoc.rb#170 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:170 def list=(_arg0); end # @return [Hash] the hash of options passed to the template. # @see Templates::Engine#render # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#148 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:148 def options; end # Parses commandline arguments @@ -1954,7 +1954,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Boolean] whether or not arguments are valid # @since 0.5.6 # - # source://yard//lib/yard/cli/yardoc.rb#291 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:291 def parse_arguments(*args); end # Runs the commandline utility, parsing arguments and generating @@ -1965,31 +1965,31 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#244 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:244 def run(*args); end # @return [Boolean] whether objects should be serialized to .yardoc db # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#163 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:163 def save_yardoc; end # @return [Boolean] whether objects should be serialized to .yardoc db # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#163 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:163 def save_yardoc=(_arg0); end # @return [Boolean] whether to print statistics after parsing # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#193 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:193 def statistics; end # @return [Boolean] whether to print statistics after parsing # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#193 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:193 def statistics=(_arg0); end # @return [Boolean] whether to use the existing yardoc db if the @@ -1997,7 +1997,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # parse only changed files. # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#160 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:160 def use_cache; end # @return [Boolean] whether to use the existing yardoc db if the @@ -2005,7 +2005,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # parse only changed files. # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#160 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:160 def use_cache=(_arg0); end # Keep track of which visibilities are to be shown @@ -2013,7 +2013,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of visibilities # @since 0.5.6 # - # source://yard//lib/yard/cli/yardoc.rb#175 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:175 def visibilities; end # Keep track of which visibilities are to be shown @@ -2021,7 +2021,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of visibilities # @since 0.5.6 # - # source://yard//lib/yard/cli/yardoc.rb#175 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:175 def visibilities=(_arg0); end private @@ -2031,7 +2031,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.8.1 # - # source://yard//lib/yard/cli/yardoc.rb#474 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:474 def add_api_verifier; end # Adds a set of extra documentation files to be processed @@ -2039,12 +2039,12 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @param files [Array] the set of documentation files # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#413 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:413 def add_extra_files(*files); end # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#507 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:507 def add_tag(tag_data, factory_method = T.unsafe(nil)); end # Adds verifier rule for visibilities @@ -2052,7 +2052,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.5.6 # - # source://yard//lib/yard/cli/yardoc.rb#466 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:466 def add_visibility_verifier; end # Applies the specified locale to collected objects @@ -2060,7 +2060,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.8.3 # - # source://yard//lib/yard/cli/yardoc.rb#494 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:494 def apply_locale; end # Copies any assets to the output directory @@ -2068,7 +2068,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#389 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:389 def copy_assets; end # @param check_exists [Boolean] whether the file should exist on disk @@ -2076,14 +2076,14 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Boolean] whether the file is allowed to be used # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#425 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:425 def extra_file_valid?(file, check_exists = T.unsafe(nil)); end # Adds general options # # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#541 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:541 def general_options(opts); end # Parses commandline options. @@ -2091,14 +2091,14 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @param args [Array] each tokenized argument # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#516 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:516 def optparse(*args); end # Adds output options # # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#586 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:586 def output_options(opts); end # Parses the file arguments into Ruby files and extra files, which are @@ -2112,7 +2112,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#446 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:446 def parse_files(*files); end # Prints a list of all objects @@ -2120,7 +2120,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.5.5 # - # source://yard//lib/yard/cli/yardoc.rb#403 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:403 def print_list; end # Generates output for objects @@ -2129,7 +2129,7 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [void] # @since 0.5.1 # - # source://yard//lib/yard/cli/yardoc.rb#340 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:340 def run_generate(checksums); end # Runs a list of objects against the {Verifier} object passed into the @@ -2139,14 +2139,14 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Array] a list of code objects that match # the verifier. If no verifier is supplied, all objects are returned. # - # source://yard//lib/yard/cli/yardoc.rb#502 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:502 def run_verifier(list); end # Adds tag options # # @since 0.6.0 # - # source://yard//lib/yard/cli/yardoc.rb#753 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:753 def tag_options(opts); end # Verifies that the markup options are valid before parsing any code. @@ -2155,132 +2155,132 @@ class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand # @return [Boolean] whether the markup provider was successfully loaded. # @since 0.2.1 # - # source://yard//lib/yard/cli/yardoc.rb#364 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:364 def verify_markup_options; end end # Default options used in +yard doc+ command. # -# source://yard//lib/yard/cli/yardoc.rb#8 +# pkg:gem/yard#lib/yard/cli/yardoc.rb:8 class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions # @return [CodeObjects::ExtraFileObject] the file object being rendered. # The +object+ key is not used so that a file may be rendered in the context # of an object's namespace (for generating links). # - # source://yard//lib/yard/cli/yardoc.rb#48 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:48 def file; end # @return [CodeObjects::ExtraFileObject] the file object being rendered. # The +object+ key is not used so that a file may be rendered in the context # of an object's namespace (for generating links). # - # source://yard//lib/yard/cli/yardoc.rb#48 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:48 def file=(_arg0); end # @return [Array] the list of extra files rendered along with objects # - # source://yard//lib/yard/cli/yardoc.rb#11 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:11 def files; end - # source://yard//lib/yard/cli/yardoc.rb#11 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:11 def files=(_arg0); end # @return [Symbol] the default output format (:html). # - # source://yard//lib/yard/cli/yardoc.rb#24 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:24 def format; end - # source://yard//lib/yard/cli/yardoc.rb#24 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:24 def format=(_arg0); end # @return [Numeric] An index value for rendering sequentially related templates # - # source://yard//lib/yard/cli/yardoc.rb#39 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:39 def index; end # @return [Numeric] An index value for rendering sequentially related templates # - # source://yard//lib/yard/cli/yardoc.rb#39 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:39 def index=(_arg0); end # @return [CodeObjects::Base] an extra item to send to a template that is not # the main rendered object # - # source://yard//lib/yard/cli/yardoc.rb#43 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:43 def item; end # @return [CodeObjects::Base] an extra item to send to a template that is not # the main rendered object # - # source://yard//lib/yard/cli/yardoc.rb#43 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:43 def item=(_arg0); end # @return [String] the current locale # - # source://yard//lib/yard/cli/yardoc.rb#51 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:51 def locale; end # @return [String] the current locale # - # source://yard//lib/yard/cli/yardoc.rb#51 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:51 def locale=(_arg0); end # @return [Array] the list of code objects to render # the templates with. # - # source://yard//lib/yard/cli/yardoc.rb#36 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:36 def objects; end # @return [Array] the list of code objects to render # the templates with. # - # source://yard//lib/yard/cli/yardoc.rb#36 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:36 def objects=(_arg0); end # @return [Boolean] whether the data should be rendered in a single page, # if the template supports it. # - # source://yard//lib/yard/cli/yardoc.rb#28 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:28 def onefile; end - # source://yard//lib/yard/cli/yardoc.rb#28 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:28 def onefile=(_arg0); end # @return [CodeObjects::ExtraFileObject] the README file object rendered # along with objects # - # source://yard//lib/yard/cli/yardoc.rb#32 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:32 def readme; end # @return [CodeObjects::ExtraFileObject] the README file object rendered # along with objects # - # source://yard//lib/yard/cli/yardoc.rb#32 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:32 def readme=(_arg0); end # @return [Serializers::Base] the default serializer for generating output # to disk. # - # source://yard//lib/yard/cli/yardoc.rb#21 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:21 def serializer; end - # source://yard//lib/yard/cli/yardoc.rb#21 + # pkg:gem/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/cli/yardoc.rb#14 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:14 def title; end - # source://yard//lib/yard/cli/yardoc.rb#14 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:14 def title=(_arg0); end # @return [Verifier] the default verifier object to filter queries # - # source://yard//lib/yard/cli/yardoc.rb#17 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:17 def verifier; end - # source://yard//lib/yard/cli/yardoc.rb#17 + # pkg:gem/yard#lib/yard/cli/yardoc.rb:17 def verifier=(_arg0); end end @@ -2289,14 +2289,14 @@ end # @abstract # @since 0.8.3 # -# source://yard//lib/yard/cli/yardopts_command.rb#10 +# pkg:gem/yard#lib/yard/cli/yardopts_command.rb:10 class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # Creates a new command that reads .yardopts # # @return [YardoptsCommand] a new instance of YardoptsCommand # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#25 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:25 def initialize; end # The options file name (defaults to {DEFAULT_YARDOPTS_FILE}) @@ -2304,7 +2304,7 @@ class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # @return [String] the filename to load extra options from # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#22 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:22 def options_file; end # The options file name (defaults to {DEFAULT_YARDOPTS_FILE}) @@ -2312,7 +2312,7 @@ class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # @return [String] the filename to load extra options from # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#22 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:22 def options_file=(_arg0); end # Parses commandline arguments @@ -2321,31 +2321,31 @@ class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # @return [Boolean] whether or not arguments are valid # @since 0.5.6 # - # source://yard//lib/yard/cli/yardopts_command.rb#36 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:36 def parse_arguments(*args); end # @return [Boolean] whether to parse options from .document # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#18 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:18 def use_document_file; end # @return [Boolean] whether to parse options from .document # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#18 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:18 def use_document_file=(_arg0); end # @return [Boolean] whether to parse options from .yardopts # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#15 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:15 def use_yardopts_file; end # @return [Boolean] whether to parse options from .yardopts # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#15 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:15 def use_yardopts_file=(_arg0); end protected @@ -2354,26 +2354,26 @@ class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#48 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:48 def yardopts_options(opts); end private # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#92 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:92 def parse_rdoc_document_file(file = T.unsafe(nil)); end # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#96 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:96 def parse_yardopts(file = T.unsafe(nil)); end # Parses out the yardopts/document options # # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#78 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:78 def parse_yardopts_options(*args); end # Reads a .document file in the directory to get source file globs @@ -2381,7 +2381,7 @@ class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # @return [Array] an array of files parsed from .document # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#102 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:102 def support_rdoc_document_file!(file = T.unsafe(nil)); end # Parses the .yardopts file for default yard options @@ -2389,7 +2389,7 @@ class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command # @return [Array] an array of options parsed from .yardopts # @since 0.8.3 # - # source://yard//lib/yard/cli/yardopts_command.rb#70 + # pkg:gem/yard#lib/yard/cli/yardopts_command.rb:70 def yardopts(file = T.unsafe(nil)); end end @@ -2397,12 +2397,12 @@ end # # @since 0.8.3 # -# source://yard//lib/yard/cli/yardopts_command.rb#12 +# pkg:gem/yard#lib/yard/cli/yardopts_command.rb:12 YARD::CLI::YardoptsCommand::DEFAULT_YARDOPTS_FILE = T.let(T.unsafe(nil), String) # @deprecated Use {Config::CONFIG_DIR} # -# source://yard//lib/yard.rb#13 +# pkg:gem/yard#lib/yard.rb:13 YARD::CONFIG_DIR = T.let(T.unsafe(nil), String) # A "code object" is defined as any entity in the Ruby language. @@ -2410,36 +2410,36 @@ YARD::CONFIG_DIR = T.let(T.unsafe(nil), String) # major objects, but DSL languages can create their own by inheriting # from {CodeObjects::Base}. # -# source://yard//lib/yard/autoload.rb#29 +# pkg:gem/yard#lib/yard/autoload.rb:29 module YARD::CodeObjects extend ::YARD::CodeObjects::NamespaceMapper end # All builtin Ruby classes and modules. # -# source://yard//lib/yard/code_objects/base.rb#91 +# pkg:gem/yard#lib/yard/code_objects/base.rb:91 YARD::CodeObjects::BUILTIN_ALL = T.let(T.unsafe(nil), Array) # All builtin Ruby classes for inheritance tree. # # @note MatchingData is a 1.8.x legacy class # -# source://yard//lib/yard/code_objects/base.rb#78 +# pkg:gem/yard#lib/yard/code_objects/base.rb:78 YARD::CodeObjects::BUILTIN_CLASSES = T.let(T.unsafe(nil), Array) # All builtin Ruby exception classes for inheritance tree. # -# source://yard//lib/yard/code_objects/base.rb#67 +# pkg:gem/yard#lib/yard/code_objects/base.rb:67 YARD::CodeObjects::BUILTIN_EXCEPTIONS = T.let(T.unsafe(nil), Array) # Hash of {BUILTIN_EXCEPTIONS} as keys and true as value (for O(1) lookups) # -# source://yard//lib/yard/code_objects/base.rb#94 +# pkg:gem/yard#lib/yard/code_objects/base.rb:94 YARD::CodeObjects::BUILTIN_EXCEPTIONS_HASH = T.let(T.unsafe(nil), Hash) # All builtin Ruby modules for mixin handling. # -# source://yard//lib/yard/code_objects/base.rb#87 +# pkg:gem/yard#lib/yard/code_objects/base.rb:87 YARD::CodeObjects::BUILTIN_MODULES = T.let(T.unsafe(nil), Array) # +Base+ is the superclass of all code objects recognized by YARD. A code @@ -2480,7 +2480,7 @@ YARD::CodeObjects::BUILTIN_MODULES = T.let(T.unsafe(nil), Array) # @see NamespaceObject # @see Registry # -# source://yard//lib/yard/code_objects/base.rb#133 +# pkg:gem/yard#lib/yard/code_objects/base.rb:133 class YARD::CodeObjects::Base # Creates a new code object # @@ -2497,7 +2497,7 @@ class YARD::CodeObjects::Base # @yield [self] a block to perform any extra initialization on the object # @yieldparam self [Base] the newly initialized code object # - # source://yard//lib/yard/code_objects/base.rb#238 + # pkg:gem/yard#lib/yard/code_objects/base.rb:238 def initialize(namespace, name, *_arg2); end # Tests if another object is equal to this, including a proxy @@ -2506,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#330 + # pkg:gem/yard#lib/yard/code_objects/base.rb:330 def ==(other); end # Accesses a custom attribute on the object @@ -2515,7 +2515,7 @@ class YARD::CodeObjects::Base # @return [Object, nil] the custom attribute or nil if not found. # @see #[]= # - # source://yard//lib/yard/code_objects/base.rb#343 + # pkg:gem/yard#lib/yard/code_objects/base.rb:343 def [](key); end # Sets a custom attribute on the object @@ -2525,7 +2525,7 @@ class YARD::CodeObjects::Base # @return [void] # @see #[] # - # source://yard//lib/yard/code_objects/base.rb#356 + # pkg:gem/yard#lib/yard/code_objects/base.rb:356 def []=(key, value); end # Associates a file with a code object, optionally adding the line where it was defined. @@ -2538,7 +2538,7 @@ class YARD::CodeObjects::Base # @param line [Fixnum, nil] the line number where the object lies in the file # @raise [ArgumentError] # - # source://yard//lib/yard/code_objects/base.rb#290 + # pkg:gem/yard#lib/yard/code_objects/base.rb:290 def add_file(file, line = T.unsafe(nil), has_comments = T.unsafe(nil)); end # Add tags to the {#docstring} @@ -2546,7 +2546,7 @@ class YARD::CodeObjects::Base # @see Docstring#add_tag # @since 0.8.4 # - # source://yard//lib/yard/code_objects/base.rb#561 + # pkg:gem/yard#lib/yard/code_objects/base.rb:561 def add_tag(*tags); end # The non-localized documentation string associated with the object @@ -2554,7 +2554,7 @@ class YARD::CodeObjects::Base # @return [Docstring] the documentation string # @since 0.8.4 # - # source://yard//lib/yard/code_objects/base.rb#164 + # pkg:gem/yard#lib/yard/code_objects/base.rb:164 def base_docstring; end # Copies all data in this object to another code object, except for @@ -2564,7 +2564,7 @@ class YARD::CodeObjects::Base # @return [Base] the other object # @since 0.8.0 # - # source://yard//lib/yard/code_objects/base.rb#263 + # pkg:gem/yard#lib/yard/code_objects/base.rb:263 def copy_to(other); end # The documentation string associated with the object @@ -2573,7 +2573,7 @@ class YARD::CodeObjects::Base # the locale of the documentation string. # @return [Docstring] the documentation string # - # source://yard//lib/yard/code_objects/base.rb#405 + # pkg:gem/yard#lib/yard/code_objects/base.rb:405 def docstring(locale = T.unsafe(nil)); end # Attaches a docstring to a code object by parsing the comments attached to the statement @@ -2582,21 +2582,21 @@ class YARD::CodeObjects::Base # @param comments [String, Array, Docstring] the comments attached to the code object to be parsed # into a docstring and meta tags. # - # source://yard//lib/yard/code_objects/base.rb#427 + # pkg:gem/yard#lib/yard/code_objects/base.rb:427 def docstring=(comments); end # Marks whether or not the method is conditionally defined at runtime # # @return [Boolean] true if the method is conditionally defined at runtime # - # source://yard//lib/yard/code_objects/base.rb#170 + # pkg:gem/yard#lib/yard/code_objects/base.rb:170 def dynamic; end # Marks whether or not the method is conditionally defined at runtime # # @return [Boolean] true if the method is conditionally defined at runtime # - # source://yard//lib/yard/code_objects/base.rb#170 + # pkg:gem/yard#lib/yard/code_objects/base.rb:170 def dynamic=(_arg0); end # Is the object defined conditionally at runtime? @@ -2604,7 +2604,7 @@ class YARD::CodeObjects::Base # @return [Boolean] # @see #dynamic # - # source://yard//lib/yard/code_objects/base.rb#178 + # pkg:gem/yard#lib/yard/code_objects/base.rb:178 def dynamic?; end # Tests if another object is equal to this, including a proxy @@ -2613,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#331 + # pkg:gem/yard#lib/yard/code_objects/base.rb:331 def eql?(other); end # Tests if another object is equal to this, including a proxy @@ -2622,7 +2622,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 + # pkg:gem/yard#lib/yard/code_objects/base.rb:323 def equal?(other); end # Returns the filename the object was first parsed at, taking @@ -2631,7 +2631,7 @@ class YARD::CodeObjects::Base # @return [String] a filename # @return [nil] if there is no file associated with the object # - # source://yard//lib/yard/code_objects/base.rb#307 + # pkg:gem/yard#lib/yard/code_objects/base.rb:307 def file; end # The files the object was defined in. To add a file, use {#add_file}. @@ -2639,7 +2639,7 @@ class YARD::CodeObjects::Base # @return [Array] a list of files # @see #add_file # - # source://yard//lib/yard/code_objects/base.rb#137 + # pkg:gem/yard#lib/yard/code_objects/base.rb:137 def files; end # Renders the object using the {Templates::Engine templating system}. @@ -2656,19 +2656,19 @@ class YARD::CodeObjects::Base # @return [String] the rendered template # @see Templates::Engine#render # - # source://yard//lib/yard/code_objects/base.rb#505 + # pkg:gem/yard#lib/yard/code_objects/base.rb:505 def format(options = T.unsafe(nil)); end # @return [String] the group this object is associated with # @since 0.6.0 # - # source://yard//lib/yard/code_objects/base.rb#174 + # pkg:gem/yard#lib/yard/code_objects/base.rb:174 def group; end # @return [String] the group this object is associated with # @since 0.6.0 # - # source://yard//lib/yard/code_objects/base.rb#174 + # pkg:gem/yard#lib/yard/code_objects/base.rb:174 def group=(_arg0); end # Tests if the {#docstring} has a tag @@ -2676,19 +2676,19 @@ class YARD::CodeObjects::Base # @return [Boolean] # @see Docstring#has_tag? # - # source://yard//lib/yard/code_objects/base.rb#556 + # pkg:gem/yard#lib/yard/code_objects/base.rb:556 def has_tag?(name); end # @return [Integer] the object's hash value (for equality checking) # - # source://yard//lib/yard/code_objects/base.rb#334 + # pkg:gem/yard#lib/yard/code_objects/base.rb:334 def hash; end # Inspects the object, returning the type and path # # @return [String] a string describing the object # - # source://yard//lib/yard/code_objects/base.rb#513 + # pkg:gem/yard#lib/yard/code_objects/base.rb:513 def inspect; end # Returns the line the object was first parsed at (or nil) @@ -2696,13 +2696,13 @@ class YARD::CodeObjects::Base # @return [Fixnum] the line where the object was first defined. # @return [nil] if there is no line associated with the object # - # source://yard//lib/yard/code_objects/base.rb#315 + # pkg:gem/yard#lib/yard/code_objects/base.rb:315 def line; end # @overload dynamic_attr_name # @overload dynamic_attr_name= # - # source://yard//lib/yard/code_objects/base.rb#373 + # pkg:gem/yard#lib/yard/code_objects/base.rb:373 def method_missing(meth, *args, &block); end # The name of the object @@ -2713,7 +2713,7 @@ class YARD::CodeObjects::Base # @return [String] if prefix is true, prefix + the name as a String. # This must be implemented by the subclass. # - # source://yard//lib/yard/code_objects/base.rb#278 + # pkg:gem/yard#lib/yard/code_objects/base.rb:278 def name(prefix = T.unsafe(nil)); end # The namespace the object is defined in. If the object is in the @@ -2721,7 +2721,7 @@ class YARD::CodeObjects::Base # # @return [NamespaceObject] the namespace object # - # source://yard//lib/yard/code_objects/base.rb#142 + # pkg:gem/yard#lib/yard/code_objects/base.rb:142 def namespace; end # Sets the namespace the object is defined in. @@ -2730,7 +2730,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 + # pkg:gem/yard#lib/yard/code_objects/base.rb:522 def namespace=(obj); end # The namespace the object is defined in. If the object is in the @@ -2738,7 +2738,7 @@ class YARD::CodeObjects::Base # # @return [NamespaceObject] the namespace object # - # source://yard//lib/yard/code_objects/base.rb#543 + # pkg:gem/yard#lib/yard/code_objects/base.rb:543 def parent; end # Sets the namespace the object is defined in. @@ -2747,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#544 + # pkg:gem/yard#lib/yard/code_objects/base.rb:544 def parent=(obj); end # Represents the unique path of the object. The default implementation @@ -2760,19 +2760,19 @@ class YARD::CodeObjects::Base # @return [String] the unique path of the object # @see #sep # - # source://yard//lib/yard/code_objects/base.rb#453 + # pkg:gem/yard#lib/yard/code_objects/base.rb:453 def path; end # @param other [Base, String] another code object (or object path) # @return [String] the shortest relative path from this object to +other+ # @since 0.5.3 # - # source://yard//lib/yard/code_objects/base.rb#475 + # pkg:gem/yard#lib/yard/code_objects/base.rb:475 def relative_path(other); end # @return [Boolean] whether or not this object is a RootObject # - # source://yard//lib/yard/code_objects/base.rb#567 + # pkg:gem/yard#lib/yard/code_objects/base.rb:567 def root?; end # Override this method with a custom component separator. For instance, @@ -2783,7 +2783,7 @@ class YARD::CodeObjects::Base # @return [String] the component that separates the namespace path # and the name (default is {NSEP}) # - # source://yard//lib/yard/code_objects/base.rb#576 + # pkg:gem/yard#lib/yard/code_objects/base.rb:576 def sep; end # The one line signature representing an object. For a method, this will @@ -2792,7 +2792,7 @@ class YARD::CodeObjects::Base # # @return [String] a line of source # - # source://yard//lib/yard/code_objects/base.rb#159 + # pkg:gem/yard#lib/yard/code_objects/base.rb:159 def signature; end # The one line signature representing an object. For a method, this will @@ -2801,14 +2801,14 @@ class YARD::CodeObjects::Base # # @return [String] a line of source # - # source://yard//lib/yard/code_objects/base.rb#159 + # pkg:gem/yard#lib/yard/code_objects/base.rb:159 def signature=(_arg0); end # The source code associated with the object # # @return [String, nil] source, if present, or nil # - # source://yard//lib/yard/code_objects/base.rb#146 + # pkg:gem/yard#lib/yard/code_objects/base.rb:146 def source; end # Attaches source code to a code object with an optional file location @@ -2816,7 +2816,7 @@ class YARD::CodeObjects::Base # @param statement [#source, String] the +Parser::Statement+ holding the source code or the raw source # as a +String+ for the definition of the code object only (not the block) # - # source://yard//lib/yard/code_objects/base.rb#388 + # pkg:gem/yard#lib/yard/code_objects/base.rb:388 def source=(statement); end # Language of the source code associated with the object. Defaults to @@ -2824,7 +2824,7 @@ class YARD::CodeObjects::Base # # @return [Symbol] the language type # - # source://yard//lib/yard/code_objects/base.rb#152 + # pkg:gem/yard#lib/yard/code_objects/base.rb:152 def source_type; end # Language of the source code associated with the object. Defaults to @@ -2832,21 +2832,21 @@ class YARD::CodeObjects::Base # # @return [Symbol] the language type # - # source://yard//lib/yard/code_objects/base.rb#152 + # pkg:gem/yard#lib/yard/code_objects/base.rb:152 def source_type=(_arg0); end # Gets a tag from the {#docstring} # # @see Docstring#tag # - # source://yard//lib/yard/code_objects/base.rb#548 + # pkg:gem/yard#lib/yard/code_objects/base.rb:548 def tag(name); end # Gets a list of tags from the {#docstring} # # @see Docstring#tags # - # source://yard//lib/yard/code_objects/base.rb#552 + # pkg:gem/yard#lib/yard/code_objects/base.rb:552 def tags(name = T.unsafe(nil)); end # @note Override this method if your object has a special title that does @@ -2855,12 +2855,12 @@ class YARD::CodeObjects::Base # @return [String] the display title for an object # @see 0.8.4 # - # source://yard//lib/yard/code_objects/base.rb#468 + # pkg:gem/yard#lib/yard/code_objects/base.rb:468 def title; end # @return [nil] this object does not turn into an array # - # source://yard//lib/yard/code_objects/base.rb#337 + # pkg:gem/yard#lib/yard/code_objects/base.rb:337 def to_ary; end # Represents the unique path of the object. The default implementation @@ -2873,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#460 + # pkg:gem/yard#lib/yard/code_objects/base.rb:460 def to_s; end # Default type is the lowercase class name without the "Object" suffix. @@ -2881,17 +2881,17 @@ class YARD::CodeObjects::Base # # @return [Symbol] the type of code object this represents # - # source://yard//lib/yard/code_objects/base.rb#437 + # pkg:gem/yard#lib/yard/code_objects/base.rb:437 def type; end # @return [Symbol] the visibility of an object (:public, :private, :protected) # - # source://yard//lib/yard/code_objects/base.rb#181 + # pkg:gem/yard#lib/yard/code_objects/base.rb:181 def visibility; end # @return [Symbol] the visibility of an object (:public, :private, :protected) # - # source://yard//lib/yard/code_objects/base.rb#181 + # pkg:gem/yard#lib/yard/code_objects/base.rb:181 def visibility=(v); end protected @@ -2904,7 +2904,7 @@ class YARD::CodeObjects::Base # @see #copy_to # @since 0.8.0 # - # source://yard//lib/yard/code_objects/base.rb#587 + # pkg:gem/yard#lib/yard/code_objects/base.rb:587 def copyable_attributes; end private @@ -2914,10 +2914,10 @@ class YARD::CodeObjects::Base # @param source [String] the source code to format # @return [String] formatted source # - # source://yard//lib/yard/code_objects/base.rb#599 + # pkg:gem/yard#lib/yard/code_objects/base.rb:599 def format_source(source); end - # source://yard//lib/yard/code_objects/base.rb#606 + # pkg:gem/yard#lib/yard/code_objects/base.rb:606 def translate_docstring(locale); end class << self @@ -2926,7 +2926,7 @@ class YARD::CodeObjects::Base # @param other [Object] the other object to compare classes with # @return [Boolean] true if other is a subclass of self # - # source://yard//lib/yard/code_objects/base.rb#219 + # pkg:gem/yard#lib/yard/code_objects/base.rb:219 def ===(other); end # Allocates a new code object @@ -2936,42 +2936,42 @@ class YARD::CodeObjects::Base # @see #initialize # @yield [obj] # - # source://yard//lib/yard/code_objects/base.rb#189 + # pkg:gem/yard#lib/yard/code_objects/base.rb:189 def new(namespace, name, *args, &block); end end end # Regular expression to match constant name # -# source://yard//lib/yard/code_objects/base.rb#52 +# pkg:gem/yard#lib/yard/code_objects/base.rb:52 YARD::CodeObjects::CONSTANTMATCH = T.let(T.unsafe(nil), Regexp) # Regular expression to match the beginning of a constant # -# source://yard//lib/yard/code_objects/base.rb#55 +# pkg:gem/yard#lib/yard/code_objects/base.rb:55 YARD::CodeObjects::CONSTANTSTART = T.let(T.unsafe(nil), Regexp) # Class method separator # -# source://yard//lib/yard/code_objects/base.rb#46 +# pkg:gem/yard#lib/yard/code_objects/base.rb:46 YARD::CodeObjects::CSEP = T.let(T.unsafe(nil), String) # Regex-quoted class method separator # -# source://yard//lib/yard/code_objects/base.rb#49 +# pkg:gem/yard#lib/yard/code_objects/base.rb:49 YARD::CodeObjects::CSEPQ = T.let(T.unsafe(nil), String) # A ClassObject represents a Ruby class in source code. It is a {ModuleObject} # with extra inheritance semantics through the superclass. # -# source://yard//lib/yard/code_objects/class_object.rb#7 +# pkg:gem/yard#lib/yard/code_objects/class_object.rb:7 class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject # Creates a new class object in +namespace+ with +name+ # # @return [ClassObject] a new instance of ClassObject # @see Base.new # - # source://yard//lib/yard/code_objects/class_object.rb#15 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:15 def initialize(namespace, name, *args, &block); end # Returns the list of constants matching the options hash. @@ -2981,7 +2981,7 @@ class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject # @param opts [Hash] the options hash to match # @return [Array] the list of constant that matched # - # source://yard//lib/yard/code_objects/class_object.rb#101 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:101 def constants(opts = T.unsafe(nil)); end # Returns the inheritance tree of the object including self. @@ -2991,28 +2991,28 @@ class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject # @return [Array] the list of code objects that make up # the inheritance tree. # - # source://yard//lib/yard/code_objects/class_object.rb#45 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:45 def inheritance_tree(include_mods = T.unsafe(nil)); end # Returns only the constants that were inherited. # # @return [Array] the list of inherited constant objects # - # source://yard//lib/yard/code_objects/class_object.rb#109 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:109 def inherited_constants; end # Returns only the methods that were inherited. # # @return [Array] the list of inherited method objects # - # source://yard//lib/yard/code_objects/class_object.rb#79 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:79 def inherited_meths(opts = T.unsafe(nil)); end # Whether or not the class is a Ruby Exception # # @return [Boolean] whether the object represents a Ruby exception # - # source://yard//lib/yard/code_objects/class_object.rb#35 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:35 def is_exception?; end # Returns the list of methods matching the options hash. Returns @@ -3023,14 +3023,14 @@ class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject # @param opts [Hash] the options hash to match # @return [Array] the list of methods that matched # - # source://yard//lib/yard/code_objects/class_object.rb#66 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:66 def meths(opts = T.unsafe(nil)); end # The {ClassObject} that this class object inherits from in Ruby source. # # @return [ClassObject] a class object that is the superclass of this one # - # source://yard//lib/yard/code_objects/class_object.rb#10 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:10 def superclass; end # Sets the superclass of the object @@ -3038,37 +3038,37 @@ class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject # @param object [Base, Proxy, String, Symbol, nil] the superclass value # @return [void] # - # source://yard//lib/yard/code_objects/class_object.rb#125 + # pkg:gem/yard#lib/yard/code_objects/class_object.rb:125 def superclass=(object); end end # Represents a class variable inside a namespace. The path is expressed # in the form "A::B::@@classvariable" # -# source://yard//lib/yard/code_objects/class_variable_object.rb#7 +# pkg:gem/yard#lib/yard/code_objects/class_variable_object.rb:7 class YARD::CodeObjects::ClassVariableObject < ::YARD::CodeObjects::Base # @return [String] the class variable's value # - # source://yard//lib/yard/code_objects/class_variable_object.rb#9 + # pkg:gem/yard#lib/yard/code_objects/class_variable_object.rb:9 def value; end # @return [String] the class variable's value # - # source://yard//lib/yard/code_objects/class_variable_object.rb#9 + # pkg:gem/yard#lib/yard/code_objects/class_variable_object.rb:9 def value=(_arg0); end end # A list of code objects. This array acts like a set (no unique items) # but also disallows any {Proxy} objects from being added. # -# source://yard//lib/yard/code_objects/base.rb#6 +# pkg:gem/yard#lib/yard/code_objects/base.rb:6 class YARD::CodeObjects::CodeObjectList < ::Array # Creates a new object list associated with a namespace # # @param owner [NamespaceObject] the namespace the list should be associated with # @return [CodeObjectList] # - # source://yard//lib/yard/code_objects/base.rb#11 + # pkg:gem/yard#lib/yard/code_objects/base.rb:11 def initialize(owner = T.unsafe(nil)); end # Adds a new value to the list @@ -3076,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#28 + # pkg:gem/yard#lib/yard/code_objects/base.rb:28 def <<(value); end # Adds a new value to the list @@ -3084,23 +3084,23 @@ 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 + # pkg:gem/yard#lib/yard/code_objects/base.rb:19 def push(value); end end # A +ConstantObject+ represents a Ruby constant (not a module or class). # To access the constant's (source code) value, use {#value}. # -# source://yard//lib/yard/code_objects/constant_object.rb#7 +# pkg:gem/yard#lib/yard/code_objects/constant_object.rb:7 class YARD::CodeObjects::ConstantObject < ::YARD::CodeObjects::Base # The source code representing the constant's value # # @return [String] the value the constant is set to # - # source://yard//lib/yard/code_objects/constant_object.rb#10 + # pkg:gem/yard#lib/yard/code_objects/constant_object.rb:10 def value; end - # source://yard//lib/yard/code_objects/constant_object.rb#12 + # pkg:gem/yard#lib/yard/code_objects/constant_object.rb:12 def value=(value); end end @@ -3109,7 +3109,7 @@ end # # @see MethodObject # -# source://yard//lib/yard/code_objects/extended_method_object.rb#7 +# pkg:gem/yard#lib/yard/code_objects/extended_method_object.rb:7 class YARD::CodeObjects::ExtendedMethodObject # Sets up a delegate for {MethodObject} obj. # @@ -3117,7 +3117,7 @@ class YARD::CodeObjects::ExtendedMethodObject # class method on another namespace. # @return [ExtendedMethodObject] a new instance of ExtendedMethodObject # - # source://yard//lib/yard/code_objects/extended_method_object.rb#17 + # pkg:gem/yard#lib/yard/code_objects/extended_method_object.rb:17 def initialize(obj); end # Sends all methods to the {MethodObject} assigned in {#initialize} @@ -3125,12 +3125,12 @@ class YARD::CodeObjects::ExtendedMethodObject # @see #initialize # @see MethodObject # - # source://yard//lib/yard/code_objects/extended_method_object.rb#22 + # pkg:gem/yard#lib/yard/code_objects/extended_method_object.rb:22 def method_missing(sym, *args, &block); end # @return [Symbol] always +:class+ # - # source://yard//lib/yard/code_objects/extended_method_object.rb#11 + # pkg:gem/yard#lib/yard/code_objects/extended_method_object.rb:11 def scope; end end @@ -3139,7 +3139,7 @@ end # it implements `path`, `name` and `type`, and therefore should be structurally # compatible with most CodeObject interfaces. # -# source://yard//lib/yard/code_objects/extra_file_object.rb#7 +# pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:7 class YARD::CodeObjects::ExtraFileObject # Creates a new extra file object. # @@ -3148,122 +3148,122 @@ class YARD::CodeObjects::ExtraFileObject # @param filename [String] the location on disk of the file # @return [ExtraFileObject] a new instance of ExtraFileObject # - # source://yard//lib/yard/code_objects/extra_file_object.rb#18 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:18 def initialize(filename, contents = T.unsafe(nil)); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#64 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:64 def ==(other); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#30 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:30 def attributes; end # Sets the attribute attributes # # @param value the value to set the attribute attributes to. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#9 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:9 def attributes=(_arg0); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#39 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:39 def contents; end - # source://yard//lib/yard/code_objects/extra_file_object.rb#44 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:44 def contents=(contents); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#68 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:68 def eql?(other); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#69 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:69 def equal?(other); end # Returns the value of attribute filename. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#8 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:8 def filename; end # Sets the attribute filename # # @param value the value to set the attribute filename to. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#8 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:8 def filename=(_arg0); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#70 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:70 def hash; end - # source://yard//lib/yard/code_objects/extra_file_object.rb#57 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:57 def inspect; end # @since 0.8.3 # - # source://yard//lib/yard/code_objects/extra_file_object.rb#12 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:12 def locale; end # @param locale [String] the locale name to be translated. # @return [void] # @since 0.8.3 # - # source://yard//lib/yard/code_objects/extra_file_object.rb#52 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:52 def locale=(locale); end # Returns the value of attribute name. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#10 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:10 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#10 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:10 def name=(_arg0); end # Returns the value of attribute name. # - # source://yard//lib/yard/code_objects/extra_file_object.rb#28 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:28 def path; end - # source://yard//lib/yard/code_objects/extra_file_object.rb#35 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:35 def title; end - # source://yard//lib/yard/code_objects/extra_file_object.rb#60 + # pkg:gem/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 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:62 def type; end private - # source://yard//lib/yard/code_objects/extra_file_object.rb#74 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:74 def ensure_parsed; end # @param data [String] the file contents # - # source://yard//lib/yard/code_objects/extra_file_object.rb#81 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:81 def parse_contents(data); end - # source://yard//lib/yard/code_objects/extra_file_object.rb#129 + # pkg:gem/yard#lib/yard/code_objects/extra_file_object.rb:129 def translate(data); end end # Instance method separator # -# source://yard//lib/yard/code_objects/base.rb#40 +# pkg:gem/yard#lib/yard/code_objects/base.rb:40 YARD::CodeObjects::ISEP = T.let(T.unsafe(nil), String) # Regex-quoted instance method separator # -# source://yard//lib/yard/code_objects/base.rb#43 +# pkg:gem/yard#lib/yard/code_objects/base.rb:43 YARD::CodeObjects::ISEPQ = T.let(T.unsafe(nil), String) # Regular expression to match a fully qualified method def (self.foo, Class.foo). # -# source://yard//lib/yard/code_objects/base.rb#64 +# pkg:gem/yard#lib/yard/code_objects/base.rb:64 YARD::CodeObjects::METHODMATCH = T.let(T.unsafe(nil), Regexp) # Regular expression to match a method name # -# source://yard//lib/yard/code_objects/base.rb#61 +# pkg:gem/yard#lib/yard/code_objects/base.rb:61 YARD::CodeObjects::METHODNAMEMATCH = T.let(T.unsafe(nil), Regexp) # A MacroObject represents a docstring defined through +@!macro NAME+ and can be @@ -3290,11 +3290,11 @@ YARD::CodeObjects::METHODNAMEMATCH = T.let(T.unsafe(nil), Regexp) # # Extra data added to docstring # property :bar # -# source://yard//lib/yard/code_objects/macro_object.rb#29 +# pkg:gem/yard#lib/yard/code_objects/macro_object.rb:29 class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @return [Boolean] whether this macro is attached to a method # - # source://yard//lib/yard/code_objects/macro_object.rb#148 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:148 def attached?; end # Expands the macro using @@ -3309,39 +3309,39 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @param full_source [String] the full method call (not including the block) # @see expand # - # source://yard//lib/yard/code_objects/macro_object.rb#166 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:166 def expand(call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end # @return [String] the macro data stored on the object # - # source://yard//lib/yard/code_objects/macro_object.rb#141 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:141 def macro_data; end # @return [String] the macro data stored on the object # - # source://yard//lib/yard/code_objects/macro_object.rb#141 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:141 def macro_data=(_arg0); end # @return [CodeObjects::Base] the method object that this macro is # attached to. # - # source://yard//lib/yard/code_objects/macro_object.rb#145 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:145 def method_object; end # @return [CodeObjects::Base] the method object that this macro is # attached to. # - # source://yard//lib/yard/code_objects/macro_object.rb#145 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:145 def method_object=(_arg0); end # Overrides {Base#path} so the macro path is ".macro.MACRONAME" # - # source://yard//lib/yard/code_objects/macro_object.rb#151 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:151 def path; end # Overrides the separator to be '.' # - # source://yard//lib/yard/code_objects/macro_object.rb#154 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:154 def sep; end class << self @@ -3359,7 +3359,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @return [String] the expanded macro data # @see find_or_create # - # source://yard//lib/yard/code_objects/macro_object.rb#119 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:119 def apply(docstring, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil), _method_object = T.unsafe(nil)); end # Applies a macro to a docstring, interpolating the macro's data on the @@ -3375,7 +3375,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @param macro [MacroObject] the macro object # @return [String] the expanded macro data # - # source://yard//lib/yard/code_objects/macro_object.rb#135 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:135 def apply_macro(macro, docstring, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end # Creates a new macro and fills in the relevant properties. @@ -3386,7 +3386,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # macro to. If supplied, {#attached?} will be true # @return [MacroObject] the newly created object # - # source://yard//lib/yard/code_objects/macro_object.rb#39 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:39 def create(macro_name, data, method_object = T.unsafe(nil)); end # Parses a given docstring and determines if the macro is "new" or @@ -3406,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#73 + # pkg:gem/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. @@ -3419,7 +3419,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # # @param macro_data [String] the macro data to expand (taken from {#macro_data}) # - # source://yard//lib/yard/code_objects/macro_object.rb#92 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:92 def expand(macro_data, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end # Finds a macro using +macro_name+ @@ -3428,7 +3428,7 @@ class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base # @return [MacroObject] if a macro is found # @return [nil] if there is no registered macro by that name # - # source://yard//lib/yard/code_objects/macro_object.rb#50 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:50 def find(macro_name); end # Parses a given docstring and determines if the macro is "new" or @@ -3448,17 +3448,17 @@ 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 + # pkg:gem/yard#lib/yard/code_objects/macro_object.rb:70 def find_or_create(macro_name, data, method_object = T.unsafe(nil)); end end end -# source://yard//lib/yard/code_objects/macro_object.rb#30 +# pkg:gem/yard#lib/yard/code_objects/macro_object.rb:30 YARD::CodeObjects::MacroObject::MACRO_MATCH = T.let(T.unsafe(nil), Regexp) # Represents a Ruby method in source # -# source://yard//lib/yard/code_objects/method_object.rb#7 +# pkg:gem/yard#lib/yard/code_objects/method_object.rb:7 class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # Creates a new method object in +namespace+ with +name+ and an instance # or class +scope+ @@ -3472,14 +3472,14 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # @param scope [Symbol] +:instance+, +:class+, or +:module+ # @return [MethodObject] a new instance of MethodObject # - # source://yard//lib/yard/code_objects/method_object.rb#37 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:37 def initialize(namespace, name, scope = T.unsafe(nil), &block); end # Returns all alias names of the object # # @return [Array] the alias names # - # source://yard//lib/yard/code_objects/method_object.rb#149 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:149 def aliases; end # Returns the read/writer info for the attribute if it is one @@ -3488,12 +3488,12 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # @return [nil] if the method is not an attribute # @since 0.5.3 # - # source://yard//lib/yard/code_objects/method_object.rb#93 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:93 def attr_info; end # @return [Boolean] whether or not the method is the #initialize constructor method # - # source://yard//lib/yard/code_objects/method_object.rb#78 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:78 def constructor?; end # Whether the object is explicitly defined in source or whether it was @@ -3502,7 +3502,7 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # # @return [Boolean] whether the object is explicitly defined in source. # - # source://yard//lib/yard/code_objects/method_object.rb#18 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:18 def explicit; end # Whether the object is explicitly defined in source or whether it was @@ -3511,35 +3511,35 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # # @return [Boolean] whether the object is explicitly defined in source. # - # source://yard//lib/yard/code_objects/method_object.rb#18 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:18 def explicit=(_arg0); end # Tests if the object is defined as an alias of another method # # @return [Boolean] whether the object is an alias # - # source://yard//lib/yard/code_objects/method_object.rb#126 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:126 def is_alias?; end # Tests if the object is defined as an attribute in the namespace # # @return [Boolean] whether the object is an attribute # - # source://yard//lib/yard/code_objects/method_object.rb#114 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:114 def is_attribute?; end # Tests boolean {#explicit} value. # # @return [Boolean] whether the method is explicitly defined in source # - # source://yard//lib/yard/code_objects/method_object.rb#134 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:134 def is_explicit?; end # @return [Boolean] whether or not this method was created as a module # function # @since 0.8.0 # - # source://yard//lib/yard/code_objects/method_object.rb#85 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:85 def module_function?; end # Returns the name of the object. @@ -3553,14 +3553,14 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # prefix is true # @return [Symbol] the name without {#sep} if prefix is set to false # - # source://yard//lib/yard/code_objects/method_object.rb#175 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:175 def name(prefix = T.unsafe(nil)); end # @return [MethodObject] the object that this method overrides # @return [nil] if it does not override a method # @since 0.6.0 # - # source://yard//lib/yard/code_objects/method_object.rb#141 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:141 def overridden_method; end # Returns the list of parameters parsed out of the method signature @@ -3569,7 +3569,7 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # @return [Array] a list of parameter names followed # by their default values (or nil) # - # source://yard//lib/yard/code_objects/method_object.rb#25 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:25 def parameters; end # Returns the list of parameters parsed out of the method signature @@ -3578,7 +3578,7 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # @return [Array] a list of parameter names followed # by their default values (or nil) # - # source://yard//lib/yard/code_objects/method_object.rb#25 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:25 def parameters=(_arg0); end # Override path handling for instance methods in the root namespace @@ -3586,27 +3586,27 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # # @return [String] the path of a method # - # source://yard//lib/yard/code_objects/method_object.rb#161 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:161 def path; end # @return [Boolean] whether the method is a reader attribute # @since 0.5.3 # - # source://yard//lib/yard/code_objects/method_object.rb#107 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:107 def reader?; end # The scope of the method (+:class+ or +:instance+) # # @return [Symbol] the scope # - # source://yard//lib/yard/code_objects/method_object.rb#11 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:11 def scope; end # Changes the scope of an object from :instance or :class # # @param v [Symbol] the new scope # - # source://yard//lib/yard/code_objects/method_object.rb#58 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:58 def scope=(v); end # Override separator to differentiate between class and instance @@ -3614,24 +3614,24 @@ class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base # # @return [String] "#" for an instance method, "." for class # - # source://yard//lib/yard/code_objects/method_object.rb#182 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:182 def sep; end # @return [Boolean] whether the method is a writer attribute # @since 0.5.3 # - # source://yard//lib/yard/code_objects/method_object.rb#100 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:100 def writer?; end protected - # source://yard//lib/yard/code_objects/method_object.rb#192 + # pkg:gem/yard#lib/yard/code_objects/method_object.rb:192 def copyable_attributes; end end # Represents a Ruby module. # -# source://yard//lib/yard/code_objects/module_object.rb#6 +# pkg:gem/yard#lib/yard/code_objects/module_object.rb:6 class YARD::CodeObjects::ModuleObject < ::YARD::CodeObjects::NamespaceObject # Returns the inheritance tree of mixins. # @@ -3639,23 +3639,23 @@ class YARD::CodeObjects::ModuleObject < ::YARD::CodeObjects::NamespaceObject # modules (which is likely what is wanted). # @return [Array] a list of namespace objects # - # source://yard//lib/yard/code_objects/module_object.rb#12 + # pkg:gem/yard#lib/yard/code_objects/module_object.rb:12 def inheritance_tree(include_mods = T.unsafe(nil)); end end # Regular expression to match namespaces (const A or complex path A::B) # -# source://yard//lib/yard/code_objects/base.rb#58 +# pkg:gem/yard#lib/yard/code_objects/base.rb:58 YARD::CodeObjects::NAMESPACEMATCH = T.let(T.unsafe(nil), Regexp) # Namespace separator # -# source://yard//lib/yard/code_objects/base.rb#34 +# pkg:gem/yard#lib/yard/code_objects/base.rb:34 YARD::CodeObjects::NSEP = T.let(T.unsafe(nil), String) # Regex-quoted namespace separator # -# source://yard//lib/yard/code_objects/base.rb#37 +# pkg:gem/yard#lib/yard/code_objects/base.rb:37 YARD::CodeObjects::NSEPQ = T.let(T.unsafe(nil), String) # This module controls registration and accessing of namespace separators @@ -3663,14 +3663,14 @@ YARD::CodeObjects::NSEPQ = T.let(T.unsafe(nil), String) # # @since 0.9.1 # -# source://yard//lib/yard/code_objects/namespace_mapper.rb#8 +# pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:8 module YARD::CodeObjects::NamespaceMapper # Clears the map of separators. # # @return [void] # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#55 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:55 def clear_separators; end # Gets or sets the default separator value to use when no @@ -3682,7 +3682,7 @@ module YARD::CodeObjects::NamespaceMapper # value # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#68 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:68 def default_separator(value = T.unsafe(nil)); end # Registers a separator with an optional set of valid types that @@ -3703,33 +3703,33 @@ module YARD::CodeObjects::NamespaceMapper # @see .on_invalidate # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#27 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:27 def register_separator(sep, *valid_types); end # @return [Array] all of the registered separators # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#80 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:80 def separators; end # @param type [String] the type to return separators for # @return [Array] a list of separators registered to a type # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#97 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:97 def separators_for_type(type); end # @return [Regexp] the regexp match of all separators # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#85 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:85 def separators_match; end # @param sep [String] the separator to return types for # @return [Array] a list of types registered to a separator # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#91 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:91 def types_for_separator(sep); end # Unregisters a separator by a type. @@ -3738,7 +3738,7 @@ module YARD::CodeObjects::NamespaceMapper # @see #register_separator # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#43 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:43 def unregister_separator_by_type(type); end class << self @@ -3746,14 +3746,14 @@ module YARD::CodeObjects::NamespaceMapper # determined. # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#137 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:137 def default_separator; end # @return [String] the default separator when no separator can begin # determined. # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#137 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:137 def default_separator=(_arg0); end # Invalidates all separators @@ -3761,19 +3761,19 @@ module YARD::CodeObjects::NamespaceMapper # @return [void] # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#125 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:125 def invalidate; end # @return [Hash] a mapping of types to separators # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#114 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:114 def map; end # @return [Regexp] the full list of separators as a regexp match # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#131 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:131 def map_match; end # Adds a callback that triggers when a new separator is registered or @@ -3781,13 +3781,13 @@ module YARD::CodeObjects::NamespaceMapper # # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#107 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:107 def on_invalidate(&block); end # @return [Hash] a reverse mapping of separators to types # @since 0.9.1 # - # source://yard//lib/yard/code_objects/namespace_mapper.rb#119 + # pkg:gem/yard#lib/yard/code_objects/namespace_mapper.rb:119 def rev_map; end end end @@ -3796,14 +3796,14 @@ end # The two main Ruby objects that can act as namespaces are modules # ({ModuleObject}) and classes ({ClassObject}). # -# source://yard//lib/yard/code_objects/namespace_object.rb#9 +# pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:9 class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # Creates a new namespace object inside +namespace+ with +name+. # # @return [NamespaceObject] a new instance of NamespaceObject # @see Base#initialize # - # source://yard//lib/yard/code_objects/namespace_object.rb#56 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:56 def initialize(namespace, name, *args, &block); end # A hash containing two keys, :class and :instance, each containing @@ -3811,7 +3811,7 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # # @return [Hash] a list of methods # - # source://yard//lib/yard/code_objects/namespace_object.rb#44 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:44 def aliases; end # A hash containing two keys, class and instance, each containing @@ -3836,7 +3836,7 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # } # @return [Hash] a list of methods # - # source://yard//lib/yard/code_objects/namespace_object.rb#39 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:39 def attributes; end # Looks for a child that matches the attributes specified by +opts+. @@ -3846,14 +3846,14 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # # => # # @return [Base, nil] the first matched child object, or nil # - # source://yard//lib/yard/code_objects/namespace_object.rb#86 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:86 def child(opts = T.unsafe(nil)); end # The list of objects defined in this namespace # # @return [Array] a list of objects # - # source://yard//lib/yard/code_objects/namespace_object.rb#16 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:16 def children; end # Only the class attributes @@ -3861,14 +3861,14 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # @return [Hash] a list of method names and their read/write objects # @see #attributes # - # source://yard//lib/yard/code_objects/namespace_object.rb#69 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:69 def class_attributes; end # Class mixins # # @return [Array] a list of mixins # - # source://yard//lib/yard/code_objects/namespace_object.rb#48 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:48 def class_mixins; end # Returns all constants in the namespace @@ -3877,33 +3877,33 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # @param opts [Hash] a customizable set of options # @return [Array] a list of constant objects # - # source://yard//lib/yard/code_objects/namespace_object.rb#164 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:164 def constants(opts = T.unsafe(nil)); end # Returns class variables defined in this namespace. # # @return [Array] a list of class variable objects # - # source://yard//lib/yard/code_objects/namespace_object.rb#186 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:186 def cvars; end # @return [Array] a list of ordered group names inside the namespace # @since 0.6.0 # - # source://yard//lib/yard/code_objects/namespace_object.rb#12 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:12 def groups; end # @return [Array] a list of ordered group names inside the namespace # @since 0.6.0 # - # source://yard//lib/yard/code_objects/namespace_object.rb#12 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:12 def groups=(_arg0); end # Returns constants included from any mixins # # @return [Array] a list of constant objects # - # source://yard//lib/yard/code_objects/namespace_object.rb#172 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:172 def included_constants; end # Returns methods included from any mixins that match the attributes @@ -3916,7 +3916,7 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # @param opts [Hash] a customizable set of options # @see #meths # - # source://yard//lib/yard/code_objects/namespace_object.rb#144 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:144 def included_meths(opts = T.unsafe(nil)); end # Only the instance attributes @@ -3924,14 +3924,14 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # @return [Hash] a list of method names and their read/write objects # @see #attributes # - # source://yard//lib/yard/code_objects/namespace_object.rb#76 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:76 def instance_attributes; end # Instance mixins # # @return [Array] a list of mixins # - # source://yard//lib/yard/code_objects/namespace_object.rb#52 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:52 def instance_mixins; end # Returns all methods that match the attributes specified by +opts+. If @@ -3946,7 +3946,7 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # @param opts [Hash] a customizable set of options # @return [Array] a list of method objects # - # source://yard//lib/yard/code_objects/namespace_object.rb#113 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:113 def meths(opts = T.unsafe(nil)); end # Returns for specific scopes. If no scopes are provided, returns all mixins. @@ -3955,13 +3955,13 @@ class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base # return mixins for. If this is empty, all scopes will be returned. # @return [Array] a list of mixins # - # source://yard//lib/yard/code_objects/namespace_object.rb#194 + # pkg:gem/yard#lib/yard/code_objects/namespace_object.rb:194 def mixins(*scopes); end end # @private # -# source://yard//lib/yard/code_objects/proxy.rb#8 +# pkg:gem/yard#lib/yard/code_objects/proxy.rb:8 YARD::CodeObjects::PROXY_MATCH = T.let(T.unsafe(nil), Regexp) # The Proxy class is a way to lazily resolve code objects in @@ -3977,29 +3977,29 @@ YARD::CodeObjects::PROXY_MATCH = T.let(T.unsafe(nil), Regexp) # @see ProxyMethodError # @see Registry.resolve # -# source://yard//lib/yard/code_objects/proxy.rb#24 +# pkg:gem/yard#lib/yard/code_objects/proxy.rb:24 class YARD::CodeObjects::Proxy # Creates a new Proxy # # @raise [ArgumentError] if namespace is not a NamespaceObject # @return [Proxy] self # - # source://yard//lib/yard/code_objects/proxy.rb#34 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:34 def initialize(namespace, name, type = T.unsafe(nil)); end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#118 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:118 def <=>(other); end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#134 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:134 def ==(other); end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#113 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:113 def ===(other); end # Returns the class name of the object the proxy is mimicking, if @@ -4007,46 +4007,46 @@ class YARD::CodeObjects::Proxy # # @return [Class] the resolved object's class or +Proxy+ # - # source://yard//lib/yard/code_objects/proxy.rb#142 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:142 def class; end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#127 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:127 def equal?(other); end # @return [Integer] the object's hash value (for equality checking) # - # source://yard//lib/yard/code_objects/proxy.rb#137 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:137 def hash; end # Returns a text representation of the Proxy # # @return [String] the object's #inspect method or P(OBJECTPATH) # - # source://yard//lib/yard/code_objects/proxy.rb#91 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:91 def inspect; end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#161 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:161 def instance_of?(klass); end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#108 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:108 def is_a?(klass); end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#166 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:166 def kind_of?(klass); end # Dispatches the method to the resolved object. # # @raise [ProxyMethodError] if the proxy cannot find the real object # - # source://yard//lib/yard/code_objects/proxy.rb#178 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:178 def method_missing(meth, *args, &block); end # The name of the object @@ -4057,17 +4057,17 @@ class YARD::CodeObjects::Proxy # @return [String] if prefix is true, prefix + the name as a String. # This must be implemented by the subclass. # - # source://yard//lib/yard/code_objects/proxy.rb#85 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:85 def name(prefix = T.unsafe(nil)); end # Returns the value of attribute namespace. # - # source://yard//lib/yard/code_objects/proxy.rb#27 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:27 def namespace; end # Returns the value of attribute namespace. # - # source://yard//lib/yard/code_objects/proxy.rb#28 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:28 def parent; end # If the proxy resolves to an object, returns its path, otherwise @@ -4076,19 +4076,19 @@ 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 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:100 def path; end # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#171 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:171 def respond_to?(meth, include_private = T.unsafe(nil)); end # This class is never a root object # # @return [Boolean] # - # source://yard//lib/yard/code_objects/proxy.rb#200 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:200 def root?; end # If the proxy resolves to an object, returns its path, otherwise @@ -4097,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#105 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:105 def title; end # If the proxy resolves to an object, returns its path, otherwise @@ -4106,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#103 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:103 def to_s; end # If the proxy resolves to an object, returns its path, otherwise @@ -4115,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#104 + # pkg:gem/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 @@ -4125,7 +4125,7 @@ class YARD::CodeObjects::Proxy # @return [Symbol] the Proxy's type # @see #type= # - # source://yard//lib/yard/code_objects/proxy.rb#151 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:151 def type; end # Allows a parser to infer the type of the proxy by its path. @@ -4133,17 +4133,17 @@ class YARD::CodeObjects::Proxy # @param type [#to_sym] the proxy's inferred type # @return [void] # - # source://yard//lib/yard/code_objects/proxy.rb#158 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:158 def type=(type); end private - # source://yard//lib/yard/code_objects/proxy.rb#228 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:228 def proxy_path; end # @note this method fixes a bug in 1.9.2: http://gist.github.com/437136 # - # source://yard//lib/yard/code_objects/proxy.rb#205 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:205 def to_ary; end # Attempts to find the object that this unresolved object @@ -4152,45 +4152,45 @@ class YARD::CodeObjects::Proxy # # @return [Base, nil] the registered code object or nil # - # source://yard//lib/yard/code_objects/proxy.rb#212 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:212 def to_obj; end class << self - # source://yard//lib/yard/code_objects/proxy.rb#25 + # pkg:gem/yard#lib/yard/code_objects/proxy.rb:25 def ===(other); end end end # A special type of +NoMethodError+ when raised from a {Proxy} # -# source://yard//lib/yard/code_objects/proxy.rb#5 +# pkg:gem/yard#lib/yard/code_objects/proxy.rb:5 class YARD::CodeObjects::ProxyMethodError < ::NoMethodError; end # Represents the root namespace object (the invisible Ruby module that # holds all top level modules, class and other objects). # -# source://yard//lib/yard/code_objects/root_object.rb#6 +# pkg:gem/yard#lib/yard/code_objects/root_object.rb:6 class YARD::CodeObjects::RootObject < ::YARD::CodeObjects::ModuleObject # @return [Boolean] # - # source://yard//lib/yard/code_objects/root_object.rb#12 + # pkg:gem/yard#lib/yard/code_objects/root_object.rb:12 def equal?(other); end - # source://yard//lib/yard/code_objects/root_object.rb#16 + # pkg:gem/yard#lib/yard/code_objects/root_object.rb:16 def hash; end - # source://yard//lib/yard/code_objects/root_object.rb#8 + # pkg:gem/yard#lib/yard/code_objects/root_object.rb:8 def inspect; end - # source://yard//lib/yard/code_objects/root_object.rb#7 + # pkg:gem/yard#lib/yard/code_objects/root_object.rb:7 def path; end # @return [Boolean] # - # source://yard//lib/yard/code_objects/root_object.rb#9 + # pkg:gem/yard#lib/yard/code_objects/root_object.rb:9 def root?; end - # source://yard//lib/yard/code_objects/root_object.rb#10 + # pkg:gem/yard#lib/yard/code_objects/root_object.rb:10 def title; end end @@ -4278,20 +4278,20 @@ end # @see options # @since 0.6.2 # -# source://yard//lib/yard/config.rb#86 +# pkg:gem/yard#lib/yard/config.rb:86 class YARD::Config class << self # Legacy support for {IGNORED_PLUGINS} # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#221 + # pkg:gem/yard#lib/yard/config.rb:221 def add_ignored_plugins_file; end # @return [Array] arguments from commandline and yardopts file # @since 0.6.2 # - # source://yard//lib/yard/config.rb#268 + # pkg:gem/yard#lib/yard/config.rb:268 def arguments; end # Loads settings from {CONFIG_FILE}. This method is called by YARD at @@ -4300,35 +4300,35 @@ class YARD::Config # @return [void] # @since 0.6.2 # - # source://yard//lib/yard/config.rb#119 + # pkg:gem/yard#lib/yard/config.rb:119 def load; end # Load plugins set in :autoload_plugins # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#189 + # pkg:gem/yard#lib/yard/config.rb:189 def load_autoload_plugins; end # Load plugins from {arguments} # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#194 + # pkg:gem/yard#lib/yard/config.rb:194 def load_commandline_plugins; end # Check for command-line safe_mode switch in {arguments} # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#204 + # pkg:gem/yard#lib/yard/config.rb:204 def load_commandline_safemode; end # Load gem plugins if :load_plugins is true # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#169 + # pkg:gem/yard#lib/yard/config.rb:169 def load_gem_plugins; end # Loads an individual plugin by name. It is not necessary to include the @@ -4338,7 +4338,7 @@ class YARD::Config # @return [Boolean] whether the plugin was successfully loaded # @since 0.6.2 # - # source://yard//lib/yard/config.rb#157 + # pkg:gem/yard#lib/yard/config.rb:157 def load_plugin(name); end # Print a warning if the plugin failed to load @@ -4346,7 +4346,7 @@ class YARD::Config # @return [false] # @since 0.6.2 # - # source://yard//lib/yard/config.rb#214 + # pkg:gem/yard#lib/yard/config.rb:214 def load_plugin_failed(name, exception); end # Loads gems that match the name 'yard-*' (recommended) or 'yard_*' except @@ -4356,7 +4356,7 @@ class YARD::Config # @return [Boolean] true if all plugins loaded successfully, false otherwise. # @since 0.6.2 # - # source://yard//lib/yard/config.rb#146 + # pkg:gem/yard#lib/yard/config.rb:146 def load_plugins; end # The system-wide configuration options for YARD @@ -4365,7 +4365,7 @@ class YARD::Config # @see DEFAULT_CONFIG_OPTIONS # @since 0.6.2 # - # source://yard//lib/yard/config.rb#91 + # pkg:gem/yard#lib/yard/config.rb:91 def options; end # The system-wide configuration options for YARD @@ -4374,7 +4374,7 @@ class YARD::Config # @see DEFAULT_CONFIG_OPTIONS # @since 0.6.2 # - # source://yard//lib/yard/config.rb#91 + # pkg:gem/yard#lib/yard/config.rb:91 def options=(_arg0); end # Loads the YAML configuration file into memory @@ -4383,7 +4383,7 @@ class YARD::Config # @see CONFIG_FILE # @since 0.6.2 # - # source://yard//lib/yard/config.rb#236 + # pkg:gem/yard#lib/yard/config.rb:236 def read_config_file; end # Saves settings to {CONFIG_FILE}. @@ -4391,7 +4391,7 @@ class YARD::Config # @return [void] # @since 0.6.2 # - # source://yard//lib/yard/config.rb#135 + # pkg:gem/yard#lib/yard/config.rb:135 def save; end # Sanitizes and normalizes a plugin name to include the 'yard-' prefix. @@ -4400,21 +4400,21 @@ class YARD::Config # @return [String] the sanitized and normalized plugin name. # @since 0.6.2 # - # source://yard//lib/yard/config.rb#252 + # pkg:gem/yard#lib/yard/config.rb:252 def translate_plugin_name(name); end # Translates plugin names to add yard- prefix. # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#228 + # pkg:gem/yard#lib/yard/config.rb:228 def translate_plugin_names; end # Temporarily loads .yardopts file into @yardopts # # @since 0.6.2 # - # source://yard//lib/yard/config.rb#259 + # pkg:gem/yard#lib/yard/config.rb:259 def with_yardopts; end end end @@ -4423,21 +4423,21 @@ end # # @since 0.6.2 # -# source://yard//lib/yard/config.rb#95 +# pkg:gem/yard#lib/yard/config.rb:95 YARD::Config::CONFIG_DIR = T.let(T.unsafe(nil), String) # The main configuration YAML file. # # @since 0.6.2 # -# source://yard//lib/yard/config.rb#98 +# pkg:gem/yard#lib/yard/config.rb:98 YARD::Config::CONFIG_FILE = T.let(T.unsafe(nil), String) # Default configuration options # # @since 0.6.2 # -# source://yard//lib/yard/config.rb#105 +# pkg:gem/yard#lib/yard/config.rb:105 YARD::Config::DEFAULT_CONFIG_OPTIONS = T.let(T.unsafe(nil), Hash) # File listing all ignored plugins @@ -4445,7 +4445,7 @@ YARD::Config::DEFAULT_CONFIG_OPTIONS = T.let(T.unsafe(nil), Hash) # @deprecated Set `ignored_plugins` in the {CONFIG_FILE} instead. # @since 0.6.2 # -# source://yard//lib/yard/config.rb#102 +# pkg:gem/yard#lib/yard/config.rb:102 YARD::Config::IGNORED_PLUGINS = T.let(T.unsafe(nil), String) # The prefix used for YARD plugins. Name your gem with this prefix @@ -4453,7 +4453,7 @@ YARD::Config::IGNORED_PLUGINS = T.let(T.unsafe(nil), String) # # @since 0.6.2 # -# source://yard//lib/yard/config.rb#114 +# pkg:gem/yard#lib/yard/config.rb:114 YARD::Config::YARD_PLUGIN_PREFIX = T.let(T.unsafe(nil), Regexp) # A documentation string, or "docstring" for short, encapsulates the @@ -4470,7 +4470,7 @@ YARD::Config::YARD_PLUGIN_PREFIX = T.let(T.unsafe(nil), Regexp) # Tags can be nested in a documentation string, though the {Tags::Tag} # itself is responsible for parsing the inner tags. # -# source://yard//lib/yard/docstring.rb#16 +# pkg:gem/yard#lib/yard/docstring.rb:16 class YARD::Docstring < ::String # Creates a new docstring with the raw contents attached to an optional # object. Parsing will be done by the {DocstringParser} class. @@ -4489,7 +4489,7 @@ class YARD::Docstring < ::String # with. # @return [Docstring] a new instance of Docstring # - # source://yard//lib/yard/docstring.rb#103 + # pkg:gem/yard#lib/yard/docstring.rb:103 def initialize(content = T.unsafe(nil), object = T.unsafe(nil)); end # Adds another {Docstring}, copying over tags. @@ -4498,7 +4498,7 @@ class YARD::Docstring < ::String # add. # @return [Docstring] a new docstring with both docstrings combines # - # source://yard//lib/yard/docstring.rb#116 + # pkg:gem/yard#lib/yard/docstring.rb:116 def +(other); end # Adds a tag or reftag object to the tag list. If you want to parse @@ -4508,19 +4508,19 @@ class YARD::Docstring < ::String # @param tags [Tags::Tag, Tags::RefTag] list of tag objects to add # @return [void] # - # source://yard//lib/yard/docstring.rb#242 + # pkg:gem/yard#lib/yard/docstring.rb:242 def add_tag(*tags); end # @return [String] the raw documentation (including raw tag text) # - # source://yard//lib/yard/docstring.rb#53 + # pkg:gem/yard#lib/yard/docstring.rb:53 def all; end # Replaces the docstring with new raw content. Called by {#all=}. # # @param content [String] the raw comments to be parsed # - # source://yard//lib/yard/docstring.rb#144 + # pkg:gem/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. @@ -4529,7 +4529,7 @@ class YARD::Docstring < ::String # should be checked, or if all tags should be considered. # @return [Boolean] whether or not the docstring has content # - # source://yard//lib/yard/docstring.rb#310 + # pkg:gem/yard#lib/yard/docstring.rb:310 def blank?(only_visible_tags = T.unsafe(nil)); end # Deletes all tags where the block returns true @@ -4539,7 +4539,7 @@ class YARD::Docstring < ::String # @yieldparam tag [Tags::Tag] the tag that is being tested # @yieldreturn [Boolean] true if the tag should be deleted # - # source://yard//lib/yard/docstring.rb#300 + # pkg:gem/yard#lib/yard/docstring.rb:300 def delete_tag_if(&block); end # Delete all tags with +name+ @@ -4548,7 +4548,7 @@ class YARD::Docstring < ::String # @return [void] # @since 0.7.0 # - # source://yard//lib/yard/docstring.rb#291 + # pkg:gem/yard#lib/yard/docstring.rb:291 def delete_tags(name); end # Deep-copies a docstring @@ -4559,7 +4559,7 @@ class YARD::Docstring < ::String # @return [Docstring] a new copied docstring # @since 0.7.0 # - # source://yard//lib/yard/docstring.rb#153 + # pkg:gem/yard#lib/yard/docstring.rb:153 def dup; end # Returns true if at least one tag by the name +name+ was declared @@ -4567,53 +4567,53 @@ class YARD::Docstring < ::String # @param name [String] the tag name to search for # @return [Boolean] whether or not the tag +name+ was declared # - # source://yard//lib/yard/docstring.rb#283 + # pkg:gem/yard#lib/yard/docstring.rb:283 def has_tag?(name); end # @return [Boolean] whether the docstring was started with "##" # - # source://yard//lib/yard/docstring.rb#56 + # pkg:gem/yard#lib/yard/docstring.rb:56 def hash_flag; end - # source://yard//lib/yard/docstring.rb#57 + # pkg:gem/yard#lib/yard/docstring.rb:57 def hash_flag=(v); end # @return [Fixnum] the first line of the {#line_range} # @return [nil] if there is no associated {#line_range} # - # source://yard//lib/yard/docstring.rb#167 + # pkg:gem/yard#lib/yard/docstring.rb:167 def line; end # @return [Range] line range in the {#object}'s file where the docstring was parsed from # - # source://yard//lib/yard/docstring.rb#50 + # pkg:gem/yard#lib/yard/docstring.rb:50 def line_range; end # @return [Range] line range in the {#object}'s file where the docstring was parsed from # - # source://yard//lib/yard/docstring.rb#50 + # pkg:gem/yard#lib/yard/docstring.rb:50 def line_range=(_arg0); end # @return [CodeObjects::Base] the object that owns the docstring. # - # source://yard//lib/yard/docstring.rb#47 + # pkg:gem/yard#lib/yard/docstring.rb:47 def object; end # @return [CodeObjects::Base] the object that owns the docstring. # - # source://yard//lib/yard/docstring.rb#47 + # pkg:gem/yard#lib/yard/docstring.rb:47 def object=(_arg0); end # @return [Array] the list of reference tags # - # source://yard//lib/yard/docstring.rb#44 + # pkg:gem/yard#lib/yard/docstring.rb:44 def ref_tags; end # Replaces the docstring with new raw content. Called by {#all=}. # # @param content [String] the raw comments to be parsed # - # source://yard//lib/yard/docstring.rb#132 + # pkg:gem/yard#lib/yard/docstring.rb:132 def replace(content, parse = T.unsafe(nil)); end # Resolves unresolved other docstring reference if there is @@ -4625,14 +4625,14 @@ class YARD::Docstring < ::String # # @return [void] # - # source://yard//lib/yard/docstring.rb#328 + # pkg:gem/yard#lib/yard/docstring.rb:328 def resolve_reference; end # Gets the first line of a docstring to the period or the first paragraph. # # @return [String] The first line or paragraph of the docstring; always ends with a period. # - # source://yard//lib/yard/docstring.rb#173 + # pkg:gem/yard#lib/yard/docstring.rb:173 def summary; end # Convenience method to return the first tag @@ -4644,7 +4644,7 @@ class YARD::Docstring < ::String # @param name [#to_s] the tag name to return data for # @return [Tags::Tag] the first tag in the list of {#tags} # - # source://yard//lib/yard/docstring.rb#265 + # pkg:gem/yard#lib/yard/docstring.rb:265 def tag(name); end # Returns a list of tags specified by +name+ or all tags if +name+ is not specified. @@ -4652,7 +4652,7 @@ class YARD::Docstring < ::String # @param name [#to_s] the tag name to return data for, or nil for all tags # @return [Array] the list of tags by the specified tag name # - # source://yard//lib/yard/docstring.rb#273 + # pkg:gem/yard#lib/yard/docstring.rb:273 def tags(name = T.unsafe(nil)); end # Reformats and returns a raw representation of the tag data using the @@ -4662,10 +4662,10 @@ class YARD::Docstring < ::String # @since 0.7.0 # @todo Add Tags::Tag#to_raw and refactor # - # source://yard//lib/yard/docstring.rb#207 + # pkg:gem/yard#lib/yard/docstring.rb:207 def to_raw; end - # source://yard//lib/yard/docstring.rb#125 + # pkg:gem/yard#lib/yard/docstring.rb:125 def to_s; end private @@ -4674,7 +4674,7 @@ class YARD::Docstring < ::String # # @return [Array] the list of valid reference tags # - # source://yard//lib/yard/docstring.rb#344 + # pkg:gem/yard#lib/yard/docstring.rb:344 def convert_ref_tags; end # Parses out comments split by newlines into a new code object @@ -4684,7 +4684,7 @@ class YARD::Docstring < ::String # @return [String] the non-metadata portion of the comments to # be used as a docstring # - # source://yard//lib/yard/docstring.rb#369 + # pkg:gem/yard#lib/yard/docstring.rb:369 def parse_comments(comments); end # A stable sort_by method. @@ -4692,7 +4692,7 @@ class YARD::Docstring < ::String # @param list [Enumerable] the list to sort. # @return [Array] a stable sorted list. # - # source://yard//lib/yard/docstring.rb#382 + # pkg:gem/yard#lib/yard/docstring.rb:382 def stable_sort_by(list); end class << self @@ -4707,7 +4707,7 @@ class YARD::Docstring < ::String # @see DocstringParser # @see Parser::SourceParser.after_parse_list # - # source://yard//lib/yard/docstring.rb#28 + # pkg:gem/yard#lib/yard/docstring.rb:28 def default_parser; end # @note Plugin developers should make sure to reset this value @@ -4721,7 +4721,7 @@ class YARD::Docstring < ::String # @see DocstringParser # @see Parser::SourceParser.after_parse_list # - # source://yard//lib/yard/docstring.rb#28 + # pkg:gem/yard#lib/yard/docstring.rb:28 def default_parser=(_arg0); end # Creates a new docstring without performing any parsing through @@ -4737,7 +4737,7 @@ class YARD::Docstring < ::String # @param tags [Array] the list of tag objects in the docstring # @param text [String] the textual portion of the docstring # - # source://yard//lib/yard/docstring.rb#77 + # pkg:gem/yard#lib/yard/docstring.rb:77 def new!(text, tags = T.unsafe(nil), object = T.unsafe(nil), raw_data = T.unsafe(nil), ref_object = T.unsafe(nil)); end # Creates a parser object using the current {default_parser}. @@ -4750,7 +4750,7 @@ class YARD::Docstring < ::String # @return [DocstringParser] the parser object used to parse a # docstring. # - # source://yard//lib/yard/docstring.rb#38 + # pkg:gem/yard#lib/yard/docstring.rb:38 def parser(*args); end end end @@ -4759,7 +4759,7 @@ end # # @deprecated Use {DocstringParser::META_MATCH} # -# source://yard//lib/yard/docstring.rb#61 +# pkg:gem/yard#lib/yard/docstring.rb:61 YARD::Docstring::META_MATCH = T.let(T.unsafe(nil), Regexp) # Parses text and creates a {Docstring} object to represent documentation @@ -4788,7 +4788,7 @@ YARD::Docstring::META_MATCH = T.let(T.unsafe(nil), Regexp) # @see #parse_content # @since 0.8.0 # -# source://yard//lib/yard/docstring_parser.rb#29 +# pkg:gem/yard#lib/yard/docstring_parser.rb:29 class YARD::DocstringParser # Creates a new parser to parse docstring data # @@ -4797,7 +4797,7 @@ class YARD::DocstringParser # @return [DocstringParser] a new instance of DocstringParser # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#80 + # pkg:gem/yard#lib/yard/docstring_parser.rb:80 def initialize(library = T.unsafe(nil)); end # Creates a new directive using the registered {#library} @@ -4805,14 +4805,14 @@ class YARD::DocstringParser # @return [Tags::Directive] the directive object that is created # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#231 + # pkg:gem/yard#lib/yard/docstring_parser.rb:231 def create_directive(tag_name, tag_buf); end # Creates a {Tags::RefTag} # # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#225 + # pkg:gem/yard#lib/yard/docstring_parser.rb:225 def create_ref_tag(tag_name, name, object_name); end # Creates a tag from the {Tags::DefaultFactory tag factory}. @@ -4824,7 +4824,7 @@ class YARD::DocstringParser # @return [Tags::Tag, Tags::RefTag] a tag # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#208 + # pkg:gem/yard#lib/yard/docstring_parser.rb:208 def create_tag(tag_name, tag_buf = T.unsafe(nil)); end # @return [Array] a list of directives identified @@ -4832,7 +4832,7 @@ class YARD::DocstringParser # Docstring object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#44 + # pkg:gem/yard#lib/yard/docstring_parser.rb:44 def directives; end # @return [Array] a list of directives identified @@ -4840,7 +4840,7 @@ class YARD::DocstringParser # Docstring object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#44 + # pkg:gem/yard#lib/yard/docstring_parser.rb:44 def directives=(_arg0); end # @return [Handlers::Base, nil] the handler parsing this @@ -4848,7 +4848,7 @@ class YARD::DocstringParser # initialized through # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#65 + # pkg:gem/yard#lib/yard/docstring_parser.rb:65 def handler; end # @return [Handlers::Base, nil] the handler parsing this @@ -4856,21 +4856,21 @@ class YARD::DocstringParser # initialized through # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#65 + # pkg:gem/yard#lib/yard/docstring_parser.rb:65 def handler=(_arg0); end # @return [Tags::Library] the tag library being used to # identify registered tags in the docstring. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#69 + # pkg:gem/yard#lib/yard/docstring_parser.rb:69 def library; end # @return [Tags::Library] the tag library being used to # identify registered tags in the docstring. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#69 + # pkg:gem/yard#lib/yard/docstring_parser.rb:69 def library=(_arg0); end # @return [CodeObjects::Base, nil] the object associated with @@ -4878,7 +4878,7 @@ class YARD::DocstringParser # not attached to any object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#55 + # pkg:gem/yard#lib/yard/docstring_parser.rb:55 def object; end # @return [CodeObjects::Base, nil] the object associated with @@ -4886,7 +4886,7 @@ class YARD::DocstringParser # not attached to any object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#55 + # pkg:gem/yard#lib/yard/docstring_parser.rb:55 def object=(_arg0); end # Parses all content and returns itself. @@ -4903,7 +4903,7 @@ class YARD::DocstringParser # @see #to_docstring # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#112 + # pkg:gem/yard#lib/yard/docstring_parser.rb:112 def parse(content, object = T.unsafe(nil), handler = T.unsafe(nil)); end # Parses a given block of text. @@ -4913,7 +4913,7 @@ class YARD::DocstringParser # @param content [String] the content to parse # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#128 + # pkg:gem/yard#lib/yard/docstring_parser.rb:128 def parse_content(content); end # Call post processing callbacks on parser. @@ -4923,19 +4923,19 @@ class YARD::DocstringParser # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#195 + # pkg:gem/yard#lib/yard/docstring_parser.rb:195 def post_process; end # @return [String] the complete input string to the parser. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#35 + # pkg:gem/yard#lib/yard/docstring_parser.rb:35 def raw_text; end # @return [String] the complete input string to the parser. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#35 + # pkg:gem/yard#lib/yard/docstring_parser.rb:35 def raw_text=(_arg0); end # @return [CodeObjects::Base, nil] the object referenced by @@ -4943,7 +4943,7 @@ class YARD::DocstringParser # refer to any object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#60 + # pkg:gem/yard#lib/yard/docstring_parser.rb:60 def reference; end # @return [CodeObjects::Base, nil] the object referenced by @@ -4951,7 +4951,7 @@ class YARD::DocstringParser # refer to any object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#60 + # pkg:gem/yard#lib/yard/docstring_parser.rb:60 def reference=(_arg0); end # @return [OpenStruct] any arbitrary state to be passed between @@ -4960,7 +4960,7 @@ class YARD::DocstringParser # used in a docstring). # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#50 + # pkg:gem/yard#lib/yard/docstring_parser.rb:50 def state; end # @return [OpenStruct] any arbitrary state to be passed between @@ -4969,7 +4969,7 @@ class YARD::DocstringParser # used in a docstring). # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#50 + # pkg:gem/yard#lib/yard/docstring_parser.rb:50 def state=(_arg0); end # Backward compatibility to detect old tags that should be specified @@ -4978,42 +4978,42 @@ class YARD::DocstringParser # @return [Boolean] # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#251 + # pkg:gem/yard#lib/yard/docstring_parser.rb:251 def tag_is_directive?(tag_name); end # @return [Array] the list of meta-data tags identified # by the parser # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#39 + # pkg:gem/yard#lib/yard/docstring_parser.rb:39 def tags; end # @return [Array] the list of meta-data tags identified # by the parser # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#39 + # pkg:gem/yard#lib/yard/docstring_parser.rb:39 def tags=(_arg0); end # @return [String] the parsed text portion of the docstring, # with tags removed. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#32 + # pkg:gem/yard#lib/yard/docstring_parser.rb:32 def text; end # @return [String] the parsed text portion of the docstring, # with tags removed. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#32 + # pkg:gem/yard#lib/yard/docstring_parser.rb:32 def text=(_arg0); end # @return [Docstring] translates parsed text into # a Docstring object. # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#94 + # pkg:gem/yard#lib/yard/docstring_parser.rb:94 def to_docstring; end private @@ -5022,7 +5022,7 @@ class YARD::DocstringParser # # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#323 + # pkg:gem/yard#lib/yard/docstring_parser.rb:323 def call_after_parse_callbacks; end # Calls the {Tags::Directive#after_parse} callback on all the @@ -5030,17 +5030,17 @@ class YARD::DocstringParser # # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#318 + # pkg:gem/yard#lib/yard/docstring_parser.rb:318 def call_directives_after_parse; end # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#304 + # pkg:gem/yard#lib/yard/docstring_parser.rb:304 def detect_reference(content); end # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#300 + # pkg:gem/yard#lib/yard/docstring_parser.rb:300 def namespace; end class << self @@ -5055,13 +5055,13 @@ class YARD::DocstringParser # with all directives and tags created. # @yieldreturn [void] # - # source://yard//lib/yard/docstring_parser.rb#265 + # pkg:gem/yard#lib/yard/docstring_parser.rb:265 def after_parse(&block); end # @return [Array] the {after_parse} callback proc objects # @since 0.8.0 # - # source://yard//lib/yard/docstring_parser.rb#270 + # pkg:gem/yard#lib/yard/docstring_parser.rb:270 def after_parse_callbacks; end end end @@ -5070,30 +5070,30 @@ end # # @since 0.8.0 # -# source://yard//lib/yard/docstring_parser.rb#72 +# pkg:gem/yard#lib/yard/docstring_parser.rb:72 YARD::DocstringParser::META_MATCH = T.let(T.unsafe(nil), Regexp) -# source://yard//lib/yard/gem_index.rb#6 +# pkg:gem/yard#lib/yard/gem_index.rb:6 module YARD::GemIndex private - # source://yard//lib/yard/gem_index.rb#25 + # pkg:gem/yard#lib/yard/gem_index.rb:25 def all; end - # source://yard//lib/yard/gem_index.rb#17 + # pkg:gem/yard#lib/yard/gem_index.rb:17 def each(&block); end - # source://yard//lib/yard/gem_index.rb#9 + # pkg:gem/yard#lib/yard/gem_index.rb:9 def find_all_by_name(*args); end class << self - # source://yard//lib/yard/gem_index.rb#25 + # pkg:gem/yard#lib/yard/gem_index.rb:25 def all; end - # source://yard//lib/yard/gem_index.rb#17 + # pkg:gem/yard#lib/yard/gem_index.rb:17 def each(&block); end - # source://yard//lib/yard/gem_index.rb#9 + # pkg:gem/yard#lib/yard/gem_index.rb:9 def find_all_by_name(*args); end end end @@ -5102,7 +5102,7 @@ end # parsing phase. This allows YARD as well as any custom extension to # analyze source and generate {CodeObjects} to be stored for later use. # -# source://yard//lib/yard/autoload.rb#66 +# pkg:gem/yard#lib/yard/autoload.rb:66 module YARD::Handlers; end # Handlers are pluggable semantic parsers for YARD's code generation @@ -5233,14 +5233,14 @@ module YARD::Handlers; end # @see CodeObjects::NamespaceObject # @see handles # -# source://yard//lib/yard/handlers/base.rb#149 +# pkg:gem/yard#lib/yard/handlers/base.rb:149 class YARD::Handlers::Base include ::YARD::CodeObjects include ::YARD::Parser # @return [Base] a new instance of Base # - # source://yard//lib/yard/handlers/base.rb#276 + # pkg:gem/yard#lib/yard/handlers/base.rb:276 def initialize(source_parser, stmt); end # Aborts a handler by raising {Handlers::HandlerAborted}. @@ -5250,7 +5250,7 @@ class YARD::Handlers::Base # @raise [Handlers::HandlerAborted] # @since 0.8.4 # - # source://yard//lib/yard/handlers/base.rb#355 + # pkg:gem/yard#lib/yard/handlers/base.rb:355 def abort!; end # @abstract Implement this method to return the parameters in a method call @@ -5259,7 +5259,7 @@ class YARD::Handlers::Base # @raise [NotImplementedError] # @return [Array] a list of argument names # - # source://yard//lib/yard/handlers/base.rb#581 + # pkg:gem/yard#lib/yard/handlers/base.rb:581 def call_params; end # @abstract Implement this method to return the method being called in @@ -5269,7 +5269,7 @@ class YARD::Handlers::Base # @return [String] the method name being called # @return [nil] if the statement is not a method call # - # source://yard//lib/yard/handlers/base.rb#590 + # pkg:gem/yard#lib/yard/handlers/base.rb:590 def caller_method; end # Ensures that a specific +object+ has been parsed and loaded into the @@ -5292,41 +5292,41 @@ class YARD::Handlers::Base # +max_retries+ attempts, this exception is raised and the handler # finishes processing. # - # source://yard//lib/yard/handlers/base.rb#561 + # pkg:gem/yard#lib/yard/handlers/base.rb:561 def ensure_loaded!(object, max_retries = T.unsafe(nil)); end # Returns the value of attribute extra_state. # - # source://yard//lib/yard/handlers/base.rb#333 + # pkg:gem/yard#lib/yard/handlers/base.rb:333 def extra_state; end # Returns the value of attribute globals. # - # source://yard//lib/yard/handlers/base.rb#330 + # pkg:gem/yard#lib/yard/handlers/base.rb:330 def globals; end # Returns the value of attribute namespace. # - # source://yard//lib/yard/handlers/base.rb#321 + # pkg:gem/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#321 + # pkg:gem/yard#lib/yard/handlers/base.rb:321 def namespace=(v); end # Returns the value of attribute owner. # - # source://yard//lib/yard/handlers/base.rb#318 + # pkg:gem/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#318 + # pkg:gem/yard#lib/yard/handlers/base.rb:318 def owner=(v); end # Parses the semantic "block" contained in the statement node. @@ -5334,13 +5334,13 @@ class YARD::Handlers::Base # @abstract Subclasses should call {Processor#process parser.process} # @raise [NotImplementedError] # - # source://yard//lib/yard/handlers/base.rb#304 + # pkg:gem/yard#lib/yard/handlers/base.rb:304 def parse_block(*_arg0); end # @return [Processor] the processor object that manages all global state # during handling. # - # source://yard//lib/yard/handlers/base.rb#310 + # pkg:gem/yard#lib/yard/handlers/base.rb:310 def parser; end # The main handler method called by the parser on a statement @@ -5358,7 +5358,7 @@ class YARD::Handlers::Base # @see #register # @see handles # - # source://yard//lib/yard/handlers/base.rb#297 + # pkg:gem/yard#lib/yard/handlers/base.rb:297 def process; end # Executes a given block with specific state values for {#owner}, @@ -5370,7 +5370,7 @@ class YARD::Handlers::Base # @param opts [Hash] a customizable set of options # @yield a block to execute with the given state values. # - # source://yard//lib/yard/handlers/base.rb#370 + # pkg:gem/yard#lib/yard/handlers/base.rb:370 def push_state(opts = T.unsafe(nil)); end # Do some post processing on a list of code objects. @@ -5382,7 +5382,7 @@ class YARD::Handlers::Base # @param objects [Array] the list of objects to post-process. # @return [CodeObjects::Base, Array] returns whatever is passed in, for chainability. # - # source://yard//lib/yard/handlers/base.rb#407 + # pkg:gem/yard#lib/yard/handlers/base.rb:407 def register(*objects); end # Registers any docstring found for the object and expands macros @@ -5391,7 +5391,7 @@ class YARD::Handlers::Base # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#450 + # pkg:gem/yard#lib/yard/handlers/base.rb:450 def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end # Registers the object as dynamic if the object is defined inside @@ -5401,7 +5401,7 @@ class YARD::Handlers::Base # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#537 + # pkg:gem/yard#lib/yard/handlers/base.rb:537 def register_dynamic(object); end # Ensures that the object's namespace is loaded before attaching it @@ -5411,7 +5411,7 @@ class YARD::Handlers::Base # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#429 + # pkg:gem/yard#lib/yard/handlers/base.rb:429 def register_ensure_loaded(object); end # Registers the file/line of the declaration with the object @@ -5420,7 +5420,7 @@ class YARD::Handlers::Base # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#441 + # pkg:gem/yard#lib/yard/handlers/base.rb:441 def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end # Registers the object as being inside a specific group @@ -5429,7 +5429,7 @@ class YARD::Handlers::Base # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#473 + # pkg:gem/yard#lib/yard/handlers/base.rb:473 def register_group(object, group = T.unsafe(nil)); end # Registers the same method information on the module function, if @@ -5439,14 +5439,14 @@ class YARD::Handlers::Base # to copy data for # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#523 + # pkg:gem/yard#lib/yard/handlers/base.rb:523 def register_module_function(object); end # @param object [CodeObjects::Base] the object to register # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#499 + # pkg:gem/yard#lib/yard/handlers/base.rb:499 def register_source(object, source = T.unsafe(nil), type = T.unsafe(nil)); end # Registers any transitive tags from the namespace on the object @@ -5455,7 +5455,7 @@ class YARD::Handlers::Base # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#487 + # pkg:gem/yard#lib/yard/handlers/base.rb:487 def register_transitive_tags(object); end # Registers visibility on a method object. If the object does not @@ -5465,38 +5465,38 @@ class YARD::Handlers::Base # @param visibility [Symbol] the visibility to set on the object # @since 0.8.0 # - # source://yard//lib/yard/handlers/base.rb#511 + # pkg:gem/yard#lib/yard/handlers/base.rb:511 def register_visibility(object, visibility = T.unsafe(nil)); end # Returns the value of attribute scope. # - # source://yard//lib/yard/handlers/base.rb#327 + # pkg:gem/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#327 + # pkg:gem/yard#lib/yard/handlers/base.rb:327 def scope=(v); end # @return [Object] the statement object currently being processed. Usually # refers to one semantic language statement, though the strict definition # depends on the parser used. # - # source://yard//lib/yard/handlers/base.rb#315 + # pkg:gem/yard#lib/yard/handlers/base.rb:315 def statement; end # Returns the value of attribute visibility. # - # source://yard//lib/yard/handlers/base.rb#324 + # pkg:gem/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#324 + # pkg:gem/yard#lib/yard/handlers/base.rb:324 def visibility=(v); end class << self @@ -5504,13 +5504,13 @@ class YARD::Handlers::Base # # @return [void] # - # source://yard//lib/yard/handlers/base.rb#159 + # pkg:gem/yard#lib/yard/handlers/base.rb:159 def clear_subclasses; end # @return [Array] a list of matchers for the handler object. # @see handles? # - # source://yard//lib/yard/handlers/base.rb#211 + # pkg:gem/yard#lib/yard/handlers/base.rb:211 def handlers; end # Declares the statement type which will be processed @@ -5530,7 +5530,7 @@ class YARD::Handlers::Base # token matches match only the first token of the # statement. # - # source://yard//lib/yard/handlers/base.rb#192 + # pkg:gem/yard#lib/yard/handlers/base.rb:192 def handles(*matches); end # This class is implemented by {Ruby::Base} and {Ruby::Legacy::Base}. @@ -5544,7 +5544,7 @@ class YARD::Handlers::Base # @return [Boolean] whether or not this handler object should process # the given statement # - # source://yard//lib/yard/handlers/base.rb#205 + # pkg:gem/yard#lib/yard/handlers/base.rb:205 def handles?(statement); end # Declares that a handler should only be called when inside a filename @@ -5554,19 +5554,19 @@ class YARD::Handlers::Base # @return [void] # @since 0.6.2 # - # source://yard//lib/yard/handlers/base.rb#235 + # pkg:gem/yard#lib/yard/handlers/base.rb:235 def in_file(filename); end # @private # - # source://yard//lib/yard/handlers/base.rb#169 + # pkg:gem/yard#lib/yard/handlers/base.rb:169 def inherited(subclass); end # @return [Boolean] whether the filename matches the declared file # match for a handler. If no file match is specified, returns true. # @since 0.6.2 # - # source://yard//lib/yard/handlers/base.rb#242 + # pkg:gem/yard#lib/yard/handlers/base.rb:242 def matches_file?(filename); end # Declares that the handler should only be called when inside a @@ -5574,13 +5574,13 @@ class YARD::Handlers::Base # # @return [void] # - # source://yard//lib/yard/handlers/base.rb#219 + # pkg:gem/yard#lib/yard/handlers/base.rb:219 def namespace_only; end # @return [Boolean] whether the handler should only be processed inside # a namespace. # - # source://yard//lib/yard/handlers/base.rb#225 + # pkg:gem/yard#lib/yard/handlers/base.rb:225 def namespace_only?; end # Generates a +process+ method, equivalent to +def process; ... end+. @@ -5592,14 +5592,14 @@ class YARD::Handlers::Base # @see #process # @since 0.5.4 # - # source://yard//lib/yard/handlers/base.rb#269 + # pkg:gem/yard#lib/yard/handlers/base.rb:269 def process(&block); end # Returns all registered handler subclasses. # # @return [Array] a list of handlers # - # source://yard//lib/yard/handlers/base.rb#165 + # pkg:gem/yard#lib/yard/handlers/base.rb:165 def subclasses; end end end @@ -5608,32 +5608,32 @@ end # # @since 0.8.0 # -# source://yard//lib/yard/autoload.rb#74 +# pkg:gem/yard#lib/yard/autoload.rb:74 module YARD::Handlers::C; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/alias_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/alias_handler.rb:2 class YARD::Handlers::C::AliasHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/alias_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/alias_handler.rb:3 YARD::Handlers::C::AliasHandler::MATCH = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/attribute_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/attribute_handler.rb:2 class YARD::Handlers::C::AttributeHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/attribute_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/attribute_handler.rb:3 YARD::Handlers::C::AttributeHandler::MATCH = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/base.rb#5 +# pkg:gem/yard#lib/yard/handlers/c/base.rb:5 class YARD::Handlers::C::Base < ::YARD::Handlers::Base include ::YARD::Parser::C include ::YARD::Handlers::Common::MethodHandler @@ -5641,81 +5641,81 @@ class YARD::Handlers::C::Base < ::YARD::Handlers::Base # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#77 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:77 def ensure_variable_defined!(var, max_retries = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#64 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:64 def namespace_for_variable(var); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#94 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:94 def namespaces; end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#60 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:60 def override_comments; end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#104 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:104 def parse_block(opts = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#113 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:113 def process_file(file, object); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#98 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:98 def processed_files; end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#38 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:38 def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#42 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:42 def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#46 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:46 def register_source(object, source = T.unsafe(nil), type = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#50 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:50 def register_visibility(object, visibility = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#56 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:56 def symbols; end private # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#158 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:158 def remove_var_prefix(var); end class << self # @return [Boolean] whether the handler handles this statement # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#10 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:10 def handles?(statement, processor); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/base.rb#28 + # pkg:gem/yard#lib/yard/handlers/c/base.rb:28 def statement_class(type = T.unsafe(nil)); end end end @@ -5724,37 +5724,37 @@ end # # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/base.rb#131 +# pkg:gem/yard#lib/yard/handlers/c/base.rb:131 YARD::Handlers::C::Base::ERROR_CLASS_NAMES = T.let(T.unsafe(nil), Hash) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/class_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/class_handler.rb:2 class YARD::Handlers::C::ClassHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/class_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/class_handler.rb:3 YARD::Handlers::C::ClassHandler::MATCH1 = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/class_handler.rb#9 +# pkg:gem/yard#lib/yard/handlers/c/class_handler.rb:9 YARD::Handlers::C::ClassHandler::MATCH2 = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/constant_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/constant_handler.rb:2 class YARD::Handlers::C::ConstantHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/constant_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/constant_handler.rb:3 YARD::Handlers::C::ConstantHandler::MATCH = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/handler_methods.rb#5 +# pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:5 module YARD::Handlers::C::HandlerMethods include ::YARD::Parser::C include ::YARD::CodeObjects @@ -5762,49 +5762,49 @@ module YARD::Handlers::C::HandlerMethods # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#86 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:86 def handle_alias(var_name, new_name, old_name); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#75 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:75 def handle_attribute(var_name, name, read, write); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#10 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:10 def handle_class(var_name, class_name, parent, in_module = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#109 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:109 def handle_constants(type, var_name, const_name, value); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#46 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:46 def handle_method(scope, var_name, name, func_name, _source_file = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#33 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:33 def handle_module(var_name, module_name, in_module = T.unsafe(nil)); end private # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#123 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:123 def find_constant_docstring(object); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#154 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:154 def find_method_body(object, symbol); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/handler_methods.rb#196 + # pkg:gem/yard#lib/yard/handlers/c/handler_methods.rb:196 def record_parameters(object, symbol, src); end end @@ -5812,120 +5812,120 @@ end # # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/init_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/init_handler.rb:3 class YARD::Handlers::C::InitHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/init_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/c/init_handler.rb:4 YARD::Handlers::C::InitHandler::MATCH = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/method_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/method_handler.rb:2 class YARD::Handlers::C::MethodHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/method_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/method_handler.rb:3 YARD::Handlers::C::MethodHandler::MATCH1 = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/method_handler.rb#14 +# pkg:gem/yard#lib/yard/handlers/c/method_handler.rb:14 YARD::Handlers::C::MethodHandler::MATCH2 = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/method_handler.rb#18 +# pkg:gem/yard#lib/yard/handlers/c/method_handler.rb:18 YARD::Handlers::C::MethodHandler::MATCH3 = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/mixin_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/mixin_handler.rb:2 class YARD::Handlers::C::MixinHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/mixin_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/mixin_handler.rb:3 YARD::Handlers::C::MixinHandler::MATCH = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/module_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/module_handler.rb:2 class YARD::Handlers::C::ModuleHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/module_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/module_handler.rb:3 YARD::Handlers::C::ModuleHandler::MATCH1 = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/module_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/c/module_handler.rb:4 YARD::Handlers::C::ModuleHandler::MATCH2 = T.let(T.unsafe(nil), Regexp) # Parses comments # # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/override_comment_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/override_comment_handler.rb:3 class YARD::Handlers::C::OverrideCommentHandler < ::YARD::Handlers::C::Base # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/override_comment_handler.rb#24 + # pkg:gem/yard#lib/yard/handlers/c/override_comment_handler.rb:24 def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end # @since 0.8.0 # - # source://yard//lib/yard/handlers/c/override_comment_handler.rb#28 + # pkg:gem/yard#lib/yard/handlers/c/override_comment_handler.rb:28 def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/path_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/path_handler.rb:2 class YARD::Handlers::C::PathHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/path_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/path_handler.rb:3 YARD::Handlers::C::PathHandler::MATCH = T.let(T.unsafe(nil), Regexp) # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/struct_handler.rb#2 +# pkg:gem/yard#lib/yard/handlers/c/struct_handler.rb:2 class YARD::Handlers::C::StructHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/struct_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/struct_handler.rb:3 YARD::Handlers::C::StructHandler::MATCH = T.let(T.unsafe(nil), Regexp) # Keeps track of function bodies for symbol lookup during Ruby method declarations # # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/symbol_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/c/symbol_handler.rb:3 class YARD::Handlers::C::SymbolHandler < ::YARD::Handlers::C::Base; end # @since 0.8.0 # -# source://yard//lib/yard/handlers/c/symbol_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/c/symbol_handler.rb:4 YARD::Handlers::C::SymbolHandler::MATCH = T.let(T.unsafe(nil), Regexp) # Shared logic between C and Ruby handlers. # -# source://yard//lib/yard/autoload.rb#68 +# pkg:gem/yard#lib/yard/autoload.rb:68 module YARD::Handlers::Common; end # Shared functionality between Ruby and C method handlers. # -# source://yard//lib/yard/handlers/common/method_handler.rb#6 +# pkg:gem/yard#lib/yard/handlers/common/method_handler.rb:6 module YARD::Handlers::Common::MethodHandler # @param obj [MethodObject] # - # source://yard//lib/yard/handlers/common/method_handler.rb#8 + # pkg:gem/yard#lib/yard/handlers/common/method_handler.rb:8 def add_predicate_return_tag(obj); end end @@ -5935,32 +5935,32 @@ end # # @since 0.8.4 # -# source://yard//lib/yard/handlers/base.rb#8 +# pkg:gem/yard#lib/yard/handlers/base.rb:8 class YARD::Handlers::HandlerAborted < ::RuntimeError; end # Raised during processing phase when a handler needs to perform # an operation on an object's namespace but the namespace could # not be resolved. # -# source://yard//lib/yard/handlers/base.rb#13 +# pkg:gem/yard#lib/yard/handlers/base.rb:13 class YARD::Handlers::NamespaceMissingError < ::YARD::Parser::UndocumentableError # @return [NamespaceMissingError] a new instance of NamespaceMissingError # - # source://yard//lib/yard/handlers/base.rb#18 + # pkg:gem/yard#lib/yard/handlers/base.rb:18 def initialize(object); end # The object the error occurred on # # @return [CodeObjects::Base] a code object # - # source://yard//lib/yard/handlers/base.rb#16 + # pkg:gem/yard#lib/yard/handlers/base.rb:16 def object; end # The object the error occurred on # # @return [CodeObjects::Base] a code object # - # source://yard//lib/yard/handlers/base.rb#16 + # pkg:gem/yard#lib/yard/handlers/base.rb:16 def object=(_arg0); end end @@ -5979,14 +5979,14 @@ end # # @see Handlers::Base # -# source://yard//lib/yard/handlers/processor.rb#19 +# pkg:gem/yard#lib/yard/handlers/processor.rb:19 class YARD::Handlers::Processor # Creates a new Processor for a +file+. # # @param parser [Parser::SourceParser] the parser used to initialize the processor # @return [Processor] a new instance of Processor # - # source://yard//lib/yard/handlers/processor.rb#91 + # pkg:gem/yard#lib/yard/handlers/processor.rb:91 def initialize(parser); end # Share state across different handlers inside of a file. @@ -5999,7 +5999,7 @@ class YARD::Handlers::Processor # @return [OpenStruct] an open structure that can store arbitrary data # @see #globals # - # source://yard//lib/yard/handlers/processor.rb#87 + # pkg:gem/yard#lib/yard/handlers/processor.rb:87 def extra_state; end # Share state across different handlers inside of a file. @@ -6012,17 +6012,17 @@ class YARD::Handlers::Processor # @return [OpenStruct] an open structure that can store arbitrary data # @see #globals # - # source://yard//lib/yard/handlers/processor.rb#87 + # pkg:gem/yard#lib/yard/handlers/processor.rb:87 def extra_state=(_arg0); end # @return [String] the filename # - # source://yard//lib/yard/handlers/processor.rb#40 + # pkg:gem/yard#lib/yard/handlers/processor.rb:40 def file; end # @return [String] the filename # - # source://yard//lib/yard/handlers/processor.rb#40 + # pkg:gem/yard#lib/yard/handlers/processor.rb:40 def file=(_arg0); end # Searches for all handlers in {Base.subclasses} that match the +statement+ @@ -6030,7 +6030,7 @@ class YARD::Handlers::Processor # @param statement the statement object to match. # @return [Array] a list of handlers to process the statement with. # - # source://yard//lib/yard/handlers/processor.rb#150 + # pkg:gem/yard#lib/yard/handlers/processor.rb:150 def find_handlers(statement); end # Handlers can share state for the entire post processing stage through @@ -6050,7 +6050,7 @@ class YARD::Handlers::Processor # @return [OpenStruct] global shared state for post-processing stage # @see #extra_state # - # source://yard//lib/yard/handlers/processor.rb#76 + # pkg:gem/yard#lib/yard/handlers/processor.rb:76 def globals; end # Handlers can share state for the entire post processing stage through @@ -6070,17 +6070,17 @@ class YARD::Handlers::Processor # @return [OpenStruct] global shared state for post-processing stage # @see #extra_state # - # source://yard//lib/yard/handlers/processor.rb#76 + # pkg:gem/yard#lib/yard/handlers/processor.rb:76 def globals=(_arg0); end # @return [CodeObjects::NamespaceObject] the current namespace # - # source://yard//lib/yard/handlers/processor.rb#43 + # pkg:gem/yard#lib/yard/handlers/processor.rb:43 def namespace; end # @return [CodeObjects::NamespaceObject] the current namespace # - # source://yard//lib/yard/handlers/processor.rb#43 + # pkg:gem/yard#lib/yard/handlers/processor.rb:43 def namespace=(_arg0); end # @return [CodeObjects::Base, nil] unlike the namespace, the owner @@ -6088,7 +6088,7 @@ class YARD::Handlers::Processor # For instance, when parsing a method body, the {CodeObjects::MethodObject} # is set as the owner, in case any extra method information is processed. # - # source://yard//lib/yard/handlers/processor.rb#55 + # pkg:gem/yard#lib/yard/handlers/processor.rb:55 def owner; end # @return [CodeObjects::Base, nil] unlike the namespace, the owner @@ -6096,7 +6096,7 @@ class YARD::Handlers::Processor # For instance, when parsing a method body, the {CodeObjects::MethodObject} # is set as the owner, in case any extra method information is processed. # - # source://yard//lib/yard/handlers/processor.rb#55 + # pkg:gem/yard#lib/yard/handlers/processor.rb:55 def owner=(_arg0); end # Continue parsing the remainder of the files in the +globals.ordered_parser+ @@ -6106,17 +6106,17 @@ class YARD::Handlers::Processor # @return [void] # @see Parser::OrderedParser # - # source://yard//lib/yard/handlers/processor.rb#139 + # pkg:gem/yard#lib/yard/handlers/processor.rb:139 def parse_remaining_files; end # @return [Symbol] the parser type (:ruby, :ruby18, :c) # - # source://yard//lib/yard/handlers/processor.rb#58 + # pkg:gem/yard#lib/yard/handlers/processor.rb:58 def parser_type; end # @return [Symbol] the parser type (:ruby, :ruby18, :c) # - # source://yard//lib/yard/handlers/processor.rb#58 + # pkg:gem/yard#lib/yard/handlers/processor.rb:58 def parser_type=(_arg0); end # Processes a list of statements by finding handlers to process each @@ -6125,27 +6125,27 @@ class YARD::Handlers::Processor # @param statements [Array] a list of statements # @return [void] # - # source://yard//lib/yard/handlers/processor.rb#109 + # pkg:gem/yard#lib/yard/handlers/processor.rb:109 def process(statements); end # @return [Symbol] the current scope (class, instance) # - # source://yard//lib/yard/handlers/processor.rb#49 + # pkg:gem/yard#lib/yard/handlers/processor.rb:49 def scope; end # @return [Symbol] the current scope (class, instance) # - # source://yard//lib/yard/handlers/processor.rb#49 + # pkg:gem/yard#lib/yard/handlers/processor.rb:49 def scope=(_arg0); end # @return [Symbol] the current visibility (public, private, protected) # - # source://yard//lib/yard/handlers/processor.rb#46 + # pkg:gem/yard#lib/yard/handlers/processor.rb:46 def visibility; end # @return [Symbol] the current visibility (public, private, protected) # - # source://yard//lib/yard/handlers/processor.rb#46 + # pkg:gem/yard#lib/yard/handlers/processor.rb:46 def visibility=(_arg0); end private @@ -6154,7 +6154,7 @@ class YARD::Handlers::Processor # # @return [Base] the base class # - # source://yard//lib/yard/handlers/processor.rb#171 + # pkg:gem/yard#lib/yard/handlers/processor.rb:171 def handler_base_class; end # The module holding the handlers to be loaded @@ -6162,12 +6162,12 @@ class YARD::Handlers::Processor # @return [Module] the module containing the handlers depending on # {#parser_type}. # - # source://yard//lib/yard/handlers/processor.rb#179 + # pkg:gem/yard#lib/yard/handlers/processor.rb:179 def handler_base_namespace; end # @return [Boolean] # - # source://yard//lib/yard/handlers/processor.rb#160 + # pkg:gem/yard#lib/yard/handlers/processor.rb:160 def handles?(handler, statement); end # Loads handlers from {#handler_base_namespace}. This ensures that @@ -6176,7 +6176,7 @@ class YARD::Handlers::Processor # # @return [void] # - # source://yard//lib/yard/handlers/processor.rb#187 + # pkg:gem/yard#lib/yard/handlers/processor.rb:187 def load_handlers; end class << self @@ -6184,31 +6184,31 @@ class YARD::Handlers::Processor # @return [Hash] a list of registered parser type extensions # @since 0.6.0 # - # source://yard//lib/yard/handlers/processor.rb#30 + # pkg:gem/yard#lib/yard/handlers/processor.rb:30 def namespace_for_handler; end # Registers a new namespace for handlers of the given type. # # @since 0.6.0 # - # source://yard//lib/yard/handlers/processor.rb#23 + # pkg:gem/yard#lib/yard/handlers/processor.rb:23 def register_handler_namespace(type, ns); end end end # All Ruby handlers # -# source://yard//lib/yard/autoload.rb#92 +# pkg:gem/yard#lib/yard/autoload.rb:92 module YARD::Handlers::Ruby; end # Handles alias and alias_method calls # -# source://yard//lib/yard/handlers/ruby/alias_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/alias_handler.rb:3 class YARD::Handlers::Ruby::AliasHandler < ::YARD::Handlers::Ruby::Base; end # Handles +attr_*+ statements in modules/classes # -# source://yard//lib/yard/handlers/ruby/attribute_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/attribute_handler.rb:3 class YARD::Handlers::Ruby::AttributeHandler < ::YARD::Handlers::Ruby::Base protected @@ -6219,7 +6219,7 @@ class YARD::Handlers::Ruby::AttributeHandler < ::YARD::Handlers::Ruby::Base # @raise [Parser::UndocumentableError] if the arguments are not valid. # @return [Array] the validated attribute names # - # source://yard//lib/yard/handlers/ruby/attribute_handler.rb#75 + # pkg:gem/yard#lib/yard/handlers/ruby/attribute_handler.rb:75 def validated_attribute_names(params); end end @@ -6232,25 +6232,25 @@ end # @see Handlers::Base # @see Legacy::Base # -# source://yard//lib/yard/handlers/ruby/base.rb#65 +# pkg:gem/yard#lib/yard/handlers/ruby/base.rb:65 class YARD::Handlers::Ruby::Base < ::YARD::Handlers::Base include ::YARD::Parser::Ruby extend ::YARD::Parser::Ruby - # source://yard//lib/yard/handlers/ruby/base.rb#144 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:144 def call_params; end - # source://yard//lib/yard/handlers/ruby/base.rb#155 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:155 def caller_method; end - # source://yard//lib/yard/handlers/ruby/base.rb#135 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:135 def parse_block(inner_node, opts = T.unsafe(nil)); end class << self # @return [Boolean] whether or not an {AstNode} object should be # handled by this handler # - # source://yard//lib/yard/handlers/ruby/base.rb#113 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:113 def handles?(node); end # Matcher for handling a node with a specific meta-type. An {AstNode} @@ -6269,7 +6269,7 @@ class YARD::Handlers::Ruby::Base < ::YARD::Handlers::Base # any method name + "?" that {AstNode} responds to. # @return [void] # - # source://yard//lib/yard/handlers/ruby/base.rb#105 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:105 def meta_type(type); end # Matcher for handling any type of method call. Method calls can @@ -6287,7 +6287,7 @@ class YARD::Handlers::Ruby::Base < ::YARD::Handlers::Base # @param name [#to_s] matches the method call of this name # @return [void] # - # source://yard//lib/yard/handlers/ruby/base.rb#86 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:86 def method_call(name = T.unsafe(nil)); end end end @@ -6303,7 +6303,7 @@ end # end # end # -# source://yard//lib/yard/handlers/ruby/class_condition_handler.rb#12 +# pkg:gem/yard#lib/yard/handlers/ruby/class_condition_handler.rb:12 class YARD::Handlers::Ruby::ClassConditionHandler < ::YARD::Handlers::Ruby::Base protected @@ -6313,25 +6313,25 @@ class YARD::Handlers::Ruby::ClassConditionHandler < ::YARD::Handlers::Ruby::Base # parsed to true, false if not, and nil if the condition cannot be # parsed with certainty (it's dynamic) # - # source://yard//lib/yard/handlers/ruby/class_condition_handler.rb#36 + # pkg:gem/yard#lib/yard/handlers/ruby/class_condition_handler.rb:36 def parse_condition; end - # source://yard//lib/yard/handlers/ruby/class_condition_handler.rb#87 + # pkg:gem/yard#lib/yard/handlers/ruby/class_condition_handler.rb:87 def parse_else_block; end - # source://yard//lib/yard/handlers/ruby/class_condition_handler.rb#83 + # pkg:gem/yard#lib/yard/handlers/ruby/class_condition_handler.rb:83 def parse_then_block; end end # Handles class declarations # -# source://yard//lib/yard/handlers/ruby/class_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/class_handler.rb:3 class YARD::Handlers::Ruby::ClassHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::StructHandlerMethods private - # source://yard//lib/yard/handlers/ruby/class_handler.rb#73 + # pkg:gem/yard#lib/yard/handlers/ruby/class_handler.rb:73 def create_struct_superclass(superclass, superclass_def); end # Extract the parameters from the Struct.new AST node, returning them as a list @@ -6340,32 +6340,32 @@ class YARD::Handlers::Ruby::ClassHandler < ::YARD::Handlers::Ruby::Base # @param superclass [MethodCallNode] the AST node for the Struct.new call # @return [Array] the member names to generate methods for # - # source://yard//lib/yard/handlers/ruby/class_handler.rb#67 + # pkg:gem/yard#lib/yard/handlers/ruby/class_handler.rb:67 def extract_parameters(superclass); end - # source://yard//lib/yard/handlers/ruby/class_handler.rb#92 + # pkg:gem/yard#lib/yard/handlers/ruby/class_handler.rb:92 def parse_struct_superclass(klass, superclass); end - # source://yard//lib/yard/handlers/ruby/class_handler.rb#98 + # pkg:gem/yard#lib/yard/handlers/ruby/class_handler.rb:98 def parse_superclass(superclass); end - # source://yard//lib/yard/handlers/ruby/class_handler.rb#82 + # pkg:gem/yard#lib/yard/handlers/ruby/class_handler.rb:82 def struct_superclass_name(superclass); end end # Handles a class variable (@@variable) # -# source://yard//lib/yard/handlers/ruby/class_variable_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/class_variable_handler.rb:3 class YARD::Handlers::Ruby::ClassVariableHandler < ::YARD::Handlers::Ruby::Base; end # Handles any lone comment statement in a Ruby file # -# source://yard//lib/yard/handlers/ruby/comment_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/comment_handler.rb:3 class YARD::Handlers::Ruby::CommentHandler < ::YARD::Handlers::Ruby::Base; end # Handles any constant assignment # -# source://yard//lib/yard/handlers/ruby/constant_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/constant_handler.rb:3 class YARD::Handlers::Ruby::ConstantHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::StructHandlerMethods @@ -6377,94 +6377,94 @@ class YARD::Handlers::Ruby::ConstantHandler < ::YARD::Handlers::Ruby::Base # @param superclass [MethodCallNode] the AST node for the Struct.new call # @return [Array] the member names to generate methods for # - # source://yard//lib/yard/handlers/ruby/constant_handler.rb#49 + # pkg:gem/yard#lib/yard/handlers/ruby/constant_handler.rb:49 def extract_parameters(superclass); end - # source://yard//lib/yard/handlers/ruby/constant_handler.rb#21 + # pkg:gem/yard#lib/yard/handlers/ruby/constant_handler.rb:21 def process_constant(statement); end - # source://yard//lib/yard/handlers/ruby/constant_handler.rb#33 + # pkg:gem/yard#lib/yard/handlers/ruby/constant_handler.rb:33 def process_structclass(statement); end end # Handles automatic detection of dsl-style methods # -# source://yard//lib/yard/handlers/ruby/dsl_handler.rb#6 +# pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler.rb:6 class YARD::Handlers::Ruby::DSLHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::DSLHandlerMethods end -# source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#5 +# pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:5 module YARD::Handlers::Ruby::DSLHandlerMethods include ::YARD::CodeObjects include ::YARD::Parser - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#14 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:14 def handle_comments; end - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#48 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:48 def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end private - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#72 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:72 def find_attached_macro; end # @return [Boolean] # - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#54 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:54 def implicit_docstring?; end # @return [Boolean] whether caller method matches a macro or # its alias names. # - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#85 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:85 def macro_name_matches(macro); end - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#59 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:59 def method_name; end - # source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#68 + # pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:68 def method_signature; end end -# source://yard//lib/yard/handlers/ruby/dsl_handler_methods.rb#9 +# pkg:gem/yard#lib/yard/handlers/ruby/dsl_handler_methods.rb:9 YARD::Handlers::Ruby::DSLHandlerMethods::IGNORE_METHODS = T.let(T.unsafe(nil), Hash) # Helper methods to assist with processing decorators. # -# source://yard//lib/yard/handlers/ruby/decorator_handler_methods.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/decorator_handler_methods.rb:3 module YARD::Handlers::Ruby::DecoratorHandlerMethods # @overload process_decorator # - # source://yard//lib/yard/handlers/ruby/decorator_handler_methods.rb#43 + # pkg:gem/yard#lib/yard/handlers/ruby/decorator_handler_methods.rb:43 def process_decorator(*nodes, &block); end private # @yield [method, node, name.to_sym] # - # source://yard//lib/yard/handlers/ruby/decorator_handler_methods.rb#78 + # pkg:gem/yard#lib/yard/handlers/ruby/decorator_handler_methods.rb:78 def process_decorator_parameter(node, opts = T.unsafe(nil), &block); end end # Handles 'raise' calls inside methods # -# source://yard//lib/yard/handlers/ruby/exception_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/exception_handler.rb:3 class YARD::Handlers::Ruby::ExceptionHandler < ::YARD::Handlers::Ruby::Base; end # Handles 'extend' call to include modules into the class scope of another # # @see MixinHandler # -# source://yard//lib/yard/handlers/ruby/extend_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/ruby/extend_handler.rb:4 class YARD::Handlers::Ruby::ExtendHandler < ::YARD::Handlers::Ruby::MixinHandler - # source://yard//lib/yard/handlers/ruby/extend_handler.rb#8 + # pkg:gem/yard#lib/yard/handlers/ruby/extend_handler.rb:8 def scope; end private - # source://yard//lib/yard/handlers/ruby/extend_handler.rb#12 + # pkg:gem/yard#lib/yard/handlers/ruby/extend_handler.rb:12 def process_mixin(mixin); end end @@ -6483,14 +6483,14 @@ end # handles MyExtension.new('foo') # end # -# source://yard//lib/yard/handlers/ruby/base.rb#19 +# pkg:gem/yard#lib/yard/handlers/ruby/base.rb:19 class YARD::Handlers::Ruby::HandlesExtension # Creates a new extension with a specific matcher value +name+ # # @param name [Object] the matcher value to check against {#matches?} # @return [HandlesExtension] a new instance of HandlesExtension # - # source://yard//lib/yard/handlers/ruby/base.rb#22 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:22 def initialize(name); end # Tests if the node matches the handler @@ -6499,30 +6499,30 @@ class YARD::Handlers::Ruby::HandlesExtension # @raise [NotImplementedError] # @return [Boolean] whether the +node+ matches the handler # - # source://yard//lib/yard/handlers/ruby/base.rb#27 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:27 def matches?(node); end protected # @return [String] the extension matcher value # - # source://yard//lib/yard/handlers/ruby/base.rb#34 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:34 def name; end end # Handlers for old Ruby 1.8 parser # -# source://yard//lib/yard/autoload.rb#93 +# pkg:gem/yard#lib/yard/autoload.rb:93 module YARD::Handlers::Ruby::Legacy; end # Handles alias and alias_method calls # -# source://yard//lib/yard/handlers/ruby/legacy/alias_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/alias_handler.rb:3 class YARD::Handlers::Ruby::Legacy::AliasHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Handles +attr_*+ statements in modules/classes # -# source://yard//lib/yard/handlers/ruby/legacy/attribute_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/attribute_handler.rb:3 class YARD::Handlers::Ruby::Legacy::AttributeHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # This is the base handler for the legacy parser. To implement a legacy @@ -6530,14 +6530,14 @@ class YARD::Handlers::Ruby::Legacy::AttributeHandler < ::YARD::Handlers::Ruby::L # # @abstract See {Handlers::Base} for subclassing information. # -# source://yard//lib/yard/handlers/ruby/legacy/base.rb#9 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:9 class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base include ::YARD::Parser::Ruby::Legacy::RubyToken - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#44 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:44 def call_params; end - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#53 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:53 def caller_method; end # Parses a statement's block with a set of state values. If the @@ -6550,7 +6550,7 @@ class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base # @param opts [Hash] State options # @see Handlers::Base#push_state #push_state # - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#35 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:35 def parse_block(opts = T.unsafe(nil)); end private @@ -6561,7 +6561,7 @@ class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base # arguments (name and optional value) # @todo This is a duplicate implementation of {MethodHandler}. Refactor. # - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#68 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:68 def extract_method_details; end # The string value of a token. For example, the return value for the symbol :sym @@ -6593,7 +6593,7 @@ class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base # It should be noted that identifiers and constants are kept in String form. # @return [nil] if the token is not any of the specified accepted types # - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#112 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:112 def tokval(token, *accepted_types); end # Returns a list of symbols or string values from a statement. @@ -6618,14 +6618,14 @@ class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base # @return [Array] if there are no symbols or Strings in the list # @see #tokval # - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#178 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:178 def tokval_list(tokenlist, *accepted_types); end class << self # @return [Boolean] whether or not a {Parser::Ruby::Legacy::Statement} object should be handled # by this handler. # - # source://yard//lib/yard/handlers/ruby/legacy/base.rb#15 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/base.rb:15 def handles?(stmt); end end end @@ -6642,7 +6642,7 @@ end # end # @since 0.5.4 # -# source://yard//lib/yard/handlers/ruby/legacy/class_condition_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_condition_handler.rb:4 class YARD::Handlers::Ruby::Legacy::ClassConditionHandler < ::YARD::Handlers::Ruby::Legacy::Base protected @@ -6653,29 +6653,29 @@ class YARD::Handlers::Ruby::Legacy::ClassConditionHandler < ::YARD::Handlers::Ru # parsed with certainty (it's dynamic) # @since 0.5.5 # - # source://yard//lib/yard/handlers/ruby/legacy/class_condition_handler.rb#29 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_condition_handler.rb:29 def parse_condition; end # @since 0.5.5 # - # source://yard//lib/yard/handlers/ruby/legacy/class_condition_handler.rb#73 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_condition_handler.rb:73 def parse_else_block; end # @since 0.5.5 # - # source://yard//lib/yard/handlers/ruby/legacy/class_condition_handler.rb#68 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_condition_handler.rb:68 def parse_then_block; end end # Handles class declarations # -# source://yard//lib/yard/handlers/ruby/legacy/class_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ClassHandler < ::YARD::Handlers::Ruby::Legacy::Base include ::YARD::Handlers::Ruby::StructHandlerMethods private - # source://yard//lib/yard/handlers/ruby/legacy/class_handler.rb#74 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_handler.rb:74 def create_struct_superclass(superclass, superclass_def); end # Extracts the parameter list from the Struct.new declaration and returns it @@ -6685,209 +6685,209 @@ class YARD::Handlers::Ruby::Legacy::ClassHandler < ::YARD::Handlers::Ruby::Legac # @param superstring [String] the string declaring the superclass # @return [Array] a list of member names # - # source://yard//lib/yard/handlers/ruby/legacy/class_handler.rb#69 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_handler.rb:69 def extract_parameters(superstring); end - # source://yard//lib/yard/handlers/ruby/legacy/class_handler.rb#95 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_handler.rb:95 def parse_struct_subclass(klass, superclass_def); end - # source://yard//lib/yard/handlers/ruby/legacy/class_handler.rb#102 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_handler.rb:102 def parse_superclass(superclass); end - # source://yard//lib/yard/handlers/ruby/legacy/class_handler.rb#83 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_handler.rb:83 def struct_superclass_name(superclass); end end # Handles a class variable (@@variable) # -# source://yard//lib/yard/handlers/ruby/legacy/class_variable_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_variable_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ClassVariableHandler < ::YARD::Handlers::Ruby::Legacy::Base; end -# source://yard//lib/yard/handlers/ruby/legacy/class_variable_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/class_variable_handler.rb:4 YARD::Handlers::Ruby::Legacy::ClassVariableHandler::HANDLER_MATCH = T.let(T.unsafe(nil), Regexp) # Handles any lone comment statement in a Ruby file # -# source://yard//lib/yard/handlers/ruby/legacy/comment_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/comment_handler.rb:3 class YARD::Handlers::Ruby::Legacy::CommentHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Handles any constant assignment # -# source://yard//lib/yard/handlers/ruby/legacy/constant_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/constant_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ConstantHandler < ::YARD::Handlers::Ruby::Legacy::Base include ::YARD::Handlers::Ruby::StructHandlerMethods private - # source://yard//lib/yard/handlers/ruby/legacy/constant_handler.rb#25 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/constant_handler.rb:25 def extract_parameters(parameters); end - # source://yard//lib/yard/handlers/ruby/legacy/constant_handler.rb#20 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/constant_handler.rb:20 def process_structclass(classname, parameters); end end -# source://yard//lib/yard/handlers/ruby/legacy/constant_handler.rb#5 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/constant_handler.rb:5 YARD::Handlers::Ruby::Legacy::ConstantHandler::HANDLER_MATCH = T.let(T.unsafe(nil), Regexp) # Handles automatic detection of dsl-style methods # -# source://yard//lib/yard/handlers/ruby/legacy/dsl_handler.rb#7 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/dsl_handler.rb:7 class YARD::Handlers::Ruby::Legacy::DSLHandler < ::YARD::Handlers::Ruby::Legacy::Base include ::YARD::Handlers::Ruby::DSLHandlerMethods end # Handles 'raise' calls inside methods # -# source://yard//lib/yard/handlers/ruby/legacy/exception_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/exception_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ExceptionHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Handles 'extend' call to include modules into the class scope of another # # @see MixinHandler # -# source://yard//lib/yard/handlers/ruby/legacy/extend_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/extend_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ExtendHandler < ::YARD::Handlers::Ruby::Legacy::MixinHandler - # source://yard//lib/yard/handlers/ruby/legacy/extend_handler.rb#7 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/extend_handler.rb:7 def scope; end private - # source://yard//lib/yard/handlers/ruby/legacy/extend_handler.rb#11 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/extend_handler.rb:11 def process_mixin(mixin); end end # Handles a method definition # -# source://yard//lib/yard/handlers/ruby/legacy/method_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/method_handler.rb:3 class YARD::Handlers::Ruby::Legacy::MethodHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Handles the 'include' statement to mixin a module in the instance scope # -# source://yard//lib/yard/handlers/ruby/legacy/mixin_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/mixin_handler.rb:3 class YARD::Handlers::Ruby::Legacy::MixinHandler < ::YARD::Handlers::Ruby::Legacy::Base private # @raise [YARD::Parser::UndocumentableError] # - # source://yard//lib/yard/handlers/ruby/legacy/mixin_handler.rb#26 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/mixin_handler.rb:26 def process_mixin(mixin); end end # Handles module_function calls to turn methods into public class methods. # Also creates a private instance copy of the method. # -# source://yard//lib/yard/handlers/ruby/legacy/module_function_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/module_function_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Handles the declaration of a module # -# source://yard//lib/yard/handlers/ruby/legacy/module_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/module_handler.rb:3 class YARD::Handlers::Ruby::Legacy::ModuleHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Sets visibility of a class method to private. # -# source://yard//lib/yard/handlers/ruby/legacy/private_class_method_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/private_class_method_handler.rb:3 class YARD::Handlers::Ruby::Legacy::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Legacy::Base private - # source://yard//lib/yard/handlers/ruby/legacy/private_class_method_handler.rb#15 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/private_class_method_handler.rb:15 def privatize_class_method(name); end end # Sets visibility of a constant (class, module, const) # -# source://yard//lib/yard/handlers/ruby/legacy/private_constant_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/private_constant_handler.rb:3 class YARD::Handlers::Ruby::Legacy::PrivateConstantHandler < ::YARD::Handlers::Ruby::Legacy::Base private - # source://yard//lib/yard/handlers/ruby/legacy/private_constant_handler.rb#15 + # pkg:gem/yard#lib/yard/handlers/ruby/legacy/private_constant_handler.rb:15 def privatize_constant(name); end end # Handles 'private', 'protected', and 'public' calls. # -# source://yard//lib/yard/handlers/ruby/legacy/visibility_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/visibility_handler.rb:3 class YARD::Handlers::Ruby::Legacy::VisibilityHandler < ::YARD::Handlers::Ruby::Legacy::Base; end # Handles 'yield' calls # -# source://yard//lib/yard/handlers/ruby/legacy/yield_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/legacy/yield_handler.rb:3 class YARD::Handlers::Ruby::Legacy::YieldHandler < ::YARD::Handlers::Ruby::Legacy::Base; end -# source://yard//lib/yard/handlers/ruby/base.rb#37 +# pkg:gem/yard#lib/yard/handlers/ruby/base.rb:37 class YARD::Handlers::Ruby::MethodCallWrapper < ::YARD::Handlers::Ruby::HandlesExtension # @return [Boolean] # - # source://yard//lib/yard/handlers/ruby/base.rb#38 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:38 def matches?(node); end end # Handles a conditional inside a method # -# source://yard//lib/yard/handlers/ruby/method_condition_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/method_condition_handler.rb:3 class YARD::Handlers::Ruby::MethodConditionHandler < ::YARD::Handlers::Ruby::Base; end # Handles a method definition # -# source://yard//lib/yard/handlers/ruby/method_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/method_handler.rb:3 class YARD::Handlers::Ruby::MethodHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Common::MethodHandler - # source://yard//lib/yard/handlers/ruby/method_handler.rb#69 + # pkg:gem/yard#lib/yard/handlers/ruby/method_handler.rb:69 def format_args; end end # Handles the 'include' statement to mixin a module in the instance scope # -# source://yard//lib/yard/handlers/ruby/mixin_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/mixin_handler.rb:3 class YARD::Handlers::Ruby::MixinHandler < ::YARD::Handlers::Ruby::Base protected # @raise [YARD::Parser::UndocumentableError] # - # source://yard//lib/yard/handlers/ruby/mixin_handler.rb#25 + # pkg:gem/yard#lib/yard/handlers/ruby/mixin_handler.rb:25 def process_mixin(mixin); end - # source://yard//lib/yard/handlers/ruby/mixin_handler.rb#50 + # pkg:gem/yard#lib/yard/handlers/ruby/mixin_handler.rb:50 def recipient(mixin); end end # Handles module_function calls to turn methods into public class methods. # Also creates a private instance copy of the method. # -# source://yard//lib/yard/handlers/ruby/module_function_handler.rb#4 +# pkg:gem/yard#lib/yard/handlers/ruby/module_function_handler.rb:4 class YARD::Handlers::Ruby::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::DecoratorHandlerMethods - # source://yard//lib/yard/handlers/ruby/module_function_handler.rb#34 + # pkg:gem/yard#lib/yard/handlers/ruby/module_function_handler.rb:34 def make_module_function(instance_method, namespace); end end # Handles the declaration of a module # -# source://yard//lib/yard/handlers/ruby/module_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/module_handler.rb:3 class YARD::Handlers::Ruby::ModuleHandler < ::YARD::Handlers::Ruby::Base; end # Sets visibility of a class method to private. # -# source://yard//lib/yard/handlers/ruby/private_class_method_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/private_class_method_handler.rb:3 class YARD::Handlers::Ruby::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::DecoratorHandlerMethods end # Sets visibility of a constant (class, module, const) # -# source://yard//lib/yard/handlers/ruby/private_constant_handler.rb#6 +# pkg:gem/yard#lib/yard/handlers/ruby/private_constant_handler.rb:6 class YARD::Handlers::Ruby::PrivateConstantHandler < ::YARD::Handlers::Ruby::Base private - # source://yard//lib/yard/handlers/ruby/private_constant_handler.rb#28 + # pkg:gem/yard#lib/yard/handlers/ruby/private_constant_handler.rb:28 def privatize_constant(node); end end # Sets visibility of a class method to public. # -# source://yard//lib/yard/handlers/ruby/public_class_method_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/public_class_method_handler.rb:3 class YARD::Handlers::Ruby::PublicClassMethodHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::DecoratorHandlerMethods end @@ -6898,7 +6898,7 @@ end # the +@!attribute+ directive. This module should not be relied on. # @since 0.5.6 # -# source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#7 +# pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:7 module YARD::Handlers::Ruby::StructHandlerMethods include ::YARD::CodeObjects @@ -6911,7 +6911,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @return [String] a docstring to be attached to the getter method for this member # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#62 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:62 def add_reader_tags(klass, new_method, member); end # Creates the auto-generated docstring for the setter method of a struct's @@ -6923,7 +6923,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @return [String] a docstring to be attached to the setter method for this member # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#77 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:77 def add_writer_tags(klass, new_method, member); end # Creates the given member methods and attaches them to the given ClassObject. @@ -6932,7 +6932,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @param members [Array] a list of member names # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#134 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:134 def create_attributes(klass, members); end # Creates and registers a class object with the given name and superclass name. @@ -6943,7 +6943,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @return [ClassObject] the class object for further processing/method attaching # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#92 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:92 def create_class(classname, superclass); end # Determines whether to create an attribute method based on the class's @@ -6955,7 +6955,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @return [Boolean] should the attribute be created? # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#38 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:38 def create_member_method?(klass, member, type = T.unsafe(nil)); end # Creates the getter (reader) method and attaches it to the class as an attribute. @@ -6965,7 +6965,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @param member [String] the name of the member we're generating a method for # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#121 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:121 def create_reader(klass, member); end # Creates the setter (writer) method and attaches it to the class as an attribute. @@ -6975,7 +6975,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @param member [String] the name of the member we're generating a method for # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#104 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:104 def create_writer(klass, member); end # Extracts the user's defined @member tag for a given class and its member. Returns @@ -6987,7 +6987,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @return [Tags::Tag, nil] the tag matching the request, or nil if not found # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#17 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:17 def member_tag_for_member(klass, member, type = T.unsafe(nil)); end # Retrieves all members defined in @attr* tags @@ -6996,7 +6996,7 @@ module YARD::Handlers::Ruby::StructHandlerMethods # @return [Array] the list of members defined as attributes on the class # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#26 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:26 def members_from_tags(klass); end # Gets the return type for the member in a nicely formatted string. Used @@ -7007,40 +7007,40 @@ module YARD::Handlers::Ruby::StructHandlerMethods # the user did not define a type for this member. # @since 0.5.6 # - # source://yard//lib/yard/handlers/ruby/struct_handler_methods.rb#51 + # pkg:gem/yard#lib/yard/handlers/ruby/struct_handler_methods.rb:51 def return_type_from_tag(member_tag); end end -# source://yard//lib/yard/handlers/ruby/base.rb#53 +# pkg:gem/yard#lib/yard/handlers/ruby/base.rb:53 class YARD::Handlers::Ruby::TestNodeWrapper < ::YARD::Handlers::Ruby::HandlesExtension # @return [Boolean] # - # source://yard//lib/yard/handlers/ruby/base.rb#54 + # pkg:gem/yard#lib/yard/handlers/ruby/base.rb:54 def matches?(node); end end # Handles 'private', 'protected', and 'public' calls. # -# source://yard//lib/yard/handlers/ruby/visibility_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/visibility_handler.rb:3 class YARD::Handlers::Ruby::VisibilityHandler < ::YARD::Handlers::Ruby::Base include ::YARD::Handlers::Ruby::DecoratorHandlerMethods # @return [Boolean] # - # source://yard//lib/yard/handlers/ruby/visibility_handler.rb#31 + # pkg:gem/yard#lib/yard/handlers/ruby/visibility_handler.rb:31 def is_attribute_method?(node); end end # Handles 'yield' calls # -# source://yard//lib/yard/handlers/ruby/yield_handler.rb#3 +# pkg:gem/yard#lib/yard/handlers/ruby/yield_handler.rb:3 class YARD::Handlers::Ruby::YieldHandler < ::YARD::Handlers::Ruby::Base; end # Namespace for internationalization (i18n) # # @since 0.8.0 # -# source://yard//lib/yard/autoload.rb#151 +# pkg:gem/yard#lib/yard/autoload.rb:151 module YARD::I18n; end # +Locale+ is a unit of translation. It has {#name} and a set of @@ -7048,7 +7048,7 @@ module YARD::I18n; end # # @since 0.8.2 # -# source://yard//lib/yard/i18n/locale.rb#8 +# pkg:gem/yard#lib/yard/i18n/locale.rb:8 class YARD::I18n::Locale # Creates a locale for +name+ locale. # @@ -7056,7 +7056,7 @@ class YARD::I18n::Locale # @return [Locale] a new instance of Locale # @since 0.8.2 # - # source://yard//lib/yard/i18n/locale.rb#34 + # pkg:gem/yard#lib/yard/i18n/locale.rb:34 def initialize(name); end # Loads translation messages from +locale_directory+/{#name}.po. @@ -7066,7 +7066,7 @@ class YARD::I18n::Locale # @return [Boolean] +true+ if PO file exists, +false+ otherwise. # @since 0.8.2 # - # source://yard//lib/yard/i18n/locale.rb#44 + # pkg:gem/yard#lib/yard/i18n/locale.rb:44 def load(locale_directory); end # @return [String] the name of the locale. It used IETF language @@ -7074,7 +7074,7 @@ class YARD::I18n::Locale # @see http://tools.ietf.org/rfc/bcp/bcp47.txt BCP 47 - Tags for Identifying Languages # @since 0.8.2 # - # source://yard//lib/yard/i18n/locale.rb#29 + # pkg:gem/yard#lib/yard/i18n/locale.rb:29 def name; end # @param message [String] the translation target message. @@ -7082,20 +7082,20 @@ class YARD::I18n::Locale # registered, the +message+ is returned. # @since 0.8.2 # - # source://yard//lib/yard/i18n/locale.rb#62 + # pkg:gem/yard#lib/yard/i18n/locale.rb:62 def translate(message); end class << self # @return [String, nil] the default locale name. # @since 0.8.4 # - # source://yard//lib/yard/i18n/locale.rb#12 + # pkg:gem/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#12 + # pkg:gem/yard#lib/yard/i18n/locale.rb:12 def default=(locale); end end end @@ -7105,7 +7105,7 @@ end # # @since 0.8.1 # -# source://yard//lib/yard/i18n/message.rb#10 +# pkg:gem/yard#lib/yard/i18n/message.rb:10 class YARD::I18n::Message # Creates a translate target message for message ID +id+. # @@ -7113,14 +7113,14 @@ class YARD::I18n::Message # @return [Message] a new instance of Message # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#24 + # pkg:gem/yard#lib/yard/i18n/message.rb:24 def initialize(id); end # @param other [Message] the +Message+ to be compared. # @return [Boolean] checks whether this message is equal to another. # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#49 + # pkg:gem/yard#lib/yard/i18n/message.rb:49 def ==(other); end # Adds a comment for the message. @@ -7129,7 +7129,7 @@ class YARD::I18n::Message # @return [void] # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#43 + # pkg:gem/yard#lib/yard/i18n/message.rb:43 def add_comment(comment); end # Adds location information for the message. @@ -7139,19 +7139,19 @@ class YARD::I18n::Message # @return [void] # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#35 + # pkg:gem/yard#lib/yard/i18n/message.rb:35 def add_location(path, line); end # @return [Set] the set of comments for the messages. # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#19 + # pkg:gem/yard#lib/yard/i18n/message.rb:19 def comments; end # @return [String] the message ID of the translation target message. # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#12 + # pkg:gem/yard#lib/yard/i18n/message.rb:12 def id; end # path and line number where the message is appeared. @@ -7159,7 +7159,7 @@ class YARD::I18n::Message # @return [Set] the set of locations. Location is an array of # @since 0.8.1 # - # source://yard//lib/yard/i18n/message.rb#16 + # pkg:gem/yard#lib/yard/i18n/message.rb:16 def locations; end end @@ -7167,7 +7167,7 @@ end # # @since 0.8.1 # -# source://yard//lib/yard/i18n/messages.rb#7 +# pkg:gem/yard#lib/yard/i18n/messages.rb:7 class YARD::I18n::Messages include ::Enumerable @@ -7176,7 +7176,7 @@ class YARD::I18n::Messages # @return [Messages] a new instance of Messages # @since 0.8.1 # - # source://yard//lib/yard/i18n/messages.rb#11 + # pkg:gem/yard#lib/yard/i18n/messages.rb:11 def initialize; end # Checks if this messages list is equal to another messages list. @@ -7185,7 +7185,7 @@ class YARD::I18n::Messages # @return [Boolean] whether +self+ and +other+ is equivalence or not. # @since 0.8.1 # - # source://yard//lib/yard/i18n/messages.rb#45 + # pkg:gem/yard#lib/yard/i18n/messages.rb:45 def ==(other); end # @param id [String] the message ID to perform a lookup on. @@ -7193,7 +7193,7 @@ class YARD::I18n::Messages # or nil if no message for the ID is found. # @since 0.8.1 # - # source://yard//lib/yard/i18n/messages.rb#27 + # pkg:gem/yard#lib/yard/i18n/messages.rb:27 def [](id); end # Enumerates each {Message} in the container. @@ -7203,7 +7203,7 @@ class YARD::I18n::Messages # @yieldparam message [Message] the next message object in # the enumeration. # - # source://yard//lib/yard/i18n/messages.rb#20 + # pkg:gem/yard#lib/yard/i18n/messages.rb:20 def each(&block); end # Registers a {Message}, the message ID of which is +id+. If @@ -7214,7 +7214,7 @@ class YARD::I18n::Messages # @return [Message] the registered +Message+. # @since 0.8.1 # - # source://yard//lib/yard/i18n/messages.rb#37 + # pkg:gem/yard#lib/yard/i18n/messages.rb:37 def register(id); end protected @@ -7222,7 +7222,7 @@ class YARD::I18n::Messages # @return [Hash{String=>Message}] the set of message objects # @since 0.8.1 # - # source://yard//lib/yard/i18n/messages.rb#53 + # pkg:gem/yard#lib/yard/i18n/messages.rb:53 def messages; end end @@ -7286,7 +7286,7 @@ end # @see http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html GNU gettext manual about details of PO file # @since 0.8.0 # -# source://yard//lib/yard/i18n/pot_generator.rb#65 +# pkg:gem/yard#lib/yard/i18n/pot_generator.rb:65 class YARD::I18n::PotGenerator # Creates a POT generator that uses +relative_base_path+ to # generate locations for a msgid. +relative_base_path+ is @@ -7298,7 +7298,7 @@ class YARD::I18n::PotGenerator # @return [PotGenerator] a new instance of PotGenerator # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#79 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:79 def initialize(relative_base_path); end # Generates POT from +@messages+. @@ -7316,7 +7316,7 @@ class YARD::I18n::PotGenerator # @return [String] POT format string # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#122 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:122 def generate; end # Extracted messages. @@ -7324,7 +7324,7 @@ class YARD::I18n::PotGenerator # @return [Messages] # @since 0.8.1 # - # source://yard//lib/yard/i18n/pot_generator.rb#70 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:70 def messages; end # Parses {CodeObjects::ExtraFileObject} objects and stores @@ -7335,7 +7335,7 @@ class YARD::I18n::PotGenerator # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#103 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:103 def parse_files(files); end # Parses {CodeObjects::Base} objects and stores extracted msgids @@ -7346,64 +7346,64 @@ class YARD::I18n::PotGenerator # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#91 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:91 def parse_objects(objects); end private # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#160 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:160 def current_time; end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#183 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:183 def escape_message_id(message_id); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#194 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:194 def extract_documents(object); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#268 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:268 def extract_paragraphs(file); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#235 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:235 def extract_tag_documents(tag); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#242 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:242 def extract_tag_name(tag); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#255 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:255 def extract_tag_text(tag); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#168 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:168 def generate_message(pot, message); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#164 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:164 def generate_pot_creation_date_value; end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#136 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:136 def header; end # @since 0.8.0 # - # source://yard//lib/yard/i18n/pot_generator.rb#190 + # pkg:gem/yard#lib/yard/i18n/pot_generator.rb:190 def register_message(id); end end @@ -7411,7 +7411,7 @@ end # # @since 0.8.0 # -# source://yard//lib/yard/i18n/text.rb#5 +# pkg:gem/yard#lib/yard/i18n/text.rb:5 class YARD::I18n::Text # Creates a text object that has translation related features for # the input text. @@ -7422,7 +7422,7 @@ class YARD::I18n::Text # @return [Text] a new instance of Text # @since 0.8.0 # - # source://yard//lib/yard/i18n/text.rb#12 + # pkg:gem/yard#lib/yard/i18n/text.rb:12 def initialize(input, options = T.unsafe(nil)); end # Extracts translation target messages from +@input+. @@ -7445,7 +7445,7 @@ class YARD::I18n::Text # @yieldparam text [String] the text of extracted paragraph. # @yieldparam value [String] the value of extracted attribute. # - # source://yard//lib/yard/i18n/text.rb#35 + # pkg:gem/yard#lib/yard/i18n/text.rb:35 def extract_messages; end # Translates into +locale+. @@ -7454,7 +7454,7 @@ class YARD::I18n::Text # @return [String] translated text. # @since 0.8.0 # - # source://yard//lib/yard/i18n/text.rb#52 + # pkg:gem/yard#lib/yard/i18n/text.rb:52 def translate(locale); end private @@ -7462,36 +7462,36 @@ class YARD::I18n::Text # @since 0.8.0 # @yield [part] # - # source://yard//lib/yard/i18n/text.rb#134 + # pkg:gem/yard#lib/yard/i18n/text.rb:134 def emit_attribute_event(match_data, line_no); end # @since 0.8.0 # @yield [part] # - # source://yard//lib/yard/i18n/text.rb#147 + # pkg:gem/yard#lib/yard/i18n/text.rb:147 def emit_empty_line_event(line, line_no); end # @since 0.8.0 # @yield [part] # - # source://yard//lib/yard/i18n/text.rb#125 + # pkg:gem/yard#lib/yard/i18n/text.rb:125 def emit_markup_event(line, line_no); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/text.rb#156 + # pkg:gem/yard#lib/yard/i18n/text.rb:156 def emit_paragraph_event(paragraph, paragraph_start_line, line_no, &block); end # @since 0.8.0 # - # source://yard//lib/yard/i18n/text.rb#76 + # pkg:gem/yard#lib/yard/i18n/text.rb:76 def parse(&block); end end # Handles console logging for info, warnings and errors. # Uses the stdlib Logger class in Ruby for all the backend logic. # -# source://yard//lib/yard/logging.rb#8 +# pkg:gem/yard#lib/yard/logging.rb:8 class YARD::Logger include ::YARD::Logger::Severity @@ -7500,7 +7500,7 @@ class YARD::Logger # @private # @return [Logger] a new instance of Logger # - # source://yard//lib/yard/logging.rb#82 + # pkg:gem/yard#lib/yard/logging.rb:82 def initialize(pipe, *args); end # Displays an unformatted line to the logger output stream. @@ -7509,7 +7509,7 @@ class YARD::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#209 + # pkg:gem/yard#lib/yard/logging.rb:209 def <<(msg = T.unsafe(nil)); end # Prints the backtrace +exc+ to the logger as error data. @@ -7518,7 +7518,7 @@ class YARD::Logger # @param level_meth [Symbol] the level to log backtrace at # @return [void] # - # source://yard//lib/yard/logging.rb#216 + # pkg:gem/yard#lib/yard/logging.rb:216 def backtrace(exc, level_meth = T.unsafe(nil)); end # Captures the duration of a block of code for benchmark analysis. Also @@ -7531,7 +7531,7 @@ class YARD::Logger # @todo Implement capture storage for reporting of benchmarks # @yield a block of arbitrary code to benchmark # - # source://yard//lib/yard/logging.rb#234 + # pkg:gem/yard#lib/yard/logging.rb:234 def capture(msg, nontty_log = T.unsafe(nil)); end # Clears the progress indicator in the TTY display. @@ -7539,7 +7539,7 @@ class YARD::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#186 + # pkg:gem/yard#lib/yard/logging.rb:186 def clear_progress; end # Changes the debug level to DEBUG if $DEBUG is set and writes a debugging message. @@ -7549,7 +7549,7 @@ class YARD::Logger # @return [void] # @see #log # - # source://yard//lib/yard/logging.rb#103 + # pkg:gem/yard#lib/yard/logging.rb:103 def debug(message); end # Sets the logger level for the duration of the block @@ -7562,7 +7562,7 @@ class YARD::Logger # values can be found in Ruby's Logger class. # @yield the block with the logger temporarily set to +new_level+ # - # source://yard//lib/yard/logging.rb#142 + # pkg:gem/yard#lib/yard/logging.rb:142 def enter_level(new_level = T.unsafe(nil)); end # Logs a message with the error severity level. @@ -7571,7 +7571,7 @@ class YARD::Logger # @return [void] # @see #log # - # source://yard//lib/yard/logging.rb#103 + # pkg:gem/yard#lib/yard/logging.rb:103 def error(message); end # Logs a message with the fatal severity level. @@ -7580,7 +7580,7 @@ class YARD::Logger # @return [void] # @see #log # - # source://yard//lib/yard/logging.rb#103 + # pkg:gem/yard#lib/yard/logging.rb:103 def fatal(message); end # Logs a message with the info severity level. @@ -7589,29 +7589,29 @@ class YARD::Logger # @return [void] # @see #log # - # source://yard//lib/yard/logging.rb#103 + # pkg:gem/yard#lib/yard/logging.rb:103 def info(message); end # @return [IO] the IO object being logged to # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#49 + # pkg:gem/yard#lib/yard/logging.rb:49 def io; end # @return [IO] the IO object being logged to # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#49 + # pkg:gem/yard#lib/yard/logging.rb:49 def io=(_arg0); end # @return [DEBUG, INFO, WARN, ERROR, FATAL, UNKNOWN] the logging level # - # source://yard//lib/yard/logging.rb#57 + # pkg:gem/yard#lib/yard/logging.rb:57 def level; end # @return [DEBUG, INFO, WARN, ERROR, FATAL, UNKNOWN] the logging level # - # source://yard//lib/yard/logging.rb#57 + # pkg:gem/yard#lib/yard/logging.rb:57 def level=(_arg0); end # Logs a message with a given severity @@ -7619,7 +7619,7 @@ class YARD::Logger # @param message [String] the message to log # @param severity [DEBUG, INFO, WARN, ERROR, FATAL, UNKNOWN] the severity level # - # source://yard//lib/yard/logging.rb#122 + # pkg:gem/yard#lib/yard/logging.rb:122 def log(severity, message); end # Displays an unformatted line to the logger output stream. @@ -7628,7 +7628,7 @@ class YARD::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#205 + # pkg:gem/yard#lib/yard/logging.rb:205 def print(msg = T.unsafe(nil)); end # Displays a progress indicator for a given message. This progress report @@ -7641,7 +7641,7 @@ class YARD::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#161 + # pkg:gem/yard#lib/yard/logging.rb:161 def progress(msg, nontty_log = T.unsafe(nil)); end # Displays an unformatted line to the logger output stream, adding @@ -7651,33 +7651,33 @@ class YARD::Logger # @return [void] # @since 0.8.2 # - # source://yard//lib/yard/logging.rb#197 + # pkg:gem/yard#lib/yard/logging.rb:197 def puts(msg = T.unsafe(nil)); end # @return [Boolean] whether backtraces should be shown (by default # this is on). # - # source://yard//lib/yard/logging.rb#53 + # pkg:gem/yard#lib/yard/logging.rb:53 def show_backtraces; end # Sets the attribute show_backtraces # # @param value the value to set the attribute show_backtraces to. # - # source://yard//lib/yard/logging.rb#54 + # pkg:gem/yard#lib/yard/logging.rb:54 def show_backtraces=(_arg0); end # @return [Boolean] whether progress indicators should be shown when # logging CLIs (by default this is off). # - # source://yard//lib/yard/logging.rb#64 + # pkg:gem/yard#lib/yard/logging.rb:64 def show_progress; end # Sets the attribute show_progress # # @param value the value to set the attribute show_progress to. # - # source://yard//lib/yard/logging.rb#70 + # pkg:gem/yard#lib/yard/logging.rb:70 def show_progress=(_arg0); end # Logs a message with the unknown severity level. @@ -7686,7 +7686,7 @@ class YARD::Logger # @return [void] # @see #log # - # source://yard//lib/yard/logging.rb#103 + # pkg:gem/yard#lib/yard/logging.rb:103 def unknown(message); end # Remembers when a warning occurs and writes a warning message. @@ -7696,7 +7696,7 @@ class YARD::Logger # @return [void] # @see #log # - # source://yard//lib/yard/logging.rb#103 + # pkg:gem/yard#lib/yard/logging.rb:103 def warn(message); end # Warns that the Ruby environment does not support continuations. Applies @@ -7707,35 +7707,35 @@ class YARD::Logger # @private # @return [void] # - # source://yard//lib/yard/logging.rb#250 + # pkg:gem/yard#lib/yard/logging.rb:250 def warn_no_continuations; end # @return [Boolean] whether a warn message has been emitted. Used for status tracking. # - # source://yard//lib/yard/logging.rb#60 + # pkg:gem/yard#lib/yard/logging.rb:60 def warned; end # @return [Boolean] whether a warn message has been emitted. Used for status tracking. # - # source://yard//lib/yard/logging.rb#60 + # pkg:gem/yard#lib/yard/logging.rb:60 def warned=(_arg0); end private - # source://yard//lib/yard/logging.rb#255 + # pkg:gem/yard#lib/yard/logging.rb:255 def clear_line; end class << self # @private # - # source://yard//lib/yard/logging.rb#101 + # pkg:gem/yard#lib/yard/logging.rb:101 def create_log_method(name); end # The logger instance # # @return [Logger] the logger instance # - # source://yard//lib/yard/logging.rb#76 + # pkg:gem/yard#lib/yard/logging.rb:76 def instance(pipe = T.unsafe(nil)); end end end @@ -7745,94 +7745,94 @@ end # # @since 0.8.2 # -# source://yard//lib/yard/logging.rb#45 +# pkg:gem/yard#lib/yard/logging.rb:45 YARD::Logger::PROGRESS_INDICATORS = T.let(T.unsafe(nil), Array) # Log severity levels # -# source://yard//lib/yard/logging.rb#10 +# pkg:gem/yard#lib/yard/logging.rb:10 module YARD::Logger::Severity; end # Debugging log level # -# source://yard//lib/yard/logging.rb#12 +# pkg:gem/yard#lib/yard/logging.rb:12 YARD::Logger::Severity::DEBUG = T.let(T.unsafe(nil), Integer) # Error log level # -# source://yard//lib/yard/logging.rb#21 +# pkg:gem/yard#lib/yard/logging.rb:21 YARD::Logger::Severity::ERROR = T.let(T.unsafe(nil), Integer) # Fatal log level # -# source://yard//lib/yard/logging.rb#24 +# pkg:gem/yard#lib/yard/logging.rb:24 YARD::Logger::Severity::FATAL = T.let(T.unsafe(nil), Integer) # Information log level # -# source://yard//lib/yard/logging.rb#15 +# pkg:gem/yard#lib/yard/logging.rb:15 YARD::Logger::Severity::INFO = T.let(T.unsafe(nil), Integer) # @private # -# source://yard//lib/yard/logging.rb#30 +# pkg:gem/yard#lib/yard/logging.rb:30 YARD::Logger::Severity::SEVERITIES = T.let(T.unsafe(nil), Hash) # Unknown log level # -# source://yard//lib/yard/logging.rb#27 +# pkg:gem/yard#lib/yard/logging.rb:27 YARD::Logger::Severity::UNKNOWN = T.let(T.unsafe(nil), Integer) # Warning log level # -# source://yard//lib/yard/logging.rb#18 +# pkg:gem/yard#lib/yard/logging.rb:18 YARD::Logger::Severity::WARN = T.let(T.unsafe(nil), Integer) # An OpenStruct compatible struct class that allows for basic access of attributes # via +struct.attr_name+ and +struct.attr_name = value+. # -# source://yard//lib/yard/open_struct.rb#4 +# pkg:gem/yard#lib/yard/open_struct.rb:4 class YARD::OpenStruct # @return [OpenStruct] a new instance of OpenStruct # - # source://yard//lib/yard/open_struct.rb#5 + # pkg:gem/yard#lib/yard/open_struct.rb:5 def initialize(hash = T.unsafe(nil)); end - # source://yard//lib/yard/open_struct.rb#25 + # pkg:gem/yard#lib/yard/open_struct.rb:25 def ==(other); end - # source://yard//lib/yard/open_struct.rb#41 + # pkg:gem/yard#lib/yard/open_struct.rb:41 def [](key); end - # source://yard//lib/yard/open_struct.rb#37 + # pkg:gem/yard#lib/yard/open_struct.rb:37 def []=(key, value); end - # source://yard//lib/yard/open_struct.rb#33 + # pkg:gem/yard#lib/yard/open_struct.rb:33 def dig(*keys); end - # source://yard//lib/yard/open_struct.rb#45 + # pkg:gem/yard#lib/yard/open_struct.rb:45 def each_pair(&block); end - # source://yard//lib/yard/open_struct.rb#29 + # pkg:gem/yard#lib/yard/open_struct.rb:29 def hash; end - # source://yard//lib/yard/open_struct.rb#49 + # pkg:gem/yard#lib/yard/open_struct.rb:49 def marshal_dump; end - # source://yard//lib/yard/open_struct.rb#53 + # pkg:gem/yard#lib/yard/open_struct.rb:53 def marshal_load(data); end # @private # - # source://yard//lib/yard/open_struct.rb#10 + # pkg:gem/yard#lib/yard/open_struct.rb:10 def method_missing(name, *args); end - # source://yard//lib/yard/open_struct.rb#21 + # pkg:gem/yard#lib/yard/open_struct.rb:21 def to_h; end private - # source://yard//lib/yard/open_struct.rb#59 + # pkg:gem/yard#lib/yard/open_struct.rb:59 def __cache_lookup__(name); end end @@ -7903,12 +7903,12 @@ end # default_attr :highlight, true # end # -# source://yard//lib/yard/options.rb#69 +# pkg:gem/yard#lib/yard/options.rb:69 class YARD::Options # @return [Boolean] whether another Options object equals the # keys and values of this options object # - # source://yard//lib/yard/options.rb#157 + # pkg:gem/yard#lib/yard/options.rb:157 def ==(other); end # Delegates calls with Hash syntax to actual method with key name @@ -7918,7 +7918,7 @@ class YARD::Options # @param key [Symbol, String] the option name to access # @return the value of the option named +key+ # - # source://yard//lib/yard/options.rb#91 + # pkg:gem/yard#lib/yard/options.rb:91 def [](key); end # Delegates setter calls with Hash syntax to the attribute setter with the key name @@ -7929,7 +7929,7 @@ class YARD::Options # @param value [Object] the value to set for the option # @return [Object] the value being set # - # source://yard//lib/yard/options.rb#100 + # pkg:gem/yard#lib/yard/options.rb:100 def []=(key, value); end # Deletes an option value for +key+ @@ -7937,7 +7937,7 @@ class YARD::Options # @param key [Symbol, String] the key to delete a value for # @return [Object] the value that was deleted # - # source://yard//lib/yard/options.rb#207 + # pkg:gem/yard#lib/yard/options.rb:207 def delete(key); end # Yields over every option key and value @@ -7947,12 +7947,12 @@ class YARD::Options # @yieldparam key [Symbol] the option key # @yieldparam value [Object] the option value # - # source://yard//lib/yard/options.rb#143 + # pkg:gem/yard#lib/yard/options.rb:143 def each; end # Inspects the object # - # source://yard//lib/yard/options.rb#151 + # pkg:gem/yard#lib/yard/options.rb:151 def inspect; end # Creates a new options object and sets options hash or object value @@ -7962,7 +7962,7 @@ class YARD::Options # @return [Options] the newly created options object # @see #update # - # source://yard//lib/yard/options.rb#123 + # pkg:gem/yard#lib/yard/options.rb:123 def merge(opts); end # Handles setting and accessing of unregistered keys similar @@ -7971,7 +7971,7 @@ class YARD::Options # @note It is not recommended to set and access unregistered keys on # an Options object. Instead, register the attribute before using it. # - # source://yard//lib/yard/options.rb#170 + # pkg:gem/yard#lib/yard/options.rb:170 def method_missing(meth, *args, &block); end # Resets all values to their defaults. @@ -7981,13 +7981,13 @@ class YARD::Options # +super+ so that default initialization can take place. # @return [void] # - # source://yard//lib/yard/options.rb#188 + # pkg:gem/yard#lib/yard/options.rb:188 def reset_defaults; end # @return [Hash] Converts options object to an options hash. All keys # will be symbolized. # - # source://yard//lib/yard/options.rb#129 + # pkg:gem/yard#lib/yard/options.rb:129 def to_hash; end # Updates values from an options hash or options object on this object. @@ -7998,7 +7998,7 @@ class YARD::Options # @param opts [Hash, Options] # @return [self] # - # source://yard//lib/yard/options.rb#109 + # pkg:gem/yard#lib/yard/options.rb:109 def update(opts); end class << self @@ -8011,7 +8011,7 @@ class YARD::Options # value is a proc, it is executed upon initialization. # @param key [Symbol] the option key name # - # source://yard//lib/yard/options.rb#80 + # pkg:gem/yard#lib/yard/options.rb:80 def default_attr(key, default); end end end @@ -8019,7 +8019,7 @@ end # The parser namespace holds all parsing engines used by YARD. # Currently only Ruby and C (Ruby) parsers are implemented. # -# source://yard//lib/yard/autoload.rb#161 +# pkg:gem/yard#lib/yard/autoload.rb:161 module YARD::Parser; end # Represents the abstract base parser class that parses source code in @@ -8035,7 +8035,7 @@ module YARD::Parser; end # @see #tokenize # @since 0.5.6 # -# source://yard//lib/yard/parser/base.rb#16 +# pkg:gem/yard#lib/yard/parser/base.rb:16 class YARD::Parser::Base # This default constructor does nothing. The subclass is responsible for # storing the source contents and filename if they are required. @@ -8046,7 +8046,7 @@ class YARD::Parser::Base # @return [Base] a new instance of Base # @since 0.5.6 # - # source://yard//lib/yard/parser/base.rb#26 + # pkg:gem/yard#lib/yard/parser/base.rb:26 def initialize(source, filename); end # This method should be implemented to return a list of semantic tokens @@ -8059,7 +8059,7 @@ class YARD::Parser::Base # @return [nil] if no post-processing should be done # @since 0.5.6 # - # source://yard//lib/yard/parser/base.rb#52 + # pkg:gem/yard#lib/yard/parser/base.rb:52 def enumerator; end # This method should be implemented to parse the source and return itself. @@ -8069,7 +8069,7 @@ class YARD::Parser::Base # @return [Base] this method should return itself # @since 0.5.6 # - # source://yard//lib/yard/parser/base.rb#33 + # pkg:gem/yard#lib/yard/parser/base.rb:33 def parse; end # This method should be implemented to tokenize given source @@ -8079,7 +8079,7 @@ class YARD::Parser::Base # @return [Array] a list/tree of lexical tokens # @since 0.5.6 # - # source://yard//lib/yard/parser/base.rb#40 + # pkg:gem/yard#lib/yard/parser/base.rb:40 def tokenize; end class << self @@ -8087,296 +8087,296 @@ class YARD::Parser::Base # # @since 0.5.6 # - # source://yard//lib/yard/parser/base.rb#18 + # pkg:gem/yard#lib/yard/parser/base.rb:18 def parse(source, filename = T.unsafe(nil)); end end end # CRuby Parsing components # -# source://yard//lib/yard/autoload.rb#162 +# pkg:gem/yard#lib/yard/autoload.rb:162 module YARD::Parser::C; end -# source://yard//lib/yard/parser/c/statement.rb#41 +# pkg:gem/yard#lib/yard/parser/c/statement.rb:41 class YARD::Parser::C::BodyStatement < ::YARD::Parser::C::Statement # Returns the value of attribute comments. # - # source://yard//lib/yard/parser/c/statement.rb#42 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:42 def comments; end # Sets the attribute comments # # @param value the value to set the attribute comments to. # - # source://yard//lib/yard/parser/c/statement.rb#42 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:42 def comments=(_arg0); end end -# source://yard//lib/yard/parser/c/c_parser.rb#5 +# pkg:gem/yard#lib/yard/parser/c/c_parser.rb:5 class YARD::Parser::C::CParser < ::YARD::Parser::Base # @return [CParser] a new instance of CParser # - # source://yard//lib/yard/parser/c/c_parser.rb#6 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:6 def initialize(source, file = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#24 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:24 def enumerator; end - # source://yard//lib/yard/parser/c/c_parser.rb#19 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:19 def parse; end # @raise [NotImplementedError] # - # source://yard//lib/yard/parser/c/c_parser.rb#28 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:28 def tokenize; end private - # source://yard//lib/yard/parser/c/c_parser.rb#213 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:213 def advance(num = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#216 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:216 def advance_loop; end - # source://yard//lib/yard/parser/c/c_parser.rb#195 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:195 def attach_comment(statement); end - # source://yard//lib/yard/parser/c/c_parser.rb#214 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:214 def back(num = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#225 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:225 def char(num = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#96 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:96 def consume_body_statements; end - # source://yard//lib/yard/parser/c/c_parser.rb#136 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:136 def consume_comment(add_comment = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#59 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:59 def consume_directive; end - # source://yard//lib/yard/parser/c/c_parser.rb#47 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:47 def consume_quote(type = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#73 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:73 def consume_toplevel_statement; end - # source://yard//lib/yard/parser/c/c_parser.rb#169 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:169 def consume_until(end_char, bracket_level = T.unsafe(nil), brace_level = T.unsafe(nil), add_comment = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#132 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:132 def consume_whitespace; end - # source://yard//lib/yard/parser/c/c_parser.rb#227 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:227 def nextchar(num = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#220 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:220 def nextline; end - # source://yard//lib/yard/parser/c/c_parser.rb#34 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:34 def parse_toplevel; end - # source://yard//lib/yard/parser/c/c_parser.rb#226 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:226 def prevchar(num = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/c_parser.rb#118 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:118 def strip_non_statement_data; end - # source://yard//lib/yard/parser/c/c_parser.rb#229 + # pkg:gem/yard#lib/yard/parser/c/c_parser.rb:229 def struct; end end -# source://yard//lib/yard/parser/c/statement.rb#51 +# pkg:gem/yard#lib/yard/parser/c/statement.rb:51 class YARD::Parser::C::Comment < ::YARD::Parser::C::Statement include ::YARD::Parser::C::CommentParser # @return [Comment] a new instance of Comment # - # source://yard//lib/yard/parser/c/statement.rb#58 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:58 def initialize(source, file = T.unsafe(nil), line = T.unsafe(nil)); end - # source://yard//lib/yard/parser/c/statement.rb#62 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:62 def comments; end # Returns the value of attribute overrides. # - # source://yard//lib/yard/parser/c/statement.rb#55 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:55 def overrides; end # Sets the attribute overrides # # @param value the value to set the attribute overrides to. # - # source://yard//lib/yard/parser/c/statement.rb#55 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:55 def overrides=(_arg0); end # Returns the value of attribute statement. # - # source://yard//lib/yard/parser/c/statement.rb#56 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:56 def statement; end # Sets the attribute statement # # @param value the value to set the attribute statement to. # - # source://yard//lib/yard/parser/c/statement.rb#56 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:56 def statement=(_arg0); end # Returns the value of attribute type. # - # source://yard//lib/yard/parser/c/statement.rb#54 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:54 def type; end # Sets the attribute type # # @param value the value to set the attribute type to. # - # source://yard//lib/yard/parser/c/statement.rb#54 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:54 def type=(_arg0); end end -# source://yard//lib/yard/parser/c/comment_parser.rb#5 +# pkg:gem/yard#lib/yard/parser/c/comment_parser.rb:5 module YARD::Parser::C::CommentParser protected - # source://yard//lib/yard/parser/c/comment_parser.rb#8 + # pkg:gem/yard#lib/yard/parser/c/comment_parser.rb:8 def parse_comments(comments); end private - # source://yard//lib/yard/parser/c/comment_parser.rb#42 + # pkg:gem/yard#lib/yard/parser/c/comment_parser.rb:42 def parse_callseq(comments); end - # source://yard//lib/yard/parser/c/comment_parser.rb#30 + # pkg:gem/yard#lib/yard/parser/c/comment_parser.rb:30 def parse_overrides(comments); end - # source://yard//lib/yard/parser/c/comment_parser.rb#87 + # pkg:gem/yard#lib/yard/parser/c/comment_parser.rb:87 def parse_types(types); end - # source://yard//lib/yard/parser/c/comment_parser.rb#126 + # pkg:gem/yard#lib/yard/parser/c/comment_parser.rb:126 def remove_private_comments(comment); end end -# source://yard//lib/yard/parser/c/statement.rb#5 +# pkg:gem/yard#lib/yard/parser/c/statement.rb:5 class YARD::Parser::C::Statement # @return [Statement] a new instance of Statement # - # source://yard//lib/yard/parser/c/statement.rb#16 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:16 def initialize(source, file = T.unsafe(nil), line = T.unsafe(nil)); end # Returns the value of attribute comments_hash_flag. # - # source://yard//lib/yard/parser/c/statement.rb#14 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:14 def comments_hash_flag; end # Sets the attribute comments_hash_flag # # @param value the value to set the attribute comments_hash_flag to. # - # source://yard//lib/yard/parser/c/statement.rb#14 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:14 def comments_hash_flag=(_arg0); end - # source://yard//lib/yard/parser/c/statement.rb#26 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:26 def comments_range; end # Returns the value of attribute file. # - # source://yard//lib/yard/parser/c/statement.rb#8 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:8 def file; end # Sets the attribute file # # @param value the value to set the attribute file to. # - # source://yard//lib/yard/parser/c/statement.rb#8 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:8 def file=(_arg0); end - # source://yard//lib/yard/parser/c/statement.rb#30 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:30 def first_line; end # @deprecated Groups are now defined by directives # @see Tags::GroupDirective # - # source://yard//lib/yard/parser/c/statement.rb#12 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:12 def group; end # @deprecated Groups are now defined by directives # @see Tags::GroupDirective # - # source://yard//lib/yard/parser/c/statement.rb#12 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:12 def group=(_arg0); end # Returns the value of attribute line. # - # source://yard//lib/yard/parser/c/statement.rb#7 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:7 def line; end # Sets the attribute line # # @param value the value to set the attribute line to. # - # source://yard//lib/yard/parser/c/statement.rb#7 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:7 def line=(_arg0); end - # source://yard//lib/yard/parser/c/statement.rb#22 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:22 def line_range; end - # source://yard//lib/yard/parser/c/statement.rb#36 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:36 def show; end - # source://yard//lib/yard/parser/c/statement.rb#34 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:34 def signature; end # Returns the value of attribute source. # - # source://yard//lib/yard/parser/c/statement.rb#6 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:6 def source; end # Sets the attribute source # # @param value the value to set the attribute source to. # - # source://yard//lib/yard/parser/c/statement.rb#6 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:6 def source=(_arg0); end end -# source://yard//lib/yard/parser/c/statement.rb#45 +# pkg:gem/yard#lib/yard/parser/c/statement.rb:45 class YARD::Parser::C::ToplevelStatement < ::YARD::Parser::C::Statement # Returns the value of attribute block. # - # source://yard//lib/yard/parser/c/statement.rb#46 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:46 def block; end # Sets the attribute block # # @param value the value to set the attribute block to. # - # source://yard//lib/yard/parser/c/statement.rb#46 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:46 def block=(_arg0); end # Returns the value of attribute comments. # - # source://yard//lib/yard/parser/c/statement.rb#48 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:48 def comments; end # Sets the attribute comments # # @param value the value to set the attribute comments to. # - # source://yard//lib/yard/parser/c/statement.rb#48 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:48 def comments=(_arg0); end # Returns the value of attribute declaration. # - # source://yard//lib/yard/parser/c/statement.rb#47 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:47 def declaration; end # Sets the attribute declaration # # @param value the value to set the attribute declaration to. # - # source://yard//lib/yard/parser/c/statement.rb#47 + # pkg:gem/yard#lib/yard/parser/c/statement.rb:47 def declaration=(_arg0); end end @@ -8387,7 +8387,7 @@ end # # @see Processor#parse_remaining_files # -# source://yard//lib/yard/parser/source_parser.rb#20 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:20 class YARD::Parser::OrderedParser # Creates a new OrderedParser with the global state and a list # of files to parse. @@ -8399,35 +8399,35 @@ class YARD::Parser::OrderedParser # state during parsing # @return [OrderedParser] a new instance of OrderedParser # - # source://yard//lib/yard/parser/source_parser.rb#32 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:32 def initialize(global_state, files); end # @return [Array] the list of remaining files to parse # - # source://yard//lib/yard/parser/source_parser.rb#22 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:22 def files; end # @return [Array] the list of remaining files to parse # - # source://yard//lib/yard/parser/source_parser.rb#22 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:22 def files=(_arg0); end # Parses the remainder of the {#files} list. # # @see Processor#parse_remaining_files # - # source://yard//lib/yard/parser/source_parser.rb#41 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:41 def parse; end end # Raised when the parser sees a Ruby syntax error # -# source://yard//lib/yard/parser/source_parser.rb#12 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:12 class YARD::Parser::ParserSyntaxError < ::YARD::Parser::UndocumentableError; end # Ruby parsing components. # -# source://yard//lib/yard/autoload.rb#171 +# pkg:gem/yard#lib/yard/autoload.rb:171 module YARD::Parser::Ruby # Builds and s-expression by creating {AstNode} objects with # the type provided by the first argument. @@ -8441,7 +8441,7 @@ module YARD::Parser::Ruby # @overload s # @see AstNode#initialize # - # source://yard//lib/yard/parser/ruby/ast_node.rb#25 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:25 def s(*args); end end @@ -8456,7 +8456,7 @@ end # list, like Strings or Symbols representing names. To return only # the AstNode children of the node, use {#children}. # -# source://yard//lib/yard/parser/ruby/ast_node.rb#41 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:41 class YARD::Parser::Ruby::AstNode < ::Array # Creates a new AST node # @@ -8470,141 +8470,141 @@ class YARD::Parser::Ruby::AstNode < ::Array # @param type [Symbol] the type of node being created # @return [AstNode] a new instance of AstNode # - # source://yard//lib/yard/parser/ruby/ast_node.rb#153 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:153 def initialize(type, arr, opts = T.unsafe(nil)); end # @private # @return [Boolean] whether the node is equal to another by checking # the list and type # - # source://yard//lib/yard/parser/ruby/ast_node.rb#167 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:167 def ==(other); end # @return [Boolean] whether the node has a block # - # source://yard//lib/yard/parser/ruby/ast_node.rb#261 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:261 def block?; end # @return [Boolean] whether the node is a method call # - # source://yard//lib/yard/parser/ruby/ast_node.rb#241 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:241 def call?; end # @return [Array] the {AstNode} children inside the node # - # source://yard//lib/yard/parser/ruby/ast_node.rb#199 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:199 def children; end # Returns the value of attribute docstring. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#50 + # pkg:gem/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#52 + # pkg:gem/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#51 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:51 def comments_range; end # @return [Boolean] whether the node is a if/elsif/else condition # - # source://yard//lib/yard/parser/ruby/ast_node.rb#251 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:251 def condition?; end # @return [Boolean] whether the node is a method definition # - # source://yard//lib/yard/parser/ruby/ast_node.rb#246 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:246 def def?; end # Returns the value of attribute docstring. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:43 def docstring; end # Sets the attribute docstring # # @param value the value to set the attribute docstring to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:43 def docstring=(_arg0); end # Returns the value of attribute docstring_hash_flag. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#42 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:42 def docstring_hash_flag; end # Sets the attribute docstring_hash_flag # # @param value the value to set the attribute docstring_hash_flag to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#42 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:42 def docstring_hash_flag=(_arg0); end # Returns the value of attribute docstring_range. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:43 def docstring_range; end # Sets the attribute docstring_range # # @param value the value to set the attribute docstring_range to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:43 def docstring_range=(_arg0); end # @return [String] the filename the node was parsed from # - # source://yard//lib/yard/parser/ruby/ast_node.rb#76 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:76 def file; end # Sets the attribute file # # @param value the value to set the attribute file to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#49 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:49 def file=(_arg0); end # @return [String] the first line of source represented by the node. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#278 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:278 def first_line; end # @return [String] the full source that the node was parsed from # - # source://yard//lib/yard/parser/ruby/ast_node.rb#82 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:82 def full_source; end # Sets the attribute full_source # # @param value the value to set the attribute full_source to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#49 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:49 def full_source=(_arg0); end # @deprecated Groups are now defined by directives # @see Tags::GroupDirective # - # source://yard//lib/yard/parser/ruby/ast_node.rb#47 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:47 def group; end # @deprecated Groups are now defined by directives # @see Tags::GroupDirective # - # source://yard//lib/yard/parser/ruby/ast_node.rb#47 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:47 def group=(_arg0); end # @return [Boolean] whether the node has a {#line_range} set # - # source://yard//lib/yard/parser/ruby/ast_node.rb#268 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:268 def has_line?; end # @return [String] inspects the object # - # source://yard//lib/yard/parser/ruby/ast_node.rb#323 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:323 def inspect; end # Searches through the node and all descendants and returns the @@ -8627,101 +8627,101 @@ class YARD::Parser::Ruby::AstNode < ::Array # @return [AstNode] the matching node, if one was found # @return [self] if no node was found # - # source://yard//lib/yard/parser/ruby/ast_node.rb#193 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:193 def jump(*node_types); end # @return [Boolean] whether the node is a keyword # - # source://yard//lib/yard/parser/ruby/ast_node.rb#236 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:236 def kw?; end # @return [Fixnum] the starting line number of the node # - # source://yard//lib/yard/parser/ruby/ast_node.rb#273 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:273 def line; end # @return [Range] the line range in {#full_source} represented # by the node # - # source://yard//lib/yard/parser/ruby/ast_node.rb#70 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:70 def line_range; end # Sets the attribute line_range # # @param value the value to set the attribute line_range to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#49 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:49 def line_range=(_arg0); end # @return [Boolean] whether the node is a literal value # - # source://yard//lib/yard/parser/ruby/ast_node.rb#231 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:231 def literal?; end # @return [Boolean] whether the node is a loop # - # source://yard//lib/yard/parser/ruby/ast_node.rb#256 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:256 def loop?; end # @return [AstNode, nil] the node's parent or nil if it is a root node. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#59 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:59 def parent; end # @return [AstNode, nil] the node's parent or nil if it is a root node. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#59 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:59 def parent=(_arg0); end # @return [nil] pretty prints the node # - # source://yard//lib/yard/parser/ruby/ast_node.rb#290 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:290 def pretty_print(q); end # @return [Boolean] whether the node is a reference (variable, # constant name) # - # source://yard//lib/yard/parser/ruby/ast_node.rb#226 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:226 def ref?; end # @return [String] the first line of source the node represents # - # source://yard//lib/yard/parser/ruby/ast_node.rb#285 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:285 def show; end # @return [String] the parse of {#full_source} that the node represents # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:43 def source; end # Sets the attribute source # # @param value the value to set the attribute source to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#43 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:43 def source=(_arg0); end # @return [Range] the character range in {#full_source} represented # by the node # - # source://yard//lib/yard/parser/ruby/ast_node.rb#63 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:63 def source_range; end # Sets the attribute source_range # # @param value the value to set the attribute source_range to. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#49 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:49 def source_range=(_arg0); end # Returns the value of attribute source. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#53 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:53 def to_s; end # @return [Boolean] whether the node is a token # - # source://yard//lib/yard/parser/ruby/ast_node.rb#220 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:220 def token?; end # Traverses the object and yields each node (including descendants) in order. @@ -8730,22 +8730,22 @@ class YARD::Parser::Ruby::AstNode < ::Array # @yield each descendant node in order # @yieldparam self, [AstNode] or a child/descendant node # - # source://yard//lib/yard/parser/ruby/ast_node.rb#208 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:208 def traverse; end # @return [Symbol] the node's unique symbolic type # - # source://yard//lib/yard/parser/ruby/ast_node.rb#56 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:56 def type; end # @return [Symbol] the node's unique symbolic type # - # source://yard//lib/yard/parser/ruby/ast_node.rb#56 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:56 def type=(_arg0); end # Resets node state in tree # - # source://yard//lib/yard/parser/ruby/ast_node.rb#331 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:331 def unfreeze; end private @@ -8754,7 +8754,7 @@ class YARD::Parser::Ruby::AstNode < ::Array # # @return [void] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#341 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:341 def reset_line_info; end class << self @@ -8764,7 +8764,7 @@ class YARD::Parser::Ruby::AstNode < ::Array # @param type [Symbol] the node type to find a subclass for # @return [Class] a subclass of AstNode to instantiate the node with. # - # source://yard//lib/yard/parser/ruby/ast_node.rb#111 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:111 def node_class_for(type); end end end @@ -8773,227 +8773,227 @@ end # # @return [Hash] # -# source://yard//lib/yard/parser/ruby/ast_node.rb#96 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:96 YARD::Parser::Ruby::AstNode::KEYWORDS = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/ruby/ast_node.rb#530 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:530 class YARD::Parser::Ruby::ClassNode < ::YARD::Parser::Ruby::KeywordNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#533 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:533 def block; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#531 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:531 def class_name; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#532 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:532 def superclass; end end # Represents a lone comment block in source # -# source://yard//lib/yard/parser/ruby/ast_node.rb#548 +# pkg:gem/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#551 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:551 def comments; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#549 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:549 def docstring; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#550 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:550 def docstring=(value); end - # source://yard//lib/yard/parser/ruby/ast_node.rb#554 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:554 def first_line; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#553 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:553 def source; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#515 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:515 class YARD::Parser::Ruby::ConditionalNode < ::YARD::Parser::Ruby::KeywordNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#517 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:517 def condition; end # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#516 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:516 def condition?; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#520 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:520 def else_block; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#518 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:518 def then_block; end private # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#527 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:527 def cmod?; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#376 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:376 class YARD::Parser::Ruby::KeywordNode < ::YARD::Parser::Ruby::AstNode # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#377 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:377 def kw?; end end # Handles Ruby parsing in Ruby 1.8. # -# source://yard//lib/yard/autoload.rb#172 +# pkg:gem/yard#lib/yard/autoload.rb:172 module YARD::Parser::Ruby::Legacy; end # Lexical analyzer for Ruby source # # @private # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#314 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:314 class YARD::Parser::Ruby::Legacy::RubyLex include ::YARD::Parser::Ruby::Legacy::RubyToken include ::IRB # @return [RubyLex] a new instance of RubyLex # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#437 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:437 def initialize(content); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#472 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:472 def char_no; end # Returns the value of attribute continue. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#430 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:430 def continue; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1116 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1116 def dedent(str); end # Returns the value of attribute exception_on_syntax_error. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#463 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:463 def exception_on_syntax_error; end # Sets the attribute exception_on_syntax_error # # @param value the value to set the attribute exception_on_syntax_error to. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#463 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:463 def exception_on_syntax_error=(_arg0); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#476 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:476 def get_read; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#480 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:480 def getc; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#484 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:484 def getc_of_rests; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#488 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:488 def gets; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1272 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1272 def identify_comment; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#945 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:945 def identify_gvar; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1062 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1062 def identify_here_document; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#980 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:980 def identify_identifier; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1145 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1145 def identify_number(start); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1126 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1126 def identify_quotation(initial_char); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1207 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1207 def identify_string(ltype, quoted = T.unsafe(nil), opener = T.unsafe(nil), initial_char = T.unsafe(nil)); end # Returns the value of attribute indent. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#465 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:465 def indent; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#510 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:510 def lex; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#586 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:586 def lex_init; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#759 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:759 def lex_int2; end # Returns the value of attribute lex_state. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#431 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:431 def lex_state; end # io functions # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#468 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:468 def line_no; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#506 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:506 def peek(i = T.unsafe(nil)); end # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#502 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:502 def peek_equal?(str); end # Returns the value of attribute read_auto_clean_up. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#462 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:462 def read_auto_clean_up; end # Sets the attribute read_auto_clean_up # # @param value the value to set the attribute read_auto_clean_up to. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#462 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:462 def read_auto_clean_up=(_arg0); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1295 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1295 def read_escape; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#1257 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:1257 def skip_inner_expression; end # Returns the value of attribute skip_space. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#461 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:461 def skip_space; end # Sets the attribute skip_space # # @param value the value to set the attribute skip_space to. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#461 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:461 def skip_space=(_arg0); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#526 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:526 def token; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#498 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:498 def ungetc(c = T.unsafe(nil)); end class << self # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#433 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:433 def debug?; end end end # , "when" # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#552 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:552 YARD::Parser::Ruby::Legacy::RubyLex::ACCEPTS_COLON = T.let(T.unsafe(nil), Array) # Read an input stream character by character. We allow for unlimited @@ -9025,660 +9025,660 @@ YARD::Parser::Ruby::Legacy::RubyLex::ACCEPTS_COLON = T.let(T.unsafe(nil), Array) # # @private # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#343 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:343 class YARD::Parser::Ruby::Legacy::RubyLex::BufferedReader # @return [BufferedReader] a new instance of BufferedReader # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#346 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:346 def initialize(content); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#365 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:365 def column; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#419 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:419 def divert_read_from(reserve); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#400 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:400 def get_read; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#369 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:369 def getc; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#388 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:388 def getc_already_read; end # Returns the value of attribute line_num. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#344 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:344 def line_num; end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#406 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:406 def peek(at); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#415 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:415 def peek_equal(str); end - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#392 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:392 def ungetc(_ch); end end # , "when" # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#553 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:553 YARD::Parser::Ruby::Legacy::RubyLex::DEINDENT_CLAUSE = T.let(T.unsafe(nil), Array) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#580 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:580 YARD::Parser::Ruby::Legacy::RubyLex::DLtype2Token = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#548 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:548 YARD::Parser::Ruby::Legacy::RubyLex::ENINDENT_CLAUSE = T.let(T.unsafe(nil), Array) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#571 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:571 YARD::Parser::Ruby::Legacy::RubyLex::Ltype2Token = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#555 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:555 YARD::Parser::Ruby::Legacy::RubyLex::PERCENT_LTYPE = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#564 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:564 YARD::Parser::Ruby::Legacy::RubyLex::PERCENT_PAREN = T.let(T.unsafe(nil), Hash) # Legacy Ruby parser # # @since 0.5.6 # -# source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#8 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:8 class YARD::Parser::Ruby::Legacy::RubyParser < ::YARD::Parser::Base # @return [RubyParser] a new instance of RubyParser # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#9 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:9 def initialize(source, _filename); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#26 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:26 def encoding_line; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#22 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:22 def enumerator; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#13 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:13 def parse; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#27 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:27 def shebang_line; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/legacy/ruby_parser.rb#18 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_parser.rb:18 def tokenize; end end # Legacy lexical tokenizer module. # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#6 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:6 module YARD::Parser::Ruby::Legacy::RubyToken # @private # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#125 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:125 def Token(token, value = T.unsafe(nil)); end # @private # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#119 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:119 def set_token_position(line, char); end class << self # @private # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#275 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:275 def def_token(token_n, super_token = T.unsafe(nil), reading = T.unsafe(nil), *opts); end end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#10 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:10 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_ARG = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#7 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:7 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_BEG = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#13 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:13 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_CLASS = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#12 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:12 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_DOT = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#9 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:9 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_END = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#11 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:11 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_FNAME = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#8 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:8 YARD::Parser::Ruby::Legacy::RubyToken::EXPR_MID = T.let(T.unsafe(nil), Symbol) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#308 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:308 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkALIAS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkAMPER < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKSLASH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkBACK_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkBREAK < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # Represents a block # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#54 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:54 class YARD::Parser::Ruby::Legacy::RubyToken::TkBlockContents < ::YARD::Parser::Ruby::Legacy::RubyToken::Token - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#55 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:55 def text; end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkCASE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMA < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMENT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkCONSTANT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkDOLLAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkDREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkDSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkDXSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkELSE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkELSIF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkEND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkEND_OF_SCRIPT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:115 class YARD::Parser::Ruby::Legacy::RubyToken::TkError < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkFALSE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkFID < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkFLOAT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkGVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkIDENTIFIER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkIF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkIF_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkINTEGER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkIVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end # Represents a Ruby identifier # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#72 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:72 class YARD::Parser::Ruby::Legacy::RubyToken::TkId < ::YARD::Parser::Ruby::Legacy::RubyToken::Token # @return [TkId] a new instance of TkId # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#73 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:73 def initialize(line_no, char_no, name); end # Returns the value of attribute name. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#77 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:77 def name; end end # Represents a Ruby keyword # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#81 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:81 class YARD::Parser::Ruby::Legacy::RubyToken::TkKW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkLABEL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkNEXT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkNIL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkNTH_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#63 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:63 class YARD::Parser::Ruby::Legacy::RubyToken::TkNode < ::YARD::Parser::Ruby::Legacy::RubyToken::Token # Returns the value of attribute node. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#64 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:64 def node; end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#98 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:98 class YARD::Parser::Ruby::Legacy::RubyToken::TkOPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp # @return [TkOPASGN] a new instance of TkOPASGN # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#99 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:99 def initialize(line_no, char_no, op); end # Returns the value of attribute op. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#104 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:104 def op; end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:92 class YARD::Parser::Ruby::Legacy::RubyToken::TkOp < ::YARD::Parser::Ruby::Legacy::RubyToken::Token - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#93 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:93 def name; end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACK < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkREDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkRESCUE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkRETRY < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkRETURN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:298 def op_name; end end end @@ -9686,139 +9686,139 @@ end # { reading => token_class } # { reading => [token_class, *opt] } # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#271 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:271 YARD::Parser::Ruby::Legacy::RubyToken::TkReading2Token = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSELF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSEMICOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSPACE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSTAR < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSUPER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSYMBEG < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkSYMBOL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end # Represents an end statement # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#59 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:59 class YARD::Parser::Ruby::Legacy::RubyToken::TkStatementEnd < ::YARD::Parser::Ruby::Legacy::RubyToken::Token - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#60 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:60 def text; end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#272 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:272 YARD::Parser::Ruby::Legacy::RubyToken::TkSymbol2Token = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkTHEN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkUNDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkUNLESS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkUNLESS_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 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 + # pkg:gem/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 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:107 class YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar < ::YARD::Parser::Ruby::Legacy::RubyToken::Token # @return [TkUnknownChar] a new instance of TkUnknownChar # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#108 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:108 def initialize(line_no, char_no, _id); end # Returns the value of attribute name. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#112 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:112 def name; end end # Represents a Ruby value # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#85 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:85 class YARD::Parser::Ruby::Legacy::RubyToken::TkVal < ::YARD::Parser::Ruby::Legacy::RubyToken::Token # @return [TkVal] a new instance of TkVal # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#86 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:86 def initialize(line_no, char_no, value = T.unsafe(nil)); end end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkWHEN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkWHILE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkWHILE_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # Represents whitespace # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#68 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:68 class YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkXSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TkYIELD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::Tk__FILE__ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::Tk__LINE__ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TklBEGIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#281 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:282 class YARD::Parser::Ruby::Legacy::RubyToken::TklEND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end # Represents a token in the Ruby lexer # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#16 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:16 class YARD::Parser::Ruby::Legacy::RubyToken::Token # Creates a new Token object # @@ -9826,29 +9826,29 @@ class YARD::Parser::Ruby::Legacy::RubyToken::Token # @param line_no [Integer] the line number to initialize the token to # @return [Token] a new instance of Token # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#37 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:37 def initialize(line_no, char_no); end # @return [Integer] the character number in the file/stream the token # is located. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#23 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:23 def char_no; end # @return [Symbol] the lexical state at the token # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#29 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:29 def lex_state; end # @return [Symbol] the lexical state at the token # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#29 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:29 def lex_state=(_arg0); end # @return [Integer] the line number in the file/stream the token is # located. # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#19 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:19 def line_no; end # Chainable way to sets the text attribute @@ -9856,119 +9856,119 @@ class YARD::Parser::Ruby::Legacy::RubyToken::Token # @param text [String] the new text # @return [Token] this token object # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#47 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:47 def set_text(text); end # @return [String] the token text value # - # source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#26 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:26 def text; end end # @private # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#32 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:32 YARD::Parser::Ruby::Legacy::RubyToken::Token::NO_TEXT = T.let(T.unsafe(nil), String) # @private # -# source://yard//lib/yard/parser/ruby/legacy/ruby_lex.rb#147 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/ruby_lex.rb:147 YARD::Parser::Ruby::Legacy::RubyToken::TokenDefinitions = T.let(T.unsafe(nil), Array) -# source://yard//lib/yard/parser/ruby/legacy/statement.rb#4 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:4 class YARD::Parser::Ruby::Legacy::Statement # @return [Statement] a new instance of Statement # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#14 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:14 def initialize(tokens, block = T.unsafe(nil), comments = T.unsafe(nil)); end # Returns the value of attribute block. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#5 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:5 def block; end # Returns the value of attribute comments. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#5 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:5 def comments; end # Returns the value of attribute comments_hash_flag. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#12 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:12 def comments_hash_flag; end # Sets the attribute comments_hash_flag # # @param value the value to set the attribute comments_hash_flag to. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#12 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:12 def comments_hash_flag=(_arg0); end # Returns the value of attribute comments_range. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#6 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:6 def comments_range; end # Sets the attribute comments_range # # @param value the value to set the attribute comments_range to. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#6 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:6 def comments_range=(_arg0); end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#21 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:21 def first_line; end # @deprecated Groups are now defined by directives # @see Tags::GroupDirective # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#10 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:10 def group; end # @deprecated Groups are now defined by directives # @see Tags::GroupDirective # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#10 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:10 def group=(_arg0); end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#34 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:34 def inspect; end # @return [Fixnum] the first line of Ruby source # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#46 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:46 def line; end # @return [Range] the first to last lines of Ruby source # @since 0.5.4 # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#52 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:52 def line_range; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#41 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:41 def show; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#25 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:25 def signature; end - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#32 + # pkg:gem/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 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:27 def to_s(include_block = T.unsafe(nil)); end # Returns the value of attribute tokens. # - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#5 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:5 def tokens; end private - # source://yard//lib/yard/parser/ruby/legacy/statement.rb#58 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement.rb:58 def clean_tokens(tokens); end end -# source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#4 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:4 class YARD::Parser::Ruby::Legacy::StatementList < ::Array include ::YARD::Parser::Ruby::Legacy::RubyToken @@ -9977,31 +9977,31 @@ class YARD::Parser::Ruby::Legacy::StatementList < ::Array # @param content [TokenList, String] the tokens to create the list from # @return [StatementList] a new instance of StatementList # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#17 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:17 def initialize(content); end # Returns the value of attribute encoding_line. # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#7 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:7 def encoding_line; end # Sets the attribute encoding_line # # @param value the value to set the attribute encoding_line to. # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#7 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:7 def encoding_line=(_arg0); end # Returns the value of attribute shebang_line. # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#7 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:7 def shebang_line; end # Sets the attribute shebang_line # # @param value the value to set the attribute shebang_line to. # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#7 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:7 def shebang_line=(_arg0); end private @@ -10012,31 +10012,31 @@ class YARD::Parser::Ruby::Legacy::StatementList < ::Array # @return [Boolean] whether or not the current statement's parentheses and blocks # are balanced after +tk+ # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#362 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:362 def balances?(tk); end # Returns the next statement in the token stream # # @return [Statement] the next statement # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#45 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:45 def next_statement; end - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#34 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:34 def parse_statements; end # Returns the next token in the stream that's not a space # # @return [RubyToken::Token] the next non-space token # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#388 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:388 def peek_no_space; end # Processes a token in a block # # @param tk [RubyToken::Token] the token to process # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#194 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:194 def process_block_token(tk); end # Processes a complex block-opening token; @@ -10045,7 +10045,7 @@ class YARD::Parser::Ruby::Legacy::StatementList < ::Array # # @param tk [RubyToken::Token] the token to process # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#293 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:293 def process_complex_block_opener(tk); end # Processes a comment token that comes before a statement @@ -10053,7 +10053,7 @@ class YARD::Parser::Ruby::Legacy::StatementList < ::Array # @param tk [RubyToken::Token] the token to process # @return [Boolean] whether or not +tk+ was processed as an initial comment # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#213 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:213 def process_initial_comment(tk); end # Processes a simple block-opening token; @@ -10062,21 +10062,21 @@ class YARD::Parser::Ruby::Legacy::StatementList < ::Array # # @param tk [RubyToken::Token] the token to process # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#268 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:268 def process_simple_block_opener(tk); end # Processes a token that closes a statement # # @param tk [RubyToken::Token] the token to process # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#305 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:305 def process_statement_end(tk); end # Processes a single token # # @param tk [RubyToken::Token] the token to process # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#130 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:130 def process_token(tk); end # Adds a token to the current statement, @@ -10084,193 +10084,193 @@ class YARD::Parser::Ruby::Legacy::StatementList < ::Array # # @param tk [RubyToken::Token] the token to process # - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#380 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:380 def push_token(tk); end - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#111 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:111 def sanitize_block; end - # source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#96 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:96 def sanitize_statement_end; end end # The following list of tokens will require a block to be opened # if used at the beginning of a statement. # -# source://yard//lib/yard/parser/ruby/legacy/statement_list.rb#11 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/statement_list.rb:11 YARD::Parser::Ruby::Legacy::StatementList::OPEN_BLOCK_TOKENS = T.let(T.unsafe(nil), Array) -# source://yard//lib/yard/parser/ruby/legacy/token_list.rb#4 +# pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:4 class YARD::Parser::Ruby::Legacy::TokenList < ::Array include ::YARD::Parser::Ruby::Legacy::RubyToken # @return [TokenList] a new instance of TokenList # - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#7 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:7 def initialize(content = T.unsafe(nil)); end # @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#35 + # pkg:gem/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 # is parsed with {RubyLex}. # - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#21 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:21 def push(*tokens); end - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#37 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:37 def squeeze(type = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#11 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:11 def to_s(full_statement = T.unsafe(nil), show_block = T.unsafe(nil)); end private - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#53 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:53 def convert_token(lex, tk); end - # source://yard//lib/yard/parser/ruby/legacy/token_list.rb#44 + # pkg:gem/yard#lib/yard/parser/ruby/legacy/token_list.rb:44 def parse_content(content); end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#372 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:372 class YARD::Parser::Ruby::LiteralNode < ::YARD::Parser::Ruby::AstNode # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#373 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:373 def literal?; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#541 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:541 class YARD::Parser::Ruby::LoopNode < ::YARD::Parser::Ruby::KeywordNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#544 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:544 def block; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#543 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:543 def condition; end # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#542 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:542 def loop?; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#438 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:438 class YARD::Parser::Ruby::MethodCallNode < ::YARD::Parser::Ruby::AstNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#464 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:464 def block; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#462 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:462 def block_param; end # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#439 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:439 def call?; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#442 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:442 def method_name(name_only = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/ast_node.rb#440 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:440 def namespace; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#453 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:453 def parameters(include_block_param = T.unsafe(nil)); end private # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#474 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:474 def call_has_paren?; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#470 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:470 def index_adjust; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#479 +# pkg:gem/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 + # pkg:gem/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 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:481 def def?; end # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#480 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:480 def kw?; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#484 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:484 def method_name(name_only = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/ast_node.rb#482 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:482 def namespace; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#489 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:489 def parameters(include_block_param = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/ast_node.rb#495 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:495 def signature; end private - # source://yard//lib/yard/parser/ruby/ast_node.rb#510 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:510 def index_adjust; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#536 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:536 class YARD::Parser::Ruby::ModuleNode < ::YARD::Parser::Ruby::KeywordNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#538 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:538 def block; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#537 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:537 def module_name; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#380 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:380 class YARD::Parser::Ruby::ParameterNode < ::YARD::Parser::Ruby::AstNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#430 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:430 def args_forward; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#426 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:426 def block_param; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#414 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:414 def double_splat_param; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#396 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:396 def named_params; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#406 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:406 def splat_param; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#410 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:410 def unnamed_end_params; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#385 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:385 def unnamed_optional_params; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#381 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:381 def unnamed_required_params; end end -# source://yard//lib/yard/parser/ruby/ast_node.rb#360 +# pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:360 class YARD::Parser::Ruby::ReferenceNode < ::YARD::Parser::Ruby::AstNode - # source://yard//lib/yard/parser/ruby/ast_node.rb#367 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:367 def namespace; end - # source://yard//lib/yard/parser/ruby/ast_node.rb#363 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:363 def path; end # @return [Boolean] # - # source://yard//lib/yard/parser/ruby/ast_node.rb#361 + # pkg:gem/yard#lib/yard/parser/ruby/ast_node.rb:361 def ref?; end end @@ -10278,809 +10278,809 @@ end # # @since 0.5.6 # -# source://yard//lib/yard/parser/ruby/ruby_parser.rb#27 +# pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:27 class YARD::Parser::Ruby::RipperParser < ::Ripper # @return [RipperParser] a new instance of RipperParser # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#32 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:32 def initialize(source, filename, *args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:28 def ast; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:28 def charno; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:28 def comments; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#29 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:29 def encoding_line; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#64 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:64 def enumerator; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:28 def file; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#68 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:68 def file_encoding; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#29 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:29 def frozen_string_line; end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_BEGIN(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_CHAR(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_END(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on___end__(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_alias(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_alias_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_arg_ambiguous(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_arg_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#160 + # pkg:gem/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#160 + # pkg:gem/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#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_args_forward(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_args_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_aryptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_assign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_assign_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_assoc_splat(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_backref(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_backtick(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_begin(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_binary(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_block_var(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_blockarg(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_brace_block(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_break(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_call(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_case(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_class(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_comma(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_command(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_command_call(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_const(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/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#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_const_ref(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_cvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_def(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_defined(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_defs(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_do_block(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_dot2(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_dot3(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_else(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_elsif(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_embexpr_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_embexpr_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_embvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_ensure(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_excessed_comma(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_fcall(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_float(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_fndptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_for(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_gvar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_heredoc_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_heredoc_dedent(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_heredoc_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_hshptn(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_ident(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_if(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_if_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_ifop(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_ignored_nl(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_ignored_sp(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_imaginary(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_in(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_int(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_ivar(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_kw(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_kwrest_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_label_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_lbrace(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_lparen(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_magic_comment(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_massign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#160 + # pkg:gem/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#160 + # pkg:gem/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#160 + # pkg:gem/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#160 + # pkg:gem/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#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_mlhs_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_mlhs_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_module(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#160 + # pkg:gem/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#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_mrhs_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/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#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_next(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_nl(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_nokw_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_op(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_opassign(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_operator_ambiguous(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_param_error(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_paren(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_period(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_qsymbols_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_qsymbols_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_qwords_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_qwords_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_rational(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_rbrace(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_redo(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_regexp_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_regexp_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_regexp_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_regexp_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_rescue_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_rest_param(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_retry(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_return(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_return0(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_rparen(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_sclass(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_semicolon(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_stmts_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_string_concat(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_string_dvar(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_string_embexpr(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_super(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_symbeg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_symbol(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_symbol_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_symbols_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_symbols_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_tlambda(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_tlambeg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_tstring_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_tstring_content(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_tstring_end(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_undef(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_unless(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_unless_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_until(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_until_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_var_alias(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_var_field(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_var_ref(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_vcall(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_when(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_while(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_while_mod(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_word_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_words_beg(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_words_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#186 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:186 def on_words_sep(tok); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#160 + # pkg:gem/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#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_xstring_literal(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#154 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:154 def on_xstring_new(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_yield(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_yield0(*args); end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#168 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:168 def on_zsuper(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#55 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:55 def parse; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#30 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:30 def root; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#29 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:29 def shebang_line; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#28 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:28 def tokens; end private # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#667 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:667 def add_comment(line, node = T.unsafe(nil), before_node = T.unsafe(nil), into = T.unsafe(nil)); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#271 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:271 def add_token(token, data); end # @return [Boolean] # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#611 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:611 def comment_starts_line?(charno); end # @raise [ParserSyntaxError] # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#609 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:609 def compile_error(msg); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#693 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:693 def freeze_tree(node = T.unsafe(nil)); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#620 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:620 def insert_comments; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/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#175 + # pkg:gem/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#168 + # pkg:gem/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#175 + # pkg:gem/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#175 + # pkg:gem/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#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_bare_assoc_hash(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#347 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:347 def on_body_stmt(*args); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#175 + # pkg:gem/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#186 + # pkg:gem/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#175 + # pkg:gem/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#175 + # pkg:gem/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#186 + # pkg:gem/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#186 + # pkg:gem/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#186 + # pkg:gem/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#168 + # pkg:gem/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#186 + # pkg:gem/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#168 + # pkg:gem/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#186 + # pkg:gem/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#175 + # pkg:gem/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#175 + # pkg:gem/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#175 + # pkg:gem/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#186 + # pkg:gem/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#168 + # pkg:gem/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#186 + # pkg:gem/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#175 + # pkg:gem/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#168 + # pkg:gem/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#168 + # pkg:gem/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#175 + # pkg:gem/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#175 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:175 def on_void_stmt; end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#237 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:237 def visit_event(node); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#251 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:251 def visit_event_arr(node); end # @since 0.5.6 # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#259 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:259 def visit_ns_token(token, data, ast_token = T.unsafe(nil)); end end # @since 0.5.6 # -# source://yard//lib/yard/parser/ruby/ruby_parser.rb#133 +# pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:133 YARD::Parser::Ruby::RipperParser::AST_TOKENS = T.let(T.unsafe(nil), Array) # @since 0.5.6 # -# source://yard//lib/yard/parser/ruby/ruby_parser.rb#136 +# pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:136 YARD::Parser::Ruby::RipperParser::COMMENT_SKIP_NODE_TYPES = T.let(T.unsafe(nil), Array) # @since 0.5.6 # -# source://yard//lib/yard/parser/ruby/ruby_parser.rb#78 +# pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:78 YARD::Parser::Ruby::RipperParser::MAPPINGS = T.let(T.unsafe(nil), Hash) # @since 0.5.6 # -# source://yard//lib/yard/parser/ruby/ruby_parser.rb#131 +# pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:131 YARD::Parser::Ruby::RipperParser::REV_MAPPINGS = T.let(T.unsafe(nil), Hash) # Ruby 1.9 parser # -# source://yard//lib/yard/parser/ruby/ruby_parser.rb#12 +# pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:12 class YARD::Parser::Ruby::RubyParser < ::YARD::Parser::Base # @return [RubyParser] a new instance of RubyParser # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#13 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:13 def initialize(source, filename); end # Ruby 1.9 parser # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#21 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:21 def encoding_line; end # Ruby 1.9 parser # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#19 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:19 def enumerator; end # Ruby 1.9 parser # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#22 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:22 def frozen_string_line; end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#17 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:17 def parse; end # Ruby 1.9 parser # - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#20 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:20 def shebang_line; end - # source://yard//lib/yard/parser/ruby/ruby_parser.rb#18 + # pkg:gem/yard#lib/yard/parser/ruby/ruby_parser.rb:18 def tokenize; end end @@ -11088,7 +11088,7 @@ end # the token and a possible {CodeObjects::Base} associated with the # constant or identifier token. # -# source://yard//lib/yard/parser/ruby/token_resolver.rb#8 +# pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:8 class YARD::Parser::Ruby::TokenResolver include ::Enumerable include ::YARD::CodeObjects::NamespaceMapper @@ -11100,7 +11100,7 @@ class YARD::Parser::Ruby::TokenResolver # @raise [ParserSyntaxError] # @return [TokenResolver] a new instance of TokenResolver # - # source://yard//lib/yard/parser/ruby/token_resolver.rb#16 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:16 def initialize(source, namespace = T.unsafe(nil)); end # Iterates over each token, yielding the token and a possible code @@ -11128,51 +11128,51 @@ class YARD::Parser::Ruby::TokenResolver # @yieldparam token [Array(Symbol,String,Array(Integer,Integer))] the # current token object being iterated # - # source://yard//lib/yard/parser/ruby/token_resolver.rb#46 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:46 def each; end protected - # source://yard//lib/yard/parser/ruby/token_resolver.rb#94 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:94 def last_sep; end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#95 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:95 def last_sep=(v); end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#94 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:94 def next_object; end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#95 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:95 def next_object=(v); end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#94 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:94 def object; end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#95 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:95 def object=(v); end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#94 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:94 def skip_group; end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#95 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:95 def skip_group=(v); end private - # source://yard//lib/yard/parser/ruby/token_resolver.rb#112 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:112 def lookup(toktype, name); end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#134 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:134 def object_resolved_types(obj = T.unsafe(nil)); end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#106 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:106 def pop_state; end - # source://yard//lib/yard/parser/ruby/token_resolver.rb#102 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:102 def push_state; end class << self - # source://yard//lib/yard/parser/ruby/token_resolver.rb#92 + # pkg:gem/yard#lib/yard/parser/ruby/token_resolver.rb:92 def state_attr(*attrs); end end end @@ -11190,35 +11190,35 @@ end # @see Handlers::Base # @see register_parser_type # -# source://yard//lib/yard/parser/source_parser.rb#63 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:63 class YARD::Parser::SourceParser # @overload initialize # @return [SourceParser] a new instance of SourceParser # - # source://yard//lib/yard/parser/source_parser.rb#406 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:406 def initialize(parser_type = T.unsafe(nil), globals1 = T.unsafe(nil), globals2 = T.unsafe(nil)); end # @return [String] the contents of the file to be parsed # @since 0.7.0 # - # source://yard//lib/yard/parser/source_parser.rb#399 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:399 def contents; end # @return [String] the filename being parsed by the parser. # - # source://yard//lib/yard/parser/source_parser.rb#386 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:386 def file; end # @return [String] the filename being parsed by the parser. # - # source://yard//lib/yard/parser/source_parser.rb#386 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:386 def file=(_arg0); end # @return [OpenStruct] an open struct containing arbitrary global state # shared between files and handlers. # @since 0.7.0 # - # source://yard//lib/yard/parser/source_parser.rb#395 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:395 def globals; end # The main parser method. This should not be called directly. Instead, @@ -11227,13 +11227,13 @@ class YARD::Parser::SourceParser # @param content [String, #read, Object] the source file to parse # @return [Object, nil] the parser object used to parse the source # - # source://yard//lib/yard/parser/source_parser.rb#418 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:418 def parse(content = T.unsafe(nil)); end # @return [Symbol] the parser type associated with the parser instance. # This should be set by the {#initialize constructor}. # - # source://yard//lib/yard/parser/source_parser.rb#390 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:390 def parser_type; end # Tokenizes but does not parse the block of code using the current {#parser_type} @@ -11241,7 +11241,7 @@ class YARD::Parser::SourceParser # @param content [String] the block of code to tokenize # @return [Array] a list of tokens # - # source://yard//lib/yard/parser/source_parser.rb#462 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:462 def tokenize(content); end private @@ -11250,15 +11250,15 @@ class YARD::Parser::SourceParser # # @since 0.5.3 # - # source://yard//lib/yard/parser/source_parser.rb#471 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:471 def convert_encoding(content); end # @since 0.5.6 # - # source://yard//lib/yard/parser/source_parser.rb#515 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:515 def parser_class; end - # source://yard//lib/yard/parser/source_parser.rb#500 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:500 def parser_type=(value); end # Guesses the parser type to use depending on the file extension. @@ -11266,14 +11266,14 @@ class YARD::Parser::SourceParser # @param filename [String] the filename to use to guess the parser type # @return [Symbol] a parser type that matches the filename # - # source://yard//lib/yard/parser/source_parser.rb#508 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:508 def parser_type_for_filename(filename); end # Runs a {Handlers::Processor} object to post process the parsed statements. # # @return [void] # - # source://yard//lib/yard/parser/source_parser.rb#490 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:490 def post_process; end class << self @@ -11302,14 +11302,14 @@ class YARD::Parser::SourceParser # the file. # @yieldreturn [void] the return value for the block is ignored. # - # source://yard//lib/yard/parser/source_parser.rb#324 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:324 def after_parse_file(&block); end # @return [Array] the list of callbacks to be called after # parsing a file. Should only be used for testing. # @since 0.7.0 # - # source://yard//lib/yard/parser/source_parser.rb#352 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:352 def after_parse_file_callbacks; end # Registers a callback to be called after a list of files is parsed @@ -11333,14 +11333,14 @@ class YARD::Parser::SourceParser # state for post processing (see {Handlers::Processor#globals}) # @yieldreturn [void] the return value for the block is ignored. # - # source://yard//lib/yard/parser/source_parser.rb#258 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:258 def after_parse_list(&block); end # @return [Array] the list of callbacks to be called after # parsing a list of files. Should only be used for testing. # @since 0.7.0 # - # source://yard//lib/yard/parser/source_parser.rb#338 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:338 def after_parse_list_callbacks; end # Registers a callback to be called before an individual file is parsed. @@ -11375,14 +11375,14 @@ class YARD::Parser::SourceParser # @yieldreturn [Boolean] if the block returns +false+, parsing for # the file is cancelled. # - # source://yard//lib/yard/parser/source_parser.rb#295 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:295 def before_parse_file(&block); end # @return [Array] the list of callbacks to be called before # parsing a file. Should only be used for testing. # @since 0.7.0 # - # source://yard//lib/yard/parser/source_parser.rb#345 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:345 def before_parse_file_callbacks; end # Registers a callback to be called before a list of files is parsed @@ -11427,14 +11427,14 @@ class YARD::Parser::SourceParser # @yieldreturn [Boolean] if the block returns +false+, parsing is # cancelled. # - # source://yard//lib/yard/parser/source_parser.rb#234 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:234 def before_parse_list(&block); end # @return [Array] the list of callbacks to be called before # parsing a list of files. Should only be used for testing. # @since 0.7.0 # - # source://yard//lib/yard/parser/source_parser.rb#331 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:331 def before_parse_list_callbacks; end # Parses a path or set of paths @@ -11446,7 +11446,7 @@ class YARD::Parser::SourceParser # parse # @return [void] # - # source://yard//lib/yard/parser/source_parser.rb#99 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:99 def parse(paths = T.unsafe(nil), excluded = T.unsafe(nil), level = T.unsafe(nil)); end # Parses a string +content+ @@ -11455,25 +11455,25 @@ class YARD::Parser::SourceParser # @param ptype [Symbol] the parser type to use. See {parser_type}. # @return the parser object that was used to parse +content+ # - # source://yard//lib/yard/parser/source_parser.rb#123 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:123 def parse_string(content, ptype = T.unsafe(nil)); end # @return [Symbol] the default parser type (defaults to :ruby) # - # source://yard//lib/yard/parser/source_parser.rb#85 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:85 def parser_type; end - # source://yard//lib/yard/parser/source_parser.rb#87 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:87 def parser_type=(value); end # @private # @return [Hash] a list of registered parser type extensions # @since 0.5.6 # - # source://yard//lib/yard/parser/source_parser.rb#163 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:163 def parser_type_extensions; end - # source://yard//lib/yard/parser/source_parser.rb#164 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:164 def parser_type_extensions=(value); end # Finds a parser type that is registered for the extension. If no @@ -11482,17 +11482,17 @@ class YARD::Parser::SourceParser # @return [Symbol] the parser type to be used for the extension # @since 0.5.6 # - # source://yard//lib/yard/parser/source_parser.rb#171 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:171 def parser_type_for_extension(extension); end # @private # @return [Hash{Symbol=>Object}] a list of registered parser types # @since 0.5.6 # - # source://yard//lib/yard/parser/source_parser.rb#157 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:157 def parser_types; end - # source://yard//lib/yard/parser/source_parser.rb#158 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:158 def parser_types=(value); end # Registers a new parser type. @@ -11506,7 +11506,7 @@ class YARD::Parser::SourceParser # @return [void] # @see Parser::Base # - # source://yard//lib/yard/parser/source_parser.rb#146 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:146 def register_parser_type(type, parser_klass, extensions = T.unsafe(nil)); end # Tokenizes but does not parse the block of code @@ -11515,7 +11515,7 @@ class YARD::Parser::SourceParser # @param ptype [Symbol] the parser type to use. See {parser_type}. # @return [Array] a list of tokens # - # source://yard//lib/yard/parser/source_parser.rb#132 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:132 def tokenize(content, ptype = T.unsafe(nil)); end # Returns the validated parser type. Basically, enforces that :ruby @@ -11525,7 +11525,7 @@ class YARD::Parser::SourceParser # @private # @return [Symbol] the validated parser type # - # source://yard//lib/yard/parser/source_parser.rb#184 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:184 def validated_parser_type(type); end private @@ -11535,7 +11535,7 @@ class YARD::Parser::SourceParser # @param files [Array] a list of files to queue for parsing # @return [void] # - # source://yard//lib/yard/parser/source_parser.rb#364 + # pkg:gem/yard#lib/yard/parser/source_parser.rb:364 def parse_in_order(*files); end end end @@ -11544,45 +11544,45 @@ end # # @since 0.9.0 # -# source://yard//lib/yard/parser/source_parser.rb#70 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:70 YARD::Parser::SourceParser::DEFAULT_PATH_GLOB = T.let(T.unsafe(nil), Array) # Byte order marks for various encodings # # @since 0.7.0 # -# source://yard//lib/yard/parser/source_parser.rb#74 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:74 YARD::Parser::SourceParser::ENCODING_BYTE_ORDER_MARKS = T.let(T.unsafe(nil), Hash) -# source://yard//lib/yard/parser/source_parser.rb#65 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:65 YARD::Parser::SourceParser::ENCODING_LINE = T.let(T.unsafe(nil), Regexp) -# source://yard//lib/yard/parser/source_parser.rb#66 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:66 YARD::Parser::SourceParser::FROZEN_STRING_LINE = T.let(T.unsafe(nil), Regexp) -# source://yard//lib/yard/parser/source_parser.rb#64 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:64 YARD::Parser::SourceParser::SHEBANG_LINE = T.let(T.unsafe(nil), Regexp) # Raised when an object is recognized but cannot be documented. This # generally occurs when the Ruby syntax used to declare an object is # too dynamic in nature. # -# source://yard//lib/yard/parser/source_parser.rb#9 +# pkg:gem/yard#lib/yard/parser/source_parser.rb:9 class YARD::Parser::UndocumentableError < ::RuntimeError; end # The root path for YARD source libraries # -# source://yard//lib/yard.rb#4 +# pkg:gem/yard#lib/yard.rb:4 YARD::ROOT = T.let(T.unsafe(nil), String) # Holds Rake tasks used by YARD # -# source://yard//lib/yard/autoload.rb#192 +# pkg:gem/yard#lib/yard/autoload.rb:192 module YARD::Rake; end # The rake task to run {CLI::Yardoc} and generate documentation. # -# source://yard//lib/yard/rake/yardoc_task.rb#8 +# pkg:gem/yard#lib/yard/rake/yardoc_task.rb:8 class YARD::Rake::YardocTask < ::Rake::TaskLib # Creates a new task with name +name+. # @@ -11592,35 +11592,35 @@ class YARD::Rake::YardocTask < ::Rake::TaskLib # @yieldparam _self [YardocTask] the task object to allow any parameters # to be changed. # - # source://yard//lib/yard/rake/yardoc_task.rb#50 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:50 def initialize(name = T.unsafe(nil)); end # Runs a +Proc+ after the task # # @return [Proc] a proc to call after running the task # - # source://yard//lib/yard/rake/yardoc_task.rb#36 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:36 def after; end # Runs a +Proc+ after the task # # @return [Proc] a proc to call after running the task # - # source://yard//lib/yard/rake/yardoc_task.rb#36 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:36 def after=(_arg0); end # Runs a +Proc+ before the task # # @return [Proc] a proc to call before running the task # - # source://yard//lib/yard/rake/yardoc_task.rb#32 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:32 def before; end # Runs a +Proc+ before the task # # @return [Proc] a proc to call before running the task # - # source://yard//lib/yard/rake/yardoc_task.rb#32 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:32 def before=(_arg0); end # The Ruby source files (and any extra documentation files separated by '-') @@ -11632,7 +11632,7 @@ class YARD::Rake::YardocTask < ::Rake::TaskLib # end # @return [Array] a list of files # - # source://yard//lib/yard/rake/yardoc_task.rb#28 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:28 def files; end # The Ruby source files (and any extra documentation files separated by '-') @@ -11644,49 +11644,49 @@ class YARD::Rake::YardocTask < ::Rake::TaskLib # end # @return [Array] a list of files # - # source://yard//lib/yard/rake/yardoc_task.rb#28 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:28 def files=(_arg0); end # The name of the task # # @return [String] the task name # - # source://yard//lib/yard/rake/yardoc_task.rb#11 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:11 def name; end # The name of the task # # @return [String] the task name # - # source://yard//lib/yard/rake/yardoc_task.rb#11 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:11 def name=(_arg0); end # Options to pass to {CLI::Yardoc} # # @return [Array] the options passed to the commandline utility # - # source://yard//lib/yard/rake/yardoc_task.rb#15 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:15 def options; end # Options to pass to {CLI::Yardoc} # # @return [Array] the options passed to the commandline utility # - # source://yard//lib/yard/rake/yardoc_task.rb#15 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:15 def options=(_arg0); end # Options to pass to {CLI::Stats} # # @return [Array] the options passed to the stats utility # - # source://yard//lib/yard/rake/yardoc_task.rb#19 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:19 def stats_options; end # Options to pass to {CLI::Stats} # # @return [Array] the options passed to the stats utility # - # source://yard//lib/yard/rake/yardoc_task.rb#19 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:19 def stats_options=(_arg0); end # @return [Verifier, Proc] an optional {Verifier} to run against all objects @@ -11694,7 +11694,7 @@ class YARD::Rake::YardocTask < ::Rake::TaskLib # excluded from documentation. This attribute can also be a lambda. # @see Verifier # - # source://yard//lib/yard/rake/yardoc_task.rb#42 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:42 def verifier; end # @return [Verifier, Proc] an optional {Verifier} to run against all objects @@ -11702,7 +11702,7 @@ class YARD::Rake::YardocTask < ::Rake::TaskLib # excluded from documentation. This attribute can also be a lambda. # @see Verifier # - # source://yard//lib/yard/rake/yardoc_task.rb#42 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:42 def verifier=(_arg0); end protected @@ -11711,7 +11711,7 @@ class YARD::Rake::YardocTask < ::Rake::TaskLib # # @return [void] # - # source://yard//lib/yard/rake/yardoc_task.rb#68 + # pkg:gem/yard#lib/yard/rake/yardoc_task.rb:68 def define; end end @@ -11742,7 +11742,7 @@ end # @example Performing a lookup on a method anywhere in the inheritance tree # Registry.resolve(P('YARD::CodeObjects::Base'), '#docstring', true) # -# source://yard//lib/yard/registry.rb#32 +# pkg:gem/yard#lib/yard/registry.rb:32 module YARD::Registry extend ::Enumerable @@ -11754,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#262 + # pkg:gem/yard#lib/yard/registry.rb:262 def [](path); end # Returns all objects in the registry that match one of the types provided @@ -11770,7 +11770,7 @@ module YARD::Registry # @return [Array] the list of objects found # @see CodeObjects::Base#type # - # source://yard//lib/yard/registry.rb#237 + # pkg:gem/yard#lib/yard/registry.rb:237 def all(*types); end # Returns the object at a specific path. @@ -11780,25 +11780,25 @@ module YARD::Registry # @return [CodeObjects::Base] the object at path # @return [nil] if no object is found # - # source://yard//lib/yard/registry.rb#261 + # pkg:gem/yard#lib/yard/registry.rb:261 def at(path); end # @param data [String] data to checksum # @return [String] the SHA1 checksum for data # - # source://yard//lib/yard/registry.rb#318 + # pkg:gem/yard#lib/yard/registry.rb:318 def checksum_for(data); end # @return [Hash{String => String}] a set of checksums for files # - # source://yard//lib/yard/registry.rb#312 + # pkg:gem/yard#lib/yard/registry.rb:312 def checksums; end # Clears the registry # # @return [void] # - # source://yard//lib/yard/registry.rb#200 + # pkg:gem/yard#lib/yard/registry.rb:200 def clear; end # Deletes an object from the registry @@ -11806,19 +11806,19 @@ module YARD::Registry # @param object [CodeObjects::Base] the object to remove # @return [void] # - # source://yard//lib/yard/registry.rb#194 + # pkg:gem/yard#lib/yard/registry.rb:194 def delete(object); end # Deletes the yardoc file from disk # # @return [void] # - # source://yard//lib/yard/registry.rb#176 + # pkg:gem/yard#lib/yard/registry.rb:176 def delete_from_disk; end # Iterates over {all} with no arguments # - # source://yard//lib/yard/registry.rb#221 + # pkg:gem/yard#lib/yard/registry.rb:221 def each(&block); end # The registry singleton instance. @@ -11826,7 +11826,7 @@ module YARD::Registry # @deprecated use Registry.methodname directly. # @return [Registry] returns the registry instance # - # source://yard//lib/yard/registry.rb#363 + # pkg:gem/yard#lib/yard/registry.rb:363 def instance; end # Loads the registry and/or parses a list of files @@ -11845,7 +11845,7 @@ module YARD::Registry # @raise [ArgumentError] if files is not a String or Array # @return [Registry] the registry object (for chaining) # - # source://yard//lib/yard/registry.rb#109 + # pkg:gem/yard#lib/yard/registry.rb:109 def load(files = T.unsafe(nil), reparse = T.unsafe(nil)); end # Loads a yardoc file and forces all objects cached on disk into @@ -11857,7 +11857,7 @@ module YARD::Registry # @see #load_yardoc # @since 0.5.1 # - # source://yard//lib/yard/registry.rb#144 + # pkg:gem/yard#lib/yard/registry.rb:144 def load!(file = T.unsafe(nil)); end # Forces all objects cached on disk into memory @@ -11870,7 +11870,7 @@ module YARD::Registry # @return [Registry] the registry object (for chaining) # @since 0.5.1 # - # source://yard//lib/yard/registry.rb#159 + # pkg:gem/yard#lib/yard/registry.rb:159 def load_all; end # Loads a yardoc file directly @@ -11878,14 +11878,14 @@ module YARD::Registry # @param file [String] the yardoc file to load. # @return [Registry] the registry object (for chaining) # - # source://yard//lib/yard/registry.rb#130 + # pkg:gem/yard#lib/yard/registry.rb:130 def load_yardoc(file = T.unsafe(nil)); end # @param name [String] the locale name. # @return [I18n::Locale] the locale object for +name+. # @since 0.8.3 # - # source://yard//lib/yard/registry.rb#271 + # pkg:gem/yard#lib/yard/registry.rb:271 def locale(name); end # Creates a pessmistic transactional lock on the database for writing. @@ -11894,12 +11894,12 @@ module YARD::Registry # # @see locked_for_writing? # - # source://yard//lib/yard/registry.rb#209 + # pkg:gem/yard#lib/yard/registry.rb:209 def lock_for_writing(file = T.unsafe(nil), &block); end # @return [Boolean] whether the database is currently locked for writing # - # source://yard//lib/yard/registry.rb#214 + # pkg:gem/yard#lib/yard/registry.rb:214 def locked_for_writing?(file = T.unsafe(nil)); end # Returns the paths of all of the objects in the registry. @@ -11907,21 +11907,21 @@ module YARD::Registry # @param reload [Boolean] whether to load entire database # @return [Array] all of the paths in the registry. # - # source://yard//lib/yard/registry.rb#252 + # pkg:gem/yard#lib/yard/registry.rb:252 def paths(reload = T.unsafe(nil)); end # Gets/sets the directory that has LANG.po files # # @return [String] the directory that has .po files # - # source://yard//lib/yard/registry.rb#349 + # pkg:gem/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#349 + # pkg:gem/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 @@ -11930,7 +11930,7 @@ module YARD::Registry # @private # @return [{String => Symbol}] a set of unresolved paths and their assumed type # - # source://yard//lib/yard/registry.rb#341 + # pkg:gem/yard#lib/yard/registry.rb:341 def proxy_types; end # Registers a new object with the registry @@ -11938,7 +11938,7 @@ module YARD::Registry # @param object [CodeObjects::Base] the object to register # @return [CodeObjects::Base] the registered object # - # source://yard//lib/yard/registry.rb#186 + # pkg:gem/yard#lib/yard/registry.rb:186 def register(object); end # Attempts to find an object by name starting at +namespace+, performing @@ -11970,14 +11970,14 @@ module YARD::Registry # @return [nil] if +proxy_fallback+ is +false+ and no object was found. # @see P # - # source://yard//lib/yard/registry.rb#303 + # pkg:gem/yard#lib/yard/registry.rb:303 def resolve(namespace, name, inheritance = T.unsafe(nil), proxy_fallback = T.unsafe(nil), type = T.unsafe(nil)); end # The root namespace object. # # @return [CodeObjects::RootObject] the root object in the namespace # - # source://yard//lib/yard/registry.rb#266 + # pkg:gem/yard#lib/yard/registry.rb:266 def root; end # Saves the registry to +file+ @@ -11985,7 +11985,7 @@ module YARD::Registry # @param file [String] the yardoc file to save to # @return [Boolean] true if the file was saved # - # source://yard//lib/yard/registry.rb#170 + # pkg:gem/yard#lib/yard/registry.rb:170 def save(merge = T.unsafe(nil), file = T.unsafe(nil)); end # Whether or not the Registry storage should load everything into a @@ -11997,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#332 + # pkg:gem/yard#lib/yard/registry.rb:332 def single_object_db; end # Whether or not the Registry storage should load everything into a @@ -12009,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#332 + # pkg:gem/yard#lib/yard/registry.rb:332 def single_object_db=(v); end # Gets/sets the yardoc filename @@ -12017,7 +12017,7 @@ module YARD::Registry # @return [String] the yardoc filename # @see DEFAULT_YARDOC_FILE # - # source://yard//lib/yard/registry.rb#84 + # pkg:gem/yard#lib/yard/registry.rb:84 def yardoc_file; end # Gets/sets the yardoc filename @@ -12025,7 +12025,7 @@ module YARD::Registry # @return [String] the yardoc filename # @see DEFAULT_YARDOC_FILE # - # source://yard//lib/yard/registry.rb#84 + # pkg:gem/yard#lib/yard/registry.rb:84 def yardoc_file=(v); end # Returns the .yardoc file associated with a gem. @@ -12040,18 +12040,18 @@ module YARD::Registry # @return [nil] if +for_writing+ is set to false and no yardoc file # is found, returns nil. # - # source://yard//lib/yard/registry.rb#53 + # pkg:gem/yard#lib/yard/registry.rb:53 def yardoc_file_for_gem(gem, ver_require = T.unsafe(nil), for_writing = T.unsafe(nil)); end private - # source://yard//lib/yard/registry.rb#390 + # pkg:gem/yard#lib/yard/registry.rb:390 def global_yardoc_file(spec, for_writing = T.unsafe(nil)); end - # source://yard//lib/yard/registry.rb#410 + # pkg:gem/yard#lib/yard/registry.rb:410 def local_yardoc_file(spec, for_writing = T.unsafe(nil)); end - # source://yard//lib/yard/registry.rb#403 + # pkg:gem/yard#lib/yard/registry.rb:403 def old_global_yardoc_file(spec, for_writing = T.unsafe(nil)); end # Attempts to resolve a name in a namespace @@ -12061,33 +12061,33 @@ module YARD::Registry # @param type [Symbol, nil] the {CodeObjects::Base#type} that the resolved # object must be equal to # - # source://yard//lib/yard/registry.rb#375 + # pkg:gem/yard#lib/yard/registry.rb:375 def partial_resolve(namespace, name, type = T.unsafe(nil)); end # @since 0.9.1 # - # source://yard//lib/yard/registry.rb#434 + # pkg:gem/yard#lib/yard/registry.rb:434 def thread_local_resolver; end # @since 0.6.5 # - # source://yard//lib/yard/registry.rb#424 + # pkg:gem/yard#lib/yard/registry.rb:424 def thread_local_store; end # @since 0.6.5 # - # source://yard//lib/yard/registry.rb#429 + # pkg:gem/yard#lib/yard/registry.rb:429 def thread_local_store=(value); end end end -# source://yard//lib/yard/registry.rb#35 +# pkg:gem/yard#lib/yard/registry.rb:35 YARD::Registry::DEFAULT_PO_DIR = T.let(T.unsafe(nil), String) -# source://yard//lib/yard/registry.rb#33 +# pkg:gem/yard#lib/yard/registry.rb:33 YARD::Registry::DEFAULT_YARDOC_FILE = T.let(T.unsafe(nil), String) -# source://yard//lib/yard/registry.rb#34 +# pkg:gem/yard#lib/yard/registry.rb:34 YARD::Registry::LOCAL_YARDOC_INDEX = T.let(T.unsafe(nil), String) # Handles all logic for complex lexical and inherited object resolution. @@ -12097,7 +12097,7 @@ YARD::Registry::LOCAL_YARDOC_INDEX = T.let(T.unsafe(nil), String) # @see Registry.resolve # @since 0.9.1 # -# source://yard//lib/yard/registry_resolver.rb#9 +# pkg:gem/yard#lib/yard/registry_resolver.rb:9 class YARD::RegistryResolver include ::YARD::CodeObjects::NamespaceMapper @@ -12108,7 +12108,7 @@ class YARD::RegistryResolver # @return [RegistryResolver] a new instance of RegistryResolver # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#16 + # pkg:gem/yard#lib/yard/registry_resolver.rb:16 def initialize(registry = T.unsafe(nil)); end # Performs a lookup on a given path in the registry. Resolution will occur @@ -12134,7 +12134,7 @@ class YARD::RegistryResolver # be returned. # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#50 + # pkg:gem/yard#lib/yard/registry_resolver.rb:50 def lookup_by_path(path, opts = T.unsafe(nil)); end private @@ -12143,48 +12143,48 @@ class YARD::RegistryResolver # # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#181 + # pkg:gem/yard#lib/yard/registry_resolver.rb:181 def collect_namespaces(object); end # Performs a lexical lookup from a namespace for a path and a type hint. # # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#104 + # pkg:gem/yard#lib/yard/registry_resolver.rb:104 def lookup_path_direct(namespace, path, type); end # Performs a lookup through the inheritance chain on a path with a type hint. # # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#121 + # pkg:gem/yard#lib/yard/registry_resolver.rb:121 def lookup_path_inherited(namespace, path, type); end # @return [Regexp] the regexp that can be used to split a string on all # occurrences of separator tokens # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#206 + # pkg:gem/yard#lib/yard/registry_resolver.rb:206 def split_on_separators_match; end # @return [Regexp] the regexp match of the default separator # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#194 + # pkg:gem/yard#lib/yard/registry_resolver.rb:194 def starts_with_default_separator_match; end # @return [Regexp] the regexp that matches strings starting with # a separator # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#200 + # pkg:gem/yard#lib/yard/registry_resolver.rb:200 def starts_with_separator_match; end # return [Boolean] if the obj's type matches the provided type. # # @since 0.9.1 # - # source://yard//lib/yard/registry_resolver.rb#99 + # pkg:gem/yard#lib/yard/registry_resolver.rb:99 def validate(obj, type); end end @@ -12193,11 +12193,11 @@ end # @see Registry # @see Serializers::YardocSerializer # -# source://yard//lib/yard/registry_store.rb#9 +# pkg:gem/yard#lib/yard/registry_store.rb:9 class YARD::RegistryStore # @return [RegistryStore] a new instance of RegistryStore # - # source://yard//lib/yard/registry_store.rb#14 + # pkg:gem/yard#lib/yard/registry_store.rb:14 def initialize; end # Gets a {CodeObjects::Base} from the store @@ -12206,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#69 + # pkg:gem/yard#lib/yard/registry_store.rb:69 def [](key); end # Associates an object with a path @@ -12215,12 +12215,12 @@ class YARD::RegistryStore # @param value [CodeObjects::Base] the object to store # @return [CodeObjects::Base] returns +value+ # - # source://yard//lib/yard/registry_store.rb#70 + # pkg:gem/yard#lib/yard/registry_store.rb:70 def []=(key, value); end # Returns the value of attribute checksums. # - # source://yard//lib/yard/registry_store.rb#12 + # pkg:gem/yard#lib/yard/registry_store.rb:12 def checksums; end # Deletes an object at a given path @@ -12228,7 +12228,7 @@ class YARD::RegistryStore # @param key [#to_sym] the key to delete # @return [void] # - # source://yard//lib/yard/registry_store.rb#75 + # pkg:gem/yard#lib/yard/registry_store.rb:75 def delete(key); end # Deletes the .yardoc database on disk @@ -12239,12 +12239,12 @@ class YARD::RegistryStore # @return [Boolean] true if the .yardoc database was deleted, false # otherwise. # - # source://yard//lib/yard/registry_store.rb#218 + # pkg:gem/yard#lib/yard/registry_store.rb:218 def destroy(force = T.unsafe(nil)); end # Returns the value of attribute file. # - # source://yard//lib/yard/registry_store.rb#12 + # pkg:gem/yard#lib/yard/registry_store.rb:12 def file; end # Gets a {CodeObjects::Base} from the store @@ -12253,7 +12253,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 + # pkg:gem/yard#lib/yard/registry_store.rb:33 def get(key); end # Gets all path names from the store. Loads the entire database @@ -12263,13 +12263,13 @@ class YARD::RegistryStore # before a lookup. # @return [Array] the path names of all the code objects # - # source://yard//lib/yard/registry_store.rb#88 + # pkg:gem/yard#lib/yard/registry_store.rb:88 def keys(reload = T.unsafe(nil)); end # @param file [String, nil] the name of the yardoc db to load # @return [Boolean] whether the database was loaded # - # source://yard//lib/yard/registry_store.rb#128 + # pkg:gem/yard#lib/yard/registry_store.rb:128 def load(file = T.unsafe(nil)); end # Loads the .yardoc file and loads all cached objects into memory @@ -12280,21 +12280,21 @@ class YARD::RegistryStore # @see #load_all # @since 0.5.1 # - # source://yard//lib/yard/registry_store.rb#142 + # pkg:gem/yard#lib/yard/registry_store.rb:142 def load!(file = T.unsafe(nil)); end # Loads all cached objects into memory # # @return [void] # - # source://yard//lib/yard/registry_store.rb#153 + # pkg:gem/yard#lib/yard/registry_store.rb:153 def load_all; end # @param name [String] the locale name. # @return [I18n::Locale] the locale object for +name+. # @since 0.8.3 # - # source://yard//lib/yard/registry_store.rb#122 + # pkg:gem/yard#lib/yard/registry_store.rb:122 def locale(name); end # Creates a pessmistic transactional lock on the database for writing. @@ -12304,13 +12304,13 @@ class YARD::RegistryStore # @param file [String] if supplied, the path to the database # @see #locked_for_writing? # - # source://yard//lib/yard/registry_store.rb#201 + # pkg:gem/yard#lib/yard/registry_store.rb:201 def lock_for_writing(file = T.unsafe(nil), &block); end # @param file [String] if supplied, the path to the database # @return [Boolean] whether the database is currently locked for writing # - # source://yard//lib/yard/registry_store.rb#207 + # pkg:gem/yard#lib/yard/registry_store.rb:207 def locked_for_writing?(file = T.unsafe(nil)); end # @param type [Symbol] the type to look for @@ -12318,12 +12318,12 @@ class YARD::RegistryStore # {CodeObjects::Base#type} # @since 0.8.0 # - # source://yard//lib/yard/registry_store.rb#102 + # pkg:gem/yard#lib/yard/registry_store.rb:102 def paths_for_type(type, reload = T.unsafe(nil)); end # @deprecated The registry no longer tracks proxy types # - # source://yard//lib/yard/registry_store.rb#11 + # pkg:gem/yard#lib/yard/registry_store.rb:11 def proxy_types; end # Associates an object with a path @@ -12332,12 +12332,12 @@ class YARD::RegistryStore # @param value [CodeObjects::Base] the object to store # @return [CodeObjects::Base] returns +value+ # - # source://yard//lib/yard/registry_store.rb#55 + # pkg:gem/yard#lib/yard/registry_store.rb:55 def put(key, value); end # @return [CodeObjects::RootObject] the root object # - # source://yard//lib/yard/registry_store.rb#117 + # pkg:gem/yard#lib/yard/registry_store.rb:117 def root; end # Saves the database to disk @@ -12347,7 +12347,7 @@ class YARD::RegistryStore # data on disk, otherwise the data on disk is deleted. # @return [Boolean] whether the database was saved # - # source://yard//lib/yard/registry_store.rb#177 + # pkg:gem/yard#lib/yard/registry_store.rb:177 def save(merge = T.unsafe(nil), file = T.unsafe(nil)); end # Gets all code objects from the store. Loads the entire database @@ -12357,7 +12357,7 @@ class YARD::RegistryStore # before a lookup. # @return [Array] all the code objects # - # source://yard//lib/yard/registry_store.rb#96 + # pkg:gem/yard#lib/yard/registry_store.rb:96 def values(reload = T.unsafe(nil)); end # @param type [Symbol] the type to look for @@ -12365,71 +12365,71 @@ class YARD::RegistryStore # {CodeObjects::Base#type} # @since 0.8.0 # - # source://yard//lib/yard/registry_store.rb#111 + # pkg:gem/yard#lib/yard/registry_store.rb:111 def values_for_type(type, reload = T.unsafe(nil)); end protected - # source://yard//lib/yard/registry_store.rb#243 + # pkg:gem/yard#lib/yard/registry_store.rb:243 def checksums_path; end - # source://yard//lib/yard/registry_store.rb#251 + # pkg:gem/yard#lib/yard/registry_store.rb:251 def load_yardoc; end - # source://yard//lib/yard/registry_store.rb#247 + # pkg:gem/yard#lib/yard/registry_store.rb:247 def object_types_path; end - # source://yard//lib/yard/registry_store.rb#234 + # pkg:gem/yard#lib/yard/registry_store.rb:234 def objects_path; end # @deprecated The registry no longer tracks proxy types # - # source://yard//lib/yard/registry_store.rb#239 + # pkg:gem/yard#lib/yard/registry_store.rb:239 def proxy_types_path; end private - # source://yard//lib/yard/registry_store.rb#319 + # pkg:gem/yard#lib/yard/registry_store.rb:319 def all_disk_objects; end - # source://yard//lib/yard/registry_store.rb#291 + # pkg:gem/yard#lib/yard/registry_store.rb:291 def load_checksums; end - # source://yard//lib/yard/registry_store.rb#313 + # pkg:gem/yard#lib/yard/registry_store.rb:313 def load_locale(name); end - # source://yard//lib/yard/registry_store.rb#281 + # pkg:gem/yard#lib/yard/registry_store.rb:281 def load_object_types; end # @deprecated The registry no longer tracks proxy types # - # source://yard//lib/yard/registry_store.rb#276 + # pkg:gem/yard#lib/yard/registry_store.rb:276 def load_proxy_types; end - # source://yard//lib/yard/registry_store.rb#299 + # pkg:gem/yard#lib/yard/registry_store.rb:299 def load_root; end - # source://yard//lib/yard/registry_store.rb#271 + # pkg:gem/yard#lib/yard/registry_store.rb:271 def load_yardoc_old; end - # source://yard//lib/yard/registry_store.rb#332 + # pkg:gem/yard#lib/yard/registry_store.rb:332 def write_checksums; end - # source://yard//lib/yard/registry_store.rb#338 + # pkg:gem/yard#lib/yard/registry_store.rb:338 def write_complete_lock; end - # source://yard//lib/yard/registry_store.rb#328 + # pkg:gem/yard#lib/yard/registry_store.rb:328 def write_object_types; end # @deprecated The registry no longer tracks proxy types # - # source://yard//lib/yard/registry_store.rb#324 + # pkg:gem/yard#lib/yard/registry_store.rb:324 def write_proxy_types; end end # Namespace for components that serialize to various endpoints # -# source://yard//lib/yard/autoload.rb#196 +# pkg:gem/yard#lib/yard/autoload.rb:196 module YARD::Serializers; end # The abstract base serializer. Serializers allow templates to be @@ -12446,14 +12446,14 @@ module YARD::Serializers; end # # @abstract Override this class to implement a custom serializer. # -# source://yard//lib/yard/serializers/base.rb#17 +# pkg:gem/yard#lib/yard/serializers/base.rb:17 class YARD::Serializers::Base # Creates a new serializer with options # # @param opts [Hash] the options to assign to {#options} # @return [Base] a new instance of Base # - # source://yard//lib/yard/serializers/base.rb#28 + # pkg:gem/yard#lib/yard/serializers/base.rb:28 def initialize(opts = T.unsafe(nil)); end # Called after serialization. @@ -12462,7 +12462,7 @@ class YARD::Serializers::Base # @param data [String] the data that was serialized. # @return [void] # - # source://yard//lib/yard/serializers/base.rb#80 + # pkg:gem/yard#lib/yard/serializers/base.rb:80 def after_serialize(data); end # Called before serialization. @@ -12471,7 +12471,7 @@ class YARD::Serializers::Base # if serialization should not occur. # @return [Boolean] whether or not serialization should occur # - # source://yard//lib/yard/serializers/base.rb#73 + # pkg:gem/yard#lib/yard/serializers/base.rb:73 def before_serialize; end # Returns whether an object has been serialized @@ -12484,14 +12484,14 @@ class YARD::Serializers::Base # @return [Boolean] whether the endpoint exists. # @since 0.6.0 # - # source://yard//lib/yard/serializers/base.rb#62 + # pkg:gem/yard#lib/yard/serializers/base.rb:62 def exists?(object); end # All serializer options are saved so they can be passed to other serializers. # # @return [SymbolHash] the serializer options # - # source://yard//lib/yard/serializers/base.rb#21 + # pkg:gem/yard#lib/yard/serializers/base.rb:21 def options; end # Serializes an object. @@ -12503,7 +12503,7 @@ class YARD::Serializers::Base # @param object [CodeObjects::Base, String] the object to serialize the # data for. The object can also be a string (for non-object serialization) # - # source://yard//lib/yard/serializers/base.rb#42 + # pkg:gem/yard#lib/yard/serializers/base.rb:42 def serialize(object, data); end # The serialized path of an object @@ -12514,13 +12514,13 @@ class YARD::Serializers::Base # @param object [CodeObjects::Base] the object to return a path for # @return [String] the serialized path of an object # - # source://yard//lib/yard/serializers/base.rb#51 + # pkg:gem/yard#lib/yard/serializers/base.rb:51 def serialized_path(object); end end # Implements a serializer that reads from and writes to the filesystem. # -# source://yard//lib/yard/serializers/file_system_serializer.rb#5 +# pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:5 class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base # Creates a new FileSystemSerializer with options # @@ -12529,17 +12529,17 @@ class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base # @param opts [Hash] a customizable set of options # @return [FileSystemSerializer] a new instance of FileSystemSerializer # - # source://yard//lib/yard/serializers/file_system_serializer.rb#28 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:28 def initialize(opts = T.unsafe(nil)); end # The base path to write data to. # # @return [String] a base path # - # source://yard//lib/yard/serializers/file_system_serializer.rb#8 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:8 def basepath; end - # source://yard//lib/yard/serializers/file_system_serializer.rb#10 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:10 def basepath=(value); end # Checks the disk for an object and returns whether it was serialized. @@ -12547,24 +12547,24 @@ class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base # @param object [CodeObjects::Base] the object to check # @return [Boolean] whether an object has been serialized to disk # - # source://yard//lib/yard/serializers/file_system_serializer.rb#71 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:71 def exists?(object); end # The extension of the filename (defaults to +html+) # # @return [String] the extension of the file. Empty string for no extension. # - # source://yard//lib/yard/serializers/file_system_serializer.rb#17 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:17 def extension; end - # source://yard//lib/yard/serializers/file_system_serializer.rb#19 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:19 def extension=(value); end # Serializes object with data to its serialized path (prefixed by the +#basepath+). # # @return [String] the written data (for chaining) # - # source://yard//lib/yard/serializers/file_system_serializer.rb#38 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:38 def serialize(object, data); end # Implements the serialized path of a code object. @@ -12573,7 +12573,7 @@ class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base # @return [String] if object is a String, returns # object, otherwise the path on disk (without the basepath). # - # source://yard//lib/yard/serializers/file_system_serializer.rb#50 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:50 def serialized_path(object); end private @@ -12586,19 +12586,19 @@ class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base # @note In order to use filesystem name mapping, you must initialize # the serializer object after preparing the {YARD::Registry}. # - # source://yard//lib/yard/serializers/file_system_serializer.rb#84 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:84 def build_filename_map; end # Remove special chars from filenames. # Windows disallows \ / : * ? " < > | but we will just remove any # non alphanumeric (plus period, underscore and dash). # - # source://yard//lib/yard/serializers/file_system_serializer.rb#111 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:111 def encode_path_components(*components); end # @return [String] the filesystem mapped name of a given object. # - # source://yard//lib/yard/serializers/file_system_serializer.rb#102 + # pkg:gem/yard#lib/yard/serializers/file_system_serializer.rb:102 def mapped_name(object); end end @@ -12608,26 +12608,26 @@ end # serializer = ProcessSerializer.new('less') # serializer.serialize(object, "data!") # -# source://yard//lib/yard/serializers/process_serializer.rb#9 +# pkg:gem/yard#lib/yard/serializers/process_serializer.rb:9 class YARD::Serializers::ProcessSerializer < ::YARD::Serializers::Base # Creates a new ProcessSerializer for the shell command +cmd+ # # @param cmd [String] the command that will accept data on stdin # @return [ProcessSerializer] a new instance of ProcessSerializer # - # source://yard//lib/yard/serializers/process_serializer.rb#13 + # pkg:gem/yard#lib/yard/serializers/process_serializer.rb:13 def initialize(cmd); end # Overrides serialize behaviour and writes data to standard input # of the associated command # - # source://yard//lib/yard/serializers/process_serializer.rb#19 + # pkg:gem/yard#lib/yard/serializers/process_serializer.rb:19 def serialize(_object, data); end end # A serializer that writes data to standard output. # -# source://yard//lib/yard/serializers/stdout_serializer.rb#5 +# pkg:gem/yard#lib/yard/serializers/stdout_serializer.rb:5 class YARD::Serializers::StdoutSerializer < ::YARD::Serializers::Base # Creates a serializer to print text to stdout # @@ -12635,12 +12635,12 @@ class YARD::Serializers::StdoutSerializer < ::YARD::Serializers::Base # columns, otherwise no wrapping is done. # @return [StdoutSerializer] a new instance of StdoutSerializer # - # source://yard//lib/yard/serializers/stdout_serializer.rb#10 + # pkg:gem/yard#lib/yard/serializers/stdout_serializer.rb:10 def initialize(wrap = T.unsafe(nil)); end # Overrides serialize behaviour to write data to standard output # - # source://yard//lib/yard/serializers/stdout_serializer.rb#15 + # pkg:gem/yard#lib/yard/serializers/stdout_serializer.rb:15 def serialize(_object, data); end private @@ -12651,29 +12651,29 @@ class YARD::Serializers::StdoutSerializer < ::YARD::Serializers::Base # @param text [String] the text to wrap # @return [String] the wrapped text # - # source://yard//lib/yard/serializers/stdout_serializer.rb#26 + # pkg:gem/yard#lib/yard/serializers/stdout_serializer.rb:26 def word_wrap(text, _length = T.unsafe(nil)); end end -# source://yard//lib/yard/serializers/yardoc_serializer.rb#32 +# pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:32 class YARD::Serializers::YardocSerializer < ::YARD::Serializers::FileSystemSerializer # @return [YardocSerializer] a new instance of YardocSerializer # - # source://yard//lib/yard/serializers/yardoc_serializer.rb#33 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:33 def initialize(yfile); end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#40 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:40 def checksums_path; end # @return [Boolean] # - # source://yard//lib/yard/serializers/yardoc_serializer.rb#45 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:45 def complete?; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#42 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:42 def complete_lock_path; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#101 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:101 def deserialize(path, is_path = T.unsafe(nil)); end # Creates a pessmistic transactional lock on the database for writing. @@ -12682,40 +12682,40 @@ class YARD::Serializers::YardocSerializer < ::YARD::Serializers::FileSystemSeria # # @see #locked_for_writing? # - # source://yard//lib/yard/serializers/yardoc_serializer.rb#54 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:54 def lock_for_writing; end # @return [Boolean] whether the database is currently locked for writing # - # source://yard//lib/yard/serializers/yardoc_serializer.rb#62 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:62 def locked_for_writing?; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#41 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:41 def object_types_path; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#37 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:37 def objects_path; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#43 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:43 def processing_path; end # @deprecated The registry no longer tracks proxy types # - # source://yard//lib/yard/serializers/yardoc_serializer.rb#39 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:39 def proxy_types_path; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#93 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:93 def serialize(object); end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#66 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:66 def serialized_path(object); end private - # source://yard//lib/yard/serializers/yardoc_serializer.rb#114 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:114 def dump(object); end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#119 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:119 def internal_dump(object, first_object = T.unsafe(nil)); end end @@ -12730,7 +12730,7 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/autoload.rb#214 +# pkg:gem/yard#lib/yard/autoload.rb:214 module YARD::Server class << self # Registers a static path to be used in static asset lookup. @@ -12739,7 +12739,7 @@ module YARD::Server # @return [void] # @since 0.6.2 # - # source://yard//lib/yard/server.rb#8 + # pkg:gem/yard#lib/yard/server.rb:8 def register_static_path(path); end end end @@ -12756,7 +12756,7 @@ end # @abstract # @since 0.6.0 # -# source://yard//lib/yard/server/adapter.rb#23 +# pkg:gem/yard#lib/yard/server/adapter.rb:23 class YARD::Server::Adapter # Creates a new adapter object # @@ -12769,7 +12769,7 @@ class YARD::Server::Adapter # @return [Adapter] a new instance of Adapter # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#71 + # pkg:gem/yard#lib/yard/server/adapter.rb:71 def initialize(libs, opts = T.unsafe(nil), server_opts = T.unsafe(nil)); end # Adds a library to the {#libraries} mapping for a given library object. @@ -12779,7 +12779,7 @@ class YARD::Server::Adapter # @param library [LibraryVersion] a library to add # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#88 + # pkg:gem/yard#lib/yard/server/adapter.rb:88 def add_library(library); end # @return [String] the location where static files are located, if any. @@ -12787,7 +12787,7 @@ class YARD::Server::Adapter # +server_opts+ argument in {#initialize} # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#27 + # pkg:gem/yard#lib/yard/server/adapter.rb:27 def document_root; end # @return [String] the location where static files are located, if any. @@ -12795,7 +12795,7 @@ class YARD::Server::Adapter # +server_opts+ argument in {#initialize} # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#27 + # pkg:gem/yard#lib/yard/server/adapter.rb:27 def document_root=(_arg0); end # @return [Hash{String=>Array}] a map of libraries. @@ -12803,7 +12803,7 @@ class YARD::Server::Adapter # @see LibraryVersion LibraryVersion for information on building a list of libraries # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#32 + # pkg:gem/yard#lib/yard/server/adapter.rb:32 def libraries; end # @return [Hash{String=>Array}] a map of libraries. @@ -12811,47 +12811,47 @@ class YARD::Server::Adapter # @see LibraryVersion LibraryVersion for information on building a list of libraries # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#32 + # pkg:gem/yard#lib/yard/server/adapter.rb:32 def libraries=(_arg0); end # @return [Hash] options passed and processed by adapters. The actual # options mostly depend on the adapters themselves. # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#36 + # pkg:gem/yard#lib/yard/server/adapter.rb:36 def options; end # @return [Hash] options passed and processed by adapters. The actual # options mostly depend on the adapters themselves. # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#36 + # pkg:gem/yard#lib/yard/server/adapter.rb:36 def options=(_arg0); end # @return [Router] the router object used to route URLs to commands # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#43 + # pkg:gem/yard#lib/yard/server/adapter.rb:43 def router; end # @return [Router] the router object used to route URLs to commands # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#43 + # pkg:gem/yard#lib/yard/server/adapter.rb:43 def router=(_arg0); end # @return [Hash] a set of options to pass to the server backend. Note # that +:DocumentRoot+ also sets the {#document_root}. # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#40 + # pkg:gem/yard#lib/yard/server/adapter.rb:40 def server_options; end # @return [Hash] a set of options to pass to the server backend. Note # that +:DocumentRoot+ also sets the {#document_root}. # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#40 + # pkg:gem/yard#lib/yard/server/adapter.rb:40 def server_options=(_arg0); end # Implement this method to connect your adapter to your server. @@ -12860,7 +12860,7 @@ class YARD::Server::Adapter # @raise [NotImplementedError] # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#95 + # pkg:gem/yard#lib/yard/server/adapter.rb:95 def start; end class << self @@ -12870,7 +12870,7 @@ class YARD::Server::Adapter # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#48 + # pkg:gem/yard#lib/yard/server/adapter.rb:48 def setup; end # Performs any global shutdown procedures for the adapter. @@ -12879,19 +12879,19 @@ class YARD::Server::Adapter # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/server/adapter.rb#56 + # pkg:gem/yard#lib/yard/server/adapter.rb:56 def shutdown; end end end # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#16 +# pkg:gem/yard#lib/yard/server/http_utils.rb:16 YARD::Server::CR = T.let(T.unsafe(nil), String) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#18 +# pkg:gem/yard#lib/yard/server/http_utils.rb:18 YARD::Server::CRLF = T.let(T.unsafe(nil), String) # Commands implement specific kinds of server responses which are routed @@ -12899,7 +12899,7 @@ YARD::Server::CRLF = T.let(T.unsafe(nil), String) # # @since 0.6.0 # -# source://yard//lib/yard/autoload.rb#219 +# pkg:gem/yard#lib/yard/autoload.rb:219 module YARD::Server::Commands; end # This is the base command class used to implement custom commands for @@ -12931,7 +12931,7 @@ module YARD::Server::Commands; end # @see #run # @since 0.6.0 # -# source://yard//lib/yard/server/commands/base.rb#34 +# pkg:gem/yard#lib/yard/server/commands/base.rb:34 class YARD::Server::Commands::Base # Creates a new command object, setting attributes named by keys # in the options hash. After initialization, the options hash @@ -12946,43 +12946,43 @@ class YARD::Server::Commands::Base # @return [Base] a new instance of Base # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#75 + # pkg:gem/yard#lib/yard/server/commands/base.rb:75 def initialize(opts = T.unsafe(nil)); end # @return [Adapter] the server adapter # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#41 + # pkg:gem/yard#lib/yard/server/commands/base.rb:41 def adapter; end # @return [Adapter] the server adapter # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#41 + # pkg:gem/yard#lib/yard/server/commands/base.rb:41 def adapter=(_arg0); end # @return [String] the response body. Defaults to empty string. # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#61 + # pkg:gem/yard#lib/yard/server/commands/base.rb:61 def body; end # @return [String] the response body. Defaults to empty string. # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#61 + # pkg:gem/yard#lib/yard/server/commands/base.rb:61 def body=(_arg0); end # @return [Boolean] whether to cache # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#44 + # pkg:gem/yard#lib/yard/server/commands/base.rb:44 def caching; end # @return [Boolean] whether to cache # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#44 + # pkg:gem/yard#lib/yard/server/commands/base.rb:44 def caching=(_arg0); end # The main method called by a router with a request object. @@ -12994,55 +12994,55 @@ class YARD::Server::Commands::Base # of status, headers, and body wrapped in an array. # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#89 + # pkg:gem/yard#lib/yard/server/commands/base.rb:89 def call(request); end # @return [Hash] the options passed to the command's constructor # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#38 + # pkg:gem/yard#lib/yard/server/commands/base.rb:38 def command_options; end # @return [Hash] the options passed to the command's constructor # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#38 + # pkg:gem/yard#lib/yard/server/commands/base.rb:38 def command_options=(_arg0); end # @return [Hash{String => String}] response headers # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#55 + # pkg:gem/yard#lib/yard/server/commands/base.rb:55 def headers; end # @return [Hash{String => String}] response headers # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#55 + # pkg:gem/yard#lib/yard/server/commands/base.rb:55 def headers=(_arg0); end # @return [String] the path after the command base URI # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#52 + # pkg:gem/yard#lib/yard/server/commands/base.rb:52 def path; end # @return [String] the path after the command base URI # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#52 + # pkg:gem/yard#lib/yard/server/commands/base.rb:52 def path=(_arg0); end # @return [Rack::Request] request object # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#49 + # pkg:gem/yard#lib/yard/server/commands/base.rb:49 def request; end # @return [Rack::Request] request object # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#49 + # pkg:gem/yard#lib/yard/server/commands/base.rb:49 def request=(_arg0); end # Subclass this method to implement a custom command. This method @@ -13062,19 +13062,19 @@ class YARD::Server::Commands::Base # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#128 + # pkg:gem/yard#lib/yard/server/commands/base.rb:128 def run; end # @return [Numeric] status code. Defaults to 200 per request # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#58 + # pkg:gem/yard#lib/yard/server/commands/base.rb:58 def status; end # @return [Numeric] status code. Defaults to 200 per request # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#58 + # pkg:gem/yard#lib/yard/server/commands/base.rb:58 def status=(_arg0); end protected @@ -13091,7 +13091,7 @@ class YARD::Server::Commands::Base # @see StaticCaching # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#165 + # pkg:gem/yard#lib/yard/server/commands/base.rb:165 def cache(data); end # Sets the body and headers for a 404 response. Does not modify the @@ -13100,7 +13100,7 @@ class YARD::Server::Commands::Base # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#180 + # pkg:gem/yard#lib/yard/server/commands/base.rb:180 def not_found; end # Sets the headers and status code for a redirection to a given URL @@ -13109,7 +13109,7 @@ class YARD::Server::Commands::Base # @raise [FinishRequest] causes the request to terminate. # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#192 + # pkg:gem/yard#lib/yard/server/commands/base.rb:192 def redirect(url); end # Renders a specific object if provided, or a regular template rendering @@ -13122,7 +13122,7 @@ class YARD::Server::Commands::Base # @since 0.6.0 # @todo This method is dependent on +#options+, it should be in {LibraryCommand}. # - # source://yard//lib/yard/server/commands/base.rb#144 + # pkg:gem/yard#lib/yard/server/commands/base.rb:144 def render(object = T.unsafe(nil)); end private @@ -13132,7 +13132,7 @@ class YARD::Server::Commands::Base # # @since 0.6.0 # - # source://yard//lib/yard/server/commands/base.rb#202 + # pkg:gem/yard#lib/yard/server/commands/base.rb:202 def add_cache_control; end end @@ -13141,22 +13141,22 @@ end # @since 0.6.0 # @todo Implement better support for detecting binary (image) filetypes # -# source://yard//lib/yard/server/commands/display_file_command.rb#8 +# pkg:gem/yard#lib/yard/server/commands/display_file_command.rb:8 class YARD::Server::Commands::DisplayFileCommand < ::YARD::Server::Commands::LibraryCommand # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_file_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/display_file_command.rb:9 def index; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_file_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/display_file_command.rb:9 def index=(_arg0); end # @raise [NotFoundError] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_file_command.rb#11 + # pkg:gem/yard#lib/yard/server/commands/display_file_command.rb:11 def run; end end @@ -13164,30 +13164,30 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/display_object_command.rb#6 +# pkg:gem/yard#lib/yard/server/commands/display_object_command.rb:6 class YARD::Server::Commands::DisplayObjectCommand < ::YARD::Server::Commands::LibraryCommand include ::YARD::Server::DocServerHelper # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_object_command.rb#36 + # pkg:gem/yard#lib/yard/server/commands/display_object_command.rb:36 def index; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_object_command.rb#47 + # pkg:gem/yard#lib/yard/server/commands/display_object_command.rb:47 def not_found; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_object_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/display_object_command.rb:9 def run; end private # @since 0.6.0 # - # source://yard//lib/yard/server/commands/display_object_command.rb#54 + # pkg:gem/yard#lib/yard/server/commands/display_object_command.rb:54 def object_path; end end @@ -13195,11 +13195,11 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/frames_command.rb#6 +# pkg:gem/yard#lib/yard/server/commands/frames_command.rb:6 class YARD::Server::Commands::FramesCommand < ::YARD::Server::Commands::DisplayObjectCommand # @since 0.6.0 # - # source://yard//lib/yard/server/commands/frames_command.rb#7 + # pkg:gem/yard#lib/yard/server/commands/frames_command.rb:7 def run; end end @@ -13211,109 +13211,109 @@ end # @abstract # @since 0.6.0 # -# source://yard//lib/yard/server/commands/library_command.rb#32 +# pkg:gem/yard#lib/yard/server/commands/library_command.rb:32 class YARD::Server::Commands::LibraryCommand < ::YARD::Server::Commands::Base # @return [LibraryCommand] a new instance of LibraryCommand # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#63 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:63 def initialize(opts = T.unsafe(nil)); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#68 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:68 def call(request); end # @return [Boolean] whether to reparse data # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#53 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:53 def incremental; end # @return [Boolean] whether to reparse data # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#53 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:53 def incremental=(_arg0); end # @return [LibraryVersion] the object containing library information # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#41 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:41 def library; end # @return [LibraryVersion] the object containing library information # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#41 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:41 def library=(_arg0); end # @return [LibraryOptions] default options for the library # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#44 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:44 def options; end # @return [LibraryOptions] default options for the library # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#44 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:44 def options=(_arg0); end # @return [Serializers::Base] the serializer used to perform file linking # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#47 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:47 def serializer; end # @return [Serializers::Base] the serializer used to perform file linking # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#47 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:47 def serializer=(_arg0); end # @return [Boolean] whether router should route for multiple libraries # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#50 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:50 def single_library; end # @return [Boolean] whether router should route for multiple libraries # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#50 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:50 def single_library=(_arg0); end # @return [Boolean] whether or not this adapter calls +fork+ when serving # library requests. Defaults to false. # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#57 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:57 def use_fork; end # @return [Boolean] whether or not this adapter calls +fork+ when serving # library requests. Defaults to false. # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#57 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:57 def use_fork=(_arg0); end private # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#96 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:96 def call_with_fork(request, &block); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#83 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:83 def call_without_fork(request); end # @return [Boolean] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#109 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:109 def can_fork?; end # Hack to load a custom fulldoc template object that does @@ -13322,162 +13322,162 @@ class YARD::Server::Commands::LibraryCommand < ::YARD::Server::Commands::Base # # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#171 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:171 def fulldoc_template; end # @raise [LibraryNotPreparedError] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#147 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:147 def load_yardoc; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#159 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:159 def not_prepared; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#118 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:118 def restore_template_info; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#113 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:113 def save_default_template_info; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#123 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:123 def setup_library; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#130 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:130 def setup_yardopts; end end -# source://yard//lib/yard/server/commands/library_command.rb#35 +# pkg:gem/yard#lib/yard/server/commands/library_command.rb:35 YARD::Server::Commands::LibraryCommand::CAN_FORK = T.let(T.unsafe(nil), TrueClass) # Returns the index of libraries served by the server. # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/library_index_command.rb#13 +# pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:13 class YARD::Server::Commands::LibraryIndexCommand < ::YARD::Server::Commands::Base # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#14 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:14 def options; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#14 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:14 def options=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#16 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:16 def run; end end # @since 0.6.0 # -# source://yard//lib/yard/server/commands/library_index_command.rb#5 +# pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:5 class YARD::Server::Commands::LibraryIndexOptions < ::YARD::CLI::YardocOptions # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#6 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:6 def adapter; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#6 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:6 def adapter=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#6 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:6 def libraries; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_index_command.rb#6 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:6 def libraries=(_arg0); end - # source://yard//lib/yard/server/commands/library_index_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:9 def serialize; end - # source://yard//lib/yard/server/commands/library_index_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:9 def serialize=(_arg0); end - # source://yard//lib/yard/server/commands/library_index_command.rb#7 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:7 def template; end - # source://yard//lib/yard/server/commands/library_index_command.rb#7 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:7 def template=(_arg0); end - # source://yard//lib/yard/server/commands/library_index_command.rb#8 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:8 def type; end - # source://yard//lib/yard/server/commands/library_index_command.rb#8 + # pkg:gem/yard#lib/yard/server/commands/library_index_command.rb:8 def type=(_arg0); end end # @since 0.6.0 # -# source://yard//lib/yard/server/commands/library_command.rb#7 +# pkg:gem/yard#lib/yard/server/commands/library_command.rb:7 class YARD::Server::Commands::LibraryOptions < ::YARD::CLI::YardocOptions # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#8 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:8 def adapter; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#14 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:14 def command; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#14 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:14 def command=(_arg0); end # @since 0.6.0 # @yield [:adapter, adapter] # - # source://yard//lib/yard/server/commands/library_command.rb#17 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:17 def each(&block); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#15 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:15 def frames; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#15 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:15 def frames=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:9 def library; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#12 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:12 def serialize; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#11 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:11 def serializer; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/library_command.rb#10 + # pkg:gem/yard#lib/yard/server/commands/library_command.rb:10 def single_library; end end @@ -13485,13 +13485,13 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/list_command.rb#6 +# pkg:gem/yard#lib/yard/server/commands/list_command.rb:6 class YARD::Server::Commands::ListCommand < ::YARD::Server::Commands::LibraryCommand include ::YARD::Templates::Helpers::BaseHelper # @since 0.6.0 # - # source://yard//lib/yard/server/commands/list_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/list_command.rb:9 def run; end end @@ -13499,14 +13499,14 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/root_request_command.rb#6 +# pkg:gem/yard#lib/yard/server/commands/root_request_command.rb:6 class YARD::Server::Commands::RootRequestCommand < ::YARD::Server::Commands::Base include ::YARD::Server::HTTPUtils include ::YARD::Server::Commands::StaticFileHelpers # @since 0.6.0 # - # source://yard//lib/yard/server/commands/root_request_command.rb#9 + # pkg:gem/yard#lib/yard/server/commands/root_request_command.rb:9 def run; end end @@ -13515,7 +13515,7 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/search_command.rb#7 +# pkg:gem/yard#lib/yard/server/commands/search_command.rb:7 class YARD::Server::Commands::SearchCommand < ::YARD::Server::Commands::LibraryCommand include ::YARD::Templates::Helpers::BaseHelper include ::YARD::Templates::Helpers::ModuleHelper @@ -13523,54 +13523,54 @@ class YARD::Server::Commands::SearchCommand < ::YARD::Server::Commands::LibraryC # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#12 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:12 def query; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#12 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:12 def query=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#12 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:12 def results; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#12 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:12 def results=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#14 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:14 def run; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#26 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:26 def visible_results; end private # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#58 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:58 def search_for_object; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#47 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:47 def serve_normal; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#37 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:37 def serve_xhr; end # @since 0.6.0 # - # source://yard//lib/yard/server/commands/search_command.rb#32 + # pkg:gem/yard#lib/yard/server/commands/search_command.rb:32 def url_for(object); end end @@ -13578,14 +13578,14 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/static_file_command.rb#6 +# pkg:gem/yard#lib/yard/server/commands/static_file_command.rb:6 class YARD::Server::Commands::StaticFileCommand < ::YARD::Server::Commands::LibraryCommand include ::YARD::Server::HTTPUtils include ::YARD::Server::Commands::StaticFileHelpers # @since 0.6.0 # - # source://yard//lib/yard/server/commands/static_file_command.rb#17 + # pkg:gem/yard#lib/yard/server/commands/static_file_command.rb:17 def run; end end @@ -13596,7 +13596,7 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/static_file_command.rb#15 +# pkg:gem/yard#lib/yard/server/commands/static_file_command.rb:15 YARD::Server::Commands::StaticFileCommand::STATIC_PATHS = T.let(T.unsafe(nil), Array) # Include this module to get access to {#static_template_file?} @@ -13604,7 +13604,7 @@ YARD::Server::Commands::StaticFileCommand::STATIC_PATHS = T.let(T.unsafe(nil), A # # @since 0.6.0 # -# source://yard//lib/yard/server/commands/static_file_helpers.rb#8 +# pkg:gem/yard#lib/yard/server/commands/static_file_helpers.rb:8 module YARD::Server::Commands::StaticFileHelpers include ::YARD::Server::HTTPUtils @@ -13615,7 +13615,7 @@ module YARD::Server::Commands::StaticFileHelpers # @return [Boolean] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/static_file_helpers.rb#14 + # pkg:gem/yard#lib/yard/server/commands/static_file_helpers.rb:14 def favicon?; end # Attempts to route a path to a static template file. @@ -13624,20 +13624,20 @@ module YARD::Server::Commands::StaticFileHelpers # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/server/commands/static_file_helpers.rb#26 + # pkg:gem/yard#lib/yard/server/commands/static_file_helpers.rb:26 def static_template_file?; end private # @since 0.6.0 # - # source://yard//lib/yard/server/commands/static_file_helpers.rb#42 + # pkg:gem/yard#lib/yard/server/commands/static_file_helpers.rb:42 def find_file(adapter, url); end class << self # @since 0.6.0 # - # source://yard//lib/yard/server/commands/static_file_helpers.rb#42 + # pkg:gem/yard#lib/yard/server/commands/static_file_helpers.rb:42 def find_file(adapter, url); end end end @@ -13647,13 +13647,13 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/doc_server_helper.rb#6 +# pkg:gem/yard#lib/yard/server/doc_server_helper.rb:6 module YARD::Server::DocServerHelper # @param path_components [Array] components of a URL # @return [String] the absolute path from any mounted base URI. # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#61 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:61 def abs_url(*path_components); end # @example The base path for a library 'foo' @@ -13662,25 +13662,25 @@ module YARD::Server::DocServerHelper # @return [String] the base URI for a library with an extra +path+ prefix # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#69 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:69 def base_path(path); end # @return [String] a timestamp for a given file # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#78 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:78 def mtime(file); end # @return [String] a URL for a file with a timestamp # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#84 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:84 def mtime_url(file); end # @return [Router] convenience method for accessing the router # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#75 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:75 def router; end # Modifies {Templates::Helpers::HtmlHelper#url_for} to return a URL instead @@ -13692,7 +13692,7 @@ module YARD::Server::DocServerHelper # @return [String] the URL location of the object # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#11 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:11 def url_for(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end # Modifies {Templates::Helpers::HtmlHelper#url_for_file} to return a URL instead @@ -13703,7 +13703,7 @@ module YARD::Server::DocServerHelper # @return [String] the URL pointing to the file # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#24 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:24 def url_for_file(filename, anchor = T.unsafe(nil)); end # Returns the frames URL for the page @@ -13711,7 +13711,7 @@ module YARD::Server::DocServerHelper # @return [String] the URL pointing to the frames page # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#43 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:43 def url_for_frameset; end # Returns the URL for the alphabetic index page @@ -13720,7 +13720,7 @@ module YARD::Server::DocServerHelper # user should see. # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#55 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:55 def url_for_index; end # Modifies {Templates::Helpers::HtmlHelper#url_for_list} to return a URL @@ -13730,7 +13730,7 @@ module YARD::Server::DocServerHelper # @return [String] the URL pointing to the list # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#37 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:37 def url_for_list(type); end # Returns the main URL, first checking a readme and then linking to the index @@ -13739,7 +13739,7 @@ module YARD::Server::DocServerHelper # user should see. # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_helper.rb#49 + # pkg:gem/yard#lib/yard/server/doc_server_helper.rb:49 def url_for_main; end end @@ -13748,24 +13748,24 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/doc_server_serializer.rb#6 +# pkg:gem/yard#lib/yard/server/doc_server_serializer.rb:6 class YARD::Server::DocServerSerializer < ::YARD::Serializers::FileSystemSerializer # @return [DocServerSerializer] a new instance of DocServerSerializer # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_serializer.rb#7 + # pkg:gem/yard#lib/yard/server/doc_server_serializer.rb:7 def initialize(_command = T.unsafe(nil)); end # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_serializer.rb#11 + # pkg:gem/yard#lib/yard/server/doc_server_serializer.rb:11 def serialized_path(object); end private # @since 0.6.0 # - # source://yard//lib/yard/server/doc_server_serializer.rb#31 + # pkg:gem/yard#lib/yard/server/doc_server_serializer.rb:31 def urlencode(name); end end @@ -13774,7 +13774,7 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/adapter.rb#6 +# pkg:gem/yard#lib/yard/server/adapter.rb:6 class YARD::Server::FinishRequest < ::RuntimeError; end # HTTPUtils provides utility methods for working with the HTTP protocol. @@ -13783,72 +13783,72 @@ class YARD::Server::FinishRequest < ::RuntimeError; end # # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#25 +# pkg:gem/yard#lib/yard/server/http_utils.rb:25 module YARD::Server::HTTPUtils private # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#443 + # pkg:gem/yard#lib/yard/server/http_utils.rb:443 def _escape(str, regex); end # :stopdoc: # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#441 + # pkg:gem/yard#lib/yard/server/http_utils.rb:441 def _make_regex(str); end # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#442 + # pkg:gem/yard#lib/yard/server/http_utils.rb:442 def _make_regex!(str); end # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#449 + # pkg:gem/yard#lib/yard/server/http_utils.rb:449 def _unescape(str, regex); end # Removes quotes and escapes from +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#223 + # pkg:gem/yard#lib/yard/server/http_utils.rb:223 def dequote(str); end # Escapes HTTP reserved and unwise characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#467 + # pkg:gem/yard#lib/yard/server/http_utils.rb:467 def escape(str); end # Escapes 8 bit characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#508 + # pkg:gem/yard#lib/yard/server/http_utils.rb:508 def escape8bit(str); end # Escapes form reserved characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#481 + # pkg:gem/yard#lib/yard/server/http_utils.rb:481 def escape_form(str); end # Escapes path +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#497 + # pkg:gem/yard#lib/yard/server/http_utils.rb:497 def escape_path(str); end # Loads Apache-compatible mime.types in +file+. # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#112 + # pkg:gem/yard#lib/yard/server/http_utils.rb:112 def load_mime_types(file); end # Returns the mime type of +filename+ from the list in +mime_tab+. If no @@ -13856,7 +13856,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#134 + # pkg:gem/yard#lib/yard/server/http_utils.rb:134 def mime_type(filename, mime_tab); end # Normalizes a request path. Raises an exception if the path cannot be @@ -13864,14 +13864,14 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#31 + # pkg:gem/yard#lib/yard/server/http_utils.rb:31 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 + # pkg:gem/yard#lib/yard/server/http_utils.rb:395 def parse_form_data(io, boundary); end # Parses an HTTP header +raw+ into a hash of header fields with an Array @@ -13879,121 +13879,121 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#145 + # pkg:gem/yard#lib/yard/server/http_utils.rb:145 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 + # pkg:gem/yard#lib/yard/server/http_utils.rb:371 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 + # pkg:gem/yard#lib/yard/server/http_utils.rb:202 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 + # pkg:gem/yard#lib/yard/server/http_utils.rb:184 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 + # pkg:gem/yard#lib/yard/server/http_utils.rb:233 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 + # pkg:gem/yard#lib/yard/server/http_utils.rb:175 def split_header_value(str); end # Unescapes HTTP reserved and unwise characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#474 + # pkg:gem/yard#lib/yard/server/http_utils.rb:474 def unescape(str); end # Unescapes form reserved characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#490 + # pkg:gem/yard#lib/yard/server/http_utils.rb:490 def unescape_form(str); end class << self # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#443 + # pkg:gem/yard#lib/yard/server/http_utils.rb:443 def _escape(str, regex); end # :stopdoc: # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#441 + # pkg:gem/yard#lib/yard/server/http_utils.rb:441 def _make_regex(str); end # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#442 + # pkg:gem/yard#lib/yard/server/http_utils.rb:442 def _make_regex!(str); end # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#449 + # pkg:gem/yard#lib/yard/server/http_utils.rb:449 def _unescape(str, regex); end # Removes quotes and escapes from +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#228 + # pkg:gem/yard#lib/yard/server/http_utils.rb:228 def dequote(str); end # Escapes HTTP reserved and unwise characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#467 + # pkg:gem/yard#lib/yard/server/http_utils.rb:467 def escape(str); end # Escapes 8 bit characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#508 + # pkg:gem/yard#lib/yard/server/http_utils.rb:508 def escape8bit(str); end # Escapes form reserved characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#481 + # pkg:gem/yard#lib/yard/server/http_utils.rb:481 def escape_form(str); end # Escapes path +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#497 + # pkg:gem/yard#lib/yard/server/http_utils.rb:497 def escape_path(str); end # Loads Apache-compatible mime.types in +file+. # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#128 + # pkg:gem/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 @@ -14001,7 +14001,7 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#139 + # pkg:gem/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 @@ -14009,14 +14009,14 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#42 + # pkg:gem/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#421 + # pkg:gem/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 @@ -14024,56 +14024,56 @@ module YARD::Server::HTTPUtils # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#170 + # pkg:gem/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#390 + # pkg:gem/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#218 + # pkg:gem/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#197 + # pkg:gem/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#236 + # pkg:gem/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#179 + # pkg:gem/yard#lib/yard/server/http_utils.rb:179 def split_header_value(str); end # Unescapes HTTP reserved and unwise characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#474 + # pkg:gem/yard#lib/yard/server/http_utils.rb:474 def unescape(str); end # Unescapes form reserved characters in +str+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#490 + # pkg:gem/yard#lib/yard/server/http_utils.rb:490 def unescape_form(str); end end end @@ -14082,12 +14082,12 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#47 +# pkg:gem/yard#lib/yard/server/http_utils.rb:47 YARD::Server::HTTPUtils::DefaultMimeTypes = T.let(T.unsafe(nil), Hash) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#459 +# pkg:gem/yard#lib/yard/server/http_utils.rb:459 YARD::Server::HTTPUtils::ESCAPED = T.let(T.unsafe(nil), Regexp) # Stores multipart form data. FormData objects are created when @@ -14095,7 +14095,7 @@ YARD::Server::HTTPUtils::ESCAPED = T.let(T.unsafe(nil), Regexp) # # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#242 +# pkg:gem/yard#lib/yard/server/http_utils.rb:242 class YARD::Server::HTTPUtils::FormData < ::String # Creates a new FormData object. # @@ -14107,7 +14107,7 @@ class YARD::Server::HTTPUtils::FormData < ::String # @return [FormData] a new instance of FormData # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#267 + # pkg:gem/yard#lib/yard/server/http_utils.rb:267 def initialize(*args); end # Adds +str+ to this FormData which may be the body, a header or a @@ -14117,14 +14117,14 @@ class YARD::Server::HTTPUtils::FormData < ::String # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#300 + # pkg:gem/yard#lib/yard/server/http_utils.rb:300 def <<(str); end # Retrieves the header at the first entry in +key+ # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#286 + # pkg:gem/yard#lib/yard/server/http_utils.rb:286 def [](*key); end # Adds +data+ at the end of the chain of entries @@ -14133,54 +14133,54 @@ class YARD::Server::HTTPUtils::FormData < ::String # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#320 + # pkg:gem/yard#lib/yard/server/http_utils.rb:320 def append_data(data); end # Yields each entry in this FormData # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#335 + # pkg:gem/yard#lib/yard/server/http_utils.rb:335 def each_data; end # The filename of the form data part # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#254 + # pkg:gem/yard#lib/yard/server/http_utils.rb:254 def filename; end # The filename of the form data part # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#254 + # pkg:gem/yard#lib/yard/server/http_utils.rb:254 def filename=(_arg0); end # Returns all the FormData as an Array # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#347 + # pkg:gem/yard#lib/yard/server/http_utils.rb:347 def list; end # The name of the form data part # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#249 + # pkg:gem/yard#lib/yard/server/http_utils.rb:249 def name; end # The name of the form data part # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#249 + # pkg:gem/yard#lib/yard/server/http_utils.rb:249 def name=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#256 + # pkg:gem/yard#lib/yard/server/http_utils.rb:256 def next_data=(_arg0); end # Returns all the FormData as an Array @@ -14188,57 +14188,57 @@ class YARD::Server::HTTPUtils::FormData < ::String # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#358 + # pkg:gem/yard#lib/yard/server/http_utils.rb:358 def to_ary; end # This FormData's body # # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#363 + # pkg:gem/yard#lib/yard/server/http_utils.rb:363 def to_s; end protected # @since 0.6.0 # - # source://yard//lib/yard/server/http_utils.rb#256 + # pkg:gem/yard#lib/yard/server/http_utils.rb:256 def next_data; end end # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#244 +# pkg:gem/yard#lib/yard/server/http_utils.rb:244 YARD::Server::HTTPUtils::FormData::EmptyHeader = T.let(T.unsafe(nil), Hash) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#243 +# pkg:gem/yard#lib/yard/server/http_utils.rb:243 YARD::Server::HTTPUtils::FormData::EmptyRawHeader = T.let(T.unsafe(nil), Array) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#458 +# pkg:gem/yard#lib/yard/server/http_utils.rb:458 YARD::Server::HTTPUtils::NONASCII = T.let(T.unsafe(nil), Regexp) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#456 +# pkg:gem/yard#lib/yard/server/http_utils.rb:456 YARD::Server::HTTPUtils::UNESCAPED = T.let(T.unsafe(nil), Regexp) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#457 +# pkg:gem/yard#lib/yard/server/http_utils.rb:457 YARD::Server::HTTPUtils::UNESCAPED_FORM = T.let(T.unsafe(nil), Regexp) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#460 +# pkg:gem/yard#lib/yard/server/http_utils.rb:460 YARD::Server::HTTPUtils::UNESCAPED_PCHAR = T.let(T.unsafe(nil), Regexp) # @since 0.6.0 # -# source://yard//lib/yard/server/http_utils.rb#17 +# pkg:gem/yard#lib/yard/server/http_utils.rb:17 YARD::Server::LF = T.let(T.unsafe(nil), String) # This exception is raised when {LibraryVersion#prepare!} fails, or discovers @@ -14246,7 +14246,7 @@ YARD::Server::LF = T.let(T.unsafe(nil), String) # # @since 0.6.0 # -# source://yard//lib/yard/server/library_version.rb#9 +# pkg:gem/yard#lib/yard/server/library_version.rb:9 class YARD::Server::LibraryNotPreparedError < ::RuntimeError; end # A library version encapsulates a library's documentation at a specific version. @@ -14333,7 +14333,7 @@ class YARD::Server::LibraryNotPreparedError < ::RuntimeError; end # LibraryVersion.new('name', '1.0', nil, :http) # @since 0.6.0 # -# source://yard//lib/yard/server/library_version.rb#94 +# pkg:gem/yard#lib/yard/server/library_version.rb:94 class YARD::Server::LibraryVersion # @param name [String] the name of the library # @param source [Symbol] the location of the files used to build the yardoc. @@ -14345,25 +14345,25 @@ class YARD::Server::LibraryVersion # @return [LibraryVersion] a new instance of LibraryVersion # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#134 + # pkg:gem/yard#lib/yard/server/library_version.rb:134 def initialize(name, version = T.unsafe(nil), yardoc = T.unsafe(nil), source = T.unsafe(nil)); end # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#157 + # pkg:gem/yard#lib/yard/server/library_version.rb:157 def ==(other); end # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#153 + # pkg:gem/yard#lib/yard/server/library_version.rb:153 def eql?(other); end # @return [Boolean] whether another LibraryVersion is equal to this one # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#158 + # pkg:gem/yard#lib/yard/server/library_version.rb:158 def equal?(other); end # @return [Gem::Specification] a gemspec object for a given library. Used @@ -14371,25 +14371,25 @@ class YARD::Server::LibraryVersion # @return [nil] if there is no installed gem for the library # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#191 + # pkg:gem/yard#lib/yard/server/library_version.rb:191 def gemspec; end # @return [Fixnum] used for Hash mapping. # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#150 + # pkg:gem/yard#lib/yard/server/library_version.rb:150 def hash; end # @return [String] the name of the library # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#96 + # pkg:gem/yard#lib/yard/server/library_version.rb:96 def name; end # @return [String] the name of the library # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#96 + # pkg:gem/yard#lib/yard/server/library_version.rb:96 def name=(_arg0); end # Prepares a library to be displayed by the server. This callback is @@ -14408,14 +14408,14 @@ class YARD::Server::LibraryVersion # is not necessary. # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#182 + # pkg:gem/yard#lib/yard/server/library_version.rb:182 def prepare!; end # @return [Boolean] whether the library has been completely processed # and is ready to be served # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#162 + # pkg:gem/yard#lib/yard/server/library_version.rb:162 def ready?; end # @return [Symbol] the source type representing where the yardoc should be @@ -14425,7 +14425,7 @@ class YARD::Server::LibraryVersion # @see LibraryVersion LibraryVersion documentation for "Implementing a Custom Library Source" # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#116 + # pkg:gem/yard#lib/yard/server/library_version.rb:116 def source; end # @return [Symbol] the source type representing where the yardoc should be @@ -14435,7 +14435,7 @@ class YARD::Server::LibraryVersion # @see LibraryVersion LibraryVersion documentation for "Implementing a Custom Library Source" # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#116 + # pkg:gem/yard#lib/yard/server/library_version.rb:116 def source=(_arg0); end # @return [String] the location of the source code for a library. This @@ -14444,12 +14444,12 @@ class YARD::Server::LibraryVersion # @see LibraryVersion LibraryVersion documentation for "Implementing a Custom Library Source" # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#122 + # pkg:gem/yard#lib/yard/server/library_version.rb:122 def source_path; end # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#125 + # pkg:gem/yard#lib/yard/server/library_version.rb:125 def source_path=(_arg0); end # @param url_format [Boolean] if true, returns the string in a URI-compatible @@ -14458,19 +14458,19 @@ class YARD::Server::LibraryVersion # @return [String] the string representation of the library. # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#145 + # pkg:gem/yard#lib/yard/server/library_version.rb:145 def to_s(url_format = T.unsafe(nil)); end # @return [String] the version of the specific library # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#99 + # pkg:gem/yard#lib/yard/server/library_version.rb:99 def version; end # @return [String] the version of the specific library # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#99 + # pkg:gem/yard#lib/yard/server/library_version.rb:99 def version=(_arg0); end # @note To implement a custom yardoc file getter, implement @@ -14480,12 +14480,12 @@ class YARD::Server::LibraryVersion # be called on this library to build the yardoc file. # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#106 + # pkg:gem/yard#lib/yard/server/library_version.rb:106 def yardoc_file; end # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#109 + # pkg:gem/yard#lib/yard/server/library_version.rb:109 def yardoc_file=(_arg0); end protected @@ -14498,7 +14498,7 @@ class YARD::Server::LibraryVersion # prepared. # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#206 + # pkg:gem/yard#lib/yard/server/library_version.rb:206 def load_yardoc_from_disk; end # Called when a library of source type "gem" is to be prepared. In this @@ -14509,42 +14509,42 @@ class YARD::Server::LibraryVersion # yardoc file. # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#226 + # pkg:gem/yard#lib/yard/server/library_version.rb:226 def load_yardoc_from_gem; end # @return [String] the source path for a disk source # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#243 + # pkg:gem/yard#lib/yard/server/library_version.rb:243 def source_path_for_disk; end # @return [String] the source path for a gem source # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#248 + # pkg:gem/yard#lib/yard/server/library_version.rb:248 def source_path_for_gem; end # @return [String] the yardoc file for a gem source # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#253 + # pkg:gem/yard#lib/yard/server/library_version.rb:253 def yardoc_file_for_gem; end private # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#261 + # pkg:gem/yard#lib/yard/server/library_version.rb:261 def load_source_path; end # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#266 + # pkg:gem/yard#lib/yard/server/library_version.rb:266 def load_yardoc_file; end # @since 0.6.0 # - # source://yard//lib/yard/server/library_version.rb#271 + # pkg:gem/yard#lib/yard/server/library_version.rb:271 def serializer; end end @@ -14554,14 +14554,14 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/server/adapter.rb#11 +# pkg:gem/yard#lib/yard/server/adapter.rb:11 class YARD::Server::NotFoundError < ::RuntimeError; end # A server adapter to respond to requests using the Rack server infrastructure. # # @since 0.6.0 # -# source://yard//lib/yard/server/rack_adapter.rb#52 +# pkg:gem/yard#lib/yard/server/rack_adapter.rb:52 class YARD::Server::RackAdapter < ::YARD::Server::Adapter include ::YARD::Server::HTTPUtils @@ -14570,7 +14570,7 @@ class YARD::Server::RackAdapter < ::YARD::Server::Adapter # @return [Array(Numeric,Hash,Array)] the Rack-style response # @since 0.6.0 # - # source://yard//lib/yard/server/rack_adapter.rb#57 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:57 def call(env); end # Starts the Rack server. This method will pass control to the server and @@ -14579,14 +14579,14 @@ class YARD::Server::RackAdapter < ::YARD::Server::Adapter # @return [void] # @since 0.6.0 # - # source://yard//lib/yard/server/rack_adapter.rb#70 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:70 def start; end private # @since 0.6.0 # - # source://yard//lib/yard/server/rack_adapter.rb#79 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:79 def print_start_message(server); end end @@ -14601,7 +14601,7 @@ end # at the example below. # @since 0.6.0 # -# source://yard//lib/yard/server/rack_adapter.rb#25 +# pkg:gem/yard#lib/yard/server/rack_adapter.rb:25 class YARD::Server::RackMiddleware # Creates a new Rack-based middleware for serving YARD documentation. # @@ -14613,16 +14613,16 @@ class YARD::Server::RackMiddleware # @return [RackMiddleware] a new instance of RackMiddleware # @since 0.6.0 # - # source://yard//lib/yard/server/rack_adapter.rb#35 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:35 def initialize(app, opts = T.unsafe(nil)); end # @since 0.6.0 # - # source://yard//lib/yard/server/rack_adapter.rb#41 + # pkg:gem/yard#lib/yard/server/rack_adapter.rb:41 def call(env); end end -# source://yard//lib/yard/server/rack_adapter.rb#8 +# pkg:gem/yard#lib/yard/server/rack_adapter.rb:8 YARD::Server::RackServer = Rackup::Server # A router class implements the logic used to recognize a request for a specific @@ -14655,7 +14655,7 @@ YARD::Server::RackServer = Rackup::Server # WebrickAdapter.new(libraries, :router => MyRouter).start # @since 0.6.0 # -# source://yard//lib/yard/server/router.rb#32 +# pkg:gem/yard#lib/yard/server/router.rb:32 class YARD::Server::Router include ::YARD::Server::StaticCaching include ::YARD::Server::Commands @@ -14666,19 +14666,19 @@ class YARD::Server::Router # @return [Router] a new instance of Router # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#45 + # pkg:gem/yard#lib/yard/server/router.rb:45 def initialize(adapter); end # @return [Adapter] the adapter used by the router # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#40 + # pkg:gem/yard#lib/yard/server/router.rb:40 def adapter; end # @return [Adapter] the adapter used by the router # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#40 + # pkg:gem/yard#lib/yard/server/router.rb:40 def adapter=(_arg0); end # Perform routing on a specific request, serving the request as a static @@ -14688,19 +14688,19 @@ class YARD::Server::Router # @return [Array(Numeric,Hash,Array)] the Rack-style server response data # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#54 + # pkg:gem/yard#lib/yard/server/router.rb:54 def call(request); end # @return [String] the URI prefix for all object documentation requests # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#63 + # pkg:gem/yard#lib/yard/server/router.rb:63 def docs_prefix; end # @return [String] the URI prefix for all class/method/file list requests # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#66 + # pkg:gem/yard#lib/yard/server/router.rb:66 def list_prefix; end # @return [Array(LibraryVersion, Array)] the library followed @@ -14708,31 +14708,31 @@ class YARD::Server::Router # will be nil if no matching library was found. # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#79 + # pkg:gem/yard#lib/yard/server/router.rb:79 def parse_library_from_path(paths); end # @return [Adapter Dependent] the request data coming in with the routing # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#37 + # pkg:gem/yard#lib/yard/server/router.rb:37 def request; end # @return [Adapter Dependent] the request data coming in with the routing # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#37 + # pkg:gem/yard#lib/yard/server/router.rb:37 def request=(_arg0); end # @return [String] the URI prefix for all search requests # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#69 + # pkg:gem/yard#lib/yard/server/router.rb:69 def search_prefix; end # @return [String] the URI prefix for all static assets (templates) # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#72 + # pkg:gem/yard#lib/yard/server/router.rb:72 def static_prefix; end protected @@ -14745,7 +14745,7 @@ class YARD::Server::Router # @return [Hash] finalized options # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#181 + # pkg:gem/yard#lib/yard/server/router.rb:181 def final_options(library, paths); end # Performs routing algorithm to find which prefix is called, first @@ -14755,7 +14755,7 @@ class YARD::Server::Router # @return [nil] if no route is matched # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#105 + # pkg:gem/yard#lib/yard/server/router.rb:105 def route(path = T.unsafe(nil)); end # Routes requests from {#docs_prefix} and calls the appropriate command @@ -14766,7 +14766,7 @@ class YARD::Server::Router # @return [nil] if no route is matched # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#128 + # pkg:gem/yard#lib/yard/server/router.rb:128 def route_docs(library, paths); end # Routes for the index of a library / multiple libraries @@ -14775,7 +14775,7 @@ class YARD::Server::Router # @return [nil] if no route is matched # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#146 + # pkg:gem/yard#lib/yard/server/router.rb:146 def route_index; end # Routes requests from {#list_prefix} and calls the appropriate command @@ -14786,7 +14786,7 @@ class YARD::Server::Router # @return [nil] if no route is matched # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#157 + # pkg:gem/yard#lib/yard/server/router.rb:157 def route_list(library, paths); end # Routes requests from {#search_prefix} and calls the appropriate command @@ -14797,12 +14797,12 @@ class YARD::Server::Router # @return [nil] if no route is matched # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#165 + # pkg:gem/yard#lib/yard/server/router.rb:165 def route_search(library, paths); end # @since 0.6.0 # - # source://yard//lib/yard/server/router.rb#170 + # pkg:gem/yard#lib/yard/server/router.rb:170 def route_static(library, paths); end end @@ -14811,7 +14811,7 @@ end # @see Router Router documentation for "Caching" # @since 0.6.0 # -# source://yard//lib/yard/server/static_caching.rb#7 +# pkg:gem/yard#lib/yard/server/static_caching.rb:7 module YARD::Server::StaticCaching # Called by a router to return the cached object. By default, this # method performs disk-based caching. To perform other forms of caching, @@ -14841,7 +14841,7 @@ module YARD::Server::StaticCaching # @see Commands::Base#cache # @since 0.6.0 # - # source://yard//lib/yard/server/static_caching.rb#34 + # pkg:gem/yard#lib/yard/server/static_caching.rb:34 def check_static_cache; end end @@ -14849,39 +14849,39 @@ end # # @private # -# source://yard//lib/yard/serializers/yardoc_serializer.rb#6 +# pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:6 class YARD::StubProxy # @return [StubProxy] a new instance of StubProxy # - # source://yard//lib/yard/serializers/yardoc_serializer.rb#13 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:13 def initialize(path, transient = T.unsafe(nil)); end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#9 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:9 def _dump(_depth); end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#11 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:11 def hash; end - # source://yard//lib/yard/serializers/yardoc_serializer.rb#18 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:18 def method_missing(meth, *args, &block); end class << self - # source://yard//lib/yard/serializers/yardoc_serializer.rb#10 + # pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:10 def _load(str); end end end -# source://yard//lib/yard/serializers/yardoc_serializer.rb#28 +# pkg:gem/yard#lib/yard/serializers/yardoc_serializer.rb:28 YARD::StubProxy::FILELEN = T.let(T.unsafe(nil), Integer) # The root path for YARD builtin templates # -# source://yard//lib/yard.rb#10 +# pkg:gem/yard#lib/yard.rb:10 YARD::TEMPLATE_ROOT = T.let(T.unsafe(nil), String) # Namespace for Tag components # -# source://yard//lib/yard/autoload.rb#248 +# pkg:gem/yard#lib/yard/autoload.rb:248 module YARD::Tags; end # Defines an attribute with a given name, using indented block data as the @@ -14910,46 +14910,46 @@ module YARD::Tags; end # @see tag:!method # @since 0.7.0 # -# source://yard//lib/yard/tags/directives.rb#460 +# pkg:gem/yard#lib/yard/tags/directives.rb:460 class YARD::Tags::AttributeDirective < ::YARD::Tags::MethodDirective # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#461 + # pkg:gem/yard#lib/yard/tags/directives.rb:461 def after_parse; end protected # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#469 + # pkg:gem/yard#lib/yard/tags/directives.rb:469 def method_name; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#475 + # pkg:gem/yard#lib/yard/tags/directives.rb:475 def method_signature; end private # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#485 + # pkg:gem/yard#lib/yard/tags/directives.rb:485 def create_attribute_data(object); end # @return [Boolean] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#515 + # pkg:gem/yard#lib/yard/tags/directives.rb:515 def readable?; end # @return [Boolean] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#511 + # pkg:gem/yard#lib/yard/tags/directives.rb:511 def writable?; end end -# source://yard//lib/yard/tags/default_factory.rb#4 +# pkg:gem/yard#lib/yard/tags/default_factory.rb:4 class YARD::Tags::DefaultFactory # Parses tag text and creates a new tag with descriptive text # @@ -14957,7 +14957,7 @@ class YARD::Tags::DefaultFactory # @param text [String] the raw tag text # @return [Tag] a tag object with the tag_name and text values filled # - # source://yard//lib/yard/tags/default_factory.rb#13 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:13 def parse_tag(tag_name, text); end # Parses tag text and creates a new tag with a key name and descriptive text @@ -14966,13 +14966,13 @@ class YARD::Tags::DefaultFactory # @param text [String] the raw tag text # @return [Tag] a tag object with the tag_name, name and text values filled # - # source://yard//lib/yard/tags/default_factory.rb#22 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:22 def parse_tag_with_name(tag_name, text); end - # source://yard//lib/yard/tags/default_factory.rb#89 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:89 def parse_tag_with_options(tag_name, text); end - # source://yard//lib/yard/tags/default_factory.rb#70 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:70 def parse_tag_with_title_and_text(tag_name, text); end # Parses tag text and creates a new tag with formally declared types and @@ -14983,7 +14983,7 @@ class YARD::Tags::DefaultFactory # @raise [TagFormatError] # @return [Tag] a tag object with the tag_name, types and text values filled # - # source://yard//lib/yard/tags/default_factory.rb#33 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:33 def parse_tag_with_types(tag_name, text); end # Parses tag text and creates a new tag with formally declared types, a key @@ -14993,7 +14993,7 @@ class YARD::Tags::DefaultFactory # @param text [String] the raw tag text # @return [Tag] a tag object with the tag_name, name, types and text values filled # - # source://yard//lib/yard/tags/default_factory.rb#45 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:45 def parse_tag_with_types_and_name(tag_name, text); end # Parses tag text and creates a new tag with formally declared types, a title @@ -15003,10 +15003,10 @@ class YARD::Tags::DefaultFactory # @param text [String] the raw tag text # @return [Tag] a tag object with the tag_name, name, types and text values filled # - # source://yard//lib/yard/tags/default_factory.rb#57 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:57 def parse_tag_with_types_and_title(tag_name, text); end - # source://yard//lib/yard/tags/default_factory.rb#75 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:75 def parse_tag_with_types_name_and_default(tag_name, text); end private @@ -15017,12 +15017,12 @@ class YARD::Tags::DefaultFactory # @return [Array] an array holding the name as the first element and the # value as the second element # - # source://yard//lib/yard/tags/default_factory.rb#101 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:101 def extract_name_from_text(text); end # @raise [TagFormatError] # - # source://yard//lib/yard/tags/default_factory.rb#105 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:105 def extract_title_and_desc_from_text(text); end # Parses a [], <>, {} or () block at the beginning of a line of text @@ -15035,29 +15035,29 @@ class YARD::Tags::DefaultFactory # list (or nil), followed by the type list parsed into an array of # strings, followed by the text following the type list. # - # source://yard//lib/yard/tags/default_factory.rb#129 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:129 def extract_types_and_name_from_text(text, opening_types = T.unsafe(nil), closing_types = T.unsafe(nil)); end - # source://yard//lib/yard/tags/default_factory.rb#138 + # pkg:gem/yard#lib/yard/tags/default_factory.rb:138 def extract_types_and_name_from_text_unstripped(text, opening_types = T.unsafe(nil), closing_types = T.unsafe(nil)); end end -# source://yard//lib/yard/tags/default_factory.rb#6 +# pkg:gem/yard#lib/yard/tags/default_factory.rb:6 YARD::Tags::DefaultFactory::TYPELIST_CLOSING_CHARS = T.let(T.unsafe(nil), String) -# source://yard//lib/yard/tags/default_factory.rb#5 +# pkg:gem/yard#lib/yard/tags/default_factory.rb:5 YARD::Tags::DefaultFactory::TYPELIST_OPENING_CHARS = T.let(T.unsafe(nil), String) -# source://yard//lib/yard/tags/default_tag.rb#4 +# pkg:gem/yard#lib/yard/tags/default_tag.rb:4 class YARD::Tags::DefaultTag < ::YARD::Tags::Tag # @return [DefaultTag] a new instance of DefaultTag # - # source://yard//lib/yard/tags/default_tag.rb#7 + # pkg:gem/yard#lib/yard/tags/default_tag.rb:7 def initialize(tag_name, text, types = T.unsafe(nil), name = T.unsafe(nil), defaults = T.unsafe(nil)); end # Returns the value of attribute defaults. # - # source://yard//lib/yard/tags/default_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/default_tag.rb:5 def defaults; end end @@ -15079,14 +15079,14 @@ end # @see Library.define_directive # @since 0.8.0 # -# source://yard//lib/yard/tags/directives.rb#22 +# pkg:gem/yard#lib/yard/tags/directives.rb:22 class YARD::Tags::Directive # @param parser [DocstringParser] the docstring parser object # @param tag [Tag] the meta-data tag containing all input to the docstring # @return [Directive] a new instance of Directive # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#54 + # pkg:gem/yard#lib/yard/tags/directives.rb:54 def initialize(tag, parser); end # Called after parsing all directives and tags in the docstring. Used @@ -15095,7 +15095,7 @@ class YARD::Tags::Directive # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#73 + # pkg:gem/yard#lib/yard/tags/directives.rb:73 def after_parse; end # Called when processing the directive. Subclasses should implement @@ -15107,7 +15107,7 @@ class YARD::Tags::Directive # @return [void] # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#68 + # pkg:gem/yard#lib/yard/tags/directives.rb:68 def call; end # Set this field to replace the directive definition inside of a docstring @@ -15119,7 +15119,7 @@ class YARD::Tags::Directive # @return [nil] if no expansion should take place for this directive # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#33 + # pkg:gem/yard#lib/yard/tags/directives.rb:33 def expanded_text; end # Set this field to replace the directive definition inside of a docstring @@ -15131,7 +15131,7 @@ class YARD::Tags::Directive # @return [nil] if no expansion should take place for this directive # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#33 + # pkg:gem/yard#lib/yard/tags/directives.rb:33 def expanded_text=(_arg0); end # @return [Handlers::Base, nil] the handler object the docstring parser @@ -15139,33 +15139,33 @@ class YARD::Tags::Directive # through {Parser::SourceParser}. # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#48 + # pkg:gem/yard#lib/yard/tags/directives.rb:48 def handler; end # @return [CodeObjects::Base, nil] the object the parent docstring is # attached to. May be nil. # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#42 + # pkg:gem/yard#lib/yard/tags/directives.rb:42 def object; end # @return [DocstringParser] the parser that is parsing all tag # information out of the docstring # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#37 + # pkg:gem/yard#lib/yard/tags/directives.rb:37 def parser=(_arg0); end # @return [Tag] the meta-data tag containing data input to the directive # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#24 + # pkg:gem/yard#lib/yard/tags/directives.rb:24 def tag; end # @return [Tag] the meta-data tag containing data input to the directive # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#24 + # pkg:gem/yard#lib/yard/tags/directives.rb:24 def tag=(_arg0); end protected @@ -15173,14 +15173,14 @@ class YARD::Tags::Directive # @return [Boolean] # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#79 + # pkg:gem/yard#lib/yard/tags/directives.rb:79 def inside_directive?; end # @return [DocstringParser] the parser that is parsing all tag # information out of the docstring # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#37 + # pkg:gem/yard#lib/yard/tags/directives.rb:37 def parser; end end @@ -15204,11 +15204,11 @@ end # @see tag:!group # @since 0.6.0 # -# source://yard//lib/yard/tags/directives.rb#104 +# pkg:gem/yard#lib/yard/tags/directives.rb:104 class YARD::Tags::EndGroupDirective < ::YARD::Tags::Directive # @since 0.6.0 # - # source://yard//lib/yard/tags/directives.rb#105 + # pkg:gem/yard#lib/yard/tags/directives.rb:105 def call; end end @@ -15229,11 +15229,11 @@ end # @see tag:!endgroup # @since 0.6.0 # -# source://yard//lib/yard/tags/directives.rb#127 +# pkg:gem/yard#lib/yard/tags/directives.rb:127 class YARD::Tags::GroupDirective < ::YARD::Tags::Directive # @since 0.6.0 # - # source://yard//lib/yard/tags/directives.rb#128 + # pkg:gem/yard#lib/yard/tags/directives.rb:128 def call; end end @@ -15293,11 +15293,11 @@ end # @see define_directive # @see define_tag # -# source://yard//lib/yard/tags/library.rb#59 +# pkg:gem/yard#lib/yard/tags/library.rb:59 class YARD::Tags::Library # @return [Library] a new instance of Library # - # source://yard//lib/yard/tags/library.rb#260 + # pkg:gem/yard#lib/yard/tags/library.rb:260 def initialize(factory = T.unsafe(nil)); end # Marks a class/module/method as abstract with optional @@ -15310,7 +15310,7 @@ class YARD::Tags::Library # def run; raise NotImplementedError end # end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def abstract_tag(text); end # Declares the API that the object belongs to. Does not display in @@ -15330,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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def api_tag(text); end # Declares a readonly attribute on a Struct or class. @@ -15342,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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def attr_reader_tag(text); end # Declares a readwrite attribute on a Struct or class. @@ -15354,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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def attr_tag(text); end # Declares a writeonly attribute on a Struct or class. @@ -15366,10 +15366,10 @@ class YARD::Tags::Library # class MyStruct < Struct; end # @note This attribute is only applicable on class docstrings # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def attr_writer_tag(text); end - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def attribute_directive(tag, parser); end # List the author or authors of a class, module, or method. @@ -15378,7 +15378,7 @@ class YARD::Tags::Library # # @author Foo Bar # class MyClass; end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def author_tag(text); end # Marks a method/class as deprecated with an optional description. @@ -15396,7 +15396,7 @@ class YARD::Tags::Library # def kill; end # end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def deprecated_tag(text); end # Creates a new directive with tag information and a docstring parser @@ -15407,10 +15407,10 @@ class YARD::Tags::Library # @param tag_name [String] the name of the tag # @return [Directive] the newly created directive # - # source://yard//lib/yard/tags/library.rb#290 + # pkg:gem/yard#lib/yard/tags/library.rb:290 def directive_create(tag_name, tag_buf, parser); end - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def endgroup_directive(tag, parser); end # Show an example snippet of code for an object. The first line @@ -15421,40 +15421,40 @@ class YARD::Tags::Library # # "mystring".reverse #=> "gnirtsym" # def reverse; end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def example_tag(text); end # A factory class to handle parsing of tags, defaults to {default_factory} # - # source://yard//lib/yard/tags/library.rb#258 + # pkg:gem/yard#lib/yard/tags/library.rb:258 def factory; end # A factory class to handle parsing of tags, defaults to {default_factory} # - # source://yard//lib/yard/tags/library.rb#258 + # pkg:gem/yard#lib/yard/tags/library.rb:258 def factory=(_arg0); end - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def group_directive(tag, parser); end # @param tag_name [#to_s] the name of the tag to look for # @return [Boolean] whether a directive by the given name is registered in # the library. # - # source://yard//lib/yard/tags/library.rb#280 + # pkg:gem/yard#lib/yard/tags/library.rb:280 def has_directive?(tag_name); end # @param tag_name [#to_s] the name of the tag to look for # @return [Boolean] whether a tag by the given name is registered in # the library. # - # source://yard//lib/yard/tags/library.rb#267 + # pkg:gem/yard#lib/yard/tags/library.rb:267 def has_tag?(tag_name); end - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def macro_directive(tag, parser); end - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def method_directive(tag, parser); end # Adds an emphasized note at the top of the docstring for the object @@ -15464,7 +15464,7 @@ class YARD::Tags::Library # def eject; end # @see tag:todo # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def note_tag(text); end # Describe an options hash in a method. The tag takes the @@ -15485,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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def option_tag(text); end # Describe that your method can be used in various @@ -15504,7 +15504,7 @@ class YARD::Tags::Library # # @param value [Object] describe value param # def set(*args) end # - # source://yard//lib/yard/tags/library.rb#160 + # pkg:gem/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 @@ -15515,10 +15515,10 @@ 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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def param_tag(text); end - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def parse_directive(tag, parser); end # Declares that the _logical_ visibility of an object is private. @@ -15550,7 +15550,7 @@ class YARD::Tags::Library # it is redefined on the child object. # @see tag:api # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def private_tag(text); end # Describes that a method may raise a given exception, with @@ -15561,7 +15561,7 @@ class YARD::Tags::Library # # sufficient funds to perform the transaction # def withdraw(amount) end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def raise_tag(text); end # Describes the return value (and type or types) of a method. @@ -15579,13 +15579,13 @@ class YARD::Tags::Library # # @return [Fixnum] the size of the file # def size; @file.size end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def return_tag(text); end # Sets the scope of a DSL method. Only applicable to DSL method # calls. Acceptable values are 'class' or 'instance' # - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def scope_directive(tag, parser); end # "See Also" references for an object. Accepts URLs or @@ -15599,7 +15599,7 @@ class YARD::Tags::Library # # @see NTPHelperMethods # class NTPUpdater; end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def see_tag(text); end # Lists the version that the object was first added. @@ -15612,14 +15612,14 @@ 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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def since_tag(text); end # Creates a new {Tag} object with a given tag name and data # # @return [Tag] the newly created tag object # - # source://yard//lib/yard/tags/library.rb#273 + # pkg:gem/yard#lib/yard/tags/library.rb:273 def tag_create(tag_name, tag_buf); end # Marks a TODO note in the object being documented. @@ -15647,7 +15647,7 @@ class YARD::Tags::Library # class Wonderlander; end # @see tag:note # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def todo_tag(text); end # Lists the version of a class, module or method. This is @@ -15662,13 +15662,13 @@ class YARD::Tags::Library # # @version 2.0 # class JabberwockyAPI; end # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def version_tag(text); end # Sets the visibility of a DSL method. Only applicable to # DSL method calls. Acceptable values are public, protected, or private. # - # source://yard//lib/yard/tags/library.rb#202 + # pkg:gem/yard#lib/yard/tags/library.rb:202 def visibility_directive(tag, parser); end # Describes what a method might yield to a given block. @@ -15685,7 +15685,7 @@ class YARD::Tags::Library # @see tag:yieldparam # @see tag:yieldreturn # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def yield_tag(text); end # Defines a parameter yielded by a block. If you define the @@ -15696,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#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def yieldparam_tag(text); end # Documents the value and type that the block is expected @@ -15707,17 +15707,17 @@ class YARD::Tags::Library # def add5_block(&block) 5 + yield end # @see tag:return # - # source://yard//lib/yard/tags/library.rb#166 + # pkg:gem/yard#lib/yard/tags/library.rb:166 def yieldreturn_tag(text); end private # @return [Directive] # - # source://yard//lib/yard/tags/library.rb#244 + # pkg:gem/yard#lib/yard/tags/library.rb:244 def directive_call(tag, parser); end - # source://yard//lib/yard/tags/library.rb#233 + # pkg:gem/yard#lib/yard/tags/library.rb:233 def send_to_factory(tag_name, meth, text); end class << self @@ -15732,7 +15732,7 @@ class YARD::Tags::Library # YARD::Tags::Library.default_factory = MyFactory # @see DefaultFactory # - # source://yard//lib/yard/tags/library.rb#83 + # pkg:gem/yard#lib/yard/tags/library.rb:83 def default_factory; end # Replace the factory object responsible for parsing tags by setting @@ -15746,12 +15746,12 @@ class YARD::Tags::Library # YARD::Tags::Library.default_factory = MyFactory # @see DefaultFactory # - # source://yard//lib/yard/tags/library.rb#87 + # pkg:gem/yard#lib/yard/tags/library.rb:87 def default_factory=(factory); end # @overload define_directive # - # source://yard//lib/yard/tags/library.rb#196 + # pkg:gem/yard#lib/yard/tags/library.rb:196 def define_directive(tag, tag_meth = T.unsafe(nil), directive_class = T.unsafe(nil)); end # Convenience method to define a new tag using one of {Tag}'s factory methods, or the @@ -15762,10 +15762,10 @@ class YARD::Tags::Library # creating the tag or the name of the class to directly create a tag for # @param tag [#to_s] the tag name to create # - # source://yard//lib/yard/tags/library.rb#157 + # pkg:gem/yard#lib/yard/tags/library.rb:157 def define_tag(label, tag, meth = T.unsafe(nil)); end - # source://yard//lib/yard/tags/library.rb#220 + # pkg:gem/yard#lib/yard/tags/library.rb:220 def directive_method_name(tag_name); end # Returns the factory method used to parse the tag text for a specific tag @@ -15777,7 +15777,7 @@ class YARD::Tags::Library # @return [nil] if the tag is freeform text # @since 0.6.0 # - # source://yard//lib/yard/tags/library.rb#99 + # pkg:gem/yard#lib/yard/tags/library.rb:99 def factory_method_for(tag); end # Returns the factory method used to parse the tag text for a specific @@ -15790,18 +15790,18 @@ class YARD::Tags::Library # @return [nil] if the tag is freeform text # @since 0.8.0 # - # source://yard//lib/yard/tags/library.rb#112 + # pkg:gem/yard#lib/yard/tags/library.rb:112 def factory_method_for_directive(directive); end # @return [Library] the main Library instance object. # - # source://yard//lib/yard/tags/library.rb#67 + # pkg:gem/yard#lib/yard/tags/library.rb:67 def instance; end # @return [SymbolHash{Symbol=>String}] the map of tag names and their # respective display labels. # - # source://yard//lib/yard/tags/library.rb#63 + # pkg:gem/yard#lib/yard/tags/library.rb:63 def labels; end # Sorts the labels lexically by their label name, often used when displaying @@ -15809,10 +15809,10 @@ class YARD::Tags::Library # # @return [Array, String] the sorted labels as an array of the tag name and label # - # source://yard//lib/yard/tags/library.rb#142 + # pkg:gem/yard#lib/yard/tags/library.rb:142 def sorted_labels; end - # source://yard//lib/yard/tags/library.rb#216 + # pkg:gem/yard#lib/yard/tags/library.rb:216 def tag_method_name(tag_name); end # Sets the list of tags that should apply to any children inside the @@ -15823,7 +15823,7 @@ class YARD::Tags::Library # @return [Array] a list of transitive tags # @since 0.6.0 # - # source://yard//lib/yard/tags/library.rb#136 + # pkg:gem/yard#lib/yard/tags/library.rb:136 def transitive_tags; end # Sets the list of tags that should apply to any children inside the @@ -15834,7 +15834,7 @@ class YARD::Tags::Library # @return [Array] a list of transitive tags # @since 0.6.0 # - # source://yard//lib/yard/tags/library.rb#136 + # pkg:gem/yard#lib/yard/tags/library.rb:136 def transitive_tags=(_arg0); end # Sets the list of tags to display when rendering templates. The order of @@ -15849,7 +15849,7 @@ class YARD::Tags::Library # @return [Array] a list of ordered tags # @since 0.6.0 # - # source://yard//lib/yard/tags/library.rb#127 + # pkg:gem/yard#lib/yard/tags/library.rb:127 def visible_tags; end # Sets the list of tags to display when rendering templates. The order of @@ -15864,12 +15864,12 @@ class YARD::Tags::Library # @return [Array] a list of ordered tags # @since 0.6.0 # - # source://yard//lib/yard/tags/library.rb#127 + # pkg:gem/yard#lib/yard/tags/library.rb:127 def visible_tags=(_arg0); end private - # source://yard//lib/yard/tags/library.rb#226 + # pkg:gem/yard#lib/yard/tags/library.rb:226 def tag_or_directive_method_name(tag_name, type = T.unsafe(nil)); end end end @@ -15998,12 +15998,12 @@ end # def filter; end # @since 0.7.0 # -# source://yard//lib/yard/tags/directives.rb#257 +# pkg:gem/yard#lib/yard/tags/directives.rb:257 class YARD::Tags::MacroDirective < ::YARD::Tags::Directive # @raise [TagFormatError] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#258 + # pkg:gem/yard#lib/yard/tags/directives.rb:258 def call; end private @@ -16011,40 +16011,40 @@ class YARD::Tags::MacroDirective < ::YARD::Tags::Directive # @return [Boolean] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#287 + # pkg:gem/yard#lib/yard/tags/directives.rb:287 def anonymous?; end # @return [Boolean] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#276 + # pkg:gem/yard#lib/yard/tags/directives.rb:276 def attach?; end # @return [Boolean] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#282 + # pkg:gem/yard#lib/yard/tags/directives.rb:282 def class_method?; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#291 + # pkg:gem/yard#lib/yard/tags/directives.rb:291 def expand(macro_data); end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#307 + # pkg:gem/yard#lib/yard/tags/directives.rb:307 def find_or_create; end # @return [Boolean] # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#271 + # pkg:gem/yard#lib/yard/tags/directives.rb:271 def new?; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#331 + # pkg:gem/yard#lib/yard/tags/directives.rb:331 def warn; end end @@ -16077,132 +16077,132 @@ end # @see tag:!attribute # @since 0.7.0 # -# source://yard//lib/yard/tags/directives.rb#367 +# pkg:gem/yard#lib/yard/tags/directives.rb:367 class YARD::Tags::MethodDirective < ::YARD::Tags::Directive # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#372 + # pkg:gem/yard#lib/yard/tags/directives.rb:372 def after_parse; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#370 + # pkg:gem/yard#lib/yard/tags/directives.rb:370 def call; end protected # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#412 + # pkg:gem/yard#lib/yard/tags/directives.rb:412 def create_object; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#380 + # pkg:gem/yard#lib/yard/tags/directives.rb:380 def method_name; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#389 + # pkg:gem/yard#lib/yard/tags/directives.rb:389 def method_signature; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#393 + # pkg:gem/yard#lib/yard/tags/directives.rb:393 def sanitized_tag_signature; end # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#402 + # pkg:gem/yard#lib/yard/tags/directives.rb:402 def use_indented_text; end end # @since 0.7.0 # -# source://yard//lib/yard/tags/directives.rb#368 +# pkg:gem/yard#lib/yard/tags/directives.rb:368 YARD::Tags::MethodDirective::SCOPE_MATCH = T.let(T.unsafe(nil), Regexp) -# source://yard//lib/yard/tags/option_tag.rb#4 +# pkg:gem/yard#lib/yard/tags/option_tag.rb:4 class YARD::Tags::OptionTag < ::YARD::Tags::Tag # @return [OptionTag] a new instance of OptionTag # - # source://yard//lib/yard/tags/option_tag.rb#7 + # pkg:gem/yard#lib/yard/tags/option_tag.rb:7 def initialize(tag_name, name, pair); end # Returns the value of attribute pair. # - # source://yard//lib/yard/tags/option_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/option_tag.rb:5 def pair; end # Sets the attribute pair # # @param value the value to set the attribute pair to. # - # source://yard//lib/yard/tags/option_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/option_tag.rb:5 def pair=(_arg0); end end -# source://yard//lib/yard/tags/overload_tag.rb#4 +# pkg:gem/yard#lib/yard/tags/overload_tag.rb:4 class YARD::Tags::OverloadTag < ::YARD::Tags::Tag # @return [OverloadTag] a new instance of OverloadTag # - # source://yard//lib/yard/tags/overload_tag.rb#7 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:7 def initialize(tag_name, text); end # Returns the value of attribute docstring. # - # source://yard//lib/yard/tags/overload_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:5 def docstring; end # @return [Boolean] # - # source://yard//lib/yard/tags/overload_tag.rb#15 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:15 def has_tag?(name); end # @return [Boolean] # - # source://yard//lib/yard/tags/overload_tag.rb#36 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:36 def is_a?(other); end # @return [Boolean] # - # source://yard//lib/yard/tags/overload_tag.rb#39 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:39 def kind_of?(other); end - # source://yard//lib/yard/tags/overload_tag.rb#28 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:28 def method_missing(*args, &block); end - # source://yard//lib/yard/tags/overload_tag.rb#23 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:23 def name(prefix = T.unsafe(nil)); end - # source://yard//lib/yard/tags/overload_tag.rb#17 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:17 def object=(value); end # Returns the value of attribute parameters. # - # source://yard//lib/yard/tags/overload_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:5 def parameters; end # Returns the value of attribute signature. # - # source://yard//lib/yard/tags/overload_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:5 def signature; end - # source://yard//lib/yard/tags/overload_tag.rb#13 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:13 def tag(name); end - # source://yard//lib/yard/tags/overload_tag.rb#14 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:14 def tags(name = T.unsafe(nil)); end - # source://yard//lib/yard/tags/overload_tag.rb#32 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:32 def type; end private - # source://yard//lib/yard/tags/overload_tag.rb#53 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:53 def parse_signature; end - # source://yard//lib/yard/tags/overload_tag.rb#43 + # pkg:gem/yard#lib/yard/tags/overload_tag.rb:43 def parse_tag(text); end end @@ -16231,73 +16231,73 @@ end # # } # @since 0.8.0 # -# source://yard//lib/yard/tags/directives.rb#544 +# pkg:gem/yard#lib/yard/tags/directives.rb:544 class YARD::Tags::ParseDirective < ::YARD::Tags::Directive # @since 0.8.0 # - # source://yard//lib/yard/tags/directives.rb#545 + # pkg:gem/yard#lib/yard/tags/directives.rb:545 def call; end end -# source://yard//lib/yard/tags/ref_tag.rb#4 +# pkg:gem/yard#lib/yard/tags/ref_tag.rb:4 module YARD::Tags::RefTag # Returns the value of attribute owner. # - # source://yard//lib/yard/tags/ref_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag.rb:5 def owner; end # Sets the attribute owner # # @param value the value to set the attribute owner to. # - # source://yard//lib/yard/tags/ref_tag.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag.rb:5 def owner=(_arg0); end end -# source://yard//lib/yard/tags/ref_tag_list.rb#4 +# pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:4 class YARD::Tags::RefTagList # @return [RefTagList] a new instance of RefTagList # - # source://yard//lib/yard/tags/ref_tag_list.rb#7 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:7 def initialize(tag_name, owner, name = T.unsafe(nil)); end # Returns the value of attribute name. # - # source://yard//lib/yard/tags/ref_tag_list.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:5 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://yard//lib/yard/tags/ref_tag_list.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:5 def name=(_arg0); end # Returns the value of attribute owner. # - # source://yard//lib/yard/tags/ref_tag_list.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:5 def owner; end # Sets the attribute owner # # @param value the value to set the attribute owner to. # - # source://yard//lib/yard/tags/ref_tag_list.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:5 def owner=(_arg0); end # Returns the value of attribute tag_name. # - # source://yard//lib/yard/tags/ref_tag_list.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:5 def tag_name; end # Sets the attribute tag_name # # @param value the value to set the attribute tag_name to. # - # source://yard//lib/yard/tags/ref_tag_list.rb#5 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:5 def tag_name=(_arg0); end - # source://yard//lib/yard/tags/ref_tag_list.rb#13 + # pkg:gem/yard#lib/yard/tags/ref_tag_list.rb:13 def tags; end end @@ -16319,11 +16319,11 @@ end # def method2; end # @since 0.7.0 # -# source://yard//lib/yard/tags/directives.rb#578 +# pkg:gem/yard#lib/yard/tags/directives.rb:578 class YARD::Tags::ScopeDirective < ::YARD::Tags::Directive # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#579 + # pkg:gem/yard#lib/yard/tags/directives.rb:579 def call; end end @@ -16337,7 +16337,7 @@ end # # is equivalent to: # Tag.new(:param, 'an argument', ['String', 'nil'], 'arg') # -# source://yard//lib/yard/tags/tag.rb#13 +# pkg:gem/yard#lib/yard/tags/tag.rb:13 class YARD::Tags::Tag # Creates a new tag object with a tag name and text. Optionally, formally declared types # and a key name can be specified. @@ -16354,7 +16354,7 @@ class YARD::Tags::Tag # for the tag # @return [Tag] a new instance of Tag # - # source://yard//lib/yard/tags/tag.rb#45 + # pkg:gem/yard#lib/yard/tags/tag.rb:45 def initialize(tag_name, text, types = T.unsafe(nil), name = T.unsafe(nil)); end # Provides a plain English summary of the type specification, or nil @@ -16363,51 +16363,51 @@ class YARD::Tags::Tag # @return [String] a plain English description of the associated types # @return [nil] if no types are provided or not parsable # - # source://yard//lib/yard/tags/tag.rb#66 + # pkg:gem/yard#lib/yard/tags/tag.rb:66 def explain_types; end # @return [String] a name associated with the tag # @return [nil] if no tag name is supplied # - # source://yard//lib/yard/tags/tag.rb#27 + # pkg:gem/yard#lib/yard/tags/tag.rb:27 def name; end # @return [String] a name associated with the tag # @return [nil] if no tag name is supplied # - # source://yard//lib/yard/tags/tag.rb#27 + # pkg:gem/yard#lib/yard/tags/tag.rb:27 def name=(_arg0); end # @return [CodeObjects::Base] the associated object # - # source://yard//lib/yard/tags/tag.rb#30 + # pkg:gem/yard#lib/yard/tags/tag.rb:30 def object; end # @return [CodeObjects::Base] the associated object # - # source://yard//lib/yard/tags/tag.rb#30 + # pkg:gem/yard#lib/yard/tags/tag.rb:30 def object=(_arg0); end # @return [String] the name of the tag # - # source://yard//lib/yard/tags/tag.rb#15 + # pkg:gem/yard#lib/yard/tags/tag.rb:15 def tag_name; end # @return [String] the name of the tag # - # source://yard//lib/yard/tags/tag.rb#15 + # pkg:gem/yard#lib/yard/tags/tag.rb:15 def tag_name=(_arg0); end # @return [String] the tag text associated with the tag # @return [nil] if no tag text is supplied # - # source://yard//lib/yard/tags/tag.rb#19 + # pkg:gem/yard#lib/yard/tags/tag.rb:19 def text; end # @return [String] the tag text associated with the tag # @return [nil] if no tag text is supplied # - # source://yard//lib/yard/tags/tag.rb#19 + # pkg:gem/yard#lib/yard/tags/tag.rb:19 def text=(_arg0); end # Convenience method to access the first type specified. This should mainly @@ -16416,26 +16416,26 @@ class YARD::Tags::Tag # @return [String] the first of the list of specified types # @see #types # - # source://yard//lib/yard/tags/tag.rb#57 + # pkg:gem/yard#lib/yard/tags/tag.rb:57 def type; end # @return [Array] a list of types associated with the tag # @return [nil] if no types are associated with the tag # - # source://yard//lib/yard/tags/tag.rb#23 + # pkg:gem/yard#lib/yard/tags/tag.rb:23 def types; end # @return [Array] a list of types associated with the tag # @return [nil] if no types are associated with the tag # - # source://yard//lib/yard/tags/tag.rb#23 + # pkg:gem/yard#lib/yard/tags/tag.rb:23 def types=(_arg0); end end -# source://yard//lib/yard/tags/tag_format_error.rb#4 +# pkg:gem/yard#lib/yard/tags/tag_format_error.rb:4 class YARD::Tags::TagFormatError < ::RuntimeError; end -# source://yard//lib/yard/tags/types_explainer.rb#6 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:6 class YARD::Tags::TypesExplainer class << self # Provides a plain English summary of the type specification, or nil @@ -16445,7 +16445,7 @@ class YARD::Tags::TypesExplainer # @return [String] a plain English description of the associated types # @return [nil] if no types are provided or not parsable # - # source://yard//lib/yard/tags/types_explainer.rb#9 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:9 def explain(*types); end # Provides a plain English summary of the type specification, or nil @@ -16456,136 +16456,136 @@ class YARD::Tags::TypesExplainer # @return [String] a plain English description of the associated types # @return [nil] if no types are provided or not parsable # - # source://yard//lib/yard/tags/types_explainer.rb#17 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:17 def explain!(*types); end private - # source://yard//lib/yard/tags/types_explainer.rb#22 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:22 def new(*_arg0); end end end # @private # -# source://yard//lib/yard/tags/types_explainer.rb#58 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:58 class YARD::Tags::TypesExplainer::CollectionType < ::YARD::Tags::TypesExplainer::Type # @return [CollectionType] a new instance of CollectionType # - # source://yard//lib/yard/tags/types_explainer.rb#61 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:61 def initialize(name, types); end - # source://yard//lib/yard/tags/types_explainer.rb#66 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:66 def to_s(_singular = T.unsafe(nil)); end # Returns the value of attribute types. # - # source://yard//lib/yard/tags/types_explainer.rb#59 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:59 def types; end # Sets the attribute types # # @param value the value to set the attribute types to. # - # source://yard//lib/yard/tags/types_explainer.rb#59 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:59 def types=(_arg0); end end # @private # -# source://yard//lib/yard/tags/types_explainer.rb#72 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:72 class YARD::Tags::TypesExplainer::FixedCollectionType < ::YARD::Tags::TypesExplainer::CollectionType - # source://yard//lib/yard/tags/types_explainer.rb#73 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:73 def to_s(_singular = T.unsafe(nil)); end end # @private # -# source://yard//lib/yard/tags/types_explainer.rb#79 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:79 class YARD::Tags::TypesExplainer::HashCollectionType < ::YARD::Tags::TypesExplainer::Type # @return [HashCollectionType] a new instance of HashCollectionType # - # source://yard//lib/yard/tags/types_explainer.rb#82 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:82 def initialize(name, key_types, value_types); end # Returns the value of attribute key_types. # - # source://yard//lib/yard/tags/types_explainer.rb#80 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:80 def key_types; end # Sets the attribute key_types # # @param value the value to set the attribute key_types to. # - # source://yard//lib/yard/tags/types_explainer.rb#80 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:80 def key_types=(_arg0); end - # source://yard//lib/yard/tags/types_explainer.rb#88 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:88 def to_s(_singular = T.unsafe(nil)); end # Returns the value of attribute value_types. # - # source://yard//lib/yard/tags/types_explainer.rb#80 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:80 def value_types; end # Sets the attribute value_types # # @param value the value to set the attribute value_types to. # - # source://yard//lib/yard/tags/types_explainer.rb#80 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:80 def value_types=(_arg0); end end # @private # -# source://yard//lib/yard/tags/types_explainer.rb#96 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:96 class YARD::Tags::TypesExplainer::Parser include ::YARD::CodeObjects # @return [Parser] a new instance of Parser # - # source://yard//lib/yard/tags/types_explainer.rb#117 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:117 def initialize(string); end - # source://yard//lib/yard/tags/types_explainer.rb#121 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:121 def parse; end class << self - # source://yard//lib/yard/tags/types_explainer.rb#113 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:113 def parse(string); end end end -# source://yard//lib/yard/tags/types_explainer.rb#99 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:99 YARD::Tags::TypesExplainer::Parser::TOKENS = T.let(T.unsafe(nil), Hash) # @private # -# source://yard//lib/yard/tags/types_explainer.rb#26 +# pkg:gem/yard#lib/yard/tags/types_explainer.rb:26 class YARD::Tags::TypesExplainer::Type # @return [Type] a new instance of Type # - # source://yard//lib/yard/tags/types_explainer.rb#29 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:29 def initialize(name); end # Returns the value of attribute name. # - # source://yard//lib/yard/tags/types_explainer.rb#27 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:27 def name; end # Sets the attribute name # # @param value the value to set the attribute name to. # - # source://yard//lib/yard/tags/types_explainer.rb#27 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:27 def name=(_arg0); end - # source://yard//lib/yard/tags/types_explainer.rb#33 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:33 def to_s(singular = T.unsafe(nil)); end private - # source://yard//lib/yard/tags/types_explainer.rb#45 + # pkg:gem/yard#lib/yard/tags/types_explainer.rb:45 def list_join(list); end end @@ -16608,17 +16608,17 @@ end # def method2; end # @since 0.7.0 # -# source://yard//lib/yard/tags/directives.rb#610 +# pkg:gem/yard#lib/yard/tags/directives.rb:610 class YARD::Tags::VisibilityDirective < ::YARD::Tags::Directive # @since 0.7.0 # - # source://yard//lib/yard/tags/directives.rb#611 + # pkg:gem/yard#lib/yard/tags/directives.rb:611 def call; end end # Namespace for templating system # -# source://yard//lib/yard/autoload.rb#271 +# pkg:gem/yard#lib/yard/autoload.rb:271 module YARD::Templates; end # This module manages all creation, handling and rendering of {Template} @@ -16628,7 +16628,7 @@ module YARD::Templates; end # * To render a template, call {render}. # * To register a template path in the lookup paths, call {register_template_path}. # -# source://yard//lib/yard/templates/engine.rb#11 +# pkg:gem/yard#lib/yard/templates/engine.rb:11 module YARD::Templates::Engine class << self # Passes a set of objects to the +:fulldoc+ template for full documentation generation. @@ -16640,7 +16640,7 @@ module YARD::Templates::Engine # @param options [Hash] (see {render}) # @return [void] # - # source://yard//lib/yard/templates/engine.rb#100 + # pkg:gem/yard#lib/yard/templates/engine.rb:100 def generate(objects, options = T.unsafe(nil)); end # Registers a new template path in {template_paths} @@ -16648,7 +16648,7 @@ module YARD::Templates::Engine # @param path [String] a new template path # @return [void] # - # source://yard//lib/yard/templates/engine.rb#20 + # pkg:gem/yard#lib/yard/templates/engine.rb:20 def register_template_path(path); end # Renders a template on a {CodeObjects::Base code object} using @@ -16669,7 +16669,7 @@ module YARD::Templates::Engine # @param options [Hash] the options hash # @return [String] the rendered template # - # source://yard//lib/yard/templates/engine.rb#81 + # pkg:gem/yard#lib/yard/templates/engine.rb:81 def render(options = T.unsafe(nil)); end # Creates a template module representing the path. Searches on disk @@ -16683,7 +16683,7 @@ module YARD::Templates::Engine # {template_paths} on disk. # @return [Template] the module representing the template # - # source://yard//lib/yard/templates/engine.rb#34 + # pkg:gem/yard#lib/yard/templates/engine.rb:34 def template(*path); end # Forces creation of a template at +path+ within a +full_path+. @@ -16692,17 +16692,17 @@ module YARD::Templates::Engine # @param path [String] the path name of the template # @return [Template] the template module representing the +path+ # - # source://yard//lib/yard/templates/engine.rb#52 + # pkg:gem/yard#lib/yard/templates/engine.rb:52 def template!(path, full_paths = T.unsafe(nil)); end # @return [Array] the list of registered template paths # - # source://yard//lib/yard/templates/engine.rb#14 + # pkg:gem/yard#lib/yard/templates/engine.rb:14 def template_paths; end # @return [Array] the list of registered template paths # - # source://yard//lib/yard/templates/engine.rb#14 + # pkg:gem/yard#lib/yard/templates/engine.rb:14 def template_paths=(_arg0); end # Serializes the results of a block with a +serializer+ object. @@ -16713,7 +16713,7 @@ module YARD::Templates::Engine # @yield a block whose result will be serialize # @yieldreturn [String] the contents to serialize # - # source://yard//lib/yard/templates/engine.rb#114 + # pkg:gem/yard#lib/yard/templates/engine.rb:114 def with_serializer(object, serializer); end private @@ -16728,7 +16728,7 @@ module YARD::Templates::Engine # @return [Array] a list of full paths that are existing # candidates for a template module # - # source://yard//lib/yard/templates/engine.rb#160 + # pkg:gem/yard#lib/yard/templates/engine.rb:160 def find_template_paths(from_template, path); end # Sets default options on the options hash @@ -16739,7 +16739,7 @@ module YARD::Templates::Engine # @param options [Hash] the options hash # @return [void] # - # source://yard//lib/yard/templates/engine.rb#140 + # pkg:gem/yard#lib/yard/templates/engine.rb:140 def set_default_options(options = T.unsafe(nil)); end # The name of the module that represents a +path+ @@ -16747,36 +16747,36 @@ module YARD::Templates::Engine # @param path [String] the path to generate a module name for # @return [String] the module name # - # source://yard//lib/yard/templates/engine.rb#175 + # pkg:gem/yard#lib/yard/templates/engine.rb:175 def template_module_name(path); end end end # @since 0.5.4 # -# source://yard//lib/yard/templates/erb_cache.rb#5 +# pkg:gem/yard#lib/yard/templates/erb_cache.rb:5 module YARD::Templates::ErbCache class << self # @since 0.5.4 # - # source://yard//lib/yard/templates/erb_cache.rb#17 + # pkg:gem/yard#lib/yard/templates/erb_cache.rb:17 def clear!; end # @since 0.5.4 # - # source://yard//lib/yard/templates/erb_cache.rb#6 + # pkg:gem/yard#lib/yard/templates/erb_cache.rb:6 def method_for(filename); end end end # Namespace for template helpers # -# source://yard//lib/yard/autoload.rb#272 +# pkg:gem/yard#lib/yard/autoload.rb:272 module YARD::Templates::Helpers; end # The base helper module included in all templates. # -# source://yard//lib/yard/templates/helpers/base_helper.rb#4 +# pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:4 module YARD::Templates::Helpers::BaseHelper # @example # s = format_object_title ModuleObject.new(:root, :MyModuleName) @@ -16784,7 +16784,7 @@ module YARD::Templates::Helpers::BaseHelper # @param object [CodeObjects::Base] the object to retrieve a title for # @return [String] the page title name for a given object # - # source://yard//lib/yard/templates/helpers/base_helper.rb#196 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:196 def format_object_title(object); end # @example Formatted type of a method @@ -16798,7 +16798,7 @@ module YARD::Templates::Helpers::BaseHelper # @return [String] the human-readable formatted {CodeObjects::Base#type #type} # for the object # - # source://yard//lib/yard/templates/helpers/base_helper.rb#182 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:182 def format_object_type(object); end # Indents and formats source code @@ -16806,7 +16806,7 @@ module YARD::Templates::Helpers::BaseHelper # @param value [String] the input source code # @return [String] formatted source code # - # source://yard//lib/yard/templates/helpers/base_helper.rb#209 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:209 def format_source(value); end # Formats a list of return types for output and links each type. @@ -16819,7 +16819,7 @@ module YARD::Templates::Helpers::BaseHelper # @param list [Array] a list of types # @return [String] the formatted list of Ruby types # - # source://yard//lib/yard/templates/helpers/base_helper.rb#168 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:168 def format_types(list, brackets = T.unsafe(nil)); end # An object that keeps track of global state throughout the entire template @@ -16828,13 +16828,13 @@ module YARD::Templates::Helpers::BaseHelper # @return [OpenStruct] a struct object that stores state # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/base_helper.rb#20 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:20 def globals; end # Escapes text. This is used a lot by the HtmlHelper and there should # be some helper to "clean up" text for whatever, this is it. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#38 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:38 def h(text); end # Links to an extra file @@ -16845,7 +16845,7 @@ module YARD::Templates::Helpers::BaseHelper # @return [String] the link to the file # @since 0.5.5 # - # source://yard//lib/yard/templates/helpers/base_helper.rb#152 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:152 def link_file(filename, title = T.unsafe(nil), anchor = T.unsafe(nil)); end # Include a file as a docstring in output @@ -16854,7 +16854,7 @@ module YARD::Templates::Helpers::BaseHelper # @return [String] the file's contents # @since 0.7.0 # - # source://yard//lib/yard/templates/helpers/base_helper.rb#113 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:113 def link_include_file(file); end # Includes an object's docstring into output. @@ -16863,7 +16863,7 @@ module YARD::Templates::Helpers::BaseHelper # @return [String] the object's docstring (no tags) # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/base_helper.rb#105 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:105 def link_include_object(obj); end # Links to an object with an optional title @@ -16872,7 +16872,7 @@ module YARD::Templates::Helpers::BaseHelper # @param title [String] the title to use for the link # @return [String] the linked object # - # source://yard//lib/yard/templates/helpers/base_helper.rb#122 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:122 def link_object(obj, title = T.unsafe(nil)); end # Links to a URL @@ -16882,7 +16882,7 @@ module YARD::Templates::Helpers::BaseHelper # @param url [String] the URL to link to # @return [String] the linked URL # - # source://yard//lib/yard/templates/helpers/base_helper.rb#141 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:141 def link_url(url, title = T.unsafe(nil), params = T.unsafe(nil)); end # Links objects or URLs. This method will delegate to the correct +link_+ @@ -16897,25 +16897,25 @@ module YARD::Templates::Helpers::BaseHelper # @example Linking to an extra file # linkify('file:README') # - # source://yard//lib/yard/templates/helpers/base_helper.rb#55 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:55 def linkify(*args); end # Returns the value of attribute object. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#5 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:5 def object; end # Sets the attribute object # # @param value the value to set the attribute object to. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#5 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:5 def object=(_arg0); end # @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#9 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:9 def owner; end # Runs a list of objects against the {Verifier} object passed into the @@ -16925,50 +16925,50 @@ module YARD::Templates::Helpers::BaseHelper # @return [Array] a list of code objects that match # the verifier. If no verifier is supplied, all objects are returned. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#30 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:30 def run_verifier(list); end # Returns the value of attribute serializer. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#5 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:5 def serializer; end # Sets the attribute serializer # # @param value the value to set the attribute serializer to. # - # source://yard//lib/yard/templates/helpers/base_helper.rb#5 + # pkg:gem/yard#lib/yard/templates/helpers/base_helper.rb:5 def serializer=(_arg0); end end # Helpers for various object types # -# source://yard//lib/yard/templates/helpers/filter_helper.rb#5 +# pkg:gem/yard#lib/yard/templates/helpers/filter_helper.rb:5 module YARD::Templates::Helpers::FilterHelper # @return [Boolean] whether an object is a class # - # source://yard//lib/yard/templates/helpers/filter_helper.rb#17 + # pkg:gem/yard#lib/yard/templates/helpers/filter_helper.rb:17 def is_class?(object); end # @return [Boolean] whether an object is a method # - # source://yard//lib/yard/templates/helpers/filter_helper.rb#7 + # pkg:gem/yard#lib/yard/templates/helpers/filter_helper.rb:7 def is_method?(object); end # @return [Boolean] whether an object is a module # - # source://yard//lib/yard/templates/helpers/filter_helper.rb#22 + # pkg:gem/yard#lib/yard/templates/helpers/filter_helper.rb:22 def is_module?(object); end # @return [Boolean] whether an object is a namespace # - # source://yard//lib/yard/templates/helpers/filter_helper.rb#12 + # pkg:gem/yard#lib/yard/templates/helpers/filter_helper.rb:12 def is_namespace?(object); end end # The helper module for HTML templates. # -# source://yard//lib/yard/templates/helpers/html_helper.rb#7 +# pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:7 module YARD::Templates::Helpers::HtmlHelper include ::YARD::Templates::Helpers::MarkupHelper include ::YARD::Templates::Helpers::ModuleHelper @@ -16977,7 +16977,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param object [CodeObjects::Base] the object to get an anchor for # @return [String] the anchor for a specific object # - # source://yard//lib/yard/templates/helpers/html_helper.rb#347 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:347 def anchor_for(object); end # Returns the current character set. The default value can be overridden @@ -16988,14 +16988,14 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the current character set # @since 0.5.4 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#574 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:574 def charset; end # Formats a list of objects and links them # # @return [String] a formatted list of objects # - # source://yard//lib/yard/templates/helpers/html_helper.rb#458 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:458 def format_object_name_list(objects); end # Formats a list of types from a tag. @@ -17007,7 +17007,7 @@ module YARD::Templates::Helpers::HtmlHelper # as [Type1, Type2, ...] with the types linked # to their respective descriptions. # - # source://yard//lib/yard/templates/helpers/html_helper.rb#476 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:476 def format_types(typelist, brackets = T.unsafe(nil)); end # Escapes HTML entities @@ -17015,7 +17015,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] the text to escape # @return [String] the HTML with escaped entities # - # source://yard//lib/yard/templates/helpers/html_helper.rb#23 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:23 def h(text); end # Converts Asciidoc to HTML @@ -17023,7 +17023,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] input Asciidoc text # @return [String] output HTML # - # source://yard//lib/yard/templates/helpers/html_helper.rb#109 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:109 def html_markup_asciidoc(text); end # Converts HTML to HTML @@ -17032,7 +17032,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#168 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:168 def html_markup_html(text); end # Converts Markdown to HTML @@ -17041,13 +17041,13 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#78 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:78 def html_markup_markdown(text); end # @return [String] the same text with no markup # @since 0.6.6 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#160 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:160 def html_markup_none(text); end # Converts org-mode to HTML @@ -17055,7 +17055,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] input org-mode text # @return [String] output HTML # - # source://yard//lib/yard/templates/helpers/html_helper.rb#102 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:102 def html_markup_org(text); end # Converts plaintext to pre-formatted HTML @@ -17064,7 +17064,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#146 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:146 def html_markup_pre(text); end # Converts RDoc formatting (SimpleMarkup) to HTML @@ -17073,7 +17073,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#136 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:136 def html_markup_rdoc(text); end # Highlights Ruby source. Similar to {#html_syntax_highlight}, but @@ -17084,7 +17084,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the highlighted HTML # @since 0.7.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#179 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:179 def html_markup_ruby(source); end # Converts plaintext to regular HTML @@ -17093,7 +17093,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#154 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:154 def html_markup_text(text); end # Converts Textile to HTML @@ -17102,7 +17102,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#118 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:118 def html_markup_textile(text); end # Converts plaintext to strict Textile (hard breaks) @@ -17111,7 +17111,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the output HTML # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#128 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:128 def html_markup_textile_strict(text); end # Syntax highlights +source+ in language +type+. @@ -17123,12 +17123,12 @@ module YARD::Templates::Helpers::HtmlHelper # :plain for no syntax highlighting. # @return [String] the highlighted source # - # source://yard//lib/yard/templates/helpers/html_helper.rb#199 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:199 def html_syntax_highlight(source, type = T.unsafe(nil)); end # @return [String] unhighlighted source # - # source://yard//lib/yard/templates/helpers/html_helper.rb#210 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:210 def html_syntax_highlight_plain(source); end # Turns text into HTML using +markup+ style formatting. @@ -17138,17 +17138,17 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] the text to format # @return [String] the HTML # - # source://yard//lib/yard/templates/helpers/html_helper.rb#57 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:57 def htmlify(text, markup = T.unsafe(nil)); end # @return [String] HTMLified text as a single line (paragraphs removed) # - # source://yard//lib/yard/templates/helpers/html_helper.rb#184 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:184 def htmlify_line(*args); end # Inserts an include link while respecting inlining # - # source://yard//lib/yard/templates/helpers/html_helper.rb#296 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:296 def insert_include(text, markup = T.unsafe(nil)); end # Links to an extra file @@ -17159,7 +17159,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the link to the file # @since 0.5.5 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#270 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:270 def link_file(filename, title = T.unsafe(nil), anchor = T.unsafe(nil)); end # Include a file as a docstring in output @@ -17168,7 +17168,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the file's contents # @since 0.7.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#282 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:282 def link_include_file(file); end # Includes an object's docstring into output. @@ -17177,7 +17177,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the object's docstring (no tags) # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#291 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:291 def link_include_object(obj); end # Links to an object with an optional title @@ -17186,7 +17186,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param title [String] the title to use for the link # @return [String] the linked object # - # source://yard//lib/yard/templates/helpers/html_helper.rb#301 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:301 def link_object(obj, title = T.unsafe(nil), anchor = T.unsafe(nil), relative = T.unsafe(nil)); end # Links to a URL @@ -17196,10 +17196,10 @@ module YARD::Templates::Helpers::HtmlHelper # @param url [String] the URL to link to # @return [String] the linked URL # - # source://yard//lib/yard/templates/helpers/html_helper.rb#332 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:332 def link_url(url, title = T.unsafe(nil), params = T.unsafe(nil)); end - # source://yard//lib/yard/templates/helpers/html_helper.rb#400 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:400 def mtime(_file); end # Returns the URL for an object. @@ -17209,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#399 + # pkg:gem/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 @@ -17222,7 +17222,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] the text to resolve links in # @return [String] HTML with linkified references # - # source://yard//lib/yard/templates/helpers/html_helper.rb#225 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:225 def resolve_links(text); end # Formats the signature of method +meth+. @@ -17235,7 +17235,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param show_extras [Boolean] whether to show extra meta-data (visibility, attribute info) # @return [String] the formatted method signature # - # source://yard//lib/yard/templates/helpers/html_helper.rb#529 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:529 def signature(meth, link = T.unsafe(nil), show_extras = T.unsafe(nil), full_attr_name = T.unsafe(nil)); end # Get the return types for a method signature. @@ -17245,7 +17245,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the signature types # @since 0.5.3 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#492 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:492 def signature_types(meth, link = T.unsafe(nil)); end # Returns the URL for an object. @@ -17255,7 +17255,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 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:368 def url_for(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end # Returns the URL for a specific file @@ -17264,7 +17264,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param filename [String, CodeObjects::ExtraFileObject] the filename to link to # @return [String] the URL pointing to the file # - # source://yard//lib/yard/templates/helpers/html_helper.rb#407 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:407 def url_for_file(filename, anchor = T.unsafe(nil)); end # Returns the URL for the frameset page @@ -17272,7 +17272,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the URL pointing to the frames page # @since 0.8.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#434 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:434 def url_for_frameset; end # Returns the URL for the alphabetic index page @@ -17280,7 +17280,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the URL pointing to the first main page the # user should see. # - # source://yard//lib/yard/templates/helpers/html_helper.rb#450 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:450 def url_for_index; end # Returns the URL for a list type @@ -17289,7 +17289,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the URL pointing to the list # @since 0.8.0 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#426 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:426 def url_for_list(type); end # Returns the URL for the main page (README or alphabetic index) @@ -17297,7 +17297,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] the URL pointing to the first main page the # user should see. # - # source://yard//lib/yard/templates/helpers/html_helper.rb#442 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:442 def url_for_main; end private @@ -17306,7 +17306,7 @@ module YARD::Templates::Helpers::HtmlHelper # # @since 0.5.3 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#609 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:609 def convert_method_to_overload(meth); end # Parses code block's HTML attributes in order to detect the programming @@ -17317,7 +17317,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param pre_html_attrs [String, nil] HTML attribute list of +pre+ element # @return [String, nil] detected programming language # - # source://yard//lib/yard/templates/helpers/html_helper.rb#664 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:664 def detect_lang_in_codeblock_attributes(pre_html_attrs, code_html_attrs); end # Parses code blocks out of html and performs syntax highlighting @@ -17327,7 +17327,7 @@ module YARD::Templates::Helpers::HtmlHelper # @return [String] highlighted html # @see #html_syntax_highlight # - # source://yard//lib/yard/templates/helpers/html_helper.rb#640 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:640 def parse_codeblocks(html); end # Parses !!!lang out of codeblock, returning the codeblock language @@ -17338,7 +17338,7 @@ module YARD::Templates::Helpers::HtmlHelper # remaining source # @since 0.7.5 # - # source://yard//lib/yard/templates/helpers/html_helper.rb#624 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:624 def parse_lang_for_codeblock(source); end # Converts a set of hash options into HTML attributes for a tag @@ -17346,7 +17346,7 @@ module YARD::Templates::Helpers::HtmlHelper # @param opts [Hash{String => String}] the tag options # @return [String] the tag attributes of an HTML tag # - # source://yard//lib/yard/templates/helpers/html_helper.rb#603 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:603 def tag_attrs(opts = T.unsafe(nil)); end # Escapes a URL @@ -17354,7 +17354,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 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:31 def urlencode(text); end class << self @@ -17363,24 +17363,24 @@ module YARD::Templates::Helpers::HtmlHelper # @param text [String] the URL # @return [String] the escaped URL # - # source://yard//lib/yard/templates/helpers/html_helper.rb#47 + # pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:47 def urlencode(text); end end end # @private # -# source://yard//lib/yard/templates/helpers/html_helper.rb#15 +# pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:15 YARD::Templates::Helpers::HtmlHelper::ASCIIDOC_ATTRIBUTES = T.let(T.unsafe(nil), Hash) # @private # -# source://yard//lib/yard/templates/helpers/html_helper.rb#12 +# pkg:gem/yard#lib/yard/templates/helpers/html_helper.rb:12 YARD::Templates::Helpers::HtmlHelper::URLMATCH = T.let(T.unsafe(nil), Regexp) # Helper methods for syntax highlighting. # -# source://yard//lib/yard/templates/helpers/html_syntax_highlight_helper.rb#6 +# pkg:gem/yard#lib/yard/templates/helpers/html_syntax_highlight_helper.rb:6 module YARD::Templates::Helpers::HtmlSyntaxHighlightHelper include ::YARD::Templates::Helpers::ModuleHelper @@ -17389,57 +17389,57 @@ module YARD::Templates::Helpers::HtmlSyntaxHighlightHelper # @param source [String] the Ruby source code # @return [String] the highlighted Ruby source # - # source://yard//lib/yard/templates/helpers/html_syntax_highlight_helper.rb#12 + # pkg:gem/yard#lib/yard/templates/helpers/html_syntax_highlight_helper.rb:12 def html_syntax_highlight_ruby(source); end private - # source://yard//lib/yard/templates/helpers/html_syntax_highlight_helper.rb#63 + # pkg:gem/yard#lib/yard/templates/helpers/html_syntax_highlight_helper.rb:63 def clean_token_object(token_obj); end - # source://yard//lib/yard/templates/helpers/html_syntax_highlight_helper.rb#45 + # pkg:gem/yard#lib/yard/templates/helpers/html_syntax_highlight_helper.rb:45 def html_syntax_highlight_ruby_legacy(source); end - # source://yard//lib/yard/templates/helpers/html_syntax_highlight_helper.rb#22 + # pkg:gem/yard#lib/yard/templates/helpers/html_syntax_highlight_helper.rb:22 def html_syntax_highlight_ruby_ripper(source); end end # Namespace for markup providers # -# source://yard//lib/yard/autoload.rb#273 +# pkg:gem/yard#lib/yard/autoload.rb:273 module YARD::Templates::Helpers::Markup; end -# source://yard//lib/yard/templates/helpers/markup/rdoc_markdown.rb#13 +# pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markdown.rb:13 class YARD::Templates::Helpers::Markup::RDocMarkdown < ::YARD::Templates::Helpers::Markup::RDocMarkup # @return [RDocMarkdown] a new instance of RDocMarkdown # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markdown.rb#14 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markdown.rb:14 def initialize(text); end - # source://yard//lib/yard/templates/helpers/markup/rdoc_markdown.rb#18 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markdown.rb:18 def fix_typewriter(html); end end -# source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#12 +# pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:12 class YARD::Templates::Helpers::Markup::RDocMarkup # @return [RDocMarkup] a new instance of RDocMarkup # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#41 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:41 def initialize(text); end # Returns the value of attribute from_path. # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#35 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:35 def from_path; end # Sets the attribute from_path # # @param value the value to set the attribute from_path to. # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#35 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:35 def from_path=(_arg0); end - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#50 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:50 def to_html; end private @@ -17449,49 +17449,49 @@ class YARD::Templates::Helpers::Markup::RDocMarkup # # @todo Refactor into own SimpleMarkup subclass # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#87 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:87 def fix_dash_dash(text); end # Fixes RDoc behaviour with ++ only supporting alphanumeric text. # # @todo Refactor into own SimpleMarkup subclass # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#66 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:66 def fix_typewriter(text); end end -# source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#12 +# pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:12 YARD::Templates::Helpers::Markup::RDocMarkup::MARKUP = RDoc::Markup -# source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#13 +# pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:13 class YARD::Templates::Helpers::Markup::RDocMarkupToHtml < ::RDoc::Markup::ToHtml - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#16 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:16 def initialize; end - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#100 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:100 def accept_paragraph(*args); end # Returns the value of attribute from_path. # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#93 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:93 def from_path; end # Sets the attribute from_path # # @param value the value to set the attribute from_path to. # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#93 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:93 def from_path=(_arg0); end # Disable auto-link of URLs # - # source://yard//lib/yard/templates/helpers/markup/rdoc_markup.rb#96 + # pkg:gem/yard#lib/yard/templates/helpers/markup/rdoc_markup.rb:96 def handle_special_HYPERLINK(special); end end # Helper methods for loading and managing markup types. # -# source://yard//lib/yard/templates/helpers/markup_helper.rb#7 +# pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:7 module YARD::Templates::Helpers::MarkupHelper # Attempts to load the first valid markup provider in {MARKUP_PROVIDERS}. # If a provider is specified, immediately try to load it. @@ -17505,7 +17505,7 @@ module YARD::Templates::Helpers::MarkupHelper # # @return [Boolean] whether the markup provider was successfully loaded. # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#87 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:87 def load_markup_provider(type = T.unsafe(nil)); end # Gets the markup provider class/module constant for a markup type @@ -17514,7 +17514,7 @@ module YARD::Templates::Helpers::MarkupHelper # @param type [Symbol] the markup type (:rdoc, :markdown, etc.) # @return [Class] the markup class # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#158 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:158 def markup_class(type = T.unsafe(nil)); end # Strips any shebang lines on the file contents that pertain to @@ -17524,7 +17524,7 @@ module YARD::Templates::Helpers::MarkupHelper # @return [String] the file contents minus any preprocessing tags # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#149 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:149 def markup_file_contents(contents); end # Checks for a shebang or looks at the file extension to determine @@ -17543,7 +17543,7 @@ module YARD::Templates::Helpers::MarkupHelper # @see MARKUP_EXTENSIONS # @since 0.6.0 # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#133 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:133 def markup_for_file(contents, filename); end # Gets the markup provider name for a markup type @@ -17552,7 +17552,7 @@ module YARD::Templates::Helpers::MarkupHelper # @param type [Symbol] the markup type (:rdoc, :markdown, etc.) # @return [Symbol] the markup provider name (usually the gem name of the library) # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#168 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:168 def markup_provider(type = T.unsafe(nil)); end class << self @@ -17560,21 +17560,21 @@ module YARD::Templates::Helpers::MarkupHelper # # @return [void] # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#11 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:11 def clear_markup_cache; end # @private # @return [Hash{Symbol=>{(:provider,:class)=>Object}}] the cached markup providers # @since 0.6.4 # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#18 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:18 def markup_cache; end # @private # @return [Hash{Symbol=>{(:provider,:class)=>Object}}] the cached markup providers # @since 0.6.4 # - # source://yard//lib/yard/templates/helpers/markup_helper.rb#18 + # pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:18 def markup_cache=(_arg0); end end end @@ -17585,58 +17585,58 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/templates/helpers/markup_helper.rb#61 +# pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:61 YARD::Templates::Helpers::MarkupHelper::MARKUP_EXTENSIONS = T.let(T.unsafe(nil), Hash) # Contains the Regexp object that matches the shebang line of extra # files to detect the markup type. # -# source://yard//lib/yard/templates/helpers/markup_helper.rb#74 +# pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:74 YARD::Templates::Helpers::MarkupHelper::MARKUP_FILE_SHEBANG = T.let(T.unsafe(nil), Regexp) # The default list of markup providers for each markup type # -# source://yard//lib/yard/templates/helpers/markup_helper.rb#24 +# pkg:gem/yard#lib/yard/templates/helpers/markup_helper.rb:24 YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS = T.let(T.unsafe(nil), Hash) # Helper methods for method objects. # -# source://yard//lib/yard/templates/helpers/method_helper.rb#5 +# pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:5 module YARD::Templates::Helpers::MethodHelper # @return [String] formatted arguments for a method # - # source://yard//lib/yard/templates/helpers/method_helper.rb#7 + # pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:7 def format_args(object); end # @return [String] formatted block if one exists # - # source://yard//lib/yard/templates/helpers/method_helper.rb#35 + # pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:35 def format_block(object); end # @return [String] formats source of an object # - # source://yard//lib/yard/templates/helpers/method_helper.rb#57 + # pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:57 def format_code(object, _show_lines = T.unsafe(nil)); end # @return [String] formats source code of a constant value # - # source://yard//lib/yard/templates/helpers/method_helper.rb#68 + # pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:68 def format_constant(value); end # @return [String] formats line numbers for source code of an object # - # source://yard//lib/yard/templates/helpers/method_helper.rb#50 + # pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:50 def format_lines(object); end # @return [String] formatted and linked return types for a method # - # source://yard//lib/yard/templates/helpers/method_helper.rb#28 + # pkg:gem/yard#lib/yard/templates/helpers/method_helper.rb:28 def format_return_types(object); end end # Helper methods for managing module objects. # -# source://yard//lib/yard/templates/helpers/module_helper.rb#6 +# pkg:gem/yard#lib/yard/templates/helpers/module_helper.rb:6 module YARD::Templates::Helpers::ModuleHelper # Prunes the method listing by running the verifier and removing attributes/aliases # @@ -17644,65 +17644,65 @@ module YARD::Templates::Helpers::ModuleHelper # @param list [Array] a list of methods # @return [Array] a pruned list of methods # - # source://yard//lib/yard/templates/helpers/module_helper.rb#11 + # pkg:gem/yard#lib/yard/templates/helpers/module_helper.rb:11 def prune_method_listing(list, hide_attributes = T.unsafe(nil)); end end # Helper methods for text template formats. # -# source://yard//lib/yard/templates/helpers/text_helper.rb#6 +# pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:6 module YARD::Templates::Helpers::TextHelper # @return [String] aligns text to the right # - # source://yard//lib/yard/templates/helpers/text_helper.rb#39 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:39 def align_right(text, spacer = T.unsafe(nil), col = T.unsafe(nil)); end # @return [String] escapes text # - # source://yard//lib/yard/templates/helpers/text_helper.rb#8 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:8 def h(text); end # @return [String] returns a horizontal rule for output # - # source://yard//lib/yard/templates/helpers/text_helper.rb#45 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:45 def hr(col = T.unsafe(nil), sep = T.unsafe(nil)); end # @return [String] indents +text+ by +len+ characters. # - # source://yard//lib/yard/templates/helpers/text_helper.rb#29 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:29 def indent(text, len = T.unsafe(nil)); end # @return [String] the formatted signature for a method # - # source://yard//lib/yard/templates/helpers/text_helper.rb#50 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:50 def signature(meth); end # @return [String] aligns a title to the right # - # source://yard//lib/yard/templates/helpers/text_helper.rb#34 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:34 def title_align_right(text, col = T.unsafe(nil)); end # @return [String] wraps text at +col+ columns. # - # source://yard//lib/yard/templates/helpers/text_helper.rb#24 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:24 def wrap(text, col = T.unsafe(nil)); end private - # source://yard//lib/yard/templates/helpers/text_helper.rb#98 + # pkg:gem/yard#lib/yard/templates/helpers/text_helper.rb:98 def resolve_links(text); end end # Helpers for UML template format # -# source://yard//lib/yard/templates/helpers/uml_helper.rb#5 +# pkg:gem/yard#lib/yard/templates/helpers/uml_helper.rb:5 module YARD::Templates::Helpers::UMLHelper # Formats the path of an object for Graphviz syntax # # @param object [CodeObjects::Base] an object to format the path of # @return [String] the encoded path # - # source://yard//lib/yard/templates/helpers/uml_helper.rb#20 + # pkg:gem/yard#lib/yard/templates/helpers/uml_helper.rb:20 def format_path(object); end # Encodes text in escaped Graphviz syntax @@ -17710,7 +17710,7 @@ module YARD::Templates::Helpers::UMLHelper # @param text [String] text to encode # @return [String] the encoded text # - # source://yard//lib/yard/templates/helpers/uml_helper.rb#27 + # pkg:gem/yard#lib/yard/templates/helpers/uml_helper.rb:27 def h(text); end # Tidies data by formatting and indenting text @@ -17718,7 +17718,7 @@ module YARD::Templates::Helpers::UMLHelper # @param data [String] pre-formatted text # @return [String] tidied text. # - # source://yard//lib/yard/templates/helpers/uml_helper.rb#34 + # pkg:gem/yard#lib/yard/templates/helpers/uml_helper.rb:34 def tidy(data); end # Official UML visibility prefix syntax for an object given its visibility @@ -17726,7 +17726,7 @@ module YARD::Templates::Helpers::UMLHelper # @param object [CodeObjects::Base] the object to retrieve visibility for # @return [String] the UML visibility prefix # - # source://yard//lib/yard/templates/helpers/uml_helper.rb#9 + # pkg:gem/yard#lib/yard/templates/helpers/uml_helper.rb:9 def uml_visibility(object); end end @@ -17735,89 +17735,89 @@ end # # @since 0.6.0 # -# source://yard//lib/yard/templates/section.rb#7 +# pkg:gem/yard#lib/yard/templates/section.rb:7 class YARD::Templates::Section < ::Array # @return [Section] a new instance of Section # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#10 + # pkg:gem/yard#lib/yard/templates/section.rb:10 def initialize(name, *args); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#48 + # pkg:gem/yard#lib/yard/templates/section.rb:48 def <<(*args); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#34 + # pkg:gem/yard#lib/yard/templates/section.rb:34 def ==(other); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#21 + # pkg:gem/yard#lib/yard/templates/section.rb:21 def [](*args); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#74 + # pkg:gem/yard#lib/yard/templates/section.rb:74 def any(item); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#15 + # pkg:gem/yard#lib/yard/templates/section.rb:15 def dup; end # @return [Boolean] # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#30 + # pkg:gem/yard#lib/yard/templates/section.rb:30 def eql?(other); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#54 + # pkg:gem/yard#lib/yard/templates/section.rb:54 def inspect; end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#8 + # pkg:gem/yard#lib/yard/templates/section.rb:8 def name; end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#8 + # pkg:gem/yard#lib/yard/templates/section.rb:8 def name=(_arg0); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#60 + # pkg:gem/yard#lib/yard/templates/section.rb:60 def place(*args); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#45 + # pkg:gem/yard#lib/yard/templates/section.rb:45 def push(*args); end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#64 + # pkg:gem/yard#lib/yard/templates/section.rb:64 def to_a; end # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#50 + # pkg:gem/yard#lib/yard/templates/section.rb:50 def unshift(*args); end private # @since 0.6.0 # - # source://yard//lib/yard/templates/section.rb#84 + # pkg:gem/yard#lib/yard/templates/section.rb:84 def parse_sections(args); end end -# source://yard//lib/yard/templates/template.rb#6 +# pkg:gem/yard#lib/yard/templates/template.rb:6 module YARD::Templates::Template include ::YARD::Templates::ErbCache include ::YARD::Templates::Helpers::BaseHelper @@ -17825,7 +17825,7 @@ module YARD::Templates::Template mixes_in_class_methods ::YARD::Templates::Template::ClassMethods - # source://yard//lib/yard/templates/template.rb#186 + # pkg:gem/yard#lib/yard/templates/template.rb:186 def initialize(opts = T.unsafe(nil)); end # Loads a template specified by path. If +:template+ or +:format+ is @@ -17835,26 +17835,26 @@ module YARD::Templates::Template # @param path [Array] the path of the template # @return [Template] the loaded template module # - # source://yard//lib/yard/templates/template.rb#204 + # pkg:gem/yard#lib/yard/templates/template.rb:204 def T(*path); end # Returns the value of attribute class. # - # source://yard//lib/yard/templates/template.rb#7 + # pkg:gem/yard#lib/yard/templates/template.rb:7 def class; end # Sets the attribute class # # @param value the value to set the attribute class to. # - # source://yard//lib/yard/templates/template.rb#7 + # pkg:gem/yard#lib/yard/templates/template.rb:7 def class=(_arg0); end # @param section [String, Symbol] the section name # @return [String] the contents of the ERB rendered section # @yield calls subsections to be rendered # - # source://yard//lib/yard/templates/template.rb#285 + # pkg:gem/yard#lib/yard/templates/template.rb:285 def erb(section, &block); end # Returns the contents of a file. If +allow_inherited+ is set to +true+, @@ -17879,7 +17879,7 @@ module YARD::Templates::Template # @see ClassMethods#find_file # @see ClassMethods#find_nth_file # - # source://yard//lib/yard/templates/template.rb#312 + # pkg:gem/yard#lib/yard/templates/template.rb:312 def file(basename, allow_inherited = T.unsafe(nil)); end # Initialization called on the template. Override this in a 'setup.rb' @@ -17891,18 +17891,18 @@ module YARD::Templates::Template # end # @see #sections # - # source://yard//lib/yard/templates/template.rb#239 + # pkg:gem/yard#lib/yard/templates/template.rb:239 def init; end - # source://yard//lib/yard/templates/template.rb#342 + # pkg:gem/yard#lib/yard/templates/template.rb:342 def inspect; end # Returns the value of attribute options. # - # source://yard//lib/yard/templates/template.rb#8 + # pkg:gem/yard#lib/yard/templates/template.rb:8 def options; end - # source://yard//lib/yard/templates/template.rb#337 + # pkg:gem/yard#lib/yard/templates/template.rb:337 def options=(value); end # Runs a template on +sects+ using extra options. This method should @@ -17916,19 +17916,19 @@ module YARD::Templates::Template # @yield [opts] calls for the subsections to be rendered # @yieldparam opts [Hash] any extra options to yield # - # source://yard//lib/yard/templates/template.rb#252 + # pkg:gem/yard#lib/yard/templates/template.rb:252 def run(opts = T.unsafe(nil), sects = T.unsafe(nil), start_at = T.unsafe(nil), break_first = T.unsafe(nil), &block); end # Returns the value of attribute section. # - # source://yard//lib/yard/templates/template.rb#7 + # pkg:gem/yard#lib/yard/templates/template.rb:7 def section; end # Sets the attribute section # # @param value the value to set the attribute section to. # - # source://yard//lib/yard/templates/template.rb#7 + # pkg:gem/yard#lib/yard/templates/template.rb:7 def section=(_arg0); end # Sets the sections (and subsections) to be rendered for the template @@ -17948,7 +17948,7 @@ module YARD::Templates::Template # templates, they will have {Template::ClassMethods#run} called on them. # Any subsections can be yielded to using yield or {#yieldall} # - # source://yard//lib/yard/templates/template.rb#226 + # pkg:gem/yard#lib/yard/templates/template.rb:226 def sections(*args); end # Calls the ERB file from the last inherited template with {#section}.erb @@ -17957,44 +17957,44 @@ module YARD::Templates::Template # @return [String] the rendered ERB file in any of the inherited template # paths. # - # source://yard//lib/yard/templates/template.rb#330 + # pkg:gem/yard#lib/yard/templates/template.rb:330 def superb(sect = T.unsafe(nil), &block); end # Yields all subsections with any extra options # # @param opts [Hash] extra options to be applied to subsections # - # source://yard//lib/yard/templates/template.rb#278 + # pkg:gem/yard#lib/yard/templates/template.rb:278 def yieldall(opts = T.unsafe(nil), &block); end protected - # source://yard//lib/yard/templates/template.rb#348 + # pkg:gem/yard#lib/yard/templates/template.rb:348 def erb_file_for(section); end - # source://yard//lib/yard/templates/template.rb#352 + # pkg:gem/yard#lib/yard/templates/template.rb:352 def erb_with(content, filename = T.unsafe(nil)); end private - # source://yard//lib/yard/templates/template.rb#399 + # pkg:gem/yard#lib/yard/templates/template.rb:399 def add_options(opts = T.unsafe(nil)); end # @raise [ArgumentError] # - # source://yard//lib/yard/templates/template.rb#378 + # pkg:gem/yard#lib/yard/templates/template.rb:378 def cache(section); end - # source://yard//lib/yard/templates/template.rb#388 + # pkg:gem/yard#lib/yard/templates/template.rb:388 def cache_filename(section); end - # source://yard//lib/yard/templates/template.rb#364 + # pkg:gem/yard#lib/yard/templates/template.rb:364 def render_section(section, &block); end - # source://yard//lib/yard/templates/template.rb#393 + # pkg:gem/yard#lib/yard/templates/template.rb:393 def set_ivars; end - # source://yard//lib/yard/templates/template.rb#412 + # pkg:gem/yard#lib/yard/templates/template.rb:412 def with_section; end class << self @@ -18013,7 +18013,7 @@ module YARD::Templates::Template # @return [Array] a list of modules to be automatically included # into any new template module # - # source://yard//lib/yard/templates/template.rb#25 + # pkg:gem/yard#lib/yard/templates/template.rb:25 def extra_includes; end # Extra includes are mixins that are included after a template is created. These @@ -18031,7 +18031,7 @@ module YARD::Templates::Template # @return [Array] a list of modules to be automatically included # into any new template module # - # source://yard//lib/yard/templates/template.rb#25 + # pkg:gem/yard#lib/yard/templates/template.rb:25 def extra_includes=(_arg0); end # Includes the {extra_includes} modules into the template object. @@ -18040,20 +18040,20 @@ module YARD::Templates::Template # @param template [Template] the template object to mixin the extra includes. # @return [void] # - # source://yard//lib/yard/templates/template.rb#38 + # pkg:gem/yard#lib/yard/templates/template.rb:38 def include_extra(template, options); end # @private # @private # - # source://yard//lib/yard/templates/template.rb#29 + # pkg:gem/yard#lib/yard/templates/template.rb:29 def included(klass); end end end -# source://yard//lib/yard/templates/template.rb#59 +# pkg:gem/yard#lib/yard/templates/template.rb:59 module YARD::Templates::Template::ClassMethods - # source://yard//lib/yard/templates/template.rb#81 + # pkg:gem/yard#lib/yard/templates/template.rb:81 def initialize(path, full_paths); end # Alias for creating a {Section} with arguments @@ -18061,12 +18061,12 @@ module YARD::Templates::Template::ClassMethods # @see Section#initialize # @since 0.6.0 # - # source://yard//lib/yard/templates/template.rb#149 + # pkg:gem/yard#lib/yard/templates/template.rb:149 def S(*args); end # Alias for creating {Engine.template}. # - # source://yard//lib/yard/templates/template.rb#142 + # pkg:gem/yard#lib/yard/templates/template.rb:142 def T(*path); end # Searches for a file identified by +basename+ in the template's @@ -18078,7 +18078,7 @@ module YARD::Templates::Template::ClassMethods # +basename+ in one of the template's paths. # @see find_nth_file # - # source://yard//lib/yard/templates/template.rb#98 + # pkg:gem/yard#lib/yard/templates/template.rb:98 def find_file(basename); end # Searches for the nth file (where n = +index+) identified @@ -18089,67 +18089,67 @@ module YARD::Templates::Template::ClassMethods # @return [String] the full path of the nth file on disk with # filename +basename+ in one of the template paths # - # source://yard//lib/yard/templates/template.rb#109 + # pkg:gem/yard#lib/yard/templates/template.rb:109 def find_nth_file(basename, index = T.unsafe(nil)); end # Returns the value of attribute full_path. # - # source://yard//lib/yard/templates/template.rb#60 + # pkg:gem/yard#lib/yard/templates/template.rb:60 def full_path; end # Sets the attribute full_path # # @param value the value to set the attribute full_path to. # - # source://yard//lib/yard/templates/template.rb#60 + # pkg:gem/yard#lib/yard/templates/template.rb:60 def full_path=(_arg0); end # @note This method caches path results. Paths should not be modified # after this method is called; call {#reset_full_paths} to reset cache. # @return [Array] a list of full paths # - # source://yard//lib/yard/templates/template.rb#65 + # pkg:gem/yard#lib/yard/templates/template.rb:65 def full_paths; end # @return [Boolean] # - # source://yard//lib/yard/templates/template.rb#122 + # pkg:gem/yard#lib/yard/templates/template.rb:122 def is_a?(klass); end # Creates a new template object to be rendered with {Template#run} # - # source://yard//lib/yard/templates/template.rb#128 + # pkg:gem/yard#lib/yard/templates/template.rb:128 def new(*args); end # Returns the value of attribute path. # - # source://yard//lib/yard/templates/template.rb#60 + # pkg:gem/yard#lib/yard/templates/template.rb:60 def path; end # Sets the attribute path # # @param value the value to set the attribute path to. # - # source://yard//lib/yard/templates/template.rb#60 + # pkg:gem/yard#lib/yard/templates/template.rb:60 def path=(_arg0); end # Resets cache for {#full_paths} # - # source://yard//lib/yard/templates/template.rb#77 + # pkg:gem/yard#lib/yard/templates/template.rb:77 def reset_full_paths; end - # source://yard//lib/yard/templates/template.rb#135 + # pkg:gem/yard#lib/yard/templates/template.rb:135 def run(*args); end private - # source://yard//lib/yard/templates/template.rb#170 + # pkg:gem/yard#lib/yard/templates/template.rb:170 def include_inherited(full_paths); end - # source://yard//lib/yard/templates/template.rb#157 + # pkg:gem/yard#lib/yard/templates/template.rb:157 def include_parent; end - # source://yard//lib/yard/templates/template.rb#176 + # pkg:gem/yard#lib/yard/templates/template.rb:176 def load_setup_rb; end end @@ -18158,22 +18158,22 @@ end # # @see CLI::YardocOptions # -# source://yard//lib/yard/templates/template_options.rb#9 +# pkg:gem/yard#lib/yard/templates/template_options.rb:9 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/templates/template_options.rb#34 + # pkg:gem/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/templates/template_options.rb#20 + # pkg:gem/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/templates/template_options.rb#20 + # pkg:gem/yard#lib/yard/templates/template_options.rb:20 def default_return=(_arg0); end # @example A list of mixin path names (including wildcards) @@ -18183,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/templates/template_options.rb#71 + # pkg:gem/yard#lib/yard/templates/template_options.rb:71 def embed_mixins; end # @example A list of mixin path names (including wildcards) @@ -18193,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/templates/template_options.rb#71 + # pkg:gem/yard#lib/yard/templates/template_options.rb:71 def embed_mixins=(_arg0); end # @param mixin [CodeObjects::Base] accepts any code object, but returns @@ -18201,174 +18201,174 @@ class YARD::Templates::TemplateOptions < ::YARD::Options # @return [Boolean] whether a mixin matches the embed_mixins list # @return [nil] if the mixin is not a module object # - # source://yard//lib/yard/templates/template_options.rb#77 + # pkg:gem/yard#lib/yard/templates/template_options.rb:77 def embed_mixins_match?(mixin); end # @return [Symbol] the template output format # - # source://yard//lib/yard/templates/template_options.rb#11 + # pkg:gem/yard#lib/yard/templates/template_options.rb:11 def format; end # @return [Symbol] the template output format # - # source://yard//lib/yard/templates/template_options.rb#11 + # pkg:gem/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/templates/template_options.rb#33 + # pkg:gem/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/templates/template_options.rb#33 + # pkg:gem/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/templates/template_options.rb#23 + # pkg:gem/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/templates/template_options.rb#23 + # pkg:gem/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/templates/template_options.rb#26 + # pkg:gem/yard#lib/yard/templates/template_options.rb:26 def highlight; end # @return [Boolean] whether code blocks should be syntax highlighted # - # source://yard//lib/yard/templates/template_options.rb#26 + # pkg:gem/yard#lib/yard/templates/template_options.rb:26 def highlight=(_arg0); end # @return [Boolean] whether the page is the "index" # - # source://yard//lib/yard/templates/template_options.rb#63 + # pkg:gem/yard#lib/yard/templates/template_options.rb:63 def index; end # @return [Boolean] whether the page is the "index" # - # source://yard//lib/yard/templates/template_options.rb#63 + # pkg:gem/yard#lib/yard/templates/template_options.rb:63 def index=(_arg0); end # @return [Symbol] the markup format to use when parsing docstrings # - # source://yard//lib/yard/templates/template_options.rb#17 + # pkg:gem/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/templates/template_options.rb#17 + # pkg:gem/yard#lib/yard/templates/template_options.rb:17 def markup=(_arg0); end # @return [Class] the markup provider class for the markup format # - # source://yard//lib/yard/templates/template_options.rb#29 + # pkg:gem/yard#lib/yard/templates/template_options.rb:29 def markup_provider; end # @return [Class] the markup provider class for the markup format # - # source://yard//lib/yard/templates/template_options.rb#29 + # pkg:gem/yard#lib/yard/templates/template_options.rb:29 def markup_provider=(_arg0); end # @deprecated use {#highlight} instead. # @return [Boolean] whether highlighting should be ignored # - # source://yard//lib/yard/templates/template_options.rb#54 + # pkg:gem/yard#lib/yard/templates/template_options.rb:54 def no_highlight; end - # source://yard//lib/yard/templates/template_options.rb#57 + # pkg:gem/yard#lib/yard/templates/template_options.rb:57 def no_highlight=(value); end # @return [CodeObjects::Base] the main object being generated in the template # - # source://yard//lib/yard/templates/template_options.rb#37 + # pkg:gem/yard#lib/yard/templates/template_options.rb:37 def object; end # @return [CodeObjects::Base] the main object being generated in the template # - # source://yard//lib/yard/templates/template_options.rb#37 + # pkg:gem/yard#lib/yard/templates/template_options.rb:37 def object=(_arg0); end # @return [CodeObjects::Base] the owner of the generated object # - # source://yard//lib/yard/templates/template_options.rb#40 + # pkg:gem/yard#lib/yard/templates/template_options.rb:40 def owner; end # @return [CodeObjects::Base] the owner of the generated object # - # source://yard//lib/yard/templates/template_options.rb#40 + # pkg:gem/yard#lib/yard/templates/template_options.rb:40 def owner=(_arg0); end # @return [String] the title of a given page # - # source://yard//lib/yard/templates/template_options.rb#60 + # pkg:gem/yard#lib/yard/templates/template_options.rb:60 def page_title; end # @return [String] the title of a given page # - # source://yard//lib/yard/templates/template_options.rb#60 + # pkg:gem/yard#lib/yard/templates/template_options.rb:60 def page_title=(_arg0); end # @return [Boolean] whether serialization should be performed # - # source://yard//lib/yard/templates/template_options.rb#46 + # pkg:gem/yard#lib/yard/templates/template_options.rb:46 def serialize; end # @return [Boolean] whether serialization should be performed # - # source://yard//lib/yard/templates/template_options.rb#46 + # pkg:gem/yard#lib/yard/templates/template_options.rb:46 def serialize=(_arg0); end # @return [Serializers::Base] the serializer used to generate links and serialize # output. Serialization output only occurs if {#serialize} is +true+. # - # source://yard//lib/yard/templates/template_options.rb#50 + # pkg:gem/yard#lib/yard/templates/template_options.rb:50 def serializer; end # @return [Serializers::Base] the serializer used to generate links and serialize # output. Serialization output only occurs if {#serialize} is +true+. # - # source://yard//lib/yard/templates/template_options.rb#50 + # pkg:gem/yard#lib/yard/templates/template_options.rb:50 def serializer=(_arg0); end # @return [Symbol] the template name used to render output # - # source://yard//lib/yard/templates/template_options.rb#14 + # pkg:gem/yard#lib/yard/templates/template_options.rb:14 def template; end # @return [Symbol] the template name used to render output # - # source://yard//lib/yard/templates/template_options.rb#14 + # pkg:gem/yard#lib/yard/templates/template_options.rb:14 def template=(_arg0); end # @return [Symbol] the template type used to generate output # - # source://yard//lib/yard/templates/template_options.rb#43 + # pkg:gem/yard#lib/yard/templates/template_options.rb:43 def type; end # @return [Symbol] the template type used to generate output # - # source://yard//lib/yard/templates/template_options.rb#43 + # pkg:gem/yard#lib/yard/templates/template_options.rb:43 def type=(_arg0); end # @return [Verifier] the verifier object # - # source://yard//lib/yard/templates/template_options.rb#88 + # pkg:gem/yard#lib/yard/templates/template_options.rb:88 def verifier; end # @return [Verifier] the verifier object # - # source://yard//lib/yard/templates/template_options.rb#88 + # pkg:gem/yard#lib/yard/templates/template_options.rb:88 def verifier=(_arg0); end end -# source://yard//lib/yard/version.rb#5 +# pkg:gem/yard#lib/yard/version.rb:5 YARD::VERSION = T.let(T.unsafe(nil), String) # Similar to a Proc, but runs a set of Ruby expressions using a small @@ -18403,7 +18403,7 @@ YARD::VERSION = T.let(T.unsafe(nil), String) # @example Without using +object+ or +o+ # Verifier.new('tag(:return).size == 1 || has_tag?(:author)') # -# source://yard//lib/yard/verifier.rb#34 +# pkg:gem/yard#lib/yard/verifier.rb:34 class YARD::Verifier # Creates a verifier from a set of expressions # @@ -18411,7 +18411,7 @@ class YARD::Verifier # parse. # @return [Verifier] a new instance of Verifier # - # source://yard//lib/yard/verifier.rb#48 + # pkg:gem/yard#lib/yard/verifier.rb:48 def initialize(*expressions); end # Adds a set of expressions and recompiles the verifier @@ -18420,7 +18420,7 @@ class YARD::Verifier # @return [void] # @since 0.5.6 # - # source://yard//lib/yard/verifier.rb#58 + # pkg:gem/yard#lib/yard/verifier.rb:58 def add_expressions(*expressions); end # Tests the expressions on the object. @@ -18429,21 +18429,21 @@ class YARD::Verifier # @param object [CodeObjects::Base] the object to verify # @return [Boolean] the result of the expressions # - # source://yard//lib/yard/verifier.rb#76 + # pkg:gem/yard#lib/yard/verifier.rb:76 def call(object); end # @return [Array] a list of all expressions the verifier checks for # @since 0.5.6 # - # source://yard//lib/yard/verifier.rb#37 + # pkg:gem/yard#lib/yard/verifier.rb:37 def expressions; end - # source://yard//lib/yard/verifier.rb#39 + # pkg:gem/yard#lib/yard/verifier.rb:39 def expressions=(value); end # Passes any method calls to the object from the {#call} # - # source://yard//lib/yard/verifier.rb#63 + # pkg:gem/yard#lib/yard/verifier.rb:63 def method_missing(sym, *args, &block); end # Runs a list of objects against the verifier and returns the subset @@ -18453,19 +18453,19 @@ class YARD::Verifier # @return [Array] a list of code objects that match # the verifier. # - # source://yard//lib/yard/verifier.rb#91 + # pkg:gem/yard#lib/yard/verifier.rb:91 def run(list); end protected # @return [CodeObjects::Base] the current object being tested # - # source://yard//lib/yard/verifier.rb#99 + # pkg:gem/yard#lib/yard/verifier.rb:99 def o; end # @return [CodeObjects::Base] the current object being tested # - # source://yard//lib/yard/verifier.rb#98 + # pkg:gem/yard#lib/yard/verifier.rb:98 def object; end private @@ -18475,7 +18475,7 @@ class YARD::Verifier # # @return [void] # - # source://yard//lib/yard/verifier.rb#130 + # pkg:gem/yard#lib/yard/verifier.rb:130 def create_method_from_expressions; end # Modifies nil to not throw NoMethodErrors. This allows @@ -18485,7 +18485,7 @@ class YARD::Verifier # # @return [void] # - # source://yard//lib/yard/verifier.rb#112 + # pkg:gem/yard#lib/yard/verifier.rb:112 def modify_nilclass; end # Parses a single expression, handling some of the DSL syntax. @@ -18495,18 +18495,18 @@ class YARD::Verifier # # @return [String] the parsed expression # - # source://yard//lib/yard/verifier.rb#145 + # pkg:gem/yard#lib/yard/verifier.rb:145 def parse_expression(expr); end # Returns the state of NilClass back to normal # # @return [void] # - # source://yard//lib/yard/verifier.rb#120 + # pkg:gem/yard#lib/yard/verifier.rb:120 def unmodify_nilclass; end end # @private # -# source://yard//lib/yard/verifier.rb#104 +# pkg:gem/yard#lib/yard/verifier.rb:104 YARD::Verifier::NILCLASS_METHODS = T.let(T.unsafe(nil), Array) diff --git a/sorbet/rbi/gems/zeitwerk@2.7.4.rbi b/sorbet/rbi/gems/zeitwerk@2.7.4.rbi index 1ffc9d9cc..f1d390ada 100644 --- a/sorbet/rbi/gems/zeitwerk@2.7.4.rbi +++ b/sorbet/rbi/gems/zeitwerk@2.7.4.rbi @@ -5,11 +5,11 @@ # Please instead update this file by running `bin/tapioca gem zeitwerk`. -# source://zeitwerk//lib/zeitwerk/core_ext/kernel.rb#3 +# pkg:gem/zeitwerk#lib/zeitwerk/core_ext/kernel.rb:3 module Kernel private - # source://zeitwerk//lib/zeitwerk/core_ext/kernel.rb#23 + # pkg:gem/zeitwerk#lib/zeitwerk/core_ext/kernel.rb:23 def require(path); end # Zeitwerk's main idea is to define autoloads for project constants, and then @@ -24,11 +24,11 @@ module Kernel # they will work as expected, and in a compatible way. This feature is by now # EXPERIMENTAL and UNDOCUMENTED. # - # source://zeitwerk//lib/zeitwerk/core_ext/kernel.rb#17 + # pkg:gem/zeitwerk#lib/zeitwerk/core_ext/kernel.rb:17 def zeitwerk_original_require(name); end class << self - # source://zeitwerk//lib/zeitwerk/core_ext/kernel.rb#23 + # pkg:gem/zeitwerk#lib/zeitwerk/core_ext/kernel.rb:23 def require(path); end # Zeitwerk's main idea is to define autoloads for project constants, and then @@ -43,7 +43,7 @@ module Kernel # they will work as expected, and in a compatible way. This feature is by now # EXPERIMENTAL and UNDOCUMENTED. # - # source://zeitwerk//lib/zeitwerk/core_ext/kernel.rb#19 + # pkg:gem/zeitwerk#lib/zeitwerk/core_ext/kernel.rb:19 def zeitwerk_original_require(name); end end end @@ -52,20 +52,20 @@ class Module include ::Zeitwerk::ConstAdded end -# source://zeitwerk//lib/zeitwerk.rb#3 +# pkg:gem/zeitwerk#lib/zeitwerk.rb:3 module Zeitwerk class << self # This is a dangerous method. # # - # source://zeitwerk//lib/zeitwerk.rb#23 + # pkg:gem/zeitwerk#lib/zeitwerk.rb:23 def with_loader; end end end -# source://zeitwerk//lib/zeitwerk/core_ext/module.rb#3 +# pkg:gem/zeitwerk#lib/zeitwerk/core_ext/module.rb:3 module Zeitwerk::ConstAdded - # source://zeitwerk//lib/zeitwerk/core_ext/module.rb#5 + # pkg:gem/zeitwerk#lib/zeitwerk/core_ext/module.rb:5 def const_added(cname); end end @@ -80,7 +80,7 @@ end # # The constant may or may not exist in `mod`. # -# source://zeitwerk//lib/zeitwerk/cref.rb#13 +# pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:13 class Zeitwerk::Cref include ::Zeitwerk::RealModName @@ -90,133 +90,133 @@ class Zeitwerk::Cref # # @return [Cref] a new instance of Cref # - # source://zeitwerk//lib/zeitwerk/cref.rb#28 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:28 def initialize(mod, cname); end - # source://zeitwerk//lib/zeitwerk/cref.rb#46 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:46 def autoload(abspath); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/cref.rb#41 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:41 def autoload?; end - # source://zeitwerk//lib/zeitwerk/cref.rb#22 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:22 def cname; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/cref.rb#51 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:51 def defined?; end - # source://zeitwerk//lib/zeitwerk/cref.rb#61 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:61 def get; end - # source://zeitwerk//lib/zeitwerk/cref.rb#19 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:19 def mod; end - # source://zeitwerk//lib/zeitwerk/cref.rb#35 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:35 def path; end - # source://zeitwerk//lib/zeitwerk/cref.rb#66 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:66 def remove; end - # source://zeitwerk//lib/zeitwerk/cref.rb#56 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:56 def set(value); end - # source://zeitwerk//lib/zeitwerk/cref.rb#38 + # pkg:gem/zeitwerk#lib/zeitwerk/cref.rb:38 def to_s; end end -# source://zeitwerk//lib/zeitwerk/cref/map.rb#73 +# pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:73 class Zeitwerk::Cref::Map # @return [Map] a new instance of Map # - # source://zeitwerk//lib/zeitwerk/cref/map.rb#75 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:75 def initialize; end - # source://zeitwerk//lib/zeitwerk/cref/map.rb#90 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:90 def [](cref); end - # source://zeitwerk//lib/zeitwerk/cref/map.rb#82 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:82 def []=(cref, value); end - # source://zeitwerk//lib/zeitwerk/cref/map.rb#147 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:147 def clear; end - # source://zeitwerk//lib/zeitwerk/cref/map.rb#105 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:105 def delete(cref); end - # source://zeitwerk//lib/zeitwerk/cref/map.rb#124 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:124 def delete_by_value(value); end # Ad-hoc for loader_for, called from const_added. That is a hot path, I prefer # to not create a cref in every call, since that is global. # # - # source://zeitwerk//lib/zeitwerk/cref/map.rb#113 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:113 def delete_mod_cname(mod, cname); end # Order of yielded crefs is undefined. # # - # source://zeitwerk//lib/zeitwerk/cref/map.rb#136 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:136 def each_key; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/cref/map.rb#154 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:154 def empty?; end - # source://zeitwerk//lib/zeitwerk/cref/map.rb#97 + # pkg:gem/zeitwerk#lib/zeitwerk/cref/map.rb:97 def get_or_set(cref, &block); end end -# source://zeitwerk//lib/zeitwerk/error.rb#4 +# pkg:gem/zeitwerk#lib/zeitwerk/error.rb:4 class Zeitwerk::Error < ::StandardError; end -# source://zeitwerk//lib/zeitwerk/gem_inflector.rb#4 +# pkg:gem/zeitwerk#lib/zeitwerk/gem_inflector.rb:4 class Zeitwerk::GemInflector < ::Zeitwerk::Inflector # @return [GemInflector] a new instance of GemInflector # - # source://zeitwerk//lib/zeitwerk/gem_inflector.rb#6 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_inflector.rb:6 def initialize(root_file); end - # source://zeitwerk//lib/zeitwerk/gem_inflector.rb#13 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_inflector.rb:13 def camelize(basename, abspath); end end # @private # -# source://zeitwerk//lib/zeitwerk/gem_loader.rb#5 +# pkg:gem/zeitwerk#lib/zeitwerk/gem_loader.rb:5 class Zeitwerk::GemLoader < ::Zeitwerk::Loader # @return [GemLoader] a new instance of GemLoader # - # source://zeitwerk//lib/zeitwerk/gem_loader.rb#19 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_loader.rb:19 def initialize(root_file, namespace:, warn_on_extra_files:); end - # source://zeitwerk//lib/zeitwerk/gem_loader.rb#34 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_loader.rb:34 def setup; end private - # source://zeitwerk//lib/zeitwerk/gem_loader.rb#42 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_loader.rb:42 def warn_on_extra_files; end class << self # @private # - # source://zeitwerk//lib/zeitwerk/gem_loader.rb#14 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_loader.rb:14 def __new(root_file, namespace:, warn_on_extra_files:); end private - # source://zeitwerk//lib/zeitwerk/gem_loader.rb#10 + # pkg:gem/zeitwerk#lib/zeitwerk/gem_loader.rb:10 def new(*_arg0); end end end -# source://zeitwerk//lib/zeitwerk/inflector.rb#4 +# pkg:gem/zeitwerk#lib/zeitwerk/inflector.rb:4 class Zeitwerk::Inflector # Very basic snake case -> camel case conversion. # @@ -228,7 +228,7 @@ class Zeitwerk::Inflector # Takes into account hard-coded mappings configured with `inflect`. # # - # source://zeitwerk//lib/zeitwerk/inflector.rb#15 + # pkg:gem/zeitwerk#lib/zeitwerk/inflector.rb:15 def camelize(basename, _abspath); end # Configures hard-coded inflections: @@ -244,7 +244,7 @@ class Zeitwerk::Inflector # inflector.camelize("users_controller", abspath) # => "UsersController" # # - # source://zeitwerk//lib/zeitwerk/inflector.rb#32 + # pkg:gem/zeitwerk#lib/zeitwerk/inflector.rb:32 def inflect(inflections); end private @@ -253,19 +253,19 @@ class Zeitwerk::Inflector # inflection logic. # # - # source://zeitwerk//lib/zeitwerk/inflector.rb#42 + # pkg:gem/zeitwerk#lib/zeitwerk/inflector.rb:42 def overrides; end end # This is a private module. # -# source://zeitwerk//lib/zeitwerk/internal.rb#4 +# pkg:gem/zeitwerk#lib/zeitwerk/internal.rb:4 module Zeitwerk::Internal - # source://zeitwerk//lib/zeitwerk/internal.rb#6 + # pkg:gem/zeitwerk#lib/zeitwerk/internal.rb:6 def internal(method_name); end end -# source://zeitwerk//lib/zeitwerk/loader.rb#7 +# pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:7 class Zeitwerk::Loader include ::Zeitwerk::RealModName include ::Zeitwerk::Loader::Callbacks @@ -277,40 +277,40 @@ class Zeitwerk::Loader # @return [Loader] a new instance of Loader # - # source://zeitwerk//lib/zeitwerk/loader.rb#107 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:107 def initialize; end - # source://zeitwerk//lib/zeitwerk/loader.rb#67 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:67 def __autoloaded_dirs; end - # source://zeitwerk//lib/zeitwerk/loader.rb#33 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:33 def __autoloads; end - # source://zeitwerk//lib/zeitwerk/loader.rb#57 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:57 def __inceptions; end - # source://zeitwerk//lib/zeitwerk/loader.rb#86 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:86 def __namespace_dirs; end - # source://zeitwerk//lib/zeitwerk/loader.rb#362 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:362 def __shadowed_file?(file); end - # source://zeitwerk//lib/zeitwerk/loader.rb#97 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:97 def __shadowed_files; end - # source://zeitwerk//lib/zeitwerk/loader.rb#77 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:77 def __to_unload; end # Returns a hash that maps the absolute paths of the managed files and # directories to their respective expected constant paths. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#247 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:247 def all_expected_cpaths; end # @raise [Zeitwerk::Error] # - # source://zeitwerk//lib/zeitwerk/loader.rb#277 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:277 def cpath_expected_at(path); end # Unloads all loaded code, and calls setup again so that the loader is able @@ -322,13 +322,13 @@ class Zeitwerk::Loader # # @raise [ReloadingDisabledError] # - # source://zeitwerk//lib/zeitwerk/loader.rb#233 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:233 def reload; end # Sets autoloads in the root namespaces. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#128 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:128 def setup; end # Removes loaded constants and configured autoloads. @@ -343,7 +343,7 @@ class Zeitwerk::Loader # `unregister`, which is undocumented too. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#154 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:154 def unload; end # Says if the given constant path would be unloaded on reload. This @@ -355,7 +355,7 @@ class Zeitwerk::Loader # # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader.rb#331 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:331 def unloadable_cpath?(cpath); end # Returns an array with the constant paths that would be unloaded on reload. @@ -365,26 +365,26 @@ class Zeitwerk::Loader # classic autoloader in Rails. Its usage was removed from Rails in 7.0. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#342 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:342 def unloadable_cpaths; end # This is a dangerous method. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#350 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:350 def unregister; end private - # source://zeitwerk//lib/zeitwerk/loader.rb#513 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:513 def autoload_file(cref, file); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader.rb#565 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:565 def autoload_path_set_by_me_for?(cref); end - # source://zeitwerk//lib/zeitwerk/loader.rb#484 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:484 def autoload_subdir(cref, subdir); end # We keep track of autoloaded directories to remove them from the registry @@ -394,7 +394,7 @@ class Zeitwerk::Loader # to concurrency (see why in Zeitwerk::Loader::Callbacks#on_dir_autoloaded). # # - # source://zeitwerk//lib/zeitwerk/loader.rb#66 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:66 def autoloaded_dirs; end # Maps absolute paths for which an autoload has been set ---and not @@ -405,16 +405,16 @@ class Zeitwerk::Loader # ... # # - # source://zeitwerk//lib/zeitwerk/loader.rb#32 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:32 def autoloads; end - # source://zeitwerk//lib/zeitwerk/loader.rb#547 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:547 def define_autoload(cref, abspath); end - # source://zeitwerk//lib/zeitwerk/loader.rb#466 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:466 def define_autoloads_for_dir(dir, parent); end - # source://zeitwerk//lib/zeitwerk/loader.rb#104 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:104 def dirs_autoload_monitor; end # When the path passed to Module#autoload is in the stack of features being @@ -438,10 +438,10 @@ class Zeitwerk::Loader # global registry for them. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#56 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:56 def inceptions; end - # source://zeitwerk//lib/zeitwerk/loader.rb#100 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:100 def mutex; end # Maps namespace crefs to the directories that conform the namespace. @@ -450,29 +450,29 @@ class Zeitwerk::Loader # directories. We'll visit them to set up the corresponding autoloads. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#85 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:85 def namespace_dirs; end # `dir` is the directory that would have autovivified a namespace. `file` is # the file where we've found the namespace is explicitly defined. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#534 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:534 def promote_namespace_from_implicit_to_explicit(dir:, file:, cref:); end - # source://zeitwerk//lib/zeitwerk/loader.rb#598 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:598 def raise_if_conflicting_directory(dir); end - # source://zeitwerk//lib/zeitwerk/loader.rb#574 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:574 def register_explicit_namespace(cref); end - # source://zeitwerk//lib/zeitwerk/loader.rb#584 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:584 def register_inception(cref, abspath); end - # source://zeitwerk//lib/zeitwerk/loader.rb#624 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:624 def run_on_unload_callbacks(cref, value, abspath); end - # source://zeitwerk//lib/zeitwerk/loader.rb#362 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:362 def shadowed_file?(file); end # A shadowed file is a file managed by this loader that is ignored when @@ -483,7 +483,7 @@ class Zeitwerk::Loader # shadowed files that may exist deep in the project tree. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#96 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:96 def shadowed_files; end # If reloading is enabled, this collection maps autoload paths to their @@ -493,19 +493,19 @@ class Zeitwerk::Loader # $LOADED_FEATURES, and the crefs are deleted. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#76 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:76 def to_unload; end - # source://zeitwerk//lib/zeitwerk/loader.rb#631 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:631 def unload_autoload(cref); end - # source://zeitwerk//lib/zeitwerk/loader.rb#637 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:637 def unload_cref(cref); end - # source://zeitwerk//lib/zeitwerk/loader.rb#579 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:579 def unregister_explicit_namespaces; end - # source://zeitwerk//lib/zeitwerk/loader.rb#590 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:590 def unregister_inceptions; end class << self @@ -513,27 +513,27 @@ class Zeitwerk::Loader # registered loaders. This is a read-only collection. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#456 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:456 def all_dirs; end - # source://zeitwerk//lib/zeitwerk/loader.rb#372 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:372 def default_logger; end - # source://zeitwerk//lib/zeitwerk/loader.rb#372 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:372 def default_logger=(_arg0); end # Broadcasts `eager_load` to all loaders. Those that have not been setup # are skipped. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#428 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:428 def eager_load_all; end # Broadcasts `eager_load_namespace` to all loaders. Those that have not # been setup are skipped. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#442 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:442 def eager_load_namespace(mod); end # This is a shortcut for @@ -552,7 +552,7 @@ class Zeitwerk::Loader # is private, client code can only rely on the interface. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#390 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:390 def for_gem(warn_on_extra_files: T.unsafe(nil)); end # This is a shortcut for @@ -571,57 +571,57 @@ class Zeitwerk::Loader # is private, client code can only rely on the interface. # # - # source://zeitwerk//lib/zeitwerk/loader.rb#411 + # pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:411 def for_gem_extension(namespace); end end end -# source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#3 +# pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:3 module Zeitwerk::Loader::Callbacks extend ::Zeitwerk::Internal - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#39 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:39 def __on_dir_autoloaded(dir); end - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#9 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:9 def __on_file_autoloaded(file); end - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#77 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:77 def __on_namespace_loaded(cref, namespace); end private - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#39 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:39 def on_dir_autoloaded(dir); end - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#9 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:9 def on_file_autoloaded(file); end - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#77 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:77 def on_namespace_loaded(cref, namespace); end - # source://zeitwerk//lib/zeitwerk/loader/callbacks.rb#88 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/callbacks.rb:88 def run_on_load_callbacks(cpath, value, abspath); end end -# source://zeitwerk//lib/zeitwerk/loader/config.rb#6 +# pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:6 module Zeitwerk::Loader::Config include ::Zeitwerk::RealModName extend ::Zeitwerk::Internal - # source://zeitwerk//lib/zeitwerk/loader/config.rb#85 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:85 def initialize; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#289 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:289 def __ignores?(abspath); end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#30 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:30 def __roots; end # Configure directories or glob patterns to be collapsed. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#213 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:213 def collapse(*glob_patterns); end # If `namespaces` is falsey (default), returns an array with the absolute @@ -634,45 +634,45 @@ module Zeitwerk::Loader::Config # These are read-only collections, please add to them with `push_dir`. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#154 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:154 def dirs(namespaces: T.unsafe(nil), ignored: T.unsafe(nil)); end # Let eager load ignore the given files or directories. The constants defined # in those files are still autoloadable. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#195 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:195 def do_not_eager_load(*paths); end # You need to call this method before setup in order to be able to reload. # There is no way to undo this, either you want to reload or you don't. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#174 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:174 def enable_reloading; end # Configure files, directories, or glob patterns to be totally ignored. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#202 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:202 def ignore(*glob_patterns); end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#11 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:11 def inflector; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#11 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:11 def inflector=(_arg0); end # Logs to `$stdout`, handy shortcut for debugging. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#281 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:281 def log!; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#14 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:14 def logger; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#14 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:14 def logger=(_arg0); end # Configure a block to be invoked once a certain constant path is loaded. @@ -692,14 +692,14 @@ module Zeitwerk::Loader::Config # # @raise [TypeError] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#247 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:247 def on_load(cpath = T.unsafe(nil), &block); end # Configure a block to be called after setup and on each reload. # If setup was already done, the block runs immediately. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#225 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:225 def on_setup(&block); end # Configure a block to be invoked right before a certain constant is removed. @@ -719,7 +719,7 @@ module Zeitwerk::Loader::Config # # @raise [TypeError] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#270 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:270 def on_unload(cpath = T.unsafe(nil), &block); end # Pushes `path` to the list of root directories. @@ -729,12 +729,12 @@ module Zeitwerk::Loader::Config # descendants. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#109 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:109 def push_dir(path, namespace: T.unsafe(nil)); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#187 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:187 def reloading_enabled?; end # Returns the loader's tag. @@ -743,64 +743,64 @@ module Zeitwerk::Loader::Config # writer below. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#133 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:133 def tag; end # Sets a tag for the loader, useful for logging. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#140 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:140 def tag=(tag); end private - # source://zeitwerk//lib/zeitwerk/loader/config.rb#307 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:307 def actual_roots; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#332 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:332 def collapse?(dir); end # The actual collection of absolute directory names at the time the collapse # glob patterns were expanded. Computed on setup, and recomputed on reload. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#56 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:56 def collapse_dirs; end # Absolute paths of directories or glob patterns to be collapsed. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#49 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:49 def collapse_glob_patterns; end # Absolute paths of files or directories not to be eager loaded. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#62 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:62 def eager_load_exclusions; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#319 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:319 def excluded_from_eager_load?(abspath); end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#342 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:342 def expand_glob_patterns(glob_patterns); end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#337 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:337 def expand_paths(paths); end # Absolute paths of files, directories, or glob patterns to be ignored. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#35 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:35 def ignored_glob_patterns; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#302 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:302 def ignored_path?(abspath); end # The actual collection of absolute file and directory names at the time the @@ -808,39 +808,39 @@ module Zeitwerk::Loader::Config # reload. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#43 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:43 def ignored_paths; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#289 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:289 def ignores?(abspath); end # User-oriented callbacks to be fired when a constant is loaded. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#75 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:75 def on_load_callbacks; end # User-oriented callbacks to be fired on setup and on reload. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#68 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:68 def on_setup_callbacks; end # User-oriented callbacks to be fired before constants are removed. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#82 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:82 def on_unload_callbacks; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#354 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:354 def recompute_collapse_dirs; end - # source://zeitwerk//lib/zeitwerk/loader/config.rb#349 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:349 def recompute_ignored_paths; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#314 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:314 def root_dir?(dir); end # Absolute paths of the root directories, mapped to their respective root namespaces: @@ -856,11 +856,11 @@ module Zeitwerk::Loader::Config # interface for it is `push_dir` and `dirs`. # # - # source://zeitwerk//lib/zeitwerk/loader/config.rb#29 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/config.rb:29 def roots; end end -# source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#1 +# pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:1 module Zeitwerk::Loader::EagerLoad # Eager loads all files in the root directories, recursively. Files do not # need to be in `$LOAD_PATH`, absolute file names are used. Ignored and @@ -869,17 +869,17 @@ module Zeitwerk::Loader::EagerLoad # overridden passing `force: true`. # # - # source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#9 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:9 def eager_load(force: T.unsafe(nil)); end # @raise [Zeitwerk::SetupRequired] # - # source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#32 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:32 def eager_load_dir(path); end # @raise [Zeitwerk::SetupRequired] # - # source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#74 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:74 def eager_load_namespace(mod); end # Loads the given Ruby file. @@ -892,7 +892,7 @@ module Zeitwerk::Loader::EagerLoad # # @raise [Zeitwerk::Error] # - # source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#116 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:116 def load_file(path); end private @@ -901,27 +901,27 @@ module Zeitwerk::Loader::EagerLoad # corresponds to `dir`. # # - # source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#160 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:160 def actual_eager_load_dir(dir, namespace, force: T.unsafe(nil)); end # In order to invoke this method, the caller has to ensure `child` is a # strict namespace descendant of `root_namespace`. # # - # source://zeitwerk//lib/zeitwerk/loader/eager_load.rb#193 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/eager_load.rb:193 def eager_load_child_namespace(child, child_name, root_dir, root_namespace); end end -# source://zeitwerk//lib/zeitwerk/loader/helpers.rb#3 +# pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:3 module Zeitwerk::Loader::Helpers private - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#107 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:107 def cname_for(basename, abspath); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#83 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:83 def dir?(path); end # Looks for a Ruby file using breadth-first search. This type of search is @@ -931,47 +931,47 @@ module Zeitwerk::Loader::Helpers # # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#56 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:56 def has_at_least_one_ruby_file?(dir); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#88 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:88 def hidden?(basename); end - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#7 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:7 def log(message); end - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#15 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:15 def ls(dir); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#78 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:78 def ruby?(path); end - # source://zeitwerk//lib/zeitwerk/loader/helpers.rb#93 + # pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:93 def walk_up(abspath); end end # --- Inflection -------------------------------------------------------------------------------- # -# source://zeitwerk//lib/zeitwerk/loader/helpers.rb#103 +# pkg:gem/zeitwerk#lib/zeitwerk/loader/helpers.rb:103 module Zeitwerk::Loader::Helpers::CNAME_VALIDATOR; end -# source://zeitwerk//lib/zeitwerk/loader.rb#21 +# pkg:gem/zeitwerk#lib/zeitwerk/loader.rb:21 Zeitwerk::Loader::MUTEX = T.let(T.unsafe(nil), Thread::Mutex) -# source://zeitwerk//lib/zeitwerk/error.rb#14 +# pkg:gem/zeitwerk#lib/zeitwerk/error.rb:14 class Zeitwerk::NameError < ::NameError; end -# source://zeitwerk//lib/zeitwerk/null_inflector.rb#1 +# pkg:gem/zeitwerk#lib/zeitwerk/null_inflector.rb:1 class Zeitwerk::NullInflector - # source://zeitwerk//lib/zeitwerk/null_inflector.rb#3 + # pkg:gem/zeitwerk#lib/zeitwerk/null_inflector.rb:3 def camelize(basename, _abspath); end end -# source://zeitwerk//lib/zeitwerk/real_mod_name.rb#3 +# pkg:gem/zeitwerk#lib/zeitwerk/real_mod_name.rb:3 module Zeitwerk::RealModName # Returns the real name of the class or module. # @@ -981,14 +981,14 @@ module Zeitwerk::RealModName # a certain class or module of theirs. # # - # source://zeitwerk//lib/zeitwerk/real_mod_name.rb#16 + # pkg:gem/zeitwerk#lib/zeitwerk/real_mod_name.rb:16 def real_mod_name(mod); end end -# source://zeitwerk//lib/zeitwerk/real_mod_name.rb#5 +# pkg:gem/zeitwerk#lib/zeitwerk/real_mod_name.rb:5 Zeitwerk::RealModName::UNBOUND_METHOD_MODULE_NAME = T.let(T.unsafe(nil), UnboundMethod) -# source://zeitwerk//lib/zeitwerk/registry.rb#4 +# pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:4 module Zeitwerk::Registry class << self # Maps absolute paths to the loaders responsible for them. @@ -999,12 +999,12 @@ module Zeitwerk::Registry # # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#31 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:31 def autoloads; end # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#35 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:35 def explicit_namespaces; end # Registers gem loaders to let `for_gem` be idempotent in case of reload. @@ -1012,12 +1012,12 @@ module Zeitwerk::Registry # # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#22 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:22 def gem_loaders_by_root_file; end # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#39 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:39 def inceptions; end # This method returns always a loader, the same instance for the same root @@ -1026,7 +1026,7 @@ module Zeitwerk::Registry # # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#52 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:52 def loader_for_gem(root_file, namespace:, warn_on_extra_files:); end # Keeps track of all loaders. Useful to broadcast messages and to prevent @@ -1035,43 +1035,43 @@ module Zeitwerk::Registry # # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#16 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:16 def loaders; end # @private # - # source://zeitwerk//lib/zeitwerk/registry.rb#43 + # pkg:gem/zeitwerk#lib/zeitwerk/registry.rb:43 def unregister_loader(loader); end end end -# source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#2 +# pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:2 class Zeitwerk::Registry::Autoloads # @return [Autoloads] a new instance of Autoloads # - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#4 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:4 def initialize; end - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#34 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:34 def clear; end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#29 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:29 def empty?; end - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#9 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:9 def register(abspath, loader); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#14 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:14 def registered?(path); end - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#19 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:19 def unregister(abspath); end - # source://zeitwerk//lib/zeitwerk/registry/autoloads.rb#24 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/autoloads.rb:24 def unregister_loader(loader); end end @@ -1093,24 +1093,24 @@ end # # **This is a private module.** # -# source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#21 +# pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:21 class Zeitwerk::Registry::ExplicitNamespaces # @return [ExplicitNamespaces] a new instance of ExplicitNamespaces # - # source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#23 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:23 def initialize; end - # source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#57 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:57 def clear; end - # source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#40 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:40 def loader_for(mod, cname); end # Registers `cref` as being the constant path of an explicit namespace # managed by `loader`. # # - # source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#35 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:35 def register(cref, loader); end # This is an internal method only used by the test suite. @@ -1118,10 +1118,10 @@ class Zeitwerk::Registry::ExplicitNamespaces # # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#52 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:52 def registered?(cref); end - # source://zeitwerk//lib/zeitwerk/registry/explicit_namespaces.rb#45 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/explicit_namespaces.rb:45 def unregister_loader(loader); end end @@ -1129,68 +1129,68 @@ end # to know if a given cpath is an inception globally. This is what this # registry is for. # -# source://zeitwerk//lib/zeitwerk/registry/inceptions.rb#5 +# pkg:gem/zeitwerk#lib/zeitwerk/registry/inceptions.rb:5 class Zeitwerk::Registry::Inceptions # @return [Inceptions] a new instance of Inceptions # - # source://zeitwerk//lib/zeitwerk/registry/inceptions.rb#7 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/inceptions.rb:7 def initialize; end - # source://zeitwerk//lib/zeitwerk/registry/inceptions.rb#27 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/inceptions.rb:27 def clear; end - # source://zeitwerk//lib/zeitwerk/registry/inceptions.rb#12 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/inceptions.rb:12 def register(cref, abspath); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/registry/inceptions.rb#17 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/inceptions.rb:17 def registered?(cref); end - # source://zeitwerk//lib/zeitwerk/registry/inceptions.rb#22 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/inceptions.rb:22 def unregister(cref); end end -# source://zeitwerk//lib/zeitwerk/registry/loaders.rb#2 +# pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:2 class Zeitwerk::Registry::Loaders # @return [Loaders] a new instance of Loaders # - # source://zeitwerk//lib/zeitwerk/registry/loaders.rb#4 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:4 def initialize; end - # source://zeitwerk//lib/zeitwerk/registry/loaders.rb#29 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:29 def clear; end - # source://zeitwerk//lib/zeitwerk/registry/loaders.rb#9 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:9 def each(&block); end - # source://zeitwerk//lib/zeitwerk/registry/loaders.rb#14 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:14 def register(loader); end # @return [Boolean] # - # source://zeitwerk//lib/zeitwerk/registry/loaders.rb#24 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:24 def registered?(loader); end - # source://zeitwerk//lib/zeitwerk/registry/loaders.rb#19 + # pkg:gem/zeitwerk#lib/zeitwerk/registry/loaders.rb:19 def unregister(loader); end end -# source://zeitwerk//lib/zeitwerk/error.rb#7 +# pkg:gem/zeitwerk#lib/zeitwerk/error.rb:7 class Zeitwerk::ReloadingDisabledError < ::Zeitwerk::Error # @return [ReloadingDisabledError] a new instance of ReloadingDisabledError # - # source://zeitwerk//lib/zeitwerk/error.rb#9 + # pkg:gem/zeitwerk#lib/zeitwerk/error.rb:9 def initialize; end end -# source://zeitwerk//lib/zeitwerk/error.rb#17 +# pkg:gem/zeitwerk#lib/zeitwerk/error.rb:17 class Zeitwerk::SetupRequired < ::Zeitwerk::Error # @return [SetupRequired] a new instance of SetupRequired # - # source://zeitwerk//lib/zeitwerk/error.rb#19 + # pkg:gem/zeitwerk#lib/zeitwerk/error.rb:19 def initialize; end end -# source://zeitwerk//lib/zeitwerk/version.rb#5 +# pkg:gem/zeitwerk#lib/zeitwerk/version.rb:5 Zeitwerk::VERSION = T.let(T.unsafe(nil), String) From 1011c4fd5e5d22e0d2f21e00e045c68c20398359 Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Wed, 7 Jan 2026 00:04:39 +0200 Subject: [PATCH 4/4] Small RBI file updates to compensate for missing constants --- sorbet/rbi/shims/erb.rbi | 3 +++ sorbet/rbi/shims/set.rbi | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 sorbet/rbi/shims/erb.rbi create mode 100644 sorbet/rbi/shims/set.rbi diff --git a/sorbet/rbi/shims/erb.rbi b/sorbet/rbi/shims/erb.rbi new file mode 100644 index 000000000..8de00a5b0 --- /dev/null +++ b/sorbet/rbi/shims/erb.rbi @@ -0,0 +1,3 @@ +# typed: true + +module ERB::Escape; end diff --git a/sorbet/rbi/shims/set.rbi b/sorbet/rbi/shims/set.rbi new file mode 100644 index 000000000..aa8c42353 --- /dev/null +++ b/sorbet/rbi/shims/set.rbi @@ -0,0 +1,4 @@ +# typed: true + +module Set::SubclassCompatible; end +module Set::SubclassCompatible::ClassMethods; end